var ek=Object.create;var lu=Object.defineProperty,tk=Object.defineProperties,nk=Object.getOwnPropertyDescriptor,ik=Object.getOwnPropertyDescriptors,ok=Object.getOwnPropertyNames,au=Object.getOwnPropertySymbols,rk=Object.getPrototypeOf,eg=Object.prototype.hasOwnProperty,F1=Object.prototype.propertyIsEnumerable;var N1=(t,i,e)=>i in t?lu(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,k=(t,i)=>{for(var e in i||={})eg.call(i,e)&&N1(t,e,i[e]);if(au)for(var e of au(i))F1.call(i,e)&&N1(t,e,i[e]);return t},Ce=(t,i)=>tk(t,ik(i));var L1=(t,i)=>{var e={};for(var n in t)eg.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&au)for(var n of au(t))i.indexOf(n)<0&&F1.call(t,n)&&(e[n]=t[n]);return e};var sk=(t,i)=>()=>(i||t((i={exports:{}}).exports,i),i.exports),kne=(t,i)=>{for(var e in i)lu(t,e,{get:i[e],enumerable:!0})},ak=(t,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of ok(i))!eg.call(t,o)&&o!==e&&lu(t,o,{get:()=>i[o],enumerable:!(n=nk(i,o))||n.enumerable});return t};var lk=(t,i,e)=>(e=t!=null?ek(rk(t)):{},ak(i||!t||!t.__esModule?lu(e,"default",{value:t,enumerable:!0}):e,t));var Lo=(t,i,e)=>new Promise((n,o)=>{var r=l=>{try{a(e.next(l))}catch(c){o(c)}},s=l=>{try{a(e.throw(l))}catch(c){o(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(r,s);a((e=e.apply(t,i)).next())});var qM=sk(Ie=>{"use strict";var Ee={};Ee[Ie.ACCEPTED=202]="Accepted";Ee[Ie.BAD_GATEWAY=502]="Bad Gateway";Ee[Ie.BAD_REQUEST=400]="Bad Request";Ee[Ie.CONFLICT=409]="Conflict";Ee[Ie.CONTINUE=100]="Continue";Ee[Ie.CREATED=201]="Created";Ee[Ie.EXPECTATION_FAILED=417]="Expectation Failed";Ee[Ie.FAILED_DEPENDENCY=424]="Failed Dependency";Ee[Ie.FORBIDDEN=403]="Forbidden";Ee[Ie.GATEWAY_TIMEOUT=504]="Gateway Timeout";Ee[Ie.GONE=410]="Gone";Ee[Ie.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP Version Not Supported";Ee[Ie.IM_A_TEAPOT=418]="I'm a teapot";Ee[Ie.INSUFFICIENT_SPACE_ON_RESOURCE=419]="Insufficient Space on Resource";Ee[Ie.INSUFFICIENT_STORAGE=507]="Insufficient Storage";Ee[Ie.INTERNAL_SERVER_ERROR=500]="Server Error";Ee[Ie.LENGTH_REQUIRED=411]="Length Required";Ee[Ie.LOCKED=423]="Locked";Ee[Ie.METHOD_FAILURE=420]="Method Failure";Ee[Ie.METHOD_NOT_ALLOWED=405]="Method Not Allowed";Ee[Ie.MOVED_PERMANENTLY=301]="Moved Permanently";Ee[Ie.MOVED_TEMPORARILY=302]="Moved Temporarily";Ee[Ie.MULTI_STATUS=207]="Multi-Status";Ee[Ie.MULTIPLE_CHOICES=300]="Multiple Choices";Ee[Ie.NETWORK_AUTHENTICATION_REQUIRED=511]="Network Authentication Required";Ee[Ie.NO_CONTENT=204]="No Content";Ee[Ie.NON_AUTHORITATIVE_INFORMATION=203]="Non Authoritative Information";Ee[Ie.NOT_ACCEPTABLE=406]="Not Acceptable";Ee[Ie.NOT_FOUND=404]="Not Found";Ee[Ie.NOT_IMPLEMENTED=501]="Not Implemented";Ee[Ie.NOT_MODIFIED=304]="Not Modified";Ee[Ie.OK=200]="OK";Ee[Ie.PARTIAL_CONTENT=206]="Partial Content";Ee[Ie.PAYMENT_REQUIRED=402]="Payment Required";Ee[Ie.PERMANENT_REDIRECT=308]="Permanent Redirect";Ee[Ie.PRECONDITION_FAILED=412]="Precondition Failed";Ee[Ie.PRECONDITION_REQUIRED=428]="Precondition Required";Ee[Ie.PROCESSING=102]="Processing";Ee[Ie.PROXY_AUTHENTICATION_REQUIRED=407]="Proxy Authentication Required";Ee[Ie.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="Request Header Fields Too Large";Ee[Ie.REQUEST_TIMEOUT=408]="Request Timeout";Ee[Ie.REQUEST_TOO_LONG=413]="Request Entity Too Large";Ee[Ie.REQUEST_URI_TOO_LONG=414]="Request-URI Too Long";Ee[Ie.REQUESTED_RANGE_NOT_SATISFIABLE=416]="Requested Range Not Satisfiable";Ee[Ie.RESET_CONTENT=205]="Reset Content";Ee[Ie.SEE_OTHER=303]="See Other";Ee[Ie.SERVICE_UNAVAILABLE=503]="Service Unavailable";Ee[Ie.SWITCHING_PROTOCOLS=101]="Switching Protocols";Ee[Ie.TEMPORARY_REDIRECT=307]="Temporary Redirect";Ee[Ie.TOO_MANY_REQUESTS=429]="Too Many Requests";Ee[Ie.UNAUTHORIZED=401]="Unauthorized";Ee[Ie.UNPROCESSABLE_ENTITY=422]="Unprocessable Entity";Ee[Ie.UNSUPPORTED_MEDIA_TYPE=415]="Unsupported Media Type";Ee[Ie.USE_PROXY=305]="Use Proxy";Ie.getStatusText=function(t){if(Ee.hasOwnProperty(t))return Ee[t];throw new Error("Status code does not exist: "+t)};Ie.getStatusCode=function(t){for(key in Ee)if(Ee[key]===t)return parseInt(key,10);throw new Error("Reason phrase does not exist: "+t)}});function B1(t,i){return Object.is(t,i)}var nn=null,cu=!1,ig=1,An=Symbol("SIGNAL");function Je(t){let i=nn;return nn=t,i}function j1(){return nn}var aa={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nc(t){if(cu)throw new Error("");if(nn===null)return;nn.consumerOnSignalRead(t);let i=nn.nextProducerIndex++;if(fu(nn),it.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function pu(t){fu(t);for(let i=0;i0}function fu(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function G1(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function W1(t){return t.producerNode!==void 0}function og(t,i){let e=Object.create(uk);e.computation=t,i!==void 0&&(e.equal=i);let n=()=>{if($1(e),nc(e),e.value===du)throw e.error;return e.value};return n[An]=e,n}var tg=Symbol("UNSET"),ng=Symbol("COMPUTING"),du=Symbol("ERRORED"),uk=Ce(k({},aa),{value:tg,dirty:!0,error:null,equal:B1,kind:"computed",producerMustRecompute(t){return t.value===tg||t.value===ng},producerRecomputeValue(t){if(t.value===ng)throw new Error("Detected cycle in computations.");let i=t.value;t.value=ng;let e=ic(t),n,o=!1;try{n=t.computation(),Je(null),o=i!==tg&&i!==du&&n!==du&&t.equal(i,n)}catch(r){n=du,t.error=r}finally{uu(t,e)}if(o){t.value=i;return}t.value=n,t.version++}});function pk(){throw new Error}var q1=pk;function K1(t){q1(t)}function Q1(t){q1=t}var hk=null;function Y1(t,i){let e=Object.create(rg);e.value=t,i!==void 0&&(e.equal=i);let n=()=>(nc(e),e.value);return n[An]=e,n}function rc(t,i){z1()||K1(t),t.equal(t.value,i)||(t.value=i,fk(t))}function Z1(t,i){z1()||K1(t),rc(t,i(t.value))}var rg=Ce(k({},aa),{equal:B1,value:void 0,kind:"signal"});function fk(t){t.version++,ck(),H1(t),hk?.()}function J1(t){let i=Je(null);try{return t()}finally{Je(i)}}var sg;function sc(){return sg}function Vo(t){let i=sg;return sg=t,i}var ag=Symbol("NotFound");function Re(t){return typeof t=="function"}function la(t){let e=t(n=>{Error.call(n),n.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var mu=la(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: ${e.map((n,o)=>`${o+1}) ${n.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=e});function is(t,i){if(t){let e=t.indexOf(i);0<=e&&t.splice(e,1)}}var rt=class t{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:n}=this;if(Re(n))try{n()}catch(r){i=r instanceof mu?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{X1(r)}catch(s){i=i??[],s instanceof mu?i=[...i,...s.errors]:i.push(s)}}if(i)throw new mu(i)}}add(i){var e;if(i&&i!==this)if(this.closed)X1(i);else{if(i instanceof t){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&is(e,i)}remove(i){let{_finalizers:e}=this;e&&is(e,i),i instanceof t&&i._removeParent(this)}};rt.EMPTY=(()=>{let t=new rt;return t.closed=!0,t})();var lg=rt.EMPTY;function gu(t){return t instanceof rt||t&&"closed"in t&&Re(t.remove)&&Re(t.add)&&Re(t.unsubscribe)}function X1(t){Re(t)?t():t.unsubscribe()}var $i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ca={setTimeout(t,i,...e){let{delegate:n}=ca;return n?.setTimeout?n.setTimeout(t,i,...e):setTimeout(t,i,...e)},clearTimeout(t){let{delegate:i}=ca;return(i?.clearTimeout||clearTimeout)(t)},delegate:void 0};function _u(t){ca.setTimeout(()=>{let{onUnhandledError:i}=$i;if(i)i(t);else throw t})}function Nn(){}var eC=cg("C",void 0,void 0);function tC(t){return cg("E",void 0,t)}function nC(t){return cg("N",t,void 0)}function cg(t,i,e){return{kind:t,value:i,error:e}}var os=null;function da(t){if($i.useDeprecatedSynchronousErrorHandling){let i=!os;if(i&&(os={errorThrown:!1,error:null}),t(),i){let{errorThrown:e,error:n}=os;if(os=null,e)throw n}}else t()}function iC(t){$i.useDeprecatedSynchronousErrorHandling&&os&&(os.errorThrown=!0,os.error=t)}var rs=class extends rt{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,gu(i)&&i.add(this)):this.destination=_k}static create(i,e,n){return new Bo(i,e,n)}next(i){this.isStopped?ug(nC(i),this):this._next(i)}error(i){this.isStopped?ug(tC(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?ug(eC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},mk=Function.prototype.bind;function dg(t,i){return mk.call(t,i)}var pg=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(n){yu(n)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(n){yu(n)}else yu(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){yu(e)}}},Bo=class extends rs{constructor(i,e,n){super();let o;if(Re(i)||!i)o={next:i??void 0,error:e??void 0,complete:n??void 0};else{let r;this&&$i.useDeprecatedNextContext?(r=Object.create(i),r.unsubscribe=()=>this.unsubscribe(),o={next:i.next&&dg(i.next,r),error:i.error&&dg(i.error,r),complete:i.complete&&dg(i.complete,r)}):o=i}this.destination=new pg(o)}};function yu(t){$i.useDeprecatedSynchronousErrorHandling?iC(t):_u(t)}function gk(t){throw t}function ug(t,i){let{onStoppedNotification:e}=$i;e&&ca.setTimeout(()=>e(t,i))}var _k={closed:!0,next:Nn,error:gk,complete:Nn};var ua=typeof Symbol=="function"&&Symbol.observable||"@@observable";function bn(t){return t}function hg(...t){return fg(t)}function fg(t){return t.length===0?bn:t.length===1?t[0]:function(e){return t.reduce((n,o)=>o(n),e)}}var Te=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let n=new t;return n.source=this,n.operator=e,n}subscribe(e,n,o){let r=vk(e)?e:new Bo(e,n,o);return da(()=>{let{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(n){e.error(n)}}forEach(e,n){return n=oC(n),new n((o,r)=>{let s=new Bo({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)}[ua](){return this}pipe(...e){return fg(e)(this)}toPromise(e){return e=oC(e),new e((n,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>n(r))})}}return t.create=i=>new t(i),t})();function oC(t){var i;return(i=t??$i.Promise)!==null&&i!==void 0?i:Promise}function yk(t){return t&&Re(t.next)&&Re(t.error)&&Re(t.complete)}function vk(t){return t&&t instanceof rs||yk(t)&&gu(t)}function mg(t){return Re(t?.lift)}function _e(t){return i=>{if(mg(i))return i.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function me(t,i,e,n,o){return new gg(t,i,e,n,o)}var gg=class extends rs{constructor(i,e,n,o,r,s){super(i),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){i.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){i.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){i.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function pa(){return _e((t,i)=>{let e=null;t._refCount++;let n=me(i,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),i.unsubscribe()});t.subscribe(n),n.closed||(e=t.connect())})}var ha=class extends Te{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,mg(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new rt;let e=this.getSubject();i.add(this.source.subscribe(me(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),i.closed&&(this._connection=null,i=rt.EMPTY)}return i}refCount(){return pa()(this)}};var fa={schedule(t){let i=requestAnimationFrame,e=cancelAnimationFrame,{delegate:n}=fa;n&&(i=n.requestAnimationFrame,e=n.cancelAnimationFrame);let o=i(r=>{e=void 0,t(r)});return new rt(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:i}=fa;return(i?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:i}=fa;return(i?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var rC=la(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class t extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let n=new vu(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new rC}next(e){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(e)}})}error(e){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){da(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((e=this.observers)===null||e===void 0?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){let{hasError:n,isStopped:o,observers:r}=this;return n||o?lg:(this.currentObservers=null,r.push(e),new rt(()=>{this.currentObservers=null,is(r,e)}))}_checkFinalizedStatuses(e){let{hasError:n,thrownError:o,isStopped:r}=this;n?e.error(o):r&&e.complete()}asObservable(){let e=new Te;return e.source=this,e}}return t.create=(i,e)=>new vu(i,e),t})(),vu=class extends K{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.next)===null||n===void 0||n.call(e,i)}error(i){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.error)===null||n===void 0||n.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,n;return(n=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&n!==void 0?n:lg}};var Ft=class extends K{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:n}=this;if(i)throw e;return this._throwIfClosed(),n}next(i){super.next(this._value=i)}};var ac={now(){return(ac.delegate||Date).now()},delegate:void 0};var bu=class extends K{constructor(i=1/0,e=1/0,n=ac){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(n.push(i),!o&&n.push(r.now()+s)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let s=0;s0?super.requestAsyncId(i,e,n):(i.actions.push(this),i._scheduled||(i._scheduled=fa.requestAnimationFrame(()=>i.flush(void 0))))}recycleAsyncId(i,e,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(i,e,n);let{actions:r}=i;e!=null&&e===i._scheduled&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(fa.cancelAnimationFrame(e),i._scheduled=void 0)}};var xu=class extends _a{flush(i){this._active=!0;let e;i?e=i.id:(e=this._scheduled,this._scheduled=void 0);let{actions:n}=this,o;i=i||n.shift();do if(o=i.execute(i.state,i.delay))break;while((i=n[0])&&i.id===e&&n.shift());if(this._active=!1,o){for(;(i=n[0])&&i.id===e&&n.shift();)i.unsubscribe();throw o}}};var Eu=new xu(wu);var ft=new Te(t=>t.complete());function Iu(t){return t&&Re(t.schedule)}function _g(t){return t[t.length-1]}function _r(t){return Re(_g(t))?t.pop():void 0}function ho(t){return Iu(_g(t))?t.pop():void 0}function aC(t,i){return typeof _g(t)=="number"?t.pop():i}function cC(t,i,e,n){function o(r){return r instanceof e?r:new e(function(s){s(r)})}return new(e||(e=Promise))(function(r,s){function a(p){try{c(n.next(p))}catch(g){s(g)}}function l(p){try{c(n.throw(p))}catch(g){s(g)}}function c(p){p.done?r(p.value):o(p.value).then(a,l)}c((n=n.apply(t,i||[])).next())})}function lC(t){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&t[i],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function ss(t){return this instanceof ss?(this.v=t,this):new ss(t)}function dC(t,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,i||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(y){return function(x){return Promise.resolve(x).then(y,g)}}function a(y,x){n[y]&&(o[y]=function(P){return new Promise(function(j,q){r.push([y,P,j,q])>1||l(y,P)})},x&&(o[y]=x(o[y])))}function l(y,x){try{c(n[y](x))}catch(P){v(r[0][3],P)}}function c(y){y.value instanceof ss?Promise.resolve(y.value.v).then(p,g):v(r[0][2],y)}function p(y){l("next",y)}function g(y){l("throw",y)}function v(y,x){y(x),r.shift(),r.length&&l(r[0][0],r[0][1])}}function uC(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t[Symbol.asyncIterator],e;return i?i.call(t):(t=typeof lC=="function"?lC(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){s=t[r](s),o(a,l,s.done,s.value)})}}function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}}var ya=t=>t&&typeof t.length=="number"&&typeof t!="function";function Su(t){return Re(t?.then)}function Tu(t){return Re(t[ua])}function Du(t){return Symbol.asyncIterator&&Re(t?.[Symbol.asyncIterator])}function Ou(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bk(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mu=bk();function Ru(t){return Re(t?.[Mu])}function Pu(t){return dC(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:n,done:o}=yield ss(e.read());if(o)return yield ss(void 0);yield yield ss(n)}}finally{e.releaseLock()}})}function ku(t){return Re(t?.getReader)}function Ve(t){if(t instanceof Te)return t;if(t!=null){if(Tu(t))return Ck(t);if(ya(t))return wk(t);if(Su(t))return xk(t);if(Du(t))return pC(t);if(Ru(t))return Ek(t);if(ku(t))return Ik(t)}throw Ou(t)}function Ck(t){return new Te(i=>{let e=t[ua]();if(Re(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wk(t){return new Te(i=>{for(let e=0;e{t.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,_u)})}function Ek(t){return new Te(i=>{for(let e of t)if(i.next(e),i.closed)return;i.complete()})}function pC(t){return new Te(i=>{Sk(t,i).catch(e=>i.error(e))})}function Ik(t){return pC(Pu(t))}function Sk(t,i){var e,n,o,r;return cC(this,void 0,void 0,function*(){try{for(e=uC(t);n=yield e.next(),!n.done;){let s=n.value;if(i.next(s),i.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}i.complete()})}function qn(t,i,e,n=0,o=!1){let r=i.schedule(function(){e(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(r),!o)return r}function Au(t,i=0){return _e((e,n)=>{e.subscribe(me(n,o=>qn(n,t,()=>n.next(o),i),()=>qn(n,t,()=>n.complete(),i),o=>qn(n,t,()=>n.error(o),i)))})}function Nu(t,i=0){return _e((e,n)=>{n.add(t.schedule(()=>e.subscribe(n),i))})}function hC(t,i){return Ve(t).pipe(Nu(i),Au(i))}function fC(t,i){return Ve(t).pipe(Nu(i),Au(i))}function mC(t,i){return new Te(e=>{let n=0;return i.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function gC(t,i){return new Te(e=>{let n;return qn(e,i,()=>{n=t[Mu](),qn(e,i,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(s){e.error(s);return}r?e.complete():e.next(o)},0,!0)}),()=>Re(n?.return)&&n.return()})}function Fu(t,i){if(!t)throw new Error("Iterable cannot be null");return new Te(e=>{qn(e,i,()=>{let n=t[Symbol.asyncIterator]();qn(e,i,()=>{n.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function _C(t,i){return Fu(Pu(t),i)}function yC(t,i){if(t!=null){if(Tu(t))return hC(t,i);if(ya(t))return mC(t,i);if(Su(t))return fC(t,i);if(Du(t))return Fu(t,i);if(Ru(t))return gC(t,i);if(ku(t))return _C(t,i)}throw Ou(t)}function Pe(t,i){return i?yC(t,i):Ve(t)}function Y(...t){let i=ho(t);return Pe(t,i)}function va(t,i){let e=Re(t)?t:()=>t,n=o=>o.error(e());return new Te(i?o=>i.schedule(n,0,o):n)}function fo(t){return!!t&&(t instanceof Te||Re(t.lift)&&Re(t.subscribe))}var $o=la(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function vC(t){return t instanceof Date&&!isNaN(t)}function z(t,i){return _e((e,n)=>{let o=0;e.subscribe(me(n,r=>{n.next(t.call(i,r,o++))}))})}var{isArray:Tk}=Array;function Dk(t,i){return Tk(i)?t(...i):t(i)}function ba(t){return z(i=>Dk(t,i))}var{isArray:Ok}=Array,{getPrototypeOf:Mk,prototype:Rk,keys:Pk}=Object;function Lu(t){if(t.length===1){let i=t[0];if(Ok(i))return{args:i,keys:null};if(kk(i)){let e=Pk(i);return{args:e.map(n=>i[n]),keys:e}}}return{args:t,keys:null}}function kk(t){return t&&typeof t=="object"&&Mk(t)===Rk}function Vu(t,i){return t.reduce((e,n,o)=>(e[n]=i[o],e),{})}function Kn(...t){let i=ho(t),e=_r(t),{args:n,keys:o}=Lu(t);if(n.length===0)return Pe([],i);let r=new Te(Ak(n,i,o?s=>Vu(o,s):bn));return e?r.pipe(ba(e)):r}function Ak(t,i,e=bn){return n=>{bC(i,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let l=0;l{let c=Pe(t[l],i),p=!1;c.subscribe(me(n,g=>{r[l]=g,p||(p=!0,a--),a||n.next(e(r.slice()))},()=>{--s||n.complete()}))},n)},n)}}function bC(t,i,e){t?qn(e,t,i):i()}function Bu(t,i,e,n,o,r,s,a){let l=[],c=0,p=0,g=!1,v=()=>{g&&!l.length&&!c&&i.complete()},y=P=>c{r&&i.next(P),c++;let j=!1;Ve(e(P,p++)).subscribe(me(i,q=>{o?.(q),r?y(q):i.next(q)},()=>{j=!0},void 0,()=>{if(j)try{for(c--;l.length&&cx(q)):x(q)}v()}catch(q){i.error(q)}}))};return t.subscribe(me(i,y,()=>{g=!0,v()})),()=>{a?.()}}function pe(t,i,e=1/0){return Re(i)?pe((n,o)=>z((r,s)=>i(n,r,o,s))(Ve(t(n,o))),e):(typeof i=="number"&&(e=i),_e((n,o)=>Bu(n,o,t,e)))}function yr(t=1/0){return pe(bn,t)}function CC(){return yr(1)}function Fn(...t){return CC()(Pe(t,ho(t)))}function Ho(t){return new Te(i=>{Ve(t()).subscribe(i)})}function as(...t){let i=_r(t),{args:e,keys:n}=Lu(t),o=new Te(r=>{let{length:s}=e;if(!s){r.complete();return}let a=new Array(s),l=s,c=s;for(let p=0;p{g||(g=!0,c--),a[p]=v},()=>l--,void 0,()=>{(!l||!g)&&(c||r.next(n?Vu(n,a):a),r.complete())}))}});return i?o.pipe(ba(i)):o}var Nk=["addListener","removeListener"],Fk=["addEventListener","removeEventListener"],Lk=["on","off"];function Ut(t,i,e,n){if(Re(e)&&(n=e,e=void 0),n)return Ut(t,i,e).pipe(ba(n));let[o,r]=jk(t)?Fk.map(s=>a=>t[s](i,a,e)):Vk(t)?Nk.map(wC(t,i)):Bk(t)?Lk.map(wC(t,i)):[];if(!o&&ya(t))return pe(s=>Ut(s,i,e))(Ve(t));if(!o)throw new TypeError("Invalid event target");return new Te(s=>{let a=(...l)=>s.next(1r(a)})}function wC(t,i){return e=>n=>t[e](i,n)}function Vk(t){return Re(t.addListener)&&Re(t.removeListener)}function Bk(t){return Re(t.on)&&Re(t.off)}function jk(t){return Re(t.addEventListener)&&Re(t.removeEventListener)}function zo(t=0,i,e=sC){let n=-1;return i!=null&&(Iu(i)?e=i:n=i),new Te(o=>{let r=vC(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},r)})}function mo(...t){let i=ho(t),e=aC(t,1/0),n=t;return n.length?n.length===1?Ve(n[0]):yr(e)(Pe(n,i)):ft}var xC=new Te(Nn);var{isArray:$k}=Array;function ju(t){return t.length===1&&$k(t[0])?t[0]:t}function de(t,i){return _e((e,n)=>{let o=0;e.subscribe(me(n,r=>t.call(i,r,o++)&&n.next(r)))})}function yg(...t){return t=ju(t),t.length===1?Ve(t[0]):new Te(Hk(t))}function Hk(t){return i=>{let e=[];for(let n=0;e&&!i.closed&&n{if(e){for(let r=0;r{let o=e.map(()=>[]),r=e.map(()=>!1);n.add(()=>{o=r=null});for(let s=0;!n.closed&&s{if(o[s].push(a),o.every(l=>l.length)){let l=o.map(c=>c.shift());n.next(i?i(...l):l),o.some((c,p)=>!c.length&&r[p])&&n.complete()}},()=>{r[s]=!0,!o[s].length&&n.complete()}));return()=>{o=r=null}}):ft}function EC(t){return _e((i,e)=>{let n=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,n){n=!1;let c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};i.subscribe(me(e,c=>{n=!0,o=c,r||Ve(t(c)).subscribe(r=me(e,a,l))},()=>{s=!0,(!n||!r||r.closed)&&e.complete()}))})}function $u(t,i=jo){return EC(()=>zo(t,i))}function ct(t){return _e((i,e)=>{let n=null,o=!1,r;n=i.subscribe(me(e,void 0,void 0,s=>{r=Ve(t(s,ct(t)(i))),n?(n.unsubscribe(),n=null,r.subscribe(e)):o=!0})),o&&(n.unsubscribe(),n=null,r.subscribe(e))})}function Hu(t,i,e,n,o){return(r,s)=>{let a=e,l=i,c=0;r.subscribe(me(s,p=>{let g=c++;l=a?t(l,p,g):(a=!0,p),n&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function vg(t,i){return _e(Hu(t,i,arguments.length>=2,!1,!0))}var zk=(t,i)=>(t.push(i),t);function ii(){return _e((t,i)=>{vg(zk,[])(t).subscribe(i)})}function Hi(t,i){return Re(i)?pe(t,i,1):pe(t,1)}function mt(t,i=jo){return _e((e,n)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=r;r=null,n.next(c)}};function l(){let c=s+t,p=i.now();if(p{r=c,s=i.now(),o||(o=i.schedule(l,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{r=o=null}))})}function zi(t){return _e((i,e)=>{let n=!1;i.subscribe(me(e,o=>{n=!0,e.next(o)},()=>{n||e.next(t),e.complete()}))})}function xt(t){return t<=0?()=>ft:_e((i,e)=>{let n=0;i.subscribe(me(e,o=>{++n<=t&&(e.next(o),t<=n&&e.complete())}))})}function IC(){return _e((t,i)=>{t.subscribe(me(i,Nn))})}function SC(t){return z(()=>t)}function bg(t,i){return i?e=>Fn(i.pipe(xt(1),IC()),e.pipe(bg(t))):pe((e,n)=>Ve(t(e,n)).pipe(xt(1),SC(e)))}function cc(t,i=jo){let e=zo(t,i);return bg(()=>e)}function Uk(t,i){return _e((e,n)=>{let o=new Set;e.subscribe(me(n,r=>{let s=t?t(r):r;o.has(s)||(o.add(s),n.next(r))})),i&&Ve(i).subscribe(me(n,()=>o.clear(),Nn))})}function vr(t,i=bn){return t=t??Gk,_e((e,n)=>{let o,r=!0;e.subscribe(me(n,s=>{let a=i(s);(r||!t(o,a))&&(r=!1,o=a,n.next(s))}))})}function Gk(t,i){return t===i}function dc(t=Wk){return _e((i,e)=>{let n=!1;i.subscribe(me(e,o=>{n=!0,e.next(o)},()=>n?e.complete():e.error(t())))})}function Wk(){return new $o}function Cg(...t){return i=>Fn(i,Y(...t))}function TC(t,i){return i?e=>e.pipe(TC((n,o)=>Ve(t(n,o)).pipe(z((r,s)=>i(n,r,o,s))))):_e((e,n)=>{let o=0,r=null,s=!1;e.subscribe(me(n,a=>{r||(r=me(n,void 0,()=>{r=null,s&&n.complete()}),Ve(t(a,o++)).subscribe(r))},()=>{s=!0,!r&&n.complete()}))})}function wg(t,i=1/0,e){return i=(i||0)<1?1/0:i,_e((n,o)=>Bu(n,o,t,i,void 0,!0,e))}function oi(t){return _e((i,e)=>{try{i.subscribe(e)}finally{e.add(t)}})}function Go(t,i){let e=arguments.length>=2;return n=>n.pipe(t?de((o,r)=>t(o,r,n)):bn,xt(1),e?zi(i):dc(()=>new $o))}function Ca(t){return t<=0?()=>ft:_e((i,e)=>{let n=[];i.subscribe(me(e,o=>{n.push(o),t{for(let o of n)e.next(o);e.complete()},void 0,()=>{n=null}))})}function xg(t,i){let e=arguments.length>=2;return n=>n.pipe(t?de((o,r)=>t(o,r,n)):bn,Ca(1),e?zi(i):dc(()=>new $o))}var Eg=pe;function Ig(t,i){return _e(Hu(t,i,arguments.length>=2,!0))}function Tg(t={}){let{connector:i=()=>new K,resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,p=!1,g=!1,v=()=>{a?.unsubscribe(),a=void 0},y=()=>{v(),s=l=void 0,p=g=!1},x=()=>{let P=s;y(),P?.unsubscribe()};return _e((P,j)=>{c++,!g&&!p&&v();let q=l=l??i();j.add(()=>{c--,c===0&&!g&&!p&&(a=Sg(x,o))}),q.subscribe(j),!s&&c>0&&(s=new Bo({next:ie=>q.next(ie),error:ie=>{g=!0,v(),a=Sg(y,e,ie),q.error(ie)},complete:()=>{p=!0,v(),a=Sg(y,n),q.complete()}}),Ve(P).subscribe(s))})(r)}}function Sg(t,i,...e){if(i===!0){t();return}if(i===!1)return;let n=new Bo({next:()=>{n.unsubscribe(),t()}});return Ve(i(...e)).subscribe(n)}function go(t,i,e){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:i=1/0,refCount:o=!1,scheduler:e}=t:n=t??1/0,Tg({connector:()=>new bu(n,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function zu(t){return de((i,e)=>t<=e)}function qk(t){return _e((i,e)=>{let n=!1,o=me(e,()=>{o?.unsubscribe(),n=!0},Nn);Ve(t).subscribe(o),i.subscribe(me(e,r=>n&&e.next(r)))})}function Ln(...t){let i=ho(t);return _e((e,n)=>{(i?Fn(t,e,i):Fn(t,e)).subscribe(n)})}function He(t,i){return _e((e,n)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&n.complete();e.subscribe(me(n,l=>{o?.unsubscribe();let c=0,p=r++;Ve(t(l,p)).subscribe(o=me(n,g=>n.next(i?i(l,g,p,c++):g),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ke(t){return _e((i,e)=>{Ve(t).subscribe(me(e,()=>e.complete(),Nn)),!e.closed&&i.subscribe(e)})}function Uu(t,i=!1){return _e((e,n)=>{let o=0;e.subscribe(me(n,r=>{let s=t(r,o++);(s||i)&&n.next(r),!s&&n.complete()}))})}function be(t,i,e){let n=Re(t)||i||e?{next:t,error:i,complete:e}:t;return n?_e((o,r)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(me(r,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),r.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),r.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),r.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):bn}function DC(t,i){return _e((e,n)=>{let{leading:o=!0,trailing:r=!1}=i??{},s=!1,a=null,l=null,c=!1,p=()=>{l?.unsubscribe(),l=null,r&&(y(),c&&n.complete())},g=()=>{l=null,c&&n.complete()},v=x=>l=Ve(t(x)).subscribe(me(n,p,g)),y=()=>{if(s){s=!1;let x=a;a=null,n.next(x),!c&&v(x)}};e.subscribe(me(n,x=>{s=!0,a=x,!(l&&!l.closed)&&(o?y():v(x))},()=>{c=!0,!(r&&s&&l&&!l.closed)&&n.complete()}))})}function Kk(t,i=jo,e){let n=zo(t,i);return DC(()=>n,e)}function Gu(...t){let i=_r(t);return _e((e,n)=>{let o=t.length,r=new Array(o),s=t.map(()=>!1),a=!1;for(let l=0;l{r[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(bn))&&(s=null))},Nn));e.subscribe(me(n,l=>{if(a){let c=[l,...r];n.next(i?i(...c):c)}}))})}var Pg={JSACTION:"jsaction"},kg={JSACTION:"__jsaction",OWNER:"__owner"},PC={};function Qk(t){return t[kg.JSACTION]}function OC(t,i){t[kg.JSACTION]=i}function Yk(t){return PC[t]}function Zk(t,i){PC[t]=i}var Me={CLICK:"click",CLICKMOD:"clickmod",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",ERROR:"error",LOAD:"load",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",TOGGLE:"toggle"},Jk=[Me.MOUSEENTER,Me.MOUSELEAVE,"pointerenter","pointerleave"],due=[Me.CLICK,Me.DBLCLICK,Me.FOCUSIN,Me.FOCUSOUT,Me.KEYDOWN,Me.KEYUP,Me.KEYPRESS,Me.MOUSEOVER,Me.MOUSEOUT,Me.SUBMIT,Me.TOUCHSTART,Me.TOUCHEND,Me.TOUCHMOVE,"touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],Xk=[Me.FOCUS,Me.BLUR,Me.ERROR,Me.LOAD,Me.TOGGLE],Ag=t=>Xk.indexOf(t)>=0;function eA(t){return t===Me.MOUSEENTER?Me.MOUSEOVER:t===Me.MOUSELEAVE?Me.MOUSEOUT:t===Me.POINTERENTER?Me.POINTEROVER:t===Me.POINTERLEAVE?Me.POINTEROUT:t}function tA(t,i,e,n){let o=!1;Ag(i)&&(o=!0);let r=typeof n=="boolean"?{capture:o,passive:n}:o;return t.addEventListener(i,e,r),{eventType:i,handler:e,capture:o,passive:n}}function nA(t,i){if(t.removeEventListener){let e=typeof i.passive=="boolean"?{capture:i.capture}:i.capture;t.removeEventListener(i.eventType,i.handler,e)}else t.detachEvent&&t.detachEvent(`on${i.eventType}`,i.handler)}function iA(t){t.preventDefault?t.preventDefault():t.returnValue=!1}var MC=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);function oA(t){return t.which===2||t.which==null&&t.button===4}function rA(t){return MC&&t.metaKey||!MC&&t.ctrlKey||oA(t)||t.shiftKey}function sA(t,i,e){let n=t.relatedTarget;return(t.type===Me.MOUSEOVER&&i===Me.MOUSEENTER||t.type===Me.MOUSEOUT&&i===Me.MOUSELEAVE||t.type===Me.POINTEROVER&&i===Me.POINTERENTER||t.type===Me.POINTEROUT&&i===Me.POINTERLEAVE)&&(!n||n!==e&&!e.contains(n))}function aA(t,i){let e={};for(let n in t){if(n==="srcElement"||n==="target")continue;let o=n,r=t[o];typeof r!="function"&&(e[o]=r)}return t.type===Me.MOUSEOVER?e.type=Me.MOUSEENTER:t.type===Me.MOUSEOUT?e.type=Me.MOUSELEAVE:t.type===Me.POINTEROVER?e.type=Me.POINTERENTER:e.type=Me.POINTERLEAVE,e.target=e.srcElement=i,e.bubbles=!1,e._originalEvent=t,e}var lA=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent),Qu=class{element;handlerInfos=[];constructor(i){this.element=i}addEventListener(i,e,n){lA&&(this.element.style.cursor="pointer"),this.handlerInfos.push(tA(this.element,i,e(this.element),n))}cleanUp(){for(let i=0;i{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function yA(t,i){return t.tagName==="A"&&(i.getEventType()===Me.CLICK||i.getEventType()===Me.CLICKMOD)}var zC=Symbol.for("propagationStopped"),Fg={REPLAY:101};var vA="`preventDefault` called during event replay.";var bA="`composedPath` called during event replay.",Yu=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(i,e=!0){this.dispatchDelegate=i,this.clickModSupport=e,this.actionResolver=new Mg({clickModSupport:e}),this.dispatcher=new Rg(n=>{this.dispatchToDelegate(n)},{actionResolver:this.actionResolver})}dispatch(i){this.dispatcher.dispatch(i)}dispatchToDelegate(i){for(i.getIsReplay()&&xA(i),CA(i);i.getAction();){if(EA(i),Ag(i.getEventType())&&i.getAction().element!==i.getTargetElement()||(this.dispatchDelegate(i.getEvent(),i.getAction().name),wA(i)))return;this.actionResolver.resolveParentAction(i.eventInfo)}}};function CA(t){let i=t.getEvent(),e=t.getEvent().stopPropagation.bind(i),n=()=>{i[zC]=!0,e()};ls(i,"stopPropagation",n),ls(i,"stopImmediatePropagation",n)}function wA(t){return!!t.getEvent()[zC]}function xA(t){let i=t.getEvent(),e=t.getTargetElement(),n=i.preventDefault.bind(i);ls(i,"target",e),ls(i,"eventPhase",Fg.REPLAY),ls(i,"preventDefault",()=>{throw n(),new Error(vA+"")}),ls(i,"composedPath",()=>{throw new Error(bA+"")})}function EA(t){let i=t.getEvent(),e=t.getAction()?.element;e&&ls(i,"currentTarget",e,{configurable:!0})}function ls(t,i,e,{configurable:n=!1}={}){Object.defineProperty(t,i,{value:e,configurable:n})}function UC(t,i){t.ecrd(e=>{i.dispatch(e)},HC.I_AM_THE_JSACTION_FRAMEWORK)}function IA(t){return t?.q??[]}function SA(t){t&&(RC(t.c,t.et,t.h),RC(t.c,t.etc,t.h,!0))}function RC(t,i,e,n){for(let o=0;o{class t{static MOUSE_SPECIAL_SUPPORT=TA;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(e){this.containerManager=e}handleEvent(e,n,o){let r=fA(e,n,n.target,o,Date.now());this.handleEventInfo(r)}handleEventInfo(e){if(!this.dispatcher){VC(e,!0),this.queuedEventInfos?.push(e);return}this.dispatcher(e)}addEvent(e,n,o){if(e in this.eventHandlers||!this.containerManager||!t.MOUSE_SPECIAL_SUPPORT&&Jk.indexOf(e)>=0)return;let r=(a,l,c)=>{this.handleEvent(a,l,c)};this.eventHandlers[e]=r;let s=eA(n||e);if(s!==e){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(e),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>l=>{r(e,l,a)},o)}replayEarlyEvents(e=window._ejsa){e&&(this.replayEarlyEventInfos(e.q),SA(e),delete window._ejsa)}replayEarlyEventInfos(e){for(let n=0;n{let n=DA(i);function o(...r){if(this instanceof o)return n.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(l,c,p){let g=l.hasOwnProperty(Zu)?l[Zu]:Object.defineProperty(l,Zu,{value:[]})[Zu];for(;g.length<=p;)g.push(null);return(g[p]=g[p]||[]).push(s),l}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Cn=globalThis;function St(t){for(let i in t)if(t[i]===St)return i;throw Error("Could not find renamed property on target object.")}function OA(t,i){for(let e in i)i.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=i[e])}function Zn(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Zn).join(", ")}]`;if(t==null)return""+t;let i=t.overriddenName||t.name;if(i)return`${i}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` `);return n>=0?e.slice(0,n):e}function o0(t,i){return t?i?`${t} ${i}`:t:i||""}var MA=St({__forward_ref__:St});function st(t){return t.__forward_ref__=st,t.toString=function(){return Zn(this())},t}function wn(t){return cx(t)?t():t}function cx(t){return typeof t=="function"&&t.hasOwnProperty(MA)&&t.__forward_ref__===st}function S(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function J(t){return{providers:t.providers||[],imports:t.imports||[]}}function Wp(t){return qC(t,ux)||qC(t,px)}function dx(t){return Wp(t)!==null}function qC(t,i){return t.hasOwnProperty(i)?t[i]:null}function RA(t){let i=t&&(t[ux]||t[px]);return i||null}function KC(t){return t&&(t.hasOwnProperty(QC)||t.hasOwnProperty(PA))?t[QC]:null}var ux=St({\u0275prov:St}),QC=St({\u0275inj:St}),px=St({ngInjectableDef:St}),PA=St({ngInjectorDef:St}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=S({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hx(t){return t&&!!t.\u0275providers}var kA=St({\u0275cmp:St}),AA=St({\u0275dir:St}),NA=St({\u0275pipe:St}),FA=St({\u0275mod:St}),pp=St({\u0275fac:St}),fc=St({__NG_ELEMENT_ID__:St}),YC=St({__NG_ENV_ID__:St});function Yn(t){return typeof t=="string"?t:t==null?"":String(t)}function LA(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Yn(t)}function fx(t,i){throw new ne(-200,t)}function f_(t,i){throw new ne(-201,!1)}var et=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}(et||{}),r0;function mx(){return r0}function Qn(t){let i=r0;return r0=t,i}function gx(t,i,e){let n=Wp(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(e&et.Optional)return null;if(i!==void 0)return i;f_(t,"Injector")}var VA={},ds=VA,s0="__NG_DI_FLAG__",hp=class{injector;constructor(i){this.injector=i}retrieve(i,e){let n=e;return this.injector.get(i,n.optional?ag:ds,n)}},fp="ngTempTokenPath",BA="ngTokenPath",jA=/\n/gm,$A="\u0275",ZC="__source";function HA(t,i=et.Default){if(sc()===void 0)throw new ne(-203,!1);if(sc()===null)return gx(t,void 0,i);{let e=sc(),n;return e instanceof hp?n=e.injector:n=e,n.get(t,i&et.Optional?null:void 0,i)}}function L(t,i=et.Default){return(mx()||HA)(wn(t),i)}function C(t,i=et.Default){return L(t,qp(i))}function qp(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function a0(t){let i=[];for(let e=0;e ");else if(typeof i=="object"){let r=[];for(let s in i)if(i.hasOwnProperty(s)){let a=i[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):Zn(a)))}o=`{${r.join(", ")}}`}return`${e}${n?"("+n+")":""}[${o}]: ${t.replace(jA,` `)}`}var Kp=_x(lx("Optional"),8);var yx=_x(lx("SkipSelf"),4);function ps(t,i){let e=t.hasOwnProperty(pp);return e?t[pp]:null}function WA(t,i,e){if(t.length!==i.length)return!1;for(let n=0;nArray.isArray(e)?m_(e,i):i(e))}function vx(t,i,e){i>=t.length?t.push(e):t.splice(i,0,e)}function mp(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function KA(t,i){let e=[];for(let n=0;ni;){let r=o-2;t[o]=t[r],o--}t[i]=e,t[i+1]=n}}function Qp(t,i,e){let n=Dc(t,i);return n>=0?t[n|1]=e:(n=~n,bx(t,n,i,e)),n}function Vg(t,i){let e=Dc(t,i);if(e>=0)return t[e|1]}function Dc(t,i){return QA(t,i,1)}function QA(t,i,e){let n=0,o=t.length>>e;for(;o!==n;){let r=n+(o-n>>1),s=t[r<i?o=r:n=r+1}return~(o<{e.push(s)};return m_(i,s=>{let a=s;l0(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Ix(o,r),e}function Ix(t,i){for(let e=0;e{i(r,n)})}}function l0(t,i,e,n){if(t=wn(t),!t)return!1;let o=null,r=KC(t),s=!r&&qo(t);if(!r&&!s){let l=t.ngModule;if(r=KC(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)l0(c,i,e,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let c;try{m_(r.imports,p=>{l0(p,i,e,n)&&(c||=[],c.push(p))})}finally{}c!==void 0&&Ix(c,i)}if(!a){let c=ps(o)||(()=>new o);i({provide:o,useFactory:c,deps:Vn},o),i({provide:wx,useValue:o,multi:!0},o),i({provide:Wo,useValue:()=>L(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;y_(l,p=>{i(p,c)})}}else return!1;return o!==t&&t.providers!==void 0}function y_(t,i){for(let e of t)hx(e)&&(e=e.\u0275providers),Array.isArray(e)?y_(e,i):i(e)}var ZA=St({provide:String,useValue:St});function Sx(t){return t!==null&&typeof t=="object"&&ZA in t}function JA(t){return!!(t&&t.useExisting)}function XA(t){return!!(t&&t.useFactory)}function ka(t){return typeof t=="function"}function eN(t){return!!t.useClass}var Yp=new M(""),rp={},XC={},Bg;function Zp(){return Bg===void 0&&(Bg=new gp),Bg}var Lt=class{},_c=class extends Lt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,n,o){super(),this.parent=e,this.source=n,this.scopes=o,d0(i,s=>this.processProvider(s)),this.records.set(Cx,Ea(void 0,this)),o.has("environment")&&this.records.set(Lt,Ea(void 0,this));let r=this.records.get(Yp);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(wx,Vn,et.Self))}retrieve(i,e){let n=e;return this.get(i,n.optional?ag:ds,n)}destroy(){pc(this),this._destroyed=!0;let i=Je(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Je(i)}}onDestroy(i){return pc(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){pc(this);let e=Vo(this),n=Qn(void 0),o;try{return i()}finally{Vo(e),Qn(n)}}get(i,e=ds,n=et.Default){if(pc(this),i.hasOwnProperty(YC))return i[YC](this);n=qp(n);let o,r=Vo(this),s=Qn(void 0);try{if(!(n&et.SkipSelf)){let l=this.records.get(i);if(l===void 0){let c=rN(i)&&Wp(i);c&&this.injectableDefInScope(c)?l=Ea(c0(i),rp):l=null,this.records.set(i,l)}if(l!=null)return this.hydrate(i,l)}let a=n&et.Self?Zp():this.parent;return e=n&et.Optional&&e===ds?null:e,a.get(i,e)}catch(a){if(a.name==="NullInjectorError"){if((a[fp]=a[fp]||[]).unshift(Zn(i)),r)throw a;return UA(a,i,"R3InjectorError",this.source)}else throw a}finally{Qn(s),Vo(r)}}resolveInjectorInitializers(){let i=Je(null),e=Vo(this),n=Qn(void 0),o;try{let r=this.get(Wo,Vn,et.Self);for(let s of r)s()}finally{Vo(e),Qn(n),Je(i)}}toString(){let i=[],e=this.records;for(let n of e.keys())i.push(Zn(n));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=wn(i);let e=ka(i)?i:wn(i&&i.provide),n=nN(i);if(!ka(i)&&i.multi===!0){let o=this.records.get(e);o||(o=Ea(void 0,rp,!0),o.factory=()=>a0(o.multi),this.records.set(e,o)),e=i,o.multi.push(i)}this.records.set(e,n)}hydrate(i,e){let n=Je(null);try{return e.value===XC?fx(Zn(i)):e.value===rp&&(e.value=XC,e.value=e.factory()),typeof e.value=="object"&&e.value&&oN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Je(n)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=wn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function c0(t){let i=Wp(t),e=i!==null?i.factory:ps(t);if(e!==null)return e;if(t instanceof M)throw new ne(204,!1);if(t instanceof Function)return tN(t);throw new ne(204,!1)}function tN(t){if(t.length>0)throw new ne(204,!1);let e=RA(t);return e!==null?()=>e.factory(t):()=>new t}function nN(t){if(Sx(t))return Ea(void 0,t.useValue);{let i=Tx(t);return Ea(i,rp)}}function Tx(t,i,e){let n;if(ka(t)){let o=wn(t);return ps(o)||c0(o)}else if(Sx(t))n=()=>wn(t.useValue);else if(XA(t))n=()=>t.useFactory(...a0(t.deps||[]));else if(JA(t))n=()=>L(wn(t.useExisting));else{let o=wn(t&&(t.useClass||t.provide));if(iN(t))n=()=>new o(...a0(t.deps));else return ps(o)||c0(o)}return n}function pc(t){if(t.destroyed)throw new ne(205,!1)}function Ea(t,i,e=!1){return{factory:t,value:i,multi:e?[]:void 0}}function iN(t){return!!t.deps}function oN(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function rN(t){return typeof t=="function"||typeof t=="object"&&t instanceof M}function d0(t,i){for(let e of t)Array.isArray(e)?d0(e,i):e&&hx(e)?d0(e.\u0275providers,i):i(e)}function Xn(t,i){let e;t instanceof _c?(pc(t),e=t):e=new hp(t);let n,o=Vo(e),r=Qn(void 0);try{return i()}finally{Vo(o),Qn(r)}}function Dx(){return mx()!==void 0||sc()!=null}function Jp(t){if(!Dx())throw new ne(-203,!1)}function sN(t){let i=Cn.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function aN(t){return typeof t=="function"}var Jn=0,Ne=1,je=2,an=3,Gi=4,ei=5,Di=6,_p=7,sn=8,wr=9,Ko=10,Ct=11,yc=12,ew=13,$a=14,Bn=15,hs=16,Ia=17,Qo=18,Xp=19,Ox=20,Cr=21,jg=22,fs=23,Ti=24,Oa=25,It=26,v_=1,Yo=6,Zo=7,yp=8,Aa=9,xn=10;function Wi(t){return Array.isArray(t)&&typeof t[v_]=="object"}function Io(t){return Array.isArray(t)&&t[v_]===!0}function b_(t){return(t.flags&4)!==0}function xs(t){return t.componentOffset>-1}function eh(t){return(t.flags&1)===1}function qi(t){return!!t.template}function vc(t){return(t[je]&512)!==0}function Ha(t){return(t[je]&256)===256}var u0=class{previousValue;currentValue;firstChange;constructor(i,e,n){this.previousValue=i,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function Mx(t,i,e,n){i!==null?i.applyValueToInputSignal(i,n):t[e]=n}var Ke=(()=>{let t=()=>Rx;return t.ngInherit=!0,t})();function Rx(t){return t.type.prototype.ngOnChanges&&(t.setInput=cN),lN}function lN(){let t=kx(this),i=t?.current;if(i){let e=t.previous;if(e===yo)t.previous=i;else for(let n in i)e[n]=i[n];t.current=null,this.ngOnChanges(i)}}function cN(t,i,e,n,o){let r=this.declaredInputs[n],s=kx(t)||dN(t,{previous:yo,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new u0(c&&c.currentValue,e,l===yo),Mx(t,i,o,e)}var Px="__ngSimpleChanges__";function kx(t){return t[Px]||null}function dN(t,i){return t[Px]=i}var tw=null;var Et=function(t,i=null,e){tw?.(t,i,e)},Ax="svg",uN="math";function Ki(t){for(;Array.isArray(t);)t=t[Jn];return t}function pN(t){for(;Array.isArray(t);){if(typeof t[v_]=="object")return t;t=t[Jn]}return null}function Nx(t,i){return Ki(i[t])}function Qi(t,i){return Ki(i[t.index])}function Oc(t,i){return t.data[i]}function th(t,i){return t[i]}function vo(t,i){let e=i[t];return Wi(e)?e:e[Jn]}function hN(t){return(t[je]&4)===4}function C_(t){return(t[je]&128)===128}function fN(t){return Io(t[an])}function xr(t,i){return i==null?null:t[i]}function Fx(t){t[Ia]=0}function Lx(t){t[je]&1024||(t[je]|=1024,C_(t)&&za(t))}function mN(t,i){for(;t>0;)i=i[$a],t--;return i}function nh(t){return!!(t[je]&9216||t[Ti]?.dirty)}function p0(t){t[Ko].changeDetectionScheduler?.notify(8),t[je]&64&&(t[je]|=1024),nh(t)&&za(t)}function za(t){t[Ko].changeDetectionScheduler?.notify(0);let i=ms(t);for(;i!==null&&!(i[je]&8192||(i[je]|=8192,!C_(i)));)i=ms(i)}function Vx(t,i){if(Ha(t))throw new ne(911,!1);t[Cr]===null&&(t[Cr]=[]),t[Cr].push(i)}function gN(t,i){if(t[Cr]===null)return;let e=t[Cr].indexOf(i);e!==-1&&t[Cr].splice(e,1)}function ms(t){let i=t[an];return Io(i)?i[an]:i}function Bx(t){return t[_p]??=[]}function jx(t){return t.cleanup??=[]}function _N(t,i,e,n){let o=Bx(i);o.push(e),t.firstCreatePass&&jx(t).push(n,o.length-1)}var qe={lFrame:Gx(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var h0=!1;function yN(){return qe.lFrame.elementDepthCount}function vN(){qe.lFrame.elementDepthCount++}function bN(){qe.lFrame.elementDepthCount--}function w_(){return qe.bindingsEnabled}function Ua(){return qe.skipHydrationRootTNode!==null}function CN(t){return qe.skipHydrationRootTNode===t}function wN(t){qe.skipHydrationRootTNode=t}function xN(){qe.skipHydrationRootTNode=null}function xe(){return qe.lFrame.lView}function Bt(){return qe.lFrame.tView}function D(t){return qe.lFrame.contextLView=t,t[sn]}function O(t){return qe.lFrame.contextLView=null,t}function En(){let t=$x();for(;t!==null&&t.type===64;)t=t.parent;return t}function $x(){return qe.lFrame.currentTNode}function EN(){let t=qe.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}function Es(t,i){let e=qe.lFrame;e.currentTNode=t,e.isParent=i}function x_(){return qe.lFrame.isParent}function E_(){qe.lFrame.isParent=!1}function IN(){return qe.lFrame.contextLView}function Hx(){return h0}function vp(t){let i=h0;return h0=t,i}function Oi(){let t=qe.lFrame,i=t.bindingRootIndex;return i===-1&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function I_(){return qe.lFrame.bindingIndex}function SN(t){return qe.lFrame.bindingIndex=t}function Is(){return qe.lFrame.bindingIndex++}function Mc(t){let i=qe.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,e}function TN(){return qe.lFrame.inI18n}function DN(t,i){let e=qe.lFrame;e.bindingIndex=e.bindingRootIndex=t,f0(i)}function ON(){return qe.lFrame.currentDirectiveIndex}function f0(t){qe.lFrame.currentDirectiveIndex=t}function S_(t){let i=qe.lFrame.currentDirectiveIndex;return i===-1?null:t[i]}function T_(){return qe.lFrame.currentQueryIndex}function ih(t){qe.lFrame.currentQueryIndex=t}function MN(t){let i=t[Ne];return i.type===2?i.declTNode:i.type===1?t[ei]:null}function zx(t,i,e){if(e&et.SkipSelf){let o=i,r=t;for(;o=o.parent,o===null&&!(e&et.Host);)if(o=MN(r),o===null||(r=r[$a],o.type&10))break;if(o===null)return!1;i=o,t=r}let n=qe.lFrame=Ux();return n.currentTNode=i,n.lView=t,!0}function D_(t){let i=Ux(),e=t[Ne];qe.lFrame=i,i.currentTNode=e.firstChild,i.lView=t,i.tView=e,i.contextLView=t,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function Ux(){let t=qe.lFrame,i=t===null?null:t.child;return i===null?Gx(t):i}function Gx(t){let i={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 t!==null&&(t.child=i),i}function Wx(){let t=qe.lFrame;return qe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var qx=Wx;function O_(){let t=Wx();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 RN(t){return(qe.lFrame.contextLView=mN(t,qe.lFrame.contextLView))[sn]}function Yi(){return qe.lFrame.selectedIndex}function gs(t){qe.lFrame.selectedIndex=t}function Ga(){let t=qe.lFrame;return Oc(t.tView,t.selectedIndex)}function gt(){qe.lFrame.currentNamespace=Ax}function Kx(){return qe.lFrame.currentNamespace}var Qx=!0;function oh(){return Qx}function Ir(t){Qx=t}function PN(t,i,e){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=i.type.prototype;if(n){let s=Rx(i);(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))}function M_(t,i){for(let e=i.directiveStart,n=i.directiveEnd;e=n)break}else i[l]<0&&(t[Ia]+=65536),(a>14>16&&(t[je]&3)===i&&(t[je]+=16384,nw(a,r)):nw(a,r)}var Ma=-1,_s=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,n){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=n}};function AN(t){return(t.flags&8)!==0}function NN(t){return(t.flags&16)!==0}function FN(t,i,e){let n=0;for(;ni){s=r-1;break}}}for(;r>16}function Cp(t,i){let e=VN(t),n=i;for(;e>0;)n=n[$a],e--;return n}var m0=!0;function wp(t){let i=m0;return m0=t,i}var BN=256,Xx=BN-1,eE=5,jN=0,_o={};function $N(t,i,e){let n;typeof e=="string"?n=e.charCodeAt(0)||0:e.hasOwnProperty(fc)&&(n=e[fc]),n==null&&(n=e[fc]=jN++);let o=n&Xx,r=1<>eE)]|=r}function xp(t,i){let e=tE(t,i);if(e!==-1)return e;let n=i[Ne];n.firstCreatePass&&(t.injectorIndex=i.length,zg(n.data,t),zg(i,null),zg(n.blueprint,null));let o=R_(t,i),r=t.injectorIndex;if(Jx(o)){let s=bp(o),a=Cp(o,i),l=a[Ne].data;for(let c=0;c<8;c++)i[r+c]=a[s+c]|l[s+c]}return i[r+8]=o,r}function zg(t,i){t.push(0,0,0,0,0,0,0,0,i)}function tE(t,i){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||i[t.injectorIndex+8]===null?-1:t.injectorIndex}function R_(t,i){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,n=null,o=i;for(;o!==null;){if(n=sE(o),n===null)return Ma;if(e++,o=o[$a],n.injectorIndex!==-1)return n.injectorIndex|e<<16}return Ma}function g0(t,i,e){$N(t,i,e)}function HN(t,i){if(i==="class")return t.classes;if(i==="style")return t.styles;let e=t.attrs;if(e){let n=e.length,o=0;for(;o>20,g=n?a:a+p,v=o?a+p:c;for(let y=g;y=l&&x.type===e)return y}if(o){let y=s[l];if(y&&qi(y)&&y.type===e)return l}return null}function bc(t,i,e,n){let o=t[e],r=i.data;if(o instanceof _s){let s=o;s.resolving&&fx(LA(r[e]));let a=wp(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Qn(s.injectImpl):null,p=zx(t,n,et.Default);try{o=t[e]=s.factory(void 0,r,t,n),i.firstCreatePass&&e>=n.directiveStart&&PN(e,r[e],i)}finally{c!==null&&Qn(c),wp(a),s.resolving=!1,qx()}}return o}function UN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let i=t.hasOwnProperty(fc)?t[fc]:void 0;return typeof i=="number"?i>=0?i&Xx:GN:i}function ow(t,i,e){let n=1<>eE)]&n)}function rw(t,i){return!(t&et.Self)&&!(t&et.Host&&i)}var us=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,n){return oE(this._tNode,this._lView,i,qp(n),e)}};function GN(){return new us(En(),xe())}function Q(t){return Tc(()=>{let i=t.prototype.constructor,e=i[pp]||_0(i),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[pp]||_0(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function _0(t){return cx(t)?()=>{let i=_0(wn(t));return i&&i()}:ps(t)}function WN(t,i,e,n,o){let r=t,s=i;for(;r!==null&&s!==null&&s[je]&2048&&!vc(s);){let a=rE(r,s,e,n|et.Self,_o);if(a!==_o)return a;let l=r.parent;if(!l){let c=s[Ox];if(c){let p=c.get(e,_o,n);if(p!==_o)return p}l=sE(s),s=s[$a]}r=l}return o}function sE(t){let i=t[Ne],e=i.type;return e===2?i.declTNode:e===1?t[ei]:null}function rh(t){return HN(En(),t)}function sw(t,i=null,e=null,n){let o=aE(t,i,e,n);return o.resolveInjectorInitializers(),o}function aE(t,i=null,e=null,n,o=new Set){let r=[e||Vn,YA(t)];return n=n||(typeof t=="object"?void 0:Zn(t)),new _c(r,i||Zp(),n||null,o)}var Qe=class t{static THROW_IF_NOT_FOUND=ds;static NULL=new gp;static create(i,e){if(Array.isArray(i))return sw({name:""},e,i,"");{let n=i.name??"";return sw({name:n},i.parent,i.providers,n)}}static \u0275prov=S({token:t,providedIn:"any",factory:()=>L(Cx)});static __NG_ELEMENT_ID__=-1};var qN=new M("");qN.__NG_ELEMENT_ID__=t=>{let i=En();if(i===null)throw new ne(204,!1);if(i.type&2)return i.value;if(t&et.Optional)return null;throw new ne(204,!1)};var lE=!1,Sr=(()=>{class t{static __NG_ELEMENT_ID__=KN;static __NG_ENV_ID__=e=>e}return t})(),Ep=class extends Sr{_lView;constructor(i){super(),this._lView=i}onDestroy(i){return Vx(this._lView,i),()=>gN(this._lView,i)}};function KN(){return new Ep(xe())}var ys=class{},P_=new M("",{providedIn:"root",factory:()=>!1});var cE=new M(""),dE=new M(""),Zi=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ft(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=S({token:t,providedIn:"root",factory:()=>new t})}return t})();var y0=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,Dx()&&(this.destroyRef=C(Sr,{optional:!0})??void 0,this.pendingTasks=C(Zi,{optional:!0})??void 0)}emit(i){let e=Je(null);try{super.next(i)}finally{Je(e)}}subscribe(i,e,n){let o=i,r=e||(()=>null),s=n;if(i&&typeof i=="object"){let l=i;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:r,complete:s});return i instanceof rt&&i.add(a),a}wrapInTimeout(i){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{i(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},F=y0;function Cc(...t){}function uE(t){let i,e;function n(){t=Cc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),n()})),()=>n()}function aw(t){return queueMicrotask(()=>t()),()=>{t=Cc}}var k_="isAngularZone",Ip=k_+"_ID",QN=0,ue=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new F(!1);onMicrotaskEmpty=new F(!1);onStable=new F(!1);onError=new F(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=lE}=i;if(typeof Zone>"u")throw new ne(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=r,JN(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(k_)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new ne(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new ne(909,!1)}run(i,e,n){return this._inner.run(i,e,n)}runTask(i,e,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,i,YN,Cc,Cc);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(i,e,n){return this._inner.runGuarded(i,e,n)}runOutsideAngular(i){return this._outer.run(i)}},YN={};function A_(t){if(t._nesting==0&&!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 ZN(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function i(){uE(()=>{t.callbackScheduled=!1,v0(t),t.isCheckStableRunning=!0,A_(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{i()}):t._outer.run(()=>{i()}),v0(t)}function JN(t){let i=()=>{ZN(t)},e=QN++;t._inner=t._inner.fork({name:"angular",properties:{[k_]:!0,[Ip]:e,[Ip+e]:!0},onInvokeTask:(n,o,r,s,a,l)=>{if(XN(l))return n.invokeTask(r,s,a,l);try{return lw(t),n.invokeTask(r,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&i(),cw(t)}},onInvoke:(n,o,r,s,a,l,c)=>{try{return lw(t),n.invoke(r,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!eF(l)&&i(),cw(t)}},onHasTask:(n,o,r,s)=>{n.hasTask(r,s),o===r&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,v0(t),A_(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,o,r,s)=>(n.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function v0(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function lw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function cw(t){t._nesting--,A_(t)}var Sp=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new F;onMicrotaskEmpty=new F;onStable=new F;onError=new F;run(i,e,n){return i.apply(e,n)}runGuarded(i,e,n){return i.apply(e,n)}runOutsideAngular(i){return i()}runTask(i,e,n,o){return i.apply(e,n)}};function XN(t){return pE(t,"__ignore_ng_zone__")}function eF(t){return pE(t,"__scheduler_tick__")}function pE(t,i){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[i]===!0}function tF(t="zone.js",i){return t==="noop"?new Sp:t==="zone.js"?new ue(i):t}var bo=class{_console=console;handleError(i){this._console.error("ERROR",i)}},nF=new M("",{providedIn:"root",factory:()=>{let t=C(ue),i=C(bo);return e=>t.runOutsideAngular(()=>i.handleError(e))}}),Tp=class{destroyed=!1;listeners=null;errorHandler=C(bo,{optional:!0});destroyRef=C(Sr);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(i){if(this.destroyed)throw new ne(953,!1);return(this.listeners??=[]).push(i),{unsubscribe:()=>{let e=this.listeners?.indexOf(i);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(i){if(this.destroyed){console.warn(Sc(953,!1));return}if(this.listeners===null)return;let e=Je(null);try{for(let n of this.listeners)try{n(i)}catch(o){this.errorHandler?.handleError(o)}}finally{Je(e)}}};function Tr(t){return new Tp}function dw(t,i){return ax(t,i)}function iF(t){return ax(Gp,t)}var Xt=(dw.required=iF,dw);function oF(){return Wa(En(),xe())}function Wa(t,i){return new ye(Qi(t,i))}var ye=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=oF}return t})();function hE(t){return t instanceof ye?t.nativeElement:t}function rF(t){return typeof t=="function"&&t[An]!==void 0}function ht(t,i){let e=Y1(t,i?.equal),n=e[An];return e.set=o=>rc(n,o),e.update=o=>Z1(n,o),e.asReadonly=fE.bind(e),e}function fE(){let t=this[An];if(t.readonlyFn===void 0){let i=()=>this();i[An]=t,t.readonlyFn=i}return t.readonlyFn}function mE(t){return rF(t)&&typeof t.set=="function"}function sF(){return this._results[Symbol.iterator]()}var Fa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new K}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let n=qA(i);(this._changesDetected=!WA(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=sF},aF="ngSkipHydration",lF="ngskiphydration";function gE(t){let i=t.mergedAttrs;if(i===null)return!1;for(let e=0;ehF}),hF="ng",N_=new M(""),Fe=new M("",{providedIn:"platform",factory:()=>"unknown"});var EE=new M(""),Rc=new M("",{providedIn:"root",factory:()=>Ka().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function fF(){let t=new Ss;return t.store=mF(Ka(),C(Co)),t}var Ss=(()=>{class t{static \u0275prov=S({token:t,providedIn:"root",factory:fF});store={};onSerializeCallbacks={};get(e,n){return this.store[e]!==void 0?this.store[e]:n}set(e,n){this.store[e]=n}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(e,n){this.onSerializeCallbacks[e]=n}toJson(){for(let e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(n){console.warn("Exception in onSerialize callback: ",n)}return JSON.stringify(this.store).replace(/ME});var PE=new M(""),IF=!1,kE=new M(""),Op=new M("",{providedIn:"root",factory:()=>new Map}),L_=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(L_||{}),Qa=new M(""),pw=new Set;function Ji(t){pw.has(t)||(pw.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var V_=(()=>{class t{view;node;constructor(e,n){this.view=e,this.node=n}static __NG_ELEMENT_ID__=SF}return t})();function SF(){return new V_(xe(),En())}var Sa=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Sa||{}),AE=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:t,providedIn:"root",factory:()=>new t})}return t})(),TF=[Sa.EarlyRead,Sa.Write,Sa.MixedReadWrite,Sa.Read],DF=(()=>{class t{ngZone=C(ue);scheduler=C(ys);errorHandler=C(bo,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(Qa,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Et(16),this.executing=!0;for(let n of TF)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[n]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let r=o.hooks[n];return r(o.pipelinedValue)},o.snapshot))}catch(r){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Et(17)}register(e){let{view:n}=e;n!==void 0?((n[Oa]??=[]).push(e),za(n),n[je]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,n){return n?n.run(L_.AFTER_NEXT_RENDER,e):e()}static \u0275prov=S({token:t,providedIn:"root",factory:()=>new t})}return t})(),w0=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,n,o,r,s=null){this.impl=i,this.hooks=e,this.view=n,this.once=o,this.snapshot=s,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let i=this.view?.[Oa];i&&(this.view[Oa]=i.filter(e=>e!==this))}};function sh(t,i){!i?.injector&&Jp(sh);let e=i?.injector??C(Qe);return Ji("NgAfterRender"),NE(t,e,i,!1)}function On(t,i){!i?.injector&&Jp(On);let e=i?.injector??C(Qe);return Ji("NgAfterNextRender"),NE(t,e,i,!0)}function OF(t,i){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function NE(t,i,e,n){let o=i.get(AE);o.impl??=i.get(DF);let r=i.get(Qa,null,{optional:!0}),s=e?.phase??Sa.MixedReadWrite,a=e?.manualCleanup!==!0?i.get(Sr):null,l=i.get(V_,null,{optional:!0}),c=new w0(o.impl,OF(t,s),l?.view,n,a,r?.snapshot(null));return o.impl.register(c),c}var ri=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(ri||{}),hw=0,MF=1,rn=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(rn||{});var RF=0,ah=1;var PF=4,kF=5;var AF=7,Pa=8,NF=9,FE=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(FE||{});function cp(t,i){let e=LF(t),n=i[e];if(n!==null){for(let o of n)o();i[e]=null}}function FF(t){cp(1,t),cp(0,t),cp(2,t)}function LF(t){let i=PF;return t===1?i=kF:t===2&&(i=NF),i}function LE(t){return t+1}function Pc(t,i){let e=t[Ne],n=LE(i.index);return t[n]}function lh(t,i){let e=LE(i.index);return t.data[e]}function VF(t,i,e){let n=i[Ne],o=lh(n,e);switch(t){case rn.Complete:return o.primaryTmplIndex;case rn.Loading:return o.loadingTmplIndex;case rn.Error:return o.errorTmplIndex;case rn.Placeholder:return o.placeholderTmplIndex;default:return null}}function fw(t,i){return i===rn.Placeholder?t.placeholderBlockConfig?.[hw]??null:i===rn.Loading?t.loadingBlockConfig?.[hw]??null:null}function BF(t){return t.loadingBlockConfig?.[MF]??null}function mw(t,i){if(!t||t.length===0)return i;let e=new Set(t);for(let n of i)e.add(n);return t.length===e.size?t:Array.from(e)}function jF(t,i){let e=i.primaryTmplIndex+It;return Oc(t,e)}var wa=new WeakMap,$F=["click","keydown"],HF=["mouseenter","mouseover","focusin"],xa=null,Ug=0,x0=class{callbacks=new Set;listener=()=>{for(let i of this.callbacks)i()}};function zF(t,i,e){let n=e.get(ue),o=wa.get(t);return xa=xa||n.runOutsideAngular(()=>new IntersectionObserver(r=>{for(let s of r)s.isIntersecting&&wa.has(s.target)&&n.run(wa.get(s.target).listener)})),o||(o=new x0,n.runOutsideAngular(()=>xa.observe(t)),wa.set(t,o),Ug++),o.callbacks.add(i),()=>{wa.has(t)&&(o.callbacks.delete(i),o.callbacks.size===0&&(xa?.unobserve(t),wa.delete(t),Ug--),Ug===0&&(xa?.disconnect(),xa=null))}}var ch="ngb";var UF=(t,i,e)=>{let n=t,o=n.__jsaction_fns??new Map,r=o.get(i)??[];r.push(e),o.set(i,r),n.__jsaction_fns=o},VE=(t,i)=>{let e=t,n=e.getAttribute(ch)??"",o=i.get(n)??new Set;o.has(e)||o.add(e),i.set(n,o)};function GF(t,i){if(t.length>0){let e=[];for(let o of t)i.has(o)&&(e=[...e,...i.get(o)]);new Set(e).forEach(BE)}}var BE=t=>{t.removeAttribute(Pg.JSACTION),t.removeAttribute(ch),t.__jsaction_fns=void 0},jE=new M("",{providedIn:"root",factory:()=>({})});function $E(t,i){let e=i?.__jsaction_fns?.get(t.type);if(!(!e||!i?.isConnected))for(let n of e)n(t)}var Ts=new M(""),WF=(()=>{class t{registry=new Map;cleanupFns=new Map;jsActionMap=C(Op);contract=C(jE);add(e,n){if(this.registry.set(e,n),this.awaitingCallbacks.has(e)){let o=this.awaitingCallbacks.get(e);for(let r of o)r()}}get(e){return this.registry.get(e)??null}has(e){return this.registry.has(e)}cleanup(e){GF(e,this.jsActionMap);for(let n of e)this.registry.delete(n),this.jsActionMap.delete(n),this.invokeTriggerCleanupFns(n),this.hydrating.delete(n),this.awaitingCallbacks.delete(n);this.size===0&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(e,n){let o=[];this.cleanupFns.has(e)&&(o=this.cleanupFns.get(e)),o.push(n),this.cleanupFns.set(e,o)}invokeTriggerCleanupFns(e){let n=this.cleanupFns.get(e)??[];for(let o of n)o();this.cleanupFns.delete(e)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(e,n){let o=this.awaitingCallbacks.get(e)??[];o.push(n),this.awaitingCallbacks.set(e,o)}static \u0275prov=S({token:t,providedIn:null,factory:()=>new t})}return t})(),qF="__nghData__",HE=qF,KF="__nghDeferData__",zE=KF,Gg="ngh",QF="nghm",UE=()=>null;function YF(t,i,e=!1){let n=t.getAttribute(Gg);if(n==null)return null;let[o,r]=n.split("|");if(n=e?r:o,!n)return null;let s=r?`|${r}`:"",a=e?o:s,l={};if(n!==""){let p=i.get(Ss,null,{optional:!0});p!==null&&(l=p.get(HE,[])[Number(n)])}let c={data:l,firstChild:t.firstChild??null};return e&&(c.firstChild=t,dh(c,0,t.nextSibling)),a?t.setAttribute(Gg,a):t.removeAttribute(Gg),c}function ZF(){UE=YF}function GE(t,i,e=!1){return UE(t,i,e)}function JF(t){let i=t._lView;return i[Ne].type===2?null:(vc(i)&&(i=i[It]),i)}function XF(t){return t.textContent?.replace(/\s/gm,"")}function eL(t){let i=Ka(),e=i.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(r){let s=XF(r);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,o=[];for(;n=e.nextNode();)o.push(n);for(let r of o)r.textContent==="ngetn"?r.replaceWith(i.createTextNode("")):r.remove()}function dh(t,i,e){t.segmentHeads??={},t.segmentHeads[i]=e}function E0(t,i){return t.segmentHeads?.[i]??null}function tL(t){return t.get(kE,!1,{optional:!0})}function nL(t,i){let e=t.data,n=e[yF]?.[i]??null;return n===null&&e[F_]?.[i]&&(n=B_(t,i)),n}function WE(t,i){return t.data[F_]?.[i]??null}function B_(t,i){let e=WE(t,i)??[],n=0;for(let o of e)n+=o[wc]*(o[TE]??1);return n}function iL(t){if(typeof t.disconnectedNodes>"u"){let i=t.data[DE];t.disconnectedNodes=i?new Set(i):null}return t.disconnectedNodes}function kc(t,i){if(typeof t.disconnectedNodes>"u"){let e=t.data[DE];t.disconnectedNodes=e?new Set(e):null}return!!iL(t)?.has(i)}function oL(t,i){let e=i.get(Ts),o=i.get(Ss).get(zE,{}),r=!1,s=t,a=null,l=[];for(;!r&&s;){r=e.has(s);let c=e.hydrating.get(s);if(a===null&&c!=null){a=c.promise;break}l.unshift(s),s=o[s][EF]}return{parentBlockPromise:a,hydrationQueue:l}}function rL(t){let i=t.body.querySelectorAll("[jsaction]"),e=new Set;for(let n of i){let o=n.getAttribute("jsaction"),r=n.getAttribute("ngb"),s=[...HF.join(":;"),...$F.join(":;")].join("|");o?.match(s)&&r!==null&&e.add(n)}return e}function sL(t,i){let e=rL(t);for(let n of e){let o=i.get(Op);VE(n,o)}}var qE=()=>({});function aL(t){let i=t.get(Ss,null,{optional:!0});return i!==null?i.get(zE,{}):{}}function lL(){qE=aL}function cL(t){return qE(t)}function dL(t){return typeof t=="object"&&t.trigger===5}function uL(t){return t[OE]?.find(e=>dL(e))?.delay??null}function Wg(t,i){return t[OE]?.includes(i)??!1}function pL(t){return{data:t,hydrate:{idle:Wg(t,0),immediate:Wg(t,1),timer:uL(t),viewport:Wg(t,2)}}}function hL(t){let i=cL(t),e=new Map;for(let n in i)e.set(n,pL(i[n]));return e}function qg(t){return!!t&&t.nodeType===Node.COMMENT_NODE&&t.textContent?.trim()===QF}function gw(t){for(;t&&t.nodeType===Node.TEXT_NODE;)t=t.previousSibling;return t}function fL(t){for(let n of t.body.childNodes)if(qg(n))return;let i=gw(t.body.previousSibling);if(qg(i))return;let e=gw(t.head.lastChild);if(!qg(e))throw new ne(-507,!1)}function KE(t,i){let e=t.contentQueries;if(e!==null){let n=Je(null);try{for(let o=0;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return Xu}function uh(t){return QE()?.createHTML(t)||t}function mL(t){return QE()?.createScriptURL(t)||t}var ep;function YE(){if(ep===void 0&&(ep=null,Cn.trustedTypes))try{ep=Cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ep}function _w(t){return YE()?.createHTML(t)||t}function yw(t){return YE()?.createScriptURL(t)||t}var Jo=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${rx})`}},S0=class extends Jo{getTypeName(){return"HTML"}},T0=class extends Jo{getTypeName(){return"Style"}},D0=class extends Jo{getTypeName(){return"Script"}},O0=class extends Jo{getTypeName(){return"URL"}},M0=class extends Jo{getTypeName(){return"ResourceURL"}};function ai(t){return t instanceof Jo?t.changingThisBreaksApplicationSecurity:t}function Xo(t,i){let e=gL(t);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${rx})`)}return e===i}function gL(t){return t instanceof Jo&&t.getTypeName()||null}function ZE(t){return new S0(t)}function JE(t){return new T0(t)}function XE(t){return new D0(t)}function eI(t){return new O0(t)}function tI(t){return new M0(t)}function _L(t){let i=new P0(t);return yL()?new R0(i):i}var R0=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(uh(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},P0=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=uh(i),e}};function yL(){try{return!!new window.DOMParser().parseFromString(uh(""),"text/html")}catch{return!1}}var vL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ph(t){return t=String(t),t.match(vL)?t:"unsafe:"+t}function er(t){let i={};for(let e of t.split(","))i[e]=!0;return i}function Ac(...t){let i={};for(let e of t)for(let n in e)e.hasOwnProperty(n)&&(i[n]=!0);return i}var nI=er("area,br,col,hr,img,wbr"),iI=er("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oI=er("rp,rt"),bL=Ac(oI,iI),CL=Ac(iI,er("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")),wL=Ac(oI,er("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")),vw=Ac(nI,CL,wL,bL),rI=er("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xL=er("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"),EL=er("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"),IL=Ac(rI,xL,EL),SL=er("script,style,template"),k0=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,n=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){o.push(e),e=OL(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=DL(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(i){let e=bw(i).toLowerCase();if(!vw.hasOwnProperty(e))return this.sanitizedSomething=!0,!SL.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=i.attributes;for(let o=0;o"),!0}endElement(i){let e=bw(i).toLowerCase();vw.hasOwnProperty(e)&&!nI.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(Cw(i))}};function TL(t,i){return(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DL(t){let i=t.nextSibling;if(i&&t!==i.previousSibling)throw sI(i);return i}function OL(t){let i=t.firstChild;if(i&&TL(t,i))throw sI(i);return i}function bw(t){let i=t.nodeName;return typeof i=="string"?i:"FORM"}function sI(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var ML=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RL=/([^\#-~ |!])/g;function Cw(t){return t.replace(/&/g,"&").replace(ML,function(i){let e=i.charCodeAt(0),n=i.charCodeAt(1);return"&#"+((e-55296)*1024+(n-56320)+65536)+";"}).replace(RL,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var tp;function $_(t,i){let e=null;try{tp=tp||_L(t);let n=i?String(i):"";e=tp.getInertBodyElement(n);let o=5,r=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=r,r=e.innerHTML,e=tp.getInertBodyElement(n)}while(n!==r);let a=new k0().sanitizeChildren(ww(e)||e);return uh(a)}finally{if(e){let n=ww(e)||e;for(;n.firstChild;)n.firstChild.remove()}}}function ww(t){return"content"in t&&PL(t)?t.content:null}function PL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Xi=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}(Xi||{});function Rt(t){let i=H_();return i?_w(i.sanitize(Xi.HTML,t)||""):Xo(t,"HTML")?_w(ai(t)):$_(Ka(),Yn(t))}function ze(t){let i=H_();return i?i.sanitize(Xi.URL,t)||"":Xo(t,"URL")?ai(t):ph(Yn(t))}function hh(t){let i=H_();if(i)return yw(i.sanitize(Xi.RESOURCE_URL,t)||"");if(Xo(t,"ResourceURL"))return yw(ai(t));throw new ne(904,!1)}function rpe(t){return mL(t[0])}function kL(t,i){return i==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||i==="href"&&(t==="base"||t==="link")?hh:ze}function aI(t,i,e){return kL(i,e)(t)}function H_(){let t=xe();return t&&t[Ko].sanitizer}var AL=/^>|^->||--!>|)/g,FL="\u200B$1\u200B";function LL(t){return t.replace(AL,i=>i.replace(NL,FL))}function spe(t){return t.ownerDocument.defaultView}function lI(t){return t.ownerDocument}function VL(t){return t.ownerDocument.body}function cI(t){return t instanceof Function?t():t}function BL(t,i,e){let n=t.length;for(;;){let o=t.indexOf(i,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=i.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}e=o+1}}var dI="ng-template";function jL(t,i,e,n){let o=0;if(n){for(;o-1){let r;for(;++or?g="":g=o[p+1].toLowerCase(),n&2&&c!==g){if(Ui(n))return!1;s=!0}}}}return Ui(n)||s}function Ui(t){return(t&1)===0}function zL(t,i,e,n){if(i===null)return-1;let o=0;if(n||!e){let r=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Ui(s)&&(i+=xw(r,o),o=""),n=s,r=r||!Ui(n);e++}return o!==""&&(i+=xw(r,o)),i}function QL(t){return t.map(KL).join(",")}function YL(t){let i=[],e=[],n=1,o=2;for(;nIt&&vI(t,i,It,!1),Et(s?2:0,o),e(n,o)}finally{gs(r),Et(s?3:1,o)}}function mh(t,i,e){c3(t,i,e),(e.flags&64)===64&&d3(t,i,e)}function Q_(t,i,e=Qi){let n=i.localNames;if(n!==null){let o=i.index+1;for(let r=0;rnull;function r3(t){_E(t)?mI(t):eL(t)}function s3(){CI=r3}function a3(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function gh(t,i,e,n,o,r,s,a){if(!a&&Z_(i,t,e,n,o)){xs(i)&&l3(e,i.index);return}if(i.type&3){let l=Qi(i,e);n=a3(n),o=s!=null?s(o,i.value||"",n):o,r.setProperty(l,n,o)}else i.type&12}function l3(t,i){let e=vo(i,t);e[je]&16||(e[je]|=64)}function c3(t,i,e){let n=e.directiveStart,o=e.directiveEnd;xs(e)&&n3(i,e,t.data[n+e.componentOffset]),t.firstCreatePass||xp(e,i);let r=e.initialInputs;for(let s=n;s=0?n[a]():n[-a].unsubscribe(),s+=2}else{let a=n[e[s+1]];e[s].call(a)}n!==null&&(i[_p]=null);let o=i[Cr];if(o!==null){i[Cr]=null;for(let s=0;s{za(t.lView)},consumerOnSignalRead(){this.lView[Ti]=this}});function A3(t){let i=t[Ti]??Object.create(N3);return i.lView=t,i}var N3=Ce(k({},aa),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let i=ms(t.lView);for(;i&&!RI(i[Ne]);)i=ms(i);i&&Lx(i)},consumerOnSignalRead(){this.lView[Ti]=this}});function RI(t){return t.type!==2}function PI(t){if(t[fs]===null)return;let i=!0;for(;i;){let e=!1;for(let n of t[fs])n.dirty&&(e=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));i=e&&!!(t[je]&8192)}}var F3=100;function kI(t,i=!0,e=0){let o=t[Ko].rendererFactory,r=!1;r||o.begin?.();try{L3(t,e)}catch(s){throw i&&_h(t,s),s}finally{r||o.end?.()}}function L3(t,i){let e=Hx();try{vp(!0),F0(t,i);let n=0;for(;nh(t);){if(n===F3)throw new ne(103,!1);n++,F0(t,1)}}finally{vp(e)}}function V3(t,i,e,n){if(Ha(i))return;let o=i[je],r=!1,s=!1;D_(i);let a=!0,l=null,c=null;r||(RI(t)?(c=M3(i),l=ic(c)):j1()===null?(a=!1,c=A3(i),l=ic(c)):i[Ti]&&(oc(i[Ti]),i[Ti]=null));try{Fx(i),SN(t.bindingStartIndex),e!==null&&bI(t,i,e,2,n);let p=(o&3)===3;if(!r)if(p){let y=t.preOrderCheckHooks;y!==null&&sp(i,y,null)}else{let y=t.preOrderHooks;y!==null&&ap(i,y,0,null),$g(i,0)}if(s||B3(i),PI(i),AI(i,0),t.contentQueries!==null&&KE(t,i),!r)if(p){let y=t.contentCheckHooks;y!==null&&sp(i,y)}else{let y=t.contentHooks;y!==null&&ap(i,y,1),$g(i,1)}$3(t,i);let g=t.components;g!==null&&FI(i,g,0);let v=t.viewQuery;if(v!==null&&I0(2,v,n),!r)if(p){let y=t.viewCheckHooks;y!==null&&sp(i,y)}else{let y=t.viewHooks;y!==null&&ap(i,y,2),$g(i,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),i[jg]){for(let y of i[jg])y();i[jg]=null}r||(OI(i),i[je]&=-73)}catch(p){throw r||za(i),p}finally{c!==null&&(uu(c,l),a&&P3(c)),O_()}}function AI(t,i){for(let e=bE(t);e!==null;e=CE(e))for(let n=xn;n0&&(t[e-1][Gi]=n[Gi]);let r=mp(t,xn+i);y3(n[Ne],n);let s=r[Qo];s!==null&&s.detachView(r[Ne]),n[an]=null,n[Gi]=null,n[je]&=-129}return n}function H3(t,i,e,n){let o=xn+n,r=e.length;n>0&&(e[o-1][Gi]=i),n-1&&(xc(i,n),mp(e,n))}this._attachedToViewContainer=!1}yh(this._lView[Ne],this._lView)}onDestroy(i){Vx(this._lView,i)}markForCheck(){Ch(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[je]&=-129}reattach(){p0(this._lView),this._lView[je]|=128}detectChanges(){this._lView[je]|=1024,kI(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ne(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=vc(this._lView),e=this._lView[hs];e!==null&&!i&&ey(e,this._lView),EI(this._lView[Ne],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new ne(902,!1);this._appRef=i;let e=vc(this._lView),n=this._lView[hs];n!==null&&!e&&BI(n,this._lView),p0(this._lView)}};var Tt=(()=>{class t{static __NG_ELEMENT_ID__=G3}return t})(),z3=Tt,U3=class extends z3{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,n){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,n){let o=Ya(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:n});return new Ec(o)}};function G3(){return wh(En(),xe())}function wh(t,i){return t.type&4?new U3(i,t,Wa(t,i)):null}function Nc(t,i,e,n,o){let r=t.data[i];if(r===null)r=W3(t,i,e,n,o),TN()&&(r.flags|=32);else if(r.type&64){r.type=e,r.value=n,r.attrs=o;let s=EN();r.injectorIndex=s===null?-1:s.injectorIndex}return Es(r,!0),r}function W3(t,i,e,n,o){let r=$x(),s=x_(),a=s?r:r&&r.parent,l=t.data[i]=K3(t,a,e,i,n,o);return q3(t,l,r,s),l}function q3(t,i,e,n){t.firstChild===null&&(t.firstChild=i),e!==null&&(n?e.child==null&&i.parent!==null&&(e.child=i):e.next===null&&(e.next=i,i.prev=e))}function K3(t,i,e,n,o,r){let s=i?i.injectorIndex:-1,a=0;return Ua()&&(a|=128),{type:e,index:n,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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Q3=new RegExp(`^(\\d+)*(${SE}|${IE})*(.*)`);function Y3(t){let i=t.match(Q3),[e,n,o,r]=i,s=n?parseInt(n,10):o,a=[];for(let[l,c,p]of r.matchAll(/(f|n)(\d*)/g)){let g=parseInt(p,10)||1;a.push(c,g)}return[s,...a]}function Z3(t){return!t.prev&&t.parent?.type===8}function Qg(t){return t.index-It}function J3(t,i){let e=t.i18nNodes;if(e)return e.get(i)}function xh(t,i,e,n){let o=Qg(n),r=J3(t,o);if(r===void 0){let s=t.data[CF];if(s?.[o])r=e4(s[o],e);else if(i.firstChild===n)r=t.firstChild;else{let a=n.prev===null,l=n.prev??n.parent;if(Z3(n)){let c=Qg(n.parent);r=E0(t,c)}else{let c=Qi(l,e);if(a)r=c.firstChild;else{let p=Qg(l),g=E0(t,p);if(l.type===2&&g){let y=B_(t,p)+1;r=Eh(y,g)}else r=c.nextSibling}}}}return r}function Eh(t,i){let e=i;for(let n=0;n-1){let l=s.substring(a+r.length).trim();o.set(l,n)}}return o}function n4(t){return t.textContent?.trimStart().startsWith("ngh=")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}var i4=!1;function o4(t){i4=t}function r4(t){let i=t[Di];if(i){let{i18nNodes:e,dehydratedIcuData:n}=i;if(e&&n){let o=t[Ct];for(let r of n.values())s4(o,e,r)}i.i18nNodes=void 0,i.dehydratedIcuData=void 0}}function s4(t,i,e){for(let n of e.node.cases[e.case]){let o=i.get(n.index-It);o&&G_(t,o,!1)}}function jI(t){let i=t[Yo]??[],n=t[an][Ct],o=[];for(let r of i)r.data[wF]!==void 0?o.push(r):$I(r,n);t[Yo]=o}function a4(t){let{lContainer:i}=t,e=i[Yo];if(e===null)return;let o=i[an][Ct];for(let r of e)$I(r,o)}function $I(t,i){let e=0,n=t.firstChild;if(n){let o=t.data[wc];for(;e0&&(r.firstChild=t,t=Eh(n[wc],t)),e.push(r)}return[t,e]}var zI=()=>null;function d4(t,i){let e=t[Yo];return!i||e===null||e.length===0?null:e[0].data[bF]===i?e.shift():(jI(t),null)}function u4(){zI=d4}function La(t,i){return zI(t,i)}var p4=class{},UI=class{},L0=class{resolveComponentFactory(i){throw Error(`No component factory found for ${Zn(i)}.`)}},Sh=class{static NULL=new L0},si=class{},wt=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>h4()}return t})();function h4(){let t=xe(),i=En(),e=vo(i.index,t);return(Wi(e)?e:t)[Ct]}var f4=(()=>{class t{static \u0275prov=S({token:t,providedIn:"root",factory:()=>null})}return t})();function V0(t,i,e){let n=e?t.styles:null,o=e?t.classes:null,r=0;if(i!==null)for(let s=0;s0&&(e.directiveToIndex=new Map);for(let v=0;v0;){let e=t[--i];if(typeof e=="number"&&e<0)return e}return 0}function E4(t,i,e){if(e){if(i.exportAs)for(let n=0;n{let[e,n,o]=t[i],r={propName:e,templateName:i,isSignal:(n&fh.SignalBased)!==0};return o&&(r.transform=o),r})}function T4(t){return Object.keys(t).map(i=>({propName:t[i],templateName:i}))}function D4(t,i,e){let n=i instanceof Lt?i:i?.injector;return n&&t.getStandaloneInjector!==null&&(n=t.getStandaloneInjector(n)||n),n?new Ra(e,n):e}function O4(t){let i=t.get(si,null);if(i===null)throw new ne(407,!1);let e=t.get(f4,null),n=t.get(ys,null);return{rendererFactory:i,sanitizer:e,changeDetectionScheduler:n}}function M4(t,i){let e=(t.selectors[0][0]||"div").toLowerCase();return U_(i,e,e==="svg"?Ax:e==="math"?uN:null)}var bs=class extends UI{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=S4(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=T4(this.componentDef.outputs),this.cachedOutputs}constructor(i,e){super(),this.componentDef=i,this.ngModule=e,this.componentType=i.type,this.selector=QL(i.selectors),this.ngContentSelectors=i.ngContentSelectors??[],this.isBoundToModule=!!e}create(i,e,n,o){Et(22);let r=Je(null);try{let s=this.componentDef,a=n?["ng-version","19.2.3"]:YL(this.componentDef.selectors[0]),l=W_(0,null,null,1,0,null,null,null,null,[a],null),c=D4(s,o||this.ngModule,i),p=O4(c),g=p.rendererFactory.createRenderer(null,s),v=n?i3(g,n,s.encapsulation,c):M4(s,g),y=q_(null,l,null,512|_I(s),null,null,p,g,c,null,GE(v,c,!0));y[It]=v,D_(y);let x=null;try{let P=qI(It,l,y,"#host",()=>[this.componentDef],!0,0);v&&(gI(g,v,P),qa(v,y)),mh(l,y,P),j_(l,P,y),KI(l,P),e!==void 0&&R4(P,this.ngContentSelectors,e),x=vo(P.index,y),y[sn]=x[sn],J_(l,y,null)}catch(P){throw x!==null&&b0(x),b0(y),P}finally{Et(23),O_()}return new B0(this.componentType,y)}finally{Je(r)}}},B0=class extends p4{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(i,e){super(),this._rootLView=e,this._tNode=Oc(e[Ne],It),this.location=Wa(this._tNode,e),this.instance=vo(this._tNode.index,e)[sn],this.hostView=this.changeDetectorRef=new Ec(e,void 0,!1),this.componentType=i}setInput(i,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),e))return;let o=this._rootLView,r=Z_(n,o[Ne],o,i,e);this.previousInputValues.set(i,e);let s=vo(n.index,o);Ch(s,1)}get injector(){return new us(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}};function R4(t,i,e){let n=t.projection=[];for(let o=0;o{class t{static __NG_ELEMENT_ID__=P4}return t})();function P4(){let t=En();return YI(t,xe())}var k4=cn,QI=class extends k4{_lContainer;_hostTNode;_hostLView;constructor(i,e,n){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=n}get element(){return Wa(this._hostTNode,this._hostLView)}get injector(){return new us(this._hostTNode,this._hostLView)}get parentInjector(){let i=R_(this._hostTNode,this._hostLView);if(Jx(i)){let e=Cp(i,this._hostLView),n=bp(i),o=e[Ne].data[n+8];return new us(o,e)}else return new us(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=Ow(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-xn}createEmbeddedView(i,e,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=La(this._lContainer,i.ssrId),a=i.createEmbeddedViewImpl(e||{},r,s);return this.insertImpl(a,o,vs(this._hostTNode,s)),a}createComponent(i,e,n,o,r){let s=i&&!aN(i),a;if(s)a=e;else{let x=e||{};a=x.index,n=x.injector,o=x.projectableNodes,r=x.environmentInjector||x.ngModuleRef}let l=s?i:new bs(qo(i)),c=n||this.parentInjector;if(!r&&l.ngModule==null){let P=(s?c:this.parentInjector).get(Lt,null);P&&(r=P)}let p=qo(l.componentType??{}),g=La(this._lContainer,p?.id??null),v=g?.firstChild??null,y=l.create(c,o,v,r);return this.insertImpl(y.hostView,a,vs(this._hostTNode,g)),y}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,n){let o=i._lView;if(fN(o)){let a=this.indexOf(i);if(a!==-1)this.detach(a);else{let l=o[an],c=new QI(l,l[ei],l[an]);c.detach(c.indexOf(i))}}let r=this._adjustIndex(e),s=this._lContainer;return Za(s,o,r,n),i.attachToViewContainerRef(),vx(Yg(s),r,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=Ow(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),n=xc(this._lContainer,e);n&&(mp(Yg(this._lContainer),e),yh(n[Ne],n))}detach(i){let e=this._adjustIndex(i,-1),n=xc(this._lContainer,e);return n&&mp(Yg(this._lContainer),e)!=null?new Ec(n):null}_adjustIndex(i,e=0){return i??this.length+e}};function Ow(t){return t[yp]}function Yg(t){return t[yp]||(t[yp]=[])}function YI(t,i){let e,n=i[t.index];return Io(n)?e=n:(e=LI(n,i,null,t),i[t.index]=e,K_(i,e)),ZI(e,i,t,n),new QI(e,t,i)}function A4(t,i){let e=t[Ct],n=e.createComment(""),o=Qi(i,t),r=e.parentNode(o);return Mp(e,r,n,e.nextSibling(o),!1),n}var ZI=JI,oy=()=>!1;function N4(t,i,e){return oy(t,i,e)}function JI(t,i,e,n){if(t[Zo])return;let o;e.type&8?o=Ki(n):o=A4(i,e),t[Zo]=o}function F4(t,i,e){if(t[Zo]&&t[Yo])return!0;let n=e[Di],o=i.index-It;if(!n||cF(i)||kc(n,o))return!1;let s=E0(n,o),a=n.data[F_]?.[o],[l,c]=c4(s,a);return t[Zo]=l,t[Yo]=c,!0}function L4(t,i,e,n){oy(t,e,i)||JI(t,i,e,n)}function V4(){ZI=L4,oy=F4}var j0=class t{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},$0=class t{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let n=i.contentQueries!==null?i.contentQueries[0]:e.length,o=[];for(let r=0;r0)n.push(s[a/2]);else{let c=r[a+1],p=i[-l];for(let g=xn;gi.trim())}function nS(t,i,e){t.queries===null&&(t.queries=new H0),t.queries.track(new z0(i,e))}function G4(t,i){let e=t.contentQueries||(t.contentQueries=[]),n=e.length?e[e.length-1]:-1;i!==n&&e.push(t.queries.length-1,i)}function sy(t,i){return t.queries.getByIndex(i)}function iS(t,i){let e=t[Ne],n=sy(e,i);return n.crossesNgTemplate?U0(e,t,i,[]):XI(e,t,n,i)}function oS(t,i,e){let n,o=og(()=>{n._dirtyCounter();let r=Q4(n,t);if(i&&r===void 0)throw new ne(-951,!1);return r});return n=o[An],n._dirtyCounter=ht(0),n._flatValue=void 0,o}function W4(t){return oS(!0,!1,t)}function q4(t){return oS(!0,!0,t)}function K4(t,i){let e=t[An];e._lView=xe(),e._queryIndex=i,e._queryList=ry(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(n=>n+1))}function Q4(t,i){let e=t._lView,n=t._queryIndex;if(e===void 0||n===void 0||e[je]&4)return i?void 0:Vn;let o=ry(e,n),r=iS(e,n);return o.reset(r,hE),i?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function Mw(t,i){return W4(i)}function Y4(t,i){return q4(i)}var ay=(Mw.required=Y4,Mw);function rS(t,i){let e=Object.create(sx),n=new Tp;e.value=t;function o(){return nc(e),Rw(e.value),e.value}return o[An]=e,o.asReadonly=fE.bind(o),o.set=r=>{e.equal(e.value,r)||(rc(e,r),n.emit(r))},o.update=r=>{Rw(e.value),o.set(r(e.value))},o.subscribe=n.subscribe.bind(n),o.destroyRef=n.destroyRef,o}function Rw(t){if(t===Gp)throw new ne(952,!1)}function Pw(t,i){return rS(t,i)}function Z4(t){return rS(Gp,t)}var Ja=(Pw.required=Z4,Pw);function J4(t){let i=[],e=new Map;function n(o){let r=e.get(o);if(!r){let s=t(o);e.set(o,r=s.then(nV))}return r}return Np.forEach((o,r)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,p=o.styleUrls;o.styleUrls.forEach((g,v)=>{a.push(""),s.push(n(g).then(y=>{a[c+v]=y,p.splice(p.indexOf(g),1),p.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let l=Promise.all(s).then(()=>iV(r));i.push(l)}),eV(),Promise.all(i).then(()=>{})}var Np=new Map,X4=new Set;function eV(){let t=Np;return Np=new Map,t}function tV(){return Np.size===0}function nV(t){return typeof t=="string"?t:t.text()}function iV(t){X4.delete(t)}var Er=class{},ly=class{};var Fp=class extends Er{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new kp(this);constructor(i,e,n,o=!0){super(),this.ngModuleType=i,this._parent=e;let r=xx(i);this._bootstrapComponents=cI(r.bootstrap),this._r3Injector=aE(i,e,[{provide:Er,useValue:this},{provide:Sh,useValue:this.componentFactoryResolver},...n],Zn(i),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},Lp=class extends ly{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Fp(this.moduleType,i,[])}};function oV(t,i,e){return new Fp(t,i,e,!1)}var G0=class extends Er{injector;componentFactoryResolver=new kp(this);instance=null;constructor(i){super();let e=new _c([...i.providers,{provide:Er,useValue:this},{provide:Sh,useValue:this.componentFactoryResolver}],i.parent||Zp(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function Fc(t,i,e=null){return new G0({providers:t,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var rV=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let n=__(!1,e.type),o=n.length>0?Fc([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:t,providedIn:"environment",factory:()=>new t(L(Lt))})}return t})();function A(t){return Tc(()=>{let i=sS(t),e=Ce(k({},i),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===yE.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:i.standalone?o=>o.get(rV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||wo.Emulated,styles:t.styles||Vn,_:null,schemas:t.schemas||null,tView:null,id:""});i.standalone&&Ji("NgStandalone"),aS(e);let n=t.dependencies;return e.directiveDefs=kw(n,!1),e.pipeDefs=kw(n,!0),e.id=dV(e),e})}function sV(t){return qo(t)||g_(t)}function aV(t){return t!==null}function X(t){return Tc(()=>({type:t.type,bootstrap:t.bootstrap||Vn,declarations:t.declarations||Vn,imports:t.imports||Vn,exports:t.exports||Vn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lV(t,i){if(t==null)return yo;let e={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a,l;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r,l=o[3]||null):(r=o,s=o,a=fh.None,l=null),e[r]=[n,a,l],i[r]=s}return e}function cV(t){if(t==null)return yo;let i={};for(let e in t)t.hasOwnProperty(e)&&(i[t[e]]=e);return i}function te(t){return Tc(()=>{let i=sS(t);return aS(i),i})}function In(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function sS(t){let i={};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:i,inputConfig:t.inputs||yo,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Vn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lV(t.inputs,i),outputs:cV(t.outputs),debugInfo:null}}function aS(t){t.features?.forEach(i=>i(t))}function kw(t,i){if(!t)return null;let e=i?Ex:sV;return()=>(typeof t=="function"?t():t).map(n=>e(n)).filter(aV)}function dV(t){let i=0,e=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,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];for(let r of n.join("|"))i=Math.imul(31,i)+r.charCodeAt(0)<<0;return i+=2147483648,"c"+i}function uV(t){return Object.getPrototypeOf(t.prototype).constructor}function Z(t){let i=uV(t.type),e=!0,n=[t];for(;i;){let o;if(qi(t))o=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new ne(903,!1);o=i.\u0275dir}if(o){if(e){n.push(o);let s=t;s.inputs=Zg(t.inputs),s.declaredInputs=Zg(t.declaredInputs),s.outputs=Zg(t.outputs);let a=o.hostBindings;a&&gV(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&fV(t,l),c&&mV(t,c),pV(t,o),OA(t.outputs,o.outputs),qi(o)&&o.data.animation){let p=t.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s=0;n--){let o=t[n];o.hostVars=i+=o.hostVars,o.hostAttrs=Na(o.hostAttrs,e=Na(e,o.hostAttrs))}}function Zg(t){return t===yo?{}:t===Vn?[]:t}function fV(t,i){let e=t.viewQuery;e?t.viewQuery=(n,o)=>{i(n,o),e(n,o)}:t.viewQuery=i}function mV(t,i){let e=t.contentQueries;e?t.contentQueries=(n,o,r)=>{i(n,o,r),e(n,o,r)}:t.contentQueries=i}function gV(t,i){let e=t.hostBindings;e?t.hostBindings=(n,o)=>{i(n,o),e(n,o)}:t.hostBindings=i}function cy(t){let i=e=>{let n=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=lS,e.hostDirectives=n?t.map(W0):[t]):n?e.hostDirectives.unshift(...t.map(W0)):e.hostDirectives.unshift(t)};return i.ngInherit=!0,i}function lS(t,i,e){if(t.hostDirectives!==null)for(let n of t.hostDirectives)if(typeof n=="function"){let o=n();for(let r of o)Aw(W0(r),i,e)}else Aw(n,i,e)}function Aw(t,i,e){let n=g_(t.directive);_V(n.declaredInputs,t.inputs),lS(n,i,e),e.set(n,t),i.push(n)}function W0(t){return typeof t=="function"?{directive:wn(t),inputs:yo,outputs:yo}:{directive:wn(t.directive),inputs:Nw(t.inputs),outputs:Nw(t.outputs)}}function Nw(t){if(t===void 0||t.length===0)return yo;let i={};for(let e=0;ee.remove(t);return e.add(t),n}var xV=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,EV=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,IV=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=C(ue);requestIdleCallbackFn=xV().bind(globalThis);cancelIdleCallbackFn=EV().bind(globalThis);add(e){(this.executingCallbacks?this.deferred:this.current).add(e),this.idleId===null&&this.scheduleIdleCallback()}remove(e){let{current:n,deferred:o}=this;n.delete(e),o.delete(e),n.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let n of this.current)n();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let n of this.deferred)this.current.add(n);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=S({token:t,providedIn:"root",factory:()=>new t})}return t})();function SV(t){return(i,e)=>TV(t,i,e)}function TV(t,i,e){let n=e.get(DV),o=e.get(ue),r=()=>n.remove(i);return n.add(t,i,o),r}var DV=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(e,n,o){let r=this.executingCallbacks?this.deferred:this.current;this.addToQueue(r,Date.now()+e,n),this.scheduleTimer(o)}remove(e){let{current:n,deferred:o}=this;this.removeFromQueue(n,e)===-1&&this.removeFromQueue(o,e),n.length===0&&o.length===0&&this.clearTimeout()}addToQueue(e,n,o){let r=e.length;for(let s=0;sn){r=s;break}bx(e,r,n,o)}removeFromQueue(e,n){let o=-1;for(let r=0;r-1&&JC(e,o,2),o}scheduleTimer(e){let n=()=>{this.clearTimeout(),this.executingCallbacks=!0;let r=[...this.current],s=Date.now();for(let l=0;l=0&&JC(this.current,0,a+1),this.executingCallbacks=!1,this.deferred.length>0){for(let l=0;l0){let r=Date.now(),s=this.current[0];if(this.timeoutId===null||this.invokeTimerAt&&this.invokeTimerAt-s>16){this.clearTimeout();let a=Math.max(s-r,16);this.invokeTimerAt=s,this.timeoutId=e.runOutsideAngular(()=>setTimeout(()=>e.run(n),a))}}}clearTimeout(){this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=S({token:t,providedIn:"root",factory:()=>new t})}return t})(),OV=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(e,n,o,r){if(!this.cachedInjectors.has(e)){let s=o.length>0?Fc(o,n,r):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:t,providedIn:"environment",factory:()=>new t})}return t})();var MV=new M("");function Jg(t,i,e){return t.get(OV).getOrCreateInjector(i,t,e,"")}function RV(t,i,e){if(t instanceof Ra){let o=t.injector,r=t.parentInjector,s=Jg(r,i,e);return new Ra(o,s)}let n=t.get(Lt);if(n!==t){let o=Jg(n,i,e);return new Ra(t,o)}return Jg(t,i,e)}function Da(t,i,e,n=!1){let o=e[an],r=o[Ne];if(Ha(o))return;let s=Pc(o,i),a=s[ah],l=s[AF];if(!(l!==null&&to.data[xF]===i[ah])??-1;return{dehydratedView:e>-1?t[Yo][e]:null,dehydratedViewIx:e}}function kV(t,i,e,n,o){Et(20);let r=VF(t,o,n);if(r!==null){i[ah]=t;let s=o[Ne],a=r+It,l=Oc(s,a),c=0;ny(e,c);let p;if(t===rn.Complete){let x=lh(s,n),P=x.providers;P&&P.length>0&&(p=RV(o[wr],x,P))}let{dehydratedView:g,dehydratedViewIx:v}=PV(e,i),y=Ya(o,l,null,{injector:p,dehydratedView:g});if(Za(e,y,c,vs(l,g)),Ch(y,2),v>-1&&e[Yo]?.splice(v,1),(t===rn.Complete||t===rn.Error)&&Array.isArray(i[Pa])){for(let x of i[Pa])x();i[Pa]=null}}Et(21)}function Fw(t,i){return t{t.loadingState===ri.COMPLETE?Da(rn.Complete,i,e):t.loadingState===ri.FAILED&&Da(rn.Error,i,e)})}var AV=null;var py=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();var hy=new M(""),Vc=new M(""),Dh=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,n,o){this._ngZone=e,this.registry=n,fy||(NV(o),o.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>n.updateCb&&n.updateCb(e)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,o){let r=-1;n&&n>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e()},n)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,n,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,n,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,o){return[]}static \u0275fac=function(n){return new(n||t)(L(ue),L(Oh),L(Vc))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Oh=(()=>{class t{_applications=new Map;registerApplication(e,n){this._applications.set(e,n)}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,n=!0){return fy?.findTestabilityInTree(this,e,n)??null}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function NV(t){fy=t}var fy,pS=(()=>{class t{static \u0275prov=S({token:t,providedIn:"root",factory:()=>new q0})}return t})(),q0=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}remove(i){let e=i.zone,n=this.queues.get(e);n.has(i)&&(n.delete(i),this.queuedEffectCount--)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(i)||(this.queuedEffectCount++,n.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}};function Dr(t){return!!t&&typeof t.then=="function"}function my(t){return!!t&&typeof t.subscribe=="function"}var Bc=new M("");function hS(t){return Eo([{provide:Bc,multi:!0,useValue:t}])}var fS=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,n)=>{this.resolve=e,this.reject=n});appInits=C(Bc,{optional:!0})??[];injector=C(Qe);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=Xn(this.injector,o);if(Dr(r))e.push(r);else if(my(r)){let s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{n()}).catch(o=>{this.reject(o)}),e.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Or=new M("");function FV(){Q1(()=>{throw new ne(600,!1)})}function LV(t){return t.isBoundToModule}var VV=10;function mS(t,i){return Array.isArray(i)?i.reduce(mS,t):k(k({},t),i)}var Qt=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(nF);afterRenderManager=C(AE);zonelessEnabled=C(P_);rootEffectScheduler=C(pS);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new K;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(Zi).hasPendingTasks.pipe(z(e=>!e));constructor(){C(Qa,{optional:!0})}whenStable(){let e;return new Promise(n=>{e=this.isStable.subscribe({next:o=>{o&&n()}})}).finally(()=>{e.unsubscribe()})}_injector=C(Lt);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,n){Et(10);let o=e instanceof UI;if(!this._injector.get(fS).done){let v="";throw new ne(405,v)}let s;o?s=e:s=this._injector.get(Sh).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=LV(s)?void 0:this._injector.get(Er),l=n||s.selector,c=s.create(Qe.NULL,[],l,a),p=c.location.nativeElement,g=c.injector.get(hy,null);return g?.registerApplication(p),c.onDestroy(()=>{this.detachView(c.hostView),dp(this.components,c),g?.unregisterApplication(p)}),this._loadComponent(c),Et(11,c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Et(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(L_.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ne(101,!1);let e=Je(null);try{this._runningTick=!0,this.synchronize()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Je(e),this.afterTick.next(),Et(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(si,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++nh(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){let n=e;dp(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Or,[]).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._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>dp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ne(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dp(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function BV(t,i,e,n){if(!e&&!nh(t))return;kI(t,i,e&&!n?0:1)}function jV(t,i,e){let n=i[wr],o=i[Ne];if(t.loadingState!==ri.NOT_STARTED)return t.loadingPromise??Promise.resolve();let r=Pc(i,e),s=jF(o,t);t.loadingState=ri.IN_PROGRESS,cp(1,r);let a=t.dependencyResolverFn,l=n.get(Zi),c=l.add();return a?(t.loadingPromise=Promise.allSettled(a()).then(p=>{let g=!1,v=[],y=[];for(let x of p)if(x.status==="fulfilled"){let P=x.value,j=qo(P)||g_(P);if(j)v.push(j);else{let q=Ex(P);q&&y.push(q)}}else{g=!0;break}if(t.loadingPromise=null,l.remove(c),g){if(t.loadingState=ri.FAILED,t.errorTmplIndex===null){let x="",P=new ne(-750,!1);_h(i,P)}}else{t.loadingState=ri.COMPLETE;let x=s.tView;if(v.length>0){x.directiveRegistry=mw(x.directiveRegistry,v);let P=v.map(q=>q.type),j=__(!1,...P);t.providers=j}y.length>0&&(x.pipeRegistry=mw(x.pipeRegistry,y))}}),t.loadingPromise):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=ri.COMPLETE,l.remove(c)}),t.loadingPromise)}function $V(t,i){return i[wr].get(MV,null,{optional:!0})?.behavior!==FE.Manual}function HV(t,i,e){let n=i[Ne],o=i[e.index];if(!$V(t,i))return;let r=Pc(i,e),s=lh(n,e);switch(FF(r),s.loadingState){case ri.NOT_STARTED:Da(rn.Loading,e,o),jV(s,i,e),s.loadingState===ri.IN_PROGRESS&&Lw(s,e,o);break;case ri.IN_PROGRESS:Da(rn.Loading,e,o),Lw(s,e,o);break;case ri.COMPLETE:Da(rn.Complete,e,o);break;case ri.FAILED:Da(rn.Error,e,o);break;default:}}function jc(t,i,e){return Lo(this,null,function*(){let n=t.get(Ts);if(n.hydrating.has(i))return;let{parentBlockPromise:r,hydrationQueue:s}=oL(i,t);if(s.length===0)return;r!==null&&s.shift(),GV(n,s),r!==null&&(yield r);let a=s[0];n.has(a)?yield Vw(t,s,e):n.awaitParentBlock(a,()=>Lo(this,null,function*(){return yield Vw(t,s,e)}))})}function Vw(t,i,e){return Lo(this,null,function*(){let n=t.get(Ts),o=n.hydrating,r=t.get(Zi),s=r.add();for(let l=0;l-1?e.get(i[n]):null;o&&Ih(o.lContainer)}function Bw(t,i){let e=i.hydrating;for(let n in t)e.get(n)?.reject();i.cleanup(t)}function GV(t,i){for(let e of i)t.hydrating.set(e,Promise.withResolvers())}function WV(t){return new Promise(i=>On(i,{injector:t}))}function qV(t){return Lo(this,null,function*(){let{tNode:i,lView:e}=t,n=Pc(e,i);return new Promise(o=>{KV(n,o),HV(2,e,i)})})}function KV(t,i){Array.isArray(t[Pa])||(t[Pa]=[]),t[Pa].push(i)}function QV(t,i,e){let n=[],o=[],r=[],s=[];for(let[a,l]of i){let c=e.get(a);if(c!==void 0){let p=l.data[wc],g=c;for(let v=0;vjc(t,e.blockName),t);n.addCleanupFn(e.blockName,r)}}function ZV(t,i){if(i.length>0){let e=t.get(Ts);for(let n of i){let o=zF(n.el,()=>jc(t,n.blockName),t);e.addCleanupFn(n.blockName,o)}}}function JV(t,i){for(let e of i){let n=t.get(Ts),o=()=>jc(t,e.blockName),s=SV(e.delay)(o,t);n.addCleanupFn(e.blockName,s)}}function XV(t,i){for(let e of i)jc(t,e.blockName)}function N(t,i,e,n){let o=xe(),r=Is();if(jn(o,r,i)){let s=Bt(),a=Ga();wI(a,o,t,i,e,n)}return N}function gy(t,i,e,n){return jn(t,Is(),e)?i+Yn(e)+n:ln}function eB(t,i,e,n,o,r){let s=I_(),a=Va(t,s,e,o);return Mc(2),a?i+Yn(e)+n+Yn(o)+r:ln}function tB(t,i,e,n,o,r,s,a){let l=I_(),c=uy(t,l,e,o,s);return Mc(3),c?i+Yn(e)+n+Yn(o)+r+Yn(s)+a:ln}function nB(t,i,e,n,o,r,s,a,l,c){let p=I_(),g=Lc(t,p,e,o,s,l);return Mc(4),g?i+Yn(e)+n+Yn(o)+r+Yn(s)+a+Yn(l)+c:ln}function iB(t,i,e,n,o,r){let s=xe(),a=gy(s,i,e,n);if(a!==ln){let l=Ga();wI(l,s,t,a,o,r)}return iB}function np(t,i){return t<<17|i<<2}function Cs(t){return t>>17&32767}function oB(t){return(t&2)==2}function rB(t,i){return t&131071|i<<17}function K0(t){return t|2}function Ba(t){return(t&131068)>>2}function Xg(t,i){return t&-131069|i<<2}function sB(t){return(t&1)===1}function Q0(t){return t|1}function aB(t,i,e,n,o,r){let s=r?i.classBindings:i.styleBindings,a=Cs(s),l=Ba(s);t[n]=e;let c=!1,p;if(Array.isArray(e)){let g=e;p=g[1],(p===null||Dc(g,p)>0)&&(c=!0)}else p=e;if(o)if(l!==0){let v=Cs(t[a+1]);t[n+1]=np(v,a),v!==0&&(t[v+1]=Xg(t[v+1],n)),t[a+1]=rB(t[a+1],n)}else t[n+1]=np(a,0),a!==0&&(t[a+1]=Xg(t[a+1],n)),a=n;else t[n+1]=np(l,0),a===0?a=n:t[l+1]=Xg(t[l+1],n),l=n;c&&(t[n+1]=K0(t[n+1])),jw(t,p,n,!0),jw(t,p,n,!1),lB(i,p,t,n,r),s=np(a,l),r?i.classBindings=s:i.styleBindings=s}function lB(t,i,e,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof i=="string"&&Dc(r,i)>=0&&(e[n+1]=Q0(e[n+1]))}function jw(t,i,e,n){let o=t[e+1],r=i===null,s=n?Cs(o):Ba(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];cB(l,i)&&(a=!0,t[s+1]=n?Q0(c):K0(c)),s=n?Cs(c):Ba(c)}a&&(t[e+1]=n?K0(o):Q0(o))}function cB(t,i){return t===null||i==null||(Array.isArray(t)?t[1]:t)===i?!0:Array.isArray(t)&&typeof i=="string"?Dc(t,i)>=0:!1}var on={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gS(t){return t.substring(on.key,on.keyEnd)}function dB(t){return t.substring(on.value,on.valueEnd)}function uB(t){return vS(t),_S(t,ja(t,0,on.textEnd))}function _S(t,i){let e=on.textEnd;return e===i?-1:(i=on.keyEnd=hB(t,on.key=i,e),ja(t,i,e))}function pB(t){return vS(t),yS(t,ja(t,0,on.textEnd))}function yS(t,i){let e=on.textEnd,n=on.key=ja(t,i,e);return e===n?-1:(n=on.keyEnd=fB(t,n,e),n=$w(t,n,e,58),n=on.value=ja(t,n,e),n=on.valueEnd=mB(t,n,e),$w(t,n,e,59))}function vS(t){on.key=0,on.keyEnd=0,on.value=0,on.valueEnd=0,on.textEnd=t.length}function ja(t,i,e){for(;i32;)i++;return i}function fB(t,i,e){let n;for(;i=65&&(n&-33)<=90||n>=48&&n<=57);)i++;return i}function $w(t,i,e,n){return i=ja(t,i,e),i32&&(a=s),r=o,o=n,n=l&-33}return a}function Hw(t,i,e,n){let o=-1,r=e;for(;r=0;e=yS(i,e))ES(t,gS(i),dB(i))}function re(t){CS(xB,_B,t,!0)}function _B(t,i){for(let e=uB(i);e>=0;e=_S(i,e))Qp(t,gS(i),!0)}function bS(t,i,e,n){let o=xe(),r=Bt(),s=Mc(2);if(r.firstUpdatePass&&xS(r,t,s,n),i!==ln&&jn(o,s,i)){let a=r.data[Yi()];IS(r,a,o,o[Ct],t,o[s+1]=IB(i,e),n,s)}}function CS(t,i,e,n){let o=Bt(),r=Mc(2);o.firstUpdatePass&&xS(o,null,r,n);let s=xe();if(e!==ln&&jn(s,r,e)){let a=o.data[Yi()];if(SS(a,n)&&!wS(o,r)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=o0(l,e||"")),Y0(o,a,s,e,n)}else EB(o,a,s,s[Ct],s[r+1],s[r+1]=wB(t,i,e),n,r)}}function wS(t,i){return i>=t.expandoStartIndex}function xS(t,i,e,n){let o=t.data;if(o[e+1]===null){let r=o[Yi()],s=wS(t,e);SS(r,n)&&i===null&&!s&&(i=!1),i=yB(o,r,i,n),aB(o,r,i,e,s,n)}}function yB(t,i,e,n){let o=S_(t),r=n?i.residualClasses:i.residualStyles;if(o===null)(n?i.classBindings:i.styleBindings)===0&&(e=e0(null,t,i,e,n),e=Ic(e,i.attrs,n),r=null);else{let s=i.directiveStylingLast;if(s===-1||t[s]!==o)if(e=e0(o,t,i,e,n),r===null){let l=vB(t,i,n);l!==void 0&&Array.isArray(l)&&(l=e0(null,t,i,l[1],n),l=Ic(l,i.attrs,n),bB(t,i,n,l))}else r=CB(t,i,n)}return r!==void 0&&(n?i.residualClasses=r:i.residualStyles=r),e}function vB(t,i,e){let n=e?i.classBindings:i.styleBindings;if(Ba(n)!==0)return t[Cs(n)]}function bB(t,i,e,n){let o=e?i.classBindings:i.styleBindings;t[Cs(o)]=n}function CB(t,i,e){let n,o=i.directiveEnd;for(let r=1+i.directiveStylingLast;r0;){let l=t[o],c=Array.isArray(l),p=c?l[1]:l,g=p===null,v=e[o+1];v===ln&&(v=g?Vn:void 0);let y=g?Vg(v,n):p===n?v:void 0;if(c&&!Bp(y)&&(y=Vg(l,n)),Bp(y)&&(a=y,s))return a;let x=t[o+1];o=s?Cs(x):Ba(x)}if(i!==null){let l=r?i.residualClasses:i.residualStyles;l!=null&&(a=Vg(l,n))}return a}function Bp(t){return t!==void 0}function IB(t,i){return t==null||t===""||(typeof i=="string"?t=t+i:typeof t=="object"&&(t=Zn(ai(t)))),t}function SS(t,i){return(t.flags&(i?8:16))!==0}var Z0=class{destroy(i){}updateValue(i,e){}swap(i,e){let n=Math.min(i,e),o=Math.max(i,e),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(i,e){this.attach(e,this.detach(i))}};function t0(t,i,e,n,o){return t===e&&Object.is(i,n)?1:Object.is(o(t,i),o(e,n))?-1:0}function SB(t,i,e){let n,o,r=0,s=t.length-1,a=void 0;if(Array.isArray(i)){let l=i.length-1;for(;r<=s&&r<=l;){let c=t.at(r),p=i[r],g=t0(r,c,r,p,e);if(g!==0){g<0&&t.updateValue(r,p),r++;continue}let v=t.at(s),y=i[l],x=t0(s,v,l,y,e);if(x!==0){x<0&&t.updateValue(s,y),s--,l--;continue}let P=e(r,c),j=e(s,v),q=e(r,p);if(Object.is(q,j)){let ie=e(l,y);Object.is(ie,P)?(t.swap(r,s),t.updateValue(s,y),l--,s--):t.move(s,r),t.updateValue(r,p),r++;continue}if(n??=new jp,o??=Gw(t,r,s,e),J0(t,n,r,q))t.updateValue(r,p),r++,s++;else if(o.has(q))n.set(P,t.detach(r)),s--;else{let ie=t.create(r,i[r]);t.attach(r,ie),r++,s++}}for(;r<=l;)Uw(t,n,e,r,i[r]),r++}else if(i!=null){let l=i[Symbol.iterator](),c=l.next();for(;!c.done&&r<=s;){let p=t.at(r),g=c.value,v=t0(r,p,r,g,e);if(v!==0)v<0&&t.updateValue(r,g),r++,c=l.next();else{n??=new jp,o??=Gw(t,r,s,e);let y=e(r,g);if(J0(t,n,r,y))t.updateValue(r,g),r++,s++,c=l.next();else if(!o.has(y))t.attach(r,t.create(r,g)),r++,s++,c=l.next();else{let x=e(r,p);n.set(x,t.detach(r)),s--}}}for(;!c.done;)Uw(t,n,e,t.length,c.value),c=l.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(l=>{t.destroy(l)})}function J0(t,i,e,n){return i!==void 0&&i.has(n)?(t.attach(e,i.get(n)),i.delete(n),!0):!1}function Uw(t,i,e,n,o){if(J0(t,i,n,e(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function Gw(t,i,e,n){let o=new Set;for(let r=i;r<=e;r++)o.add(n(r,t.at(r)));return o}var jp=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let n=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,n]of this.kvMap)if(i(n,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),i(n,e)}}};function ci(t,i){Ji("NgControlFlow");let e=xe(),n=Is(),o=e[n]!==ln?e[n]:-1,r=o!==-1?$p(e,It+o):void 0,s=0;if(jn(e,n,t)){let a=Je(null);try{if(r!==void 0&&ny(r,s),t!==-1){let l=It+t,c=$p(e,l),p=n_(e[Ne],l),g=La(c,p.tView.ssrId),v=Ya(e,p,i,{dehydratedView:g});Za(c,v,s,vs(p,g))}}finally{Je(a)}}else if(r!==void 0){let a=VI(r,s);a!==void 0&&(a[sn]=i)}}var X0=class{lContainer;$implicit;$index;constructor(i,e,n){this.lContainer=i,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-xn}};function TB(t,i){return i}var e_=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,n){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=n}};function DB(t,i,e,n,o,r,s,a,l,c,p,g,v){Ji("NgControlFlow");let y=xe(),x=Bt(),P=l!==void 0,j=xe(),q=a?s.bind(j[Bn][sn]):s,ie=new e_(P,q);j[It+t]=ie,Vp(y,x,t+1,i,e,n,o,xr(x.consts,r)),P&&Vp(y,x,t+2,l,c,p,g,xr(x.consts,v))}var t_=class extends Z0{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,n){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-xn}at(i){return this.getLView(i)[sn].$implicit}attach(i,e){let n=e[Di];this.needsIndexUpdate||=i!==this.length,Za(this.lContainer,e,i,vs(this.templateTNode,n))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,MB(this.lContainer,i)}create(i,e){let n=La(this.lContainer,this.templateTNode.tView.ssrId),o=Ya(this.hostLView,this.templateTNode,new X0(this.lContainer,e,i),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(i){yh(i[Ne],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[sn].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(Ir(!0),U_(n,o,Kx()));function PB(t,i,e,n,o,r){let s=i[Di],a=!s||Ua()||Ds(e)||kc(s,r);if(Ir(a),a)return U_(n,o,Kx());let l=xh(s,t,i,e);return WE(s,r)&&dh(s,r,l.nextSibling),s&&(gE(e)||_E(l))&&xs(e)&&(wN(e),mI(l)),l}function kB(){TS=PB}function AB(t,i,e,n,o){let r=i.consts,s=xr(r,n),a=Nc(i,t,8,"ng-container",s);s!==null&&V0(a,s,!0);let l=xr(r,o);return w_()&&iy(i,e,a,l,Y_),a.mergedAttrs=Na(a.mergedAttrs,a.attrs),i.queries!==null&&i.queries.elementStart(i,a),a}function se(t,i,e){let n=xe(),o=Bt(),r=t+It,s=o.firstCreatePass?AB(r,o,n,i,e):o.data[r];Es(s,!0);let a=DS(o,n,s,t);return n[r]=a,oh()&&vh(o,n,a,s),qa(a,n),eh(s)&&(mh(o,n,s),j_(o,s,n)),e!=null&&Q_(n,s),se}function ae(){let t=En(),i=Bt();return x_()?E_():(t=t.parent,Es(t,!1)),i.firstCreatePass&&(M_(i,t),b_(t)&&i.queries.elementEnd(t)),ae}function le(t,i,e){return se(t,i,e),ae(),le}var DS=(t,i,e,n)=>(Ir(!0),hI(i[Ct],""));function NB(t,i,e,n){let o,r=i[Di],s=!r||Ua()||kc(r,n)||Ds(e);if(Ir(s),s)return hI(i[Ct],"");let a=xh(r,t,i,e),l=nL(r,n);return dh(r,n,a),o=Eh(l,a),o}function FB(){DS=NB}function U(){return xe()}function _y(t,i,e){let n=xe(),o=Is();if(jn(n,o,i)){let r=Bt(),s=Ga(),a=S_(r.data),l=xI(a,s,n);gh(r,s,n,t,i,l,e,!0)}return _y}var cs=void 0;function LB(t){let i=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return i===1&&e===0?1:5}var VB=["en",[["a","p"],["AM","PM"],cs],[["AM","PM"],cs,cs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],cs,[["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"]],cs,[["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}",cs,"{1} 'at' {0}",cs],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",LB],mc={};function OS(t,i,e){typeof i!="string"&&(e=i,i=t[Vt.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),mc[i]=t,e&&(mc[i][Vt.ExtraData]=e)}function ti(t){let i=BB(t),e=Ww(i);if(e)return e;let n=i.split("-")[0];if(e=Ww(n),e)return e;if(n==="en")return VB;throw new ne(701,!1)}function Ww(t){return t in mc||(mc[t]=Cn.ng&&Cn.ng.common&&Cn.ng.common.locales&&Cn.ng.common.locales[t]),mc[t]}var Vt=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}(Vt||{});function BB(t){return t.toLowerCase().replace(/_/g,"-")}var Hp="en-US",jB="USD";var $B=Hp;function HB(t){typeof t=="string"&&($B=t.toLowerCase().replace(/_/g,"-"))}var MS=(t,i,e)=>{};function qw(t){MS=t}function R(t,i,e,n){let o=xe(),r=Bt(),s=En();return vy(r,o,o[Ct],s,t,i,n),R}function yy(t,i){let e=En(),n=xe(),o=Bt(),r=S_(o.data),s=xI(r,e,n);return vy(o,n,s,e,t,i),yy}function zB(t,i,e,n){let o=t.cleanup;if(o!=null)for(let r=0;rl?a[l]:null}typeof s=="string"&&(r+=2)}return null}function vy(t,i,e,n,o,r,s){let a=eh(n),c=t.firstCreatePass?jx(t):null,p=i[sn],g=Bx(i),v=!0;if(n.type&3||s){let y=Qi(n,i),x=s?s(y):y,P=g.length,j=s?ie=>s(Ki(ie[n.index])):n.index,q=null;if(!s&&a&&(q=zB(t,i,o,n.index)),q!==null){let ie=q.__ngLastListenerFn__||q;ie.__ngNextListenerFn__=r,q.__ngLastListenerFn__=r,v=!1}else{r=Yw(n,i,p,r),MS(x,o,r);let ie=e.listen(x,o,r);g.push(r,ie),c&&c.push(o,j,P,P+1)}}else r=Yw(n,i,p,r);if(v){let y=n.outputs?.[o],x=n.hostDirectiveOutputs?.[o];if(x&&x.length)for(let P=0;P=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),i[e]=n}function ge(t){let i=IN();return th(i,It+t)}function E(t,i=""){let e=xe(),n=Bt(),o=t+It,r=n.firstCreatePass?Nc(n,o,1,i,null):n.data[o],s=kS(n,e,r,i,t);e[o]=s,oh()&&vh(n,e,s,r),Es(r,!1)}var kS=(t,i,e,n,o)=>(Ir(!0),pI(i[Ct],n));function qB(t,i,e,n,o){let r=i[Di],s=!r||Ua()||Ds(e)||kc(r,o);return Ir(s),s?pI(i[Ct],n):xh(r,t,i,e)}function KB(){kS=qB}function B(t){return oe("",t,""),B}function oe(t,i,e){let n=xe(),o=gy(n,t,i,e);return o!==ln&&Mh(n,Yi(),o),oe}function di(t,i,e,n,o){let r=xe(),s=eB(r,t,i,e,n,o);return s!==ln&&Mh(r,Yi(),s),di}function Cy(t,i,e,n,o,r,s){let a=xe(),l=tB(a,t,i,e,n,o,r,s);return l!==ln&&Mh(a,Yi(),l),Cy}function QB(t,i,e,n,o,r,s,a,l){let c=xe(),p=nB(c,t,i,e,n,o,r,s,a,l);return p!==ln&&Mh(c,Yi(),p),QB}function Mh(t,i,e){let n=Nx(i,t);ZL(t[Ct],n,e)}function pn(t,i,e){mE(i)&&(i=i());let n=xe(),o=Is();if(jn(n,o,i)){let r=Bt(),s=Ga();gh(r,s,n,t,i,n[Ct],e,!1)}return pn}function Sn(t,i){let e=mE(t);return e&&t.set(i),e}function hn(t,i){let e=xe(),n=Bt(),o=En();return vy(n,e,e[Ct],o,t,i),hn}function YB(t,i,e){let n=Bt();if(n.firstCreatePass){let o=qi(t);i_(e,n.data,n.blueprint,o,!0),i_(i,n.data,n.blueprint,o,!1)}}function i_(t,i,e,n,o){if(t=wn(t),Array.isArray(t))for(let r=0;r>20;if(ka(t)||!t.multi){let y=new _s(c,o,b),x=i0(l,i,o?p:p+v,g);x===-1?(g0(xp(a,s),r,l),n0(r,t,i.length),i.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(y),s.push(y)):(e[x]=y,s[x]=y)}else{let y=i0(l,i,p+v,g),x=i0(l,i,p,p+v),P=y>=0&&e[y],j=x>=0&&e[x];if(o&&!j||!o&&!P){g0(xp(a,s),r,l);let q=XB(o?JB:ZB,e.length,o,n,c);!o&&j&&(e[x].providerFactory=q),n0(r,t,i.length,0),i.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(q),s.push(q)}else{let q=AS(e[o?x:y],c,!o&&n);n0(r,t,y>-1?y:x,q)}!o&&n&&j&&e[x].componentProviders++}}}function n0(t,i,e,n){let o=ka(i),r=eN(i);if(o||r){let l=(r?wn(i.useClass):i).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&i.multi){let p=c.indexOf(e);p===-1?c.push(e,[n,l]):c[p+1].push(n,l)}else c.push(e,l)}}}function AS(t,i,e){return e&&t.componentProviders++,t.multi.push(i)-1}function i0(t,i,e,n){for(let o=e;o{e.providersResolver=(n,o)=>YB(n,o?o(t):t,i)}}function Ht(t,i,e){let n=Oi()+t,o=xe();return o[n]===ln?tr(o,n,e?i.call(e):i()):Th(o,n)}function ce(t,i,e,n){return FS(xe(),Oi(),t,i,e,n)}function Ge(t,i,e,n,o){return LS(xe(),Oi(),t,i,e,n,o)}function eo(t,i,e,n,o,r){return VS(xe(),Oi(),t,i,e,n,o,r)}function mpe(t,i,e,n,o,r,s){return e5(xe(),Oi(),t,i,e,n,o,r,s)}function gpe(t,i,e,n,o,r,s,a){let l=Oi()+t,c=xe(),p=Lc(c,l,e,n,o,r);return jn(c,l+4,s)||p?tr(c,l+5,a?i.call(a,e,n,o,r,s):i(e,n,o,r,s)):Th(c,l+5)}function _pe(t,i,e,n,o,r,s,a,l){let c=Oi()+t,p=xe(),g=Lc(p,c,e,n,o,r);return Va(p,c+4,s,a)||g?tr(p,c+6,l?i.call(l,e,n,o,r,s,a):i(e,n,o,r,s,a)):Th(p,c+6)}function ype(t,i,e,n,o,r,s,a,l,c){let p=Oi()+t,g=xe(),v=Lc(g,p,e,n,o,r);return uy(g,p+4,s,a,l)||v?tr(g,p+7,c?i.call(c,e,n,o,r,s,a,l):i(e,n,o,r,s,a,l)):Th(g,p+7)}function NS(t,i,e,n){return t5(xe(),Oi(),t,i,e,n)}function $c(t,i){let e=t[i];return e===ln?void 0:e}function FS(t,i,e,n,o,r){let s=i+e;return jn(t,s,o)?tr(t,s+1,r?n.call(r,o):n(o)):$c(t,s+1)}function LS(t,i,e,n,o,r,s){let a=i+e;return Va(t,a,o,r)?tr(t,a+2,s?n.call(s,o,r):n(o,r)):$c(t,a+2)}function VS(t,i,e,n,o,r,s,a){let l=i+e;return uy(t,l,o,r,s)?tr(t,l+3,a?n.call(a,o,r,s):n(o,r,s)):$c(t,l+3)}function e5(t,i,e,n,o,r,s,a,l){let c=i+e;return Lc(t,c,o,r,s,a)?tr(t,c+4,l?n.call(l,o,r,s,a):n(o,r,s,a)):$c(t,c+4)}function t5(t,i,e,n,o,r){let s=i+e,a=!1;for(let l=0;l=0;e--){let n=i[e];if(t===n.name)return n}}function T(t,i,e){let n=t+It,o=xe(),r=th(o,n);return wy(o,n)?FS(o,Oi(),i,r.transform,e,r):r.transform(e)}function Pt(t,i,e,n){let o=t+It,r=xe(),s=th(r,o);return wy(r,o)?LS(r,Oi(),i,s.transform,e,n,s):s.transform(e,n)}function ui(t,i,e,n,o){let r=t+It,s=xe(),a=th(s,r);return wy(s,r)?VS(s,Oi(),i,a.transform,e,n,o,a):a.transform(e,n,o)}function wy(t,i){return t[Ne].data[i].pure}function we(t,i){return wh(t,i)}var ip=null;function i5(t){ip!==null&&(t.defaultEncapsulation!==ip.defaultEncapsulation||t.preserveWhitespaces!==ip.preserveWhitespaces)||(ip=t)}var ws=class{full;major;minor;patch;constructor(i){this.full=i;let e=i.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},xy=new ws("19.2.3"),r_=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},Rh=(()=>{class t{compileModuleSync(e){return new Lp(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let n=this.compileModuleSync(e),o=xx(e),r=cI(o.declarations).reduce((s,a)=>{let l=qo(a);return l&&s.push(new bs(l)),s},[]);return new r_(n,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),o5=new M("");function r5(t,i,e){let n=new Lp(e);return Promise.resolve(n)}function Zw(t){for(let i=t.length-1;i>=0;i--)if(t[i]!==void 0)return t[i]}var s5=(()=>{class t{zone=C(ue);changeDetectionScheduler=C(ys);applicationRef=C(Qt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function a5({ngZoneFactory:t,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return t??=()=>new ue(Ce(k({},BS()),{scheduleInRootZone:e})),[{provide:ue,useFactory:t},{provide:Wo,multi:!0,useFactory:()=>{let n=C(s5,{optional:!0});return()=>n.initialize()}},{provide:Wo,multi:!0,useFactory:()=>{let n=C(l5);return()=>{n.initialize()}}},i===!0?{provide:cE,useValue:!0}:[],{provide:dE,useValue:e??lE}]}function BS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var l5=(()=>{class t{subscription=new rt;initialized=!1;zone=C(ue);pendingTasks=C(Zi);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(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var c5=(()=>{class t{appRef=C(Qt);taskService=C(Zi);ngZone=C(ue);zonelessEnabled=C(P_);tracing=C(Qa,{optional:!0});disableScheduling=C(cE,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new rt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ip):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(dE,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sp||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let n=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(n))return;let o=this.useMicrotaskScheduler?aw:uE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ip+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){throw this.taskService.remove(e),n}finally{this.cleanup()}this.useMicrotaskScheduler=!0,aw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function d5(){return typeof $localize<"u"&&$localize.locale||Hp}var Xa=new M("",{providedIn:"root",factory:()=>C(Xa,et.Optional|et.SkipSelf)||d5()}),jS=new M("",{providedIn:"root",factory:()=>jB});var zp=new M(""),u5=new M("");function uc(t){return!t.moduleRef}function p5(t){let i=uc(t)?t.r3Injector:t.moduleRef.injector,e=i.get(ue);return e.run(()=>{uc(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=i.get(bo,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{n.handleError(r)}})}),uc(t)){let r=()=>i.destroy(),s=t.platformInjector.get(zp);s.add(r),i.onDestroy(()=>{o.unsubscribe(),s.delete(r)})}else{let r=()=>t.moduleRef.destroy(),s=t.platformInjector.get(zp);s.add(r),t.moduleRef.onDestroy(()=>{dp(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(r)})}return f5(n,e,()=>{let r=i.get(fS);return r.runInitializers(),r.donePromise.then(()=>{let s=i.get(Xa,Hp);if(HB(s||Hp),!i.get(u5,!0))return uc(t)?i.get(Qt):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(uc(t)){let l=i.get(Qt);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return h5(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function h5(t,i){let e=t.injector.get(Qt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>e.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new ne(-403,!1);i.push(t)}function f5(t,i,e){try{let n=e();return Dr(n)?n.catch(o=>{throw i.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw i.runOutsideAngular(()=>t.handleError(n)),n}}var $S=(()=>{class t{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,n){let o=n?.scheduleInRootZone,r=()=>tF(n?.ngZone,Ce(k({},BS({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=n?.ignoreChangesOutsideZone,a=[a5({ngZoneFactory:r,ignoreChangesOutsideZone:s}),{provide:ys,useExisting:c5}],l=oV(e.moduleType,this.injector,a);return p5({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,n=[]){let o=mS({},n);return r5(this.injector,o,e).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ne(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let e=this._injector.get(zp,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(n){return new(n||t)(L(Qe))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),gc=null,HS=new M("");function m5(t){if(gc&&!gc.get(HS,!1))throw new ne(400,!1);FV(),gc=t;let i=t.get($S);return y5(t),i}function Ey(t,i,e=[]){let n=`Platform: ${i}`,o=new M(n);return(r=[])=>{let s=zS();if(!s||s.injector.get(HS,!1)){let a=[...e,...r,{provide:o,useValue:!0}];t?t(a):m5(g5(a,n))}return _5(o)}}function g5(t=[],i){return Qe.create({name:i,providers:[{provide:Yp,useValue:"platform"},{provide:zp,useValue:new Set([()=>gc=null])},...t]})}function _5(t){let i=zS();if(!i)throw new ne(401,!1);return i}function zS(){return gc?.get($S)??null}function y5(t){let i=t.get(N_,null);Xn(t,()=>{i?.forEach(e=>e())})}var dn=(()=>{class t{static __NG_ELEMENT_ID__=v5}return t})();function v5(t){return b5(En(),xe(),(t&16)===16)}function b5(t,i,e){if(xs(t)&&!e){let n=vo(t.index,i);return new Ec(n,n)}else if(t.type&175){let n=i[Bn];return new Ec(n,i)}return null}var s_=class{constructor(){}supports(i){return cS(i)}create(i){return new a_(i)}},C5=(t,i)=>i,a_=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||C5}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,n=this._removalsHead,o=0,r=null;for(;e||n;){let s=!n||e&&e.currentIndex{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),n=!0):(n&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,n,o){let r;return i===null?r=this._itTail:(r=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,r,o)):(i=this._linkedRecords===null?null:this._linkedRecords.get(n,o),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,r,o)):i=this._addAfter(new l_(e,n),r,o)),i}_verifyReinsertion(i,e,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?i=this._reinsertAfter(r,i._prev,o):i.currentIndex!=o&&(i.currentIndex=o,this._addToMoves(i,o)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,e,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let o=i._prevRemoved,r=i._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(i,e,n),this._addToMoves(i,n),i}_moveAfter(i,e,n){return this._unlink(i),this._insertAfter(i,e,n),this._addToMoves(i,n),i}_addAfter(i,e,n){return this._insertAfter(i,e,n),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,n){let o=e===null?this._itHead:e._next;return i._next=o,i._prev=e,o===null?this._itTail=i:o._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new Up),this._linkedRecords.put(i),i.currentIndex=n,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,n=i._next;return e===null?this._itHead=n:e._next=n,n===null?this._itTail=e:n._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Up),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},l_=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},c_=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let n;for(n=this._head;n!==null;n=n._nextDup)if((e===null||e<=n.currentIndex)&&Object.is(n.trackById,i))return n;return null}remove(i){let e=i._prevDup,n=i._nextDup;return e===null?this._head=n:e._nextDup=n,n===null?this._tail=e:n._prevDup=e,this._head===null}},Up=class{map=new Map;put(i){let e=i.trackById,n=this.map.get(e);n||(n=new c_,this.map.set(e,n)),n.add(i)}get(i,e){let n=i,o=this.map.get(n);return o?o.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Jw(t,i,e){let n=t.previousIndex;if(n===null)return n;let o=0;return e&&n{if(e&&e.key===o)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,n);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let n=i._prev;return e._next=i,e._prev=n,i._prev=e,n&&(n._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let o=this._records.get(i);this._maybeAddToChanges(o,e);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new p_(i);return this._records.set(i,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(n=>e(i[n],n))}},p_=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function Xw(){return new Ph([new s_])}var Ph=(()=>{class t{factories;static \u0275prov=S({token:t,providedIn:"root",factory:Xw});constructor(e){this.factories=e}static create(e,n){if(n!=null){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Xw()),deps:[[t,new yx,new Kp]]}}find(e){let n=this.factories.find(o=>o.supports(e));if(n!=null)return n;throw new ne(901,!1)}}return t})();function ex(){return new kh([new d_])}var kh=(()=>{class t{static \u0275prov=S({token:t,providedIn:"root",factory:ex});factories;constructor(e){this.factories=e}static create(e,n){if(n){let o=n.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||ex()),deps:[[t,new yx,new Kp]]}}find(e){let n=this.factories.find(o=>o.supports(e));if(n)return n;throw new ne(901,!1)}}return t})();var US=Ey(null,"core",[]),GS=(()=>{class t{constructor(e){}static \u0275fac=function(n){return new(n||t)(L(Qt))};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var op=new WeakSet,tx="",up=[];function nx(t){return t.get(PE,IF)}function Iy(){let t=[{provide:PE,useFactory:()=>{let i=!0;{let e=C(Co);i=!!window._ejsas?.[e]}return i&&Ji("NgEventReplay"),i}}];return t.push({provide:Wo,useValue:()=>{let i=C(Qt),{injector:e}=i;if(!op.has(i)){let n=C(Op);nx(e)&&qw((o,r,s)=>{o.nodeType===Node.ELEMENT_NODE&&(UF(o,r,s),VE(o,n))})}},multi:!0},{provide:Or,useFactory:()=>{let i=C(Co),e=C(Qt),{injector:n}=e;return()=>{!nx(n)||op.has(e)||(op.add(e),e.onDestroy(()=>{op.delete(e),Lg(i),qw(()=>{})}),e.whenStable().then(()=>{if(e.destroyed)return;let o=n.get(jE);w5(o,n);let r=n.get(Op);r.get(tx)?.forEach(BE),r.delete(tx);let s=o.instance;tL(n)?e.onDestroy(()=>s.cleanUp()):s.cleanUp()}))}},multi:!0}),t}var w5=(t,i)=>{let e=i.get(Co),n=window._ejsas[e],o=t.instance=new GC(new Qu(n.c));for(let a of n.et)o.addEvent(a);for(let a of n.etc)o.addEvent(a);let r=WC(e);o.replayEarlyEventInfos(r),Lg(e);let s=new Yu(a=>{x5(i,a,a.currentTarget)});UC(o,s)};function x5(t,i,e){let n=(e&&e.getAttribute(ch))??"";/d\d+/.test(n)?E5(n,t,i,e):i.eventPhase===Fg.REPLAY&&$E(i,e)}function E5(t,i,e,n){up.push({event:e,currentTarget:n}),jc(i,t,I5)}function I5(t){let i=[...up],e=new Set(t);up=[];for(let{event:n,currentTarget:o}of i){let r=o.getAttribute(ch);e.has(r)?$E(n,o):up.push({event:n,currentTarget:o})}}var ix=!1;var ox=!1;function S5(){ix||(ix=!0,ZF(),kB(),KB(),FB(),CV(),V4(),u4(),s3())}function T5(){ox||(ox=!0,lL())}function D5(t){return t.whenStable()}function WS(){let t=[{provide:Ju,useFactory:()=>{let i=!0;return i=!!C(Ss,{optional:!0})?.get(HE,null),i&&Ji("NgHydration"),i}},{provide:Wo,useValue:()=>{o4(!1),C(Ju)&&(fL(Ka()),S5())},multi:!0}];return t.push({provide:RE,useFactory:()=>C(Ju)},{provide:Or,useFactory:()=>{if(C(Ju)){let i=C(Qt);return()=>{D5(i).then(()=>{i.destroyed||HI(i)})}}return()=>{}},multi:!0}),Eo(t)}function qS(){let t=[Iy(),{provide:kE,useValue:!0},{provide:Ts,useClass:WF},{provide:Wo,useValue:()=>{T5(),Ji("NgIncrementalHydration")},multi:!0}];return t.push({provide:Or,useFactory:()=>{let i=C(Qe),e=Ka();return()=>{let n=hL(i),o=t4(e,e.body);QV(i,n,o),sL(e,i)}},multi:!0}),t}function H(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ot(t,i=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):i}function Mn(t){return J1(t)}function pt(t,i){return og(t,i?.equal)}var h_=class{[An];constructor(i){this[An]=i}destroy(){this[An].destroy()}};function pi(t,i){!i?.injector&&Jp(pi);let e=i?.injector??C(Qe),n=i?.manualCleanup!==!0?e.get(Sr):null,o,r=e.get(V_,null,{optional:!0}),s=e.get(ys);return r!==null&&!i?.forceRoot?(o=R5(r.view,s,t),n instanceof Ep&&n._lView===r.view&&(n=null)):o=P5(t,e.get(pS),s),o.injector=e,n!==null&&(o.onDestroyFn=n.onDestroy(()=>o.destroy())),new h_(o)}var KS=Ce(k({},aa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Cc,run(){if(this.dirty=!1,this.hasRun&&!pu(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??=[]).push(n),i=ic(this),e=vp(!1);try{this.maybeCleanup(),this.fn(t)}finally{vp(e),uu(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),O5=Ce(k({},KS),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){oc(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),M5=Ce(k({},KS),{consumerMarkedDirty(){this.view[je]|=8192,za(this.view),this.notifier.notify(13)},destroy(){oc(this),this.onDestroyFn(),this.maybeCleanup(),this.view[fs]?.delete(this)}});function R5(t,i,e){let n=Object.create(M5);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=i,n.fn=e,t[fs]??=new Set,t[fs].add(n),n.consumerMarkedDirty(n),n}function P5(t,i,e){let n=Object.create(O5);return n.fn=t,n.scheduler=i,n.notifier=e,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(12),n}function Mr(t,i){let e=qo(t),n=i.elementInjector||Zp();return new bs(e).create(n,i.projectableNodes,i.hostElement,i.environmentInjector)}function QS(t){let i=qo(t);if(!i)return null;let e=new bs(i);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 i.standalone},get isSignal(){return i.signals}}}var vpe=new M("",{providedIn:"platform",factory:()=>null});var rT=null;function no(){return rT}function sT(t){rT??=t}var Hh=class{};var De=new M(""),Ly=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(k5),providedIn:"platform"})}return t})(),aT=new M(""),k5=(()=>{class t extends Ly{_location;_history;_doc=C(De);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return no().getBaseHref(this._doc)}onPopState(e){let n=no().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=no().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.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,n,o){this._history.pushState(e,n,o)}replaceState(e,n,o){this._history.replaceState(e,n,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Vy(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function YS(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function ir(t){return t&&t[0]!=="?"?`?${t}`:t}var rr=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(By),providedIn:"root"})}return t})(),lT=new M(""),By=(()=>{class t extends rr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??C(De).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Vy(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${n}${o}`:n}pushState(e,n,o,r){let s=this.prepareExternalUrl(o+ir(r));this._platformLocation.pushState(e,n,s)}replaceState(e,n,o,r){let s=this.prepareExternalUrl(o+ir(r));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(L(Ly),L(lT,8))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cT=(()=>{class t extends rr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}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 n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=Vy(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,o,r){let s=this.prepareExternalUrl(o+ir(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,o,r){let s=this.prepareExternalUrl(o+ir(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(L(Ly),L(lT,8))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Ri=(()=>{class t{_subject=new K;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=F5(YS(ZS(n))),this._locationStrategy.onPopState(o=>{this._subject.next({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,n=""){return this.path()==this.normalize(e+ir(n))}normalize(e){return t.stripTrailingSlash(N5(this._basePath,ZS(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",o=null){this._locationStrategy.pushState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ir(n)),o)}replaceState(e,n="",o=null){this._locationStrategy.replaceState(o,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ir(n)),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.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(o=>o(e,n))}subscribe(e,n,o){return this._subject.subscribe({next:e,error:n??void 0,complete:o??void 0})}static normalizeQueryParams=ir;static joinWithSlash=Vy;static stripTrailingSlash=YS;static \u0275fac=function(n){return new(n||t)(L(rr))};static \u0275prov=S({token:t,factory:()=>A5(),providedIn:"root"})}return t})();function A5(){return new Ri(L(rr))}function N5(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function ZS(t){return t.replace(/\/index.html$/,"")}function F5(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var dT={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]},uT=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(uT||{});var $n=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}($n||{}),Dt=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Dt||{}),hi=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(hi||{}),fi={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function L5(t){return ti(t)[Vt.LocaleId]}function V5(t,i,e){let n=ti(t),o=[n[Vt.DayPeriodsFormat],n[Vt.DayPeriodsStandalone]],r=Mi(o,i);return Mi(r,e)}function B5(t,i,e){let n=ti(t),o=[n[Vt.DaysFormat],n[Vt.DaysStandalone]],r=Mi(o,i);return Mi(r,e)}function j5(t,i,e){let n=ti(t),o=[n[Vt.MonthsFormat],n[Vt.MonthsStandalone]],r=Mi(o,i);return Mi(r,e)}function $5(t,i){let n=ti(t)[Vt.Eras];return Mi(n,i)}function Ah(t,i){let e=ti(t);return Mi(e[Vt.DateFormat],i)}function Nh(t,i){let e=ti(t);return Mi(e[Vt.TimeFormat],i)}function Fh(t,i){let n=ti(t)[Vt.DateTimeFormat];return Mi(n,i)}function or(t,i){let e=ti(t),n=e[Vt.NumberSymbols][i];if(typeof n>"u"){if(i===fi.CurrencyDecimal)return e[Vt.NumberSymbols][fi.Decimal];if(i===fi.CurrencyGroup)return e[Vt.NumberSymbols][fi.Group]}return n}function H5(t,i){return ti(t)[Vt.NumberFormats][i]}function z5(t){return ti(t)[Vt.Currencies]}function pT(t){if(!t[Vt.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Vt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function U5(t){let i=ti(t);return pT(i),(i[Vt.ExtraData][2]||[]).map(n=>typeof n=="string"?Sy(n):[Sy(n[0]),Sy(n[1])])}function G5(t,i,e){let n=ti(t);pT(n);let o=[n[Vt.ExtraData][0],n[Vt.ExtraData][1]],r=Mi(o,i)||[];return Mi(r,e)||[]}function Mi(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Sy(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}function W5(t,i,e="en"){let n=z5(e)[t]||dT[t]||[],o=n[1];return i==="narrow"&&typeof o=="string"?o:n[0]||t}var q5=2;function K5(t){let i,e=dT[t];return e&&(i=e[2]),typeof i=="number"?i:q5}var Q5=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lh={},Y5=/((?:[^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]*)/;function hT(t,i,e,n){let o=r8(t);i=nr(e,i)||i;let s=[],a;for(;i;)if(a=Y5.exec(i),a){s=s.concat(a.slice(1));let p=s.pop();if(!p)break;i=p}else{s.push(i);break}let l=o.getTimezoneOffset();n&&(l=mT(n,l),o=o8(o,n));let c="";return s.forEach(p=>{let g=n8(p);c+=g?g(o,e,l):p==="''"?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function zh(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function nr(t,i){let e=L5(t);if(Lh[e]??={},Lh[e][i])return Lh[e][i];let n="";switch(i){case"shortDate":n=Ah(t,hi.Short);break;case"mediumDate":n=Ah(t,hi.Medium);break;case"longDate":n=Ah(t,hi.Long);break;case"fullDate":n=Ah(t,hi.Full);break;case"shortTime":n=Nh(t,hi.Short);break;case"mediumTime":n=Nh(t,hi.Medium);break;case"longTime":n=Nh(t,hi.Long);break;case"fullTime":n=Nh(t,hi.Full);break;case"short":let o=nr(t,"shortTime"),r=nr(t,"shortDate");n=Vh(Fh(t,hi.Short),[o,r]);break;case"medium":let s=nr(t,"mediumTime"),a=nr(t,"mediumDate");n=Vh(Fh(t,hi.Medium),[s,a]);break;case"long":let l=nr(t,"longTime"),c=nr(t,"longDate");n=Vh(Fh(t,hi.Long),[l,c]);break;case"full":let p=nr(t,"fullTime"),g=nr(t,"fullDate");n=Vh(Fh(t,hi.Full),[p,g]);break}return n&&(Lh[e][i]=n),n}function Vh(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function to(t,i,e="-",n,o){let r="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,r=e));let s=String(t);for(;s.length0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Z5(a,i);let l=or(s,fi.MinusSign);return to(a,i,l,n,o)}}function J5(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function kt(t,i,e=$n.Format,n=!1){return function(o,r){return X5(o,r,t,i,e,n)}}function X5(t,i,e,n,o,r){switch(e){case 2:return j5(i,o,n)[t.getMonth()];case 1:return B5(i,o,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(r){let c=U5(i),p=G5(i,o,n),g=c.findIndex(v=>{if(Array.isArray(v)){let[y,x]=v,P=s>=y.hours&&a>=y.minutes,j=s0?Math.floor(o/60):Math.ceil(o/60);switch(t){case 0:return(o>=0?"+":"")+to(s,2,r)+to(Math.abs(o%60),2,r);case 1:return"GMT"+(o>=0?"+":"")+to(s,1,r);case 2:return"GMT"+(o>=0?"+":"")+to(s,2,r)+":"+to(Math.abs(o%60),2,r);case 3:return n===0?"Z":(o>=0?"+":"")+to(s,2,r)+":"+to(Math.abs(o%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}var e8=0,$h=4;function t8(t){let i=zh(t,e8,1).getDay();return zh(t,0,1+(i<=$h?$h:$h+7)-i)}function fT(t){let i=t.getDay(),e=i===0?-3:$h-i;return zh(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Ty(t,i=!1){return function(e,n){let o;if(i){let r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();o=1+Math.floor((s+r)/7)}else{let r=fT(e),s=t8(r.getFullYear()),a=r.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return to(o,t,or(n,fi.MinusSign))}}function jh(t,i=!1){return function(e,n){let r=fT(e).getFullYear();return to(r,t,or(n,fi.MinusSign),i)}}var Dy={};function n8(t){if(Dy[t])return Dy[t];let i;switch(t){case"G":case"GG":case"GGG":i=kt(3,Dt.Abbreviated);break;case"GGGG":i=kt(3,Dt.Wide);break;case"GGGGG":i=kt(3,Dt.Narrow);break;case"y":i=en(0,1,0,!1,!0);break;case"yy":i=en(0,2,0,!0,!0);break;case"yyy":i=en(0,3,0,!1,!0);break;case"yyyy":i=en(0,4,0,!1,!0);break;case"Y":i=jh(1);break;case"YY":i=jh(2,!0);break;case"YYY":i=jh(3);break;case"YYYY":i=jh(4);break;case"M":case"L":i=en(1,1,1);break;case"MM":case"LL":i=en(1,2,1);break;case"MMM":i=kt(2,Dt.Abbreviated);break;case"MMMM":i=kt(2,Dt.Wide);break;case"MMMMM":i=kt(2,Dt.Narrow);break;case"LLL":i=kt(2,Dt.Abbreviated,$n.Standalone);break;case"LLLL":i=kt(2,Dt.Wide,$n.Standalone);break;case"LLLLL":i=kt(2,Dt.Narrow,$n.Standalone);break;case"w":i=Ty(1);break;case"ww":i=Ty(2);break;case"W":i=Ty(1,!0);break;case"d":i=en(2,1);break;case"dd":i=en(2,2);break;case"c":case"cc":i=en(7,1);break;case"ccc":i=kt(1,Dt.Abbreviated,$n.Standalone);break;case"cccc":i=kt(1,Dt.Wide,$n.Standalone);break;case"ccccc":i=kt(1,Dt.Narrow,$n.Standalone);break;case"cccccc":i=kt(1,Dt.Short,$n.Standalone);break;case"E":case"EE":case"EEE":i=kt(1,Dt.Abbreviated);break;case"EEEE":i=kt(1,Dt.Wide);break;case"EEEEE":i=kt(1,Dt.Narrow);break;case"EEEEEE":i=kt(1,Dt.Short);break;case"a":case"aa":case"aaa":i=kt(0,Dt.Abbreviated);break;case"aaaa":i=kt(0,Dt.Wide);break;case"aaaaa":i=kt(0,Dt.Narrow);break;case"b":case"bb":case"bbb":i=kt(0,Dt.Abbreviated,$n.Standalone,!0);break;case"bbbb":i=kt(0,Dt.Wide,$n.Standalone,!0);break;case"bbbbb":i=kt(0,Dt.Narrow,$n.Standalone,!0);break;case"B":case"BB":case"BBB":i=kt(0,Dt.Abbreviated,$n.Format,!0);break;case"BBBB":i=kt(0,Dt.Wide,$n.Format,!0);break;case"BBBBB":i=kt(0,Dt.Narrow,$n.Format,!0);break;case"h":i=en(3,1,-12);break;case"hh":i=en(3,2,-12);break;case"H":i=en(3,1);break;case"HH":i=en(3,2);break;case"m":i=en(4,1);break;case"mm":i=en(4,2);break;case"s":i=en(5,1);break;case"ss":i=en(5,2);break;case"S":i=en(6,1);break;case"SS":i=en(6,2);break;case"SSS":i=en(6,3);break;case"Z":case"ZZ":case"ZZZ":i=Bh(0);break;case"ZZZZZ":i=Bh(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=Bh(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=Bh(2);break;default:return null}return Dy[t]=i,i}function mT(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function i8(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function o8(t,i,e){let o=t.getTimezoneOffset(),r=mT(i,o);return i8(t,-1*(r-o))}function r8(t){if(JS(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,r=1,s=1]=t.split("-").map(a=>+a);return zh(o,r-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Q5))return s8(n)}let i=new Date(t);if(!JS(i))throw new Error(`Unable to convert "${t}" into a date`);return i}function s8(t){let i=new Date(0),e=0,n=0,o=t[8]?i.setUTCFullYear:i.setFullYear,r=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,l=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return r.call(i,s,a,l,c),i}function JS(t){return t instanceof Date&&!isNaN(t.valueOf())}var a8=/^(\d+)?\.((\d+)(-(\d+))?)?$/,XS=22,Uh=".",Hc="0",l8=";",c8=",",Oy="#",eT="\xA4";function d8(t,i,e,n,o,r,s=!1){let a="",l=!1;if(!isFinite(t))a=or(e,fi.Infinity);else{let c=f8(t);s&&(c=h8(c));let p=i.minInt,g=i.minFrac,v=i.maxFrac;if(r){let ie=r.match(a8);if(ie===null)throw new Error(`${r} is not a valid digit info`);let Oe=ie[1],it=ie[3],Nt=ie[5];Oe!=null&&(p=My(Oe)),it!=null&&(g=My(it)),Nt!=null?v=My(Nt):it!=null&&g>v&&(v=g)}m8(c,g,v);let y=c.digits,x=c.integerLen,P=c.exponent,j=[];for(l=y.every(ie=>!ie);x0?j=y.splice(x,y.length):(j=y,y=[0]);let q=[];for(y.length>=i.lgSize&&q.unshift(y.splice(-i.lgSize,y.length).join(""));y.length>i.gSize;)q.unshift(y.splice(-i.gSize,y.length).join(""));y.length&&q.unshift(y.join("")),a=q.join(or(e,n)),j.length&&(a+=or(e,o)+j.join("")),P&&(a+=or(e,fi.Exponential)+"+"+P)}return t<0&&!l?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function u8(t,i,e,n,o){let r=H5(i,uT.Currency),s=p8(r,or(i,fi.MinusSign));return s.minFrac=K5(n),s.maxFrac=s.minFrac,d8(t,s,i,fi.CurrencyGroup,fi.CurrencyDecimal,o).replace(eT,e).replace(eT,"").trim()}function p8(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(l8),o=n[0],r=n[1],s=o.indexOf(Uh)!==-1?o.split(Uh):[o.substring(0,o.lastIndexOf(Hc)+1),o.substring(o.lastIndexOf(Hc)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(Oy));for(let p=0;p-1&&(i=i.replace(Uh,"")),(r=i.search(/e/i))>0?(o<0&&(o=r),o+=+i.slice(r+1),i=i.substring(0,r)):o<0&&(o=i.length),r=0;i.charAt(r)===Hc;r++);if(r===(a=i.length))n=[0],o=1;else{for(a--;i.charAt(a)===Hc;)a--;for(o-=r,n=[],s=0;r<=a;r++,s++)n[s]=Number(i.charAt(r))}return o>XS&&(n=n.splice(0,XS-1),e=o-1,o=1),{digits:n,exponent:e,integerLen:o}}function m8(t,i,e){if(i>e)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${e}).`);let n=t.digits,o=n.length-t.integerLen,r=Math.min(Math.max(i,o),e),s=r+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let g=s;g=5)if(s-1<0){for(let g=0;g>s;g--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o=c?x.pop():l=!1),v>=10?1:0},0);p&&(n.unshift(p),t.integerLen++)}function My(t){let i=parseInt(t);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+t);return i}function $pe(t,i,e){return OS(t,i,e)}function Wh(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[o,r]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(o.trim()===i)return decodeURIComponent(r)}return null}var Ry=/\s+/,tT=[],_t=(()=>{class t{_ngEl;_renderer;initialClasses=tT;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Ry):tT}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ry):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==n&&(o.changed=!0,o.enabled=n),o.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],o=e[1];o.changed?(this._toggleClass(n,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),o.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Ry).forEach(o=>{n?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(n){return new(n||t)(b(ye),b(wt))};static \u0275dir=te({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Py=class{$implicit;ngForOf;index;count;constructor(i,e,n,o){this.$implicit=i,this.ngForOf=e,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},at=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,o){this._viewContainer=e,this._template=n,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((o,r,s)=>{if(o.previousIndex==null)n.createEmbeddedView(this._template,new Py(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(r===null?void 0:r);else if(r!==null){let a=n.get(r);n.move(a,s),nT(a,o)}});for(let o=0,r=n.length;o{let r=n.get(o.currentIndex);nT(r,o)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(b(cn),b(Tt),b(Ph))};static \u0275dir=te({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function nT(t,i){t.context.$implicit=i.item}var ee=(()=>{class t{_viewContainer;_context=new ky;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){iT(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){iT(e,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(b(cn),b(Tt))};static \u0275dir=te({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),ky=class{$implicit=null;ngIf=null};function iT(t,i){if(t&&!t.createEmbeddedView)throw new ne(2020,!1)}var Gh=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},tl=(()=>{class t{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let n=e===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let n of this._defaultViews)n.enforceState(e)}}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return t})(),qh=(()=>{class t{ngSwitch;_view;ngSwitchCase;constructor(e,n,o){this.ngSwitch=o,o._addCase(),this._view=new Gh(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||t)(b(cn),b(Tt),b(tl,9))};static \u0275dir=te({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return t})(),gT=(()=>{class t{constructor(e,n,o){o._addDefault(new Gh(e,n))}static \u0275fac=function(n){return new(n||t)(b(cn),b(Tt),b(tl,9))};static \u0275dir=te({type:t,selectors:[["","ngSwitchDefault",""]]})}return t})();var fn=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,o){this._ngEl=e,this._differs=n,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[o,r]=e.split("."),s=o.indexOf("-")===-1?void 0:xo.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${n}${r}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(b(ye),b(kh),b(wt))};static \u0275dir=te({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),vt=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,o):!1,get:(e,n,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,o)}})}static \u0275fac=function(n){return new(n||t)(b(cn))};static \u0275dir=te({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ke]})}return t})();function jy(t,i){return new ne(2100,!1)}var Ay=class{createSubscription(i,e){return Mn(()=>i.subscribe({next:e,error:n=>{throw n}}))}dispose(i){Mn(()=>i.unsubscribe())}},Ny=class{createSubscription(i,e){return i.then(e,n=>{throw n})}dispose(i){}},g8=new Ny,_8=new Ay,lt=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(Dr(e))return g8;if(my(e))return _8;throw jy(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(b(dn,16))};static \u0275pipe=In({name:"async",type:t,pure:!1})}return t})();var y8="mediumDate",v8=new M(""),b8=new M(""),_T=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,o){this.locale=e,this.defaultTimezone=n,this.defaultOptions=o}transform(e,n,o,r){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??y8,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return hT(e,s,r||this.locale,a)}catch(s){throw jy(t,s.message)}}static \u0275fac=function(n){return new(n||t)(b(Xa,16),b(v8,24),b(b8,24))};static \u0275pipe=In({name:"date",type:t,pure:!0})}return t})();function C8(t,i){return{key:t,value:i}}var Hpe=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=oT;transform(e,n=oT){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=n!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(C8(s.key,s.currentValue))})),(o||r)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(b(kh,16))};static \u0275pipe=In({name:"keyvalue",type:t,pure:!1})}return t})();function oT(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e{class t{_locale;_defaultCurrencyCode;constructor(e,n="USD"){this._locale=e,this._defaultCurrencyCode=n}transform(e,n=this._defaultCurrencyCode,o="symbol",r,s){if(!w8(e))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=n||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=W5(a,o==="symbol"?"wide":"narrow",s):a=o);try{let l=x8(e);return u8(l,s,a,n,r)}catch(l){throw jy(t,l.message)}}static \u0275fac=function(n){return new(n||t)(b(Xa,16),b(jS,16))};static \u0275pipe=In({name:"currency",type:t,pure:!0})}return t})();function w8(t){return!(t==null||t===""||t!==t)}function x8(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Se=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})(),$y="browser",E8="server";function We(t){return t===$y}function sr(t){return t===E8}var Qh=(()=>{class t{static \u0275prov=S({token:t,providedIn:"root",factory:()=>new Fy(C(De),window)})}return t})(),Fy=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=I8(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),n=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],o-r[1])}};function I8(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let r=o.shadowRoot;if(r){let s=r.getElementById(i)||r.querySelector(`[name="${i}"]`);if(s)return s}o=n.nextNode()}}return null}var el=class{};var Gc=class{},Os=class{},So=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` `).forEach(e=>{let n=e.indexOf(":");if(n>0){let o=e.slice(0,n),r=e.slice(n+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=(i.op==="a"?this.headers.get(e):void 0)||[];o.push(...n),this.headers.set(e,o);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>r.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Uy=class{encodeKey(i){return yT(i)}encodeValue(i){return yT(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function S8(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[s,a]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var T8=/%(\d[a-f0-9])/gi,D8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function yT(t){return encodeURIComponent(t).replace(T8,(i,e)=>D8[e]??i)}function Yh(t){return`${t}`}var Pr=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Uy,i.fromString){if(i.fromObject)throw new ne(2805,!1);this.map=S8(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],o=Array.isArray(n)?n.map(Yh):[Yh(n)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let o=i[n];Array.isArray(o)?o.forEach(r=>{e.push({param:n,value:r,op:"a"})}):e.push({param:n,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Yh(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],o=n.indexOf(Yh(i.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Gy=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function O8(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function vT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function bT(t){return typeof Blob<"u"&&t instanceof Blob}function CT(t){return typeof FormData<"u"&&t instanceof FormData}function M8(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var zc="Content-Type",Zh="Accept",Qy="X-Request-URL",TT="text/plain",DT="application/json",OT=`${DT}, ${TT}, */*`,Uc=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,n,o){this.url=e,this.method=i.toUpperCase();let r;if(O8(this.method)||o?(this.body=n!==void 0?n:null,r=o):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new So,this.context??=new Gy,!this.params)this.params=new Pr,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":av.set(y,i.setHeaders[y]),c)),i.setParams&&(p=Object.keys(i.setParams).reduce((v,y)=>v.set(y,i.setParams[y]),p)),new t(e,n,s,{params:p,headers:c,context:g,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}},kr=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}(kr||{}),Wc=class{headers;status;statusText;url;ok;type;constructor(i,e=200,n="OK"){this.headers=i.headers||new So,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Jh=class t extends Wc{constructor(i={}){super(i)}type=kr.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Ms=class t extends Wc{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=kr.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Rr=class extends Wc{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},MT=200,R8=204;function Hy(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Yy=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,o={}){let r;if(e instanceof Uc)r=e;else{let l;o.headers instanceof So?l=o.headers:l=new So(o.headers);let c;o.params&&(o.params instanceof Pr?c=o.params:c=new Pr({fromObject:o.params})),r=new Uc(e,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Y(r).pipe(Hi(l=>this.handler.handle(l)));if(e instanceof Uc||o.observe==="events")return s;let a=s.pipe(de(l=>l instanceof Ms));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(z(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new ne(2806,!1);return l.body}));case"blob":return a.pipe(z(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new ne(2807,!1);return l.body}));case"text":return a.pipe(z(l=>{if(l.body!==null&&typeof l.body!="string")throw new ne(2808,!1);return l.body}));case"json":default:return a.pipe(z(l=>l.body))}case"response":return a;default:throw new ne(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new Pr().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,o={}){return this.request("PATCH",e,Hy(o,n))}post(e,n,o={}){return this.request("POST",e,Hy(o,n))}put(e,n,o={}){return this.request("PUT",e,Hy(o,n))}static \u0275fac=function(n){return new(n||t)(L(Gc))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),P8=/^\)\]\}',?\n/;function wT(t){if(t.url)return t.url;let i=Qy.toLocaleLowerCase();return t.headers.get(i)}var RT=new M(""),zy=(()=>{class t{fetchImpl=C(Wy,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=C(ue);handle(e){return new Te(n=>{let o=new AbortController;return this.doRequest(e,o.signal,n).then(qy,r=>n.error(new Rr({error:r}))),()=>o.abort()})}doRequest(e,n,o){return Lo(this,null,function*(){let r=this.createRequestInit(e),s;try{let y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,k({signal:n},r)));k8(y),o.next({type:kr.Sent}),s=yield y}catch(y){o.error(new Rr({error:y,status:y.status??0,statusText:y.statusText,url:e.urlWithParams,headers:y.headers}));return}let a=new So(s.headers),l=s.statusText,c=wT(s)??e.urlWithParams,p=s.status,g=null;if(e.reportProgress&&o.next(new Jh({headers:a,status:p,statusText:l,url:c})),s.body){let y=s.headers.get("content-length"),x=[],P=s.body.getReader(),j=0,q,ie,Oe=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Lo(this,null,function*(){for(;;){let{done:Nt,value:vn}=yield P.read();if(Nt)break;if(x.push(vn),j+=vn.length,e.reportProgress){ie=e.responseType==="text"?(ie??"")+(q??=new TextDecoder).decode(vn,{stream:!0}):void 0;let Fo=()=>o.next({type:kr.DownloadProgress,total:y?+y:void 0,loaded:j,partialText:ie});Oe?Oe.run(Fo):Fo()}}}));let it=this.concatChunks(x,j);try{let Nt=s.headers.get(zc)??"";g=this.parseBody(e,it,Nt)}catch(Nt){o.error(new Rr({error:Nt,headers:new So(s.headers),status:s.status,statusText:s.statusText,url:wT(s)??e.urlWithParams}));return}}p===0&&(p=g?MT:0),p>=200&&p<300?(o.next(new Ms({body:g,headers:a,status:p,statusText:l,url:c})),o.complete()):o.error(new Rr({error:g,headers:a,status:p,statusText:l,url:c}))})}parseBody(e,n,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(n).replace(P8,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:o});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,s)=>n[r]=s.join(",")),e.headers.has(Zh)||(n[Zh]=OT),!e.headers.has(zc)){let r=e.detectContentTypeHeader();r!==null&&(n[zc]=r)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:o}}concatChunks(e,n){let o=new Uint8Array(n),r=0;for(let s of e)o.set(s,r),r+=s.length;return o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Wy=class{};function qy(){}function k8(t){t.then(qy,qy)}function PT(t,i){return i(t)}function A8(t,i){return(e,n)=>i.intercept(e,{handle:o=>t(o,n)})}function N8(t,i,e){return(n,o)=>Xn(e,()=>i(n,r=>t(r,o)))}var F8=new M(""),Zy=new M(""),kT=new M(""),AT=new M("",{providedIn:"root",factory:()=>!0});function L8(){let t=null;return(i,e)=>{t===null&&(t=(C(F8,{optional:!0})??[]).reduceRight(A8,PT));let n=C(Zi);if(C(AT)){let r=n.add();return t(i,e).pipe(oi(()=>n.remove(r)))}else return t(i,e)}}var xT=(()=>{class t extends Gc{backend;injector;chain=null;pendingTasks=C(Zi);contributeToStability=C(AT);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Zy),...this.injector.get(kT,[])]));this.chain=n.reduceRight((o,r)=>N8(o,r,this.injector),PT)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(oi(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(L(Os),L(Lt))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var V8=/^\)\]\}',?\n/,B8=RegExp(`^${Qy}:`,"m");function j8(t){return"responseURL"in t&&t.responseURL?t.responseURL:B8.test(t.getAllResponseHeaders())?t.getResponseHeader(Qy):null}var ET=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new ne(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Pe(n.\u0275loadImpl()):Y(null)).pipe(He(()=>new Te(r=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((P,j)=>s.setRequestHeader(P,j.join(","))),e.headers.has(Zh)||s.setRequestHeader(Zh,OT),!e.headers.has(zc)){let P=e.detectContentTypeHeader();P!==null&&s.setRequestHeader(zc,P)}if(e.responseType){let P=e.responseType.toLowerCase();s.responseType=P!=="json"?P:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let P=s.statusText||"OK",j=new So(s.getAllResponseHeaders()),q=j8(s)||e.url;return l=new Jh({headers:j,status:s.status,statusText:P,url:q}),l},p=()=>{let{headers:P,status:j,statusText:q,url:ie}=c(),Oe=null;j!==R8&&(Oe=typeof s.response>"u"?s.responseText:s.response),j===0&&(j=Oe?MT:0);let it=j>=200&&j<300;if(e.responseType==="json"&&typeof Oe=="string"){let Nt=Oe;Oe=Oe.replace(V8,"");try{Oe=Oe!==""?JSON.parse(Oe):null}catch(vn){Oe=Nt,it&&(it=!1,Oe={error:vn,text:Oe})}}it?(r.next(new Ms({body:Oe,headers:P,status:j,statusText:q,url:ie||void 0})),r.complete()):r.error(new Rr({error:Oe,headers:P,status:j,statusText:q,url:ie||void 0}))},g=P=>{let{url:j}=c(),q=new Rr({error:P,status:s.status||0,statusText:s.statusText||"Unknown Error",url:j||void 0});r.error(q)},v=!1,y=P=>{v||(r.next(c()),v=!0);let j={type:kr.DownloadProgress,loaded:P.loaded};P.lengthComputable&&(j.total=P.total),e.responseType==="text"&&s.responseText&&(j.partialText=s.responseText),r.next(j)},x=P=>{let j={type:kr.UploadProgress,loaded:P.loaded};P.lengthComputable&&(j.total=P.total),r.next(j)};return s.addEventListener("load",p),s.addEventListener("error",g),s.addEventListener("timeout",g),s.addEventListener("abort",g),e.reportProgress&&(s.addEventListener("progress",y),a!==null&&s.upload&&s.upload.addEventListener("progress",x)),s.send(a),r.next({type:kr.Sent}),()=>{s.removeEventListener("error",g),s.removeEventListener("abort",g),s.removeEventListener("load",p),s.removeEventListener("timeout",g),e.reportProgress&&(s.removeEventListener("progress",y),a!==null&&s.upload&&s.upload.removeEventListener("progress",x)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(L(el))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),NT=new M(""),$8="XSRF-TOKEN",H8=new M("",{providedIn:"root",factory:()=>$8}),z8="X-XSRF-TOKEN",U8=new M("",{providedIn:"root",factory:()=>z8}),Xh=class{},G8=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n,o){this.doc=e,this.platform=n,this.cookieName=o}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wh(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(L(De),L(Fe),L(H8))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function W8(t,i){let e=t.url.toLowerCase();if(!C(NT)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(t);let n=C(Xh).getToken(),o=C(U8);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),i(t)}var Jy=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}(Jy||{});function FT(t,i){return{\u0275kind:t,\u0275providers:i}}function ohe(...t){let i=[Yy,ET,xT,{provide:Gc,useExisting:xT},{provide:Os,useFactory:()=>C(RT,{optional:!0})??C(ET)},{provide:Zy,useValue:W8,multi:!0},{provide:NT,useValue:!0},{provide:Xh,useClass:G8}];for(let e of t)i.push(...e.\u0275providers);return Eo(i)}var IT=new M("");function rhe(){return FT(Jy.LegacyInterceptors,[{provide:IT,useFactory:L8},{provide:Zy,useExisting:IT,multi:!0}])}function she(){return FT(Jy.Fetch,[zy,{provide:RT,useExisting:zy},{provide:Os,useExisting:zy}])}var q8=new M(""),K8="b",Q8="h",Y8="s",Z8="st",J8="u",X8="rt",Ky=new M(""),ej=["GET","HEAD"];function tj(t,i){let v=C(Ky),{isCacheActive:e}=v,n=L1(v,["isCacheActive"]),{transferCache:o,method:r}=t;if(!e||o===!1||r==="POST"&&!n.includePostRequests&&!o||r!=="POST"&&!ej.includes(r)||!n.includeRequestsWithAuthHeaders&&nj(t)||n.filter?.(t)===!1)return i(t);let s=C(Ss);if(C(q8,{optional:!0}))throw new ne(2803,!1);let l=t.url,c=ij(t,l),p=s.get(c,null),g=n.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(g=o.includeHeaders),p){let{[K8]:y,[X8]:x,[Q8]:P,[Y8]:j,[Z8]:q,[J8]:ie}=p,Oe=y;switch(x){case"arraybuffer":Oe=new TextEncoder().encode(y).buffer;break;case"blob":Oe=new Blob([y]);break}let it=new So(P);return Y(new Ms({body:Oe,headers:it,status:j,statusText:q,url:ie}))}return i(t).pipe(be(y=>{y instanceof Ms}))}function nj(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function ST(t){return[...t.keys()].sort().map(i=>`${i}=${t.getAll(i)}`).join("&")}function ij(t,i){let{params:e,method:n,responseType:o}=t,r=ST(e),s=t.serializeBody();s instanceof URLSearchParams?s=ST(s):typeof s!="string"&&(s="");let a=[n,o,i,s,r].join("|"),l=oj(a);return l}function oj(t){let i=0;for(let e of t)i=Math.imul(31,i)+e.charCodeAt(0)<<0;return i+=2147483648,i.toString()}function Xy(t){return[{provide:Ky,useFactory:()=>(Ji("NgHttpTransferCache"),k({isCacheActive:!0},t))},{provide:kT,useValue:tj,multi:!0},{provide:Or,multi:!0,useFactory:()=>{let i=C(Qt),e=C(Ky);return()=>{i.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var tv=class extends Hh{supportsDOMEvents=!0},nv=class t extends tv{static makeCurrent(){sT(new t)}onAndCancel(i,e,n,o){return i.addEventListener(e,n,o),()=>{i.removeEventListener(e,n,o)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=sj();return e==null?null:aj(e)}resetBaseElement(){qc=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return Wh(document.cookie,i)}},qc=null;function sj(){return qc=qc||document.querySelector("base"),qc?qc.getAttribute("href"):null}function aj(t){return new URL(t,document.baseURI).pathname}var iv=class{addToWindow(i){Cn.getAngularTestability=(n,o=!0)=>{let r=i.findTestabilityInTree(n,o);if(r==null)throw new ne(5103,!1);return r},Cn.getAllAngularTestabilities=()=>i.getAllTestabilities(),Cn.getAllAngularRootElements=()=>i.getAllRootElements();let e=n=>{let o=Cn.getAllAngularTestabilities(),r=o.length,s=function(){r--,r==0&&n()};o.forEach(a=>{a.whenStable(s)})};Cn.frameworkStabilizers||(Cn.frameworkStabilizers=[]),Cn.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,n){if(e==null)return null;let o=i.getTestability(e);return o??(n?no().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},lj=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),ov=new M(""),HT=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,o,r){return this._findPluginFor(n).addEventListener(e,n,o,r)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(r=>r.supports(e)),!n)throw new ne(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(L(ov),L(ue))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),tf=class{_doc;constructor(i){this._doc=i}manager},ef="ng-app-id";function LT(t){for(let i of t)i.remove()}function VT(t,i){let e=i.createElement("style");return e.textContent=t,e}function cj(t,i,e,n){let o=t.head?.querySelectorAll(`style[${ef}="${i}"],link[${ef}="${i}"]`);if(o)for(let r of o)r.removeAttribute(ef),r instanceof HTMLLinkElement?n.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]})}function rv(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var zT=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,o,r={}){this.doc=e,this.appId=n,this.nonce=o,this.isServer=sr(r),cj(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let o of e)this.addUsage(o,this.inline,VT);n?.forEach(o=>this.addUsage(o,this.external,rv))}removeStyles(e,n){for(let o of e)this.removeUsage(o,this.inline);n?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,n,o){let r=n.get(e);r?r.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(e,this.doc)))})}removeUsage(e,n){let o=n.get(e);o&&(o.usage--,o.usage<=0&&(LT(o.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])LT(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:o}]of this.inline)o.push(this.addElement(e,VT(n,this.doc)));for(let[n,{elements:o}]of this.external)o.push(this.addElement(e,rv(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(ef,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(L(De),L(Co),L(Rc,8),L(Fe))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),ev={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},av=/%COMP%/g;var UT="%COMP%",dj=`_nghost-${UT}`,uj=`_ngcontent-${UT}`,pj=!0,hj=new M("",{providedIn:"root",factory:()=>pj});function fj(t){return uj.replace(av,t)}function mj(t){return dj.replace(av,t)}function GT(t,i){return i.map(e=>e.replace(av,t))}var BT=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,o,r,s,a,l,c=null,p=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=p,this.platformIsServer=sr(a),this.defaultRenderer=new Kc(e,s,l,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===wo.ShadowDom&&(n=Ce(k({},n),{encapsulation:wo.Emulated}));let o=this.getOrCreateRenderer(e,n);return o instanceof nf?o.applyToHost(e):o instanceof Qc&&o.applyStyles(),o}getOrCreateRenderer(e,n){let o=this.rendererByCompId,r=o.get(n.id);if(!r){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,g=this.platformIsServer,v=this.tracingService;switch(n.encapsulation){case wo.Emulated:r=new nf(l,c,n,this.appId,p,s,a,g,v);break;case wo.ShadowDom:return new sv(l,c,e,n,s,a,this.nonce,g,v);default:r=new Qc(l,c,n,p,s,a,g,v);break}o.set(n.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(L(HT),L(zT),L(Co),L(hj),L(De),L(Fe),L(ue),L(Rc),L(Qa,8))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Kc=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,o,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.platformIsServer=o,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(ev[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(jT(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(jT(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new ne(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,o){if(o){e=o+":"+e;let r=ev[o];r?i.setAttributeNS(r,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let o=ev[n];o?i.removeAttributeNS(o,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,o){o&(xo.DashCase|xo.Important)?i.style.setProperty(e,n,o&xo.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&xo.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,o){if(typeof i=="string"&&(i=no().getGlobalEventTarget(this.doc,i),!i))throw new ne(5102,!1);let r=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(i,e,r)),this.eventManager.addEventListener(i,e,r,o)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function jT(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var sv=class extends Kc{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,n,o,r,s,a,l,c){super(i,r,s,l,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=o.styles;p=GT(o.id,p);for(let v of p){let y=document.createElement("style");a&&y.setAttribute("nonce",a),y.textContent=v,this.shadowRoot.appendChild(y)}let g=o.getExternalStyles?.();if(g)for(let v of g){let y=rv(v,r);a&&y.setAttribute("nonce",a),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Qc=class extends Kc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,o,r,s,a,l,c){super(i,r,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let p=n.styles;this.styles=c?GT(c,p):p,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},nf=class extends Qc{contentAttr;hostAttr;constructor(i,e,n,o,r,s,a,l,c){let p=o+"-"+n.id;super(i,e,n,r,s,a,l,c,p),this.contentAttr=fj(p),this.hostAttr=mj(p)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}},gj=(()=>{class t extends tf{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,o,r){return e.addEventListener(n,o,r),()=>this.removeEventListener(e,n,o,r)}removeEventListener(e,n,o,r){return e.removeEventListener(n,o,r)}static \u0275fac=function(n){return new(n||t)(L(De))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),$T=["alt","control","meta","shift"],_j={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},yj={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},vj=(()=>{class t extends tf{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,o,r){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>no().onAndCancel(e,s.domEventName,a,r))}static parseEventName(e){let n=e.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let r=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),$T.forEach(c=>{let p=n.indexOf(c);p>-1&&(n.splice(p,1),s+=c+".")}),s+=r,n.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,n){let o=_j[e.key]||e.key,r="";return n.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),$T.forEach(s=>{if(s!==o){let a=yj[s];a(e)&&(r+=s+".")}}),r+=o,r===n)}static eventCallback(e,n,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>n(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(L(De))};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function bj(){nv.makeCurrent()}function Cj(){return new bo}function wj(){return xE(document),document}var xj=[{provide:Fe,useValue:$y},{provide:N_,useValue:bj,multi:!0},{provide:De,useFactory:wj,deps:[]}],yhe=Ey(US,"browser",xj);var Ej=[{provide:Vc,useClass:iv,deps:[]},{provide:hy,useClass:Dh,deps:[ue,Oh,Vc]},{provide:Dh,useClass:Dh,deps:[ue,Oh,Vc]}],Ij=[{provide:Yp,useValue:"root"},{provide:bo,useFactory:Cj,deps:[]},{provide:ov,useClass:gj,multi:!0,deps:[De]},{provide:ov,useClass:vj,multi:!0,deps:[De]},BT,zT,HT,{provide:si,useExisting:BT},{provide:el,useClass:lj,deps:[]},[]],vhe=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({providers:[...Ij,...Ej],imports:[Se,GS]})}return t})(),bhe=(()=>{class t{_doc;_dom;constructor(e){this._doc=e,this._dom=no()}addTag(e,n=!1){return e?this._getOrCreateElement(e,n):null}addTags(e,n=!1){return e?e.reduce((o,r)=>(r&&o.push(this._getOrCreateElement(r,n)),o),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let n=this._doc.querySelectorAll(`meta[${e}]`);return n?[].slice.call(n):[]}updateTag(e,n){if(!e)return null;n=n||this._parseSelector(e);let o=this.getTag(n);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,n=!1){if(!n){let s=this._parseSelector(e),a=this.getTags(s).filter(l=>this._containsAttributes(e,l))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(e,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(e,n){return Object.keys(e).forEach(o=>n.setAttribute(this._getMetaKeyMap(o),e[o])),n}_parseSelector(e){let n=e.name?"name":"property";return`${n}="${e[n]}"`}_containsAttributes(e,n){return Object.keys(e).every(o=>n.getAttribute(this._getMetaKeyMap(o))===e[o])}_getMetaKeyMap(e){return Sj[e]||e}static \u0275fac=function(n){return new(n||t)(L(De))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Sj={httpEquiv:"http-equiv"},WT=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(L(De))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:function(n){let o=null;return n?o=new(n||t):o=L(Tj),o},providedIn:"root"})}return t})(),Tj=(()=>{class t extends ar{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Xi.NONE:return n;case Xi.HTML:return Xo(n,"HTML")?ai(n):$_(this._doc,String(n)).toString();case Xi.STYLE:return Xo(n,"Style")?ai(n):n;case Xi.SCRIPT:if(Xo(n,"Script"))return ai(n);throw new ne(5200,!1);case Xi.URL:return Xo(n,"URL")?ai(n):ph(String(n));case Xi.RESOURCE_URL:if(Xo(n,"ResourceURL"))return ai(n);throw new ne(5201,!1);default:throw new ne(5202,!1)}}bypassSecurityTrustHtml(e){return ZE(e)}bypassSecurityTrustStyle(e){return JE(e)}bypassSecurityTrustScript(e){return XE(e)}bypassSecurityTrustUrl(e){return eI(e)}bypassSecurityTrustResourceUrl(e){return tI(e)}static \u0275fac=function(n){return new(n||t)(L(De))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),nl=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t}(nl||{});function lv(t,i=[],e={}){return{\u0275kind:t,\u0275providers:i}}function Che(t){return lv(nl.HttpTransferCacheOptions,Xy(t))}function whe(){return lv(nl.EventReplay,Iy())}function xhe(){return lv(nl.IncrementalHydration,qS())}function Ehe(...t){let i=[],e=new Set,n=e.has(nl.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:r}of t)e.add(r),o.length&&i.push(o);return Eo([[],WS(),e.has(nl.NoHttpTransferCache)||n?[]:Xy({}),i])}var il=class{},qT=(()=>{class t extends il{getTranslation(e){return Y({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Zc=class{},KT=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function sf(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,o,r,s;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((o=t.length)==i.length){for(r=0;r{Xc(i[n])?n in t?e[n]=cv(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e):cv({},i)}function dv(t,i){let e=i.split(".");i="";do i+=e.shift(),Ar(t)&&Ar(t[i])&&(Xc(t[i])||mv(t[i])||!e.length)?(t=t[i],i=""):e.length?i+=".":t=void 0;while(e.length);return t}function Oj(t,i,e){let n=i.split("."),o=t;for(let r=0;r{class t extends ol{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(gv(e))return this.interpolateString(e,n);if(Dj(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(o,r)=>{let s=dv(n,r);return Ar(s)?s:o}):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),rl=class{},YT=(()=>{class t extends rl{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Jc=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new F;onLangChange=new F;onDefaultLangChange=new F},uv=new M("ISOLATE_TRANSLATE_SERVICE"),pv=new M("USE_DEFAULT_LANG"),hv=new M("DEFAULT_LANGUAGE"),fv=new M("USE_EXTEND"),Yc=t=>fo(t)?t:Y(t),Hn=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,n,o,r,s,a=!0,l=!1,c=!1,p){this.store=e,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.extend=c,l&&(this.store=new Jc),p&&this.setDefaultLang(p)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(xt(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Y(this.translations[e]);this.currentLang||(this.currentLang=e);let n=this.retrieveTranslations(e);return fo(n)?(n.pipe(xt(1)).subscribe(()=>{this.changeLang(e)}),n):(this.changeLang(e),Y(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(go(1),xt(1));return this.loadingTranslations=n.pipe(z(o=>this.compiler.compileTranslations(o,e)),go(1),xt(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?k(k({},o),this.translations[e]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(e,n,o=!1){let r=this.compiler.compileTranslations(n,e);(o||this.extend)&&this.translations[e]?this.translations[e]=cv(this.translations[e],r):this.translations[e]=r,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let n=e.filter(o=>!this.langs.includes(o));n.length>0&&(this.langs=[...this.langs,...n])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,n,o){let r;if(e&&(r=this.runInterpolation(dv(e,n),o)),r===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.runInterpolation(dv(this.translations[this.defaultLang],n),o)),r===void 0){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return r!==void 0?r:n}runInterpolation(e,n){if(mv(e))return e.map(o=>this.runInterpolation(o,n));if(Xc(e)){let o={};for(let r in e){let s=this.runInterpolation(e[r],n);s!==void 0&&(o[r]=s)}return o}else return this.parser.interpolate(e,n)}getParsedResult(e,n,o){if(n instanceof Array){let r={},s=!1;for(let l of n)r[l]=this.getParsedResultForKey(e,l,o),s=s||fo(r[l]);if(!s)return r;let a=n.map(l=>Yc(r[l]));return as(a).pipe(z(l=>{let c={};return l.forEach((p,g)=>{c[n[g]]=p}),c}))}return this.getParsedResultForKey(e,n,o)}get(e,n){if(!Ar(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Hi(o=>Yc(this.getParsedResult(o,e,n)))):Yc(this.getParsedResult(this.translations[this.currentLang],e,n))}getStreamOnTranslationChange(e,n){if(!Ar(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Fn(Ho(()=>this.get(e,n)),this.onTranslationChange.pipe(He(o=>{let r=this.getParsedResult(o.translations,e,n);return Yc(r)})))}stream(e,n){if(!Ar(e)||!e.length)throw new Error('Parameter "key" required');return Fn(Ho(()=>this.get(e,n)),this.onLangChange.pipe(He(o=>{let r=this.getParsedResult(o.translations,e,n);return Yc(r)})))}instant(e,n){if(!Ar(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(this.translations[this.currentLang],e,n);return fo(o)?Array.isArray(e)?e.reduce((r,s)=>(r[s]=s,r),{}):e:o}set(e,n,o=this.currentLang){Oj(this.translations[o],e,gv(n)?this.compiler.compile(n,o):this.compiler.compileTranslations(n,o)),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(n){return new(n||t)(L(Jc),L(il),L(rl),L(ol),L(Zc),L(pv),L(uv),L(fv),L(hv))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Le=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,n){this.translate=e,this._ref=n}updateValue(e,n,o){let r=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,e,n);fo(s)?s.subscribe(r):r(s)}this.translate.get(e,n).subscribe(r)}transform(e,...n){if(!e||!e.length)return e;if(sf(e,this.lastKey)&&sf(n,this.lastParams))return this.value;let o;if(Ar(n[0])&&n.length)if(gv(n[0])&&n[0].length){let r=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(r)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else Xc(n[0])&&(o=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(b(Hn,16),b(dn,16))};static \u0275pipe=In({name:"translate",type:t,pure:!1});static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var ZT=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:il,useClass:qT},e.compiler||{provide:rl,useClass:YT},e.parser||{provide:ol,useClass:QT},e.missingTranslationHandler||{provide:Zc,useClass:KT},Jc,{provide:uv,useValue:e.isolate},{provide:pv,useValue:e.useDefaultLang},{provide:fv,useValue:e.extend},{provide:hv,useValue:e.defaultLanguage},Hn]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:il,useClass:qT},e.compiler||{provide:rl,useClass:YT},e.parser||{provide:ol,useClass:QT},e.missingTranslationHandler||{provide:Zc,useClass:KT},{provide:uv,useValue:e.isolate},{provide:pv,useValue:e.useDefaultLang},{provide:fv,useValue:e.extend},{provide:hv,useValue:e.defaultLanguage},Hn]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var aD=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,n){this._renderer=e,this._elementRef=n}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(n){return new(n||t)(b(wt),b(ye))};static \u0275dir=te({type:t})}return t})(),rd=(()=>{class t extends aD{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,features:[Z]})}return t})(),un=new M(""),Mj={provide:un,useExisting:st(()=>wv),multi:!0},wv=(()=>{class t extends rd{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,o){n&1&&R("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[fe([Mj]),Z]})}return t})(),Rj={provide:un,useExisting:st(()=>Pi),multi:!0};function Pj(){let t=no()?no().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var kj=new M(""),Pi=(()=>{class t extends aD{_compositionMode;_composing=!1;constructor(e,n,o){super(e,n),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Pj())}writeValue(e){let n=e??"";this.setProperty("value",n)}_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 \u0275fac=function(n){return new(n||t)(b(wt),b(ye),b(kj,8))};static \u0275dir=te({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(n,o){n&1&&R("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)})},standalone:!1,features:[fe([Rj]),Z]})}return t})();function xv(t){return t==null||Ev(t)===0}function Ev(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var dr=new M(""),gf=new M(""),Aj=/^(?=.{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])?)*$/,io=class{static min(i){return lD(i)}static max(i){return Nj(i)}static required(i){return cD(i)}static requiredTrue(i){return dD(i)}static email(i){return Fj(i)}static minLength(i){return Lj(i)}static maxLength(i){return uD(i)}static pattern(i){return pD(i)}static nullValidator(i){return lf()}static compose(i){return yD(i)}static composeAsync(i){return vD(i)}};function lD(t){return i=>{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||t==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>t?{max:{max:t,actual:i.value}}:null}}function cD(t){return xv(t.value)?{required:!0}:null}function dD(t){return t.value===!0?null:{required:!0}}function Fj(t){return xv(t.value)||Aj.test(t.value)?null:{email:!0}}function Lj(t){return i=>{let e=i.value?.length??Ev(i.value);return e===null||e===0?null:e{let e=i.value?.length??Ev(i.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function pD(t){if(!t)return lf;let i,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=t.toString(),i=t),n=>{if(xv(n.value))return null;let o=n.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function lf(t){return null}function hD(t){return t!=null}function fD(t){return Dr(t)?Pe(t):t}function mD(t){let i={};return t.forEach(e=>{i=e!=null?k(k({},i),e):i}),Object.keys(i).length===0?null:i}function gD(t,i){return i.map(e=>e(t))}function Vj(t){return!t.validate}function _D(t){return t.map(i=>Vj(i)?i:e=>i.validate(e))}function yD(t){if(!t)return null;let i=t.filter(hD);return i.length==0?null:function(e){return mD(gD(e,i))}}function Iv(t){return t!=null?yD(_D(t)):null}function vD(t){if(!t)return null;let i=t.filter(hD);return i.length==0?null:function(e){let n=gD(e,i).map(fD);return as(n).pipe(z(mD))}}function Sv(t){return t!=null?vD(_D(t)):null}function JT(t,i){return t===null?[i]:Array.isArray(t)?[...t,i]:[t,i]}function bD(t){return t._rawValidators}function CD(t){return t._rawAsyncValidators}function _v(t){return t?Array.isArray(t)?t:[t]:[]}function cf(t,i){return Array.isArray(t)?t.includes(i):t===i}function XT(t,i){let e=_v(i);return _v(t).forEach(o=>{cf(e,o)||e.push(o)}),e}function eD(t,i){return _v(i).filter(e=>!cf(t,e))}var df=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Iv(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Sv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},lr=class extends df{name;get formDirective(){return null}get path(){return null}},cr=class extends df{_parent=null;name=null;valueAccessor=null},uf=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Bj={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Zhe=Ce(k({},Bj),{"[class.ng-submitted]":"isSubmitted"}),Rn=(()=>{class t extends uf{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(b(cr,2))};static \u0275dir=te({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&tt("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)},standalone:!1,features:[Z]})}return t})(),Fr=(()=>{class t extends uf{constructor(e){super(e)}static \u0275fac=function(n){return new(n||t)(b(lr,10))};static \u0275dir=te({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&tt("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)},standalone:!1,features:[Z]})}return t})();var ed="VALID",af="INVALID",sl="PENDING",td="DISABLED",Nr=class{},pf=class extends Nr{value;source;constructor(i,e){super(),this.value=i,this.source=e}},id=class extends Nr{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},od=class extends Nr{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},al=class extends Nr{status;source;constructor(i,e){super(),this.status=i,this.source=e}},yv=class extends Nr{source;constructor(i){super(),this.source=i}},vv=class extends Nr{source;constructor(i){super(),this.source=i}};function Tv(t){return(_f(t)?t.validators:t)||null}function jj(t){return Array.isArray(t)?Iv(t):t||null}function Dv(t,i){return(_f(i)?i.asyncValidators:t)||null}function $j(t){return Array.isArray(t)?Sv(t):t||null}function _f(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function wD(t,i,e){let n=t.controls;if(!(i?Object.keys(n):n).length)throw new ne(1e3,"");if(!n[e])throw new ne(1001,"")}function xD(t,i,e){t._forEachChild((n,o)=>{if(e[o]===void 0)throw new ne(1002,"")})}var ll=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Mn(this.statusReactive)}set status(i){Mn(()=>this.statusReactive.set(i))}_status=pt(()=>this.statusReactive());statusReactive=ht(void 0);get valid(){return this.status===ed}get invalid(){return this.status===af}get pending(){return this.status==sl}get disabled(){return this.status===td}get enabled(){return this.status!==td}errors;get pristine(){return Mn(this.pristineReactive)}set pristine(i){Mn(()=>this.pristineReactive.set(i))}_pristine=pt(()=>this.pristineReactive());pristineReactive=ht(!0);get dirty(){return!this.pristine}get touched(){return Mn(this.touchedReactive)}set touched(i){Mn(()=>this.touchedReactive.set(i))}_touched=pt(()=>this.touchedReactive());touchedReactive=ht(!1);get untouched(){return!this.touched}_events=new K;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(XT(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(XT(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(eD(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(eD(i,this._rawAsyncValidators))}hasValidator(i){return cf(this._rawValidators,i)}hasAsyncValidator(i){return cf(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Ce(k({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new od(!0,n))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:n})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,n),e&&i.emitEvent!==!1&&this._events.next(new od(!1,n))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let n=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Ce(k({},i),{sourceControl:n})),e&&i.emitEvent!==!1&&this._events.next(new id(!1,n))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,n),e&&i.emitEvent!==!1&&this._events.next(new id(!0,n))}markAsPending(i={}){this.status=sl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new al(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Ce(k({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=td,this.errors=null,this._forEachChild(o=>{o.disable(Ce(k({},i),{onlySelf:!0}))}),this._updateValue();let n=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new pf(this.value,n)),this._events.next(new al(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ce(k({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=ed,this._forEachChild(n=>{n.enable(Ce(k({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Ce(k({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ed||this.status===sl)&&this._runAsyncValidator(n,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new pf(this.value,e)),this._events.next(new al(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Ce(k({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?td:ed}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=sl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let n=fD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((n,o)=>n&&n._find(o),this)}getError(i,e){let n=e?this.get(e):this;return n&&n.errors?n.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,n){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||n)&&this._events.next(new al(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,n)}_initObservables(){this.valueChanges=new F,this.statusChanges=new F}_calculateStatus(){return this._allControlsDisabled()?td:this.errors?af:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(sl)?sl:this._anyControlsHaveStatus(af)?af:ed}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let n=!this._anyControlsDirty(),o=this.pristine!==n;this.pristine=n,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),o&&this._events.next(new id(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new od(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){_f(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=jj(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=$j(this._rawAsyncValidators)}},mi=class extends ll{constructor(i,e,n){super(Tv(e),Dv(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,n={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,n={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){xD(this,!0,i),Object.keys(i).forEach(n=>{wD(this,!0,n),this.controls[n].setValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(n=>{let o=this.controls[n];o&&o.patchValue(i[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((n,o)=>{n.reset(i?i[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,n)=>(i[n]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,n)=>n._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let n=this.controls[e];n&&i(n,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,n]of Object.entries(this.controls))if(this.contains(e)&&i(n))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,n,o)=>((n.enabled||this.disabled)&&(e[o]=n.value),e))}_reduceChildren(i,e){let n=i;return this._forEachChild((o,r)=>{n=e(n,o,r)}),n}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var bv=class extends mi{};var sd=new M("",{providedIn:"root",factory:()=>yf}),yf="always";function ED(t,i){return[...i.path,t]}function hf(t,i,e=yf){Ov(t,i),i.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(t.disabled),zj(t,i),Gj(t,i),Uj(t,i),Hj(t,i)}function tD(t,i,e=!0){let n=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),mf(t,i),t&&(i._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function ff(t,i){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function Hj(t,i){if(i.valueAccessor.setDisabledState){let e=n=>{i.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(e),i._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Ov(t,i){let e=bD(t);i.validator!==null?t.setValidators(JT(e,i.validator)):typeof e=="function"&&t.setValidators([e]);let n=CD(t);i.asyncValidator!==null?t.setAsyncValidators(JT(n,i.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();ff(i._rawValidators,o),ff(i._rawAsyncValidators,o)}function mf(t,i){let e=!1;if(t!==null){if(i.validator!==null){let o=bD(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(s=>s!==i.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(i.asyncValidator!==null){let o=CD(t);if(Array.isArray(o)&&o.length>0){let r=o.filter(s=>s!==i.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}let n=()=>{};return ff(i._rawValidators,n),ff(i._rawAsyncValidators,n),e}function zj(t,i){i.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ID(t,i)})}function Uj(t,i){i.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ID(t,i),t.updateOn!=="submit"&&t.markAsTouched()})}function ID(t,i){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Gj(t,i){let e=(n,o)=>{i.valueAccessor.writeValue(n),o&&i.viewToModelUpdate(n)};t.registerOnChange(e),i._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function SD(t,i){t==null,Ov(t,i)}function Wj(t,i){return mf(t,i)}function TD(t,i){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function qj(t){return Object.getPrototypeOf(t.constructor)===rd}function DD(t,i){t._syncPendingControls(),i.forEach(e=>{let n=e.control;n.updateOn==="submit"&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function OD(t,i){if(!i)return null;Array.isArray(i);let e,n,o;return i.forEach(r=>{r.constructor===Pi?e=r:qj(r)?n=r:o=r}),o||n||e||null}function Kj(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}var Qj={provide:lr,useExisting:st(()=>Mv)},nd=Promise.resolve(),Mv=(()=>{class t extends lr{callSetDisabledState;get submitted(){return Mn(this.submittedReactive)}_submitted=pt(()=>this.submittedReactive());submittedReactive=ht(!1);_directives=new Set;form;ngSubmit=new F;options;constructor(e,n,o){super(),this.callSetDisabledState=o,this.form=new mi({},Iv(e),Sv(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){nd.then(()=>{let n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),hf(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){nd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){nd.then(()=>{let n=this._findContainer(e.path),o=new mi({});SD(o,e),n.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){nd.then(()=>{let n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){nd.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),DD(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(n){return new(n||t)(b(dr,10),b(gf,10),b(sd,8))};static \u0275dir=te({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[fe([Qj]),Z]})}return t})();function nD(t,i){let e=t.indexOf(i);e>-1&&t.splice(e,1)}function iD(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var tn=class extends ll{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,n){super(Tv(e),Dv(n,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_f(e)&&(e.nonNullable||e.initialValueIsDefault)&&(iD(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){nD(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){nD(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){iD(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var Yj=t=>t instanceof tn;var Zj={provide:cr,useExisting:st(()=>gi)},oD=Promise.resolve(),gi=(()=>{class t extends cr{_changeDetectorRef;callSetDisabledState;control=new tn;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new F;constructor(e,n,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=OD(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),TD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){hf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){oD.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let n=e.isDisabled.currentValue,o=n!==0&&H(n);oD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ED(e,this._parent):[e]}static \u0275fac=function(n){return new(n||t)(b(lr,9),b(dr,10),b(gf,10),b(un,10),b(dn,8),b(sd,8))};static \u0275dir=te({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[fe([Zj]),Z,Ke]})}return t})();var Lr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),Jj={provide:un,useExisting:st(()=>Rv),multi:!0},Rv=(()=>{class t extends rd{writeValue(e){let n=e??"";this.setProperty("value",n)}registerOnChange(e){this.onChange=n=>{e(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&R("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[fe([Jj]),Z]})}return t})();var MD=new M("");var Xj={provide:lr,useExisting:st(()=>Rs)},Rs=(()=>{class t extends lr{callSetDisabledState;get submitted(){return Mn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=pt(()=>this._submittedReactive());_submittedReactive=ht(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new F;constructor(e,n,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(mf(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){let n=this.form.get(e.path);return hf(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){tD(e.control||null,e,!1),Kj(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,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this._submittedReactive.set(!0),DD(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new yv(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new vv(this.form))}_updateDomValue(){this.directives.forEach(e=>{let n=e.control,o=this.form.get(e.path);n!==o&&(tD(n||null,e),Yj(o)&&(hf(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let n=this.form.get(e.path);SD(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let n=this.form.get(e.path);n&&Wj(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ov(this.form,this),this._oldForm&&mf(this._oldForm,this)}static \u0275fac=function(n){return new(n||t)(b(dr,10),b(gf,10),b(sd,8))};static \u0275dir=te({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[fe([Xj]),Z,Ke]})}return t})();var e6={provide:cr,useExisting:st(()=>Ps)},Ps=(()=>{class t extends cr{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new F;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,n,o,r,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=OD(this,r)}ngOnChanges(e){this._added||this._setUpControl(),TD(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 ED(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||t)(b(lr,13),b(dr,10),b(gf,10),b(un,10),b(MD,8))};static \u0275dir=te({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[fe([e6]),Z,Ke]})}return t})();var t6={provide:un,useExisting:st(()=>vf),multi:!0};function RD(t,i){return t==null?`${i}`:(i&&typeof i=="object"&&(i="Object"),`${t}: ${i}`.slice(0,50))}function n6(t){return t.split(":")[0]}var vf=(()=>{class t extends rd{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let n=this._getOptionId(e),o=RD(n,e);this.setProperty("value",o)}registerOnChange(e){this.onChange=n=>{this.value=this._getOptionValue(n),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),e))return n;return null}_getOptionValue(e){let n=n6(e);return this._optionMap.has(n)?this._optionMap.get(n):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,o){n&1&&R("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[fe([t6]),Z]})}return t})(),PD=(()=>{class t{_element;_renderer;_select;id;constructor(e,n,o){this._element=e,this._renderer=n,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(RD(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(n){return new(n||t)(b(ye),b(wt),b(vf,9))};static \u0275dir=te({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),i6={provide:un,useExisting:st(()=>kD),multi:!0};function rD(t,i){return t==null?`${i}`:(typeof i=="string"&&(i=`'${i}'`),i&&typeof i=="object"&&(i="Object"),`${t}: ${i}`.slice(0,50))}function o6(t){return t.split(":")[0]}var kD=(()=>{class t extends rd{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let n;if(Array.isArray(e)){let o=e.map(r=>this._getOptionId(r));n=(r,s)=>{r._setSelected(o.indexOf(s.toString())>-1)}}else n=(o,r)=>{o._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(e){this.onChange=n=>{let o=[],r=n.selectedOptions;if(r!==void 0){let s=r;for(let a=0;a{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,o){n&1&&R("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[fe([i6]),Z]})}return t})(),AD=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,n,o){this._element=e,this._renderer=n,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(rD(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(rD(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 \u0275fac=function(n){return new(n||t)(b(ye),b(wt),b(kD,9))};static \u0275dir=te({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function r6(t){return typeof t=="number"?t:parseInt(t,10)}function s6(t){return typeof t=="number"?t:parseFloat(t)}var bf=(()=>{class t{_validator=lf;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let n=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):lf,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,features:[Ke]})}return t})();var a6={provide:dr,useExisting:st(()=>l6),multi:!0},l6=(()=>{class t extends bf{min;inputName="min";normalizeInput=e=>s6(e);createValidator=e=>lD(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&N("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[fe([a6]),Z]})}return t})(),c6={provide:dr,useExisting:st(()=>ND),multi:!0},d6={provide:dr,useExisting:st(()=>Pv),multi:!0},ND=(()=>{class t extends bf{required;inputName="required";normalizeInput=H;createValidator=e=>cD;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,o){n&2&&N("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[fe([c6]),Z]})}return t})(),Pv=(()=>{class t extends ND{createValidator=e=>dD;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&N("required",o._enabled?"":null)},standalone:!1,features:[fe([d6]),Z]})}return t})();var u6={provide:dr,useExisting:st(()=>p6),multi:!0},p6=(()=>{class t extends bf{maxlength;inputName="maxlength";normalizeInput=e=>r6(e);createValidator=e=>uD(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&N("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[fe([u6]),Z]})}return t})(),h6={provide:dr,useExisting:st(()=>f6),multi:!0},f6=(()=>{class t extends bf{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>pD(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&N("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[fe([h6]),Z]})}return t})();var FD=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})(),Cv=class extends ll{constructor(i,e,n){super(Tv(e),Dv(n,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(i){return this.controls[this._adjustIndex(i)]}push(i,e={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(i,e,n={}){this.controls.splice(i,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(i,e={}){let n=this._adjustIndex(i);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(i,e,n={}){let o=this._adjustIndex(i);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:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,e={}){xD(this,!1,i),i.forEach((n,o)=>{wD(this,!1,o),this.at(o).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(i.forEach((n,o)=>{this.at(o)&&this.at(o).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i=[],e={}){this._forEachChild((n,o)=>{n.reset(i[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((e,n)=>n._syncPendingControls()?!0:e,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((e,n)=>{i(e,n)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(e=>e.enabled&&i(e))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(let i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}};function sD(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var LD=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,n=null){let o=this._reduceControls(e),r={};return sD(n)?r=n:n!==null&&(r.validators=n.validator,r.asyncValidators=n.asyncValidator),new mi(o,r)}record(e,n=null){let o=this._reduceControls(e);return new bv(o,n)}control(e,n,o){let r={};return this.useNonNullable?(sD(n)?r=n:(r.validators=n,r.asyncValidators=o),new tn(e,Ce(k({},r),{nonNullable:!0}))):new tn(e,n,o)}array(e,n,o){let r=e.map(s=>this._createControl(s));return new Cv(r,n,o)}_reduceControls(e){let n={};return Object.keys(e).forEach(o=>{n[o]=this._createControl(e[o])}),n}_createControl(e){if(e instanceof tn)return e;if(e instanceof ll)return e;if(Array.isArray(e)){let n=e[0],o=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(n,o,r)}else return this.control(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vr=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:sd,useValue:e.callSetDisabledState??yf}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[FD]})}return t})(),VD=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:MD,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:sd,useValue:e.callSetDisabledState??yf}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[FD]})}return t})();var m6=new M("HTTP_SERVICES_INTERCEPTORS"),BD=new M("HTTP_CLIENT"),rfe=new M("TRANSLATION_HTTP_CLIENT"),sfe=(()=>{class t extends Yy{constructor(e,n){super(new Av(e,n,m6))}static{this.\u0275fac=function(n){return new(n||t)(L(Os),L(Qe))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})(),kv=class{constructor(i,e){this.next=i,this.interceptor=e}handle(i){return this.interceptor.intercept(i,this.next)}},Av=class{constructor(i,e,n){this.backend=i,this.injector=e,this.interceptors=n,this.chain=null}handle(i){if(this.chain===null){let e=this.injector.get(this.interceptors,[]);this.chain=e.reduceRight((n,o)=>new kv(n,o),this.backend)}return this.chain.handle(i)}};var ur=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ur||{}),lfe="*";function Br(t,i){return{type:ur.Trigger,name:t,definitions:i,options:{}}}function oo(t,i=null){return{type:ur.Animate,styles:i,timings:t}}function cfe(t,i=null){return{type:ur.Sequence,steps:t,options:i}}function ni(t){return{type:ur.Style,styles:t,offset:null}}function Nv(t,i,e){return{type:ur.State,name:t,styles:i,options:e}}function ro(t,i,e=null){return{type:ur.Transition,expr:t,animation:i,options:e}}function cl(t,i=null){return{type:ur.Reference,animation:t,options:i}}function dl(t,i=null){return{type:ur.AnimateRef,animation:t,options:i}}var jD=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},$D=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,n=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++n==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(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(o)})}getPosition(){let i=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},dfe="!";function ki(t,i){return t?t.classList?t.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(t.className):!1}function zn(t,i){if(t&&i){let e=n=>{ki(t,n)||(t.classList?t.classList.add(n):t.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(e))}}function g6(){return window.innerWidth-document.documentElement.offsetWidth}function ul(t){for(let i of document?.styleSheets)try{for(let e of i?.cssRules)for(let n of e?.style)if(t.test(n))return{name:n,value:e.style.getPropertyValue(n).trim()}}catch{}return null}function Fv(t="p-overflow-hidden"){let i=ul(/-scrollbar-width$/);i?.name&&document.body.style.setProperty(i.name,g6()+"px"),zn(document.body,t)}function _i(t,i){if(t&&i){let e=n=>{t.classList?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ")};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(e))}}function ks(t="p-overflow-hidden"){let i=ul(/-scrollbar-width$/);i?.name&&document.body.style.removeProperty(i.name),_i(document.body,t)}function HD(t){let i={width:0,height:0};return t&&(t.style.visibility="hidden",t.style.display="block",i.width=t.offsetWidth,i.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible"),i}function As(){let t=window,i=document,e=i.documentElement,n=i.getElementsByTagName("body")[0],o=t.innerWidth||e.clientWidth||n.clientWidth,r=t.innerHeight||e.clientHeight||n.clientHeight;return{width:o,height:r}}function Lv(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}function Vv(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}function hfe(t,i,e=!0){var n,o,r,s;if(t){let a=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:HD(t),l=a.height,c=a.width,p=i.offsetHeight,g=i.offsetWidth,v=i.getBoundingClientRect(),y=Vv(),x=Lv(),P=As(),j,q,ie="top";v.top+p+l>P.height?(j=v.top+y-l,ie="bottom",j<0&&(j=y)):j=p+v.top+y,v.left+c>P.width?q=Math.max(0,v.left+x+g-c):q=v.left+x,t.style.top=j+"px",t.style.left=q+"px",t.style.transformOrigin=ie,e&&(t.style.marginTop=ie==="bottom"?`calc(${(o=(n=ul(/-anchor-gutter$/))==null?void 0:n.value)!=null?o:"2px"} * -1)`:(s=(r=ul(/-anchor-gutter$/))==null?void 0:r.value)!=null?s:"")}}function ffe(t,i){t&&(typeof i=="string"?t.style.cssText=i:Object.entries(i||{}).forEach(([e,n])=>t.style[e]=n))}function Un(t,i){if(t instanceof HTMLElement){let e=t.offsetWidth;if(i){let n=getComputedStyle(t);e+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return e}return 0}function mfe(t,i,e=!0){var n,o,r,s;if(t){let a=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:HD(t),l=i.offsetHeight,c=i.getBoundingClientRect(),p=As(),g,v,y="top";c.top+l+a.height>p.height?(g=-1*a.height,y="bottom",c.top+g<0&&(g=-1*c.top)):g=l,a.width>p.width?v=c.left*-1:c.left+a.width>p.width?v=(c.left+a.width-p.width)*-1:v=0,t.style.top=g+"px",t.style.left=v+"px",t.style.transformOrigin=y,e&&(t.style.marginTop=y==="bottom"?`calc(${(o=(n=ul(/-anchor-gutter$/))==null?void 0:n.value)!=null?o:"2px"} * -1)`:(s=(r=ul(/-anchor-gutter$/))==null?void 0:r.value)!=null?s:"")}}function pl(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}function Bv(t){let i=t;return t&&typeof t=="object"&&(t.hasOwnProperty("current")?i=t.current:t.hasOwnProperty("el")&&(t.el.hasOwnProperty("nativeElement")?i=t.el.nativeElement:i=t.el)),pl(i)?i:void 0}function ad(t,i){let e=Bv(t);if(e)e.appendChild(i);else throw new Error("Cannot append "+i+" to "+t)}function Cf(t,i={}){if(pl(t)){let e=(n,o)=>{var r,s;let a=(r=t?.$attrs)!=null&&r[n]?[(s=t?.$attrs)==null?void 0:s[n]]:[];return[o].flat().reduce((l,c)=>{if(c!=null){let p=typeof c;if(p==="string"||p==="number")l.push(c);else if(p==="object"){let g=Array.isArray(c)?e(n,c):Object.entries(c).map(([v,y])=>n==="style"&&(y||y===0)?`${v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${y}`:y?v:void 0);l=g.length?l.concat(g.filter(v=>!!v)):l}}return l},a)};Object.entries(i).forEach(([n,o])=>{if(o!=null){let r=n.match(/^on(.+)/);r?t.addEventListener(r[1].toLowerCase(),o):n==="p-bind"||n==="pBind"?Cf(t,o):(o=n==="class"?[...new Set(e("class",o))].join(" ").trim():n==="style"?e("style",o).join(";").trim():o,(t.$attrs=t.$attrs||{})&&(t.$attrs[n]=o),t.setAttribute(n,o))}})}}function zD(t,i={},...e){if(t){let n=document.createElement(t);return Cf(n,i),n.append(...e),n}}function UD(t,i){if(t){t.style.opacity="0";let e=+new Date,n="0",o=function(){n=`${+t.style.opacity+(new Date().getTime()-e)/i}`,t.style.opacity=n,e=+new Date,+n<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}}function _6(t,i){return pl(t)?Array.from(t.querySelectorAll(i)):[]}function jt(t,i){return pl(t)?t.matches(i)?t:t.querySelector(i):null}function $t(t,i){t&&document.activeElement!==t&&t.focus(i)}function ld(t,i){if(pl(t)){let e=t.getAttribute(i);return isNaN(e)?e==="true"||e==="false"?e==="true":e:+e}}function hl(t,i=""){let e=_6(t,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}, [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}`),n=[];for(let o of e)getComputedStyle(o).display!="none"&&getComputedStyle(o).visibility!="hidden"&&n.push(o);return n}function fl(t,i){let e=hl(t,i);return e.length>0?e[0]:null}function Do(t){if(t){let i=t.offsetHeight,e=getComputedStyle(t);return i-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),i}return 0}function GD(t){if(t){let i=t.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function gfe(t){var i;if(t){let e=(i=GD(t))==null?void 0:i.childNodes,n=0;if(e)for(let o=0;o0?e[e.length-1]:null}function cd(t){if(t){let i=t.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function Gn(t,i){if(t){let e=t.offsetHeight;if(i){let n=getComputedStyle(t);e+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return e}return 0}function WD(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function y6(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&GD(t))}function qD(t,i){var e;if(t)switch(t){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return(e=i?.parentElement)==null?void 0:e.parentElement;default:if(typeof t=="string")return document.querySelector(t);let o=Bv((r=>!!(r&&r.constructor&&r.call&&r.apply))(t)?t():t);return o?.nodeType===9||y6(o)?o:void 0}}function Wn(t){if(t){let i=t.offsetWidth,e=getComputedStyle(t);return i-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth),i}return 0}function jv(t){return!!(t&&t.offsetParent!=null)}function $v(t){return t?getComputedStyle(t).direction==="rtl":!1}function Ns(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function KD(t){var i;t&&("remove"in Element.prototype?t.remove():(i=t.parentNode)==null||i.removeChild(t))}function QD(t,i){let e=Bv(t);if(e)e.removeChild(i);else throw new Error("Cannot remove "+i+" from "+t)}function wf(t,i){let e=getComputedStyle(t).getPropertyValue("borderTopWidth"),n=e?parseFloat(e):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),r=o?parseFloat(o):0,s=t.getBoundingClientRect(),l=i.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-n-r,c=t.scrollTop,p=t.clientHeight,g=Gn(i);l<0?t.scrollTop=c+l:l+g>p&&(t.scrollTop=c+l-p+g)}function xf(t,i="",e){pl(t)&&e!==null&&e!==void 0&&t.setAttribute(i,e)}function YD(){let t=new Map;return{on(i,e){let n=t.get(i);return n?n.push(e):n=[e],t.set(i,n),this},off(i,e){let n=t.get(i);return n&&n.splice(n.indexOf(e)>>>0,1),this},emit(i,e){let n=t.get(i);n&&n.slice().map(o=>{o(e)})},clear(){t.clear()}}}var v6=Object.defineProperty,ZD=Object.getOwnPropertySymbols,b6=Object.prototype.hasOwnProperty,C6=Object.prototype.propertyIsEnumerable,JD=(t,i,e)=>i in t?v6(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,w6=(t,i)=>{for(var e in i||(i={}))b6.call(i,e)&&JD(t,e,i[e]);if(ZD)for(var e of ZD(i))C6.call(i,e)&&JD(t,e,i[e]);return t};function Zt(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&typeof t=="object"&&Object.keys(t).length===0}function Hv(t,i,e=new WeakSet){if(t===i)return!0;if(!t||!i||typeof t!="object"||typeof i!="object"||e.has(t)||e.has(i))return!1;e.add(t).add(i);let n=Array.isArray(t),o=Array.isArray(i),r,s,a;if(n&&o){if(s=t.length,s!=i.length)return!1;for(r=s;r--!==0;)if(!Hv(t[r],i[r],e))return!1;return!0}if(n!=o)return!1;let l=t instanceof Date,c=i instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==i.getTime();let p=t instanceof RegExp,g=i instanceof RegExp;if(p!=g)return!1;if(p&&g)return t.toString()==i.toString();let v=Object.keys(t);if(s=v.length,s!==Object.keys(i).length)return!1;for(r=s;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,v[r]))return!1;for(r=s;r--!==0;)if(a=v[r],!Hv(t[a],i[a],e))return!1;return!0}function dd(t,i){return Hv(t,i)}function eO(t){return!!(t&&t.constructor&&t.call&&t.apply)}function dt(t){return!Zt(t)}function Pn(t,i){if(!t||!i)return null;try{let e=t[i];if(dt(e))return e}catch{}if(Object.keys(t).length){if(eO(i))return i(t);if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let o=0,r=e.length;oXD(r)===o)||""],e),n.join("."),e):void 0:Ai(t,e)}function If(t,i=!0){return Array.isArray(t)&&(i||t.length!==0)}function Cfe(t){return t instanceof Date&&t.constructor===Date}function tO(t){return dt(t)&&!isNaN(t)}function Sf(t=""){return dt(t)&&t.length===1&&!!t.match(/\S| /)}function yi(t,i){if(i){let e=i.test(t);return i.lastIndex=0,e}return!1}function ud(...t){let i=(e={},n={})=>{let o=w6({},e);return Object.keys(n).forEach(r=>{so(n[r])&&r in e&&so(e[r])?o[r]=i(e[r],n[r]):o[r]=n[r]}),o};return t.reduce((e,n,o)=>o===0?n:i(e,n),{})}function Fs(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function vi(t){if(t&&/[\xC0-\xFF\u0100-\u017E]/.test(t)){let e={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in e)t=t.replace(e[n],n)}return t}function Tf(t){return jr(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(i,e)=>e===0?i:"-"+i.toLowerCase()).toLowerCase():t}function zv(t){return jr(t)?t.replace(/[A-Z]/g,(i,e)=>e===0?i:"."+i.toLowerCase()).toLowerCase():t}var Df={};function Gt(t="pui_id_"){return Df.hasOwnProperty(t)||(Df[t]=0),Df[t]++,`${t}${Df[t]}`}function x6(){let t=[],i=(s,a,l=999)=>{let c=o(s,a,l),p=c.value+(c.key===s?0:l)+1;return t.push({key:s,value:p}),p},e=s=>{t=t.filter(a=>a.value!==s)},n=(s,a)=>o(s,a).value,o=(s,a,l=0)=>[...t].reverse().find(c=>a?!0:c.key===s)||{key:s,value:l},r=s=>s&&parseInt(s.style.zIndex,10)||0;return{get:r,set:(s,a,l)=>{a&&(a.style.zIndex=String(i(s,!0,l)))},clear:s=>{s&&(e(r(s)),s.style.zIndex="")},getCurrent:s=>n(s,!0)}}var Efe=x6();var Tn=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return t})(),Lfe=(()=>{class t{static AND="and";static OR="or"}return t})(),Of=(()=>{class t{filter(e,n,o,r,s){let a=[];if(e)for(let l of e)for(let c of n){let p=Pn(l,c);if(this.filters[r](p,o,s)){a.push(l);break}}return a}filters={startsWith:(e,n,o)=>{if(n==null||n.trim()==="")return!0;if(e==null)return!1;let r=vi(n.toString()).toLocaleLowerCase(o);return vi(e.toString()).toLocaleLowerCase(o).slice(0,r.length)===r},contains:(e,n,o)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(e==null)return!1;let r=vi(n.toString()).toLocaleLowerCase(o);return vi(e.toString()).toLocaleLowerCase(o).indexOf(r)!==-1},notContains:(e,n,o)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(e==null)return!1;let r=vi(n.toString()).toLocaleLowerCase(o);return vi(e.toString()).toLocaleLowerCase(o).indexOf(r)===-1},endsWith:(e,n,o)=>{if(n==null||n.trim()==="")return!0;if(e==null)return!1;let r=vi(n.toString()).toLocaleLowerCase(o),s=vi(e.toString()).toLocaleLowerCase(o);return s.indexOf(r,s.length-r.length)!==-1},equals:(e,n,o)=>n==null||typeof n=="string"&&n.trim()===""?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()===n.getTime():e==n?!0:vi(e.toString()).toLocaleLowerCase(o)==vi(n.toString()).toLocaleLowerCase(o),notEquals:(e,n,o)=>n==null||typeof n=="string"&&n.trim()===""?!1:e==null?!0:e.getTime&&n.getTime?e.getTime()!==n.getTime():e==n?!1:vi(e.toString()).toLocaleLowerCase(o)!=vi(n.toString()).toLocaleLowerCase(o),in:(e,n)=>{if(n==null||n.length===0)return!0;for(let o=0;on==null||n[0]==null||n[1]==null?!0:e==null?!1:e.getTime?n[0].getTime()<=e.getTime()&&e.getTime()<=n[1].getTime():n[0]<=e&&e<=n[1],lt:(e,n,o)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()<=n.getTime():e<=n,gt:(e,n,o)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()>n.getTime():e>n,gte:(e,n,o)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()>=n.getTime():e>=n,is:(e,n,o)=>this.filters.equals(e,n,o),isNot:(e,n,o)=>this.filters.notEquals(e,n,o),before:(e,n,o)=>this.filters.lt(e,n,o),after:(e,n,o)=>this.filters.gt(e,n,o),dateIs:(e,n)=>n==null?!0:e==null?!1:e.toDateString()===n.toDateString(),dateIsNot:(e,n)=>n==null?!0:e==null?!1:e.toDateString()!==n.toDateString(),dateBefore:(e,n)=>n==null?!0:e==null?!1:e.getTime()n==null?!0:e==null?!1:(e.setHours(0,0,0,0),e.getTime()>n.getTime())};register(e,n){this.filters[e]=n}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nO=(()=>{class t{clickSource=new K;clickObservable=this.clickSource.asObservable();add(e){e&&this.clickSource.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wt=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(n){return new(n||t)(b(Tt))};static \u0275dir=te({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),Ye=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Se]})}return t})(),Mo=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return t})();var E6=Object.defineProperty,I6=Object.defineProperties,S6=Object.getOwnPropertyDescriptors,Mf=Object.getOwnPropertySymbols,rO=Object.prototype.hasOwnProperty,sO=Object.prototype.propertyIsEnumerable,iO=(t,i,e)=>i in t?E6(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,lo=(t,i)=>{for(var e in i||(i={}))rO.call(i,e)&&iO(t,e,i[e]);if(Mf)for(var e of Mf(i))sO.call(i,e)&&iO(t,e,i[e]);return t},Uv=(t,i)=>I6(t,S6(i)),pr=(t,i)=>{var e={};for(var n in t)rO.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&Mf)for(var n of Mf(t))i.indexOf(n)<0&&sO.call(t,n)&&(e[n]=t[n]);return e};function Bfe(...t){return ud(...t)}var T6=YD(),bi=T6;function oO(t,i){If(t)?t.push(...i||[]):so(t)&&Object.assign(t,i)}function D6(t){return so(t)&&t.hasOwnProperty("value")&&t.hasOwnProperty("type")?t.value:t}function O6(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Gv(t="",i=""){return O6(`${jr(t,!1)&&jr(i,!1)?`${t}-`:t}${i}`)}function aO(t="",i=""){return`--${Gv(t,i)}`}function M6(t=""){let i=(t.match(/{/g)||[]).length,e=(t.match(/}/g)||[]).length;return(i+e)%2!==0}function lO(t,i="",e="",n=[],o){if(jr(t)){let r=/{([^}]*)}/g,s=t.trim();if(M6(s))return;if(yi(s,r)){let a=s.replaceAll(r,p=>{let v=p.replace(/{|}/g,"").split(".").filter(y=>!n.some(x=>yi(y,x)));return`var(${aO(e,Tf(v.join("-")))}${dt(o)?`, ${o}`:""})`}),l=/(\d+\s+[\+\-\*\/]\s+\d+)/g,c=/var\([^)]+\)/g;return yi(a.replace(c,"0"),l)?`calc(${a})`:a}return s}else if(tO(t))return t}function R6(t,i,e){jr(i,!1)&&t.push(`${i}:${e};`)}function _l(t,i){return t?`${t}{${i}}`:""}var yl=(...t)=>P6(Mt.getTheme(),...t),P6=(t={},i,e,n)=>{if(i){let{variable:o,options:r}=Mt.defaults||{},{prefix:s,transform:a}=t?.options||r||{},c=yi(i,/{([^}]*)}/g)?i:`{${i}}`;return n==="value"||Zt(n)&&a==="strict"?Mt.getTokenValue(i):lO(c,void 0,s,[o.excludedKeyRegex],e)}return""};function k6(t,i={}){let e=Mt.defaults.variable,{prefix:n=e.prefix,selector:o=e.selector,excludedKeyRegex:r=e.excludedKeyRegex}=i,s=(c,p="")=>Object.entries(c).reduce((g,[v,y])=>{let x=yi(v,r)?Gv(p):Gv(p,Tf(v)),P=D6(y);if(so(P)){let{variables:j,tokens:q}=s(P,x);oO(g.tokens,q),oO(g.variables,j)}else g.tokens.push((n?x.replace(`${n}-`,""):x).replaceAll("-",".")),R6(g.variables,aO(x),lO(P,x,n,[r]));return g},{variables:[],tokens:[]}),{variables:a,tokens:l}=s(t,n);return{value:a,tokens:l,declarations:a.join(""),css:_l(o,a.join(""))}}var ao={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:`${t}{:root{[CSS]}}`,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(t.trim())}}},custom:{resolve(t){return{type:"custom",selector:t,matched:!0}}}},resolve(t){let i=Object.keys(this.rules).filter(e=>e!=="custom").map(e=>this.rules[e]);return[t].flat().map(e=>{var n;return(n=i.map(o=>o.resolve(e)).find(o=>o.matched))!=null?n:this.rules.custom.resolve(e)})}},_toVariables(t,i){return k6(t,{prefix:i?.prefix})},getCommon({name:t="",theme:i={},params:e,set:n,defaults:o}){var r,s,a,l,c,p,g;let{preset:v,options:y}=i,x,P,j,q,ie,Oe,it;if(dt(v)&&y.transform!=="strict"){let{primitive:Nt,semantic:vn,extend:Fo}=v,es=vn||{},{colorScheme:Qs}=es,Ys=pr(es,["colorScheme"]),Zs=Fo||{},{colorScheme:Js}=Zs,ts=pr(Zs,["colorScheme"]),ns=Qs||{},{dark:Xs}=ns,ea=pr(ns,["dark"]),ta=Js||{},{dark:na}=ta,ia=pr(ta,["dark"]),oa=dt(Nt)?this._toVariables({primitive:Nt},y):{},ra=dt(Ys)?this._toVariables({semantic:Ys},y):{},sa=dt(ea)?this._toVariables({light:ea},y):{},iu=dt(Xs)?this._toVariables({dark:Xs},y):{},ou=dt(ts)?this._toVariables({semantic:ts},y):{},ru=dt(ia)?this._toVariables({light:ia},y):{},su=dt(na)?this._toVariables({dark:na},y):{},[Jm,Xm]=[(r=oa.declarations)!=null?r:"",oa.tokens],[VP,BP]=[(s=ra.declarations)!=null?s:"",ra.tokens||[]],[jP,$P]=[(a=sa.declarations)!=null?a:"",sa.tokens||[]],[HP,zP]=[(l=iu.declarations)!=null?l:"",iu.tokens||[]],[UP,GP]=[(c=ou.declarations)!=null?c:"",ou.tokens||[]],[WP,qP]=[(p=ru.declarations)!=null?p:"",ru.tokens||[]],[KP,QP]=[(g=su.declarations)!=null?g:"",su.tokens||[]];x=this.transformCSS(t,Jm,"light","variable",y,n,o),P=Xm;let YP=this.transformCSS(t,`${VP}${jP}`,"light","variable",y,n,o),ZP=this.transformCSS(t,`${HP}`,"dark","variable",y,n,o);j=`${YP}${ZP}`,q=[...new Set([...BP,...$P,...zP])];let JP=this.transformCSS(t,`${UP}${WP}color-scheme:light`,"light","variable",y,n,o),XP=this.transformCSS(t,`${KP}color-scheme:dark`,"dark","variable",y,n,o);ie=`${JP}${XP}`,Oe=[...new Set([...GP,...qP,...QP])],it=Ai(v.css,{dt:yl})}return{primitive:{css:x,tokens:P},semantic:{css:j,tokens:q},global:{css:ie,tokens:Oe},style:it}},getPreset({name:t="",preset:i={},options:e,params:n,set:o,defaults:r,selector:s}){var a,l,c;let p,g,v;if(dt(i)&&e.transform!=="strict"){let y=t.replace("-directive",""),x=i,{colorScheme:P,extend:j,css:q}=x,ie=pr(x,["colorScheme","extend","css"]),Oe=j||{},{colorScheme:it}=Oe,Nt=pr(Oe,["colorScheme"]),vn=P||{},{dark:Fo}=vn,es=pr(vn,["dark"]),Qs=it||{},{dark:Ys}=Qs,Zs=pr(Qs,["dark"]),Js=dt(ie)?this._toVariables({[y]:lo(lo({},ie),Nt)},e):{},ts=dt(es)?this._toVariables({[y]:lo(lo({},es),Zs)},e):{},ns=dt(Fo)?this._toVariables({[y]:lo(lo({},Fo),Ys)},e):{},[Xs,ea]=[(a=Js.declarations)!=null?a:"",Js.tokens||[]],[ta,na]=[(l=ts.declarations)!=null?l:"",ts.tokens||[]],[ia,oa]=[(c=ns.declarations)!=null?c:"",ns.tokens||[]],ra=this.transformCSS(y,`${Xs}${ta}`,"light","variable",e,o,r,s),sa=this.transformCSS(y,ia,"dark","variable",e,o,r,s);p=`${ra}${sa}`,g=[...new Set([...ea,...na,...oa])],v=Ai(q,{dt:yl})}return{css:p,tokens:g,style:v}},getPresetC({name:t="",theme:i={},params:e,set:n,defaults:o}){var r;let{preset:s,options:a}=i,l=(r=s?.components)==null?void 0:r[t];return this.getPreset({name:t,preset:l,options:a,params:e,set:n,defaults:o})},getPresetD({name:t="",theme:i={},params:e,set:n,defaults:o}){var r;let s=t.replace("-directive",""),{preset:a,options:l}=i,c=(r=a?.directives)==null?void 0:r[s];return this.getPreset({name:s,preset:c,options:l,params:e,set:n,defaults:o})},applyDarkColorScheme(t){return!(t.darkModeSelector==="none"||t.darkModeSelector===!1)},getColorSchemeOption(t,i){var e;return this.applyDarkColorScheme(t)?this.regex.resolve(t.darkModeSelector===!0?i.options.darkModeSelector:(e=t.darkModeSelector)!=null?e:i.options.darkModeSelector):[]},getLayerOrder(t,i={},e,n){let{cssLayer:o}=i;return o?`@layer ${Ai(o.order||"primeui",e)}`:""},getCommonStyleSheet({name:t="",theme:i={},params:e,props:n={},set:o,defaults:r}){let s=this.getCommon({name:t,theme:i,params:e,set:o,defaults:r}),a=Object.entries(n).reduce((l,[c,p])=>l.push(`${c}="${p}"`)&&l,[]).join(" ");return Object.entries(s||{}).reduce((l,[c,p])=>{if(p?.css){let g=Fs(p?.css),v=`${c}-variables`;l.push(``)}return l},[]).join("")},getStyleSheet({name:t="",theme:i={},params:e,props:n={},set:o,defaults:r}){var s;let a={name:t,theme:i,params:e,set:o,defaults:r},l=(s=t.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:s.css,c=Object.entries(n).reduce((p,[g,v])=>p.push(`${g}="${v}"`)&&p,[]).join(" ");return l?``:""},createTokens(t={},i,e="",n="",o={}){return Object.entries(t).forEach(([r,s])=>{let a=yi(r,i.variable.excludedKeyRegex)?e:e?`${e}.${zv(r)}`:zv(r),l=n?`${n}.${r}`:r;so(s)?this.createTokens(s,i,a,l,o):(o[a]||(o[a]={paths:[],computed(c,p={}){var g,v;return this.paths.length===1?(g=this.paths[0])==null?void 0:g.computed(this.paths[0].scheme,p.binding):c&&c!=="none"?(v=this.paths.find(y=>y.scheme===c))==null?void 0:v.computed(c,p.binding):this.paths.map(y=>y.computed(y.scheme,p[y.scheme]))}}),o[a].paths.push({path:l,value:s,scheme:l.includes("colorScheme.light")?"light":l.includes("colorScheme.dark")?"dark":"none",computed(c,p={}){let g=/{([^}]*)}/g,v=s;if(p.name=this.path,p.binding||(p.binding={}),yi(s,g)){let x=s.trim().replaceAll(g,q=>{var ie;let Oe=q.replace(/{|}/g,""),it=(ie=o[Oe])==null?void 0:ie.computed(c,p);return If(it)&&it.length===2?`light-dark(${it[0].value},${it[1].value})`:it?.value}),P=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,j=/var\([^)]+\)/g;v=yi(x.replace(j,"0"),P)?`calc(${x})`:x}return Zt(p.binding)&&delete p.binding,{colorScheme:c,path:this.path,paths:p,value:v.includes("undefined")?void 0:v}}}))}),o},getTokenValue(t,i,e){var n;let r=(l=>l.split(".").filter(p=>!yi(p.toLowerCase(),e.variable.excludedKeyRegex)).join("."))(i),s=i.includes("colorScheme.light")?"light":i.includes("colorScheme.dark")?"dark":void 0,a=[(n=t[r])==null?void 0:n.computed(s)].flat().filter(l=>l);return a.length===1?a[0].value:a.reduce((l={},c)=>{let p=c,{colorScheme:g}=p,v=pr(p,["colorScheme"]);return l[g]=v,l},void 0)},getSelectorRule(t,i,e,n){return e==="class"||e==="attr"?_l(dt(i)?`${t}${i},${t} ${i}`:t,n):_l(t,dt(i)?_l(i,n):n)},transformCSS(t,i,e,n,o={},r,s,a){if(dt(i)){let{cssLayer:l}=o;if(n!=="style"){let c=this.getColorSchemeOption(o,s);i=e==="dark"?c.reduce((p,{type:g,selector:v})=>(dt(v)&&(p+=v.includes("[CSS]")?v.replace("[CSS]",i):this.getSelectorRule(v,a,g,i)),p),""):_l(a??":root",i)}if(l){let c={name:"primeui",order:"primeui"};so(l)&&(c.name=Ai(l.name,{name:t,type:n})),dt(c.name)&&(i=_l(`@layer ${c.name}`,i),r?.layerNames(c.name))}return i}return""}},Mt={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){let{theme:i}=t;i&&(this._theme=Uv(lo({},i),{options:lo(lo({},this.defaults.options),i.options)}),this._tokens=ao.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return((t=this.theme)==null?void 0:t.preset)||{}},get options(){var t;return((t=this.theme)==null?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),bi.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=Uv(lo({},this.theme),{preset:t}),this._tokens=ao.createTokens(t,this.defaults),this.clearLoadedStyleNames(),bi.emit("preset:change",t),bi.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=Uv(lo({},this.theme),{options:t}),this.clearLoadedStyleNames(),bi.emit("options:change",t),bi.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return ao.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",i){return ao.getCommon({name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",i){let e={name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ao.getPresetC(e)},getDirective(t="",i){let e={name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ao.getPresetD(e)},getCustomPreset(t="",i,e,n){let o={name:t,preset:i,options:this.options,selector:e,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ao.getPreset(o)},getLayerOrderCSS(t=""){return ao.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",i,e="style",n){return ao.transformCSS(t,i,n,e,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",i,e={}){return ao.getCommonStyleSheet({name:t,theme:this.theme,params:i,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,i,e={}){return ao.getStyleSheet({name:t,theme:this.theme,params:i,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:i}){this._loadingStyles.size&&(this._loadingStyles.delete(i),bi.emit(`theme:${i}:load`,t),!this._loadingStyles.size&&bi.emit("theme:load"))}};var A6=0,cO=(()=>{class t{document=C(De);use(e,n={}){let o=!1,r=e,s=null,{immediate:a=!0,manual:l=!1,name:c=`style_${++A6}`,id:p=void 0,media:g=void 0,nonce:v=void 0,first:y=!1,props:x={}}=n;if(this.document){if(s=this.document.querySelector(`style[data-primeng-style-id="${c}"]`)||p&&this.document.getElementById(p)||this.document.createElement("style"),!s.isConnected){r=e,Cf(s,{type:"text/css",media:g,nonce:v});let P=this.document.head;y&&P.firstChild?P.insertBefore(s,P.firstChild):P.appendChild(s),xf(s,"data-primeng-style-id",c)}return s.textContent!==r&&(s.textContent=r),{id:p,name:c,el:s,css:r}}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var vl={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},N6=({dt:t})=>` *, ::before, ::after { box-sizing: border-box; } /* Non ng overlay animations */ .p-connected-overlay { opacity: 0; transform: scaleY(0.8); transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1); } .p-connected-overlay-visible { opacity: 1; transform: scaleY(1); } .p-connected-overlay-hidden { opacity: 0; transform: scaleY(1); transition: opacity 0.1s linear; } /* NG based overlay animations */ .p-connected-overlay-enter-from { opacity: 0; transform: scaleY(0.8); } .p-connected-overlay-leave-to { opacity: 0; } .p-connected-overlay-enter-active { transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1); } .p-connected-overlay-leave-active { transition: opacity 0.1s linear; } /* Toggleable Content */ .p-toggleable-content-enter-from, .p-toggleable-content-leave-to { max-height: 0; } .p-toggleable-content-enter-to, .p-toggleable-content-leave-from { max-height: 1000px; } .p-toggleable-content-leave-active { overflow: hidden; transition: max-height 0.45s cubic-bezier(0, 1, 0, 1); } .p-toggleable-content-enter-active { overflow: hidden; transition: max-height 1s ease-in-out; } .p-disabled, .p-disabled * { cursor: default; pointer-events: none; user-select: none; } .p-disabled, .p-component:disabled { opacity: ${t("disabled.opacity")}; } .pi { font-size: ${t("icon.size")}; } .p-icon { width: ${t("icon.size")}; height: ${t("icon.size")}; } .p-overlay-mask { background: ${t("mask.background")}; color: ${t("mask.color")}; position: fixed; top: 0; left: 0; width: 100%; height: 100%; } .p-overlay-mask-enter { animation: p-overlay-mask-enter-animation ${t("mask.transition.duration")} forwards; } .p-overlay-mask-leave { animation: p-overlay-mask-leave-animation ${t("mask.transition.duration")} forwards; } /* Temporarily disabled, distrupts PrimeNG overlay animations */ /* @keyframes p-overlay-mask-enter-animation { from { background: transparent; } to { background: ${t("mask.background")}; } } @keyframes p-overlay-mask-leave-animation { from { background: ${t("mask.background")}; } to { background: transparent; } }*/ .p-iconwrapper { display: inline-flex; justify-content: center; align-items: center; } `,F6=({dt:t})=>` .p-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .p-hidden-accessible input, .p-hidden-accessible select { transform: scale(0); } .p-overflow-hidden { overflow: hidden; padding-right: ${t("scrollbar.width")}; } /* @todo move to baseiconstyle.ts */ .p-icon { display: inline-block; vertical-align: baseline; } .p-icon-spin { -webkit-animation: p-icon-spin 2s infinite linear; animation: p-icon-spin 2s infinite linear; } @-webkit-keyframes p-icon-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes p-icon-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } `,nt=(()=>{class t{name="base";useStyle=C(cO);theme=void 0;css=void 0;classes={};inlineStyles={};load=(e,n={},o=r=>r)=>{let r=o(Ai(e,{dt:yl}));return r?this.useStyle.use(Fs(r),k({name:this.name},n)):{}};loadCSS=(e={})=>this.load(this.css,e);loadTheme=(e={},n="")=>this.load(this.theme,e,(o="")=>Mt.transformCSS(e.name||this.name,`${o}${n}`));loadGlobalCSS=(e={})=>this.load(F6,e);loadGlobalTheme=(e={},n="")=>this.load(N6,e,(o="")=>Mt.transformCSS(e.name||this.name,`${o}${n}`));getCommonTheme=e=>Mt.getCommon(this.name,e);getComponentTheme=e=>Mt.getComponent(this.name,e);getDirectiveTheme=e=>Mt.getDirective(this.name,e);getPresetTheme=(e,n,o)=>Mt.getCustomPreset(this.name,e,n,o);getLayerOrderThemeCSS=()=>Mt.getLayerOrderCSS(this.name);getStyleSheet=(e="",n={})=>{if(this.css){let o=Ai(this.css,{dt:yl}),r=Fs(`${o}${e}`),s=Object.entries(n).reduce((a,[l,c])=>a.push(`${l}="${c}"`)&&a,[]).join(" ");return``}return""};getCommonThemeStyleSheet=(e,n={})=>Mt.getCommonStyleSheet(this.name,e,n);getThemeStyleSheet=(e,n={})=>{let o=[Mt.getStyleSheet(this.name,e,n)];if(this.theme){let r=this.name==="base"?"global-style":`${this.name}-style`,s=Ai(this.theme,{dt:yl}),a=Fs(Mt.transformCSS(r,s)),l=Object.entries(n).reduce((c,[p,g])=>c.push(`${p}="${g}"`)&&c,[]).join(" ");o.push(``)}return o.join("")};static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var L6=(()=>{class t{theme=ht(void 0);csp=ht({nonce:void 0});isThemeChanged=!1;document=C(De);baseStyle=C(nt);constructor(){pi(()=>{bi.on("theme:change",e=>{Mn(()=>{this.isThemeChanged=!0,this.theme.set(e)})})}),pi(()=>{let e=this.theme();this.document&&e&&(this.isThemeChanged||this.onThemeChange(e),this.isThemeChanged=!1)})}ngOnDestroy(){Mt.clearLoadedStyleNames(),bi.clear()}onThemeChange(e){Mt.setTheme(e),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!Mt.isStyleNameLoaded("common")){let{primitive:e,semantic:n,global:o,style:r}=this.baseStyle.getCommonTheme?.()||{},s={nonce:this.csp?.()?.nonce};this.baseStyle.load(e?.css,k({name:"primitive-variables"},s)),this.baseStyle.load(n?.css,k({name:"semantic-variables"},s)),this.baseStyle.load(o?.css,k({name:"global-variables"},s)),this.baseStyle.loadGlobalTheme(k({name:"global-style"},s),r),Mt.setLoadedStyleName("common")}}setThemeConfig(e){let{theme:n,csp:o}=e||{};n&&this.theme.set(n),o&&this.csp.set(o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wv=(()=>{class t extends L6{ripple=ht(!1);platformId=C(Fe);inputStyle=ht(null);inputVariant=ht(null);overlayOptions={};csp=ht({nonce:void 0});filterMatchModeOptions={text:[Tn.STARTS_WITH,Tn.CONTAINS,Tn.NOT_CONTAINS,Tn.ENDS_WITH,Tn.EQUALS,Tn.NOT_EQUALS],numeric:[Tn.EQUALS,Tn.NOT_EQUALS,Tn.LESS_THAN,Tn.LESS_THAN_OR_EQUAL_TO,Tn.GREATER_THAN,Tn.GREATER_THAN_OR_EQUAL_TO],date:[Tn.DATE_IS,Tn.DATE_IS_NOT,Tn.DATE_BEFORE,Tn.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new K;translationObserver=this.translationSource.asObservable();getTranslation(e){return this.translation[e]}setTranslation(e){this.translation=k(k({},this.translation),e),this.translationSource.next(this.translation)}setConfig(e){let{csp:n,ripple:o,inputStyle:r,inputVariant:s,theme:a,overlayOptions:l,translation:c}=e||{};n&&this.csp.set(n),o&&this.ripple.set(o),r&&this.inputStyle.set(r),s&&this.inputVariant.set(s),l&&(this.overlayOptions=l),c&&this.setTranslation(c),a&&this.setThemeConfig({theme:a,csp:n})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),V6=new M("PRIME_NG_CONFIG");function mme(...t){let i=t?.map(n=>({provide:V6,useValue:n,multi:!1})),e=hS(()=>{let n=C(Wv);t?.forEach(o=>n.setConfig(o))});return Eo([...i,e])}var dO=(()=>{class t extends nt{name="common";static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ue=(()=>{class t{document=C(De);platformId=C(Fe);el=C(ye);injector=C(Qe);cd=C(dn);renderer=C(wt);config=C(Wv);baseComponentStyle=C(dO);baseStyle=C(nt);scopedStyleEl;rootEl;dt;get styleOptions(){return{nonce:this.config?.csp().nonce}}get _name(){return this.constructor.name.replace(/^_/,"").toLowerCase()}get componentStyle(){return this._componentStyle}attrSelector=Gt("pc");themeChangeListeners=[];_getHostInstance(e){if(e)return e?this.hostName?e.name===this.hostName?e:this._getHostInstance(e.parentInstance):e.parentInstance:void 0}_getOptionValue(e,n="",o={}){return Ef(e,n,o)}ngOnInit(){this.document&&this._loadStyles()}ngAfterViewInit(){this.rootEl=this.el?.nativeElement,this.rootEl&&this.rootEl?.setAttribute(this.attrSelector,"")}ngOnChanges(e){if(this.document&&!sr(this.platformId)){let{dt:n}=e;n&&n.currentValue&&(this._loadScopedThemeStyles(n.currentValue),this._themeChangeListener(()=>this._loadScopedThemeStyles(n.currentValue)))}}ngOnDestroy(){this._unloadScopedThemeStyles(),this.themeChangeListeners.forEach(e=>bi.off("theme:change",e))}_loadStyles(){let e=()=>{vl.isStyleNameLoaded("base")||(this.baseStyle.loadGlobalCSS(this.styleOptions),vl.setLoadedStyleName("base")),this._loadThemeStyles()};e(),this._themeChangeListener(()=>e())}_loadCoreStyles(){!vl.isStyleNameLoaded("base")&&this._name&&(this.baseComponentStyle.loadCSS(this.styleOptions),this.componentStyle&&this.componentStyle?.loadCSS(this.styleOptions),vl.setLoadedStyleName(this.componentStyle?.name))}_loadThemeStyles(){if(!Mt.isStyleNameLoaded("common")){let{primitive:e,semantic:n,global:o,style:r}=this.componentStyle?.getCommonTheme?.()||{};this.baseStyle.load(e?.css,k({name:"primitive-variables"},this.styleOptions)),this.baseStyle.load(n?.css,k({name:"semantic-variables"},this.styleOptions)),this.baseStyle.load(o?.css,k({name:"global-variables"},this.styleOptions)),this.baseStyle.loadGlobalTheme(k({name:"global-style"},this.styleOptions),r),Mt.setLoadedStyleName("common")}if(!Mt.isStyleNameLoaded(this.componentStyle?.name)&&this.componentStyle?.name){let{css:e,style:n}=this.componentStyle?.getComponentTheme?.()||{};this.componentStyle?.load(e,k({name:`${this.componentStyle?.name}-variables`},this.styleOptions)),this.componentStyle?.loadTheme(k({name:`${this.componentStyle?.name}-style`},this.styleOptions),n),Mt.setLoadedStyleName(this.componentStyle?.name)}if(!Mt.isStyleNameLoaded("layer-order")){let e=this.componentStyle?.getLayerOrderThemeCSS?.();this.baseStyle.load(e,k({name:"layer-order",first:!0},this.styleOptions)),Mt.setLoadedStyleName("layer-order")}this.dt&&(this._loadScopedThemeStyles(this.dt),this._themeChangeListener(()=>this._loadScopedThemeStyles(this.dt)))}_loadScopedThemeStyles(e){let{css:n}=this.componentStyle?.getPresetTheme?.(e,`[${this.attrSelector}]`)||{},o=this.componentStyle?.load(n,k({name:`${this.attrSelector}-${this.componentStyle?.name}`},this.styleOptions));this.scopedStyleEl=o?.el}_unloadScopedThemeStyles(){this.scopedStyleEl?.remove()}_themeChangeListener(e=()=>{}){vl.clearLoadedStyleNames(),bi.on("theme:change",e),this.themeChangeListeners.push(e)}cx(e,n){let o=this.parent?this.parent.componentStyle?.classes?.[e]:this.componentStyle?.classes?.[e];return typeof o=="function"?o({instance:this}):typeof o=="string"?o:e}sx(e){let n=this.componentStyle?.inlineStyles?.[e];return typeof n=="function"?n({instance:this}):typeof n=="string"?n:k({},n)}get parent(){return this.parentInstance}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,inputs:{dt:"dt"},features:[fe([dO,nt]),Ke]})}return t})();var Ro=(()=>{class t{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(e,n){e&&n&&(e.classList?e.classList.add(n):e.className+=" "+n)}static addMultipleClasses(e,n){if(e&&n)if(e.classList){let o=n.trim().split(" ");for(let r=0;ro.split(" ").forEach(r=>this.removeClass(e,r)))}static hasClass(e,n){return e&&n?e.classList?e.classList.contains(n):new RegExp("(^| )"+n+"( |$)","gi").test(e.className):!1}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(n){return n!==e})}static find(e,n){return Array.from(e.querySelectorAll(n))}static findSingle(e,n){return this.isElement(e)?e.querySelector(n):null}static index(e){let n=e.parentNode.childNodes,o=0;for(var r=0;r{if(ie)return getComputedStyle(ie).getPropertyValue("position")==="relative"?ie:r(ie.parentElement)},s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=n.offsetHeight,l=n.getBoundingClientRect(),c=this.getWindowScrollTop(),p=this.getWindowScrollLeft(),g=this.getViewport(),y=r(e)?.getBoundingClientRect()||{top:-1*c,left:-1*p},x,P;l.top+a+s.height>g.height?(x=l.top-y.top-s.height,e.style.transformOrigin="bottom",l.top+x<0&&(x=-1*l.top)):(x=a+l.top-y.top,e.style.transformOrigin="top");let j=l.left+s.width-g.width,q=l.left-y.left;s.width>g.width?P=(l.left-y.left)*-1:j>0?P=q-j:P=l.left-y.left,e.style.top=x+"px",e.style.left=P+"px",o&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static absolutePosition(e,n,o=!0){let r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=r.height,a=r.width,l=n.offsetHeight,c=n.offsetWidth,p=n.getBoundingClientRect(),g=this.getWindowScrollTop(),v=this.getWindowScrollLeft(),y=this.getViewport(),x,P;p.top+l+s>y.height?(x=p.top+g-s,e.style.transformOrigin="bottom",x<0&&(x=g)):(x=l+p.top+g,e.style.transformOrigin="top"),p.left+a>y.width?P=Math.max(0,p.left+v+c-a):P=p.left+v,e.style.top=x+"px",e.style.left=P+"px",o&&(e.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(e,n=[]){return e.parentNode===null?n:this.getParents(e.parentNode,n.concat([e.parentNode]))}static getScrollableParents(e){let n=[];if(e){let o=this.getParents(e),r=/(auto|scroll)/,s=a=>{let l=window.getComputedStyle(a,null);return r.test(l.getPropertyValue("overflow"))||r.test(l.getPropertyValue("overflowX"))||r.test(l.getPropertyValue("overflowY"))};for(let a of o){let l=a.nodeType===1&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let p of c){let g=this.findSingle(a,p);g&&s(g)&&n.push(g)}}a.nodeType!==9&&s(a)&&n.push(a)}}return n}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let n=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",n}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let n=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",n}static getHiddenElementDimensions(e){let n={};return e.style.visibility="hidden",e.style.display="block",n.width=e.offsetWidth,n.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",n}static scrollInView(e,n){let o=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=o?parseFloat(o):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),p=n.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-r-a,g=e.scrollTop,v=e.clientHeight,y=this.getOuterHeight(n);p<0?e.scrollTop=g+p:p+y>v&&(e.scrollTop=g+p-v+y)}static fadeIn(e,n){e.style.opacity=0;let o=+new Date,r=0,s=function(){r=+e.style.opacity.replace(",",".")+(new Date().getTime()-o)/n,e.style.opacity=r,o=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};s()}static fadeOut(e,n){var o=1,r=50,s=n,a=r/s;let l=setInterval(()=>{o=o-a,o<=0&&(o=0,clearInterval(l)),e.style.opacity=o},r)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,n){var o=Element.prototype,r=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(s){return[].indexOf.call(document.querySelectorAll(s),this)!==-1};return r.call(e,n)}static getOuterWidth(e,n){let o=e.offsetWidth;if(n){let r=getComputedStyle(e);o+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return o}static getHorizontalPadding(e){let n=getComputedStyle(e);return parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}static getHorizontalMargin(e){let n=getComputedStyle(e);return parseFloat(n.marginLeft)+parseFloat(n.marginRight)}static innerWidth(e){let n=e.offsetWidth,o=getComputedStyle(e);return n+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),n}static width(e){let n=e.offsetWidth,o=getComputedStyle(e);return n-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),n}static getInnerHeight(e){let n=e.offsetHeight,o=getComputedStyle(e);return n+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),n}static getOuterHeight(e,n){let o=e.offsetHeight;if(n){let r=getComputedStyle(e);o+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return o}static getHeight(e){let n=e.offsetHeight,o=getComputedStyle(e);return n-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),n}static getWidth(e){let n=e.offsetWidth,o=getComputedStyle(e);return n-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),n}static getViewport(){let e=window,n=document,o=n.documentElement,r=n.getElementsByTagName("body")[0],s=e.innerWidth||o.clientWidth||r.clientWidth,a=e.innerHeight||o.clientHeight||r.clientHeight;return{width:s,height:a}}static getOffset(e){var n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:n.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,n){let o=e.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(n,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return!0;var o=e.indexOf("Trident/");if(o>0){var r=e.indexOf("rv:");return!0}var s=e.indexOf("Edge/");return s>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,n){if(this.isElement(n))n.appendChild(e);else if(n&&n.el&&n.el.nativeElement)n.el.nativeElement.appendChild(e);else throw"Cannot append "+n+" to "+e}static removeChild(e,n){if(this.isElement(n))n.removeChild(e);else if(n.el&&n.el.nativeElement)n.el.nativeElement.removeChild(e);else throw"Cannot remove "+e+" from "+n}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}static calculateScrollbarWidth(e){if(e){let n=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);let o=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let n=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=n,n}static invokeElementMethod(e,n,o){e[n].apply(e,o)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),n=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:n[1]||"",version:n[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||e.offsetParent===null}static isVisible(e){return e&&e.offsetParent!=null}static isExist(e){return e!==null&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,n){e&&document.activeElement!==e&&e.focus(n)}static getFocusableSelectorString(e=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}, .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`}static getFocusableElements(e,n=""){let o=this.find(e,this.getFocusableSelectorString(n)),r=[];for(let s of o){let a=getComputedStyle(s);this.isVisible(s)&&a.display!="none"&&a.visibility!="hidden"&&r.push(s)}return r}static getFocusableElement(e,n=""){let o=this.findSingle(e,this.getFocusableSelectorString(n));if(o){let r=getComputedStyle(o);if(this.isVisible(o)&&r.display!="none"&&r.visibility!="hidden")return o}return null}static getFirstFocusableElement(e,n=""){let o=this.getFocusableElements(e,n);return o.length>0?o[0]:null}static getLastFocusableElement(e,n){let o=this.getFocusableElements(e,n);return o.length>0?o[o.length-1]:null}static getNextFocusableElement(e,n=!1){let o=t.getFocusableElements(e),r=0;if(o&&o.length>0){let s=o.indexOf(o[0].ownerDocument.activeElement);n?s==-1||s===0?r=o.length-1:r=s-1:s!=-1&&s!==o.length-1&&(r=s+1)}return o[r]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,n){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return n?.nextElementSibling;case"@prev":return n?.previousElementSibling;case"@parent":return n?.parentElement;case"@grandparent":return n?.parentElement.parentElement;default:let o=typeof e;if(o==="string")return document.querySelector(e);if(o==="object"&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;let s=(a=>!!(a&&a.constructor&&a.call&&a.apply))(e)?e():e;return s&&s.nodeType===9||this.isExist(s)?s:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(e,n){if(e){let o=e.getAttribute(n);return isNaN(o)?o==="true"||o==="false"?o==="true":o:+o}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(e="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,e)}static unblockBodyScroll(e="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,e)}static createElement(e,n={},...o){if(e){let r=document.createElement(e);return this.setAttributes(r,n),r.append(...o),r}}static setAttribute(e,n="",o){this.isElement(e)&&o!==null&&o!==void 0&&e.setAttribute(n,o)}static setAttributes(e,n={}){if(this.isElement(e)){let o=(r,s)=>{let a=e?.$attrs?.[r]?[e?.$attrs?.[r]]:[];return[s].flat().reduce((l,c)=>{if(c!=null){let p=typeof c;if(p==="string"||p==="number")l.push(c);else if(p==="object"){let g=Array.isArray(c)?o(r,c):Object.entries(c).map(([v,y])=>r==="style"&&(y||y===0)?`${v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${y}`:y?v:void 0);l=g.length?l.concat(g.filter(v=>!!v)):l}}return l},a)};Object.entries(n).forEach(([r,s])=>{if(s!=null){let a=r.match(/^on(.+)/);a?e.addEventListener(a[1].toLowerCase(),s):r==="pBind"?this.setAttributes(e,s):(s=r==="class"?[...new Set(o("class",s))].join(" ").trim():r==="style"?o("style",s).join(";").trim():s,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=s),e.setAttribute(r,s))}})}}static isFocusableElement(e,n=""){return this.isElement(e)?e.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}, [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${n}`):!1}}return t})(),bl=class{element;listener;scrollableParents;constructor(i,e=()=>{}){this.element=i,this.listener=e}bindScrollListener(){this.scrollableParents=Ro.getScrollableParents(this.element);for(let i=0;i{class t extends Ue{autofocus=!1;_autofocus=!1;focused=!1;platformId=C(Fe);document=C(De);host=C(ye);ngAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}ngAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){We(this.platformId)&&this._autofocus&&setTimeout(()=>{let e=Ro.getFocusableElements(this.host?.nativeElement);e.length===0&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[2,"autofocus","autofocus",H],_autofocus:[0,"pAutoFocus","_autofocus"]},features:[Z]})}return t})(),uO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var j6=({dt:t})=>` .p-badge { display: inline-flex; border-radius: ${t("badge.border.radius")}; justify-content: center; padding: ${t("badge.padding")}; background: ${t("badge.primary.background")}; color: ${t("badge.primary.color")}; font-size: ${t("badge.font.size")}; font-weight: ${t("badge.font.weight")}; min-width: ${t("badge.min.width")}; height: ${t("badge.height")}; line-height: ${t("badge.height")}; } .p-badge-dot { width: ${t("badge.dot.size")}; min-width: ${t("badge.dot.size")}; height: ${t("badge.dot.size")}; border-radius: 50%; padding: 0; } .p-badge-circle { padding: 0; border-radius: 50%; } .p-badge-secondary { background: ${t("badge.secondary.background")}; color: ${t("badge.secondary.color")}; } .p-badge-success { background: ${t("badge.success.background")}; color: ${t("badge.success.color")}; } .p-badge-info { background: ${t("badge.info.background")}; color: ${t("badge.info.color")}; } .p-badge-warn { background: ${t("badge.warn.background")}; color: ${t("badge.warn.color")}; } .p-badge-danger { background: ${t("badge.danger.background")}; color: ${t("badge.danger.color")}; } .p-badge-contrast { background: ${t("badge.contrast.background")}; color: ${t("badge.contrast.color")}; } .p-badge-sm { font-size: ${t("badge.sm.font.size")}; min-width: ${t("badge.sm.min.width")}; height: ${t("badge.sm.height")}; line-height: ${t("badge.sm.height")}; } .p-badge-lg { font-size: ${t("badge.lg.font.size")}; min-width: ${t("badge.lg.min.width")}; height: ${t("badge.lg.height")}; line-height: ${t("badge.lg.height")}; } .p-badge-xl { font-size: ${t("badge.xl.font.size")}; min-width: ${t("badge.xl.min.width")}; height: ${t("badge.xl.height")}; line-height: ${t("badge.xl.height")}; } /* For PrimeNG (directive)*/ .p-overlay-badge { position: relative; } .p-overlay-badge > .p-badge { position: absolute; top: 0; inset-inline-end: 0; transform: translate(50%, -50%); transform-origin: 100% 0; margin: 0; } `,$6={root:({props:t,instance:i})=>["p-badge p-component",{"p-badge-circle":dt(t.value)&&String(t.value).length===1,"p-badge-dot":Zt(t.value)&&!i.$slots.default,"p-badge-sm":t.size==="small","p-badge-lg":t.size==="large","p-badge-xl":t.size==="xlarge","p-badge-info":t.severity==="info","p-badge-success":t.severity==="success","p-badge-warn":t.severity==="warn","p-badge-danger":t.severity==="danger","p-badge-secondary":t.severity==="secondary","p-badge-contrast":t.severity==="contrast"}]},pO=(()=>{class t extends nt{name="badge";theme=j6;classes=$6;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var qv=(()=>{class t extends Ue{styleClass=Xt();style=Xt();badgeSize=Xt();size=Xt();severity=Xt();value=Xt();badgeDisabled=Xt(!1,{transform:H});_componentStyle=C(pO);containerClass=pt(()=>{let e="p-badge p-component";return dt(this.value())&&String(this.value()).length===1&&(e+=" p-badge-circle"),this.badgeSize()==="large"?e+=" p-badge-lg":this.badgeSize()==="xlarge"?e+=" p-badge-xl":this.badgeSize()==="small"&&(e+=" p-badge-sm"),Zt(this.value())&&(e+=" p-badge-dot"),this.styleClass()&&(e+=` ${this.styleClass()}`),this.severity()&&(e+=` p-badge-${this.severity()}`),e});static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-badge"]],hostVars:6,hostBindings:function(n,o){n&2&&(li(o.style()),re(o.containerClass()),Yt("display",o.badgeDisabled()?"none":null))},inputs:{styleClass:[1,"styleClass"],style:[1,"style"],badgeSize:[1,"badgeSize"],size:[1,"size"],severity:[1,"severity"],value:[1,"value"],badgeDisabled:[1,"badgeDisabled"]},features:[fe([pO]),Z],decls:1,vars:1,template:function(n,o){n&1&&E(0),n&2&&B(o.value())},dependencies:[Se,Ye],encapsulation:2,changeDetection:0})}return t})(),hO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[qv,Ye,Ye]})}return t})();var z6=["*"],U6=` .p-icon { display: inline-block; vertical-align: baseline; } .p-icon-spin { -webkit-animation: p-icon-spin 2s infinite linear; animation: p-icon-spin 2s infinite linear; } @-webkit-keyframes p-icon-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes p-icon-spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } `,G6=(()=>{class t extends nt{name="baseicon";inlineStyles=U6;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var yt=(()=>{class t extends Ue{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){super.ngOnInit(),this.getAttributes()}getAttributes(){let e=Zt(this.label);this.role=e?void 0:"img",this.ariaLabel=e?void 0:this.label,this.ariaHidden=e}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:[1,"p-component","p-iconwrapper"],inputs:{label:"label",spin:[2,"spin","spin",H],styleClass:"styleClass"},features:[fe([G6]),Z],ngContentSelectors:z6,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},encapsulation:2,changeDetection:0})}return t})();var fO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleDoubleLeftIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var mO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleDoubleRightIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var gO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleDownIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var _O=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleLeftIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var yO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleRightIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var vO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["AngleUpIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var hd=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["BlankIcon"]],features:[Z],decls:2,vars:0,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","1","height","1","fill","currentColor","fill-opacity","0"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"rect",1),f())},encapsulation:2})}return t})();var fd=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["CheckIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var md=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["ChevronDownIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var bO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["ChevronLeftIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var CO=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["ChevronRightIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var gd=(()=>{class t extends yt{pathId;ngOnInit(){this.pathId="url(#"+Gt()+")"}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["SearchIcon"]],features:[Z],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0)(1,"g"),w(2,"path",1),f(),h(3,"defs")(4,"clipPath",2),w(5,"rect",3),f()()()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),d(),N("clip-path",o.pathId),d(3),u("id",o.pathId))},encapsulation:2})}return t})();var Rf=(()=>{class t extends yt{pathId;ngOnInit(){this.pathId="url(#"+Gt()+")"}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["SpinnerIcon"]],features:[Z],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0)(1,"g"),w(2,"path",1),f(),h(3,"defs")(4,"clipPath",2),w(5,"rect",3),f()()()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),d(),N("clip-path",o.pathId),d(3),u("id",o.pathId))},encapsulation:2})}return t})();var hr=(()=>{class t extends yt{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["TimesIcon"]],features:[Z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0),w(1,"path",1),f()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return t})();var wO=(()=>{class t extends yt{pathId;ngOnInit(){this.pathId="url(#"+Gt()+")"}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["WindowMaximizeIcon"]],features:[Z],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0)(1,"g"),w(2,"path",1),f(),h(3,"defs")(4,"clipPath",2),w(5,"rect",3),f()()()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),d(),N("clip-path",o.pathId),d(3),u("id",o.pathId))},encapsulation:2})}return t})();var xO=(()=>{class t extends yt{pathId;ngOnInit(){this.pathId="url(#"+Gt()+")"}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["WindowMinimizeIcon"]],features:[Z],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,o){n&1&&(gt(),h(0,"svg",0)(1,"g"),w(2,"path",1),f(),h(3,"defs")(4,"clipPath",2),w(5,"rect",3),f()()()),n&2&&(re(o.getClassNames()),N("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role),d(),N("clip-path",o.pathId),d(3),u("id",o.pathId))},encapsulation:2})}return t})();var W6=({dt:t})=>` /* For PrimeNG */ .p-ripple { overflow: hidden; position: relative; } .p-ink { display: block; position: absolute; background: ${t("ripple.background")}; border-radius: 100%; transform: scale(0); } .p-ink-active { animation: ripple 0.4s linear; } .p-ripple-disabled .p-ink { display: none !important; } @keyframes ripple { 100% { opacity: 0; transform: scale(2.5); } } `,q6={root:"p-ink"},EO=(()=>{class t extends nt{name="ripple";theme=W6;classes=q6;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var co=(()=>{class t extends Ue{zone=C(ue);_componentStyle=C(EO);animationListener;mouseDownListener;timeout;constructor(){super(),pi(()=>{We(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}ngAfterViewInit(){super.ngAfterViewInit()}onMouseDown(e){let n=this.getInk();if(!n||this.document.defaultView?.getComputedStyle(n,null).display==="none")return;if(_i(n,"p-ink-active"),!Do(n)&&!Wn(n)){let a=Math.max(Un(this.el.nativeElement),Gn(this.el.nativeElement));n.style.height=a+"px",n.style.width=a+"px"}let o=cd(this.el.nativeElement),r=e.pageX-o.left+this.document.body.scrollTop-Wn(n)/2,s=e.pageY-o.top+this.document.body.scrollLeft-Do(n)/2;this.renderer.setStyle(n,"top",s+"px"),this.renderer.setStyle(n,"left",r+"px"),zn(n,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&_i(a,"p-ink-active")},401)}getInk(){let e=this.el.nativeElement.children;for(let n=0;n{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var Q6=["content"],Y6=["loading"],Z6=["icon"],J6=["*"],DO=t=>({class:t});function X6(t,i){t&1&&le(0)}function e9(t,i){if(t&1&&w(0,"span",8),t&2){let e=m(3);u("ngClass",e.iconClass()),N("aria-hidden",!0)("data-pc-section","loadingicon")}}function t9(t,i){if(t&1&&w(0,"SpinnerIcon",9),t&2){let e=m(3);u("styleClass",e.spinnerIconClass())("spin",!0),N("aria-hidden",!0)("data-pc-section","loadingicon")}}function n9(t,i){if(t&1&&(se(0),_(1,e9,1,3,"span",6)(2,t9,1,4,"SpinnerIcon",7),ae()),t&2){let e=m(2);d(),u("ngIf",e.loadingIcon),d(),u("ngIf",!e.loadingIcon)}}function i9(t,i){}function o9(t,i){if(t&1&&_(0,i9,0,0,"ng-template",10),t&2){let e=m(2);u("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function r9(t,i){if(t&1&&(se(0),_(1,n9,3,2,"ng-container",2)(2,o9,1,1,null,5),ae()),t&2){let e=m();d(),u("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),d(),u("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)("ngTemplateOutletContext",ce(3,DO,e.iconClass()))}}function s9(t,i){if(t&1&&w(0,"span",8),t&2){let e=m(2);re(e.icon),u("ngClass",e.iconClass()),N("data-pc-section","icon")}}function a9(t,i){}function l9(t,i){if(t&1&&_(0,a9,0,0,"ng-template",10),t&2){let e=m(2);u("ngIf",!e.icon&&(e.iconTemplate||e._iconTemplate))}}function c9(t,i){if(t&1&&(se(0),_(1,s9,1,4,"span",11)(2,l9,1,1,null,5),ae()),t&2){let e=m();d(),u("ngIf",e.icon&&!e.iconTemplate&&!e._iconTemplate),d(),u("ngTemplateOutlet",e.iconTemplate||e._iconTemplate)("ngTemplateOutletContext",ce(3,DO,e.iconClass()))}}function d9(t,i){if(t&1&&(h(0,"span",12),E(1),f()),t&2){let e=m();N("aria-hidden",e.icon&&!e.label)("data-pc-section","label"),d(),B(e.label)}}function u9(t,i){if(t&1&&w(0,"p-badge",13),t&2){let e=m();u("value",e.badge)("severity",e.badgeSeverity)}}var p9=({dt:t})=>` .p-button { display: inline-flex; cursor: pointer; user-select: none; align-items: center; justify-content: center; overflow: hidden; position: relative; color: ${t("button.primary.color")}; background: ${t("button.primary.background")}; border: 1px solid ${t("button.primary.border.color")}; padding-block: ${t("button.padding.y")}; padding-inline: ${t("button.padding.x")}; font-size: 1rem; font-family: inherit; font-feature-settings: inherit; transition: background ${t("button.transition.duration")}, color ${t("button.transition.duration")}, border-color ${t("button.transition.duration")}, outline-color ${t("button.transition.duration")}, box-shadow ${t("button.transition.duration")}; border-radius: ${t("button.border.radius")}; outline-color: transparent; gap: ${t("button.gap")}; } .p-button-icon, .p-button-icon:before, .p-button-icon:after { line-height: inherit; } .p-button:disabled { cursor: default; } .p-button-icon-right { order: 1; } .p-button-icon-right:dir(rtl) { order: -1; } .p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) { order: 1; } .p-button-icon-bottom { order: 2; } .p-button-icon-only { width: ${t("button.icon.only.width")}; padding-inline-start: 0; padding-inline-end: 0; gap: 0; } .p-button-icon-only.p-button-rounded { border-radius: 50%; height: ${t("button.icon.only.width")}; } .p-button-icon-only .p-button-label { visibility: hidden; width: 0; } .p-button-sm { font-size: ${t("button.sm.font.size")}; padding-block: ${t("button.sm.padding.y")}; padding-inline: ${t("button.sm.padding.x")}; } .p-button-sm .p-button-icon { font-size: ${t("button.sm.font.size")}; } .p-button-lg { font-size: ${t("button.lg.font.size")}; padding-block: ${t("button.lg.padding.y")}; padding-inline: ${t("button.lg.padding.x")}; } .p-button-lg .p-button-icon { font-size: ${t("button.lg.font.size")}; } .p-button-vertical { flex-direction: column; } .p-button-label { font-weight: ${t("button.label.font.weight")}; } .p-button-fluid { width: 100%; } .p-button-fluid.p-button-icon-only { width: ${t("button.icon.only.width")}; } .p-button:not(:disabled):hover { background: ${t("button.primary.hover.background")}; border: 1px solid ${t("button.primary.hover.border.color")}; color: ${t("button.primary.hover.color")}; } .p-button:not(:disabled):active { background: ${t("button.primary.active.background")}; border: 1px solid ${t("button.primary.active.border.color")}; color: ${t("button.primary.active.color")}; } .p-button:focus-visible { box-shadow: ${t("button.primary.focus.ring.shadow")}; outline: ${t("button.focus.ring.width")} ${t("button.focus.ring.style")} ${t("button.primary.focus.ring.color")}; outline-offset: ${t("button.focus.ring.offset")}; } .p-button .p-badge { min-width: ${t("button.badge.size")}; height: ${t("button.badge.size")}; line-height: ${t("button.badge.size")}; } .p-button-raised { box-shadow: ${t("button.raised.shadow")}; } .p-button-rounded { border-radius: ${t("button.rounded.border.radius")}; } .p-button-secondary { background: ${t("button.secondary.background")}; border: 1px solid ${t("button.secondary.border.color")}; color: ${t("button.secondary.color")}; } .p-button-secondary:not(:disabled):hover { background: ${t("button.secondary.hover.background")}; border: 1px solid ${t("button.secondary.hover.border.color")}; color: ${t("button.secondary.hover.color")}; } .p-button-secondary:not(:disabled):active { background: ${t("button.secondary.active.background")}; border: 1px solid ${t("button.secondary.active.border.color")}; color: ${t("button.secondary.active.color")}; } .p-button-secondary:focus-visible { outline-color: ${t("button.secondary.focus.ring.color")}; box-shadow: ${t("button.secondary.focus.ring.shadow")}; } .p-button-success { background: ${t("button.success.background")}; border: 1px solid ${t("button.success.border.color")}; color: ${t("button.success.color")}; } .p-button-success:not(:disabled):hover { background: ${t("button.success.hover.background")}; border: 1px solid ${t("button.success.hover.border.color")}; color: ${t("button.success.hover.color")}; } .p-button-success:not(:disabled):active { background: ${t("button.success.active.background")}; border: 1px solid ${t("button.success.active.border.color")}; color: ${t("button.success.active.color")}; } .p-button-success:focus-visible { outline-color: ${t("button.success.focus.ring.color")}; box-shadow: ${t("button.success.focus.ring.shadow")}; } .p-button-info { background: ${t("button.info.background")}; border: 1px solid ${t("button.info.border.color")}; color: ${t("button.info.color")}; } .p-button-info:not(:disabled):hover { background: ${t("button.info.hover.background")}; border: 1px solid ${t("button.info.hover.border.color")}; color: ${t("button.info.hover.color")}; } .p-button-info:not(:disabled):active { background: ${t("button.info.active.background")}; border: 1px solid ${t("button.info.active.border.color")}; color: ${t("button.info.active.color")}; } .p-button-info:focus-visible { outline-color: ${t("button.info.focus.ring.color")}; box-shadow: ${t("button.info.focus.ring.shadow")}; } .p-button-warn { background: ${t("button.warn.background")}; border: 1px solid ${t("button.warn.border.color")}; color: ${t("button.warn.color")}; } .p-button-warn:not(:disabled):hover { background: ${t("button.warn.hover.background")}; border: 1px solid ${t("button.warn.hover.border.color")}; color: ${t("button.warn.hover.color")}; } .p-button-warn:not(:disabled):active { background: ${t("button.warn.active.background")}; border: 1px solid ${t("button.warn.active.border.color")}; color: ${t("button.warn.active.color")}; } .p-button-warn:focus-visible { outline-color: ${t("button.warn.focus.ring.color")}; box-shadow: ${t("button.warn.focus.ring.shadow")}; } .p-button-help { background: ${t("button.help.background")}; border: 1px solid ${t("button.help.border.color")}; color: ${t("button.help.color")}; } .p-button-help:not(:disabled):hover { background: ${t("button.help.hover.background")}; border: 1px solid ${t("button.help.hover.border.color")}; color: ${t("button.help.hover.color")}; } .p-button-help:not(:disabled):active { background: ${t("button.help.active.background")}; border: 1px solid ${t("button.help.active.border.color")}; color: ${t("button.help.active.color")}; } .p-button-help:focus-visible { outline-color: ${t("button.help.focus.ring.color")}; box-shadow: ${t("button.help.focus.ring.shadow")}; } .p-button-danger { background: ${t("button.danger.background")}; border: 1px solid ${t("button.danger.border.color")}; color: ${t("button.danger.color")}; } .p-button-danger:not(:disabled):hover { background: ${t("button.danger.hover.background")}; border: 1px solid ${t("button.danger.hover.border.color")}; color: ${t("button.danger.hover.color")}; } .p-button-danger:not(:disabled):active { background: ${t("button.danger.active.background")}; border: 1px solid ${t("button.danger.active.border.color")}; color: ${t("button.danger.active.color")}; } .p-button-danger:focus-visible { outline-color: ${t("button.danger.focus.ring.color")}; box-shadow: ${t("button.danger.focus.ring.shadow")}; } .p-button-contrast { background: ${t("button.contrast.background")}; border: 1px solid ${t("button.contrast.border.color")}; color: ${t("button.contrast.color")}; } .p-button-contrast:not(:disabled):hover { background: ${t("button.contrast.hover.background")}; border: 1px solid ${t("button.contrast.hover.border.color")}; color: ${t("button.contrast.hover.color")}; } .p-button-contrast:not(:disabled):active { background: ${t("button.contrast.active.background")}; border: 1px solid ${t("button.contrast.active.border.color")}; color: ${t("button.contrast.active.color")}; } .p-button-contrast:focus-visible { outline-color: ${t("button.contrast.focus.ring.color")}; box-shadow: ${t("button.contrast.focus.ring.shadow")}; } .p-button-outlined { background: transparent; border-color: ${t("button.outlined.primary.border.color")}; color: ${t("button.outlined.primary.color")}; } .p-button-outlined:not(:disabled):hover { background: ${t("button.outlined.primary.hover.background")}; border-color: ${t("button.outlined.primary.border.color")}; color: ${t("button.outlined.primary.color")}; } .p-button-outlined:not(:disabled):active { background: ${t("button.outlined.primary.active.background")}; border-color: ${t("button.outlined.primary.border.color")}; color: ${t("button.outlined.primary.color")}; } .p-button-outlined.p-button-secondary { border-color: ${t("button.outlined.secondary.border.color")}; color: ${t("button.outlined.secondary.color")}; } .p-button-outlined.p-button-secondary:not(:disabled):hover { background: ${t("button.outlined.secondary.hover.background")}; border-color: ${t("button.outlined.secondary.border.color")}; color: ${t("button.outlined.secondary.color")}; } .p-button-outlined.p-button-secondary:not(:disabled):active { background: ${t("button.outlined.secondary.active.background")}; border-color: ${t("button.outlined.secondary.border.color")}; color: ${t("button.outlined.secondary.color")}; } .p-button-outlined.p-button-success { border-color: ${t("button.outlined.success.border.color")}; color: ${t("button.outlined.success.color")}; } .p-button-outlined.p-button-success:not(:disabled):hover { background: ${t("button.outlined.success.hover.background")}; border-color: ${t("button.outlined.success.border.color")}; color: ${t("button.outlined.success.color")}; } .p-button-outlined.p-button-success:not(:disabled):active { background: ${t("button.outlined.success.active.background")}; border-color: ${t("button.outlined.success.border.color")}; color: ${t("button.outlined.success.color")}; } .p-button-outlined.p-button-info { border-color: ${t("button.outlined.info.border.color")}; color: ${t("button.outlined.info.color")}; } .p-button-outlined.p-button-info:not(:disabled):hover { background: ${t("button.outlined.info.hover.background")}; border-color: ${t("button.outlined.info.border.color")}; color: ${t("button.outlined.info.color")}; } .p-button-outlined.p-button-info:not(:disabled):active { background: ${t("button.outlined.info.active.background")}; border-color: ${t("button.outlined.info.border.color")}; color: ${t("button.outlined.info.color")}; } .p-button-outlined.p-button-warn { border-color: ${t("button.outlined.warn.border.color")}; color: ${t("button.outlined.warn.color")}; } .p-button-outlined.p-button-warn:not(:disabled):hover { background: ${t("button.outlined.warn.hover.background")}; border-color: ${t("button.outlined.warn.border.color")}; color: ${t("button.outlined.warn.color")}; } .p-button-outlined.p-button-warn:not(:disabled):active { background: ${t("button.outlined.warn.active.background")}; border-color: ${t("button.outlined.warn.border.color")}; color: ${t("button.outlined.warn.color")}; } .p-button-outlined.p-button-help { border-color: ${t("button.outlined.help.border.color")}; color: ${t("button.outlined.help.color")}; } .p-button-outlined.p-button-help:not(:disabled):hover { background: ${t("button.outlined.help.hover.background")}; border-color: ${t("button.outlined.help.border.color")}; color: ${t("button.outlined.help.color")}; } .p-button-outlined.p-button-help:not(:disabled):active { background: ${t("button.outlined.help.active.background")}; border-color: ${t("button.outlined.help.border.color")}; color: ${t("button.outlined.help.color")}; } .p-button-outlined.p-button-danger { border-color: ${t("button.outlined.danger.border.color")}; color: ${t("button.outlined.danger.color")}; } .p-button-outlined.p-button-danger:not(:disabled):hover { background: ${t("button.outlined.danger.hover.background")}; border-color: ${t("button.outlined.danger.border.color")}; color: ${t("button.outlined.danger.color")}; } .p-button-outlined.p-button-danger:not(:disabled):active { background: ${t("button.outlined.danger.active.background")}; border-color: ${t("button.outlined.danger.border.color")}; color: ${t("button.outlined.danger.color")}; } .p-button-outlined.p-button-contrast { border-color: ${t("button.outlined.contrast.border.color")}; color: ${t("button.outlined.contrast.color")}; } .p-button-outlined.p-button-contrast:not(:disabled):hover { background: ${t("button.outlined.contrast.hover.background")}; border-color: ${t("button.outlined.contrast.border.color")}; color: ${t("button.outlined.contrast.color")}; } .p-button-outlined.p-button-contrast:not(:disabled):active { background: ${t("button.outlined.contrast.active.background")}; border-color: ${t("button.outlined.contrast.border.color")}; color: ${t("button.outlined.contrast.color")}; } .p-button-outlined.p-button-plain { border-color: ${t("button.outlined.plain.border.color")}; color: ${t("button.outlined.plain.color")}; } .p-button-outlined.p-button-plain:not(:disabled):hover { background: ${t("button.outlined.plain.hover.background")}; border-color: ${t("button.outlined.plain.border.color")}; color: ${t("button.outlined.plain.color")}; } .p-button-outlined.p-button-plain:not(:disabled):active { background: ${t("button.outlined.plain.active.background")}; border-color: ${t("button.outlined.plain.border.color")}; color: ${t("button.outlined.plain.color")}; } .p-button-text { background: transparent; border-color: transparent; color: ${t("button.text.primary.color")}; } .p-button-text:not(:disabled):hover { background: ${t("button.text.primary.hover.background")}; border-color: transparent; color: ${t("button.text.primary.color")}; } .p-button-text:not(:disabled):active { background: ${t("button.text.primary.active.background")}; border-color: transparent; color: ${t("button.text.primary.color")}; } .p-button-text.p-button-secondary { background: transparent; border-color: transparent; color: ${t("button.text.secondary.color")}; } .p-button-text.p-button-secondary:not(:disabled):hover { background: ${t("button.text.secondary.hover.background")}; border-color: transparent; color: ${t("button.text.secondary.color")}; } .p-button-text.p-button-secondary:not(:disabled):active { background: ${t("button.text.secondary.active.background")}; border-color: transparent; color: ${t("button.text.secondary.color")}; } .p-button-text.p-button-success { background: transparent; border-color: transparent; color: ${t("button.text.success.color")}; } .p-button-text.p-button-success:not(:disabled):hover { background: ${t("button.text.success.hover.background")}; border-color: transparent; color: ${t("button.text.success.color")}; } .p-button-text.p-button-success:not(:disabled):active { background: ${t("button.text.success.active.background")}; border-color: transparent; color: ${t("button.text.success.color")}; } .p-button-text.p-button-info { background: transparent; border-color: transparent; color: ${t("button.text.info.color")}; } .p-button-text.p-button-info:not(:disabled):hover { background: ${t("button.text.info.hover.background")}; border-color: transparent; color: ${t("button.text.info.color")}; } .p-button-text.p-button-info:not(:disabled):active { background: ${t("button.text.info.active.background")}; border-color: transparent; color: ${t("button.text.info.color")}; } .p-button-text.p-button-warn { background: transparent; border-color: transparent; color: ${t("button.text.warn.color")}; } .p-button-text.p-button-warn:not(:disabled):hover { background: ${t("button.text.warn.hover.background")}; border-color: transparent; color: ${t("button.text.warn.color")}; } .p-button-text.p-button-warn:not(:disabled):active { background: ${t("button.text.warn.active.background")}; border-color: transparent; color: ${t("button.text.warn.color")}; } .p-button-text.p-button-help { background: transparent; border-color: transparent; color: ${t("button.text.help.color")}; } .p-button-text.p-button-help:not(:disabled):hover { background: ${t("button.text.help.hover.background")}; border-color: transparent; color: ${t("button.text.help.color")}; } .p-button-text.p-button-help:not(:disabled):active { background: ${t("button.text.help.active.background")}; border-color: transparent; color: ${t("button.text.help.color")}; } .p-button-text.p-button-danger { background: transparent; border-color: transparent; color: ${t("button.text.danger.color")}; } .p-button-text.p-button-danger:not(:disabled):hover { background: ${t("button.text.danger.hover.background")}; border-color: transparent; color: ${t("button.text.danger.color")}; } .p-button-text.p-button-danger:not(:disabled):active { background: ${t("button.text.danger.active.background")}; border-color: transparent; color: ${t("button.text.danger.color")}; } .p-button-text.p-button-plain { background: transparent; border-color: transparent; color: ${t("button.text.plain.color")}; } .p-button-text.p-button-plain:not(:disabled):hover { background: ${t("button.text.plain.hover.background")}; border-color: transparent; color: ${t("button.text.plain.color")}; } .p-button-text.p-button-plain:not(:disabled):active { background: ${t("button.text.plain.active.background")}; border-color: transparent; color: ${t("button.text.plain.color")}; } .p-button-text.p-button-contrast { background: transparent; border-color: transparent; color: ${t("button.text.contrast.color")}; } .p-button-text.p-button-contrast:not(:disabled):hover { background: ${t("button.text.contrast.hover.background")}; border-color: transparent; color: ${t("button.text.contrast.color")}; } .p-button-text.p-button-contrast:not(:disabled):active { background: ${t("button.text.contrast.active.background")}; border-color: transparent; color: ${t("button.text.contrast.color")}; } .p-button-link { background: transparent; border-color: transparent; color: ${t("button.link.color")}; } .p-button-link:not(:disabled):hover { background: transparent; border-color: transparent; color: ${t("button.link.hover.color")}; } .p-button-link:not(:disabled):hover .p-button-label { text-decoration: underline; } .p-button-link:not(:disabled):active { background: transparent; border-color: transparent; color: ${t("button.link.active.color")}; } /* For PrimeNG */ .p-button-icon-right { order: 1; } p-button[iconpos='right'] spinnericon { order: 1; } `,h9={root:({instance:t,props:i})=>["p-button p-component",{"p-button-icon-only":t.hasIcon&&!i.label&&!i.badge,"p-button-vertical":(i.iconPos==="top"||i.iconPos==="bottom")&&i.label,"p-button-loading":i.loading,"p-button-link":i.link,[`p-button-${i.severity}`]:i.severity,"p-button-raised":i.raised,"p-button-rounded":i.rounded,"p-button-text":i.text,"p-button-outlined":i.outlined,"p-button-sm":i.size==="small","p-button-lg":i.size==="large","p-button-plain":i.plain,"p-button-fluid":i.fluid}],loadingIcon:"p-button-loading-icon",icon:({props:t})=>["p-button-icon",{[`p-button-icon-${t.iconPos}`]:t.label}],label:"p-button-label"},zr=(()=>{class t extends nt{name="button";theme=p9;classes=h9;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Hr={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"},SO=(()=>{class t extends Ue{_componentStyle=C(zr);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pButtonLabel",""]],hostVars:2,hostBindings:function(n,o){n&2&&tt("p-button-label",!0)},features:[fe([zr]),Z]})}return t})(),TO=(()=>{class t extends Ue{_componentStyle=C(zr);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pButtonIcon",""]],hostVars:2,hostBindings:function(n,o){n&2&&tt("p-button-icon",!0)},features:[fe([zr]),Z]})}return t})(),g0e=(()=>{class t extends Ue{iconPos="left";loadingIcon;set label(e){this._label=e,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}set icon(e){this._icon=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(e){this._loading=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}_buttonProps;iconSignal=ay(TO);labelSignal=ay(SO);isIconOnly=pt(()=>!!(!this.labelSignal()&&this.iconSignal()));set buttonProps(e){this._buttonProps=e,e&&typeof e=="object"&&Object.entries(e).forEach(([n,o])=>this[`_${n}`]!==o&&(this[`_${n}`]=o))}severity;raised=!1;rounded=!1;text=!1;outlined=!1;size=null;plain=!1;fluid;_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(Hr);isTextButton=pt(()=>!!(!this.iconSignal()&&this.labelSignal()&&this.text));get label(){return this._label}get icon(){return this._icon}get buttonProps(){return this._buttonProps}spinnerIcon=` `;_componentStyle=C(zr);ngAfterViewInit(){super.ngAfterViewInit(),zn(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}ngOnChanges(e){super.ngOnChanges(e);let{buttonProps:n}=e;if(n){let o=n.currentValue;for(let r in o)this[r]=o[r]}}getStyleClass(){let e=[Hr.button,Hr.component];return this.icon&&!this.label&&Zt(this.htmlElement.textContent)&&e.push(Hr.iconOnly),this.loading&&(e.push(Hr.disabled,Hr.loading),!this.icon&&this.label&&e.push(Hr.labelOnly),this.icon&&!this.label&&!Zt(this.htmlElement.textContent)&&e.push(Hr.iconOnly)),this.text&&e.push("p-button-text"),this.severity&&e.push(`p-button-${this.severity}`),this.plain&&e.push("p-button-plain"),this.raised&&e.push("p-button-raised"),this.size&&e.push(`p-button-${this.size}`),this.outlined&&e.push("p-button-outlined"),this.rounded&&e.push("p-button-rounded"),this.size==="small"&&e.push("p-button-sm"),this.size==="large"&&e.push("p-button-lg"),this.hasFluid&&e.push("p-button-fluid"),e}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return Zt(this.fluid)?!!n:this.fluid}setStyleClass(){let e=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...e)}createLabel(){if(!jt(this.htmlElement,".p-button-label")&&this.label){let n=this.document.createElement("span");this.icon&&!this.label&&n.setAttribute("aria-hidden","true"),n.className="p-button-label",n.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(n)}}createIcon(){if(!jt(this.htmlElement,".p-button-icon")&&(this.icon||this.loading)){let n=this.document.createElement("span");n.className="p-button-icon",n.setAttribute("aria-hidden","true");let o=this.label?"p-button-icon-"+this.iconPos:null;o&&zn(n,o);let r=this.getIconClass();r&&zn(n,r),!this.loadingIcon&&this.loading&&(n.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(n,this.htmlElement.firstChild)}}updateLabel(){let e=jt(this.htmlElement,".p-button-label");if(!this.label){e&&this.htmlElement.removeChild(e);return}e?e.textContent=this.label:this.createLabel()}updateIcon(){let e=jt(this.htmlElement,".p-button-icon"),n=jt(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&e?e.innerHTML=this.spinnerIcon:e?.innerHTML&&(e.innerHTML=""),e?this.iconPos?e.className="p-button-icon "+(n?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():e.className="p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1,super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pButton",""]],contentQueries:function(n,o,r){n&1&&(by(r,o.iconSignal,TO,5),by(r,o.labelSignal,SO,5)),n&2&&PS(2)},hostVars:4,hostBindings:function(n,o){n&2&&tt("p-button-icon-only",o.isIconOnly())("p-button-text",o.isTextButton())},inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",loading:"loading",severity:"severity",raised:[2,"raised","raised",H],rounded:[2,"rounded","rounded",H],text:[2,"text","text",H],outlined:[2,"outlined","outlined",H],size:"size",plain:[2,"plain","plain",H],fluid:[2,"fluid","fluid",H],label:"label",icon:"icon",buttonProps:"buttonProps"},features:[fe([zr]),Z,Ke]})}return t})(),Kv=(()=>{class t extends Ue{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;tabindex;size;variant;style;styleClass;badgeClass;badgeSeverity="secondary";ariaLabel;autofocus;fluid;onClick=new F;onFocus=new F;onBlur=new F;contentTemplate;loadingIconTemplate;iconTemplate;_buttonProps;get buttonProps(){return this._buttonProps}set buttonProps(e){this._buttonProps=e,e&&typeof e=="object"&&Object.entries(e).forEach(([n,o])=>this[`_${n}`]!==o&&(this[`_${n}`]=o))}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return Zt(this.fluid)?!!n:this.fluid}_componentStyle=C(zr);templates;_contentTemplate;_iconTemplate;_loadingIconTemplate;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"icon":this._iconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}ngOnChanges(e){super.ngOnChanges(e);let{buttonProps:n}=e;if(n){let o=n.currentValue;for(let r in o)this[r]=o[r]}}spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,e])=>!!e).reduce((e,[n])=>e+` ${n}`,"p-button-loading-icon")}iconClass(){return{[`p-button-loading-icon pi-spin ${this.loadingIcon??""}`]:this.loading,"p-button-icon":!0,"p-button-icon-left":this.iconPos==="left"&&this.label,"p-button-icon-right":this.iconPos==="right"&&this.label,"p-button-icon-top":this.iconPos==="top"&&this.label,"p-button-icon-bottom":this.iconPos==="bottom"&&this.label}}get buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this._iconTemplate||this.loadingIcon||this.loadingIconTemplate||this._loadingIconTemplate)&&!this.label,"p-button-vertical":(this.iconPos==="top"||this.iconPos==="bottom")&&this.label,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&this.iconPos==="left","p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text||this.variant=="text","p-button-outlined":this.outlined||this.variant=="outlined","p-button-sm":this.size==="small","p-button-lg":this.size==="large","p-button-plain":this.plain,"p-button-fluid":this.hasFluid,[`${this.styleClass}`]:this.styleClass}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-button"]],contentQueries:function(n,o,r){if(n&1&&(he(r,Q6,5),he(r,Y6,5),he(r,Z6,5),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.contentTemplate=s.first),G(s=W())&&(o.loadingIconTemplate=s.first),G(s=W())&&(o.iconTemplate=s.first),G(s=W())&&(o.templates=s)}},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:[2,"disabled","disabled",H],loading:[2,"loading","loading",H],loadingIcon:"loadingIcon",raised:[2,"raised","raised",H],rounded:[2,"rounded","rounded",H],text:[2,"text","text",H],plain:[2,"plain","plain",H],severity:"severity",outlined:[2,"outlined","outlined",H],link:[2,"link","link",H],tabindex:[2,"tabindex","tabindex",ot],size:"size",variant:"variant",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",badgeSeverity:"badgeSeverity",ariaLabel:"ariaLabel",autofocus:[2,"autofocus","autofocus",H],fluid:[2,"fluid","fluid",H],buttonProps:"buttonProps"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[fe([zr]),Z,Ke],ngContentSelectors:J6,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass","pAutoFocus"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"value","severity",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[3,"ngIf"],[3,"class","ngClass",4,"ngIf"],[1,"p-button-label"],[3,"value","severity"]],template:function(n,o){n&1&&(Xe(),h(0,"button",0),R("click",function(s){return o.onClick.emit(s)})("focus",function(s){return o.onFocus.emit(s)})("blur",function(s){return o.onBlur.emit(s)}),Ae(1),_(2,X6,1,0,"ng-container",1)(3,r9,3,5,"ng-container",2)(4,c9,3,5,"ng-container",2)(5,d9,2,3,"span",3)(6,u9,1,2,"p-badge",4),f()),n&2&&(u("ngStyle",o.style)("disabled",o.disabled||o.loading)("ngClass",o.buttonClass)("pAutoFocus",o.autofocus),N("type",o.type)("aria-label",o.ariaLabel)("data-pc-name","button")("data-pc-section","root")("tabindex",o.tabindex),d(2),u("ngTemplateOutlet",o.contentTemplate||o._contentTemplate),d(),u("ngIf",o.loading),d(),u("ngIf",!o.loading),d(),u("ngIf",!o.contentTemplate&&!o._contentTemplate&&o.label),d(),u("ngIf",!o.contentTemplate&&!o._contentTemplate&&o.badge))},dependencies:[Se,_t,ee,vt,fn,co,$r,Rf,hO,qv,Ye],encapsulation:2,changeDetection:0})}return t})(),_0e=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Se,Kv,Ye,Ye]})}return t})();var OO=(()=>{class t extends Ue{pFocusTrapDisabled=!1;platformId=C(Fe);document=C(De);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),We(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&We(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=o=>zD("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:o?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:o}=e,r=o===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(o)?fl(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;$t(r)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:o}=e,r=o===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(o)?ml(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;$t(r)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275dir=te({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",H]},features:[Z,Ke]})}return t})();var Ls=class t{static isArray(i,e=!0){return Array.isArray(i)&&(e||i.length!==0)}static isObject(i,e=!0){return typeof i=="object"&&!Array.isArray(i)&&i!=null&&(e||Object.keys(i).length!==0)}static equals(i,e,n){return n?this.resolveFieldData(i,n)===this.resolveFieldData(e,n):this.equalsByValue(i,e)}static equalsByValue(i,e){if(i===e)return!0;if(i&&e&&typeof i=="object"&&typeof e=="object"){var n=Array.isArray(i),o=Array.isArray(e),r,s,a;if(n&&o){if(s=i.length,s!=e.length)return!1;for(r=s;r--!==0;)if(!this.equalsByValue(i[r],e[r]))return!1;return!0}if(n!=o)return!1;var l=this.isDate(i),c=this.isDate(e);if(l!=c)return!1;if(l&&c)return i.getTime()==e.getTime();var p=i instanceof RegExp,g=e instanceof RegExp;if(p!=g)return!1;if(p&&g)return i.toString()==e.toString();var v=Object.keys(i);if(s=v.length,s!==Object.keys(e).length)return!1;for(r=s;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,v[r]))return!1;for(r=s;r--!==0;)if(a=v[r],!this.equalsByValue(i[a],e[a]))return!1;return!0}return i!==i&&e!==e}static resolveFieldData(i,e){if(i&&e){if(this.isFunction(e))return e(i);if(e.indexOf(".")==-1)return i[e];{let n=e.split("."),o=i;for(let r=0,s=n.length;r=i.length&&(n%=i.length,e%=i.length),i.splice(n,0,i.splice(e,1)[0]))}static insertIntoOrderedArray(i,e,n,o){if(n.length>0){let r=!1;for(let s=0;se){n.splice(s,0,i),r=!0;break}r||n.push(i)}else n.push(i)}static findIndexInList(i,e){let n=-1;if(e){for(let o=0;oe?1:0,r}static sort(i,e,n=1,o,r=1){let s=t.compare(i,e,o,n),a=n;return(t.isEmpty(i)||t.isEmpty(e))&&(a=r===1?n:r),a*s}static merge(i,e){if(!(i==null&&e==null)){{if((i==null||typeof i=="object")&&(e==null||typeof e=="object"))return k(k({},i||{}),e||{});if((i==null||typeof i=="string")&&(e==null||typeof e=="string"))return[i||"",e||""].join(" ")}return e||i}}static isPrintableCharacter(i=""){return this.isNotEmpty(i)&&i.length===1&&i.match(/\S| /)}static getItemValue(i,...e){return this.isFunction(i)?i(...e):i}static findLastIndex(i,e){let n=-1;if(this.isNotEmpty(i))try{n=i.findLastIndex(e)}catch{n=i.lastIndexOf([...i].reverse().find(e))}return n}static findLast(i,e){let n;if(this.isNotEmpty(i))try{n=i.findLast(e)}catch{n=[...i].reverse().find(e)}return n}static deepEquals(i,e){if(i===e)return!0;if(i&&e&&typeof i=="object"&&typeof e=="object"){var n=Array.isArray(i),o=Array.isArray(e),r,s,a;if(n&&o){if(s=i.length,s!=e.length)return!1;for(r=s;r--!==0;)if(!this.deepEquals(i[r],e[r]))return!1;return!0}if(n!=o)return!1;var l=i instanceof Date,c=e instanceof Date;if(l!=c)return!1;if(l&&c)return i.getTime()==e.getTime();var p=i instanceof RegExp,g=e instanceof RegExp;if(p!=g)return!1;if(p&&g)return i.toString()==e.toString();var v=Object.keys(i);if(s=v.length,s!==Object.keys(e).length)return!1;for(r=s;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,v[r]))return!1;for(r=s;r--!==0;)if(a=v[r],!this.deepEquals(i[a],e[a]))return!1;return!0}return i!==i&&e!==e}static minifyCSS(i){return i&&i.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(i){return this.isString(i)?i.replace(/(-|_)/g,"").toLowerCase():i}static isString(i,e=!0){return typeof i=="string"&&(e||i!=="")}},MO=0;function T0e(t="pn_id_"){return MO++,`${t}${MO}`}function f9(){let t=[],i=(r,s)=>{let a=t.length>0?t[t.length-1]:{key:r,value:s},l=a.value+(a.key===r?0:s)+2;return t.push({key:r,value:l}),l},e=r=>{t=t.filter(s=>s.value!==r)},n=()=>t.length>0?t[t.length-1].value:0,o=r=>r&&parseInt(r.style.zIndex,10)||0;return{get:o,set:(r,s,a)=>{s&&(s.style.zIndex=String(i(r,a)))},clear:r=>{r&&(e(o(r)),r.style.zIndex="")},getCurrent:()=>n(),generateZIndex:i,revertZIndex:e}}var uo=f9();var m9=["header"],RO=["content"],PO=["footer"],g9=["closeicon"],_9=["maximizeicon"],y9=["minimizeicon"],v9=["headless"],b9=["titlebar"],C9=["*",[["p-footer"]]],w9=["*","p-footer"],x9=(t,i,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":i,"pointer-events":e}),E9=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),I9=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),S9=(t,i)=>({transform:t,transition:i}),T9=t=>({value:"visible",params:t});function D9(t,i){t&1&&le(0)}function O9(t,i){if(t&1&&(se(0),_(1,D9,1,0,"ng-container",11),ae()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function M9(t,i){if(t&1){let e=U();h(0,"div",15),R("mousedown",function(o){D(e);let r=m(4);return O(r.initResize(o))}),f()}if(t&2){let e=m(4);u("ngClass",e.cx("resizeHandle"))}}function R9(t,i){if(t&1&&(h(0,"span",21),E(1),f()),t&2){let e=m(5);u("id",e.ariaLabelledBy)("ngClass",e.cx("title")),d(),B(e.header)}}function P9(t,i){t&1&&le(0)}function k9(t,i){if(t&1&&w(0,"span",18),t&2){let e=m(6);u("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function A9(t,i){t&1&&w(0,"WindowMaximizeIcon")}function N9(t,i){t&1&&w(0,"WindowMinimizeIcon")}function F9(t,i){if(t&1&&(se(0),_(1,A9,1,0,"WindowMaximizeIcon",23)(2,N9,1,0,"WindowMinimizeIcon",23),ae()),t&2){let e=m(6);d(),u("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),d(),u("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function L9(t,i){}function V9(t,i){t&1&&_(0,L9,0,0,"ng-template")}function B9(t,i){if(t&1&&(se(0),_(1,V9,1,0,null,11),ae()),t&2){let e=m(6);d(),u("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function j9(t,i){}function $9(t,i){t&1&&_(0,j9,0,0,"ng-template")}function H9(t,i){if(t&1&&(se(0),_(1,$9,1,0,null,11),ae()),t&2){let e=m(6);d(),u("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function z9(t,i){if(t&1){let e=U();h(0,"p-button",22),R("onClick",function(){D(e);let o=m(5);return O(o.maximize())})("keydown.enter",function(){D(e);let o=m(5);return O(o.maximize())}),_(1,k9,1,1,"span",14)(2,F9,3,2,"ng-container",23)(3,B9,2,1,"ng-container",23)(4,H9,2,1,"ng-container",23),f()}if(t&2){let e=m(5);u("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),d(),u("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),d(),u("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),d(),u("ngIf",!e.maximized),d(),u("ngIf",e.maximized)}}function U9(t,i){if(t&1&&w(0,"span",18),t&2){let e=m(8);u("ngClass",e.closeIcon)}}function G9(t,i){t&1&&w(0,"TimesIcon")}function W9(t,i){if(t&1&&(se(0),_(1,U9,1,1,"span",14)(2,G9,1,0,"TimesIcon",23),ae()),t&2){let e=m(7);d(),u("ngIf",e.closeIcon),d(),u("ngIf",!e.closeIcon)}}function q9(t,i){}function K9(t,i){t&1&&_(0,q9,0,0,"ng-template")}function Q9(t,i){if(t&1&&(h(0,"span"),_(1,K9,1,0,null,11),f()),t&2){let e=m(7);d(),u("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function Y9(t,i){if(t&1&&_(0,W9,3,2,"ng-container",23)(1,Q9,2,1,"span",23),t&2){let e=m(6);u("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),d(),u("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function Z9(t,i){if(t&1){let e=U();h(0,"p-button",24),R("onClick",function(o){D(e);let r=m(5);return O(r.close(o))})("keydown.enter",function(o){D(e);let r=m(5);return O(r.close(o))}),_(1,Y9,2,2,"ng-template",null,4,we),f()}if(t&2){let e=m(5);u("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function J9(t,i){if(t&1){let e=U();h(0,"div",16,3),R("mousedown",function(o){D(e);let r=m(4);return O(r.initDrag(o))}),_(2,R9,2,3,"span",17)(3,P9,1,0,"ng-container",11),h(4,"div",18),_(5,z9,5,8,"p-button",19)(6,Z9,3,4,"p-button",20),f()()}if(t&2){let e=m(4);u("ngClass",e.cx("header")),d(2),u("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),d(),u("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),d(),u("ngClass",e.cx("headerActions")),d(),u("ngIf",e.maximizable),d(),u("ngIf",e.closable)}}function X9(t,i){t&1&&le(0)}function e$(t,i){t&1&&le(0)}function t$(t,i){if(t&1&&(h(0,"div",18,5),Ae(2,1),_(3,e$,1,0,"ng-container",11),f()),t&2){let e=m(4);u("ngClass",e.cx("footer")),d(3),u("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function n$(t,i){if(t&1&&(_(0,M9,1,1,"div",12)(1,J9,7,6,"div",13),h(2,"div",7,2),Ae(4),_(5,X9,1,0,"ng-container",11),f(),_(6,t$,4,2,"div",14)),t&2){let e=m(3);u("ngIf",e.resizable),d(),u("ngIf",e.showHeader),d(),re(e.contentStyleClass),u("ngClass",e.cx("content"))("ngStyle",e.contentStyle),N("data-pc-section","content"),d(3),u("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),d(),u("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function i$(t,i){if(t&1){let e=U();h(0,"div",9,0),R("@animation.start",function(o){D(e);let r=m(2);return O(r.onAnimationStart(o))})("@animation.done",function(o){D(e);let r=m(2);return O(r.onAnimationEnd(o))}),_(2,O9,2,1,"ng-container",10)(3,n$,7,9,"ng-template",null,1,we),f()}if(t&2){let e=ge(4),n=m(2);li(n.style),re(n.styleClass),u("ngClass",ce(13,E9,n.maximizable&&n.maximized))("ngStyle",Ht(15,I9))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",ce(19,T9,Ge(16,S9,n.transformOptions,n.transitionOptions))),N("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),d(2),u("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function o$(t,i){if(t&1&&(h(0,"div",7),_(1,i$,5,21,"div",8),f()),t&2){let e=m();li(e.maskStyle),re(e.maskStyleClass),u("ngClass",e.maskClass)("ngStyle",eo(7,x9,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),d(),u("ngIf",e.visible)}}var r$=({dt:t})=>` .p-dialog { max-height: 90%; transform: scale(1); border-radius: ${t("dialog.border.radius")}; box-shadow: ${t("dialog.shadow")}; background: ${t("dialog.background")}; border: 1px solid ${t("dialog.border.color")}; color: ${t("dialog.color")}; display: flex; flex-direction: column; pointer-events: auto } .p-dialog-content { overflow-y: auto; padding: ${t("dialog.content.padding")}; flex-grow: 1; } .p-dialog-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: ${t("dialog.header.padding")}; } .p-dialog-title { font-weight: ${t("dialog.title.font.weight")}; font-size: ${t("dialog.title.font.size")}; } .p-dialog-footer { flex-shrink: 0; padding: ${t("dialog.footer.padding")}; display: flex; justify-content: flex-end; gap: ${t("dialog.footer.gap")}; } .p-dialog-header-actions { display: flex; align-items: center; gap: ${t("dialog.header.gap")}; } .p-dialog-enter-active { transition: all 150ms cubic-bezier(0, 0, 0.2, 1); } .p-dialog-leave-active { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); } .p-dialog-enter-from, .p-dialog-leave-to { opacity: 0; transform: scale(0.7); } .p-dialog-top .p-dialog, .p-dialog-bottom .p-dialog, .p-dialog-left .p-dialog, .p-dialog-right .p-dialog, .p-dialog-topleft .p-dialog, .p-dialog-topright .p-dialog, .p-dialog-bottomleft .p-dialog, .p-dialog-bottomright .p-dialog { margin: 0.75rem; transform: translate3d(0px, 0px, 0px); } .p-dialog-top .p-dialog-enter-active, .p-dialog-top .p-dialog-leave-active, .p-dialog-bottom .p-dialog-enter-active, .p-dialog-bottom .p-dialog-leave-active, .p-dialog-left .p-dialog-enter-active, .p-dialog-left .p-dialog-leave-active, .p-dialog-right .p-dialog-enter-active, .p-dialog-right .p-dialog-leave-active, .p-dialog-topleft .p-dialog-enter-active, .p-dialog-topleft .p-dialog-leave-active, .p-dialog-topright .p-dialog-enter-active, .p-dialog-topright .p-dialog-leave-active, .p-dialog-bottomleft .p-dialog-enter-active, .p-dialog-bottomleft .p-dialog-leave-active, .p-dialog-bottomright .p-dialog-enter-active, .p-dialog-bottomright .p-dialog-leave-active { transition: all 0.3s ease-out; } .p-dialog-top .p-dialog-enter-from, .p-dialog-top .p-dialog-leave-to { transform: translate3d(0px, -100%, 0px); } .p-dialog-bottom .p-dialog-enter-from, .p-dialog-bottom .p-dialog-leave-to { transform: translate3d(0px, 100%, 0px); } .p-dialog-left .p-dialog-enter-from, .p-dialog-left .p-dialog-leave-to, .p-dialog-topleft .p-dialog-enter-from, .p-dialog-topleft .p-dialog-leave-to, .p-dialog-bottomleft .p-dialog-enter-from, .p-dialog-bottomleft .p-dialog-leave-to { transform: translate3d(-100%, 0px, 0px); } .p-dialog-right .p-dialog-enter-from, .p-dialog-right .p-dialog-leave-to, .p-dialog-topright .p-dialog-enter-from, .p-dialog-topright .p-dialog-leave-to, .p-dialog-bottomright .p-dialog-enter-from, .p-dialog-bottomright .p-dialog-leave-to { transform: translate3d(100%, 0px, 0px); } .p-dialog-left:dir(rtl) .p-dialog-enter-from, .p-dialog-left:dir(rtl) .p-dialog-leave-to, .p-dialog-topleft:dir(rtl) .p-dialog-enter-from, .p-dialog-topleft:dir(rtl) .p-dialog-leave-to, .p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from, .p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to { transform: translate3d(100%, 0px, 0px); } .p-dialog-right:dir(rtl) .p-dialog-enter-from, .p-dialog-right:dir(rtl) .p-dialog-leave-to, .p-dialog-topright:dir(rtl) .p-dialog-enter-from, .p-dialog-topright:dir(rtl) .p-dialog-leave-to, .p-dialog-bottomright:dir(rtl) .p-dialog-enter-from, .p-dialog-bottomright:dir(rtl) .p-dialog-leave-to { transform: translate3d(-100%, 0px, 0px); } .p-dialog-maximized { width: 100vw !important; height: 100vh !important; top: 0px !important; left: 0px !important; max-height: 100%; height: 100%; border-radius: 0; } .p-dialog-maximized .p-dialog-content { flex-grow: 1; } .p-overlay-mask:dir(rtl) { flex-direction: row-reverse; } /* For PrimeNG */ .p-dialog .p-resizable-handle { position: absolute; font-size: 0.1px; display: block; cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } .p-confirm-dialog .p-dialog-content { display: flex; align-items: center; } `,s$={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:t.position==="left"||t.position==="topleft"||t.position==="bottomleft"?"flex-start":t.position==="right"||t.position==="topright"||t.position==="bottomright"?"flex-end":"center",alignItems:t.position==="top"||t.position==="topleft"||t.position==="topright"?"flex-start":t.position==="bottom"||t.position==="bottomleft"||t.position==="bottomright"?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},a$={mask:({instance:t})=>{let e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(n=>n===t.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":t.modal,[`p-dialog-${e}`]:e}},root:({instance:t})=>({"p-dialog p-component":!0,"p-dialog-maximized":t.maximizable&&t.maximized}),header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},kO=(()=>{class t extends nt{name="dialog";theme=r$;classes=a$;inlineStyles=s$;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var l$=cl([ni({transform:"{{transform}}",opacity:0}),oo("{{transition}}")]),c$=cl([oo("{{transition}}",ni({transform:"{{transform}}",opacity:0}))]),Qv=(()=>{class t extends Ue{header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",text:!0,rounded:!0};maximizeButtonProps={severity:"secondary",text:!0,rounded:!0};get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style=k({},e),this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)";break}}role="dialog";onShow=new F;onHide=new F;visibleChange=new F;onResizeInit=new F;onResizeEnd=new F;onDragEnd=new F;onMaximize=new F;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=Gt("pn_id_");_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=C(kO);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;get maximizeLabel(){return this.config.getTranslation(Mo.ARIA).maximizeLabel}zone=C(ue);get maskClass(){let n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(o=>o===this.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":this.modal||this.dismissableMask,[`p-dialog-${n}`]:n}}ngOnInit(){super.ngOnInit(),this.breakpoints&&this.createStyle()}templates;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"header":this.headerT=e.template;break;case"content":this.contentT=e.template;break;case"footer":this.footerT=e.template;break;case"closeicon":this.closeIconT=e.template;break;case"maximizeicon":this.maximizeIconT=e.template;break;case"minimizeicon":this.minimizeIconT=e.template;break;case"headless":this.headlessT=e.template;break;default:this.contentT=e.template;break}})}getAriaLabelledBy(){return this.header!==null?Gt("pn_id_")+"_header":null}parseDurationToMilliseconds(e){let n=/([\d\.]+)(ms|s)\b/g,o=0,r;for(;(r=n.exec(e))!==null;){let s=parseFloat(r[1]),a=r[2];a==="ms"?o+=s:a==="s"&&(o+=s*1e3)}if(o!==0)return o}_focus(e){if(e){let n=this.parseDurationToMilliseconds(this.transitionOptions),o=Ro.getFocusableElements(e);if(o&&o.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>o[0].focus(),n||5)}),!0}return!1}focus(e){let n=this._focus(e);n||(n=this._focus(this.footerViewChild?.nativeElement),n||(n=this._focus(this.headerViewChild?.nativeElement),n||this._focus(this.contentViewChild?.nativeElement)))}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&Fv()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();let e=document.querySelectorAll(".p-dialog-mask-scrollblocker");this.modal&&e&&e.length==1&&ks(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?Fv():ks()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(uo.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(We(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let n in this.breakpoints)e+=` @media screen and (max-width: ${n}) { .p-dialog[${this.id}]:not(.p-dialog-maximized) { width: ${this.breakpoints[n]} !important; } } `;this.renderer.setProperty(this.styleElement,"innerHTML",e),xf(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){ki(e.target,"p-dialog-maximize-icon")||ki(e.target,"p-dialog-header-close-icon")||ki(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",zn(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Un(this.container),o=Gn(this.container),r=e.pageX-this.lastPageX,s=e.pageY-this.lastPageY,a=this.container.getBoundingClientRect(),l=getComputedStyle(this.container),c=parseFloat(l.marginLeft),p=parseFloat(l.marginTop),g=a.left+r-c,v=a.top+s-p,y=As();this.container.style.position="fixed",this.keepInViewport?(g>=this.minX&&g+n=this.minY&&v+oparseInt(p))&&v.left+lparseInt(g))&&v.top+c{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):ad(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&zn(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),ki(this.document.body,"p-overflow-hidden")&&_i(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&uo.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?k({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-dialog"]],contentQueries:function(n,o,r){if(n&1&&(he(r,m9,4),he(r,RO,4),he(r,PO,4),he(r,g9,4),he(r,_9,4),he(r,y9,4),he(r,v9,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o._headerTemplate=s.first),G(s=W())&&(o._contentTemplate=s.first),G(s=W())&&(o._footerTemplate=s.first),G(s=W())&&(o._closeiconTemplate=s.first),G(s=W())&&(o._maximizeiconTemplate=s.first),G(s=W())&&(o._minimizeiconTemplate=s.first),G(s=W())&&(o._headlessTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(b9,5),ve(RO,5),ve(PO,5)),n&2){let r;G(r=W())&&(o.headerViewChild=r.first),G(r=W())&&(o.contentViewChild=r.first),G(r=W())&&(o.footerViewChild=r.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",H],resizable:[2,"resizable","resizable",H],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",H],closeOnEscape:[2,"closeOnEscape","closeOnEscape",H],dismissableMask:[2,"dismissableMask","dismissableMask",H],rtl:[2,"rtl","rtl",H],closable:[2,"closable","closable",H],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",H],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",H],autoZIndex:[2,"autoZIndex","autoZIndex",H],baseZIndex:[2,"baseZIndex","baseZIndex",ot],minX:[2,"minX","minX",ot],minY:[2,"minY","minY",ot],focusOnShow:[2,"focusOnShow","focusOnShow",H],maximizable:[2,"maximizable","maximizable",H],keepInViewport:[2,"keepInViewport","keepInViewport",H],focusTrap:[2,"focusTrap","focusTrap",H],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[fe([kO]),Z],ngContentSelectors:w9,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,o){n&1&&(Xe(C9),_(0,o$,2,11,"div",6)),n&2&&u("ngIf",o.maskVisible)},dependencies:[Se,_t,ee,vt,fn,Kv,OO,hr,wO,xO,Ye],encapsulation:2,data:{animation:[Br("animation",[ro("void => visible",[dl(l$)]),ro("visible => void",[dl(c$)])])]},changeDetection:0})}return t})(),AO=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Qv,Ye,Ye]})}return t})();var NO=new M("ContentService");var n_e=new M("OrderService"),i_e=new M("OrderListSortFields"),Yv=function(t){return t.NONE="os.none",t.PENDING="os.pending",t.WAITING_APPROVE="os.waiting.approve",t.WAITING_PAYMENT="os.waiting.payment",t.WAITING="os.waiting",t.IN_PROGRESS="os.in.progress",t.CANCELLED="os.cancelled",t.CANCELLED_WAITING_PAYMENT="os.cancelled.waiting.payment",t.RETURNED="os.returned",t.RETURNED_WAITING_PAYMENT="os.returned.waiting.payment",t.PARTIALLY_SHIPPED="os.partially.shipped",t.COMPLETED="os.completed",t}(Yv||{});var Pf=(()=>{class t{transform(e,n){return n===void 0?e:e.length>n?e.substring(0,n)+"...":e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=In({name:"ellipsis",type:t,pure:!0,standalone:!1})}}return t})();var Po=(()=>{class t{transform(e,...n){if(n.length===0)return e;try{let o=new URL(e),r=n[0],s=n[1]?n[1]:r;return o.searchParams.append("width",r),o}catch{}return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=In({name:"resize",type:t,pure:!0,standalone:!1})}}return t})();var Ur=(()=>{class t{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}static{this.\u0275fac=function(n){return new(n||t)(b(ar,16))}}static{this.\u0275pipe=In({name:"safeHtml",type:t,pure:!0,standalone:!1})}}return t})();var mn=new M("Environment");function f_e(){return We(C(Fe))}var LO=(()=>{class t{constructor(e){this.environment=e}apiUrl(e){return this.environment.commerce.apiUrl+e}authUrl(e){return this.environment.auth.apiUrl+e}imgUrl(e,n){return this.environment.cdn.imageVaultUrl+e+`/${n}`}static{this.\u0275fac=function(n){return new(n||t)(L(mn))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var VO=new M("Endpoints");var gn=new M("TranslatesService");var S_e="PLN",p$="SHOP_PRICE_NO_DECIMAL",h$="SHOP_EXPORT_PRODUCT_DATA_DISABLED",Af=1,Gr=(()=>{class t{constructor(e,n,o,r){this.httpClient=e,this.urlHelper=n,this.endpoints=o,this.translatesService=r}getCurrentCulture(){return this.translatesService.getCurrentCulture()}getShopAttributes(){return this.attributesCache||(this.attributesCache=this.requestShopAttributes().pipe(go(Af))),this.attributesCache}getMyShopAttributes(){return this.myAttributesCache||(this.myAttributesCache=this.requestMyShopAttributes().pipe(go(Af))),this.myAttributesCache}getSeo(e){return this.seoCache||(this.seoCache=this.seoRequest().pipe(go(Af))),this.seoCache}getPriceNoDecimal(){return this.priceNoDecimalCache||(this.priceNoDecimalCache=this.getShopAttributes().pipe(pe(e=>Pe(e)),de(e=>e.attributeCode===p$),z(e=>e.val==="true"),go(Af))),this.priceNoDecimalCache}requestShopAttributes(){return this.httpClient.get(this.urlHelper.apiUrl(this.endpoints.commerce.shop.attributes))}requestMyShopAttributes(){return this.httpClient.get(this.urlHelper.apiUrl(this.endpoints.commerce.shop.myShopAttributes))}seoRequest(){return this.httpClient.get(this.urlHelper.apiUrl(this.endpoints.commerce.shop.seo))}getShopAttribute(e){return this.getShopAttributes().pipe(pe(n=>Pe(n)),de(n=>n.attributeCode===e),z(n=>n.val),xt(1),zi(null))}getDisplayValShopAttributeByCode(e){return this.getShopAttributes().pipe(pe(n=>Pe(n)),de(n=>n.attributeCode===e),z(n=>n.displayVals.hasOwnProperty(this.translatesService.getCurrentLang())?n.displayVals[this.translatesService.getCurrentLang()]:n.val),xt(1),zi(null))}getExportProductDataDisabledAttribute(){return this.getShopAttribute(h$).pipe(z(e=>e==="true"))}static{this.\u0275fac=function(n){return new(n||t)(L(BD),L(LO),L(VO),L(gn))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var Vs=(()=>{class t{constructor(e,n){this.currencyPipe=e,this.shopService=n,this.priceNoDecimal=!1,this.currentCulture="",this.shopService.getPriceNoDecimal().subscribe(o=>{this.priceNoDecimal=o}),this.currentCulture=this.shopService.getCurrentCulture()}transform(e,n,o=this.currentCulture,r="symbol-narrow",s){if(e!=null)return this.priceNoDecimal?this.currencyPipe.transform(Math.floor(e),n,r,s||"1.0",o).replace(/\./g,"").replace(/\,/g,""):this.currencyPipe.transform(e,n,r,s||"1.2-2",o);let a=this.currencyPipe.transform(0,n,r).split("0").filter(l=>l!==""&&l!=="."&&l!==",")[0];return a!=null?a.trim():""}static{this.\u0275fac=function(n){return new(n||t)(b(Kh,16),b(Gr,16))}}static{this.\u0275pipe=In({name:"currencySymbol",type:t,pure:!1,standalone:!1})}}return t})();var Zv=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[Se]})}}return t})();var Cl=class{constructor(i,e,n="white"){this.name=i,this.bgColor=e,this.fontColor=n}},wl=class{constructor(i,e){this.name=i,this.value=e}},xl=class{get amount(){return this._amount}set amount(i){this._amount=i,this.netValue=this.amount*this.priceNet}get priceNet(){return this.salePriceNet||this.netPrice}get priceGross(){return this.salePriceGross||this.grossPrice}constructor(i=null,e=null,n=null,o=null,r=null,s=null,a=null,l=null,c=null,p=null,g=0,v=null,y=null,x=[],P=[],j=[],q=[],ie=null,Oe=0,it=0,Nt=null,vn=null,Fo=null,es=null,Qs=[],Ys=null,Zs=!1,Js=null,ts=null,ns=null,Xs=new Map,ea=0,ta={},na=[],ia=null,oa=null,ra=null,sa=null,iu=[],ou=null,ru=null,su,Jm=null,Xm=!1){this.id=i,this.code=e,this.name=n,this.picture=o,this.brand=r,this.netPrice=s,this.grossPrice=a,this.currency=l,this.description=c,this.fullDescription=p,this.availability=g,this.manufacturerCode=v,this.technicalTable=y,this.badges=x,this.features=P,this.videos=j,this.gallery=q,this.discount=ie,this.salePriceNet=Oe,this.salePriceGross=it,this._uri=Nt,this._pimCode=vn,this.defaultSkuCode=Fo,this.model=es,this.categories=Qs,this.ean=Ys,this.inStock=Zs,this.marketingDescription=Js,this.promotionPrice=ts,this.deliveryEstimatedMin=ns,this.mainBanners=Xs,this.leadTime=ea,this._availableToSellQuantity=ta,this.productFiles=na,this.associationQty=ia,this.calibrationCertificate=oa,this.leasing=ra,this.isService=sa,this.priceList=iu,this.lowestSalePriceNet=ou,this.baselinkerId=ru,this.serviceItems=su,this.skuId=Jm,this.isHidden=Xm,this.netValue=this.priceNet,this._amount=1}get uri(){return this._uri?this._uri:""+this.id}set uri(i){this._uri=i}get pimCode(){return this._pimCode?this._pimCode:this.code}set pimCode(i){this._pimCode=i}get availableToSellQuantity(){return this._availableToSellQuantity.hasOwnProperty(this.defaultSkuCode)?this._availableToSellQuantity[this.defaultSkuCode]:void 0}set availableToSellQuantity(i){if(!this.defaultSkuCode)throw new Error("Configure defaultSkuCode first");this._availableToSellQuantity[this.defaultSkuCode]=i}get quantity(){return this._amount}set quantity(i){this.amount=i}},yd=class{constructor(i,e){this.url=i,this.primary=e}},Ni=function(t){return t[t.STATUS_UNAVAILABLE=16]="STATUS_UNAVAILABLE",t[t.STATUS_AVAILABLE=1]="STATUS_AVAILABLE",t[t.STATUS_FEW=3]="STATUS_FEW",t[t.STATUS_BACKORDER=4]="STATUS_BACKORDER",t}(Ni||{});var BO=new M("ProductQuantityObserveService");var Wr=(()=>{class t{constructor(e,n){this.environment=e,this.origin=n}isPolish(){let e=this.origin.split(":")[0];return this.environment.hostname.pl===e}isItalian(){let e=this.origin.split(":")[0];return this.environment.hostname.it===e}isUsa(){let e=this.origin.split(":")[0];return this.environment.hostname.en===e}isNorwegian(){let e=this.origin.split(":")[0];return this.environment.hostname.no===e}isSingapore(){let e=this.origin.split(":")[0];return this.environment.hostname.sg===e}isIndia(){let e=this.origin.split(":")[0];return this.environment.hostname.in===e}isChile(){let e=this.origin.split(":")[0];return this.environment.hostname.cl===e}isPeru(){let e=this.origin.split(":")[0];return this.environment.hostname.pe===e}isGerman(){let e=this.origin.split(":")[0];return this.environment.hostname.de===e}isMexican(){let e=this.origin.split(":")[0];return this.environment.hostname.mx===e}getDomainCode(){let e=this.origin.split(":")[0];for(let n in this.environment.hostname)if(this.environment.hostname[n]===e)return n;return""}static{this.\u0275fac=function(n){return new(n||t)(L(mn),L("ORIGIN_URL"))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var f$=t=>({leadTime:t});function m$(t,i){t&1&&(h(0,"p",9),E(1),I(2,"translate"),h(3,"span",10),E(4,"24h"),f()()),t&2&&(d(),oe(" ",T(2,1,"PRODUCT.LEAD_TIME.REALIZATION")," "))}function g$(t,i){if(t&1&&(se(0),_(1,m$,5,3,"p",8),ae()),t&2){let e=m(2),n=ge(2);d(),u("ngIf",e.availabilityLeadTime===1)("ngIfElse",n)}}function _$(t,i){t&1&&(se(0),h(1,"p",9),E(2),I(3,"translate"),h(4,"span",10),E(5),I(6,"translate"),f()(),ae()),t&2&&(d(2),oe(" ",T(3,2,"PRODUCT.LEAD_TIME.REALIZATION")," "),d(3),B(T(6,4,"PRODUCT.LEAD_TIME.OVER_5_DAYS")))}function y$(t,i){if(t&1&&(h(0,"div",2)(1,"div",3)(2,"div",4),w(3,"div",5),f(),h(4,"p",6),E(5),I(6,"translate"),f()(),_(7,g$,2,2,"ng-container",7)(8,_$,7,6,"ng-container",7),f()),t&2){let e=m();d(3),Yt("background",e.productStatusColor),d(2),B(T(6,5,e.productStatusText)),d(2),u("ngIf",e.showLeadTime&&e.availabilityLeadTime),d(),u("ngIf",e.showLeadTime&&e.availabilityLeadTime===0&&e.finalQuantity<0&&e.availability!==e.unavailableProductStatus)}}function v$(t,i){if(t&1&&(h(0,"p",9),E(1),I(2,"translate"),h(3,"span",10),E(4),I(5,"translate"),f()()),t&2){let e=m();d(),oe(" ",T(2,2,"PRODUCT.LEAD_TIME.REALIZATION")," "),d(3),B(Pt(5,4,"PRODUCT.LEAD_TIME.DAYS",ce(7,f$,e.availabilityLeadTime)))}}var b$=new M("AvailabilityIndicatorProductStates"),C$=new M("ProductStatesLeadTime"),El=(()=>{class t{constructor(e,n,o,r,s){this.renderer=e,this.productState=n,this.leadTimeStates=o,this.domainService=s,this.destroySubject=new K,this.unavailableProductStatus=Ni.STATUS_UNAVAILABLE,this.showLeadTime=!1,this.showAvailabilityIndicator=!0,r&&r.observe$().pipe(ke(this.destroySubject),de(a=>a.productSkuCode===this.defaultSkuCode)).subscribe(a=>{this.product={defaultSkuCode:a.productSkuCode,availability:this.availability,availableToSellQuantity:a.availableToSellQuantity,leadTime:this.leadTime,quantity:a.quantity}})}set product(e){this.defaultSkuCode=e.defaultSkuCode,this.availability=e.availability,this.leadTime=e.leadTime,this.availabilityLeadTime=this.specifyAvailabilityLeadTime(e);let o=(e.availableToSellQuantity?e.availableToSellQuantity:0)-e.quantity,r=this.productState.get(this.availability);this.showAvailabilityIndicator=this.domainService.isPolish()||this.domainService.isItalian()||this.domainService.isGerman()||this.availability!==Ni.STATUS_UNAVAILABLE,r?(this.productStatusText=r.stateLabel(o),this.productStatusColor=r.stateColor(o)):(this.productStatusText="PRODUCT.STATUS_UNAVAILABLE",this.productStatusColor="#e57143")}ngOnInit(){}specifyAvailabilityLeadTime(e){let n=e.availableToSellQuantity?e.availableToSellQuantity:0;return this.finalQuantity=n-e.quantity,this.leadTimeStates.indexOf(e.availability)>=0&&this.finalQuantity>=0?1:Ni.STATUS_BACKORDER===e.availability&&this.finalQuantity<0&&e.leadTime?e.leadTime:0}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(wt),b(b$),b(C$),b(BO,8),b(Wr))}}static{this.\u0275cmp=A({type:t,selectors:[["availability-indicator"]],inputs:{showLeadTime:"showLeadTime",product:"product"},standalone:!1,decls:3,vars:1,consts:[["days",""],["class","availability-indicator",4,"ngIf"],[1,"availability-indicator"],[1,"quantity-section","d-inline-flex"],[1,"m-auto"],[1,"quantity-img"],[1,"d-inline-flex","quantity-status"],[4,"ngIf"],["class","lead-time",4,"ngIf","ngIfElse"],[1,"lead-time"],[1,"lead-time-days"]],template:function(n,o){n&1&&_(0,y$,9,7,"div",1)(1,v$,6,9,"ng-template",null,0,we),n&2&&u("ngIf",o.showAvailabilityIndicator)},dependencies:[ee,Le],styles:["@media (max-width: 420px){p.quantity-status[_ngcontent-%COMP%]{font-size:10px}}.availability-indicator[_ngcontent-%COMP%]{margin-bottom:8px}.availability-indicator[_ngcontent-%COMP%] .quantity-img[_ngcontent-%COMP%]{height:8px;width:8px;border-radius:50%;background:#19e597;margin:auto 4px auto 0}.availability-indicator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#959da1;font-size:12px;font-weight:500;margin-bottom:auto;margin-top:auto}.availability-indicator[_ngcontent-%COMP%] .quantity-status[_ngcontent-%COMP%]{text-transform:uppercase}.availability-indicator[_ngcontent-%COMP%] .lead-time[_ngcontent-%COMP%]{line-height:18px}.availability-indicator[_ngcontent-%COMP%] .lead-time-days[_ngcontent-%COMP%]{font-weight:700}.availability-indicator[_ngcontent-%COMP%] .overflow-single-line[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]})}}return t})();var oye=new M("CartObservation"),qr=new M("CartManagementService"),jO=class{constructor(i){typeof i=="string"?this.message=i:this.inner=i}};var ko=new M("EnhancedEcommerceService");var $O="Product card",lye="Cart",cye="Product list",HO="Product carousel";var zO=["commerce.b2b_cart.read"],Vf=["commerce.b2b_cart.write"];var Ze="primary",Md=Symbol("RouteTitle"),ib=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ml(t){return new ib(t)}function w$(t,i,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(i.hasChildren()||n.lengthn[r]===o)}else return t===i}function eM(t){return t.length>0?t[t.length-1]:null}function Yr(t){return fo(t)?t:Dr(t)?Pe(Promise.resolve(t)):Y(t)}var E$={exact:nM,subset:iM},tM={exact:I$,subset:S$,ignored:()=>!0};function UO(t,i,e){return E$[e.paths](t.root,i.root,e.matrixParams)&&tM[e.queryParams](t.queryParams,i.queryParams)&&!(e.fragment==="exact"&&t.fragment!==i.fragment)}function I$(t,i){return Ao(t,i)}function nM(t,i,e){if(!js(t.segments,i.segments)||!$f(t.segments,i.segments,e)||t.numberOfChildren!==i.numberOfChildren)return!1;for(let n in i.children)if(!t.children[n]||!nM(t.children[n],i.children[n],e))return!1;return!0}function S$(t,i){return Object.keys(i).length<=Object.keys(t).length&&Object.keys(i).every(e=>XO(t[e],i[e]))}function iM(t,i,e){return oM(t,i,i.segments,e)}function oM(t,i,e,n){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!js(o,e)||i.hasChildren()||!$f(o,e,n))}else if(t.segments.length===e.length){if(!js(t.segments,e)||!$f(t.segments,e,n))return!1;for(let o in i.children)if(!t.children[o]||!iM(t.children[o],i.children[o],n))return!1;return!0}else{let o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!js(t.segments,o)||!$f(t.segments,o,n)||!t.children[Ze]?!1:oM(t.children[Ze],i,r,n)}}function $f(t,i,e){return i.every((n,o)=>tM[e](t[o].parameters,n.parameters))}var mr=class{root;queryParams;fragment;_queryParamMap;constructor(i=new bt([],{}),e={},n=null){this.root=i,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ml(this.queryParams),this._queryParamMap}toString(){return O$.serialize(this)}},bt=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hf(this)}},Bs=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Ml(this.parameters),this._parameterMap}toString(){return sM(this)}};function T$(t,i){return js(t,i)&&t.every((e,n)=>Ao(e.parameters,i[n].parameters))}function js(t,i){return t.length!==i.length?!1:t.every((e,n)=>e.path===i[n].path)}function D$(t,i){let e=[];return Object.entries(t.children).forEach(([n,o])=>{n===Ze&&(e=e.concat(i(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==Ze&&(e=e.concat(i(o,n)))}),e}var Rd=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>new Rl,providedIn:"root"})}return t})(),Rl=class{parse(i){let e=new sb(i);return new mr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${vd(i.root,!0)}`,n=P$(i.queryParams),o=typeof i.fragment=="string"?`#${M$(i.fragment)}`:"";return`${e}${n}${o}`}},O$=new Rl;function Hf(t){return t.segments.map(i=>sM(i)).join("/")}function vd(t,i){if(!t.hasChildren())return Hf(t);if(i){let e=t.children[Ze]?vd(t.children[Ze],!1):"",n=[];return Object.entries(t.children).forEach(([o,r])=>{o!==Ze&&n.push(`${o}:${vd(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=D$(t,(n,o)=>o===Ze?[vd(t.children[Ze],!1)]:[`${o}:${vd(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[Ze]!=null?`${Hf(t)}/${e[0]}`:`${Hf(t)}/(${e.join("//")})`}}function rM(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bf(t){return rM(t).replace(/%3B/gi,";")}function M$(t){return encodeURI(t)}function rb(t){return rM(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zf(t){return decodeURIComponent(t)}function GO(t){return zf(t.replace(/\+/g,"%20"))}function sM(t){return`${rb(t.path)}${R$(t.parameters)}`}function R$(t){return Object.entries(t).map(([i,e])=>`;${rb(i)}=${rb(e)}`).join("")}function P$(t){let i=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(o=>`${Bf(e)}=${Bf(o)}`).join("&"):`${Bf(e)}=${Bf(n)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var k$=/^[^\/()?;#]+/;function Xv(t){let i=t.match(k$);return i?i[0]:""}var A$=/^[^\/()?;=#]+/;function N$(t){let i=t.match(A$);return i?i[0]:""}var F$=/^[^=?&#]+/;function L$(t){let i=t.match(F$);return i?i[0]:""}var V$=/^[^&#]+/;function B$(t){let i=t.match(V$);return i?i[0]:""}var sb=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(n[Ze]=new bt(i,e)),n}parseSegment(){let i=Xv(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new ne(4009,!1);return this.capture(i),new Bs(zf(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=N$(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=Xv(this.remaining);o&&(n=o,this.capture(n))}i[zf(e)]=zf(n)}parseQueryParam(i){let e=L$(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=B$(this.remaining);s&&(n=s,this.capture(n))}let o=GO(e),r=GO(n);if(i.hasOwnProperty(o)){let s=i[o];Array.isArray(s)||(s=[s],i[o]=s),s.push(r)}else i[o]=r}parseParens(i){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Xv(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new ne(4010,!1);let r;n.indexOf(":")>-1?(r=n.slice(0,n.indexOf(":")),this.capture(r),this.capture(":")):i&&(r=Ze);let s=this.parseChildren();e[r]=Object.keys(s).length===1?s[Ze]:new bt([],s),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new ne(4011,!1)}};function aM(t){return t.segments.length>0?new bt([],{[Ze]:t}):t}function lM(t){let i={};for(let[n,o]of Object.entries(t.children)){let r=lM(o);if(n===Ze&&r.segments.length===0&&r.hasChildren())for(let[s,a]of Object.entries(r.children))i[s]=a;else(r.segments.length>0||r.hasChildren())&&(i[n]=r)}let e=new bt(t.segments,i);return j$(e)}function j$(t){if(t.numberOfChildren===1&&t.children[Ze]){let i=t.children[Ze];return new bt(t.segments.concat(i.segments),i.children)}return t}function $s(t){return t instanceof mr}function $$(t,i,e=null,n=null){let o=cM(t);return dM(o,i,e,n)}function cM(t){let i;function e(r){let s={};for(let l of r.children){let c=e(l);s[l.outlet]=c}let a=new bt(r.url,s);return r===t&&(i=a),a}let n=e(t.root),o=aM(n);return i??o}function dM(t,i,e,n){let o=t;for(;o.parent;)o=o.parent;if(i.length===0)return eb(o,o,o,e,n);let r=H$(i);if(r.toRoot())return eb(o,o,new bt([],{}),e,n);let s=z$(r,o,t),a=s.processChildren?Cd(s.segmentGroup,s.index,r.commands):pM(s.segmentGroup,s.index,r.commands);return eb(o,s.segmentGroup,a,e,n)}function Gf(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function xd(t){return typeof t=="object"&&t!=null&&t.outlets}function eb(t,i,e,n,o){let r={};n&&Object.entries(n).forEach(([l,c])=>{r[l]=Array.isArray(c)?c.map(p=>`${p}`):`${c}`});let s;t===i?s=e:s=uM(t,i,e);let a=aM(lM(s));return new mr(a,r,o)}function uM(t,i,e){let n={};return Object.entries(t.children).forEach(([o,r])=>{r===i?n[o]=e:n[o]=uM(r,i,e)}),new bt(t.segments,n)}var Wf=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,n){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=n,i&&n.length>0&&Gf(n[0]))throw new ne(4003,!1);let o=n.find(xd);if(o&&o!==eM(n))throw new ne(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function H$(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Wf(!0,0,t);let i=0,e=!1,n=t.reduce((o,r,s)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let a={};return Object.entries(r.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:s===0?(r.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?i++:a!=""&&o.push(a))}),o):[...o,r]},[]);return new Wf(e,i,n)}var Tl=class{segmentGroup;processChildren;index;constructor(i,e,n){this.segmentGroup=i,this.processChildren=e,this.index=n}};function z$(t,i,e){if(t.isAbsolute)return new Tl(i,!0,0);if(!e)return new Tl(i,!1,NaN);if(e.parent===null)return new Tl(e,!0,0);let n=Gf(t.commands[0])?0:1,o=e.segments.length-1+n;return U$(e,o,t.numberOfDoubleDots)}function U$(t,i,e){let n=t,o=i,r=e;for(;r>o;){if(r-=o,n=n.parent,!n)throw new ne(4005,!1);o=n.segments.length}return new Tl(n,!1,o-r)}function G$(t){return xd(t[0])?t[0].outlets:{[Ze]:t}}function pM(t,i,e){if(t??=new bt([],{}),t.segments.length===0&&t.hasChildren())return Cd(t,i,e);let n=W$(t,i,e),o=e.slice(n.commandIndex);if(n.match&&n.pathIndexr!==Ze)&&t.children[Ze]&&t.numberOfChildren===1&&t.children[Ze].segments.length===0){let r=Cd(t.children[Ze],i,e);return new bt(t.segments,r.children)}return Object.entries(n).forEach(([r,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[r]=pM(t.children[r],i,s))}),Object.entries(t.children).forEach(([r,s])=>{n[r]===void 0&&(o[r]=s)}),new bt(t.segments,o)}}function W$(t,i,e){let n=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let s=t.segments[o],a=e[n];if(xd(a))break;let l=`${a}`,c=n0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!qO(l,c,s))return r;n+=2}else{if(!qO(l,{},s))return r;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function ab(t,i,e){let n=t.segments.slice(0,i),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(i[e]=ab(new bt([],{}),0,n))}),i}function WO(t){let i={};return Object.entries(t).forEach(([e,n])=>i[e]=`${n}`),i}function qO(t,i,e){return t==e.path&&Ao(i,e.parameters)}var Uf="imperative",_n=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_n||{}),Fi=class{id;url;constructor(i,e){this.id=i,this.url=e}},Kr=class extends Fi{type=_n.NavigationStart;navigationTrigger;restoredState;constructor(i,e,n="imperative",o=null){super(i,e),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Li=class extends Fi{urlAfterRedirects;type=_n.NavigationEnd;constructor(i,e,n){super(i,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},wi=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(wi||{}),qf=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(qf||{}),fr=class extends Fi{reason;code;type=_n.NavigationCancel;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Qr=class extends Fi{reason;code;type=_n.NavigationSkipped;constructor(i,e,n,o){super(i,e),this.reason=n,this.code=o}},Ed=class extends Fi{error;target;type=_n.NavigationError;constructor(i,e,n,o){super(i,e),this.error=n,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Kf=class extends Fi{urlAfterRedirects;state;type=_n.RoutesRecognized;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lb=class extends Fi{urlAfterRedirects;state;type=_n.GuardsCheckStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cb=class extends Fi{urlAfterRedirects;state;shouldActivate;type=_n.GuardsCheckEnd;constructor(i,e,n,o,r){super(i,e),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},db=class extends Fi{urlAfterRedirects;state;type=_n.ResolveStart;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ub=class extends Fi{urlAfterRedirects;state;type=_n.ResolveEnd;constructor(i,e,n,o){super(i,e),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pb=class{route;type=_n.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},hb=class{route;type=_n.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fb=class{snapshot;type=_n.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mb=class{snapshot;type=_n.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gb=class{snapshot;type=_n.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_b=class{snapshot;type=_n.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qf=class{routerEvent;position;anchor;type=_n.Scroll;constructor(i,e,n){this.routerEvent=i,this.position=e,this.anchor=n}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},Id=class{},Pl=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function K$(t,i){return t.providers&&!t._injector&&(t._injector=Fc(t.providers,i,`Route: ${t.path}`)),t._injector??i}function po(t){return t.outlet||Ze}function Q$(t,i){let e=t.filter(n=>po(n)===i);return e.push(...t.filter(n=>po(n)!==i)),e}function Pd(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let i=t.parent;i;i=i.parent){let e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var yb=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Pd(this.route?.snapshot)??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new kd(this.rootInjector)}},kd=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let o=this.getOrCreateContext(e);o.outlet=n,this.contexts.set(e,o)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new yb(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(L(Lt))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yf=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=vb(i,this._root);return e?e.children.map(n=>n.value):[]}firstChild(i){let e=vb(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=bb(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return bb(i,this._root).map(e=>e.value)}};function vb(t,i){if(t===i.value)return i;for(let e of i.children){let n=vb(t,e);if(n)return n}return null}function bb(t,i){if(t===i.value)return[i];for(let e of i.children){let n=bb(t,e);if(n.length)return n.unshift(i),n}return[]}var Ci=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function Sl(t){let i={};return t&&t.children.forEach(e=>i[e.value.outlet]=e),i}var Zf=class extends Yf{snapshot;constructor(i,e){super(i),this.snapshot=e,Ob(this,i)}toString(){return this.snapshot.toString()}};function hM(t){let i=Y$(t),e=new Ft([new Bs("",{})]),n=new Ft({}),o=new Ft({}),r=new Ft({}),s=new Ft(""),a=new zt(e,n,r,s,o,Ze,t,i.root);return a.snapshot=i.root,new Zf(new Ci(a,[]),i)}function Y$(t){let i={},e={},n={},o="",r=new Dl([],i,n,o,e,Ze,t,null,{});return new Xf("",new Ci(r,[]))}var zt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,n,o,r,s,a,l){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(z(c=>c[Md]))??Y(void 0),this.url=i,this.params=e,this.queryParams=n,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.params.pipe(z(i=>Ml(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(z(i=>Ml(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Jf(t,i,e="emptyOnly"){let n,{routeConfig:o}=t;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?n={params:k(k({},i.params),t.params),data:k(k({},i.data),t.data),resolve:k(k(k(k({},t.data),i.data),o?.data),t._resolvedData)}:n={params:k({},t.params),data:k({},t.data),resolve:k(k({},t.data),t._resolvedData??{})},o&&mM(o)&&(n.resolve[Md]=o.title),n}var Dl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Md]}constructor(i,e,n,o,r,s,a,l,c){this.url=i,this.params=e,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ml(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ml(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Xf=class extends Yf{url;constructor(i,e){super(e),this.url=i,Ob(this,e)}toString(){return fM(this._root)}};function Ob(t,i){i.value._routerState=t,i.children.forEach(e=>Ob(t,e))}function fM(t){let i=t.children.length>0?` { ${t.children.map(fM).join(", ")} } `:"";return`${t.value}${i}`}function tb(t){if(t.snapshot){let i=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ao(i.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ao(i.params,e.params)||t.paramsSubject.next(e.params),x$(i.url,e.url)||t.urlSubject.next(e.url),Ao(i.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Cb(t,i){let e=Ao(t.params,i.params)&&T$(t.url,i.url),n=!t.parent!=!i.parent;return e&&!n&&(!t.parent||Cb(t.parent,i.parent))}function mM(t){return typeof t.title=="string"||t.title===null}var Z$=new M(""),J$=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ze;activateEvents=new F;deactivateEvents=new F;attachEvents=new F;detachEvents=new F;routerOutletData=Xt(void 0);parentContexts=C(kd);location=C(cn);changeDetector=C(dn);inputBinder=C(om,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:o}=e.name;if(n)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;let 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 ne(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ne(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ne(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new ne(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new wb(e,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ke]})}return t})(),wb=class t{route;childContexts;parent;outletData;__ngOutletInjector(i){return new t(this.route,this.childContexts,i,this.outletData)}constructor(i,e,n,o){this.route=i,this.childContexts=e,this.parent=n,this.outletData=o}get(i,e){return i===zt?this.route:i===kd?this.childContexts:i===Z$?this.outletData:this.parent.get(i,e)}},om=new M(""),KO=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,o=Kn([n.queryParams,n.params,n.data]).pipe(He(([r,s,a],l)=>(a=k(k(k({},r),s),a),l===0?Y(a):Promise.resolve(a)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=QS(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,r[a])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function X$(t,i,e){let n=Sd(t,i._root,e?e._root:void 0);return new Zf(n,i)}function Sd(t,i,e){if(e&&t.shouldReuseRoute(i.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=i.value;let o=e7(t,i,e);return new Ci(n,o)}else{if(t.shouldAttach(i.value)){let r=t.retrieve(i.value);if(r!==null){let s=r.route;return s.value._futureSnapshot=i.value,s.children=i.children.map(a=>Sd(t,a)),s}}let n=t7(i.value),o=i.children.map(r=>Sd(t,r));return new Ci(n,o)}}function e7(t,i,e){return i.children.map(n=>{for(let o of e.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Sd(t,n,o);return Sd(t,n)})}function t7(t){return new zt(new Ft(t.url),new Ft(t.params),new Ft(t.queryParams),new Ft(t.fragment),new Ft(t.data),t.outlet,t.component,t)}var Td=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},gM="ngNavigationCancelingError";function em(t,i){let{redirectTo:e,navigationBehaviorOptions:n}=$s(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=_M(!1,wi.Redirect);return o.url=e,o.navigationBehaviorOptions=n,o}function _M(t,i){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[gM]=!0,e.cancellationCode=i,e}function n7(t){return yM(t)&&$s(t.url)}function yM(t){return!!t&&t[gM]}var i7=(t,i,e,n)=>z(o=>(new xb(i,o.targetRouterState,o.currentRouterState,e,n).activate(t),o)),xb=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,n,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,i),tb(this.futureState.root),this.activateChildRoutes(e,n,i)}deactivateChildRoutes(i,e,n){let o=Sl(e);i.children.forEach(r=>{let s=r.value.outlet;this.deactivateRoutes(r,o[s],n),delete o[s]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,n)})}deactivateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(i,e,s.children)}else this.deactivateChildRoutes(i,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=Sl(i);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:s,route:i,contexts:a})}}deactivateRouteAndOutlet(i,e){let n=e.getContext(i.value.outlet),o=n&&i.value.component?n.children:e,r=Sl(i);for(let s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(i,e,n){let o=Sl(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],n),this.forwardEvent(new _b(r.value.snapshot))}),i.children.length&&this.forwardEvent(new mb(i.value.snapshot))}activateRoutes(i,e,n){let o=i.value,r=e?e.value:null;if(tb(o),o===r)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,s.children)}else this.activateChildRoutes(i,e,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let 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),tb(a.route.value),this.activateChildRoutes(i,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(i,null,s.children)}else this.activateChildRoutes(i,null,n)}},tm=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},Ol=class{component;route;constructor(i,e){this.component=i,this.route=e}};function o7(t,i,e){let n=t._root,o=i?i._root:null;return bd(n,o,e,[n.value])}function r7(t){let i=t.routeConfig?t.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:t,guards:i}}function Al(t,i){let e=Symbol(),n=i.get(t,e);return n===e?typeof t=="function"&&!dx(t)?t:i.get(t):n}function bd(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=Sl(i);return t.children.forEach(s=>{s7(s,r[s.value.outlet],e,n.concat([s.value]),o),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>wd(a,e.getContext(s),o)),o}function s7(t,i,e,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=t.value,s=i?i.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){let l=a7(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new tm(n)):(r.data=s.data,r._resolvedData=s._resolvedData),r.component?bd(t,i,a?a.children:null,n,o):bd(t,i,e,n,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ol(a.outlet.component,s))}else s&&wd(i,a,o),o.canActivateChecks.push(new tm(n)),r.component?bd(t,null,a?a.children:null,n,o):bd(t,null,e,n,o);return o}function a7(t,i,e){if(typeof e=="function")return e(t,i);switch(e){case"pathParamsChange":return!js(t.url,i.url);case"pathParamsOrQueryParamsChange":return!js(t.url,i.url)||!Ao(t.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cb(t,i)||!Ao(t.queryParams,i.queryParams);case"paramsChange":default:return!Cb(t,i)}}function wd(t,i,e){let n=Sl(t),o=t.value;Object.entries(n).forEach(([r,s])=>{o.component?i?wd(s,i.children.getContext(r),e):wd(s,null,e):wd(s,i,e)}),o.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new Ol(i.outlet.component,o)):e.canDeactivateChecks.push(new Ol(null,o)):e.canDeactivateChecks.push(new Ol(null,o))}function Ad(t){return typeof t=="function"}function l7(t){return typeof t=="boolean"}function c7(t){return t&&Ad(t.canLoad)}function d7(t){return t&&Ad(t.canActivate)}function u7(t){return t&&Ad(t.canActivateChild)}function p7(t){return t&&Ad(t.canDeactivate)}function h7(t){return t&&Ad(t.canMatch)}function vM(t){return t instanceof $o||t?.name==="EmptyError"}var jf=Symbol("INITIAL_VALUE");function kl(){return He(t=>Kn(t.map(i=>i.pipe(xt(1),Ln(jf)))).pipe(z(i=>{for(let e of i)if(e!==!0){if(e===jf)return jf;if(e===!1||f7(e))return e}return!0}),de(i=>i!==jf),xt(1)))}function f7(t){return $s(t)||t instanceof Td}function m7(t,i){return pe(e=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return s.length===0&&r.length===0?Y(Ce(k({},e),{guardsResult:!0})):g7(s,n,o,t).pipe(pe(a=>a&&l7(a)?_7(n,r,t,i):Y(a)),z(a=>Ce(k({},e),{guardsResult:a})))})}function g7(t,i,e,n){return Pe(t).pipe(pe(o=>w7(o.component,o.route,e,i,n)),Go(o=>o!==!0,!0))}function _7(t,i,e,n){return Pe(i).pipe(Hi(o=>Fn(v7(o.route.parent,n),y7(o.route,n),C7(t,o.path,e),b7(t,o.route,e))),Go(o=>o!==!0,!0))}function y7(t,i){return t!==null&&i&&i(new gb(t)),Y(!0)}function v7(t,i){return t!==null&&i&&i(new fb(t)),Y(!0)}function b7(t,i,e){let n=i.routeConfig?i.routeConfig.canActivate:null;if(!n||n.length===0)return Y(!0);let o=n.map(r=>Ho(()=>{let s=Pd(i)??e,a=Al(r,s),l=d7(a)?a.canActivate(i,t):Xn(s,()=>a(i,t));return Yr(l).pipe(Go())}));return Y(o).pipe(kl())}function C7(t,i,e){let n=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(s=>r7(s)).filter(s=>s!==null).map(s=>Ho(()=>{let a=s.guards.map(l=>{let c=Pd(s.node)??e,p=Al(l,c),g=u7(p)?p.canActivateChild(n,t):Xn(c,()=>p(n,t));return Yr(g).pipe(Go())});return Y(a).pipe(kl())}));return Y(r).pipe(kl())}function w7(t,i,e,n,o){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return Y(!0);let s=r.map(a=>{let l=Pd(i)??o,c=Al(a,l),p=p7(c)?c.canDeactivate(t,i,e,n):Xn(l,()=>c(t,i,e,n));return Yr(p).pipe(Go())});return Y(s).pipe(kl())}function x7(t,i,e,n){let o=i.canLoad;if(o===void 0||o.length===0)return Y(!0);let r=o.map(s=>{let a=Al(s,t),l=c7(a)?a.canLoad(i,e):Xn(t,()=>a(i,e));return Yr(l)});return Y(r).pipe(kl(),bM(n))}function bM(t){return hg(be(i=>{if(typeof i!="boolean")throw em(t,i)}),z(i=>i===!0))}function E7(t,i,e,n){let o=i.canMatch;if(!o||o.length===0)return Y(!0);let r=o.map(s=>{let a=Al(s,t),l=h7(a)?a.canMatch(i,e):Xn(t,()=>a(i,e));return Yr(l)});return Y(r).pipe(kl(),bM(n))}var Dd=class{segmentGroup;constructor(i){this.segmentGroup=i||null}},Od=class extends Error{urlTree;constructor(i){super(),this.urlTree=i}};function Il(t){return va(new Dd(t))}function I7(t){return va(new ne(4e3,!1))}function S7(t){return va(_M(!1,wi.GuardRejected))}var Eb=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){let n=[],o=e.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return Y(n);if(o.numberOfChildren>1||!o.children[Ze])return I7(`${i.redirectTo}`);o=o.children[Ze]}}applyRedirectCommands(i,e,n,o,r){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:p,url:g,outlet:v,params:y,data:x,title:P}=o,j=Xn(r,()=>a({params:y,data:x,queryParams:l,fragment:c,routeConfig:p,url:g,outlet:v,title:P}));if(j instanceof mr)throw new Od(j);e=j}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,n);if(e[0]==="/")throw new Od(s);return s}applyRedirectCreateUrlTree(i,e,n,o){let r=this.createSegmentGroup(i,e.root,n,o);return new mr(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let n={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let a=r.substring(1);n[o]=e[a]}else n[o]=r}),n}createSegmentGroup(i,e,n,o){let r=this.createSegments(i,e.segments,n,o),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(i,l,n,o)}),new bt(r,s)}createSegments(i,e,n,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,n))}findPosParam(i,e,n){let o=n[e.path.substring(1)];if(!o)throw new ne(4001,!1);return o}findOrReturn(i,e){let n=0;for(let o of e){if(o.path===i.path)return e.splice(n),o;n++}return i}},Ib={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function T7(t,i,e,n,o){let r=CM(t,i,e);return r.matched?(n=K$(i,n),E7(n,i,e,o).pipe(z(s=>s===!0?r:k({},Ib)))):Y(r)}function CM(t,i,e){if(i.path==="**")return D7(e);if(i.path==="")return i.pathMatch==="full"&&(t.hasChildren()||e.length>0)?k({},Ib):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||w$)(e,t,i);if(!o)return k({},Ib);let r={};Object.entries(o.posParams??{}).forEach(([a,l])=>{r[a]=l.path});let s=o.consumed.length>0?k(k({},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 D7(t){return{matched:!0,parameters:t.length>0?eM(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function QO(t,i,e,n){return e.length>0&&R7(t,e,n)?{segmentGroup:new bt(i,M7(n,new bt(e,t.children))),slicedSegments:[]}:e.length===0&&P7(t,e,n)?{segmentGroup:new bt(t.segments,O7(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new bt(t.segments,t.children),slicedSegments:e}}function O7(t,i,e,n){let o={};for(let r of e)if(rm(t,i,r)&&!n[po(r)]){let s=new bt([],{});o[po(r)]=s}return k(k({},n),o)}function M7(t,i){let e={};e[Ze]=i;for(let n of t)if(n.path===""&&po(n)!==Ze){let o=new bt([],{});e[po(n)]=o}return e}function R7(t,i,e){return e.some(n=>rm(t,i,n)&&po(n)!==Ze)}function P7(t,i,e){return e.some(n=>rm(t,i,n))}function rm(t,i,e){return(t.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function k7(t,i,e){return i.length===0&&!t.children[e]}var Sb=class{};function A7(t,i,e,n,o,r,s="emptyOnly"){return new Tb(t,i,e,n,o,s,r).recognize()}var N7=31,Tb=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,n,o,r,s,a){this.injector=i,this.configLoader=e,this.rootComponentType=n,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Eb(this.urlSerializer,this.urlTree)}noMatchError(i){return new ne(4002,`'${i.segmentGroup}'`)}recognize(){let i=QO(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(i).pipe(z(({children:e,rootSnapshot:n})=>{let o=new Ci(n,e),r=new Xf("",o),s=$$(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),{state:r,tree:s}}))}match(i){let e=new Dl([],Object.freeze({}),Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Ze,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,i,Ze,e).pipe(z(n=>({children:n,rootSnapshot:e})),ct(n=>{if(n instanceof Od)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Dd?this.noMatchError(n):n}))}processSegmentGroup(i,e,n,o,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(i,e,n,r):this.processSegment(i,e,n,n.segments,o,!0,r).pipe(z(s=>s instanceof Ci?[s]:[]))}processChildren(i,e,n,o){let r=[];for(let s of Object.keys(n.children))s==="primary"?r.unshift(s):r.push(s);return Pe(r).pipe(Hi(s=>{let a=n.children[s],l=Q$(e,s);return this.processSegmentGroup(i,l,a,s,o)}),Ig((s,a)=>(s.push(...a),s)),zi(null),xg(),pe(s=>{if(s===null)return Il(n);let a=wM(s);return F7(a),Y(a)}))}processSegment(i,e,n,o,r,s,a){return Pe(e).pipe(Hi(l=>this.processSegmentAgainstRoute(l._injector??i,e,l,n,o,r,s,a).pipe(ct(c=>{if(c instanceof Dd)return Y(null);throw c}))),Go(l=>!!l),ct(l=>{if(vM(l))return k7(n,o,r)?Y(new Sb):Il(n);throw l}))}processSegmentAgainstRoute(i,e,n,o,r,s,a,l){return po(n)!==s&&(s===Ze||!rm(o,r,n))?Il(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(i,o,n,r,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(i,o,e,n,r,s,l):Il(o)}expandSegmentAgainstRouteUsingRedirect(i,e,n,o,r,s,a){let{matched:l,parameters:c,consumedSegments:p,positionalParamSegments:g,remainingSegments:v}=CM(e,o,r);if(!l)return Il(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>N7&&(this.allowRedirects=!1));let y=new Dl(r,c,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,YO(o),po(o),o.component??o._loadedComponent??null,o,ZO(o)),x=Jf(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(x.params),y.data=Object.freeze(x.data);let P=this.applyRedirects.applyRedirectCommands(p,o.redirectTo,g,y,i);return this.applyRedirects.lineralizeSegments(o,P).pipe(pe(j=>this.processSegment(i,n,e,j.concat(v),s,!1,a)))}matchSegmentAgainstRoute(i,e,n,o,r,s){let a=T7(e,n,o,i,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(He(l=>l.matched?(i=n._injector??i,this.getChildConfig(i,n,o).pipe(He(({routes:c})=>{let p=n._loadedInjector??i,{parameters:g,consumedSegments:v,remainingSegments:y}=l,x=new Dl(v,g,Object.freeze(k({},this.urlTree.queryParams)),this.urlTree.fragment,YO(n),po(n),n.component??n._loadedComponent??null,n,ZO(n)),P=Jf(x,s,this.paramsInheritanceStrategy);x.params=Object.freeze(P.params),x.data=Object.freeze(P.data);let{segmentGroup:j,slicedSegments:q}=QO(e,v,y,c);if(q.length===0&&j.hasChildren())return this.processChildren(p,c,j,x).pipe(z(Oe=>new Ci(x,Oe)));if(c.length===0&&q.length===0)return Y(new Ci(x,[]));let ie=po(n)===r;return this.processSegment(p,c,j,q,ie?Ze:r,!0,x).pipe(z(Oe=>new Ci(x,Oe instanceof Ci?[Oe]:[])))}))):Il(e)))}getChildConfig(i,e,n){return e.children?Y({routes:e.children,injector:i}):e.loadChildren?e._loadedRoutes!==void 0?Y({routes:e._loadedRoutes,injector:e._loadedInjector}):x7(i,e,n,this.urlSerializer).pipe(pe(o=>o?this.configLoader.loadChildren(i,e).pipe(be(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):S7(e))):Y({routes:[],injector:i})}};function F7(t){t.sort((i,e)=>i.value.outlet===Ze?-1:e.value.outlet===Ze?1:i.value.outlet.localeCompare(e.value.outlet))}function L7(t){let i=t.value.routeConfig;return i&&i.path===""}function wM(t){let i=[],e=new Set;for(let n of t){if(!L7(n)){i.push(n);continue}let o=i.find(r=>n.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...n.children),e.add(o)):i.push(n)}for(let n of e){let o=wM(n.children);i.push(new Ci(n.value,o))}return i.filter(n=>!e.has(n))}function YO(t){return t.data||{}}function ZO(t){return t.resolve||{}}function V7(t,i,e,n,o,r){return pe(s=>A7(t,i,e,n,s.extractedUrl,o,r).pipe(z(({state:a,tree:l})=>Ce(k({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function B7(t,i){return pe(e=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=e;if(!o.length)return Y(e);let r=new Set(o.map(l=>l.route)),s=new Set;for(let l of r)if(!s.has(l))for(let c of xM(l))s.add(c);let a=0;return Pe(s).pipe(Hi(l=>r.has(l)?j7(l,n,t,i):(l.data=Jf(l,l.parent,t).resolve,Y(void 0))),be(()=>a++),Ca(1),pe(l=>a===s.size?Y(e):ft))})}function xM(t){let i=t.children.map(e=>xM(e)).flat();return[t,...i]}function j7(t,i,e,n){let o=t.routeConfig,r=t._resolve;return o?.title!==void 0&&!mM(o)&&(r[Md]=o.title),$7(r,t,i,n).pipe(z(s=>(t._resolvedData=s,t.data=Jf(t,t.parent,e).resolve,null)))}function $7(t,i,e,n){let o=ob(t);if(o.length===0)return Y({});let r={};return Pe(o).pipe(pe(s=>H7(t[s],i,e,n).pipe(Go(),be(a=>{if(a instanceof Td)throw em(new Rl,a);r[s]=a}))),Ca(1),z(()=>r),ct(s=>vM(s)?ft:va(s)))}function H7(t,i,e,n){let o=Pd(i)??n,r=Al(t,o),s=r.resolve?r.resolve(i,e):Xn(o,()=>r(i,e));return Yr(s)}function nb(t){return He(i=>{let e=t(i);return e?Pe(e).pipe(z(()=>i)):Y(i)})}var EM=(()=>{class t{buildTitle(e){let n,o=e.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(r=>r.outlet===Ze);return n}getResolvedTitleForRoute(e){return e.data[Md]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(z7),providedIn:"root"})}return t})(),z7=(()=>{class t extends EM{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(L(WT))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nd=new M("",{providedIn:"root",factory:()=>({})}),U7=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,o){n&1&&w(0,"router-outlet")},dependencies:[J$],encapsulation:2})}return t})();function Mb(t){let i=t.children&&t.children.map(Mb),e=i?Ce(k({},t),{children:i}):k({},t);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==Ze&&(e.component=U7),e}var nm=new M(""),Rb=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C(Rh);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Y(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=Yr(e.loadComponent()).pipe(z(IM),be(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),oi(()=>{this.componentLoaders.delete(e)})),o=new ha(n,()=>new K).pipe(pa());return this.componentLoaders.set(e,o),o}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Y({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let r=G7(n,this.compiler,e,this.onLoadEndListener).pipe(oi(()=>{this.childrenLoaders.delete(n)})),s=new ha(r,()=>new K).pipe(pa());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function G7(t,i,e,n){return Yr(t.loadChildren()).pipe(z(IM),pe(o=>o instanceof ly||Array.isArray(o)?Y(o):Pe(i.compileModuleAsync(o))),z(o=>{n&&n(t);let r,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(r=o.create(e).injector,s=r.get(nm,[],{optional:!0,self:!0}).flat()),{routes:s.map(Mb),injector:r}}))}function W7(t){return t&&typeof t=="object"&&"default"in t}function IM(t){return W7(t)?t.default:t}var Pb=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(q7),providedIn:"root"})}return t})(),q7=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),SM=new M(""),TM=new M("");function K7(t,i,e){let n=t.get(TM),o=t.get(De);return t.get(ue).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let r,s=new Promise(c=>{r=c}),a=o.startViewTransition(()=>(r(),Q7(t))),{onViewTransitionCreated:l}=n;return l&&Xn(t,()=>l({transition:a,from:i,to:e})),s})}function Q7(t){return new Promise(i=>{On({read:()=>setTimeout(i)},{injector:t})})}var DM=new M(""),kb=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new K;transitionAbortSubject=new K;configLoader=C(Rb);environmentInjector=C(Lt);destroyRef=C(Sr);urlSerializer=C(Rd);rootContexts=C(kd);location=C(Ri);inputBindingEnabled=C(om,{optional:!0})!==null;titleStrategy=C(EM);options=C(Nd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=C(Pb);createViewTransition=C(SM,{optional:!0});navigationErrorHandler=C(DM,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Y(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new pb(o)),n=o=>this.events.next(new hb(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(Ce(k({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(e){return this.transitions=new Ft(null),this.transitions.pipe(de(n=>n!==null),He(n=>{let o=!1,r=!1;return Y(n).pipe(He(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",wi.SupersededByNewNavigation),ft;this.currentTransition=n,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?Ce(k({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&l!=="reload"){let c="";return this.events.next(new Qr(s.id,this.urlSerializer.serialize(s.rawUrl),c,qf.IgnoredSameUrlNavigation)),s.resolve(!1),ft}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Y(s).pipe(He(c=>(this.events.next(new Kr(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ft:Promise.resolve(c))),V7(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),be(c=>{n.targetSnapshot=c.targetSnapshot,n.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=Ce(k({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let p=new Kf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:p,source:g,restoredState:v,extras:y}=s,x=new Kr(c,this.urlSerializer.serialize(p),g,v);this.events.next(x);let P=hM(this.rootComponentType).snapshot;return this.currentTransition=n=Ce(k({},s),{targetSnapshot:P,urlAfterRedirects:p,extras:Ce(k({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,Y(n)}else{let c="";return this.events.next(new Qr(s.id,this.urlSerializer.serialize(s.extractedUrl),c,qf.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ft}}),be(s=>{let a=new lb(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),z(s=>(this.currentTransition=n=Ce(k({},s),{guards:o7(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n)),m7(this.environmentInjector,s=>this.events.next(s)),be(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw em(this.urlSerializer,s.guardsResult);let a=new cb(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),de(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",wi.GuardRejected),!1)),nb(s=>{if(s.guards.canActivateChecks.length!==0)return Y(s).pipe(be(a=>{let l=new db(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),He(a=>{let l=!1;return Y(a).pipe(B7(this.paramsInheritanceStrategy,this.environmentInjector),be({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(a,"",wi.NoDataFromResolver)}}))}),be(a=>{let l=new ub(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),nb(s=>{let a=l=>{let c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(be(p=>{l.component=p}),z(()=>{})));for(let p of l.children)c.push(...a(p));return c};return Kn(a(s.targetSnapshot.root)).pipe(zi(null),xt(1))}),nb(()=>this.afterPreactivation()),He(()=>{let{currentSnapshot:s,targetSnapshot:a}=n,l=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return l?Pe(l).pipe(z(()=>n)):Y(n)}),z(s=>{let a=X$(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=n=Ce(k({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n}),be(()=>{this.events.next(new Id)}),i7(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),xt(1),be({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Li(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),ke(this.transitionAbortSubject.pipe(be(s=>{throw s}))),oi(()=>{!o&&!r&&this.cancelNavigationTransition(n,"",wi.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),ct(s=>{if(this.destroyed)return n.resolve(!1),ft;if(r=!0,yM(s))this.events.next(new fr(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),n7(s)?this.events.next(new Pl(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let a=new Ed(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let l=Xn(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(l instanceof Td){let{message:c,cancellationCode:p}=em(this.urlSerializer,l);this.events.next(new fr(n.id,this.urlSerializer.serialize(n.extractedUrl),c,p)),this.events.next(new Pl(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(l){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(l)}}return ft}))}))}cancelNavigationTransition(e,n,o){let r=new fr(e.id,this.urlSerializer.serialize(e.extractedUrl),n,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Y7(t){return t!==Uf}var Z7=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(J7),providedIn:"root"})}return t})(),Db=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}},J7=(()=>{class t extends Db{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OM=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:()=>C(X7),providedIn:"root"})}return t})(),X7=(()=>{class t extends OM{location=C(Ri);urlSerializer=C(Rd);options=C(Nd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=C(Pb);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new mr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=hM(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof Kr)this.stateMemento=this.createStateMemento();else if(e instanceof Qr)this.rawUrlTree=n.initialUrl;else if(e instanceof Kf){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??o,n)}}else e instanceof Id?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof fr&&(e.code===wi.GuardRejected||e.code===wi.NoDataFromResolver)?this.restoreHistory(n):e instanceof Ed?this.restoreHistory(n,!0):e instanceof Li&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let o=e instanceof mr?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let r=this.browserPageId,s=k(k({},n.extras.state),this.generateNgRouterState(n.id,r));this.location.replaceState(o,"",s)}else{let r=k(k({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",r)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&r===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&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,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MM(t,i){t.events.pipe(de(e=>e instanceof Li||e instanceof fr||e instanceof Ed||e instanceof Qr),z(e=>e instanceof Li||e instanceof Qr?0:(e instanceof fr?e.code===wi.Redirect||e.code===wi.SupersededByNewNavigation:!1)?2:1),de(e=>e!==2),xt(1)).subscribe(()=>{i()})}var eH={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tH={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ut=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=C(py);stateManager=C(OM);options=C(Nd,{optional:!0})||{};pendingTasks=C(Zi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=C(kb);urlSerializer=C(Rd);location=C(Ri);urlHandlingStrategy=C(Pb);_events=new K;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=C(Z7);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=C(nm,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!C(om,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new rt;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(n,r),n instanceof fr&&n.code!==wi.Redirect&&n.code!==wi.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Li)this.navigated=!0;else if(n instanceof Pl){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l=k({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Y7(o.source)},s);this.scheduleNavigation(a,Uf,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}iH(n)&&this._events.next(n)}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),Uf,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,o){let r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let l=k({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(r.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,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(Mb),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=n,c=l?this.currentUrlTree.fragment:s,p=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":p=k(k({},this.currentUrlTree.queryParams),r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}p!==null&&(p=this.removeEmptyProps(p));let g;try{let v=o?o.snapshot:this.routerState.snapshot.root;g=cM(v)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),g=this.currentUrlTree.root}return dM(g,e,p,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let o=$s(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Uf,null,n)}navigate(e,n={skipLocationChange:!1}){return nH(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let o;if(n===!0?o=k({},eH):n===!1?o=k({},tH):o=n,$s(e))return UO(this.currentUrlTree,e,o);let r=this.parseUrl(e);return UO(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((n,[o,r])=>(r!=null&&(n[o]=r),n),{})}scheduleNavigation(e,n,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((g,v)=>{a=g,l=v});let p=this.pendingTasks.add();return MM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(g=>Promise.reject(g))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nH(t){for(let i=0;i{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new K;constructor(e,n,o,r,s,a){this.router=e,this.route=n,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Li&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):($s(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,o,r,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||o||r||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:aI(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let o=this.renderer,r=this.el.nativeElement;n!==null?o.setAttribute(r,e,n):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:$s(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(b(ut),b(zt),rh("tabindex"),b(wt),b(ye),b(rr))};static \u0275dir=te({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&R("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&N("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",H],skipLocationChange:[2,"skipLocationChange","skipLocationChange",H],replaceUrl:[2,"replaceUrl","replaceUrl",H],routerLink:"routerLink"},features:[Ke]})}return t})();var im=class{},Mye=(()=>{class t{preload(e,n){return n().pipe(ct(()=>Y(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oH=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(de(e=>e instanceof Li),Hi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let o=[];for(let r of n){r.providers&&!r._injector&&(r._injector=Fc(r.providers,e,`Route: ${r.path}`));let s=r._injector??e,a=r._loadedInjector??s;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(s,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return Pe(o).pipe(yr())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(e,n):o=Y(null);let r=o.pipe(pe(s=>s===null?Y(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return Pe([r,s]).pipe(yr())}else return r})}static \u0275fac=function(n){return new(n||t)(L(ut),L(Rh),L(Lt),L(im),L(Rb))};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RM=new M(""),rH=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,o,r,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=o,this.zone=r,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Kr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Li?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Qr&&e.code===qf.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Qf&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qf(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){GI()};static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();function sH(t){return t.routerState.root}function Fd(t,i){return{\u0275kind:t,\u0275providers:i}}function aH(){let t=C(Qe);return i=>{let e=t.get(Qt);if(i!==e.components[0])return;let n=t.get(ut),o=t.get(PM);t.get(Ab)===1&&n.initialNavigation(),t.get(kM,null,et.Optional)?.setUpPreloading(),t.get(RM,null,et.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var PM=new M("",{factory:()=>new K}),Ab=new M("",{providedIn:"root",factory:()=>1});function lH(){return Fd(2,[{provide:Ab,useValue:0},{provide:Bc,multi:!0,deps:[Qe],useFactory:i=>{let e=i.get(aT,Promise.resolve());return()=>e.then(()=>new Promise(n=>{let o=i.get(ut),r=i.get(PM);MM(o,()=>{n(!0)}),i.get(kb).afterPreactivation=()=>(n(!0),r.closed?Y(void 0):r),o.initialNavigation()}))}}])}function cH(){return Fd(3,[{provide:Bc,multi:!0,useFactory:()=>{let i=C(ut);return()=>{i.setUpLocationChangeListener()}}},{provide:Ab,useValue:2}])}var kM=new M("");function dH(t){return Fd(0,[{provide:kM,useExisting:oH},{provide:im,useExisting:t}])}function uH(){return Fd(8,[KO,{provide:om,useExisting:KO}])}function pH(t){let i=[{provide:SM,useValue:K7},{provide:TM,useValue:k({skipNextTransition:!!t?.skipInitialTransition},t)}];return Fd(9,i)}var hH=[Ri,{provide:Rd,useClass:Rl},ut,kd,{provide:zt,useFactory:sH,deps:[ut]},Rb,[]],AM=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[hH,[],{provide:nm,multi:!0,useValue:e},[],n?.errorHandler?{provide:DM,useValue:n.errorHandler}:[],{provide:Nd,useValue:n||{}},n?.useHash?mH():gH(),fH(),n?.preloadingStrategy?dH(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?_H(n):[],n?.bindToComponentInputs?uH().\u0275providers:[],n?.enableViewTransitions?pH().\u0275providers:[],yH()]}}static forChild(e){return{ngModule:t,providers:[{provide:nm,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();function fH(){return{provide:RM,useFactory:()=>{let t=C(Qh),i=C(ue),e=C(Nd),n=C(kb),o=C(Rd);return e.scrollOffset&&t.setOffset(e.scrollOffset),new rH(o,n,t,i,e)}}}function mH(){return{provide:rr,useClass:cT}}function gH(){return{provide:rr,useClass:By}}function _H(t){return[t.initialNavigation==="disabled"?cH().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lH().\u0275providers:[]]}var JO=new M("");function yH(){return[{provide:JO,useFactory:aH},{provide:Or,multi:!0,useExisting:JO}]}var NM=class{constructor(i){this.error=i,this.name="ReauthorizingError",this.message=i.message}},Vi=new M("AuthService"),kye=new M("SupportedLanguages"),FM=class{constructor(i){this.message=i}};var vH=new M("JWT_OPTIONS"),sm=(()=>{class t{constructor(e=null){this.tokenGetter=e&&e.tokenGetter||function(){}}urlBase64Decode(e){let n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:{n+="==";break}case 3:{n+="=";break}default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(n)}b64decode(e){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="";if(e=String(e).replace(/=+$/,""),e.length%4===1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let r=0,s,a,l=0;a=e.charAt(l++);~a&&(s=r%4?s*64+a:a,r++%4)?o+=String.fromCharCode(255&s>>(-2*r&6)):0)a=n.indexOf(a);return o}b64DecodeUnicode(e){return decodeURIComponent(Array.prototype.map.call(this.b64decode(e),n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(e=this.tokenGetter()){return e instanceof Promise?e.then(n=>this._decodeToken(n)):this._decodeToken(e)}_decodeToken(e){if(!e||e==="")return null;let n=e.split(".");if(n.length!==3)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.");let o=this.urlBase64Decode(n[1]);if(!o)throw new Error("Cannot decode the token.");return JSON.parse(o)}getTokenExpirationDate(e=this.tokenGetter()){return e instanceof Promise?e.then(n=>this._getTokenExpirationDate(n)):this._getTokenExpirationDate(e)}_getTokenExpirationDate(e){let n;if(n=this.decodeToken(e),!n||!n.hasOwnProperty("exp"))return null;let o=new Date(0);return o.setUTCSeconds(n.exp),o}isTokenExpired(e=this.tokenGetter(),n){return e instanceof Promise?e.then(o=>this._isTokenExpired(o,n)):this._isTokenExpired(e,n)}_isTokenExpired(e,n){if(!e||e==="")return!0;let o=this.getTokenExpirationDate(e);return n=n||0,o===null?!1:!(o.valueOf()>new Date().valueOf()+n*1e3)}getAuthScheme(e,n){return typeof e=="function"?e(n):e}}return t.\u0275fac=function(e){return new(e||t)(L(vH))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();var Nl=(()=>{class t{constructor(e,n,o,r,s){this.element=e,this.templateRef=n,this.viewContainer=o,this.jwtHelperService=r,this.authService=s,this.currentUserSysPermissions=[],this.currentUserTenancyPermissions={},this.permissions=[],this._operator="or"}ngOnInit(){this.permissionSubscription=this.authService.getAccessToken().pipe(z(e=>this.jwtHelperService.decodeToken(e||""))).subscribe(e=>{this.currentUserSysPermissions=e.authorities||[],this.currentUserTenancyPermissions=e.tenancies_authorities||{},this.updateView()})}ngOnDestroy(){this.permissionSubscription&&this.permissionSubscription.unsubscribe()}set hasPermission(e){this.permissions=e,this.updateView()}set operator(e){this._operator=e}set tenancy(e){this._tenancy=e}updateView(){this.checkPermission()?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}checkPermission(){let e=!1;return this._operator==="or"||this._operator==null?e=this.permissions.some(n=>this.checkSysPermission(n)||this.checkShopPermission(n)):this._operator==="and"?e=this.permissions.every(n=>this.checkSysPermission(n)||this.checkShopPermission(n)):this._operator==="not"&&(e=this.permissions.every(n=>!this.checkSysPermission(n)&&!this.checkShopPermission(n))),e}checkShopPermission(e){return this._tenancy==="any"?this.currentUserTenancyPermissions.hasOwnProperty(e):this._tenancy?this._tenancy==="sys"?!1:this.currentUserTenancyPermissions.hasOwnProperty(e)&&this.currentUserTenancyPermissions[e].filter(n=>n===this._tenancy).length>0:this.currentUserSysPermissions.includes(e)||this.currentUserTenancyPermissions.hasOwnProperty(e)}checkSysPermission(e){return this._tenancy==="sys"?this.currentUserSysPermissions.includes(e):!1}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(Tt),b(cn),b(sm),b(Vi))}}static{this.\u0275dir=te({type:t,selectors:[["","hasPermission",""]],inputs:{hasPermission:"hasPermission",operator:[0,"hasPermissionOperator","operator"],tenancy:[0,"hasPermissionTenancy","tenancy"]},standalone:!1})}}return t})();var Fl=(t,i)=>({"small-btn":t,"big-btn":i}),LM=t=>({quantity:t}),VM=()=>["/contact-us"];function bH(t,i){if(t&1&&(h(0,"span"),E(1),I(2,"translate"),f()),t&2){let e=m(3);d(),oe(" ",Pt(2,1,"PRODUCT.QTY_BTN_LABEL",ce(4,LM,e.quantity))," ")}}function CH(t,i){if(t&1){let e=U();h(0,"div")(1,"button",6),R("click",function(){D(e);let o=m(2);return O(o.addToCart())}),_(2,bH,3,6,"span",4),f()()}if(t&2){let e=m(2),n=ge(3);d(),u("hidden",!e.isVisible)("ngClass",Ge(4,Fl,!e.big,e.big)),d(),u("ngIf",e.enableQtyInLabel)("ngIfElse",n)}}function wH(t,i){t&1&&le(0)}function xH(t,i){if(t&1&&(h(0,"a",10),_(1,wH,1,0,"ng-container",11),f()),t&2){let e=m(3),n=ge(5);u("routerLink",Ht(4,VM))("state",e.inquiryContact.contact)("ngClass",Ge(5,Fl,!e.big,e.big)),d(),u("ngTemplateOutlet",n)}}function EH(t,i){t&1&&le(0)}function IH(t,i){if(t&1&&(h(0,"a",12),_(1,EH,1,0,"ng-container",11),f()),t&2){let e=m(3),n=ge(5);u("href",e.inquiryContact.mailTo,ze)("ngClass",Ge(3,Fl,!e.big,e.big)),d(),u("ngTemplateOutlet",n)}}function SH(t,i){if(t&1&&(h(0,"div",7),_(1,xH,2,8,"a",8)(2,IH,2,6,"a",9),f()),t&2){let e=m(2);d(),u("ngIf",e.isContactFormEnabled&&e.inquiryContact),d(),u("ngIf",!e.isContactFormEnabled)}}function TH(t,i){if(t&1&&(h(0,"div"),_(1,CH,3,7,"div",4)(2,SH,3,2,"div",5),f()),t&2){let e=m(),n=ge(7);d(),u("ngIf",!e.b2bPermissionCheckedToken)("ngIfElse",n),d(),u("ngIf",e.isInOrSgOrUsaOrItOrEs&&e.clickFrom===e.productCardEnhancedLabel)}}function DH(t,i){t&1&&le(0)}function OH(t,i){if(t&1&&(h(0,"a",10),_(1,DH,1,0,"ng-container",11),f()),t&2){let e=m(2),n=ge(5);u("routerLink",Ht(4,VM))("state",e.inquiryContact.contact)("ngClass",Ge(5,Fl,!e.big,e.big)),d(),u("ngTemplateOutlet",n)}}function MH(t,i){t&1&&le(0)}function RH(t,i){if(t&1&&(h(0,"a",12),_(1,MH,1,0,"ng-container",11),f()),t&2){let e=m(2),n=ge(5);u("href",e.inquiryContact.mailTo,ze)("ngClass",Ge(3,Fl,!e.big,e.big)),d(),u("ngTemplateOutlet",n)}}function PH(t,i){if(t&1&&(h(0,"div"),_(1,OH,2,8,"a",8)(2,RH,2,6,"a",9),f()),t&2){let e=m();d(),u("ngIf",e.isContactFormEnabled&&e.inquiryContact),d(),u("ngIf",!e.isContactFormEnabled)}}function kH(t,i){t&1&&(E(0),I(1,"translate")),t&2&&oe(" ",T(1,1,"PRODUCT.ADD_TO_CART_BUTTON"),` `)}function AH(t,i){t&1&&(h(0,"span",14),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"PRODUCT.INQUIRY_BUTTON")))}function NH(t,i){t&1&&(h(0,"span",14),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"PRODUCT.INQUIRY_BUTTON_SMALL")))}function FH(t,i){if(t&1&&_(0,AH,3,3,"span",13)(1,NH,3,3,"span",13),t&2){let e=m();u("ngIf",e.big),d(),u("ngIf",!e.big)}}function LH(t,i){if(t&1&&(h(0,"span"),E(1),I(2,"translate"),f()),t&2){let e=m(3);d(),oe(" ",Pt(2,1,"PRODUCT.QTY_BTN_LABEL",ce(4,LM,e.quantity))," ")}}function VH(t,i){if(t&1){let e=U();h(0,"div")(1,"button",6),R("click",function(){D(e);let o=m(2);return O(o.addToCart())}),_(2,LH,3,6,"span",4),f()()}if(t&2){let e=m(2),n=ge(3);d(),u("hidden",!e.isVisible)("ngClass",Ge(4,Fl,!e.big,e.big)),d(),u("ngIf",e.enableQtyInLabel)("ngIfElse",n)}}function BH(t,i){if(t&1&&_(0,VH,3,7,"div",15),t&2){let e=m();u("hasPermission",e.CART_WRITE_PERMISSION)}}var jH=new M("addToCartButtonAlwaysVisible"),$H=new M("contactFormEnabled"),HH="SHOW_INQUIRE_STATUS",zH="INQUIRE_STATUS_EMAIL",UH=new M("B2B_PERMISSION_ADD_TO_CART_CHECKED_TOKEN"),Hs=(()=>{class t{constructor(e,n=!1,o=!1,r,s,a,l,c){this.cartManagementService=e,this.isAlwaysVisible=n,this.contactFormEnabled=o,this.shopService=r,this.translate=s,this.enhancedEcommerceService=a,this.domainService=l,this.b2bPermissionCheckedToken=c,this.destroySubject=new K,this.big=!1,this.quantity=1,this.enableQtyInLabel=!1,this.isVisible=!1,this.isContactFormEnabled=!1,this.showInquire=!1,this.isInOrSgOrUsaOrItOrEs=this.domainService.isIndia()||this.domainService.isSingapore()||this.domainService.isUsa()||this.domainService.isItalian()||this.domainService.isChile()||this.domainService.isGerman()||this.domainService.isMexican(),this.productCardEnhancedLabel=$O,this.CART_WRITE_PERMISSION=Vf,this.isContactFormEnabled=o}ngOnInit(){}set product(e){this._product=e,this.showInquire=!1,this.isVisible=!1,this.isAlwaysVisible?this.isVisible=!0:(this.isVisible=[Ni.STATUS_AVAILABLE,Ni.STATUS_FEW].indexOf(this._product.availability)>=0&&this._product.inStock||Ni.STATUS_BACKORDER===this._product.availability,this._product.availability===Ni.STATUS_UNAVAILABLE&&(this.showInquire=!0),this.shouldInquiryButtonBeVisible().subscribe(n=>{this.showInquire=this.showInquire,this.inquiryContact=n}))}shouldInquiryButtonBeVisible(){return Kn(this.shopService.getShopAttribute(HH).pipe(z(e=>e==="true")),this.shopService.getShopAttribute(zH),this.translate.get(["PRODUCT.INQUIRY_MAIL.SUBJECT","PRODUCT.INQUIRY_MAIL.BODY"])).pipe(ke(this.destroySubject),de(([e])=>e),z(([,e,n])=>{let o=n["PRODUCT.INQUIRY_MAIL.SUBJECT"],r=n["PRODUCT.INQUIRY_MAIL.BODY"];return o=encodeURIComponent(o),r=encodeURIComponent(r+this._product.manufacturerCode),{mailTo:"mailto:"+e+"?subject="+o+"&body="+r,contact:{email:"",subject:o,message:r}}}))}addToCart(){this.cartManagementService.addToCart(this._product.defaultSkuCode,this.quantity),this.enhancedEcommerceService.sendAddProductToCart(this._product,this.quantity,this.clickFrom)}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(qr),b(jH),b($H),b(Gr),b(Hn),b(ko),b(Wr),b(UH,8))}}static{this.\u0275cmp=A({type:t,selectors:[["add-to-cart-button"]],inputs:{big:"big",quantity:"quantity",clickFrom:"clickFrom",enableQtyInLabel:"enableQtyInLabel",product:"product"},standalone:!1,decls:8,vars:2,consts:[["addToCartLabel",""],["inquiryButtonLabel",""],["b2bPermissionCheck",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["class","mt-2",4,"ngIf"],["type","button",1,"btn","btn-primary","base-button",3,"click","hidden","ngClass"],[1,"mt-2"],["class","btn btn-inquire",3,"routerLink","state","ngClass",4,"ngIf"],["class","btn btn-inquire",3,"href","ngClass",4,"ngIf"],[1,"btn","btn-inquire",3,"routerLink","state","ngClass"],[4,"ngTemplateOutlet"],[1,"btn","btn-inquire",3,"href","ngClass"],["class","button-label",4,"ngIf"],[1,"button-label"],[4,"hasPermission"]],template:function(n,o){n&1&&_(0,TH,3,3,"div",3)(1,PH,3,2,"div",3)(2,kH,2,3,"ng-template",null,0,we)(4,FH,2,2,"ng-template",null,1,we)(6,BH,1,1,"ng-template",null,2,we),n&2&&(u("ngIf",!o.showInquire),d(),u("ngIf",o.showInquire))},dependencies:[_t,ee,vt,qt,Nl,Le],styles:[".base-button[_ngcontent-%COMP%]{font-weight:700}.btn[_ngcontent-%COMP%]:active{background-color:#003463}.small-btn[_ngcontent-%COMP%]{width:100%;height:32px;font-size:12px;text-align:center;margin-bottom:unset;color:#fff}.big-btn[_ngcontent-%COMP%]{width:100%;height:42px;font-size:14px;text-align:center;margin-bottom:unset;color:#fff}.btn-shadow[_ngcontent-%COMP%]{box-shadow:0 13px 16px -9px #0084ff96}.btn-inquire[_ngcontent-%COMP%]{color:#003463;border-color:#003463;background-color:#fff;border-radius:10em;position:relative;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;height:auto}.btn-inquire.big-btn[_ngcontent-%COMP%]{display:flex;flex-direction:column}.btn-inquire.big-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:5px 0}"]})}}return t})();var cve=(()=>{class t{constructor(e,n){this.element=e,this.renderer=n,this.orderStatus=""}changeFontWeight(){this.orderStatus===Yv.WAITING&&(this.renderer.removeStyle(this.element.nativeElement,"font-weight"),this.renderer.setStyle(this.element.nativeElement,"font-weight","700"))}ngOnInit(){this.changeFontWeight()}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(wt))}}static{this.\u0275dir=te({type:t,selectors:[["","orderStatus",""]],inputs:{orderStatus:"orderStatus"},standalone:!1})}}return t})();var GH=["amountInput"],Fb=999,vve=(()=>{class t{set initialAmount(e){e!==null&&e!==this._amount&&(this._amount=Math.max(1,Math.min(e,Fb)))}get amount(){return this._amount}set amount(e){e!==null&&e!==this._amount&&(this._amount=Math.max(1,Math.min(e,Fb)),this.debouncer.next(this._amount)),e>Fb&&(this.input.nativeElement.value=this.amount)}constructor(){this._amount=null,this.keepBigButtons=!1,this.amountChange=new F,this.show=!0,this.debouncer=new K,this.debouncer.pipe(mt(200)).subscribe(e=>this.amountChange.emit(e))}ngOnInit(){}decreaseAmount(){this.amount--}increaseAmount(){this.amount++}onFocusOut(){this.input.nativeElement.value=this.amount}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["amount-buttons"]],viewQuery:function(n,o){if(n&1&&ve(GH,5),n&2){let r;G(r=W())&&(o.input=r.first)}},inputs:{keepBigButtons:"keepBigButtons",show:"show",initialAmount:"initialAmount",amount:"amount"},outputs:{amountChange:"amountChange"},standalone:!1,decls:8,vars:11,consts:[["amountInput",""],[1,"box-border","d-flex","flex-row",3,"ngClass"],[1,"btn","button-plus-minus","animated-buttons","border-right","border-left-0","border-top-0","border-bottom-0",3,"click","disabled"],["type","number",1,"amount",3,"ngModelChange","focusout","ngModel","hidden"],["type","number","readonly","",1,"amount",3,"value","hidden"],[1,"btn","button-plus-minus","animated-buttons","border-right-0","border-left","border-top-0","border-bottom-0",3,"click","disabled"]],template:function(n,o){if(n&1){let r=U();h(0,"div",1)(1,"button",2),R("click",function(){return D(r),O(o.decreaseAmount())}),E(2,"-"),f(),h(3,"input",3,0),hn("ngModelChange",function(a){return D(r),Sn(o.amount,a)||(o.amount=a),O(a)}),R("focusout",function(){return D(r),O(o.onFocusOut())}),f(),w(5,"input",4),h(6,"button",5),R("click",function(){return D(r),O(o.increaseAmount())}),E(7,"+"),f()()}n&2&&(u("ngClass",o.show?"":"disabled-box"),d(),tt("big",o.keepBigButtons),u("disabled",!o.show),d(2),pn("ngModel",o.amount),u("hidden",!o.show),d(2),u("value",0)("hidden",o.show),d(),tt("big",o.keepBigButtons),u("disabled",!o.show))},dependencies:[_t,Pi,Rv,Rn,gi],styles:[".box-border[_ngcontent-%COMP%]{border:1px solid #00325F;width:100%}.button-plus-minus[_ngcontent-%COMP%]{border-color:#00325f!important;line-height:22px;padding:0 10px;height:48px;flex-grow:1;min-width:28px}.animated-buttons[_ngcontent-%COMP%]{transition:color .15s ease-in-out,background-color .15s ease-in-out;background-color:#fff;color:#00325f}.animated-buttons[_ngcontent-%COMP%]:hover{background-color:#00325f;color:#fff}.amount[_ngcontent-%COMP%]{text-align:center;border:none;color:#00325f;flex-grow:1;width:inherit;min-width:26px}.big[_ngcontent-%COMP%]{width:auto;height:40px;padding:0 15px}input[_ngcontent-%COMP%]::-webkit-outer-spin-button, input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}table-row[_ngcontent-%COMP%] .box-border[_ngcontent-%COMP%]{height:auto}table-row[_ngcontent-%COMP%] .button-plus-minus[_ngcontent-%COMP%]{display:none}table-row[_ngcontent-%COMP%] .big[_ngcontent-%COMP%]{display:block;height:36px;width:auto;line-height:22px;padding:0 14px}@media (min-width: 1200px){.box-border[_ngcontent-%COMP%]{height:auto}.button-plus-minus[_ngcontent-%COMP%]{display:block;line-height:15px;font-size:12px;padding:0 10px;height:26px}.big[_ngcontent-%COMP%]{height:36px;display:block;width:auto;line-height:22px;padding:0 14px}}.disabled-box[_ngcontent-%COMP%]{opacity:.3;cursor:unset}"]})}}return t})();var lm=new M("NotificationService");var xi=new M("LocaleConfig"),Eve="pl";var BM=class{constructor(i,e=1){this.productModel=i,this.quantity=e}};var cm=class{constructor(i=0,e=0,n=0,o="",r=0,s=null,a=null,l=null,c=null,p=!1,g=1,v=0,y=null){this.totalQuantity=i,this.netPrice=e,this.grossPrice=n,this.currency=o,this.productsCount=r,this.shippingCostNet=s,this.shippingCostGross=a,this.shipmentCode=l,this.couponDiscountGross=c,this.showDelivery=p,this.minLeadTime=g,this.serviceLeadTime=v,this.taxCode=y}};var dm=(()=>{class t{convertToSummary(e){let n=e.shipping.length>0?e.shipping.reduce((a,l)=>a+l.grossPrice,0):null,o=Math.max(0,...e.items.map(a=>Math.max(0,...a.services.filter(l=>l.applied).map(l=>l.leadTime)))),r=Math.max(1,...e.items.filter(a=>a.availableToSellQuantity-a.quantity<0).filter(a=>a.availability===Ni.STATUS_BACKORDER).map(a=>a.leadTime)),s=e.total.saleSubTotal-e.total.subTotal;return new cm(e.items.map(a=>a.quantity).reduce((a,l)=>a+l,0),e.total.subTotal,e.total.subTotalAmount,e.currencyCode,e.items.length,e.shipping.length>0?e.shipping.reduce((a,l)=>a+l.netPrice,0):null,n,e.shipping.length>0?e.shipping[0].productSkuCode:null,s>0?s:null,!e.deliveryPriceNegotiated||n>0,r+o,o,e.total.itemPricing.priceTaxCode)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yn="p",Zr="c";var $M="l",Ll="cart",WH="register",Lb="checkout",qH="account",Ove="address";var Mve="summary",Rve="confirmed",Pve="failed",kve="commit";var um="login",Ave="panel",Nve="customer",Fve="orders",Lve="order";var Vb="content";var Bb="e",Vve=`${Bb}/404`,Bve="unsupported",HM="offer",KH="calculate",QH="prepare",jve=Ll+"/"+HM+"/"+KH,$ve=Ll+"/"+HM+"/"+QH,YH="redirect",Hve="/"+Lb+"/"+qH+"/"+WH+"#"+YH,zve="contact-us";var zM=new M("PlatformStorage");var UM=new M("CartValidation");var No=new M("SpinnerService"),Jve=(()=>{class t{constructor(){this.visibility=new Ft(!1)}get observeVisibility(){return this.visibility.asObservable()}show(){this.visibility.next(!0)}hide(){this.visibility.next(!1)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var ZH=[[["manageCart"]],[["multiCartSelector"]],[["multiCartOptionSelector"]],[["cartList"]],[["cartDeliveryAndPayment"]],[["cartSummary"]]],JH=["manageCart","multiCartSelector","multiCartOptionSelector","cartList","cartDeliveryAndPayment","cartSummary"];function XH(t,i){if(t&1){let e=U();h(0,"div",2)(1,"div",3)(2,"p",4),E(3),I(4,"translate"),I(5,"async"),I(6,"translate"),f(),h(7,"div",5),Ae(8,1),Ae(9,2),f()(),h(10,"div",6),Ae(11,3),f(),h(12,"div",7),Ae(13,4),Ae(14,5),f(),h(15,"div",8)(16,"button",9),R("click",function(){D(e);let o=m();return O(o.goBack())}),h(17,"div",10),w(18,"div",11),E(19),I(20,"translate"),f()(),h(21,"button",12),R("click",function(){D(e);let o=m();return O(o.nextStep())}),h(22,"div",10),E(23),I(24,"translate"),w(25,"div",13),f()()()()}if(t&2){let e=m();d(3),Cy("",T(4,6,"CART.NAME")," (",T(5,8,e.cartTotalQuantity)," ",T(6,10,"CART.QUANTITY"),")"),d(16),oe(" ",T(20,12,"CART.BUTTON_BACK")," "),d(2),N("disabled",e.nextDisabled?e.nextDisabled:void 0),d(2),oe(" ",T(24,14,"CART.BUTTON_NEXT")," ")}}function ez(t,i){t&1&&w(0,"div",2)}var ybe=(()=>{class t{constructor(e,n,o,r,s,a,l,c,p,g){this.cartManagementService=e,this.notificationService=n,this.locale=o,this.location=r,this.router=s,this.cartSummaryConverter=a,this.enhancedEcommerceService=l,this.storage=c,this.cartValidation=p,this.spinnerService=g,this.destroySubject=new K,this.startOrder$=new K,this.validateCart$=new K,this.nextDisabled=!1,this.back=new F,this.navigateToUrl=`/${Lb}`,this.orderHandler(),this.validateCart(),On(()=>{this.cartTotalQuantity=this.cartManagementService.observeCart().pipe(z(v=>{let y=this.cartSummaryConverter.convertToSummary(v);return this.spinnerService.hide(),y.totalQuantity}))})}get nextButtonDisabled(){return this.nextDisabled}set nextButtonDisabled(e){this.nextDisabled=e}ngOnInit(){this.spinnerService.show()}ngOnDestroy(){this.startOrder$.complete(),this.destroySubject.next(),this.destroySubject.complete()}goBack(){this.back.next(null)}nextStep(){this.validateCart$.next(null)}validateCart(){return this.validateCart$.pipe(ke(this.destroySubject),He(()=>Uo(this.cartValidation.getCartValid(),this.cartValidation.getValidatePaymentAndDelivery())),de(([e,n])=>e!=null&&n)).subscribe(()=>{this.startOrder$.next(null)})}orderHandler(){return this.startOrder$.pipe(ke(this.destroySubject),de(()=>!this.nextDisabled),be(()=>this.enhancedEcommerceService.beginCheckout()),pe(()=>Pe(this.router.navigateByUrl(this.navigateToUrl)))).subscribe()}static{this.\u0275fac=function(n){return new(n||t)(b(qr),b(lm),b(xi),b(Ri),b(ut),b(dm),b(ko),b(zM),b(UM),b(No))}}static{this.\u0275cmp=A({type:t,selectors:[["cart"]],inputs:{navigateToUrl:"navigateToUrl",nextButtonDisabled:[0,"next.disabled","nextButtonDisabled"]},outputs:{back:"back"},standalone:!1,ngContentSelectors:JH,decls:6,vars:6,consts:[["container",""],["class","cart-container",4,"ngIf","ngIfElse"],[1,"cart-container"],[1,"d-block","d-md-flex"],[1,"quantity-text","flex-shrink-1"],[1,"d-flex","flex-column","flex-md-row","justify-content-between","flex-fill"],[1,"product-container"],[1,"shipment-payment-summary-container"],[1,"button-section","d-flex","flex-column-reverse","flex-sm-row","justify-content-between"],["type","button",1,"btn","white-button-arrow",3,"click"],[1,"d-inline-flex","align-items-center"],[1,"custom-arrow-left"],["id","toCheckoutButton","type","button",1,"btn","btn-primary","blue-button-arrow","d-inline-block","button-right","mb-2","mb-sm-0",3,"click"],[1,"custom-arrow-right"]],template:function(n,o){if(n&1&&(Xe(ZH),_(0,XH,26,16,"div",1),I(1,"async"),I(2,"async"),_(3,ez,1,0,"ng-template",null,0,we),Ae(5)),n&2){let r=ge(4);u("ngIf",!(typeof T(1,2,o.cartTotalQuantity)!="number"&&T(2,4,o.spinnerService.observeVisibility)==!0))("ngIfElse",r)}},dependencies:[ee,lt,Le],styles:[".cart-container[_ngcontent-%COMP%]{background-color:#f7f7f7;padding-top:40px;margin-bottom:26px;min-height:50vh}.shipment-payment-summary-container[_ngcontent-%COMP%]{display:flex;margin-bottom:26px}.product-container[_ngcontent-%COMP%]{margin-top:24px}.quantity-text[_ngcontent-%COMP%]{color:#16272f;font-family:Poppins,Open Sans,sans-serif;font-weight:700;font-size:28px;line-height:27px;display:inline-block;white-space:nowrap}.summary[_ngcontent-%COMP%]{height:188px;background:#fff;width:100%;justify-content:space-between;display:inline-flex}.check[_ngcontent-%COMP%]{width:13px;height:13px;background:url(/assets/svg/check.svg) no-repeat center;float:left;margin-right:8px}.summary-info[_ngcontent-%COMP%]{margin:49px 40px;color:#16272f;font-family:Poppins,Open Sans,sans-serif;font-weight:300;font-size:14px;line-height:21px;min-width:270px;align-content:space-between;display:grid}.summary-price[_ngcontent-%COMP%]{margin:37px 45px 36px;min-width:270px;float:right;text-align:right;display:grid;align-content:space-between}.info-section[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.left-text[_ngcontent-%COMP%]{float:left;height:100%}.right-text[_ngcontent-%COMP%]{float:right}.bold-text[_ngcontent-%COMP%]{font-weight:600}.final-price[_ngcontent-%COMP%]{margin-left:auto;margin-right:0;font-size:22px;line-height:42px}.button-right[_ngcontent-%COMP%]{float:right}.button-section[_ngcontent-%COMP%]{margin-bottom:26px}.final-price-section[_ngcontent-%COMP%]{align-items:baseline}.blue-button-arrow[_ngcontent-%COMP%], .white-button-arrow[_ngcontent-%COMP%]{width:100%}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed!important;pointer-events:all!important}@media (min-width: 576px){.blue-button-arrow[_ngcontent-%COMP%]{width:unset}.white-button-arrow[_ngcontent-%COMP%]{width:unset;margin-bottom:unset}.final-price[_ngcontent-%COMP%]{font-size:28px}}@media (max-width: 767.98px){div.summary[_ngcontent-%COMP%]{min-height:188px;display:inline-table;line-height:27px}div.summary-info[_ngcontent-%COMP%]{min-height:55px;margin:25px 20px}div.summary-price[_ngcontent-%COMP%]{min-height:100px;float:unset;margin:25px 20px}.shipment-payment-summary-container[_ngcontent-%COMP%]{flex-flow:wrap}}@media (min-width: 768px){div.summary-info[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}div.summary-price[_ngcontent-%COMP%]{min-width:314px;margin-left:20px;margin-right:20px}}@media (min-width: 992px){div.cart-container[_ngcontent-%COMP%]{padding-top:25px}}"]})}}return t})();var GM=new M("CartModelToCartHeaderConverter");function tz(t,i){if(t&1&&(h(0,"p",7),E(1),I(2,"currencySymbol"),f()),t&2){let e=m().ngIf;d(),oe("",Pt(2,1,e.price,e.currency)," ")}}function nz(t,i){if(t&1){let e=U();h(0,"div",3),R("click",function(){D(e);let o=m(2);return O(o.onClick())}),h(1,"div",4)(2,"div",5),E(3),f()(),_(4,tz,3,4,"p",6),f()}if(t&2){let e=i.ngIf;d(2),u("ngClass",e.totalQuantity<10?"product-counter-small":"product-counter-large"),d(),oe(" ",e.totalQuantity," "),d(),u("ngIf",e.price>0)}}function iz(t,i){if(t&1&&(h(0,"div"),_(1,nz,5,3,"div",2),I(2,"async"),f()),t&2){let e=m();d(),u("ngIf",T(2,1,e.cartHeader$))}}function oz(t,i){if(t&1&&(h(0,"p",7),E(1),I(2,"currencySymbol"),f()),t&2){let e=m().ngIf;d(),oe("",Pt(2,1,e.price,e.currency)," ")}}function rz(t,i){if(t&1){let e=U();h(0,"div",3),R("click",function(){D(e);let o=m(3);return O(o.onClick())}),h(1,"div",4)(2,"div",5),E(3),f()(),_(4,oz,3,4,"p",6),f()}if(t&2){let e=i.ngIf;d(2),u("ngClass",e.totalQuantity<10?"product-counter-small":"product-counter-large"),d(),oe(" ",e.totalQuantity," "),d(),u("ngIf",e.price>0)}}function sz(t,i){if(t&1&&(h(0,"div"),_(1,rz,5,3,"div",2),I(2,"async"),f()),t&2){let e=m(2);d(),u("ngIf",T(2,1,e.cartHeader$))}}function az(t,i){if(t&1&&_(0,sz,3,3,"div",8),t&2){let e=m();u("hasPermission",e.CART_READ_PERMISSION)}}var lz=new M("B2B_PERMISSION_CART_CHECKED_TOKEN"),WM=(()=>{class t{constructor(e,n,o,r,s,a){this.router=e,this.locale=o,this.cartSummaryConverter=s,this.b2bPermissionCheckedToken=a,this.CART_READ_PERMISSION=zO,this.cartHeader$=n.observeCart().pipe(z(l=>this.cartSummaryConverter.convertToSummary(l)),z(l=>r.convert(l)))}ngOnInit(){}onClick(){this.router.navigate([Ll])}static{this.\u0275fac=function(n){return new(n||t)(b(ut),b(qr),b(xi),b(GM),b(dm),b(lz,8))}}static{this.\u0275cmp=A({type:t,selectors:[["cart-header-counter"]],standalone:!1,decls:3,vars:2,consts:[["b2bPermissionCheck",""],[4,"ngIf","ngIfElse"],["class","cart-container d-inline-flex text-center",3,"click",4,"ngIf"],[1,"cart-container","d-inline-flex","text-center",3,"click"],[1,"cart-image"],[1,"product-counter",3,"ngClass"],["class","total-price",4,"ngIf"],[1,"total-price"],[4,"hasPermission"]],template:function(n,o){if(n&1&&_(0,iz,3,3,"div",1)(1,az,1,1,"ng-template",null,0,we),n&2){let r=ge(2);u("ngIf",!o.b2bPermissionCheckedToken)("ngIfElse",r)}},dependencies:[_t,ee,Nl,lt,Vs],styles:[".cart-container[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;cursor:pointer;float:right;display:flex}.cart-image[_ngcontent-%COMP%]{height:48px;width:48px;background:url(/assets/svg/cart-icon.svg)}.product-counter[_ngcontent-%COMP%]{float:right;background:#029ef0;min-width:21px;height:21px;color:#fff;line-height:21px}.product-counter-large[_ngcontent-%COMP%]{border-radius:20px;font-weight:400;font-size:12px;padding:0 3px}.product-counter-small[_ngcontent-%COMP%]{border-radius:50%;font-weight:600;font-size:14px}.total-price[_ngcontent-%COMP%]{margin-left:4px;margin-top:auto;margin-bottom:auto;font-weight:500;font-size:14px;line-height:21px;color:#003463;display:none}@media (min-width: 992px){p.total-price[_ngcontent-%COMP%]{display:inline}}"]})}}return t})();var QM=lk(qM());var dz=["*"];function uz(t,i){t&1&&(h(0,"small",15),E(1),I(2,"translate"),f()),t&2&&(d(),oe(" ",T(2,1,"RESET_PASSWORD.INCORRECT_EMAIL")," "))}function pz(t,i){t&1&&(h(0,"small",15),E(1),I(2,"translate"),f()),t&2&&(d(),oe(" ",T(2,1,"RESET_PASSWORD.SOMETHING_WRONG")," "))}function hz(t,i){t&1&&w(0,"span",16)}var fz='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$',KM=(()=>{class t{constructor(e){this.authService=e,this.displayResetPasswordDialog=!1,this.dataLoading=!1,this.somethingWrong=!1,this.showSuccessInfo=!1,this.resetPasswordClick=new K,this.dialogForm=new mi({email:new tn("",[io.required,io.pattern(fz)])},{validators:[mz]})}ngOnInit(){this.resetPasswordSubscription=this.resetPasswordRequest().subscribe()}showResetPasswordDialog(){this.dialogForm.controls.email.setValue(""),this.displayResetPasswordDialog=!0}isFieldInvalid(e,n){return this.dialogForm.controls[e].hasError(n)&&this.dialogForm.controls[e].touched}onSubmit(){this.resetPasswordClick.next(null)}resetPasswordRequest(){return this.resetPasswordClick.pipe(de(()=>this.dialogForm.valid),mt(300),be(()=>this.dataLoading=!0),He(()=>this.authService.resetPassword(this.dialogForm.controls.email.value).pipe(ct(e=>(console.log(e),e.status===404?(this.dataLoading=!1,this.showSuccessInfo=!0,this.displayResetPasswordDialog=!1):(this.dataLoading=!1,this.somethingWrong=!0),Y(void 0))))),be(()=>{this.dataLoading=!1,this.showSuccessInfo=!0,this.displayResetPasswordDialog=!1}))}ngOnDestroy(){this.resetPasswordSubscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(b(Vi))}}static{this.\u0275cmp=A({type:t,selectors:[["reset-password"]],standalone:!1,ngContentSelectors:dz,decls:33,vars:41,consts:[["email",""],[3,"click"],[3,"visibleChange","header","visible","modal","closeOnEscape","closable","responsive","baseZIndex"],[1,"row","justify-content-center","m-1","data-size"],[1,"w-100","pt-1","pe-4","pb-4","ps-4",3,"disabled"],[1,"reset-legend"],[1,"inner-box","change-password-form",3,"ngSubmit","formGroup"],["type","text","formControlName","email","autocomplete","current-email",1,"form-control","rounded-30","form-group",3,"placeholder"],[1,"error-container","errors","mb-3"],["class","data-error",4,"ngIf"],["type","submit",1,"btn","btn-primary","reset-btn"],["class","sonel-loading spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],[1,"w-100","pt-1","pe-4","pb-4","ps-4"],[1,"green-info"],[1,"standard-info"],[1,"data-error"],["role","status","aria-hidden","true",1,"sonel-loading","spinner-border","spinner-border-sm"]],template:function(n,o){if(n&1){let r=U();Xe(),h(0,"span",1),R("click",function(){return D(r),O(o.showResetPasswordDialog())}),Ae(1),f(),h(2,"p-dialog",2),I(3,"translate"),hn("visibleChange",function(a){return D(r),Sn(o.displayResetPasswordDialog,a)||(o.displayResetPasswordDialog=a),O(a)}),h(4,"div",3)(5,"fieldset",4)(6,"label",5),E(7),I(8,"translate"),f(),h(9,"form",6),R("ngSubmit",function(){return D(r),O(o.onSubmit())}),w(10,"input",7,0),I(12,"translate"),h(13,"div",8),_(14,uz,3,3,"small",9)(15,pz,3,3,"small",9),f(),h(16,"button",10),_(17,hz,1,0,"span",11),E(18),I(19,"translate"),f()()()()(),h(20,"p-dialog",2),I(21,"translate"),hn("visibleChange",function(a){return D(r),Sn(o.showSuccessInfo,a)||(o.showSuccessInfo=a),O(a)}),h(22,"div",3)(23,"fieldset",12)(24,"p",13),E(25),I(26,"translate"),w(27,"br"),E(28),I(29,"translate"),f(),h(30,"p",14),E(31),I(32,"translate"),f()()()()}n&2&&(d(2),$e("header",T(3,25,"RESET_PASSWORD.DIALOG_HEADER")),pn("visible",o.displayResetPasswordDialog),u("modal",!0)("closeOnEscape",!0)("closable",!0)("responsive",!0)("baseZIndex",1e4),d(3),u("disabled",o.dataLoading),d(2),B(T(8,27,"RESET_PASSWORD.DIALOG_HINT")),d(2),u("formGroup",o.dialogForm),d(),$e("placeholder",T(12,29,"RESET_PASSWORD.DIALOG_EMAIL")),d(4),u("ngIf",o.isFieldInvalid("email","pattern")),d(),u("ngIf",o.somethingWrong),d(2),u("ngIf",o.dataLoading),d(),oe(" ",T(19,31,"RESET_PASSWORD.DIALOG_BUTTON")," "),d(2),$e("header",T(21,33,"RESET_PASSWORD.DIALOG_HEADER")),pn("visible",o.showSuccessInfo),u("modal",!0)("closeOnEscape",!0)("closable",!0)("responsive",!0)("baseZIndex",1e4),d(5),oe(" ",T(26,35,"RESET_PASSWORD.DIALOG_SUCCESS_MSG_SEND_LINK")," "),d(3),oe(" ",T(29,37,"RESET_PASSWORD.DIALOG_SUCCESS_MSG_SEND_MAIL")," "),d(3),B(T(32,39,"RESET_PASSWORD.DIALOG_SUCCESS_MSG_MAIL_INFO")))},dependencies:[ee,Lr,Pi,Rn,Fr,Rs,Ps,Qv,Le],styles:[".reset-legend[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif!important;font-weight:400;font-size:12px}.rounded-30[_ngcontent-%COMP%]{border-radius:30px;border:2px solid #C2C9CC;margin-bottom:0}.reset-btn[_ngcontent-%COMP%]{width:100%;height:48px;background:#029ef0;border-radius:30px;text-transform:none;border:#029EF0 1px solid}.error-container[_ngcontent-%COMP%]{min-height:22px}.data-error[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:13px;font-weight:400;color:red;margin-left:auto;margin-right:auto}.green-info[_ngcontent-%COMP%]{color:#51c751;font-family:Poppins,Open Sans,sans-serif;font-size:15px;font-weight:500;text-align:center}.standard-info[_ngcontent-%COMP%]{max-width:350px;padding-top:20px;font-family:Poppins,Open Sans,sans-serif;font-size:14px;font-weight:400;text-align:center}"]})}}return t})(),mz=t=>{let i=t,e=i.controls.email.value;return i.controls.email.touched&&e.length===0?{notEmptyData:!0}:null};var At=(()=>{class t{constructor({nativeElement:e}){"loading"in HTMLImageElement.prototype&&e.setAttribute("loading","lazy")}static{this.\u0275fac=function(n){return new(n||t)(b(ye))}}static{this.\u0275dir=te({type:t,selectors:[["img"]],standalone:!1})}}return t})();function _z(t,i){t&1&&(h(0,"small",16),E(1),I(2,"translate"),f()),t&2&&(d(),oe(" ",T(2,1,"LOGIN_BOX.LOGIN_FAILED")," "))}function yz(t,i){t&1&&(h(0,"small",16),E(1),I(2,"translate"),f()),t&2&&(d(),oe(" ",T(2,1,"LOGIN_BOX.LOGIN_NO_DATA")," "))}function vz(t,i){t&1&&(h(0,"small",16),E(1),I(2,"translate"),f()),t&2&&(d(),oe(" ",T(2,1,"LOGIN_BOX.LOGIN_ERROR")," "))}function bz(t,i){t&1&&w(0,"span",17)}var Cz=new M("APP_LOGIN_PERMISSION_TOKEN"),Zbe=(()=>{class t{constructor(e,n,o,r,s,a){this.formBuilder=e,this.authService=n,this.route=o,this.router=r,this.jwtHelperService=s,this.appLoginPermission=a,this.loginSuccess=new F,this.showLoginText=!0,this.loading=!1,this.loginFailure=!1,this.loginError=!1,this.loginClick=new K,this.loginForm=new mi({username:new tn(""),password:new tn("")},{validators:wz})}get loginFormControls(){return this.loginForm.controls}ngOnInit(){this.loginSubscription=this.loginRequest().subscribe(),this.isLogoutRoute()&&this.logout()}isFormInvalid(e){return this.loginForm.hasError(e)&&this.loginForm.touched}logout(){this.authService.logout().subscribe(()=>{this.router.navigate(["/login"])})}isLogoutRoute(){return this.route.snapshot.data&&this.route.snapshot.data.logout}onSubmit(){this.loginForm.markAsTouched(),this.loginClick.next(null)}loginRequest(){return this.loginClick.pipe(de(()=>this.loginForm.valid),mt(300),be(()=>this.loading=!0),He(()=>this.authService.login(this.loginFormControls.username.value,this.loginFormControls.password.value).pipe(pe(()=>this.appLoginPermission?this.authService.getAccessToken().pipe(z(e=>this.jwtHelperService.decodeToken(e||"")),z(e=>(e.tenancies_authorities||{}).hasOwnProperty(this.appLoginPermission)?!0:(this.loginFailure=!0,null))):Y(!0)),ct(e=>(e.status===QM.UNAUTHORIZED?this.loginFailure=!0:this.loginError=!0,this.loading=!1,Y(null))))),de(e=>e!==null),z(e=>e),be(()=>{this.loginSuccess.emit(!0)}))}ngOnDestroy(){this.loginSubscription.unsubscribe()}resetErrors(){this.loginFailure=!1,this.loginError=!1}static{this.\u0275fac=function(n){return new(n||t)(b(LD),b(Vi),b(zt),b(ut),b(sm),b(Cz,8))}}static{this.\u0275cmp=A({type:t,selectors:[["app-login-box"]],inputs:{showLoginText:"showLoginText"},outputs:{loginSuccess:"loginSuccess"},standalone:!1,decls:32,vars:26,consts:[[1,"login-box-container","shadow"],[1,"inner-box","login-form",3,"ngSubmit","formGroup"],["src","assets/svg/logo-sonel-id.svg",1,"header-sonel-id-logo"],[1,"login-header"],[1,"login-txt"],[1,"fieldset-container",3,"disabled"],[1,"form-group"],["autocomplete","username","type","email","formControlName","username","id","exampleInputEmail1","aria-describedby","emailHelp",1,"form-control","rounded-30",3,"keyup","placeholder"],["id","emailHelp",1,"form-text","text-muted"],["autocomplete","password","type","password","formControlName","password","id","exampleInputPassword1",1,"form-control","rounded-30",3,"keyup","placeholder"],["id","passwordHelp",1,"form-text","text-muted"],[1,"reset-password-label"],[1,"errors"],["class","login-error",4,"ngIf"],["type","submit",1,"btn","btn-primary","login-btn"],["class","sonel-loading spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],[1,"login-error"],["role","status","aria-hidden","true",1,"sonel-loading","spinner-border","spinner-border-sm"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"form",1),R("ngSubmit",function(){return o.onSubmit()}),w(2,"img",2),h(3,"p",3),E(4),I(5,"translate"),f(),h(6,"p",4),E(7),I(8,"translate"),f(),h(9,"fieldset",5)(10,"div",6)(11,"input",7),I(12,"translate"),R("keyup",function(){return o.resetErrors()}),f(),h(13,"small",8),E(14,"\xA0"),f()(),h(15,"div",6)(16,"input",9),I(17,"translate"),R("keyup",function(){return o.resetErrors()}),f(),h(18,"small",10),E(19,"\xA0"),f()(),h(20,"reset-password")(21,"label",11),E(22),I(23,"translate"),f()(),h(24,"div",12),_(25,_z,3,3,"small",13)(26,yz,3,3,"small",13)(27,vz,3,3,"small",13),f(),h(28,"button",14),_(29,bz,1,0,"span",15),E(30),I(31,"translate"),f()()()()),n&2&&(d(),u("formGroup",o.loginForm),d(3),B(T(5,14,"LOGIN_BOX.HEADER")),d(2),Yt("visibility",o.showLoginText?"visible":"hidden"),d(),B(T(8,16,"LOGIN_BOX.LOGIN_TXT")),d(2),u("disabled",o.loading),d(2),$e("placeholder",T(12,18,"LOGIN_BOX.LOGIN_EMAIL")),d(5),$e("placeholder",T(17,20,"LOGIN_BOX.LOGIN_PASSWORD")),d(6),B(T(23,22,"RESET_PASSWORD.FORGOT_PASSWORD")),d(3),u("ngIf",o.loginFailure),d(),u("ngIf",o.isFormInvalid("notEmptyData")),d(),u("ngIf",o.loginError),d(2),u("ngIf",o.loading),d(),oe(" ",T(31,24,"LOGIN_BOX.BTN")," "))},dependencies:[ee,Lr,Pi,Rn,Fr,Rs,Ps,KM,At,Le],styles:[".login-box-container[_ngcontent-%COMP%]{width:100%;height:100%;background:#fff;margin:0 auto}.login-box-container[_ngcontent-%COMP%] .inner-box[_ngcontent-%COMP%]{display:grid;padding:60px 50px 60px 40px;width:100%;height:100%}.change-password-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.login-header[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:28px;line-height:27px;font-weight:700;text-align:left;color:#16272f}.login-txt[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:18px;line-height:27px;font-weight:400;text-align:left;color:#16272f;margin:13px 0 31px}.rounded-30[_ngcontent-%COMP%]{border-radius:30px;border:2px solid #C2C9CC}.rounded-10[_ngcontent-%COMP%]{border-radius:10px}.errors[_ngcontent-%COMP%]{min-height:60px;max-height:80px;padding:30px 0 10px}.login-btn[_ngcontent-%COMP%]{width:100%;height:48px;background:#029ef0;border-radius:30px;text-transform:none;border:#029EF0 1px solid}.login-error[_ngcontent-%COMP%]{text-align:left;font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:400;color:red;bottom:55px}.sonel-loading[_ngcontent-%COMP%]{position:relative;top:-2px;right:6px}.reset-password-label[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif!important;font-weight:400;font-size:14px;color:#003463;cursor:pointer;float:right}.reset-password-label[_ngcontent-%COMP%]:hover{color:#f9770f}.header-sonel-id-logo[_ngcontent-%COMP%]{width:200px;margin-bottom:35px}.fieldset-container[_ngcontent-%COMP%]{display:grid}"]})}}return t})(),wz=t=>{let i=t,e=i.controls.password.value,n=i.controls.username.value;return i.controls.username.touched&&i.controls.password.touched&&(n.length===0||e.length===0)?{notEmptyData:!0}:null};var pm=new M("CategoryService");var Vl=t=>[t];function xz(t,i){if(t&1&&(h(0,"a",17),E(1),I(2,"translate"),w(3,"div",18)(4,"div",19),f()),t&2){let e=m().$implicit;d(),oe(" ",T(2,1,e.title)," ")}}function Ez(t,i){if(t&1&&(h(0,"a",20),E(1),I(2,"translate"),w(3,"div",19),f()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(5,Vl,e.path):null)("queryParams",e.queryParams),d(),oe(" ",T(2,3,e.title)," ")}}function Iz(t,i){if(t&1&&(h(0,"a",21),E(1),I(2,"translate"),w(3,"div",19),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Sz(t,i){if(t&1&&(h(0,"a",22),E(1),I(2,"translate"),w(3,"div",19),f()),t&2){let e=m().$implicit;re(e.type=="extTabLink"?"ext-tab-link":""),$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,4,e.title)," ")}}function Tz(t,i){if(t&1&&(h(0,"a",17),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;d(),oe(" ",T(2,1,e.title)," ")}}function Dz(t,i){if(t&1&&(h(0,"a",20),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(5,Vl,e.path):null)("queryParams",e.queryParams),d(),oe(" ",T(2,3,e.title)," ")}}function Oz(t,i){if(t&1&&(h(0,"a",21),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Mz(t,i){if(t&1&&(h(0,"a",22),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Rz(t,i){if(t&1&&(h(0,"a",20),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(5,Vl,e.path):null)("queryParams",e.queryParams),d(),oe(" ",T(2,3,e.title)," ")}}function Pz(t,i){if(t&1&&(h(0,"a",21),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function kz(t,i){if(t&1&&(h(0,"a",22),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Az(t,i){if(t&1&&(h(0,"li"),_(1,Rz,3,7,"a",13)(2,Pz,3,4,"a",14)(3,kz,3,4,"a",25),f()),t&2){let e=i.$implicit,n=m(5).$implicit;d(),u("ngIf",e.type==="link"&&!n.megaMenu),d(),u("ngIf",e.type==="extLink"&&!n.megaMenu),d(),u("ngIf",e.type==="extTabLink"&&!n.megaMenu)}}function Nz(t,i){if(t&1&&(h(0,"ul"),_(1,Az,4,3,"li",24),f()),t&2){let e=m().$implicit;d(),u("ngForOf",e.children)}}function Fz(t,i){if(t&1&&(h(0,"li"),_(1,Tz,3,3,"a",12)(2,Dz,3,7,"a",13)(3,Oz,3,4,"a",14)(4,Mz,3,4,"a",25)(5,Nz,2,1,"ul",23),f()),t&2){let e=i.$implicit,n=m(3).$implicit;d(),u("ngIf",e.type==="sub"),d(),u("ngIf",e.type==="link"&&!n.megaMenu),d(),u("ngIf",e.type==="extLink"&&!n.megaMenu),d(),u("ngIf",e.type==="extTabLink"&&!n.megaMenu),d(),u("ngIf",e.children)}}function Lz(t,i){if(t&1&&(se(0),_(1,Fz,6,5,"li",24),ae()),t&2){let e=m(2).$implicit;d(),u("ngForOf",e.children)}}function Vz(t,i){if(t&1&&(h(0,"a",20),w(1,"img",28),h(2,"h2"),E(3),I(4,"translate"),f()()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(6,Vl,e.path):null)("queryParams",e.queryParams),d(),u("src",e.image,ze),d(2),B(T(4,4,e.title))}}function Bz(t,i){if(t&1&&(h(0,"a",21),w(1,"img",28),h(2,"h2"),E(3),I(4,"translate"),f()()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),u("src",e.image,ze),d(2),B(T(4,3,e.title))}}function jz(t,i){if(t&1&&(h(0,"a",22),w(1,"img",28),h(2,"h2"),E(3),I(4,"translate"),f()()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),u("src",e.image,ze),d(2),B(T(4,3,e.title))}}function $z(t,i){if(t&1&&(h(0,"div"),_(1,Vz,5,8,"a",13)(2,Bz,5,5,"a",14)(3,jz,5,5,"a",25),f()),t&2){let e=i.$implicit,n=m(3).$implicit;re(n.megaMenuType=="small"?"col-xl-4":n.megaMenuType=="medium"?"col-xl-3":""),d(),u("ngIf",e.type==="link"),d(),u("ngIf",e.type==="extLink"),d(),u("ngIf",e.type==="extTabLink")}}function Hz(t,i){if(t&1&&(se(0),h(1,"li")(2,"div",26)(3,"div",1),_(4,$z,4,5,"div",27),f()()(),ae()),t&2){let e=m(2).$implicit;d(4),u("ngForOf",e.children)}}function zz(t,i){if(t&1&&(h(0,"a",42),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(5,Vl,e.path):null)("queryParams",e.queryParams),d(),oe(" ",T(2,3,e.title)," ")}}function Uz(t,i){t&1&&(h(0,"div",43),w(1,"span",44),f())}function Gz(t,i){t&1&&w(0,"span",44)}function Wz(t,i){if(t&1&&(h(0,"div",43),E(1),I(2,"translate"),_(3,Gz,1,0,"span",45),f()),t&2){let e=m().$implicit;d(),oe(" ",T(2,2,e.title)," "),d(2),u("ngIf",e.children.length>0)}}function qz(t,i){if(t&1&&(h(0,"a",46),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Kz(t,i){t&1&&(h(0,"div",43),w(1,"span",44),f())}function Qz(t,i){if(t&1&&(h(0,"a",47),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Yz(t,i){t&1&&(h(0,"div",43),w(1,"span",44),f())}function Zz(t,i){if(t&1&&(h(0,"a",20),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;u("routerLink",e.type?ce(5,Vl,e.path):null)("queryParams",e.queryParams),d(),oe(" ",T(2,3,e.title)," ")}}function Jz(t,i){if(t&1&&(h(0,"a",21),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function Xz(t,i){if(t&1&&(h(0,"a",22),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;$e("href",e.type?e.path:null,ze),d(),oe(" ",T(2,2,e.title)," ")}}function eU(t,i){if(t&1&&(h(0,"li"),_(1,Zz,3,7,"a",13)(2,Jz,3,4,"a",14)(3,Xz,3,4,"a",25),f()),t&2){let e=i.$implicit;d(),u("ngIf",e.type==="link"),d(),u("ngIf",e.type==="extLink"),d(),u("ngIf",e.type==="extTabLink")}}function tU(t,i){if(t&1&&(h(0,"div",33)(1,"div",34)(2,"div",35)(3,"div",36),_(4,zz,3,7,"a",37)(5,Uz,2,0,"div",38)(6,Wz,4,4,"div",38)(7,qz,3,4,"a",39)(8,Kz,2,0,"div",38)(9,Qz,3,4,"a",40)(10,Yz,2,0,"div",38),f(),h(11,"div",41)(12,"ul"),_(13,eU,4,3,"li",24),f()()()()()),t&2){let e=i.$implicit;d(4),u("ngIf",e.type==="link"),d(),u("ngIf",e.children.length>0),d(),u("ngIf",e.type==="sub"),d(),u("ngIf",e.type==="extLink"),d(),u("ngIf",e.children.length>0),d(),u("ngIf",e.type==="extTabLink"),d(),u("ngIf",e.children.length>0),d(3),u("ngForOf",e.children)}}function nU(t,i){if(t&1&&(se(0),h(1,"li",29)(2,"div",30)(3,"div",31),_(4,tU,14,8,"div",32),f()()(),ae()),t&2){let e=m(2).$implicit;d(4),u("ngForOf",e.children)}}function iU(t,i){if(t&1&&(h(0,"ul",11),_(1,Lz,2,1,"ng-container",23)(2,Hz,5,1,"ng-container",23)(3,nU,5,1,"ng-container",23),f()),t&2){let e=m().$implicit;re(e.megaMenu&&e.megaMenuType=="small"?"mega-menu feature-menu":e.megaMenuType=="medium"?"mega-menu feature-menu product-menu":e.megaMenuType=="large"?"mega-menu full-mega-menu":""),u("id","mega-menu"),d(),u("ngIf",!e.megaMenu),d(),u("ngIf",e.megaMenu&&e.megaMenuType=="small"||e.megaMenuType=="medium"),d(),u("ngIf",e.megaMenu&&e.megaMenuType=="large")}}function oU(t,i){if(t&1&&(h(0,"li",11),_(1,xz,5,3,"a",12)(2,Ez,4,7,"a",13)(3,Iz,4,4,"a",14)(4,Sz,4,6,"a",15)(5,iU,4,6,"ul",16),f()),t&2){let e=i.$implicit;re(e.megaMenu?"mega main-pos":"main-pos"),u("id",e.megaMenuType=="large"?"hover-cls":""),d(),u("ngIf",e.type==="sub"),d(),u("ngIf",e.type==="link"),d(),u("ngIf",e.type==="extLink"),d(),u("ngIf",e.type==="extTabLink"),d(),u("ngIf",e.children)}}var d1e=(()=>{class t{constructor(e,n,o){this.categoryService=e,this.translatesService=n,this.platformId=o,this.lang=n.getCurrentLang()}ngOnInit(){this.menuSubscription=this.categoryService.getCategories(3,void 0,"CATEGORY_MENU_ITEM_ATTRIBUTE_CODE",!1).pipe(z(e=>this.parseMenuItems(e,null).map(o=>(o.children.length>0?(o.megaMenu=!0,o.megaMenuType="large"):o.children=null,o)))).subscribe(e=>{this.menuItems=e,We(this.platformId)&&$.getScript("assets/js/menu.js")},console.error,()=>{this.menuSubscription&&!this.menuSubscription.closed&&this.menuSubscription.unsubscribe()})}parseMenuItems(e,n){return e.filter(o=>o.categoryId!==o.parentId).filter(o=>n===null||o.parentId===n&&o.categoryId!==n).map(o=>{let r={title:o.name,children:this.parseMenuItems(o.children,o.categoryId)};if(r.children.length>0&&n===null)r.type="sub";else if(o.uitemplate===Vb)r.type="link",r.path=`/${Vb}/${o.uri}`;else{let s=o.attributes.find(a=>a.attributeCode==="CATEGORY_MENU_LINK_ATTRIBUTE_CODE");s?(r.type="extTabLink",r.path=s.val):(r.type="link",r.path=`/${Zr}/${o.uri}`)}return r})}static{this.\u0275fac=function(n){return new(n||t)(b(pm),b(gn),b(Fe))}}static{this.\u0275cmp=A({type:t,selectors:[["app-navbar"]],standalone:!1,decls:11,vars:1,consts:[["id","navbar-box"],[1,"row"],[1,"col-lg-12"],[1,"main-nav-center"],["id","main-nav"],[1,"toggle-nav"],[1,"close-mobile-menu"],["id","main-menu",1,"sm","pixelstrap","sm-horizontal"],[3,"class","id",4,"ngFor","ngForOf"],[1,"fixed-background-menu"],[1,"overflow"],[3,"id"],["href","javascript:void(0)",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[3,"href",4,"ngIf"],["target","_blank",3,"href","class",4,"ngIf"],[3,"class","id",4,"ngIf"],["href","javascript:void(0)"],[1,"arrow-up"],[1,"after-strip"],[3,"routerLink","queryParams"],[3,"href"],["target","_blank",3,"href"],[4,"ngIf"],[4,"ngFor","ngForOf"],["target","_blank",3,"href",4,"ngIf"],[1,"container"],[3,"class",4,"ngFor","ngForOf"],["alt","",3,"src"],[1,"menu-container-list"],[1,"wide-box"],[1,"card-columns"],["class","col mega-box card",4,"ngFor","ngForOf"],[1,"col","mega-box","card"],[1,"card-block"],[1,"link-section"],[1,"menu-title"],["class","menu-header-link",3,"routerLink","queryParams",4,"ngIf"],["class","roll-child",4,"ngIf"],["class","menu-header-link",3,"href",4,"ngIf"],["class","menu-header-link","target","_blank",3,"href",4,"ngIf"],[1,"menu-content"],[1,"menu-header-link",3,"routerLink","queryParams"],[1,"roll-child"],[1,"sub-arrow-child"],["class","sub-arrow-child",4,"ngIf"],[1,"menu-header-link",3,"href"],["target","_blank",1,"menu-header-link",3,"href"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"nav",4),w(5,"div",5)(6,"div",6),h(7,"ul",7),_(8,oU,6,8,"li",8),f()()()()()(),w(9,"div",9)(10,"div",10)),n&2&&(d(8),u("ngForOf",o.menuItems))},dependencies:[at,ee,qt,At,Le],styles:[`#navbar-box{width:100%;background-color:#003463;max-height:43px;min-height:43px;position:relative;-webkit-user-select:none;user-select:none}.pixelstrap .full-mega-menu{padding-left:0!important;padding-top:32px!important}.pixelstrap .full-mega-menu .mega-box{padding-top:0!important;padding-bottom:5px!important}.menu-title h5{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px!important;text-transform:none!important}.wide-box{max-width:1206px;width:100%;margin-left:auto;margin-right:auto}.wide-box .row{padding-bottom:32px}.wide-box .card-columns .col{padding:0}.main-nav-center .toggle-nav,.main-nav-center .close-mobile-menu{width:48px;height:48px;margin:16px 0 0;top:-144px}.main-nav-center .toggle-nav{background:url(/assets/svg/mobile-menu-icon.svg) no-repeat;right:15px}.main-nav-center .close-mobile-menu{right:15px}.main-nav-center .close-mobile-menu{background:url(/assets/svg/mobile-menu-close-icon.svg) no-repeat;display:none}.arrow-up{width:0;height:0;left:0;right:0;margin:auto;position:absolute;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #ffffff;display:none}#main-menu li .highlighted .arrow-up{display:block}#mega-menu{z-index:9999;height:auto;border:0;padding-top:0}.overflow{background:#000;opacity:.4;width:100%;height:100%;position:fixed;z-index:9998;display:none}.fa{display:inline-block;font:14px/FontAwesome!important;font-size:14px;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-bars:before{width:100px;height:100px;background-color:red}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left}.sm{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.sm ul{display:none}.sm li{position:relative}.sm>li>h1{margin:0;padding:0}.sm>li>h2{margin:0;padding:0}.sm>li>h3{margin:0;padding:0}.sm>li>h4{margin:0;padding:0}.sm>li>h5{margin:0;padding:0}.sm>li>h6{margin:0;padding:0}.sm a{position:relative;display:block}.sm a.disabled{cursor:default}.sm *{-webkit-box-sizing:inherit;box-sizing:inherit}.sm *:before{-webkit-box-sizing:inherit;box-sizing:inherit}.sm *:after{-webkit-box-sizing:inherit;box-sizing:inherit}.sm:after{content:"";display:block;height:0;font:0/0 serif;clear:both;overflow:hidden}.toggle-nav{position:relative;cursor:pointer}.toggle-nav i{font-size:24px;color:#dd2a2a;font:14px/1 FontAwesome;font-size:14px;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.close-mobile-menu{position:relative;cursor:pointer}.close-mobile-menu i{font-size:24px;color:#dd2a2a;font:14px/1 FontAwesome;font-size:14px;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mega-menu-banner:hover:before{display:none}.pixelstrap.sm-vertical a .sub-arrow{margin-top:-22px;right:7px}.pixelstrap ul{border-radius:0}.pixelstrap.light-font-menu li>a{color:#393230}.pixelstrap a,.pixelstrap a:hover,.pixelstrap a:active{padding:42px 22px;color:#fff;font-size:14px;font-family:Poppins,Open Sans,sans-serif;font-weight:600;line-height:23px;text-decoration:none;text-transform:uppercase;letter-spacing:.07em}.pixelstrap a:hover{color:#f9770f}.pixelstrap a.disabled{color:#ee9898}.pixelstrap a .sub-arrow{position:absolute;top:35%;margin-top:-17px;left:auto;right:15px;width:34px;height:34px;overflow:hidden;font:700 20px/34px monospace!important;text-align:center;text-shadow:none;border-radius:20px;background:#f7f7f7;display:none}.after-strip{display:none;background:#c2c9cc;width:100%;height:1px}#main-menu{width:100%;height:100vh!important;padding-bottom:200px!important}@media (max-width: 1199px){#mega-menu{overflow-y:auto}.card-columns{column-count:1!important}.pixelstrap a,.pixelstrap a:hover,.pixelstrap a:active{padding-left:22px;padding-right:22px;color:#003463;font-size:14px;font-family:Poppins,Open Sans,sans-serif;font-weight:600;line-height:23px;text-decoration:none;text-transform:uppercase;padding-top:42px;letter-spacing:.07em}.mega a{color:#003463}.pixelstrap a .sub-arrow{display:block;right:16px!important}.mega-menu li .wide-box{margin-left:0;margin-bottom:15px}.pixelstrap li{margin-left:27px;margin-right:17px}.pixelstrap li a{padding-left:3px!important;font-size:14px!important}.after-strip{margin-top:20px;display:block}.pixelstrap li ul li a{color:#003463!important}.menu-title{padding-top:15px;padding-bottom:0;width:90%}.menu-title h5{margin:0}.sub-menu-sep{width:100%;height:15px}.wide-box .row{padding-bottom:5px}}.pixelstrap>li:last-child>a,.pixelstrap>li:last-child>*:not(ul) a,.pixelstrap>li:last-child>ul,.pixelstrap>li:last-child>ul>li:last-child>a,.pixelstrap>li:last-child>ul>li:last-child>*:not(ul) a,.pixelstrap>li:last-child>ul>li:last-child>ul,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0}.pixelstrap>li:last-child>a.highlighted,.pixelstrap>li:last-child>*:not(ul) a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.pixelstrap>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.pixelstrap ul{background:#fff}.pixelstrap ul ul{background:#d522220a}.pixelstrap ul a,.pixelstrap ul a:hover,.pixelstrap ul a:focus,.pixelstrap ul a:active{background:transparent;color:#b61d1d;font-size:14px;text-shadow:none}.pixelstrap ul a.current{background:#cc2121;color:#fff}.pixelstrap ul a.disabled{color:#b3b3b3}.pixelstrap ul ul a,.pixelstrap ul ul a:hover,.pixelstrap ul ul a:focus,.pixelstrap ul ul a:active{border-left:16px solid transparent}.pixelstrap ul ul ul a,.pixelstrap ul ul ul a:hover,.pixelstrap ul ul ul a:focus,.pixelstrap ul ul ul a:active{border-left:24px solid transparent}.pixelstrap ul ul ul ul a,.pixelstrap ul ul ul ul a:hover,.pixelstrap ul ul ul ul a:focus,.pixelstrap ul ul ul ul a:active{border-left:32px solid transparent}.pixelstrap ul ul ul ul ul a,.pixelstrap ul ul ul ul ul a:hover,.pixelstrap ul ul ul ul ul a:focus,.pixelstrap ul ul ul ul ul a:active{border-left:40px solid transparent}.pixelstrap ul li{border-top:1px solid rgba(0,0,0,.05)}.pixelstrap ul li:first-child{border-top:0}.pixelstrap .mega{position:unset!important}.pixelstrap .mega .full-mega-menu.center-mega-menu{margin-left:0!important}.pixelstrap .mega ul{margin-left:0!important;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}.pixelstrap .home-menu,.pixelstrap .feature-menu,.pixelstrap .category-menu,.pixelstrap .full-mega-menu,.pixelstrap .clothing-menu{max-width:inherit!important;padding:30px 0 15px}.pixelstrap .home-menu a,.pixelstrap .feature-menu a,.pixelstrap .category-menu a,.pixelstrap .full-mega-menu a,.pixelstrap .clothing-menu a{padding:0;position:relative}.pixelstrap .home-menu a h2,.pixelstrap .feature-menu a h2,.pixelstrap .category-menu a h2,.pixelstrap .full-mega-menu a h2,.pixelstrap .clothing-menu a h2{font-size:14px;margin-bottom:15px;margin-top:15px;text-align:center;-webkit-transition:all .5s ease;transition:all .5s ease;font-weight:400;text-transform:none;color:#222}.pixelstrap .home-menu a img,.pixelstrap .feature-menu a img,.pixelstrap .category-menu a img,.pixelstrap .full-mega-menu a img,.pixelstrap .clothing-menu a img{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 auto}.pixelstrap .home-menu a:hover,.pixelstrap .feature-menu a:hover,.pixelstrap .category-menu a:hover,.pixelstrap .full-mega-menu a:hover,.pixelstrap .clothing-menu a:hover{padding:0}.pixelstrap .home-menu a:hover:before,.pixelstrap .feature-menu a:hover:before,.pixelstrap .category-menu a:hover:before,.pixelstrap .full-mega-menu a:hover:before,.pixelstrap .clothing-menu a:hover:before{width:50px;height:2px;-webkit-transition:.5s ease;transition:.5s ease}.pixelstrap .home-menu a:hover h2,.pixelstrap .feature-menu a:hover h2,.pixelstrap .category-menu a:hover h2,.pixelstrap .full-mega-menu a:hover h2,.pixelstrap .clothing-menu a:hover h2{-webkit-transition:all .5s ease;transition:all .5s ease}.pixelstrap .home-menu{width:480px!important;padding:30px 15px 25px!important}.pixelstrap .home-menu a:hover h2{color:#cc2121}.pixelstrap .feature-menu{width:580px!important}.pixelstrap .feature-menu.product-menu{width:735px!important}.pixelstrap .feature-menu a img{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:all .5s ease;transition:all .5s ease}.pixelstrap .feature-menu a:hover h2{color:#cc2121}.pixelstrap .feature-menu a:hover:before{width:0!important}.pixelstrap .feature-menu a:hover img{-webkit-transform:scale(1.02);transform:scale(1.02);-webkit-transition:all .5s ease;transition:all .5s ease}.pixelstrap .category-menu{width:950px!important}.pixelstrap .category-menu a img{width:50%!important;-webkit-transition:all .5s ease;transition:all .5s ease;-webkit-filter:grayscale(100%);filter:grayscale(100%);opacity:.5;-webkit-transform:scale(1);transform:scale(1)}.pixelstrap .category-menu a:hover h2{color:#cc2121}.pixelstrap .category-menu a:hover:before{width:0!important}.pixelstrap .category-menu a:hover img{-webkit-filter:grayscale(0);filter:grayscale(0);-webkit-transition:all .5s ease;transition:all .5s ease;opacity:1;-webkit-transform:scale(1.02);transform:scale(1.02)}.pixelstrap .link-section h5{font-weight:700;text-transform:uppercase;font-size:14px}.pixelstrap .link-section ul{position:relative;display:block;padding:0}.pixelstrap .link-section ul li a{padding-top:3px;padding-bottom:3px;font-size:14px;padding-left:0}.pixelstrap .full-mega-menu{width:100%!important;padding-left:30px!important;border-radius:0;right:0}.pixelstrap .full-mega-menu .mega-box .link-section ul li a:hover,.pixelstrap .full-mega-menu .mega-box .link-section ul li a:focus{padding-top:3px;padding-bottom:3px}.pixelstrap .full-mega-menu .img-section img{margin-top:15px}.pixelstrap .clothing-menu{width:815px!important;padding:15px 30px 25px!important;background-color:#fff}.pixelstrap .clothing-menu li img{padding:20px 0 10px}.pixelstrap .clothing-menu .link-section h5{margin-top:15px}.pixelstrap .clothing-menu .link-section ul{background:none}.pixelstrap li a{position:relative;text-decoration:none}.pixelstrap li .lable-nav{position:absolute;background-color:#cc2121;padding:2px 7px;color:#fff;top:20px;text-transform:uppercase;font-size:9px;left:0;line-height:1.3}.pixelstrap li .lable-nav:before{position:absolute;content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #cc2121;top:15px;left:5px}.sm-vertical{background-color:#fff}.sidenav{height:100vh;width:300px;position:fixed;z-index:9999;top:0;left:-300px;background-color:#fff;-webkit-transition:all .5s ease;transition:all .5s ease}.sidenav .sidebar-back{padding:20px;font-size:18px;color:#222;font-weight:700;text-transform:uppercase;border-bottom:1px solid #efefef;margin-bottom:20px;cursor:pointer}.sidenav nav{background-color:#fff;z-index:9;position:relative;height:100vh;top:0}.sidenav.open-side{left:0;-webkit-transition:all .5s ease;transition:all .5s ease}.sidenav.open-side .sidebar-overlay{opacity:.8;visibility:visible}.sidenav .sidebar-overlay{visibility:hidden;opacity:0;background-color:#212331;position:fixed;z-index:6;top:0;left:0;width:100%;height:100%;-webkit-transition:all 1s;transition:all 1s}.sidenav .closebtn{position:absolute;top:0;font-size:36px;margin-left:50px;margin-top:50px;color:#938d8c}.sidenav .pixelstrap li a{padding:10px 50px 20px 40px}.sidenav .pixelstrap li ul li a{padding:5px 35px}.sidenav .pixelstrap li ul li a:active,.sidenav .pixelstrap li ul li a:focus,.sidenav .pixelstrap li ul li a.highlighted{padding:5px 35px}.sidenav .pixelstrap li .clothing-menu li a{padding:5px 0!important}.sidenav .pixelstrap li .clothing-menu li a:focus{font-size:14px}.sidenav .pixelstrap li .clothing-menu li a:hover{font-size:14px;padding:5px 0}.sidenav .pixelstrap li .clothing-menu li a:focus,.sidenav .pixelstrap li .clothing-menu li a:hover{padding:5px 0!important}.mega-box .link-section .demo ul li a{position:relative}.mega-box .link-section .demo ul li a:hover,.mega-box .link-section .demo ul li a:focus{padding-top:3px;padding-bottom:3px}.rtl .sidenav .pixelstrap li{text-align:right}.rtl .link-section{float:right}.rtl .pixelstrap li .lable-nav{left:unset}.rtl .mega-box .link-section .demo ul li a span img{right:unset;left:-120px}.hover-unset{position:unset!important}@media (min-width: 1200px){.toggle-nav,.close-mobile-menu{display:none}.sm-vertical li ul li a .sub-arrow{margin-top:-15px!important}.mobile-back{display:none!important}.pixelstrap ul{position:absolute}.pixelstrap li{position:relative;float:left}.pixelstrap.sm-rtl li{float:right}.pixelstrap ul li,.pixelstrap.sm-rtl ul li,.pixelstrap.sm-vertical li{float:none}.pixelstrap a{white-space:nowrap}.pixelstrap ul a,.pixelstrap.sm-vertical a{white-space:normal}.pixelstrap .sm-nowrap>li>a,.pixelstrap .sm-nowrap>li>:not(ul) a{padding-right:0}.pixelstrap .sm-nowrap>li>a.highlighted,.pixelstrap .sm-nowrap>li>:not(ul) a.highlighted{white-space:nowrap}.sm-horizontal .mega-menu li a{padding:0}.sm-horizontal .mega-menu li a:focus,.sm-horizontal .mega-menu li a:active{padding:0}.pixelstrap ul li ul{-webkit-box-shadow:none;box-shadow:none}.pixelstrap .mega{position:unset!important}.pixelstrap .mega ul{margin-left:0!important}.pixelstrap .full-mega-menu .mega-box{min-width:30%;margin-left:2%;padding-top:32px;padding-bottom:0}.pixelstrap .home-menu a,.pixelstrap .feature-menu a,.pixelstrap .category-menu a,.pixelstrap .full-mega-menu a,.pixelstrap .clothing-menu a{padding:0;position:relative}.pixelstrap .full-mega-menu{position:absolute}.pixelstrap a .sub-arrow:before{content:"\\f107";font-family:FontAwesome;position:absolute}.pixelstrap ul{border:none;padding:30px 20px 30px 5px;background:#fff}.pixelstrap ul ul{background:#fff}.pixelstrap ul a{position:relative}.pixelstrap ul a:before{position:absolute;bottom:0;content:"";height:2px;width:0;background-color:#f9770f;-webkit-transition:.5s ease;transition:.5s ease}.pixelstrap ul a,.pixelstrap ul a:hover,.pixelstrap ul a:focus,.pixelstrap ul a:active,.pixelstrap ul a.highlighted{border:0!important;background:transparent;color:#003463;border-radius:0!important;font-size:14px;font-family:Poppins,Open Sans,sans-serif;font-weight:400;text-transform:none;padding:5px 35px}.pixelstrap ul a:hover:before,.pixelstrap ul a:hover:hover:before,.pixelstrap ul a:focus:hover:before,.pixelstrap ul a:active:hover:before,.pixelstrap ul a.highlighted:hover:before{width:50px;height:2px;-webkit-transition:.5s ease;transition:.5s ease}.pixelstrap ul a .sub-arrow:before{content:"\\f105";font-family:FontAwesome;position:absolute}.pixelstrap ul li{border:0}.pixelstrap .scroll-up,.pixelstrap .scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:20px}.pixelstrap .scroll-up-arrow,.pixelstrap .scroll-down-arrow{position:absolute;top:-2px;left:50%;margin-left:-8px;width:0;height:0;overflow:hidden;border-width:8px;border-style:dashed dashed solid dashed;border-color:transparent transparent #b61d1d transparent}.pixelstrap .scroll-down-arrow{top:6px;border-style:solid dashed dashed dashed;border-color:#b61d1d transparent transparent transparent}.pixelstrap.sm-rtl.sm-vertical a .sub-arrow:before{content:"\\f105";font-family:FontAwesome;position:absolute}.pixelstrap.sm-rtl>li:first-child{border-left:1px solid #b61d1d}.pixelstrap.sm-rtl>li:last-child{border-left:0}.pixelstrap.sm-rtl ul a .sub-arrow{right:auto;left:10px}.pixelstrap.sm-vertical a{padding:9px 23px}.pixelstrap.sm-vertical a .sub-arrow:before{content:"\\f105";font-family:FontAwesome;position:absolute}.pixelstrap.sm-vertical>li{border-left:0!important}.main-nav-center nav{text-align:center}.main-nav-center .sm{display:inline-block;vertical-align:middle}.main-nav-center .sm>li .lable-nav{top:3px}.main-nav-center .sm>li>a{padding-top:10px;padding-bottom:10px}.layout3-menu .pixelstrap a{text-transform:none;padding-right:34px;letter-spacing:.04em}.layout3-menu .pixelstrap .sub-arrow{right:12px}.rtl .pixelstrap .category-menu{width:698px!important}.rtl .pixelstrap .category-menu.center-menu{left:0!important;-webkit-transform:unset;transform:unset}.rtl .pixelstrap ul a:before{right:0}.rtl .pixelstrap ul a:hover,.rtl .pixelstrap ul a:focus,.rtl .pixelstrap ul a:active,.rtl .pixelstrap ul a.highlighted{padding-right:0}.rtl .mega .full-mega-menu{margin-left:0!important;left:unset!important;right:0!important}.rtl .mega .full-mega-menu.center-mega-menu{margin-right:0!important;margin-left:0!important;left:unset!important;right:50%!important}.rtl .layout3-menu .light-font-menu li>a,.rtl .layout3-menu .light-font-menu li>a:hover,.rtl .layout3-menu .light-font-menu li>a:active{padding-right:0;padding-left:28px}.rtl .layout3-menu .light-font-menu .sub-arrow{left:-5px;right:auto}.rtl .sm-horizontal .mega ul{float:right;left:auto!important;right:0}.rtl .sm-horizontal .mega ul li,.rtl .sm-horizontal ul li{text-align:right}.rtl .sm-horizontal ul li a .sub-arrow{left:15px;right:auto}.rtl .pixelstrap .full-mega-menu.layout-3{margin-right:-100px!important}.rtl .light-font-menu .mega ul{float:right;left:unset!important;right:0!important}.rtl .sidenav .pixelstrap li ul li a:hover,.rtl .sidenav .pixelstrap li ul li a:focus{padding:5px 35px}.rtl .sidenav .pixelstrap li ul li a:before{right:35px}.rtl .sidenav .pixelstrap li a .sub-arrow{right:7px;left:unset}.rtl .sidenav .pixelstrap .mega-menu li ul li a:before{right:0}.rtl .sidenav .sidebar-back i{float:left}}@media (max-width: 1440px){.pixelstrap .category-menu{width:698px!important}.pixelstrap .full-mega-menu.layout-3,.rtl .pixelstrap .mega .full-mega-menu{margin-left:0!important}.rtl .pixelstrap .mega .full-mega-menu.layout-3{margin-right:0!important}}@media (max-width: 1367px){.pixelstrap a,.pixelstrap a:hover,.pixelstrap a:active{font-size:14px}}@media (max-width: 1199px){.mega-box .link-section .demo ul li a span img{top:30px;right:-60px}.mega-box .link-section .menu-content ul li:last-child{padding-bottom:0;margin-bottom:0}.sm-horizontal{position:absolute;background-color:#fff;width:300px;border-radius:0;right:0;min-height:80vh;z-index:9999;-webkit-transition:all .3s ease;transition:all .3s ease;overflow:scroll;display:none}.sm-horizontal .mobile-back{padding:20px;font-size:18px;color:#222;font-weight:700;text-transform:uppercase;border-bottom:1px solid #efefef;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mega-box.col{-ms-flex-preferred-size:unset;flex-basis:unset}.pixelstrap .feature-menu.product-menu{width:100%!important}.pixelstrap .mega{position:unset!important}.pixelstrap .mega .full-mega-menu,.pixelstrap .mega ul{margin-left:0!important}.pixelstrap .home-menu,.pixelstrap .feature-menu,.pixelstrap .category-menu,.pixelstrap .full-mega-menu,.pixelstrap .clothing-menu{width:100%!important;padding:0!important}.pixelstrap a.highlighted .sub-arrow:before{content:"-"}.pixelstrap a .sub-arrow{right:0}.pixelstrap a .sub-arrow:before{content:"+"}.pixelstrap .link-section .menu-title h5{cursor:pointer;font-weight:600}.pixelstrap .link-section .menu-title.active .according-menu{font:700 16px/34px monospace!important}.pixelstrap .link-section .menu-title.active .according-menu:before{content:"-";position:absolute;right:-18px}.pixelstrap .link-section .menu-title .according-menu{font:700 16px/34px monospace!important}.pixelstrap .link-section .menu-title .according-menu:before{content:"+";position:absolute;right:-18px}.pixelstrap .link-section ul{background-color:unset}.pixelstrap .link-section h5{font-weight:700}.pixelstrap .full-mega-menu .mega-box{border-right:none;margin-bottom:0}.pixelstrap .category-menu a img{width:30%!important}.pixelstrap .clothing-menu{background:none}.pixelstrap li .lable-nav{left:15px;top:-8px}.pixelstrap a,.pixelstrap a:hover{padding:10px 35px 10px 15px;font-size:16px}.pixelstrap li a,.pixelstrap li a:hover{font-size:16px;padding:10px 15px}.pixelstrap li ul li a{padding:5px 35px;font-size:14px;color:#222;font-weight:400}.pixelstrap li ul li a:hover{color:#cc2121;font-size:14px;padding:5px 35px}.pixelstrap .category-menu a:hover img{-webkit-transform:scale(1);transform:scale(1)}.pixelstrap.sm-vertical a .sub-arrow{margin-top:-18px}.sidenav{overflow-y:auto}.sidenav .pixelstrap li ul li a,.sidenav .pixelstrap li ul li a:hover,.sidenav .pixelstrap li ul li a.highlighted{padding:5px 45px}.sidenav .pixelstrap li a,.sidenav .pixelstrap li a:hover{padding:10px 25px}.main-menu.border-section{border:none}.main-menu .menu-left .main-menu-right .toggle-nav{position:absolute;z-index:2}.main-menu .menu-left .main-menu-right .toggle-nav .sidebar-name{font-size:18px;padding-left:5px;text-transform:uppercase}.main-nav-center .toggle-nav{position:fixed;z-index:99}.layout3-menu .main-menu .menu-left .main-menu-right .toggle-nav{right:unset;top:-1px}.main-menu .menu-left .main-menu-right .close-mobile-menu{position:absolute;z-index:2}.main-menu .menu-left .main-menu-right .close-mobile-menu .sidebar-name{font-size:18px;padding-left:5px;text-transform:uppercase}.main-nav-center .close-mobile-menu{position:fixed;z-index:99}.layout3-menu .main-menu .menu-left .main-menu-right .close-mobile-menu{right:unset;top:-1px}.rtl .mega-box .link-section .demo ul li a span img{left:-70px}.rtl .sm li{text-align:right}.rtl .pixelstrap a .sub-arrow{right:unset;left:0}.rtl .pixelstrap li .lable-nav{left:unset;right:15px}.rtl .pixelstrap li .lable-nav:before{left:unset;right:5px}}@media (max-width: 991.98px){.top-header .header-contact{display:none}}@media (min-width: 1200px){#main-menu{width:unset;height:auto!important;padding-bottom:unset!important}}@media (max-width: 767.98px){.main-nav-center .hover-unset{position:fixed!important}}@media (min-width: 576px){.main-menu .menu-right .icon-nav .mobile-search i,.main-menu .menu-right .icon-nav .mobile-cart i,.main-menu .menu-right .icon-nav .mobile-setting i{display:none}.main-menu .menu-right .icon-nav .mobile-search .close-circle i,.main-menu .menu-right .icon-nav .mobile-cart .close-circle i,.main-menu .menu-right .icon-nav .mobile-setting .close-circle i{display:block}.main-menu .menu-right .icon-nav .mobile-search .show-div .form-inline button i{display:inline-block}}@media (max-width: 575.98px){.top-header{height:0}.mobile-fix-option{position:fixed;bottom:0;left:0;height:60px;background-color:#fff;width:100vw;z-index:1;-webkit-box-shadow:0 2px 5px 0 #a8a8a8;box-shadow:0 2px 5px #a8a8a8}.top-header .header-dropdown .mobile-account,.top-header .header-dropdown .mobile-wishlist{position:fixed;bottom:20px;right:32%;font-size:0;padding:0;z-index:9}.top-header .header-dropdown .mobile-account i,.top-header .header-dropdown .mobile-wishlist i{font-size:22px;font-family:themify;color:#999}.top-header .header-dropdown .mobile-account i:before,.top-header .header-dropdown .mobile-wishlist i:before{content:"\\e602"}.top-header .header-dropdown .mobile-account .onhover-show-div,.top-header .header-dropdown .mobile-wishlist .onhover-show-div{top:unset;bottom:42px;right:0}.top-header .header-dropdown .mobile-account:hover i,.top-header .header-dropdown .mobile-wishlist:hover i{color:#999}.top-header .header-dropdown .mobile-wishlist{right:64%}.top-header .header-dropdown .mobile-wishlist i{font-family:themify;color:#999!important}.top-header .header-dropdown .mobile-wishlist i:before{content:"\\e634"}.main-menu .menu-left.category-nav-right .navbar{padding-left:0!important}.main-menu .menu-left .navbar{padding:30px 45px 30px 0!important}.main-menu .menu-right .icon-nav .mobile-setting,.main-menu .menu-right .icon-nav .mobile-cart,.main-menu .menu-right .icon-nav .mobile-search{position:fixed;bottom:20px;right:16%;font-size:0;padding:0}.main-menu .menu-right .icon-nav .mobile-setting .show-div,.main-menu .menu-right .icon-nav .mobile-cart .show-div,.main-menu .menu-right .icon-nav .mobile-search .show-div{top:-58px;left:0}.main-menu .menu-right .icon-nav .mobile-setting .show-div.shopping-cart,.main-menu .menu-right .icon-nav .mobile-cart .show-div.shopping-cart,.main-menu .menu-right .icon-nav .mobile-search .show-div.shopping-cart{top:unset;bottom:42px;left:-118px!important}.main-menu .menu-right .icon-nav .mobile-setting i{display:inline-block;font-size:22px;color:#999}.main-menu .menu-right .icon-nav .mobile-setting>div img{display:none}.main-menu .menu-right .icon-nav .mobile-setting .setting{top:unset;bottom:42px;left:unset!important}.main-menu .menu-right .icon-nav .mobile-cart{right:48%}.main-menu .menu-right .icon-nav .mobile-cart .close-circle i{font-size:14px}.main-menu .menu-right .icon-nav .mobile-cart i{display:inline-block;font-size:22px;color:#999}.main-menu .menu-right .icon-nav .mobile-cart>div img{display:none}.main-menu .menu-right .icon-nav .mobile-search{right:80%;z-index:1}.main-menu .menu-right .icon-nav .mobile-search i{display:inline-block;font-size:22px;color:#999}.main-menu .menu-right .icon-nav .mobile-search img{display:none}.main-menu .menu-right .icon-nav .mobile-search .show-div .form-group{margin-bottom:0}.main-menu .menu-right .icon-nav .mobile-search .show-div .form-inline button i{font-size:14px}.brand-logo{position:absolute;left:50%;margin-right:-50%;-webkit-transform:translateX(-50%);transform:translate(-50%);padding-top:30px!important;padding-bottom:30px!important}.toggle-nav,.close-mobile-menu{padding-top:30px;padding-bottom:30px}.rtl .main-nav-center .toggle-nav,.rtl .main-nav-center .close-mobile-menu{right:unset;left:15px}.rtl .main-menu .menu-right .icon-nav .mobile-setting,.rtl .main-menu .menu-right .icon-nav .mobile-cart,.rtl .main-menu .menu-right .icon-nav .mobile-search{right:unset;left:16%}.rtl .main-menu .menu-right .icon-nav .mobile-setting .show-div,.rtl .main-menu .menu-right .icon-nav .mobile-cart .show-div,.rtl .main-menu .menu-right .icon-nav .mobile-search .show-div{left:unset;right:0}.rtl .main-menu .menu-right .icon-nav .mobile-setting .show-div.shopping-cart,.rtl .main-menu .menu-right .icon-nav .mobile-cart .show-div.shopping-cart,.rtl .main-menu .menu-right .icon-nav .mobile-search .show-div.shopping-cart{left:unset!important;right:-118px!important}.rtl .main-menu .menu-right .icon-nav .mobile-setting .setting{left:unset!important}.rtl .main-menu .menu-right .icon-nav .mobile-cart{right:unset;left:48%}.rtl .main-menu .menu-right .icon-nav .mobile-search{right:unset;left:80%}.rtl .main-menu .menu-left .navbar{padding:30px 0 30px 25px!important}.rtl .top-header .header-dropdown .mobile-account,.rtl .top-header .header-dropdown .mobile-wishlist{right:unset;left:32%}.rtl .top-header .header-dropdown .mobile-account .onhover-show-div,.rtl .top-header .header-dropdown .mobile-wishlist .onhover-show-div{right:0}.rtl .top-header .header-dropdown .mobile-wishlist{right:unset;left:64%}}@media (max-width: 575.98px){.brand-logo img{height:25px}}@media (min-width: 768px){.main-nav-center .toggle-nav{position:absolute;z-index:5990;top:-80px;float:right}.main-nav-center .close-mobile-menu{top:-80px}}@media (max-width: 767.98px){.pixelstrap a,.pixelstrap a:hover{padding-right:35px}}@media (max-width: 1199.98px){.menu-container-list .wide-box .row{display:grid}#navbar-box{background-color:transparent}#mega-menu{max-height:100%}.pixelstrap .full-mega-menu{padding-left:0!important;padding-top:0!important}.sm-horizontal{overflow:auto}.mega-box{padding-left:2px;padding-right:2px}.wide-box{width:100%}.pixelstrap ul ul a,.pixelstrap ul ul a:hover,.pixelstrap ul ul a:focus,.pixelstrap ul ul a:active{border-left:0}.pixelstrap a,.pixelstrap a:hover,.pixelstrap a:active{text-transform:none}.menu-content ul li{margin:10px 0;border:0}.sub-arrow-child{position:absolute;top:9px;left:auto;right:15px;width:34px;height:34px;overflow:hidden;font:700 20px/34px monospace!important;text-align:center;text-shadow:none;border-radius:20px;display:block}.sub-arrow-child:before{content:"+"!important;background:transparent}.roll-child.roll-back .sub-arrow-child:before{content:"-"!important;background:#fff}.menu-content{display:none}.main-nav-center .toggle-nav{position:absolute;z-index:7000;float:right}.main-nav-center .close-mobile-menu{position:absolute;z-index:6000;float:right}.pixelstrap a,.pixelstrap a:hover,.pixelstrap a:active{font-weight:700}}.card-columns .card{border-bottom:.35rem solid}.card-columns{column-count:3;column-gap:1.25rem}.card-columns .mega-box{border:0!important}.menu-container-list .wide-box .row{display:block}.menu-title a.menu-header-link,.menu-title a.menu-header-link:hover{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px!important;text-transform:none!important;font-weight:600!important;padding-right:32px} `],encapsulation:2})}}return t})();var YM=new M("LoginDataService");var ZM=new M("MediaService");var jb=class{};function rU(t){return Array.isArray(t)?t:t.split(",")}var JM=(()=>{class t{constructor(){this.clickOutsideEnabled=Xt(!0,{transform:H}),this.clickOutsideEvents=Xt(["click"],{transform:rU}),this.clickOutside=Tr(),this.excludeDirective=C(jb,{host:!0,optional:!0}),this._el=C(ye),this._ngZone=C(ue),this.document=C(De),this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),On(()=>this._init())}ngOnDestroy(){this._removeClickOutsideListener()}_init(){this._initOnClickBody()}_initOnClickBody(){this._initClickOutsideListener()}_emit(e){this._ngZone.run(()=>this.clickOutside.emit(e))}_initClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this.clickOutsideEvents().forEach(e=>this.document.addEventListener(e,this._onClickBody))})}_removeClickOutsideListener(){this._ngZone.runOutsideAngular(()=>{this.clickOutsideEvents().forEach(e=>this.document.removeEventListener(e,this._onClickBody))})}_onClickBody(e){this.clickOutsideEnabled()&&!this._el.nativeElement.contains(e.target)&&!this.excludeDirective?.isExclude(e.target)&&this._emit(e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=te({type:t,selectors:[["","clickOutside","",3,"delayClickOutsideInit","",3,"attachOutsideOnClick",""]],inputs:{clickOutsideEnabled:[1,"clickOutsideEnabled"],clickOutsideEvents:[1,"clickOutsideEvents"]},outputs:{clickOutside:"clickOutside"}})}}return t})();var aU=[[["loginMail"]],[["loginMenuContent"]]],lU=["loginMail","loginMenuContent"];function cU(t,i){if(t&1&&(h(0,"p",7),E(1),f()),t&2){let e=i.ngIf;d(),B(e)}}function dU(t,i){if(t&1){let e=U();h(0,"div",8),Ae(1),h(2,"ul"),Ae(3,1),h(4,"li")(5,"a",9),R("click",function(){D(e);let o=m();return O(o.onClickUserLogout())}),E(6),I(7,"translate"),f()()()()}t&2&&(d(6),B(T(7,1,"USER_PANEL.LOGOUT")))}function uU(t,i){t&1&&(h(0,"span",10),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"LOGIN_BOX.LOGIN")))}var T1e=(()=>{class t{constructor(e,n,o,r){this.authService=e,this.router=n,this.loginDataService=o,this.mediaService=r,this.destroySubject=new K,this.userClickedLogoutSubject=new K,this.showLoginMenu=!1,this.isEmailExist=!1,this.addressEmail=mo(this.loginDataService.observeLoginDataChanges(),this.mediaService.windowFocusChanged$().pipe(de(s=>s),pe(()=>this.loginDataService.getLoginData()))).pipe(z(s=>s.email),be(s=>{this.isEmailExist=!!s,this.showLoginMenu=!1})),n.events.pipe(ke(this.destroySubject)).subscribe(s=>{s instanceof Kr&&(this.showLoginMenu=!1)}),this.userClickedLogoutSubject.pipe(ke(this.destroySubject),mt(300),pe(()=>this.authService.logout())).subscribe()}ngOnInit(){}onClickLoginMenu(){this.isEmailExist?this.showLoginMenu=!this.showLoginMenu:this.router.navigate([`/${um}`])}onClickedOutside(){this.showLoginMenu=!1}onClickUserLogout(){this.userClickedLogoutSubject.next()}ngOnDestroy(){this.destroySubject.next(!0),this.destroySubject.complete(),this.userClickedLogoutSubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(Vi),b(ut),b(YM),b(ZM))}}static{this.\u0275cmp=A({type:t,selectors:[["app-login-menu"]],standalone:!1,ngContentSelectors:lU,decls:11,vars:11,consts:[["notLogged",""],[1,"login-icon-box",3,"clickOutside"],[1,"login-icon","float-start","clearfix",3,"click"],["src","assets/svg/logo-sonel-id-sygnet.svg",3,"alt","title"],[1,"login-url",3,"click"],["class","login-url-a display-email-app-login-menu",4,"ngIf","ngIfElse"],["class","login-menu-container",4,"ngIf"],[1,"login-url-a","display-email-app-login-menu"],[1,"login-menu-container"],[3,"click"],[1,"login-url-a"]],template:function(n,o){if(n&1){let r=U();Xe(aU),h(0,"div",1),R("clickOutside",function(){return D(r),O(o.onClickedOutside())}),h(1,"div",2),R("click",function(){return D(r),O(o.onClickLoginMenu())}),w(2,"img",3),I(3,"translate"),I(4,"translate"),f(),h(5,"div",4),R("click",function(){return D(r),O(o.onClickLoginMenu())}),_(6,cU,2,1,"p",5),I(7,"async"),f(),_(8,dU,8,3,"div",6),f(),_(9,uU,3,3,"ng-template",null,0,we)}if(n&2){let r=ge(10);d(2),$e("alt",T(3,5,"LOGIN_BOX.LOGIN")),$e("title",T(4,7,"LOGIN_BOX.LOGIN")),d(4),u("ngIf",T(7,9,o.addressEmail))("ngIfElse",r),d(2),u("ngIf",o.showLoginMenu)}},dependencies:[ee,JM,At,lt,Le],styles:[".login-icon-box[_ngcontent-%COMP%]{float:right;display:flex;flex-wrap:wrap;transition:background-color .2s;border-radius:8px;-webkit-user-select:none;user-select:none;margin-right:10px}.login-icon-box[_ngcontent-%COMP%]:has(.login-menu-container){background-color:#b8b8b8cc;padding:6px;margin-left:-6px;margin-right:4px;box-shadow:#b8b8b8cc 2px 2px 32px}.login-url[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.login-icon[_ngcontent-%COMP%]{width:35px;height:35px;cursor:pointer}.login-url-a[_ngcontent-%COMP%]{cursor:pointer;color:#003463!important;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px!important;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px;width:100%;margin-left:4px;display:none;line-height:20px}.login-menu-container[_ngcontent-%COMP%]{position:absolute;left:0;z-index:100000;margin:8px;top:65px;right:0;background:#fff;padding:10px;border:1px solid #C2C9CC;box-shadow:#b8b8b8cc 2px 2px 32px;transform-origin:top right;animation:_ngcontent-%COMP%_login-menu-container-apperance .14s}.login-menu-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none} .login-menu-container ul li{display:block;margin:16px 0}.login-menu-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;color:#003463!important;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px!important}.login-menu-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline!important}@media (min-width: 1200px){.login-url-a[_ngcontent-%COMP%]{display:block}}@media (max-width: 991.98px){.login-url-a[_ngcontent-%COMP%]{display:block}}@media (min-width: 768px){.login-icon-box[_ngcontent-%COMP%]{margin-right:0}.login-icon-box[_ngcontent-%COMP%]:has(.login-menu-container){margin-right:-6px}}@media (min-width: 576px){ .login-menu-container ul li{margin:unset}}@media (min-width: 576px){.login-icon-box[_ngcontent-%COMP%]{position:relative}.login-menu-container[_ngcontent-%COMP%]{position:absolute;left:unset;margin:unset;text-wrap:nowrap}}@media (max-width: 1360px){.login-url[_ngcontent-%COMP%]{display:none}}@keyframes _ngcontent-%COMP%_login-menu-container-apperance{0%{opacity:0;scale:.6}to{opacity:1;scale:1}}"]})}}return t})();var $b;try{$b=typeof Intl<"u"&&Intl.v8BreakIterator}catch{$b=!1}var Dn=(()=>{class t{_platformId=C(Fe);isBrowser=this._platformId?We(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||$b)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Bl(t){return Array.isArray(t)?t:[t]}var XM=new Set,zs,t2=(()=>{class t{_platform=C(Dn);_nonce=C(Rc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hU}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&pU(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pU(t,i){if(!XM.has(t))try{zs||(zs=document.createElement("style"),i&&zs.setAttribute("nonce",i),zs.setAttribute("type","text/css"),document.head.appendChild(zs)),zs.sheet&&(zs.sheet.insertRule(`@media ${t} {body{ }}`,0),XM.add(t))}catch(e){console.error(e)}}function hU(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Ii=(()=>{class t{_mediaMatcher=C(t2);_zone=C(ue);_queries=new Map;_destroySubject=new K;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return e2(Bl(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=e2(Bl(e)).map(s=>this._registerQuery(s).observable),r=Kn(o);return r=Fn(r.pipe(xt(1)),r.pipe(zu(1),mt(0))),r.pipe(z(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let n=this._mediaMatcher.matchMedia(e),r={observable:new Te(s=>{let a=l=>this._zone.run(()=>s.next(l));return n.addListener(a),()=>{n.removeListener(a)}}).pipe(Ln(n),z(({matches:s})=>({query:e,matches:s})),ke(this._destroySubject)),mql:n};return this._queries.set(e,r),r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function e2(t){return t.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var Us={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var n2=new M("SearchService"),i2=new M("SelectSearchPhrase");var o2=(()=>{class t{constructor(e){this.datePipe=e,this.isUrlArray=/^p\[([\w0-9\-_.,]+)\](\[([0-9]+)\])?$/,this.parametersAlias="p",this.defaults={includeNavigation:!0,pageNumber:0,pageSize:10},this.keyMappers={wildcardQuery:"wqr",price:"pri",category:"uri",sortField:"sort",sortDescending:"desc",dateFrom:"dateFrom",dateTo:"dateTo",pageNumber:"page",pageSize:"size"},this.reverseKeyMappers={};for(let[n,o]of Object.entries(this.keyMappers))this.reverseKeyMappers[o]=n}convertToUrlParams(e){let n={};e.parameters&&Object.keys(e.parameters).forEach(r=>{let s=this.keyMappers[r]?this.keyMappers[r]:r;Array.isArray(e.parameters[r])&&e.parameters[r].length>1?e.parameters[r].forEach((a,l)=>{n[`${this.parametersAlias}[${s}][${l}]`]=e.parameters[r]}):n[`${this.parametersAlias}[${s}]`]=e.parameters[r]}),delete n.uri,delete e.parameters,delete e.includeNavigation;let o={};for(let[r,s]of Object.entries(e)){let a=this.keyMappers[r]?this.keyMappers[r]:r;s instanceof Date?o[a]=this.datePipe.transform(s,"yyyy-MM-dd"):o[a]=s}return k(k({},n),o)}convertToSearchModel(e){let n={},o={};return Object.keys(e).forEach(r=>{if(this.isUrlArray.test(r)){let s=this.isUrlArray.exec(r),a=this.getKeyFromAlias(s[1]);o[a]||(o[a]=[]),o[a]=this.mapUrlParameter(r,e)}else{let s=this.getKeyFromAlias(r);n[s]=e[r]}}),Object.keys(o).length>0&&(n.parameters=o),Object.keys(this.defaults).forEach(r=>{n[r]||(n[r]=this.defaults[r])}),n}mapUrlParameter(e,n){let o=[];return Array.isArray(n[e])?n[e].forEach(r=>o.push(r)):o.push(n[e]),o}getKeyFromAlias(e){let n=e;return this.reverseKeyMappers.hasOwnProperty(e)&&(n=this.reverseKeyMappers[e]),n}static{this.\u0275fac=function(n){return new(n||t)(L(_T))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var mU=["searchInput"],gU=["filteredListElement"],_U=["historyListElement"],yU=t=>({active:t}),r2=(t,i)=>({"is-hidden":t,"is-visible":i}),Ld=t=>({$implicit:t});function vU(t,i){if(t&1){let e=U();h(0,"div",14),R("click",function(o){D(e);let r=m();return O(r.remove(o))}),h(1,"i",15),E(2,"close"),f()()}}function bU(t,i){t&1&&(h(0,"div",16),w(1,"div",17)(2,"div",18)(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22)(7,"div",23)(8,"div",24)(9,"div",25)(10,"div",26)(11,"div",27)(12,"div",28),f())}function CU(t,i){if(t&1&&(h(0,"div",29)(1,"div",30),E(2),f()()),t&2){let e=m();d(2),B(e.heading)}}function wU(t,i){t&1&&le(0)}function xU(t,i){if(t&1){let e=U();h(0,"div",33),R("click",function(){D(e);let o=m().$implicit,r=m();return O(r.select(o))}),_(1,wU,1,0,"ng-container",34),I(2,"highlight"),f()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m();tt("complete-selected",o===r.selectedIdx),d(),u("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",ce(7,Ld,Pt(2,4,n,r.toHighlight)))}}function EU(t,i){t&1&&le(0)}function IU(t,i){if(t&1){let e=U();h(0,"div",33),R("click",function(){D(e);let o=m().$implicit,r=m();return O(r.select(o))}),_(1,EU,1,0,"ng-container",34),I(2,"highlight"),f()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m();tt("complete-selected",o===r.selectedIdx),d(),u("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",ce(8,Ld,ui(2,4,n,r.toHighlight,r.searchKeyword)))}}function SU(t,i){if(t&1&&(h(0,"li",31),_(1,xU,3,9,"div",32)(2,IU,3,10,"div",32),f()),t&2){let e=i.$implicit,n=m();d(),u("ngIf",n.isTypeString(e)),d(),u("ngIf",!n.isTypeString(e))}}function TU(t,i){if(t&1){let e=U();h(0,"div",29)(1,"div",30),E(2),f(),h(3,"div",14),R("click",function(o){D(e);let r=m();return O(r.resetHistoryList(o))}),h(4,"i",35),E(5,"delete"),f()()()}if(t&2){let e=m();d(2),B(e.historyHeading)}}function DU(t,i){t&1&&le(0)}function OU(t,i){if(t&1){let e=U();h(0,"div",33),R("click",function(){D(e);let o=m().$implicit,r=m();return O(r.select(o))}),_(1,DU,1,0,"ng-container",34),f()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m();tt("complete-selected",o===r.selectedIdx),d(),u("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",ce(4,Ld,n))}}function MU(t,i){t&1&&le(0)}function RU(t,i){if(t&1){let e=U();h(0,"div",33),R("click",function(){D(e);let o=m().$implicit,r=m();return O(r.select(o))}),_(1,MU,1,0,"ng-container",34),f()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m();tt("complete-selected",o===r.selectedIdx),d(),u("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",ce(4,Ld,n))}}function PU(t,i){if(t&1){let e=U();h(0,"li",31),_(1,OU,2,6,"div",32)(2,RU,2,6,"div",32),h(3,"div",14),R("click",function(o){let r=D(e).index,s=m();return O(s.removeHistoryItem(r,o))}),h(4,"i",15),E(5,"close"),f()()()}if(t&2){let e=i.$implicit,n=m();d(),u("ngIf",n.isTypeString(e)),d(),u("ngIf",!n.isTypeString(e))}}function kU(t,i){t&1&&le(0)}function AU(t,i){if(t&1&&(h(0,"div",36),_(1,kU,1,0,"ng-container",34),f()),t&2){let e=m();d(),u("ngTemplateOutlet",e.notFoundTemplate)("ngTemplateOutletContext",ce(2,Ld,e.notFoundText))}}function NU(t,i){if(t&1){let e=U();h(0,"div",37),R("click",function(){D(e);let o=m();return O(o.handleOverlay())}),f()}}var FU=(()=>{class t{transform(e,n,o){let r=n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");r=r.split(" ").filter(a=>a.length>0).join("|");let s=new RegExp(r,"gi");if(!n)return e;if(o){let a=e[o].replace(s,c=>`${c}`),l=k({},e);return l[o]=a,l}else return n?e.replace(s,a=>`${a}`):e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=In({name:"highlight",type:t,pure:!0,standalone:!1}),t})(),LU=t=>t===38,VU=t=>t===40,s2=t=>LU(t)||VU(t),Hb=t=>t===13,BU=t=>t===8,jU=t=>t===46,a2=t=>t===27,l2=t=>t===9,hm=(()=>{class t{constructor(e,n){this.renderer=n,this.query="",this.filteredList=[],this.historyList=[],this.isHistoryListVisible=!0,this.selectedIdx=-1,this.toHighlight="",this.notFound=!1,this.isFocused=!1,this.isOpen=!1,this.isScrollToEnd=!1,this.overlay=!1,this.manualOpen=void 0,this.manualClose=void 0,this.data=[],this.placeholder="",this.heading="",this.historyHeading="Recently selected",this.historyListMaxNumber=15,this.notFoundText="Not found",this.minQueryLength=1,this.focusFirst=!1,this.selected=new F,this.inputChanged=new F,this.inputFocused=new F,this.inputCleared=new F,this.opened=new F,this.closed=new F,this.scrolledToEnd=new F,this.propagateChange=()=>{},this.onTouched=()=>{},this.elementRef=e}writeValue(e=""){this.query=this.selectedValueRender!==void 0?this.selectedValueRender(e):this.defaultWriteValue(e)}defaultWriteValue(e){return e&&!this.isTypeString(e)?e[this.searchKeyword]:e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.onTouched=e}onChange(e){this.propagateChange(e.target.value)}setDisabledState(e){this.disabled=e}ngOnInit(){}ngAfterViewInit(){this.initEventStream(),this.handleScroll()}setInitialValue(e){this.initialValue&&this.select(e)}ngOnChanges(e){this.setInitialValue(this.initialValue),e&&e.data&&Array.isArray(e.data.currentValue)&&(this.handleItemsChange(),!e.data.firstChange&&this.isFocused&&this.handleOpen())}handleItemsChange(){this.isScrollToEnd=!1,this.isOpen&&(this.filteredList=this.data,this.notFound=!this.filteredList||this.filteredList.length===0,this.isOpen&&this.filterList())}filterList(){this.selectedIdx=-1,this.initSearchHistory(),this.query!=null&&this.data?(this.toHighlight=this.query,this.filteredList=this.customFilter!==void 0?this.customFilter([...this.data],this.query):this.defaultFilterFunction(),this.filteredList.length>0&&this.focusFirst&&(this.selectedIdx=0)):this.notFound=!1}defaultFilterFunction(){return this.data.filter(e=>{if(typeof e=="string")return e.toLowerCase().indexOf(this.query.toLowerCase())>-1;if(typeof e=="object"&&e instanceof Object)return e[this.searchKeyword]?e[this.searchKeyword].toLowerCase().indexOf(this.query.toLowerCase())>-1:""})}isTypeString(e){return typeof e=="string"}select(e){if(this.query=this.isTypeString(e)?e:e[this.searchKeyword],this.isOpen=!0,this.overlay=!1,this.selected.emit(e),this.propagateChange(e),this.initialValue)if(window.localStorage.getItem(`${this.historyIdentifier}`)){let o=JSON.parse(localStorage[`${this.historyIdentifier}`]);if(o instanceof Array||(o=[]),!o.some(r=>this.isTypeString(r)?r==e:r[this.searchKeyword]==e[this.searchKeyword]))o.unshift(e),localStorage.setItem(`${this.historyIdentifier}`,JSON.stringify(o)),o.length>=this.historyListMaxNumber&&(o.splice(o.length-1,1),localStorage.setItem(`${this.historyIdentifier}`,JSON.stringify(o)));else if(this.isTypeString(e)){let r=o.slice();r.splice(r.indexOf(e),1),r.splice(0,0,e),localStorage.setItem(`${this.historyIdentifier}`,JSON.stringify(r))}else{let r=o.slice(),s=r.map(a=>a[this.searchKeyword]).indexOf(e[this.searchKeyword]);r.splice(s,1),r.splice(0,0,e),localStorage.setItem(`${this.historyIdentifier}`,JSON.stringify(r))}}else this.saveHistory(e);else this.saveHistory(e);this.handleClose()}handleClick(e){let n=e.target,o=!1;do n===this.elementRef.nativeElement&&(o=!0,this.filteredList.length&&this.handleOpen()),n=n.parentNode;while(n);o||this.handleClose()}handleOverlay(){this.overlay=!1}handleScroll(){this.renderer.listen(this.filteredListElement.nativeElement,"scroll",()=>{this.scrollToEnd()})}setPanelState(e){e&&e.stopPropagation(),typeof this.manualOpen>"u"&&typeof this.manualClose>"u"&&(this.isOpen=!1,this.handleOpen()),(typeof this.manualOpen>"u"&&this.manualClose===!1||typeof this.manualClose>"u"&&this.manualOpen===!1)&&(this.isOpen=!1,this.handleOpen()),this.manualOpen===!1&&this.manualClose===!1&&(this.isOpen=!1,this.handleOpen()),this.manualOpen&&(this.isOpen=!1,this.handleOpen(),this.manualOpen=!1),this.manualClose&&(this.isOpen=!0,this.handleClose(),this.manualClose=!1)}open(){this.manualOpen=!0,this.isOpen=!1,this.handleOpen()}close(){this.manualClose=!0,this.isOpen=!0,this.handleClose()}focus(){this.handleFocus(event)}clear(){this.remove(event)}remove(e){e.stopPropagation(),this.query="",this.inputCleared.emit(),this.propagateChange(this.query),this.setPanelState(e),this.data&&!this.data.length&&(this.notFound=!1)}initSearchHistory(){if(this.isHistoryListVisible=!1,this.historyIdentifier&&!this.query){let e=window.localStorage.getItem(`${this.historyIdentifier}`);e?(this.isHistoryListVisible=!0,this.filteredList=[],this.historyList=e?JSON.parse(e):[]):this.isHistoryListVisible=!1}else this.isHistoryListVisible=!1}handleOpen(){this.isOpen||this.isOpen&&!this.isLoading||this.data&&this.data.length&&(this.isOpen=!0,this.overlay=!0,this.filterList(),this.opened.emit())}handleClose(){if(!this.isOpen){this.isFocused=!1;return}this.isOpen=!1,this.overlay=!1,this.filteredList=[],this.selectedIdx=-1,this.notFound=!1,this.isHistoryListVisible=!1,this.isFocused=!1,this.closed.emit()}handleFocus(e){this.searchInput.nativeElement.focus(),!this.isFocused&&(this.inputFocused.emit(e),this.data&&this.data.length&&this.setPanelState(e),this.isFocused=!0)}scrollToEnd(){if(this.isScrollToEnd)return;let e=this.filteredListElement.nativeElement.scrollTop,n=this.filteredListElement.nativeElement.scrollHeight,o=this.filteredListElement.nativeElement.clientHeight;o!=0&&Math.abs(n-o-e)<1&&(this.scrolledToEnd.emit(),this.isScrollToEnd=!0)}initEventStream(){this.inputKeyUp$=Ut(this.searchInput.nativeElement,"keyup").pipe(z(e=>e)),this.inputKeyDown$=Ut(this.searchInput.nativeElement,"keydown").pipe(z(e=>e)),this.listenEventStream()}listenEventStream(){this.inputKeyUp$.pipe(de(e=>!s2(e.keyCode)&&!Hb(e.keyCode)&&!a2(e.keyCode)&&!l2(e.keyCode)),mt(this.debounceTime)).subscribe(e=>{this.onKeyUp(e)}),this.inputKeyDown$.pipe(de(e=>s2(e.keyCode))).subscribe(e=>{e.preventDefault(),this.onFocusItem(e)}),this.inputKeyUp$.pipe(de(e=>Hb(e.keyCode))).subscribe(e=>{}),this.inputKeyDown$.pipe(de(e=>Hb(e.keyCode))).subscribe(e=>{this.onHandleEnter()}),this.inputKeyUp$.pipe(de(e=>a2(e.keyCode),mt(100))).subscribe(e=>{this.onEsc()}),this.inputKeyDown$.pipe(de(e=>l2(e.keyCode))).subscribe(e=>{this.onTab()}),this.inputKeyDown$.pipe(de(e=>BU(e.keyCode)||jU(e.keyCode))).subscribe(e=>{this.onDelete()})}onKeyUp(e){this.notFound=!1,this.query||(this.notFound=!1,this.inputChanged.emit(e.target.value),this.inputCleared.emit(),this.setPanelState(e)),!(!this.query&&this.query!=="")&&this.query.length>=this.minQueryLength&&(this.inputChanged.emit(e.target.value),this.filterList(),!this.filteredList.length&&!this.isLoading&&(this.notFoundText?this.notFound=!0:this.notFound=!1),this.data&&!this.data.length&&(this.isOpen=!0))}onFocusItem(e){if(!this.historyList.length||!this.isHistoryListVisible){let n=this.filteredList.length;if(e.key==="ArrowDown"){let o=this.selectedIdx;o=this.selectedIdx===null?0:o+1,this.selectedIdx=(n+o)%n,this.scrollToFocusedItem(this.selectedIdx)}else e.key==="ArrowUp"&&(this.selectedIdx==-1&&(this.selectedIdx=0),this.selectedIdx=(n+this.selectedIdx-1)%n,this.scrollToFocusedItem(this.selectedIdx))}else{let n=this.historyList.length;if(e.key==="ArrowDown"){let o=this.selectedIdx;o=this.selectedIdx===null?0:o+1,this.selectedIdx=(n+o)%n,this.scrollToFocusedItem(this.selectedIdx)}else e.key==="ArrowUp"&&(this.selectedIdx==-1&&(this.selectedIdx=0),this.selectedIdx=(n+this.selectedIdx-1)%n,this.scrollToFocusedItem(this.selectedIdx))}}scrollToFocusedItem(e){let n=null;!this.historyList.length||!this.isHistoryListVisible?n=this.filteredListElement.nativeElement:n=this.historyListElement.nativeElement;let o=Array.prototype.slice.call(n.childNodes).filter(p=>p.nodeType===1?p.className.includes("item"):!1);if(!o.length)return;let r=n.offsetHeight,s=o[e].offsetHeight,a=n.scrollTop,l=n.scrollTop+r-s,c=o[e].offsetTop;cl&&(n.scrollTop=c-r+s)}onHandleEnter(){this.selectedIdx>-1&&(!this.historyList.length||!this.isHistoryListVisible?(this.query=this.isTypeString(this.filteredList[this.selectedIdx])?this.filteredList[this.selectedIdx]:this.filteredList[this.selectedIdx][this.searchKeyword],this.saveHistory(this.filteredList[this.selectedIdx]),this.select(this.filteredList[this.selectedIdx])):(this.query=this.isTypeString(this.historyList[this.selectedIdx])?this.historyList[this.selectedIdx]:this.historyList[this.selectedIdx][this.searchKeyword],this.saveHistory(this.historyList[this.selectedIdx]),this.select(this.historyList[this.selectedIdx]))),this.isHistoryListVisible=!1,this.handleClose()}onEsc(){this.searchInput.nativeElement.blur(),this.handleClose()}onTab(){this.searchInput.nativeElement.blur(),this.handleClose()}onDelete(){this.isOpen=!0}saveHistory(e){if(this.historyIdentifier)if(!this.historyList.some(n=>this.isTypeString(n)?n==e:n[this.searchKeyword]==e[this.searchKeyword]))this.saveHistoryToLocalStorage([e,...this.historyList]),this.historyList.length>=this.historyListMaxNumber&&(this.historyList.splice(this.historyList.length-1,1),this.saveHistoryToLocalStorage([e,...this.historyList]));else if(this.isTypeString(e)){let n=this.historyList.slice();n.splice(this.historyList.indexOf(e),1),n.splice(0,0,e),this.saveHistoryToLocalStorage([...n])}else{let n=this.historyList.slice(),o=n.map(r=>r[this.searchKeyword]).indexOf(e[this.searchKeyword]);n.splice(o,1),n.splice(0,0,e),this.saveHistoryToLocalStorage([...n])}}saveHistoryToLocalStorage(e){window.localStorage.setItem(`${this.historyIdentifier}`,JSON.stringify(e))}removeHistoryItem(e,n){n.stopPropagation(),this.historyList=this.historyList.filter((o,r)=>r!==e),this.saveHistoryToLocalStorage(this.historyList),this.historyList.length==0&&(window.localStorage.removeItem(`${this.historyIdentifier}`),this.filterList())}resetHistoryList(e){e.stopPropagation(),this.historyList=[],window.localStorage.removeItem(`${this.historyIdentifier}`),this.filterList()}}return t.\u0275fac=function(e){return new(e||t)(b(ye),b(wt))},t.\u0275cmp=A({type:t,selectors:[["ng-autocomplete"]],contentQueries:function(e,n,o){if(e&1&&he(o,Tt,5),e&2){let r;G(r=W())&&(n.customTemplate=r.first)}},viewQuery:function(e,n){if(e&1&&(ve(mU,5),ve(gU,5),ve(_U,5)),e&2){let o;G(o=W())&&(n.searchInput=o.first),G(o=W())&&(n.filteredListElement=o.first),G(o=W())&&(n.historyListElement=o.first)}},hostAttrs:[1,"ng-autocomplete"],hostBindings:function(e,n){e&1&&R("click",function(r){return n.handleClick(r)},!1,lI)},inputs:{data:"data",searchKeyword:"searchKeyword",placeholder:"placeholder",heading:"heading",initialValue:"initialValue",historyIdentifier:"historyIdentifier",historyHeading:"historyHeading",historyListMaxNumber:"historyListMaxNumber",notFoundText:"notFoundText",isLoading:"isLoading",debounceTime:"debounceTime",disabled:"disabled",minQueryLength:"minQueryLength",focusFirst:"focusFirst",customFilter:"customFilter",selectedValueRender:"selectedValueRender",itemTemplate:"itemTemplate",notFoundTemplate:"notFoundTemplate"},outputs:{selected:"selected",inputChanged:"inputChanged",inputFocused:"inputFocused",inputCleared:"inputCleared",opened:"opened",closed:"closed",scrolledToEnd:"scrolledToEnd"},standalone:!1,features:[fe([{provide:un,useExisting:st(()=>t),multi:!0}]),Ke],decls:18,vars:24,consts:[["searchInput",""],["filteredListElement",""],["historyListElement",""],["aria-owns","suggestions suggestions-history",1,"autocomplete-container",3,"ngClass"],[1,"input-container"],["type","text","aria-autocomplete","list","role","combobox","autocomplete","off",3,"ngModelChange","input","focus","blur","placeholder","ngModel","disabled"],["class","x",3,"click",4,"ngIf"],["class","sk-fading-circle",4,"ngIf"],["id","suggestions","role","listbox",1,"suggestions-container",3,"ngClass"],["class","heading",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],["id","suggestions-history","role","listbox",1,"suggestions-container",3,"ngClass"],["class","not-found",4,"ngIf"],["class","autocomplete-overlay",3,"click",4,"ngIf"],[1,"x",3,"click"],["aria-label","Close",1,"material-icons"],[1,"sk-fading-circle"],[1,"sk-circle1","sk-circle"],[1,"sk-circle2","sk-circle"],[1,"sk-circle3","sk-circle"],[1,"sk-circle4","sk-circle"],[1,"sk-circle5","sk-circle"],[1,"sk-circle6","sk-circle"],[1,"sk-circle7","sk-circle"],[1,"sk-circle8","sk-circle"],[1,"sk-circle9","sk-circle"],[1,"sk-circle10","sk-circle"],[1,"sk-circle11","sk-circle"],[1,"sk-circle12","sk-circle"],[1,"heading"],[1,"text"],[1,"item"],[3,"complete-selected","click",4,"ngIf"],[3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label","Delete",1,"material-icons"],[1,"not-found"],[1,"autocomplete-overlay",3,"click"]],template:function(e,n){if(e&1){let o=U();h(0,"div",3)(1,"div",4)(2,"input",5,0),hn("ngModelChange",function(s){return D(o),Sn(n.query,s)||(n.query=s),O(s)}),R("input",function(s){return D(o),O(n.onChange(s))})("focus",function(s){return D(o),O(n.handleFocus(s))})("blur",function(s){return D(o),O(n.onTouched(s))}),f(),_(4,vU,3,0,"div",6)(5,bU,13,0,"div",7),f(),h(6,"div",8),_(7,CU,3,1,"div",9),h(8,"ul",null,1),_(10,SU,3,2,"li",10),f()(),h(11,"div",11),_(12,TU,6,1,"div",9),h(13,"ul",null,2),_(15,PU,6,2,"li",10),f()(),_(16,AU,2,4,"div",12),f(),_(17,NU,1,0,"div",13)}e&2&&(u("ngClass",ce(16,yU,n.isOpen)),N("aria-expanded",n.isOpen),d(2),$e("placeholder",n.placeholder),pn("ngModel",n.query),u("disabled",n.disabled),N("aria-label",n.placeholder),d(2),u("ngIf",n.query&&!n.isLoading&&!n.disabled),d(),u("ngIf",n.isLoading),d(),u("ngClass",Ge(18,r2,n.isHistoryListVisible,!n.isHistoryListVisible)),d(),u("ngIf",n.filteredList.length>0&&n.heading),d(3),u("ngForOf",n.filteredList),d(),u("ngClass",Ge(21,r2,!n.isHistoryListVisible,n.isHistoryListVisible)),d(),u("ngIf",n.historyList.length>0&&n.historyHeading),d(3),u("ngForOf",n.historyList),d(),u("ngIf",n.isLoading?!n.isLoading&&n.notFound:n.notFound),d(),u("ngIf",n.overlay))},dependencies:[_t,Pi,Rn,gi,ee,at,vt,FU],styles:[`@import"https://fonts.googleapis.com/icon?family=Material+Icons";.ng-autocomplete{width:600px}.autocomplete-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;position:relative;overflow:visible;height:40px}.autocomplete-container .input-container input{font-size:14px;box-sizing:border-box;border:none;box-shadow:none;outline:none;background-color:#fff;color:#000000de;width:100%;padding:0 15px;line-height:40px;height:40px}.autocomplete-container .input-container input:disabled{background-color:#eee;color:#666}.autocomplete-container .input-container .x{position:absolute;right:10px;margin:auto;cursor:pointer;top:50%;transform:translateY(-50%)}.autocomplete-container .input-container .x i{color:#0000008a;font-size:22px;vertical-align:middle}.autocomplete-container .suggestions-container{position:absolute;width:100%;background:white;height:auto;box-shadow:0 2px 5px #00000040;box-sizing:border-box}.autocomplete-container .suggestions-container ul{padding:0;margin:0;max-height:240px;overflow-y:auto}.autocomplete-container .suggestions-container ul li{position:relative;list-style:none;padding:0;margin:0;cursor:pointer}.autocomplete-container .suggestions-container ul li a{padding:14px 15px;display:block;text-decoration:none;color:#333;cursor:pointer;color:#000000de;font-size:15px}.autocomplete-container .suggestions-container ul li:hover,.autocomplete-container .suggestions-container .complete-selected{background-color:#9e9e9e2e}.autocomplete-container .suggestions-container .heading{position:relative;padding:10px 15px;border:solid 1px #f1f1f1}.autocomplete-container .suggestions-container .heading .text{font-size:.85em}.autocomplete-container .suggestions-container .x{position:absolute;right:10px;margin:auto;cursor:pointer;top:50%;transform:translateY(-50%)}.autocomplete-container .suggestions-container .x i{color:#0000008a;font-size:18px;vertical-align:middle}.autocomplete-container .suggestions-container.is-hidden{visibility:hidden}.autocomplete-container .suggestions-container.is-visible{visibility:visible}.autocomplete-container .not-found{padding:0 .75em;border:solid 1px #f1f1f1;background:white}.autocomplete-container .not-found div{padding:.4em 0;font-size:.95em;line-height:1.4;border-bottom:1px solid rgba(230,230,230,.7)}.autocomplete-container.active{z-index:999}.highlight{font-weight:700}.autocomplete-overlay{position:fixed;background-color:transparent;width:100%;height:100%;top:0;right:0;bottom:0;left:0;z-index:50}input[type=text]::-ms-clear{display:none}.sk-fading-circle{width:20px;height:20px;position:absolute;right:10px;top:0;bottom:0;margin:auto}.sk-fading-circle .sk-circle{width:100%;height:100%;position:absolute;left:0;top:0}.sk-fading-circle .sk-circle:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;animation:sk-circleFadeDelay 1.2s infinite ease-in-out both}.sk-fading-circle .sk-circle2{transform:rotate(30deg)}.sk-fading-circle .sk-circle3{transform:rotate(60deg)}.sk-fading-circle .sk-circle4{transform:rotate(90deg)}.sk-fading-circle .sk-circle5{transform:rotate(120deg)}.sk-fading-circle .sk-circle6{transform:rotate(150deg)}.sk-fading-circle .sk-circle7{transform:rotate(180deg)}.sk-fading-circle .sk-circle8{transform:rotate(210deg)}.sk-fading-circle .sk-circle9{transform:rotate(240deg)}.sk-fading-circle .sk-circle10{transform:rotate(270deg)}.sk-fading-circle .sk-circle11{transform:rotate(300deg)}.sk-fading-circle .sk-circle12{transform:rotate(330deg)}.sk-fading-circle .sk-circle2:before{animation-delay:-1.1s}.sk-fading-circle .sk-circle3:before{animation-delay:-1s}.sk-fading-circle .sk-circle4:before{animation-delay:-.9s}.sk-fading-circle .sk-circle5:before{animation-delay:-.8s}.sk-fading-circle .sk-circle6:before{animation-delay:-.7s}.sk-fading-circle .sk-circle7:before{animation-delay:-.6s}.sk-fading-circle .sk-circle8:before{animation-delay:-.5s}.sk-fading-circle .sk-circle9:before{animation-delay:-.4s}.sk-fading-circle .sk-circle10:before{animation-delay:-.3s}.sk-fading-circle .sk-circle11:before{animation-delay:-.2s}.sk-fading-circle .sk-circle12:before{animation-delay:-.1s}@keyframes sk-circleFadeDelay{0%,39%,to{opacity:0}40%{opacity:1}} `],encapsulation:2}),t})(),c2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=X({type:t}),t.\u0275inj=J({imports:[[Se,Vr]]}),t})();var HU=["searchInput"];function zU(t,i){if(t&1&&w(0,"a",7),t&2){let e=i.$implicit;u("innerHtml","

"+e.model+"

"+e.displayName+"

",Rt)}}var Vd=class{constructor(i,e,n){this.model=i,this.displayName=e,this.name=n}},d2=(()=>{class t{constructor(e,n,o,r,s,a,l){this.router=e,this.searchService=n,this.route=o,this.translateService=r,this.translatesService=s,this.searchModelConverter=a,this.selectSearchPhrase=l,this.destroySubject=new K,this.autocompleteSearch=new K,this.pasteSubject=new K,this.minQueryLength=3,this.isLoading=!1,this.autocompleteData=this.observeSearchResults(),this.changed=!1,this.customFilter=(c,p)=>c,this.lang=s.getCurrentLang()}ngOnInit(){this.restoreSearchFromUrl().subscribe(e=>{this.searchInput?.writeValue(e)})}restoreSearchFromUrl(){return this.route.queryParams.pipe(ke(this.destroySubject),de(e=>e.hasOwnProperty("p[wqr]")),z(e=>e["p[wqr]"]),de(e=>typeof e=="string"),z(e=>e.substr(0,e.length-1)),de(e=>e.length>0),ct(()=>ft))}navigateToSearch(e){let n;e instanceof Vd?n=e.name:n=e,n!==this.lastQuery&&(this.lastQuery=n,this.searchInput.close(),(n.length===0&&this.changed||n.length>=this.minQueryLength)&&this.router.navigate([`${yn}/${$M}`],{queryParams:this.searchModelConverter.convertToUrlParams(this.prepareSearchQuery(n)),replaceUrl:!0}))}observeSearchResults(){return mo(this.autocompleteSearch.asObservable().pipe(de(e=>e.length>0),mt(300),vr()),this.pasteSubject.asObservable()).pipe(He(e=>(this.isLoading=!0,this.downloadSearchSuggestions(e))),be(e=>{e.length===0?this.searchInput.close():this.searchInput.open(),this.isLoading=!1}),de(e=>e.length>0))}downloadSearchSuggestions(e){return this.searchService.search(this.prepareSearchQuery(e)).pipe(pe(n=>Pe(n.products)),z(n=>{let o=this.getModel(n),r=this.getDisplayName(n.displayName,n.name);return o!==null&&o.length>1?new Vd(o,r,`${o+" "+r}`):(o=r.split(" ")[0],new Vd(o,r,r))}),ii(),ct(n=>(console.log(n),Y([]))))}getModel(e){let n=e.attributes.find(o=>o.attributeCode==="MODEL");return n?n.displayVals.hasOwnProperty(this.lang)?n.displayVals[this.lang]:n.val:null}getDisplayName(e,n){return e.hasOwnProperty(this.lang)?e[this.lang]:n}prepareSearchQuery(e){return{parameters:{wildcardQuery:e.length>0?[`${e}*`]:[""]},includeNavigation:!0,pageNumber:0}}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.autocompleteSearch.complete()}onSearchChanged(e){this.changed=!0,this.autocompleteSearch.next(e)}onSearchCleared(){this.searchInput.close()}onSearchFocused(){(!this.searchInput.query||this.searchInput.query.length=this.minQueryLength&&this.pasteSubject.next(n)}onPhraseClick(){if(this.selectSearchPhrase){let e=this.searchInput.searchInput.nativeElement.value.length;this.searchInput.searchInput.nativeElement.setSelectionRange(0,e)}}static{this.\u0275fac=function(n){return new(n||t)(b(ut),b(n2),b(zt),b(Hn),b(gn),b(o2),b(i2))}}static{this.\u0275cmp=A({type:t,selectors:[["app-search"]],viewQuery:function(n,o){if(n&1&&ve(HU,5,hm),n&2){let r;G(r=W())&&(o.searchInput=r.first)}},standalone:!1,decls:10,vars:12,consts:[["searchInput",""],["itemTemplate",""],[1,"search-container"],[1,"search",3,"ngSubmit"],[1,"search-input",3,"inputCleared","inputChanged","selected","inputFocused","paste","click","placeholder","isLoading","data","minQueryLength","debounceTime","itemTemplate","searchKeyword","customFilter"],[1,"search-btn-box"],["type","submit",1,"search-btn"],[3,"innerHtml"]],template:function(n,o){if(n&1){let r=U();h(0,"div",2)(1,"form",3),R("ngSubmit",function(){D(r);let a=ge(3);return O(o.navigateToSearch(a.query))}),h(2,"ng-autocomplete",4,0),I(4,"translate"),I(5,"async"),R("inputCleared",function(){return D(r),O(o.onSearchCleared())})("inputChanged",function(a){return D(r),O(o.onSearchChanged(a))})("selected",function(a){return D(r),O(o.navigateToSearch(a))})("inputFocused",function(){return D(r),O(o.onSearchFocused())})("paste",function(a){return D(r),O(o.onPaste(a))})("click",function(){return D(r),O(o.onPhraseClick())}),f(),_(6,zU,1,1,"ng-template",null,1,we),h(8,"div",5),w(9,"button",6),f()()()}if(n&2){let r=ge(7);d(2),u("placeholder",T(4,8,"SEARCH.PLACEHOLDER"))("isLoading",o.isLoading)("data",T(5,10,o.autocompleteData))("minQueryLength",o.minQueryLength)("debounceTime",400)("itemTemplate",r)("searchKeyword","name")("customFilter",o.customFilter)}},dependencies:[Lr,Fr,Mv,hm,lt,Le],styles:[".search[_ngcontent-%COMP%]{border:#c2c9cc 2px solid;border-radius:60px;display:flex;height:48px;flex-direction:row;align-items:center;background-color:#fff}.search-input[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-weight:300;line-height:21px;font-size:14px;margin:auto;flex:1 0 4rem;border:0;width:100%;text-overflow:clip;white-space:nowrap;box-shadow:none;background-color:transparent}.search-input[_ngcontent-%COMP%]::placeholder{color:#959da1}.search-btn-box[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:1rem;height:100%;display:flex;align-items:center;flex:0 0 auto;z-index:5100;position:relative}.search-btn[_ngcontent-%COMP%]{border:0;background:url(/assets/svg/search-btn.svg) no-repeat;width:1.5rem;height:1.5rem;background-size:contain}.search-container[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container{box-shadow:none;display:flex;height:unset;margin-left:-2px;margin-right:-50px;margin-top:-35px}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .input-container .x{top:35px;z-index:5100}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .input-container .sk-fading-circle{top:35px;z-index:5100}[_nghost-%COMP%] .ng-autocomplete .not-found{border:none;background:transparent}[_nghost-%COMP%] .ng-autocomplete .input-container div{right:52px}[_nghost-%COMP%] .ng-autocomplete .input-container{width:100%;padding-right:50px}[_nghost-%COMP%] .ng-autocomplete .input-container input{line-height:unset;height:2rem}[_nghost-%COMP%] .ng-autocomplete .item{display:block}[_nghost-%COMP%] .ng-autocomplete .suggestions-container{z-index:5099;box-shadow:none;margin-top:2rem}[_nghost-%COMP%] .ng-autocomplete .item a{padding:10px 0;text-overflow:ellipsis;overflow:hidden;line-height:15px}[_nghost-%COMP%] .ng-autocomplete .item a:hover{color:#003463!important}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .input-container input{background:transparent;position:relative;top:20px;z-index:5100;padding:0 20px}[_nghost-%COMP%] .ng-autocomplete .suggestion-item-desc{font-size:12px;color:#9e9e9e;line-height:16px}[_nghost-%COMP%] .ng-autocomplete .item div{color:#9e9e9e;font-size:12px}[_nghost-%COMP%] .ng-autocomplete .suggestion-item-model{font-size:14px;color:#707070;line-height:16px}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .suggestions-container ul{border-top:1px solid #c2c9cc;margin:25px 20px 0}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .suggestions-container ul li:hover{background-color:unset}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .suggestions-container ul li:hover p{color:#003463!important}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .suggestions-container ul:empty{border-top:0}[_nghost-%COMP%] .ng-autocomplete .autocomplete-container .suggestions-container{border:2px solid #c2c9cc;border-top:0;border-bottom-right-radius:25px;border-bottom-left-radius:25px}"]})}}return t})();var GU=[[["merchantLimit"]],[["loginMenuContainer"]],[["websiteLogo"]],[["mobileWebsiteLogo"]]],WU=["merchantLimit","loginMenuContainer","websiteLogo","mobileWebsiteLogo"];function qU(t,i){t&1&&(h(0,"div",7)(1,"a",8),Ae(2,2),f()())}function KU(t,i){t&1&&(h(0,"a",8),Ae(1,3),f())}var fCe=(()=>{class t{constructor(e){this.shouldRenderMobileLogo=e.observe(["(max-width: 800px)"]).pipe(z(n=>n.matches))}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(Ii))}}static{this.\u0275cmp=A({type:t,selectors:[["app-header"]],standalone:!1,ngContentSelectors:WU,decls:13,vars:4,consts:[["mobileLogo",""],[1,"background-white"],[1,"grid-container","header","container-xl","top-frame","col-12"],["class","grid-item-1 logo-section",4,"ngIf","ngIfElse"],[1,"grid-item-2","search-section"],[1,"grid-item-3","button-section","d-inline-flex","ms-3","justify-content-end"],[1,"d-block","me-2"],[1,"grid-item-1","logo-section"],["routerLink","/"]],template:function(n,o){if(n&1&&(Xe(GU),h(0,"div",1)(1,"div",2),_(2,qU,3,0,"div",3),I(3,"async"),h(4,"div",4),w(5,"app-search"),f(),h(6,"div",5)(7,"div",6),Ae(8),f(),w(9,"cart-header-counter",6),Ae(10,1),f()()(),_(11,KU,2,0,"ng-template",null,0,we)),n&2){let r=ge(12);d(2),u("ngIf",!T(3,2,o.shouldRenderMobileLogo))("ngIfElse",r)}},dependencies:[ee,qt,WM,d2,lt],styles:[".grid-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 2fr;grid-template-rows:minmax(80px,1fr) 1fr}.grid-container[_ngcontent-%COMP%] .grid-item-1[_ngcontent-%COMP%]{grid-column:1;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-3[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-2[_ngcontent-%COMP%]{grid-column:span 2;grid-row:2}.background-white[_ngcontent-%COMP%]{background:#fff}.header[_ngcontent-%COMP%]{height:144px;align-items:center;background:#fff}.button-section[_ngcontent-%COMP%]{margin-left:auto;margin-right:40px}@media (min-width: 768px){.grid-container[_ngcontent-%COMP%]{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1fr}.grid-container[_ngcontent-%COMP%] .grid-item-1[_ngcontent-%COMP%]{grid-column:1;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-3[_ngcontent-%COMP%]{grid-column:3;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-2[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.header[_ngcontent-%COMP%]{height:80px}}@media (min-width: 768px){.button-section[_ngcontent-%COMP%]{margin-right:55px}}@media (min-width: 1200px){.grid-container[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr}.grid-container[_ngcontent-%COMP%] .grid-item-1[_ngcontent-%COMP%]{grid-column:1;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-3[_ngcontent-%COMP%]{grid-column:3;grid-row:1}.grid-container[_ngcontent-%COMP%] .grid-item-2[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.background-white[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%]{height:80px}.button-section[_ngcontent-%COMP%]{margin-right:unset}}"]})}}return t})();var u2=new M("Icons"),vCe=(()=>{class t{constructor(){this.mapping={"inpost-pickup":{name:"inpost-point-logo.png",width:"124px",height:"72px"},dhl:{name:"dhl-logo.svg"},"dhl-pickup":{name:"dhl-point-logo.jpg"},personal:{name:"supplier-personal.svg"},pickup:{name:"supplier-personal.svg"},posten:{name:"posten-logo.png",width:"124px",height:"42px"},ups:{name:"ups-logo.svg"},"ups-access-point-pickup":{name:"ups-access-point-logo.png",width:"80px",height:"65px"},bankTransferPaymentGatewayLabel:{name:"payment-transfer.svg"},iMojePaymentGatewayLabel:{name:"imoje-payment.svg",width:"124px",height:"42px"},iMojePayLaterPaymentGatewayLabel:{name:"imoje-pay-later-logo.svg"},courierPaymentGatewayLabel:{name:"payment-cash.svg"},inStorePaymentGatewayLabel:{name:"payment-cash.svg"},payPalCheckoutPaymentGatewayLabel:{name:"paypal-payment.svg"},stripeCheckoutPaymentGatewayLabel:{name:"stripe-cards-payment.png"},stripeKlarnaCheckoutPaymentGatewayLabel:{name:"stripe-klarna-payment.png"},webpayclCheckoutPaymentGatewayLabel:{name:"webpaycl-payment.svg"},leaselinkPaymentGatewayLabel:{name:"leaselink-payment.png"},CJMChilexpress:{name:"chilexpress.png",width:"130px",height:"34px"},CJMFedEx:{name:"fedex.png",width:"124px",height:"42px"}}}map(e){if(e)return this.mapping.hasOwnProperty(e)?this.mapping[e]:this.findIcon(e)}getIconExtension(e){let n=e.name.split(".");return n[n.length-1]}findIcon(e){let n=Object.keys(this.mapping).find(o=>e.toLocaleLowerCase().includes(o.toLocaleLowerCase()));return n?this.mapping[n]:void 0}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();function QU(t,i){if(t&1){let e=U();h(0,"p",7),R("click",function(){let o=D(e).$implicit,r=m();return O(r.onItemClick(o))}),f()}if(t&2){let e=i.$implicit,n=m();tt("clickable",n.isItemClickable(e)),u("innerHTML",e.text?e.text:e,Rt)}}function YU(t,i){if(t&1&&(h(0,"div"),w(1,"div",8),f()),t&2){let e=m();d(),Yt("background-image","url('./assets/"+e.iconExtension+"/"+e.data.icon.name+"')")("width",e.data.icon.width)("height",e.data.icon.height)("background-size",e.data.icon.width+" "+e.data.icon.height)}}function ZU(t,i){if(t&1){let e=U();h(0,"div",9)(1,"div",10)(2,"button",11),R("click",function(){D(e);let o=m();return O(o.onEditClicked())}),f()()()}}var PCe=(()=>{class t{constructor(e){this.icons=e,this.iconExtension="",this.onEditEmitter=new F,this.onItemClickSubject=new K}ngOnInit(){this.data.icon&&(this.iconExtension=this.icons.getIconExtension(this.data.icon));let e=this.onItemClickSubject.pipe(mt(300),He(n=>n.action())).subscribe({next:()=>{},error:console.error,complete:()=>{e&&!e.closed&&e.unsubscribe()}})}onEditClicked(){this.onEditEmitter.next(null)}get onEdit(){return this.onEditEmitter.asObservable().pipe(mt(300))}isItemClickable(e){return e.action!==void 0}onItemClick(e){this.isItemClickable(e)&&this.onItemClickSubject.next(e)}static{this.\u0275fac=function(n){return new(n||t)(b(u2))}}static{this.\u0275cmp=A({type:t,selectors:[["app-box-item"]],inputs:{data:"data"},outputs:{onEdit:"onEdit"},standalone:!1,decls:10,vars:6,consts:[[1,"box-item","bg-white","container-xl","shadow","px-4","px-md-5","px-xl-4","py-4"],[1,"row"],[1,"col-10"],[1,"data-title"],["class","data-row",3,"clickable","innerHTML","click",4,"ngFor","ngForOf"],[4,"ngIf"],["class","col-2",4,"ngIf"],[1,"data-row",3,"click","innerHTML"],[1,"icon"],[1,"col-2"],[1,"float-end"],[1,"btn","box-item-edit",3,"click"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"div")(4,"p",3),E(5),I(6,"translate"),f(),_(7,QU,1,3,"p",4)(8,YU,2,8,"div",5),f()(),_(9,ZU,3,0,"div",6),f()()),n&2&&(d(5),B(T(6,4,o.data.title)),d(2),u("ngForOf",o.data.items),d(),u("ngIf",o.data.icon),d(),u("ngIf",o.data.canEdit))},dependencies:[at,ee,Le],styles:[".clickable[_ngcontent-%COMP%]{text-decoration:underline;color:#003463}.clickable[_ngcontent-%COMP%]:active{cursor:pointer;color:#0062b7}.box-item[_ngcontent-%COMP%]{padding:30px;min-height:158px;height:100%}.box-item[_ngcontent-%COMP%] .box-item-edit[_ngcontent-%COMP%]{width:48px;height:48px;background:transparent url(/assets/svg/edit-icon.svg) no-repeat right top;cursor:pointer}.box-item[_ngcontent-%COMP%] .data-title[_ngcontent-%COMP%]{font-size:18px;line-height:27px;font-weight:700;margin-bottom:8px}.box-item[_ngcontent-%COMP%] .dhl-logo[_ngcontent-%COMP%]{margin-top:23px;width:104px;height:62px;background:#fecc00 url(/assets/svg/dhl-logo.svg) no-repeat right top;background-size:104px 62px}.box-item[_ngcontent-%COMP%] .ing-logo[_ngcontent-%COMP%]{margin-top:16px;width:104px;height:62px;background:transparent url(/assets/svg/ing-logo.svg) no-repeat left top;background-size:104px 62px}.box-item[_ngcontent-%COMP%] .payu-logo[_ngcontent-%COMP%]{margin-top:16px;width:155px;height:81px;background:transparent url(/assets/svg/payu-logo.svg) no-repeat left top}.box-item[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-top:16px;width:124px;height:62px;background-color:transparent;background-repeat:no-repeat;background-position:left top;background-size:124px 62px}.box-item[_ngcontent-%COMP%] .data-row[_ngcontent-%COMP%]{font-size:14px;line-height:21px}@media (min-width: 768px){.clickable[_ngcontent-%COMP%]{text-decoration:underline;color:#003463}.clickable[_ngcontent-%COMP%]:hover{cursor:pointer;color:#0062b7}}[_nghost-%COMP%] .data-row .tracking-parcel-box{position:relative!important;top:10px!important}[_nghost-%COMP%] .data-row .parcel-link:hover{text-decoration:underline}"]})}}return t})();var fm=new M("ProductsService");var zb=new M("ProductSliderWindowService");var $l=(()=>{class t{constructor(e){this.platformId=e}getWindow(e=1e3){return We(this.platformId)?Ut(window,"resize").pipe(z(n=>n.target),mt(e),ct(()=>ft)):ft}static{this.\u0275fac=function(n){return new(n||t)(L(Fe))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var JU=["*"],Ub=(()=>{class t{config;afterChange=Tr();beforeChange=Tr();breakpoint=Tr();destroy=Tr();init=Tr();$instance;currentIndex=0;slides=[];initialized=!1;_removedSlides=[];_addedSlides=[];el=C(ye);zone=C(ue);isServer=sr(C(Fe));ngOnDestroy(){this.unslick()}ngAfterViewInit(){this.ngAfterViewChecked()}ngAfterViewChecked(){if(!this.isServer&&(this._addedSlides.length>0||this._removedSlides.length>0)){let e=this.slides.length-this._removedSlides.length+this._addedSlides.length;this.initialized?e===0?this.unslick():(this._addedSlides.forEach(n=>{this.slides.push(n),this.$instance.slick("slickAdd",n.el.nativeElement)}),this._addedSlides=[],this._removedSlides.forEach(n=>{let o=this.slides.indexOf(n);this.slides=this.slides.filter(r=>r!==n),this.$instance.slick("slickRemove",o)}),this._removedSlides=[]):e>0&&this.initSlick()}}initSlick(){this.slides=this._addedSlides,this._addedSlides=[],this._removedSlides=[],this.$instance=jQuery(this.el.nativeElement),this.$instance.on("init",(e,n)=>{this.zone.run(()=>{this.init.emit({event:e,slick:n})})}),this.$instance.slick(this.config),this.zone.run(()=>{this.initialized=!0,this.currentIndex=this.config?.initialSlide||0}),this.$instance.on("afterChange",(e,n,o)=>{this.zone.run(()=>{this.afterChange.emit({event:e,slick:n,currentSlide:o,first:o===0,last:n.$slides.length===o+n.options.slidesToScroll}),this.currentIndex=o})}),this.$instance.on("beforeChange",(e,n,o,r)=>{this.zone.run(()=>{this.beforeChange.emit({event:e,slick:n,currentSlide:o,nextSlide:r}),this.currentIndex=r})}),this.$instance.on("breakpoint",(e,n,o)=>{this.zone.run(()=>{this.breakpoint.emit({event:e,slick:n,breakpoint:o})})}),this.$instance.on("destroy",(e,n)=>{this.zone.run(()=>{this.destroy.emit({event:e,slick:n}),this.initialized=!1})})}addSlide(e){this._addedSlides.push(e)}removeSlide(e){this._removedSlides.push(e)}slickGoTo(e){this.$instance.slick("slickGoTo",e)}slickNext(){this.$instance.slick("slickNext")}slickPrev(){this.$instance.slick("slickPrev")}slickPause(){this.$instance.slick("slickPause")}slickPlay(){this.$instance.slick("slickPlay")}unslick(){this.$instance&&(this.$instance.slick("unslick"),this.$instance=void 0),this.initialized=!1}ngOnChanges(e){if(this.initialized){let n=e.config;if(n.previousValue!==n.currentValue&&n.currentValue!==void 0){let o=n.currentValue.refresh,r=Object.assign({},n.currentValue);delete r.refresh,this.$instance.slick("slickSetOption",r,o)}}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["ngx-slick-carousel"]],inputs:{config:"config"},outputs:{afterChange:"afterChange",beforeChange:"beforeChange",breakpoint:"breakpoint",destroy:"destroy",init:"init"},exportAs:["slick-carousel"],standalone:!1,features:[fe([{provide:un,useExisting:st(()=>t),multi:!0}]),Ke],ngContentSelectors:JU,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},encapsulation:2})}return t})(),p2=(()=>{class t{carousel=C(Ub,{host:!0});renderer=C(wt);el=C(ye);isServer=sr(C(Fe));ngOnInit(){this.carousel.addSlide(this),this.isServer&&this.carousel.slides.length>0&&this.renderer.setStyle(this.el,"display","none")}ngOnDestroy(){this.carousel.removeSlide(this)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,selectors:[["","ngxSlickItem",""]],standalone:!1})}return t})(),h2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Se]})}return t})();var Gb=new M("MiniProductWindowService");var mm=new M("AnalyticsCommandList"),gm="click";var _m=new M("AnalyticsCommandDispatcher"),f2=(()=>{class t{constructor(e){this.commandsList=e}sendMetrics(e,n,o){this.commandsList.filter(r=>r.getAction()===o&&n.includes(r.getTag())).forEach(r=>r.execute(e))}static{this.\u0275fac=function(n){return new(n||t)(L(mm))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var m2=(()=>{class t{constructor(e,n,o,r){this.activatedRoute=e,this.renderer=n,this.elementRef=o,this.commandDispatcher=r}ngOnInit(){let e=this.activatedRoute.parent.snapshot.routeConfig.path;this.renderer.listen(this.elementRef.nativeElement,"click",()=>{this.commandDispatcher.sendMetrics(Ce(k({},this.analytics.data),{path:e}),this.analytics.tags,gm)})}static{this.\u0275fac=function(n){return new(n||t)(b(zt),b(wt),b(ye),b(_m))}}static{this.\u0275dir=te({type:t,selectors:[["","analytics",""]],inputs:{analytics:"analytics"},standalone:!1})}}return t})();var tG=t=>({lowestPrice:t});function nG(t,i){if(t&1&&(h(0,"p",8),E(1),f()),t&2){let e=m(2);d(),oe(" -",e.product.promotionPrice==null?null:e.product.promotionPrice.percentDiscount,"% ")}}function iG(t,i){if(t&1&&(h(0,"p",8),E(1),I(2,"currencySymbol"),f()),t&2){let e=m(2);d(),oe(" -",Pt(2,1,e.product.promotionPrice==null?null:e.product.promotionPrice.valueDiscount,e.product.currency)," ")}}function oG(t,i){if(t&1&&(h(0,"p",9),E(1),I(2,"currencySymbol"),f()),t&2){let e=m(2);d(),oe(" ",Pt(2,1,e.product.promotionPrice==null?null:e.product.promotionPrice.regularPrice,e.product.currency)," ")}}function rG(t,i){if(t&1&&(h(0,"p",13)(1,"span",14),E(2),I(3,"currencySymbol"),f()()),t&2){let e=m(3);d(2),B(Pt(3,1,e.product.lowestSalePriceNet,e.product.currency))}}function sG(t,i){if(t&1&&(h(0,"p",15),E(1),I(2,"currencySymbol"),f()),t&2){let e=m(3);d(),oe(" ",Pt(2,1,e.product.lowestSalePriceNet,e.product.currency)," ")}}function aG(t,i){if(t&1&&(h(0,"div",10),_(1,rG,4,4,"p",11)(2,sG,3,4,"p",12),f()),t&2){let e=m(2);d(),u("ngIf",e.displayLowestPrice),d(),u("ngIf",!e.displayLowestPrice)}}function lG(t,i){if(t&1&&(h(0,"div",4),_(1,nG,2,1,"p",5)(2,iG,3,4,"p",5)(3,oG,3,4,"p",6)(4,aG,3,2,"div",7),f()),t&2){let e=m();d(),u("ngIf",e.product.promotionPrice==null?null:e.product.promotionPrice.percentDiscount),d(),u("ngIf",e.product.promotionPrice==null?null:e.product.promotionPrice.valueDiscount),d(),u("ngIf",(e.product.promotionPrice==null?null:e.product.promotionPrice.regularPrice)&&!e.product.lowestSalePriceNet),d(),u("ngIf",e.product.lowestSalePriceNet)}}function cG(t,i){if(t&1&&(h(0,"p",16),E(1),I(2,"currencySymbol"),f()),t&2){let e=m();d(),B(Pt(2,1,e.displayCatNetPrice?e.product.netPrice:e.product.priceNet,e.product.currency))}}function dG(t,i){if(t&1&&(h(0,"p",17),E(1),I(2,"currencySymbol"),I(3,"translate"),f()),t&2){let e=m();d(),di("",Pt(2,2,e.product.priceGross,e.product.currency)," ",T(3,5,"PRODUCT.GROSS"),"")}}function uG(t,i){if(t&1&&(h(0,"span",18),E(1),I(2,"currencySymbol"),I(3,"translate"),f()),t&2){let e=m();d(),B(Pt(3,4,"PRODUCT.LOWEST_PRICE",ce(7,tG,Pt(2,1,e.product.lowestSalePriceNet,e.product.currency))))}}var Hl=(()=>{class t{constructor(e){this.locale=e,this.displayCatNetPrice=!1,this.displayLowestPrice=!1}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(xi))}}static{this.\u0275cmp=A({type:t,selectors:[["product-price"]],inputs:{product:"product",displayCatNetPrice:"displayCatNetPrice",displayLowestPrice:"displayLowestPrice"},standalone:!1,decls:5,vars:4,consts:[["class","d-flex flex-wrap promotion-box",4,"ngIf"],["class","price-net",4,"ngIf"],["class","price-gross",4,"ngIf"],["class","price-lowest",4,"ngIf"],[1,"d-flex","flex-wrap","promotion-box"],["class","discount text-height my-1",4,"ngIf"],["class","old-price text-height my-1",4,"ngIf"],["class","my-1",4,"ngIf"],[1,"discount","text-height","my-1"],[1,"old-price","text-height","my-1"],[1,"my-1"],["class","text-height",4,"ngIf"],["class","old-price text-height",4,"ngIf"],[1,"text-height"],[1,"old-price"],[1,"old-price","text-height"],[1,"price-net"],[1,"price-gross"],[1,"price-lowest"]],template:function(n,o){n&1&&(_(0,lG,5,4,"div",0),h(1,"div"),_(2,cG,3,4,"p",1)(3,dG,4,7,"p",2),f(),_(4,uG,4,9,"span",3)),n&2&&(u("ngIf",o.product.promotionPrice),d(2),u("ngIf",o.displayCatNetPrice?o.product.netPrice:o.product.priceNet),d(),u("ngIf",o.product.priceGross&&o.product.priceGross!==o.product.priceNet),d(),u("ngIf",o.product.lowestSalePriceNet&&o.displayLowestPrice))},dependencies:[ee,Le,Vs],styles:[".promotion-box[_ngcontent-%COMP%]{width:fit-content}.price-net[_ngcontent-%COMP%]{color:#003463;font-size:28px;line-height:36px;font-weight:400}.price-gross[_ngcontent-%COMP%]{color:#003463;line-height:14px;font-size:14px;margin:0}.old-price[_ngcontent-%COMP%]{text-decoration:line-through;margin-right:0}.price-lowest[_ngcontent-%COMP%]{line-height:20px;margin:6px 0;display:block;font-size:14px}.text-height[_ngcontent-%COMP%]{line-height:20px}.discount[_ngcontent-%COMP%]{padding-left:4px;padding-right:4px;color:#fff;background:#ff5c5a;margin-right:10px}.small-price-container [_nghost-%COMP%] .price-net{font-size:18px;line-height:27px;margin:unset;font-weight:400}.small-price-container [_nghost-%COMP%] .price-gross{font-weight:400;font-size:12px;line-height:18px;margin-bottom:8px}.small-price-container [_nghost-%COMP%] .text-height{font-size:12px;line-height:16px}[_nghost-%COMP%] .lowest-price{opacity:1!important}[_nghost-%COMP%] .lowest-price .tooltip-inner{background-color:#f7f7f7!important;border:1px solid #959DA1!important;min-width:250px;font-weight:400;font-size:14px;color:#16272f;font-family:Poppins,Open Sans,sans-serif}[_nghost-%COMP%] .lowest-price.bs-tooltip-top .arrow:before{border-top-color:#959da1!important;background:#fff}"]})}}return t})();var pG=(t,i)=>({product:t,position:i}),hG=()=>["product_route"],fG=(t,i)=>({data:t,tags:i}),mG=(t,i)=>[t,i];function gG(t,i){if(t&1&&(h(0,"p",13)(1,"b"),E(2),f()()),t&2){let e=m();d(2),B(e.product.model)}}function _G(t,i){if(t&1&&(h(0,"p",14),E(1),I(2,"ellipsis"),f()),t&2){let e=m();d(),B(Pt(2,1,e.product.name,e.ellipsis))}}function yG(t,i){if(t&1&&(h(0,"div")(1,"div",15),w(2,"product-price",16),f()()),t&2){let e=m();d(2),u("product",e.product)}}function vG(t,i){if(t&1&&(h(0,"div",17),w(1,"availability-indicator",16)(2,"add-to-cart-button",18),f()),t&2){let e=m();d(),u("product",e.product),d(),u("product",e.product)("clickFrom",e.clickFrom)}}function bG(t,i){if(t&1&&w(0,"product-price",16),t&2){let e=m(2);u("product",e.product)}}function CG(t,i){if(t&1&&(h(0,"div",15),_(1,bG,1,1,"product-price",19),f()),t&2){let e=m();d(),u("hasPermission",e.CART_WRITE_PERMISSION)}}function wG(t,i){if(t&1&&w(0,"add-to-cart-button",18),t&2){let e=m(3);u("product",e.product)("clickFrom",e.clickFrom)}}function xG(t,i){if(t&1&&(h(0,"div"),w(1,"availability-indicator",16),_(2,wG,1,2,"add-to-cart-button",21),f()),t&2){let e=m(2);d(),u("product",e.product),d(),u("hasPermission",e.CART_WRITE_PERMISSION)}}function EG(t,i){if(t&1&&_(0,xG,3,2,"div",20),t&2){let e=m();u("hasPermission",e.CART_WRITE_PERMISSION)}}var IG=new M("B2B_PERMISSION_BTN_CART_PRICE_PRODUCT_CHECKED_TOKEN"),g2=(()=>{class t{constructor(e,n,o,r,s){this.locale=e,this.router=n,this.windowService=o,this.b2bPermissionCheckedToken=r,this.authService=s,this.productRoute=`/${yn}`,this.ellipsis=43,this.clickFrom=HO,this.CART_WRITE_PERMISSION=Vf,this.productWrapHeight=!0,this.hasPricePermission=!1,this.position=null,this.authService.checkPermission(this.CART_WRITE_PERMISSION.toString()).pipe().subscribe(a=>this.hasPricePermission=a)}ngOnInit(){this.productWrapHeight=this.b2bPermissionCheckedToken&&!this.hasPricePermission,this.windowSubscription=this.windowService.getWindow(1e3).subscribe(e=>{e.innerWidth<=420&&(this.ellipsis=30)})}ngOnDestroy(){this.windowSubscription&&this.windowSubscription.unsubscribe()}onProductClick(){this.router.navigate([yn,this.product.uri])}static{this.\u0275fac=function(n){return new(n||t)(b(xi),b(ut),b(Gb),b(IG,8),b(Vi))}}static{this.\u0275cmp=A({type:t,selectors:[["mini-product-card"]],inputs:{product:"product",position:"position"},standalone:!1,features:[fe([{provide:Gb,useClass:$l}])],decls:16,vars:25,consts:[["b2bPermissionCheckPrice",""],["b2bPermissionCheck",""],[1,"product-wrap",3,"ngClass"],[1,"pointer-area",3,"click","analytics"],[1,"img-wrapper"],[3,"routerLink"],["alt","",1,"img-box",3,"src"],[1,"product-detail"],["class","name",4,"ngIf"],["class","description",4,"ngIf"],[1,"product-rating"],[4,"ngIf","ngIfElse"],["class","w-100 align-self-end",4,"ngIf","ngIfElse"],[1,"name"],[1,"description"],[1,"product-prices","mt-auto","mb-0","small-price-container"],[3,"product"],[1,"w-100","align-self-end"],[3,"product","clickFrom"],[3,"product",4,"hasPermission"],[4,"hasPermission"],[3,"product","clickFrom",4,"hasPermission"]],template:function(n,o){if(n&1){let r=U();h(0,"div",2)(1,"div",3),R("click",function(){return D(r),O(o.onProductClick())}),h(2,"div",4)(3,"a",5),w(4,"img",6),I(5,"resize"),f()(),h(6,"div",7),_(7,gG,3,1,"p",8)(8,_G,3,4,"p",9),f(),w(9,"div",10),_(10,yG,3,1,"div",11),f(),_(11,vG,3,3,"div",12),f(),_(12,CG,2,1,"ng-template",null,0,we)(14,EG,1,1,"ng-template",null,1,we)}if(n&2){let r=ge(13),s=ge(15);u("ngClass",o.productWrapHeight?"product-wrap-mini":""),N("data-product-id",o.product.skuId),d(),u("analytics",Ge(19,fG,Ge(15,pG,o.product,o.position),Ht(18,hG))),d(2),u("routerLink",Ge(22,mG,o.productRoute,o.product.uri)),d(),u("src",ui(5,11,o.product.picture,"295","295"),ze),d(3),u("ngIf",o.product.model),d(),u("ngIf",o.product.name),d(2),u("ngIf",!o.b2bPermissionCheckedToken)("ngIfElse",r),d(),u("ngIf",!o.b2bPermissionCheckedToken)("ngIfElse",s)}},dependencies:[_t,ee,qt,m2,Nl,El,Hs,Hl,At,Pf,Po],styles:["@media (max-width: 871px){div.product-wrap[_ngcontent-%COMP%]{height:420px;width:182px!important;padding:10px 10px 20px;margin-bottom:10px}div.product-wrap-mini[_ngcontent-%COMP%]{height:300px}div.img-wrapper[_ngcontent-%COMP%]{height:162px;width:162px}img.img-box[_ngcontent-%COMP%]{max-height:162px}div.description[_ngcontent-%COMP%], div.price-gross[_ngcontent-%COMP%]{margin-bottom:12px}}@media (max-width: 420px){div.product-wrap[_ngcontent-%COMP%]{height:410px;width:162px!important;padding:10px 10px 20px;margin-bottom:10px}div.product-wrap-mini[_ngcontent-%COMP%]{height:300px}div.img-wrapper[_ngcontent-%COMP%]{height:142px;width:142px}img.img-box[_ngcontent-%COMP%]{max-height:142px}div.description[_ngcontent-%COMP%], div.price-gross[_ngcontent-%COMP%]{margin-bottom:12px}}.product-rating[_ngcontent-%COMP%]{width:min-content;padding:4px 0;white-space:nowrap;-webkit-user-select:none;user-select:none}.product-rating[_ngcontent-%COMP%]:is(:empty), .product-rating[_ngcontent-%COMP%]:has(>*[style*=hidden]){display:none!important}p.name[_ngcontent-%COMP%]{font-size:14px;margin:unset;font-weight:600;line-height:21px;width:100%;text-transform:none}p.description[_ngcontent-%COMP%]{font-size:14px;line-height:21px;font-weight:400;width:100%;text-transform:none;color:#777}.product-detail[_ngcontent-%COMP%]{color:#16272f;width:100%;min-height:63px}.price[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-weight:400}.product-wrap[_ngcontent-%COMP%]{text-align:left;height:450px;width:225px;background:#fff;padding:20px 20px 30px;margin:auto;display:grid!important;grid-template-rows:6fr 1fr}.product-wrap-mini[_ngcontent-%COMP%]{height:330px}p[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif}h6[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px}.img-wrapper[_ngcontent-%COMP%]{height:185px;width:185px;display:flex;justify-content:center;align-items:center}.img-box[_ngcontent-%COMP%]{max-height:185px;max-width:100%}.pointer-area[_ngcontent-%COMP%]{cursor:pointer;flex-direction:column;display:flex}.description[_ngcontent-%COMP%]{margin-bottom:unset}"]})}}return t})();var qb=new M("SmallProductWindowService");var TG=(t,i)=>[t,i];function DG(t,i){if(t&1&&(h(0,"p",17)(1,"b"),E(2),I(3,"ellipsis"),f()()),t&2){let e=m();d(2),B(Pt(3,1,e.product.model,e.ellipsis))}}function OG(t,i){if(t&1&&(h(0,"p",18),E(1),I(2,"ellipsis"),f()),t&2){let e=m();d(),B(Pt(2,1,e.product.name,e.ellipsis))}}var _2=(()=>{class t{constructor(e,n,o){this.locale=e,this.router=n,this.windowService=o,this.productRoute=`/${yn}`,this.ellipsis=34,this.position=null,this.closeModal=new F}ngOnInit(){this.windowSubscription=this.windowService.getWindow(1e3).subscribe(e=>{e.innerWidth<=420&&(this.ellipsis=30)})}ngOnDestroy(){this.windowSubscription&&this.windowSubscription.unsubscribe()}onProductClick(e){this.closeModal.emit(e),this.router.navigate([yn,this.product.uri])}static{this.\u0275fac=function(n){return new(n||t)(b(xi),b(ut),b(qb))}}static{this.\u0275cmp=A({type:t,selectors:[["small-product-card"]],inputs:{product:"product",position:"position"},outputs:{closeModal:"closeModal"},standalone:!1,features:[fe([{provide:qb,useClass:$l}])],decls:18,vars:16,consts:[[1,"product-wrap"],[1,"pointer-area","h-100",3,"click"],[1,"row","h-100"],[1,"col-5","col-lg-12"],[1,"img-wrapper","m-auto"],[3,"routerLink"],["alt","",1,"img-box",3,"src"],[1,"col-7","col-lg-12","pointer-area","h-180"],[1,"product-detail"],["class","name",4,"ngIf"],["class","description",4,"ngIf"],[1,"product-rating"],[1,"product-prices","mt-auto","mb-0","small-price-container"],[3,"product","displayLowestPrice"],[3,"product"],[1,"row"],[1,"col-12",3,"product"],[1,"name"],[1,"description"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"div",1),R("click",function(s){return o.onProductClick(s)}),h(2,"div",2)(3,"div",3)(4,"div",4)(5,"a",5),w(6,"img",6),I(7,"resize"),f()()(),h(8,"div",7)(9,"div",8),_(10,DG,4,4,"p",9)(11,OG,3,4,"p",10),f(),w(12,"div",11),h(13,"div",12),w(14,"product-price",13),f(),w(15,"availability-indicator",14),f()()(),h(16,"div",15),w(17,"add-to-cart-button",16),f()()),n&2&&(N("data-product-id",o.product.skuId),d(5),u("routerLink",Ge(13,TG,o.productRoute,o.product.uri)),d(),u("src",ui(7,9,o.product.picture,"295","295"),ze),d(4),u("ngIf",o.product.model),d(),u("ngIf",o.product.name),d(3),u("product",o.product)("displayLowestPrice",!0),d(),u("product",o.product),d(2),u("product",o.product))},dependencies:[ee,qt,El,Hs,Hl,At,Pf,Po],styles:["@media (max-width: 992px){div.product-wrap[_ngcontent-%COMP%]{min-height:260px;height:100%;width:350px!important;padding:10px 10px 0;margin-bottom:0}div.img-wrapper[_ngcontent-%COMP%]{height:100px;width:100px;display:flex;justify-content:center;align-items:center}img.img-box[_ngcontent-%COMP%]{max-height:92px}div.description[_ngcontent-%COMP%], div.price-gross[_ngcontent-%COMP%]{margin-bottom:12px}}@media (max-width: 380px){div.product-wrap[_ngcontent-%COMP%]{min-height:260px;height:100%;width:320px!important}}.product-rating[_ngcontent-%COMP%]{width:min-content;padding:4px 0;white-space:nowrap;-webkit-user-select:none;user-select:none}.product-rating[_ngcontent-%COMP%]:is(:empty), .product-rating[_ngcontent-%COMP%]:has(>*[style*=hidden]){display:none!important}p.name[_ngcontent-%COMP%]{font-size:14px;margin:unset;font-weight:600;line-height:21px;width:100%;text-transform:none}p.description[_ngcontent-%COMP%]{font-size:14px;line-height:21px;font-weight:400;width:100%;text-transform:none;color:#777}.product-detail[_ngcontent-%COMP%]{color:#16272f;width:100%;min-height:63px}.price[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-weight:400}.product-wrap[_ngcontent-%COMP%]{text-align:left;height:345px;width:210px;background:#fff;padding:0 20px;margin:auto;display:grid!important;grid-template-rows:6fr 1fr}p[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif}h6[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px}.img-wrapper[_ngcontent-%COMP%]{height:120px;width:120px;display:flex;justify-content:center;align-items:center}.img-box[_ngcontent-%COMP%]{max-height:120px;max-width:100%}.pointer-area[_ngcontent-%COMP%]{cursor:pointer;flex-direction:column;display:flex}.description[_ngcontent-%COMP%]{margin-bottom:unset}.h-180[_ngcontent-%COMP%]{height:180px}"]})}}return t})();var RG=["productCarousel"],PG=[[["header"]],[["footer"]]],kG=["header","footer"];function AG(t,i){if(t&1&&(h(0,"div"),w(1,"mini-product-card",9),f()),t&2){let e=m(),n=e.$implicit,o=e.index;d(),u("position",o)("product",n)}}function NG(t,i){if(t&1){let e=U();h(0,"small-product-card",10),R("closeModal",function(o){D(e);let r=m(2);return O(r.onClose(o))}),f()}if(t&2){let e=m(),n=e.$implicit,o=e.index;u("position",o)("product",n)}}function FG(t,i){if(t&1&&(h(0,"div",7),_(1,AG,2,2,"div",8)(2,NG,1,2,"ng-template",null,1,we),f()),t&2){let e=ge(3),n=m();d(),u("ngIf",n.config.templateName!==n.accessoriesSliderInAddingToCartTemplateName)("ngIfElse",e)}}var y2={slidesToShow:5,infinite:!0,swipe:!1,arrows:!0,responsive:[{breakpoint:360,settings:{slidesToShow:1.5,rows:1,arrows:!1,swipe:!0}},{breakpoint:576,settings:{slidesToShow:2,rows:1,arrows:!1,swipe:!0}},{breakpoint:768,settings:{slidesToShow:3,rows:1,arrows:!1,swipe:!0}},{breakpoint:992,settings:{slidesToShow:3.5,rows:1,arrows:!0,swipe:!1}},{breakpoint:1200,settings:{slidesToShow:4,arrows:!0,swipe:!1}}]},ym=(()=>{class t{constructor(e,n,o,r){this.activatedRoute=e,this.router=n,this.platformId=o,this.windowService=r,this.config=y2,this.pageChange=new F,this.closeModal=new F,this.data=Y([]),this.accessoriesSliderInAddingToCartTemplateName="accessoriesSliderInAddingToCart"}set products(e){this.data=as({currentData:this.data,newProducts:Y(e)}).pipe(z(({currentData:n,newProducts:o})=>[...n,...o]))}ngOnInit(){We(this.platformId)&&this.productCarousel?.initSlick(),this.windowService.getWindow(1e3).subscribe(()=>{this.config=y2})}ngOnDestroy(){this.productCarousel.unslick()}onPageChange(e){let n=e.slick.slideCount,o=e.slick.currentSlide+Math.floor(e.slick.options.slidesToShow),r=Math.floor(n/10),s=n%10;o===n&&r>0&&s===0&&this.pageChange.next(Math.floor(r))}resetSlider(){this.data=Y([])}onClose(e){this.closeModal.emit(e)}static{this.\u0275fac=function(n){return new(n||t)(b(zt),b(ut),b(Fe),b(zb))}}static{this.\u0275cmp=A({type:t,selectors:[["product-slider"]],viewQuery:function(n,o){if(n&1&&ve(RG,5),n&2){let r;G(r=W())&&(o.productCarousel=r.first)}},inputs:{config:"config",products:"products"},outputs:{pageChange:"pageChange",closeModal:"closeModal"},standalone:!1,features:[fe([{provide:zb,useClass:$l}])],ngContentSelectors:kG,decls:9,vars:6,consts:[["productCarousel",""],["smallProductCard",""],[1,"section",3,"ngClass"],[1,"row"],[1,"col"],[1,"slider-section","slick-product-paren","products-list",3,"afterChange","ngClass","config"],["class","list-item products-list-item","ngxSlickItem","",4,"ngFor","ngForOf"],["ngxSlickItem","",1,"list-item","products-list-item"],[4,"ngIf","ngIfElse"],[3,"position","product"],[3,"closeModal","position","product"]],template:function(n,o){if(n&1){let r=U();Xe(PG),h(0,"div",2),Ae(1),h(2,"div",3)(3,"div",4)(4,"ngx-slick-carousel",5,0),R("afterChange",function(a){return D(r),O(o.onPageChange(a))}),_(6,FG,4,2,"div",6),I(7,"async"),f(),Ae(8,1),f()()()}n&2&&(u("ngClass",o.config.templateName!==o.accessoriesSliderInAddingToCartTemplateName?"":"mt-0 pt-0 small"),d(4),u("ngClass",o.config.templateName!==o.accessoriesSliderInAddingToCartTemplateName?"":"mt-0 pt-0")("config",o.config),d(2),u("ngForOf",T(7,4,o.data)))},dependencies:[_t,at,ee,Ub,p2,g2,_2,lt],styles:["@media (max-width: 1100px){ngx-slick-carousel.slider-section[_ngcontent-%COMP%]{margin-top:28px;margin-bottom:28px}}@media (max-width: 871px){div.list-item[_ngcontent-%COMP%]{width:182px}div.slider-container[_ngcontent-%COMP%]{width:87vw}ngx-slick-carousel.slider-section[_ngcontent-%COMP%]{margin-top:28px;margin-bottom:28px}}@media (max-width: 420px){div.list-item[_ngcontent-%COMP%]{width:162px}}.list-item[_ngcontent-%COMP%]{width:225px}.list-item[_ngcontent-%COMP%]:focus{outline:none}.slider-section[_ngcontent-%COMP%]{margin-bottom:26px;text-align:center}.slick-slide[_ngcontent-%COMP%]{margin:auto}.section[_ngcontent-%COMP%]{margin-top:30px}.col[_ngcontent-%COMP%]{padding:0}.slick-paren[_ngcontent-%COMP%] button.slick-next[_ngcontent-%COMP%], .slick-paren[_ngcontent-%COMP%] button.slick-prev[_ngcontent-%COMP%]{top:50%}"]})}}return t})();var Jwe="/yes-api/imgvault/category/",Xwe="/yes-api/imgvault/shop/",Bd="/yes-api/imgvault/product/",b2="noimage.webp";function zl(t,i){return t/(1+i/100)}function C2(t,i){return t-i}var vm=(()=>{class t{constructor(e){this.environment=e}isFileNameFromCdn(e){return e?e.includes("/"):!1}resolveValidImageUrl(e,n){return e?this.isFileNameFromCdn(e)?this.environment.cdn.imageVaultUrl+e:this.environment.commerce.apiUrl+n+e:null}static{this.\u0275fac=function(n){return new(n||t)(L(mn))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var x2=(()=>{class t{constructor(e,n,o){this.translatesService=e,this.environment=n,this.fileNamesConverter=o}getBanner(e,n){let o=new Map;for(let r of this.getBannerTranslation(e))r.name=this.fileNamesConverter.resolveValidImageUrl(r.name,n),o.set(r.resolutionType,r);return o}getBanners(e,n,o){let r=e.find(a=>a.attributeCode===n),s=new Map;return r&&(s=this.getBanner(r,o)),s}getBannerTranslation(e){let n=this.translatesService.getCurrentLang();return e.displayVals.hasOwnProperty(n)?JSON.parse(e.displayVals[n]):[]}static{this.\u0275fac=function(n){return new(n||t)(L(gn),L(mn),L(vm))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var E2=(()=>{class t{constructor(e,n,o,r,s){this.translateService=e,this.translatesService=n,this.environment=o,this.fileNamesConverter=r,this.attrvalueResponseConverter=s,this.badgesMap=[new Cl("RECOMMENDED","#228B22"),new Cl("PROMOTION","#FF0000"),new Cl("SALE","#FFD700")],this.lang=this.translatesService.getCurrentLang()}convert(e){return this.translateService.get(["PRODUCT.SHORT_DESCRIPTION_CODE","PRODUCT.FULL_DESCRIPTION_CODE"]).pipe(z(n=>{let o=this.getDefaultSku(e.skus,e.code,e.defaultSkuCode);return e.price===null&&(e.price={currency:null,discount:null,priceOnOffer:!1,priceTax:null,priceTaxCode:"",priceTaxExclusive:!1,priceTaxRate:null,priceUponRequest:!1,quantity:0,regularPrice:null,salePrice:null,symbol:"",symbolPosition:"",taxInfoEnabled:!1,taxInfoShowAmount:!1,taxInfoUseNet:!1}),new xl(e.id,e.code,this.skuName(o,e.name),this.defaultImage(e.defaultImage),e.brand,zl(e.price.regularPrice,e.price.priceTaxRate),e.price.regularPrice,e.price.currency||"",this.description(e,n["PRODUCT.SHORT_DESCRIPTION_CODE"]),this.fullDescription(e.attributes,n["PRODUCT.FULL_DESCRIPTION_CODE"]),e.availability,this.manufacturerCode(o,e.manufacturerCode),this.technicalTable(e.attributes),this.badges(e.categories),this.groupFeatures(this.features(e.attributes)),this.getVideos(e.attributes),this.getProductGallery(e.attributes),e.price.discount,zl(this.getSalePrice(e.price),e.price.priceTaxRate),this.getSalePrice(e.price),this.getUri(this.lang,e.uriTranslations,e.uri),e.pimCode,this.defaultSkuCode(e.code,o),this.getModelAttribute(e.attributes),e.categories,this.defaultEan(o),e.productAvailabilityModel.inStock,this.getMarketingDescription(e.attributes),this.getPromotionPrice(this.getPromotionViewConfig(e.attributes),e.price),null,this.attrvalueResponseConverter.getBanners(e.attributes,"PRODUCT_IMAGE_MAIN_BANNER",Bd),this.leadTime(e.productAvailabilityModel),e.productAvailabilityModel.availableToSellQuantity,this.getProductFiles(e.attributes),e.associationQty,this.getCertificate(e.attributes),this.getLeasingValue(e.attributes),e.service,e.priceList,this.lowestSalePriceNet(e.attributes),this.getBaselinkerId(e.attributes),[],o.skuId||o.id,this.getHidden(e.attributes))}))}getUri(e,n,o){if(n){let r=n.hasOwnProperty(e)?n[e]:null;if(r)return r}return o}getSalePrice(e){return e.salePrice!=null?e.salePrice:e.regularPrice}defaultSkuCode(e,n){return n?n.code:e}skuName(e,n){return e?e.displayName&&e.displayName.hasOwnProperty(this.lang)?e.displayName[this.lang]:e.name?e.name:n:n}defaultEan(e){return e&&e.ean?e.ean:null}manufacturerCode(e,n){return e&&e.manufacturerCode?e.manufacturerCode:n}defaultImage(e){return this.fileNamesConverter.resolveValidImageUrl(e,Bd)}features(e){let n=this.filterFeatures(e);return e.filter(o=>o.attribute&&o.attributeCode&&o.attribute.navigation&&n.indexOf(o.attributeCode.toUpperCase())===-1).map(o=>o.attribute?new wl(this.getTranslatedValue(o.attribute.displayNames,o.attributeName),this.getTranslatedValue(o.displayVals,o.val)):new wl(o.attributeName,this.getTranslatedValue(o.displayVals,o.val)))}groupFeatures(e){let n=Array.from(new Set(e.map(r=>r.name))),o=[];return n.forEach(r=>{let s=e.filter(a=>a.name==r).map(a=>" "+a.value).toString();o.push(new wl(r,s))}),o}filterFeatures(e){return e.filter(n=>n.attribute.code==="LIST_OF_HIDDEN_PROPERTIES"&&n.val).map(n=>n.val).reduce((n,o)=>o.split(",").map(r=>r.trim().toUpperCase()),[])}getTranslatedValue(e,n){return e&&e.hasOwnProperty(this.lang)?e[this.lang]:n}badges(e){return e?e.map(n=>this.badgesMap.find(o=>o.name===n.categoryName.toUpperCase())).filter(n=>!!n).map(n=>n):[]}description(e,n){let o=e.attributes.find(r=>r.attributeCode===n);return o?o.val:e.displayDescription&&e.displayDescription[this.lang]?e.displayDescription[this.lang]:""}lowestSalePriceNet(e){let n=e.find(o=>o.attributeCode==="LOWEST_PRICE_IN_30_DAYS");return n?Number(n.val):null}fullDescription(e,n){let o=e.find(r=>r.attributeCode===n);return o?o.val:null}replaceAt(e,n,o,r){return e.substring(0,n)+r+e.substring(o)}technicalTable(e){let n,o=e.find(c=>c.attributeCode==="TECHNICAL_DATA_TABLE");if(!o)return null;o.displayVals&&o.displayVals.hasOwnProperty(this.lang)?n=o.displayVals[this.lang]:n=o.val,n=n.replace('type="checkbox"','type="checkbox" checked');let r=n.search('id="{id}"');for(let c=0;c(.*?)<\/th>/gs,x,P=0;for(;(x=y.exec(s))!==null&&P<1e4;)P++,a.push(x[1])}catch{}let c=/(.*?)<\/tr>/gs,p,g=0;for(;(p=c.exec(s))!==null&&g<1e4;){g++;var l=p[0];try{let v=/(.*?)<\/td>/gs,y,x=0;for(;(y=v.exec(l))!==null&&x<1e4;)l=this.replaceAt(l,y.index,y.index+y[0].length,`${y[1]}`),x++}catch{}s=this.replaceAt(s,p.index,p.index+p[0].length,l)}return s}catch{}return n}getVideos(e){let n=[],o=e.filter(r=>r.attributeCode?r.attributeCode.startsWith("VIDEO"):null);if(o)for(let r of o)n.push(r.val);return n}getModelAttribute(e){let n=e.find(o=>o.attributeCode==="MODEL");return n?n.displayVals.hasOwnProperty(this.lang)?n.displayVals[this.lang]:n.val:null}getProductGallery(e){let n=e.find(o=>o.attributeCode==="GALLERY");return n?JSON.parse(n.val).map(r=>new yd(this.fileNamesConverter.resolveValidImageUrl(r.name,Bd),r.primary)):[new yd(this.fileNamesConverter.resolveValidImageUrl(b2,Bd),!0)]}getDefaultSku(e,n,o){let r=null;return e!==null&&e.length>0&&(r=e.find(s=>s.code===n),r||(r=e.find(s=>s.code===o),r||(r=e[0]))),r}getMarketingDescription(e){let n=e.find(o=>o.attributeCode==="PRODUCT_MARKETING_DESCRIPTION");return n?n.displayVals.hasOwnProperty(this.lang)?n.displayVals[this.lang]:n.val:null}getPromotionViewConfig(e){let n=e.find(o=>o.attributeCode==="PRODUCT_PROMOTION_PRICE_CONF");if(n)try{return JSON.parse(n.val)}catch{console.log("Invalid attr value")}return null}getPromotionPrice(e,n){return e?{regularPrice:e.regularPrice?zl(n.regularPrice,n.priceTaxRate):void 0,percentDiscount:e.percentDiscount?n.discount:void 0,valueDiscount:e.currencyDiscount?C2(zl(n.regularPrice,n.priceTaxRate),zl(n.salePrice,n.priceTaxRate)):void 0,currency:n.currency}:null}leadTime(e){return e.leadTime}getProductFiles(e){let n=e.find(o=>o.attributeCode==="PRODUCT_FILES");return n?n.displayVals.hasOwnProperty(this.lang)?JSON.parse(n.displayVals[this.lang]):[]:[]}getCertificate(e){let n=e.find(o=>o.attributeCode==="PRODUCT_CALIBRATION_INFO");return n?n.displayVals.hasOwnProperty(this.lang)?n.displayVals[this.lang]:n.val:null}getLeasingValue(e){let n=e.find(o=>o.attributeCode==="PRODUCT_LEASING_ENABLED");return n?!!JSON.parse(n.val):!1}getBaselinkerId(e){let n=e.find(o=>o.attributeCode==="BASELINKER_ID");return n?Number(n.val):null}getHidden(e){let n=e.find(o=>o.attributeCode==="PRODUCT_HIDDEN");return n?JSON.parse(n.val):!1}static{this.\u0275fac=function(n){return new(n||t)(L(Hn),L(gn),L(mn),L(vm),L(x2))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Bi=class extends E2{convert(i){return super.convert(i).pipe(z(e=>(e.id=i.productId,e.brand=i.brandName,e)))}};var VG=["accessoriesProductSlider"],BG=()=>["/cart"];function jG(t,i){if(t&1&&(h(0,"p",29),E(1),f()),t&2){let e=m(2);d(),B(e.product.productModel.model)}}function $G(t,i){if(t&1&&(h(0,"p",29),E(1),f()),t&2){let e=m(2);d(),B(e.product.productModel.name)}}function HG(t,i){if(t&1){let e=U();h(0,"div",15)(1,"div",16)(2,"div",17),w(3,"img",18),I(4,"resize"),I(5,"translate"),f(),h(6,"div",19)(7,"div",20)(8,"p",21),E(9),I(10,"translate"),f(),_(11,jG,2,1,"p",22)(12,$G,2,1,"p",22),f(),h(13,"div",23)(14,"p",21),E(15),I(16,"translate"),f(),h(17,"p",24),E(18),I(19,"translate"),f()(),h(20,"div",25)(21,"p",21),E(22),I(23,"translate"),f(),h(24,"p",24),E(25),I(26,"currencySymbol"),f()()()(),h(27,"div",26)(28,"div",27)(29,"a",28),R("click",function(o){D(e);let r=m();return O(r.closeModal.emit(o))}),E(30),I(31,"translate"),f()()()()}if(t&2){let e=m();d(3),$e("src",ui(4,12,e.product.productModel.picture,"128","128"),ze),$e("alt",T(5,16,"NOTIFICATION.ADDING_TO_CART_MODAL.PRODUCT_PICTURE")),d(6),B(T(10,18,"NOTIFICATION.ADDING_TO_CART_MODAL.PRODUCT_NAME")),d(2),u("ngIf",e.product.productModel.model),d(),u("ngIf",!e.product.productModel.model),d(3),B(T(16,20,"NOTIFICATION.ADDING_TO_CART_MODAL.QUANTITY")),d(3),di("",e.product.quantity," ",T(19,22,"NOTIFICATION.ADDING_TO_CART_MODAL.QUANTITY_SHORTCUT"),""),d(4),B(T(23,24,"NOTIFICATION.ADDING_TO_CART_MODAL.NETT_PRICE")),d(3),B(Pt(26,26,e.product.productModel.priceNet*e.product.quantity,e.product.productModel.currency)),d(4),u("routerLink",Ht(31,BG)),d(),B(T(31,29,"NOTIFICATION.ADDING_TO_CART_MODAL.GO_TO_CART_BTN"))}}function zG(t,i){if(t&1&&(h(0,"div",30)(1,"div",5)(2,"div",31)(3,"div",32),w(4,"img",33),f(),h(5,"p",34),E(6),I(7,"translate"),f()()()()),t&2){let e=m();d(6),B(T(7,1,e.additionalInfo))}}function UG(t,i){t&1&&(h(0,"div",39),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CROSS_SELLING_ACCESSORIES_HEADER")))}function GG(t,i){if(t&1){let e=U();h(0,"product-slider",40,1),R("closeModal",function(o){D(e);let r=m(2);return O(r.closeModal.emit(o))}),f()}if(t&2){let e=m().ngIf,n=m();u("products",e)("config",n.accessoriesSliderConfig)}}function WG(t,i){if(t&1&&(h(0,"div",35)(1,"div",36),_(2,UG,3,3,"div",37)(3,GG,2,2,"product-slider",38),f()()),t&2){let e=i.ngIf;d(2),u("ngIf",e.length>0),d(),u("ngIf",e.length>0)}}function qG(t,i){t&1&&(h(0,"div",41),w(1,"span",42),f())}var KG={templateName:"accessoriesSliderInAddingToCart",rows:1,slidesPerRow:1,slidesToShow:4,infinite:!1,swipe:!1,responsive:[{breakpoint:810,settings:{slidesToShow:1,rows:1,arrows:!0,swipe:!1}},{breakpoint:992,settings:{slidesToShow:2,rows:1,arrows:!0,swipe:!1}}]},Lxe=(()=>{class t{constructor(e,n,o,r){this.locale=e,this.productService=n,this.router=o,this.productResponseConverter=r,this.closeModal=new F,this.accessoriesSliderConfig=KG,this.numberOfProductsToDisplay=4}set product(e){this.router.url===`/${Ll}`?this.closeModal.emit():(this._product=Object.assign({},e),this.productAccessoriesSlider$=this.productService.getProductAssociations(e.productModel.uri,"accessories",0).pipe(pe(n=>n.products.length>this.numberOfProductsToDisplay?Pe(n.products.slice(0,this.numberOfProductsToDisplay)):Pe(n.products)),pe(n=>this.productResponseConverter.convert(n)),ii(),ct(n=>(console.log(n),Y([])))))}get product(){return this._product}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(xi),b(fm),b(ut),b(Bi))}}static{this.\u0275cmp=A({type:t,selectors:[["adding-to-cart-modal"]],viewQuery:function(n,o){if(n&1&&ve(VG,5),n&2){let r;G(r=W())&&(o.accessoriesProductSlider=r.first)}},inputs:{additionalInfo:"additionalInfo",product:"product"},outputs:{closeModal:"closeModal"},standalone:!1,decls:18,vars:9,consts:[["associationLoader",""],["accessoriesProductSlider",""],[1,"adding-to-cart-modal"],[1,"adding-to-cart-modal-container"],[1,"adding-to-cart-modal-header"],[1,"row"],[1,"col-md-12","col-sm-10","col-xs-10","col-lg-10"],[1,"adding-to-cart-modal-header-txt"],[1,"col-md-1","col-sm-2","col-xs-2","col-lg-2","responsive-mode"],[1,"background-under-the-close-icon",3,"click"],["src","assets/svg/x-close.svg",1,"adding-to-cart-modal-header-close"],["class","adding-to-cart-modal-content",4,"ngIf"],["class","adding-to-cart-modal-merchant-limit-box",4,"ngIf"],["class","associations-container",4,"ngIf","ngIfElse"],[1,"adding-to-cart-overflow"],[1,"adding-to-cart-modal-content"],[1,"flex-row","mobile-display"],[1,"adding-to-cart-modal-product-photo"],[3,"src","alt"],[1,"row","details-box"],[1,"adding-to-cart-modal-content-first-box"],[1,"adding-to-cart-modal-content-label"],["class","adding-to-cart-modal-content-value clear",4,"ngIf"],[1,"adding-to-cart-modal-content-second-box"],[1,"adding-to-cart-modal-content-value"],[1,"adding-to-cart-modal-content-third-box"],[1,"flex-row"],[1,"float-none","float-md-end","mt-1","me-md-3","go-to-cart-box"],[1,"btn","btn-primary","base-button","small-btn",3,"click","routerLink"],[1,"adding-to-cart-modal-content-value","clear"],[1,"adding-to-cart-modal-merchant-limit-box"],[1,"col-md-12","col-sm-12","col-xs-12","col-lg-12"],[1,"background-under-the-merchant-limit-info-icon"],["src","assets/svg/merchant-limit-info.svg",1,"adding-to-cart-modal-merchant-limit-info"],[1,"adding-to-cart-modal-merchant-limit-txt"],[1,"associations-container"],[1,"associations-box","m-auto","p-auto"],["class","cross-selling-accessories-header",4,"ngIf"],[3,"products","config","closeModal",4,"ngIf"],[1,"cross-selling-accessories-header"],[3,"closeModal","products","config"],[1,"w-100","text-center","loading","d-flex","align-items-center","justify-content-center","association-loader"],["role","status",1,"sonel-loading","spinner-border","progress-spinner"]],template:function(n,o){if(n&1){let r=U();h(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"p",7),E(6),I(7,"translate"),f()(),h(8,"div",8)(9,"div",9),R("click",function(a){return D(r),O(o.closeModal.emit(a))}),w(10,"img",10),f()()()(),_(11,HG,32,32,"div",11)(12,zG,8,3,"div",12)(13,WG,4,2,"div",13),I(14,"async"),f()(),w(15,"div",14),_(16,qG,2,0,"ng-template",null,0,we)}if(n&2){let r=ge(17);d(6),B(T(7,5,"NOTIFICATION.ADDING_TO_CART_MODAL.TITLE")),d(5),u("ngIf",o.product),d(),u("ngIf",o.additionalInfo),d(),u("ngIf",T(14,7,o.productAccessoriesSlider$))("ngIfElse",r)}},dependencies:[ee,qt,ym,At,lt,Le,Po,Vs],styles:[".associations-container[_ngcontent-%COMP%]{background-color:#f7f7f7;display:block}.associations-box[_ngcontent-%COMP%]{width:94%}.cross-selling-accessories-header[_ngcontent-%COMP%]{clear:both;color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:16px;text-align:left;padding:15px 0}.clear[_ngcontent-%COMP%]{clear:both}.adding-to-cart-modal[_ngcontent-%COMP%]{position:fixed;z-index:6000;width:100%;height:100%;padding:40px 8px;overflow-y:scroll;inset:0}.adding-to-cart-modal-container[_ngcontent-%COMP%]{background-color:#fff;max-width:960px;margin:0 auto}.adding-to-cart-modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #D1D6D8;padding:24px}.adding-to-cart-modal-header-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;width:85%;float:left}.background-under-the-close-icon[_ngcontent-%COMP%]{border-radius:50%;width:15px;height:15px;background:#f7f7f7;position:relative;float:right;cursor:pointer}.adding-to-cart-modal-header-close[_ngcontent-%COMP%]{width:18px;height:18px;position:absolute;top:-1px;left:-1px}.adding-to-cart-modal-content[_ngcontent-%COMP%]{margin:24px 38px;min-height:155px;height:100%;position:relative;padding-bottom:60px}.adding-to-cart-modal-content[_ngcontent-%COMP%] .details-box[_ngcontent-%COMP%]{min-height:90px}.adding-to-cart-modal-content[_ngcontent-%COMP%] .mobile-display[_ngcontent-%COMP%]{display:block}.adding-to-cart-modal-product-photo[_ngcontent-%COMP%]{width:92px;height:92px;margin-right:35px;float:left;position:relative}.adding-to-cart-modal-product-photo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:92px;height:92px;object-fit:contain}.adding-to-cart-modal-content-first-box[_ngcontent-%COMP%]{width:55%}.adding-to-cart-modal-content-second-box[_ngcontent-%COMP%]{max-width:15%;margin-right:15px}.adding-to-cart-modal-content-third-box[_ngcontent-%COMP%]{max-width:27%}.adding-to-cart-modal-content-label[_ngcontent-%COMP%]{color:#959da1;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:14px;text-align:left;width:90%;margin-top:10px;text-transform:uppercase;float:left}.adding-to-cart-modal-content-value[_ngcontent-%COMP%]{color:#172830;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:24px;text-align:left;float:left;margin-top:15px;margin-right:10px;line-height:1.3em}.adding-to-cart-modal-merchant-limit-box[_ngcontent-%COMP%]{padding:40px 30px;border-top:1px solid #D1D6D8}.background-under-the-merchant-limit-info-icon[_ngcontent-%COMP%]{border-radius:50%;width:50px;height:50px;background:#f7f7f7;position:relative;float:left;margin-right:12px}.adding-to-cart-modal-merchant-limit-info[_ngcontent-%COMP%]{position:absolute;top:1px;left:2px}.adding-to-cart-modal-merchant-limit-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;line-height:20px}.adding-to-cart-overflow[_ngcontent-%COMP%]{background:#000;opacity:.4;width:100%;height:100%;position:fixed;z-index:5999;display:block;inset:0}.small-btn[_ngcontent-%COMP%]{min-height:32px;height:100%;color:#fff;text-transform:none!important;margin-bottom:0}@media (max-width: 767.98px){.adding-to-cart-modal-header[_ngcontent-%COMP%] .responsive-mode[_ngcontent-%COMP%]{position:absolute;right:8px;top:16px}.adding-to-cart-modal-container[_ngcontent-%COMP%]{margin:0 7px}.adding-to-cart-modal-content[_ngcontent-%COMP%] .mobile-display[_ngcontent-%COMP%]{display:flex}.adding-to-cart-modal-header-txt[_ngcontent-%COMP%]{font-size:15px}.product-photo-theme[_ngcontent-%COMP%]{width:92px;height:120px;margin-right:35px;float:left;position:relative}.adding-to-cart-modal-content[_ngcontent-%COMP%]{display:inline-block;margin:24px 38px}.adding-to-cart-modal-product-photo[_ngcontent-%COMP%]{margin:auto 0}.adding-to-cart-modal-content[_ngcontent-%COMP%] .details-box[_ngcontent-%COMP%]{margin-left:40px;padding:10px 0}.adding-to-cart-modal-merchant-limit-txt[_ngcontent-%COMP%]{font-size:14px;display:table-cell}.base-button[_ngcontent-%COMP%]{margin-bottom:0;width:100%}}@media (max-width: 575.98px){.associations-container[_ngcontent-%COMP%]{display:none}.adding-to-cart-modal-content[_ngcontent-%COMP%] .mobile-display[_ngcontent-%COMP%]{display:flex}.adding-to-cart-modal-content[_ngcontent-%COMP%] .details-box[_ngcontent-%COMP%]{margin:auto;padding:25px 0 10px;width:40%}.adding-to-cart-modal-content-first-box[_ngcontent-%COMP%]{width:100%}.adding-to-cart-modal-content-second-box[_ngcontent-%COMP%], .adding-to-cart-modal-content-third-box[_ngcontent-%COMP%]{max-width:100%}.adding-to-cart-modal-content-label[_ngcontent-%COMP%]{font-size:11px;margin-top:0}.adding-to-cart-modal-content-value[_ngcontent-%COMP%]{font-size:14px;margin:4px 0 20px}.adding-to-cart-modal-content[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}}"]})}}return t})();var I2=new M("RatingService");var bm=new M("ShowSchemaOrgMicrodata"),Xxe=(()=>{class t{constructor(e,n,o,r){this.environment=e,this.shopService=n,this.ratingService=o,this.domainService=r,this.categoryRoute=this.environment.domain+`/${Zr}/`,this.productRoute=this.environment.domain+`/${yn}/`,this.manufacturer="Sonel",this.schemaProductAvailabilityLinks=new Map([[1,"http://schema.org/InStock"],[3,"http://schema.org/InStock"],[4,"http://schema.org/InStock"],[16,"http://schema.org/OutOfStock"]]),this.polishShopAggregateRating$=Y(this.domainService.isPolish()).pipe(He(s=>s?this.ratingService.getShopRating():Y(null)))}mainPage(){return Uo(this.shopService.getDisplayValShopAttributeByCode("SHOP_SCHEMA_ORG").pipe(de(e=>e!==null),z(e=>JSON.parse(e)),z(e=>({"@context":e.context,"@type":e.type,legalName:e.legalName,url:e.url,logo:e.logo,telephone:e.telephone,email:e.email,address:e.address,areaServed:e.areaServed,sameAs:e.sameAs,contactPoint:{"@type":e.contactPoint.type,telephone:e.contactPoint.telephone,contactType:e.contactPoint.name,areaServed:e.contactPoint.areaServed}})),ct(()=>Y({}))),this.polishShopAggregateRating$.pipe(z(e=>e?{aggregateRating:{"@type":"AggregateRating",ratingValue:Number(e.ratingValue),ratingCount:Number(e.ratingCount)}}:{}))).pipe(z(([e,n])=>k(k({},e),n)))}categoriesList(e){let n=0;return{"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:e.map(r=>({"@type":"listItem",position:n++,item:{"@id":this.categoryRoute+r[0],name:r[1]}}))}}productCard(e){return{"@context":"http://schema.org","@type":"Product",productID:e.id,name:e.name,model:e.model,description:e.marketingDescription,sku:e.defaultSkuCode,image:e.picture,gtin13:e.ean,manufacturer:this.manufacturer,brand:{"@type":"Thing",name:this.manufacturer},offers:{"@type":"Offer",price:e.salePriceGross,priceCurrency:e.currency,itemCondition:"http://schema.org/NewCondition",availability:this.schemaProductAvailabilityLinks.get(e.availability),url:this.productRoute+e.uri}}}static{this.\u0275fac=function(n){return new(n||t)(L(mn),L(Gr),L(I2),L(Wr))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Cm=new M("SchemaOrgMicrodataService");var QG=["previcon"],YG=["nexticon"],ZG=["content"],JG=["prevButton"],XG=["nextButton"],eW=["inkbar"],tW=["tabs"],$d=["*"],nW=t=>({"p-tablist-viewport":t});function iW(t,i){t&1&&le(0)}function oW(t,i){if(t&1&&_(0,iW,1,0,"ng-container",11),t&2){let e=m(2);u("ngTemplateOutlet",e.prevIconTemplate||e._prevIconTemplate)}}function rW(t,i){t&1&&w(0,"ChevronLeftIcon")}function sW(t,i){if(t&1){let e=U();h(0,"button",10,3),R("click",function(){D(e);let o=m();return O(o.onPrevButtonClick())}),_(2,oW,1,1,"ng-container")(3,rW,1,0,"ChevronLeftIcon"),f()}if(t&2){let e=m();N("aria-label",e.prevButtonAriaLabel)("tabindex",e.tabindex())("data-pc-group-section","navigator"),d(2),ci(e.prevIconTemplate||e._prevIconTemplate?2:3)}}function aW(t,i){t&1&&le(0)}function lW(t,i){if(t&1&&_(0,aW,1,0,"ng-container",11),t&2){let e=m(2);u("ngTemplateOutlet",e.nextIconTemplate||e._nextIconTemplate)}}function cW(t,i){t&1&&w(0,"ChevronRightIcon")}function dW(t,i){if(t&1){let e=U();h(0,"button",12,4),R("click",function(){D(e);let o=m();return O(o.onNextButtonClick())}),_(2,lW,1,1,"ng-container")(3,cW,1,0,"ChevronRightIcon"),f()}if(t&2){let e=m();N("aria-label",e.nextButtonAriaLabel)("tabindex",e.tabindex())("data-pc-group-section","navigator"),d(2),ci(e.nextIconTemplate||e._nextIconTemplate?2:3)}}function uW(t,i){t&1&&Ae(0)}var pW=({dt:t})=>` .p-tabs { display: flex; flex-direction: column; } .p-tablist { display: flex; position: relative; } .p-tabs-scrollable > .p-tablist { overflow: hidden; } .p-tablist-viewport { overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior: contain auto; } .p-tablist-viewport::-webkit-scrollbar { display: none; } .p-tablist-tab-list { position: relative; display: flex; background: ${t("tabs.tablist.background")}; border-style: solid; border-color: ${t("tabs.tablist.border.color")}; border-width: ${t("tabs.tablist.border.width")}; } .p-tablist-content { flex-grow: 1; } .p-tablist-nav-button { all: unset; position: absolute !important; flex-shrink: 0; top: 0; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; background: ${t("tabs.nav.button.background")}; color: ${t("tabs.nav.button.color")}; width: ${t("tabs.nav.button.width")}; transition: color ${t("tabs.transition.duration")}, outline-color ${t("tabs.transition.duration")}, box-shadow ${t("tabs.transition.duration")}; box-shadow: ${t("tabs.nav.button.shadow")}; outline-color: transparent; cursor: pointer; } .p-tablist-nav-button:focus-visible { z-index: 1; box-shadow: ${t("tabs.nav.button.focus.ring.shadow")}; outline: ${t("tabs.nav.button.focus.ring.width")} ${t("tabs.nav.button.focus.ring.style")} ${t("tabs.nav.button.focus.ring.color")}; outline-offset: ${t("tabs.nav.button.focus.ring.offset")}; } .p-tablist-nav-button:hover { color: ${t("tabs.nav.button.hover.color")}; } .p-tablist-prev-button { left: 0; } .p-tablist-next-button { right: 0; } .p-tab { display: flex; align-items: center; flex-shrink: 0; cursor: pointer; user-select: none; position: relative; border-style: solid; white-space: nowrap; gap: ${t("tabs.tab.gap")}; background: ${t("tabs.tab.background")}; border-width: ${t("tabs.tab.border.width")}; border-color: ${t("tabs.tab.border.color")}; color: ${t("tabs.tab.color")}; padding: ${t("tabs.tab.padding")}; font-weight: ${t("tabs.tab.font.weight")}; transition: background ${t("tabs.transition.duration")}, border-color ${t("tabs.transition.duration")}, color ${t("tabs.transition.duration")}, outline-color ${t("tabs.transition.duration")}, box-shadow ${t("tabs.transition.duration")}; margin: ${t("tabs.tab.margin")}; outline-color: transparent; } .p-tab:not(.p-disabled):focus-visible { z-index: 1; box-shadow: ${t("tabs.tab.focus.ring.shadow")}; outline: ${t("tabs.tab.focus.ring.width")} ${t("tabs.tab.focus.ring.style")} ${t("tabs.tab.focus.ring.color")}; outline-offset: ${t("tabs.tab.focus.ring.offset")}; } .p-tab:not(.p-tab-active):not(.p-disabled):hover { background: ${t("tabs.tab.hover.background")}; border-color: ${t("tabs.tab.hover.border.color")}; color: ${t("tabs.tab.hover.color")}; } .p-tab-active { background: ${t("tabs.tab.active.background")}; border-color: ${t("tabs.tab.active.border.color")}; color: ${t("tabs.tab.active.color")}; } .p-tabpanels { background: ${t("tabs.tabpanel.background")}; color: ${t("tabs.tabpanel.color")}; padding: ${t("tabs.tabpanel.padding")}; outline: 0 none; } .p-tabpanel:focus-visible { box-shadow: ${t("tabs.tabpanel.focus.ring.shadow")}; outline: ${t("tabs.tabpanel.focus.ring.width")} ${t("tabs.tabpanel.focus.ring.style")} ${t("tabs.tabpanel.focus.ring.color")}; outline-offset: ${t("tabs.tabpanel.focus.ring.offset")}; } .p-tablist-active-bar { z-index: 1; display: block; position: absolute; bottom: ${t("tabs.active.bar.bottom")}; height: ${t("tabs.active.bar.height")}; background: ${t("tabs.active.bar.background")}; transition: 250ms cubic-bezier(0.35, 0, 0.25, 1); } `,hW={root:({props:t})=>["p-tabs p-component",{"p-tabs-scrollable":t.scrollable}]},S2=(()=>{class t extends nt{name="tabs";theme=pW;classes=hW;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var wm=(()=>{class t extends Ue{prevIconTemplate;nextIconTemplate;templates;content;prevButton;nextButton;inkbar;tabs;pcTabs=C(st(()=>Ul));isPrevButtonEnabled=ht(!1);isNextButtonEnabled=ht(!1);resizeObserver;showNavigators=pt(()=>this.pcTabs.showNavigators());tabindex=pt(()=>this.pcTabs.tabindex());scrollable=pt(()=>this.pcTabs.scrollable());constructor(){super(),pi(()=>{this.pcTabs.value(),We(this.platformId)&&setTimeout(()=>{this.updateInkBar()})})}get prevButtonAriaLabel(){return this.config.translation.aria.previous}get nextButtonAriaLabel(){return this.config.translation.aria.next}ngAfterViewInit(){super.ngAfterViewInit(),this.showNavigators()&&We(this.platformId)&&(this.updateButtonState(),this.bindResizeObserver())}_prevIconTemplate;_nextIconTemplate;ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"previcon":this._prevIconTemplate=e.template;break;case"nexticon":this._nextIconTemplate=e.template;break}})}ngOnDestroy(){this.unbindResizeObserver(),super.ngOnDestroy()}onScroll(e){this.showNavigators()&&this.updateButtonState(),e.preventDefault()}onPrevButtonClick(){let e=this.content.nativeElement,n=Wn(e),o=Math.abs(e.scrollLeft)-n,r=o<=0?0:o;e.scrollLeft=$v(e)?-1*r:r}onNextButtonClick(){let e=this.content.nativeElement,n=Wn(e)-this.getVisibleButtonWidths(),o=e.scrollLeft+n,r=e.scrollWidth-n,s=o>=r?r:o;e.scrollLeft=$v(e)?-1*s:s}updateButtonState(){let e=this.content?.nativeElement,n=this.el?.nativeElement,{scrollWidth:o,offsetWidth:r}=e,s=Math.abs(e.scrollLeft),a=Wn(e);this.isPrevButtonEnabled.set(s!==0),this.isNextButtonEnabled.set(n.offsetWidth>=r&&s!==o-a)}updateInkBar(){let e=this.content.nativeElement,n=this.inkbar.nativeElement,o=this.tabs.nativeElement,r=jt(e,'[data-pc-name="tab"][data-p-active="true"]');n.style.width=Un(r)+"px",n.style.left=cd(r).left-cd(o).left+"px"}getVisibleButtonWidths(){let e=this.prevButton?.nativeElement,n=this.nextButton?.nativeElement;return[e,n].reduce((o,r)=>r?o+Wn(r):o,0)}bindResizeObserver(){this.resizeObserver=new ResizeObserver(()=>this.updateButtonState()),this.resizeObserver.observe(this.el.nativeElement)}unbindResizeObserver(){this.resizeObserver&&(this.resizeObserver.unobserve(this.el.nativeElement),this.resizeObserver=null)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["p-tablist"]],contentQueries:function(n,o,r){if(n&1&&(he(r,QG,4),he(r,YG,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.prevIconTemplate=s.first),G(s=W())&&(o.nextIconTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(ZG,5),ve(JG,5),ve(XG,5),ve(eW,5),ve(tW,5)),n&2){let r;G(r=W())&&(o.content=r.first),G(r=W())&&(o.prevButton=r.first),G(r=W())&&(o.nextButton=r.first),G(r=W())&&(o.inkbar=r.first),G(r=W())&&(o.tabs=r.first)}},hostVars:5,hostBindings:function(n,o){n&2&&(N("data-pc-name","tablist"),tt("p-tablist",!0)("p-component",!0))},features:[Z],ngContentSelectors:$d,decls:9,vars:6,consts:[["content",""],["tabs",""],["inkbar",""],["prevButton",""],["nextButton",""],["type","button","pRipple","",1,"p-tablist-nav-button","p-tablist-prev-button"],[1,"p-tablist-content",3,"scroll","ngClass"],["role","tablist",1,"p-tablist-tab-list"],["role","presentation",1,"p-tablist-active-bar"],["type","button","pRipple","",1,"p-tablist-nav-button","p-tablist-next-button"],["type","button","pRipple","",1,"p-tablist-nav-button","p-tablist-prev-button",3,"click"],[4,"ngTemplateOutlet"],["type","button","pRipple","",1,"p-tablist-nav-button","p-tablist-next-button",3,"click"]],template:function(n,o){if(n&1){let r=U();Xe(),_(0,sW,4,4,"button",5),h(1,"div",6,0),R("scroll",function(a){return D(r),O(o.onScroll(a))}),h(3,"div",7,1),Ae(5),w(6,"span",8,2),f()(),_(8,dW,4,4,"button",9)}n&2&&(ci(o.showNavigators()&&o.isPrevButtonEnabled()?0:-1),d(),u("ngClass",ce(4,nW,o.scrollable())),d(5),N("data-pc-section","inkbar"),d(2),ci(o.showNavigators()&&o.isNextButtonEnabled()?8:-1))},dependencies:[Se,_t,vt,bO,CO,IO,co,Ye],encapsulation:2,changeDetection:0})}return t})(),Kb=(()=>{class t extends Ue{value=Ja();disabled=Xt(!1,{transform:H});pcTabs=C(st(()=>Ul));pcTabList=C(st(()=>wm));el=C(ye);ripple=pt(()=>this.config.ripple());id=pt(()=>`${this.pcTabs.id()}_tab_${this.value()}`);ariaControls=pt(()=>`${this.pcTabs.id()}_tabpanel_${this.value()}`);active=pt(()=>Oo(this.pcTabs.value(),this.value()));tabindex=pt(()=>this.active()?this.pcTabs.tabindex():-1);mutationObserver;onFocus(e){this.pcTabs.selectOnFocus()&&this.changeActiveValue()}onClick(e){this.changeActiveValue()}onKeyDown(e){switch(e.code){case"ArrowRight":this.onArrowRightKey(e);break;case"ArrowLeft":this.onArrowLeftKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"NumpadEnter":case"Space":this.onEnterKey(e);break;default:break}e.stopPropagation()}ngAfterViewInit(){super.ngAfterViewInit(),this.bindMutationObserver()}onArrowRightKey(e){let n=this.findNextTab(e.currentTarget);n?this.changeFocusedTab(e,n):this.onHomeKey(e),e.preventDefault()}onArrowLeftKey(e){let n=this.findPrevTab(e.currentTarget);n?this.changeFocusedTab(e,n):this.onEndKey(e),e.preventDefault()}onHomeKey(e){let n=this.findFirstTab();this.changeFocusedTab(e,n),e.preventDefault()}onEndKey(e){let n=this.findLastTab();this.changeFocusedTab(e,n),e.preventDefault()}onPageDownKey(e){this.scrollInView(this.findLastTab()),e.preventDefault()}onPageUpKey(e){this.scrollInView(this.findFirstTab()),e.preventDefault()}onEnterKey(e){this.changeActiveValue(),e.preventDefault()}findNextTab(e,n=!1){let o=n?e:e.nextElementSibling;return o?ld(o,"data-p-disabled")||ld(o,"data-pc-section")==="inkbar"?this.findNextTab(o):o:null}findPrevTab(e,n=!1){let o=n?e:e.previousElementSibling;return o?ld(o,"data-p-disabled")||ld(o,"data-pc-section")==="inkbar"?this.findPrevTab(o):o:null}findFirstTab(){return this.findNextTab(this.pcTabList?.tabs?.nativeElement?.firstElementChild,!0)}findLastTab(){return this.findPrevTab(this.pcTabList?.tabs?.nativeElement?.lastElementChild,!0)}changeActiveValue(){this.pcTabs.updateValue(this.value())}changeFocusedTab(e,n){$t(n),this.scrollInView(n)}scrollInView(e){e?.scrollIntoView?.({block:"nearest"})}bindMutationObserver(){We(this.platformId)&&(this.mutationObserver=new MutationObserver(e=>{e.forEach(()=>{this.active()&&this.pcTabList?.updateInkBar()})}),this.mutationObserver.observe(this.el.nativeElement,{childList:!0,characterData:!0,subtree:!0}))}unbindMutationObserver(){this.mutationObserver.disconnect()}ngOnDestroy(){this.mutationObserver&&this.unbindMutationObserver(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-tab"]],hostVars:16,hostBindings:function(n,o){n&1&&R("focus",function(s){return o.onFocus(s)})("click",function(s){return o.onClick(s)})("keydown",function(s){return o.onKeyDown(s)}),n&2&&(N("data-pc-name","tab")("id",o.id())("aria-controls",o.ariaControls())("role","tab")("aria-selected",o.active())("data-p-disabled",o.disabled())("data-p-active",o.active())("tabindex",o.tabindex()),tt("p-tab",!0)("p-tab-active",o.active())("p-disabled",o.disabled())("p-component",!0))},inputs:{value:[1,"value"],disabled:[1,"disabled"]},outputs:{value:"valueChange"},features:[cy([co]),Z],ngContentSelectors:$d,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},dependencies:[Se,Ye],encapsulation:2,changeDetection:0})}return t})(),Qb=(()=>{class t extends Ue{pcTabs=C(st(()=>Ul));value=Ja(void 0);id=pt(()=>`${this.pcTabs.id()}_tabpanel_${this.value()}`);ariaLabelledby=pt(()=>`${this.pcTabs.id()}_tab_${this.value()}`);active=pt(()=>Oo(this.pcTabs.value(),this.value()));static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-tabpanel"]],hostVars:9,hostBindings:function(n,o){n&2&&(N("data-pc-name","tabpanel")("id",o.id())("role","tabpanel")("aria-labelledby",o.ariaLabelledby())("data-p-active",o.active()),tt("p-tabpanel",!0)("p-component",!0))},inputs:{value:[1,"value"]},outputs:{value:"valueChange"},features:[Z],ngContentSelectors:$d,decls:1,vars:1,template:function(n,o){n&1&&(Xe(),_(0,uW,1,0)),n&2&&ci(o.active()?0:-1)},dependencies:[Se],encapsulation:2,changeDetection:0})}return t})(),Yb=(()=>{class t extends Ue{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-tabpanels"]],hostVars:6,hostBindings:function(n,o){n&2&&(N("data-pc-name","tabpanels")("role","presentation"),tt("p-tabpanels",!0)("p-component",!0))},features:[Z],ngContentSelectors:$d,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},dependencies:[Se],encapsulation:2,changeDetection:0})}return t})(),Ul=(()=>{class t extends Ue{value=Ja(void 0);scrollable=Xt(!1,{transform:H});lazy=Xt(!1,{transform:H});selectOnFocus=Xt(!1,{transform:H});showNavigators=Xt(!0,{transform:H});tabindex=Xt(0,{transform:ot});id=ht(Gt("pn_id_"));_componentStyle=C(S2);updateValue(e){this.value.update(()=>e)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-tabs"]],hostVars:8,hostBindings:function(n,o){n&2&&(N("data-pc-name","tabs")("id",o.id),tt("p-tabs",!0)("p-tabs-scrollable",o.scrollable())("p-component",!0))},inputs:{value:[1,"value"],scrollable:[1,"scrollable"],lazy:[1,"lazy"],selectOnFocus:[1,"selectOnFocus"],showNavigators:[1,"showNavigators"],tabindex:[1,"tabindex"]},outputs:{value:"valueChange"},features:[fe([S2]),Z],ngContentSelectors:$d,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},dependencies:[Se],encapsulation:2,changeDetection:0})}return t})(),T2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Ul,Yb,Qb,wm,Kb]})}return t})();var xm=class{constructor(i,e,n){this.url=i,this.image=e,this.src=n}};var Gl=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Gl||{}),Em,Gs;function Zb(){if(Gs==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Gs=!1,Gs;if("scrollBehavior"in document.documentElement.style)Gs=!0;else{let t=Element.prototype.scrollTo;t?Gs=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Gs=!1}}return Gs}function Jb(){if(typeof document!="object"||!document)return Gl.NORMAL;if(Em==null){let t=document.createElement("div"),i=t.style;t.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",t.appendChild(e),document.body.appendChild(t),Em=Gl.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Em=t.scrollLeft===0?Gl.NEGATED:Gl.INVERTED),t.remove()}return Em}function Xb(t){return t.composedPath?t.composedPath()[0]:t.target}function e1(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Hd(t,i,e,n,o){let r=parseInt(xy.major),s=parseInt(xy.minor);return r>19||r===19&&s>0||r===0&&s===0?t.listen(i,e,n,o):(i.addEventListener(e,n,o),()=>{i.removeEventListener(e,n,o)})}function zd(t){return t instanceof ye?t.nativeElement:t}function Jt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function _W(t,i){if(t&1){let e=U();h(0,"div",1),R("click",function(){let o=D(e).index,r=m();return O(r.gallery.ref(r.galleryId).set(o))}),w(1,"div",2),f()}if(t&2){let e=i.index,n=m();Yt("width",n.config==null?null:n.config.dotsSize,"px")("height",n.config==null?null:n.config.dotsSize,"px"),tt("g-dot-active",e===n.state.currIndex)}}function yW(t,i){if(t&1){let e=U();h(0,"i",2),R("click",function(){D(e);let o=m();return O(o.gallery.ref(o.galleryId).prev(o.config.navScrollBehavior))}),f()}if(t&2){let e=m();u("innerHtml",e.navIcon,Rt)}}function vW(t,i){if(t&1){let e=U();h(0,"i",3),R("click",function(){D(e);let o=m();return O(o.gallery.ref(o.galleryId).next(o.config.navScrollBehavior))}),f()}if(t&2){let e=m();u("innerHtml",e.navIcon,Rt)}}var bW=["iframe"];function CW(t,i){if(t&1&&w(0,"iframe",3,1),t&2){let e=m();u("src",e.iframeSrc,hh),N("loading",e.loadingAttr)}}function wW(t,i){if(t&1&&w(0,"iframe",4,1),t&2){let e=m();u("src",e.iframeSrc,hh),N("loading",e.loadingAttr)}}var xW=["video"];function EW(t,i){if(t&1&&w(0,"source",5),t&2){let e=m().$implicit;u("src",e==null?null:e.url,ze)("type",e.type)}}function IW(t,i){if(t&1&&w(0,"source",6),t&2){let e=m().$implicit;u("src",e==null?null:e.url,ze)}}function SW(t,i){if(t&1&&(se(0),_(1,EW,1,2,"source",4)(2,IW,1,1,"ng-template",null,1,we),ae()),t&2){let e=i.$implicit,n=ge(3);d(),u("ngIf",e==null?null:e.type)("ngIfElse",n)}}function TW(t,i){if(t&1&&w(0,"div",9),t&2){let e=m(2);u("innerHTML",e.errorTemplate,Rt)}}function DW(t,i){if(t&1&&(se(0),h(1,"h4"),w(2,"div",11),f(),ae()),t&2){let e=m(3);d(2),u("innerHTML",e.errorSvg,Rt)}}function OW(t,i){if(t&1&&(h(0,"h2"),w(1,"div",12),f(),h(2,"p"),E(3,"Unable to load the image!"),f()),t&2){let e=m(3);d(),u("innerHTML",e.errorSvg,Rt)}}function MW(t,i){if(t&1&&_(0,DW,3,1,"ng-container",10)(1,OW,4,1,"ng-template",null,1,we),t&2){let e=ge(2),n=m(2);u("ngIf",n.isThumbnail)("ngIfElse",e)}}function RW(t,i){if(t&1&&(h(0,"div",7),_(1,TW,1,1,"div",8)(2,MW,3,2,"ng-template",null,0,we),f()),t&2){let e=ge(3),n=m();d(),u("ngIf",n.errorTemplate)("ngIfElse",e)}}function PW(t,i){if(t&1&&w(0,"div",14),t&2){let e=m(2);u("innerHTML",e.loaderTemplate,Rt)}}function kW(t,i){t&1&&w(0,"div",16)}function AW(t,i){if(t&1&&_(0,kW,1,0,"div",15),t&2){let e=m(2);u("ngIf",e.isThumbnail)}}function NW(t,i){if(t&1&&(se(0),_(1,PW,1,1,"div",13)(2,AW,1,1,"ng-template",null,2,we),ae()),t&2){let e=ge(3),n=m();d(),u("ngIf",n.loaderTemplate)("ngIfElse",e)}}function FW(t,i){t&1&&le(0)}function LW(t,i){if(t&1&&(h(0,"div",9),_(1,FW,1,0,"ng-container",10),f()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.config.imageTemplate)("ngTemplateOutletContext",e.imageContext)}}function VW(t,i){if(t&1){let e=U();se(0),h(1,"gallery-image",7),R("loaded",function(){D(e);let o=m(2);return O(o.onItemLoaded())})("error",function(o){D(e);let r=m(2);return O(r.error.emit(o))}),f(),_(2,LW,2,2,"div",8),ae()}if(t&2){let e=m(2);d(),u("src",e.imageData.src)("alt",e.imageData.alt)("loadingAttr",e.config.loadingAttr)("loadingIcon",e.config.loadingIcon)("loadingError",e.config.loadingError),d(),u("ngIf",e.config.imageTemplate)}}function BW(t,i){if(t&1){let e=U();h(0,"gallery-video",11),R("error",function(o){D(e);let r=m(2);return O(r.error.emit(o))}),f()}if(t&2){let e=m(2);u("src",e.videoData.src)("mute",e.videoData.mute)("poster",e.videoData.poster)("controls",e.videoData.controls)("controlsList",e.videoData.controlsList)("disablePictureInPicture",e.videoData.disablePictureInPicture)("play",e.isAutoPlay)("pause",e.currIndex!==e.index)}}function jW(t,i){if(t&1&&w(0,"gallery-iframe",12),t&2){let e=m(2);u("src",e.youtubeSrc)("autoplay",e.isAutoPlay)("loadingAttr",e.config.loadingAttr)("pause",e.currIndex!==e.index)}}function $W(t,i){if(t&1&&w(0,"gallery-iframe",13),t&2){let e=m(2);u("src",e.data.src)("loadingAttr",e.config.loadingAttr)}}function HW(t,i){t&1&&le(0)}function zW(t,i){if(t&1&&(h(0,"div",9),_(1,HW,1,0,"ng-container",10),f()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.config.itemTemplate)("ngTemplateOutletContext",e.itemContext)}}function UW(t,i){if(t&1&&(se(0),_(1,zW,2,2,"div",8),ae()),t&2){let e=m(2);d(),u("ngIf",e.config.itemTemplate)}}function GW(t,i){if(t&1&&(se(0,1),_(1,VW,3,6,"ng-container",2)(2,BW,1,8,"gallery-video",3)(3,jW,1,4,"gallery-iframe",4)(4,$W,1,2,"gallery-iframe",5)(5,UW,2,1,"ng-container",6),ae()),t&2){let e=m();u("ngSwitch",e.type),d(),u("ngSwitchCase",e.Types.Image),d(),u("ngSwitchCase",e.Types.Video),d(),u("ngSwitchCase",e.Types.Youtube),d(),u("ngSwitchCase",e.Types.Iframe)}}var P2=["slider"],WW=["*"];function qW(t,i){if(t&1){let e=U();h(0,"gallery-item",4),R("click",function(){let o=D(e).index,r=m();return O(r.itemClick.emit(o))})("error",function(o){let r=D(e).index,s=m();return O(s.error.emit({itemIndex:r,error:o}))}),f()}if(t&2){let e=i.$implicit,n=i.index,o=m();u("type",e.type)("config",o.config)("data",e.data)("currIndex",o.state.currIndex)("index",n)("count",o.state.items.length),N("galleryId",o.galleryId)}}function KW(t,i){t&1&&le(0)}function QW(t,i){if(t&1&&(h(0,"div",2),_(1,KW,1,0,"ng-container",3),f()),t&2){let e=m();d(),u("ngTemplateOutlet",e.config.thumbTemplate)("ngTemplateOutletContext",e.imageContext)}}function YW(t,i){if(t&1){let e=U();h(0,"gallery-thumb",4),R("click",function(){let o=D(e).index,r=m();return O(r.config.disableThumb?null:r.thumbClick.emit(o))})("error",function(o){let r=D(e).index,s=m();return O(s.error.emit({itemIndex:r,error:o}))}),f()}if(t&2){let e=i.$implicit,n=i.index,o=m();u("type",e.type)("config",o.config)("data",e.data)("currIndex",o.state.currIndex)("index",n)("count",o.state.items.length)}}var ZW=(t,i)=>({state:t,config:i});function JW(t,i){if(t&1){let e=U();h(0,"gallery-thumbs",7),R("thumbClick",function(o){D(e);let r=m();return O(r.thumbClick.emit(o))})("error",function(o){D(e);let r=m();return O(r.error.emit(o))}),f()}if(t&2){let e=m();u("state",e.state)("config",e.config)}}function XW(t,i){if(t&1&&w(0,"gallery-nav",8),t&2){let e=m();u("state",e.state)("config",e.config)("galleryId",e.galleryId)}}function eq(t,i){if(t&1&&w(0,"gallery-dots",8),t&2){let e=m();u("state",e.state)("config",e.config)("galleryId",e.galleryId)}}function tq(t,i){if(t&1&&w(0,"gallery-counter",9),t&2){let e=m();u("state",e.state)}}function nq(t,i){t&1&&le(0)}var kn=function(t){return t.INITIALIZED="initialized",t.ITEMS_CHANGED="itemsChanged",t.INDEX_CHANGED="indexChanged",t.PLAY="play",t.STOP="stop",t}(kn||{}),t1=function(t){return t.Cover="cover",t.Contain="contain",t}(t1||{}),Sm=function(t){return t.Preload="preload",t.Lazy="lazy",t.Default="default",t}(Sm||{}),k2=function(t){return t.Eager="eager",t.Lazy="lazy",t}(k2||{}),Jr=function(t){return t.Top="top",t.Left="left",t.Right="right",t.Bottom="bottom",t}(Jr||{}),A2=function(t){return t.Top="top",t.Bottom="bottom",t}(A2||{}),N2=function(t){return t.Top="top",t.Bottom="bottom",t}(N2||{}),Tm=function(t){return t.Horizontal="horizontal",t.Vertical="vertical",t}(Tm||{}),gr=function(t){return t.Image="image",t.Video="video",t.Youtube="youtube",t.Iframe="iframe",t}(gr||{}),Wd=function(t){return t.Default="default",t.Contain="contain",t}(Wd||{}),D2={action:kn.INITIALIZED,isPlaying:!1,hasNext:!1,hasPrev:!1,currIndex:0,items:[]},O2={nav:!0,loop:!0,dots:!1,thumb:!0,debug:!1,dotsSize:6,counter:!0,autoPlay:!1,thumbWidth:120,thumbHeight:90,disableThumb:!1,slidingDisabled:!1,thumbSlidingDisabled:!1,mouseSlidingDisabled:!1,thumbMouseSlidingDisabled:!1,playerInterval:3e3,slidingDuration:468,slidingEase:{x1:.42,y1:0,x2:.58,y2:1},thumbAutosize:!1,itemAutosize:!1,autoHeight:!1,scrollBehavior:"smooth",navScrollBehavior:"smooth",resizeDebounceTime:50,loadingAttr:k2.Lazy,imageSize:t1.Contain,thumbImageSize:t1.Cover,thumbView:Wd.Default,dotsPosition:A2.Bottom,counterPosition:N2.Top,thumbPosition:Jr.Bottom,loadingStrategy:Sm.Preload,slidingDirection:Tm.Horizontal,navIcon:'',loadingIcon:''},Wl=class{constructor(i){this.data=i,this.type=gr.Image}},n1=class{constructor(i){this.data=i,this.type=gr.Video}},i1=class{constructor(i){this.data=i,this.type=gr.Iframe}},o1=class{constructor(i){this.data=Ce(k({},i),{src:`https://youtube.com/embed/${i.src}`,thumb:i.thumb?i.thumb:`//img.youtube.com/vi/${i.src}/default.jpg`}),this.type=gr.Youtube}},Ud=t=>de(i=>t.indexOf(i.action)>-1),r1=class{get stateSnapshot(){return this._state.value}get configSnapshot(){return this._config.value}get initialized(){return this.state.pipe(Ud([kn.INITIALIZED]))}get itemsChanged(){return this.state.pipe(Ud([kn.ITEMS_CHANGED]))}get indexChanged(){return this.state.pipe(Ud([kn.INDEX_CHANGED]))}get playingChanged(){return this.state.pipe(Ud([kn.PLAY,kn.STOP]))}get playerActions(){return this.state.pipe(Ud([kn.PLAY,kn.STOP,kn.INDEX_CHANGED]))}constructor(i,e){this.deleteInstance=e,this.itemClick=new K,this.thumbClick=new K,this.error=new K,this._state=new Ft(D2),this._config=new Ft(i),this.state=this._state.asObservable(),this.config=this._config.asObservable()}activatePlayer(){return this.playerActions.pipe(He(i=>i.isPlaying?Y({}).pipe(cc(this._config.value.playerInterval),be(()=>this.next(this._config.value.scrollBehavior))):ft))}setState(i){this._state.next(k(k({},this.stateSnapshot),i))}setConfig(i){this._config.next(k(k({},this._config.value),i))}add(i,e){let n=[...this.stateSnapshot.items,i];this.setState({action:kn.ITEMS_CHANGED,items:n,hasNext:n.length>1,currIndex:e?n.length-1:this.stateSnapshot.currIndex})}addImage(i,e){this.add(new Wl(i),e)}addVideo(i,e){this.add(new n1(i),e)}addIframe(i,e){this.add(new i1(i),e)}addYoutube(i,e){this.add(new o1(i),e)}remove(i){let e=this.stateSnapshot,n=[...e.items.slice(0,i),...e.items.slice(i+1,e.items.length)];this.setState({action:kn.ITEMS_CHANGED,currIndex:i<1?e.currIndex:i-1,items:n,hasNext:n.length>1,hasPrev:i>0})}load(i){i&&this.setState({action:kn.ITEMS_CHANGED,items:i,hasNext:i.length>1,hasPrev:!1})}set(i,e=this._config.value.scrollBehavior){if(i<0||i>=this.stateSnapshot.items.length){console.error(`[NgGallery]: Unable to set the active item because the given index (${i}) is outside the items range!`);return}i!==this.stateSnapshot.currIndex&&this.setState({behavior:e,action:kn.INDEX_CHANGED,currIndex:i,hasNext:i0})}next(i=this._config.value.scrollBehavior,e=!0){this.stateSnapshot.hasNext?this.set(this.stateSnapshot.currIndex+1,i):e&&this._config.value.loop&&this.set(0,i)}prev(i=this._config.value.scrollBehavior,e=!0){this.stateSnapshot.hasPrev?this.set(this.stateSnapshot.currIndex-1,i):e&&this._config.value.loop&&this.set(this.stateSnapshot.items.length-1,i)}play(i){i&&this.setConfig({playerInterval:i}),this.setState({action:kn.PLAY,isPlaying:!0})}stop(){this.setState({action:kn.STOP,isPlaying:!1})}reset(){this.setState(D2)}destroy(){this._state.complete(),this._config.complete(),this.itemClick.complete(),this.thumbClick.complete(),this.deleteInstance()}},iq=new M("GALLERY_CONFIG"),Xr=(()=>{class t{constructor(e){this._instances=new Map,this.config=e?k(k({},O2),e):O2}ref(e="root",n){if(this._instances.has(e)){let o=this._instances.get(e);return n&&o.setConfig(k(k({},this.config),n)),o}else return this._instances.set(e,new r1(k(k({},this.config),n),this.deleteInstance(e))).get(e)}destroyAll(){this._instances.forEach(e=>e.destroy())}resetAll(){this._instances.forEach(e=>e.reset())}debugConsole(...e){this.config.debug&&console.log(...e)}deleteInstance(e){return()=>{this._instances.has(e)&&this._instances.delete(e)}}static{this.\u0275fac=function(n){return new(n||t)(L(iq,8))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),oq=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-counter"]],inputs:{state:"state"},decls:2,vars:1,consts:[[1,"g-counter"]],template:function(n,o){n&1&&(h(0,"div",0),E(1),f()),n&2&&(d(),B(o.state.currIndex+1+" / "+o.state.items.length))},encapsulation:2,changeDetection:0})}}return t})(),rq=(()=>{class t{constructor(e){this.gallery=e}static{this.\u0275fac=function(n){return new(n||t)(b(Xr))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-dots"]],inputs:{galleryId:"galleryId",state:"state",config:"config"},decls:1,vars:1,consts:[["class","g-dot",3,"g-dot-active","width","height","click",4,"ngFor","ngForOf"],[1,"g-dot",3,"click"],[1,"g-dot-inner"]],template:function(n,o){n&1&&_(0,_W,2,6,"div",0),n&2&&u("ngForOf",o.state.items)},dependencies:[Se,at],encapsulation:2,changeDetection:0})}}return t})(),sq=(()=>{class t{constructor(e,n){this.gallery=e,this._sanitizer=n}ngOnInit(){this.navIcon=this._sanitizer.bypassSecurityTrustHtml(this.config.navIcon)}static{this.\u0275fac=function(n){return new(n||t)(b(Xr),b(ar))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-nav"]],inputs:{galleryId:"galleryId",state:"state",config:"config"},decls:2,vars:2,consts:[["class","g-nav-prev","aria-label","Previous","role","button",3,"innerHtml","click",4,"ngIf"],["class","g-nav-next","aria-label","Next","role","button",3,"innerHtml","click",4,"ngIf"],["aria-label","Previous","role","button",1,"g-nav-prev",3,"click","innerHtml"],["aria-label","Next","role","button",1,"g-nav-next",3,"click","innerHtml"]],template:function(n,o){n&1&&_(0,yW,1,1,"i",0)(1,vW,1,1,"i",1),n&2&&(u("ngIf",o.config.loop||o.state.hasPrev),d(),u("ngIf",o.config.loop||o.state.hasNext))},dependencies:[Se,ee],encapsulation:2,changeDetection:0})}}return t})(),aq=2,lq=4,cq=8,dq=16;var Dm=class{get scrollValue(){return this.slider.scrollLeft}get clientSize(){return this.slider.clientWidth}constructor(i,e){this.slider=i,this.config=e,this.panDirection=aq|lq,this.scrollSnapType="x mandatory"}getPanValue(i,e,n){return{behavior:n,left:i-e.deltaX}}},Om=class{get scrollValue(){return this.slider.scrollTop}get clientSize(){return this.slider.clientHeight}constructor(i,e){this.slider=i,this.config=e,this.scrollSnapType="y mandatory",this.panDirection=cq|dq}getPanValue(i,e,n){return{behavior:n,top:i-e.deltaY}}},s1=class extends Dm{get thumbSize(){return this.config.thumbWidth}get isContentLessThanContainer(){return this.slider.clientWidth>=this.slider.firstElementChild.clientWidth}constructor(i,e){super(i,e),this.slider=i,this.config=e}getCentralisedScrollToValue(i,e,n){let o=i.offsetLeft;return n===Wd.Default&&(o-=this.clientSize/2-i.clientWidth/2),{start:o,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getScrollToValue(i,e){return{start:i.offsetLeft-(this.clientSize-i.clientWidth)/2,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientWidth/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientWidth/2}},a1=class extends Om{get thumbSize(){return this.config.thumbHeight}get isContentLessThanContainer(){return this.slider.clientHeight>=this.slider.firstElementChild.clientHeight}constructor(i,e){super(i,e),this.slider=i,this.config=e}getCentralisedScrollToValue(i,e,n){let o=i.offsetTop;return n===Wd.Default&&(o-=this.clientSize/2-i.clientHeight/2),{top:o,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getScrollToValue(i,e){return{top:i.offsetTop-(this.clientSize-i.clientHeight)/2,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientHeight/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientHeight/2}},l1=class extends Dm{get measureIndex(){return this.slider.scrollLeft/this.slider.clientWidth}get isContentLessThanContainer(){return this.slider.clientWidth>=this.slider.firstElementChild.clientWidth}constructor(i,e){super(i,e),this.slider=i,this.config=e}getClientSize(i){return i.clientWidth}getOffsetSize(i){return i.offsetLeft}getScrollToValue(i,e){return{start:i.offsetLeft-(this.clientSize-i.clientWidth)/2,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getPanDelta(i){return i.deltaX}getPanVelocity(i){return i.velocityX}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientWidth/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientWidth)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientWidth/2}},c1=class extends Om{get measureIndex(){return this.slider.scrollTop/this.slider.clientHeight}get isContentLessThanContainer(){return this.slider.clientHeight>=this.slider.firstElementChild.clientHeight}constructor(i,e){super(i,e),this.slider=i,this.config=e}getClientSize(i){return i.clientHeight}getOffsetSize(i){return i.offsetTop}getScrollToValue(i,e){return{top:i.offsetTop-(this.clientSize-i.clientHeight)/2,duration:e==="smooth"?this.config.slidingDuration:0,easing:this.config.slidingEase}}getPanDelta(i){return i.deltaY}getPanVelocity(i){return i.velocityY}getCentralizerStartSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.firstElementChild?.clientHeight/2}getCentralizerEndSize(){return this.isContentLessThanContainer?(this.clientSize-this.slider.firstElementChild.clientHeight)/2:this.clientSize/2-this.slider.firstElementChild.lastElementChild?.clientHeight/2}};function F2(t){return new Te(i=>{let e=new ResizeObserver(n=>i.next(n));return e.observe(t),function(){e.disconnect()}})}var uq=(()=>{class t{set src(e){this.videoSrc=e,this.iframeSrc=this._sanitizer.bypassSecurityTrustResourceUrl(e)}set pauseVideo(e){if(this.iframe?.nativeElement&&e){let n=this.iframe.nativeElement;n.src=null,!this.autoplay&&this.videoSrc&&(this.iframeSrc=this._sanitizer.bypassSecurityTrustResourceUrl(this.videoSrc))}}constructor(e){this._sanitizer=e}static{this.\u0275fac=function(n){return new(n||t)(b(ar))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-iframe"]],viewQuery:function(n,o){if(n&1&&ve(bW,5),n&2){let r;G(r=W())&&(o.iframe=r.first)}},inputs:{src:"src",pauseVideo:[0,"pause","pauseVideo"],autoplay:"autoplay",loadingAttr:"loadingAttr"},decls:3,vars:2,consts:[["default",""],["iframe",""],["allowfullscreen","","allow","","style","border:none",3,"src",4,"ngIf","ngIfElse"],["allowfullscreen","","allow","",2,"border","none",3,"src"],["allowfullscreen","",2,"border","none",3,"src"]],template:function(n,o){if(n&1&&_(0,CW,2,2,"iframe",2)(1,wW,2,2,"ng-template",null,0,we),n&2){let r=ge(2);u("ngIf",o.autoplay)("ngIfElse",r)}},dependencies:[ee],encapsulation:2,changeDetection:0})}}return t})(),pq=(()=>{class t{constructor(){this.error=new F}set pauseVideo(e){if(this.video.nativeElement){let n=this.video.nativeElement;e&&!n.paused&&n.pause()}}set playVideo(e){if(this.video.nativeElement){let n=this.video.nativeElement;e&&n.play()}}ngOnInit(){this.src instanceof Array?this.videoSources=[...this.src]:this.videoSources=[{url:this.src}]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-video"]],viewQuery:function(n,o){if(n&1&&ve(xW,7),n&2){let r;G(r=W())&&(o.video=r.first)}},inputs:{src:"src",poster:"poster",mute:"mute",loop:"loop",controls:"controls",controlsList:"controlsList",disableRemotePlayback:"disableRemotePlayback",disablePictureInPicture:"disablePictureInPicture",pauseVideo:[0,"pause","pauseVideo"],playVideo:[0,"play","playVideo"]},outputs:{error:"error"},decls:3,vars:8,consts:[["video",""],["noType",""],[3,"error","disableRemotePlayback","controls","loop","poster"],[4,"ngFor","ngForOf"],[3,"src","type",4,"ngIf","ngIfElse"],[3,"src","type"],[3,"src"]],template:function(n,o){if(n&1){let r=U();h(0,"video",2,0),R("error",function(a){return D(r),O(o.error.emit(a))}),_(2,SW,4,2,"ng-container",3),f()}n&2&&(u("disableRemotePlayback",o.disableRemotePlayback)("controls",o.controls)("loop",o.loop)("poster",o.poster,ze),N("mute",o.mute)("controlsList",o.controlsList)("disablePictureInPicture",o.disablePictureInPicture),d(2),u("ngForOf",o.videoSources))},dependencies:[at,ee],encapsulation:2,changeDetection:0})}}return t})(),hq=` `,L2=(()=>{class t{get imageState(){return this.state}constructor(e){this._sanitizer=e,this.state="loading",this.progress=0,this.errorIcon=hq,this.error=new F,this.loaded=new F}ngOnInit(){this.loadingIcon&&(this.loaderTemplate=this._sanitizer.bypassSecurityTrustHtml(this.loadingIcon)),this.loadingError&&(this.errorTemplate=this._sanitizer.bypassSecurityTrustHtml(this.loadingError)),this.errorIcon&&(this.errorSvg=this._sanitizer.bypassSecurityTrustHtml(this.errorIcon))}static{this.\u0275fac=function(n){return new(n||t)(b(ar))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-image"]],hostVars:1,hostBindings:function(n,o){n&2&&N("imageState",o.imageState)},inputs:{isThumbnail:"isThumbnail",loadingAttr:"loadingAttr",alt:"alt",src:"src",loadingIcon:"loadingIcon",loadingError:"loadingError",errorIcon:"errorIcon"},outputs:{error:"error",loaded:"loaded"},decls:4,vars:9,consts:[["defaultError",""],["isLarge",""],["defaultLoader",""],[3,"ngSwitch"],[1,"g-image-item",3,"load","error","src"],["class","g-image-error-message",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"g-image-error-message"],[3,"innerHTML",4,"ngIf","ngIfElse"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],[1,"gallery-thumb-error",3,"innerHTML"],[1,"gallery-image-error",3,"innerHTML"],["class","g-loading",3,"innerHTML",4,"ngIf","ngIfElse"],[1,"g-loading",3,"innerHTML"],["class","g-thumb-loading",4,"ngIf"],[1,"g-thumb-loading"]],template:function(n,o){n&1&&(se(0,3),h(1,"img",4),R("load",function(){return o.state="success",o.loaded.emit()})("error",function(s){return o.state="failed",o.error.emit(s)}),f(),_(2,RW,4,2,"div",5)(3,NW,4,2,"ng-container",6),ae()),n&2&&(u("ngSwitch",o.state),d(),Yt("visibility",o.state==="success"?"visible":"hidden"),u("@fadeIn",o.state)("src",o.src,ze),N("alt",o.alt)("loading",o.loadingAttr),d(),u("ngSwitchCase","failed"),d(),u("ngSwitchCase","loading"))},dependencies:[tl,qh,ee],encapsulation:2,data:{animation:[Br("fadeIn",[ro("* => success",[ni({opacity:0}),oo("300ms ease-in",ni({opacity:1}))])])]},changeDetection:0})}}return t})(),M2=(()=>{class t{get isActive(){return this.index===this.currIndex}get isIndexAttr(){return this.index}get imageState(){return this.imageLoadingState}get imageContext(){return{$implicit:this.imageData,index:this.index,type:this.type,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}get itemContext(){return{$implicit:this.data,index:this.index,type:this.type,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}get element(){return this.el.nativeElement}get isAutoPlay(){if(this.isActive&&(this.type===gr.Video||this.type===gr.Youtube))return this.videoData.autoplay}get youtubeSrc(){let e=0;this.isActive&&this.type===gr.Youtube&&this.data.autoplay&&(e=1);let n=new URL(this.data.src);return n.search=new URLSearchParams(Ce(k({wmode:"transparent"},this.data.params),{autoplay:e})).toString(),n.href}get load(){switch(this.config.loadingStrategy){case Sm.Preload:return!0;case Sm.Lazy:return this.currIndex===this.index;default:return this.currIndex===this.index||this.currIndex===this.index-1||this.currIndex===this.index+1}}get imageData(){return this.data}get videoData(){return this.data}constructor(e,n,o){this.el=e,this.cd=n,this._platform=o,this.Types=gr,this.imageLoadingState="IN_PROGRESS",this.error=new F}ngAfterViewChecked(){let e=this.getHeight();if(this._platform.isBrowser&&(this.element.style.setProperty("--g-item-width",`${this.getWidth()}px`),this.element.style.setProperty("--g-item-height",`${e}px`)),this.currIndex===this.index){let n=this.config.thumbPosition===Jr.Top||this.config.thumbPosition===Jr.Bottom;this.config.autoHeight&&e&&n&&(this.element.parentElement.parentElement.style.height=`${e}px`)}}onItemLoaded(){this.imageLoadingState==="IN_PROGRESS"&&(this.imageLoadingState="DONE",this.cd.detectChanges())}getWidth(){if(this.config.slidingDirection==="horizontal"){let e=this.element?.firstElementChild;if(this.config.itemAutosize&&this.imageLoadingState==="DONE"&&e?.clientWidth)return e.clientWidth}return this.element.parentElement.parentElement.clientWidth}getHeight(){let e=this.element.firstElementChild;return e&&(this.config.autoHeight&&this.imageLoadingState==="DONE"&&e.clientHeight||this.config.slidingDirection==="vertical"&&this.config.itemAutosize&&this.imageLoadingState==="DONE"&&e.clientHeight)?e.clientHeight:this.element.parentElement.parentElement.clientHeight}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(dn),b(Dn))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-item"]],hostVars:4,hostBindings:function(n,o){n&2&&(N("galleryIndex",o.isIndexAttr)("imageState",o.imageState),tt("g-active-item",o.isActive))},inputs:{config:"config",index:"index",count:"count",currIndex:"currIndex",type:"type",data:"data"},outputs:{error:"error"},decls:1,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"src","mute","poster","controls","controlsList","disablePictureInPicture","play","pause","error",4,"ngSwitchCase"],[3,"src","autoplay","loadingAttr","pause",4,"ngSwitchCase"],[3,"src","loadingAttr",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"loaded","error","src","alt","loadingAttr","loadingIcon","loadingError"],["class","g-template g-item-template",4,"ngIf"],[1,"g-template","g-item-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"error","src","mute","poster","controls","controlsList","disablePictureInPicture","play","pause"],[3,"src","autoplay","loadingAttr","pause"],[3,"src","loadingAttr"]],template:function(n,o){n&1&&_(0,GW,6,5,"ng-container",0),n&2&&u("ngIf",o.load)},dependencies:[Se,ee,vt,tl,qh,gT,L2,pq,uq],encapsulation:2,changeDetection:0})}}return t})(),fq=4,mq=.001,gq=1e-7,_q=10,Gd=11,Im=1/(Gd-1),yq=typeof Float32Array=="function";function V2(t,i){return 1-3*i+3*t}function B2(t,i){return 3*i-6*t}function j2(t){return 3*t}function Mm(t,i,e){return((V2(i,e)*t+B2(i,e))*t+j2(i))*t}function $2(t,i,e){return 3*V2(i,e)*t*t+2*B2(i,e)*t+j2(i)}function vq(t,i,e,n,o){let r,s,a=0;do s=i+(e-i)/2,r=Mm(s,n,o)-t,r>0?e=s:i=s;while(Math.abs(r)>gq&&++a<_q);return s}function bq(t,i,e,n){for(let o=0;o=mq?bq(s,g,t,e):v===0?g:vq(s,a,a+Im,t,e)}return function(a){return a===0?0:a===1?1:Mm(r(a),i,n)}}var xq=new M("SMOOTH_SCROLL_OPTIONS"),H2=(()=>{class t{get _w(){return this._document.defaultView}get _now(){return this._w.performance?.now?.bind(this._w.performance)||Date.now}constructor(e,n,o){this._document=e,this._platform=o,this._onGoingScrolls=new Map,this._defaultOptions=k({duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1}},n)}_scrollElement(e,n,o){e.scrollLeft=n,e.scrollTop=o}_getElement(e,n){return typeof e=="string"?(n||this._document).querySelector(e):zd(e)}_initSmoothScroll(e){return this._onGoingScrolls.has(e)&&this._onGoingScrolls.get(e).next(),this._onGoingScrolls.set(e,new K).get(e)}_isFinished(e,n,o){return e.currentX!==e.x||e.currentY!==e.y?!0:(n.next(),o(),!1)}_interrupted(e,n){return mo(Ut(e,"wheel",{passive:!0,capture:!0}),Ut(e,"touchmove",{passive:!0,capture:!0}),n).pipe(xt(1))}_destroy(e,n){n.complete(),this._onGoingScrolls.delete(e)}_step(e){return new Te(n=>{let o=(this._now()-e.startTime)/e.duration;o=o>1?1:o;let r=e.easing(o);e.currentX=e.startX+(e.x-e.startX)*r,e.currentY=e.startY+(e.y-e.startY)*r,this._scrollElement(e.scrollable,e.currentX,e.currentY),requestAnimationFrame(()=>n.next(e))})}_applyScrollToOptions(e,n){if(!n.duration)return this._scrollElement(e,n.left,n.top),Promise.resolve();let o=this._initSmoothScroll(e),r={scrollable:e,startTime:this._now(),startX:e.scrollLeft,startY:e.scrollTop,x:n.left==null?e.scrollLeft:~~n.left,y:n.top==null?e.scrollTop:~~n.top,duration:n.duration,easing:wq(n.easing.x1,n.easing.y1,n.easing.x2,n.easing.y2)};return new Promise(s=>{Y(null).pipe(wg(()=>this._step(r).pipe(Uu(a=>this._isFinished(a,o,s)))),ke(this._interrupted(e,o)),oi(()=>this._destroy(e,o))).subscribe()})}dismissOngoingScroll(e){this._onGoingScrolls.get(e)?.next()}scrollTo(e,n){if(this._platform.isBrowser){let o=this._getElement(e),r=getComputedStyle(o).direction==="rtl",s=Jb(),a=Ce(k(k({},this._defaultOptions),n),{left:n.left==null?r?n.end:n.start:n.left,right:n.right==null?r?n.start:n.end:n.right});return a.bottom!=null&&(a.top=o.scrollHeight-o.clientHeight-a.bottom),r&&s!==0?(a.left!=null&&(a.right=o.scrollWidth-o.clientWidth-a.left),s===2?a.left=a.right:s===1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=o.scrollWidth-o.clientWidth-a.right),this._applyScrollToOptions(o,a)}return Promise.resolve()}scrollToElement(e,n,o={}){let r=this._getElement(e),s=this._getElement(n,r),a=Ce(k({},o),{left:s.offsetLeft+(o.left||0),top:s.offsetTop+(o.top||0)});return s?this.scrollTo(r,a):Promise.resolve()}static{this.\u0275fac=function(n){return new(n||t)(L(De),L(xq,8),L(Dn))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Eq=(()=>{class t{get slider(){return this.sliderEl.nativeElement}constructor(e,n,o,r,s,a){this._el=e,this._cd=n,this._zone=o,this._platform=r,this._smoothScroll=s,this._gallery=a,this.scrollHandler$=new K,this.visibleElements=new Map,this._destroyed$=new K,this.itemClick=new F,this.error=new F,this.items=new Fa,this.scrollHandler$.pipe(mt(0,Eu),He(({value:l,behavior:c})=>{this._gallery.debugConsole("[Gallery scrollHandler$] ",this.slider.style.scrollSnapType),this.slider.style.scrollSnapType="unset";let p=this.items.get(l)?.element;if(this._gallery.debugConsole("\u{1F92F} [Gallery scrollHandler$] scrollSnapType = unset, scrollTo element",!!p),p){this.slider.classList.add("g-scrolling");let g=this.adapter.getScrollToValue(p,c||this.config.scrollBehavior),v=+this.items.get(l)?.element.getAttribute("galleryIndex");return this._gallery.debugConsole(`\u{1F680} [Gallery scrollHandler$] Scroll start ===> index: ${v}, position:`,g),this._gallery.debugConsole("\u{1F680} [Gallery scrollHandler$] slider scrollable",this.adapter.scrollValue),Pe(this._smoothScroll.scrollTo(this.slider,g)).pipe(be(()=>{this._isPanning=!1,this.slider.classList.remove("g-scrolling"),this.slider.style.scrollSnapType=this.adapter.scrollSnapType,this._gallery.debugConsole("\u2705 [Gallery scrollHandler$] Scroll end")}))}return this._gallery.debugConsole("\u{1F621} [Gallery scrollHandler$] Scroll element was not found!"),ft}),ke(this._destroyed$)).subscribe()}ngOnChanges(e){if(e.config){if(e.config.currentValue?.slidingDirection!==e.config.previousValue?.slidingDirection){switch(this.config.slidingDirection){case Tm.Horizontal:this.adapter=new l1(this.slider,this.config);break;case Tm.Vertical:this.adapter=new c1(this.slider,this.config);break}this._platform.isBrowser&&(e.config.firstChange||requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,"auto")}),this.enableDisableGestures())}this._platform.isBrowser&&!e.config.firstChange&&e.config.currentValue?.mouseSlidingDisabled!==e.config.previousValue?.mouseSlidingDisabled&&this.enableDisableGestures()}this._platform.isBrowser&&e.state&&e.state.currentValue?.currIndex!==e.state.previousValue?.currIndex&&requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,e.state.firstChange?"auto":this.state.behavior)})}ngOnInit(){this._platform.isBrowser&&this._zone.runOutsideAngular(()=>{this.createIntersectionObserver(this.slider).pipe(be(e=>{e.target.classList.toggle("g-item-visible",e.isIntersecting),e.isIntersecting?this.visibleElements.set(e.target,e):this.visibleElements.delete(e.target)}),ke(this._destroyed$)).subscribe(),Ut(this.slider,"scroll",{passive:!0}).pipe(mt(50),de(()=>!this._isPanning),be(()=>this.onViewportScroll()),ke(this._destroyed$)).subscribe(),F2(this._el.nativeElement).pipe(mt(this.config.resizeDebounceTime),be(([e])=>this.onHostResize(e)),ke(this._destroyed$)).subscribe()})}ngAfterViewInit(){this._platform.isBrowser&&(this.items.notifyOnChanges(),this.items.changes.pipe(Ln(null),be(()=>{this.visibleElements.forEach(e=>{this.intersectionObserver.unobserve(e.target)}),this.items.toArray().map(e=>{this.intersectionObserver.observe(e.element)})}),ke(this._destroyed$)).subscribe())}ngAfterViewChecked(){this.config.itemAutosize&&this._platform.isBrowser&&(this.slider.style.setProperty("--slider-centralize-start-size",this.adapter.getCentralizerStartSize()+"px"),this.slider.style.setProperty("--slider-centralize-end-size",this.adapter.getCentralizerEndSize()+"px"))}ngOnDestroy(){this._destroyed$.next(),this._destroyed$.complete(),this.deactivateGestures()}trackByFn(e,n){return n.type}onHostResize(e){let n=Math.ceil(e.contentRect.width),o=Math.ceil(e.contentRect.height);this.slider.style.width=`${n}px`,this.slider.style.height=`${o}px`,this.scrollToIndex(this.state.currIndex,"auto"),this._cd.detectChanges(),this._gallery.debugConsole("\u{1F990} [Gallery OnHostResize]: set viewport width to absolute number")}onViewportScroll(){let e=this.items.get(this.state.currIndex)?.element,n=this.getElementFromViewportCenter();n?n!==e&&this.tryScrollToElement(n):(this._gallery.debugConsole("\u2049 [Gallery onViewportScroll]: No center element was found"),this.visibleElements.forEach(o=>{this.tryScrollToElement(o.target)}))}tryScrollToElement(e){let o=(this.adapter.clientSize-this.adapter.getClientSize(e))/2,r=this.adapter.scrollValue+o,s=this.adapter.scrollValue+this.adapter.clientSize-o,a=this.adapter.getOffsetSize(e),l=a+this.adapter.getClientSize(e),c=r+10>=a&&r-10<=a,p=s+10>=l&&s-10<=l;if(this.slider.style.scrollSnapType=this.adapter.scrollSnapType,c&&p){this._gallery.debugConsole("\u{1F344} [Gallery onViewportScroll]: Set active gallery item");let g=+e.getAttribute("galleryIndex");this._zone.run(()=>this._gallery.ref(this.galleryId).set(g,"smooth"))}}scrollToIndex(e,n,o){this.scrollHandler$.next({value:e,behavior:n,onEnd:o})}enableDisableGestures(){!this._platform.IOS&&!this._platform.ANDROID&&(this.config.mouseSlidingDisabled?this.deactivateGestures():this.activateGestures())}activateGestures(){if(typeof Hammer<"u"){this.deactivateGestures();let e=this.adapter.panDirection;this._zone.runOutsideAngular(()=>{this._hammer=new Hammer(this._el.nativeElement,{inputClass:Hammer.MouseInput}),this._hammer.get("pan").set({direction:e});let n;this._hammer.on("panstart",()=>{this._smoothScroll.dismissOngoingScroll(this.slider),n=this.adapter.scrollValue,this.slider.style.scrollSnapType="unset",this.slider.classList.add("g-sliding"),this._isPanning=!0}),this._hammer.on("panmove",o=>this.slider.scrollTo(this.adapter.getPanValue(n,o,"auto"))),this._hammer.on("panend",o=>this.onPanEnd(o))})}}deactivateGestures(){this._hammer?.destroy()}onPanEnd(e){this._gallery.debugConsole("\u{1F5B1}\uFE0F [Gallery]: onPanEnd",e),this.slider.classList.remove("g-sliding");let n=this.adapter.getPanDelta(e),o=this.adapter.getPanVelocity(e),r=this._gallery.ref(this.galleryId);this._zone.run(()=>{let s=this.items.get(this.state.currIndex)?.element,a=this.getElementFromViewportCenter();if(a&&a!==s){let l=+a.getAttribute("galleryIndex");this.scrollToIndex(l,"smooth");return}if(Math.abs(n)>(s.clientWidth||this.adapter.clientSize)/2)return n>0?r.prev("smooth",!1):r.next("smooth",!1);if(Math.abs(o)>.3)return o>0?r.prev("smooth",!1):r.next("smooth",!1);this.scrollToIndex(this.state.currIndex,"smooth")})}getElementFromViewportCenter(){let e=this.slider.getBoundingClientRect(),o=document.elementsFromPoint(e.x+e.width/2,e.y+e.height/2).find(r=>r.localName==="gallery-item"&&r.getAttribute("galleryId")===this.galleryId);return this._gallery.debugConsole("\u{1FA9F} [Gallery]: getElementFromViewportCenter",o),o}createIntersectionObserver(e){return new Te(n=>(this.intersectionObserver=new IntersectionObserver(o=>n.next(o),{root:e}),()=>this.intersectionObserver.disconnect())).pipe(pe(n=>n),vr())}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(dn),b(ue),b(Dn),b(H2),b(Xr))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-slider"]],viewQuery:function(n,o){if(n&1&&(ve(P2,7),ve(M2,5)),n&2){let r;G(r=W())&&(o.sliderEl=r.first),G(r=W())&&(o.items=r)}},inputs:{galleryId:"galleryId",state:"state",config:"config"},outputs:{itemClick:"itemClick",error:"error"},features:[Ke],ngContentSelectors:WW,decls:5,vars:3,consts:[["slider",""],[1,"g-slider"],[1,"g-slider-content"],[3,"type","config","data","currIndex","index","count","click","error",4,"ngFor","ngForOf","ngForTrackBy"],[3,"click","error","type","config","data","currIndex","index","count"]],template:function(n,o){n&1&&(Xe(),h(0,"div",1,0)(2,"div",2),_(3,qW,1,7,"gallery-item",3),f()(),Ae(4)),n&2&&(N("centralised",o.config.itemAutosize),d(3),u("ngForOf",o.state.items)("ngForTrackBy",o.trackByFn))},dependencies:[Se,at,M2],encapsulation:2,changeDetection:0})}}return t})(),R2=(()=>{class t{constructor(){this.error=new F}get isActive(){return this.index===this.currIndex}get imageContext(){return{$implicit:this.data,index:this.index,type:this.type,active:this.isActive,count:this.count,first:this.index===0,last:this.index===this.count-1}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-thumb"]],hostVars:2,hostBindings:function(n,o){n&2&&tt("g-active-thumb",o.isActive)},inputs:{config:"config",index:"index",count:"count",currIndex:"currIndex",type:"type",data:"data"},outputs:{error:"error"},decls:2,vars:6,consts:[[3,"error","src","alt","isThumbnail","loadingIcon","loadingError"],["class","g-template g-thumb-template",4,"ngIf"],[1,"g-template","g-thumb-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(h(0,"gallery-image",0),R("error",function(s){return o.error.emit(s)}),f(),_(1,QW,2,2,"div",1)),n&2&&(u("src",o.data.thumb)("alt",o.data.alt+"-thumbnail")("isThumbnail",!0)("loadingIcon",o.config.thumbLoadingIcon)("loadingError",o.config.thumbLoadingError),d(),u("ngIf",o.config.thumbTemplate))},dependencies:[Se,ee,vt,L2],encapsulation:2,changeDetection:0})}}return t})(),Iq=(()=>{class t{get slider(){return this.sliderEl.nativeElement}constructor(e,n,o,r,s){this._el=e,this._zone=n,this._smoothScroll=o,this._cd=r,this._platform=s,this.thumbnailsView=Wd,this._destroyed$=new K,this.thumbClick=new F,this.error=new F,this.items=new Fa}ngOnChanges(e){if(e.config){if(e.config.currentValue?.thumbPosition!==e.config.previousValue?.thumbPosition){switch(this.config.thumbPosition){case Jr.Right:case Jr.Left:this.adapter=new a1(this.slider,this.config);break;case Jr.Top:case Jr.Bottom:this.adapter=new s1(this.slider,this.config);break}this._platform.isBrowser&&(e.config.firstChange||requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,"auto")}),this.enableDisableGestures())}this._platform.isBrowser&&(!e.config.firstChange&&e.config.currentValue?.thumbMouseSlidingDisabled!==e.config.previousValue?.thumbMouseSlidingDisabled&&this.enableDisableGestures(),this.slider.style.setProperty("--thumb-height",`${this.config.thumbHeight}px`),this.slider.style.setProperty("--thumb-width",`${this.config.thumbWidth}px`))}this._platform.isBrowser&&e.state&&(e.state.firstChange||!this.config.thumbDetached)&&e.state.currentValue?.currIndex!==e.state.previousValue?.currIndex&&requestAnimationFrame(()=>{this.scrollToIndex(this.state.currIndex,e.state?.firstChange?"auto":"smooth")})}ngAfterViewInit(){this._platform.isBrowser&&(setTimeout(()=>this.scrollToIndex(this.state.currIndex,"auto"),200),this._zone.runOutsideAngular(()=>{F2(this._el.nativeElement).pipe(mt(this.config.resizeDebounceTime),be(()=>{this.items.get(this.state.currIndex)?.nativeElement&&(this.slider.style.setProperty("--thumb-centralize-start-size",this.adapter.getCentralizerStartSize()+"px"),this.slider.style.setProperty("--thumb-centralize-end-size",this.adapter.getCentralizerEndSize()+"px")),this._cd.detectChanges(),this.scrollToIndex(this.state.currIndex,"auto")}),ke(this._destroyed$)).subscribe()}))}ngAfterViewChecked(){this.items.get(this.state.currIndex)?.nativeElement&&this._platform.isBrowser&&(this.slider.style.setProperty("--thumb-centralize-start-size",this.adapter.getCentralizerStartSize()+"px"),this.slider.style.setProperty("--thumb-centralize-end-size",this.adapter.getCentralizerEndSize()+"px"))}ngOnDestroy(){this.deactivateGestures(),this._destroyed$.next(),this._destroyed$.complete()}trackByFn(e,n){return n.type}scrollToIndex(e,n){this._zone.runOutsideAngular(()=>{this.slider.style.scrollSnapType="unset";let o=this.items.get(e)?.nativeElement;o&&this._smoothScroll.scrollTo(this.slider,this.adapter.getScrollToValue(o,n)).then(()=>{this.slider.style.scrollSnapType=this.adapter.scrollSnapType})})}enableDisableGestures(){!this._platform.IOS&&!this._platform.ANDROID&&(this.config.thumbMouseSlidingDisabled?this.deactivateGestures():this.activateGestures())}activateGestures(){if(typeof Hammer<"u"&&!this.config.disableThumb){let e=this.adapter.panDirection;this._zone.runOutsideAngular(()=>{this._hammer=new Hammer(this._el.nativeElement,{inputClass:Hammer.MouseInput}),this._hammer.get("pan").set({direction:e});let n=0;this._hammer.on("panstart",()=>{n=this.adapter.scrollValue,this.slider.style.scrollSnapType="unset",this.slider.classList.add("g-sliding")}),this._hammer.on("panmove",o=>this.slider.scrollTo(this.adapter.getPanValue(n,o,"auto"))),this._hammer.on("panend",()=>{this.slider.style.scrollSnapType=this.adapter.scrollSnapType,this.slider.classList.remove("g-sliding")})})}}deactivateGestures(){this._hammer?.destroy()}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(ue),b(H2),b(dn),b(Dn))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-thumbs"]],viewQuery:function(n,o){if(n&1&&(ve(P2,7),ve(R2,5,ye)),n&2){let r;G(r=W())&&(o.sliderEl=r.first),G(r=W())&&(o.items=r)}},inputs:{state:"state",config:"config"},outputs:{thumbClick:"thumbClick",error:"error"},features:[Ke],decls:4,vars:3,consts:[["slider",""],[1,"g-slider"],[1,"g-slider-content"],[3,"type","config","data","currIndex","index","count","click","error",4,"ngFor","ngForOf","ngForTrackBy"],[3,"click","error","type","config","data","currIndex","index","count"]],template:function(n,o){n&1&&(h(0,"div",1,0)(2,"div",2),_(3,YW,1,6,"gallery-thumb",3),f()()),n&2&&(N("centralised",o.config.thumbView===o.thumbnailsView.Contain||o.adapter.isContentLessThanContainer),d(3),u("ngForOf",o.state.items)("ngForTrackBy",o.trackByFn))},dependencies:[Se,at,R2],encapsulation:2,changeDetection:0})}}return t})(),Sq=(()=>{class t{constructor(){this.itemClick=new F,this.thumbClick=new F,this.error=new F}get thumbPosition(){return this.config.thumbPosition}get slidingDirection(){return this.config.slidingDirection}get disableThumb(){return this.config.disableThumb}get imageSize(){return this.config.imageSize}get thumbImageSize(){return this.config.thumbImageSize}get dotsPosition(){return this.config.dotsPosition}get counterPosition(){return this.config.counterPosition}get slidingDisabled(){return this.config.slidingDisabled}get thumbSlidingDisabled(){return this.config.thumbSlidingDisabled}get itemAutosize(){return this.config.itemAutosize}get autoHeight(){return this.config.autoHeight}get thumbAutosize(){return this.config.thumbAutosize}get debug(){return this.config.debug}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["gallery-core"]],hostVars:13,hostBindings:function(n,o){n&2&&N("thumbPosition",o.thumbPosition)("slidingDirection",o.slidingDirection)("disableThumb",o.disableThumb)("imageSize",o.imageSize)("thumbImageSize",o.thumbImageSize)("dotsPosition",o.dotsPosition)("counterPosition",o.counterPosition)("slidingDisabled",o.slidingDisabled)("thumbSlidingDisabled",o.thumbSlidingDisabled)("itemAutosize",o.itemAutosize)("autoHeight",o.autoHeight)("thumbAutosize",o.thumbAutosize)("debug",o.debug)},inputs:{galleryId:"galleryId",state:"state",config:"config"},outputs:{itemClick:"itemClick",thumbClick:"thumbClick",error:"error"},decls:8,vars:12,consts:[[3,"state","config","thumbClick","error",4,"ngIf"],[1,"g-box"],[3,"itemClick","error","state","config","galleryId"],[3,"state","config","galleryId",4,"ngIf"],[3,"state",4,"ngIf"],[1,"g-box-template"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"thumbClick","error","state","config"],[3,"state","config","galleryId"],[3,"state"]],template:function(n,o){n&1&&(_(0,JW,1,2,"gallery-thumbs",0),h(1,"div",1)(2,"gallery-slider",2),R("itemClick",function(s){return o.itemClick.emit(s)})("error",function(s){return o.error.emit(s)}),_(3,XW,1,3,"gallery-nav",3),f(),_(4,eq,1,3,"gallery-dots",3)(5,tq,1,1,"gallery-counter",4),h(6,"div",5),_(7,nq,1,0,"ng-container",6),f()()),n&2&&(u("ngIf",o.config.thumb),d(2),u("state",o.state)("config",o.config)("galleryId",o.galleryId),d(),u("ngIf",o.config.nav&&o.state.items.length>1),d(),u("ngIf",o.config.dots),d(),u("ngIf",o.config.counter),d(2),u("ngTemplateOutlet",o.config.boxTemplate)("ngTemplateOutletContext",Ge(9,ZW,o.state,o.config)))},dependencies:[Se,ee,vt,Iq,Eq,sq,rq,oq],encapsulation:2,changeDetection:0})}}return t})(),Tq=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,n){return!0}static{this.\u0275fac=function(n){return new(n||t)(b(Tt))}}static{this.\u0275dir=te({type:t,selectors:[["","galleryImageDef",""]]})}}return t})(),Dq=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,n){return!0}static{this.\u0275fac=function(n){return new(n||t)(b(Tt))}}static{this.\u0275dir=te({type:t,selectors:[["","galleryThumbDef",""]]})}}return t})(),Oq=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,n){return!0}static{this.\u0275fac=function(n){return new(n||t)(b(Tt))}}static{this.\u0275dir=te({type:t,selectors:[["","galleryItemDef",""]]})}}return t})(),Mq=(()=>{class t{constructor(e){this.templateRef=e}static ngTemplateContextGuard(e,n){return!0}static{this.\u0275fac=function(n){return new(n||t)(b(Tt))}}static{this.\u0275dir=te({type:t,selectors:[["","galleryBoxDef",""]]})}}return t})(),ql=(()=>{class t{constructor(e){this._gallery=e,this.nav=this._gallery.config.nav,this.dots=this._gallery.config.dots,this.loop=this._gallery.config.loop,this.debug=this._gallery.config.debug,this.thumb=this._gallery.config.thumb,this.counter=this._gallery.config.counter,this.dotsSize=this._gallery.config.dotsSize,this.autoPlay=this._gallery.config.autoPlay,this.thumbWidth=this._gallery.config.thumbWidth,this.thumbHeight=this._gallery.config.thumbHeight,this.disableThumb=this._gallery.config.disableThumb,this.scrollBehavior=this._gallery.config.scrollBehavior,this.navScrollBehavior=this._gallery.config.navScrollBehavior,this.slidingDisabled=this._gallery.config.slidingDisabled,this.thumbSlidingDisabled=this._gallery.config.thumbSlidingDisabled,this.mouseSlidingDisabled=this._gallery.config.mouseSlidingDisabled,this.thumbMouseSlidingDisabled=this._gallery.config.thumbMouseSlidingDisabled,this.playerInterval=this._gallery.config.playerInterval,this.slidingDuration=this._gallery.config.slidingDuration,this.slidingEase=this._gallery.config.slidingEase,this.resizeDebounceTime=this._gallery.config.resizeDebounceTime,this.imageSize=this._gallery.config.imageSize,this.thumbImageSize=this._gallery.config.thumbImageSize,this.dotsPosition=this._gallery.config.dotsPosition,this.counterPosition=this._gallery.config.counterPosition,this.slidingDirection=this._gallery.config.slidingDirection,this.loadingAttr=this._gallery.config.loadingAttr,this.loadingStrategy=this._gallery.config.loadingStrategy,this.thumbPosition=this._gallery.config.thumbPosition,this.thumbView=this._gallery.config.thumbView,this.thumbDetached=this._gallery.config.thumbDetached,this.thumbAutosize=this._gallery.config.thumbAutosize,this.itemAutosize=this._gallery.config.itemAutosize,this.autoHeight=this._gallery.config.autoHeight,this.destroyRef=!0,this.skipInitConfig=!1,this.itemClick=new F,this.thumbClick=new F,this.playingChange=new F,this.indexChange=new F,this.itemsChange=new F,this.error=new F,this._itemClick$=rt.EMPTY,this._thumbClick$=rt.EMPTY,this._itemChange$=rt.EMPTY,this._indexChange$=rt.EMPTY,this._playingChange$=rt.EMPTY,this._playerListener$=rt.EMPTY}getConfig(){return{nav:this.nav,dots:this.dots,loop:this.loop,debug:this.debug,thumb:this.thumb,counter:this.counter,autoPlay:this.autoPlay,dotsSize:this.dotsSize,imageSize:this.imageSize,thumbImageSize:this.thumbImageSize,scrollBehavior:this.scrollBehavior,navScrollBehavior:this.navScrollBehavior,thumbView:this.thumbView,thumbWidth:this.thumbWidth,thumbHeight:this.thumbHeight,slidingEase:this.slidingEase,disableThumb:this.disableThumb,dotsPosition:this.dotsPosition,loadingAttr:this.loadingAttr,thumbDetached:this.thumbDetached,thumbPosition:this.thumbPosition,playerInterval:this.playerInterval,counterPosition:this.counterPosition,loadingStrategy:this.loadingStrategy,slidingDuration:this.slidingDuration,slidingDirection:this.slidingDirection,resizeDebounceTime:this.resizeDebounceTime,slidingDisabled:this.slidingDisabled,thumbSlidingDisabled:this.thumbSlidingDisabled,mouseSlidingDisabled:this.mouseSlidingDisabled,thumbMouseSlidingDisabled:this.thumbMouseSlidingDisabled,thumbAutosize:this.thumbAutosize,itemAutosize:this.itemAutosize,autoHeight:this.autoHeight}}ngOnChanges(e){this.galleryRef&&(this.galleryRef.setConfig(this.getConfig()),e.items&&e.items.currentValue!==e.items.previousValue&&this.load(this.items))}ngOnInit(){this.skipInitConfig?this.galleryRef=this._gallery.ref(this.id):this.galleryRef=this._gallery.ref(this.id,this.getConfig()),this.load(this.items),this._playerListener$=this.galleryRef.activatePlayer().subscribe(),this.indexChange.observed&&(this._indexChange$=this.galleryRef.indexChanged.subscribe(e=>this.indexChange.emit(e))),this.itemsChange.observed&&(this._itemChange$=this.galleryRef.itemsChanged.subscribe(e=>this.itemsChange.emit(e))),this.playingChange.observed&&(this._playingChange$=this.galleryRef.playingChanged.subscribe(e=>this.playingChange.emit(e))),this.autoPlay&&this.play()}ngAfterContentInit(){let e={};this.galleryItemDef&&(e.itemTemplate=this.galleryItemDef.templateRef),this.galleryImageDef&&(e.imageTemplate=this.galleryImageDef.templateRef),this.galleryThumbDef&&(e.thumbTemplate=this.galleryThumbDef.templateRef),this.galleryBoxDef&&(e.boxTemplate=this.galleryBoxDef.templateRef),Object.keys(e).length&&this.galleryRef.setConfig(e)}ngOnDestroy(){this._itemClick$.unsubscribe(),this._thumbClick$.unsubscribe(),this._itemChange$.unsubscribe(),this._indexChange$.unsubscribe(),this._playingChange$.unsubscribe(),this._playerListener$.unsubscribe(),this.destroyRef&&this.galleryRef.destroy()}onItemClick(e){this.itemClick.emit(e),this.galleryRef.itemClick.next(e)}onThumbClick(e){this.galleryRef.set(e),this.thumbClick.emit(e),this.galleryRef.thumbClick.next(e)}onError(e){this.error.emit(e),this.galleryRef.error.next(e)}load(e){this.galleryRef.load(e)}add(e,n){this.galleryRef.add(e,n)}addImage(e,n){this.galleryRef.addImage(e,n)}addVideo(e,n){this.galleryRef.addVideo(e,n)}addIframe(e,n){this.galleryRef.addIframe(e,n)}addYoutube(e,n){this.galleryRef.addYoutube(e,n)}remove(e){this.galleryRef.remove(e)}next(e,n){this.galleryRef.next(e,n)}prev(e,n){this.galleryRef.prev(e,n)}set(e,n){this.galleryRef.set(e,n)}reset(){this.galleryRef.reset()}play(e){this.galleryRef.play(e)}stop(){this.galleryRef.stop()}static{this.\u0275fac=function(n){return new(n||t)(b(Xr))}}static{this.\u0275cmp=A({type:t,selectors:[["gallery"]],contentQueries:function(n,o,r){if(n&1&&(he(r,Oq,5),he(r,Tq,5),he(r,Dq,5),he(r,Mq,5)),n&2){let s;G(s=W())&&(o.galleryItemDef=s.first),G(s=W())&&(o.galleryImageDef=s.first),G(s=W())&&(o.galleryThumbDef=s.first),G(s=W())&&(o.galleryBoxDef=s.first)}},inputs:{id:"id",items:"items",nav:"nav",dots:"dots",loop:"loop",debug:"debug",thumb:"thumb",counter:"counter",dotsSize:"dotsSize",autoPlay:"autoPlay",thumbWidth:"thumbWidth",thumbHeight:"thumbHeight",disableThumb:"disableThumb",scrollBehavior:"scrollBehavior",navScrollBehavior:"navScrollBehavior",slidingDisabled:"slidingDisabled",thumbSlidingDisabled:"thumbSlidingDisabled",mouseSlidingDisabled:"mouseSlidingDisabled",thumbMouseSlidingDisabled:"thumbMouseSlidingDisabled",playerInterval:"playerInterval",slidingDuration:"slidingDuration",slidingEase:"slidingEase",resizeDebounceTime:"resizeDebounceTime",imageSize:"imageSize",thumbImageSize:"thumbImageSize",dotsPosition:"dotsPosition",counterPosition:"counterPosition",slidingDirection:"slidingDirection",loadingAttr:"loadingAttr",loadingStrategy:"loadingStrategy",thumbPosition:"thumbPosition",thumbView:"thumbView",thumbDetached:"thumbDetached",thumbAutosize:"thumbAutosize",itemAutosize:"itemAutosize",autoHeight:"autoHeight",destroyRef:"destroyRef",skipInitConfig:"skipInitConfig"},outputs:{itemClick:"itemClick",thumbClick:"thumbClick",playingChange:"playingChange",indexChange:"indexChange",itemsChange:"itemsChange",error:"error"},features:[Ke],decls:3,vars:7,consts:[[3,"itemClick","thumbClick","error","galleryId","state","config"]],template:function(n,o){n&1&&(h(0,"gallery-core",0),I(1,"async"),I(2,"async"),R("itemClick",function(s){return o.onItemClick(s)})("thumbClick",function(s){return o.onThumbClick(s)})("error",function(s){return o.onError(s)}),f()),n&2&&u("galleryId",o.id)("state",T(1,3,o.galleryRef.state))("config",T(2,5,o.galleryRef.config))},dependencies:[Se,lt,Sq],styles:['gallery-core[dotsPosition=top] gallery-dots{top:15px} gallery-core[dotsPosition=bottom] gallery-dots{bottom:15px} gallery-dots{position:absolute;left:50%;z-index:99;transform:translate(-50%);display:flex;gap:6px} .g-dot{cursor:pointer;z-index:20} .g-dot:hover .g-dot-inner{opacity:1} .g-dot-active .g-dot-inner{opacity:1} .g-dot-inner{background-color:var(--g-overlay-color);opacity:.4;width:100%;height:100%;border-radius:50%;transition:opacity linear .15s} gallery-dots, .g-dot, .g-dot-inner{display:flex;justify-content:center;align-items:center} .g-nav-next, .g-nav-prev{position:absolute;top:50%;display:flex;padding:16px 8px;cursor:pointer;z-index:999;opacity:.6;transition:opacity linear .15s,right linear .15s,left linear .15s} .g-nav-next:hover, .g-nav-prev:hover{opacity:1} .g-nav-next svg, .g-nav-prev svg{filter:var(--g-nav-drop-shadow);width:28px;height:28px;fill:#fff} .g-nav-next{right:.5em;transform:translateY(-50%) perspective(1px)} .g-nav-next:hover{right:.4em} .g-nav-prev{left:.5em;transform:translateY(-50%) perspective(1px) scale(-1)} .g-nav-prev:hover{left:.4em}@media only screen and (max-width: 480px){ .g-nav-next{right:.2em} .g-nav-prev{left:.2em}} gallery-slider{position:relative;display:flex;align-items:center;justify-content:center} gallery-slider .g-slider[centralised=true]:before, gallery-slider .g-slider[centralised=true]:after{content:""} gallery-slider .g-slider[centralised=true]:before{flex:0 0 var(--slider-centralize-start-size)} gallery-slider .g-slider[centralised=true]:after{flex:0 0 var(--slider-centralize-end-size)} .g-slider-content{flex:0 0 auto;display:flex;align-items:center;gap:1px} gallery-core[slidingDirection=horizontal] gallery-slider .g-slider{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;flex-direction:row} gallery-core[slidingDirection=horizontal] gallery-slider .g-slider-content{flex-direction:row;height:100%} gallery-core[slidingDirection=vertical] gallery-slider .g-slider{overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;flex-direction:column} gallery-core[slidingDirection=vertical] gallery-slider .g-slider-content{flex-direction:column;width:100%} gallery-core[slidingDisabled=true] .g-slider{overflow:hidden!important} .g-slider{display:flex;align-items:center;width:100%;transition:var(--g-height-transition);scrollbar-width:none;-ms-overflow-style:none} .g-slider::-webkit-scrollbar{display:none} .g-slider.g-sliding .g-slider-content, .g-slider.g-scrolling .g-slider-content{pointer-events:none} .g-slider gallery-thumb, .g-slider gallery-item{display:flex;flex-direction:column;flex:0 0 auto;scroll-snap-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:rgba(0,0,0,0)} .g-slider gallery-thumb gallery-image[imageState=success], .g-slider gallery-item gallery-image[imageState=success]{align-self:center} gallery-thumbs{max-height:100%;max-width:100%;display:block;z-index:100} gallery-thumbs .g-slider[centralised=true]:before, gallery-thumbs .g-slider[centralised=true]:after{content:""} gallery-thumbs .g-slider[centralised=true]:before{flex:0 0 var(--thumb-centralize-start-size)} gallery-thumbs .g-slider[centralised=true]:after{flex:0 0 var(--thumb-centralize-end-size)} gallery-thumbs .g-slider gallery-thumb{background:black;height:var(--thumb-height);width:var(--thumb-width);max-height:var(--thumb-height);max-width:var(--thumb-width)} gallery-thumbs .g-slider gallery-thumb gallery-image, gallery-thumbs .g-slider gallery-thumb img{width:100%;height:100%} gallery-core[disableThumb=true] gallery-thumb{cursor:default} gallery-core[thumbPosition=top] gallery-thumbs .g-slider, gallery-core[thumbPosition=bottom] gallery-thumbs .g-slider{top:0;overflow-x:auto;flex-direction:row} gallery-core[thumbPosition=top] gallery-thumbs .g-slider-content, gallery-core[thumbPosition=bottom] gallery-thumbs .g-slider-content{flex-direction:row} gallery-core[thumbPosition=top][thumbAutosize=true] gallery-thumb, gallery-core[thumbPosition=bottom][thumbAutosize=true] gallery-thumb{width:initial;max-width:unset} gallery-core[thumbPosition=left] gallery-thumbs .g-slider, gallery-core[thumbPosition=right] gallery-thumbs .g-slider{left:0;overflow-y:auto;flex-direction:column} gallery-core[thumbPosition=left] gallery-thumbs .g-slider-content, gallery-core[thumbPosition=right] gallery-thumbs .g-slider-content{flex-direction:column} gallery-core[thumbPosition=left][thumbAutosize=true] gallery-thumb, gallery-core[thumbPosition=right][thumbAutosize=true] gallery-thumb{height:initial;max-height:unset} gallery-core[thumbSlidingDisabled=true] gallery-thumbs .g-slider{overflow:hidden!important} gallery-core[thumbPosition=top]{flex-direction:column} gallery-core[thumbPosition=left]{flex-direction:row} gallery-core[thumbPosition=right]{flex-direction:row-reverse} gallery-core[thumbPosition=bottom]{flex-direction:column-reverse} gallery-thumb.g-active-thumb .g-thumb-loading{background-color:#464646} .g-thumb-loading{position:relative;overflow:hidden;width:100%;height:100%;background-color:#262626} .g-thumb-loading:before{content:"";position:absolute;inset:0 0 0 50%;z-index:1;width:500%;margin-left:-250%;animation:_ngcontent-%COMP%_phAnimation .8s linear infinite;background:linear-gradient(to right,rgba(255,255,255,0) 46%,rgba(255,255,255,.35) 50%,rgba(255,255,255,0) 54%) 50% 50%}@keyframes _ngcontent-%COMP%_phAnimation{0%{transform:translate3d(-30%,0,0)}to{transform:translate3d(30%,0,0)}} gallery-core[counterPosition=top] .g-counter{top:0;border-bottom-left-radius:4px;border-bottom-right-radius:4px} gallery-core[counterPosition=bottom] .g-counter{bottom:0;border-top-left-radius:4px;border-top-right-radius:4px} .g-counter{font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.6;transition:opacity linear .15s;z-index:50;position:absolute;left:50%;transform:translate(-50%) perspective(1px);font-size:12px;padding:4px 10px;color:var(--g-font-color);background-color:var(--g-overlay-color);box-shadow:var(--g-box-shadow)} .g-counter:hover{opacity:.8} gallery[gallerize] gallery-item{cursor:pointer} gallery-core{gap:1px} gallery-image img{width:100%!important} .gallery-image-error svg, .gallery-thumb-error svg{width:100%;height:100%} .gallery-thumb-error{width:40px;height:40px} .gallery-image-error{width:100px;height:100px} gallery-item, gallery-thumb{position:relative;display:block;overflow:hidden} gallery-item h2, gallery-item h4, gallery-thumb h2, gallery-thumb h4{color:coral;margin:0} gallery-item h2, gallery-thumb h2{font-size:3.5em;margin-bottom:.3em} gallery-item h4, gallery-thumb h4{font-size:1.6em} gallery-item gallery-image, gallery-thumb gallery-image{transition:opacity .3s cubic-bezier(.5,0,.5,1)} gallery-item{--g-item-width: "auto";--g-item-height: 100%;height:var(--g-item-height);width:var(--g-item-width);max-height:var(--g-item-height);max-width:100%;z-index:10} gallery-item gallery-image{width:100%;height:100%} gallery-item.g-active-item gallery-image{opacity:1} gallery-item video, gallery-item iframe{position:absolute;width:100%;height:100%} gallery-thumb{align-self:center;cursor:pointer;max-height:100%} gallery-thumb gallery-image{opacity:.5} gallery-thumb.g-active-thumb gallery-image{opacity:1} gallery-image{min-height:100%;display:flex} .g-image-item{pointer-events:none;max-height:100%;max-width:100%} .g-template, .g-image-error-message{position:absolute;z-index:10;inset:0;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column} .g-loading{position:absolute;transform:translate3d(-50%,-50%,0);left:50%;top:50%;width:80px;height:80px} gallery-core[imageSize=contain] gallery-item .g-image-item{-o-object-fit:contain;object-fit:contain} gallery-core[imageSize=cover] gallery-item .g-image-item{-o-object-fit:cover;object-fit:cover} gallery-core[thumbImageSize=cover] gallery-thumb .g-image-item{-o-object-fit:cover;object-fit:cover} gallery{position:relative;z-index:1;overflow:hidden;display:flex;justify-content:center;align-items:center;background-color:#000;--g-height-transition: height .4s linear;--g-nav-drop-shadow: drop-shadow(0 0 2px rgba(0, 0, 0, .6));--g-box-shadow: 0 0 3px rgba(0, 0, 0, .6);--g-font-color: #000;--g-overlay-color: #fff} gallery *{box-sizing:border-box} gallery, gallery-core{position:relative;overflow:hidden} gallery-core{max-height:100%;min-height:100%;height:500px} gallery-core, .g-box, .g-slider{display:flex;width:100%;max-height:100%} .g-box, gallery-slider{overflow:hidden;position:relative;display:flex;flex-direction:column;order:1;flex:1} gallery-core[autoHeight=true][thumbPosition=top], gallery-core[autoHeight=true][thumbPosition=bottom]{height:-moz-fit-content!important;height:fit-content!important} gallery-core[autoHeight=true][thumbPosition=top] .g-slider, gallery-core[autoHeight=true][thumbPosition=bottom] .g-slider{height:100%} gallery-core[autoHeight=true][thumbPosition=top] gallery-slider, gallery-core[autoHeight=true][thumbPosition=top] gallery-core, gallery-core[autoHeight=true][thumbPosition=bottom] gallery-slider, gallery-core[autoHeight=true][thumbPosition=bottom] gallery-core{height:100%} gallery-core[autoHeight=true] gallery-item{min-height:100%} gallery-core[autoHeight=true][slidingDirection=horizontal] gallery-item{height:unset;max-height:unset;min-height:unset} gallery-core[autoHeight=true][slidingDirection=horizontal] gallery-item gallery-image{height:100%;width:auto} gallery-core[autoHeight=true][slidingDirection=vertical] gallery-item{height:unset;max-height:unset;min-height:unset} gallery-core[autoHeight=true][slidingDirection=vertical] gallery-item gallery-image{width:100%;height:auto} gallery-core[autoHeight=false][slidingDirection=horizontal] gallery-item, gallery-core[autoHeight=false][slidingDirection=horizontal] .g-slider{height:100%} gallery-core[itemAutoSize=true][slidingDirection=horizontal] gallery-item gallery-image{height:100%;width:auto} gallery-core[itemAutoSize=true][slidingDirection=vertical] gallery-item{height:auto} gallery-core[itemAutoSize=true][slidingDirection=vertical] gallery-item gallery-image{width:100%;height:auto} gallery-core[debug=true] gallery-slider:after, gallery-core[debug=true] gallery-slider:before{position:absolute;content:"";background:lime;box-shadow:0 0 5px #0f0;z-index:99999} gallery-core[debug=true] gallery-slider:before{width:100%;height:1px} gallery-core[debug=true] gallery-slider:after{height:100%;width:1px} gallery-core[debug=true] gallery-slider gallery-item{outline:1px solid darkorange} .g-box-template{position:absolute;z-index:10}'],changeDetection:0})}}return t})(),qd=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[ql]})}}return t})();var Rm=new WeakMap,d1=(()=>{class t{_appRef;_injector=C(Qe);_environmentInjector=C(Lt);load(e){let n=this._appRef=this._appRef||this._injector.get(Qt),o=Rm.get(n);o||(o={loaders:new Set,refs:[]},Rm.set(n,o),n.onDestroy(()=>{Rm.get(n)?.refs.forEach(r=>r.destroy()),Rm.delete(n)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Mr(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var G2=(()=>{class t{_platform=C(Dn);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Pq(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let n=Rq(jq(e));if(n&&(U2(n)===-1||!this.isVisible(n)))return!1;let o=e.nodeName.toLowerCase(),r=U2(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Vq(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,n){return Bq(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Rq(t){try{return t.frameElement}catch{return null}}function Pq(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function kq(t){let i=t.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Aq(t){return Fq(t)&&t.type=="hidden"}function Nq(t){return Lq(t)&&t.hasAttribute("href")}function Fq(t){return t.nodeName.toLowerCase()=="input"}function Lq(t){return t.nodeName.toLowerCase()=="a"}function W2(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let i=t.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function U2(t){if(!W2(t))return null;let i=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Vq(t){let i=t.nodeName.toLowerCase(),e=i==="input"&&t.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function Bq(t){return Aq(t)?!1:kq(t)||Nq(t)||t.hasAttribute("contenteditable")||W2(t)}function jq(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Pm=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,n,o,r=!1,s){this._element=i,this._checker=e,this._ngZone=n,this._document=o,this._injector=s,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(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(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let n=this._getFirstTabbableElement(e);return n?.focus(i),!!n}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let n=0;n=0;n--){let o=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?On(i,{injector:this._injector}):setTimeout(i)}};var u1={},q2=(()=>{class t{_appId=C(Co);getId(e){return this._appId!=="ng"&&(e+=this._appId),u1.hasOwnProperty(e)||(u1[e]=0),`${e}${u1[e]++}`}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var p1=class extends Pm{_focusTrapManager;_inertStrategy;get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(i,e,n,o,r,s,a,l){super(i,e,n,o,a.defer,l),this._focusTrapManager=r,this._inertStrategy=s,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}},h1=class{_listener=null;preventFocus(i){this._listener&&i._document.removeEventListener("focus",this._listener,!0),this._listener=e=>this._trapFocus(i,e),i._ngZone.runOutsideAngular(()=>{i._document.addEventListener("focus",this._listener,!0)})}allowFocus(i){this._listener&&(i._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(i,e){let n=e.target,o=i._element;n&&!o.contains(n)&&!n.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{i.enabled&&!o.contains(i._document.activeElement)&&i.focusFirstTabbableElement()})}},$q=new M("FOCUS_TRAP_INERT_STRATEGY"),Hq=(()=>{class t{_focusTrapStack=[];register(e){this._focusTrapStack=this._focusTrapStack.filter(o=>o!==e);let n=this._focusTrapStack;n.length&&n[n.length-1]._disable(),n.push(e),e._enable()}deregister(e){e._disable();let n=this._focusTrapStack,o=n.indexOf(e);o!==-1&&(n.splice(o,1),n.length&&n[n.length-1]._enable())}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),K2=(()=>{class t{_checker=C(G2);_ngZone=C(ue);_focusTrapManager=C(Hq);_document=C(De);_inertStrategy;_injector=C(Qe);constructor(){let e=C($q,{optional:!0});this._inertStrategy=e||new h1}create(e,n={defer:!1}){let o;return typeof n=="boolean"?o={defer:n}:o=n,new p1(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,o,this._injector)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kl=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Ql=class extends Kl{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(i,e,n,o,r){super(),this.component=i,this.viewContainerRef=e,this.injector=n,this.projectableNodes=r}},Kd=class extends Kl{templateRef;viewContainerRef;context;injector;constructor(i,e,n,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=n,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},km=class extends Kl{element;constructor(i){super(),this.element=i instanceof ye?i.nativeElement:i}},Am=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Ql)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof Kd)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof km)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Qd=class extends Am{outletElement;_appRef;_defaultInjector;_document;constructor(i,e,n,o,r){super(),this.outletElement=i,this._appRef=n,this._defaultInjector=o,this._document=r}attachComponentPortal(i){let e;if(i.viewContainerRef){let n=i.injector||i.viewContainerRef.injector,o=n.get(Er,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:n,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let n=this._appRef,o=i.injector||this._defaultInjector||Qe.NULL,r=o.get(Lt,n.injector);e=Mr(i.component,{elementInjector:o,environmentInjector:r,projectableNodes:i.projectableNodes||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,n=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return n.rootNodes.forEach(o=>this.outletElement.appendChild(o)),n.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(n);o!==-1&&e.remove(o)}),this._attachedPortal=i,n}attachDomPortal=i=>{let e=i.element;e.parentNode;let n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var Gq=new M("cdk-dir-doc",{providedIn:"root",factory:Wq});function Wq(){return C(De)}var qq=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Kq(t){let i=t?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?qq.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var Q2=(()=>{class t{value="ltr";change=new F;constructor(){let e=C(Gq,{optional:!0});if(e){let n=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=Kq(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qq=20,Y2=(()=>{class t{_ngZone=C(ue);_platform=C(Dn);_renderer=C(si).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new K;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Qq){return this._platform.isBrowser?new Te(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe($u(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Y()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){let o=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(de(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let n=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&n.push(r)}),n}_scrollableContainsElement(e,n){let o=zd(n),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yq=20,f1=(()=>{class t{_platform=C(Dn);_listeners;_viewportSize;_change=new K;_document=C(De,{optional:!0});constructor(){let e=C(ue),n=C(si).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[n.listen("window","resize",o),n.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,n=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),s=-r.top||e.body.scrollTop||n.scrollY||o.scrollTop||0,a=-r.left||e.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(e=Yq){return e>0?this._change.pipe($u(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Z2=Zb(),Nm=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=Jt(-this._previousScrollPosition.left),i.style.top=Jt(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,n=i.style,o=e.style,r=n.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),Z2&&(n.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Z2&&(n.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}};var Fm=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,n,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(de(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=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Yd=class{enable(){}disable(){}attach(){}};function m1(t,i){return i.some(e=>{let n=t.bottome.bottom,r=t.righte.right;return n||o||r||s})}function J2(t,i){return i.some(e=>{let n=t.tope.bottom,r=t.lefte.right;return n||o||r||s})}var Lm=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,n,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=n,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:o}=this._viewportRuler.getViewportSize();m1(e,[{width:n,height:o,bottom:o,right:n,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}},oR=(()=>{class t{_scrollDispatcher=C(Y2);_viewportRuler=C(f1);_ngZone=C(ue);_document=C(De);constructor(){}noop=()=>new Yd;close=e=>new Fm(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Nm(this._viewportRuler,this._document);reposition=e=>new Lm(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vm=class{positionStrategy;scrollStrategy=new Yd;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let n of e)i[n]!==void 0&&(this[n]=i[n])}}};var Bm=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var rR=(()=>{class t{_attachedOverlays=[];_document=C(De);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sR=(()=>{class t extends rR{_ngZone=C(ue);_renderer=C(si).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let n=this._attachedOverlays;for(let o=n.length-1;o>-1;o--)if(n[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>n[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aR=(()=>{class t extends rR{_platform=C(Dn);_ngZone=C(ue);_renderer=C(si).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let n=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Hd(this._renderer,n,"pointerdown",this._pointerDownListener,o),Hd(this._renderer,n,"click",this._clickListener,o),Hd(this._renderer,n,"auxclick",this._clickListener,o),Hd(this._renderer,n,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Xb(e)};_clickListener=e=>{let n=Xb(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let s=r.length-1;s>-1;s--){let a=r[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(X2(a.overlayElement,n)||X2(a.overlayElement,o))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function X2(t,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,n=i;for(;n;){if(n===t)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var lR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,o){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return t})(),_1=(()=>{class t{_platform=C(Dn);_containerElement;_document=C(De);_styleLoader=C(d1);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||e1()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},jm=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new K;_attachments=new K;_detachments=new K;_positionStrategy;_scrollStrategy;_locationChanges=rt.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new K;_outsidePointerEvents=new K;_renders=new K;_afterRenderRef;_afterNextRenderRef;constructor(i,e,n,o,r,s,a,l,c,p=!1,g,v){this._portalOutlet=i,this._host=e,this._pane=n,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=p,this._injector=g,this._renderer=v,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Mn(()=>sh(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=On(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&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();let i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=k(k({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Ce(k({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=Jt(this._config.width),i.height=Jt(this._config.height),i.minWidth=Jt(this._config.minWidth),i.minHeight=Jt(this._config.minHeight),i.maxWidth=Jt(this._config.maxWidth),i.maxHeight=Jt(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new g1(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,n){let o=Bl(e||[]).filter(r=>!!r);o.length&&(n?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let i=this._renders.pipe(ke(mo(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),i.unsubscribe())})})}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},eR="cdk-overlay-connected-position-bounding-box",Zq=/([A-Za-z%]+)$/,$m=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new K;_resizeSubscription=rt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,n,o,r){this._viewportRuler=e,this._document=n,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(eR),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.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){this.reapplyLastPosition();return}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();let i=this._originRect,e=this._overlayRect,n=this._viewportRect,o=this._containerRect,r=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(i,o,a),c=this._getOverlayPoint(l,e,a),p=this._getOverlayFit(c,e,n,a);if(p.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(p,c,n)){r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=p,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ws(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(eR),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,n){let o;if(n.originX=="center")o=i.left+i.width/2;else{let s=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;o=n.originX=="start"?s:a}e.left<0&&(o-=e.left);let r;return n.originY=="center"?r=i.top+i.height/2:r=n.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,n){let o;n.overlayX=="center"?o=-e.width/2:n.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return n.overlayY=="center"?r=-e.height/2:r=n.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,n,o){let r=nR(e),{x:s,y:a}=i,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let p=0-s,g=s+r.width-n.width,v=0-a,y=a+r.height-n.height,x=this._subtractOverflows(r.width,p,g),P=this._subtractOverflows(r.height,v,y),j=x*P;return{visibleArea:j,isCompletelyWithinViewport:r.width*r.height===j,fitsInViewportVertically:P===r.height,fitsInViewportHorizontally:x==r.width}}_canFitWithFlexibleDimensions(i,e,n){if(this._hasFlexibleDimensions){let o=n.bottom-e.y,r=n.right-e.x,s=tR(this._overlayRef.getConfig().minHeight),a=tR(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||s!=null&&s<=o,c=i.fitsInViewportHorizontally||a!=null&&a<=r;return l&&c}return!1}_pushOverlayOnScreen(i,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=nR(e),r=this._viewportRect,s=Math.max(i.x+o.width-r.width,0),a=Math.max(i.y+o.height-r.height,0),l=Math.max(r.top-n.top-i.y,0),c=Math.max(r.left-n.left-i.x,0),p=0,g=0;return o.width<=r.width?p=c||-s:p=i.xx&&!this._isInitialRender&&!this._growAfterOpen&&(s=i.y-x/2)}let l=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,c=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,p,g,v;if(c)v=n.width-i.x+this._viewportMargin*2,p=i.x-this._viewportMargin;else if(l)g=i.x,p=n.right-i.x;else{let y=Math.min(n.right-i.x+n.left,i.x),x=this._lastBoundingBoxSize.width;p=y*2,g=i.x-y,p>x&&!this._isInitialRender&&!this._growAfterOpen&&(g=i.x-x/2)}return{top:s,left:g,bottom:a,right:v,width:p,height:r}}_setBoundingBoxStyles(i,e){let n=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Jt(n.height),o.top=Jt(n.top),o.bottom=Jt(n.bottom),o.width=Jt(n.width),o.left=Jt(n.left),o.right=Jt(n.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=Jt(r)),s&&(o.maxWidth=Jt(s))}this._lastBoundingBoxSize=n,Ws(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ws(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ws(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let n={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let p=this._viewportRuler.getViewportScrollPosition();Ws(n,this._getExactOverlayY(e,i,p)),Ws(n,this._getExactOverlayX(e,i,p))}else n.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(o?n.maxHeight=Jt(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(o?n.maxWidth=Jt(s.maxWidth):r&&(n.maxWidth="")),Ws(this._pane.style,n)}_getExactOverlayY(i,e,n){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(r.y+this._overlayRect.height)}px`}else o.top=Jt(r.y);return o}_getExactOverlayX(i,e,n){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s;if(this._isRtl()?s=i.overlayX==="end"?"left":"right":s=i.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(r.x+this._overlayRect.width)}px`}else o.left=Jt(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:J2(i,n),isOriginOutsideView:m1(i,n),isOverlayClipped:J2(e,n),isOverlayOutsideView:m1(e,n)}}_subtractOverflows(i,...e){return e.reduce((n,o)=>n-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+i-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&Bl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof ye)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,n=i.height||0;return{top:i.y,bottom:i.y+n,left:i.x,right:i.x+e,height:n,width:e}}};function Ws(t,i){for(let e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}function tR(t){if(typeof t!="number"&&t!=null){let[i,e]=t.split(Zq);return!e||e==="px"?parseFloat(i):null}return t||null}function nR(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)}}function Jq(t,i){return t===i?!0:t.isOriginClipped===i.isOriginClipped&&t.isOriginOutsideView===i.isOriginOutsideView&&t.isOverlayClipped===i.isOverlayClipped&&t.isOverlayOutsideView===i.isOverlayOutsideView}var iR="cdk-global-overlay-wrapper",Hm=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(iR),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=n,l=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(r==="100%"||r==="100vh")&&(!a||a==="100%"||a==="100vh"),p=this._xPosition,g=this._xOffset,v=this._overlayRef.getConfig().direction==="rtl",y="",x="",P="";l?P="flex-start":p==="center"?(P="center",v?x=g:y=g):v?p==="left"||p==="end"?(P="flex-end",y=g):(p==="right"||p==="start")&&(P="flex-start",x=g):p==="left"||p==="start"?(P="flex-start",y=g):(p==="right"||p==="end")&&(P="flex-end",x=g),i.position=this._cssPosition,i.marginLeft=l?"0":y,i.marginTop=c?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":x,e.justifyContent=P,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(iR),n.justifyContent=n.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},cR=(()=>{class t{_viewportRuler=C(f1);_document=C(De);_platform=C(Dn);_overlayContainer=C(_1);constructor(){}global(){return new Hm}flexibleConnectedTo(e){return new $m(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),y1=(()=>{class t{scrollStrategies=C(oR);_overlayContainer=C(_1);_positionBuilder=C(cR);_keyboardDispatcher=C(sR);_injector=C(Qe);_ngZone=C(ue);_document=C(De);_directionality=C(Q2);_location=C(Ri);_outsideClickDispatcher=C(aR);_animationsModuleType=C(EE,{optional:!0});_idGenerator=C(q2);_renderer=C(si).createRenderer(null,null);_appRef;_styleLoader=C(d1);constructor(){}create(e){this._styleLoader.load(lR);let n=this._createHostElement(),o=this._createPaneElement(n),r=this._createPortalOutlet(o),s=new Vm(e);return s.direction=s.direction||this._directionality.value,new jm(r,n,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Lt),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let n=this._document.createElement("div");return n.id=this._idGenerator.getId("cdk-overlay-"),n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Qt)),new Qd(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var eK=(t,i)=>({startAnimationTime:t,exitAnimationTime:i}),tK=(t,i)=>({value:t,params:i}),nK=new M("LIGHTBOX_CONFIG"),iK=Br("lightbox",[Nv("void, exit",ni({opacity:0,transform:"scale(0.7)"})),Nv("enter",ni({transform:"none"})),ro("* => enter",oo("{{startAnimationTime}}ms cubic-bezier(0, 0, 0.2, 1)",ni({transform:"none",opacity:1}))),ro("* => void, * => exit",oo("{{exitAnimationTime}}ms cubic-bezier(0.4, 0.0, 0.2, 1)",ni({opacity:0})))]),oK=(()=>{class t{constructor(e,n,o){this._document=e,this._focusTrapFactory=n,this._elementRef=o,this.state="enter",this._savePreviouslyFocusedElement()}onAnimationDone(e){e.toState==="enter"?this._trapFocus():(this.overlayRef.dispose(),this._restoreFocus())}_trapFocus(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._focusTrap.focusInitialElementWhenReady()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_restoreFocus(){let e=this._elementFocusedBeforeDialogWasOpened;e&&typeof e.focus=="function"&&e.focus(),this._focusTrap&&this._focusTrap.destroy()}static{this.\u0275fac=function(n){return new(n||t)(b(De,8),b(K2),b(ye))}}static{this.\u0275cmp=A({type:t,selectors:[["lightbox"]],hostAttrs:["tabindex","-1","aria-modal","true"],hostVars:12,hostBindings:function(n,o){n&1&&yy("@lightbox.done",function(s){return o.onAnimationDone(s)}),n&2&&(_y("@lightbox",Ge(9,tK,o.state,Ge(6,eK,o.startAnimationTime,o.exitAnimationTime))),N("id","lightbox-"+o.id)("role",o.role)("aria-labelledby",o.ariaLabel?null:o.ariaLabelledBy)("aria-label",o.ariaLabel)("aria-describedby",o.ariaDescribedBy||null))},decls:2,vars:4,consts:[["aria-label","Close",1,"g-btn-close",3,"click","innerHTML"],[3,"id","destroyRef","skipInitConfig"]],template:function(n,o){n&1&&(h(0,"i",0),R("click",function(){return o.overlayRef.detach()}),f(),w(1,"gallery",1)),n&2&&(u("innerHTML",o.closeIcon,Rt),d(),u("id",o.id)("destroyRef",!1)("skipInitConfig",!0))},dependencies:[ql],styles:["lightbox{position:relative;display:block;width:1100px;height:800px;max-width:94vw;max-height:90vh;border-radius:4px;overflow:hidden;box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f} lightbox:focus{outline:none} lightbox gallery{height:100%;width:100%;overflow:hidden;margin:0} lightbox gallery gallery-core{height:100%!important} .g-backdrop{background-color:#00000052} .fullscreen{width:100%} .fullscreen lightbox{max-width:unset;max-height:unset;position:fixed;inset:0;height:100%;width:100%;border-radius:0} .g-overlay{margin:auto}@media only screen and (max-width: 480px){ .g-overlay{width:100%} .g-overlay lightbox{max-width:unset;max-height:unset;position:fixed;inset:0;height:100%;width:100%;border-radius:0}} .g-btn-close{position:absolute;right:.9em;top:.9em;z-index:60;cursor:pointer;width:20px;height:20px}@media only screen and (max-width: 480px){ .g-btn-close{right:.7em;top:.7em}} .g-btn-close svg{width:100%;height:100%;opacity:.6;transition:opacity linear .15s;filter:drop-shadow(0px 0px 2px rgba(0,0,0,.8))} .g-btn-close svg:hover{opacity:1}"],data:{animation:[iK]},changeDetection:0})}}return t})(),dR={backdropClass:"g-backdrop",panelClass:"g-overlay",hasBackdrop:!0,keyboardShortcuts:!0,role:"lightbox",startAnimationTime:150,exitAnimationTime:75,closeIcon:` `},uR=(()=>{class t{constructor(e,n,o,r){this._gallery=n,this._overlay=o,this._sanitizer=r,this.opened=new K,this.closed=new K,this._config=e?k(k({},dR),e):dR}setConfig(e){this._config=k(k({},this._config),e)}open(e=0,n="lightbox",o){let r=o?k(k({},this._config),o):this._config,s={backdropClass:r.backdropClass,panelClass:r.panelClass,hasBackdrop:r.hasBackdrop,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:this._overlay.scrollStrategies.block(),disposeOnNavigation:!0},a=this._gallery.ref(n);a.set(e),this._overlayRef=this._overlay.create(s),this._overlayRef.attachments().subscribe(()=>this.opened.next(n)),this._overlayRef.detachments().subscribe(()=>this.closed.next(n));let l=new Ql(oK),c=this._overlayRef.attach(l);c.instance.id=n,c.instance.overlayRef=this._overlayRef,c.instance.closeIcon=this._sanitizer.bypassSecurityTrustHtml(this._config.closeIcon),c.instance.role=this._config.role,c.instance.ariaLabel=this._config.ariaLabel,c.instance.ariaLabelledBy=this._config.ariaLabelledBy,c.instance.ariaDescribedBy=this._config.ariaDescribedBy,c.instance.startAnimationTime=this._config.startAnimationTime,c.instance.exitAnimationTime=this._config.exitAnimationTime,r.hasBackdrop&&this._overlayRef.backdropClick().subscribe(()=>this.close()),r.keyboardShortcuts&&this._overlayRef.keydownEvents().subscribe(p=>{switch(p.keyCode){case 37:a.prev();break;case 39:a.next();break;case 27:this.close()}})}close(){this._overlayRef.hasAttached()&&this._overlayRef.detach()}static{this.\u0275fac=function(n){return new(n||t)(L(nK,8),L(Xr),L(y1),L(ar))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[qd,qd]})}}return t})();function sK(t,i){if(t&1&&(h(0,"span",9),E(1),I(2,"translate"),f()),t&2){let e=i.$implicit;Yt("color",e.fontColor)("background",e.bgColor),d(),B(T(2,5,"PRODUCT."+e.name))}}function aK(t,i){if(t&1&&(h(0,"div",7),_(1,sK,3,7,"span",8),f()),t&2){let e=m(2);d(),u("ngForOf",e.product.badges)}}function lK(t,i){if(t&1&&(h(0,"div",5),_(1,aK,2,1,"div",6),f()),t&2){let e=m();d(),u("ngIf",e.product.badges)}}var hR=(()=>{class t{constructor(e,n,o){this.platformId=e,this.gallery=n,this.lightbox=o,this.galleryItems=[],this.galleryId="product-gallery",this.onInitSubject=new K,this.galleryRef=this.gallery.ref(this.galleryId)}set product(e){this._product=e,e&&e.gallery&&(e.gallery.sort((n,o)=>n.primary?0:1),this.galleryItems=e.gallery.map((n,o)=>new Wl({src:n.url,thumb:n.url,type:"image",alt:this.productGalleryPhotoAltText(e,o)})),this.galleryItems.length&&this.galleryRef&&this.galleryRef.load(this.galleryItems))}get product(){return this._product}ngOnInit(){this.galleryRef.setConfig({thumbPosition:"bottom",imageSize:"contain",loadingStrategy:"lazy",thumbWidth:100,thumbHeight:100}),this.lightbox.setConfig({panelClass:"gallery-lightbox",hasBackdrop:!0,backdropClass:"lightbox-backdrop",keyboardShortcuts:!0})}ngOnDestroy(){this.galleryRef&&this.galleryRef.destroy()}getVideos(e){return e?e.filter(n=>/youtube\.com.*(\?v=|\/embed\/)(.{11})/.test(n)).map(n=>{let o=n.match(/youtube\.com.*(\?v=|\/embed\/)(.{11})/);return new xm(n,"http://img.youtube.com/vi/"+o.pop()+"/0.jpg","https://"+o[0])}):[]}productGalleryPhotoAltText(e,n){let o=e.name!=null?e.name:"",r=e.model!=null?e.model:"",s=r!=null&&r!==""?o+" "+r:o;return n>0?s+"-"+n:s}openLightbox(e){let n=typeof e=="number"?e:0;this.lightbox.open(n,this.galleryId,{panelClass:"fullscreen"})}static{this.\u0275fac=function(n){return new(n||t)(b(Fe),b(Xr),b(uR))}}static{this.\u0275cmp=A({type:t,selectors:[["product-gallery"]],inputs:{product:"product"},standalone:!1,decls:5,vars:2,consts:[[1,"gallery-container","d-flex","align-items-stretch","h-100"],["class","content badge-on-photo",4,"ngIf"],[1,"gallery-box"],[1,"align-self-center"],["thumbs","",3,"itemClick","id"],[1,"content","badge-on-photo"],["class","badge-container",4,"ngIf"],[1,"badge-container"],["class","cart-badge btn base-button",3,"color","background",4,"ngFor","ngForOf"],[1,"cart-badge","btn","base-button"]],template:function(n,o){n&1&&(h(0,"div",0),_(1,lK,2,1,"div",1),h(2,"div",2)(3,"div",3)(4,"gallery",4),R("itemClick",function(s){return o.openLightbox(s)}),f()()()()),n&2&&(d(),u("ngIf",!!o.product),d(3),u("id",o.galleryId))},dependencies:[at,ee,ql,Le],styles:['.badge-container[_ngcontent-%COMP%]{display:flex}.cart-badge[_ngcontent-%COMP%]{color:#fff;display:block;height:32px;margin-right:5px;margin-bottom:5px;font-weight:600;cursor:default}.badge-on-photo[_ngcontent-%COMP%]{display:none;z-index:4000;position:absolute;top:0;left:10px}[_nghost-%COMP%] .gallery-box{width:524px;height:524px;margin-top:60px;margin-bottom:15px}[_nghost-%COMP%] .gallery-box gallery{display:block}[_nghost-%COMP%] .gallery-box .g-box{width:100%;height:100%}[_nghost-%COMP%] .gallery-box .g-image{background-size:contain!important;max-width:524px;max-height:524px;width:100%;height:100%}[_nghost-%COMP%] .gallery-box .g-container{max-width:100%;background-color:#fff}[_nghost-%COMP%] .gallery-box .g-thumbs-container{margin-top:10px}[_nghost-%COMP%] .gallery-box .g-thumb.g-active{border:1px solid #029ef0!important}[_nghost-%COMP%] .gallery-box .g-thumbs{margin-left:1px!important}[_nghost-%COMP%] .gallery-box .g-thumb{background-size:contain!important}[_nghost-%COMP%] .gallery-box .g-thumb:hover{border:1px solid #029ef0!important}[_nghost-%COMP%] .gallery-box .g-thumbs-container .g-btn-prev{left:-40px!important}[_nghost-%COMP%] .gallery-box .g-thumbs-container .g-btn-next{right:-40px!important}[_nghost-%COMP%] .gallery-box .g-btn-prev:before, [_nghost-%COMP%] .gallery-box .g-btn-next:before{content:"";background-repeat:no-repeat;background-position:center;width:55px;height:55px;display:block}[_nghost-%COMP%] .gallery-box .g-btn-prev:before{background-image:url(/assets/svg/arrow-left-opacity.svg)}[_nghost-%COMP%] .gallery-box .g-btn-next:before{background-image:url(/assets/svg/arrow-right-opacity.svg)}[_nghost-%COMP%] .gallery-box .g-btn-disabled{opacity:0!important}[_nghost-%COMP%] .gallery-lightbox .g-overlay{background-color:#fff!important}[_nghost-%COMP%] .gallery-lightbox .g-btn-close{color:#333}@media (max-width: 800px){.badge-on-photo[_ngcontent-%COMP%]{display:block;padding-top:20px}.gallery-container[_ngcontent-%COMP%]{margin-top:20px}.gallery-box[_ngcontent-%COMP%]{margin-top:0}}.gallery-box[_ngcontent-%COMP%]{max-width:100%}@media (max-width: 550px){[_nghost-%COMP%] .gallery-box .g-thumbs-container{margin-top:0}}']})}}return t})();var fR=class{constructor(i,e,n,o,r,s,a,l,c,p,g,v,y,x,P,j,q,ie=new Map,Oe=new Map,it){this.categoryId=i,this.parentId=e,this.name=n,this.description=o,this.disabled=r,this.uitemplate=s,this.uri=a,this.title=l,this.metakeywords=c,this.metadescription=p,this.displayTitles=g,this.displayMetakeywords=v,this.displayMetadescriptions=y,this.attributes=x,this.breadcrumbs=P,this.children=j,this.productsQuantity=q,this.mainBanner=ie,this.listBanner=Oe,this.image=it}},mR=class{constructor(i,e,n,o,r){this.attrvalueId=i,this.val=e,this.attributeCode=n,this.attributeName=o,this.categoryId=r}},gR=class{constructor(i,e,n){this.categoryId=i,this.uri=e,this.name=n}};var zm=(()=>{class t{constructor(e,n,o){this.renderer=e,this.el=n,this.platformId=o}ngOnInit(){this.appJsonLd&&this.insertJsonLd()}ngOnChanges(e){e.appJsonLd&&!e.appJsonLd.firstChange&&this.insertJsonLd()}insertJsonLd(){if(We(this.platformId)){this.script&&this.renderer.removeChild(this.el.nativeElement,this.script);try{this.script=this.renderer.createElement("script"),this.renderer.setAttribute(this.script,"type","application/ld+json");let e=this.renderer.createText(JSON.stringify(this.appJsonLd));this.renderer.appendChild(this.script,e),this.renderer.appendChild(this.el.nativeElement,this.script)}catch(e){console.error("Error inserting JSON-LD:",e)}}}static{this.\u0275fac=function(n){return new(n||t)(b(wt),b(ye),b(Fe))}}static{this.\u0275dir=te({type:t,selectors:[["","appJsonLd",""]],inputs:{appJsonLd:"appJsonLd"},standalone:!1,features:[Ke]})}}return t})();var dK=()=>["/"],uK=(t,i)=>[t,i];function pK(t,i){if(t&1&&w(0,"div",5),t&2){let e=m();u("appJsonLd",e.schema)}}function hK(t,i){t&1&&(h(0,"a",6),E(1," / ..."),f())}function fK(t,i){if(t&1&&(h(0,"a",2),E(1),f()),t&2){let e=i.$implicit,n=m();u("routerLink",Ge(2,uK,n.categoryRoute,e[0])),d(),oe("\xA0/\xA0",e[1],"")}}function mK(t,i){if(t&1&&(h(0,"a",6),E(1),f()),t&2){let e=m();d(),oe(" / ",e.productName,"")}}var yR=(()=>{class t{constructor(e,n,o,r){this.translateService=e,this.router=n,this.schemaOrgMicrodataService=o,this.showSchemaOrgMicrodata=r,this.categoryRoute=`/${Zr}`,this.showShorterCategoryPath=!1,this.lang=e.getBrowserLang()}ngOnInit(){}set category(e){this.breadcrumbs=this.getBreadcrumbs(e),this.schema=this.schemaOrgMicrodataService.categoriesList(this.breadcrumbs)}getBreadcrumbs(e){let n=[];return e.breadcrumbs.forEach(o=>{let r=o.name;r!=="root"&&(o.uri==null?n.push([String(o.categoryId),r]):n.push([o.uri,r]))}),n.length>3?this.shorterCategoryPath(n):(this.showShorterCategoryPath=!1,n)}shorterCategoryPath(e){let n=e.length;return e=e.slice(n-3,n),this.showShorterCategoryPath=!0,e}static{this.\u0275fac=function(n){return new(n||t)(b(Hn),b(ut),b(Cm),b(bm))}}static{this.\u0275cmp=A({type:t,selectors:[["breadcrumb"]],inputs:{productName:"productName",category:"category"},standalone:!1,decls:8,vars:9,consts:[[3,"appJsonLd",4,"ngIf"],[1,"category-breadcrumb"],[1,"active-breadcrumb",3,"routerLink"],["class","gray-breadcrumb",4,"ngIf"],["class","active-breadcrumb",3,"routerLink",4,"ngFor","ngForOf"],[3,"appJsonLd"],[1,"gray-breadcrumb"]],template:function(n,o){n&1&&(_(0,pK,1,1,"div",0),h(1,"div",1)(2,"a",2),E(3),I(4,"translate"),f(),_(5,hK,2,0,"a",3)(6,fK,2,5,"a",4)(7,mK,2,1,"a",3),f()),n&2&&(u("ngIf",o.showSchemaOrgMicrodata),d(2),u("routerLink",Ht(8,dK)),d(),B(T(4,6,"BREADCRUMB.MAIN_PAGE")),d(2),u("ngIf",o.showShorterCategoryPath),d(),u("ngForOf",o.breadcrumbs),d(),u("ngIf",o.productName))},dependencies:[at,ee,qt,zm,Le],styles:[".category-breadcrumb[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.category-breadcrumb[_ngcontent-%COMP%]{background-color:transparent;display:block}.category-breadcrumb[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important}.category-breadcrumb[_ngcontent-%COMP%] a.gray-breadcrumb[_ngcontent-%COMP%]{cursor:default;color:#959da1}.category-breadcrumb[_ngcontent-%COMP%] a.active-breadcrumb[_ngcontent-%COMP%]:hover{color:#f9770f}.category-breadcrumb[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{cursor:default;color:#959da1!important}}"]})}}return t})();function _K(t,i){if(t&1&&w(0,"img",5),t&2){let e=m(2).ngIf,n=m();$e("src",n.banner.get(e).name,ze),$e("alt",n.banner.get(e).alt)}}function yK(t,i){if(t&1&&w(0,"img",5),t&2){let e=m(2).ngIf,n=m();$e("src",n.banner.get(e).name,ze),$e("alt",n.banner.get(e).alt)}}function vK(t,i){if(t&1&&(h(0,"div",2)(1,"a",3),_(2,_K,1,2,"img",4)(3,yK,1,2,"img",4),f()()),t&2){let e=m().ngIf,n=m();d(),$e("target",n.getUrlTarget(n.banner.get(e).link)),$e("href",n.banner.get(e).link,ze),d(),u("ngIf",e===n.desktopBanner),d(),u("ngIf",e===n.mobileBanner)}}function bK(t,i){if(t&1&&(h(0,"div"),_(1,vK,4,4,"div",1),f()),t&2){let e=i.ngIf,n=m();d(),u("ngIf",n.banner.has(e))}}var vR=(()=>{class t{constructor(e){this.breakpointObserver=e,this.desktopBanner="desktop",this.mobileBanner="mobile",this.banner=new Map,this.bannerResolutionType$=this.breakpointObserver.observe(["(max-width: 600px)"]).pipe(z(n=>n.matches?this.mobileBanner:this.desktopBanner))}ngOnInit(){}getUrlTarget(e){return RegExp("^(https?:)?//").test(e)?"_blank":""}static{this.\u0275fac=function(n){return new(n||t)(b(Ii))}}static{this.\u0275cmp=A({type:t,selectors:[["banner"]],inputs:{banner:"banner",width:"width",height:"height",mobileWidth:"mobileWidth",mobileHeight:"mobileHeight"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","banner",4,"ngIf"],[1,"banner"],[3,"target","href"],["class","banner-image",3,"src","alt",4,"ngIf"],[1,"banner-image",3,"src","alt"]],template:function(n,o){n&1&&(_(0,bK,2,1,"div",0),I(1,"async")),n&2&&u("ngIf",T(1,1,o.bannerResolutionType$))},dependencies:[ee,At,lt],styles:[".banner-image[_ngcontent-%COMP%]{width:100%}.banner[_ngcontent-%COMP%]{-o-object-fit:contain;object-fit:contain}"]})}}return t})();function wK(t,i){t&1&&(h(0,"div",12)(1,"p",13),E(2,"PDF"),f()())}function xK(t,i){t&1&&(h(0,"div",12),w(1,"img",14),f())}function EK(t,i){t&1&&(h(0,"div",12),w(1,"img",15),f())}function IK(t,i){if(t&1&&(h(0,"span",16),E(1),f()),t&2){let e=m().$implicit;d(),B(e.description)}}function SK(t,i){if(t&1&&(h(0,"a",17)(1,"button",18),E(2),I(3,"translate"),f()()),t&2){let e=m().$implicit;$e("href",e.link,ze),d(2),B(T(3,2,"PRODUCT.DOWNLOAD_PRODUCT_FILE"))}}function TK(t,i){if(t&1&&(h(0,"ul")(1,"li",2)(2,"div",3)(3,"div",4)(4,"div",5),_(5,wK,3,0,"div",6)(6,xK,2,0,"div",6)(7,EK,2,0,"div",6),f()(),h(8,"div",7)(9,"div",8),_(10,IK,2,1,"span",9),f()(),h(11,"div",10),_(12,SK,4,4,"a",11),f()()()()),t&2){let e=i.$implicit,n=m();d(5),u("ngIf",e.type===n.pdfIconType),d(),u("ngIf",e.type===n.driverIconType),d(),u("ngIf",e.type!==n.pdfIconType&&e.type!==n.driverIconType),d(3),u("ngIf",e.description),d(2),u("ngIf",e.link)}}var bR=(()=>{class t{constructor(){this.pdfIconType="pdf",this.driverIconType="driver"}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["product-files"]],inputs:{productFiles:"productFiles"},standalone:!1,decls:4,vars:4,consts:[[1,"product-files-header"],[4,"ngFor","ngForOf"],[1,"product-file"],[1,"row","col-12"],[1,"col-2","col-md-1"],[1,"file-icon-box","float-start","me-1"],["class","icon-background",4,"ngIf"],[1,"row","col-6","col-md-9","float-start","text-box"],[1,"col-12"],["class","file-name",4,"ngIf"],[1,"col-4","col-md-2"],["class","float-end ms-2","target","_blank",3,"href",4,"ngIf"],[1,"icon-background"],[1,"pdf"],["src","/assets/svg/driver-icon.svg",1,"driver"],["src","/assets/svg/download-button.svg",1,"other"],[1,"file-name"],["target","_blank",1,"float-end","ms-2",3,"href"],[1,"btn","white-button-arrow","px-3","w-auto"]],template:function(n,o){n&1&&(h(0,"h3",0),E(1),I(2,"translate"),f(),_(3,TK,13,5,"ul",1)),n&2&&(d(),B(T(2,2,"PRODUCT.TAB_PRODUCT_FILES")),d(2),u("ngForOf",o.productFiles))},dependencies:[at,ee,At,Le],styles:[".product-files-header[_ngcontent-%COMP%]{text-align:left;font-family:Poppins,Open Sans,sans-serif;font-size:28px!important;line-height:28px;font-weight:700;letter-spacing:1.12px;color:#16272f;padding-bottom:20px}.product-file[_ngcontent-%COMP%]{width:100%}.text-box[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:12px}.file-name[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:600;text-align:left;letter-spacing:.56px;color:#003463}.white-button-arrow[_ngcontent-%COMP%]{padding:unset;width:86px;height:24px;min-width:unset;font-size:12px!important;text-transform:uppercase!important}.white-button-arrow[_ngcontent-%COMP%]:hover{color:#fff!important;background-color:#003463!important}li.product-file[_ngcontent-%COMP%]{border-bottom:1px solid #C2C9CC}.icon-background[_ngcontent-%COMP%]{width:48px;height:48px;background:transparent url(/assets/svg/icon-gray-background.svg) no-repeat;position:relative;margin-bottom:15px}.icon-background[_ngcontent-%COMP%] .other[_ngcontent-%COMP%]{position:absolute;top:12px;left:12px}.icon-background[_ngcontent-%COMP%] .driver[_ngcontent-%COMP%]{position:absolute;top:0}.icon-background[_ngcontent-%COMP%] .pdf[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:600;text-align:left;letter-spacing:.56px;color:#003463;position:absolute;top:12px;left:12px}@media (max-width: 630px){.product-files-header[_ngcontent-%COMP%]{padding-left:15px}.file-description[_ngcontent-%COMP%]{display:none}.row[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}}"]})}}return t})();var OK=({dt:t})=>` .p-inputtext { font-family: inherit; font-feature-settings: inherit; font-size: 1rem; color: ${t("inputtext.color")}; background: ${t("inputtext.background")}; padding-block: ${t("inputtext.padding.y")}; padding-inline: ${t("inputtext.padding.x")}; border: 1px solid ${t("inputtext.border.color")}; transition: background ${t("inputtext.transition.duration")}, color ${t("inputtext.transition.duration")}, border-color ${t("inputtext.transition.duration")}, outline-color ${t("inputtext.transition.duration")}, box-shadow ${t("inputtext.transition.duration")}; appearance: none; border-radius: ${t("inputtext.border.radius")}; outline-color: transparent; box-shadow: ${t("inputtext.shadow")}; } .p-inputtext.ng-invalid.ng-dirty { border-color: ${t("inputtext.invalid.border.color")}; } .p-inputtext:enabled:hover { border-color: ${t("inputtext.hover.border.color")}; } .p-inputtext:enabled:focus { border-color: ${t("inputtext.focus.border.color")}; box-shadow: ${t("inputtext.focus.ring.shadow")}; outline: ${t("inputtext.focus.ring.width")} ${t("inputtext.focus.ring.style")} ${t("inputtext.focus.ring.color")}; outline-offset: ${t("inputtext.focus.ring.offset")}; } .p-inputtext.p-invalid { border-color: ${t("inputtext.invalid.border.color")}; } .p-inputtext.p-variant-filled { background: ${t("inputtext.filled.background")}; } .p-inputtext.p-variant-filled:enabled:hover { background: ${t("inputtext.filled.hover.background")}; } .p-inputtext.p-variant-filled:enabled:focus { background: ${t("inputtext.filled.focus.background")}; } .p-inputtext:disabled { opacity: 1; background: ${t("inputtext.disabled.background")}; color: ${t("inputtext.disabled.color")}; } .p-inputtext::placeholder { color: ${t("inputtext.placeholder.color")}; } .p-inputtext.ng-invalid.ng-dirty::placeholder { color: ${t("inputtext.invalid.placeholder.color")}; } .p-inputtext-sm { font-size: ${t("inputtext.sm.font.size")}; padding-block: ${t("inputtext.sm.padding.y")}; padding-inline: ${t("inputtext.sm.padding.x")}; } .p-inputtext-lg { font-size: ${t("inputtext.lg.font.size")}; padding-block: ${t("inputtext.lg.padding.y")}; padding-inline: ${t("inputtext.lg.padding.x")}; } .p-inputtext-fluid { width: 100%; } `,MK={root:({instance:t,props:i})=>["p-inputtext p-component",{"p-filled":t.filled,"p-inputtext-sm":i.size==="small","p-inputtext-lg":i.size==="large","p-invalid":i.invalid,"p-variant-filled":i.variant==="filled","p-inputtext-fluid":i.fluid}]},CR=(()=>{class t extends nt{name="inputtext";theme=OK;classes=MK;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Yl=(()=>{class t extends Ue{ngModel;variant;fluid;pSize;filled;_componentStyle=C(CR);get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return Zt(this.fluid)?!!n:this.fluid}constructor(e){super(),this.ngModel=e}ngAfterViewInit(){super.ngAfterViewInit(),this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function(n){return new(n||t)(b(gi,8))};static \u0275dir=te({type:t,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component"],hostVars:14,hostBindings:function(n,o){if(n&1&&R("input",function(s){return o.onInput(s)}),n&2){let r;tt("p-filled",o.filled)("p-variant-filled",((r=o.variant)!==null&&r!==void 0?r:o.config.inputStyle()||o.config.inputVariant())==="filled")("p-inputtext-fluid",o.hasFluid)("p-inputtext-sm",o.pSize==="small")("p-inputfield-sm",o.pSize==="small")("p-inputtext-lg",o.pSize==="large")("p-inputfield-lg",o.pSize==="large")}},inputs:{variant:"variant",fluid:[2,"fluid","fluid",H],pSize:"pSize"},features:[fe([CR]),Z]})}return t})(),wR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var PK=["clearicon"],kK=["incrementbuttonicon"],AK=["decrementbuttonicon"],NK=["input"];function FK(t,i){if(t&1){let e=U();h(0,"TimesIcon",7),R("click",function(){D(e);let o=m(2);return O(o.clear())}),f()}t&2&&(u("ngClass","p-inputnumber-clear-icon"),N("data-pc-section","clearIcon"))}function LK(t,i){}function VK(t,i){t&1&&_(0,LK,0,0,"ng-template")}function BK(t,i){if(t&1){let e=U();h(0,"span",8),R("click",function(){D(e);let o=m(2);return O(o.clear())}),_(1,VK,1,0,null,9),f()}if(t&2){let e=m(2);N("data-pc-section","clearIcon"),d(),u("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function jK(t,i){if(t&1&&(se(0),_(1,FK,1,2,"TimesIcon",5)(2,BK,2,2,"span",6),ae()),t&2){let e=m();d(),u("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),d(),u("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function $K(t,i){if(t&1&&w(0,"span",13),t&2){let e=m(2);u("ngClass",e.incrementButtonIcon),N("data-pc-section","incrementbuttonicon")}}function HK(t,i){t&1&&w(0,"AngleUpIcon"),t&2&&N("data-pc-section","incrementbuttonicon")}function zK(t,i){}function UK(t,i){t&1&&_(0,zK,0,0,"ng-template")}function GK(t,i){if(t&1&&(se(0),_(1,HK,1,1,"AngleUpIcon",2)(2,UK,1,0,null,9),ae()),t&2){let e=m(2);d(),u("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),d(),u("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function WK(t,i){if(t&1&&w(0,"span",13),t&2){let e=m(2);u("ngClass",e.decrementButtonIcon),N("data-pc-section","decrementbuttonicon")}}function qK(t,i){t&1&&w(0,"AngleDownIcon"),t&2&&N("data-pc-section","decrementbuttonicon")}function KK(t,i){}function QK(t,i){t&1&&_(0,KK,0,0,"ng-template")}function YK(t,i){if(t&1&&(se(0),_(1,qK,1,1,"AngleDownIcon",2)(2,QK,1,0,null,9),ae()),t&2){let e=m(2);d(),u("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),d(),u("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function ZK(t,i){if(t&1){let e=U();h(0,"span",10)(1,"button",11),R("mousedown",function(o){D(e);let r=m();return O(r.onUpButtonMouseDown(o))})("mouseup",function(){D(e);let o=m();return O(o.onUpButtonMouseUp())})("mouseleave",function(){D(e);let o=m();return O(o.onUpButtonMouseLeave())})("keydown",function(o){D(e);let r=m();return O(r.onUpButtonKeyDown(o))})("keyup",function(){D(e);let o=m();return O(o.onUpButtonKeyUp())}),_(2,$K,1,2,"span",12)(3,GK,3,2,"ng-container",2),f(),h(4,"button",11),R("mousedown",function(o){D(e);let r=m();return O(r.onDownButtonMouseDown(o))})("mouseup",function(){D(e);let o=m();return O(o.onDownButtonMouseUp())})("mouseleave",function(){D(e);let o=m();return O(o.onDownButtonMouseLeave())})("keydown",function(o){D(e);let r=m();return O(r.onDownButtonKeyDown(o))})("keyup",function(){D(e);let o=m();return O(o.onDownButtonKeyUp())}),_(5,WK,1,2,"span",12)(6,YK,3,2,"ng-container",2),f()()}if(t&2){let e=m();N("data-pc-section","buttonGroup"),d(),re(e.incrementButtonClass),u("ngClass",e._incrementButtonClass)("disabled",e.disabled),N("aria-hidden",!0)("data-pc-section","incrementbutton"),d(),u("ngIf",e.incrementButtonIcon),d(),u("ngIf",!e.incrementButtonIcon),d(),re(e.decrementButtonClass),u("ngClass",e._decrementButtonClass)("disabled",e.disabled),N("aria-hidden",!0)("data-pc-section","decrementbutton"),d(),u("ngIf",e.decrementButtonIcon),d(),u("ngIf",!e.decrementButtonIcon)}}function JK(t,i){if(t&1&&w(0,"span",13),t&2){let e=m(2);u("ngClass",e.incrementButtonIcon),N("data-pc-section","incrementbuttonicon")}}function XK(t,i){t&1&&w(0,"AngleUpIcon"),t&2&&N("data-pc-section","incrementbuttonicon")}function eQ(t,i){}function tQ(t,i){t&1&&_(0,eQ,0,0,"ng-template")}function nQ(t,i){if(t&1&&(se(0),_(1,XK,1,1,"AngleUpIcon",2)(2,tQ,1,0,null,9),ae()),t&2){let e=m(2);d(),u("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),d(),u("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function iQ(t,i){if(t&1){let e=U();h(0,"button",11),R("mousedown",function(o){D(e);let r=m();return O(r.onUpButtonMouseDown(o))})("mouseup",function(){D(e);let o=m();return O(o.onUpButtonMouseUp())})("mouseleave",function(){D(e);let o=m();return O(o.onUpButtonMouseLeave())})("keydown",function(o){D(e);let r=m();return O(r.onUpButtonKeyDown(o))})("keyup",function(){D(e);let o=m();return O(o.onUpButtonKeyUp())}),_(1,JK,1,2,"span",12)(2,nQ,3,2,"ng-container",2),f()}if(t&2){let e=m();re(e.incrementButtonClass),u("ngClass",e._incrementButtonClass)("disabled",e.disabled),N("aria-hidden",!0)("data-pc-section","incrementbutton"),d(),u("ngIf",e.incrementButtonIcon),d(),u("ngIf",!e.incrementButtonIcon)}}function oQ(t,i){if(t&1&&w(0,"span",13),t&2){let e=m(2);u("ngClass",e.decrementButtonIcon),N("data-pc-section","decrementbuttonicon")}}function rQ(t,i){t&1&&w(0,"AngleDownIcon"),t&2&&N("data-pc-section","decrementbuttonicon")}function sQ(t,i){}function aQ(t,i){t&1&&_(0,sQ,0,0,"ng-template")}function lQ(t,i){if(t&1&&(se(0),_(1,rQ,1,1,"AngleDownIcon",2)(2,aQ,1,0,null,9),ae()),t&2){let e=m(2);d(),u("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),d(),u("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function cQ(t,i){if(t&1){let e=U();h(0,"button",11),R("mousedown",function(o){D(e);let r=m();return O(r.onDownButtonMouseDown(o))})("mouseup",function(){D(e);let o=m();return O(o.onDownButtonMouseUp())})("mouseleave",function(){D(e);let o=m();return O(o.onDownButtonMouseLeave())})("keydown",function(o){D(e);let r=m();return O(r.onDownButtonKeyDown(o))})("keyup",function(){D(e);let o=m();return O(o.onDownButtonKeyUp())}),_(1,oQ,1,2,"span",12)(2,lQ,3,2,"ng-container",2),f()}if(t&2){let e=m();re(e.decrementButtonClass),u("ngClass",e._decrementButtonClass)("disabled",e.disabled),N("aria-hidden",!0)("data-pc-section","decrementbutton"),d(),u("ngIf",e.decrementButtonIcon),d(),u("ngIf",!e.decrementButtonIcon)}}var dQ=({dt:t})=>` .p-inputnumber { display: inline-flex; position: relative; } .p-inputnumber-button { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; cursor: pointer; background: ${t("inputnumber.button.background")}; color: ${t("inputnumber.button.color")}; width: ${t("inputnumber.button.width")}; transition: background ${t("inputnumber.transition.duration")}, color ${t("inputnumber.transition.duration")}, border-color ${t("inputnumber.transition.duration")}, outline-color ${t("inputnumber.transition.duration")}; } .p-inputnumber-clear-icon { position: absolute; top: 50%; margin-top: -0.5rem; cursor: pointer; right: 0.75rem; color: ${t("inputnumber.button.color")}; } .p-inputnumber-button:hover { background: ${t("inputnumber.button.hover.background")}; color: ${t("inputnumber.button.hover.color")}; } .p-inputnumber-button:active { background: ${t("inputnumber.button.active.background")}; color: ${t("inputnumber.button.active.color")}; } .p-inputnumber-stacked .p-inputnumber-button { position: relative; border: 0 none; } .p-inputnumber-stacked .p-inputnumber-button-group { display: flex; flex-direction: column; position: absolute; inset-block-start: 1px; inset-inline-end: 1px; height: calc(100% - 2px); z-index: 1; } .p-inputnumber-stacked .p-inputnumber-increment-button { padding: 0; border-start-end-radius: calc(${t("inputnumber.button.border.radius")} - 1px); } .p-inputnumber-stacked .p-inputnumber-decrement-button { padding: 0; border-end-end-radius: calc(${t("inputnumber.button.border.radius")} - 1px); } .p-inputnumber-stacked .p-inputnumber-button { flex: 1 1 auto; border: 0 none; } .p-inputnumber-horizontal .p-inputnumber-button { border: 1px solid ${t("inputnumber.button.border.color")}; } .p-inputnumber-horizontal .p-inputnumber-button:hover { border-color: ${t("inputnumber.button.hover.border.color")}; } .p-inputnumber-horizontal .p-inputnumber-button:active { border-color: ${t("inputnumber.button.active.border.color")}; } .p-inputnumber-horizontal .p-inputnumber-increment-button { order: 3; border-start-end-radius: ${t("inputnumber.button.border.radius")}; border-end-end-radius: ${t("inputnumber.button.border.radius")}; border-inline-start: 0 none; } .p-inputnumber-horizontal .p-inputnumber-input { order: 2; border-radius: 0; } .p-inputnumber-horizontal .p-inputnumber-decrement-button { order: 1; border-start-start-radius: ${t("inputnumber.button.border.radius")}; border-end-start-radius: ${t("inputnumber.button.border.radius")}; border-inline-end: 0 none; } .p-floatlabel:has(.p-inputnumber-horizontal) label { margin-inline-start: ${t("inputnumber.button.width")}; } .p-inputnumber-vertical { flex-direction: column; } .p-inputnumber-vertical .p-inputnumber-button { border: 1px solid ${t("inputnumber.button.border.color")}; padding-block: ${t("inputnumber.button.vertical.padding")}; padding-inline: 0; } .p-inputnumber-vertical .p-inputnumber-button:hover { border-color: ${t("inputnumber.button.hover.border.color")}; } .p-inputnumber-vertical .p-inputnumber-button:active { border-color: ${t("inputnumber.button.active.border.color")}; } .p-inputnumber-vertical .p-inputnumber-increment-button { order: 1; border-start-start-radius: ${t("inputnumber.button.border.radius")}; border-start-end-radius: ${t("inputnumber.button.border.radius")}; width: 100%; border-block-end: 0 none; } .p-inputnumber-vertical .p-inputnumber-input { order: 2; border-radius: 0; text-align: center; } .p-inputnumber-vertical .p-inputnumber-decrement-button { order: 3; border-end-start-radius: ${t("inputnumber.button.border.radius")}; border-end-end-radius: ${t("inputnumber.button.border.radius")}; width: 100%; border-block-start: 0 none; } .p-inputnumber-input { flex: 1 1 auto; } .p-inputnumber-fluid { width: 100%; } .p-inputnumber-fluid .p-inputnumber-input { width: 1%; } .p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { width: 100%; } .p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon { font-size: ${t("form.field.sm.font.size")}; width: ${t("form.field.sm.font.size")}; height: ${t("form.field.sm.font.size")}; } .p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon { font-size: ${t("form.field.lg.font.size")}; width: ${t("form.field.lg.font.size")}; height: ${t("form.field.lg.font.size")}; } p-inputnumber.ng-invalid.ng-dirty > .p-inputtext { border-color: ${t("inputtext.invalid.border.color")}; } p-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus { border-color: ${t("inputtext.focus.border.color")}; } p-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder { color: ${t("inputtext.invalid.placeholder.color")}; } `,uQ={root:({instance:t})=>({"p-inputnumber p-component p-inputwrapper":!0,"p-inputwrapper-filled":t.filled||t.allowEmpty===!1,"p-inputwrapper-focus":t.focused,"p-inputnumber-stacked":t.showButtons&&t.buttonLayout==="stacked","p-inputnumber-horizontal":t.showButtons&&t.buttonLayout==="horizontal","p-inputnumber-vertical":t.showButtons&&t.buttonLayout==="vertical","p-inputnumber-fluid":t.hasFluid}),pcInput:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:({instance:t})=>({"p-inputnumber-button p-inputnumber-increment-button":!0,"p-disabled":t.showButtons&&t.max!==null&&t.maxlength}),decrementButton:({instance:t})=>({"p-inputnumber-button p-inputnumber-decrement-button":!0,"p-disabled":t.showButtons&&t.min!==null&&t.minlength})},xR=(()=>{class t extends nt{name="inputnumber";theme=dQ;classes=uQ;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var pQ={provide:un,useExisting:st(()=>Um),multi:!0},Um=(()=>{class t extends Ue{injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;variant;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;autofocus;get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1),this._disabled=e,this.timer&&this.clearTimer()}fluid=!1;onInput=new F;onFocus=new F;onBlur=new F;onKeyDown=new F;onClear=new F;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;templates;input;_clearIconTemplate;_incrementButtonIconTemplate;_decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_decimalChar;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;_componentStyle=C(xR);ngControl=null;get _rootClass(){return this._componentStyle.classes.root({instance:this})}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return this.fluid||!!n}get _incrementButtonClass(){return this._componentStyle.classes.incrementButton({instance:this})}get _decrementButtonClass(){return this._componentStyle.classes.decrementButton({instance:this})}constructor(e){super(),this.injector=e}ngOnChanges(e){super.ngOnChanges(e),["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(o=>!!e[o])&&this.updateConstructParser()}get hostClasses(){return typeof this._rootClass=="string"?this._rootClass:Array.isArray(this._rootClass)?this._rootClass.join(" "):typeof this._rootClass=="object"?Object.keys(this._rootClass).filter(e=>this._rootClass[e]).join(" "):""}ngOnInit(){super.ngOnInit(),this.ngControl=this.injector.get(cr,null,{optional:!0}),this.constructParser(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"clearicon":this._clearIconTemplate=e.template;break;case"incrementbuttonicon":this._incrementButtonIconTemplate=e.template;break;case"decrementbuttonicon":this._decrementButtonIconTemplate=e.template;break}})}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits??void 0,maximumFractionDigits:this.maxFractionDigits??void 0}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());let e=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(e.map((o,r)=>[o,r]));this._numeral=new RegExp(`[${e.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._decimalChar=this.getDecimalChar(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=o=>n.get(o)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){let e=this.getDecimalChar();return new RegExp(`[${e}]`,"g")}getDecimalChar(){return new Intl.NumberFormat(this.locale,Ce(k({},this.getOptions()),{useGrouping:!1})).format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}getGroupingExpression(){let e=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=e.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){let e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${e.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){let e=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${e.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{let e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=e.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{let e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=e.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(e){if(e!=null){if(e==="-")return e;if(this.format){let o=new Intl.NumberFormat(this.locale,this.getOptions()).format(e);return this.prefix&&e!=this.prefix&&(o=this.prefix+o),this.suffix&&e!=this.suffix&&(o=o+this.suffix),o}return e.toString()}return""}parseValue(e){let n=new RegExp(this._suffix,""),o=new RegExp(this._prefix,""),r=new RegExp(this._currency,""),s=e.replace(n,"").replace(o,"").trim().replace(/\s/g,"").replace(r,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(s){if(s==="-")return s;let a=+s;return isNaN(a)?null:a}return null}repeat(e,n,o){if(this.readonly)return;let r=n||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(e,40,o)},r),this.spin(e,o)}spin(e,n){let o=this.step*n,r=this.parseValue(this.input?.nativeElement.value)||0,s=this.validateValue(r+o);this.maxlength&&this.maxlength=0;a--)if(this.isNumeralChar(r.charAt(a))){this.input.nativeElement.setSelectionRange(a,a);break}break;case"Tab":case"Enter":s=this.validateValue(this.parseValue(this.input.nativeElement.value)),this.input.nativeElement.value=this.formatValue(s),this.input.nativeElement.setAttribute("aria-valuenow",s),this.updateModel(e,s);break;case"Backspace":{if(e.preventDefault(),n===o){if(n==1&&this.prefix||n==r.length&&this.suffix)break;let a=r.charAt(n-1),{decimalCharIndex:l,decimalCharIndexWithoutPrefix:c}=this.getDecimalCharIndexes(r);if(this.isNumeralChar(a)){let p=this.getDecimalLength(r);if(this._group.test(a))this._group.lastIndex=0,s=r.slice(0,n-2)+r.slice(n-1);else if(this._decimal.test(a))this._decimal.lastIndex=0,p?this.input?.nativeElement.setSelectionRange(n-1,n-1):s=r.slice(0,n-1)+r.slice(n);else if(l>0&&n>l){let g=this.isDecimalMode()&&(this.minFractionDigits||0)0?s:""):s=r.slice(0,n-1)+r.slice(n)}else this.mode==="currency"&&a.search(this._currency)!=-1&&(s=r.slice(1));this.updateValue(e,s,null,"delete-single")}else s=this.deleteRange(r,n,o),this.updateValue(e,s,null,"delete-range");break}case"Delete":if(e.preventDefault(),n===o){if(n==0&&this.prefix||n==r.length-1&&this.suffix)break;let a=r.charAt(n),{decimalCharIndex:l,decimalCharIndexWithoutPrefix:c}=this.getDecimalCharIndexes(r);if(this.isNumeralChar(a)){let p=this.getDecimalLength(r);if(this._group.test(a))this._group.lastIndex=0,s=r.slice(0,n)+r.slice(n+2);else if(this._decimal.test(a))this._decimal.lastIndex=0,p?this.input?.nativeElement.setSelectionRange(n+1,n+1):s=r.slice(0,n)+r.slice(n+1);else if(l>0&&n>l){let g=this.isDecimalMode()&&(this.minFractionDigits||0)0?s:""):s=r.slice(0,n)+r.slice(n+1)}this.updateValue(e,s,null,"delete-back-single")}else s=this.deleteRange(r,n,o),this.updateValue(e,s,null,"delete-range");break;case"Home":this.min&&(this.updateModel(e,this.min),e.preventDefault());break;case"End":this.max&&(this.updateModel(e,this.max),e.preventDefault());break;default:break}this.onKeyDown.emit(e)}onInputKeyPress(e){if(this.readonly)return;let n=e.which||e.keyCode,o=String.fromCharCode(n),r=this.isDecimalSign(o),s=this.isMinusSign(o);n!=13&&e.preventDefault(),!r&&e.code==="NumpadDecimal"&&(r=!0,o=this._decimalChar,n=o.charCodeAt(0));let{value:a,selectionStart:l,selectionEnd:c}=this.input.nativeElement,p=this.parseValue(a+o),g=p!=null?p.toString():"",v=a.substring(l,c),y=this.parseValue(v),x=y!=null?y.toString():"";if(l!==c&&x.length>0){this.insert(e,o,{isDecimalSign:r,isMinusSign:s});return}this.maxlength&&g.length>this.maxlength||(48<=n&&n<=57||s||r)&&this.insert(e,o,{isDecimalSign:r,isMinusSign:s})}onPaste(e){if(!this.disabled&&!this.readonly){e.preventDefault();let n=(e.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(n){this.maxlength&&(n=n.toString().substring(0,this.maxlength));let o=this.parseValue(n);o!=null&&this.insert(e,o.toString())}}}allowMinusSign(){return this.min==null||this.min<0}isMinusSign(e){return this._minusSign.test(e)||e==="-"?(this._minusSign.lastIndex=0,!0):!1}isDecimalSign(e){return this._decimal.test(e)?(this._decimal.lastIndex=0,!0):!1}isDecimalMode(){return this.mode==="decimal"}getDecimalCharIndexes(e){let n=e.search(this._decimal);this._decimal.lastIndex=0;let r=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:n,decimalCharIndexWithoutPrefix:r}}getCharIndexes(e){let n=e.search(this._decimal);this._decimal.lastIndex=0;let o=e.search(this._minusSign);this._minusSign.lastIndex=0;let r=e.search(this._suffix);this._suffix.lastIndex=0;let s=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:n,minusCharIndex:o,suffixCharIndex:r,currencyCharIndex:s}}insert(e,n,o={isDecimalSign:!1,isMinusSign:!1}){let r=n.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&r!==-1)return;let s=this.input?.nativeElement.selectionStart,a=this.input?.nativeElement.selectionEnd,l=this.input?.nativeElement.value.trim(),{decimalCharIndex:c,minusCharIndex:p,suffixCharIndex:g,currencyCharIndex:v}=this.getCharIndexes(l),y;if(o.isMinusSign)s===0&&(y=l,(p===-1||a!==0)&&(y=this.insertText(l,n,0,a)),this.updateValue(e,y,n,"insert"));else if(o.isDecimalSign)c>0&&s===c?this.updateValue(e,l,n,"insert"):c>s&&c0&&s>c){if(s+n.length-(c+1)<=x){let j=v>=s?v-1:g>=s?g:l.length;y=l.slice(0,s)+n+l.slice(s+n.length,j)+l.slice(j),this.updateValue(e,y,n,P)}}else y=this.insertText(l,n,s,a),this.updateValue(e,y,n,P)}}insertText(e,n,o,r){if((n==="."?n:n.split(".")).length===2){let a=e.slice(o,r).search(this._decimal);return this._decimal.lastIndex=0,a>0?e.slice(0,o)+this.formatValue(n)+e.slice(r):e||this.formatValue(n)}else return r-o===e.length?this.formatValue(n):o===0?n+e.slice(r):r===e.length?e.slice(0,o)+n:e.slice(0,o)+n+e.slice(r)}deleteRange(e,n,o){let r;return o-n===e.length?r="":n===0?r=e.slice(o):o===e.length?r=e.slice(0,n):r=e.slice(0,n)+e.slice(o),r}initCursor(){let e=this.input?.nativeElement.selectionStart,n=this.input?.nativeElement.selectionEnd,o=this.input?.nativeElement.value,r=o.length,s=null,a=(this.prefixChar||"").length;o=o.replace(this._prefix,""),(e===n||e!==0||n=0;)if(l=o.charAt(c),this.isNumeralChar(l)){s=c+a;break}else c--;if(s!==null)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=e;cthis.max?this.max:e}updateInput(e,n,o,r){n=n||"";let s=this.input?.nativeElement.value,a=this.formatValue(e),l=s.length;if(a!==r&&(a=this.concatValues(a,r)),l===0){this.input.nativeElement.value=a,this.input.nativeElement.setSelectionRange(0,0);let p=this.initCursor()+n.length;this.input.nativeElement.setSelectionRange(p,p)}else{let c=this.input.nativeElement.selectionStart,p=this.input.nativeElement.selectionEnd;if(this.maxlength&&a.length>this.maxlength&&(a=a.slice(0,this.maxlength),c=Math.min(c,this.maxlength),p=Math.min(p,this.maxlength)),this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}static \u0275fac=function(n){return new(n||t)(b(Qe))};static \u0275cmp=A({type:t,selectors:[["p-inputNumber"],["p-inputnumber"],["p-input-number"]],contentQueries:function(n,o,r){if(n&1&&(he(r,PK,4),he(r,kK,4),he(r,AK,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.clearIconTemplate=s.first),G(s=W())&&(o.incrementButtonIconTemplate=s.first),G(s=W())&&(o.decrementButtonIconTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&ve(NK,5),n&2){let r;G(r=W())&&(o.input=r.first)}},hostVars:4,hostBindings:function(n,o){n&2&&(N("data-pc-name","inputnumber")("data-pc-section","root"),re(o.hostClasses))},inputs:{showButtons:[2,"showButtons","showButtons",H],format:[2,"format","format",H],buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:[2,"maxlength","maxlength",ot],tabindex:[2,"tabindex","tabindex",ot],title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:[2,"ariaRequired","ariaRequired",H],name:"name",required:[2,"required","required",H],autocomplete:"autocomplete",min:[2,"min","min",ot],max:[2,"max","max",ot],incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:[2,"readonly","readonly",H],step:[2,"step","step",ot],allowEmpty:[2,"allowEmpty","allowEmpty",H],locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:[2,"useGrouping","useGrouping",H],variant:"variant",minFractionDigits:[2,"minFractionDigits","minFractionDigits",e=>ot(e,null)],maxFractionDigits:[2,"maxFractionDigits","maxFractionDigits",e=>ot(e,null)],prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:[2,"showClear","showClear",H],autofocus:[2,"autofocus","autofocus",H],disabled:"disabled",fluid:[2,"fluid","fluid",H]},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[fe([pQ,xR]),Z,Ke],decls:6,vars:32,consts:[["input",""],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","ngClass","ngStyle","value","variant","disabled","readonly","pSize","pAutoFocus","fluid"],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","tabindex","-1",3,"ngClass","class","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],["class","p-inputnumber-clear-icon",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"p-inputnumber-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[1,"p-inputnumber-button-group"],["type","button","tabindex","-1",3,"mousedown","mouseup","mouseleave","keydown","keyup","ngClass","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(n,o){if(n&1){let r=U();h(0,"input",1,0),R("input",function(a){return D(r),O(o.onUserInput(a))})("keydown",function(a){return D(r),O(o.onInputKeyDown(a))})("keypress",function(a){return D(r),O(o.onInputKeyPress(a))})("paste",function(a){return D(r),O(o.onPaste(a))})("click",function(){return D(r),O(o.onInputClick())})("focus",function(a){return D(r),O(o.onInputFocus(a))})("blur",function(a){return D(r),O(o.onInputBlur(a))}),f(),_(2,jK,3,2,"ng-container",2)(3,ZK,7,17,"span",3)(4,iQ,3,8,"button",4)(5,cQ,3,8,"button",4)}n&2&&(re(o.inputStyleClass),u("ngClass","p-inputnumber-input")("ngStyle",o.inputStyle)("value",o.formattedValue())("variant",o.variant)("disabled",o.disabled)("readonly",o.readonly)("pSize",o.size)("pAutoFocus",o.autofocus)("fluid",o.hasFluid),N("id",o.inputId)("aria-valuemin",o.min)("aria-valuemax",o.max)("aria-valuenow",o.value)("placeholder",o.placeholder)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledBy)("title",o.title)("name",o.name)("autocomplete",o.autocomplete)("maxlength",o.maxlength)("tabindex",o.tabindex)("aria-required",o.ariaRequired)("required",o.required)("min",o.min)("max",o.max)("data-pc-section","input"),d(2),u("ngIf",o.buttonLayout!="vertical"&&o.showClear&&o.value),d(),u("ngIf",o.showButtons&&o.buttonLayout==="stacked"),d(),u("ngIf",o.showButtons&&o.buttonLayout!=="stacked"),d(),u("ngIf",o.showButtons&&o.buttonLayout!=="stacked"))},dependencies:[Se,_t,ee,vt,fn,Yl,$r,hr,vO,gO,Ye],encapsulation:2,changeDetection:0})}return t})(),sDe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Um,Ye,Ye]})}return t})();var hQ=["*"],fQ=({dt:t})=>` .p-iconfield { position: relative; display: block; } .p-inputicon { position: absolute; top: 50%; margin-top: calc(-1 * (${t("icon.size")} / 2)); color: ${t("iconfield.icon.color")}; line-height: 1; } .p-iconfield .p-inputicon:first-child { inset-inline-start: ${t("form.field.padding.x")}; } .p-iconfield .p-inputicon:last-child { inset-inline-end: ${t("form.field.padding.x")}; } .p-iconfield .p-inputtext:not(:first-child) { padding-inline-start: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")}); } .p-iconfield .p-inputtext:not(:last-child) { padding-inline-end: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")}); } .p-iconfield:has(.p-inputfield-sm) .p-inputicon { font-size: ${t("form.field.sm.font.size")}; width: ${t("form.field.sm.font.size")}; height: ${t("form.field.sm.font.size")}; margin-top: calc(-1 * (${t("form.field.sm.font.size")} / 2)); } .p-iconfield:has(.p-inputfield-lg) .p-inputicon { font-size: ${t("form.field.lg.font.size")}; width: ${t("form.field.lg.font.size")}; height: ${t("form.field.lg.font.size")}; margin-top: calc(-1 * (${t("form.field.lg.font.size")} / 2)); } `,mQ={root:"p-iconfield"},ER=(()=>{class t extends nt{name="iconfield";theme=fQ;classes=mQ;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Zd=(()=>{class t extends Ue{iconPosition="left";get _styleClass(){return this.styleClass}styleClass;_componentStyle=C(ER);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostAttrs:[1,"p-iconfield"],hostVars:6,hostBindings:function(n,o){n&2&&(re(o._styleClass),tt("p-iconfield-left",o.iconPosition==="left")("p-iconfield-right",o.iconPosition==="right"))},inputs:{iconPosition:"iconPosition",styleClass:"styleClass"},features:[fe([ER]),Z],ngContentSelectors:hQ,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},dependencies:[Se],encapsulation:2,changeDetection:0})}return t})();var gQ=["*"],_Q={root:"p-inputicon"},IR=(()=>{class t extends nt{name="inputicon";classes=_Q;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),Jd=(()=>{class t extends Ue{styleClass;get hostClasses(){return this.styleClass}_componentStyle=C(IR);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:4,hostBindings:function(n,o){n&2&&(re(o.hostClasses),tt("p-inputicon",!0))},inputs:{styleClass:"styleClass"},features:[fe([IR]),Z],ngContentSelectors:gQ,decls:1,vars:0,template:function(n,o){n&1&&(Xe(),Ae(0))},dependencies:[Se,Ye],encapsulation:2,changeDetection:0})}return t})();var SR=["content"],yQ=["overlay"],vQ=["*"],bQ=(t,i,e,n,o,r,s,a,l,c,p,g,v,y)=>({"p-overlay p-component":!0,"p-overlay-modal p-overlay-mask p-overlay-mask-enter":t,"p-overlay-center":i,"p-overlay-top":e,"p-overlay-top-start":n,"p-overlay-top-end":o,"p-overlay-bottom":r,"p-overlay-bottom-start":s,"p-overlay-bottom-end":a,"p-overlay-left":l,"p-overlay-left-start":c,"p-overlay-left-end":p,"p-overlay-right":g,"p-overlay-right-start":v,"p-overlay-right-end":y}),CQ=(t,i,e)=>({showTransitionParams:t,hideTransitionParams:i,transform:e}),wQ=t=>({value:"visible",params:t}),xQ=t=>({mode:t}),EQ=t=>({$implicit:t});function IQ(t,i){t&1&&le(0)}function SQ(t,i){if(t&1){let e=U();h(0,"div",3,1),R("click",function(o){D(e);let r=m(2);return O(r.onOverlayContentClick(o))})("@overlayContentAnimation.start",function(o){D(e);let r=m(2);return O(r.onOverlayContentAnimationStart(o))})("@overlayContentAnimation.done",function(o){D(e);let r=m(2);return O(r.onOverlayContentAnimationDone(o))}),Ae(2),_(3,IQ,1,0,"ng-container",4),f()}if(t&2){let e=m(2);re(e.contentStyleClass),u("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",ce(11,wQ,eo(7,CQ,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),d(3),u("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",ce(15,EQ,ce(13,xQ,e.overlayMode)))}}function TQ(t,i){if(t&1){let e=U();h(0,"div",3,0),R("click",function(){D(e);let o=m();return O(o.onOverlayClick())}),_(2,SQ,4,17,"div",2),f()}if(t&2){let e=m();re(e.styleClass),u("ngStyle",e.style)("ngClass",NS(5,bQ,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),d(2),u("ngIf",e.visible)}}var DQ=({dt:t})=>` .p-overlay { position: absolute; top: 0; inset-inline-start: 0; } .p-overlay-modal { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; } .p-overlay-content { transform-origin: inherit; } .p-overlay-modal > .p-overlay-content { z-index: 1; width: 90%; } /* Position */ /* top */ .p-overlay-top { align-items: flex-start; } .p-overlay-top-start { align-items: flex-start; justify-content: flex-start; } .p-overlay-top-end { align-items: flex-start; justify-content: flex-end; } /* bottom */ .p-overlay-bottom { align-items: flex-end; } .p-overlay-bottom-start { align-items: flex-end; justify-content: flex-start; } .p-overlay-bottom-end { align-items: flex-end; justify-content: flex-end; } /* left */ .p-overlay-left { justify-content: flex-start; } .p-overlay-left-start { justify-content: flex-start; align-items: flex-start; } .p-overlay-left-end { justify-content: flex-start; align-items: flex-end; } /* right */ .p-overlay-right { justify-content: flex-end; } .p-overlay-right-start { justify-content: flex-end; align-items: flex-start; } .p-overlay-right-end { justify-content: flex-end; align-items: flex-end; } `,TR=(()=>{class t extends nt{name="overlay";theme=DQ;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),OQ=cl([ni({transform:"{{transform}}",opacity:0}),oo("{{showTransitionParams}}")]),MQ=cl([oo("{{hideTransitionParams}}",ni({transform:"{{transform}}",opacity:0}))]),Xd=(()=>{class t extends Ue{overlayService;zone;get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return Ls.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return Ls.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return Ls.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return Ls.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){let e=this._target||this.overlayOptions?.target;return e===void 0?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){let e=this._autoZIndex||this.overlayOptions?.autoZIndex;return e===void 0?!0:e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){let e=this._baseZIndex||this.overlayOptions?.baseZIndex;return e===void 0?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){let e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return e===void 0?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){let e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return e===void 0?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}visibleChange=new F;onBeforeShow=new F;onShow=new F;onBeforeHide=new F;onHide=new F;onAnimationStart=new F;onAnimationDone=new F;overlayViewChild;contentViewChild;contentTemplate;templates;_contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;_componentStyle=C(TR);documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if(We(this.platformId))return this.mode==="modal"||this.overlayResponsiveOptions&&this.document.defaultView?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return k(k({},this.config?.overlayOptions),this.options)}get overlayResponsiveOptions(){return k(k({},this.overlayOptions?.responsive),this.responsive)}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return qD(this.target,this.el?.nativeElement)}constructor(e,n){super(),this.overlayService=e,this.zone=n}ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}show(e,n=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),n&&$t(this.targetEl),this.modal&&zn(this.document?.body,"p-overflow-hidden")}hide(e,n=!1){if(this.visible)this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),n&&$t(this.targetEl),this.modal&&_i(this.document?.body,"p-overflow-hidden");else return}alignOverlay(){!this.modal&&Ro.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&uo.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),Ro.appendOverlay(this.overlayEl,this.appendTo==="body"?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&zn(this.overlayEl,"p-overlay-mask-leave");break}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){let n=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.show(n,!0),this.bindListeners();break;case"void":this.hide(n,!0),this.unbindListeners(),Ro.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),uo.clear(n),this.modalVisible=!1,this.cd.markForCheck();break}this.handleEvents("onAnimationDone",e)}handleEvents(e,n){this[e].emit(n),this.options&&this.options[e]&&this.options[e](n),this.config?.overlayOptions&&(this.config?.overlayOptions)[e]&&(this.config?.overlayOptions)[e](n)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new bl(this.targetEl,e=>{(this.listener?this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}):!0)&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{let o=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target)))&&!this.isOverlayContentClicked;(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:e.which!==3&&o}):o)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!Ns()}):!Ns())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.document.defaultView,"keydown",e=>{if(this.overlayOptions.hideOnEscape===!1||e.code!=="Escape")return;(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!Ns()}):!Ns())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(Ro.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),uo.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners(),super.ngOnDestroy()}static \u0275fac=function(n){return new(n||t)(b(nO),b(ue))};static \u0275cmp=A({type:t,selectors:[["p-overlay"]],contentQueries:function(n,o,r){if(n&1&&(he(r,SR,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.contentTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(yQ,5),ve(SR,5)),n&2){let r;G(r=W())&&(o.overlayViewChild=r.first),G(r=W())&&(o.contentViewChild=r.first)}},inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[fe([TR]),Z],ngContentSelectors:vQ,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,o){n&1&&(Xe(),_(0,TQ,3,20,"div",2)),n&2&&u("ngIf",o.modalVisible)},dependencies:[Se,_t,ee,vt,fn,Ye],encapsulation:2,data:{animation:[Br("overlayContentAnimation",[ro(":enter",[dl(OQ)]),ro(":leave",[dl(MQ)])])]},changeDetection:0})}return t})(),v1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Xd,Ye,Ye]})}return t})();var DR=["content"],PQ=["item"],kQ=["loader"],AQ=["loadericon"],NQ=["element"],FQ=["*"],LQ=(t,i,e)=>({"p-virtualscroller":!0,"p-virtualscroller-inline":t,"p-virtualscroller-both p-both-scroll":i,"p-virtualscroller-horizontal p-horizontal-scroll":e}),b1=(t,i)=>({$implicit:t,options:i}),VQ=t=>({"p-virtualscroller-loading ":t}),BQ=t=>({"p-virtualscroller-loader-mask":t}),jQ=t=>({numCols:t}),MR=t=>({options:t}),$Q=()=>({styleClass:"p-virtualscroller-loading-icon"}),HQ=(t,i)=>({rows:t,columns:i});function zQ(t,i){t&1&&le(0)}function UQ(t,i){if(t&1&&(se(0),_(1,zQ,1,0,"ng-container",10),ae()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Ge(2,b1,e.loadedItems,e.getContentOptions()))}}function GQ(t,i){t&1&&le(0)}function WQ(t,i){if(t&1&&(se(0),_(1,GQ,1,0,"ng-container",10),ae()),t&2){let e=i.$implicit,n=i.index,o=m(3);d(),u("ngTemplateOutlet",o.itemTemplate||o._itemTemplate)("ngTemplateOutletContext",Ge(2,b1,e,o.getOptions(n)))}}function qQ(t,i){if(t&1&&(h(0,"div",11,3),_(2,WQ,2,5,"ng-container",12),f()),t&2){let e=m(2);u("ngClass",ce(5,VQ,e.d_loading))("ngStyle",e.contentStyle),N("data-pc-section","content"),d(2),u("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy)}}function KQ(t,i){if(t&1&&w(0,"div",13),t&2){let e=m(2);u("ngStyle",e.spacerStyle),N("data-pc-section","spacer")}}function QQ(t,i){t&1&&le(0)}function YQ(t,i){if(t&1&&(se(0),_(1,QQ,1,0,"ng-container",10),ae()),t&2){let e=i.index,n=m(4);d(),u("ngTemplateOutlet",n.loaderTemplate||n._loaderTemplate)("ngTemplateOutletContext",ce(4,MR,n.getLoaderOptions(e,n.both&&ce(2,jQ,n.numItemsInViewport.cols))))}}function ZQ(t,i){if(t&1&&(se(0),_(1,YQ,2,6,"ng-container",15),ae()),t&2){let e=m(3);d(),u("ngForOf",e.loaderArr)}}function JQ(t,i){t&1&&le(0)}function XQ(t,i){if(t&1&&(se(0),_(1,JQ,1,0,"ng-container",10),ae()),t&2){let e=m(4);d(),u("ngTemplateOutlet",e.loaderIconTemplate||e._loaderIconTemplate)("ngTemplateOutletContext",ce(3,MR,Ht(2,$Q)))}}function eY(t,i){t&1&&w(0,"SpinnerIcon",16),t&2&&(u("styleClass","p-virtualscroller-loading-icon pi-spin"),N("data-pc-section","loadingIcon"))}function tY(t,i){if(t&1&&_(0,XQ,2,5,"ng-container",6)(1,eY,1,2,"ng-template",null,5,we),t&2){let e=ge(2),n=m(3);u("ngIf",n.loaderIconTemplate||n._loaderIconTemplate)("ngIfElse",e)}}function nY(t,i){if(t&1&&(h(0,"div",14),_(1,ZQ,2,1,"ng-container",6)(2,tY,3,2,"ng-template",null,4,we),f()),t&2){let e=ge(3),n=m(2);u("ngClass",ce(4,BQ,!n.loaderTemplate)),N("data-pc-section","loader"),d(),u("ngIf",n.loaderTemplate||n._loaderTemplate)("ngIfElse",e)}}function iY(t,i){if(t&1){let e=U();se(0),h(1,"div",7,1),R("scroll",function(o){D(e);let r=m();return O(r.onContainerScroll(o))}),_(3,UQ,2,5,"ng-container",6)(4,qQ,3,7,"ng-template",null,2,we)(6,KQ,1,2,"div",8)(7,nY,4,6,"div",9),f(),ae()}if(t&2){let e=ge(5),n=m();d(),re(n._styleClass),u("ngStyle",n._style)("ngClass",eo(12,LQ,n.inline,n.both,n.horizontal)),N("id",n._id)("tabindex",n.tabindex)("data-pc-name","scroller")("data-pc-section","root"),d(2),u("ngIf",n.contentTemplate||n._contentTemplate)("ngIfElse",e),d(3),u("ngIf",n._showSpacer),d(),u("ngIf",!n.loaderDisabled&&n._showLoader&&n.d_loading)}}function oY(t,i){t&1&&le(0)}function rY(t,i){if(t&1&&(se(0),_(1,oY,1,0,"ng-container",10),ae()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",Ge(5,b1,e.items,Ge(2,HQ,e._items,e.loadedColumns)))}}function sY(t,i){if(t&1&&(Ae(0),_(1,rY,2,8,"ng-container",17)),t&2){let e=m();d(),u("ngIf",e.contentTemplate||e._contentTemplate)}}var aY=({dt:t})=>` .p-virtualscroller { position: relative; overflow: auto; contain: strict; transform: translateZ(0); will-change: scroll-position; outline: 0 none; } .p-virtualscroller-content { position: absolute; top: 0; left: 0; min-height: 100%; min-width: 100%; will-change: transform; } .p-virtualscroller-spacer { position: absolute; top: 0; left: 0; height: 1px; width: 1px; transform-origin: 0 0; pointer-events: none; } .p-virtualscroller-loader { position: sticky; top: 0; left: 0; width: 100%; height: 100%; background: ${t("virtualscroller.loader.mask.background")}; color: ${t("virtualscroller.loader.mask.color")}; } .p-virtualscroller-loader-mask { display: flex; align-items: center; justify-content: center; } .p-virtualscroller-loading-icon { font-size: ${t("virtualscroller.loader.icon.size")}; width: ${t("virtualscroller.loader.icon.size")}; height: ${t("virtualscroller.loader.icon.size")}; } .p-virtualscroller-horizontal > .p-virtualscroller-content { display: flex; } .p-virtualscroller-inline .p-virtualscroller-content { position: static; } `,OR=(()=>{class t extends nt{name="virtualscroller";theme=aY;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Zl=(()=>{class t extends Ue{zone;get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&typeof e=="object"&&Object.entries(e).forEach(([n,o])=>this[`_${n}`]!==o&&(this[`_${n}`]=o))}onLazyLoad=new F;onScroll=new F;onScrollIndexChange=new F;elementViewChild;contentViewChild;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;templates;_contentTemplate;_itemTemplate;_loaderTemplate;_loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}_componentStyle=C(OR);constructor(e){super(),this.zone=e}ngOnInit(){super.ngOnInit(),this.setInitialState()}ngOnChanges(e){super.ngOnChanges(e);let n=!1;if(e.loading){let{previousValue:o,currentValue:r}=e.loading;this.lazy&&o!==r&&r!==this.d_loading&&(this.d_loading=r,n=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){let{previousValue:o,currentValue:r}=e.numToleratedItems;o!==r&&r!==this.d_numToleratedItems&&(this.d_numToleratedItems=r)}if(e.options){let{previousValue:o,currentValue:r}=e.options;this.lazy&&o?.loading!==r?.loading&&r?.loading!==this.d_loading&&(this.d_loading=r.loading,n=!0),o?.numToleratedItems!==r?.numToleratedItems&&r?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=r.numToleratedItems)}this.initialized&&!n&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"item":this._itemTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"loadericon":this._loaderIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}ngAfterViewInit(){super.ngAfterViewInit(),Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1,super.ngOnDestroy()}viewInit(){We(this.platformId)&&!this.initialized&&jv(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=Wn(this.elementViewChild?.nativeElement),this.defaultHeight=Do(this.elementViewChild?.nativeElement),this.defaultContentWidth=Wn(this.contentEl),this.defaultContentHeight=Do(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||jt(this.elementViewChild?.nativeElement,".p-virtualscroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(e){return this._step?this.page!==this.getPageByFirst(e??this.first):!0}scrollTo(e){this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,n="auto"){if(this.both?e.every(r=>r>-1):e>-1){let r=this.first,{scrollTop:s=0,scrollLeft:a=0}=this.elementViewChild?.nativeElement,{numToleratedItems:l}=this.calculateNumItems(),c=this.getContentPosition(),p=this.itemSize,g=(q=0,ie)=>q<=ie?0:q,v=(q,ie,Oe)=>q*ie+Oe,y=(q=0,ie=0)=>this.scrollTo({left:q,top:ie,behavior:n}),x=this.both?{rows:0,cols:0}:0,P=!1,j=!1;this.both?(x={rows:g(e[0],l[0]),cols:g(e[1],l[1])},y(v(x.cols,p[1],c.left),v(x.rows,p[0],c.top)),j=this.lastScrollPos.top!==s||this.lastScrollPos.left!==a,P=x.rows!==r.rows||x.cols!==r.cols):(x=g(e,l),this.horizontal?y(v(x,p,c.left),s):y(a,v(x,p,c.top)),j=this.lastScrollPos!==(this.horizontal?a:s),P=x!==r),this.isRangeChanged=P,j&&(this.first=x)}}scrollInView(e,n,o="auto"){if(n){let{first:r,viewport:s}=this.getRenderedRange(),a=(p=0,g=0)=>this.scrollTo({left:p,top:g,behavior:o}),l=n==="to-start",c=n==="to-end";if(l){if(this.both)s.first.rows-r.rows>e[0]?a(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-r.cols>e[1]&&a((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-r>e){let p=(s.first-1)*this._itemSize;this.horizontal?a(p,0):a(0,p)}}else if(c){if(this.both)s.last.rows-r.rows<=e[0]+1?a(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-r.cols<=e[1]+1&&a((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-r<=e+1){let p=(s.first+1)*this._itemSize;this.horizontal?a(p,0):a(0,p)}}}else this.scrollToIndex(e,o)}getRenderedRange(){let e=(r,s)=>s||r?Math.floor(r/(s||r)):0,n=this.first,o=0;if(this.elementViewChild?.nativeElement){let{scrollTop:r,scrollLeft:s}=this.elementViewChild.nativeElement;if(this.both)n={rows:e(r,this._itemSize[0]),cols:e(s,this._itemSize[1])},o={rows:n.rows+this.numItemsInViewport.rows,cols:n.cols+this.numItemsInViewport.cols};else{let a=this.horizontal?s:r;n=e(a,this._itemSize),o=n+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:n,last:o}}}calculateNumItems(){let e=this.getContentPosition(),n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0)||0,o=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0)||0,r=(c,p)=>p||c?Math.ceil(c/(p||c)):0,s=c=>Math.ceil(c/2),a=this.both?{rows:r(o,this._itemSize[0]),cols:r(n,this._itemSize[1])}:r(this.horizontal?n:o,this._itemSize),l=this.d_numToleratedItems||(this.both?[s(a.rows),s(a.cols)]:s(a));return{numItemsInViewport:a,numToleratedItems:l}}calculateOptions(){let{numItemsInViewport:e,numToleratedItems:n}=this.calculateNumItems(),o=(a,l,c,p=!1)=>this.getLast(a+l+(aArray.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:r.cols}:0:r,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[e,n]=[Wn(this.contentEl),Do(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),n!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[o,r]=[Wn(this.elementViewChild.nativeElement),Do(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=othis.elementViewChild.nativeElement.style[s]=a;this.both||this.horizontal?(r("height",o),r("width",n)):r("height",o)}}setSpacerSize(){if(this._items){let e=this.getContentPosition(),n=(o,r,s,a=0)=>this.spacerStyle=Ce(k({},this.spacerStyle),{[`${o}`]:(r||[]).length*s+a+"px"});this.both?(n("height",this._items,this._itemSize[0],e.y),n("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?n("width",this._columns||this._items,this._itemSize,e.x):n("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){let n=e?e.first:this.first,o=(s,a)=>s*a,r=(s=0,a=0)=>this.contentStyle=Ce(k({},this.contentStyle),{transform:`translate3d(${s}px, ${a}px, 0)`});if(this.both)r(o(n.cols,this._itemSize[1]),o(n.rows,this._itemSize[0]));else{let s=o(n,this._itemSize);this.horizontal?r(s,0):r(0,s)}}}onScrollPositionChange(e){let n=e.target,o=this.getContentPosition(),r=(j,q)=>j?j>q?j-q:j:0,s=(j,q)=>q||j?Math.floor(j/(q||j)):0,a=(j,q,ie,Oe,it,Nt)=>j<=it?it:Nt?ie-Oe-it:q+it-1,l=(j,q,ie,Oe,it,Nt,vn)=>j<=Nt?0:Math.max(0,vn?jq?ie:j-2*Nt),c=(j,q,ie,Oe,it,Nt=!1)=>{let vn=q+Oe+2*it;return j>=it&&(vn+=it+1),this.getLast(vn,Nt)},p=r(n.scrollTop,o.top),g=r(n.scrollLeft,o.left),v=this.both?{rows:0,cols:0}:0,y=this.last,x=!1,P=this.lastScrollPos;if(this.both){let j=this.lastScrollPos.top<=p,q=this.lastScrollPos.left<=g;if(!this._appendOnly||this._appendOnly&&(j||q)){let ie={rows:s(p,this._itemSize[0]),cols:s(g,this._itemSize[1])},Oe={rows:a(ie.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],j),cols:a(ie.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],q)};v={rows:l(ie.rows,Oe.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],j),cols:l(ie.cols,Oe.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],q)},y={rows:c(ie.rows,v.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(ie.cols,v.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},x=v.rows!==this.first.rows||y.rows!==this.last.rows||v.cols!==this.first.cols||y.cols!==this.last.cols||this.isRangeChanged,P={top:p,left:g}}}else{let j=this.horizontal?g:p,q=this.lastScrollPos<=j;if(!this._appendOnly||this._appendOnly&&q){let ie=s(j,this._itemSize),Oe=a(ie,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,q);v=l(ie,Oe,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,q),y=c(ie,v,this.last,this.numItemsInViewport,this.d_numToleratedItems),x=v!==this.first||y!==this.last||this.isRangeChanged,P=j}}return{first:v,last:y,isRangeChanged:x,scrollPos:P}}onScrollChange(e){let{first:n,last:o,isRangeChanged:r,scrollPos:s}=this.onScrollPositionChange(e);if(r){let a={first:n,last:o};if(this.setContentPosition(a),this.first=n,this.last=o,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged(n)){let l={first:this._step?Math.min(this.getPageByFirst(n)*this._step,this.items.length-this._step):n,last:Math.min(this._step?(this.getPageByFirst(n)+1)*this._step:o,this.items.length)};(this.lazyLoadState.first!==l.first||this.lazyLoadState.last!==l.last)&&this.handleEvents("onLazyLoad",l),this.lazyLoadState=l}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){let{isRangeChanged:n}=this.onScrollPositionChange(e);(n||(this._step?this.isPageChanged():!1))&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst()),this.cd.detectChanges()},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){We(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let e=this.document.defaultView,n=Ns()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(e,n,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(jv(this.elementViewChild?.nativeElement)){let[e,n]=[Wn(this.elementViewChild?.nativeElement),Do(this.elementViewChild?.nativeElement)],[o,r]=[e!==this.defaultWidth,n!==this.defaultHeight];(this.both?o||r:this.horizontal?o:this.vertical?r:!1)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=n,this.defaultContentWidth=Wn(this.contentEl),this.defaultContentHeight=Do(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,n){return this.options&&this.options[e]?this.options[e](n):this[e].emit(n)}getContentOptions(){return{contentStyleClass:`p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,n)=>this.getLoaderOptions(e,n),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){let n=(this._items||[]).length,o=this.both?this.first.rows+e:this.first+e;return{index:o,count:n,first:o===0,last:o===n-1,even:o%2===0,odd:o%2!==0}}getLoaderOptions(e,n){let o=this.loaderArr.length;return k({index:e,count:o,first:e===0,last:e===o-1,even:e%2===0,odd:e%2!==0},n)}static \u0275fac=function(n){return new(n||t)(b(ue))};static \u0275cmp=A({type:t,selectors:[["p-scroller"],["p-virtualscroller"],["p-virtual-scroller"],["p-virtualScroller"]],contentQueries:function(n,o,r){if(n&1&&(he(r,DR,4),he(r,PQ,4),he(r,kQ,4),he(r,AQ,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.contentTemplate=s.first),G(s=W())&&(o.itemTemplate=s.first),G(s=W())&&(o.loaderTemplate=s.first),G(s=W())&&(o.loaderIconTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(NQ,5),ve(DR,5)),n&2){let r;G(r=W())&&(o.elementViewChild=r.first),G(r=W())&&(o.contentViewChild=r.first)}},inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[fe([OR]),Z,Ke],ngContentSelectors:FQ,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-virtualscroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-virtualscroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-virtualscroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-virtualscroller-spacer",3,"ngStyle"],[1,"p-virtualscroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(n,o){if(n&1&&(Xe(),_(0,iY,8,16,"ng-container",6)(1,sY,2,1,"ng-template",null,0,we)),n&2){let r=ge(2);u("ngIf",!o._disabled)("ngIfElse",r)}},dependencies:[Se,_t,at,ee,vt,fn,Rf,Ye],encapsulation:2})}return t})(),_Oe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Zl,Ye,Ye]})}return t})();var lY=({dt:t})=>` .p-tooltip { position: absolute; display: none; max-width: ${t("tooltip.max.width")}; } .p-tooltip-right, .p-tooltip-left { padding: 0 ${t("tooltip.gutter")}; } .p-tooltip-top, .p-tooltip-bottom { padding: ${t("tooltip.gutter")} 0; } .p-tooltip-text { white-space: pre-line; word-break: break-word; background: ${t("tooltip.background")}; color: ${t("tooltip.color")}; padding: ${t("tooltip.padding")}; box-shadow: ${t("tooltip.shadow")}; border-radius: ${t("tooltip.border.radius")}; } .p-tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; scale: 2; } .p-tooltip-right .p-tooltip-arrow { top: 50%; left: 0; margin-top: calc(-1 * ${t("tooltip.gutter")}); border-width: ${t("tooltip.gutter")} ${t("tooltip.gutter")} ${t("tooltip.gutter")} 0; border-right-color: ${t("tooltip.background")}; } .p-tooltip-left .p-tooltip-arrow { top: 50%; right: 0; margin-top: calc(-1 * ${t("tooltip.gutter")}); border-width: ${t("tooltip.gutter")} 0 ${t("tooltip.gutter")} ${t("tooltip.gutter")}; border-left-color: ${t("tooltip.background")}; } .p-tooltip-top .p-tooltip-arrow { bottom: 0; left: 50%; margin-left: calc(-1 * ${t("tooltip.gutter")}); border-width: ${t("tooltip.gutter")} ${t("tooltip.gutter")} 0 ${t("tooltip.gutter")}; border-top-color: ${t("tooltip.background")}; border-bottom-color: ${t("tooltip.background")}; } .p-tooltip-bottom .p-tooltip-arrow { top: 0; left: 50%; margin-left: calc(-1 * ${t("tooltip.gutter")}); border-width: 0 ${t("tooltip.gutter")} ${t("tooltip.gutter")} ${t("tooltip.gutter")}; border-top-color: ${t("tooltip.background")}; border-bottom-color: ${t("tooltip.background")}; } `,cY={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},RR=(()=>{class t extends nt{name="tooltip";theme=lY;classes=cY;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var Jl=(()=>{class t extends Ue{zone;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:Gt("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=C(RR);interactionInProgress=!1;constructor(e,n){super(),this.zone=e,this.viewContainer=n}ngAfterViewInit(){super.ngAfterViewInit(),We(this.platformId)&&this.zone.runOutsideAngular(()=>{let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener)),e==="focus"||e==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let n=this.el.nativeElement.querySelector(".p-component");n||(n=this.getTarget(this.el.nativeElement)),n.addEventListener("focus",this.focusListener),n.addEventListener("blur",this.blurListener)}})}ngOnChanges(e){super.ngOnChanges(e),e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.content&&(this.setOption({tooltipLabel:e.content.currentValue}),this.active&&(e.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.id&&this.setOption({id:e.id.currentValue}),e.tooltipOptions&&(this._tooltipOptions=k(k({},this._tooltipOptions),e.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){this.isAutoHide()?this.deactivate():!(ki(e.relatedTarget,"p-tooltip")||ki(e.relatedTarget,"p-tooltip-text")||ki(e.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(!this.interactionInProgress){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?ad(this.container,this.el.nativeElement):ad(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let e=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(e,"mouseleave",n=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),UD(this.container,250),this.getOption("tooltipZIndex")==="auto"?uo.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&uo.clear(this.container),this.remove()}updateText(){let e=this.getOption("tooltipLabel");if(e instanceof Tt){let n=this.viewContainer.createEmbeddedView(e);n.detectChanges(),n.rootNodes.forEach(o=>this.tooltipText.appendChild(o))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(e))):this.tooltipText.innerHTML=e}align(){let e=this.getOption("tooltipPosition"),n={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]};for(let[o,r]of n[e].entries())if(o===0)r.call(this);else if(this.isOutOfBounds())r.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let e=this.el.nativeElement.getBoundingClientRect(),n=e.left+Lv(),o=e.top+Vv();return{left:n,top:o}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.includes("P-")?jt(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let e=this.activeElement,n=Un(e),o=(Gn(e)-Gn(this.container))/2;this.alignTooltip(n,o)}alignLeft(){this.preAlign("left");let e=Un(this.container),n=(Gn(this.el.nativeElement)-Gn(this.container))/2;this.alignTooltip(-e,n)}alignTop(){this.preAlign("top");let e=(Un(this.el.nativeElement)-Un(this.container))/2,n=Gn(this.container);this.alignTooltip(e,-n)}alignBottom(){this.preAlign("bottom");let e=(Un(this.el.nativeElement)-Un(this.container))/2,n=Gn(this.el.nativeElement);this.alignTooltip(e,n)}alignTooltip(e,n){let o=this.getHostOffset(),r=o.left+e,s=o.top+n;this.container.style.left=r+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions=k(k({},this._tooltipOptions),e)}getOption(e){return this._tooltipOptions[e]}getTarget(e){return ki(e,"p-inputwrapper")?jt(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px";let n="p-tooltip p-component p-tooltip-"+e;this.container.className=this.getOption("tooltipStyleClass")?n+" "+this.getOption("tooltipStyleClass"):n}isOutOfBounds(){let e=this.container.getBoundingClientRect(),n=e.top,o=e.left,r=Un(this.container),s=Gn(this.container),a=As();return o+r>a.width||o<0||n<0||n+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new bl(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)),e==="focus"||e==="both"){let n=this.el.nativeElement.querySelector(".p-component");n||(n=this.getTarget(this.el.nativeElement)),n.removeEventListener("focus",this.focusListener),n.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):QD(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),super.ngOnDestroy(),this.container&&uo.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(n){return new(n||t)(b(ue),b(cn))};static \u0275dir=te({type:t,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",H],showDelay:[2,"showDelay","showDelay",ot],hideDelay:[2,"hideDelay","hideDelay",ot],life:[2,"life","life",ot],positionTop:[2,"positionTop","positionTop",ot],positionLeft:[2,"positionLeft","positionLeft",ot],autoHide:[2,"autoHide","autoHide",H],fitContent:[2,"fitContent","fitContent",H],hideOnEscape:[2,"hideOnEscape","hideOnEscape",H],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[fe([RR]),Z,Ke]})}return t})(),eu=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({})}return t})();var tu=t=>({height:t}),dY=(t,i,e)=>({"p-select-option":!0,"p-select-option-selected":t,"p-disabled":i,"p-focus":e}),C1=t=>({$implicit:t});function uY(t,i){t&1&&w(0,"CheckIcon",5)}function pY(t,i){t&1&&w(0,"BlankIcon",6)}function hY(t,i){if(t&1&&(se(0),_(1,uY,1,0,"CheckIcon",3)(2,pY,1,0,"BlankIcon",4),ae()),t&2){let e=m();d(),u("ngIf",e.selected),d(),u("ngIf",!e.selected)}}function fY(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e,n=m();d(),B((e=n.label)!==null&&e!==void 0?e:"empty")}}function mY(t,i){t&1&&le(0)}var gY=["item"],_Y=["group"],yY=["loader"],vY=["selectedItem"],bY=["header"],kR=["filter"],CY=["footer"],wY=["emptyfilter"],xY=["empty"],EY=["dropdownicon"],IY=["loadingicon"],SY=["clearicon"],TY=["filtericon"],DY=["onicon"],OY=["officon"],MY=["cancelicon"],RY=["focusInput"],PY=["editableInput"],kY=["items"],AY=["scroller"],NY=["overlay"],FY=["firstHiddenFocusableEl"],LY=["lastHiddenFocusableEl"],VY=()=>({class:"p-select-clear-icon"}),BY=()=>({class:"p-select-dropdown-icon"}),NR=t=>({options:t}),FR=(t,i)=>({$implicit:t,options:i}),jY=()=>({});function $Y(t,i){if(t&1&&(se(0),E(1),ae()),t&2){let e=m(2);d(),B(e.label()==="p-emptylabel"?"\xA0":e.label())}}function HY(t,i){if(t&1&&le(0,24),t&2){let e=m(2);u("ngTemplateOutlet",e.selectedItemTemplate||e._selectedItemTemplate)("ngTemplateOutletContext",ce(2,C1,e.selectedOption))}}function zY(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e=m(3);d(),B(e.label()==="p-emptylabel"?"\xA0":e.label())}}function UY(t,i){if(t&1&&_(0,zY,2,1,"span",18),t&2){let e=m(2);u("ngIf",!e.selectedOption)}}function GY(t,i){if(t&1){let e=U();h(0,"span",22,3),R("focus",function(o){D(e);let r=m();return O(r.onInputFocus(o))})("blur",function(o){D(e);let r=m();return O(r.onInputBlur(o))})("keydown",function(o){D(e);let r=m();return O(r.onKeyDown(o))}),_(2,$Y,2,1,"ng-container",20)(3,HY,1,4,"ng-container",23)(4,UY,1,1,"ng-template",null,4,we),f()}if(t&2){let e,n=ge(5),o=m();u("ngClass",o.inputClass)("pTooltip",o.tooltip)("tooltipPosition",o.tooltipPosition)("positionStyle",o.tooltipPositionStyle)("tooltipStyleClass",o.tooltipStyleClass)("pAutoFocus",o.autofocus),N("aria-disabled",o.disabled)("id",o.inputId)("aria-label",o.ariaLabel||(o.label()==="p-emptylabel"?void 0:o.label()))("aria-labelledby",o.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",(e=o.overlayVisible)!==null&&e!==void 0?e:!1)("aria-controls",o.overlayVisible?o.id+"_list":null)("tabindex",o.disabled?-1:o.tabindex)("aria-activedescendant",o.focused?o.focusedOptionId:void 0)("aria-required",o.required)("required",o.required),d(2),u("ngIf",!o.selectedItemTemplate&&!o._selectedItemTemplate)("ngIfElse",n),d(),u("ngIf",(o.selectedItemTemplate||o._selectedItemTemplate)&&o.selectedOption)}}function WY(t,i){if(t&1){let e=U();h(0,"input",25,5),R("input",function(o){D(e);let r=m();return O(r.onEditableInput(o))})("keydown",function(o){D(e);let r=m();return O(r.onKeyDown(o))})("focus",function(o){D(e);let r=m();return O(r.onInputFocus(o))})("blur",function(o){D(e);let r=m();return O(r.onInputBlur(o))}),f()}if(t&2){let e=m();u("ngClass",e.inputClass)("disabled",e.disabled)("pAutoFocus",e.autofocus),N("id",e.inputId)("maxlength",e.maxlength)("placeholder",e.modelValue()===void 0||e.modelValue()===null?e.placeholder():void 0)("aria-label",e.ariaLabel||(e.label()==="p-emptylabel"?void 0:e.label()))("aria-activedescendant",e.focused?e.focusedOptionId:void 0)}}function qY(t,i){if(t&1){let e=U();h(0,"TimesIcon",27),R("click",function(o){D(e);let r=m(2);return O(r.clear(o))}),f()}t&2&&N("data-pc-section","clearicon")}function KY(t,i){}function QY(t,i){t&1&&_(0,KY,0,0,"ng-template")}function YY(t,i){if(t&1){let e=U();h(0,"span",27),R("click",function(o){D(e);let r=m(2);return O(r.clear(o))}),_(1,QY,1,0,null,28),f()}if(t&2){let e=m(2);N("data-pc-section","clearicon"),d(),u("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)("ngTemplateOutletContext",Ht(3,VY))}}function ZY(t,i){if(t&1&&(se(0),_(1,qY,1,1,"TimesIcon",26)(2,YY,2,4,"span",26),ae()),t&2){let e=m();d(),u("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),d(),u("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function JY(t,i){t&1&&le(0)}function XY(t,i){if(t&1&&(se(0),_(1,JY,1,0,"ng-container",29),ae()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function eZ(t,i){if(t&1&&w(0,"span",32),t&2){let e=m(3);u("ngClass","p-select-loading-icon pi-spin "+e.loadingIcon)}}function tZ(t,i){t&1&&w(0,"span",33),t&2&&re("p-select-loading-icon pi pi-spinner pi-spin")}function nZ(t,i){if(t&1&&(se(0),_(1,eZ,1,1,"span",30)(2,tZ,1,2,"span",31),ae()),t&2){let e=m(2);d(),u("ngIf",e.loadingIcon),d(),u("ngIf",!e.loadingIcon)}}function iZ(t,i){if(t&1&&(se(0),_(1,XY,2,1,"ng-container",18)(2,nZ,3,2,"ng-container",18),ae()),t&2){let e=m();d(),u("ngIf",e.loadingIconTemplate||e._loadingIconTemplate),d(),u("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate)}}function oZ(t,i){if(t&1&&w(0,"span",37),t&2){let e=m(3);u("ngClass",e.dropdownIcon)}}function rZ(t,i){t&1&&w(0,"ChevronDownIcon",38),t&2&&u("styleClass","p-select-dropdown-icon")}function sZ(t,i){if(t&1&&(se(0),_(1,oZ,1,1,"span",35)(2,rZ,1,1,"ChevronDownIcon",36),ae()),t&2){let e=m(2);d(),u("ngIf",e.dropdownIcon),d(),u("ngIf",!e.dropdownIcon)}}function aZ(t,i){}function lZ(t,i){t&1&&_(0,aZ,0,0,"ng-template")}function cZ(t,i){if(t&1&&(h(0,"span",39),_(1,lZ,1,0,null,28),f()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)("ngTemplateOutletContext",Ht(2,BY))}}function dZ(t,i){if(t&1&&_(0,sZ,3,2,"ng-container",18)(1,cZ,2,3,"span",34),t&2){let e=m();u("ngIf",!e.dropdownIconTemplate&&!e._dropdownIconTemplate),d(),u("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function uZ(t,i){t&1&&le(0)}function pZ(t,i){t&1&&le(0)}function hZ(t,i){if(t&1&&(se(0),_(1,pZ,1,0,"ng-container",28),ae()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.filterTemplate||e._filterTemplate)("ngTemplateOutletContext",ce(2,NR,e.filterOptions))}}function fZ(t,i){t&1&&w(0,"SearchIcon")}function mZ(t,i){}function gZ(t,i){t&1&&_(0,mZ,0,0,"ng-template")}function _Z(t,i){if(t&1&&(h(0,"span"),_(1,gZ,1,0,null,29),f()),t&2){let e=m(4);d(),u("ngTemplateOutlet",e.filterIconTemplate||e._filterIconTemplate)}}function yZ(t,i){if(t&1){let e=U();h(0,"p-iconfield")(1,"input",46,10),R("input",function(o){D(e);let r=m(3);return O(r.onFilterInputChange(o))})("keydown",function(o){D(e);let r=m(3);return O(r.onFilterKeyDown(o))})("blur",function(o){D(e);let r=m(3);return O(r.onFilterBlur(o))}),f(),h(3,"p-inputicon"),_(4,fZ,1,0,"SearchIcon",18)(5,_Z,2,1,"span",18),f()()}if(t&2){let e=m(3);d(),u("pSize",e.size)("value",e._filterValue()||"")("variant",e.variant),N("placeholder",e.filterPlaceholder)("aria-owns",e.id+"_list")("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.focusedOptionId),d(3),u("ngIf",!e.filterIconTemplate&&!e._filterIconTemplate),d(),u("ngIf",e.filterIconTemplate||e._filterIconTemplate)}}function vZ(t,i){if(t&1){let e=U();h(0,"div",45),R("click",function(o){return D(e),O(o.stopPropagation())}),_(1,hZ,2,4,"ng-container",20)(2,yZ,6,9,"ng-template",null,9,we),f()}if(t&2){let e=ge(3),n=m(2);d(),u("ngIf",n.filterTemplate||n._filterTemplate)("ngIfElse",e)}}function bZ(t,i){t&1&&le(0)}function CZ(t,i){if(t&1&&_(0,bZ,1,0,"ng-container",28),t&2){let e=i.$implicit,n=i.options;m(2);let o=ge(9);u("ngTemplateOutlet",o)("ngTemplateOutletContext",Ge(2,FR,e,n))}}function wZ(t,i){t&1&&le(0)}function xZ(t,i){if(t&1&&_(0,wZ,1,0,"ng-container",28),t&2){let e=i.options,n=m(4);u("ngTemplateOutlet",n.loaderTemplate||n._loaderTemplate)("ngTemplateOutletContext",ce(2,NR,e))}}function EZ(t,i){t&1&&(se(0),_(1,xZ,1,4,"ng-template",null,12,we),ae())}function IZ(t,i){if(t&1){let e=U();h(0,"p-scroller",47,11),R("onLazyLoad",function(o){D(e);let r=m(2);return O(r.onLazyLoad.emit(o))}),_(2,CZ,1,5,"ng-template",null,2,we)(4,EZ,3,0,"ng-container",18),f()}if(t&2){let e=m(2);li(ce(8,tu,e.scrollHeight)),u("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),d(4),u("ngIf",e.loaderTemplate||e._loaderTemplate)}}function SZ(t,i){t&1&&le(0)}function TZ(t,i){if(t&1&&(se(0),_(1,SZ,1,0,"ng-container",28),ae()),t&2){m();let e=ge(9),n=m();d(),u("ngTemplateOutlet",e)("ngTemplateOutletContext",Ge(3,FR,n.visibleOptions(),Ht(2,jY)))}}function DZ(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e=m(2).$implicit,n=m(3);d(),B(n.getOptionGroupLabel(e.optionGroup))}}function OZ(t,i){t&1&&le(0)}function MZ(t,i){if(t&1&&(se(0),h(1,"li",51),_(2,DZ,2,1,"span",18)(3,OZ,1,0,"ng-container",28),f(),ae()),t&2){let e=m(),n=e.$implicit,o=e.index,r=m().options,s=m(2);d(),u("ngStyle",ce(5,tu,r.itemSize+"px")),N("id",s.id+"_"+s.getOptionIndex(o,r)),d(),u("ngIf",!s.groupTemplate&&!s._groupTemplate),d(),u("ngTemplateOutlet",s.groupTemplate||s._groupTemplate)("ngTemplateOutletContext",ce(7,C1,n.optionGroup))}}function RZ(t,i){if(t&1){let e=U();se(0),h(1,"p-selectItem",52),R("onClick",function(o){D(e);let r=m().$implicit,s=m(3);return O(s.onOptionSelect(o,r))})("onMouseEnter",function(o){D(e);let r=m().index,s=m().options,a=m(2);return O(a.onOptionMouseEnter(o,a.getOptionIndex(r,s)))}),f(),ae()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m().options,s=m(2);d(),u("id",s.id+"_"+s.getOptionIndex(o,r))("option",n)("checkmark",s.checkmark)("selected",s.isSelected(n))("label",s.getOptionLabel(n))("disabled",s.isOptionDisabled(n))("template",s.itemTemplate||s._itemTemplate)("focused",s.focusedOptionIndex()===s.getOptionIndex(o,r))("ariaPosInset",s.getAriaPosInset(s.getOptionIndex(o,r)))("ariaSetSize",s.ariaSetSize)}}function PZ(t,i){if(t&1&&_(0,MZ,4,9,"ng-container",18)(1,RZ,2,10,"ng-container",18),t&2){let e=i.$implicit,n=m(3);u("ngIf",n.isOptionGroup(e)),d(),u("ngIf",!n.isOptionGroup(e))}}function kZ(t,i){if(t&1&&E(0),t&2){let e=m(4);oe(" ",e.emptyFilterMessageLabel," ")}}function AZ(t,i){t&1&&le(0,null,14)}function NZ(t,i){if(t&1&&_(0,AZ,2,0,"ng-container",29),t&2){let e=m(4);u("ngTemplateOutlet",e.emptyFilterTemplate||e._emptyFilterTemplate||e.emptyTemplate||e._emptyTemplate)}}function FZ(t,i){if(t&1&&(h(0,"li",53),_(1,kZ,1,1)(2,NZ,1,1,"ng-container"),f()),t&2){let e=m().options,n=m(2);u("ngStyle",ce(2,tu,e.itemSize+"px")),d(),ci(!n.emptyFilterTemplate&&!n._emptyFilterTemplate&&!n.emptyTemplate?1:2)}}function LZ(t,i){if(t&1&&E(0),t&2){let e=m(4);oe(" ",e.emptyMessageLabel," ")}}function VZ(t,i){t&1&&le(0,null,15)}function BZ(t,i){if(t&1&&_(0,VZ,2,0,"ng-container",29),t&2){let e=m(4);u("ngTemplateOutlet",e.emptyTemplate||e._emptyTemplate)}}function jZ(t,i){if(t&1&&(h(0,"li",53),_(1,LZ,1,1)(2,BZ,1,1,"ng-container"),f()),t&2){let e=m().options,n=m(2);u("ngStyle",ce(2,tu,e.itemSize+"px")),d(),ci(!n.emptyTemplate&&!n._emptyTemplate?1:2)}}function $Z(t,i){if(t&1&&(h(0,"ul",48,13),_(2,PZ,2,2,"ng-template",49)(3,FZ,3,4,"li",50)(4,jZ,3,4,"li",50),f()),t&2){let e=i.$implicit,n=i.options,o=m(2);li(n.contentStyle),u("ngClass",n.contentStyleClass),N("id",o.id+"_list")("aria-label",o.listLabel),d(2),u("ngForOf",e),d(),u("ngIf",o.filterValue&&o.isEmpty()),d(),u("ngIf",!o.filterValue&&o.isEmpty())}}function HZ(t,i){t&1&&le(0)}function zZ(t,i){if(t&1){let e=U();h(0,"div",40)(1,"span",41,6),R("focus",function(o){D(e);let r=m();return O(r.onFirstHiddenFocus(o))}),f(),_(3,uZ,1,0,"ng-container",29)(4,vZ,4,2,"div",42),h(5,"div",43),_(6,IZ,5,10,"p-scroller",44)(7,TZ,2,6,"ng-container",18)(8,$Z,5,8,"ng-template",null,7,we),f(),_(10,HZ,1,0,"ng-container",29),h(11,"span",41,8),R("focus",function(o){D(e);let r=m();return O(r.onLastHiddenFocus(o))}),f()()}if(t&2){let e=m();re(e.panelStyleClass),u("ngClass","p-select-overlay p-component")("ngStyle",e.panelStyle),d(),N("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),d(2),u("ngTemplateOutlet",e.headerTemplate||e._headerTemplate),d(),u("ngIf",e.filter),d(),Yt("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),d(),u("ngIf",e.virtualScroll),d(),u("ngIf",!e.virtualScroll),d(3),u("ngTemplateOutlet",e.footerTemplate||e._footerTemplate),d(),N("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var UZ=({dt:t})=>` .p-select { display: inline-flex; cursor: pointer; position: relative; user-select: none; background: ${t("select.background")}; border: 1px solid ${t("select.border.color")}; transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")}, outline-color ${t("select.transition.duration")}, box-shadow ${t("select.transition.duration")}; border-radius: ${t("select.border.radius")}; outline-color: transparent; box-shadow: ${t("select.shadow")}; } .p-select.ng-invalid.ng-dirty { border-color: ${t("select.invalid.border.color")}; } .p-select:not(.p-disabled):hover { border-color: ${t("select.hover.border.color")}; } .p-select:not(.p-disabled).p-focus { border-color: ${t("select.focus.border.color")}; box-shadow: ${t("select.focus.ring.shadow")}; outline: ${t("select.focus.ring.width")} ${t("select.focus.ring.style")} ${t("select.focus.ring.color")}; outline-offset: ${t("select.focus.ring.offset")}; } .p-select.p-variant-filled { background: ${t("select.filled.background")}; } .p-select.p-variant-filled:not(.p-disabled):hover { background: ${t("select.filled.hover.background")}; } .p-select.p-variant-filled.p-focus { background: ${t("select.filled.focus.background")}; } .p-select.p-disabled { opacity: 1; background: ${t("select.disabled.background")}; } .p-select-clear-icon { position: absolute; top: 50%; margin-top: -0.5rem; color: ${t("select.clear.icon.color")}; inset-inline-end: ${t("select.dropdown.width")}; } .p-select-dropdown { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: ${t("select.dropdown.color")}; width: ${t("select.dropdown.width")}; border-start-end-radius: ${t("select.border.radius")}; border-end-end-radius: ${t("select.border.radius")}; } .p-select-label { display: block; white-space: nowrap; overflow: hidden; flex: 1 1 auto; width: 1%; padding: ${t("select.padding.y")} ${t("select.padding.x")}; text-overflow: ellipsis; cursor: pointer; color: ${t("select.color")}; background: transparent; border: 0 none; outline: 0 none; } .p-select-label.p-placeholder { color: ${t("select.placeholder.color")}; } .p-select.ng-invalid.ng-dirty .p-select-label.p-placeholder { color: ${t("select.invalid.placeholder.color")}; } .p-select:has(.p-select-clear-icon) .p-select-label { padding-inline-end: calc(1rem + ${t("select.padding.x")}); } .p-select.p-disabled .p-select-label { color: ${t("select.disabled.color")}; } .p-select-label-empty { overflow: hidden; opacity: 0; } input.p-select-label { cursor: default; } .p-select .p-select-overlay { min-width: 100%; } .p-select-overlay { cursor: default; background: ${t("select.overlay.background")}; color: ${t("select.overlay.color")}; border: 1px solid ${t("select.overlay.border.color")}; border-radius: ${t("select.overlay.border.radius")}; box-shadow: ${t("select.overlay.shadow")}; } .p-select-header { padding: ${t("select.list.header.padding")}; } .p-select-filter { width: 100%; } .p-select-list-container { overflow: auto; } .p-select-option-group { cursor: auto; margin: 0; padding: ${t("select.option.group.padding")}; background: ${t("select.option.group.background")}; color: ${t("select.option.group.color")}; font-weight: ${t("select.option.group.font.weight")}; } .p-select-list { margin: 0; padding: 0; list-style-type: none; padding: ${t("select.list.padding")}; gap: ${t("select.list.gap")}; display: flex; flex-direction: column; } .p-select-option { cursor: pointer; font-weight: normal; white-space: nowrap; position: relative; overflow: hidden; display: flex; align-items: center; padding: ${t("select.option.padding")}; border: 0 none; color: ${t("select.option.color")}; background: transparent; transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")}, box-shadow ${t("select.transition.duration")}, outline-color ${t("select.transition.duration")}; border-radius: ${t("select.option.border.radius")}; } .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { background: ${t("select.option.focus.background")}; color: ${t("select.option.focus.color")}; } .p-select-option.p-select-option-selected { background: ${t("select.option.selected.background")}; color: ${t("select.option.selected.color")}; } .p-select-option.p-select-option-selected.p-focus { background: ${t("select.option.selected.focus.background")}; color: ${t("select.option.selected.focus.color")}; } .p-select-option-check-icon { position: relative; margin-inline-start: ${t("select.checkmark.gutter.start")}; margin-inline-end: ${t("select.checkmark.gutter.end")}; color: ${t("select.checkmark.color")}; } .p-select-empty-message { padding: ${t("select.empty.message.padding")}; } .p-select-fluid { display: flex; } .p-select-sm .p-select-label { font-size: ${t("select.sm.font.size")}; padding-block: ${t("select.sm.padding.y")}; padding-inline: ${t("select.sm.padding.x")}; } .p-select-sm .p-select-dropdown .p-icon { font-size: ${t("select.sm.font.size")}; width: ${t("select.sm.font.size")}; height: ${t("select.sm.font.size")}; } .p-select-lg .p-select-label { font-size: ${t("select.lg.font.size")}; padding-block: ${t("select.lg.padding.y")}; padding-inline: ${t("select.lg.padding.x")}; } .p-select-lg .p-select-dropdown .p-icon { font-size: ${t("select.lg.font.size")}; width: ${t("select.lg.font.size")}; height: ${t("select.lg.font.size")}; } `,GZ={root:({instance:t})=>["p-select p-component p-inputwrapper",{"p-disabled":t.disabled,"p-variant-filled":t.variant==="filled"||t.config.inputVariant()==="filled"||t.config.inputStyle()==="filled","p-focus":t.focused,"p-inputwrapper-filled":t.modelValue()!==void 0&&t.modelValue()!==null,"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-select-open":t.overlayVisible,"p-select-fluid":t.hasFluid,"p-select-sm p-inputfield-sm":t.size==="small","p-select-lg p-inputfield-lg":t.size==="large"}],label:({instance:t,props:i})=>["p-select-label",{"p-placeholder":!i.editable&&t.label===i.placeholder,"p-select-label-empty":!i.editable&&!t.$slots.value&&(t.label==="p-emptylabel"||t.label.length===0)}],clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:({instance:t,props:i,state:e,option:n,focusedOption:o})=>["p-select-option",{"p-select-option-selected":t.isSelected(n)&&i.highlightOnSelect,"p-focus":e.focusedOptionIndex===o,"p-disabled":t.isOptionDisabled(n)}],optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},AR=(()=>{class t extends nt{name="select";theme=UZ;classes=GZ;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var WZ={provide:un,useExisting:st(()=>Gm),multi:!0},qZ=(()=>{class t extends Ue{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;checkmark;onClick=new F;onMouseEnter=new F;onOptionClick(e){this.onClick.emit(e)}onOptionMouseEnter(e){this.onMouseEnter.emit(e)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-selectItem"]],inputs:{id:"id",option:"option",selected:[2,"selected","selected",H],focused:[2,"focused","focused",H],label:"label",disabled:[2,"disabled","disabled",H],visible:[2,"visible","visible",H],itemSize:[2,"itemSize","itemSize",ot],ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkmark:[2,"checkmark","checkmark",H]},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},features:[Z],decls:4,vars:22,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["styleClass","p-select-option-check-icon",4,"ngIf"],["styleClass","p-select-option-blank-icon",4,"ngIf"],["styleClass","p-select-option-check-icon"],["styleClass","p-select-option-blank-icon"]],template:function(n,o){n&1&&(h(0,"li",0),R("click",function(s){return o.onOptionClick(s)})("mouseenter",function(s){return o.onOptionMouseEnter(s)}),_(1,hY,3,2,"ng-container",1)(2,fY,2,1,"span",1)(3,mY,1,0,"ng-container",2),f()),n&2&&(u("id",o.id)("ngStyle",ce(14,tu,o.itemSize+"px"))("ngClass",eo(16,dY,o.selected&&!o.checkmark,o.disabled,o.focused)),N("aria-label",o.label)("aria-setsize",o.ariaSetSize)("aria-posinset",o.ariaPosInset)("aria-selected",o.selected)("data-p-focused",o.focused)("data-p-highlight",o.selected)("data-p-disabled",o.disabled),d(),u("ngIf",o.checkmark),d(),u("ngIf",!o.template),d(),u("ngTemplateOutlet",o.template)("ngTemplateOutletContext",ce(20,C1,o.option)))},dependencies:[Se,_t,ee,vt,fn,Ye,co,fd,hd],encapsulation:2})}return t})(),Gm=(()=>{class t extends Ue{zone;filterService;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;set placeholder(e){this._placeholder.set(e)}get placeholder(){return this._placeholder.asReadonly()}loadingIcon;filterPlaceholder;filterLocale;variant;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;checkmark=!1;dropdownIcon;loading=!1;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;size;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!0;selectOnFocus=!1;autoOptionFocus=!1;autofocusFilter=!0;fluid;get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.log("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.log("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.log("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.log("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.log("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(e){setTimeout(()=>{this._filterValue.set(e)})}get options(){return this._options()}set options(e){dd(e,this._options())||this._options.set(e)}onChange=new F;onFilter=new F;onFocus=new F;onBlur=new F;onClick=new F;onShow=new F;onHide=new F;onClear=new F;onLazyLoad=new F;_componentStyle=C(AR);filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return this.fluid||!!n}get hostClass(){return this._componentStyle.classes.root({instance:this}).map(n=>typeof n=="string"?n:Object.keys(n).filter(o=>n[o]).join(" ")).join(" ")+" "+this.styleClass}get hostStyle(){return this.style}_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;loadingIconTemplate;clearIconTemplate;filterIconTemplate;onIconTemplate;offIconTemplate;cancelIconTemplate;templates;_itemTemplate;_selectedItemTemplate;_headerTemplate;_filterTemplate;_footerTemplate;_emptyFilterTemplate;_emptyTemplate;_groupTemplate;_loaderTemplate;_dropdownIconTemplate;_loadingIconTemplate;_clearIconTemplate;_filterIconTemplate;_cancelIconTemplate;_onIconTemplate;_offIconTemplate;filterOptions;_options=ht(null);_placeholder=ht(void 0);modelValue=ht(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=ht(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=ht(-1);labelId;listId;clicked=ht(!1);get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Mo.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Mo.EMPTY_FILTER_MESSAGE)}get isVisibleClearIcon(){return this.modelValue()!=null&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get listLabel(){return this.config.getTranslation(Mo.ARIA).listLabel}get rootClass(){return this._componentStyle.classes.root({instance:this})}get inputClass(){let e=this.label();return{"p-select-label":!0,"p-placeholder":this.placeholder()&&e===this.placeholder(),"p-select-label-empty":!this.editable&&!this.selectedItemTemplate&&(e==null||e==="p-emptylabel"||e.length===0)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":this.config.inputStyle()==="filled"||this.config.inputVariant()==="filled","p-ripple-disabled":this.config.ripple()===!1}}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}visibleOptions=pt(()=>{let e=this.getAllVisibleAndNonVisibleOptions();if(this._filterValue()){let o=!(this.filterBy||this.optionLabel)&&!this.filterFields&&!this.optionValue?this.options.filter(r=>r.label?r.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1:r.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1):this.filterService.filter(e,this.searchFields(),this._filterValue().trim(),this.filterMatchMode,this.filterLocale);if(this.group){let r=this.options||[],s=[];return r.forEach(a=>{let c=this.getOptionGroupChildren(a).filter(p=>o.includes(p));c.length>0&&s.push(Ce(k({},a),{[typeof this.optionGroupChildren=="string"?this.optionGroupChildren:"items"]:[...c]}))}),this.flatOptions(s)}return o}return e});label=pt(()=>{let e=this.getAllVisibleAndNonVisibleOptions(),n=e.findIndex(o=>this.isOptionValueEqualsModelValue(o));return n!==-1?this.getOptionLabel(e[n]):this.placeholder()||"p-emptylabel"});filled=pt(()=>typeof this.modelValue()=="string"?!!this.modelValue():this.label()!=="p-emptylabel"&&this.modelValue()!==void 0&&this.modelValue()!==null);selectedOption;editableInputValue=pt(()=>this.getOptionLabel(this.selectedOption)||this.modelValue()||"");constructor(e,n){super(),this.zone=e,this.filterService=n,pi(()=>{let o=this.modelValue(),r=this.visibleOptions();if(r&&dt(r)){let s=this.findSelectedOptionIndex();(s!==-1||o===void 0||typeof o=="string"&&o.length===0||this.isModelValueNotSet()||this.editable)&&(this.selectedOption=r[s])}Zt(r)&&(o===void 0||this.isModelValueNotSet())&&dt(this.selectedOption)&&(this.selectedOption=null),o!==void 0&&this.editable&&this.updateEditableLabel(),this.cd.markForCheck()})}isModelValueNotSet(){return this.modelValue()===null&&!this.isOptionValueEqualsModelValue(this.selectedOption)}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}ngOnInit(){super.ngOnInit(),this.id=this.id||Gt("pn_id_"),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this._itemTemplate=e.template;break;case"selectedItem":this._selectedItemTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"filter":this._filterTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"emptyfilter":this._emptyFilterTemplate=e.template;break;case"empty":this._emptyTemplate=e.template;break;case"group":this._groupTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"loadingicon":this._loadingIconTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"filtericon":this._filterIconTemplate=e.template;break;case"cancelicon":this._cancelIconTemplate=e.template;break;case"onicon":this._onIconTemplate=e.template;break;case"officon":this._offIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=jt(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-select-option-selected");e&&wf(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}flatOptions(e){return(e||[]).reduce((n,o,r)=>{n.push({optionGroup:o,group:!0,index:r});let s=this.getOptionGroupChildren(o);return s&&s.forEach(a=>n.push(a)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&(this.modelValue()===null||this.modelValue()===void 0)&&!this.placeholder()){let e=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[e],!1,!0)}}onOptionSelect(e,n,o=!0,r=!1){if(!this.isSelected(n)){let s=this.getOptionValue(n);this.updateModel(s,e),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),r===!1&&this.onChange.emit({originalEvent:e,value:s})}o&&this.hide(!0)}onOptionMouseEnter(e,n){this.focusOnHover&&this.changeFocusedOptionIndex(e,n)}updateModel(e,n){this.value=e,this.onModelChange(e),this.modelValue.set(e),this.selectedOptionUpdated=!0}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.allowModelChange()&&this.onModelChange(e),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return!!this.modelValue()&&!this.placeholder()&&(this.modelValue()===void 0||this.modelValue()===null)&&!this.editable&&this.options&&this.options.length}isSelected(e){return this.isValidOption(e)&&this.isOptionValueEqualsModelValue(e)}isOptionValueEqualsModelValue(e){return Oo(this.modelValue(),this.getOptionValue(e),this.equalityKey())}ngAfterViewInit(){super.ngAfterViewInit(),this.editable&&this.updateEditableLabel(),this.updatePlaceHolderForFloatingLabel()}updatePlaceHolderForFloatingLabel(){let e=this.el.nativeElement.parentElement,n=e?.classList.contains("p-float-label");if(e&&n&&!this.selectedOption){let o=e.querySelector("label");o&&this._placeholder.set(o.textContent)}}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=this.getOptionLabel(this.selectedOption)||this.modelValue()||"")}clearEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value="")}getOptionIndex(e,n){return this.virtualScrollerDisabled?e:n&&n.getItemOptions(e).index}getOptionLabel(e){return this.optionLabel!==void 0&&this.optionLabel!==null?Pn(e,this.optionLabel):e&&e.label!==void 0?e.label:e}getOptionValue(e){return this.optionValue&&this.optionValue!==null?Pn(e,this.optionValue):!this.optionLabel&&e&&e.value!==void 0?e.value:e}isOptionDisabled(e){return this.getOptionValue(this.modelValue())===this.getOptionValue(e)||this.getOptionLabel(this.modelValue()===this.getOptionLabel(e))&&e.disabled===!1?!1:this.optionDisabled?Pn(e,this.optionDisabled):e&&e.disabled!==void 0?e.disabled:!1}getOptionGroupLabel(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null?Pn(e,this.optionGroupLabel):e&&e.label!==void 0?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren!==void 0&&this.optionGroupChildren!==null?Pn(e,this.optionGroupChildren):e.items}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(n=>this.isOptionGroup(n)).length:e)+1}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onContainerClick(e){this.disabled||this.readonly||this.loading||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),!(e.target.tagName==="INPUT"||e.target.getAttribute("data-pc-section")==="clearicon"||e.target.closest('[data-pc-section="clearicon"]'))&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(e.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(e),this.clicked.set(!0),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&this.visibleOptions().length===0}onEditableInput(e){let n=e.target.value;this.searchValue="",!this.searchOptions(e,n)&&this.focusedOptionIndex.set(-1),this.onModelChange(n),this.updateModel(n||null,e),setTimeout(()=>{this.onChange.emit({originalEvent:e,value:n})},1),!this.overlayVisible&&dt(n)&&this.show()}show(e){this.overlayVisible=!0,this.focusedOptionIndex.set(this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex()),e&&$t(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(e){if(e.toState==="visible"){if(this.itemsWrapper=jt(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-select-list-container"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){let n=this.modelValue()?this.focusedOptionIndex():-1;n!==-1&&this.scroller?.scrollToIndex(n)}else{let n=jt(this.itemsWrapper,".p-select-option.p-select-option-selected");n&&n.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&!this.editable&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}e.toState==="void"&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(e){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.clicked.set(!1),this.searchValue="",this.overlayOptions?.mode==="modal"&&ks(),this.filter&&this.resetFilterOnHide&&this.resetFilter(),e&&(this.focusInputViewChild&&$t(this.focusInputViewChild?.nativeElement),this.editable&&this.editableInputViewChild&&$t(this.editableInputViewChild?.nativeElement)),this.cd.markForCheck()}onInputFocus(e){if(this.disabled)return;this.focused=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(e,n=!1){if(!(this.disabled||this.readonly||this.loading)){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,this.editable);break;case"Delete":this.onDeleteKey(e);break;case"Home":this.onHomeKey(e,this.editable);break;case"End":this.onEndKey(e,this.editable);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Space":this.onSpaceKey(e,n);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"Backspace":this.onBackspaceKey(e,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!e.metaKey&&Sf(e.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(e,e.key));break}this.clicked.set(!1)}}onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,!0);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break;default:break}}onFilterBlur(e){this.focusedOptionIndex.set(-1)}onArrowDownKey(e){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(e,this.findSelectedOptionIndex());else{let n=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,n)}e.preventDefault(),e.stopPropagation()}changeFocusedOptionIndex(e,n){if(this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView(),this.selectOnFocus)){let o=this.visibleOptions()[n];this.onOptionSelect(e,o,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let o=jt(this.itemsViewChild.nativeElement,`li[id="${n}"]`);o?o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}hasSelectedOption(){return this.modelValue()!==void 0}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextOptionIndex(e){let n=ethis.isValidOption(o)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?gl(this.visibleOptions().slice(0,e),o=>this.isValidOption(o)):-1;return n>-1?n:e}findLastOptionIndex(){return gl(this.visibleOptions(),e=>this.isValidOption(e))}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}isValidOption(e){return e!=null&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionGroup(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null&&e.optionGroup!==void 0&&e.optionGroup!==null&&e.group}onArrowUpKey(e,n=!1){if(e.altKey&&!n){if(this.focusedOptionIndex()!==-1){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}this.overlayVisible&&this.hide()}else{let o=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,o),!this.overlayVisible&&this.show()}e.preventDefault(),e.stopPropagation()}onArrowLeftKey(e,n=!1){n&&this.focusedOptionIndex.set(-1)}onDeleteKey(e){this.showClear&&(this.clear(e),e.preventDefault())}onHomeKey(e,n=!1){if(n){let o=e.currentTarget;e.shiftKey?o.setSelectionRange(0,o.value.length):(o.setSelectionRange(0,0),this.focusedOptionIndex.set(-1))}else this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onEndKey(e,n=!1){if(n){let o=e.currentTarget;if(e.shiftKey)o.setSelectionRange(0,o.value.length);else{let r=o.value.length;o.setSelectionRange(r,r),this.focusedOptionIndex.set(-1)}}else this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onSpaceKey(e,n=!1){!this.editable&&!n&&this.onEnterKey(e)}onEnterKey(e,n=!1){if(!this.overlayVisible)this.focusedOptionIndex.set(-1),this.onArrowDownKey(e);else{if(this.focusedOptionIndex()!==-1){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}!n&&this.hide()}e.preventDefault()}onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault(),e.stopPropagation()}onTabKey(e,n=!1){if(!n)if(this.overlayVisible&&this.hasFocusableElements())$t(e.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),e.preventDefault();else{if(this.focusedOptionIndex()!==-1&&this.overlayVisible){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}this.overlayVisible&&this.hide(this.filter)}e.stopPropagation()}onFirstHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?fl(this.overlayViewChild.el?.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild?.nativeElement;$t(n)}onLastHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?ml(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;$t(n)}hasFocusableElements(){return hl(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(e,n=!1){n&&!this.overlayVisible&&this.show()}searchFields(){return this.filterBy?.split(",")||this.filterFields||[this.optionLabel]}searchOptions(e,n){this.searchValue=(this.searchValue||"")+n;let o=-1,r=!1;return o=this.visibleOptions().findIndex(s=>this.isOptionMatched(s)),o!==-1&&(r=!0),o===-1&&this.focusedOptionIndex()===-1&&(o=this.findFirstFocusedOptionIndex()),o!==-1&&setTimeout(()=>{this.changeFocusedOptionIndex(e,o)}),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),r}isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(e){let n=e.target.value;this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:e,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild.alignOverlay()}),this.cd.markForCheck()}applyFocus(){this.editable?jt(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():$t(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(e){this.updateModel(null,e),this.clearEditableLabel(),this.onModelTouched(),this.onChange.emit({originalEvent:e,value:this.value}),this.onClear.emit(e),this.resetFilter()}static \u0275fac=function(n){return new(n||t)(b(ue),b(Of))};static \u0275cmp=A({type:t,selectors:[["p-select"]],contentQueries:function(n,o,r){if(n&1&&(he(r,gY,4),he(r,_Y,4),he(r,yY,4),he(r,vY,4),he(r,bY,4),he(r,kR,4),he(r,CY,4),he(r,wY,4),he(r,xY,4),he(r,EY,4),he(r,IY,4),he(r,SY,4),he(r,TY,4),he(r,DY,4),he(r,OY,4),he(r,MY,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.itemTemplate=s.first),G(s=W())&&(o.groupTemplate=s.first),G(s=W())&&(o.loaderTemplate=s.first),G(s=W())&&(o.selectedItemTemplate=s.first),G(s=W())&&(o.headerTemplate=s.first),G(s=W())&&(o.filterTemplate=s.first),G(s=W())&&(o.footerTemplate=s.first),G(s=W())&&(o.emptyFilterTemplate=s.first),G(s=W())&&(o.emptyTemplate=s.first),G(s=W())&&(o.dropdownIconTemplate=s.first),G(s=W())&&(o.loadingIconTemplate=s.first),G(s=W())&&(o.clearIconTemplate=s.first),G(s=W())&&(o.filterIconTemplate=s.first),G(s=W())&&(o.onIconTemplate=s.first),G(s=W())&&(o.offIconTemplate=s.first),G(s=W())&&(o.cancelIconTemplate=s.first),G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(kR,5),ve(RY,5),ve(PY,5),ve(kY,5),ve(AY,5),ve(NY,5),ve(FY,5),ve(LY,5)),n&2){let r;G(r=W())&&(o.filterViewChild=r.first),G(r=W())&&(o.focusInputViewChild=r.first),G(r=W())&&(o.editableInputViewChild=r.first),G(r=W())&&(o.itemsViewChild=r.first),G(r=W())&&(o.scroller=r.first),G(r=W())&&(o.overlayViewChild=r.first),G(r=W())&&(o.firstHiddenFocusableElementOnOverlay=r.first),G(r=W())&&(o.lastHiddenFocusableElementOnOverlay=r.first)}},hostVars:5,hostBindings:function(n,o){n&1&&R("click",function(s){return o.onContainerClick(s)}),n&2&&(N("id",o.id),li(o.hostStyle),re(o.hostClass))},inputs:{id:"id",scrollHeight:"scrollHeight",filter:[2,"filter","filter",H],name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:[2,"readonly","readonly",H],required:[2,"required","required",H],editable:[2,"editable","editable",H],appendTo:"appendTo",tabindex:[2,"tabindex","tabindex",ot],placeholder:"placeholder",loadingIcon:"loadingIcon",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",variant:"variant",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:[2,"autofocus","autofocus",H],resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",H],checkmark:[2,"checkmark","checkmark",H],dropdownIcon:"dropdownIcon",loading:[2,"loading","loading",H],optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:[2,"autoDisplayFirst","autoDisplayFirst",H],group:[2,"group","group",H],showClear:[2,"showClear","showClear",H],emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:[2,"lazy","lazy",H],virtualScroll:[2,"virtualScroll","virtualScroll",H],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",ot],virtualScrollOptions:"virtualScrollOptions",size:"size",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:[2,"maxlength","maxlength",ot],tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:[2,"focusOnHover","focusOnHover",H],selectOnFocus:[2,"selectOnFocus","selectOnFocus",H],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",H],autofocusFilter:[2,"autofocusFilter","autofocusFilter",H],fluid:[2,"fluid","fluid",H],disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[fe([WZ,AR]),Z],decls:11,vars:15,consts:[["elseBlock",""],["overlay",""],["content",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["loader",""],["items",""],["emptyFilter",""],["empty",""],["role","combobox",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","pAutoFocus","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-select-dropdown"],[4,"ngIf","ngIfElse"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["role","combobox",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled","pAutoFocus"],["class","p-select-clear-icon",3,"click",4,"ngIf"],[1,"p-select-clear-icon",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["aria-hidden","true",3,"ngClass",4,"ngIf"],["aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true",3,"ngClass"],["aria-hidden","true"],["class","p-select-dropdown-icon",4,"ngIf"],["class","p-select-dropdown-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-select-dropdown-icon",3,"ngClass"],[3,"styleClass"],[1,"p-select-dropdown-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-select-header",3,"click",4,"ngIf"],[1,"p-select-list-container"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-select-header",3,"click"],["pInputText","","type","text","role","searchbox","autocomplete","off",1,"p-select-filter",3,"input","keydown","blur","pSize","value","variant"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["role","listbox",1,"p-select-list",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-select-empty-message","role","option",3,"ngStyle",4,"ngIf"],["role","option",1,"p-select-option-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","checkmark","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],["role","option",1,"p-select-empty-message",3,"ngStyle"]],template:function(n,o){if(n&1){let r=U();_(0,GY,6,20,"span",16)(1,WY,2,8,"input",17)(2,ZY,3,2,"ng-container",18),h(3,"div",19),_(4,iZ,3,2,"ng-container",20)(5,dZ,2,2,"ng-template",null,0,we),f(),h(7,"p-overlay",21,1),hn("visibleChange",function(a){return D(r),Sn(o.overlayVisible,a)||(o.overlayVisible=a),O(a)}),R("onAnimationStart",function(a){return D(r),O(o.onOverlayAnimationStart(a))})("onHide",function(){return D(r),O(o.hide())}),_(9,zZ,13,17,"ng-template",null,2,we),f()}if(n&2){let r,s=ge(6);u("ngIf",!o.editable),d(),u("ngIf",o.editable),d(),u("ngIf",o.isVisibleClearIcon),d(),N("aria-expanded",(r=o.overlayVisible)!==null&&r!==void 0?r:!1)("data-pc-section","trigger"),d(),u("ngIf",o.loading)("ngIfElse",s),d(3),pn("visible",o.overlayVisible),u("options",o.overlayOptions)("target","@parent")("appendTo",o.appendTo)("autoZIndex",o.autoZIndex)("baseZIndex",o.baseZIndex)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions)}},dependencies:[Se,_t,at,ee,vt,fn,qZ,Xd,Jl,$r,hr,md,gd,Yl,Zd,Jd,Zl,Ye],encapsulation:2,changeDetection:0})}return t})(),rMe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Gm,Ye,Ye]})}return t})();var KZ=["dropdownicon"],QZ=["firstpagelinkicon"],YZ=["previouspagelinkicon"],ZZ=["lastpagelinkicon"],JZ=["nextpagelinkicon"],Wm=t=>({"p-disabled":t}),qm=t=>({$implicit:t}),XZ=t=>({"p-paginator-page-selected":t});function eJ(t,i){t&1&&le(0)}function tJ(t,i){if(t&1&&(h(0,"div",16),_(1,eJ,1,0,"ng-container",17),f()),t&2){let e=m(2);N("data-pc-section","start"),d(),u("ngTemplateOutlet",e.templateLeft)("ngTemplateOutletContext",ce(3,qm,e.paginatorState))}}function nJ(t,i){if(t&1&&(h(0,"span",18),E(1),f()),t&2){let e=m(2);d(),B(e.currentPageReport)}}function iJ(t,i){t&1&&w(0,"AngleDoubleLeftIcon",21),t&2&&u("styleClass","p-paginator-first-icon")}function oJ(t,i){}function rJ(t,i){t&1&&_(0,oJ,0,0,"ng-template")}function sJ(t,i){if(t&1&&(h(0,"span",22),_(1,rJ,1,0,null,23),f()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.firstPageLinkIconTemplate||e._firstPageLinkIconTemplate)}}function aJ(t,i){if(t&1){let e=U();h(0,"button",19),R("click",function(o){D(e);let r=m(2);return O(r.changePageToFirst(o))}),_(1,iJ,1,1,"AngleDoubleLeftIcon",6)(2,sJ,2,1,"span",20),f()}if(t&2){let e=m(2);u("disabled",e.isFirstPage()||e.empty())("ngClass",ce(5,Wm,e.isFirstPage()||e.empty())),N("aria-label",e.getAriaLabel("firstPageLabel")),d(),u("ngIf",!e.firstPageLinkIconTemplate&&!e._firstPageLinkIconTemplate),d(),u("ngIf",e.firstPageLinkIconTemplate||e._firstPageLinkIconTemplate)}}function lJ(t,i){t&1&&w(0,"AngleLeftIcon",21),t&2&&u("styleClass","p-paginator-prev-icon")}function cJ(t,i){}function dJ(t,i){t&1&&_(0,cJ,0,0,"ng-template")}function uJ(t,i){if(t&1&&(h(0,"span",24),_(1,dJ,1,0,null,23),f()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.previousPageLinkIconTemplate||e._previousPageLinkIconTemplate)}}function pJ(t,i){if(t&1){let e=U();h(0,"button",27),R("click",function(o){let r=D(e).$implicit,s=m(3);return O(s.onPageLinkClick(o,r-1))}),E(1),f()}if(t&2){let e=i.$implicit,n=m(3);u("ngClass",ce(4,XZ,e-1==n.getPage())),N("aria-label",n.getPageAriaLabel(e))("aria-current",e-1==n.getPage()?"page":void 0),d(),oe(" ",n.getLocalization(e)," ")}}function hJ(t,i){if(t&1&&(h(0,"span",25),_(1,pJ,2,6,"button",26),f()),t&2){let e=m(2);d(),u("ngForOf",e.pageLinks)}}function fJ(t,i){if(t&1&&E(0),t&2){let e=m(3);B(e.currentPageReport)}}function mJ(t,i){t&1&&le(0)}function gJ(t,i){if(t&1&&_(0,mJ,1,0,"ng-container",17),t&2){let e=i.$implicit,n=m(4);u("ngTemplateOutlet",n.jumpToPageItemTemplate)("ngTemplateOutletContext",ce(2,qm,e))}}function _J(t,i){t&1&&(se(0),_(1,gJ,1,4,"ng-template",31),ae())}function yJ(t,i){t&1&&le(0)}function vJ(t,i){if(t&1&&_(0,yJ,1,0,"ng-container",23),t&2){let e=m(4);u("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function bJ(t,i){t&1&&_(0,vJ,1,1,"ng-template",32)}function CJ(t,i){if(t&1){let e=U();h(0,"p-select",28),R("onChange",function(o){D(e);let r=m(2);return O(r.onPageDropdownChange(o))}),_(1,fJ,1,1,"ng-template",29)(2,_J,2,0,"ng-container",30)(3,bJ,1,0,null,30),f()}if(t&2){let e=m(2);u("options",e.pageItems)("ngModel",e.getPage())("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight),N("aria-label",e.getAriaLabel("jumpToPageDropdownLabel")),d(2),u("ngIf",e.jumpToPageItemTemplate),d(),u("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function wJ(t,i){t&1&&w(0,"AngleRightIcon",21),t&2&&u("styleClass","p-paginator-next-icon")}function xJ(t,i){}function EJ(t,i){t&1&&_(0,xJ,0,0,"ng-template")}function IJ(t,i){if(t&1&&(h(0,"span",33),_(1,EJ,1,0,null,23),f()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.nextPageLinkIconTemplate||e._nextPageLinkIconTemplate)}}function SJ(t,i){t&1&&w(0,"AngleDoubleRightIcon",21),t&2&&u("styleClass","p-paginator-last-icon")}function TJ(t,i){}function DJ(t,i){t&1&&_(0,TJ,0,0,"ng-template")}function OJ(t,i){if(t&1&&(h(0,"span",36),_(1,DJ,1,0,null,23),f()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.lastPageLinkIconTemplate||e._lastPageLinkIconTemplate)}}function MJ(t,i){if(t&1){let e=U();h(0,"button",34),R("click",function(o){D(e);let r=m(2);return O(r.changePageToLast(o))}),_(1,SJ,1,1,"AngleDoubleRightIcon",6)(2,OJ,2,1,"span",35),f()}if(t&2){let e=m(2);u("disabled",e.isLastPage()||e.empty())("ngClass",ce(5,Wm,e.isLastPage()||e.empty())),N("aria-label",e.getAriaLabel("lastPageLabel")),d(),u("ngIf",!e.lastPageLinkIconTemplate&&!e._lastPageLinkIconTemplate),d(),u("ngIf",e.lastPageLinkIconTemplate||e._lastPageLinkIconTemplate)}}function RJ(t,i){if(t&1){let e=U();h(0,"p-inputnumber",37),R("ngModelChange",function(o){D(e);let r=m(2);return O(r.changePage(o-1))}),f()}if(t&2){let e=m(2);u("ngModel",e.currentPage())("disabled",e.empty())}}function PJ(t,i){t&1&&le(0)}function kJ(t,i){if(t&1&&_(0,PJ,1,0,"ng-container",17),t&2){let e=i.$implicit,n=m(4);u("ngTemplateOutlet",n.dropdownItemTemplate)("ngTemplateOutletContext",ce(2,qm,e))}}function AJ(t,i){t&1&&(se(0),_(1,kJ,1,4,"ng-template",31),ae())}function NJ(t,i){t&1&&le(0)}function FJ(t,i){if(t&1&&_(0,NJ,1,0,"ng-container",23),t&2){let e=m(4);u("ngTemplateOutlet",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function LJ(t,i){t&1&&_(0,FJ,1,1,"ng-template",32)}function VJ(t,i){if(t&1){let e=U();h(0,"p-select",38),hn("ngModelChange",function(o){D(e);let r=m(2);return Sn(r.rows,o)||(r.rows=o),O(o)}),R("onChange",function(o){D(e);let r=m(2);return O(r.onRppChange(o))}),_(1,AJ,2,0,"ng-container",30)(2,LJ,1,0,null,30),f()}if(t&2){let e=m(2);u("options",e.rowsPerPageItems),pn("ngModel",e.rows),u("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight)("ariaLabel",e.getAriaLabel("rowsPerPageLabel")),d(),u("ngIf",e.dropdownItemTemplate),d(),u("ngIf",e.dropdownIconTemplate||e._dropdownIconTemplate)}}function BJ(t,i){t&1&&le(0)}function jJ(t,i){if(t&1&&(h(0,"div",39),_(1,BJ,1,0,"ng-container",17),f()),t&2){let e=m(2);N("data-pc-section","end"),d(),u("ngTemplateOutlet",e.templateRight)("ngTemplateOutletContext",ce(3,qm,e.paginatorState))}}function $J(t,i){if(t&1){let e=U();h(0,"div",1),_(1,tJ,2,5,"div",2)(2,nJ,2,1,"span",3)(3,aJ,3,7,"button",4),h(4,"button",5),R("click",function(o){D(e);let r=m();return O(r.changePageToPrev(o))}),_(5,lJ,1,1,"AngleLeftIcon",6)(6,uJ,2,1,"span",7),f(),_(7,hJ,2,1,"span",8)(8,CJ,4,8,"p-select",9),h(9,"button",10),R("click",function(o){D(e);let r=m();return O(r.changePageToNext(o))}),_(10,wJ,1,1,"AngleRightIcon",6)(11,IJ,2,1,"span",11),f(),_(12,MJ,3,7,"button",12)(13,RJ,1,2,"p-inputnumber",13)(14,VJ,3,8,"p-select",14)(15,jJ,2,5,"div",15),f()}if(t&2){let e=m();re(e.styleClass),u("ngStyle",e.style)("ngClass","p-paginator p-component"),N("data-pc-section","paginator")("data-pc-section","root"),d(),u("ngIf",e.templateLeft),d(),u("ngIf",e.showCurrentPageReport),d(),u("ngIf",e.showFirstLastIcon),d(),u("disabled",e.isFirstPage()||e.empty())("ngClass",ce(25,Wm,e.isFirstPage()||e.empty())),N("aria-label",e.getAriaLabel("prevPageLabel")),d(),u("ngIf",!e.previousPageLinkIconTemplate&&!e._previousPageLinkIconTemplate),d(),u("ngIf",e.previousPageLinkIconTemplate||e._previousPageLinkIconTemplate),d(),u("ngIf",e.showPageLinks),d(),u("ngIf",e.showJumpToPageDropdown),d(),u("disabled",e.isLastPage()||e.empty())("ngClass",ce(27,Wm,e.isLastPage()||e.empty())),N("aria-label",e.getAriaLabel("nextPageLabel")),d(),u("ngIf",!e.nextPageLinkIconTemplate&&!e._nextPageLinkIconTemplate),d(),u("ngIf",e.nextPageLinkIconTemplate||e._nextPageLinkIconTemplate),d(),u("ngIf",e.showFirstLastIcon),d(),u("ngIf",e.showJumpToPageInput),d(),u("ngIf",e.rowsPerPageOptions),d(),u("ngIf",e.templateRight)}}var HJ=({dt:t})=>` .p-paginator { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; background: ${t("paginator.background")}; color: ${t("paginator.color")}; padding: ${t("paginator.padding")}; border-radius: ${t("paginator.border.radius")}; gap: ${t("paginator.gap")}; } .p-paginator-content { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: ${t("paginator.gap")}; } .p-paginator-content-start { margin-inline-end: auto; } .p-paginator-content-end { margin-inline-start: auto; } .p-paginator-page, .p-paginator-next, .p-paginator-last, .p-paginator-first, .p-paginator-prev { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 1; user-select: none; overflow: hidden; position: relative; background: ${t("paginator.nav.button.background")}; border: 0 none; color: ${t("paginator.nav.button.color")}; min-width: ${t("paginator.nav.button.width")}; height: ${t("paginator.nav.button.height")}; transition: background ${t("paginator.transition.duration")}, color ${t("paginator.transition.duration")}, outline-color ${t("paginator.transition.duration")}, box-shadow ${t("paginator.transition.duration")}; border-radius: ${t("paginator.nav.button.border.radius")}; padding: 0; margin: 0; } .p-paginator-page:focus-visible, .p-paginator-next:focus-visible, .p-paginator-last:focus-visible, .p-paginator-first:focus-visible, .p-paginator-prev:focus-visible { box-shadow: ${t("paginator.nav.button.focus.ring.shadow")}; outline: ${t("paginator.nav.button.focus.ring.width")} ${t("paginator.nav.button.focus.ring.style")} ${t("paginator.nav.button.focus.ring.color")}; outline-offset: ${t("paginator.nav.button.focus.ring.offset")}; } .p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover, .p-paginator-first:not(.p-disabled):hover, .p-paginator-prev:not(.p-disabled):hover, .p-paginator-next:not(.p-disabled):hover, .p-paginator-last:not(.p-disabled):hover { background: ${t("paginator.nav.button.hover.background")}; color: ${t("paginator.nav.button.hover.color")}; } .p-paginator-first:dir(rtl), .p-paginator-prev:dir(rtl), .p-paginator-next:dir(rtl), .p-paginator-last:dir(rtl) { transform: rotate(180deg); } .p-paginator-page.p-paginator-page-selected { background: ${t("paginator.nav.button.selected.background")}; color: ${t("paginator.nav.button.selected.color")}; } .p-paginator-current { color: ${t("paginator.current.page.report.color")}; } .p-paginator-pages { display: flex; align-items: center; gap: ${t("paginator.gap")}; } .p-paginator-jtp-input .p-inputtext { max-width: ${t("paginator.jump.to.page.input.max.width")}; } `,zJ={paginator:({instance:t,key:i})=>["p-paginator p-component",{"p-paginator-default":!t.hasBreakpoints(),[`p-paginator-${i}`]:t.hasBreakpoints()}],content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:({instance:t})=>["p-paginator-first",{"p-disabled":t.$attrs.disabled}],firstIcon:"p-paginator-first-icon",prev:({instance:t})=>["p-paginator-prev",{"p-disabled":t.$attrs.disabled}],prevIcon:"p-paginator-prev-icon",next:({instance:t})=>["p-paginator-next",{"p-disabled":t.$attrs.disabled}],nextIcon:"p-paginator-next-icon",last:({instance:t})=>["p-paginator-last",{"p-disabled":t.$attrs.disabled}],lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:({props:t,pageLink:i})=>["p-paginator-page",{"p-paginator-page-selected":i-1===t.page}],current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInput:"p-paginator-jtp-input"},LR=(()=>{class t extends nt{name="paginator";theme=HJ;classes=zJ;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})();var qs=(()=>{class t extends Ue{pageLinkSize=5;style;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;appendTo;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;jumpToPageItemTemplate;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(e){this._first=e}onPageChange=new F;dropdownIconTemplate;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;templates;_dropdownIconTemplate;_firstPageLinkIconTemplate;_previousPageLinkIconTemplate;_lastPageLinkIconTemplate;_nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;_componentStyle=C(LR);constructor(){super()}ngOnInit(){super.ngOnInit(),this.updatePaginatorState()}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"dropdownicon":this._dropdownIconTemplate=e.template;break;case"firstpagelinkicon":this._firstPageLinkIconTemplate=e.template;break;case"previouspagelinkicon":this._previousPageLinkIconTemplate=e.template;break;case"lastpagelinkicon":this._lastPageLinkIconTemplate=e.template;break;case"nextpagelinkicon":this._nextPageLinkIconTemplate=e.template;break}})}getAriaLabel(e){return this.config.translation.aria?this.config.translation.aria[e]:void 0}getPageAriaLabel(e){return this.config.translation.aria?this.config.translation.aria.pageLabel.replace(/{page}/g,`${e}`):void 0}getLocalization(e){let n=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),o=new Map(n.map((r,s)=>[s,r]));return e>9?String(e).split("").map(s=>o.get(Number(s))).join(""):o.get(e)}ngOnChanges(e){super.ngOnChanges(e),e.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),e.first&&(this._first=e.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),e.rows&&(this.updatePageLinks(),this.updatePaginatorState()),e.rowsPerPageOptions&&this.updateRowsPerPageOptions(),e.pageLinkSize&&this.updatePageLinks()}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];let e=null;for(let n of this.rowsPerPageOptions)typeof n=="object"&&n.showAll?e={label:n.showAll,value:this.totalRecords}:this.rowsPerPageItems.push({label:String(this.getLocalization(n)),value:n});e&&this.rowsPerPageItems.push(e)}}isFirstPage(){return this.getPage()===0}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let e=this.getPageCount(),n=Math.min(this.pageLinkSize,e),o=Math.max(0,Math.ceil(this.getPage()-n/2)),r=Math.min(e-1,o+n-1);var s=this.pageLinkSize-(r-o+1);return o=Math.max(0,o-s),[o,r]}updatePageLinks(){this.pageLinks=[];let e=this.calculatePageLinkBoundaries(),n=e[0],o=e[1];for(let r=n;r<=o;r++)this.pageLinks.push(r+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let r=0;r=0&&e0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(e-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(e){this.isFirstPage()||this.changePage(0),e.preventDefault()}changePageToPrev(e){this.changePage(this.getPage()-1),e.preventDefault()}changePageToNext(e){this.changePage(this.getPage()+1),e.preventDefault()}changePageToLast(e){this.isLastPage()||this.changePage(this.getPageCount()-1),e.preventDefault()}onPageLinkClick(e,n){this.changePage(n),e.preventDefault()}onRppChange(e){this.changePage(this.getPage())}onPageDropdownChange(e){this.changePage(e.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return this.getPageCount()===0}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=A({type:t,selectors:[["p-paginator"]],contentQueries:function(n,o,r){if(n&1&&(he(r,KZ,4),he(r,QZ,4),he(r,YZ,4),he(r,ZZ,4),he(r,JZ,4),he(r,Wt,4)),n&2){let s;G(s=W())&&(o.dropdownIconTemplate=s.first),G(s=W())&&(o.firstPageLinkIconTemplate=s.first),G(s=W())&&(o.previousPageLinkIconTemplate=s.first),G(s=W())&&(o.lastPageLinkIconTemplate=s.first),G(s=W())&&(o.nextPageLinkIconTemplate=s.first),G(s=W())&&(o.templates=s)}},inputs:{pageLinkSize:[2,"pageLinkSize","pageLinkSize",ot],style:"style",styleClass:"styleClass",alwaysShow:[2,"alwaysShow","alwaysShow",H],dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",appendTo:"appendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:[2,"showCurrentPageReport","showCurrentPageReport",H],showFirstLastIcon:[2,"showFirstLastIcon","showFirstLastIcon",H],totalRecords:[2,"totalRecords","totalRecords",ot],rows:[2,"rows","rows",ot],rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:[2,"showJumpToPageDropdown","showJumpToPageDropdown",H],showJumpToPageInput:[2,"showJumpToPageInput","showJumpToPageInput",H],jumpToPageItemTemplate:"jumpToPageItemTemplate",showPageLinks:[2,"showPageLinks","showPageLinks",H],locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[fe([LR]),Z,Ke],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-content-start",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev",3,"click","disabled","ngClass"],[3,"styleClass",4,"ngIf"],["class","p-paginator-prev-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-jtp-dropdown",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next",3,"click","disabled","ngClass"],["class","p-paginator-next-icon",4,"ngIf"],["type","button","pRipple","","class","p-paginator-last",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-jtp-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-dropdown",3,"options","ngModel","disabled","appendTo","scrollHeight","ariaLabel","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-content-end",4,"ngIf"],[1,"p-paginator-content-start"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first",3,"click","disabled","ngClass"],["class","p-paginator-first-icon",4,"ngIf"],[3,"styleClass"],[1,"p-paginator-first-icon"],[4,"ngTemplateOutlet"],[1,"p-paginator-prev-icon"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page",3,"click","ngClass"],["styleClass","p-paginator-jtp-dropdown",3,"onChange","options","ngModel","disabled","appendTo","scrollHeight"],["pTemplate","selectedItem"],[4,"ngIf"],["pTemplate","item"],["pTemplate","dropdownicon"],[1,"p-paginator-next-icon"],["type","button","pRipple","",1,"p-paginator-last",3,"click","disabled","ngClass"],["class","p-paginator-last-icon",4,"ngIf"],[1,"p-paginator-last-icon"],[1,"p-paginator-jtp-input",3,"ngModelChange","ngModel","disabled"],["styleClass","p-paginator-rpp-dropdown",3,"ngModelChange","onChange","options","ngModel","disabled","appendTo","scrollHeight","ariaLabel"],[1,"p-paginator-content-end"]],template:function(n,o){n&1&&_(0,$J,16,29,"div",0),n&2&&u("ngIf",o.alwaysShow?!0:o.pageLinks&&o.pageLinks.length>1)},dependencies:[Se,_t,at,ee,vt,fn,Gm,Um,Vr,Rn,gi,co,fO,mO,_O,yO,Ye,Wt],encapsulation:2,changeDetection:0})}return t})(),VR=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[qs,Ye,Ye]})}return t})();var BR=(t,i)=>[t,i];function UJ(t,i){if(t&1&&(h(0,"div",4),w(1,"div",5),I(2,"safeHtml"),f()),t&2){let e=m();d(),u("innerHTML",T(2,1,e.certificate),Rt)}}function GJ(t,i){if(t&1&&(h(0,"b",15),E(1),f()),t&2){let e=m(2).$implicit;d(),B(e.model)}}function WJ(t,i){if(t&1&&(h(0,"p",16),E(1),I(2,"translate"),f()),t&2){let e=m(2).$implicit;d(),di(" ",T(2,2,"PRODUCT.CAT_NUMBER")," ",e.manufacturerCode,"")}}function qJ(t,i){if(t&1&&(se(0),h(1,"a",9),w(2,"img",10),I(3,"resize"),f(),h(4,"div",11)(5,"a",9),_(6,GJ,2,1,"b",12),h(7,"p",13),E(8),f(),_(9,WJ,3,4,"p",14),f()(),ae()),t&2){let e=m().$implicit,n=m();d(),u("routerLink",Ge(10,BR,n.productRoute,e.uri)),d(),u("src",ui(3,6,e.picture,"295","295"),ze),d(3),u("routerLink",Ge(13,BR,n.productRoute,e.uri)),d(),u("ngIf",e.model),d(2),B(e.name),d(),u("ngIf",e.manufacturerCode)}}function KJ(t,i){if(t&1&&(h(0,"b",15),E(1),f()),t&2){let e=m(2).$implicit;d(),B(e.model)}}function QJ(t,i){if(t&1&&(h(0,"p",16),E(1),I(2,"translate"),f()),t&2){let e=m(2).$implicit;d(),di(" ",T(2,2,"PRODUCT.CAT_NUMBER")," ",e.manufacturerCode,"")}}function YJ(t,i){if(t&1&&(se(0),h(1,"span"),w(2,"img",10),I(3,"resize"),f(),h(4,"div",11)(5,"span"),_(6,KJ,2,1,"b",12),h(7,"p",13),E(8),f(),_(9,QJ,3,4,"p",14),f()(),ae()),t&2){let e=m().$implicit;d(2),u("src",ui(3,4,e.picture,"295","295"),ze),d(4),u("ngIf",e.model),d(2),B(e.name),d(),u("ngIf",e.manufacturerCode)}}function ZJ(t,i){if(t&1&&(h(0,"p",17),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;d(),di("",e.associationQty," ",T(2,2,"PRODUCT.PIECES"),"")}}function JJ(t,i){if(t&1&&(h(0,"div",6),_(1,qJ,10,16,"ng-container",7)(2,YJ,10,8,"ng-container",7)(3,ZJ,3,4,"p",8),f()),t&2){let e=i.$implicit;d(),u("ngIf",!e.isHidden),d(),u("ngIf",e.isHidden),d(),u("ngIf",e.associationQty)}}var jR=(()=>{class t{constructor(e,n){this.productResponseConverter=e,this.spinnerService=n,this.data=Y([]),this.page=0,this.size=10,this.totalResults=0,this.productRoute=`/${yn}`,this.certificate=null,this.pageChange=new F}ngOnInit(){}set associations(e){this.page=e.search.pageNumber,this.totalResults=e.totalResults,this.data=Y(e.products).pipe(pe(n=>Pe(n)),pe(n=>this.productResponseConverter.convert(n)),ii(),be(()=>this.spinnerService.hide()))}onPageChange(e){e.page!==this.page&&(this.spinnerService.show(),this.pageChange.next(e.page))}static{this.\u0275fac=function(n){return new(n||t)(b(Bi),b(No))}}static{this.\u0275cmp=A({type:t,selectors:[["product-kit"]],inputs:{certificate:"certificate",associations:"associations"},outputs:{pageChange:"pageChange"},standalone:!1,decls:8,vars:9,consts:[["class","d-flex certificate-info",4,"ngIf"],[1,"title"],["class","item-container d-flex",4,"ngFor","ngForOf"],[3,"onPageChange","rows","totalRecords"],[1,"d-flex","certificate-info"],[3,"innerHTML"],[1,"item-container","d-flex"],[4,"ngIf"],["class","qty me-md-4",4,"ngIf"],[3,"routerLink"],["alt","",1,"image-container","mt-auto","mb-auto",3,"src"],[1,"description-container"],["class","model",4,"ngIf"],[1,"name"],["class","cat-number",4,"ngIf"],[1,"model"],[1,"cat-number"],[1,"qty","me-md-4"]],template:function(n,o){n&1&&(h(0,"div"),_(1,UJ,3,3,"div",0),h(2,"div",1),E(3),I(4,"translate"),f(),_(5,JJ,4,3,"div",2),I(6,"async"),h(7,"p-paginator",3),R("onPageChange",function(s){return o.onPageChange(s)}),f()()),n&2&&(d(),u("ngIf",o.certificate!=null),d(2),B(T(4,5,"PRODUCT.ACCESSORIES_INCLUDED")),d(2),u("ngForOf",T(6,7,o.data)),d(2),u("rows",o.size)("totalRecords",o.totalResults))},dependencies:[at,ee,qt,qs,At,lt,Le,Po,Ur],styles:[".certificate-info[_ngcontent-%COMP%]{margin-bottom:50px}.learn-more[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-weight:600;margin-left:15px;margin-right:15px;text-decoration:underline}.title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#16272f;font-size:20px;font-weight:700;line-height:22px;letter-spacing:1px;margin-bottom:35px}.item-container[_ngcontent-%COMP%]{max-width:1206px;padding:10px;border:1px solid #C2C9CC;margin-bottom:10px}.image-container[_ngcontent-%COMP%]{width:80px;height:100%;max-height:80px;margin:auto;object-fit:contain;object-position:center}.description-container[_ngcontent-%COMP%]{margin-left:10px;font-size:14px;align-self:center;margin-right:auto;height:80px;padding:10px}.model[_ngcontent-%COMP%]{font-size:14px;align-self:center}.name[_ngcontent-%COMP%]{align-self:center;margin-bottom:unset!important}.cat-number[_ngcontent-%COMP%]{color:#959da1;font-weight:600;font-size:12px;align-self:center;margin-bottom:unset!important}.qty[_ngcontent-%COMP%]{margin-bottom:unset!important;align-self:center;font-size:18px;color:#003463;font-weight:400}@media (max-width: 575.98px){.description-container[_ngcontent-%COMP%]{height:fit-content}}"]})}}return t})();var eX=(t,i)=>[t,i];function tX(t,i){if(t&1&&(h(0,"b",15),E(1),f()),t&2){let e=m().$implicit;d(),B(e.model)}}function nX(t,i){if(t&1&&(h(0,"p",16),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;d(),di(" ",T(2,2,"PRODUCT.CAT_NUMBER")," ",e.manufacturerCode,"")}}function iX(t,i){if(t&1&&(h(0,"div",3)(1,"a",4)(2,"div",5),w(3,"img",6),I(4,"resize"),f(),h(5,"div",7),_(6,tX,2,1,"b",8),h(7,"p",9),E(8),f(),_(9,nX,3,4,"p",10),f()(),h(10,"div",11),w(11,"availability-indicator",12)(12,"product-price",13)(13,"add-to-cart-button",14),f()()),t&2){let e=i.$implicit,n=m();d(),u("routerLink",Ge(13,eX,n.productRoute,e.uri)),d(2),u("src",ui(4,9,e.picture,"295","295"),ze),d(3),u("ngIf",e.model),d(2),B(e.name),d(),u("ngIf",e.manufacturerCode),d(2),u("product",e)("showLeadTime",!0),d(),u("product",e),d(),u("product",e)}}var $R=(()=>{class t{constructor(e,n){this.productResponseConverter=e,this.spinnerService=n,this.data=Y([]),this.page=0,this.size=10,this.totalResults=0,this.pageChange=new F,this.productRoute=`/${yn}`}ngOnInit(){}set associations(e){this.page=e.search.pageNumber,this.totalResults=e.totalResults,this.data=Y(e.products).pipe(pe(n=>Pe(n)),pe(n=>this.productResponseConverter.convert(n)),ii(),be(()=>this.spinnerService.hide()))}onPageChange(e){e.page!==this.page&&(this.spinnerService.show(),this.pageChange.next(e.page))}static{this.\u0275fac=function(n){return new(n||t)(b(Bi),b(No))}}static{this.\u0275cmp=A({type:t,selectors:[["product-accessories"]],inputs:{associations:"associations"},outputs:{pageChange:"pageChange"},standalone:!1,decls:7,vars:8,consts:[[1,"title"],["class","item-container",4,"ngFor","ngForOf"],[3,"onPageChange","rows","totalRecords"],[1,"item-container"],[1,"d-flex","item-description",3,"routerLink"],[1,"image-box"],["alt","",1,"image-container","mt-auto","mb-auto",3,"src"],[1,"description-container"],["class","model",4,"ngIf"],[1,"name"],["class","cat-number",4,"ngIf"],[1,"accessories-left-container"],[1,"availability-size",3,"product","showLeadTime"],[1,"price-size",3,"product"],[1,"button-size",3,"product"],[1,"model"],[1,"cat-number"]],template:function(n,o){n&1&&(h(0,"div")(1,"div",0),E(2),I(3,"translate"),f(),_(4,iX,14,16,"div",1),I(5,"async"),h(6,"p-paginator",2),R("onPageChange",function(s){return o.onPageChange(s)}),f()()),n&2&&(d(2),B(T(3,4,"PRODUCT.ADDITIONAL_ACCESSORIES")),d(2),u("ngForOf",T(5,6,o.data)),d(2),u("rows",o.size)("totalRecords",o.totalResults))},dependencies:[at,ee,qt,qs,El,Hs,Hl,At,lt,Le,Po],styles:["[_nghost-%COMP%] .accessories-left-container{margin-left:unset;margin-right:unset}[_nghost-%COMP%] .accessories-left-container .btn{margin-top:10px;margin-bottom:10px;text-align:center}[_nghost-%COMP%] .accessories-left-container .price-net{font-size:20px;text-align:center}[_nghost-%COMP%] .accessories-left-container .price-gross{margin-left:0;text-align:center}[_nghost-%COMP%] .accessories-left-container .availability-indicator{margin-top:10px;margin-bottom:10px;text-align:center}[_nghost-%COMP%] .accessories-left-container p{margin-top:unset!important;margin-bottom:unset!important}.certificate-info[_ngcontent-%COMP%]{margin-bottom:50px}.learn-more[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-weight:600;margin-left:15px;margin-right:15px;text-decoration:underline}.title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#16272f;font-size:20px;font-weight:700;line-height:22px;letter-spacing:1px;margin-bottom:35px}.item-description[_ngcontent-%COMP%]{justify-content:center}.item-container[_ngcontent-%COMP%]{max-width:1206px;padding:10px;border:1px solid #C2C9CC;margin-bottom:10px;display:block}.image-container[_ngcontent-%COMP%]{width:80px;height:100%;max-height:80px;margin:auto;object-fit:contain;object-position:center}.description-container[_ngcontent-%COMP%]{margin-left:10px;font-size:14px;align-self:center;height:80px;padding:10px;text-align:unset}.model[_ngcontent-%COMP%]{font-size:14px;align-self:center}.name[_ngcontent-%COMP%]{align-self:center;margin-bottom:unset!important}.cat-number[_ngcontent-%COMP%]{color:#959da1;font-weight:600;font-size:12px;align-self:center;margin-bottom:unset!important}.image-box[_ngcontent-%COMP%]{text-align:center}@media (max-width: 767.98px){.description-container[_ngcontent-%COMP%]{height:fit-content}}@media (min-width: 800px){.button-size[_ngcontent-%COMP%]{width:110px}.price-size[_ngcontent-%COMP%]{width:140px}.availability-size[_ngcontent-%COMP%]{width:180px}.image-box[_ngcontent-%COMP%]{text-align:unset}.item-container[_ngcontent-%COMP%]{display:flex}.description-container[_ngcontent-%COMP%]{margin-right:unset}[_nghost-%COMP%] .accessories-left-container{display:flex;align-items:center;margin-left:auto;margin-right:20px}[_nghost-%COMP%] .accessories-left-container .btn{max-width:110px;height:unset;margin-left:20px;text-align:center}[_nghost-%COMP%] .accessories-left-container .price-net{margin-left:20px;text-align:unset}[_nghost-%COMP%] .accessories-left-container .price-gross{margin-left:20px;text-align:unset}[_nghost-%COMP%] .accessories-left-container .availability-indicator{margin-left:20px;text-align:unset}}"]})}}return t})();var rX=(t,i)=>[t,i];function sX(t,i){if(t&1&&(h(0,"b",9),E(1),f()),t&2){let e=m().$implicit;d(),oe("",e.model,"\xA0")}}function aX(t,i){if(t&1&&(h(0,"p",10),E(1),I(2,"translate"),f()),t&2){let e=m().$implicit;d(),di(" ",T(2,2,"PRODUCT.CAT_NUMBER")," ",e.manufacturerCode,"")}}function lX(t,i){if(t&1&&(h(0,"div",3)(1,"a",4)(2,"div",5),_(3,sX,2,1,"b",6),h(4,"p",7),E(5),f(),_(6,aX,3,4,"p",8),f()()()),t&2){let e=i.$implicit,n=m();d(),u("routerLink",Ge(4,rX,n.productRoute,e.uri)),d(2),u("ngIf",e.model),d(2),oe("",e.name,"\xA0"),d(),u("ngIf",e.manufacturerCode)}}var HR=(()=>{class t{constructor(e,n){this.productResponseConverter=e,this.spinnerService=n,this.data=Y([]),this.page=0,this.size=10,this.totalResults=0,this.productRoute=`/${yn}`,this.pageChange=new F}ngOnInit(){}set associations(e){this.page=e.search.pageNumber,this.totalResults=e.totalResults,this.data=Y(e.products).pipe(pe(n=>Pe(n)),pe(n=>this.productResponseConverter.convert(n)),ii(),be(()=>this.spinnerService.hide()))}onPageChange(e){e.page!==this.page&&(this.spinnerService.show(),this.pageChange.next(e.page))}static{this.\u0275fac=function(n){return new(n||t)(b(Bi),b(No))}}static{this.\u0275cmp=A({type:t,selectors:[["product-matches"]],inputs:{associations:"associations"},outputs:{pageChange:"pageChange"},standalone:!1,decls:7,vars:8,consts:[[1,"title"],["class","item-container d-flex",4,"ngFor","ngForOf"],[3,"onPageChange","rows","totalRecords"],[1,"item-container","d-flex"],[1,"d-flex","item-description",3,"routerLink"],[1,"description-container"],["class","model float-sm-start",4,"ngIf"],[1,"name","float-sm-start"],["class","cat-number float-sm-start",4,"ngIf"],[1,"model","float-sm-start"],[1,"cat-number","float-sm-start"]],template:function(n,o){n&1&&(h(0,"div")(1,"div",0),E(2),I(3,"translate"),f(),_(4,lX,7,7,"div",1),I(5,"async"),h(6,"p-paginator",2),R("onPageChange",function(s){return o.onPageChange(s)}),f()()),n&2&&(d(2),B(T(3,4,"PRODUCT.MATCHES_HEADER")),d(2),u("ngForOf",T(5,6,o.data)),d(2),u("rows",o.size)("totalRecords",o.totalResults))},dependencies:[at,ee,qt,qs,lt,Le],styles:[".certificate-info[_ngcontent-%COMP%]{margin-bottom:50px}.learn-more[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-weight:600;margin-left:15px;margin-right:15px;text-decoration:underline}.title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#16272f;font-size:20px;font-weight:700;line-height:22px;letter-spacing:1px;margin-bottom:35px}.item-container[_ngcontent-%COMP%]{max-width:1206px;padding:10px;border:1px solid #C2C9CC;margin-bottom:10px}.image-container[_ngcontent-%COMP%]{width:80px}.description-container[_ngcontent-%COMP%]{margin-left:10px;font-size:14px;align-self:center;margin-right:auto;height:100%;padding:10px}.model[_ngcontent-%COMP%]{font-size:14px;align-self:center;box-sizing:content-box}.name[_ngcontent-%COMP%]{align-self:center;margin-bottom:unset!important;box-sizing:content-box}.cat-number[_ngcontent-%COMP%]{color:#959da1;font-weight:600;font-size:12px;align-self:center;margin-bottom:unset!important;box-sizing:content-box}.qty[_ngcontent-%COMP%]{margin-bottom:unset!important;align-self:center;font-size:18px;color:#003463;font-weight:400}@media (max-width: 575.98px){.description-container[_ngcontent-%COMP%]{height:fit-content}}"]})}}return t})();var x1="WIDGET_TYPE_ADD_COMMENT",E1="WIDGET_TYPE_REVIEW_COMMENT",dX="WIDGET_TYPE_SHOP_REVIEW_COMMENT",UR="WIDGET_TYPE_MULTIHORNET",uX="WIDGET_TYPE_HORNET",ji=class{constructor(i,e){this.minHeight=i,this.maxHeight=e}},zR=new Map([[x1,{mobile:new ji(530,600),desktop:new ji(530,600)}],[E1,{mobile:new ji(543,600),desktop:new ji(543,600)}],[dX,{mobile:new ji(440,600),desktop:new ji(380,600)}],[UR,{mobile:new ji(440,600),desktop:new ji(380,600)}],[uX,{mobile:new ji(440,600),desktop:new ji(380,600)}]]),GR=(()=>{class t{constructor(e,n,o,r){this.platformId=e,this.renderer=n,this.element=o,this.breakpointObserver=r}set trustMateWidget(e){We(this.platformId)&&(this.breakpointSubscription=this.breakpointObserver.observe([Us.XSmall,Us.Small]).pipe(z(n=>n.matches)).subscribe(n=>{let o=n?zR.get(e.widgetType)?.mobile:zR.get(e.widgetType)?.desktop;this.deleteTrustMateWidget(this.element.nativeElement,this.widget),this.widget=this.createTrustMateWidget(e.productId,e.widgetId,e.widgetType),this.renderer.appendChild(this.element.nativeElement,this.widget)}))}ngOnDestroy(){this.breakpointSubscription&&this.breakpointSubscription.unsubscribe()}createTrustMateWidget(e,n,o){let r=this.renderer.createElement("div"),s=this.renderer.createElement("div");s.id=n;let a=this.renderer.createElement("script");return a.defer=!0,a.src=this.buildWidgetUrl(n,e,o),r.appendChild(s),r.appendChild(a),r}buildWidgetUrl(e,n,o){let r=(()=>{switch(o){case UR:return"multihornet";default:return"script"}})(),s=`https://trustmate.io/widget/api/${e}/${r}`;return n!==null&&(s+="?product="+n),s}deleteTrustMateWidget(e,n){n&&this.renderer.removeChild(e,n)}static{this.\u0275fac=function(n){return new(n||t)(b(Fe),b(wt),b(ye),b(Ii))}}static{this.\u0275dir=te({type:t,selectors:[["","trustMateWidget",""]],inputs:{trustMateWidget:"trustMateWidget"},standalone:!1})}}return t})();var WR=(()=>{class t{constructor(e,n,o,r){this.translateService=e,this.platformId=n,this.environment=o,this.domainService=r,this.trustMateWidget=this.environment.trustMateWidget[this.domainService.getDomainCode()],this.widgetIdForAddingReview=this.trustMateWidget?this.trustMateWidget.widgetIdAddingReview:null,this.widgetIdForShowRatingAndReviews=this.trustMateWidget?this.trustMateWidget.widgetIdShowRatingAndReviews:null}set productId(e){this.addingReviewWidgetModel={productId:""+e,widgetId:this.widgetIdForAddingReview,widgetType:x1},this.showRatingAndReviewsWidgetModel={productId:""+e,widgetId:this.widgetIdForShowRatingAndReviews,widgetType:E1}}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(gn),b(Fe),b(mn),b(Wr))}}static{this.\u0275cmp=A({type:t,selectors:[["adding-review-widget"]],inputs:{productId:"productId"},standalone:!1,decls:1,vars:1,consts:[[1,"review-container",3,"trustMateWidget"]],template:function(n,o){n&1&&w(0,"div",0),n&2&&u("trustMateWidget",o.addingReviewWidgetModel)},dependencies:[GR],styles:[".review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.review-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:700!important;margin:61px 0 14px;display:block}.review-box[_ngcontent-%COMP%] .review-col-content[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.css-circle[_ngcontent-%COMP%]{width:24px;height:24px;float:right;display:none}.css-circle[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%]{position:relative;left:8px;top:-1px;font-size:18px;font-weight:400!important;display:none}.css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{position:relative;left:7px;top:-1px;font-size:18px;font-weight:400!important;display:none}.review-col-content[_ngcontent-%COMP%]{padding-top:20px}.review-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;border-bottom:1px solid #59656B;margin:0;padding-bottom:10px}.css-circle[_ngcontent-%COMP%], .css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%]{display:block}.review-box[_ngcontent-%COMP%] .review-col-content[_ngcontent-%COMP%]{height:0;overflow:hidden}.review-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .review-col-content[_ngcontent-%COMP%]{height:auto}@media (min-width: 631px){.review-box[_ngcontent-%COMP%]{margin-top:20px}}"]})}}return t})();var fX=["tabView"],mX=["accessoriesProductSlider"],gX=[[["productInfo"]]],_X=["productInfo"],yX=t=>({title:t});function vX(t,i){if(t&1&&w(0,"breadcrumb",12),t&2){let e=i.ngIf,n=m();u("category",e)("productName",n.productModelAndName)}}function bX(t,i){if(t&1&&w(0,"div",13),t&2){let e=m();u("appJsonLd",e.schema)}}function CX(t,i){if(t&1){let e=U();h(0,"product-slider",23,4),R("pageChange",function(o){D(e);let r=m(3);return O(r.pageAccessoriesSliderChange(o))}),le(2,24),I(3,"translate"),le(4,25),f()}if(t&2){let e=m().ngIf,n=m(2),o=ge(11),r=ge(13);u("products",e)("config",n.accessoriesSliderConfig),d(2),u("ngTemplateOutlet",o)("ngTemplateOutletContext",ce(7,yX,T(3,5,"PRODUCT.ASSOCIATIONS.ADDITIONAL"))),d(2),u("ngTemplateOutlet",r)}}function wX(t,i){if(t&1&&(h(0,"div",21),_(1,CX,5,9,"product-slider",22),f()),t&2){let e=i.ngIf,n=m(2);d(),u("ngIf",e.length>0||!n.isFirstPage)}}function xX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",33),E(2),I(3,"translate"),f()()),t&2&&(u("value",1),d(2),B(T(3,2,"PRODUCT.TAB_TECHNICAL_DATA")))}function EX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",34),E(2),I(3,"translate"),f()()),t&2&&(u("value",2),d(2),B(T(3,2,"PRODUCT.TAB_PRODUCTS_IN_KIT")))}function IX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",35),E(2),I(3,"translate"),f()()),t&2&&(u("value",3),d(2),B(T(3,2,"PRODUCT.TAB_PRODUCTS_ACCESSORIES")))}function SX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",36),E(2),I(3,"translate"),f()()),t&2&&(u("value",4),d(2),B(T(3,2,"PRODUCT.TAB_PRODUCT_RATING")))}function TX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",37),E(2),I(3,"translate"),f()()),t&2&&(u("value",5),d(2),B(T(3,2,"PRODUCT.TAB_PRODUCT_FILES")))}function DX(t,i){t&1&&(h(0,"p-tab",28)(1,"h2",38),E(2),I(3,"translate"),f()()),t&2&&(u("value",6),d(2),B(T(3,2,"PRODUCT.TAB_PRODUCTS_MATCHES")))}function OX(t,i){if(t&1&&(w(0,"div",32),I(1,"safeHtml")),t&2){let e=m(4);u("innerHTML",T(1,1,e.data.technicalTable),Rt)}}function MX(t,i){if(t&1&&(h(0,"p-tabpanel",28)(1,"section",39),_(2,OX,2,3,"div",40),f()()),t&2){let e=m(3);u("value",1),d(2),u("ngIf",!e.mobileView)}}function RX(t,i){if(t&1){let e=U();h(0,"p-tabpanel",28)(1,"section",41)(2,"product-kit",42),I(3,"async"),R("pageChange",function(o){D(e);let r=m(3);return O(r.pageKitChange(o))}),f()()()}if(t&2){let e=m(3);u("value",2),d(2),u("associations",T(3,3,e.productKit$))("certificate",e.data.calibrationCertificate)}}function PX(t,i){if(t&1){let e=U();h(0,"p-tabpanel",28)(1,"section",43)(2,"product-accessories",44),I(3,"async"),R("pageChange",function(o){D(e);let r=m(3);return O(r.pageAccessoriesChange(o))}),f()()()}if(t&2){let e=m(3);u("value",3),d(2),u("associations",T(3,2,e.productAccessories$))}}function kX(t,i){t&1&&le(0)}function AX(t,i){if(t&1&&(h(0,"section",46),_(1,kX,1,0,"ng-container",47),f()),t&2){m(4);let e=ge(15);d(),u("ngTemplateOutlet",e)}}function NX(t,i){if(t&1&&(h(0,"p-tabpanel",28),_(1,AX,2,1,"section",45),f()),t&2){let e=m(3);u("value",4),d(),u("ngIf",e.activeIndex()==4)}}function FX(t,i){if(t&1&&(h(0,"p-tabpanel",28)(1,"section",48),w(2,"product-files",49),f()()),t&2){let e=m(3);u("value",5),d(2),u("productFiles",e.data.productFiles)}}function LX(t,i){if(t&1){let e=U();h(0,"p-tabpanel",28)(1,"section",50)(2,"product-matches",44),I(3,"async"),R("pageChange",function(o){D(e);let r=m(3);return O(r.pageMatchesToChange(o))}),f()()()}if(t&2){let e=m(3);u("value",6),d(2),u("associations",T(3,2,e.productMatches$))}}function VX(t,i){if(t&1){let e=U();h(0,"div",26)(1,"p-tabs",27,5),hn("valueChange",function(o){D(e);let r=m(2);return Sn(r.activeIndex,o)||(r.activeIndex=o),O(o)}),R("onChange",function(o){D(e);let r=m(2);return O(r.handleTabViewChange(o))}),h(3,"p-tablist")(4,"p-tab",28)(5,"h2",29),E(6),I(7,"translate"),f()(),_(8,xX,4,4,"p-tab",30)(9,EX,4,4,"p-tab",30),I(10,"async"),_(11,IX,4,4,"p-tab",30),I(12,"async"),_(13,SX,4,4,"p-tab",30)(14,TX,4,4,"p-tab",30)(15,DX,4,4,"p-tab",30),I(16,"async"),f(),h(17,"p-tabpanels")(18,"p-tabpanel",28)(19,"section",31),w(20,"div",32),I(21,"safeHtml"),f()(),_(22,MX,3,2,"p-tabpanel",30)(23,RX,4,5,"p-tabpanel",30),I(24,"async"),_(25,PX,4,4,"p-tabpanel",30),I(26,"async"),_(27,NX,2,2,"p-tabpanel",30)(28,FX,3,2,"p-tabpanel",30)(29,LX,4,4,"p-tabpanel",30),I(30,"async"),f()()()}if(t&2){let e,n,o,r,s,a,l=m(2);d(),pn("value",l.activeIndex),d(3),u("value",0),d(2),B(T(7,17,"PRODUCT.TAB_DESCRIPTION")),d(2),u("ngIf",l.data.technicalTable),d(),u("ngIf",((e=T(10,19,l.productKit$))==null?null:e.totalResults)>0),d(2),u("ngIf",((n=T(12,21,l.productAccessories$))==null?null:n.totalResults)>0),d(2),u("ngIf",l.ratingEnabled),d(),u("ngIf",l.data.productFiles.length>0),d(),u("ngIf",((o=T(16,23,l.productMatches$))==null?null:o.totalResults)>0),d(3),u("value",0),d(2),u("innerHTML",T(21,25,l.data.fullDescription),Rt),d(2),u("ngIf",l.data.technicalTable),d(),u("ngIf",((r=T(24,27,l.productKit$))==null?null:r.totalResults)>0),d(2),u("ngIf",((s=T(26,29,l.productAccessories$))==null?null:s.totalResults)>0),d(2),u("ngIf",l.ratingEnabled),d(),u("ngIf",l.data.productFiles.length>0),d(),u("ngIf",((a=T(30,31,l.productMatches$))==null?null:a.totalResults)>0)}}function BX(t,i){if(t&1&&(w(0,"div",32),I(1,"safeHtml")),t&2){let e=m(4);u("innerHTML",T(1,1,e.data.technicalTable),Rt)}}function jX(t,i){if(t&1&&(h(0,"div",53),w(1,"input",65),h(2,"label",66),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60)(12,"section",67),_(13,BX,2,3,"div",40),f()()()()),t&2){let e=m(3);d(3),oe("",T(4,2,"PRODUCT.TAB_TECHNICAL_DATA")," "),d(10),u("ngIf",e.mobileView)}}function $X(t,i){if(t&1){let e=U();h(0,"product-kit",42),R("pageChange",function(o){D(e);let r=m(5);return O(r.pageKitChange(o))}),f()}if(t&2){let e=m(2).ngIf,n=m(3);u("associations",e)("certificate",n.data.calibrationCertificate)}}function HX(t,i){if(t&1&&(h(0,"div"),w(1,"input",69),h(2,"label",70),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60)(12,"section",71),_(13,$X,1,2,"product-kit",72),f()()()()),t&2){let e=m().ngIf;d(3),oe("",T(4,2,"PRODUCT.TAB_PRODUCTS_IN_KIT")," "),d(10),u("ngIf",e.totalResults>0)}}function zX(t,i){if(t&1&&(h(0,"div",53),_(1,HX,14,4,"div",68),f()),t&2){let e=i.ngIf;d(),u("ngIf",e.totalResults>0)}}function UX(t,i){if(t&1){let e=U();h(0,"product-accessories",44),R("pageChange",function(o){D(e);let r=m(5);return O(r.pageAccessoriesChange(o))}),f()}if(t&2){let e=m(2).ngIf;u("associations",e)}}function GX(t,i){if(t&1){let e=U();h(0,"div",74)(1,"input",75),R("change",function(){D(e);let o=m(4);return O(o.handleAccessoriesInputChange())}),f(),h(2,"label",76),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60)(12,"section",71),_(13,UX,1,1,"product-accessories",77),f()()()()}if(t&2){let e=m().ngIf,n=m(3);d(),u("checked",n.activeIndex()===3),d(2),oe("",T(4,3,"PRODUCT.TAB_PRODUCTS_ACCESSORIES")," "),d(10),u("ngIf",e.totalResults>0)}}function WX(t,i){if(t&1&&(h(0,"div",53),_(1,GX,14,5,"div",73),f()),t&2){let e=i.ngIf;d(),u("ngIf",e.totalResults>0)}}function qX(t,i){t&1&&le(0)}function KX(t,i){if(t&1&&(h(0,"section",71),_(1,qX,1,0,"ng-container",47),f()),t&2){m(4);let e=ge(15);d(),u("ngTemplateOutlet",e)}}function QX(t,i){if(t&1){let e=U();h(0,"div",78)(1,"input",79),R("change",function(){D(e);let o=m(3);return O(o.handleTabViewChange({index:4}))}),f(),h(2,"label",80),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60),_(12,KX,2,1,"section",81),f()()()}if(t&2){let e=m(3);d(),u("checked",e.activeIndex()===4),d(2),oe("",T(4,3,"PRODUCT.TAB_PRODUCT_RATING")," "),d(9),u("ngIf",e.activeIndex()==4)}}function YX(t,i){if(t&1&&(h(0,"div",53),w(1,"input",82),h(2,"label",83),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60)(12,"section",71),w(13,"product-files",49),f()()()()),t&2){let e=m(3);d(3),oe("",T(4,2,"PRODUCT.TAB_PRODUCT_FILES")," "),d(10),u("productFiles",e.data.productFiles)}}function ZX(t,i){if(t&1){let e=U();h(0,"product-matches",44),R("pageChange",function(o){D(e);let r=m(5);return O(r.pageMatchesToChange(o))}),f()}if(t&2){let e=m(2).ngIf;u("associations",e)}}function JX(t,i){if(t&1&&(h(0,"div"),w(1,"input",84),h(2,"label",85),E(3),I(4,"translate"),h(5,"div",56)(6,"span",57),E(7,"-"),f(),h(8,"span",58),E(9,"+"),f()()(),h(10,"div",59)(11,"div",60)(12,"section",71),_(13,ZX,1,1,"product-matches",77),f()()()()),t&2){let e=m().ngIf;d(3),oe("",T(4,2,"PRODUCT.TAB_PRODUCTS_MATCHES")," "),d(10),u("ngIf",e.totalResults>0)}}function XX(t,i){if(t&1&&(h(0,"div",53),_(1,JX,14,4,"div",68),f()),t&2){let e=i.ngIf;d(),u("ngIf",e.totalResults>0)}}function eee(t,i){if(t&1&&(h(0,"div",51)(1,"div",52)(2,"div",53),w(3,"input",54),h(4,"label",55),E(5),I(6,"translate"),h(7,"div",56)(8,"span",57),E(9,"-"),f(),h(10,"span",58),E(11,"+"),f()()(),h(12,"div",59)(13,"div",60)(14,"section",61),w(15,"div",32),I(16,"safeHtml"),f()()()(),_(17,jX,14,4,"div",62)(18,zX,2,1,"div",63),I(19,"async"),_(20,WX,2,1,"div",63),I(21,"async"),_(22,QX,13,5,"div",64)(23,YX,14,4,"div",62)(24,XX,2,1,"div",63),I(25,"async"),f()()),t&2){let e=m(2),n=ge(9);d(3),u("checked",!0),d(2),oe("",T(6,12,"PRODUCT.TAB_DESCRIPTION")," "),d(10),u("innerHTML",T(16,14,e.data.fullDescription),Rt),d(2),u("ngIf",e.data.technicalTable),d(),u("ngIf",T(19,16,e.productKit$))("ngIfElse",n),d(2),u("ngIf",T(21,18,e.productAccessories$))("ngIfElse",n),d(2),u("ngIf",e.ratingEnabled),d(),u("ngIf",e.data.productFiles.length>0),d(),u("ngIf",T(25,20,e.productMatches$))("ngIfElse",n)}}function tee(t,i){if(t&1&&(h(0,"div",14)(1,"div",15)(2,"div",16),w(3,"product-gallery",17),f(),Ae(4),f(),_(5,wX,2,1,"div",18),I(6,"async"),_(7,VX,31,33,"div",19),I(8,"async"),_(9,eee,26,22,"div",20),I(10,"async"),f()),t&2){let e=m(),n=ge(9);d(3),u("product",e.data),d(2),u("ngIf",T(6,5,e.productAccessoriesSlider$))("ngIfElse",n),d(2),u("ngIf",!T(8,7,e.renderMobileBehavior)),d(2),u("ngIf",T(10,9,e.renderMobileBehavior))}}function nee(t,i){t&1&&(h(0,"div",86),w(1,"span",87),f())}function iee(t,i){if(t&1){let e=U();h(0,"div",88)(1,"div",89)(2,"div",90),E(3),f(),h(4,"div",91)(5,"button",92),R("click",function(){D(e);let o=m();return O(o.onShowAllAccessoriesClick())}),h(6,"p",93),E(7),I(8,"translate"),f(),w(9,"div",94),f()()()()}if(t&2){let e=i.title;d(3),B(e),d(4),B(T(8,2,"BUTTON.SHOW_ALL"))}}function oee(t,i){if(t&1){let e=U();h(0,"div",88)(1,"div",95)(2,"button",96),R("click",function(){D(e);let o=m();return O(o.onShowAllAccessoriesClick())}),h(3,"p",97),E(4),I(5,"translate"),f(),w(6,"div",94),f()()()}t&2&&(d(4),B(T(5,1,"BUTTON.SHOW_ALL")))}function ree(t,i){if(t&1&&w(0,"adding-review-widget",98),t&2){let e=m();u("productId",e.data.skuId)}}var see={slidesToShow:5,infinite:!0,swipe:!1,arrows:!0,responsive:[{breakpoint:360,settings:{slidesToShow:1.5,rows:1,arrows:!1,swipe:!0}},{breakpoint:576,settings:{slidesToShow:2,rows:1,arrows:!1,swipe:!0}},{breakpoint:768,settings:{slidesToShow:3,rows:1,arrows:!1,swipe:!0}},{breakpoint:992,settings:{slidesToShow:3.5,rows:1,arrows:!0,swipe:!1}},{breakpoint:1200,settings:{slidesToShow:4,arrows:!0,swipe:!1}}]},Q2e=(()=>{class t{set product(e){this.data=e,this.isFirstPage=!0,this.pageAccessoriesSliderChange(0),this.pageAccessoriesChange(0),this.pageKitChange(0),this.pageMatchesToChange(0),this.isDescriptionExpanded=!1,this.isDescriptionBtnVisible=this.data.fullDescription?this.data.fullDescription.length>650:!1}constructor(e,n,o,r,s,a,l,c,p,g,v,y){this.activatedRoute=e,this.categoryService=n,this.enhancedEcommerceService=o,this.schemaOrgMicrodataService=r,this.showSchemaOrgMicrodata=s,this.productService=a,this.viewportScroller=l,this.breakpointObserver=c,this.router=p,this.productResponseConverter=g,this.platformId=v,this.location=y,this.isFirstPage=!0,this.accessoriesSliderPageChangeSubject=new K,this.accessoriesPageChangeSubject=new K,this.kitPageChangeSubject=new K,this.matchesToPageChangeSubject=new K,this.isDescriptionBtnVisible=!0,this.isDescriptionExpanded=!1,this.accessoriesSliderConfig=see,this.activeIndex=Ja(0),this.accessoriesAnchor="productAccessories",this.mobileView=!1,this.productModelAndName="",this.ratingEnabled=!1}setBreadcrumbs(){this.breadcrumbs$=this.activatedRoute.params.pipe(He(()=>this.categoryService.getCategory(this.data.categories[0].categoryId.toString()).pipe(ct(()=>Y(null)),de(e=>e!=null),be(e=>{this.data.mainBanners.size<1&&e.mainBanner.size>0&&(this.data.mainBanners=e.mainBanner)}))))}getAssociationObservable(e,n){return this.activatedRoute.params.pipe(pe(o=>this.productService.getProductAssociations(o.id,e,n).pipe(ct(r=>(console.log(r),Y(null)))).pipe(de(r=>r!=null))))}ngOnInit(){if(this.setBreadcrumbs(),this.data.isHidden){this.router.navigate(["/"],{replaceUrl:!0});return}this.renderMobileBehavior=this.breakpointObserver.observe(["(max-width: 767px)"]).pipe(z(e=>e.matches)),this.router.events.pipe(de(e=>e instanceof Li)).subscribe(e=>{this.accessoriesProductSlider&&this.accessoriesProductSlider.resetSlider(),this.activeIndex.update(n=>0)}),this.viewportScroller.setOffset(()=>[0,0]),this.observeSubscription=this.breakpointObserver.observe(["(max-width: 767px)"]).pipe(be(e=>{e.matches?(this.mobileView=!0,this.accessoriesAnchor="mobileProductAccessories"):(this.mobileView=!1,this.accessoriesAnchor="productAccessories")})).subscribe(),this.productAccessories$=this.accessoriesPageChangeSubject.pipe(Ln(0),He(e=>this.getAssociationObservable("accessories",e))),this.productKit$=this.kitPageChangeSubject.pipe(Ln(0),He(e=>this.getAssociationObservable("kit",e))),this.productMatches$=this.matchesToPageChangeSubject.pipe(Ln(0),He(e=>this.getAssociationObservable("matchesto",e))),this.productAccessoriesSlider$=this.accessoriesSliderPageChangeSubject.pipe(Ln(0),He(e=>this.activatedRoute.params.pipe(pe(n=>this.productService.getProductAssociations(n.id,"accessories",e).pipe(pe(o=>Pe(o.products)),pe(o=>this.productResponseConverter.convert(o)),ii(),ct(o=>(console.log(o),Y([]))))),be(()=>{this.isFirstPage=e<=0})))),this.schema=this.schemaOrgMicrodataService.productCard(this.data),this.enhancedEcommerceService.viewProductCard(this.data),this.productModelAndName=this.prepareProductModelAndName(this.data)}showHideDescription(){this.isDescriptionExpanded=!this.isDescriptionExpanded}ngOnChanges(e){this.productModelAndName=this.prepareProductModelAndName(this.data),this.setBreadcrumbs()}ngOnDestroy(){this.observeSubscription&&this.observeSubscription.unsubscribe()}onShowAllAccessoriesClick(){if(this.tabView){let e=this.tabView.tabs.find(n=>n.viewContainer.element.nativeElement.id==="accessoriesTab");this.activeIndex.update(n=>this.tabView.tabs.indexOf(e)),this.viewportScroller.scrollToAnchor(this.accessoriesAnchor)}}handleAccessoriesInputChange(){this.activeIndex.update(e=>0)}handleTabViewChange(e){this.activeIndex.update(n=>e.index)}pageAccessoriesChange(e){this.accessoriesPageChangeSubject.next(e)}pageKitChange(e){this.kitPageChangeSubject.next(e)}pageMatchesToChange(e){this.matchesToPageChangeSubject.next(e)}pageAccessoriesSliderChange(e){this.accessoriesSliderPageChangeSubject.next(e)}prepareProductModelAndName(e){return e.model!==null?e.model+" "+e.name:e.name}static{this.\u0275fac=function(n){return new(n||t)(b(zt),b(pm),b(ko),b(Cm),b(bm),b(fm),b(Qh),b(Ii),b(ut),b(Bi),b(Fe),b(Ri))}}static{this.\u0275cmp=A({type:t,selectors:[["product-card"]],viewQuery:function(n,o){if(n&1&&(ve(fX,5),ve(mX,5)),n&2){let r;G(r=W())&&(o.tabView=r.first),G(r=W())&&(o.accessoriesProductSlider=r.first)}},inputs:{activeIndex:[1,"activeIndex"],ratingEnabled:"ratingEnabled",product:"product"},outputs:{activeIndex:"activeIndexChange"},standalone:!1,features:[Ke],ngContentSelectors:_X,decls:16,vars:10,consts:[["associationLoader",""],["header",""],["footer",""],["ratingContent",""],["accessoriesProductSlider",""],["tabView",""],[1,"breadcrumb-box","d-none","d-md-block"],[3,"category","productName",4,"ngIf"],[1,"product-banner-container"],["id","mainProductBanner",3,"banner","width","height","mobileWidth","mobileHeight"],[3,"appJsonLd",4,"ngIf"],["class","product-container mb-3",4,"ngIf"],[3,"category","productName"],[3,"appJsonLd"],[1,"product-container","mb-3"],[1,"product-top","row"],[1,"col-lg-6","col-12","product-gallery-center"],[3,"product"],["class","associations",4,"ngIf","ngIfElse"],["id","productAccessories","class","desktop-tabs product-bottom product-description",4,"ngIf"],["class","mobile-tabs-box",4,"ngIf"],[1,"associations"],[3,"products","config","pageChange",4,"ngIf"],[3,"pageChange","products","config"],["ngProjectAs","header",5,["header"],3,"ngTemplateOutlet","ngTemplateOutletContext"],["ngProjectAs","footer",5,["footer"],3,"ngTemplateOutlet"],["id","productAccessories",1,"desktop-tabs","product-bottom","product-description"],[3,"valueChange","onChange","value"],[3,"value"],["id","descriptionTabHeader"],[3,"value",4,"ngIf"],["id","descriptionTab",1,"product-tab-container","ac-container","description-section"],[1,"inner-html",3,"innerHTML"],["id","technicalTabHeader"],["id","kitTabHeader"],["id","accessoriesTabHeader"],["id","ratingTabHeader"],["id","filesTabHeader"],["id","matchesTabHeader"],["id","technicalTab",1,"product-tab-container","ac-container","table-section"],["class","inner-html",3,"innerHTML",4,"ngIf"],["id","kitTab",1,"product-tab-container","ac-container","kit-section"],[3,"pageChange","associations","certificate"],["id","accessoriesTab",1,"product-tab-container","ac-container","accessories-section"],[3,"pageChange","associations"],["id","ratingTab","class","product-tab-container ac-container",4,"ngIf"],["id","ratingTab",1,"product-tab-container","ac-container"],[4,"ngTemplateOutlet"],["id","filesTab",1,"product-tab-container","ac-container","files-section"],[3,"productFiles"],["id","matchesTab",1,"product-tab-container","ac-container","matches-section"],[1,"mobile-tabs-box"],[1,"row"],[1,"col-md-3","col-sm-12","col-xs-12"],["type","checkbox","id","mobile-tab-col-1",3,"checked"],["for","mobile-tab-col-1"],[1,"css-circle"],[1,"css-circle-minus"],[1,"css-circle-plus"],[1,"mobile-tab-col-content"],[1,"product-bottom","product-description"],[1,"ac-container","description-section"],["class","col-md-3 col-sm-12 col-xs-12",4,"ngIf"],["class","col-md-3 col-sm-12 col-xs-12",4,"ngIf","ngIfElse"],["class","col-md-3 col-sm-12 col-xs-12","id","ratingTabHeader",4,"ngIf"],["type","checkbox","id","mobile-tab-col-2"],["for","mobile-tab-col-2"],[1,"ac-container","table-section"],[4,"ngIf"],["type","checkbox","id","mobile-tab-col-3"],["for","mobile-tab-col-3"],[1,"ac-container","files-section"],[3,"associations","certificate","pageChange",4,"ngIf"],["id","mobileProductAccessories",4,"ngIf"],["id","mobileProductAccessories"],["type","checkbox","id","mobile-tab-col-5",3,"change","checked"],["for","mobile-tab-col-5"],[3,"associations","pageChange",4,"ngIf"],["id","ratingTabHeader",1,"col-md-3","col-sm-12","col-xs-12"],["type","checkbox","id","mobile-tab-col-7",3,"change","checked"],["for","mobile-tab-col-7"],["class","ac-container files-section",4,"ngIf"],["type","checkbox","id","mobile-tab-col-4"],["for","mobile-tab-col-4"],["type","checkbox","id","mobile-tab-col-6"],["for","mobile-tab-col-6"],[1,"w-100","text-center","loading","d-flex","align-items-center","justify-content-center","association-loader"],["role","status",1,"sonel-loading","spinner-border","progress-spinner"],[1,"show-all-button"],["ngProjectAs","header",5,["header"],1,"header","w-100"],[1,"d-inline-block","title"],[1,"desktop-button"],[1,"base-button","d-inline-block",3,"click"],[1,"button-label","d-inline-block"],[1,"custom-arrow","d-inline-block"],["ngProjectAs","footer",5,["footer"],1,"mobile-button","text-center"],[1,"base-button","big-button","d-inline-block",3,"click"],[1,"d-inline-block"],["ngProjectAs","ratingComponent",5,["ratingComponent"],3,"productId"]],template:function(n,o){n&1&&(Xe(gX),h(0,"div")(1,"div",6),_(2,vX,1,2,"breadcrumb",7),I(3,"async"),f(),h(4,"div",8),w(5,"banner",9),f(),_(6,bX,1,1,"div",10)(7,tee,11,11,"div",11),f(),_(8,nee,2,0,"ng-template",null,0,we)(10,iee,10,4,"ng-template",null,1,we)(12,oee,7,3,"ng-template",null,2,we)(14,ree,1,1,"ng-template",null,3,we)),n&2&&(d(2),u("ngIf",T(3,8,o.breadcrumbs$)),d(3),u("banner",o.data.mainBanners)("width","1206")("height","200")("mobileWidth","600")("mobileHeight","320"),d(),u("ngIf",o.showSchemaOrgMicrodata),d(),u("ngIf",o.data))},dependencies:[ee,vt,Ul,Yb,Qb,wm,Kb,hR,yR,vR,ym,bR,jR,$R,HR,WR,zm,lt,Le,Ur],styles:['.expand-button[_ngcontent-%COMP%]{margin:0 auto;font-family:Poppins,Open Sans,sans-serif;font-weight:600;background:#029ef0;font-size:14px;border-radius:1.875rem;height:3rem;width:7.063rem;color:#fff;display:flex;justify-content:center;align-items:center}.description-container[_ngcontent-%COMP%]{overflow:hidden;transition:width .6s ease-out,height .6s ease-out}.description-container[_ngcontent-%COMP%]:after{position:absolute;bottom:90px;left:0;z-index:2;width:90%;height:70px;content:"";background:linear-gradient(180deg,#fff0 0,#fff 80%);margin-left:15px;margin-right:15px}.less[_ngcontent-%COMP%]{background:transparent;max-height:200px;height:100%}.expand[_ngcontent-%COMP%]{height:100%;background:none}.association-loader[_ngcontent-%COMP%]{height:565px}.product-tab-container[_ngcontent-%COMP%]{padding:30px;background:#fff}.max-gallery-size[_ngcontent-%COMP%]{max-width:548px!important;max-height:700px!important;margin:auto}.breadcrumb-box[_ngcontent-%COMP%]{padding:20px 0 0}.files-section[_ngcontent-%COMP%]{padding-top:35px}@media (max-width: 630px){div.product-top[_ngcontent-%COMP%]{padding:0 20px}div.product-bottom[_ngcontent-%COMP%]{margin-left:0;margin-right:0}section.table-section[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}section.description-section[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}}@media (max-width: 420px){.associations[_ngcontent-%COMP%] div.title[_ngcontent-%COMP%]{font-size:22px;line-height:32px;margin-bottom:unset}.associations[_ngcontent-%COMP%] div.header[_ngcontent-%COMP%]{margin-bottom:unset}}.associations[_ngcontent-%COMP%]{background:#f7f7f7!important;padding-top:5px;display:block}.associations[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#16272f;font-size:20px;font-weight:700;line-height:22px;letter-spacing:2px;padding-right:12px;display:inline-block;vertical-align:middle}.associations[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:28px;vertical-align:middle}.associations[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#003463;font-size:12px;font-weight:700;line-height:18px;margin:unset;display:inline-block;vertical-align:middle}[_ngcontent-%COMP%]:root{background-color:#fff}.product-container[_ngcontent-%COMP%]{background-color:#fff;margin-bottom:26px}.product-top[_ngcontent-%COMP%]{padding:0 20px;background-color:#fff;margin:0}.associations[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}@media (max-width: 800px){.product-top[_ngcontent-%COMP%]{padding:0 20px}.ac-container[_ngcontent-%COMP%]{margin-bottom:10px}.associations[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}@media (max-width: 767px){.associations[_ngcontent-%COMP%]{display:none}} .product-description h1, .product-description h2, .product-description h3, .product-description h4, .product-description h5, .product-description h6, .product-description ul, .product-description li{color:#16272f;text-transform:none} .product-description .p-tabs{padding:0} .product-description .p-tablist .p-tablist-content{overflow-y:auto;background-color:#f7f7f7} .product-description .p-tabs .p-tablist-tab-list{background-color:transparent;margin-bottom:2px;border-bottom:unset} .product-description .p-tabs .p-tabpanels{color:#16272f} .product-description .p-tabs .p-tablist-tab-list .p-tab.p-tab-active, .product-description .p-tabs .p-tablist-tab-list .p-tab.p-tab-active:hover{background-color:transparent;border:none;border-bottom:2px solid #003463;margin-right:0;transition:.5s ease} .product-description .p-tabs .p-tablist-tab-list .p-tab{cursor:pointer;background-color:transparent;border:none;border-bottom:2px solid #f7f7f7;margin-right:0} .product-description .p-tabs .p-tablist-tab-list .p-tab.ui-state-default.ui-corner-top:hover{background-color:transparent;border:none;border-bottom:2px solid #003463;transition:.5s ease} .product-description .p-tabs .p-tablist-tab-list .p-tab{padding:20px 24px} .product-description .p-tabs .p-tablist-tab-list .p-tab h2{color:#003463;font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px;font-weight:600;text-transform:none;letter-spacing:0;margin:0} .product-description .ui-widget{line-height:21px;font-family:Poppins,Open Sans,sans-serif} .product-description .p-tabpanels{padding:0;border:none} .product-description .ac-container{width:100%;padding-bottom:30px} .product-description .ac-container label{position:relative;z-index:20;display:block;min-height:63px;cursor:pointer;background:#fff;line-height:27px;padding-top:30px;padding-bottom:9px;margin:unset} .product-description .ac-container article{background:#fff;overflow:hidden;height:0;position:relative;z-index:10} .product-description .ac-container input{display:none} .product-description .tab label{display:flex;justify-content:space-between;position:relative;border-bottom:1px #C2C9CC solid} .product-description .tab label:after{content:url(/assets/svg/plus-icon.svg)} .product-description .tab input[type=checkbox]:checked+label:after{content:url(/assets/svg/minus-icon.svg)} .product-description .ac-container input:checked~article.ac-content{height:auto} .product-description .title-bar{color:#003463;font-size:18px;line-height:27px;font-family:Poppins,Open Sans,sans-serif} .product-description .title-bar, .product-description .title-bar>p{font-weight:700} .product-description .text{color:#16272f;line-height:21px;font-family:Poppins,Open Sans,sans-serif;margin:0} .product-description .regular-text{font-weight:400} .product-description .bold-text{font-weight:600} .product-description .accordion-content{padding-top:20px;padding-bottom:30px} .product-description p.hidden{display:none} .product-description .table-container{margin-top:20px;margin-bottom:20px}@media (max-width: 767px){ .product-description .table-responsive-md table{width:100%;min-width:unset} .product-description .table-responsive-md table thead{display:none} .product-description .table-responsive-md table tr{display:grid;grid-auto-flow:row;height:auto!important;width:100%!important} .product-description .table-responsive-md table tr td{display:block;position:relative;padding-left:45%;min-height:1rem;text-align:left} .product-description .table-responsive-md table tr td:empty{display:none} .product-description .table-responsive-md table tr td:not(:first-of-type:last-of-type):before{position:absolute;left:0;top:0;bottom:0;width:40%;padding:5px 0;margin:0 5px;content:attr(data-header);text-align:right;color:#000;max-height:2.8em;line-height:1.2em;text-overflow:ellipsis;overflow-y:clip;overflow-x:visible;border-radius:8px;height:100%;transition:all .2s;display:block;-webkit-box-orient:vertical;-webkit-line-clamp:2} .product-description .table-responsive-md table tr td:not([data-header=""]):after{content:attr(data-header);display:none;position:absolute;background-color:#fff;border:1px solid #000;padding:5px;line-height:1.2em;top:100%;z-index:1;font-size:12px;color:#000} .product-description .table-responsive-md table tr td:focus:after, .product-description .table-responsive-md table tr td:active:after{display:block}} .product-description table{padding:0!important;width:100%!important;text-align:center;overflow-x:hidden;min-width:600px;table-layout:fixed} .product-description tr{height:32px!important;width:auto!important} .product-description th{background-color:#59656b;color:#fff;border:2px solid white;font-family:Poppins,Open Sans,sans-serif;font-weight:600;padding:unset;font-size:14px;line-height:21px;width:auto!important;height:auto!important} .product-description td{color:#59656b;border:2px solid white;font-family:Poppins,Open Sans,sans-serif;font-weight:400;font-size:14px;line-height:21px;width:auto!important} .product-description tr:nth-child(odd){background:#fff} .product-description tr:nth-child(2n){background:#f7f7f7}@media (max-width: 1210px){ .product-description iframe{width:100%;min-width:250px}}@media (max-width: 991px){ .product-description .col-separator{display:none}}@media (max-width: 575px){ .product-description .btn{margin-left:auto;margin-right:auto}}.product-description[_ngcontent-%COMP%] .product-tabs[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:14px;line-height:21px} .product-description ul{margin-bottom:15px} .product-description section{background-color:#fff!important} .product-description .product-tabs{font-weight:unset} .product-description .product-tabs ul{font-weight:unset;margin-bottom:14px} .product-description h4{font-size:18px;line-height:27px;font-family:Poppins,Open Sans,sans-serif;font-weight:700;color:#16272f} .product-description p{font-size:14px;line-height:21px!important;font-family:Poppins,Open Sans,sans-serif;font-weight:400;color:#16272f;margin-bottom:14px!important} .product-description .btn{text-transform:none;font-family:Poppins,Open Sans,sans-serif;font-weight:600;height:3rem;width:315px;font-size:14px;border-radius:1.875rem;cursor:pointer;margin-top:10px;margin-bottom:10px} .product-description .blue-button{color:#fff!important;background:#029ef0;text-align:center;vertical-align:middle} .product-description .white-button{color:#003463!important;background:#fff;border:#003463 1px solid;text-align:center} .product-description a{font-size:14px;line-height:21px;color:#003463;font-weight:600} .product-description a:link{text-decoration:none} .product-description a:visited{text-decoration:none} .product-description .separator-horizontal{height:50px} .product-description .container{background:#fff;padding:40px 0 80px} .product-description .col-separator{max-width:120px} .product-description .col{padding:0;width:523px} .product-description iframe{max-width:523px;max-height:294px} .product-description .row{margin-left:0;margin-right:0} .product-description .nav-tabs{background-color:#f7f7f7;border:unset} .product-description .nav-tabs .nav-link{border-top-right-radius:unset;border-top-left-radius:unset;border:unset;border-bottom:2px solid #F7F7F7} .product-description .nav-tabs .nav-link.active, .product-description .nav-tabs .nav-item.show .nav-link{background-color:unset;border-color:unset} .product-description .nav-tabs .nav-link:hover, .product-description .nav-tabs .nav-link:focus{border-color:unset} .product-description .nav-link{align-items:center!important;padding:20px 24px;height:60px;color:#003463!important;text-decoration:none!important}.vertical-title[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.table-section[_ngcontent-%COMP%]{padding-top:0}.description-section[_ngcontent-%COMP%]{padding-top:30px}[_nghost-%COMP%] .product-banner-container .banner{padding-top:unset}@media (min-width: 768px){[_nghost-%COMP%] .product-banner-container .banner{padding-top:20px}}.desktop-tabs[_ngcontent-%COMP%]{display:inline}.mobile-tabs-box[_ngcontent-%COMP%]{display:none}@media (max-width: 767.98px){.desktop-tabs[_ngcontent-%COMP%]{display:none}.mobile-tabs-box[_ngcontent-%COMP%]{display:block}}.mobile-tabs-box[_ngcontent-%COMP%]{background:#f7f7f7;width:100%;margin:0 auto;padding-bottom:84px;position:relative;overflow:hidden}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.mobile-tabs-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:700!important;margin:61px 0 14px;display:block;-webkit-user-select:none;user-select:none}.mobile-tabs-box[_ngcontent-%COMP%] .mobile-tab-col-content[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.mobile-tab-col-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important}.mobile-tab-col-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;line-height:21px;font-weight:400!important;padding:29px 0 15px;display:block}.mobile-tab-col-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.mobile-tabs-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:block}.mobile-tabs-box[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 0 15px}.css-circle[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:60px;opacity:1;transform:rotate(0);float:right;display:none}.css-circle[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%]{position:relative;left:8px;top:-1px;font-weight:400!important;display:none;font-size:18px}.css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{position:relative;left:7px;top:-1px;font-weight:400!important;display:none;font-size:18px}@media (max-width: 991.98px){.product-tab-container[_ngcontent-%COMP%]{padding:20px}}@media (max-width: 767.98px){.product-tab-container[_ngcontent-%COMP%]{padding:10px}.mobile-tabs-box[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:0}.mobile-tab-col-content[_ngcontent-%COMP%]{padding-top:20px}.mobile-tabs-box[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;border-bottom:1px solid #59656B;margin:0;padding-bottom:10px}.css-circle[_ngcontent-%COMP%], .css-circle[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:block}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-plus[_ngcontent-%COMP%]{display:none}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] .css-circle-minus[_ngcontent-%COMP%]{display:block}.mobile-tabs-box[_ngcontent-%COMP%] .mobile-tab-col-content[_ngcontent-%COMP%]{height:0;overflow:hidden}.mobile-tabs-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .mobile-tab-col-content[_ngcontent-%COMP%]{height:auto}}@media (max-width: 1100px){.show-all-button[_ngcontent-%COMP%] div.header[_ngcontent-%COMP%]{margin-bottom:28px}}@media (max-width: 871px){.show-all-button[_ngcontent-%COMP%] div.desktop-button[_ngcontent-%COMP%]{display:none}.show-all-button[_ngcontent-%COMP%] div.mobile-button[_ngcontent-%COMP%]{display:block}.show-all-button[_ngcontent-%COMP%] div.title[_ngcontent-%COMP%]{line-height:32px;margin-bottom:unset}}@media (max-width: 420px){.show-all-button[_ngcontent-%COMP%] div.title[_ngcontent-%COMP%]{font-size:22px;line-height:32px;margin-bottom:unset}.show-all-button[_ngcontent-%COMP%] p.button-label[_ngcontent-%COMP%]{font-size:14px}.show-all-button[_ngcontent-%COMP%] div.header[_ngcontent-%COMP%]{margin-bottom:unset}}.show-all-button[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;color:#16272f;font-size:28px;font-weight:700;line-height:27px;letter-spacing:2px;padding-right:12px;display:inline-block;vertical-align:middle}.show-all-button[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:28px;vertical-align:middle}.show-all-button[_ngcontent-%COMP%] .base-button[_ngcontent-%COMP%]{margin:0 auto;width:auto;height:24px;border-color:#003463;background:#fff;text-align:center}.show-all-button[_ngcontent-%COMP%] .custom-arrow[_ngcontent-%COMP%]{margin:unset;height:9px;width:17px;background:url(/assets/svg/arrow.svg) no-repeat center;transform:rotate(270deg);display:inline-block;vertical-align:middle}.show-all-button[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{font-family:Poppins,Open Sans,sans-serif;font-size:12px;font-weight:700}.show-all-button[_ngcontent-%COMP%] .big-button[_ngcontent-%COMP%]{height:48px;width:90%;padding:unset;margin-top:-15px;margin-bottom:25px;text-align:center}.show-all-button[_ngcontent-%COMP%] .mobile-button[_ngcontent-%COMP%]{display:none}.show-all-button[_ngcontent-%COMP%] .desktop-button[_ngcontent-%COMP%]{display:inline-block;width:max-content}']})}}return t})();var aee=["*"];var lee=["dialog"];var qR={animation:!0,transitionTimerDelayMs:5},cee=(()=>{class t{constructor(){this.animation=qR.animation}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function dee(t){let{transitionDelay:i,transitionDuration:e}=window.getComputedStyle(t),n=parseFloat(i),o=parseFloat(e);return(n+o)*1e3}function KR(t){return typeof t=="string"}function I1(t){return t!=null}function uee(t){return t&&t.then}function QR(t){return(t||document.body).getBoundingClientRect()}function pee(t){return i=>new Te(e=>{let n=s=>t.run(()=>e.next(s)),o=s=>t.run(()=>e.error(s)),r=()=>t.run(()=>e.complete());return i.subscribe({next:n,error:o,complete:r})})}var hee=()=>{},{transitionTimerDelayMs:fee}=qR,Km=new Map,Ks=(t,i,e,n)=>{let o=n.context||{},r=Km.get(i);if(r)switch(n.runningTransition){case"continue":return ft;case"stop":t.run(()=>r.transition$.complete()),o=Object.assign(r.context,o),Km.delete(i)}let s=e(i,n.animation,o)||hee;if(!n.animation||window.getComputedStyle(i).transitionProperty==="none")return t.run(()=>s()),Y(void 0).pipe(pee(t));let a=new K,l=new K,c=a.pipe(Cg(!0));Km.set(i,{transition$:a,complete:()=>{l.next(),l.complete()},context:o});let p=dee(i);return t.runOutsideAngular(()=>{let g=Ut(i,"transitionend").pipe(ke(c),de(({target:y})=>y===i)),v=zo(p+fee).pipe(ke(c));yg(v,g,l).pipe(ke(c)).subscribe(()=>{Km.delete(i),t.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()};var YR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var ZR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var JR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})(),XR=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var CRe=(()=>{let t=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2,i=()=>/Android/.test(navigator.userAgent);return typeof navigator<"u"?!!navigator.userAgent&&(t()||i()):!1})();var mee=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function eP(t){let i=Array.from(t.querySelectorAll(mee)).filter(e=>e.tabIndex!==-1);return[i[0],i[i.length-1]]}var gee=(t,i,e,n=!1)=>{t.runOutsideAngular(()=>{let o=Ut(i,"focusin").pipe(ke(e),z(r=>r.target));Ut(i,"keydown").pipe(ke(e),de(r=>r.key==="Tab"),Gu(o)).subscribe(([r,s])=>{let[a,l]=eP(i);(s===a||s===i)&&r.shiftKey&&(l.focus(),r.preventDefault()),s===l&&!r.shiftKey&&(a.focus(),r.preventDefault())}),n&&Ut(i,"click").pipe(ke(e),Gu(o),z(r=>r[1])).subscribe(r=>r.focus())})};var wRe=new Date(1882,10,12),xRe=new Date(2174,10,25);var ERe=1e3*60*60*24;var D1=1080,_ee=24*D1,yee=12*D1+793,IRe=29*_ee+yee,SRe=11*D1+204;var tP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var nP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})(),vee=(()=>{class t{constructor(){this._ngbConfig=C(cee),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(e){this._animation=e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Xl=class{constructor(i,e,n){this.nodes=i,this.viewRef=e,this.componentRef=n}};var bee=(()=>{class t{constructor(){this._document=C(De)}hide(){let e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),n=this._document.body,o=n.style,{overflow:r,paddingRight:s}=o;if(e>0){let a=parseFloat(window.getComputedStyle(n).paddingRight);o.paddingRight=`${a+e}px`}return o.overflow="hidden",()=>{e>0&&(o.paddingRight=s),o.overflow=r}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Cee=(()=>{class t{constructor(){this._nativeElement=C(ye).nativeElement,this._zone=C(ue),this._injector=C(Qe)}ngOnInit(){On({mixedReadWrite:()=>Ks(this._zone,this._nativeElement,(e,n)=>{n&&QR(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return Ks(this._zone,this._nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(n,o){n&2&&(re("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),tt("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(n,o){},encapsulation:2})}}return t})(),Qm=class{update(i){}close(i){}dismiss(i){}},wee=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"],xee=["animation","backdropClass"],S1=class{_applyWindowOptions(i,e){wee.forEach(n=>{I1(e[n])&&(i[n]=e[n])})}_applyBackdropOptions(i,e){xee.forEach(n=>{I1(e[n])&&(i[n]=e[n])})}update(i){this._applyWindowOptions(this._windowCmptRef.instance,i),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,i)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(ke(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(ke(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(i,e,n,o){this._windowCmptRef=i,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=o,this._closed=new K,this._dismissed=new K,this._hidden=new K,i.instance.dismissEvent.subscribe(r=>{this.dismiss(r)}),this.result=new Promise((r,s)=>{this._resolve=r,this._reject=s}),this.result.then(null,()=>{})}close(i){this._windowCmptRef&&(this._closed.next(i),this._resolve(i),this._removeModalElements())}_dismiss(i){this._dismissed.next(i),this._reject(i),this._removeModalElements()}dismiss(i){if(this._windowCmptRef)if(!this._beforeDismiss)this._dismiss(i);else{let e=this._beforeDismiss();uee(e)?e.then(n=>{n!==!1&&this._dismiss(i)},()=>{}):e!==!1&&this._dismiss(i)}}_removeModalElements(){let i=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Y(void 0);i.subscribe(()=>{let{nativeElement:n}=this._windowCmptRef.location;n.parentNode.removeChild(n),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){let{nativeElement:n}=this._backdropCmptRef.location;n.parentNode.removeChild(n),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Uo(i,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}},T1=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}(T1||{}),Eee=(()=>{class t{constructor(){this._document=C(De),this._elRef=C(ye),this._zone=C(ue),this._injector=C(Qe),this._closed$=new K,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new F,this.shown=new K,this.hidden=new K}get fullscreenClass(){return this.fullscreen===!0?" modal-fullscreen":KR(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,On({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){let{nativeElement:e}=this._elRef,n={animation:this.animation,runningTransition:"stop"},o=Ks(this._zone,e,()=>e.classList.remove("show"),n),r=Ks(this._zone,this._dialogEl.nativeElement,()=>{},n),s=Uo(o,r);return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){let e={animation:this.animation,runningTransition:"continue"},n=Ks(this._zone,this._elRef.nativeElement,(r,s)=>{s&&QR(r),r.classList.add("show")},e),o=Ks(this._zone,this._dialogEl.nativeElement,()=>{},e);Uo(n,o).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){let{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{Ut(e,"keydown").pipe(ke(this._closed$),de(o=>o.key==="Escape")).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(T1.ESC))}):this.backdrop==="static"&&this._bumpBackdrop()});let n=!1;Ut(this._dialogEl.nativeElement,"mousedown").pipe(ke(this._closed$),be(()=>n=!1),He(()=>Ut(e,"mouseup").pipe(ke(this._closed$),xt(1))),de(({target:o})=>e===o)).subscribe(()=>{n=!0}),Ut(e,"click").pipe(ke(this._closed$)).subscribe(({target:o})=>{e===o&&(this.backdrop==="static"?this._bumpBackdrop():this.backdrop===!0&&!n&&this._zone.run(()=>this.dismiss(T1.BACKDROP_CLICK))),n=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){let{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){let n=e.querySelector("[ngbAutofocus]"),o=eP(e)[0];(n||o||e).focus()}}_restoreFocus(){let e=this._document.body,n=this._elWithFocus,o;n&&n.focus&&e.contains(n)?o=n:o=e,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){this.backdrop==="static"&&Ks(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(n,o){if(n&1&&ve(lee,7),n&2){let r;G(r=W())&&(o._dialogEl=r.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(n,o){n&2&&(N("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy)("role",o.role),re("modal d-block"+(o.windowClass?" "+o.windowClass:"")),tt("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:aee,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(n,o){n&1&&(Xe(),h(0,"div",1,0)(2,"div",2),Ae(3),f()()),n&2&&re("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:[`ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden} `],encapsulation:2})}}return t})(),Iee=(()=>{class t{constructor(){this._applicationRef=C(Qt),this._injector=C(Qe),this._environmentInjector=C(Lt),this._document=C(De),this._scrollBar=C(bee),this._activeWindowCmptHasChanged=new K,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new F;let e=C(ue);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){let n=this._windowCmpts[this._windowCmpts.length-1];gee(e,n.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(n.location.nativeElement)}})}_restoreScrollBar(){let e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,n,o){let r=o.container instanceof HTMLElement?o.container:I1(o.container)?this._document.querySelector(o.container):this._document.body;if(!r)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();let s=new Qm;e=o.injector||e;let a=e.get(Lt,null)||this._environmentInjector,l=this._getContentRef(e,a,n,s,o),c=o.backdrop!==!1?this._attachBackdrop(r):void 0,p=this._attachWindowComponent(r,l.nodes),g=new S1(p,l,c,o.beforeDismiss);return this._registerModalRef(g),this._registerWindowCmpt(p),g.hidden.pipe(xt(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),s.close=v=>{g.close(v)},s.dismiss=v=>{g.dismiss(v)},s.update=v=>{g.update(v)},g.update(o),this._modalRefs.length===1&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),p.changeDetectorRef.detectChanges(),g}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(n=>n.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let n=Mr(Cee,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(e,n){let o=Mr(Eee,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:n});return this._applicationRef.attachView(o.hostView),e.appendChild(o.location.nativeElement),o}_getContentRef(e,n,o,r,s){return o?o instanceof Tt?this._createFromTemplateRef(o,r):KR(o)?this._createFromString(o):this._createFromComponent(e,n,o,r,s):new Xl([])}_createFromTemplateRef(e,n){let o={$implicit:n,close(s){n.close(s)},dismiss(s){n.dismiss(s)}},r=e.createEmbeddedView(o);return this._applicationRef.attachView(r),new Xl([r.rootNodes],r)}_createFromString(e){let n=this._document.createTextNode(`${e}`);return new Xl([[n]])}_createFromComponent(e,n,o,r,s){let a=Qe.create({providers:[{provide:Qm,useValue:r}],parent:e}),l=Mr(o,{environmentInjector:n,elementInjector:a}),c=l.location.nativeElement;return s.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Xl([[c]],l.hostView,l)}_setAriaHidden(e){let n=e.parentElement;n&&e!==this._document.body&&(Array.from(n.children).forEach(o=>{o!==e&&o.nodeName!=="SCRIPT"&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,n)=>{e?n.setAttribute("aria-hidden",e):n.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){let n=()=>{let o=this._modalRefs.indexOf(e);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(n,n)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{let n=this._windowCmpts.indexOf(e);n>-1&&(this._windowCmpts.splice(n,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),See=(()=>{class t{constructor(){this._injector=C(Qe),this._modalStack=C(Iee),this._config=C(vee)}open(e,n={}){let o=k(Ce(k({},this._config),{animation:this._config.animation}),n);return this._modalStack.open(this._injector,e,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),iP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({providers:[See]})}}return t})();var oP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var rP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var sP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var aP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var lP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var cP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var dP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var uP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var pP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var TRe=new M("live announcer delay",{providedIn:"root",factory:()=>100});var hP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})();var fP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})(),Tee=[YR,ZR,JR,XR,tP,nP,iP,oP,fP,rP,sP,aP,lP,cP,dP,uP,pP,hP],mP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[Tee,YR,ZR,JR,XR,tP,nP,iP,oP,fP,rP,sP,aP,lP,cP,dP,uP,pP,hP]})}}return t})();var ARe=(()=>{class t{constructor(){this.closeModal=new F}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["notification-message-modal"]],inputs:{additionalInfo:"additionalInfo"},outputs:{closeModal:"closeModal"},standalone:!1,decls:15,vars:3,consts:[[1,"notification-message-modal"],[1,"notification-message-modal-container"],[1,"notification-message-modal-header"],[1,"row"],[1,"col-md-11","col-sm-10","col-xs-10","col-lg-11","center-items"],["src","assets/svg/notification-modal-info.svg",1,"notification-message-modal-info"],[1,"notification-message-modal-txt"],[1,"col-md-1","col-sm-2","col-xs-2","col-lg-1","responsive-mode"],[1,"background-under-the-close-icon",3,"click"],["src","assets/svg/x-close.svg",1,"notification-message-modal-header-close"],[1,"notification-message-overflow"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div"),w(6,"img",5),f(),h(7,"div")(8,"p",6),E(9),I(10,"translate"),f()()(),h(11,"div",7)(12,"div",8),R("click",function(s){return o.closeModal.emit(s)}),w(13,"img",9),f()()()()()(),w(14,"div",10)),n&2&&(d(9),B(T(10,1,o.additionalInfo)))},dependencies:[At,Le],styles:[".center-items[_ngcontent-%COMP%]{display:flex;align-items:center}.clear[_ngcontent-%COMP%]{clear:both}.notification-message-modal[_ngcontent-%COMP%]{position:fixed;top:40px;z-index:9999;width:100%}.notification-message-modal-container[_ngcontent-%COMP%]{background-color:#fff;max-width:780px;margin:0 auto;position:relative}.notification-message-modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #D1D6D8;padding:24px}.notification-message-modal-header-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;width:85%;float:left}.background-under-the-close-icon[_ngcontent-%COMP%]{border-radius:50%;width:15px;height:15px;background:#f7f7f7;position:relative;float:right;cursor:pointer}.notification-message-modal-header-close[_ngcontent-%COMP%]{width:18px;height:18px;position:absolute;top:-1px;left:-1px}.notification-message-modal-info[_ngcontent-%COMP%]{position:absolute;top:1px;left:2px;border-radius:50%;width:50px;height:50px;background:#f7f7f7;position:relative;float:left;margin-right:12px}.notification-message-modal-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;line-height:20px}.notification-message-overflow[_ngcontent-%COMP%]{background:#000;opacity:.4;width:100%;height:100%;position:fixed;z-index:9998;display:block}.notification-message-modal-header[_ngcontent-%COMP%] .responsive-mode[_ngcontent-%COMP%]{position:absolute;right:0;top:10px}.notification-message-modal-container[_ngcontent-%COMP%]{margin:0 7px}.notification-message-modal-header-txt[_ngcontent-%COMP%]{font-size:15px}.notification-message-modal-txt[_ngcontent-%COMP%]{font-size:14px;display:table-cell}@media (min-width: 768px){.notification-message-modal[_ngcontent-%COMP%]{position:fixed;top:40px;z-index:9999;max-width:90%;margin-left:40px;margin-right:40px}.notification-message-modal-container[_ngcontent-%COMP%]{background-color:#fff;max-width:780px;margin:0 auto}.notification-message-modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #D1D6D8;padding:24px}.notification-message-modal-header-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;width:85%;float:left}.background-under-the-close-icon[_ngcontent-%COMP%]{border-radius:50%;width:15px;height:15px;background:#f7f7f7;position:relative;float:right;cursor:pointer}.notification-message-modal-header-close[_ngcontent-%COMP%]{width:18px;height:18px;position:absolute;top:-1px;left:-1px}.notification-message-modal-info[_ngcontent-%COMP%]{position:absolute;top:1px;left:2px;border-radius:50%;width:50px;height:50px;background:#f7f7f7;position:relative;float:left;margin-right:12px}.notification-message-modal-txt[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-weight:500;font-size:17px;text-align:left;line-height:20px}.notification-message-overflow[_ngcontent-%COMP%]{background:#000;opacity:.4;width:100%;height:100%;position:fixed;z-index:9998;display:block}}@media (min-width: 992px){.notification-message-modal[_ngcontent-%COMP%]{position:fixed;top:40px;z-index:9999;max-width:100%;margin-left:unset;margin-right:unset}}"]})}}return t})();function Dee(t,i){if(t&1&&(h(0,"div"),w(1,"div",2),I(2,"safeHtml"),f()),t&2){let e=i.ngIf;d(),u("innerHTML",T(2,1,e),Rt)}}var jRe=(()=>{class t{constructor(e,n,o){this.contentService=e,this.activatedRoute=n,this.router=o,this.EMPTY_PAGE=`${Bb}/404`,this.contentObservable=this.activatedRoute.params.pipe(Eg(r=>this.contentService.getContent(r.uri).pipe(z(s=>{if(!s||!s.contentBody)throw Error("null or empty");return s.contentBody}),ct(s=>(console.log(s),s.status===404&&r.uri!=="404"&&this.router.navigate([this.EMPTY_PAGE]),ft)))),ct(()=>(this.router.navigate([""]),ft)))}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(NO),b(zt),b(ut))}}static{this.\u0275cmp=A({type:t,selectors:[["content"]],standalone:!1,decls:3,vars:3,consts:[[1,"main-frame"],[4,"ngIf"],[3,"innerHTML"]],template:function(n,o){n&1&&(h(0,"div",0),_(1,Dee,3,3,"div",1),I(2,"async"),f()),n&2&&(d(),u("ngIf",T(2,1,o.contentObservable)))},dependencies:[ee,lt,Ur],styles:[".main-frame[_ngcontent-%COMP%]{margin-bottom:26px}@media (min-width: 1360px){.main-frame[_ngcontent-%COMP%]{max-width:1280px}}"]})}}return t})();function Oee(t,i){if(t&1&&(h(0,"option",5),E(1),I(2,"translate"),f()),t&2){let e=i.$implicit;u("ngValue",e),d(),B(T(2,2,e.label))}}function Mee(t,i){if(t&1){let e=U();h(0,"div",1)(1,"label",2),E(2),I(3,"translate"),f(),h(4,"select",3),R("ngModelChange",function(o){D(e);let r=m();return O(r.onSortChange(o))}),_(5,Oee,3,4,"option",4),f()()}if(t&2){let e=i.ngIf,n=m();d(2),oe("",T(3,3,"PRODUCTS_LIST.SORT"),": "),d(2),u("ngModel",n.currentSort),d(),u("ngForOf",e)}}var KRe=(()=>{class t{constructor(e){this.route=e,this.onSelectChange=new F}set sortingOption(e){this.sort$=Ho(()=>Y(e)).pipe(pe(n=>this.route.queryParams.pipe(z(o=>{let r=o.desc?o.desc:"";return this.currentSort=n.find(s=>{let a=s.isDesc==null?"":""+s.isDesc;return s.sortKey===o.sort&&a===r}),this.currentSort||(this.currentSort=n[0]),n}))))}onSortChange(e){this.onSelectChange.emit(e)}static{this.\u0275fac=function(n){return new(n||t)(b(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["sorting-select"]],inputs:{sortingOption:"sortingOption"},outputs:{onSelectChange:"onSelectChange"},standalone:!1,decls:2,vars:3,consts:[["class","float-md-end d-flex flex-wrap justify-content-sm-end align-items-center",4,"ngIf"],[1,"float-md-end","d-flex","flex-wrap","justify-content-sm-end","align-items-center"],["for","sortingSelect",1,"mb-0","align-self-end","sort-label","pe-1"],["id","sortingSelect",1,"products-sort-option",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"]],template:function(n,o){n&1&&(_(0,Mee,6,5,"div",0),I(1,"async")),n&2&&u("ngIf",T(1,1,o.sort$))},dependencies:[at,ee,PD,AD,vf,Rn,gi,lt,Le],styles:[".sort-label[_ngcontent-%COMP%]{color:#59656b}.products-sort-option[_ngcontent-%COMP%]{border:0;background:transparent;color:#003463;height:20px}.align-self-end[_ngcontent-%COMP%]{line-height:unset}#sortingSelect[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(/assets/svg/arrow.svg) right/12px no-repeat transparent;background-position-y:8px;padding-right:20px}"]})}}return t})();var YRe=(()=>{class t{constructor(){}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=A({type:t,selectors:[["browser-unsupported"]],standalone:!1,decls:15,vars:12,consts:[[1,"background","d-flex","flex-column","justify-content-between"],[1,"header"],[1,"title"],[1,"description"],[1,"img-container"],["src","/assets/svg/not-supported.svg",1,"img",3,"alt"],[1,"footer"],[1,"footer-description"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"div",1)(2,"h1",2),E(3),I(4,"translate"),f(),h(5,"p",3),E(6),I(7,"translate"),f()(),h(8,"div",4),w(9,"img",5),I(10,"translate"),f(),h(11,"div",6)(12,"p",7),E(13),I(14,"translate"),f()()()),n&2&&(d(3),B(T(4,4,"UNSUPPORTED_BROWSER.TITLE")),d(3),B(T(7,6,"UNSUPPORTED_BROWSER.DESCRIPTION")),d(3),$e("alt",T(10,8,"UNSUPPORTED_BROWSER.IMG_ALT")),d(4),B(T(14,10,"UNSUPPORTED_BROWSER.FOOTER")))},dependencies:[At,Le],styles:[".background[_ngcontent-%COMP%]{margin:0;background:#f9f9f9;height:100vh;width:100vw}.header[_ngcontent-%COMP%]{padding:10px 40px;text-align:center;color:#003463}.title[_ngcontent-%COMP%]{font-size:34px;font-weight:600;margin-top:.67em;margin-bottom:.67em}.description[_ngcontent-%COMP%]{font-size:16px;margin-top:1em;margin-bottom:1em;line-height:22px}h1[_ngcontent-%COMP%]{text-transform:none;color:#003463}.img-container[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding:20px 0;width:60%;text-align:center}.img[_ngcontent-%COMP%]{width:60vw}.footer[_ngcontent-%COMP%]{background:#fff;padding:15px}.footer-description[_ngcontent-%COMP%]{text-align:center;font-size:18px;font-weight:600;color:#17272f;margin-top:1em;margin-bottom:1em}@media (min-width: 768px){.header[_ngcontent-%COMP%]{padding:70px 50px 10px}}"]})}}return t})();var gP=(()=>{class t{constructor(e){this.enhancedEcommerceService=e,this.routingContext=new Map([[Zr,"category"],[yn,"search"],["","slider"]])}getAction(){return gm}getTag(){return"product_route"}execute(e){let n=this.getClickedFromContext(e.path);n&&e.product instanceof xl&&this.enhancedEcommerceService.sendProductClick(e.product,e.position,n)}getClickedFromContext(e){return this.routingContext.get(e)||null}static{this.\u0275fac=function(n){return new(n||t)(L(ko))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();function Ree(){return window}var Ym=(()=>{class t{get nativeWindow(){return Ree()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yP=(()=>{class t{constructor(e,n,o,r){this.googleTagManagerId=e,this.windowRefService=n,this.document=o,this.platformId=r,this.isLoaded=!1,this.gtmId=e,this.addGtmToDom()}getDataLayer(){if(We(this.platformId)){let e=this.windowRefService.nativeWindow;return e.dataLayer=e.dataLayer||[],e.dataLayer}return[]}pushOnDataLayer(e){this.getDataLayer().push(e)}addGtmToDom(){if(this.gtmId!==""){if(this.isLoaded)return;let e=this.document;this.pushOnDataLayer({"gtm.start":new Date().getTime(),event:"gtm.js"});let n=e.createElement("script");n.id="GTMscript",n.async=!0,n.src=this.applyGtmQueryParams("//www.googletagmanager.com/gtm.js"),e.head.insertBefore(n,e.head.firstChild);let o=e.createElement("iframe");o.setAttribute("src",this.applyGtmQueryParams("//www.googletagmanager.com/ns.html")),o.style.width="0",o.style.height="0",o.style.display="none",o.style.visibility="hidden";let r=e.createElement("noscript");r.id="GTMiframe",r.appendChild(o),e.body.insertBefore(r,e.body.firstChild),this.isLoaded=!0}}applyGtmQueryParams(e){let n=[`id=${this.gtmId}`];return e.indexOf("?")===-1&&(e+="?"),e+n.join("&")}static{this.\u0275fac=function(n){return new(n||t)(L("googleTagManagerId"),L(Ym),L(De),L(Fe))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vP=(()=>{class t{constructor(e,n){this.cartManagementService=e,this.gtmService=n,this.cartSubscription$=this.cartManagementService.observeCart().pipe(be(o=>{o.items.length>0&&(this.currentCart=o)})).subscribe()}sendAddProductToCart(e,n,o){this.gtmService.getDataLayer().push({event:"add_to_cart",ecommerce:{value:e.priceGross,currency:e.currency,items:[{id:e.id,google_business_vertical:"retail"}],add:{actionField:{list:o},products:[{name:e.name,id:e.defaultSkuCode,price:e.salePriceNet,quantity:n,brand:e.brand,category:e.categories&&e.categories.length>0?e.categories[0].categoryName:null}]}}})}sendRemoveProductFromCart(e,n,o){this.gtmService.getDataLayer().push({event:"remove_from_cart",ecommerce:{remove:{actionField:{list:o},products:[{name:e.name,id:e.defaultSkuCode,price:e.salePriceNet,quantity:n}]}}})}viewProductCard(e){this.gtmService.getDataLayer().push({event:"view_item",ecommerce:{value:e.priceGross,currency:e.currency,items:[{id:e.id,google_business_vertical:"retail"}],detail:{actionField:{list:"Product card"},products:[{name:e.name,id:e.defaultSkuCode,price:e.priceNet,category:e.categories[0].categoryName,quantity:e.amount,brand:e.brand}]}}})}sendPurchase(e,n){let o=this.currentCart.total.deliveryCost?this.currentCart.total.deliveryCost:0;this.gtmService.getDataLayer().push({event:"purchase",ecommerce:{value:this.currentCart.items.reduce((r,s)=>(r+=s.grossPrice*s.quantity,r),0),currency:this.currentCart.currencyCode,items:[this.currentCart.items.map(r=>({id:r.productSkuCode,google_business_vertical:"retail"}))],purchase:{actionField:{id:e,revenue:n,tax:this.currentCart.total.totalTax,shipping:o},products:this.currentCart.items.map(r=>({id:r.productSkuCode,name:r.productName,quantity:r.quantity,price:r.price}))}}})}beginCheckout(){this.gtmService.getDataLayer().push({event:"begin_checkout",ecommerce:{checkout:{products:this.currentCart.items?.map(e=>({id:e.productSkuCode,name:e.productName,quantity:e.quantity,price:e.price}))}}})}sendCheckoutStep(e,n){this.gtmService.getDataLayer().push({event:"checkout",ecommerce:{checkout:{actionField:{step:e},products:this.currentCart.items.map(o=>this.convertCartItem(o))}}})}sendCheckoutOption(e,n){this.gtmService.getDataLayer().push({event:"checkoutOption",ecommerce:{checkout_option:{actionField:{step:e,option:n}}}})}sendProductClick(e,n,o){this.gtmService.getDataLayer().push({event:"productClick",ecommerce:{click:{actionField:{list:o},products:[{name:e.name,id:e.defaultSkuCode,price:e.salePriceNet,brand:e.brand,category:e.categories&&e.categories.length>0?e.categories[0].categoryName:null,position:n+1}]}}})}ngOnDestroy(){this.cartSubscription$&&this.cartSubscription$.unsubscribe()}convertCartItem(e){return{name:e.productName,id:e.productSkuCode,price:e.netPrice,quantity:e.quantity}}static{this.\u0275fac=function(n){return new(n||t)(L(qr),L(yP))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var O1=new M("GtmService"),bP=(()=>{class t{constructor(e,n){this.environment=e,this.origin=n}getGtmIdByHost(){let e=[{hostname:this.environment.hostname.pl,gtmId:this.environment.gtmId.pl},{hostname:this.environment.hostname.en,gtmId:this.environment.gtmId.en},{hostname:this.environment.hostname.it,gtmId:this.environment.gtmId.it},{hostname:this.environment.hostname.no,gtmId:this.environment.gtmId.no},{hostname:this.environment.hostname.sg,gtmId:this.environment.gtmId.sg},{hostname:this.environment.hostname.in,gtmId:this.environment.gtmId.in},{hostname:this.environment.hostname.cl,gtmId:this.environment.gtmId.cl},{hostname:this.environment.hostname.pe,gtmId:this.environment.gtmId.pe},{hostname:this.environment.hostname.de,gtmId:this.environment.gtmId.de}],n=this.origin.split(":")[0],o=e.find(r=>r.hostname===n);return o?o.gtmId:""}static{this.\u0275fac=function(n){return new(n||t)(L(mn),L("ORIGIN_URL"))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var CP=(()=>{class t{constructor(e,n){this.windowRefService=e,this.document=n,this.isLoaded=!1}addMetricoolToDom(){if(this.isLoaded)return;let e=this.document,n=e.createElement("script");n.id="METRICOOLscript",n.async=!0,n.type="text/javascript",n.text=` function loadScript(a) { var b=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.src="https://tracker.metricool.com/resources/be.js",c.onreadystatechange=a,c.onload=a,b.appendChild(c) } loadScript(function(){beTracker.t( {hash:"20fdee03c84fa1ece555c96624426dbb"} )}); `,e.head.insertBefore(n,e.head.firstChild),this.isLoaded=!0}static{this.\u0275fac=function(n){return new(n||t)(L(Ym),L(De))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var wP=new M("MetricoolAnalyticService"),xP=(()=>{class t{constructor(e){this.metricoolAnalyticService=e}injectMetricool(){this.metricoolAnalyticService.addMetricoolToDom()}static{this.\u0275fac=function(n){return new(n||t)(L(CP))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();function Aee(t){return t.getGtmIdByHost()}var EP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({providers:[{provide:O1,useClass:bP},{provide:"googleTagManagerId",useFactory:Aee,deps:[O1]},{provide:wP,useClass:xP},{provide:_m,useClass:f2},{provide:ko,useClass:vP},{provide:mm,useClass:gP,multi:!0}],imports:[Se]})}}return t})();function Nee(t,i){if(t&1&&(w(0,"div",1),I(1,"safeHtml")),t&2){let e=m();u("innerHTML",T(1,1,e.categorySeoDescription),Rt)}}var zPe=(()=>{class t{set category(e){this.categorySubject.next(e)}constructor(e){this.translateService=e,this.destroySubject=new K,this.categorySubject=new K,this.getCategorySeoDescription().pipe(ke(this.destroySubject)).subscribe(n=>this.categorySeoDescription=n)}ngOnInit(){}getCategorySeoDescription(){return Kn(this.categorySubject.asObservable(),this.translateService.onLangChange()).pipe(z(([e,n])=>{let o=e.attributes.find(r=>r.attributeCode==="CATEGORY_SEO_DESCRIPTION_"+n);return o?o.val:null}),ct(e=>(console.error(e),Y(null))))}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.categorySubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(gn))}}static{this.\u0275cmp=A({type:t,selectors:[["category-seo-desc"]],inputs:{category:"category"},standalone:!1,decls:1,vars:1,consts:[["class","category-seo-description-container",3,"innerHTML",4,"ngIf"],[1,"category-seo-description-container",3,"innerHTML"]],template:function(n,o){n&1&&_(0,Nee,2,3,"div",0),n&2&&u("ngIf",o.categorySeoDescription)},dependencies:[ee,Ur],styles:["[_nghost-%COMP%] .category-seo-description-container{width:100%;color:#000;font-size:10px;text-align:justify;font-family:Poppins,Open Sans,sans-serif;font-weight:400;padding-bottom:20px}[_nghost-%COMP%] .category-seo-description-container h1, [_nghost-%COMP%] .category-seo-description-container h2, [_nghost-%COMP%] .category-seo-description-container h3, [_nghost-%COMP%] .category-seo-description-container h4, [_nghost-%COMP%] .category-seo-description-container h5, [_nghost-%COMP%] .category-seo-description-container h6{color:#000;font-size:12px;font-family:Poppins,Open Sans,sans-serif;text-transform:none;margin-bottom:0;margin-top:8px}[_nghost-%COMP%] .category-seo-description-container label{color:#000;font-size:10px;font-family:Poppins,Open Sans,sans-serif;font-weight:700;cursor:pointer;display:inline}[_nghost-%COMP%] .category-seo-description-container p{display:inline;color:#000;font-size:10px;font-family:Poppins,Open Sans,sans-serif;font-weight:400}[_nghost-%COMP%] .category-seo-description-container span{display:inline;color:#000;font-size:10px;font-family:Poppins,Open Sans,sans-serif;font-weight:400}[_nghost-%COMP%] .category-seo-description-container input#read-more{display:none}[_nghost-%COMP%] .category-seo-description-container .more{height:0;overflow:hidden}[_nghost-%COMP%] .category-seo-description-container input#read-more:checked~label{display:none}[_nghost-%COMP%] .category-seo-description-container input#read-more:checked~.more{height:auto;display:inline}"]})}}return t})();function Fee(t,i){if(t&1&&(h(0,"h1",1),E(1),f()),t&2){let e=m();d(),B(e.categorySeoName)}}var YPe=(()=>{class t{set category(e){this.categorySubject.next(e)}constructor(e){this.translateService=e,this.destroySubject=new K,this.categorySubject=new K,this.getCategorySeoName().pipe(ke(this.destroySubject)).subscribe(n=>this.categorySeoName=n)}ngOnInit(){}getCategorySeoName(){return Kn(this.categorySubject.asObservable(),this.translateService.onLangChange()).pipe(z(([e,n])=>{let o=e.attributes.find(r=>r.attributeCode==="CATEGORY_SEO_NAME_"+n);return o?o.val:e.name}),ct(e=>(console.error(e),Y(null))))}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.categorySubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(gn))}}static{this.\u0275cmp=A({type:t,selectors:[["category-seo-name"]],inputs:{category:"category"},standalone:!1,decls:1,vars:1,consts:[["class","about word-break",4,"ngIf"],[1,"about","word-break"]],template:function(n,o){n&1&&_(0,Fee,2,1,"h1",0),n&2&&u("ngIf",o.categorySeoName)},dependencies:[ee],styles:[".about[_ngcontent-%COMP%]{color:#16272f;display:flex;font-size:18px;line-height:27px;font-weight:700;font-family:Poppins,sans-serif;letter-spacing:.72px;text-transform:none;padding-top:5px}"]})}}return t})();var nu=t=>({height:t}),Lee=(t,i,e)=>({"p-select-option":!0,"p-select-option-selected":t,"p-disabled":i,"p-focus":e}),M1=t=>({$implicit:t});function Vee(t,i){t&1&&w(0,"CheckIcon",4),t&2&&u("styleClass","p-select-option-check-icon")}function Bee(t,i){t&1&&w(0,"BlankIcon",4),t&2&&u("styleClass","p-select-option-blank-icon")}function jee(t,i){if(t&1&&(se(0),_(1,Vee,1,1,"CheckIcon",3)(2,Bee,1,1,"BlankIcon",3),ae()),t&2){let e=m();d(),u("ngIf",e.selected),d(),u("ngIf",!e.selected)}}function $ee(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e,n=m();d(),B((e=n.label)!==null&&e!==void 0?e:"empty")}}function Hee(t,i){t&1&&le(0)}var zee=["container"],Uee=["filter"],Gee=["focusInput"],Wee=["editableInput"],qee=["items"],Kee=["scroller"],Qee=["overlay"],Yee=["firstHiddenFocusableEl"],Zee=["lastHiddenFocusableEl"],Jee=()=>({class:"p-select-clear-icon"}),Xee=()=>({class:"p-select-dropdown-icon"}),TP=t=>({options:t}),DP=(t,i)=>({$implicit:t,options:i}),ete=()=>({});function tte(t,i){if(t&1&&(se(0),E(1),ae()),t&2){let e=m(2);d(),B(e.label()==="p-emptylabel"?"\xA0":e.label())}}function nte(t,i){if(t&1&&le(0,23),t&2){let e=m(2);u("ngTemplateOutlet",e.selectedItemTemplate)("ngTemplateOutletContext",ce(2,M1,e.selectedOption))}}function ite(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e=m(3);d(),B(e.label()==="p-emptylabel"?"\xA0":e.label())}}function ote(t,i){if(t&1&&_(0,ite,2,1,"span",17),t&2){let e=m(2);u("ngIf",!e.selectedOption)}}function rte(t,i){if(t&1){let e=U();h(0,"span",21,3),R("focus",function(o){D(e);let r=m();return O(r.onInputFocus(o))})("blur",function(o){D(e);let r=m();return O(r.onInputBlur(o))})("keydown",function(o){D(e);let r=m();return O(r.onKeyDown(o))}),_(2,tte,2,1,"ng-container",19)(3,nte,1,4,"ng-container",22)(4,ote,1,1,"ng-template",null,4,we),f()}if(t&2){let e,n=ge(5),o=m();u("ngClass",o.inputClass)("pTooltip",o.tooltip)("tooltipPosition",o.tooltipPosition)("positionStyle",o.tooltipPositionStyle)("tooltipStyleClass",o.tooltipStyleClass)("pAutoFocus",o.autofocus),N("aria-disabled",o.disabled)("id",o.inputId)("aria-label",o.ariaLabel||(o.label()==="p-emptylabel"?void 0:o.label()))("aria-labelledby",o.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",(e=o.overlayVisible)!==null&&e!==void 0?e:!1)("aria-controls",o.overlayVisible?o.id+"_list":null)("tabindex",o.disabled?-1:o.tabindex)("aria-activedescendant",o.focused?o.focusedOptionId:void 0)("aria-required",o.required)("required",o.required),d(2),u("ngIf",!o.selectedItemTemplate)("ngIfElse",n),d(),u("ngIf",o.selectedItemTemplate&&o.selectedOption)}}function ste(t,i){if(t&1){let e=U();h(0,"input",24,5),R("input",function(o){D(e);let r=m();return O(r.onEditableInput(o))})("keydown",function(o){D(e);let r=m();return O(r.onKeyDown(o))})("focus",function(o){D(e);let r=m();return O(r.onInputFocus(o))})("blur",function(o){D(e);let r=m();return O(r.onInputBlur(o))}),f()}if(t&2){let e=m();u("ngClass",e.inputClass)("disabled",e.disabled)("pAutoFocus",e.autofocus),N("id",e.inputId)("maxlength",e.maxlength)("placeholder",e.modelValue()===void 0||e.modelValue()===null?e.placeholder():void 0)("aria-label",e.ariaLabel||(e.label()==="p-emptylabel"?void 0:e.label()))("aria-activedescendant",e.focused?e.focusedOptionId:void 0)}}function ate(t,i){if(t&1){let e=U();h(0,"TimesIcon",26),R("click",function(o){D(e);let r=m(2);return O(r.clear(o))}),f()}t&2&&N("data-pc-section","clearicon")}function lte(t,i){}function cte(t,i){t&1&&_(0,lte,0,0,"ng-template")}function dte(t,i){if(t&1){let e=U();h(0,"span",26),R("click",function(o){D(e);let r=m(2);return O(r.clear(o))}),_(1,cte,1,0,null,27),f()}if(t&2){let e=m(2);N("data-pc-section","clearicon"),d(),u("ngTemplateOutlet",e.clearIconTemplate)("ngTemplateOutletContext",Ht(3,Jee))}}function ute(t,i){if(t&1&&(se(0),_(1,ate,1,1,"TimesIcon",25)(2,dte,2,4,"span",25),ae()),t&2){let e=m();d(),u("ngIf",!e.clearIconTemplate),d(),u("ngIf",e.clearIconTemplate)}}function pte(t,i){t&1&&le(0)}function hte(t,i){if(t&1&&(se(0),_(1,pte,1,0,"ng-container",28),ae()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.loadingIconTemplate)}}function fte(t,i){if(t&1&&w(0,"span",31),t&2){let e=m(3);u("ngClass","p-select-loading-icon pi-spin "+e.loadingIcon)}}function mte(t,i){t&1&&w(0,"span",32),t&2&&re("p-select-loading-icon pi pi-spinner pi-spin")}function gte(t,i){if(t&1&&(se(0),_(1,fte,1,1,"span",29)(2,mte,1,2,"span",30),ae()),t&2){let e=m(2);d(),u("ngIf",e.loadingIcon),d(),u("ngIf",!e.loadingIcon)}}function _te(t,i){if(t&1&&(se(0),_(1,hte,2,1,"ng-container",17)(2,gte,3,2,"ng-container",17),ae()),t&2){let e=m();d(),u("ngIf",e.loadingIconTemplate),d(),u("ngIf",!e.loadingIconTemplate)}}function yte(t,i){if(t&1&&w(0,"span",36),t&2){let e=m(3);u("ngClass",e.dropdownIcon)}}function vte(t,i){t&1&&w(0,"ChevronDownIcon",37),t&2&&u("styleClass","p-select-dropdown-icon")}function bte(t,i){if(t&1&&(se(0),_(1,yte,1,1,"span",34)(2,vte,1,1,"ChevronDownIcon",35),ae()),t&2){let e=m(2);d(),u("ngIf",e.dropdownIcon),d(),u("ngIf",!e.dropdownIcon)}}function Cte(t,i){}function wte(t,i){t&1&&_(0,Cte,0,0,"ng-template")}function xte(t,i){if(t&1&&(h(0,"span",38),_(1,wte,1,0,null,27),f()),t&2){let e=m(2);d(),u("ngTemplateOutlet",e.dropdownIconTemplate)("ngTemplateOutletContext",Ht(2,Xee))}}function Ete(t,i){if(t&1&&_(0,bte,3,2,"ng-container",17)(1,xte,2,3,"span",33),t&2){let e=m();u("ngIf",!e.dropdownIconTemplate),d(),u("ngIf",e.dropdownIconTemplate)}}function Ite(t,i){t&1&&le(0)}function Ste(t,i){t&1&&le(0)}function Tte(t,i){if(t&1&&(se(0),_(1,Ste,1,0,"ng-container",27),ae()),t&2){let e=m(3);d(),u("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",ce(2,TP,e.filterOptions))}}function Dte(t,i){t&1&&w(0,"SearchIcon")}function Ote(t,i){}function Mte(t,i){t&1&&_(0,Ote,0,0,"ng-template")}function Rte(t,i){if(t&1&&(h(0,"span"),_(1,Mte,1,0,null,28),f()),t&2){let e=m(4);d(),u("ngTemplateOutlet",e.filterIconTemplate)}}function Pte(t,i){if(t&1){let e=U();h(0,"p-iconfield")(1,"input",45,10),R("input",function(o){D(e);let r=m(3);return O(r.onFilterInputChange(o))})("keydown",function(o){D(e);let r=m(3);return O(r.onFilterKeyDown(o))})("blur",function(o){D(e);let r=m(3);return O(r.onFilterBlur(o))}),f(),h(3,"p-inputicon"),_(4,Dte,1,0,"SearchIcon",17)(5,Rte,2,1,"span",17),f()()}if(t&2){let e=m(3);d(),u("value",e._filterValue()||"")("variant",e.variant),N("placeholder",e.filterPlaceholder)("aria-owns",e.id+"_list")("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.focusedOptionId),d(3),u("ngIf",!e.filterIconTemplate),d(),u("ngIf",e.filterIconTemplate)}}function kte(t,i){if(t&1){let e=U();h(0,"div",44),R("click",function(o){return D(e),O(o.stopPropagation())}),_(1,Tte,2,4,"ng-container",19)(2,Pte,6,8,"ng-template",null,9,we),f()}if(t&2){let e=ge(3),n=m(2);d(),u("ngIf",n.filterTemplate)("ngIfElse",e)}}function Ate(t,i){t&1&&le(0)}function Nte(t,i){if(t&1&&_(0,Ate,1,0,"ng-container",27),t&2){let e=i.$implicit,n=i.options;m(2);let o=ge(9);u("ngTemplateOutlet",o)("ngTemplateOutletContext",Ge(2,DP,e,n))}}function Fte(t,i){t&1&&le(0)}function Lte(t,i){if(t&1&&_(0,Fte,1,0,"ng-container",27),t&2){let e=i.options,n=m(4);u("ngTemplateOutlet",n.loaderTemplate)("ngTemplateOutletContext",ce(2,TP,e))}}function Vte(t,i){t&1&&(se(0),_(1,Lte,1,4,"ng-template",null,12,we),ae())}function Bte(t,i){if(t&1){let e=U();h(0,"p-scroller",46,11),R("onLazyLoad",function(o){D(e);let r=m(2);return O(r.onLazyLoad.emit(o))}),_(2,Nte,1,5,"ng-template",null,2,we)(4,Vte,3,0,"ng-container",17),f()}if(t&2){let e=m(2);li(ce(8,nu,e.scrollHeight)),u("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),d(4),u("ngIf",e.loaderTemplate)}}function jte(t,i){t&1&&le(0)}function $te(t,i){if(t&1&&(se(0),_(1,jte,1,0,"ng-container",27),ae()),t&2){m();let e=ge(9),n=m();d(),u("ngTemplateOutlet",e)("ngTemplateOutletContext",Ge(3,DP,n.visibleOptions(),Ht(2,ete)))}}function Hte(t,i){if(t&1&&(h(0,"span"),E(1),f()),t&2){let e=m(2).$implicit,n=m(3);d(),B(n.getOptionGroupLabel(e.optionGroup))}}function zte(t,i){t&1&&le(0)}function Ute(t,i){if(t&1&&(se(0),h(1,"li",50),_(2,Hte,2,1,"span",17)(3,zte,1,0,"ng-container",27),f(),ae()),t&2){let e=m(),n=e.$implicit,o=e.index,r=m().options,s=m(2);d(),u("ngStyle",ce(5,nu,r.itemSize+"px")),N("id",s.id+"_"+s.getOptionIndex(o,r)),d(),u("ngIf",!s.groupTemplate),d(),u("ngTemplateOutlet",s.groupTemplate)("ngTemplateOutletContext",ce(7,M1,n.optionGroup))}}function Gte(t,i){if(t&1){let e=U();se(0),h(1,"p-dropdownItem",51),R("onClick",function(o){D(e);let r=m().$implicit,s=m(3);return O(s.onOptionSelect(o,r))})("onMouseEnter",function(o){D(e);let r=m().index,s=m().options,a=m(2);return O(a.onOptionMouseEnter(o,a.getOptionIndex(r,s)))}),f(),ae()}if(t&2){let e=m(),n=e.$implicit,o=e.index,r=m().options,s=m(2);d(),u("id",s.id+"_"+s.getOptionIndex(o,r))("option",n)("checkmark",s.checkmark)("selected",s.isSelected(n))("label",s.getOptionLabel(n))("disabled",s.isOptionDisabled(n))("template",s.itemTemplate)("focused",s.focusedOptionIndex()===s.getOptionIndex(o,r))("ariaPosInset",s.getAriaPosInset(s.getOptionIndex(o,r)))("ariaSetSize",s.ariaSetSize)}}function Wte(t,i){if(t&1&&_(0,Ute,4,9,"ng-container",17)(1,Gte,2,10,"ng-container",17),t&2){let e=i.$implicit,n=m(3);u("ngIf",n.isOptionGroup(e)),d(),u("ngIf",!n.isOptionGroup(e))}}function qte(t,i){if(t&1&&E(0),t&2){let e=m(4);oe(" ",e.emptyFilterMessageLabel," ")}}function Kte(t,i){t&1&&le(0,null,14)}function Qte(t,i){if(t&1&&_(0,Kte,2,0,"ng-container",28),t&2){let e=m(4);u("ngTemplateOutlet",e.emptyFilterTemplate||e.emptyTemplate)}}function Yte(t,i){if(t&1&&(h(0,"li",52),_(1,qte,1,1)(2,Qte,1,1,"ng-container"),f()),t&2){let e=m().options,n=m(2);u("ngStyle",ce(2,nu,e.itemSize+"px")),d(),ci(!n.emptyFilterTemplate&&!n.emptyTemplate?1:2)}}function Zte(t,i){if(t&1&&E(0),t&2){let e=m(4);oe(" ",e.emptyMessageLabel," ")}}function Jte(t,i){t&1&&le(0)}function Xte(t,i){if(t&1&&_(0,Jte,1,0,"ng-container",28),t&2){let e=m(4);u("ngTemplateOutlet",e.emptyTemplate)}}function ene(t,i){if(t&1&&(h(0,"li",52),_(1,Zte,1,1)(2,Xte,1,1,"ng-container"),f()),t&2){let e=m().options,n=m(2);u("ngStyle",ce(2,nu,e.itemSize+"px")),d(),ci(n.emptyTemplate?2:1)}}function tne(t,i){if(t&1&&(h(0,"ul",47,13),_(2,Wte,2,2,"ng-template",48)(3,Yte,3,4,"li",49)(4,ene,3,4,"li",49),f()),t&2){let e=i.$implicit,n=i.options,o=m(2);li(n.contentStyle),u("ngClass",n.contentStyleClass),N("id",o.id+"_list")("aria-label",o.listLabel),d(2),u("ngForOf",e),d(),u("ngIf",o.filterValue&&o.isEmpty()),d(),u("ngIf",!o.filterValue&&o.isEmpty())}}function nne(t,i){t&1&&le(0)}function ine(t,i){if(t&1){let e=U();h(0,"div",39)(1,"span",40,6),R("focus",function(o){D(e);let r=m();return O(r.onFirstHiddenFocus(o))}),f(),_(3,Ite,1,0,"ng-container",28)(4,kte,4,2,"div",41),h(5,"div",42),_(6,Bte,5,10,"p-scroller",43)(7,$te,2,6,"ng-container",17)(8,tne,5,8,"ng-template",null,7,we),f(),_(10,nne,1,0,"ng-container",28),h(11,"span",40,8),R("focus",function(o){D(e);let r=m();return O(r.onLastHiddenFocus(o))}),f()()}if(t&2){let e=m();re(e.panelStyleClass),u("ngClass","p-select-overlay p-component")("ngStyle",e.panelStyle),d(),N("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),d(2),u("ngTemplateOutlet",e.headerTemplate),d(),u("ngIf",e.filter),d(),Yt("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),d(),u("ngIf",e.virtualScroll),d(),u("ngIf",!e.virtualScroll),d(3),u("ngTemplateOutlet",e.footerTemplate),d(),N("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var one=({dt:t})=>` .p-select { display: inline-flex; cursor: pointer; position: relative; user-select: none; background: ${t("select.background")}; border: 1px solid ${t("select.border.color")}; transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")}, outline-color ${t("select.transition.duration")}, box-shadow ${t("select.transition.duration")}; border-radius: ${t("select.border.radius")}; outline-color: transparent; box-shadow: ${t("select.shadow")}; } .p-select:not(.p-disabled):hover { border-color: ${t("select.hover.border.color")}; } .p-select:not(.p-disabled).p-focus { border-color: ${t("select.focus.border.color")}; box-shadow: ${t("select.focus.ring.shadow")}; outline: ${t("select.focus.ring.width")} ${t("select.focus.ring.style")} ${t("select.focus.ring.color")}; outline-offset: ${t("select.focus.ring.offset")}; } .p-select.p-variant-filled { background: ${t("select.filled.background")}; } .p-select.p-variant-filled.p-focus { background: ${t("select.filled.focus.background")}; } .p-select.p-disabled { opacity: 1; background: ${t("select.disabled.background")}; } .p-select-clear-icon { position: absolute; top: 50%; margin-top: -0.5rem; color: ${t("select.clear.icon.color")}; right: ${t("select.dropdown.width")}; } .p-select-dropdown { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; color: ${t("select.dropdown.color")}; width: ${t("select.dropdown.width")}; border-start-end-radius: ${t("select.border.radius")}; border-end-end-radius: ${t("select.border.radius")}; } .p-select-label { display: block; white-space: nowrap; overflow: hidden; flex: 1 1 auto; width: 1%; padding: ${t("select.padding.y")} ${t("select.padding.x")}; text-overflow: ellipsis; cursor: pointer; color: ${t("select.color")}; background: transparent; border: 0 none; outline: 0 none; } .p-select-label.p-placeholder { color: ${t("select.placeholder.color")}; } .p-select:has(.p-select-clear-icon) .p-select-label { padding-right: calc(1rem + ${t("select.padding.x")}); } .p-select.p-disabled .p-select-label { color: ${t("select.disabled.color")}; } .p-select-label-empty { overflow: hidden; opacity: 0; } input.p-select-label { cursor: default; } .p-select .p-select-overlay { min-width: 100%; } .p-select-overlay { position: absolute; top: 0; left: 0; background: ${t("select.overlay.background")}; color: ${t("select.overlay.color")}; border: 1px solid ${t("select.overlay.border.color")}; border-radius: ${t("select.overlay.border.radius")}; box-shadow: ${t("select.overlay.shadow")}; } .p-select-header { padding: ${t("select.list.header.padding")}; } .p-select-filter { width: 100%; } .p-select-list-container { overflow: auto; } .p-select-option-group { cursor: auto; margin: 0; padding: ${t("select.option.group.padding")}; background: ${t("select.option.group.background")}; color: ${t("select.option.group.color")}; font-weight: ${t("select.option.group.font.weight")}; } .p-select-list { margin: 0; padding: 0; list-style-type: none; padding: ${t("select.list.padding")}; gap: ${t("select.list.gap")}; display: flex; flex-direction: column; } .p-select-option { cursor: pointer; font-weight: normal; white-space: nowrap; position: relative; overflow: hidden; display: flex; align-items: center; padding: ${t("select.option.padding")}; border: 0 none; color: ${t("select.option.color")}; background: transparent; transition: background ${t("select.transition.duration")}, color ${t("select.transition.duration")}, border-color ${t("select.transition.duration")}, box-shadow ${t("select.transition.duration")}, outline-color ${t("select.transition.duration")}; border-radius: ${t("select.option.border.radius")}; } .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { background: ${t("select.option.focus.background")}; color: ${t("select.option.focus.color")}; } .p-select-option.p-select-option-selected { background: ${t("select.option.selected.background")}; color: ${t("select.option.selected.color")}; } .p-select-option.p-select-option-selected.p-focus { background: ${t("select.option.selected.focus.background")}; color: ${t("select.option.selected.focus.color")}; } .p-select-option-check-icon { position: relative; margin-inline-start: ${t("select.checkmark.gutter.start")}; margin-inline-end: ${t("select.checkmark.gutter.end")}; color: ${t("select.checkmark.color")}; } .p-select-empty-message { padding: ${t("select.empty.message.padding")}; } .p-select-fluid { display: flex; } /*For PrimeNG*/ .p-dropdown.ng-invalid.ng-dirty, .p-select.ng-invalid.ng-dirty { outline: 1px solid ${t("select.invalid.border.color")}; outline-offset: 0; } .p-dropdown.ng-invalid.ng-dirty .p-dropdown-label.p-placeholder, .p-select.ng-invalid.ng-dirty .p-select-label.p-placeholder { color: ${t("select.invalid.placeholder.color")}; } `,rne={root:({instance:t})=>["p-dropdown p-select p-component p-inputwrapper",{"p-disabled":t.disabled,"p-variant-filled":t.variant==="filled"||t.config.inputVariant()==="filled"||t.config.inputStyle()==="filled","p-focus":t.focused,"p-inputwrapper-filled":t.modelValue()!==void 0&&t.modelValue()!==null&&!t.modelValue().length,"p-inputwrapper-focus":t.focused||t.overlayVisible,"p-select-open":t.overlayVisible,"p-select-fluid":t.hasFluid,"p-select-sm p-inputfield-sm":t.size==="small","p-select-lg p-inputfield-lg":t.size==="large"}],label:({instance:t,props:i})=>["p-select-label",{"p-placeholder":!i.editable&&t.label===i.placeholder,"p-select-label-empty":!i.editable&&!t.$slots.value&&(t.label==="p-emptylabel"||t.label.length===0)}],clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:({instance:t,props:i,state:e,option:n,focusedOption:o})=>["p-select-option",{"p-select-option-selected":t.isSelected(n)&&i.highlightOnSelect,"p-focus":e.focusedOptionIndex===o,"p-disabled":t.isOptionDisabled(n)}],optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},IP=(()=>{class t extends nt{name="select";theme=one;classes=rne;static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275prov=S({token:t,factory:t.\u0275fac})}return t})(),SP;SP||(SP={});var sne={provide:un,useExisting:st(()=>R1),multi:!0},ane=(()=>{class t extends Ue{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;checkmark;onClick=new F;onMouseEnter=new F;onOptionClick(e){this.onClick.emit(e)}onOptionMouseEnter(e){this.onMouseEnter.emit(e)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Q(t)))(o||t)}})();static \u0275cmp=A({type:t,selectors:[["p-dropdownItem"]],inputs:{id:"id",option:"option",selected:[2,"selected","selected",H],focused:[2,"focused","focused",H],label:"label",disabled:[2,"disabled","disabled",H],visible:[2,"visible","visible",H],itemSize:[2,"itemSize","itemSize",ot],ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkmark:[2,"checkmark","checkmark",H]},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},standalone:!1,features:[Z],decls:4,vars:22,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],[3,"styleClass"]],template:function(n,o){n&1&&(h(0,"li",0),R("click",function(s){return o.onOptionClick(s)})("mouseenter",function(s){return o.onOptionMouseEnter(s)}),_(1,jee,3,2,"ng-container",1)(2,$ee,2,1,"span",1)(3,Hee,1,0,"ng-container",2),f()),n&2&&(u("id",o.id)("ngStyle",ce(14,nu,o.itemSize+"px"))("ngClass",eo(16,Lee,o.selected,o.disabled,o.focused)),N("aria-label",o.label)("aria-setsize",o.ariaSetSize)("aria-posinset",o.ariaPosInset)("aria-selected",o.selected)("data-p-focused",o.focused)("data-p-highlight",o.selected)("data-p-disabled",o.disabled),d(),u("ngIf",o.checkmark),d(),u("ngIf",!o.template),d(),u("ngTemplateOutlet",o.template)("ngTemplateOutletContext",ce(20,M1,o.option)))},dependencies:()=>[_t,ee,vt,fn,co,hd,fd],encapsulation:2})}return t})(),R1=(()=>{class t extends Ue{zone;filterService;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;set placeholder(e){this._placeholder.set(e)}get placeholder(){return this._placeholder.asReadonly()}loadingIcon;filterPlaceholder;filterLocale;variant;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;checkmark=!1;dropdownIcon;loading=!1;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!0;fluid;get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.log("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.log("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.log("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.log("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.log("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(e){setTimeout(()=>{this._filterValue.set(e)})}get options(){return this._options()}set options(e){dd(e,this._options())||this._options.set(e)}onChange=new F;onFilter=new F;onFocus=new F;onBlur=new F;onClick=new F;onShow=new F;onHide=new F;onClear=new F;onLazyLoad=new F;_componentStyle=C(IP);containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;get hostClass(){return this._componentStyle.classes.root({instance:this}).map(n=>typeof n=="string"?n:Object.keys(n).filter(o=>n[o]).join(" ")).join(" ")+" "+this.styleClass}get hostStyle(){return this.style}_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;loadingIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=ht(null);_placeholder=ht(void 0);modelValue=ht(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;selectedOptionUpdated;_filterValue=ht(null);searchValue;searchTimeout;preventModelTouched;focusedOptionIndex=ht(-1);clicked=ht(!1);get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Mo.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Mo.EMPTY_FILTER_MESSAGE)}get isVisibleClearIcon(){return this.modelValue()!=null&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get listLabel(){return this.config.getTranslation(Mo.ARIA).listLabel}get hasFluid(){let n=this.el.nativeElement.closest("p-fluid");return this.fluid||!!n}get inputClass(){let e=this.label();return{"p-select-label":!0,"p-placeholder":this.placeholder()&&e===this.placeholder(),"p-select-label-empty":!this.editable&&!this.selectedItemTemplate&&(e==null||e==="p-emptylabel"||e.length===0)}}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}visibleOptions=pt(()=>{let e=this.getAllVisibleAndNonVisibleOptions();if(this._filterValue()){let o=!(this.filterBy||this.optionLabel)&&!this.filterFields&&!this.optionValue?this.options.filter(r=>r.label?r.label.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1:r.toString().toLowerCase().indexOf(this._filterValue().toLowerCase().trim())!==-1):this.filterService.filter(e,this.searchFields(),this._filterValue().trim(),this.filterMatchMode,this.filterLocale);if(this.group){let r=this.options||[],s=[];return r.forEach(a=>{let c=this.getOptionGroupChildren(a).filter(p=>o.includes(p));c.length>0&&s.push(Ce(k({},a),{[typeof this.optionGroupChildren=="string"?this.optionGroupChildren:"items"]:[...c]}))}),this.flatOptions(s)}return o}return e});label=pt(()=>{let e=this.getAllVisibleAndNonVisibleOptions(),n=e.findIndex(o=>this.isOptionValueEqualsModelValue(o));return n!==-1?this.getOptionLabel(e[n]):this.placeholder()||"p-emptylabel"});filled=pt(()=>typeof this.modelValue()=="string"?!!this.modelValue():this.label()!=="p-emptylabel"&&this.modelValue()!==void 0&&this.modelValue()!==null);selectedOption;editableInputValue=pt(()=>this.getOptionLabel(this.selectedOption)||this.modelValue()||"");constructor(e,n){super(),this.zone=e,this.filterService=n,pi(()=>{let o=this.modelValue(),r=this.visibleOptions();if(r&&dt(r)){let s=this.findSelectedOptionIndex();(s!==-1||o===void 0||typeof o=="string"&&o.length===0||this.isModelValueNotSet()||this.editable)&&(this.selectedOption=r[s])}Zt(r)&&(o===void 0||this.isModelValueNotSet())&&dt(this.selectedOption)&&(this.selectedOption=null),o!==void 0&&this.editable&&this.updateEditableLabel(),this.cd.markForCheck()})}isModelValueNotSet(){return this.modelValue()===null&&!this.isOptionValueEqualsModelValue(this.selectedOption)}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}ngOnInit(){super.ngOnInit(),console.log("Dropdown component is deprecated as of v18, use Select component instead."),this.id=this.id||Gt("pn_id_"),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=jt(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");e&&wf(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}templates;ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this.itemTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"dropdownicon":this.dropdownIconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template;break;case"clearicon":this.clearIconTemplate=e.template;break;case"filtericon":this.filterIconTemplate=e.template;break;default:this.itemTemplate=e.template;break}})}flatOptions(e){return(e||[]).reduce((n,o,r)=>{n.push({optionGroup:o,group:!0,index:r});let s=this.getOptionGroupChildren(o);return s&&s.forEach(a=>n.push(a)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&(this.modelValue()===null||this.modelValue()===void 0)&&!this.placeholder()){let e=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[e],!1,!0)}}onOptionSelect(e,n,o=!0,r=!1){if(!this.isSelected(n)){let s=this.getOptionValue(n);this.updateModel(s,e),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),r===!1&&this.onChange.emit({originalEvent:e,value:s})}o&&this.hide(!0)}onOptionMouseEnter(e,n){this.focusOnHover&&this.changeFocusedOptionIndex(e,n)}updateModel(e,n){this.value=e,this.onModelChange(e),this.modelValue.set(e),this.selectedOptionUpdated=!0}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.allowModelChange()&&this.onModelChange(e),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder()&&(this.modelValue()===void 0||this.modelValue()===null)&&!this.editable&&this.options&&this.options.length}isSelected(e){return this.isValidOption(e)&&this.isOptionValueEqualsModelValue(e)}isOptionValueEqualsModelValue(e){return Oo(this.modelValue(),this.getOptionValue(e),this.equalityKey())}ngAfterViewInit(){super.ngAfterViewInit(),this.editable&&this.updateEditableLabel(),this.updatePlaceHolderForFloatingLabel()}updatePlaceHolderForFloatingLabel(){let e=this.el.nativeElement.parentElement,n=e?.classList.contains("p-float-label");if(e&&n&&!this.selectedOption){let o=e.querySelector("label");o&&this._placeholder.set(o.textContent)}}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=this.getOptionLabel(this.selectedOption)||this.modelValue()||"")}clearEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value="")}getOptionIndex(e,n){return this.virtualScrollerDisabled?e:n&&n.getItemOptions(e).index}getOptionLabel(e){return this.optionLabel!==void 0&&this.optionLabel!==null?Pn(e,this.optionLabel):e&&e.label!==void 0?e.label:e}getOptionValue(e){return this.optionValue&&this.optionValue!==null?Pn(e,this.optionValue):!this.optionLabel&&e&&e.value!==void 0?e.value:e}isOptionDisabled(e){return this.getOptionValue(this.modelValue())===this.getOptionValue(e)||this.getOptionLabel(this.modelValue()===this.getOptionLabel(e))&&e.disabled===!1?!1:this.optionDisabled?Pn(e,this.optionDisabled):e&&e.disabled!==void 0?e.disabled:!1}getOptionGroupLabel(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null?Pn(e,this.optionGroupLabel):e&&e.label!==void 0?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren!==void 0&&this.optionGroupChildren!==null?Pn(e,this.optionGroupChildren):e.items}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(n=>this.isOptionGroup(n)).length:e)+1}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onContainerClick(e){this.disabled||this.readonly||this.loading||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),!(e.target.tagName==="INPUT"||e.target.getAttribute("data-pc-section")==="clearicon"||e.target.closest('[data-pc-section="clearicon"]'))&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(e.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(e),this.clicked.set(!0),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&this.visibleOptions().length===0}onEditableInput(e){let n=e.target.value;this.searchValue="",!this.searchOptions(e,n)&&this.focusedOptionIndex.set(-1),this.onModelChange(n),this.updateModel(n,e),setTimeout(()=>{this.onChange.emit({originalEvent:e,value:n})},1),!this.overlayVisible&&dt(n)&&this.show()}show(e){this.overlayVisible=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex();this.focusedOptionIndex.set(n),e&&$t(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(e){if(e.toState==="visible"){if(this.itemsWrapper=jt(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){let n=this.modelValue()?this.focusedOptionIndex():-1;n!==-1&&this.scroller?.scrollToIndex(n)}else{let n=jt(this.itemsWrapper,".p-dropdown-item.p-highlight");n&&n.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&!this.editable&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}e.toState==="void"&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(e){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.clicked.set(!1),this.searchValue="",this.overlayOptions?.mode==="modal"&&ks(),this.filter&&this.resetFilterOnHide&&this.resetFilter(),e&&(this.focusInputViewChild&&$t(this.focusInputViewChild?.nativeElement),this.editable&&this.editableInputViewChild&&$t(this.editableInputViewChild?.nativeElement)),this.cd.markForCheck()}onInputFocus(e){if(this.disabled)return;this.focused=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(e,n){if(!(this.disabled||this.readonly||this.loading)){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,this.editable);break;case"Delete":this.onDeleteKey(e);break;case"Home":this.onHomeKey(e,this.editable);break;case"End":this.onEndKey(e,this.editable);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Space":this.onSpaceKey(e,n);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"Backspace":this.onBackspaceKey(e,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!e.metaKey&&Sf(e.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(e,e.key));break}this.clicked.set(!1)}}onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,!0);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break;default:break}}onFilterBlur(e){this.focusedOptionIndex.set(-1)}onArrowDownKey(e){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(e,this.findSelectedOptionIndex());else{let n=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(e,n)}e.preventDefault(),e.stopPropagation()}changeFocusedOptionIndex(e,n){if(this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView(),this.selectOnFocus)){let o=this.visibleOptions()[n];this.onOptionSelect(e,o,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let o=jt(this.itemsViewChild.nativeElement,`li[id="${n}"]`);o?o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}hasSelectedOption(){return this.modelValue()!==void 0}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextOptionIndex(e){let n=ethis.isValidOption(o)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?gl(this.visibleOptions().slice(0,e),o=>this.isValidOption(o)):-1;return n>-1?n:e}findLastOptionIndex(){return gl(this.visibleOptions(),e=>this.isValidOption(e))}findLastFocusedOptionIndex(){let e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}isValidOption(e){return e!=null&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionGroup(e){return this.optionGroupLabel!==void 0&&this.optionGroupLabel!==null&&e.optionGroup!==void 0&&e.optionGroup!==null&&e.group}onArrowUpKey(e,n=!1){if(e.altKey&&!n){if(this.focusedOptionIndex()!==-1){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}this.overlayVisible&&this.hide()}else{let o=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.clicked()?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(e,o),!this.overlayVisible&&this.show()}e.preventDefault(),e.stopPropagation()}onArrowLeftKey(e,n=!1){n&&this.focusedOptionIndex.set(-1)}onDeleteKey(e){this.showClear&&(this.clear(e),e.preventDefault())}onHomeKey(e,n=!1){if(n){let o=e.currentTarget;e.shiftKey?o.setSelectionRange(0,o.value.length):(o.setSelectionRange(0,0),this.focusedOptionIndex.set(-1))}else this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onEndKey(e,n=!1){if(n){let o=e.currentTarget;if(e.shiftKey)o.setSelectionRange(0,o.value.length);else{let r=o.value.length;o.setSelectionRange(r,r),this.focusedOptionIndex.set(-1)}}else this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onSpaceKey(e,n=!1){!this.editable&&!n&&this.onEnterKey(e)}onEnterKey(e,n=!1){if(!this.overlayVisible)this.focusedOptionIndex.set(-1),this.onArrowDownKey(e);else{if(this.focusedOptionIndex()!==-1){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}!n&&this.hide()}e.preventDefault()}onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()}onTabKey(e,n=!1){if(!n)if(this.overlayVisible&&this.hasFocusableElements())$t(e.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),e.preventDefault();else{if(this.focusedOptionIndex()!==-1&&this.overlayVisible){let o=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(e,o)}this.overlayVisible&&this.hide(this.filter)}e.stopPropagation()}onFirstHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?fl(this.overlayViewChild.el?.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild?.nativeElement;$t(n)}onLastHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?ml(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;$t(n)}hasFocusableElements(){return hl(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(e,n=!1){n&&!this.overlayVisible&&this.show()}searchFields(){return this.filterBy?.split(",")||this.filterFields||[this.optionLabel]}searchOptions(e,n){this.searchValue=(this.searchValue||"")+n;let o=-1,r=!1;return o=this.visibleOptions().findIndex(s=>this.isOptionExactMatched(s)),o===-1&&(o=this.visibleOptions().findIndex(s=>this.isOptionStartsWith(s))),o!==-1&&(r=!0),o===-1&&this.focusedOptionIndex()===-1&&(o=this.findFirstFocusedOptionIndex()),o!==-1&&this.changeFocusedOptionIndex(e,o),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),r}isOptionStartsWith(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}isOptionExactMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale)===this.searchValue.toLocaleLowerCase(this.filterLocale)}onFilterInputChange(e){let n=e.target.value;this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:e,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild.alignOverlay()}),this.cd.markForCheck()}applyFocus(){this.editable?jt(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():$t(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(e){this.updateModel(null,e),this.clearEditableLabel(),this.onModelTouched(),this.onChange.emit({originalEvent:e,value:this.value}),this.onClear.emit(e),this.resetFilter()}static \u0275fac=function(n){return new(n||t)(b(ue),b(Of))};static \u0275cmp=A({type:t,selectors:[["p-dropdown"]],contentQueries:function(n,o,r){if(n&1&&he(r,Wt,4),n&2){let s;G(s=W())&&(o.templates=s)}},viewQuery:function(n,o){if(n&1&&(ve(zee,5),ve(Uee,5),ve(Gee,5),ve(Wee,5),ve(qee,5),ve(Kee,5),ve(Qee,5),ve(Yee,5),ve(Zee,5)),n&2){let r;G(r=W())&&(o.containerViewChild=r.first),G(r=W())&&(o.filterViewChild=r.first),G(r=W())&&(o.focusInputViewChild=r.first),G(r=W())&&(o.editableInputViewChild=r.first),G(r=W())&&(o.itemsViewChild=r.first),G(r=W())&&(o.scroller=r.first),G(r=W())&&(o.overlayViewChild=r.first),G(r=W())&&(o.firstHiddenFocusableElementOnOverlay=r.first),G(r=W())&&(o.lastHiddenFocusableElementOnOverlay=r.first)}},hostVars:5,hostBindings:function(n,o){n&1&&R("click",function(s){return o.onContainerClick(s)}),n&2&&(N("id",o.id),li(o.hostStyle),re(o.hostClass))},inputs:{id:"id",scrollHeight:"scrollHeight",filter:[2,"filter","filter",H],name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:[2,"readonly","readonly",H],required:[2,"required","required",H],editable:[2,"editable","editable",H],appendTo:"appendTo",tabindex:[2,"tabindex","tabindex",ot],placeholder:"placeholder",loadingIcon:"loadingIcon",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",variant:"variant",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:[2,"autofocus","autofocus",H],resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",H],checkmark:[2,"checkmark","checkmark",H],dropdownIcon:"dropdownIcon",loading:[2,"loading","loading",H],optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:[2,"autoDisplayFirst","autoDisplayFirst",H],group:[2,"group","group",H],showClear:[2,"showClear","showClear",H],emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:[2,"lazy","lazy",H],virtualScroll:[2,"virtualScroll","virtualScroll",H],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",ot],virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:[2,"maxlength","maxlength",ot],tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:[2,"focusOnHover","focusOnHover",H],selectOnFocus:[2,"selectOnFocus","selectOnFocus",H],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",H],autofocusFilter:[2,"autofocusFilter","autofocusFilter",H],fluid:[2,"fluid","fluid",H],disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},standalone:!1,features:[fe([sne,IP]),Z],decls:11,vars:15,consts:[["elseBlock",""],["overlay",""],["content",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["loader",""],["items",""],["emptyFilter",""],["role","combobox",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","pAutoFocus","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-select-dropdown"],[4,"ngIf","ngIfElse"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["role","combobox",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","pAutoFocus"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled","pAutoFocus"],["class","p-select-clear-icon",3,"click",4,"ngIf"],[1,"p-select-clear-icon",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["aria-hidden","true",3,"ngClass",4,"ngIf"],["aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true",3,"ngClass"],["aria-hidden","true"],["class","p-select-dropdown-icon",4,"ngIf"],["class","p-select-dropdown-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-select-dropdown-icon",3,"ngClass"],[3,"styleClass"],[1,"p-select-dropdown-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-select-header",3,"click",4,"ngIf"],[1,"p-select-list-container"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-select-header",3,"click"],["pInputText","","type","text","role","searchbox","autocomplete","off",1,"p-select-filter",3,"input","keydown","blur","value","variant"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["role","listbox",1,"p-select-list",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-select-empty-message","role","option",3,"ngStyle",4,"ngIf"],["role","option",1,"p-select-option-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","checkmark","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],["role","option",1,"p-select-empty-message",3,"ngStyle"]],template:function(n,o){if(n&1){let r=U();_(0,rte,6,20,"span",15)(1,ste,2,8,"input",16)(2,ute,3,2,"ng-container",17),h(3,"div",18),_(4,_te,3,2,"ng-container",19)(5,Ete,2,2,"ng-template",null,0,we),f(),h(7,"p-overlay",20,1),hn("visibleChange",function(a){return D(r),Sn(o.overlayVisible,a)||(o.overlayVisible=a),O(a)}),R("onAnimationStart",function(a){return D(r),O(o.onOverlayAnimationStart(a))})("onHide",function(){return D(r),O(o.hide())}),_(9,ine,13,17,"ng-template",null,2,we),f()}if(n&2){let r,s=ge(6);u("ngIf",!o.editable),d(),u("ngIf",o.editable),d(),u("ngIf",o.isVisibleClearIcon),d(),N("aria-expanded",(r=o.overlayVisible)!==null&&r!==void 0?r:!1)("data-pc-section","trigger"),d(),u("ngIf",o.loading)("ngIfElse",s),d(3),pn("visible",o.overlayVisible),u("options",o.overlayOptions)("target","@parent")("appendTo",o.appendTo)("autoZIndex",o.autoZIndex)("baseZIndex",o.baseZIndex)("showTransitionOptions",o.showTransitionOptions)("hideTransitionOptions",o.hideTransitionOptions)}},dependencies:()=>[_t,at,ee,vt,fn,Xd,Jl,Zl,$r,hr,md,gd,Yl,Zd,Jd,ane],encapsulation:2,changeDetection:0})}return t})(),P1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=X({type:t});static \u0275inj=J({imports:[Se,v1,Ye,eu,Zl,uO,hr,md,gd,hd,fd,wR,Zd,Jd,v1,Ye]})}return t})();function cne(t,i){if(t&1&&w(0,"span"),t&2){let e=i.$implicit;re("fi fi-"+e.value+" fis")}}function dne(t,i){if(t&1&&w(0,"span"),t&2){let e=i.$implicit;re("fi fi-"+e.value+" fis")}}var une="SUPPORTED_LANGUAGES",kke=(()=>{class t{constructor(e,n,o){this.shopService=e,this.translateService=n,this.platformId=o,this.currentLang=this.translateService.getCurrentLang()==="en"?"gb":this.translateService.getCurrentLang(),this.supportedLanguages$=this.shopService.getShopAttribute(une).pipe(z(r=>{let s=[];return r.split(",").map(a=>a==="en"?"gb":a).forEach(a=>{s.push({label:a,value:a})}),s}))}ngOnInit(){}onChangeLanguage(e){let n=e.value==="gb"?"en":e.value;n!==this.translateService.getLangFromCookie()&&this.translateService.saveLangInCookie(n),this.translateService.changeLang(n),this.refresh()}refresh(){We(this.platformId)&&window.location.reload()}static{this.\u0275fac=function(n){return new(n||t)(b(Gr),b(gn),b(Fe))}}static{this.\u0275cmp=A({type:t,selectors:[["language-selector"]],standalone:!1,decls:5,vars:4,consts:[["langDropdown",""],["inputId","lang_dropdown",3,"ngModelChange","onChange","options","ngModel"],["pTemplate","selectedItem"],["pTemplate","item"]],template:function(n,o){if(n&1){let r=U();h(0,"p-dropdown",1,0),I(2,"async"),hn("ngModelChange",function(a){return D(r),Sn(o.currentLang,a)||(o.currentLang=a),O(a)}),R("onChange",function(){D(r);let a=ge(1);return O(o.onChangeLanguage(a))}),_(3,cne,1,2,"ng-template",2)(4,dne,1,2,"ng-template",3),f()}n&2&&(u("options",T(2,2,o.supportedLanguages$)),pn("ngModel",o.currentLang))},dependencies:[Rn,gi,Wt,R1,lt],styles:["[_nghost-%COMP%] .p-dropdown{border:0;min-width:10px}[_nghost-%COMP%] .p-select-label{padding:unset}[_nghost-%COMP%] .p-select-label.p-inputtext{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;padding:0}[_nghost-%COMP%] .p-select-label.p-inputtext:hover{text-decoration:underline}[_nghost-%COMP%] .p-dropdown .p-select-dropdown{color:#003463;margin-top:2px}[_nghost-%COMP%] .p-select-option{display:block}[_nghost-%COMP%] .flag-icon.flag-icon-squared{-moz-box-shadow:inset 0 0 1px grey;-webkit-box-shadow:inset 0 0 1px grey;box-shadow:inset 0 0 1px gray;width:16px}.language-label[_ngcontent-%COMP%]{color:#003463;font-family:Poppins,Open Sans,sans-serif!important;font-size:14px;margin-left:.25em}"]})}}return t})();function pne(t,i){if(t&1&&(h(0,"a",1),I(1,"translate"),E(2,"\u24D8"),f()),t&2){let e=i.ngIf,n=m();$e("pTooltip",T(1,2,n.label)),$e("tooltipEvent",e)}}var Vke=(()=>{class t{constructor(e){this.breakpointObserver=e,this.observeBreakpoint$=e.observe([Us.XSmall,Us.Small,Us.Medium]).pipe(z(n=>n.matches?"focus":"hover"))}ngOnInit(){}static{this.\u0275fac=function(n){return new(n||t)(b(Ii))}}static{this.\u0275cmp=A({type:t,selectors:[["information-button"]],inputs:{label:"label"},standalone:!1,decls:2,vars:3,consts:[["href","/","onclick","return false;","class","shipment-date-info","tooltipPosition","bottom",3,"pTooltip","tooltipEvent",4,"ngIf"],["href","/","onclick","return false;","tooltipPosition","bottom",1,"shipment-date-info",3,"pTooltip","tooltipEvent"]],template:function(n,o){n&1&&(_(0,pne,3,4,"a",0),I(1,"async")),n&2&&u("ngIf",T(1,1,o.observeBreakpoint$))},dependencies:[Jl,ee,lt,Le],styles:[".shipment-date-info[_ngcontent-%COMP%]{color:#f59a23;font-weight:600;cursor:pointer;margin-left:5px;margin-right:5px}"]})}}return t})();var Si=class t{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(i,e=!1){return this.onePassHasher.start().appendStr(i).end(e)}static hashAsciiStr(i,e=!1){return this.onePassHasher.start().appendAsciiStr(i).end(e)}static _hex(i){let e=t.hexChars,n=t.hexOut,o,r,s,a;for(a=0;a<4;a+=1)for(r=a*8,o=i[a],s=0;s<8;s+=2)n[r+1+s]=e.charAt(o&15),o>>>=4,n[r+0+s]=e.charAt(o&15),o>>>=4;return n.join("")}static _md5cycle(i,e){let n=i[0],o=i[1],r=i[2],s=i[3];n+=(o&r|~o&s)+e[0]-680876936|0,n=(n<<7|n>>>25)+o|0,s+=(n&o|~n&r)+e[1]-389564586|0,s=(s<<12|s>>>20)+n|0,r+=(s&n|~s&o)+e[2]+606105819|0,r=(r<<17|r>>>15)+s|0,o+=(r&s|~r&n)+e[3]-1044525330|0,o=(o<<22|o>>>10)+r|0,n+=(o&r|~o&s)+e[4]-176418897|0,n=(n<<7|n>>>25)+o|0,s+=(n&o|~n&r)+e[5]+1200080426|0,s=(s<<12|s>>>20)+n|0,r+=(s&n|~s&o)+e[6]-1473231341|0,r=(r<<17|r>>>15)+s|0,o+=(r&s|~r&n)+e[7]-45705983|0,o=(o<<22|o>>>10)+r|0,n+=(o&r|~o&s)+e[8]+1770035416|0,n=(n<<7|n>>>25)+o|0,s+=(n&o|~n&r)+e[9]-1958414417|0,s=(s<<12|s>>>20)+n|0,r+=(s&n|~s&o)+e[10]-42063|0,r=(r<<17|r>>>15)+s|0,o+=(r&s|~r&n)+e[11]-1990404162|0,o=(o<<22|o>>>10)+r|0,n+=(o&r|~o&s)+e[12]+1804603682|0,n=(n<<7|n>>>25)+o|0,s+=(n&o|~n&r)+e[13]-40341101|0,s=(s<<12|s>>>20)+n|0,r+=(s&n|~s&o)+e[14]-1502002290|0,r=(r<<17|r>>>15)+s|0,o+=(r&s|~r&n)+e[15]+1236535329|0,o=(o<<22|o>>>10)+r|0,n+=(o&s|r&~s)+e[1]-165796510|0,n=(n<<5|n>>>27)+o|0,s+=(n&r|o&~r)+e[6]-1069501632|0,s=(s<<9|s>>>23)+n|0,r+=(s&o|n&~o)+e[11]+643717713|0,r=(r<<14|r>>>18)+s|0,o+=(r&n|s&~n)+e[0]-373897302|0,o=(o<<20|o>>>12)+r|0,n+=(o&s|r&~s)+e[5]-701558691|0,n=(n<<5|n>>>27)+o|0,s+=(n&r|o&~r)+e[10]+38016083|0,s=(s<<9|s>>>23)+n|0,r+=(s&o|n&~o)+e[15]-660478335|0,r=(r<<14|r>>>18)+s|0,o+=(r&n|s&~n)+e[4]-405537848|0,o=(o<<20|o>>>12)+r|0,n+=(o&s|r&~s)+e[9]+568446438|0,n=(n<<5|n>>>27)+o|0,s+=(n&r|o&~r)+e[14]-1019803690|0,s=(s<<9|s>>>23)+n|0,r+=(s&o|n&~o)+e[3]-187363961|0,r=(r<<14|r>>>18)+s|0,o+=(r&n|s&~n)+e[8]+1163531501|0,o=(o<<20|o>>>12)+r|0,n+=(o&s|r&~s)+e[13]-1444681467|0,n=(n<<5|n>>>27)+o|0,s+=(n&r|o&~r)+e[2]-51403784|0,s=(s<<9|s>>>23)+n|0,r+=(s&o|n&~o)+e[7]+1735328473|0,r=(r<<14|r>>>18)+s|0,o+=(r&n|s&~n)+e[12]-1926607734|0,o=(o<<20|o>>>12)+r|0,n+=(o^r^s)+e[5]-378558|0,n=(n<<4|n>>>28)+o|0,s+=(n^o^r)+e[8]-2022574463|0,s=(s<<11|s>>>21)+n|0,r+=(s^n^o)+e[11]+1839030562|0,r=(r<<16|r>>>16)+s|0,o+=(r^s^n)+e[14]-35309556|0,o=(o<<23|o>>>9)+r|0,n+=(o^r^s)+e[1]-1530992060|0,n=(n<<4|n>>>28)+o|0,s+=(n^o^r)+e[4]+1272893353|0,s=(s<<11|s>>>21)+n|0,r+=(s^n^o)+e[7]-155497632|0,r=(r<<16|r>>>16)+s|0,o+=(r^s^n)+e[10]-1094730640|0,o=(o<<23|o>>>9)+r|0,n+=(o^r^s)+e[13]+681279174|0,n=(n<<4|n>>>28)+o|0,s+=(n^o^r)+e[0]-358537222|0,s=(s<<11|s>>>21)+n|0,r+=(s^n^o)+e[3]-722521979|0,r=(r<<16|r>>>16)+s|0,o+=(r^s^n)+e[6]+76029189|0,o=(o<<23|o>>>9)+r|0,n+=(o^r^s)+e[9]-640364487|0,n=(n<<4|n>>>28)+o|0,s+=(n^o^r)+e[12]-421815835|0,s=(s<<11|s>>>21)+n|0,r+=(s^n^o)+e[15]+530742520|0,r=(r<<16|r>>>16)+s|0,o+=(r^s^n)+e[2]-995338651|0,o=(o<<23|o>>>9)+r|0,n+=(r^(o|~s))+e[0]-198630844|0,n=(n<<6|n>>>26)+o|0,s+=(o^(n|~r))+e[7]+1126891415|0,s=(s<<10|s>>>22)+n|0,r+=(n^(s|~o))+e[14]-1416354905|0,r=(r<<15|r>>>17)+s|0,o+=(s^(r|~n))+e[5]-57434055|0,o=(o<<21|o>>>11)+r|0,n+=(r^(o|~s))+e[12]+1700485571|0,n=(n<<6|n>>>26)+o|0,s+=(o^(n|~r))+e[3]-1894986606|0,s=(s<<10|s>>>22)+n|0,r+=(n^(s|~o))+e[10]-1051523|0,r=(r<<15|r>>>17)+s|0,o+=(s^(r|~n))+e[1]-2054922799|0,o=(o<<21|o>>>11)+r|0,n+=(r^(o|~s))+e[8]+1873313359|0,n=(n<<6|n>>>26)+o|0,s+=(o^(n|~r))+e[15]-30611744|0,s=(s<<10|s>>>22)+n|0,r+=(n^(s|~o))+e[6]-1560198380|0,r=(r<<15|r>>>17)+s|0,o+=(s^(r|~n))+e[13]+1309151649|0,o=(o<<21|o>>>11)+r|0,n+=(r^(o|~s))+e[4]-145523070|0,n=(n<<6|n>>>26)+o|0,s+=(o^(n|~r))+e[11]-1120210379|0,s=(s<<10|s>>>22)+n|0,r+=(n^(s|~o))+e[2]+718787259|0,r=(r<<15|r>>>17)+s|0,o+=(s^(r|~n))+e[9]-343485551|0,o=(o<<21|o>>>11)+r|0,i[0]=n+i[0]|0,i[1]=o+i[1]|0,i[2]=r+i[2]|0,i[3]=s+i[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(t.stateIdentity),this}appendStr(i){let e=this._buffer8,n=this._buffer32,o=this._bufferLength,r,s;for(s=0;s>>6)+192,e[o++]=r&63|128;else if(r<55296||r>56319)e[o++]=(r>>>12)+224,e[o++]=r>>>6&63|128,e[o++]=r&63|128;else{if(r=(r-55296)*1024+(i.charCodeAt(++s)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");e[o++]=(r>>>18)+240,e[o++]=r>>>12&63|128,e[o++]=r>>>6&63|128,e[o++]=r&63|128}o>=64&&(this._dataLength+=64,t._md5cycle(this._state,n),o-=64,n[0]=n[16])}return this._bufferLength=o,this}appendAsciiStr(i){let e=this._buffer8,n=this._buffer32,o=this._bufferLength,r,s=0;for(;;){for(r=Math.min(i.length-s,64-o);r--;)e[o++]=i.charCodeAt(s++);if(o<64)break;this._dataLength+=64,t._md5cycle(this._state,n),o=0}return this._bufferLength=o,this}appendByteArray(i){let e=this._buffer8,n=this._buffer32,o=this._bufferLength,r,s=0;for(;;){for(r=Math.min(i.length-s,64-o);r--;)e[o++]=i[s++];if(o<64)break;this._dataLength+=64,t._md5cycle(this._state,n),o=0}return this._bufferLength=o,this}getState(){let i=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[i[0],i[1],i[2],i[3]]}}setState(i){let e=i.buffer,n=i.state,o=this._state,r;for(this._dataLength=i.length,this._bufferLength=i.buflen,o[0]=n[0],o[1]=n[1],o[2]=n[2],o[3]=n[3],r=0;r>2)+1;this._dataLength+=e;let s=this._dataLength*8;if(n[e]=128,n[e+1]=n[e+2]=n[e+3]=0,o.set(t.buffer32Identity.subarray(r),r),e>55&&(t._md5cycle(this._state,o),o.set(t.buffer32Identity)),s<=4294967295)o[14]=s;else{let a=s.toString(16).match(/(.*?)(.{0,8})$/);if(a===null)return;let l=parseInt(a[2],16),c=parseInt(a[1],16)||0;o[14]=l,o[15]=c}return t._md5cycle(this._state,o),i?this._state:t._hex(this._state)}};Si.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);Si.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Si.hexChars="0123456789abcdef";Si.hexOut=[];Si.onePassHasher=new Si;if(Si.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var OP=new M("LeasingService");var aAe=(()=>{class t{constructor(e,n,o){this.leasingService=e,this.platformId=n,this.spinnerService=o,this.externalId="edd078",this.taxValue="23"}prepareLeaselinkCalculationURL(e){let n=encodeURIComponent(e.name);return e.model&&(n+=encodeURIComponent(" "+e.model)),"https://online.leaselink.pl/RateCalculator/calculate?rate=999&externalId="+this.externalId+"&tax="+this.taxValue+"&value="+e.netValue+"&isNet=true&productName="+n}ngOnInit(){this.leaselinkCalculationUrl=this.prepareLeaselinkCalculationURL(this.product)}static{this.\u0275fac=function(n){return new(n||t)(b(OP),b(Fe),b(No))}}static{this.\u0275cmp=A({type:t,selectors:[["leasing"]],inputs:{product:"product"},standalone:!1,decls:6,vars:5,consts:[[1,"leasing-block"],["rel","nofollow","target","_blank",3,"href"],["src","/assets/svg/leaselink-logo.svg","alt","leasing icon",1,"leasing-icon"],["rel","nofollow","target","_blank",1,"leasing-link",3,"href"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"a",1),w(2,"img",2),f(),h(3,"a",3),E(4),I(5,"translate"),f()()),n&2&&(d(),$e("href",o.leaselinkCalculationUrl,ze),d(2),$e("href",o.leaselinkCalculationUrl,ze),d(),B(T(5,3,"LEASING.CALCULATION")))},dependencies:[At,Le],styles:[".leasing-icon[_ngcontent-%COMP%]{height:20px;cursor:pointer}.leasing-link[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer;color:#029ef0!important;text-decoration:underline!important;width:fit-content}.leasing-block[_ngcontent-%COMP%]{display:grid}@media (min-width: 576px){.leasing-link[_ngcontent-%COMP%]{white-space:nowrap}}"]})}}return t})();var MP=new M("ContactService");var k1=function(t){return t.ADD_TO_CART_ERROR="ERROR.CART_ITEM_ERROR",t.CART_IS_EMPTY="ERROR.CART_IS_EMPTY",t.INVOICE_DOWNLOAD_FAILED="ERROR.INVOICE_DOWNLOAD",t.FILE_DOWNLOAD_FAILED="ERROR.FILE_DOWNLOAD",t.GENERAL_ERROR="ERROR.GENERAL",t.REAUTHORIZE_ERROR="ERROR.REAUTHORIZE_ERROR",t.ORDER_INQUIRY_ERROR="ERROR.ORDER_INQUIRY",t.ADDING_TO_CART="NOTIFICATION.ADDING_TO_CART",t.EDITING_CART_INFO="NOTIFICATION.EDITING_CART_INFO",t.PRICE_LIST_DOWNLOAD_FAILED="ERROR.PRICE_LIST_DOWNLOAD",t.COUPON_APPLIED="NOTIFICATION.COUPON_APPLIED",t.ADD_COUPON_ERROR="ERROR.ADD_COUPON_ERROR",t.REMOVE_COUPON_ERROR="ERROR.REMOVE_COUPON_ERROR",t.TOO_MANY_NAMED_CARTS_ERROR="ERROR.TOO_MANY_NAMED_CARTS_ERROR",t.CART_ALREADY_REMOVED_ERROR="ERROR.CART_ALREADY_REMOVED_ERROR",t.CART_IMPORT_ERROR="ERROR.CART_IMPORT_ERROR",t.OFFER_LOGO_UPLOAD_ERROR="ERROR.OFFER_LOGO_UPLOAD_ERROR",t.EXPORT_PRODUCTS_NOT_SELECTED="EXPORT_PRODUCT_DATA.PRODUCTS_NOT_SELECTED",t.PRODUCT_FIELDS_NOT_SELECTED="EXPORT_PRODUCT_DATA.PRODUCT_FIELDS_NOT_SELECTED",t.CART_DELIVERY_IS_EMPTY="SHIPMENT.NO_CARRIER_ERROR",t.CART_DELIVERY_PICKUP_POINT_IS_EMPTY="SHIPMENT.NO_PICKUP_ERROR",t.CART_PAYMENT_IS_EMPTY="SHIPMENT.NO_PAYMENT_ERROR",t.CONTACT_US_ERROR="CONTACT_US.ERROR",t.LEASING_PAYMENT_VAT_ID_ERROR="ERROR.LEASING_PAYMENT_VAT_ID",t.SHOP_ACCESS_DENIED="NOTIFICATION.SHOP_ACCESS_DENIED",t}(k1||{});var Zm=class{constructor(i,e=null){this.type=i,this.product=e}},ec=class{constructor(i,e,n=null,o=""){this.type=i,this.message=e,this.product=n,this.additionalInfo=o}},yAe=(()=>{class t{constructor(e){this.translateService=e,this.notificationService=new K,this.addingToCartSubject=new K,this.couponCartSubject=new K,this.shopAccessDeniedSubject=new K}emitNotification(e){this.notificationService.next(e)}getNotification(){return this.notificationService.pipe(pe(e=>this.translateService.get(e.type).pipe(z(n=>new ec(e.type,n,e.product)))))}emitAddingToCartNotification(e){this.addingToCartSubject.next(e)}getAddingToCartNotification(){return this.addingToCartSubject.pipe(pe(e=>this.translateService.get(e.type).pipe(z(n=>new ec(e.type,n,e.product)))))}emitCouponNotification(e){this.couponCartSubject.next(e)}getCouponCartNotification(){return this.couponCartSubject.pipe(pe(e=>this.translateService.get(e.type).pipe(z(n=>new ec(e.type,n,e.product)))))}emitShopAccessDeniedNotification(e){this.shopAccessDeniedSubject.next(e)}getShopAccessDeniedNotification(){return this.shopAccessDeniedSubject.pipe(pe(e=>this.translateService.get(e.type).pipe(z(n=>new ec(e.type,n,e.product)))))}static{this.\u0275fac=function(n){return new(n||t)(L(Hn))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})();var hne=new M("recaptcha-language"),fne=new M("recaptcha-base-url"),mne=new M("recaptcha-nonce-tag"),gne=new M("recaptcha-settings"),_ne=new M("recaptcha-v3-site-key"),yne=new M("recaptcha-loader-options");function vne(t,i,e,{url:n,lang:o,nonce:r}={}){window.ng2recaptchaloaded=()=>{e(grecaptcha)};let s=document.createElement("script");s.innerHTML="";let{url:a,nonce:l}=i(new URL(n||"https://www.google.com/recaptcha/api.js"));a.searchParams.set("render",t==="explicit"?t:t.key),a.searchParams.set("onload","ng2recaptchaloaded"),a.searchParams.set("trustedtypes","true"),o&&a.searchParams.set("hl",o),s.src=a.href;let c=l||r;c&&s.setAttribute("nonce",c),s.async=!0,s.defer=!0,document.head.appendChild(s)}function bne({v3SiteKey:t,onBeforeLoad:i,onLoaded:e}){let n=t?{key:t}:"explicit";RP.loadScript(n,i,e)}var RP={loadScript:vne,newLoadScript:bne};function Cne(t){return t.asObservable().pipe(de(i=>i!==null))}var PP=(()=>{class t{static{this.ready=null}constructor(e,n,o,r,s,a){this.platformId=e,this.language=n,this.baseUrl=o,this.nonce=r,this.v3SiteKey=s,this.options=a;let l=this.init();this.ready=l?Cne(l):Y()}init(){if(t.ready)return t.ready;if(!We(this.platformId))return;let e=new Ft(null);return t.ready=e,RP.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:n=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(n);let o=new URL(this.baseUrl??n);return this.language&&o.searchParams.set("hl",this.language),{url:o,nonce:this.nonce}},onLoaded:n=>{let o=n;this.options?.onLoaded&&(o=this.options.onLoaded(n)),e.next(o)}}),e}static{this.\u0275fac=function(n){return new(n||t)(L(Fe),L(hne,8),L(fne,8),L(mne,8),L(_ne,8),L(yne,8))}}static{this.\u0275prov=S({token:t,factory:t.\u0275fac})}}return t})(),wne=0,A1=(()=>{class t{constructor(e,n,o,r){this.elementRef=e,this.loader=n,this.zone=o,this.id=`ngrecaptcha-${wne++}`,this.errorMode="default",this.resolved=new F,this.error=new F,this.errored=new F,r&&(this.siteKey=r.siteKey,this.theme=r.theme,this.type=r.type,this.size=r.size,this.badge=r.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{e!=null&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){this.size==="invisible"&&(this.widget!=null?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){this.widget!=null&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return this.widget!=null?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){this.widget!=null&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){let e={badge:this.badge,callback:n=>{this.zone.run(()=>this.captchaResponseCallback(n))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};this.errorMode==="handled"&&(e["error-callback"]=(...n)=>{this.zone.run(()=>this.onError(n))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),this.executeRequested===!0&&(this.executeRequested=!1,this.execute())}static{this.\u0275fac=function(n){return new(n||t)(b(ye),b(PP),b(ue),b(gne,8))}}static{this.\u0275cmp=A({type:t,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(n,o){n&2&&N("id",o.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],standalone:!1,decls:0,vars:0,template:function(n,o){},encapsulation:2})}}return t})(),kP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({})}}return t})(),AP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({providers:[PP],imports:[kP]})}}return t})();var NP=(()=>{class t{constructor(e){this.host=e,this.requiresControllerReset=!1}writeValue(e){e?this.host.__unsafe_widgetValue!==e&&!this.host.__unsafe_widgetValue&&(this.requiresControllerReset=!0):this.host.reset()}registerOnChange(e){this.onChange=e,this.requiresControllerReset&&(this.requiresControllerReset=!1,this.onChange(null))}registerOnTouched(e){this.onTouched=e}onResolve(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}static{this.\u0275fac=function(n){return new(n||t)(b(A1))}}static{this.\u0275dir=te({type:t,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(n,o){n&1&&R("resolved",function(s){return o.onResolve(s)})},standalone:!1,features:[fe([{multi:!0,provide:un,useExisting:st(()=>t)}])]})}}return t})(),FP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[Vr,kP]})}}return t})();function Ene(t,i){t&1&&(h(0,"small",24),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CONTACT_US.FIELD_REQUIRED")))}function Ine(t,i){t&1&&(h(0,"small",25),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CONTACT_US.EMAIL_VALIDATION_ERROR")))}function Sne(t,i){t&1&&(h(0,"small",26),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CONTACT_US.FIELD_REQUIRED")))}function Tne(t,i){t&1&&(h(0,"small",27),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CONTACT_US.FIELD_REQUIRED")))}function Dne(t,i){t&1&&(h(0,"small",31),E(1),I(2,"translate"),f()),t&2&&(d(),B(T(2,1,"CONTACT_US.FIELD_REQUIRED")))}function One(t,i){if(t&1&&(h(0,"div",28),w(1,"re-captcha",29),_(2,Dne,3,3,"small",30),f()),t&2){let e=i.ngIf,n=m(2);d(),u("siteKey",n.googleRecaptchaSiteKey)("size",e),d(),u("ngIf",n.isFieldInvalid("recaptcha","required"))}}function Mne(t,i){if(t&1){let e=U();h(0,"form",3),R("ngSubmit",function(){D(e);let o=m();return O(o.onSubmit())}),h(1,"p",4),E(2),I(3,"translate"),f(),h(4,"fieldset",5)(5,"div",6)(6,"label",7),E(7),I(8,"translate"),f(),w(9,"input",8),_(10,Ene,3,3,"small",9)(11,Ine,3,3,"small",10),f(),h(12,"div",6)(13,"label",7),E(14),I(15,"translate"),f(),w(16,"input",11),f(),h(17,"div",6)(18,"label",7),E(19),I(20,"translate"),f(),w(21,"input",12),f(),h(22,"div",6)(23,"label",7),E(24),I(25,"translate"),f(),w(26,"input",13),f(),h(27,"div",6)(28,"label",7),E(29),I(30,"translate"),f(),w(31,"input",14),f(),h(32,"div",6)(33,"label",7),E(34),I(35,"translate"),f(),w(36,"textarea",15),_(37,Sne,3,3,"small",16),f(),h(38,"div",17)(39,"label"),w(40,"input",18)(41,"i",19)(42,"span",20),I(43,"translate"),f(),_(44,Tne,3,3,"small",21),f(),_(45,One,3,3,"div",22),I(46,"async"),h(47,"button",23),E(48),I(49,"translate"),f()()()}if(t&2){let e=m();u("formGroup",e.contactForm),d(2),B(T(3,16,"CONTACT_US.TITLE")),d(2),u("disabled",e.loading),d(3),B(T(8,18,"CONTACT_US.EMAIL")),d(3),u("ngIf",e.isFieldInvalid("email","required")),d(),u("ngIf",e.isFieldInvalid("email","email")),d(3),B(T(15,20,"CONTACT_US.NAME")),d(5),B(T(20,22,"CONTACT_US.COMPANY")),d(5),B(T(25,24,"CONTACT_US.ADDRESS")),d(5),B(T(30,26,"CONTACT_US.PHONE")),d(5),B(T(35,28,"CONTACT_US.MESSAGE")),d(3),u("ngIf",e.isFieldInvalid("message","required")),d(5),u("innerHtml",T(43,30,"CONTACT_US.AGREEMENT_MESSAGE"),Rt),d(2),u("ngIf",e.isFieldInvalid("agreement","required")),d(),u("ngIf",T(46,32,e.captchaSubscription$)),d(3),B(T(49,34,"CONTACT_US.SUBMIT_BUTTON"))}}function Rne(t,i){if(t&1){let e=U();h(0,"div",32)(1,"p"),E(2),I(3,"translate"),f(),h(4,"button",33),R("click",function(){D(e);let o=m();return O(o.backToShop())}),E(5),I(6,"translate"),f()()}t&2&&(d(2),B(T(3,2,"CONTACT_US.SUCCESS_MESSAGE")),d(3),B(T(6,4,"CONTACT_US.SUCCESS_BUTTON")))}var WAe=(()=>{class t{constructor(e,n,o,r,s,a,l,c){this.environment=e,this.contactService=n,this.notificationService=o,this.platformId=r,this.breakpointObserver=s,this.route=a,this.router=l,this.translateService=c,this.subject="",this.loading=!1,this.displaySuccessTemplate=!1,this.googleRecaptchaSiteKey=this.environment.googleRecaptchaSiteKey,this.destroySubject=new K,this.onSubmitClickSubject=new K;let p=this.router.getCurrentNavigation()?.extras.state;this.subject=p!==void 0?decodeURIComponent(p.subject):"",this.contactForm=new mi({email:new tn("",[io.required,io.email]),name:new tn("",[]),company:new tn("",[]),address:new tn("",[]),phone:new tn("",[]),message:new tn(p!==void 0?decodeURIComponent(p.message):"",[io.required]),agreement:new tn("",[io.required]),recaptcha:new tn(null,[io.required])}),this.captchaSubscription$=s.observe(["(max-width: 400px)"]).pipe(z(g=>g.matches?"compact":"normal")),this.onSubmitClickSubject.pipe(ke(this.destroySubject),mt(300),He(g=>this.contactService.sendMessage(g.email,g.name,g.company,g.address,g.phone,g.subject,g.message).pipe(ct(()=>(this.notificationService.emitNotification(new Zm(k1.CONTACT_US_ERROR)),Y(void 0))),de(v=>v!==void 0),be(()=>{this.displaySuccessTemplate=!0,this.backToTheTop()})))).subscribe(),this.translateService.get("CONTACT_US.CONTACT_DEFAULT_SUBJECT").pipe(ke(this.destroySubject),be(g=>{(this.subject===null||this.subject==="")&&(this.subject=g)})).subscribe()}ngOnInit(){}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete()}isFieldInvalid(e,n){return this.contactForm.controls[e].hasError(n)&&this.isTouched(e)}isTouched(e){return this.contactForm.controls[e].touched}validateAllFormFields(e){Object.keys(e.controls).forEach(n=>{let o=e.get(n);o instanceof tn?o.markAsTouched({onlySelf:!0}):o instanceof mi&&this.validateAllFormFields(o)})}onSubmit(){if(this.validateAllFormFields(this.contactForm),this.contactForm.valid){let e={email:this.contactForm.value.email,name:this.contactForm.value.name,company:this.contactForm.value.company,address:this.contactForm.value.address,phone:this.contactForm.value.phone,subject:this.subject,message:this.contactForm.value.message};this.onSubmitClickSubject.next(e)}}backToShop(){this.router.navigate(["/"])}backToTheTop(){if(We(this.platformId)){let e=document.getElementById("top");e!==null&&(e.scrollIntoView(),e=null)}}static{this.\u0275fac=function(n){return new(n||t)(b(mn),b(MP),b(lm),b(Fe),b(Ii),b(zt),b(ut),b(Hn))}}static{this.\u0275cmp=A({type:t,selectors:[["contact-us"]],standalone:!1,decls:3,vars:2,consts:[[1,"contact-container"],["class","p-5 d-flex flex-column",3,"formGroup","ngSubmit",4,"ngIf"],["class","p-5 d-flex flex-column successful-message",4,"ngIf"],[1,"p-5","d-flex","flex-column",3,"ngSubmit","formGroup"],[1,"header","mb-5"],[3,"disabled"],[1,"d-flex","mb-3","flex-wrap"],[1,"label-margin"],["tabindex","1","title","email","formControlName","email","type","email",1,"col-12","form-control","rounded-30"],["class","label-margin error-text","id","emailRequiredError",4,"ngIf"],["class","label-margin error-text","id","invalidEmailError",4,"ngIf"],["tabindex","2","title","name","formControlName","name","type","text",1,"col-12","form-control","rounded-30"],["tabindex","3","title","company","formControlName","company","type","text",1,"col-12","form-control","rounded-30"],["tabindex","4","title","address","formControlName","address","type","text",1,"col-12","form-control","rounded-30"],["tabindex","5","title","phone","formControlName","phone","type","text",1,"col-12","form-control","rounded-30"],["tabindex","6","formControlName","message","type","text",1,"col-12","form-control","rounded-30","message-box"],["class","label-margin error-text","id","messageRequiredError",4,"ngIf"],[1,"d-flex","flex-wrap"],["tabindex","7","formControlName","agreement","type","checkbox","required",""],["id","checkboxPolicy"],[1,"ms-3",3,"innerHtml"],["class","label-margin error-text","id","checkboxRequiredError",4,"ngIf"],["class","d-flex mt-4 flex-wrap w-75",4,"ngIf"],["id","contactButton","tabindex","8","type","submit",1,"btn","btn-primary","submit-btn","mt-4"],["id","emailRequiredError",1,"label-margin","error-text"],["id","invalidEmailError",1,"label-margin","error-text"],["id","messageRequiredError",1,"label-margin","error-text"],["id","checkboxRequiredError",1,"label-margin","error-text"],[1,"d-flex","mt-4","flex-wrap","w-75"],["formControlName","recaptcha",3,"siteKey","size"],["class","label-margin error-text","id","recaptchaRequiredError",4,"ngIf"],["id","recaptchaRequiredError",1,"label-margin","error-text"],[1,"p-5","d-flex","flex-column","successful-message"],["id","navigateToMainPageButton",1,"btn","btn-primary","submit-btn","mt-4",3,"click"]],template:function(n,o){n&1&&(h(0,"div",0),_(1,Mne,50,36,"form",1)(2,Rne,7,6,"div",2),f()),n&2&&(d(),u("ngIf",!o.displaySuccessTemplate),d(),u("ngIf",o.displaySuccessTemplate))},dependencies:[ee,Lr,Pi,wv,Rn,Fr,Pv,Rs,Ps,A1,NP,lt,Le],styles:[".contact-container[_ngcontent-%COMP%]{background:#fff;max-width:600px;margin:60px auto}.header[_ngcontent-%COMP%]{font-size:26px;font-weight:600}.message-box[_ngcontent-%COMP%]{min-height:220px}.submit-btn[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;height:48px;background:#029ef0;border-radius:30px;text-transform:none;border:#029EF0 1px solid;width:100%}.label-margin[_ngcontent-%COMP%]{margin-left:12px}.error-text[_ngcontent-%COMP%]{color:#d90032}.successful-message[_ngcontent-%COMP%]{text-align:center}.successful-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:22px;font-size:16px}"]})}}return t})();var Pne=()=>["/login"],iNe=(()=>{class t{constructor(e,n){this.authService=e,this.router=n,this.closeModal=new F,this.userClickedLogoutSubject=new K,this.destroySubject=new K,this.userClickedLogoutSubject.pipe(ke(this.destroySubject),mt(300),pe(()=>this.authService.logout()),be(()=>Pe(this.router.navigate([`${um}`])))).subscribe()}ngOnInit(){}onClickUserLogout(){this.userClickedLogoutSubject.next(null)}ngOnDestroy(){this.destroySubject.next(!0),this.destroySubject.complete(),this.userClickedLogoutSubject.complete()}static{this.\u0275fac=function(n){return new(n||t)(b(Vi),b(ut))}}static{this.\u0275cmp=A({type:t,selectors:[["shop-access-denied-modal"]],outputs:{closeModal:"closeModal"},standalone:!1,decls:11,vars:11,consts:[[1,"esonel-modal-box"],[1,"title"],[1,"msg"],[1,"confirm-btn",3,"click","routerLink"],[1,"esonel-overflow"]],template:function(n,o){n&1&&(h(0,"div",0)(1,"p",1),E(2),I(3,"translate"),f(),h(4,"p",2),E(5),I(6,"translate"),f(),h(7,"a",3),R("click",function(s){return o.closeModal.emit(s),o.onClickUserLogout()}),E(8),I(9,"translate"),f()(),w(10,"div",4)),n&2&&(d(2),B(T(3,4,"NOTIFICATION.SHOP_ACCESS_DENIED.TITLE")),d(3),B(T(6,6,"NOTIFICATION.SHOP_ACCESS_DENIED.MSG")),d(2),u("routerLink",Ht(10,Pne)),d(),B(T(9,8,"NOTIFICATION.SHOP_ACCESS_DENIED.CONFIRM_BTN")))},dependencies:[qt,Le],styles:[".esonel-modal-box[_ngcontent-%COMP%]{width:362px;height:166px;border-radius:2px;background-color:#fff;box-shadow:0 1px 2px #0003;position:fixed;top:40px;z-index:9999;margin-left:-181px;left:50%}.esonel-modal-box[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:22px 24px 16px;font-family:Poppins,Open Sans,sans-serif;font-size:20px;color:#1d3039;text-decoration:none solid rgb(29,48,57);text-align:left}.esonel-modal-box[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{margin:0 24px 24px;font-family:Poppins,Open Sans,sans-serif;font-size:16px;line-height:20px;color:#1d3039;text-decoration:none solid rgb(29,48,57);text-align:left}.esonel-modal-box[_ngcontent-%COMP%] .cancel-btn[_ngcontent-%COMP%]{padding:4px 8px;background-size:cover;font-family:Poppins,Open Sans,sans-serif;text-decoration:none solid rgb(29,48,57);letter-spacing:1px;font-size:14px;color:#1d3039;text-transform:uppercase;text-align:center;float:right;margin-right:24px;margin-left:24px}.esonel-modal-box[_ngcontent-%COMP%] .confirm-btn[_ngcontent-%COMP%]{margin-right:24px;padding:4px 8px;background-size:cover;font-family:Poppins,Open Sans,sans-serif;font-size:14px;color:#1d3039;text-decoration:none solid rgb(29,48,57);letter-spacing:1px;text-transform:uppercase;text-align:center;float:right}.esonel-overflow[_ngcontent-%COMP%]{background:#000;opacity:.4;width:100%;height:100%;position:fixed;z-index:9998;display:block}"]})}}return t})();var LP=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({imports:[Se]})}}return t})();var uLe=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=X({type:t})}static{this.\u0275inj=J({providers:[Kh,Si],imports:[mP,eu,Se,AM,ZT,Zv,Vr,VD,c2,AO,T2,EP,P1,h2,qd,pR,VR,AP,FP,LP,Zv,eu,P1]})}}return t})();export{k as a,Ce as b,L1 as c,sk as d,kne as e,lk as f,rt as g,hg as h,Te as i,K as j,Ft as k,ft as l,Pe as m,Y as n,va as o,z as p,Kn as q,pe as r,Ho as s,Ut as t,zo as u,mo as v,xC as w,de as x,yg as y,Uo as z,ct as A,vg as B,ii as C,Hi as D,mt as E,zi as F,xt as G,cc as H,Uk as I,vr as J,dc as K,TC as L,Eg as M,Ig as N,Tg as O,go as P,zu as Q,qk as R,Ln as S,He as T,ke as U,be as V,Kk as W,ne as X,st as Y,S as Z,J as _,M as $,L as aa,C as ba,Ke as ca,D as da,O as ea,gt as fa,Q as ga,Qe as ha,F as ia,ue as ja,ye as ka,ht as la,Co as ma,Fe as na,EE as oa,Ss as pa,On as qa,Rt as ra,ze as sa,rpe as ta,spe as ua,d as va,si as wa,wt as xa,b as ya,Ja as za,A as Aa,X as Ba,te as Ca,In as Da,Z as Ea,_ as Fa,hS as Ga,N as Ha,iB as Ia,u as Ja,Yt as Ka,tt as La,li as Ma,re as Na,ci as Oa,TB as Pa,DB as Qa,OB as Ra,h as Sa,f as Ta,w as Ua,se as Va,ae as Wa,le as Xa,U as Ya,R as Za,m as _a,Xe as $a,Ae as ab,$e as bb,RS as cb,he as db,ve as eb,G as fb,W as gb,ge as hb,E as ib,B as jb,oe as kb,di as lb,Cy as mb,QB as nb,pn as ob,Sn as pb,hn as qb,fe as rb,Ht as sb,ce as tb,Ge as ub,mpe as vb,gpe as wb,_pe as xb,ype as yb,I as zb,T as Ab,Pt as Bb,ui as Cb,we as Db,Xa as Eb,dn as Fb,H as Gb,ot as Hb,vpe as Ib,De as Jb,$pe as Kb,_t as Lb,at as Mb,ee as Nb,fn as Ob,vt as Pb,lt as Qb,_T as Rb,Hpe as Sb,Kh as Tb,Se as Ub,We as Vb,sr as Wb,Qh as Xb,So as Yb,Pr as Zb,Ms as _b,Rr as $b,Yy as ac,F8 as bc,ohe as cc,rhe as dc,she as ec,BT as fc,yhe as gc,vhe as hc,bhe as ic,WT as jc,Che as kc,whe as lc,xhe as mc,Ehe as nc,Rd as oc,Rl as pc,Li as qc,Qf as rc,zt as sc,J$ as tc,Z7 as uc,ut as vc,qt as wc,Mye as xc,AM as yc,yn as zc,Zr as Ac,$M as Bc,Ll as Cc,WH as Dc,Lb as Ec,qH as Fc,Ove as Gc,Mve as Hc,Rve as Ic,Pve as Jc,kve as Kc,um as Lc,Ave as Mc,Nve as Nc,Fve as Oc,Lve as Pc,Vb as Qc,Bb as Rc,Vve as Sc,Bve as Tc,YH as Uc,Hve as Vc,zve as Wc,pm as Xc,il as Yc,rl as Zc,Hn as _c,Le as $c,ZT as ad,n2 as bd,i2 as cd,wl as dd,xl as ed,Ni as fd,Jwe as gd,Xwe as hd,Bd as id,b2 as jd,zl as kd,mn as ld,gn as md,vm as nd,x2 as od,E2 as pd,Ii as qd,Us as rd,dX as sd,UR as td,uX as ud,GR as vd,Wr as wd,Cm as xd,At as yd,un as zd,wv as Ad,Pi as Bd,io as Cd,cr as Dd,Rn as Ed,Fr as Fd,mi as Gd,Mv as Hd,tn as Id,gi as Jd,Lr as Kd,Rv as Ld,Rs as Md,Ps as Nd,l6 as Od,ND as Pd,Pv as Qd,p6 as Rd,f6 as Sd,LD as Td,Vr as Ud,VD as Vd,Ub as Wd,p2 as Xd,h2 as Yd,xi as Zd,Eve as _d,$O as $d,lye as ae,cye as be,NM as ce,Vi as de,kye as ee,FM as fe,m2 as ge,sm as he,BO as ie,b$ as je,C$ as ke,El as le,oye as me,qr as ne,jO as oe,f_e as pe,LO as qe,VO as re,BD as se,rfe as te,sfe as ue,S_e as ve,Gr as we,ko as xe,jH as ye,$H as ze,Hs as Ae,Vs as Be,Hl as Ce,Po as De,ym as Ee,Ur as Fe,ZM as Ge,vR as He,d1e as Ie,GM as Je,BM as Ke,cm as Le,dm as Me,o2 as Ne,fCe as Oe,YM as Pe,T1e as Qe,ki as Re,zn as Se,Fv as Te,ks as Ue,hfe as Ve,ffe as We,Un as Xe,mfe as Ye,ad as Ze,_6 as _e,jt as $e,hl as af,gfe as bf,Ns as cf,xf as df,dt as ef,Pn as ff,Oo as gf,bfe as hf,Cfe as if,Gt as jf,Tn as kf,Lfe as lf,Of as mf,nO as nf,Wt as of,Ye as pf,Mo as qf,Bfe as rf,nt as sf,mme as tf,Ue as uf,Ro as vf,bl as wf,$r as xf,uO as yf,yt as zf,fd as Af,md as Bf,bO as Cf,CO as Df,Rf as Ef,hr as Ff,Yl as Gf,wR as Hf,ur as If,lfe as Jf,Br as Kf,oo as Lf,cfe as Mf,ni as Nf,Nv as Of,ro as Pf,jD as Qf,$D as Rf,dfe as Sf,Ls as Tf,T0e as Uf,uo as Vf,co as Wf,Zl as Xf,_Oe as Yf,Jl as Zf,eu as _f,R1 as $f,P1 as ag,kke as bg,A1 as cg,AP as dg,NP as eg,FP as fg,g0e as gg,Kv as hg,_0e as ig,Qv as jg,AO as kg,KM as lg,qM as mg,Zbe as ng,NO as og,jRe as pg,YRe as qg,MP as rg,k1 as sg,Zm as tg,yAe as ug,lm as vg,WAe as wg,No as xg,Jve as yg,vve as zg,fR as Ag,mR as Bg,gR as Cg,I2 as Dg,bm as Eg,Xxe as Fg,yR as Gg,KRe as Hg,zPe as Ig,YPe as Jg,fm as Kg,Bi as Lg,sDe as Mg,rMe as Ng,qs as Og,VR as Pg,Q2e as Qg,OP as Rg,aAe as Sg,n_e as Tg,i_e as Ug,Yv as Vg,cve as Wg,Zv as Xg,zM as Yg,UM as Zg,ybe as _g,u2 as $g,vCe as ah,PCe as bh,Lxe as ch,mP as dh,ARe as eh,yP as fh,vP as gh,wP as hh,Vke as ih,Si as jh,iNe as kh,uLe as lh};