PageSourceSearch

https://mentwell.com.au/main.667e251f8fc11e31.js

js mentwell.com.au collected 2026-10-06 19:42:40 UTC 1,934,135 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkMentwell_Portal=self.webpackChunkMentwell_Portal||[]).push([[179],{58:()=>{let Mi=null,Nl=1;function _i(t){const n=Mi;return Mi=t,n}function rk(t){if((!$d(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==Nl)){if(!t.producerMustRecompute(t)&&!jb(t))return t.dirty=!1,void(t.lastCleanEpoch=Nl);t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Nl}}function jb(t){Bl(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(rk(e),i!==e.version))return!0}return!1}function zm(t,n){if(function hk(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}(t),Bl(t),1===t.liveConsumerNode.length)for(let i=0;i<t.producerNode.length;i++)zm(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[n],o=t.liveConsumerNode[n];Bl(o),o.producerIndexOfThis[i]=n}}function $d(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Bl(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let mk=null;function kt(t){return"function"==typeof t}function Wb(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Gb=Wb(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Hm(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class pt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(kt(i))try{i()}catch(r){n=r instanceof Gb?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{bk(r)}catch(s){n=n??[],s instanceof Gb?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Gb(n)}}
vendor: 7,621 bytes, line 1
1add(n){var e;if(n&&n!==this)if(this.closed)bk(n);else{if(n instanceof pt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Hm(e,n)}remove(n){const{_finalizers:e}=this;e&&Hm(e,n),n instanceof pt&&n._removeParent(this)}}pt.EMPTY=(()=>{const t=new pt;return t.closed=!0,t})();const gk=pt.EMPTY;function _k(t){return t instanceof pt||t&&"closed"in t&&kt(t.remove)&&kt(t.add)&&kt(t.unsubscribe)}function bk(t){kt(t)?t():t.unsubscribe()}const ba={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},jm={setTimeout(t,n,...e){const{delegate:i}=jm;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=jm;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function vk(t){jm.setTimeout(()=>{const{onUnhandledError:n}=ba;if(!n)throw t;n(t)})}function $m(){}const I7=qb("C",void 0,void 0);function qb(t,n,e){return{kind:t,value:n,error:e}}let va=null;function Um(t){if(ba.useDeprecatedSynchronousErrorHandling){const n=!va;if(n&&(va={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=va;if(va=null,e)throw i}}else t()}class Yb extends pt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,_k(n)&&n.add(this)):this.destination=N7}static create(n,e,i){return new Ud(n,e,i)}next(n){this.isStopped?Kb(function P7(t){return qb("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Kb(function A7(t){return qb("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Kb(I7,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const R7=Function.prototype.bind;function Zb(t,n){return R7.call(t,n)}class F7{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Wm(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Wm(i)}else Wm(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Wm(e)}}}class Ud extends Yb{constructor(n,e,i){let o;if(super(),kt(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&ba.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Zb(n.next,r),error:n.error&&Zb(n.error,r),complete:n.complete&&Zb(n.complete,r)}):o=n}this.destination=new F7(o)}}function Wm(t){ba.useDeprecatedSynchronousErrorHandling?function O7(t){ba.useDeprecatedSynchronousErrorHandling&&va&&(va.errorThrown=!0,va.error=t)}(t):vk(t)}function Kb(t,n){const{onStoppedNotification:e}=ba;e&&jm.setTimeout(()=>e(t,n))}const N7={closed:!0,next:$m,error:function L7(t){throw t},complete:$m},Qb="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ss(t){return t}function yk(t){return 0===t.length?Ss:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let Lt=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function z7(t){return t&&t instanceof Yb||function V7(t){return t&&kt(t.next)&&kt(t.error)&&kt(t.complete)}(t)&&_k(t)}(e)?e:new Ud(e,i,o);return Um(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=wk(i))((o,r)=>{const s=new Ud({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Qb](){return this}pipe(...e){return yk(e)(this)}toPromise(e){return new(e=wk(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function wk(t){var n;return null!==(n=t??ba.Promise)&&void 0!==n?n:Promise}const H7=Wb(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fe=(()=>{class t extends Lt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new xk(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new H7}next(e){Um(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Um(()=>{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(){Um(()=>{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:o,observers:r}=this;return i||o?gk:(this.currentObservers=null,r.push(e),new pt(()=>{this.currentObservers=null,Hm(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new Lt;return e.source=this,e}}return t.create=(n,e)=>new xk(n,e),t})();class xk extends fe{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:gk}}class Ee extends fe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Ck(t){return kt(t?.lift)}function bi(t){return n=>{if(Ck(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ai(t,n,e,i,o){return new j7(t,n,e,i,o)}class j7 extends Yb{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function te(t,n){return bi((e,i)=>{let o=0;
vendor: 6,350 bytes, line 1
1e.subscribe(ai(i,r=>{i.next(t.call(n,r,o++))}))})}function Rt(t){for(let n in t)if(t[n]===Rt)return n;throw Error("Could not find renamed property on target object.")}function Gm(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Fi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Fi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Xb(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const $7=Rt({__forward_ref__:Rt});function bt(t){return t.__forward_ref__=bt,t.toString=function(){return Fi(this())},t}function We(t){return qm(t)?t():t}function qm(t){return"function"==typeof t&&t.hasOwnProperty($7)&&t.__forward_ref__===bt}function Jb(t){return t&&!!t.\u0275providers}const kk="https://g.co/ng/security#xss";class $ extends Error{constructor(n,e){super(function Vl(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}const Wd=Rt({\u0275cmp:Rt}),ev=Rt({\u0275dir:Rt}),tv=Rt({\u0275pipe:Rt}),Mk=Rt({\u0275mod:Rt}),Rr=Rt({\u0275fac:Rt}),Gd=Rt({__NG_ELEMENT_ID__:Rt}),Dk=Rt({__NG_ENV_ID__:Rt});function Xe(t){return"string"==typeof t?t:null==t?"":String(t)}function iv(t,n){throw new $(-201,!1)}function Vn(t,n){null==t&&function Ge(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function G(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Oe(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ym(t){return Sk(t,Km)||Sk(t,Ek)}function Sk(t,n){return t.hasOwnProperty(n)?t[n]:null}function Zm(t){return t&&(t.hasOwnProperty(nv)||t.hasOwnProperty(X7))?t[nv]:null}const Km=Rt({\u0275prov:Rt}),nv=Rt({\u0275inj:Rt}),Ek=Rt({ngInjectableDef:Rt}),X7=Rt({ngInjectorDef:Rt});var ht=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(ht||{});let ov;function Tk(){return ov}function zn(t){const n=ov;return ov=t,n}function Ik(t,n,e){const i=Ym(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&ht.Optional?null:void 0!==n?n:void iv(Fi(t))}const jt=globalThis;class B{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=G({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const qd={},cv="__NG_DI_FLAG__",Qm="ngTempTokenPath",tB=/\n/gm,Pk="__source";let zl;function Ts(t){const n=zl;return zl=t,n}function oB(t,n=ht.Default){if(void 0===zl)throw new $(-203,!1);return null===zl?Ik(t,void 0,n):zl.get(t,n&ht.Optional?null:void 0,n)}function R(t,n=ht.Default){return(Tk()||oB)(We(t),n)}function Z(t,n=ht.Default){return R(t,Xm(n))}function Xm(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function dv(t){const n=[];for(let e=0;e<t.length;e++){const i=We(t[e]);if(Array.isArray(i)){if(0===i.length)throw new $(900,!1);let o,r=ht.Default;for(let s=0;s<i.length;s++){const a=i[s],l=rB(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}n.push(R(o,r))}else n.push(R(i))}return n}function Yd(t,n){return t[cv]=n,t.prototype[cv]=n,t}function rB(t){return t[cv]}function Fr(t){return{toString:t}.toString()}var Jm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Jm||{}),To=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(To||{});const Yo={},Mt=[];function Rk(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}function uv(t,n,e){let i=0;for(;i<e.length;){const o=e[i];if("number"==typeof o){if(0!==o)break;i++;const r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{const r=o,s=e[++i];Lk(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function Fk(t){return 3===t||4===t||6===t}function Lk(t){return 64===t.charCodeAt(0)}function Zd(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const o=n[i];"number"==typeof o?e=o:0===e||Nk(t,e,o,null,-1===e||2===e?n[++i]:null)}}return t}function Nk(t,n,e,i,o){let r=0,s=t.length;if(-1===n)s=-1;else for(;r<t.length;){const a=t[r++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=r-1;break}}}for(;r<t.length;){const a=t[r];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==o&&(t[r+1]=o));if(i===t[r+1])return void(t[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),null!==i&&t.splice(r++,0,i),null!==o&&t.splice(r++,0,o)}const Bk="ng-template";function lB(t,n,e){let i=0,o=!0;for(;i<t.length;){let r=t[i++];if("string"==typeof r&&o){const s=t[i++];if(e&&"class"===r&&-1!==Rk(s.toLowerCase(),n,0))return!0}else{if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===n)return!0;return!1}"number"==typeof r&&(o=!1)}}return!1}function Vk(t){return 4===t.type&&t.value!==Bk}function cB(t,n,e){return n===(4!==t.type||e?t.value:Bk)}function dB(t,n,e){let i=4;const o=t.attrs||[],r=function mB(t){for(let n=0;n<t.length;n++)if(Fk(t[n]))return n;return t.length}(o);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!cB(t,l,e)||""===l&&1===n.length){if(Io(i))return!1;s=!0}}else{const u=8&i?l:n[++a];if(8&i&&null!==t.attrs){if(!lB(t.attrs,u,e)){if(Io(i))return!1;s=!0}continue}const p=uB(8&i?"class":l,o,Vk(t),e);if(-1===p){if(Io(i))return!1;s=!0;continue}if(""!==u){let f;f=p>r?"":o[p+1].toLowerCase();const _=8&i?f:null;if(_&&-1!==Rk(_,u,0)||2&i&&u!==f){if(Io(i))return!1;s=!0}}}}else{if(!s&&!Io(i)&&!Io(l))return!1;if(s&&Io(l))continue;s=!1,i=l|1&i}}return Io(i)||s}function Io(t){return 0==(1&t)}function uB(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){const s=n[o];if(s===t)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}
1o+=r?1:2}return-1}return function pB(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function zk(t,n,e=!1){for(let i=0;i<n.length;i++)if(dB(t,n[i],e))return!0;return!1}function fB(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function Hk(t,n){return t?":not("+n.trim()+")":n}function gB(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if("string"==typeof s)if(2&i){const a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Io(s)&&(n+=Hk(r,o),o=""),i=s,r=r||!Io(i);e++}return""!==o&&(n+=Hk(r,o)),n}function O(t){return Fr(()=>{const n=$k(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||To.Emulated,styles:t.styles||Mt,_:null,schemas:t.schemas||null,tView:null,id:""};Uk(e);const i=t.dependencies;return e.directiveDefs=ep(i,!1),e.pipeDefs=ep(i,!0),e.id=function xB(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function vB(t){return ut(t)||Ui(t)}function yB(t){return null!==t}function Re(t){return Fr(()=>({type:t.type,bootstrap:t.bootstrap||Mt,declarations:t.declarations||Mt,imports:t.imports||Mt,exports:t.exports||Mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jk(t,n){if(null==t)return Yo;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}function N(t){return Fr(()=>{const n=$k(t);return Uk(n),n})}function pn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ut(t){return t[Wd]||null}function Ui(t){return t[ev]||null}function ln(t){return t[tv]||null}function fn(t,n){const e=t[Mk]||null;if(!e&&!0===n)throw new Error(`Type ${Fi(t)} does not have '\u0275mod' property.`);return e}function $k(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Yo,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Mt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jk(t.inputs,n),outputs:jk(t.outputs),debugInfo:null}}function Uk(t){t.features?.forEach(n=>n(t))}function ep(t,n){if(!t)return null;const e=n?ln:vB;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(yB)}const vi=0,de=1,He=2,li=3,Ao=4,gn=5,Po=6,Hl=7,$t=8,Mn=9,Lr=10,Je=11,Kd=12,Wk=13,jl=14,pi=15,Qd=16,$l=17,Zo=18,Xd=19,Gk=20,As=21,tp=22,ya=23,et=25,hv=1,Ko=7,Ul=9,Di=10;var Wl=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Wl||{});function cn(t){return Array.isArray(t)&&"object"==typeof t[hv]}function en(t){return Array.isArray(t)&&!0===t[hv]}function mv(t){return 0!=(4&t.flags)}function wa(t){return t.componentOffset>-1}function np(t){return 1==(1&t.flags)}function Oo(t){return!!t.template}function pv(t){return 0!=(512&t[He])}function xa(t,n){return t.hasOwnProperty(Rr)?t[Rr]:null}class DB{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Fe(){return Kk}function Kk(t){return t.type.prototype.ngOnChanges&&(t.setInput=EB),SB}function SB(){const t=Xk(this),n=t?.current;if(n){const e=t.previous;if(e===Yo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function EB(t,n,e,i){const o=this.declaredInputs[e],r=Xk(t)||function TB(t,n){return t[Qk]=n}(t,{previous:Yo,current:null}),s=r.current||(r.current={}),a=r.previous,l=a[o];s[o]=new DB(l&&l.currentValue,n,a===Yo),t[i]=n}Fe.ngInherit=!0;const Qk="__ngSimpleChanges__";function Xk(t){return t[Qk]||null}const Qo=function(t,n,e){},Jk="svg";let tM=!1;function Ut(t){for(;Array.isArray(t);)t=t[vi];return t}function eu(t,n){return Ut(n[t])}function Dn(t,n){return Ut(n[t.index])}function tu(t,n){return t.data[n]}function Gl(t,n){return t[n]}function io(t,n){const e=n[t];return cn(e)?e:e[vi]}function vv(t){return 128==(128&t[He])}function Xo(t,n){return null==n?null:t[n]}function iM(t){t[$l]=0}function FB(t){1024&t[He]||(t[He]|=1024,vv(t)&&iu(t))}function oM(t){return 9216&t[He]||t[ya]?.dirty}function yv(t){oM(t)?iu(t):64&t[He]&&(function AB(){return tM}()?(t[He]|=1024,iu(t)):t[Lr].changeDetectionScheduler?.notify())}function iu(t){t[Lr].changeDetectionScheduler?.notify();let n=t[li];for(;null!==n&&!(en(n)&&n[He]&Wl.HasChildViewsToRefresh||cn(n)&&8192&n[He]);){if(en(n))n[He]|=Wl.HasChildViewsToRefresh;else if(n[He]|=8192,!vv(n))break;n=n[li]}}function op(t,n){if(256==(256&t[He]))throw new $(911,!1);null===t[As]&&(t[As]=[]),t[As].push(n)}const Ze={lFrame:pM(null),bindingsEnabled:!0,skipHydrationRootTNode:null};
vendor: 47,437 bytes, line 1
1function sM(){return Ze.bindingsEnabled}function ql(){return null!==Ze.skipHydrationRootTNode}function q(){return Ze.lFrame.lView}function vt(){return Ze.lFrame.tView}function re(t){return Ze.lFrame.contextLView=t,t[$t]}function se(t){return Ze.lFrame.contextLView=null,t}function Nt(){let t=aM();for(;null!==t&&64===t.type;)t=t.parent;return t}function aM(){return Ze.lFrame.currentTNode}function Jo(t,n){const e=Ze.lFrame;e.currentTNode=t,e.isParent=n}function xv(){return Ze.lFrame.isParent}function Cv(){Ze.lFrame.isParent=!1}function Sn(){const t=Ze.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function er(){return Ze.lFrame.bindingIndex++}function Br(t){const n=Ze.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function GB(t,n){const e=Ze.lFrame;e.bindingIndex=e.bindingRootIndex=t,kv(n)}function kv(t){Ze.lFrame.currentDirectiveIndex=t}function Mv(t){const n=Ze.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function uM(){return Ze.lFrame.currentQueryIndex}function Dv(t){Ze.lFrame.currentQueryIndex=t}function YB(t){const n=t[de];return 2===n.type?n.declTNode:1===n.type?t[gn]:null}function hM(t,n,e){if(e&ht.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&ht.Host||(o=YB(r),null===o||(r=r[jl],10&o.type))););if(null===o)return!1;n=o,t=r}const i=Ze.lFrame=mM();return i.currentTNode=n,i.lView=t,!0}function Sv(t){const n=mM(),e=t[de];Ze.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function mM(){const t=Ze.lFrame,n=null===t?null:t.child;return null===n?pM(t):n}function pM(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function fM(){const t=Ze.lFrame;return Ze.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const gM=fM;function Ev(){const t=fM();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function _n(){return Ze.lFrame.selectedIndex}function Ca(t){Ze.lFrame.selectedIndex=t}function Qt(){const t=Ze.lFrame;return tu(t.tView,t.selectedIndex)}function $e(){Ze.lFrame.currentNamespace=Jk}function tr(){!function QB(){Ze.lFrame.currentNamespace=null}()}let bM=!0;function rp(){return bM}function Ps(t){bM=t}function sp(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:m}=r;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),u&&((t.viewHooks??=[]).push(e,u),(t.viewCheckHooks??=[]).push(e,u)),null!=m&&(t.destroyHooks??=[]).push(e,m)}}function ap(t,n,e){vM(t,n,3,e)}function lp(t,n,e,i){(3&t[He])===e&&vM(t,n,e,i)}function Tv(t,n){let e=t[He];(3&e)===n&&(e&=16383,e+=1,t[He]=e)}function vM(t,n,e,i){const r=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&t[$l]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(t[$l]+=65536),(a<r||-1==r)&&(JB(t,e,n,l),t[$l]=(4294901760&t[$l])+l+2),l++}function yM(t,n){Qo(4,t,n);const e=_i(null);try{n.call(t)}finally{_i(e),Qo(5,t,n)}}function JB(t,n,e,i){const o=e[i]<0,r=e[i+1],a=t[o?-e[i]:e[i]];o?t[He]>>14<t[$l]>>16&&(3&t[He])===n&&(t[He]+=16384,yM(a,r)):yM(a,r)}const Yl=-1;class ou{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Av(t){return t!==Yl}function ru(t){return 32767&t}function su(t,n){let e=function o9(t){return t>>16}(t),i=n;for(;e>0;)i=i[jl],e--;return i}let Pv=!0;function cp(t){const n=Pv;return Pv=t,n}const wM=255,xM=5;let r9=0;const ir={};function dp(t,n){const e=CM(t,n);if(-1!==e)return e;const i=n[de];i.firstCreatePass&&(t.injectorIndex=n.length,Ov(i.data,t),Ov(n,null),Ov(i.blueprint,null));const o=up(t,n),r=t.injectorIndex;if(Av(o)){const s=ru(o),a=su(o,n),l=a[de].data;for(let u=0;u<8;u++)n[r+u]=a[s+u]|l[s+u]}return n[r+8]=o,r}function Ov(t,n){t.push(0,0,0,0,0,0,0,0,n)}function CM(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function up(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=IM(o),null===i)return Yl;if(e++,o=o[jl],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Yl}function Rv(t,n,e){!function s9(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Gd)&&(i=e[Gd]),null==i&&(i=e[Gd]=r9++);const o=i&wM;n.data[t+(o>>xM)]|=1<<o}(t,n,e)}function kM(t,n,e){if(e&ht.Optional||void 0!==t)return t;iv()}function MM(t,n,e,i){if(e&ht.Optional&&void 0===i&&(i=null),!(e&(ht.Self|ht.Host))){const o=t[Mn],r=zn(void 0);try{return o?o.get(n,i,e&ht.Optional):Ik(n,i,e&ht.Optional)}finally{zn(r)}}return kM(i,0,e)}function DM(t,n,e,i=ht.Default,o){if(null!==t){if(2048&n[He]&&!(i&ht.Self)){const s=function u9(t,n,e,i,o){let r=t,s=n;for(;null!==r&&null!==s&&2048&s[He]&&!(512&s[He]);){const a=SM(r,s,e,i|ht.Self,ir);if(a!==ir)return a;let l=r.parent;if(!l){const u=s[Gk];if(u){const m=u.get(e,ir,i);if(m!==ir)return m}l=IM(s),s=s[jl]}r=l}return o}(t,n,e,i,ir);if(s!==ir)return s}const r=SM(t,n,e,i,ir);if(r!==ir)return r}return MM(n,e,i,o)}function SM(t,n,e,i,o){const r=function c9(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(Gd)?t[Gd]:void 0;return"number"==typeof n?n>=0?n&wM:d9:n}(e);if("function"==typeof r){if(!hM(n,t,i))return i&ht.Host?kM(o,0,i):MM(n,e,i,o);try{let s;if(s=r(i),null!=s||i&ht.Optional)return s;iv()}finally{gM()}}else if("number"==typeof r){let s=null,a=CM(t,n),l=Yl,u=i&ht.Host?n[pi][gn]:null;for((-1===a||i&ht.SkipSelf)&&(l=-1===a?up(t,n):n[a+8],l!==Yl&&TM(i,!1)?(s=n[de],a=ru(l),n=su(l,n)):a=-1);-1!==a;){const m=n[de];if(EM(r,a,m.data)){const p=l9(a,n,e,s,i,u);if(p!==ir)return p}l=n[a+8],l!==Yl&&TM(i,n[de].data[a+8]===u)&&EM(r,a,n)?(s=m,a=ru(l),n=su(l,n)):a=-1}}return o}function l9(t,n,e,i,o,r){const s=n[de],a=s.data[t+8],m=hp(a,s,e,null==i?wa(a)&&Pv:i!=s&&0!=(3&a.type),o&ht.Host&&r===a);return null!==m?ka(n,s,m,a):ir}function hp(t,n,e,i,o){const r=t.providerIndexes,s=n.data,a=1048575&r,l=t.directiveStart,m=r>>20,f=o?a+m:t.directiveEnd;for(let _=i?a:a+m;_<f;_++){const y=s[_];if(_<l&&e===y||_>=l&&y.type===e)return _}if(o){const _=s[l];if(_&&Oo(_)&&_.type===e)return l}return null}function ka(t,n,e,i){let o=t[e];const r=n.data;if(function e9(t){return t instanceof ou}(o)){const s=o;s.resolving&&function W7(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new $(-200,`Circular dependency in DI detected for ${t}${e}`)}(function St(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Xe(t)}(r[e]));const a=cp(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?zn(s.injectImpl):null;hM(t,i,ht.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function XB(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=Kk(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),r&&((e.preOrderHooks??=[]).push(t,r),(e.preOrderCheckHooks??=[]).push(t,r))}(e,r[e],n)}finally{null!==u&&zn(u),cp(a),s.resolving=!1,gM()}}return o}function EM(t,n,e){return!!(e[n+(t>>xM)]&1<<t)}function TM(t,n){return!(t&ht.Self||t&ht.Host&&n)}class Wi{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return DM(this._tNode,this._lView,n,Xm(i),e)}}function d9(){return new Wi(Nt(),q())}function _e(t){return Fr(()=>{const n=t.prototype.constructor,e=n[Rr]||Fv(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[Rr]||Fv(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Fv(t){return qm(t)?()=>{const n=Fv(We(t));return n&&n()}:xa(t)}function IM(t){const n=t[de],e=n.type;return 2===e?n.declTNode:1===e?t[gn]:null}function Ro(t){return function a9(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Fk(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===n)return e[o+1];o+=2}}}return null}(Nt(),t)}const Xl="__parameters__";function ec(t,n,e){return Fr(()=>{const i=function Lv(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,u,m){const p=l.hasOwnProperty(Xl)?l[Xl]:Object.defineProperty(l,Xl,{value:[]})[Xl];for(;p.length<=m;)p.push(null);return(p[m]=p[m]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function ic(t,n){t.forEach(e=>Array.isArray(e)?ic(e,n):n(e))}function PM(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function mp(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function lu(t,n){const e=[];for(let i=0;i<t;i++)e.push(n);return e}function no(t,n,e){let i=nc(t,n);return i>=0?t[1|i]=e:(i=~i,function OM(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Bv(t,n){const e=nc(t,n);if(e>=0)return t[1|e]}function nc(t,n){return function RM(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}(t,n,1)}const Fo=Yd(ec("Optional"),8),Vr=Yd(ec("SkipSelf"),4),Ma=new B("ENVIRONMENT_INITIALIZER"),BM=new B("INJECTOR",-1),Hv=new B("INJECTOR_DEF_TYPES");class gp{get(n,e=qd){if(e===qd){const i=new Error(`NullInjectorError: No provider for ${Fi(n)}!`);throw i.name="NullInjectorError",i}return e}}function O9(...t){return{\u0275providers:VM(0,t),\u0275fromNgModule:!0}}function VM(t,...n){const e=[],i=new Set;let o;const r=s=>{e.push(s)};return ic(n,s=>{const a=s;_p(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&zM(o,r),e}function zM(t,n){for(let e=0;e<t.length;e++){const{ngModule:i,providers:o}=t[e];$v(o,r=>{n(r,i)})}}function _p(t,n,e,i){if(!(t=We(t)))return!1;let o=null,r=Zm(t);const s=!r&&ut(t);if(r||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(r=Zm(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)_p(u,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let u;i.add(o);try{ic(r.imports,m=>{_p(m,n,e,i)&&(u||=[],u.push(m))})}finally{}void 0!==u&&zM(u,n)}if(!a){const u=xa(o)||(()=>new o);n({provide:o,useFactory:u,deps:Mt},o),n({provide:Hv,useValue:o,multi:!0},o),n({provide:Ma,useValue:()=>R(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const u=t;$v(l,m=>{n(m,u)})}}}return o!==t&&void 0!==t.providers}function $v(t,n){for(let e of t)Jb(e)&&(e=e.\u0275providers),Array.isArray(e)?$v(e,n):n(e)}const R9=Rt({provide:String,useValue:Rt});function Uv(t){return null!==t&&"object"==typeof t&&R9 in t}function Da(t){return"function"==typeof t}const Wv=new B("Set Injector scope."),bp={},L9={};let Gv;function vp(){return void 0===Gv&&(Gv=new gp),Gv}class oo{}class rc extends oo{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yv(n,s=>this.processProvider(s)),this.records.set(BM,sc(void 0,this)),o.has("environment")&&this.records.set(oo,sc(void 0,this));const r=this.records.get(Wv);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Hv,Mt,ht.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=Ts(this),i=zn(void 0);try{return n()}finally{Ts(e),zn(i)}}get(n,e=qd,i=ht.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Dk))return n[Dk](this);i=Xm(i);const r=Ts(this),s=zn(void 0);try{if(!(i&ht.SkipSelf)){let l=this.records.get(n);if(void 0===l){const u=function H9(t){return"function"==typeof t||"object"==typeof t&&t instanceof B}(n)&&Ym(n);l=u&&this.injectableDefInScope(u)?sc(qv(n),bp):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ht.Self?vp():this.parent).get(n,e=i&ht.Optional&&e===qd?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Qm]=a[Qm]||[]).unshift(Fi(n)),r)throw a;return function sB(t,n,e,i){const o=t[Qm];throw n[Pk]&&o.unshift(n[Pk]),t.message=function aB(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=Fi(n);if(Array.isArray(n))o=n.map(Fi).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):Fi(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(tB,"\n  ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[Qm]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{zn(s),Ts(r)}}resolveInjectorInitializers(){const n=Ts(this),e=zn(void 0);try{const o=this.get(Ma,Mt,ht.Self);for(const r of o)r()}finally{Ts(n),zn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Fi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processProvider(n){let e=Da(n=We(n))?n:We(n&&n.provide);const i=function B9(t){return Uv(t)?sc(void 0,t.useValue):sc($M(t),bp)}(n);if(Da(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=sc(void 0,bp,!0),o.factory=()=>dv(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===bp&&(e.value=L9,e.value=e.factory()),"object"==typeof e.value&&e.value&&function z9(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=We(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function qv(t){const n=Ym(t),e=null!==n?n.factory:xa(t);if(null!==e)return e;if(t instanceof B)throw new $(204,!1);if(t instanceof Function)return function N9(t){const n=t.length;if(n>0)throw lu(n,"?"),new $(204,!1);const e=function Q7(t){return t&&(t[Km]||t[Ek])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new $(204,!1)}function $M(t,n,e){let i;if(Da(t)){const o=We(t);return xa(o)||qv(o)}if(Uv(t))i=()=>We(t.useValue);else if(function jM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...dv(t.deps||[]));else if(function HM(t){return!(!t||!t.useExisting)}(t))i=()=>R(We(t.useExisting));else{const o=We(t&&(t.useClass||t.provide));if(!function V9(t){return!!t.deps}(t))return xa(o)||qv(o);i=()=>new o(...dv(t.deps))}return i}function sc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Yv(t,n){for(const e of t)Array.isArray(e)?Yv(e,n):e&&Jb(e)?Yv(e.\u0275providers,n):n(e)}function Os(t,n){t instanceof rc&&t.assertNotDestroyed();const i=Ts(t),o=zn(void 0);try{return n()}finally{Ts(i),zn(o)}}function qM(t,n=null,e=null,i){const o=YM(t,n,e,i);return o.resolveInjectorInitializers(),o}function YM(t,n=null,e=null,i,o=new Set){const r=[e||Mt,O9(t)];return i=i||("object"==typeof t?void 0:Fi(t)),new rc(r,n||vp(),i||null,o)}let Qv,Xt=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=qd;static#t=this.NULL=new gp;static create(e,i){if(Array.isArray(e))return qM({name:""},i,e,"");{const o=e.name??"";return qM({name:o},e.parent,e.providers,o)}}static#i=this.\u0275prov=G({token:t,providedIn:"any",factory:()=>R(BM)});static#n=this.__NG_ELEMENT_ID__=-1}return t})();function Fs(){if(void 0!==Qv)return Qv;if(typeof document<"u")return document;throw new $(210,!1)}const wp=new B("AppId",{providedIn:"root",factory:()=>K9}),K9="ng",KM=new B("Platform Initializer"),ro=new B("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tn=new B("AnimationModuleType"),Xv=new B("CSP nonce",{providedIn:"root",factory:()=>Fs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function QM(t){return t.ownerDocument}function so(t){return t instanceof Function?t():t}function Mp(t){return 128==(128&t.flags)}var Bs=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Bs||{});const rV=/^>|^->|<!--|-->|--!>|<!-$/g,sV=/(<|>)/g,aV="\u200b$1\u200b";const ny=new Map;let lV=0;const ry="__ngContext__";function bn(t,n){cn(n)?(t[ry]=n[Xd],function dV(t){ny.set(t[Xd],t)}(n)):t[ry]=n}let sy;function ay(t,n){return sy(t,n)}function pu(t){const n=t[li];return en(n)?n[li]:n}function fD(t){return _D(t[Kd])}function gD(t){return _D(t[Ao])}function _D(t){for(;null!==t&&!en(t);)t=t[Ao];return t}function lc(t,n,e,i,o){if(null!=i){let r,s=!1;en(i)?r=i:cn(i)&&(s=!0,i=i[vi]);const a=Ut(i);0===t&&null!==e?null==o?wD(n,e,a):Sa(n,e,a,o||null,!0):1===t&&null!==e?Sa(n,e,a,o||null,!0):2===t?function Pp(t,n,e){const i=Ip(t,n);i&&function TV(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=r&&function PV(t,n,e,i,o){const r=e[Ko];r!==Ut(e)&&lc(n,t,i,r,o);for(let a=Di;a<e.length;a++){const l=e[a];_u(l[de],l,t,n,i,r)}}(n,t,r,e,o)}}function ly(t,n){return t.createComment(function aD(t){return t.replace(rV,n=>n.replace(sV,aV))}(n))}function Ep(t,n,e){return t.createElement(n,e)}function vD(t,n){const e=t[Ul],i=e.indexOf(n);e.splice(i,1)}function fu(t,n){if(t.length<=Di)return;const e=Di+n,i=t[e];if(i){const o=i[Qd];null!==o&&o!==t&&vD(o,i),n>0&&(t[e-1][Ao]=i[Ao]);const r=mp(t,Di+n);!function wV(t,n){_u(t,n,n[Je],2,null,null),n[vi]=null,n[gn]=null}(i[de],i);const s=r[Zo];null!==s&&s.detachView(r[de]),i[li]=null,i[Ao]=null,i[He]&=-129}return i}function Tp(t,n){if(!(256&n[He])){const e=n[Je];e.destroyNode&&_u(t,n,e,3,null,null),function kV(t){let n=t[Kd];if(!n)return cy(t[de],t);for(;n;){let e=null;if(cn(n))e=n[Kd];else{const i=n[Di];i&&(e=i)}if(!e){for(;n&&!n[Ao]&&n!==t;)cn(n)&&cy(n[de],n),n=n[li];null===n&&(n=t),cn(n)&&cy(n[de],n),e=n&&n[Ao]}n=e}}(n)}}function cy(t,n){if(!(256&n[He])){n[He]&=-129,n[He]|=256,n[ya]&&function dk(t){if(Bl(t),$d(t))for(let n=0;n<t.producerNode.length;n++)zm(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}(n[ya]),function EV(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const o=n[e[i]];if(!(o instanceof ou)){const r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],l=r[s+1];Qo(4,a,l);try{l.call(a)}finally{Qo(5,a,l)}}else{Qo(4,o,r);try{r.call(o)}finally{Qo(5,o,r)}}}}}(t,n),function SV(t,n){const e=t.cleanup,i=n[Hl];if(null!==e)for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const s=e[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else e[r].call(i[e[r+1]]);null!==i&&(n[Hl]=null);const o=n[As];if(null!==o){n[As]=null;for(let r=0;r<o.length;r++)(0,o[r])()}}(t,n),1===n[de].type&&n[Je].destroy();const e=n[Qd];if(null!==e&&en(n[li])){e!==n[li]&&vD(e,n);const i=n[Zo];null!==i&&i.detachView(t)}!function uV(t){ny.delete(t[Xd])}(n)}}function dy(t,n,e){return function yD(t,n,e){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return e[vi];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===To.None||r===To.Emulated)return null}return Dn(i,e)}}(t,n.parent,e)}function Sa(t,n,e,i,o){t.insertBefore(n,e,i,o)}function wD(t,n,e){t.appendChild(n,e)}function xD(t,n,e,i,o){null!==i?Sa(t,n,e,i,o):wD(t,n,e)}function Ip(t,n){return t.parentNode(n)}function CD(t,n,e){return MD(t,n,e)}let uy,Op,Rp,MD=function kD(t,n,e){return 40&t.type?Dn(t,e):null};function Ap(t,n,e,i){const o=dy(t,i,n),r=n[Je],a=CD(i.parent||n[gn],i,n);if(null!=o)if(Array.isArray(e))for(let l=0;l<e.length;l++)xD(r,o,e[l],a,!1);else xD(r,o,e,a,!1);void 0!==uy&&uy(r,i,n,e,o)}function gu(t,n){if(null!==n){const e=n.type;if(3&e)return Dn(n,t);if(4&e)return hy(-1,t[n.index]);if(8&e){const i=n.child;if(null!==i)return gu(t,i);{const o=t[n.index];return en(o)?hy(-1,o):Ut(o)}}if(32&e)return ay(n,t)()||Ut(t[n.index]);{const i=SD(t,n);return null!==i?Array.isArray(i)?i[0]:gu(pu(t[pi]),i):gu(t,n.next)}}return null}function SD(t,n){return null!==n?t[pi][gn].projection[n.projection]:null}function hy(t,n){const e=Di+t+1;if(e<n.length){const i=n[e],o=i[de].firstChild;if(null!==o)return gu(i,o)}return n[Ko]}function my(t,n,e,i,o,r,s){for(;null!=e;){const a=i[e.index],l=e.type;if(s&&0===n&&(a&&bn(Ut(a),i),e.flags|=2),32!=(32&e.flags))if(8&l)my(t,n,e.child,i,o,r,!1),lc(n,t,o,a,r);else if(32&l){const u=ay(e,i);let m;for(;m=u();)lc(n,t,o,m,r);lc(n,t,o,a,r)}else 16&l?TD(t,n,i,e,o,r):lc(n,t,o,a,r);e=s?e.projectionNext:e.next}}function _u(t,n,e,i,o,r){my(e,i,t.firstChild,n,o,r,!1)}function TD(t,n,e,i,o,r){const s=e[pi],l=s[gn].projection[i.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)lc(n,t,o,l[u],r);else{let u=l;const m=s[li];Mp(i)&&(u.flags|=128),my(t,n,u,m,o,r,!0)}}function ID(t,n,e){""===e?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function AD(t,n,e){const{mergedAttrs:i,classes:o,styles:r}=e;null!==i&&uv(t,n,i),null!==o&&ID(t,n,o),null!==r&&function RV(t,n,e){t.setAttribute(n,"style",e)}(t,n,r)}function cc(t){return function py(){if(void 0===Op&&(Op=null,jt.trustedTypes))try{Op=jt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Op}()?.createHTML(t)||t}function fy(){if(void 0===Rp&&(Rp=null,jt.trustedTypes))try{Rp=jt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Rp}function PD(t){return fy()?.createHTML(t)||t}function RD(t){return fy()?.createScriptURL(t)||t}class Ea{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kk})`}}class BV extends Ea{getTypeName(){return"HTML"}}class VV extends Ea{getTypeName(){return"Style"}}class zV extends Ea{getTypeName(){return"Script"}}class HV extends Ea{getTypeName(){return"URL"}}class jV extends Ea{getTypeName(){return"ResourceURL"}}function ao(t){return t instanceof Ea?t.changingThisBreaksApplicationSecurity:t}function nr(t,n){const e=function $V(t){return t instanceof Ea&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${kk})`)}return e===n}class ZV{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(cc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class KV{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=cc(n),e}}const XV=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fp(t){return(t=String(t)).match(XV)?t:"unsafe:"+t}function zr(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function bu(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const LD=zr("area,br,col,hr,img,wbr"),ND=zr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),BD=zr("rp,rt"),gy=bu(LD,bu(ND,zr("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")),bu(BD,zr("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")),bu(BD,ND)),_y=zr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VD=bu(_y,zr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),zr("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")),JV=zr("script,style,template");class ez{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;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)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!gy.hasOwnProperty(e))return this.sanitizedSomething=!0,!JV.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),s=r.name,a=s.toLowerCase();if(!VD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;_y[a]&&(l=Fp(l)),this.buf.push(" ",s,'="',zD(l),'"')}return this.buf.push(">"),!0}endElement(n){const e=n.nodeName.toLowerCase();gy.hasOwnProperty(e)&&!LD.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(zD(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const tz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iz=/([^\#-~ |!])/g;function zD(t){return t.replace(/&/g,"&amp;").replace(tz,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(iz,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Lp;function HD(t,n){let e=null;try{Lp=Lp||function FD(t){const n=new KV(t);return function QV(){try{return!!(new window.DOMParser).parseFromString(cc(""),"text/html")}catch{return!1}}()?new ZV(n):n}(t);let i=n?String(n):"";e=Lp.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=Lp.getInertBodyElement(i)}while(i!==r);return cc((new ez).sanitizeChildren(by(e)||e))}finally{if(e){const i=by(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function by(t){return"content"in t&&function nz(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var nn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(nn||{});function vy(t){const n=vu();return n?PD(n.sanitize(nn.HTML,t)||""):nr(t,"HTML")?PD(ao(t)):HD(Fs(),Xe(t))}function Jt(t){const n=vu();return n?n.sanitize(nn.URL,t)||"":nr(t,"URL")?ao(t):Fp(Xe(t))}function jD(t){const n=vu();if(n)return RD(n.sanitize(nn.RESOURCE_URL,t)||"");if(nr(t,"ResourceURL"))return RD(ao(t));throw new $(904,!1)}function vu(){const t=q();return t&&t[Lr].sanitizer}class cz{}let UD=(t,n,e)=>null;function Sy(t,n,e=!1){return UD(t,n,e)}class bz{}class qD{}class yz{resolveComponentFactory(n){throw function vz(t){const n=Error(`No component factory found for ${Fi(t)}.`);return n.ngComponent=t,n}(n)}}let hc=(()=>{class t{static#e=this.NULL=new yz}return t})();function wz(){return mc(Nt(),q())}function mc(t,n){return new be(Dn(t,n))}let be=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=wz}return t})();function xz(t){return t instanceof be?t.nativeElement:t}class jp{}let or=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Cz(){const t=q(),e=io(Nt().index,t);return(cn(e)?e:t)[Je]}()}return t})(),kz=(()=>{class t{static#e=this.\u0275prov=G({token:t,providedIn:"root",factory:()=>null})}return t})();const Iy={};function ZD(t){const n=_i(null);try{return t()}finally{_i(n)}}function $p(t){return!!Ay(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Ay(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class KD{constructor(){}supports(n){return $p(n)}create(n){return new Tz(n)}}const Ez=(t,n)=>n;class Tz{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Ez}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex<XD(i,o,r)?e:i,a=XD(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)o++;else{r||(r=[]);const u=a-o,m=l-o;if(u!=m){for(let f=0;f<u;f++){const _=f<r.length?r[f]:r[f]=0,y=_+f;m<=y&&y<u&&(r[f]=_+1)}r[s.previousIndex]=m-u}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)}diff(n){if(null==n&&(n=[]),!$p(n))throw new $(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,r,s,e=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)):(e=this._mismatch(e,r,s,a),i=!0),e=e._next}else o=0,function Sz(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{const e=t[Symbol.iterator]();let i;for(;!(i=e.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new Iz(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new QD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new QD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Iz{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Az{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class QD{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new Az,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function XD(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}class JD{constructor(){}supports(n){return n instanceof Map||Ay(n)}create(){return new Pz}}class Pz{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let e;for(e=this._mapHead;null!==e;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}diff(n){if(n){if(!(n instanceof Map||Ay(n)))throw new $(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new Oz(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class Oz{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function eS(){return new Hr([new KD])}let Hr=(()=>{class t{static#e=this.\u0275prov=G({token:t,providedIn:"root",factory:eS});constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||eS()),deps:[[t,new Vr,new Fo]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new $(901,!1)}}return t})();function tS(){return new xu([new JD])}let xu=(()=>{class t{static#e=this.\u0275prov=G({token:t,providedIn:"root",factory:tS});constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||tS()),deps:[[t,new Vr,new Fo]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new $(901,!1)}}return t})();function Cu(t,n,e,i,o=!1){for(;null!==e;){const r=n[e.index];null!==r&&i.push(Ut(r)),en(r)&&iS(r,i);const s=e.type;if(8&s)Cu(t,n,e.child,i);else if(32&s){const a=ay(e,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=SD(n,e);if(Array.isArray(a))i.push(...a);else{const l=pu(n[pi]);Cu(l[de],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}function iS(t,n){for(let e=Di;e<t.length;e++){const i=t[e],o=i[de].firstChild;null!==o&&Cu(i[de],i,o,n)}t[Ko]!==t[vi]&&n.push(t[Ko])}let nS=[];const Bz={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:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{iu(t.lView)},consumerOnSignalRead(){this.lView[ya]=this}};function Py(t){return t.ngOriginalError}class bo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Py(n);for(;e&&Py(e);)e=Py(e);return e||null}}const rS=new B("",{providedIn:"root",factory:()=>Z(bo).handleError.bind(void 0)}),aS=new B("",{providedIn:"root",factory:()=>!1}),tt={};function b(t){uS(vt(),q(),_n()+t,!1)}function uS(t,n,e,i){if(!i)if(3==(3&n[He])){const r=t.preOrderCheckHooks;null!==r&&ap(n,r,e)}else{const r=t.preOrderHooks;null!==r&&lp(n,r,0,e)}Ca(e)}function v(t,n=ht.Default){const e=q();return null===e?R(t,n):DM(Nt(),e,We(t),n)}function Ta(){throw new Error("invalid")}function Wp(t,n,e,i,o,r,s,a,l,u,m){const p=n.blueprint.slice();return p[vi]=o,p[He]=204|i,(null!==u||t&&2048&t[He])&&(p[He]|=2048),iM(p),p[li]=p[jl]=t,p[$t]=e,p[Lr]=s||t&&t[Lr],p[Je]=a||t&&t[Je],p[Mn]=l||t&&t[Mn]||null,p[gn]=r,p[Xd]=function cV(){return lV++}(),p[Po]=m,p[Gk]=u,p[pi]=2==n.type?t[pi]:p,p}function pc(t,n,e,i,o){let r=t.data[n];if(null===r)r=function Oy(t,n,e,i,o){const r=aM(),s=xv(),l=t.data[n]=function Qz(t,n,e,i,o,r){let s=n?n.injectorIndex:-1,a=0;return ql()&&(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:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}(t,n,e,i,o),function WB(){return Ze.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const s=function nu(){const t=Ze.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return Jo(r,!0),r}function ku(t,n,e,i){if(0===e)return-1;const o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function hS(t,n,e,i,o){const r=_n(),s=2&i;try{Ca(-1),s&&n.length>et&&uS(t,n,et,!1),Qo(s?2:0,o),e(i,o)}finally{Ca(r),Qo(s?3:1,o)}}function Ry(t,n,e){if(mv(n)){const i=_i(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;s<r;s++){const a=t.data[s];a.contentQueries&&a.contentQueries(1,e[s],s)}}finally{_i(i)}}}function Fy(t,n,e){sM()&&(function oH(t,n,e,i){const o=e.directiveStart,r=e.directiveEnd;wa(e)&&function uH(t,n,e){const i=Dn(n,t),o=mS(e);let s=16;e.signals?s=4096:e.onPush&&(s=64);const a=Gp(t,Wp(t,o,null,s,i,n,null,t[Lr].rendererFactory.createRenderer(i,e),null,null,null));t[n.index]=a}(n,e,t.data[o+e.componentOffset]),t.firstCreatePass||dp(e,n),bn(i,n);const s=e.initialInputs;for(let a=o;a<r;a++){const l=t.data[a],u=ka(n,t,a,e);bn(u,n),null!==s&&hH(0,a-o,u,l,0,s),Oo(l)&&(io(e.index,n)[$t]=ka(n,t,a,e))}}(t,n,e,Dn(e,n)),64==(64&e.flags)&&bS(t,n,e))}function Ly(t,n,e=Dn){const i=n.localNames;if(null!==i){let o=n.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?e(n,t):t[s];t[o++]=a}}}function mS(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=Ny(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Ny(t,n,e,i,o,r,s,a,l,u,m){const p=et+i,f=p+o,_=function Wz(t,n){const e=[];for(let i=0;i<n;i++)e.push(i<t?null:tt);return e}(p,f),y="function"==typeof u?u():u;return _[de]={type:t,blueprint:_,template:e,queries:null,viewQuery:a,declTNode:n,data:_.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1,ssrId:m}}let pS=t=>null;function fS(t,n,e,i){for(let o in t)if(t.hasOwnProperty(o)){e=null===e?{}:e;const r=t[o];null===i?gS(e,n,o,r):i.hasOwnProperty(o)&&gS(e,n,i[o],r)}return e}function gS(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function lo(t,n,e,i,o,r,s,a){const l=Dn(n,e);let m,u=n.inputs;!a&&null!=u&&(m=u[i])?(jy(t,e,m,i,o),wa(n)&&function eH(t,n){const e=io(n,t);16&e[He]||(e[He]|=64)}(e,n.index)):3&n.type&&(i=function Jz(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function By(t,n,e,i){if(sM()){const o=null===i?null:{"":-1},r=function sH(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let r=0;r<e.length;r++){const s=e[r];if(zk(n,s.selectors,!1))if(i||(i=[]),Oo(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s),Vy(t,n,a.length)}else i.unshift(s),Vy(t,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return null===i?null:[i,o]}(t,e);let s,a;null===r?s=a=null:[s,a]=r,null!==s&&_S(t,n,e,s,o,a),o&&function aH(t,n,e){if(n){const i=t.localNames=[];for(let o=0;o<n.length;o+=2){const r=e[n[o+1]];if(null==r)throw new $(-301,!1);i.push(n[o],r)}}}(e,i,o)}e.mergedAttrs=Zd(e.mergedAttrs,e.attrs)}
1function _S(t,n,e,i,o,r){for(let u=0;u<i.length;u++)Rv(dp(e,n),t,i[u].type);!function cH(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}(e,t.data.length,i.length);for(let u=0;u<i.length;u++){const m=i[u];m.providersResolver&&m.providersResolver(m)}let s=!1,a=!1,l=ku(t,n,i.length,null);for(let u=0;u<i.length;u++){const m=i[u];e.mergedAttrs=Zd(e.mergedAttrs,m.hostAttrs),dH(t,e,n,l,m),lH(l,m,o),null!==m.contentQueries&&(e.flags|=4),(null!==m.hostBindings||null!==m.hostAttrs||0!==m.hostVars)&&(e.flags|=64);const p=m.type.prototype;!s&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}!function Xz(t,n,e){const o=n.directiveEnd,r=t.data,s=n.attrs,a=[];let l=null,u=null;for(let m=n.directiveStart;m<o;m++){const p=r[m],f=e?e.get(p):null,y=f?f.outputs:null;l=fS(p.inputs,m,l,f?f.inputs:null),u=fS(p.outputs,m,u,y);const w=null===l||null===s||Vk(n)?null:mH(l,m,s);a.push(w)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=u}(t,e,r)}function bS(t,n,e){const i=e.directiveStart,o=e.directiveEnd,r=e.index,s=function qB(){return Ze.lFrame.currentDirectiveIndex}();try{Ca(r);for(let a=i;a<o;a++){const l=t.data[a],u=n[a];kv(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&rH(l,u)}}finally{Ca(-1),kv(s)}}function rH(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Vy(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function lH(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Oo(n)&&(e[""]=t)}}function dH(t,n,e,i,o){t.data[i]=o;const r=o.factory||(o.factory=xa(o.type)),s=new ou(r,Oo(o),v);t.blueprint[i]=s,e[i]=s,function iH(t,n,e,i,o){const r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);const a=~n.index;(function nH(t){let n=t.length;for(;n>0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,r)}}(t,n,i,ku(t,e,o.hostVars,tt),o)}function rr(t,n,e,i,o,r){const s=Dn(t,n);!function zy(t,n,e,i,o,r,s){if(null==r)t.removeAttribute(n,o,e);else{const a=null==s?Xe(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}(n[Je],s,r,t.value,e,i,o)}function hH(t,n,e,i,o,r){const s=r[n];if(null!==s)for(let a=0;a<s.length;)vS(i,e,s[a++],s[a++],s[a++])}function vS(t,n,e,i,o){const r=_i(null);try{const s=t.inputTransforms;null!==s&&s.hasOwnProperty(i)&&(o=s[i].call(n,o)),null!==t.setInput?t.setInput(n,o,e,i):n[i]=o}finally{_i(r)}}function mH(t,n,e){let i=null,o=0;for(;o<e.length;){const r=e[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(t.hasOwnProperty(r)){null===i&&(i=[]);const s=t[r];for(let a=0;a<s.length;a+=2)if(s[a]===n){i.push(r,s[a+1],e[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function yS(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function wS(t,n){const e=t.contentQueries;if(null!==e){const i=_i(null);try{for(let o=0;o<e.length;o+=2){const s=e[o+1];if(-1!==s){const a=t.data[s];Dv(e[o]),a.contentQueries(2,n[s],s)}}}finally{_i(i)}}}function Gp(t,n){return t[Kd]?t[Wk][Ao]=n:t[Kd]=n,t[Wk]=n,n}function Hy(t,n,e){Dv(0);const i=_i(null);try{n(t,e)}finally{_i(i)}}function xS(t){return t[Hl]||(t[Hl]=[])}function CS(t){return t.cleanup||(t.cleanup=[])}function kS(t,n,e){return(null===t||Oo(t))&&(e=function bv(t){for(;Array.isArray(t);){if("object"==typeof t[hv])return t;t=t[vi]}return null}(e[n.index])),e[Je]}function qp(t,n){const e=t[Mn],i=e?e.get(bo,null):null;i&&i.handleError(n)}function jy(t,n,e,i,o){for(let r=0;r<e.length;){const s=e[r++],a=e[r++];vS(t.data[s],n[s],i,a,o)}}function jr(t,n,e){const i=eu(n,t);!function bD(t,n,e){t.setValue(n,e)}(t[Je],i,e)}function gH(t,n,e,i){const o=n[He];if(256==(256&o))return;n[Lr].inlineEffectRunner?.flush(),Sv(n);let s=null,a=null;(function _H(t){return 2!==t.type})(t)&&(a=function Fz(t){return t[ya]??function Lz(t){const n=nS.pop()??Object.create(Bz);return n.lView=t,n}(t)}(n),s=function lk(t){return t&&(t.nextProducerIndex=0),_i(t)}(a));try{iM(n),function cM(t){return Ze.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&hS(t,n,e,2,i);const l=3==(3&o);if(l){const p=t.preOrderCheckHooks;null!==p&&ap(n,p,null)}else{const p=t.preOrderHooks;
1null!==p&&lp(n,p,0,null),Tv(n,0)}if(function bH(t){for(let n=fD(t);null!==n;n=gD(n)){if(!(n[He]&Wl.HasTransplantedViews))continue;const e=n[Ul];for(let i=0;i<e.length;i++){FB(e[i])}}}(n),MS(n,0),null!==t.contentQueries&&wS(t,n),l){const p=t.contentCheckHooks;null!==p&&ap(n,p)}else{const p=t.contentHooks;null!==p&&lp(n,p,1),Tv(n,1)}!function Uz(t,n){const e=t.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const o=e[i];if(o<0)Ca(~o);else{const r=o,s=e[++i],a=e[++i];GB(s,r),a(2,n[r])}}}finally{Ca(-1)}}(t,n);const u=t.components;null!==u&&SS(n,u,0);const m=t.viewQuery;if(null!==m&&Hy(2,m,i),l){const p=t.viewCheckHooks;null!==p&&ap(n,p)}else{const p=t.viewHooks;null!==p&&lp(n,p,2),Tv(n,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[tp]){for(const p of n[tp])p();n[tp]=null}n[He]&=-73}catch(l){throw iu(n),l}finally{null!==a&&(function ck(t,n){if(_i(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if($d(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)zm(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}(a,s),function Nz(t){t.lView[ya]!==t&&(t.lView=null,nS.push(t))}(a)),Ev()}}function MS(t,n){for(let e=fD(t);null!==e;e=gD(e)){e[He]&=~Wl.HasChildViewsToRefresh;for(let i=Di;i<e.length;i++)DS(e[i],n)}}function vH(t,n,e){DS(io(n,t),e)}function DS(t,n){vv(t)&&Uy(t,n)}function Uy(t,n){const i=t[de],o=t[He],r=t[ya];let s=!!(0===n&&16&o);if(s||=!!(64&o&&0===n),s||=!!(1024&o),s||=!(!r?.dirty||!jb(r)),r&&(r.dirty=!1),t[He]&=-9217,s)gH(i,t,i.template,t[$t]);else if(8192&o){MS(t,1);const a=i.components;null!==a&&SS(t,a,1)}}function SS(t,n,e){for(let i=0;i<n.length;i++)vH(t,n[i],e)}function Mu(t){for(t[Lr].changeDetectionScheduler?.notify();t;){t[He]|=64;const n=pu(t);if(pv(t)&&!n)return t;t=n}return null}class Du{get rootNodes(){const n=this._lView,e=n[de];return Cu(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[$t]}set context(n){this._lView[$t]=n}get destroyed(){return 256==(256&this._lView[He])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[li];if(en(n)){const e=n[8],i=e?e.indexOf(this):-1;i>-1&&(fu(n,i),mp(e,i))}this._attachedToViewContainer=!1}Tp(this._lView[de],this._lView)}onDestroy(n){op(this._lView,n)}markForCheck(){Mu(this._cdRefInjectingView||this._lView)}detach(){this._lView[He]&=-129}reattach(){yv(this._lView),this._lView[He]|=128}detectChanges(){this._lView[He]|=1024,function $y(t,n=!0){const e=t[Lr],i=e.rendererFactory,o=e.afterRenderEventManager;i.begin?.(),o?.begin();try{!function fH(t){Uy(t,0);let n=0;for(;oM(t);){if(100===n)throw new $(103,!1);n++,Uy(t,1)}}(t)}catch(s){throw n&&qp(t,s),s}finally{i.end?.(),e.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function CV(t,n){_u(t,n,n[Je],2,null,null)}(this._lView[de],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=n,yv(this._lView)}}let wt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=yH}return t})();function yH(t){return function wH(t,n,e){if(wa(t)&&!e){const i=io(t.index,n);return new Du(i,i)}return 47&t.type?new Du(n[pi],n):null}(Nt(),q(),16==(16&t))}let Yp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=MH;static#t=this.__NG_ENV_ID__=e=>e}return t})();class kH extends Yp{constructor(n){super(),this._lView=n}onDestroy(n){return op(this._lView,n),()=>function wv(t,n){if(null===t[As])return;const e=t[As].indexOf(n);-1!==e&&t[As].splice(e,1)}(this._lView,n)}}function MH(){return new kH(q())}const ES=new Set;function Ia(t){ES.has(t)||(ES.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Wy(t){return n=>{setTimeout(t,void 0,n)}}const E=class PH extends fe{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}
1this.__isAsync&&(r=Wy(r),o&&(o=Wy(o)),s&&(s=Wy(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof pt&&n.add(a),a}};function TS(...t){}class ie{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new E(!1),this.onMicrotaskEmpty=new E(!1),this.onStable=new E(!1),this.onError=new E(!1),typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function OH(){const t="function"==typeof jt.requestAnimationFrame;let n=jt[t?"requestAnimationFrame":"setTimeout"],e=jt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&e){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=e[Zone.__symbol__("OriginalDelegate")];o&&(e=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function LH(t){const n=()=>{!function FH(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(jt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,qy(t),t.isCheckStableRunning=!0,Gy(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),qy(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,a)=>{if(function BH(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(a))return e.invokeTask(o,r,s,a);try{return IS(t),e.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),AS(t)}},onInvoke:(e,i,o,r,s,a,l)=>{try{return IS(t),e.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),AS(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,qy(t),Gy(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ie.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(ie.isInAngularZone())throw new $(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,RH,TS,TS);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const RH={};function Gy(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function qy(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function IS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function AS(t){t._nesting--,Gy(t)}class NH{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new E,this.onMicrotaskEmpty=new E,this.onStable=new E,this.onError=new E}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}var Aa=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Aa||{});const PS={destroy(){}};function RS(t,n){!n&&function Zv(t){if(!Tk()&&!function nB(){return zl}())throw new $(-203,!1)}();const e=n?.injector??Z(Xt);if(!function Ls(t){return"browser"===(t??Z(Xt)).get(ro)}(e))return PS;Ia("NgAfterNextRender");const i=e.get(Zp),o=i.handler??=new LS,r=n?.phase??Aa.MixedReadWrite,s=()=>{o.unregister(l),a()},a=e.get(Yp).onDestroy(s),l=new FS(e,r,()=>{s(),t()});return o.register(l),{destroy:s}}class FS{constructor(n,e,i){this.phase=e,this.callbackFn=i,this.zone=n.get(ie),this.errorHandler=n.get(bo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class LS{constructor(){this.executingCallbacks=!1,this.buckets={[Aa.EarlyRead]:new Set,[Aa.Write]:new Set,[Aa.MixedReadWrite]:new Set,[Aa.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new $(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const e of n)e.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Zp=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const e of this.internalCallbacks)e();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=G({token:t,providedIn:"root",factory:()=>new t})}return t})();function HH(t,n){const e=io(n,t),i=e[de];!function jH(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}(i,e);const o=e[vi];null!==o&&null===e[Po]&&(e[Po]=Sy(o,e[Mn])),Yy(i,e,e[$t])}function Yy(t,n,e){Sv(n);try{const i=t.viewQuery;null!==i&&Hy(1,i,e);const o=t.template;null!==o&&hS(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&wS(t,n),t.staticViewQueries&&Hy(2,t.viewQuery,e);const r=t.components;null!==r&&function $H(t,n){for(let e=0;e<n.length;e++)HH(t,n[e])}(n,r)}
vendor: 8,728 bytes, line 1
1catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[He]&=-5,Ev()}}function Kp(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?r=a:1==r?o=Xb(o,a):2==r&&(i=Xb(i,a+": "+n[++s]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}class NS extends hc{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=ut(n);return new Su(e,this.ngModule)}}function BS(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class WH{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=Xm(i);const o=this.injector.get(n,Iy,i);return o!==Iy||e===Iy?o:this.parentInjector.get(n,e,i)}}class Su extends qD{get inputs(){const n=this.componentDef,e=n.inputTransforms,i=BS(n.inputs);if(null!==e)for(const o of i)e.hasOwnProperty(o.propName)&&(o.transform=e[o.propName]);return i}get outputs(){return BS(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function _B(t){return t.map(gB).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=(o=o||this.ngModule)instanceof oo?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new WH(n,r):n,a=s.get(jp,null);if(null===a)throw new $(407,!1);const p={rendererFactory:a,sanitizer:s.get(kz,null),inlineEffectRunner:null,afterRenderEventManager:s.get(Zp,null),changeDetectionScheduler:s.get(cz,null)},f=a.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",y=i?function Gz(t,n,e,i){const r=i.get(aS,!1)||e===To.ShadowDom,s=t.selectRootElement(n,r);return function qz(t){pS(t)}(s),s}(f,i,this.componentDef.encapsulation,s):Ep(f,_,function UH(t){const n=t.toLowerCase();return"svg"===n?Jk:"math"===n?"math":null}(_));let w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let C=null;null!==y&&(C=Sy(y,s,!0));const D=Ny(0,null,null,1,0,null,null,null,null,null,null),M=Wp(null,D,null,w,null,null,p,f,s,null,C);let I,P;Sv(M);try{const F=this.componentDef;let L,K=null;F.findHostDirectiveDefs?(L=[],K=new Map,F.findHostDirectiveDefs(F,L,K),L.push(F)):L=[F];const Q=function qH(t,n){const e=t[de],i=et;return t[i]=n,pc(e,i,2,"#host",null)}(M,y),oe=function YH(t,n,e,i,o,r,s){const a=o[de];!function ZH(t,n,e,i){for(const o of t)n.mergedAttrs=Zd(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Kp(n,n.mergedAttrs,!0),null!==e&&AD(i,e,n))}(i,t,n,s);let l=null;null!==n&&(l=Sy(n,o[Mn]));const u=r.rendererFactory.createRenderer(n,e);let m=16;e.signals?m=4096:e.onPush&&(m=64);const p=Wp(o,mS(e),null,m,o[t.index],t,r,u,null,null,l);return a.firstCreatePass&&Vy(a,t,i.length-1),Gp(o,p),o[t.index]=p}(Q,y,F,L,M,p,f);P=tu(D,et),y&&function QH(t,n,e,i){if(i)uv(t,e,["ng-version","17.0.8"]);else{const{attrs:o,classes:r}=function bB(t){const n=[],e=[];let i=1,o=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===o?""!==r&&n.push(r,t[++i]):8===o&&e.push(r);else{if(!Io(o))break;o=r}i++}return{attrs:n,classes:e}}(n.selectors[0]);o&&uv(t,e,o),r&&r.length>0&&ID(t,e,r.join(" "))}}(f,F,y,i),void 0!==e&&function XH(t,n,e){const i=t.projection=[];for(let o=0;o<n.length;o++){const r=e[o];i.push(null!=r?Array.from(r):null)}}(P,this.ngContentSelectors,e),I=function KH(t,n,e,i,o,r){const s=Nt(),a=o[de],l=Dn(s,o);_S(a,o,s,e,null,i);for(let m=0;m<e.length;m++)bn(ka(o,a,s.directiveStart+m,s),o);bS(a,o,s),l&&bn(l,o);const u=ka(o,a,s.directiveStart+s.componentOffset,s);if(t[$t]=o[$t]=u,null!==r)for(const m of r)m(u,n);return Ry(a,s,t),u}(oe,F,L,K,M,[JH]),Yy(D,M,null)}finally{Ev()}return new GH(this.componentType,I,mc(P,M),M,P)}}class GH extends bz{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Du(o,void 0,!1),this.componentType=n}setInput(n,e){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;const r=this._rootLView;jy(r[de],r,o,n,e),this.previousInputValues.set(n,e),Mu(io(this._tNode.index,r))}}get injector(){return new Wi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function JH(){const t=Nt();sp(q()[de],t)}function Y(t){let n=function VS(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let o;if(Oo(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new $(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);const s=t;s.inputs=Qp(t.inputs),s.inputTransforms=Qp(t.inputTransforms),s.declaredInputs=Qp(t.declaredInputs),s.outputs=Qp(t.outputs);const a=o.hostBindings;a&&nj(t,a);const l=o.viewQuery,u=o.contentQueries;if(l&&tj(t,l),u&&ij(t,u),Gm(t.inputs,o.inputs),Gm(t.declaredInputs,o.declaredInputs),Gm(t.outputs,o.outputs),null!==o.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),Gm(s.inputTransforms,o.inputTransforms)),Oo(o)&&o.data.animation){const m=t.data;m.animation=(m.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(t),a===Y&&(e=!1)}}n=Object.getPrototypeOf(n)}!function ej(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Zd(o.hostAttrs,e=Zd(e,o.hostAttrs))}}(i)}function Qp(t){return t===Yo?{}:t===Mt?[]:t}function tj(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function ij(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function nj(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function $S(t){const n=t.inputConfig,e={};for(const i in n)if(n.hasOwnProperty(i)){const o=n[i];Array.isArray(o)&&o[2]&&(e[i]=o[2])}t.inputTransforms=e}function sr(t,n,e){return t[n]=e}function Eu(t,n){return t[n]}function Li(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function Pa(t,n,e,i){const o=Li(t,n,e);return Li(t,n+1,i)||o}function vo(t,n,e,i,o,r){const s=Pa(t,n,e,i);return Pa(t,n+2,o,r)||s}function ke(t,n,e,i){const o=q();return Li(o,er(),n)&&(vt(),rr(Qt(),o,t,n,e,i)),ke}function gc(t,n,e,i){return Li(t,er(),e)?n+Xe(e)+i:tt}function _c(t,n,e,i,o,r){const a=Pa(t,function Nr(){return Ze.lFrame.bindingIndex}(),e,o);return Br(2),a?n+Xe(e)+i+Xe(o)+r:tt}function Jp(t,n){return t<<17|n<<2}function Vs(t){return t>>17&32767}function Zy(t){return 2|t}function Oa(t){return(131068&t)>>2}function Ky(t,n){return-131069&t|n<<2}function Qy(t){return 1|t}function JS(t,n,e,i,o){const r=t[e+1],s=null===n;let a=i?Vs(r):Oa(r),l=!1;for(;0!==a&&(!1===l||s);){const m=t[a+1];pj(t[a],n)&&(l=!0,t[a+1]=i?Qy(m):Zy(m)),a=i?Vs(m):Oa(m)}l&&(t[e+1]=i?Zy(r):Qy(r))}function pj(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&nc(t,n)>=0}const qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function eE(t){return t.substring(qi.key,qi.keyEnd)}function fj(t){return t.substring(qi.value,qi.valueEnd)}function tE(t,n){const e=qi.textEnd;return e===n?-1:(n=qi.keyEnd=function bj(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}(t,qi.key=n,e),kc(t,n,e))}function iE(t,n){const e=qi.textEnd;let i=qi.key=kc(t,n,e);return e===i?-1:(i=qi.keyEnd=function vj(t,n,e){let i;for(;n<e&&(45===(i=t.charCodeAt(n))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=oE(t,i,e),i=qi.value=kc(t,i,e),i=qi.valueEnd=function yj(t,n,e){let i=-1,o=-1,r=-1,s=n,a=s;for(;s<e;){const l=t.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=rE(t,l,s,e):n===s-4&&85===r&&82===o&&76===i&&40===l?a=s=rE(t,41,s,e):l>32&&(a=s),r=o,o=i,i=-33&l}return a}(t,i,e),oE(t,i,e))}function nE(t){qi.key=0,qi.keyEnd=0,qi.value=0,qi.valueEnd=0,qi.textEnd=t.length}function kc(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function oE(t,n,e,i){return(n=kc(t,n,e))<e&&n++,n}function rE(t,n,e,i){let o=-1,r=e;for(;r<i;){const s=t.charCodeAt(r++);if(s==n&&92!==o)return r;o=92==s&&92===o?0:s}throw new Error}function k(t,n,e){const i=q();return Li(i,er(),n)&&lo(vt(),Qt(),i,t,n,i[Je],e,!1),k}function Xy(t,n,e,i,o){const s=o?"class":"style";jy(t,e,n.inputs[s],s,i)}function yo(t,n,e){return Lo(t,n,e,!1),yo}function je(t,n){return Lo(t,n,null,!0),je}function wj(t,n){for(let e=function _j(t){return nE(t),iE(t,kc(t,0,qi.textEnd))}(n);e>=0;e=iE(n,e))lE(t,eE(n),fj(n))}function Ke(t){No(Sj,lr,t,!0)}function lr(t,n){for(let e=function gj(t){return nE(t),tE(t,kc(t,0,qi.textEnd))}(n);e>=0;e=tE(n,e))no(t,eE(n),!0)}
vendor: 5,519 bytes, line 1
1function Lo(t,n,e,i){const o=q(),r=vt(),s=Br(2);r.firstUpdatePass&&aE(r,t,s,i),n!==tt&&Li(o,s,n)&&cE(r,r.data[_n()],o,o[Je],t,o[s+1]=function Tj(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Fi(ao(t)))),t}(n,e),i,s)}function No(t,n,e,i){const o=vt(),r=Br(2);o.firstUpdatePass&&aE(o,null,r,i);const s=q();if(e!==tt&&Li(s,r,e)){const a=o.data[_n()];if(uE(a,i)&&!sE(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Xb(l,e||"")),Xy(o,a,s,e,i)}else!function Ej(t,n,e,i,o,r,s,a){o===tt&&(o=Mt);let l=0,u=0,m=0<o.length?o[0]:null,p=0<r.length?r[0]:null;for(;null!==m||null!==p;){const f=l<o.length?o[l+1]:void 0,_=u<r.length?r[u+1]:void 0;let w,y=null;m===p?(l+=2,u+=2,f!==_&&(y=p,w=_)):null===p||null!==m&&m<p?(l+=2,y=m):(u+=2,y=p,w=_),null!==y&&cE(t,n,e,i,y,w,s,a),m=l<o.length?o[l]:null,p=u<r.length?r[u]:null}}(o,a,s,s[Je],s[r+1],s[r+1]=function Dj(t,n,e){if(null==e||""===e)return Mt;const i=[],o=ao(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else"string"==typeof o&&n(i,o);return i}(t,n,e),i,r)}}function sE(t,n){return n>=t.expandoStartIndex}function aE(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[_n()],s=sE(t,e);uE(r,i)&&null===n&&!s&&(n=!1),n=function xj(t,n,e,i){const o=Mv(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=Tu(e=Jy(null,t,n,e,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==o)if(e=Jy(o,t,n,e,i),null===r){let l=function Cj(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Oa(i))return t[Vs(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=Jy(null,t,n,l[1],i),l=Tu(l,n.attrs,i),function kj(t,n,e,i){t[Vs(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else r=function Mj(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++)i=Tu(i,t[r].hostAttrs,e);return Tu(i,n.attrs,e)}(t,n,i)}return void 0!==r&&(i?n.residualClasses=r:n.residualStyles=r),e}(o,r,n,i),function hj(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Vs(s),l=Oa(s);t[i]=e;let m,u=!1;if(Array.isArray(e)?(m=e[1],(null===m||nc(e,m)>0)&&(u=!0)):m=e,o)if(0!==l){const f=Vs(t[a+1]);t[i+1]=Jp(f,a),0!==f&&(t[f+1]=Ky(t[f+1],i)),t[a+1]=function dj(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Jp(a,0),0!==a&&(t[a+1]=Ky(t[a+1],i)),a=i;else t[i+1]=Jp(l,0),0===a?a=i:t[l+1]=Ky(t[l+1],i),l=i;u&&(t[i+1]=Zy(t[i+1])),JS(t,m,i,!0),JS(t,m,i,!1),function mj(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&nc(r,n)>=0&&(e[i+1]=Qy(e[i+1]))}(n,m,t,i,r),s=Jp(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,e,s,i)}}function Jy(t,n,e,i,o){let r=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(r=n[a],i=Tu(i,r.hostAttrs,o),r!==t);)a++;return null!==t&&(e.directiveStylingLast=a),i}function Tu(t,n,e){const i=e?1:2;let o=-1;if(null!==n)for(let r=0;r<n.length;r++){const s=n[r];"number"==typeof s?o=s:o===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),no(t,s,!!e||n[++r]))}return void 0===t?null:t}function lE(t,n,e){no(t,n,ao(e))}function Sj(t,n,e){const i=String(n);""!==i&&!i.includes(" ")&&no(t,i,e)}function cE(t,n,e,i,o,r,s,a){if(!(3&n.type))return;const l=t.data,u=l[a+1],m=function uj(t){return 1==(1&t)}(u)?dE(l,n,e,o,Oa(u),s):void 0;ef(m)||(ef(r)||function cj(t){return 2==(2&t)}(u)&&(r=dE(l,null,e,o,a,s)),function OV(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=-1===i.indexOf("-")?void 0:Bs.DashCase;null==o?t.removeStyle(e,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Bs.Important),t.setStyle(e,i,o,r))}}(i,s,eu(_n(),e),o,r))}function dE(t,n,e,i,o,r){const s=null===n;let a;for(;o>0;){const l=t[o],u=Array.isArray(l),m=u?l[1]:l,p=null===m;let f=e[o+1];f===tt&&(f=p?Mt:void 0);let _=p?Bv(f,i):m===i?f:void 0;if(u&&!ef(_)&&(_=Bv(l,i)),ef(_)&&(a=_,s))return a;const y=t[o+1];o=s?Vs(y):Oa(y)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=Bv(l,i))}return a}function ef(t){return void 0!==t}function uE(t,n){return 0!=(t.flags&(n?8:16))}function Iu(t,n,e){No(no,lr,gc(q(),t,n,e),!0)}let _E=(t,n)=>null;function Mc(t,n){return _E(t,n)}class s${destroy(n){}updateValue(n,e){}swap(n,e){const i=Math.min(n,e),o=Math.max(n,e),r=this.detach(o);if(o-i>1){const s=this.detach(i);this.attach(i,r),this.attach(o,s)}else this.attach(i,r)}move(n,e){this.attach(e,this.detach(n))}}function s0(t,n,e,i,o){return t===e&&Object.is(n,i)?1:Object.is(o(t,n),o(e,i))?-1:0}function a0(t,n,e,i){return!(void 0===n||!n.has(i)||(t.attach(e,n.get(i)),n.delete(i),0))}function bE(t,n,e,i,o){if(a0(t,n,i,e(i,o)))t.updateValue(i,o);else{const r=t.create(i,o);t.attach(i,r)}}function vE(t,n,e,i){const o=new Set;for(let r=n;r<=e;r++)o.add(i(r,t.at(r)));return o}class yE{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const e=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(i);)i=o.get(i);o.set(i,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),void 0!==this._vMap){const o=this._vMap;for(;o.has(i);)i=o.get(i),n(i,e)}}}function Fu(t,n,e,i){const o=n.tView,a=Wp(t,o,e,4096&t[He]?4096:16,null,
1n,null,null,null,i?.injector??null,i?.dehydratedView??null);a[Qd]=t[n.index];const u=t[Zo];return null!==u&&(a[Zo]=u.createEmbeddedView(o)),Yy(o,a,e),a}function wE(t,n){const e=Di+n;if(e<t.length)return t[e]}function Dc(t,n){return!n||null===n.firstChild||Mp(t)}function Lu(t,n,e,i=!0){const o=n[de];if(function MV(t,n,e,i){const o=Di+i,r=e.length;i>0&&(e[o-1][Ao]=n),i<r-Di?(n[Ao]=e[o],PM(e,Di+i,n)):(e.push(n),n[Ao]=null),n[li]=e;const s=n[Qd];null!==s&&e!==s&&function DV(t,n){const e=t[Ul];n[pi]!==n[li][li][pi]&&(t[He]|=Wl.HasTransplantedViews),null===e?t[Ul]=[n]:e.push(n)}(s,n);const a=n[Zo];null!==a&&a.insertView(t),yv(n),n[He]|=128}(o,n,t,e),i){const s=hy(e,t),a=n[Je],l=Ip(a,t[Ko]);null!==l&&function xV(t,n,e,i,o,r){i[vi]=o,i[gn]=n,_u(t,i,e,1,o,r)}(o,t[gn],a,n,l,s)}const r=n[Po];null!==r&&null!==r.firstChild&&(r.firstChild=null)}function l0(t,n){const e=fu(t,n);return void 0!==e&&Tp(e[de],e),e}let yi=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=l$}return t})();function l$(){return kE(Nt(),q())}const c$=yi,xE=class extends c${constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return mc(this._hostTNode,this._hostLView)}get injector(){return new Wi(this._hostTNode,this._hostLView)}get parentInjector(){const n=up(this._hostTNode,this._hostLView);if(Av(n)){const e=su(n,this._hostLView),i=ru(n);return new Wi(e[de].data[i+8],e)}return new Wi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=CE(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-Di}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=Mc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,Dc(this._hostTNode,s)),a}createComponent(n,e,i,o,r){const s=n&&!function au(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const y=e||{};a=y.index,i=y.injector,o=y.projectableNodes,r=y.environmentInjector||y.ngModuleRef}const l=s?n:new Su(ut(n)),u=i||this.parentInjector;if(!r&&null==l.ngModule){const w=(s?u:this.parentInjector).get(oo,null);w&&(r=w)}const m=ut(l.componentType??{}),p=Mc(this._lContainer,m?.id??null),_=l.create(u,o,p?.firstChild??null,r);return this.insertImpl(_.hostView,a,Dc(this._hostTNode,p)),_}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){const o=n._lView;if(function RB(t){return en(t[li])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[li],u=new xE(l,l[gn],l[li]);u.detach(u.indexOf(n))}}const r=this._adjustIndex(e),s=this._lContainer;return Lu(s,o,r,i),n.attachToViewContainerRef(),PM(c0(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=CE(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=fu(this._lContainer,e);i&&(mp(c0(this._lContainer),e),Tp(i[de],i))}detach(n){const e=this._adjustIndex(n,-1),i=fu(this._lContainer,e);return i&&null!=mp(c0(this._lContainer),e)?new Du(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function CE(t){return t[8]}function c0(t){return t[8]||(t[8]=[])}function kE(t,n){let e;const i=n[t.index];return en(i)?e=i:(e=yS(i,n,null,t),n[t.index]=e,Gp(n,e)),ME(e,n,t,i),new xE(e,t,n)}let ME=function SE(t,n,e,i){if(t[Ko])return;let o;o=8&e.type?Ut(i):function d$(t,n){const e=t[Je],i=e.createComment(""),o=Dn(n,t);return Sa(e,Ip(e,o),i,function IV(t,n){return t.nextSibling(n)}(e,o),!1),i}(n,e),t[Ko]=o},d0=(t,n,e)=>!1;function T(t,n,e,i,o,r,s,a){const l=q(),u=vt(),m=t+et,p=u.firstCreatePass?function p$(t,n,e,i,o,r,s,a,l){const u=n.consts,m=pc(n,t,4,s||null,Xo(u,a));By(n,e,m,Xo(u,l)),sp(n,m);const p=m.tView=Ny(2,m,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u,null);return null!==n.queries&&(n.queries.template(n,m),p.queries=n.queries.embeddedTView(m)),m}(m,u,l,n,e,i,o,r,s):u.data[m];Jo(p,!1);const f=EE(u,l,p,t);rp()&&Ap(u,l,f,p),bn(f,l);const _=yS(f,l,f,p);return l[m]=_,Gp(l,_),function DE(t,n,e){return d0(t,n,e)}(_,p,l),np(p)&&Fy(u,l,p),null!=s&&Ly(l,p,a),T}let EE=function TE(t,n,e,i){return Ps(!0),n[Je].createComment("")};function U(t,n,e){Ia("NgControlFlow");const i=q(),o=er(),r=u0(i,et+t);if(Li(i,o,n)){const a=_i(null);
1try{if(l0(r,0),-1!==n){const l=h0(i[de],et+n),u=Mc(r,l.tView.ssrId);Lu(r,Fu(i,l,e,{dehydratedView:u}),0,Dc(l,u))}}finally{_i(a)}}else{const a=wE(r,0);void 0!==a&&(a[$t]=e)}}class _${constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Di}}function af(t){return t}function ci(t,n){return n}class b${constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}}function ft(t,n,e,i,o,r,s,a,l,u,m){Ia("NgControlFlow");const p=void 0!==l,f=q(),_=a?s.bind(f[pi][$t]):s,y=new b$(p,_);f[et+t]=y,T(t+1,n,e,i,o,r),p&&T(t+2,l,u,m)}class v$ extends s${constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Di}at(n){return this.getLView(n)[$t].$implicit}attach(n,e){const i=e[Po];this.needsIndexUpdate||=n!==this.length,Lu(this.lContainer,e,n,Dc(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function y$(t,n){return fu(t,n)}(this.lContainer,n)}create(n,e){const i=Mc(this.lContainer,this.templateTNode.tView.ssrId);return Fu(this.hostLView,this.templateTNode,new _$(this.lContainer,e,n),{dehydratedView:i})}destroy(n){Tp(n[de],n)}updateValue(n,e){this.getLView(n)[$t].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[$t].$index=n}getLView(n){return function w$(t,n){return wE(t,n)}(this.lContainer,n)}}function gt(t){const n=_i(null),e=_n();try{const i=q(),o=i[de],r=i[e];if(void 0===r.liveCollection){const a=e+1,l=u0(i,a),u=h0(o,a);r.liveCollection=new v$(l,i,u)}else r.liveCollection.reset();const s=r.liveCollection;if(function a$(t,n,e){let i,o,r=0,s=t.length-1;if(Array.isArray(n)){let a=n.length-1;for(;r<=s&&r<=a;){const l=t.at(r),u=n[r],m=s0(r,l,r,u,e);if(0!==m){m<0&&t.updateValue(r,u),r++;continue}const p=t.at(s),f=n[a],_=s0(s,p,a,f,e);if(0!==_){_<0&&t.updateValue(s,f),s--,a--;continue}const y=e(r,l),w=e(s,p),C=e(r,u);if(Object.is(C,w)){const D=e(a,f);Object.is(D,y)?(t.swap(r,s),t.updateValue(s,f),a--,s--):t.move(s,r),t.updateValue(r,u),r++}else if(i??=new yE,o??=vE(t,r,s,e),a0(t,i,r,C))t.updateValue(r,u),r++,s++;else if(o.has(C))i.set(y,t.detach(r)),s--;else{const D=t.create(r,n[r]);t.attach(r,D),r++,s++}}for(;r<=a;)bE(t,i,e,r,n[r]),r++}else if(null!=n){const a=n[Symbol.iterator]();let l=a.next();for(;!l.done&&r<=s;){const u=t.at(r),m=l.value,p=s0(r,u,r,m,e);if(0!==p)p<0&&t.updateValue(r,m),r++,l=a.next();else{i??=new yE,o??=vE(t,r,s,e);const f=e(r,m);if(a0(t,i,r,f))t.updateValue(r,m),r++,s++,l=a.next();else if(o.has(f)){const _=e(r,u);i.set(_,t.detach(r)),s--}else t.attach(r,t.create(r,m)),r++,s++,l=a.next()}}for(;!l.done;)bE(t,i,e,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));i?.forEach(a=>{t.destroy(a)})}(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){const a=er(),l=0===s.length;if(Li(i,a,l)){const u=e+2,m=u0(i,u);if(l){const p=h0(o,u),f=Mc(m,p.tView.ssrId);Lu(m,Fu(i,p,void 0,{dehydratedView:f}),0,Dc(p,f))}else l0(m,0)}}}finally{_i(n)}}function u0(t,n){return t[n]}function h0(t,n){return tu(t,n)}function c(t,n,e,i){const o=q(),r=vt(),s=et+t,a=o[Je],l=r.firstCreatePass?function X$(t,n,e,i,o,r){const s=n.consts,l=pc(n,t,2,i,Xo(s,o));return By(n,e,l,Xo(s,r)),null!==l.attrs&&Kp(l,l.attrs,!1),null!==l.mergedAttrs&&Kp(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,e,i):r.data[s],u=XE(r,o,l,a,n,t);o[s]=u;const m=np(l);return Jo(l,!0),AD(a,u,l),32!=(32&l.flags)&&rp()&&Ap(r,o,u,l),0===function LB(){return Ze.lFrame.elementDepthCount}()&&bn(u,o),function NB(){Ze.lFrame.elementDepthCount++}(),m&&(Fy(r,o,l),Ry(r,l,o)),null!==i&&Ly(o,l),c}function d(){let t=Nt();xv()?Cv():(t=t.parent,Jo(t,!1));const n=t;(function VB(t){return Ze.skipHydrationRootTNode===t})(n)&&function $B(){Ze.skipHydrationRootTNode=null}(),function BB(){Ze.lFrame.elementDepthCount--}();const e=vt();return e.firstCreatePass&&(sp(e,t),mv(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function i9(t){return 0!=(8&t.flags)}(n)&&Xy(e,n,q(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function n9(t){return 0!=(16&t.flags)}(n)&&Xy(e,n,q(),n.stylesWithoutHost,!1),d}function x(t,n,e,i){return c(t,n,e,i),d(),x}let XE=(t,n,e,i,o,r)=>(Ps(!0),Ep(i,o,function _M(){return Ze.lFrame.currentNamespace}()));function $n(t,n,e){const i=q(),o=vt(),r=t+et,s=o.firstCreatePass?function tU(t,n,e,i,o){const r=n.consts,s=Xo(r,i),a=pc(n,t,8,"ng-container",s);return null!==s&&Kp(a,s,!0),By(n,e,a,Xo(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,e):o.data[r];Jo(s,!0);const a=JE(o,i,s,t);return i[r]=a,rp()&&Ap(o,i,a,s),bn(a,i),np(s)&&(Fy(o,i,s),Ry(o,s,i)),null!=e&&Ly(i,s),$n}function Un(){let t=Nt();const n=vt();return xv()?Cv():(t=t.parent,Jo(t,!1)),n.firstCreatePass&&(sp(n,t),mv(t)&&n.queries.elementEnd(t)),Un}function Le(t,n,e){return $n(t,n,e),Un(),Le}let JE=(t,n,e,i)=>(Ps(!0),ly(n[Je],""));function Ne(){return q()}function En(t,n,e){const i=q();return Li(i,er(),n)&&lo(vt(),Qt(),i,t,n,i[Je],e,!0),En}function mf(t,n,e){const i=q();if(Li(i,er(),n)){const r=vt(),s=Qt();lo(r,s,i,t,n,kS(Mv(r.data),s,i),e,!0)}return mf}const Fa=void 0;var rU=["en",[["a","p"],["AM","PM"],Fa],[["AM","PM"],Fa,Fa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Fa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Fa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Fa,"{1} 'at' {0}",Fa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function oU(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Oc={};function Tn(t){const n=function sU(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=tT(n);if(e)return e;const i=n.split("-")[0];if(e=tT(i),e)return e;if("en"===i)return rU;throw new $(701,!1)}function tT(t){return t in Oc||(Oc[t]=jt.ng&&jt.ng.common&&jt.ng.common.locales&&jt.ng.common.locales[t]),Oc[t]}var Wt=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Wt||{});const Rc="en-US";let iT=Rc;function Wu(t){return!!t&&"function"==typeof t.then}function ST(t){return!!t&&"function"==typeof t.subscribe}function V(t,n,e,i){const o=q(),r=vt(),s=Nt();return ET(r,o,o[Je],s,t,n,i),V}function bf(t,n){const e=Nt(),i=q(),o=vt();return ET(o,i,kS(Mv(o.data),e,i),e,t,n),bf}function ET(t,n,e,i,o,r,s){const a=np(i),u=t.firstCreatePass&&CS(t),m=n[$t],p=xS(n);let f=!0;if(3&i.type||s){const w=Dn(i,n),C=s?s(w):w,D=p.length,M=s?P=>s(Ut(P[i.index])):i.index;let I=null;if(!s&&a&&(I=function eW(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===e&&o[r+1]===i){const a=n[Hl],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(t,n,o,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=r,I.__ngLastListenerFn__=r,f=!1;else{r=IT(i,n,m,r,!1);const P=e.listen(C,o,r);p.push(r,P),u&&u.push(o,M,D,D+1)}}else r=IT(i,n,m,r,!1);const _=i.outputs;let y;if(f&&null!==_&&(y=_[o])){const w=y.length;if(w)for(let C=0;C<w;C+=2){const F=n[y[C]][y[C+1]].subscribe(r),L=p.length;p.push(r,F),u&&u.push(o,i.index,L,-(L+1))}}}function TT(t,n,e,i){try{return Qo(6,n,e),!1!==e(i)}catch(o){return qp(t,o),!1}finally{Qo(7,n,e)}}function IT(t,n,e,i,o){return function r(s){if(s===Function)return i;Mu(t.componentOffset>-1?io(t.index,n):n);let l=TT(n,e,i,s),u=r.__ngNextListenerFn__;for(;u;)l=TT(n,e,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function S(t=1){return function ZB(t){return(Ze.lFrame.contextLView=function nM(t,n){for(;t>0;)n=n[jl],t--;return n}(t,Ze.lFrame.contextLView))[$t]}(t)}function tW(t,n){let e=null;const i=function hB(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o<n.length;o++){const r=n[o];if("*"!==r){if(null===i?zk(t,r,!0):fB(i,r))return o}else e=o}return e}function it(t){const n=q()[pi][gn];if(!n.projection){const i=n.projection=lu(t?t.length:1,null),o=i.slice();let r=n.child;for(;null!==r;){const s=t?tW(r,t):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function ge(t,n=0,e){const i=q(),o=vt(),r=pc(o,et+t,16,null,e||null);null===r.projection&&(r.projection=n),Cv(),(!i[Po]||ql())&&32!=(32&r.flags)&&function AV(t,n,e){TD(n[Je],0,n,e,dy(t,e,n),CD(e.parent||n[gn],e,n))}(o,i,r)}function C0(t,n,e){return cr(t,"",n,"",e),C0}function cr(t,n,e,i,o){const r=q(),s=gc(r,n,e,i);return s!==tt&&lo(vt(),Qt(),r,t,s,r[Je],o,!1),cr}
vendor: 13,172 bytes, line 1
1function mt(t){return Gl(function UB(){return Ze.lFrame.contextLView}(),et+t)}function VT(t,n,e){!function ar(t){No(lE,wj,t,!1)}(gc(q(),t,n,e))}function h(t,n=""){const e=q(),i=vt(),o=t+et,r=i.firstCreatePass?pc(i,o,1,n,null):i.data[o],s=ZT(i,e,r,n,t);e[o]=s,rp()&&Ap(i,e,s,r),Jo(r,!1)}let ZT=(t,n,e,i,o)=>(Ps(!0),function Sp(t,n){return t.createText(n)}(n[Je],i));function pe(t){return ce("",t,""),pe}function ce(t,n,e){const i=q(),o=gc(i,t,n,e);return o!==tt&&jr(i,_n(),o),ce}function dr(t,n,e,i,o){const r=q(),s=_c(r,t,n,e,i,o);return s!==tt&&jr(r,_n(),s),dr}function k0(t,n,e,i,o){if(t=We(t),Array.isArray(t))for(let r=0;r<t.length;r++)k0(t[r],n,e,i,o);else{const r=vt(),s=q(),a=Nt();let l=Da(t)?t:We(t.provide);const u=$M(t),m=1048575&a.providerIndexes,p=a.directiveStart,f=a.providerIndexes>>20;if(Da(t)||!t.multi){const _=new ou(u,o,v),y=D0(l,n,o?m:m+f,p);-1===y?(Rv(dp(a,s),r,l),M0(r,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(_),s.push(_)):(e[y]=_,s[y]=_)}else{const _=D0(l,n,m+f,p),y=D0(l,n,m,m+f),C=y>=0&&e[y];if(o&&!C||!o&&!(_>=0&&e[_])){Rv(dp(a,s),r,l);const D=function gW(t,n,e,i,o){const r=new ou(t,e,v);return r.multi=[],r.index=n,r.componentProviders=0,nI(r,o,i&&!e),r}(o?fW:pW,e.length,o,i,u);!o&&C&&(e[y].providerFactory=D),M0(r,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(D),s.push(D)}else M0(r,t,_>-1?_:y,nI(e[o?y:_],u,!o&&i));!o&&i&&C&&e[y].componentProviders++}}}function M0(t,n,e,i){const o=Da(n),r=function F9(t){return!!t.useClass}(n);if(o||r){const l=(r?We(n.useClass):n).prototype.ngOnDestroy;if(l){const u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const m=u.indexOf(e);-1===m?u.push(e,[i,l]):u[m+1].push(i,l)}else u.push(e,l)}}}function nI(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function D0(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function pW(t,n,e,i){return S0(this.multi,[])}function fW(t,n,e,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=ka(e,e[de],this.providerFactory.index,i);r=a.slice(0,s),S0(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],S0(o,r);return r}function S0(t,n){for(let e=0;e<t.length;e++)n.push((0,t[e])());return n}function Te(t,n=[]){return e=>{e.providersResolver=(i,o)=>function mW(t,n,e){const i=vt();if(i.firstCreatePass){const o=Oo(t);k0(e,i.data,i.blueprint,o,!0),k0(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class La{}class oI{}class E0 extends La{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new NS(this);const o=fn(n);this._bootstrapComponents=so(o.bootstrap),this._r3Injector=YM(n,e,[{provide:La,useValue:this},{provide:hc,useValue:this.componentFactoryResolver},...i],Fi(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class T0 extends oI{constructor(n){super(),this.moduleType=n}create(n){return new E0(this.moduleType,n,[])}}class rI extends La{constructor(n){super(),this.componentFactoryResolver=new NS(this),this.instance=null;const e=new rc([...n.providers,{provide:La,useValue:this},{provide:hc,useValue:this.componentFactoryResolver}],n.parent||vp(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function I0(t,n,e=null){return new rI({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let vW=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=VM(0,e.type),o=i.length>0?I0([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=G({token:t,providedIn:"environment",factory:()=>new t(R(oo))})}return t})();function z(t){Ia("NgStandalone"),t.getStandaloneInjector=n=>n.get(vW).getOrCreateStandaloneInjector(t)}function Be(t,n,e){const i=Sn()+t,o=q();return o[i]===tt?sr(o,i,e?n.call(e):n()):Eu(o,i)}function di(t,n,e,i){return fI(q(),Sn(),t,n,e,i)}function ur(t,n,e,i,o){return gI(q(),Sn(),t,n,e,i,o)}function wf(t,n,e,i,o,r){return function _I(t,n,e,i,o,r,s,a){const l=n+e;return function Xp(t,n,e,i,o){const r=Pa(t,n,e,i);return Li(t,n+2,o)||r}(t,l,o,r,s)?sr(t,l+3,a?i.call(a,o,r,s):i(o,r,s)):Gu(t,l+3)}(q(),Sn(),t,n,e,i,o,r)}function mI(t,n,e,i,o,r,s){return function bI(t,n,e,i,o,r,s,a,l){const u=n+e;return vo(t,u,o,r,s,a)?sr(t,u+4,l?i.call(l,o,r,s,a):i(o,r,s,a)):Gu(t,u+4)}(q(),Sn(),t,n,e,i,o,r,s)}function Gu(t,n){const e=t[n];return e===tt?void 0:e}function fI(t,n,e,i,o,r){const s=n+e;return Li(t,s,o)?sr(t,s+1,r?i.call(r,o):i(o)):Gu(t,s+1)}function gI(t,n,e,i,o,r,s){const a=n+e;return Pa(t,a,o,r)?sr(t,a+2,s?i.call(s,o,r):i(o,r)):Gu(t,a+2)}function ve(t,n){const e=vt();let i;const o=t+et;e.firstCreatePass?(i=function RW(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=xa(i.type)),a=zn(v);try{const l=cp(!1),u=r();return cp(l),function iW(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,q(),o,u),u}finally{zn(a)}}function Me(t,n,e){const i=t+et,o=q(),r=Gl(o,i);return qu(o,i)?fI(o,Sn(),n,r.transform,e,r):r.transform(e)}function Bo(t,n,e,i){const o=t+et,r=q(),s=Gl(r,o);return qu(r,o)?gI(r,Sn(),n,s.transform,e,i,s):s.transform(e,i)}function qu(t,n){return t[de].data[n].pure}function BW(){return this._results[Symbol.iterator]()}class Na{static#e=Symbol.iterator;get changes(){return this._changes??=new E}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const e=Na.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=BW)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;const i=function Hn(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function g9(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)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)}setDirty(){this.dirty=!0}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}let nt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=HW}return t})();const VW=nt,zW=class extends VW{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){const o=Fu(this._declarationLView,this._declarationTContainer,n,{injector:e,dehydratedView:i});return new Du(o)}};function HW(){return xf(Nt(),q())}function xf(t,n){return 4&t.type?new zW(n,t,mc(t,n)):null}class P0{constructor(n){this.queryList=n,this.matches=null}clone(){return new P0(this.queryList)}setDirty(){this.queryList.setDirty()}}class O0{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new O0(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)null!==kI(n,e).matches&&this.queries[e].setDirty()}}class yI{constructor(n,e,i=null){this.predicate=n,this.flags=e,this.read=i}}class R0{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){const o=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new R0(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class F0{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new F0(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(n,e,jW(e,r)),this.matchTNodeWithReadOption(n,e,hp(e,n,r,!1,!1))}else i===nt?4&e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,hp(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===be||o===yi||o===nt&&4&e.type)this.addMatch(e.index,-2);else{const r=hp(e,n,o,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)}}function jW(t,n){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];return null}function UW(t,n,e,i){return-1===e?function $W(t,n){return 11&t.type?mc(t,n):4&t.type?xf(t,n):null}(n,t):-2===e?function WW(t,n,e){return e===be?mc(n,t):e===nt?xf(n,t):e===yi?kE(n,t):void 0}(t,n,i):ka(t,t[de],e,n)}function wI(t,n,e,i){const o=n[Zo].queries[i];if(null===o.matches){const r=t.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:UW(n,r[u],s[l+1],e.metadata.read))}o.matches=a}return o.matches}function L0(t,n,e,i){const o=t.queries.getByIndex(e),r=o.matches;if(null!==r){const s=wI(t,n,o,e);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(s[a/2]);else{const u=r[a+1],m=n[-l];for(let p=Di;p<m.length;p++){const f=m[p];f[Qd]===f[li]&&L0(f[de],f,u,i)}if(null!==m[Ul]){const p=m[Ul];for(let f=0;f<p.length;f++){const _=p[f];L0(_[de],_,u,i)}}}}}return i}function H(t){const n=q(),e=vt(),i=uM();Dv(i+1);const o=kI(e,i);if(t.dirty&&function OB(t){return 4==(4&t[He])}(n)===(2==(2&o.metadata.flags))){if(null===o.matches)t.reset([]);else{const r=o.crossesNgTemplate?L0(e,n,i,[]):wI(e,n,o,i);t.reset(r,xz),t.notifyOnChanges()}return!0}return!1}function me(t,n,e){const i=vt();i.firstCreatePass&&(CI(i,new yI(t,n,e),-1),2==(2&n)&&(i.staticViewQueries=!0)),xI(i,q(),n)}function Ie(t,n,e,i){const o=vt();if(o.firstCreatePass){const r=Nt();CI(o,new yI(n,e,i),r.index),function qW(t,n){const e=t.contentQueries||(t.contentQueries=[]);n!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,n)}(o,t),2==(2&e)&&(o.staticContentQueries=!0)}xI(o,q(),e)}function j(){return function GW(t,n){return t[Zo].queries[n].queryList}(q(),uM())}function xI(t,n,e){const i=new Na(4==(4&e));(function Kz(t,n,e,i){const o=xS(n);o.push(e),t.firstCreatePass&&CS(t).push(i,o.length-1)})(t,n,i,i.destroy),null===n[Zo]&&(n[Zo]=new O0),n[Zo].queries.push(new P0(i))}function CI(t,n,e){null===t.queries&&(t.queries=new R0),t.queries.track(new F0(n,e))}function kI(t,n){return t.queries.getByIndex(n)}function Yi(t,n){return xf(t,n)}let zI=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();class fG{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let HI=(()=>{class t{compileModuleSync(e){return new T0(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=so(fn(e).declarations).reduce((s,a)=>
1{const l=ut(a);return l&&s.push(new Su(l)),s},[]);return new fG(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zu=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const GI=new B(""),Mf=new B("");let U0,j0=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,U0||(function zG(t){U0=t}(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||t)(R(ie),R($0),R(Mf))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),$0=(()=>{class t{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 U0?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const Df=new B("Application Initializer");let W0=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=Z(Df,{optional:!0})??[]}
1runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const r=o();if(Wu(r))e.push(r);else if(ST(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const G0=new B("appBootstrapListener");function ZI(t,n){return Array.isArray(n)?n.reduce(ZI,t):{...t,...n}}let Hs=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Z(rS),this.componentTypes=[],this.components=[],this.isStable=Z(Zu).hasPendingTasks.pipe(te(e=>!e)),this._injector=Z(oo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof qD;if(!this._injector.get(W0).done)throw!o&&function Is(t){const n=ut(t)||Ui(t)||ln(t);return null!==n&&n.standalone}(e),new $(405,!1);let s;s=o?e:this._injector.get(hc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function jG(t){return t.isBoundToModule}(s)?void 0:this._injector.get(La),u=s.create(Xt.NULL,[],i||s.selector,a),m=u.location.nativeElement,p=u.injector.get(GI,null);return p?.registerApplication(m),u.onDestroy(()=>{this.detachView(u.hostView),Sf(this.components,u),p?.unregisterApplication(m)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new $(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Sf(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(G0,[]);[...this._bootstrapListeners,...i].forEach(o=>o(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),()=>Sf(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new $(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Sf(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let UG=(()=>{class t{constructor(){this.zone=Z(ie),this.applicationRef=Z(Hs)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function WG(){const t=Z(ie),n=Z(bo);return e=>t.runOutsideAngular(()=>n.handleError(e))}let qG=(()=>{class t{constructor(){this.subscription=new pt,this.initialized=!1,this.zone=Z(ie),this.pendingTasks=Z(Zu)}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(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();
1const hr=new B("LocaleId",{providedIn:"root",factory:()=>Z(hr,ht.Optional|ht.SkipSelf)||function YG(){return typeof $localize<"u"&&$localize.locale||Rc}()}),ZG=new B("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),q0=new B("PlatformDestroyListeners");let JI=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function VH(t="zone.js",n){return"noop"===t?new NH:"zone.js"===t?new ie(n):t}(i?.ngZone,function XI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function bW(t,n,e){return new E0(t,n,e)}(e.moduleType,this.injector,function QI(t){return[{provide:ie,useFactory:t},{provide:Ma,multi:!0,useFactory:()=>{const n=Z(UG,{optional:!0});return()=>n.initialize()}},{provide:Ma,multi:!0,useFactory:()=>{const n=Z(qG);return()=>{n.initialize()}}},{provide:rS,useFactory:WG}]}(()=>o)),s=r.injector.get(bo,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});r.onDestroy(()=>{Sf(this._modules,r),a.unsubscribe()})}),function YI(t,n,e){try{const i=e();return Wu(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(s,o,()=>{const a=r.injector.get(W0);return a.runInitializers(),a.donePromise.then(()=>(function nT(t){Vn(t,"Expected localeId to be defined"),"string"==typeof t&&(iT=t.toLowerCase().replace(/_/g,"-"))}(r.injector.get(hr,Rc)||Rc),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,i=[]){const o=ZI({},i);return function HG(t,n,e){const i=new T0(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(Hs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new $(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(q0,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||t)(R(Xt))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),js=null;const eA=new B("AllowMultipleToken");function tA(t,n,e=[]){const i=`Platform: ${n}`,o=new B(i);return(r=[])=>{let s=Y0();if(!s||s.injector.get(eA,!1)){const a=[...e,...r,{provide:o,useValue:!0}];t?t(a):function QG(t){if(js&&!js.get(eA,!1))throw new $(400,!1);(function qI(){!function D7(t){mk=t}(()=>{throw new $(600,!1)})})(),js=t;const n=t.get(JI);(function nA(t){t.get(KM,null)?.forEach(e=>e())})(t)}(function iA(t=[],n){return Xt.create({name:n,providers:[{provide:Wv,useValue:"platform"},{provide:q0,useValue:new Set([()=>js=null])},...t]})}(a,i))}return function XG(t){const n=Y0();if(!n)throw new $(401,!1);return n}()}}function Y0(){return js?.get(JI)??null}const oq=tA(null,"core",[]);let rq=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||t)(R(Hs))};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();function Bc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let o1=null;function $r(){return o1}class Oq{}const Ve=new B("DocumentToken");let r1=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(Fq),providedIn:"platform"})}return t})();const Rq=new B("Location Initialized");let Fq=(()=>{class t extends r1{constructor(){super(),this._doc=Z(Ve),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $r().getBaseHref(this._doc)}onPopState(e){const i=$r().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=$r().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,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function s1(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function DA(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Ur(t){return t&&"?"!==t[0]?"?"+t:t}let za=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(EA),providedIn:"root"})}return t})();const SA=new B("appBaseHref");let EA=(()=>{class t extends za{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Z(Ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return s1(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Ur(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+Ur(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+Ur(r));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#e=this.\u0275fac=function(i){return new(i||t)(R(r1),R(SA,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lq=(()=>{class t extends za{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=s1(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+Ur(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+Ur(r));0==s.length&&(s=this._platformLocation.pathname),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#e=this.\u0275fac=function(i){return new(i||t)(R(r1),R(SA,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),mr=(()=>{class t{constructor(e){this._subject=new E,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function Vq(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(DA(TA(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.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+Ur(i))}normalize(e){return t.stripTrailingSlash(function Bq(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,TA(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ur(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ur(i)),o)}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._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(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}static#e=this.normalizeQueryParams=Ur;static#t=this.joinWithSlash=s1;static#i=this.stripTrailingSlash=DA;static#n=this.\u0275fac=function(i){return new(i||t)(R(za))};static#o=this.\u0275prov=G({token:t,factory:()=>function Nq(){return new mr(R(za))}(),providedIn:"root"})}return t})();function TA(t){return t.replace(/\/index.html$/,"")}const IA={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Lf=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
vendor: 22,206 bytes, line 1
1ntific=3]="Scientific",t}(Lf||{}),Pn=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Pn||{}),Ht=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Ht||{}),co=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(co||{}),Ei=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(Ei||{});function Nf(t,n){return Co(Tn(t)[Wt.DateFormat],n)}function Bf(t,n){return Co(Tn(t)[Wt.TimeFormat],n)}function Vf(t,n){return Co(Tn(t)[Wt.DateTimeFormat],n)}function xo(t,n){const e=Tn(t),i=e[Wt.NumberSymbols][n];if(typeof i>"u"){if(n===Ei.CurrencyDecimal)return e[Wt.NumberSymbols][Ei.Decimal];if(n===Ei.CurrencyGroup)return e[Wt.NumberSymbols][Ei.Group]}return i}function AA(t){if(!t[Wt.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Wt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Co(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function l1(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const Jq=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ju={},eY=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Wr=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Wr||{}),Et=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(Et||{}),Tt=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(Tt||{});function tY(t,n,e,i){let o=function dY(t){if(RA(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[o,r=1,s=1]=t.split("-").map(a=>+a);return zf(o,r-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(Jq))return function uY(t){const n=new Date(0);let e=0,i=0;const o=t[8]?n.setUTCFullYear:n.setFullYear,r=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),o.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(n,s,a,l,u),n}(i)}const n=new Date(t);if(!RA(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=Gr(e,n)||n;let a,s=[];for(;n;){if(a=eY.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const m=s.pop();if(!m)break;n=m}}let l=o.getTimezoneOffset();i&&(l=OA(i,l),o=function cY(t,n,e){const i=e?-1:1,o=t.getTimezoneOffset();return function lY(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(OA(n,o)-o))}(o,i,!0));let u="";return s.forEach(m=>{const p=function aY(t){if(d1[t])return d1[t];let n;switch(t){case"G":case"GG":case"GGG":n=Gt(Tt.Eras,Ht.Abbreviated);break;case"GGGG":n=Gt(Tt.Eras,Ht.Wide);break;case"GGGGG":n=Gt(Tt.Eras,Ht.Narrow);break;case"y":n=Bi(Et.FullYear,1,0,!1,!0);break;case"yy":n=Bi(Et.FullYear,2,0,!0,!0);break;case"yyy":n=Bi(Et.FullYear,3,0,!1,!0);break;case"yyyy":n=Bi(Et.FullYear,4,0,!1,!0);break;case"Y":n=Uf(1);break;case"YY":n=Uf(2,!0);break;case"YYY":n=Uf(3);break;case"YYYY":n=Uf(4);break;case"M":case"L":n=Bi(Et.Month,1,1);break;case"MM":case"LL":n=Bi(Et.Month,2,1);break;case"MMM":n=Gt(Tt.Months,Ht.Abbreviated);break;case"MMMM":n=Gt(Tt.Months,Ht.Wide);break;case"MMMMM":n=Gt(Tt.Months,Ht.Narrow);break;case"LLL":n=Gt(Tt.Months,Ht.Abbreviated,Pn.Standalone);break;case"LLLL":n=Gt(Tt.Months,Ht.Wide,Pn.Standalone);break;case"LLLLL":n=Gt(Tt.Months,Ht.Narrow,Pn.Standalone);break;case"w":n=c1(1);break;case"ww":n=c1(2);break;case"W":n=c1(1,!0);break;case"d":n=Bi(Et.Date,1);break;case"dd":n=Bi(Et.Date,2);break;case"c":case"cc":n=Bi(Et.Day,1);break;case"ccc":n=Gt(Tt.Days,Ht.Abbreviated,Pn.Standalone);break;case"cccc":n=Gt(Tt.Days,Ht.Wide,Pn.Standalone);break;case"ccccc":n=Gt(Tt.Days,Ht.Narrow,Pn.Standalone);break;case"cccccc":n=Gt(Tt.Days,Ht.Short,Pn.Standalone);break;case"E":case"EE":case"EEE":n=Gt(Tt.Days,Ht.Abbreviated);break;case"EEEE":n=Gt(Tt.Days,Ht.Wide);break;case"EEEEE":n=Gt(Tt.Days,Ht.Narrow);break;case"EEEEEE":n=Gt(Tt.Days,Ht.Short);break;case"a":case"aa":case"aaa":n=Gt(Tt.DayPeriods,Ht.Abbreviated);break;case"aaaa":n=Gt(Tt.DayPeriods,Ht.Wide);break;case"aaaaa":n=Gt(Tt.DayPeriods,Ht.Narrow);break;case"b":case"bb":case"bbb":n=Gt(Tt.DayPeriods,Ht.Abbreviated,Pn.Standalone,!0);break;case"bbbb":n=Gt(Tt.DayPeriods,Ht.Wide,Pn.Standalone,!0);break;case"bbbbb":n=Gt(Tt.DayPeriods,Ht.Narrow,Pn.Standalone,!0);break;case"B":case"BB":case"BBB":n=Gt(Tt.DayPeriods,Ht.Abbreviated,Pn.Format,!0);break;case"BBBB":n=Gt(Tt.DayPeriods,Ht.Wide,Pn.Format,!0);break;case"BBBBB":n=Gt(Tt.DayPeriods,Ht.Narrow,Pn.Format,!0);break;case"h":n=Bi(Et.Hours,1,-12);break;case"hh":n=Bi(Et.Hours,2,-12);break;case"H":n=Bi(Et.Hours,1);break;case"HH":n=Bi(Et.Hours,2);break;case"m":n=Bi(Et.Minutes,1);break;case"mm":n=Bi(Et.Minutes,2);break;case"s":n=Bi(Et.Seconds,1);break;case"ss":n=Bi(Et.Seconds,2);break;case"S":n=Bi(Et.FractionalSeconds,1);break;case"SS":n=Bi(Et.FractionalSeconds,2);break;case"SSS":n=Bi(Et.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=jf(Wr.Short);break;case"ZZZZZ":n=jf(Wr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=jf(Wr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=jf(Wr.Long);break;default:return null}return d1[t]=n,n}(m);u+=p?p(o,e,l):"''"===m?"'":m.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function zf(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Gr(t,n){const e=function Hq(t){return Tn(t)[Wt.LocaleId]}(t);if(Ju[e]=Ju[e]||{},Ju[e][n])return Ju[e][n];let i="";switch(n){case"shortDate":i=Nf(t,co.Short);break;case"mediumDate":i=Nf(t,co.Medium);break;case"longDate":i=Nf(t,co.Long);break;case"fullDate":i=Nf(t,co.Full);break;case"shortTime":i=Bf(t,co.Short);break;case"mediumTime":i=Bf(t,co.Medium);break;case"longTime":i=Bf(t,co.Long);break;case"fullTime":i=Bf(t,co.Full);break;case"short":const o=Gr(t,"shortTime"),r=Gr(t,"shortDate");i=Hf(Vf(t,co.Short),[o,r]);break;case"medium":const s=Gr(t,"mediumTime"),a=Gr(t,"mediumDate");i=Hf(Vf(t,co.Medium),[s,a]);break;case"long":const l=Gr(t,"longTime"),u=Gr(t,"longDate");i=Hf(Vf(t,co.Long),[l,u]);break;case"full":const m=Gr(t,"fullTime"),p=Gr(t,"fullDate");i=Hf(Vf(t,co.Full),[m,p])}return i&&(Ju[e][n]=i),i}function Hf(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Vo(t,n,e="-",i,o){let r="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,r=e));let s=String(t);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),r+s}function Bi(t,n,e=0,i=!1,o=!1){return function(r,s){let a=function nY(t,n){switch(t){case Et.FullYear:return n.getFullYear();case Et.Month:return n.getMonth();case Et.Date:return n.getDate();case Et.Hours:return n.getHours();case Et.Minutes:return n.getMinutes();case Et.Seconds:return n.getSeconds();case Et.FractionalSeconds:return n.getMilliseconds();case Et.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((e>0||a>-e)&&(a+=e),t===Et.Hours)0===a&&-12===e&&(a=12);else if(t===Et.FractionalSeconds)return function iY(t,n){return Vo(t,3).substring(0,n)}(a,n);const l=xo(s,Ei.MinusSign);return Vo(a,n,l,i,o)}}function Gt(t,n,e=Pn.Format,i=!1){return function(o,r){return function oY(t,n,e,i,o,r){switch(e){case Tt.Months:return function Uq(t,n,e){const i=Tn(t),r=Co([i[Wt.MonthsFormat],i[Wt.MonthsStandalone]],n);return Co(r,e)}(n,o,i)[t.getMonth()];case Tt.Days:return function $q(t,n,e){const i=Tn(t),r=Co([i[Wt.DaysFormat],i[Wt.DaysStandalone]],n);return Co(r,e)}(n,o,i)[t.getDay()];case Tt.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(r){const u=function Yq(t){const n=Tn(t);return AA(n),(n[Wt.ExtraData][2]||[]).map(i=>"string"==typeof i?l1(i):[l1(i[0]),l1(i[1])])}(n),m=function Zq(t,n,e){const i=Tn(t);AA(i);const r=Co([i[Wt.ExtraData][0],i[Wt.ExtraData][1]],n)||[];return Co(r,e)||[]}(n,o,i),p=u.findIndex(f=>{if(Array.isArray(f)){const[_,y]=f,w=s>=_.hours&&a>=_.minutes,C=s<y.hours||s===y.hours&&a<y.minutes;if(_.hours<y.hours){if(w&&C)return!0}else if(w||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(-1!==p)return m[p]}return function jq(t,n,e){const i=Tn(t),r=Co([i[Wt.DayPeriodsFormat],i[Wt.DayPeriodsStandalone]],n);return Co(r,e)}(n,o,i)[s<12?0:1];case Tt.Eras:return function Wq(t,n){return Co(Tn(t)[Wt.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(o,r,t,n,e,i)}}function jf(t){return function(n,e,i){const o=-1*i,r=xo(e,Ei.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Wr.Short:return(o>=0?"+":"")+Vo(s,2,r)+Vo(Math.abs(o%60),2,r);case Wr.ShortGMT:return"GMT"+(o>=0?"+":"")+Vo(s,1,r);case Wr.Long:return"GMT"+(o>=0?"+":"")+Vo(s,2,r)+":"+Vo(Math.abs(o%60),2,r);case Wr.Extended:return 0===i?"Z":(o>=0?"+":"")+Vo(s,2,r)+":"+Vo(Math.abs(o%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}const rY=0,$f=4;function PA(t){return zf(t.getFullYear(),t.getMonth(),t.getDate()+($f-t.getDay()))}function c1(t,n=!1){return function(e,i){let o;if(n){const r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();o=1+Math.floor((s+r)/7)}else{const r=PA(e),s=function sY(t){const n=zf(t,rY,1).getDay();return zf(t,0,1+(n<=$f?$f:$f+7)-n)}(r.getFullYear()),a=r.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Vo(o,t,xo(i,Ei.MinusSign))}}function Uf(t,n=!1){return function(e,i){return Vo(PA(e).getFullYear(),t,xo(i,Ei.MinusSign),n)}}const d1={};function OA(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function RA(t){return t instanceof Date&&!isNaN(t.valueOf())}const hY=/^(\d+)?\.((\d+)(-(\d+))?)?$/,FA=22,Wf=".",eh="0",mY=";",pY=",",u1="#";function gY(t,n,e,i,o){const s=function m1(t,n="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(mY),o=i[0],r=i[1],s=-1!==o.indexOf(Wf)?o.split(Wf):[o.substring(0,o.lastIndexOf(eh)+1),o.substring(o.lastIndexOf(eh)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(u1));for(let m=0;m<l.length;m++){const p=l.charAt(m);p===eh?e.minFrac=e.maxFrac=m+1:p===u1?e.maxFrac=m+1:e.posSuf+=p}const u=a.split(pY);if(e.gSize=u[1]?u[1].length:0,e.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,r){const m=o.length-e.posPre.length-e.posSuf.length,p=r.indexOf(u1);e.negPre=r.substring(0,p).replace(/'/g,""),e.negSuf=r.slice(p+m).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}(function a1(t,n){return Tn(t)[Wt.NumberFormats][n]}(n,Lf.Currency),xo(n,Ei.MinusSign));return s.minFrac=function Xq(t){let n;const e=IA[t];return e&&(n=e[2]),"number"==typeof n?n:2}(i),s.maxFrac=s.minFrac,function h1(t,n,e,i,o,r,s=!1){let a="",l=!1;if(isFinite(t)){let u=function yY(t){let i,o,r,s,a,n=Math.abs(t)+"",e=0;for((o=n.indexOf(Wf))>-1&&(n=n.replace(Wf,"")),(r=n.search(/e/i))>0?(o<0&&(o=r),o+=+n.slice(r+1),n=n.substring(0,r)):o<0&&(o=n.length),r=0;n.charAt(r)===eh;r++);if(r===(a=n.length))i=[0],o=1;else{for(a--;n.charAt(a)===eh;)a--;for(o-=r,i=[],s=0;r<=a;r++,s++)i[s]=Number(n.charAt(r))}return o>FA&&(i=i.splice(0,FA-1),e=o-1,o=1),{digits:i,exponent:e,integerLen:o}}(t);s&&(u=function vY(t){if(0===t.digits[0])return t;const n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(u));let m=n.minInt,p=n.minFrac,f=n.maxFrac;if(r){const M=r.match(hY);if(null===M)throw new Error(`${r} is not a valid digit info`);const I=M[1],P=M[3],F=M[5];null!=I&&(m=p1(I)),null!=P&&(p=p1(P)),null!=F?f=p1(F):null!=P&&p>f&&(f=p)}!function wY(t,n,e){if(n>e)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${e}).`);let i=t.digits,o=i.length-t.integerLen;const r=Math.min(Math.max(n,o),e);let s=r+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let p=s;p<i.length;p++)i[p]=0}else{o=Math.max(0,o),t.integerLen=1,i.length=Math.max(1,s=r+1),i[0]=0;for(let p=1;p<s;p++)i[p]=0}if(a>=5)if(s-1<0){for(let p=0;p>s;p--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;o<Math.max(0,r);o++)i.push(0);let l=0!==r;const u=n+t.integerLen,m=i.reduceRight(function(p,f,_,y){return y[_]=(f+=p)<10?f:f-10,l&&(0===y[_]&&_>=u?y.pop():l=!1),f>=10?1:0},0);m&&(i.unshift(m),t.integerLen++)}(u,p,f);let _=u.digits,y=u.integerLen;const w=u.exponent;let C=[];for(l=_.every(M=>!M);y<m;y++)_.unshift(0);for(;y<0;y++)_.unshift(0);y>0?C=_.splice(y,_.length):(C=_,_=[0]);const D=[];for(_.length>=n.lgSize&&D.unshift(_.splice(-n.lgSize,_.length).join(""));_.length>n.gSize;)D.unshift(_.splice(-n.gSize,_.length).join(""));_.length&&D.unshift(_.join("")),a=D.join(xo(e,i)),C.length&&(a+=xo(e,o)+C.join("")),w&&(a+=xo(e,Ei.Exponential)+"+"+w)}else a=xo(e,Ei.Infinity);return a=t<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(t,s,n,Ei.CurrencyGroup,Ei.CurrencyDecimal,o).replace("\xa4",e).replace("\xa4","").trim()}function p1(t){const n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}function BA(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const g1=/\s+/,VA=[];let Ti=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this.initialClasses=VA,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(g1):VA}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(g1):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 o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(g1).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Hr),v(xu),v(be),v(or))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return t})(),zA=(()=>{class t{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const i=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?function _W(t,n){return new E0(t,n??null,[])}(this.ngComponentOutletNgModule,HA(i)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(HA(i)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:i,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(const[i,o]of this._inputsUsed)o?(e.setInput(i,this.ngComponentOutletInputs[i]),this._inputsUsed.set(i,!1)):(e.setInput(i,void 0),this._inputsUsed.delete(i))}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Fe]})}return t})();function HA(t){return t.get(La).injector}class CY{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let th=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new CY(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),jA(a,o)}});for(let o=0,r=i.length;o<r;o++){const a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{jA(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi),v(nt),v(Hr))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function jA(t,n){t.context.$implicit=n.item}let Ki=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new kY,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$A("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$A("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi),v(nt))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class kY{constructor(){this.$implicit=null,this.ngIf=null}}function $A(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Fi(n)}'.`)}class _1{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let zc=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return t})(),Gf=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new _1(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi),v(nt),v(zc,9))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return t})(),At=(()=>
1{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,o),get:(e,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Fe]})}return t})();function zo(t,n){return new $(2100,!1)}class TY{createSubscription(n,e){return ZD(()=>n.subscribe({next:e,error:i=>{throw i}}))}dispose(n){ZD(()=>n.unsubscribe())}}class IY{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const AY=new IY,PY=new TY;let Vi=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Wu(e))return AY;if(ST(e))return PY;throw zo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt,16))};static#t=this.\u0275pipe=pn({name:"async",type:t,pure:!1,standalone:!0})}return t})();const BY=new B("DATE_PIPE_DEFAULT_TIMEZONE"),VY=new B("DATE_PIPE_DEFAULT_OPTIONS");let pr=(()=>{class t{constructor(e,i,o){this.locale=e,this.defaultTimezone=i,this.defaultOptions=o}transform(e,i,o,r){if(null==e||""===e||e!=e)return null;try{return tY(e,i??this.defaultOptions?.dateFormat??"mediumDate",r||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw zo()}}static#e=this.\u0275fac=function(i){return new(i||t)(v(hr,16),v(BY,24),v(VY,24))};static#t=this.\u0275pipe=pn({name:"date",type:t,pure:!0,standalone:!0})}return t})(),Ha=(()=>{class t{constructor(e,i="USD"){this._locale=e,this._defaultCurrencyCode=i}transform(e,i=this._defaultCurrencyCode,o="symbol",r,s){if(!function b1(t){return!(null==t||""===t||t!=t)}(e))return null;s=s||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=i||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function Kq(t,n,e="en"){const i=function Gq(t){return Tn(t)[Wt.Currencies]}(e)[t]||IA[t]||[],o=i[1];return"narrow"===n&&"string"==typeof o?o:i[0]||t}(a,"symbol"===o?"wide":"narrow",s):o);try{return gY(function v1(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}(e),s,a,i,r)}catch(l){throw zo()}}static#e=this.\u0275fac=function(i){return new(i||t)(v(hr,16),v(ZG,16))};static#t=this.\u0275pipe=pn({name:"currency",type:t,pure:!0,standalone:!0})}return t})();let ne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();const GA="browser";function ih(t){return t===GA}function y1(t){return"server"===t}let QY=(()=>{class t{static#e=this.\u0275prov=G({token:t,providedIn:"root",factory:()=>new XY(R(Ve),window)})}return t})();class XY{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function JY(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class qA{}
vendor: 4,535 bytes, line 1
1class xZ extends Oq{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class C1 extends xZ{static makeCurrent(){!function Pq(t){o1||(o1=t)}(new C1)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function CZ(){return oh=oh||document.querySelector("base"),oh?oh.getAttribute("href"):null}();return null==e?null:function kZ(t){return new URL(t,document.baseURI).pathname}(e)}resetBaseElement(){oh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return BA(document.cookie,n)}}let oh=null,DZ=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const k1=new B("EventManagerPlugins");let QA=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(r=>r.supports(e)),!i)throw new $(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||t)(R(k1),R(ie))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();class XA{constructor(n){this._doc=n}}const M1="ng-app-id";let JA=(()=>{class t{constructor(e,i,o,r={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=y1(r),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${M1}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const r=o.get(e);return r.usage+=i,r.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===e)return o.delete(i),r.removeAttribute(M1),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(M1,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){const o=this.getStyleElement(e,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(wp),R(Xv,8),R(ro))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const D1={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},S1=/%COMP%/g,IZ=new B("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function tP(t,n){return n.map(e=>e.replace(S1,t))}let E1=(()=>{class t{constructor(e,i,o,r,s,a,l,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=y1(a),this.defaultRenderer=new T1(e,s,l,this.platformIsServer)}
1createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===To.ShadowDom&&(i={...i,encapsulation:To.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof nP?o.applyToHost(e):o instanceof I1&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(i.encapsulation){case To.Emulated:r=new nP(l,u,i,this.appId,m,s,a,p);break;case To.ShadowDom:return new RZ(l,u,e,i,s,a,this.nonce,p);default:r=new I1(l,u,i,m,s,a,p)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||t)(R(QA),R(JA),R(wp),R(IZ),R(Ve),R(ro),R(ie),R(Xv))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();class T1{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(D1[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(iP(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(iP(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new $(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=D1[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=D1[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(Bs.DashCase|Bs.Important)?n.style.setProperty(e,i,o&Bs.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Bs.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){null!=n&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=$r().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function iP(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class RZ extends T1{constructor(n,e,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=tP(o.id,o.styles);for(const m of u){const p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=m,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class I1 extends T1{constructor(n,e,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?tP(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class nP extends I1{constructor(n,e,i,o,r,s,a,l){const u=o+"-"+i.id;super(n,e,i,r,s,a,l,u),this.contentAttr=function AZ(t){return"_ngcontent-%COMP%".replace(S1,t)}(u),this.hostAttr=function PZ(t){return"_nghost-%COMP%".replace(S1,t)}(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let FZ=(()=>{class t extends XA{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const oP=["alt","control","meta","shift"],LZ={"\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"},NZ={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let BZ=(()=>{class t extends XA{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$r().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),oP.forEach(u=>{const m=i.indexOf(u);m>-1&&(i.splice(m,1),s+=u+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=LZ[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),oP.forEach(s=>{s!==o&&(0,NZ[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const jZ=tA(oq,"browser",[{provide:ro,useValue:GA},{provide:KM,useValue:function VZ(){C1.makeCurrent()},multi:!0},{provide:Ve,useFactory:function HZ(){return function Z9(t){Qv=t}(document),document},deps:[]}]),$Z=new B(""),aP=[{provide:Mf,useClass:class MZ{addToWindow(n){jt.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new $(5103,!1);return r},jt.getAllAngularTestabilities=()=>n.getAllTestabilities(),jt.getAllAngularRootElements=()=>n.getAllRootElements(),jt.frameworkStabilizers||(jt.frameworkStabilizers=[]),jt.frameworkStabilizers.push(i=>{const o=jt.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?$r().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:GI,useClass:j0,deps:[ie,$0,Mf]},{provide:j0,useClass:j0,deps:[ie,$0,Mf]}],lP=[{provide:Wv,useValue:"root"},{provide:bo,useFactory:function zZ(){return new bo},deps:[]},{provide:k1,useClass:FZ,multi:!0,deps:[Ve,ie,ro]},{provide:k1,useClass:BZ,multi:!0,deps:[Ve]},E1,JA,QA,{provide:jp,useExisting:E1},{provide:qA,useClass:DZ,deps:[]},[]];let cP=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:wp,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||t)(R($Z,12))};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[...lP,...aP],imports:[ne,rq]})}return t})(),dP=(()=>{class t{constructor(e){this._doc=e,this._dom=$r()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((o,r)=>(r&&o.push(this._getOrCreateElement(r,i)),o),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);const o=this.getTag(i);return o?this._setMetaElementAttributes(e,o):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){const s=this._parseSelector(e),a=this.getTags(s).filter(l=>this._containsAttributes(e,l))[0];if(void 0!==a)return a}const o=this._dom.createElement("meta");return this._setMetaElementAttributes(e,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(o=>i.setAttribute(this._getMetaKeyMap(o),e[o])),i}_parseSelector(e){const i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(o=>i.getAttribute(this._getMetaKeyMap(o))===e[o])}_getMetaKeyMap(e){return WZ[e]||e}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:function(i){let o=null;return o=i?new i:function UZ(){return new dP(R(Ve))}(),o},providedIn:"root"})}return t})();const WZ={httpEquiv:"http-equiv"};let A1=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:function(i){let o=null;return o=i?new i:function GZ(){return new A1(R(Ve))}(),o},providedIn:"root"})}return t})();typeof window<"u"&&window;let Zf=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:function(i){let o=null;return o=i?new(i||t):R(mP),o},providedIn:"root"})}return t})(),mP=(()=>{class t extends Zf{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case nn.NONE:return i;case nn.HTML:return nr(i,"HTML")?ao(i):HD(this._doc,String(i)).toString();case nn.STYLE:return nr(i,"Style")?ao(i):i;case nn.SCRIPT:if(nr(i,"Script"))return ao(i);
vendor: 17,641 bytes, line 1
1throw new $(5200,!1);case nn.URL:return nr(i,"URL")?ao(i):Fp(String(i));case nn.RESOURCE_URL:if(nr(i,"ResourceURL"))return ao(i);throw new $(5201,!1);default:throw new $(5202,!1)}}bypassSecurityTrustHtml(e){return function UV(t){return new BV(t)}(e)}bypassSecurityTrustStyle(e){return function WV(t){return new VV(t)}(e)}bypassSecurityTrustScript(e){return function GV(t){return new zV(t)}(e)}bypassSecurityTrustUrl(e){return function qV(t){return new HV(t)}(e)}bypassSecurityTrustResourceUrl(e){return function YV(t){return new jV(t)}(e)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:function(i){let o=null;return o=i?new i:function KZ(t){return new mP(t.get(Ve))}(R(Xt)),o},providedIn:"root"})}return t})();function fP(t,n,e,i,o,r,s){try{var a=t[r](s),l=a.value}catch(u){return void e(u)}a.done?n(l):Promise.resolve(l).then(i,o)}function Ue(t){return function(){var n=this,e=arguments;return new Promise(function(i,o){var r=t.apply(n,e);function s(l){fP(r,i,o,s,a,"next",l)}function a(l){fP(r,i,o,s,a,"throw",l)}s(void 0)})}}function gP(t){return t&&kt(t.schedule)}function O1(t){return t[t.length-1]}function _P(t){return kt(O1(t))?t.pop():void 0}function rh(t){return gP(O1(t))?t.pop():void 0}function Us(t){return this instanceof Us?(this.v=t,this):new Us(t)}function wP(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function N1(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(u){r({value:u,done:a})},s)}(a,l,(s=t[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const B1=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function xP(t){return kt(t?.then)}function CP(t){return kt(t[Qb])}function kP(t){return Symbol.asyncIterator&&kt(t?.[Symbol.asyncIterator])}function MP(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const DP=function vK(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function SP(t){return kt(t?.[DP])}function EP(t){return function yP(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(_){return new Promise(function(y,w){r.push([f,_,y,w])>1||a(f,_)})})}function a(f,_){try{!function l(f){f.value instanceof Us?Promise.resolve(f.value.v).then(u,m):p(r[0][2],f)}(i[f](_))}catch(y){p(r[0][3],y)}}function u(f){a("next",f)}function m(f){a("throw",f)}function p(f,_){f(_),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Us(e.read());if(o)return yield Us(void 0);yield yield Us(i)}}finally{e.releaseLock()}})}function TP(t){return kt(t?.getReader)}function Gn(t){if(t instanceof Lt)return t;if(null!=t){if(CP(t))return function yK(t){return new Lt(n=>{const e=t[Qb]();if(kt(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(B1(t))return function wK(t){return new Lt(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}(t);if(xP(t))return function xK(t){return new Lt(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,vk)})}(t);if(kP(t))return IP(t);if(SP(t))return function CK(t){return new Lt(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(TP(t))return function kK(t){return IP(EP(t))}(t)}throw MP(t)}function IP(t){return new Lt(n=>{(function MK(t,n){var e,i,o,r;return function bP(t,n,e,i){return new(e||(e=Promise))(function(r,s){function a(m){try{u(i.next(m))}catch(p){s(p)}}function l(m){try{u(i.throw(m))}catch(p){s(p)}}function u(m){m.done?r(m.value):function o(r){return r instanceof e?r:new e(function(s){s(r)})}(m.value).then(a,l)}u((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=wP(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function qr(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function AP(t,n=0){return bi((e,i)=>{e.subscribe(ai(i,o=>qr(i,t,()=>i.next(o),n),()=>qr(i,t,()=>i.complete(),n),o=>qr(i,t,()=>i.error(o),n)))})}function PP(t,n=0){return bi((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function OP(t,n){if(!t)throw new Error("Iterable cannot be null");return new Lt(e=>{qr(e,n,()=>{const i=t[Symbol.asyncIterator]();qr(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function ae(t,n){return n?function AK(t,n){if(null!=t){if(CP(t))return function DK(t,n){return Gn(t).pipe(PP(n),AP(n))}(t,n);if(B1(t))return function EK(t,n){return new Lt(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(xP(t))return function SK(t,n){return Gn(t).pipe(PP(n),AP(n))}(t,n);if(kP(t))return OP(t,n);if(SP(t))return function TK(t,n){return new Lt(e=>{let i;return qr(e,n,()=>{i=t[DP](),qr(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void e.error(s)}r?e.complete():e.next(o)},0,!0)}),()=>kt(i?.return)&&i.return()})}(t,n);if(TP(t))return function IK(t,n){return OP(EP(t),n)}(t,n)}throw MP(t)}(t,n):Gn(t)}function xe(...t){return ae(t,rh(t))}function zi(t,n,e=1/0){return kt(n)?zi((i,o)=>te((r,s)=>n(i,r,o,s))(Gn(t(i,o))),e):("number"==typeof n&&(e=n),bi((i,o)=>function PK(t,n,e,i,o,r,s,a){const l=[];let u=0,m=0,p=!1;const f=()=>{p&&!l.length&&!u&&n.complete()},_=w=>u<i?y(w):l.push(w),y=w=>{r&&n.next(w),u++;let C=!1;Gn(e(w,m++)).subscribe(ai(n,D=>{o?.(D),r?_(D):n.next(D)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;l.length&&u<i;){const D=l.shift();s?qr(n,s,()=>y(D)):y(D)}f()}catch(D){n.error(D)}}))};return t.subscribe(ai(n,_,()=>{p=!0,f()})),()=>{a?.()}}(i,o,t,e)))}function Hc(t,n){return kt(n)?zi(t,n,1):zi(t,1)}function yt(t,n){return bi((e,i)=>{let o=0;e.subscribe(ai(i,r=>t.call(n,r,o++)&&i.next(r)))})}function jc(t){return bi((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function X(t,n){return bi((e,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();e.subscribe(ai(i,l=>{o?.unsubscribe();let u=0;const m=r++;Gn(t(l,m)).subscribe(o=ai(i,p=>i.next(n?n(l,p,m,u++):p),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class Kf{}class Qf{}class Qi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof Qi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new Qi;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Qi?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===r.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(n,e){const i=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class OK{encodeKey(n){return RP(n)}encodeValue(n){return RP(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const FK=/%(\d[a-f0-9])/gi,LK={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function RP(t){return encodeURIComponent(t).replace(FK,(n,e)=>LK[e]??n)}function Xf(t){return`${t}`}class Ws{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new OK,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function RK(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(Xf):[Xf(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Ws({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Xf(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(Xf(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class NK{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function FP(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function LP(t){return typeof Blob<"u"&&t instanceof Blob}function NP(t){return typeof FormData<"u"&&t instanceof FormData}class sh{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function BK(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers||(this.headers=new Qi),this.context||(this.context=new NK),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 Ws,this.urlWithParams=e}serializeBody(){return null===this.body?null:FP(this.body)||LP(this.body)||NP(this.body)||function VK(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ws?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||NP(this.body)?null:LP(this.body)?this.body.type||null:FP(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ws?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const e=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,u=n.params||this.params;const m=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((p,f)=>p.set(f,n.setHeaders[f]),l)),n.setParams&&(u=Object.keys(n.setParams).reduce((p,f)=>p.set(f,n.setParams[f]),u)),new sh(e,i,r,{params:u,headers:l,context:m,reportProgress:a,responseType:o,withCredentials:s})}}var Gs=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gs||{});class V1{constructor(n,e=200,i="OK"){this.headers=n.headers||new Qi,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Jf extends V1{constructor(n={}){super(n),this.type=Gs.ResponseHeader}clone(n={}){return new Jf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ja extends V1{constructor(n={}){super(n),this.type=Gs.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new ja({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class $c extends V1{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function z1(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}let Bt=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof sh)r=e;else{let l,u;l=o.headers instanceof Qi?o.headers:new Qi(o.headers),o.params&&(u=o.params instanceof Ws?o.params:new Ws({fromObject:o.params})),r=new sh(e,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=xe(r).pipe(Hc(l=>this.handler.handle(l)));if(e instanceof sh||"events"===o.observe)return s;const a=s.pipe(yt(l=>l instanceof ja));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(te(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(te(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(te(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(te(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}
1){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ws).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,z1(o,i))}post(e,i,o={}){return this.request("POST",e,z1(o,i))}put(e,i,o={}){return this.request("PUT",e,z1(o,i))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Kf))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function VP(t,n){return n(t)}function UK(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const zP=new B(""),ah=new B(""),HP=new B(""),jP=new B("");function GK(){let t=null;return(n,e)=>{null===t&&(t=(Z(zP,{optional:!0})??[]).reduceRight(UK,VP));const i=Z(Zu),o=i.add();return t(n,e).pipe(jc(()=>i.remove(o)))}}let $P=(()=>{class t extends Kf{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=Z(Zu);const o=Z(jP,{optional:!0});this.backend=o??e}handle(e){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ah),...this.injector.get(HP,[])]));this.chain=o.reduceRight((r,s)=>function WK(t,n,e){return(i,o)=>Os(e,()=>n(i,r=>t(r,o)))}(r,s,this.injector),VP)}const i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(jc(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Qf),R(oo))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const QK=/^\)\]\}',?\n/;let WP=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new $(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?ae(i.\u0275loadImpl()):xe(null)).pipe(X(()=>new Lt(r=>{const s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((w,C)=>s.setRequestHeader(w,C.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const w=e.detectContentTypeHeader();null!==w&&s.setRequestHeader("Content-Type",w)}if(e.responseType){const w=e.responseType.toLowerCase();s.responseType="json"!==w?w:"text"}const a=e.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const w=s.statusText||"OK",C=new Qi(s.getAllResponseHeaders()),D=function XK(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||e.url;return l=new Jf({headers:C,status:s.status,statusText:w,url:D}),l},m=()=>{let{headers:w,status:C,statusText:D,url:M}=u(),I=null;204!==C&&(I=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=I?200:0);let P=C>=200&&C<300;if("json"===e.responseType&&"string"==typeof I){const F=I;I=I.replace(QK,"");try{I=""!==I?JSON.parse(I):null}catch(L){I=F,P&&(P=!1,I={error:L,text:I})}}P?(r.next(new ja({body:I,headers:w,status:C,statusText:D,url:M||void 0})),r.complete()):r.error(new $c({error:I,headers:w,status:C,statusText:D,url:M||void 0}))},p=w=>{const{url:C}=u(),D=new $c({error:w,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});r.error(D)};let f=!1;const _=w=>{f||(r.next(u()),f=!0);let C={type:Gs.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(C.total=w.total),"text"===e.responseType&&s.responseText&&(C.partialText=s.responseText),r.next(C)},y=w=>{let C={type:Gs.UploadProgress,loaded:w.loaded};w.lengthComputable&&(C.total=w.total),r.next(C)};return s.addEventListener("load",m),s.addEventListener("error",p),s.addEventListener("timeout",p),s.addEventListener("abort",p),e.reportProgress&&(s.addEventListener("progress",_),null!==a&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),r.next({type:Gs.Sent}),()=>{s.removeEventListener("error",p),s.removeEventListener("abort",p),s.removeEventListener("load",m),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",_),null!==a&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||t)(R(qA))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const $1=new B("XSRF_ENABLED"),GP=new B("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),qP=new B("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class YP{}let tQ=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,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=BA(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(ro),R(GP))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function iQ(t,n){const e=t.url.toLowerCase();if(!Z($1)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Z(YP).getToken(),o=Z(qP);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var qs=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(qs||{});function nQ(...t){const n=[Bt,WP,$P,{provide:Kf,useExisting:$P},{provide:Qf,useExisting:WP},{provide:ah,useValue:iQ,multi:!0},{provide:$1,useValue:!0},{provide:YP,useClass:tQ}];for(const e of t)n.push(...e.\u0275providers);return function jv(t){return{\u0275providers:t}}(n)}const ZP=new B("LEGACY_INTERCEPTOR_FN");function oQ(){return function $a(t,n){return{\u0275kind:t,\u0275providers:n}}(qs.LegacyInterceptors,[{provide:ZP,useFactory:GK},{provide:ah,useExisting:ZP,multi:!0}])}let rQ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[nQ(oQ())]})}return t})();const{isArray:uQ}=Array,{getPrototypeOf:hQ,prototype:mQ,keys:pQ}=Object;function iO(t){if(1===t.length){const n=t[0];if(uQ(n))return{args:n,keys:null};if(function fQ(t){return t&&"object"==typeof t&&hQ(t)===mQ}(n)){const e=pQ(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:gQ}=Array;function U1(t){return te(n=>function _Q(t,n){return gQ(n)?t(...n):t(n)}(t,n))}function nO(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function oO(...t){const n=_P(t),{args:e,keys:i}=iO(t),o=new Lt(r=>{const{length:s}=e;if(!s)return void r.complete();const a=new Array(s);let l=s,u=s;for(let m=0;m<s;m++){let p=!1;Gn(e[m]).subscribe(ai(r,f=>{p||(p=!0,u--),a[m]=f},()=>l--,void 0,()=>{(!l||!p)&&(u||r.next(i?nO(i,a):a),r.complete())}))}});return n?o.pipe(U1(n)):o}let rO=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(or),v(be))};static#t=this.\u0275dir=N({type:t})}return t})(),Ua=(()=>{class t extends rO{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,features:[Y]})}return t})();const vn=new B("NgValueAccessor"),bQ={provide:vn,useExisting:bt(()=>W1),multi:!0};let W1=(()=>{class t extends Ua{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,o){1&i&&V("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Te([bQ]),Y]})}return t})();const vQ={provide:vn,useExisting:bt(()=>fr),multi:!0},wQ=new B("CompositionEventMode");let fr=(()=>{class t extends rO{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function yQ(){const t=$r()?$r().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(or),v(be),v(wQ,8))};static#t=this.\u0275dir=N({type:t,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,o){1&i&&V("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Te([vQ]),Y]})}return t})();function Ys(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function sO(t){return null!=t&&"number"==typeof t.length}const on=new B("NgValidators"),Zs=new B("NgAsyncValidators"),xQ=/^(?=.{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 Ae{static min(n){return function aO(t){return n=>{if(Ys(n.value)||Ys(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}(n)}static max(n){return function lO(t){return n=>{if(Ys(n.value)||Ys(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return cO(n)}static requiredTrue(n){return function dO(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function uO(t){return Ys(t.value)||xQ.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function hO(t){return n=>Ys(n.value)||!sO(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function mO(t){return n=>sO(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function pO(t){if(!t)return tg;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>
1{if(Ys(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return yO(n)}static composeAsync(n){return wO(n)}}function cO(t){return Ys(t.value)?{required:!0}:null}function tg(t){return null}function fO(t){return null!=t}function gO(t){return Wu(t)?ae(t):t}function _O(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function bO(t,n){return n.map(e=>e(t))}function vO(t){return t.map(n=>function CQ(t){return!t.validate}(n)?n:e=>n.validate(e))}function yO(t){if(!t)return null;const n=t.filter(fO);return 0==n.length?null:function(e){return _O(bO(e,n))}}function G1(t){return null!=t?yO(vO(t)):null}function wO(t){if(!t)return null;const n=t.filter(fO);return 0==n.length?null:function(e){return oO(bO(e,n).map(gO)).pipe(te(_O))}}function q1(t){return null!=t?wO(vO(t)):null}function xO(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function CO(t){return t._rawValidators}function kO(t){return t._rawAsyncValidators}function Y1(t){return t?Array.isArray(t)?t:[t]:[]}function ig(t,n){return Array.isArray(t)?t.includes(n):t===n}function MO(t,n){const e=Y1(n);return Y1(t).forEach(o=>{ig(e,o)||e.push(o)}),e}function DO(t,n){return Y1(n).filter(e=>!ig(t,e))}class SO{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=G1(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=q1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class On extends SO{get formDirective(){return null}get path(){return null}}class gr extends SO{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class EO{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Yr=(()=>{class t extends EO{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(gr,2))};static#t=this.\u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&je("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]})}return t})(),Zr=(()=>
1{class t extends EO{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(On,10))};static#t=this.\u0275dir=N({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&je("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Y]})}return t})();const lh="VALID",og="INVALID",Uc="PENDING",ch="DISABLED";function Q1(t){return(rg(t)?t.validators:t)||null}function X1(t,n){return(rg(n)?n.asyncValidators:t)||null}function rg(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function IO(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new $(1e3,"");if(!i[e])throw new $(1001,"")}function AO(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new $(1002,"")})}class sg{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===lh}get invalid(){return this.status===og}get pending(){return this.status==Uc}get disabled(){return this.status===ch}get enabled(){return this.status!==ch}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(MO(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(MO(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(DO(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(DO(n,this._rawAsyncValidators))}hasValidator(n){return ig(this._rawValidators,n)}hasAsyncValidator(n){return ig(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Uc,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=ch,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=lh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}
1){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===lh||this.status===Uc)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ch:lh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Uc,this._hasOwnPendingAsyncValidator=!0;const e=gO(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new E,this.statusChanges=new E}_calculateStatus(){return this._allControlsDisabled()?ch:this.errors?og:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Uc)?Uc:this._anyControlsHaveStatus(og)?og:lh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){rg(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function SQ(t){return Array.isArray(t)?G1(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function EQ(t){return Array.isArray(t)?q1(t):t||null}(this._rawAsyncValidators)}}class _r extends sg{constructor(n,e,i){super(Q1(e),X1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){AO(this,0,n),Object.keys(n).forEach(i=>{IO(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}
vendor: 3,724 bytes, line 1
1){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class PO extends _r{}const Wa=new B("CallSetDisabledState",{providedIn:"root",factory:()=>dh}),dh="always";function ag(t,n){return[...n.path,t]}function uh(t,n,e=dh){J1(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function IQ(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&OO(t,n)})}(t,n),function PQ(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function AQ(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&OO(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function TQ(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function lg(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),dg(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function cg(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function J1(t,n){const e=CO(t);null!==n.validator?t.setValidators(xO(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=kO(t);null!==n.asyncValidator?t.setAsyncValidators(xO(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();cg(n._rawValidators,o),cg(n._rawAsyncValidators,o)}function dg(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=CO(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(null!==n.asyncValidator){const o=kO(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}const i=()=>{};return cg(n._rawValidators,i),cg(n._rawAsyncValidators,i),e}function OO(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function RO(t,n){J1(t,n)}function tw(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}
1function FO(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function iw(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===fr?e=r:function FQ(t){return Object.getPrototypeOf(t.constructor)===Ua}(r)?i=r:o=r}),o||i||e||null}const NQ={provide:On,useExisting:bt(()=>Wc)},hh=(()=>Promise.resolve())();let Wc=(()=>{class t extends On{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new E,this.form=new _r({},G1(e),q1(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){hh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),uh(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){hh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){hh.then(()=>{const i=this._findContainer(e.path),o=new _r({});RO(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){hh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){hh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,FO(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(i){return new(i||t)(v(on,10),v(Zs,10),v(Wa,8))};static#t=this.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){1&i&&V("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Te([NQ]),Y]})}return t})();function LO(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function NO(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const De=class extends sg{constructor(n=null,e,i){super(Q1(e),X1(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rg(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=NO(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){LO(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){LO(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){NO(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let BO=(()=>{class t extends On{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ag(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,features:[Y]})}return t})(),Kr=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})(),$O=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();const nw=new B("NgModelWithFormControlWarning"),WQ={provide:gr,useExisting:bt(()=>Ga)};let Ga=(()=>{class t extends gr{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,s){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=s,this.update=new E,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=iw(0,o)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&lg(i,this,!1),uh(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}tw(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&lg(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#t=this.\u0275fac=function(i){return new(i||t)(v(on,10),v(Zs,10),v(vn,10),v(nw,8),v(Wa,8))};static#i=this.\u0275dir=N({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Te([WQ]),Y,Fe]})}return t})();const GQ={provide:On,useExisting:bt(()=>br)};let br=(()=>{class t extends On{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new E,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&&(dg(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 uh(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}
1removeControl(e){lg(e.control||null,e,!1),function LQ(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,FO(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(lg(i||null,e),(t=>t instanceof De)(o)&&(uh(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);RO(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function OQ(t,n){return dg(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J1(this.form,this),this._oldForm&&dg(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||t)(v(on,10),v(Zs,10),v(Wa,8))};static#t=this.\u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&V("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Te([GQ]),Y,Fe]})}return t})();const qQ={provide:On,useExisting:bt(()=>ow)};let ow=(()=>{class t extends BO{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){GO(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(v(On,13),v(on,10),v(Zs,10))};static#t=this.\u0275dir=N({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Te([qQ]),Y]})}return t})();const YQ={provide:On,useExisting:bt(()=>ug)};let ug=(()=>{class t extends On{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ag(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){GO(this._parent)}static#e=this.\u0275fac=function(i){return new(i||t)(v(On,13),v(on,10),v(Zs,10))};static#t=this.\u0275dir=N({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Te([YQ]),Y]})}return t})();function GO(t){return!(t instanceof ow||t instanceof br||t instanceof ug)}const ZQ={provide:gr,useExisting:bt(()=>Gc)};let Gc=(()=>{class t extends gr{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,o,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new E,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=iw(0,r)}ngOnChanges(e){this._added||this._setUpControl(),tw(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 ag(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||t)(v(On,13),v(on,10),v(Zs,10),v(vn,10),v(nw,8))};static#i=this.\u0275dir=N({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Te([ZQ]),Y,Fe]})}return t})();const KQ={provide:vn,useExisting:bt(()=>rw),multi:!0};function qO(t,n){return null==t?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let rw=(()=>{class t extends Ua{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const o=qO(this._getOptionId(e),e);this.setProperty("value",o)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){const i=function QQ(t){return t.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i):e}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){1&i&&V("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Te([KQ]),Y]})}return t})(),YO=(()=>{class t{constructor(e,i,o){this._element=e,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(qO(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(or),v(rw,9))};static#t=this.\u0275dir=N({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return t})();const XQ={provide:vn,useExisting:bt(()=>sw),multi:!0};function ZO(t,n){return null==t?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let sw=(()=>{class t extends Ua{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let i;if(this.value=e,Array.isArray(e)){const o=e.map(r=>this._getOptionId(r));i=(r,s)=>{r._setSelected(o.indexOf(s.toString())>-1)}}else i=(o,r)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{const o=[],r=i.selectedOptions;if(void 0!==r){const s=r;for(let a=0;a<s.length;a++){const u=this._getOptionValue(s[a].value);o.push(u)}}else{const s=i.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const u=this._getOptionValue(l.value);o.push(u)}}}this.value=o,e(o)}}_registerOption(e){const i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){const i=function JQ(t){return t.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){1&i&&V("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Te([XQ]),Y]})}return t})(),KO=(()=>{class t{constructor(e,i,o){this._element=e,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(ZO(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ZO(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(or),v(sw,9))};static#t=this.\u0275dir=N({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return t})(),qa=(()=>{class t{constructor(){this._validator=tg}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):tg,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,features:[Fe]})}return t})();const iX={provide:on,useExisting:bt(()=>qc),multi:!0};let qc=(()=>{class t extends qa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Bc,this.createValidator=e=>cO}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){2&i&&ke("required",o._enabled?"":null)},inputs:{required:"required"},features:[Te([iX]),Y]})}return t})(),s3=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[$O]})}return t})();class lw extends sg{constructor(n,e,i){super(Q1(e),X1(i,e)),this.controls=n,this._initOb
1servables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){AO(this,0,n),n.forEach((i,o)=>{IO(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function a3(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let hg=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const o=this._reduceControls(e);let r={};return a3(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new _r(o,r)}record(e,i=null){const o=this._reduceControls(e);return new PO(o,i)}control(e,i,o){let r={};return this.useNonNullable?(a3(i)?r=i:(r.validators=i,r.asyncValidators=o),new De(e,{...r,nonNullable:!0})):new De(e,i,o)}array(e,i,o){const r=e.map(s=>this._createControl(s));return new lw(r,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return e instanceof De||e instanceof sg?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cw=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Wa,useValue:e.callSetDisabledState??dh}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[s3]})}return t})(),Qr=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:nw,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Wa,useValue:e.callSetDisabledState??dh}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[s3]})}return t})();function qt(...t){const n=rh(t),e=_P(t),{args:i,keys:o}=iO(t);if(0===i.length)return ae([],n);const r=new Lt(function lX(t,n,e=Ss){return i=>{l3(n,()=>{const{length:o}=t,r=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)l3(n,()=>{const u=ae(t[l],n);let m=!1;u.subscribe(ai(i,p=>{r[l]=p,m||(m=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}
1))},i)},i)}}(i,n,o?s=>nO(o,s):Ss));return e?r.pipe(U1(e)):r}function l3(t,n,e){t?qr(e,t,n):n()}const Ho=new Lt(t=>t.complete());function at(t){return t<=0?()=>Ho:bi((n,e)=>{let i=0;n.subscribe(ai(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function qe(t){return bi((n,e)=>{Gn(t).subscribe(ai(e,()=>e.complete(),$m)),!e.closed&&n.subscribe(e)})}let uw,SX=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();try{uw=typeof Intl<"u"&&Intl.v8BreakIterator}catch{uw=!1}let Yc,Yt=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?ih(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&&!uw)&&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#e=this.\u0275fac=function(i){return new(i||t)(R(ro))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const p3=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f3(){if(Yc)return Yc;if("object"!=typeof document||!document)return Yc=new Set(p3),Yc;let t=document.createElement("input");return Yc=new Set(p3.filter(n=>(t.setAttribute("type",n),t.type===n))),Yc}let ph,Ya,hw;function $o(t){return function EX(){if(null==ph&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ph=!0}))}finally{ph=ph||!1}return ph}()?t:!!t.capture}function TX(){if(null==Ya){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ya=!1,Ya;if("scrollBehavior"in document.documentElement.style)Ya=!0;else{const t=Element.prototype.scrollTo;Ya=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Ya}function Zc(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Xr(t){return t.composedPath?t.composedPath()[0]:t.target}function mw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function dn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function xt(t,n,e){const i=kt(t)||n||e?{next:t,error:n,complete:e}:t;return i?bi((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(ai(r,l=>{var u;null===(u=i.next)||void 0===u||u.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var u;a=!1,null===(u=i.error)||void 0===u||u.call(i,l),r.error(l)},()=>{var l,u;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(u=i.finalize)||void 0===u||u.call(i)}))}):Ss}class HX extends pt{constructor(n,e){super()}schedule(n,e=0){return this}}const _g={setInterval(t,n,...e){const{delegate:i}=_g;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=_g;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class fw extends HX{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return _g.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&_g.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;
1this.work=this.state=this.scheduler=null,this.pending=!1,Hm(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const gw={now:()=>(gw.delegate||Date).now(),delegate:void 0};class _h{constructor(n,e=_h.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}_h.now=gw.now;class _w extends _h{constructor(n,e=_h.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const bg=new _w(fw),jX=bg;function Xa(t,n=bg){return bi((e,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const u=r;r=null,i.next(u)}};function l(){const u=s+t,m=n.now();if(m<u)return o=this.schedule(void 0,u-m),void i.add(o);a()}e.subscribe(ai(i,u=>{r=u,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function _3(t){return yt((n,e)=>t<=e)}function Ja(t,n=Ss){return t=t??$X,bi((e,i)=>{let o,r=!0;e.subscribe(ai(i,s=>{const a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function $X(t,n){return t===n}function ze(t){return null!=t&&"false"!=`${t}`}function Qs(t,n=0){return function UX(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function vg(t){return Array.isArray(t)?t:[t]}function Hi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function es(t){return t instanceof be?t.nativeElement:t}function b3(t,n=/\s+/){const e=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(n);for(const o of i){const r=`${o}`.trim();r&&e.push(r)}}return e}let v3=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WX=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=es(e);return new Lt(o=>{const s=this._observeElement(i).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new fe,o=this._mutationObserverFactory.create(r=>i.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}static#e=this.\u0275fac=function(i){return new(i||t)(R(v3))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),y3=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Qs(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new E,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Xa(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(v(WX),v(be),v(ie))};static#t=this.\u0275dir=N({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),yg=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[v3]})}return t})();function Kc(t=1/0){return zi(Ss,t)}function bh(...t){return function GX(){return Kc(1)}()(ae(t,rh(t)))}function ei(...t){const n=rh(t);return bi((e,i)=>{(n?bh(t,e,n):bh(t,e)).subscribe(i)})}const w3=new Set;let el,qX=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ZX}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function YX(t,n){if(!w3.has(t))try{el||(el=document.createElement("style"),n&&(el.nonce=n),el.setAttribute("type","text/css"),document.head.appendChild(el)),el.sheet&&(el.sheet.insertRule(`@media ${t} {body{ }}`,0),w3.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Yt),R(Xv,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ZX(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let bw=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=ne
1w fe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return x3(vg(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=qt(x3(vg(e)).map(s=>this._registerQuery(s).observable));return r=bh(r.pipe(at(1)),r.pipe(_3(1),Xa(0))),r.pipe(te(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:u})=>{a.matches=a.matches||l,a.breakpoints[u]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Lt(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ei(i),te(({matches:s})=>({query:e,matches:s})),qe(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static#e=this.\u0275fac=function(i){return new(i||t)(R(qX),R(ie))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function x3(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function k3(t,n,e){const o=M3(t,n).filter(r=>r!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}function M3(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}class D3{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new fe,this._typeaheadSubscription=pt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new fe,this.change=new fe,n instanceof Na&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(xt(e=>this._pressedLetters.push(e)),Xa(n),yt(()=>this._pressedLetters.length>0),te(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o<i.length+1;o++){const r=(this._activeItemIndex+o)%i.length,s=i[r];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){const e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){const e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const r=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(r<s?r:s-1,-1);break}return;default:return void((o||dn(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}
1destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Na?this._items.toArray():this._items}}class eJ extends D3{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class vw extends D3{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let wg=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function iJ(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function tJ(t){try{return t.frameElement}catch{return null}}(function dJ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===E3(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=E3(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function lJ(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function cJ(t){return!function oJ(t){return function sJ(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function nJ(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function rJ(t){return function aJ(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||S3(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Yt))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function S3(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function E3(t){if(!S3(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class uJ{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i<e.length;i++){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=e.length-1;i>=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(at(1)).subscribe(n)}}let xg=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new uJ(e,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||t)(R(wg),R(ie),R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hJ=(()=>{class t{get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=ze(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=ze(e)}constructor(e,i,o){this._elementRef=e,this._focusTrapFactory=i,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const i=e.autoCapture;i&&!i.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Zc(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(xg),v(Ve))};static#t=this.\u0275dir=N({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Fe]})}return t})();function yw(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function ww(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const mJ=new B("cdk-input-modality-detector-options"),pJ={ignoreKeys:[18,17,224,91,16]},Qc=$o({passive:!0,capture:!0});let fJ=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Ee(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Xr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(yw(s)?"keyboard":"mouse"),this._mostRecentTarget=Xr(s))},this._onTouchstart=s=>{ww(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Xr(s))},this._options={...pJ,...r},this.modalityDetected=this._modality.pipe(_3(1)),this.modalityChanged=this.modalityDetected.pipe(Ja()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Qc),o.addEventListener("mousedown",this._onMousedown,Qc),o.addEventListener("touchstart",this._onTouchstart,Qc)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qc),document.removeEventListener("mousedown",this._onMousedown,Qc),document.removeEventListener("touchstart",this._onTouchstart,Qc))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Yt),R(ie),R(Ve),R(mJ,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const gJ=new B("liveAnnouncerElement",{providedIn:"root",factory:function _J(){return null}}
1),bJ=new B("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vJ=0,I3=(()=>{class t{constructor(e,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let r,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[r,s]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==s&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r<i.length;r++)i[r].remove();return o.classList.add(e),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id="cdk-live-announcer-"+vJ++,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(e){const i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){const r=i[o],s=r.getAttribute("aria-owns");s?-1===s.indexOf(e)&&r.setAttribute("aria-owns",s+" "+e):r.setAttribute("aria-owns",e)}}static#e=this.\u0275fac=function(i){return new(i||t)(R(gJ,8),R(ie),R(Ve),R(bJ,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yJ=new B("cdk-focus-monitor-default-options"),Cg=$o({passive:!0,capture:!0});let ts=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,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 fe,this._rootNodeFocusAndBlurListener=a=>{for(let u=Xr(a);u;u=u.parentElement)"focus"===a.type?this._onFocus(a,u):this._onBlur(a,u)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const o=es(e);if(!this._platform.isBrowser||1!==o.nodeType)return xe();const r=function AX(t){if(function IX(){if(null==hw){const t=typeof document<"u"?document.head:null;hw=!(!t||!t.createShadowRoot&&!t.attachShadow)}return hw}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new fe,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=es(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=es(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}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 1===this._detectionMode||!!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,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=Xr(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,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,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cg),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cg)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(qe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cg),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cg),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>
1{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0;return!1}static#e=this.\u0275fac=function(i){return new(i||t)(R(ie),R(Yt),R(fJ),R(Ve,8),R(yJ,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wJ=(()=>{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new E}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ts))};static#t=this.\u0275dir=N({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();const A3="cdk-high-contrast-black-on-white",P3="cdk-high-contrast-white-on-black",xw="cdk-high-contrast-active";let O3=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Z(bw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;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,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(xw,A3,P3),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(xw,A3):2===i&&e.add(xw,P3)}}static#e=this.\u0275fac=function(i){return new(i||t)(R(Yt),R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kg=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||t)(R(O3))};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[yg]})}return t})();const xJ=new B("cdk-dir-doc",{providedIn:"root",factory:function CJ(){return Z(Ve)}}),kJ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let uo=(()=>{class t{constructor(e){this.value="ltr",this.change=new E,e&&(this.value=function MJ(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?kJ.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(R(xJ,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vh=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();const DJ=["text"];function SJ(t,n){if(1&t&&x(0,"mat-pseudo-checkbox",6),2&t){const e=S();k("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function EJ(t,n){1&t&&x(0,"mat-pseudo-checkbox",7),2&t&&k("disabled",S().disabled)}function TJ(t,n){if(1&t&&(c(0,"span",8),h(1),d()),2&t){const e=S();b(1),ce("(",e.group.label,")")}}const IJ=[[["mat-icon"]],"*"],AJ=["mat-icon","*"],OJ=new B("mat-sanity-checks",{providedIn:"root",factory:function PJ(){return!0}});let Qe=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasse
1s(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!mw()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||t)(R(O3),R(OJ,8),R(Ve))};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[vh,vh]})}return t})();function Mg(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=ze(n)}constructor(...n){super(...n),this._disabled=!1}}}function tl(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function yh(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=ze(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function Dg(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Qs(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function L3(t){return class extends t{updateErrorState(){const n=this.errorState,r=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);r!==n&&(this.errorState=r,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}const RJ=new B("MAT_DATE_LOCALE",{providedIn:"root",factory:function FJ(){return Z(hr)}});class un{constructor(){this._localeChanges=new fe,this.localeChanges=this._localeChanges}getValidDateOrNull(n){return this.isDateInstance(n)&&this.isValid(n)?n:null}deserialize(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()}setLocale(n){this.locale=n,this._localeChanges.next()}compareDate(n,e){return this.getYear(n)-this.getYear(e)||this.getMonth(n)-this.getMonth(e)||this.getDate(n)-this.getDate(e)}sameDate(n,e){if(n&&e){let i=this.isValid(n),o=this.isValid(e);return i&&o?!this.compareDate(n,e):i==o}return n==e}clampDate(n,e,i){return e&&this.compareDate(n,e)<0?e:i&&this.compareDate(n,i)>0?i:n}}const il=new B("mat-date-formats"),LJ=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Cw(t,n){const e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}let NJ=(()=>{class t extends un{constructor(e,i){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const i=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Cw(12,o=>this._format(i,new Date(2017,o,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Cw(31,i=>this._format(e,new Date(2017,0,i+1)))}getDayOfWeekNames(e){const i=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Cw(7,o=>this._format(i,new Date(2017,0,o+1)))}getYearName(e){const i=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(i,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,i,o){let r=this._createDateWithOverflow(e,i,o);return r.getMonth(),r}today(){return new Date}parse(e,i){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,i){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const o=new Intl.DateTimeFormat(this.locale,{...i,timeZone:"utc"});
1return this._format(o,e)}addCalendarYears(e,i){return this.addCalendarMonths(e,12*i)}addCalendarMonths(e,i){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+i,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+i)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,i){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+i)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(LJ.test(e)){let i=new Date(e);if(this.isValid(i))return i}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,i,o){const r=new Date;return r.setFullYear(e,i,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,i){const o=new Date;return o.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),o.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),e.format(o)}static#e=this.\u0275fac=function(i){return new(i||t)(R(RJ,8),R(Yt))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const BJ={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let VJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[{provide:un,useClass:NJ}]})}return t})(),zJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[{provide:il,useValue:BJ}],imports:[VJ]})}return t})(),kw=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),N3=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Qe]})}return t})();class HJ{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const B3=$o({passive:!0,capture:!0});class jJ{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Xr(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,e,i,o){const r=this._events.get(e);if(r){const s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,B3)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const r=o.get(e);r&&(r.delete(i),0===r.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,B3)))}}const V3={enterDuration:225,exitDuration:150},z3=$o({passive:!0,capture:!0}),H3=["mousedown","touchstart"],j3=["mouseup","mouseleave","touchend","touchcancel"];class xh{static#e=this._eventManager=new jJ;constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=es(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...V3,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const s=i.radius||function UJ(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),a=n-o.left,l=e-o.top,u=r.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=a-s+"px",m.style.top=l-s+"px",m.style.height=2*s+"px",m.style.width=2*s+"px",null!=i.color&&(m.style.backgroundColor=i.color),m.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(m);const p=window.getComputedStyle(m),_=p.transitionDuration,y="none"===p.transitionProperty||"0s"===_||"0s, 0s"===_||0===o.width&&0===o.height,w=new HJ(this,m,i,y);m.style.transform="scale3d(1, 1, 1)",w.state=0,i.persistent||(this._mostRecentTransientRipple=w);let C=null;return!y&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const D=()=>this._finishRippleTransition(w),M=()=>this._destroyRipple(w);m.addEventListener("transitionend",D),m.addEventListener("transitioncancel",M),C={onTransitionEnd:D,onTransitionCancel:M}}),this._activeRipples.set(w,C),(y||!u)&&this._finishRippleTransition(w),w}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...V3,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}
1fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=es(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,H3.forEach(i=>{xh._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{j3.forEach(e=>{this._triggerElement.addEventListener(e,this,z3)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=yw(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!ww(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=n.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(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(H3.forEach(e=>xh._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&j3.forEach(e=>n.removeEventListener(e,this,z3)))}}const nl=new B("mat-ripple-global-options");let Ch=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new xh(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie),v(Yt),v(nl,8),v(tn,8))};static#t=this.\u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){2&i&&je("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),ol=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Qe]}
1)}return t})(),WJ=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(i){return new(i||t)(v(tn,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&je("mat-pseudo-checkbox-indeterminate","indeterminate"===o.state)("mat-pseudo-checkbox-checked","checked"===o.state)("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal","minimal"===o.appearance)("mat-pseudo-checkbox-full","full"===o.appearance)("_mat-animation-noopable","NoopAnimations"===o._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return t})(),$3=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe]})}return t})();const U3=new B("MAT_OPTION_PARENT_COMPONENT"),W3=new B("MatOptgroup");let GJ=0;class G3{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let qJ=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=ze(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,r){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+GJ++,this.onSelectionChange=new E,this._stateChanges=new fe}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!dn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new G3(this,e))}static#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275dir=N({type:t,viewQuery:function(i,o){if(1&i&&me(DJ,7),2&i){let r;H(r=j())&&(o._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return t})(),q3=(()=>{class t extends qJ{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(U3,8),v(W3,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){1&i&&V("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}
1),2&i&&(En("id",o.id),ke("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),je("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},exportAs:["matOption"],features:[Y],ngContentSelectors:AJ,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(i,o){1&i&&(it(IJ),T(0,SJ,1,2,"mat-pseudo-checkbox",0),ge(1),c(2,"span",1,2),ge(4,1),d(),T(5,EJ,1,1,"mat-pseudo-checkbox",3)(6,TJ,2,1,"span",4),x(7,"div",5)),2&i&&(k("ngIf",o.multiple),b(5),k("ngIf",!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator),b(1),k("ngIf",o.group&&o.group._inert),b(1),k("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Ch,Ki,WJ],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),Sg=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[ol,ne,Qe,$3]})}return t})();const Y3={capture:!0}
1,Z3=["focus","click","mouseenter","touchstart"],Mw="mat-ripple-loader-uninitialized",Dw="mat-ripple-loader-class-name",K3="mat-ripple-loader-centered",Eg="mat-ripple-loader-disabled";let Q3=(()=>{class t{constructor(){this._document=Z(Ve,{optional:!0}),this._animationMode=Z(tn,{optional:!0}),this._globalRippleOptions=Z(nl,{optional:!0}),this._platform=Z(Yt),this._ngZone=Z(ie),this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;const o=e.target.closest(`[${Mw}]`);o&&this.createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const e of Z3)this._document?.addEventListener(e,this._onInteraction,Y3)})}ngOnDestroy(){for(const e of Z3)this._document?.removeEventListener(e,this._onInteraction,Y3)}configureRipple(e,i){e.setAttribute(Mw,""),(i.className||!e.hasAttribute(Dw))&&e.setAttribute(Dw,i.className||""),i.centered&&e.setAttribute(K3,""),i.disabled&&e.setAttribute(Eg,"")}getRipple(e){return e.matRipple?e.matRipple:this.createRipple(e)}setDisabled(e,i){const o=e.matRipple;o?o.disabled=i:i?e.setAttribute(Eg,""):e.removeAttribute(Eg)}createRipple(e){if(!this._document)return;e.querySelector(".mat-ripple")?.remove();const i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Dw)),e.append(i);const o=new Ch(new be(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(K3),o.disabled=e.hasAttribute(Eg),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Mw),e.matRipple=i}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const KJ=["addListener","removeListener"],QJ=["addEventListener","removeEventListener"],XJ=["on","off"];function vr(t,n,e,i){if(kt(e)&&(i=e,e=void 0),i)return vr(t,n,e).pipe(U1(i));const[o,r]=function tee(t){return kt(t.addEventListener)&&kt(t.removeEventListener)}(t)?QJ.map(s=>a=>t[s](n,a,e)):function JJ(t){return kt(t.addListener)&&kt(t.removeListener)}(t)?KJ.map(X3(t,n)):function eee(t){return kt(t.on)&&kt(t.off)}(t)?XJ.map(X3(t,n)):[];if(!o&&B1(t))return zi(s=>vr(s,n,e))(Gn(t));if(!o)throw new TypeError("Invalid event target");return new Lt(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function X3(t,n){return e=>i=>t[e](n,i)}const kh={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=kh;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new pt(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=kh;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=kh;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class nee extends _w{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class iee extends fw{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=kh.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(kh.cancelAnimationFrame(e),n._scheduled=void 0)}});let Sw,ree=1;const Tg={};function J3(t){return t in Tg&&(delete Tg[t],!0)}const see={setImmediate(t){const n=ree++;return Tg[n]=!0,Sw||(Sw=Promise.resolve()),Sw.then(()=>J3(n)&&t()),n},clearImmediate(t){J3(t)}},{setImmediate:aee,clearImmediate:lee}=see,Ig={setImmediate(...t){const{delegate:n}=Ig;return(n?.setImmediate||aee)(...t)},clearImmediate(t){const{delegate:n}=Ig;return(n?.clearImmediate||lee)(t)},delegate:void 0},Ew=new class dee extends _w{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class cee extends fw{constructor(n,e){super(n,e),this.scheduler
1=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Ig.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(Ig.clearImmediate(e),n._scheduled=void 0)}});function e5(t=0,n,e=jX){let i=-1;return null!=n&&(gP(n)?e=n:i=n),new Lt(o=>{let r=function hee(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function t5(t,n=bg){return function uee(t){return bi((n,e)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const u=o;o=null,e.next(u)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(ai(e,u=>{i=!0,o=u,r||Gn(t(u)).subscribe(r=ai(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>e5(t,n))}let pee=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new fe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}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 Lt(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(t5(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):xe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(yt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=es(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>vr(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||t)(R(ie),R(Yt),R(Ve,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ag=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new fe,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.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:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(t5(e)):this._change}
1_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#e=this.\u0275fac=function(i){return new(i||t)(R(Yt),R(ie),R(Ve,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rl=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})(),Tw=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[vh,rl,vh,rl]})}return t})();class Iw{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class sl extends Iw{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Mh extends Iw{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class gee extends Iw{constructor(n){super(),this.element=n instanceof be?n.nativeElement:n}}class Pg{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof sl?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Mh?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof gee?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class _ee extends Pg{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,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=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Xt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let al=(()=>{class t extends Pg{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new E,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}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,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(r,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;
1return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(i){return new(i||t)(v(hc),v(yi),v(Ve))};static#t=this.\u0275dir=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Y]})}return t})(),Xs=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();function hn(...t){const n=rh(t),e=function QZ(t,n){return"number"==typeof O1(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?Gn(i[0]):Kc(e)(ae(i,n)):Ho}const n5=TX();class bee{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Hi(-this._previousScrollPosition.left),n.style.top=Hi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),n5&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),n5&&(i.scrollBehavior=r,o.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 vee{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(yt(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=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class o5{enable(){}disable(){}attach(){}}function Aw(t,n){return n.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function r5(t,n){return n.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class yee{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}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:o}=this._viewportRuler.getViewportSize();Aw(e,[{width:i,height:o,bottom:o,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 wee=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new o5,this.close=s=>new vee(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new bee(this._viewportRuler,this._document),this.reposition=s=>new yee(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}static#e=this.\u0275fac=function(i){return new(i||t)(R(pee),R(Ag),R(ie),R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Xc{constructor(n){if(this.scrollStrategy=new o5,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class xee{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let s5=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}
1ngOnDestroy(){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#e=this.\u0275fac=function(i){return new(i||t)(R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cee=(()=>{class t extends s5{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);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#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(ie,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kee=(()=>{class t extends s5{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Xr(r)},this._clickListener=r=>{const s=Xr(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let u=l.length-1;u>-1;u--){const m=l[u];if(m._outsidePointerEvents.observers.length<1||!m.hasAttached())continue;if(m.overlayElement.contains(s)||m.overlayElement.contains(a))break;const p=m._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(r)):p.next(r)}}}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#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(Yt),R(ie,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Og=(()=>{class t{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||mw()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(e),mw()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(Yt))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Dh{constructor(n,e,i,o,r,s,a,l,u,m=!1){this._portalOutlet=n,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=m,this._backdropElement=null,this._backdropClick=new fe,this._attachments=new fe,this._detachments=new fe,this._locationChanges=pt.EMPTY,this._backdropClickHandler=p=>this._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)}
1,this._keydownEvents=new fe,this._outsidePointerEvents=new fe,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(at(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Hi(this._config.width),n.height=Hi(this._config.height),n.minWidth=Hi(this._config.minWidth),n.minHeight=Hi(this._config.minHeight),n.maxWidth=Hi(this._config.maxWidth),n.maxHeight=Hi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=vg(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(qe(hn(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}
vendor: 11,029 bytes, line 1
1_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const a5="cdk-overlay-connected-position-bounding-box",Mee=/([A-Za-z%]+)$/;class l5{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,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 fe,this._resizeSubscription=pt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(a5),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),u=this._getOverlayPoint(l,e,a),m=this._getOverlayFit(u,e,i,a);if(m.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(m,u,i)?r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<m.visibleArea)&&(s={overlayFit:m,overlayPoint:u,originPoint:l,position:a,overlayRect:e})}if(r.length){let a=null,l=-1;for(const u of r){const m=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);m>l&&(l=m,a=u)}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&&ll(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(a5),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=d5(e);let{x:s,y:a}=n,l=this._getOffset(o,"x"),u=this._getOffset(o,"y");l&&(s+=l),u&&(a+=u);let f=0-a,_=a+r.height-i.height,y=this._subtractOverflows(r.width,0-s,s+r.width-i.width),w=this._subtractOverflows(r.height,f,_),C=y*w;return{visibleArea:C,isCompletelyWithinViewport:r.width*r.height===C,fitsInViewportVertically:w===r.height,fitsInViewportHorizontally:y==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=c5(this._overlayRef.getConfig().minHeight),a=c5(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=d5(e),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),u=Math.max(r.left-i.left-n.x,0);let m=0,p=0;return m=o.width<=r.width?u||-s:n.x<this._viewportMargin?r.left-i.left-n.x:0,p=o.height<=r.height?l||-a:n.y<this._viewportMargin?r.top-i.top-n.y:0,this._previousPushAmount={x:m,y:p},{x:n.x+m,y:n.y+p}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new xee(n,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,e){const i=this._viewportRect,o=this._isRtl();let r,s,a,m,p,f;if("top"===e.overlayY)s=n.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-n.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const _=Math.min(i.bottom-n.y+i.top,n.y),y=this._lastBoundingBoxSize.height;r=2*_,s=n.y-_,r>y&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)f=i.width-n.x+this._viewportMargin,m=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)p=n.x,m=i.right-n.x;else{const _=Math.min(i.right-n.x+i.left,n.x),y=this._lastBoundingBoxSize.width;m=2*_,p=n.x-_,m>y&&!this._isInitialRender&&!this._growAfterOpen&&(p=n.x-y/2)}return{top:s,left:p,bottom:a,right:f,width:m,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Hi(i.height),o.top=Hi(i.top),o.bottom=Hi(i.bottom),o.width=Hi(i.width),o.left=Hi(i.left),o.right=Hi(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Hi(r)),s&&(o.maxWidth=Hi(s))}this._lastBoundingBoxSize=i,ll(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ll(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ll(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const m=this._viewportRuler.getViewportScrollPosition();ll(i,this._getExactOverlayY(e,n,m)),ll(i,this._getExactOverlayX(e,n,m))}else i.position="static";let a="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),u&&(a+=`translateY(${u}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=Hi(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Hi(s.maxWidth):r&&(i.maxWidth="")),ll(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Hi(r.y),o}_getExactOverlayX(n,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Hi(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:r5(n,i),isOriginOutsideView:Aw(n,i),isOverlayClipped:r5(e,i),isOverlayOutsideView:Aw(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}
1_addPanelClasses(n){this._pane&&vg(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof be)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function ll(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function c5(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(Mee);return e&&"px"!==e?null:parseFloat(n)}return t||null}function d5(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const u5="cdk-global-overlay-wrapper";class Dee{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(u5),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),m=this._xPosition,p=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let _="",y="",w="";l?w="flex-start":"center"===m?(w="center",f?y=p:_=p):f?"left"===m||"end"===m?(w="flex-end",_=p):("right"===m||"start"===m)&&(w="flex-start",y=p):"left"===m||"start"===m?(w="flex-start",_=p):("right"===m||"end"===m)&&(w="flex-end",y=p),n.position=this._cssPosition,n.marginLeft=l?"0":_,n.marginTop=u?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,e.justifyContent=w,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(u5),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let See=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new Dee}flexibleConnectedTo(e){return new l5(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ag),R(Ve),R(Yt),R(Og))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Eee=0,yn=(()=>{class t{constructor(e,i,o,r,s,a,l,u,m,p,f,_){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=u,this._directionality=m,this._location=p,this._outsideClickDispatcher=f,this._animationsModuleType=_}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new Xc(e);return s.direction=s.direction||this._directionality.value,new Dh(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Eee++,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(Hs)),new _ee(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||t)(R(wee),R(Og),R(hc),R(See),R(Cee),R(Xt),R(ie),R(Ve),R(uo),R(mr),R(kee),R(tn,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Aee={provide:new B("cdk-connected-overlay-scroll-strategy"),deps:[yn],useFactory:function Iee(t){return()=>t.scrollStrategies.reposition()}};let Js=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[yn,Aee],imports:[vh,Xs,Tw,Tw]})}return t})();const is="*";function Yn(t,n){return{type:7,name:t,definitions:n,options:{}}}function ui(t,n=null){return{type:4,styles:n,timings:t}}function Pw(t,n=null){return{type:3,steps:t,options:n}}function lt(t){return{type:6,styles:t,offset:null}}function ji(t,n,e){return{type:0,name:t,styles:n,options:e}}function h5(t){return{type:5,steps:t}}function hi(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}class Sh{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>
1i()),e.length=0}}class m5{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function cl(t){return new Lt(n=>{Gn(t()).subscribe(n)})}class Lee extends fe{constructor(n=1/0,e=1/0,i=gw){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){const{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){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 p5(t={}){const{connector:n=(()=>new fe),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,u=0,m=!1,p=!1;const f=()=>{a?.unsubscribe(),a=void 0},_=()=>{f(),s=l=void 0,m=p=!1},y=()=>{const w=s;_(),w?.unsubscribe()};return bi((w,C)=>{u++,!p&&!m&&f();const D=l=l??n();C.add(()=>{u--,0===u&&!p&&!m&&(a=Lw(y,o))}),D.subscribe(C),!s&&u>0&&(s=new Ud({next:M=>D.next(M),error:M=>{p=!0,f(),a=Lw(_,e,M),D.error(M)},complete:()=>{m=!0,f(),a=Lw(_,i),D.complete()}}),Gn(w).subscribe(s))})(r)}}function Lw(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Ud({next:()=>{i.unsubscribe(),t()}});return n(...e).subscribe(i)}function dl(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,p5({connector:()=>new Lee(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class Nee{constructor(n){this._box=n,this._destroyed=new fe,this._resizeSubject=new fe,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Lt(e=>{const i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(yt(e=>e.some(i=>i.target===n)),dl({bufferSize:1,refCount:!0}),qe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Bee=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=Z(ie)}ngOnDestroy(){for(const[,e]of this._observers)e.destroy();this._observers.clear()}observe(e,i){const o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Nee(o)),this._observers.get(o).observe(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Vee=["notch"],zee=["matFormFieldNotchedOutline",""],Hee=["*"],jee=["textField"],$ee=["iconPrefixContainer"],Uee=["textPrefixContainer"];function Wee(t,n){1&t&&x(0,"span",19)}function Gee(t,n){if(1&t&&(c(0,"label",17),ge(1,1),T(2,Wee,1,0,"span",18),d()),2&t){const e=S(2);k("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ke("for",e._control.id),b(2),k("ngIf",!e.hideRequiredMarker&&e._control.required)}}function qee(t,n){1&t&&T(0,Gee,3,5,"label",16),2&t&&k("ngIf",S()._hasFloatingLabel())}function Yee(t,n){1&t&&x(0,"div",20)}function Zee(t,n){}function Kee(t,n){1&t&&T(0,Zee,0,0,"ng-template",22),2&t&&(S(2),k("ngTemplateOutlet",mt(1)))}function Qee(t,n){if(1&t&&(c(0,"div",21),T(1,Kee,1,1,"ng-template",9),d()),2&t){const e=S();k("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),b(1),k("ngIf",!e._forceDisplayInfixLabel())}}function Xee(t,n){1&t&&(c(0,"div",23,24),ge(2,2),d())}function Jee(t,n){1&t&&(c(0,"div",25,26),ge(2,3),d())}function ete(t,n){}function tte(t,n){1&t&&T(0,ete,0,0,"ng-template",22),2&t&&(S(),k("ngTemplateOutlet",mt(1)))}function ite(t,n){1&t&&(c(0,"div",27),ge(1,4),d())}function nte(t,n){1&t&&(c(0,"div",28),ge(1,5),d())}function ote(t,n){1&t&&x(0,"div",29)}function rte(t,n){1&t&&(c(0,"div",30),ge(1,6),d()),2&t&&k("@transitionMessages",S()._subscriptAnimationState)}function ste(t,n){if(1&t&&(c(0,"mat-hint",34),h(1),d()),2&t){const e=S(2);k("id",e._hintLabelId),b(1),pe(e.hintLabel)}}function ate(t,n){if(1&t&&(c(0,"div",31),T(1,ste,2,2,"mat-hint",32),ge(2,7),x(3,"div",33),ge(4,8),d()),2&t){const e=S();k("@transitionMessages",e._subscriptAnimationState),b(1),k("ngIf",e.hintLabel)}}const lte=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],cte=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Jc=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),dte=0;const f5=new B("MatError");let Rg=(()=>{class t{constructor(e,i){this.id="mat-mdc-error-"+dte++,e||i.nativeElement.setAttribute("aria-live","polite")}
1static#e=this.\u0275fac=function(i){return new(i||t)(Ro("aria-live"),v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){2&i&&En("id",o.id)},inputs:{id:"id"},features:[Te([{provide:f5,useExisting:t}])]})}return t})(),ute=0,Fg=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+ute++}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){2&i&&(En("id",o.id),ke("align",null),je("mat-mdc-form-field-hint-end","end"===o.align))},inputs:{align:"align",id:"id"}})}return t})();const g5=new B("MatPrefix");let hte=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[Te([{provide:g5,useExisting:t}])]})}return t})();const _5=new B("MatSuffix");let mte=(()=>{class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Te([{provide:_5,useExisting:t}])]})}return t})();const b5=new B("FloatingLabelParent");let v5=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=Z(Bee),this._ngZone=Z(ie),this._parent=Z(b5),this._resizeSubscription=new pt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function pte(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){2&i&&je("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();const y5="mdc-line-ripple--active",Lg="mdc-line-ripple--deactivating";let w5=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const r=this._elementRef.nativeElement.classList,s=r.contains(Lg);"opacity"===o.propertyName&&s&&r.remove(y5,Lg)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Lg),e.add(y5)}deactivate(){this._elementRef.nativeElement.classList.add(Lg)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie))};static#t=this.\u0275dir=N({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),x5=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}
1_setNotchWidth(e){this._notch.nativeElement.style.width=this.open&&e?`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie))};static#t=this.\u0275cmp=O({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(1&i&&me(Vee,5),2&i){let r;H(r=j())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){2&i&&je("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:zee,ngContentSelectors:Hee,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,o){1&i&&(it(),x(0,"div",0),c(1,"div",1,2),ge(3),d(),x(4,"div",3))},encapsulation:2,changeDetection:0})}return t})();const fte={transitionMessages:Yn("transitionMessages",[ji("enter",lt({opacity:1,transform:"translateY(0%)"})),hi("void => enter",[lt({opacity:0,transform:"translateY(-5px)"}),ui("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Nw=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t})}return t})();const Eh=new B("MatFormField"),C5=new B("MAT_FORM_FIELD_DEFAULT_OPTIONS");let k5=0,Ng=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ze(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,r,s,a,l,u){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=r,this._platform=s,this._defaults=a,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+k5++,this._hintLabelId="mat-mdc-hint-"+k5++,this._subscriptAnimationState="",this._destroyed=new fe,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(qe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),hn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}
1),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(qe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(qe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];
1if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${r+s}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(ie),v(uo),v(Yt),v(C5,8),v(tn,8),v(Ve))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,r){if(1&i&&(Ie(r,Jc,5),Ie(r,Jc,7),Ie(r,Nw,5),Ie(r,g5,5),Ie(r,_5,5),Ie(r,f5,5),Ie(r,Fg,5)),2&i){let s;H(s=j())&&(o._labelChildNonStatic=s.first),H(s=j())&&(o._labelChildStatic=s.first),H(s=j())&&(o._formFieldControl=s.first),H(s=j())&&(o._prefixChildren=s),H(s=j())&&(o._suffixChildren=s),H(s=j())&&(o._errorChildren=s),H(s=j())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(1&i&&(me(jee,5),me($ee,5),me(Uee,5),me(v5,5),me(x5,5),me(w5,5)),2&i){let r;H(r=j())&&(o._textField=r.first),H(r=j())&&(o._iconPrefixContainer=r.first),H(r=j())&&(o._textPrefixContainer=r.first),H(r=j())&&(o._floatingLabel=r.first),H(r=j())&&(o._notchedOutline=r.first),H(r=j())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){2&i&&je("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===o._animationMode)("mat-form-field-appearance-fill","fill"==o.appearance)("mat-form-field-appearance-outline","outline"==o.appearance)("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary","accent"!==o.color&&"warn"!==o.color)("mat-accent","accent"===o.color)("mat-warn","warn"===o.color)("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Te([{provide:Eh,useExisting:t},{provide:b5,useExisting:t}])],ngContentSelectors:cte,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormField
1FloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(i,o){1&i&&(it(lte),T(0,qee,1,1,"ng-template",null,0,Yi),c(2,"div",1,2),V("click",function(s){return o._control.onContainerClick(s)}),T(4,Yee,1,0,"div",3),c(5,"div",4),T(6,Qee,2,2,"div",5)(7,Xee,3,0,"div",6)(8,Jee,3,0,"div",7),c(9,"div",8),T(10,tte,1,1,"ng-template",9),ge(11),d(),T(12,ite,2,0,"div",10)(13,nte,2,0,"div",11),d(),T(14,ote,1,0,"div",12),d(),c(15,"div",13),T(16,rte,2,1,"div",14)(17,ate,5,2,"div",15),d()),2&i&&(b(2),je("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),b(2),k("ngIf",!o._hasOutline()&&!o._control.disabled),b(2),k("ngIf",o._hasOutline()),b(1),k("ngIf",o._hasIconPrefix),b(1),k("ngIf",o._hasTextPrefix),b(2),k("ngIf",!o._hasOutline()||o._forceDisplayInfixLabel()),b(2),k("ngIf",o._hasTextSuffix),b(1),k("ngIf",o._hasIconSuffix),b(1),k("ngIf",!o._hasOutline()),b(1),je("mat-mdc-form-field-subscript-dynamic-size","dynamic"===o.subscriptSizing),k("ngSwitch",o._getDisplayedMessages()),b(1),k("ngSwitchCase","error"),b(1),k("ngSwitchCase","hint"))},dependencies:[Ki,At,zc,Gf,Fg,v5,x5,w5],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper
1-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}
1.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}
1.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper
1-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-
1shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[fte.transitionMessages]},changeDetection:0})}return t})(),Bg=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,ne,yg,Qe]})}return t})();function Bw(t){return te(()=>t)}function S5(t,n){return n?e=>bh(n.pipe(at(1),function bte(){return bi((t,n)=>{t.subscribe(ai(n,$m))})}()),e.pipe(S5(t))):zi((e,i)=>t(e,i).pipe(at(1),Bw(e)))}function Vw(t,n=bg){const e=e5(t,n);return S5(()=>e)}const vte=["panel"];function yte(t,n){if(1&t){const e=Ne();c(0,"div",0,1),V("@panelAnimation.done",function(o){return re(e),se(S()._animationDone.next(o))}),ge(2),d()}if(2&t){const e=n.id,i=S();k("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ke("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const wte=["*"],xte=Yn("panelAnimation",[ji("void, hidden",lt({opacity:0,transform:"scaleY(0.8)"})),hi(":enter, hidden => visible",[Pw([ui("0.03s linear",lt({opacity:1})),ui("0.12s cubic-bezier(0, 0, 0.2, 1)",lt({transform:"scaleY(1)"}))])]),hi(":leave, visible => hidden",[ui("0.075s linear",lt({opacity:0}))])]);let Cte=0;class kte{constructor(n,e){this.source=n,this.option=e}}const Mte=yh(class{}),E5=new B("mat-autocomplete-default-options",{providedIn:"root",factory:function Dte(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let Ste=(()=>{class t extends Mte{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=ze(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=ze(e)}get requireSelection(){return this._requireSelection}set requireSelection(e){this._requireSelection=ze(e)}set classList(e){this._classList=e&&e.length?b3(e).reduce((i,o)=>(i[o]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,o,r){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=pt.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new E,this.opened=new E,this.closed=new E,this.optionActivated=new E,this._classList={},this.id="mat-autocomplete-"+Cte++,this.inertGroups=r?.SAFARI||!1,this._autoActiveFirstOption=!!o.autoActiveFirstOption,this._autoSelectActiveOption=!!o.autoSelectActiveOption,this._requireSelection=!!o.requireSelection}ngAfterContentInit(){this._keyManager=new eJ(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new kte(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}_skipPredicate(e){return e.disabled}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(be),v(E5),v(Yt))};static#t=this.\u0275dir=N({type:t,viewQuery:function(i,o){if(1&i&&(me(nt,7),me(vte,5)),2&i){let r;H(r=j())&&(o.template=r.first),H(r=j())&&(o.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Y]})}return t})(),Ete=(()=>{class t extends Ste{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new E,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=ze(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(e){return!1}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,r){if(1&i&&(Ie(r,W3,5),Ie(r,q3,5)),2&i){let s;H(s=j())&&(o.optionGroups=s),H(s=j())&&(o.options=s)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hide
1SingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Te([{provide:U3,useExisting:t}]),Y],ngContentSelectors:wte,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(i,o){1&i&&(it(),T(0,yte,3,5,"ng-template"))},dependencies:[Ti],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[xte]},changeDetection:0})}return t})();const Tte={provide:vn,useExisting:bt(()=>I5),multi:!0},T5=new B("mat-autocomplete-scroll-strategy"),Ate={provide:T5,deps:[yn],useFactory:function Ite(t){return()=>t.scrollStrategies.reposition()}};let Pte=(()=>{class t{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=ze(e)}constructor(e,i,o,r,s,a,l,u,m,p,f){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=r,this._changeDetectorRef=s,this._dir=l,this._formField=u,this._document=m,this._viewportRuler=p,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=pt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new fe,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=cl(()=>{const _=this.autocomplete?this.autocomplete.options:null;return _?_.changes.pipe(ei(_),X(()=>hn(..._.map(y=>y.onSelectionChange)))):this._zone.onStable.pipe(at(1),X(()=>this.optionSelections))}),this._handlePanelKeydown=_=>{(27===_.keyCode&&!dn(_)||38===_.keyCode&&dn(_,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),_.stopPropagation(),_.preventDefault())},this._trackedModal=null,this._scrollStrategy=a}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return hn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(yt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(yt(()=>this._overlayAttached)):xe()).pipe(te(e=>e instanceof G3?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return hn(vr(this._document,"click"),vr(this._document,"auxclick"),vr(this._document,"touchend")).pipe(yt(e=>{const i=Xr(e),o=this._formField?this._formField._elementRef.nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!r||!r.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,o=dn(e);if(27===i&&!o&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const r=this.autocomplete._keyManager.activeItem,s=38===i||40===i;9===i||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this.openPanel
1(),(s||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;"number"===i.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o&&(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),o||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return hn(this._zone.onStable.pipe(at(1)),this.autocomplete.options.changes.pipe(xt(()=>this._positionStrategy.reapplyLastPosition()),Vw(0))).pipe(X(()=>(this._zone.run(()=>{const o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),at(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this._valueOnOpen=this._element.nativeElement.value,this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnOpen&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(at(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Mh(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&i!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}
1else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xc({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let s;s="above"===this.position?r:"below"===this.position?i:[...i,...r],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o<e.options.length;o++)if(!e.options.get(o).disabled){i=o;break}e._keyManager.setActiveItem(i)}else e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,o=function YJ(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),r=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===o[r]&&r++;return r}return 0}(e,i.options,i.optionGroups);if(0===e&&1===o)i._setScrollTop(0);else if(i.panel){const r=i.options.toArray()[e];if(r){const s=r._getHostElement(),a=function ZJ(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}(s.offsetTop,s.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(a)}}}_applyModalPanelOwnership(){const e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;const i=this.autocomplete.id;this._trackedModal&&k3(this._trackedModal,"aria-owns",i),function QX(t,n,e){const i=M3(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))}(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){this._trackedModal&&(k3(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(yn),v(yi),v(ie),v(wt),v(T5),v(uo,8),v(Eh,9),v(Ve,8),v(Ag),v(E5,8))};static#t=this.\u0275dir=N({type:t,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Fe]})}return t})(),I5=(()=>{class t extends Pte{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){1&i&&V("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),2&i&&ke("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||null==o.autocomplete?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Te([Tte]),Y]})}return t})(),Ote=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[Ate],imports:[Js,Sg,Qe,ne,rl,Sg,Qe]})}return t})();const Rte=["mat-button",""],Fte=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Lte=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Bte=["mat-icon-button",""],Vte=["*"],zte=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Hte=tl(Mg(yh(class{constructor(t){this._elementRef=t}})));let A5=(()=>{class t extends Hte{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ze(e),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this._updateRippleDisabled()}constructor(e,i,o,r){super(e),this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=Z(ts),this._rippleLoader=Z(Q3),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const s=e.nativeElement.classList;for(const a of zte)this._hasHostAttributes(a.selector)&&a.mdcClasses.forEac
1h(l=>{s.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275dir=N({type:t,features:[Y]})}return t})(),zw=(()=>{class t extends A5{constructor(e,i,o,r){super(e,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Yt),v(ie),v(tn,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(ke("disabled",o.disabled||null),je("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Y],attrs:Rte,ngContentSelectors:Lte,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(it(Fte),x(0,"span",0),ge(1),c(2,"span",1),ge(3,1),d(),ge(4,2),x(5,"span",2)(6,"span",3)),2&i&&je("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}
1.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),P5=(()=>{class t extends A5{constructor(e,i,o,r){super(e,i,o,r),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Yt),v(ie),v(tn,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(i,o){2&i&&(ke("disabled",o.disabled||null),je("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Y],attrs:Bte,ngContentSelectors:Vte,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(it(),x(0,"span",0),ge(1),x(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
1height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return t})(),Vg=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,ol,Qe]})}return t})(),Kte=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,ne,Qe]})}return t})();const Qte=["input"],Xte=["label"],Jte=["*"],eie=new B("mat-checkbox-default-options",{providedIn:"root",factory:O5});function O5(){return{color:"accent",clickAction:"check-indeterminate"}}const tie={provide:vn,useExisting:bt(()=>Hw),multi:!0};class iie{}let nie=0;const R5=O5(),oie=Dg(tl(yh(Mg(class{constructor(t){this._elementRef=t}}))));let rie=(()=>{class t extends oie{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=ze(e)}constructor(e,i,o,r,s,a,l){super(i),this._changeDetectorRef=o,this._ngZone=r,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new E,this.indeterminateChange=new E,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||R5,this.color=this.defaultColor=this._options.color||R5.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++nie}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=ze(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=ze(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=ze(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}static#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275dir=N({type:t,viewQuery:function(i,o){if(1&i&&(me(Qte,5),me(Xte,5),me(Ch,5)),2&i){let r;H(r=j())&&(o._inputElement=r.first),H(r=j())&&(o._labelElement=r.first),H(r=j())&&(o.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[Y]})}return t})(),Hw=(()=>{class t extends rie{constructor(e,i,o,r,s,a){super("mat-mdc-checkbox-",e,i,o,r,s,a),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new iie;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(ie),Ro("tabindex"),v(tn,8),v(eie,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(i,o){2&i&&(En("id",o.id
1),ke("tabindex",null)("aria-label",null)("aria-labelledby",null),je("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Te([tie]),Y],ngContentSelectors:Jte,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(i,o){if(1&i&&(it(),c(0,"div",0),V("click",function(s){return o._preventBubblingFromLabel(s)}),c(1,"div",1,2)(3,"div",3),V("click",function(){return o._onTouchTargetClick()}),d(),c(4,"input",4,5),V("blur",function(){return o._onBlur()})("click",function(){return o._onInputClick()})("change",function(s){return o._onInteractionEvent(s)}),d(),x(6,"div",6),c(7,"div",7),$e(),c(8,"svg",8),x(9,"path",9),d(),tr(),x(10,"div",10),d(),x(11,"div",11),d(),c(12,"label",12,13),ge(14),d()()),2&i){const r=mt(2);je("mdc-form-field--align-end","before"==o.labelPosition),b(4),je("mdc-checkbox--selected",o.checked),k("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.tabIndex),ke("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("name",o.name)("value",o.value),b(7),k("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),b(1),k("for",o.inputId)}},dependencies:[Ch],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}
1}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500m
1s linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}
1.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),F5=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})(),lie=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,ol,F5,Qe,F5]})}return t})();function cie(t,n){1&t&&(c(0,"span",7),ge(1,1),d())}function die(t,n){1&t&&(c(0,"span",8),ge(1,2),d())}const L5=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],N5=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function mie(t,n){1&t&&($n(0),x(1,"span",8),Un())}function pie(t,n){1&t&&(c(0,"span",9),ge(1),d())}function fie(t,n){1&t&&($n(0),ge(1,1),Un())}function gie(t,n){1&t&&ge(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function _ie(t,n){1&t&&x(0,"span",12)}function bie(t,n){if(1&t&&($n(0),T(1,gie,1,0,"ng-content",10)(2,_ie,1,0,"ng-template",null,11,Yi),Un()),2&t){const e=mt(3),i=S();b(1),k("ngIf",i.contentEditInput)("ngIfElse",e)}}function vie(t,n){1&t&&(c(0,"span",13),ge(1,3),d())}const yie=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],wie=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],jw=["*"],zg=new B("mat-chips-default-options"),$w=new B("MatChipAvatar"),Uw=new B("MatChipTrailingIcon"),Ww=new B("MatChipRemove"),Hg=new B("MatChip");class xie{}const Cie=Dg(xie,-1);let ed=(()=>{class t extends Cie{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=ze(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Hg))};static#t=this.\u0275dir=N({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,o){1&i&&V("click",function(s){return o._handleClick(s)})("keydown",function(s){return o._handleKeydown(s)}),2&i&&(ke("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),je("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Y]})}return t})(),z5=(()=>{class t extends ed{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(i,o){2&i&&ke("aria-hidden",null)},features:[Te([{provide:Ww,useExisting:t}]),Y]})}return t})(),Die=0;const Sie=Dg(tl(yh(Mg(class{constructor(t){this._elementRef=t}})),"primary"),-1);let td=(()=>{class t extends Sie{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=ze(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=ze(e)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,i,o,r,s,a,l,u){super(i),this._changeDetectorRef=e,this._ngZone=o,this._focusMonitor=r,this._globalRippleOptions=l,this._onFocus=new fe,this._onBlur=new fe,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Die++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new E,this.destroyed=new E,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=Z(Q3),this._document=s,this._animationsDisabled="NoopAnimations"===a,null!=u&&(this.tabIndex=parseInt(u)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pe
1ndingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=hn(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const o=i._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(at(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(be),v(ie),v(ts),v(Ve),v(tn,8),v(nl,8),Ro("tabindex"))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,o,r){if(1&i&&(Ie(r,$w,5),Ie(r,Uw,5),Ie(r,Ww,5),Ie(r,$w,5),Ie(r,Uw,5),Ie(r,Ww,5)),2&i){let s;H(s=j())&&(o.leadingIcon=s.first),H(s=j())&&(o.trailingIcon=s.first),H(s=j())&&(o.removeIcon=s.first),H(s=j())&&(o._allLeadingIcons=s),H(s=j())&&(o._allTrailingIcons=s),H(s=j())&&(o._allRemoveIcons=s)}},viewQuery:function(i,o){if(1&i&&me(ed,5),2&i){let r;H(r=j())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(i,o){1&i&&V("keydown",function(s){return o._handleKeydown(s)}),2&i&&(En("id",o.id),ke("role",o.role)("tabindex",o.role?o.tabIndex:null)("aria-label",o.ariaLabel),je("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Te([{provide:Hg,useExisting:t}]),Y],ngContentSelectors:N5,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(it(L5),x(0,"span",0),c(1,"span",1)(2,"span",2),T(3,cie,2,0,"span",3),c(4,"span",4),ge(5),x(6,"span",5),d()()(),T(7,die,2,0,"span",6)
1),2&i&&(b(2),k("isInteractive",!1),b(1),k("ngIf",o.leadingIcon),b(4),k("ngIf",o._hasTrailingIcon()))},dependencies:[Ki,ed],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}
1.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-h
1igh-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})(),jg=(()=>{class t{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Ve))};static#t=this.\u0275dir=N({type:t,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return t})(),Gw=(()=>{class t extends td{constructor(e,i,o,r,s,a,l,u){super(e,i,o,r,s,a,l,u),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new E,this._isEditing=!1,this.role="row",this._onBlur.pipe(qe(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(be),v(ie),v(ts),v(Ve),v(tn,8),v(nl,8),Ro("tabindex"))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(i,o,r){if(1&i&&Ie(r,jg,5),2&i){let s;H(s=j())&&(o.contentEditInput=s.first)}},viewQuery:function(i,o){if(1&i&&me(jg,5),2&i){let r;H(r=j())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(i,o){1&i&&V("focus",function(s){return o._handleFocus(s)})("dblclick",function(s){return o._handleDoubleclick(s)}),2&i&&(En("id",o.id),ke("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),je("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Te([{provide:td,useExisting:t},{provide:Hg,useExisting:t}]),Y],ngContentSelectors:wie,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,o){1&i&&(it(yie),T(0,mie,2,0,"ng-container",0),c(1,"span",1),T(2,pie,2,0,"span",2),c(3,"span",3),T(4,fie,2,0,"ng-container",4)(5,bie,4,2,"ng-container",4),x(6,"span",5),d()(),T(7,vie,2,0,"span",6),c(8,"span",7),h(9),d()),2&i&&(k("ngIf",!o._isEditing),b(1),k("tabIndex",o.tabIndex)("disabled",o.disabled),ke("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),b(1),k("ngIf",o.leadingIcon),b(1),k("ngSwitch",o._isEditing),b(1),k("ngSwitchCase",!1),b(1),k("ngSwitchCase",!0),b(2),k("ngIf",o._hasTrailingIcon()),b(1),k("id",o._ariaDescriptionId),b(1),pe(o.ariaDescription))},dependencies:[Ki,zc,Gf,ed,jg],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{dis
1play:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}
1.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-h
1igh-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return t})();class Eie{constructor(n){}}const Tie=Dg(Eie);let qw=(()=>{class t extends Tie{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,o){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new fe,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Na}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const e=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(ei(null),X(()=>hn(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList.contains("mat-mdc-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(ei(this._chips)).subscribe(e=>{const i=[];e.forEach(o=>o._getActions().forEach(r=>i.push(r))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new vw(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(qe(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(qe(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(ei(null),qe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(qe(this._destroyed)).subscribe(e=>{const o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(uo,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,td,5),2&i){let s;H(s=j())&&(o._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,o){1&i&&V("keydown",function(s){return o._handleKeydown(s)}),2&i&&ke("role",o.role)},inputs:{disabled:"disabled",role:"role"},features:[Y],ngContentSelectors:jw,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(it(),c(0,"div",0),ge(1),d())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}
1.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})();class Pie{constructor(n,e){this.source=n,this.value=e}}class Oie extends qw{constructor(n,e,i,o,r,s,a){super(n,e,i),this._defaultErrorStateMatcher=o,this._parentForm=r,this._parentFormGroup=s,this.ngControl=a,this.stateChanges=new fe}}const Rie=L3(Oie);let $5=(()=>{class t extends Rie{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=ze(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ae.required)??!1}set required(e){this._required=ze(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,o,r,s,a,l){super(e,i,o,a,r,s,l),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new E,this.valueChange=new E,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(qe(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),hn(this.chipFocusChanges,this._chips.changes).pipe(qe(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&dn(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new Pie(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(uo,8),v(Wc,8),v(br,8),v(kw),v(gr,10))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-chip-grid"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Gw,5),2&i){let s;H(s=j())&&(o._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(i,o){1&i&&V("focus",function(){return o.focus()})("blur",function(){return o._blur()}),2&i&&(En("tabIndex",o._chips&&0===o._chips.length?-1:o.tabIndex),
1ke("role",o.role)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),je("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Te([{provide:Nw,useExisting:t}]),Y],ngContentSelectors:jw,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,o){1&i&&(it(),c(0,"div",0),ge(1),d())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return t})(),Fie=0,U5=(()=>{class t{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=ze(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=ze(e)}get empty(){return!this.inputElement.value}constructor(e,i,o){this._elementRef=e,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new E,this.placeholder="",this.id="mat-mdc-chip-list-input-"+Fie++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=i.separatorKeyCodes,o&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!dn(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(zg),v(Eh,8))};static#t=this.\u0275dir=N({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(i,o){1&i&&V("keydown",function(s){return o._keydown(s)})("keyup",function(s){return o._keyup(s)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}
1),2&i&&(En("id",o.id),ke("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Fe]})}return t})(),Lie=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[kw,{provide:zg,useValue:{separatorKeyCodes:[13]}}],imports:[Qe,ne,ol,Qe]})}return t})();const W5=$o({passive:!0});let Nie=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ho;const i=es(e),o=this._monitoredElements.get(i);if(o)return o.subject;const r=new fe,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,W5),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:()=>{i.removeEventListener("animationstart",a,W5)}}),r}stopMonitoring(e){const i=es(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Yt),R(ie))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bie=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();const G5=new B("MAT_INPUT_VALUE_ACCESSOR"),Vie=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let zie=0;const Hie=L3(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new fe}});let $g=(()=>{class t extends Hie{get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ae.required)??!1}set required(e){this._required=ze(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&f3().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ze(e)}constructor(e,i,o,r,s,a,l,u,m,p){super(a,r,s,o),this._elementRef=e,this._platform=i,this._autofillMonitor=u,this._formField=p,this._uid="mat-input-"+zie++,this.focused=!1,this.stateChanges=new fe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(y=>f3().has(y)),this._iOSKeyupListener=y=>{const w=y.target;!w.value&&0===w.selectionStart&&0===w.selectionEnd&&(w.setSelectionRange(1,1),w.setSelectionRange(0,0))};const f=this._elementRef.nativeElement,_=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&m.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===_,this._isTextarea="textarea"===_,this._isInFormField=!!p,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}
1_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Vie.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Yt),v(gr,10),v(Wc,8),v(br,8),v(kw),v(G5,10),v(Nie),v(ie),v(Eh,8))};static#t=this.\u0275dir=N({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){1&i&&V("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),2&i&&(En("id",o.id)("disabled",o.disabled)("required",o.required),ke("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),je("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Te([{provide:Nw,useExisting:t}]),Y,Fe]})}return t})(),jie=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Bg,Bg,Bie,Qe]})}return t})();const $ie=["mat-calendar-body",""];function Uie(t,n){if(1&t&&(c(0,"tr",3)(1,"td",4),h(2),d()()),2&t){const e=S();b(1),yo("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ke("colspan",e.numCols),b(1),ce(" ",e.label," ")}}function Wie(t,n){if(1&t&&(c(0,"td",4),h(1),d()),2&t){const e=S(2);yo("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ke("colspan",e._firstRowOffset),b(1),ce(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Gie(t,n){if(1&t){const e=Ne();c(0,"td",8)(1,"button",9),V("click",function(o){const s=re(e).$implicit;return se(S(2)._cellClicked(s,o))})("focus",function(o){const s=re(e).$implicit;return se(S(2)._emitActiveDateChange(s,o))}),c(2,"span",10),h(3),d(),x(4,"span",11),d()()}if(2&t){const e=n.$implicit,i=n.index,o=S().index,r=S();yo("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ke("data-mat-row",o)("data-mat-col",i),b(1),je("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(o,i))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,o,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,o,i))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-e
1nd",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),k("ngClass",e.cssClasses)("tabindex",r._isActiveCell(o,i)?0:-1),ke("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),b(1),je("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),b(1),ce(" ",e.displayValue," ")}}function qie(t,n){if(1&t&&(c(0,"tr",5),T(1,Wie,2,6,"td",6)(2,Gie,5,48,"td",7),d()),2&t){const e=n.$implicit,i=n.index,o=S();b(1),k("ngIf",0===i&&o._firstRowOffset),b(1),k("ngForOf",e)}}function Yie(t,n){if(1&t&&(c(0,"th",5)(1,"span",6),h(2),d(),c(3,"span",7),h(4),d()()),2&t){const e=n.$implicit;b(2),pe(e.long),b(2),pe(e.narrow)}}const Zie=["*"];function Kie(t,n){}function Qie(t,n){if(1&t){const e=Ne();c(0,"mat-month-view",5),V("activeDateChange",function(o){return re(e),se(S().activeDate=o)})("_userSelection",function(o){return re(e),se(S()._dateSelected(o))})("dragStarted",function(o){return re(e),se(S()._dragStarted(o))})("dragEnded",function(o){return re(e),se(S()._dragEnded(o))}),d()}if(2&t){const e=S();k("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Xie(t,n){if(1&t){const e=Ne();c(0,"mat-year-view",6),V("activeDateChange",function(o){return re(e),se(S().activeDate=o)})("monthSelected",function(o){return re(e),se(S()._monthSelectedInYearView(o))})("selectedChange",function(o){return re(e),se(S()._goToDateInView(o,"month"))}),d()}if(2&t){const e=S();k("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Jie(t,n){if(1&t){const e=Ne();c(0,"mat-multi-year-view",7),V("activeDateChange",function(o){return re(e),se(S().activeDate=o)})("yearSelected",function(o){return re(e),se(S()._yearSelectedInMultiYearView(o))})("selectedChange",function(o){return re(e),se(S()._goToDateInView(o,"year"))}),d()}if(2&t){const e=S();k("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function ene(t,n){}const tne=["button"];function ine(t,n){1&t&&($e(),c(0,"svg",3),x(1,"path",4),d())}const nne=[[["","matDatepickerToggleIcon",""]]],one=["[matDatepickerToggleIcon]"];let Th=(()=>{class t{constructor(){this.changes=new fe,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,i){return`${e} \u2013 ${i}`}formatYearRangeLabel(e,i){return`${e} to ${i}`}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Yw{constructor(n,e,i,o,r={},s=n,a){this.value=n,this.displayValue=e,this.ariaLabel=i,this.enabled=o,this.cssClasses=r,this.compareValue=s,this.rawValue=a}}let rne=1;const q5=$o({passive:!1,capture:!0}),ea=$o({passive:!0,capture:!0}),Ug=$o({passive:!0});let id=(()=>{class t{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,i){this._elementRef=e,this._ngZone=i,this._platform=Z(Yt),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new E,this.previewChange=new E,this.activeDateChange=new E,this.dragStarted=new E,this.dragEnded=new E,this._didDragSinceMouseDown=!1,this._enterHandler=o=>{if(this._skipNextFocus&&"focus"===o.type)this._skipNextFocus=!1;else if(o.target&&this.isRange){const r=this._getCellFromElement(o.target);r&&this._ngZone.run(()=>this.previewChange.emit({value:r.enabled?r:null,event:o}))}},this._touchmoveHandler=o=>{if(!this.isRange)return;const r=Y5(o),s=r?this._getCellFromElement(r):null;r!==o.target&&(this._didDragSinceMouseDown=!0),Kw(o.target)&&o.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:s?.enabled?s:null,event:o}))},this._leaveHandler=o=>{null!==this.previewEnd&&this.isRange&&("blur"!==o.type&&(this._didDragSinceMouseDown=!0),o.target&&this._getCellFromElement(o.target)&&(!o.relatedTarget||!this._getCellFromElement(o.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:o})))},this._mousedownHandler=o=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const r=o.target&&this._getCellFromElement(o.target);!r||!this._isInRange(r.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:r.rawValue,event:o})})},this._mouseupHandler=o=>{if(!this.isRange)return;const r=Kw(o.target);r?r.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const s=this._getCellFromElement(r);this.dragEnded.emit({value:s?.rawValue??null,event:o})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:o})})},this._touchendHandler=o=>{const r=Y5(o);r&&this._mouseupHandler({target:r})},this._id="mat-calendar-body-"+rne++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,i.runOutsideAngular(()=>{const o=e.nativeElement;o.addEventListener("touchmove",this._touchmoveHandler,q5),o.addEventListener("mouseenter",this._enterHandler,ea),o.addEventListener("focus",this._enterHandler,ea),o.addEventListener("mouseleave",this._leaveHandler,ea),o.addEventListener("blur",this._leaveHandler,ea),o.addEventListener("mousedown",this._mousedownHandler,Ug),o.addEventListener("touchstart",this._mousedownHandler,Ug),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}
1_cellClicked(e,i){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:i})}_emitActiveDateChange(e,i){e.enabled&&this.activeDateChange.emit({value:e.value,event:i})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const i=e.numCols,{rows:o,numCols:r}=this;(e.rows||i)&&(this._firstRowOffset=o&&o.length&&o[0].length?r-o[0].length:0),(e.cellAspectRatio||i||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/r+"%"),(i||!this._cellWidth)&&(this._cellWidth=100/r+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,q5),e.removeEventListener("mouseenter",this._enterHandler,ea),e.removeEventListener("focus",this._enterHandler,ea),e.removeEventListener("mouseleave",this._leaveHandler,ea),e.removeEventListener("blur",this._leaveHandler,ea),e.removeEventListener("mousedown",this._mousedownHandler,Ug),e.removeEventListener("touchstart",this._mousedownHandler,Ug),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,i){let o=e*this.numCols+i;return e&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(at(1)).subscribe(()=>{setTimeout(()=>{const i=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");i&&(e||(this._skipNextFocus=!0),i.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Qw(e,this.startValue,this.endValue)}_isRangeEnd(e){return Xw(e,this.startValue,this.endValue)}_isInRange(e){return Jw(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Qw(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,i,o){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[i][o-1];if(!r){const s=this.rows[i-1];r=s&&s[s.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,i,o){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[i][o+1];if(!r){const s=this.rows[i+1];r=s&&s[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return Xw(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Jw(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Qw(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Xw(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Jw(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const i=Kw(e);if(i){const o=i.getAttribute("data-mat-row"),r=i.getAttribute("data-mat-col");if(o&&r)return this.rows[parseInt(o)][parseInt(r)]}return null}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie))};static#t=this.\u0275cmp=O({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Fe],attrs:$ie,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,o){1&i&&(T(0,Uie,3,6,"tr",0)(1,qie,3,2,"tr",1),c(2,"label",2),h(3),d(),c(4,"label",2),h(5),d()),2&i&&(k("ngIf",o._firstRowOffset<o.labelMinRequiredCells),b(1),k("ngForOf",o.rows),b(1),k("id",o._startDateLabelId),b(1),ce(" ",o.startDateAccessibleName,"\n"),b(1),k("id",o._endDateLabelId),b(1),ce(" ",o.endDateAccessibleName,"\n"))},dependencies:[Ti,th,Ki],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}
1.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}
1.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return t})();function Zw(t){return"TD"===t?.nodeName}function Kw(t){let n;return Zw(t)?n=t:Zw(t.parentNode)?n=t.parentNode:Zw(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),null!=n?.getAttribute("data-mat-row")?n:null}function Qw(t,n,e){return null!==e&&n!==e&&t<e&&t===n}function Xw(t,n,e){return null!==n&&n!==e&&t>=n&&t===e}function Jw(t,n,e,i){return i&&null!==n&&null!==e&&n!==e&&t>=n&&t<=e}function Y5(t){const n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}class Fn{constructor(n,e){this.start=n,this.end=e}}let ta=(()=>{class t{constructor(e,i){this.selection=e,this._adapter=i,this._selectionChanged=new fe,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,i){const o=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:i,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),sne=(()=>{class t extends ta{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}static#e=this.\u0275fac=function(i){return new(i||t)(R(un))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const Z5={provide:ta,deps:[[new Fo,new Vr,ta],un],useFactory:function lne(t,n){return t||new sne(n)}},Wg=new B("MAT_DATE_RANGE_SELECTION_STRATEGY");let K5=(()=>{class t{get activeDate(){return this._activeDate}set activeDate(e){const i=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(i,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Fn?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,o,r,s){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=o,this._dir=r,this._rangeStrategy=s,this._rerenderSubscription=pt.EMPTY,this.activeDrag=null,this.selectedChange=new E,this._userSelection=new E,this.dragStarted=new E,this.dragEnded=new E,this.activeDateChange=new E,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ei(null)).subscribe(()=>this._init())}ngOnChanges(e){const i=e.comparisonStart||e.comparisonEnd;i&&!i.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const i=e.value,o=this._getDateFromDayOfMonth(i);let r,s;this._selected instanceof Fn?(r=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):r=s=this._getDateInCurrentMonth(this._selected),(r!==i||s!==i)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case 27:return void(null!=this._previewEnd&&!dn(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeek
1days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:i}){if(this._rangeStrategy){const o=i?i.rawValue:null,r=this._rangeStrategy.createPreview(o,this.selected,e);if(this._previewStart=this._getCellCompareValue(r.start),this._previewEnd=this._getCellCompareValue(r.end),this.activeDrag&&o){const s=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,e);s&&(this._previewStart=this._getCellCompareValue(s.start),this._previewEnd=this._getCellCompareValue(s.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const i=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:i??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow");let r=this._dateAdapter.getDayOfWeekNames("long").map((s,a)=>({long:s,narrow:i[a]}));this._weekdays=r.slice(e).concat(r.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),i=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,r=this._firstWeekOffset;o<e;o++,r++){7==r&&(this._weeks.push([]),r=0);const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),o+1),a=this._shouldEnableDate(s),l=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(s,"month"):void 0;this._weeks[this._weeks.length-1].push(new Yw(o+1,i[o],l,a,u,this._getCellCompareValue(s),s))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,i){return!(!e||!i||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(i)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(i))}_getCellCompareValue(e){if(e){const i=this._dateAdapter.getYear(e),o=this._dateAdapter.getMonth(e),r=this._dateAdapter.getDate(e);return new Date(i,o,r).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof Fn?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(il,8),v(un,8),v(uo,8),v(Wg,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,o){if(1&i&&me(id,5),2&i){let r;H(r=j())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Fe],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(i,o){1&i&&(c(0,"table",0)(1,"thead",1)(2,"tr"),T(3,Yie,5,2,"th",2),d(),c(4,"tr"),x(5,"th",3),d()(),c(6,"tbody",4),V("selectedValueChange",function(s){return o._dateSelected(s)})("activeDateChange",function(s){return o._updateActiveDate(s)})("previewChange",function(s){return o._previewChanged(s)})("dragStarted",function(s){return o.dragStarted.emit(s)})("dragEnded",function(s){return o._dragEnded(s)})("keyup",function(s){return o._handleCalendarBodyKeyup(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),2&i&&(b(3),k("ngForOf",o._weekdays),b(3),k("label",o._monthLabel)("rows",o._weeks)("todayValue",o._todayDate)("startValue",o._rangeStart)("endValue",o._rangeEnd)("comparisonStart",o._comparisonRangeStart)("comparisonEnd",o._comparisonRangeEnd)("previewStart",o._previewStart)("previewEnd",o._previewEnd)("isRange",o._isRange)("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[th,id],encapsulation:2,changeDetection:0})}return t})();const ho=24;let Q5=(()=>{class t{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),X5(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Fn?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}
1get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,o){this._changeDetectorRef=e,this._dateAdapter=i,this._dir=o,this._rerenderSubscription=pt.EMPTY,this.selectedChange=new E,this.yearSelected=new E,this.activeDateChange=new E,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ei(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const i=this._dateAdapter.getYear(this._activeDate)-Ih(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let o=0,r=[];o<ho;o++)r.push(i+o),4==r.length&&(this._years.push(r.map(s=>this._createCellForYear(s))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const i=e.value,o=this._dateAdapter.createDate(i,0,1),r=this._getDateFromYear(i);this.yearSelected.emit(o),this.selectedChange.emit(r)}_updateActiveDate(e){const o=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ih(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ho-Ih(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-ho:-ho);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*ho:ho);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ih(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const i=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,i,1));return this._dateAdapter.createDate(e,i,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(e){const i=this._dateAdapter.createDate(e,0,1),o=this._dateAdapter.getYearName(i),r=this.dateClass?this.dateClass(i,"multi-year"):void 0;return new Yw(e,o,o,this._shouldEnableYear(e),r)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let o=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(o)==e;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof Fn){const i=e.start||e.end;i&&(this._selectedYear=this._dateAdapter.getYear(i))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(un,8),v(uo,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,o){if(1&i&&me(id,5),2&i){let r;H(r=j())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(i,o){1&i&&(c(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),d()(),c(4,"tbody",3),V("selectedValueChange",function(s){return o._yearSelected(s)})("activeDateChange",function(s){return o._updateActiveDate(s)})("keyup",function(s){return o._handleCalendarBodyKeyup(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),2&i&&(b(4),k("rows",o._years)("todayValue",o._todayYear)("startValue",o._selectedYear)("endValue",o._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",o._getActiveCell()))},dependencies:[id],encapsulation:2,changeDetection:0})}return t})();function X5(t,n,e,i,o){const r=t.getYear(n),s=t.getYear(e),a=J5(t,i,o);return Math.floor((r-a)/ho)===Math.floor((s-a)/ho)}function Ih(t,n,e,i){return function hne(t,n){return(t%n+n)%n}(t.getYear(n)-J5(t,e,i),ho)}function J5(t,n,e){let i=0;return e?i=t.getYear(e)-ho+1:n&&(i=t.getYear(n)),i}let eR=(()=>{class t{get activeDate(){return this._activeDate}set activeDate(e){let i=this._activeDate;const o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(i)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof Fn?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}
1get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,i,o,r){this._changeDetectorRef=e,this._dateFormats=i,this._dateAdapter=o,this._dir=r,this._rerenderSubscription=pt.EMPTY,this.selectedChange=new E,this.monthSelected=new E,this.activeDateChange=new E,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(ei(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const i=e.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1);this.monthSelected.emit(o);const r=this._getDateFromMonth(i);this.selectedChange.emit(r)}_updateActiveDate(e){const o=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const i=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(i,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(32===e.keyCode||13===e.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(i=>i.map(o=>this._createCellForMonth(o,e[o]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.getNumDaysInMonth(i);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(e,i){const o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(o,"year"):void 0;return new Yw(e,i.toLocaleUpperCase(),r,this._shouldEnableMonth(e),s)}_shouldEnableMonth(e){const i=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(i,e)||this._isYearAndMonthBeforeMinDate(i,e))return!1;if(!this.dateFilter)return!0;for(let r=this._dateAdapter.createDate(i,e,1);this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,i){if(this.maxDate){const o=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>o||e===o&&i>r}return!1}_isYearAndMonthBeforeMinDate(e,i){if(this.minDate){const o=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e<o||e===o&&i<r}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof Fn?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(wt),v(il,8),v(un,8),v(uo,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,o){if(1&i&&me(id,5),2&i){let r;H(r=j())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(i,o){1&i&&(c(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),d()(),c(4,"tbody",3),V("selectedValueChange",function(s){return o._monthSelected(s)})("activeDateChange",function(s){return o._updateActiveDate(s)})("keyup",function(s){return o._handleCalendarBodyKeyup(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),2&i&&(b(4),k("label",o._yearLabel)("rows",o._months)("todayValue",o._todayMonth)("startValue",o._selectedMonth)("endValue",o._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",o._dateAdapter.getMonth(o.activeDate)))},dependencies:[id],encapsulation:2,changeDetection:0})}return t})(),mne=1,pne=(()=>{class t{constructor(e,i,o,r,s){this._intl=e,this.calendar=i,this._dateAdapter=o,this._dateFormats=r,this._id="mat-calendar-header-"+mne++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>s.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-ho)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:ho)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,i){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(i):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(i):X5(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const i=this._dateAdapter.getYear(this.calendar.activeDate)-Ih(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=i+ho-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1))]}static#e=this.\u0275fac=function(i){return new(i||t)(v(Th),v(bt(()=>ix)),v(un,8),v(il,8),v(wt))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Zie,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-control
1s"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(i,o){1&i&&(it(),c(0,"div",0)(1,"div",1)(2,"button",2),V("click",function(){return o.currentPeriodClicked()}),c(3,"span",3),h(4),d(),$e(),c(5,"svg",4),x(6,"polygon",5),d()(),tr(),x(7,"div",6),ge(8),c(9,"button",7),V("click",function(){return o.previousClicked()}),d(),c(10,"button",8),V("click",function(){return o.nextClicked()}),d()()(),c(11,"label",9),h(12),d()),2&i&&(b(2),ke("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),b(2),pe(o.periodButtonText),b(1),je("mat-calendar-invert","month"!==o.calendar.currentView),b(4),k("disabled",!o.previousEnabled()),ke("aria-label",o.prevButtonLabel),b(1),k("disabled",!o.nextEnabled()),ke("aria-label",o.nextButtonLabel),b(1),k("id",o._periodButtonLabelId),b(1),pe(o.periodButtonDescription))},dependencies:[zw,P5],encapsulation:2,changeDetection:0})}return t})(),ix=(()=>{class t{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof Fn?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const i=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),i&&this.viewChanged.emit(i)}constructor(e,i,o,r){this._dateAdapter=i,this._dateFormats=o,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new E,this.yearSelected=new E,this.monthSelected=new E,this.viewChanged=new E(!0),this._userSelection=new E,this._userDragDrop=new E,this._activeDrag=null,this.stateChanges=new fe,this._intlChanges=e.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new sl(this.headerComponent||pne),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const i=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,o=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,r=i||o||e.dateFilter;if(r&&!r.firstChange){const s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const i=e.value;(this.selected instanceof Fn||i&&!this._dateAdapter.sameDate(i,this.selected))&&this.selectedChange.emit(i),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,i){this.activeDate=e,this.currentView=i}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(i){return new(i||t)(v(Th),v(un,8),v(il,8),v(wt))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,o){if(1&i&&(me(K
15,5),me(eR,5),me(Q5,5)),2&i){let r;H(r=j())&&(o.monthView=r.first),H(r=j())&&(o.yearView=r.first),H(r=j())&&(o.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Te([Z5]),Fe],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(i,o){1&i&&(T(0,Kie,0,0,"ng-template",0),c(1,"div",1),T(2,Qie,1,11,"mat-month-view",2)(3,Xie,1,6,"mat-year-view",3)(4,Jie,1,6,"mat-multi-year-view",4),d()),2&i&&(k("cdkPortalOutlet",o._calendarHeaderPortal),b(1),k("ngSwitch",o.currentView),b(1),k("ngSwitchCase","month"),b(1),k("ngSwitchCase","year"),b(1),k("ngSwitchCase","multi-year"))},dependencies:[zc,Gf,wJ,al,K5,eR,Q5],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return t})();const tR={transformPanel:Yn("transformPanel",[hi("void => enter-dropdown",ui("120ms cubic-bezier(0, 0, 0.2, 1)",h5([lt({opacity:0,transform:"scale(1, 0.8)"}),lt({opacity:1,transform:"scale(1, 1)"})]))),hi("void => enter-dialog",ui("150ms cubic-bezier(0, 0, 0.2, 1)",h5([lt({opacity:0,transform:"scale(0.7)"}),lt({transform:"none",opacity:1})]))),hi("* => void",ui("100ms linear",lt({opacity:0}
1)))]),fadeInCalendar:Yn("fadeInCalendar",[ji("void",lt({opacity:0})),ji("enter",lt({opacity:1})),hi("void => *",ui("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let fne=0;const iR=new B("mat-datepicker-scroll-strategy"),_ne={provide:iR,deps:[yn],useFactory:function gne(t){return()=>t.scrollStrategies.reposition()}},bne=tl(class{constructor(t){this._elementRef=t}});let vne=(()=>{class t extends bne{constructor(e,i,o,r,s,a){super(e),this._changeDetectorRef=i,this._globalModel=o,this._dateAdapter=r,this._rangeSelectionStrategy=s,this._subscriptions=new pt,this._animationDone=new fe,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=a.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const i=this._model.selection,o=e.value,r=i instanceof Fn;if(r&&this._rangeSelectionStrategy){const s=this._rangeSelectionStrategy.selectionFinished(o,i,e.event);this._model.updateSelection(s,this)}else o&&(r||!this._dateAdapter.sameDate(o,i))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,i){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,i&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(wt),v(ta),v(un),v(Wg,8),v(Th))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,o){if(1&i&&me(ix,5),2&i){let r;H(r=j())&&(o._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(i,o){1&i&&bf("@transformPanel.start",function(s){return o._handleAnimationEvent(s)})("@transformPanel.done",function(s){return o._handleAnimationEvent(s)}),2&i&&(mf("@transformPanel",o._animationState),je("mat-datepicker-content-touch",o.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Y],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(i,o){if(1&i&&(c(0,"div",0)(1,"mat-calendar",1),V("yearSelected",function(s){return o.datepicker._selectYear(s)})("monthSelected",function(s){return o.datepicker._selectMonth(s)})("viewChanged",function(s){return o.datepicker._viewChanged(s)})("_userSelection",function(s){return o._handleUserSelection(s)})("_userDragDrop",function(s){return o._handleUserDragDrop(s)}),d(),T(2,ene,0,0,"ng-template",2),c(3,"button",3),V("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),h(4),d()()),2&i){let r;je("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),ke("aria-modal",!0)("aria-labelledby",null!==(r=o._dialogLabelId)&&void 0!==r?r:void 0),b(1),k("id",o.datepicker.id)("ngClass",o.datepicker.panelClass)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),b(1),k("cdkPortalOutlet",o._actionsPortal),b(1),je("cdk-visually-hidden",!o._closeButtonF
1ocused),k("color",o.color||"primary"),b(1),pe(o._closeButtonText)}},dependencies:[Ti,zw,hJ,al,ix],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-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);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[tR.transformPanel,tR.fadeInCalendar]},changeDetection:0})}return t})(),nR=(()=>{class t{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=ze(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const i=ze(e);i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=ze(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=b3(e)}get opened(){return this._opened}set opened(e){ze(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,i,o,r,s,a,l){this._overlay=e,this._ngZone=i,this._viewContainerRef=o,this._dateAdapter=s,this._dir=a,this._model=l,this._inputStateChanges=pt.EMPTY,this._document=Z(Ve),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new E,this.monthSelected=new E,this.viewChanged=new E(!0),this.openedStream=new E,this.closedStream
1=new E,this._opened=!1,this.id="mat-datepicker-"+fne++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new fe,this._scrollStrategy=r}ngOnChanges(e){const i=e.xPosition||e.yPosition;if(i&&!i.firstChange&&this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;o instanceof l5&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=Zc(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,i=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:o,location:r}=this._componentRef;o._startExitAnimation(),o._animationDone.pipe(at(1)).subscribe(()=>{const s=this._document.activeElement;e&&(!s||s===this._document.activeElement||r.nativeElement.contains(s))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(i):i()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,i=new sl(vne,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new Xc({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(o).subscribe(r=>{r&&r.preventDefault(),this.close()}),o.keydownEvents().subscribe(r=>{const s=r.keyCode;(38===s||40===s||37===s||39===s||33===s||34===s)&&r.preventDefault()}),this._componentRef=o.attach(i),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe(at(1)).subscribe(()=>o.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const i="end"===this.xPosition?"end":"start",o="start"===i?"end":"start",r="above"===this.yPosition?"bottom":"top",s="top"===r?"bottom":"top";return e.withPositions([{originX:i,originY:s,overlayX:i,overlayY:r},{originX:i,originY:r,overlayX:i,overlayY:s},{originX:o,originY:s,overlayX:o,overlayY:r},{originX:o,originY:r,overlayX:o,overlayY:s}])}_getCloseStream(e){const i=["ctrlKey","shiftKey","metaKey"];return hn(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(yt(o=>27===o.keyCode&&!dn(o)||this.datepickerInput&&dn(o,"altKey")&&38===o.keyCode&&i.every(r=>!dn(o,r)))))}static#e=this.\u0275fac=function(i){return new(i||t)(v(yn),v(ie),v(yi),v(iR),v(un,8),v(uo,8),v(ta))};static#t=this.\u0275dir=N({type:t,inputs:{calendarHeaderComponent:"
1calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[Fe]})}return t})(),yne=(()=>{class t extends nR{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Te([Z5,{provide:nR,useExisting:t}]),Y],decls:0,vars:0,template:function(i,o){},encapsulation:2,changeDetection:0})}return t})();class Gg{constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}}let wne=(()=>{class t{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const i=ze(e),o=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this.stateChanges.next(void 0)),i&&this._isInitialized&&o.blur&&o.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(i=>{if(this._shouldHandleChangeEvent(i)){const o=this._getValueFromModel(i.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new Gg(this,this._elementRef.nativeElement)),this.dateChange.emit(new Gg(this,this._elementRef.nativeElement))}})}constructor(e,i,o){this._elementRef=e,this._dateAdapter=i,this._dateFormats=o,this.dateChange=new E,this.dateInput=new E,this.stateChanges=new fe,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=pt.EMPTY,this._localeSubscription=pt.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=r=>{const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(r.value));return!s||this._matchesFilter(s)?null:{matDatepickerFilter:!0}},this._minValidator=r=>{const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(r.value)),a=this._getMinDate();return!a||!s||this._dateAdapter.compareDate(a,s)<=0?null:{matDatepickerMin:{min:a,actual:s}}},this._maxValidator=r=>{const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(r.value)),a=this._getMaxDate();return!a||!s||this._dateAdapter.compareDate(a,s)>=0?null:{matDatepickerMax:{max:a,actual:s}}},this._lastValueValid=!1,this._localeSubscription=i.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function xne(t,n){const e=Object.keys(t);for(let i of e){const{previousValue:o,currentValue:r}=t[i];if(!n.isDateInstance(o)||!n.isDateInstance(r))return!0;if(!n.sameDate(o,r))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){dn(e,"altKey")&&40===e.keyCode&&["ctrlKey","shiftKey","metaKey"].every(r=>!dn(e,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const i=this._lastValueValid;let o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);const r=!this._dateAdapter.sameDate(o,this.value);!o||r?this._cvaOnChange(o):(e&&!this.value&&this._cvaOnChange(o),i!==this._lastValueValid&&this._val
1idatorOnChange()),r&&(this._assignValue(o),this.dateInput.emit(new Gg(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Gg(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const i=this._getDateFilter();return!i||i(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(un,8),v(il,8))};static#t=this.\u0275dir=N({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Fe]})}return t})();const Cne={provide:vn,useExisting:bt(()=>nx),multi:!0},kne={provide:on,useExisting:bt(()=>nx),multi:!0};let nx=(()=>{class t extends wne{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._min)||(this._min=i,this._validatorOnChange())}get max(){return this._max}set max(e){const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(i,this._max)||(this._max=i,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const i=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==i&&this._validatorOnChange()}constructor(e,i,o,r){super(e,i,o),this._formField=r,this._closedSubscription=pt.EMPTY,this._validator=Ae.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(un,8),v(il,8),v(Eh,8))};static#t=this.\u0275dir=N({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,o){1&i&&V("input",function(s){return o._onInput(s.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(s){return o._onKeydown(s)}),2&i&&(En("disabled",o.disabled),ke("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",(null==o._datepicker?null:o._datepicker.opened)&&o._datepicker.id||null)("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Te([Cne,kne,{provide:G5,useExisting:t}]),Y]})}return t})(),Mne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),Dne=(()=>{class t{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=ze(e)}constructor(e,i,o){this._intl=e,this._changeDetectorRef=i,this._stateChanges=pt.EMPTY;const r=Number(o);this.tabIndex=r||0===r?r:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:xe(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:xe(),o=this.datepicker?hn(this.datepicker.openedStream,this.datepicker.closedStream):xe();this._stateChanges.unsubscribe(),this._stateChanges=hn(this._intl.changes,e,i,o).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||t)(v(Th),v(wt),Ro("tabindex"))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-datepicker-toggle"]],c
1ontentQueries:function(i,o,r){if(1&i&&Ie(r,Mne,5),2&i){let s;H(s=j())&&(o._customIcon=s.first)}},viewQuery:function(i,o){if(1&i&&me(tne,5),2&i){let r;H(r=j())&&(o._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,o){1&i&&V("click",function(s){return o._open(s)}),2&i&&(ke("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),je("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&"accent"===o.datepicker.color)("mat-warn",o.datepicker&&"warn"===o.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Fe],ngContentSelectors:one,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,o){1&i&&(it(nne),c(0,"button",0,1),T(2,ine,2,0,"svg",2),ge(3),d()),2&i&&(k("disabled",o.disabled)("disableRipple",o.disableRipple),ke("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("tabindex",o.disabled?-1:o.tabIndex),b(2),k("ngIf",!o._customIcon))},dependencies:[Ki,P5],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return t})(),Tne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[Th,_ne],imports:[ne,Vg,Js,kg,Xs,Qe,rl]})}return t})();function Ine(t,n){}class qg{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 rR=(()=>{class t extends Pg{constructor(e,i,o,r,s,a,l,u){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=m=>{this._portalOutlet.hasAttached();const p=this._portalOutlet.attachDomPortal(m);return this._contentAttached(),p},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){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 o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){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.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_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 o=Zc(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(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=Zc();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Zc())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(xg),v(Ve,8),v(qg),v(wg),v(ie),v(Dh),v(ts))};static#t=this.\u0275cmp=O({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&me(al,7),2&i){let r;H(r=j())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&ke("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[Y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&T(0,Ine,0,0,"ng-template",0)},dependencies:[al],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return t})();class rx{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new fe,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!dn(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const sR=new B("DialogScrollStrategy"),Ane=new B("DialogData"),Pne=new B("DefaultDialogConfig"),Rne={provide:sR,deps:[yn],useFactory:function One(t){return()=>t.scrollStrategies.block()}};let Fne=0,aR=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,r,s,a){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new fe,this._afterOpenedAtThisLevel=new fe,this._ariaHiddenElements=new Map,this.afterAllClosed=cl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ei(void 0))),this._scrollStrategy=a}open(e,i){(i={...this._defaultOptions||new qg,...i}).id=i.id||"cdk-dialog-"+Fne++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new rx(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(){sx(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){sx(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),sx(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Xc({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,o){const r=o.injector||o.viewContainerRef?.injector,s=[{provide:qg,useValue:o},{provide:rx,useValue:i},{provide:Dh,useValue:e}];let a;o.container?"function"==typeof o.container?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=rR;const l=new sl(a,o.viewContainerRef,Xt.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,o,r){if(e instanceof nt){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Mh(e,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new sl(e,r.viewContainerRef,s,r.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,o,r){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:Ane,useValue:e.data},{provide:rx,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,o)):a.push(...e.providers)),e.direction&&(!s||!s.get(uo,null,{optional:!0}))&&a.push({provide:uo,useValue:{value:e.direction,change:xe()}}),Xt.create({parent:s||r,providers:a})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((r,s)=>{r?s.setAttribute("aria-hidden",r):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 o=i.length-1;o>-1;o--){const r=i[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(i){return new(i||t)(R(yn),R(Xt),R(Pne,8),R(t,12),R(Og),R(sR))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function sx(t,n){let e=t.length;for(;e--;)n(t[e])}let Lne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[aR,Rne],imports:[Js,Xs,kg,Xs]})}return t})();function Nne(t,n){}class Yg{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",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 ax="mdc-dialog--open",lR="mdc-dialog--opening",cR="mdc-dialog--closing";let zne=(()=>{class t extends rR{constructor(e,i,o,r,s,a,l,u){super(e,i,o,r,s,a,l,u),this._animationStateChanged=new E}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(xg),v(Ve,8),v(Yg),v(wg),v(ie),v(Dh),v(ts))};static#t=this.\u0275cmp=O({type:t,selectors:[["ng-component"]],features:[Y],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})();const dR="--mat-dialog-transition-duration";function uR(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?Qs(t.substring(0,t.length-2)):t.endsWith("s")?1e3*Qs(t.substring(0,t.length-1)):"0"===t?0:null}let Hne=(()=>{class t extends zne{constructor(e,i,o,r,s,a,l,u,m){super(e,i,o,r,s,a,l,m),this._animationMode=u,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?uR(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?uR(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()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(dR,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(lR,ax)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ax),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ax),this._animationsEnabled?(this._hostElement.style.setProperty(dR,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(cR)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(lR,cR)}_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()})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(xg),v(Ve,8),v(Yg),v(wg),v(ie),v(Dh),v(tn,8),v(ts))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){2&i&&(En("id",o._config.id),ke("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),je("_mat-animation-noopable",!o._animationsEnabled))},features:[Y],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1),T(2,Nne,0,0,"ng-template",2),d()())},dependencies:[al],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}
1@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.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}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.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)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-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);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 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))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{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}'],encapsulation:2})}return t})();class hR{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new fe,this._beforeClosed=new fe,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(yt(o=>"opened"===o.state),at(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(yt(o=>"closed"===o.state),at(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),hn(this.backdropClick(),this.keydownEvents().pipe(yt(o=>27===o.keyCode&&!this.disableClose&&!dn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),mR(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(yt(e=>"closing"===e.state),at(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,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(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function mR(t,n,e){return t._closeInteractionType=n,t.close(e)}const jne=new B("MatMdcDialogData"),$ne=new B("mat-mdc-dialog-default-options"),pR=new B("mat-mdc-dialog-scroll-strategy"),Wne={provide:pR,deps:[yn],useFactory:function Une(t){return()=>t.scrollStrategies.block()}};let Gne=0,qne=(()=>{class t{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,o,r,s,a,l,u,m,p){this._overlay=e,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=l,this._dialogContainerType=u,this._dialogDataToken=m,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new fe,this._afterOpenedAtThisLevel=new fe,this._idPrefix="mat-dialog-",this.dialogConfigClass=Yg,this.afterAllClosed=cl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ei(void 0))),this._scrollStrategy=a,this._dialog=i.get(aR)}open(e,i){let o;(i={...this._defaultOptions||new Yg,...i}).id=i.id||`${this._idPrefix}${Gne++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=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:qg,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,l)=>(o=new this._dialogRefConstructor(s,i,l),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}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#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),fR=(()=>{class t extends qne{constructor(e,i,o,r,s,a,l,u){super(e,i,r,a,l,s,hR,Hne,jne,u),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(i){return new(i||t)(R(yn),R(Xt),R(mr,8),R($ne,8),R(pR),R(t,12),R(Og),R(tn,8))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),gR=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Yne(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){mR(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(i){return new(i||t)(v(hR,8),v(be),v(fR))};static#t=this.\u0275dir=N({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){1&i&&V("click",function(s){return o._onButtonClick(s)}),2&i&&ke("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Fe]})}return t}
1)(),Zne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[fR,Wne],imports:[Lne,Js,Xs,Qe,Qe]})}return t})(),Kne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})(),Qne=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[ne,Qe,Kne,Xs]})}return t})(),eoe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[N3,Qe,N3,Qe]})}return t})();function nd(t,n){const e=kt(t)?t:()=>t,i=o=>o.error(e());return new Lt(n?o=>n.schedule(i,0,o):i)}function Xi(t){return bi((n,e)=>{let r,i=null,o=!1;i=n.subscribe(ai(e,void 0,void 0,s=>{r=Gn(t(s,Xi(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}const toe=["*"];let Zg;function Ah(t){return function ioe(){if(void 0===Zg&&(Zg=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Zg=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Zg}()?.createHTML(t)||t}function yR(t){return Error(`Unable to find icon with the name "${t}"`)}function wR(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function xR(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class hl{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Kg=(()=>{class t{constructor(e,i,o,r){this._httpClient=e,this._sanitizer=i,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,r){return this._addSvgIconConfig(e,i,new hl(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,r){const s=this._sanitizer.sanitize(nn.HTML,o);if(!s)throw xR(o);const a=Ah(s);return this._addSvgIconConfig(e,i,new hl("",a,r))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new hl(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const r=this._sanitizer.sanitize(nn.HTML,i);if(!r)throw xR(i);const s=Ah(r);return this._addSvgIconSetConfig(e,new hl("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(nn.RESOURCE_URL,e);if(!i)throw wR(e);const o=this._cachedIconsByUrl.get(i);return o?xe(Qg(o)):this._loadSvgIconFromConfig(new hl(e,null)).pipe(xt(r=>this._cachedIconsByUrl.set(i,r)),te(r=>Qg(r)))}getNamedSvgIcon(e,i=""){const o=CR(i,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(i,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):nd(yR(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?xe(Qg(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(te(i=>Qg(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?xe(o):oO(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Xi(a=>{const u=`Loading icon set URL: ${this._sanitizer.sanitize(nn.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(u)),xe(null)})))).pipe(te(()=>
vendor: 5,528 bytes, line 1
1{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw yR(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const r=i[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(r),a=this._extractSvgIconFromSet(s,e,r.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(xt(i=>e.svgText=i),te(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?xe(null):this._fetchIcon(e).pipe(xt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const r=e.querySelector(`[id="${i}"]`);if(!r)return null;const s=r.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,o);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),o);const a=this._svgElementFromString(Ah("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(Ah("<svg></svg>")),o=e.attributes;for(let r=0;r<o.length;r++){const{name:s,value:a}=o[r];"id"!==s&&i.setAttribute(s,a)}for(let r=0;r<e.childNodes.length;r++)e.childNodes[r].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[r].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){const{url:i,options:o}=e,r=o?.withCredentials??!1;if(!this._httpClient)throw function noe(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(nn.RESOURCE_URL,i);if(!s)throw wR(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:r}).pipe(te(u=>Ah(u)),jc(()=>this._inProgressUrlFetches.delete(s)),p5());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(CR(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;o<this._resolvers.length;o++){const r=this._resolvers[o](i,e);if(r)return roe(r)?new hl(r.url,null,r.options):new hl(r,null)}}static#e=this.\u0275fac=function(i){return new(i||t)(R(Bt,8),R(Zf),R(Ve,8),R(bo))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Qg(t){return t.cloneNode(!0)}function CR(t,n){return t+":"+n}function roe(t){return!(!t.url||!t.options)}const soe=tl(class{constructor(t){this._elementRef=t}}),aoe=new B("MAT_ICON_DEFAULT_OPTIONS"),loe=new B("mat-icon-location",{providedIn:"root",factory:function coe(){const t=Z(Ve),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),kR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],doe=kR.map(t=>`[${t}]`).join(", "),uoe=/^url\(['"]?#(.*?)['"]?\)$/;let lx=(()=>{class t extends soe{get inline(){return this._inline}set inline(e){this._inline=ze(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,r,s,a){super(e),this._iconRegistry=i,this._location=r,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=pt.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}
vendor: 1,027 bytes, line 1
1_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,r)=>{o.forEach(s=>{r.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(doe),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r<i.length;
1r++)kR.forEach(s=>{const a=i[r],l=a.getAttribute(s),u=l?l.match(uoe):null;if(u){let m=o.get(a);m||(m=[],o.set(a,m)),m.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(at(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${r.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Kg),Ro("aria-hidden"),v(loe),v(bo),v(aoe,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){2&i&&(ke("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),je("mat-icon-inline",o.inline)("mat-icon-no-color","primary"!==o.color&&"accent"!==o.color&&"warn"!==o.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Y],ngContentSelectors:toe,decls:1,vars:0,template:function(i,o){1&i&&(it(),ge(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return t})(),MR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Qe]})}return t})(),hoe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Qe]})}return t})();function cx(){return bi((t,n)=>{let e=null;t._refCount++;const i=ai(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class dx extends Lt{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Ck(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new pt;const e=this.getSubject();n.add(this.source.subscribe(ai(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=pt.EMPTY)}return n}refCount(){return cx()(this)}}const TR=["*"],AR=["unscopedContent"],moe=["text"],poe=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],foe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],PR=new B("ListOption");let hx=(()=>{class t{constructor(e){this._elementRef=e}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),mx=(()=>{class t{constructor(e){this._elementRef=e}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),Ooe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),OR=(()=>{class t{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(i){return new(i||t)(v(PR,8))};static#t=this.\u0275dir=N({type:t,hostVars:4,hostBindings:function(i,o){2&i&&je("mdc-list-item__start",o._isAlignedAtStart())("mdc-list-item__end",!o._isAlignedAtStart())}})}return t})(),Roe=(()=>{class t extends OR{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[Y]})}return t})(),Foe=(()=>{class t extends OR{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[Y]})}return t})();const Loe=new B("MAT_LIST_CONFIG");let od=(()=>{class t{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=Z(Loe,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ze(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,hostVars:1,hostBindings:function(i,o){2&i&&ke("aria-disabled",o.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),px=(()=>{class t{set lines(e){this._explicitLines=Qs(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=ze(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=ze(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,o,r,s,a){this._elementRef=e,this._ngZone=i,this._listBase=o,this._platform=r,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new pt,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=s||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===a,o&&!o._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new xh(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(hn(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}
1_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const i=this._explicitLines??this._inferLinesFromContent(),o=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===i),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===i),this._hasUnscopedTextContent){const r=0===this._titles.length&&1===i;o.classList.toggle("mdc-list-item__primary-text",r),o.classList.toggle("mdc-list-item__secondary-text",!r)}else o.classList.remove("mdc-list-item__primary-text"),o.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie),v(od,8),v(Yt),v(nl,8),v(tn,8))};static#t=this.\u0275dir=N({type:t,contentQueries:function(i,o,r){if(1&i&&(Ie(r,Roe,4),Ie(r,Foe,4)),2&i){let s;H(s=j())&&(o._avatars=s),H(s=j())&&(o._icons=s)}},hostVars:4,hostBindings:function(i,o){2&i&&(ke("aria-disabled",o.disabled)("disabled",o._isButtonElement&&o.disabled||null),je("mdc-list-item--disabled",o.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),Noe=(()=>{class t extends od{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Te([{provide:od,useExisting:t}]),Y],ngContentSelectors:TR,decls:1,vars:0,template:function(i,o){1&i&&(it(),ge(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-
1item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inse
1t[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{o
1pacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}return t})(),Boe=(()=>{class t extends px{get activated(){return this._activated}set activated(e){this._activated=ze(e)}constructor(e,i,o,r,s,a){super(e,i,o,r,s,a),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie),v(od,8),v(Yt),v(nl,8),v(tn,8))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,o,r){if(1&i&&(Ie(r,mx,5),Ie(r,hx,5),Ie(r,Ooe,5)),2&i){let s;H(s=j())&&(o._lines=s),H(s=j())&&(o._titles=s),H(s=j())&&(o._meta=s)}},viewQuery:function(i,o){if(1&i&&(me(AR,5),me(moe,5)),2&i){let r;H(r=j())&&(o._unscopedContent=r.first),H(r=j())&&(o._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(i,o){2&i&&(ke("aria-current",o._getAriaCurrent()),je("mdc-list-item--activated",o.activated)("mdc-list-item--with-leading-avatar",0!==o._avatars.length)("mdc-list-item--with-leading-icon",0!==o._icons.length)("mdc-list-item--with-trailing-meta",0!==o._meta.length)("_mat-animation-noopable",o._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[Y],ngContentSelectors:foe,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(i,o){1&i&&(it(poe),ge(0),c(1,"span",0),ge(2,1),ge(3,2),c(4,"span",1,2),V("cdkObserveContent",function(){return o._updateItemLines(!0)}),ge(6,3),d()(),ge(7,4),ge(8,5),x(9,"div",3))},dependencies:[y3],encapsulation:2,changeDetection:0})}return t})(),FR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[yg,ne,Qe,ol,$3,hoe]})}return t})();const $oe=["mat-menu-item",""];function Uoe(t,n){1&t&&($e(),c(0,"svg",3),x(1,"polygon",4),d())}const Woe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Goe=["mat-icon, [matMenuItemIcon]","*"];function qoe(t,n){if(1&t){const e=Ne();c(0,"div",0),V("keydown",function(o){return re(e),se(S()._handleKeydown(o))}
1)("click",function(){return re(e),se(S().closed.emit("click"))})("@transformMenu.start",function(o){return re(e),se(S()._onAnimationStart(o))})("@transformMenu.done",function(o){return re(e),se(S()._onAnimationDone(o))}),c(1,"div",1),ge(2),d()()}if(2&t){const e=S();k("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ke("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Yoe=["*"],fx=new B("MAT_MENU_PANEL"),Zoe=yh(Mg(class{}));let Xg=(()=>{class t extends Zoe{constructor(e,i,o,r,s){super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=r,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new fe,this._focused=new fe,this._highlighted=!1,this._triggersSubmenu=!1,r?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o<i.length;o++)i[o].remove();return e.textContent?.trim()||""}_setHighlighted(e){this._highlighted=e,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(e){this._triggersSubmenu=e,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Ve),v(ts),v(fx,8),v(wt))};static#t=this.\u0275cmp=O({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(i,o){1&i&&V("click",function(s){return o._checkDisabled(s)})("mouseenter",function(){return o._handleMouseEnter()}),2&i&&(ke("role",o.role)("tabindex",o._getTabIndex())("aria-disabled",o.disabled)("disabled",o.disabled||null),je("mat-mdc-menu-item-highlighted",o._highlighted)("mat-mdc-menu-item-submenu-trigger",o._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[Y],attrs:$oe,ngContentSelectors:Goe,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(i,o){1&i&&(it(Woe),ge(0),c(1,"span",0),ge(2,1),d(),x(3,"div",1),T(4,Uoe,2,0,"svg",2)),2&i&&(b(3),k("matRippleDisabled",o.disableRipple||o.disabled)("matRippleTrigger",o._getHostElement()),b(1),k("ngIf",o._triggersSubmenu))},dependencies:[Ki,Ch],encapsulation:2,changeDetection:0})}return t})();const Koe=new B("MatMenuContent"),Jg={transformMenu:Yn("transformMenu",[ji("void",lt({opacity:0,transform:"scale(0.8)"})),hi("void => enter",ui("120ms cubic-bezier(0, 0, 0.2, 1)",lt({opacity:1,transform:"scale(1)"}))),hi("* => void",ui("100ms 25ms linear",lt({opacity:0})))]),fadeInItems:Yn("fadeInItems",[ji("showing",lt({opacity:1})),hi("void => *",[lt({opacity:0}),ui("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Qoe=0;const LR=new B("mat-menu-default-options",{providedIn:"root",factory:function Xoe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Oh=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=ze(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=ze(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,r){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._directDescendantItems=new Na,this._classList={},this._panelAnimationState="void",this._animationDone=new fe,this.closed=new E,this.close=this.closed,this.panelId="mat-menu-panel-"+Qoe++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new vw(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ei(this._directDescendantItems),X(e=>hn(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),r=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[r]&&!o[r].disabled?i.setActiveItem(r):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(ei(this._directDescendantItems),X(i=>hn(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:dn(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(at(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,r=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!r||r===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ei(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie),v(LR),v(wt))};static#t=this.\u0275dir=N({type:t,contentQueries:function(i,o,r){if(1&i&&(Ie(r,Koe,5),Ie(r,Xg,5),Ie(r,Xg,4)),2&i){let s;H(s=j())&&(o.lazyContent=s.first),H(s=j())&&(o._allItems=s),H(s=j())&&(o.items=s)}},viewQuery:function(i,o){if(1&i&&me(nt,5),2&i){let r;H(r=j())&&(o.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return t})(),Joe=(()=>{class t extends Oh{constructor(e,i,o,r){super(e,i,o,r),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(ie),v(LR),v(wt))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(i,o){2&i&&ke("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Te([{provide:fx,useExisting:t}]),Y],ngContentSelectors:Yoe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(i,o){1&i&&(it(),T(0,qoe,3,6,"ng-template"))},dependencies:[Ti],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Jg.transformMenu,Jg.fadeInItems]},changeDetection:0})}return t})();const NR=new B("mat-menu-scroll-strategy"),tre={provide:NR,deps:[yn],useFactory:function ere(t){return()=>t.scrollStrategies.reposition()}},BR=$o({passive:!0});let ire=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit
1(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,r,s,a,l,u,m){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=l,this._focusMonitor=u,this._ngZone=m,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=pt.EMPTY,this._hoverSubscription=pt.EMPTY,this._menuCloseSubscription=pt.EMPTY,this._changeDetectorRef=Z(wt),this._handleTouchStart=p=>{ww(p)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new E,this.onMenuOpen=this.menuOpened,this.menuClosed=new E,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=s instanceof Oh?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,BR)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,BR),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),r=o.positionStrategy;this._setPosition(e,r),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Oh&&(e._startAnimation(),e._directDescendantItems.changes.pipe(qe(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Oh?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(yt(o=>"void"===o.toState),at(1),qe(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}
1_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Xc({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const r="start"===o.connectionPair.overlayX?"after":"before",s="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(r,s)):e.setPositionClasses(r,s)})}_setPosition(e,i){let[o,r]="before"===e.xPosition?["end","start"]:["start","end"],[s,a]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,u]=[s,a],[m,p]=[o,r],f=0;if(this.triggersSubmenu()){if(p=o="before"===e.xPosition?"start":"end",r=m="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const _=this._parentMaterialMenu.items.first;this._parentInnerPadding=_?_._getHostElement().offsetTop:0}f="bottom"===s?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===s?"bottom":"top",u="top"===a?"bottom":"top");i.withPositions([{originX:o,originY:l,overlayX:m,overlayY:s,offsetY:f},{originX:r,originY:l,overlayX:p,overlayY:s,offsetY:f},{originX:o,originY:u,overlayX:m,overlayY:a,offsetY:-f},{originX:r,originY:u,overlayX:p,overlayY:a,offsetY:-f}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return hn(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:xe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(yt(s=>s!==this._menuItemInstance),yt(()=>this._menuOpen)):xe(),i)}_handleMousedown(e){yw(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(yt(e=>e===this._menuItemInstance&&!e.disabled),Vw(0,Ew)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Oh&&this.menu._isAnimating?this.menu._animationDone.pipe(at(1),Vw(0,Ew),qe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Mh(e.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(i){return new(i||t)(v(yn),v(be),v(yi),v(NR),v(fx,8),v(Xg,10),v(uo,8),v(ts),v(ie))};static#t=this.\u0275dir=N({type:t,hostVars:3,hostBindings:function(i,o){1&i&&V("click",function(s){return o._handleClick(s)})("mousedown",function(s){return o._handleMousedown(s)})("keydown",function(s){return o._handleKeydown(s)}),2&i&&ke("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return t})(),nre=(()=>{class t extends ire{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275dir=N({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[Y]})}return t})(),VR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[tre],imports:[ne,ol,Qe,Js,rl,Qe]})}return t})();const lre={provide:new B("mat-select-scroll-strategy"),deps:[yn],useFactory:function are(t){return()=>t.scrollStrategies.reposition()}};let zR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[lre],imports:[ne,Js,Sg,Qe,rl,Bg,Sg,Qe]})}return t})();const hre={provide:new B("mat-tooltip-scroll-strategy"),deps:[yn],useFactory:function ure(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}};let pre=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[hre],imports:[kg,ne,Js,Qe,Qe,rl]})}return t})(),gx=(()=>{class t{constructor(){this.changes=new fe,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,o)=>
1{if(0==o||0==i)return`0 of ${o}`;const r=e*i;return`${r+1} \u2013 ${r<(o=Math.max(o,0))?Math.min(r+i,o):r+i} of ${o}`}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const vre={provide:gx,deps:[[new Fo,new Vr,gx]],useFactory:function bre(t){return t||new gx}};let yre=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:[vre],imports:[ne,Vg,zR,pre]})}return t})();const wre=["determinateSpinner"];function xre(t,n){if(1&t&&($e(),c(0,"svg",11),x(1,"circle",12),d()),2&t){const e=S();ke("viewBox",e._viewBox()),b(1),yo("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ke("r",e._circleRadius())}}const Cre=tl(class{constructor(t){this._elementRef=t}},"primary"),kre=new B("mat-progress-spinner-default-options",{providedIn:"root",factory:function Mre(){return{diameter:HR}}}),HR=100;let Sre=(()=>{class t extends Cre{constructor(e,i,o){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=HR,this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,Qs(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=Qs(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=Qs(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(tn,8),v(kre))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,o){if(1&i&&me(wre,5),2&i){let r;H(r=j())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(i,o){2&i&&(ke("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===o.mode?o.value:null)("mode",o.mode),yo("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),je("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===o.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[Y],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,o){if(1&i&&(T(0,xre,2,8,"ng-template",null,0,Yi),c(2,"div",1,2),$e(),c(4,"svg",3),x(5,"circle",4),d()(),tr(),c(6,"div",5)(7,"div",6)(8,"div",7),Le(9,8),d(),c(10,"div",9),Le(11,8),d(),c(12,"div",10),Le(13,8),d()()()),2&i){const r=mt(1);b(4),ke("viewBox",o._viewBox()),b(1),yo("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ke("r",o._circleRadius()),b(4),k("ngTemplateOutlet",r),b(2),k("ngTemplateOutlet",r),b(2),k("ngTemplateOutlet",r)}},dependencies:[At],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}
189%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}
1.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return t})(),jR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[ne,Qe]})}return t})();function Ere(t,n){if(1&t){const e=Ne();c(0,"div",2)(1,"button",3),V("click",function(){return re(e),se(S().action())}),h(2),d()()}if(2&t){const e=S();b(2),ce(" ",e.data.action," ")}}const Tre=["label"];function Ire(t,n){}const Are=Math.pow(2,31)-1;class _x{constructor(n,e){this._overlayRef=e,this._afterDismissed=new fe,this._afterOpened=new fe,this._onAction=new fe,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,Are))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const $R=new B("MatSnackBarData");class e_{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let Pre=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return t})(),Ore=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return t})(),Rre=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return t})(),Fre=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(i){return new(i||t)(v(_x),v($R))};static#t=this.\u0275cmp=O({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){1&i&&(c(0,"div",0),h(1),d(),T(2,Ere,3,1,"div",1)),2&i&&(b(1),ce(" ",o.data.message,"\n"),b(1),k("ngIf",o.hasAction))},dependencies:[Ki,zw,Pre,Ore,Rre],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return t})();const Lre={snackBarState:Yn("state",[ji("void, hidden",lt({transform:"scale(0.8)",opacity:0}
1)),ji("visible",lt({transform:"scale(1)",opacity:1})),hi("* => visible",ui("150ms cubic-bezier(0, 0, 0.2, 1)")),hi("* => void, * => hidden",ui("75ms cubic-bezier(0.4, 0.0, 1, 1)",lt({opacity:0})))])};let Nre=0,Bre=(()=>{class t extends Pg{constructor(e,i,o,r,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=s,this._document=Z(Ve),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new fe,this._onExit=new fe,this._onEnter=new fe,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Nre++,this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(at(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){const r=i[o],s=r.getAttribute("aria-owns");this._trackedModals.add(r),s?-1===s.indexOf(e)&&r.setAttribute("aria-owns",s+" "+e):r.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(i){return new(i||t)(v(ie),v(be),v(wt),v(Yt),v(e_))};static#t=this.\u0275dir=N({type:t,viewQuery:function(i,o){if(1&i&&me(al,7),2&i){let r;H(r=j())&&(o._portalOutlet=r.first)}},features:[Y]})}return t})(),Vre=(()=>{class t extends Bre{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(1&i&&me(Tre,7),2&i){let r;H(r=j())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){1&i&&bf("@state.done",function(s){return o.onAnimationEnd(s)}),2&i&&mf("@state",o._animationState)},features:[Y],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1,2)(3,"div",3),T(4,Ire,0,0,"ng-template",4),d(),x(5,"div"),d()()),2&i&&(b(5),ke("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[al],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}
1.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[Lre.snackBarState]}})}return t})(),UR=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Js,Xs,ne,Vg,Qe,Qe]})}return t})();const WR=new B("mat-snack-bar-default-options",{providedIn:"root",factory:function zre(){return new e_}});let Hre=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,r,s,a){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const r={...this._defaultConfig,...o};return r.data={message:e,action:i},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const r=Xt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:e_,useValue:i}]}),s=new sl(this.snackBarContainerComponent,i.viewContainerRef,r),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const o={...new e_,...this._defaultConfig,...i},r=this._createOverlay(o),s=this._attachSnackBarContainer(r,o),a=new _x(s,r);if(e instanceof nt){const l=new Mh(e,null,{$implicit:o.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(o,a),u=new sl(e,void 0,l),m=s.attachComponentPortal(u);a.instance=m.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(qe(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(a,o),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Xc;i.direction=e.direction;let o=this._overlay.position().global();const r="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,a=!s&&"center"!==e.horizontalPosition;return s?o.left("0"):a?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return Xt.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:_x,useValue:i},{provide:$R,useValue:e.data}]})}static#e=this.\u0275fac=function(i){return new(i||t)(R(yn),R(I3),R(Xt),R(bw),R(t,12),R(WR))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),jre=(()=>{class t extends Hre{constructor(e,i,o,r,s,a){super(e,i,o,r,s,a),this.simpleSnackBarComponent=Fre,this.snackBarContainerComponent=Vre,this.handsetCssClass="mat-mdc-snack-bar-handset"}static#e=this.\u0275fac=function(i){return new(i||t)(R(yn),R(I3),R(Xt),R(bw),R(t,12),R(WR))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:UR})}return t})();let ise=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Tw]})}return t})(),use=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,ise,Qe]})}return t})(),_se=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[ne,Qe,Xs,ol,yg,kg,Qe]})}return t})();const bse=["*",[["mat-toolbar-row"]]],vse=["*","mat-toolbar-row"],yse=tl(class{constructor(t){this._elementRef=t}});let wse=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),xse=(()=>{class t extends yse{constructor(e,i,o){super(e),this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(Yt),v(Ve))};static#t=this.\u0275cmp=O({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,wse,5),2&i){let s;H(s=j())&&(o._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(i,o){2&i&&je("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",0===o._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Y],ngContentSelectors:vse,decls:2,vars:0,template:function(i,o){1&i&&(it(bse),ge(0),ge(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return t})(),r4=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[Qe,Qe]}
vendor: 57,380 bytes, line 1
1)}return t})();function s4(t){return new $(3e3,!1)}function ia(t){switch(t.length){case 0:return new Sh;case 1:return t[0];default:return new m5(t)}}function a4(t,n,e=new Map,i=new Map){const o=[],r=[];let s=-1,a=null;if(n.forEach(l=>{const u=l.get("offset"),m=u==s,p=m&&a||new Map;l.forEach((f,_)=>{let y=_,w=f;if("offset"!==_)switch(y=t.normalizePropertyName(y,o),w){case"!":w=e.get(_);break;case is:w=i.get(_);break;default:w=t.normalizeStyleValue(_,y,w,o)}p.set(y,w)}),m||r.push(p),a=p,s=u}),o.length)throw function Wse(t){return new $(3502,!1)}();return r}function Tx(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Ix(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Ix(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Ix(e,"destroy",t)))}}function Ix(t,n,e){const r=Ax(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(r._data=s),r}function Ax(t,n,e,i,o="",r=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function mo(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function l4(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const nae=(()=>typeof document>"u"?null:document.documentElement)();function Px(t){const n=t.parentNode||t.host||null;return n===nae?null:n}let ml=null,c4=!1;function d4(t,n){for(;n;){if(n===t)return!0;n=Px(n)}return!1}function u4(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let Ox=(()=>{class t{validateStyleProperty(e){return function rae(t){ml||(ml=function sae(){return typeof document<"u"?document.body:null}()||{},c4=!!ml.style&&"WebkitAppearance"in ml.style);let n=!0;return ml.style&&!function oae(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in ml.style,!n&&c4&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in ml.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return d4(e,i)}getParentElement(e){return Px(e)}query(e,i,o){return u4(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,a=[],l){return new Sh(o,r)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),Rx=(()=>{class t{static#e=this.NOOP=new Ox}return t})();class Fx{}const lae=1e3,Lx="ng-enter",d_="ng-leave",u_="ng-trigger",h_=".ng-trigger",m4="ng-animating",Nx=".ng-animating";function rs(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Bx(parseFloat(n[1]),n[2])}function Bx(t,n){return"s"===n?t*lae:t}function m_(t,n,e){return t.hasOwnProperty("duration")?t:function dae(t,n,e){let o,r=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(s4()),{duration:0,delay:0,easing:""};o=Bx(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=Bx(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else o=t;if(!e){let a=!1,l=n.length;o<0&&(n.push(function Cse(){return new $(3100,!1)}()),a=!0),r<0&&(n.push(function kse(){return new $(3101,!1)}()),a=!0),a&&n.splice(l,0,s4())}return{duration:o,delay:r,easing:s}}(t,n,e)}function Lh(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function p4(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function na(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function yr(t,n,e){n.forEach((i,o)=>{const r=zx(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i})}function pl(t,n){n.forEach((e,i)=>{const o=zx(i);t.style[o]=""})}function Nh(t){return Array.isArray(t)?1==t.length?t[0]:function Pee(t,n=null){return{type:2,steps:t,options:n}}(t):t}const Vx=new RegExp("{{\\s*(.+?)\\s*}}","g");function g4(t){let n=[];if("string"==typeof t){let e;for(;e=Vx.exec(t);)n.push(e[1]);Vx.lastIndex=0}return n}function Bh(t,n,e){const i=t.toString(),o=i.replace(Vx,(r,s)=>{let a=n[s];return null==a&&(e.push(function Dse(t){return new $(3003,!1)}()),a=""),a.toString()});return o==i?t:o}function p_(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const mae=/-+([a-z0-9])/g;function zx(t){return t.replace(mae,(...n)=>n[1].toUpperCase())}function po(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Sse(t){return new $(3004,!1)}()}}function _4(t,n){return window.getComputedStyle(t)[n]}const gae=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 b4 extends Fx{normalizePropertyName(n,e){return zx(n)}normalizeStyleValue(n,e,i,o){let r="";const s=i.toString().trim();if(gae.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function Ese(t,n){return new $(3005,!1)}())}return s+r}}const f_="*";function _ae(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function bae(t,n,e){if(":"==t[0]){const l=function vae(t,n){switch(t){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 n.push(function Hse(t){return new $(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function zse(t){return new $(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(v4(o,s));"<"==r[0]&&!(o==f_&&s==f_)&&n.push(v4(s,o))}(i,e,n)):e.push(t),e}const g_=new Set(["true","1"]),__=new Set(["false","0"]);function v4(t,n){const e=g_.has(t)||__.has(t),i=g_.has(n)||__.has(n);return(o,r)=>{let s=t==f_||t==o,a=n==f_||n==r;return!s&&e&&"boolean"==typeof o&&(s=o?g_.has(t):__.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?g_.has(n):__.has(n)),s&&a}}const yae=new RegExp("s*:selfs*,?","g");function Hx(t,n,e,i){return new wae(t).build(n,e,i)}class wae{constructor(n){this._driver=n}build(n,e,i){const o=new kae(e);return this._resetContextStyleTimingState(o),po(this,Nh(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function Tse(){return new $(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(m=>{l.name=m,r.push(this.visitState(l,e))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,o+=l.depCount,s.push(l)}else e.errors.push(function Ise(){return new $(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{g4(l).forEach(u=>{s.hasOwnProperty(u)||r.add(u)})})}),r.size&&(p_(r.values()),e.errors.push(function Ase(t,n){return new $(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=po(this,Nh(n.animation),e);return{type:1,matchers:_ae(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:fl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>po(this,i,e)),options:fl(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(s=>{e.currentTime=i;const a=po(this,s,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:r,options:fl(n.options)}}visitAnimate(n,e){const i=function Dae(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return jx(m_(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=jx(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=m_(e,n);return jx(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:lt({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=n.styles,a=!1;if(!s){a=!0;const u={};i.easing&&(u.easing=i.easing),s=lt(u)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,o=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===is?i.push(a):e.errors.push(new $(3002,!1)):i.push(p4(a));let r=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=e.collectedStyles.get(e.currentQuerySelector),m=u.get(l);let p=!0;m&&(r!=o&&r>=m.startTime&&o<=m.endTime&&(e.errors.push(function Ose(t,n,e,i,o){return new $(3010,!1)}()),p=!1),r=m.startTime),p&&u.set(l,{startTime:r,endTime:o}),e.options&&function hae(t,n,e){const i=n.params||{},o=g4(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function Mse(t){return new $(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Rse(){return new $(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,u=0;const m=n.steps.map(D=>{const M=this._makeStyleAst(D,e);let I=null!=M.offset?M.offset:function Mae(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(M.styles),P=0;return null!=I&&(r++,P=M.offset=I),l=l||P<0||P>1,a=a||P<u,u=P,s.push(P),M});l&&e.errors.push(function Fse(){return new $(3012,!1)}()),a&&e.errors.push(function Lse(){return new $(3200,!1)}());const p=n.steps.length;let f=0;r>0&&r<p?e.errors.push(function Nse(){return new $(3202,!1)}()):0==r&&(f=1/(p-1));const _=p-1,y=e.currentTime,w=e.currentAnimateTimings,C=w.duration;return m.forEach((D,M)=>{const I=f>0?M==_?1:f*M:s[M],P=I*C;e.currentTime=y+w.delay+P,w.duration=P,this._validateStyleAst(D,e),D.offset=I,i.styles.push(D)}),i}visitReference(n,e){return{type:8,animation:po(this,Nh(n.animation),e),options:fl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:fl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:fl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,s]=function xae(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(yae,"")),t=t.replace(/@\*/g,h_).replace(/@\w+/g,e=>h_+"-"+e.slice(1)).replace(/:animating/g,Nx),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,mo(e.collectedStyles,e.currentQuerySelector,new Map);const a=po(this,Nh(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:fl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function Bse(){return new $(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:m_(n.timings,e.errors,!0);return{type:12,animation:po(this,Nh(n.animation),e),timings:i,options:null}}}class kae{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fl(t){return t?(t=Lh(t)).params&&(t.params=function Cae(t){return t?Lh(t):null}(t.params)):t={},t}function jx(t,n,e){return{duration:t,delay:n,easing:e}}function $x(t,n,e,i,o,r,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class b_{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Tae=new RegExp(":enter","g"),Aae=new RegExp(":leave","g");function Ux(t,n,e,i,o,r=new Map,s=new Map,a,l,u=[]){return(new Pae).buildKeyframes(t,n,e,i,o,r,s,a,l,u)}class Pae{buildKeyframes(n,e,i,o,r,s,a,l,u,m=[]){u=u||new b_;const p=new Wx(n,e,u,o,r,m,[]);p.options=l;const f=l.delay?rs(l.delay):0;p.currentTimeline.delayNextStep(f),p.currentTimeline.setStyles([s],null,p.errors,l),po(this,i,p);const _=p.timelines.filter(y=>y.containsAnimation());if(_.length&&a.size){let y;for(let w=_.length-1;w>=0;w--){const C=_[w];if(C.element===e){y=C;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([a],null,p.errors,l)}return _.length?_.map(y=>y.buildKeyframes()):[$x(e,[],[],[],0,f,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const s="number"==typeof r?r:rs(Bh(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?rs(i.duration):null,a=null!=i.delay?rs(i.delay):null;return 0!==s&&n.forEach(l=>{const u=e.appendInstructionToTimeline(l,s,a);r=Math.max(r,u.duration+u.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),po(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=v_);const s=rs(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>po(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?rs(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),po(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return m_(e.params?Bh(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?rs(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=v_);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((u,m)=>{e.currentQueryIndex=m;const p=e.createSubContext(n.options,u);r&&p.delayNextStep(r),u===e.element&&(l=p.currentTimeline),po(this,n.animation,p),p.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,p.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const m=e.currentTimeline;l&&m.delayNextStep(l);const p=m.currentTime;po(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-p+(o.startTime-i.currentTimeline.startTime)}}const v_={};class Wx{constructor(n,e,i,o,r,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=v_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new y_(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=rs(i.duration)),null!=i.delay&&(o.delay=rs(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Bh(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new Wx(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=v_,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new Oae(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(Tae,"."+this._enterClassName)).replace(Aae,"."+this._leaveClassName);let u=this._driver.query(this.element,n,1!=i);0!==i&&(u=i<0?u.slice(u.length+i,u.length):u.slice(0,i)),a.push(...u)}return!r&&0==a.length&&s.push(function Vse(t){return new $(3014,!1)}()),a}}class y_{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new y_(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||is),this._currentKeyframe.set(e,is);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function Rae(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,is)}else na(o,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const u=Bh(l,r,i);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??is),this._updateStyle(a,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const u=na(a,new Map,this._backFill);u.forEach((m,p)=>{"!"===m?n.add(p):m===is&&e.add(p)}),i||u.set("offset",l/this.duration),o.push(u)});const r=n.size?p_(n.values()):[],s=e.size?p_(e.values()):[];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return $x(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class Oae extends y_{constructor(n,e,i,o,r,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,a=e/s,l=na(n[0]);l.set("offset",0),r.push(l);const u=na(n[0]);u.set("offset",x4(a)),r.push(u);const m=n.length-1;for(let p=1;p<=m;p++){let f=na(n[p]);const _=f.get("offset");f.set("offset",x4((e+_*i)/s)),r.push(f)}i=s,e=0,o="",n=r}return $x(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function x4(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}function C4(t,n,e,i,o,r,s,a,l,u,m,p,f){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:m,totalTime:p,errors:f}}const Gx={};class k4{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function Fae(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,s,a,l,u,m){const p=[],f=this.ast.options&&this.ast.options.params||Gx,y=this.buildStyles(i,a&&a.params||Gx,p),w=l&&l.params||Gx,C=this.buildStyles(o,w,p),D=new Set,M=new Map,I=new Map,P="void"===o,F={params:Lae(w,f),delay:this.ast.options?.delay},L=m?[]:Ux(n,e,this.ast.animation,r,s,y,C,F,u,p);let K=0;if(L.forEach(oe=>{K=Math.max(oe.duration+oe.delay,K)}),p.length)return C4(e,this._triggerName,i,o,P,y,C,[],[],M,I,K,p);L.forEach(oe=>{const ye=oe.element,Se=mo(M,ye,new Set);oe.preStyleProps.forEach(we=>Se.add(we));const ee=mo(I,ye,new Set);oe.postStyleProps.forEach(we=>ee.add(we)),ye!==e&&D.add(ye)});const Q=p_(D.values());return C4(e,this._triggerName,i,o,P,y,C,L,Q,M,I,K)}}function Lae(t,n){const e=Lh(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class Nae{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=Lh(this.defaultParams);return Object.keys(n).forEach(r=>{const s=n[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=Bh(s,o,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class Vae{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new Nae(o.style,o.options&&o.options.params||{},i))}),M4(this.states,"true","1"),M4(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new k4(n,o,this.states))}),this.fallbackTransition=function zae(t,n,e){return new k4(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(s=>s.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function M4(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const Hae=new b_;class jae{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=Hx(this._driver,e,i,[]);if(i.length)throw function Gse(t){return new $(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=a4(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=Ux(this._driver,e,r,Lx,d_,new Map,new Map,i,Hae,o),s.forEach(m=>{const p=mo(a,m.element,new Map);m.postStyleProps.forEach(f=>p.set(f,null))})):(o.push(function qse(){return new $(3300,!1)}()),s=[]),o.length)throw function Yse(t){return new $(3504,!1)}();a.forEach((m,p)=>{m.forEach((f,_)=>{m.set(_,this._driver.computeStyle(p,_,is))})});const u=ia(s.map(m=>{const p=a.get(m.element);return this._buildPlayer(m,new Map,p)}));return this._playersById.set(n,u),u.onDestroy(()=>this.destroy(n)),this.players.push(u),u}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function Zse(t){return new $(3301,!1)}();return e}listen(n,e,i,o){const r=Ax(e,"","","");return Tx(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const D4="ng-animate-queued",qx="ng-animate-disabled",qae=[],S4={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Yae={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo="__ng_removed";class Yx{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function Xae(t){return t??null}(i?n.value:n),i){const r=Lh(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const Vh="void",Zx=new Yx(Vh);class Zae{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,ko(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function Kse(t,n){return new $(3302,!1)}();if(null==i||0==i.length)throw function Qse(t){return new $(3303,!1)}();if(!function Jae(t){return"start"==t||"done"==t}(i))throw function Xse(t,n){return new $(3400,!1)}();const r=mo(this._elementListeners,n,[]),s={name:e,phase:i,callback:o};r.push(s);const a=mo(this._engine.statesByElement,n,new Map);return a.has(e)||(ko(n,u_),ko(n,u_+"-"+e),a.set(e,Zx)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function Jse(t){return new $(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),s=new Kx(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(ko(n,u_),ko(n,u_+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const u=new Yx(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(e,u),l||(l=Zx),u.value!==Vh&&l.value===u.value){if(!function ile(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!n.hasOwnProperty(r)||t[r]!==n[r])return!1}return!0}(l.params,u.params)){const w=[],C=r.matchStyles(l.value,l.params,w),D=r.matchStyles(u.value,u.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{pl(n,C),yr(n,D)})}return}const f=mo(this._engine.playersByElement,n,[]);f.forEach(w=>{w.namespaceId==this.id&&w.triggerName==e&&w.queued&&w.destroy()});let _=r.matchTransition(l.value,u.value,n,u.params),y=!1;if(!_){if(!o)return;_=r.fallbackTransition,y=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:_,fromState:l,toState:u,player:s,isFallbackTransition:y}),y||(ko(n,D4),s.onStart(()=>{ld(n,D4)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);const C=this._engine.playersByElement.get(n);if(C){let D=C.indexOf(s);D>=0&&C.splice(D,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,h_,!0);i.forEach(o=>{if(o[Wo])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const m=this.trigger(n,u,Vh,o);m&&a.push(m)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&ia(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,u=i.get(s)||Zx,m=new Yx(Vh),p=new Kx(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:u,toState:m,player:p,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[Wo];(!r||r===S4)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){ko(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Ax(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Tx(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Kae{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,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=(o,r)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new Zae(n,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[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=o.get(a);if(l){const u=i.indexOf(l);i.splice(u+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(w_(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!w_(e))return;const r=e[Wo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),ko(n,qx)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),ld(n,qx))}removeNode(n,e,i){if(w_(e)){const o=n?this._fetchNamespace(n):null;o?o.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);const r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[Wo]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return w_(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,h_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Nx,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ia(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Wo];if(e&&e.setForRemoval){if(n[Wo]=S4,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(qx)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)ko(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,n)}finally{for(let o=0;o<i.length;o++)i[o]()}}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?ia(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function eae(t){return new $(3402,!1)}()}_flushAnimations(n,e){const i=new b_,o=[],r=new Map,s=[],a=new Map,l=new Map,u=new Map,m=new Set;this.disabledNodes.forEach(W=>{m.add(W);const J=this.driver.query(W,".ng-animate-queued",!0);for(let le=0;le<J.length;le++)m.add(J[le])});const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),_=I4(f,this.collectedEnterElements),y=new Map;let w=0;_.forEach((W,J)=>{const le=Lx+w++;y.set(J,le),W.forEach(he=>ko(he,le))});const C=[],D=new Set,M=new Set;for(let W=0;W<this.collectedLeaveElements.length;W++){const J=this.collectedLeaveElements[W],le=J[Wo];le&&le.setForRemoval&&(C.push(J),D.add(J),le.hasAnimation?this.driver.query(J,".ng-star-inserted",!0).forEach(he=>D.add(he)):M.add(J))}const I=new Map,P=I4(f,Array.from(D));P.forEach((W,J)=>{const le=d_+w++;I.set(J,le),W.forEach(he=>ko(he,le))}),n.push(()=>{_.forEach((W,J)=>{const le=y.get(J);W.forEach(he=>ld(he,le))}),P.forEach((W,J)=>{const le=I.get(J);W.forEach(he=>ld(he,le))}),C.forEach(W=>{this.processLeaveNode(W)})});const F=[],L=[];for(let W=this._namespaceList.length-1;W>=0;W--)this._namespaceList[W].drainQueuedTransitions(e).forEach(le=>{const he=le.player,Ye=le.element;if(F.push(he),this.collectedEnterElements.length){const gi=Ye[Wo];if(gi&&gi.setForMove){if(gi.previousTriggersValues&&gi.previousTriggersValues.has(le.triggerName)){const Bn=gi.previousTriggersValues.get(le.triggerName),kn=this.statesByElement.get(le.element);if(kn&&kn.has(le.triggerName)){const jd=kn.get(le.triggerName);jd.value=Bn,kn.set(le.triggerName,jd)}}return void he.destroy()}}const It=!p||!this.driver.containsElement(p,Ye),dt=I.get(Ye),Oi=y.get(Ye),st=this._buildInstruction(le,i,Oi,dt,It);if(st.errors&&st.errors.length)return void L.push(st);if(It)return he.onStart(()=>pl(Ye,st.fromStyles)),he.onDestroy(()=>yr(Ye,st.toStyles)),void o.push(he);if(le.isFallbackTransition)return he.onStart(()=>pl(Ye,st.fromStyles)),he.onDestroy(()=>yr(Ye,st.toStyles)),void o.push(he);const Ri=[];st.timelines.forEach(gi=>{gi.stretchStartingKeyframe=!0,this.disabledNodes.has(gi.element)||Ri.push(gi)}),st.timelines=Ri,i.append(Ye,st.timelines),s.push({instruction:st,player:he,element:Ye}),st.queriedElements.forEach(gi=>mo(a,gi,[]).push(he)),st.preStyleProps.forEach((gi,Bn)=>{if(gi.size){let kn=l.get(Bn);kn||l.set(Bn,kn=new Set),gi.forEach((jd,Rl)=>kn.add(Rl))}}),st.postStyleProps.forEach((gi,Bn)=>{let kn=u.get(Bn);kn||u.set(Bn,kn=new Set),gi.forEach((jd,Rl)=>kn.add(Rl))})});if(L.length){const W=[];L.forEach(J=>{W.push(function tae(t,n){return new $(3505,!1)}())}),F.forEach(J=>J.destroy()),this.reportError(W)}const K=new Map,Q=new Map;s.forEach(W=>{const J=W.element;i.has(J)&&(Q.set(J,J),this._beforeAnimationBuild(W.player.namespaceId,W.instruction,K))}),o.forEach(W=>{const J=W.element;this._getPreviousPlayers(J,!1,W.namespaceId,W.triggerName,null).forEach(he=>{mo(K,J,[]).push(he),he.destroy()})});const oe=C.filter(W=>P4(W,l,u)),ye=new Map;T4(ye,this.driver,M,u,is).forEach(W=>{P4(W,l,u)&&oe.push(W)});const ee=new Map;_.forEach((W,J)=>{T4(ee,this.driver,new Set(W),l,"!")}),oe.forEach(W=>{const J=ye.get(W),le=ee.get(W);ye.set(W,new Map([...J?.entries()??[],...le?.entries()??[]]))});const we=[],Pe=[],Ce={};s.forEach(W=>{const{element:J,player:le,instruction:he}=W;if(i.has(J)){if(m.has(J))return le.onDestroy(()=>yr(J,he.toStyles)),le.disabled=!0,le.overrideTotalTime(he.totalTime),void o.push(le);let Ye=Ce;if(Q.size>1){let dt=J;const Oi=[];for(;dt=dt.parentNode;){const st=Q.get(dt);if(st){Ye=st;break}Oi.push(dt)}Oi.forEach(st=>Q.set(st,Ye))}const It=this._buildAnimation(le.namespaceId,he,K,r,ee,ye);if(le.setRealPlayer(It),Ye===Ce)we.push(le);else{const dt=this.playersByElement.get(Ye);dt&&dt.length&&(le.parentPlayer=ia(dt)),o.push(le)}}else pl(J,he.fromStyles),le.onDestroy(()=>yr(J,he.toStyles)),Pe.push(le),m.has(J)&&o.push(le)}),Pe.forEach(W=>{const J=r.get(W.element);if(J&&J.length){const le=ia(J);W.setRealPlayer(le)}}),o.forEach(W=>{W.parentPlayer?W.syncPlayerEvents(W.parentPlayer):W.destroy()});for(let W=0;W<C.length;W++){const J=C[W],le=J[Wo];if(ld(J,d_),le&&le.hasAnimation)continue;let he=[];if(a.size){let It=a.get(J);It&&It.length&&he.push(...It);let dt=this.driver.query(J,Nx,!0);for(let Oi=0;Oi<dt.length;Oi++){let st=a.get(dt[Oi]);st&&st.length&&he.push(...st)}}const Ye=he.filter(It=>!It.destroyed);Ye.length?ele(this,J,Ye):this.processLeaveNode(J)}return C.length=0,we.forEach(W=>{this.players.push(W),W.onDone(()=>{W.destroy();const J=this.players.indexOf(W);this.players.splice(J,1)}),W.play()}),we}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==Vh;a.forEach(u=>{u.queued||!l&&u.triggerName!=o||s.push(u)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const r=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const u=l.element,m=u!==r,p=mo(i,u,[]);this._getPreviousPlayers(u,m,s,a,e.toState).forEach(_=>{const y=_.getRealPlayer();y.beforeDestroy&&y.beforeDestroy(),_.destroy(),p.push(_)})}pl(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,s){const a=e.triggerName,l=e.element,u=[],m=new Set,p=new Set,f=e.timelines.map(y=>{const w=y.element;m.add(w);const C=w[Wo];if(C&&C.removedBeforeQueried)return new Sh(y.duration,y.delay);const D=w!==l,M=function tle(t){const n=[];return A4(t,n),n}((i.get(w)||qae).map(K=>K.getRealPlayer())).filter(K=>!!K.element&&K.element===w),I=r.get(w),P=s.get(w),F=a4(this._normalizer,y.keyframes,I,P),L=this._buildPlayer(y,F,M);if(y.subTimeline&&o&&p.add(w),D){const K=new Kx(n,a,w);K.setRealPlayer(L),u.push(K)}return L});u.forEach(y=>{mo(this.playersByQueriedElement,y.element,[]).push(y),y.onDone(()=>function Qae(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,y.element,y))}),m.forEach(y=>ko(y,m4));const _=ia(f);return _.onDestroy(()=>{m.forEach(y=>ld(y,m4)),yr(l,e.toStyles)}),p.forEach(y=>{mo(o,y,[]).push(_)}),_}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Sh(n.duration,n.delay)}}class Kx{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Sh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>Tx(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){mo(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function w_(t){return t&&1===t.nodeType}function E4(t,n){const e=t.style.display;return t.style.display=n??"none",e}function T4(t,n,e,i,o){const r=[];e.forEach(l=>r.push(E4(l)));const s=[];i.forEach((l,u)=>{const m=new Map;l.forEach(p=>{const f=n.computeStyle(u,p,o);m.set(p,f),(!f||0==f.length)&&(u[Wo]=Yae,s.push(u))}),t.set(u,m)});let a=0;return e.forEach(l=>E4(l,r[a++])),s}function I4(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),r=new Map;function s(a){if(!a)return 1;let l=r.get(a);if(l)return l;const u=a.parentNode;return l=e.has(u)?u:o.has(u)?1:s(u),r.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function ko(t,n){t.classList?.add(n)}function ld(t,n){t.classList?.remove(n)}function ele(t,n,e){ia(e).onDone(()=>t.processLeaveNode(n))}function A4(t,n){for(let e=0;e<t.length;e++){const i=t[e];i instanceof m5?A4(i.players,n):n.push(i)}}function P4(t,n,e){const i=e.get(t);if(!i)return!1;let o=n.get(t);return o?i.forEach(r=>o.add(r)):n.set(t,i),e.delete(t),!0}class zh{constructor(n,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new Kae(n.body,e,i),this._timelineEngine=new jae(n.body,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],m=Hx(this._driver,r,l,[]);if(l.length)throw function Use(t,n){return new $(3404,!1)}();a=function Bae(t,n,e){return new Vae(t,n,e)}(o,m,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,s]=l4(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[s,a]=l4(i);return this._timelineEngine.listen(s,e,a,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let ole=(()=>{class t{static#e=this.initialStylesByElement=new WeakMap;constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&yr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yr(this._element,this._initialStyles),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(pl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pl(this._element,this._endStyles),this._endStyles=null),yr(this._element,this._initialStyles),this._state=3)}}return t})();function Qx(t){let n=null;return t.forEach((e,i)=>{(function rle(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class O4{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:_4(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class R4{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return d4(n,e)}getParentElement(n){return Px(n)}query(n,e,i){return u4(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const u=new Map,m=s.filter(_=>_ instanceof O4);(function pae(t,n){return 0===t||0===n})(i,o)&&m.forEach(_=>{_.currentSnapshot.forEach((y,w)=>u.set(w,y))});let p=function uae(t){return t.length?t[0]instanceof Map?t:t.map(n=>p4(n)):[]}(e).map(_=>na(_));p=function fae(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<n.length;r++){let s=n[r];o.forEach(a=>s.set(a,_4(t,a)))}}return n}(n,p,u);const f=function nle(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Qx(n[0]),n.length>1&&(i=Qx(n[n.length-1]))):n instanceof Map&&(e=Qx(n)),e||i?new ole(t,e,i):null}(n,p);return new O4(n,p,l,f)}}const F4="@.disabled";class L4{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==F4?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class sle extends L4{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==F4?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}
1listen(n,e,i){if("@"==e.charAt(0)){const o=function ale(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function lle(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}class cle{constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(o,r)=>{const s=r?.parentNode(o);s&&r.removeChild(s,o)}}createRenderer(n,e){const o=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){const u=this._rendererCache;let m=u.get(o);return m||(m=new L4("",o,this.engine,()=>u.delete(o)),u.set(o,m)),m}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=u=>{Array.isArray(u)?u.forEach(a):this.engine.registerTrigger(r,s,n,u.name,u)};return e.data.animation.forEach(a),new sle(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>e(i));const o=this._animationCallbacksBuffer;0==o.length&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),o.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 N4=[{provide:Fx,useFactory:function ule(){return new b4}},{provide:zh,useClass:(()=>{class t extends zh{constructor(e,i,o,r){super(e,i,o)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(Rx),R(Fx),R(Hs))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})()},{provide:jp,useFactory:function hle(t,n,e){return new cle(t,n,e)},deps:[E1,zh,ie]}],Xx=[{provide:Rx,useFactory:()=>new R4},{provide:tn,useValue:"BrowserAnimations"},...N4],B4=[{provide:Rx,useClass:Ox},{provide:tn,useValue:"NoopAnimations"},...N4];let mle=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?B4:Xx}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({providers:Xx,imports:[cP]})}return t})();const Hh=Wb(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function C_(t){return bi((n,e)=>{let i=!1;n.subscribe(ai(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function V4(t=ple){return bi((n,e)=>{let i=!1;n.subscribe(ai(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function ple(){return new Hh}function ue(t,n){const e=arguments.length>=2;return i=>i.pipe(t?yt((o,r)=>t(o,r,i)):Ss,at(1),e?C_(n):V4(()=>new Hh))}function Jx(t){return t<=0?()=>Ho:bi((n,e)=>{let i=[];n.subscribe(ai(e,o=>{i.push(o),t<i.length&&i.shift()},()=>{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}const ct="primary",jh=Symbol("RouteTitle");class ble{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function cd(t){return new ble(t)}function vle(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.length<t.length))return null;const o={};for(let r=0;r<i.length;r++){const s=i[r],a=t[r];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:o}}function wr(t,n){const e=t?eC(t):void 0,i=n?eC(n):void 0;if(!e||!i||e.length!=i.length)return!1;let o;for(let r=0;r<e.length;r++)if(o=e[r],!z4(t[o],n[o]))return!1;return!0}function eC(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function z4(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),i=[...n].sort();return e.every((o,r)=>
1i[r]===o)}return t===n}function H4(t){return t.length>0?t[t.length-1]:null}function oa(t){return function GR(t){return!!t&&(t instanceof Lt||kt(t.lift)&&kt(t.subscribe))}(t)?t:Wu(t)?ae(Promise.resolve(t)):xe(t)}const wle={exact:function U4(t,n,e){if(!gl(t.segments,n.segments)||!k_(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!U4(t.children[i],n.children[i],e))return!1;return!0},subset:W4},j4={exact:function xle(t,n){return wr(t,n)},subset:function Cle(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>z4(t[e],n[e]))},ignored:()=>!0};function $4(t,n,e){return wle[e.paths](t.root,n.root,e.matrixParams)&&j4[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function W4(t,n,e){return G4(t,n,n.segments,e)}function G4(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!gl(o,e)||n.hasChildren()||!k_(o,e,i))}if(t.segments.length===e.length){if(!gl(t.segments,e)||!k_(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!W4(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(gl(t.segments,o)&&k_(t.segments,o,i)&&t.children[ct])&&G4(t.children[ct],n,r,i)}}function k_(t,n,e){return n.every((i,o)=>j4[e](t[o].parameters,i.parameters))}class dd{constructor(n=new Vt([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cd(this.queryParams)),this._queryParamMap}toString(){return Dle.serialize(this)}}class Vt{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return M_(this)}}class $h{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=cd(this.parameters)),this._parameterMap}toString(){return Z4(this)}}function gl(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let ud=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>new tC,providedIn:"root"})}return t})();class tC{parse(n){const e=new Nle(n);return new dd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Uh(n.root,!0)}`,i=function Tle(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${D_(e)}
1=${D_(o)}`).join("&"):`${D_(e)}=${D_(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function Sle(t){return encodeURI(t)}(n.fragment)}`:""}`}}const Dle=new tC;function M_(t){return t.segments.map(n=>Z4(n)).join("/")}function Uh(t,n){if(!t.hasChildren())return M_(t);if(n){const e=t.children[ct]?Uh(t.children[ct],!1):"",i=[];return Object.entries(t.children).forEach(([o,r])=>{o!==ct&&i.push(`${o}:${Uh(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function Mle(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===ct&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==ct&&(e=e.concat(n(o,i)))}),e}(t,(i,o)=>o===ct?[Uh(t.children[ct],!1)]:[`${o}:${Uh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[ct]?`${M_(t)}/${e[0]}`:`${M_(t)}/(${e.join("//")})`}}function q4(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function D_(t){return q4(t).replace(/%3B/gi,";")}function iC(t){return q4(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function S_(t){return decodeURIComponent(t)}function Y4(t){return S_(t.replace(/\+/g,"%20"))}function Z4(t){return`${iC(t.path)}${function Ele(t){return Object.keys(t).map(n=>`;${iC(n)}=${iC(t[n])}`).join("")}(t.parameters)}`}const Ile=/^[^\/()?;#]+/;function nC(t){const n=t.match(Ile);return n?n[0]:""}const Ale=/^[^\/()?;=#]+/,Ole=/^[^=?&#]+/,Fle=/^[^&#]+/;class Nle{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vt([],{}):new Vt([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ct]=new Vt(n,e)),i}parseSegment(){const n=nC(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new $(4009,!1);return this.capture(n),new $h(S_(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function Ple(t){const n=t.match(Ale);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=nC(this.remaining);o&&(i=o,this.capture(i))}n[S_(e)]=S_(i)}parseQueryParam(n){const e=function Rle(t){const n=t.match(Ole);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function Lle(t){const n=t.match(Fle);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const o=Y4(e),r=Y4(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=nC(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new $(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=ct);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[ct]:new Vt([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new $(4011,!1)}}function K4(t){return t.segments.length>0?new Vt([],{[ct]:t}):t}function Q4(t){const n={};for(const i of Object.keys(t.children)){const r=Q4(t.children[i]);if(i===ct&&0===r.segments.length&&r.hasChildren())for(const[s,a]of Object.entries(r.children))n[s]=a;else(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function Ble(t){if(1===t.numberOfChildren&&t.children[ct]){const n=t.children[ct];return new Vt(t.segments.concat(n.segments),n.children)}return t}(new Vt(t.segments,n))}function _l(t){return t instanceof dd}function X4(t){let n;const o=K4(function e(r){const s={};for(const l of r.children){const u=e(l);s[l.outlet]=u}const a=new Vt(r.url,s);return r===t&&(n=a),a}(t.root));return n??o}function J4(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(0===n.length)return oC(o,o,o,e,i);const r=function zle(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tF(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};
1return Object.entries(r.outlets).forEach(([l,u])=>{a[l]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===s?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new tF(e,n,i)}(n);if(r.toRoot())return oC(o,o,new Vt([],{}),e,i);const s=function Hle(t,n,e){if(t.isAbsolute)return new T_(n,!0,0);if(!e)return new T_(n,!1,NaN);if(null===e.parent)return new T_(e,!0,0);const i=E_(t.commands[0])?0:1;return function jle(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new $(4005,!1);o=i.segments.length}return new T_(i,!1,o-r)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(r,o,t),a=s.processChildren?Gh(s.segmentGroup,s.index,r.commands):iF(s.segmentGroup,s.index,r.commands);return oC(o,s.segmentGroup,a,e,i)}function E_(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Wh(t){return"object"==typeof t&&null!=t&&t.outlets}function oC(t,n,e,i,o){let s,r={};i&&Object.entries(i).forEach(([l,u])=>{r[l]=Array.isArray(u)?u.map(m=>`${m}`):`${u}`}),s=t===n?e:eF(t,n,e);const a=K4(Q4(s));return new dd(a,r,o)}function eF(t,n,e){const i={};return Object.entries(t.children).forEach(([o,r])=>{i[o]=r===n?e:eF(r,n,e)}),new Vt(t.segments,i)}class tF{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&E_(i[0]))throw new $(4003,!1);const o=i.find(Wh);if(o&&o!==H4(i))throw new $(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class T_{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function iF(t,n,e){if(t||(t=new Vt([],{})),0===t.segments.length&&t.hasChildren())return Gh(t,n,e);const i=function Ule(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(i>=e.length)return r;const s=t.segments[o],a=e[i];if(Wh(a))break;const l=`${a}`,u=i<e.length-1?e[i+1]:null;if(o>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!oF(l,u,s))return r;i+=2}else{if(!oF(l,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}
1(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const r=new Vt(t.segments.slice(0,i.pathIndex),{});return r.children[ct]=new Vt(t.segments.slice(i.pathIndex),t.children),Gh(r,0,o)}return i.match&&0===o.length?new Vt(t.segments,{}):i.match&&!t.hasChildren()?rC(t,n,e):i.match?Gh(t,0,o):rC(t,n,e)}function Gh(t,n,e){if(0===e.length)return new Vt(t.segments,{});{const i=function $le(t){return Wh(t[0])?t[0].outlets:{[ct]:t}}(e),o={};if(Object.keys(i).some(r=>r!==ct)&&t.children[ct]&&1===t.numberOfChildren&&0===t.children[ct].segments.length){const r=Gh(t.children[ct],n,e);return new Vt(t.segments,r.children)}return Object.entries(i).forEach(([r,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[r]=iF(t.children[r],n,s))}),Object.entries(t.children).forEach(([r,s])=>{void 0===i[r]&&(o[r]=s)}),new Vt(t.segments,o)}}function rC(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o<e.length;){const r=e[o];if(Wh(r)){const l=Wle(r.outlets);return new Vt(i,l)}if(0===o&&E_(e[0])){i.push(new $h(t.segments[n].path,nF(e[0]))),o++;continue}const s=Wh(r)?r.outlets[ct]:`${r}`,a=o<e.length-1?e[o+1]:null;s&&a&&E_(a)?(i.push(new $h(s,nF(a))),o+=2):(i.push(new $h(s,{})),o++)}return new Vt(i,{})}function Wle(t){const n={};return Object.entries(t).forEach(([e,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=rC(new Vt([],{}),0,i))}),n}function nF(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function oF(t,n,e){return t==e.path&&wr(n,e.parameters)}const qh="imperative";class xr{constructor(n,e){this.id=n,this.url=e}}class I_ extends xr{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Cr extends xr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hd extends xr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class md extends xr{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class A_ extends xr{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class rF extends xr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gle extends xr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qle extends xr{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Yle extends xr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zle extends xr{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kle{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qle{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xle{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jle{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ece{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tce{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sF{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class sC{}class aC{constructor(n){this.url=n}}class ice{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Yh,this.attachRef=null}}let Yh=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);
1i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new ice,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class aF{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=lC(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=lC(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=cC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return cC(n,this._root).map(e=>e.value)}}function lC(t,n){if(t===n.value)return n;for(const e of n.children){const i=lC(t,e);if(i)return i}return null}function cC(t,n){if(t===n.value)return[n];for(const e of n.children){const i=cC(t,e);if(i.length)return i.unshift(n),i}return[]}class Go{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function pd(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class lF extends aF{constructor(n,e){super(n),this.snapshot=e,hC(this,n)}toString(){return this.snapshot.toString()}}function cF(t,n){const e=function nce(t,n){const s=new uC([],{},{},"",{},ct,n,null,{});return new dF("",new Go(s,[]))}(0,n),i=new Ee([new $h("",{})]),o=new Ee({}),r=new Ee({}),s=new Ee({}),a=new Ee(""),l=new $i(i,o,s,a,r,ct,n,e.root);return l.snapshot=e.root,new lF(new Go(l,[]),e)}class $i{constructor(n,e,i,o,r,s,a,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(te(u=>u[jh]))??xe(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(te(n=>cd(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(te(n=>cd(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dC(t,n,e="emptyOnly"){let i;const{routeConfig:o}=t;return i=null===n||"always"!==e&&""!==o?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...t.params},data:{...t.data},resolve:{...t.data,...t._resolvedData??{}}}:{params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.data,...o?.data,...t._resolvedData}},o&&hF(o)&&(i.resolve[jh]=o.title),i}class uC{get title(){return this.data?.[jh]}constructor(n,e,i,o,r,s,a,l,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=cd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dF extends aF{constructor(n,e){super(e),this.url=n,hC(this,e)}toString(){return uF(this._root)}}function hC(t,n){n.value._routerState=t,n.children.forEach(e=>hC(t,e))}function uF(t){const n=t.children.length>0?` { ${t.children.map(uF).join(", ")} } `:"";return`${t.value}${n}`}function mC(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,wr(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),wr(n.params,e.params)||t.paramsSubject.next(e.params),function yle(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!wr(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.urlSubject.next(e.url),wr(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function pC(t,n){const e=wr(t.params,n.params)&&function kle(t,n){return gl(t,n)&&t.every((e,i)=>wr(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||pC(t.parent,n.parent))}function hF(t){return"string"==typeof t.title||null===t.title}let fC=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=ct,this.activateEvents=new E,this.deactivateEvents=new E,this.attachEvents=new E,this.detachEvents=new E,this.parentContexts=Z(Yh),this.location=Z(yi),this.changeDetector=Z(wt),this.environmentInjector=Z(oo),this.inputBinder=Z(P_,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new $(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new $(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new $(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new $(4013,!1);this._activatedRoute=e;const o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new oce(e,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=N({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Fe]})}return t})();class oce{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===$i?this.route:n===Yh?this.childContexts:this.parent.get(n,e)}}const P_=new B("");let mF=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:i}=e,o=qt([i.queryParams,i.params,i.data]).pipe(X(([r,s,a],l)=>(a={...r,...s,...a},0===l?xe(a):Promise.resolve(a)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const s=function Aq(t){const n=ut(t);if(!n)return null;const e=new Su(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,r[a]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,o)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function Zh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function sce(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Zh(t,i,o);return Zh(t,i)})}(t,n,e);return new Go(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Zh(t,a)),s}}const i=function ace(t){return new $i(new Ee(t.url),new Ee(t.params),new Ee(t.queryParams),new Ee(t.fragment),new Ee(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>Zh(t,r));return new Go(i,o)}}const gC="ngNavigationCancelingError";function pF(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=_l(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=fF(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function fF(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[gC]=!0,i.cancellationCode=n,e&&(i.url=e),i}function gF(t){return t&&t[gC]}let _F=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["ng-component"]],standalone:!0,features:[z],decls:1,vars:0,template:function(i,o){1&i&&x(0,"router-outlet")},dependencies:[fC],encapsulation:2})}return t})();function _C(t){const n=t.children&&t.children.map(_C),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ct&&(e.component=_F),e}function kr(t){return t.outlet||ct}function Kh(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class fce{constructor(n,e,i,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=r}
1activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),mC(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=pd(e);n.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=pd(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=pd(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const o=pd(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new tce(r.value.snapshot))}),n.children.length&&this.forwardEvent(new Jle(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(mC(o),o===r)if(o.component){const s=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const s=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),mC(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Kh(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class bF{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class O_{constructor(n,e){this.component=n,this.route=e}}function gce(t,n,e){const i=t._root;return Qh(i,n?n._root:null,e,[i.value])}function fd(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function K7(t){return null!==Ym(t)}(t)?n.get(t):t:i}function Qh(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=pd(n);return t.children.forEach(s=>{(function bce(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function vce(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!gl(t.url,n.url);case"pathParamsOrQueryParamsChange":return!gl(t.url,n.url)||!wr(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pC(t,n)||!wr(t.queryParams,n.queryParams);default:return!pC(t,n)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new bF(i)):(r.data=s.data,r._resolvedData=s._resolvedData),Qh(t,n,r.component?a?a.children:null:e,i,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new O_(a.outlet.component,s))}else s&&Xh(n,a,o),o.canActivateChecks.push(new bF(i)),Qh(t,null,r.component?a?a.children:null:e,i,o)})(s,r[s.value.outlet],e,i.concat([s.value]),o),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>Xh(a,e.getContext(s),o)),o}function Xh(t,n,e){const i=pd(t),o=t.value;Object.entries(i).forEach(([r,s])=>{Xh(s,o.component?n?n.children.getContext(r):null:n,e)}),e.canDeactivateChecks.push(new O_(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function Jh(t){return"function"==typeof t}function vF(t){return t instanceof Hh||"EmptyError"===t?.name}const R_=Symbol("INITIAL_VALUE");function gd(){return X(t=>qt(t.map(n=>n.pipe(at(1),ei(R_)))).pipe(te(n=>{for(const e of n)if(!0!==e){if(e===R_)return R_;if(!1===e||e instanceof dd)return e}return!0}),yt(n=>n!==R_),at(1)))}function yF(t){return function B7(...t){return yk(t)}(xt(n=>
1{if(_l(n))throw pF(0,n)}),te(n=>!0===n))}class bC{constructor(n){this.segmentGroup=n||null}}class vC extends Error{constructor(n){super(),this.urlTree=n}}function _d(t){return nd(new bC(t))}class Vce{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return xe(i);if(o.numberOfChildren>1||!o.children[ct])return nd(new $(4e3,!1));o=o.children[ct]}}applyRedirectCommands(n,e,i){const o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e.startsWith("/"))throw new vC(o);return o}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new dd(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([o,r])=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,o)}),new Vt(r,s)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new $(4001,!1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}const yC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zce(t,n,e,i,o){const r=wC(t,n,e);return r.matched?(i=function cce(t,n){return t.providers&&!t._injector&&(t._injector=I0(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function Lce(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?xe(o.map(s=>{const a=fd(s,t);return oa(function Mce(t){return t&&Jh(t.canMatch)}(a)?a.canMatch(n,e):Os(t,()=>a(n,e)))})).pipe(gd(),yF()):xe(!0)}(i,n,e).pipe(te(s=>!0===s?r:{...yC}))):xe(r)}function wC(t,n,e){if("**"===n.path)return function Hce(t){return{matched:!0,parameters:t.length>0?H4(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}(e);if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...yC}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||vle)(e,t,n);if(!o)return{...yC};const r={};Object.entries(o.posParams??{}).forEach(([a,l])=>{r[a]=l.path});const s=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function wF(t,n,e,i){return e.length>0&&function Uce(t,n,e){return e.some(i=>F_(t,n,i)&&kr(i)!==ct)}(t,e,i)?{segmentGroup:new Vt(n,$ce(i,new Vt(e,t.children))),slicedSegments:[]}:0===e.length&&function Wce(t,n,e){return e.some(i=>F_(t,n,i))}(t,e,i)?{segmentGroup:new Vt(t.segments,jce(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Vt(t.segments,t.children),slicedSegments:e}}function jce(t,n,e,i,o){const r={};for(const s of i)if(F_(t,e,s)&&!o[kr(s)]){const a=new Vt([],{});r[kr(s)]=a}return{...o,...r}}function $ce(t,n){const e={};e[ct]=n;for(const i of t)if(""===i.path&&kr(i)!==ct){const o=new Vt([],{});e[kr(i)]=o}return e}function F_(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class Yce{}class Qce{constructor(n,e,i,o,r,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Vce(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new $(4002,`'${n.segmentGroup}'`)}recognize(){const n=wF(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(te(e=>{const i=new uC([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ct,this.rootComponentType,null,{}),o=new Go(i,e),r=new dF("",o),s=function Vle(t,n,e=null,i=null){return J4(X4(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(r._root,null),{state:r,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,ct).pipe(Xi(i=>{if(i instanceof vC)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof bC?this.noMatchError(i):i}))}inheritParamsAndData(n,e){const i=n.value,o=dC(i,e,this.paramsInheritanceStrategy);i.params=Object.freeze(o.params),i.data=Object.freeze(o.data),n.children.forEac
1h(r=>this.inheritParamsAndData(r,i))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o,!0).pipe(te(r=>r instanceof Go?[r]:[]))}processChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return ae(o).pipe(Hc(r=>{const s=i.children[r],a=function mce(t,n){const e=t.filter(i=>kr(i)===n);return e.push(...t.filter(i=>kr(i)!==n)),e}(e,r);return this.processSegmentGroup(n,a,s,r)}),function gle(t,n){return bi(function fle(t,n,e,i,o){return(r,s)=>{let a=e,l=n,u=0;r.subscribe(ai(s,m=>{const p=u++;l=a?t(l,m,p):(a=!0,m),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(t,n,arguments.length>=2,!0))}((r,s)=>(r.push(...s),r)),C_(null),function _le(t,n){const e=arguments.length>=2;return i=>i.pipe(t?yt((o,r)=>t(o,r,i)):Ss,Jx(1),e?C_(n):V4(()=>new Hh))}(),zi(r=>{if(null===r)return _d(i);const s=xF(r);return function Xce(t){t.sort((n,e)=>n.value.outlet===ct?-1:e.value.outlet===ct?1:n.value.outlet.localeCompare(e.value.outlet))}(s),xe(s)}))}processSegment(n,e,i,o,r,s){return ae(e).pipe(Hc(a=>this.processSegmentAgainstRoute(a._injector??n,e,a,i,o,r,s).pipe(Xi(l=>{if(l instanceof bC)return xe(null);throw l}))),ue(a=>!!a),Xi(a=>{if(vF(a))return function qce(t,n,e){return 0===n.length&&!t.children[e]}(i,o,r)?xe(new Yce):_d(i);throw a}))}processSegmentAgainstRoute(n,e,i,o,r,s,a){return function Gce(t,n,e,i){return!!(kr(t)===i||i!==ct&&F_(n,e,t))&&wC(n,t,e).matched}(i,o,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,r,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,r,s):_d(o):_d(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){const{matched:a,consumedSegments:l,positionalParamSegments:u,remainingSegments:m}=wC(e,o,r);if(!a)return _d(e);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const p=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,p).pipe(zi(f=>this.processSegment(n,i,e,f.concat(m),s,!1)))}matchSegmentAgainstRoute(n,e,i,o,r){const s=zce(e,i,o,n);return"**"===i.path&&(e.children={}),s.pipe(X(a=>a.matched?this.getChildConfig(n=i._injector??n,i,o).pipe(X(({routes:l})=>{const u=i._loadedInjector??n,{consumedSegments:m,remainingSegments:p,parameters:f}=a,_=new uC(m,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ede(t){return t.data||{}}(i),kr(i),i.component??i._loadedComponent??null,i,function tde(t){return t.resolve||{}}(i)),{segmentGroup:y,slicedSegments:w}=wF(e,m,p,l);if(0===w.length&&y.hasChildren())return this.processChildren(u,l,y).pipe(te(D=>null===D?null:new Go(_,D)));if(0===l.length&&0===w.length)return xe(new Go(_,[]));const C=kr(i)===r;return this.processSegment(u,l,y,w,C?ct:r,!0).pipe(te(D=>new Go(_,D instanceof Go?[D]:[])))})):_d(e)))}getChildConfig(n,e,i){return e.children?xe({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?xe({routes:e._loadedRoutes,injector:e._loadedInjector}):function Fce(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?xe(!0):xe(o.map(s=>{const a=fd(s,t);return oa(function wce(t){return t&&Jh(t.canLoad)}(a)?a.canLoad(n,e):Os(t,()=>a(n,e)))})).pipe(gd(),yF())}(n,e,i).pipe(zi(o=>o?this.configLoader.loadChildren(n,e).pipe(xt(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function Bce(t){return nd(fF(!1,3))}())):xe({routes:[],injector:n})}}function Jce(t){const n=t.value.routeConfig;return n&&""===n.path}function xF(t){const n=[],e=new Set;for(const i of t){if(!Jce(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=xF(i.children);n.push(new Go(i.value,o))}return n.filter(i=>!e.has(i))}function CF(t){const n=t.children.map(e=>CF(e)).flat();return[t,...n]}function xC(t){return X(n=>{const e=t(n);return e?ae(e).pipe(te(()=>n)):xe(n)})}let kF=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===ct);return i}getResolvedTitleForRoute(e){return e.data[jh]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(ade),providedIn:"root"})}return t})(),ade=(()=>{class t extends kF{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}
1static#e=this.\u0275fac=function(i){return new(i||t)(R(A1))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bd=new B("",{providedIn:"root",factory:()=>({})}),vd=new B("ROUTES");let CC=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Z(HI)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return xe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=oa(e.loadComponent()).pipe(te(MF),xt(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),jc(()=>{this.componentLoaders.delete(e)})),o=new dx(i,()=>new fe).pipe(cx());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return xe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=function lde(t,n,e,i){return oa(t.loadChildren()).pipe(te(MF),zi(o=>o instanceof oI||Array.isArray(o)?xe(o):ae(n.compileModuleAsync(o))),te(o=>{i&&i(t);let r,s,a=!1;return Array.isArray(o)?(s=o,!0):(r=o.create(e).injector,s=r.get(vd,[],{optional:!0,self:!0}).flat()),{routes:s.map(_C),injector:r}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(jc(()=>{this.childrenLoaders.delete(i)})),s=new dx(r,()=>new fe).pipe(cx());return this.childrenLoaders.set(i,s),s}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MF(t){return function cde(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let kC=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(dde),providedIn:"root"})}return t})(),dde=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const DF=new B(""),SF=new B("");function ude(t,n,e){const i=t.get(SF),o=t.get(Ve);return t.get(ie).runOutsideAngular(()=>{if(!o.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let r;const s=new Promise(u=>{r=u}),a=o.startViewTransition(()=>(r(),function hde(t){return new Promise(n=>{RS(n,{injector:t})})}(t))),{onViewTransitionCreated:l}=i;return l&&Os(t,()=>l({transition:a,from:n,to:e})),s})}let L_=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new fe,this.transitionAbortSubject=new fe,this.configLoader=Z(CC),this.environmentInjector=Z(oo),this.urlSerializer=Z(ud),this.rootContexts=Z(Yh),this.location=Z(mr),this.inputBindingEnabled=null!==Z(P_,{optional:!0}),this.titleStrategy=Z(kF),this.options=Z(bd,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=Z(kC),this.createViewTransition=Z(DF,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>xe(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Qle(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Kle(o))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e,i,o){return this.transitions=new Ee({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qh,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(yt(r=>0!==r.id),te(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),X(r=>{this.currentTransition=r;let s=!1,a=!1;return xe(r).pipe(xt(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),X(l=>{const u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!u&&"reload"!==(l.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const p="";return this.events.next(new md(l.id,this.urlSerializer.serialize(l.rawUrl),p,0)),l.resolve(null),Ho}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return xe(l).pipe(X(p=>{const f=this.transitions?.getValue();return this.events.next(new I_(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),f!==this.transitions?.getValue()?Ho:Promise.resolve(p)}),function ide(t,n,e,i,o,r){return zi(s=>function Zce(t,n,e,i,o,r,s="emptyOnly"){return new Qce(t,n,e,i,o,s,r).recognize()}(t,n,e,i,s.extractedUrl,o,r).pipe(te(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),xt(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:p.urlAfterRedirects};const f=new rF(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:p,extractedUrl:f,source:_,restoredState:y,extras:w}=l,C=new I_(p,this.urlSerializer.serialize(f),_,y);this.events.next(C);const D=cF(0,this.rootComponentType).snapshot;return this.currentTransition=r={...l,targetSnapshot:D,urlAfterRedirects:f,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,xe(r)}{const p="";return this.events.next(new md(l.id,this.urlSerializer.serialize(l.extractedUrl),p,1)),l.resolve(null),Ho}}),xt(l=>{const u=new Gle(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),te(l=>(this.currentTransition=r={...l,guards:gce(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},r)),function Sce(t,n){return zi(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return 0===s.length&&0===r.length?xe({...e,guardsResult:!0}):function Ece(t,n,e,i){return ae(t).pipe(zi(o=>
1function Rce(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?xe(r.map(a=>{const l=Kh(n)??o,u=fd(a,l);return oa(function kce(t){return t&&Jh(t.canDeactivate)}(u)?u.canDeactivate(t,n,e,i):Os(l,()=>u(t,n,e,i))).pipe(ue())})).pipe(gd()):xe(!0)}(o.component,o.route,e,n,i)),ue(o=>!0!==o,!0))}(s,i,o,t).pipe(zi(a=>a&&function yce(t){return"boolean"==typeof t}(a)?function Tce(t,n,e,i){return ae(n).pipe(Hc(o=>bh(function Ace(t,n){return null!==t&&n&&n(new Xle(t)),xe(!0)}(o.route.parent,i),function Ice(t,n){return null!==t&&n&&n(new ece(t)),xe(!0)}(o.route,i),function Oce(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>function _ce(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>cl(()=>xe(s.guards.map(l=>{const u=Kh(s.node)??e,m=fd(l,u);return oa(function Cce(t){return t&&Jh(t.canActivateChild)}(m)?m.canActivateChild(i,t):Os(u,()=>m(i,t))).pipe(ue())})).pipe(gd())));return xe(r).pipe(gd())}(t,o.path,e),function Pce(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return xe(!0);const o=i.map(r=>cl(()=>{const s=Kh(n)??e,a=fd(r,s);return oa(function xce(t){return t&&Jh(t.canActivate)}(a)?a.canActivate(n,t):Os(s,()=>a(n,t))).pipe(ue())}));return xe(o).pipe(gd())}(t,o.route,e))),ue(o=>!0!==o,!0))}(i,r,t,n):xe(a)),te(a=>({...e,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),xt(l=>{if(r.guardsResult=l.guardsResult,_l(l.guardsResult))throw pF(0,l.guardsResult);const u=new qle(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),yt(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),xC(l=>{if(l.guards.canActivateChecks.length)return xe(l).pipe(xt(u=>{const m=new Yle(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(m)}),X(u=>{let m=!1;return xe(u).pipe(function nde(t,n){return zi(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return xe(e);const r=new Set(o.map(l=>l.route)),s=new Set;for(const l of r)if(!s.has(l))for(const u of CF(l))s.add(u);let a=0;return ae(s).pipe(Hc(l=>r.has(l)?function ode(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!hF(o)&&(r[jh]=o.title),function rde(t,n,e,i){const o=eC(t);if(0===o.length)return xe({});const r={};return ae(o).pipe(zi(s=>function sde(t,n,e,i){const o=Kh(n)??i,r=fd(t,o);return oa(r.resolve?r.resolve(n,e):Os(o,()=>r(n,e)))}(t[s],n,e,i).pipe(ue(),xt(a=>{r[s]=a}))),Jx(1),Bw(r),Xi(s=>vF(s)?Ho:nd(s)))}(r,t,n,i).pipe(te(s=>(t._resolvedData=s,t.data=dC(t,t.parent,e).resolve,null)))}(l,i,t,n):(l.data=dC(l,l.parent,t).resolve,xe(void 0))),xt(()=>a++),Jx(1),zi(l=>a===s.size?xe(e):Ho))})}(this.paramsInheritanceStrategy,this.environmentInjector),xt({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(u,"",2)}}))}),xt(u=>{const m=new Zle(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(m)}))}),xC(l=>{const u=m=>{const p=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(m.routeConfig).pipe(xt(f=>{m.component=f}),te(()=>{})));for(const f of m.children)p.push(...u(f));return p};return qt(u(l.targetSnapshot.root)).pipe(C_(null),at(1))}),xC(()=>this.afterPreactivation()),X(()=>{const{currentSnapshot:l,targetSnapshot:u}=r,m=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return m?ae(m).pipe(te(()=>r)):xe(r)}),te(l=>{const u=function rce(t,n,e){const i=Zh(t,n._root,e?e._root:void 0);return new lF(i,n)}(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r={...l,targetRouterState:u},this.currentNavigation.targetRouterState=u,r}),xt(()=>{this.events.next(new sC)}),((t,n,e,i)=>te(o=>(new fce(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)))(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),at(1),xt({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Cr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),qe(this.transitionAbortSubject.pipe(xt(l=>{throw l}))),jc(()=>{s||a||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),Xi(l=>{if(a=!0,gF(l))this.events.next(new hd(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),function lce(t){return gF(t)&&_l(t.url)}(l)?this.events.next(new aC(l.url)):r.resolve(!1);else{this.events.next(new A_(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0));try{r.resolve(e.errorHandler(l))}catch(u){r.reject(u)}}return Ho}))}))}cancelNavigationTransition(e,i,o){const r=new hd(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mde(t){return t!==qh}let pde=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(gde),providedIn:"root"})}return t})();class fde{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let gde=(()=>{class t extends fde{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),EF=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:()=>Z(_de),providedIn:"root"})}return t})(),_de=(()=>{class t extends EF{constructor(){super(...arguments),this.location=Z(mr),this.urlSerializer=Z(ud),this.options=Z(bd,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=Z(kC),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new dd,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=cF(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{"popstate"===i.type&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof I_)this.stateMemento=this.createStateMemento();else if(e instanceof md)this.rawUrlTree=i.initialUrl;else if(e instanceof rF){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof sC?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof hd&&(3===e.code||2===e.code)?this.restoreHistory(i):e instanceof A_?this.restoreHistory(i,!0):e instanceof Cr&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const r={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",r)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&0===r&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var em=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(em||{});function TF(t,n){t.events.pipe(yt(e=>e instanceof Cr||e instanceof hd||e instanceof A_||e instanceof md),te(e=>e instanceof Cr||e instanceof md?em.COMPLETE:e instanceof hd&&(0===e.code||1===e.code)?em.REDIRECTING:em.FAILED),yt(e=>e!==em.REDIRECTING),at(1)).subscribe(()=>{n()})}function bde(t){throw t}const vde={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yde={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=Z(zI),this.stateManager=Z(EF),this.options=Z(bd,{optional:!0})||{},this.pendingTasks=Z(Zu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=Z(L_),this.urlSerializer
1=Z(ud),this.location=Z(mr),this.urlHandlingStrategy=Z(kC),this._events=new fe,this.errorHandler=this.options.errorHandler||bde,this.navigated=!1,this.routeReuseStrategy=Z(pde),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=Z(vd,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!Z(P_,{optional:!0}),this.eventsSubscription=new pt,this.isNgZoneEnabled=Z(ie)instanceof ie&&ie.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==o&&null!==r)if(this.stateManager.handleRouterEvent(i,r),i instanceof hd&&0!==i.code&&1!==i.code)this.navigated=!0;else if(i instanceof Cr)this.navigated=!0;else if(i instanceof aC){const s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),a={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||mde(o.source)};this.scheduleNavigation(s,qh,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function xde(t){return!(t instanceof sC||t instanceof aC)})(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),qh,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)}))}navigateToSyncWithBrowser(e,i,o){const r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(_C),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:s;let p,m=null;switch(a){case"merge":m={...this.currentUrlTree.queryParams,...r};break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=r||null}null!==m&&(m=this.removeEmptyProps(m));try{p=X4(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),p=this.currentUrlTree.root}return J4(p,e,m,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=_l(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,qh,null,i)}navigate(e,i={skipLocationChange:!1}){return function wde(t){for(let n=0;n<t.length;n++)if(null==t[n])throw new $(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(o=!0===i?{...vde}:!1===i?{...yde}:i,_l(e))return $4(this.currentUrlTree,e,o);const r=this.parseUrl(e);return $4(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.keys(e).reduce((i,o)=>{const r=e[o];return null!=r&&(i[o]=r),i},{})}scheduleNavigation(e,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((p,f)=>{a=p,l=f});const m=this.pendingTasks.add();return TF(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(p=>Promise.reject(p))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zt=(()=>{class t{constructor(e,i,o,r,s,a){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new fe,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof Cr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,o,r,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||r||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function $D(t,n,e){return function lz(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?jD:Jt}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,e,i):o.removeAttribute(r,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Pt),v($i),Ro("tabindex"),v(or),v(be),v(za))};static#t=this.\u0275dir=N({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){1&i&&V("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&ke("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Bc],skipLocationChange:["skipLocationChange","skipLocationChange",Bc],replaceUrl:["replaceUrl","replaceUrl",Bc],routerLink:"routerLink"},standalone:!0,features:[$S,Fe]})}return t})();class IF{}let Mde=(()=>{class t{constructor(e,i,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(yt(e=>e instanceof Cr),Hc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=I0(r.providers,e,`Route: ${r.path}`));const s=r._injector??e,a=r._loadedInjector??s;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(s,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return ae(o).pipe(Kc())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):xe(null);const r=o.pipe(zi(s=>
1null===s?xe(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?ae([r,this.loader.loadComponent(i)]).pipe(Kc()):r})}static#e=this.\u0275fac=function(i){return new(i||t)(R(Pt),R(HI),R(oo),R(IF),R(CC))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const MC=new B("");let AF=(()=>{class t{constructor(e,i,o,r,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof I_?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Cr?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof md&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof sF&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new sF(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){Ta()};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function Mr(t,n){return{\u0275kind:t,\u0275providers:n}}function OF(){const t=Z(Xt);return n=>{const e=t.get(Hs);if(n!==e.components[0])return;const i=t.get(Pt),o=t.get(RF);1===t.get(DC)&&i.initialNavigation(),t.get(FF,null,ht.Optional)?.setUpPreloading(),t.get(MC,null,ht.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const RF=new B("",{factory:()=>new fe}),DC=new B("",{providedIn:"root",factory:()=>1}),FF=new B("");function Tde(t){return Mr(0,[{provide:FF,useExisting:Mde},{provide:IF,useExisting:t}])}function Ade(t){return Mr(9,[{provide:DF,useValue:ude},{provide:SF,useValue:{skipNextTransition:!!t?.skipInitialTransition,...t}}])}const LF=new B("ROUTER_FORROOT_GUARD"),Pde=[mr,{provide:ud,useClass:tC},Pt,Yh,{provide:$i,useFactory:function PF(t){return t.routerState.root},deps:[Pt]},CC,[]];let Dt=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Pde,[],{provide:vd,multi:!0,useValue:e},{provide:LF,useFactory:Lde,deps:[[Pt,new Fo,new Vr]]},{provide:bd,useValue:i||{}},i?.useHash?{provide:za,useClass:Lq}:{provide:za,useClass:EA},{provide:MC,useFactory:()=>{const t=Z(QY),n=Z(ie),e=Z(bd),i=Z(L_),o=Z(ud);return e.scrollOffset&&t.setOffset(e.scrollOffset),new AF(o,i,t,n,e)}},i?.preloadingStrategy?Tde(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Nde(i):[],i?.bindToComponentInputs?Mr(8,[mF,{provide:P_,useExisting:mF}]).\u0275providers:[],i?.enableViewTransitions?Ade().\u0275providers:[],[{provide:NF,useFactory:OF},{provide:G0,multi:!0,useExisting:NF}]]}}static forChild(e){return{ngModule:t,providers:[{provide:vd,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(i){return new(i||t)(R(LF,8))};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();function Lde(t){return"guarded"}function Nde(t){return["disabled"===t.initialNavigation?Mr(3,[{provide:Df,multi:!0,useFactory:()=>{const n=Z(Pt);return()=>{n.setUpLocationChangeListener()}}},{provide:DC,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Mr(2,[{provide:DC,useValue:0},{provide:Df,multi:!0,deps:[Xt],useFactory:n=>{const e=n.get(Rq,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(Pt),r=n.get(RF);TF(o,()=>{i(!0)}),n.get(L_).afterPreactivation=()=>(i(!0),r.closed?xe(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const NF=new B(""),SC=new B("JWT_OPTIONS");let EC=(()=>{class t{constructor(e=null){this.tokenGetter=e&&e.tokenGetter||function(){}}urlBase64Decode(e){let i=e.replace(/-/g,"+").replace(/_/g,"/");switch(i.length%4){case 0:break;case 2:i+="==";break;case 3:i+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(i)}b64decode(e){let o="";if((e=String(e).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let s,a,r=0,l=0;a=e.charAt(l++);~a&&(s=r%4?64*s+a:a,r++%4)?o+=String.fromCharCode(255&s>>(-2*r&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=".indexOf(a);return o}b64DecodeUnicode(e){return decodeURIComponent(Array.prototype.map.call(this.b64decode(e),i=>"%"+("00"+i.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(e=this.tokenGetter()){return e instanceof Promise?e.then(i=>this._decodeToken(i)):this._decodeToken(e)}_decodeToken(e){if(!e||""===e)return null;const i=e.split(".");if(3!==i.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const o=this.urlBase64Decode(i[1]);if(!o)throw new Error("Cannot decode the token.");return JSON.parse(o)}getTokenExpirationDate(e=this.tokenGetter()){return e instanceof Promise?e.then(i=>this._getTokenExpirationDate(i)):this._getTokenExpirationDate(e)}_getTokenExpirationDate(e){let i;if(i=this.decodeToken(e),!i||!i.hasOwnProperty("exp"))return null;const o=new Date(0);return o.setUTCSeconds(i.exp),o}isTokenExpired(e=this.tokenGetter(),i){return e instanceof Promise?e.then(o=>this._isTokenExpired(o,i)):this._isTokenExpired(e,i)}_isTokenExpired(e,i){if(!e||""===e)return!0;const o=this.getTokenExpirationDate(e);return i=i||0,null!==o&&!(o.valueOf()>(new Date).valueOf()+1e3*i)}getAuthScheme(e,i){return"function"==typeof e?e(i):e}}return t.\u0275fac=function(e){return new(e||t)(R(SC))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const BF=t=>t instanceof Promise?cl(()=>t):xe(t);let Vde=(()=>{class t{constructor(e,i,o){this.jwtHelper=i,this.document=o,this.standardPorts=["80","443"],this.tokenGetter=e.tokenGetter,this.headerName=e.headerName||"Authorization",this.authScheme=e.authScheme||""===e.authScheme?e.authScheme:"Bearer ",this.allowedDomains=e.allowedDomains||[],this.disallowedRoutes=e.disallowedRoutes||[],this.throwNoTokenError=e.throwNoTokenError||!1,this.skipWhenExpired=e.skipWhenExpired}isAllowedDomain(e){const i=new URL(e.url,this.document.location.origin);if(i.host===this.document.location.host)return!0;const o=`${i.hostname}${i.port&&!this.standardPorts.includes(i.port)?":"+i.port:""}`;return this.allowedDomains.findIndex(r=>"string"==typeof r?r===o:r instanceof RegExp&&r.test(o))>-1}isDisallowedRoute(e){const i=new URL(e.url,this.document.location.origin);return this.disallowedRoutes.findIndex(o=>{if("string"==typeof o){const r=new URL(o,this.document.location.origin);return r.hostname===i.hostname&&r.pathname===i.pathname}return o instanceof RegExp&&o.test(e.url)})>-1}handleInterception(e,i,o){const r=this.jwtHelper.getAuthScheme(this.authScheme,i);if(!e&&this.throwNoTokenError)throw new Error("Could not get token from tokenGetter function.");let s=xe(!1);return this.skipWhenExpired&&(s=e?BF(this.jwtHelper.isTokenExpired(e)):xe(!0)),e?s.pipe(te(a=>a&&this.skipWhenExpired?i.clone():i.clone({setHeaders:{[this.headerName]:`${r}${e}`}})),zi(a=>o.handle(a))):o.handle(i)}intercept(e,i){if(!this.isAllowedDomain(e)||this.isDisallowedRoute(e))return i.handle(e);const o=this.tokenGetter(e);return BF(o).pipe(zi(r=>this.handleInterception(r,e,i)))}}return t.\u0275fac=function(e){return new(e||t)(R(SC),R(EC),R(Ve))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),zde=(()=>{class t{constructor(e){if(e)throw new Error("JwtModule is already loaded. It should only be imported in your application's main module.")}static forRoot(e){return{ngModule:t,providers:[{provide:zP,useClass:Vde,multi:!0},e.jwtOptionsProvider||{provide:SC,useValue:e.config},EC]}}}return t.\u0275fac=function(e){return new(e||t)(R(t,12))},t.\u0275mod=Re({type:t}),t.\u0275inj=Oe({}),t})();function Hde(t,n){}const N_=()=>{const t=typeof window<"u"?window:void 0;return t&&t.tinymce?t.tinymce:null};let jde=(()=>{class t{constructor(){this.onBeforePaste=new E,this.onBlur=new E,this.onClick=new E,this.onContextMenu=new E,this.onCopy=new E,this.onCut=new E,this.onDblclick=new E,this.onDrag=new E,this.onDragDrop=new E,this.onDragEnd=new E,this.onDragGesture=new E,this.onDragOver=new E,this.onDrop=new E,this.onFocus=new E,this.onFocusIn=new E,this.onFocusOut=new E,this.onKeyDown=new E,this.onKeyPress=new E,this.onKeyUp=new E,this.onMouseDown=new E,this.onMouseEnter=new E,this.onMouseLeave=new E,this.onMouseMove=new E,this.onMouseOut=new E,this.onMouseOver=new E,this.onMouseUp=new E,this.onPaste=new E,this.onSelectionChange=new E,this.onActivate=new E,this.onAddUndo=new E,this.onBeforeAddUndo=new E,this.onBeforeExecCommand=new E,this.onBeforeGetContent=new E,this.onBeforeRenderUI=new E,this.onBeforeSetContent=new E,this.onChange=new E,this.onClearUndos=new E,this.onDeactivate=new E,this.onDirty=new E,this.onExecCommand=new E,this.onGetContent=new E,this.onHide=new E,this.onInit=new E,this.onInitNgModel=new E,this.onLoadContent=new E,this.onNodeChange=new E,this.onPostProcess=new E,this.onPostRender=new E,this.onPreInit=new E,this.onPreProcess=new E,this.onProgressState=new E,this.onRedo=new E,this.onRemove=new E,this.onReset=new E,this.onResizeEditor=new E,this.onSaveContent=new E,this.onSetAttrib=new E,this.onObjectResizeStart=new E,this.onObjectResized=new E,this.onObjectSelected=new E,this.onSetContent=new E,this.onShow=new E,this.onSubmit=new E,this.onUndo=new E,this.onVisualAid=new E}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=N({type:t,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onF
1ocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),t})();const VF=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],B_=(t,n,e)=>vr(t,n).pipe(qe(e)),zF=(t,n)=>"string"==typeof t?t.split(",").map(e=>e.trim()):Array.isArray(t)?t:n;let HF=0;const jF=t=>typeof t<"u"&&"textarea"===t.tagName.toLowerCase(),$F=t=>typeof t>"u"||""===t?[]:Array.isArray(t)?t:t.split(" "),Gde=(t,n)=>$F(t).concat($F(n)),qde=()=>{},UF=t=>null==t,Yde=(()=>{let t={script$:null};return{load:(i,o)=>t.script$||(t.script$=cl(()=>{const r=i.createElement("script");return r.referrerPolicy="origin",r.type="application/javascript",r.src=o,i.head.appendChild(r),vr(r,"load").pipe(at(1),Bw(void 0))}).pipe(dl({bufferSize:1,refCount:!0}))),reinitialize:()=>{t={script$:null}}}})(),Zde=new B("TINYMCE_SCRIPT_SRC"),Kde={provide:vn,useExisting:bt(()=>GF),multi:!0};let GF=(()=>{class t extends jde{constructor(e,i,o,r){super(),this.platformId=o,this.tinymceScriptSrc=r,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=qde,this.destroy$=new fe,this.initialise=()=>{const s={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:Gde(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:a=>{this._editor=a,B_(a,"init",this.destroy$).subscribe(()=>{this.initEditor(a)}),((t,n,e)=>{(t=>{const n=zF(t.ignoreEvents,[]);return zF(t.allowedEvents,VF).filter(i=>VF.includes(i)&&!n.includes(i))})(t).forEach(o=>{const r=t[o];B_(n,o.substring(2),e).subscribe(s=>{r.observers.length>0&&t.ngZone.run(()=>r.emit({event:s,editor:n}))})})})(this,a,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(a)}};jF(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{N_().init(s)})},this._elementRef=e,this.ngZone=i}set disabled(e){this._disabled=e,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(e?"readonly":"design"):this._editor.setMode(e?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(e){this._editor&&this._editor.initialized?this._editor.setContent(UF(e)?"":e):this.initialValue=null===e?void 0:e}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}setDisabledState(e){this.disabled=e}ngAfterViewInit(){ih(this.platformId)&&(this.id=this.id||(t=>{const e=(new Date).getTime(),i=Math.floor(1e9*Math.random());return HF++,"tiny-angular_"+i+HF+String(e)}
1)(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==N_()?this.initialise():this._element&&this._element.ownerDocument&&Yde.load(this._element.ownerDocument,this.getScriptSrc()).pipe(qe(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==N_()&&N_().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,jF(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return UF(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(e){B_(e,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),B_(e,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(e))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{e.setContent(this.initialValue),e.getContent()!==this.initialValue&&this.emitOnChange(e),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(e)})}emitOnChange(e){this.onChangeCallback&&this.onChangeCallback(e.getContent({format:this.outputFormat}))}}return t.\u0275fac=function(e){return new(e||t)(v(be),v(ie),v(ro),v(Zde,8))},t.\u0275cmp=O({type:t,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[Te([Kde]),Y,z],decls:1,vars:0,template:function(e,i){1&e&&T(0,Hde,0,0,"ng-template")},dependencies:[ne,cw],styles:["[_nghost-%COMP%]{display:block}"]}),t})(),Qde=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Re({type:t}),t.\u0275inj=Oe({imports:[GF]}),t})(),Ln=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i,this.context={ngLet:null,$implicit:null},this.hasView=!1}set ngLet(e){this.context.$implicit=this.context.ngLet=e,this.hasView||(this.hasView=!0,this.viewContainer.createEmbeddedView(this.templateRef,this.context))}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(v(yi),v(nt))};static#t=this.\u0275dir=N({type:t,selectors:[["","ngLet",""]],inputs:{ngLet:"ngLet"}})}return t})(),Ii=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({})}return t})();const xi=["stripeElementRef"];function Xde(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function Jde(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function eue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function tue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function iue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function nue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function oue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function rue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function sue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function aue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function lue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function cue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function due(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function uue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function hue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function mue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function pue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function fue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function gue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}function _ue(t,n){1&t&&Le(0,2),2&t&&k("ngTemplateOutlet",S().loadingTemplate)}let Ai=(()=>{class t{templateRef;constructor(e){this.templateRef=e}static \u0275fac=function(i){return new(i||t)(v(nt))};static \u0275dir=N({type:t,selectors:[["","ngxStripeLoadingTemplate",""]],standalone:!0})}return t})();const V_=new B("Stripe Publishable Key"),TC=new B("Stripe Options"),IC=new B("NGX_STRIPE_VERSION");class AC{version;loader;window;key;options;stripe$=new Ee(void 0);stripe=this.stripe$.asObservable().pipe(yt(n=>!!n));constructor(n,e,i,o,r){this.version=n,this.loader=e,this.window=i,this.key=o,this.options=r,this.loader.asStream().pipe(yt(s=>!0===s.loaded),ue(),te(()=>this.window.getNativeWindow().Stripe)).subscribe(s=>{const a=this.options?s(this.key,this.options):s(this.key);a.registerAppInfo(this.getNgxStripeAppInfo(this.version)),this.stripe$.next(a)})}getInstance(){return this.stripe$.getValue()}elements(n){return this.stripe.pipe(te(e=>e.elements(n)),ue())}redirectToCheckout(n){return this.stripe.pipe(X(e=>ae(e.redirectToCheckout(n))),ue())}confirmPayment(n){return this.stripe.pipe(X(e=>ae(e.confirmPayment(n))),ue())}confirmAcssDebitPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmAcssDebitPayment(n,e,i))),ue())}confirmUsBankAccountPayment(n,e){return this.stripe.pipe(X(i=>ae(i.confirmUsBankAccountPayment(n,e))),ue())}confirmAlipayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmAlipayPayment(n,e,i))),ue())}confirmAuBecsDebitPayment(n,e){return this.stripe.pipe(X(i=>ae(i.confirmAuBecsDebitPayment(n,e))),ue())}confirmBancontactPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmBancontactPayment(n,e,i))),ue())}confirmBlikPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmBlikPayment(n,e,i))),ue())}confirmBoletoPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmBoletoPayment(n,e,i))),ue())}confirmCardPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmCardPayment(n,e,i))),ue())}confirmCashappPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmCashappPayment(n,e,i))),ue())}confirmCustomerBalancePayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmCustomerBalancePayment(n,e,i))),ue())}confirmEpsPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmEpsPayment(n,e,i))),ue())}confirmFpxPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmFpxPayment(n,e,i))),ue())}confirmGiropayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmGiropayPayment(n,e,i))),ue())}confirmGrabPayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmGrabPayPayment(n,e,i))),ue())}confirmIdealPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmIdealPayment(n,e,i))),ue())}confirmKlarnaPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmKlarnaPayment(n,e,i))),ue())}confirmKonbiniPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmKonbiniPayment(n,e,i))),ue())}confirmOxxoPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmOxxoPayment(n,e,i))),ue())}confirmP24Payment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmP24Payment(n,e,i))),ue())}confirmPayNowPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmPayNowPayment(n,e,i))),ue())}confirmPayPalPayment(n,e){return this.stripe.pipe(X(i=>ae(i.confirmPayPalPayment(n,e))),ue())}confirmPixPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmPixPayment(n,e,i))),ue())}confirmPromptPayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmPromptPayPayment(n,e,i))),ue())}confirmSepaDebitPayment(n,e){return this.stripe.pipe(X(i=>ae(i.confirmSepaDebitPayment(n,e))),ue())}confirmSofortPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmSofortPayment(n,e,i))),ue())}confirmWechatPayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmWechatPayPayment(n,e,i))),ue())}handleCardAction(n){return this.stripe.pipe(X(e=>ae(e.handleCardAction(n))),ue())}handleNextAction(n){return this.stripe.pipe(X(e=>ae(e.handleNextAction(n))),ue())}verifyMicrodepositsForPayment(n,e){return this.stripe.pipe(X(i=>ae(i.verifyMicrodepositsForPayment(n,e))),ue())}createRadarSession(){return this.stripe.pipe(X(n=>ae(n.createRadarSession())),ue())}collectBankAccountForPayment(n){return this.stripe.pipe(X(e=>ae(e.collectBankAccountForPayment(n))),ue())}createPaymentMethod(n){return this.stripe.pipe(X(e=>ae(e.createPaymentMethod(n))),ue())}retrievePaymentIntent(n){return this.stripe.pipe(X(e=>ae(e.retrievePaymentIntent(n))),ue())}confirmSetup(n){return this.stripe.pipe(X(e=>ae(e.confirmSetup(n))),ue())}confirmAcssDebitSetup(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmAcssDebitSetup(n,e,i))),ue())}confirmUsBankAccountSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmUsBankAccountSetup(n,e))),ue())}confirmAuBecsDebitSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmAuBecsDebitSetup(n,e))),ue())}confirmBacsDebitSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmBacsDebitSetup(n,e))),ue())}confirmBancontactSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmBancontactSetup(n,e))),ue())}confirmCardSetup(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmCardSetup(n,e,i))),ue())}confirmCashappSetup(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmCashappSetup(n,e,i))),ue())}confirmIdealSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmIdealSetup(n,e))),ue())}confirmPayPalSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmPayPalSetup(n,e))),ue())}confirmSepaDebitSetup(n,e){return this.stripe.pipe(X(i=>ae(i.confirmSepaDebitSetup(n,e))),ue())}confirmSofortSetup(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmSofortSetup(n,e,i))),ue())}confirmAffirmPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmAffirmPayment(n,e,i))),ue())}confirmAfterpayClearpayPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmAfterpayClearpayPayment(n,e,i))),ue())}verifyMicrodepositsForSetup(n,e){return this.stripe.pipe(X(i=>ae(i.verifyMicrodepositsForSetup(n,e))),ue())}collectBankAccountForSetup(n){return this.stripe.pipe(X(e=>ae(e.collectBankAccountForSetup(n))),ue())}retrieveSetupIntent(n){return this.stripe.pipe(X(e=>ae(e.retrieveSetupIntent(n))),ue())}processOrder(n){return this.stripe.pipe(X(e=>ae(e.processOrder(n))),ue())}retrieveOrder(n){return this.stripe.pipe(X(e=>ae(e.retrieveOrder(n))),ue())}paymentRequest(n){return this.getInstance().paymentRequest(n)}createToken(n,e){return this.stripe.pipe(X(i=>ae(i.createToken(n,e))),ue())}createSource(n,e){return this.stripe.pipe(X(i=>ae(i.createSource(n,e))),ue())}retrieveSource(n){return this.stripe.pipe(X(e=>ae(e.retrieveSource(n))),ue())}verifyIdentity(n){return this.stripe.pipe(X(e=>ae(e.verifyIdentity(n))),ue())}collectFinancialConnectionsAccounts(n){return this.stripe.pipe(X(e=>ae(e.collectFinancialConnectionsAccounts(n))),ue())}collectBankAccountToken(n){return this.stripe.pipe(X(e=>ae(e.collectBankAccountToken(n))),ue())}createEphemeralKeyNonce(n){return this.stripe.pipe(X(e=>ae(e.createEphemeralKeyNonce(n))),ue())}initCustomCheckout(n){return this.stripe.pipe(X(e=>ae(e.initCustomCheckout(n))),ue())}initEmbeddedCheckout(n){return this.stripe.pipe(X(e=>ae(e.initEmbeddedCheckout(n))),ue())}handleCardPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.handleCardPayment(n,e,i))),ue())}confirmPaymentIntent(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmPaymentIntent(n,e,i))),ue())}handleCardSetup(n,e,i){return this.stripe.pipe(X(o=>ae(o.handleCardSetup(n,e,i))),ue())}confirmSetupIntent(n,e,i){return this.stripe.pipe(X(o=>ae(o.confirmSetupIntent(n,e,i))),ue())}handleFpxPayment(n,e,i){return this.stripe.pipe(X(o=>ae(o.handleFpxPayment(n,e,i))),ue())}getNgxStripeAppInfo(n){return{name:"ngx-stripe",url:"https://ngx-stripe.dev",partner_id:"pp_partner_JR4l1rmvUoPP4V",version:n}}}let z_=(()=>{class t{platformId;constructor(e){this.platformId=e}getNativeWindow(){return ih(this.platformId)?window:{}}static \u0275fac=function(i){return new(i||t)(R(ro))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),qF=(()=>{class t{platformId;constructor(e){this.platformId=e}getNativeDocument(){return ih(this.platformId)?document:{}}static \u0275fac=function(i){return new(i||t)(R(ro))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),PC=(()=>{class t{platformId;window;document;status=new Ee({error:!1,loaded:!1,loading:!1});constructor(e,i,o){this.platformId=e,this.window=i,this.document=o}asStream(){return this.load(),this.status.asObservable()}isReady(){return this.status.getValue().loaded}load(){if(y1(this.platformId))return;const e=this.status.getValue();if(this.window.getNativeWindow().hasOwnProperty("Stripe"))this.status.next({error:!1,loaded:!0,loading:!1});else if(!e.loaded&&!e.loading){this.status.next({...e,loading:!0});const i=this.document.getNativeDocument().createElement("script");i.type="text/javascript",i.async=!0,i.defer=!0,i.src="https://js.stripe.com/v3/",i.onload=()=>{this.status.next({error:!1,loaded:!0,loading:!1})},i.onerror=()=>{this.status.next({error:!0,loaded:!1,loading:!1})},this.document.getNativeDocument().body.appendChild(i)}}static \u0275fac=function(i){return new(i||t)(R(ro),R(z_),R(qF))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),OC=(()=>{class t{version;key;options;loader;window;stripe;constructor(e,i,o,r,s){this.version=e,this.key=i,this.options=o,this.loader=r,this.window=s,i&&(this.stripe=new AC(this.version,this.loader,this.window,i,o))}getStripeReference(){return this.loader.asStream().pipe(yt(e=>!0===e.loaded),te(()=>this.window.getNativeWindow().Stripe))}getInstance(){return this.stripe.getInstance()}setKey(e,i){return this.changeKey(e,i)}changeKey(e,i){return this.stripe=new AC(this.version,this.loader,this.window,e,i),this.stripe}elements(e){return this.stripe.elements(e)}redirectToCheckout(e){return this.stripe.redirectToCheckout(e)}confirmPayment(e){return this.stripe.confirmPayment(e)}confirmAcssDebitPayment(e,i,o){return this.stripe.confirmAcssDebitPayment(e,i,o)}confirmUsBankAccountPayment(e,i){return this.stripe.confirmUsBankAccountPayment(e,i)}confirmAlipayPayment(e,i,o){return this.stripe.confirmAlipayPayment(e,i,o)}confirmAuBecsDebitPayment(e,i){return this.stripe.confirmAuBecsDebitPayment(e,i)}confirmBancontactPayment(e,i,o){return this.stripe.confirmBancontactPayment(e,i,o)}confirmBlikPayment(e,i,o){return this.stripe.confirmBlikPayment(e,i,o)}confirmBoletoPayment(e,i,o){return this.stripe.confirmBoletoPayment(e,i,o)}confirmCardPayment(e,i,o){return this.stripe.confirmCardPayment(e,i,o)}confirmCashappPayment(e,i,o){return this.stripe.confirmCashappPayment(e,i,o)}confirmCustomerBalancePayment(e,i,o){return this.stripe.confirmCustomerBalancePayment(e,i,o)}confirmEpsPayment(e,i,o){return this.stripe.confirmEpsPayment(e,i,o)}confirmFpxPayment(e,i,o){return this.stripe.confirmFpxPayment(e,i,o)}confirmGiropayPayment(e,i,o){return this.stripe.confirmGiropayPayment(e,i,o)}confirmGrabPayPayment(e,i,o){return this.stripe.confirmGrabPayPayment(e,i,o)}confirmIdealPayment(e,i,o){return this.stripe.confirmIdealPayment(e,i,o)}confirmKlarnaPayment(e,i,o){return this.stripe.confirmKlarnaPayment(e,i,o)}confirmKonbiniPayment(e,i,o){return this.stripe.confirmKonbiniPayment(e,i,o)}confirmOxxoPayment(e,i,o){return this.stripe.confirmOxxoPayment(e,i,o)}confirmP24Payment(e,i,o){return this.stripe.confirmP24Payment(e,i,o)}confirmPayNowPayment(e,i,o){return this.stripe.confirmPayNowPayment(e,i,o)}confirmPayPalPayment(e,i){return this.stripe.confirmPayPalPayment(e,i)}confirmPixPayment(e,i,o){return this.stripe.confirmPixPayment(e,i,o)}confirmPromptPayPayment(e,i,o){return this.stripe.confirmPromptPayPayment(e,i,o)}confirmSepaDebitPayment(e,i){return this.stripe.confirmSepaDebitPayment(e,i)}confirmSofortPayment(e,i,o){return this.stripe.confirmSofortPayment(e,i,o)}confirmWechatPayPayment(e,i,o){return this.stripe.confirmWechatPayPayment(e,i,o)}handleCardAction(e){return this.stripe.handleCardAction(e)}handleNextAction(e){return this.stripe.handleNextAction(e)}verifyMicrodepositsForPayment(e,i){return this.stripe.verifyMicrodepositsForPayment(e,i)}createRadarSession(){return this.stripe.createRadarSession()}collectBankAccountForPayment(e){return this
1.stripe.collectBankAccountForPayment(e)}createPaymentMethod(e){return this.stripe.createPaymentMethod(e)}retrievePaymentIntent(e){return this.stripe.retrievePaymentIntent(e)}confirmSetup(e){return this.stripe.confirmSetup(e)}confirmAcssDebitSetup(e,i,o){return this.stripe.confirmAcssDebitSetup(e,i,o)}confirmUsBankAccountSetup(e,i){return this.stripe.confirmUsBankAccountSetup(e,i)}confirmAuBecsDebitSetup(e,i){return this.stripe.confirmAuBecsDebitSetup(e,i)}confirmBacsDebitSetup(e,i){return this.stripe.confirmBacsDebitSetup(e,i)}confirmBancontactSetup(e,i){return this.stripe.confirmBancontactSetup(e,i)}confirmCardSetup(e,i,o){return this.stripe.confirmCardSetup(e,i,o)}confirmCashappSetup(e,i,o){return this.stripe.confirmCashappSetup(e,i,o)}confirmIdealSetup(e,i){return this.stripe.confirmIdealSetup(e,i)}confirmPayPalSetup(e,i){return this.stripe.confirmPayPalSetup(e,i)}confirmSepaDebitSetup(e,i){return this.stripe.confirmSepaDebitSetup(e,i)}confirmSofortSetup(e,i,o){return this.stripe.confirmSofortSetup(e,i,o)}confirmAffirmPayment(e,i,o){return this.stripe.confirmAffirmPayment(e,i,o)}confirmAfterpayClearpayPayment(e,i,o){return this.stripe.confirmAfterpayClearpayPayment(e,i,o)}verifyMicrodepositsForSetup(e,i){return this.stripe.verifyMicrodepositsForSetup(e,i)}collectBankAccountForSetup(e){return this.stripe.collectBankAccountForSetup(e)}retrieveSetupIntent(e){return this.stripe.retrieveSetupIntent(e)}processOrder(e){return this.stripe.processOrder(e)}retrieveOrder(e){return this.stripe.retrieveOrder(e)}paymentRequest(e){return this.stripe.paymentRequest(e)}createToken(e,i){return this.stripe.createToken(e,i)}createSource(e,i){return this.stripe.createSource(e,i)}retrieveSource(e){return this.stripe.retrieveSource(e)}verifyIdentity(e){return this.stripe.verifyIdentity(e)}collectFinancialConnectionsAccounts(e){return this.stripe.collectFinancialConnectionsAccounts(e)}collectBankAccountToken(e){return this.stripe.collectBankAccountToken(e)}createEphemeralKeyNonce(e){return this.stripe.createEphemeralKeyNonce(e)}initCustomCheckout(e){return this.stripe.initCustomCheckout(e)}initEmbeddedCheckout(e){return this.stripe.initEmbeddedCheckout(e)}handleCardPayment(e,i,o){return this.stripe.handleCardPayment(e,i,o)}confirmPaymentIntent(e,i,o){return this.stripe.confirmPaymentIntent(e,i,o)}handleCardSetup(e,i,o){return this.stripe.handleCardSetup(e,i,o)}confirmSetupIntent(e,i,o){return this.stripe.confirmSetupIntent(e,i,o)}handleFpxPayment(e,i,o){return this.stripe.handleFpxPayment(e,i,o)}static \u0275fac=function(i){return new(i||t)(R(IC),R(V_),R(TC),R(PC),R(z_))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),ti=(()=>{class t{stripeService;constructor(e){this.stripeService=e}elements(e,i={}){return e?Object.keys(i).length>0?e.elements(i):e.elements():Object.keys(i).length>0?this.stripeService.elements(i):this.stripeService.elements()}paymentRequest(e,i){return e?e.paymentRequest(i):this.stripeService.paymentRequest(i)}mergeOptions(e,i){return!i||e&&e.classes||e&&e.classes?e||{}:{...e||{},classes:{base:i,complete:`${i}--complete`,empty:`${i}--empty`,focus:`${i}--focus`,invalid:`${i}--invalid`,webkitAutoFill:`${i}--webkit-autoFill`}}}static \u0275fac=function(i){return new(i||t)(R(OC))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),fi=(()=>{class t{stripeElementsService;elementsOptions;stripe;elements=new E;_elements;state="notready";constructor(e){this.stripeElementsService=e}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";const o=i.elementsOptions,r=i.stripe;if(r){if(e.elementsOptions)if(i._elements){const s=Object.keys(o).reduce((a,l)=>(o[l]!==e.elementsOptions.previousValue[l]&&!["fonts","loader","clientSecret"].includes(l)&&(a[l]=o[l]),a),{});i._elements.update(s)}else i._elements=yield i.stripeElementsService.elements(r,o).toPromise(),i.elements.emit(i._elements),i.state="ready"}else i.state="notready"})()}ngOnInit(){var e=this;return Ue(function*(){"notready"===e.state&&(e.state="starting",e._elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.elements.emit(e._elements),e.state="ready")})()}fetchUpdates(){return this._elements?ae(this._elements.fetchUpdates()):null}update(e){return this._elements?this._elements.update(e):null}submit(){return this._elements?ae(this._elements.submit()):null}getElement(e){if(!this._elements)return null;switch(e){case"address":return this._elements.getElement("address");case"paymentMethodMessaging":return this._elements.getElement("paymentMethodMessaging");case"affirmMessage":return this._elements.getElement("affirmMessage");case"afterpayClearpayMessage":return this._elements.getElement("afterpayClearpayMessage");case"auBankAccount":return this._elements.getElement("auBankAccount");case"card":return this._elements.getElement("card");case"cardNumber":return this._elements.getElement("cardNumber");case"cardExpiry":return this._elements.getElement("cardExpiry");case"cardCvc":return this._elements.getElement("cardCvc");case"cart":return this._elements.getElement("cart");case"fpxBank":return this._elements.getElement("fpxBank");case"epsBank":return this._elements.getElement("epsBank");case"p24Bank":return this._elements.getElement("p24Bank");case"iban":return this._elements.getElement("iban");case"idealBank":return this._elements.getElement("idealBank");case"linkAuthentication":return this._elements.getElement("linkAuthentication");case"expressCheckout":return this._elements.getElement("expressCheckout");case"payment":return this._elements.getElement("payment");case"paymentRequestButton":return this._elements.getElement("paymentRequestButton");case"shippingAddress":return this._elements.getElement("shippingAddress");default:return this._elements.getElement(e)}}static \u0275fac=function(i){return new(i||t)(v(ti))};static \u0275dir=N({type:t,selectors:[["ngx-stripe-elements"],["","ngxStripeElements",""]],inputs:{elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{elements:"elements"},standalone:!0,features:[Fe]})}return t})(),bue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;loaderror=new E;loaderstart=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}getValue(){return this.elements.getElement("address").getValue()}getAddressElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("address",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",()=>this.loaderror.emit()),this.element.on("loaderstart",()=>this.loaderstart.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-address"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",loaderstart:"loaderstart"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,Xde,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),vue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;ready=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAffirmMessage(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("affirmMessage",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-affirm-message"]],c
1ontentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,Jde,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),yue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;ready=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAfterpayClearpayMessage(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("afterpayClearpayMessage",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-afterpay-clearpay-message"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,eue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),wue=(()=>{class t{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i,o){this.cdr=e,this.stripeElementsService=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(i))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCard(){return this.element}createElement(e={}){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("card",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(wt),v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-card"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,tue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),H_=(()=>{class t{stripeElementsService;elementsOptions;stripe;elements=new E;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;_elements;state="notready";constructor(e){this.stripeElementsService=e}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";const o=i.elementsOptions,r=i.stripe;(e.elementsOptions||e.stripe||!i._elements)&&(i._elements=yield i.stripeElementsService.elements(r,o).toPromise(),i.elements.emit(i._elements)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){"notready"===e.state&&(e.state="starting",e._elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.elements.emit(e._elements),e.state="ready")})()}static \u0275fac=function(i){return new(i||t)(v(ti))};static \u0275dir=N({type:t,selectors:[["ngx-stripe-card-group"],["","ngxStripeCardGroup",""]],inputs:{elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{elements:"elements",load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe]})}return t})(),xue=(()=>{class t{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;elementsSubscription;constructor(e,i,o){this.stripeElementsService=e,this.cardGroup=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){(e.options||e.containerClass)&&i.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardNumberComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardNumber(){return this.element}setupElement(e){const i=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(i):this.elements&&"elements"===e&&(this.element=this.elements.create("cardNumber",i),this.element.on("change",o=>{this.change.emit(o),this.cardGroup?.change.emit(o)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(i){return new(i||t)(v(ti),v(H_,8),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-card-number"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,iue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,o.cardGroup&&"ready"!==o.cardGroup.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Cue=(()=>{class t{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;elements;elementsSubscription;constructor(e,i,o){this.stripeElementsService=e,this.cardGroup=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){(e.options||e.containerClass)&&i.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardExpiryComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardExpiry(){return this.element}setupElement(e){const i=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(i):this.elements&&"elements"===e&&(this.element=this.elements.create("cardExpiry",i),this.element.on("change",o=>{this.change.emit(o),this.cardGroup?.change.emit(o)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(i){return new(i||t)(v(ti),v(H_,8),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-card-expiry"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,nue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,o.cardGroup&&"ready"!==o.cardGroup.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),kue=(()=>{class t{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;elementsSubscription;constructor(e,i,o){this.stripeElementsService=e,this.cardGroup=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){(e.options||e.containerClass)&&i.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardCvcComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardCvc(){return this.element}setupElement(e){const i=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(i):this.elements&&"elements"===e&&(this.element=this.elements.create("cardCvc",i),this.element.on("change",o=>{this.change.emit(o),this.cardGroup?.change.emit(o)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(i){return new(i||t)(v(ti),v(H_,8),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-card-cvc"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,oue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,o.cardGroup&&"ready"!==o.cardGroup.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Mue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getEpsBankelement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("epsBank",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-eps-bank"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,rue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Due=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;
1cancel=new E;clicked=new E;confirm=new E;focus=new E;ready=new E;escape=new E;loaderror=new E;shippingaddresschange=new E;shippingratechange=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&i.elements&&o&&i.createElement(r),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}getLinkAuthenticationElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("expressCheckout",e),this.element.on("blur",()=>this.blur.emit()),this.element.on("cancel",()=>this.cancel.emit()),this.element.on("click",i=>this.clicked.emit(i)),this.element.on("confirm",i=>this.confirm.emit(i)),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",i=>this.ready.emit(i)),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",i=>this.loaderror.emit(i)),this.element.on("shippingaddresschange",i=>this.shippingaddresschange.emit(i)),this.element.on("shippingratechange",i=>this.shippingratechange.emit(i)),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-express-checkout"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",cancel:"cancel",clicked:"clicked",confirm:"confirm",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",shippingaddresschange:"shippingaddresschange",shippingratechange:"shippingratechange"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,sue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Sue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getFpxBank(){return this.element}createElement(e={accountHolderType:"individual"}){this.element&&this.element.unmount(),this.element=this.elements.create("fpxBank",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-fpx-bank"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,aue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Eue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getIban(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("iban",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-iban"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,lue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Tue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getIdealBank(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("idealBank",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-ideal-bank"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,cue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Iue=(()=>{class t{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;elements;state="notready";elementsSubscription;constructor(e,i,o){this.cdr=e,this.stripeElementsService=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardCvcDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(wt),v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-issuing-card-cvc-display"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,due,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Aue=(()=>{class t{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;elements;state="notready";elementsSubscription;constructor(e,i,o){this.cdr=e,this.stripeElementsService=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.str
1ipeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardExpiryDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(wt),v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-issuing-card-expiry-display"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,uue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Pue=(()=>{class t{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;elements;state="notready";elementsSubscription;constructor(e,i,o){this.cdr=e,this.stripeElementsService=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardNumberDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(wt),v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-issuing-card-number-display"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,hue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Oue=(()=>{class t{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;elements;state="notready";elementsSubscription;constructor(e,i,o){this.cdr=e,this.stripeElementsService=i,this.elementsProvider=o}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.str
1ipeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardPinDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(wt),v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-issuing-card-pin-display"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,mue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Rue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;loaderror=new E;loaderstart=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&i.elements&&o&&i.createElement(r),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}getLinkAuthenticationElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("linkAuthentication",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",()=>this.loaderror.emit()),this.element.on("loaderstart",()=>this.loaderstart.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-link-authentication"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",loaderstart:"loaderstart"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,pue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Fue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getP24Bankelement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("p24Bank",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-p24-bank"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,fue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Lue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;blur=new E;change=new E;focus=new E;ready=new E;escape=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAuBankAccount(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("auBankAccount",e),this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-au-bank-account"]],contentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,gue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Nue=(()=>{class t{stripeElementsService;elementsProvider;stripeElementRef;element;elements;containerClass;options;elementsOptions;stripe;appearance;clientSecret;doNotCreateUntilClientSecretIsSet=!1;load=new E;blur=new E;change=new E;
1focus=new E;ready=new E;escape=new E;loaderror=new E;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||e.clientSecret||e.appearance||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,{...i.elementsOptions||{},...i.appearance?{appearance:i.appearance}:{},...i.clientSecret?{clientSecret:i.clientSecret}:{}}).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe,{...e.elementsOptions||{},...e.appearance?{appearance:e.appearance}:{},...e.clientSecret?{clientSecret:e.clientSecret}:{}}).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}collapse(){return this.element.collapse()}fetchUpdates(){return ae(this.elements.fetchUpdates())}createElement(e={}){this.element&&this.element.unmount();try{this.element=this.elements.create("payment",e)}catch(i){throw this.elements=null,i}this.element.on("change",i=>this.change.emit(i)),this.element.on("blur",i=>this.blur.emit(i)),this.element.on("focus",i=>this.focus.emit(i)),this.element.on("ready",i=>this.ready.emit(i)),this.element.on("escape",i=>this.escape.emit(i)),this.element.on("loaderror",i=>this.loaderror.emit(i)),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-payment"]],viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe",appearance:"appearance",clientSecret:"clientSecret",doNotCreateUntilClientSecretIsSet:"doNotCreateUntilClientSecretIsSet"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror"},standalone:!0,features:[Fe,z],decls:2,vars:0,consts:[[1,"field"],["stripeElementRef",""]],template:function(i,o){1&i&&x(0,"div",0,1)},dependencies:[ne],encapsulation:2})}return t})(),Bue=(()=>{class t{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new E;ready=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)&&(i.elements=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise(),o=!0);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r)),i.state="ready"})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getPaymentMethodMessaging(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("paymentMethodMessaging",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-payment-method-messaging"]],c
1ontentQueries:function(i,o,r){if(1&i&&Ie(r,Ai,5,nt),2&i){let s;H(s=j())&&(o.loadingTemplate=s.first)}},viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[Fe,z],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(i,o){1&i&&(c(0,"div",0,1),T(2,_ue,1,1,"ng-container",2),d()),2&i&&(b(2),U(2,"ready"!==o.state&&o.loadingTemplate?2:-1))},dependencies:[ne,At],encapsulation:2})}return t})(),Vue=(()=>{class t{stripeElementsService;elementsProvider;stripeElementRef;element;paymentRequest;containerClass;paymentOptions;options;elementsOptions;stripe;load=new E;change=new E;blur=new E;focus=new E;ready=new E;token=new E;paymentMethod=new E;source=new E;cancel=new E;shippingaddresschange=new E;shippingoptionchange=new E;notavailable=new E;elements;state="notready";elementsSubscription;constructor(e,i){this.stripeElementsService=e,this.elementsProvider=i}ngOnChanges(e){var i=this;return Ue(function*(){i.state="starting";let o=!1;if(!i.elementsProvider&&(e.elementsOptions||e.stripe||!i.elements)){const s=yield i.stripeElementsService.elements(i.stripe,i.elementsOptions).toPromise();i.elements=s,o=!0}e.paymentOptions&&i.paymentRequest&&i.updateRequest(i.paymentOptions);const r=i.stripeElementsService.mergeOptions(i.options,i.containerClass);(e.options||e.containerClass||!i.element||o)&&(i.element&&!o?i.update(r):i.elements&&o&&i.createElement(r))})()}ngOnInit(){var e=this;return Ue(function*(){const i=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(o=>{e.elements=o,e.createElement(i),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(i),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}canMakePayment(){return ae(this.paymentRequest.canMakePayment())}update(e){this.element.update(e)}updateRequest(e){const{currency:i,total:o,displayItems:r,shippingOptions:s}=e;this.paymentRequest.update({currency:i,total:o,displayItems:r,shippingOptions:s})}show(){this.paymentRequest.show()}abort(){this.paymentRequest.abort()}isShowing(){return this.paymentRequest.isShowing()}getButton(){return this.element}createElement(e={}){var i=this;return Ue(function*(){i.paymentRequest=i.stripeElementsService.paymentRequest(i.stripe,i.paymentOptions),i.paymentRequest.on("token",r=>i.token.emit(r)),i.paymentMethod.observed&&i.paymentRequest.on("paymentmethod",r=>i.paymentMethod.emit(r)),i.source.observed&&!i.paymentMethod.observed&&i.paymentRequest.on("source",r=>i.source.emit(r)),i.paymentRequest.on("cancel",()=>i.cancel.emit()),i.paymentRequest.on("shippingaddresschange",r=>i.shippingaddresschange.emit(r)),i.paymentRequest.on("shippingoptionchange",r=>i.shippingoptionchange.emit(r)),i.element&&i.element.unmount(),i.element=i.elements.create("paymentRequestButton",{paymentRequest:i.paymentRequest,...e}),(yield i.paymentRequest.canMakePayment())?(i.element.on("click",r=>i.change.emit(r)),i.element.on("blur",()=>i.blur.emit()),i.element.on("focus",()=>i.focus.emit()),i.element.on("ready",()=>i.ready.emit()),i.element.mount(i.stripeElementRef.nativeElement),i.load.emit({paymentRequestButton:i.element,paymentRequest:i.paymentRequest})):i.notavailable.emit()})()}static \u0275fac=function(i){return new(i||t)(v(ti),v(fi,8))};static \u0275cmp=O({type:t,selectors:[["ngx-stripe-payment-request-button"]],viewQuery:function(i,o){if(1&i&&me(xi,5),2&i){let r;H(r=j())&&(o.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",paymentOptions:"paymentOptions",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",change:"change",blur:"blur",focus:"focus",ready:"ready",token:"token",paymentMethod:"paymentMethod",source:"source",cancel:"cancel",shippingaddresschange:"shippingaddresschange",shippingoptionchange:"shippingoptionchange",notavailable:"notavailable"},standalone:!0,features:[Fe,z],decls:2,vars:0,consts:[[1,"field"],["stripeElementRef",""]],template:function(i,o){1&i&&x(0,"div",0,1)},dependencies:[ne],encapsulation:2})}return t})(),tm=(()=>{class t{version;baseKey;baseOptions;loader;window;constructor(e,i,o,r,s){this.version=e,this.baseKey=i,this.baseOptions=o,this.loader=r,this.window=s}create(e,i){if(!e&&!this.baseKey)throw new Error("No key defined! Either you need to pass it as a parameter or define it when you call NgxStripeModule.forRoot()");return new AC(this.version,this.loader,this.window,e||this.baseKey,i||this.baseOptions)}static \u0275fac=function(i){return new(i||t)(R(IC),R(V_),R(TC),R(PC),R(z_))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})();const zue=[bue,vue,yue,wue,xue,Cue,kue,Mue,Due,Sue,Eue,Tue,Iue,Aue,Pue,Oue,Rue,Fue,Lue,Nue,Bue,Vue];function RC(t,n){return[PC,OC,tm,ti,z_,qF,{provide:V_,useValue:t},{provide:TC,useValue:n},{provide:IC,useValue:"17.0.1"}]}let jue=(()=>{class t{static forRoot(e,i){return{ngModule:t,providers:[...RC(e,i)]}}static forChild(e,i){return{ngModule:t,providers:[...RC(e,i)]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=Re({type:t});static \u0275inj=Oe({imports:[ne,zue]})}return t})(),ii=(()=>{class t{constructor(e,i){this.httpClient=e,this.document=i}loadAppConfig(){var e=this;return Ue(function*(){e.appConfig=yield function $ue(t,n){const e="object"==typeof n;return new Promise((i,o)=>{let s,r=!1;t.subscribe({next:a=>{s=a,r=!0},error:o,complete:()=>{r?i(s):e?i(n.defaultValue):o(new Hh)}})})}(e.httpClient.get("/assets/config.json"))})()}get config(){return this.appConfig}static#e=this.\u0275fac=function(i){return new(i||t)(R(Bt),R(Ve))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class Uue{constructor(n){this.email=n.Email,this.isAdmin="True"===n.IsAdm
1in&&this.email.endsWith("@mentwell.com.au"),this.userId=Number.parseInt(n.UserId),this.firstName=n.FirstName,this.lastName=n.LastName,this.businessId=n.BusinessId?n.BusinessId.split(",").map(e=>Number.parseInt(e)):null,this.providerId=n.ProviderId?n.ProviderId.split(",").map(e=>Number.parseInt(e)):null}get accountType(){return null!==this.businessId?"business":null!==this.providerId?"provider":"personal"}}let Wue=(()=>{class t{constructor(e){this.jwtHelper=e}decodeToken(e){if(e)return this.jwtHelper.decodeToken(e)}isTokenExpired(e){return this.jwtHelper.isTokenExpired(e)}jwtHasClaim(e,i){const o=this.decodeToken(e||"");return!(null==o[i]||""===o[i])}jwtHasClaimName(e,i){const o=this.decodeToken(e||"");return Object.keys(o).indexOf(i)>-1}getJwtClaimValue(e,i){const o=this.decodeToken(e||"");return this.jwtHasClaimName(e,i)?o[i]:void 0}getJwtData(e){const i=this.decodeToken(e);return new Uue(i)}static#e=this.\u0275fac=function(i){return new(i||t)(R(EC))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zn=(()=>{class t{constructor(e){this.jwtParser=e,this.data=new Ee(null),this.data$=this.data.asObservable(),this.businessId$=this.data.pipe(xt(i=>i?.businessId||console.error("JwtStateService.businessId$ encountered a non-numeric value - don't subscribe to it outside of an unguarded route or it'll never emit")),yt(i=>!!i?.businessId),te(i=>i.businessId)),this.providerId$=this.data.pipe(xt(i=>i?.providerId||console.error("JwtStateService.providerId$ encountered a non-numeric value - don't subscribe to it outside of an unguarded route or it'll never emit")),yt(i=>!!i?.providerId),te(i=>i.providerId)),this.update()}saveToken(e){localStorage.setItem("jwt",e),this.update()}deleteToken(){localStorage.removeItem("jwt"),this.update()}update(){const e=localStorage.getItem("jwt");if(!e)return void this.data.next(null);if(this.jwtParser.isTokenExpired(e))return console.info("token has expired"),void this.data.next(null);let i;try{i=this.jwtParser.getJwtData(e)}catch(o){return console.error("error parsing jwt",o),void this.data.next(null)}this.data.next(i)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Wue))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yd=(()=>{class t{constructor(e,i){this.router=e,this.jwtService=i}canActivate(e,i){return this.jwtService.data$.pipe(te(o=>!!o?.isAdmin||this.router.parseUrl("/login")))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Pt),R(Zn))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var YF=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,Kn=t=>!t||"object"!=typeof t||0===Object.keys(t).length;function ZF(t,n){t.forEach(function(e){Array.isArray(e)?ZF(e,n):n.push(e)})}function KF(t){let n=[];return ZF(t,n),n}var QF=(...t)=>KF(t).filter(Boolean),XF=(t,n)=>{let e={},i=Object.keys(t),o=Object.keys(n);for(let r of i)if(o.includes(r)){let s=t[r],a=n[r];e[r]="object"==typeof s&&"object"==typeof a?XF(s,a):Array.isArray(s)||Array.isArray(a)?QF(a,s):a+" "+s}else e[r]=t[r];for(let r of o)i.includes(r)||(e[r]=n[r]);return e},JF=t=>t&&"string"==typeof t?t.replace(/\s+/g," ").trim():t;const LC="-";function que(t){const n=function Zue(t){const{theme:n,prefix:e}=t,i={nextPart:new Map,validators:[]};return function Que(t,n){return n?t.map(([e,i])=>{const o=i.map(r=>"string"==typeof r?n+r:"object"==typeof r?Object.fromEntries(Object.entries(r).map(([s,a])=>[n+s,a])):r);return[e,o]}):t}(Object.entries(t.classGroups),e).forEach(([r,s])=>{NC(s,i,r,n)}),i}(t),{conflictingClassGroups:e,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:function o(s){const a=s.split(LC);return""===a[0]&&1!==a.length&&a.shift(),eL(a,n)||function Yue(t){if(tL.test(t)){const n=tL.exec(t)[1],e=n?.substring(0,n.indexOf(":"));if(e)return"arbitrary.."+e}}(s)},getConflictingClassGroupIds:function r(s,a){const l=e[s]||[];return a&&i[s]?[...l,...i[s]]:l}}}function eL(t,n){if(0===t.length)return n.classGroupId;const i=n.nextPart.get(t[0]),o=i?eL(t.slice(1),i):void 0;if(o)return o;if(0===n.validators.length)return;const r=t.join(LC);return n.validators.find(({validator:s})=>s(r))?.classGroupId}const tL=/^\[(.+)\]$/;function NC(t,n,e,i){t.forEach(o=>{if("string"!=typeof o){if("function"==typeof o)return function Kue(t){return t.isThemeGetter}(o)?void NC(o(i),n,e,i):void n.validators.push({validator:o,classGroupId:e});
1Object.entries(o).forEach(([r,s])=>{NC(s,iL(n,r),e,i)})}else(""===o?n:iL(n,o)).classGroupId=e})}function iL(t,n){let e=t;return n.split(LC).forEach(i=>{e.nextPart.has(i)||e.nextPart.set(i,{nextPart:new Map,validators:[]}),e=e.nextPart.get(i)}),e}function Xue(t){if(t<1)return{get:()=>{},set:()=>{}};let n=0,e=new Map,i=new Map;function o(r,s){e.set(r,s),n++,n>t&&(n=0,i=e,e=new Map)}return{get(r){let s=e.get(r);return void 0!==s?s:void 0!==(s=i.get(r))?(o(r,s),s):void 0},set(r,s){e.has(r)?e.set(r,s):o(r,s)}}}const nL="!";function Jue(t){const n=t.separator,e=1===n.length,i=n[0],o=n.length;return function(s){const a=[];let m,l=0,u=0;for(let w=0;w<s.length;w++){let C=s[w];if(0===l){if(C===i&&(e||s.slice(w,w+o)===n)){a.push(s.slice(u,w)),u=w+o;continue}if("/"===C){m=w;continue}}"["===C?l++:"]"===C&&l--}const p=0===a.length?s:s.substring(u),f=p.startsWith(nL);return{modifiers:a,hasImportantModifier:f,baseClassName:f?p.substring(1):p,maybePostfixModifierPosition:m&&m>u?m-u:void 0}}}const ihe=/\s+/;function ohe(){let n,e,t=0,i="";for(;t<arguments.length;)(n=arguments[t++])&&(e=oL(n))&&(i&&(i+=" "),i+=e);return i}function oL(t){if("string"==typeof t)return t;let n,e="";for(let i=0;i<t.length;i++)t[i]&&(n=oL(t[i]))&&(e&&(e+=" "),e+=n);return e}function BC(t,...n){let e,i,o,r=function s(l){const u=n.reduce((m,p)=>p(m),t());return e=function the(t){return{cache:Xue(t.cacheSize),splitModifiers:Jue(t),...que(t)}}(u),i=e.cache.get,o=e.cache.set,r=a,a(l)};function a(l){const u=i(l);if(u)return u;const m=function nhe(t,n){const{splitModifiers:e,getClassGroupId:i,getConflictingClassGroupIds:o}=n,r=new Set;return t.trim().split(ihe).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:m}=e(s);let p=i(m?u.substring(0,m):u),f=!!m;if(!p){if(!m)return{isTailwindClass:!1,originalClassName:s};if(p=i(u),!p)return{isTailwindClass:!1,originalClassName:s};f=!1}const _=function ehe(t){if(t.length<=1)return t;const n=[];let e=[];return t.forEach(i=>{"["===i[0]?(n.push(...e.sort(),i),e=[]):e.push(i)}),n.push(...e.sort()),n}(a).join(":");return{isTailwindClass:!0,modifierId:l?_+nL:_,classGroupId:p,originalClassName:s,hasPostfixModifier:f}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,m=a+l;return!r.has(m)&&(r.add(m),o(l,u).forEach(p=>r.add(a+p)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}(l,e);return o(l,m),m}return function(){return r(ohe.apply(null,arguments))}}function ni(t){const n=e=>e[t]||[];return n.isThemeGetter=!0,n}const rL=/^\[(?:([a-z-]+):)?(.+)\]$/i,rhe=/^\d+\/\d+$/,she=new Set(["px","full","screen"]),ahe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lhe=
vendor: 4,449 bytes, line 1
1/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,che=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dhe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uhe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Dr(t){return ra(t)||she.has(t)||rhe.test(t)}function ss(t){return Cd(t,"length",phe)}function ra(t){return!!t&&!Number.isNaN(Number(t))}function im(t){return Cd(t,"number",ra)}function wd(t){return!!t&&Number.isInteger(Number(t))}function sL(t){return t.endsWith("%")&&ra(t.slice(0,-1))}function ot(t){return rL.test(t)}function as(t){return ahe.test(t)}const hhe=new Set(["length","size","percentage"]);function aL(t){return Cd(t,hhe,uL)}function lL(t){return Cd(t,"position",uL)}const mhe=new Set(["image","url"]);function cL(t){return Cd(t,mhe,ghe)}function dL(t){return Cd(t,"",fhe)}function xd(){return!0}function Cd(t,n,e){const i=rL.exec(t);return!!i&&(i[1]?"string"==typeof n?i[1]===n:n.has(i[1]):e(i[2]))}function phe(t){return lhe.test(t)&&!che.test(t)}function uL(){return!1}function fhe(t){return dhe.test(t)}function ghe(t){return uhe.test(t)}function VC(){const t=ni("colors"),n=ni("spacing"),e=ni("blur"),i=ni("brightness"),o=ni("borderColor"),r=ni("borderRadius"),s=ni("borderSpacing"),a=ni("borderWidth"),l=ni("contrast"),u=ni("grayscale"),m=ni("hueRotate"),p=ni("invert"),f=ni("gap"),_=ni("gradientColorStops"),y=ni("gradientColorStopPositions"),w=ni("inset"),C=ni("margin"),D=ni("opacity"),M=ni("padding"),I=ni("saturate"),P=ni("scale"),F=ni("sepia"),L=ni("skew"),K=ni("space"),Q=ni("translate"),Se=()=>["auto",ot,n],ee=()=>[ot,n],we=()=>["",Dr,ss],Pe=()=>["auto",ra,ot],he=()=>["","0",ot],It=()=>[ra,im],dt=()=>[ra,ot];return{cacheSize:500,separator:":",theme:{colors:[xd],spacing:[Dr,ss],blur:["none","",as,ot],brightness:It(),borderColor:[t],borderRadius:["none","","full",as,ot],borderSpacing:ee(),borderWidth:we(),contrast:It(),grayscale:he(),hueRotate:dt(),invert:he(),gap:ee(),gradientColorStops:[t],gradientColorStopPositions:[sL,ss],inset:Se(),margin:Se(),opacity:It(),padding:ee(),saturate:It(),scale:It(),sepia:he(),skew:dt(),space:ee(),translate:ee()},classGroups:{aspect:[{aspect:["auto","square","video",ot]}],container:["container"],columns:[{columns:[as]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",ot]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wd,ot]}],basis:[{basis:Se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ot]}],grow:[{grow:he()}],shrink:[{shrink:he()}],order:[{order:["first","last","none",wd,ot]}],"grid-cols":[{"grid-cols":[xd]}],"col-start-end":[{col:["auto",{span:["full",wd,ot]},ot]}],"col-start":[{"col-start":Pe()}
vendor: 4,524 bytes, line 1
1],"col-end":[{"col-end":Pe()}],"grid-rows":[{"grid-rows":[xd]}],"row-start-end":[{row:["auto",{span:[wd,ot]},ot]}],"row-start":[{"row-start":Pe()}],"row-end":[{"row-end":Pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ot]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ot]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ot,n]}],"min-w":[{"min-w":[ot,n,"min","max","fit"]}],"max-w":[{"max-w":[ot,n,"none","full","min","max","fit","prose",{screen:[as]},as]}],h:[{h:[ot,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ot,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ot,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ot,n,"auto","min","max","fit"]}],"font-size":[{text:["base",as,ss]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",im]}],"font-family":[{font:[xd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ot]}],"line-clamp":[{"line-clamp":["none",ra,im]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Dr,ot]}],"list-image":[{"list-image":["none",ot]}],"list-style-type":[{list:["none","disc","decimal",ot]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[D]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Dr,ss]}],"underline-offset":[{"underline-offset":["auto",Dr,ot]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ot]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ot]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[D]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",lL]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",aL]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},cL]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[y]}
vendor: 4,308 bytes, line 1
1],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[_]}],"gradient-via":[{via:[_]}],"gradient-to":[{to:[_]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[D]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[D]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Dr,ot]}],"outline-w":[{outline:[Dr,ss]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[Dr,ss]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",as,dL]}],"shadow-color":[{shadow:[xd]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[e]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",as,ot]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[p]}],saturate:[{saturate:[I]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[e]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[D]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ot]}],duration:[{duration:dt()}],ease:[{ease:["linear","in","out","in-out",ot]}],delay:[{delay:dt()}],animate:[{animate:["none","spin","ping","pulse","bounce",ot]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[wd,ot]}],"translate-x":[{"translate-x":[Q]}],"translate-y":[{"translate-y":[Q]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ot]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
1none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ot]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ot]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Dr,ss,im]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function j_(t,n,e){void 0!==e&&(t[n]=e)}function bhe(t,n){if(n)for(const e in n)j_(t,e,n[e])}function vhe(t,n){if(n)for(const e in n){const i=n[e];void 0!==i&&(t[e]=(t[e]||[]).concat(i))}}Symbol;const whe=BC(VC);var xhe={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},hL=t=>t||void 0,nm=(...t)=>
1hL(KF(t).filter(Boolean).join(" ")),zC=null,ls={},HC=!1,om=(...t)=>n=>n.twMerge?((!zC||HC)&&(HC=!1,zC=Kn(ls)?whe:function yhe(t,...n){return"function"==typeof t?BC(VC,t,...n):BC(()=>function _he(t,{cacheSize:n,prefix:e,separator:i,extend:o={},override:r={}}){j_(t,"cacheSize",n),j_(t,"prefix",e),j_(t,"separator",i);for(const s in r)bhe(t[s],r[s]);for(const s in o)vhe(t[s],o[s]);return t}(VC(),t),...n)}({...ls,extend:{theme:ls.theme,classGroups:ls.classGroups,conflictingClassGroupModifiers:ls.conflictingClassGroupModifiers,conflictingClassGroups:ls.conflictingClassGroups,...ls.extend}})),hL(zC(nm(t)))):nm(t),mL=(t,n)=>{for(let e in n)t[e]=t.hasOwnProperty(e)?nm(t[e],n[e]):n[e];return t},bl=(t,n)=>{let{extend:e=null,slots:i={},variants:o={},compoundVariants:r=[],compoundSlots:s=[],defaultVariants:a={}}=t,l={...xhe,...n},u=null!=e&&e.base?nm(e.base,t?.base):t?.base,m=null!=e&&e.variants&&!Kn(e.variants)?XF(o,e.variants):o,p=null!=e&&e.defaultVariants&&!Kn(e.defaultVariants)?{...e.defaultVariants,...a}:a;!Kn(l.twMergeConfig)&&!((t,n)=>JSON.stringify(t)===JSON.stringify(n))(l.twMergeConfig,ls)&&(HC=!0,ls=l.twMergeConfig);let f=Kn(e?.slots),_=Kn(i)?{}:{base:nm(t?.base,f&&e?.base),...i},y=f?_:mL({...e?.slots},Kn(_)?{base:t?.base}:_),w=Kn(e?.compoundVariants)?r:QF(e?.compoundVariants,r),C=M=>{if(Kn(m)&&Kn(i)&&f)return om(u,M?.class,M?.className)(l);if(w&&!Array.isArray(w))throw new TypeError('The "compoundVariants" prop must be an array. Received: '+typeof w);if(s&&!Array.isArray(s))throw new TypeError('The "compoundSlots" prop must be an array. Received: '+typeof s);let I=(ee,we,Pe=[],Ce)=>{let W=Pe;if("string"==typeof we)W=W.concat(JF(we).split(" ").map(J=>`${ee}:${J}`));else if(Array.isArray(we))W=W.concat(we.reduce((J,le)=>J.concat(`${ee}:${le}`),[]));else if("object"==typeof we&&"string"==typeof Ce)for(let J in we)if(we.hasOwnProperty(J)&&J===Ce){let le=we[J];if(le&&"string"==typeof le){let he=JF(le);W[Ce]=W[Ce]?W[Ce].concat(he.split(" ").map(Ye=>`${ee}:${Ye}`)):he.split(" ").map(Ye=>`${ee}:${Ye}`)}else Array.isArray(le)&&le.length>0&&(W[Ce]=le.reduce((he,Ye)=>he.concat(`${ee}:${Ye}`),[]))}return W},P=(ee,we=m,Pe=null,Ce=null)=>{var W;let J=we[ee];if(!J||Kn(J))return null;let le=null!=(W=Ce?.[ee])?W:M?.[ee];if(null===le)return null;let he=YF(le),Ye=Array.isArray(l.responsiveVariants)&&l.responsiveVariants.length>0||!0===l.responsiveVariants,It=p?.[ee],dt=[];if("object"==typeof he&&Ye)for(let[Ri,an]of Object.entries(he)){let gi=J[an];"initial"!==Ri?Array.isArray(l.responsiveVariants)&&!l.responsiveVariants.includes(Ri)||(dt=I(Ri,gi,dt,Pe)):It=an}let st=J[(null!=he&&"object"!=typeof he?he:YF(It))||"false"];return"object"==typeof dt&&"string"==typeof Pe&&dt[Pe]?mL(dt,st):dt.length>0?(dt.push(st),dt):st},L=(ee,we)=>{if(!m||"object"!=typeof m)return null;let Pe=new Array;for(let Ce in m){let W=P(Ce,m,ee,we),J="base"===ee&&"string"==typeof W?W:W&&W[ee];J&&(Pe[Pe.length]=J)}return Pe},K={};for(let ee in M)void 0!==M[ee]&&(K[ee]=M[ee]);let Q=(ee,we)=>{var Pe;let Ce="object"==typeof M?.[ee]?{[ee]:null==(Pe=M[ee])?void 0:Pe.initial}:{};return{...p,...K,...Ce,...we}},oe=(ee=[],we)=>{let Pe=[];for(let{class:Ce,className:W,...J}of ee){let le=!0;for(let[he,Ye]of Object.entries(J)){let It=Q(he,we);if(Array.isArray(Ye)){if(!Ye.includes(It[he])){le=!1;break}}else if(It[he]!==Ye){le=!1;break}}le&&(Ce&&Pe.push(Ce),W&&Pe.push(W))}return Pe},ye=ee=>{let we=oe(w,ee);if(!Array.isArray(we))return we;let Pe={};for(let Ce of we)if("string"==typeof Ce&&(Pe.base=om(Pe.base,Ce)(l)),"object"==typeof Ce)for(let[W,J]of Object.entries(Ce))Pe[W]=om(Pe[W],J)(l);return Pe},Se=ee=>{if(s.length<1)return null;let we={};for(let{slots:Pe=[],class:Ce,className:W,...J}of s){if(!Kn(J)){let le=!0;for(let he of Object.keys(J)){let Ye=Q(he,ee)[he];if(void 0===Ye||(Array.isArray(J[he])?!J[he].includes(Ye):J[he]!==Ye)){le=!1;break}}if(!le)continue}for(let le of Pe)we[le]=we[le]||[],we[le].push([Ce,W])}return we};if(!Kn(i)||!f){let ee={};if("object"==typeof y&&!Kn(y))for(let we of Object.keys(y))ee[we]=Pe=>{var Ce,W;return om(y[we],L(we,Pe),(null!=(Ce=ye(Pe))?Ce:[])[we],(null!=(W=Se(Pe))?W:[])[we],Pe?.class,Pe?.className)(l)};return ee}return om(u,m?Object.keys(m).map(ee=>P(ee,m)):null,oe(w),M?.class,M?.className)(l)};return C.variantKeys=(()=>
1{if(m&&"object"==typeof m)return Object.keys(m)})(),C.extend=e,C.base=u,C.slots=y,C.variants=m,C.defaultVariants=p,C.compoundSlots=s,C.compoundVariants=w,C};const Che=bl({base:"size-5",variants:{size:{4:"size-4",5:"size-5",8:"size-8"},defaultVariant:{size:4}}});let Ot=(()=>{class t{get klass(){return Che({size:this.size,class:this.innerClass})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["ng-component"]],inputs:{size:"size",innerClass:"innerClass"},standalone:!0,features:[z],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})(),pL=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-check-circle-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),khe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-exclamation-triangle-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),Mhe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-information-circle-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),Dhe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-x-circle-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.72 6.97a.75.75 0 1 0-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 1 0 1.06 1.06L12 13.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L13.06 12l1.72-1.72a.75.75 0 1 0-1.06-1.06L12 10.94l-1.72-1.72Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function She(t,n){1&t&&x(0,"app-exclamation-triangle-icon-solid"),2&t&&Ke(S().klass.icon())}function Ehe(t,n){1&t&&x(0,"app-x-circle-icon-solid"),2&t&&Ke(S().klass.icon())}function The(t,n){1&t&&x(0,"app-check-circle-icon-solid"),2&t&&Ke(S().klass.icon())}function Ihe(t,n){1&t&&x(0,"app-information-circle-icon-solid"),2&t&&Ke(S().klass.icon())}const Ahe=[[["","alert-title",""]],[["","alert-description",""]]],Phe=["[alert-title]","[alert-description]"],Ohe=bl({slots:{container:"rounded-md p-4",icon:"h-5 w-5",heading:"text-sm font-medium",description:"mt-2 text-sm"},variants:{type:{warning:{container:"bg-yellow-50",icon:"text-yellow-400",heading:"text-yellow-800",description:"text-yellow-700"},error:{container:"bg-red-50",icon:"text-red-400",heading:"text-red-800",description:"text-red-700"},success:{container:"bg-green-50",icon:"text-green-400",heading:"text-green-800",description:"text-green-700"},info:{container:"bg-blue-50",icon:"text-blue-400",heading:"text-blue-800",de
1scription:"text-blue-700"}}}});let vl=(()=>{class t{get klass(){return Ohe({type:this.type})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-alert"]],inputs:{type:"type"},standalone:!0,features:[z],ngContentSelectors:Phe,decls:12,vars:7,consts:[[1,"flex"],[1,"flex-shrink-0"],[1,"ml-3"]],template:function(i,o){if(1&i&&(it(Ahe),c(0,"div")(1,"div",0)(2,"div",1),T(3,She,1,2)(4,Ehe,1,2)(5,The,1,2)(6,Ihe,1,2),d(),c(7,"div",2)(8,"h3"),ge(9),d(),c(10,"div"),ge(11,1),d()()()()),2&i){let r;Ke(o.klass.container()),b(3),U(3,"warning"===(r=o.type)?3:"error"===r?4:"success"===r?5:"info"===r?6:-1),b(5),Ke(o.klass.heading()),b(2),Ke(o.klass.description())}},dependencies:[ne,khe,Dhe,pL,Mhe],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Rhe=bl({base:"block w-full rounded-md border border-gray-500 px-4 py-2 text-gray-900 focus:outline-2 focus:outline-easy-green placeholder:text-gray-400 sm:text-sm sm:leading-6 disabled:bg-neutral-100 disabled:cursor-not-allowed",variants:{size:{sm:"px-2 py-1 text-sm"}}});let kd=(()=>{class t{constructor(e){this.el=e}ngOnInit(){this.el.nativeElement.className=Rhe({size:this.size,class:this.el.nativeElement.className})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["","input",""]],inputs:{size:"size"},standalone:!0})}return t})();const Fhe=["input"];function Lhe(t,n){if(1&t&&(c(0,"label",6),h(1),d()),2&t){const e=S();b(1),ce(" ",e.labelText," ")}}function Nhe(t,n){if(1&t&&(c(0,"p",7),h(1),d()),2&t){const e=S();k("id",e.descriptionId),b(1),pe(e.description)}}function Bhe(t,n){if(1&t&&(c(0,"p",8),h(1),d()),2&t){const e=S();b(1),pe(e.errorMessage)}}const Vhe=(t,n)=>({"border-red-700":t,"focus:outline-red-700":n});let rm=(()=>{class t{constructor(){this.type="text",this.autofocus=!1}get isRequired(){return!!this.control&&this.control.hasValidator(Ae.required)}get labelText(){if(!this.label)return null;let e=this.label;return this.isRequired&&(e+="*"),e}get isInvalid(){return!!this.control&&this.control.invalid&&(this.control.touched||this.control.dirty)}get errorMessage(){return this.control&&this.isInvalid&&this.control.errors?this.customError?this.customError:function zhe(t,n){return n.required?`${t} is required`:n.email?"Please provide a valid email address":n.minlength?`${t} should be at least ${n.minlength.requiredLength} characters${1===n.maxlength.requiredLength?"":"s"}`:n.maxlength?`${t} should be at most ${n.maxlength.requiredLength} character${1===n.maxlength.requiredLength?"":"s"}`:n.min?`${t} should be at least ${n.min.min}`:n.max?`${t} should be at most ${n.max.max}`:(console.warn("Unhandled validation error",t,n),`${t} is invalid`)}(this.label,this.control.errors):null}focus(){this.input.nativeElement.focus()}select(){this.input.nativeElement.select()}ngOnInit(){this.id="input-"+Math.random().toString(36).substring(2),this.descriptionId=this.description?`${this.id}-description`:void 0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-input"]],viewQuery:function(i,o){if(1&i&&me(Fhe,5),2&i){let r;H(r=j())&&(o.input=r.first)}},inputs:{type:"type",control:"control",label:"label",placeholder:"placeholder",description:"description",autocomplete:"autocomplete",customError:"customError",autofocus:"autofocus"},standalone:!0,features:[z],decls:6,vars:15,consts:[[1,"flex","flex-col","gap-1"],["for","id","class","text-sm font-medium"],["input","",3,"id","type","formControl","ngClass"],["input",""],["class","text-sm text-gray-500",3,"id"],["class","text-sm text-red-700"],["for","id",1,"text-sm","font-medium"],[1,"text-sm","text-gray-500",3,"id"],[1,"text-sm","text-red-700"]],template:function(i,o){1&i&&(c(0,"fieldset",0),T(1,Lhe,2,1,"label",1),x(2,"input",2,3),T(4,Nhe,2,2,"p",4)(5,Bhe,2,1,"p",5),d()),2&i&&(b(1),U(1,o.label?1:-1),b(1),k("id",o.id)("type",o.type)("formControl",o.control)("ngClass",ur(12,Vhe,o.isInvalid,o.isInvalid)),ke("placeholder",o.placeholder)("autocomplete",o.autocomplete)("aria-describedby",o.descriptionId)("required",o.isRequired?"required":null)("autofocus",o.autofocus?"autofocus":null),b(2),U(4,o.description?4:-1),b(1),U(5,o.errorMessage?5:-1))},dependencies:[ne,Ti,kd,Qr,fr,Yr,Ga],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function Hhe(t,n){1&t&&(c(0,"div",1),x(1,"div",2),c(2,"div",3)(3,"div",4)(4,"div",5),ge(5),d()()()())}const jhe=["*"];let jC=(()=>{class t{constructor(){this.show=!1}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-modal"]],inputs:{show:"show"},standalone:!0,features:[z],ngContentSelectors:jhe,decls:1,vars:1,consts:[["class","relative z-[51]","aria-labelledby","modal-title","role","dialog","aria-modal","true"],["aria-labelledby","modal-title","role","dialog","aria-modal","true",1,"relative","z-[51]"],["aria-hidden","true",1,"fixed","inset-0","bg-gray-500","bg-opacity-75","transition-opacity"],[1,"fixed","inset-0","z-10","w-screen","overflow-y-auto"],[1,"flex","min-h-full","items-end","justify-center","p-4","text-center","sm:items-center","sm:p-0"],[1,"relative","transform","overflow-hidden","rounded-lg","bg-white","px-4","pb-4","pt-5","text-left","shadow-xl","transition-all","sm:my-8","sm:w-full","sm:max-w-sm","sm:p-6","lg:max-w-md"]],template:function(i,o){1&i&&(it(),T(0,Hhe,6,0,"div",0)),2&i&&U(0,o.show?0:-1)},styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const fL=bl({base:"rounded-xl px-8 py-6 border",variants:{colour:{yellow:"border-none bg-bee-yellow-muted",blue:"border-none bg-winnie-blue-muted"}}}),gL=bl({base:"mx-auto border border-[2.4px] lg:w-28",variants:{colour:{orange:"border-ocean-orange",blue:"border-winnie-blue",green:"border-easy-green"}}}),$he=["*"];let Sr=(()=>{class t{constructor(){this.colour="orange"}ngOnInit(){this.hrClass=gL({colour:this.colour,class:"mt-4"})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-page-heading"]],inputs:{colour:"colour"},standalone:!0,features:[z],ngContentSelectors:$he,decls:3,vars:2,consts:[[1,"font-black","text-3xl","lg:text-4xl","text-center"]],template:function(i,o){1&i&&(it(),c(0,"h2",0),ge(1),x(2,"hr"),d()),2&i&&(b(2),Ke(o.hrClass))},styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Uhe=bl({base:"bg-soft-black font-medium text-white px-6 py-2 rounded-lg hover:bg-soft-black-bright transition-colors disabled:cursor-default disabled:bg-soft-black-bright",variants:{style:{outline:"bg-inherit border border-soft-black text-soft-black hover:border-soft-black-bright hover:text-white",ghost:"bg-inherit text-soft-black hover:text-white",white:"bg-white text-soft-black border border-soft-black hover:bg-soft-black hover:text-white",link:"bg-inherit text-soft-black underline-offset-2 hover:bg-inherit hover:underline",cta:"bg-easy-green hover:bg-easy-green-bright text-black"},size:{sm:"px-3 py-1.5 text-sm font-base"}},compoundVariants:[{size:"sm",style:"outline",class:"px-[calc(0.5rem-1px)] py-[calc(0.375rem-1px
1)]"}]});let Zt=(()=>{class t{constructor(e){this.el=e}ngOnInit(){this.el.nativeElement.className=Uhe({style:""===this.style?void 0:this.style,size:this.size,class:this.el.nativeElement.className})}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["","button",""]],inputs:{style:["button","style"],size:"size"},standalone:!0})}return t})();function _L(t){return t.isIssued?"Issued":t.isPaid?"Paid":"Unpaid"}function bL(t){return t&&"boolean"==typeof t.success}function ds(t,n){return xe({state:"error",message:bL(t)&&t.errors?.length?t.errors[0].message:n})}function us(t){return{state:"loaded",data:t.value}}let Md=(()=>{class t{constructor(){this.notification=new fe,this.notification$=this.notification.asObservable()}info(e,i){this.notification.next({type:"info",title:e,description:i})}success(e,i){this.notification.next({type:"success",title:e,description:i})}error(e,i){this.notification.next({type:"error",title:e,description:i})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Whe(t,n){1&t&&Le(0,18),2&t&&(S(3),k("ngTemplateOutlet",mt(4)))}function Ghe(t,n){if(1&t){const e=Ne();c(0,"button",28),V("click",function(){re(e);const o=S().$implicit;return se(S(4).impersonate(o))}),h(1,"Impersonate \u{1f449}"),d()}}function qhe(t,n){if(1&t&&(c(0,"tr")(1,"td",26),h(2),d(),c(3,"td",26),h(4),d(),c(5,"td",26),T(6,Ghe,2,0,"button",27),d()()),2&t){const e=n.$implicit;b(2),dr(" ",e.firstName," ",e.lastName," "),b(2),ce(" ",e.role," "),b(2),U(6,"Admin"===e.role?6:-1)}}function Yhe(t,n){if(1&t&&(c(0,"h3",19),h(1),d(),c(2,"dl",20)(3,"dt",21),h(4,"Phone"),d(),c(5,"dd"),h(6),d(),c(7,"dt",21),h(8,"Email"),d(),c(9,"dd"),h(10),d(),c(11,"dt",21),h(12,"Address"),d(),c(13,"dd"),h(14),d()(),c(15,"h4",22),h(16,"Users"),d(),c(17,"table",23)(18,"thead")(19,"tr")(20,"th",24),h(21,"Name"),d(),c(22,"th",24),h(23,"Role"),d(),x(24,"th",24),d()(),c(25,"tbody",25),ft(26,qhe,7,4,"tr",null,ci),d()()),2&t){const e=S(2).ngLet;b(1),ce(" ",e.business.data.name," "),b(5),pe(e.business.data.phone),b(4),pe(e.business.data.email),b(4),pe(e.business.data.address),b(12),gt(e.business.data.users)}}function Zhe(t,n){if(1&t&&(c(0,"div",29),h(1),d()),2&t){const e=S(2).ngLet;b(1),ce("\u2620\ufe0f ",e.business.message,"")}}function Khe(t,n){if(1&t&&T(0,Whe,1,1)(1,Yhe,28,4)(2,Zhe,2,1),2&t){let i;U(0,"loading"===(i=S().ngLet.business.state)?0:"loaded"===i?1:"error"===i?2:-1)}}function Qhe(t,n){1&t&&Le(0,18),2&t&&(S(2),k("ngTemplateOutlet",mt(4)))}function Xhe(t,n){1&t&&Le(0,18),2&t&&(S(3),k("ngTemplateOutlet",mt(4)))}function Jhe(t,n){if(1&t){const e=Ne();c(0,"button",28),V("click",function(){re(e);const o=S().$implicit;return se(S(4).handleSendCards(o))}),h(1,"Mark payment received \u{1f4b0}"),d()}}const eme=t=>["/","admin","card-batch",t];function tme(t,n){if(1&t&&(c(0,"tr")(1,"td",26)(2,"a",30),h(3),ve(4,"date"),d()(),c(5,"td",26),h(6),d(),c(7,"td",26),h(8),d(),c(9,"td",26),h(10),ve(11,"currency"),d(),c(12,"td",26),T(13,Jhe,2,0,"button",27),d()()),2&t){const e=n.$implicit;b(2),k("routerLink",di(10,eme,e.id)),b(1),pe(Me(4,6,e.created)),b(3),ce(" ",e.status," "),b(2),ce(" ",e.recipientCount," "),b(2),ce(" ",Me(11,8,e.amount)," "),b(3),U(13,e.canResumePayment&&"Unpaid"===e.status?13:-1)}}function ime(t,n){if(1&t&&(c(0,"h4",22),h(1,"Payment Batches"),d(),c(2,"table",23)(3,"thead")(4,"tr")(5,"th",24),h(6,"Date"),d(),c(7,"th",24),h(8,"Status"),d(),c(9,"th",24),h(10,"Recipient count"),d(),c(11,"th",24),h(12,"Amount"),d(),x(13,"th",24),d()(),c(14,"tbody",25),ft(15,tme,14,12,"tr",null,ci),d()()),2&t){const e=S(2).ngLet;b(15),gt(e.batches.data.results)}}function nme(t,n){if(1&t&&(c(0,"div",29),h(1),d()),2&t){const e=S(2).ngLet;b(1),ce("\u2620\ufe0f ",e.batches,"")}}function ome(t,n){if(1&t&&T(0,Xhe,1,1)(1,ime,17,0)(2,nme,2,1),2&t){let i;U(0,"loading"===(i=S().ngLet.batches.state)?0:"loaded"===i?1:"error"===i?2:-1)}}function rme(t,n){1&t&&Le(0,18),2&t&&(S(2),k("ngTemplateOutlet",mt(4)))}function sme(t,n){if(1&t&&(c(0,"section",16)(1,"app-page-heading",17),h(2,"Business \u{1f454}"),d(),T(3,Khe,3,1)(4,Qhe,1,1)(5,ome,3,1)(6,rme,1,1),d()),2&t){const e=n.ngLet;b(3),U(3,e.business?3:4),b(2),U(5,e.batches?5:6)}}function ame(t,n){1&t&&(c(0,"div",31),h(1," loading... "),d())}function lme(t,n){if(1&t&&(c(0,"app-alert",12)(1,"div",6),h(2," Sending the cards failed "),d(),c(3,"div",7),h(4),d()()),2&t){const e=S();b(4),ce(" ",e.batchPaymentError," ")}}const cme=(t,n)=>({business:t,batches:n});let dme=(()=>{class t{constructor(e,i,o,r,s,a){this.http=e,this.configService=i,this.jwtService=o,this.router=r,this.notificationService=s,this.route=a,this.batchSkip$=new Ee(0),this.showBatchPaymentModal=!1,this.paymentBatch=null,this.bankTransferDateControl=new De,this.batchPaymentError=null}
1ngOnInit(){this.businessId=Number.parseInt(this.route.snapshot.paramMap.get("businessId")),this.business$=this.http.get(`${this.configService.config.baseApiUrl}/admin/businesses/${this.businessId}`).pipe(te(us),Xi(i=>ds(i,"Error getting businesses")),ei({state:"loading"})),this.batches$=this.batchSkip$.pipe(X(i=>this.http.get(`${this.configService.config.baseApiUrl}/admin/card-batches?skip=${i}&businessId=${this.businessId}`).pipe(te(o=>(o.value.results=o.value.results.map(r=>({...r,status:_L(r)})),us(o))),Xi(o=>ds(o,"Error getting batches")),ei({state:"loading"}))))}impersonate(e){this.http.post(`${this.configService.config.baseApiUrl}/admin/businesses/${this.businessId}/impersonate?userId=${e.userId}`,null).pipe(ue()).subscribe({next:({token:o})=>{this.jwtService.saveToken(o),this.notificationService.success(`Impersonating ${e.firstName} ${e.lastName}`),this.router.navigateByUrl("/business/dashboard")},error:console.error})}handleSendCards(e){this.paymentBatch=e,this.batchPaymentError=null,this.showBatchPaymentModal=!0}handleCancelSendCards(){this.paymentBatch=null,this.batchPaymentError=null,this.showBatchPaymentModal=!1}handleConfirmSendCards(){if(!this.paymentBatch)return void alert("No batch set, couldn't do anything...");const i=encodeURIComponent((new Date).toISOString());this.http.post(`${this.configService.config.baseApiUrl}/admin/card-batches/${this.paymentBatch.id}/mark-bank-transfer-complete?transferDate=${i}`,null).pipe(ue()).subscribe({next:()=>window.location.reload(),error:r=>{console.error(r);const s=(r?.error?.errors??[]).map(a=>a.message).filter(Boolean).join(" ");this.batchPaymentError=s||"The cards may NOT have been issued. Check the batch in the Vault portal before clicking again \u2014 retrying can issue duplicate cards."}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Zn),v(Pt),v(Md),v($i))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-business"]],standalone:!0,features:[z],decls:50,vars:19,consts:[["class","max-w-3xl mx-auto py-12",4,"ngLet"],["loader",""],[3,"show"],[1,"flex","flex-col","gap-6"],[1,"font-medium","text-xl"],["type","warning"],["alert-title",""],["alert-description",""],[1,"list-disc","ml-6"],[1,"w-fit","ml-10"],[1,"text-right","pr-4"],["type","date","label","Bank transfer date",3,"control"],["type","error"],[1,"flex","gap-4","justify-end"],["button","ghost",3,"click"],["button","",3,"click"],[1,"max-w-3xl","mx-auto","py-12"],["colour","green",1,"mb-20"],[3,"ngTemplateOutlet"],[1,"font-medium","text-2xl"],[1,"text-lg"],[1,"font-medium","mt-6"],[1,"text-lg","font-medium","mt-10","mb-4"],[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900"],[1,"divide-y","divide-gray-200"],[1,"whitespace-nowrap","px-3","py-4","text-sm","text-gray-500"],["button","","size","sm"],["button","","size","sm",3,"click"],[1,"text-red-800","text-xl"],[1,"underline",3,"routerLink"],[1,"text-center","py-8","text-xl"]],template:function(i,o){1&i&&(T(0,sme,7,2,"section",0),ve(1,"async"),ve(2,"async"),T(3,ame,2,0,"ng-template",null,1,Yi),c(5,"app-modal",2)(6,"div",3)(7,"h3",4),h(8," Mark payment as received? "),d(),c(9,"app-alert",5)(10,"div",6),h(11," Warning!!! This can't be undone \u{1f4a3}\u{1f4a3}\u{1f4a3} "),d(),c(12,"div",7),h(13," Make sure you really wanna do this. "),x(14,"br"),h(15," It will: "),c(16,"ul",8)(17,"li"),h(18,"mark the batch as paid in our database"),d(),c(19,"li"),h(20,"create all the cards in the batch $$$"),d(),c(21,"li"),h(22,"send all the cards to the users"),d()()()(),c(23,"table",9)(24,"tbody")(25,"tr")(26,"td",10),h(27,"Batch created:"),d(),c(28,"td"),h(29),ve(30,"date"),d()(),c(31,"tr")(32,"td",10),h(33,"Recipients:"),d(),c(34,"td"),h(35),d()(),c(36,"tr")(37,"td",10),h(38,"Amount:"),d(),c(39,"td"),h(40),ve(41,"currency"),d()()()(),c(42,"div"),x(43,"app-input",11),d(),T(44,lme,5,1,"app-alert",12),c(45,"div",13)(46,"button",14),V("click",function(){return o.handleCancelSendCards()}),h(47," Cancel "),d(),c(48,"button",15),V("click",function(){return o.handleConfirmSendCards()}),h(49," Send cards \u{1f4b8}\u{1f4b8}\u{1f4b8} "),d()()()()),2&i&&(k("ngLet",ur(16,cme,Me(1,8,o.business$),Me(2,10,o.batches$))),b(5),k("show",o.showBatchPaymentModal),b(24),pe(Me(30,12,null==o.paymentBatch?null:o.paymentBatch.created)),b(6),pe(null==o.paymentBatch?null:o.paymentBatch.recipientCount),b(5),pe(Me(41,14,null==o.paymentBatch?null:o.paymentBatch.amount)),b(3),k("control",o.bankTransferDateControl),b(1),U(44,o.batchPaymentError?44:-1),b(4),ke("disabled",o.bankTransferDateControl.value?void 0:"disabled"))},dependencies:[ne,At,Vi,Ha,pr,Ii,Ln,Dt,zt,Sr,Zt,jC,vl,rm,Qr],encapsulation:2})}return t})();const ume=(t,n)=>n.skip;function hme(t,n){1&t&&h(0),2&t&&ce(" of ",S(3).pagedList.total," ")}function mme(t,n){if(1&t&&(h(0),T(1,hme,1,1)),2&t){const e=S(2);dr(" Showing ",e.from," to ",e.to," "),b(1),U(1,e.showTotal?1:-1)}}function pme(t,n){1&t&&h(0," No results ")}function fme(t,n){if(1&t){const e=Ne();c(0,"button",4),V("click",function(){const r=re(e).$implicit;return se(S(2).handlePageSelect(r))}),h(1),d()}if(2&t){const e=n.$implicit,i=S(2);k("disabled",e.skip===i.pagedList.skip),b(1),ce(" ",e.number," ")}}function gme(t,n){if(1&t){const e=Ne();c(0,"div",1)(1,"div",2),T(2,mme,2,3)(3,pme,1,0),d(),c(4,"div",3)(5,"button",4),V("click",function(){re(e);const o=S();return se(o.handlePageSelect(o.previousPage))}),h(6," Previous "),d(),ft(7,fme,2,2,"button",5,ume),c(9,"button",4),V("click",function(){re(e);const o=S();return se(o.handlePageSelect(o.nextPage))}),h(10," Next "),d()()()}if(2&t){const e=S();b(2),U(2,e.pagedList.total?2:3),b(3),k("disabled",null===e.previousPage),b(2),gt(e.pages),b(2),k("disabled",null===e.nextPage)}}let $_=(()=>{class t{constructor(){this.showTotal=!0,this.skipChanged=new E}ngOnInit(){if(!this.pagedList)return;const e=Math.floor(this.pagedList.total/this.pagedList.take)+1,i_skip=this.pagedList.skip,i_number=Math.floor(this.pagedList.skip/this.pagedList.take)+1,o=Math.floor(2),r=Math.max(i_number-o,1),s=Math.min(r+5-1,e);this.pages=[];for(let l=r;l<=s;
1l++)this.pages.push({skip:(l-1)*this.pagedList.take,number:l});this.previousPage=i_number>1?{skip:i_skip-this.pagedList.take,number:i_number-1}:null;const a=i_number+1;this.nextPage=a<=e?{skip:i_skip+this.pagedList.take,number:a}:null,this.from=i_skip+1,this.to=Math.min(i_skip+this.pagedList.take,this.pagedList.total)}handlePageSelect(e){e&&this.skipChanged.emit(e.skip)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-pagination-buttons"]],inputs:{pagedList:"pagedList",showTotal:"showTotal"},outputs:{skipChanged:"skipChanged"},standalone:!0,features:[z],decls:1,vars:1,consts:[["class","flex flex-col gap-4 items-center text-sm md:text-base"],[1,"flex","flex-col","gap-4","items-center","text-sm","md:text-base"],[1,""],[1,"flex","rounded-lg","overflow-hidden","bg-neutral-300","gap-[1px]","border","border-neutral-300","font-medium"],[1,"px-4","py-2","bg-white","disabled:bg-neutral-200","hover:bg-neutral-100",3,"disabled","click"],["class","px-4 py-2 bg-white disabled:bg-neutral-200 hover:bg-neutral-100",3,"disabled"]],template:function(i,o){1&i&&T(0,gme,11,3,"div",0),2&i&&U(0,o.pagedList?0:-1)},dependencies:[ne],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function _me(t,n){1&t&&Le(0,4),2&t&&(S(3),k("ngTemplateOutlet",mt(3)))}const bme=t=>["/admin","businesses",t];function vme(t,n){if(1&t&&(c(0,"tr")(1,"td",9)(2,"a",10),h(3),d()(),c(4,"td",9),h(5),d(),c(6,"td",9),h(7),d(),c(8,"td",9),h(9),ve(10,"date"),d()()),2&t){const e=n.$implicit;b(2),k("routerLink",di(7,bme,e.id)),b(1),ce(" ",e.name," "),b(2),ce(" ",e.address," "),b(2),ce(" ",e.users.length," "),b(2),ce(" ",Me(10,5,e.created)," ")}}function yme(t,n){if(1&t){const e=Ne();c(0,"table",5)(1,"thead")(2,"tr")(3,"th",6),h(4,"Name"),d(),c(5,"th",6),h(6,"Address"),d(),c(7,"th",6),h(8,"User count"),d(),c(9,"th",6),h(10,"Sign up date"),d()()(),c(11,"tbody",7),ft(12,vme,11,9,"tr",null,ci),d()(),c(14,"app-pagination-buttons",8),V("skipChanged",function(o){return re(e),se(S(3).handleSkip(o))}),d()}if(2&t){const e=S(2).ngLet;b(12),gt(e.data.results),b(2),k("pagedList",e.data)}}function wme(t,n){if(1&t&&(c(0,"div",11),h(1),d()),2&t){const e=S(2).ngLet;b(1),ce("\u2620\ufe0f ",e.message,"")}}function xme(t,n){if(1&t&&T(0,_me,1,1)(1,yme,15,1)(2,wme,2,1),2&t){let i;U(0,"loading"===(i=S().ngLet.state)?0:"loaded"===i?1:"error"===i?2:-1)}}function Cme(t,n){1&t&&Le(0,4),2&t&&(S(2),k("ngTemplateOutlet",mt(3)))}function kme(t,n){if(1&t&&(c(0,"section",2)(1,"app-page-heading",3),h(2,"Businesses \u{1f454}"),d(),T(3,xme,3,1)(4,Cme,1,1),d()),2&t){const e=n.ngLet;b(3),U(3,e?3:4)}}function Mme(t,n){1&t&&(c(0,"div",12),h(1," loading... "),d())}let Dme=(()=>{class t{constructor(e,i){this.http=e,this.configService=i,this.skip$=new Ee(0)}ngOnInit(){this.businesses$=this.skip$.pipe(X(e=>this.http.get(`${this.configService.config.baseApiUrl}/admin/businesses?skip=${e}`).pipe(te(us),Xi(o=>ds(o,"Error getting businesses")),ei({state:"loading"}))))}handleSkip(e){this.skip$.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-businesses"]],standalone:!0,features:[z],decls:4,vars:3,consts:[["class","max-w-7xl mx-auto py-12",4,"ngLet"],["loader",""],[1,"max-w-7xl","mx-auto","py-12"],["colour","green",1,"mb-20"],[3,"ngTemplateOutlet"],[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900"],[1,"divide-y","divide-gray-200"],[1,"mt-8",3,"pagedList","skipChanged"],[1,"whitespace-nowrap","px-3","py-4","text-sm","text-gray-500"],[1,"underline",3,"routerLink"],[1,"text-red-800","text-xl"],[1,"text-center","py-8","text-xl"]],template:function(i,o){1&i&&(T(0,kme,5,1,"section",0),ve(1,"async"),T(2,Mme,2,0,"ng-template",null,1,Yi)),2&i&&k("ngLet",Me(1,1,o.businesses$))},dependencies:[ne,At,Vi,pr,Ii,Ln,Dt,zt,Sr,$_],encapsulation:2})}return t})(),yl=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-arrow-left-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function Sme(t,n){1&t&&(c(0,"div",6),h(1," loading... "),d())}function Eme(t,n){1&t&&(c(0,"div",6),h(1," No cards "),d())}const Tme=(t,n)=>n.id;function Ime(t,n){if(1&t&&(c(0,"tr")(1,"td",10),h(2),d(),c(3,"td",10),h(4),ve(5,"currency"),d(),c(6,"td",10),h(7),d(),c(8,"td",10),h(9),d()()),2&t){const e=n.$implicit;b(2),pe(e.id),b(2),pe(Me(5,4,e.amount)),b(3),pe(e.eaid),b(2),pe(e.eaid2)}}function Ame(t,n){if(1&t&&(c(0,"table",7)(1,"thead")(2,"tr")(3,"th",8),h(4,"ID"),d(),c(5,"th",8),h(6,"Amount"),d(),c(7,"th",8),h(8,"EAID"),d(),c(9,"th",8),h(10,"EAID2"),d()()(),c(11,"tbody",9),ft(12,Ime,10,6,"tr",null,Tme),d()()),2&t){const e=S().ngLet;b(12),gt(e)}}function Pme(t,n){if(1&t){const e=Ne();c(0,"section",1)(1,"div")(2,"button",2),V("click",function(){return re(e),se(S().goBack())}),x(3,"app-arrow-left-icon",3),d()(),c(4,"app-page-heading",4),h(5,"Card Purchase Batch \u{1f5c2}\ufe0f"),d(),T(6,Sme,2,0,"div",5)(7,Eme,2,0)(8,Ame,14,0),d()}if(2&t){const e=n.ngLet;b(3),k("size",8),b(3),U(6,e?e.length?8:7:6)}}let Ome=(()=>{class t{constructor(e,i,o){this.http=e,this.configService=i,this.route=o}
1ngOnInit(){const e=this.route.snapshot.paramMap.get("batchId");this.cards$=this.http.get(`${this.configService.config.baseApiUrl}/admin/cards?batchId=${e}`).pipe(te(o=>o.value))}goBack(){history.back()}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v($i))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-card-batch"]],standalone:!0,features:[z],decls:2,vars:3,consts:[["class","max-w-7xl mx-auto pb-12",4,"ngLet"],[1,"max-w-7xl","mx-auto","pb-12"],["button","ghost",3,"click"],[3,"size"],["colour","green",1,"mb-20"],["class","text-center py-8 text-xl"],[1,"text-center","py-8","text-xl"],[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900"],[1,"divide-y","divide-gray-200"],[1,"whitespace-nowrap","px-3","py-4","text-sm","text-gray-500"]],template:function(i,o){1&i&&(T(0,Pme,9,2,"section",0),ve(1,"async")),2&i&&k("ngLet",Me(1,1,o.cards$))},dependencies:[ne,Vi,Ha,Ii,Ln,Sr,Zt,yl],encapsulation:2})}return t})();function Rme(t,n){1&t&&h(0," loading... ")}function Fme(t,n){if(1&t){const e=Ne();c(0,"input",8),V("change",function(o){return re(e),se(S().handleCardSummaryFileSelect(o))}),d()}}function Lme(t,n){1&t&&h(0," loading... ")}function Nme(t,n){if(1&t){const e=Ne();c(0,"input",8),V("change",function(o){return re(e),se(S().handleVenueUsageSummaryFileSelect(o))}),d()}}const Bme=[{path:"admin",component:Dme,canActivate:[yd],data:{claims:[{name:"UserType",values:["Mentwell"]}],isAdmin:!0}},{path:"admin/businesses/:businessId",component:dme,canActivate:[yd],data:{claims:[{name:"UserType",values:["Mentwell"]}],isAdmin:!0}},{path:"admin/service-providers",component:(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-service-providers"]],standalone:!0,features:[z],decls:25,vars:0,consts:[[1,"mx-auto"],["width","1023.3063","height","1023.3063","xmlns","http://www.w3.org/2000/svg"],["id","metadata7"],["display","inline","id","layer4"],["fill","#ffff00","stroke","#000000","stroke-width","10.629921","stroke-linecap","round","stroke-linejoin","round","stroke-miterlimit","4","id","rect2200","width","737.34528","height","737.34528","x","354.914195","y","-368.67263","ry","36.398502","transform","matrix(0.707107 0.707107 -0.707107 0.707107 0 0)"],["display","inline","id","g4066"],["stroke","#ffff00","stroke-width","0.858269","display","inline","id","g3735","transform","matrix(1.1278 0 0 1.2037 145.497 -43.2145)"],["fill","#000000","stroke","#ffff00","stroke-width","0.858383px","id","path2844","d","m451.002106,301.983521l5.53064,21.518188l-60.049744,15.044403c-4.040833,1.01236 -9.522217,-1.071747 -12.466736,-3.289764c-0.904236,-0.681091 -2.847351,-1.345215 -6.122742,-0.524628l-10.918152,2.045502l-1.10614,-4.9935c6.800812,-1.921478 8.60379,-1.564392 11.148132,-2.965302c2.183594,-0.547058 3.694824,-1.665833 4.56543,-2.80011c2.18042,-2.840851 4.676453,-7.814575 9.369507,-8.990387l60.049805,-15.044403z"],["stroke","#ffff00","stroke-width","0.858269","display","inline","id","g3707"],["fill","#211414","stroke","#ffff00","stroke-width","1.716538","stroke-linecap","round","stroke-linejoin","round","stroke-miterlimit","4","d","m430.245575,337.226044c2.121948,0.353668 2.00531,-28.333405 0.348267,-30.211212c-5.206543,-5.497589 -18.855957,-0.356964 -23.089417,5.203247l4.352722,24.77124l-5.893066,1.777069l6.274109,2.792114l18.007385,-4.332458z","id","path2927"],["fill","#000000","stroke","#000000","stroke-width","0.690023px","d","m449.105469,378.993835l360.355225,218.656738c0.96936,5.310913 -2.357666,5.929626 -5.746826,9.724121l-360.355194,-218.656677c-13.472687,24.474243 -14.032959,27.96347 -27.156952,53.707611c-54.365692,-39.456604 -109.170349,-66.067017 -74.689392,-124.412018c34.481049,-58.345001 134.633911,10.328003 134.633911,10.328003c0,0 -13.457367,27.667847 -27.040771,50.652252l0,-0.000031z","id","path3740"],["fill","#000000","stroke","#ffff00","stroke-width","1","stroke-miterlimit","4","d","m485.406372,387.561584c-32.019562,6.957306 -52.353302,28.168671 -64.362152,59.534454c-17.052948,33.311523 -36.730011,75.831146 -22.542023,130.361237l10.198334,29.186646c19.571136,49.854675 54.720398,38.528198 88.505585,6.461609l57.925964,-107.619965l-36.471924,81.287445l13.94519,65.258911l65.434875,-20.608093c0,0 -0.844299,-107.050415 2.145386,-111.054688c11.088562,-14.851959 -23.763123,-74.707306 -64.362122,-36.636536l-53.635162,61.82428l47.198883,-87.011932l81.525391,25.187653c0,0 15.497253,-0.955444 22.728394,-18.222107c13.841003,-33.049591 3.956909,
1-105.010559 3.956909,-105.010559c-11.902771,3.453735 -15.39563,4.64444 -29.663635,7.714569c-4.206177,0.90506 0.833008,65.142792 -6.675964,63.997925c-7.508911,-1.144897 -81.525391,-25.187653 -81.525391,-25.187653c1.887451,-2.045532 0.085449,-25.259064 7.1073,-26.423676c13.808228,-2.290192 18.585571,4.072937 24.496094,-8.556c1.687012,-3.604492 0.048096,-10.681244 0.582764,-16.399994c0.213867,-2.288391 5.839539,-2.41037 6.702271,-4.454285c-5.466309,-13.559509 0.413147,-16.729645 -3.916504,-25.841919c-2.087646,-4.323944 -0.680542,-6.386353 -3.692505,-9.861908c-0.330078,-1.944031 18.185547,-4.35202 19.777954,-6.508453c0.208984,-0.28302 -0.186584,-2.19281 -2.990234,-2.381165c-4.940796,-0.33197 -14.20575,1.175476 -17.390869,1.3974c-3.951172,0.27533 -3.426392,-6.328308 -11.669067,-18.194916c-3.303711,-4.522614 -19.080505,-5.413879 -35.473297,-2.011932c-6.767548,1.404449 -20.733856,-0.875031 -26.316132,5.94574c-2.161011,2.640472 -4.125427,19.376099 -1.876892,24.916595c5.986633,24.671448 -1.696564,42.762115 7.681702,52.900726c3.202179,3.461731 0.598602,10.907837 2.65094,16.01059l-0.000061,0z","id","path2888"],["fill","#000000","stroke","#ffbb00","stroke-width","1","stroke-miterlimit","4","d","m551.94989,648.856262c0,0 23.32428,-8.500427 29.961365,-9.714722c2.393494,-0.437927 3.602966,31.977661 3.602966,31.977661c8.895325,5.176514 22.303711,2.399841 34.977844,-0.802063c19.89801,-5.026917 37.681702,7.615234 24.565613,32.375c-19.468567,0.062561 -52.211121,-0.41449 -71.679749,-5.666992l-0.758545,6.476501l-32.236816,-2.833435c1.213135,-9.026489 -1.71582,-16.947815 6.826538,-27.929871l4.740784,-23.88208z","id","path3662"],["fill","#000000","stroke","#ffff00","stroke-width","1","stroke-miterlimit","4","d","m736.431152,626.837524l18.653564,26.023621l30.2005,-2.849426c22.680237,-21.876526 37.656067,-19.908508 49.268921,4.325989c0.108704,3.428162 -52.221497,31.238159 -54.051453,27.047729c-1.321167,-3.025391 4.603821,8.427917 4.603821,8.427917l-36.201599,14.348755c-9.467896,-10.767273 -19.579468,-20.98175 -22.235718,-37.595825l-17.631042,-28.178406l27.025208,-13.209167l0.367798,1.658813z","id","path3722"],["fill","#000000","stroke","#ffff00","stroke-width","1","stroke-miterlimit","4","d","m600.756287,544.235291l0.011292,54.665344l60.409912,-20.256958c21.857117,25.491516 22.426147,47.027466 38.509094,66.356262l41.472717,-25.031799l-53.411804,-80.211548c-4.305603,-6.069458 -8.611145,-5.364868 -12.916748,-7.732178l-74.074219,12.210876l-0.000244,0z","id","path3718"],["fill","#000000","stroke","#000000","stroke-width","1.049252px","d","m507.500183,706.689026c-9.592438,-16.326782 -15.563141,-25.952209 -23.592224,-42.599792c-3.995117,-8.283569 -5.535889,-21.869141 -12.993713,-28.370972c-20.065247,-10.22998 -41.022736,-41.025208 -72.039246,-51.255188c-4.88681,-12.584839 -15.279297,-20.61499 -19.215485,-27.470947c-17.868195,-31.122742 -52.496216,16.377441 -52.496216,16.377441c-6.629852,-17.333923 -44.136963,9.436646 -54.280396,33.834778c-27.74617,15.032288 -30.076736,37.42334 -45.9431,100.723877l280.560379,-1.239197z","id","path3716"],["id","layer1"],["transform","matrix(3.97694 0 0 3.11608 -1112.81 -324.228)",0,"xml","space","preserve","text-anchor","middle","font-family","Arial","font-size","24","id","svg_1","y","188.693726","x","408.693726","stroke-width","0","stroke","#000000","fill","#000000"],["transform","matrix(3.47163 0 0 3.16938 -523.782 -1569.55)",0,"xml","space","preserve","text-anchor","middle","font-family","Arial","font-size","24","id","svg_2","y","745.693726","x","298.693726","stroke-linecap","null","stroke-linejoin","null","stroke-dasharray","null","stroke-width","0","stroke","#000000","fill","#000000"]],template:function(i,o){1&i&&(c(0,"div",0),$e(),c(1,"svg",1)(2,"metadata",2),h(3,"image/svg+xml"),d(),c(4,"g")(5,"title"),h(6,"Layer 1"),d(),c(7,"g",3),x(8,"rect",4),c(9,"g",5)(10,"g",6),x(11,"path",7),c(12,"g",8),x(13,"path",9),d()(),x(14,"path",10)(15,"path",11)(16,"path",12)(17,"path",13)(18,"path",14)(19,"path",15),d()(),x(20,"g",16),c(21,"text",17),h(22,"WORK IN"),d(),c(23,"text",18),h(24,"PROGRESS"),d()()()())},encapsulation:2})}return t})(),canActivate:[yd],data:{claims:[{name:"UserType",values:["Mentwell"]}],isAdmin:!0}},{path:"admin/card-batch/:batchId",component:Ome,canActivate:[yd],data:{claims:[{name:"UserType",values:["Mentwell"]}],isAdmin:!0}},{path:"admin/report-upload",component:(()=>{class t{constructor(e,i,o){this.http=e,this.configService=i,this.notificationService=o,this.cardSummaryLoading=!1,this.venueUsageSummaryLoading=!1,this.lastUpdated=null,this.statsUrl=`${this.configService.config.baseApiUrl}/admin/reporting/last-updated`}ngOnInit(){this.http.get(this.statsUrl).pipe(ue()).subscribe({next:({value:e})=>this.lastUpdated=e})}handleCardSummaryFileSelect(e){this.cardSummaryLoading=!0;try{const o=e.currentTarget.files?.[0];if(!o)return;const r=new FormData;r.set("file",o),this.http.post(`${this.configService.config.baseApiUrl}/admin/reporting/card-summary`,r).pipe(ue()).subscribe({error:a=>{console.error(a),this.cardSummaryLoading=!1,this.notificationService.error("Error uploading card summary CSV")},next:()=>{this.notificationService.success("Card summary CSV uploaded"),this.cardSummaryLoading=!1}})}catch(i){console.error(i),this.notificationService.error("Error uploading card summary CSV"),this.cardSummaryLoading=!1}}handleVenueUsageSummaryFileSelect(e){this.venueUsageSummaryLoading=!0;try{const o=e.currentTarget.files?.[0];if(!o)return;const r=new FormData;r.set("file",o),this.http.post(`${this.configService.config.baseApiUrl}/admin/reporting/venue-usage-summary`,r).pipe(ue(),X(()=>this.http.get(this.statsUrl))).subscribe({next:({value:a})=>{this.lastUpdated=a,this.notificationService.success("Venue usage summary CSV uploaded"),this.venueUsageSummaryLoading=!1},error:a=>{console.error(a),this.venueUsageSummaryLoading=!1,this.notificationService.error("Error uploading venue usage summary CSV")}})}catch(i){console.error(i),this.notificationService.error("Error uploading venue usage summary CSV"),this.venueUsageSummaryLoading=!1}}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Md))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-report-upload"]],standalone:!0,features:[z],decls:25,vars:6,consts:[["colour","blue",1,"mb-20"],[1,"flex","flex-col","gap-8"],[1,"flex","flex-col","gap-6","rounded-xl","bg-gray-100","p-6"],[1,"font-medium"],[1,"text-2xl"],["href","https://lookerstudio.google.com/reporting/a125bae3-ab24-4e9c-b219-0f031045b5d1/page/4ZUkC","target","_blank",1,"underline"],[1,"text-winnie-blue","font-medium"],["href","https://lookerstudio.google.com/reporting/a125bae3-ab24-4e9c-b219-0f031045b5d1/page/p_svlw80knrc","target","_blank",1,"underline"],["name","file","type","file","accept","*.csv",3,"change"]],template:function(i,o){1&i&&(c(0,"section")(1,"app-page-heading",0),h(2,"Looker Report Upload \u{1f4c3}"),d(),c(3,"div",1)(4,"div",2)(5,"h3",3),h(6,"Step 1"),d(),c(7,"label",4),h(8,"Upload Card Summary CSV"),d(),c(9,"a",5),h(10," Open Looker Report \u{1f449} "),d(),T(11,Rme,1,0)(12,Fme,1,0),d(),c(13,"div",2)(14,"h3",3),h(15,"Step 2"),d(),c(16,"p",6),h(17),ve(18,"date"),d(),c(19,"label",4),h(20,"Venue Usage Summary CSV"),d(),c(21,"a",7),h(22," Open Looker Report \u{1f449} "),d(),T(23,Lme,1,0)(24,Nme,1,0),d()()()),2&i&&(b(11),U(11,o.cardSummaryLoading?11:12),b(6),ce("Last updated: ",Bo(18,3,o.lastUpdated,"medium"),""),b(6),U(23,o.venueUsageSummaryLoading?23:24))},dependencies:[ne,pr,Ii,Dt,Sr,Qr],encapsulation:2})}return t})(),canActivate:[yd],data:{claims:[{name:"UserType",values:["Mentwell"]}],isAdmin:!0}}];let sm=(()=>{class t{constructor(e,i){this.router=e,this.jwtService=i}canActivate(e,i){return this.jwtService.data$.pipe(te(o=>!!o?.businessId||this.router.parseUrl("/login")))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Pt),R(Zn))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const sa="Australia's First Wellness Gift Card | Mentwell",aa="Mentwell gift cards can be used to access a range of services, from psychologists to psychics. Help change someone's life with a few clicks of a button.",hs="Australia's First Wellness Gift Card | Mentwell",ms="Mentwell gift cards can be used to access a range of services, from psychologists to psychics. Help change someone's life with a few clicks of a button.",ps="Australia's Best Health Services Directory | Mentwell",fs="Australia\u2019s most comprehensive health and wellness directory. Find the help you need, from medical and wellness providers to alternative and talk therapies.",yL="Workplace Wellness Cards | Mentwell",wL="Give the gift of wellness in the workplace with Mentwell. Each card gives your team the choice to choose the best wellbeing option for themselves.",Vme=(t,n)=>({"border-b-ocean-orange":t,"border-b-winnie-blue":n}),zme=["*"];let am=(()=>{class t{constructor(){this.colour="blue"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-heading"]],inputs:{colour:"colour"},standalone:!0,features:[z],ngContentSelectors:zme,decls:3,vars:4,consts:[[1,"font-black","text-3xl","pb-4"],[1,"border-b-4","
1w-32",3,"ngClass"]],template:function(i,o){1&i&&(it(),c(0,"h2",0),ge(1),d(),x(2,"hr",1)),2&i&&(b(2),k("ngClass",ur(1,Vme,"orange"===o.colour,"blue"===o.colour)))},dependencies:[ne,Ti],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),$C=(()=>{class t{constructor(){}trackEvent(e,i){typeof fbq>"u"||fbq("track",e,i)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const U_="AUD",UC="mentwell-card",WC="Mentwell Card";let la=(()=>{class t{trackClick(e,i){this.trackEvent("Click",{action:e,location:i})}trackContactRequest(e,i,o){this.trackEvent("ContactRequest",{action:e,subject:i,location:o})}trackViewItemList(e){this.trackEvent("view_item_list",{items:e})}trackBeginCheckout(e,i,o){this.trackEvent("begin_checkout",{currency:e,value:i,items:o})}trackPurchase(e,i,o,r){this.trackEvent("purchase",{currency:e,value:i,transactionId:o,items:r})}trackSignup(e){this.trackEvent("sign_up",{method:e})}trackEvent(e,i={}){if(typeof gtag<"u")try{gtag("event",e,i)}catch(o){console.error("Error calling gtag",o)}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const W_="AUD";let Hme=(()=>{class t{constructor(e,i,o,r,s,a,l,u){this.stripeFactory=e,this.configService=i,this.router=o,this.route=r,this.http=s,this.fbq=a,this.tracker=l,this.jwtService=u}
1ngOnInit(){this.stripeInstance=this.stripeFactory.create(this.configService.config.stripePublicKey),this.cardPurchaseBatchId$=this.route.params.pipe(te(e=>e.id)),qt([this.jwtService.businessId$,this.cardPurchaseBatchId$]).pipe(X(([e,i])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${e}/card-batches/purchase/${i}`)),te(e=>e.value),X(e=>this.stripeInstance.initEmbeddedCheckout({clientSecret:e.clientSecret,onComplete:()=>this.onComplete()}).pipe(te(i=>({ref:i,batch:e}))))).subscribe(({ref:e,batch:i})=>{var o=i.cardPurchases.reduce((r,{amount:s})=>r+s,0);this.fbq.trackEvent("AddPaymentInfo",{currency:W_,value:o}),this.tracker.trackEvent("AddPaymentInfo",{currency:W_,value:o}),this.ref=e,this.batch=i,e.mount("#checkout")})}ngOnDestroy(){this.ref&&this.ref.destroy()}onComplete(){if(this.batch){var e=this.batch.cardPurchases.reduce((i,{amount:o})=>i+o,0);this.fbq.trackEvent("Purchase",{currency:W_,value:e}),this.tracker.trackEvent("Purchase",{currency:W_,value:e})}this.router.navigate(["/business/thankyou"])}static#e=this.\u0275fac=function(i){return new(i||t)(v(tm),v(ii),v(Pt),v($i),v(Bt),v($C),v(la),v(Zn))};static#t=this.\u0275cmp=O({type:t,selectors:[["business-card-purchase-batch-payment"]],standalone:!0,features:[z],decls:8,vars:0,consts:[[1,"flex","flex-col","max-w-7xl","gap-6","px-5","pt-6","lg:px-20","lg:pt-16"],["routerLink","/business/dashboard/purchasing",1,"flex","items-center","gap-1.5","underline-offset-2","hover:underline"],[1,"pt-6","pb-10","max-w-[995px]"],["id","checkout"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"a",1),x(2,"app-arrow-left-icon"),h(3," Back to dashboard "),d(),c(4,"app-business-dashboard-heading"),h(5,"Giftcard Payment"),d(),c(6,"div",2),x(7,"div",3),d()())},dependencies:[Dt,zt,yl,am],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const CL="legacy-styles";let lm=(()=>{class t{constructor(e,i){this.document=e,this.renderFactory=i,this.isLegacy=new Ee(!0),this.isLegacy$=this.isLegacy.asObservable(),this.htmlElement=this.document.getElementsByTagName("html")[0],this.htmlElement?(this.tailwindPreloadCssElement=this.document.getElementById("tailwindCssPreload"),this.tailwindPreloadCssElement?(this.renderer=this.renderFactory.createRenderer(null,null),this.subscription=this.isLegacy.pipe(Ja()).subscribe(o=>{o?(this.renderer.addClass(this.htmlElement,CL),this.tailwindCssElement&&(this.tailwindCssElement.remove(),this.tailwindCssElement=void 0)):(this.tailwindCssElement=this.renderer.createElement("link"),this.tailwindCssElement.rel="stylesheet",this.tailwindCssElement.href="/tailwind-2024-10-08.css",this.renderer.insertBefore(this.tailwindPreloadCssElement.parentElement,this.tailwindCssElement,this.tailwindPreloadCssElement),this.renderer.removeClass(this.htmlElement,CL))})):console.error("unable to find the tailwind preload <link>")):console.error("unable to find <html> to switch from legacy styles")}ngOnDestroy(){this.subscription.unsubscribe()}useLegacyStyles(){this.isLegacy.next(!0)}useTailwind(){this.isLegacy.next(!1)}static#e=this.\u0275fac=function(i){return new(i||t)(R(Ve),R(jp))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jme(t,n){1&t&&($e(),c(0,"svg",1),x(1,"path",2)(2,"path",3)(3,"path",4)(4,"path",5)(5,"path",6)(6,"path",7)(7,"rect",8)(8,"rect",9)(9,"circle",10),c(10,"g"),x(11,"path",11)(12,"path",12),d()())}function $me(t,n){1&t&&($e(),c(0,"svg",13),x(1,"path",14)(2,"path",15)(3,"path",16),d())}function Ume(t,n){1&t&&($e(),c(0,"svg",13),x(1,"path",17)(2,"path",18)(3,"path",19),d())}let cm=(()=>{class t{constructor(e){this.styles=e,this.isLegacyStyle=!1,this.showText=!0,this.inverse=!1}ngOnInit(){if(this.showText&&this.inverse)throw new Error("Invalid settings - showText can't be true if inverse is true");this.subscription=this.styles.isLegacy$.subscribe(e=>this.isLegacyStyle=e)}ngOnDestroy(){this.subscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(v(lm))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-logo"]],hostVars:2,hostBindings:function(i,o){2&i&&je("legacy-styles",o.isLegacyStyle)},inputs:{showText:"showText",inverse:"inverse"},standalone:!0,features:[z],decls:3,vars:1,consts:[["class","w-full h-full text-current","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 250.43 44.13"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 250.43 44.13",1,"w-full","h-full","text-current"],["fill","currentcolor","d","M158.07,33.11c-2.52-.38-4.28-1.02-4.28-4.12v-10.44h5.56v-5.13h-5.56v-4.35l-5.18-.71v5.06h-4.95v5.13h4.95v11.24c0,5.65,4.06,7.94,9.5,7.94,.56,0,1.03-.01,1.43-.03v-4.41c-.45-.04-.95-.1-1.49-.18Z"],["fill","currentcolor","d","M173.71,37.48c4.55,0,5.93-.83,7.51-2.37,1.59,1.64,3.95,2.44,7.67,2.37,.19,0-.19,0,0,0,5.55,0,9.16-3.48,9.16-9.83V13.85h-5.36v13.43
1c0,2.8-1.12,4.56-3.19,5.01-.26,.05-.53,.09-.79,.1,0,0,0,0,0,0-.12,0-.24,.01-.36,.01-.12,0-.24,0-.36-.01,0,0,0,0,0,0-.27-.02-.53-.05-.8-.1-2.06-.45-3.19-2.21-3.19-5.01V13.85l-.02,5.33v-5.48h-5.36v13.43c0,2.8-1.12,4.56-3.19,5.01-.26,.05-.53,.09-.79,.1,0,0,0,0,0,0-.12,0-.24,.01-.36,.01-.12,0-.24,0-.36-.01,0,0,0,0,0,0-.27-.02-.53-.05-.79-.1-2.06-.45-3.19-2.21-3.19-5.01V13.7h-5.36v13.8c0,6.35,3.61,9.98,9.16,9.98"],["fill","currentcolor","d","M114.39,26.67h-17.82c.05,3.1,3.12,5.79,6.98,5.7,1.62-.04,3.79-.51,5.17-2.91h5.34c-1.05,5.64-6.59,7.81-9.94,7.88-7.4,.16-12.58-5.07-12.58-11.91s5.16-11.78,11.73-11.78,11.16,4.98,11.16,11.69c0,.53-.05,1.33-.05,1.33m-17.33-4.27h11.96c-.89-2.53-2.98-4.13-5.78-4.13s-5.16,1.64-6.18,4.13"],["fill","currentcolor","d","M226.27,27.1h-18.2c.05,3.16,3.18,5.91,7.13,5.82,1.65-.04,3.87-.52,5.28-2.97h5.46c-1.07,5.76-6.73,7.97-10.15,8.05-7.55,.17-12.84-5.17-12.84-12.16s5.26-12.03,11.98-12.03,11.39,5.08,11.39,11.93c0,.54-.05,1.36-.05,1.36m-17.7-4.36h12.21c-.91-2.59-3.04-4.22-5.9-4.22s-5.26,1.68-6.31,4.22"],["fill","currentcolor","d","M140.67,23.31v13.51h-5.16v-13.2c0-3.2-1.69-4.98-4.58-4.98-2.31,0-4.62,1.07-5.87,2.84v15.33h-5.16V14.02h5.16v2.58c1.64-2.09,4.4-3.07,7.16-3.07,5.29,0,8.44,3.55,8.44,9.78"],["fill","currentcolor","d","M78.74,13.83c-4.55,0-5.93,.83-7.51,2.37-1.59-1.64-3.95-2.44-7.67-2.37-.19,0,.19,0,0,0-5.55,0-9.16,3.48-9.16,9.83v13.8h5.36v-13.43c0-2.8,1.12-4.56,3.19-5.01,.26-.05,.53-.09,.79-.1,0,0,0,0,0,0,.12,0,.24-.01,.36-.01,.12,0,.24,0,.36,.01,0,0,0,0,0,0,.27,.02,.53,.05,.8,.1,2.06,.45,3.19,2.21,3.19,5.01v13.43l.02-5.33v5.48h5.36v-13.43c0-2.8,1.12-4.56,3.19-5.01,.26-.05,.53-.09,.79-.1,0,0,0,0,0,0,.12,0,.24-.01,.36-.01,.12,0,.24,0,.36,.01,0,0,0,0,0,0,.27,.02,.53,.05,.79,.1,2.06,.45,3.19,2.21,3.19,5.01v13.43h5.36v-13.8c0-6.35-3.61-9.98-9.16-9.98"],["fill","currentcolor","x","231.46","y","6.59","width","5.28","height","30.98"],["fill","currentcolor","x","243.9","y","6.59","width","5.28","height","30.98"],["fill","currentcolor","cx","21.66","cy","22.44","r","20.41"],["d","M34.78,18.5l-.15,.25c-.43,.67-3.31,3.84-5.76,4.03-1.22,.09-2.41-.32-3.52-.76-.72-.29-1.49-.46-2.12-.49-.68,0-1.26,.25-1.75,.58-.47,.33-.86,.73-1.1,1.04-.52,.63-.95,1.37-1.4,2.13-.34,.58-.69,1.15-1.08,1.73-1.36,1.95-2.91,3.15-4.52,3.47-.3,.06-.62,.09-.93,.09-1.05,0-2.01-.36-2.69-.99-.86-.81-1.23-2-1.12-3.54,.21-2.72,2.19-4.17,3.89-5.12,.16-.08,.29-.16,.41-.24v-2.17c0-3.03,1.71-5.46,4.43-6.32,1.49-.47,2.95-.34,3.9,.34,.95-1.69,2.34-2.77,4.03-3.09,.52-.1,2.34-.36,3.67,.68,.84,.63,1.29,1.64,1.37,2.96v4.91l-.03,.06c-.67,1.31-2.19,1.16-2.26,1.16l-.26-.02v-5.32c.02-.59-.2-.99-.2-.99-.64-.93-1.85-.71-2.52-.5-1.34,.43-2.11,1.65-2.11,3.33l.02,.61-1.23,1.47-1.42-.58v-1.89c-.53-.71-1.51-.95-2.59-.61-1.37,.44-2.11,1.63-2.11,3.34l-.03,6.31c-1.08,2.06-2.36,1.81-2.42,1.8l-.23-.05v-2.43c-.85,.55-1.57,1.25-1.65,2.38-.06,.71,.06,1.23,.3,1.47,.27,.26,.78,.35,1.3,.25,1.23-.25,2.22-1.36,2.85-2.24,.34-.5,.64-1.01,.96-1.56,.5-.82,.99-1.67,1.64-2.46,1.39-1.73,3.17-2.63,4.96-2.58,.97,.02,2,.25,3.05,.67,.82,.33,1.67,.63,2.33,.58,1.29-.12,2.79-1.56,3.76-2.87l.16-.2,2.19,1.37Z",1,"fill-white"],["d","M30.31,23.48v2.87c0,3.04-1.69,5.46-4.43,6.34-1.49,.47-2.94,.34-3.9-.34-.95,1.69-2.33,2.76-4.02,3.09-.2,.03-.61,.1-1.12,.1-.75,0-1.71-.15-2.51-.73-.8-.6-1.26-1.51-1.39-2.73l-.03-.26,.35-.06c.59-.11,1.19-.37,1.76-.76l.42-.28,.02,.5c.03,.47,.2,.78,.2,.79,.66,.91,1.86,.7,2.52,.5,1.36-.43,2.12-1.65,2.12-3.34l-.02-.61,1.23-1.46,1.41,.58v1.89c.54,.71,1.52,.94,2.59,.6,1.36-.43,2.26-1.85,2.26-3.55v-2.64l.3,.05c.37,.03,1.23,.03,1.81-.29l.42-.24Z",1,"fill-white"],["viewBox","0 0 218 219","fill","none","xmlns","http://www.w3.org/2000/svg",1,"w-full","h-full","text-current"],["d","M109 218.5C169.199 218.5 218 169.699 218 109.5C218 49.301 169.199 0.5 109 0.5C48.801 0.5 0 49.301 0 109.5C0 169.699 48.801 218.5 109 218.5Z","fill","currentcolor"],["d","M179.137 88.4538L178.329 89.7457C176.015 93.2983 160.728 110.308 147.54 111.277C141.081 111.761 134.729 109.608 128.754 107.24C124.933 105.679 120.788 104.763 117.397 104.656C113.79 104.656 110.615 106.001 108.085 107.724C105.501 109.5 103.509 111.653 102.218 
1113.268C99.4723 116.659 97.1578 120.481 94.7894 124.572C92.9054 127.748 91.0215 130.87 88.9222 133.884C81.7094 144.326 73.3662 150.732 64.8076 152.4C63.139 152.723 61.5242 152.885 59.8555 152.885C54.2575 152.885 49.1439 151.001 45.5375 147.61C40.9622 143.304 38.9706 136.952 39.5627 128.717C40.8007 112.299 54.4728 104.656 60.2862 101.426C61.1474 100.942 61.8471 100.511 62.4931 100.134V88.5615C62.4931 72.3595 71.536 59.3872 86.1232 54.758C94.0896 52.2281 101.841 52.9279 106.954 56.5881C112.014 47.4914 119.388 41.8395 128.431 40.0094C131.23 39.4711 140.973 38.1254 148.078 43.6696C152.492 47.0607 154.968 52.3896 155.345 59.4948L155.183 86.0316C151.577 92.9753 143.449 92.2755 143.126 92.2217L141.78 92.1141V63.6933C141.834 60.5175 140.65 58.4183 140.65 58.4183C137.205 53.4662 130.746 54.5965 127.193 55.7269C120.034 58.0415 115.89 64.5007 115.89 73.5437L115.997 76.7733L109.43 84.6321L101.895 81.5639V71.4983C98.9879 67.6765 93.7666 66.4385 88.061 68.2686C80.7405 70.5832 76.7573 76.881 76.7573 86.0854L76.542 119.781C70.7825 130.762 63.9464 129.47 63.6773 129.416L62.4931 129.147V116.175C57.9716 119.135 54.096 122.849 53.6654 128.932C53.3425 132.7 53.9346 135.499 55.2802 136.791C56.7336 138.136 59.4249 138.621 62.2239 138.082C68.8447 136.791 74.1197 130.87 77.4032 126.133C79.2333 123.441 80.902 120.696 82.6244 117.736C85.0466 113.591 87.8457 108.908 91.2906 104.656C98.5034 95.7205 107.546 90.876 116.859 90.876H117.774C122.995 90.9837 128.485 92.2217 134.083 94.4825C138.443 96.2588 143.019 97.8198 146.517 97.4968C153.407 96.9047 161.374 89.2074 166.595 82.2637L167.402 81.1333L179.137 88.4538Z","fill","#BCBCBC"],["d","M155.238 115.045V130.386C155.238 146.588 146.195 159.506 131.607 164.189C123.641 166.719 115.89 166.019 110.776 162.359C105.717 171.402 98.3423 177.108 89.2993 178.884C88.2228 179.153 86.0159 179.476 83.3783 179.476C79.3413 179.476 74.2277 178.669 69.9754 175.547C65.6692 172.371 63.1931 167.419 62.4934 160.959L62.3857 159.56L64.2159 159.237C67.3917 158.645 70.5675 157.245 73.6356 155.2L75.8425 153.747L76.004 156.33C76.1655 158.86 77.0806 160.529 77.0806 160.529C80.5255 165.481 87.0386 164.351 90.5374 163.22C97.7502 160.906 101.841 154.393 101.841 145.403L101.733 142.174L108.3 134.315L115.836 137.383V147.449C118.743 151.271 123.964 152.509 129.67 150.678C136.883 148.418 141.727 140.774 141.727 131.731V117.629L143.396 117.844C145.387 118.059 149.909 118.059 152.977 116.337L155.238 115.045Z","fill","#BCBCBC"],["d","M109 218.5C169.199 218.5 218 169.699 218 109.5C218 49.301 169.199 0.5 109 0.5C48.801 0.5 0 49.301 0 109.5C0 169.699 48.801 218.5 109 218.5Z","fill","#BCBCBC"],["d","M179.137 88.4538L178.329 89.7457C176.015 93.2983 160.728 110.308 147.54 111.277C141.081 111.761 134.729 109.608 128.754 107.24C124.933 105.679 120.788 104.763 117.397 104.656C113.79 104.656 110.615 106.001 108.085 107.724C105.501 109.5 103.509 111.653 102.218 113.268C99.4723 116.659 97.1578 120.481 94.7894 124.572C92.9054 127.748 91.0215 130.87 88.9222 133.884C81.7094 144.326 73.3662 150.732 64.8076 152.4C63.139 152.723 61.5242 152.885 59.8555 152.885C54.2575 152.885 49.1439 151.001 45.5375 147.61C40.9622 143.304 38.9706 136.952 39.5627 128.717C40.8007 112.299 54.4728 104.656 60.2862 101.426C61.1474 100.942 61.8471 100.511 62.4931 100.134V88.5615C62.4931 72.3595 71.536 59.3872 86.1232 54.758C94.0896 52.2281 101.841 52.9279 106.954 56.5881C112.014 47.4914 119.388 41.8395 128.431 40.0094C131.23 39.4711 140.973 38.1254 148.078 43.6696C152.492 47.0607 154.968 52.3896 155.345 59.4948L155.183 86.0316C151.577 92.9753 143.449 92.2755 143.126 92.2217L141.78 92.1141V63.6933C141.834 60.5175 140.65 58.4183 140.65 58.4183C137.205 53.4662 130.746 54.5965 127.193 55.7269C120.034 58.0415 115.89 64.5007 115.89 73.5437L115.997 76.7733L109.43 84.6321L101.895 81.5639V71.4983C98.9879 67.6765 93.7666 66.4385 88.061 68.2686C80.7405 70.5832 76.7573 76.881 76.7573 86.0854L76.542 119.781C70.7825 130.762 63.9464 129.47 63.6773 129.416L62.4931 129.147V116.175C57.9716 119.135 54.096 122.849 53.6654 128.932C53.3425 132.7 53.9346 135.499 55.2802 136.791C56.7336 138.136 59.4249 138.621 62.2239 138.082C68.8447 136.791 74.1197 130.87 77.4032 126.133C79.2333 123.441 80.902 120.696 82.6244 117.736C85.0466 113.591 87.8457 108.908 91.2906 104.656C98.5034 95.7205 107.546 90.876 116.859 90.876H117.774C122.995 90.9837 128.485 92.2217 134.083 94.4825C138.443 96.2588 143.019 97.8198 146.517 97.4968C153.407 96.9047 161.374 89.2074 166.595 82.2637L167.402 81.1333L179.137 88.4538Z","fill","white"],["d","M155.238 115.045V130.386C155.238 146.588 146.195 159.506 131.607 164.189C123.641 166.719 115.89 166.019 110.776 162.359C105.717 171.402 98.3423 177.108 89.2993 178.884C88.2228 179.153 86.0159 179.476 83.3783 179.476C79.3413 179.476 74.2277 178.669 69.9754 175.547C65.6692 172.371 63.1931 167.419 62.4934 160.959L62.3857 159.56L64.2159 159.237C67.3917 158.645 70.5675 157.245 73.6356 155.2L75.8425 153.747L76.004 156.33C76.1655 158.86 77.0806 160.529 77.0806 160.529C80.5255 165.48
11 87.0386 164.351 90.5374 163.22C97.7502 160.906 101.841 154.393 101.841 145.403L101.733 142.174L108.3 134.315L115.836 137.383V147.449C118.743 151.271 123.964 152.509 129.67 150.678C136.883 148.418 141.727 140.774 141.727 131.731V117.629L143.396 117.844C145.387 118.059 149.909 118.059 152.977 116.337L155.238 115.045Z","fill","white"]],template:function(i,o){1&i&&T(0,jme,13,0,":svg:svg",0)(1,$me,4,0)(2,Ume,4,0),2&i&&U(0,o.showText?0:o.inverse?1:2)},dependencies:[ne],styles:[".legacy-styles[_nghost-%COMP%]   .w-full[_ngcontent-%COMP%]{width:100%}.legacy-styles[_nghost-%COMP%]   .h-full[_ngcontent-%COMP%]{height:100%}.legacy-styles[_nghost-%COMP%]   .text-current[_ngcontent-%COMP%]{color:currentColor}.legacy-styles[_nghost-%COMP%]   .fill-white[_ngcontent-%COMP%]{fill:#fff}","[_nghost-%COMP%]{display:block}"]})}return t})(),Wme=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-success-heading"]],standalone:!0,features:[z],decls:11,vars:1,consts:[[1,"flex","relative","min-h-[40vh]"],[1,"bg-[#263DEA]","flex-1"],[1,"bg-[#5DB5E6]","flex-1"],[1,"bg-[#0DBB74]","flex-1"],[1,"bg-[#531D87]","flex-1"],[1,"bg-[#F0B0D7]","flex-1"],[1,"bg-[#F10200]","flex-1"],[1,"bg-[#F27405]","flex-1"],[1,"bg-[#F2CA03]","flex-1"],[1,"absolute","w-full","h-full","flex","justify-center","items-center","bg-gradient-to-t","from-white"],[1,"w-[20vh]",3,"showText"]],template:function(i,o){1&i&&(c(0,"section",0),x(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8),c(9,"div",9),x(10,"app-logo",10),d()()),2&i&&(b(10),k("showText",!1))},dependencies:[cm],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const kL="business-dashboard-cart";let DL=(()=>{class t{read(){const e=localStorage.getItem(kL);if(!e)return[];let i;try{i=JSON.parse(e)}catch(o){return console.error("error parsing cart from json",o),[]}return 1!==i.version?[]:i.items}write(e){const o=JSON.stringify({version:1,items:e});localStorage.setItem(kL,o)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gme=(()=>{class t{constructor(e){this.cartStorageService=e}ngOnInit(){this.cartStorageService.write([])}static#e=this.\u0275fac=function(i){return new(i||t)(v(DL))};static#t=this.\u0275cmp=O({type:t,selectors:[["business-card-purchase-batch-thankyou"]],standalone:!0,features:[z],decls:8,vars:0,consts:[[1,"text-center"],["colour","green",1,"mt-12"],[1,"text-lg","py-6","font-bold"],["button","cta","routerLink","/business/dashboard"]],template:function(i,o){1&i&&(x(0,"app-success-heading"),c(1,"section",0)(2,"app-page-heading",1),h(3," Thank you for gifting! "),d(),c(4,"h3",2),h(5," You're making a real difference. Well done! "),d(),c(6,"a",3),h(7," Gift again "),d()())},dependencies:[Wme,Sr,Dt,zt,Zt],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),dm=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-arrow-right-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),qme=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-envelope-path-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();const Yme=()=>({colour:"blue",class:"w-96 flex flex-col gap-4 justify-between"}),Zme=()=>({colour:"yellow",class:"w-96 flex flex-col gap-4 justify-between"});function Kme(t,n){if(1&t){const e=Ne();c(0,"div",1)(1,"div",2)(2,"app-page-heading",3),h(3,"Payment Method"),d(),c(4,"div",4)(5,"p",5),h(6," We realise that not everybody is comfortable paying large amounts online using credit/debit cards (or maybe you have an accounts team who won't let you). "),d(),c(7,"p",6),h(8," So, there are a couple of different "),c(9,"strong"),h(10,"payment options"),d(),h(11," available: "),d()()(),c(12,"div",7)(13,"div")(14,"div",8)(15,"div",9),h(16,"Bank Transfer"),d(),c(17,"div",10),h(18,"An invoice will be sent to you via email for payment. We will issue your cards as soon as the funds clear."),d()(),c(19,"div")(20,"button",11),V("click",function(){return re(e),se(S().sendInvoice())}),x(21,"app-envelope-path-icon"),h(22," Send Invoice "),d()()(),c(23,"div")(24,"div",8)(25,"div",9),h(26,"Online Payment"),d(),c(27,"div",10),h(28,"Make payment immediately via a secure online payment form. "),d()(),c(29,"div")(30,"button",12),ve(31,"async"),h(32," Pay Now "),x(33,"app-arrow-right-icon"),d()()()()()}if(2&t){const e=S();b(13),Ke(e.cardClass(Be(7,Yme))),b(10),Ke(e.cardClass(Be(8,Zme))),b(7),cr("routerLink","/business/payment/",Me(31,5,e.cardPurchaseBatchId$),"")}}const Qme={duration:3e3,horizontalPosition:"center",verticalPosition:"top"};let Xme=(()=>{class t{constructor(e,i,o,r,s){this.configService=e,this.route=i,this.http=o,this.snackBar=r,this.jwtService=s,this.cardClass=fL}ngOnInit(){this.cardPurchaseBatchId$=this.route.params.pipe(te(e=>e.id)),this.cardPurchaseBatch$=qt([this.jwtService.businessId$,this.cardPurchaseBatchId$]).pipe(X(([e,i])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${e}/card-batches/purchase/${i}`)),te(e=>e.value))}sendInvoice(){this.cardPurchaseBatch$=qt([this.jwtService.businessId$,this.cardPurchaseBatchId$]).pipe(X(([e,i])=>this.http.put(`${this.configService.config.baseApiUrl}/business/${e}/card-batches/purchase/${i}/invoice`,null)),te(e=>e.value)),this.snackBar.open("Invoice has been sent to your email address.",void 0,{...Qme})}static#e=this.\u0275fac=function(i){return new(i||t)(v(ii),v($i),v(Bt),v(jre),v(Zn))};static#t=this.\u0275cmp=O({type:t,selectors:[["business-card-purchase-batch"]],standalone:!0,features:[z],decls:2,vars:3,consts:[["class","max-w-7xl mx-auto px-4",4,"ngLet"],[1,"max-w-7xl","mx-auto","px-4"],[1,"mt-10"],[1,"pb-2"],[1,"text-center","max-w-3xl","my-6","mx-auto","text-lg"],[1,"pb-6"],[1,"pb-1"],[1,"flex","flex-col","md:flex-row","gap-6","justify-center","items-center","md:items-stretch"],[1,"flex-grow"],[1,"font-semibold","text-2xl","mb-3"],[1,""],["button","outline",1,"flex","gap-2","justify-center","items-center","w-full",3,"click"],["button","",1,"flex","gap-2","justify-center","items-center","w-full",3,"routerLink"]],template:function(i,o){1&i&&(T(0,Kme,34,9,"div",0),ve(1,"async")),2&i&&k("ngLet",Me(1,1,o.cardPurchaseBatch$))},dependencies:[dm,Sr,qme,Ii,Ln,Dt,zt,ne,Vi,Zt],encapsulation:2})}return t})();function SL(t){if(!t)return;const n=new Date(t);return`${n.getFullYear()}
1-${String(n.getMonth()+1).padStart(2,"0")}-${String(n.getDate()).padStart(2,"0")}`}function G_(t,n){return t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()==n.getFullYear()}let Jme=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-bell-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"size-6"],["fill-rule","evenodd","d","M5.25 9a6.75 6.75 0 0 1 13.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 1 1-7.48 0 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d())},encapsulation:2})}return t})();function epe(t,n){if(1&t&&(c(0,"h4",4),h(1),ve(2,"date"),d()),2&t){const e=S(2);b(1),pe(Me(2,1,e.date))}}function tpe(t,n){if(1&t&&(c(0,"div",5)(1,"h3",6),h(2,"Notifications"),d(),c(3,"h4",7),h(4),ve(5,"date"),d()()),2&t){const e=S(2);b(4),pe(Me(5,1,e.date))}}const ipe=(t,n,e)=>({"bg-easy-green-super-muted hover:bg-easy-green-muted":t,"bg-winnie-blue-super-muted hover:bg-winnie-blue-muted":n,"bg-bee-yellow-super-muted hover:bg-bee-yellow-muted":e});function npe(t,n){if(1&t){const e=Ne();c(0,"div",8),x(1,"app-bell-icon-solid"),c(2,"div",9)(3,"div",10),h(4),d(),c(5,"div"),h(6),d()(),c(7,"div")(8,"button",11),V("click",function(){const r=re(e).$implicit;return se(S(2).handleAdd(r))}),h(9,"Add"),d()()()}if(2&t){const e=n.$implicit;k("ngClass",wf(4,ipe,"Birthday"===e.type,"WorkAnniversary"===e.type,"Other"===e.type)),b(4),dr("",e.recipient.firstName," ",e.recipient.lastName,""),b(2),pe(e.name)}}function ope(t,n){if(1&t&&(T(0,epe,3,3,"h4",2)(1,tpe,6,3),c(2,"div",3),ft(3,npe,10,8,"div",12,ci),d()),2&t){const e=S();U(0,"sm"===e.size?0:1),b(3),gt(e.items)}}function rpe(t,n){1&t&&h(0," today ")}const spe=t=>({"lg:text-2xl":t});function ape(t,n){if(1&t&&($e(),c(0,"svg",13),x(1,"path",14)(2,"path",15)(3,"path",16)(4,"path",17)(5,"path",18)(6,"path",19)(7,"path",20)(8,"path",21),d(),tr(),c(9,"h3",22),h(10," No notifications "),T(11,rpe,1,0),d(),c(12,"p",23),h(13,"Gifting occasions such as employee birthdays will show up here"),d()),2&t){const e=S();b(9),k("ngClass",di(2,spe,"lg"===e.size)),b(2),U(11,"lg"===e.size?11:-1)}}const lpe=(t,n,e)=>({border:t,"p-10 gap-4 bg-winnie-blue-super-muted":n,"min-h-[300px]":e});let EL=(()=>{class t{constructor(){this.date=new Date,this.purchase=new E}handleAdd(e){this.purchase.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-notifications"]],inputs:{size:"size",items:"items",date:"date"},outputs:{purchase:"purchase"},standalone:!0,features:[z],decls:3,vars:6,consts:[[1,"flex","flex-col","items-center","w-full","min-w-[20rem]","h-full","rounded-xl",3,"ngClass"],["class","flex flex-col gap-2 w-full flex-grow px-4 pb-4 overflow-y-auto"],["class","font-semibold text-lg p-4"],[1,"flex","flex-col","gap-2","w-full","flex-grow","px-4","pb-4","overflow-y-auto"],[1,"font-semibold","text-lg","p-4"],[1,"flex","gap-2","w-full","mb-2","justify-start","p-4"],[1,"font-bold","text-2xl"],[1,"font-bold","text-2xl","text-neutral-500"],[1,"flex","gap-4","items-center","w-full","px-4","py-1.5","rounded-2xl",3,"ngClass"],[1,"flex","flex-col","gap-0.5","flex-grow","text-sm"],[1,"font-semibold"],["button","ghost","size","sm",3,"click"],["class","flex gap-4 items-center w-full px-4 py-1.5 rounded-2xl",3,"ngClass"],["viewBox","0 0 134 118","fill","none","xmlns","http://www.w3.org/2000/svg",1,"max-w-24"],["d","M76.0014 117.883C107.515 117.883 133.061 92.3361 133.061 60.8227C133.061 29.3093 107.515 3.7627 76.0014 3.7627C44.488 3.7627 18.9414 29.3093 18.9414 60.8227C18.9414 92.3361 44.488 117.883 76.0014 117.883Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M117.032 41.6428C117.032 41.4928 117.032 41.3328 117.012 41.1828C116.992 40.9628 116.952 40.7428 116.912 40.5328C116.892 40.4228 116.882 40.3028 116.862 40.1828C116.802 39.9028 116.732 39.6328 116.652 39.3628C116.642 39.3128 116.632 39.2628 116.612 39.2128C115.632 36.0528 113.142 33.5628 109.982 32.5828C109.932 32.5728 109.882 32.5628 109.832 32.5428C109.562 32.4628 109.292 32.3928 109.012 32.3328C108.902 32.3
1128 108.782 32.3028 108.662 32.2828C108.442 32.2428 108.232 32.2028 108.012 32.1828C107.862 32.1628 107.712 32.1728 107.552 32.1628C107.362 32.1528 107.172 32.1328 106.982 32.1328H46.4919C41.3119 32.1328 37.0519 36.0528 36.4819 41.0828C36.4819 41.0928 36.4819 41.1128 36.4819 41.1228C36.4419 41.4628 36.4219 41.8128 36.4219 42.1628C36.4219 42.1828 36.4219 42.1928 36.4219 42.2128V82.5428C36.4219 82.7428 36.4419 82.9328 36.4519 83.1228C36.4519 83.2728 36.4519 83.4328 36.4719 83.5828C36.4919 83.8028 36.5319 84.0228 36.5719 84.2328C36.5919 84.3428 36.6019 84.4628 36.6219 84.5828C36.6819 84.8628 36.7519 85.1328 36.8319 85.4028C36.8419 85.4528 36.8519 85.5028 36.8719 85.5528C37.8519 88.7128 40.3419 91.2028 43.5019 92.1828C43.5519 92.1928 43.6019 92.2028 43.6519 92.2228C43.9219 92.3028 44.1919 92.3728 44.4719 92.4328C44.5819 92.4528 44.7019 92.4628 44.8219 92.4828C45.0419 92.5228 45.2519 92.5628 45.4719 92.5828C45.6219 92.6028 45.7719 92.5928 45.9319 92.6028C46.1219 92.6128 46.3119 92.6328 46.5019 92.6328H107.002C112.182 92.6328 116.442 88.7128 117.012 83.6828C117.012 83.6728 117.012 83.6528 117.012 83.6428C117.052 83.3028 117.072 82.9528 117.072 82.6028C117.072 82.5828 117.072 82.5728 117.072 82.5528V42.2228C117.072 42.0228 117.052 41.8328 117.042 41.6428H117.032Z","fill","#5DB5E6"],["fill-rule","evenodd","clip-rule","evenodd","d","M117.062 42.7227L76.7421 62.8827L36.4121 42.7227V51.8027L74.9221 71.0627C76.0621 71.6327 77.4121 71.6327 78.5521 71.0627L117.062 51.8027V42.7227Z","fill","#2B8ABF"],["d","M35.4002 49.7027C46.1642 49.7027 54.8902 40.9767 54.8902 30.2127C54.8902 19.4486 46.1642 10.7227 35.4002 10.7227C24.6361 10.7227 15.9102 19.4486 15.9102 30.2127C15.9102 40.9767 24.6361 49.7027 35.4002 49.7027Z","fill","#F2763D"],["d","M42.9803 30.4522C42.9803 36.4622 40.5603 40.5922 35.5903 40.5922C30.6203 40.5922 28.3503 36.0722 28.3203 30.5722C28.3203 24.9422 30.7103 20.4922 35.7403 20.4922C40.7703 20.4922 42.9803 25.1322 42.9803 30.4522ZM32.9003 30.5722C32.8703 35.0322 33.9503 37.1522 35.7103 37.1522C37.4703 37.1522 38.4303 34.9422 38.4303 30.5122C38.4303 26.0822 37.5003 23.9322 35.6803 23.9322C34.0003 23.9322 32.8703 26.0522 32.9003 30.5722Z","fill","white"],["d","M1.67969 17.9229L12.0397 20.5529","stroke","#F2763D","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M5.36914 3.87305L15.7291 13.883","stroke","#F2763D","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M19.9492 0.882812L23.1092 9.31281","stroke","#F2763D","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],[1,"font-black","text-xl","text-center",3,"ngClass"],[1,"font-semibold","text-center"]],template:function(i,o){1&i&&(c(0,"div",0),T(1,ope,5,1,"div",1)(2,ape,14,4),d()),2&i&&(k("ngClass",wf(2,lpe,o.items.length,!o.items.length,"sm"===o.size)),b(1),U(1,o.items.length?1:2))},dependencies:[ne,Ti,pr,Zt,Jme],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const cpe=["*"];let dpe=(()=>{class t{get bgColourClass(){switch(this.colour){case"blue":return"bg-winnie-blue-muted";case"yellow":return"bg-bee-yellow-muted";case"green":return"bg-easy-green-muted"}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-cta-card"]],inputs:{colour:"colour",bgImageClass:"bgImageClass"},standalone:!0,features:[z],ngContentSelectors:cpe,decls:4,vars:6,consts:[[1,"h-full","flex","flex-col","rounded-xl","overflow-hidden","md:flex-row"]],template:function(i,o){1&i&&(it(),c(0,"div",0)(1,"div"),ge(2),d(),x(3,"div"),d()),2&i&&(b(1),Iu("md:w-2/3 ",o.bgColourClass,""),b(2),Iu("md:w-1/3 ",o.bgImageClass," bg-cover bg-no-repeat bg-right-top"))},styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function Dd(t){return t+.5|0}const gs=(t,n,e)=>Math.max(Math.min(t,e),n);function um(t){return gs(Dd(2.55*t),0,255)}function ca(t){return gs(Dd(255*t),0,255)}function _s(t){return gs(Dd(t/2.55)/100,0,1)}function TL(t){return gs(Dd(100*t),0,100)}const Mo={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},GC=[..."0123456789ABCDEF"],upe=t=>GC[15&t],hpe=t=>GC[(240&t)>>4]+GC[15&t],q_=t=>(240&t)>>4==(15&t);const _pe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function IL(t,n,e){const i=n*Math.min(e,1-e),o=(r,s=(r+t/30)%12)=>e-i*Math.max(Math.min(s-3,9-s,1),-1);return[o(0),o(8),o(4)]}function bpe(t,n,e){const i=(o,r=(o+t/60)%6)=>e-e*n*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function vpe(t,n,e){const i=IL(t,1,.5);let o;for(n+e>1&&(o=1/(n+e),n*=o,e*=o),o=0;o<3;o++)i[o]*=1-n-e,i[o]+=n;return i}function qC(t){const e=t.r/255,i=t.g/255,o=t.b/255,r=Math.max(e,i,o),s=Math.min(e,i,o),a=(r+s)/2;let l,u,m;return r!==s&&(m=r-s,u=a>.5?m/(2-r-s):m/(r+s),l=function ype(t,n,e,i,o){return t===o?(n-e)/i+(n<e?6:0):n===o?(e-t)/i+2:(t-n)/i+4}(e,i,o,m,r),l=60*l+.5),[0|l,u||0,a]}function YC(t,n,e,i){return(Array.isArray(n)?t(n[0],n[1],n[2]):t(n,e,i)).map(ca)}function ZC(t,n,e){return YC(IL,t,n,e)}function AL(t){return(t%360+360)%360}const PL={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},OL={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",K
1ocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Y_;const Epe=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,KC=t=>
1t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Sd=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Z_(t,n,e){if(t){let i=qC(t);i[n]=Math.max(0,Math.min(i[n]+i[n]*e,0===n?360:1)),i=ZC(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function RL(t,n){return t&&Object.assign(n||{},t)}function FL(t){var n={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(n={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(n.a=ca(t[3]))):(n=RL(t,{r:0,g:0,b:0,a:1})).a=ca(n.a),n}function Ppe(t){return"r"===t.charAt(0)?function Tpe(t){const n=Epe.exec(t);let i,o,r,e=255;if(n){if(n[7]!==i){const s=+n[7];e=n[8]?um(s):gs(255*s,0,255)}return i=+n[1],o=+n[3],r=+n[5],i=255&(n[2]?um(i):gs(i,0,255)),o=255&(n[4]?um(o):gs(o,0,255)),r=255&(n[6]?um(r):gs(r,0,255)),{r:i,g:o,b:r,a:e}}}(t):function Cpe(t){const n=_pe.exec(t);let i,e=255;if(!n)return;n[5]!==i&&(e=n[6]?um(+n[5]):ca(+n[5]));const o=AL(+n[2]),r=+n[3]/100,s=+n[4]/100;return i="hwb"===n[1]?function wpe(t,n,e){return YC(vpe,t,n,e)}(o,r,s):"hsv"===n[1]?function xpe(t,n,e){return YC(bpe,t,n,e)}(o,r,s):ZC(o,r,s),{r:i[0],g:i[1],b:i[2],a:e}}(t)}class Ed{constructor(n){if(n instanceof Ed)return n;const e=typeof n;let i;"object"===e?i=FL(n):"string"===e&&(i=function ppe(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Mo[t[1]],g:255&17*Mo[t[2]],b:255&17*Mo[t[3]],a:5===n?17*Mo[t[4]]:255}:(7===n||9===n)&&(e={r:Mo[t[1]]<<4|Mo[t[2]],g:Mo[t[3]]<<4|Mo[t[4]],b:Mo[t[5]]<<4|Mo[t[6]],a:9===n?Mo[t[7]]<<4|Mo[t[8]]:255})),e}(n)||function Spe(t){Y_||(Y_=function Dpe(){const t={},n=Object.keys(OL),e=Object.keys(PL);let i,o,r,s,a;for(i=0;i<n.length;i++){for(s=a=n[i],o=0;o<e.length;o++)r=e[o],a=a.replace(r,PL[r]);r=parseInt(OL[s],16),t[a]=[r>>16&255,r>>8&255,255&r]}return t}(),Y_.transparent=[0,0,0,0]);const n=Y_[t.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:4===n.length?n[3]:255}}(n)||Ppe(n)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var n=RL(this._rgb);return n&&(n.a=_s(n.a)),n}set rgb(n){this._rgb=FL(n)}rgbString(){return this._valid?function Ipe(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${_s(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}(this._rgb):void 0}hexString(){return this._valid?function gpe(t){var n=(t=>q_(t.r)&&q_(t.g)&&q_(t.b)&&q_(t.a))(t)?upe:hpe;return t?"#"+n(t.r)+n(t.g)+n(t.b)+((t,n)=>t<255?n(t):"")(t.a,n):void 0}(this._rgb):void 0}hslString(){return this._valid?function Mpe(t){if(!t)return;const n=qC(t),e=n[0],i=TL(n[1]),o=TL(n[2]);return t.a<255?`hsla(${e}, ${i}%, ${o}%, ${_s(t.a)})`:`hsl(${e}, ${i}%, ${o}%)`}(this._rgb):void 0}mix(n,e){if(n){const i=this.rgb,o=n.rgb;let r;const s=e===r?.5:e,a=2*s-1,l=i.a-o.a,u=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;r=1-u,i.r=255&u*i.r+r*o.r+.5,i.g=255&u*i.g+r*o.g+.5,i.b=255&u*i.b+r*o.b+.5,i.a=s*i.a+(1-s)*o.a,this.rgb=i}return this}interpolate(n,e){return n&&(this._rgb=function Ape(t,n,e){const i=Sd(_s(t.r)),o=Sd(_s(t.g)),r=Sd(_s(t.b));return{r:ca(KC(i+e*(Sd(_s(n.r))-i))),g:ca(KC(o+e*(Sd(_s(n.g))-o))),b:ca(KC(r+e*(Sd(_s(n.b))-r))),a:t.a+e*(n.a-t.a)}}(this._rgb,n._rgb,e)),this}clone(){return new Ed(this.rgb)}alpha(n){return this._rgb.a=ca(n),this}clearer(n){return this._rgb.a*=1-n,this}greyscale(){const n=this._rgb,e=Dd(.3*n.r+.59*n.g+.11*n.b);return n.r=n.g=n.b=e,this}opaquer(n){return this._rgb.a*=1+n,this}negate(){const n=this._rgb;return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,this}lighten(n){return Z_(this._rgb,2,n),this}darken(n){return Z_(this._rgb,2,-n),this}saturate(n){return Z_(this._rgb,1,n),this}desaturate(n){return Z_(this._rgb,1,-n),this}rotate(n){return function kpe(t,n){var e=qC(t);e[0]=AL(e[0]+n),e=ZC(e),t.r=e[0],t.g=e[1],t.b=e[2]}(this._rgb,n),this}}function bs(){}const Ope=(()=>{let t=0;return()=>t++})();function Ct(t){return null===t||typeof t>"u"}function oi(t){if(Array.isArray&&Array.isArray(t))return!0;const n=Object.prototype.toString.call(t);return"[object"===n.slice(0,7)&&"Array]"===n.slice(-6)}function _t(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function Ci(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function fo(t,n){return Ci(t)?t:n}function rt(t,n){return typeof t>"u"?n:t}const LL=(t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*n:+t;function Kt(t,n,e){if(t&&"function"==typeof t.call)return t.apply(e,n)}function Ft(t,n,e,i){let o,r,s;if(oi(t))if(r=t.length,i)for(o=r-1;o>=0;o--)n.call(e,t[o],o);else for(o=0;o<r;o++)n.call(e,t[o],o);else if(_t(t))for(s=Object.keys(t),r=s.length,o=0;o<r;o++)n.call(e,t[s[o]],s[o])}function K_(t,n){let e,i,o,r;if(!t||!n||t.length!==n.length)return!1;for(e=0,i=t.length;e<i;++e)if(o=t[e],r=n[e],o.datasetIndex!==r.datasetIndex||o.index!==r.index)return!1;return!0}function Q_(t){if(oi(t))return t.map(Q_);if(_t(t)){const n=Object.create(null),e=Object.keys(t),i=e.length;let o=0;for(;o<i;++o)n[e[o]]=Q_(t[e[o]]);return n}return t}function NL(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function Fpe(t,n,e,i){if(!NL(t))return;const o=n[t],r=e[t];_t(o)&&_t(r)?hm(o,r,i):n[t]=Q_(r)}function hm(t,n,e){const i=oi(n)?n:[n],o=i.length;if(!_t(t))return t;const r=(e=e||{}).merger||Fpe;let s;for(let a=0;a<o;++a){if(s=i[a],!_t(s))continue;const l=Object.keys(s);for(let u=0,m=l.length;u<m;++u)r(l[u],t,s,e)}return t}function mm(t,n){return hm(t,n,{merger:Lpe})}function Lpe(t,n,e){if(!NL(t))return;const i=n[t],o=e[t];_t(i)&&_t(o)?mm(i,o):Object.prototype.hasOwnProperty.call(n,t)||(n[t]=Q_(o))}const BL={"":t=>t,x:t=>t.x,y:t=>t.y};function da(t,n){return(BL[n]||(BL[n]=function Bpe(t){const n=function Npe(t){const n=t.split("."),e=[];let i="";for(const o of n)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}(t);return e=>{for(const i of n){if(""===i)break;e=e&&e[i]}return e}}(n)))(t)}function QC(t){return t.charAt(0).toUpperCase()+t.slice(1)}const pm=t=>typeof t<"u",ua=t=>"function"==typeof t,VL=(t,n)=>{if(t.size!==n.size)return!1;for(const e of t)if(!n.has(e))return!1;return!0},ri=Math.PI,si=2*ri,zpe=si+ri,X_=Number.POSITIVE_INFINITY,Hpe=ri/180,Pi=ri/2,wl=ri/4,zL=2*ri/3,ha=Math.log10,Er=Math.sign;function fm(t,n,e){return Math.abs(t-n)<e}function HL(t){const n=Math.round(t);t=fm(t,n,t/1e3)?n:t;const e=Math.pow(10,Math.floor(ha(t))),i=t/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function Td(t){return!isNaN(parseFloat(t))&&isFinite(t)}
vendor: 4,335 bytes, line 1
1function jL(t,n,e){let i,o,r;for(i=0,o=t.length;i<o;i++)r=t[i][e],isNaN(r)||(n.min=Math.min(n.min,r),n.max=Math.max(n.max,r))}function qo(t){return t*(ri/180)}function XC(t){return t*(180/ri)}function $L(t){if(!Ci(t))return;let n=1,e=0;for(;Math.round(t*n)/n!==t;)n*=10,e++;return e}function UL(t,n){const e=n.x-t.x,i=n.y-t.y,o=Math.sqrt(e*e+i*i);let r=Math.atan2(i,e);return r<-.5*ri&&(r+=si),{angle:r,distance:o}}function JC(t,n){return Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2))}function Upe(t,n){return(t-n+zpe)%si-ri}function go(t){return(t%si+si)%si}function gm(t,n,e,i){const o=go(t),r=go(n),s=go(e),a=go(r-o),l=go(s-o),u=go(o-r),m=go(o-s);return o===r||o===s||i&&r===s||a>l&&u<m}function sn(t,n,e){return Math.max(n,Math.min(e,t))}function vs(t,n,e,i=1e-6){return t>=Math.min(n,e)-i&&t<=Math.max(n,e)+i}function e2(t,n,e){e=e||(s=>t[s]<n);let r,i=t.length-1,o=0;for(;i-o>1;)r=o+i>>1,e(r)?o=r:i=r;return{lo:o,hi:i}}const ys=(t,n,e,i)=>e2(t,e,i?o=>{const r=t[o][n];return r<e||r===e&&t[o+1][n]===e}:o=>t[o][n]<e),Gpe=(t,n,e)=>e2(t,e,i=>t[i][n]>=e),WL=["push","pop","shift","splice","unshift"];function GL(t,n){const e=t._chartjs;if(!e)return;const i=e.listeners,o=i.indexOf(n);-1!==o&&i.splice(o,1),!(i.length>0)&&(WL.forEach(r=>{delete t[r]}),delete t._chartjs)}function qL(t){const n=new Set(t);return n.size===t.length?t:Array.from(n)}const YL=typeof window>"u"?function(t){return t()}:window.requestAnimationFrame;function ZL(t,n){let e=[],i=!1;return function(...o){e=o,i||(i=!0,YL.call(window,()=>{i=!1,t.apply(n,e)}))}}const t2=t=>"start"===t?"left":"end"===t?"right":"center",wn=(t,n,e)=>"start"===t?n:"end"===t?e:(n+e)/2;function KL(t,n,e){const i=n.length;let o=0,r=i;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:u,max:m,minDefined:p,maxDefined:f}=s.getUserBounds();p&&(o=sn(Math.min(ys(a,l,u).lo,e?i:ys(n,l,s.getPixelForValue(u)).lo),0,i-1)),r=f?sn(Math.max(ys(a,s.axis,m,!0).hi+1,e?0:ys(n,l,s.getPixelForValue(m),!0).hi+1),o,i)-o:i-o}return{start:o,count:r}}function QL(t){const{xScale:n,yScale:e,_scaleRanges:i}=t,o={xmin:n.min,xmax:n.max,ymin:e.min,ymax:e.max};if(!i)return t._scaleRanges=o,!0;const r=i.xmin!==n.min||i.xmax!==n.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,o),r}const J_=t=>0===t||1===t,XL=(t,n,e)=>-Math.pow(2,10*(t-=1))*Math.sin((t-n)*si/e),JL=(t,n,e)=>Math.pow(2,-10*t)*Math.sin((t-n)*si/e)+1,_m={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Pi),easeOutSine:t=>Math.sin(t*Pi),easeInOutSine:t=>-.5*(Math.cos(ri*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>J_(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>J_(t)?t:XL(t,.075,.3),easeOutElastic:t=>J_(t)?t:JL(t,.075,.3),easeInOutElastic:t=>J_(t)?t:t<.5?.5*XL(2*t,.1125,.45):.5+.5*JL(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let n=1.70158;return(t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},easeInBounce:t=>1-_m.easeOutBounce(1-t),easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInOutBounce:t=>t<.5?.5*_m.easeInBounce(2*t):.5*_m.easeOutBounce(2*t-1)+.5};function n2(t){if(t&&"object"==typeof t){const n=t.toString();return"[object CanvasPattern]"===n||"[object CanvasGradient]"===n}return!1}function e6(t){return n2(t)?t:new Ed(t)}function o2(t){return n2(t)?t:new Ed(t).saturate(.5).darken(.1).hexString()}const Qpe=["x","y","borderWidth","radius","tension"],Xpe=["color","borderColor","backgroundColor"],t6=new Map;function bm(t,n,e){return function tfe(t,n){n=n||{};const e=t+JSON.stringify(n);let i=t6.get(e);
vendor: 1,939 bytes, line 1
1return i||(i=new Intl.NumberFormat(t,n),t6.set(e,i)),i}(n,e).format(t)}const n6={values:t=>oi(t)?t:""+t,numeric(t,n,e){if(0===t)return"0";const i=this.chart.options.locale;let o,r=t;if(e.length>1){const u=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(u<1e-4||u>1e15)&&(o="scientific"),r=function ife(t,n){let e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value;return Math.abs(e)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t,e)}const s=ha(Math.abs(r)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),bm(t,i,l)},logarithmic(t,n,e){if(0===t)return"0";const i=e[n].significand||t/Math.pow(10,Math.floor(ha(t)));return[1,2,3,5,10,15].includes(i)||n>.8*e.length?n6.numeric.call(this,t,n,e):""}};var eb={formatters:n6};const xl=Object.create(null),r2=Object.create(null);function vm(t,n){if(!n)return t;const e=n.split(".");for(let i=0,o=e.length;i<o;++i){const r=e[i];t=t[r]||(t[r]=Object.create(null))}return t}function s2(t,n,e){return"string"==typeof n?hm(vm(t,n),e):hm(vm(t,""),n)}class ofe{constructor(n,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,o)=>o2(o.backgroundColor),this.hoverBorderColor=(i,o)=>o2(o.borderColor),this.hoverColor=(i,o)=>o2(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 4,277 bytes, line 1
1,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(n),this.apply(e)}set(n,e){return s2(this,n,e)}get(n){return vm(this,n)}describe(n,e){return s2(r2,n,e)}override(n,e){return s2(xl,n,e)}route(n,e,i,o){const r=vm(this,n),s=vm(this,i),a="_"+e;Object.defineProperties(r,{[a]:{value:r[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],u=s[o];return _t(l)?Object.assign({},u,l):rt(l,u)},set(l){this[a]=l}}})}apply(n){n.forEach(e=>e(this))}}var ki=new ofe({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Jpe(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:n=>"onProgress"!==n&&"onComplete"!==n&&"fn"!==n}),t.set("animations",{colors:{type:"color",properties:Xpe},numbers:{type:"number",properties:Qpe}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:n=>0|n}}}})},function efe(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function nfe(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(n,e)=>e.lineWidth,tickColor:(n,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:eb.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&"callback"!==n&&"parser"!==n,_indexable:n=>"borderDash"!==n&&"tickBorderDash"!==n&&"dash"!==n}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:n=>"backdropPadding"!==n&&"callback"!==n,_indexable:n=>"backdropPadding"!==n})}]);function tb(t,n,e,i,o){let r=n[o];return r||(r=n[o]=t.measureText(o).width,e.push(o)),r>i&&(i=r),i}function sfe(t,n,e,i){let o=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==n&&(o=i.data={},r=i.garbageCollect=[],i.font=n),t.save(),t.font=n;let s=0;const a=e.length;let l,u,m,p,f;for(l=0;l<a;l++)if(p=e[l],null==p||oi(p)){if(oi(p))for(u=0,m=p.length;u<m;u++)f=p[u],null!=f&&!oi(f)&&(s=tb(t,o,r,s,f))}else s=tb(t,o,r,s,p);t.restore();const _=r.length/2;if(_>e.length){for(l=0;l<_;l++)delete o[r[l]];r.splice(0,_)}return s}function Cl(t,n,e){const i=t.currentDevicePixelRatio,o=0!==e?Math.max(e/2,.5):0;return Math.round((n-o)*i)/i+o}function o6(t,n){!n&&!t||((n=n||t.getContext("2d")).save(),n.resetTransform(),n.clearRect(0,0,t.width,t.height),n.restore())}function a2(t,n,e,i){r6(t,n,e,i,null)}function r6(t,n,e,i,o){let r,s,a,l,u,m,p,f;const _=n.pointStyle,y=n.rotation,w=n.radius;let C=(y||0)*Hpe;if(_&&"object"==typeof _&&(r=_.toString(),"[object HTMLImageElement]"===r||"[object HTMLCanvasElement]"===r))return t.save(),t.translate(e,i),t.rotate(C),t.drawImage(_,-_.width/2,-_.height/2,_.width,_.height),void t.restore();if(!(isNaN(w)||w<=0)){switch(t.beginPath(),_){default:o?t.ellipse(e,i,o/2,w,0,0,si):t.arc(e,i,w,0,si),t.closePath();break;case"triangle":m=o?o/2:w,t.moveTo(e+Math.sin(C)*m,i-Math.cos(C)*w),C+=zL,t.lineTo(e+Math.sin(C)*m,i-Math.cos(C)*w),C+=zL,t.lineTo(e+Math.sin(C)*m,i-Math.cos(C)*w),t.closePath();break;case"rectRounded":u=.516*w,l=w-u,s=Math.cos(C+wl)*l,p=Math.cos(C+wl)*(o?o/2-u:l),a=Math.sin(C+wl)*l,f=Math.sin(C+wl)*(o?o/2-u:l),t.arc(e-p,i-a,u,C-ri,C-Pi),t.arc(e+f,i-s,u,C-Pi,C),t.arc(e+p,i+a,u,C,C+Pi),t.arc(e-f,i+s,u,C+Pi,C+ri),t.closePath();break;
vendor: 4,540 bytes, line 1
1case"rect":if(!y){l=Math.SQRT1_2*w,m=o?o/2:l,t.rect(e-m,i-l,2*m,2*l);break}C+=wl;case"rectRot":p=Math.cos(C)*(o?o/2:w),s=Math.cos(C)*w,a=Math.sin(C)*w,f=Math.sin(C)*(o?o/2:w),t.moveTo(e-p,i-a),t.lineTo(e+f,i-s),t.lineTo(e+p,i+a),t.lineTo(e-f,i+s),t.closePath();break;case"crossRot":C+=wl;case"cross":p=Math.cos(C)*(o?o/2:w),s=Math.cos(C)*w,a=Math.sin(C)*w,f=Math.sin(C)*(o?o/2:w),t.moveTo(e-p,i-a),t.lineTo(e+p,i+a),t.moveTo(e+f,i-s),t.lineTo(e-f,i+s);break;case"star":p=Math.cos(C)*(o?o/2:w),s=Math.cos(C)*w,a=Math.sin(C)*w,f=Math.sin(C)*(o?o/2:w),t.moveTo(e-p,i-a),t.lineTo(e+p,i+a),t.moveTo(e+f,i-s),t.lineTo(e-f,i+s),C+=wl,p=Math.cos(C)*(o?o/2:w),s=Math.cos(C)*w,a=Math.sin(C)*w,f=Math.sin(C)*(o?o/2:w),t.moveTo(e-p,i-a),t.lineTo(e+p,i+a),t.moveTo(e+f,i-s),t.lineTo(e-f,i+s);break;case"line":s=o?o/2:Math.cos(C)*w,a=Math.sin(C)*w,t.moveTo(e-s,i-a),t.lineTo(e+s,i+a);break;case"dash":t.moveTo(e,i),t.lineTo(e+Math.cos(C)*(o?o/2:w),i+Math.sin(C)*w);break;case!1:t.closePath()}t.fill(),n.borderWidth>0&&t.stroke()}}function ws(t,n,e){return e=e||.5,!n||t&&t.x>n.left-e&&t.x<n.right+e&&t.y>n.top-e&&t.y<n.bottom+e}function ib(t,n){t.save(),t.beginPath(),t.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),t.clip()}function nb(t){t.restore()}function afe(t,n,e,i,o){if(!n)return t.lineTo(e.x,e.y);if("middle"===o){const r=(n.x+e.x)/2;t.lineTo(r,n.y),t.lineTo(r,e.y)}else"after"===o!=!!i?t.lineTo(n.x,e.y):t.lineTo(e.x,n.y);t.lineTo(e.x,e.y)}function lfe(t,n,e,i){if(!n)return t.lineTo(e.x,e.y);t.bezierCurveTo(i?n.cp1x:n.cp2x,i?n.cp1y:n.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function dfe(t,n,e,i,o){if(o.strikethrough||o.underline){const r=t.measureText(i),s=n-r.actualBoundingBoxLeft,a=n+r.actualBoundingBoxRight,u=e+r.actualBoundingBoxDescent,m=o.strikethrough?(e-r.actualBoundingBoxAscent+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(s,m),t.lineTo(a,m),t.stroke()}}function ufe(t,n){const e=t.fillStyle;t.fillStyle=n.color,t.fillRect(n.left,n.top,n.width,n.height),t.fillStyle=e}function kl(t,n,e,i,o,r={}){const s=oi(n)?n:[n],a=r.strokeWidth>0&&""!==r.strokeColor;let l,u;for(t.save(),t.font=o.string,function cfe(t,n){n.translation&&t.translate(n.translation[0],n.translation[1]),Ct(n.rotation)||t.rotate(n.rotation),n.color&&(t.fillStyle=n.color),n.textAlign&&(t.textAlign=n.textAlign),n.textBaseline&&(t.textBaseline=n.textBaseline)}(t,r),l=0;l<s.length;++l)u=s[l],r.backdrop&&ufe(t,r.backdrop),a&&(r.strokeColor&&(t.strokeStyle=r.strokeColor),Ct(r.strokeWidth)||(t.lineWidth=r.strokeWidth),t.strokeText(u,e,i,r.maxWidth)),t.fillText(u,e,i,r.maxWidth),dfe(t,e,i,u,r),i+=Number(o.lineHeight);t.restore()}function ym(t,n){const{x:e,y:i,w:o,h:r,radius:s}=n;t.arc(e+s.topLeft,i+s.topLeft,s.topLeft,1.5*ri,ri,!0),t.lineTo(e,i+r-s.bottomLeft),t.arc(e+s.bottomLeft,i+r-s.bottomLeft,s.bottomLeft,ri,Pi,!0),t.lineTo(e+o-s.bottomRight,i+r),t.arc(e+o-s.bottomRight,i+r-s.bottomRight,s.bottomRight,Pi,0,!0),t.lineTo(e+o,i+s.topRight),t.arc(e+o-s.topRight,i+s.topRight,s.topRight,0,-Pi,!0),t.lineTo(e+s.topLeft,i)}const hfe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,mfe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function pfe(t,n){const e=(""+t).match(hfe);if(!e||"normal"===e[1])return 1.2*n;switch(t=+e[2],e[3]){case"px":return t;case"%":t/=100}return n*t}const ffe=t=>+t||0;function l2(t,n){const e={},i=_t(n),o=i?Object.keys(n):n,r=_t(t)?i?s=>rt(t[s],t[n[s]]):s=>t[s]:()=>t;for(const s of o)e[s]=ffe(r(s));return e}function s6(t){return l2(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ml(t){return l2(t,["topLeft","topRight","bottomLeft","bottomRight"])}function xn(t){const n=s6(t);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function Ji(t,n){let e=rt((t=t||{}).size,(n=n||ki.font).size);"string"==typeof e&&(e=parseInt(e,10));let i=rt(t.style,n.style);i&&!(""+i).match(mfe)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:rt(t.family,n.family),lineHeight:pfe(rt(t.lineHeight,n.lineHeight),e),size:e,style:i,weight:rt(t.weight,n.weight),string:""};return o.string=function rfe(t){return!t||Ct(t.size)||Ct(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function wm(t,n,e,i){let r,s,a,o=!0;for(r=0,s=t.length;r<s;++r)if(a=t[r],void 0!==a&&(void 0!==n&&"function"==typeof a&&(a=a(n),o=!1),void 0!==e&&oi(a)&&(a=a[e%a.length],o=!1),void 0!==a))return i&&!o&&(i.cacheable=!1),a}function ma(t,n){return Object.assign(Object.create(t),n)}function c2(t,n=[""],e,i,o=(()=>
1t[0])){const r=e||t;typeof i>"u"&&(i=u6("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:r,_fallback:i,_getTarget:o,override:a=>c2([a,...t],n,r,i)};return new Proxy(s,{deleteProperty:(a,l)=>(delete a[l],delete a._keys,delete t[0][l],!0),get:(a,l)=>l6(a,l,()=>function kfe(t,n,e,i){let o;for(const r of n)if(o=u6(_fe(r,t),e),typeof o<"u")return d2(t,o)?u2(e,i,t,o):o}(l,n,t,a)),getOwnPropertyDescriptor:(a,l)=>Reflect.getOwnPropertyDescriptor(a._scopes[0],l),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(a,l)=>h6(a).includes(l),ownKeys:a=>h6(a),set(a,l,u){const m=a._storage||(a._storage=o());return a[l]=m[l]=u,delete a._keys,!0}})}function Id(t,n,e,i){const o={_cacheable:!1,_proxy:t,_context:n,_subProxy:e,_stack:new Set,_descriptors:a6(t,i),setContext:r=>Id(t,r,e,i),override:r=>Id(t.override(r),n,e,i)};return new Proxy(o,{deleteProperty:(r,s)=>(delete r[s],delete t[s],!0),get:(r,s,a)=>l6(r,s,()=>function bfe(t,n,e){const{_proxy:i,_context:o,_subProxy:r,_descriptors:s}=t;let a=i[n];return ua(a)&&s.isScriptable(n)&&(a=function vfe(t,n,e,i){const{_proxy:o,_context:r,_subProxy:s,_stack:a}=e;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=n(r,s||i);return a.delete(t),d2(t,l)&&(l=u2(o._scopes,o,t,l)),l}(n,a,t,e)),oi(a)&&a.length&&(a=function yfe(t,n,e,i){const{_proxy:o,_context:r,_subProxy:s,_descriptors:a}=e;if(typeof r.index<"u"&&i(t))return n[r.index%n.length];if(_t(n[0])){const l=n,u=o._scopes.filter(m=>m!==l);n=[];for(const m of l){const p=u2(u,o,t,m);n.push(Id(p,r,s&&s[t],a))}}return n}(n,a,t,s.isIndexable)),d2(n,a)&&(a=Id(a,o,r&&r[n],s)),a}(r,s,a)),getOwnPropertyDescriptor:(r,s)=>r._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(r,s)=>Reflect.has(t,s),ownKeys:()=>Reflect.ownKeys(t),set:(r,s,a)=>(t[s]=a,delete r[s],!0)})}function a6(t,n={scriptable:!0,indexable:!0}){const{_scriptable:e=n.scriptable,_indexable:i=n.indexable,_allKeys:o=n.allKeys}=t;return{allKeys:o,scriptable:e,indexable:i,isScriptable:ua(e)?e:()=>e,isIndexable:ua(i)?i:()=>i}}const _fe=(t,n)=>t?t+QC(n):n,d2=(t,n)=>_t(n)&&"adapters"!==t&&(null===Object.getPrototypeOf(n)||n.constructor===Object);function l6(t,n,e){if(Object.prototype.hasOwnProperty.call(t,n)||"constructor"===n)return t[n];const i=e();return t[n]=i,i}function c6(t,n,e){return ua(t)?t(n,e):t}const wfe=(t,n)=>!0===t?n:"string"==typeof t?da(n,t):void 0;function xfe(t,n,e,i,o){for(const r of n){const s=wfe(e,r);if(s){t.add(s);const a=c6(s._fallback,e,o);if(typeof a<"u"&&a!==e&&a!==i)return a}else if(!1===s&&typeof i<"u"&&e!==i)return null}return!1}function u2(t,n,e,i){const o=n._rootScopes,r=c6(n._fallback,e,i),s=[...t,...o],a=new Set;a.add(i);let l=d6(a,s,e,r||e,i);return!(null===l||typeof r<"u"&&r!==e&&(l=d6(a,s,r,l,i),null===l))&&c2(Array.from(a),[""],o,r,()=>function Cfe(t,n,e){const i=t._getTarget();n in i||(i[n]={});const o=i[n];return oi(o)&&_t(e)?e:o||{}}(n,e,i))}function d6(t,n,e,i,o){for(;e;)e=xfe(t,n,e,i,o);return e}function u6(t,n){for(const e of n){if(!e)continue;const i=e[t];if(typeof i<"u")return i}}function h6(t){let n=t._keys;return n||(n=t._keys=function Mfe(t){const n=new Set;for(const e of t)for(const i of Object.keys(e).filter(o=>!o.startsWith("_")))n.add(i);return Array.from(n)}(t._scopes)),n}function m6(t,n,e,i){const{iScale:o}=t,{key:r="r"}=this._parsing,s=new Array(i);let a,l,u,m;for(a=0,l=i;a<l;++a)u=a+e,m=n[u],s[a]={r:o.parse(da(m,r),u)};return s}const Dfe=Number.EPSILON||1e-14,Ad=(t,n)=>n<t.length&&!t[n].skip&&t[n],p6=t=>"x"===t?"y":"x";function Sfe(t,n,e,i){const o=t.skip?n:t,r=n,s=e.skip?n:e,a=JC(r,o),l=JC(s,r);let u=a/(a+l),m=l/(a+l);u=isNaN(u)?0:u,m=isNaN(m)?0:m;const p=i*u,f=i*m;return{previous:{x:r.x-p*(s.x-o.x),y:r.y-p*(s.y-o.y)},next:{x:r.x+f*(s.x-o.x),y:r.y+f*(s.y-o.y)}}}function ob(t,n,e){return Math.max(Math.min(t,e),n)}function Pfe(t,n,e,i,o){let r,s,a,l;if(n.spanGaps&&(t=t.filter(u=>!u.skip)),"monotone"===n.cubicInterpolationMode)!function Ife(t,n="x"){const e=p6(n),i=t.length,o=Array(i).fill(0),r=Array(i);let s,a,l,u=Ad(t,0);for(s=0;s<i;++s)if(a=l,l=u,u=Ad(t,s+1),l){if(u){const m=u[n]-l[n];o[s]=0!==m?(u[e]-l[e])/m:0}r[s]=a?u?Er(o[s-1])!==Er(o[s])?0:(o[s-1]+o[s])/2:o[s-1]:o[s]}(function Efe(t,n,e){const i=t.length;let o,r,s,a,l,u=Ad(t,0);for(let m=0;m<i-1;++m)if(l=u,u=Ad(t,m+1),l&&u){if(fm(n[m],0,Dfe)){e[m]=e[m+1]=0;continue}o=e[m]/n[m],r=e[m+1]/n[m],a=Math.pow(o,2)+Math.pow(r,2),!(a<=9)&&(s=3/Math.sqrt(a),e[m]=o*s*n[m],e[m+1]=r*s*n[m])}})(t,o,r),function Tfe(t,n,e="x"){const i=p6(e),o=t.length;let r,s,a,l=Ad(t,0);for(let u=0;u<o;++u){if(s=a,a=l,l=Ad(t,u+1),!a)continue;const m=a[e],p=a[i];s&&(r=(m-s[e])/3,a[`cp1${e}`]=m-r,a[`cp1${i}`]=p-r*n[u]),l&&(r=(l[e]-m)/3,a[`cp2${e}`]=m+r,a[`cp2${i}`]=p+r*n[u])}}(t,r,n)}(t,o);else{let u=i?t[t.length-1]:t[0];for(r=0,s=t.length;r<s;++r)a=t[r],l=Sfe(u,a,t[Math.min(r+1,s-(i?0:1))%s],n.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,u=a}n.capBezierPoints&&function Afe(t,n){let e,i,o,r,s,a=ws(t[0],n);for(e=0,i=t.length;e<i;++e)s=r,r=a,a=e<i-1&&ws(t[e+1],n),r&&(o=t[e],s&&(o.cp1x=ob(o.cp1x,n.left,n.right),o.cp1y=ob(o.cp1y,n.top,n.bottom)),a&&(o.cp2x=ob(o.cp2x,n.left,n.right),o.cp2y=ob(o.cp2y,n.top,n.bottom)))}(t,e)}function h2(){return typeof window<"u"&&typeof document<"u"}function m2(t){let n=t.parentNode;return n&&"[object ShadowRoot]"===n.toString()&&(n=n.host),n}function rb(t,n,e){let i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*n.parentNode[e])):i=t,i}const sb=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),Rfe=["top","right","bottom","left"];function Dl(t,n,e){const i={};e=e?"-"+e:"";for(let o=0;o<4;o++){const r=Rfe[o];i[r]=parseFloat(t[n+"-"+r+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Ffe=(t,n,e)=>(t>0||n>0)&&(!e||!e.shadowRoot);function Sl(t,n){if("native"in t)return t;const{canvas:e,currentDevicePixelRatio:i}=n,o=sb(e),r="border-box"===o.boxSizing,s=Dl(o,"padding"),a=Dl(o,"border","width"),{x:l,y:u,box:m}=function Lfe(t,n){const e=t.touches,i=e&&e.length?e[0]:t,{offsetX:o,offsetY:r}=i;let a,l,s=!1;if(Ffe(o,r,t.target))a=o,l=r;else{const u=n.getBoundingClientRect();a=i.clientX-u.left,l=i.clientY-u.top,s=!0}return{x:a,y:l,box:s}}(t,e),p=s.left+(m&&a.left),f=s.top+(m&&a.top);let{width:_,height:y}=n;return r&&(_-=s.width+a.width,y-=s.height+a.height),{x:Math.round((l-p)/_*e.width/i),y:Math.round((u-f)/y*e.height/i)}}const ab=t=>
vendor: 6,382 bytes, line 1
1Math.round(10*t)/10;function f6(t,n,e){const i=n||1,o=Math.floor(t.height*i),r=Math.floor(t.width*i);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(e||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==o||s.width!==r)&&(t.currentDevicePixelRatio=i,s.height=o,s.width=r,t.ctx.setTransform(i,0,0,i,0,0),!0)}const Vfe=function(){let t=!1;try{const n={get passive(){return t=!0,!1}};h2()&&(window.addEventListener("test",null,n),window.removeEventListener("test",null,n))}catch{}return t}();function g6(t,n){const e=function Ofe(t,n){return sb(t).getPropertyValue(n)}(t,n),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function El(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)}}function zfe(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:"middle"===i?e<.5?t.y:n.y:"after"===i?e<1?t.y:n.y:e>0?n.y:t.y}}function Hfe(t,n,e,i){const o={x:t.cp2x,y:t.cp2y},r={x:n.cp1x,y:n.cp1y},s=El(t,o,e),a=El(o,r,e),l=El(r,n,e),u=El(s,a,e),m=El(a,l,e);return El(u,m,e)}function Pd(t,n,e){return t?function(t,n){return{x:e=>t+t+n-e,setWidth(e){n=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,i)=>e-i,leftForLtr:(e,i)=>e-i}}(n,e):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,n)=>t+n,leftForLtr:(t,n)=>t}}function _6(t,n){let e,i;("ltr"===n||"rtl"===n)&&(e=t.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",n,"important"),t.prevTextDirection=i)}function b6(t,n){void 0!==n&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}function v6(t){return"angle"===t?{between:gm,compare:Upe,normalize:go}:{between:vs,compare:(n,e)=>n-e,normalize:n=>n}}function y6({start:t,end:n,count:e,loop:i,style:o}){return{start:t%e,end:n%e,loop:i&&(n-t+1)%e==0,style:o}}function w6(t,n,e){if(!e)return[t];const{property:i,start:o,end:r}=e,s=n.length,{compare:a,between:l,normalize:u}=v6(i),{start:m,end:p,loop:f,style:_}=function Ufe(t,n,e){const{property:i,start:o,end:r}=e,{between:s,normalize:a}=v6(i),l=n.length;let f,_,{start:u,end:m,loop:p}=t;if(p){for(u+=l,m+=l,f=0,_=l;f<_&&s(a(n[u%l][i]),o,r);++f)u--,m--;u%=l,m%=l}return m<u&&(m+=l),{start:u,end:m,loop:p,style:t.style}}(t,n,e),y=[];let D,M,I,w=!1,C=null;for(let Q=m,oe=m;Q<=p;++Q)M=n[Q%s],!M.skip&&(D=u(M[i]),D!==I&&(w=l(D,o,r),null===C&&(w||l(o,I,D)&&0!==a(o,I))&&(C=0===a(D,o)?Q:oe),null!==C&&(!w||0===a(r,D)||l(r,I,D))&&(y.push(y6({start:C,end:Q,loop:f,count:s,style:_})),C=null),oe=Q,I=D));return null!==C&&y.push(y6({start:C,end:p,loop:f,count:s,style:_})),y}function x6(t,n){const e=[],i=t.segments;for(let o=0;o<i.length;o++){const r=w6(i[o],t.points,n);r.length&&e.push(...r)}return e}function k6(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Zfe(t,n){if(!n)return!1;const e=[],i=function(o,r){return n2(r)?(e.includes(r)||e.push(r),e.indexOf(r)):r};return JSON.stringify(t,i)!==JSON.stringify(n,i)}class Kfe{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(n,e,i,o){const s=e.duration;e.listeners[o].forEach(a=>a({chart:n,initial:e.initial,numSteps:s,currentStep:Math.min(i-e.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=YL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let e=0;this._charts.forEach((i,o)=>{if(!i.running||!i.items.length)return;const r=i.items;let l,s=r.length-1,a=!1;for(;s>=0;--s)l=r[s],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(n),a=!0):(r[s]=r[r.length-1],r.pop());a&&(o.draw(),this._notify(o,i,n,"progress")),r.length||(i.running=!1,this._notify(o,i,n,"complete"),i.initial=!1),e+=r.length}),this._lastDate=n,0===e&&(this._running=!1)}_getAnims(n){const e=this._charts;let i=e.get(n);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(n,i)),i}listen(n,e,i){this._getAnims(n).listeners[e].push(i)}add(n,e){!e||!e.length||this._getAnims(n).items.push(...e)}has(n){return this._getAnims(n).items.length>0}start(n){const e=this._charts.get(n);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,o)=>Math.max(i,o._duration),0),this._refresh())}running(n){if(!this._running)return!1;const e=this._charts.get(n);return!(!e||!e.running||!e.items.length)}stop(n){const e=this._charts.get(n);if(!e||!e.items.length)return;const i=e.items;let o=i.length-1;for(;o>=0;--o)i[o].cancel();e.items=[],this._notify(n,e,Date.now(),"complete")}remove(n){return this._charts.delete(n)}}var xs=new Kfe;const M6="transparent",Qfe={boolean:(t,n,e)=>e>.5?n:t,color(t,n,e){const i=e6(t||M6),o=i.valid&&e6(n||M6);return o&&o.valid?o.mix(i,e).hexString():n},number:(t,n,e)=>t+(n-t)*e};class Xfe{constructor(n,e,i,o){const r=e[i];o=wm([n.to,o,r,n.from]);const s=wm([n.from,r,o]);this._active=!0,this._fn=n.fn||Qfe[n.type||typeof s],this._easing=_m[n.easing]||_m.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=e,this._prop=i,this._from=s,this._to=o,this._promises=void 0}active(){return this._active}update(n,e,i){if(this._active){this._notify(!1);const o=this._target[this._prop],r=i-this._start,s=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(s,n.duration)),this._total+=r,this._loop=!!n.loop,this._to=wm([n.to,e,o,n.from]),this._from=wm([n.from,o,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){const e=n-this._start,i=this._duration,o=this._prop,r=this._from,s=this._loop,a=this._to;let l;if(this._active=r!==a&&(s||e<i),!this._active)return this._target[o]=a,void this._notify(!0);e<0?this._target[o]=r:(l=e/i%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[o]=this._fn(r,a,l))}wait(){const n=this._promises||(this._promises=[]);return new Promise((e,i)=>{n.push({res:e,rej:i})})}_notify(n){const e=n?"res":"rej",i=this._promises||[];for(let o=0;o<i.length;o++)i[o][e]()}}class D6{constructor(n,e){this._chart=n,this._properties=new Map,this.configure(e)}configure(n){if(!_t(n))return;const e=Object.keys(ki.animation),i=this._properties;
1Object.getOwnPropertyNames(n).forEach(o=>{const r=n[o];if(!_t(r))return;const s={};for(const a of e)s[a]=r[a];(oi(r.properties)&&r.properties||[o]).forEach(a=>{(a===o||!i.has(a))&&i.set(a,s)})})}_animateOptions(n,e){const i=e.options,o=function ege(t,n){if(!n)return;let e=t.options;if(e)return e.$shared&&(t.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e;t.options=n}(n,i);if(!o)return[];const r=this._createAnimations(o,i);return i.$shared&&function Jfe(t,n){const e=[],i=Object.keys(n);for(let o=0;o<i.length;o++){const r=t[i[o]];r&&r.active()&&e.push(r.wait())}return Promise.all(e)}(n.options.$animations,i).then(()=>{n.options=i},()=>{}),r}_createAnimations(n,e){const i=this._properties,o=[],r=n.$animations||(n.$animations={}),s=Object.keys(e),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const u=s[l];if("$"===u.charAt(0))continue;if("options"===u){o.push(...this._animateOptions(n,e));continue}const m=e[u];let p=r[u];const f=i.get(u);if(p){if(f&&p.active()){p.update(f,m,a);continue}p.cancel()}f&&f.duration?(r[u]=p=new Xfe(f,n,u,m),o.push(p)):n[u]=m}return o}update(n,e){if(0===this._properties.size)return void Object.assign(n,e);const i=this._createAnimations(n,e);return i.length?(xs.add(this._chart,i),!0):void 0}}function S6(t,n){const e=t&&t.options||{},i=e.reverse,o=void 0===e.min?n:0,r=void 0===e.max?n:0;return{start:i?r:o,end:i?o:r}}function E6(t,n){const e=[],i=t._getSortedDatasetMetas(n);let o,r;for(o=0,r=i.length;o<r;++o)e.push(i[o].index);return e}function T6(t,n,e,i={}){const o=t.keys,r="single"===i.mode;let s,a,l,u;if(null!==n){for(s=0,a=o.length;s<a;++s){if(l=+o[s],l===e){if(i.all)continue;break}u=t.values[l],Ci(u)&&(r||0===n||Er(n)===Er(u))&&(n+=u)}return n}}function I6(t,n){const e=t&&t.options.stacked;return e||void 0===e&&void 0!==n.stack}function sge(t,n,e){const i=t[n]||(t[n]={});return i[e]||(i[e]={})}function A6(t,n,e,i){for(const o of n.getMatchingVisibleMetas(i).reverse()){const r=t[o.index];if(e&&r>0||!e&&r<0)return o.index}return null}function P6(t,n){const{chart:e,_cachedMeta:i}=t,o=e._stacks||(e._stacks={}),{iScale:r,vScale:s,index:a}=i,l=r.axis,u=s.axis,m=function oge(t,n,e){return`${t.id}.${n.id}.${e.stack||e.type}`}(r,s,i),p=n.length;let f;for(let _=0;_<p;++_){const y=n[_],{[l]:w,[u]:C}=y;f=(y._stacks||(y._stacks={}))[u]=sge(o,m,w),f[a]=C,f._top=A6(f,s,!0,i.type),f._bottom=A6(f,s,!1,i.type),(f._visualValues||(f._visualValues={}))[a]=C}}function p2(t,n){const e=t.scales;return Object.keys(e).filter(i=>e[i].axis===n).shift()}function xm(t,n){const e=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){n=n||t._parsed;for(const o of n){const r=o._stacks;if(!r||void 0===r[i]||void 0===r[i][e])return;delete r[i][e],void 0!==r[i]._visualValues&&void 0!==r[i]._visualValues[e]&&delete r[i]._visualValues[e]}}}const f2=t=>"reset"===t||"none"===t,O6=(t,n)=>n?t:Object.assign({},t);let pa=(()=>class t{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=I6(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&xm(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,i=this._cachedMeta,o=this.getDataset(),r=(f,_,y,w)=>"x"===f?_:"r"===f?w:y,s=i.xAxisID=rt(o.xAxisID,p2(e,"x")),a=i.yAxisID=rt(o.yAxisID,p2(e,"y")),l=i.rAxisID=rt(o.rAxisID,p2(e,"r")),u=i.indexAxis,m=i.iAxisID=r(u,s,a,l),p=i.vAxisID=r(u,a,s,l);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(a),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(m),i.vScale=this.getScaleForId(p)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&GL(this._data,this),e._stacked&&xm(e)}_dataCheck(){const e=this.getDataset(),i=e.data||(e.data=[]),o=this._data;if(_t(i))this._data=function nge(t,n){const{iScale:e,vScale:i}=n,o="x"===e.axis?"x":"y",r="x"===i.axis?"x":"y",s=Object.keys(t),a=new Array(s.length);let l,u,m;for(l=0,u=s.length;l<u;++l)m=s[l],a[l]={[o]:m,[r]:t[m]};return a}(i,this._cachedMeta);else if(o!==i){if(o){GL(o,this);const r=this._cachedMeta;xm(r),r._parsed=[]}i&&Object.isExtensible(i)&&function Ype(t,n){t._chartjs?t._chartjs.listeners.push(n):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}
vendor: 6,523 bytes, line 1
1),WL.forEach(e=>{const i="_onData"+QC(e),o=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...r){const s=o.apply(this,r);return t._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...r)}),s}})}))}(i,this),this._syncList=[],this._data=i}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const i=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const s=i._stacked;i._stacked=I6(i.vScale,i),i.stack!==o.stack&&(r=!0,xm(i),i.stack=o.stack),this._resyncElements(e),(r||s!==i._stacked)&&P6(this,i._parsed)}configure(){const e=this.chart.config,i=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){const{_cachedMeta:o,_data:r}=this,{iScale:s,_stacked:a}=o,l=s.axis;let p,f,_,u=0===e&&i===r.length||o._sorted,m=e>0&&o._parsed[e-1];if(!1===this._parsing)o._parsed=r,o._sorted=!0,_=r;else{_=oi(r[e])?this.parseArrayData(o,r,e,i):_t(r[e])?this.parseObjectData(o,r,e,i):this.parsePrimitiveData(o,r,e,i);const y=()=>null===f[l]||m&&f[l]<m[l];for(p=0;p<i;++p)o._parsed[p+e]=f=_[p],u&&(y()&&(u=!1),m=f);o._sorted=u}a&&P6(this,_)}parsePrimitiveData(e,i,o,r){const{iScale:s,vScale:a}=e,l=s.axis,u=a.axis,m=s.getLabels(),p=s===a,f=new Array(r);let _,y,w;for(_=0,y=r;_<y;++_)w=_+o,f[_]={[l]:p||s.parse(m[w],w),[u]:a.parse(i[w],w)};return f}parseArrayData(e,i,o,r){const{xScale:s,yScale:a}=e,l=new Array(r);let u,m,p,f;for(u=0,m=r;u<m;++u)p=u+o,f=i[p],l[u]={x:s.parse(f[0],p),y:a.parse(f[1],p)};return l}parseObjectData(e,i,o,r){const{xScale:s,yScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,m=new Array(r);let p,f,_,y;for(p=0,f=r;p<f;++p)_=p+o,y=i[_],m[p]={x:s.parse(da(y,l),_),y:a.parse(da(y,u),_)};return m}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,i,o){const s=this._cachedMeta,a=i[e.axis];return T6({keys:E6(this.chart,!0),values:i._stacks[e.axis]._visualValues},a,s.index,{mode:o})}updateRangeFromParsed(e,i,o,r){const s=o[i.axis];let a=null===s?NaN:s;const l=r&&o._stacks[i.axis];r&&l&&(r.values=l,a=T6(r,s,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,i){const o=this._cachedMeta,r=o._parsed,s=o._sorted&&e===o.iScale,a=r.length,l=this._getOtherScale(e),u=((t,n,e)=>t&&!n.hidden&&n._stacked&&{keys:E6(this.chart,!0),values:null})(i,o),m={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:p,max:f}=function rge(t){const{min:n,max:e,minDefined:i,maxDefined:o}=t.getUserBounds();return{min:i?n:Number.NEGATIVE_INFINITY,max:o?e:Number.POSITIVE_INFINITY}}(l);let _,y;function w(){y=r[_];const C=y[l.axis];return!Ci(y[e.axis])||p>C||f<C}for(_=0;_<a&&(w()||(this.updateRangeFromParsed(m,e,y,u),!s));++_);if(s)for(_=a-1;_>=0;--_)if(!w()){this.updateRangeFromParsed(m,e,y,u);break}return m}getAllParsedValues(e){const i=this._cachedMeta._parsed,o=[];let r,s,a;for(r=0,s=i.length;r<s;++r)a=i[r][e.axis],Ci(a)&&o.push(a);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const i=this._cachedMeta,o=i.iScale,r=i.vScale,s=this.getParsed(e);return{label:o?""+o.getLabelForValue(s[o.axis]):"",value:r?""+r.getLabelForValue(s[r.axis]):""}}_update(e){const i=this._cachedMeta;this.update(e||"default"),i._clip=function ige(t){let n,e,i,o;return _t(t)?(n=t.top,e=t.right,i=t.bottom,o=t.left):n=e=i=o=t,{top:n,right:e,bottom:i,left:o,disabled:!1===t}}(rt(this.options.clip,function tge(t,n,e){if(!1===e)return!1;const i=S6(t,e),o=S6(n,e);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}(i.xScale,i.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,o=this._cachedMeta,r=o.data||[],s=this.chart.chartArea,a=[],l=this._drawStart||0,u=this._drawCount||r.length-l,m=this.options.drawActiveElementsOnTop;let p;for(o.dataset&&o.dataset.draw(e,s,l,u),p=l;p<l+u;++p){const f=r[p];f.hidden||(f.active&&m?a.push(f):f.draw(e,s))}for(p=0;p<a.length;++p)a[p].draw(e,s)}getStyle(e,i){const o=i?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,i,o){const r=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];s=a.$context||(a.$context=function lge(t,n,e){return ma(t,{active:!1,dataIndex:n,parsed:void 0,raw:void 0,element:e,index:n,mode:"default",type:"data"})}(this.getContext(),e,a)),s.parsed=this.getParsed(e),s.raw=r.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=function age(t,n){return ma(t,{active:!1,dataset:void 0,datasetIndex:n,index:n,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),s.dataset=r,s.index=s.datasetIndex=this.index;return s.active=!!i,s.mode=o,s}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,i){return this._resolveElementOptions(this.dataElementType.id,i,e)}_resolveElementOptions(e,i="default",o){const r="active"===i,s=this._cachedDataOpts,a=e+"-"+i,l=s[a],u=this.enableOptionSharing&&pm(o);if(l)return O6(l,u);const m=this.chart.config,p=m.datasetElementScopeKeys(this._type,e),f=r?[`${e}Hover`,"hover",e,""]:[e,""],_=m.getOptionScopes(this.getDataset(),p),y=Object.keys(ki.elements[e]),C=m.resolveNamedOptions(_,y,()=>this.getContext(o,r,i),f);return C.$shared&&(C.$shared=u,s[a]=Object.freeze(O6(C,u))),C}_resolveAnimations(e,i,o){const r=this.chart,s=this._cachedDataOpts,a=`animation-${i}`,l=s[a];if(l)return l;let u;if(!1!==r.options.animation){const p=this.chart.config,f=p.datasetAnimationScopeKeys(this._type,i),_=p.getOptionScopes(this.getDataset(),f);u=p.createResolver(_,this.getContext(e,o,i))}const m=new D6(r,u&&u.animations);return u&&u._cacheable&&(s[a]=Object.freeze(m)),m}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||f2(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){const o=this.resolveDataElementOptions(e,i),r=this._sharedOptions,s=this.getSharedOptions(o),a=this.includeOptions(i,s)||s!==r;return this.updateSharedOptions(s,i,o),{sharedOptions:s,includeOptions:a}}updateElement(e,i,o,r){f2(r)?Object.assign(e,o):this._resolveAnimations(i,r).update(e,o)}updateSharedOptions(e,i,o){e&&!f2(i)&&this._resolveAnimations(void 0,i).update(e,o)}_setStyle(e,i,o,r){e.active=r;const s=this.getStyle(i,r);
vendor: 10,807 bytes, line 1
1this._resolveAnimations(i,o,r).update(e,{options:!r&&this.getSharedOptions(s)||s})}removeHoverStyle(e,i,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,i,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const i=this._data,o=this._cachedMeta.data;for(const[l,u,m]of this._syncList)this[l](u,m);this._syncList=[];const r=o.length,s=i.length,a=Math.min(s,r);a&&this.parse(0,a),s>r?this._insertElements(r,s-r,e):s<r&&this._removeElements(s,r-s)}_insertElements(e,i,o=!0){const r=this._cachedMeta,s=r.data,a=e+i;let l;const u=m=>{for(m.length+=i,l=m.length-1;l>=a;l--)m[l]=m[l-i]};for(u(s),l=e;l<a;++l)s[l]=new this.dataElementType;this._parsing&&u(r._parsed),this.parse(e,i),o&&this.updateElements(s,e,i,"reset")}updateElements(e,i,o,r){}_removeElements(e,i){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(e,i);o._stacked&&xm(o,r)}o.data.splice(e,i)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[i,o,r]=e;this[i](o,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,i){i&&this._sync(["_removeElements",e,i]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}})();function uge(t){const n=t.iScale,e=function dge(t,n){if(!t._cache.$bar){const e=t.getMatchingVisibleMetas(n);let i=[];for(let o=0,r=e.length;o<r;o++)i=i.concat(e[o].controller.getAllParsedValues(t));t._cache.$bar=qL(i.sort((o,r)=>o-r))}return t._cache.$bar}(n,t.type);let o,r,s,a,i=n._length;const l=()=>{32767===s||-32768===s||(pm(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(o=0,r=e.length;o<r;++o)s=n.getPixelForValue(e[o]),l();for(a=void 0,o=0,r=n.ticks.length;o<r;++o)s=n.getPixelForTick(o),l();return i}function R6(t,n,e,i){return oi(t)?function pge(t,n,e,i){const o=e.parse(t[0],i),r=e.parse(t[1],i),s=Math.min(o,r),a=Math.max(o,r);let l=s,u=a;Math.abs(s)>Math.abs(a)&&(l=a,u=s),n[e.axis]=u,n._custom={barStart:l,barEnd:u,start:o,end:r,min:s,max:a}}(t,n,e,i):n[e.axis]=e.parse(t,i),n}function F6(t,n,e,i){const o=t.iScale,r=t.vScale,s=o.getLabels(),a=o===r,l=[];let u,m,p,f;for(u=e,m=e+i;u<m;++u)f=n[u],p={},p[o.axis]=a||o.parse(s[u],u),l.push(R6(f,p,r,u));return l}function g2(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function _ge(t,n,e,i){let o=n.borderSkipped;const r={};if(!o)return void(t.borderSkipped=r);if(!0===o)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:a,reverse:l,top:u,bottom:m}=function gge(t){let n,e,i,o,r;return t.horizontal?(n=t.base>t.x,e="left",i="right"):(n=t.base<t.y,e="bottom",i="top"),n?(o="end",r="start"):(o="start",r="end"),{start:e,end:i,reverse:n,top:o,bottom:r}}(t);"middle"===o&&e&&(t.enableBorderRadius=!0,(e._top||0)===i?o=u:(e._bottom||0)===i?o=m:(r[L6(m,s,a,l)]=!0,o=u)),r[L6(o,s,a,l)]=!0,t.borderSkipped=r}function L6(t,n,e,i){return i?(t=function bge(t,n,e){return t===n?e:t===e?n:t}(t,n,e),t=N6(t,e,n)):t=N6(t,n,e),t}function N6(t,n,e){return"start"===t?n:"end"===t?e:t}function vge(t,{inflateAmount:n},e){t.inflateAmount="auto"===n?1===e?.33:0:n}let yge=(()=>class t extends pa{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,i,o,r){return F6(e,i,o,r)}parseArrayData(e,i,o,r){return F6(e,i,o,r)}parseObjectData(e,i,o,r){const{iScale:s,vScale:a}=e,{xAxisKey:l="x",yAxisKey:u="y"}=this._parsing,m="x"===s.axis?l:u,p="x"===a.axis?l:u,f=[];let _,y,w,C;for(_=o,y=o+r;_<y;++_)C=i[_],w={},w[s.axis]=s.parse(da(C,m),_),f.push(R6(da(C,p),w,a,_));return f}updateRangeFromParsed(e,i,o,r){super.updateRangeFromParsed(e,i,o,r);const s=o._custom;s&&i===this._cachedMeta.vScale&&(e.min=Math.min(e.min,s.min),e.max=Math.max(e.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const i=this._cachedMeta,{iScale:o,vScale:r}=i,s=this.getParsed(e),a=s._custom,l=g2(a)?"["+a.start+", "+a.end+"]":""+r.getLabelForValue(s[r.axis]);return{label:""+o.getLabelForValue(s[o.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,e)}updateElements(e,i,o,r){const s="reset"===r,{index:a,_cachedMeta:{vScale:l}}=this,u=l.getBasePixel(),m=l.isHorizontal(),p=this._getRuler(),{sharedOptions:f,includeOptions:_}=this._getSharedOptions(i,r);for(let y=i;y<i+o;y++){const w=this.getParsed(y),C=s||Ct(w[l.axis])?{base:u,head:u}:this._calculateBarValuePixels(y),D=this._calculateBarIndexPixels(y,p),M=(w._stacks||{})[l.axis],I={horizontal:m,base:C.base,enableBorderRadius:!M||g2(w._custom)||a===M._top||a===M._bottom,x:m?C.head:D.center,y:m?D.center:C.head,height:m?D.size:Math.abs(C.size),width:m?Math.abs(C.size):D.size};_&&(I.options=f||this.resolveDataElementOptions(y,e[y].active?"active":r));const P=I.options||e[y].options;_ge(I,P,M,a),vge(I,P,p.ratio),this.updateElement(e[y],y,I,r)}}_getStacks(e,i){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),s=o.options.stacked,a=[],l=u=>{const m=u.controller.getParsed(i),p=m&&m[u.vScale.axis];if(Ct(p)||isNaN(p))return!0};for(const u of r)if((void 0===i||!l(u))&&((!1===s||-1===a.indexOf(u.stack)||void 0===s&&void 0===u.stack)&&a.push(u.stack),u.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,i,o){const r=this._getStacks(e,o),s=void 0!==i?r.indexOf(i):-1;return-1===s?r.length-1:s}_getRuler(){const e=this.options,i=this._cachedMeta,o=i.iScale,r=[];let s,a;for(s=0,a=i.data.length;s<a;++s)r.push(o.getPixelForValue(this.getParsed(s)[o.axis],s));const l=e.barThickness;return{min:l||uge(i),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:i,_stacked:o,index:r},options:{base:s,minBarLength:a}}=this,l=s||0,u=this.getParsed(e),m=u._custom,p=g2(m);let w,C,f=u[i.axis],_=0,y=o?this.applyStack(i,u,o):f;y!==f&&(_=y-f,y=f),p&&(f=m.barStart,y=m.barEnd-m.barStart,0!==f&&Er(f)!==Er(m.barEnd)&&(_=0),_+=f);const D=Ct(s)||p?_:s;let M=i.getPixelForValue(D);if(w=this.chart.getDataVisibility(e)?i.getPixelForValue(_+y):M,C=w-M,Math.abs(C)<a){C=function fge(t,n,e){return 0!==t?Er(t):(n.isHorizontal()?1:-1)*(n.min>=e?1:-1)}(C,i,l)*a,f===l&&(M-=C/2);const I=i.getPixelForDecimal(0),P=i.getPixelForDecimal(1),F=Math.min(I,P),L=Math.max(I,P);M=Math.max(Math.min(M,L),F),w=M+C,o&&!p&&(u._stacks[i.axis]._visualValues[r]=i.getValueForPixel(w)-i.getValueForPixel(M))}if(M===i.getPixelForValue(l)){const I=Er(C)*i.getLineWidthForValue(l)/2;M+=I,C-=I}return{size:C,base:M,head:w,center:w+C/2}}_calculateBarIndexPixels(e,i){const o=i.scale,r=this.options,s=r.skipNull,a=rt(r.maxBarThickness,1/0);let l,u;if(i.grouped){const m=s?this._getStackCount(e):i.stackCount,p="flex"===r.barThickness?function mge(t,n,e,i){const o=n.pixels,r=o[t];let s=t>0?o[t-1]:null,a=t<o.length-1?o[t+1]:null;const l=e.categoryPercentage;null===s&&(s=r-(null===a?n.end-n.start:a-r)),null===a&&(a=r+r-s);const u=r-(r-Math.min(s,a))/2*l;return{chunk:Math.abs(a-s)/2*l/i,ratio:e.barPercentage,start:u}}(e,i,r,m):function hge(t,n,e,i){const o=e.barThickness;let r,s;return Ct(o)?(r=n.min*e.categoryPercentage,s=e.barPercentage):(r=o*i,s=1),{chunk:r/i,ratio:s,start:n.pixels[t]-r/2}}(e,i,r,m),f=this._getStackIndex(this.index,this._cachedMeta.stack,s?e:void 0);l=p.start+p.chunk*f+p.chunk/2,u=Math.min(a,p.chunk*p.ratio)}else l=o.getPixelForValue(this.getParsed(e)[o.axis],e),u=Math.min(a,i.min*i.ratio);return{base:l-u/2,head:l+u/2,center:l,size:u}}draw(){const e=this._cachedMeta,i=e.vScale,o=e.data,r=o.length;let s=0;for(;s<r;++s)null!==this.getParsed(s)[i.axis]&&!o[s].hidden&&o[s].draw(this._ctx)}})(),wge=(()=>class t extends pa{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,o,r){const s=super.parsePrimitiveData(e,i,o,r);for(let a=0;a<s.length;a++)s[a]._custom=this.resolveDataElementOptions(a+o).radius;return s}parseArrayData(e,i,o,r){const s=super.parseArrayData(e,i,o,r);for(let a=0;a<s.length;a++)s[a]._custom=rt(i[o+a][2],this.resolveDataElementOptions(a+o).radius);return s}parseObjectData(e,i,o,r){const s=super.parseObjectData(e,i,o,r);for(let a=0;a<s.length;a++){const l=i[o+a];s[a]._custom=rt(l&&l.r&&+l.r,this.resolveDataElementOptions(a+o).radius)}return s}getMaxOverflow(){const e=this._cachedMeta.data;let i=0;for(let o=e.length-1;o>=0;--o)i=Math.max(i,e[o].size(this.resolveDataElementOptions(o))/2);return i>0&&i}getLabelAndValue(e){const i=this._cachedMeta,o=this.chart.data.labels||[],{xScale:r,yScale:s}=i,a=this.getParsed(e),l=r.getLabelForValue(a.x),u=s.getLabelForValue(a.y),m=a._custom;return{label:o[e]||"",value:"("+l+", "+u+(m?", "+m:"")+")"}}update(e){const i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,o,r){const s="reset"===r,{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:u,includeOptions:m}=this._getSharedOptions(i,r),p=a.axis,f=l.axis;for(let _=i;_<i+o;_++){const y=e[_],w=!s&&this.getParsed(_),C={},D=C[p]=s?a.getPixelForDecimal(.5):a.getPixelForValue(w[p]),M=C[f]=s?l.getBasePixel():l.getPixelForValue(w[f]);C.skip=isNaN(D)||isNaN(M),m&&(C.options=u||this.resolveDataElementOptions(_,y.active?"active":r),s&&(C.options.radius=0)),this.updateElement(y,_,C,r)}}resolveDataElementOptions(e,i){const o=this.getParsed(e);let r=super.resolveDataElementOptions(e,i);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const s=r.radius;return"active"!==i&&(r.radius=0),r.radius+=rt(o&&o._custom,s),r}})(),_2=(()=>class t extends pa{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}}
vendor: 4,532 bytes, line 1
1,cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const i=e.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:o,color:r}}=e.legend.options;return i.labels.map((s,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:s,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:r,lineWidth:u.borderWidth,pointStyle:o,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,i,o){o.chart.toggleDataVisibility(i.index),o.chart.update()}}}};constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){const o=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=o;else{let a,l,s=u=>+o[u];if(_t(o[e])){const{key:u="value"}=this._parsing;s=m=>+da(o[m],u)}for(a=e,l=e+i;a<l;++a)r._parsed[a]=s(a)}}_getRotation(){return qo(this.options.rotation-90)}_getCircumference(){return qo(this.options.circumference)}_getRotationExtents(){let e=si,i=-si;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,s=r._getRotation(),a=r._getCircumference();e=Math.min(e,s),i=Math.max(i,s+a)}return{rotation:e,circumference:i-e}}update(e){const i=this.chart,{chartArea:o}=i,r=this._cachedMeta,s=r.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,l=Math.max((Math.min(o.width,o.height)-a)/2,0),u=Math.min(((t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/n)(this.options.cutout,l),1),m=this._getRingWeight(this.index),{circumference:p,rotation:f}=this._getRotationExtents(),{ratioX:_,ratioY:y,offsetX:w,offsetY:C}=function xge(t,n,e){let i=1,o=1,r=0,s=0;if(n<si){const a=t,l=a+n,u=Math.cos(a),m=Math.sin(a),p=Math.cos(l),f=Math.sin(l),_=(I,P,F)=>gm(I,a,l,!0)?1:Math.max(P,P*e,F,F*e),y=(I,P,F)=>gm(I,a,l,!0)?-1:Math.min(P,P*e,F,F*e),w=_(0,u,p),C=_(Pi,m,f),D=y(ri,u,p),M=y(ri+Pi,m,f);i=(w-D)/2,o=(C-M)/2,r=-(w+D)/2,s=-(C+M)/2}return{ratioX:i,ratioY:o,offsetX:r,offsetY:s}}(f,p,u),I=Math.max(Math.min((o.width-a)/_,(o.height-a)/y)/2,0),P=LL(this.options.radius,I),L=(P-Math.max(P*u,0))/this._getVisibleDatasetWeightTotal();this.offsetX=w*P,this.offsetY=C*P,r.total=this.calculateTotal(),this.outerRadius=P-L*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-L*m,0),this.updateElements(s,0,s.length,e)}_circumference(e,i){const o=this.options,r=this._cachedMeta,s=this._getCircumference();return i&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*s/si)}updateElements(e,i,o,r){const s="reset"===r,a=this.chart,l=a.chartArea,p=(l.left+l.right)/2,f=(l.top+l.bottom)/2,_=s&&a.options.animation.animateScale,y=_?0:this.innerRadius,w=_?0:this.outerRadius,{sharedOptions:C,includeOptions:D}=this._getSharedOptions(i,r);let I,M=this._getRotation();for(I=0;I<i;++I)M+=this._circumference(I,s);for(I=i;I<i+o;++I){const P=this._circumference(I,s),F=e[I],L={x:p+this.offsetX,y:f+this.offsetY,startAngle:M,endAngle:M+P,circumference:P,outerRadius:w,innerRadius:y};D&&(L.options=C||this.resolveDataElementOptions(I,F.active?"active":r)),M+=P,this.updateElement(F,I,L,r)}}calculateTotal(){const e=this._cachedMeta,i=e.data;let r,o=0;for(r=0;r<i.length;r++){const s=e._parsed[r];null!==s&&!isNaN(s)&&this.chart.getDataVisibility(r)&&!i[r].hidden&&(o+=Math.abs(s))}return o}calculateCircumference(e){const i=this._cachedMeta.total;return i>0&&!isNaN(e)?si*(Math.abs(e)/i):0}getLabelAndValue(e){const o=this.chart,r=o.data.labels||[],s=bm(this._cachedMeta._parsed[e],o.options.locale);return{label:r[e]||"",value:s}}getMaxBorderWidth(e){let i=0;const o=this.chart;let r,s,a,l,u;if(!e)for(r=0,s=o.data.datasets.length;r<s;++r)if(o.isDatasetVisible(r)){a=o.getDatasetMeta(r),e=a.data,l=a.controller;break}if(!e)return 0;for(r=0,s=e.length;r<s;++r)u=l.resolveDataElementOptions(r),"inner"!==u.borderAlign&&(i=Math.max(i,u.borderWidth||0,u.hoverBorderWidth||0));return i}getMaxOffset(e){let i=0;for(let o=0,r=e.length;o<r;++o){const s=this.resolveDataElementOptions(o);i=Math.max(i,s.offset||0,s.hoverOffset||0)}return i}_getRingWeightOffset(e){let i=0;for(let o=0;o<e;
vendor: 4,714 bytes, line 1
1++o)this.chart.isDatasetVisible(o)&&(i+=this._getRingWeight(o));return i}_getRingWeight(e){return Math.max(rt(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}})(),Cge=(()=>class t extends pa{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const i=this._cachedMeta,{dataset:o,data:r=[],_dataset:s}=i,a=this.chart._animationsDisabled;let{start:l,count:u}=KL(i,r,a);this._drawStart=l,this._drawCount=u,QL(i)&&(l=0,u=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!s._decimated,o.points=r;const m=this.resolveDatasetElementOptions(e);this.options.showLine||(m.borderWidth=0),m.segment=this.options.segment,this.updateElement(o,void 0,{animated:!a,options:m},e),this.updateElements(r,l,u,e)}updateElements(e,i,o,r){const s="reset"===r,{iScale:a,vScale:l,_stacked:u,_dataset:m}=this._cachedMeta,{sharedOptions:p,includeOptions:f}=this._getSharedOptions(i,r),_=a.axis,y=l.axis,{spanGaps:w,segment:C}=this.options,D=Td(w)?w:Number.POSITIVE_INFINITY,M=this.chart._animationsDisabled||s||"none"===r,I=i+o,P=e.length;let F=i>0&&this.getParsed(i-1);for(let L=0;L<P;++L){const K=e[L],Q=M?K:{};if(L<i||L>=I){Q.skip=!0;continue}const oe=this.getParsed(L),ye=Ct(oe[y]),Se=Q[_]=a.getPixelForValue(oe[_],L),ee=Q[y]=s||ye?l.getBasePixel():l.getPixelForValue(u?this.applyStack(l,oe,u):oe[y],L);Q.skip=isNaN(Se)||isNaN(ee)||ye,Q.stop=L>0&&Math.abs(oe[_]-F[_])>D,C&&(Q.parsed=oe,Q.raw=m.data[L]),f&&(Q.options=p||this.resolveDataElementOptions(L,K.active?"active":r)),M||this.updateElement(K,L,Q,r),F=oe}}getMaxOverflow(){const e=this._cachedMeta,i=e.dataset,o=i.options&&i.options.borderWidth||0,r=e.data||[];if(!r.length)return o;const s=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,s,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}})(),B6=(()=>class t extends pa{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const i=e.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:o,color:r}}=e.legend.options;return i.labels.map((s,a)=>{const u=e.getDatasetMeta(0).controller.getStyle(a);return{text:s,fillStyle:u.backgroundColor,strokeStyle:u.borderColor,fontColor:r,lineWidth:u.borderWidth,pointStyle:o,hidden:!e.getDataVisibility(a),index:a}})}return[]}},onClick(e,i,o){o.chart.toggleDataVisibility(i.index),o.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const o=this.chart,r=o.data.labels||[],s=bm(this._cachedMeta._parsed[e].r,o.options.locale);return{label:r[e]||"",value:s}}parseObjectData(e,i,o,r){return m6.bind(this)(e,i,o,r)}update(e){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){const i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((o,r)=>{const s=this.getParsed(r).r;!isNaN(s)&&this.chart.getDataVisibility(r)&&(s<i.min&&(i.min=s),s>i.max&&(i.max=s))}),i}_updateRadius(){const e=this.chart,i=e.chartArea,o=e.options,r=Math.min(i.right-i.left,i.bottom-i.top),s=Math.max(r/2,0),l=(s-Math.max(o.cutoutPercentage?s/100*o.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=s-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,o,r){const s="reset"===r,a=this.chart,u=a.options.animation,m=this._cachedMeta.rScale,p=m.xCenter,f=m.yCenter,_=m.getIndexAngle(0)-.5*ri;let w,y=_;const C=360/this.countVisibleElements();for(w=0;w<i;++w)y+=this._computeAngle(w,r,C);for(w=i;w<i+o;w++){const D=e[w];let M=y,I=y+this._computeAngle(w,r,C),P=a.getDataVisibility(w)?m.getDistanceFromCenterForValue(this.getParsed(w).r):0;y=I,s&&(u.animateScale&&(P=0),u.animateRotate&&(M=I=_));const F={x:p,y:f,innerRadius:0,outerRadius:P,startAngle:M,endAngle:I,options:this.resolveDataElementOptions(w,D.active?"active":r)};this.updateElement(D,w,F,r)}}countVisibleElements(){let i=0;return this._cachedMeta.data.forEach((o,r)=>
1{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&i++}),i}_computeAngle(e,i,o){return this.chart.getDataVisibility(e)?qo(this.resolveDataElementOptions(e,i).angle||o):0}})();var kge=Object.freeze({__proto__:null,BarController:yge,BubbleController:wge,DoughnutController:_2,LineController:Cge,PieController:(()=>class t extends _2{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}})(),PolarAreaController:B6,RadarController:(()=>class t extends pa{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const i=this._cachedMeta.vScale,o=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(o[i.axis])}}parseObjectData(e,i,o,r){return m6.bind(this)(e,i,o,r)}update(e){const i=this._cachedMeta,o=i.dataset,r=i.data||[],s=i.iScale.getLabels();if(o.points=r,"resize"!==e){const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),this.updateElement(o,void 0,{_loop:!0,_fullLoop:s.length===r.length,options:a},e)}this.updateElements(r,0,r.length,e)}updateElements(e,i,o,r){const s=this._cachedMeta.rScale,a="reset"===r;for(let l=i;l<i+o;l++){const u=e[l],m=this.resolveDataElementOptions(l,u.active?"active":r),p=s.getPointPositionForValue(l,this.getParsed(l).r),f=a?s.xCenter:p.x,_=a?s.yCenter:p.y,y={x:f,y:_,angle:p.angle,skip:isNaN(f)||isNaN(_),options:m};this.updateElement(u,l,y,r)}}})(),ScatterController:(()=>class t extends pa{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){const i=this._cachedMeta,o=this.chart.data.labels||[],{xScale:r,yScale:s}=i,a=this.getParsed(e),l=r.getLabelForValue(a.x),u=s.getLabelForValue(a.y);return{label:o[e]||"",value:"("+l+", "+u+")"}}update(e){const i=this._cachedMeta,{data:o=[]}=i,r=this.chart._animationsDisabled;let{start:s,count:a}=KL(i,o,r);if(this._drawStart=s,this._drawCount=a,QL(i)&&(s=0,a=o.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:l,_dataset:u}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!u._decimated,l.points=o;const m=this.resolveDatasetElementOptions(e);m.segment=this.options.segment,this.updateElement(l,void 0,{animated:!r,options:m},e)}else this.datasetElementType&&(delete i.dataset,this.datasetElementType=!1);this.updateElements(o,s,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,i,o,r){const s="reset"===r,{iScale:a,vScale:l,_stacked:u,_dataset:m}=this._cachedMeta,p=this.resolveDataElementOptions(i,r),f=this.getSharedOptions(p),_=this.includeOptions(r,f),y=a.axis,w=l.axis,{spanGaps:C,segment:D}=this.options,M=Td(C)?C:Number.POSITIVE_INFINITY,I=this.chart._animationsDisabled||s||"none"===r;let P=i>0&&this.getParsed(i-1);for(let F=i;F<i+o;++F){const L=e[F],K=this.getParsed(F),Q=I?L:{},oe=Ct(K[w]),ye=Q[y]=a.getPixelForValue(K[y],F),Se=Q[w]=s||oe?l.getBasePixel():l.getPixelForValue(u?this.applyStack(l,K,u):K[w],F);Q.skip=isNaN(ye)||isNaN(Se)||oe,Q.stop=F>0&&Math.abs(K[y]-P[y])>M,D&&(Q.parsed=K,Q.raw=m.data[F]),_&&(Q.options=f||this.resolveDataElementOptions(F,L.active?"active":r)),I||this.updateElement(L,F,Q,r),P=K}this.updateSharedOptions(f,r,p)}getMaxOverflow(){const e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let u=i.length-1;u>=0;--u)l=Math.max(l,i[u].size(this.resolveDataElementOptions(u))/2);return l>0&&l}const o=e.dataset,r=o.options&&o.options.borderWidth||0;if(!i.length)return r;const s=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,s,a)/2}})()});function Tl(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class b2{static override(n){Object.assign(b2.prototype,n)}options;constructor(n){this.options=n||{}}init(){}formats(){return Tl()}parse(){return Tl()}format(){return Tl()}add(){return Tl()}diff(){return Tl()}startOf(){return Tl()}endOf(){return Tl()}}var Mge__date=b2;function Dge(t,n,e,i){const{controller:o,data:r,_sorted:s}=t,a=o._cachedMeta.iScale;if(a&&n===a.axis&&"r"!==n&&s&&r.length){const l=a._reversePixels?Gpe:ys;if(!i)return l(r,n,e);if(o._sharedOptions){const u=r[0],m="function"==typeof u.getRange&&u.getRange(n);if(m){const p=l(r,n,e-m),f=l(r,n,e+m);return{lo:p.lo,hi:f.hi}}}}return{lo:0,hi:r.length-1}}function Cm(t,n,e,i,o){const r=t.getSortedVisibleDatasetMetas(),s=e[n];for(let a=0,l=r.length;a<l;++a){const{index:u,data:m}=r[a],{lo:p,hi:f}=Dge(r[a],n,s,o);for(let _=p;_<=f;++_){const y=m[_];y.skip||i(y,u,_)}}}function v2(t,n,e,i,o){const r=[];return!o&&!t.isPointInArea(n)||Cm(t,e,n,function(a,l,u){!o&&!ws(a,t.chartArea,0)||a.inRange(n.x,n.y,i)&&r.push({element:a,datasetIndex:l,index:u})},!0),r}function y2(t,n,e,i,o,r){return r||t.isPointInArea(n)?"r"!==e||i?function Tge(t,n,e,i,o,r){let s=[];const a=function Sge(t){const n=-1!==t.indexOf("x"),e=-1!==t.indexOf("y");return function(i,o){const r=n?Math.abs(i.x-o.x):0,s=e?Math.abs(i.y-o.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(s,2))}}(e);let l=Number.POSITIVE_INFINITY;return Cm(t,e,n,function u(m,p,f){const _=m.inRange(n.x,n.y,o);if(i&&!_)return;const y=m.getCenterPoint(o);if(!r&&!t.isPointInArea(y)&&!_)return;const C=a(n,y);C<l?(s=[{element:m,datasetIndex:p,index:f}],l=C):C===l&&s.push({element:m,datasetIndex:p,index:f})}),s}(t,n,e,i,o,r):function Ege(t,n,e,i){let o=[];return Cm(t,e,n,function r(s,a,l){const{startAngle:u,endAngle:m}=s.getProps(["startAngle","endAngle"],i),{angle:p}=UL(s,{x:n.x,y:n.y});gm(p,u,m)&&o.push({element:s,datasetIndex:a,index:l})}),o}(t,n,e,o):[]}function V6(t,n,e,i,o){const r=[],s="x"===e?"inXRange":"inYRange";let a=!1;return Cm(t,e,n,(l,u,m)=>{l[s](n[e],o)&&(r.push({element:l,datasetIndex:u,index:m}),a=a||l.inRange(n.x,n.y,o))}),i&&!a?[]:r}var Ige={evaluateInteractionItems:Cm,modes:{index(t,n,e,i){const o=Sl(n,t),r=e.axis||"x",s=e.includeInvisible||!1,a=e.intersect?v2(t,o,r,i,s):y2(t,o,r,!1,i,s),l=[];
vendor: 7,428 bytes, line 1
1return a.length?(t.getSortedVisibleDatasetMetas().forEach(u=>{const m=a[0].index,p=u.data[m];p&&!p.skip&&l.push({element:p,datasetIndex:u.index,index:m})}),l):[]},dataset(t,n,e,i){const o=Sl(n,t),r=e.axis||"xy",s=e.includeInvisible||!1;let a=e.intersect?v2(t,o,r,i,s):y2(t,o,r,!1,i,s);if(a.length>0){const l=a[0].datasetIndex,u=t.getDatasetMeta(l).data;a=[];for(let m=0;m<u.length;++m)a.push({element:u[m],datasetIndex:l,index:m})}return a},point:(t,n,e,i)=>v2(t,Sl(n,t),e.axis||"xy",i,e.includeInvisible||!1),nearest:(t,n,e,i)=>y2(t,Sl(n,t),e.axis||"xy",e.intersect,i,e.includeInvisible||!1),x:(t,n,e,i)=>V6(t,Sl(n,t),"x",e.intersect,i),y:(t,n,e,i)=>V6(t,Sl(n,t),"y",e.intersect,i)}};const z6=["left","top","right","bottom"];function km(t,n){return t.filter(e=>e.pos===n)}function H6(t,n){return t.filter(e=>-1===z6.indexOf(e.pos)&&e.box.axis===n)}function Mm(t,n){return t.sort((e,i)=>{const o=n?i:e,r=n?e:i;return o.weight===r.weight?o.index-r.index:o.weight-r.weight})}function j6(t,n,e,i){return Math.max(t[e],n[e])+Math.max(t[i],n[i])}function $6(t,n){t.top=Math.max(t.top,n.top),t.left=Math.max(t.left,n.left),t.bottom=Math.max(t.bottom,n.bottom),t.right=Math.max(t.right,n.right)}function Fge(t,n,e,i){const{pos:o,box:r}=e,s=t.maxPadding;if(!_t(o)){e.size&&(t[o]-=e.size);const p=i[e.stack]||{size:0,count:1};p.size=Math.max(p.size,e.horizontal?r.height:r.width),e.size=p.size/p.count,t[o]+=e.size}r.getPadding&&$6(s,r.getPadding());const a=Math.max(0,n.outerWidth-j6(s,t,"left","right")),l=Math.max(0,n.outerHeight-j6(s,t,"top","bottom")),u=a!==t.w,m=l!==t.h;return t.w=a,t.h=l,e.horizontal?{same:u,other:m}:{same:m,other:u}}function Nge(t,n){const e=n.maxPadding;return function i(o){const r={left:0,top:0,right:0,bottom:0};return o.forEach(s=>{r[s]=Math.max(n[s],e[s])}),r}(t?["left","right"]:["top","bottom"])}function Dm(t,n,e,i){const o=[];let r,s,a,l,u,m;for(r=0,s=t.length,u=0;r<s;++r){a=t[r],l=a.box,l.update(a.width||n.w,a.height||n.h,Nge(a.horizontal,n));const{same:p,other:f}=Fge(n,e,a,i);u|=p&&o.length,m=m||f,l.fullSize||o.push(a)}return u&&Dm(o,n,e,i)||m}function lb(t,n,e,i,o){t.top=e,t.left=n,t.right=n+i,t.bottom=e+o,t.width=i,t.height=o}function U6(t,n,e,i){const o=e.padding;let{x:r,y:s}=n;for(const a of t){const l=a.box,u=i[a.stack]||{count:1,placed:0,weight:1},m=a.stackWeight/u.weight||1;if(a.horizontal){const p=n.w*m,f=u.size||l.height;pm(u.start)&&(s=u.start),l.fullSize?lb(l,o.left,s,e.outerWidth-o.right-o.left,f):lb(l,n.left+u.placed,s,p,f),u.start=s,u.placed+=p,s=l.bottom}else{const p=n.h*m,f=u.size||l.width;pm(u.start)&&(r=u.start),l.fullSize?lb(l,r,o.top,f,e.outerHeight-o.bottom-o.top):lb(l,r,n.top+u.placed,f,p),u.start=r,u.placed+=p,r=l.right}}n.x=r,n.y=s}var Cn={addBox(t,n){t.boxes||(t.boxes=[]),n.fullSize=n.fullSize||!1,n.position=n.position||"top",n.weight=n.weight||0,n._layers=n._layers||function(){return[{z:0,draw(e){n.draw(e)}}]},t.boxes.push(n)},removeBox(t,n){const e=t.boxes?t.boxes.indexOf(n):-1;-1!==e&&t.boxes.splice(e,1)},configure(t,n,e){n.fullSize=e.fullSize,n.position=e.position,n.weight=e.weight},update(t,n,e,i){if(!t)return;const o=xn(t.options.layout.padding),r=Math.max(n-o.width,0),s=Math.max(e-o.height,0),a=function Rge(t){const n=function Age(t){const n=[];let e,i,o,r,s,a;for(e=0,i=(t||[]).length;e<i;++e)o=t[e],({position:r,options:{stack:s,stackWeight:a=1}}=o),n.push({index:e,box:o,pos:r,horizontal:o.isHorizontal(),weight:o.weight,stack:s&&r+s,stackWeight:a});return n}(t),e=Mm(n.filter(u=>u.box.fullSize),!0),i=Mm(km(n,"left"),!0),o=Mm(km(n,"right")),r=Mm(km(n,"top"),!0),s=Mm(km(n,"bottom")),a=H6(n,"x"),l=H6(n,"y");return{fullSize:e,leftAndTop:i.concat(r),rightAndBottom:o.concat(l).concat(s).concat(a),chartArea:km(n,"chartArea"),vertical:i.concat(o).concat(l),horizontal:r.concat(s).concat(a)}}(t.boxes),l=a.vertical,u=a.horizontal;Ft(t.boxes,w=>{"function"==typeof w.beforeLayout&&w.beforeLayout()});const m=l.reduce((w,C)=>C.box.options&&!1===C.box.options.display?w:w+1,0)||1,p=Object.freeze({outerWidth:n,outerHeight:e,padding:o,availableWidth:r,availableHeight:s,vBoxMaxWidth:r/2/m,hBoxMaxHeight:s/2}),f=Object.assign({},o);$6(f,xn(i));const _=Object.assign({maxPadding:f,w:r,h:s,x:o.left,y:o.top},o),y=function Oge(t,n){const e=function Pge(t){const n={};for(const e of t){const{stack:i,pos:o,stackWeight:r}=e;if(!i||!z6.includes(o))continue;const s=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=r}return n}(t),{vBoxMaxWidth:i,hBoxMaxHeight:o}=n;let r,s,a;for(r=0,s=t.length;r<s;++r){a=t[r];const{fullSize:l}=a.box,u=e[a.stack],m=u&&a.stackWeight/u.weight;a.horizontal?(a.width=m?m*i:l&&n.availableWidth,a.height=o):(a.width=i,a.height=m?m*o:l&&n.availableHeight)}return e}(l.concat(u),p);Dm(a.fullSize,_,p,y),Dm(l,_,p,y),Dm(u,_,p,y)&&Dm(l,_,p,y),function Lge(t){const n=t.maxPadding;function e(i){const o=Math.max(n[i]-t[i],0);return t[i]+=o,o}t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}(_),U6(a.leftAndTop,_,p,y),_.x+=_.w,_.y+=_.h,U6(a.rightAndBottom,_,p,y),t.chartArea={left:_.left,top:_.top,right:_.left+_.w,bottom:_.top+_.h,height:_.h,width:_.w},Ft(a.chartArea,w=>{const C=w.box;Object.assign(C,t.chartArea),C.update(_.w,_.h,{left:0,top:0,right:0,bottom:0})})}};class W6{acquireContext(n,e){}releaseContext(n){return!1}addEventListener(n,e,i){}removeEventListener(n,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(n,e,i,o){return e=Math.max(0,e||n.width),i=i||n.height,{width:e,height:Math.max(0,o?Math.floor(e/o):i)}}isAttached(n){return!0}updateConfig(n){}}class Bge extends W6{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=!1}}const cb="$chartjs",Vge={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},G6=t=>null===t||""===t,q6=!!Vfe&&{passive:!0};function jge(t,n,e){t&&t.canvas&&t.canvas.removeEventListener(n,e,q6)}function db(t,n){for(const e of t)if(e===n||e.contains(n))return!0}function Uge(t,n,e){const i=t.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||db(a.addedNodes,i),s=s&&!db(a.removedNodes,i);s&&e()});return o.observe(document,{childList:!0,subtree:!0}),o}function Wge(t,n,e){const i=t.canvas,o=new MutationObserver(r=>{let s=!1;for(const a of r)s=s||db(a.removedNodes,i),s=s&&!db(a.addedNodes,i);s&&e()});return o.observe(document,{childList:!0,subtree:!0}),o}const Sm=new Map;let Y6=0;function Z6(){const t=window.devicePixelRatio;t!==Y6&&(Y6=t,Sm.forEach((n,e)=>{e.currentDevicePixelRatio!==t&&n()}))}function Yge(t,n,e){const i=t.canvas,o=i&&m2(i);if(!o)return;const r=ZL((a,l)=>{const u=o.clientWidth;e(a,l),u<o.clientWidth&&e()},window),s=new ResizeObserver(a=>{const l=a[0],u=l.contentRect.width,m=l.contentRect.height;0===u&&0===m||r(u,m)});return s.observe(o),function Gge(t,n){Sm.size||window.addEventListener("resize",Z6),Sm.set(t,n)}(t,r),s}function w2(t,n,e){e&&e.disconnect(),"resize"===n&&function qge(t){Sm.delete(t),Sm.size||window.removeEventListener("resize",Z6)}(t)}function Zge(t,n,e){const i=t.canvas,o=ZL(r=>{null!==t.ctx&&e(function $ge(t,n){const e=Vge[t.type]||t.type,{x:i,y:o}=Sl(t,n);return{type:e,chart:n,native:t,x:void 0!==i?i:null,y:void 0!==o?o:null}}(r,t))},t);return function Hge(t,n,e){t&&t.addEventListener(n,e,q6)}(i,n,o),o}class Kge extends W6{acquireContext(n,e){const i=n&&n.getContext&&n.getContext("2d");
vendor: 7,433 bytes, line 1
1return i&&i.canvas===n?(function zge(t,n){const e=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[cb]={initial:{height:i,width:o,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",G6(o)){const r=g6(t,"width");void 0!==r&&(t.width=r)}if(G6(i))if(""===t.style.height)t.height=t.width/(n||2);else{const r=g6(t,"height");void 0!==r&&(t.height=r)}}(n,e),i):null}releaseContext(n){const e=n.canvas;if(!e[cb])return!1;const i=e[cb].initial;["height","width"].forEach(r=>{const s=i[r];Ct(s)?e.removeAttribute(r):e.setAttribute(r,s)});const o=i.style||{};return Object.keys(o).forEach(r=>{e.style[r]=o[r]}),e.width=e.width,delete e[cb],!0}addEventListener(n,e,i){this.removeEventListener(n,e),(n.$proxies||(n.$proxies={}))[e]=({attach:Uge,detach:Wge,resize:Yge}[e]||Zge)(n,e,i)}removeEventListener(n,e){const i=n.$proxies||(n.$proxies={}),o=i[e];o&&(({attach:w2,detach:w2,resize:w2}[e]||jge)(n,e,o),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,e,i,o){return function Bfe(t,n,e,i){const o=sb(t),r=Dl(o,"margin"),s=rb(o.maxWidth,t,"clientWidth")||X_,a=rb(o.maxHeight,t,"clientHeight")||X_,l=function Nfe(t,n,e){let i,o;if(void 0===n||void 0===e){const r=t&&m2(t);if(r){const s=r.getBoundingClientRect(),a=sb(r),l=Dl(a,"border","width"),u=Dl(a,"padding");n=s.width-u.width-l.width,e=s.height-u.height-l.height,i=rb(a.maxWidth,r,"clientWidth"),o=rb(a.maxHeight,r,"clientHeight")}else n=t.clientWidth,e=t.clientHeight}return{width:n,height:e,maxWidth:i||X_,maxHeight:o||X_}}(t,n,e);let{width:u,height:m}=l;if("content-box"===o.boxSizing){const f=Dl(o,"border","width"),_=Dl(o,"padding");u-=_.width+f.width,m-=_.height+f.height}return u=Math.max(0,u-r.width),m=Math.max(0,i?u/i:m-r.height),u=ab(Math.min(u,s,l.maxWidth)),m=ab(Math.min(m,a,l.maxHeight)),u&&!m&&(m=ab(u/2)),(void 0!==n||void 0!==e)&&i&&l.height&&m>l.height&&(m=l.height,u=ab(Math.floor(m*i))),{width:u,height:m}}(n,e,i,o)}isAttached(n){const e=n&&m2(n);return!(!e||!e.isConnected)}}class Cs{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(n){const{x:e,y:i}=this.getProps(["x","y"],n);return{x:e,y:i}}hasValue(){return Td(this.x)&&Td(this.y)}getProps(n,e){const i=this.$animations;if(!e||!i)return this;const o={};return n.forEach(r=>{o[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),o}}function ub(t,n,e,i,o){const r=rt(i,0),s=Math.min(rt(o,t.length),t.length);let l,u,m,a=0;for(e=Math.ceil(e),o&&(l=o-i,e=l/Math.floor(l/e)),m=r;m<0;)a++,m=Math.round(r+a*e);for(u=Math.max(r,0);u<s;u++)u===m&&(n.push(t[u]),a++,m=Math.round(r+a*e))}const K6=(t,n,e)=>"top"===n||"left"===n?t[n]+e:t[n]-e,Q6=(t,n)=>Math.min(n||t,t);function X6(t,n){const e=[],i=t.length/n,o=t.length;let r=0;for(;r<o;r+=i)e.push(t[Math.floor(r)]);return e}function r_e(t,n,e){const i=t.ticks.length,o=Math.min(n,i-1),r=t._startPixel,s=t._endPixel,a=1e-6;let u,l=t.getPixelForTick(o);if(!(e&&(u=1===i?Math.max(l-r,s-l):0===n?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(o-1))/2,l+=o<n?u:-u,l<r-a||l>s+a)))return l}function Em(t){return t.drawTicks?t.tickLength:0}function J6(t,n){if(!t.display)return 0;const e=Ji(t.font,n),i=xn(t.padding);return(oi(t.text)?t.text.length:1)*e.lineHeight+i.height}function c_e(t,n,e){let i=t2(t);return(e&&"right"!==n||!e&&"right"===n)&&(i=(t=>"left"===t?"right":"right"===t?"left":t)(i)),i}class Il extends Cs{constructor(n){super(),this.id=n.id,this.type=n.type,this.options=void 0,this.ctx=n.ctx,this.chart=n.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(n){this.options=n.setContext(this.getContext()),this.axis=n.axis,this._userMin=this.parse(n.min),this._userMax=this.parse(n.max),this._suggestedMin=this.parse(n.suggestedMin),this._suggestedMax=this.parse(n.suggestedMax)}parse(n,e){return n}getUserBounds(){let{_userMin:n,_userMax:e,_suggestedMin:i,_suggestedMax:o}=this;return n=fo(n,Number.POSITIVE_INFINITY),e=fo(e,Number.NEGATIVE_INFINITY),i=fo(i,Number.POSITIVE_INFINITY),o=fo(o,Number.NEGATIVE_INFINITY),{min:fo(n,i),max:fo(e,o),minDefined:Ci(n),maxDefined:Ci(e)}}getMinMax(n){let s,{min:e,max:i,minDefined:o,maxDefined:r}=this.getUserBounds();if(o&&r)return{min:e,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,u=a.length;l<u;++l)s=a[l].controller.getMinMax(this,n),o||(e=Math.min(e,s.min)),r||(i=Math.max(i,s.max));return e=r&&e>i?i:e,i=o&&e>i?e:i,{min:fo(e,fo(i,e)),max:fo(i,fo(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}getLabelItems(n=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(n))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Kt(this.options.beforeUpdate,[this])}update(n,e,i){const{beginAtZero:o,grace:r,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=n,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function gfe(t,n,e){const{min:i,max:o}=t,r=LL(n,(o-i)/2),s=(a,l)=>e&&0===a?0:a+l;return{min:s(i,-Math.abs(r)),max:s(o,r)}}(this,r,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?X6(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||"auto"===s.source)&&(this.ticks=function Xge(t,n){const e=t.options.ticks,i=function Jge(t){const n=t.options.offset,e=t._tickSize();return Math.floor(Math.min(t._length/e+(n?0:1),t._maxLength/e))}(t),o=Math.min(e.maxTicksLimit||i,i),r=e.major.enabled?function t_e(t){const n=[];let e,i;for(e=0,i=t.length;e<i;e++)t[e].major&&n.push(e);return n}(n):[],s=r.length,a=r[0],l=r[s-1],u=[];if(s>o)return function i_e(t,n,e,i){let s,o=0,r=e[0];for(i=Math.ceil(i),s=0;s<t.length;s++)s===r&&(n.push(t[s]),o++,r=e[o*i])}(n,u,r,s/o),u;const m=function e_e(t,n,e){const i=function n_e(t){const n=t.length;let e,i;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i}(t),o=n.length/e;if(!i)return Math.max(o,1);
vendor: 5,514 bytes, line 1
1const r=function jpe(t){const n=[],e=Math.sqrt(t);let i;for(i=1;i<e;i++)t%i==0&&(n.push(i),n.push(t/i));return e===(0|e)&&n.push(e),n.sort((o,r)=>o-r).pop(),n}(i);for(let s=0,a=r.length-1;s<a;s++){const l=r[s];if(l>o)return l}return Math.max(o,1)}(r,n,o);if(s>0){let p,f;const _=s>1?Math.round((l-a)/(s-1)):null;for(ub(n,u,m,Ct(_)?0:a-_,a),p=0,f=s-1;p<f;p++)ub(n,u,m,r[p],r[p+1]);return ub(n,u,m,l,Ct(_)?n.length:l+_),u}return ub(n,u,m),u}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,i,n=this.options.reverse;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,n=!n),this._startPixel=e,this._endPixel=i,this._reversePixels=n,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Kt(this.options.afterUpdate,[this])}beforeSetDimensions(){Kt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Kt(this.options.afterSetDimensions,[this])}_callHooks(n){this.chart.notifyPlugins(n,this.getContext()),Kt(this.options[n],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Kt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(n){const e=this.options.ticks;let i,o,r;for(i=0,o=n.length;i<o;i++)r=n[i],r.label=Kt(e.callback,[r.value,i,n],this)}afterTickToLabelConversion(){Kt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Kt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const n=this.options,e=n.ticks,i=Q6(this.ticks.length,n.ticks.maxTicksLimit),o=e.minRotation||0,r=e.maxRotation;let a,l,u,s=o;if(!this._isVisible()||!e.display||o>=r||i<=1||!this.isHorizontal())return void(this.labelRotation=o);const m=this._getLabelSizes(),p=m.widest.width,f=m.highest.height,_=sn(this.chart.width-p,0,this.maxWidth);a=n.offset?this.maxWidth/i:_/(i-1),p+6>a&&(a=_/(i-(n.offset?.5:1)),l=this.maxHeight-Em(n.grid)-e.padding-J6(n.title,this.chart.options.font),u=Math.sqrt(p*p+f*f),s=XC(Math.min(Math.asin(sn((m.highest.height+6)/a,-1,1)),Math.asin(sn(l/u,-1,1))-Math.asin(sn(f/u,-1,1)))),s=Math.max(o,Math.min(r,s))),this.labelRotation=s}afterCalculateLabelRotation(){Kt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Kt(this.options.beforeFit,[this])}fit(){const n={width:0,height:0},{chart:e,options:{ticks:i,title:o,grid:r}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=J6(o,e.options.font);if(a?(n.width=this.maxWidth,n.height=Em(r)+l):(n.height=this.maxHeight,n.width=Em(r)+l),i.display&&this.ticks.length){const{first:u,last:m,widest:p,highest:f}=this._getLabelSizes(),_=2*i.padding,y=qo(this.labelRotation),w=Math.cos(y),C=Math.sin(y);a?n.height=Math.min(this.maxHeight,n.height+(i.mirror?0:C*p.width+w*f.height)+_):n.width=Math.min(this.maxWidth,n.width+(i.mirror?0:w*p.width+C*f.height)+_),this._calculatePadding(u,m,C,w)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=n.height):(this.width=n.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(n,e,i,o){const{ticks:{align:r,padding:s},position:a}=this.options,l=0!==this.labelRotation,u="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const m=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,_=0;l?u?(f=o*n.width,_=i*e.height):(f=i*n.height,_=o*e.width):"start"===r?_=e.width:"end"===r?f=n.width:"inner"!==r&&(f=n.width/2,_=e.width/2),this.paddingLeft=Math.max((f-m+s)*this.width/(this.width-m),0),this.paddingRight=Math.max((_-p+s)*this.width/(this.width-p),0)}else{let m=e.height/2,p=n.height/2;"start"===r?(m=0,p=n.height):"end"===r&&(m=e.height,p=0),this.paddingTop=m+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Kt(this.options.afterFit,[this])}isHorizontal(){const{axis:n,position:e}=this.options;return"top"===e||"bottom"===e||"x"===n}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(n),e=0,i=n.length;e<i;e++)Ct(n[e].label)&&(n.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let n=this._labelSizes;if(!n){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=X6(i,e)),this._labelSizes=n=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return n}_computeLabelSizes(n,e,i){const{ctx:o,_longestTextCache:r}=this,s=[],a=[],l=Math.floor(e/Q6(e,i));let p,f,_,y,w,C,D,M,I,P,F,u=0,m=0;for(p=0;p<e;p+=l){if(y=n[p].label,w=this._resolveTickFontOptions(p),o.font=C=w.string,D=r[C]=r[C]||{data:{},gc:[]},M=w.lineHeight,I=P=0,Ct(y)||oi(y)){if(oi(y))for(f=0,_=y.length;f<_;
vendor: 10,643 bytes, line 1
1++f)F=y[f],!Ct(F)&&!oi(F)&&(I=tb(o,D.data,D.gc,I,F),P+=M)}else I=tb(o,D.data,D.gc,I,y),P=M;s.push(I),a.push(P),u=Math.max(I,u),m=Math.max(P,m)}!function s_e(t,n){Ft(t,e=>{const i=e.gc,o=i.length/2;let r;if(o>n){for(r=0;r<o;++r)delete e.data[i[r]];i.splice(0,o)}})}(r,e);const L=s.indexOf(u),K=a.indexOf(m),Q=oe=>({width:s[oe]||0,height:a[oe]||0});return{first:Q(0),last:Q(e-1),widest:Q(L),highest:Q(K),widths:s,heights:a}}getLabelForValue(n){return n}getPixelForValue(n,e){return NaN}getValueForPixel(n){}getPixelForTick(n){const e=this.ticks;return n<0||n>e.length-1?null:this.getPixelForValue(e[n].value)}getPixelForDecimal(n){this._reversePixels&&(n=1-n);const e=this._startPixel+n*this._length;return function Wpe(t){return sn(t,-32768,32767)}(this._alignToPixels?Cl(this.chart,e,0):e)}getDecimalForPixel(n){const e=(n-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:n,max:e}=this;return n<0&&e<0?e:n>0&&e>0?n:0}getContext(n){const e=this.ticks||[];if(n>=0&&n<e.length){const i=e[n];return i.$context||(i.$context=function l_e(t,n,e){return ma(t,{tick:e,index:n,type:"tick"})}(this.getContext(),n,i))}return this.$context||(this.$context=function a_e(t,n){return ma(t,{scale:n,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const n=this.options.ticks,e=qo(this.labelRotation),i=Math.abs(Math.cos(e)),o=Math.abs(Math.sin(e)),r=this._getLabelSizes(),s=n.autoSkipPadding||0,a=r?r.widest.width+s:0,l=r?r.highest.height+s:0;return this.isHorizontal()?l*i>a*o?a/i:l/o:l*o<a*i?l/i:a/o}_isVisible(){const n=this.options.display;return"auto"!==n?!!n:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(n){const e=this.axis,i=this.chart,o=this.options,{grid:r,position:s,border:a}=o,l=r.offset,u=this.isHorizontal(),p=this.ticks.length+(l?1:0),f=Em(r),_=[],y=a.setContext(this.getContext()),w=y.display?y.width:0,C=w/2,D=function(W){return Cl(i,W,w)};let M,I,P,F,L,K,Q,oe,ye,Se,ee,we;if("top"===s)M=D(this.bottom),K=this.bottom-f,oe=M-C,Se=D(n.top)+C,we=n.bottom;else if("bottom"===s)M=D(this.top),Se=n.top,we=D(n.bottom)-C,K=M+C,oe=this.top+f;else if("left"===s)M=D(this.right),L=this.right-f,Q=M-C,ye=D(n.left)+C,ee=n.right;else if("right"===s)M=D(this.left),ye=n.left,ee=D(n.right)-C,L=M+C,Q=this.left+f;else if("x"===e){if("center"===s)M=D((n.top+n.bottom)/2+.5);else if(_t(s)){const W=Object.keys(s)[0];M=D(this.chart.scales[W].getPixelForValue(s[W]))}Se=n.top,we=n.bottom,K=M+C,oe=K+f}else if("y"===e){if("center"===s)M=D((n.left+n.right)/2);else if(_t(s)){const W=Object.keys(s)[0];M=D(this.chart.scales[W].getPixelForValue(s[W]))}L=M-C,Q=L-f,ye=n.left,ee=n.right}const Pe=rt(o.ticks.maxTicksLimit,p),Ce=Math.max(1,Math.ceil(p/Pe));for(I=0;I<p;I+=Ce){const W=this.getContext(I),J=r.setContext(W),le=a.setContext(W),he=J.lineWidth,Ye=J.color,It=le.dash||[],dt=le.dashOffset,Oi=J.tickWidth,st=J.tickColor,Ri=J.tickBorderDash||[],an=J.tickBorderDashOffset;P=r_e(this,I,l),void 0!==P&&(F=Cl(i,P,he),u?L=Q=ye=ee=F:K=oe=Se=we=F,_.push({tx1:L,ty1:K,tx2:Q,ty2:oe,x1:ye,y1:Se,x2:ee,y2:we,width:he,color:Ye,borderDash:It,borderDashOffset:dt,tickWidth:Oi,tickColor:st,tickBorderDash:Ri,tickBorderDashOffset:an}))}return this._ticksLength=p,this._borderValue=M,_}_computeLabelItems(n){const e=this.axis,i=this.options,{position:o,ticks:r}=i,s=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:u,padding:m,mirror:p}=r,f=Em(i.grid),_=f+m,y=p?-m:_,w=-qo(this.labelRotation),C=[];let D,M,I,P,F,L,K,Q,oe,ye,Se,ee,we="middle";if("top"===o)L=this.bottom-y,K=this._getXAxisLabelAlignment();else if("bottom"===o)L=this.top+y,K=this._getXAxisLabelAlignment();else if("left"===o){const Ce=this._getYAxisLabelAlignment(f);K=Ce.textAlign,F=Ce.x}else if("right"===o){const Ce=this._getYAxisLabelAlignment(f);K=Ce.textAlign,F=Ce.x}else if("x"===e){if("center"===o)L=(n.top+n.bottom)/2+_;else if(_t(o)){const Ce=Object.keys(o)[0];L=this.chart.scales[Ce].getPixelForValue(o[Ce])+_}K=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===o)F=(n.left+n.right)/2-_;else if(_t(o)){const Ce=Object.keys(o)[0];F=this.chart.scales[Ce].getPixelForValue(o[Ce])}K=this._getYAxisLabelAlignment(f).textAlign}"y"===e&&("start"===l?we="top":"end"===l&&(we="bottom"));const Pe=this._getLabelSizes();for(D=0,M=a.length;D<M;++D){I=a[D],P=I.label;const Ce=r.setContext(this.getContext(D));Q=this.getPixelForTick(D)+r.labelOffset,oe=this._resolveTickFontOptions(D),ye=oe.lineHeight,Se=oi(P)?P.length:1;const W=Se/2,J=Ce.color,le=Ce.textStrokeColor,he=Ce.textStrokeWidth;let It,Ye=K;if(s?(F=Q,"inner"===K&&(Ye=D===M-1?this.options.reverse?"left":"right":0===D?this.options.reverse?"right":"left":"center"),ee="top"===o?"near"===u||0!==w?-Se*ye+ye/2:"center"===u?-Pe.highest.height/2-W*ye+ye:ye/2-Pe.highest.height:"near"===u||0!==w?ye/2:"center"===u?Pe.highest.height/2-W*ye:Pe.highest.height-Se*ye,p&&(ee*=-1),0!==w&&!Ce.showLabelBackdrop&&(F+=ye/2*Math.sin(w))):(L=Q,ee=(1-Se)*ye/2),Ce.showLabelBackdrop){const dt=xn(Ce.backdropPadding),Oi=Pe.heights[D],st=Pe.widths[D];let Ri=ee-dt.top,an=0-dt.left;switch(we){case"middle":Ri-=Oi/2;break;case"bottom":Ri-=Oi}switch(K){case"center":an-=st/2;break;case"right":an-=st;break;case"inner":D===M-1?an-=st:D>0&&(an-=st/2)}It={left:an,top:Ri,width:st+dt.width,height:Oi+dt.height,color:Ce.backdropColor}}C.push({label:P,font:oe,textOffset:ee,options:{rotation:w,color:J,strokeColor:le,strokeWidth:he,textAlign:Ye,textBaseline:we,translation:[F,L],backdrop:It}})}return C}_getXAxisLabelAlignment(){const{position:n,ticks:e}=this.options;if(-qo(this.labelRotation))return"top"===n?"left":"right";let o="center";return"start"===e.align?o="left":"end"===e.align?o="right":"inner"===e.align&&(o="inner"),o}_getYAxisLabelAlignment(n){const{position:e,ticks:{crossAlign:i,mirror:o,padding:r}}=this.options,a=n+r,l=this._getLabelSizes().widest.width;let u,m;return"left"===e?o?(m=this.right+r,"near"===i?u="left":"center"===i?(u="center",m+=l/2):(u="right",m+=l)):(m=this.right-a,"near"===i?u="right":"center"===i?(u="center",m-=l/2):(u="left",m=this.left)):"right"===e?o?(m=this.left+r,"near"===i?u="right":"center"===i?(u="center",m-=l/2):(u="left",m-=l)):(m=this.left+a,"near"===i?u="left":"center"===i?(u="center",m+=l/2):(u="right",m=this.right)):u="right",{textAlign:u,x:m}}_computeLabelArea(){if(this.options.ticks.mirror)return;const n=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:n.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:n.width}:void 0}drawBackground(){const{ctx:n,options:{backgroundColor:e},left:i,top:o,width:r,height:s}=this;e&&(n.save(),n.fillStyle=e,n.fillRect(i,o,r,s),n.restore())}getLineWidthForValue(n){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const o=this.ticks.findIndex(r=>r.value===n);return o>=0?e.setContext(this.getContext(o)).lineWidth:0}drawGrid(n){const e=this.options.grid,i=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n));let r,s;const a=(l,u,m)=>{!m.width||!m.color||(i.save(),i.lineWidth=m.width,i.strokeStyle=m.color,i.setLineDash(m.borderDash||[]),i.lineDashOffset=m.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(u.x,u.y),i.stroke(),i.restore())};if(e.display)for(r=0,s=o.length;r<s;++r){const l=o[r];e.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:n,ctx:e,options:{border:i,grid:o}}=this,r=i.setContext(this.getContext()),s=i.display?r.width:0;if(!s)return;const a=o.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let u,m,p,f;this.isHorizontal()?(u=Cl(n,this.left,s)-s/2,m=Cl(n,this.right,a)+a/2,p=f=l):(p=Cl(n,this.top,s)-s/2,f=Cl(n,this.bottom,a)+a/2,u=m=l),e.save(),e.lineWidth=r.width,e.strokeStyle=r.color,e.beginPath(),e.moveTo(u,p),e.lineTo(m,f),e.stroke(),e.restore()}drawLabels(n){if(!this.options.ticks.display)return;const i=this.ctx,o=this._computeLabelArea();o&&ib(i,o);const r=this.getLabelItems(n);for(const s of r)kl(i,s.label,0,s.textOffset,s.font,s.options);o&&nb(i)}drawTitle(){const{ctx:n,options:{position:e,title:i,reverse:o}}=this;if(!i.display)return;const r=Ji(i.font),s=xn(i.padding),a=i.align;let l=r.lineHeight/2;"bottom"===e||"center"===e||_t(e)?(l+=s.bottom,oi(i.text)&&(l+=r.lineHeight*(i.text.length-1))):l+=s.top;const{titleX:u,titleY:m,maxWidth:p,rotation:f}=function d_e(t,n,e,i){const{top:o,left:r,bottom:s,right:a,chart:l}=t,{chartArea:u,scales:m}=l;let f,_,y,p=0;const w=s-o,C=a-r;if(t.isHorizontal()){if(_=wn(i,r,a),_t(e)){const D=Object.keys(e)[0];y=m[D].getPixelForValue(e[D])+w-n}else y="center"===e?(u.bottom+u.top)/2+w-n:K6(t,e,n);f=a-r}else{if(_t(e)){const D=Object.keys(e)[0];_=m[D].getPixelForValue(e[D])-C+n}else _="center"===e?(u.left+u.right)/2-C+n:K6(t,e,n);y=wn(i,s,o),p="left"===e?-Pi:Pi}return{titleX:_,titleY:y,maxWidth:f,rotation:p}}(this,l,e,a);kl(n,i.text,0,0,r,{color:i.color,maxWidth:p,rotation:f,textAlign:c_e(a,e,o),textBaseline:"middle",translation:[u,m]})}draw(n){this._isVisible()&&(this.drawBackground(),this.drawGrid(n),this.drawBorder(),this.drawTitle(),this.drawLabels(n))}_layers(){const n=this.options,e=n.ticks&&n.ticks.z||0,i=rt(n.grid&&n.grid.z,-1),o=rt(n.border&&n.border.z,0);return this._isVisible()&&this.draw===Il.prototype.draw?[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]:[{z:e,draw:r=>{this.draw(r)}}]}getMatchingVisibleMetas(n){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",o=[];let r,s;for(r=0,s=e.length;r<s;++r){const a=e[r];a[i]===this.id&&(!n||a.type===n)&&o.push(a)}return o}_resolveTickFontOptions(n){return Ji(this.options.ticks.setContext(this.getContext(n)).font)}_maxDigits(){const n=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/n}}class hb{constructor(n,e,i){this.type=n,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(n){return Object.prototype.isPrototypeOf.call(this.type.prototype,n.prototype)}register(n){const e=Object.getPrototypeOf(n);let i;(function m_e(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const o=this.items,r=n.id,s=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+n);return r in o||(o[r]=n,function u_e(t,n,e){const i=hm(Object.create(null),[e?ki.get(e):{},ki.get(n),t.defaults]);ki.set(n,i),t.defaultRoutes&&function h_e(t,n){Object.keys(n).forEac
vendor: 4,206 bytes, line 1
1h(e=>{const i=e.split("."),o=i.pop(),r=[t].concat(i).join("."),s=n[e].split("."),a=s.pop(),l=s.join(".");ki.route(r,o,l,a)})}(n,t.defaultRoutes),t.descriptors&&ki.describe(n,t.descriptors)}(n,s,i),this.override&&ki.override(n.id,n.overrides)),s}get(n){return this.items[n]}unregister(n){const e=this.items,i=n.id,o=this.scope;i in e&&delete e[i],o&&i in ki[o]&&(delete ki[o][i],this.override&&delete xl[i])}}class p_e{constructor(){this.controllers=new hb(pa,"datasets",!0),this.elements=new hb(Cs,"elements"),this.plugins=new hb(Object,"plugins"),this.scales=new hb(Il,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,e,i){[...e].forEach(o=>{const r=i||this._getRegistryForType(o);i||r.isForType(o)||r===this.plugins&&o.id?this._exec(n,r,o):Ft(o,s=>{const a=i||this._getRegistryForType(s);this._exec(n,a,s)})})}_exec(n,e,i){const o=QC(n);Kt(i["before"+o],[],i),e[n](i),Kt(i["after"+o],[],i)}_getRegistryForType(n){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(n))return i}return this.plugins}_get(n,e,i){const o=e.get(n);if(void 0===o)throw new Error('"'+n+'" is not a registered '+i+".");return o}}var Tr=new p_e;class f_e{constructor(){this._init=[]}notify(n,e,i,o){"beforeInit"===e&&(this._init=this._createDescriptors(n,!0),this._notify(this._init,n,"install"));const r=o?this._descriptors(n).filter(o):this._descriptors(n),s=this._notify(r,n,e,i);return"afterDestroy"===e&&(this._notify(r,n,"stop"),this._notify(this._init,n,"uninstall")),s}_notify(n,e,i,o){o=o||{};for(const r of n){const s=r.plugin;if(!1===Kt(s[i],[e,o,r.options],s)&&o.cancelable)return!1}return!0}invalidate(){Ct(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(n){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(n);return this._notifyStateChanges(n),e}_createDescriptors(n,e){const i=n&&n.config,o=rt(i.options&&i.options.plugins,{}),r=function g_e(t){const n={},e=[],i=Object.keys(Tr.plugins.items);for(let r=0;r<i.length;r++)e.push(Tr.getPlugin(i[r]));const o=t.plugins||[];for(let r=0;r<o.length;r++){const s=o[r];-1===e.indexOf(s)&&(e.push(s),n[s.id]=!0)}return{plugins:e,localIds:n}}(i);return!1!==o||e?function b_e(t,{plugins:n,localIds:e},i,o){const r=[],s=t.getContext();for(const a of n){const l=a.id,u=__e(i[l],o);null!==u&&r.push({plugin:a,options:v_e(t.config,{plugin:a,local:e[l]},u,s)})}return r}(n,r,o,e):[]}_notifyStateChanges(n){const e=this._oldCache||[],i=this._cache,o=(r,s)=>r.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(o(e,i),n,"stop"),this._notify(o(i,e),n,"start")}}function __e(t,n){return n||!1!==t?!0===t?{}:t:null}function v_e(t,{plugin:n,local:e},i,o){const r=t.pluginScopeKeys(n),s=t.getOptionScopes(i,r);return e&&n.defaults&&s.push(n.defaults),t.createResolver(s,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function x2(t,n){return((n.datasets||{})[t]||{}).indexAxis||n.indexAxis||(ki.datasets[t]||{}).indexAxis||"x"}function eN(t){if("x"===t||"y"===t||"r"===t)return t}function x_e(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function C2(t,...n){if(eN(t))return t;for(const e of n){const i=e.axis||x_e(e.position)||t.length>1&&eN(t[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function tN(t,n,e){if(e[n+"AxisID"]===t)return{axis:n}}
1function iN(t){const n=t.options||(t.options={});n.plugins=rt(n.plugins,{}),n.scales=function k_e(t,n){const e=xl[t.type]||{scales:{}},i=n.scales||{},o=x2(t.type,n),r=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!_t(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=C2(s,a,function C_e(t,n){if(n.data&&n.data.datasets){const e=n.data.datasets.filter(i=>i.xAxisID===t||i.yAxisID===t);if(e.length)return tN(t,"x",e[0])||tN(t,"y",e[0])}return{}}(s,t),ki.scales[a.type]),u=function w_e(t,n){return t===n?"_index_":"_value_"}(l,o),m=e.scales||{};r[s]=mm(Object.create(null),[{axis:l},a,m[l],m[u]])}),t.data.datasets.forEach(s=>{const a=s.type||t.type,l=s.indexAxis||x2(a,n),m=(xl[a]||{}).scales||{};Object.keys(m).forEach(p=>{const f=function y_e(t,n){let e=t;return"_index_"===t?e=n:"_value_"===t&&(e="x"===n?"y":"x"),e}(p,l),_=s[f+"AxisID"]||f;r[_]=r[_]||Object.create(null),mm(r[_],[{axis:f},i[_],m[p]])})}),Object.keys(r).forEach(s=>{const a=r[s];mm(a,[ki.scales[a.type],ki.scale])}),r}(t,n)}function nN(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const oN=new Map,rN=new Set;function mb(t,n){let e=oN.get(t);return e||(e=n(),oN.set(t,e),rN.add(e)),e}const Tm=(t,n,e)=>{const i=da(n,e);void 0!==i&&t.add(i)};class D_e{constructor(n){this._config=function M_e(t){return(t=t||{}).data=nN(t.data),iN(t),t}(n),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=nN(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){const n=this._config;this.clearCache(),iN(n)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(n){return mb(n,()=>[[`datasets.${n}`,""]])}datasetAnimationScopeKeys(n,e){return mb(`${n}.transition.${e}`,()=>[[`datasets.${n}.transitions.${e}`,`transitions.${e}`],[`datasets.${n}`,""]])}datasetElementScopeKeys(n,e){return mb(`${n}-${e}`,()=>[[`datasets.${n}.elements.${e}`,`datasets.${n}`,`elements.${e}`,""]])}pluginScopeKeys(n){const e=n.id;return mb(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...n.additionalOptionScopes||[]]])}_cachedScopes(n,e){const i=this._scopeCache;let o=i.get(n);return(!o||e)&&(o=new Map,i.set(n,o)),o}getOptionScopes(n,e,i){const{options:o,type:r}=this,s=this._cachedScopes(n,i),a=s.get(e);if(a)return a;const l=new Set;e.forEach(m=>{n&&(l.add(n),m.forEach(p=>Tm(l,n,p))),m.forEach(p=>Tm(l,o,p)),m.forEach(p=>Tm(l,xl[r]||{},p)),m.forEach(p=>Tm(l,ki,p)),m.forEach(p=>Tm(l,r2,p))});const u=Array.from(l);return 0===u.length&&u.push(Object.create(null)),rN.has(e)&&s.set(e,u),u}chartOptionScopes(){const{options:n,type:e}=this;return[n,xl[e]||{},ki.datasets[e]||{},{type:e},ki,r2]}resolveNamedOptions(n,e,i,o=[""]){const r={$shared:!0},{resolver:s,subPrefixes:a}=sN(this._resolverCache,n,o);let l=s;(function E_e(t,n){const{isScriptable:e,isIndexable:i}=a6(t);for(const o of n){const r=e(o),s=i(o),a=(s||r)&&t[o];if(r&&(ua(a)||S_e(a))||s&&oi(a))return!0}return!1})(s,e)&&(r.$shared=!1,l=Id(s,i=ua(i)?i():i,this.createResolver(n,i,a)));for(const u of e)r[u]=l[u];return r}createResolver(n,e,i=[""],o){const{resolver:r}=sN(this._resolverCache,n,i);return _t(e)?Id(r,e,void 0,o):r}}function sN(t,n,e){let i=t.get(n);i||(i=new Map,t.set(n,i));const o=e.join();let r=i.get(o);
1return r||(r={resolver:c2(n,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},i.set(o,r)),r}const S_e=t=>_t(t)&&Object.getOwnPropertyNames(t).some(n=>ua(t[n])),I_e=["top","bottom","left","right","chartArea"];function aN(t,n){return"top"===t||"bottom"===t||-1===I_e.indexOf(t)&&"x"===n}function lN(t,n){return function(e,i){return e[t]===i[t]?e[n]-i[n]:e[t]-i[t]}}function cN(t){const n=t.chart,e=n.options.animation;n.notifyPlugins("afterRender"),Kt(e&&e.onComplete,[t],n)}function A_e(t){const n=t.chart,e=n.options.animation;Kt(e&&e.onProgress,[t],n)}function dN(t){return h2()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const pb={},uN=t=>{const n=dN(t);return Object.values(pb).filter(e=>e.canvas===n).pop()};function P_e(t,n,e){const i=Object.keys(t);for(const o of i){const r=+o;if(r>=n){const s=t[o];delete t[o],(e>0||r>n)&&(t[r+e]=s)}}}function fb(t,n,e){return t.options.clip?t[e]:n[e]}let gb=(()=>class t{static defaults=ki;static instances=pb;static overrides=xl;static registry=Tr;static version="4.4.3";static getChart=uN;static register(...e){Tr.add(...e),hN()}static unregister(...e){Tr.remove(...e),hN()}constructor(e,i){const o=this.config=new D_e(i),r=dN(e),s=uN(r);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||function Qge(t){return!h2()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Bge:Kge}(r)),this.platform.updateConfig(o);const l=this.platform.acquireContext(r,a.aspectRatio),u=l&&l.canvas,m=u&&u.height,p=u&&u.width;this.id=Ope(),this.ctx=l,this.canvas=u,this.width=p,this.height=m,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new f_e,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Zpe(t,n){let e;return function(...i){return n?(clearTimeout(e),e=setTimeout(t,n,i)):t.apply(this,i),n}}(f=>this.update(f),a.resizeDelay||0),this._dataChanges=[],pb[this.id]=this,l&&u?(xs.listen(this,"complete",cN),xs.listen(this,"progress",A_e),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:i},width:o,height:r,_aspectRatio:s}=this;return Ct(e)?i&&s?s:r?o/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Tr}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():f6(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return o6(this.canvas,this.ctx),this}stop(){return xs.stop(this),this}resize(e,i){xs.running(this)?this._resizeBeforeDraw={width:e,height:i}:this._resize(e,i)}_resize(e,i){const o=this.options,a=this.platform.getMaximumSize(this.canvas,e,i,o.maintainAspectRatio&&this.aspectRatio),l=o.devicePixelRatio||this.platform.getDevicePixelRatio(),u=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,f6(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),Kt(o.onResize,[this,a],this),this.attached&&this._doResize(u)&&this.render())}ensureScalesHaveIDs(){Ft(this.options.scales||{},(o,r)=>{o.id=r})}buildOrUpdateScales(){const e=this.options,i=e.scales,o=this.scales,r=Object.keys(o).reduce((a,l)=>(a[l]=!1,a),{});let s=[];i&&(s=s.concat(Object.keys(i).map(a=>{const l=i[a],u=C2(a,l),m="r"===u,p="x"===u;return{options:l,dposition:m?"chartArea":p?"bottom":"left",dtype:m?"radialLinear":p?"category":"linear"}}))),Ft(s,a=>{const l=a.options,u=l.id,m=C2(u,l),p=rt(l.type,a.dtype);(void 0===l.position||aN(l.position,m)!==aN(a.dposition))&&(l.position=a.dposition),r[u]=!0;let f=null;u in o&&o[u].type===p?f=o[u]:(f=new(Tr.getScale(p))({id:u,type:p,ctx:this.ctx,
vendor: 9,634 bytes, line 1
1chart:this}),o[f.id]=f),f.init(l,e)}),Ft(r,(a,l)=>{a||delete o[l]}),Ft(o,a=>{Cn.configure(this,a,a.options),Cn.addBox(this,a)})}_updateMetasets(){const e=this._metasets,i=this.data.datasets.length,o=e.length;if(e.sort((r,s)=>r.index-s.index),o>i){for(let r=i;r<o;++r)this._destroyDatasetMeta(r);e.splice(i,o-i)}this._sortedMetasets=e.slice(0).sort(lN("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:i}}=this;e.length>i.length&&delete this._stacks,e.forEach((o,r)=>{0===i.filter(s=>s===o._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],i=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=i.length;o<r;o++){const s=i[o];let a=this.getDatasetMeta(o);const l=s.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(o),a=this.getDatasetMeta(o)),a.type=l,a.indexAxis=s.indexAxis||x2(l,this.options),a.order=s.order||0,a.index=o,a.label=""+s.label,a.visible=this.isDatasetVisible(o),a.controller)a.controller.updateIndex(o),a.controller.linkScales();else{const u=Tr.getController(l),{datasetElementType:m,dataElementType:p}=ki.datasets[l];Object.assign(u,{dataElementType:Tr.getElement(p),datasetElementType:m&&Tr.getElement(m)}),a.controller=new u(this,o),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Ft(this.data.datasets,(e,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const i=this.config;i.update();const o=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let m=0,p=this.data.datasets.length;m<p;m++){const{controller:f}=this.getDatasetMeta(m),_=!r&&-1===s.indexOf(f);f.buildOrUpdateElements(_),a=Math.max(+f.getMaxOverflow(),a)}a=this._minPadding=o.layout.autoPadding?a:0,this._updateLayout(a),r||Ft(s,m=>{m.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(lN("z","_idx"));const{_active:l,_lastEvent:u}=this;u?this._eventHandler(u,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Ft(this.scales,e=>{Cn.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,i=new Set(Object.keys(this._listeners)),o=new Set(e.events);(!VL(i,o)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,i=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:s}of i)P_e(e,r,"_removeElements"===o?-s:s)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const i=this.data.datasets.length,o=s=>new Set(e.filter(a=>a[0]===s).map((a,l)=>l+","+a.splice(1).join(","))),r=o(0);for(let s=1;s<i;s++)if(!VL(r,o(s)))return;return Array.from(r).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Cn.update(this,this.width,this.height,e);const i=this.chartArea,o=i.width<=0||i.height<=0;this._layers=[],Ft(this.boxes,r=>{o&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,s)=>{r._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let i=0,o=this.data.datasets.length;i<o;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,o=this.data.datasets.length;i<o;++i)this._updateDataset(i,ua(e)?e({datasetIndex:i}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,i){const o=this.getDatasetMeta(e),r={meta:o,index:e,mode:i,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(o.controller._update(i),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(xs.has(this)?this.attached&&!xs.running(this)&&xs.start(this):(this.draw(),cN({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resize(o,r),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const i=this._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(this.chartArea);for(this._drawDatasets();e<i.length;++e)i[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const i=this._sortedMetasets,o=[];let r,s;for(r=0,s=i.length;r<s;++r){const a=i[r];(!e||a.visible)&&o.push(a)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let i=e.length-1;i>=0;--i)this._drawDataset(e[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const i=this.ctx,o=e._clip,r=!o.disabled,s=function R_e(t,n){const{xScale:e,yScale:i}=t;return e&&i?{left:fb(e,n,"left"),right:fb(e,n,"right"),top:fb(i,n,"top"),bottom:fb(i,n,"bottom")}:n}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(r&&ib(i,{left:!1===o.left?0:s.left-o.left,right:!1===o.right?this.width:s.right+o.right,top:!1===o.top?0:s.top-o.top,bottom:!1===o.bottom?this.height:s.bottom+o.bottom}),e.controller.draw(),r&&nb(i),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return ws(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,i,o,r){const s=Ige.modes[i];return"function"==typeof s?s(this,e,o,r):[]}getDatasetMeta(e){const i=this.data.datasets[e],o=this._metasets;let r=o.filter(s=>s&&s._dataset===i).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:e,_dataset:i,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=ma(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const i=this.data.datasets[e];if(!i)return!1;const o=this.getDatasetMeta(e);return"boolean"==typeof o.hidden?!o.hidden:!i.hidden}setDatasetVisibility(e,i){this.getDatasetMeta(e).hidden=!i}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,i,o){const r=o?"show":"hide",s=this.getDatasetMeta(e),a=s.controller._resolveAnimations(void 0,r);pm(i)?(s.data[i].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),a.update(s,{visible:o}),this.update(l=>l.datasetIndex===e?r:void 0))}hide(e,i){this._updateVisibility(e,i,!1)}show(e,i){this._updateVisibility(e,i,!0)}_destroyDatasetMeta(e){const i=this._metasets[e];i&&i.controller&&i.controller._destroy(),delete this._metasets[e]}_stop(){let e,i;for(this.stop(),xs.remove(this),e=0,i=this.data.datasets.length;e<i;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:i}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),o6(e,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete pb[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,i=this.platform,o=(s,a)=>{i.addEventListener(this,s,a),e[s]=a},r=(s,a,l)=>{s.offsetX=a,s.offsetY=l,this._eventHandler(s)};Ft(this.options.events,s=>o(s,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,i=this.platform,o=(u,m)=>{i.addEventListener(this,u,m),e[u]=m},r=(u,m)=>{e[u]&&(i.removeEventListener(this,u,m),delete e[u])},s=(u,m)=>{this.canvas&&this.resize(u,m)};let a;const l=()=>{r("attach",l),this.attached=!0,this.resize(),o("resize",s),o("detach",a)};a=()=>{this.attached=!1,r("resize",s),this._stop(),this._resize(0,0),o("attach",l)},i.isAttached(this.canvas)?l():a()}unbindEvents(){Ft(this._listeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._listeners={},Ft(this._responsiveListeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,i,o){const r=o?"set":"remove";let s,a,l,u;for("dataset"===i&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+r+"DatasetHoverStyle"]()),l=0,u=e.length;l<u;++l){a=e[l];const m=a&&this.getDatasetMeta(a.datasetIndex).controller;m&&m[r+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const i=this._active||[],o=e.map(({datasetIndex:s,index:a})=>{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[a],index:a}});!K_(o,i)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,i))}notifyPlugins(e,i,o){return this._plugins.notify(this,e,i,o)}isPluginEnabled(e){return 1===this._plugins._cache.filter(i=>i.plugin.id===e).length}_updateHoverStyles(e,i,o){const r=this.options.hover,s=(u,m)=>u.filter(p=>!m.some(f=>p.datasetIndex===f.datasetIndex&&p.index===f.index)),a=s(i,e),l=o?e:s(e,i);a.length&&this.updateHoverStyle(a,r.mode,!1),l.length&&r.mode&&this.updateHoverStyle(l,r.mode,!0)}
1_eventHandler(e,i){const o={event:e,replay:i,cancelable:!0,inChartArea:this.isPointInArea(e)},r=a=>(a.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",o,r))return;const s=this._handleEvent(e,i,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(s||o.changed)&&this.render(),this}_handleEvent(e,i,o){const{_active:r=[],options:s}=this,l=this._getActiveElements(e,r,o,i),u=function Vpe(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(e),m=function O_e(t,n,e,i){return e&&"mouseout"!==t.type?i?n:t:null}(e,this._lastEvent,o,u);o&&(this._lastEvent=null,Kt(s.onHover,[e,l,this],this),u&&Kt(s.onClick,[e,l,this],this));const p=!K_(l,r);return(p||i)&&(this._active=l,this._updateHoverStyles(l,r,i)),this._lastEvent=m,p}_getActiveElements(e,i,o,r){if("mouseout"===e.type)return[];if(!o)return i;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,r)}})();function hN(){return Ft(gb.instances,t=>t._plugins.invalidate())}function Od(t,n,e,i){return{x:e+t*Math.cos(n),y:i+t*Math.sin(n)}}function _b(t,n,e,i,o,r){const{x:s,y:a,startAngle:l,pixelMargin:u,innerRadius:m}=n,p=Math.max(n.outerRadius+i+e-u,0),f=m>0?m+i+e+u:0;let _=0;const y=o-l;if(i){const J=((m>0?m-i:0)+(p>0?p-i:0))/2;_=(y-(0!==J?y*J/(J+i):y))/2}const C=(y-Math.max(.001,y*p-e/ri)/p)/2,D=l+C+_,M=o-C-_,{outerStart:I,outerEnd:P,innerStart:F,innerEnd:L}=function N_e(t,n,e,i){const o=function L_e(t){return l2(t,["outerStart","outerEnd","innerStart","innerEnd"])}(t.options.borderRadius),r=(e-n)/2,s=Math.min(r,i*n/2),a=l=>{const u=(e-Math.min(r,l))*i/2;return sn(l,0,Math.min(r,u))};return{outerStart:a(o.outerStart),outerEnd:a(o.outerEnd),innerStart:sn(o.innerStart,0,s),innerEnd:sn(o.innerEnd,0,s)}}(n,f,p,M-D),K=p-I,Q=p-P,oe=D+I/K,ye=M-P/Q,Se=f+F,ee=f+L,we=D+F/Se,Pe=M-L/ee;if(t.beginPath(),r){const Ce=(oe+ye)/2;if(t.arc(s,a,p,oe,Ce),t.arc(s,a,p,Ce,ye),P>
vendor: 9,990 bytes, line 1
10){const he=Od(Q,ye,s,a);t.arc(he.x,he.y,P,ye,M+Pi)}const W=Od(ee,M,s,a);if(t.lineTo(W.x,W.y),L>0){const he=Od(ee,Pe,s,a);t.arc(he.x,he.y,L,M+Pi,Pe+Math.PI)}const J=(M-L/f+(D+F/f))/2;if(t.arc(s,a,f,M-L/f,J,!0),t.arc(s,a,f,J,D+F/f,!0),F>0){const he=Od(Se,we,s,a);t.arc(he.x,he.y,F,we+Math.PI,D-Pi)}const le=Od(K,D,s,a);if(t.lineTo(le.x,le.y),I>0){const he=Od(K,oe,s,a);t.arc(he.x,he.y,I,D-Pi,oe)}}else{t.moveTo(s,a);const Ce=Math.cos(oe)*p+s,W=Math.sin(oe)*p+a;t.lineTo(Ce,W);const J=Math.cos(ye)*p+s,le=Math.sin(ye)*p+a;t.lineTo(J,le)}t.closePath()}function mN(t,n,e=n){t.lineCap=rt(e.borderCapStyle,n.borderCapStyle),t.setLineDash(rt(e.borderDash,n.borderDash)),t.lineDashOffset=rt(e.borderDashOffset,n.borderDashOffset),t.lineJoin=rt(e.borderJoinStyle,n.borderJoinStyle),t.lineWidth=rt(e.borderWidth,n.borderWidth),t.strokeStyle=rt(e.borderColor,n.borderColor)}function H_e(t,n,e){t.lineTo(e.x,e.y)}function pN(t,n,e={}){const i=t.length,{start:o=0,end:r=i-1}=e,{start:s,end:a}=n,l=Math.max(o,s),u=Math.min(r,a);return{count:i,start:l,loop:n.loop,ilen:u<l&&!(o<s&&r<s||o>a&&r>a)?i+u-l:u-l}}function $_e(t,n,e,i){const{points:o,options:r}=n,{count:s,start:a,loop:l,ilen:u}=pN(o,e,i),m=function j_e(t){return t.stepped?afe:t.tension||"monotone"===t.cubicInterpolationMode?lfe:H_e}(r);let _,y,w,{move:p=!0,reverse:f}=i||{};for(_=0;_<=u;++_)y=o[(a+(f?u-_:_))%s],!y.skip&&(p?(t.moveTo(y.x,y.y),p=!1):m(t,w,y,f,r.stepped),w=y);return l&&(y=o[(a+(f?u:0))%s],m(t,w,y,f,r.stepped)),!!l}function U_e(t,n,e,i){const o=n.points,{count:r,start:s,ilen:a}=pN(o,e,i),{move:l=!0,reverse:u}=i||{};let f,_,y,w,C,D,m=0,p=0;const M=P=>(s+(u?a-P:P))%r,I=()=>{w!==C&&(t.lineTo(m,C),t.lineTo(m,w),t.lineTo(m,D))};for(l&&(_=o[M(0)],t.moveTo(_.x,_.y)),f=0;f<=a;++f){if(_=o[M(f)],_.skip)continue;const P=_.x,F=_.y,L=0|P;L===y?(F<w?w=F:F>C&&(C=F),m=(p*m+P)/++p):(I(),t.lineTo(P,F),y=L,p=0,w=C=F),D=F}I()}function k2(t){const n=t.options;return t._decimated||t._loop||n.tension||"monotone"===n.cubicInterpolationMode||n.stepped||n.borderDash&&n.borderDash.length?$_e:U_e}const Y_e="function"==typeof Path2D;let bb=(()=>class t extends Cs{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,i){const o=this.options;!o.tension&&"monotone"!==o.cubicInterpolationMode||o.stepped||this._pointsUpdated||(Pfe(this._points,o,e,o.spanGaps?this._loop:this._fullLoop,i),this._pointsUpdated=!0)}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function qfe(t,n){const e=t.points,i=t.options.spanGaps,o=e.length;if(!o)return[];const r=!!t._loop,{start:s,end:a}=function Wfe(t,n,e,i){let o=0,r=n-1;if(e&&!i)for(;o<n&&!t[o].skip;)o++;for(;o<n&&t[o].skip;)o++;for(o%=n,e&&(r+=o);r>o&&t[r%n].skip;)r--;return r%=n,{start:o,end:r}}(e,o,r,i);return function C6(t,n,e,i){return i&&i.setContext&&e?function Yfe(t,n,e,i){const o=t._chart.getContext(),r=k6(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=e.length,u=[];let m=r,p=n[0].start,f=p;function _(y,w,C,D){const M=a?-1:1;if(y!==w){for(y+=l;e[y%l].skip;)y-=M;for(;e[w%l].skip;)w+=M;y%l!=w%l&&(u.push({start:y%l,end:w%l,loop:C,style:D}),m=D,p=w%l)}}for(const y of n){p=a?p:y.start;let C,w=e[p%l];for(f=p+1;f<=y.end;f++){const D=e[f%l];C=k6(i.setContext(ma(o,{type:"segment",p0:w,p1:D,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:s}))),Zfe(C,m)&&_(p,f-1,y.loop,m),w=D,m=C}p<f-1&&_(p,f-1,y.loop,m)}return u}(t,n,e,i):n}(t,!0===i?[{start:s,end:a,loop:r}]:function Gfe(t,n,e,i){const o=t.length,r=[];let l,s=n,a=t[n];for(l=n+1;l<=e;++l){const u=t[l%o];u.skip||u.stop?a.skip||(r.push({start:n%o,end:(l-1)%o,loop:i=!1}),n=s=u.stop?l:null):(s=l,a.skip&&(n=l)),a=u}return null!==s&&r.push({start:n%o,end:s%o,loop:i}),r}(e,s,a<s?a+o:a,!!t._fullLoop&&0===s&&a===o-1),e,n)}(this,this.options.segment))}first(){const e=this.segments;return e.length&&this.points[e[0].start]}last(){const e=this.segments,o=e.length;return o&&this.points[e[o-1].end]}interpolate(e,i){const o=this.options,r=e[i],s=this.points,a=x6(this,{property:i,start:r,end:r});if(!a.length)return;const l=[],u=function W_e(t){return t.stepped?zfe:t.tension||"monotone"===t.cubicInterpolationMode?Hfe:El}(o);let m,p;for(m=0,p=a.length;m<p;++m){const{start:f,end:_}=a[m],y=s[f],w=s[_];if(y===w){l.push(y);continue}const D=u(y,w,Math.abs((r-y[i])/(w[i]-y[i])),o.stepped);D[i]=e[i],l.push(D)}return 1===l.length?l[0]:l}pathSegment(e,i,o){return k2(this)(e,this,i,o)}path(e,i,o){const r=this.segments,s=k2(this);let a=this._loop;i=i||0,o=o||this.points.length-i;for(const l of r)a&=s(e,this,l,{start:i,end:i+o-1});return!!a}draw(e,i,o,r){(this.points||[]).length&&(this.options||{}).borderWidth&&(e.save(),function Z_e(t,n,e,i){Y_e&&!n.options.segment?function G_e(t,n,e,i){let o=n._path;o||(o=n._path=new Path2D,n.path(o,e,i)&&o.closePath()),mN(t,n.options),t.stroke(o)}(t,n,e,i):function q_e(t,n,e,i){const{segments:o,options:r}=n,s=k2(n);for(const a of o)mN(t,r,a.style),t.beginPath(),s(t,n,a,{start:e,end:e+i-1})&&t.closePath(),t.stroke()}(t,n,e,i)}(e,this,o,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}})();function fN(t,n,e,i){const o=t.options,{[e]:r}=t.getProps([e],i);return Math.abs(n-r)<o.radius+o.hitRadius}let K_e=(()=>class t extends Cs{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,i,o){const r=this.options,{x:s,y:a}=this.getProps(["x","y"],o);return Math.pow(e-s,2)+Math.pow(i-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,i){return fN(this,e,"x",i)}inYRange(e,i){return fN(this,e,"y",i)}getCenterPoint(e){const{x:i,y:o}=this.getProps(["x","y"],e);return{x:i,y:o}}size(e){let i=(e=e||this.options||{}).radius||0;return i=Math.max(i,i&&e.hoverRadius||0),2*(i+(i&&e.borderWidth||0))}draw(e,i){const o=this.options;this.skip||o.radius<.1||!ws(this,i,this.size(o)/2)||(e.strokeStyle=o.borderColor,e.lineWidth=o.borderWidth,e.fillStyle=o.backgroundColor,a2(e,o,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}})();function gN(t,n){const{x:e,y:i,base:o,width:r,height:s}=t.getProps(["x","y","base","width","height"],n);let a,l,u,m,p;return t.horizontal?(p=s/2,a=Math.min(e,o),l=Math.max(e,o),u=i-p,m=i+p):(p=r/2,a=e-p,l=e+p,u=Math.min(i,o),m=Math.max(i,o)),{left:a,top:u,right:l,bottom:m}}function fa(t,n,e,i){return t?0:sn(n,e,i)}function M2(t,n,e,i){const o=null===n,r=null===e,a=t&&!(o&&r)&&gN(t,i);return a&&(o||vs(n,a.left,a.right))&&(r||vs(e,a.top,a.bottom))}function tbe(t,n){t.rect(n.x,n.y,n.w,n.h)}function D2(t,n,e={}){const i=t.x!==e.x?-n:0,o=t.y!==e.y?-n:0;return{x:t.x+i,y:t.y+o,w:t.w+((t.x+t.w!==e.x+e.w?n:0)-i),h:t.h+((t.y+t.h!==e.y+e.h?n:0)-o),radius:t.radius}}var nbe=Object.freeze({__proto__:null,ArcElement:class z_e extends Cs{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:n=>"borderDash"!==n};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(n){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,e,i){const o=this.getProps(["x","y"],i),{angle:r,distance:s}=UL(o,{x:n,y:e}),{startAngle:a,endAngle:l,innerRadius:u,outerRadius:m,circumference:p}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),f=(this.options.spacing+this.options.borderWidth)/2,y=rt(p,l-a)>=si||gm(r,a,l),w=vs(s,u+f,m+f);return y&&w}getCenterPoint(n){const{x:e,y:i,startAngle:o,endAngle:r,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:l,spacing:u}=this.options,m=(o+r)/2,p=(s+a+u+l)/2;return{x:e+Math.cos(m)*p,y:i+Math.sin(m)*p}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:e,circumference:i}=this,o=(e.offset||0)/4,r=(e.spacing||0)/2,s=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>si?Math.floor(i/si):0,0===i||this.innerRadius<0||this.outerRadius<0)return;n.save();const a=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(a)*o,Math.sin(a)*o);const u=o*(1-Math.sin(Math.min(ri,i||0)));n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,function B_e(t,n,e,i,o){const{fullCircles:r,startAngle:s,circumference:a}=n;let l=n.endAngle;if(r){_b(t,n,e,i,l,o);for(let u=0;u<r;++u)t.fill();isNaN(a)||(l=s+(a%si||si))}_b(t,n,e,i,l,o),t.fill()}(n,this,u,r,s),function V_e(t,n,e,i,o){const{fullCircles:r,startAngle:s,circumference:a,options:l}=n,{borderWidth:u,borderJoinStyle:m,borderDash:p,borderDashOffset:f}=l,_="inner"===l.borderAlign;if(!u)return;t.setLineDash(p||[]),t.lineDashOffset=f,_?(t.lineWidth=2*u,t.lineJoin=m||"round"):(t.lineWidth=u,t.lineJoin=m||"bevel");let y=n.endAngle;if(r){_b(t,n,e,i,y,o);for(let w=0;w<r;++w)t.stroke();
1isNaN(a)||(y=s+(a%si||si))}_&&function F_e(t,n,e){const{startAngle:i,pixelMargin:o,x:r,y:s,outerRadius:a,innerRadius:l}=n;let u=o/a;t.beginPath(),t.arc(r,s,a,i-u,e+u),l>o?(u=o/l,t.arc(r,s,l,e+u,i-u,!0)):t.arc(r,s,o,e+Pi,i-Pi),t.closePath(),t.clip()}(t,n,y),r||(_b(t,n,e,i,y,o),t.stroke())}(n,this,u,r,s),n.restore()}},BarElement:class ibe extends Cs{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(n){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,n&&Object.assign(this,n)}draw(n){const{inflateAmount:e,options:{borderColor:i,backgroundColor:o}}=this,{inner:r,outer:s}=function J_e(t){const n=gN(t),e=n.right-n.left,i=n.bottom-n.top,o=function Q_e(t,n,e){const o=t.borderSkipped,r=s6(t.options.borderWidth);return{t:fa(o.top,r.top,0,e),r:fa(o.right,r.right,0,n),b:fa(o.bottom,r.bottom,0,e),l:fa(o.left,r.left,0,n)}}(t,e/2,i/2),r=function X_e(t,n,e){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,r=Ml(o),s=Math.min(n,e),a=t.borderSkipped,l=i||_t(o);return{topLeft:fa(!l||a.top||a.left,r.topLeft,0,s),topRight:fa(!l||a.top||a.right,r.topRight,0,s),bottomLeft:fa(!l||a.bottom||a.left,r.bottomLeft,0,s),bottomRight:fa(!l||a.bottom||a.right,r.bottomRight,0,s)}}(t,e/2,i/2);return{outer:{x:n.left,y:n.top,w:e,h:i,radius:r},inner:{x:n.left+o.l,y:n.top+o.t,w:e-o.l-o.r,h:i-o.t-o.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,r.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(o.b,o.r))}}}}(this),a=function ebe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}(s.radius)?ym:tbe;n.save(),(s.w!==r.w||s.h!==r.h)&&(n.beginPath(),a(n,D2(s,e,r)),n.clip(),a(n,D2(r,-e,s)),n.fillStyle=i,n.fill("evenodd")),n.beginPath(),a(n,D2(r,e)),n.fillStyle=o,n.fill(),n.restore()}inRange(n,e,i){return M2(this,n,e,i)}inXRange(n,e){return M2(this,n,null,e)}inYRange(n,e){return M2(this,null,n,e)}getCenterPoint(n){const{x:e,y:i,base:o,horizontal:r}=this.getProps(["x","y","base","horizontal"],n);return{x:r?(e+o)/2:e,y:r?i:(i+o)/2}}getRange(n){return"x"===n?this.width/2:this.height/2}},LineElement:bb,PointElement:K_e});const S2=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],_N=S2.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function bN(t){return S2[t%S2.length]}function vN(t){return _N[t%_N.length]}function yN(t){let n;for(n in t)if(t[n].borderColor||t[n].backgroundColor)return!0;return!1}var cbe={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,n,e){if(!e.enabled)return;const{data:{datasets:i},options:o}=t.config,{elements:r}=o;if(!e.forceOverride&&(yN(i)||function lbe(t){return t&&(t.borderColor||t.backgroundColor)}(o)||r&&yN(r)))return;const s=function abe(t){let n=0;return(e,i)=>{const o=t.getDatasetMeta(i).controller;o instanceof _2?n=function rbe(t,n){return t.backgroundColor=t.data.map(()=>bN(n++)),n}(e,n):o instanceof B6?n=function sbe(t,n){return t.backgroundColor=t.data.map(()=>vN(n++)),n}(e,n):o&&(n=function obe(t,n){return t.borderColor=bN(n),t.backgroundColor=vN(n),++n}(e,n))}}(t);i.forEach(s)}};function wN(t){if(t._decimated){const n=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:n})}}function xN(t){t.data.datasets.forEach(n=>{wN(n)})}var mbe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,n,e)=>{if(!e.enabled)return void xN(t);const i=t.width;t.data.datasets.forEach((o,r)=>{const{_data:s,indexAxis:a}=o,l=t.getDatasetMeta(r),u=s||o.data;if("y"===wm([a,t.options.indexAxis])||!l.controller.supportsDecimation)return;const m=t.scales[l.xAxisID];if("linear"!==m.type&&"time"!==m.type||t.options.parsing)return;let y,{start:p,count:f}=function hbe(t,n){const e=n.length;let o,i=0;const{iScale:r}=t,{min:s,max:a,minDefined:l,maxDefined:u}=r.getUserBounds();return l&&(i=sn(ys(n,r.axis,s).lo,0,e-1)),o=u?sn(ys(n,r.axis,a).hi+1,i,e)-i:e-i,{start:i,count:o}}(l,u);if(f<=(e.threshold||4*i))wN(o);else{switch(Ct(s)&&(o._data=u,delete o.data,Object.defineProperty(o,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(w){this._data=w}})),e.algorithm){case"lttb":y=function dbe(t,n,e,i,o){const r=o.samples||i;if(r>=e)return t.slice(n,n+e);const s=[],a=(e-2)/(r-2);let l=0;const u=n+e-1;let p,f,_,y,w,m=n;for(s[l++]=t[m],p=0;p<r-2;p++){let M,C=0,D=0;const I=Math.floor((p+1)*a)+1+n,P=Math.min(Math.floor((p+2)*a)+1,e)+n,F=P-I;for(M=I;M<P;M++)C+=t[M].x,D+=t[M].y;C/=F,D/=F;const L=Math.floor(p*a)+1+n,K=Math.min(Math.floor((p+1)*a)+1,e)+n,{x:Q,y:oe}=t[m];for(_=y=-1,M=L;M<K;M++)y=.5*Math.abs((Q-C)*(t[M].y-oe)-(Q-t[M].x)*(D-oe)),y>_&&(_=y,f=t[M],w=M);s[l++]=f,m=w}return s[l++]=t[u],s}(u,p,f,i,e);break;case"min-max":y=function ube(t,n,e,i){let s,a,l,u,m,p,f,_,y,w,o=0,r=0;const C=[],M=t[n].x,P=t[n+e-1].x-M;for(s=n;s<n+e;++s){a=t[s],l=(a.x-M)/P*i,u=a.y;const F=0|l;if(F===m)u<y?(y=u,p=s):u>w&&(w=u,f=s),o=(r*o+a.x)/++r;else{const L=s-1;if(!Ct(p)&&!Ct(f)){const K=Math.min(p,f),Q=Math.max(p,f);K!==_&&K!==L&&C.push({...t[K],x:o}),Q!==_&&Q!==L&&C.push({...t[Q],x:o})}s>0&&L!==_&&C.push(t[L]),C.push(a),m=F,r=0,y=w=u,p=f=_=s}}return C}(u,p,f,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}o._decimated=y}})},destroy(t){xN(t)}};function E2(t,n,e,i){if(i)return;let o=n[t],r=e[t];return"angle"===t&&(o=go(o),r=go(r)),{property:t,start:o,end:r}}function T2(t,n,e){for(;n>t;n--){const i=e[n];if(!isNaN(i.x)&&!isNaN(i.y))break}return n}function CN(t,n,e,i){return t&&n?i(t[e],n[e]):t?t[e]:n?n[e]:0}function kN(t,n){let e=[],i=!1;return oi(t)?(i=!0,e=t):e=function fbe(t,n){const{x:e=null,y:i=null}=t||{},o=n.points,r=[];
vendor: 4,721 bytes, line 1
1return n.segments.forEach(({start:s,end:a})=>{a=T2(s,a,o);const l=o[s],u=o[a];null!==i?(r.push({x:l.x,y:i}),r.push({x:u.x,y:i})):null!==e&&(r.push({x:e,y:l.y}),r.push({x:e,y:u.y}))}),r}(t,n),e.length?new bb({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function MN(t){return t&&!1!==t.fill}function gbe(t,n,e){let o=t[n].fill;const r=[n];let s;if(!e)return o;for(;!1!==o&&-1===r.indexOf(o);){if(!Ci(o))return o;if(s=t[o],!s)return!1;if(s.visible)return o;r.push(o),o=s.fill}return!1}function _be(t,n,e){const i=function wbe(t){const n=t.options,e=n.fill;let i=rt(e&&e.target,e);return void 0===i&&(i=!!n.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(t);if(_t(i))return!isNaN(i.value)&&i;let o=parseFloat(i);return Ci(o)&&Math.floor(o)===o?function bbe(t,n,e,i){return("-"===t||"+"===t)&&(e=n+e),!(e===n||e<0||e>=i)&&e}(i[0],n,o,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function kbe(t,n,e){const i=[];for(let o=0;o<e.length;o++){const r=e[o],{first:s,last:a,point:l}=Mbe(r,n,"x");if(!(!l||s&&a))if(s)i.unshift(l);else if(t.push(l),!a)break}t.push(...i)}function Mbe(t,n,e){const i=t.interpolate(n,e);if(!i)return{};const o=i[e],r=t.segments,s=t.points;let a=!1,l=!1;for(let u=0;u<r.length;u++){const m=r[u],p=s[m.start][e],f=s[m.end][e];if(vs(o,p,f)){a=o===p,l=o===f;break}}return{first:a,last:l,point:i}}class DN{constructor(n){this.x=n.x,this.y=n.y,this.radius=n.radius}pathSegment(n,e,i){const{x:o,y:r,radius:s}=this;return n.arc(o,r,s,(e=e||{start:0,end:si}).end,e.start,!0),!i.bounds}interpolate(n){const{x:e,y:i,radius:o}=this,r=n.angle;return{x:e+Math.cos(r)*o,y:i+Math.sin(r)*o,angle:r}}}function I2(t,n,e){const i=function Dbe(t){const{chart:n,fill:e,line:i}=t;if(Ci(e))return function Sbe(t,n){const e=t.getDatasetMeta(n);return e&&t.isDatasetVisible(n)?e.dataset:null}(n,e);if("stack"===e)return function xbe(t){const{scale:n,index:e,line:i}=t,o=[],r=i.segments,s=i.points,a=function Cbe(t,n){const e=[],i=t.getMatchingVisibleMetas("line");for(let o=0;o<i.length;o++){const r=i[o];if(r.index===n)break;r.hidden||e.unshift(r.dataset)}return e}(n,e);a.push(kN({x:null,y:n.bottom},i));for(let l=0;l<r.length;l++){const u=r[l];for(let m=u.start;m<=u.end;m++)kbe(o,s[m],a)}return new bb({points:o,options:{}})}(t);if("shape"===e)return!0;const o=function Ebe(t){return(t.scale||{}).getPointPositionForValue?function Ibe(t){const{scale:n,fill:e}=t,i=n.options,o=n.getLabels().length,r=i.reverse?n.max:n.min,s=function ybe(t,n,e){let i;return i="start"===t?e:"end"===t?n.options.reverse?n.min:n.max:_t(t)?t.value:n.getBaseValue(),i}(e,n,r),a=[];if(i.grid.circular){const l=n.getPointPositionForValue(0,r);return new DN({x:l.x,y:l.y,radius:n.getDistanceFromCenterForValue(s)})}for(let l=0;l<o;++l)a.push(n.getPointPositionForValue(l,s));return a}(t):function Tbe(t){const{scale:n={},fill:e}=t,i=function vbe(t,n){let e=null;return"start"===t?e=n.bottom:"end"===t?e=n.top:_t(t)?e=n.getPixelForValue(t.value):n.getBasePixel&&(e=n.getBasePixel()),e}(e,n);if(Ci(i)){const o=n.isHorizontal();return{x:o?i:null,y:o?null:i}}return null}(t)}(t);return o instanceof DN?o:kN(o,i)}(n),{line:o,scale:r,axis:s}=n,a=o.options,l=a.fill,u=a.backgroundColor,{above:m=u,below:p=u}=l||{};i&&o.points.length&&(ib(t,e),function Abe(t,n){const{line:e,target:i,above:o,below:r,area:s,scale:a}=n,l=e._loop?"angle":n.axis;t.save(),"x"===l&&r!==o&&(SN(t,i,s.top),EN(t,{line:e,target:i,color:o,scale:a,property:l}),t.restore(),t.save(),SN(t,i,s.bottom)),EN(t,{line:e,target:i,color:r,scale:a,property:l}),t.restore()}(t,{line:o,target:i,above:m,below:p,area:e,scale:r,axis:s}),nb(t))}function SN(t,n,e){const{segments:i,points:o}=n;let r=!0,s=!1;t.beginPath();for(const a of i){const{start:l,end:u}=a,m=o[l],p=o[T2(l,u,o)];r?(t.moveTo(m.x,m.y),r=!1):(t.lineTo(m.x,e),t.lineTo(m.x,m.y)),s=!!n.pathSegment(t,a,{move:s}),s?t.closePath():t.lineTo(p.x,e)}t.lineTo(n.first().x,e),t.closePath(),t.clip()}function EN(t,n){const{line:e,target:i,property:o,color:r,scale:s}=n,a=function pbe(t,n,e){const i=t.segments,o=t.points,r=n.points,s=[];for(const a of i){let{start:l,end:u}=a;u=T2(l,u,o);const m=E2(e,o[l],o[u],a.loop);if(!n.segments){s.push({source:a,target:m,start:o[l],end:o[u]});continue}const p=x6(n,m);for(const f of p){const _=E2(e,r[f.start],r[f.end],f.loop),y=w6(a,o,_);for(const w of y)s.push({source:w,target:f,start:{[e]:CN(m,_,"start",Math.max)},end:{[e]:CN(m,_,"end",Math.min)}})}}return s}(e,i,o);for(const{source:l,target:u,start:m,end:p}of a){const{style:{backgroundColor:f=r}={}}=l,_=!0!==i;t.save(),t.fillStyle=f,Pbe(t,s,_&&E2(o,m,p)),t.beginPath();const y=!!e.pathSegment(t,l);let w;if(_){y?t.closePath():TN(t,i,p,o);const C=!!i.pathSegment(t,u,{move:y,reverse:!0});w=y&&C,w||TN(t,i,m,o)}
vendor: 4,412 bytes, line 1
1t.closePath(),t.fill(w?"evenodd":"nonzero"),t.restore()}}function Pbe(t,n,e){const{top:i,bottom:o}=n.chart.chartArea,{property:r,start:s,end:a}=e||{};"x"===r&&(t.beginPath(),t.rect(s,i,a-s,o-i),t.clip())}function TN(t,n,e,i){const o=n.interpolate(e,i);o&&t.lineTo(o.x,o.y)}var Obe={id:"filler",afterDatasetsUpdate(t,n,e){const i=(t.data.datasets||[]).length,o=[];let r,s,a,l;for(s=0;s<i;++s)r=t.getDatasetMeta(s),a=r.dataset,l=null,a&&a.options&&a instanceof bb&&(l={visible:t.isDatasetVisible(s),index:s,fill:_be(a,s,i),chart:t,axis:r.controller.options.indexAxis,scale:r.vScale,line:a}),r.$filler=l,o.push(l);for(s=0;s<i;++s)l=o[s],l&&!1!==l.fill&&(l.fill=gbe(o,s,e.propagate))},beforeDraw(t,n,e){const i="beforeDraw"===e.drawTime,o=t.getSortedVisibleDatasetMetas(),r=t.chartArea;for(let s=o.length-1;s>=0;--s){const a=o[s].$filler;a&&(a.line.updateControlPoints(r,a.axis),i&&a.fill&&I2(t.ctx,a,r))}},beforeDatasetsDraw(t,n,e){if("beforeDatasetsDraw"!==e.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let o=i.length-1;o>=0;--o){const r=i[o].$filler;MN(r)&&I2(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,n,e){const i=n.meta.$filler;!MN(i)||"beforeDatasetDraw"!==e.drawTime||I2(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const IN=(t,n)=>{let{boxHeight:e=n,boxWidth:i=n}=t;return t.usePointStyle&&(e=Math.min(e,n),i=t.pointStyleWidth||Math.min(i,n)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(n,e)}};class AN extends Cs{constructor(n){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e,i){this.maxWidth=n,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const n=this.options.labels||{};let e=Kt(n.generateLabels,[this.chart],this)||[];n.filter&&(e=e.filter(i=>n.filter(i,this.chart.data))),n.sort&&(e=e.sort((i,o)=>n.sort(i,o,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:n,ctx:e}=this;if(!n.display)return void(this.width=this.height=0);const i=n.labels,o=Ji(i.font),r=o.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=IN(i,r);let u,m;e.font=o.string,this.isHorizontal()?(u=this.maxWidth,m=this._fitRows(s,r,a,l)+10):(m=this.maxHeight,u=this._fitCols(s,o,a,l)+10),this.width=Math.min(u,n.maxWidth||this.maxWidth),this.height=Math.min(m,n.maxHeight||this.maxHeight)}_fitRows(n,e,i,o){const{ctx:r,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],u=this.lineWidths=[0],m=o+a;let p=n;r.textAlign="left",r.textBaseline="middle";let f=-1,_=-m;return this.legendItems.forEach((y,w)=>{const C=i+e/2+r.measureText(y.text).width;(0===w||u[u.length-1]+C+2*a>s)&&(p+=m,u[u.length-(w>0?0:1)]=0,_+=m,f++),l[w]={left:0,top:_,row:f,width:C,height:o},u[u.length-1]+=C+a}),p}_fitCols(n,e,i,o){const{ctx:r,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],u=this.columnSizes=[],m=s-n;let p=a,f=0,_=0,y=0,w=0;return this.legendItems.forEach((C,D)=>{const{itemWidth:M,itemHeight:I}=function Fbe(t,n,e,i,o){const r=function Lbe(t,n,e,i){let o=t.text;return o&&"string"!=typeof o&&(o=o.reduce((r,s)=>r.length>s.length?r:s)),n+e.size/2+i.measureText(o).width}(i,t,n,e),s=function Nbe(t,n,e){let i=t;return"string"!=typeof n.text&&(i=PN(n,e)),i}(o,i,n.lineHeight);return{itemWidth:r,itemHeight:s}}(i,e,r,C,o);D>0&&_+I+2*a>m&&(p+=f+a,u.push({width:f,height:_}),y+=f+a,w++,f=_=0),l[D]={left:y,top:_,col:w,width:M,height:I},f=Math.max(f,M),_+=I+a}),p+=f,u.push({width:f,height:_}),p}adjustHitBoxes(){if(!this.options.display)return;const n=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:o},rtl:r}}=this,s=Pd(r,this.left,this.width);if(this.isHorizontal()){let a=0,l=wn(i,this.left+o,this.right-this.lineWidths[a]);for(const u of e)a!==u.row&&(a=u.row,l=wn(i,this.left+o,this.right-this.lineWidths[a])),u.to
vendor: 4,407 bytes, line 1
1p+=this.top+n+o,u.left=s.leftForLtr(s.x(l),u.width),l+=u.width+o}else{let a=0,l=wn(i,this.top+n+o,this.bottom-this.columnSizes[a].height);for(const u of e)u.col!==a&&(a=u.col,l=wn(i,this.top+n+o,this.bottom-this.columnSizes[a].height)),u.top=l,u.left+=this.left+o,u.left=s.leftForLtr(s.x(u.left),u.width),l+=u.height+o}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const n=this.ctx;ib(n,this),this._draw(),nb(n)}}_draw(){const{options:n,columnSizes:e,lineWidths:i,ctx:o}=this,{align:r,labels:s}=n,a=ki.color,l=Pd(n.rtl,this.left,this.width),u=Ji(s.font),{padding:m}=s,p=u.size,f=p/2;let _;this.drawTitle(),o.textAlign=l.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=u.string;const{boxWidth:y,boxHeight:w,itemHeight:C}=IN(s,p),I=this.isHorizontal(),P=this._computeTitleHeight();_=I?{x:wn(r,this.left+m,this.right-i[0]),y:this.top+m+P,line:0}:{x:this.left+m,y:wn(r,this.top+P+m,this.bottom-e[0].height),line:0},_6(this.ctx,n.textDirection);const F=C+m;this.legendItems.forEach((L,K)=>{o.strokeStyle=L.fontColor,o.fillStyle=L.fontColor;const Q=o.measureText(L.text).width,oe=l.textAlign(L.textAlign||(L.textAlign=s.textAlign)),ye=y+f+Q;let Se=_.x,ee=_.y;l.setWidth(this.width),I?K>0&&Se+ye+m>this.right&&(ee=_.y+=F,_.line++,Se=_.x=wn(r,this.left+m,this.right-i[_.line])):K>0&&ee+F>this.bottom&&(Se=_.x=Se+e[_.line].width+m,_.line++,ee=_.y=wn(r,this.top+P+m,this.bottom-e[_.line].height)),function(L,K,Q){if(isNaN(y)||y<=0||isNaN(w)||w<0)return;o.save();const oe=rt(Q.lineWidth,1);if(o.fillStyle=rt(Q.fillStyle,a),o.lineCap=rt(Q.lineCap,"butt"),o.lineDashOffset=rt(Q.lineDashOffset,0),o.lineJoin=rt(Q.lineJoin,"miter"),o.lineWidth=oe,o.strokeStyle=rt(Q.strokeStyle,a),o.setLineDash(rt(Q.lineDash,[])),s.usePointStyle){const ye={radius:w*Math.SQRT2/2,pointStyle:Q.pointStyle,rotation:Q.rotation,borderWidth:oe},Se=l.xPlus(L,y/2);r6(o,ye,Se,K+f,s.pointStyleWidth&&y)}else{const ye=K+Math.max((p-w)/2,0),Se=l.leftForLtr(L,y),ee=Ml(Q.borderRadius);o.beginPath(),Object.values(ee).some(we=>0!==we)?ym(o,{x:Se,y:ye,w:y,h:w,radius:ee}):o.rect(Se,ye,y,w),o.fill(),0!==oe&&o.stroke()}o.restore()}(l.x(Se),ee,L),Se=((t,n,e,i)=>t===(i?"left":"right")?e:"center"===t?(n+e)/2:n)(oe,Se+y+f,I?Se+ye:this.right,n.rtl),function(L,K,Q){kl(o,Q.text,L,K+C/2,u,{strikethrough:Q.hidden,textAlign:l.textAlign(Q.textAlign)})}(l.x(Se),ee,L),I?_.x+=ye+m:_.y+="string"!=typeof L.text?PN(L,u.lineHeight)+m:F}),b6(this.ctx,n.textDirection)}drawTitle(){const n=this.options,e=n.title,i=Ji(e.font),o=xn(e.padding);if(!e.display)return;const r=Pd(n.rtl,this.left,this.width),s=this.ctx,a=e.position,u=o.top+i.size/2;let m,p=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),m=this.top+u,p=wn(n.align,p,this.right-f);else{const y=this.columnSizes.reduce((w,C)=>Math.max(w,C.height),0);m=u+wn(n.align,this.top,this.bottom-y-n.labels.padding-this._computeTitleHeight())}const _=wn(a,p,p+f);s.textAlign=r.textAlign(t2(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=i.string,kl(s,e.text,_,m,i)}_computeTitleHeight(){const n=this.options.title,e=Ji(n.font),i=xn(n.padding);return n.display?e.lineHeight+i.height:0}_getLegendItemAt(n,e){let i,o,r;if(vs(n,this.left,this.right)&&vs(e,this.top,this.bottom))for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(o=r[i],vs(n,o.left,o.left+o.width)&&vs(e,o.top,o.top+o.height))return this.legendItems[i];return null}handleEvent(n){const e=this.options;if(!function Bbe(t,n){return!(("mousemove"!==t&&"mouseout"!==t||!n.onHover&&!n.onLeave)&&(!n.onClick||"click"!==t&&"mouseup"!==t))}(n.type,e))return;const i=this._getLegendItemAt(n.x,n.y);if("mousemove"===n.type||"mouseout"===n.type){const o=this._hoveredItem,r=((t,n)=>null!==t&&null!==n&&t.datasetIndex===n.datasetIndex&&t.index===n.index)(o,i);o&&!r&&Kt(e.onLeave,[n,o,this],this),this._hoveredItem=i,i&&!r&&Kt(e.onHover,[n,i,this],this)}else i&&Kt(e.onClick,[n,i,this],this)}}function PN(t,n){return n*(t.text?t.text.length:0)}var Vbe={id:"legend",_element:AN,start(t,n,e){const i=t.legend=new AN({ctx:t.ctx,options:e,chart:t});Cn.configure(t,i,e),Cn.addBox(t,i)},stop(t){Cn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,n,e){const i=t.legend;Cn.configure(t,i,e),i.options=e},afterUpdate(t){const n=t.legend;n.buildLabels(),n.adjustHitBoxes()},afterEvent(t,n){n.replay||t.legend.handleEvent(n.event)}
vendor: 5,144 bytes, line 1
1,defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,n,e){const i=n.datasetIndex,o=e.chart;o.isDatasetVisible(i)?(o.hide(i),n.hidden=!0):(o.show(i),n.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const n=t.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:o,color:r,useBorderRadius:s,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const u=l.controller.getStyle(e?0:void 0),m=xn(u.borderWidth);return{text:n[l.index].label,fillStyle:u.backgroundColor,fontColor:r,hidden:!l.visible,lineCap:u.borderCapStyle,lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:(m.width+m.height)/4,strokeStyle:u.borderColor,pointStyle:i||u.pointStyle,rotation:u.rotation,textAlign:o||u.textAlign,borderRadius:s&&(a||u.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class A2 extends Cs{constructor(n){super(),this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=n,this.height=this.bottom=e;const o=oi(i.text)?i.text.length:1;this._padding=xn(i.padding);const r=o*Ji(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const n=this.options.position;return"top"===n||"bottom"===n}_drawArgs(n){const{top:e,left:i,bottom:o,right:r,options:s}=this,a=s.align;let u,m,p,l=0;return this.isHorizontal()?(m=wn(a,i,r),p=e+n,u=r-i):("left"===s.position?(m=i+n,p=wn(a,o,e),l=-.5*ri):(m=r-n,p=wn(a,e,o),l=.5*ri),u=o-e),{titleX:m,titleY:p,maxWidth:u,rotation:l}}draw(){const n=this.ctx,e=this.options;if(!e.display)return;const i=Ji(e.font),r=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:u}=this._drawArgs(r);kl(n,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:u,textAlign:t2(e.align),textBaseline:"middle",translation:[s,a]})}}var Hbe={id:"title",_element:A2,start(t,n,e){!function zbe(t,n){const e=new A2({ctx:t.ctx,options:n,chart:t});Cn.configure(t,e,n),Cn.addBox(t,e),t.titleBlock=e}(t,e)},stop(t){Cn.removeBox(t,t.titleBlock),delete t.titleBlock},beforeUpdate(t,n,e){const i=t.titleBlock;Cn.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const vb=new WeakMap;var jbe={id:"subtitle",start(t,n,e){const i=new A2({ctx:t.ctx,options:e,chart:t});Cn.configure(t,i,e),Cn.addBox(t,i),vb.set(t,i)},stop(t){Cn.removeBox(t,vb.get(t)),vb.delete(t)},beforeUpdate(t,n,e){const i=vb.get(t);Cn.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Im={average(t){if(!t.length)return!1;let n,e,i=new Set,o=0,r=0;for(n=0,e=t.length;n<e;++n){const a=t[n].element;if(a&&a.hasValue()){const l=a.tooltipPosition();i.add(l.x),o+=l.y,++r}}return{x:[...i].reduce((a,l)=>a+l)/i.size,y:o/r}},nearest(t,n){if(!t.length)return!1;let r,s,a,e=n.x,i=n.y,o=Number.POSITIVE_INFINITY;for(r=0,s=t.length;r<s;++r){const l=t[r].element;if(l&&l.hasValue()){const m=JC(n,l.getCenterPoint());m<o&&(o=m,a=l)}}if(a){const l=a.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function Ir(t,n){return n&&(oi(n)?Array.prototype.push.apply(t,n):t.push(n)),t}function ks(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function $be(t,n){const{element:e,datasetIndex:i,index:o}=n,r=t.getDatasetMeta(i).controller,{label:s,value:a}=r.getLabelAndValue(o);return{chart:t,label:s,parsed:r.getParsed(o),raw:t.data.datasets[i].data[o],formattedValue:a,dataset:r.getDataset(),dataIndex:o,datasetIndex:i,element:e}}function ON(t,n){const e=t.chart.ctx,{body:i,footer:o,title:r}=t,{boxWidth:s,boxHeight:a}=n,l=Ji(n.bodyFont),u=Ji(n.titleFont),m=Ji(n.footerFont),p=r.length,f=o.length,_=i.length,y=xn(n.padding);let w=y.height,C=0,D=i.reduce((P,F)=>P+F.before.length+F.lines.length+F.after.length,0);D+=t.beforeBody.length+t.afterBody.length,p&&(w+=p*u.lineHeight+(p-1)*n.titleSpacing+n.titleMarginBottom),D&&(w+=_*(n.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(D-_)*l.lineHeight+(D-1)*n.bodySpacing),f&&(w+=n.footerMarginTop+f*m.lineHeight+(f-1)*n.footerSpacing);let M=0;const I=function(P){C=Math.max(C,e.measureText(P).width+M)};return e.save(),e.font=u.string,Ft(t.title,I),e.font=l.string,Ft(t.beforeBody.concat(t.afterBody),I),M=n.displayColors?s+2+n.boxPadding:0,Ft(i,P=>{Ft(P.before,I),Ft(P.lines,I),Ft(P.after,I)}
1),M=0,e.font=m.string,Ft(t.footer,I),e.restore(),C+=y.width,{width:C,height:w}}function Gbe(t,n,e,i){const{x:o,width:r}=e,{width:s,chartArea:{left:a,right:l}}=t;let u="center";return"center"===i?u=o<=(a+l)/2?"left":"right":o<=r/2?u="left":o>=s-r/2&&(u="right"),function Wbe(t,n,e,i){const{x:o,width:r}=i,s=e.caretSize+e.caretPadding;if("left"===t&&o+r+s>n.width||"right"===t&&o-r-s<0)return!0}(u,t,n,e)&&(u="center"),u}function RN(t,n,e){const i=e.yAlign||n.yAlign||function Ube(t,n){const{y:e,height:i}=n;return e<i/2?"top":e>t.height-i/2?"bottom":"center"}(t,e);return{xAlign:e.xAlign||n.xAlign||Gbe(t,n,e,i),yAlign:i}}function FN(t,n,e,i){const{caretSize:o,caretPadding:r,cornerRadius:s}=t,{xAlign:a,yAlign:l}=e,u=o+r,{topLeft:m,topRight:p,bottomLeft:f,bottomRight:_}=Ml(s);let y=function qbe(t,n){let{x:e,width:i}=t;return"right"===n?e-=i:"center"===n&&(e-=i/2),e}(n,a);const w=function Ybe(t,n,e){let{y:i,height:o}=t;return"top"===n?i+=e:i-="bottom"===n?o+e:o/2,i}(n,l,u);return"center"===l?"left"===a?y+=u:"right"===a&&(y-=u):"left"===a?y-=Math.max(m,f)+o:"right"===a&&(y+=Math.max(p,_)+o),{x:sn(y,0,i.width-n.width),y:sn(w,0,i.height-n.height)}}function yb(t,n,e){const i=xn(e.padding);return"center"===n?t.x+t.width/2:"right"===n?t.x+t.width-i.right:t.x+i.left}function LN(t){return Ir([],ks(t))}function NN(t,n){const e=n&&n.dataset&&n.dataset.tooltip&&n.dataset.tooltip.callbacks;return e?t.override(e):t}const BN={beforeTitle:bs,title(t){if(t.length>0){const n=t[0],e=n.chart.data.labels,i=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return n.dataset.label||"";if(n.label)return n.label;if(i>0&&n.dataIndex<i)return e[n.dataIndex]}return""},afterTitle:bs,beforeBody:bs,beforeLabel:bs,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let n=t.dataset.label||"";n&&(n+=": ");const e=t.formattedValue;return Ct(e)||(n+=e),n},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:bs,afterBody:bs,beforeFooter:bs,footer:bs,afterFooter:bs};function Qn(t,n,e,i){const o=t[n].call(e,i);return typeof o>"u"?BN[n].call(e,i):o}let VN=(()=>class t extends Cs{static positioners=Im;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const i=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&i.options.animation&&o.animations,s=new D6(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=function Zbe(t,n,e){return ma(t,{tooltip:n,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){const{callbacks:o}=i,r=Qn(o,"beforeTitle",this,e),s=Qn(o,"title",this,e),a=Qn(o,"afterTitle",this,e);let l=[];return l=Ir(l,ks(r)),l=Ir(l,ks(s)),l=Ir(l,ks(a)),l}getBeforeBody(e,i){return LN(Qn(i.callbacks,"beforeBody",this,e))}getBody(e,i){const{callbacks:o}=i,r=[];return Ft(e,s=>{const a={before:[],lines:[],after:[]},l=NN(o,s);Ir(a.before,ks(Qn(l,"beforeLabel",this,s))),Ir(a.lines,Qn(l,"label",this,s)),Ir(a.after,ks(Qn(l,"afterLabel",this,s))),r.push(a)}),r}
vendor: 4,559 bytes, line 1
1getAfterBody(e,i){return LN(Qn(i.callbacks,"afterBody",this,e))}getFooter(e,i){const{callbacks:o}=i,r=Qn(o,"beforeFooter",this,e),s=Qn(o,"footer",this,e),a=Qn(o,"afterFooter",this,e);let l=[];return l=Ir(l,ks(r)),l=Ir(l,ks(s)),l=Ir(l,ks(a)),l}_createItems(e){const i=this._active,o=this.chart.data,r=[],s=[],a=[];let u,m,l=[];for(u=0,m=i.length;u<m;++u)l.push($be(this.chart,i[u]));return e.filter&&(l=l.filter((p,f,_)=>e.filter(p,f,_,o))),e.itemSort&&(l=l.sort((p,f)=>e.itemSort(p,f,o))),Ft(l,p=>{const f=NN(e.callbacks,p);r.push(Qn(f,"labelColor",this,p)),s.push(Qn(f,"labelPointStyle",this,p)),a.push(Qn(f,"labelTextColor",this,p))}),this.labelColors=r,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,i){const o=this.options.setContext(this.getContext()),r=this._active;let s,a=[];if(r.length){const l=Im[o.position].call(this,r,this._eventPosition);a=this._createItems(o),this.title=this.getTitle(a,o),this.beforeBody=this.getBeforeBody(a,o),this.body=this.getBody(a,o),this.afterBody=this.getAfterBody(a,o),this.footer=this.getFooter(a,o);const u=this._size=ON(this,o),m=Object.assign({},l,u),p=RN(this.chart,o,m),f=FN(o,m,p,this.chart);this.xAlign=p.xAlign,this.yAlign=p.yAlign,s={opacity:1,x:f.x,y:f.y,width:u.width,height:u.height,caretX:l.x,caretY:l.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,o,r){const s=this.getCaretPosition(e,o,r);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(e,i,o){const{xAlign:r,yAlign:s}=this,{caretSize:a,cornerRadius:l}=o,{topLeft:u,topRight:m,bottomLeft:p,bottomRight:f}=Ml(l),{x:_,y}=e,{width:w,height:C}=i;let D,M,I,P,F,L;return"center"===s?(F=y+C/2,"left"===r?(D=_,M=D-a,P=F+a,L=F-a):(D=_+w,M=D+a,P=F-a,L=F+a),I=D):(M="left"===r?_+Math.max(u,p)+a:"right"===r?_+w-Math.max(m,f)-a:this.caretX,"top"===s?(P=y,F=P-a,D=M-a,I=M+a):(P=y+C,F=P+a,D=M+a,I=M-a),L=P),{x1:D,x2:M,x3:I,y1:P,y2:F,y3:L}}drawTitle(e,i,o){const r=this.title,s=r.length;let a,l,u;if(s){const m=Pd(o.rtl,this.x,this.width);for(e.x=yb(this,o.titleAlign,o),i.textAlign=m.textAlign(o.titleAlign),i.textBaseline="middle",a=Ji(o.titleFont),l=o.titleSpacing,i.fillStyle=o.titleColor,i.font=a.string,u=0;u<s;++u)i.fillText(r[u],m.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,u+1===s&&(e.y+=o.titleMarginBottom-l)}}_drawColorBox(e,i,o,r,s){const a=this.labelColors[o],l=this.labelPointStyles[o],{boxHeight:u,boxWidth:m}=s,p=Ji(s.bodyFont),f=yb(this,"left",s),_=r.x(f),w=i.y+(u<p.lineHeight?(p.lineHeight-u)/2:0);if(s.usePointStyle){const C={radius:Math.min(m,u)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},D=r.leftForLtr(_,m)+m/2,M=w+u/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,a2(e,C,D,M),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,a2(e,C,D,M)}else{e.lineWidth=_t(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const C=r.leftForLtr(_,m),D=r.leftForLtr(r.xPlus(_,1),m-2),M=Ml(a.borderRadius);Object.values(M).some(I=>0!==I)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,ym(e,{x:C,y:w,w:m,h:u,radius:M}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),ym(e,{x:D,y:w+1,w:m-2,h:u-2,radius:M}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(C,w,m,u),e.strokeRect(C,w,m,u),e.fillStyle=a.backgroundColor,e.fillRect(D,w+1,m-2,u-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,i,o){const{body:r}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:u,boxWidth:m,boxPadding:p}=o,f=Ji(o.bodyFont);let _=f.lineHeight,y=0;const w=Pd(o.rtl,this.x,this.width),C=function(oe){i.fillText(oe,w.x(e.x+y),e.y+_/2),e.y+=_+s},D=w.textAlign(a);let M,I,P,F,L,K,Q;for(i.textAlign=a,i.textBaseline="middle",i.font=f.string,e.x=yb(this,D,o),i.fillStyle=o.bodyColor,Ft(this.beforeBody,C),y=l&&"right"!==D?"center"===a?m/2+p:m+2+p:0,F=0,K=r.length;F<K;++F){for(M=r[F],I=this.labelTextColors[F],i.fillStyle=I,Ft(M.before,C),P=M.lines,l&&P.length&&(this._drawColorBox(i,e,F,w,o),_=Math.max(f.lineHeight,u)),L=0,Q=P.length;L<Q;++L)C(P[L]),_=f.lineHeight;Ft(M.after,C)}y=0,_=f.lineHeight,Ft(this.afterBody,C),e.y-=s}drawFooter(e,i,o){const r=this.footer,s=r.length;let a,l;if(s){const u=Pd(o.rtl,this.x,this.width);for(e.x=yb(this,o.footerAlign,o),e.y+=o.footerMarginTop,i.textAlign=u.textAlign(o.footerAlign),i.textBaseline="middle",a=J
vendor: 10,219 bytes, line 1
1i(o.footerFont),i.fillStyle=o.footerColor,i.font=a.string,l=0;l<s;++l)i.fillText(r[l],u.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o.footerSpacing}}drawBackground(e,i,o,r){const{xAlign:s,yAlign:a}=this,{x:l,y:u}=e,{width:m,height:p}=o,{topLeft:f,topRight:_,bottomLeft:y,bottomRight:w}=Ml(r.cornerRadius);i.fillStyle=r.backgroundColor,i.strokeStyle=r.borderColor,i.lineWidth=r.borderWidth,i.beginPath(),i.moveTo(l+f,u),"top"===a&&this.drawCaret(e,i,o,r),i.lineTo(l+m-_,u),i.quadraticCurveTo(l+m,u,l+m,u+_),"center"===a&&"right"===s&&this.drawCaret(e,i,o,r),i.lineTo(l+m,u+p-w),i.quadraticCurveTo(l+m,u+p,l+m-w,u+p),"bottom"===a&&this.drawCaret(e,i,o,r),i.lineTo(l+y,u+p),i.quadraticCurveTo(l,u+p,l,u+p-y),"center"===a&&"left"===s&&this.drawCaret(e,i,o,r),i.lineTo(l,u+f),i.quadraticCurveTo(l,u,l+f,u),i.closePath(),i.fill(),r.borderWidth>0&&i.stroke()}_updateAnimationTarget(e){const i=this.chart,o=this.$animations,r=o&&o.x,s=o&&o.y;if(r||s){const a=Im[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=ON(this,e),u=Object.assign({},a,this._size),m=RN(i,e,u),p=FN(e,u,m,i);(r._to!==p.x||s._to!==p.y)&&(this.xAlign=m.xAlign,this.yAlign=m.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,p))}}_willRender(){return!!this.opacity}draw(e){const i=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(i);const r={width:this.width,height:this.height},s={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const a=xn(i.padding);i.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(e.save(),e.globalAlpha=o,this.drawBackground(s,e,r,i),_6(e,i.textDirection),s.y+=a.top,this.drawTitle(s,e,i),this.drawBody(s,e,i),this.drawFooter(s,e,i),b6(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){const o=this._active,r=e.map(({datasetIndex:l,index:u})=>{const m=this.chart.getDatasetMeta(l);if(!m)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:m.data[u],index:u}}),s=!K_(o,r),a=this._positionChanged(r,i);(s||a)&&(this._active=r,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,o=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,s=this._active||[],a=this._getActiveElements(e,s,i,o),l=this._positionChanged(a,e),u=i||!K_(a,s)||l;return u&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),u}_getActiveElements(e,i,o,r){const s=this.options;if("mouseout"===e.type)return[];if(!r)return i.filter(l=>this.chart.data.datasets[l.datasetIndex]&&void 0!==this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index));const a=this.chart.getElementsAtEventForMode(e,s.mode,s,o);return s.reverse&&a.reverse(),a}_positionChanged(e,i){const{caretX:o,caretY:r,options:s}=this,a=Im[s.position].call(this,e,i);return!1!==a&&(o!==a.x||r!==a.y)}})();var Qbe=Object.freeze({__proto__:null,Colors:cbe,Decimation:mbe,Filler:Obe,Legend:Vbe,SubTitle:jbe,Title:Hbe,Tooltip:{id:"tooltip",_element:VN,positioners:Im,afterInit(t,n,e){e&&(t.tooltip=new VN({chart:t,options:e}))},beforeUpdate(t,n,e){t.tooltip&&t.tooltip.initialize(e)},reset(t,n,e){t.tooltip&&t.tooltip.initialize(e)},afterDraw(t){const n=t.tooltip;if(n&&n._willRender()){const e={tooltip:n};if(!1===t.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0}))return;n.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",e)}},afterEvent(t,n){t.tooltip&&t.tooltip.handleEvent(n.event,n.replay,n.inChartArea)&&(n.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,n)=>n.bodyFont.size,boxWidth:(t,n)=>n.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:BN},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]}});function zN(t){const n=this.getLabels();return t>=0&&t<n.length?n[t]:t}let tve=(()=>class t extends Il{static id="category";static defaults={ticks:{callback:zN}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const i=this._addedLabels;if(i.length){const o=this.getLabels();for(const{index:r,label:s}of i)o[r]===s&&o.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,i){if(Ct(e))return null;const o=this.getLabels();return((t,n)=>null===t?null:sn(Math.round(t),0,n))(i=isFinite(i)&&o[i]===e?i:function Jbe(t,n,e,i){const o=t.indexOf(n);return-1===o?((t,n,e,i)=>("string"==typeof n?(e=t.push(n)-1,i.unshift({index:e,label:n})):isNaN(n)&&(e=null),e))(t,n,e,i):o!==t.lastIndexOf(n)?e:o}(o,e,rt(i,e),this._addedLabels),o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(o=0),i||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const e=this.min,i=this.max,o=this.options.offset,r=[];let s=this.getLabels();s=0===e&&i===s.length-1?s:s.slice(e,i+1),this._valueRange=Math.max(s.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let a=e;a<=i;a++)r.push({value:a});return r}getLabelForValue(e){return zN.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const i=this.ticks;return e<0||e>i.length-1?null:this.getPixelForValue(i[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}})();function HN(t,n,{horizontal:e,minRotation:i}){const o=qo(i),r=(e?Math.sin(o):Math.cos(o))||.001;return Math.min(n/r,.75*n*(""+t).length)}class wb extends Il{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(n,e){return Ct(n)||("number"==typeof n||n instanceof Number)&&!isFinite(+n)?null:+n}handleTickRangeOptions(){const{beginAtZero:n}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:o,max:r}=this;const s=l=>o=e?o:l,a=l=>r=i?r:l;if(n){const l=Er(o),u=Er(r);l<0&&u<0?a(0):l>0&&u>0&&s(0)}if(o===r){let l=0===r?1:Math.abs(.05*r);a(r+l),n||s(o-l)}this.min=o,this.max=r}getTickLimit(){const n=this.options.ticks;let o,{maxTicksLimit:e,stepSize:i}=n;return i?(o=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),e=e||11),e&&(o=Math.min(e,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const n=this.options,e=n.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function ive(t,n){const e=[],{bounds:o,step:r,min:s,max:a,precision:l,count:u,maxTicks:m,maxDigits:p,includeBounds:f}=t,_=r||1,y=m-1,{min:w,max:C}=n,D=!Ct(s),M=!Ct(a),I=!Ct(u),P=(C-w)/(p+1);let L,K,Q,oe,F=HL((C-w)/y/_)*_;if(F<1e-14&&!D&&!M)return[{value:w},{value:C}];oe=Math.ceil(C/F)-Math.floor(w/F),oe>y&&(F=HL(oe*F/y/_)*_),Ct(l)||(L=Math.pow(10,l),F=Math.ceil(F*L)/L),"ticks"===o?(K=Math.floor(w/F)*F,Q=Math.ceil(C/F)*F):(K=w,Q=C),D&&M&&r&&function $pe(t,n){const e=Math.round(t);return e-n<=t&&e+n>=t}((a-s)/r,F/1e3)?(oe=Math.round(Math.min((a-s)/F,m)),F=(a-s)/oe,K=s,Q=a):I?(K=D?s:K,Q=M?a:Q,oe=u-1,F=(Q-K)/oe):(oe=(Q-K)/F,oe=fm(oe,Math.round(oe),F/1e3)?Math.round(oe):Math.ceil(oe));const ye=Math.max($L(F),$L(K));L=Math.pow(10,Ct(l)?ye:l),K=Math.round(K*L)/L,Q=Math.round(Q*L)/L;let Se=0;for(D&&(f&&K!==s?(e.push({value:s}),K<s&&Se++,fm(Math.round((K+Se*F)*L)/L,s,HN(s,P,t))&&Se++):K<s&&Se++);Se<oe;++Se){const ee=Math.round((K+Se*F)*L)/L;if(M&&ee>a)break;e.push({value:ee})}return M&&f&&Q!==a?e.length&&fm(e[e.length-1].value,a,HN(a,P,t))?e[e.length-1].value=a:e.push({value:a}):(!M||Q===a)&&e.push({value:Q}),e}({maxTicks:i,bounds:n.bounds,min:n.min,max:n.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===n.bounds&&jL(s,this,"value"),n.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const n=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&n.length){const o=(i-e)/Math.max(n.length-1,1)/2;e-=o,i+=o}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(n){return bm(n,this.chart.options.locale,this.options.ticks.format)}}const Am=t=>Math.floor(ha(t)),Al=(t,n)=>Math.pow(10,Am(t)+n);function jN(t){return t/Math.pow(10,Am(t))==1}function $N(t,n,e){const i=Math.pow(10,e),o=Math.floor(t/i);return Math.ceil(n/i)-o}function P2(t){const n=t.ticks;if(n.display&&t.display){const e=xn(n.backdropPadding);return rt(n.font&&n.font.size,ki.font.size)+e.height}return 0}function ave(t,n,e){return e=oi(e)?e:[e],{w:sfe(t,n.string,e),h:e.length*n.lineHeight}}function UN(t,n,e,i,o){return t===i||t===o?{start:n-e/2,end:n+e/2}:t<i||t>o?{start:n-e,end:n}:{start:n,end:n+e}}function cve(t,n,e,i,o){const r=Math.abs(Math.sin(e)),s=Math.abs(Math.cos(e));let a=0,l=0;i.start<n.l?(a=(n.l-i.start)/r,t.l=Math.min(t.l,n.l-a)):i.end>n.r&&(a=(i.end-n.r)/r,t.r=Math.max(t.r,n.r+a)),o.start<n.t?(l=(n.t-o.start)/s,t.t=M
1ath.min(t.t,n.t-l)):o.end>n.b&&(l=(o.end-n.b)/s,t.b=Math.max(t.b,n.b+l))}function dve(t,n,e){const i=t.drawingArea,{extra:o,additionalAngle:r,padding:s,size:a}=e,l=t.getPointPosition(n,i+o+s,r),u=Math.round(XC(go(l.angle+Pi))),m=function fve(t,n,e){return 90===e||270===e?t-=n/2:(e>270||e<90)&&(t-=n),t}(l.y,a.h,u),p=function mve(t){return 0===t||180===t?"center":t<180?"left":"right"}(u),f=function pve(t,n,e){return"right"===e?t-=n:"center"===e&&(t-=n/2),t}(l.x,a.w,p);return{visible:!0,x:l.x,y:m,textAlign:p,left:f,top:m,right:f+a.w,bottom:m+a.h}}function uve(t,n){if(!n)return!0;const{left:e,top:i,right:o,bottom:r}=t;return!(ws({x:e,y:i},n)||ws({x:e,y:r},n)||ws({x:o,y:i},n)||ws({x:o,y:r},n))}function gve(t,n,e){const{left:i,top:o,right:r,bottom:s}=e,{backdropColor:a}=n;if(!Ct(a)){const l=Ml(n.borderRadius),u=xn(n.backdropPadding);t.fillStyle=a;const m=i-u.left,p=o-u.top,f=r-i+u.width,_=s-o+u.height;Object.values(l).some(y=>0!==y)?(t.beginPath(),ym(t,{x:m,y:p,w:f,h:_,radius:l}),t.fill()):t.fillRect(m,p,f,_)}}function WN(t,n,e,i){const{ctx:o}=t;if(e)o.arc(t.xCenter,t.yCenter,n,0,si);else{let r=t.getPointPosition(0,n);o.moveTo(r.x,r.y);for(let s=1;s<i;s++)r=t.getPointPosition(s,n),o.lineTo(r.x,r.y)}}const xb={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Xn=Object.keys(xb);function GN(t,n){return t-n}function qN(t,n){if(Ct(n))return null;const e=t._adapter,{parser:i,round:o,isoWeekday:r}=t._parseOpts;let s=n;return"function"==typeof i&&(s=i(s)),Ci(s)||(s="string"==typeof i?e.parse(s,i):e.parse(s)),null===s?null:(o&&(s="week"!==o||!Td(r)&&!0!==r?e.startOf(s,o):e.startOf(s,"isoWeek",r)),+s)}function YN(t,n,e,i){const o=Xn.length;for(let r=Xn.indexOf(t);r<o-1;++r){const s=xb[Xn[r]];if(s.common&&Math.ceil((e-n)/((s.steps?s.steps:Number.MAX_SAFE_INTEGER)*s.size))<=i)return Xn[r]}return Xn[o-1]}function ZN(t,n,e){if(e){if(e.length){const{lo:i,hi:o}=e2(e,n);t[e[i]>=n?e[i]:e[o]]=!0}}else t[n]=!0}function KN(t,n,e){const i=[],o={},r=n.length;let s,a;for(s=0;s<r;++s)a=n[s],o[a]=s,i.push({value:a,major:!1});return 0!==r&&e?function Cve(t,n,e,i){const o=t._adapter,r=+o.startOf(n[0].value,i),s=n[n.length-1].value;let a,l;for(a=r;a<=s;a=+o.add(a,1,i))l=e[a],l>=0&&(n[l].major=!0);return n}(t,i,o,e):i}let O2=(()=>class t extends Il{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,i={}){const o=e.time||(e.time={}),r=this._adapter=new Mge__date(e.adapters.date);r.init(i),mm(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return void 0===e?null:qN(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,i=this._adapter,o=e.time.unit||"day";let{min:r,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function u(m){!a&&!isNaN(m.min)&&(r=Math.min(r,m.min)),!l&&!isNaN(m.max)&&(s=Math.max(s,m.max))}(!a||!l)&&(u(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&u(this.getMinMax(!1))),r=Ci(r)&&!isNaN(r)?r:+i.startOf(Date.now(),o),s=Ci(s)&&!isNaN(s)?s:+i.endOf(Date.now(),o)+1,this.min=Math.min(r,s-1),this.max=Math.max(r+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],o=e[e.length-1]),{min:i,max:o}}buildTicks(){const e=this.options,i=e.time,o=e.ticks,r="labels"===o.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const s=this.min,l=function qpe(t,n,e){let i=0,o=t.length;for(;i<o&&t[i]<n;)i++;for(;o>i&&t[o-1]>e;)o--;return i>0||o<t.length?t.slice(i,o):t}(r,s,this.max);return this._unit=i.unit||(o.autoSkip?YN(i.minUnit,this.min,this.max,this._getLabelCapacity(s)):function wve(t,n,e,i,o){for(let r=Xn.length-1;r>=Xn.indexOf(e);
vendor: 6,716 bytes, line 1
1r--){const s=Xn[r];if(xb[s].common&&t._adapter.diff(o,i,s)>=n-1)return s}return Xn[e?Xn.indexOf(e):0]}(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=o.major.enabled&&"year"!==this._unit?function xve(t){for(let n=Xn.indexOf(t)+1,e=Xn.length;n<e;++n)if(xb[Xn[n]].common)return Xn[n]}(this._unit):void 0,this.initOffsets(r),e.reverse&&l.reverse(),KN(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let r,s,i=0,o=0;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),i=1===e.length?1-r:(this.getDecimalForValue(e[1])-r)/2,s=this.getDecimalForValue(e[e.length-1]),o=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;i=sn(i,0,a),o=sn(o,0,a),this._offsets={start:i,end:o,factor:1/(i+1+o)}}_generate(){const e=this._adapter,i=this.min,o=this.max,r=this.options,s=r.time,a=s.unit||YN(s.minUnit,i,o,this._getLabelCapacity(i)),l=rt(r.ticks.stepSize,1),u="week"===a&&s.isoWeekday,m=Td(u)||!0===u,p={};let _,y,f=i;if(m&&(f=+e.startOf(f,"isoWeek",u)),f=+e.startOf(f,m?"day":a),e.diff(o,i,a)>1e5*l)throw new Error(i+" and "+o+" are too far apart with stepSize of "+l+" "+a);const w="data"===r.ticks.source&&this.getDataTimestamps();for(_=f,y=0;_<o;_=+e.add(_,l,a),y++)ZN(p,_,w);return(_===o||"ticks"===r.bounds||1===y)&&ZN(p,_,w),Object.keys(p).sort(GN).map(C=>+C)}getLabelForValue(e){const o=this.options.time;return this._adapter.format(e,o.tooltipFormat?o.tooltipFormat:o.displayFormats.datetime)}format(e,i){return this._adapter.format(e,i||this.options.time.displayFormats[this._unit])}_tickFormatFunction(e,i,o,r){const s=this.options,a=s.ticks.callback;if(a)return Kt(a,[e,i,o],this);const l=s.time.displayFormats,u=this._unit,m=this._majorUnit,f=m&&l[m],_=o[i];return this._adapter.format(e,r||(m&&f&&_&&_.major?f:u&&l[u]))}generateTickLabels(e){let i,o,r;for(i=0,o=e.length;i<o;++i)r=e[i],r.label=this._tickFormatFunction(r.value,i,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const i=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((i.start+o)*i.factor)}getValueForPixel(e){const i=this._offsets,o=this.getDecimalForPixel(e)/i.factor-i.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const i=this.options.ticks,o=this.ctx.measureText(e).width,r=qo(this.isHorizontal()?i.maxRotation:i.minRotation),s=Math.cos(r),a=Math.sin(r),l=this._resolveTickFontOptions(0).size;return{w:o*s+l*a,h:o*a+l*s}}_getLabelCapacity(e){const i=this.options.time,o=i.displayFormats,r=o[i.unit]||o.millisecond,s=this._tickFormatFunction(e,0,KN(this,[e],this._majorUnit),r),a=this._getLabelSize(s),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let i,o,e=this._cache.data||[];if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(i=0,o=r.length;i<o;++i)e=e.concat(r[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let i,o;if(e.length)return e;const r=this.getLabels();for(i=0,o=r.length;i<o;++i)e.push(qN(this,r[i]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return qL(e.sort(GN))}})();function Cb(t,n,e){let r,s,a,l,i=0,o=t.length-1;e?(n>=t[i].pos&&n<=t[o].pos&&({lo:i,hi:o}=ys(t,"pos",n)),({pos:r,time:a}=t[i]),({pos:s,time:l}=t[o])):(n>=t[i].time&&n<=t[o].time&&({lo:i,hi:o}=ys(t,"time",n)),({time:r,pos:a}=t[i]),({time:s,pos:l}=t[o]));const u=s-r;return u?a+(l-a)*(n-r)/u:a}gb.register(kge,nbe,Qbe,Object.freeze({__proto__:null,CategoryScale:tve,LinearScale:class nve extends wb{static id="linear";static defaults={ticks:{callback:eb.formatters.numeric}};determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Ci(n)?n:0,this.max=Ci(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const n=this.isHorizontal(),e=n?this.width:this.height,i=qo(this.options.ticks.minRotation),o=(n?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,r.lineHeight/o))}getPixelForValue(n){return null===n?NaN:this.getPixelForDecimal((n-this._startValue)/this._valueRange)}getValueForPixel(n){return this._startValue+this.getDecimalForPixel(n)*this._valueRange}},LogarithmicScale:class sve extends Il{static id="logarithmic";static defaults={ticks:{callback:eb.formatters.logarithmic,major:{enabled:!0}}};constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(n,e){const i=wb.prototype.parse.apply(this,[n,e]);if(0!==i)return Ci(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Ci(n)?Math.max(0,n):null,this.max=Ci(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Ci(this._userMin)&&(this.min=n===Al(this.min,0)?Al(this.min,-1):Al(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let i=this.min,o=this.max;const r=a=>i=n?i:a,s=a=>o=e?o:a;i===o&&(i<=0?(r(1),s(10)):(r(Al(i,-1)),s(Al(o,1)))),i<=0&&r(Al(o,-1)),o<=0&&s(Al(i,1)),this.min=i,this.max=o}buildTicks(){const n=this.options,i=function rve(t,{min:n,max:e}){n=fo(t.min,n);const i=[],o=Am(n);let r=function ove(t,n){let i=Am(n-t);for(;$N(t,n,i)>10;)i++;for(;$N(t,n,i)<10;)i--;return Math.min(i,Am(t))}(n,e),s=r<0?Math.pow(10,Math.abs(r)):1;const a=Math.pow(10,r),l=o>r?Math.pow(10,o):0,u=Math.round((n-l)*s)/s,m=Math.floor((n-l)/a/10)*a*10;let p=Math.floor((u-m)/Math.pow(10,r)),f=fo(t.min,Math.round((l+m+p*Math.pow(10,r))*s)/s);for(;f<e;)i.push({value:f,major:jN(f),significand:p}),p>=10?p=p<15?15:20:p++,p>=20&&(r++,p=2,s=r>=0?1:s),f=Math.round((l+m+p*Math.pow(10,r))*s)/s;const _=fo(t.max,f);return i.push({value:_,major:jN(_),significand:p}),i}({min:this._userMin,max:this._userMax},this);return"ticks"===n.bounds&&jL(i,this,"value"),n.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(n){return void 0===n?"0":bm(n,this.chart.options.locale,this.options.ticks.format)}configure(){const n=this.min;super.configure(),this._startValue=ha(n),this._valueRange=ha(this.max)-ha(n)}getPixelForValue(n){return(void 0===n||0===n)&&(n=this.min),null===n||isNaN(n)?NaN:this.getPixelForDecimal(n===this.min?0:(ha(n)-this._startValue)/this._valueRange)}getValueForPixel(n){const e=this.getDecimalForPixel(n);return Math.pow(10,this._startValue+e*this._valueRange)}},RadialLinearScale:class yve extends wb{static id="radialLinear";
vendor: 4,336 bytes, line 1
1static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:eb.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:n=>n,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(n){super(n),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const n=this._padding=xn(P2(this.options)/2),e=this.width=this.maxWidth-n.width,i=this.height=this.maxHeight-n.height;this.xCenter=Math.floor(this.left+e/2+n.left),this.yCenter=Math.floor(this.top+i/2+n.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!1);this.min=Ci(n)&&!isNaN(n)?n:0,this.max=Ci(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/P2(this.options))}generateTickLabels(n){wb.prototype.generateTickLabels.call(this,n),this._pointLabels=this.getLabels().map((e,i)=>{const o=Kt(this.options.pointLabels.callback,[e,i],this);return o||0===o?o:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const n=this.options;n.display&&n.pointLabels.display?function lve(t){const n={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},e=Object.assign({},n),i=[],o=[],r=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?ri/r:0;for(let l=0;l<r;l++){const u=s.setContext(t.getPointLabelContext(l));o[l]=u.padding;const m=t.getPointPosition(l,t.drawingArea+o[l],a),p=Ji(u.font),f=ave(t.ctx,p,t._pointLabels[l]);i[l]=f;const _=go(t.getIndexAngle(l)+a),y=Math.round(XC(_));cve(e,n,_,UN(y,m.x,f.w,0,180),UN(y,m.y,f.h,90,270))}t.setCenterPoint(n.l-e.l,e.r-n.r,n.t-e.t,e.b-n.b),t._pointLabelItems=function hve(t,n,e){const i=[],o=t._pointLabels.length,r=t.options,{centerPointLabels:s,display:a}=r.pointLabels,l={extra:P2(r)/2,additionalAngle:s?ri/o:0};let u;for(let m=0;m<o;m++){l.padding=e[m],l.size=n[m];const p=dve(t,m,l);i.push(p),"auto"===a&&(p.visible=uve(p,u),p.visible&&(u=p))}return i}(t,i,o)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(n,e,i,o){this.xCenter+=Math.floor((n-e)/2),this.yCenter+=Math.floor((i-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(n,e,i,o))}getIndexAngle(n){return go(n*(si/(this._pointLabels.length||1))+qo(this.options.startAngle||0))}getDistanceFromCenterForValue(n){if(Ct(n))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-n)*e:(n-this.min)*e}getValueForDistanceFromCenter(n){if(Ct(n))return NaN;const e=n/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(n){const e=this._pointLabels||[];if(n>=0&&n<e.length){const i=e[n];return function vve(t,n,e){return ma(t,{label:e,index:n,type:"pointLabel"})}(this.getContext(),n,i)}}getPointPosition(n,e,i=0){const o=this.getIndexAngle(n)-Pi+i;return{x:Math.cos(o)*e+this.xCenter,y:Math.sin(o)*e+this.yCenter,angle:o}}getPointPositionForValue(n,e){return this.getPointPosition(n,this.getDistanceFromCenterForValue(e))}getBasePosition(n){return this.getPointPositionForValue(n||0,this.getBaseValue())}getPointLabelPosition(n){const{left:e,top:i,right:o,bottom:r}=this._pointLabelItems[n];return{left:e,top:i,right:o,bottom:r}}drawBackground(){const{backgroundColor:n,grid:{circular:e}}=this.options;if(n){const i=this.ctx;i.save(),i.beginPath(),WN(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=n,i.fill(),i.restore()}}drawGrid(){const n=this.ctx,e=this.options,{angleLines:i,grid:o,border:r}=e,s=this._pointLabels.length;let a,l,u;if(e.pointLabels.display&&function _ve(t,n){const{ctx:e,options:{pointLabels:i}}=t;for(let o=n-1;o>=0;o--){const r=t._pointLabelItems[o];if(!r.visible)continue;const s=i.setContext(t.getPointLabelContext(o));gve(e,s,r);const a=Ji(s.font),{x:l,y:u,textAlign:m}=r;kl(e,t._pointLabels[o],l,u+a.lineHeight/2,a,{color:s.color,textAlign:m,textBaseline:"middle"})}}(this,s),o.display&&this.ticks.forEach((m,p)=>
1{if(0!==p||0===p&&this.min<0){l=this.getDistanceFromCenterForValue(m.value);const f=this.getContext(p),_=o.setContext(f),y=r.setContext(f);!function bve(t,n,e,i,o){const r=t.ctx,s=n.circular,{color:a,lineWidth:l}=n;!s&&!i||!a||!l||e<0||(r.save(),r.strokeStyle=a,r.lineWidth=l,r.setLineDash(o.dash),r.lineDashOffset=o.dashOffset,r.beginPath(),WN(t,e,s,i),r.closePath(),r.stroke(),r.restore())}(this,_,l,s,y)}}),i.display){for(n.save(),a=s-1;a>=0;a--){const m=i.setContext(this.getPointLabelContext(a)),{color:p,lineWidth:f}=m;!f||!p||(n.lineWidth=f,n.strokeStyle=p,n.setLineDash(m.borderDash),n.lineDashOffset=m.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),u=this.getPointPosition(a,l),n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(u.x,u.y),n.stroke())}n.restore()}}drawBorder(){}drawLabels(){const n=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const o=this.getIndexAngle(0);let r,s;n.save(),n.translate(this.xCenter,this.yCenter),n.rotate(o),n.textAlign="center",n.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&this.min>=0&&!e.reverse)return;const u=i.setContext(this.getContext(l)),m=Ji(u.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),u.showLabelBackdrop){n.font=m.string,s=n.measureText(a.label).width,n.fillStyle=u.backdropColor;const p=xn(u.backdropPadding);n.fillRect(-s/2-p.left,-r-m.size/2-p.top,s+p.width,m.size+p.height)}kl(n,a.label,0,-r,m,{color:u.color,strokeColor:u.textStrokeColor,strokeWidth:u.textStrokeWidth})}),n.restore()}drawTitle(){}},TimeScale:O2,TimeSeriesScale:class kve extends O2{static id="timeseries";static defaults=O2.defaults;constructor(n){super(n),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const n=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(n);this._minPos=Cb(e,this.min),this._tableRange=Cb(e,this.max)-this._minPos,super.initOffsets(n)}buildLookupTable(n){const{min:e,max:i}=this,o=[],r=[];let s,a,l,u,m;for(s=0,a=n.length;s<a;++s)u=n[s],u>=e&&u<=i&&o.push(u);if(o.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(s=0,a=o.length;s<a;++s)m=o[s+1],l=o[s-1],u=o[s],Math.round((m+l)/2)!==u&&r.push({time:u,pos:s/(a-1)});return r}_generate(){const n=this.min,e=this.max;let i=super.getDataTimestamps();return(!i.includes(n)||!i.length)&&i.splice(0,0,n),(!i.includes(e)||1===i.length)&&i.push(e),i.sort((o,r)=>o-r)}_getTimestampsForTable(){let n=this._cache.all||[];if(n.length)return n;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return n=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,n=this._cache.all=n,n}getDecimalForValue(n){return(Cb(this._table,n)-this._minPos)/this._tableRange}getValueForPixel(n){const e=this._offsets,i=this.getDecimalForPixel(n)/e.factor-e.end;return Cb(this._table,i*this._tableRange+this._minPos,!0)}}}));const Sve=["employeeStatsChart"],Eve=["#96C8DC","#72BBAE","#F3DEA5","#DEB4CE","#8B6CA9","#E99F5F","#7683E8","#F37D7C"];let Tve=(()=>{class t{ngOnInit(){this.chartConfig={type:"bar",options:{scales:{x:{grid:{display:!1}},y:{grid:{display:!1}}},plugins:{legend:{position:"bottom"}}},data:{labels:["Active Employees","Issued Cards","Activated Cards","Made Transactions"],datasets:[{label:"Number of employees",data:this.stats?[this.stats.employees,this.stats.issuedCards,this.stats.activatedCards,this.stats.madeTransactions]:[],backgroundColor:Eve,hoverOffset:4}]}}}ngAfterViewInit(){this.chart=new gb(this.employeeStatsChart.nativeElement,this.chartConfig)}ngOnDestroy(){this.chart?.destroy()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-employees-stats"]],viewQuery:function(i,o){if(1&i&&me(Sve,5),2&i){let r;H(r=j())&&(o.employeeStatsChart=r.first)}},inputs:{stats:"stats"},standalone:!0,features:[z],decls:6,vars:0,consts:[[1,"h-full","flex","flex-col","rounded-xl","bg-neutral-100","p-6"],[1,"font-black","pb-5"],[1,"h-full","px-6","flex","justify-center","items-center"],["employeeStatsChart",""]],template:function(i,o){1&i&&(c(0,"section",0)(1,"h4",1),h(2,"Employee Progress"),d(),c(3,"div",2),x(4,"canvas",null,3),d()())},dependencies:[ne,Ii],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Ive=["serviceStatsChart"];function Ave(t,n){if(1&t&&(c(0,"div",3),x(1,"canvas",null,4),c(3,"div",5),h(4),ve(5,"date"),d()()),2&t){const e=S();b(4),ce("Last updated ",Bo(5,1,e.stats.lastUpdated,"mediumDate"),"")}}function Pve(t,n){1&t&&h(0," Not enough data ")}function Ove(t,n){1&t&&h(0," No data ")}
1function Rve(t,n){if(1&t&&(c(0,"div",6),T(1,Pve,1,0)(2,Ove,1,0),d()),2&t){const e=S();b(1),U(1,e.stats.hasEnoughUsers?!1===e.anyStats?2:-1:1)}}const Fve=["#96C8DC","#72BBAE","#F3DEA5","#DEB4CE","#8B6CA9","#E99F5F","#7683E8","#F37D7C"];let Lve=(()=>{class t{ngOnInit(){this.anyStats=!!Object.keys(this.stats).length,this.showChart=this.stats.hasEnoughUsers||!1===this.anyStats,this.stats.spendByService&&(this.chartConfig={type:"doughnut",data:{labels:Object.keys(this.stats.spendByService),datasets:[{label:"Spend by service type",data:Object.values(this.stats.spendByService),backgroundColor:Fve,hoverOffset:4}]},options:{plugins:{legend:{position:"bottom",align:"start"}}}})}ngAfterViewInit(){this.showChart&&(this.chart=new gb(this.serviceStatsChart.nativeElement,this.chartConfig))}ngOnDestroy(){this.chart?.destroy()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-service-stats"]],viewQuery:function(i,o){if(1&i&&me(Ive,5),2&i){let r;H(r=j())&&(o.serviceStatsChart=r.first)}},inputs:{stats:"stats"},standalone:!0,features:[z],decls:5,vars:1,consts:[[1,"h-full","flex","flex-col","rounded-lg","bg-neutral-100","p-6"],[1,"font-black","pb-5"],["class","max-w-72 mx-auto"],[1,"max-w-72","mx-auto"],["serviceStatsChart",""],[1,"text-center","text-xs","text-gray-500","mt-8"],[1,"flex","flex-1","-mt-8","justify-center","items-center","text-lg","text-neutral-600","min-h-32"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"h4",1),h(2,"Provider Spend Breakdown"),d(),T(3,Ave,6,4,"div",2)(4,Rve,3,1),d()),2&i&&(b(3),U(3,o.showChart?3:4))},dependencies:[ne,pr,Ii],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),Nve=(()=>{class t{get totalSpent(){return this.stats.totalValue-this.stats.totalBalance}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-totals-stats"]],inputs:{stats:"stats"},standalone:!0,features:[z],decls:22,vars:9,consts:[[1,"bg-neutral-100","rounded-xl","p-6"],[1,"font-black","pl-2","pb-5"],[1,"flex","flex-col","gap-3","lg:flex-row"],[1,"flex-1","rounded-2xl","px-4","py-3","bg-winnie-blue-muted"],[1,"font-semibold"],[1,"font-bold","text-2xl"],[1,"flex-1","rounded-2xl","px-4","py-3","bg-bee-yellow-muted"],[1,"flex-1","rounded-2xl","px-4","py-3","bg-easy-green-muted"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"h4",1),h(2,"Totals"),d(),c(3,"div",2)(4,"div",3)(5,"div",4),h(6,"Total contributed"),d(),c(7,"div",5),h(8),ve(9,"currency"),d()(),c(10,"div",6)(11,"div",4),h(12,"Total spent"),d(),c(13,"div",5),h(14),ve(15,"currency"),d()(),c(16,"div",7)(17,"div",4),h(18,"Remaining balance"),d(),c(19,"div",5),h(20),ve(21,"currency"),d()()()()),2&i&&(b(8),pe(Me(9,3,o.stats.totalValue)),b(6),pe(Me(15,5,o.totalSpent)),b(6),pe(Me(21,7,o.stats.totalBalance)))},dependencies:[ne,Ha,Ii],encapsulation:2})}return t})();function Bve(t,n){1&t&&h(0),2&t&&ce(" \u2014 Dashboard for ",S().ngLet.businessName," ")}function Vve(t,n){1&t&&Le(0,15),2&t&&(S(3),k("ngTemplateOutlet",mt(5)))}function zve(t,n){if(1&t){const e=Ne();c(0,"app-business-notifications",16),V("purchase",function(o){return re(e),se(S(3).handleNotificationAction(o))}),d()}2&t&&k("items",S(2).ngLet.notifications.data)}function Hve(t,n){if(1&t&&T(0,Vve,1,1)(1,zve,1,1),2&t){let i;U(0,"loading"===(i=S().ngLet.notifications.state)?0:"loaded"===i?1:-1)}}function jve(t,n){1&t&&Le(0,15),2&t&&(S(2),k("ngTemplateOutlet",mt(5)))}function $ve(t,n){1&t&&x(0,"app-business-totals-stats",17),2&t&&k("stats",S().ngLet.stats.balance)}function Uve(t,n){1&t&&x(0,"section",18)}function Wve(t,n){if(1&t&&x(0,"app-business-service-stats",19)(1,"app-business-employees-stats",19),2&t){const e=S().ngLet;k("stats",e.stats.services),b(1),k("stats",e.stats.employees)}}function Gve(t,n){1&t&&x(0,"section",20)(1,"section",20)}function qve(t,n){if(1&t&&(c(0,"div",2)(1,"section",3)(2,"app-business-dashboard-heading",4),h(3," Dashboard "),d(),c(4,"h3",5),h(5," Welcome "),T(6,Bve,1,1),d()(),c(7,"section",6),T(8,Hve,2,1)(9,jve,1,1),d(),T(10,$ve,1,1,"app-business-totals-stats",7)(11,Uve,1,0),c(12,"div",8)(13,"a
1pp-business-cta-card",9)(14,"div",10)(15,"div")(16,"h4",11),h(17,"Individual Purchasing"),d(),c(18,"h3",12),h(19,"Gifting for special occasions"),d()(),c(20,"a",13),h(21,"Order Now"),d()()(),c(22,"app-business-cta-card",14)(23,"div",10)(24,"div")(25,"h4",11),h(26,"Bulk Purchasing"),d(),c(27,"h3",12),h(28,"EAPs, gifting at frequency"),d()(),c(29,"a",13),h(30,"Order Now"),d()()()(),c(31,"div",8),T(32,Wve,2,2)(33,Gve,2,0),d()()),2&t){const e=n.ngLet;b(6),U(6,e.businessName?6:-1),b(2),U(8,e.notifications?8:9),b(2),U(10,e.stats?10:11),b(22),U(32,e.stats?32:33)}}function Yve(t,n){1&t&&x(0,"div",21)}const Zve=(t,n,e)=>({businessName:t,stats:n,notifications:e});let Kve=(()=>{class t{constructor(e,i,o,r,s){this.jwtService=e,this.configService=i,this.httpClient=o,this.router=r,this.http=s}ngOnInit(){this.businessName$=this.jwtService.businessId$.pipe(X(i=>this.httpClient.get(`${this.configService.config.baseApiUrl}/business/${i}`)),te(i=>i.value.name)),this.stats$=this.jwtService.businessId$.pipe(X(i=>this.httpClient.get(`${this.configService.config.baseApiUrl}/business/${i}/stats`)),te(i=>({...i.value,services:{hasEnoughUsers:i.value.services.hasEnoughUsers,lastUpdated:i.value.services.lastUpdated,spendByService:Object.fromEntries(Object.entries(i.value.services.spendByService).map(([o,r])=>[o.charAt(0).toUpperCase()+o.slice(1),r]))}})));const e=new Date;this.notifications$=this.jwtService.businessId$.pipe(X(i=>{const o=e.getMonth()+1,r=e.getFullYear();return this.http.get(`${this.configService.config.baseApiUrl}/business/${i}/events?month=${o}&year=${r}`).pipe(te(a=>(a.value=a.value.filter(l=>G_(new Date(l.date),e)),us(a))),Xi(a=>ds(a,"Error getting notifications")),ei({state:"loading"}))}))}handleNotificationAction(e){this.router.navigateByUrl("/business/dashboard/purchasing",{state:{handleNotificationAction:e}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Zn),v(ii),v(Bt),v(Pt),v(Bt))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-home"]],standalone:!0,features:[z],decls:6,vars:11,consts:[["class","flex flex-col gap-8 px-5 py-6 lg:px-20 lg:py-16",4,"ngLet"],["notificationsSkeleton",""],[1,"flex","flex-col","gap-8","px-5","py-6","lg:px-20","lg:py-16"],[1,"flex","flex-col","gap-6"],["colour","blue"],[1,""],[1,"max-w-7xl"],["class","max-w-7xl",3,"stats"],[1,"flex","flex-col","gap-6","max-w-7xl","xl:flex-row"],["colour","yellow","bgImageClass","bg-[url('/assets/business-dashboard-home/gifting-cta-background.webp')]",1,"flex-1"],[1,"flex","flex-col","gap-8","pl-12","pr-6","py-10"],[1,"uppercase","font-medium","mb-4"],[1,"font-bold","text-2xl","lg:text-3xl","md:max-w-48"],["button","","routerLink","/business/dashboard/purchasing",1,"md:w-fit","text-center"],["colour","blue","bgImageClass","bg-[url('/assets/business-dashboard-home/eaps-cta-background.webp')]",1,"flex-1"],[3,"ngTemplateOutlet"],["size","lg",3,"items","purchase"],[1,"max-w-7xl",3,"stats"],[1,"h-40","max-w-7xl","rounded-lg","bg-neutral-100","animate-pulse"],[1,"flex-1","xl:w-1/2",3,"stats"],[1,"h-96","flex-1","rounded-lg","bg-neutral-100","animate-pulse"],[1,"flex","flex-col","items-center","w-full","h-[300px]","rounded-xl","bg-neutral-100","animate-pulse"]],template:function(i,o){1&i&&(T(0,qve,34,4,"div",0),ve(1,"async"),ve(2,"async"),ve(3,"async"),T(4,Yve,1,0,"ng-template",null,1,Yi)),2&i&&k("ngLet",wf(7,Zve,Me(1,1,o.businessName$),Me(2,3,o.stats$),Me(3,5,o.notifications$)))},dependencies:[ne,At,Vi,Ii,Ln,Dt,zt,Zt,am,Nve,Lve,Tve,dpe,EL],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),Nn=(()=>{class t{constructor(e){this.tracker=e}onClick(){this.tracker.trackContactRequest("Intercom opened",this.data.subject,this.data.location)}static#e=this.\u0275fac=function(i){return new(i||t)(v(la))};static#t=this.\u0275dir=N({type:t,selectors:[["","trackContactUs",""]],hostBindings:function(i,o){1&i&&V("click",function(s){return o.onClick(s)})},inputs:{data:["trackContactUs","data"]},standalone:!0})}return t})();const Qve=["*"];let QN=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-subheading"]],standalone:!0,features:[z],ngContentSelectors:Qve,decls:2,vars:0,consts:[[1,"font-bold","border-t-2","border-t-soft-black","uppercase","text-lg","py-4"]],template:function(i,o){1&i&&(it(),c(0,"h3",0),ge(1),d())},dependencies:[ne],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Xve=(t,n)=>n.id;function Jve(t,n){if(1&t){const e=Ne();c(0,"button",16),V("click",function(){re(e);const o=S().$implicit;return se(S().handleResend(o))}),h(1," Resend SMS "),d()}}function eye(t,n){if(1&t&&(c(0,"tr",7)(1,"td",8),h(2),d(),c(3,"td",9)(4,"div")(5,"span",10),h(6,"Status:"),d(),h(7),d(),c(8,"div",11)(9,"span",12),h(10,"Code:"),d(),h(11),d()(),c(12,"td",13),h(13),d(),c(14,"td",9)(15,"div")(16,"span",10),h(17,"Amount:"),d(),h(18),ve(19,"currency"),d(),c(20,"div",11)(21,"span",12),h(22,"Balance:"),d(),h(23),ve(24,"currency"),d()(),c(25,"td",13),h(26),ve(27,"currency"),d(),c(28,"td",14),T(29,Jve,2,0,"button",15),d()()),2&t){const e=n.$implicit;let i,o,r;
1b(2),dr(" ",e.recipientFirstName," ",e.recipientLastName," "),b(5),ce(" ",null!==(i=e.status)&&void 0!==i?i:"unknown"," "),b(4),ce(" ",null!==(o=e.activationCode)&&void 0!==o?o:"unknown"," "),b(2),ce(" ",null!==(r=e.activationCode)&&void 0!==r?r:"unknown"," "),b(5),ce(" ",Me(19,9,e.amount)," "),b(5),ce(" ",void 0===e.balance?"unknown":Me(24,11,e.balance)," "),b(3),ce(" ",void 0===e.balance?"unknown":Me(27,13,e.balance)," "),b(3),U(29,e.vaultCardId&&!1===e.isRedeemed?29:-1)}}let tye=(()=>{class t{constructor(){this.resend=new E}handleResend(e){this.resend.emit(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-order-detail-cards"]],inputs:{cards:"cards"},outputs:{resend:"resend"},standalone:!0,features:[z],decls:19,vars:0,consts:[[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"py-3.5","pl-4","pr-3","text-left","text-sm","font-semibold","text-gray-900","sm:pl-3"],["scope","col",1,"px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900"],["scope","col",1,"hidden","px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900","lg:table-cell"],["scope","col",1,"px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900","sm:pr-3"],[1,"sr-only"],[1,"bg-white"],[1,"even:bg-gray-50"],[1,"whitespace-nowrap","py-4","pl-4","pr-3","text-sm","font-medium","align-top","lg:align-middle","text-gray-700","sm:pl-3"],[1,"whitespace-nowrap","text-gray-500","px-3","py-4","text-sm","space-y-1.5"],[1,"inline","lg:hidden","font-medium"],[1,"lg:hidden"],[1,"font-medium"],[1,"hidden","whitespace-nowrap","text-gray-500","px-3","py-4","text-sm","space-y-1.5","lg:table-cell"],[1,"whitespace-nowrap","text-gray-500","px-3","py-4","text-sm","space-y-1.5","sm:pr-3"],["button","","size","sm"],["button","","size","sm",3,"click"],["class","even:bg-gray-50"]],template:function(i,o){1&i&&(c(0,"table",0)(1,"thead")(2,"tr")(3,"th",1),h(4," Employee "),d(),c(5,"th",2),h(6," Status "),d(),c(7,"th",3),h(8," Activation Code "),d(),c(9,"th",2),h(10," Amount "),d(),c(11,"th",3),h(12," Balance "),d(),c(13,"th",4)(14,"div",5),h(15,"Actions"),d()()()(),c(16,"tbody",6),ft(17,eye,30,15,"tr",17,Xve),d()()),2&i&&(b(17),gt(o.cards))},dependencies:[ne,Ha,Zt],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function iye(t,n){if(1&t&&(c(0,"tr")(1,"td",0),h(2,"Description:"),d(),c(3,"td",1),h(4),d()()),2&t){const e=S();b(4),pe(e.purchaseBatch.description)}}function nye(t,n){if(1&t&&(c(0,"tr")(1,"td",0),h(2,"Created:"),d(),c(3,"td",1),h(4),ve(5,"date"),d()()),2&t){const e=S();b(4),pe(Bo(5,1,e.purchaseBatch.created,"mediumDate"))}}let oye=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-order-detail-overview"]],inputs:{purchaseBatch:"purchaseBatch"},standalone:!0,features:[z],decls:14,vars:4,consts:[[1,"font-semibold","p-1","text-right"],[1,"p-1"]],template:function(i,o){1&i&&(c(0,"table")(1,"tbody"),T(2,iye,5,1,"tr")(3,nye,6,4,"tr"),c(4,"tr")(5,"td",0),h(6,"Payment Received:"),d(),c(7,"td",1),h(8),d()(),c(9,"tr")(10,"td",0),h(11,"Cards Issued:"),d(),c(12,"td",1),h(13),d()()()()),2&i&&(b(2),U(2,o.purchaseBatch.description?2:-1),b(1),U(3,o.purchaseBatch.created?3:-1),b(5),pe(o.purchaseBatch.isPaid?"Yes":"No"),b(5),pe(o.purchaseBatch.isIssued?"Yes":"No"))},dependencies:[ne,pr],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function rye(t,n){1&t&&x(0,"div",3)(1,"div",4)}function sye(t,n){if(1&t){const e=Ne();c(0,"section"),x(1,"app-business-order-detail-overview",5),d(),c(2,"section",6)(3,"app-business-dashboard-subheading"),h(4,"Cards"),d(),c(5,"app-business-order-detail-cards",7),V("resend",function(o){return re(e),se(S(3).handleResend(o))}),d()()}if(2&t){const e=S(2).ngLet;b(1),k("purchaseBatch",e.data),b(4),k("cards",e.data.cardPurchases)}}const aye=()=>({subject:"Error",location:"Business order details"});function lye(t,n){if(1&t&&(c(0,"app-alert",8)(1,"p",9),h(2),d(),c(3,"p",10),h(4," Try reloading the page, or "),c(5,"a",11),h(6,"contact us"),d(),h(7," if you keep having trouble. "),d()()),2&t){const e=S(2).ngLet;b(2),pe(e.message),b(3),k("trackContactUs",Be(2,aye))}}function cye(t,n){if(1&t&&T(0,rye,2,0)(1,sye,6,2)(2,lye,8,3),2&t){let i;U(0,"loading"===(i=S().ngLet.state)?0:"loaded"===i?1:"error"===i?2:-1)}}function dye(t,n){if(1&t&&(c(0,"div",1)(1,"a",2),x(2,"app-arrow-left-icon"),h(3," Back to order history "),d(),c(4,"app-business-dashboard-heading"),h(5,"Order Details"),d(),T(6,cye,3,1),d()),2&t){const e=n.ngLet;b(6),U(6,e?6:-1)}}let uye=(()=>{class t{constructor(e,i,o,r){this.http=e,this.configService=i,this.jwtService=o,this.route=r,this.needsRefresh$=new Ee(!1)}ngOnInit(){this.cardPurchaseBatchToken$=this.route.params.pipe(te(e=>e.token)),this.purchaseBatchState$=qt([this.jwtService.businessId$,this.cardPurchaseBatchToken$]).pipe(X(([e,i])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${e}/card-batches/${i}`).pipe(te(us),Xi(o=>ds(o,"Error getting order details")),ei({state:"loading"}))))}handleResend(e){qt([this.jwtService.businessId$,this.cardPurchaseBatchToken$]).pipe(X(([i,o]
1)=>this.http.post(`${this.configService.config.baseApiUrl}/business/${i}/card-batches/${o}/resend`,{VaultCardId:e.vaultCardId})),ue()).subscribe({next:()=>this.needsRefresh$.next(!0)})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Zn),v($i))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-order-detail"]],standalone:!0,features:[z],decls:2,vars:3,consts:[["class","flex flex-col gap-10 px-5 py-6 lg:px-20 lg:py-16",4,"ngLet"],[1,"flex","flex-col","gap-10","px-5","py-6","lg:px-20","lg:py-16"],["routerLink","/business/dashboard/order-history",1,"flex","items-center","gap-1.5","underline-offset-2","font-medium","hover:underline"],[1,"h-28","rounded-lg","bg-neutral-100","animate-pulse"],[1,"h-48","rounded-lg","bg-neutral-100","animate-pulse"],[3,"purchaseBatch"],[1,"flex","flex-col","gap-6","max-w-4xl"],[3,"cards","resend"],["type","error",1,"max-w-xl","mt-6"],["alert-title",""],["alert-description",""],["onclick","window.HubSpotConversations.widget.open()",1,"cursor-pointer","font-medium","underline",3,"trackContactUs"]],template:function(i,o){1&i&&(T(0,dye,7,1,"div",0),ve(1,"async")),2&i&&k("ngLet",Me(1,1,o.purchaseBatchState$))},dependencies:[ne,Vi,Dt,zt,am,QN,yl,Ii,Ln,oye,tye,vl,Nn],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const hye=(t,n)=>n.id,mye=t=>["/","business","dashboard","order-history",t];function pye(t,n){if(1&t&&(c(0,"a",24),h(1),ve(2,"date"),d()),2&t){const e=S().$implicit;k("routerLink",di(5,mye,e.token)),b(1),ce(" ",Bo(2,2,e.created,"mediumDate")," ")}}function fye(t,n){if(1&t&&(c(0,"div"),h(1),ve(2,"date"),d()),2&t){const e=S().$implicit;b(1),pe(Bo(2,1,e.created,"mediumDate"))}}function gye(t,n){1&t&&h(0," Release Cards ")}function _ye(t,n){1&t&&h(0," Resume Payment ")}function bye(t,n){if(1&t){const e=Ne();c(0,"button",25),V("click",function(){re(e);const o=S().$implicit;return se(S().handleResume(o))}),T(1,gye,1,0)(2,_ye,1,0),d()}if(2&t){const e=S().$implicit;b(1),U(1,"Paid"===e.status?1:2)}}function vye(t,n){if(1&t&&(c(0,"tr",11)(1,"td",12),T(2,pye,3,7,"a",13)(3,fye,3,4),c(4,"div",14),h(5),d()(),c(6,"td",15),h(7),d(),c(8,"td",16)(9,"div",17)(10,"span",18),h(11,"Recipients:"),d(),h(12),d(),c(13,"div",19)(14,"span",20),h(15,"Amount:"),d(),h(16),ve(17,"currency"),d()(),c(18,"td",21),h(19),ve(20,"currency"),d(),c(21,"td",22),T(22,bye,3,1,"button",23),d()()),2&t){const e=n.$implicit;b(2),U(2,"Paid"===e.status||"Issued"===e.status||e.canResumePayment?2:3),b(3),pe(e.status),b(2),ce(" ",e.status," "),b(5),ce(" ",e.recipientCount," "),b(4),ce(" ",Me(17,7,e.amount)," "),b(3),ce(" ",Me(20,9,e.amount)," "),b(3),U(22,!e.canResumePayment||"Unpaid"!==e.status&&"Paid"!==e.status?-1:22)}}let yye=(()=>{class t{constructor(){this.skip=new E,this.resume=new E}get data(){return this.cardPurchaseBatches.results.map(e=>({...e,status:_L(e)}))}handleSkip(e){this.skip.emit(e)}handleResume(e){this.resume.emit({id:e.id,status:e.status})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-order-history-table"]],inputs:{cardPurchaseBatches:"cardPurchaseBatches"},outputs:{skip:"skip",resume:"resume"},standalone:!0,features:[z],decls:20,vars:1,consts:[[1,"flex","flex-col","gap-6","max-w-4xl"],[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"py-3.5","pl-4","pr-3","text-left","text-sm","font-semibold","text-gray-900","sm:pl-3"],["scope","col",1,"hidden","px-3","py-3.5","text-sm","font-semibold","text-gray-900","xl:table-cell"],["scope","col",1,"px-3","py-3.5","text-right","text-sm","font-semibold","text-gray-900"],[1,"hidden","xl:block","mx-auto"],["scope","col",1,"px-3","py-3.5","text-right","text-sm","font-semibold","text-gray-900","hidden","xl:table-cell"],["scope","col",1,"relative","py-3.5","pl-3","pr-4","sm:pr-3"],[1,"sr-only"],[1,"bg-white"],[3,"pagedList","skipChanged"],[1,"even:bg-gray-50"],[1,"whitespace-nowrap","py-4","pl-4","pr-3","text-sm","text-gray-700","text-left","sm:pl-3"],["class","underline underline-offset-2 font-medium",3,"routerLink"],[1,"xl:hidden"],[1,"hidden","whitespace-nowrap","text-center","px-3","py-4","text-sm","text-gray-500","xl:table-cell"],[1,"whitespace-nowrap","text-right","px-3","py-4","text-sm","text-gray-500"],[1,"flex","gap-2","xl:justify-end"],[1,"inline","font-medium","xl:hidden"],[1,"gap-2","flex","xl:hidden"],[1,"font-medium"],[1,"whitespace-nowrap","px-3","py-4","text-right","text-sm","text-gray-500","hidden","xl:table-cell"],[1,"py-4","pl-3","pr-4","text-right","sm:pr-3"],["button","cta","size","sm"],[1,"underline","underline-offset-2","font-medium",3,"routerLink"],["button","cta","size","sm",3,"click"],["class","even:bg-gray-50"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"table",1)(2,"thead")(3,"tr")(4,"th",2),h(5," Date "),d(),c(6,"th",3),h(7," Status "),d(),c(8,"th",4)(9,"div",5),h(10,"# Recipients"),d()(),c(11,"th",6),h(12," Amount "),d(),c(13,"th",7)(14,"span",8),h(15,"Resume payment"),d()()()(),c(16,"tbody",9),ft(17,vye,23,11,"tr",26,hye),d()(),c(19,"app-pagination-buttons",10),V("skipChanged",function(s){return o.handleSkip(s)}),d()()),2&i&&(b(17),gt(o.data),b(2),k("pagedList",o.cardPurchaseBatches))},dependencies:[ne,Ha,pr,Dt,zt,Zt,$_],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function wye(t,n){1&t&&x(0,"section",2)}function xye(t,n){if(1&t){const e=Ne();c(0,"app-business-order-history-table",3),V("skip",function(o){return re(e),se(S(3).handleSkip(o))})("resume",function(o){return re(e),se(S(3).handleResume(o))}),d()}2&t&&k("cardPurchaseBatches",S(2).ngLet.orderHistoryState.data)}const Cye=()=>({subject:"Error",location:"Business order history"});function kye(t,n){if(1&t&&(c(0,"app-alert",4)(1,"p",5),h(2),d(),c(3,"p",6),h(4," Try reloading the page, or "),c(5,"a",7),h(6,"contact us"),d(),h(7," if you keep having trouble. "),d()()),2&t){const e=S(2).ngLet;b(2),pe(e.orderHistoryState.message),b(3),k("trackContactUs",Be(2,Cye))}}function Mye(t,n){if(1&t&&T(0,wye,1,0)(1,xye,1,1)(2,kye,8,3),2&t){let i;U(0,"loading"===(i=S().ngLet.orderHistoryState.state)?0:"loaded"===i?1:"error"===i?2:-1)}}function Dye(t,n){if(1&t&&(c(0,"div",1)(1,"app-business-dashboard-heading"),h(2,"Order History"),d(),T(3,Mye,3,1),d()),2&t){const e=n.ngLet;b(3),U(3,e.orderHistoryState?3:-1)}}const Sye=t=>({orderHistoryState:t});let Eye=(()=>{class t{constructor(e,i,o,r,s){this.http=e,this.configService=i,this.jwtService=o,this.router=r,this.notificationService=s,this.needsRefresh$=new Ee(!1),this.skip$=new Ee(0)}ngOnInit(){this.orderHistoryState$=qt([this.jwtService.businessId$,this.skip$,this.needsRefresh$]).pipe(X(([e,i])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${e}/card-batches?skip=${i}`).pipe(te(us),Xi(o=>ds(o,"Error getting order history")),ei({state:"loading"}))))}handleResume(e){"Paid"===e.status?this.releaseCards(e.id):this.resumePayment(e.id)}resumePayment(e){qt([this.jwtService.businessId$]).pipe(X(([i])=>this.http.put(`${this.configService.config.baseApiUrl}/business/${i}/card-batches/purchase/${e}`,{})),te(i=>i.value),ue()).subscribe({next:()=>{this.router.navigate([`business/payment/${e}`])}})}releaseCards(e){qt([this.jwtService.businessId$]).pipe(X(([i])=>this.http.post(`${this.configService.config.baseApiUrl}/business/${i}/card-batches/purchase/${e}/release`,{})),te(i=>i.value),ue()).subscribe({next:()=>{this.needsRefresh$.next(!0)},error:i=>{console.error(i);const o=(i?.error?.errors??[]).map(r=>
1r.message).filter(Boolean).join(" ");this.notificationService.error("Releasing the cards failed",o||"The cards may not have been issued. Please contact Mentwell before trying again.")}})}handleSkip(e){this.skip$.next(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Zn),v(Pt),v(Md))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-order-history"]],standalone:!0,features:[z],decls:2,vars:5,consts:[["class","flex flex-col gap-8 px-5 py-6 lg:px-20 lg:py-16",4,"ngLet"],[1,"flex","flex-col","gap-8","px-5","py-6","lg:px-20","lg:py-16"],[1,"h-64","rounded-lg","bg-neutral-100","animate-pulse"],[3,"cardPurchaseBatches","skip","resume"],["type","error",1,"max-w-xl","mt-6"],["alert-title",""],["alert-description",""],["onclick","window.HubSpotConversations.widget.open()",1,"cursor-pointer","font-medium","underline",3,"trackContactUs"]],template:function(i,o){1&i&&(T(0,Dye,4,1,"div",0),ve(1,"async")),2&i&&k("ngLet",di(3,Sye,Me(1,1,o.orderHistoryState$)))},dependencies:[ne,Vi,Ii,Ln,yye,am,vl,Nn],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Tye=t=>({hidden:t}),Iye=["*"];let XN=(()=>{class t{constructor(e){this.renderer=e,this.onClose=new E,this._isOpen=!1}get isOpen(){return this._isOpen}toggleOpen(){this._isOpen?this.close():this.open()}open(){this.renderer.setStyle(document.body,"overflow-y","hidden"),this._isOpen=!0}close(){this.renderer.removeStyle(document.body,"overflow-y"),this._isOpen=!1}static#e=this.\u0275fac=function(i){return new(i||t)(v(or))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-drawer"]],inputs:{title:"title"},outputs:{onClose:"close"},standalone:!0,features:[z],ngContentSelectors:Iye,decls:20,vars:4,consts:[["aria-labelledby","slide-over-title","role","dialog","aria-modal","true",1,"relative","z-[51]","mb-20",3,"ngClass"],["aria-hidden","true",1,"fixed","inset-0","bg-gray-500","bg-opacity-75","transition-opacity"],[1,"fixed","inset-0","overflow-hidden"],[1,"absolute","inset-0","overflow-hidden"],[1,"pointer-events-none","fixed","inset-y-0","right-0","flex","max-w-full","pl-10"],[1,"pointer-events-auto","w-screen","max-w-md"],[1,"flex","h-full","flex-col","overflow-y-auto","bg-white","pt-6","pb-24","shadow-xl"],[1,"px-4","sm:px-6"],[1,"flex","items-start","justify-between"],["id","slide-over-title",1,"text-base","font-semibold","leading-6","text-gray-900"],[1,"ml-3","flex","h-7","items-center"],["type","button",1,"relative","rounded-md","bg-white","text-gray-400","hover:text-gray-500","focus:outline-none","focus:ring-2","focus:ring-indigo-500","focus:ring-offset-2",3,"click"],[1,"absolute","-inset-2.5"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"relative","mt-6","flex-1","px-4","sm:px-6"]],template:function(i,o){1&i&&(it(),c(0,"div",0),x(1,"div",1),c(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h2",9),h(10),d(),c(11,"div",10)(12,"button",11),V("click",function(){return o.close()}),x(13,"span",12),c(14,"span",13),h(15,"Close panel"),d(),$e(),c(16,"svg",14),x(17,"path",15),d()()()()(),tr(),c(18,"div",16),ge(19),d()()()()()()()),2&i&&(k("ngClass",di(2,Tye,!o.isOpen)),b(10),ce(" ",o.title," "))},dependencies:[ne,Ti],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),Aye=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-magnifying-glass-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),Pye=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-plus-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M12 4.5v15m7.5-7.5h-15"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),Oye=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-question-mark-circle-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),Rye=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-credit-card-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"]
1],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function Lye(t,n){if(1&t&&(c(0,"div",5),h(1),d()),2&t){const e=n.$implicit;b(1),pe(e)}}const Nye=(t,n,e,i)=>({"opacity-60":t,"bg-winnie-blue-muted font-medium":n,"hover:bg-winnie-blue-super-muted":e,"border-2 border-easy-green-muted":i});function Bye(t,n){if(1&t){const e=Ne();c(0,"button",6),V("click",function(){const r=re(e).$implicit;return se(S().handleSelectDate(r.date))}),h(1),d()}if(2&t){const e=n.$implicit;k("ngClass",mI(2,Nye,!e.isInCurrentMonth,e.isSelected,!e.isSelected,e.hasEvents)),b(1),ce(" ",e.date.getDate()," ")}}let Vye=(()=>{class t{constructor(){this.selectDate=new E,this.selectMonth=new E}ngOnChanges(){this.dayNames=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],this.days=function Fye(t){const e=[],i=new Date(t.getFullYear(),t.getMonth(),1);let o=new Date(i);for(;1!==o.getDay();)o.setDate(o.getDate()-1),e.unshift(new Date(o));o=new Date(i);do{e.push(new Date(o)),o.setDate(o.getDate()+1)}while(o.getMonth()===i.getMonth());for(;1!==o.getDay();)e.push(new Date(o)),o.setDate(o.getDate()+1);return e}(this.currentMonth).map(o=>{const r=G_(o,this.selectedDate),s=o.getMonth()===this.currentMonth.getMonth(),a=this.events.some(l=>G_(new Date(l.date),o));return{date:o,isInCurrentMonth:s,isSelected:r,hasEvents:a}});const e=this.currentMonth.toLocaleString("default",{month:"long"}),i=this.currentMonth.getFullYear();this.heading=`${e} ${i}`}handleSelectPrevMonth(){const e=new Date(this.currentMonth);e.setMonth(e.getMonth()-1),this.selectMonth.emit(e)}handleSelectNextMonth(){const e=new Date(this.currentMonth);e.setMonth(e.getMonth()+1),this.selectMonth.emit(e)}handleSelectDate(e){this.selectDate.emit(e)}goToToday(){const e=new Date;this.selectMonth.emit(e),this.selectDate.emit(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-calendar"]],inputs:{events:"events",selectedDate:"selectedDate",currentMonth:"currentMonth"},outputs:{selectDate:"selectDate",selectMonth:"selectMonth"},standalone:!0,features:[Fe,z],decls:15,vars:1,consts:[[1,"flex","flex-col","items-center"],[1,"flex","font-medium","w-full","text-lg","pb-4","justify-between","items-center"],["button","ghost","size","sm",3,"click"],[1,"grid","grid-cols-7","gap-y-1","text-sm"],["button","outline","size","sm",1,"mx-auto","my-2","w-3/4",3,"click"],[1,"flex","items-center","justify-center","p-2"],[1,"flex","items-center","justify-center","p-2","mx-auto","transition-colors","rounded-full","size-8",3,"ngClass","click"],["class","flex items-center justify-center p-2"],["class","flex items-center justify-center p-2 mx-auto transition-colors rounded-full size-8",3,"ngClass"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"button",2),V("click",function(){return o.handleSelectPrevMonth()}),x(3,"app-arrow-left-icon"),d(),c(4,"div"),h(5),d(),c(6,"button",2),V("click",function(){return o.handleSelectNextMonth()}),x(7,"app-arrow-right-icon"),d()(),c(8,"div",3),ft(9,Lye,2,1,"div",7,ci),ft(11,Bye,2,7,"button",8,ci),d(),c(13,"button",4),V("click",function(){return o.goToToday()}),h(14," Today "),d()()),2&i&&(b(5),pe(o.heading),b(4),gt(o.dayNames),b(2),gt(o.days))},dependencies:[ne,Ti,Zt,yl,dm],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),JN=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-x-mark-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function zye(t,n){1&t&&($e(),c(0,"svg",2)(1,"g",3),x(2,"path",4)(3,"path",5)(4,"path",6)(5,"path",7)(6,"path",8)(7,"path",9)(8,"path",10)(9,"path",11)(10,"path",12)(11,"path",13)(12,"path",14)(13,"path",15)(14,"path",16)(15,"path",17),d(),c(16,"defs")(17,"clipPath",18),x(18,"rect",19),d()()(),tr(),c(19,"div",20),h(20,"Your cart is currently empty!"),d(),c(21,"div",0),h(22,"Add some cards to your cart to proceed"),d())}function Hye(t,n){if(1&t&&(c(0,"div",21)(1,"div",22),h(2),d(),$e(),c(3,"svg",23)(4,"g",24),x(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28)(9,"path",29)(10,"path",30)(11,"path",31)(12,"path",32)(13,"path",33),d(),c(14,"defs")(15,"clipPath",34),x(16,"rect",35),d()()()()),2&t){const e=S();b(2),ce(" ",e.cartItems.length," ")}}function jye(t,n){if(1&t){const e=Ne();c(0,"tr",38)(1,"td",39),h(2),d(),c(3,"td",40),h(4),ve(5,"currency"),d(),c(6,"td",41)(7,"button",42),V("click",function(){const r=re(e).$implicit;return se(S(2).handleRemove(r))}),x(8,"app-x-mark-icon",43),d()()()}if(2&t){const e=n.$implicit;b(2),dr("",e.employee.firstName," ",e.employee.lastName,""),b(2),pe(Me(5,4,e.amount)),b(4),k("size",4)}}function $ye(t,n){if(1&t){const e=Ne();c(0,"table",36)(1,"tbody"),ft(2,jye,9,6,"tr",44,ci),d()(),c(4,"button",37),V("click",function(){return re(e),se(S().handlePurchase())}),h(5," Finalise Purchase "),x(6,"app-arrow-right-icon"),d()}if(2&t){const e=S();b(2),gt(e.cartItems)}}let Uye=(()=>
vendor: 5,977 bytes, line 1
1{class t{constructor(){this.remove=new E,this.purchase=new E}handleRemove(e){this.remove.emit(e)}handlePurchase(){this.purchase.emit()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-employee-cart"]],inputs:{cartItems:"cartItems"},outputs:{remove:"remove",purchase:"purchase"},standalone:!0,features:[z],decls:5,vars:2,consts:[[1,""],[1,"flex","flex-col","gap-2","p-4","items-center","bg-winnie-blue-super-muted","rounded-xl"],["width","76","height","72","viewBox","0 0 76 72","fill","none","xmlns","http://www.w3.org/2000/svg",1,""],["clip-path","url(#clip0_6298_8501)"],["d","M41.8844 71.1457C60.1753 71.1457 75.0031 56.3179 75.0031 38.0269C75.0031 19.736 60.1753 4.9082 41.8844 4.9082C23.5934 4.9082 8.76562 19.736 8.76562 38.0269C8.76562 56.3179 23.5934 71.1457 41.8844 71.1457Z","fill","white"],["d","M71.8526 19.3779L65.3287 18.9658L55.4383 58.5156L31.8965 56.6815","stroke","#2B8ABF","stroke-width","3.07622","stroke-linecap","round","stroke-linejoin","round"],["d","M54.9341 62.5733C57.287 62.5733 59.1944 60.6659 59.1944 58.313C59.1944 55.9601 57.287 54.0527 54.9341 54.0527C52.5812 54.0527 50.6738 55.9601 50.6738 58.313C50.6738 60.6659 52.5812 62.5733 54.9341 62.5733Z","fill","#5DB5E6"],["d","M54.9347 60.6576C56.2298 60.6576 57.2796 59.6077 57.2796 58.3127C57.2796 57.0176 56.2298 55.9678 54.9347 55.9678C53.6397 55.9678 52.5898 57.0176 52.5898 58.3127C52.5898 59.6077 53.6397 60.6576 54.9347 60.6576Z","fill","white"],["d","M29.5493 60.9415C31.9022 60.9415 33.8096 59.0341 33.8096 56.6812C33.8096 54.3283 31.9022 52.4209 29.5493 52.4209C27.1965 52.4209 25.2891 54.3283 25.2891 56.6812C25.2891 59.0341 27.1965 60.9415 29.5493 60.9415Z","fill","#5DB5E6"],["d","M29.55 59.0257C30.845 59.0257 31.8949 57.9759 31.8949 56.6808C31.8949 55.3858 30.845 54.3359 29.55 54.3359C28.2549 54.3359 27.2051 55.3858 27.2051 56.6808C27.2051 57.9759 28.2549 59.0257 29.55 59.0257Z","fill","white"],["d","M21.9418 20.7415L65.1714 23.5101C65.5139 23.5334 65.7576 23.8584 65.6764 24.195L59.3208 49.9076C59.2569 50.1688 59.0132 50.3429 58.7462 50.3255L27.2062 48.236C25.2676 48.1083 23.7062 46.5876 23.5263 44.6548L21.3497 21.3452C21.3207 21.0085 21.5993 20.7183 21.936 20.7415H21.9418Z","fill","#5DB5E6"],["d","M19.662 31.3982C25.9096 31.3982 30.9744 26.3335 30.9744 20.0858C30.9744 13.8382 25.9096 8.77344 19.662 8.77344C13.4143 8.77344 8.34961 13.8382 8.34961 20.0858C8.34961 26.3335 13.4143 31.3982 19.662 31.3982Z","fill","#F27405"],["d","M19.6381 14.3304C22.8698 14.3304 24.1328 17.2093 24.1328 20.5153C24.1328 24.2486 22.6284 26.8117 19.5452 26.8117C16.4249 26.8117 15.0504 24.0071 15.0318 20.5896C15.0318 17.0978 16.5177 14.3304 19.6381 14.3304ZM19.6009 16.4663C18.5608 16.4663 17.855 17.785 17.8736 20.5896C17.855 23.3571 18.5237 24.6758 19.6195 24.6758C20.7153 24.6758 21.3097 23.3014 21.3097 20.5525C21.3097 17.8779 20.7339 16.4663 19.6009 16.4663Z","fill","white"],["d","M0.09375 12.9521L6.1069 14.4845","stroke","#F27405","stroke-width","0.870629","stroke-linecap","round","stroke-linejoin","round"],["d","M2.23633 4.79785L8.24947 10.6079","stroke","#F27405","stroke-width","0.870629","stroke-linecap","round","stroke-linejoin","round"],["d","M10.6934 3.06836L12.5275 7.9613","stroke","#F27405","stroke-width","0.870629","stroke-linecap","round","stroke-linejoin","round"],["d","M35.668 28.4434L37.09 42.6114","stroke","#2B8ABF","stroke-width","2.9021","stroke-linecap","round","stroke-linejoin","round"],["d","M50.5145 29.1289L47.1133 42.9545","stroke","#2B8ABF","stroke-width","2.9021","stroke-linecap","round","stroke-linejoin","round"],["id","clip0_6298_8501"],["width","75","height","72","fill","white","transform","translate(0.445312)"],[1,"text-lg","font-bold"],[1,"relative","mx-auto"],[1,"absolute","bg-easy-green","text-white","px-2","pt-1","pb-[1px]","font-semibold","min-w-6","top-2","left-2","text-center","text-sm","rounded-full"],["width","76","height","73","viewBox","0 0 76 73","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_6298_8843)"],["d","M41.8844 71.7365C60.1753 71.7365 75.0031 56.9087 75.0031 38.6178C75.0031 20.3268 60.1753 5.49902 41.8844 5.49902C23.5934 5.49902 8.76562 20.3268 8.76562 38.6178C8.76562 56.9087 23.5934 71.7365 41.8844 71.7365Z","fill","white"],["d","M71.8526 19.9687L65.3287 19.5566L55.4383 59.1064L31.8965 57.2723","stroke","#2B8ABF","stroke-width","3.07622","stroke-linecap","round","stroke-linejoin","round"],["d","M54.9341 63.1641C57.287 63.1641 59.1944 61.2567 59.1944 58.9038C59.1944 56.5509 57.287 54.6436 54.9341 54.6436C52.5812 54.6436 50.6738 56.5509 50.6738 58.9038C50.6738 61.2567 52.5812 63.1641 54.9341 63.1641Z","fill","#5DB5E6"],["d","M54.9347 61.2484C56.2298 61.2484 57.2796 60.1985 57.2796 58.9035C57.2796 57.6084 56.2298 56.5586 54.9347 56.5586C53.6397 56.5586 52.5898 57.6084 52.5898 58.9035C52.5898 60.1985 53.6397 61.2484 54.9347 61.2484Z","fill","white"],["d","M29.5493 61.5323C31.9022 61.5323 33.8096 59.6249 33.8096 57.272C33.8096 54.9191 31.9022 53.0117 29.5493 53.0117C27.1965 53.0117 25.2891 54.9191 25.2891 57.272C25.2891 59.6249 27.1965 61.5323 29.5493 61.5323Z","fill","#5DB5E6"],["d","M29.55 59.6165C30.845 59.6165 31.8949 58.5667 31.8949 57.2716C31.8949 55.9766 30.845 54.9268 29.55 54.9268C28.2549 54.9268 27.2051 55.9766 27.2051 57.2716C27.2051 58.5667 28.2549 59.6165 29.55 59.6165Z","fill","white"],["d","M21.9418 21.3324L65.1714 24.101C65.5139 24.1242 65.7576 24.4492 65.6764 24.7859L59.3208 50.4984C59.2569 50.7596 59.0132 50.9338 58.7462 50.9163L27.2062 48.8268C25.2676 48.6991 23.7062 47.1784 23.5263 45.2456L21.3497 21.936C21.3207 21.5994 21.5993 21.3091 21.936 21.3324H21.9418Z","fill","#5DB5E6"],["d","M35.668 29.0342L37.09 43.2022","stroke","#2B8ABF","stroke-width","2.9021","stroke-linecap","round","stroke-linejoin","round"],["d","M50.5145 29.7197L47.1133 43.5453","stroke","#2B8ABF","stroke-width","2.9021","stroke-linecap","round","stroke-linejoin","round"],["id","clip0_6298_8843"],["
1width","75","height","72","fill","white","transform","translate(0.445312 0.59082)"],[1,"w-full","mb-6"],["button","cta",1,"flex","justify-center","items-center","gap-2",3,"click"],[1,"even:bg-gray-50"],[1,"px-2","py-2"],[1,"px-2","py-2","text-right"],[1,"px-2","py-2","text-right","align-center"],[1,"p-1","rounded-full","hover:bg-neutral-100",3,"click"],[3,"size"],["class","even:bg-gray-50"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1),T(2,zye,23,0)(3,Hye,17,1),d(),T(4,$ye,7,0),d()),2&i&&(b(2),U(2,o.cartItems.length?3:2),b(2),U(4,o.cartItems.length?4:-1))},dependencies:[ne,Ha,Zt,dm,JN],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),kb=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-arrow-path-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();const Wye=()=>({subject:"Error",location:"Business employee form"});function Gye(t,n){1&t&&(c(0,"app-alert",15)(1,"p",16),h(2,"Error saving employee"),d(),c(3,"p",17),h(4," Try reloading the page, or "),c(5,"a",18),h(6,"contact us"),d(),h(7," if you keep having trouble. "),d()()),2&t&&(b(5),k("trackContactUs",Be(1,Wye)))}function qye(t,n){if(1&t){const e=Ne();c(0,"button",19),V("click",function(){return re(e),se(S(2).handleDelete())}),h(1,"Delete"),d()}}function Yye(t,n){1&t&&x(0,"app-arrow-path-icon",20)}function Zye(t,n){if(1&t){const e=Ne();c(0,"form",1),V("submit",function(o){return re(e),se(S().handleSubmit(o))}),c(1,"div",2),x(2,"app-input",3)(3,"app-input",4),d(),c(4,"div",2),x(5,"app-input",5)(6,"app-input",6),d(),c(7,"div",2),x(8,"app-input",7)(9,"app-input",8),d(),T(10,Gye,8,2,"app-alert",9),c(11,"div",10),T(12,qye,2,0,"button",11),c(13,"button",12),V("click",function(){return re(e),se(S().handleCancel())}),h(14,"Cancel"),d(),c(15,"button",13),T(16,Yye,1,0,"app-arrow-path-icon",14),h(17," Save "),d()()()}if(2&t){const e=S();k("formGroup",e.form),b(2),k("control",e.getControl("firstName")),b(1),k("control",e.getControl("lastName")),b(2),k("control",e.getControl("email")),b(1),k("control",e.getControl("mobile")),b(2),k("control",e.getControl("dateOfBirth")),b(1),k("control",e.getControl("startDate")),b(1),U(10,"error"===e.saveState?10:-1),b(2),k("ngIf",null==e.employee?null:e.employee.id),b(3),ke("disabled","loading"===e.saveState?"disabled":null),b(1),U(16,"loading"===e.saveState?16:-1)}}let Kye=(()=>{class t{constructor(){this.cancel=new E,this.save=new E,this.delete=new E}ngOnChanges(){this.form=new _r({firstName:new De(this.employee?.firstName,[Ae.required]),lastName:new De(this.employee?.lastName,[Ae.required]),email:new De(this.employee?.email,[Ae.required,Ae.email]),mobile:new De(this.employee?.mobile,[Ae.required,Ae.pattern(/^04\d{8}$/)]),dateOfBirth:new De(SL(this.employee?.dateOfBirth),[Ae.pattern(/^\d{4}-\d{2}-\d{2}$/)]),startDate:new De(SL(this.employee?.startDate),[Ae.pattern(/^\d{4}-\d{2}-\d{2}$/)])})}getControl(e){return this.form.get(e)}handleCancel(){this.cancel.emit()}handleDelete(){this.delete.emit(this.employee?.id)}handleSubmit(e){if(e.preventDefault(),this.form.invalid)return void Object.keys(this.form.controls).forEach(o=>this.form.get(o)?.markAsTouched());const i={id:this.employee?.id??null,userId:this.employee?.userId??null,role:this.employee?.role??null,firstName:this.form.get("firstName")?.value,lastName:this.form.get("lastName")?.value,email:this.form.get("email")?.value,mobile:this.form.get("mobile")?.value,dateOfBirth:this.form.get("dateOfBirth")?.value||null,startDate:this.form.get("startDate")?.value||null};this.save.emit(i)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-employee-form"]],hostBindings:function(i,o){1&i&&V("keydown.escape",function(){return o.handleCancel()},0,QM)},inputs:{employee:"employee",saveState:"saveState"},outputs:{cancel:"cancel",save:"save",delete:"delete"},standalone:!0,features:[Fe,z],decls:1,vars:1,consts:[["class","flex flex-col gap-9",3,"formGroup"],[1,"flex","flex-col","gap-9",3,"formGroup","submit"],[1,"flex","flex-col","gap-5"],["label","First name","placeholder","Jane",3,"control"],["label","Last name","placeholder","Smith",3,"control"],["type","email","label","Email","placeholder","[email protected]",3,"control"],["type","tel","label","Mobile number","placeholder","0412345678","customError","Mobile must begin with 04 and be 10 digits",3,"control"],["type","date","label","Date of birth",3,"control"],["type","date","label","Start date","description","Employee's commencement date",3,"control"],["type","error","class","max-w-xl"],[1,"flex","flex-col","lg:flex-row","gap-4","justify-center"],["button","ghost","type","button","class","text-red-500, hover:bg-red-500",3,"click",4,"ngIf"],["button","ghost","type","button",3,"click"],["button","","type","submit",1,"flex","items-center","justify-center","gap-1.5"],["class","animate-spin"],["type","error",1,"max-w-xl"],["alert-title",""],["alert-description",""],["onclick","window.HubSpotConversations.widget.open()",1,"curs
1or-pointer","font-medium","underline",3,"trackContactUs"],["button","ghost","type","button",1,"text-red-500,","hover:bg-red-500",3,"click"],[1,"animate-spin"]],template:function(i,o){1&i&&T(0,Zye,18,11,"form",0),2&i&&U(0,o.form?0:-1)},dependencies:[ne,Ki,Dt,Qr,Kr,Zr,br,rm,Zt,kb,vl,Nn],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),Qye=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-pencil-square-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();const Xye=(t,n)=>n.id;function Jye(t,n){if(1&t&&(c(0,"div")(1,"div",17),h(2,"DOB"),d(),c(3,"div",18),h(4),ve(5,"date"),d()()),2&t){const e=S().$implicit;b(4),pe(Bo(5,1,e.dateOfBirth,"mediumDate"))}}function e0e(t,n){if(1&t&&(c(0,"div",19)(1,"div",17),h(2,"Started"),d(),c(3,"div",18),h(4),ve(5,"date"),d()()),2&t){const e=S().$implicit;b(4),pe(Bo(5,1,e.startDate,"mediumDate"))}}function t0e(t,n){if(1&t){const e=Ne();c(0,"tr",9)(1,"td",10)(2,"input",3),V("change",function(o){const s=re(e).$implicit;return se(S().handleCheck(o,s))}),d()(),c(3,"td",11)(4,"button",12),V("click",function(){const r=re(e).$implicit;return se(S().handleEdit(r))}),h(5),x(6,"app-pencil-square-icon",13),d(),c(7,"div",14),h(8),d(),c(9,"div",14),h(10),d()(),c(11,"td",10),h(12),d(),c(13,"td",10),h(14),d(),c(15,"td",15),T(16,Jye,6,4,"div")(17,e0e,6,4,"div",16),d(),c(18,"td",10),h(19),ve(20,"date"),d()()}if(2&t){const e=n.$implicit,i=S();b(2),k("checked",i.isChecked(e)),b(3),dr(" ",e.firstName," ",e.lastName," "),b(1),k("size",4),b(2),pe(e.email),b(2),pe(e.mobile),b(2),pe(e.email),b(2),pe(e.mobile),b(2),U(16,e.dateOfBirth?16:-1),b(1),U(17,e.startDate?17:-1),b(2),pe(Bo(20,11,e.startDate,"mediumDate"))}}let i0e=(()=>{class t{constructor(){this.skipChanged=new E,this.deleteEmployee=new E,this.checkEmployee=new E,this.unCheckEmployee=new E,this.editEmployee=new E,this.checkAll=new E,this.checkedEmployees=new Set,this.isCheckAll=!1}handleSkip(e){this.skipChanged.emit(e)}handleEdit(e){this.editEmployee.emit(e)}handleDelete(e){this.deleteEmployee.emit(e)}handleCheck(e,i){event.target.checked?this.checkEmployee.emit(i):this.unCheckEmployee.emit(i)}isChecked(e){return this.isCheckAll||this.checkedEmployees.has(e.id)}handleCheckAll(e){const i=event.target.checked;this.checkAll.emit(i)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-employee-table"]],inputs:{employees:"employees",checkedEmployees:"checkedEmployees",isCheckAll:"isCheckAll"},outputs:{skipChanged:"skipChanged",deleteEmployee:"deleteEmployee",checkEmployee:"checkEmployee",unCheckEmployee:"unCheckEmployee",editEmployee:"editEmployee",checkAll:"checkAll"},standalone:!0,features:[z],decls:24,vars:2,consts:[[1,"flex","flex-col","gap-12"],[1,"min-w-full","divide-y","divide-gray-300"],["scope","col",1,"hidden","py-3.5","pl-4","pr-3","text-left","text-sm","font-semibold","text-gray-900","sm:pl-3","xl:table-cell"],["type","checkbox",3,"checked","change"],["scope","col",1,"hidden","px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900","xl:table-cell"],["scope","col",1,"table-cell","py-3.5","pl-4","pr-3","text-left","text-sm","font-semibold","text-gray-900","sm:pl-3","xl:hidden"],["scope","col",1,"table-cell","px-3","py-3.5","text-left","text-sm","font-semibold","text-gray-900","xl:hidden"],[1,"bg-white"],[3,"pagedList","skipChanged"],[1,"even:bg-gray-50"],[1,"hidden","whitespace-nowrap","px-3","py-4","text-sm","text-gray-500","xl:table-cell"],[1,"whitespace-nowrap","py-4","pl-4","pr-3","text-sm","sm:pl-3","align-top","xl:align-middle"],[1,"font-medium","text-gray-900","flex","gap-2","items-center","group","underline","underline-offset-2",3,"click"],[1,"opacity-0","transition-opacity","text-neutral-700","group-hover:opacity-100",3,"size"],[1,"block","text-gray-500","xl:hidden"],[1,"whitespace-nowrap","px-3","py-4","text-sm","space-y-1.5","align-top","xl:align-middle"],["class","block xl:hidden"],[1,"block","font-medium","text-gray-900","xl:hidden"],[1,"text-gray-500"],[1,"block","xl:hidden"],["class","even:bg-gray-50"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"table",1)(2,"thead")(3,"tr")(4,"th",2)(5,"input",3),V("change",function(s){return o.handleCheckAll(s)}),d()(),c(6,"th",2),h(7,"Name"),d(),c(8,"th",4),h(9,"Email"),d(),c(10,"th",4),h(11,"Mobile"),d(),c(12,"th",5),h(13,"
1Employee"),d(),c(14,"th",4),h(15,"DOB"),d(),c(16,"th",4),h(17,"Start Date"),d(),c(18,"th",6),h(19,"Dates"),d()()(),c(20,"tbody",7),ft(21,t0e,21,14,"tr",20,Xye),d()(),c(23,"app-pagination-buttons",8),V("skipChanged",function(s){return o.handleSkip(s)}),d()()),2&i&&(b(5),k("checked",o.isCheckAll),b(16),gt(o.employees.results),b(2),k("pagedList",o.employees))},dependencies:[ne,pr,Dt,$_,Qye],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const o0e=["purchaseAmountInput"];let r0e=(()=>{class t{constructor(){this.purchase=new E,this.cancel=new E}ngOnChanges(e){this.setupPurchaseForm()}handleCancel(){this.cancel.emit()}handlePurchase(e){e.preventDefault(),!this.amountControl.invalid&&this.amountControl.value?this.purchase.emit(this.amountControl.value):this.amountControl.markAllAsTouched()}setupPurchaseForm(){this.amountControl=new De(0,[Ae.required,Ae.min(1),Ae.max(4999)]),setTimeout(()=>this.amountInput.select(),100)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-purchase-modal"]],viewQuery:function(i,o){if(1&i&&me(o0e,5),2&i){let r;H(r=j())&&(o.amountInput=r.first)}},inputs:{show:"show"},outputs:{purchase:"purchase",cancel:"cancel"},standalone:!0,features:[Fe,z],decls:12,vars:3,consts:[[3,"show"],[1,"flex","flex-col","gap-6",3,"submit","keydown.escape"],[1,"font-medium","text-lg"],[1,"flex","gap-1"],["label","Amount","type","number","description","Dollar amount",3,"control","autofocus"],["purchaseAmountInput",""],[1,"flex","gap-3","justify-end"],["button","ghost","type","button",3,"click"],["button","","type","submit"]],template:function(i,o){1&i&&(c(0,"app-modal",0)(1,"form",1),V("submit",function(s){return o.handlePurchase(s)})("keydown.escape",function(){return o.handleCancel()}),c(2,"h3",2),h(3," Please enter the purchase amount: - "),d(),c(4,"div",3),x(5,"app-input",4,5),d(),c(7,"div",6)(8,"button",7),V("click",function(){return o.handleCancel()}),h(9,"Cancel"),d(),c(10,"button",8),h(11,"Add to cart"),d()()()()),2&i&&(k("show",o.show),b(5),k("control",o.amountControl)("autofocus",!0))},dependencies:[ne,Zt,rm,jC],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),s0e=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-arrow-up-tray-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function a0e(t,n){if(1&t&&(c(0,"app-alert",10)(1,"div",13),h(2),d(),c(3,"div",14),h(4," You can try again, but "),c(5,"a",15),h(6,"contact us"),d(),h(7," you keep having trouble. "),d()()),2&t){const e=S();b(2),pe(e.errorMessage)}}function l0e(t,n){1&t&&(x(0,"app-arrow-path-icon",16),c(1,"span"),h(2,"Importing"),d())}function c0e(t,n){1&t&&h(0," Begin Import ")}const d0e=t=>({"opacity-0":t});let u0e=(()=>{class t{constructor(e,i,o,r){this.configService=e,this.jwtService=i,this.http=o,this.notificationService=r,this.update=new E,this.templateUrl=`${this.configService.config.baseApiUrl}/business/users/import/example`,this.showModal=!1,this.isLoading=!1}ngOnInit(){this.fileInput=new De(""),this.errorMessage=void 0,this.isLoading=!1}toggleModal(){this.showModal=!this.showModal}handleFormSubmit(e){e.preventDefault(),this.isLoading=!0,this.errorMessage=void 0;const o=new FormData(e.target),r=(new Date).getTimezoneOffset();o.set("timeOffsetMinutes",r.toString()),this.jwtService.businessId$.pipe(X(s=>this.http.post(`${this.configService.config.baseApiUrl}/business/${s}/users/import`,o)),ue()).subscribe({next:s=>{this.isLoading=!1,this.notificationService.success("CSV Upload Success",`Added ${s.value} user${1===s.value?"":"s"}`),this.update.emit(),this.showModal=!1},error:s=>{this.isLoading=!1,bL(s)&&s.errors?.length&&(this.errorMessage=s.errors[0].message),this.errorMessage??="Error uploading CSV"}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(ii),v(Zn),v(Bt),v(Md))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-user-import"]],outputs:{update:"update"},standalone:!0,features:[z],decls:27,vars:9,consts:[["button","outline",1,"flex","gap-3","items-center",3,"click"],[3,"show"],[1,"flex","flex-col","gap-6","p-4"],[1,"flex","justify-between","items-center"],[1,"font-medium","text-2xl"],[1,"rounded-full","p-1","hover:bg-neutral-200",3,"click"],[1,"flex","flex-col","gap-3","list-decimal","ml-5"],[1,"underline","underline-offset-2","text-easy-green",3,"href"],[1,"flex","flex-col","gap-6",3,"submit"],["input","","size","sm","name","file","type","file","accept","text/csv",3,"formControl"],["type","error"],[1,"flex","justify-end"],["button","cta",1,"w-fit","transition-opacity","flex","items-center","gap-2",3,"ngClass"],["alert-title",""],["alert-description",""],[1,"curs
1or-pointer","underline"],[1,"animate-spin"]],template:function(i,o){1&i&&(c(0,"button",0),V("click",function(){return o.toggleModal()}),x(1,"app-arrow-up-tray-icon"),h(2," Import Employees\n"),d(),c(3,"app-modal",1)(4,"div",2)(5,"div",3)(6,"h3",4),h(7,"Import Employees"),d(),c(8,"button",5),V("click",function(){return o.toggleModal()}),x(9,"app-x-mark-icon"),d()(),c(10,"p"),h(11," Bulk upload a CSV of your employee's details rather than adding them one by one. "),d(),c(12,"ol",6)(13,"li")(14,"a",7),h(15," Download a CSV template here "),d()(),c(16,"li"),h(17," Fill out the CSV or generate one using from HR software using the same header and date formats "),d(),c(18,"li"),h(19," Upload the file "),c(20,"form",8),V("submit",function(s){return o.handleFormSubmit(s)}),x(21,"input",9),T(22,a0e,8,1,"app-alert",10),c(23,"div",11)(24,"button",12),T(25,l0e,3,0)(26,c0e,1,0),d()()()()()()()),2&i&&(b(3),k("show",o.showModal),b(11),k("href",o.templateUrl,Jt),b(7),k("formControl",o.fileInput),b(1),U(22,o.errorMessage?22:-1),b(2),k("ngClass",di(7,d0e,!o.fileInput.value)),ke("disabled",o.isLoading||void 0),b(1),U(25,o.isLoading?25:26))},dependencies:[ne,Ti,Zt,jC,JN,Ii,kd,Qr,Kr,fr,Yr,Zr,Ga,vl,kb,s0e],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const h0e=["searchInput"];function m0e(t,n){1&t&&x(0,"section",31)}function p0e(t,n){if(1&t){const e=Ne();c(0,"div",32)(1,"app-business-employee-cart",33),V("remove",function(o){return re(e),se(S(2).handleRemoveEmployeeAmount(o))})("purchase",function(){return re(e),se(S(2).handlePurchase())}),d()()}if(2&t){const e=S(2);b(1),k("cartItems",e.cartItems)}}function f0e(t,n){1&t&&Le(0,34),2&t&&(S(3),k("ngTemplateOutlet",mt(11)))}function g0e(t,n){if(1&t){const e=Ne();c(0,"app-business-calendar",35),V("selectDate",function(o){return re(e),se(S(3).handleCalendarDateChange(o))})("selectMonth",function(o){return re(e),se(S(3).handleCalendarMonthChange(o))}),d()}if(2&t){const e=S(2).ngLet;k("selectedDate",e.notificationsDate)("currentMonth",e.notificationsMonth)("events",e.monthNotifications.data)}}
1function _0e(t,n){if(1&t&&T(0,f0e,1,1)(1,g0e,1,3),2&t){let i;U(0,"loading"===(i=S().ngLet.monthNotifications.state)?0:"loaded"===i?1:-1)}}function b0e(t,n){1&t&&Le(0,34),2&t&&(S(2),k("ngTemplateOutlet",mt(11)))}function v0e(t,n){1&t&&Le(0,34),2&t&&(S(3),k("ngTemplateOutlet",mt(11)))}function y0e(t,n){if(1&t&&x(0,"app-business-notifications",36),2&t){const e=S(2).ngLet;k("date",e.notificationsDate)("items",e.dateNotifications.data)}}function w0e(t,n){if(1&t&&T(0,v0e,1,1)(1,y0e,1,2),2&t){let i;U(0,"loading"===(i=S().ngLet.dateNotifications.state)?0:"loaded"===i?1:-1)}}function x0e(t,n){1&t&&Le(0,34),2&t&&(S(2),k("ngTemplateOutlet",mt(11)))}function C0e(t,n){if(1&t&&x(0,"app-input",18),2&t){const e=S(2);k("control",e.scheduleDateControl)("customError",e.scheduleDateError)}}function k0e(t,n){1&t&&x(0,"section",37)}function M0e(t,n){if(1&t){const e=Ne();c(0,"app-business-employee-table",38),V("skipChanged",function(o){return re(e),se(S(3).handleEmployeeSkip(o))})("editEmployee",function(o){return re(e),se(S(3).handleEditEmployee(o))})("checkEmployee",function(o){return re(e),se(S(3).handleCheckEmployee(o))})("unCheckEmployee",function(o){return re(e),se(S(3).handleUnCheckEmployee(o))})("deleteEmployee",function(o){return re(e),se(S(3).handleDeleteEmployee(o))})("checkAll",function(o){return re(e),se(S(3).handleCheckAll(o))}),d()}if(2&t){const e=S(2).ngLet,i=S();k("employees",e.employees.data)("checkedEmployees",i.checkedEmployees)("isCheckAll",i.isCheckAll)}}function D0e(t,n){if(1&t&&T(0,k0e,1,0)(1,M0e,1,3),2&t){let i;U(0,"loading"===(i=S().ngLet.employees.state)?0:"loaded"===i?1:-1)}}function S0e(t,n){if(1&t){const e=Ne();c(0,"div",5)(1,"section",6)(2,"app-business-dashboard-heading",7),h(3," Gifting for special occasions "),d()(),c(4,"section",8),T(5,m0e,1,0,"section",9),ve(6,"async"),T(7,p0e,2,1),c(8,"div",10)(9,"app-business-dashboard-subheading"),h(10,"Upcoming Events"),d(),c(11,"div",11),T(12,_0e,2,1)(13,b0e,1,1)(14,w0e,2,1)(15,x0e,1,1),d()()(),c(16,"section",12)(17,"div",13)(18,"app-business-dashboard-subheading"),h(19," When would you like the cards to be sent? "),d(),c(20,"div",14)(21,"div",15),x(22,"input",16),c(23,"label",17),h(24,"Send immediately"),d()(),T(25,C0e,1,2,"app-input",18),d(),c(26,"app-business-dashboard-subheading"),h(27," Employees "),d(),c(28,"div",19)(29,"button",20),V("click",function(){return re(e),se(S().handleBulkBuy())}),x(30,"app-credit-card-icon"),h(31," Buy Card(s) "),d(),c(32,"button",20),V("click",function(){return re(e),se(S().handleAddEmployee())}),x(33,"app-plus-icon"),h(34," Add Employee "),d(),c(35,"button",21),x(36,"app-question-mark-circle-icon"),h(37," Help "),d()(),c(38,"div",22)(39,"div",23)(40,"div",24),x(41,"app-magnifying-glass-icon",25),c(42,"input",26,27),V("keyup",function(){return re(e),se(S().handleSearchKeyup())}),d()(),c(44,"button",28),V("click",function(){return re(e),se(S().clearSearch())}),h(45," Clear "),d()(),c(46,"div",29)(47,"app-business-user-import",30),V("update",function(){return re(e),se(S().handleCsvImportUpdate())}),d()()()(),T(48,D0e,2,1),d()()}if(2&t){const e=n.ngLet,i=S();b(5),U(5,Me(6,7,i.purchaseLoading$)?5:7),b(7),U(12,e.monthNotifications&&e.notificationsDate&&e.notificationsMonth?12:13),b(2),U(14,e.dateNotifications&&e.notificationsDate?14:15),b(8),k("formControl",i.sendImmediatelyControl),b(3),U(25,i.sendImmediatelyControl.value?-1:25),b(16),k("size",4),b(7),U(48,e.employees?48:-1)}}function E0e(t,n){1&t&&x(0,"div",39)}const T0e=(t,n,e,i,o)=>({employees:t,monthNotifications:n,dateNotifications:e,notificationsMonth:i,notificationsDate:o}),I0e=[{path:"business/dashboard",component:Kve,canActivate:[sm],data:{isBusinessDashboard:!0}},{path:"business/dashboard/purchasing",component:(()=>{class t{constructor(e,i,o,r,s,a){this.http=e,this.configService=i,this.jwtService=o,this.notificationService=r,this.router=s,this.cartStorage=a,this.notificationsDate$=new Ee(new Date),this.notificationsMonth$=new Ee(new Date),this.employeeFormState$=new Ee("loaded"),this.searchInputValue$=new Ee(""),this.employeeSkip$=new Ee(0),this.employeesRefresh$=new Ee(!0),this.cartItems=[],this.purchaseLoading$=new Ee(!1),this.checkedEmployees=new Set,this.isCheckAll=!1,this.showPurchaseModal=!1,this.sendImmediatelyControl=new De(!1)}ngOnInit(){this.monthNotifications$=qt([this.jwtService.businessId$,this.notificationsMonth$]).pipe(X(([o,r])=>{const s=r.getMonth()+1,a=r.getFullYear();return this.http.get(`${this.configService.config.baseApiUrl}/business/${o}/events?month=${s}&year=${a}
1`).pipe(te(us),Xi(u=>ds(u,"Error getting notifications")),ei({state:"loading"}),dl({refCount:!0,bufferSize:1}))})),this.dateNotifications$=qt([this.monthNotifications$,this.notificationsDate$]).pipe(te(([o,r])=>"loaded"===o.state?{state:"loaded",data:o.data.filter(s=>G_(r,new Date(s.date)))}:o)),this.router.lastSuccessfulNavigation?.extras.state?.handleNotificationAction&&history.replaceState(null,"");const i=this.searchInputValue$.pipe(Xa(500),Ja());this.employees$=qt([this.jwtService.businessId$,i,this.employeeSkip$,this.employeesRefresh$]).pipe(X(([o,r,s])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${o}/users?keywords=${r}&skip=${s}&take=3`).pipe(te(us),Xi(a=>ds(a,"Error getting employees")),ei({state:"loading"}))),dl({bufferSize:1,refCount:!0})),this.allEmployees$=qt([this.jwtService.businessId$,this.employeesRefresh$]).pipe(X(([o])=>this.http.get(`${this.configService.config.baseApiUrl}/business/${o}/users?take=10000`).pipe(te(us),Xi(r=>ds(r,"Error getting employees")),ei({state:"loading"}))),dl({bufferSize:1,refCount:!0})),this.cartItems=this.cartStorage.read()}handleCalendarDateChange(e){this.notificationsDate$.next(e)}handleCalendarMonthChange(e){this.notificationsMonth$.next(e)}handleSearchKeyup(){this.searchInputValue$.next(this.searchInput.nativeElement.value)}clearSearch(){this.searchInput.nativeElement.value="",this.searchInputValue$.next("")}handleEmployeeSkip(e){this.employeeSkip$.next(e)}handleAddEmployee(){this.editingEmployee=void 0,this.drawer.open()}handleEmployeeFormCancel(){this.editingEmployee=void 0,this.drawer.close()}handleSaveEmployee(e){this.employeeFormState$.next("loading"),this.jwtService.businessId$.pipe(at(1),X(i=>e.id?this.http.put(`${this.configService.config.baseApiUrl}/business/${i}/users/${e.id}`,e):this.http.post(`${this.configService.config.baseApiUrl}/business/${i}/users`,e))).subscribe({next:()=>{this.notificationService.success("Employee updated"),this.employeesRefresh$.next(!0),this.employeeFormState$.next("loaded"),this.editingEmployee=void 0,this.drawer.close(),this.cartItems.filter(i=>i.employee.id===e.id).forEach(i=>i.employee=e),this.cartStorage.write(this.cartItems)},error:()=>this.employeeFormState$.next("error")})}handleDeleteEmployee(e){alert("TODO: handle delete")}handleEditEmployee(e){this.editingEmployee=e,this.drawer.open()}handleCheckEmployee(e){this.isCheckAll=!1,this.checkedEmployees.has(e.id)||this.checkedEmployees.add(e.id)}handleCheckAll(e){e?this.allEmployees$.subscribe({next:i=>{"loaded"==i.state&&i.data.results.forEach(o=>this.checkedEmployees.add(o.id))},error:()=>{}}):this.checkedEmployees.clear()}handleUnCheckEmployee(e){this.checkedEmployees.has(e.id)&&this.checkedEmployees.delete(e.id)}handleCancel(){this.showPurchaseModal=!1}handleAddToCart(e){this.allEmployees$.subscribe({next:i=>{"loaded"==i.state&&i.data.results.forEach(o=>{this.checkedEmployees.has(o.id)&&this.cartItems.push({amount:e,employee:o})}),this.cartStorage.write(this.cartItems),scrollTo({top:0,behavior:"smooth"}),this.showPurchaseModal=!1},error:()=>{}})}handleRemoveEmployeeAmount(e){this.cartItems=this.cartItems.filter(i=>!(i.amount===e.amount&&i.employee.id===e.employee.id)),this.cartStorage.write(this.cartItems)}handleBulkBuy(){this.checkedEmployees.size>0&&(this.showPurchaseModal=!0)}handlePurchase(){this.purchaseLoading$.next(!0);const e=this.scheduleDateControl?.value;this.jwtService.businessId$.pipe(at(1),X(i=>{var o={issueScheduled:e,cards:this.cartItems.map(r=>({amount:r.amount,recipientUserId:r.employee.userId,message:""}))};return this.http.post(`${this.configService.config.baseApiUrl}/business/${i}/card-batches/purchase`,o)}),te(i=>i.value)).subscribe({next:i=>{this.router.navigate(["business","method",i])},error:i=>{this.purchaseLoading$.next(!1),console.error("Error purchasing cards",i),this.notificationService.error("Error purchasing cards")}})}handleCsvImportUpdate(){this.employeesRefresh$.next(!0)}handleEmployeeDelete(e){this.jwtService.businessId$.pipe(at(1),X(i=>this.http.delete(`${this.configService.config.baseApiUrl}/business/${i}/users/${e}`)),te(i=>i.value)).subscribe({next:i=>{this.notificationService.success("Employee deleted"),this.employeesRefresh$.next(!0),this.employeeFormState$.next("loaded"),this.editingEmployee=void 0,this.drawer.close()},error:i=>{this.purchaseLoading$.next(!1),console.error("Error deleting employee",i),this.notificationService.error("Error deleting employee")}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Zn),v(Md),v(Pt),v(DL))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-purchasing"]],viewQuery:function(i,o){if(1&i&&(me(XN,5),me(h0e,5)),2&i){let r;H(r=j())&&(o.drawer=r.first),H(r=j())&&(o.searchInput=r.first)}},standalone:!0,features:[z],decls:12,vars:23,consts:[["class","flex flex-col gap-8 pb-6 lg:pb-20",4,"ngLet"],[3,"title","close"],[3,"employee","saveState","delete","cancel","save"],[3,"show","purchase","cancel"],["notificationsSkeleton",""],[1,"flex","flex-col","gap-8","pb-6","lg:pb-20"],[1,"flex","flex-col","max-w-7xl","gap-6","px-5","pt-6","pb-6","lg:px-20","lg:pt-16"],["colour","orange"],[1,"flex","flex-col","max-w-7xl","gap-10","mx-5","2xl:flex-row","lg:mx-20"],["class","min-w-96 h-36 max-w-md my-6 rounded-lg bg-neutral-100 animate-pulse"],[1,"flex-1","pt-14","lg:pt-0"],[1,"flex","flex-col","gap-6","pb-10","items-center","lg:items-start","lg:flex-row"],[1,"flex","flex-col","gap-8"],[1,"mx-5","xl:mx-20","max-w-7xl"],[1,"flex","flex-col","gap-4","w-fit","pb-6"],[1,"flex","items-center","gap-2"],["id","sendImmediatelyInput","type","checkbox",3,"formControl"],["for","sendImmediatelyInput",1,"text-sm","font-medium"],["type","date","label","Send on date",3,"control","customError"],[1,"flex","justify-end","gap-4","pb-6"],["button","",1,"flex","items-center","gap-2",3,"click"],["button","","onclick","window.HubSpotConversations.widget.open()",1,"flex","items-center","gap-2"],[1,"flex","flex-col","justify-between","gap-6","lg:flex-row"],[1,"flex","gap-3","min-w-96"],[1,"flex","flex-grow","items-center","px-2","border","border-soft-black","rounded-lg","xl:w-1/3"],[3,"size"],["input","","placeholder","Search Employee",1,"border-none","focus:outline-0",3,"keyup"],["searchInput",""],[1,"font-medium","rounded-lg","px-2","hover:opacity-70",3,"click"],[1,"flex","justify-end"],[3,"update"],[1,"min-w-96","h-36","max-w-md","my-6","rounded-lg","bg-neutral-100","animate-pulse"],[1,"pt-5"],[1,"min-w-96","flex-grow","flex-1",3,"cartItems","remove","purchase"],[3,"ngTemplateOutlet"],[1,"flex","flex-1","w-full","lg:w-1/2",3,"selectedDate","currentMonth","events","selectDate","selectMonth"],["size","sm",1,"flex-1","h-[300px]","w-full","lg:w-1/2",3,"date","items"],[1,"h-40","max-w-7xl","xl:mx-20","rounded-lg","bg-neutral-100","animate-pulse"],[1,"max-w-7xl","xl:mx-20",3,"employees","checkedEmployees","isCheckAll","skipChanged","editEmployee","checkEmployee","unCheckEmployee","deleteEmployee","checkAll"],[1,"flex","flex-col","items-center","w-full","min-w-[20rem]","h-[300px]","rounded-xl","bg-neutral-100","animate-pulse","lg:w-1/2"]],template:function(i,o){if(1&i&&(T(0,S0e,49,9,"div",0),ve(1,"async"),ve(2,"async"),ve(3,"async"),ve(4,"async"),ve(5,"async"),c(6,"app-drawer",1),V("close",function(){return o.handleEmployeeFormCancel()}),c(7,"app-business-employee-form",2),V("delete",function(s){return o.handleEmployeeDelete(s)})("cancel",function(){return o.handleEmployeeFormCancel()})("save",function(s){return o.handleSaveEmployee(s)}),ve(8,"async"),d()(),c(9,"app-business-purchase-modal",3),V("purchase",function(s){return o.handleAddToCart(s)})("cancel",function(){return o.handleCancel()}),d(),T(10,E0e,1,0,"ng-template",null,4,Yi)),2&i){let r;k("ngLet",function pI(t,n,e,i,o,r,s,a){const l=Sn()+t,u=q(),m=vo(u,l,e,i,o,r);return Li(u,l+4,s)||m?sr(u,l+5,a?n.call(a,e,i,o,r,s):n(e,i,o,r,s)):Eu(u,l+5)}(17,T0e,Me(1,5,o.employees$),Me(2,7,o.monthNotifications$),Me(3,9,o.dateNotifications$),Me(4,11,o.notificationsMonth$),Me(5,13,o.notificationsDate$))),b(6),k("title",o.editingEmployee?"Edit Employee Details":"Add Employee"),b(1),k("employee",o.editingEmployee)("saveState",null!==(r=Me(8,15,o.employeeFormState$))&&void 0!==r?r:"loaded"),b(2),k("show",o.showPurchaseModal)}},dependencies:[ne,At,Vi,Dt,Ii,Ln,i0e,Zt,kd,am,QN,Kye,Uye,XN,Pye,Oye,Aye,u0e,Vye,EL,r0e,rm,Qr,W1,Yr,Ga,Rye],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),canActivate:[sm],data:{isBusinessDashboard:!0}},{path:"business/dashboard/order-history",component:Eye,canActivate:[sm],data:{isBusinessDashboard:!0}},{path:"business/dashboard/order-history/:token",component:uye,canActivate:[sm],data:{isBusinessDashboard:!0}},{path:"business/method/:id",component:Xme,data:{title:hs,description:ms,isBusinessDashboard:!0}},{path:"business/payment/:id",component:Hme,data:{title:hs,description:ms,isBusinessDashboard:!0}},{path:"business/thankyou",component:Gme,data:{title:hs,description:ms,isBusinessDashboard:!0}}],A0e=(t,n)=>n.type;function P0e(t,n){if(1&t){const e=Ne();c(0,"div",1)(1,"div",2)(2,"h4",3),h(3),d(),c(4,"p"),h(5),d()(),c(6,"div",4)(7,"p",5),h(8),d(),c(9,"p",6),h(10,"AUD / Year + GST"),d()(),c(11,"button",7),V("click",function(){const r=re(e).$implicit;return se(S().select.emit(r.type))}),h(12),d()()}if(2&t){const e=n.$implicit;k("ngClass",e.classes),b(3),ce(" ",e.name," "),b(2),pe(e.description),b(3),ce("$",e.amount,""),b(4),
1ce("Select ",e.name,"")}}let O0e=(()=>{class t{constructor(){this.select=new E,this.levels=[]}ngOnChanges(e){this.levels=[{type:"Bronze",name:"Assure",description:"Customise and Get Seen",amount:100,classes:"bg-provider-bronze outline-4 outline-neutral-700"+this.activeClass("Bronze")},{type:"Silver",name:"Elevate",description:"Customise, Personalise and Get Seen First",amount:500,classes:"bg-provider-silver outline-4 outline-neutral-700"+this.activeClass("Silver")},{type:"Gold",name:"Premier",description:"Customise, Personalise, Always Get Seen and Advertise",amount:1500,classes:"bg-provider-gold outline-4 outline-neutral-700"+this.activeClass("Gold")}]}activeClass(e){return e===this.level?" outline":""}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider-level-selector"]],inputs:{level:"level"},outputs:{select:"select"},standalone:!0,features:[Fe,z],decls:3,vars:0,consts:[[1,"flex","flex-col","gap-6","w-full","md:flex-row"],[1,"flex","flex-col","rounded-xl","p-6","flex-1",3,"ngClass"],[1,"flex-1","text-center","pb-8","border-b","border-b-soft-black"],[1,"pb-2","uppercase","text-xl","font-semibold"],[1,"text-center","my-6"],[1,"font-semibold","text-3xl"],[1,"uppercase"],["button","",1,"w-full",3,"click"],["class","flex flex-col rounded-xl p-6 flex-1",3,"ngClass"]],template:function(i,o){1&i&&(c(0,"div",0),ft(1,P0e,13,5,"div",8,A0e),d()),2&i&&(b(1),gt(o.levels))},dependencies:[ne,Ti,Zt],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),e8=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-check-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function R0e(t,n){1&t&&Le(0)}function F0e(t,n){1&t&&Le(0)}function L0e(t,n){1&t&&Le(0)}function N0e(t,n){1&t&&Le(0)}function B0e(t,n){1&t&&Le(0)}function V0e(t,n){1&t&&Le(0)}function z0e(t,n){1&t&&Le(0)}function H0e(t,n){1&t&&Le(0)}function j0e(t,n){1&t&&Le(0)}function $0e(t,n){1&t&&Le(0)}function U0e(t,n){1&t&&Le(0)}function W0e(t,n){1&t&&(c(0,"td",13),x(1,"app-check-icon",14),d())}let G0e=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider-level-table"]],standalone:!0,features:[z],decls:82,vars:11,consts:[[1,"w-full"],[1,"uppercase","font-semibold"],[1,"py-1","px-6","bg-neutral-200","align-middle","text-lg","lg:w-1/3"],[1,"py-1","px-6","bg-provider-bronze","align-middle","text-center","text-lg"],[1,"py-1","px-6","bg-provider-silver","align-middle","text-center","text-lg"],[1,"py-1","px-6","bg-provider-gold","align-middle","text-center","text-lg"],[1,"pt-4"],[1,"bg-neutral-100"],[1,"px-4","py-3"],[4,"ngTemplateOutlet"],[1,"px-4","py-3","text-center"],[1,"px-4","py-3","uppercase","text-center"],["checkCell",""],[1,"align-middle"],[1,"block","mx-auto","w-fit"]],template:function(i,o){if(1&i&&(c(0,"table",0)(1,"thead",1)(2,"tr")(3,"td",2),h(4,"Features"),d(),c(5,"td",3),h(6,"Assure"),d(),c(7,"td",4),h(8,"Elevate"),d(),c(9,"td",5),h(10,"Premiere"),d()()(),c(11,"tbody")(12,"tr"),x(13,"td",6),d(),c(14,"tr",7)(15,"td",8),h(16,' The ability to "CLAIM YOUR PROFILE", and then (subject to verification) modify and edit your profile '),d(),T(17,R0e,1,0,"ng-container",9)(18,F0e,1,0,"ng-container",9)(19,L0e,1,0,"ng-container",9),d(),c(20,"tr")(21,"td",8),h(22," Digital assets/images, such as a logos or headshots, can be added to your profile "),d(),T(23,N0e,1,0,"ng-container",9)(24,B0e,1,0,"ng-container",9)(25,V0e,1,0,"ng-container",9),d(),c(26,"tr",7)(27,"td",10),h(28," Your profile features your personal or business name, address, telephone number, modality/services offered "),d(),c(29,"td",11),h(30," 200 word description "),d(),c(31,"td",11),h(32," 400 word description "),d(),c(33,"td",11),h(34," 600 word description "),d()(),c(35,"tr")(36,"td",8),h(37," Your profile also lets users and customers alike know that you accept Mentwell Gift Cards "),d(),T(38,z0e,1,0,"ng-container",9)(39,H0e,1,0,"ng-container",9)(40,j0e,1,0,"ng-container",9),d(),c(41,"tr")(42,"td",8),h(43," Listing positioning "),d(),c(44,"td",11),h(45," In the absence of \u201cPREMIER\u201d or \u201cELEVATE\u201d -verified profiles, your \u201cASSURE\u201d listing will appear at the top of the search results, and above unverified profiles "),d(),c(46,"td",11),h(47," In the absence of \u201cPREMIER\u201d verified profiles, your \u201cELEVATE\u201d profile will appear at the top of the search results, and above \u201cASSURE\u201d and unverified profiles\xa0 "),d(),c(48,"td",11),h(49," verified profiles appear "),c(50,"strong"),h(51,"AT THE TOP"),d(),h(52," of all modality and geographic search results "),d()(),c(53,"tr",7)(54,"td",8),h(55," First right of refusal on other advertising opportunities "),d(),x(56,"td")(57,"td"),T(58,$0e,1,0,"ng-container",9),d(),c(59,"tr")(60,"td",8),h(61," Acce
1ss to a discounted (40% off) co-branded Mentwell card "),d(),x(62,"td")(63,"td"),T(64,U0e,1,0,"ng-container",9),d(),c(65,"tr",7)(66,"td",8),h(67," Available for multi/single modality businesses / service providers "),d(),c(68,"td",11),h(69," SINGLE MODALITY"),x(70,"br"),h(71,"1 location (or online-only business) "),d(),c(72,"td",11),h(73," SINGLE MODALITY"),x(74,"br"),h(75,"1 location (or online-only business) "),d(),c(76,"td",11),h(77," MULTI MODALITIES"),x(78,"br"),h(79,"MAX OF 25 LOCATIONS "),d()()()(),T(80,W0e,2,0,"ng-template",null,12,Yi)),2&i){const r=mt(81);b(17),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(4),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(13),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(1),k("ngTemplateOutlet",r),b(18),k("ngTemplateOutlet",r),b(6),k("ngTemplateOutlet",r)}},dependencies:[ne,At,e8],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const q0e=["checkout"];function Y0e(t,n){if(1&t&&(c(0,"li",18),x(1,"app-check-circle-icon-solid",19),h(2),d()),2&t){const e=n.$implicit;b(1),k("size",8),b(1),ce(" ",e," ")}}function Z0e(t,n){if(1&t&&(c(0,"div",20)(1,"div",21)(2,"label",22),h(3,"Level"),d(),x(4,"input",23),ve(5,"async"),d(),c(6,"div",21)(7,"label",24),h(8,"Business name"),d(),x(9,"input",25),d(),c(10,"div",21)(11,"label",26),h(12,"Email"),d(),x(13,"input",27),d()()),2&t){const e=S().ngLet,i=S();b(4),k("value",Me(5,3,i.subscriptionLevelName$)),b(5),k("value",e.providerClaim.providerName),b(4),k("value",e.providerClaim.email)}}function K0e(t,n){1&t&&(c(0,"div",28),h(1," loading... "),d())}function Q0e(t,n){if(1&t){const e=Ne();c(0,"section"),x(1,"div",1),c(2,"div",2)(3,"div",3)(4,"div",4),x(5,"img",5),d(),c(6,"div",6)(7,"div",7)(8,"h2",8)(9,"span",9),h(10,"Claim Your Profile"),d(),h(11," by purchasing a subscription "),d(),c(12,"p"),h(13," Thanks for choosing to claim your Mentwell profile! "),d(),c(14,"p"),h(15," We're so excited to have you and your services on our directory; Mentwell is the start of something amazing and we love that you're here with us on this journey. We're constantly releasing new features, but for now, by claiming your profile and purchasing a Mentwell subscription you can: "),d()(),c(16,"h4",10),h(17,"Features"),d(),c(18,"ul",7),ft(19,Y0e,3,2,"li",29,af),d()()()(),c(21,"div",11)(22,"h4",12),h(23," Subscribe & join a wide community of holistic health professionals "),d(),c(24,"h3",8),h(25," Become part of Mentwell"),x(26,"br"),h(27," Service Provider Directory "),d(),c(28,"p"),h(29," Get seen by 1000s of people looking for a provider, customize your profile and come up first in directory searches. Pick the package that suits your needs. "),d()(),c(30,"claim-provider-level-selector",13),V("select",function(o){return re(e),se(S().changeSubscriptionlevel(o))}),d(),x(31,"claim-provider-level-table",14),T(32,Z0e,14,5,"div",15)(33,K0e,2,0),x(34,"div",16,17),d()}if(2&t){const e=n.ngLet,i=mt(35),o=S();b(19),gt(o.listPoints),b(11),k("level",e.subscriptionLevel),b(2),U(32,e.providerClaim&&i?32:33)}}const X0e=(t,n)=>({providerClaim:t,subscriptionLevel:n});let J0e=(()=>{class t{constructor(e,i,o,r,s){this.http=e,this.configService=i,this.route=o,this.router=r,this.stripeFactory=s,this.subscriptionLevel$=new Ee("Gold"),this.providerClaim$=new Lt,this.listPoints=["Stand out with a more comprehensive profile compared to free profiles","Edit the details of your profile","Be the first to know of premium profile features as they're released","Gain access to beta products, specifically for health and wellness service providers","First dibs for Mentwell events, including our 2024 launch events!","First in line for advertising opportunities, when available","Further options to create personalised gift cards for your business (contact us!)"]}ngOnInit(){var e=this;return Ue(function*(){e.stripeInstance=e.stripeFactory.create(e.configService.config.stripePublicKey),e.subscriptionLevelName$=e.subscriptionLevel$.pipe(te(i=>{switch(i){case"Bronze":return"Assure";case"Silver":return"Elevate";case"Gold":return"Premier";default:return""}})),e.token$=e.route.params.pipe(te(i=>i.token)),e.providerId$=e.route.params.pipe(te(i=>parseInt(i.id))),e.providerClaim$=qt([e.token$,e.providerId$,e.subscriptionLevel$]).pipe(X(([i,o,r])=>e.http.get(`${e.configService.config.baseApiUrl}/provider/${o}/claim/${i}?providerSubscriptionLevel=${r}`)),te(i=>i.value)),e.providerClaim$.pipe(X(i=>e.stripeInstance.initEmbeddedCheckout({clientSecret:i.clientSecret,onComplete:()=>e.onComplete()}
1))).subscribe({next:i=>{e.checkout=i,e.checkout.mount("#checkout")}})})()}changeSubscriptionlevel(e){this.checkout&&(this.checkout.destroy(),this.checkout=void 0),this.subscriptionLevel$.next(e);const i=this.checkoutContainer?.nativeElement;i&&window.scrollTo({behavior:"smooth",top:i.offsetTop-480})}onComplete(){this.router.navigate(["/serviceprovider/thankyou"])}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v($i),v(Pt),v(tm))};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider-payment"]],viewQuery:function(i,o){if(1&i&&me(q0e,5),2&i){let r;H(r=j())&&(o.checkoutContainer=r.first)}},standalone:!0,features:[z],decls:3,vars:8,consts:[[4,"ngLet"],[1,"h-[200px]","bg-cover","bg-center","bg-[url('/assets/service-provider-claim/header.jpg')]","lg:h-[400px]"],[1,"pb-8","px-5","max-w-6xl","mx-auto"],[1,"flex","flex-col","gap-12","lg:flex-row"],[1,"flex","justify-center","items-center","py-6"],["src","/assets/service-provider-claim/features.webp",1,"h-auto"],[1,"flex","flex-col","gap-3","lg:my-14","lg:w-1/2"],[1,"space-y-4"],[1,"text-3xl","font-semibold","lg:text-5xl"],[1,"text-easy-green"],[1,"font-medium","uppercase","mt-4","mb-2"],[1,"max-w-2xl","text-center","mx-auto","mt-8","mb-16","px-5","space-y-6"],[1,"font-medium","uppercase"],[1,"px-5","max-w-5xl","mx-auto",3,"level","select"],[1,"max-w-5xl","mx-auto","pt-20","overflow-x-auto"],["class","flex flex-col max-w-lg mx-auto px-5 my-20 gap-6"],["id","checkout"],["checkout",""],[1,"flex","items-center","gap-6"],[1,"text-green-500",3,"size"],[1,"flex","flex-col","max-w-lg","mx-auto","px-5","my-20","gap-6"],[1,"flex","flex-col","gap-1"],["for","providerLevel",1,"font-medium","text-sm"],["input","","id","providerLevel","disabled","",3,"value"],["for","providerName",1,"font-medium","text-sm"],["input","","id","providerName","disabled","",3,"value"],["for","providerEmail",1,"font-medium","text-sm"],["input","","id","providerEmail","disabled","",3,"value"],[1,"flex","flex-col","justify-center","items-center","w-full","max-w-4xl","mx-auto","mt-14","h-96","rounded-lg","text-neutral-700","bg-neutral-100","animate-pulse"],["class","flex items-center gap-6"]],template:function(i,o){1&i&&(T(0,Q0e,36,2,"section",0),ve(1,"async"),ve(2,"async")),2&i&&k("ngLet",ur(5,X0e,Me(1,1,o.providerClaim$),Me(2,3,o.subscriptionLevel$)))},dependencies:[ne,Vi,Ii,Ln,kd,pL,O0e,G0e],encapsulation:2})}return t})(),e1e=(()=>{class t{constructor(e){this.router=e}goToLogin(){this.router.navigate(["login"])}static#e=this.\u0275fac=function(i){return new(i||t)(v(Pt))};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider-thankyou"]],decls:10,vars:0,consts:[[1,"container"],[1,"btn","btn-dark",3,"click"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"h1"),h(2,"Thank you!"),d(),c(3,"p"),h(4," Thank you for being a part of our Mentwell service provider community. We're so excited to spread the word about the work you do and show people the power of those working in the health and wellness industries. "),d(),c(5,"p"),h(6,"Please log in to our provider portal to update your profile"),d(),c(7,"button",1),V("click",function(){return o.goToLogin()}),c(8,"span"),h(9,"Log in"),d()()())}})}return t})();const t1e=["*"];let R2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-image-hero"]],inputs:{backgroundImageClass:"backgroundImageClass",smallImageUrl:"smallImageUrl"},standalone:!0,features:[z],ngContentSelectors:t1e,decls:9,vars:2,consts:[[1,"relative","flex","flex-col","justify-center","overflow-hidden","bg-neutral-100","lg:flex-row"],[1,"absolute","-right-12","2xl:right-0","w-1/2","h-full","hidden","bg-no-repeat","bg-right-top","bg-cover","lg:block",3,"ngClass"],[1,"flex","flex-col","flex-1","flex-grow","max-w-7xl","z-30","lg:flex-row"],[1,"flex","flex-col","flex-1","gap-6","bg-neutral-100","p-5","lg:py-28","lg:pl-20"],[1,"hidden","bg-gradient-to-r","from-neutral-100","to-70%","flex-1","lg:block"],[1,"relative","lg:hidden"],["alt","",1,"mx-auto",3,"src"],[1,"absolute","bg-gradient-to-b","from-neutral-100","to-30%","size-full","top-0"]],template:function(i,o){1&i&&(it(),c(0,"section",0),x(1,"div",1),c(2,"div",2)(3,"div",3),ge(4),d(),x(5,"div",4),c(6,"div",5),x(7,"img",6)(8,"div",7),d()()()),2&i&&(b(1),k("ngClass",o.backgroundImageClass),b(6),k("src",o.smallImageUrl,Jt))},dependencies:[ne,Ti],encapsulation:2})}return t})(),Ar=(()=>{class t{constructor(e){this.tracker=e}onClick(){this.tracker.trackClick(this.data.action,this.data.location)}static#e=this.\u0275fac=function(i){return new(i||t)(v(la))};static#t=this.\u0275dir=N({type:t,selectors:[["","trackClicks",""]],hostBindings:function(i,o){1&i&&V("click",function(s){return o.onClick(s)})},inputs:{data:["trackClicks","data"]},standalone:!0})}return t})();const i1e=()=>({action:"Go to business sign up",location:"Business home - top section CTA"}),n1e=()=>({subject:"Book Demo",location:"Business home - top section CTA"});let o1e=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home-dashboard"]],standalone:!0,features:[z],decls:20,vars:4,consts:[[1,"flex","flex-col","max-w-7xl","mx-auto","gap-6","justify-between","pb-6","xl:flex-row","md:gap-8","md:px-5","md:py-6","lg:p-20","lg:pt-0"],[1,"flex","flex-col","gap-6","px-5","md:p-0","xl:w-1/3"],[1,"uppercase","font-bold","text-lg"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"flex","flex-col","gap-8","bg-neutral-100","rounded-lg","px-4","py-5"],[1,"list-disc","list-inside","ml-2","flex","flex-col","gap-2"],[1,"flex","flex-col","text-center","gap-4","lg:flex-row"],["button","cta","routerLink","/signup",3,"trackClicks"],["button","outline","onclick","window.HubSpotConversations.widget.open()",1,"curs
1or-pointer","bg-[#f0f0f0]",3,"trackContactUs"],["src","assets/dashboard.jpg",1,"lg:w-2/3","lg:h-2/3"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"h3",2),h(3," Employees health and wellbeing transformed. "),d(),c(4,"h2",3),h(5," Start using Mentwell for business now. "),d(),c(6,"div",4)(7,"ul",5)(8,"li"),h(9,"Easily distribute wellness funds with automated scheduling and bulk purchasing options."),d(),c(10,"li"),h(11,"Access a personalized dashboard for key gifting dates and events."),d(),c(12,"li"),h(13,"Track spending and card usage with detailed reports and insights."),d()()(),c(14,"div",6)(15,"a",7),h(16," Sign Up "),d(),c(17,"a",8),h(18," Book Demo "),d()()(),x(19,"img",9),d()),2&i&&(b(15),k("trackClicks",Be(2,i1e)),b(2),k("trackContactUs",Be(3,n1e)))},dependencies:[Ar,Nn,Zt],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),r1e=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home-how"]],standalone:!0,features:[z],decls:67,vars:0,consts:[[1,"flex","flex-col","max-w-7xl","mx-auto","gap-6","justify-between","pb-6","xl:flex-row","md:gap-8","md:px-5","md:py-6","lg:p-20","lg:pt-0"],[1,"bg-winnie-blue-super-muted","pt-8","mt-6","md:hidden"],["src","/assets/business-home-how/background.png","alt","",1,"max-h-96","mx-auto"],[1,"flex","flex-col","gap-6","px-5","md:p-0","xl:w-1/3"],[1,"uppercase","font-bold","text-lg"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"text-easy-green"],[1,"flex","flex-col","gap-8","bg-neutral-100","rounded-lg","px-4","py-5","shadow-lg"],[1,"font-bold","text-xl"],[1,"flex","flex-col","gap-4"],[1,"flex","gap-4"],[1,"flex","justify-center","align-middle","size-6","rounded-full","bg-ocean-orange","text-white","shrink-0"],[1,"flex","flex-col","gap-2","mt-0.5"],[1,"font-bold","uppercase"],[1,"relative","xl:w-2/3","px-5","md:p-0","lg:pt-10","lg:pr-10"],[1,"overflow-hidden","rounded-xl","bg-neutral-100","top-0","right-0","shadow-lg","lg:absolute","lg:w-1/2"],["src","/assets/business-home-how/employees.png","alt","",1,"mx-auto"],[1,"flex","flex-col","gap-6","px-10","py-6"],[1,"flex","justify-center","align-middle","size-6","rounded-full","bg-winnie-blue","text-white","shrink-0"],[1,"mt-0.5"],[1,"uppercase","font-medium"],[1,"rounded-xl","hidden","bg-winnie-blue-super-muted","lg:flex"],["src","/assets/business-home-how/background.webp","alt","",1,"w-1/2","ml-6","mt-20"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1),x(2,"img",2),d(),c(3,"div",3)(4,"h3",4),h(5," How does it work? "),d(),c(6,"h2",5),h(7," Giving well has never been "),c(8,"span",6),h(9,"so easy."),d()(),c(10,"div",7)(11,"h4",8),h(12,"Employers"),d(),c(13,"ul",9)(14,"li",10)(15,"span",11),h(16," 1 "),d(),c(17,"div",12)(18,"h5",13),h(19,"Log in"),d(),c(20,"p"),h(21,"via our portal"),d()()(),c(22,"li",10)(23,"span",11),h(24," 2 "),d(),c(25,"div",12)(26,"h5",13),h(27,"Upload"),d(),c(28,"p"),h(29,"your employee information and spend amount"),d()()(),c(30,"li",10)(31,"span",11),h(32," 3 "),d(),c(33,"div",12)(34,"h5",13),h(35,"Allocate"),d(),c(36,"p"),h(37,"and distribute cards as needed \u2014 you can even access data on how they use their card"),d()()()()()(),c(38,"div",14)(39,"div",15),x(40,"img",16),c(41,"div",17)(42,"h4",8),h(43,"Employees"),d(),c(44,"ul",9)(45,"li",10)(46,"span",18),h(47," 1 "),d(),c(48,"div",19),h(49," Notified by text or email with a link to verify their details "),d()(),c(50,"li",10)(51,"span",18),h(52," 2 "),d(),c(53,"div",19),h(54," Gift card is added to their digital wallet "),d()(),c(55,"li",10)(56,"span",18),h(57," 3 "),d(),c(58,"div",19),h(59," Ready to pay for health and wellness services, either "),c(60,"span",20),h(61,"online"),d(),h(62," or "),c(63,"span",20),h(64,"in person"),d()()()()()(),c(65,"div",21),x(66,"img",22),d()()())},styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function t8(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),e.push.apply(e,i)}return e}function n8(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};
1n%2?t8(Object(e),!0).forEach(function(i){s1e(t,i,e[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):t8(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))})}return t}function Mb(t){return(Mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function Db(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o8(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Sb(t,n,e){return n&&o8(t.prototype,n),e&&o8(t,e),t}function s1e(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Rd(t){return(Rd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}function F2(t,n){return(F2=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i})(t,n)}function u1e(t){var n=function l1e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,i=Rd(t);if(n){var r=Rd(this).constructor;o=Reflect.construct(i,arguments,r)}else o=i.apply(this,arguments);return function d1e(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function c1e(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,o)}}function Eb(){return Eb=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(n,e,i){var o=function h1e(t,n){for(;!Object.prototype.hasOwnProperty.call(t,n)&&null!==(t=Rd(t)););return t}(n,e);if(o){var r=Object.getOwnPropertyDescriptor(o,e);return r.get?r.get.call(arguments.length<3?n:i):r.value}},Eb.apply(this,arguments)}var m1e={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function Ms(t){console.error("[Glide warn]: ".concat(t))}function mn(t){return parseInt(t)}function L2(t){return"string"==typeof t}function Fd(t){var n=Mb(t);return"function"===n||"object"===n&&!!t}function Tb(t){return"function"==typeof t}function r8(t){return typeof t>"u"}function N2(t){return t.constructor===Array}function mi(t,n,e){Object.defineProperty(t,n,e)}function B2(t,n){var e=Object.assign({},t,n);return n.hasOwnProperty("classes")&&(e.classes=Object.assign({},t.classes,n.classes),["direction","type","slide","arrow","nav"].forEach(function(o){n.classes.hasOwnProperty(o)&&(e.classes[o]=n8(n8({},t.classes[o]),n.classes[o]))})),n.hasOwnProperty("breakpoints")&&(e.breakpoints=Object.assign({},t.breakpoints,n.breakpoints)),e}var _1e=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Db(this,t),this.events=n,this.hop=n.hasOwnProperty}return Sb(t,[{key:"on",value:function(e,i){if(!N2(e)){this.hop.call(this.events,e)||(this.events[e]=[]);var r=this.events[e].push(i)-1;return{remove:function(){delete this.events[e][r]}}}for(var o=0;o<e.length;o++)this.on(e[o],i)}},{key:"emit",value:function(e,i){if(N2(e))for(var o=0;o<e.length;o++)this.emit(e[o],i);else this.hop.call(this.events,e)&&this.events[e].forEach(function(r){r(i||{})})}}]),t}(),b1e=function(){function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Db(this,t),this._c={},this._t=[],this._e=new _1e,this.disabled=!1,this.selector=n,this.settings=B2(m1e,e),this.index=this.settings.startAt}return Sb(t,[{key:"mount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),Fd(e)?this._c=function f1e(t,n,e){var i={};for(var o in n)Tb(n[o])?i[o]=n[o](t,i,e):Ms("Extension must be a function");for(var r in i)Tb(i[r].mount)&&i[r].mount();return i}(this,e,this._e):Ms("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return N2(e)?this._t=e:Ms("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=B2(this.settings,e),e.hasOwnProperty("startAt")&&(this.index=e.startAt),this._e.emit("update"),this}},{key:"go",value:function(e){return this._c.Run.make(e),this}},{key:"move",value:function(e){return this._c.Transition.disable(),this._c.Move.make(e),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&(this.settings.autoplay=e),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(e,i){return this._e.on(e,i),this}},{key:"isType",value:function(e){return this.settings.type===e}},{key:"settings",get:function(){return this._o},set:function(e){Fd(e)?this._o=e:Ms("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(e){this._i=mn(e)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(e){this._d=!!e}}]),t}();function s8(){return(new Date).getTime()}function Ib(t,n){var i,o,r,s,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=0,l=function(){a=!1===e.leading?0:s8(),i=null,s=t.apply(o,r),i||(o=r=null)},u=function(){var p=s8();!a&&!1===e.leading&&(a=p);var f=n-(p-a);return o=this,r=arguments,f<=0||f>n?(i&&(clearTimeout(i),i=null),a=p,s=t.apply(o,r),i||(o=r=null)):!i&&!1!==e.trailing&&(i=setTimeout(l,f)),s};return u.cancel=function(){clearTimeout(i),a=0,i=o=r=null},u}var Ab={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function a8(t){if(t&&t.parentNode){for(var n=t.parentNode.firstChild,e=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&e.push(n);return e}return[]}function V2(t){return Array.prototype.slice.call(t)}var ga=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Db(this,t),this.listeners=n}return Sb(t,[{key:"on",value:function(e,i,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];L2(e)&&(e=[e]);for(var s=0;s<e.length;s++)this.listeners[e[s]]=o,i.addEventListener(e[s],this.listeners[e[s]],r)}},{key:"off",value:function(e,i){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];L2(e)&&(e=[e]);for(var r=0;r<e.length;r++)i.removeEventListener(e[r],this.listeners[e[r]],o)}},{key:"destroy",value:function(){delete this.listeners}}]),t}(),T1e=["ltr","rtl"],I1e={">":"<","<":">","=":"="};function P1e(t,n){return{modify:function(i){return n.Direction.is("rtl")?-i:i}}}function O1e(t,n){return{modify:function(i){var o=Math.floor(i/n.Sizes.slideWidth);return i+n.Gaps.value*o}}}function R1e(t,n){return{modify:function(i){return i+n.Clones.grow/2}}}function F1e(t,n){return{modify:function(i){if(t.settings.focusAt>=0){var o=n.Peek.value;return Fd(o)?i-o.before:i-o}return i}}}function L1e(t,n){return{modify:function(i){var s=t.settings.focusAt,a=n.Sizes.slideWidth;return"center"===s?i-(n.Sizes.width/2-a/2):i-a*s-n.Gaps.value*s}}}var l8=!1;try{var c8=Object.defineProperty({},"passive",{get:function(){l8=!0}});window.addEventListener("testPassive",null,c8),window.removeEventListener("testPassive",null,c8)}catch{}
1var z2=l8,Pb=["touchstart","mousedown"],d8=["touchmove","mousemove"],u8=["touchend","touchcancel","mouseup","mouseleave"],h8=["mousedown","mousemove","mouseup","mouseleave"],H2='[data-glide-el^="controls"]',U1e="".concat(H2,' [data-glide-dir*="<"]'),W1e="".concat(H2,' [data-glide-dir*=">"]');function m8(t){return Fd(t)?function g1e(t){return Object.keys(t).sort().reduce(function(n,e){return n[e]=t[e],n},{})}(t):(Ms("Breakpoints option must be an object"),{})}var K1e={Html:function x1e(t,n,e){var i={mount:function(){this.root=t.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.collectSlides()},collectSlides:function(){this.slides=V2(this.wrapper.children).filter(function(r){return!r.classList.contains(t.settings.classes.slide.clone)})}};return mi(i,"root",{get:function(){return i._r},set:function(r){L2(r)&&(r=document.querySelector(r)),null!==r?i._r=r:Ms("Root element must be a existing Html node")}}),mi(i,"track",{get:function(){return i._t},set:function(r){i._t=r}}),mi(i,"wrapper",{get:function(){return i.track.children[0]}}),e.on("update",function(){i.collectSlides()}),i},Translate:function B1e(t,n,e){var i={set:function(r){var s=function N1e(t,n,e){var i=[O1e,R1e,F1e,L1e].concat(t._t,[P1e]);return{mutate:function(r){for(var s=0;s<i.length;s++){var a=i[s];Tb(a)&&Tb(a().modify)?r=a(t,n,e).modify(r):Ms("Transformer should be a function that returns an object with `modify()` method")}return r}}}(t,n).mutate(r),a="translate3d(".concat(-1*s,"px, 0px, 0px)");n.Html.wrapper.style.mozTransform=a,n.Html.wrapper.style.webkitTransform=a,n.Html.wrapper.style.transform=a},remove:function(){n.Html.wrapper.style.transform=""},getStartIndex:function(){var r=n.Sizes.length,s=t.index,a=t.settings.perView;return n.Run.isOffset(">")||n.Run.isOffset("|>")?r+(s-a):(s+a)%r},getTravelDistance:function(){var r=n.Sizes.slideWidth*t.settings.perView;return n.Run.isOffset(">")||n.Run.isOffset("|>")?-1*r:r}};return e.on("move",function(o){if(!t.isType("carousel")||!n.Run.isOffset())return i.set(o.movement);n.Transition.after(function(){e.emit("translate.jump"),i.set(n.Sizes.slideWidth*t.index)});var r=n.Sizes.slideWidth*n.Translate.getStartIndex();return i.set(r-n.Translate.getTravelDistance())}),e.on("destroy",function(){i.remove()}),i},Transition:function V1e(t,n,e){var i=!1,o={compose:function(s){var a=t.settings;return i?"".concat(s," 0ms ").concat(a.animationTimingFunc):"".concat(s," ").concat(this.duration,"ms ").concat(a.animationTimingFunc)},set:function(){n.Html.wrapper.style.transition=this.compose(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform")},remove:function(){n.Html.wrapper.style.transition=""},after:function(s){setTimeout(function(){s()},this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return mi(o,"duration",{get:function(){var s=t.settings;return t.isType("slider")&&n.Run.offset?s.rewindDuration:s.animationDuration}}),e.on("move",function(){o.set()}),e.on(["build.before","resize","translate.jump"],function(){o.disable()}),e.on("run",function(){o.enable()}),e.on("destroy",function(){o.remove()}),o},Direction:function A1e(t,n,e){var i={mount:function(){this.value=t.settings.direction},resolve:function(r){var s=r.slice(0,1);return this.is("rtl")?r.split(s).join(I1e[s]):r},is:function(r){return this.value===r},addClass:function(){n.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){n.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return mi(i,"value",{get:function(){return i._v},set:function(r){T1e.indexOf(r)>-1?i._v=r:Ms("Direction value must be `ltr` or `rtl`")}}),e.on(["destroy","update"],function(){i.removeClass()}),e.on("update",function(){i.mount()}),e.on(["build.before","update"],function(){i.addClass()}),i},Peek:function C1e(t,n,e){var i={mount:function(){this.value=t.settings.peek}};return mi(i,"value",{get:function(){return i._v},set:function(r){Fd(r)?(r.before=mn(r.before),r.after=mn(r.after)):r=mn(r),i._v=r}}),mi(i,"reductor",{get:function(){var r=i.value,s=t.settings.perView;return Fd(r)?r.before/s+r.after/s:2*r/s}}),e.on(["resize","update"],function(){i.mount()}),i},Sizes:function M1e(t,n,e){var i={setupSlides:function(){for(var r="".concat(this.slideWidth,"px"),s=n.Html.slides,a=0;a<s.length;a++)s[a].style.width=r},setupWrapper:function(){n.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var r=n.Html.slides,s=0;s<r.length;s++)r[s].style.width="";n.Html.wrapper.style.width=""}};return mi(i,"length",{get:function(){return n.Html.slides.length}}),mi(i,"width",{get:function(){return n.Html.track.offsetWidth}}),mi(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+n.Gaps.grow+n.Clones.grow}}),mi(i,"slideWidth",{get:function(){return i.width/t.settings.perView-n.Peek.reductor-n.Gaps.reductor}}),e.on(["build.before","resize","update"],function(){i.setupSlides(),i.setupWrapper()}),e.on("destroy",function(){i.remove()}),i},Gaps:function y1e(t,n,e){var i={apply:function(r){for(var s=0,a=r.length;s<a;s++){var l=r[s].style,u=n.Direction.value;l[Ab[u][0]]=0!==s?"".concat(this.value/2,"px"):"",l[Ab[u][1]]=s!==r.length-1?"".concat(this.value/2,"px"):""}},remove:function(r){for(var s=0,a=r.length;s<a;s++){var l=r[s].style;l.marginLeft="",l.marginRight=""}}};return mi(i,"value",{get:function(){return mn(t.settings.gap)}}),mi(i,"grow",{get:function(){return i.value*n.Sizes.length}}),mi(i,"reductor",{get:function(){var r=t.settings.perView;return i.value*(r-1)/r}}),e.on(["build.after","update"],Ib(function(){i.apply(n.Html.wrapper.children)},30)),e.on("destroy",function(){i.remove(n.Html.wrapper.children)}),i},Move:function k1e(t,n,e){var i={mount:function(){this._o=0},make:function(){var r=this;this.offset=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e.emit("move",{movement:this.value}),n.Transition.after(function(){e.emit("move.after",{movement:r.value})})}};return mi(i,"offset",{get:function(){return i._o},set:function(r){i._o=r8(r)?0:mn(r)}}),mi(i,"translate",{get:function(){return n.Sizes.slideWidth*t.index}}),mi(i,"value",{get:function(){var r=this.offset,s=this.translate;return n.Direction.is("rtl")?s+r:s-r}}),e.on(["build.before","run"],function(){i.make()}),i},Clones:function S1e(t,n,e){var i={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=n.Html.slides,a=t.settings,l=a.perView,u=a.classes,m=a.cloningRatio;if(s.length>0)for(var f=l+ +!!t.settings.peek+Math.round(l/2),_=s.slice(0,f).reverse(),y=s.slice(-1*f),w=0;w<Math.max(m,Math.floor(l/s.length));w++){for(var C=0;C<_.length;C++){var D=_[C].cloneNode(!0);D.classList.add(u.slide.clone),r.push(D)}for(var M=0;M<y.length;M++){var I=y[M].cloneNode(!0);I.classList.add(u.slide.clone),r.unshift(I)}}return r},append:function(){for(var r=this.items,s=n.Html,a=s.wrapper,l=s.slides,u=Math.floor(r.length/2),m=r.slice(0,u).reverse(),p=r.slice(-1*u).reverse(),f="".concat(n.Sizes.slideWidth,"px"),_=0;_<p.length;_++)a.appendChild(p[_]);for(var y=0;y<m.length;y++)a.insertBefore(m[y],l[0]);for(var w=0;w<r.length;w++)r[w].style.width=f},remove:function(){for(var r=this.items,s=0;s<r.length;s++)n.Html.wrapper.removeChild(r[s])}};return mi(i,"grow",{get:function(){return(n.Sizes.slideWidth+n.Gaps.value)*i.items.length}}),e.on("update",function(){i.remove(),i.mount(),i.append()}),e.on("build.before",function(){t.isType("carousel")&&i.append()}),e.on("destroy",function(){i.remove()}),i},Resize:function E1e(t,n,e){var i=new ga,o={mount:function(){this.bind()},bind:function(){i.on("resize",window,Ib(function(){e.emit("resize")},t.settings.throttle))},unbind:function(){i.off("resize",window)}};return e.on("destroy",function(){o.unbind(),i.destroy()}),o},Build:function D1e(t,n,e){var i={mount:function(){e.emit("build.before"),this.typeClass(),this.activeClass(),e.emit("build.after")},typeClass:function(){n.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var r=t.settings.classes,s=n.Html.slides[t.index];
1s&&(s.classList.add(r.slide.active),a8(s).forEach(function(a){a.classList.remove(r.slide.active)}))},removeClasses:function(){var r=t.settings.classes,a=r.slide;n.Html.root.classList.remove(r.type[t.settings.type]),n.Html.slides.forEach(function(l){l.classList.remove(a.active)})}};return e.on(["destroy","update"],function(){i.removeClasses()}),e.on(["resize","update"],function(){i.mount()}),e.on("move.after",function(){i.activeClass()}),i},Run:function v1e(t,n,e){var i={mount:function(){this._o=!1},make:function(u){var m=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=u,e.emit("run.before",this.move),this.calculate(),e.emit("run",this.move),n.Transition.after(function(){m.isStart()&&e.emit("run.start",m.move),m.isEnd()&&e.emit("run.end",m.move),m.isOffset()&&(m._o=!1,e.emit("run.offset",m.move)),e.emit("run.after",m.move),t.enable()}))},calculate:function(){var u=this.move,m=this.length,p=u.steps,f=u.direction,_=1;if("="===f)return t.settings.bound&&mn(p)>m?void(t.index=m):void(t.index=p);if(">"!==f||">"!==p)if("<"!==f||"<"!==p){if("|"===f&&(_=t.settings.perView||1),">"===f||"|"===f&&">"===p){var y=function o(l){var u=t.index;return t.isType("carousel")?u+l:u+(l-u%l)}(_);return y>m&&(this._o=!0),void(t.index=function r(l,u){var m=i.length;return l<=m?l:t.isType("carousel")?l-(m+1):t.settings.rewind?i.isBound()&&!i.isEnd()?m:0:i.isBound()?m:Math.floor(m/u)*u}(y,_))}if("<"===f||"|"===f&&"<"===p){var w=function s(l){var u=t.index;return t.isType("carousel")?u-l:(Math.ceil(u/l)-1)*l}(_);return w<0&&(this._o=!0),void(t.index=function a(l,u){var m=i.length;return l>=0?l:t.isType("carousel")?l+(m+1):t.settings.rewind?i.isBound()&&i.isStart()?m:Math.floor(m/u)*u:0}(w,_))}Ms("Invalid direction pattern [".concat(f).concat(p,"] has been used"))}else t.index=0;else t.index=m},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return u?!!this._o&&("|>"===u?"|"===this.move.direction&&">"===this.move.steps:"|<"===u?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===u):this._o},isBound:function(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return mi(i,"move",{get:function(){return this._m},set:function(u){var m=u.substr(1);this._m={direction:u.substr(0,1),steps:m?mn(m)?mn(m):m:0}}}),mi(i,"length",{get:function(){var u=t.settings,m=n.Html.slides.length;return this.isBound()?m-1-(mn(u.perView)-1)+mn(u.focusAt):m-1}}),mi(i,"offset",{get:function(){return this._o}}),i},Swipe:function z1e(t,n,e){var i=new ga,o=0,r=0,s=0,a=!1,l=!!z2&&{passive:!0},u={mount:function(){this.bindSwipeStart()},start:function(p){if(!a&&!t.disabled){this.disable();var f=this.touches(p);o=null,r=mn(f.pageX),s=mn(f.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),e.emit("swipe.start")}},move:function(p){if(!t.disabled){var f=t.settings,_=f.touchAngle,y=f.touchRatio,w=f.classes,C=this.touches(p),D=mn(C.pageX)-r,M=mn(C.pageY)-s,I=Math.abs(D<<2),P=Math.abs(M<<2),F=Math.sqrt(I+P),L=Math.sqrt(P);if(!(180*(o=Math.asin(L/F))/Math.PI<_))return!1;p.stopPropagation(),n.Move.make(D*function p1e(t){return parseFloat(t)}(y)),n.Html.root.classList.add(w.dragging),e.emit("swipe.move")}},end:function(p){if(!t.disabled){var f=t.settings,_=f.perSwipe,y=f.touchAngle,w=f.classes,C=this.touches(p),D=this.threshold(p),M=C.pageX-r,I=180*o/M
1ath.PI;this.enable(),M>D&&I<y?n.Run.make(n.Direction.resolve("".concat(_,"<"))):M<-D&&I<y?n.Run.make(n.Direction.resolve("".concat(_,">"))):n.Move.make(),n.Html.root.classList.remove(w.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),e.emit("swipe.end")}},bindSwipeStart:function(){var p=this,f=t.settings,y=f.dragThreshold;f.swipeThreshold&&i.on(Pb[0],n.Html.wrapper,function(w){p.start(w)},l),y&&i.on(Pb[1],n.Html.wrapper,function(w){p.start(w)},l)},unbindSwipeStart:function(){i.off(Pb[0],n.Html.wrapper,l),i.off(Pb[1],n.Html.wrapper,l)},bindSwipeMove:function(){var p=this;i.on(d8,n.Html.wrapper,Ib(function(f){p.move(f)},t.settings.throttle),l)},unbindSwipeMove:function(){i.off(d8,n.Html.wrapper,l)},bindSwipeEnd:function(){var p=this;i.on(u8,n.Html.wrapper,function(f){p.end(f)})},unbindSwipeEnd:function(){i.off(u8,n.Html.wrapper)},touches:function(p){return h8.indexOf(p.type)>-1?p:p.touches[0]||p.changedTouches[0]},threshold:function(p){var f=t.settings;return h8.indexOf(p.type)>-1?f.dragThreshold:f.swipeThreshold},enable:function(){return a=!1,n.Transition.enable(),this},disable:function(){return a=!0,n.Transition.disable(),this}};return e.on("build.after",function(){n.Html.root.classList.add(t.settings.classes.swipeable)}),e.on("destroy",function(){u.unbindSwipeStart(),u.unbindSwipeMove(),u.unbindSwipeEnd(),i.destroy()}),u},Images:function H1e(t,n,e){var i=new ga,o={mount:function(){this.bind()},bind:function(){i.on("dragstart",n.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",n.Html.wrapper)},dragstart:function(s){s.preventDefault()}};return e.on("destroy",function(){o.unbind(),i.destroy()}),o},Anchors:function j1e(t,n,e){var i=new ga,o=!1,r=!1,s={mount:function(){this._a=n.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",n.Html.wrapper,this.click)},unbind:function(){i.off("click",n.Html.wrapper)},click:function(l){r&&(l.stopPropagation(),l.preventDefault())},detach:function(){if(r=!0,!o){for(var l=0;l<this.items.length;l++)this.items[l].draggable=!1;o=!0}return this},attach:function(){if(r=!1,o){for(var l=0;l<this.items.length;l++)this.items[l].draggable=!0;o=!1}return this}};return mi(s,"items",{get:function(){return s._a}}),e.on("swipe.move",function(){s.detach()}),e.on("swipe.end",function(){n.Transition.after(function(){s.attach()})}),e.on("destroy",function(){s.attach(),s.unbind(),i.destroy()}),s},Controls:function G1e(t,n,e){var i=new ga,o=!!z2&&{passive:!0},r={mount:function(){this._n=n.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=n.Html.root.querySelectorAll(H2),this._arrowControls={previous:n.Html.root.querySelectorAll(U1e),next:n.Html.root.querySelectorAll(W1e)},this.addBindings()}
1,setActive:function(){for(var a=0;a<this._n.length;a++)this.addClass(this._n[a].children)},removeActive:function(){for(var a=0;a<this._n.length;a++)this.removeClass(this._n[a].children)},addClass:function(a){var l=t.settings,u=a[t.index];u&&(u.classList.add(l.classes.nav.active),a8(u).forEach(function(m){m.classList.remove(l.classes.nav.active)}))},removeClass:function(a){var l=a[t.index];l?.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var a=r._arrowControls.next,l=r._arrowControls.previous;this.resetArrowState(a,l),0===t.index&&this.disableArrow(l),t.index===n.Run.length&&this.disableArrow(a)}},resetArrowState:function(){for(var a=t.settings,l=arguments.length,u=new Array(l),m=0;m<l;m++)u[m]=arguments[m];u.forEach(function(p){V2(p).forEach(function(f){f.classList.remove(a.classes.arrow.disabled)})})},disableArrow:function(){for(var a=t.settings,l=arguments.length,u=new Array(l),m=0;m<l;m++)u[m]=arguments[m];u.forEach(function(p){V2(p).forEach(function(f){f.classList.add(a.classes.arrow.disabled)})})},addBindings:function(){for(var a=0;a<this._c.length;a++)this.bind(this._c[a].children)},removeBindings:function(){for(var a=0;a<this._c.length;a++)this.unbind(this._c[a].children)},bind:function(a){for(var l=0;l<a.length;l++)i.on("click",a[l],this.click),i.on("touchstart",a[l],this.click,o)},unbind:function(a){for(var l=0;l<a.length;l++)i.off(["click","touchstart"],a[l])},click:function(a){!z2&&"touchstart"===a.type&&a.preventDefault();var l=a.currentTarget.getAttribute("data-glide-dir");n.Run.make(n.Direction.resolve(l))}};return mi(r,"items",{get:function(){return r._c}}),e.on(["mount.after","move.after"],function(){r.setActive()}),e.on(["mount.after","run"],function(){r.setArrowState()}),e.on("destroy",function(){r.removeBindings(),r.removeActive(),i.destroy()}),r},Keyboard:function q1e(t,n,e){var i=new ga,o={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(s){var a=t.settings.perSwipe;["ArrowRight","ArrowLeft"].includes(s.code)&&n.Run.make(n.Direction.resolve("".concat(a).concat({ArrowRight:">",ArrowLeft:"<"}[s.code])))}};return e.on(["destroy","update"],function(){o.unbind()}),e.on("update",function(){o.mount()}),e.on("destroy",function(){i.destroy()}),o},Autoplay:function Y1e(t,n,e){var i=new ga,o={mount:function(){this.enable(),this.start(),t.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var s=this;this._e&&(this.enable(),t.settings.autoplay&&r8(this._i)&&(this._i=setInterval(function(){s.stop(),n.Run.make(">"),s.start(),e.emit("autoplay")},this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var s=this;i.on("mouseover",n.Html.root,function(){s._e&&s.stop()}),i.on("mouseout",n.Html.root,function(){s._e&&s.start()})},unbind:function(){i.off(["mouseover","mouseout"],n.Html.root)}};return mi(o,"time",{get:function(){return mn(n.Html.slides[t.index].getAttribute("data-glide-autoplay")||t.settings.autoplay)}}),e.on(["destroy","update"],function(){o.unbind()}),e.on(["run.before","swipe.start","update"],function(){o.stop()}),e.on(["pause","destroy"],function(){o.disable(),o.stop()}),e.on(["run.after","swipe.end"],function(){o.start()}),e.on(["play"],function(){o.enable(),o.start()}),e.on("update",function(){o.mount()}),e.on("destroy",function(){i.destroy()}),o},Breakpoints:function Z1e(t,n,e){var i=new ga,o=t.settings,r=m8(o.breakpoints),s=Object.assign({},o),a={match:function(u){if(typeof window.matchMedia<"u")for(var m in u)if(u.hasOwnProperty(m)&&window.matchMedia("(max-width: ".concat(m,"px)")).matches)return u[m];return s}};return Object.assign(o,a.match(r)),i.on("resize",window,Ib(function(){t.settings=B2(o,a.match(r))},t.settings.throttle)),e.on("update",function(){r=m8(r),s=Object.assign({},o)}),e.on("destroy",function(){i.off("resize",window)}),a}},Ld=function(t){!function a1e(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&F2(t,n)}(e,t);var n=u1e(e);function e(){return Db(this,e),n.apply(this,arguments)}return Sb(e,[{key:"mount",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Eb(Rd(e.prototype),"mount",this).call(this,Object.assign({},K1e,o))}}]),e}(b1e);const Q1e=["carousel"];function X1e(t,n){if(1&t&&(c(0,"li",16),x(1,"img",17),d()),2&t){const e=n.$implicit;b(1),k("src",e.src,Jt)("alt",e.alt)}}let J1e=(()=>{class t{constructor(){this.partnerLogos=[{src:"assets/partner-logos/naked.png",alt:"Naked Wines"},{src:"assets/partner-logos/australian-unity.png",alt:"Australian Unity"},{src:"assets/partner-logos/pernod.png",alt:"Pernod Ricard"},{src:"assets/partner-logos/civil.png",alt:"Civilcast"},{src:"assets/partner-logos/anytime-fitness.png",alt:"Anytime Fitness"},{src:"assets/partner-logos/funlab.png",alt:"FUNLAB!"},{src:"assets/partner-logos/intermix-workforce.png",alt:"Intermix Workforce"},{src:"assets/partner-logos/endota-spa.png",alt:"Endota Spa"},{src:"assets/partner-logos/blue-egg.png",alt:"Blue Egg"},{src:"assets/partner-logos/birchal.png",alt:"Birchal"},{src:"assets/partner-logos/melbourne-psychology.png",alt:"Melbourne Psychology"},{src:"assets/partner-logos/luna.png",alt:"Luna"},{src:"assets/partner-logos/peninsula-hot-springs.png",alt:"Peninsula Hotsprings"},{src:"assets/partner-logos/kx-pilates.png",alt:"KX Pilates"},{src:"assets/partner-logos/cccwhc.png",alt:"Central Coast Community Women's Health Centre"},{src:"assets/partner-logos/surfclub.png",alt:"Coolangatta Surf Club"},{src:"assets/partner-logos/genphysio.png",alt:"GenPhysio"},{src:"assets/partner-logos/akin.png",alt:"Akin Care"},{src:"assets/partner-logos/autograph-collection.png",alt:"Autograph Collection Hotels"},{src:"assets/partner-logos/marriott.png",alt:"Marriott Hotels"}]}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:10,gap:30,autoplay:3e3,type:"carousel",breakpoints:{640:{perView:2},768:{perView:3},1024:{perView:4},1280:{perView:5},1536:{perView:6}}}).mount()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home-partners"]],viewQuery:function(i,o){if(1&i&&me(Q1e,5),2&i){let r;
1H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:29,vars:1,consts:[[1,"py-8"],[1,"glide"],["carousel",""],["data-glide-el","track",1,"glide__track"],[1,"glide__slides","flex","items-center","justify-center"],[1,"flex","md:px-5","md:pb-6","max-w-7xl","mx-auto","lg:pb-20","lg:pt-0"],[1,"md:rounded-lg","md:shadow-lg","bg-neutral-200","px-20","py-10"],[1,"uppercase","font-bold","text-lg","mb-8","text-center","lg:text-left"],[1,"flex","flex-col","lg:flex-row","gap-12","items-center"],[1,"text-white","flex-shrink","size-40",3,"showText"],[1,"flex","flex-col","md:flex-row","gap-12","flex-1"],[1,"flex","flex-col","gap-4"],[1,"uppercase","bg-winnie-blue","rounded-full","px-2","py-2","text-center","font-medium"],[1,"text-center"],[1,"uppercase","bg-ocean-orange","rounded-full","px-2","py-2","text-center","font-medium"],[1,"uppercase","bg-easy-green","rounded-full","px-2","py-2","text-center","font-medium"],[1,"glide__slide","flex","items-center","justify-center"],[1,"h-auto","w-24","m-auto",3,"src","alt"],["class","glide__slide flex items-center justify-center"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1,2)(3,"div",3)(4,"ul",4),ft(5,X1e,2,2,"li",18,ci),d()()()(),c(7,"section",5)(8,"div",6)(9,"h3",7),h(10," As a partner, we empower your business to: "),d(),c(11,"div",8),x(12,"app-logo",9),c(13,"ul",10)(14,"li",11)(15,"div",12),h(16," Choose Well "),d(),c(17,"div",13),h(18," Give employees a meaningful option they can personalise, ensuring individuals feel seen and valued. "),d()(),c(19,"li",11)(20,"div",14),h(21," Gift Well "),d(),c(22,"div",13),h(23," Give employees an easy to use, one stop gifting platform that unlocks unlimited health and wellness services. "),d()(),c(24,"li",11)(25,"div",15),h(26," Stay Well "),d(),c(27,"div",13),h(28," Give employees a sense of continued and consistent support, building a healthy culture based on trust. "),d()()()()()()),2&i&&(b(5),gt(o.partnerLogos),b(7),k("showText",!1))},dependencies:[cm],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const ewe=["carousel"];function twe(t,n){if(1&t&&(c(0,"div",15),h(1),d(),c(2,"div",15),h(3),d()),2&t){const e=S().$implicit;b(1),ce("",e.position,","),b(2),pe(e.company)}}function iwe(t,n){if(1&t&&(c(0,"div",15),h(1),d(),c(2,"div"),h(3,"\xa0"),d()),2&t){const e=S().$implicit;b(1),pe(e.company)}}function nwe(t,n){if(1&t&&(c(0,"li",10)(1,"div",11),x(2,"img",12),c(3,"div",13)(4,"div",14),h(5),d(),c(6,"div",15)(7,"div",16),h(8),d(),T(9,twe,4,2)(10,iwe,4,1),d()()()()),2&t){const e=n.$implicit;b(2),k("src",e.imageUrl,Jt),b(3),ce("\u201c",e.text,"\u201d"),b(3),pe(e.reviewer),b(1),U(9,e.position?9:10)}}let owe=(()=>{class t{constructor(){this.testimonials=[{imageUrl:"/assets/business-home-testimonials/1.png",text:"It's a way to open up a conversation about being concerned for a friend, family member or acquaintance or even better, to anonymously help someone.",reviewer:"Dr Jolene Morse",position:"Experience risk professional",company:"Advisory board member"},{imageUrl:"/assets/business-home-testimonials/2.png",text:"It lets us improve the health of our business. But by focusing on the health of our team.",reviewer:"Adele Moynihan",company:"Bupa Ventures"},{imageUrl:"/assets/business-home-testimonials/3.png",text:"Mentwell's product offering is exactly what we needed to support our company's wellbeing program...",reviewer:"Jay Taylor",position:"People Experience Manager",company:"Fun Lab"},{imageUrl:"/assets/business-home-testimonials/4.png",text:"Discovering Mentwell has been an eye-opener in the way employers can approach wellbeing.",reviewer:"Nancy Hoang",position:"Chief of Staff",company:"Heaps Normal"},{imageUrl:"/assets/business-home-testimonials/5.png",text:"This product is amazing. Not only does it allow our employees to have a bit of pampering or remedial support but it adds to their wellbeing improving their overall work ability. Very smart. It gives people the opportunity to get a treatment that they would not readily spend money on. A lot better than that Liquorland voucher I received the other week...\u{1f923}",reviewer:"Shaun Naude",position:"Director",company:"Koala Printing"},{imageUrl:"/assets/business-home-testimonials/6.png",text:"What a simple and effective tool to show our employees that we care. Easy to use, simple to sign up and just pay as you need. It's the perfect fit for what we needed at Stag Plumbing.",reviewer:"Yvonne Stevens",position:"Director",company:"Stag Plumbing"}]}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:4,gap:30,type:"carousel",breakpoints:{1024:{perView:1},1280:{perView:2},1536:{perView:3}}}).mount()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home-testimonials"]],viewQuery:function(i,o){if(1&i&&me(ewe,5),2&i){let r;
1H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:14,vars:2,consts:[[1,"flex","flex-col","px-5","py-6","lg:p-20","lg:pt-10"],[1,"font-bold","text-xl","lg:text-3xl"],[1,"glide"],["carousel",""],["data-glide-el","track",1,"glide__track","mb-8"],[1,"glide__slides","flex"],["data-glide-el","controls",1,"flex","justify-end","gap-4"],["data-glide-dir","<",1,"rounded-full","border-soft-black","border","p-2","transition-opacity","hover:opacity-70"],[3,"size"],["data-glide-dir",">",1,"rounded-full","border-soft-black","border","p-2","transition-opacity","hover:opacity-70"],[1,"glide__slide","my-10","!h-auto"],[1,"w-[416px]","flex","flex-col","rounded-xl","overflow-hidden","shadow-xl","h-full"],["alt","",3,"src"],[1,"flex","flex-col","gap-8","justify-between","p-5","h-full"],[1,"font-bold","text-lg"],[1,"uppercase"],[1,"font-medium","uppercase"],["class","glide__slide my-10 !h-auto"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"h4",1),h(2," What customers are telling us\u2026 "),d(),c(3,"div",2,3)(5,"div",4)(6,"ul",5),ft(7,nwe,11,4,"li",17,ci),d()(),c(9,"div",6)(10,"button",7),x(11,"app-arrow-left-icon",8),d(),c(12,"button",9),x(13,"app-arrow-right-icon",8),d()()()()),2&i&&(b(7),gt(o.testimonials),b(4),k("size",4),b(2),k("size",4))},dependencies:[ne,yl,dm],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),p8=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-star-icon-solid"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),rwe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home-why"]],standalone:!0,features:[z],decls:90,vars:0,consts:[[1,"flex","flex-col","lg:flex-row"],[1,"flex-1","bg-winnie-blue-super-muted"],[1,"flex","justify-center","lg:justify-end","bg-winnie-blue-super-muted","px-5","py-6","lg:p-10"],[1,"flex","flex-col","gap-10","xl:min-w-[850px]"],[1,"uppercase","font-bold","lg:text-lg"],[1,"font-bold","text-3xl","leading-tight","xl:max-w-md","lg:text-5xl"],[1,"text-easy-green"],[1,"flex","flex-col","xl:flex-row","gap-4","items-center","px-10","md:px-20","lg:px-40","xl:px-0"],[1,"rounded-lg","flex-1","border-4","border-winnie-blue","p-5","w-full","xl:max-w-40"],["src","/assets/business-home-why/positive-culture.png","alt","",1,"ml-auto","w-20","pb-4"],[1,"font-medium"],["src","/assets/business-home-why/high-retention.png","alt","",1,"ml-auto","w-20","pb-4"],["src","/assets/business-home-why/improved-satisfaction.png","alt","",1,"ml-auto","w-20","pb-4"],["src","/assets/business-home-why/enhanced-branding.png","alt","",1,"ml-auto","w-20","pb-4"],["src","/assets/business-home-why/motivated-workforce.png","alt","",1,"ml-auto","w-20","pb-4"],[1,"flex","justify-start","items-center","bg-neutral-100","px-5","py-6","lg:max-w-3xl","lg:p-10"],[1,"mx-auto"],["src","/assets/business-home-why/integrate-well-heading.png","title","Integrate well","alt","",1,"pl-4","w-64","mb-4"],[1,"flex","flex-col","gap-6"],[1,"flex","gap-8","items-center"],["innerClass","size-10 text-easy-green"],[1,"pt-1.5"],[1,"flex-1","bg-neutral-100"]],template:function(i,o){1&i&&(c(0,"section",0),x(1,"div",1),c(2,"div",2)(3,"div",3)(4,"h4",4),h(5," Why Mentwell for Business? "),d(),c(6,"h2",5),h(7," Workplace, people and culture "),c(8,"span",6),h(9,"Transformed"),d()(),c(10,"ul",7)(11,"li",8),x(12,"img",9),c(13,"p",10),h(14,"Positive"),x(15,"br"),h(16,"organisational"),x(17,"br"),h(18,"culture"),d()(),c(19,"li",8),x(20,"img",11),c(21,"p",10),h(22,"High"),x(23,"br"),h(24,"employee"),x(25,"br"),h(26,"retention"),d()(),c(27,"li",8),x(28,"img",12),c(29,"p",10),h(30,"Improved"),x(31,"br"),h(32,"customer"),x(33,"br"),h(34,"satisfaction"),d()(),c(35,"li",8),x(36,"img",13),c(37,"p",10),h(38,"Enhanced"),x(39,"br"),h(40,"employer"),x(41,"br"),h(42,"branding"),d()(),c(43,"li",8),x(44,"img",14),c(45,"p",10),h(46,"Motivated"),x(47,"br"),h(48,"and engaged"),x(49,"br"),h(50,"workforce"),d()()()()(),c(51,"div",15)(52,"div",16),x(53,"img",17),c(54,"ul",18)(55,"li",19),x(56,"app-star-icon-solid",20),c(57,"p",21),h(58,"Works\xa0alongside"),x(59,"br"),h(60,"or\xa0instead\xa0of\xa0EAPs"),d()(),c(61,"li",19),x(62,"app-star-icon-solid",20),c(63,"p",21),h(64,"As\xa0a\xa0health\xa0and\xa0wellness"),x(65,"br"),h(66,"benefit every quarter"),d()(),c(67,"li",19),x(68,"app-star-icon-solid",20),c(69,"p",21),h(70,"As\xa0a\xa0redundancy"),x(71,"br"),h(72,"package\xa0supplement"),d()(),c(73,"li",19),x(74,"app-star-icon-solid",20),c(75,"p",21),h(76,"As\xa0a\xa0gifting\xa0mechanism"),d()(),c(77,"li",19),x(78,"app-star-icon-solid",20),c(79,"p",21),h(80,"As\xa0a\xa0way\xa0for\xa0employees"),x(81,"br"),h(82,"to\xa0gift\xa0each\xa0other"),d()(),c(83,"li",19),x(84,"app-star-icon-solid",20),c(85,"p",21),h(86,"With\xa0workshop\xa0opportunities"),x(87,"br"),h(88,"for\xa0premium\xa0partners"),d()()()()(),x(89,"div",22),d())},dependencies:[p8],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const swe=()=>({action:"Go to business sign up",location:"Business home - top section CTA"}),awe=()=>({subject:"Book Demo",location:"Business home - top section CTA"}),lwe=()=>({action:"Go to business sign up",location:"Business home - bottom section CTA"});let f8=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-home"]],standalone:!0,features:[z],decls:34,vars:6,consts:[["backgroundImageClass","bg-[url('/assets/business-home/hero-background.png')]","smallImageUrl","/assets/business-home/hero-background.png"],[1,"uppercase","font-bold","lg:text-lg"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"text-easy-green"],[1,"list-disc","list-inside","ml-2","flex","flex-col","gap-2"],[1,"flex","flex-col","text-center","gap-4","lg:flex-row"],["button","cta","routerLink","/signup",3,"trackClicks"],["button","outline","onclick","window.HubSpotConversations.widget.open()",1,"curs
1or-pointer","bg-[#f0f0f0]",3,"trackContactUs"],[1,"flex","justify-center","items-center","w-full","bg-neutral-100","py-20"]],template:function(i,o){1&i&&(c(0,"app-image-hero",0)(1,"h4",1),h(2," Mean well. Give well. "),d(),c(3,"h1",2),h(4," Health and Wellness"),x(5,"br"),c(6,"span",3),h(7,"Cards for Business"),d()(),c(8,"p"),h(9," Thinking about EAPs, health and wellness benefit programs or "),x(10,"br"),h(11," employee gifting? We're a one-size fits all approach. "),x(12,"br"),h(13," Mentwell is being used by businesses all over Australia as: "),d(),c(14,"ul",4)(15,"li"),h(16,"A health and wellness incentive"),d(),c(17,"li"),h(18,"An EAP equivalent"),d(),c(19,"li"),h(20,"A better way to do business gifting"),d()(),c(21,"div",5)(22,"a",6),h(23," Sign Up "),d(),c(24,"a",7),h(25," Book Demo "),d()()(),x(26,"app-business-home-partners")(27,"app-business-home-how")(28,"app-business-home-dashboard")(29,"app-business-home-why")(30,"app-business-home-testimonials"),c(31,"section",8)(32,"a",6),h(33," Sign Up "),d()()),2&i&&(b(22),k("trackClicks",Be(3,swe)),b(2),k("trackContactUs",Be(4,awe)),b(8),k("trackClicks",Be(5,lwe)))},dependencies:[Dt,zt,R2,Zt,Ar,Nn,J1e,r1e,rwe,owe,o1e],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),cwe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-terms"]],standalone:!0,features:[z],decls:301,vars:0,consts:[[1,"container","prose","mx-auto"],["href","mailto:[email protected]"],[1,"pl-12"]],template:function(i,o){1&i&&(c(0,"main",0)(1,"app-page-heading"),h(2,"Mentwell B2B Portal Terms and Conditions"),d(),c(3,"p"),h(4," Welcome to Mentwell B2B! We provide a cloud-based portal (Portal) where you can access information about our Mentwell gift card, how the card is getting used by your customers and additional business insights. "),d(),c(5,"p"),h(6," In these Terms, when we say you or your, we mean both you and any entity you are authorised to represent (such as your employer). When we say we, us, or our, we mean Mentwell Pty Ltd (ACN 664 607 390). "),d(),c(7,"p"),h(8," These Terms form our contract with you, and set out our obligations as a service provider and your obligations as a customer. You cannot use our Services unless you agree to these Terms. "),d(),h(9," Some capitalised words in these Terms have defined meanings, and each time that word is used in these Terms it has the same meaning. You can find a list of the defined words and their meaning at the end of these Terms. "),c(10,"p"),h(11," For questions about these Terms, or to get in touch with us, please email: "),c(12,"a",1),h(13,"nikki&mentwell.com.au"),d(),h(14,". "),d(),c(15,"p")(16,"em"),h(17,"These Terms were last updated on 17th July 2024."),d()(),x(18,"hr"),c(19,"h2"),h(20,"OUR DISCLOSURES"),d(),c(21,"p"),h(22," Please read these Terms carefully before you accept. We draw your attention to: "),d(),c(23,"ul")(24,"li"),h(25,"our privacy policy (on our website) which sets out how we will handle your personal information;"),d(),c(26,"li"),h(27,"clause 1.2 (Variations) which sets out how we may amend these Terms; and"),d(),c(28,"li"),h(29,"clause 11 (Liability) which sets out exclusions and limitations to our liability under these Terms."),d()(),c(30,"p"),h(31," We may receive a benefit (which may include a referral fee or a commission) should you visit certain third party websites through a link on our Portal, or for featuring certain goods or services on our Portal. "),d(),c(32,"p"),h(33," These Terms do not intend to limit your rights and remedies at law, including any of your Consumer Law Rights. "),d(),x(34,"hr"),c(35,"h3"),h(36,"1.\tEngagement and Term"),d(),c(37,"p"),h(38,"1.1\tThese Terms apply from when you sign up for an Account, until the date on which your Account is terminated in accordance with these Terms. We grant you a right to use our Services for this period of time only."),d(),c(39,"p"),h(40,"1.2\tVariations: We may amend these Terms at any time, by providing written notice to you. By clicking \u201cI accept\u201d or continuing to use our Portal after the notice or 30 days after notification (whichever date is earlier), you agree to the amended Terms. If you do not agree to the amendment, you may close your Account with effect from the date of the change in these Terms by providing written notice to us. If you close your Account, you will no longer be able to access our Services (including our Portal) on and from the date of cancellation."),d(),c(41,"h3"),h(42,"2.\tOur Services"),d(),c(43,"p"),h(44,"2.1\tWe provide the following services to you:"),d(),c(45,"p",2),h(46,"(a)\taccess to our Portal; and"),d(),c(47,"p",2),h(48,"(b)\taccess to our troubleshooting support (Support Services),"),d(),c(49,"p",2),h(50,"(collectively, our Services)."),d(),c(51,"p"),h(52,"2.2\tIf you require Support Services, you may request these by getting in touch with us through our Portal."),d(),c(53,"p"),h(54,"2.3\tUnless we agree otherwise, Support Services cannot be used to support any other products or services, and does not include training, installation of software or hardware, softw
1are development or the modification, deletion or recovery of data or any on-site services."),d(),c(55,"p"),h(56,"2.4\tWhere we require access to your premises or computer systems in order to provide our Services, you agree to provide us with such access free from risk to the safety of our employees and contractors."),d(),c(57,"p"),h(58,"2.5\tOur Services do not constitute, and are not a substitute for, financial, medical, legal or risk management advice."),d(),c(59,"p"),h(60,"2.6\tWe will not be responsible for any other services unless expressly set out on in these Terms or on our Portal."),d(),c(61,"p"),h(62,"2.7\tAdditional Services: If you require additional services, we may, in our sole discretion, provide such additional services (to be scoped and priced in a separate contract provided by us)."),d(),c(63,"p"),h(64,"2.8\tThird Party Products or Services: Where you engage third parties to operate alongside our Services (for example, any third-party software systems you wish to integrate with our Portal), those third parties are independent of us and you are responsible for (meaning we will not be liable for) the goods or services they provide, unless we expressly agree otherwise under clause 2.7."),d(),c(65,"h3"),h(66,"3.\tAccount"),d(),c(67,"p"),h(68,"3.1\tYou must sign up for an Account in order to access and use our Portal."),d(),c(69,"p"),h(70,"3.2\tYou may register for an Account using your Google or Facebook account (Single Sign-On Account). If you sign in to your Account using a Single Sign-On Account, you authorise us to access information from your Single Sign-On Account including your name and contact information."),d(),c(71,"p"),h(72,"3.3\tYou may invite Authorised Users to access and use our Services under your Account. Each of your Authorised Users will require a login (which is linked to your Account), in order to access and use our Portal. You are responsible for ensuring that your Authorised Users comply with these Terms. You may change who your Authorised Users are at any time through your Account, and what access rights or permissions they have when using our Portal. Any limitations on the number of Authorised Users you can have will be set out in your Account or on our Portal."),d(),c(73,"p"),h(74,"3.4\tWhile you have an Account with us, you agree to (and to ensure your Authorised Users agree to):"),d(),c(75,"p",2),h(76,"(a)\tkeep your information up-to-date (and ensure it remains true, accurate and complete);"),d(),c(77,"p",2),h(78,"(b)\tkeep usernames and passwords secure and confidential, and protect them from misuse or being stolen; and"),d(),c(79,"p",2),h(80,"(c)\tnotify us if you become aware of, or have reason to suspect, any unauthorised access to your Account or any logins linked to your Account."),d(),c(81,"h3"),h(82,"4.\tOrders"),d(),c(83,"p"),h(84,"4.1\tYou may order products from us as set out on the Portal. If you place an order for products through the Portal, you are making an order to purchase the product(s) for the price listed on the Portal (including the delivery fees or other applicable charges and taxes)."),d(),c(85,"p"),h(86,"4.2\tWe may, at our absolute discretion, accept or reject an order. If we need to reject your order, we will notify you within a reasonable time after your order is placed. Once we accept an order, a binding agreement is formed for the supply of products to you in accordance with these Terms."),d(),c(87,"p"),h(88,"4.3\tIt is your responsibility to check the order details, including selected products and pricing, before you submit your order through the Portal."),d(),c(89,"p"),h(90,"4.4\tWe may cancel, at any time before delivery and for whatever reason, an order that we have previously accepted, including if for any reason we cannot supply the products you order (for example for an event beyond our reasonable control) or if products ordered were subject to an error on our Portal. We will contact you using the details you provided when you placed your order."),d(),c(91,"h3"),h(92,"5.\tPayments"),d(),c(93,"p"),h(94,"5.1\tYou must pay all amounts due under these Terms in accordance with these Terms or as set out on our Portal (as applicable)."),d(),c(95,"p"),h(96,"5.2\tYou must not pay, or attempt to pay, any fees due under these Terms or as a result of your use of our Services by fraudulent or unlawful means. If you make payment by debit or credit card, you must be the authorised card holder. If payment is made by direct debit, by providing your bank account details and accepting these Terms, you authorise our nominated third-party payment processor to debit your bank account, and you confirm that you are either the holder or an authorised signatory of that bank account."),d(),c(97,"p"),h(98,"5.3\tLate Payments: If any fees due under these Terms or as a result of your use of our Services are not paid on time, we may:"),d(),c(99,"p",2),h(100,"(a)\tsuspend your access to our Services (including access to our Portal); and"),d(),c(101,"p",2),h(102,"(b)\tcharge interest on any overdue payments at a rate equal to the Reserve Bank of Australia's cash rate, from time-to-time, plus 2% per annum, calculated daily and compounding monthly."),d(),c(103,"p"),h(104,"5.4\tTaxes: You are responsible for paying any levies or taxes associated with your use of our Services, for example sales taxes, value-ad
1ded taxes or withholding taxes (unless we are required by law to collect these on your behalf)."),d(),c(105,"h3"),h(106,"6.\tPortal Licence"),d(),c(107,"p"),h(108,"6.1\tWhile you have an Account, we grant you and your Authorised Users a right to use our Portal (which may be suspended or revoked in accordance with these Terms). This right cannot be passed on or transferred to any other person."),d(),c(109,"p"),h(110,"6.2\tYou must not (and you must ensure that your Authorised Users do not):"),d(),c(111,"p",2),h(112,"(a)\taccess or use our Portal in any way that is improper or breaches any laws, infringes any person's rights (for example, intellectual property rights and privacy rights), or gives rise to any civil or criminal liability;"),d(),c(113,"p",2),h(114,"(b)\tinterfere with or interrupt the supply of our Portal, or any other person's access to or use of our Portal;"),d(),c(115,"p",2),h(116,"(c)\tintroduce any viruses or other malicious software code into our Portal;"),d(),c(117,"p",2),h(118,"(d)\tuse any unauthorised or modified version of our Portal, including but not limited to for the purpose of building similar or competitive software or for the purpose of obtaining unauthorised access to our Portal;"),d(),c(119,"p",2),h(120,"(e)\tattempt to access any data or log into any server or account that you are not expressly authorised to access;"),d(),c(121,"p",2),h(122,"(f)\tuse our Portal in any way that involves service bureau use, outsourcing, renting, reselling, sublicensing, concurrent use of a single user login, or time-sharing;"),d(),c(123,"p",2),h(124,"(g)\tcircumvent user authentication or security of any of our networks, accounts or hosts or those of any third party; or"),d(),c(125,"p",2),h(126,"(h)\taccess or use our Portal to transmit, publish or communicate material that is, defamatory, offensive, abusive, indecent, menacing, harassing or unwanted."),d(),c(127,"h3"),h(128,"7.\tAvailability, Disruption and Downtime"),d(),c(129,"p"),h(130,"7.1\tWhile we strive to always make our Services available to you, we do not make any promises that these will be available 100% of the time. Our Services may be disrupted during certain periods, including, for example, as a result of scheduled or emergency maintenance."),d(),c(131,"p"),h(132,"7.2\tOur Services (including our Portal) may interact with, or be reliant on, products or services provided by third parties, such as cloud hosting service providers. To the maximum extent permitted by law, we are not liable for disruptions or downtime caused or contributed to by these third parties."),d(),c(133,"p"),h(134,"7.3\tWe will try to provide you with reasonable notice, where possible, of any disruptions to your access to our Services."),d(),c(135,"p"),h(136,"8.\tIntellectual Property and Data"),d(),c(137,"p"),h(138,"8.1\tWe own all intellectual property rights in our Services (including our Portal). This includes how our Portal looks and functions, as well as our copyrighted works, trademarks, inventions, designs and other intellectual property. You agree not to copy or otherwise misuse our intellectual property without our written permission (for example, to reverse engineer or discover the source code of our intellectual property), and you must not alter or remove any confidentiality, copyright or other ownership notice placed on our Portal."),d(),c(139,"p"),h(140,"8.2\tWe make available on our Portal aggregated, anonymised statistical data relating to the purchase of products by your customers to provide you with business insights. You acknowledge and agree that despite the data coming from your customers, we own all intellectual property rights in this data. You agree not to copy or otherwise misuse this data without our written permission (for example, to reidentify or track the personal information of individual customers), and you must not alter or attempt to change the data."),d(),c(141,"p"),h(142,"8.3\tWe may use any feedback or suggestions that you give us in any manner which we see fit (for example, to develop new features), and no benefit will be owed to you as a result of any use by us of your feedback or suggestions."),d(),c(143,"h4"),h(144,"Your Data"),d(),c(145,"p"),h(146,"8.4\tWe do not own any of Your Data, but when you enter or upload any of Your Data into our Portal, you grant us the right to access, analyse, backup, copy, store, transmit, and otherwise use Your Data while you have an Account with us (and for a reasonable period of time afterwards). We may use Your Data (or disclose it to third party service providers) to:"),d(),c(147,"p",2),h(148,"(a)\tsupply our Services to you and your Authorised Users (for example, to enable you and your Authorised Users to access and use our Services), and otherwise perform our obligations under these Terms;"),d(),c(149,"p",2),h(150,"(b)\tdiagnose problems with our Services;"),d(),c(151,"p",2),h(152,"(c)\timprove, develop and protect our Services;"),d(),c(153,"p",2),h(154,"(d)\tsend you information we think may be of interest to you based on your marketing preferences;"),d(),c(155,"p",2),h(156,"(e)\tperform analytics for the purpose of remedying bugs or issues with our Portal; or"),d(),c(157,"p",2),h(158,"(f)\tperform our obligations under these Terms (as reasonably required)."),d(),c(159,"p"),h(160,"8.5\tYou acknowledge and agree that because of the nature of the internet, the processing and transmission of Your Data by us may occur over various networks."),d(),c(161,"p"),h(162,"8.6\tYou are responsible for (meaning we are not liable for):"),d(),c(163,"p",2),h(164,"(a)\tthe integrity of Your Data on your systems, networks or any device controlled by you or your Authorised Users; and"),d(),c(165,"p",2),h(166,"(b)\tbacking up Your Data."),d(),c(167,"p"),h(168,"8.7\tWhen you use our Services, we may create anonymised statistical data from Your Data and usage of our Services (for example, through aggregation). Once anonymised, we own that data and may use it for our own purposes, such as to provide and improve our Services, to develop new services or product offerings, to identify business trends, and for other uses we communicate to you. This may include making such anonymised data publicly available, provided it is not compiled using a sample size small enough to make underlying portions of Your Data identifiable."),d(),c(169,"p"),h(170,"8.8\tIf you do not provide Your Data to us, it may impact your ability to receive our Services."),d(),c(171,"h3"),h(172,"9.\tConfidential Information and Personal Information"),d(),c(173,"p"),h(174,"9.1\tWhile using our Services, you may share confidential information with us, and you may become aware of confidential information about us. You agree not to use our confidential information, and to take reasonable steps to protect our confidential information from being disclosed without our permission, and we agree to do the same for your confidential information. This also means making sure that any Authorised Users, employees, contractors, professional advisors or agents of ours or yours only have access to confidential information on a 'need-to-know basis' (in other words, the disclosure is absolutely necessary), and that they also agree to not misuse or disclose such confidential information."),d(),c(175,"p"),h(176,"9.2\tHowever, either you or we may share confidential information with legal or regulatory authorities if required by law to do so."),d(),c(177,"p"),h(178,"9.3\tWe collect, hold and disclose and use any Personal Information you provide to us in accordance with our privacy policy, available on our website, and applicable privacy laws."),d(),c(179,"p"),h(180,"9.4\tYou must only disclose Personal Information to us if you have the right to do so (such as having the individual's express consent)."),d(),c(181,"p"),h(182,"9.5\tWe may need to disclose Personal Information to third parties, such as our related companies or our service providers (for example, IT and administrative service providers and our professional advisors)."),d(),c(183,"p"),h(184,"9.6\tWhere we are required by law to report on our activities, you acknowledge that from time to time we may request certain information from you in order to meet our requirements, and you agree to provide us with such information within the timeframes reasonably requested by us."),d(),c(185,"h3"),h(186,"10.\tConsumer Law Rights"),d(),c(187,"p"),h(188,"10.1\tIn some jurisdictions, you may have guarantees, rights or other remedies provided by law (Consumer Law Rights), and these Terms do not restrict your Consumer Law Rights. We will only be bound by your Consumer Law Rights and the express wording of these Terms."),d(),c(189,"p"),h(190,"10.2\tSubject to your Consumer Law Rights, we do not provide a refund for a change of mind or change in circumstance."),d(),c(191,"p"),h(192,"10.3\tIf you accept these Terms in Australia, nothing in these Terms should be interpreted to exclude, restrict or modify the application of, or any rights or remedies you may have under, any part of the Australian Consumer Law (as set out in Schedule 2 of the Competition and Consumer Act 2010 (Cth)). If our Portal is not ordinarily used for personal, household or domestic use, our liability for a breach of your Consumer Law Rights is limited to either resupplying our Services, or paying the cost of having our Services resupplied."),d(),c(193,"h3"),h(194,"11.\tLiability"),d(),c(195,"p"),h(196,"11.1\tTo the maximum extent permitted by law, we will not be liable for, and you release us from liability for, any Liability caused or contributed to by, arising from or in connection with:"),d(),c(197,"p",2),h(198,"(a)\tyour computing environment (for example, your hardware, softw
1are, information technology and telecommunications services and systems); or"),d(),c(199,"p",2),h(200,"(b)\tany use of our Services by a person or entity other than you or your Authorised Users."),d(),c(201,"p"),h(202,"11.2\tRegardless of whatever else is stated in these Terms, to the maximum extent permitted by law:"),d(),c(203,"p",2),h(204,"(a)\tneither we or you are liable for any Consequential Loss;"),d(),c(205,"p",2),h(206,"(b)\ta party's liability for any Liability under these Terms will be reduced proportionately to the extent the relevant Liability was caused or contributed to by the actions (or inactions) of the other party, including any failure by the other party to mitigate its loss;"),d(),c(207,"p",2),h(208,"(c)\t(where our Services are not ordinarily acquired for personal, domestic or household use or consumption) in respect of any failure by us to comply with relevant Consumer Law Rights, our Liability is limited (at our discretion) to supplying the Services again or paying the cost of having the Services supplied again; and"),d(),c(209,"p",2),h(210,"(d)\tour aggregate liability to you for any Liability arising from or in connection with these Terms will be limited to AU$1,000."),d(),c(211,"h3"),h(212,"12.\tSuspension and Termination"),d(),c(213,"p"),h(214,"12.1\tWe may suspend your access to our Services where we reasonably believe there has been any unauthorised access to or use of our Services (such as the unauthorised sharing of login details for our Portal). If we suspend your access to our Services, we will let you know 
1within a reasonable time of doing so, and we will work with you to resolve the matter, or if it cannot be resolved, then we may terminate your Account and your access to our Services will end."),d(),c(215,"p"),h(216,"12.2\tWe may terminate these Terms (meaning you will lose access to our Services, including access to your Account) if:"),d(),c(217,"p",2),h(218,"(a)\tyou or your Authorised Users breach these Terms and do not remedy that breach within 14 days of us notifying you of that breach;"),d(),c(219,"p",2),h(220,"(b)\tyou or your Authorised Users breach these Terms and that breach cannot be remedied; or"),d(),c(221,"p",2),h(222,"(c)\tyou experience an insolvency event (including but not limited to bankruptcy, receivership, voluntary administration, liquidation, or entering into creditors' schemes of arrangement)."),d(),c(223,"p"),h(224,"12.3\tYou may terminate these Terms if:"),d(),c(225,"p",2),h(226,"(a)\twe breach these Terms and do not remedy that breach within 14 days of you notifying us of that breach; or"),d(),c(227,"p",2),h(228,"(b)\twe breach these Terms and that breach cannot be remedied."),d(),c(229,"p"),h(230,"12.4\tYou may also terminate these Terms at any time by notifying us through your Account or to our email for notices (as set out in clause 13.8), and termination will take effect immediately."),d(),c(231,"p"),h(232,"12.5\tUpon termination of these Terms, we will retain Your Data (including copies) as required by law or regulatory requirements."),d(),c(233,"p"),h(234,"12.6\tTermination of these Terms will not affect any other rights or liabilities that we or you may have."),d(),c(235,"h3"),h(236,"13.\tGeneral"),d(),c(237,"p"),h(238,"13.1\tAssignment: You may not transfer or assign these Terms (including any benefits or obligations you have under these Terms) to any third party without our prior written consent. We may assign or transfer these Terms to a third party, or transfer any debt owed by you to us to a debt collector or other third party."),d(),c(239,"p"),h(240,"13.2\tDisputes: Neither we or you may commence court proceedings relating to any dispute, controversy or claim arising from, or in connection with, these Terms (including any question regarding its existence, validity or termination) (Dispute) unless we and you first meet (in good faith) to resolve the Dispute. Nothing in this clause will operate to prevent us or you from seeking urgent injunctive or equitable relief from a court of appropriate jurisdiction."),d(),c(241,"p"),h(242,"If the Dispute is not resolved at that initial meeting:"),d(),c(243,"p",2),h(244,"(a)\twhere you are resident or incorporated in Australia, refer the matter to mediation, administered by the Australian Disputes Centre in accordance with Australian Disputes Centre Guidelines for Commercial Mediation; or"),d(),c(245,"p",2),h(246,"(b)\twhere you are not resident or incorporated in Australia, refer the matter to arbitration administered by the Australian Centre for International Commercial Arbitration, with such arbitration to be conducted in Sydney, New South Wales, before one arbitrator, in English and in accordance with the ACICA Arbitration Rules. "),d(),c(247,"p"),h(248,"13.3\tEvents Outside Our Control: We will not be liable for any delay or failure to perform our obligations (including our Services), if such delay or failure is caused or contributed to by an event or circumstance beyond our reasonable control."),d(),c(249,"p"),h(250,"13.4\tGoverning law: These Terms are governed by the laws of New South Wales, and any matter relating to these Terms is to be determined exclusively by the courts in New South Wales and any courts entitled to hear appeals from those courts."),d(),c(251,"p"),h(252,"13.5\tIllegal Requests: We reserve the right to refuse any request for or in relation to our Services that we deem inappropriate, unethical, unreasonable, illegal or otherwise non-compliant with these Terms."),d(),c(253,"p"),h(254,"13.6\tMarketing: You agree that we may send you electronic communications about our products and services. You may opt-out at any time by using the unsubscribe function in our electronic communications."),d(),c(255,"p"),h(256,"13.7\tNature of Legal Relationship: These Terms do not create, and should not be interpreted so as to create, a partnership, joint venture, employment or agency relationship between us and you."),d(),c(257,"p"),h(258,"13.8\tNotices: Any notice you send to us must be sent to the email set out at the beginning of these Terms. Any notice we send to you will be sent to the email address registered against your Account."),d(),c(259,"p"),h(260,"13.9\tPublicity: You agree that we may advertise or publicise the fact you are a customer of ours, for example on our website or in our promotional material, and you grant us a right to display and use your logo and branding solely for that purpose."),d(),c(261,"p"),h(262,"13.10\tSurvival: Clauses 8 to 12 will survive the termination or expiry of these Terms."),d(),c(263,"p"),h(264,"13.11\tThird Party Sites: Our Portal may contain links to websites operated by third parties. Unless we tell you otherwise, we do not control, end
1orse or approve, and are not responsible for, the content on those websites. We recommend that you make your own investigations in relation to the suitability of those websites. If you purchase goods or services from a third party website linked from our Portal, those goods or services are being provided by that third party, not us. We may receive a benefit (which may include a referral fee or a commission) should you visit certain third party websites through a link on our Portal, or for featuring certain goods or services on our Portal. We will make it clear by notice to you which (if any) goods or services, or website links, we receive a benefit from by featuring them on our Portal."),d(),c(265,"h3"),h(266,"14.\tDefinitions"),d(),c(267,"p"),h(268,"14.1\tIn these Terms:"),d(),c(269,"p")(270,"strong"),h(271,"Account"),d(),h(272," means an account accessible to the individual or entity who signed up to our Services, under which Authorised Users may be granted with access."),d(),c(273,"p")(274,"strong"),h(275,"Authorised User"),d(),h(276," means a user that you have invited to use the Portal through your Account."),d(),c(277,"p")(278,"strong"),h(279,"Consequential Loss"),d(),h(280," includes any consequential loss, special or indirect loss, real or anticipated loss of profit, loss of benefit, loss of revenue, loss of business, loss of goodwill, loss of opportunity, loss of savings, loss of reputation, loss of use and/or loss or corruption of data, whether under statute, contract, equity, tort (including negligence), indemnity or otherwise. However, your obligation to pay us any amounts for access to or use of our Services (including our Portal) will not constitute \u201cConsequential Loss\u201d."),d(),c(281,"p")(282,"strong"),h(283,"Liability"),d(),h(284," means any expense, cost, liability, loss, damage, claim, notice, entitlement, investigation, demand, proceeding or judgment (whether under statute, contract, equity, tort (including negligence), indemnity or otherwise), howsoever arising, whether direct or indirect and/or whether present, unascertained, future or contingent and whether involving a third party or us or you or otherwise."),d(),c(285,"p")(286,"strong"),h(287,"Personal Information"),d(),h(288," means any information or opinion about an identified individual, or an individual who is reasonably identifiable, whether the information or opinion is true or not, and whether the information or opinion is recorded in a tangible form or not."),d(),c(289,"p")(290,"strong"),h(291,"Portal"),d(),h(292," means our cloud-based Portal that we provide you with access to as part of the Services."),d(),c(293,"p")(294,"strong"),h(295,"Services"),d(),h(296," means the services we provide to you, as detailed in clause 2.1."),d(),c(297,"p")(298,"strong"),h(299,"Your Data"),d(),h(300," means the information, materials, logos, documents, qualifications and other intellectual property or data supplied by you and your Authorised Users when receiving our Services or stored by or generated by your use of our Services, including any Personal Information collected, used, disclosed, stored or otherwise handled in connection with our Services. Your Data does not include any data or information that is generated as a result of your usage of our Services that is a back-end or internal output or an output otherwise generally not available to users of our Services."),d()())},dependencies:[Sr],encapsulation:2})}return t})(),Ob=(()=>{class t{ngOnInit(){this.spinnerWidth||(this.spinnerWidth=100)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["loading-spinner"]],inputs:{spinnerWidth:"spinnerWidth"},standalone:!0,features:[z],decls:1,vars:1,consts:[[1,"m-auto",3,"diameter"]],template:function(i,o){1&i&&x(0,"mat-spinner",0),2&i&&k("diameter",o.spinnerWidth)},dependencies:[jR,Sre],styles:[".hr-bee-yellow{border:.1875rem solid #F2CA03}.hr-easy-green{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue{border:.1875rem solid #5DB5E6}.hr-our-purple{border:.1875rem solid #531D87}.hr-ocean-orange{border:.1875rem solid #F27405}:host{display:block}.btn-dark{color:#fff}a{color:#0dbb74}::ng-deep .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg{border-radius:.5rem}.size-full{width:100%;height:100%}.center-child-items{display:flex;align-items:center;justify-content:center}.left_side_round{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100{width:6.25rem}.card-size{box-shadow:none!important}.space-right{margin-right:2em}.space-left{margin-left:2em}.border-2{border-width:2px}.border-solid{border-style:solid}.center-content{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green{background-color:#0dbb74}.background-winnie-blue{background-color:#5db5e6}.background-ocean-orange{background-color:#f27405}.background-fire-engine-red{background-color:#f10200}.border-easy-green{border-color:#0dbb74}.border-winnie-blue{border-color:#5db5e6}.border-ocean-orange{border-color:#f27405}.text-xs{font-size:.75rem;line-height:1rem}.text-white{color:#ececec}.text-winnie-blue{color:#5db5e6}.text-ocean-orange{color:#f27405}.text-easy-green{color:#0dbb74}.h-full{height:100%}.text-sm{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container{margin-top:1.75rem}.gift-image{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container{margin-top:1.75rem}
1.gift-image{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control{border-radius:.5rem!important}.form-element{display:block;width:100%}.form-element button{margin-top:2rem}.rounded-full{border-radius:9999px}.font-bold{font-weight:700}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.p-8{padding:2rem}loading-spinner .mdc-circular-progress__indeterminate-container circle,loading-spinner .mdc-circular-progress__circle-clipper circle{stroke:#0dbb74}\n"],encapsulation:2})}return t})();const dwe=["checkout"];function uwe(t,n){1&t&&x(0,"loading-spinner",9)}const hwe=()=>({subject:"Error",location:"Public giftcard checkout page"});function mwe(t,n){if(1&t){const e=Ne();c(0,"div",10)(1,"h6"),h(2,"There was an error loading the checkout page."),d(),c(3,"p"),h(4," Please "),c(5,"a",11),V("click",function(){return re(e),se(S().reload())}),h(6,"try again"),d(),h(7," or if you continue to have trouble, "),c(8,"a",12),h(9,"contact us"),d(),h(10,". "),d()()}2&t&&(b(8),k("trackContactUs",Be(1,hwe)))}let g8=(()=>{class t{constructor(e,i,o,r,s,a,l){this.stripeFactory=e,this.configService=i,this.router=o,this.route=r,this.http=s,this.fbq=a,this.tracker=l,this.state$=new Ee("loading")}ngAfterViewInit(){this.state$.next("loading"),this.stripeInstance=this.stripeFactory.create(this.configService.config.stripePublicKey);const e=this.route.paramMap.pipe(te(o=>o.get("token")),Ja(),X(o=>this.http.get(`${this.configService.config.baseApiUrl}/card-batches/${o}`)),te(o=>o.value),dl({bufferSize:1,refCount:!0})),i=e.pipe(X(o=>this.stripeInstance.initEmbeddedCheckout({clientSecret:o.clientSecret,onComplete:()=>this.onComplete()})));qt([e,i]).subscribe({next:([o,r])=>{this.fbq.trackEvent("AddPaymentInfo",{currency:U_,value:o.card.amount}),this.tracker.trackBeginCheckout(U_,o.card.amount,[{item_id:UC,item_name:WC,quantity:1,price:o.card.amount}]),this.stripeCheckout=r,this.batch=o,r.mount(this.checkoutEl.nativeElement),this.state$.next("ready")},error:o=>{console.error(o),this.state$.next("error")}})}ngOnDestroy(){this.stripeCheckout&&this.stripeCheckout.destroy()}onComplete(){this.batch&&(this.fbq.trackEvent("Purchase",{currency:U_,value:this.batch.card.amount}),this.tracker.trackPurchase(U_,this.batch.card.amount,`batch-${this.batch.id}`,[{item_id:UC,item_name:WC,quantity:1,price:this.batch.card.amount}])),this.router.navigate(["/wellness-gift-card/thankyou"])}reload(){window.location.reload()}static#e=this.\u0275fac=function(i){return new(i||t)(v(tm),v(ii),v(Pt),v($i),v(Bt),v($C),v(la))};static#t=this.\u0275cmp=O({type:t,selectors:[["buy-a-giftcard-payment"]],viewQuery:function(i,o){if(1&i&&me(dwe,5),2&i){let r;H(r=j())&&(o.checkoutEl=r.first)}},decls:20,vars:3,consts:[[1,"container"],[1,"row"],[1,"col-lg-12","center-child-items"],["alt","",1,"gift-image"],[1,"row","reduce-gap"],["checkout",""],[1,"col-lg-2"],[1,"col-lg-8"],["mat-dialog-close","","routerLink","/buy",1,"btn","btn-outline-dark","mt-3","ms-3"],[1,"mt-5"],["role","alert",1,"alert","alert-danger","col-6","offset-3","text-center"],[3,"click"],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"]],template:function(i,o){if(1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d()(),c(4,"div",4)(5,"div",2)(6,"h1"),h(7,"Giftcard Payment"),d()()(),c(8,"div",4),T(9,uwe,1,0)(10,mwe,11,2),ve(11,"async"),x(12,"div",null,5),d(),c(14,"div",1),x(15,"div",6),c(16,"div",7)(17,"button",8),h(18,"< Back"),d()(),x(19,"div",6),d()()),2&i){let r;b(9),U(9,"loading"===(r=Me(11,1,o.state$))?9:"error"===r?10:-1)}},dependencies:[Nn,zt,gR,Ob,Vi],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}"]})}return t})();const pwe=t=>({action:"Buy gift card",location:t});let fwe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["buy-button"]],inputs:{trackingLocation:"trackingLocation"},decls:3,vars:3,consts:[["routerLink","/wellness-gift-card",1,"btn","btn-dark","pt-2","pb-2","pl-4","pr-4",3,"trackClicks"]],template:function(i,o){1&i&&(c(0,"button",0)(1,"span"),h(2,"Buy a gift card"),d()()),2&i&&k("trackClicks",di(1,pwe,o.trackingLocation))},dependencies:[Ar,zt],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}"]})}return t})(),_8=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["buy-a-giftcard-thankyou"]],decls:20,vars:0,consts:[[1,"container"],[1,"row"],[1,"col-lg-12","center-child-items"],["alt","",1,"gift-image"],[1,"row","reduce-gap"],[1,"col-lg-3"],[1,"col-lg-6","center-child-items"],[1,"col-lg-6","text-center"],[1,"row","pt-5"],["trackingLocation","Thankyou page"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d()(),c(4,"div",4),x(5,"div",5),c(6,"div",6)(7,"h1"),h(8,"Thank You!"),d()(),x(9,"div",5),d(),c(10,"div",1),x(11,"div",5),c(12,"div",7),h(13," Your card 
1is on its way! Perhaps you'd like to buy another for somebody else? "),d(),x(14,"div",5),d(),c(15,"div",8),x(16,"div",5),c(17,"div",6),x(18,"buy-button",9),d(),x(19,"div",5),d()())},dependencies:[fwe],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}"]})}return t})(),gwe=(()=>{class t{constructor(e){this._el=e}onInputChange(e){const i=this._el.nativeElement.value;this._el.nativeElement.value=i.replace(/[^0-9]*/g,""),i!==this._el.nativeElement.value&&e.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["input","numbersOnly",""]],hostBindings:function(i,o){1&i&&V("input",function(s){return o.onInputChange(s)})},standalone:!0})}return t})();function _we(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide the recipients first name."),d())}function bwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide the recipients last name."),d())}function vwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide the recipients email address."),d())}function ywe(t,n){1&t&&(c(0,"mat-error"),h(1,"You have not entered a valid email address."),d())}function wwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide the recipients mobile number."),d())}function xwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Recipients mobile number cannot be more than 10 digits long."),d())}function Cwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Recipients mobile number must be 10 digits long."),d())}function kwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Recipients mobile number can only contain numbers."),d())}function Mwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to select an amount."),d())}function Dwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Amount can only contain numbers."),d())}function Swe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide your first name."),d())}function Ewe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide your last name."),d())}function Twe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide your email address."),d())}function Iwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You have not entered a valid email address."),d())}function Awe(t,n){1&t&&(c(0,"mat-error"),h(1,"You need to provide your mobile number."),d())}function Pwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Your mobile number cannot be more than 10 digits long."),d())}function Owe(t,n){1&t&&(c(0,"mat-error"),h(1,"Your mobile number must be 10 digits long."),d())}function Rwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Your mobile number can only contain numbers."),d())}function Fwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide a message."),d())}const Lwe=t=>({"d-none":t});let b8=(()=>{class t{constructor(e,i,o,r,s,a){this.configService=e,this.http=i,this.router=o,this.fbq=r,this.tracker=s,this.fb=a,this.error$=new fe,this.hasError=(l,u)=>this.buyForm.controls[l].hasError(u),this.continue=()=>{if(!this.buyForm.valid)return void Object.keys(this.buyForm.controls).forEac
1h(u=>{this.buyForm.get(u).markAsTouched({onlySelf:!0})});const l={Amount:parseFloat(this.buyForm.controls.Amount.value),Anonymous:this.buyForm.controls.Anonymous.value||!1,Message:this.buyForm.controls.Message.value,IssueScheduled:this.buyForm.controls.IsImmediate.value?null:this.buyForm.controls.IssueScheduled.value,Sender:{FirstName:this.buyForm.controls.SenderFirstName.value,LastName:this.buyForm.controls.SenderLastName.value,EmailAddress:this.buyForm.controls.SenderEmailAddress.value,MobileNumber:this.buyForm.controls.SenderMobileNumber.value},Recipient:{FirstName:this.buyForm.controls.RecipientFirstName.value,LastName:this.buyForm.controls.RecipientLastName.value,EmailAddress:this.buyForm.controls.RecipientEmailAddress.value,MobileNumber:this.buyForm.controls.RecipientMobileNumber.value}};this.http.post(`${this.configService.config.baseApiUrl}/card-batches`,l).pipe(te(u=>u.value)).subscribe({next:u=>{this.router.navigate([`wellness-gift-card/payment/${u}`])},error:u=>{}})},this.buyForm=new _r({RecipientFirstName:new De("",[Ae.required]),RecipientLastName:new De("",[Ae.required]),RecipientEmailAddress:new De("",[Ae.required,Ae.email]),RecipientMobileNumber:new De("",[Ae.required,Ae.pattern("^[0-9]*$"),Ae.minLength(10),Ae.maxLength(10)]),Amount:new De("",[Ae.required,Ae.pattern("^[0-9]*$")]),SenderFirstName:new De("",[Ae.required]),SenderLastName:new De("",[Ae.required]),SenderEmailAddress:new De("",[Ae.required,Ae.email]),SenderMobileNumber:new De("",[Ae.required,Ae.pattern("^[0-9]*$"),Ae.minLength(10),Ae.maxLength(10)]),Message:new De("Go treat yourself!!",[Ae.required]),Anonymous:new De,IsImmediate:new De(!0),IssueScheduled:new De})}ngOnInit(){this.fbq.trackEvent("AddToCart",{}),this.tracker.trackViewItemList([{item_id:UC,item_name:WC}])}updateMessage(e){this.buyForm.controls.Message.setValue(e.target.value)}setAmount(e){this.buyForm.controls.Amount.setValue(e)}static#e=this.\u0275fac=function(i){return new(i||t)(v(ii),v(Bt),v(Pt),v($C),v(la),v(hg))};static#t=this.\u0275cmp=O({type:t,selectors:[["buy-a-giftcard"]],decls:250,vars:26,consts:[[1,"container"],[3,"formGroup"],[1,"row"],[1,"col-lg-12","center-child-items"],["alt","",1,"gift-image"],[1,"hr"],[1,"col-lg-3"],[1,"col-lg-6","giftcard-text",2,"text-align","center"],[1,"col-lg-2"],[1,"col-lg-8"],[1,"row","mb-4"],[1,"col-lg-6"],[1,"form-label","label-text"],[1,"w-100"],["matInput","","type","text","placeholder","Joe","formControlName","RecipientFirstName","required","",1,"form-control"],[4,"ngIf"],["matInput","","type","text","placeholder","Smith","formControlName","RecipientLastName","required","",1,"form-control"],[1,"row",2,"margin-bottom","40px"],["matInput","","type","text","placeholder","[email protected]","formControlName","RecipientEmailAddress","required","",1,"form-control"],["matInput","","type","text","placeholder","0123456789","formControlName","RecipientMobileNumber","required","","numbersOnly","",1,"form-control"],[1,"container","mb-0"],[1,"col-lg-12"],["type","button",1,"btn","btn-dark","m-2",3,"click"],[2,"padding-left","1rem"],["matTextPrefix",""],["matInput","","type","text","placeholder","100","formControlName","Amount","required","","numbersOnly","",1,"form-control"],["matInput","","type","text","placeholder","Joe","formControlName","SenderFirstName","required","",1,"form-control"],["matInput","","type","text","placeholder","Smith","formControlName","SenderLastName","required","",1,"form-control"],["matInput","","type","text","placeholder","[email protected]","formControlName","SenderEmailAddress","required","",1,"form-control"],["matInput","","type","text","placeholder","0123456789","formControlName","SenderMobileNumber","required","","numbersOnly","",1,"form-control"],["matInput","","type","text","formControlName","Message","required","",1,"form-control",3,"maxLength"],[1,"form-control","form-select","mb-2","mt-2",3,"change"],["disabled","","selected",""],["formControlName","Anonymous",1,"form-control"],["formControlName","IsImmediate",1,"form-control"],[1,"row",3,"ngClass"],["matInput","",3,"matDatepicker"],["matIconSuffix","",3,"for"],["picker",""],["type","button",1,"btn","btn-dark","mt-3",3,"click"]],template:function(i,o){if(1&i&&(c(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3),x(4,"img",4),d()(),c(5,"div",2)(6,"div",3)(7,"h1"),h(8,"Buy a Gift Card"),d()()(),c(9,"div",2)(10,"div",3),x(11,"hr",5),d()(),c(12,"div",2),x(13,"div",6),c(14,"div",7)(1
vendor: 4,767 bytes, line 1
15,"p"),h(16,"Buying Mentwell for someone shows that you care about their health and wellbeing. Whether it's the next GP or dentist appointment, or a yoga class or gym membership, you're gifting them choice."),d(),c(17,"p"),h(18,"Thank you for potentially changing someone's life! \u2665\u{1f917}\u2665 "),d()(),x(19,"div",6),d(),c(20,"div",2),x(21,"div",8),c(22,"div",9),x(23,"hr"),d(),x(24,"div",8),d(),c(25,"div",2),x(26,"div",8),c(27,"div",9)(28,"h6"),h(29,"WHO ARE YOU GIFTING TO?"),d()(),x(30,"div",8),d(),c(31,"div",2),x(32,"div",8),c(33,"div",9)(34,"div",0)(35,"div",10)(36,"div",11)(37,"mat-label",12),h(38,"Their First Name"),d(),c(39,"mat-form-field",13),x(40,"input",14),T(41,_we,2,0,"mat-error",15),d()(),c(42,"div",11)(43,"mat-label",12),h(44,"Their Last Name"),d(),c(45,"mat-form-field",13),x(46,"input",16),T(47,bwe,2,0,"mat-error",15),d()()(),c(48,"div",17)(49,"div",11)(50,"mat-label",12),h(51,"Their Email Address"),d(),c(52,"mat-form-field",13),x(53,"input",18),T(54,vwe,2,0,"mat-error",15)(55,ywe,2,0,"mat-error",15),d()(),c(56,"div",11)(57,"mat-label",12),h(58,"Their Mobile Number"),d(),c(59,"mat-form-field",13),x(60,"input",19),T(61,wwe,2,0,"mat-error",15)(62,xwe,2,0,"mat-error",15)(63,Cwe,2,0,"mat-error",15)(64,kwe,2,0,"mat-error",15),d()()()()(),x(65,"div",8),d(),c(66,"div",2),x(67,"div",8),c(68,"div",9),x(69,"hr"),d(),x(70,"div",8),d(),c(71,"div",2),x(72,"div",8),c(73,"div",9)(74,"h6"),h(75,"AMOUNT YOU WOULD LIKE TO GIFT"),d()(),x(76,"div",8),d(),c(77,"div",2),x(78,"div",8),c(79,"div",9)(80,"div",20)(81,"div",2)(82,"div",21)(83,"button",22),V("click",function(){return o.setAmount(50)}),h(84,"$50"),d(),c(85,"button",22),V("click",function(){return o.setAmount(100)}),h(86,"$100"),d(),c(87,"button",22),V("click",function(){return o.setAmount(250)}),h(88,"$250"),d(),c(89,"button",22),V("click",function(){return o.setAmount(500)}),h(90,"$500"),d(),c(91,"button",22),V("click",function(){return o.setAmount(1e3)}),h(92,"$1000"),d(),c(93,"mat-form-field",23)(94,"span",24),h(95,"$ \xa0"),d(),x(96,"input",25),T(97,Mwe,2,0,"mat-error",15)(98,Dwe,2,0,"mat-error",15),d()()()()(),x(99,"div",8),d(),c(100,"div",2),x(101,"div",8),c(102,"div",9),x(103,"hr"),d(),x(104,"div",8),d(),c(105,"div",2),x(106,"div",8),c(107,"div",9)(108,"h6"),h(109,"WHO IS THE GIFT FROM?"),d()(),x(110,"div",8),d(),c(111,"div",2),x(112,"div",8),c(113,"div",9)(114,"div",0)(115,"div",10)(116,"div",11)(117,"mat-label",12),h(118,"Your First Name"),d(),c(119,"mat-form-field",13),x(120,"input",26),T(121,Swe,2,0,"mat-error",15),d()(),c(122,"div",11)(123,"mat-label",12),h(124,"Your Last Name"),d(),c(125,"mat-form-field",13),x(126,"input",27),T(127,Ewe,2,0,"mat-error",15),d()()(),c(128,"div",10)(129,"div",11)(130,"mat-label",12),h(131,"Your Email Address"),d(),c(132,"mat-form-field",13),x(133,"input",28),T(134,Twe,2,0,"mat-error",15)(135,Iwe,2,0,"mat-error",15),d()(),c(136,"div",11)(137,"mat-label",12),h(138,"Your Mobile Number"),d(),c(139,"mat-form-field",13),x(140,"input",29),T(141,Awe,2,0,"mat-error",15)(142,Pwe,2,0,"mat-error",15)(143,Owe,2,0,"mat-error",15)(144,Rwe,2,0,"mat-error",15),d()()()()(),x(145,"div",8),d(),c(146,"div",2),x(147,"div",8),c(148,"div",9),x(149,"hr"),d(),x(150,"div",8),d(),c(151,"div",2),x(152,"div",8),c(153,"div",9)(154,"h6"),h(155,"MESSAGE"),d()(),x(156,"div",8),d(),c(157,"div",10),x(158,"div",8),c(159,"div",9)(160,"div",2)(161,"div",21),h(162," Enter a message to go along with your gift, or select one of ours to help you get started. "),c(163,"mat-form-field",13),x(164,"textarea",30),T(165,Fwe,2,0,"mat-error",15),d(),c(166,"select",31),V("change",function(s){return o.updateMessage(s)}),c(167,"option",32),h(168,"Select Message"),d(),c(169,"option"),h(170,"Go treat yourself!"),d(),c(171,"option"),h(172,"Sending some love your way \u{1f60a}"),d(),c(173,"option"),h(174,"Congrats! Here\u2019s a little something just for you, you deserve it!"),d(),c(175,"option"),h(176,"You need this more than I do \u{1f61c}"),d(),c(177,"option"),h(178,"Your turn! \u{1f60e}"),d(),c(179,"option"),h(180,"From little things, big things grow!"),d(),c(181,"option"),h(182,"I can't pay your mortgage, but I can chip in for your next appointment!"),d(),c(183,"option"),h(184,"Sending you some long-distance love."),d(),c(185,"option"),h(186,"I\u2019m trying to learn what a chakra is, please use this gift card and let me know."),d(),c(187,"option"),h(188,"I love you."),d(),c(189,"option"),h(190,"I want you to know that we\u2019re looking out for you."),d(),c(191,"option"),h(192,"Today is so special, enjoy some self-care, on me."),d(),c(193,"option"),h(194,"Feels like you could use a bit of TLC."),d(),c(195,"option"),h(196,"I really hope this helps you, if you ever want to talk, I\u2019m here."),d(),c(197,"option"),h(198,"I know y
1ou've been through a lot lately; I\u2019d love to help out."),d(),c(199,"option"),h(200,"From your work family, please take care of yourself."),d(),c(201,"option"),h(202,"Thanks for all your effort and hard work!"),d(),c(203,"option"),h(204,"A bottle of wine wouldn\u2019t attach to an email."),d(),c(205,"option"),h(206,"Be your best self!"),d()()()(),c(207,"div",10)(208,"div",21)(209,"mat-label",12),h(210,"Remain anonymous?"),d(),x(211,"mat-checkbox",33),d()()(),x(212,"div",8),d(),c(213,"div",2),x(214,"div",8),c(215,"div",9),x(216,"hr"),d(),x(217,"div",8),d(),c(218,"div",2),x(219,"div",8),c(220,"div",9)(221,"h6"),h(222,"SCHEDULE"),d()(),x(223,"div",8),d(),c(224,"div",2),x(225,"div",8),c(226,"div",9)(227,"div",10)(228,"div",21),h(229," Would you like us to send the card immediately? "),x(230,"mat-checkbox",34),d()(),c(231,"div",35)(232,"div",21),h(233," Or we can send it on a date of your choosing. "),x(234,"br"),c(235,"mat-form-field")(236,"mat-label"),h(237,"Choose a date"),d(),x(238,"input",36),c(239,"mat-hint"),h(240,"MM/DD/YYYY"),d(),x(241,"mat-datepicker-toggle",37)(242,"mat-datepicker",null,38),d()()()()()(),c(244,"div",2),x(245,"div",8),c(246,"div",9)(247,"button",39),V("click",function(){return o.continue()}),h(248,"Continue"),d()(),x(249,"div",8),d()()),2&i){const r=mt(243);let s;b(1),k("formGroup",o.buyForm),b(40),k("ngIf",o.hasError("RecipientFirstName","required")),b(6),k("ngIf",o.hasError("RecipientLastName","required")),b(7),k("ngIf",o.hasError("RecipientEmailAddress","required")),b(1),k("ngIf",o.hasError("RecipientEmailAddress","email")),b(6),k("ngIf",o.hasError("RecipientMobileNumber","required")),b(1),k("ngIf",o.hasError("RecipientMobileNumber","maxLength")),b(1),k("ngIf",o.hasError("RecipientMobileNumber","minLength")),b(1),k("ngIf",o.hasError("RecipientMobileNumber","pattern")),b(33),k("ngIf",o.hasError("Amount","required")),b(1),k("ngIf",o.hasError("Amount","pattern")),b(23),k("ngIf",o.hasError("SenderFirstName","required")),b(6),k("ngIf",o.hasError("SenderLastName","required")),b(7),k("ngIf",o.hasError("SenderEmailAddress","required")),b(1),k("ngIf",o.hasError("SenderEmailAddress","email")),b(6),k("ngIf",o.hasError("SenderMobileNumber","required")),b(1),k("ngIf",o.hasError("SenderMobileNumber","maxLength")),b(1),k("ngIf",o.hasError("SenderMobileNumber","minLength")),b(1),k("ngIf",o.hasError("SenderMobileNumber","pattern")),b(20),k("maxLength",300),b(1),k("ngIf",o.hasError("Message","required")),b(66),k("ngClass",di(24,Lwe,null==(s=o.buyForm.get("IsImmediate"))?null:s.value)),b(7),k("matDatepicker",r),b(3),k("for",r)}},dependencies:[gwe,Ti,Ki,Ng,Jc,Fg,Rg,hte,mte,yne,nx,Dne,Kr,YO,KO,fr,Yr,Zr,qc,br,Gc,$g,Hw],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}.alert-danger[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;color:var(--bs-danger-text)}.alert-danger[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}"]})}return t})();const Nwe=["carousel"];function Bwe(t,n){if(1&t&&(c(0,"li",11),x(1,"img",12),c(2,"div",13),x(3,"a
1pp-star-icon-solid",14)(4,"app-star-icon-solid",14)(5,"app-star-icon-solid",14)(6,"app-star-icon-solid",14)(7,"app-star-icon-solid",14),d(),c(8,"p",15),h(9),d(),c(10,"div",16)(11,"p",17),h(12),d(),c(13,"p",18),h(14),d(),c(15,"p",19),h(16),d()()()),2&t){const e=n.$implicit;b(1),C0("src",e.imageUrl,Jt),b(8),ce(" \u201c",e.text,"\u201d "),b(3),pe(e.reviewer),b(2),pe(e.position),b(2),pe(e.company)}}let v8=(()=>{class t{constructor(){this.testimonials=[{imageUrl:"/assets/testimonials/nancy.png",text:"I'm the Chief of Staff at Heaps Normal and we use Mentwell every quarter with our staff. We wanted to give our team members, who are all over Australia, greater choice over what they can spend their annual EVP budget on, to include other wellbeing activities like gym membership, yoga classes, meditation etc. Mentwell does this in the best possible way without restriction.",reviewer:"Nancy",position:"Chief of Staff at Heaps Normal"},{imageUrl:"/assets/testimonials/himal.png",text:"I LOVE Mentwell! I think it's such a simple yet heart-warming and meaningful idea. I'm using it for all my work related and personal gifting! Such a great idea.",reviewer:"Himal",position:"Founder @Realign"},{imageUrl:"/assets/testimonials/em.png",text:"Absolutely love the concept of Mentwell. I recently was gifted a card at work for a dinner voucher, only to be used in the city (I live over an hour away) and I'd have to organise baby sitting and the likes so I could \"enjoy\" my dinner! I would have been beyond excited to receive a gift card from Mentwell instead, so I'm using it as my main gift card choice for gifts now!",reviewer:"Em Gulliver",position:"Product Manager @ Paperly"},{imageUrl:"/assets/testimonials/dan.png",text:"I watched Nikki pitch tonight and think Mentwell is such an awesome product. I sit on the board for Police Veterans Victoria and I have emailed our team tonight with your site. We'd love to use Mentwell cards.",reviewer:"Dan",position:"Board Member at Police Veterans Victoria"},{imageUrl:"/assets/testimonials/fiona.png",text:"Love what Mentwell does and stands for. It's so needed in this space and I've been telling my whole network about using the B2B portal for their employee gifting and benefits. ",reviewer:"Fiona Ahern MAHRI FAITD",position:"University Manager at MyVenue"},{imageUrl:"/assets/testimonials/shishir.png",text:"I recently had the pleasure of using Mentwell wellness gift cards, and I cannot recommend them highly enough! As someone who values self-care and wellness, the versatility and thoughtful selection of services offered through Mentwell truly stood out.Whether you\u2019re looking to pamper a loved one with a relaxing massage, rejuvenate their spirit with a yoga class, or help them find inner peace with a meditation session, Mentwell has it all.We are using Mentwell as a preferred gift card provider for our rewards program.",reviewer:"Shishir Chowske",position:"Finance & Strategy Manager At Birchal"},{imageUrl:"/assets/testimonials/charlotte.png",text:"We love this idea and that it can benefit so many people in so many industries. People in the hospitality and music industry could hugely benefit from this. What amazing work Mentwell is doing.",reviewer:"Charlotte + Ainsle",position:"Hear Hear Group"},{imageUrl:"/assets/testimonials/jay.png",text:"Mentwell's solution perfectly supports our company's wellness program, allowing each team member to choose the tools or services that suit them best. We are using Mentwell cards to support our health and wellness offerings for staff.",reviewer:"Jay Taylor",position:"Group Manager of People Services",company:"Funlab Ltd."},{imageUrl:"/assets/testimonials/dervla.png",text:"We proudly endorse Mentwell's product and directory for its transformative impact onmental wellness, offering a holistic solution that provides personalised support andempowers individuals to take charge of their mental health journey.",reviewer:"Dervla Loughnane",position:"(B.Soc Schi (Hons) Masters (Psychology) AAPI HRM",company:"CEO of Virtual Psychologist"},{imageUrl:"/assets/testimonials/joe.png",text:"Being on the Mentwell directory and claiming my account resulted in a bunch of new clients which for a sole trader is great given traditionally leads have just come through my network. Mentwell is building something special here.",reviewer:"Joe Conroy",position:"Kinesiologist"},{imageUrl:"/assets/testimonials/adele.png",text:"Being more involved with Mentwell through their directory has led to some great sales leads to our website and general awareness of the business. It's affordable and easy to maintain the account, plus there's loads of added extras for smaller businesses. Thanks for what you do Mentwell!",reviewer:"Adele Conti",position:"Founder Australian Yoga Academy"},{imageUrl:"/assets/testimonials/madison.png",text:"Absolutely LOVE this mission and vision!",reviewer:"Brad",position:"Founder, Hub Australia"},{imageUrl:"/assets/testimonials/adam.png",text:"This is a great idea that supports my team hugely.",reviewer:"Adam",position:"Bluegg"}]}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:2,breakpoints:{768:{perView:1}}}).mount()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-testimonials"]],viewQuery:function(i,o){if(1&i&&me(Nwe,5),2&i){let r;
1H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:15,vars:2,consts:[[1,"px-5","py-6","mt-6","lg:p-20","lg:my-16","bg-neutral-100"],[1,"max-w-7xl","mx-auto"],[1,"font-bold","text-2xl","lg:text-4xl","mb-10","lg:mb-20"],[1,"glide"],["carousel",""],["data-glide-el","track",1,"glide__track","mb-14"],[1,"glide__slides","flex"],["data-glide-el","controls",1,"flex","justify-end","gap-4"],["data-glide-dir","<",1,"rounded-full","border-soft-black","border","p-2","transition-opacity","hover:opacity-70"],[3,"size"],["data-glide-dir",">",1,"rounded-full","border-soft-black","border","p-2","transition-opacity","hover:opacity-70"],[1,"glide__slide","lg:pr-20","flex","flex-col","gap-6"],[1,"w-32",3,"src"],[1,"flex","gap-0.5"],[1,"text-bee-yellow"],[1,"font-bold","text-lg"],[1,"uppercase"],[1,"font-bold"],[1,"text-sm"],[1,"text-sm","text-gray-600"],["class","glide__slide lg:pr-20 flex flex-col gap-6"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"h2",2),h(3,"Testimonials"),d(),c(4,"div",3,4)(6,"div",5)(7,"ul",6),ft(8,Bwe,17,5,"li",20,ci),d()(),c(10,"div",7)(11,"button",8),x(12,"app-arrow-left-icon",9),d(),c(13,"button",10),x(14,"app-arrow-right-icon",9),d()()()()()),2&i&&(b(8),gt(o.testimonials),b(4),k("size",4),b(2),k("size",4))},dependencies:[ne,p8,yl,dm],encapsulation:2})}return t})();const Vwe=["carousel"],zwe=()=>({subject:"Personalised gift cards",location:"Claim provider"});let Hwe=(()=>{class t{constructor(e,i,o,r){this.http=e,this.configService=i,this.route=o,this.formBuilder=r,this.isYearly=!1,this.isError$=new Ee(!1),this.isSuccess$=new Ee(!1),this.isLoadingSubmit$=new Ee(!1),this.errorMessage=null,this.testimonials=[{imageUrl:"/assets/testimonials/alana.png",text:"We are so grateful to be part of the Mentwell community since the beginning and excited about the new portal features. The opportunity to directly market to customers with a Mentwell card as a preferred provider is fantastic. With enhanced brand visibility, Mentwell\u2019s directory is an invaluable resource that supports our mission of offering personalised, compassionate mental health care.",reviewer:"Alana",position:"Founder of Set Focus"},{imageUrl:"/assets/testimonials/shishir.png",text:"I recently had the pleasure of using Mentwell wellness gift cards, and I cannot recommend them highly enough! As someone who values self-care and wellness, the versatility and thoughtful selection of services offered through Mentwell truly stood out.Whether you\u2019re looking to pamper a loved one with a relaxing massage, rejuvenate their spirit with a yoga class, or help them find inner peace with a meditation session, Mentwell has it all.We are using Mentwell as a preferred gift card provider for our rewards program.",reviewer:"Shishir Chowske",position:"Finance & Strategy Manager At Birchal"},{imageUrl:"/assets/testimonials/charlotte.png",text:"We love this idea and that it can benefit so many people in so many industries. People in the hospitality and music industry could hugely benefit from this. What amazing work Mentwell is doing.",reviewer:"Charlotte + Ainsle",position:"Hear Hear Group"},{imageUrl:"/assets/testimonials/jay.png",text:"Mentwell's solution perfectly supports our company's wellness program, allowing each team member to choose the tools or services that suit them best. We are using Mentwell cards to support our health and wellness offerings for staff.",reviewer:"Jay Taylor",position:"Group Manager of People Services",company:"Funlab Ltd."},{imageUrl:"/assets/testimonials/dervla.png",text:"We proudly endorse Mentwell's product and directory for its transformative impact onmental wellness, offering a holistic solution that provides personalised support andempowers individuals to take charge of their mental health journey.",reviewer:"Dervla Loughnane",position:"(B.Soc Schi (Hons) Masters (Psychology) AAPI HRM",company:"CEO of Virtual Psychologist"},{imageUrl:"/assets/testimonials/joe.png",text:"Being on the Mentwell directory and claiming my account resulted in a bunch of new clients which for a sole trader is great given traditionally leads have just come through my network. Mentwell is building something special here.",reviewer:"Joe Conroy",position:"Kinesiologist"},{imageUrl:"/assets/testimonials/adele.png",text:"Being more involved with Mentwell through their directory has led to some great sales leads to our website and general awareness of the business. It's affordable and easy to maintain the account, plus there's loads of added extras for smaller businesses. Thanks for what you do Mentwell!",reviewer:"Adele Conti",position:"Founder Australian Yoga Academy"},{imageUrl:"/assets/testimonials/madison.png",text:"Absolutely LOVE this mission and vision!",reviewer:"Madison",position:"The Hub Australia"},{imageUrl:"/assets/testimonials/adam.png",text:"This is a great idea that supports my team hugely.",reviewer:"Adam",position:"Bluegg"}]}ngOnInit(){this.claimForm=this.formBuilder.group({Email:new De("",[Ae.required,Ae.email]),Password:new De("",[Ae.required,Ae.minLength(8)]),
1ConfirmPassword:new De("",Ae.required),UserFirstName:new De("",Ae.required),UserLastName:new De("",Ae.required),TermsAccepted:new De(!1,Ae.requiredTrue)},{validators:this.matchValidator("Password","ConfirmPassword")}),this.id=parseInt(this.route.snapshot.paramMap.get("id")||"")}ngOnDestroy(){this.claimSubscription&&this.claimSubscription.unsubscribe()}hasError(e,i){return this.claimForm.controls[e].hasError(i)}matchValidator(e,i){return o=>{const r=o.get(e),s=o.get(i);if(s.errors&&!s.errors?.confirmedValidator)return null;if(r.value!==s.value){const a={confirmedValidator:"Passwords do not match."};return s.setErrors(a),a}return s.setErrors(null),null}}claimProvider(e){e.preventDefault(),this.claimForm.valid&&(this.isError$.next(!1),this.isSuccess$.next(!1),this.isLoadingSubmit$.next(!0),this.errorMessage=null,this.claimSubscription=this.http.post(`${this.configService.config.baseApiUrl}/provider/${this.id}/claim`,this.claimForm.getRawValue(),{headers:new Qi({"Content-Type":"application/json"})}).subscribe({next:()=>{this.isSuccess$.next(!0),this.isLoadingSubmit$.next(!1)},error:i=>{this.isError$.next(!0),this.isSuccess$.next(!1),this.isLoadingSubmit$.next(!1),i?.error?.errors?.length&&(this.errorMessage=i.error.errors[0].message)}}))}selectPlan(e){this.isYearly="yearly"===e}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:2,breakpoints:{768:{perView:1}}}).mount()}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v($i),v(hg))};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-profile"]],viewQuery:function(i,o){if(1&i&&me(Vwe,5),2&i){let r;H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:199,vars:14,consts:[[1,"claim-banner"],["src","assets/claim_profile.jpg","alt","Claim Banner",1,"img-fluid","w-full"],[1,"container"],[1,"d-flex","flex-lg-row","flex-column","flex-column-reverse","center-child-items","mb-5"],[1,"col-lg-6"],["src","/assets/claim-profile-image.png","alt","",1,"image"],[1,"col-lg-6","pb-3"],[1,"title-heading"],[1,"subtitle-heading"],[1,"text"],[1,"mb-4"],[1,"benefits-list"],["src","assets/tick.png","alt",""],[1,"self-center"],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"],[1,"section-header","text-center","mb-4"],[1,"text-uppercase","small-text","mb-2"],[1,"main-title"],[1,"main-title","mb-2"],[1,"description","mb-2"],[1,"toggle-btn","mb-5"],[1,"toggle-switch"],[1,"toggle-bg"],[1,"toggle-option",3,"click"],[1,"row","pricing-cards","mb-5"],[1,"col-md-4"],[1,"card","assure"],[1,"plan-title"],[1,"select-btn"],[1,"card","elevate"],[1,"card","premier"],[1,"table-responsive","mb-5","overflow-x-auto"],[1,"table","feature-table"],[2,"background-color","#E0E0E0"],[2,"background-color","#E0B48C"],[2,"background-color","#BCBCBC"],[2,"background-color","#E8B954"]],template:function(i,o){1&i&&(c(0,"div",0),x(1,"img",1),d(),c(2,"div",2)(3,"div",3)(4,"div",4),x(5,"img",5),d(),c(6,"div",6)(7,"h3",7),h(8,"Claim Your Profile "),c(9,"span",8),h(10,"by purchasing subscription"),d()(),c(11,"div",9)(12,"div",10),h(13," Thanks for choosing to claim your Mentwell profile! "),d(),c(14,"div",10),h(15," We're so excited to have you and your services on our directory; Mentwell is the start of something amazing and we love that you're here with us on this journey. We're constantly releasing new features, but for now, by "),c(16,"b"),h(17,"claiming"),d(),h(18," your profile and purchasing a Mentwell subscription you can: "),d(),c(19,"ul",11)(20,"strong"),h(21,"FEATURES"),d(),c(22,"div"),x(23,"img",12),c(24,"span",13),h(25,"Stand out with a more comprehensive profile compared to free profiles"),d()(),c(26,"div"),x(27,"img",12),c(28,"span",13),h(29,"Edit the details of your profile"),d()(),c(30,"div"),x(31,"img",12),c(32,"span",13),h(33,"Be the first to know of premium profile features as they're released"),d()(),c(34,"div"),x(35,"img",12),c(36,"span",13),h(37,"Gain access to beta products, specifically for health and wellness service providers"),d()(),c(38,"div"),x(39,"img",12),c(40,"span",13),h(41,"First dibs for Mentwell events, including our 2024 launch events!"),d()(),c(42,"div"),x(43,"img",12),c(44,"span",13),h(45,"First in line for advertising opportunities, when available"),d()(),c(46,"div"),x(47,"img",12),c(48,"span",13),h(49," Further options to create personalised gift cards for your business ("),c(50,"a",14),h(51,"contact us!"),d(),h(52,") "),d()()()()()(),c(53,"div",15)(54,"p",16),h(55,"SUBSCRIBE & JOIN A WIDE COMMUNITY OF HOLISTIC HEALTH PROFESSIONALS"),d(),c(56,"h2",17),h(57,"Become part of Mentwell"),d(),c(58,"h2",18),h(59,"Service Provider Directory"),d(),c(60,"p",19),h(61,"Information to service providers about the main benefits of claming your proflile and officilly being part of the family."),d()(),c(62,"div",20)(63,"div",21),x(64,"div",22),c(65,"button",23),V("click",function(){return o.selectPlan("monthly")}),h(66," MONTHLY "),d(),c(67,"button",23),V("click",function(){return o.selectPlan("yearly")}),h(68," YEARLY "),d()()(),c(69,"div",24)(70,"div",25)(71,"div",26)(72,"h4",27),h(73,"ASSURE"),d(),c(74,"p"),h(75,"Lorem ipsum dolor sit amet"),d(),x(76,"hr"),c(77,"h3"),h(78),d(),c(79,"p"),h(80),d(),c(81,"button",28),h(82,"Select Assure"),d()()(),c(83,"div",25)(84,"div",29)(85,"h4",27),h(86,"ELEVATE"),d(),c(87,"p"),h(88,"Lorem ipsum dolor sit amet"),d(),x(89,"hr"),c(90,"h3"),h(91),d(),c(92,"p"),h(93),d(),c(94,"button",28),h(95,"Select Elevate"),d()()(),c(96,"div",25)(97,"div",30)(98,"h4",27),h(99,"PREMIER"),d(),c(100,"p"),h(101,"Lorem ipsum dolor sit amet"),d(),x(102,"hr"),c(103,"h3"),h(104),d(),c(105,"p"),h(106),d(),c(107,"button",28),h(108,"Select Premier"),d()()()(),c(109,"div",31)(110,"table",32)(111,"thead")(112,"tr")(113,"th",33),h(114,"Features"),d(),c(115,"th",34),h(116,"Assure"),d(),c(117,"th",35),h(118,"Elevate"),d(),c(119,"th",36),h(120,"Premier"),d()()(),c(121,"tbody")(122,"tr")(123,"td"),h(124,"The ability to \u201cCLAIM YOUR PROFILE\u2019, and then (subject to verification) modify and edit your profile"),d(),c(125,"td"),h(126,"\u2713"),d(),c(127,"td"),h(128,"\u2713"),d(),c(129,"td"),h(130,"\u2713"),d()(),c(131,"tr")(132,"td"),h(133,"Digital assets/images, such as a logos or headsh
1ots, can be added to your profile"),d(),c(134,"td"),h(135,"\u2713"),d(),c(136,"td"),h(137,"\u2713"),d(),c(138,"td"),h(139,"\u2713"),d()(),c(140,"tr")(141,"td"),h(142,"Your profile features your personal or business name, address, telephone number, modality/services offered "),d(),c(143,"td"),h(144,"200 WORD DESCRIPTION"),d(),c(145,"td"),h(146,"400 WORD DESCRIPTION"),d(),c(147,"td"),h(148,"600 WORD DESCRIPTION"),d()(),c(149,"tr")(150,"td"),h(151,"Your profile also lets users and customers alike know that you accept Mentwell Gift Cards"),d(),c(152,"td"),h(153,"\u2713"),d(),c(154,"td"),h(155,"\u2713"),d(),c(156,"td"),h(157,"\u2713"),d()(),c(158,"tr")(159,"td"),h(160,"A verified account tick"),d(),x(161,"td"),c(162,"td"),h(163,"\u2713"),d(),c(164,"td"),h(165,"\u2713"),d()(),c(166,"tr")(167,"td"),h(168,"Listing positioning"),d(),c(169,"td"),h(170,"In the absence of \u201cPREMERI\u201d or \u201cELEVATE\u201d -verified profiles, your \u201cASSURE\u201d listing will appear at the top of the search results, and above unverified profiles"),d(),c(171,"td"),h(172,"In the absence of \u201cPREMIER\u201d verified profiles, your \u201cELEVATE\u201d profile will appear at the top of the search results, and above \u201cASSURE\u201d and unverified profiles"),d(),c(173,"td"),h(174,"verified profiles appear AT THE TOP of all modality and geographic search results"),d()(),c(175,"tr")(176,"td"),h(177,"First right of refusal on other advertising opportunities"),d(),x(178,"td")(179,"td"),c(180,"td"),h(181,"\u2713"),d()(),c(182,"tr")(183,"td"),h(184,"Access to a discounted (40% off) co-branded Mentwell card"),d(),x(185,"td")(186,"td"),c(187,"td"),h(188,"\u2713"),d()(),c(189,"tr")(190,"td"),h(191,"Available for multi/single modality businesses / service providers "),d(),c(192,"td"),h(193,"SINGLE MODALITY 1 location (or online-only business)"),d(),c(194,"td"),h(195,"SINGLE MODALITY 1 location (or online-only business)"),d(),c(196,"td"),h(197,"MULTI MODALITIES MAX OF 25 LOCATIONS"),d()()()()()(),x(198,"app-home-testimonials")),2&i&&(b(50),k("trackContactUs",Be(13,zwe)),b(14),je("right",o.isYearly),b(1),je("active",!o.isYearly),b(2),je("active",o.isYearly),b(11),ce("$",o.isYearly?100:10,""),b(2),ce("AUD / ",o.isYearly?"YEAR":"MONTH"," + GST"),b(11),ce("$",o.isYearly?500:20,""),b(2),ce("AUD / ",o.isYearly?"YEAR":"MONTH"," + GST"),b(11),ce("$",o.isYearly?1500:35,""),b(2),ce("AUD / ",o.isYearly?"YEAR":"MONTH"," + GST"))},dependencies:[v8,Nn,ne],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}.image[_ngcontent-%COMP%]{width:100%;max-width:30rem;margin:auto;display:block;margin-top:1rem}.side-by-side[_ngcontent-%COMP%]{display:flex;gap:0;flex-direction:column}
1.benefits-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.2rem;padding-left:0}.benefits-list[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.benefits-list[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:2rem}@media (min-width: 490px){.side-by-side[_ngcontent-%COMP%]{flex-direction:row;gap:2rem}}.error-link[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;color:red}.back-button[_ngcontent-%COMP%]{display:flex;gap:2px;align-items:center;margin-left:auto;margin-right:auto}.claim-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{object-fit:cover;max-height:600px;width:100%}.title-heading[_ngcontent-%COMP%]{font-size:3rem;font-weight:700;color:#00b67a;margin-top:16px;margin-bottom:16px}.subtitle-heading[_ngcontent-%COMP%]{font-size:3rem;font-weight:500;color:#444}.section-header[_ngcontent-%COMP%]   .small-text[_ngcontent-%COMP%]{font-size:.8rem;color:#000;text-transform:uppercase;letter-spacing:1px}.section-header[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:1rem;margin-top:.5rem;font-weight:700}.toggle-switch[_ngcontent-%COMP%]{position:relative;width:375px;height:50px;background-color:#e0e0e0;border-radius:30px;display:flex;justify-content:space-between;box-shadow:0 2px 8px #0000001a}.toggle-switch[_ngcontent-%COMP%]   .toggle-bg[_ngcontent-%COMP%]{position:absolute;width:50%;height:78%;background:#00B67A;border-radius:30px;transition:all .3s ease;z-index:0}.toggle-switch[_ngcontent-%COMP%]   .toggle-bg.right[_ngcontent-%COMP%]{left:48%;top:5px}.toggle-switch[_ngcontent-%COMP%]   .toggle-bg[_ngcontent-%COMP%]:not(.right){left:6px;top:5px}.toggle-switch[_ngcontent-%COMP%]   .toggle-option[_ngcontent-%COMP%]{flex:1;background:transparent;border:none;color:#fff;font-weight:700;z-index:1;position:relative;cursor:pointer;transition:color .3s ease}.toggle-switch[_ngcontent-%COMP%]   .toggle-option.active[_ngcontent-%COMP%]{color:#000}.toggle-switch[_ngcontent-%COMP%]   .toggle-option[_ngcontent-%COMP%]:not(.active){color:#000}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding:20px;text-align:center;margin-bottom:20px;box-shadow:0 0 10px #0000000d;border-radius:8px}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .plan-title[_ngcontent-%COMP%]{font-size:2.2rem;font-weight:700;margin-bottom:10px}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{border:1px solid #201E1E;width:90%;margin:10px auto}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;margin:10px 0;font-weight:700}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:15px;color:#555}.pricing-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .select-btn[_ngcontent-%COMP%]{margin-top:10px;padding:10px 25px;border:none;background:#000;color:#fff;border-radius:10px;font-weight:700;cursor:pointer;width:100%}.card.assure[_ngcontent-%COMP%]{background:#E0B48C}.card.elevate[_ngcontent-%COMP%]{background:#BCBCBC}.card.premier[_ngcontent-%COMP%]{background:#E8B954}.feature-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .feature-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:center;vertical-align:middle;padding:10px;border:1px solid #ddd}.toggle-btn[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}@media (min-width: 1024px){.section-header[_ngcontent-%COMP%]{margin:auto;width:50%}}@media (min-width: 1400px){.container-xxl[_ngcontent-%COMP%], .container-xl[_ngcontent-%COMP%], .container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{max-width:1320px}}.container[_ngcontent-%COMP%], .container-fluid[_ngcontent-%COMP%], .container-xxl[_ngcontent-%COMP%], .container-xl[_ngcontent-%COMP%], .container-lg[_ngcontent-%COMP%], .container-md[_ngcontent-%COMP%], .container-sm[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{border-style:none}*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{box-sizing:border-box}body[_ngcontent-%COMP%]{margin:0;width:100%;font-family:Chromatica,sans-serif!important}.flex-column-reverse[_ngcontent-%COMP%]{flex-direction:column-reverse}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.mb-5[_ngcontent-%COMP%]{margin-bottom:3rem!important}.pb-3[_ngcontent-%COMP%]{padding-bottom:1rem!important}h3[_ngcontent-%COMP%]{line-height:120%}.mb-4[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}.row[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}@media (max-width: 768px){.row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0;width:100%}.main-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;margin:0}}@media (min-width: 768px){.col-md-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%}.main-title[_ngcontent-%COMP%]{font-size:3rem;font-weight:700;margin:0}}@media (min-width: 1024px){.flex-lg-row[_ngcontent-%COMP%]{flex-direction:row!important}.col-lg-6[_ngcontent-%COMP%]{flex:0 0 auto;width:50%}}"]})}return t})();const jwe=(t,n)=>({"xl:from-easy-green xl:via-easy-green bg-easy-green":t,"xl:from-winnie-blue xl:via-winnie-blue bg-winnie-blue":n});let y8=(()=>{class t{constructor(){this.colour="green"}get textShadow(){const e="text-shadow: 0 0 1.3rem ";return"blue"===this.colour?e+"#96C8DC":e+"#72BBAE"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-legal-page-header"]],inputs:{title:"title",colour:"colour"},standalone:!0,features:[z],decls:4,vars:7,consts:[[1,"flex","flex-col","justify-center","items-center","text-center","gap-6","py-10","xl:bg-transparent","xl:py-20","px-5","bg-gradient-to-r","via-60%",3,"ngClass"],[1,"w-28","text-white",3,"showText","inverse"],[1,"text-3xl","font-bold","text-white"]],template:function(i,o){1&i&&(c(0,"header",0),x(1,"app-logo",1),c(2,"h1",2),h(3),d()()),2&i&&(k("ngClass",ur(4,jwe,"green"===o.colour,"blue"===o.colour)),b(1),k("showText",!1)("inverse",!0),b(2),pe(o.title))},dependencies:[cm,ne,Ti],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),$we=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider-terms"]],standalone:!0,features:[z],decls:343,vars:0,consts:[["title","Mentwell Directory Terms and Conditions","colour","blue",1,"mb-14"],[1,"prose","mx-auto","px-5"],[1,"italic"],[1,"text-center"],[1,"font-bold"],["type","a"]],template:function(i,o){1&i&&(x(0,"app-legal-page-header",0),c(1,"section",1)(2,"p"),h(3,"Welcome to Mentwell Directory! We provide a platform where Service Providers can advertise their services and Customers can browse and apply their Mentwell gift cards with that Service Provider (Platform)."),d(),c(4,"p"),h(5,"In these Terms, when we say you or your, we mean both you and any entity you are authorised to represent (such as your employer). When we say we, us, or our, we mean Mentwell Pty Ltd (ACN 664 607 39
10)."),d(),c(6,"p"),h(7,"These Terms form our contract with you, and set out our obligations as a service provider and your obligations as a user. You cannot use our Services unless you agree to these Terms."),d(),c(8,"p"),h(9,"Some capitalised words in these Terms have defined meanings, and each time that word is used in these Terms it has the same meaning. You can find a list of the defined words and their meaning at the end of these Terms."),d(),c(10,"p"),h(11,"For questions about these Terms, or to get in touch with us, please email: support&mentwell.com.au."),d(),c(12,"p",2),h(13," These Terms were last updated on 30th September 2024. "),d(),x(14,"hr"),c(15,"h2",3),h(16,"OUR DISCLOSURES"),d(),c(17,"ul"),h(18," Please read these Terms carefully before you accept. We draw your attention to: "),c(19,"li"),h(20,"our privacy policy (on our website) which sets out how we will handle your personal information;"),d(),c(21,"li"),h(22,"clause 1.4 (Variations) which sets out how we may amend these Terms;"),d(),c(23,"li"),h(24,"clause 5 (Subscription) which sets out important information about your Subscription, including whether you can cancel your Subscription and whether your Subscription auto-renews; and"),d(),c(25,"li"),h(26,"clause 11 (Liability) which sets out exclusions and limitations to our liability under these Terms."),d()(),c(27,"p"),h(28,"We may receive a benefit (which may include a referral fee or a commission) should you visit certain third party websites through a link on our Platform, or for featuring certain goods or services on our Platform."),d(),c(29,"p",4),h(30,"These Terms do not intend to limit your rights and remedies at law, including any of your Consumer Law Rights."),d(),x(31,"hr"),c(32,"ol")(33,"li"),h(34," Platform Licence and Term "),c(35,"ol")(36,"li"),h(37,"These Terms apply from when you sign up for an Account, until the date on which your Account is terminated in accordance with these Terms. We grant you a right to use our Services for this period of time only."),d(),c(38,"li"),h(39," Platform License "),x(40,"br"),h(41," While you have an Account, we grant you and your Authorised Users a right to use our Platform (which may be suspended or revoked in accordance with these Terms). This right cannot be passed on or transferred to any other person and, if you have a Subscription, will also be subject to the conditions of your Subscription (as set out on our Platform or in your Account). "),d(),c(42,"li"),h(43," You must not (and you must ensure that your Authorised Users do not): "),c(44,"ol",5)(45,"li"),h(46,"access or use our Platform in any way that is improper or breaches any laws, infringes any person's rights (for example, intellectual property rights and privacy rights), or gives rise to any civil or criminal liability;"),d(),c(47,"li"),h(48,"interfere with or interrupt the supply of our Platform, or any other person\u201ds access to or use of our Platform;"),d(),c(49,"li"),h(50,"introduce any viruses or other malicious software code into our Platform;"),d(),c(51,"li"),h(52,"attempt to access any data or log into any server or account that you are not expressly authorised to access;"),d(),c(53,"li"),h(54,"use our Platform to send unsolicited electronic messages;"),d(),c(55,"li"),h(56,"use dating mining, robots, scraping or other data gathering and extraction tools on our Platform; or"),d(),c(57,"li"),h(58,"access or use our Platform to transmit, publish or communicate material that is, defamatory, offensive, abusive, indecent, menacing, harassing or unwanted."),d()()(),c(59,"li"),h(60," Variations: We may amend these Terms at any time, by providing written notice to you. By clicking \u201cI accept\u201d or continuing to use our Platform after the notice or 30 days after notification (whichever date is earlier), you agree to the amended Terms. If you do not agree to the amendment, you may close your Account and cancel your Subscription with effect from the date of the change in these Terms by providing written notice to us. If you cancel your Subscription: "),c(61,"ol",5)(62,"li"),h(63,"you will no longer be able to access our Services (including our Platform) on and from the date of cancellation; and"),d(),c(64,"li"),h(65,"if you have paid Subscription Fees upfront, you will be issued a pro-rata refund based on the portion of the Subscription Period remaining."),d()()()()(),c(66,"li"),h(67," Platform Summary "),c(68,"ol")(69,"li"),h(70,"Our Platform is a place where Service Providers can list their business, customise their business platform and be discovered by Customers. Customers can find Service Providers and apply their Mentwell gift card to their services. We only provide our Services (including our Platform) and are not a party to any transaction between Service Providers and Customers in relation to the Service Provider\u2019s services."),d(),c(71,"li"),h(72,"Service Providers must create an Account. Service Providers must provide an accurate and complete description of their business (Listing). Service Providers must include all additional terms and conditions relating to their service available in the Listing."),d(),c(73,"li"),h(74,"We do not endorse or approve, and are not responsible for, any Listings. We may, at any time (at our sole discretion), remove any Listings, including where a Listing: (a) is illegal or offensive; or (b) contains graphic, inappropriate or unlawful content."),d(),c(75,"li"),h(76,"By posting a Listing, you confirm that you are legally entitled to and capable of supplying the services described 
1in the Listing."),d(),c(77,"li"),h(78,"You acknowledge and agree that you responsible for the Listing, including all information, content, and materials provided in the Listing are accurate, complete, up to date, and compliant with all applicable laws, regulations, and professional standards. You are responsible for updating your Listing in the case of any changes to your information or legislative changes. You acknowledge and agree that you must provide price certainty to Customers, so that if a Customer sees your services online for a specific price, it is available at that price when they purchase in store or online using their Mentwell gift card."),d(),c(79,"li"),h(80,"You represent, warrant and agree that all information provided in the Listing, including but not limited to qualifications, licenses, certifications, services offered, pricing, and contact information, is true, accurate, and not misleading. You must not include any false, deceptive, or unlawful information in your Listing. To the maximum extent permitted by law, we shall not be liable for any inaccuracies, errors, omissions, or non-compliance in your Listing. You agree to indemnify and hold us harmless from any claims, damages, or liabilities arising from your breach of this clause 2.6."),d(),c(81,"li"),h(82,"We reserve the right, but have no obligation, to monitor, review, or verify the accuracy and compliance of your Listing. We may, in our sole discretion, remove or suspend any Listing that we, acting reasonably, deem inaccurate, misleading, or non-compliant with applicable laws or our policies."),d(),c(83,"li"),h(84,"You must have appropriate insurance to cover the services set out in your Listing on the Platform. We may request that you provide us with evidence of your insurance cover. Where we do so, we are not confirming that the insurance you have is sufficient or suitable for your services. If we do not ask you to provide evidence of insurance, this does not indicate that we believe you do not require insurance. You acknowledge and agree that it is your responsibility to make your own investigations and receive professional advice on the insurance you require."),d(),c(85,"li"),h(86,"You grant us a non-exclusive, irrevocable, royalty-free, sublicensable and transferable licence for the duration that your Listing is available on our Platform, to host your Listing on our Platform for the purpose of making your services available to Customers. "),d()()(),c(87,"li"),h(88," Our Services "),c(89,"ol")(90,"li"),h(91," We provide the following services to you: "),c(92,"ol",5)(93,"li"),h(94,"access to our Platform; and"),d(),c(95,"li"),h(96,"access to our troubleshooting support (Support Services),"),d(),h(97," (collectively, our Services). "),d()(),c(98,"li"),h(99,"If you require Support Services, you may request these by getting in touch with us through our Platform."),d(),c(100,"li"),h(101,"Unless we agree otherwise, Support Services cannot be used to support any other products or services, and does not include training, installation of software or hardware, software development or the modification, deletion or recovery of data or any on-site services."),d(),c(102,"li"),h(103,"We will not be responsible for any other services unless expressly set out on in these Terms or on our Platform."),d(),c(104,"li"),h(105,"Additional Services: If you require additional services, we may, in our sole discretion, provide such additional services (to be scoped and priced in a separate contract provided by us)."),d()()(),c(106,"li"),h(107," Account "),c(108,"ol")(109,"li"),h(110,"You may register for an Account using your Google or Facebook account (Single Sign-On Account). If you sign in to your Account using a Single Sign-On Account, you authorise us to access information from your Single Sign-On Account including your name and contact information."),d(),c(111,"li"),h(112,"You may invite Authorised Users to access and use our Services under your Account. Each of your Authorised Users will require a login (which is linked to your Account), in order to access and use our Platform. You are responsible for ensuring that your Authorised Users comply with these Terms. You may change who your Authorised Users are at any time through your Account, and what access rights or permissions they have when using our Platform. Any limitations on the number of Authorised Users you can have will be set out in your Account or on our Platform."),d(),c(113,"li"),h(114," While you have an Account with us, you agree to (and to ensure your Authorised Users agree to): "),c(115,"ol",5)(116,"li"),h(117,"keep your information up-to-date (and ensure it remains true, accurate and complete);"),d(),c(118,"li"),h(119,"keep usernames and passwords secure and confidential, and protect them from misuse or being stolen; and"),d(),c(120,"li"),h(121,"notify us if you become aware of, or have reason to suspect, any unauthorised access to your Account or any logins linked to your Account."),d()()()()(),c(122,"li"),h(123," Platform Subscriptions "),c(124,"ol")(125,"li"),h(126,"Once you have created your Account, you must choose a Subscription."),d(),c(127,"li"),h(128,"The Subscriptions we offer will be set out on our Platform, including details of each Subscription\u2019s features and limitations, Subscription Fees and Subscription Periods."),d(),c(129,"li"),h(130,"During the Subscription Period, you will be billed for the Subscription Fees on a recurring basis, as set out on our Platform (Billing Cycle)."),d(),c(131,"li"),h(132,"Your Subscription can be upgraded or downgraded at any time through your Account. Any upgrades to your Subscription will take effect immediately (and you will be charged the difference between your current Subscription and your new Subscription on a pro-rata basis). Any downgrades to your Subscription will take effect from the beginning of the next Billing Cycle."),d(),c(133,"li"),h(134,"You will be billed for any Subscription Fees due at the beginning of each Billing Cycle. Our payments methods will be set out on our Platform. If you choose to pay your Subscription Fees using one of our third-party payment processors, you may 
1need to accept their terms and conditions (if this is the case, these will be set out on our Platform)."),d(),c(135,"li"),h(136,"You must not pay, or attempt to pay, any Subscription Fees by fraudulent or unlawful means. If you make payment by debit or credit card, you must be the authorised card holder. If payment is made by direct debit, by providing your bank account details and accepting these Terms, you authorise our nominated third-party payment processor to debit your bank account in accordance with your chosen Subscription, and you confirm that you are either the holder or an authorised signatory of that bank account."),d(),c(137,"li"),h(138,"We may pre-authorise or charge your payment method for a nominal amount to verify the payment method."),d(),c(139,"li"),h(140," Late Payments: If any fees due to us under these Terms or as a result of your use of our Services are not paid on time, we may: "),c(141,"ol",5)(142,"li"),h(143,"suspend your access to our Services (including access to our Platform); and"),d(),c(144,"li"),h(145,"charge interest on any overdue payments at a rate equal to the Reserve Bank of Australia\u2019s cash rate, from time-to-time, plus 2% per annum, calculated daily and compounding monthly."),d()()(),c(146,"li"),h(147,"Taxes: You are responsible for paying any levies or taxes associated with your use of our Services, for example sales taxes, value-added taxes or withholding taxes (unless we are required by law to collect these on your behalf). "),d(),c(148,"li"),h(149,"Cancellation and Renewal: Your Subscription continues for the Subscription Period, and at the end of each Subscription Period, provided you have paid all Subscription Fees owing, your Subscription will be automatically renewed for the same Subscription Period. If you wish to cancel your Subscription, you may do so through your Account. Your cancellation will take effect at the end of your current Subscription Period, and your Subscription will not be renewed (meaning you will need to continue paying all Subscription Fees due up until your current Subscription Period ends). If you are on an annual Subscription, we will provide you with a renewal reminder at least 30 days prior to your Subscription renewing. "),d()()(),c(150,"li"),h(151," Promotions "),c(152,"ol")(153,"li"),h(154,"We may from time-to-time offer, and you may choose to purchase, promotional opportunities such as a feature in our email marketing or promoted placement on our Platform (Promotional Opportunity). Promotional Opportunities are subject to the fees and the terms and conditions as set out in any Promotional Opportunity offer displayed on our Platform or as otherwise communicated to you. In the event of any conflict between any Promotional Opportunity terms and conditions and these Terms, the Promotional Opportunity terms and conditions will prevail."),d()()(),c(155,"li"),h(156," Availability, Disruption and Downtime "),c(157,"ol")(158,"li"),h(159,"While we strive to always make our Services available to you, we do not make any promises that these will be available 100% of the time. Our Services may be disrupted during certain periods, including, for example, as a result of scheduled or emergency maintenance."),d(),c(160,"li"),h(161,"Our Services (including our Platform) may interact with, or be reliant on, products or services provided by third parties, such as cloud hosting service providers. To the maximum extent permitted by law, we are not liable for disruptions or downtime caused or contributed to by these third parties."),d(),c(162,"li"),h(163,"We will try to provide you with reasonable notice, where possible, of any disruptions to your access to our Services."),d()()(),c(164,"li"),h(165," Confidential Information and Personal Information "),c(166,"ol")(167,"li"),h(168,"While using our Services, you may share confidential information with us, and you may become aware of confidential information about us. You agree not to use our confidential information, and to take reasonable steps to protect our confidential information from being disclosed without our permission, and we agree to do the same for your confidential information. This also means making sure that any Authorised Users, employees, contractors, professional advisors or agents of ours or yours only have access to confidential information on a \u201cneed-to-know basis\u201d (in other words, the disclosure is absolutely necessary), and that they also agree to not misuse or disclose such confidential information."),d(),c(169,"li"),h(170,"However, either you or we may share confidential information with legal or regulatory authorities if required by law to do so."),d(),c(171,"li"),h(172,"We collect, hold and disclose and use any Personal Information you provide to us in accordance with our privacy policy, available on our website, and applicable privacy laws."),d(),c(173,"li"),h(174,"You must only disclose Personal Information to us if you have the right to do so (such as having the individual's express consent)."),d(),c(175,"li"),h(176,"Service Providers must not disclose Personal Information about Customers to third parties unless authorised by these Terms or by law."),d(),c(177,"li"),h(178,"We may need to disclose Personal Information to third parties, such as our related companies or our service providers (for example, IT and administrative service providers and our professional advisors). As part of our Services, we will also need to disclose information about Customers to Service Providers, and vice versa, so that they can connect and transact."),d(),c(179,"li"),h(180,"Where we are required by law to report on our activities, you acknowledge that from time to time we may request certain information from you in order to meet our requirements, and you agree to provide us with such information within the timeframes reasonably requested by us."),d()()(),c(181,"li"),h(182," C
1onsumer Law Rights "),c(183,"ol")(184,"li"),h(185,"In some jurisdictions, you may have guarantees, rights or other remedies provided by law (Consumer Law Rights), and these Terms do not restrict your Consumer Law Rights. We will only be bound by your Consumer Law Rights and the express wording of these Terms. Our liability for a breach of your Consumer Law Rights is, unless the laws of your jurisdiction state otherwise, limited to either resupplying our Services, or paying the cost of having our Services resupplied."),d(),c(186,"li"),h(187,"Subject to your Consumer Law Rights, we do not provide a refund for a change of mind or change in circumstance."),d(),c(188,"li"),h(189,"If you accept these Terms in Australia, nothing in these Terms should be interpreted to exclude, restrict or modify the application of, or any rights or remedies you may have under, any part of the Australian Consumer Law (as set out in Schedule 2 of the Competition and Consumer Act 2010 (Cth))."),d(),c(190,"li"),h(191,"The cancellation and refund of any amounts paid in respect of services provided by the Service Provider as set out in your Listing is strictly a matter between Service Providers and Customers. The terms and conditions of a Listing must clearly set out whether refunds or cancellations are permitted."),d()()(),c(192,"li"),h(193," Intellectual Property and Data "),c(194,"ol")(195,"li"),h(196,"We own all intellectual property rights in our Services (including our Platform). This includes how our Platform looks and functions, as well as our copyrighted works, trademarks, inventions, designs and other intellectual property. You agree not to copy or otherwise misuse our intellectual property without our written permission (for example, to reverse engineer or discover the source code of our intellectual property), and you must not alter or remove any confidentiality, copyright or other ownership notice placed on our Platform."),d(),c(197,"li"),h(198,"We may use any feedback or suggestions that you give us in any manner which we see fit (for example, to develop new features), and no benefit will be owed to you as a result of any use by us of your feedback or suggestions."),d(),h(199," Your Data "),c(200,"li"),h(201," We do not own any of Your Data, but when you enter or upload any of Your Data into our Platform, you grant us the right to access, analyse, backup, copy, store, transmit, and otherwise use Your Data while you have an Account with us (and for a reasonable period of time afterwards). We may use Your Data (or disclose it to third party service providers) to: "),c(202,"ol",5)(203,"li"),h(204,"supply our Services to you and your Authorised Users (for example, to enable you and your Authorised Users to access and use our Services), and otherwise perform our obligations under these Terms;"),d(),c(205,"li"),h(206,"diagnose problems with our Services;"),d(),c(207,"li"),h(208,"improve, develop and protect our Services;"),d(),c(209,"li"),h(210,"send you information we think may be of interest to you based on your marketing preferences;"),d(),c(211,"li"),h(212,"perform analytics for the purpose of remedying bugs or issues with our Platform; or"),d(),c(213,"li"),h(214,"perform our obligations under these Terms (as reasonably required)."),d()()(),c(215,"li"),h(216,"You acknowledge and agree that because of the nature of the internet, the processing and transmission of Your Data by us may occur over various networks, and may be transferred unencrypted."),d(),c(217,"li"),h(218," You are responsible for (meaning we are not liable for): "),c(219,"ol",5)(220,"li"),h(221,"the integrity of Your Data on your systems, networks or any device controlled by you or your Authorised Users; and"),d(),c(222,"li"),h(223,"backing up Your Data."),d()()(),c(224,"li"),h(225,"When you use our Services, we may create anonymised statistical data from Your Data and usage of our Services (for example, through aggregation). Once anonymised, we own that data and may use it for our own purposes, such as to provide and improve our Services, to develop new services or product offerings, to identify business trends, and for other uses we communicate to you. This may include making such anonymised data publicly available, provided it is not compiled using a sample size small enough to make underlying portions of Your Data identifiable."),d(),c(226,"li"),h(227,"If you do not provide Your Data to us, it may impact your ability to receive our Services."),d()()(),c(228,"li"),h(229," Liability "),c(230,"ol")(231,"li"),h(232," To the maximum extent permitted by law, we will not be liable for, and you release us from liability for, any Liability caused or contributed to by, arising from or in connection with: "),c(233,"ol",5)(234,"li"),h(235,"any aspect of the interactions between Service Providers and Customers, including in relation to any Listings;"),d(),c(236,"li"),h(237,"your computing environment (for example, your hardware, softw
1are, information technology and telecommunications services and systems); or"),d(),c(238,"li"),h(239,"any use of our Services by a person or entity other than you or your Authorised Users."),d()()(),c(240,"li"),h(241," Regardless of whatever else is stated in these Terms, to the maximum extent permitted by law: "),c(242,"ol",5)(243,"li"),h(244,"neither we or you are liable for any Consequential Loss;"),d(),c(245,"li"),h(246,"a party's liability for any Liability under these Terms will be reduced proportionately to the extent the relevant Liability was caused or contributed to by the actions (or inactions) of the other party, including any failure by the other party to mitigate its loss;"),d(),c(247,"li"),h(248,"(where our Services are not ordinarily acquired for personal, domestic or household use or consumption) in respect of any failure by us to comply with relevant Consumer Law Rights, our Liability is limited (at our discretion) to supplying the Services again or paying the cost of having the Services supplied again; and"),d(),c(249,"li"),h(250,"our aggregate liability to you for any Liability arising from or in connection with these Terms will be limited to the amount of any Subscription Fees paid by you to us in respect of the supply of the relevant Services to which the Liability relates, or if you do not have a Subscription, to AU$1,000."),d()()()()(),c(251,"li"),h(252," Suspension and Termination "),c(253,"ol")(254,"li"),h(255,"We may suspend your access to our Services where we reasonably believe there has been any unauthorised access to or use of our Services (such as the unauthorised sharing of login details for our Platform). If we suspend your access to our Services, we will let you know 
1within a reasonable time of doing so, and we will work with you to resolve the matter, or if it cannot be resolved, then we may terminate your Account and your access to our Services will end."),d(),c(256,"li"),h(257," We may terminate these Terms (meaning you will lose access to our Services, including access to your Account, and any Subscription will be cancelled) if: "),c(258,"ol",5)(259,"li"),h(260,"you fail to pay your Subscription Fees when they are due;"),d(),c(261,"li"),h(262,"you or your Authorised Users breach these Terms and do not remedy that breach within 14 days of us notifying you of that breach;"),d(),c(263,"li"),h(264,"you or your Authorised Users breach these Terms and that breach cannot be remedied; or"),d(),c(265,"li"),h(266,"you experience an insolvency event (including but not limited to bankruptcy, receivership, voluntary administration, liquidation, or entering into creditors' schemes of arrangement)."),d()()(),c(267,"li"),h(268," You may terminate these Terms if: "),c(269,"ol",5)(270,"li"),h(271,"we breach these Terms and do not remedy that breach within 14 days of you notifying us of that breach; or"),d(),c(272,"li"),h(273,"we breach these Terms and that breach cannot be remedied, and"),d()(),h(274," if you have paid Subscription Fees upfront, you will be issued a pro-rata refund of any unused Subscription Fees based on the portion of the then-current Subscription Period remaining. "),d(),c(275,"li"),h(276,"You may also terminate these Terms at any time by notifying us through your Account or to our email for notices (as set out in clause 13.9), and if you have a Subscription, termination will take effect at the end of your current Subscription Period."),d(),c(277,"li"),h(278," Upon termination of these Terms: "),c(279,"ol",5),h(280," we will retain Your Data (including copies) as required by law or regulatory requirements; for Service Providers, their existing Listings will default to their original state (meaning they may be inaccurate or not current); and for Customers, their purchases not yet provided will be honoured. "),d()(),c(281,"li"),h(282,"Termination of these Terms will not affect any other rights or liabilities that we or you may have."),d()()(),c(283,"li"),h(284," General "),c(285,"ol")(286,"li"),h(287,"Assignment: You may not transfer or assign these Terms (including any benefits or obligations you have under these Terms) to any third party without our prior written consent. We may assign or transfer these Terms to a third party, or transfer any debt owed by you to us to a debt collector or other third party."),d(),c(288,"li"),h(289,"Disputes between Service Providers and Customers: We encourage Service Providers and Customers to attempt to resolve disputes (including claims for refunds or remedies) directly and in good faith, either through our Platform or through external communication methods. In the event that a dispute cannot be resolved through these means, Service Providers and Customers may choose to resolve the dispute through other means, such as mediation. We are not responsible for mediating or resolving disputes between Service Providers and Customers."),d(),c(290,"li"),h(291," Disputes with Mentwell Directory: Neither we or you may commence court proceedings relating to any dispute, controversy or claim arising from, or in connection with, these Terms (including any question regarding its existence, validity or termination) (Dispute) unless we and you first meet (in good faith) to resolve the Dispute. Nothing in this clause will operate to prevent us or you from seeking urgent injunctive or equitable relief from a court of appropriate jurisdiction. If the Dispute is not resolved at that initial meeting: "),c(292,"ol",5)(293,"li"),h(294,"where you are resident or incorporated in Australia, refer the matter to mediation, administered by the Australian Disputes Centre in accordance with Australian Disputes Centre Guidelines for Commercial Mediation; or"),d(),c(295,"li"),h(296,"where you are not resident or incorporated in Australia, refer the matter to arbitration administered by the Australian Centre for International Commercial Arbitration, with such arbitration to be conducted in Sydney, New South Wales, before one arbitrator, in English and in accordance with the ACICA Arbitration Rules."),d()()(),c(297,"li"),h(298,"Events Outside Our Control: We will not be liable for any delay or failure to perform our obligations (including our Services), if such delay or failure is caused or contributed to by an event or circumstance beyond our reasonable control."),d(),c(299,"li"),h(300,"Governing law: These Terms are governed by the laws of New South Wales, and any matter relating to these Terms is to be determined exclusively by the courts in New South Wales and any courts entitled to hear appeals from those courts."),d(),c(301,"li"),h(302,"Illegal Requests: We reserve the right to refuse any request for or in relation to our Services that we deem inappropriate, unethical, unreasonable, illegal or otherwise non-compliant with these Terms."),d(),c(303,"li"),h(304,"Marketing: You agree that we may send you electronic communications about our products and services. You may opt-out at any time by using the unsubscribe function in our electronic communications."),d(),c(305,"li"),h(306,"Nature of Legal Relationship: These Terms do not create, and should not be interpreted so as to create, a partnership, joint venture, employment or agency relationship between us and you."),d(),c(307,"li"),h(308,"Notices: Any notice you send to us must be sent to the email set out at the beginning of these Terms. Any notice we send to you will be sent to the email address registered against your Account."),d(),c(309,"li"),h(310,"Publicity: You agree that we may advertise or publicise the fact you are a customer of ours, for example on our website or in our promotional material, and you grant us a right to display and use your logo and branding solely for that purpose."),d(),c(311,"li"),h(312,"Survival: Clauses 8 to 13 will survive the termination or expiry of these Terms."),d(),c(313,"li"),h(314,"Third Party Sites: Our Platform may contain links to websites operated by third parties. Unless we tell you otherwise, we do not control, end
1orse or approve, and are not responsible for, the content on those websites. We recommend that you make your own investigations in relation to the suitability of those websites. If you purchase goods or services from a third party website linked from our Platform, those goods or services are being provided by that third party, not us. We may receive a benefit (which may include a referral fee or a commission) should you visit certain third party websites through a link on our Platform, or for featuring certain goods or services on our Platform. We will make it clear by notice to you which (if any) goods or services, or website links, we receive a benefit from by featuring them on our Platform."),d()()(),c(315,"li"),h(316," Definitions "),c(317,"ol")(318,"li"),h(319," In these Terms: "),c(320,"ul")(321,"p"),h(322,"Account means an account accessible to the individual or entity who signed up to our Services, under which Authorised Users may be granted with access."),d(),c(323,"p"),h(324,"Authorised User means a user that you have invited to use the Platform through your Account."),d(),c(325,"p"),h(326,"Consequential Loss includes any consequential loss, special or indirect loss, real or anticipated loss of profit, loss of benefit, loss of revenue, loss of business, loss of goodwill, loss of opportunity, loss of savings, loss of reputation, loss of use and/or loss or corruption of data, whether under statute, contract, equity, tort (including negligence), indemnity or otherwise. However, your obligation to pay us any amounts for access to or use of our Services (including our Platform) will not constitute \u201cConsequential Loss\u201d."),d(),c(327,"p"),h(328,"Liability means any expense, cost, liability, loss, damage, claim, notice, entitlement, investigation, demand, proceeding or judgment (whether under statute, contract, equity, tort (including negligence), indemnity or otherwise), howsoever arising, whether direct or indirect and/or whether present, unascertained, future or contingent and whether involving a third party or us or you or otherwise."),d(),c(329,"p"),h(330,"Personal Information means any information or opinion about an identified individual, or an individual who is reasonably identifiable, whether the information or opinion is true or not, and whether the information or opinion is recorded in a tangible form or not."),d(),c(331,"p"),h(332,"Platform means our cloud-based platform that we provide you with access to as part of the Services."),d(),c(333,"p"),h(334,"Services means the services we provide to you, as detailed in clause 3.1."),d(),c(335,"p"),h(336,"Subscription means the Subscription plan you have chosen through our Platform, which you use to access certain features and benefits."),d(),c(337,"p"),h(338,"Subscription Fees means the fees you pay to us to access your chosen Subscription."),d(),c(339,"p"),h(340,"Subscription Period means the duration of your Subscription (such as monthly, annually, or as otherwise set out on our Platform)."),d(),c(341,"p"),h(342,"Your Data means the information, materials, logos, documents, qualifications and other intellectual property or data supplied by you and your Authorised Users when receiving our Services or stored by or generated by your use of our Services, including any Personal Information collected, used, disclosed, stored or otherwise handled in connection with our Services. Your Data does not include any data or information that is generated as a result of your usage of our Services that is a back-end or internal output or an output otherwise generally not available to users of our Services."),d()()()()()()())},dependencies:[y8,Dt],styles:['ol[_ngcontent-%COMP%]:not([type=a]){counter-reset:item}ol[_ngcontent-%COMP%]:not([type=a]) > li[_ngcontent-%COMP%]{display:block}ol[_ngcontent-%COMP%]:not([type=a]) > li[_ngcontent-%COMP%]:before{content:counters(item,".") " ";counter-increment:item}']})}return t})(),j2=(()=>{class t{get hrColor(){return`hr-${this.color}`}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["colored-hr"]],inputs:{color:"color"},standalone:!0,features:[z],decls:9,vars:1,consts:[[1,"row"],[1,"col-lg-5"],[1,"col-lg-2"],[1,"col-lg-8"],[3,"className"]],template:function(i,o){1&i&&(c(0,"div",0),x(1,"div",1),c(2,"div",2)(3,"div",0),x(4,"div",2),c(5,"div",3),x(6,"hr",4),d(),x(7,"div",2),d()(),x(8,"div",1),d()),2&i&&(b(6),k("className",o.hrColor))},dependencies:[ne],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}"]})}return t})();function Uwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please enter a valid email address."),d())}function Wwe(t,n){1&t&&(c(0,"mat-error"),h(1,"You have not entered a valid email address."),d())}function Gwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please enter an account password of at least 8 characters ."),d())}function qwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Passwords do not match!"),d())}function Ywe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide your first name"),d())}function Zwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide your last name"),d())}function Kwe(t,n){1&t&&(c(0,"mat-error"),h(1,"Please accept our Terms & Conditions"),d())}function Qwe(t,n){1&t&&x(0,"loading-spinner",36)}function Xwe(t,n){if(1&t){const e=Ne();c(0,"button",37),V("click",function(o){return re(e),se(S(2).claimProvider(o))}),h(1,"Submit"),d()}2&t&&k("disabled",!S(2).claimForm.valid)}function Jwe(t,n){if(1&t&&(c(0,"form",18)(1,"div",19)(2,"h3"),h(3,"Lets get started!"),d(),x(4,"colored-hr",20),d(),c(5,"div",21),h(6," We just need a few details to create and verify your account. "),d(),c(7,"mat-form-field",22)(8,"mat-label"),h(9,"Email"),d(),x(10,"input",23),T(11,Uwe,2,0,"mat-error",24)(12,Wwe,2,0,"mat-error",24),d(),c(13,"div",25)(14,"mat-form-field",22)(15,"mat-label"),h(16,"Password"),d(),x(17,"input",26),T(18,Gwe,2,0,"mat-error",24),d(),c(19,"mat-form-field",22)(20,"mat-label"),h(21,"Confirm Password"),d(),x(22,"input",27),T(23,qwe,2,0,"mat-error",24),d()(),c(24,"div",25)(25,"mat-form-field",22)(26,"mat-label"),h(27,"First name"),d(),x(28,"input",28),T(29,Ywe,2,0,"mat-error",24),d(),c(30,"mat-form-field",22)(31,"mat-label"),h(32,"Last name"),d(),x(33,"input",29),T(34,Zwe,2,0,"mat-error",24),d()(),c(35,"div",30)(36,"mat-checkbox",31),h(37," I agree to the "),c(38,"a",32),h(39,"Terms & Conditions"),d()(),T(40,Kwe,2,0,"mat-error",24),d(),c(41,"div",33),T(42,Qwe,1,0,"loading-spinner",34),ve(43,"async"),T(44,Xwe,2,1,"ng-template",null,35,Yi),d()()),2&t){const e=mt(45),i=S();k("formGroup",i.claimForm),b(11),k("ngIf",i.hasError("Email","required")),b(1),k("ngIf",i.hasError("Email","email")),b(6),k("ngIf",i.hasError("Password","minlength")||i.hasError("Password","required")),b(5),k("ngIf",i.hasError("ConfirmPassword","confirmedValidator")),b(6),k("ngIf",i.hasError("UserFirstName","required")),b(5),k("ngIf",i.hasError("UserLastName","required")),b(6),k("ngIf",i.hasError("TermsAccepted","requiredTrue")),b(2),k("ngIf",Me(43,10,i.isLoadingSubmit$))("ngIfElse",e)}}const w8=()=>({subject:"Claim error",location:"Claim provider"});function exe(t,n){1&t&&(h(0),x(1,"br"),h(2," If you continue to have problems, please "),c(3,"a",39),h(4,"contact us"),d()),2&t&&(ce(" ",S(2).errorMessage," "),b(3),k("trackContactUs",Be(2,w8)))}function txe(t,n){1&t&&(h(0," Sorry, there's been an error claiming your profile. "),x(1,"br"),h(2," Please try again or "),c(3,"a",39),h(4,"contact us"),d()),2&t&&(b(3),k("trackContactUs",Be(1,w8)))}function ixe(t,n){if(1&t&&(c(0,"div",38),T(1,exe,5,3)(2,txe,5,2),d()),2&t){const e=S();b(1),U(1,e.errorMessage?1:2)}}
1function nxe(t,n){if(1&t&&(c(0,"div",19)(1,"h4"),h(2," Thank you! We've sent you an email to verify your account. "),d(),c(3,"button",40)(4,"span",41)(5,"mat-icon"),h(6,"chevron_left"),d(),h(7," Back "),d()()()),2&t){const e=S();b(3),cr("routerLink","/provider/",e.id,"")}}const oxe=()=>({subject:"Personalised gift cards",location:"Claim provider"});let rxe=(()=>{class t{constructor(e,i,o,r){this.http=e,this.configService=i,this.route=o,this.formBuilder=r,this.isError$=new Ee(!1),this.isSuccess$=new Ee(!1),this.isLoadingSubmit$=new Ee(!1),this.errorMessage=null}ngOnInit(){this.claimForm=this.formBuilder.group({Email:new De("",[Ae.required,Ae.email]),Password:new De("",[Ae.required,Ae.minLength(8)]),ConfirmPassword:new De("",Ae.required),UserFirstName:new De("",Ae.required),UserLastName:new De("",Ae.required),TermsAccepted:new De(!1,Ae.requiredTrue)},{validators:this.matchValidator("Password","ConfirmPassword")}),this.id=parseInt(this.route.snapshot.paramMap.get("id")||"")}ngOnDestroy(){this.claimSubscription&&this.claimSubscription.unsubscribe()}hasError(e,i){return this.claimForm.controls[e].hasError(i)}matchValidator(e,i){return o=>{const r=o.get(e),s=o.get(i);if(s.errors&&!s.errors?.confirmedValidator)return null;if(r.value!==s.value){const a={confirmedValidator:"Passwords do not match."};return s.setErrors(a),a}return s.setErrors(null),null}}claimProvider(e){e.preventDefault(),this.claimForm.valid&&(this.isError$.next(!1),this.isSuccess$.next(!1),this.isLoadingSubmit$.next(!0),this.errorMessage=null,this.claimSubscription=this.http.post(`${this.configService.config.baseApiUrl}/provider/${this.id}/claim`,this.claimForm.getRawValue(),{headers:new Qi({"Content-Type":"application/json"})}).subscribe({next:()=>{this.isSuccess$.next(!0),this.isLoadingSubmit$.next(!1)},error:i=>{this.isError$.next(!0),this.isSuccess$.next(!1),this.isLoadingSubmit$.next(!1),i?.error?.errors?.length&&(this.errorMessage=i.error.errors[0].message)}}))}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v($i),v(hg))};static#t=this.\u0275cmp=O({type:t,selectors:[["claim-provider"]],decls:59,vars:11,consts:[[1,"container"],[1,"d-flex","flex-lg-row","flex-column","flex-column-reverse","center-child-items"],[1,"col-lg-6"],["src","/assets/claim-profile-image.png","alt","",1,"image"],[1,"col-lg-6","pb-3"],[1,"mb-2","pt-4"],[1,"mb-3"],[1,"text"],[1,"mb-4"],[1,"benefits-list"],["src","assets/tick.png","alt",""],[1,"self-center"],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"],[1,"row"],[1,"col-lg-8","offset-lg-2","pt-5"],["class","pt-4",3,"formGroup",4,"ngIf"],["class","font-bold text-red-600 text-center mt-4",4,"ngIf"],["class","text-center",4,"ngIf"],[1,"pt-4",3,"formGroup"],[1,"text-center"],["color","easy-green"],[1,"text-center","mt-3","mb-4"],[1,"form-element","mb-4"],["matInput","","type","text","placeholder","[email protected]","formControlName","Email","required","","autocomplete","email"],[4,"ngIf"],[1,"side-by-side"],["matInput","","type","password","placeholder","Password","formControlName","Password","required","","autocomplete","new-password"],["matInput","","type","password","placeholder","Confirm password","formControlName","ConfirmPassword","required","","autocomplete","new-password"],["matInput","","type","text","placeholder","Bob","formControlName","UserFirstName","required","","autocomplete","given-name"],["matInput","","type","text","placeholder","Smith","formControlName","UserLastName","required","","autocomplete","family-name"],[1,"form-element","text-center"],["formControlName","TermsAccepted"],["routerLink","/serviceprovider/terms","target","_blank"],[1,"text-center","mt-3"],["class","m-auto",4,"ngIf","ngIfElse"],["submitButton",""],[1,"m-auto"],["type","submit",1,"btn","btn-dark",3,"disabled","click"],[1,"font-bold","text-red-600","text-center","mt-4"],["onclick","window.HubSpotConversations.widget.open()",1,"error-link",3,"trackContactUs"],["mat-dialog-close","",1,"btn","btn-outline-dark","mt-4",3,"routerLink"],[1,"back-button"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d(),c(4,"div",4)(5,"h3",5),h(6,"Claim Your Profile"),d(),c(7,"h5",6),h(8,"From $100 per year"),d(),c(9,"div",7)(10,"div",8),h(11," Thanks for choosing to claim your Mentwell profile! "),d(),c(12,"div",8),h(13," We're so excited to have you and your services on our directory; Mentwell is the start of something amazing and we love that you're here with us on this journey. We're constantly releasing new features, but for now, by "),c(14,"b"),h(15,"claiming"),d(),h(16," your profile and purchasing a Mentwell subscription you can: "),d(),c(17,"ul",9)(18,"strong"),h(19,"FEATURES"),d(),c(20,"div"),x(21,"img",10),c(22,"span",11),h(23,"Stand out with a more comprehensive profile compared to free profiles"),d()(),c(24,"div"),x(25,"img",10),c(26,"span",11),h(27,"Edit the details of your profile"),d()(),c(28,"div"),x(29,"img",10),c(30,"span",11),h(31,"Be the first to know of premium profile features as they're released"),d()(),c(32,"div"),x(33,"img",10),c(34,"span",11),h(35,"Gain access to beta products, specifically for health and wellness service providers"),d()(),c(36,"div"),x(37,"img",10),c(38,"span",11),h(39,"First dibs for Mentwell events, including our 2024 launch events!"),d()(),c(40,"div"),x(41,"img",10),c(42,"span",11),h(43,"First in line for advertising opportunities, when available"),d()(),c(44,"div"),x(45,"img",10),c(46,"span",11),h(47," Further options to create personalised gift cards for your business ("),c(48,"a",12),h(49,"contact us!"),d(),h(50,") "),d()()()()()(),c(51,"div",13)(52,"div",14),T(53,Jwe,46,12,"form",15),ve(54,"async"),T(55,ixe,3,1,"div",16),ve(56,"async"),T(57,nxe,8,1,"div",17),ve(58,"async"),d()()()),2&i&&(b(48),k("trackContactUs",Be(10,oxe)),b(5),k("ngIf",!0!==Me(54,4,o.isSuccess$)),b(2),k("ngIf",Me(56,6,o.isError$)),b(2),k("ngIf",Me(58,8,o.isSuccess$)))},dependencies:[Nn,Ki,Ng,Jc,Rg,zt,Kr,fr,Yr,Zr,qc,br,Gc,lx,$g,gR,Hw,Ob,j2,Vi],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}.image[_ngcontent-%COMP%]{width:100%;max-width:30rem;margin:auto;display:block;margin-top:1rem}.side-by-side[_ngcontent-%COMP%]{display:flex;gap:0;flex-direction:column}
1.benefits-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.2rem;padding-left:0}.benefits-list[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.benefits-list[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:2rem}@media (min-width: 490px){.side-by-side[_ngcontent-%COMP%]{flex-direction:row;gap:2rem}}.error-link[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;color:red}.back-button[_ngcontent-%COMP%]{display:flex;gap:2px;align-items:center;margin-left:auto;margin-right:auto}"]})}return t})(),x8=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-check-circle-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();const sxe=()=>({colour:"yellow"}),C8=()=>({colour:"blue"}),axe=()=>({colour:"orange"});let lxe=(()=>{class t{constructor(){this.card=fL,this.hr=gL}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-component-test"]],standalone:!0,features:[z],decls:65,vars:16,consts:[[1,"p-8","flex","flex-col","gap-12","max-w-7xl","mx-auto"],[1,"font-medium","text-2xl"],["colour","blue"],[1,"font-medium","text-2xl","pt-8"],[1,"flex","flex-col","gap-4"],[1,"text-lg","font-semibold"],[1,"flex","gap-8","flex-wrap"],["button",""],["button","",1,"flex","gap-1.5","items-center"],["button","","disabled","",1,"flex","gap-1.5","items-center"],[1,"animate-spin"],["button","","disabled",""],["button","outline"],["button","link"],["button","cta"],["button","","size","sm"],[1,"flex","gap-8"],[1,"flex","flex-col","gap-8"],[1,"text-center"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"h2",1),h(2,"Components"),d(),c(3,"app-page-heading"),h(4,"Page Heading Default"),d(),c(5,"app-page-heading",2),h(6,"Page Heading Blue"),d(),c(7,"h2",3),h(8,"Class Variants"),d(),c(9,"div",4)(10,"h2",5),h(11,"Buttons"),d(),c(12,"div",6)(13,"div")(14,"button",7),h(15,"Default"),d()(),c(16,"div")(17,"button",8),x(18,"app-check-circle-icon"),h(19," Icon "),d()(),c(20,"div")(21,"button",9),x(22,"app-arrow-path-icon",10),h(23," loading "),d()(),c(24,"div")(25,"button",11),h(26,"Disabled"),d()(),c(27,"div")(28,"button",12),h(29,"Outline"),d()(),c(30,"div")(31,"button",13),h(32,"Link"),d()(),c(33,"div")(34,"button",14),h(35,"CTA"),d()(),c(36,"div")(37,"button",15),h(38,"Small"),d()()()(),c(39,"div",4)(40,"h2",5),h(41,"Cards"),d(),c(42,"div",16)(43,"div"),h(44,"Default"),d(),c(45,"div"),h(46,"Yellow"),d(),c(47,"div"),h(48,"Blue"),d()()(),c(49,"div",4)(50,"h2",5),h(51,"Horizontal Rules"),d(),c(52,"div",17)(53,"div")(54,"div",18),h(55,"Default"),d(),x(56,"hr"),d(),c(57,"div")(58,"div",18),h(59,"Blue"),d(),x(60,"hr"),d(),c(61,"div")(62,"div",18),h(63,"Orange"),d(),x(64,"hr"),d()()()()),2&i&&(b(43),Ke(o.card()),b(2),Ke(o.card(Be(12,sxe))),b(2),Ke(o.card(Be(13,C8))),b(9),Ke(o.hr()),b(4),Ke(o.hr(Be(14,C8))),b(4),Ke(o.hr(Be(15,axe))))},dependencies:[x8,kb,Sr,Zt],encapsulation:2})}return t})();const cxe=["*"];let dxe=(()=>{class t{constructor(){this.isCollapsed=!0}toggleCollapse(){this.isCollapsed=!this.isCollapsed}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["faq-item"]],inputs:{question:"question"},standalone:!0,features:[z],ngContentSelectors:cxe,decls:7,vars:3,consts:[[1,"border-t-2","border-easy-green","pt-2","pb-4","pl-4","pr-4"],[1,"font-bold",3,"click"],[1,"text-easy-green","text-2xl","font-bold","float-right"],[1,"",3,"hidden"]],template:function(i,o){1&i&&(it(),c(0,"div",0)(1,"div",1),V("click",function(){return o.toggleCollapse()}),h(2),c(3,"span",2),h(4),d()(),c(5,"div",3),ge(6),d()()),2&i&&(b(2),ce(" ",o.question," "),b(2),pe(o.isCollapsed?"+":"-"),b(1),k("hidden",o.isCollapsed))},encapsulation:2})}return t})();const uxe=()=>({action:"Service provider form",location:"FAQs"});let hxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-faqs"]],standalone:!0,features:[z],decls:294,vars:2,consts:[["backgroundImageClass","bg-[url('/assets/faq-hero.jpg')]","smallImageUrl","/assets/faq-hero.jpg"],[1,"uppercase","font-bold","lg:text-lg"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"prose","mx-auto","px-5","mt-8"],[1,"text-center"],[1,"text-easy-green","mb-3"],[1,"pt-10"],["question","Who is Mentwell?"],["question","What do we do at Mentwell?"],["question","What is Identification, Movement and Maintenance?"],["question","How can I get in touch for help?"],["href","mailto:[email protected]"],["question","Where can I use my Mentwell gift card?"],[1,"flex","gap-28"],["question","What is a virtual prepaid Mastercard?"],["question","Can I use my Mentwell gift card 
1in stores?"],["question","Can I use my Mentwell gift card to withdraw cash?"],["question","Can you shop online using a Mentwell gift card?"],["question","Are Mentwell gift cards accepted by most online retailers?"],["question","How can I check my card balance?"],["question","Can I use this card overseas?"],["question","How to use Mentwell?"],["routerLink","/buy"],["question","Why is there a service fee?"],["question","Who is Vault Payments?"],["href","https://www.vaultps.com.au/terms-conditions/#T&Cs-Vault-PVL","target","_blank"],["question","How do I get a receipt?"],["question","What happens if I don't use the full amount in one transaction?"],["question","Can I buy a Mentwell card directly from a service?"],["question","When does my Mentwell card expire?"],["question","What do I do if I spelt an email or phone number wrong?"],["question","My friend doesnt have a smartphone that supports digital cards? How can I send them a Mentwell Card?"],["question","I accidentally deleted the email or text, how can I reissue my card?"],["question","Do you have physical cards?"],["question","Can my card be used in person and online?"],["question","Can I add more value to my card?"],["question","What if my purchase exceeds the card's value?"],["question","How many cards can I buy in one purchase?"],["question","If a merchant asks 'Credit or Cheque or Savings?'"],["question","I'm a health and wellness service provider and I want to be on your directory. How do I get onto it?"],["href","https://share.hsforms.com/1g2LLtsH0TR6BBFrbYRCSYAr2juc","target","_blank",3,"trackClicks"]],template:function(i,o){1&i&&(c(0,"app-image-hero",0)(1,"h4",1),h(2," Questions? Concerns? "),d(),c(3,"h1",2),h(4," We are here to help. "),d()(),c(5,"section",3)(6,"div",4)(7,"h1",5),h(8," FAQs "),d(),h(9," Questions and answers about your digital gift card "),d(),c(10,"h1",6),h(11,"About Mentwell"),d(),c(12,"faq-item",7)(13,"p"),h(14,"We are a bunch of people who are super-passionate about helping one another get access to health and wellbeing services, after all we know how expensive these services can be!"),d(),c(15,"p"),h(16,"We believe in consciously gifting any time of year, whether it be when a friend is in need or for Christmas and birthdays."),d()(),c(17,"faq-item",8)(18,"p"),h(19,"We provide a digital gift card service that can be redeemable at 1000s of services Australia-wide. Whether you're doing psychology sessions, need to see a GP, want to try reiki or kinesiology, or perhaps want help paying for your yoga subscription, a Mentwell card can help pay for your fees."),d()(),c(20,"faq-item",9)(21,"p"),h(22,"We believe that the purpose and methodology used for each of the services we represent should be more common knowledge. "),d(),c(23,"p"),h(24,"We've created a recommended way to use these services: - "),d(),c(25,"ol")(26,"li")(27,"b"),h(28,"Identification services:"),d(),c(29,"p"),h(30,"These services include talk therapy, psychology, councillors and GPs. They help us figure out what has happened to us, what our current state is as a result and sometimes result in a diagnosis."),d()(),c(31,"li")(32,"b"),h(33,"Movement services:"),d(),c(34,"p"),h(35,"These services include reiki, acupuncture, kinesiology and psychotherapy. These services are designed to help us move the energy related to the problem we've identified. This allows for us to be clearer in mind, body and spirit and for new, healthier behaviours to be consolidated."),d()(),c(36,"li")(37,"b"),h(38,"Maintenance services:"),d(),c(39,"p"),h(40,"These services include the gym, pilates, yoga and martial arts. These services are designed to continually help us clear the body, mind and spirit on a daily basis. Every day presents difficulties, so it's important to not let these difficulties stack up over time."),d()()()(),c(41,"faq-item",10)(42,"p"),h(43,"That's easy! You can email us at "),c(44,"a",11),h(45,"[email protected]"),d(),h(46," and somebody from our team will get back to you."),d()(),c(47,"faq-item",12)(48,"p"),h(49,"Mentwell gift cards can be used with any Health and Wellness provider that accepts Mastercard and is in one of the following categories: -"),d(),c(50,"div",13)(51,"ul")(52,"li"),h(53,"General Practice"),d(),c(54,"li"),h(55,"Physio"),d(),c(56,"li"),h(57,"Chiro"),d(),c(58,"li"),h(59,"Nutritionist"),d(),c(60,"li"),h(61,"Dentist"),d(),c(62,"li"),h(63,"Osteopathy"),d(),c(64,"li"),h(65,"Chinese Medicine"),d(),c(66,"li"),h(67,"Sleep Clinic "),d(),c(68,"li"),h(69,"Optometry "),d(),c(70,"li"),h(71,"Psychologist "),d(),c(72,"li"),h(73,"Psychiatrist "),d(),c(74,"li"),h(75,"Counsellor "),d(),c(76,"li"),h(77,"Life Coaches "),d(),c(78,"li"),h(79,"Business Coaches "),d(),c(80,"li"),h(81,"Acupuncture "),d(),c(82,"li"),h(83,"Hypnotherapy "),d(),c(84,"li"),h(85,"Ayurveda Classes "),d(),c(86,"li"),h(87,"Reiki "),d(),c(88,"li"),h(89,"Energy Healers "),d(),c(90,"li"),h(91,"Tarot Card "),d(),c(92,"li"),h(93,"Medium "),d(),c(94,"li"),h(95,"P
1sychic "),d(),c(96,"li"),h(97,"Astrologists "),d(),c(98,"li"),h(99,"Esoteric Teachers "),d(),c(100,"li"),h(101,"Life Guides "),d(),c(102,"li"),h(103,"Kinestheology "),d(),c(104,"li"),h(105,"Radix Therapy "),d(),c(106,"li"),h(107,"Somatic Healing "),d(),c(108,"li"),h(109,"Aromatherapy "),d(),c(110,"li"),h(111,"Reflexology "),d(),c(112,"li"),h(113,"Naturopathy "),d(),c(114,"li"),h(115,"Homeopathy "),d(),c(116,"li"),h(117,"Kinesiology "),d(),c(118,"li"),h(119,"Moxibustion "),d(),c(120,"li"),h(121,"Art Therapy "),d(),c(122,"li"),h(123,"Music Therapy "),d(),c(124,"li"),h(125,"Natural Medicine Clinic "),d(),c(126,"li"),h(127,"Hypnobirthing "),d(),c(128,"li"),h(129,"Doula "),d()(),c(130,"ul")(131,"li"),h(132,"Yoga "),d(),c(133,"li"),h(134,"Pilates "),d(),c(135,"li"),h(136,"Spa "),d(),c(137,"li"),h(138,"Wellness Centres "),d(),c(139,"li"),h(140,"Gym "),d(),c(141,"li"),h(142,"Crossfit "),d(),c(143,"li"),h(144,"Massage "),d(),c(145,"li"),h(146,"Remedial Massage "),d(),c(147,"li"),h(148,"Health and Wellness Apps "),d(),c(149,"li"),h(150,"Aikido "),d(),c(151,"li"),h(152,"Taekwando "),d(),c(153,"li"),h(154,"Karate "),d(),c(155,"li"),h(156,"Tai Chi "),d(),c(157,"li"),h(158,"Qi Gong "),d(),c(159,"li"),h(160,"Escrima "),d(),c(161,"li"),h(162,"Cold & Conscious "),d(),c(163,"li"),h(164,"Massage Parlors "),d(),c(165,"li"),h(166,"Health and Beauty Spas "),d(),c(167,"li"),h(168,"Doctors - Not elsewhere classified "),d(),c(169,"li"),h(170,"Dentists and Orthodontists "),d(),c(171,"li"),h(172,"Osteopathic Physicians "),d(),c(173,"li"),h(174,"Chiropractors "),d(),c(175,"li"),h(176,"Optometrists and Ophthalmologists "),d(),c(177,"li"),h(178,"Opticians, Optical Goods and Eyeglasses "),d(),c(179,"li"),h(180,"Optical Goods and Eyeglasses "),d(),c(181,"li"),h(182,"Chiropodists, Podiatrists "),d(),c(183,"li"),h(184,"Nursing and Personal Care Facilities "),d(),c(185,"li"),h(186,"Hospitals "),d(),c(187,"li"),h(188,"Dental and Medical Laboratories "),d(),c(189,"li"),h(190,"Health Practitioners, Medical Services - Not elsewhere classified "),d(),c(191,"li"),h(192,"Drug Stores and Pharmacies "),d(),c(193,"li"),h(194,"Athletic Fields, Commercial Sports, Professional Sports Clubs, Sports Promoters "),d(),c(195,"li"),h(196,"Health and Beauty Spas "),d()()()(),c(197,"faq-item",14)(198,"p"),h(199,"A virtual prepaid Mastercard is just like a regular Mastercard - only without the plastic. Instead of being sent a physical card in the mail a digital card is sent to you or your customer via SMS and then activated using the Vault app. Once activated, the card can be added to a phone\u2019s digital wallet (e.g. Apple Pay or Samsung Pay) and used anywhere that accepts contactless payment."),d()(),c(200,"faq-item",15)(201,"p"),h(202,"You can use your Mentwell gift card in store. However, the merchant must accept contactless payments."),d()(),c(203,"faq-item",16)(204,"p"),h(205,"No, you cannot use your Mentwell gift card to withdraw cash."),d()(),c(206,"faq-item",17)(207,"p"),h(208,"Yes. You can use the details on your card to make purchases through online payment portals."),d()(),c(209,"faq-item",18)(210,"p"),h(211,"Yes. Mentwell gift cards are accepted anywhere that regular Mastercards are."),d()(),c(212,"faq-item",19)(213,"p"),h(214,"You can do this at any time using the Vault Payment app on your phone that you first used when setting up your Mentwell card."),d()(),c(215,"faq-item",20)(216,"p"),h(217,"Mentwell is currently only available in Australia. However, we have ambitious plans as a business to expand internationally so watch this space."),d()(),c(218,"h1",6),h(219,"Payment and purchases"),d(),c(220,"faq-item",21)(221,"p"),h(222,"When gifting to someone, you have the option of personalising the gift or gifting anonymously. This means that the receiver can use their card anonymously and securely. No one needs to know how you redeem the card or what service you choose to use the card on."),d(),c(223,"p"),h(224,"In saying this, we believe the Mentwell service can help create conversations about health and wellness and we advocate everyone to learn from one another's experiences using these services."),d(),c(225,"p"),h(226,"So what are you waiting for? "),c(227,"a",22),h(228,"Purchase a Mentwell card HERE!"),d()()(),c(229,"faq-item",23)(230,"p"),h(231,"As there is a lot of work happening behind the scenes, there is a service fee to cover the costs of issuing the Mentwell card."),d()(),c(232,"faq-item",24)(233,"p"),h(234,"We are partnered with Vault Payments who issue our gift cards. To use your gift card, you will be required to download the Vault Payments app and then save your gift card to your phones digital wallet. Your gift receiver will get a step by step instruction on how to download their Mentwell card via email or SMS. "),c(235,"a",25),h(236,"Vault terms and conditions"),d()()(),c(237,"faq-item",26)(238,"p"),h(239,"Upon completion of your purchase you will be emailed a receipt for the transaction. It comes from Stripe (our payment processor), be sure to check your spam folder just in case it accidentally got mislabeled. If you've lost it, that's OK, these things happen. Just contact us at "),c(240,"a",11),h(241,"[email protected]"),d(),h(242," and we can resend it for you."),d()(),c(243,"faq-item",27)(244,"p"),h(245,"The remainder of the balance will stay on the card for future purchases."),d()(),c(246,"faq-item",28)(247,"p"),h(248,"Mentwell is an online store. As our product grows, we will explore other options for our users."),d()(),c(249,"faq-item",29)(250,"p"),h(251,"The expiry date shown on the front of the Card. Upon expiry, the remaining available balance is forfeited."),d()(),c(252,"faq-item",30)(253,"p"),h(254,"Reach out to us at "),c(255,"a",11),h(256,"[email protected]"),d(),h(257," and we will be in touch to help"),d()(),c(258,"faq-item",31)(259,"p"),h(260,"At the moment Mentwell is only a digital gift card, we are working to expand our card options as the business grows."),d()(),c(261,"faq-item",32)(262,"p"),h(263,"Reach out to us at "),c(264,"a",11),h(265,"[email protected]"),d()()(),c(266,"faq-item",33)(267,"p"),h(268,"At the moment Mentwell is only a digital gift card, we are working to expand our card options as the business grows."),d()(),c(269,"faq-item",34)(270,"p"),h(271,"Yes, your Mentwell card can be used in person via services that accept card payments. For retailers who accept online payments, Mentwell can be used online. (Please note, not all online service providers will accept all cards, please check the categories below.)"),d()(),c(272,"faq-item",35)(273,"p"),h(274,"Mentwell is a one time card at the moment, as we expand our products, we will be looking into reloadable cards."),d()(),c(275,"faq-item",36)(276,"p"),h(277,"You can use your Mentwell card towards the service payments. A Mentwell Card can only be used for online purchases where Mastercard is accepted. If your online service provider accepts split transactions, you can use your Virtual Mastercard and other chosen payment method for your purchase. Unfortunately, most online merchants do not accept split payments."),d()(),c(278,"faq-item",37)(279,"p"),h(280,"At the moment, you can only purchase one gift card at a time."),d()(),c(281,"faq-item",38)(282,"p"),h(283,"Select credit. Your card will be issued with a pin to use, check it out on the Vault app."),d()(),c(284,"h1",6),h(285,"Service providers"),d(),c(286,"faq-item",39)(287,"p"),h(288," We're building a self-service system to add yourself to our directory, but until then, please "),c(289,"a",40),h(290,"fill out this quick form"),d(),h(291," and we'll get back to you shortly. If you have any questions or issues, please email "),c(292,"a",11),h(293,"
1[email protected]"),d()()()()),2&i&&(b(289),k("trackClicks",Be(1,uxe)))},dependencies:[Ar,R2,dxe],encapsulation:2})}return t})();function mxe(t,n){1&t&&Le(0)}function pxe(t,n){if(1&t&&($n(0),T(1,mxe,1,0,"ng-container",6),Un()),2&t){S();const e=mt(7);b(1),k("ngTemplateOutlet",e)}}function fxe(t,n){1&t&&Le(0)}function gxe(t,n){if(1&t&&($n(0),T(1,fxe,1,0,"ng-container",6),Un()),2&t){S();const e=mt(7);b(1),k("ngTemplateOutlet",e)}}function _xe(t,n){1&t&&x(0,"img",7)}function bxe(t,n){1&t&&x(0,"img",8)}function vxe(t,n){1&t&&x(0,"img",9)}function yxe(t,n){1&t&&x(0,"img",10)}function wxe(t,n){if(1&t&&T(0,_xe,1,0)(1,bxe,1,0)(2,vxe,1,0)(3,yxe,1,0),2&t){let i;U(0,"champagne"===(i=S().icon)?0:"Heart"===i?1:"SmilingHands"===i?2:"HandHeart"===i?3:-1)}}function xxe(t,n){if(1&t&&(c(0,"span",11),h(1),d()),2&t){const e=S();b(1),pe(e.icon)}}const Cxe=()=>({action:"Buy gift card",location:"Home page - CTA Banner"});let kxe=(()=>{class t{constructor(){this.text="",this.icon="",this.backgroundColor="bg-gray-100",this.iconImage=!1}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-banner"]],inputs:{text:"text",icon:"icon",backgroundColor:"backgroundColor",iconImage:"iconImage"},standalone:!0,features:[z],decls:10,vars:10,consts:[[1,"block","hover:text-white","hover:opacity-75",3,"routerLink","trackClicks"],[1,"flex","items-center","justify-center","p-4","my-4"],[4,"ngIf","ngIfElse"],[1,"text-center","font-bold","text-black","hover:text-white"],["componentIcon",""],["emojiIcon",""],[4,"ngTemplateOutlet"],["src","assets/banner-emojis/ChampagneGlasses.svg","alt","Champagne Glasses",1,"h-8","w-8","mx-2"],["src","assets/banner-emojis/Heart.svg","alt","Heart",1,"h-8","w-8","mx-2"],["src","assets/banner-emojis/SmilingHands.svg","alt","Smiley face with hands",1,"h-8","w-8","mx-2"],["src","assets/banner-emojis/HandHeart.png","alt","Hands forming heart shape",1,"h-8","w-8","mx-2"],[1,"mx-2","text-lg"]],template:function(i,o){if(1&i&&(c(0,"a",0)(1,"div",1),T(2,pxe,2,1,"ng-container",2),c(3,"span",3),h(4),d(),T(5,gxe,2,1,"ng-container",2),d()(),T(6,wxe,4,1,"ng-template",null,4,Yi)(8,xxe,2,1,"ng-template",null,5,Yi)),2&i){const r=mt(9);k("routerLink","/wellness-gift-card")("trackClicks",Be(9,Cxe)),b(1),Ke(o.backgroundColor),b(1),k("ngIf",o.iconImage)("ngIfElse",r),b(2),pe(o.text),b(1),k("ngIf",o.iconImage)("ngIfElse",r)}},dependencies:[ne,Ki,At,Ar,Dt,zt],encapsulation:2})}return t})(),Mxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-features"]],standalone:!0,features:[z],decls:32,vars:0,consts:[[1,"px-5","py-6","lg:p-20"],[1,"max-w-6xl","mx-auto","flex","flex-col","lg:flex-row","gap-12","items-center","justify-center"],["src","/assets/home-features/large.png","alt","",1,"h-auto","max-w-lg","my-auto","hidden","lg:block"],["src","/assets/home-features/small.png","alt","",1,"h-auto","max-w-lg","my-auto","lg:hidden"],[1,"flex","flex-col","gap-8"],[1,"font-bold","lg:text-lg","uppercase"],[1,"text-3xl","lg:text-5xl","font-bold"],[1,"flex","flex-col","gap-4"],[1,"flex","gap-5"],[1,"flex","flex-shrink-0","justify-center","items-center","bg-easy-green","text-white","rounded-full","size-7"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1),x(2,"img",2)(3,"img",3),c(4,"div",4)(5,"h3",5),h(6,"Features"),d(),c(7,"h2",6),h(8,"It\u2019s a No Brainer!"),d(),c(9,"p"),h(10,"A Mentwell gift card isn't just a gift, it's a ticket to improved health, happiness and general quality of life. Who wouldn't want to give that?"),d(),c(11,"ul",7)(12,"li",8)(13,"span",9),x(14,"app-check-icon"),d(),c(15,"span"),h(16,"Quick + Easy, just like a VISA\u2122 gift card that sits in your digital wallet"),d()(),c(17,"li",8)(18,"span",9),x(19,"app-check-icon"),d(),c(20,"span"),h(21,"Gives access to every health and wellness provider, Australia-wide, yes, even regionally!"),d()(),c(22,"li",8)(23,"span",9),x(24,"app-check-icon"),d(),c(25,"span"),h(26,"Tap + Go in person or use online"),d()(),c(27,"li",8)(28,"span",9),x(29,"app-check-icon"),d(),c(30,"span"),h(31,"Anonymous gifting + personalisation"),d()()()()()())},dependencies:[e8],encapsulation:2})}return t})();const k8=()=>({action:"Buy gift card",location:"Home page - hero primary CTA"});let Dxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-hero"]],standalone:!0,features:[z],decls:18,vars:4,consts:[[1,"flex","flex-col-reverse","3xl:flex-row","bg-neutral-100","items-center","justify-center"],[1,"flex","flex-col","flex-grow","xl:pt-12","xl:flex-row","lg:max-w-[1400px]"],[1,"flex","flex-col","gap-6","lg:pl-10","xl:px-28"],[1,"flex","flex-col","px-5","py-6","gap-6","2xl:px-0"],[1,"uppercase","font-bold","xl:text-lg"],[1,"font-bold","text-4xl","lg:text-5xl","2xl:text-[56px]","leading-tight"],[1,"text-lg"],[1,"flex","flex-col","gap-6","xl:flex-row"],["button","cta","routerLink","/wellness-gift-card",1,"xl:w-fit","text-center",3,"trackClicks"],["button","","routerLink","/workplace-wellness",1,"xl:w-fit","text-center",3,"trackClicks"],[1,"flex","flex-col","justify-end","pl-4","xl:pl-0","xl:pt-5"],["src","/assets/home-hero/background.png","alt","",1,"hidden","max-w-md","xl:max-w-screen-sm","xl:block"],["src","/assets/home-hero/background-mobile.png","alt","",1,"block","max-w-sm","w-full","mx-auto","xl:hidden"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),h(5,"Mean Well by Gifting Well"),d(),c(6,"h1",5),h(7," Finally, a gift card that's changing lives! "),d(),c(8,"p",6),h(9," For any occasion - gratitude, care, business or just because - Mentwell cards are the future of sustainable\xa0wellness gifting. "),d(),c(10,"div",7)(11,"a",8),h(12," Buy a Gift Card "),d(),c(13,"a",9),h(14," Buy for Business "),d()()()(),c(15,"div",10),x(16,"img",11)(17,"img",12),d()()()),2&i&&(b(11),k("trackClicks",Be(2,k8)),b(2),k("trackClicks",Be(3,k8)))},dependencies:[Dt,zt,Ar,Zt],encapsulation:2})}return t})();
1const M8=t=>({"bg-easy-green":t});let Sxe=(()=>{class t{constructor(){this.change=new E,this._isOn=!1}get isOn(){return this._isOn}toggle(){this._isOn?this.off():this.on()}on(){const e=!this._isOn;this._isOn=!0,e&&this.change.emit(!0)}off(){const e=this._isOn;this._isOn=!1,e&&this.change.emit(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-toggle-switch"]],inputs:{offText:"offText",onText:"onText"},outputs:{change:"change"},standalone:!0,features:[z],decls:5,vars:8,consts:[[1,"flex","gap-2","font-bold","text-xl","rounded-full","p-2","bg-neutral-200"],[1,"flex-1","px-8","py-2","rounded-full","transition-colors","hover:bg-soft-black","hover:text-white",3,"ngClass","click"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"button",1),V("click",function(){return o.off()}),h(2),d(),c(3,"button",1),V("click",function(){return o.on()}),h(4),d()()),2&i&&(b(1),k("ngClass",di(4,M8,!o.isOn)),b(1),ce(" ",o.offText," "),b(1),k("ngClass",di(6,M8,o.isOn)),b(1),ce(" ",o.onText," "))},dependencies:[ne,Ti],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();function Exe(t,n){1&t&&(c(0,"h2",12),h(1," Kick consumerism to the curb. "),c(2,"span",13),h(3,"Buy a card, change a life."),d()(),c(4,"p",14),h(5," Flowers, chocolates, alcohol - nah. "),x(6,"br"),h(7," How about helping someone during this cost of living crisis? "),x(8,"br"),h(9," After all, health shouldn't be a luxury, it should be a priority! "),d(),c(10,"ol",15)(11,"li",16)(12,"span",17),h(13,"1"),d(),h(14," Select the $ amount "),d(),c(15,"li",16)(16,"span",17),h(17,"2"),d(),h(18," Enter the receiver's details "),d(),c(19,"li",16)(20,"span",17),h(21,"3"),d(),h(22," Choose to gift anonymously or personalise your gift "),d()())}function Txe(t,n){1&t&&(c(0,"h2",12),h(1," Isn't it nice to know someone cares? "),d(),c(2,"p",14),h(3," Relax and recharge, knowing you can cover your next psychology session, schedule that overdue check-up, or indulge in a stress-relieving massage. "),d(),c(4,"ol",15)(5,"li",16)(6,"span",17),h(7,"1"),d(),h(8," Receive a text and email with a link "),d(),c(9,"li",16)(10,"span",17),h(11,"2"),d(),h(12," Validate the card with your name, phone number and email "),d(),c(13,"li",16)(14,"span",17),h(15,"3"),d(),h(16," Search for the service provider of your choice or use your local favourite "),d()())}function Ixe(t,n){if(1&t){const e=Ne();c(0,"section",1)(1,"div",2),x(2,"div",3),c(3,"div",4)(4,"div",5)(5,"h3",6),h(6,"How to Use Mentwell"),d(),c(7,"app-toggle-switch",7),V("change",function(o){return re(e),se(S().activeTab$.next(o?"redeem":"buy"))}),d(),c(8,"div",8)(9,"div",9),T(10,Exe,23,0)(11,Txe,17,0),d(),x(12,"img",10),d()(),x(13,"div",11),d(),x(14,"div",3),d()()}if(2&t){const e=n.ngLet;b(10),U(10,"buy"===e?10:11)}}let Axe=(()=>{class t{constructor(){this.activeTab$=new Ee("buy")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-how-to-use"]],standalone:!0,features:[z],decls:2,vars:3,consts:[["class","bg-neutral-100 xl:bg-[url('/assets/home-how-to-use/background.png')] my-6 bg-contain bg-no-repeat lg:my-16 bg-right-top xl:min-h-[766px]",4,"ngLet"],[1,"bg-neutral-100","xl:bg-[url('/assets/home-how-to-use/background.png')]","my-6","bg-contain","bg-no-repeat","lg:my-16","bg-right-top","xl:min-h-[766px]"],[1,"flex","py-6","xl:py-20"],[1,"hidden","flex-grow","xl:block"],[1,"flex","flex-grow","max-w-6xl"],[1,"flex","flex-col","gap-6","xl:w-1/2"],[1,"uppercase","px-5","font-bold","xl:px-0","xl:text-xl"],["offText","Buy","onText","Redeem",1,"px-5","xl:px-0","lg:w-80",3,"change"],[1,"flex","flex-col-reverse","lg:flex-col"],[1,"flex","flex-col","px-5","gap-6","pt-4","xl:px-0"],["src","/assets/home-how-to-use/background-small.png","alt","",1,"mx-auto","w-full","max-w-4xl","lg:hidden"],[1,"flex-1","w-1/2","hidden","xl:block"],[1,"font-bold","text-3xl","xl:text-5xl","leading-tight"],[1,"text-easy-green"],[1,"font-bold","text-lg"],[1,"flex","flex-col","gap-4"],[1,"flex","gap-5"],[1,"flex","flex-shrink-0","justify-center","items-center","bg-easy-green","text-white","rounded-full","size-7"]],template:function(i,o){1&i&&(T(0,Ixe,15,1,"section",0),ve(1,"async")),2&i&&k("ngLet",Me(1,1,o.activeTab$))},dependencies:[ne,Vi,Sxe,Ii,Ln],encapsulation:2})}return t})();const Pxe=["carousel"];function Oxe(t,n){if(1&t&&x(0,"img",9),2&t){const e=n.$implicit;k("src",e.src,Jt)("alt",e.alt)}}function Rxe(t,n){if(1&t&&(c(0,"li",10),x(1,"img",11),d()),2&t){const e=n.$implicit;b(1),k("src",e.src,Jt)("alt",e.alt)}}let Fxe=(()=>{class t{constructor(){this.partners=[{src:"assets/partner-logos/naked.png",alt:"Naked Wines"},{src:"assets/partner-logos/australian-unity.png",alt:"Australian Unity"},{src:"assets/partner-logos/pernod.png",alt:"Pernod Ricard"},{src:"assets/partner-logos/civil.png",alt:"Civilcast"},{src:"assets/partner-logos/anytime-fitness.png",alt:"Anytime Fitness"},{src:"assets/partner-logos/endota-spa.png",alt:"Endota Spa"},{src:"assets/partner-logos/family-doctor.png",alt:"Family Doctor"},{src:"assets/partner-logos/holistic-health.png",alt:"Holistic Health"},{src:"assets/partner-logos/kx-pilates.png",alt:"KX Pilates"}
1,{src:"assets/partner-logos/maven-dental.png",alt:"Maven Dental"},{src:"assets/partner-logos/melbourne-psychology.png",alt:"Melbourne Psychology"},{src:"assets/partner-logos/ndis.png",alt:"NDIS"},{src:"assets/partner-logos/peninsula-hot-springs.png",alt:"Peninsula Hotsprings"},{src:"assets/partner-logos/cccwhc.png",alt:"Central Coast Community Women's Health Centre"},{src:"assets/partner-logos/surfclub.png",alt:"Coolangatta Surf Club"},{src:"assets/partner-logos/genphysio.png",alt:"GenPhysio"},{src:"assets/partner-logos/akin.png",alt:"Akin Care"},{src:"assets/partner-logos/autograph-collection.png",alt:"Autograph Collection Hotels"},{src:"assets/partner-logos/marriott.png",alt:"Marriott Hotels"}]}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:2,peek:{before:80,after:80},gap:30,autoplay:3e3,type:"carousel"}).mount()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-partner-logos"]],viewQuery:function(i,o){if(1&i&&me(Pxe,5),2&i){let r;H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:14,vars:0,consts:[[1,"p-5","lg:p-10","hidden","md:block"],[1,"mx-auto"],[1,"uppercase","font-bold","text-lg","pb-10","text-center"],[1,"flex","gap-10","flex-wrap","justify-center","mx-auto"],[1,"block","md:hidden"],[1,"glide"],["carousel",""],["data-glide-el","track",1,"glide__track"],[1,"glide__slides","flex","items-center","justify-center"],[1,"w-28","lg:w-30","h-auto","my-auto",3,"src","alt"],[1,"glide__slide","flex","items-center","justify-center"],[1,"h-auto","w-24","m-auto",3,"src","alt"],["class","w-28 lg:w-30 h-auto my-auto",3,"src","alt"],["class","glide__slide flex items-center justify-center"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"h2",2),h(3,"Mentwell Partners"),d(),c(4,"div",3),ft(5,Oxe,1,2,"img",12,ci),d()()(),c(7,"section",4)(8,"div",5,6)(10,"div",7)(11,"ul",8),ft(12,Rxe,2,2,"li",13,ci),d()()()()),2&i&&(b(5),gt(o.partners),b(7),gt(o.partners))},dependencies:[ne],encapsulation:2})}return t})();const Lxe=["carousel"],Nxe=(t,n)=>n.name;function Bxe(t,n){if(1&t){const e=Ne();c(0,"div",6),V("click",function(){const r=re(e).$implicit;return se(S().navigateToProvider(r.name))}),c(1,"div",7)(2,"div",8),h(3),d()()()}if(2&t){const e=n.$implicit;b(1),VT("background-image: url('",e.imagePath,"')"),b(1),k("ngClass",e.colourClass),b(1),pe(e.name)}}let Vxe=(()=>{class t{constructor(e){this.router=e,this._colourClasses=["bg-musk-pink","bg-bee-yellow","bg-winnie-blue","bg-easy-green","bg-ocean-orange"],this._names=["doctor","psychologist","reiki","yoga","mindfulness","dietician","psychologist","dentist","podiatrist","chiropractor","acupuncturist","counsellor","osteopath"]}ngOnInit(){let e=-1;const i=()=>(++e,e>=this._colourClasses.length&&(e=0),this._colourClasses[e]);this.providers=this._names.map(o=>({name:o,imagePath:`/assets/home-practitioners/${o}.png`,route:`/service-providers?keywords=${o.toLowerCase()}`,colourClass:i()}))}ngAfterViewInit(){new Ld(this.carousel.nativeElement,{perView:5,autoplay:3e3,gap:32,animationDuration:2e3,focusAt:1,type:"carousel",peek:{before:0,after:100},hoverpause:!1,breakpoints:{640:{perView:1,animationDuration:1e3},1024:{perView:2,animationDuration:1500},1536:{perView:3,animationDuration:1500}}}).mount()}navigateToProvider(e){e&&this.router.navigate(["/health-services-directory"],{queryParams:{keywords:e.toLowerCase()}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Pt))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-practitioner-marquee"]],viewQuery:function(i,o){if(1&i&&me(Lxe,5),2&i){let r;H(r=j())&&(o.carousel=r.first)}},standalone:!0,features:[z],decls:9,vars:0,consts:[[1,"flex","flex-col","pl-5","py-16","lg:pl-24","lg:py-10"],[1,"uppercase","mb-8","font-bold","lg:text-lg"],[1,"glide"],["carousel",""],["data-glide-el","track",1,"glide__track","mx-auto"],[1,"glide__slides","flex","h-72"],[1,"glide__slide","max-w-80","cursor-pointer",3,"click"],[1,"flex","flex-col","justify-end","size-72","rounded-lg","overflow-hidden"],[1,"px-6","py-4","uppercase","text-xl","font-bold",3,"ngClass"],["class","glide__slide max-w-80 curs
1or-pointer"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"h5",1),h(2,"Give the gift that everyone needs"),d(),c(3,"div",2,3)(5,"div",4)(6,"div",5),ft(7,Bxe,4,5,"div",9,Nxe),d()()()()),2&i&&(b(7),gt(o.providers))},dependencies:[ne,Ti],encapsulation:2})}return t})(),zxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-service-provider-coverage"]],standalone:!0,features:[z],decls:12,vars:0,consts:[[1,"py-6","lg:px-20","lg:py-16","xl:px-24","flex","justify-center"],[1,"flex","flex-col-reverse","items-center","gap-3","px-5","py-6","lg:px-20","lg:py-10","rounded-none","shadow-none","bg-neutral-100","lg:flex-row","lg:rounded-xl","lg:shadow-lg","lg:max-w-[1535px]"],[1,"flex","flex-col","gap-3"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight","text-center","lg:text-left"],[1,"text-easy-green"],[1,"hidden","xl:block","text-xl","pt-6"],["src","/assets/service-provider-coverage.png","alt",""]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"div",2)(3,"h3",3),h(4," Available for use at every health and wellness service provider, "),c(5,"span",4),h(6,"Australia-wide."),d()(),c(7,"span",5),h(8," It works just like a VISA\u2122 gift card but exclusively for health and wellness. No matter where you live in Australia or which health and wellness provider you want to use, it's as simple as a quick tap - and you're good to go. Honestly, it couldn't be easier! "),d(),c(9,"span",5),h(10," With a Mentwell gift card, you're giving someone you care about access to their local GP, osteo, dentist, or heck, even their favourite yoga studio to indulge in some downward facing dog. "),d()(),x(11,"img",6),d()())},encapsulation:2})}return t})();const $2=()=>({action:"Buy gift card",location:"Home page - use cases"});let Hxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-home-use-cases"]],standalone:!0,features:[z],decls:35,vars:6,consts:[[1,"py-6","lg:p-20"],[1,"flex","flex-col","xl:flex-row","lg:gap-5","max-w-7xl","mx-auto","justify-between"],[1,"flex","flex-col","relative","gap-7","flex-1","justify-between","text-center","lg:text-left","lg:rounded-lg","bg-bee-yellow-muted","px-6","py-8"],[1,"flex","flex-col","gap-5"],["src","/assets/home-use-cases/personal.png","alt","",1,"max-w-60","mx-auto","lg:hidden"],[1,"lg:font-semibold","uppercase"],[1,"text-3xl","lg:text-4xl","font-bold"],["button","cta","routerLink","/wellness-gift-card",1,"xl:w-fit","text-center",3,"trackClicks"],["src","/assets/home-use-cases/personal.png","alt","",1,"w-32","absolute","bottom-0","right-0","hidden","lg:block"],[1,"flex","flex-col","relative","gap-7","flex-1","justify-between","text-center","lg:text-left","lg:rounded-lg","bg-winnie-blue-muted","px-6","py-8"],["src","/assets/home-use-cases/business.png","alt","",1,"max-w-60","mx-auto","lg:hidden"],[1,"text-4xl","font-bold"],["button","","routerLink","/workplace-wellness",1,"xl:w-fit","text-center",3,"trackClicks"],["src","/assets/home-use-cases/business.png","alt","",1,"w-40","absolute","bottom-0","right-0","hidden","lg:block"],[1,"flex","flex-col","relative","gap-7","flex-1","justify-between","text-center","lg:text-left","lg:rounded-lg","bg-[#e0e0e0]","px-6","py-8"],["src","/assets/home-use-cases/service-provider.png","alt","",1,"max-w-60","mx-auto","lg:hidden"],["button","white","routerLink","/health-services-directory",1,"xl:w-fit","text-center",3,"trackClicks"],["src","/assets/home-use-cases/service-provider.png","alt","",1,"w-32","absolute","bottom-0","right-0","hidden","lg:block"]],template:function(i,o){1&i&&(c(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),x(4,"img",4),c(5,"h3",5),h(6,"INDIVIDUAL CARE"),d(),c(7,"h2",6),h(8,"I am a good human, I'd like to buy a card now"),d()(),c(9,"div")(10,"a",7),h(11," Buy a Gift Card "),d()(),x(12,"img",8),d(),c(13,"div",9)(14,"div",3),x(15,"img",10),c(16,"h3",5),h(17,"TEAM CARE"),d(),c(18,"h2",11),h(19,"I care about my team - let's bring Mentwell to my business!"),d()(),c(20,"div")(21,"a",12),h(22," Buy for Business "),d()(),x(23,"img",13),d(),c(24,"div",14)(25,"div",3),x(26,"img",15),c(27,"h3",5),h(28,"HEALTH AND WELLNESS PROFESSIONALS"),d(),c(29,"h2",11),h(30,"I'm a health professional and want to be shown on Mentwell"),d()(),c(31,"div")(32,"a",16),h(33," Start Here "),d()(),x(34,"img",17),d()()()),2&i&&(b(10),k("trackClicks",Be(3,$2)),b(11),k("trackClicks",Be(4,$2)),b(11),k("trackClicks",Be(5,$2)))},dependencies:[Dt,zt,Ar,Zt],encapsulation:2})}return t})(),jxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["home"]],standalone:!0,features:[z],decls:12,vars:4,consts:[["text","You can't use it at the bottle shop - this is a card for health, not hangovers. Snag one today!","icon","champagne","backgroundColor","bg-bee-yellow",3,"iconImage"],["text","Buy now - give the gift everyone needs","icon","Heart","backgroundColor","bg-winnie-blue",3,"iconImage"],["text","Buy now - change a life","icon","SmilingHands","backgroundColor","bg-easy-green",3,"iconImage"],["text","Buy now - help someone you love","icon","HandHeart","backgroundColor","bg-musk-pink",3,"iconImage"]],template:function(i,o){1&i&&x(0,"app-home-hero")(1,"app-home-practitioner-marquee")(2,"app-home-service-provider-coverage")(3,"app-banner",0)(4,"app-home-how-to-use")(5,"app-banner",1)(6,"app-home-features")(7,"app-banner",2)(8,"app-home-use-cases")(9,"app-banner",3)(10,"app-home-testimonials")(11,"app-home-partner-logos"),2&i&&(b(3),k("iconImage",!0),b(2),k("iconImage",!0),b(2),k("iconImage",!0),b(2),k("iconImage",!0))},dependencies:[Dxe,zxe,Vxe,Axe,Mxe,Hxe,v8,Fxe,kxe],encapsulation:2})}return t})();const $xe=()=>({action:"Buy gift card",location:"How to use - CTA"}),Uxe=()=>({action:"Buy gift card",location:"How to use - Business CTA"});let Wxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["how-to-use"]],standalone:!0,features:[z],decls:49,vars:4,consts:[[1,"container","mx-auto"],[1,"flex","flex-col","justify-center","overflow-hidden","mt-10","mx-6","lg:mt-16","md:flex-row"],[1,"w-full","xl:w-1/2","text-left","lg:max-w-2xl","xl:max-w-3xl"],[1,"font-bold","text-3xl","leading-tight","text-left","lg:text-5xl","lg:leading-[67px]"],[1,"pt-6","text-[20px]"],[1,"pt-6","xl:hidden"],["src","/assets/how-to-use/hand-holding-card.png","alt","Hand holding card",1,"mx-auto","w-auto"],[1,"flex","flex-col","gap-6","pt-6"],[1,"font-bold","text-2xl","text-easy-green","lg:text-5xl"],[1,"flex","gap-4"],[1,"flex","justify-center","align-middle","size-6","rounded-full","bg-easy-green","text-soft-black","shrink-0"],[1,"gap-2","mt-0.5","text-[20px]"],[1,"flex","justify-center","align-middle","size-6","rounded-full","bg-easy-green","text-soft-black","shrink-0","text-[20px]"],[1,"pt-6","text-[19px]","leading-7"],[1,"flex","flex-col","pt-6","pb-8","gap-4","xl:flex-row","xl:gap-6"],["button","cta","routerLink","/wellness-gift-card",1,"text-center","rounded-2xl","px-6","py-2","w-full","lg:w-auto",3,"trackClicks"],["button","","routerLink","/workplace-wellness",1,"text-center","rounded-2xl","w-full","lg:w-auto",3,"trackClicks"],[1,"w-full","md:w-1/2","lg:pl-20","text-center","lg:max-w-2xl","xl:block","hidden","xl:max-w-3xl"],["src","/assets/how-to-use/hand-holding-card.png","alt","Hand holding card",1,"mx-auto","w-auto","rounded-2xl"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),h(4,"How to use your Mentwell digital gift card? "),d(),c(5,"div",4),h(6,"Your mentwell gift card can be used at all health and wellness service providers, "),c(7,"b"),h(8,"Australia-wide where EFTPOS is accepted."),d()(),c(9,"div",5),x(10,"img",6),d(),c(11,"ul",7)(12,"h4",8),h(13,"To use your Mentwell gift card:"),d(),c(14,"li",9)(15,"span",10),h(16," 
11 "),d(),c(17,"div",11)(18,"p"),h(19,"Click on the link in your text message and email"),d()()(),c(20,"li",9)(21,"span",12),h(22," 2 "),d(),c(23,"div",11)(24,"p"),h(25,"Validate your card with your personal details"),d()()(),c(26,"li",9)(27,"span",12),h(28," 3 "),d(),c(29,"div",11)(30,"p"),h(31,"Use the card details when purchasing or booking an appointment or session online"),d()()(),c(32,"li",9)(33,"span",12),h(34," 4 "),d(),c(35,"div",11)(36,"p"),h(37,"Add your digital Mentwell gift card to your mobile wallet for contactless payment"),d()()()(),c(38,"div",13)(39,"b"),h(40,"Give someone the gift of health and wellness"),d(),h(41," and let them choose how they want to redeem. After all, what's better than helping someone along their health and wellness journey. "),d(),c(42,"div",14)(43,"a",15),h(44," Buy a Giftcard "),d(),c(45,"a",16),h(46," Buy for Business "),d()()(),c(47,"div",17),x(48,"img",18),d()()()),2&i&&(b(43),k("trackClicks",Be(2,$xe)),b(2),k("trackClicks",Be(3,Uxe)))},dependencies:[Dt,zt,Ar,Zt],encapsulation:2})}return t})(),Gxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["investor-info-page"]],standalone:!0,features:[z],decls:10,vars:0,consts:[[1,"mx-auto","container","px-4"],[1,"text-center","py-8","md:py-16","lg:py-18"],[1,"text-2xl","pb-6","font-bold","tracking-tighter","sm:text-3xl","md:text-4xl"],[1,"pb-12","md:pb-16","max-w-xl","mx-auto","md:text-lg"],[1,"shadow-lg","m-auto","w-fit","-rotate-12","bg-winnie-blue","text-white","border-8","border-white","rounded-2xl","text-lg","md:text-3xl","font-semibold","px-8","py-4","leading-relaxed"]],template:function(i,o){1&i&&(c(0,"main",0)(1,"section",1)(2,"h1",2),h(3," Investor Information "),d(),c(4,"p",3),h(5," Our investor information page is coming soon \u2014 stay tuned for updates and news about our progress and opportunities. "),d(),c(6,"div",4),h(7," COMING"),x(8,"br"),h(9,"SOON "),d()()())},encapsulation:2})}return t})(),qxe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["mission-statement"]],decls:40,vars:0,consts:[[1,"container"],[1,"row"],[1,"col-md-12","col-lg-8","offset-lg-2"],[1,"mb-4","mt-12"],["src","/assets/our-story/nikki.jpg",2,"height","400px","margin-bottom","20px"],["src","assets/mission-1.png","alt","",1,"w-11/12","m-auto","block"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),h(4,"We're on a Mission to Revolutionise Gifting and Employee Benefits"),d(),c(5,"h4",3),h(6,"Our Mission"),d(),x(7,"img",4),c(8,"p"),h(9,"Hey everyone, my name\u2019s Nikki Williams and I\u2019m the founder of Mentwell. Thanks for stopping by. I started Mentwell to help a friend pay for therapy and it\u2019s grown into a much bigger concept. Take a read\u2026"),d(),c(10,"p"),h(11,"At Mentwell, our mission is simple: to make health and wellness accessible to everyone. We believe that taking care of yourself should be empowering, not complicated. Whether you\u2019re an individual looking to improve your own health, or a business seeking to support your team, Mentwell provides the tools and services to help people live healthier, happier lives."),d(),c(12,"h4",3),h(13,"The Power of Choice"),d(),c(14,"p"),h(15,"Health and wellness are personal journeys. What works for one person may not work for another. That\u2019s why at Mentwell, we focus on giving people the autonomy to choose the wellness services that best fit their needs. From therapy and fitness to nutrition and massage, we offer a wide range of services that can be customized to each person\u2019s unique lifestyle."),d(),c(16,"p"),h(17,"Our platform makes it easy to gift health and wellness to others, allowing businesses to offer it as a benefit to employees, or for individuals to share wellness experiences with friends and family."),d(),c(18,"h4",3),h(19,"Creating Lasting Change"),d(),c(20,"p"),h(21,"True health doesn\u2019t come from quick fixes or trends\u2014it comes from sustainable, long-term habits. That\u2019s why we\u2019ve created a model built on three core pillars: Identification, Transformation, and Maintenance."),d(),c(22,"ol")(23,"li"),h(24,"Identification \u2013 We help individuals understand where they are in their health journey, so they can make informed decisions about the next steps."),d(),c(25,"li"),h(26,"Transformation \u2013 We support people in trying new services and activities that can make a real difference to their well-being."),d(),c(27,"li"),h(28,"Maintenance \u2013 We help individuals develop long-lasting habits that allow them to maintain their wellness and continue improving over time."),d()(),c(29,"p"),h(30,"By focusing on these principles, we aim to help people feel empowered to take control of their health and create positive, lasting changes in their lives."),d(),c(31,"h4",3),h(32,"Wellness for Everyone"),d(),c(33,"p"),h(34,"Our vision is a world where wellness is accessible to all, regardless of background or circumstance. At Mentwell, we\u2019re not just offering services\u2014we\u2019re offering opportunities for people to build healthier habits, feel better, and live their best lives. Whether it\u2019s a corporate wellness program or a personal wellness journey, we are here to supp
1ort you every step of the way."),d(),c(35,"p"),h(36,"Our goal is simple: to help create healthier individuals, happier teams, and more connected communities through the gift of wellness."),d()()(),c(37,"div",1)(38,"div",2),x(39,"img",5),d()()())}})}return t})(),U2=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-spinner"]],standalone:!0,features:[z],decls:6,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","width","100%","height","100%","viewBox","0 0 24 24",1,"text-current"],["stroke","currentColor"],["cx","12","cy","12","r","9.5","fill","none","stroke-linecap","round","stroke-width","3"],["attributeName","stroke-dasharray","calcMode","spline","dur","1.5s","keySplines","0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1","keyTimes","0;0.475;0.95;1","repeatCount","indefinite","values","0 150;42 150;42 150;42 150"],["attributeName","stroke-dashoffset","calcMode","spline","dur","1.5s","keySplines","0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1","keyTimes","0;0.475;0.95;1","repeatCount","indefinite","values","0;-16;-59;-59"],["attributeName","transform","dur","2s","repeatCount","indefinite","type","rotate","values","0 12 12;360 12 12"]],template:function(i,o){1&i&&($e(),c(0,"svg",0)(1,"g",1)(2,"circle",2),x(3,"animate",3)(4,"animate",4),d(),x(5,"animateTransform",5),d()())},styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const Yxe=["emailInput"];function Zxe(t,n){if(1&t){const e=Ne();c(0,"form",13),V("submit",function(o){return re(e),se(S().subscribe(o))}),x(1,"input",14,15),c(3,"button",16),h(4,"Subscribe"),d()()}if(2&t){const e=S();b(1),k("size",e.footer?"sm":void 0),b(2),k("size",e.footer?"sm":void 0)}}function Kxe(t,n){1&t&&(c(0,"p",17),h(1,"Please enter a valid email address."),d())}const Qxe=()=>({subject:"Error",location:"Newsletter - {{trackingLocation}}"});function Xxe(t,n){1&t&&(c(0,"p",17),h(1," Sorry, we've encountered an error."),x(2,"br"),h(3," Please try again or "),c(4,"a",18),h(5,"contact us"),d(),h(6," for assistance. "),d()),2&t&&(b(4),k("trackContactUs",Be(1,Qxe)))}function Jxe(t,n){1&t&&(c(0,"p",19),h(1,"Thank you, we're excited to have you on board!"),d())}function eCe(t,n){1&t&&x(0,"app-spinner",20)}let D8=(()=>{class t{constructor(e,i,o,r){this.http=e,this.configService=i,this.tracker=o,this.styles=r,this.isLegacyStyle=!1,this.footer=!1,this.hasFormError=!1,this.hasApiError=!1,this.hasApiSuccess=!1,this.isLoadingSubmit=!1}ngOnInit(){this.styleSubscription=this.styles.isLegacy$.subscribe(e=>this.isLegacyStyle=e)}ngOnDestroy(){this.styleSubscription?.unsubscribe()}subscribe(e){e.preventDefault();const i=this.emailInput?.nativeElement.value;if(this.hasApiSuccess=!1,this.hasApiError=!1,this.isLoadingSubmit=!0,this.hasFormError=!1,0===i.length)return this.hasFormError=!0,this.errorMessage="Email is required.",void(this.isLoadingSubmit=!1);this.http.post(`${this.configService.config.baseApiUrl}/contact-request`,{emailAddress:i,properties:{generalConsumer:!0}}).pipe(Xi(r=>this.handleError(this,r))).subscribe(()=>{this.hasApiSuccess=!0,this.isLoadingSubmit=!1,this.tracker.trackContactRequest("Signed up","Newsletter",this.footer?"Footer":"Newsletter page")})}handleError(e,i){return this.isLoadingSubmit=!1,0===i.status?console.error("An error occured:",i.error):console.error(`Backend returned code ${i.status}, body was:`,i.error),e.hasApiError=!0,nd(()=>new Error("Something bad happened; please try again later."))}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(la),v(lm))};static#t=this.\u0275cmp=O({type:t,selectors:[["newsletter-subscription"]],viewQuery:function(i,o){if(1&i&&me(Yxe,5),2&i){let r;H(r=j())&&(o.emailInput=r.first)}},hostVars:2,hostBindings:function(i,o){2&i&&je("legacy-styles",o.isLegacyStyle)},inputs:{footer:"footer"},standalone:!0,features:[z],decls:24,vars:5,consts:[[1,"flex","flex-col","gap-4"],[1,"flex","flex-col","gap-2"],["class","flex gap-3 flex-col lg:flex-row"],["class","text-red-700"],["class","text-easy-green"],["class","w-10 mx-auto text-easy-green"],[1,"text-sm"],["routerLink","/privacy",1,"underline"],[1,"flex","gap-2","mb-2"],["src","assets/newsletter-subscription-component/aboriginal_flag 1.png","alt","aboriginal_flag"],["src","assets/newsletter-subscription-component/tsi_flag 1.png","alt","tsi_flag"],["src","assets/newsletter-subscription-component/pride_flag 1.png","alt","pride_flag"],[1,"mt-2","text-sm"],[1,"flex","gap-3","flex-col","lg:flex-row",3,"submit"],["input","","type","email","autocomplete","email","placeholder","Enter your Email",1,"flex-grow",3,"size"],["emailInput",""],["button","",1,"bg-easy-green","text-black","hover:bg-easy-green-bright",3,"size"],[1,"text-red-700"],["onclick","window.HubSpotConversations.widget.open()",1,"curs
1or-pointer","underline",3,"trackContactUs"],[1,"text-easy-green"],[1,"w-10","mx-auto","text-easy-green"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"p"),h(2,"Join our newsletter to stay up to date on features and releases."),d(),c(3,"div",1),T(4,Zxe,5,2,"form",2)(5,Kxe,2,0,"p",3)(6,Xxe,7,2,"p",3)(7,Jxe,2,0,"p",4),d(),T(8,eCe,1,0,"app-spinner",5),c(9,"p",6),h(10," By subscribing you agree to with our "),c(11,"a",7),h(12,"Privacy Policy"),d(),h(13," and provide consent to receive updates from our company. "),d(),c(14,"div")(15,"div",8),x(16,"img",9)(17,"img",10),d(),c(18,"p",6),h(19,"Mentwell acknowledges the Traditional Owners of the lands on which we operate, and we pay our respects to Elders past, present, and emerging."),d()(),c(20,"div"),x(21,"img",11),c(22,"p",12),h(23,"Mentwell respects and welcomes people of all backgrounds, genders, sexualities, abilities and cultures."),d()()()),2&i&&(b(4),U(4,o.hasApiSuccess?-1:4),b(1),U(5,o.hasFormError?5:-1),b(1),U(6,o.hasApiError?6:-1),b(1),U(7,o.hasApiSuccess?7:-1),b(1),U(8,o.isLoadingSubmit?8:-1))},dependencies:[ne,Nn,Dt,zt,U2,Zt,kd],styles:[".legacy-styles[_nghost-%COMP%]{font-size:16px!important}.legacy-styles[_nghost-%COMP%]   .flex-col[_ngcontent-%COMP%]{flex-direction:column}.legacy-styles[_nghost-%COMP%]   .gap-3[_ngcontent-%COMP%]{gap:.75rem}.legacy-styles[_nghost-%COMP%]   .gap-4[_ngcontent-%COMP%]{gap:1rem!important}.legacy-styles[_nghost-%COMP%]   .font-medium[_ngcontent-%COMP%]{font-weight:500}.legacy-styles[_nghost-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.legacy-styles[_nghost-%COMP%]   .py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.legacy-styles[_nghost-%COMP%]   .py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.legacy-styles[_nghost-%COMP%]   .px-2[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}.legacy-styles[_nghost-%COMP%]   .px-3[_ngcontent-%COMP%]{padding-left:.75rem!important;padding-right:.75rem!important}.legacy-styles[_nghost-%COMP%]   .rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.legacy-styles[_nghost-%COMP%]   .text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.legacy-styles[_nghost-%COMP%]   .hover\\:bg-soft-black-bright[_ngcontent-%COMP%]:hover{background-color:#423e3e}.legacy-styles[_nghost-%COMP%]   .transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.legacy-styles[_nghost-%COMP%]   .bg-soft-black[_ngcontent-%COMP%]{background-color:#201e1e}.legacy-styles[_nghost-%COMP%]   .text-red-700[_ngcontent-%COMP%], .legacy-styles[_nghost-%COMP%]   .text-red-700[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28/var(--tw-text-opacity))}.legacy-styles[_nghost-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;color:currentColor}.legacy-styles[_nghost-%COMP%]   .w-10[_ngcontent-%COMP%]{width:2.5rem}@media (min-width: 1024px){.legacy-styles[_nghost-%COMP%]   .lg\\:flex-row[_ngcontent-%COMP%]{flex-direction:row}}@media (min-width: 640px){.legacy-styles[_nghost-%COMP%]   .sm\\:leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.legacy-styles[_nghost-%COMP%]   .sm\\:text-sm[_ngcontent-%COMP%]{font-size:.875rem}}"]})}return t})(),tCe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["newsletter-page"]],standalone:!0,features:[z],decls:5,vars:0,consts:[[1,"container","max-w-xl","mx-auto","px-5","flex","flex-col","gap-8","py-8","lg:py-12"],["src","/assets/together.png","alt","",1,"mx-auto"],["trackingLocation","Newsletter page"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"app-page-heading"),h(2,"Newsletter"),d(),x(3,"img",1)(4,"newsletter-subscription",2),d())},dependencies:[D8,Sr],encapsulation:2})}return t})();function iCe(t,n){if(1&t&&(c(0,"a",9)(1,"div",10),x(2,"img",11),c(3,"div",12)(4,"h3",13),h(5),d(),c(6,"h4",14)(7,"span",15),h(8),d(),h(9),ve(10,"date"),d()()(),c(11,"div",16)(12,"p",17),h(13),d()()()),2&t){const e=n.$implicit;k("href",e.url,Jt),b(2),k("src",e.imagePath,Jt),b(3),pe(e.publication),b(3),pe(e.type),b(1),ce(" \u2014 ",Me(10,6,e.date)," "),b(4),
1ce("",e.title,".")}}const nCe=[{date:new Date("2024-02-13"),publication:"Smart Company",type:"article",title:"Australia's first health and wellness gift card startup quickly achieves $5.8 million in sales",imagePath:"smart-company.png",url:"https://www.smartcompany.com.au/people-human-resources/wellbeing/mentwell-australia-first-health-and-wellness-gift-card-startup/"},{date:new Date("2023-10-14"),publication:"The Mirage",type:"article",title:"Mentwell to Transform Gifting Industry with Empathetic Approach",imagePath:"mirage-news.webp",url:"https://www.miragenews.com/mentwell-to-transform-gifting-industry-with-1103547/"},{date:new Date("2024-04-24"),publication:"Start Up Daily",type:"article",title:"Mentwell and Love Out Loud Foundation team up to support Bondi Junction victims",imagePath:"startup-daily.png",url:"https://www.startupdaily.net/topic/events/mentwell-and-love-out-loud-foundation-team-up-to-support-bondi-junction-victims/"},{date:new Date("2023-11-21"),publication:"Clever Cafe Company",type:"article",title:"Let us share Nikki's inspiring story with you",imagePath:"clever-cafe.png",url:"https://www.clevercafecompany.com.au/mentwell/"},{date:new Date("2024-04-24"),publication:"Fashion Business Mindset",type:"podcast",title:"Nikki Williams, Founder of Mentwell | Conscious Gift Giving Through Health & Wellness",imagePath:"apple-podcasts.png",url:"https://podcasts.apple.com/au/podcast/nikki-williams-founder-of-mentwell-conscious-gift/id1524413617?i=1000653383882"},{date:new Date("2023-10-10"),publication:"Start Up to Follow",type:"article",title:"Mentwell is set to Revolutionize the Gifting Industry with Empathetic Gifting",imagePath:"startup-to-followup.jpg",url:"https://www.startuptofollow.com/article/mentwell-is-set-to-revolutionize-the-gifting-industry-with-empathetic-gifting"},{date:new Date("2023-10-16"),publication:"My Australian News",type:"article",title:"Mentwell is set to Revolutionise the Gifting Industry with Empathetic Gifting",imagePath:"my-australian-news.png",url:"https://www.myaustraliannews.com.au/news-releases.html?rkey=20231015medianet_pr_994494&filter=16865"},{date:new Date("2024-04-29"),publication:"Smart Company",type:"article",title:"Ditching the hustle culture is good for profitability and wellbeing",imagePath:"smart-company.png",url:"https://www.smartcompany.com.au/opinion/ditching-hustle-culture-profitability-wellbeing/"},{date:new Date("2024-04-17"),publication:"Health, Happiness + Human Kind",type:"podcast",title:"Saving Lives with Empathetic Gifting with Mentwell & Nikki Williams",imagePath:"poddtoppen.png",url:"https://poddtoppen.se/podcast/952917148/health-happiness-human-kind/hhhk-481-saving-lives-with-empathetic-gifting-with-mentwell-nikki-williams"},{date:new Date("2024-04-22"),publication:"Balance the Grind",type:"article",title:"Balancing the Grind with Nikki Williams, Founder at Mentwell",imagePath:"balance-the-grind.png",url:"https://balancethegrind.co/interviews/nikki-williams-founder-at-mentwell/"},{date:new Date("2024-04-02"),publication:"Intelligent Performance",type:"podcast",title:"A Fresh Approach to Employee Assistance: Meet The Mentwell Innovation",imagePath:"audacy.png",url:"https://www.audacy.com/podcast/intelligent-performance-9bded/episodes/ep-56-a-fresh-approach-to-employee-assistance-meet-the-mentwell-innovation-4beb5"},{date:new Date("2023-07-03"),publication:"Wise Dome",type:"podcast",title:"Inspiring Change Through Gifts: An Interview with Nikki Williams of Mentwell",imagePath:"pod-ops-host.png",url:"https://podopshost.com/6555a05b173df/14496"},{date:new Date("2024-04-18"),publication:"Steph Lowe",type:"podcast",title:"Saving Lives with Empathetic Gifting with Nikki Williams",imagePath:"steph-lowe.png",url:"https://www.stephlowe.com/podcasts/481"},{date:new Date("2024-03-31"),publication:"Start Up Daily",type:"article",title:"Breaking barriers to the future: Australia's first Pride Pitch Night sparkles with LGBTIQA+ innovation",imagePath:"startup-daily.png",url:"https://www.startupdaily.net/topic/people/breaking-barriers-to-the-future-australias-first-pride-pitch-night-sparkles-with-lgbtiqa-innovation/"},{date:new Date("2024-05-14"),publication:"The Unemployables",type:"video",title:"$5.8M With ZERO Spent On Mar
1keting In Just 18 Weeks",imagePath:"youtube.png",url:"https://www.youtube.com/watch?v=intYFI8Il1U"}];let oCe=(()=>{class t{constructor(){this.stories=nCe.map(e=>({...e,imagePath:`/assets/media-coverage/${e.imagePath}`})).sort((e,i)=>e.date.getTime()-i.date.getTime())}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["press-coverage"]],standalone:!0,features:[z],decls:13,vars:0,consts:[[1,"max-w-7xl","mx-auto"],[1,"w-full","py-8","md:py-16","lg:py-18"],[1,"container","px-4","md:px-6","mx-auto"],[1,"flex","flex-col","items-center","justify-center","space-y-4","text-center"],[1,"space-y-2"],[1,"text-2xl","font-bold","tracking-tighter","sm:text-3xl","md:text-4xl"],[1,"max-w-[700px]","text-gray-500","md:text-xl/relaxed","xl:text-xl/relaxed"],[1,"w-full","flex","justify-center","p-4","md:p-8","bg-gray-100","xl:rounded-lg"],[1,"container","grid","gap-4","md:gap-8","md:grid-cols-2","lg:grid-cols-3"],["target","_blank",1,"group","grid","h-auto","w-full","items-start","justify-start","gap-4","rounded-lg","bg-white","p-6","text-sm","font-medium","hover:outline","hover:outline-2","focus:outline-gray-300","hover:outline-gray-300",3,"href"],[1,"flex","gap-4"],["alt","Publication Logo",1,"aspect-square","object-contain","h-12","w-12","rounded-lg","bg-gray-100","border-2","border-gray-100","text-gray-50",3,"src"],[1,"flex","flex-col","gap-1"],[1,"text-lg","leading-tight"],[1,"text-gray-400","text-sm"],[1,"capitalize"],[1,"flex","flex-col","gap-3"],[1,"text-gray-600"],["class","group grid h-auto w-full items-start justify-start gap-4 roun
1ded-lg bg-white p-6 text-sm font-medium hover:outline hover:outline-2 focus:outline-gray-300 hover:outline-gray-300","target","_blank",3,"href"]],template:function(i,o){1&i&&(c(0,"main",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),h(6,"Press Highlights"),d(),c(7,"p",6),h(8," Media coverage highlighting our achievements and milestones. "),d()()()()(),c(9,"section",7)(10,"div",8),ft(11,iCe,14,8,"a",18,af),d()()()),2&i&&(b(11),gt(o.stories))},dependencies:[pr],encapsulation:2})}return t})();const rCe=()=>({subject:"Inaccurate personal info",location:"Privacy policy"});let sCe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["privacy-policy"]],decls:265,vars:2,consts:[[1,"container"],[1,"row"],[1,"col-lg-3"],[1,"col-lg-6"],[1,"col-lg-12"],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"],["href","mailto:[email protected]"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1),x(2,"div",2),c(3,"div",3)(4,"h1"),h(5,"Privacy Policy"),d(),c(6,"p"),h(7," Mentwell Pty Ltd ACN 664 607 390 and its related bodies corporate ("),c(8,"b"),h(9,"us, we or our"),d(),h(10,") provides an online platform for the purchase, redemption and management of digital gift cards for health services "),c(11,"b"),h(12,"(the Service)."),d()(),c(13,"p"),h(14," We are committed to protecting the personal and financial details you provide in line with our Privacy Policy and the Australian Privacy Principles under the Privacy Act 1988 (Cth) ("),c(15,"b"),h(16,"Privacy Act"),d(),h(17,"). When we refer to \u2018personal information\u2019 in this Privacy Policy, we are referring to that term as it is defined in the Privacy Act (explained in further detail below). The personal information that we collect through our online platform is used for providing and improving this Service. Our Privacy Policy sets out how we collect, use, store and disclose your personal information. By providing personal information to us, you consent to our collection, use and disclosure of this information in accordance with this privacy policy. "),d(),c(18,"p"),h(19," We may change this privacy policy from time to time by publishing changes to it on our website. We encourage you to check our website periodically to ensure that you are aware of our current privacy policy. "),d(),c(20,"div",1)(21,"div",4)(22,"h2"),h(23,"1. The information we collect and retain"),d()()(),c(24,"p"),h(25," We may collect and retain a range of different information about you. This can include the following: "),d(),c(26,"div",1)(27,"div",4)(28,"h3"),h(29,"Personal information"),d()()(),c(30,"p"),h(31," \u2018Personal information\u2019 is information from an individual who is reasonably identifiable. Examples of the types of personal information we may collect include: "),d(),c(32,"ul")(33,"li")(34,"b"),h(35,"Personal details"),d(),h(36," \u2013 name; age or date of birth gender; and nationality."),d(),c(37,"li")(38,"b"),h(39,"Contact information"),d(),h(40," \u2013 mailing or street address; email address; telephone number; your device ID, device type, geo-location information, computer and connection information, statistics on page views, traffic to and from the sites, ad data, IP address and standard web log information."),d(),c(41,"li")(42,"b"),h(43,"Financial information"),d(),h(44," \u2013 bank or credit card information used to transact with us and other information that allows us to transact with the individual."),d(),c(45,"li")(46,"b"),h(47,"Statistical information"),d(),h(48," \u2013 details of the products and services we have provided to you or that you have enquired about, including any additional information necessary to deliver those products and services and respond to your enquiries."),d(),c(49,"li")(50,"b"),h(51,"Health information "),d(),h(52," \u2013 the following information:"),d(),c(53,"li"),h(54,"information or an opinion about the health, including an illness, disability or injury of an individual, or an individual\u2019s expressed wishes about the future provision of health services to the individual, or a health service provided, or to be provided, to an individual that is also personal information;"),d(),c(55,"li"),h(56,"all information collected in the course of providing a"),c(57,"b"),h(58," health service;"),d()(),c(59,"li"),h(60,"information about organ or body substance donation;"),d(),c(61,"li"),h(62,"genetic information"),d()(),c(63,"p"),h(64," Health information is 'sensitive information' under the Privacy Act, meaning that some stricter requirements apply when handling it. "),d(),c(65,"p")(66,"b"),h(67,"Information"),d(),h(68," \u2013in addition to health information, this also includes information relating to your ethnic origin, sexual orientation, religious beliefs or political opinions will only be collected where:"),x(69,"br"),d(),c(70,"ol")(71,"li"),h(72,"it is reasonably necessary for our functions or activities;"),d(),c(73,"li"),h(74,"you have consented to the collection of this information; or"),d(),c(75,"li"),h(76,"we are required or authorised under the law to do so."),d()(),c(77,"p")(78,"b"),h(79,"Other information"),d(),h(80," \u2013 any additional information relating to you that you provide to us directly through our website or indirectly through your use of our website or online presence or through other websites or accounts from which you permit us to collect information. "),d(),c(81,"div",1)(82,"div",4)(83,"h3"),h(84," Party Identifiable Information"),d()()(),c(85,"p"),h(86," In certain circumstances, such as when a voucher or gift card 
1is purchased by you for another individual, we may also collect the information that you provide to us on that individual such as their, name, email and postal address."),d(),c(87,"p"),h(88," In providing us with any personal information, you are declaring to us that you are authorised to provide us with that personal information and that we can use that personal information for the purposes as set out in this privacy policy. "),d(),c(89,"div",1)(90,"div",4)(91,"h2"),h(92,"2. How do we collect personal information?"),d()()(),c(93,"p"),h(94," We may collect the following types of personal information either directly from you, or from third parties. "),d(),c(95,"p"),h(96," We may collect this information when you do any of the following: "),d(),c(97,"ul")(98,"li"),h(99,"Register on our website;"),d(),c(100,"li"),h(101,"Communicate with us through correspondence, chats, email,"),d(),c(102,"li"),h(103,"Share information with us from other social applications, services or websites;"),d(),c(104,"li"),h(105,"Interact with our sites, services, content and advertising;"),d(),c(106,"li"),h(107,"Enquire about our business generally; or"),d(),c(108,"li"),h(109,"Are the recipient of a gift card, from the person who purchased the gift card for you."),d()(),c(110,"div",1)(111,"div",4)(112,"h2"),h(113,"3. Why do we collect, use and disclose personal information?"),d()()(),c(114,"p"),h(115," Our use of the personal information we collect is necessary in order for us to maintain our website and facilitate users\u2019 use of the website and our service. We do not collect any unnecessary personal data from users. "),d(),c(116,"p"),h(117," We may collect, hold, use and disclose your personal information for the following purposes: "),d(),c(118,"ul")(119,"li"),h(120,"to enable you to access and use our website;"),d(),c(121,"li"),h(122,"to provide our services;"),d(),c(123,"li"),h(124,"to operate, protect, improve and optimise our website business and our users\u2019 experience;"),d(),c(125,"li"),h(126,"to liaise with service providers of the gift cards we offer;"),d(),c(127,"li"),h(128,"to create accounts, tax invoices or receipts;"),d(),c(129,"li"),h(130,"to send you service, support and administrative messages, reminders, technical notices, updates, security alerts, and information requested by you;"),d(),c(131,"li"),h(132,"to send you marketing and promotional messages and other information that may be of interest to you, including information sent by, or on behalf of, our business partners that we think you may find interesting; "),d(),c(133,"li"),h(134,"to administer rewards, surveys, contests, or other promotional activities or events sponsored or managed by us or our business partners;"),d(),c(135,"li"),h(136,"to comply with our legal obligations, resolve any complaints or disputes that we may have with any of our users, and enforce our agreements with third parties."),d()(),c(137,"p"),h(138," In general, we keep your data only for the period necessary for the accomplishment of the purposes for which that data was collected, or longer if necessary to fulfill legal or regulatory obligations. We will then de-identify or destroy personal data when no longer required by us. "),d(),c(139,"p"),h(140," We may create aggregate, de-identified data derived from data we hold about you ("),c(141,"b"),h(142,"usage data"),d(),h(143,"). For example, we may create aggregated, de-identified data for the purpose of improving our services or sharing insights with our customers or partners. None of your usage data will be disclosed to third parties in a non-aggregated or identifiable form. "),d(),c(144,"p"),h(145," If an additional purpose for collection of your personal information arises, we will disclose this in at the time of collecting that information. "),d(),c(146,"h2"),h(147,"Direct marketing"),d(),c(148,"p"),h(149," We and/or our carefully selected business partners may send you direct marketing communications and information about our Service. This may take the form of emails, SMS, mail or other forms of communication, in accordance with the Spam Act and the Privacy Act. You may opt-out of receiving marketing materials from us by contacting us using the details set out below or by using the opt-out facilities provided (e.g. an unsubscribe link). "),d(),c(150,"div",1)(151,"div",4)(152,"h2"),h(153,"4. To whom do we disclose your personal information?"),d()()(),c(154,"p"),h(155," We will not disclose any personal information other than with your permission or as otherwise outlined in this privacy policy. We may disclose personal information for the purposes described 
1in this privacy policy to: "),d(),c(156,"ul")(157,"li"),h(158,"our employees and related bodies corporate who process and complete transactions on our website;"),d(),c(159,"li"),h(160,"you if purchase a digital gift card, the service provider/s that you (or the digital gift card recipient) selects;"),d(),c(161,"li"),h(162,"professional advisers, dealers and agents;"),d(),c(163,"li"),h(164,"systems operators (e.g. merchants receiving card payments);"),d(),c(165,"li"),h(166,"our existing or potential agents, business partners or partners;"),d(),c(167,"li"),h(168,"our sponsors or promoters of any competition that we conduct via our services;"),d(),c(169,"li"),h(170,"anyone to whom our assets or businesses (or any part of them) are transferred;"),d(),c(171,"li"),h(172,"specific third parties authorised by you to receive information held by us; and/or"),d(),c(173,"li"),h(174,"other persons, including government agencies, regulatory bodies and law enforcement agencies, or as required, authorised or permitted by law."),d()(),x(175,"p"),c(176,"h2"),h(177,"Disclosure of personal information outside Australia"),d(),c(178,"p"),h(179," We may disclose personal information outside of Australia. "),d(),c(180,"p"),h(181," you provide your personal information to us, you consent to the disclosure of your information outside of Australia When and acknowledge that we are not required to ensure that overseas recipients handle that personal information in compliance with Australian Privacy Law. We will, however, take reasonable steps to ensure that any overseas recipient will deal with such personal information in a way that is consistent with the Australian Privacy Principles. "),d(),c(182,"div",1)(183,"div",4)(184,"h2"),h(185,"5. Using our website and cookies"),d()()(),c(186,"p"),h(187," May collect We personal information about you when you use and access our website. "),d(),c(188,"p"),h(189," While we do not use browsing information to identify you personally, we may record certain information about your use of our website, such as which pages you visit, the time and date of your visit and the internet protocol address assigned to your computer. "),d(),c(190,"p"),h(191," We may also use 'cookies' or other similar tracking technologies on our website that help us track your website usage and remember your preferences. Cookies are small files that store information on your computer, TV, mobile phone or other device. They enable the entity that put the cookie on your device to recognise you across different websites, services, devices and/or browsing sessions. "),d(),c(192,"p"),h(193," We may also use cookies to enable us to collect data that may include personal information. For example, where a cookie is linked to your account, it will be considered personal information under the Privacy Act. We will handle any personal information collected by cookies in the same way that we handle all other personal information in accordance with this Privacy Policy. "),d(),c(194,"p"),h(195," You can disable cookies through your internet browser but our websites may not work as intended for you if you do so. "),d(),c(196,"div",1)(197,"div",4)(198,"h2"),h(199,"6. Security of personal information "),d()()(),c(200,"p"),h(201," May hold your personal information in either electronic or hard copy form. We use industry standard measures to safeguard your personal information from misuse, interference and loss, as well as unauthorised access, modification or disclosure. "),d(),c(202,"p"),h(203," Should we become aware of any breach to our security systems that is likely to place your personal information at risk, we will notify you and any authority as required. If you suspect ay misuse or unauthorised access to your personal information, you should let us know immediately. "),d(),c(204,"p"),h(205," We are not liable for any claim arising out of a third party\u2019s use of the personal information where we were authorised to provide that third party the personal information under this privacy policy. "),d(),c(206,"div",1)(207,"div",4)(208,"h2"),h(209,"7. Links"),d()()(),c(210,"p"),h(211," Our website may contain links to websites operated by third parties. Those links are provided for your convenience and may not remain current or be maintained. "),d(),c(212,"p"),h(213," Unless expressly stated otherwise, we are not responsible for the privacy practices of, or any content on, those linked websites, and have no control over or rights in those linked websites. "),d(),c(214,"p"),h(215," The privacy policies of these third parties may differ substantially from our privacy policy, so we encourage you to read them before using those websites. "),d(),c(216,"div",1)(217,"div",4)(218,"h2"),h(219,"8. or correcting your personal Accessing information"),d()()(),c(220,"p"),h(221," You can access the personal information we hold about you by contacting us using the contact details below. Sometimes, we may 
1not be able to provide you with access to all of your personal information and, where this is the case, we will tell you why. We may also need to verify your identity when you request your personal information. "),d(),c(222,"p"),h(223," If you think that any personal information we hold about you is inaccurate, please "),c(224,"a",5),h(225,"contact us"),d(),h(226," and we will take reasonable steps to ensure that it is corrected. "),d(),c(227,"div",1)(228,"div",4)(229,"h2"),h(230,"9. General Data Protection Regulation (GDPR)"),d()()(),c(231,"p"),h(232," The GDPR is a regime of personal data protection requirements in the European Union. Any reference to personal information in our privacy policy should also be read as a reference to \u2018Personal Data\u2019 as defined under the GDPR. "),d(),c(233,"p"),h(234," If you are: "),d(),c(235,"ol")(236,"li"),h(237,"a resident of the European Union accessing our website or receiving our Service in Australia; or"),d(),c(238,"li"),h(239,"accessing our online platforms or receiving our services from within the European Union,"),d()(),c(240,"p"),h(241," then in addition to our obligations under the Privacy Act, we undertake to comply with the GDPR with respect to your personal information. "),d(),c(242,"div",1)(243,"div",4)(244,"h2"),h(245,"10. Making a complaint"),d()()(),c(246,"p"),h(247," If you wish to make a complaint about the way we have handled your personal information, you can contact us using the contact details below. "),d(),c(248,"p"),h(249," Please include your name, email address and/or telephone number and clearly describe your complaint. We will acknowledge your complaint and respond to you regarding your complaint within a reasonable period of time. If you think that we have failed to resolve the complaint satisfactorily, we will provide you with information about the further steps you can take. "),d(),c(250,"div",1)(251,"div",4)(252,"h2"),h(253,"11. Contact us"),d()()(),c(254,"p"),h(255," For further information about our privacy policy or practices, or to access or correct your personal information, or make a complaint, please contact us using the details set out below: "),d(),c(256,"p"),h(257," Privacy Officer "),d(),c(258,"p")(259,"a",6),h(260,"[email protected]"),d()(),c(261,"p")(262,"b"),h(263," Effective"),d(),h(264,": 6th May 2023 "),d()()()()),2&i&&(b(224),k("trackContactUs",Be(1,rCe)))},dependencies:[Nn],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}h2[_ngcontent-%COMP%]{text-transform:uppercase}"]})}return t})(),aCe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-link-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M19.902 4.098a3.75 3.75 0 0 0-5.304 0l-4.5 4.5a3.75 3.75 0 0 0 1.035 6.037.75.75 0 0 1-.646 1.353 5.25 5.25 0 0 1-1.449-8.45l4.5-4.5a5.25 5.25 0 1 1 7.424 7.424l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.757-1.757a3.75 3.75 0 0 0 0-5.304Zm-7.389 4.267a.75.75 0 0 1 1-.353 5.25 5.25 0 0 1 1.449 8.45l-4.5 4.5a5.25 5.25 0 1 1-7.424-7.424l1.757-1.757a.75.75 0 1 1 1.06 1.06l-1.757 1.757a3.75 3.75 0 1 0 5.304 5.304l4.5-4.5a3.75 3.75 0 0 0-1.035-6.037.75.75 0 0 1-.354-1Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),S8=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-map-pin-solid-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963
1-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),E8=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-phone-solid-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),W2=(()=>{class t{constructor(e){this.eRef=e}loadFallbackOnError(){this.eRef.nativeElement.src=this.avatarImgFallback??"/assets/avatar-fallback.jpg"}static#e=this.\u0275fac=function(i){return new(i||t)(v(be))};static#t=this.\u0275dir=N({type:t,selectors:[["img","avatarFallback",""]],hostBindings:function(i,o){1&i&&V("error",function(){return o.loadFallbackOnError()})},inputs:{avatarImgFallback:"avatarImgFallback"},standalone:!0})}return t})();const lCe=/[\u0020-\u007E\u00A0-\u00FF\u0100-\u017F]+/g;let T8=(()=>{class t{transform(e){return e&&(e.match(lCe)?.join(" ")??"")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275pipe=pn({name:"filterNonDisplayable",type:t,pure:!0,standalone:!0})}return t})();function cCe(t,n){1&t&&(c(0,"div",3),h(1," ASSURE "),d())}function dCe(t,n){1&t&&(c(0,"div",4),h(1," ELEVATE "),d())}function uCe(t,n){1&t&&(c(0,"div",5),h(1," PREMIERE "),d())}let I8=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["provider-badge"]],inputs:{level:"level"},standalone:!0,features:[z],decls:3,vars:3,consts:[["class","rounded-2xl bg-provider-bronze pt-1.5 pb-1 pl-4 pr-4 uppercase font-medium text-center"],["class","rounded-2xl bg-provider-silver pt-1.5 pb-1 pl-4 pr-4 uppercase font-medium text-center"],["class","rounded-2xl bg-provider-gold pt-1.5 pb-1 pl-4 pr-4 uppercase font-medium text-center"],[1,"rounded-2xl","bg-provider-bronze","pt-1.5","pb-1","pl-4","pr-4","uppercase","font-medium","text-center"],[1,"rounded-2xl","bg-provider-silver","pt-1.5","pb-1","pl-4","pr-4","uppercase","font-medium","text-center"],[1,"rounded-2xl","bg-provider-gold","pt-1.5","pb-1","pl-4","pr-4","uppercase","font-medium","text-center"]],template:function(i,o){1&i&&T(0,cCe,2,0,"div",0)(1,dCe,2,0,"div",1)(2,uCe,2,0,"div",2),2&i&&(U(0,"Bronze"==o.level?0:-1),b(1),U(1,"Silver"==o.level?1:-1),b(1),U(2,"Gold"==o.level?2:-1))},encapsulation:2})}return t})();function hCe(t,n){1&t&&(c(0,"a",4),h(1,"Claim This Profile"),d()),2&t&&cr("routerLink","/provider/",S().ngLet.id,"/claim")}function mCe(t,n){1&t&&x(0,"app-spinner",6)}const pCe=()=>({subject:"Error",location:"Provider profile"});function fCe(t,n){1&t&&(c(0,"div",7)(1,"h5",8),h(2," Sorry, we've encountered an error loading the provider profile. "),d(),c(3,"p"),h(4," Please reload the page or "),c(5,"a",9),h(6,"contact us"),d(),h(7," for assistance. "),d()()),2&t&&(b(5),k("trackContactUs",Be(1,pCe)))}const gCe=(t,n)=>n.id;function _Ce(t,n){if(1&t&&(c(0,"div",24),x(1,"app-map-pin-solid-icon",25),c(2,"div"),h(3),d()()),2&t){const e=n.$implicit;b(3),pe(e.originalText)}}function bCe(t,n){if(1&t&&(c(0,"div",24),x(1,"app-phone-solid-icon",26),c(2,"a",27),h(3),d()()),2&t){const e=S(3).ngLet;b(2),cr("href","tel:",e.phone,"",Jt),b(1),pe(e.phone)}}function vCe(t,n){if(1&t&&(c(0,"div",24),x(1,"app-phone-solid-icon",26),c(2,"a",27),h(3),d()()),2&t){const e=S(3).ngLet;b(2),cr("href","tel:",e.phone2,"",Jt),b(1),pe(e.phone2)}}function yCe(t,n){if(1&t&&(x(0,"app-link-icon",25),c(1,"a",28),h(2),d()),2&t){const e=S(3).ngLet;b(1),k("href",e.websiteUrl,Jt),b(1),ce("",e.name," Website")}}function wCe(t,n){1&t&&(c(0,"a",28),x(1,"img",29),d()),2&t&&k("href",S(3).ngLet.instagramUrl,Jt)}function xCe(t,n){1&t&&(c(0,"a",28),x(1,"img",30),d()),2&t&&k("href",S(3).ngLet.facebookUrl,Jt)}function CCe(t,n){1&t&&(c(0,"a",28),x(1,"img",31),d()),2&t&&k("href",S(3).ngLet.linkedInUrl,Jt)}function kCe(t,n){1&t&&x(0,"provider-badge",19),2&t&&k("level",S(3).ngLet.subscriptionLevel)}function MCe(t,n){if(1&t&&(c(0,"li"),h(1),d()),2&t){const e=n.$implicit;b(1),pe(e)}}function DCe(t,n){if(1&t&&(c(0,"p"),h(1),ve(2,"filterNonDisplayable"),d()),2&t){const e=S(3).ngLet;b(1),pe(Me(2,1,e.description))}}function SCe(t,n){if(1&t&&(c(0,"li"),h(1),d()),2&t){const e=n.$implicit;b(1),pe(e)}}function ECe(t,n){if(1&t&&(c(0,"div",32)(1,"h3",33),h(2,"Specialities"),d(),c(3,"ul",34),ft(4,SCe,2,1,"li",null,ci),d()()),2&t){const e=S(3).ngLet;b(4),gt(null==e?null:e.services)}}function TCe(t,n){if(1&t&&(c(0,"li")(1,"a",35),h(2),d()()),2&t){const e=n.$implicit;b(1),cr("routerLink","/provider/",e.id,""),b(1),pe(e.name)}
1}function ICe(t,n){if(1&t&&(c(0,"div",32)(1,"h3",33),h(2,"Team Members"),d(),c(3,"ul",34),ft(4,TCe,3,2,"li",null,ci),d()()),2&t){const e=S(3).ngLet;b(4),gt(null==e?null:e.childProviders)}}function ACe(t,n){if(1&t&&(c(0,"div",10)(1,"div",11)(2,"div")(3,"div",12),x(4,"img",13),d()()(),ft(5,_Ce,4,1,"div",14,gCe),T(7,bCe,4,2,"div",14)(8,vCe,4,2,"div",14),c(9,"div",15),T(10,yCe,3,2),d(),c(11,"div",16),T(12,wCe,2,1,"a",17)(13,xCe,2,1,"a",17)(14,CCe,2,1,"a",17),d()(),c(15,"div",18),T(16,kCe,1,1,"provider-badge",19),c(17,"div",20)(18,"h4",21),h(19),d(),c(20,"ul",22),ft(21,MCe,2,1,"li",null,ci),d(),T(23,DCe,3,3,"p")(24,ECe,6,0,"div",23)(25,ICe,6,0,"div",23),d()()),2&t){const e=S(2).ngLet;b(4),k("src",e.avatarImage,Jt),b(1),gt(e.addresses),b(2),U(7,e.phone?7:-1),b(1),U(8,e.phone2?8:-1),b(2),U(10,e.websiteUrl?10:-1),b(2),U(12,e.instagramUrl?12:-1),b(1),U(13,e.facebookUrl?13:-1),b(1),U(14,e.linkedInUrl?14:-1),b(2),U(16,e.isClaimed?16:-1),b(3),ce(" ",e.name," "),b(2),gt(null==e?null:e.modalities),b(2),U(23,e.description?23:-1),b(1),U(24,null!=e&&null!=e.services&&e.services.length?24:-1),b(1),U(25,null!=e&&null!=e.childProviders&&e.childProviders.length?25:-1)}}function PCe(t,n){1&t&&T(0,ACe,26,12),2&t&&U(0,S().ngLet?0:-1)}function OCe(t,n){if(1&t){const e=Ne();c(0,"div",1)(1,"section",2)(2,"button",3),V("click",function(){return re(e),se(S().back())}),x(3,"app-arrow-left-icon"),c(4,"div"),h(5,"Back"),d()(),T(6,hCe,2,1,"a",4),d(),c(7,"section",5),T(8,mCe,1,0)(9,fCe,8,2)(10,PCe,1,1),ve(11,"async"),d()()}if(2&t){const e=n.ngLet,i=S();let o;b(6),U(6,e&&!e.isClaimed?6:-1),b(2),U(8,"loading"===(o=Me(11,2,i.state$))?8:"error"===o?9:"ready"===o?10:-1)}}let A8=(()=>{class t{constructor(e,i,o,r){this.http=e,this.route=i,this.configService=o,this.location=r,this.state$=new Ee("loading")}ngOnInit(){const e=this.route.params.pipe(te(i=>i.id));this.provider$=e.pipe(xt(()=>this.state$.next("loading")),X(i=>this.http.get(`${this.configService.config.baseApiUrl}/providers/${i}`)),te(i=>i.value),xt(()=>this.state$.next("ready")))}back(){this.location.back()}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v($i),v(ii),v(mr))};static#t=this.\u0275cmp=O({type:t,selectors:[["provider-profile"]],standalone:!0,features:[z],decls:2,vars:3,consts:[["class","mx-auto px-5",4,"ngLet"],[1,"mx-auto","px-5"],[1,"max-w-7xl","mx-auto","flex","justify-between","gap-6","py-6"],["button","ghost",1,"flex","gap-2","items-center",3,"click"],["button","",3,"routerLink"],[1,"max-w-6xl","mx-auto","p-6","flex","flex-col","lg:flex-row"],[1,"size-16","mx-auto","text-easy-green"],[1,"text-center"],[1,"text-medium","text-xl"],["onclick","window.HubSpotConversations.widget.load()",1,"text-easy-green","underline",3,"trackContactUs"],[1,"flex","flex-col","flex-shrink","flex-1","gap-6","px-5","pt-6","pb-10","lg:py-10","lg:pr-20"],[1,"flex","flex-col","md:flex-row","gap-8","mb-6","md:items-center"],[1,"overflow-hidden","rounded-full","flex","justify-center","items-center","size-[140px]"],["avatarFallback","","alt","",1,"w-full",3,"src"],["class","flex gap-3"],[1,"flex","gap-4"],[1,"flex","gap-6","pt-4"],["class","underline","target","_blank",3,"href"],[1,"flex","flex-col","border-t-2","lg:justify-around","lg:border-t-0","lg:border-l-2","border-neutral-200","gap-6","flex-1","px-5","pb-6","pt-10","lg:py-10","lg:pl-20"],[3,"level"],[1,"flex","flex-col","gap-4"],[1,"uppercase","font-bold","text-2xl"],[1,"flex","flex-col","gap-1","font-bold"],["class","flex flex-col gap-2 mt-4"],[1,"flex","gap-3"],["innerClass","size-7",1,"flex-shrink-0"],["innerClass","size-6",1,"size-7","p-0.5","flex-shrink-0"],[1,"underline",3,"href"],["target","_blank",1,"underline",3,"href"],["src","/assets/icon-instagram.png","alt","Instagram logo",1,"size-8","hover:opacity-60","transition-opacity"],["src","/assets/icon-facebook.png","alt","Facebook logo",1,"size-8","hover:opacity-60","transition-opacity"],["src","/assets/icon-linkedin.png","alt","Linkedin logo",1,"size-8","hover:opacity-60","transition-opacity"],[1,"flex","flex-col","gap-2","mt-4"],[1,"font-medium","uppercase"],[1,"flex","flex-col","gap-2"],[1,"underline",3,"routerLink"]],template:function(i,o){1&i&&(T(0,OCe,12,4,"div",0),ve(1,"async")),2&i&&k("ngLet",Me(1,1,o.provider$))},dependencies:[ne,Vi,W2,Dt,zt,U2,Nn,yl,Zt,Ii,Ln,S8,E8,aCe,T8,I8],encapsulation:2})}return t})(),RCe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-user-solid-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor"],["fill-rule","evenodd","d","M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z","clip-rule","evenodd"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),FCe=(()=>{class t{constructor(){this.role="tooltip"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-tooltip"]],hostVars:1,hostBindings:function(i,o){2&i&&ke("role",o.role)},inputs:{text:"text"},standalone:!0,features:[z],decls:2,vars:1,consts:[["data-popper-arrow","",1,"arrow"]],template:function(i,o){1&i&&(h(0),x(1,"div",0)),2&i&&pe(o.text)},styles:['[_nghost-%COMP%]{background:#35383F;color:#fff;padding:.25rem .5rem;font-size:.75rem;border-radius:.4rem;display:none;text-transform:none;font-weight:400;z-index:999;max-width:30rem}[data-show][_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], [_nghost-%COMP%]   .arrow[_ngcontent-%COMP%]:before{position:absolute;width:.5rem;height:.5rem;background:inherit}[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%]{visibility:hidden}[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%]:before{visibility:visible;content:"";transform:rotate(45deg)}[data-popper-placement^=top][_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{bottom:-.25rem}[data-popper-placement^=bottom][_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{top:-.25rem}[data-popper-placement^=left][_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{right:-.25rem}[data-popper-placement^=right][_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{left:-.25rem}']})}return t})();function _o(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function Pl(t){return t instanceof _o(t).Element||t instanceof Element}function Do(t){return t instanceof _o(t).HTMLElement||t instanceof HTMLElement}function G2(t){return!(typeof ShadowRoot>"u")&&(t instanceof _o(t).ShadowRoot||t instanceof ShadowRoot)}var Ol=Math.max,Rb=Math.min,Nd=Math.round;function q2(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function P8(){return!/^((?!chrome|android).)*safari/i.test(q2())}function Bd(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var i=t.getBoundingClientRect(),o=1,r=1;n&&Do(t)&&(o=t.offsetWidth>0&&Nd(i.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Nd(i.height)/t.offsetHeight||1);
1var a=(Pl(t)?_o(t):window).visualViewport,l=!P8()&&e,u=(i.left+(l&&a?a.offsetLeft:0))/o,m=(i.top+(l&&a?a.offsetTop:0))/r,p=i.width/o,f=i.height/r;return{width:p,height:f,top:m,right:u+p,bottom:m+f,left:u,x:u,y:m}}function Y2(t){var n=_o(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Pr(t){return t?(t.nodeName||"").toLowerCase():null}function _a(t){return((Pl(t)?t.ownerDocument:t.document)||window.document).documentElement}function Z2(t){return Bd(_a(t)).left+Y2(t).scrollLeft}function Ds(t){return _o(t).getComputedStyle(t)}function K2(t){var n=Ds(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function VCe(t,n,e){void 0===e&&(e=!1);var i=Do(n),o=Do(n)&&function BCe(t){var n=t.getBoundingClientRect(),e=Nd(n.width)/t.offsetWidth||1,i=Nd(n.height)/t.offsetHeight||1;return 1!==e||1!==i}(n),r=_a(n),s=Bd(t,o,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&(("body"!==Pr(n)||K2(r))&&(a=function NCe(t){return t!==_o(t)&&Do(t)?function LCe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Y2(t)}(n)),Do(n)?((l=Bd(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):r&&(l.x=Z2(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Q2(t){var n=Bd(t),e=t.offsetWidth,i=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:i}}function Fb(t){return"html"===Pr(t)?t:t.assignedSlot||t.parentNode||(G2(t)?t.host:null)||_a(t)}function O8(t){return["html","body","#document"].indexOf(Pr(t))>=0?t.ownerDocument.body:Do(t)&&K2(t)?t:O8(Fb(t))}function Pm(t,n){var e;void 0===n&&(n=[]);var i=O8(t),o=i===(null==(e=t.ownerDocument)?void 0:e.body),r=_o(i),s=o?[r].concat(r.visualViewport||[],K2(i)?i:[]):i,a=n.concat(s);return o?a:a.concat(Pm(Fb(s)))}function zCe(t){return["table","td","th"].indexOf(Pr(t))>=0}function R8(t){return Do(t)&&"fixed"!==Ds(t).position?t.offsetParent:null}function Om(t){for(var n=_o(t),e=R8(t);e&&zCe(e)&&"static"===Ds(e).position;)e=R8(e);return e&&("html"===Pr(e)||"body"===Pr(e)&&"static"===Ds(e).position)?n:e||function HCe(t){var n=/firefox/i.test(q2());if(/Trident/i.test(q2())&&Do(t)&&"fixed"===Ds(t).position)return null;var o=Fb(t);for(G2(o)&&(o=o.host);Do(o)&&["html","body"].indexOf(Pr(o))<0;){var r=Ds(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(t)||n}var Jn="top",So="bottom",Eo="right",eo="left",X2="auto",Rm=[Jn,So,Eo,eo],Vd="start",Fm="end",F8="viewport",Lm="popper",L8=Rm.reduce(function(t,n){return t.concat([n+"-"+Vd,n+"-"+Fm])},[]),N8=[].concat(Rm,[X2]).reduce(function(t,n){return t.concat([n,n+"-"+Vd,n+"-"+Fm])},[]),JCe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function e2e(t){var n=new Map,e=new Set,i=[];function o(r){e.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(a){if(!e.has(a)){var l=n.get(a);l&&o(l)}}),i.push(r)}return t.forEach(function(r){n.set(r.name,r)}),t.forEach(function(r){e.has(r.name)||o(r)}),i}function i2e(t){var n;return function(){return n||(n=new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(t())})})),n}}var B8={placement:"bottom",modifiers:[],strategy:"absolute"};function V8(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function o2e(t){void 0===t&&(t={});var e=t.defaultModifiers,i=void 0===e?[]:e,o=t.defaultOptions,r=void 0===o?B8:o;return function(a,l,u){void 0===u&&(u=r);var m={placement:"bottom",orderedModifiers:[],options:Object.assign({},B8,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},p=[],f=!1,_={state:m,setOptions:function(D){var M="function"==typeof D?D(m.options):D;w(),m.options=Object.assign({},r,m.options,M),m.scrollParents={reference:Pl(a)?Pm(a):a.contextElement?Pm(a.contextElement):[],popper:Pm(l)};var I=function t2e(t){var n=e2e(t);return JCe.reduce(function(e,i){return e.concat(n.filter(function(o){return o.phase===i}))},[])}(function n2e(t){var n=t.reduce(function(e,i){var o=e[i.name];return e[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,e},{});return Object.keys(n).map(function(e){return n[e]})}([].concat(i,m.options.modifiers)));return m.orderedModifiers=I.filter(function(P){return P.enabled}
1),function y(){m.orderedModifiers.forEach(function(C){var M=C.options,P=C.effect;if("function"==typeof P){var F=P({state:m,name:C.name,instance:_,options:void 0===M?{}:M});p.push(F||function(){})}})}(),_.update()},forceUpdate:function(){if(!f){var D=m.elements,M=D.reference,I=D.popper;if(V8(M,I)){m.rects={reference:VCe(M,Om(I),"fixed"===m.options.strategy),popper:Q2(I)},m.reset=!1,m.placement=m.options.placement,m.orderedModifiers.forEach(function(ye){return m.modifiersData[ye.name]=Object.assign({},ye.data)});for(var P=0;P<m.orderedModifiers.length;P++)if(!0!==m.reset){var F=m.orderedModifiers[P],L=F.fn,K=F.options;"function"==typeof L&&(m=L({state:m,options:void 0===K?{}:K,name:F.name,instance:_})||m)}else m.reset=!1,P=-1}}},update:i2e(function(){return new Promise(function(C){_.forceUpdate(),C(m)})}),destroy:function(){w(),f=!0}};if(!V8(a,l))return _;function w(){p.forEach(function(C){return C()}),p=[]}return _.setOptions(u).then(function(C){!f&&u.onFirstUpdate&&u.onFirstUpdate(C)}),_}}var Lb={passive:!0};function Or(t){return t.split("-")[0]}function zd(t){return t.split("-")[1]}function J2(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function z8(t){var l,n=t.reference,e=t.element,i=t.placement,o=i?Or(i):null,r=i?zd(i):null,s=n.x+n.width/2-e.width/2,a=n.y+n.height/2-e.height/2;switch(o){case Jn:l={x:s,y:n.y-e.height};break;case So:l={x:s,y:n.y+n.height};break;case Eo:l={x:n.x+n.width,y:a};break;case eo:l={x:n.x-e.width,y:a};break;default:l={x:n.x,y:n.y}}var u=o?J2(o):null;if(null!=u){var m="y"===u?"height":"width";switch(r){case Vd:l[u]=l[u]-(n[m]/2-e[m]/2);break;case Fm:l[u]=l[u]+(n[m]/2-e[m]/2)}}return l}var c2e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function H8(t){var n,e=t.popper,i=t.popperRect,o=t.placement,r=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,m=t.roundOffsets,p=t.isFixed,f=s.x,_=void 0===f?0:f,y=s.y,w=void 0===y?0:y,C="function"==typeof m?m({x:_,y:w}):{x:_,y:w};_=C.x,w=C.y;var D=s.hasOwnProperty("x"),M=s.hasOwnProperty("y"),I=eo,P=Jn,F=window;if(u){var L=Om(e),K="clientHeight",Q="clientWidth";L===_o(e)&&"static"!==Ds(L=_a(e)).position&&"absolute"===a&&(K="scrollHeight",Q="scrollWidth"),(o===Jn||(o===eo||o===Eo)&&r===Fm)&&(P=So,w-=(p&&L===F&&F.visualViewport?F.visualViewport.height:L[K])-i.height,w*=l?1:-1),o!==eo&&(o!==Jn&&o!==So||r!==Fm)||(I=Eo,_-=(p&&L===F&&F.visualViewport?F.visualViewport.width:L[Q])-i.width,_*=l?1:-1)}var we,Se=Object.assign({position:a},u&&c2e),ee=!0===m?function d2e(t,n){var i=t.y,o=n.devicePixelRatio||1;return{x:Nd(t.x*o)/o||0,y:Nd(i*o)/o||0}}({x:_,y:w},_o(e)):{x:_,y:w};return _=ee.x,w=ee.y,Object.assign({},Se,l?((we={})[P]=M?"0":"",we[I]=D?"0":"",we.transform=(F.devicePixelRatio||1)<=1?"translate("+_+"px, "+w+"px)":"translate3d("+_+"px, "+w+"px, 0)",we):((n={})[P]=M?w+"px":"",n[I]=D?_+"px":"",n.transform="",n))}var v2e={left:"right",right:"left",bottom:"top",top:"bottom"};function Nb(t){return t.replace(/left|right|bottom|top/g,function(n){return v2e[n]})}var y2e={start:"end",end:"start"};function j8(t){return t.replace(/start|end/g,function(n){return y2e[n]})}function $8(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&G2(e)){var i=n;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ek(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function U8(t,n,e){return n===F8?ek(function w2e(t,n){var e=_o(t),i=_a(t),o=e.visualVie
1wport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var u=P8();(u||!u&&"fixed"===n)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+Z2(t),y:l}}(t,e)):Pl(n)?function C2e(t,n){var e=Bd(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):ek(function x2e(t){var n,e=_a(t),i=Y2(t),o=null==(n=t.ownerDocument)?void 0:n.body,r=Ol(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Ol(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+Z2(t),l=-i.scrollTop;return"rtl"===Ds(o||e).direction&&(a+=Ol(e.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(_a(t)))}function G8(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function q8(t,n){return n.reduce(function(e,i){return e[i]=t,e},{})}function Nm(t,n){void 0===n&&(n={});var i=n.placement,o=void 0===i?t.placement:i,r=n.strategy,s=void 0===r?t.strategy:r,a=n.boundary,l=void 0===a?"clippingParents":a,u=n.rootBoundary,m=void 0===u?F8:u,p=n.elementContext,f=void 0===p?Lm:p,_=n.altBoundary,y=void 0!==_&&_,w=n.padding,C=void 0===w?0:w,D=G8("number"!=typeof C?C:q8(C,Rm)),I=t.rects.popper,P=t.elements[y?f===Lm?"reference":Lm:f],F=function M2e(t,n,e,i){var o="clippingParents"===n?function k2e(t){var n=Pm(Fb(t)),i=["absolute","fixed"].indexOf(Ds(t).position)>=0&&Do(t)?Om(t):t;return Pl(i)?n.filter(function(o){return Pl(o)&&$8(o,i)&&"body"!==Pr(o)}):[]}(t):[].concat(n),r=[].concat(o,[e]),a=r.reduce(function(l,u){var m=U8(t,u,i);return l.top=Ol(m.top,l.top),l.right=Rb(m.right,l.right),l.bottom=Rb(m.bottom,l.bottom),l.left=Ol(m.left,l.left),l},U8(t,r[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Pl(P)?P:P.contextElement||_a(t.elements.popper),l,m,s),L=Bd(t.elements.reference),K=z8({reference:L,element:I,strategy:"absolute",placement:o}),Q=ek(Object.assign({},I,K)),oe=f===Lm?Q:L,ye={top:F.top-oe.top+D.top,bottom:oe.bottom-F.bottom+D.bottom,left:F.left-oe.left+D.left,right:oe.right-F.right+D.right},Se=t.modifiersData.offset;if(f===Lm&&Se){var ee=Se[o];Object.keys(ye).forEach(function(we){var Pe=[Eo,So].indexOf(we)>=0?1:-1,Ce=[Jn,So].indexOf(we)>=0?"y":"x";ye[we]+=ee[Ce]*Pe})}return ye}function Bm(t,n,e){return Ol(t,Rb(n,e))}function Y8(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Z8(t){return[Jn,Eo,So,eo].some(function(n){return t[n]>=0})}var z2e=o2e({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function r2e(t){var n=t.state,e=t.instance,i=t.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=_o(n.elements.popper),u=[].concat(n.scrollParents.reference,n.scrollParents.popper);return r&&u.forEach(function(m){m.addEventListener("scroll",e.update,Lb)}),a&&l.addEventListener("resize",e.update,Lb),function(){r&&u.forEach(function(m){m.removeEventListener("scroll",e.update,Lb)}),a&&l.removeEventListener("resize",e.update,Lb)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function a2e(t){var n=t.state;n.modifiersData[t.name]=z8({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function u2e(t){var n=t.state,e=t.options,i=e.gpuAcceleration,o=void 0===i||i,r=e.adaptive,s=void 0===r||r,a=e.roundOffsets,l=void 0===a||a,u={placement:Or(n.placement),variation:zd(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,H8(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:s,roundOffsets:l})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,H8(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function m2e(t){var n=t.state;
1Object.keys(n.elements).forEach(function(e){var i=n.styles[e]||{},o=n.attributes[e]||{},r=n.elements[e];!Do(r)||!Pr(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];!1===a?r.removeAttribute(s):r.setAttribute(s,!0===a?"":a)}))})},effect:function p2e(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach(function(i){var o=n.elements[i],r=n.attributes[i]||{},a=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:e[i]).reduce(function(l,u){return l[u]="",l},{});!Do(o)||!Pr(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function _2e(t){var n=t.state,i=t.name,o=t.options.offset,r=void 0===o?[0,0]:o,s=N8.reduce(function(m,p){return m[p]=function g2e(t,n,e){var i=Or(t),o=[eo,Jn].indexOf(i)>=0?-1:1,r="function"==typeof e?e(Object.assign({},n,{placement:t})):e,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[eo,Eo].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(p,n.rects,r),m},{}),a=s[n.placement],u=a.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=a.x,n.modifiersData.popperOffsets.y+=u),n.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function E2e(t){var n=t.state,e=t.options,i=t.name;if(!n.modifiersData[i]._skip){for(var o=e.mainAxis,r=void 0===o||o,s=e.altAxis,a=void 0===s||s,l=e.fallbackPlacements,u=e.padding,m=e.boundary,p=e.rootBoundary,f=e.altBoundary,_=e.flipVariations,y=void 0===_||_,w=e.allowedAutoPlacements,C=n.options.placement,D=Or(C),I=l||(D!==C&&y?function S2e(t){if(Or(t)===X2)return[];var n=Nb(t);return[j8(t),n,j8(n)]}(C):[Nb(C)]),P=[C].concat(I).reduce(function(st,Ri){return st.concat(Or(Ri)===X2?function D2e(t,n){void 0===n&&(n={});var o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?N8:l,m=zd(n.placement),p=m?a?L8:L8.filter(function(y){return zd(y)===m}):Rm,f=p.filter(function(y){return u.indexOf(y)>=0});0===f.length&&(f=p);var _=f.reduce(function(y,w){return y[w]=Nm(t,{placement:w,boundary:o,rootBoundary:r,padding:s})[Or(w)],y},{});return Object.keys(_).sort(function(y,w){return _[y]-_[w]})}(n,{placement:Ri,boundary:m,rootBoundary:p,padding:u,flipVariations:y,allowedAutoPlacements:w}):Ri)},[]),F=n.rects.reference,L=n.rects.popper,K=new Map,Q=!0,oe=P[0],ye=0;ye<P.length;ye++){var Se=P[ye],ee=Or(Se),we=zd(Se)===Vd,Pe=[Jn,So].indexOf(ee)>=0,Ce=Pe?"width":"height",W=Nm(n,{placement:Se,boundary:m,rootBoundary:p,altBoundary:f,padding:u}),J=Pe?we?Eo:eo:we?So:Jn;F[Ce]>L[Ce]&&(J=Nb(J));var le=Nb(J),he=[];if(r&&he.push(W[ee]<=0),a&&he.push(W[J]<=0,W[le]<=0),he.every(function(st){return st})){oe=Se,Q=!1;break}K.set(Se,he)}if(Q)for(var It=function(Ri){var an=P.find(function(gi){var Bn=K.get(gi);if(Bn)return Bn.slice(0,Ri).every(function(kn){return kn})});if(an)return oe=an,"break"},dt=y?3:1;dt>0&&"break"!==It(dt);dt--);n.placement!==oe&&(n.modifiersData[i]._skip=!0,n.placement=oe,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function P2e(t){var n=t.state,e=t.options,i=t.name,o=e.mainAxis,r=void 0===o||o,s=e.altAxis,a=void 0!==s&&s,f=e.tether,_=void 0===f||f,y=e.tetherOffset,w=void 0===y?0:y,C=Nm(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),D=Or(n.placement),M=zd(n.placement),I=!M,P=J2(D),F=function I2e(t){return"x"===t?"y":"x"}(P),L=n.modifiersData.popperOffsets,K=n.rects.reference,Q=n.rects.popper,oe="function"==typeof w?w(Object.assign({},n.rects,{placement:n.placement})):w,ye="number"==typeof oe?{mainAxis:oe,altAxis:oe}:Object.assign({mainAxis:0,altAxis:0},oe),Se=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,ee={x:0,y:0};if(L){if(r){var we,Pe="y"===P?Jn:eo,Ce="y"===P?So:Eo,W="y"===P?"height":"width",J=L[P],le=J+C[Pe],he=J-C[Ce],Ye=_?-Q[W]/2:0,It=M===Vd?K[W]:Q[W],dt=M===Vd?-Q[W]:-K[W],Oi=n.elements.arrow,st=_&&Oi?Q2(Oi):{width:0,height:0},Ri=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},an=Ri[Pe],gi=Ri[Ce],Bn=Bm(0,K[W],st[W]),kn=I?K[W]/2-Ye-Bn-an-ye.mainAxis:It-Bn-an-ye.mainAxis,jd=I?-K[W]/2+Ye+Bn+gi+ye.mainAxis:dt+Bn+gi+ye.mainAxis,Rl=n.elements.arrow&&Om(n.elements.arrow),ZDe=Rl?"y"===P?Rl.clientTop||0:Rl.clientLeft||0:0,h7=null!=(we=Se?.[P])?we:0,QDe=J+jd-h7,m7=Bm(_?Rb(le,J+kn-h7-ZDe):le,J,_?Ol
1(he,QDe):he);L[P]=m7,ee[P]=m7-J}if(a){var p7,Fl=L[F],Bb="y"===F?"height":"width",f7=Fl+C["x"===P?Jn:eo],g7=Fl-C["x"===P?So:Eo],ok=-1!==[Jn,eo].indexOf(D),_7=null!=(p7=Se?.[F])?p7:0,b7=ok?f7:Fl-K[Bb]-Q[Bb]-_7+ye.altAxis,v7=ok?Fl+K[Bb]+Q[Bb]-_7-ye.altAxis:g7,y7=_&&ok?function A2e(t,n,e){var i=Bm(t,n,e);return i>e?e:i}(b7,Fl,v7):Bm(_?b7:f7,Fl,_?v7:g7);L[F]=y7,ee[F]=y7-Fl}n.modifiersData[i]=ee}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function F2e(t){var n,e=t.state,i=t.name,o=t.options,r=e.elements.arrow,s=e.modifiersData.popperOffsets,a=Or(e.placement),l=J2(a),m=[eo,Eo].indexOf(a)>=0?"height":"width";if(r&&s){var p=function(n,e){return G8("number"!=typeof(n="function"==typeof n?n(Object.assign({},e.rects,{placement:e.placement})):n)?n:q8(n,Rm))}(o.padding,e),f=Q2(r),_="y"===l?Jn:eo,y="y"===l?So:Eo,w=e.rects.reference[m]+e.rects.reference[l]-s[l]-e.rects.popper[m],C=s[l]-e.rects.reference[l],D=Om(r),M=D?"y"===l?D.clientHeight||0:D.clientWidth||0:0,L=M/2-f[m]/2+(w/2-C/2),K=Bm(p[_],L,M-f[m]-p[y]);e.modifiersData[i]=((n={})[l]=K,n.centerOffset=K-L,n)}},effect:function L2e(t){var n=t.state,i=t.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=n.elements.popper.querySelector(o))||$8(n.elements.popper,o)&&(n.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function B2e(t){var n=t.state,e=t.name,i=n.rects.reference,o=n.rects.popper,r=n.modifiersData.preventOverflow,s=Nm(n,{elementContext:"reference"}),a=Nm(n,{altBoundary:!0}),l=Y8(s,i),u=Y8(a,o,r),m=Z8(l),p=Z8(u);n.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:m,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":p})}}]});let H2e=(()=>{class t{get tooltipElement(){return this.component.location.nativeElement}constructor(e,i){this.targetElement=e,this.viewContainer=i,this.position="bottom"}ngOnInit(){this.component=this.viewContainer.createComponent(FCe),this.component.instance.text=this.text;const e=this.targetElement.nativeElement;(e.parentElement??e).insertBefore(this.component.location.nativeElement,e),this.popper=z2e(e,this.tooltipElement,{placement:this.position,modifiers:[{name:"offset",options:{offset:[0,8]}}]}),["mouseenter","focus"].forEach(s=>{e.addEventListener(s,()=>this.show())}),["mouseleave","blur"].forEach(s=>{e.addEventListener(s,()=>this.hide())})}show(){this.component.location.nativeElement.setAttribute("data-show",""),this.popper.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!0}]})),this.popper.update()}hide(){this.component.location.nativeElement.removeAttribute("data-show"),this.popper.setOptions(e=>({...e,modifiers:[...e.modifiers,{name:"eventListeners",enabled:!1}]}))}ngOnDestroy(){this.component.destroy()}static#e=this.\u0275fac=function(i){return new(i||t)(v(be),v(yi))};static#t=this.\u0275dir=N({type:t,selectors:[["","tooltip",""]],inputs:{text:["tooltip","text"],position:["tooltip-position","position"]},standalone:!0})}return t})(),j2e=(()=>{class t{constructor(e){this.domSanitizer=e}transform(e,i){if(!e||!i)return e;if(!i.keywords)return i.maxLength?this.nonMatchTruncate(e,i.maxLength):e;const o=this.domSanitizer.sanitize(nn.HTML,i.keywords.replace(/[%_]/g," ")),r=new RegExp(o,"ig"),s=[...e.matchAll(r)];if(!s.length)return i.maxLength?this.nonMatchTruncate(e,i.maxLength):e;if(!i.maxLength||i.maxLength>=e.length){const w=s.map(C=>({start:C.index,end:C.index+o.length}));return this.highlightAll(e,w)}const l=s[0].index+o.length,u=l>i.maxLength?l-i.maxLength:0,m=Math.min(u+i.maxLength,e.length),p=s.filter(w=>w.index>=u).map(w=>({start:w.index-u,end:Math.min(m-u,w.index+o.length-u)})).filter(w=>w.end-w.start>0),f=e.substring(u,m),_=this.highlightAll(f,p);let y=0===u?"":"...";return y+=_,m<e.length&&(y+="..."),this.domSanitizer.bypassSecurityTrustHtml(y)}highlight(e){return`<mark>${e}</mark>`}highlightAll(e,i){if(!i.length)return e;let r,o="";for(const s of i)!r&&s.start>0&&(o+=e.substring(0,s.start)),r&&r.end<s.start&&(o+=e.substring(r.end,s.start)),o+=this.highlight(e.substring(s.start,s.end)),r=s;return r&&r.end<e.length&&(o+=e.substring(r.end)),o}nonMatchTruncate(e,i){return e.length<=i?e:e.substring(0,i)+"..."}static#e=this.\u0275fac=function(i){return new(i||t)(v(Zf,16))};static#t=this.\u0275pipe=pn({name:"highlight",type:t,pure:!0,standalone:!0})}return t})();function $2e(t,n){1&t&&x(0,"provider-badge",8),2&t&&k("level",S(2).provider.subscriptionLevel)}function U2e(t,n){if(1&t&&(c(0,"p",16),h(1),ve(2,"filterNonDisplayable"),d()),2&t){const e=S(2);b(1),pe(Me(2,1,e.provider.description))}}const W2e=t=>({keywords:t,maxLength:50});function G2e(t,n){if(1&t&&(c(0,"div",17),x(1,"app-user-solid-icon",14)(2,"div",18),ve(3,"highlight"),d()),2&t){const e=S(2);
1b(2),k("innerHTML",Bo(3,1,e.modalityAndServices,di(4,W2e,e.searchTerm)),vy)}}function q2e(t,n){1&t&&h(0," Multiple addresses ")}function Y2e(t,n){1&t&&h(0),2&t&&ce(" ",S(2).provider.addresses[0].originalText," ")}function Z2e(t,n){if(1&t&&(c(0,"div",17),x(1,"app-phone-solid-icon",19),c(2,"a",20),h(3),d()()),2&t){const e=S(2);b(3),pe(e.provider.phone)}}const K2e=t=>({keywords:t});function Q2e(t,n){if(1&t&&(c(0,"a",1)(1,"div",2)(2,"div",3),x(3,"img",4),d(),c(4,"div",5)(5,"div",6),x(6,"h4",7),ve(7,"highlight"),T(8,$2e,1,1,"provider-badge",8),d(),T(9,U2e,3,3,"p",9),c(10,"div",10),T(11,G2e,4,6,"div",11),c(12,"div",12)(13,"div",13),x(14,"app-map-pin-solid-icon",14),c(15,"div",15),T(16,q2e,1,0)(17,Y2e,1,1),d()(),T(18,Z2e,4,1,"div",11),d()()()()()),2&t){const e=S();cr("routerLink","/provider/",e.provider.id,""),b(3),k("src",e.provider.avatarImage,Jt),b(3),k("innerHTML",Bo(7,9,e.provider.name,di(12,K2e,e.searchTerm)),vy),b(2),U(8,e.provider.isClaimed?8:-1),b(1),U(9,e.provider.description?9:-1),b(2),U(11,e.modalityAndServices?11:-1),b(4),k("tooltip",e.addressTooltip),b(1),U(16,e.provider.addresses.length>1?16:17),b(2),U(18,e.provider.phone?18:-1)}}function X2e(t,n){1&t&&x(0,"div",21)}let J2e=(()=>{class t{ngOnInit(){this.modalityAndServices=this.provider?this.provider.modalities.concat(...this.provider?.services??[]).join(", "):""}get addressTooltip(){return this.provider?.addresses.map(e=>e.originalText).join(" | ")??""}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-provider-card"]],inputs:{provider:"provider",searchTerm:"searchTerm"},standalone:!0,features:[z],decls:2,vars:1,consts:[["class","block rounded-xl w-full bg-neutral-100 lg:p-8 p-4 outline outline-2 outline-transparent \n  hover:bg-white hover:outline-neutral-300 shadow hover:shadow-xl focus:outline-neutral-300 flex flex-col gap-6",3,"routerLink"],[1,"block","rounded-xl","w-full","bg-neutral-100","lg:p-8","p-4","outline","outline-2","outline-transparent","hover:bg-white","hover:outline-neutral-300","shadow","hover:shadow-xl","focus:outline-neutral-300","flex","flex-col","gap-6",3,"routerLink"],[1,"flex","justify-between","lg:items-start","items-center"],[1,"overflow-hidden","rounded-full","flex","justify-center","items-center","lg:w-[20%]","w-[35%]"],["avatarFallback","","alt","Avatar",1,"w-full",3,"src"],[1,"lg:w-[75%]","w-[60%]"],[1,"lg:flex","items-center","justify-between"],[1,"uppercase","font-bold","text-xl","line-clamp-2","mb-2","lg:mb-0",3,"innerHTML"],[3,"level"],["class","line-clamp-3 text-sm my-3"],[1,"flex","flex-col","gap-4"],["class","flex gap-2"],[1,"lg:flex","gap-3"],[1,"flex","gap-2","mb-3","lg:mb-0"],["innerClass","size-7",1,"flex-shrink-0"],[1,"line-clamp-1",3,"tooltip"],[1,"line-clamp-3","text-sm","my-3"],[1,"flex","gap-2"],[1,"line-clamp-1",3,"innerHTML"],["innerClass","size-6",1,"size-7","p-0.5","flex-shrink-0"],[1,"line-clamp-1"],[1,"rounded-xl","h-full","bg-[url('/assets/service-directory/card-image.png')]","bg-cover","bg-top"]],template:function(i,o){1&i&&T(0,Q2e,19,14,"a",0)(1,X2e,1,0),2&i&&U(0,o.provider?0:1)},dependencies:[ne,Dt,zt,j2e,S8,RCe,E8,W2,H2e,T8,I8],encapsulation:2})}return t})();const eke=["locationInput"],tke=["masterServiceInput"];function ike(t,n){1&t&&(c(0,"li",10),h(1," loading... "),d())}function nke(t,n){if(1&t){const e=Ne();c(0,"li",11),V("click",function(){const r=re(e).$implicit;return se(S(4).handleLocationSelected(r))}),h(1),d()}if(2&t){const e=n.$implicit;b(1),ce(" ",e.match," ")}}function oke(t,n){1&t&&ft(0,nke,2,1,"li",12,ci),2&t&&gt(S(2).ngLet)}function rke(t,n){if(1&t&&(c(0,"ul",8),T(1,ike,2,0,"li",9)(2,oke,2,0),d()),2&t){const e=S(2);b(1),U(1,e.isLoadingLocationResults?1:2)}}function ske(t,n){if(1&t&&(c(0,"div",4),x(1,"input",5,6),T(3,rke,3,1,"ul",7),d()),2&t){const e=S();b(1),k("formControl",e.form.controls.location),b(2),U(3,e.showLocationMenu?3:-1)}}function ake(t,n){1&t&&(c(0,"li",10),h(1," loading... "),d())}function lke(t,n){if(1&t){const e=Ne();c(0,"li",11),V("click",function(){const r=re(e).$implicit;return se(S(4).handleMasterServiceSelected(r))}),h(1),d()}if(2&t){const e=n.$implicit;b(1),ce(" ",e.match," ")}}function cke(t,n){1&t&&ft(0,lke,2,1,"li",12,ci),2&t&&gt(S(2).ngLet)}function dke(t,n){if(1&t&&(c(0,"ul",8),T(1,ake,2,0,"li",9)(2,cke,2,0),d()),2&t){const e=S(2);b(1),U(1,e.isLoadingMasterServiceResults?1:2)}}function uke(t,n){if(1&t&&(c(0,"div",4),x(1,"input",13,14),T(3,dke,3,1,"ul",7),d()),2&t){const e=S();b(1),k("formControl",e.form.controls.masterService),b(2),U(3,e.showMasterServiceMenu?3:-1)}}let hke=(()=>{class t{constructor(e,i){this.httpClient=e,this.configService=i,this.fetchProvi
1ders=new E,this.form=new _r({keywords:new De,location:new De,masterService:new De}),this.isLoadingLocationResults=!1,this.showLocationMenu=!1,this.isLoadingMasterServiceResults=!1,this.showMasterServiceMenu=!1}ngAfterViewInit(){this.form.controls.keywords.setValue(this.initialKeywords),this.form.controls.location.setValue(this.initialLocation),this.form.controls.masterService.setValue(this.initialMasterService),this.locationSearchResults$=vr(this.locationInput.nativeElement,"input").pipe(te(e=>e.target?.value??""),yt(e=>null!=e&&e.length>=2),xt(e=>{this.isLoadingLocationResults=!0}),Xa(500),Ja(),X(e=>this.httpClient.get(`${this.configService.config.baseApiUrl}/locations?search=${e}`)),te(e=>e.value??[]),xt(e=>{this.isLoadingLocationResults=!1,this.showLocationMenu=e.length>0})),this.masterServiceSearchResults$=vr(this.masterServiceInput.nativeElement,"input").pipe(te(e=>e.target?.value??""),yt(e=>null!=e&&e.length>=2),xt(e=>{this.isLoadingMasterServiceResults=!0}),Xa(500),Ja(),X(e=>this.httpClient.get(`${this.configService.config.baseApiUrl}/services/master?search=${e}`)),te(e=>e.value??[]),xt(e=>{this.isLoadingMasterServiceResults=!1,this.showMasterServiceMenu=e.length>0}))}handleSubmit(e=null){e?.preventDefault(),this.fetchProviders.emit({keywords:this.form.get("keywords")?.value??void 0,location:this.form.get("location")?.value??void 0,masterService:this.form.get("masterService")?.value??void 0})}handleLocationSelected(e){this.form.controls.location.setValue(e.match),this.showLocationMenu=!1,this.handleSubmit()}handleMasterServiceSelected(e){this.form.controls.masterService.setValue(e.match),this.showMasterServiceMenu=!1,this.handleSubmit()}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-provider-search-form"]],viewQuery:function(i,o){if(1&i&&(me(eke,5),me(tke,5)),2&i){let r;H(r=j())&&(o.locationInput=r.first),H(r=j())&&(o.masterServiceInput=r.first)}},inputs:{initialKeywords:"initialKeywords",initialLocation:"initialLocation",initialMasterService:"initialMasterService"},outputs:{fetchProviders:"fetchProviders"},standalone:!0,features:[z],decls:8,vars:7,consts:[[1,"flex","flex-col","md:flex-row","gap-4","max-w-3xl","mx-auto",3,"submit"],["input","","placeholder","Search by keywords",1,"flex-1",3,"formControl"],["class","relative flex-1",4,"ngLet"],["button",""],[1,"relative","flex-1"],["input","","placeholder","Search by location",3,"formControl"],["locationInput",""],["class","absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm","tabindex","-1","role","listbox","aria-labelledby","listbox-label"],["tabindex","-1","role","listbox","aria-labelledby","listbox-label",1,"absolute","z-10","mt-1","max-h-60","w-full","overflow-auto","rounded-md","bg-white","py-1","text-base","shadow-lg","ring-1","ring-black","ring-opacity-5","focus:outline-none","sm:text-sm"],["class","block truncate font-normal relative select-none py-2 pl-3 pr-9 text-gray-900"],[1,"block","truncate","font-normal","relative","select-none","py-2","pl-3","pr-9","text-gray-900"],["role","option",1,"block","truncate","font-normal","relative","cursor-pointer","hover:bg-indigo-600","hover:text-white","focus:bg-indigo-600","focus:text-white","select-none","py-2","pl-3","pr-9","text-gray-900",3,"click"],["class","block truncate font-normal relative cursor-pointer hover:bg-indigo-600 hover:text-white focus:bg-indigo-600 focus:text-white select-none py-2 pl-3 pr-9 text-gray-900","role","option"],["input","","placeholder","Search by service",3,"formControl"],["masterServiceInput",""]],template:function(i,o){1&i&&(c(0,"form",0),V("submit",function(s){return o.handleSubmit(s)}),x(1,"input",1),T(2,ske,4,2,"div",2),ve(3,"async"),T(4,uke,4,2,"div",2),ve(5,"async"),c(6,"button",3),h(7,"Search"),d()()),2&i&&(b(1),k("formControl",o.form.controls.keywords),b(1),k("ngLet",Me(3,3,o.locationSearchResults$)),b(2),k("ngLet",Me(5,5,o.masterServiceSearchResults$)))},dependencies:[ne,Vi,cw,Kr,fr,Yr,Zr,Wc,Qr,Ga,Zt,kd,Ii,Ln],encapsulation:2})}return t})();function mke(t,n){if(1&t){const e=Ne();c(0,"section",23)(1,"div",24)(2,"p",25),h(3," Australia\u2019s largest Health and Wellness "),d(),c(4,"app-page-heading",26),h(5,"Service Provider Directory"),d()(),c(6,"p",27),h(7," Do you want to be added to our directory? It's easy! "),d(),c(8,"div",28)(9,"a",29),h(10," Claim your profile"),d(),c(11,"a",30),h(12,"Create your profile"),d()(),c(13,"app-provider-search-form",31),V("fetchProvi
1ders",function(o){return re(e),se(S().handleSearch(o))}),d()()}if(2&t){const e=n.ngLet;b(13),k("initialKeywords",null==e?null:e.keywords)("initialLocation",null==e?null:e.location)}}function pke(t,n){1&t&&x(0,"app-spinner",33)}function fke(t,n){1&t&&(c(0,"app-alert",34)(1,"p",35),h(2,"Error finding service providers"),d(),c(3,"p",36),h(4," You can "),c(5,"a",37),h(6,"click here to reload the page"),d(),h(7," to try again. "),d()())}function gke(t,n){1&t&&x(0,"app-provider-card",42),2&t&&k("provider",n.$implicit)}const _ke=()=>[];function bke(t,n){if(1&t){const e=Ne();c(0,"app-pagination-buttons",39),V("skipChanged",function(o){return re(e),se(S(3).handlePageSelect(o))}),d(),c(1,"div",40),x(2,"app-provider-card",41),ft(3,gke,1,1,"app-provider-card",43,ci),d(),c(5,"app-pagination-buttons",39),V("skipChanged",function(o){return re(e),se(S(3).handlePageSelect(o))}),d()}if(2&t){const e=S(2).ngLet;let i;k("pagedList",e)("showTotal",!1),b(2),k("provider",null),b(1),gt(null!==(i=null==e?null:e.results)&&void 0!==i?i:Be(5,_ke)),b(2),k("pagedList",e)("showTotal",!1)}}function vke(t,n){1&t&&(c(0,"div",44)(1,"h5"),h(2," We couldn't find providers matching your search, but Mentwell can be used at "),c(3,"strong")(4,"em"),h(5,"any health and wellness service provider"),d()(),h(6," Australia-wide. "),d(),c(7,"p"),h(8,"Please try again with different filters."),d()())}function yke(t,n){if(1&t&&(c(0,"div",38),T(1,bke,6,6)(2,vke,9,0),d()),2&t){const e=S().ngLet;b(1),U(1,null!=e&&null!=e.results&&e.results.length?1:2)}}function wke(t,n){if(1&t&&(c(0,"section",32),T(1,pke,1,0)(2,fke,8,0)(3,yke,3,1),ve(4,"async"),d()),2&t){const e=S();let i;b(1),U(1,"loading"===(i=Me(4,1,e.state$))?1:"error"===i?2:"ready"===i?3:-1)}}let Hd=(()=>{class t{constructor(e,i,o,r){this.activatedRoute=e,this.http=i,this.configService=o,this.location=r,this.state$=new Ee("loading"),this.skip$=new Ee(0),this.searchFormData$=new Ee({})}ngOnInit(){this.initialSearchParams$=this.activatedRoute.queryParamMap.pipe(te(e=>{const i=e.get("keywords")??void 0,o=e.get("location")??void 0,r=e.get("masterService")??void 0,s=e.get("id"),a=e.get("skip");return{keywords:i,location:o,masterService:r,modalityId:s?parseInt(s):void 0,skip:a?parseInt(a):0,take:8}})),this.providers$=qt([this.initialSearchParams$,this.searchFormData$,this.skip$]).pipe(xt(()=>this.state$.next("loading")),te(([e,i,o])=>({keywords:i.keywords??e.keywords,location:i.location??e.location,masterService:i.masterService??e.masterService,skip:o||e.skip,modalityId:e.modalityId,take:e.take,surrounding:e.surrounding})),X(e=>this.http.post(`${this.configService.config.baseApiUrl}/search`,e,{headers:new Qi({"Content-Type":"application/json"})})),Xi(()=>(this.state$.next("error"),xe(null))),te(e=>e?.value),xt(()=>{"error"!==this.state$.value&&this.state$.next("ready")}))}handleSearch(e){var i=this;return Ue(function*(){i.updateUrlParams({keywords:e.keywords,location:e.location}),i.searchFormData$.next(e)})()}handlePageSelect(e){this.updateUrlParams({skip:e}),this.skip$.next(e)}updateUrlParams(e){const i=this.location.path().split("?"),o=i[0],r=new URLSearchParams(i[1]??"");for(const[a,l]of Object.entries(e))l?r.set(a,l):r.delete(a);this.location.replaceState(`${o}?${r}`.toString())}static#e=this.\u0275fac=function(i){return new(i||t)(v($i),v(Bt),v(ii),v(mr))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-service-directory"]],standalone:!0,features:[z],decls:54,vars:6,consts:[["backgroundImageClass","bg-[url('/assets/service-directory/hero-background.png')]","smallImageUrl","/assets/service-directory/hero-background.png"],[1,"uppercase","font-bold","lg:text-lg"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"text-easy-green"],[1,"flex","flex-col","text-center","gap-4","lg:flex-row"],["button","cta","routerLink","/wellness-gift-card"],["button","outline","routerLink","/workplace-wellness"],[1,"py-10","px-5","lg:px-20","max-w-6xl","mx-auto"],[1,"text-sm","font-bold","uppercase","mb-4","text-left"],[1,"flex","flex-col","lg:flex-row","items-center","bg-gray-100","justify-between","rounded-xl","overflow-hidden","w-full","h-full","lg:h-[300px]"],[1,"w-full","lg:w-3/4","p-8"],[1,"text-xl","lg:text-2xl","font-bold","mb-6"],[1,"text-black"],[1,"space-y-6"],[1,"flex","items-start","gap-4"],[1,"w-8","h-8","rounded-full","bg-winnie-blue","text-black","flex","items-center","justify-center","font-semibold","text-sm","center-items"],[1,"font-semibold","text-lg","uppercase"],[1,"text-sm","text-gray-700"],[1,"w-8","h-8","rounded-full","bg-winnie-blue","text-black","flex","items-center","justify-center","font-semibold","text-sm"],[1,"w-full","lg:w-1/4","h-80","lg:h-full"],["src","/assets/service_provider.jpg","alt","How it works",1,"w-full","h-full","object-cover","lg:rounded-r-xl"],["class","px-5 py-6",4,"ngLet"],["class","px-5 pb-6 lg:px-20 lg:pb-20",4,"ngLet"],[1,"px-5","py-6"],[1,"text-center","mb-4"],[1,"uppercase","text-sm","tracking-widest","font-black","pb-4"],["colour","blue"],[1,"text-center","mx-auto","pb-6"],[1,"flex","flex-col","sm:flex-row","justify-center","gap-10","pb-10","text-center"],["routerLink","claim-profile",1,"bg-soft-black","text-white","font-semibold","py-3","px-6","rounded-lg","hover:opacity-90"],["href","/","target","_blank",1,"border","border-soft-black","text-soft-black","font-semibold","py-3","px-6","rounded-lg","hover:bg-soft-black","hover:text-white","transition"],[3,"initialKeywords","initialLocation","fetchProvi
1ders"],[1,"px-5","pb-6","lg:px-20","lg:pb-20"],[1,"w-16","mx-auto","text-easy-green"],["type","error",1,"max-w-lg","mx-auto"],["alert-title",""],["alert-description",""],["href","/health-services-directory",1,"underline","font-medium"],[1,"flex","flex-col","gap-16"],[3,"pagedList","showTotal","skipChanged"],[1,"flex","flex-col","gap-5","max-w-5xl","mx-auto","w-full"],[1,"flex-1","md:min-w-96","lg:max-w-96",3,"provider"],[1,"w-full",3,"provider"],["class","w-full",3,"provider"],[1,"max-w-lg","mx-auto","text-center","flex","flex-col","gap-6"]],template:function(i,o){1&i&&(c(0,"app-image-hero",0)(1,"h4",1),h(2," A Digital Act of Kindness "),d(),c(3,"h1",2),h(4," Available for use at every health and wellness service provider, "),c(5,"div",3),h(6,"Australia-wide."),d()(),c(7,"p"),h(8," Search Australia's largest Service Provider Directory to uncover a range of practitioners across Australia where Mentwell Digital Gift Cards can be used. Note that the current directory where the card can be redeemed is inclusive of (but not limited to) the practitioners listed below. "),d(),c(9,"div",4)(10,"a",5),h(11," Buy a Gift Card "),d(),c(12,"a",6),h(13," Buy for Business "),d()()(),c(14,"section",7)(15,"h2",8),h(16,"How Does it Work"),d(),c(17,"div",9)(18,"div",10)(19,"h3",11),h(20,"To claim profile as a "),c(21,"span",12),h(22,"Service Provider"),d()(),c(23,"div",13)(24,"div",14)(25,"div",15),h(26," 1 "),d(),c(27,"div")(28,"h4",16),h(29,"Search your profile"),d(),c(30,"p",17),h(31,"on our Service Directory."),d()()(),c(32,"div",14)(33,"div",18),h(34," 2 "),d(),c(35,"div")(36,"h4",16),h(37,"Sign up"),d(),c(38,"p",17),h(39,"and your your account."),d()()(),c(40,"div",14)(41,"div",18),h(42," 3 "),d(),c(43,"div")(44,"h4",16),h(45,"Enjoy Benefits"),d(),c(46,"p",17),h(47,"of Premium account features."),d()()()()(),c(48,"div",19),x(49,"img",20),d()()(),T(50,mke,14,2,"section",21),ve(51,"async"),T(52,wke,5,3,"section",22),ve(53,"async")),2&i&&(b(50),k("ngLet",Me(51,2,o.initialSearchParams$)),b(2),k("ngLet",Me(53,4,o.providers$)))},dependencies:[ne,Vi,Dt,zt,Sr,$_,U2,J2e,Ii,Ln,hke,Zt,vl,R2],styles:["section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#2d3748}section[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 10px #0000000d}section[_ngcontent-%COMP%]   a[button=cta][_ngcontent-%COMP%], section[_ngcontent-%COMP%]   a[button=outline][_ngcontent-%COMP%]{padding:.75rem 1.5rem;font-weight:600;border-radius:8px;display:inline-block;min-width:180px}section[_ngcontent-%COMP%]   a[button=cta][_ngcontent-%COMP%]{background-color:#10b981;color:#fff}section[_ngcontent-%COMP%]   a[button=outline][_ngcontent-%COMP%]{border:2px solid #10b981;color:#10b981}section[_ngcontent-%COMP%]   a[button][_ngcontent-%COMP%]:hover{opacity:.9}"]})}return t})();function xke(t,n){1&t&&(c(0,"app-alert",6)(1,"div",14),h(2,"Thanks for signing up to Mentwell! \u{1f389}"),d(),c(3,"div",15),h(4,"To continue, please sign in below."),d()())}const Cke=()=>({subject:"Login trouble",location:"Login page"});function kke(t,n){if(1&t&&(c(0,"app-alert",7)(1,"div",14),h(2),d(),c(3,"div",15),h(4," If you continue to have trouble logging in, please "),c(5,"a",16),h(6,"contact us"),d(),h(7,". "),d()()),2&t){const e=S();b(2),pe(e.state.message),b(3),k("trackContactUs",Be(2,Cke))}}function Mke(t,n){1&t&&x(0,"app-arrow-path-icon",17)}let Dke=(()=>{class t{constructor(e,i,o,r,s){this.http=e,this.configService=i,this.router=o,this.jwtService=r,this.location=s,this.state={state:"notLoaded"},this.emailInput=new De("",[Ae.required,Ae.email]),this.passwordInput=new De("",[Ae.required]),this.form=new _r({email:this.emailInput,password:this.passwordInput})}ngOnInit(){this.newAccountType=this.location.getState().newAccountType}login(e){if(e.preventDefault(),!this.form.valid)return;this.state={state:"loading"};const i={username:this.form.get("email")?.value??"",password:this.form.get("password")?.value??""};this.http.post(`${this.configService.config.baseApiUrl}/auth/login`,i).pipe(ue(),X(o=>(null!=o.token&&this.jwtService.saveToken(o.token),this.jwtService.data$))).subscribe({next:o=>{o?.isAdmin?this.router.navigate(["/admin"]):null!=o?.providerId&&o?.providerId.length>0?this.router.navigate([`/dashboard/${o.providerId[0]}`]):o?.businessId?this.router.navigate(["/business/dashboard"]):console.error("not an admin, no businessId and no providerId")}
1,error:o=>{console.error(o),this.state={state:"error",message:"Invalid email or password"}}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Pt),v(Zn),v(mr))};static#t=this.\u0275cmp=O({type:t,selectors:[["signin"]],standalone:!0,features:[z],decls:18,vars:6,consts:[[1,"flex","flex-col","bg-[url('/assets/login/background.jpg')]","bg-contain","bg-no-repeat","lg:flex-row"],[1,"bg-gradient-to-r","from-transparent","to-white","min-h-full","lg:w-1/2"],["src","/assets/login/small-background.jpg","alt","",1,"block","lg:hidden"],[1,"px-5","py-6","bg-white","lg:w-1/2","lg:px-20","lg:py-36"],[1,"flex","flex-col","gap-6","lg:max-w-md",3,"submit"],[1,"font-bold","text-3xl"],["type","success"],["type","error"],["type","email","name","username","placeholder","Email address","label","Email address","autocomplete","username",3,"control"],["type","password","name","password","placeholder","Password","label","Password","autocomplete","current-password",3,"control"],[1,"bg-neutral-100","text-neutral-500","text-sm","rounded-lg","px-6","py-4"],["routerLink","/signup",1,"text-winnie-blue","underline"],["button","","type","submit",1,"flex","items-center","justify-center","gap-1.5"],["class","animate-spin"],["alert-title",""],["alert-description",""],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"],[1,"animate-spin"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1),x(2,"img",2),d(),c(3,"div",3)(4,"form",4),V("submit",function(s){return o.login(s)}),c(5,"h3",5),h(6,"Log In"),d(),T(7,xke,5,0,"app-alert",6)(8,kke,8,3,"app-alert",7),x(9,"app-input",8)(10,"app-input",9),c(11,"div",10)(12,"a",11),h(13,"Sign up here"),d(),h(14," to create a business account. "),d(),c(15,"button",12),T(16,Mke,1,0,"app-arrow-path-icon",13),h(17," Log in "),d()()()()),2&i&&(b(7),U(7,o.newAccountType?7:-1),b(1),U(8,"error"===o.state.state?8:-1),b(1),k("control",o.emailInput),b(1),k("control",o.passwordInput),b(5),ke("disabled",o.form.valid&&"loading"!==o.state.state?null:"disabled"),b(1),U(16,"loading"===o.state.state?16:-1))},dependencies:[ne,rm,Zt,Qr,Kr,Zr,Dt,zt,vl,kb,Nn],encapsulation:2})}return t})(),Ske=(()=>{class t{constructor(e,i){this.jwtService=e,this.router=i}ngOnInit(){this.jwtService.deleteToken(),this.router.navigateByUrl("/login")}static#e=this.\u0275fac=function(i){return new(i||t)(v(Zn),v(Pt))};static#t=this.\u0275cmp=O({type:t,selectors:[["signout"]],standalone:!0,features:[z],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return t})(),Eke=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["signup-personal"]],decls:2,vars:0,template:function(i,o){1&i&&(c(0,"p"),h(1,"signup-personal works!"),d())}})}return t})();function Tke(t,n){1&t&&(c(0,"div",1)(1,"div",2)(2,"div",3),ge(3),d()()())}const Ike=["*"];let Ake=(()=>{class t{constructor(){this.show=!1}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-terms-modal"]],inputs:{show:"show"},ngContentSelectors:Ike,decls:1,vars:1,consts:[["class","modal fade show","tabindex","-1","role","dialog","style","display: block;"],["tabindex","-1","role","dialog",1,"modal","fade","show",2,"display","block"],["role","document",1,"modal-dialog","modal
1-lg","modal-dialog-centered","custom-modal-responsive"],[1,"modal-content"]],template:function(i,o){1&i&&(it(),T(0,Tke,4,0,"div",0)),2&i&&U(0,o.show?0:-1)},styles:["[_nghost-%COMP%]   .modal[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]   .modal-content[_ngcontent-%COMP%]{max-height:80vh;overflow-y:auto}@media (max-width: 576px){[_nghost-%COMP%]   .custom-modal-responsive[_ngcontent-%COMP%]{max-width:90%!important;margin-left:5%!important}}","[_nghost-%COMP%]{display:block}"]})}return t})();function Pke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide a valid businessname."),d())}function Oke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide your first name."),d())}function Rke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide your last name."),d())}function Fke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide a valid address for your business."),d())}function Lke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please provide a valid email."),d())}function Nke(t,n){1&t&&(c(0,"mat-error"),h(1,"Please select a password with 8 or more characters."),d())}const Bke=t=>({subject:t,location:"Signup business page"});function Vke(t,n){if(1&t&&(c(0,"mat-error",27)(1,"p"),h(2),d(),c(3,"p"),h(4," If you continue to experience difficulty, please "),c(5,"a",28),h(6,"contact support"),d()()()),2&t){const e=S();b(2),pe(e.serverErrorMessage),b(3),k("trackContactUs",di(2,Bke,"Error signing up business: "+e.serverErrorMessage))}}const zke=()=>({subject:"Error signing up business",location:"Signup business page"});function Hke(t,n){1&t&&(c(0,"mat-error",29),h(1," There was an error creating your account. Please try again later or "),c(2,"a",28),h(3,"contact support"),d()()),2&t&&(b(2),k("trackContactUs",Be(1,zke)))}function jke(t,n){1&t&&h(0," loading... ")}function $ke(t,n){1&t&&h(0," Continue ")}let Uke=(()=>{class t{constructor(e,i,o,r){this.http=e,this.configService=i,this.router=o,this.tracker=r,this.showTermsModal=!1,this.state="none",this.serverErrorMessage=null,this.passwordMatchingValidator=s=>{const a=s.get("password"),l=s.get("confirmPassword");return a?.value===l?.value?null:{passwordNotMatched:!0}}}ngOnInit(){this.signupForm=new _r({businessName:new De("",[Ae.required]),adminFirstName:new De("",[Ae.required]),adminLastName:new De("",[Ae.required]),email:new De("",[Ae.required,Ae.email]),phone:new De(""),password:new De("",[Ae.required,Ae.minLength(8)]),confirmPassword:new De("",[Ae.required]),address:new De("",[Ae.required]),referrer:new De("")},{validators:this.passwordMatchingValidator})}get formControls(){return this.signupForm.controls}isMatchingPassword(){const e=this.signupForm.get("password"),i=this.signupForm.get("confirmPassword");return e?.value===i?.value}onSubmit(e){e.preventDefault(),this.state="loading",this.serverErrorMessage=null,Object.keys(this.signupForm.controls).forEach(i=>{this.signupForm.get(i)?.markAllAsTouched()}),this.signupForm.valid?this.showTermsModal=!0:this.state="invalid"}onAcceptTerms(){this.showTermsModal=!1;const e={BusinessName:this.signupForm.get("businessName").value,UserFirstName:this.signupForm.get("adminFirstName").value,UserLastName:this.signupForm.get("adminLastName").value,Email:this.signupForm.get("email").value,Address:this.signupForm.get("address").value,Phone:this.signupForm.get("phone").value,Password:this.signupForm.get("password").value,ConfirmPassword:this.signupForm.get("confirmPassword").value,Referrer:this.signupForm.get("referrer")?.value};this.http.post(`${this.configService.config.baseApiUrl}/business`,e).subscribe({next:()=>{this.tracker.trackSignup("business"),this.router.navigateByUrl("/login",{state:{newAccountType:"business"}})},error:i=>{const o=i;if(!o||400!==o.status)return void(this.state="error");const r=o.error;r&&r.errors?.length?(this.state="invalid",this.serverErrorMessage=r.errors[0].message):this.state="error"}})}static#e=this.\u0275fac=function(i){return new(i||t)(v(Bt),v(ii),v(Pt),v(la))};static#t=this.\u0275cmp=O({type:t,selectors:[["signup-business"]],decls:435,vars:11,consts:[[3,"formGroup"],[1,"full-form-field"],[1,"form-label","label-text"],["matInput","","type","text","placeholder","My Business","formControlName","businessName","required","","autocomplete","work",1,"form-control"],[1,"half-form-field"],["matInput","","type","text","placeholder","Joe","formControlName","adminFirstName","required","","autocomplete","given-name",1,"form-control"],["matInput","","type","text","placeholder","Wells","formControlName","adminLastName","required","","autocomplete","family-name",1,"form-control"],["matInput","","type","text","placeholder","123 My Street, Melbourne, VIC, 3000","formControlName","address","required","","autocomplete","street-address",1,"form-control"],["matInput","","type","email","placeholder","[email protected]","formControlName","email","required","","autocomplete","username",1,"form-control"],["matInput","","type","tel","placeholder","0412345678","formControlName","phone","autocomplete","tel",1,"form-control"],["matInput","","type","password","placeholder","","formControlName","password","required","","autocomplete","new-password",1,"form-control"],["matInput","","type","password","placeholder","","formControlName","confirmPassword","required","","autocomplete","new-password",1,"form-control"],["matInput","","type","text","placeholder","Jane Bloggs","formControlName","referrer",1,"form-control"],["class","m-auto text-center"],["type","submit",1,"btn","btn-dark","mt-3",3,"disabled","click"],[3,"show"],[1,"p-4"],[1,"modal-header","modal
1-title"],["id","modal-title"],[1,"modal-body"],[1,"text-start"],[1,"text-bold"],[1,"pt-2"],[1,"font-bold"],["href","https://www.vaultps.com.au/terms-conditions/"],[1,"mt-4","flex","justify-end","space-x-2"],[1,"bg-dark","text-white","px-4","py-2",3,"click"],[1,"m-auto","text-center"],["onclick","window.HubSpotConversations.widget.open()",1,"support-link",3,"trackContactUs"],[1,"m-auto"]],template:function(i,o){1&i&&(c(0,"div")(1,"h2"),h(2,"Business Sign-Up"),d(),c(3,"form",0)(4,"div",1)(5,"mat-label",2),h(6,"Business Name*"),d(),c(7,"mat-form-field",1),x(8,"input",3),T(9,Pke,2,0,"mat-error"),d()(),c(10,"div",4)(11,"mat-label",2),h(12,"Administrator First Name*"),d(),c(13,"mat-form-field",1),x(14,"input",5),T(15,Oke,2,0,"mat-error"),d()(),c(16,"div",4)(17,"mat-label",2),h(18,"Administrator Last Name*"),d(),c(19,"mat-form-field",1),x(20,"input",6),T(21,Rke,2,0,"mat-error"),d()(),c(22,"div",1)(23,"mat-label",2),h(24,"Address*"),d(),c(25,"mat-form-field",1),x(26,"input",7),T(27,Fke,2,0,"mat-error"),d()(),c(28,"div",4)(29,"mat-label",2),h(30,"Email*"),d(),c(31,"mat-form-field",1),x(32,"input",8),T(33,Lke,2,0,"mat-error"),d()(),c(34,"div",4)(35,"mat-label",2),h(36,"Phone/Mobile"),d(),c(37,"mat-form-field",1),x(38,"input",9),d()(),c(39,"div",4)(40,"mat-label",2),h(41,"Password*"),d(),c(42,"mat-form-field",1),x(43,"input",10),T(44,Nke,2,0,"mat-error"),d()(),c(45,"div",4)(46,"mat-label",2),h(47,"Confirm Password*"),d(),c(48,"mat-form-field",1),x(49,"input",11),d()(),c(50,"div",1)(51,"mat-label",2),h(52,"Referred By"),d(),c(53,"mat-form-field",1),x(54,"input",12),d()(),T(55,Vke,7,4,"mat-error",13)(56,Hke,4,2),c(57,"button",14),V("click",function(s){return o.onSubmit(s)}),T(58,jke,1,0)(59,$ke,1,0),d()()(),c(60,"app-terms-modal",15)(61,"div",16)(62,"div",17)(63,"h4",18),h(64,"Mentwell \u2013 Portal Terms and Conditions"),d()(),c(65,"div",19)(66,"div",20)(67,"p"),h(68,"Welcome to Mentwell! We provide health and wellness cards that you can issue to your employees (Services), as set out in more detail on our website (Site)."),d(),c(69,"p"),h(70,"In these Terms, when we say you or your, we mean you as an individual if you are accepting these Terms for yourself. If you are accepting these Terms on behalf of an entity (such as your employer) and you are authorised to do so, then you or your means that entity. When we say we, us, or our, we mean Mentwell Pty Ltd (ACN 664 607 390). "),d(),c(71,"p"),h(72,"These terms and conditions (Terms) form our contract with you, and set out our obligations as a service provider and your obligations as a customer. You cannot use the Services unless you agree to these Terms."),d(),c(73,"p"),h(74,"Some capitalised words in these Terms have defined meanings, and each time that word is used in these Terms it has the same meaning. You can find a list of the defined words and their meaning at the end of these Terms."),d(),c(75,"h6",20),h(76,"OUR DISCLOSURES"),d(),c(77,"p"),h(78,"Please read these Terms carefully before you accept. We draw your attention to:"),d(),c(79,"ul")(80,"li"),h(81,"our privacy policy (on the Site) which sets out how we will handle your personal information;"),d(),c(82,"li"),h(83,"clause 1.8 (Variations) which sets out how we may amend these Terms; and"),d(),c(84,"li"),h(85,"clause 10 (Liability) which sets out exclusions and limitations to our liability under these Terms"),d()(),c(86,"p"),h(87,"We may receive a benefit (which may include a referral fee or a commission) should you visit certain third party websites through a link in the Services, or for featuring certain goods or services on the Services."),d(),c(88,"p",21),h(89,"These Terms do not intend to limit your rights and remedies at law, including any of your Consumer Law Rights."),d()(),c(90,"div",20)(91,"h6",20),h(92,"Engagement and Term"),d(),c(93,"ul")(94,"li"),h(95,"These Terms apply from the time you agree to these Terms, until the date these Terms are terminated in accordance with their Terms (Term)."),d(),c(96,"li"),h(97,"Subject to your compliance with these Terms, we will provide you with access to the Services."),d(),c(98,"li"),h(99,"Where we require access to your premises or computer systems in order to provide the Services, you agree to provide us with such access free from risk to the safety of our employees and contractors."),d(),c(100,"li"),h(101,"Where the Services include the provision of an application programming interface (API), you agree to only use the API in accordance with the documentation that we provide to you through our Site or otherwise."),d(),c(102,"li"),h(103,"We will not be responsible for any other services unless expressly set out in these Terms or on our Site."),d(),c(104,"li"),h(105,"If we provide you with access to any new or beta services, you acknowledge that because of the developmental nature of such services, you use them at your own risk and we have no obligation to maintain or provide error corrections. Any new or beta services we provide you with access to are for evaluation purposes only and not for production use, and we may discontinue those services at any time at our sole discretion."),d(),c(106,"li"),h(107,"Where you engage third parties to operate alongside the Services (for example, any third-party software systems you wish to integrate with the Services), those third parties are independent of us and you are responsible for (meaning we will not be liable for) the goods or services they provide, unless we expressly agree otherwise."),d(),c(108,"li"),h(109,"We may amend these Terms at any time, by providing written notice to you. By clicking \u201cI accept\u201d or continuing to use the Services after the notice or 30 days after notification (whichever date is earlier), you agree to the amended Terms. If you do not agree to the amendment, you should cease using the Services."),d()()(),c(110,"div",20)(111,"h6",20),h(112,"Account"),d(),c(113,"ul")(114,"li"),h(115,"You must sign up for an Account in order to access and use the Services."),d(),c(116,"li"),h(117,"You must sign up for an Account in order to access and use the Services."),d(),c(118,"ul")(119,"li"),h(120,"keep your information up-to-date (and ensure it remains true, accurate and complete);"),d(),c(121,"li"),h(122,"keep usernames and passwords secure and confidential, and protect them from misuse or being stolen; and"),d(),c(123,"li"),h(124,"notify us if you become aware of, or have reason to suspect, any unauthorised access to your Account or any logins linked to your Account."),d()(),c(125,"li"),h(126,"If you close your Account, you will lose access to the Services but any Cards may remain active."),d()()(),c(127,"div",20)(128,"h6"),h(129,"Fees"),d(),c(130,"ul")(131,"li"),h(132,"You may choose to purchase Cards from us for the Card Load Value, as set out on our Site (Card Services). You must pay all amounts due under these Terms in accordance with these Terms or as set out on our Site (as applicable)."),d(),c(133,"li"),h(134,"Details of our Card Services, including features, limitations and fees are set out on our Site. All Card Services must be paid for at the time you order the Cards."),d(),c(135,"li"),h(136,"Our payments methods will be set out at the time you purchase the Services. If you choose to pay your fees using one of our third-party payment processors and distributors, including Vault, you may 
1need to accept their terms and conditions (if this is the case, these will be set out at the time you make payment)."),d(),c(137,"li"),h(138,"You must not pay, or attempt to pay, any fees due under these Terms or as a result of your use of the Services by fraudulent or unlawful means. If you make payment by debit or credit card, you must be the authorised card holder. If payment is made by direct debit, by providing your bank account details and accepting these Terms, you authorise our nominated third-party payment processor to debit your bank account, and you confirm that you are either the holder or an authorised signatory of that bank account."),d(),c(139,"li"),h(140,"If any fees due under these Terms or as a result of your use of the Services are not paid on time, we may:"),d(),c(141,"ul")(142,"li"),h(143,"suspend your access to the Services; and"),d(),c(144,"li"),h(145,"charge interest on any overdue payments at a rate equal to the Reserve Bank of Australia\u2019s cash rate, from time-to-time, plus 2% per annum, calculated daily and compounding monthly."),d()(),c(146,"li"),h(147,"You are responsible for paying any levies or taxes associated with your use of the Services, for example sales taxes, value-added taxes or withholding taxes (unless we are required by law to collect these on your behalf)."),d()()(),c(148,"div",20)(149,"h6"),h(150,"Cards"),d(),c(151,"ul")(152,"li"),h(153,"You acknowledge and agree that all Cards are valid for a maximum of 3 years from the date of purchase, as set out on our Site and any Cards not activated or redeemed within the designated time frame cannot be re-activated, extended or refunded in any way."),d(),c(154,"li"),h(155,"If you or your Personnel require a Card to be reissued because it is lost or damaged as a result of you or your Personnel\u2019s acts or omissions, you will be charged a re-issuance fee of $5 (excl. GST) from the Card Load Value."),d()()(),c(156,"div",20)(157,"h6"),h(158,"Licence"),d(),c(159,"ul")(160,"li"),h(161,"During the Term, we grant you a right to use our basic Services in accordance with these Terms. This right cannot be passed on or transferred to any other person. "),d(),c(162,"li"),h(163,"When you purchase our Card Services, we grant you and your Personnel the right to access the purchased Cards until the specified duration of each Card. These rights cannot be passed on or transferred to any other person."),d(),c(164,"li"),h(165,"You must not:"),d(),c(166,"ul")(167,"li"),h(168,"access or use the Services in any way that is improper or breaches any laws, infringes any person's rights (for example, intellectual property rights and privacy rights), or gives rise to any civil or criminal liability; "),d(),c(169,"li"),h(170,"interfere with or interrupt the supply of the Services, or any other person\u2019s access to or use of the Services; "),d(),c(171,"li"),h(172,"introduce any viruses or other malicious software code into the Services; "),d(),c(173,"li"),h(174,"use any unauthorised or modified version of the Services, including but not limited to for the purpose of building similar or competitive software or for the purpose of obtaining unauthorised access to the Services;"),d(),c(175,"li"),h(176,"attempt to access any data or log into any server or account that you are not expressly authorised to access; "),d(),c(177,"li"),h(178,"use the Services in any way that involves service bureau use, outsourcing, renting, reselling, sublicensing, concurrent use of a single user login, or time-sharing;"),d(),c(179,"li"),h(180,"circumvent user authentication or security of any of our networks, accounts or hosts or those of any third party; or "),d(),c(181,"li"),h(182,"access or use the Services to transmit, publish or communicate material that is, defamatory, offensive, abusive, indecent, menacing, harassing or unwanted"),d()(),c(183,"li"),h(184,"If the Services include API access, you may use any provided APIs in accordance with our API documentation and usage policies. You may make necessary modifications to facilitate such integration, provided that such modifications do not alter or compromise the core functionality or security of the Services."),d(),c(185,"li"),h(186,"To the extent that the Services involve the provision of access to or use of third party services or products (Third Party Services), you acknowledge and agree that: "),d(),c(187,"ul")(188,"li"),h(189,"the Third Party Services may be subject to additional terms and conditions, including Vault Terms and Conditions (Third Party Services Terms);"),d(),c(190,"li"),h(191,"the Third Party Services may be operated and controlled by parties unrelated to and completely independent from us;"),d(),c(192,"li"),h(193,"the Third Party Services Terms may be amended by the Third Party Services provider from time to time; and"),d(),c(194,"li"),h(195,"in connection with the Services, you will c
1omply with the Third Party Services Terms at all times."),d()()()(),c(196,"div",20)(197,"h6"),h(198,"Availability, Disruption and Downtime"),d(),c(199,"ul")(200,"li"),h(201,"While we strive to always make the Services available to you, we do not make any promises that these will be available 100% of the time. The Services may be disrupted during certain periods, including, for example, as a result of scheduled or emergency maintenance."),d(),c(202,"li"),h(203,"The Services may interact with, or be reliant on, products or services provided by third parties, such as cloud hosting service providers. To the maximum extent permitted by law, we are not liable for disruptions or downtime caused or contributed to by these third parties."),d(),c(204,"li"),h(205,"We will try to provide you with reasonable notice, where possible, of any disruptions to your access to the Services. "),d()()(),c(206,"div",20)(207,"h6"),h(208,"Intellectual Property and Data"),d(),c(209,"ul")(210,"li"),h(211,"We own all intellectual property rights in the Services. This includes how the Services look and function, as well as our copyrighted works, trademarks, inventions, designs and other intellectual property. You agree not to copy or otherwise misuse our intellectual property without our written permission (for example, to reverse engineer or discover the source code of our intellectual property), and you must not alter or remove any confidentiality, copyright or other ownership notice placed on the Services."),d(),c(212,"li"),h(213,"We may use any feedback or suggestions that you give us in any manner which we see fit (for example, to develop new features), and no benefit will be owed to you as a result of any use by us of your feedback or suggestions. "),d(),c(214,"h6",22),h(215,"Your Data"),d(),c(216,"li"),h(217,"We do not own any of Your Data, but when you enter or upload any of Your Data into the Services, you grant us the right to access, analyse, backup, copy, store, transmit, and otherwise use Your Data for the duration of your use of the Services (and for a reasonable period of time afterwards). We may use Your Data (or disclose it to third party service providers) to:"),d(),c(218,"ul")(219,"li"),h(220,"supply the Services to you (for example, to enable you to access and use the Services), and otherwise perform our obligations under these Terms;"),d(),c(221,"li"),h(222,"diagnose problems with the Services;"),d(),c(223,"li"),h(224,"improve, develop and protect the Services;"),d(),c(225,"li"),h(226,"send you information we think may be of interest to you based on your marketing preferences;"),d(),c(227,"li"),h(228,"perform analytics for the purpose of remedying bugs or issues with the Services; or"),d(),c(229,"li"),h(230,"perform our obligations under these Terms (as reasonably required). "),d()(),c(231,"li"),h(232,"You acknowledge and agree that because of the nature of the internet, the processing and transmission of Your Data by us may occur over various networks."),d(),c(233,"li"),h(234,"You are responsible for (meaning we are not liable for):"),d(),c(235,"ul")(236,"li"),h(237,"the integrity of Your Data on your systems, networks or any device controlled by you; and"),d(),c(238,"li"),h(239,"backing up Your Data."),d()(),c(240,"li"),h(241,"When you use the Services, we may create anonymised statistical data from Your Data and usage of the Services (for example, through aggregation). Once anonymised, we own that data and may use it for our own purposes, such as to provide and improve the Services, to develop new services or product offerings, to identify business trends, and for other uses we communicate to you. This may include making such anonymised data publicly available, provided it is not compiled using a sample size small enough to make underlying portions of Your Data identifiable."),d(),c(242,"li"),h(243,"If you do not provide Your Data to us, it may impact your ability to receive the Services."),d(),c(244,"li"),h(245,"This clause 7 will survive the termination or expiry of these Terms."),d()()(),c(246,"div",20)(247,"h6"),h(248,"Confidential Information and Personal Information"),d(),c(249,"ul")(250,"li"),h(251,"While using the Services, you may share confidential information with us, and you may become aware of confidential information about us. You agree not to use our confidential information, and to take reasonable steps to protect our confidential information from being disclosed without our permission, and we agree to do the same for your confidential information. This also means making sure that any employees, contractors, professional advisors or agents of ours or yours only have access to confidential information on a \u2018need-to-know basis\u2019 (in other words, the disclosure is absolutely necessary), and that they also agree to not misuse or disclose such confidential information."),d(),c(252,"li"),h(253,"However, either you or we may share confidential information with legal or regulatory authorities if required by law to do so."),d(),c(254,"li"),h(255,"We collect, hold and disclose and use any Personal Information you provide to us in accordance with our privacy policy, available on the Site, and applicable privacy laws."),d(),c(256,"li"),h(257,"You must only disclose Personal Information to us if you have the right to do so (such as having the individual\u2019s express consent)."),d(),c(258,"li"),h(259,"We may need to disclose Personal Information to third parties, such as our related companies or our service providers (for example, IT and administrative service providers and our professional advisors)."),d(),c(260,"li"),h(261,"Where we are required by law to report on our activities, you acknowledge that from time to time we may request certain information from you in order to meet our requirements, and you agree to provide us with such information within the timeframes reasonably requested by us."),d(),c(262,"li"),h(263,"This clause 8 will survive the termination or expiry of these Terms"),d()()(),c(264,"div",20)(265,"h6"),h(266,"Consumer Law Rights"),d(),c(267,"ul")(268,"li"),h(269,"In 
1some jurisdictions, you may have guarantees, rights or other remedies provided by law (Consumer Law Rights), and these Terms do not restrict your Consumer Law Rights. We will only be bound by your Consumer Law Rights and the express wording of these Terms. "),d(),c(270,"li"),h(271,"Subject to your Consumer Law Rights, we do not provide a refund for a change of mind or change in circumstance."),d(),c(272,"li"),h(273,"If you accept these Terms in Australia, nothing in these Terms should be interpreted to exclude, restrict or modify the application of, or any rights or remedies you may have under, any part of the Australian Consumer Law (as set out in Schedule 2 of the Competition and Consumer Act 2010 (Cth)). "),d(),c(274,"li"),h(275,"This clause 9 will survive the termination or expiry of these Terms."),d()()(),c(276,"div",20)(277,"h6"),h(278,"Liability"),d(),c(279,"ul")(280,"li"),h(281,"To the maximum extent permitted by law, we will not be liable for, and you release us from liability for, any Liability caused or contributed to by, arising from or in connection with: "),d(),c(282,"ul")(283,"li"),h(284,"your computing environment (for example, your hardware, software, information technology and telecommunications services and systems); or"),d(),c(285,"li"),h(286,"any use of the Services by a person or entity other than you. "),d()(),c(287,"li"),h(288,"Regardless of whatever else is stated in these Terms, to the maximum extent permitted by law: "),d(),c(289,"ul")(290,"li"),h(291,"neither we or you are liable for any Consequential Loss; "),d(),c(292,"li"),h(293,"a party\u2019s liability for any Liability under these Terms will be reduced proportionately to the extent the relevant Liability was caused or contributed to by the actions (or inactions) of the other party, including any failure by the other party to mitigate its loss; "),d(),c(294,"li"),h(295,"(where the Services are not ordinarily acquired for personal, domestic or household use or consumption) in respect of any failure by us to comply with relevant Consumer Law Rights, our Liability is limited (at our discretion) to supplying the Services again or paying the cost of having the Services supplied again; and"),d(),c(296,"li"),h(297,"our aggregate liability to you for any Liability arising from or in connection with these Terms will be limited to the amount of any fees paid by you to us in respect of the supply of the relevant Services to which the Liability relates, and where no Services have been purchased, AU$1000."),d()(),c(298,"li"),h(299,"This clause 10 will survive the termination or expiry of these Terms."),d()()(),c(300,"div",20)(301,"h6"),h(302,"Suspension and Termination"),d(),c(303,"p",23),h(304,"Suspension"),d(),c(305,"ul")(306,"li"),h(307,"We may suspend your access to the Services where we reasonably believe there has been any unauthorised access to or use of the Services (such as the unauthorised sharing of login details for the Services). If we suspend your access to the Services, we will let you know 
1within a reasonable time of doing so, and we will work with you to resolve the matter, or if it cannot be resolved, then we may terminate these Terms and your access to the Services will end."),d()(),c(308,"p",23),h(309,"Termination"),d(),c(310,"ul")(311,"li"),h(312,"We may terminate these Terms (meaning you will lose access to the Services) if:"),d(),c(313,"ul")(314,"li"),h(315,"you fail to pay your fees when they are due;"),d(),c(316,"li"),h(317,"you breach these Terms and do not remedy that breach within 14 days of us notifying you of that breach;"),d(),c(318,"li"),h(319,"you breach these Terms and that breach cannot be remedied; or"),d(),c(320,"li"),h(321,"you experience an insolvency event (including but not limited to bankruptcy, receivership, voluntary administration, liquidation, or entering into creditors\u2019 schemes of arrangement)."),d()(),c(322,"li"),h(323,"You may terminate these Terms if:"),d(),c(324,"ul")(325,"li"),h(326,"we breach these Terms and do not remedy that breach within 14 days of you notifying us of that breach; or"),d(),c(327,"li"),h(328,"we breach these Terms and that breach cannot be remedied."),d()(),c(329,"li"),h(330,"If you have no active Cards, you may terminate these Terms at any time by notifying us through your Account or to our email for notices (as set out in clause 12.8), and termination will take effect immediately."),d(),c(331,"li"),h(332,"Upon termination of these Terms: "),d(),c(333,"ul")(334,"li"),h(335,"without limiting your Consumer Law Rights, there will be no refunds or credits for any unused Card Load Value on the expiry of the Cards; and"),d(),c(336,"li"),h(337,"we will retain Your Data (including copies) as required by law or regulatory requirements."),d()(),c(338,"li"),h(339,"Termination of these Terms will not affect any other rights or liabilities that we or you may have. "),d(),c(340,"li"),h(341,"This clause 11 will survive the termination or expiry of these Terms."),d()()(),c(342,"div",20)(343,"h6"),h(344,"General "),d(),c(345,"ul")(346,"li")(347,"span",23),h(348,"Assignment: "),d(),h(349,"You may not transfer or assign these Terms (including any benefits or obligations you have under these Terms) to any third party without our prior written consent. We may assign or transfer these Terms to a third party, or transfer any debt owed by you to us to a debt collector or other third party."),d(),c(350,"li")(351,"span",23),h(352,"Disputes: "),d(),h(353,"Neither we or you may commence court proceedings relating to any dispute, controversy or claim arising from, or in connection with, these Terms (including any question regarding its existence, validity or termination) (Dispute) unless we and you first meet (in good faith) to resolve the Dispute. Nothing in this clause will operate to prevent us or you from seeking urgent injunctive or equitable relief from a court of appropriate jurisdiction. If the Dispute is not resolved at that initial meeting refer the matter to mediation, administered by the Australian Disputes Centre in accordance with Australian Disputes Centre Guidelines for Commercial Mediation."),d(),c(354,"li")(355,"span",23),h(356,"Events Outside Our Control: "),d(),h(357,"We will not be liable for any delay or failure to perform our obligations (including the Services), if such delay or failure is caused or contributed to by an event or circumstance beyond our reasonable control."),d(),c(358,"li")(359,"span",23),h(360,"Governing law: "),d(),h(361,"These Terms are governed by the laws of New South Wales, and any matter relating to these Terms is to be determined exclusively by the courts in New South Wales and any courts entitled to hear appeals from those courts. "),d(),c(362,"li")(363,"span",23),h(364,"Illegal Requests: "),d(),h(365,"We reserve the right to refuse any request for or in relation to the Services that we deem inappropriate, unethical, unreasonable, illegal or otherwise non-compliant with these Terms."),d(),c(366,"li")(367,"span",23),h(368,"Marketing: "),d(),h(369,"You agree that we may send you electronic communications about our products and services. You may opt-out at any time by using the unsubscribe function in our electronic communications."),d(),c(370,"li")(371,"span",23),h(372,"Nature of Legal Relationship: "),d(),h(373," Terms do not create, and should not be interpreted so as to create, a partnership, joint venture, employment or agency relationship between us and you."),d(),c(374,"li")(375,"span",23),h(376,"Notices: "),d(),h(377,"Any notice you send to us must be sent to the email set out at the beginning of these Terms. Any notice we send to you will be sent to the email address registered against your Account."),d(),c(378,"li")(379,"span",23),h(380,"Professional Services Disclaimer: "),d(),h(381,"The Services do not constitute, and are not a substitute for, financial, legal or risk management advice."),d(),c(382,"li")(383,"span",23),h(384,"Publicity: "),d(),h(385,"You agree that we may, with your written consent, advertise or publicise the fact you are a customer of ours, for example on the Site or in our promotional material, and you grant us a right to display and use your logo and branding solely for that purpose."),d()()(),c(386,"div",20)(387,"h6"),h(388,"Definitions "),d(),c(389,"ul")(390,"li"),h(391,"In these Terms:"),d(),c(392,"ul")(393,"li")(394,"span",23),h(395,"Account "),d(),h(396,"means an account accessible to the individual or entity who signed up to the Services."),d(),c(397,"li")(398,"span",23),h(399,"Card "),d(),h(400,"means a 
1single-use, digital stored value Mastercard valid for 3 years, distributed by Vault, in which sensitive information (including, but limited to, a PAN) is substituted for a unique identifier (token) to use for payment for contactless purchases as well as card not present transactions, such as online purchases at specified retailers and merchant types as set out on our website or Portal."),d(),c(401,"li")(402,"span",23),h(403,"Consequential Loss "),d(),h(404,"includes any consequential loss, special or indirect loss, real or anticipated loss of profit, loss of benefit, loss of revenue, loss of business, loss of goodwill, loss of opportunity, loss of savings, loss of reputation, loss of use and/or loss or corruption of data, whether under statute, contract, equity, tort (including negligence), indemnity or otherwise. However, your obligation to pay us any amounts for access to or use of the Services (including the Services) will not constitute \u201cConsequential Loss\u201d."),d(),c(405,"li")(406,"span",23),h(407,"Liability "),d(),h(408,"means any expense, cost, liability, loss, damage, claim, notice, entitlement, investigation, demand, proceeding or judgment (whether under statute, contract, equity, tort (including negligence), indemnity or otherwise), howsoever arising, whether direct or indirect and/or whether present, unascertained, future or contingent and whether involving a third party or us or you or otherwise."),d(),c(409,"li")(410,"span",23),h(411,"Personal Information "),d(),h(412,"means any information or opinion about an identified individual, or an individual who is reasonably identifiable, whether the information or opinion is true or not, and whether the information or opinion is recorded in a tangible form or not."),d(),c(413,"li")(414,"span",23),h(415,"Services "),d(),h(416,"means the services we provide to you, as detailed at the beginning of these Terms."),d(),c(417,"li")(418,"span",23),h(419,"Vault "),d(),h(420,"means Vault Payment Solutions Group Pty Ltd (ACN 632 373 105)."),d(),c(421,"li")(422,"span",23),h(423,"Vault Terms and Conditions "),d(),h(424,"means the terms and conditions applicable to the Cards, available here: "),c(425,"a",24),h(426,"https://www.vaultps.com.au/terms-conditions/"),d(),h(427,". "),d(),c(428,"li")(429,"span",23),h(430,"Your Data "),d(),h(431,"means the information, materials, logos, documents, qualifications and other intellectual property or data supplied by you when receiving the Services or stored by or generated by your use of the Services, including any Personal Information collected, used, disclosed, stored or otherwise handled in connection with the Services. Your Data does not include any data or information that is generated as a result of your usage of the Services that is a back-end or internal output or an output otherwise generally not available to users of the Services. "),d()()()(),c(432,"div",25)(433,"button",26),V("click",function(){return o.onAcceptTerms()}),h(434,"Accept"),d()()()()()),2&i&&(b(3),k("formGroup",o.signupForm),b(6),U(9,"none"!==o.state&&o.formControls.businessName.errors?9:-1),b(6),U(15,"none"!==o.state&&o.formControls.adminFirstName.errors?15:-1),b(6),U(21,"none"!==o.state&&o.formControls.adminLastName.errors?21:-1),b(6),U(27,"none"!==o.state&&o.formControls.address.errors?27:-1),b(6),U(33,"none"!==o.state&&o.formControls.email.errors?33:-1),b(11),U(44,"none"!==o.state&&o.formControls.password.errors?44:-1),b(11),U(55,"invalid"===o.state&&o.serverErrorMessage?55:"error"===o.state?56:-1),b(2),k("disabled","loading"===o.state),b(1),U(58,"loading"===o.state?58:59),b(2),k("show",o.showTermsModal))},dependencies:[Nn,Ng,Jc,Rg,Kr,fr,Yr,Zr,qc,br,Gc,$g,Ake],styles:["[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%]   form[_ngcontent-%COMP%]{text-align:left;display:flex;flex-wrap:wrap;justify-content:space-between}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .half-form-field[_ngcontent-%COMP%], [_nghost-%COMP%]   .full-form-field[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .support-link[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;color:red}@media (min-width: 667px){[_nghost-%COMP%]   .half-form-field[_ngcontent-%COMP%]{width:45%}}
1[_nghost-%COMP%]   .modal-title[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1050;background:white;text-align:center}"]})}return t})();function Wke(t,n){1&t&&(c(0,"div"),x(1,"signup-business"),d())}function Gke(t,n){1&t&&x(0,"signup-personal")}let qke=(()=>{class t{constructor(){this.shouldShowBusinessSignup=!0}switchTo(e){switch(e){case"business":this.shouldShowBusinessSignup=!0;break;case"personal":this.shouldShowBusinessSignup=!1}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["signup"]],decls:5,vars:2,consts:[[1,"signup","mx-auto"],[4,"ngIf","ngIfElse"],["personalSignup",""]],template:function(i,o){if(1&i&&(c(0,"div",0)(1,"div"),T(2,Wke,2,0,"div",1)(3,Gke,1,0,"ng-template",null,2,Yi),d()()),2&i){const r=mt(4);b(2),k("ngIf",o.shouldShowBusinessSignup)("ngIfElse",r)}},dependencies:[Ki,Eke,Uke],styles:[".signup[_ngcontent-%COMP%]{width:100%;padding:2rem}.underline[_ngcontent-%COMP%]{border-bottom:black 1px solid;border-top:transparent 1px solid}.type-selector[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:3rem}.type-selector[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:40%;max-width:9rem;text-align:center;height:3rem;cursor:pointer}.type-selector[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{background-color:#eee}@media (min-width: 667px){.signup[_ngcontent-%COMP%]{width:50%;padding:4rem 0}}"]})}return t})(),Yke=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["terms"]],standalone:!0,features:[z],decls:205,vars:0,consts:[["title","Website Terms and Conditions",1,"mb-14"],[1,"prose","mx-auto","px-5"],[1,"list-[lower-roman]"]],template:function(i,o){1&i&&(x(0,"app-legal-page-header",0),c(1,"section",1)(2,"p"),h(3," Thank you for visiting our website. This website is owned and operated by Mentwell Pty Ltd ACN 664 607 390. By accessing and/or using this website and related services, you agree to these Terms and Conditions, which include our Privacy Policy (available at https://www.mentwell.com.au/privacy) ( Terms). You should review our Privacy Policy and these Terms carefully and immediately cease using our website if you do not agree to these Terms. "),d(),c(4,"p"),h(5," In these Terms, \u2018us\u2019, \u2018we\u2019 and \u2018our\u2019 means Mentwell Pty Ltd ACN 664 607 390 and its related bodies corporate. "),d(),c(6,"h2"),h(7,"IMPORTANT INFORMATION "),d(),c(8,"p"),h(9," The Information contained in, or accessed through, this website is for your general information and use only and is not intended to be, or be used as medical advice. Information provided as part of this website may be used to assist you to purchase your smart e-gift card and browse or search for service providers that you can use your smart e-gift card with. However, this website is not a diagnostic tool and information provided through it and use of these services are not medical advice nor are they a substitute for independent professional advice and should not be used or relied on as an alternative to professional health care. If you have a particular medical problem, please consult a healthcare professional. "),d(),c(10,"p"),h(11," Our website is designed only for people who are located within Australia. "),d(),c(12,"h3"),h(13," 1 Registration "),d(),c(14,"p"),h(15," In order to use our services you will need to register an account or use the \u2018Guest Checkout\u2019 function of our website. "),d(),c(16,"p"),h(17," When you register and activate your account, you will provide us with personal information such as your name, address and telephone number. You must ensure that this information is accurate and current. "),d(),c(18,"p"),h(19," We will handle all personal information we collect in accordance with our Privacy Policy https://www.mentwell.com.au/privacy "),d(),c(20,"p"),h(21," When you register and activate your account, you will submit a user name and password. You are responsible for keeping this user name and password secure and are responsible for all use and activity carried out under this user name. "),d(),c(22,"ul"),h(23," To create an account, you must be: "),c(24,"li"),h(25,"at least 18 years of age;
1"),d(),c(26,"li"),h(27,"possess the legal right and ability to enter into a legally binding agreement with us; and"),d(),c(28,"li"),h(29,"agree and warrant to use the website in accordance with these Terms."),d()(),c(30,"h3"),h(31,"2 Collection Notice"),d(),c(32,"p"),h(33," We take the privacy of your Personal Information (defined in our Privacy Policy) seriously. We collect personal information about you to facilitate your use of our website and service as set out in our Privacy Policy at https://www.mentwell.com.au/privacy. "),d(),c(34,"p"),h(35," We may disclose that information to third parties that help us deliver our services (including information technology suppliers, communication suppliers and our business partners) or as required by law. If you do not provide this information, we may not be able to provide all of our services to you. We may also disclose your personal information to recipients that are located outside of Australia. "),d(),c(36,"ol"),h(37," Our Privacy Policy explains: "),c(38,"li",2),h(39,"how we store and use, and how you may access and correct your personal information;"),d(),c(40,"li",2),h(41,"how you can lodge a complaint regarding the handling of your personal information; and"),d(),c(42,"li",2),h(43,"how we will handle any complaint."),d()(),c(44,"p"),h(45," If you would like any further information about our privacy policies or practices, please contact us at privacy&mentwell.com.au. We encourage you to carefully review our Privacy Statement a detailed explanation of these important disclosures. "),d(),c(46,"p"),h(47," By providing your personal information to us, you consent to the collection, use, storage and disclosure of that information as described in the Privacy Policy and these Terms. "),d(),c(48,"h3"),h(49,"3 Accuracy, completeness and timeliness of information"),d(),c(50,"p"),h(51," The information on our website is not comprehensive and is intended to provide a summary of the service we offer. While we use all reasonable attempts to ensure the accuracy and completeness of the information on our website, to the extent permitted by law, including the Australian Consumer Law, we make no warranty regarding the information on this website. You should monitor any changes to the information contained on this website. "),d(),c(52,"p"),h(53," We are not liable to you or anyone else if interference with or damage to your computer systems occurs in connection with the use of this website or a linked website. You must take your own precautions to ensure that whatever you select for your use from our website is free of viruses or anything else (such as worms or Trojan horses) that may interfere with or damage the operations of your computer systems. "),d(),c(54,"p"),h(55," We may, from time to time and without notice, change or add to the website (including the Terms) or the information, products or services described in it. However, we do not undertake to keep the website updated. We are not liable to you or anyone else if errors occur in the information on the website or if that information is not up-to-date. "),d(),c(56,"h3"),h(57,"4 Availability, Disruption and Downtime "),d(),c(58,"p"),h(59," While we strive to always make our website available to you, we do not make any promises that these will be available 100% of the time. Our website may be disrupted during certain periods, including, for example, as a result of scheduled or emergency maintenance. "),d(),c(60,"p"),h(61," The website may interact with, or be reliant on, products or services provided by third parties, such as cloud hosting service providers. To the maximum extent permitted by law, we are not liable for disruptions or downtime caused or contributed to by these third parties. "),d(),c(62,"p"),h(63," Our website may al
1so contain links to websites operated by third parties. Those links are provided for convenience and may not remain current or be maintained. Unless expressly stated otherwise, we do not endorse and are not responsible for the content on those linked websites and have no control over or rights in those linked websites. "),d(),c(64,"p"),h(65," We will try to provide you with reasonable notice, where possible, of any disruptions to your access to our website. "),d(),c(66,"h3"),h(67,"5 Promotions and competitions"),d(),c(68,"p"),h(69," For certain campaigns, promotions or contests, additional terms and conditions may apply. If you want to participate in such a campaign, promotion or contest, you need to agree to the relevant terms and conditions applicable to that campaign, promotion or contest. In case of any inconsistency between such terms and conditions and these Terms, those terms and conditions will prevail. "),d(),c(70,"h3"),h(71,"6 Terms and conditions of sale"),d(),c(72,"ol")(73,"li",2)(74,"h4"),h(75,"Buying smart e-gift cards"),d(),c(76,"ul"),h(77," To purchase a smart e-gift card, you must complete the online ordering process, which requires you to: "),c(78,"li"),h(79,"select the type of smart e-gift card, insert a message, the quantity of smart e-gift card(s) you wish to order, and the amount which you wish to be loaded onto each smart e-gift card;"),d(),c(80,"li"),h(81,"register for online purchasing by providing your name, company name (if purchasing on behalf of a company), email address, contact details and then creating a password. These details can be changed at any time. You only need to register once. For subsequent online purchases you only need to enter your registered email address and password;"),d(),c(82,"li"),h(83,"provide the name and address in Australia of the recipient to whom the smart e-gift card(s) is/are to be sent (which may be yourself or another person), or the name and email address or mobile number (for delivery via SMS) of the person to whom the smart e-gift card(s) is/are to be sent (which may be yourself or another person). Delivery is only to one email address or mobile number via SMS provided for the smart e-gift card(s) purchased in a single order; and"),d(),c(84,"li"),h(85," nominate a method of delivery: "),c(86,"ul")(87,"li"),h(88,"email delivery to the recipient\u2019s email address, or "),d(),c(89,"li"),h(90,"delivery via SMS to the recipient\u2019s mobile number. "),d()()(),c(91,"li"),h(92,"You will be able to view and manage all Gift Cards purchased in your Card History."),d(),c(93,"li"),h(94,"When you make a purchase on behalf of another individual (such as purchasing a gift card for them) and you provide us with their personal information, you warrant that you are authorised to provide us with that personal information and that we are able to use that personal information for the purposes as set out in our Privacy Policy. This would include, for example, their email address for the purpose of delivering the gift card you have purchased."),d()()(),c(95,"li",2)(96,"h4"),h(97,"Order confirmation"),d(),c(98,"ul")(99,"li"),h(100,"You will receive an order confirmation to your nominated email address after completing the online ordering process."),d(),c(101,"li"),h(102,"It is your responsibility to ensure you enter your email address and other contact details correctly when you complete the online ordering process. Failure to do so may result in you not receiving the email confirmation of your order."),d()()(),c(103,"li",2)(104,"h4"),h(105,"Pricing policy"),d(),c(106,"ul")(107,"li"),h(108,"We reserve the right to change our prices without notice. All prices include Goods and Services Tax (GST)."),d(),c(109,"li"),h(110,"We charge a transaction fee to recover the costs incurred from electronic transactions."),d()()(),c(111,"li",2)(112,"h4"),h(113,"Payment methods and security"),d(),c(114,"ul")(115,"li"),h(116,"Our smart e-gift cards may be purchased using all major credit cards, Apple Pay, and Google Pay."),d()()(),c(117,"li",2)(118,"h4"),h(119,"Terms and conditions applying to a smart e-gift card"),d(),c(120,"ul")(121,"li"),h(122,"You should consider the terms and conditions of use for the relevant smart e-gift card 
1in deciding whether to acquire a smart e-gift card."),d(),c(123,"li"),h(124," By purchasing a smart e-gift card from this website, you agree to be bound by: "),c(125,"ul")(126,"li"),h(127,"these Terms; and"),d(),c(128,"li"),h(129,"the terms and conditions of use for the relevant smart e-gift card. The relevant smart e-gift card terms and conditions include provisions governing, among other things, the period of validity, cancellation policy and participating providers for each of the smart e-gift cards. Visit the smart e-gift card's website for the full terms and conditions of each smart e-gift card."),d()()()()()(),c(130,"h3"),h(131,"7 Using smart e-gift cards with service providers"),d(),c(132,"p"),h(133,"You can also use our website and platform to browse through service providers that you can use your smart e-gift card with."),d(),c(134,"p"),h(135,"The services of these service providers are provided independently of us. You acknowledge and agree that we do not verify the listings of service providers and that you are responsible for ensuring that the listing and services of a service provider are appropriate for your needs."),d(),c(136,"p"),h(137,"You will need to contact the service provider directly to ensure that the services, pricing and content of the listing are accurate and can be redeemed with your smart e-gift card."),d(),c(138,"p"),h(139,"This website is a directory only and any additional interactions between you and the service provider are independent of us. You will contact, book, pay and deal with the service provider independent of this website."),d(),c(140,"h3"),h(141,"9 Reviews"),d(),c(142,"p"),h(143," You may review your experience with service providers on our website. We may remove service providers from our website and receiving smart e-gift cards (at our sole discretion) who receive a high number of negative reviews. "),d(),c(144,"p"),h(145," You agree to provide true, fair and accurate information in your review. If we consider that your review is untrue, unfair, inaccurate, offensive or inappropriate, or is against any applicable laws or regulations, we may delete the review or ban you from posting further reviews. We do not undertake to review each review. To the maximum extent permitted by law, we are not responsible for the content of any review. "),d(),c(146,"p"),h(147," You may only write a review about your own experience. You must not write a review about another person's experience. If you have been offered an incentive (such as a gift, reward, discount or payment) for leaving a review, you should include information about this in your review. You must not disclose any personal information in your review. "),d(),c(148,"h3"),h(149,"10 Guarantees and Warranties required by Law"),d(),c(150,"p"),h(151,"In Australia, our goods and services come with guarantees that cannot be excluded under the Australian consumer law. Nothing in these terms and conditions purports to modify or exclude the conditions, warranties and undertakings, and other legal rights, under the Australian competition and consumer act and other laws. Any and all other warranties or conditions which are not guaranteed by the Australian consumer law or the Competition and Consumer Regulations 2010 are expressly excluded where permitted, including liability for incidental or consequential damages caused by breach of any express or implied warranty or condition."),d(),c(152,"p"),h(153,"We do not accept refunds for change of mind or other circumstances. However, you may have rights to a repair, replacement or refund under the Australian Consumer Law."),d(),c(154,"h3"),h(155,"11 Interactions or disputes between service providers and you"),d(),c(156,"p"),h(157,"You may have consumer law rights and remedies in respect of services offered by service providers. You acknowledge and agree that we do not have any role in the interactions between you and the service providers. Both paties are responsible for booking services, payment (including through the use of a smart e-gift card), and any other aspect of the transaction between them. The cancellation and refund of any amounts paid for services provided by a service provider is strictly a matter between service providers and you."),d(),c(158,"p"),h(159,"We encourage you and service providers to attempt to resolve disputes (including claims for refunds or remedies) directly and in good faith, either through our website or through external 
1communication methods. In the event that a dispute cannot be resolved through these means, you and the service provider may choose to resolve the dispute through other means, such as mediation. We are not responsible for mediating or resolving disputes between you and a service provider."),d(),c(160,"h3"),h(161,"12 Intellectual property rights"),d(),c(162,"p"),h(163,"Unless otherwise indicated, we own or license from third parties all rights, title and interest (including copyright, designs, patents, trademarks and other intellectual property rights) in this website and in all of the material (including all text, graphics, logos, audio and software) made available on this website (Content.)."),d(),c(164,"p"),h(165,"Your use of this website and use of and access to any Content does not grant or transfer any rights, title or interest to you in relation to this website or the Content. However we do grant you a licence to access the website and view the Content on the terms and conditions set out in this Agreement and, where applicable, as expressly authorised by us and/or our third party licensors."),d(),c(166,"p"),h(167,"Any reproduction or redistribution of this website or the Content is prohibited and may result in civil and criminal penalties. In addition, you must not copy the Content to any other server, location or support for publication, reproduction or distribution is expressly prohibited."),d(),c(168,"p"),h(169,"All other use, copying or reproduction of this website, the Content or any part of it is prohibited, except to the extent permitted by law."),d(),c(170,"h3"),h(171,"13 No commercial use"),d(),c(172,"p"),h(173,"This website is for your personal, non-commercial use only. Smart e-gift cards may not, without our prior written consent be resold or offered for resale or used for advertising, promotion or other commercial purposes."),d(),c(174,"h3"),h(175,"14 Unacceptable activity"),d(),c(176,"ul")(177,"li"),h(178,"You must not do any act that we would deem to be inappropriate, is unlawful or is prohibited by any laws applicable to our website, including but not limited to:"),d(),c(179,"li"),h(180,"any act that would constitute a breach of either the privacy (including uploading private or personal information without an individual\u2019s consent) or any other of the legal rights of individuals;"),d(),c(181,"li"),h(182,"using this website to defame us, our employees or other individuals;"),d(),c(183,"li"),h(184,"uploading files that contain viruses that may cause damage to our property or the property of other individuals;"),d(),c(185,"li"),h(186,"posting or transmitting to this website any non-authorised material including, but not limited to, material that is, in our opinion, likely to cause annoyance, or which is defamatory, racist, obscene, threatening, pornographic or otherwise or which is detrimental to or in violation of our systems or a third party\u2019s systems or network security."),d(),c(187,"li"),h(188,"If we allow you to post any information to our website, we have the right to take down this information at our sole discretion and without notice."),d()(),c(189,"h3"),h(190,"15 Warranties and disclaimers"),d(),c(191,"p"),h(192,"To the maximum extent permitted by law, including the Australian Consumer Law, we make no warranties or representations about this website or the Content, including but not limited to warranties or representations that they will be complete, accurate or up-to-date, that access will be uninterrupted or error-free or free from viruses, or that this website will be secure."),d(),c(193,"p"),h(194,"We reserve the right to restrict, suspend or terminate without notice your access to this website, any Content, or any feature of this website at any time without notice and we will not be responsible for any loss, cost, damage or liability that may arise as a result."),d(),c(195,"h3"),h(196,"16 Liability"),d(),c(197,"p"),h(198,"To the maximum extent permitted by law, including the Australian consumer law, in no event shall we be liable for any direct and indirect loss, damage or expense \u2014 irrespective of the manner in which it occurs \u2014 which may be suffered due to your use of our website and/or the information or materials contained on it, or as a result of the inaccessibility of this website and/or the fact that certain information or materials contained on it are incorrect, incomplete or not up-to-date. To the maximum extent permitted by law, we will also not be liable for, and you release us from liability for, any aspect of the interactions between you and a service provider or for your computing environment (for example, your hardware, softw
1are, information technology and telecommunications services and systems)."),d(),c(199,"p"),h(200,"Our aggregate liability for any liability arising from or in connection with these Terms will be limited to the Price paid by you to us in respect of the supply of the relevant smart e-gift card to which the liability relates."),d(),c(201,"h3"),h(202,"17 Jurisdiction and governing law"),d(),c(203,"p"),h(204,"Your use of the website and these Terms are governed by the laws of Victoria, Australia and you irrevocably and unconditionally consent and submit to the to the non-exclusive jurisdiction of the courts exercising jurisdiction in that place."),d()())},dependencies:[y8,Dt],encapsulation:2})}return t})(),Zke=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["thankyou"]],decls:135,vars:0,consts:[[1,"container"],[1,"row"],[1,"col-12","col-md-8","offset-md-2","center-child-items","pb-5"],["alt","",1,"thankyou-image"],[1,"row","reduce-gap"],[1,"col-12","col-md-8","offset-md-2"],[1,"col-12","col-md-8","offset-md-2","pt-4"],[1,"col-12","col-md-8","offset-md-2","pt-5"],[1,"mb-4"],["src","/assets/nikki-signature.png","alt","Nikki's signature"],[1,"pt-1"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3),d()(),c(4,"div",4)(5,"div",5)(6,"h1"),h(7,"Thank You!"),d()()(),c(8,"div",1)(9,"h5",5),h(10," None of this would be possible without the love and support of all these great people: "),d(),c(11,"div",6)(12,"strong"),h(13,"Mum (Edda Williams)"),d(),h(14," - my first supporter, mentor, caretaker, friend, confidant and so many other things."),d(),c(15,"div",6)(16,"strong"),h(17,"Dad (Keith Williams)"),d(),h(18," - my strategic helper and fact checker."),d(),c(19,"div",6)(20,"strong"),h(21,"Anton Felich"),d(),h(22," - head engineer, business partner, co-founder and all-round legend on the tools and in life. Thank you for your dedication, belief and ability to make our founder's vision come to life."),d(),c(23,"div",6)(24,"strong"),h(25,"Antonella Morelli"),d(),h(26," - our branding and design extraordinaire, life-long friend and fellow reflector. I don't know what life would look like without you!"),d(),c(27,"div",6)(28,"strong"),h(29,"Max + Rhi"),d(),h(30," - our SEO + PPC champs from MBP. Thank you for your ongoing expertise, laughs and generally amazing attitude towards your work and any project I come up with. Thanks for being so flexible and for being straight shooters. It's a pleasure working with you always."),d(),c(31,"div",6)(32,"strong"),h(33,"JG + KH"),d(),h(34," - Thank you for your inspiration and kick into gear to become the best version of myself. Without you as mirrors, I wouldn't have learnt as much as I did about myself or been pushed to get this project up and running."),d(),c(35,"div",6)(36,"strong"),h(37,"Julia McCahey"),d(),h(38," - My longest time friend. Thank you for always being there and even with time apart, always being the same wonderful person you are when we come back together. Your consistency in confiding in me and allowing me to confide in you has been a stepping stone to me becoming this wild new version of me, so thank you."),d(),c(39,"div",6)(40,"strong"),h(41,"Steph Alex"),d(),h(42," - My Greek goddess, wisdom bringer and dreamer. Thank you for always dreaming with me and exploring the possibilities of life from all angles. You widen my thinking and broaden my concept of what life is truly about."),d(),c(43,"div",6)(44,"strong"),h(45,"Cat + Michael + Casper Ellis"),d(),h(46," - My friend-family, perhaps my earliest example of a beautiful family unit and I'm so excited for Mentwell to be a tool that Casper and his generation get to use mindfully and with empathy."),d(),c(47,"div",6)(48,"strong"),h(49,"Annie Medwin and the MBP family"),d(),h(50," - My work fam, thank you so much for enduring all of my crazy stories and absences in 2022. I couldn't have built and developed the concept of Mentwell without having a year off and with your help, MBP stayed up and running and was brought into a new realm. Thank you for your dedication, Annie, and for being a rock solid supporter of my growth journey and vision in Mentwell. I hope we get to work together again with Mentwell."),d(),c(51,"div",6)(52,"strong"),h(53,"Laura Naylor + Zoe Jenkins"),d(),h(54," - My hospo family. Thank y
1ou for being there for me in the craziest of times and in the best times. We ran amok and although life is very different these days, I love how we've been able to transport out friendships through to this new stage of life. Thank you for growing with me and supporting me on what is quite an intensely different journey to where we were in those early days!"),d(),c(55,"div",6)(56,"strong"),h(57,"Kamilla Musland"),d(),h(58," - My creative buddy and Christmas holiday companion. Thanks for listening to my rants about healing when I came back from overseas and for giving me the time of day."),d(),c(59,"div",6)(60,"strong"),h(61,"John O'Brien"),d(),h(62," - Thank you for being my first, OG workmate and for showing me that entrepreneurship was not only possible, but necessary in what is a highly systemised and static world. Keep dreaming and thank you for giving me permission to dream too."),d(),c(63,"div",6)(64,"strong"),h(65,"Nathan Eurell"),d(),h(66," - You were the first person I ever leant on - thank you for being a rock always and forever."),d(),c(67,"div",6)(68,"strong"),h(69,"Wesa Chau"),d(),h(70," - Thank you for your guidance, your wisdom and your resources. You have anchored me into the Mentwell concept at a time that I needed it."),d(),c(71,"div",6)(72,"strong"),h(73,"Shelley"),d(),h(74," - Thank you for being one of the first to see and experience the vision for Mentwell plus introducing me to LEAN."),d(),c(75,"div",6)(76,"strong"),h(77,"W + A"),d(),h(78," - This is for you, more than anyone else."),d(),c(79,"div",6)(80,"strong"),h(81,"Mentors"),d(),h(82," - Lauren Capelin, Jacqui Bloom, Kristin Perchal, the absolutely extraordinarily wonderful Bec Mitrevski, Jon Manning, David De Vellis, Hayley Rose, Hassanah Rudd, Karen Dwyer, Jen, Alex Kamarov, Libby & Roo and the Scale Investor team, Mark, Ed, Liv, Steph and the beautiful Sheree, thank you!"),d(),c(83,"div",6)(84,"strong"),h(85,"Yoga and Mandala fam"),d(),h(86," - Bernd, Lala, Shannon and the Path team in Pererenan, The House of Om crew (especially you Sofita), Gertrude Street Yoga and Bamboo House, thank you for your teachings. You're doing incredibly important work and you lay the foundation for me coming into a new, much healthier and much more aligned version of me. Mandala women, thank you for being my spiritual circle of women and an always safe place to land and discuss difficult or challenging topics."),d(),c(87,"div",6)(88,"strong"),h(89,"Alex Tassone"),d(),h(90,"Chairman for always providing guidance in areas that I don't have expertise in and being able to explain complex ideas in simple to understand ways, and always giving me a laugh along the way"),d(),c(91,"div",6)(92,"strong"),h(93,"Ben Williams"),d(),h(94,"Thank you for coming into the Mentwell fam so quickly and easefully and being able to do front end design easily and simply."),d(),c(95,"div",6)(96,"strong"),h(97,"Rav Sharma"),d(),h(98,"For your fire and passion about Mentwell and always asking questions and being curious."),d(),c(99,"div",6)(100,"strong"),h(101,"Febbie"),d(),h(102,"Febbie, you're one of the most capable workers I've ever come across. Thank you for your work ethic, for asking the right questions and for believing in the Mentwell mission so thoroughly. You really are like a rock for Annie and I, thank you."),d(),c(103,"div",6)(104,"strong"),h(105,"Ned"),d(),h(106,"Thank you for your light heartedness, care and compassion for people's stories and for bringing mine to life in a number of different ways"),d(),c(107,"div",6)(108,"strong"),h(109,"Lizzie"),d(),h(110,"We've met recently but thank you for sharing my love of attention to detail and for being able to master the act of saying \"everything and nothing at all\" - it's just not something I'm good at and I'm learning so much from you - thank you for choosing Mentwell to help when in reality, you could be running the world by now."),d(),c(111,"div",6)(112,"strong"),h(113,"Luke"),d(),h(114,"Thank you for your expertise in an area that isn't familiar to me. Thank you for having a skill set dedicated to attention to detail and for having such an awesome, cool, calm and focused personality to match. "),d(),c(115,"div",6)(116,"strong"),h(117,"Klaus"),d(),h(118,"Thank you for being such a clear communicator and ideas person and for your in depth knowledge into the systems and structures in the world we live in. Your advice and guidance is invaluable and I'm lucky to have met you. "),d(),c(119,"div",6)(120,"strong"),h(121,"Keith"),d(),h(122,"Thank you for sharing my entrepreneurial fire! Its rare I meet people like you and hearing your passion come through in every conversation we have fuels my fire every day. Thank y
1ou for being on the Mentwell journey."),d(),c(123,"div",6)(124,"strong"),h(125,"Ang"),d(),h(126,"Thank you for being wickedly funny - I laugh with you so much and I love how you have crafted your beautiful life. You're intelligent, direct, open and honest and I always look forward to laughing about the oddities in life with you!"),d()(),c(127,"div",1)(128,"div",7)(129,"p",8),h(130,"I truly and deeply appreciate you all,"),d(),x(131,"img",9),c(132,"p",10)(133,"strong"),h(134,"Nikki Williams, CEO & Founder"),d()()()()())},styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}.thankyou-image[_ngcontent-%COMP%]{width:262px;height:222px;content:url(/assets/thankyou.png)}"]})}return t})();const Kke=[[["","accordion-button",""]],[["","accordion-content",""]]],Qke=t=>({hidden:t}),Xke=["[accordion-button]","[accordion-content]"];let Jke=(()=>{class t{constructor(){this._isOpen=!1}get isOpen(){return this._isOpen}toggleOpen(){this._isOpen?this.close():this.open()}open(){this._isOpen=!0}close(){this._isOpen=!1}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-accordion"]],standalone:!0,features:[z],ngContentSelectors:Xke,decls:4,vars:3,consts:[[3,"click"],[3,"ngClass"]],template:function(i,o){1&i&&(it(Kke),c(0,"div",0),V("click",function(){return o.toggleOpen()}),ge(1),d(),c(2,"div",1),ge(3,1),d()),2&i&&(b(2),k("ngClass",di(1,Qke,!o.isOpen)))},dependencies:[ne,Ti],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),eMe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-chevron-down-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","m19.5 8.25-7.5 7.5-7.5-7.5"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function tMe(t,n){if(1&t&&(c(0,"li"),h(1),d()),2&t){const e=n.$implicit;b(1),pe(e)}}let iMe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["where-to-use-accordion"]],inputs:{borderColourClass:"borderColourClass",title:"title",items:"items"},standalone:!0,features:[z],decls:7,vars:5,consts:[["accordion-button",""],[3,"size"],["accordion-content","",1,"flex","flex-col","gap-3","px-5","py-3"]],template:function(i,o){1&i&&(c(0,"app-accordion")(1,"button",0),h(2),x(3,"a
1pp-chevron-down-icon",1),d(),c(4,"ul",2),ft(5,tMe,2,1,"li",null,ci),d()()),2&i&&(b(1),Iu("",o.borderColourClass," border-2 border-solid rounded-full px-5 py-0.5 text-left w-full font-medium hover:bg-neutral-100 transition-colors flex justify-between items-center"),b(1),ce(" ",o.title," "),b(1),k("size",4),b(2),gt(o.items))},dependencies:[Jke,eMe],encapsulation:2})}return t})();const nMe=()=>["Doctors / GP","Physicians","Dentists","Nursing"],oMe=()=>["Dieticians / Nutritionists","Psychology","Physiotherapy / Kinesiology","Pathology","Rehab / Occupational Counselling","Osteopathy","Orthopaedics","Optometry","Podiatry","Chiropractors","Social Work","Sleep Clinics","Speech Therapy","Art / Music Therapy"],rMe=()=>["Business","Mindfulness","Spiritual","Financial","Life"],sMe=()=>["Somatic Healing","Massage","Mindfulness","Medicines & Medications","Homeopathy","Acupuncture","Hypnotherapy","Aromatherapy"],aMe=()=>["Reiki","Hypno Birthing","Ayurveda","Chinese Medicine","Doula"],K8=()=>[],lMe=()=>["Yoga Teacher","Wellness Centre","Retreat Centres"],cMe=()=>["Spas & Saunas","Gyms / Sports Centres","Pools","Pilates","Sports Clubs","Online Training / Apps"],dMe=()=>["Yoga","Tai Chi","Quigong","Martial Arts"],uMe=()=>["Medication","Chemist","Medicinal Cannabis"],Q8=()=>({action:"Enquire now",location:"Workshops"}),mMe=()=>({action:"Enquire now",location:"Coaching"}),pMe=[{path:"",component:jxe,data:{title:sa,description:aa}},{path:"newsletter",component:tCe},{path:"login",component:Dke,data:{newAccountType:null}},{path:"signup",component:qke,data:{legacyStyles:!0}},{path:"logout",component:Ske,data:{legacyStyles:!0}},{path:"health-services-directory",component:Hd,data:{title:ps,description:fs}},{path:"health-services-directory/teams",component:Hd,data:{title:ps,description:fs}},{path:"health-services-directory/modality/:id",component:Hd,data:{title:ps,description:fs}},{path:"health-services-directory/claim-profile",component:Hwe,data:{title:ps,description:fs}},{path:"providers",component:Hd,data:{title:ps,description:fs}},{path:"providers/teams",component:Hd,data:{title:ps,description:fs}},{path:"provider/modality/:id",component:Hd,data:{title:ps,description:fs}},{path:"health-services-directory/:id",component:A8,data:{title:ps,description:fs}},{path:"provider/:id",component:A8,data:{title:ps,description:fs}},{path:"provider/:id/claim",component:rxe,data:{legacyStyles:!0}},{path:"provider/:id/claim/:token",component:J0e},{path:"serviceprovider/thankyou",component:e1e,data:{legacyStyles:!0}},{path:"serviceprovider/terms",component:$we},{path:"business",component:f8,data:{title:yL,description:wL}},{path:"workplace-wellness",component:f8,data:{title:yL,description:wL}},{path:"business/terms",component:cwe},{path:"privacy",component:sCe,data:{title:sa,description:aa,legacyStyles:!0}},{path:"where-to-use",component:(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["where-to-use"]],standalone:!0,features:[z],decls:79,vars:22,consts:[[1,"relative","flex","flex-col","justify-center","overflow-hidden","bg-neutral-100","lg:flex-row"],["src","/assets/where-to-use/background.webp",1,"absolute","-right-12","2xl:right-0","w-1/2","h-full","hidden","bg-no-repeat","bg-right-top","bg-cover","lg:block","object-contain"],[1,"flex","flex-col","flex-1","flex-grow","max-w-7xl","z-30","lg:flex-row"],[1,"flex","flex-col","flex-1","gap-6","bg-neutral-100","p-5","lg:py-28","lg:pl-20"],[1,"font-bold","text-3xl","lg:text-5xl","leading-tight"],[1,"font-bold","text-2xl","lg:text-4xl","leading-tight","text-easy-green"],["src","/assets/where-to-use/logos.webp",1,"max-w-72"],[1,"flex","items-start","space-x-5"],["src","/assets/where-to-use/online-payments.webp",1,"w-12","h-auto"],[1,"uppercase"],["src","/assets/where-to-use/instore-purchase.webp",1,"max-w-12"],["src","/assets/where-to-use/online-purchase.webp",1,"max-w-12"],[1,"hidden","bg-gradient-to-r","from-neutral-100","to-70%","flex-1","lg:block"],[1,"relative","lg:hidden"],["src","/assets/where-to-use/background.webp","alt","",1,"mx-auto"],[1,"absolute","bg-gradient-to-b","from-neutral-100","to-30%","size-full","top-0"],[1,"px-5","py-6","lg:p-20"],[1,"flex","flex-col","gap-4","text-center","mb-10"],["src","/assets/where.png","alt","",1,"max-w-[35rem]","mx-auto","w-full"],[1,"font-bold","text-2xl","lg:text-4xl"],[1,"lg:text-lg","font-bold","max-w-lg","mx-auto"],[1,"max-w-7xl","mx-auto","flex","flex-col","lg:flex-row","justify-between","items-center","lg:items-start","gap-16","lg:gap-4"],[1,"max-w-xs","flex","flex-col","flex-1","gap-6"],[1,"rounded-full","bg-winnie-blue","p-2","text-center","font-medium"],[1,"text-center","px-1","py-1","lg:py-3"],[1,"flex","flex-col","gap-4"],["title","Non-Allied Health","borderColourClass","border-winnie-blue",3,"items"],["title","Allied Health","borderColourClass","border-winnie-blue",3,"items"],["title","Coaches","borderColourClass","border-winnie-blue",3,"items"],[1,"rounded-full","bg-ocean-orange","p-2","text-center","font-medium"],[1,"text-center"],["t
1itle","Complementary","borderColourClass","border-ocean-orange",3,"items"],["title","Alternative Medicine","borderColourClass","border-ocean-orange",3,"items"],["title","Eastern Medicine","borderColourClass","border-ocean-orange",3,"items"],["title","Retreat + Training","borderColourClass","border-ocean-orange",3,"items"],[1,"pill","bg-easy-green","rounded-full","p-2","text-center","font-medium"],[1,"text-center","px-1","py-1","lg:py-3",2,"height","96px"],["title","Physical / Sports","borderColourClass","border-easy-green",3,"items"],["title","Online Training","borderColourClass","border-easy-green",3,"items"],["title","Holistic","borderColourClass","border-easy-green",3,"items"],["title","Pharmacy","borderColourClass","border-easy-green",3,"items"]],template:function(i,o){1&i&&(c(0,"section",0),x(1,"img",1),c(2,"div",2)(3,"div",3)(4,"h1",4),h(5," Where to use your Mentwell digital gift card? "),d(),c(6,"p"),h(7," Your Mentwell gift card can be used at any health or wellness service provider, "),c(8,"strong"),h(9,"Australia-wide"),d(),h(10,". "),x(11,"br")(12,"br"),h(13," Simply use the card details when you book an appointment or session or tap and go at the time of payment using EFTPOS. "),d(),c(14,"h2",5),h(15," Add gift card to digital wallet "),d(),x(16,"img",6),c(17,"div",7),x(18,"img",8),c(19,"span")(20,"strong",9),h(21,"Online Payments"),d(),x(22,"br"),h(23," For online payments enter your card details in the credit card checkout section of the website. For in person payments, use your digital card to purchase through EFTPOS. "),d()(),c(24,"div",7),x(25,"img",10),c(26,"span")(27,"strong",9),h(28,"In-Store Purchase or Booking"),d(),x(29,"br"),h(30," Present your Mentwell gift card at your chosen provider. Tap your card for payment. If the purchase exceeds the card's value, supplement with cash or another accepted payment method. Online merchants may not support split transactions. "),d()(),c(31,"div",7),x(32,"img",11),c(33,"span")(34,"strong",9),h(35,"Online Purchases"),d(),x(36,"br"),h(37," Mentwell gift cards can be used online. Enter the card information (card number, expiry and CVV) in the credit/debit card section. Do not enter these details into the gift card section.\xa0 "),d()()(),x(38,"div",12),c(39,"div",13),x(40,"img",14)(41,"div",15),d()()(),c(42,"section",16)(43,"div",17),x(44,"img",18),c(45,"h2",19),h(46,"Where can Mentwell be used?"),d(),c(47,"p",20),h(48,"EVERY health or wellness service provider, Australia-wide including the below modalities."),d()(),c(49,"div",21)(50,"div",22)(51,"h3",23),h(52," IDENTIFICATION "),d(),c(53,"p",24),h(54," Service providers who help to locate and treat existing ailments and symptoms. "),d(),c(55,"div",25),x(56,"where-to-use-accordion",26)(57,"where-to-use-accordion",27)(58,"where-to-use-accordion",28),d()(),c(59,"div",22)(60,"h3",29),h(61," TRANSFORMATION "),d(),c(62,"p",30),h(63,"Service providers designed to be used alongside Identification services on a semi-regular basis to help clear the body and mind."),d(),c(64,"div",25),x(65,"where-to-use-accordion",31)(66,"where-to-use-accordion",32)(67,"where-to-use-accordion",33)(68,"where-to-use-accordion",34),d()(),c(69,"div",22)(70,"h3",35),h(71,"MAINTENANCE"),d(),c(72,"p",36),h(73,"Activities and service providers that help maintain your body on a regular basis."),d(),c(74,"div",25),x(75,"where-to-use-accordion",37)(76,"where-to-use-accordion",38)(77,"where-to-use-accordion",39)(78,"where-to-use-accordion",40),d()()()()),2&i&&(b(56),k("items",Be(11,nMe)),b(1),k("items",Be(12,oMe)),b(1),k("items",Be(13,rMe)),b(7),k("items",Be(14,sMe)),b(1),k("items",Be(15,aMe)),b(1),k("items",Be(16,K8)),b(1),k("items",Be(17,lMe)),b(7),k("items",Be(18,cMe)),b(1),k("items",Be(19,K8)),b(1),k("items",Be(20,dMe)),b(1),k("items",Be(21,uMe)))},dependencies:[Dt,iMe],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),data:{title:sa,description:aa}},{path:"terms",component:Yke,data:{title:sa,description:aa}},{path:"thankyou",component:Zke,data:{title:sa,description:aa,legacyStyles:!0}},{path:"faqs",component:hxe,data:{title:sa,description:aa}},{path:"press-coverage",component:oCe,data:{title:sa,description:aa}},{path:"investors",component:Gxe,data:{title:sa,description:aa}},{path:"components",component:lxe},{path:"how-to-use",component:Wxe},{path:"wellness-gift-card",component:b8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"wellness-gift-card/payment/:token",component:g8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"wellness-gift-card/thankyou",component:_8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"buy",component:b8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"buy/payment/:token",component:g8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"buy/thankyou",component:_8,data:{title:hs,description:ms,legacyStyles:!0}},{path:"workshops",component:(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["workshops"]],decls:146,vars:6,consts:[[1,"container"],[1,"row","justify-content-center","mt-24"],[1,"col-lg-6","px-20","text-center"],[1,"mb-12","mt-12"],["onclick","window.HubSpotConversations.widget.open()",1,"btn","btn-dark",3,"trackClicks"],[1,"col-lg-12"],[1,"mb-4","mt-12"],[1,"row","justify-content-center","mt-12"],["src","./assets/workshops-1.jpg","alt","",1,"w-11/12","block","m-auto"],[1,"uppercase"],[1,"col-lg-6"],[1,"features-list"],["src","assets/tick.png","alt",""],[1,"self-center"],[1,"row","justify-content-center","mt-24","flex","items-center"],[1,"col-lg-6","mb-24"],["src","./assets/workshops-2.png","alt","",1,"w-11/12","block","m-auto"],[1,"mb-0"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),h(4,"Mentwell Workshops"),d()(),c(5,"div",2)(6,"p"),h(7,"We believe that the key to living a healthier, happier life is by using health and wellness service providers, the Mentwell way."),d(),c(8,"p"),h(9,"So, in preparation for you using your Mentwell gift cards, we want to show you and your staff members an overview of what you can expect."),d(),c(10,"p"),h(11,"We want to introduce you and your team to our Mentwell philosophy, as well as give you practical mindfulness tools to take into the home and workplace."),d(),c(12,"div",3)(13,"a",4),h(14,"Enquire Now"),d()()(),c(15,"div",5)(16,"h4",6),h(17,"Corporate Wellness Workshops by Mentwell"),d(),c(18,"p"),h(19,"At Mentwell, we believe in empowering employees to take charge of their health and wellness. Our C
1orporate Wellness Workshops are designed to inspire, engage, and create lasting change in the workplace. Through personalized wellness experiences, we help employees identify their current health habits using AI driven technology, try new wellness practices, and maintain long-term well-being."),d(),c(20,"h4",6),h(21,"Workshop Overview"),d(),c(22,"ol")(23,"li")(24,"strong"),h(25,"My Story & The Mentwell Movement"),d(),c(26,"p"),h(27,"Mentwell's Founder, Nikki Williams will share how her own health and wellness journey transformed her life. Mentwell\u2019s mission is to give the gift of health\u2014allowing businesses to offer wellness services to employees in a meaningful way. By giving employees the autonomy to choose their wellness path, we create a healthier, more engaged workforce."),d()(),c(28,"li")(29,"strong"),h(30,"Identification: Assessing Current Wellness"),d(),c(31,"p"),h(32,"Participants will take part in a wellness self-assessment, reflecting on their current health practices (e.g., fitness, nutrition, mindfulness). Nikki will provide personalised recommendations based on their results to help them create a daily wellness routine that suits their lifestyle."),d()(),c(33,"li")(34,"strong"),h(35,"Transformation: A Practical Wellness Experience"),d(),c(36,"p"),h(37,"Experience a live wellness practice with a brief sequence of breathwork, yoga, and meditation. This session will help employees connect with their body and mind, demonstrating how simple practices can transform their well-being."),d()(),c(38,"li")(39,"strong"),h(40,"Maintenance: Long-Term Wellness Ownership"),d(),c(41,"p"),h(42,"The key to lasting health is taking ownership of wellness. In this part of the workshop, employees will reflect on how they feel post-practice and answer whether they would gift their current state of well-being to others through a Mentwell gift card. We\u2019ll also discuss how employees can integrate wellness into their daily lives for long-term success."),d()(),c(43,"li")(44,"strong"),h(45,"Call to Action"),d(),c(46,"p"),h(47,"We\u2019ll gather feedback through a quick poll to gauge interest in integrating Mentwell into your company\u2019s wellness program and if employees would use Mentwell in their personal lives."),d()()(),c(48,"h4",6),h(49,"Book a Workshop Today"),d(),c(50,"p"),h(51,"Ready to empower your employees with wellness?"),x(52,"br"),c(53,"strong"),h(54,"Mentwell\u2019s Corporate Wellness Workshops"),d(),h(55," provide a practical, personalized approach to health and well-being. Let\u2019s work together to create a healthier, happier workplace."),d(),c(56,"div",3)(57,"a",4),h(58,"Enquire Now"),d()()()(),c(59,"div",7)(60,"div",5),x(61,"img",8),d()(),c(62,"div",1)(63,"div",5)(64,"h2",9),h(65,"Features"),d()()(),c(66,"div",7)(67,"div",10)(68,"div",11)(69,"div"),x(70,"img",12),c(71,"span",13),h(72,"Corporate ($20 pp, starting at $300 for 1.5 hours)"),d()(),c(73,"div"),x(74,"img",12),c(75,"span",13),h(76,"From 10 - 500 people"),d()(),c(77,"div"),x(78,"img",12),c(79,"span",13),h(80,"Guided 1.5hr workshop"),d()(),c(81,"div"),x(82,"img",12),c(83,"span",13),h(84,"Introduction to Mentwell: "),c(85,"ul")(86,"li"),h(87,"Identification"),d(),c(88,"li"),h(89,"Transformation"),d(),c(90,"li"),h(91,"Maintenance"),d()()()(),c(92,"div"),x(93,"img",12),c(94,"span",13),h(95,"Breathwork + Mindfulness"),d()()()(),c(96,"div",10)(97,"div",11)(98,"div"),x(99,"img",12),c(100,"span",13),h(101,"Connection + Mirroring"),d()(),c(102,"div"),x(103,"img",12),c(104,"span",13),h(105,"Self Awareness + Body"),d()(),c(106,"div"),x(107,"img",12),c(108,"span",13),h(109,"Resilience + Gratitude"),d()(),c(110,"div"),x(111,"img",12),c(112,"span",13),h(113,"The tools you'll get in this session will help with: "),c(114,"ul")(115,"li"),h(116,"Stress Management"),d(),c(117,"li"),h(118,"Avoiding Burnout"),d(),c(119,"li"),h(120,"Cultivating Empathy"),d(),c(121,"li"),h(122,"Active Listening"),d(),c(123,"li"),h(124,"Teamwork"),d(),c(125,"li"),h(126,"Focused Attention"),d(),c(127,"li"),h(128,"Wellness Journey / Exploration"),d()()()()()()(),c(129,"div",14)(130,"div",15),x(131,"img",16),d(),c(132,"div",10)(133,"h1"),h(134,"1:1 Coaching"),d(),c(135,"p",17),h(136,"Creative Types Workshops"),d(),c(137,"p",17),h(138,"Curious Types Workshops"),d(),c(139,"p"),h(140,"Also available"),d(),c(141,"p"),h(142,"* All pricing is + GST"),d(),c(143,"div",3)(144,"a",4),h(145,"Enquire Now"),d()()()()()),2&i&&(b(13),k("trackClicks",Be(3,Q8)),b(44),k("trackClicks",Be(4,Q8)),b(87),k("trackClicks",Be(5,mMe)))},dependencies:[Ar],styles:[".img-90p[_ngcontent-%COMP%]{width:90%}.features-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.features-list[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.features-list[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:2rem}"]})}return t})(),data:{legacyStyles:!0}},{path:"mission",component:qxe,data:{legacyStyles:!0}}];let X8=(()=>{class t{constructor(e,i){this.router=e,this.jwtService=i}canActivate(e,i){return this.jwtService.data$.pipe(te(o=>!!o?.providerId||this.router.parseUrl("/login")))}static#e=this.\u0275fac=function(i){return new(i||t)(R(Pt),R(Zn))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const fMe={Bronze:200,Silver:400,Gold:600},J8={Bronze:!1,Silver:!1,Gold:!0},e7={Bronze:1,Silver:1,Gold:25};let gMe=(()=>{class t{constructor(e,i){this.httpClient=e,this.configService=i}getProviderProfile(e){return this.httpClient.get(`${this.configService.config.baseApiUrl}/provider/${e}`,{headers:new Qi({"Content-Type":"application/json",Authorization:`Bearer ${localStorage.getItem("jwt")}`})})}postProviderEdit(e,i){return this.httpClient.post(`${this.configService.config.baseApiUrl}/provider/${e}`,i,{headers:new Qi({"Content-Type":"application/json",Authorization:`Bearer ${localStorage.getItem("jwt")}`})})}postProviderAvatarEdit(e,i){return this.httpClient.post(`${this.configService.config.baseApiUrl}/provider/${e}/image`,i,{headers:new Qi({Authorization:`Bearer ${localStorage.getItem("jwt")}`})})}getProviderModalities(e,i){return this.httpClient.get(`${this.configService.config.baseApiUrl}/provider/${e}/modalities/search?search=${i}`,{headers:new Qi({"Content-Type":"application/json",Authorization:`Bearer ${localStorage.getItem("jwt")}`})})}static#e=this.\u0275fac=function(i){return new(i||t)(R(Bt),R(ii))};static#t=this.\u0275prov=G({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_Me=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-avatar"]],inputs:{src:"src"},standalone:!0,features:[z],decls:1,vars:1,consts:[["avatarFallback","","alt","Avatar",1,"image-circle",3,"src"]],template:function(i,o){1&i&&x(0,"img",0),2&i&&k("src",o.src,Jt)}
1,dependencies:[W2],styles:[".image-circle[_ngcontent-%COMP%]{border-radius:50%;width:6.25rem;height:6.25rem;object-fit:contain}"]})}return t})();const bMe=["modalityInput"];function vMe(t,n){1&t&&(c(0,"div",5)(1,"div",6),x(2,"colored-hr",7),c(3,"h3"),h(4,"Profile not found, please contact support!"),d()()())}function yMe(t,n){if(1&t&&(c(0,"mat-error"),h(1),d()),2&t){const e=n.ngIf;b(1),dr(" Your subscription level only allows a description of ",e.max," words max, but the current description contains ",e.wordCount," words. ")}}const wMe=(t,n)=>n.id;function xMe(t,n){if(1&t&&(c(0,"s"),h(1),d()),2&t){const e=S().$implicit;b(1),pe(e.originalText)}}function CMe(t,n){if(1&t){const e=Ne();c(0,"div"),h(1),c(2,"button",49),V("click",function(){re(e);const o=S().$implicit;return se(S(4).removeAddress(o.id))}),h(3,"remove"),d()()}if(2&t){const e=S().$implicit;b(1),ce(" ",e.originalText," ")}}function kMe(t,n){if(1&t&&T(0,xMe,2,1,"s")(1,CMe,4,1),2&t){const e=n.$implicit;U(0,S(4).deletedAddressIds.includes(e.id)?0:1)}}function MMe(t,n){if(1&t){const e=Ne();c(0,"div",5)(1,"div",50)(2,"mat-form-field",51)(3,"mat-label"),h(4,"New Business Addresses"),d(),x(5,"input",52),d()(),c(6,"div",53)(7,"button",54),V("click",function(){const r=re(e).$index;return se(S(4).removeAddressControl(r))}),h(8,"remove"),d()()()}if(2&t){const e=n.$index;b(5),k("formControlName",e)}}function DMe(t,n){if(1&t){const e=Ne();c(0,"button",49),V("click",function(){return re(e),se(S(4).addAddressControl())}),h(1,"Add more"),d()}}function SMe(t,n){if(1&t&&(c(0,"div",45)(1,"div",46),ft(2,kMe,2,1,null,null,wMe),c(4,"div",47),ft(5,MMe,9,1,"div",55,af),T(7,DMe,2,0,"button",48),c(8,"small"),h(9),d()()()()),2&t){const e=S(2).ngIf,i=S();b(2),gt(null==e.value?null:e.value.addresses),b(3),gt(i.newAddressControls.controls),b(2),U(7,i.newAddressControls.controls.length<i.getMaxAddressLength(e.value.subscriptionLevel)?7:-1),b(2),ce(" Your subscription plan allows ",i.getMaxAddressLength(e.value.subscriptionLevel)," addresses")}}function EMe(t,n){1&t&&(c(0,"mat-form-field",15)(1,"mat-label"),h(2,"Business Address"),d(),x(3,"input",56),d())}function TMe(t,n){if(1&t){const e=Ne();c(0,"mat-chip-row",57),V("removed",function(){const r=re(e).$implicit;return se(S(3).remove(r))}),h(1),c(2,"button",58)(3,"mat-icon"),h(4,"cancel"),d()()()}if(2&t){const e=n.$implicit;b(1),ce(" ",e," "),b(1),ke("aria-label","remove "+e)}}function IMe(t,n){1&t&&(c(0,"mat-option",59)(1,"i"),h(2,"Loading..."),d()()),2&t&&k("disabled",!0)}function AMe(t,n){if(1&t&&(c(0,"mat-option",61),h(1),d()),2&t){const e=n.$implicit;k("value",e),b(1),pe(e)}}function PMe(t,n){if(1&t&&(c(0,"mat-option",61),h(1),d()),2&t){const e=S(4);k("value",e.modalityControl.value),b(1),pe(e.modalityControl.value)}}function OMe(t,n){if(1&t&&(ft(0,AMe,2,2,"mat-option",61,ci),ve(2,"async"),T(3,PMe,2,2,"mat-option",60)),2&t){const e=S(3);let i;gt(Me(2,1,e.filteredModalities)),b(3),k("ngIf",(null!==(i=null==e.modalityControl.value?null:e.modalityControl.value.length)&&void 0!==i?i:0)>=3)}}function RMe(t,n){if(1&t&&(c(0,"mat-hint"),h(1),d()),2&t){const e=n.ngIf;b(1),pe(e)}}function FMe(t,n){1&t&&x(0,"loading-spinner",62),2&t&&k("spinnerWidth",64)}const LMe=()=>({subject:"Error",location:"Edit profile"});function NMe(t,n){if(1&t&&(c(0,"div",63)(1,"p",64),h(2,"We've encountered an error while updating your details."),d(),c(3,"p"),h(4),d(),c(5,"p"),h(6," Please try again or "),c(7,"a",65),h(8,"contact us"),d(),h(9," for assistance. "),d()()),2&t){const e=n.ngIf;b(4),ce("[",e,"]"),b(3),k("trackContactUs",Be(2,LMe))}}function BMe(t,n){1&t&&(c(0,"div",66)(1,"mat-icon",67),h(2,"task_alt"),d()())}function VMe(t,n){if(1&t){const e=Ne();c(0,"div",5)(1,"div",6)(2,"h2"),h(3,"Manage Account Information"),d(),x(4,"colored-hr",7),d()(),c(5,"div",8)(6,"div",6)(7,"a",9)(8,"input",10),V("change",function(o){return re(e),se(S(2).editAvatar(o))}),d(),c(9,"mat-icon",11),h(10,"edit"),d(),x(11,"app-avatar",12),d()()(),c(12,"form",13)(13,"div",8)(14,"div",14)(15,"mat-form-field",15)(16,"mat-label"),h(17,"Business Name"),d(),x(18,"input",16),d()(),c(19,"div",17)(20,"mat-form-field",15)(21,"mat-label"),h(22,"ABN"),d(),x(23,"input",18),d()(),c(24,"div",19)(25,"mat-form-field",15)(26,"mat-label"),h(27,"Business Description"),d(),x(28,"textarea",20),T(29,yMe,2,2,"mat-error",21),d()(),c(30,"div",19),T(31,SMe,10,2,"div",22)(32,EMe,4,0),d(),c(33,"div",23)(34,"mat-form-field",15)(35,"mat-label"),h(36,"Phone"),d(),x(37,"input",24),d(),c(38,"mat-form-field",15)(39,"mat-label"),h(40,"Phone 2"),d(),x(41,"input",25),d()(),c(42,"div",19)(43,"mat-form-field",15)(44,"mat-label"),h(45,"Website"),d(),x(46,"input",26),d()(),c(47,"div",19)(48,"mat-form-field",15)(49,"mat-label"),h(50,"Instagram"),d(),x(51,"input",27),d()(),c(52,"div",19)(53,"mat-form-field",15)(54,"mat-label"),h(55,"Facebook"),d(),x(56,"input",28),d()(),c(57,"div",19)(58,"mat-form-field",15)(59,"mat-label"),h(60,"LinkedIn"),d(),x(61,"input",29),d()(),c(62,"div",19)(63,"mat-form-field",30)(64,"mat-label"),h(65,"Modalities"),d(),c(66,"mat-chip-grid",31,32),ft(68,TMe,5,2,"mat-chip-row",null,ci),d(),c(70,"input",33,34),V("matChipInputTokenEnd",function(o){return re(e),se(S(2).addModality(o))}),ve(72,"async"),d(),c(73,"mat-autocomplete",35,36),V("optionSelected",function(o){return re(e),se(S(2).modalitySelected(o))}),T(75,IMe,3,1,"mat-option",37)(76,OMe,4,3,"ng-template",null,38,Yi),d(),T(78,RMe,2,1,"mat-hint",21),ve(79,"async"),d()(),T(80,FMe,1,1,"loading-spinner",39),ve(81,"async"),T(82,NMe,10,3,"div",40),ve(83,"async"),T(84,BMe,3,0,"div",41),ve(85,"async"),c(86,"div")(87,"button",42),V("click",function(){return re(e),se(S(2).editProvider())}),h(88," Save "),d()(),c(89,"div",43),h(90," We've also provided you with some free Mentwell branded digital assets "),c(91,"div")(92,"a",44),h(93,"View Assets"),d()()()()()}if(2&t){const e=mt(67),i=mt(74),o=mt(77),r=S().ngIf,s=S();b(11),k("src",r.value.avatarImage),b(1),k("formGroup",s.editProfileForm),b(17),k("ngIf",s.editProfileForm.controls.Description.getError("maxWordCount")),b(2),U(31,s.getMaxAddressLength(r.value.subscriptionLevel)>1?31:32),b(37),gt(s.currentModalities),b(2),k("formControl",s.modalityControl)("matChipInputFor",e)("matAutocomplete",i)("matChipInputSeparatorKeyCodes",s.separatorKeysCodes)("disabled",!Me(72,16,s.canAddModality$)),b(5),k("ngIf",s.isLoadingModalityResults)("ngIfElse",o),b(3),k("ngIf",Me(79,18,s.modalityMessage$)),b(2),k("ngIf",Me(81,20,s.isLoadingSubmit$)),b(2),k("ngIf",Me(83,22,s.formSubmissionError$)),b(2),k("ngIf",Me(85,24,s.isFormSubmissionSuccess$)),b(3),k("disabled",!s.editProfileForm.valid)}}function zMe(t,n){if(1&t&&(c(0,"div",2),T(1,vMe,5,0,"div",3)(2,VMe,94,26,"ng-template",null,4,Yi),x(4,"div"),d()),2&t){const e=n.ngIf,i=mt(3);b(1),k("ngIf","error"===e.errorState)("ngIfElse",i)}}function HMe(t,n){1&t&&(c(0,"div",2)(1,"div",5)(2,"div",6),x(3,"loading-spinner",68),d()()())}const $Me=[...pMe,{path:"dashboard/:ProviderId",component:(()=>{class t{constructor(e,i,o){this.formBuilder=e,this.route=i,this.providerService=o,this.separatorKeysCodes=[13],this.isLoadingSubmit$=new Ee(!1),this.formSubmissionError$=new Ee(null),this.isFormSubmissionSuccess$=new Ee(!1),this.modalityControl=new De(""),this.currentModalities=[],this.isLoadingModalityResults=!1,this.modalitiesUpdated=new Ee(!0),this.deletedAddressIds=[],this.editProvider=()=>{if(!this.editProfileForm.valid)return;this.isLoadingSubmit$.next(!0),this.formSubmissionError$.next(null),this.isFormSubmissionSuccess$.next(!1);const r={Modalities:this.currentModalities,DeletedAddressIds:this.deletedAddressIds,...this.editProfileForm.getRawValue()};this.editProfileSubscription=this.providerService.postProviderEdit(this.providerId,r).subscribe({next:()=>{this.isLoadingSubmit$.next(!1),this.formSubmissionError$.next(null),this.isFormSubmissionSuccess$.next(!0)},error:s=>{const a=s.error?.errors?.[0]?.message??"Unknown error";this.isLoadingSubmit$.next(!1),this.formSubmissionError$.next(a),this.isFormSubmissionSuccess$.next(!1)}})}}
1ngOnInit(){this.providerId=this.route.snapshot.params.ProviderId,this.providerProfile$=this.providerService.getProviderProfile(this.providerId).pipe(dl(),at(1),xt(({value:e})=>{e&&(this.currentModalities=e.modalities,this.editProfileForm=this.formBuilder.group({ProviderName:new De(e.name),Description:new De(e.description,[this.maxWordCount(e.subscriptionLevel)]),NewAddresses:new lw(e.addresses.length<e7[e.subscriptionLevel]?[new De("")]:[]),SingleAddress:new De("Gold"===e.subscriptionLevel?"":e.addresses[0]?.originalText),Phone:new De(e.phone),Phone2:new De(e.phone2),Abn:new De(e.abn),WebsiteUrl:new De(e.websiteUrl),InstagramUrl:new De(e.instagramUrl),FacebookUrl:new De(e.facebookUrl),LinkedInUrl:new De(e.linkedInUrl)}))}),Xi(()=>xe({errorState:"error"}))),this.canAddModality$=qt([this.providerProfile$,this.modalitiesUpdated]).pipe(te(([e])=>{const i=e.value;return!!i&&(this.currentModalities.length<1||J8[i.subscriptionLevel])})),this.modalityMessage$=this.providerProfile$.pipe(te(({value:e})=>e?J8[e.subscriptionLevel]?null:"One modality is allowed at your current subscription level":null)),this.filteredModalities=this.modalityControl.valueChanges.pipe(ei(null),Xa(500),X(e=>(e??"").length<3?xe({value:[]}):this.providerService.getProviderModalities(this.providerId,e||"")),te(e=>e?.value?.map(i=>i.match)))}ngOnDestroy(){this.editProfileSubscription&&this.editProfileSubscription.unsubscribe(),this.editProfileImageSubscription&&this.editProfileImageSubscription.unsubscribe()}get newAddressControls(){return this.editProfileForm.get("NewAddresses")}remove(e){const i=this.currentModalities.indexOf(e);i>=0&&this.currentModalities.splice(i,1),this.modalitiesUpdated.next(!0)}editAvatar(e){const i=e?.target?.files[0];if(!i)return;this.isLoadingSubmit$.next(!0),this.formSubmissionError$.next(null),this.isFormSubmissionSuccess$.next(!1);const o=new FormData;o.append("image",i),this.editProfileImageSubscription=this.providerService.postProviderAvatarEdit(this.providerId,o).subscribe({next:()=>{this.isLoadingSubmit$.next(!1),this.formSubmissionError$.next(null),this.isFormSubmissionSuccess$.next(!0)},error:()=>{this.isLoadingSubmit$.next(!1),this.formSubmissionError$.next("Error saving image"),this.isFormSubmissionSuccess$.next(!1)}})}addModality(e){const i=(e.value||"").trim();i&&this.currentModalities.push(i),e.chipInput.clear(),this.modalityControl.setValue(null),this.modalitiesUpdated.next(!0)}modalitySelected(e){this.currentModalities.push(e.option.viewValue),this.modalityInput.nativeElement.value="",this.modalityControl.setValue(null),this.modalitiesUpdated.next(!0)}hasError(e,i){return this.editProfileForm.controls[e].hasError(i)}addAddressControl(){this.newAddressControls.push(new De)}removeAddressControl(e){this.newAddressControls.removeAt(e)}removeAddress(e){this.deletedAddressIds.push(e)}getMaxAddressLength(e){return e7[e]}maxWordCount(e){return i=>{const r=[...i.value.matchAll(/\b\w+\b/g)].length??0,s=fMe[e];return r>s?{maxWordCount:{max:s,wordCount:r}}:null}}static#e=this.\u0275fac=function(i){return new(i||t)(v(hg),v($i),v(gMe))};static#t=this.\u0275cmp=O({type:t,selectors:[["edit-profile"]],viewQuery:function(i,o){if(1&i&&me(bMe,5),2&i){let r;H(r=j())&&(o.modalityInput=r.first)}},decls:4,vars:4,consts:[["class","container",4,"ngIf","ngIfElse"],["loading",""],[1,"container"],["class","row",4,"ngIf","ngIfElse"],["content",""],[1,"row"],[1,"col-md-12","text-center"],["color","winnie-blue"],[1,"row","mt-4"],["href","javascript:void(0)",1,"avatar-container"],["type","file",3,"change"],[1,"edit-icon"],[3,"src"],[3,"formGroup"],[1,"col-md-9"],[1,"form-element","mb-4","w-full"],["matInput","","type","text","placeholder","","formControlName","ProviderName"],[1,"col-md-3"],["matInput","","type","text","placeholder","","formControlName","Abn"],[1,"col-md-12"],["matInput","","type","richtext","placeholder","","formControlName","Description","rows","6"],[4,"ngIf"],["class","card mb-4"],[1,"side-by-side"],["matInput","","type","text","placeholder","","formControlName","Phone"],["matInput","","type","text","placeholder","","formControlName","Phone2"],["matInput","","type","text","placeholder","https://www.","formControlName","WebsiteUrl"],["matInput","","type","text","placeholder","","formControlName","InstagramUrl"],["matInput","","type","text","placeholder","","formControlName","FacebookUrl"],["matInput","","type","text","placeholder","","formControlName","LinkedInUrl"],[1,"modality-chips"],["aria-label","Modality selection"],["chipGrid",""],["placeholder","Search modalities",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","disabled","matChipInputTokenEnd"],["modalityInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"disabled",4,"ngIf","ngIfElse"],["finishedLoading",""],["class","m-auto",3,"spinnerWidth",4,"ngIf"],["class","alert alert-danger text-center",4,"ngIf"],["class","text-center",4,"ngIf"],["type","submit",1,"responsive-button","block","m-auto","btn","btn-dark","mt-3",3,"disabled","click"],[1,"mt-12","text-center"],["target","_blank","href","https://drive.google.com/drive/folders/17tAssAkWB2wIxNR2gXvh2JehpUVUZcrk?usp=sharing",1,"block","m-auto","btn","btn-outline-dark","mt-4","text-black","responsive-button"],[1,"card","mb-4"],[1,"card-body"],["formArrayName","NewAddresses",1,"mt-4"],["class","btn btn-sm btn-secondary"],[1,"btn","btn-sm","btn-secondary",3,"click"],[1,"col-sm-10"],[1,"form-element","w-full"],["matInput","","type","text","placeholder","",3,"formControlName"],[1,"col-sm-2"],[1,"btn","btn-sm","btn-secondary","mt-2",3,"click"],["class","row"],["matInput","","type","text","placeholder","","formControlName","SingleAddress"],[3,"removed"],["matChipRemove",""],[3,"disabled"],[3,"value",4,"ngIf"],[3,"value"],[1,"m-auto",3,"spinnerWidth"],[1,"alert","alert-danger","text-center"],[1,"font-bold"],["onclick","window.HubSpotConversations.widget.open()",3,"trackContactUs"],[1,"text-center"],[1,"success-icon"],[1,"m-auto"]],template:function(i,o){if(1&i&&(T(0,zMe,5,2,"div",0),ve(1,"async"),T(2,HMe,4,0,"ng-template",null,1,Yi)),2&i){const r=mt(3);k("ngIf",Me(1,2,o.providerProfile$))("ngIfElse",r)}},dependencies:[Nn,Ki,Ng,Jc,Fg,Rg,Kr,fr,Yr,Zr,Ga,br,Gc,ug,lx,$g,q3,Ete,I5,Ob,$5,U5,z5,Gw,_Me,j2,Vi],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}.side-by-side[_ngcontent-%COMP%]{display:flex;gap:0;flex-direction:column}.modality-chips[_ngcontent-%COMP%]{width:100%}.success-icon[_ngcontent-%COMP%]{width:4rem;height:4rem;font-size:4rem;color:#0dbb74;animation:_ngcontent-%COMP%_fadeIn .7s}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}
1to{opacity:1}}.avatar-container[_ngcontent-%COMP%]{position:relative}.avatar-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0;position:absolute;height:151%;width:100%;z-index:100;cursor:pointer;padding:50%;font-size:0}.avatar-container[_ngcontent-%COMP%]   .edit-icon[_ngcontent-%COMP%]{position:absolute;right:0;color:#fff;border:2px solid white;border-radius:100%;padding:4px;width:35px;height:35px;background:#0DBB74}.responsive-button[_ngcontent-%COMP%]{width:100%}@media (min-width: 490px){.responsive-button[_ngcontent-%COMP%]{width:25%}.side-by-side[_ngcontent-%COMP%]{flex-direction:row;gap:2rem}}"]})}return t})(),canActivate:[X8],data:{legacyStyles:!0}},...I0e,...Bme,{path:"**",redirectTo:""}];let UMe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t});static#i=this.\u0275inj=Oe({imports:[ne,Dt.forRoot($Me,{scrollPositionRestoration:"top"}),Dt]})}return t})();const n7=()=>!!(typeof window<"u"&&window.hj),qMe=["businessMenu"],YMe=["aboutUsMenu"],ZMe=["accountMenu"],KMe=["navbarCollapse"],QMe=["navbarToggler"];function XMe(t,n){if(1&t&&(c(0,"span",38),h(1),d()),2&t){const e=S(2).$implicit,i=S(2);b(1),ce(" ",i.isSubmenuOpen(e)?"\u25b2":"\u25bc"," ")}}const JMe=t=>({"has-children":t});function eDe(t,n){if(1&t){const e=Ne();c(0,"a",36),V("click",function(){re(e);const o=S().$implicit,r=S(2);return se(o.children?r.toggleSubmenu(o):r.onSubmenuClick())}),h(1),T(2,XMe,2,1,"span",37),d()}if(2&t){const e=S().$implicit;k("ngClass",di(4,JMe,e.children))("routerLink",e.route),b(1),ce("",e.label," "),b(1),k("ngIf",e.children)}}function tDe(t,n){if(1&t){const e=Ne();c(0,"a",41),V("click",function(){return re(e),se(S(5).onSubmenuClick())}),h(1),d()}if(2&t){const e=S().$implicit;k("routerLink",e.route),b(1),ce(" ",e.label,"")}}function iDe(t,n){if(1&t&&($n(0),T(1,tDe,2,2,"a",40),Un()),2&t){const e=n.$implicit;b(1),k("ngIf",e.enabled)}}function nDe(t,n){if(1&t&&(c(0,"div",39),T(1,iDe,2,1,"ng-container",21),d()),2&t){const e=S().$implicit;b(1),k("ngForOf",e.children)}}function oDe(t,n){if(1&t&&($n(0),c(1,"div",33),T(2,eDe,3,6,"a",34)(3,nDe,2,1,"div",35),d(),Un()),2&t){const e=n.$implicit,i=S(2);b(2),k("ngIf",e.enabled),b(1),k("ngIf",e.children&&i.isSubmenuOpen(e))}}function rDe(t,n){if(1&t&&(c(0,"mat-icon"),h(1),d()),2&t){const e=S().$implicit;b(1),pe(e.icon)}}function sDe(t,n){if(1&t){const e=Ne();c(0,"a",42),V("click",function(){const r=re(e).$implicit;return se(S(2).handleClick(r))}),c(1,"span"),h(2),T(3,rDe,2,1,"mat-icon",0),d()()}if(2&t){const e=n.$implicit;Iu("top-menu ",e.class,""),k("ngClass",e.enabled?"show":"hidden")("routerLink",e.route)("matMenuTriggerFor",e.menuTrigger||null),b(2),ce("",e.label," "),b(1),k("ngIf",e.icon)}}const ik=t=>({"d-none":t});function aDe(t,n){if(1&t){const e=Ne();$n(0),c(1,"div",6)(2,"div",7)(3,"nav",8)(4,"div",9)(5,"div",10)(6,"a",11),x(7,"img",12),d(),c(8,"button",13,14),V("click",function(){return re(e),se(S().toggleNavbar())}),x(10,"span",15)(11,"span",16),d()()(),c(12,"div",17,18),x(14,"img",19),c(15,"div",20),T(16,oDe,4,2,"ng-container",21),c(17,"div",22)(18,"a",23),V("click",function(){return re(e),se(S().onSubmenuClick())}),h(19," Buy A Gift Card "),d(),c(20,"a",24),V("click",function(){return re(e),se(S().onSubmenuClick())}),h(21," Login / Sign up "),d()()()()()()(),c(22,"mat-toolbar",25)(23,"section",26,27)(25,"a",28),x(26,"img",12),d()(),c(27,"section",29,30),T(29,sDe,4,8,"a",31),d()(),x(30,"img",32),Un()}if(2&t){const e=n.ngIf,i=S();b(7),k("src","/assets/logo-black.svg",Jt),b(3),k("ngClass",di(9,ik,i.isNavbarOpen)),b(1),k("ngClass",di(11,ik,!i.isNavbarOpen)),b(3),k("src","/assets/rainbow.svg",Jt)("ngClass",di(13,ik,!i.isNavbarOpen)),b(2),k("ngForOf",e.mobileItems),b(10),k("src","/assets/logo-black.svg",Jt),b(3),k("ngForOf",e.desktopItems),b(1),k("src","/assets/rainbow.svg",Jt)}}function lDe(t,n){if(1&t&&(c(0,"mat-icon"),h(1),d()),2&t){const e=S().$implicit;b(1),pe(e.icon)}}function cDe(t,n){if(1&t){const e=Ne();c(0,"button",43),V("click",function(){const r=re(e).$implicit;return se(S().handleClick(r))}),T(1,lDe,2,1,"mat-icon",0),h(2),d()}if(2&t){const e=n.$implicit;k("routerLink",e.route)("ngClass",e.enabled?"show":"hidden"),b(1),k("ngIf",e.icon),b(1),ce(" ",e.label," ")}}const dDe=()=>[];let o7=(()=>{class t{constructor(e,i,o){this.tracker=e,this.jwtService=i,this.styles=o,this.isNavbarOpen=!1,this.openSubmenus=new Set,this.isLegacyStyle=!1}ngOnInit(){this.stylesSubscription=this.styles.isLegacy$.subscribe(o=>this.isLegacyStyle=o);const e=[{label:"Buying for Business",enabled:!0,menuTrigger:this.businessMenu,icon:"arrow_drop_down"},{label:"For Service Providers",route:"health-services-directory",enabled:!0},{label:"About Us",enabled:!0,menuTrigger:this.aboutUsMenu,icon:"arrow_drop_down"},{label:"Buy A Gift Card",route:"wellness-gift-card",enabled:!0,class:"top-menu-cta",clickSideEffect:()=>this.trackHeaderCtaClick()}],i=[{label:"How Buying for Business Works",enabled:!0,children:[{label:"How 
1it works",route:"/workplace-wellness",enabled:!0},{label:"Workshops for Businesses",route:"/workshops",enabled:!0}]},{label:"Service Directory",route:"/health-services-directory",enabled:!0},{label:"About Us",enabled:!0,children:[{label:"Mentwell Story",route:"/mission",enabled:!0},{label:"How to Use",route:"/how-to-use",enabled:!0},{label:"Where to Use",route:"/where-to-use",enabled:!0}]}];this.menuItems$=this.jwtService.data$.pipe(te(o=>{if(o?.businessId||o?.providerId){const r=o.providerId?`dashboard/${o.providerId}`:"/business/dashboard";return{desktopItems:[...e,{label:"Account",enabled:!0,menuTrigger:this.accountMenu,icon:"arrow_drop_down"}],mobileItems:[...i,{label:"Manage Account",route:r,enabled:!0},{label:"Log Out",route:"/logout",enabled:!0}],desktopAccountItems:[{label:"Manage Account",route:r,enabled:!0,icon:"account_circle"},{label:"Log Out",route:"/logout",enabled:!0,icon:"logout"}]}}return{desktopItems:[...e,{label:"Login/Signup",route:"login",enabled:!0,class:"top-menu-login"}],mobileItems:[...i],desktopAccountItems:[]}}))}handleClick(e){e.clickSideEffect&&e.clickSideEffect()}trackHeaderCtaClick(){this.tracker.trackClick("Buy gift card","Header CTA")}ngOnDestroy(){this.stylesSubscription?.unsubscribe()}toggleNavbar(){console.log("this.isNavbarOpenup",this.isNavbarOpen),this.isNavbarOpen=!this.isNavbarOpen,console.log("this.isNavbarOpendown",this.isNavbarOpen)}toggleSubmenu(e){e.children?this.openSubmenus.has(e.label)?this.openSubmenus.delete(e.label):this.openSubmenus.add(e.label):e.clickSideEffect&&e.clickSideEffect()}isSubmenuOpen(e){return this.openSubmenus.has(e.label)}onSubmenuClick(){console.log("this.isNavbarOpenup",this.isNavbarOpen),this.isNavbarOpen=!1;const e=this.navbarCollapse?.nativeElement,i=this.navbarToggler?.nativeElement;e&&e.classList.contains("show")&&(e.classList.remove("show"),i.classList.add("collapsed"),i.setAttribute("aria-expanded","false"))}static#e=this.\u0275fac=function(i){return new(i||t)(v(la),v(Zn),v(lm))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-top-nav"]],viewQuery:function(i,o){if(1&i&&(me(qMe,7),me(YMe,7),me(ZMe,7),me(KMe,5),me(QMe,5)),2&i){let r;H(r=j())&&(o.businessMenu=r.first),H(r=j())&&(o.aboutUsMenu=r.first),H(r=j())&&(o.accountMenu=r.first),H(r=j())&&(o.navbarCollapse=r.first),H(r=j())&&(o.navbarToggler=r.first)}},hostVars:2,hostBindings:function(i,o){2&i&&je("legacy-styles",o.isLegacyStyle)},standalone:!0,features:[z],decls:20,vars:12,consts:[[4,"ngIf"],["businessMenu","matMenu"],["mat-menu-item","",3,"routerLink"],["aboutUsMenu","matMenu"],["accountMenu","matMenu"],["mat-menu-item","",3,"routerLink","ngClass","click",4,"ngFor","ngForOf"],[1,"mobile-topnav","row"],[1,"col-lg-12"],[1,"navbar","navbar-expand-lg","bg-body-tertiary"],[1,"container-fluid"],[1,"mobile-navbar-container"],["routerLink","home",1,"homepage-logo"],["alt","Mentwell logo",3,"src"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNavAltMarkup","aria-controls","navbarNavAltMarkup","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],["navbarToggler",""],[1,"navbar-toggler-icon",3,"ngClass"],[1,"close-icon",3,"ngClass"],["id","navbarNavAltMarkup",1,"collapse","navbar-collapse","w-100"],["navbarCollapse",""],["alt","",1,"rainbow-line",3,"src","ngClass"],[1,"navbar-nav","mobile-menu"],[4,"ngFor","ngForOf"],[1,"mobile-menu-actions"],["routerLink","/wellness-gift-card",1,"btn","btn-success","full-width",3,"click"],["routerLink","/login",1,"btn","btn-outline-dark","full-width",3,"click"],[1,"desktop-topnav"],[1,"homepage-logo"],["logo",""],["routerLink","home"],[1,"top-menu-container"],["navigation",""],[3,"ngClass","routerLink","class","matMenuTriggerFor","click",4,"ngFor","ngForOf"],["alt","",1,"rainbow-line",3,"src"],[1,"nav-link-wrapper"],["class","nav-link links",3,"ngClass","routerLink","click",4,"ngIf"],["class","submenu",4,"ngIf"],[1,"nav-link","links",3,"ngClass","routerLink","click"],["class","dropdown-icon",4,"ngIf"],[1,"dropdown-icon"],[1,"submenu"],["class","nav-link sub-link",3,"routerLink","click",4,"ngIf"],[1,"nav-link","sub-link",3,"routerLink","click"],[3,"ngClass","routerLink","matMenuTriggerFor","click"],["mat-menu-item","",3,"routerLink","ngClass","click"]],template:function(i,o){if(1&i&&(T(0,aDe,31,15,"ng-container",0),ve(1,"async"),c(2,"mat-menu",null,1)(4,"button",2),h(5,"How it works"),d(),c(6,"button",2),h(7,"Workshops"),d()(),c(8,"mat-menu",null,3)(10,"button",2),h(11,"Mentwell story"),d(),c(12,"button",2),h(13,"How to use card"),d(),c(14,"button",2),h(15,"Where to use card"),d()(),c(16,"mat-menu",null,4),T(18,cDe,3,4,"button",5),ve(19,"async"),d()),2&i){let r;k("ngIf",Me(1,7,o.menuItems$)),b(4),k("routerLink","/workplace-wellness"),b(2),k("routerLink","/workshops"),b(4),k("routerLink","/mission"),b(2),k("routerLink","/how-to-use"),b(2),k("routerLink","/where-to-use"),b(4),k("ngForOf",null!==(r=null==(r=Me(19,9,o.menuItems$))?null:r.desktopAccountItems)&&void 0!==r?r:Be(11,dDe))}},dependencies:[ne,Ti,th,Ki,Vi,Dt,zt,r4,xse,VR,Joe,Xg,nre,MR,lx],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}[_nghost-%COMP%]{position:sticky;top:0;padding-top:0;background-color:#fff;display:block;z-index:999}mat-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:space-between;
1height:2.6rem;align-items:center;background-color:#fff;margin-bottom:1.5rem;padding:0 36px!important}.navbar-toggler[_ngcontent-%COMP%]{margin-right:1rem}.mobile-navbar-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%;align-items:center;margin:.7rem 0;padding:10px 8px}.rainbow-line[_ngcontent-%COMP%]{width:100vw;height:4px;display:block}.top-menu-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-right:2rem;justify-content:flex-end;width:100%;gap:1.5rem;font-size:1rem}.top-menu[_ngcontent-%COMP%]{font-family:Chromatica;text-decoration:none;color:#201e1e}.top-menu-inverted[_ngcontent-%COMP%]{color:#fff;background-color:#201e1e;border-radius:1rem}.top-menu-outline[_ngcontent-%COMP%]{border-radius:1rem;border:solid #201E1E .0625rem}.top-menu-cta[_ngcontent-%COMP%]{background-color:#0dbb74;border-radius:.7rem;padding:.3rem 1.5rem}.top-menu-login[_ngcontent-%COMP%]{border-radius:.7rem;padding:.3rem 1.5rem;border:solid #201E1E .0625rem}.hidden[_ngcontent-%COMP%]{display:none}.nav-link[_ngcontent-%COMP%], .top-menu[_ngcontent-%COMP%]{cursor:pointer}.nav-link[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .top-menu[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2rem;vertical-align:middle;height:38px}.homepage-logo[_ngcontent-%COMP%]{line-height:0;margin-right:2rem}.homepage-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:0;max-width:260px;min-width:160px}.desktop-topnav[_ngcontent-%COMP%]{display:none}@media (min-width: 1080px){[_nghost-%COMP%]{padding-top:1.5rem}.homepage-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.mobile-topnav[_ngcontent-%COMP%]{display:none}.desktop-topnav[_ngcontent-%COMP%]{display:flex}}@media (min-width: 1024px){.top-menu-container[_ngcontent-%COMP%]{gap:3rem}}[_nghost-%COMP%]:not(.legacy-styles){overflow-x:hidden}[_nghost-%COMP%]:not(.legacy-styles)   .collapse.show[_ngcontent-%COMP%]{visibility:visible}[_nghost-%COMP%]:not(.legacy-styles)   .row[_ngcontent-%COMP%]{--bs-gutter-x: calc(1.5 * var(--legacy-root-size));--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}[_nghost-%COMP%]:not(.legacy-styles)   .row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}[_nghost-%COMP%]:not(.legacy-styles)   .navbar[_ngcontent-%COMP%]{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: calc(.5 * var(--legacy-root-size));--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: calc(.3125 * var(--legacy-root-size));--bs-navbar-brand-margin-end: calc(1 * var(--legacy-root-size));--bs-navbar-brand-font-size: calc(1.25 * var(--legacy-root-size));--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: calc(.5 * var(--legacy-root-size));--bs-navbar-toggler-padding-y: calc(.25 * var(--legacy-root-size));--bs-navbar-toggler-padding-x: calc(.75 * var(--legacy-root-size));--bs-navbar-toggler-font-size: calc(1.25 * var(--legacy-root-size));--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: calc(.375 * var(--legacy-root-size));--bs-navbar-toggler-focus-width: calc(.25 * var(--legacy-root-size));--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}[_nghost-%COMP%]:not(.legacy-styles)   .navbar[_ngcontent-%COMP%] > .container-fluid[_ngcontent-%COMP%]{--bs-gutter-x: calc(1.5 * var(--legacy-root-size));--bs-gutter-y: 0;display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}[_nghost-%COMP%]:not(.legacy-styles)   .collapse[_ngcontent-%COMP%]:not(.show){display:none}[_nghost-%COMP%]:not(.legacy-styles)   .navbar-nav[_ngcontent-%COMP%]{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: calc(.5 * var(--legacy-root-size));--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}[_nghost-%COMP%]:not(.legacy-styles)   .navbar-toggler[_ngcontent-%COMP%]{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color)}[_nghost-%COMP%]:not(.legacy-styles)   .navbar-toggler-icon[_ngcontent-%COMP%]{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:center;background-size:100%}[_nghost-%COMP%]:not(.legacy-styles)   .top-menu-container[_ngcontent-%COMP%]{margin-right:calc(2 * var(--legacy-root-size));gap:calc(1.5 * var(--legacy-root-size));font-size:var(--legacy-root-size)}[_nghost-%COMP%]:not(.legacy-styles)   .homepage-logo[_ngcontent-%COMP%]{margin-right:calc(2 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   mat-toolbar[_ngcontent-%COMP%]{height:calc(2.6 * var(--legacy-root-size));margin-bottom:calc(1.5 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .top-menu-inverted[_ngcontent-%COMP%]{border-radius:calc(1 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .top-menu-outline[_ngcontent-%COMP%]{border-radius:calc(1 * var(--legacy-root-size));border-width:calc(.0625 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .top-menu-cta[_ngcontent-%COMP%]{border-radius:calc(.7 * var(--legacy-root-size));padding:calc(.3 * var(--legacy-root-size)) calc(1.5 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .nav-link[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.legacy-styles)   .top-menu[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:calc(2 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .nav-link[_ngcontent-%COMP%]{padding:calc(.5 * var(--legacy-root-size)) 0;font-size:var(--legacy-root-size);font-weight:400;line-height:calc(1.5 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .mobile-navbar-container[_ngcontent-%COMP%]{margin:calc(.7 * var(--legacy-root-size)) 0}[_nghost-%COMP%]:not(.legacy-styles)   .navbar-toggler[_ngcontent-%COMP%]{margin-right:var(--legacy-root-size)}@media (max-width: 480px){[_nghost-%COMP%]:not(.legacy-styles){--legacy-root-size: 12px}}@media (min-width: 480px){[_nghost-%COMP%]:not(.legacy-styles){--legacy-root-size: 13px}}@media (min-width: 1080px){[_nghost-%COMP%]:not(.legacy-styles){--legacy-root-size: 14px;padding-top:calc(1.5 * var(--legacy-root-size))}[_nghost-%COMP%]:not(.legacy-styles)   .mobile-topnav[_ngcontent-%COMP%]{display:none}}@media (min-width: 992px){[_nghost-%COMP%]:not(.legacy-styles){--legacy-root-size: 15px}}@media (min-width: 1024px){[_nghost-%COMP%]:not(.legacy-styles)   .top-menu-container[_ngcontent-%COMP%]{gap:calc(1.5 * var(--legacy-root-size))}}@media (min-width: 1200px){[_nghost-%COMP%]:not(.legacy-styles){--legacy-root-size: 16px}}.d-none[_ngcontent-%COMP%]{display:none!important}.close-icon[_ngcontent-%COMP%]{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 18 
118 6M6 6l12 12'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:center;background-size:100%}.links[_ngcontent-%COMP%]{color:#000;font-size:15px!important;margin:5px 30px}.w-100[_ngcontent-%COMP%]{width:100%}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]{background:gainsboro}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-weight:500;padding:.8rem 0}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]   .dropdown-icon[_ngcontent-%COMP%]{font-size:.8rem}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]   .submenu[_ngcontent-%COMP%]{padding-left:2rem;background:white}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]   .submenu[_ngcontent-%COMP%]   .sub-link[_ngcontent-%COMP%]{display:block;padding:.8rem 0;font-size:14px;color:#555}.mobile-menu[_ngcontent-%COMP%]   .nav-link-wrapper[_ngcontent-%COMP%]   .menu-divider[_ngcontent-%COMP%]{border:none;border-bottom:1px solid #ddd}.mobile-menu[_ngcontent-%COMP%]   .mobile-menu-actions[_ngcontent-%COMP%]{margin:2rem 1rem;display:flex;flex-direction:column;gap:1rem}.mobile-menu[_ngcontent-%COMP%]   .mobile-menu-actions[_ngcontent-%COMP%]   .full-width[_ngcontent-%COMP%]{width:100%;padding:.75rem;font-weight:600}.mobile-menu[_ngcontent-%COMP%]   .mobile-menu-actions[_ngcontent-%COMP%]   .btn-success[_ngcontent-%COMP%]{background-color:#00a651;color:#000;border-radius:15px;text-align:center}.mobile-menu[_ngcontent-%COMP%]   .mobile-menu-actions[_ngcontent-%COMP%]   .btn-outline-dark[_ngcontent-%COMP%]{border:1px solid #333;color:#333;text-align:center;border-radius:15px}"]})}return t})();const uDe=()=>({subject:"General",location:"Footer"}),hDe=()=>({action:"Socials - Facebook",location:"Footer"}),mDe=()=>({action:"Socials - Instagram",location:"Footer"}),r7=()=>({action:"Socials - LinkedIn",location:"Footer"});let s7=(()=>{class t{constructor(e){this.styles=e,this.isLegacyStyle=!1}get year(){return(new Date).getFullYear()}ngOnInit(){this.subscription=this.styles.isLegacy$.subscribe(e=>this.isLegacyStyle=e)}ngOnDestroy(){this.subscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)(v(lm))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-footer"]],hostVars:2,hostBindings:function(i,o){2&i&&je("legacy-styles",o.isLegacyStyle)},standalone:!0,features:[z],decls:100,vars:13,consts:[[1,"footer-cust"],[1,"row"],[1,"col-lg-5"],["alt","Mentwell logo",1,"footer-logo",3,"src"],[3,"footer"],[1,"col-lg-7","footer-link-section"],[1,"col-lg-3","col-md-4"],["matListItemTitle",""],[1,"footer-link-header","text-base"],["href","https://blog.mentwell.com.au/blog","target","_blank",1,"footer-link-child"],["matListItemLine","","routerLink","/mission",1,"footer-link-child"],["matListItemLine","","routerLink","/thankyou",1,"footer-link-child"],["matListItemLine","","routerLink","/press-coverage",1,"footer-link-child"],[1,"col-lg-5","col-md-4"],["matListItemLine","","onclick","window.HubSpotConversations.widget.open()",1,"footer-link-header","text-base",3,"trackContactUs"],[1,"footer-link-child","text-sm"],["matListItemLine","","routerLink","/faqs",1,"footer-link-header"],[1,"gap-3"],["matListItemLine","",1,"footer-link-header"],[1,"flex","gap-2","my-2"],["src","/assets/footer/wallet-strip-300x30 1.png","alt","wallet-strip-300x30"],["src","/assets/footer/wallet-strip-300x30 2.png","alt","wallet-strip-300x30"],["src","/assets/footer/wallet-strip-300x30 3.png","alt","wallet-strip-300x30"],[1,"col-lg-4","col-md-4"],["matListItemLine","","href","tel:131114"],["matListItemLine","","href","https://lifeline.org.au","target","_blank"],["matListItemLine",""],[1,"footer-link-header","text-base","mt-4"],[1,"flex","flex-col"],[1,"flex","space-x-2","items-center","mb-2"],["href","https://www.facebook.com/profile.php?id=100089629025984&mibextid=LQQJ4d","target","_blank",1,"flex","items-center","space-x-2",3,"trackClicks"],["src","../../assets/footer/Facebook.png","alt","Facebook logo",1,"w-8","h-8"],[1,"text-sm"],["href","https://www.instagram.com/mentwellau/","target","_blank",1,"flex","items-center","space-x-2",3,"trackClicks"],["src","../../assets/footer/Instagram.png","alt","Instagram logo",1,"w-8","h-8"],["href","https://www.linkedin.com/company/mentwell/","target","_blank",1,"flex","items-center","space-x-2",3,"trackClicks"],["src","../../assets/footer/Twitter.png","alt","Linkedin logo",1,"w-8","h-8"],[1,"flex","space-x-2","items-center"],["src","../../assets/footer/LinkedIn.png","alt","Linkedin logo",1,"w-8","h-8"],[1,"border-t","mt-8","border-soft-black"],[1,"copyright"],["routerLink","privacy"],["routerLink","terms"]],template:function(i,o){1&i&&(c(0,"div",0)(1,"div",1)(2,"div",2),x(3,"img",3)(4,"newsletter-subscription",4),d(),c(5,"div",5)(6,"div",1)(7,"div",6)(8,"mat-list")(9,"mat-list-item")(10,"span",7)(11,"p",8),h(12,"SITE MAP"),d()()(),c(13,"mat-list-item")(14,"a",9),h(15,"Blog"),d()(),c(16,"mat-list-item")(17,"a",10),h(18,"Our Mission"),d()(),c(19,"mat-list-item")(20,"a",11),h(21,"Thank You"),d()(),c(22,"mat-list-item")(23,"a",12),h(24,"Press"),d()()()(),c(25,"div",13)(26,"mat-list")(27,"mat-list-item")(28,"p")(29,"button",14),h(30,"CONTACT US"),d()()(),c(31,"mat-list-item")(32,"div",15)(33,"div"),h(34,"615 Wilsons Creek Road"),d(),c(35,"div"),h(36,"Wilsons Creek, NSW 2484"),d()()(),c(37,"mat-list-item")(38,"a",16),h(39,"FAQs"),d()(),c(40,"mat-list-item")(41,"div",17)(42,"a",18),h(43,"Supported by all Mobile Wallets"),d(),c(44,"div",19),x(45,"img",20)(46,"img",21),d()()(),c(47,"mat-list-item"),x(48,"img",22),d()()(),c(49,"div",23)(50,"mat-list")(51,"mat-list-item")(52,"span",7)(53,"p",8),h(54,"LIFELINE"),d()()(),c(55,"mat-list-item")(56,"div",15)(57,"a",24),h(58,"Call 13 11 14"),d(),c(59,"a",25),h(60,"Visit lifeline.org.au"),d(),c(61,"span",26),h(62,"24/7 Crisis Support"),d()()(),c(63,"mat-list-item")(64,"span",7)(65,"p",27),h(66,"CONNECT WITH US"),d()()(),c(67,"div",28)(68,"div",29)(69,"a",30),x(70,"img",31),c(71,"span",32),h(72,"Facebook"),d()()(),c(73,"div",29)(74,"a",33),x(75,"img",34),c(76,"span",32),h(77,"Instagram"),d()()(),c(78,"div",29)(79,"a",35),x(80,"img",36),c(81,"span",32),h(82,"Twitter"),d()()(),c(83,"div",37)(84,"a",35),x(85,"img",38),c(86,"span",32),h(87,"Linkedin"),d()()()()()()()()(),x(88,"div",39),c(89,"div",40)(90,"div")(91,"div"),h(92),d()(),c(93,"div")(94,"a",41),h(95,"Privacy Policy"),d(),c(96,"a",42),h(97,"Terms of Service"),d(),c(98,"a",41),h(99,"Cookies Settings"),d()()()()),2&i&&(b(3),k("src","/assets/Logo-Footer.png",Jt),b(1),k("footer",!0),b(25),k("trackContactUs",Be(8,uDe)),b(40),k("trackClicks",Be(9,hDe)),b(5),k("trackClicks",Be(10,mDe)),b(5),k("trackClicks",Be(11,r7)),b(5),k("trackClicks",Be(12,r7)),b(8),ce("\xa9 ",o.year," Mentwell. All rights reserved."))},dependencies:[ne,Dt,zt,D8,FR,Noe,Boe,mx,hx,Nn,Ar],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}a[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{color:#201e1e;text-decoration:none;cursor:pointer}a[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:hover{text-decoration:underline}
1.footer-cust[_ngcontent-%COMP%]{padding:80px 64px;background-color:#f5f5f5}@media (min-width: 992px){.col-lg-6[_ngcontent-%COMP%]{width:50%!important;flex:0 0 auto!important}.col-lg-3[_ngcontent-%COMP%]{flex:0 0 auto!important;width:25%!important}.col-lg-4[_ngcontent-%COMP%]{flex:0 0 auto!important;width:33.33333333%!important}.col-lg-5[_ngcontent-%COMP%]{flex:0 0 auto!important;width:41.66666667%!important}.col-lg-7[_ngcontent-%COMP%]{flex:0 0 auto!important;width:58.33333333%!important}}@media (max-width: 992px){.mdc-list-item[_ngcontent-%COMP%]{padding-left:0}}@media (min-width: 768px){.footer-link-section[_ngcontent-%COMP%]{margin-top:40px!important}.col-md-auto[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.col-md-1[_ngcontent-%COMP%]{flex:0 0 auto;width:8.33333333%}.col-md-2[_ngcontent-%COMP%]{flex:0 0 auto!important;width:16.66666667%!important}.col-md-3[_ngcontent-%COMP%]{flex:0 0 auto!important;width:25%!important}.col-md-4[_ngcontent-%COMP%]{flex:0 0 auto!important;width:33.33333333%!important}.col-md-5[_ngcontent-%COMP%]{flex:0 0 auto!important;width:41.66666667%!important}.col-md-6[_ngcontent-%COMP%]{flex:0 0 auto!important;width:50%!important}.col-md-7[_ngcontent-%COMP%]{flex:0 0 auto;width:58.33333333%}}.footer-link-header[_ngcontent-%COMP%]{font-family:Chromatica;text-decoration:none;color:#201e1e}.footer-link-child[_ngcontent-%COMP%]{font-family:Chromatica;text-decoration:none;color:#201e1e;font-size:14px}@media (min-width: 490px){.container[_ngcontent-%COMP%]{padding-top:3em;padding-bottom:7em}.copyright[_ngcontent-%COMP%]{padding-top:2em}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{padding-top:2em;padding-bottom:2em}.copyright[_ngcontent-%COMP%]{padding-top:2em}}.footer-logo[_ngcontent-%COMP%]{height:1.5625rem!important;margin-bottom:2.4rem}.copyright[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:.8em}.copyright[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-right:1em}.social-icons[_ngcontent-%COMP%]{padding:0 0 0 .75rem}.social-icon[_ngcontent-%COMP%]{width:1.875rem;height:1.875rem}  .mat-mdc-list-item-unscoped-content{display:flex!important}[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}[_nghost-%COMP%]:not(.legacy-styles)   .row[_ngcontent-%COMP%]{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}[_nghost-%COMP%]:not(.legacy-styles)   .row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}[_nghost-%COMP%]:not(.legacy-styles)   hr[_ngcontent-%COMP%]{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}[_nghost-%COMP%]:not(.legacy-styles)   p[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]:not(.legacy-styles)   .text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}@media (min-width: 490px){[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{padding-top:3em;padding-bottom:7em;margin-top:1.75rem}}@media (min-width: 576px){[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{max-width:540px}}@media (min-width: 992px){[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{max-width:960px}[_nghost-%COMP%]:not(.legacy-styles)   .col-lg-4[_ngcontent-%COMP%]{flex:0 0 auto;width:33.33333333%!important}[_nghost-%COMP%]:not(.legacy-styles)   .col-lg-8[_ngcontent-%COMP%]{flex:0 0 auto;width:66.66666667%!important}}@media (min-width: 1200px){[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{max-width:1140px}}@media (min-width: 1400px){[_nghost-%COMP%]:not(.legacy-styles)   .container[_ngcontent-%COMP%]{max-width:1320px}}"]})}return t})(),pDe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-arrow-left-start-on-rectangle-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),fDe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-chart-bar-square-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),gDe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-document-currency-dollar-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v7.5m2.25-6.466a9.016 9.016 0 0 0-3.461-.203c-.536.072-.974.478-1.021 1.017a4.559 4.559 0 0 0-.018.402c0 .464.336.844.775.994l2.95 1.012c.44.15.775.53.775.994 0 .136-.006.27-.018.402-.047.539-.485.945-1.021 1.017a9.077 9.077 0 0 1-3.461-.203M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function bDe(t,n){1&t&&Le(0)}const a7=(t,n)=>({"text-indigo-600":t,"bg-gray-50":n}),l7=()=>({innerClass:"size-6"});function vDe(t,n){if(1&t&&(c(0,"li")(1,"a",30),T(2,bDe,1,0,"ng-container",31),h(3),d()()),2&t){const e=n.$implicit;b(1),k("routerLink",e.path)("ngClass",ur(5,a7,e.isCurrent,e.isCurrent)),b(1),k("ngComponentOutlet",e.icon)("ngComponentOutletInputs",Be(8,l7)),b(1),ce(" ",e.text," ")}}function yDe(t,n){1&t&&Le(0)}function wDe(t,n){if(1&t&&(c(0,"li")(1,"a",30),T(2,yDe,1,0,"ng-container",31),h(3),d()()),2&t){const e=n.$implicit;b(1),k("routerLink",e.path)("ngClass",ur(5,a7,e.isCurrent,e.isCurrent)),b(1),k("ngComponentOutlet",e.icon)("ngComponentOutletInputs",Be(8,l7)),b(1),ce(" ",e.text," ")}}const xDe=t=>({hidden:t});function CDe(t,n){if(1&t){const e=Ne();c(0,"div")(1,"div",1),x(2,"div",2),c(3,"div",3)(4,"div",4)(5,"div",5)(6,"button",6),V("click",function(){return re(e),se(S().showMobileNav$.next(!1))}),c(7,"span",7),h(8,"Close sidebar"),d(),$e(),c(9,"svg",8),x(10,"path",9),d()()(),tr(),c(11,"div",10)(12,"a",11),x(13,"a
1pp-logo",12),d(),c(14,"nav",13)(15,"ul",14)(16,"li")(17,"ul",15),ft(18,vDe,4,9,"li",null,ci),d()()()()()()()(),c(20,"div",16)(21,"div",17)(22,"a",11),x(23,"app-logo",18),d(),c(24,"nav",13)(25,"ul",14)(26,"li")(27,"ul",15),ft(28,wDe,4,9,"li",null,ci),d()()()()()(),c(30,"div",19)(31,"button",20),V("click",function(){return re(e),se(S().showMobileNav$.next(!0))}),c(32,"span",7),h(33,"Open sidebar"),d(),$e(),c(34,"svg",21),x(35,"path",22),d()(),tr(),c(36,"div",23),x(37,"app-logo",24),d()(),c(38,"main",25),ge(39),d(),c(40,"footer",26)(41,"div",27),h(42),c(43,"a",28),h(44,"Terms & conditions"),d(),c(45,"a",29),h(46,"Privacy policy"),d()()()()}if(2&t){const e=n.ngLet,i=S();b(1),k("ngClass",di(2,xDe,!e.showMobileNav)),b(17),gt(e.menuItems),b(10),gt(e.menuItems),b(14),ce(" \xa9 Mentwell Pty Ltd ",i.copywriteYear," ")}}const kDe=(t,n)=>({showMobileNav:t,menuItems:n}),MDe=["*"],DDe=[{text:"Dashboard",path:"/business/dashboard",icon:fDe},{text:"Purchasing",path:"/business/dashboard/purchasing",icon:(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-shopping-cart-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})()},{text:"Order History",path:"/business/dashboard/order-history",icon:gDe},{text:"Log Out",path:"/logout",icon:pDe}];let c7=(()=>{class t{constructor(e){this.router=e,this.showMobileNav$=new Ee(!1),this.copywriteYear=(new Date).getFullYear()}ngOnInit(){this.menuItems$=this.router.events.pipe(te(e=>e.routerEvent?.urlAfterRedirects),yt(e=>!!e),Ja(),xt(()=>this.showMobileNav$.next(!1)),te(e=>DDe.map(i=>({...i,isCurrent:i.path===e.split("?")[0]}))))}static#e=this.\u0275fac=function(i){return new(i||t)(v(Pt))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-business-dashboard-layout"]],standalone:!0,features:[z],ngContentSelectors:MDe,decls:3,vars:8,consts:[[4,"ngLet"],["role","dialog","aria-modal","true",1,"relative","z-50","lg:hidden",3,"ngClass"],["aria-hidden","true",1,"fixed","inset-0","bg-gray-900/80"],[1,"fixed","inset-0","flex"],[1,"relative","mr-16","flex","w-full","max-w-xs","flex-1"],[1,"absolute","left-full","top-0","flex","w-16","justify-center","pt-5"],["type","button",1,"-m-2.5","p-2.5",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"flex","grow","flex-col","gap-y-5","overflow-y-auto","bg-white","px-6","pb-2"],["routerLink","/",1,"flex","h-16","shrink-0","items-center"],[1,"w-36","text-neutral-700"],[1,"flex","flex-1","flex-col"],["role","list",1,"flex","flex-1","flex-col","gap-y-7"],["role","list",1,"-mx-2","space-y-1"],[1,"hidden","lg:fixed","lg:inset-y-0","lg:z-50","lg:flex","lg:w-72","lg:flex-col"],[1,"flex","grow","flex-col","gap-y-5","overflow-y-auto","border-r","border-gray-200","bg-white","px-6"],[1,"text-neutral-700","w-40"],[1,"sticky","top-0","z-40","flex","items-center","justify-between","gap-x-6","bg-white","px-4","py-4","shadow-sm","sm:px-6","lg:hidden"],["type","button",1,"-m-2.5","p-2.5","text-gray-700","lg:hidden",3,"click"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"],[1,"flex-1","text-sm","font-semibold","leading-6","text-gray-900"],[1,"w-32","text-neutral-700","ml-6"],[1,"min-h-[calc(100vh_-_3.5rem)]","lg:min-h-[calc(100vh_-_2.5rem)]","lg:pl-72"],[1,"bg-neutral-50","opacity-80","h-10","text-xs","flex","items-center","lg:pl-72"],[1,"pl-10","flex","gap-6"],["routerLink","/business/terms",1,"underline"],["routerLink","/privacy",1,"underline"],[1,"group","flex","gap-x-3","rounded-md","p-2","text-sm","font-semibold","leading-6","text-gray-700","hover:text-indigo-600","hover:bg-gray-50",3,"routerLink","ngClass"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(i,o){1&i&&(it(),T(0,CDe,47,4,"div",0),ve(1,"async"),ve(2,"async")),2&i&&k("ngLet",ur(5,kDe,Me(1,1,o.showMobileNav$),Me(2,3,o.menuItems$)))},dependencies:[ne,Ti,zA,Vi,Dt,zt,Ii,Ln,cm],styles:["[_nghost-%COMP%]{display:block}"]})}return t})(),SDe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-exclamation-triangle-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})(),EDe=(()=>{class t extends Ot{static#e=this.\u0275fac=(()=>{let e;return function(o){return(e||(e=_e(t)))(o||t)}})();static#t=this.\u0275cmp=O({type:t,selectors:[["app-information-circle-icon"]],standalone:!0,features:[Y,z],decls:2,vars:2,consts:[["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor"],["stroke-linecap","round","stroke-linejoin","round","d","m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"]],template:function(i,o){1&i&&($e(),c(0,"svg",0),x(1,"path",1),d()),2&i&&Ke(o.klass)},encapsulation:2})}return t})();function TDe(t,n){1&t&&x(0,"app-information-circle-icon",15)}function IDe(t,n){1&t&&x(0,"app-check-circle-icon",16)}function ADe(t,n){1&t&&x(0,"app-exclamation-triangle-icon",17)}function PDe(t,n){if(1&t&&(c(0,"p",18),h(1),d()),2&t){const e=S(2);b(1),ce(" ",e.notification.description," ")}}function ODe(t,n){if(1&t){const e=Ne();c(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6),T(6,TDe,1,0)(7,IDe,1,0)(8,ADe,1,0),d(),c(9,"div",7)(10,"p",8),h(11),d(),T(12,PDe,2,1,"p",9),d(),c(13,"div",10)(14,"button",11),V("click",function(){return re(e),se(S().hide())}),c(15,"span",12),h(16,"Close"),d(),$e(),c(17,"svg",13),x(18,"path",14),d()()()()()()()()}if(2&t){const e=S();let i;je("opacity-0",e.fadeOut),b(6),U(6,"info"===(i=e.notification.type)?6:"success"===i?7:"error"===i?8:-1),b(5),ce(" ",e.notification.title," "),b(1),U(12,e.
1notification.description?12:-1)}}let d7=(()=>{class t{constructor(e){this.service=e,this.notification=null,this.fadeOut=!1,this.subscription=this.service.notification$.subscribe({next:i=>{this.fadeOut=!1,this.notification=i,setTimeout(()=>{this.fadeOut=!0},4e3),setTimeout(()=>{this.notification=null},5e3)}})}ngOnDestroy(){this.subscription.unsubscribe()}hide(){this.notification=null}static#e=this.\u0275fac=function(i){return new(i||t)(v(Md))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-notification"]],standalone:!0,features:[z],decls:1,vars:1,consts:[["aria-live","assertive","class","pointer-events-none transition-opacity duration-1000 fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6",3,"opacity-0",4,"ngIf"],["aria-live","assertive",1,"pointer-events-none","transition-opacity","duration-1000","fixed","inset-0","flex","items-end","px-4","py-6","sm:items-start","sm:p-6"],[1,"flex","w-full","flex-col","items-center","space-y-4","sm:items-end"],[1,"pointer-events-auto","w-full","max-w-sm","overflow-hidden","rounded-lg","bg-white","shadow-lg","ring-1","ring-black","ring-opacity-5"],[1,"p-4"],[1,"flex","items-start"],[1,"flex-shrink-0"],[1,"ml-3","w-0","flex-1","pt-0.5"],[1,"text-sm","font-medium","text-gray-900"],["class","mt-1 text-sm text-gray-500"],[1,"ml-4","flex","flex-shrink-0"],["type","button",1,"inline-flex","rounded-md","bg-white","text-gray-400","hover:text-gray-500","focus:outline-none","focus:ring-2","focus:ring-indigo-500","focus:ring-offset-2",3,"click"],[1,"sr-only"],["viewBox","0 0 20 20","fill","currentColor","aria-hidden","true",1,"h-5","w-5"],["d","M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"],["innerClass","text-winnie-blue"],["innerClass","text-easy-green"],["innerClass","text-red-700"],[1,"mt-1","text-sm","text-gray-500"]],template:function(i,o){1&i&&T(0,ODe,19,5,"div",0),2&i&&k("ngIf",o.notification)},dependencies:[ne,Ki,SDe,x8,EDe],styles:["[_nghost-%COMP%]{display:block}"]})}return t})();const RDe=["*"];let u7=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=O({type:t,selectors:[["app-admin-layout"]],standalone:!0,features:[z],ngContentSelectors:RDe,decls:21,vars:1,consts:[[1,"border-b","border-gray-200","bg-white"],[1,"mx-auto","max-w-7xl","px-4","sm:px-6","lg:px-8"],[1,"flex","h-16","justify-between"],[1,"flex"],[1,"flex","flex-shrink-0","items-center"],["routerLink","/"],[1,"w-8","transition-opacity","hover:opacity-70",3,"showText"],[1,"hidden","sm:-my-px","sm:ml-6","sm:flex","sm:space-x-8"],["routerLink","/admin",1,"inline-flex","items-center","border-b-2","px-1","pt-1","text-sm","font-medium","border-transparent","text-gray-500","hover:border-gray-300","hover:text-gray-700"],["routerLink","/admin/report-upload",1,"inline-flex","items-center","border-b-2","px-1","pt-1","text-sm","font-medium","border-transparent","text-gray-500","hover:border-gray-300","hover:text-gray-700"],["id","mobile-menu",1,"sm:hidden"],[1,"space-y-1","pb-3","pt-2"],["routerLink","/admin","aria-current","page",1,"block","border-l-4","py-2","pl-3","pr-4","text-base","font-medium","border-transparent","text-gray-600","hover:border-gray-300","hover:bg-gray-50","hover:text-gray-800"],["routerLink","/admin/report-upload","aria-current","page",1,"block","border-l-4","py-2","pl-3","pr-4","text-base","font-medium","border-transparent","text-gray-600","hover:border-gray-300","hover:bg-gray-50","hover:text-gray-800"],[1,"mx-auto","max-w-7xl","px-4","py-8","sm:px-6","lg:px-8"]],template:function(i,o){1&i&&(it(),c(0,"nav",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"a",5),x(6,"app-logo",6),d()(),c(7,"div",7)(8,"a",8),h(9,"Businesses"),d(),c(10,"a",9),h(11,"Reporting"),d()()()()(),c(12,"div",10)(13,"div",11)(14,"a",12),h(15,"Businesses"),d(),c(16,"a",13),h(17,"Reporting"),d()()()(),c(18,"main")(19,"div",14),ge(20),d()()),2&i&&(b(6),k("showText",!1))},dependencies:[ne,Ii,cm,Dt,zt],encapsulation:2})}return t})();function FDe(t,n){1&t&&(c(0,"app-business-dashboard-layout"),x(1,"router-outlet"),d())}function LDe(t,n){1&t&&(c(0,"app-admin-layout"),x(1,"router-outlet"),d())}function NDe(t,n){1&t&&(x(0,"app-top-nav"),c(1,"main"),x(2,"router-outlet"),d(),x(3,"app-footer"))}function BDe(t,n){if(1&t&&($n(0),T(1,FDe,2,0,"app-business-dashboard-layout")(2,LDe,2,0)(3,NDe,4,0),Un()),2&t){const e=n.ngLet;b(1),U(1,e.isBusinessDashboard?1:e.isAdmin?2:3)}}const VDe=(t,n)=>({isBusinessDashboard:t,isAdmin:n});let zDe=(()=>{class t{constructor(e,i,o,r,s,a){this.titleService=e,this.metaService=i,this.route=o,this.router=r,this.configService=s,this.styles=a,this.isBusinessDashboard$=new fe,this.isAdmin$=new fe,this.router.events.pipe(yt(l=>l instanceof Cr)).subscribe(()=>{const l=this.route.root.firstChild?.snapshot.data,u=l?.title,m=l?.de
1scription,p=!!l?.legacyStyles,f=!!l?.isBusinessDashboard,_=!!l?.isAdmin;p?this.styles.useLegacyStyles():this.styles.useTailwind(),void 0!==u&&this.titleService.setTitle(u),void 0!==m&&(this.metaService.addTag({name:"description",content:m}),this.metaService.updateTag({name:"description",content:m})),this.isBusinessDashboard$.next(f),this.isAdmin$.next(_)})}ngOnInit(){this.initHotjar();try{new URLSearchParams(window.location.search).get("showChat")&&window.HubSpotConversations.widget.open()}catch(e){console.error("error opening chat based on query params",e)}}initHotjar(){((t,n,e)=>{try{return((t,n,e)=>{if(!((i,o,r)=>{try{const s=document.getElementById(o)||document.createElement("script");return s.id=o,s.nonce=r,s.innerText=i,s.crossOrigin="anonymous",document.head.appendChild(s),!0}catch{return!1}})(`(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:${t},hjsv:${n},hjdebug:${e?.debug||!1}};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');`,"hotjar-init-script",e?.nonce)||!n7())throw Error("Failed to initialize Hotjar tracking script.")})(t,n,e),!0}catch(i){return console.error("Error:",i),!1}})(3423329,6,{debug:this.configService.config.hotjarDebugMode})}static#e=this.\u0275fac=function(i){return new(i||t)(v(A1),v(dP),v($i),v(Pt),v(ii),v(lm))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-root"]],decls:4,vars:8,consts:[[4,"ngLet"]],template:function(i,o){1&i&&(T(0,BDe,4,1,"ng-container",0),ve(1,"async"),ve(2,"async"),x(3,"app-notification")),2&i&&k("ngLet",ur(5,VDe,Me(1,1,o.isBusinessDashboard$),Me(2,3,o.isAdmin$)))},dependencies:[fC,Ln,o7,s7,c7,d7,u7,Vi],styles:[".hr-bee-yellow[_ngcontent-%COMP%]{border:.1875rem solid #F2CA03}.hr-easy-green[_ngcontent-%COMP%]{border:.1875rem solid #0DBB74;opacity:1}.hr-winnie-blue[_ngcontent-%COMP%]{border:.1875rem solid #5DB5E6}.hr-our-purple[_ngcontent-%COMP%]{border:.1875rem solid #531D87}.hr-ocean-orange[_ngcontent-%COMP%]{border:.1875rem solid #F27405}[_nghost-%COMP%]{display:block}.btn-dark[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]{color:#0dbb74}  .mat-form-field-appearance-outline{border-radius:30%!important;opacity:.8!important}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.size-full[_ngcontent-%COMP%]{width:100%;height:100%}.center-child-items[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.left_side_round[_ngcontent-%COMP%]{border-radius:3.125rem 0rem 0rem 3.125rem}.right_side_round[_ngcontent-%COMP%]{border-radius:0rem 3.125rem 3.125rem 0rem}.width_100[_ngcontent-%COMP%]{width:6.25rem}.card-size[_ngcontent-%COMP%]{box-shadow:none!important}.space-right[_ngcontent-%COMP%]{margin-right:2em}.space-left[_ngcontent-%COMP%]{margin-left:2em}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-solid[_ngcontent-%COMP%]{border-style:solid}.center-content[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:right;justify-content:center}.set-child-max-width-flex[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;flex-grow:1}.background-easy-green[_ngcontent-%COMP%]{background-color:#0dbb74}.background-winnie-blue[_ngcontent-%COMP%]{background-color:#5db5e6}.background-ocean-orange[_ngcontent-%COMP%]{background-color:#f27405}.background-fire-engine-red[_ngcontent-%COMP%]{background-color:#f10200}.border-easy-green[_ngcontent-%COMP%]{border-color:#0dbb74}.border-winnie-blue[_ngcontent-%COMP%]{border-color:#5db5e6}.border-ocean-orange[_ngcontent-%COMP%]{border-color:#f27405}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.text-white[_ngcontent-%COMP%]{color:#ececec}.text-winnie-blue[_ngcontent-%COMP%]{color:#5db5e6}.text-ocean-orange[_ngcontent-%COMP%]{color:#f27405}.text-easy-green[_ngcontent-%COMP%]{color:#0dbb74}.h-full[_ngcontent-%COMP%]{height:100%}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 490px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:122px;height:107px;content:url(/assets/buygiftcardimgweb.png)}}@media (max-width: 667px){.container[_ngcontent-%COMP%]{margin-top:1.75rem}.gift-image[_ngcontent-%COMP%]{width:65px;height:56px;content:url(/assets/buygiftcardimgmobile.png)}}.form-control[_ngcontent-%COMP%]{border-radius:.5rem!important}.form-element[_ngcontent-%COMP%]{display:block;width:100%}.form-element[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:2rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.font-bold[_ngcontent-%COMP%]{font-weight:700}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.p-8[_ngcontent-%COMP%]{padding:2rem}","[_nghost-%COMP%]{display:block}"]})}return t})();function HDe(t,n){1&t&&h(0),2&t&&ce(" of ",S(3).pagedList.total," ")}
1function jDe(t,n){if(1&t&&(h(0),T(1,HDe,1,1)),2&t){const e=S(2);dr(" Showing ",e.from()," to ",e.to()," "),b(1),U(1,e.showTotal?1:-1)}}function $De(t,n){1&t&&h(0," No results ")}const nk=t=>({disabled:t});function UDe(t,n){if(1&t){const e=Ne();c(0,"li",3)(1,"a",4),V("click",function(){const r=re(e).$implicit;return se(S(2).page(r))}),h(2),d()()}if(2&t){const e=n.$implicit,i=S(2);b(1),k("ngClass",di(2,nk,i.isCurrent(e))),b(1),pe(e/i.pagedList.take+1)}}function WDe(t,n){if(1&t){const e=Ne();c(0,"div",0),T(1,jDe,2,3)(2,$De,1,0),d(),c(3,"div",1)(4,"ul",2)(5,"li",3)(6,"a",4),V("click",function(){return re(e),se(S().previous())}),h(7,"Previous"),d()(),T(8,UDe,3,4,"li",5),c(9,"li",3)(10,"a",4),V("click",function(){return re(e),se(S().next())}),h(11,"Next"),d()()()()}if(2&t){const e=S();b(1),U(1,e.pagedList.total?1:2),b(5),k("ngClass",di(4,nk,!e.isPrevious())),b(2),k("ngForOf",e.pages()),b(2),k("ngClass",di(6,nk,!e.isNext()))}}let GDe=(()=>{class t{constructor(e,i){this.router=e,this.activatedRoute=i,this.showTotal=!0,this.skip=new E}next(){this.pagedList&&this.page(this.pagedList.skip+this.pagedList.take)}previous(){this.pagedList&&this.page(this.pagedList.skip-this.pagedList.take<0?0:this.pagedList.skip-this.pagedList.take)}page(e){this.skip.observed?this.skip.emit(e):this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:{skip:e},queryParamsHandling:"merge",state:{scrollToTop:!1}})}isPrevious(){return 0!=this.pagedList?.skip}isNext(){return!!this.pagedList&&this.pagedList.skip+this.pagedList.take<this.pagedList.total}from(){return this.pagedList&&this.pagedList.total?this.pagedList.skip+1:0}to(){return this.pagedList?this.pagedList.skip+this.pagedList.take>this.pagedList.total?this.pagedList.total:this.pagedList.skip+this.pagedList.take:0}isCurrent(e){return!!this.pagedList&&e===this.pagedList.skip}pages(){if(!this.pagedList)return[];var i,o,e=[];for(o=this.pagedList.skip,i=0;o-this.pagedList.take>=0&&i<4;)e.unshift(o-=this.pagedList.take),i++;for(e.push(this.pagedList.skip),o=this.pagedList.skip,i=0;o+this.pagedList.take<this.pagedList.total&&i<4;)e.push(o+=this.pagedList.take),i++;return e}static#e=this.\u0275fac=function(i){return new(i||t)(v(Pt),v($i))};static#t=this.\u0275cmp=O({type:t,selectors:[["app-pagination-buttons"]],inputs:{pagedList:"pagedList",showTotal:"showTotal"},outputs:{skip:"skip"},standalone:!0,features:[z],decls:1,vars:1,consts:[[1,"col-lg-12","center-child-items","pb-3"],[1,"col-lg-12","center-child-items"],[1,"pagination"],[1,"page-item"],[1,"page-link",3,"ngClass","click"],["class","page-item",4,"ngFor","ngForOf"]],template:function(i,o){1&i&&T(0,WDe,12,8),2&i&&U(0,o.pagedList?0:-1)},dependencies:[ne,Ti,th],styles:[".page-link[_ngcontent-%COMP%]{cursor:pointer;color:#000}"]})}return t})();function qDe(){return localStorage.getItem("jwt")}let YDe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Re({type:t,bootstrap:[zDe]});static#i=this.\u0275inj=Oe({providers:[{provide:C5,useValue:{appearance:"outline"}},sm,X8,yd,{provide:Df,useFactory:e=>()=>e.loadAppConfig(),deps:[ii],multi:!0}],imports:[jue.forRoot(),cP,Bg,Tne,zJ,Qne,Qde,UMe,Qr,rQ,Dt,ne,cw,mle,use,jR,yre,MR,r4,VR,jie,FR,Vg,Zne,eoe,Kte,zR,lie,Ote,_se,UR,SX,Ii,Ob,o7,s7,zde.forRoot({config:{tokenGetter:qDe,allowedDomains:["api.mentwell.com.au","localhost:5001","api.sandbox.mentwell.com.au"],disallowedRoutes:[]}}),Lie,GDe,j2,c7,d7,u7]})}return t})();jZ().bootstrapModule(YDe).catch(t=>console.error(t))}},Vb=>{Vb(Vb.s=58)}]);

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.