PageSourceSearch

https://platimpak.cz/scripts/main-GVHG5X7V.js

js platimpak.cz collected 2026-09-28 05:50:33 UTC 240,321 bytes, 108 lines download raw bytes

1import{a as Si,b as jo,c as Ko,d as Go,e as Wo,f as Zo,g as Yo,h as wn,i as Jo,p as Pn}from"./chunk-AV5WEQMQ.js";import{a as Qe,b as qo,h as bn,i as Sn,q as Lt,r as mt}from"./chunk-U3IWRV2T.js";import"./chunk-HYLEGR7S.js";import{$a as Y,$b as bi,$d as fn,Aa as k,Ab as Et,Ae as Bo,B as ee,Bc as un,Cb as cn,Cc as Mo,Ce as Cn,D as nn,Db as $,Ea as se,Eb as qe,Ec as Do,Ee as zo,Fa as h,Fc as gn,G as on,Ga as f,Gb as uo,Gc as Lo,Ge as Uo,H as Pt,Ha as V,Ib as Qt,Ic as _n,Ja as D,K as v,Ka as L,Kb as pn,L as b,La as d,Lb as go,Le as je,M as Xe,Ma as c,Mb as ue,Na as p,Nb as _o,Ne as yn,O as an,Oa as C,Ob as ho,Oe as vn,Pa as Ve,Pe as $o,Qa as Be,Qb as Ct,Qe as Ho,R as ao,Ra as co,Rd as G,Re as Dt,S as T,Sa as ke,Sb as tt,Sd as ct,T as ro,Ta as Ie,Tb as pe,Td as pt,U as Te,Ua as U,Ud as hn,Ve as Qo,W as j,Wa as P,Wb as fo,Wd as It,We as xn,X as Tt,Xe as me,Y as rn,Ya as y,Ye as ae,Za as po,_ as yi,_a as l,_d as Ro,a as Se,ab as J,ac as Co,ae as Oo,b as Je,ba as ie,bc as Ce,bd as Fo,c as oo,ca as M,cb as ze,db as Me,eb as De,fa as st,fc as Fe,ga as Ee,gc as mn,ge as Mt,ha as r,hb as B,hc as yo,ia as so,ib as ln,ic as Q,jc as vo,la as lo,lb as F,lc as bo,mb as _,mc as So,na as ce,nb as S,nc as xo,ob as ve,oc as wo,pb as ft,pc as Po,pe as Vo,qa as et,qb as mo,qc as To,ra as vi,rb as Ht,rc as kt,re as nt,sb as qt,sc as Eo,tb as jt,tc as ko,ua as A,ub as oe,uc as Io,vb as te,wa as sn,wb as I,xb as lt,xd as No,yb as Z,yc as dn,za as z,zb as Le,zd as Ao}from"./chunk-Y3VFG3ZG.js";var Tn=class{static replacePagePlaceholders(t,e){if(t.includes('"WebSite"')){let n=JSON.stringify(e.metadata.seoDescription??""),o=JSON.stringify(e.metadata.htmlTitle);return t.replaceAll("{name}",o.substring(1,o.length-1)).replaceAll("{urlPath}",e.metadata.url).replaceAll("{description}",n.substring(1,n.length-1)).replaceAll("{keywords}",JSON.stringify(e.metadata.internalSearch.keywordsLevels.map(a=>a.keywords).flat()))}return t}static getPageHeadJsonLdObjects(t){return t.plugins.find(e=>e.type===Cn.PluginType.JSON_LD)?.contentItems.map(e=>e.content).filter(e=>G.isNotEmpty(e)).map(e=>this.replacePagePlaceholders(e,t)).map(e=>{try{return JSON.parse(e)}catch(n){return console.error("error parsing jsonLd:",e),console.error("error:",n),null}}).filter(e=>e!=null)??[]}};var pr=["header"],dt=class i{constructor(t,e,n,o,a){this.elementRef=t;this.state=e;this.stateRb=n;this.utils=o;this.modalService=a}elementRef;state;stateRb;utils;modalService;CommonUtil=G;pageData=pe.required();firstRowComponents=T([]);logoRowComponents=T([]);mainNavigationComponents=T([]);breadcrumbRowComponents=T([]);applicationMenuRowComponents=T([]);pageWrapperComponents=T([]);popupContainerComponents=T([]);currentModalModel=T(It.EMPTY_MODEL);headerIsSticky=T(!1);headerPlaceholderHeight=T(0);header=null;loggedInEffect=Te(()=>{let t=this.state.loggedIn();this.prepareMainNavigationComponents(t)});currentModalModelSubscription=null;ngOnInit(){this.firstRowComponents.set(this.prepareComponentDataList("001-row",!1)),this.logoRowComponents.set(this.prepareComponentDataList("logo-row",!1)),this.breadcrumbRowComponents.set(this.prepareComponentDataList("breadcrumb-row",!1)),this.applicationMenuRowComponents.set(this.prepareComponentDataList("application-menu-row",!1)),this.popupContainerComponents.set(this.prepareComponentDataList("application-row",!1)),this.prepareMainNavigationComponents(!1),this.currentModalModelSubscription=this.modalService.currentModalModel.subscribe(t=>{t.isPresent?document.body.classList.add("popup-component-opened"):document.body.classList.remove("popup-component-opened")}),this.modalService.currentModalModel.subscribe(t=>{this.currentModalModel.set(t)})}ngOnDestroy(){this.currentModalModelSubscription?.unsubscribe()}ngAfterViewInit(){G.SSR||(this.stickyHandler(),this.afterClientViewInit())}afterClientViewInit(){}prepareComponentDataList(t,e){let n=this.getPagePart(t);if(n==null)return[];let o=[],a=n.id;for(let s of n.components)!e&&zo.isRestricted(s)||o.push({component:s,componentFirstInContent:!1,isPopup:!1,pageMetadata:this.pageData().metadata,pagePartRef:a});return o}prepareMainNavigationComponents(t){let e=this.prepareComponentDataList("main-navigation-row",t);e.length!==this.mainNavigationComponents().length&&this.mainNavigationComponents.set(e)}
1backdropClicked(){this.state.backdropClicked.emit(null)}stickyHandler(){if(G.SSR||this.header===null||this.header===void 0)return;let t=this.elementRef.nativeElement,e=t.querySelector(":scope > .messages"),n=t.parentElement?.querySelector(":scope > .preview-bar")??null,o=0;o+=e===null?0:e.clientHeight,o+=n===null?0:n.clientHeight;let a=G.getWindowScrollY()-o;this.headerIsSticky.set(a>=1),this.headerPlaceholderHeight.set(this.header.nativeElement.clientHeight)}getComponents(t){return this.pageData().pageParts.filter(e=>e.name===t)[0]?.components??[]}getPagePartNodeRef(t){return this.getPagePart(t)?.id??""}getPagePart(t){return this.pageData().pageParts.find(e=>e.name===t)??null}mainNavLabelClicked(){je.toggleMainNavOpened(),this.stateRb.mainNavOpened.set(je.hasMainNavOpened())}onKeydownHandler(t){this.modalService.hideModal()}previewActionTriggered(t,e){jo.basePreviewActionTriggered(t,e,this.state,this.modalService)}static \u0275fac=function(e){return new(e||i)(ce(Tt),ce(ct),ce(yn),ce(pt),ce(It))};static \u0275dir=sn({type:i,viewQuery:function(e,n){if(e&1&&ze(pr,5),e&2){let o;Me(o=De())&&(n.header=o.first)}},hostBindings:function(e,n){e&1&&y("scroll",function(){return n.stickyHandler()},st)("keydown.escape",function(a){return n.onKeydownHandler(a)},Ee)},inputs:{pageData:[1,"pageData"]}})};var mr=["app-alertbox",""],dr=[[["","preview-actions",""]]],ur=["[preview-actions]"],En=class i extends me{messageContent=mt.EMPTY_CONTENT;ngOnInit(){super.ngOnInit(),this.messageContent={icon:this.content.icon,heading:this.content.heading,description:this.content.description,button:this.content.button?.button}}buttonClicked(){this.elementRef.nativeElement.style.display="none"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-alertbox",""]],features:[z],attrs:mr,ngContentSelectors:ur,decls:5,vars:1,consts:[[1,"container"],[1,"row","justify-content-center"],[1,"col-md-12","col-lg-10"],["app-message-atom","",1,"message",3,"buttonClicked","content"]],template:function(e,n){e&1&&(Y(dr),J(0),c(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),y("buttonClicked",function(){return n.buttonClicked()}),p()()()()),e&2&&(r(4),d("content",n.messageContent))},dependencies:[mt],encapsulation:2})};var gr=["app-cookies-consent",""],_r=[[["","preview-actions",""]]],hr=["[preview-actions]"],kn=class i extends me{cookieName="";messageContent=mt.EMPTY_CONTENT;ngOnInit(){super.ngOnInit(),this.cookieName="rt_cookies_consent-"+this.content.cookieVersion,this.messageContent={description:this.content.description,button:this.content.button?.button??{}},this.messageContent.button.url="#"}afterClientViewInit(){G.getCookieValue(this.cookieName).then(t=>{t!=="true"&&this.elementRef.nativeElement.style.removeProperty("display")})}buttonClicked(){let t=new Date;t.setDate(t.getDate()+365),document.cookie=this.cookieName+"=true; expires="+t.toUTCString()+"; path=/",this.elementRef.nativeElement.style.display="none"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-cookies-consent",""]],features:[z],attrs:gr,ngContentSelectors:hr,decls:5,vars:1,consts:[[1,"container"],[1,"row"],[1,"col-md-12","col-lg-10","offset-lg-1"],["app-message-atom","",1,"message","letters-small",3,"buttonClicked","content"]],template:function(e,n){e&1&&(Y(_r),J(0),c(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),y("buttonClicked",function(){return n.buttonClicked()}),p()()()()),e&2&&(r(4),d("content",n.messageContent))},dependencies:[Q,mt],encapsulation:2})};var fr=["app-page-messages",""],ea=i=>({componentData:i});function Cr(i,t){if(i&1){let e=P();c(0,"div",1),y("actionTriggered",function(o){let a=v(e).componentData,s=l();return b(s.previewActionTriggered(o,a))}),p()}if(i&2){let e=t.componentData;d("componentData",e)("movingEnabled",!1)}}function yr(i,t){i&1&&U(0,7)}function vr(i,t){if(i&1&&(c(0,"div",5),k(1,yr,1,0,"ng-container",6),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(1);F(n.wrapperClass),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(5,ea,e))}}function br(i,t){i&1&&U(0,7)}function Sr(i,t){if(i&1&&(c(0,"div",8),k(1,br,1,0,"ng-container",6),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(1);F(Z("bg-style2 ",n.wrapperClass)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,ea,e))}}function xr(i,t){if(i&1&&(c(0,"div",4),_(1),p()),i&2){l();let e=I(0);r(),ve("Unsupported componentName in above-header-row: ",e.name)}}function wr(i,t){if(i&1&&(oe(0),h(1,vr,2,7,"div",2)(2,Sr,2,8,"div",3)(3,xr,2,1,"div",4)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="alertboxAspect"?1:e==="cookiesConsentAspect"?2:3)}}var In=class i extends dt{aboveHeadrRowComponents=T([]);ngOnInit(){super.ngOnInit(),this.aboveHeadrRowComponents.set(this.prepareComponentDataList("above-header-row",!1))}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-page-messages",""]],features:[z],attrs:fr,decls:4,vars:0,consts:[["previewActionsTemplate",""],["app-preview-actions-atom","",3,"actionTriggered","componentData","movingEnabled"],["app-alertbox","",3,"class","componentData"],["app-cookies-consent","",2,"display","none",3,"class","componentData"],[1,"n
1od"],["app-alertbox","",3,"componentData"],["preview-actions","",4,"ngTemplateOutlet","ngTemplateOutletContext"],["preview-actions",""],["app-cookies-consent","",2,"display","none",3,"componentData"]],template:function(e,n){e&1&&(k(0,Cr,1,2,"ng-template",null,0,ue),D(2,wr,4,2,null,null,V)),e&2&&(r(2),L(n.aboveHeadrRowComponents()))},dependencies:[Q,Fe,En,kn,Mt],encapsulation:2})};var Tr=["searchInput"],Er=["app-search-panel",""],kr=[[["","preview-actions",""]]],Ir=["[preview-actions]"],Mr=(i,t)=>({icon:i,description:t}),Dr=()=>({"custom-icon":""}),ta=(i,t)=>t.url;function Lr(i,t){if(i&1&&C(0,"div",5),i&2){let e=l(2);d("content",qe(1,Mr,e.content.hintIcon,e.content.hintText))}}function Fr(i,t){if(i&1&&(c(0,"a",13)(1,"div",15),C(2,"span"),c(3,"div",3),C(4,"h5",16)(5,"div",17),p()()()),i&2){l();let e=I(3);d("href",e.url,M),r(2),F(Z("icon ",e.icon)),r(2),d("innerHTML",e.heading,ie),r(),d("innerHTML",e.body,ie)}}function Nr(i,t){if(i&1){let e=P();c(0,"a",20),y("preClick",function(o){v(e);let a=l(6);return b(a.itemClicked(o))}),c(1,"div",21),C(2,"span"),p(),c(3,"div",22)(4,"div",23),_(5),p(),c(6,"div",24),_(7),p()()()}if(i&2){let e=t.$implicit,n=l(6);d("href",n.getPoiDetailUrl(e),M),r(2),F(Z("icon ",n.content.searchPanelPoiIcons[e.type])),r(3),S(e.title),r(2),mo("",e.addressStreet,", ",e.addressZip,", ",e.addressCity)}}function Ar(i,t){if(i&1){let e=P();c(0,"div",9),D(1,Nr,8,8,"a",18,V),p(),c(3,"a",19),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),_(4),p()}if(i&2){let e=l(2),n=l(3);r(),L(e.results),r(2),d("href",n.getPoiSearchUrl(),M),r(),S(n.content.categoryShowNextLabel)}}function Rr(i,t){if(i&1){let e=P();c(0,"a",19),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),_(1),p()}if(i&2){let e=l(5);d("href",e.getPoiSearchUrl(),M),r(),S(e.poisSearchAddressLabel)}}function Or(i,t){if(i&1){let e=P();c(0,"div",11)(1,"a",12),y("preClick",function(o){v(e);let a=l(4);return b(a.itemClicked(o))}),_(2),p(),oe(3),h(4,Fr,6,6,"a",13),C(5,"div",4),h(6,Ar,5,2)(7,Rr,2,2,"a",14),p()}if(i&2){let e=l(),n=I(0),o=I(1),a=l(3);r(),d("href",a.getPoiSearchUrl(),M),r(),ft("",a.content.poisLabel," (",e.totalCount,")"),r();let s=te(a.content.searchPoisBanners);r(),f(a.poiBannerDisplay()&&s!=null?4:-1),r(),d("field",a.segmentField),r(),f(n?6:o?7:-1)}}function Vr(i,t){if(i&1&&(oe(0)(1),h(2,Or,8,7,"div",11)),i&2){let e=t,n=te(e.results.length>0);r();let o=te(e.ruianTotalCount>0);r(),f(n||o?2:-1)}}function Br(i,t){if(i&1){let e=P();c(0,"li")(1,"a",28),y("preClick",function(o){v(e);let a=l(8);return b(a.itemClicked(o))}),_(2),p()()}if(i&2){let e=l().$implicit;r(),d("href",Z("",e.url,"?an=wp"),M),r(),S(e.label)}}function zr(i,t){if(i&1&&h(0,Br,3,3,"li"),i&2){let e=t.$index;f(e<1?0:-1)}}function Ur(i,t){if(i&1){let e=P();c(0,"div",26)(1,"div",21),C(2,"span"),p(),c(3,"div",27)(4,"div",23)(5,"a",28),y("preClick",function(o){v(e);let a=l(6);return b(a.itemClicked(o))}),_(6),p()(),c(7,"div",24)(8,"ul",29),D(9,zr,1,1,null,null,V),p()()()()}if(i&2){let e=t.$implicit;r(2),F(Z("icon ",e.icon)),r(3),d("href",Z("",e.url,"?an=wp"),M),r(),S(e.title),r(3),L(e.breadcrumbs)}}function $r(i,t){if(i&1){let e=P();c(0,"div",25)(1,"a",12),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),_(2),p(),c(3,"div",9),D(4,Ur,11,6,"div",26,ta),p(),c(6,"a",19),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),_(7),p()()}if(i&2){let e=t.$implicit,n=l(5);d("ngClass",cn(12,Dr)),r(),d("href",Et("",n.pageSearchDetailUrl,"&category=",e.category||"OTHER","&q=",n.queryEncoded),M),r(),ft("",n.pageCategoriesMap[e.category]||n.content.defaultCategoryLabel," (",e.totalCount,")"),r(2),L(e.pages),r(2),d("href",Et("",n.pageSearchDetailUrl,"&category=",e.category||"OTHER","&q=",n.queryEncoded),M),r(),S(n.content.categoryShowNextLabel)}}function Hr(i,t){if(i&1&&D(0,$r,8,13,"div",25,V),i&2){let e=l();L(e.results)}}function qr(i,t){i&1&&h(0,Hr,2,0),i&2&&f(t.results.length>0?0:-1)}function jr(i,t){if(i&1){let e=P();c(0,"a",31),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),c(1,"div",21),C(2,"span"),p(),c(3,"div",27)(4,"div",23),_(5),p(),c(6,"div",24),_(7),Qt(8,"date"),p()()()}if(i&2){let e=t.$implicit;d("href",Z("",e.path,"?an=wp"),M),r(2),F(Z("icon ",e.icon)),r(3),S(e.title),r(2),S(pn(8,7,e.date,"d. M. yyyy"))}}function Qr(i,t){if(i&1){let e=P();c(0,"div",11)(1,"a",12),y("preClick",function(o){v(e);let a=l(4);return b(a.itemClicked(o))}
1),_(2),p(),c(3,"div",9),D(4,jr,9,10,"a",30,V),p(),c(6,"a",19),y("preClick",function(o){v(e);let a=l(4);return b(a.itemClicked(o))}),_(7),p()()}if(i&2){let e=l();l();let n=I(1),o=l(2);r(),d("href",Le("",o.attachmentSearchDetailUrl,"&query=",o.queryEncoded),M),r(),ft("",o.content.attachmentsLabel," (",n.attachmentResults.totalCount,")"),r(2),L(e.results),r(2),d("href",Le("",o.attachmentSearchDetailUrl,"&query=",o.queryEncoded),M),r(),S(o.content.categoryShowNextLabel)}}function Kr(i,t){i&1&&h(0,Qr,8,9,"div",11),i&2&&f(t.results.length>0?0:-1)}function Gr(i,t){if(i&1){let e=P();c(0,"a",20),y("preClick",function(o){v(e);let a=l(5);return b(a.itemClicked(o))}),c(1,"div",21),C(2,"span",33),p(),c(3,"div",27)(4,"div",23),_(5),p(),c(6,"div",24),_(7),p()()()}if(i&2){let e=t.$implicit,n=l(5);d("href",Le("",n.content.transparentAccountSearchDetailUrl,"?path=transactions&accountNumber=",e.accountNumberPart2),M),r(5),S(e.name),r(2),S(e.accountNumber)}}function Wr(i,t){if(i&1){let e=P();c(0,"div",11)(1,"a",12),y("preClick",function(o){v(e);let a=l(4);return b(a.itemClicked(o))}),_(2),p(),c(3,"div",9),D(4,Gr,8,5,"a",18,V),p(),c(6,"a",32),y("preClick",function(o){v(e);let a=l(4);return b(a.itemClicked(o))}),p()()}if(i&2){let e=l();l();let n=I(1),o=l(2);r(),d("href",Le("",o.content.transparentAccountSearchDetailUrl,"?path=search&q=",o.queryEncoded),M),r(),ft("",o.content.transparentAccountsLabel," (",n.transparentAccountResults.totalCount,")"),r(2),L(e.results),r(2),d("href",Le("",o.content.transparentAccountSearchDetailUrl,"?path=search&q=",o.queryEncoded),M)("innerHTML",o.content.categoryShowNextLabel,ie)}}function Zr(i,t){i&1&&h(0,Wr,7,9,"div",11),i&2&&f(t.results.length>0?0:-1)}function Yr(i,t){if(i&1&&(c(0,"div",6),oe(1),h(2,Vr,3,3),h(3,qr,1,1),h(4,Kr,1,1),h(5,Zr,1,1),p()),i&2){let e,n,o,a,s=l(2);se("aria-live",s.ariaLive()),r();let m=te(s.result()),u=s.branchResult();r(),f((e=u.poiResults)?2:-1,e),r(),f((n=m.pageResults)?3:-1,n),r(),f((o=m.attachmentResults)?4:-1,o),r(),f((a=m.transparentAccountResults)?5:-1,a)}}function Jr(i,t){if(i&1){let e=P();c(0,"a",34),y("preClick",function(o){v(e);let a=l(2);return b(a.itemClicked(o))}),C(1,"span")(2,"span",35),p()}if(i&2){let e=t.$implicit;d("href",e.url,M),r(),F(Z("icon ",e.icon)),r(),d("innerHTML",e.heading,ie)}}function Xr(i,t){if(i&1){let e=P();c(0,"div",1)(1,"button",2),y("click",function(){v(e);let o=l();return b(o.closePanel())}),c(2,"span",3),_(3),p(),C(4,"span"),p(),C(5,"div",4,0),h(7,Lr,1,4,"div",5),h(8,Yr,6,6,"div",6),c(9,"div",7),C(10,"div",8),c(11,"div",9),D(12,Jr,3,5,"a",10,ta),p()()()}if(i&2){let e=l();r(3),S(e.content.closeSearchPanelLabel),r(),F(Z("icon ",e.content.closeSearchPanelIcon)),r(),d("field",e.queryField),r(2),f(e.queryField.value.length<3?7:-1),r(),f(e.queryField.value.length>0?8:-1),r(2),d("innerHTML",e.content.searchSegmentsHeading,ie),r(2),L(e.content.searchSegments.linkWithIcon)}}var Mn=class i extends me{queryEncoded="";previousQuery="";requestingServer=!1;requestServerTimeout=null;requestingForBranches=!1;requestForBranchesTimeout=null;ariaLiveTimeout=null;searchIn="POIS,PAGES,ATTACHMENTS,TRANSPARENT_ACCOUNTS";waitLimitMs=300;searchTrackingCount=1;atmsSegmentKey="ATMS";result=T(i.createEmptySearchPanelRes());branchResult=T(i.createEmptySearchPanelRes());attachmentSearchDetailUrl="";pageSearchDetailUrl="";poiSearchDetailUrl="";pageCategoriesMap={};pageCategoriesString="";poisSearchAddressLabel="";queryField=new Dt(Je(Se({},nt.EMPTY_FORM_FIELD_DTO),{name:"query",type:"text",placeholder:"",mandatory:!0,searchInput:!0}),this.state);segmentField=nt.EMPTY_FORM_FIELD;branchSegment="PERSONALFINANCE";atmsEnabled=!1;panelOpened=T(!1);ariaLive=T(null);poiBannerKeywords=[];poiBannerKeywordSegmentCode="";poiBannerDisplay=T(!1);searchInput;ngOnInit(){if(super.ngOnInit(),this.queryField.idPrefix=this.idPrefix,this.queryField.label.set(this.content.searchInputLabel),this.queryField.valueChange.subscribe(()=>{this.requestServer()}),this.content.searchPoisBanners!=null){let a=this.content.searchPoisBanners;this.poiBannerKeywords=a.matchingKeywords.map(s=>s.keyword),this.poiBannerKeywordSegmentCode=a.switchToBranchSegmentCode??""}let e=[];
1this.content.branchSegments.availableItems.forEach(a=>{let s=!1;e.forEach(m=>{m.label===a.label&&(m.code=`${m.code},${a.code}`,s=!0)}),s||e.push({code:a.code,label:a.label,icon:a.icon})});let n=[],o=0;for(let a of e)o++,n.push({label:a.label,value:a.code}),o===1&&n.push({label:this.content.atmsLabel,value:this.atmsSegmentKey});this.segmentField=new Dt(Je(Se({},nt.EMPTY_FORM_FIELD_DTO),{type:"radio",name:"searchPanel-branchSegment",label:"",mandatory:!0,eol:!0,defaultValue:"PERSONALFINANCE",appearance:"chips",options:{formFieldOption:n}}),this.state),this.segmentField.idPrefix=this.idPrefix}afterClientViewInit(){this.closePanel();let t=this.getTrackingParamCount("si-ft"),e=this.getTrackingParamCount("si-ba");["attachmentSearchDetailUrl","pageSearchDetailUrl","poiSearchDetailUrl"].forEach(o=>{console.debug("writing key "+o);let a=this.content[o],s=a.indexOf("?")>=0?"&":"?",m=o==="poiSearchDetailUrl"?`si-ba=${e}`:`si-ft=${t}`;this[o]=`${a}${s}${m}`}),this.content.pageCategories.searchPanelPageCategory.forEach(o=>{this.pageCategoriesMap[o.category]=o.label}),this.pageCategoriesString=this.content.pageCategories.searchPanelPageCategory.map(o=>encodeURIComponent(o.category)).toString();let n=[];this.content.searchInPois&&n.push("POIS"),this.content.searchInPages&&n.push("PAGES"),this.content.searchInAttachments&&n.push("ATTACHMENTS"),this.content.searchInTransparentAccounts&&n.push("TRANSPARENT_ACCOUNTS"),this.searchIn=n.join(","),this.postInit()}postInit(){this.subscriptions.push(this.state.openSearchPanel.subscribe(t=>{this.openPanel()})),this.subscriptions.push(this.state.closeSearchPanel.subscribe(t=>{this.closePanel()})),this.subscriptions.push(this.state.backdropClicked.subscribe(t=>{this.closePanel()})),this.subscriptions.push(this.segmentField.valueChange.subscribe(t=>{this.atmsEnabled=t===this.atmsSegmentKey,this.branchSegment=this.atmsEnabled?"PERSONALFINANCE":t,this.requestForBranchesSpecifically()}))}getTrackingParamCount(t){if(G.SSR)return"";let n=new URLSearchParams(window.location.search).get(t)??"",o=1;return n&&!isNaN(parseInt(n))&&(o=parseInt(n)+1),String(o)}updatePoisBannerState(){let t=this.queryField.value,e=this.poiBannerKeywords.length===0||t.toLocaleLowerCase().split(" ").find(n=>this.poiBannerKeywords.some(o=>n.startsWith(o)))!=null;if(this.poiBannerDisplay.set(e),e&&this.poiBannerKeywordSegmentCode.length>0){let n=this.segmentField.options().find(o=>o.value===this.poiBannerKeywordSegmentCode)??null;n!=null&&(this.segmentField.value=n.value,this.segmentField.valueDisplay=n.label,this.segmentField.optionsChange.emit())}}requestServer(){if(this.queryField.value.length<3){this.previousQuery=this.queryField.value,this.result.set(i.createEmptySearchPanelRes()),this.branchResult.set(i.createEmptySearchPanelRes());return}this.requestingServer=!0,this.ariaLive.set(null),clearTimeout(this.requestServerTimeout),this.requestServerTimeout=setTimeout(()=>{if(this.queryField.value===this.previousQuery)return;this.updatePoisBannerState(),this.previousQuery=this.queryField.value;let t=this.queryField.value,e=this.segmentField.value;this.queryEncoded=encodeURIComponent(t),this.http.get(`${this.state.frontendControllerBaseUri}/search?lang=${this.lang}&categories=${this.pageCategoriesString}&q=${this.queryEncoded}&searchIn=${this.searchIn}&branchSegments=${e}&maxCountArticles=5&maxCountDocuments=5&maxCountTransparentAccounts=5&maxCountBranches=5&maxCountAtms=5`).subscribe(n=>{this.result.set(n),this.branchResult.set(n),this.requestingServer=!1,this.poisSearchAddressLabel=this.content.poisSearchAddressLabel.replace("{query}",t),console.debug(this.result),this.ariaLive.set(null),clearTimeout(this.ariaLiveTimeout),this.ariaLiveTimeout=setTimeout(()=>{this.ariaLive.set("polite"),this.utilsRb.logSearchedQuery(t),console.warn("logSearchedQuery:",t)},2e3)})},this.waitLimitMs)}requestForBranchesSpecifically(){this.requestingForBranches=!0,this.ariaLive.set(null),clearTimeout(this.requestForBranchesTimeout),this.requestForBranchesTimeout=setTimeout(()=>{let t=this.queryField.value,e=this.segmentField.value;this.queryEncoded=encodeURIComponent(t),this.http.get(`${this.state.frontendControllerBaseUri}/search?lang=${this.lang}&q=${this.queryEncoded}&searchIn=POIS&branchSegments=${e}&maxCountBranches=5&maxCountAtms=5`).subscribe(n=>{this.branchResult.set(n),this.requestingForBranches=!1,console.debug(this.branchResult),this.ariaLive.set(null),clearTimeout(this.ariaLiveTimeout),this.ariaLiveTimeout=setTimeout(()=>{this.ariaLive.set("polite")},2e3)})},this.waitLimitMs)}
1openPanel(){this.panelOpened.set(!0),setTimeout(()=>{document.body.classList.add("search-panel-opened"),console.debug("searchInput:",this.searchInput),this.searchInput.elementRef.nativeElement.querySelector('input[type="text"]').focus()},1),Qe.onSearchPanelOpen()}closePanel(){document.body.classList.remove("search-panel-opened"),setTimeout(()=>{this.panelOpened.set(!1)},100)}itemClicked(t){let e=t.target.closest("a").href??"";e.length>0&&Qe.onSearchPanelResultClicked(this.queryField.value,e)}getPoiDetailUrl(t){if(t.type==="atm")return`${this.content.atmDetailUrlEnableIdInPath?`${this.content.poiAtmDetailUrl}/${t.id}`:this.content.poiAtmDetailUrl}?atmId=${t.id}&an=wp`;{let e=this.segmentField.value;return`${this.content.branchDetailUrlEnableIdInPath?`${this.content.poiBranchDetailUrl}/${t.id}/${e}`:this.content.poiBranchDetailUrl}?branchId=${t.id}&segment=${e}&an=wp`}}getPoiSearchUrl(){if(this.atmsEnabled)return`${this.poiSearchDetailUrl}&text=${this.queryEncoded}&atm=true`;{let t=this.segmentField.value;return`${this.poiSearchDetailUrl}&text=${this.queryEncoded}&branchSegment=${t}`}}static createEmptySearchPanelRes(){return{totalCount:0,poiResults:{totalCount:0,ruianTotalCount:0,atmTotalCount:0,branchTotalCount:0,results:[]},pageResults:{totalCount:0,results:[]},attachmentResults:{totalCount:0,results:[]},transparentAccountResults:{totalCount:0,results:[]},employeeContactResults:{totalCount:0,results:[]}}}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-search-panel",""]],viewQuery:function(e,n){if(e&1&&ze(Tr,5),e&2){let o;Me(o=De())&&(n.searchInput=o.first)}},features:[z],attrs:Er,ngContentSelectors:Ir,decls:2,vars:1,consts:[["searchInput",""],["cdkTrapFocus","","aria-modal","true","aria-label","Search Panel"],[1,"close","letters-extra-small",3,"click"],[1,"text"],["app-form-field-atom","",3,"field"],["app-message-atom","",1,"message","with-icon",3,"content"],[1,"categories"],[1,"hints"],[1,"heading",3,"innerHTML"],[1,"items"],[1,"item","bg-style3",3,"href"],[1,"category"],[1,"heading",3,"preClick","href"],[1,"message","with-icon","bg-style3",3,"href"],[1,"show-next","letters-small",3,"href"],[1,"icon-text"],[3,"innerHTML"],[1,"wysiwyg",3,"innerHTML"],[1,"item",3,"href"],[1,"show-next","letters-small",3,"preClick","href"],[1,"item",3,"preClick","href"],[1,"icon-wrapper"],[1,"text-wrapper"],[1,"line-1"],[1,"line-2"],[1,"category",3,"ngClass"],[1,"item"],[1,"text-wrapper","letters-small"],[3,"preClick","href"],[1,"result-breadcrumbs"],["target","_blank",1,"item",3,"href"],["target","_blank",1,"item",3,"preClick","href"],[1,"show-next","letters-small",3,"preClick","href","innerHTML"],[1,"icon"],[1,"item","bg-style3",3,"preClick","href"],[1,"text",3,"innerHTML"]],template:function(e,n){e&1&&(Y(kr),J(0),h(1,Xr,14,8,"div",1)),e&2&&(r(),f(!n.amp&&n.panelOpened()?1:-1))},dependencies:[Q,Ce,ae,Lt,mt,Sn,bn,mn],encapsulation:2})};var es=["app-header-menu-items",""],xi=i=>({wide:i}),ts=i=>({separator:i}),ns=(i,t)=>t.label;function is(i,t){i&1&&U(0)}function os(i,t){if(i&1){let e=P();c(0,"a",6),y("preClick",function(){v(e);let o=l(2).$implicit,a=l(2);return b(a.linkClicked.emit(o.url))}),k(1,is,1,0,"ng-container",7),p()}if(i&2){l();let e=B(3),n=l(),o=n.$implicit,a=n.$index,s=l().$index,m=l();d("href",o.url,M)("preventDefault",!0)("delayHandling",!0)("ignorePreventDefaulted",!0)("otherwiseGoToLink",!0),se("aria-labelledby",`${m.idPrefix()}_${s}_${a}_label`),r(),d("ngTemplateOutlet",e)}}function as(i,t){i&1&&U(0)}function rs(i,t){if(i&1&&(c(0,"span",5),k(1,as,1,0,"ng-container",7),p()),i&2){l();let e=B(3);r(),d("ngTemplateOutlet",e)}}function ss(i,t){if(i&1&&C(0,"span"),i&2){let e=l(3).$implicit;F(Z("icon ",e.icon))}}function ls(i,t){if(i&1&&(c(0,"span")(1,"span",13),_(2),p()()),i&2){let e=t.$implicit;F(Z("btn ",e.appearance)),r(2),S(e.label)}}function cs(i,t){if(i&1&&(c(0,"div",8),h(1,ss,1,3,"span",9),C(2,"img",10),p(),c(3,"div",11),_(4),p(),c(5,"div",12),D(6,ls,3,4,"span",9,ns),p()),i&2){let e=l(2),n=e.$implicit,o=e.$index,a=l().$index,s=l();r(),f(n.icon?1:-1),r(),d("alt",n.heading)("src",n.pictureSrc,M),r(),d("id",`${s.idPrefix()}_${a}_${o}_label`),r(),S(n.heading),r(2),L(n.buttons.button)}}function ps(i,t){if(i&1&&(h(0,os,2,7,"a",4)(1,rs,2,1,"span",5),k(2,cs,8,5,"ng-template",null,0,ue)),i&2){let e=l().$implicit;f(e.url.length>0&&e.url!=="#"?0:1)}}function ms(i,t){i&1&&U(0)}function ds(i,t){if(i&1){let e=P();c(0,"a",16),y("preClick",function(){v(e);let o=l(2).$implicit,a=l(2);
1return b(a.linkClicked.emit(o.url))}),k(1,ms,1,0,"ng-container",7),p()}if(i&2){l();let e=B(3),n=l(),o=n.$implicit,a=n.$index,s=l().$index,m=l();d("href",o.url,M)("ngClass",$(9,xi,o.wide))("preventDefault",!0)("delayHandling",!0)("ignorePreventDefaulted",!0)("otherwiseGoToLink",!0),se("aria-labelledby",`${m.idPrefix()}_${s}_${a}_label`)("aria-describedby",`${m.idPrefix()}_${s}_${a}_desc`),r(),d("ngTemplateOutlet",e)}}function us(i,t){i&1&&U(0)}function gs(i,t){if(i&1&&(c(0,"span",15),k(1,us,1,0,"ng-container",7),p()),i&2){l();let e=B(3),n=l().$implicit;d("ngClass",$(2,xi,n.wide)),r(),d("ngTemplateOutlet",e)}}function _s(i,t){if(i&1&&(c(0,"div",17),C(1,"span"),p()),i&2){let e=l(3).$implicit;r(),F(Z("icon ",e.icon))}}function hs(i,t){if(i&1&&(h(0,_s,2,3,"div",17),c(1,"div",11)(2,"span",13),_(3),p()(),C(4,"div",18)),i&2){let e=l(2),n=e.$implicit,o=e.$index,a=l().$index,s=l();f(n.icon?0:-1),r(),d("id",`${s.idPrefix()}_${a}_${o}_label`),r(2),S(n.heading),r(),d("id",`${s.idPrefix()}_${a}_${o}_desc`)("innerHTML",n.description,ie)}}function fs(i,t){if(i&1&&(h(0,ds,2,11,"a",14)(1,gs,2,4,"span",15),k(2,hs,5,5,"ng-template",null,1,ue)),i&2){let e=l().$implicit;f(e.url.length>0&&e.url!=="#"?0:1)}}function Cs(i,t){if(i&1&&(c(0,"div",19),_(1),p()),i&2){let e=l(2).$implicit;r(),S(e.linksHeading)}}function ys(i,t){if(i&1){let e=P();c(0,"a",23),y("preClick",function(){v(e);let o=l().$implicit,a=l(4);return b(a.linkClicked.emit(o.url))}),C(1,"span"),c(2,"span",13),_(3),p()()}if(i&2){let e=l().$implicit;d("href",e.url,M)("target",e.target)("preventDefault",!0)("delayHandling",!0)("ignorePreventDefaulted",!0)("otherwiseGoToLink",!0),r(),F(Z("icon ",e.icon?e.icon:"rb-icon-uniE607")),r(2),S(e.label)}}function vs(i,t){if(i&1&&(c(0,"li",21),h(1,ys,4,10,"a",22),p()),i&2){let e=t.$implicit;d("ngClass",$(2,ts,e.separator)),r(),f(e.separator?-1:1)}}function bs(i,t){if(i&1&&(c(0,"div",3),h(1,Cs,2,1,"div",19),c(2,"ul",20),D(3,vs,2,4,"li",21,V),p()()),i&2){let e=l().$implicit;d("ngClass",$(2,xi,e.wide)),r(),f(e.linksHeading?1:-1),r(2),L(e.productNavigationSubItemLinks.productNavigationSubItemLink)}}function Ss(i,t){if(i&1&&h(0,ps,4,1)(1,fs,4,1)(2,bs,5,4,"div",3),i&2){let e,n=t.$implicit;f((e=n.type)==="promoBanner"?0:e==="promoBox"?1:e==="links"?2:-1)}}function xs(i,t){if(i&1&&(c(0,"div",2),D(1,Ss,3,1,null,null,V),p()),i&2){let e=t.$implicit;r(),L(e.items)}}var Ft=class{active=!1;url="";origUrl="";label="";gaasLoginRestrictionRoleEnums={roleEnum:[]};restrictedToRoles=[];hiddenByRoleRestriction=!1;type=null;pageBreakBefore=!1;linksHeading=null;productNavigationSubItemLinks={productNavigationSubItemLink:[]};heading="";description="";icon="";wide=!1;pictureSrc="";buttons={}},Nt=class i extends Ho{items=pe([]);eaterBaseItems=pe([]);idPrefix=pe("");linkClicked=tt();groups=[];ngOnInit(){super.ngOnInit();let t=this.items();if(this.eaterBaseItems().length>0){t=[];let n=new Ft;n.type="links",n.pageBreakBefore=!0;for(let o of this.eaterBaseItems()){console.debug("header-menu - iter:",o.label);let a=new Ft;a.type="links",a.pageBreakBefore=!0,a.linksHeading=o.label;for(let s of o.productNavigationSubItems.productNavigationSubItem.filter(m=>m.type==="links")){a.productNavigationSubItemLinks.productNavigationSubItemLink.length>0&&a.productNavigationSubItemLinks.productNavigationSubItemLink.push({separator:!0});for(let m of s.productNavigationSubItemLinks.productNavigationSubItemLink)a.productNavigationSubItemLinks.productNavigationSubItemLink.push(m)}a.productNavigationSubItemLinks.productNavigationSubItemLink.length>0?(console.debug("header-menu - added to incoming"),t.push(a)):(console.debug("header-menu - added to firstItem"),n.productNavigationSubItemLinks.productNavigationSubItemLink.push({url:o.url,label:o.label}))}n.productNavigationSubItemLinks.productNavigationSubItemLink.length>0&&t.unshift(n)}let e=null;for(let n of t)(n.pageBreakBefore||e===null)&&(e!==null&&this.groups.push(e),e={items:[]}),e.items.push(n);e!==null&&this.groups.push(e)}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-header-menu-items",""]],inputs:{items:[1,"items"],eaterBaseItems:[1,"eaterBaseItems"],idPrefix:[1,"idPrefix"]}
1,outputs:{linkClicked:"linkClicked"},features:[z],attrs:es,decls:2,vars:0,consts:[["promoBannerInner",""],["promoBoxInner",""],[1,"group"],[1,"item","links",3,"ngClass"],[1,"item","promo-banner",3,"href","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],[1,"item","promo-banner"],[1,"item","promo-banner",3,"preClick","href","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],[4,"ngTemplateOutlet"],[1,"img"],[3,"class"],[3,"alt","src"],[1,"heading",3,"id"],[1,"btn-set"],[1,"text"],[1,"item","promo-box",3,"href","ngClass","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],[1,"item","promo-box",3,"ngClass"],[1,"item","promo-box",3,"preClick","href","ngClass","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],[1,"icon"],[1,"wysiwyg",3,"id","innerHTML"],[1,"heading"],[1,"style1"],[3,"ngClass"],[3,"href","target","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],[3,"preClick","href","target","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"]],template:function(e,n){e&1&&D(0,xs,3,0,"div",2,V),e&2&&L(n.groups)},dependencies:[Q,Ce,Fe,ae],encapsulation:2})};var ws=["itemEaterElem"],Ps=["itemElem"],Ts=["app-product-navigation",""],Es=[[["","preview-actions",""]]],ks=["[preview-actions]"],Is=(i,t)=>({empty:i,opened:t}),Ms=(i,t,e,n)=>({opened:i,highlighted:t,"has-submenu":e,active:n});function Ds(i,t){if(i&1){let e=P();c(0,"button",4),y("click",function(o){v(e);let a=l(2).$implicit,s=l();return b(s.setOpened(a,!0,o))}),_(1),p(),c(2,"div",5)(3,"button",8),y("click",function(){v(e);let o=l(2).$implicit,a=l();return b(a.setOpened(o))}),C(4,"span",9),p(),c(5,"div",10),y("linkClicked",function(o){v(e);let a=l(3);return b(a.trackComponentClickWithTarget(o))}),p()()}if(i&2){let e=l(2),n=e.$implicit,o=e.$index,a=l();se("aria-expanded",n.opened),r(),S(n.label),r(4),d("idPrefix",`${a.idPrefix}_item_${o}_headerMenuItems_`)("items",n.productNavigationSubItems.productNavigationSubItem)}}function Ls(i,t){if(i&1){let e=P();c(0,"a",11),y("preClick",function(o){v(e);let a=l(3);return b(a.trackComponentClick(o))}),_(1),p()}if(i&2){let e=l(2).$implicit;d("href",e.url,M)("target",e.target)("preventDefault",!0)("delayHandling",!0)("ignorePreventDefaulted",!0)("otherwiseGoToLink",!0),r(),S(e.label)}}function Fs(i,t){if(i&1&&(c(0,"li",6,1),h(2,Ds,6,4)(3,Ls,2,7,"a",7),p()),i&2){let e=l().$implicit;d("ngClass",uo(2,Ms,e.opened,e.labelStrong,e.megaMenuEnabled,e.active)),r(2),f(e.megaMenuEnabled?2:3)}}function Ns(i,t){if(i&1&&h(0,Fs,4,7,"li",6),i&2){let e=t.$implicit;f(!e.eaten&&!e.hiddenByRoleRestriction?0:-1)}}function As(i,t){if(i&1){let e=P();c(0,"div",14),y("linkClicked",function(o){v(e);let a=l(2);return b(a.trackComponentClickWithTarget(o))}),p()}if(i&2){let e=l(2);d("eaterBaseItems",e.eaterItems())("idPrefix",`${e.idPrefix}_eater_headerMenuItems_`)}}function Rs(i,t){if(i&1){let e=P();c(0,"div",15),y("linkClicked",function(o){v(e);let a=l(2);return b(a.trackComponentClickWithTarget(o))}),p()}if(i&2){let e=l(2);d("items",e.eaterContentLinks())("idPrefix",`${e.idPrefix}_eater_headerMenuItems_`)}}function Os(i,t){if(i&1){let e=P();c(0,"div",5)(1,"button",8),y("click",function(o){v(e);let a=l();return b(a.setEaterOpened(o))}),C(2,"span",9),p(),h(3,As,1,2,"div",12)(4,Rs,1,2,"div",13),p()}if(i&2){let e=l();r(3),f(e.content.eaterInLastItem?e.eaterContentLinks().length>0?4:-1:3)}}var At=class i extends me{items=T([]);eaterContentItem=null;eaterContentLinks=T([]);eaterItems=T([]);eaterOpened=T(!1);eaterForceDisplay=T(!1);eaterTimeoutId=null;mainNavOpenedSubscriber=Te(()=>
1{this.stateRb.mainNavOpened()||this.items().forEach(t=>t.opened=!1)});itemElems=new rn;itemEaterElem;loggedInEffect=Te(()=>{this.state.loggedIn();let t=this.utilsRb.setGaasRoleRestriction(this.items()),e=[...this.items()];e.push(...i.getSubItemsLinks(this.items())),this.utilsRb.prepareUrls(e),this.items.set(this.items()),t&&setTimeout(()=>this.onResize(),10)});ngOnInit(){super.ngOnInit();let t=JSON.parse(JSON.stringify(this.content.productNavigationItems.productNavigationItem));this.utilsRb.prepareGaasRoleRestriction(t),this.utilsRb.prepareUrls(t),this.eaterContentItem=this.content.eaterInLastItem?t.pop()??null:null;let e=this.pageMetadata.url;this.utilsRb.setActiveItem(t,e),t.forEach(n=>{n.megaMenuEnabled=n.productNavigationSubItems.productNavigationSubItem.length>0,n.opened=!1,n.eaten=!1}),this.items.set(t),this.state.segmentNavigationOpenedClosed.subscribe(n=>{this.segmentOrLanguageMenuToggled(n)}),this.state.languageSelectionOpenedClosed.subscribe(n=>{this.segmentOrLanguageMenuToggled(n)})}static getSubItemsLinks(t){let e=[];for(let n of t)for(let o of n.productNavigationSubItems?.productNavigationSubItem??[]){let a=o.productNavigationSubItemLinks?.productNavigationSubItemLink??[];e.push(...a)}return e}afterClientViewInit(){setTimeout(()=>this.onResize(),100)}segmentOrLanguageMenuToggled(t){setTimeout(()=>{G.isMobileScreenWidth()?this.elementRef.nativeElement.style.maxHeight=`calc(100% - ${t.parentElement?.clientHeight??100}px)`:this.elementRef.nativeElement.style.maxHeight=null},1)}setOpened(t,e=!1,n=null){let o=this.items();o.filter(s=>s!==t).forEach(s=>s.opened=!1),this.items.set(o),this.eaterOpened.set(!1);let a=G.isMobileScreenWidth();if(console.debug(`setOpened item.opened=${t.opened}, linkClicked=${e}, isMobile=${a}`),t.opened&&e&&a){console.debug("setOpened ignored");return}if(t.opened=!t.opened,this.setMenuItemOpenedPostprocess(t.opened,n),t.opened){let s=G.deAccentAndLower(t.label).replaceAll(" ","_");this.trackComponentClickWithTarget(`#${this.anchorName}&item=${s}`)}}setEaterOpened(t){this.closeItems(),this.eaterOpened.set(!this.eaterOpened()),this.setMenuItemOpenedPostprocess(this.eaterOpened(),t)}setMenuItemOpenedPostprocess(t,e){let n=G.isMobileScreenWidth();console.debug("setMenuItemOpenedPostprocess - itemOpened="+t),t?setTimeout(()=>{this.stateRb.mainNavOpened.set(!0)},1):n||je.setMainNavOpened(!1),!n&&t&&e!==null&&this.setSubmenuLeft(e)}setSubmenuLeft(t){if(t==null)return;let e=t.target.closest("li")?.querySelector(".submenu")??null;e!=null&&(e.style.left="",setTimeout(()=>{let n=G.getStyleSizePx(e,"margin-left"),o=G.getStyleSizePx(e,"margin-right"),a=G.getStyleSizePx(e,"padding-left"),s=G.getStyleSizePx(e,"padding-right"),m=e.getBoundingClientRect().left-n;console.debug("currentSubmenuLeft:",m),console.debug(`margin-left: ${n}, margin-right: ${o}, paddingLeft: ${a}, paddingRight: ${s}`);let u=0;e.querySelectorAll(".group").forEach(K=>{u+=K.clientWidth+G.getStyleSizePx(K,"margin-right")}),console.debug("groupSize:",u),console.debug("window width:",document.documentElement.clientWidth);let x=Math.round(document.documentElement.clientWidth-a-s-u-n-o-30);if(console.debug("newLeft:",x),x>=m)return;let w=o-n;console.debug("minLeft:",w),e.style.left=`${Math.max(w,x)}px`},1))}closeItems(){let t=!1;for(let e of this.items())e.opened&&(t=!0),e.opened=!1;return this.items.set(this.items()),t}handleOutsideClick(t){super.outsideClick(t,()=>{let e=this.closeItems();this.eaterOpened()&&(e=!0),this.eaterOpened.set(!1),e&&this.setMenuItemOpenedPostprocess(!1,t)})}onResize(){if(G.SSR)return;let t=this.elementRef.nativeElement.clientWidth-30;if(t<=0)return;
1this.eaterItems().forEach(n=>n.eaten=!1),this.eaterItems.set([]);let e=[];this.eaterContentItem!==null&&(e.push(this.eaterContentItem),this.eaterContentLinks.set([])),!G.isMobileScreenWidth()&&(this.elementRef.nativeElement.style.maxHeight=null,this.eaterForceDisplay.set(!0),clearTimeout(this.eaterTimeoutId),this.eaterTimeoutId=setTimeout(()=>{let n=[],o=this.itemEaterElem.nativeElement.clientWidth;this.eaterForceDisplay.set(!1);let a=this.items().filter(m=>!m.hiddenByRoleRestriction).filter(m=>!m.eaten),s=0;this.itemElems.forEach((m,u)=>{let g=a[u],x=m.nativeElement.clientWidth;s+=x,s+o>t&&(g.eaten=!0,e.push(g),n.push({label:g.label,url:g.url,separator:!1}))}),console.debug("preLinks1:",n),this.eaterContentItem!==null&&this.fillEaterContentLinks(n),this.items.set(this.items()),this.eaterItems.set(e)},1))}fillEaterContentLinks(t){if(this.eaterContentItem===null)return;console.debug("preLinks:",t),this.eaterContentLinks.set([]);let e=[];if(t.length>0){t.push({label:"",url:"",separator:!0});for(let o of this.eaterContentItem.productNavigationSubItems.productNavigationSubItem)if(o.type==="links")if(o.linksHeading)t.push({label:o.linksHeading,url:o.url,separator:!1});else for(let a of o.productNavigationSubItemLinks.productNavigationSubItemLink)t.push(a);let n=new Ft;n.type="links",n.productNavigationSubItemLinks={productNavigationSubItemLink:t},e.push(n)}else e.push(...this.eaterContentItem.productNavigationSubItems.productNavigationSubItem);this.eaterContentLinks.set(e)}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-product-navigation",""]],viewQuery:function(e,n){if(e&1&&ze(ws,5)(Ps,5),e&2){let o;Me(o=De())&&(n.itemEaterElem=o.first),Me(o=De())&&(n.itemElems=o)}},hostBindings:function(e,n){e&1&&y("click",function(a){return n.handleOutsideClick(a)},Ee)("resize",function(){return n.onResize()},st)},features:[z],attrs:Ts,ngContentSelectors:ks,decls:9,vars:6,consts:[["itemEaterElem",""],["itemElem",""],[1,"list"],[1,"eater","has-submenu",3,"ngClass"],[1,"menu-item",3,"click"],[1,"submenu","bg-default"],[3,"ngClass"],[1,"menu-item",3,"href","target","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],["aria-label","Close",1,"close",3,"click"],[1,"icon","rb-icon-uniE631"],["app-header-menu-items","",1,"groups",3,"linkClicked","idPrefix","items"],[1,"menu-item",3,"preClick","href","target","preventDefault","delayHandling","ignorePreventDefaulted","otherwiseGoToLink"],["app-header-menu-items","",1,"groups",3,"eaterBaseItems","idPrefix"],["app-header-menu-items","",1,"groups",3,"items","idPrefix"],["app-header-menu-items","",1,"groups",3,"linkClicked","eaterBaseItems","idPrefix"],["app-header-menu-items","",1,"groups",3,"linkClicked","items","idPrefix"]],template:function(e,n){e&1&&(Y(Es),J(0),c(1,"ul",2),D(2,Ns,1,1,null,null,V),c(4,"li",3,0)(6,"button",4),y("click",function(a){return n.setEaterOpened(a)}),_(7),p(),h(8,Os,5,1,"div",5),p()()),e&2&&(r(2),L(n.items()),r(2),d("ngClass",qe(3,Is,n.eaterItems().length===0&&!n.eaterForceDisplay(),n.eaterOpened())),r(3),S(n.content.eaterLabel),r(),f(n.eaterItems().length>0?8:-1))},dependencies:[Q,Ce,ae,Nt],encapsulation:2})};var $e=class i extends me{logoClicked(){Qe.onButtonClick("Header","Home")}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275dir=sn({type:i,features:[z]})};var Vs=["app-logo-rb",""],Bs=[[["","preview-actions",""]]],zs=["[preview-actions]"],Dn=class i extends $e{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-logo-rb",""]],features:[z],attrs:Vs,ngContentSelectors:zs,decls:25,vars:3,consts:[[3,"preClick","href","target"],["version","1.1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 546.89 139.71"],["d","m203.11,63.4l-12.27-22.29h-4.97v22.29h-11.93V7.05h22.63c3.87,0,7.21.65,10.03,1.95,2.82,1.3,4.97,3.19,6.46,5.68,1.49,2.49,2.24,5.47,2.24,8.95,0,4.09-1.09,7.51-3.27,10.28s-5.29,4.7-9.32,5.8l13.68,23.7h-13.26Zm-17.24-46.08v14.34h9.28c2.49,0,4.39-.62,5.72-1.86,1.33-1.24,1.99-3.05,1.99-5.43s-.66-4.28-1.99-5.39c-1.33-1.11-3.26-1.66-5.8-1.66h-9.2Z",1,"cls-2"],["d","m250.6,19.56h11.35v43.84h-11.35v-5.22c-1.44,1.99-3.26,3.55-5.47,4.68-2.21,1.13
1-4.7,1.7-7.46,1.7-3.59,0-6.8-.98-9.61-2.94-2.82-1.96-5.01-4.7-6.59-8.21-1.58-3.51-2.36-7.47-2.36-11.89s.79-8.47,2.36-11.98c1.57-3.51,3.77-6.24,6.59-8.2,2.82-1.96,6.02-2.94,9.61-2.94,2.76,0,5.25.58,7.46,1.74,2.21,1.16,4.03,2.74,5.47,4.73v-5.31Zm-4.48,33.23c1.49-.99,2.67-2.45,3.52-4.35.86-1.91,1.28-4.21,1.28-6.92s-.43-5.01-1.28-6.92c-.86-1.9-2.03-3.36-3.52-4.35s-3.2-1.49-5.14-1.49-3.66.5-5.18,1.49c-1.52.99-2.69,2.45-3.52,4.35-.83,1.91-1.24,4.21-1.24,6.92s.41,5.01,1.24,6.92c.83,1.9,2,3.36,3.52,4.35,1.52,1,3.25,1.49,5.18,1.49s3.65-.5,5.14-1.49Z",1,"cls-2"],["d","m272.61,11.56c-1.24-1.24-1.86-2.86-1.86-4.85s.62-3.61,1.86-4.85c1.24-1.24,2.86-1.87,4.85-1.87s3.59.62,4.81,1.87c1.21,1.24,1.82,2.86,1.82,4.85s-.61,3.61-1.82,4.85c-1.22,1.24-2.82,1.87-4.81,1.87s-3.61-.62-4.85-1.87Zm10.4,51.84h-11.35V19.56h11.35v43.84Z",1,"cls-2"],["d","m307.29,19.56h12.02v9.95h-12.02v33.9h-11.35V29.51h-7.46v-9.95h7.46v-2.65c0-4.81,1.38-8.48,4.14-11.02,2.76-2.54,6.55-3.81,11.35-3.81,1.77,0,3.45.16,5.06.5,1.6.33,3.07.78,4.39,1.33l-2.9,8.7c-1.49-.61-3.12-.91-4.89-.91-2.05,0-3.52.47-4.43,1.41s-1.37,2.38-1.37,4.31v2.15Z",1,"cls-2"],["d","m336.3,19.56h12.02v9.95h-12.02v33.9h-11.35V29.51h-7.46v-9.95h7.46v-2.65c0-4.81,1.38-8.48,4.14-11.02,2.76-2.54,6.55-3.81,11.35-3.81,1.77,0,3.45.16,5.06.5,1.6.33,3.07.78,4.39,1.33l-2.9,8.7c-1.49-.61-3.12-.91-4.89-.91-2.05,0-3.52.47-4.43,1.41s-1.37,2.38-1.37,4.31v2.15Z",1,"cls-2"],["d","m392.49,45.5h-29.59c.39,3.32,1.46,5.72,3.23,7.21,1.77,1.49,4.36,2.24,7.79,2.24,2.37,0,4.57-.34,6.59-1.03,2.02-.69,3.77-1.67,5.26-2.94l4.89,7.79c-2.21,1.88-4.78,3.32-7.71,4.31-2.93.99-6.08,1.49-9.45,1.49-4.75,0-8.84-.91-12.27-2.73-3.43-1.82-6.04-4.45-7.83-7.87-1.8-3.43-2.69-7.49-2.69-12.18s.88-8.73,2.65-12.27c1.77-3.54,4.27-6.27,7.5-8.21,3.23-1.93,6.92-2.9,11.06-2.9s7.76.94,10.86,2.82c3.09,1.88,5.48,4.56,7.17,8.04,1.68,3.48,2.53,7.57,2.53,12.27v3.98Zm-29.59-7.79h18.15c-.28-3.26-1.19-5.69-2.73-7.29-1.55-1.6-3.65-2.4-6.3-2.4-5.3,0-8.34,3.23-9.12,9.7Z",1,"cls-2"],["d","m400.41,11.56c-1.24-1.24-1.86-2.86-1.86-4.85s.62-3.61,1.86-4.85c1.24-1.24,2.86-1.87,4.85-1.87s3.59.62,4.81,1.87c1.21,1.24,1.82,2.86,1.82,4.85s-.61,3.61-1.82,4.85c-1.22,1.24-2.82,1.87-4.81,1.87s-3.61-.62-4.85-1.87Zm10.4,51.84h-11.35V19.56h11.35v43.84Z",1,"cls-2"],["d","m425.31,63.11c-3.1-.97-5.72-2.47-7.87-4.52l5.3-8.12c3.26,3.09,7.4,4.64,12.43,4.64,2.21,0,3.88-.34,5.01-1.04,1.13-.69,1.7-1.73,1.7-3.11,0-1.16-.51-2.11-1.53-2.86-1.02-.75-2.89-1.45-5.59-2.11-3.48-.77-6.34-1.63-8.58-2.57-2.24-.94-4.05-2.27-5.43-3.98-1.38-1.71-2.07-3.95-2.07-6.71,0-2.93.75-5.47,2.24-7.62,1.49-2.15,3.62-3.81,6.38-4.97,2.76-1.16,5.97-1.74,9.61-1.74,3.42,0,6.59.5,9.49,1.49s5.37,2.46,7.42,4.39l-5.3,7.79c-1.49-1.38-3.26-2.43-5.3-3.15-2.04-.72-4.17-1.08-6.38-1.08s-3.7.33-4.81,1c-1.11.66-1.66,1.66-1.66,2.98,0,.77.23,1.42.7,1.95.47.53,1.28,1.03,2.45,1.53s2.82.99,4.97,1.49c2.98.72,5.55,1.58,7.71,2.57s3.92,2.4,5.3,4.23c1.38,1.82,2.07,4.14,2.07,6.96s-.72,5.28-2.16,7.38c-1.44,2.1-3.54,3.73-6.3,4.89-2.76,1.16-6.08,1.74-9.95,1.74-3.48,0-6.77-.48-9.86-1.45Z",1,"cls-2"],["d","m499.98,45.5h-29.59c.39,3.32,1.46,5.72,3.23,7.21,1.77,1.49,4.36,2.24,7.79,2.24,2.37,0,4.57-.34,6.59-1.03,2.02-.69,3.77-1.67,5.26-2.94l4.89,7.79c-2.21,1.88-4.78,3.32-7.71,4.31-2.93.99-6.08,1.49-9.45,1.49-4.75,0-8.84-.91-12.27-2.73-3.43-1.82-6.04-4.45-7.83-7.87-1.8-3.43-2.69-7.49-2.69-12.18s.88-8.73,2.65-12.27c1.77-3.54,4.27-6.27,7.5-8.21,3.23-1.93,6.92-2.9,11.06-2.9s7.76.94,10.86,2.82c3.09,1.88,5.48,4.56,7.17,8.04,1.68,3.48,2.53,7.57,2.53,12.27v3.98Zm-29.59-7.79h18.15c-.28-3.26-1.19-5.69-2.73-7.29-1.55-1.6-3.65-2.4-6.3-2.4-5.3,0-8.34,3.23-9.12,9.7Z",1,"cls-2"],["d","m539.56,20.43c2.35,1.35,4.16,3.33,5.43,5.93,1.27,2.6,1.91,5.72,1.91,9.37v27.68h-11.44v-26.27c0-2.82-.65-4.93-1.95-6.34-1.3-1.41-3.27-2.11-5.93-2.11-1.99,0-3.74.44-5.26,1.33-1.52.89-2.86,2.21-4.02,3.98v29.42h-11.35V19.56h11.35v5.14c1.38-1.99,3.19-3.54,5.43-4.64,2.24-1.1,4.74-1.66,7.5-1.66,3.2,0,5.98.68,8.33,2.03Z",1,"cls-2"],["d","m213.06,114.06c1.6,2.29,2.4,5.1,2.4,8.41,0,5.14-1.65,9.11-4.93,11.89-3.29,2.79-7.94,4.19-13.96,4.19h-22.63v-56.36h20.64c5.97,0,10.58,1.28,13.84,3.85,3.26,2.57,4.89,6.2,4.89,10.9,0,5.58-2.4,9.59-7.21,12.02,3.04,1.11,5.36,2.81,6.96,5.
11Zm-27.19-21.76v13.18h7.79c2.54,0,4.41-.55,5.59-1.66,1.19-1.1,1.78-2.73,1.78-4.89,0-2.37-.64-4.07-1.91-5.1-1.27-1.02-3.18-1.53-5.72-1.53h-7.54Zm9.28,36.13c2.6,0,4.54-.55,5.84-1.66,1.3-1.1,1.95-2.87,1.95-5.3,0-2.27-.62-3.95-1.86-5.06-1.24-1.1-3.3-1.66-6.17-1.66h-9.03v13.68h9.28Z",1,"cls-2"],["d","m251.35,94.71h11.35v43.84h-11.35v-5.22c-1.44,1.99-3.26,3.55-5.47,4.68-2.21,1.13-4.7,1.7-7.46,1.7-3.59,0-6.8-.98-9.61-2.94-2.82-1.96-5.01-4.7-6.59-8.21-1.58-3.51-2.36-7.47-2.36-11.89s.79-8.47,2.36-11.98c1.57-3.51,3.77-6.24,6.59-8.2,2.82-1.96,6.02-2.94,9.61-2.94,2.76,0,5.25.58,7.46,1.74,2.21,1.16,4.03,2.74,5.47,4.73v-5.31Zm-4.48,33.23c1.49-.99,2.67-2.45,3.52-4.35.86-1.91,1.28-4.21,1.28-6.92s-.43-5.01-1.28-6.92c-.86-1.9-2.03-3.36-3.52-4.35-1.49-.99-3.2-1.49-5.14-1.49s-3.66.5-5.18,1.49c-1.52.99-2.69,2.45-3.52,4.35-.83,1.91-1.24,4.21-1.24,6.92s.41,5.01,1.24,6.92c.83,1.9,2,3.36,3.52,4.35,1.52,1,3.25,1.49,5.18,1.49s3.65-.5,5.14-1.49Z",1,"cls-2"],["d","m305.01,95.58c2.35,1.35,4.16,3.33,5.43,5.93,1.27,2.6,1.91,5.72,1.91,9.37v27.68h-11.44v-26.27c0-2.82-.65-4.93-1.95-6.34-1.3-1.41-3.27-2.11-5.93-2.11-1.99,0-3.74.44-5.26,1.33-1.52.89-2.86,2.21-4.02,3.98v29.42h-11.35v-43.84h11.35v5.14c1.38-1.99,3.19-3.54,5.43-4.64,2.24-1.1,4.74-1.66,7.5-1.66,3.2,0,5.98.68,8.33,2.03Z",1,"cls-2"],["d","m343.51,115.18l17.57,23.37h-13.59l-15-19.89v19.89h-11.35v-59.67h11.35v33.65l14.26-17.82h13.51l-16.74,20.47Z",1,"cls-2"],["y","7.04","width","131.5","height","131.51",1,"cls-1"],["d","m95.09,63.45l16.76-16.76,4.48,4.48.03-.03c0-2.88-.85-12.78-8.8-20.53-8.9-8.68-17.81-3.6-20.89-.54h0s-16.14,16.14-16.14,16.14l4,4-8.78,8.78-8.78-8.78,4-4-16.14-16.14h0c-3.07-3.07-11.98-8.14-20.89.54-7.95,7.75-8.8,17.65-8.8,20.53l.03.03,4.48-4.48,16.76,16.76,4.62-4.62v-11.04l4.75,4.75v13.35l6.54,6.54-33.94,33.94,13.43,13.43,33.94-33.94,33.94,33.94,13.43-13.43-33.94-33.94,6.54-6.54v-13.35l4.75-4.75v11.04l4.62,4.62Z",1,"cls-3"]],template:function(e,n){e&1&&(Y(Bs),J(0),ke(1),c(2,"a",0),y("preClick",function(){return n.logoClicked()}),Xe(),c(3,"svg",1)(4,"style"),_(5," .cls-1 { fill: #fee600; } .cls-2, .cls-3 { fill: #2b2d33; } .cls-3 { fill-rule: evenodd; } "),p(),c(6,"g")(7,"g"),C(8,"path",2)(9,"path",3)(10,"path",4)(11,"path",5)(12,"path",6)(13,"path",7)(14,"path",8)(15,"path",9)(16,"path",10)(17,"path",11)(18,"path",12)(19,"path",13)(20,"path",14)(21,"path",15),p(),c(22,"g"),C(23,"rect",16)(24,"path",17),p()()()(),Ie()),e&2&&(r(2),d("href",n.content.link.url,M)("target",n.content.link.target),se("aria-label",n.content.link.heading))},dependencies:[Q,ae],encapsulation:2})};var Us=["app-logo-rb-inverse",""],$s=[[["","preview-actions",""]]],Hs=["[preview-actions]"],Ln=class i extends $e{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-logo-rb-inverse",""]],features:[z],attrs:Us,ngContentSelectors:Hs,decls:25,vars:3,consts:[[3,"preClick","href","target"],["version","1.1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 546.89 139.71"],["d","m203.11,63.4l-12.27-22.29h-4.97v22.29h-11.93V7.05h22.63c3.87,0,7.21.65,10.03,1.95,2.82,1.3,4.97,3.19,6.46,5.68,1.49,2.49,2.24,5.47,2.24,8.95,0,4.09-1.09,7.51-3.27,10.28s-5.29,4.7-9.32,5.8l13.68,23.7h-13.26Zm-17.24-46.08v14.34h9.28c2.49,0,4.39-.62,5.72-1.86,1.33-1.24,1.99-3.05,1.99-5.43s-.66-4.28-1.99-5.39c-1.33-1.11-3.26-1.66-5.8-1.66h-9.2Z",1,"cls-1"],["d","m250.6,19.56h11.35v43.84h-11.35v-5.22c-1.44,1.99-3.26,3.55-5.47,4.68-2.21,1.13-4.7,1.7-7.46,1.7-3.59,0-6.8-.98-9.61-2.94-2.82-1.96-5.01-4.7-6.59-8.21-1.58-3.51-2.36-7.47-2.36-11.89s.79-8.47,2.36-11.98c1.57-3.51,3.77-6.24,6.59-8.2,2.82-1.96,6.02-2.94,9.61-2.94,2.76,0,5.25.58,7.46,1.74,2.21,1.16,4.03,2.74,5.47,4.73v-5.31Zm-4.48,33.23c1.49-.99,2.67-2.45,3.52-4.35.86-1.91,1.28-4.21,1.28-6.92s-.43-5.01-1.28-6.92c-.86-1.9-2.03-3.36-3.52-4.35s-3.2-1.49-5.14-1.49-3.66.5-5.18,1.49c-1.52.99-2.69,2.45-3.52,4.35-.83,1.91-1.24,4.21-1.24,6.92s.41,5.01,1.24,6.92c.83,1.9,2,3.36,3.52,4.35,1.52,1,3.25,1.49,5.18,1.49s3.65-.5,5.14-1.49Z",1,"cls-1"],["d","m272.61,11.56c-1.24-1.24-1.86-2.86-1.86-4.85s.62-3.61,1.86-4.85c1.24-1.24,2.86-1.87,4.85-1.87s3.59.62,4.81,1.87c1.21,1.24,1.82,2.86,1.82,4.85s-.61,3.61-1.82,4.85c-1.22,1.24-2.82,1.87-4.81,1.87s-3.61-.62-4.85-1.87Zm10.4,51.84h-11.35V19.56h11.35v43.84Z",1,"cls-1"],["d","m307.29,19.56h12.02v9.95h-12.02v33.9h-11.35V29.51h-7.46v-9.95h7.46v-2.65c0-4.81,1.38-8.48,4.14-11.02,2.76-2.54,6.55-3.81,11.35-3.81,1.77,0,3.45.16,5.06.5,1.6.33,3.07.78,4.39,1.33l-2.9,8.7c-1.49-.61-3.12-.91-4.89-.91-2.05,0-3.52.47-4.43,1.41s-1.37,2.38-1.37,4.31v2.15Z",1,"cls-1"],["d","m336.3,19.56h12.02v9.95h-12.02v33.9h-11.35V29.51h-7.46v-9.95h7.46v-2.65c0-4.81,1.38-8.48,4.14-11.02,2.76-2.54,6.55-3.81,11.35-3.81,1.77,0,3.45.16,5.06.5,1.6.33,3.07.78,4.39,1.33l-2.9,8.7c-1.49-.61-3.12-.91-4.89-.91-2.05,0-3.52.47-4.43,1.41s-1.37,2.38-1.37,4.31v2.15Z",1,"cls-1"],["d","m392.49,45.5h-29.59c.39,3.32,1.46,5.72,3.23,7.21,1.77,1.49,4.36,2.24,7.79,2.24,2.37,0,4.57-.34,6.59-1.03,2.02-.69,3.77-1.67,5.26-2.94l4.89,7.79c-2.21,1.88-4.78,3.32-7.71,4.31-2.93.99-6.08,1.49-9.45,1.49-4.75,0-8.84-.91-12.27-2.73-3.43-1.82-6.04-4.45-7.83-7.87-1.8-3.43-2.69-7.49-2.69-12.18s.88-8.73,2.65-12.27c1.77-3.54,4.27-6.27,7.5-8.21,3.23-1.93,6.92-2.9,11.06-2.9s7.76.94,10.86,2.82c3.09,1.88,5.48,4.56,7.
117,8.04,1.68,3.48,2.53,7.57,2.53,12.27v3.98Zm-29.59-7.79h18.15c-.28-3.26-1.19-5.69-2.73-7.29-1.55-1.6-3.65-2.4-6.3-2.4-5.3,0-8.34,3.23-9.12,9.7Z",1,"cls-1"],["d","m400.41,11.56c-1.24-1.24-1.86-2.86-1.86-4.85s.62-3.61,1.86-4.85c1.24-1.24,2.86-1.87,4.85-1.87s3.59.62,4.81,1.87c1.21,1.24,1.82,2.86,1.82,4.85s-.61,3.61-1.82,4.85c-1.22,1.24-2.82,1.87-4.81,1.87s-3.61-.62-4.85-1.87Zm10.4,51.84h-11.35V19.56h11.35v43.84Z",1,"cls-1"],["d","m425.31,63.11c-3.1-.97-5.72-2.47-7.87-4.52l5.3-8.12c3.26,3.09,7.4,4.64,12.43,4.64,2.21,0,3.88-.34,5.01-1.04,1.13-.69,1.7-1.73,1.7-3.11,0-1.16-.51-2.11-1.53-2.86-1.02-.75-2.89-1.45-5.59-2.11-3.48-.77-6.34-1.63-8.58-2.57-2.24-.94-4.05-2.27-5.43-3.98-1.38-1.71-2.07-3.95-2.07-6.71,0-2.93.75-5.47,2.24-7.62,1.49-2.15,3.62-3.81,6.38-4.97,2.76-1.16,5.97-1.74,9.61-1.74,3.42,0,6.59.5,9.49,1.49s5.37,2.46,7.42,4.39l-5.3,7.79c-1.49-1.38-3.26-2.43-5.3-3.15-2.04-.72-4.17-1.08-6.38-1.08s-3.7.33-4.81,1c-1.11.66-1.66,1.66-1.66,2.98,0,.77.23,1.42.7,1.95.47.53,1.28,1.03,2.45,1.53s2.82.99,4.97,1.49c2.98.72,5.55,1.58,7.71,2.57s3.92,2.4,5.3,4.23c1.38,1.82,2.07,4.14,2.07,6.96s-.72,5.28-2.16,7.38c-1.44,2.1-3.54,3.73-6.3,4.89-2.76,1.16-6.08,1.74-9.95,1.74-3.48,0-6.77-.48-9.86-1.45Z",1,"cls-1"],["d","m499.98,45.5h-29.59c.39,3.32,1.46,5.72,3.23,7.21,1.77,1.49,4.36,2.24,7.79,2.24,2.37,0,4.57-.34,6.59-1.03,2.02-.69,3.77-1.67,5.26-2.94l4.89,7.79c-2.21,1.88-4.78,3.32-7.71,4.31-2.93.99-6.08,1.49-9.45,1.49-4.75,0-8.84-.91-12.27-2.73-3.43-1.82-6.04-4.45-7.83-7.87-1.8-3.43-2.69-7.49-2.69-12.18s.88-8.73,2.65-12.27c1.77-3.54,4.27-6.27,7.5-8.21,3.23-1.93,6.92-2.9,11.06-2.9s7.76.94,10.86,2.82c3.09,1.88,5.48,4.56,7.17,8.04,1.68,3.48,2.53,7.57,2.53,12.27v3.98Zm-29.59-7.79h18.15c-.28-3.26-1.19-5.69-2.73-7.29-1.55-1.6-3.65-2.4-6.3-2.4-5.3,0-8.34,3.23-9.12,9.7Z",1,"cls-1"],["d","m539.56,20.43c2.35,1.35,4.16,3.33,5.43,5.93,1.27,2.6,1.91,5.72,1.91,9.37v27.68h-11.44v-26.27c0-2.82-.65-4.93-1.95-6.34-1.3-1.41-3.27-2.11-5.93-2.11-1.99,0-3.74.44-5.26,1.33-1.52.89-2.86,2.21-4.02,3.98v29.42h-11.35V19.56h11.35v5.14c1.38-1.99,3.19-3.54,5.43-4.64,2.24-1.1,4.74-1.66,7.5-1.66,3.2,0,5.98.68,8.33,2.03Z",1,"cls-1"],["d","m213.06,114.06c1.6,2.29,2.4,5.1,2.4,8.41,0,5.14-1.65,9.11-4.93,11.89-3.29,2.79-7.94,4.19-13.96,4.19h-22.63v-56.36h20.64c5.97,0,10.58,1.28,13.84,3.85,3.26,2.57,4.89,6.2,4.89,10.9,0,5.58-2.4,9.59-7.21,12.02,3.04,1.11,5.36,2.81,6.96,5.1Zm-27.19-21.76v13.18h7.79c2.54,0,4.41-.55,5.59-1.66,1.19-1.1,1.78-2.73,1.78-4.89,0-2.37-.64-4.07-1.91-5.1-1.27-1.02-3.18-1.53-5.72-1.53h-7.54Zm9.28,36.13c2.6,0,4.54-.55,5.84-1.66,1.3-1.1,1.95-2.87,1.95-5.3,0-2.27-.62-3.95-1.86-5.06-1.24-1.1-3.3-1.66-6.17-1.66h-9.03v13.68h9.28Z",1,"cls-1"],["d","m251.35,94.71h11.35v43.84h-11.35v-5.22c-1.44,1.99-3.26,3.55-5.47,4.68-2.21,1.13-4.7,1.7-7.46,1.7-3.59,0-6.8-.98-9.61-2.94-2.82-1.96-5.01-4.7-6.59-8.21-1.58-3.51-2.36-7.47-2.36-11.89s.79-8.47,2.36-11.98c1.57-3.51,3.77-6.24,6.59-8.2,2.82-1.96,6.02-2.94,9.61-2.94,2.76,0,5.25.58,7.46,1.74,2.21,1.16,4.03,2.74,5.47,4.73v-5.31Zm-4.48,33.23c1.49-.99,2.67-2.45,3.52-4.35.86-1.91,1.28-4.21,1.28-6.92s-.43-5.01-1.28-6.92c-.86-1.9-2.03-3.36-3.52-4.35-1.49-.99-3.2-1.49-5.14-1.49s-3.66.5-5.18,1.49c-1.52.99-2.69,2.45-3.52,4.35-.83,1.91-1.24,4.21-1.24,6.92s.41,5.01,1.24,6.92c.83,1.9,2,3.36,3.52,4.35,1.52,1,3.25,1.49,5.18,1.49s3.65-.5,5.14-1.49Z",1,"cls-1"],["d","m305.01,95.58c2.35,1.35,4.16,3.33,5.43,5.93,1.27,2.6,1.91,5.72,1.91,9.37v27.68h-11.44v-26.27c0-2.82-.65-4.93-1.95-6.34-1.3-1.41-3.27-2.11-5.93-2.11-1.99,0-3.74.44-5.26,1.33-1.52.89-2.86,2.21-4.02,3.98v29.42h-11.35v-43.84h11.35v5.14c1.38-1.99,3.19-3.54,5.43-4.64,2.24-1.1,4.74-1.66,7.5-1.66,3.2,0,5.98.68,8.33,2.03Z",1,"cls-1"],["d","m343.51,115.18l17.57,23.37h-13.59l-15-19.89v19.89h-11.35v-59.67h11.35v33.65l14.26-17.82h13.51l-16.74,20.47Z",1,"cls-1"],["y","7.04","width","131.5","height","131.51",1,"cls-2"],["d","m95.09,63.45l16.76-16.76,4.48,4.48.03-.03c0-2.88-.85-12.78-8.8-20.53-8.9-8.68-17.81-3.6-20.89-.54h0s-16.14,16.14-16.14,16.14l4,4-8.78,8.78-8.78-8.78,4-4-16.14-16.14h0c-3.07-3.07-11.98-8.14-20.89.54-7.95,7.75-8.8,17.65-8.8,20.53l.03.03,4.48-4.48,16.76,16.76,4.62-4.62v-11.04l4.75,4.75v13.35l6.54,6.54-33.94,33.94,13.43,13.43,33.94-33.94,33.94,33.94,13.43-13.43-33.94-33.94,6.54-6.54v-13.35l4.75-4.75v11.04l4.62,4.62Z",1,"cls-3"]],template:function(e,n){e&1&&(Y($s),J(0),ke(1),c(2,"a",0),y("preClick",function(){return n.logoClicked()}),Xe(),c(3,"svg",1)(4,"style"),_(5," .cls-1 { fill: #fff; } .cls-2 { fill: #fee600; } .cls-3 { fill: #2b2d33; fill-rule: evenodd; } "),p(),c(6,"g")(7,"g"),C(8,"path",2)(9,"path",3)(10,"path",4)(11,"path",5)(12,"path",6)(13,"path",7)(14,"path",8)(15,"path",9)(16,"path",10)(17,"path",11)(18,"path",12)(19,"path",13)(20,"path",14)(21,"path",15),p(),c(22,"g"),C(23,"rect",16)(24,"path",17),p()()()(),Ie()),e&2&&(r(2),d("href",n.content.link.url,M)("target",n.content.link.target),se("aria-label",n.content.link.heading))},dependencies:[Q,ae],encapsulation:2})};var qs=["app-logo-fwr",""],js=[[["","preview-actions",""]]],Qs=["[preview-actions]"],Fn=class i extends $e{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-logo-fwr",""]],features:[z],attrs:qs,ngContentSelectors:Qs,decls:39,vars:3,consts:[[3,"preClick","href","target"],["ver
1sion","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 788.8 225.5",0,"xml","space","preserve",2,"enable-background","new 0 0 788.8 225.5"],["type","text/css"],["d",`M231.1,94l-8.2-14.9h-3.3V94h-8V56.4h15.1c2.6,0,4.8,0.4,6.7,1.3c1.9,0.9,3.3,2.1,4.3,3.8
2                                    c1,1.7,1.5,3.7,1.5,6c0,2.7-0.7,5-2.2,6.9c-1.5,1.8-3.5,3.1-6.2,3.9L240,94H231.1z M219.6,63.2v9.6h6.2c1.7,0,2.9-0.4,3.8-1.2
3                                    c0.9-0.8,1.3-2,1.3-3.6c0-1.7-0.4-2.9-1.3-3.6c-0.9-0.7-2.2-1.1-3.9-1.1H219.6z`,1,"st0"],["d",`M262.8,64.7h7.6V94h-7.6v-3.5c-1,1.3-2.2,2.4-3.7,3.1c-1.5,0.8-3.1,1.1-5,1.1c-2.4,0-4.5-0.7-6.4-2
4                                    c-1.9-1.3-3.4-3.1-4.4-5.5c-1.1-2.3-1.6-5-1.6-7.9c0-3,0.5-5.7,1.6-8c1.1-2.3,2.5-4.2,4.4-5.5c1.9-1.3,4-2,6.4-2
5                                    c1.8,0,3.5,0.4,5,1.2c1.5,0.8,2.7,1.8,3.7,3.2V64.7z M259.9,87c1-0.7,1.8-1.6,2.4-2.9c0.6-1.3,0.9-2.8,0.9-4.6
6                                    c0-1.8-0.3-3.4-0.9-4.6c-0.6-1.3-1.4-2.2-2.4-2.9c-1-0.7-2.1-1-3.4-1c-1.3,0-2.4,0.3-3.5,1c-1,0.7-1.8,1.6-2.4,2.9
7                                    c-0.6,1.3-0.8,2.8-0.8,4.6c0,1.8,0.3,3.4,0.8,4.6c0.6,1.3,1.3,2.2,2.4,2.9c1,0.7,2.2,1,3.5,1C257.7,88,258.9,87.6,259.9,87z`,1,"st0"],["d",`M277.6,59.4c-0.8-0.8-1.2-1.9-1.2-3.2c0-1.3,0.4-2.4,1.2-3.2c0.8-0.8,1.9-1.2,3.2-1.2
8                                    c1.3,0,2.4,0.4,3.2,1.2c0.8,0.8,1.2,1.9,1.2,3.2c0,1.3-0.4,2.4-1.2,3.2c-0.8,0.8-1.9,1.2-3.2,1.2
9                                    C279.5,60.6,278.4,60.2,277.6,59.4z M284.5,94h-7.6V64.7h7.6V94z`,1,"st0"],["d",`M300.7,64.7h8v6.6h-8V94h-7.6V71.4h-5v-6.6h5V63c0-3.2,0.9-5.7,2.8-7.4c1.8-1.7,4.4-2.5,7.6-2.5
10                                    c1.2,0,2.3,0.1,3.4,0.3c1.1,0.2,2,0.5,2.9,0.9l-1.9,5.8c-1-0.4-2.1-0.6-3.3-0.6c-1.4,0-2.4,0.3-3,0.9c-0.6,0.6-0.9,1.6-0.9,2.9
11                                    V64.7z`,1,"st0"],["d",`M320.1,64.7h8v6.6h-8V94h-7.6V71.4h-5v-6.6h5V63c0-3.2,0.9-5.7,2.8-7.4c1.8-1.7,4.4-2.5,7.6-2.5
12                                    c1.2,0,2.3,0.1,3.4,0.3c1.1,0.2,2,0.5,2.9,0.9l-1.9,5.8c-1-0.4-2.1-0.6-3.3-0.6c-1.4,0-2.4,0.3-3,0.9c-0.6,0.6-0.9,1.6-0.9,2.9
13                                    V64.7z`,1,"st0"],["d",`M357.7,82.1h-19.8c0.3,2.2,1,3.8,2.2,4.8c1.2,1,2.9,1.5,5.2,1.5c1.6,0,3.1-0.2,4.4-0.7
14                                    c1.3-0.5,2.5-1.1,3.5-2l3.3,5.2c-1.5,1.3-3.2,2.2-5.2,2.9c-2,0.7-4.1,1-6.3,1c-3.2,0-5.9-0.6-8.2-1.8c-2.3-1.2-4-3-5.2-5.3
15                                    c-1.2-2.3-1.8-5-1.8-8.1c0-3.1,0.6-5.8,1.8-8.2c1.2-2.4,2.9-4.2,5-5.5c2.2-1.3,4.6-1.9,7.4-1.9c2.8,0,5.2,0.6,7.3,1.9
16                                    s3.7,3,4.8,5.4c1.1,2.3,1.7,5.1,1.7,8.2V82.1z M337.9,76.9H350c-0.2-2.2-0.8-3.8-1.8-4.9c-1-1.1-2.4-1.6-4.2-1.6
17                                    C340.4,70.4,338.4,72.6,337.9,76.9z`,1,"st0"],["d",`M363,59.4c-0.8-0.8-1.2-1.9-1.2-3.2c0-1.3,0.4-2.4,1.2-3.2c0.8-0.8,1.9-1.2,3.2-1.2s2.4,0.4,3.2,1.2
18                                    c0.8,0.8,1.2,1.9,1.2,3.2c0,1.3-0.4,2.4-1.2,3.2c-0.8,0.8-1.9,1.2-3.2,1.2S363.8,60.2,363,59.4z M369.9,94h-7.6V64.7h7.6V94z`,1,"st0"],["d",`M379.6,93.9c-2.1-0.6-3.8-1.7-5.3-3l3.5-5.4c2.2,2.1,4.9,3.1,8.3,3.1c1.5,0,2.6-0.2,3.4-0.7
19                                    c0.8-0.5,1.1-1.2,1.1-2.1c0-0.8-0.3-1.4-1-1.9c-0.7-0.5-1.9-1-3.7-1.4c-2.3-0.5-4.2-1.1-5.7-1.7c-1.5-0.6-2.7-1.5-3.6-2.7
20                                    c-0.9-1.1-1.4-2.6-1.4-4.5c0-2,0.5-3.7,1.5-5.1c1-1.4,2.4-2.5,4.3-3.3c1.8-0.8,4-1.2,6.4-1.2c2.3,0,4.4,0.3,6.3,1
21                                    c1.9,0.7,3.6,1.6,5,2.9l-3.5,5.2c-1-0.9-2.2-1.6-3.5-2.1c-1.4-0.5-2.8-0.7-4.3-0.7c-1.4,0-2.5,0.2-3.2,0.7
22                                    c-0.7,0.4-1.1,1.1-1.1,2c0,0.5,0.2,1,0.5,1.3c0.3,0.4,0.9,0.7,1.6,1c0.8,0.3,1.9,0.7,3.3,1c2,0.5,3.7,1.1,5.2,1.7
23                                    c1.4,0.7,2.6,1.6,3.5,2.8c0.9,1.2,1.4,2.8,1.4,4.7c0,1.9-0.5,3.5-1.4,4.9c-1,1.4-2.4,2.5-4.2,3.3c-1.8,0.8-4.1,1.2-6.6,1.2
24                                    C383.9,94.8,381.7,94.5,379.6,93.9z`,1,"st0"],["d",`M429.5,82.1h-19.8c0.3,2.2,1,3.8,2.2,4.8c1.2,1,2.9,1.5,5.2,1.5c1.6,0,3.1-0.2,4.4-0.7
25                                    c1.3-0.5,2.5-1.1,3.5-2l3.3,5.2c-1.5,1.3-3.2,2.2-5.2,2.9c-2,0.7-4.1,1-6.3,1c-3.2,0-5.9-0.6-8.2-1.8c-2.3-1.2-4-3-5.2-5.3
26                                    c-1.2-2.3-1.8-5-1.8-8.1c0-3.1,0.6-5.8,1.8-8.2s2.9-4.2,5-5.5c2.2-1.3,4.6-1.9,7.4-1.9c2.8,0,5.2,0.6,7.3,1.9
27                                    c2.1,1.3,3.7,3,4.8,5.4c1.1,2.3,1.7,5.1,1.7,8.2V82.1z M409.7,76.9h12.1c-0.2-2.2-0.8-3.8-1.8-4.9c-1-1.1-2.4-1.6-4.2-1.6
28                                    C412.3,70.4,410.3,72.6,409.7,76.9z`,1,"st0"],["d",`M456,65.3c1.6,0.9,2.8,2.2,3.6,4c0.8,1.7,1.3,3.8,1.3,6.3V94h-7.6V76.5c0-1.9-0.4-3.3-1.3-4.2
29                                    c-0.9-0.9-2.2-1.4-4-1.4c-1.3,0-2.5,0.3-3.5,0.9c-1,0.6-1.9,1.5-2.7,2.7V94h-7.6V64.7h7.6v3.4c0.9-1.3,2.1-2.4,3.6-3.1
30                                    c1.5-0.7,3.2-1.1,5-1.1C452.5,64,454.4,64.4,456,65.3z`,1,"st0"],["d",`M240.9,117c3,2.8,4.4,6.9,4.4,12.3c0,5.4-1.5,9.4-4.4,12.2c-3,2.8-7.3,4.2-13.1,4.2h-11.4v23.5h-4.9v-56.4
31                                    H228C233.7,112.8,238,114.2,240.9,117z M227.5,141.3c4.3,0,7.5-1,9.6-3c2.1-2,3.1-5,3.1-9.1c0-4.1-1-7.2
31-3.1-9.1
32                                    c-2.1-1.9-5.3-2.9-9.6-2.9h-11v24.1H227.5z`,1,"st0"],["d",`M273.9,126.5v4.6c-1.2-0.1-2.1-0.2-2.7-0.2c-2.8,0-5.3,0.7-7.3,2.2c-2,1.4-3.8,3.5-5.4,6.3v29.8h-4.7
33                                    v-42.4h4.7v8.1c1.5-2.8,3.3-4.9,5.4-6.3c2.1-1.5,4.6-2.2,7.5-2.2C272.5,126.4,273.3,126.4,273.9,126.5z`,1,"st0"],["d",`M280.8,116.4c-0.7-0.7-1.1-1.5-1.1-2.7c0-1.1,0.4-2,1.1-2.7c0.7-0.7,1.6-1,2.7-1c1.1,0,2,0.3,2.7,1
34                                    c0.7,0.7,1,1.6,1,2.7c0,1.1-0.3,2-1,2.7c-0.7,0.7-1.6,1-2.7,1C282.4,117.4,281.5,117,280.8,116.4z M285.8,169.2h-4.7v-42.4h4.7
35                                    V169.2z`,1,"st0"],["d","M310.7,163.5l13.4-36.7h4.9l-15.7,42.4h-5.2l-15.8-42.4h5.1L310.7,163.5z",1,"st0"],["d",`M364.1,126.8h4.7v42.4h-4.7v-8.5c-1.3,2.9-3.2,5.2-5.8,6.9c-2.5,1.7-5.4,2.5-8.7,2.5
36                                    c-3.4,0-6.5-0.9-9.2-2.7c-2.7-1.8-4.8-4.4-6.3-7.7c-1.5-3.3-2.3-7.2-2.3-11.6c0-4.4,0.8-8.3,2.3-11.6c1.5-3.3,3.6-5.9,6.3-7.7
37                                    c2.7-1.8,5.7-2.7,9.2-2.7c3.3,0,6.1,0.8,8.7,2.5c2.5,1.7,4.4,4,5.8,7V126.8z M357.9,163.6c2.1-1.4,3.7-3.5,4.8-6.1
38                                    c1.1-2.7,1.7-5.8,1.7-9.4c0-3.6-0.6-6.8-1.7-9.5c-1.1-2.7-2.7-4.7-4.8-6.1s-4.5-2.1-7.2-2.1c-2.8,0-5.2,0.7-7.3,2.1
39                                    c-2.1,1.4-3.7,3.5-4.8,6.1c-1.2,2.7-1.7,5.8-1.7,9.5c0,3.6,0.6,6.8,1.7,9.4c1.2,2.7,2.8,4.7,4.8,6.1c2.1,1.4,4.5,2.1,7.3,2.1
40                                    C353.5,165.7,355.9,165,357.9,163.6z`,1,"st0"],["d",`M404.1,168.3c-2.4,1.2-5.1,1.8-8.3,1.8c-8.2,0-12.3-4.2-12.3-12.5v-26.4h-8v-4.3h8V116h4.7v10.9h14.8v4.3
41                                    h-14.8v26c0,2.9,0.6,5.1,1.9,6.5c1.3,1.4,3.3,2.1,6.1,2.1c2.5,0,4.6-0.5,6.3-1.4L404.1,168.3z`,1,"st0"],["d",`M442.8,149.5h-31.3c0.2,5.4,1.6,9.4,4.1,12.1c2.5,2.7,6,4.1,10.6,4.1c5.4,0,9.7-1.9,12.8-5.6l2.5,3.4
42                                    c-1.8,2-4,3.6-6.7,4.8c-2.6,1.1-5.6,1.7-8.8,1.7c-4,0-7.4-0.9-10.4-2.6c-2.9-1.7-5.2-4.3-6.8-7.5c-1.6-3.3-2.4-7.2-2.4-11.8
43                                    c0-4.5,0.8-8.5,2.3-11.8c1.5-3.3,3.7-5.9,6.4-7.7c2.8-1.8,6-2.7,9.6-2.7c3.6,0,6.7,0.9,9.4,2.7c2.7,1.8,4.8,4.3,6.3,7.7
44                                    c1.5,3.3,2.2,7.3,2.2,11.8V149.5z M415.6,134.3c-2.3,2.7-3.6,6.5-4,11.4H438c-0.2-4.9-1.5-8.7-3.8-11.4c-2.3-2.7-5.4-4-9.4-4
45                                    C421,130.3,417.9,131.6,415.6,134.3z`,1,"st0"],["d",`M502,144.6c1.7,2.3,2.5,5.4,2.5,9.2c0,5-1.5,8.9-4.4,11.5c-2.9,2.6-7.1,3.9-12.6,3.9h-17.7v-56.4H486
46                                    c5.4,0,9.5,1.2,12.3,3.6c2.8,2.4,4.2,6,4.2,10.7c0,3.3-0.7,5.9-2.1,8c-1.4,2.1-3.3,3.6-5.6,4.6
47                                    C497.9,140.6,500.3,142.2,502,144.6z M474.7,117.2v20.9h11.6c7.5,0,11.3-3.5,11.3-10.4c0-3.6-1-6.2-2.9-7.9c-2-1.7-5-2.5-9-2.5
48                                    H474.7z M487,164.8c4.1,0,7.3-0.9,9.3-2.8c2.1-1.9,3.1-4.7,3.1-8.5c0-3.7-1.1-6.5-3.1-8.3c-2.1-1.9-5.2-2.8-9.3-2.8h-12.3v22.4
49                                    H487z`,1,"st0"],["d",`M541.9,126.8h4.7v42.4h-4.7v-8.5c-1.3,2.9-3.2,5.2-5.8,6.9c-2.5,1.7-5.4,2.5-8.7,2.5
50                                    c-3.4,0-6.5-0.9-9.2-2.7c-2.7-1.8-4.8-4.4-6.3-7.7c-1.5-3.3-2.3-7.2-2.3-11.6c0-4.4,0.8-8.3,2.3-11.6c1.5-3.3,3.6-5.9,6.3-7.7
51                                    c2.7-1.8,5.7-2.7,9.2-2.7c3.3,0,6.1,0.8,8.7,2.5c2.5,1.7,4.4,4,5.8,7V126.8z M535.7,163.6c2.1-1.4,3.7-3.5,4.8-6.1
52                                    c1.1-2.7,1.7-5.8,1.7-9.4c0-3.6-0.6-6.8-1.7-9.5c-1.1-2.7-2.7-4.7-4.8-6.1s-4.5-2.1-7.2-2.1c-2.8,0-5.2,0.7-7.3,2.1
53                                    c-2.1,1.4-3.7,3.5-4.8,6.1c-1.2,2.7-1.7,5.8-1.7,9.5c0,3.6,0.6,6.8,1.7,9.4c1.2,2.7,2.8,4.7,4.8,6.1c2.1,1.4,4.5,2.1,7.3,2.1
54                                    C531.2,165.7,533.6,165,535.7,163.6z`,1,"st0"],["d",`M584.3,127.7c2.1,1.2,3.7,2.8,4.8,5.1c1.1,2.2,1.7,4.9,1.7,8v28.5h-4.7v-27.9c0-3.5-0.9-6.2-2.7-8.1
55                                    c-1.8-1.9-4.4-2.8-7.7-2.8c-5.4,0-9.6,2.6-12.7,7.7v31.2h-4.7v-42.4h4.7v6.6c1.5-2.4,3.4-4.2,5.8-5.6c2.3-1.3,5-2,8.1-2
56                                    C579.7,125.9,582.2,126.5,584.3,127.7z`,1,"st0"],["d","M611,146.6l22.1,22.5h-6l-20.9-21.1v21.1h-4.7v-59.7h4.7v35.8l20.1-18.5h6L611,146.6z",1,"st0"],["d",`M638.9,116.4c-0.7-0.7-1.1-1.5-1.1-2.7c0-1.1,0.4-2,1.1-2.7c0.7-0.7,1.6-1,2.7-1c1.1,0,2,0.3,2.7,1
57                                    c0.7,0.7,1,1.6,1,2.7c0,1.1-0.3,2-1,2.7c-0.7,0.7-1.6,1-2.7,1C640.5,117.4,639.7,117,638.9,116.4z M643.9,169.2h-4.7v-42.4h4.7
58                                    V169.2z`,1,"st0"],["d",`M681.6,127.7c2.1,1.2,3.7,2.8,4.8,5.1c1.1,2.2,1.7,4.9,1.7,8v28.5h-4.7v-27.9c0-3.5-0.9-6.2-2.7-8.1
59                                    c-1.8-1.9-4.4-2.8-7.7-2.8c-5.4,0-9.6,2.6-12.7,7.7v31.2h-4.7v-42.4h4.7v6.6c1.5-2.4,3.4-4.2,5.8-5.6c2.3-1.3,5-2,8.1-2
60                                    C677,125.9,679.5,126.5,681.6,127.7z`,1,"st0"],["d",`M727.7,126.8h4.7v41.6c0,3.9-0.8,7.2-2.3,9.9c-1.5,2.7-3.7,4.8-6.5,6.2c-2.8,1.4-6.1,2.1-10,2.1
61                                    c-3.2,0-6.2-0.5-9.1-1.5c-2.8-1-5.2-2.4-7.1-4.2l2.2-3.6c1.7,1.6,3.7,2.8,6.1,3.7c2.3,0.9,4.9,1.3,7.7,1.3
62                                    c4.5,0,8-1.2,10.4-3.6c2.5-2.4,3.7-5.9,3.7-10.4v-7.8c-1.3,2.9-3.2,5.2-5.8,6.8c-2.5,1.6-5.4,2.4-8.7,2.4
63                                    c-3.5,0-6.6-0.9-9.2-2.7c-2.7-1.8-4.8-4.4-6.3-7.7c-1.5-3.3-2.2-7.2-2.2-11.5c0-4.4,0.8-8.2,2.3-11.5c1.5-3.3,3.6-5.9,6.3-7.7
64                                    c2.7-1.8,5.7-2.7,9.2-2.7c3.3,0,6.1,0.8,8.6,2.5c2.5,1.7,4.4,4,5.8,7V126.8z M721.5,163.3c2.1-1.4,3.7-3.4,4.8-6.1
65                                    c1.1-2.7,1.7-5.8,1.7-9.4c0-3.6-0.6-6.7-1.7-9.4c-1.1-2.7-2.7-4.7-4.8-6.
651s-4.5-2.1-7.2-2.1c-2.8,0-5.2,0.7-7.3,2.1
66                                    c-2.1,1.4-3.7,3.4-4.8,6.1c-1.2,2.7-1.7,5.8-1.7,9.4c0,3.6,0.6,6.7,1.7,9.4c1.2,2.7,2.8,4.7,4.8,6.1c2.1,1.4,4.5,2.1,7.3,2.1
67                                    C717.1,165.5,719.5,164.7,721.5,163.3z`,1,"st0"],["x","56.4","y","56.4","width","112.8","height","112.8",1,"st1"],["d",`M137.9,104.7l14.4-14.4l3.8,3.8l0,0c0-2.5-0.7-11-7.5-17.6c-7.6-7.4-15.3-3.1-17.9-0.5l0,0L116.9,90l3.4,3.4
68                        l-7.5,7.5l-7.5-7.5l3.4-3.4L94.8,76.1l0,0c-2.6-2.6-10.3-7-17.9,0.5c-6.8,6.6-7.5,15.1-7.5,17.6l0,0l3.8-3.8l14.4,14.4l4-4v-9.5
69                        l4.1,4.1v11.5l5.6,5.6l-29.1,29.1l11.5,11.5l29.1-29.1l29.1,29.1l11.5-11.5l-29.1-29.1l5.6-5.6V95.4l4.1-4.1v9.5L137.9,104.7z`,1,"st2"]],template:function(e,n){e&1&&(Y(js),J(0),ke(1),c(2,"a",0),y("preClick",function(){return n.logoClicked()}),Xe(),c(3,"svg",1)(4,"style",2),_(5," .st0{fill:#FFFFFF;} .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#FEE600;} .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#2B2D33;} "),p(),c(6,"g")(7,"g")(8,"g")(9,"g")(10,"g"),C(11,"path",3)(12,"path",4)(13,"path",5)(14,"path",6)(15,"path",7)(16,"path",8)(17,"path",9)(18,"path",10)(19,"path",11)(20,"path",12),p(),c(21,"g"),C(22,"path",13)(23,"path",14)(24,"path",15)(25,"path",16)(26,"path",17)(27,"path",18)(28,"path",19)(29,"path",20)(30,"path",21)(31,"path",22)(32,"path",23)(33,"path",24)(34,"path",25)(35,"path",26),p()()()(),c(36,"g"),C(37,"rect",27)(38,"path",28),p()()()(),Ie()),e&2&&(r(2),d("href",n.content.link.url,M)("target",n.content.link.target),se("aria-label",n.content.link.heading))},dependencies:[Q,ae],encapsulation:2})};var Ks=["app-logo-pb",""],Gs=[[["","preview-actions",""]]],Ws=["[preview-actions]"],Nn=class i extends $e{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-logo-pb",""]],features:[z],attrs:Ks,ngContentSelectors:Ws,decls:27,vars:3,consts:[[3,"preClick","href","target"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 240 122",0,"xml","space","preserve",2,"enable-background","new 0 0 240 122"],["type","text/css"],["id","SVGID_3_","y","0","width","240","height","122"],["id","SVGID_2_"],[0,"xlink","href","#SVGID_3_",2,"overflow","visible"],[1,"st2"],["points","148.5,43.2 148.5,78.3 543.7,472.4",1,"st1"],["d",`M48.6,49.6h0.3c1.2,0,2.5-0.2,2.5-1.7c0-1.5-1.3-1.7-2.5-1.7h-0.3V49.6 M56.6,57.3H52l-3.4-5.4h0v5.4H45V43.4
70                        h5.4c2.8,0,4.8,1.3,4.8,4.3c0,1.9-1.1,3.6-3,3.9L56.6,57.3z`,1,"st0"],["d",`M60.3,52.6c0,1.2,0.8,2.1,2.2,2.1c1.4,0,2.2-0.9,2.2-2.1c0-1.2-0.8-2.1-2.2-2.1C61,50.4,60.3,51.4,60.3,52.6
71                         M67.8,57.3h-3.4v-1.1h0c-0.6,0.9-1.8,1.4-2.9,1.4c-2.8,0-4.8-2.3-4.8-5.1c0-2.7,1.9-5,4.8-5c1.1,0,2.2,0.4,2.9,1.2v-0.9h3.4V57.3
72                        z`,1,"st0"],["d",`M73.4,47.8v9.5h-3.4v-9.5H73.4z M73.6,44.2c0,1-0.9,1.9-1.9,1.9c-1,0-1.9-0.8-1.9-1.9c0-1,0.9-1.9,1.9-1.9
73                        C72.8,42.3,73.6,43.2,73.6,44.2z`,1,"st0"],["d",`M79.3,57.3H76v-6.7h-1.2v-2.8H76v-1.2c0-1.3,0-2.3,1-3.3c0.8-1,2-1.5,3.3-1.5c0.5,0,1,0.1,1.4,0.3V45
74                        c-0.4-0.2-0.7-0.3-1.2-0.3c-0.9,0-1.2,0.5-1.2,1.6v1.5h2.3v2.8h-2.3V57.3`,1,"st0"],["d",`M86.5,57.3h-3.4v-6.7H82v-2.8h1.2v-1.2c0-1.3,0-2.3,1-3.3c0.8-1,2-1.5,3.3-1.5c0.5,0,1,0.1,1.4,0.3V45
75                        c-0.4-0.2-0.7-0.3-1.2-0.3c-0.9,0-1.2,0.5-1.2,1.6v1.5h2.3v2.8h-2.3V57.3`,1,"st0"],["d",`M96.6,51.2c-0.2-0.9-1-1.5-1.9-1.5c-1,0-1.8,0.5-2,1.5H96.6 M99.7,53.1h-7.1c0,1.4,0.7,2.1,2.1,2.1
76                        c0.7,0,1.2-0.2,1.6-0.9h3.2c-0.5,2.2-2.7,3.3-4.8,3.3c-3.1,0-5.5-1.8-5.5-5c0-3.2,2.2-5.1,5.3-5.1c3.3,0,5.2,2,5.2,5.3V53.1z`,1,"st0"],["d",`M104.6,47.8v9.5h-3.4v-9.5H104.6z M104.8,44.2c0,1-0.8,1.9-1.9,1.9c-1,0-1.9-0.8-1.9-1.9c0-1,0.8-1.9,1.9-1.9
77                        C104,42.3,104.8,43.2,104.8,44.2z`,1,"st0"],["d",`M113.1,50.3c-0.5-0.3-1.2-0.5-1.8-0.5c-0.4,0-1.1,0.2-1.1,0.6c0,0.6,1.1,0.7,1.5,0.8c1.6,0.3,2.8,1.1,2.8,2.8
78                        c0,2.5-2.3,3.5-4.5,3.5c-1.3,0-2.7-0.4-3.8-1.1l1.2-2.3c0.7,0.5,1.8,1,2.7,1c0.4,0,1.1-0.2,1.1-0.7c0-0.7-1.1-0.8-2.1-1.1
79                        c-1.1-0.3-2.1-0.8-2.1-2.5c0-2.3,2.1-3.4,4.2-3.4c1.1,0,2.1,0.2,3.1,0.6L113.1,50.3`,1,"st0"],["d",`M122.9,51.2c-0.2-0.9-1-1.5-1.9-1.5c-1,0-1.8,0.5-2,1.5H122.9 M126.1,53.1H119c0,1.4,0.7,2.1,2.1,2.1
80                        c0.7,0,1.2-0.2,1.6-0.9h3.2c-0.5,2.2-2.7,3.3-4.8,3.3c-3.1,0-5.5-1.8-5.5-5c0-3.2,2.2-5.1,5.3-5.1c3.3,0,5.2,2,5.2,5.3V53.1z`,1,"st0"],["d",`M131,49L131,49c0.8-1.1,1.8-1.5,3.1-1.5c2.6,0,3.6,1.6,3.6,3.9v5.9h-3.4v-4.6c0-0.9,0.1-2.5-1.5-2.5
81                        c-1.4,0-1.8,1-1.8,2.2v4.9h-3.4v-9.5h3.4V49`,1,"st0"],["d",`M211.1,73.7c-1.9,0-3.1-1.7-3.1-3.5c0-1.7,1.3-3.4,3.1-3.4c1.9,0,3.2,1.5,3.2,3.3
82                        C214.2,72,213.1,73.7,211.1,73.7 M214.1,67.7L214.1,67.7c-0.8-1-1.7-1.6-3-1.6c-2.3,0-4,1.8-4,4.1c0,2.2,1.6,4.2,3.9,4.2
83                        c1.2,0,2.4-0.6,3.1-1.6h0v1c0,1.1-0.1,2.1-0.7,3c-0.6,0.8-1.6,1.2-2.6,1.2c-1.6,0-3-1-3.1-2.7H207c0.1,2.2,1.8,3.4,3.9,3.4
84                        c1.3,0,2.4-0.5,3.2-1.5c0.8-1.1,0.8-2.2,0.8-3.4v-7.6h-0.8V67.7z M202.5,66.1c-1,0-1.9,0.5-2.4,1.4h0v-1.2h-0.8v8h0.8v-3.9
85                        c0-1.6,0.3-3.5,2.3-3.5c1.7,0,1.9,1.2,1.9,2.6v4.8h0.8v-4.8C205.1,67.4,204.6,66.1,202.5,66.1z M195.7,66.3v8h0.8v-8H195.7z
86                         M196.1,62.7c-0.4,0-0.7,0.3-0.7,0.7c0,0.4,0.3,0.7,0.7,0.7c0.4,0,0.7-0.3,0.7-0.7C196.8,63.1,196.5,62.7,196.1,62.7z M193.1,66.3
87                        h-1l-3.3,3.4v-9.1H188v13.7h0.8v-3.5l0.4-0.4l4,4h1l-4.5-4.5L193.1,66.3z M182.7,66.1c-1,0-1.9,0.5-2.4,1.4h0v-1.2h-0.8v8h0.8
88                        v-3.9c0-1.6,0.3-3.5,2.3-3.5c1.7,0,1.9,1.2,1.9,2.6v4.8h0.8v-4.8C185.4,67.4,184.8,66.1,182.7,66.1z M173,73.7
89                        c-1.9,0-3.1-1.7-3.1-3.5c0-1.7,1.3-3.4,3.1-3.4c1.9,0,3.2,1.5,3.2,3.3C176.2,72,175.1,73.7,173,73.7z M176.1,67.7L176.1,67.7
90                        c-0.7-1-1.9-1.6-3.1-1.6c-2.4,0-3.9,1.8-3.9,4.1c0,2.3,1.5,4.2,3.9,4.2c1.2,0,2.4-0.6,3-1.6h0v1.4h0.8v-8h-0.8V67.7z M165.9,73.4
91                        c-0.7,0.5-1.6,0.5-2.4,0.5h-1.8v-5.1h1.7c0.8,0,1.8,0,2.5,0.4c0.8,0.4,1.2,1.3,1.2,2.1C167.1,72.2,166.6,73,165.9,73.4z
92                         M161.7,63.5h1.3c0.7,0,1.4,0,2,0.4c0.7,0.4,1,1.2,1,1.9c0,0.8-0.2,1.4-0.9,1.9c-0.7,0.5-1.3,0.4-2.1,0.4h-1.3V63.5z M165.4,68.3
93                        c0.9-0.5,1.4-1.3,1.4-2.4c0-0.9-0.3-1.8-1-2.5c-0.7-0.6-1.6-0.7-2.5-0.7h-2.4v11.9h3c1.1,0,1.9-0.1,2.8-0.8
94                        c0.7-0.6,1.1-1.5,1.1-2.5C167.8,69.8,166.8,68.6,165.4,68.3z M212.5,49.2c-1,0-1.9,0.5-2.3,1.4c-0.4-0.9-1.2-1.4-2.2-1.4
95                        c-0.8,0-1.6,0.4-2,1.2h0v-1h-0.8v7.9h0.8V53c0-1.3,0.3-3,2-3c1.5,0,1.8,1.2,1.8,2.5v4.9h0.8v-4.5c0-1.4,0.4-2.8,2-2.8
96                        c1.5,0,1.7,1.1,1.7,2.3v5.1h0.8v-5C214.9,50.6,214.5,49.2,212.5,49.2z M202.3,56.4c0.5-0.7,0.5-1.5,0.5-2.3v-4.7H202v4.5
97                        c0,1.5-0.2,2.9-2.1,2.9c-1.9,0-2.1-1.4-2.1-2.9v-4.5h-0.8v4.7c0,0.8,0,1.6,0.5,2.3c0.5,0.7,1.5,1.1,2.4,1.1
98                        C200.9,57.5,201.8,57.1,202.3,56.4z M194,49.4v7.9h0.8v-7.9H194z M194.4,45.8c-0.4,0-0.7,0.3-0.7,0.7c0,0.4,0.3,0.7,0.7,0.7
99                        c0.4,0,0.7-0.3,0.7-0.7C195.1,46.1,194.8,45.8,194.4,45.8z M190.8,52.2v5.1h0.8v-5c0-1.7-0.4-3.1-2.4-3.1c-1,0-1.9,0.5-2.3,1.4
100                        c-0.4-0.9-1.2-1.4-2.2-1.4c-0.8,0-1.6,0.4-2,1.2h0v-1h-0.8v7.9h0.8V53c0-1.3,0.3-3,2-3c1.5,0,1.8,1.2,1.8,2.5v4.9h0.8v-4.5
101                        c0-1.4,0.4-2.8,2-2.8C190.6,50,190.8,51,190.8,52.2z M176,50c1.6,0,2.8,1.3,3,2.7h-6.1C173.1,51.2,174.4,50,176,50z M176,49.2
102                        c-2.3,0-3.8,1.9-3.8,4.1c0,2.2,1.5,4.1,3.8,4.1c1.6,0,2.8-0.8,3.5-2.1l-0.6-0.4c-0.6,1.1-1.6,1.8-2.8,1.8c-1.8,0-3.2-1.3-3.2-3.3
103                        h6.9C179.8,51.1,178.4,49.2,176,49.2z M170.6,50c0.2,0,0.4,0,0.5,0.2l0.4-0.7c-0.3-0.1-0.5-0.2-0.8-0.2c-0.8,0-1.4,0.5-1.7,1.2h0
104                        v-1h-0.8v7.9h0.8v-4C169,52.1,168.9,50,170.6,50z M161.7,46.5h1.2c0.7,0,1.5,0,2,0.5c0.6,0.4,0.9,1.2,0.9,1.9
105                        c0,0.7-0.2,1.3-0.8,1.7c-0.6,0.5-1.3,0.6-2,0.6h-1.3V46.5z M161.7,52h1.3c0.9,0,1.9-0.1,2.6-0.8c0.7-0.6,1-1.5,1-2.3
106                        c0-0.9-0.3-1.8-1.1-2.4c-0.7-0.6-1.6-0.7-2.6-0.7h-2.1v11.5h0.8V52z`,1,"st0"],["d","M37.7,43.8v13.1H24.5V43.8H37.7z M24.1,43.4v13.9h13.9V43.4H24.1z",1,"st0"],["d",`M31.1,51.9l4.2,4.2l1.6-1.6l-4.2-4.2l0.8-0.8v-1.6l0.6-0.6l0,1.4l0.6,0.6l2-2l0.6,0.5c0-0.4-0.1-1.6-1.1-2.5
107                        c-1.1-1.1-2.2-0.4-2.6-0.1l-2,2l0.5,0.5l-1.1,1.1L30,47.6l0.5-0.5l-2-2c-0.4-0.4-1.5-1-2.6,0.1c-1,0.9-1.1,2.2-1.1,2.5l0.5-0.5
108                        l2,2l0.6-0.6v-1.3l0.6,0.6l0,1.6l0.8,0.8l-4.2,4.2l1.6,1.6L31.1,51.9`,1,"st0"]],template:function(e,n){e&1&&(Y(Gs),J(0),ke(1),c(2,"a",0),y("preClick",function(){return n.logoClicked()}),Xe(),c(3,"svg",1)(4,"style",2),_(5," .st0{fill:#FFFFFF;} .st1{fill:none;stroke:#FFDC00;stroke-width:0.84;} .st2{clip-path:url(#SVGID_2_);} .st3{clip-path:url(#SVGID_4_);} .st4{clip-path:url(#SVGID_6_);} .st5{clip-path:url(#SVGID_6_);fill:#FFFFFF;} .st6{clip-path:url(#SVGID_8_);} .st7{clip-path:url(#SVGID_8_);fill:#FFFFFF;} "),p(),c(6,"g")(7,"defs"),C(8,"rect",3),p(),c(9,"clipPath",4),C(10,"use",5),p(),c(11,"g",6)(12,"g"),C(13,"polyline",7),p(),C(14,"path",8)(15,"path",9)(16,"path",10)(17,"path",11)(18,"path",12)(19,"path",13)(20,"path",14)(21,"path",15)(22,"path",16)(23,"path",17)(24,"path",18)(25,"path",19)(26,"path",20),p()()()(),Ie()),e&2&&(r(2),d("href",n.content.link.url,M)("target",n.content.link.target),se("aria-label",n.content.link.heading))},dependencies:[Q,ae],encapsulation:2})};var Zs=["app-logo-platimpak",""],Ys=[[["","preview-actions",""]]],Js=["[preview-actions]"],An=class i extends $e{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-logo-platimpak",""]],features:[z],attrs:Zs,ngContentSelectors:Js,decls:38,vars:3,consts:[[3,"preClick","href","target"],["ver
108sion","1.1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 259.1 148.8"],["type","text/css"],["y","0","width","259.1","height","148.8",1,"st0"],["id","Black","d","M237.8,96.8v-66c0,0,0-9.7-9-9.7H103.2v85.1h125.6C228.8,106.3,237.8,106.3,237.8,96.8"],["id","Cyan","d","M30.3,21.1c0,0-9,0-9,9.6v65.9c0,0,0,9.6,9,9.6h72.9V21.1H30.3z",1,"st1"],["id","k","points","167.4,92.1 173.9,92.1 173.9,80.5 181.7,92.1 189.6,92.1 180.5,79.4 188.7,67.9 181.2,67.9 173.9,78.7 173.9,63.4 167.4,60.8 ",1,"st2"],["id","a","d","M155.8,85c-2.5,2.7-6.7,2.8-9.3,0.4c-0.1-0.1-0.2-0.2-0.4-0.4c-2.6-2.8-2.6-7.2,0-10 c2.5-2.7,6.6-2.9,9.3-0.4c0.1,0.1,0.3,0.3,0.4,0.4C158.4,77.8,158.4,82.2,155.8,85 M159.5,71.4c-2.3-2.3-5.3-3.5-8.5-3.5 s-6.3,1.2-8.6,3.5c-4.8,4.8-4.8,12.5,0,17.2c2.3,2.3,5.4,3.6,8.6,3.6l0,0c2.4,0,4.8-0.7,6.8-2.1l5.2,1.8V80 C163,76.8,161.8,73.7,159.5,71.4",1,"st2"],["id","m","d","M195.8,57.9V44.7l0,0c0.3-5.2,4.8-9.2,10.1-8.9c2.3,0.1,4.4,1.1,6,2.6c3.8-3.7,9.8-3.6,13.4,0.2 c1.7,1.8,2.7,4.2,2.7,6.7v12.6h-5.9V45c0-2-1.6-3.6-3.6-3.6s-3.6,1.6-3.6,3.6l0,0c0,0.1,0,12.9,0,12.9H209V45c0.1-2-1.4-3.7-3.4-3.8 s-3.7,1.4-3.8,3.4c0,0.1,0,0.3,0,0.4c0,0.1,0,12.9,0,12.9H195.8z",1,"st2"],["id","\xED","d","M190.7,29.4l-3.6,4.9h4.5l4.9-4.9H190.7z M186.5,57.8h5.9V36h-5.9V57.8z",1,"st2"],["id","t","d","M180.8,52.6c-1.6,0.2-3.1-1-3.3-2.6c0-0.2,0-0.5,0-0.7v-8.5h2.6l3.2-4.8h-5.9v-4.4l-5.7-2.2V36h-4.1v4.8 h3.9V50c0,4.8,2.9,7.8,7.8,7.8h0.6l3.6-5.3L180.8,52.6z",1,"st2"],["id","a-2","d","M159.3,51.5c-2.2,2.4-6,2.6-8.5,0.4c-0.1-0.1-0.2-0.2-0.4-0.4c-2.4-2.6-2.4-6.6,0-9.1 c2.2-2.4,6-2.6,8.5-0.4c0.1,0.1,0.2,0.2,0.4,0.4C161.7,44.9,161.7,48.9,159.3,51.5 M162.7,39.1c-4.3-4.3-11.4-4.3-15.7,0.1 c-4.3,4.3-4.3,11.4,0.1,15.7c2.1,2,4.9,3.2,7.8,3.2l0,0c2.2,0,4.4-0.6,6.2-1.9l4.8,1.6V46.9C165.9,44,164.8,41.1,162.7,39.1",1,"st2"],["id","l","points","135.1,29.4 141,31.7 141,57.8 135.1,57.8 ",1,"st2"],["id","shape_00000017482901414712173140000018276003628091321015_","d","M84.6,56.7L49.4,32.1c-3-2.1-7.3-1.4-9.4,1.7 l0,0c-0.9,1.3-1.3,2.9-1.2,4.4V64c0,3.7,3,6.8,6.8,6.8l0,0c3.7,0,6.8-3,6.8-6.8V50.6L69,62.2L41.6,81.4c-3,2.1-3.8,6.4-1.7,9.4 s6.4,3.8,9.4,1.7l34.8-24.4c0.8-0.5,1.5-1.1,2.1-1.9C88.4,63.1,87.6,58.9,84.6,56.7z",1,"st2"],["id","P-2","d","M132.3,39.2c0.1,5.3-4.2,9.7-9.5,9.8c-0.2,0-0.3,0-0.5,0h-4.8v8.8h-6.1V29.5h10.9 M124.1,67.8 c6.9,0,12.1,5.2,12.1,12.2s-5.1,12.2-12.1,12.2c-2.4,0-4.6-0.7-6.3-1.9v9.6h-6.2V68.1v-0.3l5.8,2.2 C119.2,68.4,121.2,67.8,124.1,67.8L124.1,67.8z M129.8,80.1c0-3.6-2.7-6.3-6.3-6.3c-3.6,0-6.3,2.7-6.3,6.3c0,3.6,2.7,6.3,6.3,6.3 C127.2,86.4,129.8,83.7,129.8,80.1 M132.3,39.3c0,5.6-4.3,9.8-10,9.8h-4.8V58h-6.1V29.5h10.9C128,29.5,132.3,33.7,132.3,39.3 M126.2,39.3c0-2.4-1.6-4.1-4-4.1h-4.5v8.1h4.5C124.5,43.3,126.2,41.6,126.2,39.3 M126.2,39.2c0.1-2.1-1.5-4-3.7-4.1 c-0.1,0-0.2,0-0.3,0h-4.5v8.1h4.5c2.1,0.1,3.9-1.6,4-3.8C126.2,39.5,126.2,39.4,126.2,39.2",1,"st2"],["d","M87.4,115.5h2.7c1.2,0,2.2,0.1,2.8,0.3c1.2,0.5,2,1.5,2,2.9c0,0.6-0.1,0.9-0.4,1.5c-0.6,1.2-1.8,1.7-3.8,1.7 l4.3,5.6h-1.5l-4.3-5.6h-0.7v5.6h-1.2L87.4,115.5L87.4,115.5z M88.6,116.7v4.1c0.7,0,1.4,0,2,0c1,0,1.8-0.1,2.3-0.5 c0.4-0.4,0.7-0.9,0.7-1.5c0-1.2-0.8-2-2.6-2L88.6,116.7L88.6,116.7z",1,"st3"],["d","M104.7,118.7h1.1v8.8h-1.1V126c-1,1.2-2.2,1.7-3.6,1.7c-2.6,0-4.5-2.1-4.5-4.7c0-2.5,2-4.6,4.6-4.6 c1.4,0,2.6,0.6,3.5,1.8V118.7z M97.8,123.1c0,1.9,1.5,3.6,3.5,3.6c1.8,0,3.5-1.4,3.5-3.6c0-2-1.5-3.6-3.5-3.6 C99.2,119.5,97.8,121.2,97.8,123.1z",1,"st3"],["d","M110.1,115.9c0,0.5-0.4,0.9-0.9,0.9s-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9S110.1,115.4,110.1,115.9z M108.6,118.7 h1.1v8.8h-1.1V118.7z",1,"st3"],["d","M112.8,117.3c0-1.4,0.3-2.3,1.8-2.3c0.5,0,0.9,0.1,1.3,0.2v1.1c-0.3-0.1-0.6-0.3-1.1-0.3 c-0.9,0-0.9,0.6-0.9,1.4v1.2h1.9v1h-1.9v7.8h-1.1v-7.8h-1.2v-1h1.2C112.8,118.6,112.8,117.3,112.8,117.3z",1,"st3"],["d","M118.5,117.3c0-1.4,0.4-2.3,1.8-2.3c0.5,0,0.9,0.1,1.3,0.2v1.1c-0.3-0.1-0.6-0.3-1.1-0.3 c-0.9,0-0.9,0.6-0.9,1.4v1.2h1.9v1h-1.9v7.8h-1.1v-7.8h-1.2v-1h1.2C118.5,118.6,118.5,117.3,118.5,117.3z",1,"st3"],["d","M123.6,123.2c0,2,1.4,3.5,3.3,3.5c1.8,0,2.7-1,3.4-2.1l1,0.5c-0.9,1.8-2.3,2.6-4.2,2.6c-2.9,0-4.6-2.2-4.6-4.6 s1.8-4.7,4.5-4.7c2.5,0,4.5,1.8,4.6,4.7L123.6,123.2L123.6,123.2z M130.3,122.2c-0.5-1.8-1.8-2.6-3.3-2.6c-1.6,0-2.8,0.9-3.3,2.6 H130.3z",1,"st3"],["d","M135.2,115.9c0,0.5-0.4,0.9-1,0.9s-0.9-0.4-0.9-0.9s0.4-0.9,0.9-0.9C134.8,115,135.2,115.4,135.2,115.9z M133.7,118.7h1.1v8.8h-1.1V118.7z",1,"st3"],["d","M137.4,125.7c0.6,0.6,1.2,1,1.8,1c0.9,0,1.6-0.6,1.6-1.5c0-0.5-0.3-1-0.7-1.2c-2-1.1-3.1-1.6-3.1-3.2 c0-1.4,1.1-2.3,2.4-2.3c1,0,1.7,0.5,2.4,1.2l-0.7,0.8c-0.5-0.5-1.1-0.9-1.8-0.9s-1.3,0.5-1.3,1.2c0,0.4,0.3,0.9,0.7,1.2 c2,1.2,3.2,1.6,3.2,3.2c0,1.4-1.1,2.6-2.7,2.6c-1,0-2-0.5-2.6-1.3L137.4,125.7z",1,"st3"],["d","M144.9,123.2c0,2,1.4,3.5,3.3,3.5c1.8,0,2.7-1,3.4-2.1l0.9,0.5c-0.9,1.8-2.3,2.6-4.2,2.6 c-2.9,0-4.6-2.2-4.6-4.6s1.8-4.7,4.5-4.7c2.5,0,4.5,1.8,4.6,4.7L144.9,123.2L144.9,123.2z M151.6,122.2c-0.5-1.8-1.8-2.6-3.3-2.6 c-1.6,0-2.8,0.9-3.3,2.6H151.6z",1,"st3"],["d","M156.2,120.2c0.9-1.2,2-1.8,3.3-1.8c1.9,0,3.3,1.3,3.3,4.1v5h-1.1v-4.8c0-2.1-0.7-3.2-2.4-3.2 c-1,0-1.7,0.4-2.3,1.2c-0.7,0.9-0.8,1.7-0.8,3.1v3.7h-1.1v-8.8h1.1V120.2z",1,"st3"],["d","M166.7,127.5h-1.1v-12.3h1.1v4.9c1-1.2,2.2-1.7,3.5-1.7c2.6,0,4.5,2.1,4.5,4.7c0,2.5-2,4.6-4.6,4.6 c-1.4,0-2.6-0.6-3.5-1.9v1.7H166.7z M173.6,123.1c0-1.9-1.5-3.6-3.5-3.6c-1.8,0-3.5,1.3-3.5,3.6c0,2,1.5,3.6,3.5,3.6 C172.2,126.6,173.6,125,173.6,123.1z",1,"st3"],["d","M184.8,118.7h1.1v8.8h-1.1V126c-1,1.2-2.2,1.7-3.6,1.7c-2.6,0-4.5-2.1-4.5-4.7c0-2.5,2-4.6,4.6-4.6 c1.4,0,2.6,0.6,3.5,1.8V118.7z M177.8,123.1c0,1.9,1.5,3.6,3.5,3.6c1.8,0,3.5-1.4,3.5-3.6c0-2-1.5-3.6-3.5-3.6 S177.8,121.2,177.8,123.1z",1,"st3"],["d","M189.8,120.2c0.9-1.2,2-1.8,3.3-1.8c1.9,0,3.3,1.3,3.3,4.1v5h-1.1v-4.8c0-2.1-0.7-3.2-2.4-3.2 c-1,0-1.7,0.4-2.3,1.2c-0.7,0.9-0.8,1.7-0.8,3.1v3.7h-1.1v-8.8h1.1V120.2z",1,"st3"],["d","M199.2,115.2h1.1v7l4.1-3.6h1.7l-4.8,4.2l5.1,4.6h-1.6l-4.4-4v4h-1.1v-12.2H199.2z",1,"st3"],["d","M220.1,118.7h1.1v8.8h-1.1V126c-1,1.2-2.2,1.7-3.6,1.7c-2.6,0-4.5-2.1-4.5-4.7c0-2.5,2-4.6,4.6-4.6 c1.4,0,2.6,0.6,3.5,1.8V118.7z M213.2,123.1c0,1.9,1.5,3.6,3.5,3.6c1.8,0,3.5-1.4,3.5-3.6c0-2-1.5-3.6-3.5-3.6 S213.2,121.2,213.2,123.1z",1,"st3"],["d","M226.1,126.7c0,0.6-0.5,1-1,1c-0.6,0-1-0.5-1-1s0.4-1,1-1C225.7,125.7,226.1,126.2,226.1,126.7z",1,"st3"],["d","M228.9,125.7c0.6,0.6,1.2,1,1.8,1c0.9,0,1.6-0.6,1.6-1.5c0-0.5-0.3-1-0.7-1.2c-2-1.1-3.1-1.6-3.1-3.2 c0-1.4,1.1-2.3,2.4-2.3c1,0,1.7,0.5,2.4,1.2l-0.7,0.8c-0.5-0.5-1.1-0.9-1.8-0.9s-1.3,0.5-1.3,1.2c0,0.4,0.3,0.9,0.7,1.2 c2,1.2,3.2,1.6,3.2,3.2c0,1.4-1.1,2.6-2.7,2.6c-1,0-2-0.5-2.6-1.3L228.9,125.7z",1,"st3"],["d","M237.8,126.7c0,0.6-0.4,1-1,1s-1-0.5-1-1s0.4-1,1-1C237.4,125.7,237.8,126.2,237.8,126.7z",1,"st3"]],template:function(e,n){e&1&&(Y(Ys),J(0),ke(1),c(2,"a",0),y("preClick",function(){return n.logoClicked()}),Xe(),c(3,"svg",1)(4,"style",2),_(5," .st0{fill:none;} .st1{fill:#65C9D7;} .st2{fill:#FFFFFF;} .st3{fill:#75787B;} "),p(),c(6,"g"),C(7,"rect",3),p(),C(8,"path",4)(9,"path",5)(10,"polygon",6)(11,"path",7)(12,"path",8)(13,"path",9)(14,"path",10)(15,"path",11)(16,"polygon",12)(17,"path",13)(18,"path",14),c(19,"g"),C(20,"path",15)(21,"path",16)(22,"path",17)(23,"path",18)(24,"path",19)(25,"path",20)(26,"path",21)(27,"path",22)(28,"path",23)(29,"path",24)(30,"path",25)(31,"path",26)(32,"path",27)(33,"path",28)(34,"path",29)(35,"path",30)(36,"path",31)(37,"path",32),p()()(),Ie()),e&2&&(r(2),d("href",n.content.link.url,M)("target",n.content.link.target),se("aria-label",n.content.link.heading))},dependencies:[Q,ae],encapsulation:2})};var Xs=["ulElem"],el=["app-quick-nav",""],tl=[[["","preview-actions",""]]],nl=["[preview-actions]"],il=(i,t)=>({opened:i,"has-submenu":t}),ia=(i,t)=>({"with-icon":i,"icon-left":t});function ol(i,t){if(i&1&&(c(0,"span",5),_(1),p()),i&2){let e=l(2);r(),S(e.content.goUpLabel)}}function al(i,t){if(i&1&&C(0,"span"),i&2){let e=l(2);F(Z("icon ",e.content.goUpIcon))}}function rl(i,t){if(i&1){let e=P();c(0,"li",3)(1,"button",4),y("click",function(){v(e);let o=l();return b(o.goUp())}),h(2,ol,2,1,"span",5),h(3,al,1,3,"span",6),p()()}if(i&2){let e=l();r(),d("title",lt(e.content.goUpLabel)),r(),f(e.content.goUpLabel?2:-1),r(),f(e.content.goUpIcon?3:-1)}}function sl(i,t){if(i&1&&C(0,"span"),i&2){let e=l(3).$implicit;F(Z("icon ",e.icon))}}function ll(i,t){if(i&1&&(c(0,"span",11),_(1),p(),h(2,sl,1,3,"span",6)
108),i&2){let e=l(2),n=e.$implicit,o=e.$index,a=l();d("id",Le("",a.idPrefix,"_item_",o,"_label")),r(),S(n.link.heading),r(),f(n.icon?2:-1)}}function cl(i,t){i&1&&U(0)}function pl(i,t){if(i&1){let e=P();c(0,"button",12),y("click",function(o){v(e);let a=l(2).$implicit,s=l();return b(s.linkClicked(o,a))}),k(1,cl,1,0,"ng-container",13),p()}if(i&2){l();let e=B(2),n=l(),o=n.$implicit,a=n.$index,s=l();F(Et("btn ",o.appearance," ",o.cssClassIconOnly," ",o.cssClassFunctional)),se("aria-labelledby",Le("",s.idPrefix,"_item_",a,"_label")),d("ngClass",qe(10,ia,!!o.icon,!!o.icon)),r(),d("ngTemplateOutlet",e)}}function ml(i,t){i&1&&U(0)}function dl(i,t){if(i&1){let e=P();c(0,"a",14),y("click",function(o){v(e);let a=l(2).$implicit,s=l();return b(s.linkClicked(o,a))}),k(1,ml,1,0,"ng-container",13),p()}if(i&2){l();let e=B(2),n=l(),o=n.$implicit,a=n.$index,s=l();F(Et("btn ",o.appearance," ",o.cssClassIconOnly," ",o.cssClassFunctional)),se("aria-labelledby",Le("",s.idPrefix,"_item_",a,"_label")),d("href",o.link.url,M)("target",o.link.target)("ngClass",qe(12,ia,!!o.icon,!!o.icon)),r(),d("ngTemplateOutlet",e)}}function ul(i,t){if(i&1){let e=P();c(0,"div",10)(1,"button",15),y("click",function(o){v(e);let a=l(2).$implicit,s=l();return b(s.linkClicked(o,a))}),C(2,"span",16),p(),c(3,"div",17),y("linkClicked",function(o){v(e);let a=l(3);return b(a.trackComponentClickWithTarget(o))}),p()()}if(i&2){let e=l(2),n=e.$implicit,o=e.$index,a=l();r(3),d("idPrefix",`${a.idPrefix}_item_${o}_headerMenuItems_`)("items",n.productNavigationSubItems.productNavigationSubItem)}}function gl(i,t){if(i&1&&(c(0,"li",8),k(1,ll,3,5,"ng-template",null,1,ue),h(3,pl,2,13,"button",7)(4,dl,2,15,"a",9),h(5,ul,4,2,"div",10),p()),i&2){let e=l().$implicit,n=l();F(e.cssClassItem),d("ngClass",qe(5,il,e.active,e.productNavigationSubItems.productNavigationSubItem.length>0)),r(3),f(n.CommonUtil.isEmptyOrNull(e.link.url)||e.link.url==="#"?3:4),r(2),f(e.productNavigationSubItems.productNavigationSubItem.length>0?5:-1)}}function _l(i,t){if(i&1&&h(0,gl,6,8,"li",7),i&2){let e=t.$implicit;f(e.overallVisible?0:-1)}}var Rn=class i extends me{items=T([]);mappingShowOnDesktopIn={hide:"segment-row-hidden product-row-hidden",segment:"product-row-hidden",product:"segment-row-hidden","segment-product":""};mappingShowOnMobileIn={hide:"header-row-hidden footer-row-hidden",header:"footer-row-hidden",footer:"header-row-hidden","header-footer":""};mappingIconOnlyShowOnDesktopIn={hide:"icon-only-desktop-segment icon-only-desktop-product",segment:"icon-only-desktop-product",product:"icon-only-desktop-segment","segment-product":""};mappingIconOnlyShowOnMobileIn={hide:"icon-only-mobile-header icon-only-mobile-footer",header:"icon-only-mobile-footer",footer:"icon-only-mobile-header","header-footer":""};ulElem;loggedInEffect=Te(()=>{this.state.loggedIn(),this.utilsRb.setGaasRoleRestriction(this.items());let t=this.items().map(e=>e.link);t.push(...At.getSubItemsLinks(this.items())),this.utilsRb.prepareUrls(t),this.items().forEac
108h(e=>i.computeOverallVisibility(e)),this.items.set(this.items())});formStepButtonsEffect=Te(()=>{let t=this.stateRb.formStepButtons();console.info(`${this.anchorName} incoming formStepButtons: count=${t.length}`);let e=this.items().filter(n=>n.synchronizeWithForm);e.forEach(n=>{n.formItemDisplayed=!1,console.info(`${this.anchorName} hiding:`,n),i.computeOverallVisibility(n)});for(let n of t){let o=n.label(),a=n.fieldDto.icon??"",s=e.find(m=>m.link.heading===o&&m.icon===a);s!=null&&(s.formItemDisplayed=!0,console.info(`${this.anchorName} showing:`,s),i.computeOverallVisibility(s))}this.items.set(this.items())});ngOnInit(){super.ngOnInit();let t=JSON.parse(JSON.stringify(this.content.items.quickNavItem));this.utilsRb.prepareGaasRoleRestriction(t),this.utilsRb.prepareUrls(t),t.forEach(e=>{if(e.icon=e.icon??"",e.link.heading=e.link.heading??"",e.icon.length===0&&e.link.heading.length===0)return;let n=`${this.mappingShowOnDesktopIn[e.showOnDesktopIn]} ${this.mappingShowOnMobileIn[e.showOnMobileIn]}`,o=e.icon?`${this.mappingIconOnlyShowOnDesktopIn[e.showLabelOnDesktopIn]} ${this.mappingIconOnlyShowOnMobileIn[e.showLabelOnMobileIn]}`:"",a="";e.link.linkClassItems.linkClassItem.forEach(s=>{a+=` ${s}`,s==="form-skip"&&(e.isFormSkip=!0)}),e.cssClassItem=n,e.cssClassIconOnly=o,e.cssClassFunctional=a,i.computeOverallVisibility(e)}),this.items.set(t)}afterClientViewInit(){}goUp(){G.windowScrollTo(0)}static computeOverallVisibility(t){if(t.hiddenByRoleRestriction){t.overallVisible=!1;return}if(t.isFormSkip){t.overallVisible=!1;return}if(t.synchronizeWithForm&&!t.formItemDisplayed){t.overallVisible=!1;return}t.overallVisible=!0}linkClicked(t,e){if(e.link.url==="#"&&t.preventDefault(),this.trackComponentClick(t),Qe.onButtonClick("Header",e.link.heading),e.isFormSkip){t.preventDefault(),this.formSkipTriggered();return}if(e.synchronizeWithForm){t.preventDefault(),console.info("form button clicked:",e);let n=`${e.link.heading}_${e.icon}`;this.stateRb.formStepButtonClickedExternally.next(n);return}if(e.productNavigationSubItems.productNavigationSubItem.length>0){t.preventDefault(),e.active=!e.active,console.warn("active=",e.active),this.setMenuItemOpenedPostprocess(e.active),this.changeDetectorRef.markForCheck();return}if(e.cssClassFunctional.includes("search-panel-open")){t.preventDefault(),this.state.openSearchPanel.emit(null);return}}setMenuItemOpenedPostprocess(t){console.debug("setMenuItemOpenedPostprocess - itemOpened="+t),t?setTimeout(()=>{je.setMainNavOpened(!0)},1):je.setMainNavOpened(!1)}formSkipTriggered(){this.state.formSkip.emit(null)}handleOutsideClick(t){super.outsideClick(t,()=>{let e=!1;
108this.items().forEach(n=>{n.active&&(e=!0),n.active=!1}),this.items.set(this.items()),e&&this.setMenuItemOpenedPostprocess(!1)})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-quick-nav",""]],viewQuery:function(e,n){if(e&1&&ze(Xs,5),e&2){let o;Me(o=De())&&(n.ulElem=o.first)}},hostBindings:function(e,n){e&1&&y("click",function(a){return n.handleOutsideClick(a)},Ee)},features:[z],attrs:el,ngContentSelectors:nl,decls:7,vars:1,consts:[["ulElem",""],["linkInner",""],[1,"list"],[1,"product-row-hidden","segment-row-hidden"],["aria-label","Scroll Up",1,"btn","link","with-icon","icon-left","icon-only-desktop-product",3,"click","title"],[1,"text"],[3,"class"],[3,"class","ngClass"],[3,"ngClass"],[3,"href","target","class","ngClass"],[1,"submenu","bg-default"],[1,"text",3,"id"],[3,"click","ngClass"],[4,"ngTemplateOutlet"],[3,"click","href","target","ngClass"],["aria-label","Close",1,"close",3,"click"],[1,"icon","rb-icon-uniE631"],["app-header-menu-items","",1,"groups",3,"linkClicked","idPrefix","items"]],template:function(e,n){e&1&&(Y(tl),J(0),ke(1),c(2,"ul",2,0),h(4,rl,4,4,"li",3),D(5,_l,1,1,null,null,V),p(),Ie()),e&2&&(r(4),f(n.content.goUpIcon||n.content.goUpLabel?4:-1),r(),L(n.items()))},dependencies:[Q,Ce,Fe,ae,Nt],encapsulation:2})};var hl=["app-efa-cash-register",""],fl=[[["","preview-actions",""]]],Cl=["[preview-actions]"];function yl(i,t){if(i&1&&(Ve(0,"table",0)(1,"tbody")(2,"tr")(3,"td",1),_(4,"Kasi\u010Dka"),Be(),Ve(5,"td",2),_(6),Qt(7,"number"),Be()(),Ve(8,"tr")(9,"td",1),_(10,"Platnost"),Be(),Ve(11,"td",2),_(12),Qt(13,"date"),Be()()()()),i&2){let e=l();r(6),ve("",go(7,2,e.efaBonus.bonusAmount,"1.0-2",e.lang),"\xA0K\u010D"),r(6),S(pn(13,6,e.efaBonus.date,"dd. MM. yyyy"))}}var On=class i extends Yo{efaBonus=null;ngOnInit(){super.ngOnInit(),this.efaBonus=this.stateRb.efaBonus.getValue(),this.stateRb.efaBonus.subscribe(t=>{console.debug("efaBonus now:",t),this.efaBonus=t})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-efa-cash-register",""]],features:[z],attrs:hl,ngContentSelectors:Cl,decls:2,vars:1,consts:[[2,"display","none"],[1,"label"],[1,"value"]],template:function(e,n){e&1&&(Y(fl),J(0),h(1,yl,14,9,"table",0)),e&2&&(r(),f(n.efaBonus!==null?1:-1))},dependencies:[Q,yo,mn],encapsulation:2})};var vl=["googleButton"],bl=["facebookButton"],Sl=["app-rb-club-login-profile",""],xl=[[["","preview-actions",""]]],wl=["[preview-actions]"];function Pl(i,t){if(i&1&&(c(0,"li")(1,"a",18)(2,"span",4),_(3),p()()()),i&2){let e=t.$implicit;r(),d("href",e.url,M),r(2),S(e.heading)}}function Tl(i,t){if(i&1){let e=P();c(0,"div",5)(1,"div",8),y("click",function(){v(e);let o=l();return b(o.toggleShowSubmenu())}),C(2,"span",9),p(),c(3,"div",10)(4,"div",11)(5,"div",12)(6,"ul",13),D(7,Pl,4,2,"li",null,V),c(9,"li")(10,"a",14),y("click",function(){v(e);let o=l();return b(o.logoutLinkClicked())}),c(11,"span",4),_(12),p()()(),C(13,"li",15),c(14,"li")(15,"div",16,0),y("onLoggedInStatusChange",function(o){v(e);let a=l();return b(a.thirdpartyLoggedInStatusChanged(o))}),p()(),c(17,"li")(18,"div",17,1),y("onLoggedInStatusChange",function(o){v(e);let a=l();return b(a.thirdpartyLoggedInStatusChanged(o))}),p()()()()()()()}if(i&2){let e=B(16),n=B(19),o=l();r(7),L(o.content.links.link),r(5),S(o.content.logoutLabel),r(2),F(Z("sign-in-social google ",e&&e.locallyLoggedIn()?"logged-in active":"")),r(),d("labelLoggedIn",o.content.googleButtonLoggedInLabel)("labelLoggedOut",o.content.googleButtonLoggedOutLabel)("clientId",o.siteConfiguration.get("googleClientId")??""),r(2),F(Z("sign-in-social facebook ",n&&n.locallyLoggedIn()?"logged-in active":"")),r(),d("labelLoggedIn",o.content.facebookButtonLoggedInLabel)("labelLoggedOut",o.content.facebookButtonLoggedOutLabel)("appId",o.siteConfiguration.get("facebookAppId")??"")}}function El(i,t){if(i&1){let e=P();c(0,"div",26),y("onLogInClicked",function(){v(e);let o=l(2);return b(o.googleLoginClicked())}),p()}if(i&2){let e=l(2);d("labelLoggedIn",e.content.googleButtonLoggedOutLabel)("labelLoggedOut",e.content.googleButtonLoggedOutLabel)("clientId",e.siteConfiguration.get("googleClientId")??"")}}function kl(i,t){if(i&1){let e=P();c(0,"div",27),y("onLogInClicked",function(){v(e);let o=l(2);return b(o.facebookLoginClicked())}),p()}if(i&2){let e=l(2);d("labelLoggedIn",e.content.facebookButtonLoggedOutLabel)("labelLoggedOut",e.content.facebookButtonLoggedOutLabel)("appId",e.siteConfiguration.get("facebookAppId")??"")}}function Il(i,t){if(i&1){let e=P();c(0,"div",6)(1,"div",8),y("click",function(){v(e);let o=l();return b(o.closePopupLoginSocial())}),C(2,"span",9),p(),c(3,"div",19)(4,"h3"),_(5),p(),C(6,"div",20),c(7,"div",21),h(8,El,1,3,"div",22),h(9,kl,1,3,"div",23),p(),C(10,"div",24),c(11,"div",21)(12,"a",25),y("click",function(){v(e);let o=l();return b(o.closePopupLoginSocial())}),c(13,"span",4),_(14),p()()()()()}if(i&2){let e=l();r(5),S(e.content.loginSocialPopupHeading),r(),d("innerHTML",e.content.loginSocialPopupPerex,ie),r(2),f(e.content.googleButtonEnabled?8:-1),r(),f(e.content.facebookButtonEnabled?9:-1),r(),d("field",e.stopAskingField),r(4),S(e.content.loginSocialPopupNotNowLabel)}}function Ml(i,t){if(i&1&&C(0,"div",20),i&2){let e=l(3);d("innerHTML",e.content.logoutPopupLoggedOutAllMessage,ie)}}function Dl(i,t){if(i&1&&C(0,"div",20),i&2){let e=l(3);d("innerHTML",e.content.logoutPopupLoggedOutGaasOnlyMessage,ie)}}function Ll(i,t){i&1&&C(0,"div",20),i&2&&d("innerHTML","Error",ie)}function Fl(i,t){if(i&1&&(h(0,Ml,1,1,"div",20),h(1,Dl,1,1,"div",20),h(2,Ll,1,1,"div",20)),i&2){let e=l(2);f(!e.state.loggedIn()&&!e.googleLoggedIn&&!e.facebookLoggedIn?0:-1),r(),f(e.googleLoggedIn||e.facebookLoggedIn?1:-1),r(),f(e.state.loggedIn()&&!(e.googleLoggedIn||e.facebookLoggedIn)?2:-1)}}function Nl(i,t){if(i&1){let e=P();C(0,"div",20)(1,"div",24),c(2,"div",21)(3,"a",25),y("click",function(){v(e);let o=l(2);return b(o.logout())}),c(4,"span",4),_(5),p()()()}if(i&2){let e=l(2);d("innerHTML",e.content.logoutPopupPerex,ie),r(),d("field",e.logoutFromSocialField),r(4),S(e.content.logoutPopupLogoutButtonLabel)}}function Al(i,t){if(i&1){let e=P();c(0,"div",7)(1,"div",8),y("click",function(){v(e);let o=l();return b(o.closePopupLogout())}),C(2,"span",9),p(),c(3,"div",19)(4,"h3"),_(5),p(),h(6,Fl,3,3)(7,Nl,6,3),p()()}if(i&2){let e=l();r(5),S(e.content.logoutPopupHeading),r(),f(e.logoutJustPerformed()?6:7)}}var Vn=class i extends me{googleButton;facebookButton;logoutFromSocialSites=!1;googleLoggedIn=!1;facebookLoggedIn=!1;showLoginSocialPopup=T(!1);showLogoutPopup=T(!1);showLoginSocialPopupTimeout=null;logoutJustPerformed=T(!1);displayName=T("");showSubmenu=T(!1);socialPopupClosedCookieName="rbclubLoginProfile_socialPopupClosed";stopAskingField=nt.EMPTY_FORM_FIELD;logoutFromSocialField=new Dt(Je(Se({},nt.EMPTY_FORM_FIELD_DTO),{name:"logoutFromSocial",type:"checkbox"}),this.state);loggedInEffect=Te(async()=>{let t=this.state.loggedIn();this.setWrapperActive(t&&!this.showLogoutPopup()),t&&(this.tryShowLoginSocialDialog(),await this.stateRb.loadGaasUserData()),this.changeDetectorRef.detectChanges()});ngOnInit(){super.ngOnInit(),this.state.canShowGlobalLoggedOutDialog=!1,this.displayName.set(this.content.heading),this.stopAskingField=new Dt(Je(Se({},nt.EMPTY_FORM_FIELD_DTO),{name:"stopAsking",label:this.content.loginSocialPopupStopAskingNextTime,type:"checkbox"}),this.state),this.setWrapperActive(!1),this.stateRb.gaasUserData.subscribe(t=>{this.displayName.set(t.isEmpty?"":`${t.firstName} ${t.lastName}`)}),this.state.backdropClicked.subscribe(t=>{this.showLoginSocialPopup()&&this.closePopupLoginSocial(),this.showLogoutPopup.set(!1),this.setWrapperActive(this.state.loggedIn()&&!this.showLogoutPopup()),this.removePopupBodyClass()}),this.logoutFromSocialField.label.set(this.content.logoutPopupSocialLogoutLabel),this.logoutFromSocialField.valueChange.subscribe(t=>{this.logoutFromSocialSites=t==="true"})}setWrapperActive(t){super.setWrapperActive(t,".rb-club-login-profile-inner")}toggleShowSubmenu(){this.showSubmenu.set(!this.showSubmenu),this.showSubmenu()?this.openSubmenu():this.hideSubmenu()}openSubmenu(){this.showSubmenu.set(!0),this.elementRef.nativeElement.classList.add("opened"),document.body.classList.add("rb-club-login-profile-opened")}hideSubmenu(){this.showSubmenu.set(!1),this.elementRef.nativeElement.classList.remove("opened"),document.body.classList.remove("rb-club-login-profile-opened")}logout(){console.debug("logoutFromSocialSites:",this.logoutFromSocialSites),this.logoutFromSocialSites&&(console.debug("googleButton:",this.googleButton),console.debug("facebookButton:",this.facebookButton),this.googleButton&&this.googleButton.logout(),this.googleLoggedIn=!1,this.facebookButton&&this.facebookButton.logout(),this.facebookLoggedIn=!1),this.stateRb.logoutFromGaas(t=>{t&&this.googleLoggedIn!==!0&&this.facebookLoggedIn!==!0&&this.stateRb.setLoggedIn(!1),this.logoutJustPerformed.set(!0)})}logoutLinkClicked(){this.showSubmenu.set(!1),this.hideSubmenu(),this.logoutJustPerformed.set(!1),this.showLogoutPopup.set(!0),this.addPopupBodyClass()}googleLoginClicked(){console.debug("googleLoginClicked"),this.googleButton&&this.googleButton.logIn()}facebookLoginClicked(){console.debug("facebookLoginClicked"),this.facebookButton&&this.facebookButton.logIn()}thirdpartyLoggedInStatusChanged(t){console.debug("thirdpartyLoggedInStatusChanged: ",t),t.type==="facebook"?(this.facebookLoggedIn=t.loggedIn,this.facebookLoggedIn&&this.tryShowLoginSocialDialog()):t.type==="google"&&(this.googleLoggedIn=t.loggedIn,this.googleLoggedIn&&this.tryShowLoginSocialDialog())}async tryShowLoginSocialDialog(){console.debug(`tryShowLoginSocialDialog: gaasLoggedIn=${this.state.loggedIn()} facebookLoggedIn=${this.facebookLoggedIn}, googleLoggedIn=${this.googleLoggedIn}`);let t=this.state.loggedIn()&&this.facebookLoggedIn===!1&&this.googleLoggedIn===!1;if(console.debug("showDialog="+t),clearTimeout(this.showLoginSocialPopupTimeout),console.debug("showing social dialog task canceled"),!t){this.showLoginSocialPopup()&&(console.debug("close dialog"),this.showLoginSocialPopup.set(!1),this.removePopupBodyClass());return}if(console.debug("showing social dialog..."),await this.isSocialPopupAlreadyClosed()){console.debug("social dialog was closed before -> not showing");return}this.showLoginSocialPopupTimeout=setTimeout(()=>{this.showLoginSocialPopup.set(!0),this.addPopupBodyClass(),this.changeDetectorRef.detectChanges(),console.debug("social dialog showed")},1500),console.debug("show social dialog scheduled")}async isSocialPopupAlreadyClosed(){return window.localStorage.getItem(this.socialPopupClosedCookieName)==="true"?!0:await G.getCookieValue(this.socialPopupClosedCookieName)==="true"}closePopupLoginSocial(){this.showLoginSocialPopup.set(!1),this.removePopupBodyClass(),this.stopAskingField.value==="true"?window.localStorage.setItem(this.socialPopupClosedCookieName,"true"):document.cookie="rbclubLoginProfile_socialPopupClosed=true; path=/"}closePopupLogout(){this.showLogoutPopup.set(!1),this.setWrapperActive(this.state.loggedIn()&&!this.showLogoutPopup()),this.removePopupBodyClass()}handleOutsideClick(t){super.outsideClick(t,()=>{this.hideSubmenu()})}convertToString(t){return String(t)}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-rb-club-login-profile",""]],viewQuery:function(e,n){if(e&1&&ze(vl,5)(bl,5),e&2){let o;Me(o=De())&&(n.googleButton=o.first),Me(o=De())&&(n.facebookButton=o.first)}},hostBindings:function(e,n){e&1&&y("click",function(a){return n.handleOutsideClick(a)},Ee)},features:[z],attrs:Sl,ngContentSelectors:wl,decls:9,vars:7,consts:[["googleButton",""],["facebookButton",""],[1,"rb-club-login-profile-inner"],[1,"label",3,"click"],[1,"text"],[1,"submenu","bg-default"],[1,"backdrop-overlay-content","popup-social","bg-style1"],[1,"backdrop-overlay-content","popup-logout","bg-style1"],[1,"close",3,"click"],[1,"icon","rb-icon-uniE631"],[1,"groups"],[1,"group"],[1,"item","links","wide"],[1,"style1"],[3,"click"],[1,"separator"],["app-sign-in-button-google-atom","",3,"onLoggedInStatusChange","labelLoggedIn","labelLoggedOut","clientId"],["app-sign-in-button-facebook-atom","",3,"onLoggedInStatusChange","labelLoggedIn","labelLoggedOut","appId"],[3,"href"],[1,"container"],[1,"perex","wysiwyg","letters-small",3,"innerHTML"],[1,"btn-set"],["app-sign-in-button-google-atom","",1,"sign-in-social","google",3,"labelLoggedIn","labelLoggedOut","clientId"],["app-sign-in-button-facebook-atom","",1,"sign-in-social","facebook",3,"labelLoggedIn","labelLoggedOut","appId"],["app-form-field-atom","",3,"field"],[1,"btn","primary",3,"click"],["app-sign-in-button-google-atom","",1,"sign-in-social","google",3,"onLogInClicked","labelLoggedIn","labelLoggedOut","clientId"],["app-sign-in-button-facebook-atom","",1,"sign-in-social","facebook",3,"onLogInClicked","labelLoggedIn","labelLoggedOut","appId"]],template:function(e,n){e&1&&(Y(xl),J(0),c(1,"div",2)(2,"span",3),y("click",function(){return n.toggleShowSubmenu()}),c(3,"span",4),_(4),p(),C(5,"span"),p(),h(6,Tl,20,13,"div",5),p(),h(7,Il,15,6,"div",6),h(8,Al,8,2,"div",7)),e&2&&(r(4),S(n.displayName()||n.content.heading),r(),F(Z("icon ",n.content.profileIcon)),r(),f(n.showSubmenu()?6:-1),r(),f(n.showLoginSocialPopup()?7:-1),r(),f(n.showLogoutPopup()?8:-1))},dependencies:[Q,ae,Go,Wo,Lt],encapsulation:2})};var Rl=["app-efa-login-profile",""],Ol=[[["","preview-actions",""]]],Vl=["[preview-actions]"];function Bl(i,t){if(i&1&&(Ve(0,"span"),_(1),Be()),i&2){let e=t.$implicit;r(),S(e)}}var Bn=class i extends me{userName=T("");ngOnInit(){super.ngOnInit(),this.stateRb.gaasUserData.subscribe(t=>{this.userName.set(t.isEmpty?"":`${t.firstName} ${t.lastName}`)})}afterClientLoggingInFinished(){this.state.loggedIn()&&this.stateRb.loadGaasUserData()}logout(){this.stateRb.logoutFromGaas()}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-efa-login-profile",""]],features:[z],attrs:Rl,ngContentSelectors:Vl,decls:15,vars:3,consts:[[1,"list"],[1,"user-name"],[1,"roles"],[1,"label"],[1,"value"],[1,"logout"],[1,"btn","link","icon-only-desktop-product","icon-only-mobile-header","with-icon","icon-left",3,"click"],[1,"text"],[1,"icon","uds-icon-exit"]],template:function(e,n){e&1&&(Y(Ol),J(0),Ve(1,"ul",0)(2,"li",1),_(3),Be(),Ve(4,"li",2)(5,"span",3),_(6),Be(),Ve(7,"span",4),D(8,Bl,2,1,"span",null,V),Be()(),Ve(10,"li",5)(11,"span",6),po("click",function(){return n.logout()}
108),Ve(12,"span",7),_(13),Be(),co(14,"span",8),Be()()()),e&2&&(r(3),S(n.userName()),r(3),S(n.content.roleLabel),r(2),L(n.stateRb.gaasRoles()),r(5),S(n.content.logoutLabel))},dependencies:[Q],encapsulation:2})};var zl=["htmlItems"],Ul=["app-segment-navigation",""],$l=[[["","preview-actions",""]]],Hl=["[preview-actions]"],ql=i=>({opened:i}),jl=i=>({active:i});function Ql(i,t){if(i&1){let e=P();c(0,"li",5,0)(2,"a",6),y("click",function(o){v(e);let a=l(2);return b(a.trackComponentClick(o))}),_(3),p()()}if(i&2){let e=l().$implicit;d("ngClass",$(4,jl,e.active)),r(2),d("href",e.url,M)("app-tooltip",e.tooltip),r(),S(e.label)}}function Kl(i,t){if(i&1&&h(0,Ql,4,6,"li",5),i&2){let e=t.$implicit;f(e.hiddenByRoleRestriction?-1:0)}}var zn=class i extends me{activeSegmentLabel="";menuOpened=T(!1);items=T([]);scheduleHorizontalDetectionTimeout=null;htmlItems=new rn;loggedInEffect=Te(()=>{this.state.loggedIn();let t=this.utilsRb.setGaasRoleRestriction(this.items());this.utilsRb.prepareUrls(this.items()),this.items.set(this.items()),t&&setTimeout(()=>this.onResize(),10)});static CLASS_HORIZONTAL="horizontal";ngOnInit(){super.ngOnInit(),this.activeSegmentLabel=this.content.otherSegments;let t=this.content.segmentNavigationItems.segmentNavigationItem.map(o=>Se({},o));this.utilsRb.prepareGaasRoleRestriction(t),this.utilsRb.prepareUrls(t);let e=this.pageMetadata.url,n=this.utilsRb.setActiveItem(t,e);n!==null&&(this.activeSegmentLabel=n.label),this.items.set(t)}afterClientViewInit(){setTimeout(()=>this.onResize(),1e3)}menuClicked(){this.menuOpened.set(!this.menuOpened()),this.state.segmentNavigationOpenedClosed.emit(this.elementRef.nativeElement)}scheduleHorizontalDetection(){clearTimeout(this.scheduleHorizontalDetectionTimeout),this.scheduleHorizontalDetectionTimeout=setTimeout(()=>{this.detectAndSetHorizontal()},100)}detectAndSetHorizontal(){let t=this.elementRef.nativeElement;t.classList.remove(i.CLASS_HORIZONTAL);let e=t.clientWidth;t.classList.add(i.CLASS_HORIZONTAL);let n=0;this.htmlItems.forEach(o=>{let a=o.nativeElement;a.style.display="inline-block",n+=a.clientWidth,a.style.display=null,t.classList.contains(i.CLASS_HORIZONTAL)||(n-=10)}),e>n?t.classList.add(i.CLASS_HORIZONTAL):t.classList.remove(i.CLASS_HORIZONTAL)}onResize(){this.scheduleHorizontalDetection()}handleOutsideClick(t){super.outsideClick(t,()=>{this.menuOpened()&&this.state.languageSelectionOpenedClosed.emit(this.elementRef.nativeElement),this.menuOpened.set(!1)})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-segment-navigation",""]],viewQuery:function(e,n){if(e&1&&ze(zl,5),e&2){let o;Me(o=De())&&(n.htmlItems=o)}},hostBindings:function(e,n){e&1&&y("resize",function(){return n.onResize()},st)("click",function(a){return n.handleOutsideClick(a)},Ee)},features:[z],attrs:Ul,ngContentSelectors:Hl,decls:9,vars:9,consts:[["htmlItems",""],[1,"dropdown",3,"ngClass"],[1,"label",3,"click"],[1,"text"],[1,"list"],[3,"ngClass"],["tooltipPosition","bottom",3,"click","href","app-tooltip"]],template:function(e,n){e&1&&(Y($l),J(0),c(1,"div",1)(2,"button",2),y("click",function(){return n.menuClicked()}),c(3,"span",3),_(4),p(),C(5,"span"),p(),c(6,"ul",4),D(7,Kl,1,1,null,null,V),p()()),e&2&&(r(),d("ngClass",$(7,ql,n.menuOpened())),r(),se("aria-expanded",n.menuOpened())("aria-label",n.menuOpened()?"collapse segment menu":"expand segment menu"),r(2),S(n.activeSegmentLabel),r(),F(Z("icon ",n.content.otherSegmentsIcon)),r(2),L(n.items()))},dependencies:[Q,Ce,Ro],encapsulation:2})};var Gl=["app-language-selection",""],Wl=[[["","preview-actions",""]]],Zl=["[preview-actions]"],Yl=i=>({opened:i}),oa=(i,t)=>({label:i,icon:t}),Jl=i=>({active:i}),Xl=(i,t)=>t.url;function ec(i,t){if(i&1&&(c(0,"span"),C(1,"span",7)(2,"span",8)(3,"span",9)(4,"span",10)(5,"span",11)(6,"span",12)(7,"span",13)(8,"span",14)(9,"span",15)(10,"span",16)(11,"span",17)(12,"span",18)(13,"span",19)(14,"span",20),p(),c(15,"span",21),_(16),p()),i&2){let e=t.label,n=t.icon;F(Z("icon ",n)),r(16),S(e)}}function tc(i,t){i&1&&U(0)}function nc(i,t){i&1&&U(0)}function ic(i,t){if(i&1){let e=P();c(0,"li",6)(1,"a",22),y("click",function(){let o=v(e).$implicit,a=l();return b(a.changeLanguage(o))}),k(2,nc,1,0,"ng-container",3),p()()}if(i&2){let e=t.$implicit;l();let n=B(3);d("ngClass",$(5,Jl,e.active)),r(),d("href",e.url??"",M)("preventDefault",!0),r(),d("ngTemplateOutlet",n)("ngTemplateOutletContext",qe(7,oa,e.label,e.icon))}}var Un=class i extends me{activeLanguageLabel="";activeLanguageIcon="";menuOpened=!1;languageMutations=[];ngOnInit(){super.ngOnInit(),this.languageMutations=this.content.langVersions.languageSelectionLangVersion.map(t=>{let e=Je(Se({},t),{sibling:!0,icon:this.getIconCssClass(t.langMutation),active:this.pageMetadata.langMutation===t.langMutation});this.content.mapCsToHr&&t.langMutation==="cs"&&(e.label="HR",e.icon=this.getIconCssClass("hr")),e.active&&(this.activeLanguageLabel=e.label,this.activeLanguageIcon=e.icon);for(let n of this.pageMetadata.availableLanguages)n.language===e.langMutation&&(e.url=n.nearestUrl,e.sibling=n.sibling);return e})}getIconCssClass(t){let e=t;return e=e==="cs"?"cz":e,e=e==="en"?"gb":e,`uds-flag-${e}`}menuClicked(){this.menuOpened=!this.menuOpened,this.state.languageSelectionOpenedClosed.emit
108(this.elementRef.nativeElement)}setLeftAccordingSegmentNav(){let t=this.elementRef.nativeElement,e=t.querySelector(":scope .dropdown > .label");e.style.left=null;let n=t.parentElement.querySelector(":scope > .segment-navigation .dropdown > .label");if(console.debug("segmentLabelElem:",n),n===null)return;let o=G.getStyleSizePx(n,"left")+G.getStyleSizePx(n,"padding-left")+G.getStyleSizePx(n,"padding-right")+n.clientWidth;console.debug("segmentLabelElem - left",o),e.style.left=`${Math.round(o)}px`}changeLanguage(t){if(console.debug("changeLanguage:",t),t.active){window.location.reload();return}let e=t.url??"";t.sibling&&(e+=window.location.search+window.location.hash),console.debug("changeLanguage url:",e),window.location.href=e}handleOutsideClick(t){super.outsideClick(t,()=>{this.menuOpened&&this.state.languageSelectionOpenedClosed.emit(this.elementRef.nativeElement),this.menuOpened=!1})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-language-selection",""]],hostBindings:function(e,n){e&1&&y("click",function(a){return n.handleOutsideClick(a)},Ee)},features:[z],attrs:Gl,ngContentSelectors:Zl,decls:11,vars:9,consts:[["langMutTemplate",""],[1,"dropdown","dropdown-icon-behind",3,"ngClass"],[1,"label",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"trigger-icon"],[1,"list"],[3,"ngClass"],[1,"path1"],[1,"path2"],[1,"path3"],[1,"path4"],[1,"path5"],[1,"path6"],[1,"path7"],[1,"path8"],[1,"path9"],[1,"path10"],[1,"path11"],[1,"path12"],[1,"path13"],[1,"path14"],[1,"text"],[3,"click","href","preventDefault"]],template:function(e,n){if(e&1&&(Y(Wl),J(0),ke(1),k(2,ec,17,4,"ng-template",null,0,ue),c(4,"div",1)(5,"button",2),y("click",function(){return n.menuClicked()}),k(6,tc,1,0,"ng-container",3),C(7,"span",4),p(),c(8,"ul",5),D(9,ic,3,10,"li",6,Xl),p()(),Ie()),e&2){let o=B(3);r(4),d("ngClass",$(4,Yl,n.menuOpened)),r(),se("aria-expanded",n.menuOpened),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",qe(6,oa,n.activeLanguageLabel,n.activeLanguageIcon)),r(3),L(n.languageMutations)}},dependencies:[Q,Ce,Fe,ae],encapsulation:2})};var oc=["app-application-menu",""],ac=[[["","preview-actions",""]]],rc=["[preview-actions]"];function sc(i,t){if(i&1){let e=P();c(0,"li")(1,"a",1),y("preClick",function(){let o=v(e).$implicit,a=l();return b(a.itemClicked(o.heading))}),C(2,"span"),c(3,"span",2),_(4),p()()()}if(i&2){let e=t.$implicit;r(),d("href",e.url,M)("target",e.target),r(),F(Z("icon ",e.icon)),r(2),S(e.heading)}}var Rt=class i extends me{itemClicked(t){Qe.onButtonClick("Sidebar",t)}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-application-menu",""]],features:[z],attrs:oc,ngContentSelectors:rc,decls:4,vars:0,consts:[[1,"list"],[1,"menu-item",3,"preClick","href","target"],[1,"text"]],template:function(e,n){e&1&&(Y(ac),J(0),c(1,"ul",0),D(2,sc,5,6,"li",null,V),p()),e&2&&(r(2),L(n.content.items.linkWithIcon))},dependencies:[Q,ae],encapsulation:2})};var lc=["app-breadcrumb",""],cc=[[["","preview-actions",""]]],pc=["[preview-actions]"];function mc(i,t){if(i&1&&(c(0,"li")(1,"a",1)(2,"span"),_(3),p()()()),i&2){let e=l().$implicit;r(),d("href",e.url,M),r(2),S(e.menuLabel)}}function dc(i,t){if(i&1&&h(0,mc,4,2,"li"),i&2){let e=t.$index;f(e>0?0:-1)}}var Ot=class i extends me{jsonLd={};ngOnInit(){super.ngOnInit(),this.createJsonLd()}createJsonLd(){if(G.SSR)return;let t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},e=this.state.getSiteOrigin(),n=0;for(let o of this.pageMetadata.parentPages)n++,t.itemListElement.push({"@type":"ListItem",position:n,name:o.menuLabel??"",item:`${e}${o.url}`});t.itemListElement.push({"@type":"ListItem",position:n+1,name:this.pageMetadata.menuLabel??"",item:`${e}${this.pageMetadata.url}`}),this.jsonLd=t}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-breadcrumb",""]],features:[z],attrs:lc,ngContentSelectors:pc,decls:9,vars:3,consts:[[1,"list"],[3,"href"],[3,"json"]],template:function(e,n){e&1&&(Y(cc),J(0),c(1,"ol",0),D(2,dc,1,1,null,null,V),c(4,"li")(5,"a",1)(6,"span"),_(7),p()()()(),C(8,"ngx-json-ld",2)),e&2&&(r(2),L(n.pageMetadata.parentPages),r(3),d("href",n.pageMetadata.url,M),r(2),S(n.pageMetadata.menuLabel),r(),d("json",n.jsonLd))},dependencies:[Q,ae,wn],encapsulation:2})};var uc=["app-layout022-page",""],gc=i=>({sticky:i}),_e=i=>({componentData:i});function _c(i,t){if(i&1){let e=P();c(0,"div",16),y("actionTriggered",function(o){let a=v(e).componentData,s=l();return b(s.previewActionTriggered(o,a))}),p()}if(i&2){let e=t.componentData;d("componentData",e)("movingEnabled",!1)}}function hc(i,t){i&1&&U(0,20)}function fc(i,t){if(i&1&&(c(0,"div",18),k(1,hc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(Z("bg-style1 ",n.wrapperClass)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Cc(i,t){if(i&1&&(oe(0),h(1,fc,2,8,"div",17)),i&2){let e,n=t.$implicit,o=te(n.component);
108r(),f((e=o.name)==="searchPanelAspect"?1:-1)}}function yc(i,t){if(i&1&&C(0,"div",4),i&2){let e=l();d("pageData",e.pageData())}}function vc(i,t){if(i&1&&C(0,"div",6),i&2){let e=l();d("innerHTML",e.stateRb.headerTitle(),ie)}}function bc(i,t){i&1&&U(0,20)}function Sc(i,t){if(i&1&&(c(0,"div",22),k(1,bc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function xc(i,t){if(i&1&&(oe(0),h(1,Sc,2,8,"div",21)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="productNavigationAspect"?1:-1)}}function wc(i,t){i&1&&U(0,20)}function Pc(i,t){if(i&1&&(c(0,"div",29),k(1,wc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("title",lt(n.content.link.heading))("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(8,_e,e))}}function Tc(i,t){i&1&&U(0,20)}function Ec(i,t){if(i&1&&(c(0,"div",30),k(1,Tc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("title",lt(n.content.link.heading))("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(8,_e,e))}}function kc(i,t){i&1&&U(0,20)}function Ic(i,t){if(i&1&&(c(0,"div",31),k(1,kc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("title",lt(n.content.link.heading))("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(8,_e,e))}}function Mc(i,t){i&1&&U(0,20)}function Dc(i,t){if(i&1&&(c(0,"div",32),k(1,Mc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("title",lt(n.content.link.heading))("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(8,_e,e))}}function Lc(i,t){i&1&&U(0,20)}function Fc(i,t){if(i&1&&(c(0,"div",33),k(1,Lc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("title",lt(n.content.link.heading))("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(8,_e,e))}}function Nc(i,t){i&1&&U(0,20)}function Ac(i,t){if(i&1&&(c(0,"div",34),k(1,Nc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Rc(i,t){if(i&1&&(oe(0),h(1,Pc,2,10,"div",23)(2,Ec,2,10,"div",24)(3,Ic,2,10,"div",25)(4,Dc,2,10,"div",26)(5,Fc,2,10,"div",27)(6,Ac,2,8,"div",28)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="logoRbAspect"?1:e==="logoRbInverseAspect"?2:e==="logoFwrAspect"?3:e==="logoPbAspect"?4:e==="logoPlatimpakAspect"?5:e==="htmlSnippetAspect"?6:-1)}}function Oc(i,t){i&1&&U(0,20)}function Vc(i,t){if(i&1&&(c(0,"div",36),k(1,Oc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Bc(i,t){if(i&1&&(oe(0),h(1,Vc,2,8,"div",35)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="quickNavAspect"?1:-1)}}function zc(i,t){i&1&&U(0,20)}function Uc(i,t){if(i&1&&(c(0,"div",41),k(1,zc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function $c(i,t){i&1&&U(0,20)}function Hc(i,t){if(i&1&&(c(0,"div",42),k(1,$c,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function qc(i,t){i&1&&U(0,20)}function jc(i,t){if(i&1&&(c(0,"div",43),k(1,qc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Qc(i,t){i&1&&U(0,20)}function Kc(i,t){if(i&1&&(c(0,"div",44),k(1,Qc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Gc(i,t){if(i&1&&(oe(0),h(1,Uc,2,8,"div",37)(2,Hc,2,8,"div",38)(3,jc,2,8,"div",39)(4,Kc,2,8,"div",40)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="loginElementGaasAspect"?1:e==="efaCashRegisterAspect"?2:e==="rbClubLoginProfileAspect"?3:e==="efaLoginProfileAspect"?4:-1)}}function Wc(i,t){i&1&&U(0,20)}function Zc(i,t){if(i&1&&(c(0,"div",46),k(1,Wc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function Yc(i,t){if(i&1&&(oe(0),h(1,Zc,2,8,"div",45)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="segmentNavigationAspect"?1:-1)}}
108function Jc(i,t){i&1&&U(0,20)}function Xc(i,t){if(i&1&&(c(0,"div",48),k(1,Jc,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function ep(i,t){if(i&1&&(oe(0),h(1,Xc,2,8,"div",47)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="languageSelectionAspect"?1:-1)}}function tp(i,t){i&1&&U(0,20)}function np(i,t){if(i&1&&(c(0,"div",50),k(1,tp,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0)("trackingInternallyAllowed",!1),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(7,_e,e))}}function ip(i,t){if(i&1&&(oe(0),h(1,np,2,9,"div",49)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="productNavigationAspect"?1:-1)}}function op(i,t){i&1&&U(0,20)}function ap(i,t){if(i&1&&(c(0,"div",52),k(1,op,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(n.wrapperClass),d("componentData",e)("trackingInternallyAlwaysVisible",!0)("trackingInternallyAllowed",!1),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(7,_e,e))}}function rp(i,t){if(i&1&&(oe(0),h(1,ap,2,9,"div",51)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="quickNavAspect"?1:-1)}}function sp(i,t){i&1&&U(0)}function lp(i,t){if(i&1&&(c(0,"a",10),k(1,sp,1,0,"ng-container",53),p()),i&2){let e=l(),n=B(31);d("href",e.pageData().metadata.url,M),r(),d("ngTemplateOutlet",n)}}function cp(i,t){i&1&&U(0)}function pp(i,t){if(i&1){let e=P();c(0,"button",54),y("click",function(){v(e);let o=l();return b(o.mainNavLabelClicked())}),k(1,cp,1,0,"ng-container",53),p()}if(i&2){let e=l(),n=B(31);se("aria-expanded",e.stateRb.mainNavOpened()),r(),d("ngTemplateOutlet",n)}}function mp(i,t){i&1&&(c(0,"div",55),C(1,"span",56)(2,"span",57),p())}function dp(i,t){i&1&&U(0,20)}function up(i,t){if(i&1&&(c(0,"div",59),k(1,dp,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(Le("",n.wrapperClass," ",n.content.position)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(7,_e,e))}}function gp(i,t){if(i&1&&(oe(0),h(1,up,2,9,"div",58)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="applicationMenuAspect"?1:-1)}}function _p(i,t){i&1&&U(0,20)}function hp(i,t){if(i&1&&(c(0,"div",61),k(1,_p,1,0,"ng-container",19),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(Z("letters-small ",n.wrapperClass)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,_e,e))}}function fp(i,t){if(i&1&&(oe(0),h(1,hp,2,8,"div",60)),i&2){let e,n=t.$implicit,o=te(n.component);
108r(),f((e=o.name)==="breadcrumbAspect"?1:-1)}}function Cp(i,t){if(i&1&&C(0,"div",14),i&2){l();let e=I(38);d("contentComponents",e.components)("pagePartNodeRefInitial",e.id)("isPopup",!0)}}function yp(i,t){}function vp(i,t){if(i&1&&(c(0,"div",15),k(1,yp,0,0,"ng-template",62),p()),i&2){l();let e=I(40);r(),d("appDynamicComponent",e.component)("bindings",e.bindings)}}var $n=class i extends dt{static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-layout022-page",""]],features:[z],attrs:uc,decls:42,vars:15,consts:[["previewActionsTemplate",""],["header",""],["mainNavLabelInner",""],[1,"backdrop",3,"click"],["app-page-messages","",1,"messages",3,"pageData"],[1,"header",3,"ngClass"],[1,"header-title",3,"innerHTML"],[1,"logo-row"],[1,"main-nav",3,"cdkTrapFocus"],[1,"dropdowns"],[1,"main-nav-label",3,"href"],["aria-label","Main Menu",1,"main-nav-label"],[1,"header-placeholder"],["app-page-content","",1,"page-wrapper",3,"contentComponents","pagePartNodeRefInitial"],["app-page-content","",1,"popup-container",3,"contentComponents","pagePartNodeRefInitial","isPopup"],[1,"popup-container"],["app-preview-actions-atom","",3,"actionTriggered","componentData","movingEnabled"],["app-search-panel","",3,"class","componentData"],["app-search-panel","",3,"componentData"],["preview-actions","",4,"ngTemplateOutlet","ngTemplateOutletContext"],["preview-actions",""],["app-product-navigation","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-product-navigation","",3,"componentData","trackingInternallyAlwaysVisible"],["app-logo-rb","",3,"class","title","componentData","trackingInternallyAlwaysVisible"],["app-logo-rb-inverse","",3,"class","title","componentData","trackingInternallyAlwaysVisible"],["app-logo-fwr","",3,"class","title","componentData","trackingInternallyAlwaysVisible"],["app-logo-pb","",2,"background","rgba(0, 0, 0, 1)",3,"class","title","componentData","trackingInternallyAlwaysVisible"],["app-logo-platimpak","",3,"class","title","componentData","trackingInternallyAlwaysVisible"],["app-html-snippet","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-logo-rb","",3,"title","componentData","trackingInternallyAlwaysVisible"],["app-logo-rb-inverse","",3,"title","componentData","trackingInternallyAlwaysVisible"],["app-logo-fwr","",3,"title","componentData","trackingInternallyAlwaysVisible"],["app-logo-pb","",2,"background","rgba(0, 0, 0, 1)",3,"title","componentData","trackingInternallyAlwaysVisible"],["app-logo-platimpak","",3,"title","componentData","trackingInternallyAlwaysVisible"],["app-html-snippet","",3,"componentData","trackingInternallyAlwaysVisible"],["app-quick-nav","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-quick-nav","",3,"componentData","trackingInternallyAlwaysVisible"],["app-login-element","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-efa-cash-register","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-rb-club-login-profile","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-efa-login-profile","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-login-element","",3,"componentData","trackingInternallyAlwaysVisible"],["app-efa-cash-register","",3,"componentData","trackingInternallyAlwaysVisible"],["app-rb-club-login-profile","",3,"componentData","trackingInternallyAlwaysVisible"],["app-efa-login-profile","",3,"componentData","trackingInternallyAlwaysVisible"],["app-segment-navigation","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-segment-navigation","",3,"componentData","trackingInternallyAlwaysVisible"],["app-language-selection","",3,"class","componentData","trackingInternallyAlwaysVisible"],["app-language-selection","",3,"componentData","trackingInternallyAlwaysVisible"],["app-product-navigation","",3,"class","componentData","trackingInternallyAlwaysVisible","trackingInternallyAllowed"],["app-product-navigation","",3,"componentData","trackingInternallyAlwaysVisible","trackingInternallyAllowed"],["app-quick-nav","",3,"class","componentData","trackingInternallyAlwaysVisible","trackingInternallyAllowed"],["app-quick-nav","",3,"componentData","trackingInternallyAlwaysVisible","trackingInternallyAllowed"],[4,"ngTemplateOutlet"],["aria-label","Main Menu",1,"main-nav-label",3,"click"],[1,"ico"],[1,"icon","rb-icon-uniE632"],[1,"icon","rb-icon-uniE631"],["app-application-menu","",3,"class","componentData"],["app-application-menu","",3,"componentData"],["app-breadcrumb","",3,"class","componentData"],["app-breadcrumb","",3,"componentData"],[3,"appDynamicComponent","bindings"]],template:function(e,n){if(e&1&&(c(0,"div",3),y("click",function(){return n.backdropClicked()}),p(),k(1,_c,1,2,"ng-template",null,0,ue),D(3,Cc,2,2,null,null,V),h(5,yc,1,1,"div",4),c(6,"div",5,1),h(8,vc,1,1,"div",6),c(9,"div",7),D(10,xc,2,2,null,null,V),D(12,Rc,7,2,null,null,V),D(14,Bc,2,2,null,null,V),D(16,Gc,5,2,null,null,V),p(),c(18,"div",8)(19,"div",9),D(20,Yc,2,2,null,null,V),D(22,ep,2,2,null,null,V),p(),D(24,ip,2,2,null,null,V),D(26,rp,2,2,null,null,V),h(28,lp,2,2,"a",10)(29,pp,2,2,"button",11),p(),k(30,mp,3,0,"ng-template",null,2,ue),p(),C(32,"div",12),D(33,gp,2,2,null,null,V),D(35,fp,2,2,null,null,V),C(37,"div",13),oe(38),h(39,Cp,1,3,"div",14),oe(40),h(41,vp,2,2,"div",15)),e&2){r(3),L(n.firstRowComponents()),r(2),f(n.utils.ampRender?-1:5),r(),d("ngClass",$(13,gc,n.headerIsSticky()||n.utils.ampRender)),r(2),f(n.stateRb.headerTitle().length>0?8:-1),r(2),L(n.mainNavigationComponents()),r(2),L(n.logoRowComponents()),r(2),L(n.mainNavigationComponents()),r(2),L(n.mainNavigationComponents()),r(2),d("cdkTrapFocus",n.stateRb.mainNavOpened()),r(2),L(n.mainNavigationComponents()),r(2),L(n.mainNavigationComponents()),r(2),L(n.mainNavigationComponents()),r(2),L(n.mainNavigationComponents()),r(2),f(n.utils.ampRender?28:29),r(4),ln("height",n.headerPlaceholderHeight()+"px"),r(),L(n.applicationMenuRowComponents()),r(2),L(n.breadcrumbRowComponents()),r(2),d("c
108ontentComponents",n.getComponents("content-12-a-row").concat(n.getComponents("content-12-b-row")).concat(n.getComponents("content-12-c-row")).concat(n.getComponents("footer-row")))("pagePartNodeRefInitial",n.getPagePartNodeRef("content-12-a-row")),r();let o=te(n.getPagePart("application-row"));r(),f(o!=null?39:-1),r();let a=te(n.currentModalModel());r(),f(a.isPresent?41:-1)}},dependencies:[Q,Ce,Fe,In,Sn,bn,Mn,At,Dn,Ln,Fn,Nn,An,Ko,Rn,Zo,On,Vn,Bn,zn,Un,Rt,Ot,Pn,fn,Mt],encapsulation:2})};var ra=i=>({clickable:i}),Sp=i=>({"display-grid":i}),xp=i=>({active:i});function wp(i,t){if(i&1){let e=P();c(0,"span",1),y("click",function(){let o=v(e).$index,a=l();return b(a.triggerPathElement(o))}),_(1),p()}if(i&2){let e=t.$implicit,n=t.$index,o=l();d("ngClass",$(2,ra,o.relativePathElements().length>n+1)),r(),S(e.name)}}function Pp(i,t){i&1&&C(0,"div",3)}function Tp(i,t){i&1&&(c(0,"span",4),_(1),p()),i&2&&(r(),S(t))}function Ep(i,t){if(i&1){let e=P();c(0,"div",17),y("click",function(){v(e);let o=l(2);return b(o.goUp())}),c(1,"span",9),_(2,".."),p()()}}function kp(i,t){if(i&1){let e=P();c(0,"div",17),y("click",function(){v(e);let o=l().$implicit,a=l(2);return b(a.triggerChild(o))}),C(1,"span",18),p()}if(i&2){let e=l().$implicit;r(),d("innerHTML",e.title,ie)}}function Ip(i,t){if(i&1&&h(0,kp,2,1,"div",12),i&2){let e=t.$implicit;f(e.isFolder?0:-1)}}function Mp(i,t){if(i&1&&C(0,"img",21),i&2){let e=l(2).$implicit,n=l(2);d("src",n.currentFolderPath()+"/"+e.name,M)}}function Dp(i,t){if(i&1){let e=P();c(0,"div",20),y("dblclick",function(){v(e);let o=l().$implicit,a=l(2);return b(a.triggerChild(o))})("click",function(){v(e);let o=l().$implicit,a=l(2);return b(a.selectChild(o))}),h(1,Mp,1,1,"img",21),C(2,"span",18),p()}if(i&2){let e=l().$implicit,n=l(2);d("ngClass",$(3,xp,e.selected)),r(),f(n.fileDisplayMode()===n.FileDisplayMode.GRID?1:-1),r(),d("innerHTML",e.title,ie)}}function Lp(i,t){if(i&1&&h(0,Dp,3,5,"div",19),i&2){let e=t.$implicit;f(e.isFolder?-1:0)}}function Fp(i,t){if(i&1){let e=P();c(0,"button",22),y("click",function(){v(e);let o=l(2);return b(o.newFolder.set(!0))}),C(1,"span",23),c(2,"span",9),_(3),p()()}if(i&2){let e=l(2);r(3),S(e.labelButtonNewFolder())}}function Np(i,t){if(i&1&&(C(0,"div",3),c(1,"span",9),_(2),p()),i&2){let e=l(2);r(2),ve("",e.labelCreating(),"\u2026")}}function Ap(i,t){if(i&1&&(c(0,"span",4),_(1),p()),i&2){let e=l(3);r(),S(e.newFolderErrorMessage())}}function Rp(i,t){if(i&1){let e=P();c(0,"input",24),jt("ngModelChange",function(o){v(e);let a=l(2);return qt(a.newFolderName,o)||(a.newFolderName=o),b(o)}),p(),c(1,"a",22),y("click",function(){v(e);let o=l(2);return b(o.createNewFolder())}),_(2),p(),c(3,"a",22),y("click",function(){v(e);let o=l(2);return o.newFolder.set(!1),b(o.newFolderName.set(""))}),_(4),p(),h(5,Ap,2,1,"span",4)}if(i&2){let e=l(2);Ht("ngModel",e.newFolderName),r(2),S(e.labelButtonSave()),r(2),S(e.labelButtonCancel()),r(),f(e.newFolderErrorMessage().length>0?5:-1)}}function Op(i,t){if(i&1&&(C(0,"div",3),c(1,"span",9),_(2),p()),i&2){let e=l(3);r(2),ft("",e.labelUploading()," ",e.newFileUploadProgress(),"%")}}function Vp(i,t){if(i&1){let e=P();c(0,"span",27),_(1),p(),c(2,"button",22),y("click",function(){v(e);let o=l(4);return b(o.uploadFile())}),_(3),p()}if(i&2){let e=l(4);r(),S(e.newFileName()),r(2),S(e.labelButtonUpload())}}function Bp(i,t){if(i&1&&(c(0,"span",4),_(1),p()),i&2){let e=l(4);r(),S(e.newFileUploadErrorMessage())}}function zp(i,t){if(i&1){let e=P();c(0,"input",25),y("change",function(o){v(e);let a=l(3);return b(a.onFileChange(o))}),p(),c(1,"label",26),_(2),p(),h(3,Vp,4,2),h(4,Bp,2,1,"span",4)}if(i&2){let e=l(3);r(2),S(e.labelUploadNewFile());let n=e.newFile();r(),f(n!=null?3:-1),r(),f(e.newFileUploadErrorMessage().length>0?4:-1)}}function Up(i,t){if(i&1&&(c(0,"div",16),h(1,Op,3,2)(2,zp,5,3),p()),i&2){let e=l(2);r(),f(e.newFileUploading()?1:2)}}function $p(i,t){if(i&1&&(c(0,"div",10)(1,"div",11),h(2,Ep,3,0,"div",12),D(3,Ip,1,1,null,null,V),p(),c(5,"div",13),D(6,Lp,1,1,null,null,V),p()(),c(8,"div",14)(9,"div",15),h(10,Fp,4,1,"button")(11,Np,3,1)(12,Rp,6,4),p(),h(13,Up,3,1,"div",16),p()),i&2){let e=l();r(2),f(e.goUpEnabled()?2:-1),r(),L(e.currentFolderChildren()),r(2),d("ngClass",$(4,Sp,e.fileDisplayMode()===e.FileDisplayMode.GRID)),r(),L(e.currentFolderChildren()),r(4),f(e.newFolder()?e.newFolderCreating()?11:12:10),r(3),f(e.newFolder()?-1:13)}}var sa=(e=>(e[e.LIST=0]="LIST",e[e.GRID=1]="GRID",e))(sa||{}),Hn=class i{constructor(t){this.http=t;console.debug("alfresco-picker version:",i.VERSION)}http;FileDisplayMode=sa;static VERSION="1.0.0";type=pe.required();siteId=pe.required();serviceUrlPrefix=pe.required();rootPath=pe.required();initialPath=pe.required();labelButtonSubmit=pe("Submit");labelButtonCancel=pe("Cancel");labelButtonSave=pe("Save");labelButtonNewFolder=pe("New Folder");labelButtonUpload=pe("Upload");labelUploadNewFile=pe("Upload new file");labelUploading=pe("Uploading");labelCreating=pe("Creating");fileDisplayMode=T(0);pathFromRoot=T("");rootFolderRef=T("");currentFolderRef=T("");selectedFileName=T("");loading=T(!1);initiallyLoaded=T(!1);callServerErrorMessage=T("");currentFolderChildren=T([]);relativePathElements=T([]);rootPathElement=Ct(()=>{let t=this.rootPath();return t.length===0||t==="/"?"":t.substring(t.lastIndexOf("/")+1)});currentFolderPath=Ct(()=>`${this.rootPath()}${this.pathFromRoot()}`);currentPath=Ct(()=>{let t=this.currentFolderPath();return this.selectedFileName().length>0?`${t}/${this.selectedFileName()}`:t});goUpEnabled=Ct(()=>this.pathFromRoot().length>0);newFolder=T(!1);newFolderName=T("");newFolderCreating=T(!1);newFolderErrorMessage=T("");newFile=T(null);newFileName=T("");newFileUploading=T(!1);newFileUploadProgress=T(0);newFileUploadErrorMessage=T("");close=tt();pickedPath=tt();ngOnInit(){this.type()===1&&this.fileDisplayMode.set(1)}ngAfterViewInit(){this.loadInitialNodeAndPathElements()}loadInitialNodeAndPathElements(){this.loading.set(!0),this.callServerErrorMessage.set("");let t=this.initialPath().length===0?this.rootPath():this.initialPath(),e=t.split("/").length-2;this.http.get(`${this.serviceUrlPrefix()}/node/nodeRef?siteId=${this.siteId()}&path=${encodeURIComponent(t)}`).subscribe({next:n=>{let o=null,a=this.initialPath().substring(this.rootPath().length);if(n.nodeFileType===Uo.NodeFileType.FOLDER?(this.currentFolderRef.set(n.nodeRef),this.pathFromRoot.set(a)):o=n.nodeRef,e>0){let s=encodeURIComponent(n.nodeRef);this.http.get(`${this.serviceUrlPrefix()}/node/ancestors?nodeRef=${s}&depth=${e}`).subscribe({next:m=>{let u=m.ancestor;for(;u!=null;){if(this.currentFolderRef().length===0){this.currentFolderRef.set(u.nodeRef);let g=a.lastIndexOf("/");this.pathFromRoot.set(a.substring(0,g))}u.ancestor!=null?this.relativePathElements().unshift({name:u.name,nodeRef:u.nodeRef}):this.rootFolderRef.set(u.nodeRef),u=u.ancestor}this.loadDirectory(!1,o)},error:m=>{this.loading.set(!1),this.callServerErrorMessage.set("error getting ancestors")}})}else this.rootFolderRef.set(this.currentFolderRef()),this.loadDirectory(!1,o)},error:n=>{this.loading.set(!1),this.callServerErrorMessage.set("error getting nodeRef")}})}loadDirectory(t=!0,e=null){t&&this.selectedFileName.set(""),this.loading.set(!0);let n=encodeURIComponent(this.currentFolderRef()),o=encodeURIComponent("cm:title");this.http.get(`${this.serviceUrlPrefix()}/node/children?nodeRef=${n}&properties=${o}&types=&aspects=`).subscribe({next:a=>{let s=null;this.currentFolderChildren.set(a.children.map(m=>{let u=m.properties.find(x=>x.name==="cm:title").value??null,g={name:m.name,title:u||m.name,icon:m.simplifiedType==="FOLDER"?"uds-icon-folder":"uds-icon-document",nodeRef:m.nodeRef,isFolder:m.simplifiedType==="FOLDER",selected:!1,properties:m.properties};return e===m.nodeRef&&(s=g),g})),s!=null&&this.selectChild(s),this.loading.set(!1),this.initiallyLoaded.set(!0)},error:a=>{this.loading.set(!1),this.callServerErrorMessage.set("error getting children")}})}getRelativePathFromPathElements(){return this.relativePathElements().length===0?"":"/"+this.relativePathElements().map(t=>t.name).join("/")}triggerPathElement(t){if(t!==this.relativePathElements().length-1){if(t===-1)for(;this.relativePathElements().length>0;)this.goUp(!1);else for(;this.relativePathElements().length-1-t>0;)this.goUp(!1);this.loadDirectory()}}triggerChild(t){if(console.debug("triggered child:",t),!t.isFolder){this.selectChild(t),this.pickPath();return}
108this.relativePathElements().push({name:t.name,nodeRef:t.nodeRef}),this.pathFromRoot.set(this.getRelativePathFromPathElements()),this.currentFolderRef.set(t.nodeRef),this.loadDirectory()}goUp(t=!0){this.relativePathElements().pop(),this.pathFromRoot.set(this.getRelativePathFromPathElements()),this.relativePathElements().length>0?this.currentFolderRef.set(this.relativePathElements()[this.relativePathElements().length-1].nodeRef):this.currentFolderRef.set(this.rootFolderRef()),t&&this.loadDirectory()}selectChild(t){console.debug("selectChild:",t),this.currentFolderChildren().forEach(e=>e.selected=!1),t.selected=!0,this.selectedFileName.set(`${t.name}`)}createNewFolder(){this.newFolderCreating.set(!0);let t=this.newFolderName(),e={destination:this.currentFolderRef(),paths:[t]};this.http.post(`${this.serviceUrlPrefix()}/node/mkdirs`,e).subscribe({next:n=>{this.newFolderCreating.set(!1),this.newFolder.set(!1),this.loadDirectory()},error:n=>{console.error("error",n),this.newFolderCreating.set(!1),this.newFolderErrorMessage.set(`HTTP ${n.status}, ${n.statusText}`)}})}onFileChange(t){this.newFile.set(t.target?.files?.item(0)??null),this.newFileUploadErrorMessage.set("");let e=this.newFile();e==null?this.newFileName.set(""):this.newFileName.set(e.name)}uploadFile(){let t=this.newFile();if(t==null)return;let e=new FormData;e.append("file",t),this.newFileUploading.set(!0);let n=encodeURIComponent(this.currentPath()+"/"+this.newFileName()),o=new wo("POST",`${this.serviceUrlPrefix()}/node/contentUpload?siteId=${this.siteId()}&path=${n}&overwrite=false&normalizeFileName=false`,e,{reportProgress:!0,responseType:"json"});this.http.request(o).subscribe({next:a=>{if(a.type===Po.UploadProgress){let s=a.total==null?1:Math.round(100*a.loaded/a.total);this.newFileUploadProgress.set(s);return}a instanceof To&&(this.newFile.set(null),this.newFileUploadProgress.set(0),this.newFileUploading.set(!1),this.loadDirectory())},error:a=>{console.log(a),a.error?.message?this.newFileUploadErrorMessage.set(a.error.message):this.newFileUploadErrorMessage.set("Upload file error"),this.newFile.set(null),this.newFileUploadProgress.set(0),this.newFileUploading.set(!1)}})}isImagePath(t){return["jpg","jpeg","png","webp","avif"].some(e=>t.toLowerCase().endsWith(`.${e}`))}pickPath(){this.pickedPath.emit(this.currentPath()),this.closePicker()}closePicker(){this.close.emit()}static \u0275fac=function(e){return new(e||i)(ce(kt))};static \u0275cmp=A({type:i,selectors:[["alfresco-picker"]],inputs:{type:[1,"type"],siteId:[1,"siteId"],serviceUrlPrefix:[1,"serviceUrlPrefix"],rootPath:[1,"rootPath"],initialPath:[1,"initialPath"],labelButtonSubmit:[1,"labelButtonSubmit"],labelButtonCancel:[1,"labelButtonCancel"],labelButtonSave:[1,"labelButtonSave"],labelButtonNewFolder:[1,"labelButtonNewFolder"],labelButtonUpload:[1,"labelButtonUpload"],labelUploadNewFile:[1,"labelUploadNewFile"],labelUploading:[1,"labelUploading"],labelCreating:[1,"labelCreating"]},outputs:{close:"close",pickedPath:"pickedPath"},decls:19,vars:7,consts:[[1,"path-elements"],[1,"path-element",3,"click","ngClass"],[1,"path-element",3,"ngClass"],["app-progress-spinner-atom","","height","25px"],[1,"error"],[1,"btn-set"],[1,"form-field","form-field-button"],[1,"input-wrapper"],[1,"btn","primary",3,"click"],[1,"text"],[1,"twin-panel"],[1,"items","folders"],[1,"item"],[1,"items","files",3,"ngClass"],[1,"toolbar"],[1,"create-folder"],[1,"upload-file"],[1,"item",3,"click"],[1,"text",3,"innerHTML"],[1,"item",3,"ngClass"],[1,"item",3,"dblclick","click","ngClass"],["alt","",3,"src"],[3,"click"],[1,"icon","uds-icon-doc-new"],["type","text","name","newFolderName",3,"ngModelChange","ngModel"],["id","alfresco-picker-file-input","type","file","name","file",3,"change"],["for","alfresco-picker-file-input"],[1,"info"]],template:function(e,n){if(e&1&&(c(0,"div",0)(1,"span",1),y("click",function(){return n.triggerPathElement(-1)}),_(2),p(),D(3,wp,2,4,"span",2,V),p(),h(5,Pp,1,0,"div",3)(6,Tp,2,1,"span",4)(7,$p,14,6),c(8,"div",5)(9,"div",6)(10,"div",7)(11,"button",8),y("click",function(){return n.pickPath()}),c(12,"span",9),_(13),p()()()(),c(14,"div",6)(15,"div",7)(16,"button",8),y("click",function(){return n.closePicker()}),c(17,"span",9),_(18),p()()()()()),e&2){let o;r(),d("ngClass",$(5,ra,n.relativePathElements().length>0)),r(),S(n.rootPathElement()),r(),L(n.relativePathElements()),r(2),f(n.loading()&&!n.initiallyLoaded()?5:(o=n.callServerErrorMessage())?6:7,o),r(8),S(n.labelButtonSubmit()),r(5),S(n.labelButtonCancel())}},dependencies:[_n,dn,un,gn,Q,Ce,qo],encapsulation:2})};function Hp(i,t){if(i&1){let e=P();c(0,"div",0)(1,"span",1),_(2),p(),c(3,"div",2),y("click",function(){v(e);let o=l();return b(o.modalService.hideModal())}),C(4,"span",3),p(),c(5,"div",4)(6,"alfresco-picker",5),y("close",function(){v(e);let o=l();return o.modalService.hideModal(),b(o.close.emit())})("pickedPath",function(o){v(e);let a=l();
108return b(a.pickedPath.emit(o))}),p()()()}if(i&2){let e=t,n=l();r(2),S(e.dialogNodePickerHeading),r(4),d("type",n.type())("siteId",n.siteId())("rootPath",n.rootPath())("initialPath",n.initialPath())("serviceUrlPrefix",n.state.frontendControllerBaseUri+"/alfresco")("labelButtonSubmit",e.dialogButtonSubmit)("labelButtonCancel",e.dialogButtonCancel)("labelButtonSave",e.dialogButtonSave)("labelButtonNewFolder",e.dialogNodePickerNewFolder)("labelButtonUpload",e.dialogButtonUpload)("labelUploadNewFile",e.dialogNodePickerUploadNewFile)("labelUploading",e.dialogNodePickerUploading)("labelCreating",e.dialogNodePickerCreating)}}var qn=class i extends hn{type=pe.required();siteId=pe.required();rootPath=pe("");initialPath=pe.required();pickedPath=tt();close=tt();ngAfterViewInit(){}ngOnDestroy(){this.modalService.hideModal()}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["app-alfresco-picker-dialog"]],inputs:{type:[1,"type"],siteId:[1,"siteId"],rootPath:[1,"rootPath"],initialPath:[1,"initialPath"]},outputs:{pickedPath:"pickedPath",close:"close"},features:[z],decls:1,vars:1,consts:[[1,"component-wrapper","popup","preview-dialog","fix-height"],[1,"popup-title"],[1,"actions",3,"click"],[1,"icon","preview-icon-close"],[1,"container"],[1,"file-picker",3,"close","pickedPath","type","siteId","rootPath","initialPath","serviceUrlPrefix","labelButtonSubmit","labelButtonCancel","labelButtonSave","labelButtonNewFolder","labelButtonUpload","labelUploadNewFile","labelUploading","labelCreating"]],template:function(e,n){if(e&1&&h(0,Hp,7,14,"div",0),e&2){let o;f((o=(o=n.state.previewConfig())==null?null:o.translations)?0:-1,o)}},dependencies:[Hn],encapsulation:2})};function qp(i,t){i&1&&(c(0,"div",11),_(1,"Unable to load indexed data."),p())}function jp(i,t){if(i&1&&C(0,"li",20),i&2){let e=t.$implicit;d("innerHTML",e,ie)}}function Qp(i,t){if(i&1&&(c(0,"li"),C(1,"span",19),c(2,"ul"),D(3,jp,1,1,"li",20,V),p()()),i&2){let e=t.$implicit;r(),d("innerHTML",e.keyword,ie),r(2),L(e.alternatives)}}function Kp(i,t){if(i&1&&(c(0,"div",12)(1,"ul")(2,"li")(3,"div",13)(4,"span",14),_(5,"Timestamp Generated: "),p(),C(6,"span",15),p()(),c(7,"li")(8,"div",16)(9,"span",14),_(10,"Timestamp For Page: "),p(),C(11,"span",15),p()(),c(12,"li")(13,"div",17)(14,"span",14),_(15,"Summary: "),p(),C(16,"span",15),p()(),c(17,"li")(18,"div",18)(19,"span",14),_(20,"Keywords: "),p(),c(21,"ul"),D(22,Qp,5,1,"li",null,V),p()()()()()),i&2){let e=t,n=e.generatedIndexData;r(6),d("innerHTML",e.generatedTimestamp,ie),r(5),d("innerHTML",e.generatedForPageModified,ie),r(5),d("innerHTML",n.summary,ie),r(6),L(n.keywords)}}function Gp(i,t){if(i&1&&(h(0,qp,2,0,"div",11),h(1,Kp,24,3,"div",12)),i&2){let e,n=l(2);f(n.loadingFailed()?0:-1),r(),f((e=n.llmIndexData())?1:-1,e)}}function Wp(i,t){if(i&1&&h(0,Gp,2,2),i&2){let e=l();f(e.loading()?-1:0)}}function Zp(i,t){i&1&&(c(0,"div",6),_(1,"Page search-indexing is disabled."),p())}function Yp(i,t){if(i&1&&(c(0,"a",8)(1,"span",21),_(2),p()()),i&2){let e,n=l();d("href",n.fullOpensearchLink,M),r(2),S(((e=n.state.previewConfig())==null||e.translations==null?null:e.translations.pageFulltextOpensearchData)??"")}}var jn=class i extends hn{heading=T(this.state.previewConfig()?.translations?.pageFulltextData??"");llmIndexData=T(null);loading=T(!0);loadingFailed=T(!1);pageUrl="";fullOpensearchLink="";pageCanBeSearched=!1;cancelButtonField=new Vo(Je(Se({},nt.EMPTY_FORM_FIELD_DTO),{name:"",type:"button",label:this.state.previewConfig()?.translations?.dialogButtonCancel}),this.state);cancel=tt();ngOnInit(){super.ngOnInit(),this.pageUrl=this.state.pageMetadata?.url??"",this.fullOpensearchLink=`${this.state.frontendControllerBaseUri}/preview/page/fulltext/opensearch?url=${encodeURIComponent(this.pageUrl)}`,this.cancelButtonField.buttonTriggered.subscribe(()=>{this.cancelAction()}),this.pageCanBeSearched=this.state.pageMetadata?.internalSearch.canBeSearched??!1}afterClientViewInit(){super.afterClientViewInit(),this.pageCanBeSearched&&this.loadData()}loadData(){this.loading.set(!0),this.http.get(`${this.state.frontendControllerBaseUri}/preview/page/llm-index?url=${encodeURIComponent(this.pageUrl)}`).subscribe({next:t=>{this.llmIndexData.set(t),this.loading.set(!1)},error:t=>{this.loadingFailed.set(!0),this.loading.set(!1)}})}cancelAction(){this.modalService.hideModal(),this.cancel.emit()}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["app-fulltext-data-dialog"]],outputs:{cancel:"cancel"},features:[z],decls:12,vars:7,consts:[[1,"component-wrapper","popup","preview-dialog"],[1,"popup-title",3,"innerHTML"],[1,"actions",3,"click"],[1,"icon","preview-icon-close"],[1,"container"],[1,"text-center",3,"innerHTML"],[1,"info","wysiwyg","text-center"],[1,"btn-set"],["target","_blank",1,"btn","link",3,"href"],["app-form-field-atom","",3,"field"],["app-progress-spinner-basic-atom",""],[1,"error","wysiwyg","text-center"],[1,"llm-index"],[1,"timestamp-generated"],[1,"label"],[1,"value",3,"innerHTML"],[1,"timestamp-forpage"],[1,"summary"],[1,"keywords"],[1,"label",3,"innerHTML"],[3,"innerHTML"],[1,"text"]],template:function(e,n){e&1&&(c(0,"div",0),C(1,"span",1),c(2,"div",2),y("click",function(){return n.cancelAction()}),C(3,"span",3),p(),c(4,"div",4),C(5,"h1",5),h(6,Wp,1,1)(7,Zp,2,0,"div",6),c(8,"div",7),h(9,Yp,3,2,"a",8),C(10,"div",9),p(),C(11,"div",10),p()()),e&2&&(r(),d("innerHTML",n.heading(),ie),r(4),d("innerHTML",n.heading(),ie),r(),f(n.pageCanBe
108Searched?6:7),r(3),f(n.pageCanBeSearched?9:-1),r(),d("field",n.cancelButtonField),r(),ln("display",n.pageCanBeSearched&&n.loading()?"block":"none"))},dependencies:[Q,Lt,Ao,Oo],encapsulation:2})};var Jp=["app-preview-bar",""],Xp=[[["","preview-actions",""]]],em=["[preview-actions]"],tm=()=>({inContent:!0}),Kn=i=>({active:i}),nm=i=>({opened:i}),im=i=>({active:i});function om(i,t){if(i&1){let e=P();c(0,"a",19),y("click",function(){v(e);let o=l(3);return b(o.toggleEditMode())}),c(1,"span",20),_(2),p(),C(3,"span",21),p()}if(i&2){l(2);let e=I(0),n=l();d("ngClass",$(2,Kn,n.state.previewEditMode())),r(2),S(e.editMode)}}function am(i,t){if(i&1&&h(0,om,4,4,"a",18),i&2){let e=l(2);f(e.state.isAlfEditorOrMore()?0:-1)}}function rm(i,t){if(i&1){let e=P();c(0,"a",19),y("click",function(){v(e);let o=l(3);return b(o.toggleStructureMode())}),c(1,"span",20),_(2),p(),C(3,"span",22),p()}if(i&2){l(2);let e=I(0),n=l();d("ngClass",$(2,Kn,n.state.previewStructureMode())),r(2),S(e.componentMode)}}function sm(i,t){if(i&1&&h(0,rm,4,4,"a",18),i&2){let e=l(2);f(e.state.isAlfEditorOrMore()?0:-1)}}function lm(i,t){if(i&1){let e=P();c(0,"a",19),y("click",function(){v(e);let o=l(3);return b(o.toggleWorkingCopyMode())}),c(1,"span",20),_(2,"Working Copy"),p(),C(3,"span",23),p()}if(i&2){let e=l(3);d("ngClass",$(1,Kn,e.state.previewWorkingCopyMode()))}}function cm(i,t){if(i&1&&h(0,lm,4,3,"a",18),i&2){let e=l(2);f(e.state.isAlfEditorOrMore()?0:-1)}}function pm(i,t){i&1&&U(0)}function mm(i,t){i&1&&U(0)}function dm(i,t){i&1&&U(0)}function um(i,t){if(i&1&&_(0),i&2){l(4);let e=I(0);ve(" ",e.articleTemplates," ")}}function gm(i,t){if(i&1&&_(0),i&2){l(4);let e=I(0);ve(" ",e.pages," ")}}function _m(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editArticleTemplateContent," ")}}function hm(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editPageContent," ")}}function fm(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editArticleTemplateMetadata," ")}}function Cm(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editPageMetadata," ")}}function ym(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editPages," ")}}function vm(i,t){if(i&1&&_(0),i&2){l(5);let e=I(0);ve(" ",e.editArticleTemplates," ")}}function bm(i,t){if(i&1){let e=P();c(0,"li",33)(1,"a",34),y("click",function(o){v(e);let a=l(5);return b(a.showDialog(o,a.alfrescoEditPageAbVariantsUrl))}),C(2,"span",35),_(3,"A/B"),p(),c(4,"a",36),y("click",function(o){v(e);let a=l(5);return b(a.showDialog(o,a.alfrescoEditPageContentUrl))}),h(5,_m,1,1)(6,hm,1,1),p()(),c(7,"li")(8,"a",36),y("click",function(o){v(e);let a=l(5);return b(a.showDialog(o,a.alfrescoEditPageMetadataUrl))}),h(9,fm,1,1)(10,Cm,1,1),p()(),c(11,"li")(12,"a",36),y("click",function(o){v(e);let a=l(5);return b(a.showDialog(o,a.alfrescoEditMenuUrl))}),_(13),p()(),c(14,"li")(15,"a",36),y("click",function(){v(e);let o=l(5);return b(o.toggleArticleTemplatesMode())}),h(16,ym,1,1)(17,vm,1,1),p()(),C(18,"li",30),c(19,"li")(20,"a",36),y("click",function(o){v(e);let a=l(5);return o.preventDefault(),b(a.showAnalyticsReportPageDialog())}),_(21),p()(),c(22,"li")(23,"a",36),y("click",function(o){v(e);let a=l(5);return o.preventDefault(),b(a.showFulltextDataDialog())}),_(24),p()()}if(i&2){l(4);let e=I(0),n=l();r(5),f(n.state.previewArticleTemplateMode?5:6),r(4),f(n.state.previewArticleTemplateMode?9:10),r(4),S(e.editSubPages),r(3),f(n.state.previewArticleTemplateMode?16:17),r(5),S(e.pageReport),r(3),S(e.pageFulltextData)}}function Sm(i,t){i&1&&C(0,"li",30)}function xm(i,t){if(i&1&&(c(0,"li",37),C(1,"a",38),p()),i&2){let e=t.$implicit;F(e.levelClass),d("ngClass",$(5,im,e.active)),r(),d("href",e.url,M)("innerHTML",e.label,ie)}}function wm(i,t){if(i&1&&(c(0,"a",32)(1,"span",20),_(2),p(),C(3,"span",39),p()),i&2){l(4);let e=I(0),n=l();d("href",n.alfrescoSiteDashboardUrl,M)("ignorePreviewEditableRestriction",!0),r(2),S(e.dashboard)}}function Pm(i,t){if(i&1){let e=P();k(0,pm,1,0,"ng-container",24)(1,mm,1,0,"ng-container",24)(2,dm,1,0,"ng-container",24),c(3,"div",25)(4,"span",26),y("click",function(){v(e);let o=l(4);return b(o.pageStructureOpened=!o.pageStructureOpened)}),c(5,"span",20),h(6,um,1,1)(7,gm,1,1),p(),C(8,"span",27)(9,"span",28),p(),c(10,"ul",29),h(11,bm,25,6),h(12,Sm,1,0,"li",30),D(13,xm,2,7,"li",31,V
108),p()(),h(15,wm,4,3,"a",32)}if(i&2){l(3);let e=B(2),n=B(4),o=B(6),a=l();d("ngTemplateOutlet",e),r(),d("ngTemplateOutlet",n),r(),d("ngTemplateOutlet",o),r(),d("ngClass",$(8,nm,a.pageStructureOpened)),r(3),f(a.state.previewArticleTemplateMode?6:7),r(5),f(a.state.isAlfSuperEditorOrMore()?11:-1),r(),f(a.state.isAlfSuperEditorOrMore()?12:-1),r(),L(a.pageStructureItems()),r(2),f(a.state.isAlfEditorOrMore()?15:-1)}}function Tm(i,t){i&1&&U(0)}function Em(i,t){i&1&&U(0)}function km(i,t){if(i&1){let e=P();c(0,"a",19),y("click",function(){v(e);let o=l(4);return b(o.toggleStickyClass())}),c(1,"span",20),_(2),p(),C(3,"span",40),p(),k(4,Tm,1,0,"ng-container",24)(5,Em,1,0,"ng-container",24)}if(i&2){l(3);let e=B(2),n=B(4),o=I(0),a=l();d("ngClass",$(4,Kn,a.stickyEnabled)),r(2),S(o.snapToolbar),r(2),d("ngTemplateOutlet",n),r(),d("ngTemplateOutlet",e)}}function Im(i,t){if(i&1&&h(0,Pm,16,10)(1,km,6,6),i&2){let e=l().inContent;f(e?1:0)}}function Mm(i,t){if(i&1&&h(0,Im,2,1),i&2){let e=l(2);f(e.userLoggedIn()?0:-1)}}function Dm(i,t){if(i&1){let e=P();c(0,"div",9)(1,"form",41),y("submit",function(o){v(e);let a=l(2);return o.preventDefault(),b(a.login())}),c(2,"input",42),jt("ngModelChange",function(o){v(e);let a=l(2);return qt(a.username,o)||(a.username=o),b(o)}),p(),c(3,"input",43),jt("ngModelChange",function(o){v(e);let a=l(2);return qt(a.password,o)||(a.password=o),b(o)}),p(),c(4,"button",44),_(5),p()()()}if(i&2){l();let e=I(0),n=l();r(2),Ht("ngModel",n.username),d("placeholder",e.username),r(),Ht("ngModel",n.password),d("placeholder",e.password),r(2),S(e.logIn)}}function Lm(i,t){i&1&&U(0)}function Fm(i,t){if(i&1&&(c(0,"div",10),k(1,Lm,1,0,"ng-container",24),p()),i&2){l();let e=B(8);r(),d("ngTemplateOutlet",e)}}function Nm(i,t){i&1&&C(0,"span",48)}function Am(i,t){i&1&&C(0,"span",49)}function Rm(i,t){i&1&&U(0)}function Om(i,t){if(i&1&&k(0,Rm,1,0,"ng-container",24),i&2){l(2);let e=B(9);d("ngTemplateOutlet",e)}}function Vm(i,t){if(i&1&&h(0,Om,1,1,"ng-container"),i&2){let e=l(3);f(e.utils.jobWasRunning()?0:-1)}}function Bm(i,t){i&1&&U(0)}function zm(i,t){if(i&1&&k(0,Bm,1,0,"ng-container",24),i&2){l();let e=B(7);d("ngTemplateOutlet",e)}}function Um(i,t){i&1&&U(0)}function $m(i,t){if(i&1&&k(0,Um,1,0,"ng-container",24),i&2){l();let e=B(11);d("ngTemplateOutlet",e)}}function Hm(i,t){if(i&1){let e=P();C(0,"span",45),c(1,"span",46),_(2),p(),c(3,"a",47),y("click",function(){v(e);let o=l(2);return b(o.logout())}),_(4),p(),c(5,"span"),k(6,Nm,1,0,"ng-template",null,4,ue)(8,Am,1,0,"ng-template",null,5,ue)(10,Vm,1,1,"ng-template",null,6,ue),h(12,zm,1,1,"ng-container")(13,$m,1,1,"ng-container"),p()}if(i&2){l();let e=I(0),n=l();r(2),S(n.userFullName),r(2),S(e.logOut),r(),F(Z("publication-status",n.utils.jobAddClass()?" att-modified-by-me":"")),r(7),f(n.utils.jobState().status==="Running"||n.utils.jobState().status==="Pending"||n.utils.jobInitialized()?12:13)}}function qm(i,t){i&1&&(c(0,"div",12),_(1,"Incorrect credentials"),p())}function jm(i,t){i&1&&U(0)}function Qm(i,t){if(i&1&&(oe(0),k(1,am,1,1,"ng-template",null,0,ue)(3,sm,1,1,"ng-template",null,1,ue)(5,cm,1,1,"ng-template",null,2,ue)(7,Mm,1,1,"ng-template",null,3,ue),c(9,"div",7)(10,"div",8),h(11,Dm,6,5,"div",9),h(12,Fm,2,1,"div",10),c(13,"div",11),h(14,Hm,14,6),h(15,qm,2,0,"div",12),p()()(),c(16,"div",13)(17,"div",14),C(18,"span",15),p(),c(19,"div",16),k(20,jm,1,0,"ng-container",17),p()()),i&2){let e=B(8),n=l();te(t.translations),r(11),f(!n.userLoggedIn()&&!n.loggingIn()&&!n.loadingLoginStatus()?11:-1),r(),f(n.userLoggedIn()?12:-1),r(2),f(n.userLoggedIn()?14:-1),r(),f(n.incorrectCredentials()?15:-1),r(5),d("ngTemplateOutlet",e)("ngTemplateOutletContext",cn(7,tm))}}var Qn=class i extends Bo{viewportSizeOpened=!1;viewportSizeOptions=["auto","xs","sm","md","lg"];_viewportSize="auto";constructor(t,e,n,o,a,s){super(t,e,n,o,a,s),n.ensurePreviewConfigLoad(!0)}get viewportSize(){return this._viewportSize}set viewportSize(t){this._viewportSize=t,this.viewportSizeOptions.forEach(e=>document.body.classList.remove(`preview-width-${e}`)),t!=="auto"&&document.body.classList.add(`preview-width-${t}`)}onImagePickerOpen(t){this.onPickerOpen(t,"/pictures")}onPickerOpen(t,e){console.warn("show alf picker");let n=t.detail;this.modalService.showModal(qn,[et("type",()=>1),et("siteId",()=>this.state.siteId),et("initialPath",()=>n.path),et("rootPath",()=>e),vi("close",()=>{let o={instanceId:n.instanceId,path:""};document.dispatchEvent(new CustomEvent("imagePickerSelected",{detail:o}
108))}),vi("pickedPath",o=>{let a={instanceId:n.instanceId,path:o};document.dispatchEvent(new CustomEvent("imagePickerSelected",{detail:a}))})])}showAnalyticsReportSiteDialog(){this.modalService.showModal(Si,[et("heading",()=>this.state.previewConfig().translations.siteReport),et("reportMode",()=>"SITE")])}showAnalyticsReportPageDialog(){this.modalService.showModal(Si,[et("heading",()=>this.state.previewConfig().translations.pageReport),et("reportMode",()=>"PAGE"),et("pagePath",()=>this.state.pageMetadata?.url)])}showFulltextDataDialog(){this.modalService.showModal(jn,[])}static \u0275fac=function(e){return new(e||i)(ce(kt),ce(pt),ce(ct),ce(Tt),ce(It),ce(xn))};static \u0275cmp=A({type:i,selectors:[["","app-preview-bar",""]],hostBindings:function(e,n){e&1&&y("imagePickerOpen",function(a){return n.onImagePickerOpen(a)},Ee)},features:[z],attrs:Jp,ngContentSelectors:em,decls:2,vars:1,consts:[["editModeButton",""],["structureModeButton",""],["workingCopyButton",""],["editModeTemplate",""],["jobStatusRunning",""],["jobStatusFinished",""],["jobStatusFinishedOrClean",""],[1,"container"],[1,"row"],[1,"login"],[1,"toolbar"],[1,"login-status"],[1,"login-message"],[1,"preview-sticky-toolbar"],[1,"toggle-menu"],[1,"icon","preview-icon-ellipsis-v"],[1,"sticky-menu"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"btn","with-icon",3,"ngClass"],[1,"btn","with-icon",3,"click","ngClass"],[1,"text"],[1,"icon","preview-icon-edit"],[1,"icon","preview-icon-component"],[1,"icon","uds-icon-settings"],[4,"ngTemplateOutlet"],[1,"dropdown",3,"ngClass"],[1,"label",3,"click"],[1,"icon","preview-icon-pages"],[1,"trigger-icon"],[1,"list"],[1,"delim"],[3,"class","ngClass"],["target","_blank",1,"btn","with-icon",3,"href","ignorePreviewEditableRestriction"],[2,"position","relative"],[2,"position","absolute","right","0",3,"click"],[1,"uds-icon-settings",2,"font-family","uds-icons"],[3,"click"],[3,"ngClass"],[3,"href","innerHTML"],[1,"icon","preview-icon-dashboard"],[1,"icon","preview-icon-thumbtack"],["action","#",3,"submit"],["type","text","name","username",3,"ngModelChange","ngModel","placeholder"],["type","password","name","password",3,"ngModelChange","ngModel","placeholder"],["type","submit"],[1,"icon","preview-icon-user"],[1,"user-full-name"],[1,"log-out",3,"click"],[1,"icon","preview-icon-spinner"],[1,"icon","preview-icon-checkmark-filled"]],template:function(e,n){if(e&1&&(Y(Xp),J(0),h(1,Qm,21,8)),e&2){let o;r(),f((o=n.state.previewConfig())?1:-1,o)}},dependencies:[Q,Ce,Fe,ae,_n,Lo,dn,un,Mo,gn,Do],encapsulation:2})};var Km=["app-comhub-page",""],la=i=>({componentData:i});function Gm(i,t){if(i&1){let e=P();c(0,"div",12),y("actionTriggered",function(o){let a=v(e).componentData,s=l();return b(s.previewActionTriggered(o,a))}),p()}if(i&2){let e=t.componentData;d("componentData",e)("movingEnabled",!1)}}function Wm(i,t){i&1&&U(0,16)}function Zm(i,t){if(i&1&&(c(0,"div",14),k(1,Wm,1,0,"ng-container",15),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(Le("",n.wrapperClass," ",n.content.position)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(7,la,e))}}function Ym(i,t){if(i&1&&(oe(0),h(1,Zm,2,9,"div",13)),i&2){let e,n=t.$implicit,o=te(n.component);r(),f((e=o.name)==="applicationMenuAspect"?1:-1)}}function Jm(i,t){i&1&&U(0,16)}function Xm(i,t){if(i&1&&(c(0,"div",18),k(1,Jm,1,0,"ng-container",15),p()),i&2){let e=l().$implicit,n=I(0);l();let o=B(2);F(Z("letters-small ",n.wrapperClass)),d("componentData",e),r(),d("ngTemplateOutlet",o)("ngTemplateOutletContext",$(6,la,e))}}function ed(i,t){if(i&1&&(oe(0),h(1,Xm,2,8,"div",17)),i&2){let e,n=t.$implicit,o=te(n.component);
108r(),f((e=o.name)==="breadcrumbAspect"?1:-1)}}function td(i,t){i&1&&(c(0,"div",4),C(1,"img",19),p()),i&2&&(r(),d("src",t,M))}function nd(i,t){i&1&&(c(0,"h1"),_(1),p()),i&2&&(r(),S(t))}function id(i,t){if(i&1&&(c(0,"span",21),_(1),p()),i&2){let e=t.$implicit;r(),S(e.label)}}function od(i,t){i&1&&(c(0,"div",8)(1,"span",20),D(2,id,2,1,"span",21,V),p()()),i&2&&(r(2),L(t))}function ad(i,t){if(i&1&&C(0,"div",10),i&2){l();let e=I(18);d("contentComponents",e.components)("pagePartNodeRefInitial",e.id)("isPopup",!0)}}function rd(i,t){}function sd(i,t){if(i&1&&(c(0,"div",11),k(1,rd,0,0,"ng-template",22),p()),i&2){l();let e=I(20);r(),d("appDynamicComponent",e.component)("bindings",e.bindings)}}var Gn=class i extends dt{author="";ngOnInit(){super.ngOnInit();for(let t of this.pageData().plugins.filter(e=>e.type===Cn.PluginType.ARBITRARY_CONFIG&&e.content!=null))try{let e=JSON.parse(t.content);if(e.author!=null){this.author=e.author;break}}catch(e){console.error("error parsing comhub config",e)}}static \u0275fac=(()=>{let t;return function(n){return(t||(t=j(i)))(n||i)}})();static \u0275cmp=A({type:i,selectors:[["","app-comhub-page",""]],features:[z],attrs:Km,decls:22,vars:11,consts:[["previewActionsTemplate",""],[1,"backdrop",3,"click"],[1,"page-wrapper"],[1,"component-wrapper","comhub-header","bg-default"],[1,"img"],[1,"author"],[1,"label"],[1,"value"],[1,"tags","pill-set"],["app-page-content","",1,"page-wrapper",3,"contentComponents","pagePartNodeRefInitial"],["app-page-content","",1,"popup-container",3,"contentComponents","pagePartNodeRefInitial","isPopup"],[1,"popup-container"],["app-preview-actions-atom","",3,"actionTriggered","componentData","movingEnabled"],["app-application-menu","",3,"class","componentData"],["app-application-menu","",3,"componentData"],["preview-actions","",4,"ngTemplateOutlet","ngTemplateOutletContext"],["preview-actions",""],["app-breadcrumb","",3,"class","componentData"],["app-breadcrumb","",3,"componentData"],["alt","",3,"src"],[1,"pill","default"],[1,"text"],[3,"appDynamicComponent","bindings"]],template:function(e,n){if(e&1&&(c(0,"div",1),y("click",function(){return n.backdropClicked()}),p(),k(1,Gm,1,2,"ng-template",null,0,ue),D(3,Ym,2,2,null,null,V),D(5,ed,2,2,null,null,V),c(7,"div",2)(8,"div",3),h(9,td,2,1,"div",4),h(10,nd,2,1,"h1"),c(11,"div",5)(12,"span",6),_(13),p(),c(14,"span",7),_(15),p()(),h(16,od,4,0,"div",8),p()(),C(17,"div",9),oe(18),h(19,ad,1,3,"div",10),oe(20),h(21,sd,2,2,"div",11)),e&2){let o,a,s;r(3),L(n.applicationMenuRowComponents()),r(2),L(n.breadcrumbRowComponents()),r(4),f((o=n.pageData().metadata.menuPicture)?9:-1,o),r(),f((a=n.pageData().metadata.htmlTitle)?10:-1,a),r(3),S(n.pageData().metadata.langMutation==="cs"?"Autor":"Author"),r(2),S(n.author),r(),f((s=n.pageData().metadata.tags)?16:-1,s),r(),d("contentComponents",n.getComponents("content-12-a-row").concat(n.getComponents("content-12-b-row")).concat(n.getComponents("content-12-c-row")).concat(n.getComponents("footer-row")))("pagePartNodeRefInitial",n.getPagePartNodeRef("content-12-a-row")),r();let m=te(n.getPagePart("application-row"));r(),f(m!=null?19:-1),r();let u=te(n.currentModalModel());r(),f(u.isPresent?21:-1)}},dependencies:[Q,Fe,Rt,Ot,Pn,fn,Mt],encapsulation:2})};function ld(i,t){i&1&&C(0,"div",0)}function cd(i,t){if(i&1&&C(0,"div",1),i&2){l(2);let e=I(1);d("pageData",e)}}function pd(i,t){if(i&1&&C(0,"div",2),i&2){l(2);let e=I(1);d("pageData",e)}}function md(i,t){if(i&1&&C(0,"div",3),i&2){l(2);let e=I(1);d("pageData",e)}}function dd(i,t){i&1&&C(0,"div")}function ud(i,t){if(i&1&&(c(0,"div"),_(1),p()),i&2){l(2);let e=I(1);r(),ve("Unsupported layoutName: '",e.metadata.layoutName,"'")}}function gd(i,t){if(i&1&&C(0,"ngx-json-ld",4),i&2){let e=t.$implicit;d("json",e)}}function _d(i,t){if(i&1&&(h(0,cd,1,1,"div",1)(1,pd,1,1,"div",2)(2,md,1,1,"div",3)(3,dd,1,0,"div")(4,ud,2,1,"div"),D(5,gd,1,1,"ngx-json-ld",4,V)),i&2){let e,n=l(),o=I(1);f((e=o.metadata.layoutName)==="{http://www.trask.cz/webforms/rb/1.0}layout022PageAspect"?0:e==="{http://www.trask.cz/webforms/rb/1.0}layout023PageAspect"?1:e==="{http://www.trask.cz/webforms/rb/1.0}comhubPageAspect"?2:e==="loading_layout"?3:4),r(5),L(n.state.jsonLdList)}}function hd(i,t){i&1&&(c(0,"div"),_(1,"Loading data..."),p())}var Wn=class i{constructor(t,e,n,o,a,s,m,u,g){this.ngLocation=t;this.document=e;this.http=n;this.utils=o;this.utilsRb=a;this.elementRef=s;this.changeDetectorRef=m;this.primengConfig=u;this.state=g}ngLocation;document;http;utils;utilsRb;elementRef;changeDetectorRef;primengConfig;state;CommonUtil=G;data=T(null);dataLoaded=T(!1);dataForPreview=Ct(()=>{let t=this.data(),e=this.utils.preview(),n=this.state.previewWorkingCopyMode();return console.warn(`preview=${e}, previewWorkingCopyMode=${n}`),t==null||!e?null:t.workingCopy!=null&&n?t.workingCopy:t});dataForPreviewEffect=Te(()=>{console.warn("dataForPreviewEffect");let t=this.dataForPreview();this.dataLoaded.set(!1),this.changeDetectorRef.detectChanges(),this.dataLoaded.set(!0)});acceptJsonHeaders=new xo().set("Accept","application/json");taskService=Pt(ro);ngOnInit(){console.debug("ssr="+G.SSR),this.state.reloadPage.subscribe(t=>{this.reloadPage(t)}
108),this.taskService.run(async()=>{await this.loadPageData(),this.dataLoaded.set(!0)}),G.SSR&&this.state.ssrStoreData.subscribe(()=>{this.setStoreData()})}ngAfterViewInit(){console.debug("page: ngAfterViewInit"),!G.SSR&&(this.clientReady(),this.state.pageLoaded.next(),this.changeDetectorRef.detectChanges())}clientReady(){console.debug("clientReady - in browser"),setTimeout(()=>this.hashChanged(),1e3),setTimeout(()=>{this.utils.trackingInitAndVisit()},1e3)}reloadPage(t){console.info("reloading page..."),window.location.reload()}processAndSetPageData(t){if(je.preparePageJson(t,this.state,this.primengConfig),t.workingCopy!=null&&je.preparePageJson(t.workingCopy,this.state,this.primengConfig),this.document.documentElement.lang=this.state.lang,this.data.set(t),!G.SSR){let e=document.body.getAttribute("data-userisclient")==="true";Qe.onPageLoad(this.state,this.utils.serveTimestamp,e)}}hashChanged(){G.handleHashChange()}getBodyElem(){return this.elementRef.nativeElement.parentNode.parentNode}getHeadElem(){return this.elementRef.nativeElement.parentNode.parentNode.parentNode.querySelector(":scope > head")}setStoreData(){let t=this.data();if(t!=null){if(!this.utils.ampRender){let e=this.getBodyElem();e.setAttribute("data-angulardata",encodeURIComponent(JSON.stringify(t))),e.setAttribute("data-isamp",this.utils.ampRender?"true":"false"),e.setAttribute("data-ispreview",this.utils.preview()?"true":"false"),e.setAttribute("data-urlprefix",this.utils.urlPrefix),e.setAttribute("data-ssrrendertimestamp",new Date().toISOString())}console.debug("processed data stored to body attribute")}}createJsonLdObjects(){let t=this.data();t!=null&&(this.state.jsonLdList=Tn.getPageHeadJsonLdObjects(t),console.info(`created ${this.state.jsonLdList.length} JSON-LD objects for page`))}loadJsonPostprocess(t){this.processAndSetPageData(t),console.debug("render: page preapred"),this.setStoreData()}async loadPageData(){return new Promise((t,e)=>{if(console.debug("loadPageData: ssr="+G.SSR),!G.SSR){let R=document.body.getAttribute("data-angulardata");this.utils.ampRender=document.body.getAttribute("data-isamp")==="true",this.utils.preview.set(document.body.getAttribute("data-ispreview")==="true"),this.utils.urlPrefix=document.body.getAttribute("data-urlprefix")??"";let N=document.body.getAttribute("data-ssrrendertimestamp")??"";N.length>0&&(this.utils.ssrRenderTimestamp=new Date(N));let q=document.body.getAttribute("data-servetimestamp")??"";if(q.length>0&&(this.utils.serveTimestamp=new Date(q)),console.debug("ampRender:",this.utils.ampRender),console.debug("preview:",this.utils.preview()),console.debug("angularDataAttr:",R),R!==null&&R.length>0){let re=JSON.parse(decodeURIComponent(R));re.modifiedFromOriginal&&console.debug("modifiedFromOriginal"),this.processAndSetPageData(re),this.createJsonLdObjects(),console.debug("LOADED FROM WINDOW"),t();return}console.debug("ERROR: no data found"),console.debug("faking SSR = true"),G.SSR=!0}let n=this.ngLocation.path();console.debug("Location: ",n);let o=this.getParamFromPath(n,"url"),a=decodeURIComponent(this.getParamFromPath(n,"publicUrlPath")),s=this.getParamFromPath(n,"siteId"),m=this.getParamFromPath(n,"snapshotId");this.utils.urlPrefix=this.getParamFromPath(n,"urlPrefix");let u=this.getParamFromPath(n,"variant","a");this.utils.ampRender=this.getParamFromPath(n,"amp")==="true",this.utils.preview.set(this.getParamFromPath(n,"preview")==="true");let g=decodeURIComponent(this.getParamFromPath(n,"contentCacheUrl","NO_CONTENT_CACHE_URL_PROVIDED_ERROR")),x=decodeURIComponent(this.getParamFromPath(n,"frontendControllerUrl","/frontend-controller")),w=decodeURIComponent(this.getParamFromPath(n,"searchPart",""));console.debug("ssr: siteId: ",s),console.debug("ssr: snapshotId: ",m),console.debug("ssr: urlPrefix: ",this.utils.urlPrefix),console.debug("ssr: path: ",o),console.debug("ssr: publicUrlPath: ",a),console.debug("ssr: searchPart: ",w),console.debug("ssr: variant: ",u),console.debug("ssr: isAmp: ",this.utils.ampRender),console.debug("ssr: isPreview: ",this.utils.preview()),console.debug("ssr: contentCacheUrl: ",g),console.debug("ssr: frontendControllerUrl: ",x);let K=`${g}/page?siteId=${s}&snapshotId=${m}&url=${o}&variant=${u}&preview=${this.utils.preview()}`;if(console.debug("ssr: prepared url: "+K),!K.startsWith("https://")&&!K.startsWith("http://")){console.error("ssr: prepared url seems wrong, exiting"),t();return}console.info(`${new Date().toISOString()} calling GET: ${K}`),this.http.get(K).subscribe({next:R=>{console.info(`${new Date().toISOString()} success calling: ${K}`),this.state.frontendControllerBaseUri=x,this.state.ssrConfig.urlSearchPart=w,R.publicUrlPath=a,this.loadJsonPostprocess(R),t()},error:R=>{console.info(`${new Date().toISOString()} error calling: ${K}`,R),console.error("error calling content-cache:",R),t()}})})}getParamFromPath(t,e,n=""){for(let o of t.split("?")[1].split("&"))if(o.startsWith(e+"="))return o.split("=")[1];return n}static \u0275fac=function(e){return new(e||i)(ce(Co),ce(an),ce(kt),ce(pt),ce(vn),ce(Tt),ce(fo),ce(Fo),ce(ct))};static \u0275cmp=A({type:i,selectors:[["app-page"]],hostBindings:function(e,n){e&1&&y("hashchange",function(){return n.hashChanged()},st)},decls:4,vars:3,consts:[["app-preview-bar","",1,"preview-bar"],["app-layout022-page","",1,"layout","common-page",3,"pageData"],["app-layout022-page","",1,"layout","landing-page",3,"pageData"],["app-comhub-page","",1,"layout","comhub-page",3,"pageData"],[3,"json"]],template:function(e,n){if(e&1&&(h(0,ld,1,0,"div",0),oe(1),h(2,_d,7,1)(3,hd,2,0,"div")),e&2){let o=n.utils.preview();f(o&&!n.CommonUtil.SSR?0:-1),r();let a=te(o?n.dataForPreview():n.data());r(),f(n.dataLoaded()&&a!=null?2:3)}},dependencies:[Q,Qn,$n,Gn,wn],encapsulation:2})};var Zn=class i{static \u0275fac=function(e){return new(e||i)};static \u0275cmp=A({type:i,selectors:[["app-root"]],decls:1,vars:0,template:function(e,n){e&1&&C(0,"app-page")},dependencies:[Wn],encapsulation:2})};var W=(function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i})(W||{}),Ke="*";function ca(i,t=null){return{type:W.Sequence,steps:i,options:t}}function wi(i){return{type:W.Style,styles:i,offset:null}}var ot=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,e=0){this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Vt=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let e=0,n=0,o=0,a=this.players.length;a==0?queueMicrotask(()=>
vendor: 62,736 bytes, line 108
108this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==a&&this._onFinish()}),s.onDestroy(()=>{++n==a&&this._onDestroy()}),s.onStart(()=>{++o==a&&this._onStart()})}),this.totalTime=this.players.reduce((s,m)=>Math.max(s,m.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(o)})}getPosition(){let t=this.players.reduce((e,n)=>e===null||n.totalTime>e.totalTime?n:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},Kt="!";function pa(i){return new ee(3e3,!1)}function fd(){return new ee(3100,!1)}function Cd(){return new ee(3101,!1)}function yd(i){return new ee(3001,!1)}function vd(i){return new ee(3003,!1)}function bd(i){return new ee(3004,!1)}function da(i,t){return new ee(3005,!1)}function ua(){return new ee(3006,!1)}function ga(){return new ee(3007,!1)}function _a(i,t){return new ee(3008,!1)}function ha(i){return new ee(3002,!1)}function fa(i,t,e,n,o){return new ee(3010,!1)}function Ca(){return new ee(3011,!1)}function ya(){return new ee(3012,!1)}function va(){return new ee(3200,!1)}function ba(){return new ee(3202,!1)}function Sa(){return new ee(3013,!1)}function xa(i){return new ee(3014,!1)}function wa(i){return new ee(3015,!1)}function Pa(i){return new ee(3016,!1)}function Ta(i,t){return new ee(3404,!1)}function Sd(i){return new ee(3502,!1)}function Ea(i){return new ee(3503,!1)}function ka(){return new ee(3300,!1)}function Ia(i){return new ee(3504,!1)}function Ma(i){return new ee(3301,!1)}function Da(i,t){return new ee(3302,!1)}function La(i){return new ee(3303,!1)}function Fa(i,t){return new ee(3400,!1)}function Na(i){return new ee(3401,!1)}function Aa(i){return new ee(3402,!1)}function Ra(i,t){return new ee(3505,!1)}function at(i){switch(i.length){case 0:return new ot;case 1:return i[0];default:return new Vt(i)}}function ki(i,t,e=new Map,n=new Map){let o=[],a=[],s=-1,m=null;if(t.forEach(u=>{let g=u.get("offset"),x=g==s,w=x&&m||new Map;u.forEach((K,R)=>{let N=R,q=K;if(R!=="offset")switch(N=i.normalizePropertyName(N,o),q){case Kt:q=e.get(R);break;case Ke:q=n.get(R);break;default:q=i.normalizeStyleValue(R,N,q,o);break}w.set(N,q)}),x||a.push(w),m=w,s=g}),o.length)throw Sd(o);return a}function Yn(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&Pi(e,"start",i)));break;case"done":i.onDone(()=>n(e&&Pi(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&Pi(e,"destroy",i)));break}}function Pi(i,t,e){let n=e.totalTime,o=!!e.disabled,a=Jn(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,n??i.totalTime,o),s=i._data;return s!=null&&(a._data=s),a}function Jn(i,t,e,n,o="",a=0,s){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:o,totalTime:a,disabled:!!s}}function Ne(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n}function Ii(i){let t=i.indexOf(":"),e=i.substring(1,t),n=i.slice(t+1);return[e,n]}var xd=typeof document>"u"?null:document.documentElement;function Xn(i){let t=i.parentNode||i.host||null;return t===xd?null:t}function wd(i){return i.substring(1,6)=="ebkit"}var yt=null,ma=!1;function Oa(i){yt||(yt=Pd()||{},ma=yt.style?"WebkitAppearance"in yt.style:!1);let t=!0;return yt.style&&!wd(i)&&(t=i in yt.style,!t&&ma&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in yt.style)),t}function Pd(){return typeof document<"u"?document.body:null}function Mi(i,t){for(;t;){if(t===i)return!0;t=Xn(t)}return!1}function Di(i,t,e){if(e)return Array.from(i.querySelectorAll(t));let n=i.querySelector(t);return n?[n]:[]}var Td=1e3,Li="{{",Ed="}}",Fi="ng-enter",ei="ng-leave",Gt="ng-trigger",Wt=".ng-trigger",Ni="ng-animating",ti=".ng-animating";function it(i){if(typeof i=="number")return i;let t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Ti(parseFloat(t[1]),t[2])}function Ti(i,t){return t==="s"?i*Td:i}function Zt(i,t,e){return i.hasOwnProperty("duration")?i:Id(i,t,e)}var kd=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Id(i,t,e){let n,o=0,a="";if(typeof i=="string"){let s=i.match(kd);if(s===null)return t.push(pa(i)),{duration:0,delay:0,easing:""};n=Ti(parseFloat(s[1]),s[2]);let m=s[3];m!=null&&(o=Ti(parseFloat(m),s[4]));let u=s[5];u&&(a=u)}else n=i;if(!e){let s=!1,m=t.length;n<0&&(t.push(fd()),s=!0),o<0&&(t.push(Cd()),s=!0),s&&t.splice(m,0,pa(i))}return{duration:n,delay:o,easing:a}}function Va(i){return i.length?i[0]instanceof Map?i:i.map(t=>new Map(Object.entries(t))):[]}function Ge(i,t,e){t.forEach((n,o)=>{let a=ni(o);e&&!e.has(o)&&e.set(o,i.style[a]),i.style[a]=n})}function ut(i,t){t.forEach((e,n)=>{let o=ni(n);i.style[o]=""})}function Bt(i){return Array.isArray(i)?i.length==1?i[0]:ca(i):i}function Ba(i,t,e){let n=t.params||{},o=Ai(i);o.length&&o.forEach(a=>{n.hasOwnProperty(a)||e.push(yd(a))})}var Ei=new RegExp(`${Li}\\s*(.+?)\\s*${Ed}`,"g");function Ai(i){let t=[];if(typeof i=="string"){let e;for(;e=Ei.exec(i);)t.push(e[1]);Ei.lastIndex=0}return t}function zt(i,t,e){let n=`${i}`,o=n.replace(Ei,(a,s)=>{let m=t[s];return m==null&&(e.push(vd(s)),m=""),m.toString()});return o==n?i:o}var Md=/-+([a-z0-9])/g;function ni(i){return i.replace(Md,(...t)=>t[1].toUpperCase())}function za(i,t){return i===0||t===0}function Ua(i,t,e){if(e.size&&t.length){let n=t[0],o=[];if(e.forEach((a,s)=>{n.has(s)||o.push(s),n.set(s,a)}),o.length)for(let a=1;a<t.length;a++){let s=t[a];o.forEach(m=>s.set(m,ii(i,m)))}}return t}function Ae(i,t,e){switch(t.type){case W.Trigger:return i.visitTrigger(t,e);case W.State:return i.visitState(t,e);case W.Transition:return i.visitTransition(t,e);case W.Sequence:return i.visitSequence(t,e);case W.Group:return i.visitGroup(t,e);case W.Animate:return i.visitAnimate(t,e);case W.Keyframes:return i.visitKeyframes(t,e);case W.Style:return i.visitStyle(t,e);case W.Reference:return i.visitReference(t,e);case W.AnimateChild:return i.visitAnimateChild(t,e);case W.AnimateRef:return i.visitAnimateRef(t,e);case W.Query:return i.visitQuery(t,e);case W.Stagger:return i.visitStagger(t,e);default:throw bd(t.type)}}function ii(i,t){return window.getComputedStyle(i)[t]}var Ji=(()=>{class i{validateStyleProperty(e){return Oa(e)}containsElement(e,n){return Mi(e,n)}getParentElement(e){return Xn(e)}query(e,n,o){return Di(e,n,o)}computeStyle(e,n,o){return o||""}animate(e,n,o,a,s,m=[],u){return new ot(o,a)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=nn({token:i,factory:i.\u0275fac})}return i})(),bt=class{static NOOP=new Ji},St=class{};var Dd=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"]),li=class extends St{normalizePropertyName(t,e){return ni(t)}normalizeStyleValue(t,e,n,o){let a="",s=n.toString().trim();if(Dd.has(e)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let m=n.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&m[1].length==0&&o.push(da(t,n))}return s+a}};var ci="*";function Ld(i,t){let e=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(n=>Fd(n,e,t)):e.push(i),e}function Fd(i,t,e){if(i[0]==":"){let u=Nd(i,e);if(typeof u=="function"){t.push(u);return}i=u}let n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(wa(i)),t;let o=n[1],a=n[2],s=n[3];t.push($a(o,s));let m=o==ci&&s==ci;a[0]=="<"&&!m&&t.push($a(s,o))}function Nd(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return t.push(Pa(i)),"* => *"}}var oi=new Set(["true","1"]),ai=new Set(["false","0"]);function $a(i,t){let e=oi.has(i)||ai.has(i),n=oi.has(t)||ai.has(t);return(o,a)=>{let s=i==ci||i==o,m=t==ci||t==a;return!s&&e&&typeof o=="boolean"&&(s=o?oi.has(i):ai.has(i)),!m&&n&&typeof a=="boolean"&&(m=a?oi.has(t):ai.has(t)),s&&m}}var Ja=":self",Ad=new RegExp(`s*${Ja}s*,?`,"g");function Xa(i,t,e,n){return new Ui(i).build(t,e,n)}var Ha="",Ui=class{_driver;constructor(t){this._driver=t}build(t,e,n){let o=new $i(e);return this._resetContextStyleTimingState(o),Ae(this,Bt(t),o)}_resetContextStyleTimingState(t){t.currentQuerySelector=Ha,t.collectedStyles=new Map,t.collectedStyles.set(Ha,new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,o=e.depCount=0,a=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(ua()),t.definitions.forEach(m=>{if(this._resetContextStyleTimingState(e),m.type==W.State){let u=m,g=u.name;g.toString().split(/\s*,\s*/).forEach(x=>{u.name=x,a.push(this.visitState(u,e))}),u.name=g}else if(m.type==W.Transition){let u=this.visitTransition(m,e);n+=u.queryCount,o+=u.depCount,s.push(u)}else e.errors.push(ga())}),{type:W.Trigger,name:t.name,states:a,transitions:s,queryCount:n,depCount:o,options:null}}visitState(t,e){let n=this.visitStyle(t.styles,e),o=t.options&&t.options.params||null;if(n.containsDynamicStyles){let a=new Set,s=o||{};n.styles.forEach(m=>{m instanceof Map&&m.forEach(u=>{Ai(u).forEach(g=>{s.hasOwnProperty(g)||a.add(g)})})}),a.size&&e.errors.push(_a(t.name,[...a.values()]))}return{type:W.State,name:t.name,style:n,options:o?{params:o}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let n=Ae(this,Bt(t.animation),e),o=Ld(t.expr,e.errors);return{type:W.Transition,matchers:o,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:vt(t.options)}}visitSequence(t,e){return{type:W.Sequence,steps:t.steps.map(n=>Ae(this,n,e)),options:vt(t.options)}}visitGroup(t,e){let n=e.currentTime,o=0,a=t.steps.map(s=>{e.currentTime=n;let m=Ae(this,s,e);return o=Math.max(o,e.currentTime),m});return e.currentTime=o,{type:W.Group,steps:a,options:vt(t.options)}}visitAnimate(t,e){let n=Bd(t.timings,e.errors);e.currentAnimateTimings=n;let o,a=t.styles?t.styles:wi({});if(a.type==W.Keyframes)o=this.visitKeyframes(a,e);else{let s=t.styles,m=!1;if(!s){m=!0;let g={};n.easing&&(g.easing=n.easing),s=wi(g)}e.currentTime+=n.duration+n.delay;let u=this.visitStyle(s,e);u.isEmptyStep=m,o=u}return e.currentAnimateTimings=null,{type:W.Animate,timings:n,style:o,options:null}}visitStyle(t,e){let n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){let n=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let m of o)typeof m=="string"?m===Ke?n.push(m):e.errors.push(ha(m)):n.push(new Map(Object.entries(m)));let a=!1,s=null;return n.forEach(m=>{if(m instanceof Map&&(m.has("easing")&&(s=m.get("easing"),m.delete("easing")),!a)){for(let u of m.values())if(u.toString().indexOf(Li)>=0){a=!0;break}}}),{type:W.Style,styles:n,easing:s,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){let n=e.currentAnimateTimings,o=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((m,u)=>{let g=e.collectedStyles.get(e.currentQuerySelector),x=g.get(u),w=!0;x&&(a!=o&&a>=x.startTime&&o<=x.endTime&&(e.errors.push(fa(u,x.startTime,x.endTime,a,o)),w=!1),a=x.startTime),w&&g.set(u,{startTime:a,endTime:o}),e.options&&Ba(m,e.options,e.errors)})})}visitKeyframes(t,e){let n={type:W.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Ca()),n;let o=1,a=0,s=[],m=!1,u=!1,g=0,x=t.steps.map(ge=>{let he=this._makeStyleAst(ge,e),xe=he.offset!=null?he.offset:Vd(he.styles),ye=0;return xe!=null&&(a++,ye=he.offset=xe),u=u||ye<0||ye>1,m=m||ye<g,g=ye,s.push(ye),he});u&&e.errors.push(ya()),m&&e.errors.push(va());let w=t.steps.length,K=0;a>0&&a<w?e.errors.push(ba()):a==0&&(K=o/(w-1));let R=w-1,N=e.currentTime,q=e.currentAnimateTimings,re=q.duration;return x.forEach((ge,he)=>{let xe=K>0?he==R?1:K*he:s[he],ye=xe*re;e.currentTime=N+q.delay+ye,q.duration=ye,this._validateStyleAst(ge,e),ge.offset=xe,n.styles.push(ge)}),n}visitReference(t,e){return{type:W.Reference,animation:Ae(this,Bt(t.animation),e),options:vt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:W.AnimateChild,options:vt(t.options)}}visitAnimateRef(t,e){return{type:W.AnimateRef,animation:this.visitReference(t.animation,e),options:vt(t.options)}}visitQuery(t,e){let n=e.currentQuerySelector,o=t.options||{};e.queryCount++,e.currentQuery=t;let[a,s]=Rd(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,Ne(e.collectedStyles,e.currentQuerySelector,new Map);let m=Ae(this,Bt(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:W.Query,selector:a,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:m,originalSelector:t.selector,options:vt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Sa());let n=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Zt(t.timings,e.errors,!0);return{type:W.Stagger,animation:Ae(this,Bt(t.animation),e),timings:n,options:null}}};function Rd(i){let t=!!i.split(/\s*,\s*/).find(e=>e==Ja);return t&&(i=i.replace(Ad,"")),i=i.replace(/@\*/g,Wt).replace(/@\w+/g,e=>Wt+"-"+e.slice(1)).replace(/:animating/g,ti),[i,t]}function Od(i){return i?Se({},i):null}var $i=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function Vd(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 n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Bd(i,t){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let a=Zt(i,t).duration;return Ri(a,0,"")}let e=i;if(e.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=Ri(0,0,"");return a.dynamic=!0,a.strValue=e,a}let o=Zt(e,t);return Ri(o.duration,o.delay,o.easing)}function vt(i){return i?(i=Se({},i),i.params&&(i.params=Od(i.params))):i={},i}function Ri(i,t,e){return{duration:i,delay:t,easing:e}}function Xi(i,t,e,n,o,a,s=null,m=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:o,delay:a,totalTime:o+a,easing:s,subTimeline:m}}var Jt=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},zd=1,Ud=":enter",$d=new RegExp(Ud,"g"),Hd=":leave",qd=new RegExp(Hd,"g");function er(i,t,e,n,o,a=new Map,s=new Map,m,u,g=[]){return new Hi().buildKeyframes(i,t,e,n,o,a,s,m,u,g)}var Hi=class{buildKeyframes(t,e,n,o,a,s,m,u,g,x=[]){g=g||new Jt;let w=new qi(t,e,g,o,a,x,[]);w.options=u;let K=u.delay?it(u.delay):0;w.currentTimeline.delayNextStep(K),w.currentTimeline.setStyles([s],null,w.errors,u),Ae(this,n,w);let R=w.timelines.filter(N=>N.containsAnimation());if(R.length&&m.size){let N;for(let q=R.length-1;q>=0;q--){let re=R[q];if(re.element===e){N=re;break}}N&&!N.allowOnlyTimelineStyles()&&N.setStyles([m],null,w.errors,u)}return R.length?R.map(N=>N.buildKeyframes()):[Xi(e,[],[],[],0,K,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let n=e.subInstructions.get(e.element);if(n){let o=e.createSubContext(t.options),a=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,o,o.options);a!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(let o of t){let a=o?.delay;if(a){let s=typeof a=="number"?a:it(zt(a,o?.params??{},e.errors));n.delayNextStep(s)}}}_visitSubInstructions(t,e,n){let a=e.currentTimeline.currentTime,s=n.duration!=null?it(n.duration):null,m=n.delay!=null?it(n.delay):null;return s!==0&&t.forEach(u=>{let g=e.appendInstructionToTimeline(u,s,m);a=Math.max(a,g.duration+g.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),Ae(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let n=e.subContextCount,o=e,a=t.options;if(a&&(a.params||a.delay)&&(o=e.createSubContext(a),o.transformIntoNewTimeline(),a.delay!=null)){o.previousNode.type==W.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=pi);let s=it(a.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Ae(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>n&&o.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let n=[],o=e.currentTimeline.currentTime,a=t.options&&t.options.delay?it(t.options.delay):0;t.steps.forEach(s=>{let m=e.createSubContext(t.options);a&&m.delayNextStep(a),Ae(this,s,m),o=Math.max(o,m.currentTimeline.currentTime),n.push(m.currentTimeline)}),n.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let n=t.strValue,o=e.params?zt(n,e.params,e.errors):n;return Zt(o,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let n=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),o.snapshotCurrentStyles());let a=t.style;a.type==W.Keyframes?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let n=e.currentTimeline,o=e.currentAnimateTimings;!o&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=o&&o.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let n=e.currentAnimateTimings,o=e.currentTimeline.duration,a=n.duration,m=e.createSubContext().currentTimeline;m.easing=n.easing,t.styles.forEach(u=>{let g=u.offset||0;m.forwardTime(g*a),m.setStyles(u.styles,u.easing,e.errors,e.options),m.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(m),e.transformIntoNewTimeline(o+a),e.previousNode=t}visitQuery(t,e){let n=e.currentTimeline.currentTime,o=t.options||{},a=o.delay?it(o.delay):0;a&&(e.previousNode.type===W.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=pi);let s=n,m=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=m.length;let u=null;m.forEach((g,x)=>{e.currentQueryIndex=x;let w=e.createSubContext(t.options,g);a&&w.delayNextStep(a),g===e.element&&(u=w.currentTimeline),Ae(this,t.animation,w),w.currentTimeline.applyStylesToKeyframe();let K=w.currentTimeline.currentTime;s=Math.max(s,K)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let n=e.parentContext,o=e.currentTimeline,a=t.timings,s=Math.abs(a.duration),m=s*(e.currentQueryTotal-1),u=s*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":u=m-u;break;case"full":u=n.currentStaggerTime;break}let x=e.currentTimeline;u&&x.delayNextStep(u);let w=x.currentTime;Ae(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=o.currentTime-w+(o.startTime-n.currentTimeline.startTime)}},pi={},qi=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=pi;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,n,o,a,s,m,u){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=a,this.errors=s,this.timelines=m,this.currentTimeline=u||new mi(this._driver,e,0),m.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let n=t,o=this.options;n.duration!=null&&(o.duration=it(n.duration)),n.delay!=null&&(o.delay=it(n.delay));let a=n.params;if(a){let s=o.params;s||(s=this.options.params={}),Object.keys(a).forEach(m=>{(!e||!s.hasOwnProperty(m))&&(s[m]=zt(a[m],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let n=t.params={};Object.keys(e).forEach(o=>{n[o]=e[o]})}}return t}createSubContext(t=null,e,n){let o=e||this.element,a=new i(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){let o={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},a=new ji(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(a),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,o,a,s){let m=[];if(o&&m.push(this.element),t.length>0){t=t.replace($d,"."+this._enterClassName),t=t.replace(qd,"."+this._leaveClassName);let u=n!=1,g=this._driver.query(this.element,t,u);n!==0&&(g=n<0?g.slice(g.length+n,g.length):g.slice(0,n)),m.push(...g)}return!a&&m.length==0&&s.push(xa(e)),m}},mi=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,n,o){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=o,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+=zd,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,n]of this._globalTimelineStyles)this._backFill.set(e,n||Ke),this._currentKeyframe.set(e,Ke);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,o){e&&this._previousKeyframe.set("easing",e);let a=o&&o.params||{},s=jd(t,this._globalTimelineStyles);for(let[m,u]of s){let g=zt(u,a,n);this._pendingStyles.set(m,g),this._localTimelineStyles.has(m)||this._backFill.set(m,this._globalTimelineStyles.get(m)??Ke),this._updateStyle(m,g)}}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,n)=>{let o=this._styleSummary.get(n);(!o||e.time>o.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,n=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((m,u)=>{let g=new Map([...this._backFill,...m]);g.forEach((x,w)=>{x===Kt?t.add(w):x===Ke&&e.add(w)}),n||g.set("offset",u/this.duration),o.push(g)});let a=[...t.values()],s=[...e.values()];if(n){let m=o[0],u=new Map(m);m.set("offset",0),u.set("offset",1),o=[m,u]}return Xi(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)}},ji=class extends mi{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,n,o,a,s,m=!1){super(t,e,s.delay),this.keyframes=n,this.preStyleProps=o,this.postStyleProps=a,this._stretchStartingKeyframe=m,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:n,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){let a=[],s=n+e,m=e/s,u=new Map(t[0]);u.set("offset",0),a.push(u);let g=new Map(t[0]);g.set("offset",qa(m)),a.push(g);let x=t.length-1;for(let w=1;w<=x;w++){let K=new Map(t[w]),R=K.get("offset"),N=e+R*n;K.set("offset",qa(N/s)),a.push(K)}n=s,e=0,o="",t=a}return Xi(this.element,t,this.preStyleProps,this.postStyleProps,n,e,o,!0)}};function qa(i,t=3){let e=Math.pow(10,t-1);return Math.round(i*e)/e}function jd(i,t){let e=new Map,n;return i.forEach(o=>{if(o==="*"){n??=t.keys();for(let a of n)e.set(a,Ke)}else for(let[a,s]of o)e.set(a,s)}),e}function ja(i,t,e,n,o,a,s,m,u,g,x,w,K){return{type:0,element:i,triggerName:t,isRemovalTransition:o,fromState:e,fromStyles:a,toState:n,toStyles:s,timelines:m,queriedElements:u,preStyleProps:g,postStyleProps:x,totalTime:w,errors:K}}var Oi={},di=class{_triggerName;ast;_stateStyles;constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,o){return Qd(this.ast.matchers,t,e,n,o)}buildStyles(t,e,n){let o=this._stateStyles.get("*");return t!==void 0&&(o=this._stateStyles.get(t?.toString())||o),o?o.buildStyles(e,n):new Map}build(t,e,n,o,a,s,m,u,g,x){let w=[],K=this.ast.options&&this.ast.options.params||Oi,R=m&&m.params||Oi,N=this.buildStyles(n,R,w),q=u&&u.params||Oi,re=this.buildStyles(o,q,w),ge=new Set,he=new Map,xe=new Map,ye=o==="void",xt={params:tr(q,K),delay:this.ast.options?.delay},Ze=x?[]:er(t,e,this.ast.animation,a,s,N,re,xt,g,w),we=0;return Ze.forEach(Pe=>{we=Math.max(Pe.duration+Pe.delay,we)}),w.length?ja(e,this._triggerName,n,o,ye,N,re,[],[],he,xe,we,w):(Ze.forEach(Pe=>{let gt=Pe.element,wt=Ne(he,gt,new Set);Pe.preStyleProps.forEach(_t=>wt.add(_t));let eo=Ne(xe,gt,new Set);Pe.postStyleProps.forEach(_t=>eo.add(_t)),gt!==e&&ge.add(gt)}),ja(e,this._triggerName,n,o,ye,N,re,Ze,[...ge.values()],he,xe,we))}};function Qd(i,t,e,n,o){return i.some(a=>a(t,e,n,o))}function tr(i,t){let e=Se({},t);return Object.entries(i).forEach(([n,o])=>{o!=null&&(e[n]=o)}),e}var Qi=class{styles;defaultParams;normalizer;constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){let n=new Map,o=tr(t,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,m)=>{s&&(s=zt(s,o,e));let u=this.normalizer.normalizePropertyName(m,e);s=this.normalizer.normalizeStyleValue(m,u,s,e),n.set(m,s)})}),n}};function Kd(i,t,e){return new Ki(i,t,e)}var Ki=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,e.states.forEach(o=>{let a=o.options&&o.options.params||{};this.states.set(o.name,new Qi(o.style,a,n))}),Qa(this.states,"true","1"),Qa(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new di(t,o,this.states))}),this.fallbackTransition=Gd(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,o){return this.transitionFactories.find(s=>s.match(t,e,n,o))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}};function Gd(i,t,e){let n=[(s,m)=>!0],o={type:W.Sequence,steps:[],options:null},a={type:W.Transition,animation:o,matchers:n,options:null,queryCount:0,depCount:0};return new di(i,a,t)}function Qa(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 Wd=new Jt,Gi=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n}register(t,e){let n=[],o=[],a=Xa(this._driver,e,n,o);if(n.length)throw Ea(n);this._animations.set(t,a)}_buildPlayer(t,e,n){let o=t.element,a=ki(this._normalizer,t.keyframes,e,n);return this._driver.animate(o,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){let o=[],a=this._animations.get(t),s,m=new Map;if(a?(s=er(this._driver,e,a,Fi,ei,new Map,new Map,n,Wd,o),s.forEach(x=>{let w=Ne(m,x.element,new Map);x.postStyleProps.forEach(K=>w.set(K,null))})):(o.push(ka()),s=[]),o.length)throw Ia(o);m.forEach((x,w)=>{x.forEach((K,R)=>{x.set(R,this._driver.computeStyle(w,R,Ke))})});let u=s.map(x=>{let w=m.get(x.element);return this._buildPlayer(x,new Map,w)}),g=at(u);return this._playersById.set(t,g),g.onDestroy(()=>this.destroy(t)),this.players.push(g),g}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw Ma(t);return e}listen(t,e,n,o){let a=Jn(e,"","","");return Yn(this._getPlayer(t),n,a,o),()=>{}}command(t,e,n,o){if(n=="register"){this.register(t,o[0]);return}if(n=="create"){let s=o[0]||{};this.create(t,e,s);return}let a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t);break}}},Ka="ng-animate-queued",Zd=".ng-animate-queued",Vi="ng-animate-disabled",Yd=".ng-animate-disabled",Jd="ng-star-inserted",Xd=".ng-star-inserted",e1=[],nr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},t1={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},We="__ng_removed",Xt=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let n=t&&t.hasOwnProperty("value"),o=n?t.value:t;if(this.value=i1(o),n){let a=t,{value:s}=a,m=oo(a,["value"]);this.options=m}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let n=this.options.params;Object.keys(e).forEach(o=>{n[o]==null&&(n[o]=e[o])})}}},Yt="void",Bi=new Xt(Yt),Wi=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this._hostClassName="ng-tns-"+t,He(e,this._hostClassName)}listen(t,e,n,o){if(!this._triggers.has(e))throw Da(n,e);if(n==null||n.length==0)throw La(e);if(!o1(n))throw Fa(n,e);let a=Ne(this._elementListeners,t,[]),s={name:e,phase:n,callback:o};a.push(s);let m=Ne(this._engine.statesByElement,t,new Map);return m.has(e)||(He(t,Gt),He(t,Gt+"-"+e),m.set(e,Bi)),()=>{this._engine.afterFlush(()=>{let u=a.indexOf(s);u>=0&&a.splice(u,1),this._triggers.has(e)||m.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 Na(t);return e}trigger(t,e,n,o=!0){let a=this._getTrigger(e),s=new en(this.id,e,t),m=this._engine.statesByElement.get(t);m||(He(t,Gt),He(t,Gt+"-"+e),this._engine.statesByElement.set(t,m=new Map));let u=m.get(e),g=new Xt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&g.absorbOptions(u.options),m.set(e,g),u||(u=Bi),!(g.value===Yt)&&u.value===g.value){if(!s1(u.params,g.params)){let q=[],re=a.matchStyles(u.value,u.params,q),ge=a.matchStyles(g.value,g.params,q);q.length?this._engine.reportError(q):this._engine.afterFlush(()=>{ut(t,re),Ge(t,ge)})}return}let K=Ne(this._engine.playersByElement,t,[]);K.forEach(q=>{q.namespaceId==this.id&&q.triggerName==e&&q.queued&&q.destroy()});let R=a.matchTransition(u.value,g.value,t,g.params),N=!1;if(!R){if(!o)return;R=a.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:R,fromState:u,toState:g,player:s,isFallbackTransition:N}),N||(He(t,Ka),s.onStart(()=>{Ut(t,Ka)})),s.onDone(()=>{let q=this.players.indexOf(s);q>=0&&this.players.splice(q,1);let re=this._engine.playersByElement.get(t);if(re){let ge=re.indexOf(s);ge>=0&&re.splice(ge,1)}}),this.players.push(s),K.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let n=this._engine.driver.query(t,Wt,!0);n.forEach(o=>{if(o[We])return;let a=this._engine.fetchNamespacesByElement(o);a.size?a.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,e,n,o){let a=this._engine.statesByElement.get(t),s=new Map;if(a){let m=[];if(a.forEach((u,g)=>{if(s.set(g,u.value),this._triggers.has(g)){let x=this.trigger(t,g,Yt,o);x&&m.push(x)}}),m.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),n&&at(m).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){let o=new Set;e.forEach(a=>{let s=a.name;if(o.has(s))return;o.add(s);let u=this._triggers.get(s).fallbackTransition,g=n.get(s)||Bi,x=new Xt(Yt),w=new en(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:u,fromState:g,toState:x,player:w,isFallbackTransition:!0})})}}removeNode(t,e){let n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let o=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(t):[];if(a&&a.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(n.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)n.markElementAsRemoved(this.id,t,!1,e);else{let a=t[We];(!a||a===nr)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){He(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(n=>{let o=n.player;if(o.destroyed)return;let a=n.element,s=this._elementListeners.get(a);s&&s.forEach(m=>{if(m.name==n.triggerName){let u=Jn(a,n.triggerName,n.fromState.value,n.toState.value);u._data=t,Yn(n.player,m.phase,u,m.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(n)}),this._queue=[],e.sort((n,o)=>{let a=n.transition.ast.depCount,s=o.transition.ast.depCount;return a==0||s==0?a-s:this._engine.driver.containsElement(n.element,o.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Zi=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){let n=new Wi(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){let n=this._namespaceList,o=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,m=this.driver.getParentElement(e);for(;m;){let u=o.get(m);if(u){let g=n.indexOf(u);n.splice(g+1,0,t),s=!0;break}m=this.driver.getParentElement(m)}s||n.unshift(t)}else n.push(t);return o.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let o=this._namespaceLookup[t];o&&o.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);let o=this._namespaceList.indexOf(n);o>=0&&this._namespaceList.splice(o,1),n.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,n=this.statesByElement.get(t);if(n){for(let o of n.values())if(o.namespaceId){let a=this._fetchNamespace(o.namespaceId);a&&e.add(a)}}return e}trigger(t,e,n,o){if(ri(e)){let a=this._fetchNamespace(t);if(a)return a.trigger(e,n,o),!0}return!1}insertNode(t,e,n,o){if(!ri(e))return;let a=e[We];if(a&&a.setForRemoval){a.setForRemoval=!1,a.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,n)}o&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),He(t,Vi)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ut(t,Vi))}removeNode(t,e,n){if(ri(e)){let o=t?this._fetchNamespace(t):null;o?o.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);let a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,o,a){this.collectedLeaveElements.push(e),e[We]={namespaceId:t,setForRemoval:o,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,n,o,a){return ri(e)?this._fetchNamespace(t).listen(e,n,o,a):()=>{}}_buildInstruction(t,e,n,o,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,o,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,Wt,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,ti,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return at(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[We];if(e&&e.setForRemoval){if(t[We]=nr,e.namespaceId){this.destroyInnerAnimations(t);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Vi)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Yd,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,o)=>this._balanceNamespaceList(n,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let o=this.collectedEnterElements[n];He(o,Jd)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{e=this._flushAnimations(n,t)}finally{for(let o=0;o<n.length;o++)n[o]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let o=this.collectedLeaveElements[n];this.processLeaveNode(o)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?at(e).onDone(()=>{n.forEach(o=>o())}):n.forEach(o=>o())}}reportError(t){throw Aa(t)}_flushAnimations(t,e){let n=new Jt,o=[],a=new Map,s=[],m=new Map,u=new Map,g=new Map,x=new Set;this.disabledNodes.forEach(E=>{x.add(E);let O=this.driver.query(E,Zd,!0);for(let H=0;H<O.length;H++)x.add(O[H])});let w=this.bodyNode,K=Array.from(this.statesByElement.keys()),R=Za(K,this.collectedEnterElements),N=new Map,q=0;R.forEach((E,O)=>{let H=Fi+q++;N.set(O,H),E.forEach(X=>He(X,H))});let re=[],ge=new Set,he=new Set;for(let E=0;E<this.collectedLeaveElements.length;E++){let O=this.collectedLeaveElements[E],H=O[We];H&&H.setForRemoval&&(re.push(O),ge.add(O),H.hasAnimation?this.driver.query(O,Xd,!0).forEach(X=>ge.add(X)):he.add(O))}let xe=new Map,ye=Za(K,Array.from(ge));ye.forEach((E,O)=>{let H=ei+q++;xe.set(O,H),E.forEach(X=>He(X,H))}),t.push(()=>{R.forEach((E,O)=>{let H=N.get(O);E.forEach(X=>Ut(X,H))}),ye.forEach((E,O)=>{let H=xe.get(O);E.forEach(X=>Ut(X,H))}),re.forEach(E=>{this.processLeaveNode(E)})});let xt=[],Ze=[];for(let E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(e).forEach(H=>{let X=H.player,fe=H.element;if(xt.push(X),this.collectedEnterElements.length){let be=fe[We];if(be&&be.setForMove){if(be.previousTriggersValues&&be.previousTriggersValues.has(H.triggerName)){let ht=be.previousTriggersValues.get(H.triggerName),Oe=this.statesByElement.get(H.element);if(Oe&&Oe.has(H.triggerName)){let tn=Oe.get(H.triggerName);tn.value=ht,Oe.set(H.triggerName,tn)}}X.destroy();return}}let Ye=!w||!this.driver.containsElement(w,fe),Re=xe.get(fe),rt=N.get(fe),de=this._buildInstruction(H,n,rt,Re,Ye);if(de.errors&&de.errors.length){Ze.push(de);return}if(Ye){X.onStart(()=>ut(fe,de.fromStyles)),X.onDestroy(()=>Ge(fe,de.toStyles)),o.push(X);return}if(H.isFallbackTransition){X.onStart(()=>ut(fe,de.fromStyles)),X.onDestroy(()=>Ge(fe,de.toStyles)),o.push(X);return}let io=[];de.timelines.forEach(be=>{be.stretchStartingKeyframe=!0,this.disabledNodes.has(be.element)||io.push(be)}),de.timelines=io,n.append(fe,de.timelines);let cr={instruction:de,player:X,element:fe};s.push(cr),de.queriedElements.forEach(be=>Ne(m,be,[]).push(X)),de.preStyleProps.forEach((be,ht)=>{if(be.size){let Oe=u.get(ht);Oe||u.set(ht,Oe=new Set),be.forEach((tn,Ci)=>Oe.add(Ci))}}),de.postStyleProps.forEach((be,ht)=>{let Oe=g.get(ht);Oe||g.set(ht,Oe=new Set),be.forEach((tn,Ci)=>Oe.add(Ci))})});if(Ze.length){let E=[];Ze.forEach(O=>{E.push(Ra(O.triggerName,O.errors))}),xt.forEach(O=>O.destroy()),this.reportError(E)}let we=new Map,Pe=new Map;s.forEach(E=>{let O=E.element;n.has(O)&&(Pe.set(O,O),this._beforeAnimationBuild(E.player.namespaceId,E.instruction,we))}),o.forEach(E=>{let O=E.element;this._getPreviousPlayers(O,!1,E.namespaceId,E.triggerName,null).forEach(X=>{Ne(we,O,[]).push(X),X.destroy()})});let gt=re.filter(E=>Ya(E,u,g)),wt=new Map;Wa(wt,this.driver,he,g,Ke).forEach(E=>{Ya(E,u,g)&&gt.push(E)});let _t=new Map;R.forEach((E,O)=>{Wa(_t,this.driver,new Set(E),u,Kt)}),gt.forEach(E=>{let O=wt.get(E),H=_t.get(E);wt.set(E,new Map([...O?.entries()??[],...H?.entries()??[]]))});let fi=[],to=[],no={};s.forEach(E=>{let{element:O,player:H,instruction:X}=E;if(n.has(O)){if(x.has(O)){H.onDestroy(()=>Ge(O,X.toStyles)),H.disabled=!0,H.overrideTotalTime(X.totalTime),o.push(H);return}let fe=no;if(Pe.size>1){let Re=O,rt=[];for(;Re=Re.parentNode;){let de=Pe.get(Re);if(de){fe=de;break}rt.push(Re)}rt.forEach(de=>Pe.set(de,fe))}let Ye=this._buildAnimation(H.namespaceId,X,we,a,_t,wt);if(H.setRealPlayer(Ye),fe===no)fi.push(H);else{let Re=this.playersByElement.get(fe);Re&&Re.length&&(H.parentPlayer=at(Re)),o.push(H)}}else ut(O,X.fromStyles),H.onDestroy(()=>Ge(O,X.toStyles)),to.push(H),x.has(O)&&o.push(H)}),to.forEach(E=>{let O=a.get(E.element);if(O&&O.length){let H=at(O);E.setRealPlayer(H)}}),o.forEach(E=>{E.parentPlayer?E.syncPlayerEvents(E.parentPlayer):E.destroy()});for(let E=0;E<re.length;E++){let O=re[E],H=O[We];if(Ut(O,ei),H&&H.hasAnimation)continue;let X=[];if(m.size){let Ye=m.get(O);Ye&&Ye.length&&X.push(...Ye);let Re=this.driver.query(O,ti,!0);for(let rt=0;rt<Re.length;rt++){let de=m.get(Re[rt]);de&&de.length&&X.push(...de)}}let fe=X.filter(Ye=>!Ye.destroyed);fe.length?a1(this,O,fe):this.processLeaveNode(O)}return re.length=0,fi.forEach(E=>{this.players.push(E),E.onDone(()=>{E.destroy();let O=this.players.indexOf(E);this.players.splice(O,1)}),E.play()}),fi}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,o,a){let s=[];if(e){let m=this.playersByQueriedElement.get(t);m&&(s=m)}else{let m=this.playersByElement.get(t);if(m){let u=!a||a==Yt;m.forEach(g=>{g.queued||!u&&g.triggerName!=o||s.push(g)})}}return(n||o)&&(s=s.filter(m=>!(n&&n!=m.namespaceId||o&&o!=m.triggerName))),s}_beforeAnimationBuild(t,e,n){let o=e.triggerName,a=e.element,s=e.isRemovalTransition?void 0:t,m=e.isRemovalTransition?void 0:o;for(let u of e.timelines){let g=u.element,x=g!==a,w=Ne(n,g,[]);this._getPreviousPlayers(g,x,s,m,e.toState).forEach(R=>{let N=R.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),R.destroy(),w.push(R)})}ut(a,e.fromStyles)}_buildAnimation(t,e,n,o,a,s){let m=e.triggerName,u=e.element,g=[],x=new Set,w=new Set,K=e.timelines.map(N=>{let q=N.element;x.add(q);let re=q[We];if(re&&re.removedBeforeQueried)return new ot(N.duration,N.delay);let ge=q!==u,he=r1((n.get(q)||e1).map(we=>we.getRealPlayer())).filter(we=>{let Pe=we;return Pe.element?Pe.element===q:!1}),xe=a.get(q),ye=s.get(q),xt=ki(this._normalizer,N.keyframes,xe,ye),Ze=this._buildPlayer(N,xt,he);if(N.subTimeline&&o&&w.add(q),ge){let we=new en(t,m,q);we.setRealPlayer(Ze),g.push(we)}return Ze});g.forEach(N=>{Ne(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>n1(this.playersByQueriedElement,N.element,N))}),x.forEach(N=>He(N,Ni));let R=at(K);return R.onDestroy(()=>{x.forEach(N=>Ut(N,Ni)),Ge(u,e.toStyles)}),w.forEach(N=>{Ne(o,N,[]).push(R)}),R}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ot(t.duration,t.delay)}},en=class{namespaceId;triggerName;element;_player=new ot;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(o=>Yn(t,n,void 0,o))}),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){Ne(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 n1(i,t,e){let n=i.get(t);if(n){if(n.length){let o=n.indexOf(e);n.splice(o,1)}n.length==0&&i.delete(t)}return n}function i1(i){return i??null}function ri(i){return i&&i.nodeType===1}function o1(i){return i=="start"||i=="done"}function Ga(i,t){let e=i.style.display;return i.style.display=t??"none",e}function Wa(i,t,e,n,o){let a=[];e.forEach(u=>a.push(Ga(u)));let s=[];n.forEach((u,g)=>{let x=new Map;u.forEach(w=>{let K=t.computeStyle(g,w,o);x.set(w,K),(!K||K.length==0)&&(g[We]=t1,s.push(g))}),i.set(g,x)});let m=0;return e.forEach(u=>Ga(u,a[m++])),s}function Za(i,t){let e=new Map;if(i.forEach(m=>e.set(m,[])),t.length==0)return e;let n=1,o=new Set(t),a=new Map;function s(m){if(!m)return n;let u=a.get(m);if(u)return u;let g=m.parentNode;return e.has(g)?u=g:o.has(g)?u=n:u=s(g),a.set(m,u),u}return t.forEach(m=>{let u=s(m);u!==n&&e.get(u).push(m)}),e}function He(i,t){i.classList?.add(t)}function Ut(i,t){i.classList?.remove(t)}function a1(i,t,e){at(e).onDone(()=>i.processLeaveNode(t))}function r1(i){let t=[];return ir(i,t),t}function ir(i,t){for(let e=0;e<i.length;e++){let n=i[e];n instanceof Vt?ir(n.players,t):t.push(n)}}function s1(i,t){let e=Object.keys(i),n=Object.keys(t);if(e.length!=n.length)return!1;for(let o=0;o<e.length;o++){let a=e[o];if(!t.hasOwnProperty(a)||i[a]!==t[a])return!1}return!0}function Ya(i,t,e){let n=e.get(i);if(!n)return!1;let o=t.get(i);return o?n.forEach(a=>o.add(a)):t.set(i,n),e.delete(i),!0}var $t=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,n){this._driver=e,this._normalizer=n,this._transitionEngine=new Zi(t.body,e,n),this._timelineEngine=new Gi(t.body,e,n),this._transitionEngine.onRemovalComplete=(o,a)=>this.onRemovalComplete(o,a)}registerTrigger(t,e,n,o,a){let s=t+"-"+o,m=this._triggerCache[s];if(!m){let u=[],g=[],x=Xa(this._driver,a,u,g);if(u.length)throw Ta(o,u);m=Kd(o,x,this._normalizer),this._triggerCache[s]=m}this._transitionEngine.registerTrigger(e,o,m)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,o){this._transitionEngine.insertNode(t,e,n,o)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,o){if(n.charAt(0)=="@"){let[a,s]=Ii(n),m=o;this._timelineEngine.command(a,e,s,m)}else this._transitionEngine.trigger(t,e,n,o)}listen(t,e,n,o,a){if(n.charAt(0)=="@"){let[s,m]=Ii(n);return this._timelineEngine.listen(s,e,m,a)}return this._transitionEngine.listen(t,e,n,o,a)}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 l1(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=zi(t[0]),t.length>1&&(n=zi(t[t.length-1]))):t instanceof Map&&(e=zi(t)),e||n?new c1(i,e,n):null}var c1=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,n,o){this._element=e,this._startStyles=n,this._endStyles=o;let a=i.initialStylesByElement.get(e);a||i.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Ge(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ge(this._element,this._initialStyles),this._endStyles&&(Ge(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(ut(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ut(this._element,this._endStyles),this._endStyles=null),Ge(this._element,this._initialStyles),this._state=3)}}return i})();function zi(i){let t=null;return i.forEach((e,n)=>{p1(n)&&(t=t||new Map,t.set(n,e))}),t}function p1(i){return i==="display"||i==="position"}var ui=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,n,o){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=o,this._duration=n.duration,this._delay=n.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.domPlayer;this._initialized=!0;let t=this.keyframes,e=this._triggerWebAnimation(this.element,t,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=t.length?t[t.length-1]:new Map;let n=()=>this._onFinish();return e.addEventListener("finish",n),this.onDestroy(()=>{e.removeEventListener("finish",n)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){let o=this._convertKeyframesToObject(e);try{return t.animate(o,n)}catch{return null}}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(){let t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,o)=>{o!=="offset"&&t.set(o,this._finished?n:ii(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},gi=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return Mi(t,e)}getParentElement(t){return Xn(t)}query(t,e,n){return Di(t,e,n)}computeStyle(t,e,n){return ii(t,e)}animate(t,e,n,o,a,s=[]){let m=o==0?"both":"forwards",u={duration:n,delay:o,fill:m};a&&(u.easing=a);let g=new Map,x=s.filter(R=>R instanceof ui);za(n,o)&&x.forEach(R=>{R.currentSnapshot.forEach((N,q)=>g.set(q,N))});let w=Va(e).map(R=>new Map(R));w=Ua(t,w,g);let K=l1(t,w);return new ui(t,w,u,K)}};var si="@",or="@.disabled",_i=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,n,o){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=o}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,n,o=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,o)}removeChild(t,e,n,o){if(o){this.delegate.removeChild(t,e,n,o);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,o){this.delegate.setAttribute(t,e,n,o)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,o){this.delegate.setStyle(t,e,n,o)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==si&&e==or?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n,o){return this.delegate.listen(t,e,n,o)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},Yi=class extends _i{factory;constructor(t,e,n,o,a){super(e,n,o,a),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==si?e.charAt(1)=="."&&e==or?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n,o){if(e.charAt(0)==si){let a=m1(t),s=e.slice(1),m="";return s.charAt(0)!=si&&([s,m]=d1(s)),this.engine.listen(this.namespaceId,a,s,m,u=>{let g=u._data||-1;this.factory.scheduleListenerCallback(g,n,u)})}return this.delegate.listen(t,e,n,o)}};function m1(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function d1(i){let t=i.indexOf("."),e=i.substring(0,t),n=i.slice(t+1);return[e,n]}var hi=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,e.onRemovalComplete=(o,a)=>{a?.removeChild(null,o)}}createRenderer(t,e){let o=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let g=this._rendererCache,x=g.get(o);if(!x){let w=()=>g.delete(o);x=new _i("",o,this.engine,w),g.set(o,x)}return x}let a=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let m=g=>{Array.isArray(g)?g.forEach(m):this.engine.registerTrigger(a,s,t,g.name,g)};return e.data.animation.forEach(m),new Yi(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(n));return}let o=this._animationCallbacksBuffer;o.length==0&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(a=>{let[s,m]=a;s(m)}),this._animationCallbacksBuffer=[]})}),o.push([e,n])}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()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}};var g1=(()=>{class i extends $t{constructor(e,n,o){super(e,n,o)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||i)(on(an),on(bt),on(St))};static \u0275prov=nn({token:i,factory:i.\u0275fac})}return i})();function _1(){return new li}function h1(){return new hi(Pt(bo),Pt($t),Pt(ao))}var ar=[{provide:St,useFactory:_1},{provide:$t,useClass:g1},{provide:lo,useFactory:h1}],H2=[{provide:bt,useClass:Ji},{provide:yi,useValue:"NoopAnimations"},...ar],f1=[{provide:bt,useFactory:()=>new gi},{provide:yi,useFactory:()=>"BrowserAnimations"},...ar];function rr(){return so("NgEagerAnimations"),[...f1]}var sr={providers:[{provide:ho,useValue:"en"},Eo(ko()),No(),rr(),_o(),pt,vn,ct,yn,Qo,Jo,$o,xn,Io]};function C1(i){let t=i,e=Math.floor(Math.abs(i)),n=i.toString().replace(/^[^.]*\.?/,"").length;return e===1&&n===0?1:e===Math.floor(e)&&e>=2&&e<=4&&n===0?3:n!==0?4:5}var lr=["cs",[["dop.","odp."]],void 0,[["N","P","\xDA","S","\u010C","P","S"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"],["ned\u011Ble","pond\u011Bl\xED","\xFAter\xFD","st\u0159eda","\u010Dtvrtek","p\xE1tek","sobota"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["ledna","\xFAnora","b\u0159ezna","dubna","kv\u011Btna","\u010Dervna","\u010Dervence","srpna","z\xE1\u0159\xED","\u0159\xEDjna","listopadu","prosince"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["leden","\xFAnor","b\u0159ezen","duben","kv\u011Bten","\u010Derven","\u010Dervenec","srpe
108n","z\xE1\u0159\xED","\u0159\xEDjen","listopad","prosinec"]],[["p\u0159.n.l.","n.l."],["p\u0159. n. l.","n. l."],["p\u0159ed na\u0161\xEDm letopo\u010Dtem","na\u0161eho letopo\u010Dtu"]],1,[6,0],["dd.MM.yy","d. M. y","d. MMMM y","EEEE d. MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss, zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"CZK","K\u010D","\u010Desk\xE1 koruna",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CSK:["K\u010Ds"],CZK:["K\u010D"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"],XEU:["ECU"],XXX:[]},"ltr",C1];vo(lr,"cs");var y1=bi.prototype.prepareExternalUrl;bi.prototype.prepareExternalUrl=function(i){console.debug("prepareExternalUrl: internalUrl:",i);let t=i.startsWith("/")?i.substring(1):i,e=y1.call(this,t);if(console.debug("prepareExternalUrl: url:",e),G.isEmptyOrNull(e))return e;let n=e,o="";if(n.startsWith("/404/")&&!i.startsWith("/404/")&&(n=n.substring(4)),e.includes("?")){let s=e.indexOf("?");n=e.substring(0,s),o=e.substring(s)}else if(e.includes("#")){let s=e.indexOf("#");n=e.substring(0,s),o=e.substring(s)}n.endsWith("/")&&(n=n.substring(0,n.length-1)),console.debug("prepareExternalUrl: part1:",n),console.debug("prepareExternalUrl: part2:",o);let a=n+o;return console.debug("prepareExternalUrl: resultUrl:",a),a};So(Zn,sr).catch(i=>console.error(i));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.