import{a as je,b as fs,d as hs,e as gs,f as Ie,g as ys}from"./chunk-DWC6KKCJ.js";import{a as ls}from"./chunk-A4EFJDDE.js";import{a as Lo,b as Uo,c as Bo,f as Xo,g as Zo}from"./chunk-TOGS6UK3.js";import"./chunk-75SDXDFX.js";import{a as Gi}from"./chunk-3IYDQVZE.js";import{a as es,b as ts,c as ss,d as as,e as ds}from"./chunk-EFV4NL6J.js";import"./chunk-RJAVDN6S.js";import"./chunk-2CTDUDYC.js";import"./chunk-YOEI2QR3.js";import{a as us}from"./chunk-NQZWM42F.js";import"./chunk-I34BD3OH.js";import{a as Ko}from"./chunk-Y3VZRXGX.js";import"./chunk-GMHQ23NT.js";import{e as is,h as rs,j as ns,k as os,l as pi}from"./chunk-DQJLSI3Z.js";import{d as cs,f as ms,g as ps}from"./chunk-JZKEQHNY.js";import"./chunk-K7IDCJXC.js";import"./chunk-XBEPPVCY.js";import"./chunk-QTIJODC2.js";import{a as An,b as Pn}from"./chunk-OA64ZU66.js";import"./chunk-SK3ZTTOF.js";import{A as xt,G as Hi,P as zo,R as ci,S as jo,Ya as Yo,Za as Jo,_a as mi,d as yn,e as Ki}from"./chunk-GWURSJL3.js";import{b as Eo,c as wo,d as Mo,f as Ao}from"./chunk-FQ7FYZUZ.js";import{a as gn,h as Do,q as Vo,x as Wo}from"./chunk-4CBNKXXV.js";import"./chunk-IA53P3DX.js";import{b as ft}from"./chunk-AC3QE5HA.js";import{E as li,F as Io,L as qi,N as Po,O as xo,U as Oo,X as Ro,Y as ko,a as I,aa as No,b as Me,e as Mn,ea as Fo,f as Ui,ja as qo,ka as Ho,m as dt,n as Bi,o as Zt}from"./chunk-5FOPDWHA.js";import{a as $o}from"./chunk-7QDUJ5BC.js";import{b as Go,c as Qo}from"./chunk-TL34KFJY.js";import{$a as Kn,Ba as Dn,Bb as Xn,C as D,Ca as Ln,Db as oi,E as Be,Eb as Zn,F as ei,Fb as eo,G as It,Gb as to,Hb as io,Ia as Un,Ib as Pt,Kb as ro,L as ae,Lb as si,Mb as no,Na as B,Nb as oo,O as Rn,Oa as Bn,Ob as so,Pb as ao,Qa as zn,Ra as ri,Rb as ai,Sa as jn,Sb as lo,Ta as ze,Tb as co,U as kn,Ub as mo,V as ti,Va as $n,Vb as po,Wa as j,Wb as uo,Xb as fo,Ya as Vn,Yb as ho,Zb as go,a as Xt,ab as qn,b as ut,bb as Hn,c as Mt,cb as E,dc as yo,ec as _o,fb as le,fc as vo,gb as Gn,gc as So,hb as Qn,hc as bo,ia as ii,ib as Wn,j as zi,jb as ni,jc as Co,kb as Vi,kc as te,lb as Yn,lc as To,mb as Je,p as In,qa as At,ra as Nn,s as xn,v as ji,va as Fn,w as $i,x as On,zb as Jn}from"./chunk-5E2WUTGU.js";import{$ as fe,$a as ne,$b as mt,A as Pe,Ad as Jt,B as X,Ba as V,Bd as an,Ca as St,Cb as Ct,Cd as ln,Db as oe,Dd as cn,E as kr,Ed as mn,F as Nr,Fa as Ce,Fb as y,Fd as pn,G as Z,Ga as at,Gb as qt,Gd as Di,H as Bt,Ha as Lr,Hd as un,He as we,Id as dn,Ie as Cn,Jc as Ne,Jd as Li,Ka as Qe,Kc as Fe,La as We,Lb as Ye,Ma as re,Md as fn,Nd as hn,Oa as $t,Ob as Kr,Oc as Zr,Oe as Tn,P as _t,Pa as ke,Pb as qr,Qb as h,Qc as ue,Qe as En,Rb as v,S as Ge,Sb as x,Sc as en,Tb as Hr,Td as _n,Ua as Ur,Ub as Gr,V as Se,Va as K,Vb as Ht,Ve as wn,Wa as Ni,Wb as Tt,Xc as z,Yb as se,Yc as pt,Zb as w,Zc as De,_a as bt,_b as ct,ac as Et,ad as Te,bb as Br,c as Oi,db as d,e as He,ea as zt,eb as ge,ec as Qr,fb as zr,fd as tn,g as Ri,gb as jr,gc as Wr,gd as Gt,h as Ut,ha as Fr,hc as Yr,ib as Vt,id as rn,jd as Qt,ka as jt,kb as $r,lb as lt,lc as Jr,ma as ki,mc as ee,na as he,nb as Vr,nc as xe,oc as wt,od as Le,pd as Ee,qb as Kt,qd as Ue,ra as be,sd as Fi,ta as P,te as vn,ud as nn,va as M,wa as vt,wc as Xr,wd as on,we as Sn,xa as Dr,xc as Q,xd as sn,ya as Y,yd as Wt,ye as bn,z as Rr,za as m,zb as R,zd as Yt}from"./chunk-VV4J2VYU.js";import{a as N,b as st,d as Or}from"./chunk-3EYC4JTX.js";function ol(i,t){if(i&1&&(h(0,"div",3),x(1,"div",4),v()),i&2){let e=w(2);d(),qt("width",e.diameter)("height",e.diameter)}}function sl(i,t){if(i&1&&x(0,"div",5),i&2){let e=w().ngIf,r=w();qt("background",r.color)("height",r.height)("width",e+"%")}}function al(i,t){if(i&1&&(Hr(0),R(1,ol,2,4,"div",1)(2,sl,1,6,"div",2),Gr()),i&2){let e=w();d(),y("ngIf",e.includeSpinner),d(),y("ngIf",e.includeBar)}}var Qi=class{constructor(t={}){this.config=t,this.state={action:null,value:0,initialValue:0},this.requests=null,this.disabled=!1,this.stream$=new Ri,this._value$=null,this.timer$=e=>{let r=Pe(e);switch(e.action){case"start":case"increment":case"set":{e.action==="start"&&this.config.latencyThreshold===0&&e.value===0&&(e.value=e.initialValue),this.requests>0&&(r=_t(this.config.latencyThreshold,250).pipe(Z(n=>st(N({},e),{value:n===0?this.state.value||e.initialValue:this._increment()}))));break}case"complete":case"stop":{r=e.value===0?Pe(N({},e)):_t(0,500).pipe(fe(2),Z(n=>({value:n===0?100:0})));break}}return r.pipe(Z(n=>st(N({},n),{action:"set"})),be(n=>this.next(n,!1)))},this.config=N({latencyThreshold:0},t)}get value$(){return this._value$?this._value$:this._value$=this.stream$.pipe(ki(this.state),he(t=>this.timer$(t)),jt(),Z(t=>t.value))}start(t=2){this.disabled||this.next({action:"start",initialValue:t})}stop(){this.next({action:"stop"})}complete(){this.next({action:"complete"})}disable(){this.disabled=!0}set(t){this.next({action:"set",value:t})}increment(t=0){this.next({action:"increment",value:t})}next(t,e=!0){switch(t.action){case"start":this.requests=(this.requests||0)+1;break;case"complete":if(this.requests=(this.requests||1)-1,this.requests>0)return;break;case"stop":this.requests=0;break;case"increment":t.value=this._increment(t.value);break}this.state=N(st(N({},this.state),{action:null}),t),e&&this.stream$.next(this.state)}_increment(t=0){let e=this.state.value;return e>=99&&(t=0),t===0&&(e>=0&&e<25?t=Math.random()*3+3:e>=25&&e<65?t=Math.random()*3:e>=65&&e<90?t=Math.random()*2:e>=90&&e<99?t=.5:t=0),t+e}},ll=new Dr("LOADING_BAR_CONFIG"),Wi=(()=>{class i{constructor(e,r={},n){this.platformId=e,this.config=r,this.zone=n,this.refs={},this.streams$=new Ri,this.value$=this.streams$.pipe(ki(null),he(()=>Bt(Object.keys(this.refs).map(o=>this.refs[o].value$))),cl(this.zone),Z(o=>Math.max(0,...o)))}get progress$(){return this.value$}start(e=2){this.useRef().start(e)}set(e){this.useRef().set(e)}increment(e){this.useRef().increment(e)}complete(){this.useRef().complete()}stop(){this.useRef().stop()}useRef(e="default"){return this.refs[e]||(this.refs[e]=new Qi(this.config),this.streams$.next(),Ee(this.platformId)||this.refs[e].disable()),this.refs[e]}}return i.\u0275fac=function(e){return new(e||i)(Y(K),Y(ll,8),Y(lt,8))},i.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function cl(i){return i?t=>new He(e=>t.subscribe(r=>i.run(()=>e.next(r)),r=>i.run(()=>e.error(r)),()=>i.run(()=>e.complete()))):t=>t}var _s=(()=>{class i{constructor(e){this.loader=e,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.color="#29d"}get value$(){return this.ref?this.loader.useRef(this.ref).value$:this.loader.value$}}return i.\u0275fac=function(e){return new(e||i)(ge(Wi))},i.\u0275cmp=V({type:i,selectors:[["ngx-loading-bar"]],hostVars:3,hostBindings:function(e,r){e&2&&(Ct("fixed",r.fixed),qt("color",r.color))},inputs:{includeSpinner:"includeSpinner",includeBar:"includeBar",fixed:"fixed",color:"color",value:"value",ref:"ref",height:"height",diameter:"diameter"},decls:2,vars:3,consts:[[4,"ngIf"],["class","ngx-spinner",4,"ngIf"],["class","ngx-bar",3,"background","height","width",4,"ngIf"],[1,"ngx-spinner"],[1,"ngx-spinner-icon"],[1,"ngx-bar"]],template:function(e,r){e&1&&(R(0,al,3,2,"ng-container",0),Ne(1,"async")),e&2&&y("ngIf",r.value!=null?r.value:Fe(1,1,r.value$))},dependencies:[Gt,Qt],styles:["[_nghost-%COMP%]{position:relative;display:block;pointer-events:none}[_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{transition:.35s linear all;display:block;position:absolute;top:5px;left:0px}[_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%] .ngx-spinner-icon[_ngcontent-%COMP%]{width:14px;height:14px;border:solid 2px transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite;animation:_ngcontent-%COMP%_loading-bar-spinner .4s linear infinite}[_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{transition:width .35s;position:absolute;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}[dir=rtl] [_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{right:0;left:unset}[fixed=true][_nghost-%COMP%]{z-index:10002}[fixed=true][_nghost-%COMP%] .ngx-bar[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px}[dir=rtl] [fixed=true][_nghost-%COMP%] .ngx-spinner[_ngcontent-%COMP%]{right:10px;left:unset}@-webkit-keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_loading-bar-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0}),i})(),Xe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=St({type:i}),i.\u0275inj=vt({imports:[[Le]]}),i})();var ml=["*"],Ss=(()=>{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["pds-footer"]],standalone:!0,features:[Q],ngContentSelectors:ml,decls:3,vars:0,consts:[[1,"pds-footer"],[1,"pds-footer-content-wrapper"]],template:function(r,n){r&1&&(ct(),h(0,"footer",0)(1,"div",1),mt(2),v()())},encapsulation:2})}}return i})();var pl=["*"],bs=(()=>{class i{static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["pds-footer-bottom"]],standalone:!0,features:[Q],ngContentSelectors:pl,decls:3,vars:0,consts:[[1,"pds-footer-bottom"],[1,"pds-footer-bottom-content"]],template:function(r,n){r&1&&(ct(),h(0,"div",0)(1,"div",1),mt(2),v()())},encapsulation:2})}}return i})();function ul(i,t){if(i&1&&(re(),h(0,"svg",13),x(1,"use"),v()),i&2){let e=w(3);d(),oe("href","",e.icons,"#expand-more")}}function dl(i,t){if(i&1&&(re(),h(0,"svg",13),x(1,"use"),v()),i&2){let e=w(3);d(),oe("href","",e.icons,"#expand-less")}}function fl(i,t){if(i&1&&R(0,ul,2,2,"svg",12)(1,dl,2,2,"svg",12),i&2){let e=w().index,r=w();y("ngIf",e!==r.activeTabIndex),d(),y("ngIf",e===r.activeTabIndex)}}function hl(i,t){if(i&1&&(re(),h(0,"svg",19),x(1,"use"),v()),i&2){let e=w(4);d(),oe("href","",e.icons,"#north-east")}}function gl(i,t){if(i&1&&(h(0,"a",17),ee(1),R(2,hl,2,2,"svg",18),v()),i&2){let e=w().$implicit,r=w(2);y("href",e==null?null:e.url,ne)("target",r.getItemTarget(e)),d(),wt(" ",e==null?null:e.label," "),d(),y("ngIf",r.getItemTarget(e)==="_blank")}}function yl(i,t){if(i&1&&(re(),h(0,"svg",19),x(1,"use"),v()),i&2){let e=w(4);d(),oe("href","",e.icons,"#north-east")}}function _l(i,t){if(i&1&&(h(0,"a",20),ee(1),R(2,yl,2,2,"svg",18),v()),i&2){let e=w().$implicit,r=w(2);y("routerLink",e==null?null:e.routerLink)("target",r.getItemTarget(e)),d(),wt(" ",e==null?null:e.label," "),d(),y("ngIf",r.getItemTarget(e)==="_blank")}}function vl(i,t){if(i&1&&(h(0,"p",14),R(1,gl,3,4,"a",15)(2,_l,3,4,"a",16),v()),i&2){let e=t.$implicit,r=w(2);d(),y("ngIf",r.isItemExternal(e)),d(),y("ngIf",!r.isItemExternal(e))}}function Sl(i,t){if(i&1&&(h(0,"p-accordionTab",9),R(1,fl,2,2,"ng-template",10)(2,vl,3,2,"p",11),v()),i&2){let e=t.$implicit;y("header",e==null?null:e.label),d(2),y("ngForOf",e==null?null:e.items)}}function bl(i,t){i&1&&Ht(0)}function Cl(i,t){if(i&1&&(re(),h(0,"svg",19),x(1,"use"),v()),i&2){let e=w(4);d(),oe("href","",e.icons,"#north-east")}}function Tl(i,t){if(i&1&&(h(0,"a",17),ee(1),R(2,Cl,2,2,"svg",18),v()),i&2){let e=w().$implicit,r=w(2);y("href",e==null?null:e.url,ne)("target",r.getItemTarget(e)),d(),wt(" ",e==null?null:e.label," "),d(),y("ngIf",r.getItemTarget(e)==="_blank")}}function El(i,t){if(i&1&&(re(),h(0,"svg",19),x(1,"use"),v()),i&2){let e=w(4);d(),oe("href","",e.icons,"#north-east")}}function wl(i,t){if(i&1&&(h(0,"a",20),ee(1),R(2,El,2,2,"svg",18),v()),i&2){let e=w().$implicit,r=w(2);y("routerLink",e==null?null:e.routerLink)("target",r.getItemTarget(e)),d(),wt(" ",e==null?null:e.label," "),d(),y("ngIf",r.getItemTarget(e)==="_blank")}}function Ml(i,t){if(i&1&&(h(0,"span",24),R(1,Tl,3,4,"a",15)(2,wl,3,4,"a",16),v()),i&2){let e=t.$implicit,r=w(2);d(),y("ngIf",r.isItemExternal(e)),d(),y("ngIf",!r.isItemExternal(e))}}function Il(i,t){if(i&1&&(h(0,"div",21)(1,"span",22),ee(2),v(),R(3,Ml,3,2,"span",23),v()),i&2){let e=t.$implicit;d(2),xe(e==null?null:e.label),d(),y("ngForOf",e==null?null:e.items)}}function Al(i,t){i&1&&Ht(0)}function Pl(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.facebookUrl,ne)("title",e.facebookTitle?e.facebookTitle:"facebook social"),d(2),oe("href","",e.icons,"#facebook")}}function xl(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.linkedInUrl,ne)("title",e.linkedInTitle?e.linkedInTitle:"linkedIn social"),d(2),oe("href","",e.icons,"#linkedin")}}function Ol(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.xUrl,ne)("title",e.xUrlTitle?e.xUrlTitle:"xUrl social"),d(2),oe("href","",e.icons,"#x")}}function Rl(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.instagramUrl,ne)("title",e.instagramTitle?e.instagramTitle:"instagram social"),d(2),oe("href","",e.icons,"#instagram")}}function kl(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.youtubeUrl,ne)("title",e.youtubeTitle?e.youtubeTitle:"youtube social"),d(2),oe("href","",e.icons,"#youtube")}}function Nl(i,t){if(i&1&&(h(0,"a",29),re(),h(1,"svg",19),x(2,"use"),v()()),i&2){let e=w(2);y("href",e.pinterestUrl,ne)("title",e.pinterestTitle?e.pinterestTitle:"pinterest social"),d(2),oe("href","",e.icons,"#pinterest")}}function Fl(i,t){i&1&&Ht(0)}function Dl(i,t){if(i&1){let e=Tt();h(0,"div",25),R(1,Pl,3,4,"a",26)(2,xl,3,4,"a",26)(3,Ol,3,4,"a",26)(4,Rl,3,4,"a",26)(5,kl,3,4,"a",26)(6,Nl,3,4,"a",26),v(),h(7,"div",27)(8,"p-button",28),se("click",function(n){Qe(e);let o=w();return We(o.onContactUsClick(n))}),ee(9),v()(),R(10,Fl,1,0,"ng-container",5)}if(i&2){let e=w();d(),y("ngIf",e.facebookUrl),d(),y("ngIf",e.linkedInUrl),d(),y("ngIf",e.xUrl),d(),y("ngIf",e.instagramUrl),d(),y("ngIf",e.youtubeUrl),d(),y("ngIf",e.pinterestUrl),d(2),y("outlined",!0),d(),xe(e.contactText),d(),y("ngTemplateOutlet",e.mediaTpl)}}var Cs=(()=>{class i{constructor(){this.menuItems=[],this.facebookUrl="",this.facebookTitle="",this.linkedInUrl="",this.linkedInTitle="",this.xUrl="",this.xUrlTitle="",this.instagramUrl="",this.instagramTitle="",this.youtubeUrl="",this.youtubeTitle="",this.pinterestUrl="",this.pinterestTitle="",this.contactText="Contact Us",this.contactUsClick=new Ur,this.activeTabIndex=-1,this.icons="assets/pds-icons.svg"}onContactUsClick(e){this.contactUsClick.emit(e)}onTabOpen(e){this.activeTabIndex=e.index}onTabClose(e){this.activeTabIndex=-1}isItemExternal(e){return e?.url&&!e?.routerLink}getItemTarget(e){return e&&e.target?e.target:e&&!e.target&&e.url?"_blank":"_self"}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["pds-footer-menu"]],contentQueries:function(r,n,o){if(r&1&&Qr(o,zr,5),r&2){let s;Wr(s=Yr())&&(n.mediaTpl=s.first)}},inputs:{menuItems:"menuItems",facebookUrl:"facebookUrl",facebookTitle:"facebookTitle",linkedInUrl:"linkedInUrl",linkedInTitle:"linkedInTitle",xUrl:"xUrl",xUrlTitle:"xUrlTitle",instagramUrl:"instagramUrl",instagramTitle:"instagramTitle",youtubeUrl:"youtubeUrl",youtubeTitle:"youtubeTitle",pinterestUrl:"pinterestUrl",pinterestTitle:"pinterestTitle",contactText:"contactText"},outputs:{contactUsClick:"contactUsClick"},standalone:!0,features:[Xr([{provide:vn,useValue:{}}]),Q],decls:12,vars:5,consts:[["socialTemplate",""],[1,"pds-footer-menu-compact"],[1,"pds-footer-menu-container"],[3,"onOpen","onClose","activeIndex"],["iconPos","end",3,"header",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],[1,"pds-footer-menu-desktop"],["class","pds-footer-menu-column",4,"ngFor","ngForOf"],[1,"pds-footer-social-contact-wrapper"],["iconPos","end",3,"header"],["pTemplate","icon"],["class","pds-footer-menu-item",4,"ngFor","ngForOf"],["class","pds-icon p-accordion-toggle-icon-end",4,"ngIf"],[1,"pds-icon","p-accordion-toggle-icon-end"],[1,"pds-footer-menu-item"],[3,"href","target",4,"ngIf"],[3,"routerLink","target",4,"ngIf"],[3,"href","target"],["class","pds-icon",4,"ngIf"],[1,"pds-icon"],[3,"routerLink","target"],[1,"pds-footer-menu-column"],[1,"pds-footer-menu-column-heading"],["class","pds-footer-menu-column-item",4,"ngFor","ngForOf"],[1,"pds-footer-menu-column-item"],[1,"pds-footer-social-bar"],["target","_blank","class","pds-footer-social-bar-icon",3,"href","title",4,"ngIf"],[1,"pds-footer-contact"],[3,"click","outlined"],["target","_blank",1,"pds-footer-social-bar-icon",3,"href","title"]],template:function(r,n){if(r&1){let o=Tt();h(0,"div",1)(1,"div",2)(2,"p-accordion",3),se("onOpen",function(a){return Qe(o),We(n.onTabOpen(a))})("onClose",function(a){return Qe(o),We(n.onTabClose(a))}),R(3,Sl,3,2,"p-accordionTab",4),v()(),R(4,bl,1,0,"ng-container",5),v(),h(5,"div",6)(6,"div",2),R(7,Il,4,2,"div",7),h(8,"div",8),R(9,Al,1,0,"ng-container",5),v()()(),R(10,Dl,11,9,"ng-template",null,0,Zr)}if(r&2){let o=Jr(11);d(2),y("activeIndex",n.activeTabIndex),d(),y("ngForOf",n.menuItems),d(),y("ngTemplateOutlet",o),d(3),y("ngForOf",n.menuItems),d(2),y("ngTemplateOutlet",o)}},dependencies:[Le,tn,Gt,rn,Mo,wo,Eo,In,Io,li,Cn],encapsulation:2})}}return i})();var Ll=["*"],Ts=(()=>{class i{constructor(){this.logoSrc="",this.logoAltText=""}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["pds-footer-top"]],inputs:{logoSrc:"logoSrc",logoAltText:"logoAltText"},standalone:!0,features:[Q],ngContentSelectors:Ll,decls:4,vars:2,consts:[[1,"pds-footer-top"],["height","46",3,"src","alt"],[1,"pds-footer-tagline"]],template:function(r,n){r&1&&(ct(),h(0,"div",0),x(1,"img",1),h(2,"span",2),mt(3),v()()),r&2&&(d(),y("src",n.logoSrc,ne)("alt",n.logoAltText))},dependencies:[Le],encapsulation:2})}}return i})();var Es=(()=>{class i{constructor(){this.contentService=m(Kn),this.languagesService=m(te),this.currentSiteState=m(j),this.currentSiteService=m(Vn),this.urlService=m($n),this.configManagerService=m(Bn),this.resourceService=m(ft),this.currentSiteId=z(()=>this.currentSiteState.currentSite()?.id),this.footerParams=z(()=>({siteId:this.currentSiteId(),language:this.languagesService.language()})),this.footerInfo$=ut(this.footerParams).pipe(he(e=>!e.siteId||!e.language?Pe(null):this.contentService.getFooter(e.siteId,e.language))),this.footerInfo=Mt(this.footerInfo$,{initialValue:null}),this.mainItems=z(()=>this.footerInfo()?.items.filter(r=>r.type==Ki.navigation).slice(0,-1)?.map(this.mapFooterMainItemToFooterLinks.bind(this))??[]),this.contactUsItem=z(()=>{let e=this.footerInfo()?.items.filter(r=>r.type==Ki.navigation).at(-1);return e?this.mapFooterMainItemToFooterLinks(e).items[0]:null}),this.legalItem=z(()=>{let e=this.currentSiteState.getSiteSettingValueByKey(D.KenticoCodeNamesFooterLegalMenu);if(e)return this.resourceService.getResourceByKey(e);let r=this.configManagerService.rootSite(),n=this.configManagerService.getSiteSettingValueByKey(r,D.KenticoCodeNamesFooterLegalMenu);return n?this.resourceService.getResourceByKey(n):this.resourceService.getResourceByKey(ae.LEGAL_FOOTER)}),this.socialLinks=z(()=>this.footerInfo()?.social?.content??null)}mapFooterMainItemToFooterLinks(e){return{label:e.name,items:e.items.map(this.mapChildFooterItemToLink.bind(this))}}mapChildFooterItemToLink(e){if(!this.urlService.isAbsoluteUrl(e.url))return{tag:"relative",label:e.name,routerLink:[e.url],target:e.target};if(this.currentSiteService.isCurrentSiteDomainUrl(e.url)){let r=new URL(e.url);return{tag:"relative",label:e.name,routerLink:[r.pathname+r.search],target:e.target}}return{tag:"absolute",label:e.name,url:e.url,target:e.target}}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ws=(()=>{class i{constructor(){this.platformId=m(K),this.footerService=m(Es),this.router=m(we),this.domSanitizer=m(fn),this.staticContentService=m(qn),this.isBrowser=Ee(this.platformId),this.ResourceItem=ae,this.mainItems=this.footerService.mainItems,this.contactUsItem=this.footerService.contactUsItem,this.socialLinks=this.footerService.socialLinks,this.legalItem=z(()=>this.domSanitizer.bypassSecurityTrustHtml(this.footerService.legalItem())),this.footerLogo=z(()=>this.staticContentService.getStaticAsset(D.BrandingAssetsFooterLogo)?.url??this.fallbackLogoSrc()),this.fallbackLogoSrc=Kt(Dn),De(()=>{let e=this.footerLogo();e&&this.fallbackLogoSrc.set(e)},{allowSignalWrites:!0})}onContactUsClick(){if(!this.isBrowser)return;let e=this.contactUsItem();switch(e?.tag){case"absolute":{window.open(e.url,e.target);break}case"relative":{let r=this.router.serializeUrl(this.router.createUrlTree(e.routerLink));e.target===Rn.BLANK?window.open(r,e.target):this.router.navigateByUrl(r);break}}}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["ppg-footer"]],standalone:!0,features:[Q],decls:5,vars:10,consts:[["logoAltText","PPG Logo",3,"logoSrc"],[3,"contactUsClick","menuItems","facebookUrl","youtubeUrl","pinterestUrl","instagramUrl","xUrl","linkedInUrl","contactText"],[3,"innerHTML"]],template:function(r,n){if(r&1&&(h(0,"pds-footer"),x(1,"pds-footer-top",0),h(2,"pds-footer-menu",1),se("contactUsClick",function(){return n.onContactUsClick()}),v(),h(3,"pds-footer-bottom"),x(4,"div",2),v()()),r&2){let o,s,a,l,c,p,u;d(),y("logoSrc",n.footerLogo()),d(),y("menuItems",n.mainItems())("facebookUrl",((o=n.socialLinks())==null?null:o.facebookLink)||"")("youtubeUrl",((s=n.socialLinks())==null?null:s.youtubeLink)||"")("pinterestUrl",((a=n.socialLinks())==null?null:a.pinterestLink)||"")("instagramUrl",((l=n.socialLinks())==null?null:l.instagramLink)||"")("xUrl",((c=n.socialLinks())==null?null:c.twitterLink)||"")("linkedInUrl",((p=n.socialLinks())==null?null:p.linkedinLink)||"")("contactText",(u=n.contactUsItem())==null?null:u.label),d(2),y("innerHTML",n.legalItem(),bt)}},dependencies:[Ss,Ts,Cs,bs],encapsulation:2,changeDetection:0})}}return i})();var Ms=(()=>{class i extends ao{constructor(){super(...arguments),this.document=si` mutation ($userEmail: EmailAddress!) { setUserBannerDismissedOn(userEmail: $userEmail) { statusCode } } `}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=$t(i)))(n||i)}})()}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Is=(()=>{class i extends so{constructor(){super(...arguments),this.document=si` query ($userEmail: EmailAddress!) { userPreferences(userEmail: $userEmail) { language isBannerVisible } } `}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=$t(i)))(n||i)}})()}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var As=(()=>{class i{constructor(e,r){this.userPreferencesQuery=e,this.createAppBannerDetailsMutation=r}getAppBanerDetails(e){return this.userPreferencesQuery.fetch({userEmail:e}).pipe(Z(r=>r.data.userPreferences.isBannerVisible))}createAppBannerDetails(e){let r={userEmail:e};return this.createAppBannerDetailsMutation.mutate(r)}static{this.\u0275fac=function(r){return new(r||i)(Y(Is),Y(Ms))}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function jl(i,t){if(i&1){let e=Tt();h(0,"span",0),se("click",function(){Qe(e);let n=w();return We(n.closeSmartBanner())}),ee(1,"\xD7"),v(),h(2,"div",1)(3,"div",2),x(4,"span",3),h(5,"div",4)(6,"div",5),ee(7),Ne(8,"transloco"),v(),h(9,"div",6),ee(10),Ne(11,"transloco"),v()(),h(12,"a",7),se("click",function(){Qe(e);let n=w();return We(n.closeSmartBanner())}),h(13,"span",8),ee(14),Ne(15,"transloco"),v()()()()}if(i&2){let e=w();d(7),xe(Fe(8,4,"SMART_BANNER.TITLE")),d(3),xe(Fe(11,6,"SMART_BANNER.SUB_TITLE")),d(2),y("href",e.url,ne),d(2),xe(Fe(15,8,"SMART_BANNER.VIEW"))}}var Ps=(()=>{class i{constructor(e,r,n,o,s){this.platformService=e,this.preferenceService=r,this.userInfoService=n,this.deviceService=o,this.configurationService=s,this.url=null,this.smartbannerVisible$=new Ut(!1),this.smartBannerEnabled$=this.configurationService.getSmartBannerEnabled(),this.deviceService.isMobileView.pipe(Ge(a=>a),he(()=>this.userInfoService.getUserInfo()),Ge(a=>!!a),he(a=>this.preferenceService.getAppBanerDetails(a.email)),Xt()).subscribe(a=>{this.smartbannerVisible$.next(a)}),this.platformService.ANDROID?this.url="https://onelink.to/cdp_footer_and?utm_source=cdp&utm_medium=footer":this.platformService.IOS&&(this.url="https://onelink.to/cdp_footer_ios?utm_source=cdp&utm_medium=footer")}closeSmartBanner(){this.smartbannerVisible$.next(!1),this.userInfoService.getUserInfo().subscribe(e=>{this.preferenceService.createAppBannerDetails(e.email).subscribe()})}static{this.\u0275fac=function(r){return new(r||i)(ge(gn),ge(As),ge(ss),ge(ts),ge(os))}}static{this.\u0275cmp=V({type:i,selectors:[["app-smartbanner"]],standalone:!0,features:[Q],decls:3,vars:5,consts:[[1,"smartbanner-close",3,"click"],["id","smartabanner",1,"smartbanner"],[1,"smartbanner-container"],[1,"smartbanner-icon"],[1,"smartbanner-info"],[1,"smartbanner-title"],[1,"smartbanner-subtitle"],["target","_blank","rel","noopener",1,"smartbanner-button",3,"click","href"],[1,"smartbanner-button-text"]],template:function(r,n){r&1&&(R(0,jl,16,10),Ne(1,"async"),Ne(2,"async")),r&2&&Ye(0,Fe(1,1,n.smartbannerVisible$)&&Fe(2,3,n.smartBannerEnabled$)?0:-1)},dependencies:[Qt,_o,yo],styles:[".padding-none[_ngcontent-%COMP%]{padding:0!important}.padding-small[_ngcontent-%COMP%]{padding:size(1)!important}.padding-medium[_ngcontent-%COMP%]{padding:size(2)!important}.padding-large[_ngcontent-%COMP%]{padding:size(3)!important}.padding-xl[_ngcontent-%COMP%]{padding:size(4)!important}.padding-xxl[_ngcontent-%COMP%]{padding:size(5)!important}.padding-top-none[_ngcontent-%COMP%]{padding-top:0!important}.padding-top-small[_ngcontent-%COMP%]{padding-top:size(1)!important}.padding-top-medium[_ngcontent-%COMP%]{padding-top:size(2)!important}.padding-top-large[_ngcontent-%COMP%]{padding-top:size(3)!important}.padding-top-xl[_ngcontent-%COMP%]{padding-top:size(4)!important}.padding-top-xxl[_ngcontent-%COMP%]{padding-top:size(5)!important}.padding-right-none[_ngcontent-%COMP%]{padding-right:0!important}.padding-right-small[_ngcontent-%COMP%]{padding-right:size(1)!important}.padding-right-medium[_ngcontent-%COMP%]{padding-right:size(2)!important}.padding-right-large[_ngcontent-%COMP%]{padding-right:size(3)!important}.padding-right-xl[_ngcontent-%COMP%]{padding-right:size(4)!important}.padding-right-xxl[_ngcontent-%COMP%]{padding-right:size(5)!important}.padding-bottom-none[_ngcontent-%COMP%]{padding-bottom:0!important}.padding-bottom-small[_ngcontent-%COMP%]{padding-bottom:size(1)!important}.padding-bottom-medium[_ngcontent-%COMP%]{padding-bottom:size(2)!important}.padding-bottom-large[_ngcontent-%COMP%]{padding-bottom:size(3)!important}.padding-bottom-xl[_ngcontent-%COMP%]{padding-bottom:size(4)!important}.padding-bottom-xxl[_ngcontent-%COMP%]{padding-bottom:size(5)!important}.padding-left-none[_ngcontent-%COMP%]{padding-left:0!important}.padding-left-small[_ngcontent-%COMP%]{padding-left:size(1)!important}.padding-left-medium[_ngcontent-%COMP%]{padding-left:size(2)!important}.padding-left-large[_ngcontent-%COMP%]{padding-left:size(3)!important}.padding-left-xl[_ngcontent-%COMP%]{padding-left:size(4)!important}.padding-left-xxl[_ngcontent-%COMP%]{padding-left:size(5)!important}.font-size-xs-1[_ngcontent-%COMP%]{font-size:.5625rem!important}.font-size-xs-2[_ngcontent-%COMP%]{font-size:.625rem!important}.font-size-xs-3[_ngcontent-%COMP%]{font-size:.65625rem!important}.font-size-s-1[_ngcontent-%COMP%]{font-size:.6875rem!important}.font-size-s-2[_ngcontent-%COMP%]{font-size:.75rem!important}.font-size-s-3[_ngcontent-%COMP%]{font-size:.875rem!important}.font-size-s-4[_ngcontent-%COMP%]{font-size:.8125rem!important}.font-size-m[_ngcontent-%COMP%]{font-size:1rem!important}.font-size-m-1[_ngcontent-%COMP%]{font-size:1.125rem!important}.font-size-m-2[_ngcontent-%COMP%]{font-size:1.25rem!important}.font-size-m-3[_ngcontent-%COMP%]{font-size:1.375rem!important}.font-size-l[_ngcontent-%COMP%]{font-size:1.5rem!important}.font-size-l-1[_ngcontent-%COMP%]{font-size:1.625rem!important}.font-size-l-2[_ngcontent-%COMP%]{font-size:2.125rem!important}.font-size-l-3[_ngcontent-%COMP%]{font-size:2.375rem!important}.font-size-xl[_ngcontent-%COMP%]{font-size:2.5rem!important}.smartbanner[_ngcontent-%COMP%]{left:0;top:0;width:100%;height:78px;font-family:Noto Sans,arial,helvetica,sans-serif;background:#bae3f3;overflow:hidden;border-bottom:1px solid #cccccc;margin-bottom:10px;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;text-size-adjust:none}.smartbanner-container[_ngcontent-%COMP%]{margin:0 auto}.smartbanner-close[_ngcontent-%COMP%]{position:absolute;left:7px;top:7px;display:block;font-family:Noto Sans,arial,helvetica,sans-serif;font-size:15px;text-align:center;text-decoration:none;border-radius:14px;-webkit-font-smoothing:subpixel-antialiased;border:0;width:17px;height:17px;line-height:17px;color:#0c0d0d;background:#bae3f3}.smartbanner-close[_ngcontent-%COMP%]:active, .smartbanner-close[_ngcontent-%COMP%]:hover{color:#0c0d0d}.smartbanner-icon[_ngcontent-%COMP%]{position:absolute;left:30px;top:10px;display:block;width:57px;height:57px;background-color:#fff;background-size:cover;background-image:url(/assets/img/ppg.jpg);border-radius:17px}.smartbanner-info[_ngcontent-%COMP%]{position:absolute;left:98px;top:15px;width:44%;font-size:.75rem;line-height:1.2em;font-weight:700;color:#0c0d0d}.smartbanner-title[_ngcontent-%COMP%]{font-size:15px;line-height:21px;color:#0c0d0d;font-weight:700}.smartbanner-subtitle[_ngcontent-%COMP%]{font-size:15px;margin-top:8px;color:#0c0d0d;font-weight:lighter}.smartbanner-button[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px;border-bottom:3px solid #fffffc;padding:0 5px;min-width:3%;height:32px;font-size:11px;line-height:31px;text-align:center;font-weight:700;color:#0c0d0d;background-color:#fffffc;text-decoration:none;border-radius:8px}.smartbanner-button[_ngcontent-%COMP%]:hover{background-color:#fffffc;border-bottom:3px solid #fffffc}.smartbanner-button-text[_ngcontent-%COMP%]{text-align:center;display:block;padding:0 5px;font-weight:700}"],changeDetection:0})}}return i})();function $l(i,t){i&1&&x(0,"app-smartbanner")}function Vl(i,t){i&1&&R(0,$l,1,0,"app-smartbanner",6)}function Kl(i,t){i&1&&x(0,"ngx-loading-bar",0)}function ql(i,t){if(i&1&&x(0,"ppg-header",7),i&2){let e=w();y("cartItemsTotalQuantity",e.cartItemsTotalQuantity())}}function Hl(i,t){i&1&&x(0,"ppg-footer",8)}var xs=(()=>{class i{#i;#e;#t;#r;#n;#o;#s;#a;#l;constructor(){this.MOBILE_NOTIFICATION={[`${as.Phone}px`]:{width:"90%",margin:"auto",bottom:0,top:"unset"}},this.#i=m(ke),this.#e=m(lt),this.#t=m(Te),this.#r=m(j),this.#n=m(oi),this.#o=m(te),this.#s=m(yn),this.isECommerceEnabled=this.#r.isECommerceEnabled(),this.isMobile=Mt(this.#s.observe("(max-width: 767.98px)").pipe(Z(({matches:e})=>e))),this.#a=Ee(this.#i.get(K)),this.#l=z(()=>this.#r.isECommerceEnabled()&&(this.#n.isAuthenticated()||this.#r.getSiteFlag(D.AnonymousJourneyCartEnabled))),this.cartItemsTotalQuantity=Mt(ut(this.#l).pipe(he(e=>e&&this.#a?Rr(import("./chunk-7BOQ2PB2.js")).pipe(he(r=>this.#i.get(r.CartService).cartItemsTotalQuantity$)):Pe(0))),{initialValue:0}),this.isLoadingBarVisible=this.#a,Vr(()=>this.onResize()),De(()=>{let e=this.#o.language();this.#t.documentElement.lang=e})}onResize(){this.#e.runOutsideAngular(()=>{let e=(this.#t.defaultView?.innerHeight||0)*.01;this.#t.documentElement.style.setProperty("--vh",`${e}px`)})}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275cmp=V({type:i,selectors:[["ppg-root"]],hostBindings:function(r,n){r&1&&se("resize",function(){return n.onResize()},!1,Br)},standalone:!0,features:[Q],decls:9,vars:3,consts:[["color","#0078a9","height","4px"],[1,"viewport-container"],["class","ppg-header","data-test-id","app.ppgHeader",3,"cartItemsTotalQuantity",4,"ppgHideOnMobileAppView"],[1,"main-content"],["class","ppg-footer","data-test-id","app.ppgFooter",4,"ppgHideOnMobileAppView"],[3,"position"],[4,"ppgHideOnMobileAppView"],["data-test-id","app.ppgHeader",1,"ppg-header",3,"cartItemsTotalQuantity"],["data-test-id","app.ppgFooter",1,"ppg-footer"]],template:function(r,n){r&1&&(R(0,Vl,1,0,"app-smartbanner")(1,Kl,1,0,"ngx-loading-bar",0),h(2,"div",1),R(3,ql,1,1,"ppg-header",2),h(4,"main",3),x(5,"router-outlet"),v()(),R(6,Hl,1,0,"ppg-footer",4),x(7,"p-toast",5)(8,"ppg-header-sidebar")),r&2&&(Ye(0,n.isECommerceEnabled?0:-1),d(),Ye(1,n.isLoadingBarVisible?1:-1),d(6),y("position",n.isMobile()?"bottom-center":"top-right"))},dependencies:[Sn,Xo,Zo,ws,Pn,An,Xe,_s,es,Ps,Le],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}@media print{[_nghost-%COMP%]{display:inline}}.viewport-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.viewport-container[_ngcontent-%COMP%] .main-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-top:var(--spacing-6XL);padding-bottom:var(--spacing-6XL)}"]})}}return i})();function Os(i){return new P(3e3,!1)}function Gl(){return new P(3100,!1)}function Ql(){return new P(3101,!1)}function Wl(i){return new P(3001,!1)}function Yl(i){return new P(3003,!1)}function Jl(i){return new P(3004,!1)}function Xl(i,t){return new P(3005,!1)}function Zl(){return new P(3006,!1)}function ec(){return new P(3007,!1)}function tc(i,t){return new P(3008,!1)}function ic(i){return new P(3002,!1)}function rc(i,t,e,r,n){return new P(3010,!1)}function nc(){return new P(3011,!1)}function oc(){return new P(3012,!1)}function sc(){return new P(3200,!1)}function ac(){return new P(3202,!1)}function lc(){return new P(3013,!1)}function cc(i){return new P(3014,!1)}function mc(i){return new P(3015,!1)}function pc(i){return new P(3016,!1)}function uc(i,t){return new P(3404,!1)}function dc(i){return new P(3502,!1)}function fc(i){return new P(3503,!1)}function hc(){return new P(3300,!1)}function gc(i){return new P(3504,!1)}function yc(i){return new P(3301,!1)}function _c(i,t){return new P(3302,!1)}function vc(i){return new P(3303,!1)}function Sc(i,t){return new P(3400,!1)}function bc(i){return new P(3401,!1)}function Cc(i){return new P(3402,!1)}function Tc(i,t){return new P(3505,!1)}function $e(i){switch(i.length){case 0:return new dt;case 1:return i[0];default:return new Bi(i)}}function qs(i,t,e=new Map,r=new Map){let n=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),p=c==s,u=p&&a||new Map;l.forEach((T,b)=>{let g=b,S=T;if(b!=="offset")switch(g=i.normalizePropertyName(g,n),S){case Zt:S=e.get(b);break;case Me:S=r.get(b);break;default:S=i.normalizeStyleValue(b,g,S,n);break}u.set(g,S)}),p||o.push(u),a=u,s=c}),n.length)throw dc(n);return o}function _r(i,t,e,r){switch(t){case"start":i.onStart(()=>r(e&&Yi(e,"start",i)));break;case"done":i.onDone(()=>r(e&&Yi(e,"done",i)));break;case"destroy":i.onDestroy(()=>r(e&&Yi(e,"destroy",i)));break}}function Yi(i,t,e){let r=e.totalTime,n=!!e.disabled,o=vr(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,r??i.totalTime,n),s=i._data;return s!=null&&(o._data=s),o}function vr(i,t,e,r,n="",o=0,s){return{element:i,triggerName:t,fromState:e,toState:r,phaseName:n,totalTime:o,disabled:!!s}}function me(i,t,e){let r=i.get(t);return r||i.set(t,r=e),r}function Rs(i){let t=i.indexOf(":"),e=i.substring(1,t),r=i.slice(t+1);return[e,r]}var Ec=typeof document>"u"?null:document.documentElement;function Sr(i){let t=i.parentNode||i.host||null;return t===Ec?null:t}function wc(i){return i.substring(1,6)=="ebkit"}var Ze=null,ks=!1;function Mc(i){Ze||(Ze=Ic()||{},ks=Ze.style?"WebkitAppearance"in Ze.style:!1);let t=!0;return Ze.style&&!wc(i)&&(t=i in Ze.style,!t&&ks&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in Ze.style)),t}function Ic(){return typeof document<"u"?document.body:null}function Hs(i,t){for(;t;){if(t===i)return!0;t=Sr(t)}return!1}function Gs(i,t,e){if(e)return Array.from(i.querySelectorAll(t));let r=i.querySelector(t);return r?[r]:[]}var br=(()=>{class i{validateStyleProperty(e){return Mc(e)}matchesElement(e,r){return!1}containsElement(e,r){return Hs(e,r)}getParentElement(e){return Sr(e)}query(e,r,n){return Gs(e,r,n)}computeStyle(e,r,n){return n||""}animate(e,r,n,o,s,a=[],l){return new dt(n,o)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac})}}return i})(),it=class{static{this.NOOP=new br}},rt=class{};var Ac=1e3,Qs="{{",Pc="}}",Ws="ng-enter",ir="ng-leave",ui="ng-trigger",yi=".ng-trigger",Ns="ng-animating",rr=".ng-animating";function Oe(i){if(typeof i=="number")return i;let t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:nr(parseFloat(t[1]),t[2])}function nr(i,t){switch(t){case"s":return i*Ac;default:return i}}function _i(i,t,e){return i.hasOwnProperty("duration")?i:xc(i,t,e)}function xc(i,t,e){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,s="";if(typeof i=="string"){let a=i.match(r);if(a===null)return t.push(Os(i)),{duration:0,delay:0,easing:""};n=nr(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=nr(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else n=i;if(!e){let a=!1,l=t.length;n<0&&(t.push(Gl()),a=!0),o<0&&(t.push(Ql()),a=!0),a&&t.splice(l,0,Os(i))}return{duration:n,delay:o,easing:s}}function Oc(i){return i.length?i[0]instanceof Map?i:i.map(t=>new Map(Object.entries(t))):[]}function Ae(i,t,e){t.forEach((r,n)=>{let o=Cr(n);e&&!e.has(n)&&e.set(n,i.style[o]),i.style[o]=r})}function tt(i,t){t.forEach((e,r)=>{let n=Cr(r);i.style[n]=""})}function Ot(i){return Array.isArray(i)?i.length==1?i[0]:Mn(i):i}function Rc(i,t,e){let r=t.params||{},n=Ys(i);n.length&&n.forEach(o=>{r.hasOwnProperty(o)||e.push(Wl(o))})}var or=new RegExp(`${Qs}\\s*(.+?)\\s*${Pc}`,"g");function Ys(i){let t=[];if(typeof i=="string"){let e;for(;e=or.exec(i);)t.push(e[1]);or.lastIndex=0}return t}function kt(i,t,e){let r=`${i}`,n=r.replace(or,(o,s)=>{let a=t[s];return a==null&&(e.push(Yl(s)),a=""),a.toString()});return n==r?i:n}var kc=/-+([a-z0-9])/g;function Cr(i){return i.replace(kc,(...t)=>t[1].toUpperCase())}function Nc(i,t){return i===0||t===0}function Fc(i,t,e){if(e.size&&t.length){let r=t[0],n=[];if(e.forEach((o,s)=>{r.has(s)||n.push(s),r.set(s,o)}),n.length)for(let o=1;os.set(a,Tr(i,a)))}}return t}function ce(i,t,e){switch(t.type){case I.Trigger:return i.visitTrigger(t,e);case I.State:return i.visitState(t,e);case I.Transition:return i.visitTransition(t,e);case I.Sequence:return i.visitSequence(t,e);case I.Group:return i.visitGroup(t,e);case I.Animate:return i.visitAnimate(t,e);case I.Keyframes:return i.visitKeyframes(t,e);case I.Style:return i.visitStyle(t,e);case I.Reference:return i.visitReference(t,e);case I.AnimateChild:return i.visitAnimateChild(t,e);case I.AnimateRef:return i.visitAnimateRef(t,e);case I.Query:return i.visitQuery(t,e);case I.Stagger:return i.visitStagger(t,e);default:throw Jl(t.type)}}function Tr(i,t){return window.getComputedStyle(i)[t]}var Dc=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),vi=class extends rt{normalizePropertyName(t,e){return Cr(t)}normalizeStyleValue(t,e,r,n){let o="",s=r.toString().trim();if(Dc.has(e)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&n.push(Xl(t,r))}return s+o}};var Si="*";function Lc(i,t){let e=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(r=>Uc(r,e,t)):e.push(i),e}function Uc(i,t,e){if(i[0]==":"){let l=Bc(i,e);if(typeof l=="function"){t.push(l);return}i=l}let r=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return e.push(mc(i)),t;let n=r[1],o=r[2],s=r[3];t.push(Fs(n,s));let a=n==Si&&s==Si;o[0]=="<"&&!a&&t.push(Fs(s,n))}function Bc(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r) *"}}var di=new Set(["true","1"]),fi=new Set(["false","0"]);function Fs(i,t){let e=di.has(i)||fi.has(i),r=di.has(t)||fi.has(t);return(n,o)=>{let s=i==Si||i==n,a=t==Si||t==o;return!s&&e&&typeof n=="boolean"&&(s=n?di.has(i):fi.has(i)),!a&&r&&typeof o=="boolean"&&(a=o?di.has(t):fi.has(t)),s&&a}}var Js=":self",zc=new RegExp(`s*${Js}s*,?`,"g");function Xs(i,t,e,r){return new sr(i).build(t,e,r)}var Ds="",sr=class{constructor(t){this._driver=t}build(t,e,r){let n=new ar(e);return this._resetContextStyleTimingState(n),ce(this,Ot(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector=Ds,t.collectedStyles=new Map,t.collectedStyles.set(Ds,new Map),t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,n=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(Zl()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==I.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(p=>{l.name=p,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==I.Transition){let l=this.visitTransition(a,e);r+=l.queryCount,n+=l.depCount,s.push(l)}else e.errors.push(ec())}),{type:I.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:n,options:null}}visitState(t,e){let r=this.visitStyle(t.styles,e),n=t.options&&t.options.params||null;if(r.containsDynamicStyles){let o=new Set,s=n||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Ys(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(tc(t.name,[...o.values()]))}return{type:I.State,name:t.name,style:r,options:n?{params:n}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let r=ce(this,Ot(t.animation),e),n=Lc(t.expr,e.errors);return{type:I.Transition,matchers:n,animation:r,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:I.Sequence,steps:t.steps.map(r=>ce(this,r,e)),options:et(t.options)}}visitGroup(t,e){let r=e.currentTime,n=0,o=t.steps.map(s=>{e.currentTime=r;let a=ce(this,s,e);return n=Math.max(n,e.currentTime),a});return e.currentTime=n,{type:I.Group,steps:o,options:et(t.options)}}visitAnimate(t,e){let r=Kc(t.timings,e.errors);e.currentAnimateTimings=r;let n,o=t.styles?t.styles:Ui({});if(o.type==I.Keyframes)n=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};r.easing&&(c.easing=r.easing),s=Ui(c)}e.currentTime+=r.duration+r.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:I.Animate,timings:r,style:n,options:null}}visitStyle(t,e){let r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){let r=[],n=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of n)typeof a=="string"?a===Me?r.push(a):e.errors.push(ic(a)):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(Qs)>=0){o=!0;break}}}),{type:I.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let r=e.currentAnimateTimings,n=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),p=c.get(l),u=!0;p&&(o!=n&&o>=p.startTime&&n<=p.endTime&&(e.errors.push(rc(l,p.startTime,p.endTime,o,n)),u=!1),o=p.startTime),u&&c.set(l,{startTime:o,endTime:n}),e.options&&Rc(a,e.options,e.errors)})})}visitKeyframes(t,e){let r={type:I.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(nc()),r;let n=1,o=0,s=[],a=!1,l=!1,c=0,p=t.steps.map(U=>{let O=this._makeStyleAst(U,e),q=O.offset!=null?O.offset:Vc(O.styles),H=0;return q!=null&&(o++,H=O.offset=q),l=l||H<0||H>1,a=a||H0&&o{let q=T>0?O==b?1:T*O:s[O],H=q*k;e.currentTime=g+S.delay+H,S.duration=H,this._validateStyleAst(U,e),U.offset=q,r.styles.push(U)}),r}visitReference(t,e){return{type:I.Reference,animation:ce(this,Ot(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:I.AnimateChild,options:et(t.options)}}visitAnimateRef(t,e){return{type:I.AnimateRef,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){let r=e.currentQuerySelector,n=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=jc(t.selector);e.currentQuerySelector=r.length?r+" "+o:o,me(e.collectedStyles,e.currentQuerySelector,new Map);let a=ce(this,Ot(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:I.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(lc());let r=t.timings==="full"?{duration:0,delay:0,easing:"full"}:_i(t.timings,e.errors,!0);return{type:I.Stagger,animation:ce(this,Ot(t.animation),e),timings:r,options:null}}};function jc(i){let t=!!i.split(/\s*,\s*/).find(e=>e==Js);return t&&(i=i.replace(zc,"")),i=i.replace(/@\*/g,yi).replace(/@\w+/g,e=>yi+"-"+e.slice(1)).replace(/:animating/g,rr),[i,t]}function $c(i){return i?N({},i):null}var ar=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Vc(i){if(typeof i=="string")return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Kc(i,t){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=_i(i,t).duration;return Ji(o,0,"")}let e=i;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ji(0,0,"");return o.dynamic=!0,o.strValue=e,o}let n=_i(e,t);return Ji(n.duration,n.delay,n.easing)}function et(i){return i?(i=N({},i),i.params&&(i.params=$c(i.params))):i={},i}function Ji(i,t,e){return{duration:i,delay:t,easing:e}}function Er(i,t,e,r,n,o,s=null,a=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:r,duration:n,delay:o,totalTime:n+o,easing:s,subTimeline:a}}var Nt=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},qc=1,Hc=":enter",Gc=new RegExp(Hc,"g"),Qc=":leave",Wc=new RegExp(Qc,"g");function Zs(i,t,e,r,n,o=new Map,s=new Map,a,l,c=[]){return new lr().buildKeyframes(i,t,e,r,n,o,s,a,l,c)}var lr=class{buildKeyframes(t,e,r,n,o,s,a,l,c,p=[]){c=c||new Nt;let u=new cr(t,e,c,n,o,p,[]);u.options=l;let T=l.delay?Oe(l.delay):0;u.currentTimeline.delayNextStep(T),u.currentTimeline.setStyles([s],null,u.errors,l),ce(this,r,u);let b=u.timelines.filter(g=>g.containsAnimation());if(b.length&&a.size){let g;for(let S=b.length-1;S>=0;S--){let k=b[S];if(k.element===e){g=k;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return b.length?b.map(g=>g.buildKeyframes()):[Er(e,[],[],[],0,T,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let r=e.subInstructions.get(e.element);if(r){let n=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(r,n,n.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,r),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,r){for(let n of t){let o=n?.delay;if(o){let s=typeof o=="number"?o:Oe(kt(o,n?.params??{},e.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,e,r){let o=e.currentTimeline.currentTime,s=r.duration!=null?Oe(r.duration):null,a=r.delay!=null?Oe(r.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),ce(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let r=e.subContextCount,n=e,o=t.options;if(o&&(o.params||o.delay)&&(n=e.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==I.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bi);let s=Oe(o.delay);n.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>ce(this,s,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let r=[],n=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Oe(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),ce(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(n),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let r=t.strValue,n=e.params?kt(r,e.params,e.errors):r;return _i(n,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let r=e.currentAnimateTimings=this._visitTiming(t.timings,e),n=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),n.snapshotCurrentStyles());let o=t.style;o.type==I.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(r.duration),this.visitStyle(o,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let r=e.currentTimeline,n=e.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=n&&n.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let r=e.currentAnimateTimings,n=e.currentTimeline.duration,o=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(n+o),e.previousNode=t}visitQuery(t,e){let r=e.currentTimeline.currentTime,n=t.options||{},o=n.delay?Oe(n.delay):0;o&&(e.previousNode.type===I.Style||r==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=bi);let s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,p)=>{e.currentQueryIndex=p;let u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),ce(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe();let T=u.currentTimeline.currentTime;s=Math.max(s,T)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let r=e.parentContext,n=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime;break}let p=e.currentTimeline;l&&p.delayNextStep(l);let u=p.currentTime;ce(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},bi={},cr=class i{constructor(t,e,r,n,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ci(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let r=t,n=this.options;r.duration!=null&&(n.duration=Oe(r.duration)),r.delay!=null&&(n.delay=Oe(r.delay));let o=r.params;if(o){let s=n.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=kt(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let r=t.params={};Object.keys(e).forEach(n=>{r[n]=e[n]})}}return t}createSubContext(t=null,e,r){let n=e||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=bi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){let n={duration:e??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new mr(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,n,t.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,n,o,s){let a=[];if(n&&a.push(this.element),t.length>0){t=t.replace(Gc,"."+this._enterClassName),t=t.replace(Wc,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,t,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&a.length==0&&s.push(cc(e)),a}},Ci=class i{constructor(t,e,r,n){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new i(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=qc,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,r]of this._globalTimelineStyles)this._backFill.set(e,r||Me),this._currentKeyframe.set(e,Me);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,n){e&&this._previousKeyframe.set("easing",e);let o=n&&n.params||{},s=Yc(t,this._globalTimelineStyles);for(let[a,l]of s){let c=kt(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Me),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,r)=>{let n=this._styleSummary.get(r);(!n||e.time>n.time)&&this._updateStyle(r,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,r=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((p,u)=>{p===Zt?t.add(u):p===Me&&e.add(u)}),r||c.set("offset",l/this.duration),n.push(c)});let o=[...t.values()],s=[...e.values()];if(r){let a=n[0],l=new Map(a);a.set("offset",0),l.set("offset",1),n=[a,l]}return Er(this.element,n,o,s,this.duration,this.startTime,this.easing,!1)}},mr=class extends Ci{constructor(t,e,r,n,o,s,a=!1){super(t,e,s.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=r+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",Ls(a)),o.push(c);let p=t.length-1;for(let u=1;u<=p;u++){let T=new Map(t[u]),b=T.get("offset"),g=e+b*r;T.set("offset",Ls(g/s)),o.push(T)}r=s,e=0,n="",t=o}return Er(this.element,t,this.preStyleProps,this.postStyleProps,r,e,n,!0)}};function Ls(i,t=3){let e=Math.pow(10,t-1);return Math.round(i*e)/e}function Yc(i,t){let e=new Map,r;return i.forEach(n=>{if(n==="*"){r??=t.keys();for(let o of r)e.set(o,Me)}else for(let[o,s]of n)e.set(o,s)}),e}function Us(i,t,e,r,n,o,s,a,l,c,p,u,T){return{type:0,element:i,triggerName:t,isRemovalTransition:n,fromState:e,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:p,totalTime:u,errors:T}}var Xi={},Ti=class{constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,n){return Jc(this.ast.matchers,t,e,r,n)}buildStyles(t,e,r){let n=this._stateStyles.get("*");return t!==void 0&&(n=this._stateStyles.get(t?.toString())||n),n?n.buildStyles(e,r):new Map}build(t,e,r,n,o,s,a,l,c,p){let u=[],T=this.ast.options&&this.ast.options.params||Xi,b=a&&a.params||Xi,g=this.buildStyles(r,b,u),S=l&&l.params||Xi,k=this.buildStyles(n,S,u),U=new Set,O=new Map,q=new Map,H=n==="void",nt={params:ea(S,T),delay:this.ast.options?.delay},_e=p?[]:Zs(t,e,this.ast.animation,o,s,g,k,nt,c,u),W=0;return _e.forEach(J=>{W=Math.max(J.duration+J.delay,W)}),u.length?Us(e,this._triggerName,r,n,H,g,k,[],[],O,q,W,u):(_e.forEach(J=>{let Ve=J.element,ot=me(O,Ve,new Set);J.preStyleProps.forEach(Ke=>ot.add(Ke));let Ir=me(q,Ve,new Set);J.postStyleProps.forEach(Ke=>Ir.add(Ke)),Ve!==e&&U.add(Ve)}),Us(e,this._triggerName,r,n,H,g,k,_e,[...U.values()],O,q,W))}};function Jc(i,t,e,r,n){return i.some(o=>o(t,e,r,n))}function ea(i,t){let e=N({},t);return Object.entries(i).forEach(([r,n])=>{n!=null&&(e[r]=n)}),e}var pr=class{constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){let r=new Map,n=ea(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=kt(s,n,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),r.set(a,s)})}),r}};function Xc(i,t,e){return new ur(i,t,e)}var ur=class{constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,this.transitionFactories=[],this.states=new Map,e.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new pr(n.style,o,r))}),Bs(this.states,"true","1"),Bs(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Ti(t,n,this.states))}),this.fallbackTransition=Zc(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,n){return this.transitionFactories.find(s=>s.match(t,e,r,n))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}};function Zc(i,t,e){let r=[(s,a)=>!0],n={type:I.Sequence,steps:[],options:null},o={type:I.Transition,animation:n,matchers:r,options:null,queryCount:0,depCount:0};return new Ti(i,o,t)}function Bs(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}var em=new Nt,dr=class{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){let r=[],n=[],o=Xs(this._driver,e,r,n);if(r.length)throw fc(r);n.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,e,r){let n=t.element,o=qs(this._normalizer,t.keyframes,e,r);return this._driver.animate(n,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){let n=[],o=this._animations.get(t),s,a=new Map;if(o?(s=Zs(this._driver,e,o,Ws,ir,new Map,new Map,r,em,n),s.forEach(p=>{let u=me(a,p.element,new Map);p.postStyleProps.forEach(T=>u.set(T,null))})):(n.push(hc()),s=[]),n.length)throw gc(n);a.forEach((p,u)=>{p.forEach((T,b)=>{p.set(b,this._driver.computeStyle(u,b,Me))})});let l=s.map(p=>{let u=a.get(p.element);return this._buildPlayer(p,new Map,u)}),c=$e(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let r=this.players.indexOf(e);r>=0&&this.players.splice(r,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw yc(t);return e}listen(t,e,r,n){let o=vr(e,"","","");return _r(this._getPlayer(t),r,o,n),()=>{}}command(t,e,r,n){if(r=="register"){this.register(t,n[0]);return}if(r=="create"){let s=n[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(t);break}}},zs="ng-animate-queued",tm=".ng-animate-queued",Zi="ng-animate-disabled",im=".ng-animate-disabled",rm="ng-star-inserted",nm=".ng-star-inserted",om=[],ta={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ye="__ng_removed",Ft=class{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let r=t&&t.hasOwnProperty("value"),n=r?t.value:t;if(this.value=lm(n),r){let o=t,{value:s}=o,a=Or(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let r=this.options.params;Object.keys(e).forEach(n=>{r[n]==null&&(r[n]=e[n])})}}},Rt="void",er=new Ft(Rt),fr=class{constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,de(e,this._hostClassName)}listen(t,e,r,n){if(!this._triggers.has(e))throw _c(r,e);if(r==null||r.length==0)throw vc(e);if(!cm(r))throw Sc(r,e);let o=me(this._elementListeners,t,[]),s={name:e,phase:r,callback:n};o.push(s);let a=me(this._engine.statesByElement,t,new Map);return a.has(e)||(de(t,ui),de(t,ui+"-"+e),a.set(e,er)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw bc(t);return e}trigger(t,e,r,n=!0){let o=this._getTrigger(e),s=new Dt(this.id,e,t),a=this._engine.statesByElement.get(t);a||(de(t,ui),de(t,ui+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new Ft(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=er),!(c.value===Rt)&&l.value===c.value){if(!um(l.params,c.params)){let S=[],k=o.matchStyles(l.value,l.params,S),U=o.matchStyles(c.value,c.params,S);S.length?this._engine.reportError(S):this._engine.afterFlush(()=>{tt(t,k),Ae(t,U)})}return}let T=me(this._engine.playersByElement,t,[]);T.forEach(S=>{S.namespaceId==this.id&&S.triggerName==e&&S.queued&&S.destroy()});let b=o.matchTransition(l.value,c.value,t,c.params),g=!1;if(!b){if(!n)return;b=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:b,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(de(t,zs),s.onStart(()=>{ht(t,zs)})),s.onDone(()=>{let S=this.players.indexOf(s);S>=0&&this.players.splice(S,1);let k=this._engine.playersByElement.get(t);if(k){let U=k.indexOf(s);U>=0&&k.splice(U,1)}}),this.players.push(s),T.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(n=>n.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let r=this._engine.driver.query(t,yi,!0);r.forEach(n=>{if(n[ye])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(s=>s.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(t,e,r,n){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let p=this.trigger(t,c,Rt,n);p&&a.push(p)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),r&&$e(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){let n=new Set;e.forEach(o=>{let s=o.name;if(n.has(s))return;n.add(s);let l=this._triggers.get(s).fallbackTransition,c=r.get(s)||er,p=new Ft(Rt),u=new Dt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:p,player:u,isFallbackTransition:!0})})}}removeNode(t,e){let r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let n=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)n=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(t),n)r.markElementAsRemoved(this.id,t,!1,e);else{let o=t[ye];(!o||o===ta)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){de(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){let l=vr(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,_r(r.player,a.phase,l,a.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(r)}),this._queue=[],e.sort((r,n)=>{let o=r.transition.ast.depCount,s=n.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(r.element,n.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},hr=class{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,r,n){this.bodyNode=t,this.driver=e,this._normalizer=r,this.scheduler=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){let r=new fr(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=n.get(a);if(l){let c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return n.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let n=this._namespaceLookup[t];n&&n.register(e,r)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,r=this.statesByElement.get(t);if(r){for(let n of r.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&e.add(o)}}return e}trigger(t,e,r,n){if(hi(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,r,n),!0}return!1}insertNode(t,e,r,n){if(!hi(e))return;let o=e[ye];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,r)}n&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),de(t,Zi)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ht(t,Zi))}removeNode(t,e,r){if(hi(e)){this.scheduler?.notify();let n=t?this._fetchNamespace(t):null;n?n.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,r,n,o){this.collectedLeaveElements.push(e),e[ye]={namespaceId:t,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,r,n,o){return hi(e)?this._fetchNamespace(t).listen(e,r,n,o):()=>{}}_buildInstruction(t,e,r,n,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,n,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,yi,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,rr,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return $e(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ye];if(e&&e.setForRemoval){if(t[ye]=ta,e.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Zi)&&this.markElementAsDisabled(t,!1),this.driver.query(t,im,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,n)=>this._balanceNamespaceList(r,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],e.length?$e(e).onDone(()=>{r.forEach(n=>n())}):r.forEach(n=>n())}}reportError(t){throw Cc(t)}_flushAnimations(t,e){let r=new Nt,n=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,p=new Set;this.disabledNodes.forEach(f=>{p.add(f);let _=this.driver.query(f,tm,!0);for(let C=0;C<_.length;C++)p.add(_[C])});let u=this.bodyNode,T=Array.from(this.statesByElement.keys()),b=Vs(T,this.collectedEnterElements),g=new Map,S=0;b.forEach((f,_)=>{let C=Ws+S++;g.set(_,C),f.forEach(A=>de(A,C))});let k=[],U=new Set,O=new Set;for(let f=0;fU.add(A)):O.add(_))}let q=new Map,H=Vs(T,Array.from(U));H.forEach((f,_)=>{let C=ir+S++;q.set(_,C),f.forEach(A=>de(A,C))}),t.push(()=>{b.forEach((f,_)=>{let C=g.get(_);f.forEach(A=>ht(A,C))}),H.forEach((f,_)=>{let C=q.get(_);f.forEach(A=>ht(A,C))}),k.forEach(f=>{this.processLeaveNode(f)})});let nt=[],_e=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(e).forEach(C=>{let A=C.player,$=C.element;if(nt.push(A),this.collectedEnterElements.length){let G=$[ye];if(G&&G.setForMove){if(G.previousTriggersValues&&G.previousTriggersValues.has(C.triggerName)){let qe=G.previousTriggersValues.get(C.triggerName),pe=this.statesByElement.get(C.element);if(pe&&pe.has(C.triggerName)){let Lt=pe.get(C.triggerName);Lt.value=qe,pe.set(C.triggerName,Lt)}}A.destroy();return}}let ve=!u||!this.driver.containsElement(u,$),ie=q.get($),Re=g.get($),L=this._buildInstruction(C,r,Re,ie,ve);if(L.errors&&L.errors.length){_e.push(L);return}if(ve){A.onStart(()=>tt($,L.fromStyles)),A.onDestroy(()=>Ae($,L.toStyles)),n.push(A);return}if(C.isFallbackTransition){A.onStart(()=>tt($,L.fromStyles)),A.onDestroy(()=>Ae($,L.toStyles)),n.push(A);return}let xr=[];L.timelines.forEach(G=>{G.stretchStartingKeyframe=!0,this.disabledNodes.has(G.element)||xr.push(G)}),L.timelines=xr,r.append($,L.timelines);let rl={instruction:L,player:A,element:$};s.push(rl),L.queriedElements.forEach(G=>me(a,G,[]).push(A)),L.preStyleProps.forEach((G,qe)=>{if(G.size){let pe=l.get(qe);pe||l.set(qe,pe=new Set),G.forEach((Lt,xi)=>pe.add(xi))}}),L.postStyleProps.forEach((G,qe)=>{let pe=c.get(qe);pe||c.set(qe,pe=new Set),G.forEach((Lt,xi)=>pe.add(xi))})});if(_e.length){let f=[];_e.forEach(_=>{f.push(Tc(_.triggerName,_.errors))}),nt.forEach(_=>_.destroy()),this.reportError(f)}let W=new Map,J=new Map;s.forEach(f=>{let _=f.element;r.has(_)&&(J.set(_,_),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,W))}),n.forEach(f=>{let _=f.element;this._getPreviousPlayers(_,!1,f.namespaceId,f.triggerName,null).forEach(A=>{me(W,_,[]).push(A),A.destroy()})});let Ve=k.filter(f=>Ks(f,l,c)),ot=new Map;$s(ot,this.driver,O,c,Me).forEach(f=>{Ks(f,l,c)&&Ve.push(f)});let Ke=new Map;b.forEach((f,_)=>{$s(Ke,this.driver,new Set(f),l,Zt)}),Ve.forEach(f=>{let _=ot.get(f),C=Ke.get(f);ot.set(f,new Map([..._?.entries()??[],...C?.entries()??[]]))});let Pi=[],Ar=[],Pr={};s.forEach(f=>{let{element:_,player:C,instruction:A}=f;if(r.has(_)){if(p.has(_)){C.onDestroy(()=>Ae(_,A.toStyles)),C.disabled=!0,C.overrideTotalTime(A.totalTime),n.push(C);return}let $=Pr;if(J.size>1){let ie=_,Re=[];for(;ie=ie.parentNode;){let L=J.get(ie);if(L){$=L;break}Re.push(ie)}Re.forEach(L=>J.set(L,$))}let ve=this._buildAnimation(C.namespaceId,A,W,o,Ke,ot);if(C.setRealPlayer(ve),$===Pr)Pi.push(C);else{let ie=this.playersByElement.get($);ie&&ie.length&&(C.parentPlayer=$e(ie)),n.push(C)}}else tt(_,A.fromStyles),C.onDestroy(()=>Ae(_,A.toStyles)),Ar.push(C),p.has(_)&&n.push(C)}),Ar.forEach(f=>{let _=o.get(f.element);if(_&&_.length){let C=$e(_);f.setRealPlayer(C)}}),n.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!ve.destroyed);$.length?mm(this,_,$):this.processLeaveNode(_)}return k.length=0,Pi.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let _=this.players.indexOf(f);this.players.splice(_,1)}),f.play()}),Pi}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,n,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==Rt;a.forEach(c=>{c.queued||!l&&c.triggerName!=n||s.push(c)})}}return(r||n)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||n&&n!=a.triggerName))),s}_beforeAnimationBuild(t,e,r){let n=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:n;for(let l of e.timelines){let c=l.element,p=c!==o,u=me(r,c,[]);this._getPreviousPlayers(c,p,s,a,e.toState).forEach(b=>{let g=b.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),b.destroy(),u.push(b)})}tt(o,e.fromStyles)}_buildAnimation(t,e,r,n,o,s){let a=e.triggerName,l=e.element,c=[],p=new Set,u=new Set,T=e.timelines.map(g=>{let S=g.element;p.add(S);let k=S[ye];if(k&&k.removedBeforeQueried)return new dt(g.duration,g.delay);let U=S!==l,O=pm((r.get(S)||om).map(W=>W.getRealPlayer())).filter(W=>{let J=W;return J.element?J.element===S:!1}),q=o.get(S),H=s.get(S),nt=qs(this._normalizer,g.keyframes,q,H),_e=this._buildPlayer(g,nt,O);if(g.subTimeline&&n&&u.add(S),U){let W=new Dt(t,a,S);W.setRealPlayer(_e),c.push(W)}return _e});c.forEach(g=>{me(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>am(this.playersByQueriedElement,g.element,g))}),p.forEach(g=>de(g,Ns));let b=$e(T);return b.onDestroy(()=>{p.forEach(g=>ht(g,Ns)),Ae(l,e.toStyles)}),u.forEach(g=>{me(n,g,[]).push(b)}),b}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new dt(t.duration,t.delay)}},Dt=class{constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r,this._player=new dt,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,r)=>{e.forEach(n=>_r(t,r,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){me(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function am(i,t,e){let r=i.get(t);if(r){if(r.length){let n=r.indexOf(e);r.splice(n,1)}r.length==0&&i.delete(t)}return r}function lm(i){return i??null}function hi(i){return i&&i.nodeType===1}function cm(i){return i=="start"||i=="done"}function js(i,t){let e=i.style.display;return i.style.display=t??"none",e}function $s(i,t,e,r,n){let o=[];e.forEach(l=>o.push(js(l)));let s=[];r.forEach((l,c)=>{let p=new Map;l.forEach(u=>{let T=t.computeStyle(c,u,n);p.set(u,T),(!T||T.length==0)&&(c[ye]=sm,s.push(c))}),i.set(c,p)});let a=0;return e.forEach(l=>js(l,o[a++])),s}function Vs(i,t){let e=new Map;if(i.forEach(a=>e.set(a,[])),t.length==0)return e;let r=1,n=new Set(t),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:n.has(c)?l=r:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==r&&e.get(l).push(a)}),e}function de(i,t){i.classList?.add(t)}function ht(i,t){i.classList?.remove(t)}function mm(i,t,e){$e(e).onDone(()=>i.processLeaveNode(t))}function pm(i){let t=[];return ia(i,t),t}function ia(i,t){for(let e=0;en.add(o)):t.set(i,r),e.delete(i),!0}var gt=class{constructor(t,e,r,n){this._driver=e,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new hr(t.body,e,r,n),this._timelineEngine=new dr(t.body,e,r),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(t,e,r,n,o){let s=t+"-"+n,a=this._triggerCache[s];if(!a){let l=[],c=[],p=Xs(this._driver,o,l,c);if(l.length)throw uc(n,l);c.length&&void 0,a=Xc(n,p,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,n,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,n){this._transitionEngine.insertNode(t,e,r,n)}onRemove(t,e,r){this._transitionEngine.removeNode(t,e,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,n){if(r.charAt(0)=="@"){let[o,s]=Rs(r),a=n;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,r,n)}listen(t,e,r,n,o){if(r.charAt(0)=="@"){let[s,a]=Rs(r);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,r,n,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function dm(i,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=tr(t[0]),t.length>1&&(r=tr(t[t.length-1]))):t instanceof Map&&(e=tr(t)),e||r?new gr(i,e,r):null}var gr=class i{static{this.initialStylesByElement=new WeakMap}constructor(t,e,r){this._element=t,this._startStyles=e,this._endStyles=r,this._state=0;let n=i.initialStylesByElement.get(t);n||i.initialStylesByElement.set(t,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&Ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ae(this._element,this._initialStyles),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tt(this._element,this._endStyles),this._endStyles=null),Ae(this._element,this._initialStyles),this._state=3)}};function tr(i){let t=null;return i.forEach((e,r)=>{fm(r)&&(t=t||new Map,t.set(r,e))}),t}function fm(i){return i==="display"||i==="position"}var Ei=class{constructor(t,e,r,n){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(r=>{e.push(Object.fromEntries(r))}),e}_triggerWebAnimation(t,e,r){return t.animate(this._convertKeyframesToObject(e),r)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,n)=>{n!=="offset"&&t.set(n,this._finished?r:Tr(this.element,n))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}},wi=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Hs(t,e)}getParentElement(t){return Sr(t)}query(t,e,r){return Gs(t,e,r)}computeStyle(t,e,r){return Tr(t,e)}animate(t,e,r,n,o,s=[]){let a=n==0?"both":"forwards",l={duration:r,delay:n,fill:a};o&&(l.easing=o);let c=new Map,p=s.filter(b=>b instanceof Ei);Nc(r,n)&&p.forEach(b=>{b.currentSnapshot.forEach((g,S)=>c.set(S,g))});let u=Oc(e).map(b=>new Map(b));u=Fc(t,u,c);let T=dm(t,u);return new Ei(t,u,l,T)}};var gi="@",ra="@.disabled",Mi=class{constructor(t,e,r,n){this.namespaceId=t,this.delegate=e,this.engine=r,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,r,n=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,n)}removeChild(t,e,r){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,r,n){this.delegate.setAttribute(t,e,r,n)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,n){this.delegate.setStyle(t,e,r,n)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){e.charAt(0)==gi&&e==ra?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r){return this.delegate.listen(t,e,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},yr=class extends Mi{constructor(t,e,r,n,o){super(e,r,n,o),this.factory=t,this.namespaceId=e}setProperty(t,e,r){e.charAt(0)==gi?e.charAt(1)=="."&&e==ra?(r=r===void 0?!0:!!r,this.disableAnimations(t,r)):this.engine.process(this.namespaceId,t,e.slice(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r){if(e.charAt(0)==gi){let n=hm(t),o=e.slice(1),s="";return o.charAt(0)!=gi&&([o,s]=gm(o)),this.engine.listen(this.namespaceId,n,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,r,a)})}return this.delegate.listen(t,e,r)}};function hm(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function gm(i){let t=i.indexOf("."),e=i.substring(0,t),r=i.slice(t+1);return[e,r]}var Ii=class{constructor(t,e,r){this.delegate=t,this.engine=e,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(n,o)=>{let s=o?.parentNode(n);s&&o.removeChild(s,n)}}createRenderer(t,e){let r="",n=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,p=c.get(n);if(!p){let u=()=>c.delete(n);p=new Mi(r,n,this.engine,u),c.set(n,p)}return p}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return e.data.animation.forEach(a),new yr(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,r){if(t>=0&&te(r));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),n.push([e,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var _m=(()=>{class i extends gt{constructor(e,r,n){super(e,r,n,m(jr,{optional:!0}))}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(r){return new(r||i)(Y(Te),Y(it),Y(rt))}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac})}}return i})();function vm(){return new vi}function Sm(i,t,e){return new Ii(i,t,e)}var na=[{provide:rt,useFactory:vm},{provide:gt,useClass:_m},{provide:Vt,useFactory:Sm,deps:[un,gt,lt]}],bm=[{provide:it,useFactory:()=>new wi},{provide:Ni,useValue:"BrowserAnimations"},...na],Qu=[{provide:it,useClass:br},{provide:Ni,useValue:"NoopAnimations"},...na];function oa(){return $r("NgEagerAnimations"),[...bm]}var yt=class{};var sa=(i,t)=>{let e=m(yt,{optional:!0});return e?t(e.reconcileRequest(i)).pipe(be(r=>{r.type===on.Response&&e.reconcileResponse(r)})):t(i)};var aa=i=>()=>i.load();var la=(()=>{class i{constructor(){this.platformId=m(K),this.document=m(Te)}injectDidomiScript(e){if(!Ue(this.platformId))return;this.document.querySelector("head").insertAdjacentElement("afterbegin",this.getDidomiScriptElement(e))}getDidomiScriptElement(e){let r=this.document.createElement("script");return r.id="didomi-script",r.type="text/javascript",r.innerHTML=`window.gdprAppliesGlobally=false;(function(){function n(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){var t=document.body;var r=document.createElement("iframe");r.style.display="none";r.name=e;r.title=e;t.insertBefore(r,t.firstChild)}else{setTimeout(function(){n(e)},5)}}}function e(r,a,o,c,s){function e(e,t,r,n){if(typeof r!=="function"){return}if(!window[a]){window[a]=[]}var i=false;if(s){i=s(e,n,r)}if(!i){window[a].push({command:e,version:t,callback:r,parameter:n})}}e.stub=true;e.stubVersion=2;function t(n){if(!window[r]||window[r].stub!==true){return}if(!n.data){return}var i=typeof n.data==="string";var e;try{e=i?JSON.parse(n.data):n.data}catch(t){return}if(e[o]){var a=e[o];window[r](a.command,a.version,function(e,t){var r={};r[c]={returnValue:e,success:t,callId:a.callId};n.source.postMessage(i?JSON.stringify(r):r,"*")},a.parameter)}}if(typeof window[r]!=="function"){window[r]=e;if(window.addEventListener){window.addEventListener("message",t,false)}else{window.attachEvent("onmessage",t)}}}e("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn");n("__tcfapiLocator");(function(e,t){var r=document.createElement("link");r.rel="preconnect";r.as="script";var n=document.createElement("link");n.rel="dns-prefetch";n.as="script";var i=document.createElement("link");i.rel="preload";i.as="script";var a=document.createElement("script");a.id="spcloader";a.type="text/javascript";a["async"]=true;a.charset="utf-8";var o="https://sdk.privacy-center.org/"+e+"/loader.js?target_type=notice&target="+t;if(window.didomiConfig&&window.didomiConfig.user){var c=window.didomiConfig.user;var s=c.country;var d=c.region;if(s){o=o+"&country="+s;if(d){o=o+"®ion="+d}}}r.href="https://sdk.privacy-center.org/";n.href="https://sdk.privacy-center.org/";i.href=o;a.src=o;var f=document.getElementsByTagName("script")[0];f.parentNode.insertBefore(r,f);f.parentNode.insertBefore(n,f);f.parentNode.insertBefore(i,f);f.parentNode.insertBefore(a,f)})("fc16c9ca-52d2-4f88-a1c7-f5d5805589aa", "${e}")})();`,r}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ca=(()=>{class i{constructor(){this.currentSiteState=m(j),this.environmentService=m(ze),this.didomiAdapter=m(la)}load(){let e=this.currentSiteState.getSiteSettingValueByKey(D.DidomiConsentNoticeId),r=e||this.environmentService.getEnvironmentVariable(Be.DIDOMI_DEFAULT_CONSENT_NOTICE_ID);return this.didomiAdapter.injectDidomiScript(r)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function ma(){return Ce([{provide:ue,multi:!0,useFactory:aa,deps:[ca]}])}var pa=(i,t)=>()=>{let e=i.getConfig();t.set(e)};var ua=(()=>{class i{constructor(){this.#i=m(j),this.environmentService=m(ze)}#i;getConfig(){let e=this.#i.getSiteSettingValueByKey(D.GTMId);return{id:e||this.environmentService.getEnvironmentVariable(Be.GTM_DEFAULT_ID)}}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function da(){return Ce([{provide:ue,multi:!0,useFactory:pa,deps:[ua,$o]}])}var fa={"de-DE":"0f9c3790","en-CA":"d9ffc1b2","en-GB":"309f614a","en-US":"e01347ee","es-ES":"ec7242fa","es-US":"5fa7d778",formattings:"57aaf527","fr-CA":"ba5f5b85","nl-NL":"59cd9049","sv-SE":"68812761"};var ha=(()=>{class i{constructor(){this.http=m(Jt)}getTranslation(e){let r=`/assets/i18n/${e}.json`,n=fa?.[e]||"";return this.http.get(`${r}${n?"?hash="+n:""}`)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Cm=(i,t)=>t.name;function Tm(i,t){if(i&1&&(h(0,"div",4),x(1,"p-checkbox",9)(2,"label",10),v()),i&2){let e=t.$implicit;d(),Et("formControlName",e.name),Et("id",e.name),Et("name",e.name),Ct("data-test-id","termsConfirmationDialog.checkbox."+e.name),d(),Et("for",e.name),y("innerHTML",e.label,bt),Ct("data-test-id","termsConfirmationDialog.label."+e.name)}}function Em(i,t){if(i&1&&(h(0,"p",5),ee(1),v()),i&2){let e=w();d(),xe(e.resources().error)}}var ga=(()=>{class i{#i;#e;#t;constructor(e,r){this.formBuilder=e,this.ref=r,this.#i=m(j),this.#e=m(ft),this.#t=this.#i.getSiteSettingValueByKey(D.EnduserTermsConsentsKontentAICodeNames),this.checkBoxes=z(()=>this.#t?this.#t.split(",").filter(n=>n.trim()).map(n=>({name:n.trim(),label:this.#e.getResourceByKey(n.trim())})).filter(n=>!!n.label):[]),this.acceptForm=this.formBuilder.group(this.checkBoxes()?.reduce((n,o)=>(n[o.name]=[!1,[qi.required,qi.requiredTrue]],n),{})),this.resources=z(()=>({accept:this.#e.getResourceByKey(ae.MULTISITE_AUTHENTICATION_POPUP_ACCEPT),decline:this.#e.getResourceByKey(ae.MULTISITE_AUTHENTICATION_POPUP_DECLINE),body:this.#e.getResourceByKey(ae.MULTISITE_AUTHENTICATION_POPUP_BODY),error:this.#e.getResourceByKey(ae.MULTISITE_AUTHENTICATION_POPUP_ERROR)})),this.previouslyChecked={},this.wasUnchecked=Kt(!1);for(let n of this.checkBoxes())this.previouslyChecked[n.name]=!1;this.acceptForm.valueChanges.subscribe(n=>{let o=!1;for(let s of Object.keys(n))n[s]===!0&&(this.previouslyChecked[s]=!0),this.previouslyChecked[s]&&n[s]===!1&&(o=!0);this.wasUnchecked.set(o)})}closeDialog(e){this.ref.close(e)}get isFormInvalid(){return this.acceptForm.status!=="VALID"}static{this.\u0275fac=function(r){return new(r||i)(ge(No),ge(zo))}}static{this.\u0275cmp=V({type:i,selectors:[["ppg-terms-product-confirmation-dialog"]],standalone:!0,features:[Q],decls:10,vars:7,consts:[["data-test-id","termsConfirmationDialog.container",1,"flex","flex-column","p-2"],[1,"flex","flex-column"],["data-test-id","termsConfirmationDialog.body",3,"innerHTML"],["data-test-id","termsConfirmationDialog.form",1,"flex","flex-column","gap-4",3,"formGroup"],["data-test-id","termsConfirmationDialog.checkboxContainer",1,"flex"],["data-test-id","termsConfirmationDialog.error",1,"error-text","mt-4"],["data-test-id","termsConfirmationDialog.actions",1,"flex","flex-column","justify-content-end","gap-2","pt-3","sm:flex-row"],["styleClass","w-full","data-test-id","termsConfirmationDialog.declineButton",1,"col-12","sm:col-6","p-0",3,"onClick","label","outlined"],["styleClass","w-full","data-test-id","termsConfirmationDialog.acceptButton",1,"col-12","sm:col-6","p-0",3,"onClick","label","disabled"],["binary","true",1,"flex","align-items-start",3,"formControlName","id","name"],[1,"ml-2",3,"innerHTML","for"]],template:function(r,n){r&1&&(h(0,"div",0)(1,"div",1),x(2,"p",2),h(3,"form",3),Kr(4,Tm,3,7,"div",4,Cm),v(),R(6,Em,2,1,"p",5),v(),h(7,"div",6)(8,"p-button",7),se("onClick",function(){return n.closeDialog("decline")}),v(),h(9,"p-button",8),se("onClick",function(){return n.closeDialog("accept")}),v()()()),r&2&&(d(2),y("innerHTML",n.resources().body,bt),d(),y("formGroup",n.acceptForm),d(),qr(n.checkBoxes()),d(2),Ye(6,n.wasUnchecked()?6:-1),d(2),y("label",n.resources().decline)("outlined",!0),d(),y("label",n.resources().accept)("disabled",n.isFormInvalid))},dependencies:[li,Ao,Ho,qo,Fo,Oo,Po,xo,Ro,ko],styles:["[_nghost-%COMP%] label p{margin-block-start:0;margin-block-end:0}[_nghost-%COMP%] a{color:var(--fg-brand-tertiary)}.error-text[_ngcontent-%COMP%]{color:var(--color-label-required)}"]})}}return i})();var ya=(()=>{class i{#i;#e;#t;#r;#n;#o;#s;#a;#l;constructor(){this.#i=m(ai),this.#e=m(oi),this.#t=m(j),this.#r=m(Go),this.#n=m(te),this.#o=m(Wo),this.#s=m(ci),this.#a=m(ft),this.injector=m(ke),this.#l=Ue(m(K)),De(()=>{let e=this.#t.getSiteFlag(D.MultisiteAuthenticationEnabled),r=this.#t.getSiteSettingValueByKey(D.MultisiteAuthentication);if(!e)return;let n=this.#i.user(),o=this.#r.globalSettings();if(!n||!o)return;let s=o?.b2CSection?.enabled,a=o?.b2BSection?.enabled;n.userType===ti.B2C&&!s||(!r||r===ii.DISABLED)&&!n.roleName||n.userType===ti.B2B&&!a?this.#c(o):n.userType===ti.B2C&&s&&!n.roleName&&(r===ii.AUTOMATIC?this.#m():r==ii.SEMI_AUTOMATIC&&!this.#l&&this.#s.open(ga,{header:this.#a.getResourceByKey(ae.MULTISITE_AUTHENTICATION_POPUP_HEADER),width:jo.Medium}).onClose.pipe(fe(1)).subscribe(c=>{c=="accept"?this.#m():this.#c(o)}))})}#c(e){let r=pt(()=>this.#n.language()),n=Qo(e),o=encodeURIComponent(mo(this.injector));this.#e.logIn({language:r,successRedirect:o,mode:n,prompt:"login"})}#m(){this.#o.addDefaultUserB2C().pipe(fe(1)).subscribe(()=>{this.#i.fetchUserInfo()})}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function _a(){return Ce([{provide:ue,multi:!0,useFactory:i=>()=>i,deps:[ya]}])}var va=(()=>{class i{constructor(){this.#i="0.21.0",this.#e=m(B),this.#t=m(Te),this.#r=m(j),this.injector=m(ke),this.#n=m(Vt).createRenderer(null,null),this.theme=z(()=>{let e=this.#r.themeName();return e?e.replace(/\s+/g,"-").toLowerCase():Ln}),this.#o=!1}#i;#e;#t;#r;#n;#o;loadTheme(){this.#o||(this.#o=!0,Lr(this.injector,()=>{De(()=>{this.#e.info("[ThemesService] Starting theme update"),this.#s(this.theme())})}),this.#e.info("[ThemesService] Theme updater initialized"))}#s(e){let r=this.#a(),n=`${e}.css?v=${this.#i}`;if(this.#e.info(`[ThemesService] New theme url: ${n}`),r)r.href!==n?(this.#e.info(`[ThemesService] Theme link found, updating old theme: ${r.href} to new one ${n}`),r.href=n):this.#e.info("[ThemesService] Theme link found, url is the same, skipping theme updating");else{this.#e.info("[ThemesService] Theme link item missed, creating...");let o=this.#t.getElementsByTagName("head")[0],s=this.#n.createElement("link");this.#n.setAttribute(s,"id","app-theme"),this.#n.setAttribute(s,"rel","stylesheet"),this.#n.setAttribute(s,"type","text/css"),this.#n.setAttribute(s,"href",n),this.#n.appendChild(o,s)}}#a(){return this.#t.getElementById("app-theme")}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Sa=i=>()=>i.loadTheme();function ba(){return Ce([{provide:ue,multi:!0,useFactory:Sa,deps:[va]}])}var wm={validation:!1},Ca=ds(wm);var Mm=new nn(()=>!1),Im=(()=>{class i{constructor(e){this.loader=e}intercept(e,r){if(e.headers.has("ignoreLoadingBar"))return r.handle(e.clone({headers:e.headers.delete("ignoreLoadingBar")}));if(e.context.get(Mm)===!0)return r.handle(e);let n=!1,o=this.loader.useRef("http");return r.handle(e).pipe(be(()=>{n||(o.start(),n=!0)}),zt(()=>n&&o.complete()))}}return i.\u0275fac=function(e){return new(e||i)(Y(Wi))},i.\u0275prov=M({token:i,factory:i.\u0275fac}),i})(),Ta=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=St({type:i}),i.\u0275inj=vt({providers:[{provide:an,useClass:Im,multi:!0}],imports:[[Di,Xe],Di,Xe]}),i})();var Ea=at(Xe,Ta);function wa(i,t){new MutationObserver((r,n)=>{r.find(s=>s.target.classList.contains(rs))&&(window.cookieConsent({brandName:i,language:new Intl.Locale(t).language}),n.disconnect())}).observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!1})}var Ai=(()=>{class i{#i=m(K);#e=m(ai);#t=m(Jn);#r=m(ns);#n=new Ut(!1);#o=m(te);#s=this.#o.language$.pipe(Ge(e=>!!e),Z(e=>({language:e,countryCode:this.#o.countryCode()})),jt(1));constructor(){Bt({user:ut(this.#e.user),loadingState:this.#e.loadingState$,languageDetails:this.#s}).pipe(be(({user:e,loadingState:{userLoaded:r},languageDetails:n})=>{e&&r&&n?(this.#t.loadPermissions(e.permissions),this.#t.addPermission(pi.VIEW_ADMIN_PAGE,(o,s)=>!!s[pi.MANAGE_CUSTOMERS]&&!!s[pi.MANAGE_ALL_USERS]),this.#r.market=n.countryCode):(this.#t.flushPermissions(),this.#r.market=is.DEFAULT_COUNTRY_CODE),this.#n.next(!!r)}),Xt()).subscribe(),Ee(this.#i)&&this.#s.pipe(fe(1)).subscribe(e=>{wa(this.#r.labels.APP_NAME,e.language)})}canActivateChild(){return this.#n.pipe(Ge(Boolean),fe(1))}canActivate(){return this.#n.pipe(Ge(Boolean),fe(1))}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac})}}return i})();var Ma=(i,t)=>{let e=m(te),r=m(j),n=pt(()=>e.countryCode()),o=pt(()=>r.currentSite()?.id);if(n||(n=pt(()=>m(Co).resolveLanguage(i.url).language.split("-").pop())),n){let s=i.headers.set("CountryCodeOfRequest",n);i=i.clone({headers:s})}if(o){let s=i.headers.set("site-id",o.toString());i=i.clone({headers:s})}return t(i)};var Ia=(i,t)=>{let e=m(ze).getEnvironmentVariable(Be.APIM_CONTENT_API_BASE_URL),r=m(te).language,n=m(B),o=m(we);return t(i).pipe(Se(s=>{if(po(i.url,`${e}`)&&s.status===Yt.InternalServerError){let a=`/${r()}/${It.SERVER_ERROR}`;return n.error(`Navigating to ${a} due to ${s.message}`),o.navigate([a]),X(()=>s)}else return X(()=>s)}))};var Aa=(i,t)=>{let e=m(B),r=m(K),n=m(At,{optional:!0});return t(i).pipe(Se(o=>{if(Ue(r)){let s=n?.sessionID??"N/A";e.error(`[HTTP Error] [SID: ${s}] ${o.status}: ${o.statusText} ${i.urlWithParams}`)}else o.error instanceof ErrorEvent&&e.error(`Client-Side Error: ${o.error?.message}`);return X(()=>o)}))};var Pa=(i,t)=>{let e=m(Do);return t(i).pipe(Se(r=>(e.isMobileApp()&&i.context.set(Un,!0),X(()=>r))))};var xa=(i,t)=>{let e=m(K),r=m(B);return Ee(e)&&!window.navigator.onLine?(r.error("Application is offline"),X(()=>new Wt({status:0,statusText:"Offline"}))):t(i)};var Oa=(i,t)=>{let e=m(B),r=m(At,{optional:!0}),n=performance.now(),o=0;return t(i).pipe(be({next:s=>{s instanceof sn&&(o=s.status)},error:s=>{o=s.status}}),zt(()=>{let s=performance.now(),a=Math.round(s-n),l=o>=200&&o<400,c=r?.sessionID??"N/A",p=`[HTTP] ${i.method} ${i.urlWithParams}`;e.trackDependency({dependencyTypeName:kn.REQUEST,target:"Angular SSR",name:p,data:`SID: ${c}`,duration:a,resultCode:o,success:l})}))};var Ra=(i,t)=>{let e=m(B);return t(i).pipe(Fr({count:2,delay:r=>xm(r,i,e)}),Se(r=>X(()=>r)))};function xm(i,t,e){if(i.status===0||i.status>=Yt.InternalServerError)return e.warn(`Retrying request: ${t.urlWithParams}`),_t(1e3);throw i}var ka=(i,t)=>{let e=m(B),r=m(ze),n=Number(r.getEnvironmentVariable(Be.DEFAULT_TIMEOUT));return t(i).pipe(Nr(n),Se(o=>o instanceof kr?(e.error(`TimeoutError: ${i.urlWithParams}`),X(()=>new Wt({status:0,statusText:o.message}))):X(()=>o)))};var Om=(i,t,e)=>{let r=["POST","PUT","PATCH"].indexOf(i.method.toUpperCase())!==-1,n=c=>["variables","extensions"].indexOf(c.toLowerCase())!==-1,o=i.body.length,s=i.options&&i.options.useMultipart,a;if(s){if(o)return new He(c=>c.error(new Error("File upload is not available when combined with Batching")));if(!r)return new He(c=>c.error(new Error("File upload is not available when GET is used")));if(!e)return new He(c=>c.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));a=e(i.body),s=!!a.files.size}let l={};if(o){if(!r)return new He(c=>c.error(new Error("Batching is not available for GET requests")));l={body:i.body}}else{let c=s?a.clone:i.body;r?l={body:c}:l={params:Object.keys(i.body).reduce((u,T)=>{let b=i.body[T];return u[T]=n(T)?JSON.stringify(b):b,u},{})}}if(s&&r){let c=new FormData;c.append("operations",JSON.stringify(l.body));let p={},u=a.files,T=0;u.forEach(b=>{p[++T]=b}),c.append("map",JSON.stringify(p)),T=0,u.forEach((b,g)=>{c.append(++T+"",g,g.name)}),l.body=c}return t.request(i.method,i.url,N(N({observe:"response",responseType:"json",reportProgress:!1},l),i.options))},Rm=(i,t)=>i&&t?t.keys().reduce((r,n)=>r.set(n,t.getAll(n)),i):t||i;function km(...i){let t=i.find(e=>typeof e<"u");return typeof t>"u"?i[i.length-1]:t}function Nm(i){let t=i.headers&&i.headers instanceof Fi?i.headers:new Fi(i.headers);if(i.clientAwareness){let{name:e,version:r}=i.clientAwareness;e&&!t.has("apollographql-client-name")&&(t=t.set("apollographql-client-name",e)),r&&!t.has("apollographql-client-version")&&(t=t.set("apollographql-client-version",r))}return t}var wr=class extends Pt{httpClient;options;requester;print=to;constructor(t,e){super(),this.httpClient=t,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=r=>new io(n=>{let o=r.getContext(),s=(O,q)=>km(o[O],this.options[O],q),a=s("method","POST"),l=s("includeQuery",!0),c=s("includeExtensions",!1),p=s("uri","graphql"),u=s("withCredentials"),T=s("useMultipart"),b=this.options.useGETForQueries===!0,g=r.query.definitions.some(O=>O.kind==="OperationDefinition"&&O.operation==="query");b&&g&&(a="GET");let S={method:a,url:typeof p=="function"?p(r):p,body:{operationName:r.operationName,variables:r.variables},options:{withCredentials:u,useMultipart:T,headers:this.options.headers}};c&&(S.body.extensions=r.extensions),l&&(S.body.query=this.print(r.query));let k=Nm(o);S.options.headers=Rm(S.options.headers,k);let U=Om(S,this.httpClient,this.options.extractFiles).subscribe({next:O=>{r.setContext({response:O}),n.next(O.body)},error:O=>n.error(O),complete:()=>n.complete()});return()=>{U.closed||U.unsubscribe()}})}request(t){return this.requester(t)}},Na=(()=>{class i{httpClient;constructor(e){this.httpClient=e}create(e){return new wr(this.httpClient,e)}static \u0275fac=function(r){return new(r||i)(Y(Jt))};static \u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Fm(){let i=m(Na),t=m(ri),{graphql:e,graphqlAnonymous:r,graphqlHybrid:n}=t.apim();return{link:Pt.split(o=>{let s=o.getContext().clientName;return s==="anonymous"||s==="hybrid"},Pt.split(o=>o.getContext().clientName==="anonymous",i.create({uri:r}),i.create({uri:n})),i.create({uri:e})),cache:new ro({typePolicies:{Configuration:{merge:!0}}})}}function Fa(){return[oo,{provide:no,useFactory:Fm}]}var Da=()=>({provide:ue,multi:!0,useFactory:()=>{let i=m(Ko);return()=>i.getSessionConfiguration()}});var La={[E.Authentication]:{loadChildren:()=>import("./chunk-VIPDFFXE.js").then(i=>i.AuthRoutes),providers:[So({scope:"auth",alias:"AUTH"})]}};var Ua={[E.ColorFamilies]:{loadChildren:()=>Promise.all([import("./chunk-IFL6LTU5.js"),import("./chunk-IQ7IZ6DC.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"},{path:`:${t.FAMILY_NAME_PARAM}`},{path:`:${t.FAMILY_TYPE_NAME_PARAM}/:${t.FAMILY_NAME_PARAM}`}])),resolve:{[le]:Ie},canMatch:[je(D.ColorJourneyIsEnabled)]},[E.ColorCollection]:{loadChildren:()=>Promise.all([import("./chunk-IFL6LTU5.js"),import("./chunk-3VCGMFLT.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:`:${t.COLLECTION_NAME_PARAM}`}])),resolve:{[le]:Ie},canMatch:[je(D.ColorJourneyIsEnabled)]},[E.ColorDetails]:{loadChildren:()=>Promise.all([import("./chunk-IFL6LTU5.js"),import("./chunk-LAXCZFCH.js")]).then(([i,t])=>i.mixedContentPageResolverRoutes([{path:`:${t.COLOR_NAME_PARAM}/:${t.COLOR_PRODUCT_NUMBER_PARAM}`}])),resolve:{[le]:Ie},canMatch:[je(D.ColorJourneyIsEnabled)]},[E.FavoriteColors]:{loadChildren:()=>import("./chunk-IFL6LTU5.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[le]:Ie},canMatch:[je(D.ColorJourneyIsEnabled)]},[E.Colors]:{loadChildren:()=>import("./chunk-IFL6LTU5.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[le]:Ie}}};var Ba={[E.GlobalSearch]:{loadChildren:()=>import("./chunk-X6QP2ADH.js").then(i=>i.GlobalSearchRoutes),canMatch:[fs],title:ae.SEARCH_PAGE_TITLE},[E.ContactUsForm]:{loadChildren:()=>import("./chunk-LYCAMPNN.js").then(i=>i.ContactUsFormRoutes)}};var za={[E.DistributorLocator]:{loadChildren:()=>import("./chunk-EW7YJ3JE.js").then(i=>i.DistributorLocatorRoutes)}};var ja=()=>{let i=m(B),t=m(Je);return Vi(t.appRouteItems(),E.ProductsList)?!0:(i.error("[FeatureRedirectToProducts] redirect path cannot be calculated, skipping redirect"),!1)},$a=i=>{let t=m(B),e=m(we),r=m(Je),n=Vi(r.appRouteItems(),E.ProductsList);return t.info(`[FeatureRedirectToProducts] redirecting to products feature with path: ${n} and queryPrams: ${JSON.stringify(i.queryParams)} from: ${ni(i.data)?.url}`),e.createUrlTree([n],{queryParams:i.queryParams})};var Va={[E.CreateCashCustomer]:{loadChildren:()=>import("./chunk-2ABAMO6D.js").then(i=>i.CreateCashCustomerModule)},[E.Registration]:{loadChildren:()=>import("./chunk-TM5MDGC3.js").then(i=>i.RegistrationModule)},[E.CreateB2CCustomer]:{loadChildren:()=>import("./chunk-PKPCUCUK.js").then(i=>i.CreateB2CCustomerModule)},[E.ProductsList]:{loadChildren:()=>import("./chunk-NVKTKEA2.js").then(i=>i.ProductsListModule)},[E.Favorites]:{loadChildren:()=>import("./chunk-SSFQJUHT.js").then(i=>i.FavoritesModule),data:{onPage:Gi.UsersPage}},[E.ImportAccounts]:{loadChildren:()=>import("./chunk-4WPMBJV7.js").then(i=>i.ImportAccountsModule)},[E.Admin]:{loadChildren:()=>import("./chunk-WAZMS7EO.js").then(i=>i.AdminModule)},[E.Users]:{loadChildren:()=>import("./chunk-Q3QAIQ3Q.js").then(i=>i.UserModule),data:{onPage:Gi.UsersPage}},[E.PaymentMethods]:{loadChildren:()=>import("./chunk-Z6VNQAGR.js").then(i=>i.PaymentModule)},[E.UserProfile]:{loadChildren:()=>import("./chunk-3D2NAXQD.js").then(i=>i.UserProfileModule)},[E.Cart]:{loadChildren:()=>import("./chunk-3LT4Y7GC.js").then(i=>i.CartModule)},[E.Customer]:{loadChildren:()=>import("./chunk-L3VEBLEW.js").then(i=>i.CustomerModule)},[E.Address]:{loadChildren:()=>import("./chunk-AYRC6FXJ.js").then(i=>i.AddressModule)},[E.Job]:{loadChildren:()=>import("./chunk-DFJAKBTH.js").then(i=>i.JobModule)},[E.Order]:{loadChildren:()=>import("./chunk-AYCFB7UG.js").then(i=>i.OrderModule)},[E.InactiveUser]:{loadComponent:()=>import("./chunk-7WUJIAN7.js").then(i=>i.InactiveUserComponent)},[E.B2bB2cCustomerRegistration]:{loadComponent:()=>import("./chunk-QVCWBTMH.js").then(i=>i.AccountTypeComponent),canActivate:[eo]}},Ka={[E.RedirectToProducts]:{component:Qn,pathMatch:"full",canMatch:[ja],canActivate:[$a]}};var qa={[E.GlobalStoreLocator]:{loadChildren:()=>import("./chunk-GYARC3SN.js").then(i=>i.GlobalStoreLocatorRoutes)}};var Ha={[E.ProductJourneyList]:{loadChildren:()=>import("./chunk-IFL6LTU5.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[le]:Ie,[xt]:Hi},canMatch:[je(D.ProductJourneyProductListEnabled)]},[E.ProductJourneyDetails]:{loadChildren:()=>import("./chunk-IFL6LTU5.js").then(i=>i.mixedContentPageResolverRoutes([{path:":productSlug/:productEMG"}])),resolve:{[le]:Ie,[xt]:Hi},canMatch:[je(D.ProductJourneyProductDetailsIsEnabled)]},[E.Documents]:{loadChildren:()=>import("./chunk-IFL6LTU5.js").then(i=>i.mixedContentPageResolverRoutes([{path:"",pathMatch:"full"}])),resolve:{[le]:Ie}}};var Ga=N(N(N(N(N(N(N(N({},La),Va),Ka),Ba),za),qa),Ua),Ha);var Dm=3;function Mr(i){return t=>{let e=t.findIndex(r=>r.path.toLocaleLowerCase()==i.toLocaleLowerCase());return!t.length||e===-1||e>=Dm?null:{consumed:t.slice(0,e+1)}}}function Qa(){return i=>{let t=i.findIndex(e=>e.path.toLocaleLowerCase()===Fn);return!i.length||t===-1?null:{consumed:i}}}function Wa(){return i=>{let t=i.map(e=>e.path).join("/");return{consumed:i,posParams:{rootName:new _n(t,{})}}}}function Ya(){return i=>i.length!=0?{consumed:i}:null}var Ja=[{matcher:Mr(It.NOT_FOUND),loadComponent:()=>import("./chunk-OBJLVAAZ.js").then(i=>i.NotfoundComponent),data:{[ji]:$i}},{matcher:Mr(It.SERVER_ERROR),loadComponent:()=>import("./chunk-N7R5IHBD.js").then(i=>i.ServerErrorComponent)},{matcher:Qa(),resolve:{[le]:gs,[xt]:ys},loadComponent:()=>import("./chunk-IFL6LTU5.js").then(i=>i.PreviewContentPageResolverComponent),data:{[Gn]:!0}},{matcher:Wa(),loadComponent:()=>import("./chunk-IFL6LTU5.js").then(i=>i.PageResolverComponent),resolve:{[le]:hs}},{matcher:Ya(),loadComponent:()=>import("./chunk-OBJLVAAZ.js").then(i=>i.NotfoundComponent),data:{[ji]:$i}}];var Xa=(()=>{class i{constructor(){this.#i=m(B),this.#e=m(te),this.#t=Ue(m(K)),this.language=this.#e.language}#i;#e;#t;getStaticRoutes(){return[...Ja]}getFeatureModuleRoute(e){let r=Ga[e];return r?Array.isArray(r)?[...r]:[r]:(this.#i.error(`[RouterConfiguratorService] cannot find route config for ${e} feature module`),[])}getAuthGuards(e){let r=[Zn];return r.push(()=>m(Ai).canActivate()),e!==E.InactiveUser&&r.push(lo),r}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Za(){return Ce([Wn(()=>m(Xa)),{provide:ue,useFactory:()=>{let i=m(we),t=m(Je).routerConfig();return i.resetConfig(t),()=>null},multi:!0},Tn([],wn({paramsInheritanceStrategy:"always"}),En({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}))])}var el=(()=>{class i{#i=m(we);#e=m(B);#t=m(ke);getChangeFlow(e){let r=this.#r(),n=this.#t.get(Je);return r?.codename?n.getAppRoutes(e.newLanguage).pipe(fe(1),Z(o=>{let s=Yn(o,r?.codename);return s?(this.#e.info(`[FeatureModuleChangeFlowService][getChangeFlow] Found matched route with the following path "${s}" for codename: ${r?.codename}`),{urlUpdater:([a,l])=>[a.replace(r.url,s),l]}):(this.#e.warn(`[FeatureModuleChangeFlowService][getChangeFlow] No matched route found for codename: ${r?.codename}`),{urlUpdater:Oi})})):(this.#e.warn("[FeatureModuleChangeFlowService][getChangeFlow] No codename found in app route item from route."),Pe({urlUpdater:Oi}))}canApplyChangeFlow(){return!!this.#r()}#r(){return ni(this.#i.routerState.root.snapshot.firstChild?.data)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=M({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Lm=Object.entries(ei).map(([i,t])=>({id:t,label:i})),tl={providers:[{provide:xn,useValue:"/"},ma(),Da(),da(),jn(),To(),{provide:On,useFactory:()=>m(ri).rest()},ba(),Hn(),fo(),{provide:mi,useValue:mi()},{provide:Jo,useExisting:mi},at(Li),at(ls),at(Xn.forRoot()),oa(),ln(pn(),mn({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"}),cn([co,uo,Pa,Ia,Ra,Aa,xa,ka,sa,Oa,Ma,zn])),Fa(),Ai,Za(),hn(),vo({config:{availableLangs:Lm,defaultLang:ei.EN_US,fallbackLang:ei.EN_US,reRenderOnLangChange:!0,prodMode:!en()},loader:ha}),Yo(),ci,zi,Ea,Ca,zi,{provide:Uo,useFactory:Bo,deps:[Lo]},{provide:cs,useFactory:ps,deps:[ms]},{provide:Nn,useFactory:i=>i.defaultView??window,deps:[Te]},{provide:bn,useClass:us},{provide:bo,useExisting:el},Vo(),{provide:ho,useFactory:()=>{let i=m(j);return z(()=>`${i.siteId()}`)}},{provide:go,useFactory:()=>{let i=m(j);return z(()=>`${i.hubPagePath()}`)}},_a()]};var il={name:"prod",production:!0,baseUrl:"/",signInRedirectUrl:"/MicrosoftIdentity/Account/SignIn"};il.production&&void 0;dn(xs,tl).catch(i=>console.error(i));