1"use strict";(self.webpackChunkaccount=self.webpackChunkaccount||[]).push([[32],{9032(gt,N,c){c.d(N,{DashboardComponent:()=>lt});var f=c(7323),a=c(6563),h=c(9748),p=c(53),T=c(9546),C=c(5152),v=c(701),t=c(6124);function B(i,r){if(1&i&&(t.rj2(0,"div")(1,"span"),t.EFF(2),t.eux()()),2&i){const n=t.XpG(2);t.R7$(),t.AVh("name",!n.oneNameOnly()),t.R7$(),t.JRh(n.getNameByConfig())}}function E(i,r){if(1&i&&(t.rj2(0,"div",3)(1,"h1",4),t.EFF(2),t.nI1(3,"t"),t.eux(),t.rj2(4,"div")(5,"span"),t.EFF(6),t.nI1(7,"t"),t.eux(),t.nVh(8,B,3,3,"div"),t.eux(),t.rj2(9,"span",5),t.EFF(10),t.nI1(11,"t"),t.eux()()),2&i){const n=r,e=t.XpG();t.R7$(2),t.JRh(t.bMT(3,9,"dashboard.greeting.headline")),t.R7$(2),t.AVh("one-line",e.oneNameOnly())("two-lines",!e.oneNameOnly()),t.R7$(2),t.SpI("",t.bMT(7,11,e.isNameSet(n.user)?"dashboard.greeting.salutation":"dashboard.greeting.salutation.no.name"),"\xa0"),t.R7$(2),t.vxM(e.isNameSet(n.user)&&!e.noName()?8:-1),t.R7$(2),t.Lme("",t.bMT(11,13,"dashboard.greeting.userid.label")," ",n.user.userId)}}let G=(()=>{class i{constructor(){this.userSessionService=(0,a.WQX)(T.hG),this.configService=(0,a.WQX)(v.H),this.userSessionInfo$=this.userSessionService.getCurrentUserSession$()}isNameSet(n){return(0,C.hj)(n.firstName)&&(0,C.hj)(n.lastName)}getNameLayoutFromConfig(){return this.configService.getAppConfig().nameLayout}getNameByConfig(){const n=[],e=this.userSessionService.getCurrentSessionInfo().user;return this.getNameLayoutFromConfig().forEach(o=>{o in e&&n.push(e[o])}),n.join(" ")}oneNameOnly(){return this.getNameLayoutFromConfig().length<2}noName(){return 0==this.getNameLayoutFromConfig().length}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-dashboard-greeting"]],decls:7,vars:6,consts:[[1,"wrapper"],[1,"avatar"],["alt","",3,"src"],[1,"greeting"],[1,"headline"],[1,"user-id"]],template:function(e,o){if(1&e&&(t.rj2(0,"div",0)(1,"div")(2,"div",1),t.Hgh(3,"img",2),t.nI1(4,"t"),t.eux(),t.nVh(5,E,12,15,"div",3),t.nI1(6,"async"),t.eux()()),2&e){let s;t.R7$(3),t.Avn("src",t.bMT(4,2,"dashboard.profile.image"),t.B4B),t.R7$(2),t.vxM((s=t.bMT(6,4,o.userSessionInfo$))?5:-1,s)}},dependencies:[h.MD,h.Jj,p.cD],styles:["[_ngcontent-%COMP%]:root{--heading-size-small: 1rem;--heading-size-medium: 1.125rem;--heading-size-large: 1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{margin:0 auto;width:85vw;min-width:300px;padding:.6rem 7px .8rem;height:120px}@media(min-width:1024px){[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:2rem 7px;height:150px}}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:64px;width:64px}@media(min-width:1024px){[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:80px}}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%]{align-items:flex-start;margin-left:1.6rem;display:flex;flex-direction:column}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%] .one-line[_ngcontent-%COMP%]{flex-direction:row}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%] .two-lines[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:1em;line-height:1.8em}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .greeting[_ngcontent-%COMP%] .user-id[_ngcontent-%COMP%]{font-size:.875em;font-weight:700;opacity:.8}"]})}}return i})(),W=(()=>{class i{constructor(){this.configService=(0,a.WQX)(v.H)}
1get twoColumnGrid(){return this.configService.getAppConfig().maxMajorTiles<=4}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-dashboard-major-tile"]],hostVars:2,hostBindings:function(e,o){2&e&&t.AVh("two-column-grid",o.twoColumnGrid)},inputs:{title:"title"},decls:12,vars:14,consts:[[3,"useDefaultSpacing","isWrapped","title"],[1,"inner-tile"],["alt","",3,"src"],[1,"content"]],template:function(e,o){1&e&&(t.j41(0,"cw-tile",0),t.nI1(1,"t"),t.j41(2,"div",1),t.nrm(3,"img",2),t.nI1(4,"t"),t.j41(5,"div",3)(6,"h2"),t.EFF(7),t.nI1(8,"t"),t.k0s(),t.j41(9,"p"),t.EFF(10),t.nI1(11,"t"),t.k0s()()()()),2&e&&(t.Y8G("useDefaultSpacing",!1)("isWrapped",!0)("title",t.bMT(1,6,o.title)),t.R7$(3),t.Y8G("src",t.bMT(4,8,o.title+".image"),t.B4B),t.R7$(4),t.JRh(t.bMT(8,10,o.title)),t.R7$(3),t.JRh(t.bMT(11,12,o.title+".notes")))},dependencies:[f.my,p.cD],styles:['[_ngcontent-%COMP%]:root{--heading-size-small: 1rem;--heading-size-medium: 1.125rem;--heading-size-large: 1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{--csc-card-label-font-size: .8rem;--csc-card-headline-font-size: 1.05rem;--csc-card-subhead-font-size: .9375rem;--csc-card-text-font-size: .9rem;--csc-card-price-font-size: .9375rem;display:flex;position:relative;flex-direction:column-reverse;overflow:hidden;transition:box-shadow .33s ease-out;border-radius:var(--csc-card-border-radius, 6px);background-color:var(--csc-card-background-color, #fff);box-shadow:0 2px 8px #0000001a;font-family:var(--csc-card-font-family-text, var(--base-font-family, var(--csc-font-base, sans-serif)))}[_nghost-%COMP%]:focus-within{transition:all ease-out .1s;box-shadow:0 0 0 2px var(--csc-card-outline-color, #0094dc)}[_nghost-%COMP%]:focus{box-shadow:0 2px 2px #00000026}[_nghost-%COMP%]:hover{transition:box-shadow .666s ease-out;box-shadow:0 4px 8px #0003}[_nghost-%COMP%]:active{box-shadow:0 2px 2px #00000026}[_nghost-%COMP%] *[_ngcontent-%COMP%]{box-sizing:content-box}@container (width > 750px){[_nghost-%COMP%]{--csc-card-label-font-size: .8125rem;--csc-card-headline-font-size: 1.1rem;--csc-card-subhead-font-size: 1rem;--csc-card-text-font-size: .9375rem;--csc-card-price-font-size: 1rem}}@container (width > 1000px){[_nghost-%COMP%]{--csc-card-label-font-size: .875rem;--csc-card-headline-font-size: 1.2rem;--csc-card-subhead-font-size: 1.1rem;--csc-card-text-font-size: 1rem;--csc-card-price-font-size: 1.125rem}}--order-image-text[_nghost-%COMP%]{flex-direction:row-reverse}--order-text-image[_nghost-%COMP%]{flex-direction:row}--1-cols[_nghost-%COMP%]{grid-column-end:span 1}--2-cols[_nghost-%COMP%]{grid-column-end:span 2}--order-image-text[_nghost-%COMP%] __text-area[_ngcontent-%COMP%], --order-text-image[_nghost-%COMP%] __text-area[_ngcontent-%COMP%]{flex-basis:45%}@container (width > 750px){--order-image-top--md[_nghost-%COMP%]{flex-direction:column-reverse}--order-image-top--md[_nghost-%COMP%] __text-area[_ngcontent-%COMP%]{flex-basis:auto}--order-image-text--md[_nghost-%COMP%]{flex-direction:row-reverse}--order-text-image--md[_nghost-%COMP%]{flex-direction:row}--order-text-image--md[_nghost-%COMP%] __text-area[_ngcontent-%COMP%], --order-image-text--md[_nghost-%COMP%] __text-area[_ngcontent-%COMP%]{flex-basis:45%}--1-cols--md[_nghost-%COMP%]{grid-column-end:span 1}--2-cols--md[_nghost-%COMP%]{grid-column-end:span 2}}__image-area[_nghost-%COMP%]{background-color:var(--csc-card-image-background-color, #edebea)}__image[_nghost-%COMP%]{display:inherit;flex-basis:fit-content;width:100%;height:100%;object-fit:cover;object-position:center}__text-area[_nghost-%COMP%]{display:flex;flex:1 0 auto;flex-direction:column;justify-content:space-between;padding:1rem;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:10 5 8}__text-area--text-center[_nghost-%COMP%]{text-align:center}__text-area--text-center[_nghost-%COMP%] __price[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}@media only screen and (min-width:1024px){__text-area--text-center-desktop[_nghost-%COMP%]{text-align:center}__text-area--text-center-desktop[_nghost-%COMP%] __price[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}@media only screen and (max-width:1023px){__text-area--text-center-mobile[_nghost-%COMP%]{text-align:center}__text-area--text-center-mobile[_nghost-%COMP%] __price[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}}__label[_nghost-%COMP%]{flex-shrink:1;margin:.25rem 0;color:var(--csc-card-text-label-color, #707070);font-size:var(--csc-card-label-font-size);font-weight:500}__link[_nghost-%COMP%]{outline:none;color:inherit;text-decoration:none}__link[_nghost-%COMP%]:visited, __link[_nghost-%COMP%]:hover, __link[_nghost-%COMP%]:active{color:inherit;text-decoration:none}__link[_nghost-%COMP%]:after{content:"";position:absolute;z-index:1;inset:0}__headline[_nghost-%COMP%]{flex-shrink:1;margin:0;font-family:var(--csc-card-font-family-head, var(--headline-font-family, var(--csc-font-headline, sans-serif)));font-size:var(--csc-card-headline-font-size, 1.05rem);
1font-weight:var(--csc-card-headline-font-weight, 500);line-height:var(--csc-card-headline-line-height, 1.4)}__subhead[_nghost-%COMP%]{flex-shrink:1;margin:.25rem 0 0;font-family:var(--csc-card-font-family-head, var(--headline-font-family, var(--csc-font-headline, sans-serif)));font-size:var(--csc-card-subhead-font-size, .9375rem);font-weight:400;line-height:1.4}__text[_nghost-%COMP%]{flex-shrink:1;margin:.75rem 0;font-size:var(--csc-card-text-font-size, .9rem);font-weight:400}@media only screen and (max-width:1023px){@supports (hyphenate-limit-chars: 10 4 4){__subhead[_nghost-%COMP%], __text[_nghost-%COMP%]{-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:10 4 4}}}__legal-note-opening-indicator[_nghost-%COMP%]{z-index:1;align-self:flex-start;margin-bottom:.75rem;padding:0;border:0 solid transparent;background:transparent;color:var(--anchor-color, #c30c15);font-family:inherit;font-size:var(--csc-card-text-font-size, .9rem);font-weight:400;text-decoration:underline;cursor:pointer}__legal-note-opening-indicator[_nghost-%COMP%]:focus-visible{transition:all ease-out .1s;outline:solid 2px var(--csc-card-outline-color, #0094dc);outline-offset:2px}__legal-note-opening-indicator[_nghost-%COMP%]:hover, __legal-note-opening-indicator[_nghost-%COMP%]:focus, __legal-note-opening-indicator[_nghost-%COMP%]:active{text-decoration:underline}__spacer[_nghost-%COMP%]{flex:1 1 100%}__price[_nghost-%COMP%]{align-content:end;font-size:var(--csc-card-price-font-size, .9375rem);font-weight:500;text-align:end}--center-headline[_nghost-%COMP%] __price[_ngcontent-%COMP%], --center-headline[_nghost-%COMP%] __headline[_ngcontent-%COMP%], --center-headline[_nghost-%COMP%] __subhead[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%]{position:relative;overflow:hidden;display:flex;-webkit-user-select:none;user-select:none;width:33%}@media(min-width:1024px){[_nghost-%COMP%]{width:100%}}[_nghost-%COMP%]{flex:0 0 calc(33.3% - 14px)}@media(max-width:511px){[_nghost-%COMP%]{width:50%;flex:0 0 calc(50% - 14px)}}@media(min-width:512px){.two-column-grid[_nghost-%COMP%]{width:100%}}[_nghost-%COMP%]{margin:7px}@media(min-width:512px){.two-column-grid[_nghost-%COMP%]{margin:0}}@media(min-width:1200px){[_nghost-%COMP%]{margin:0}}[_nghost-%COMP%]{box-sizing:border-box;text-align:center;background-color:#fff;cursor:pointer}[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%]{width:100%;background-color:transparent;z-index:1}@media(max-width:1199px){[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%]{margin:.5rem auto}}[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:64px}[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875rem;font-weight:400}[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] p[_ngcontent-%COMP%], [_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{display:none}@media(min-width:1200px){[_nghost-%COMP%]{align-items:center;justify-content:center}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%]{padding:2rem;display:flex;align-items:center}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] img[_ngcontent-%COMP%], [_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;padding-right:1rem;border-right:1px solid #e3e3e3}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{margin-left:1rem;text-align:left;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem;font-weight:700}[_nghost-%COMP%] .inner-tile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1rem;padding-top:.5rem;display:block}}@media(max-width:511px){.full-width[_nghost-%COMP%]{flex-basis:calc(100% - 14px);position:relative}.full-width[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%]{margin:.6rem 0 0 .6rem;text-align:left}.full-width[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:96px;padding:.5rem .3rem .8rem 1.15rem}.full-width[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:absolute;right:.6rem;top:2rem;width:50%}.full-width[_nghost-%COMP%] cw-tile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;font-size:small}}']})}}return i})();var X=c(1615),m=c(9307),V=c(8498),A=c(1318),S=c(9452),j=c(5296);let Q=(()=>{class i{constructor(){this.httpService=(0,a.WQX)(j.kl)}isReportAvailable(){return this.httpService.get(j.s0.PAPI_SECURED,"errorreports/present").pi
1pe((0,A.W)(()=>(0,S.of)(!1)))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=a.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var U=c(3037),z=c(4205),J=c(2771);class K extends z.B{constructor(r=1/0,n=1/0,e=J.U){super(),this._bufferSize=r,this._windowTime=n,this._timestampProvider=e,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,n)}next(r){const{isStopped:n,_buffer:e,_infiniteTimeWindow:o,_timestampProvider:s,_windowTime:l}=this;n||(e.push(r),!o&&e.push(s.now()+l)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(r),{_infiniteTimeWindow:e,_buffer:o}=this,s=o.slice();for(let l=0;l<s.length&&!r.closed;l+=e?1:2)r.next(s[l]);return this._checkFinalizedStatuses(r),n}_trimBuffer(){const{_bufferSize:r,_timestampProvider:n,_buffer:e,_infiniteTimeWindow:o}=this,s=(o?1:2)*r;if(r<1/0&&s<e.length&&e.splice(0,e.length-s),!o){const l=n.now();let d=0;for(let g=1;g<e.length&&e[g]<=l;g+=2)d=g;d&&e.splice(0,d+1)}}}var I=c(2645),R=c(9931),Y=c(819);function w(i,r,...n){if(!0===r)return void i();if(!1===r)return;const e=new R.Ms({next:()=>{e.unsubscribe(),i()}});return(0,I.Tg)(r(...n)).subscribe(e)}var $=c(271);let D=(()=>{class i{constructor(){this.redirectService=(0,a.WQX)(X.r),this.configService=(0,a.WQX)(v.H),this.projectService=(0,a.WQX)(Q),this.appConfig=this.configService.getAppConfig(),this.maxMajorTiles=this.appConfig.maxMajorTiles,this.links=this.appConfig.links,this.pdfToBookEnabled=this.appConfig.pdfToBookEnabled,this.translationService=(0,a.WQX)(p.L0),this.communityLink=this.translationService.getTranslationByKey("community.open.link"),this.isReportAvailable$=(this.pdfToBookEnabled?this.projectService.isReportAvailable():(0,S.of)(!1)).pipe((0,U.Z)(!1),function Z(i,r,n){let e,o=!1;return i&&"object"==typeof i?({bufferSize:e=1/0,windowTime:r=1/0,refCount:o=!1,scheduler:n}=i):e=i??1/0,function H(i={}){const{connector:r=()=>new z.B,resetOnError:n=!0,resetOnComplete:e=!0,resetOnRefCountZero:o=!0}=i;return s=>{let l,d,g,u=0,M=!1,O=!1;const P=()=>{d?.unsubscribe(),d=void 0},k=()=>{P(),l=g=void 0,M=O=!1},dt=()=>{const _=l;k(),_?.unsubscribe()};return(0,Y.N)((_,F)=>{u++,!O&&!M&&P();const x=g=g??r();F.add(()=>{u--,0===u&&!O&&!M&&(d=w(dt,o))}),x.subscribe(F),!l&&u>0&&(l=new R.Ms({next:b=>x.next(b),error:b=>{O=!0,P(),d=w(k,n,b),x.error(b)},complete:()=>{M=!0,P(),d=w(k,e),x.complete()}}),(0,I.Tg)(_).subscribe(l))})(s)}}({connector:()=>new K(e,r,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(1)),this.majorLinks$=this.isReportAvailable$.pipe((0,$.T)(n=>{const e=this.links.slice(0,this.maxMajorTiles).filter(o=>"cmp"!==o||this.configService.getKeyAccountConfig().cmpSupported).filter(o=>"pdf.reports"!==o);return this.pdfToBookEnabled&&n&&e.length<this.maxMajorTiles?[...e,"pdf.reports"]:e})),this.minorLinks$=this.isReportAvailable$.pipe((0,$.T)(n=>{const e=this.links.slice(this.maxMajorTiles).filter(o=>"cmp"!==o||this.configService.getKeyAccountConfig().cmpSupported).filter(o=>"pdf.reports"!==o);return this.pdfToBookEnabled&&n&&!this.links.slice(0,this.maxMajorTiles).includes("pdf.reports")?[...e,"pdf.reports"]:e}))}isTwoColumnGrid(){return this.maxMajorTiles<=4}redirectTo(n){switch(n){case"orders":this.redirectService.localRedirectTo(m.aT);break;case"personal.data":this.redirectService.localRedirectTo(m.eU);break;case"notifications":this.redirectService.localRedirectTo(m.P1);break;case"cmp":this.redirectService.localRedirectTo(m.bn);break;case"projects":this.appConfig.useIpsProjectsPage?this.redirectService.redirectToIpsPage(V.p):this.redirectService.redirectTo(this.appConfig.projectsLinkNoReference);break;case"customer.care":this.redirectService.redirectToSameOrigin(this.appConfig.customerCareLinkNoReference);break;case"community":this.redirectService.redirectInNewWindow(this.communityLink);break;case"videos":this.redirectService.localRedirectTo(m.bY);break;case"photopacks":this.redirectService.localRedirectTo(m.xe);break;case"pdf.reports":this.redirectService.redirectToSameOrigin(this.appConfig.pdfErrorReportsLinkNoReference);break;default:console.warn(n+" not defined!")}}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=a.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var y=c(7983);function q(i,r){if(1&i){const n=t.RV6();t.j41(0,"cw-dashboard-major-tile",3),t.bIt("click",function(){const o=a.eBV(n).$implicit,s=t.XpG(2);return a.Njj(s.redirectTo(o))})("keydown",function(o){const s=a.eBV(n).$implicit,l=t.XpG(2);return a.Njj(l.redirectOnInteractionKey(o,s))}),t.k0s()}if(2&i){const n=r.$implicit,e=r.$index,o=r.$count,s=t.XpG();t.AVh("full-width",e===o-1&&s.length%2!=0),t.Y8G("title","dashboard."+n),t.BMQ("data-it-name","major-tile-"+n.replace(".","-"))}}function tt(i,r){1&i&&t.Z7z(0,q,1,4,"cw-dashboard-major-tile",2,t.fX1),2&i&&t.Dyx(r)}let et=(()=>{class i{constructor(){this.dashboardService=(0,a.WQX)(D),this.trackingService=(0,a.WQX)(y.a),this.majorLinks=this.dashboardService.majorLinks$,this.isTwoColumnGr
1id=this.dashboardService.isTwoColumnGrid()}redirectTo(n){this.trackingService.addTrackingEvent("SECTION_CLICKED",{type:"major",section:n}),this.dashboardService.redirectTo(n)}redirectOnInteractionKey(n,e){(0,C.sg)(n)&&(this.redirectTo(e),n.preventDefault())}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-dashboard-major-tiles"]],decls:4,vars:5,consts:[[1,"content"],[1,"group"],["tabindex","0",1,"tile-focus",3,"title","full-width"],["tabindex","0",1,"tile-focus",3,"click","keydown","title"]],template:function(e,o){if(1&e&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,tt,2,0),t.nI1(3,"async"),t.k0s()()),2&e){let s;t.R7$(),t.AVh("group-two-column-grid",o.isTwoColumnGrid),t.R7$(),t.vxM((s=t.bMT(3,3,o.majorLinks))?2:-1,s)}},dependencies:[W,h.Jj],styles:["[_ngcontent-%COMP%]:root{--heading-size-small: 1rem;--heading-size-medium: 1.125rem;--heading-size-large: 1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{width:100%;background-color:#f7f4f2;padding:.5rem 0 1.4rem}@media(min-width:512px){[_nghost-%COMP%] .content[_ngcontent-%COMP%]{padding:1.8rem 0 2rem}}@media(min-width:1024px){[_nghost-%COMP%] .content[_ngcontent-%COMP%]{padding:3.5rem 0}}[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{margin:0 auto;min-width:300px;width:85vw;max-width:1200px;display:flex;flex-wrap:wrap}@media(min-width:512px){[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group.group-two-column-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2rem}}@media(min-width:1200px){[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr 1fr}[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group.group-two-column-grid[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{gap:1.5rem;width:100%}}[_nghost-%COMP%] .content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%] .tile-focus[_ngcontent-%COMP%]:focus-visible{outline:2px solid #246CCC;border-radius:2px}"]})}}return i})();function nt(i,r){1&i&&t.nrm(0,"span",5)}function it(i,r){if(1&i){const n=t.RV6();t.j41(0,"div")(1,"div",1)(2,"li",2),t.bIt("click",function(){const o=a.eBV(n).$implicit,s=t.XpG(3);return a.Njj(s.redirectTo(o))})("keydown",function(o){const s=a.eBV(n).$implicit,l=t.XpG(3);return a.Njj(l.redirectOnInteractionKey(o,s))}),t.nrm(3,"cw-icon",3),t.j41(4,"span",4),t.EFF(5),t.nI1(6,"t"),t.k0s()(),t.nVh(7,nt,1,0,"span",5),t.k0s()()}if(2&i){const n=r.$implicit,e=r.$index,o=r.$count,s=t.XpG(3);t.R7$(2),t.Y8G("ngClass",n),t.BMQ("data-it-name","minor-link-"+n.replace(".","-")),t.R7$(),t.Y8G("color","cmp"===n?"#C30C15":null)("size",18)("anchor","icon-"+s.getIconName(n))("spriteType",s.getSpriteType(n)),t.R7$(2),t.JRh(t.bMT(6,8,"dashboard."+n)),t.R7$(2),t.vxM(e!==o-1?7:-1)}}function ot(i,r){if(1&i&&(t.j41(0,"ul",0),t.Z7z(1,it,8,10,"div",null,t.fX1),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.Dyx(n)}}function rt(i,r){1&i&&t.nVh(0,ot,3,0,"ul",0),2&i&&t.vxM(r.length>0?0:-1)}let st=(()=>{class i{constructor(){this.dashboardService=(0,a.WQX)(D),this.trackingService=(0,a.WQX)(y.a),this.minorLinks=this.dashboardService.minorLinks$}redirectTo(n){this.trackingService.addTrackingEvent("SECTION_CLICKED",{type:"minor",section:n}),this.dashboardService.redirectTo(n)}redirectOnInteractionKey(n,e){(0,C.sg)(n)&&(this.redirectTo(e),n.preventDefault())}getIconName(n){switch(n){case"videos":return"play";
1case"orders":return"orderinfo";case"customer.care":return"help";case"personal.data":return"name";case"projects":return"bookbinding-classic";case"pdf.reports":return"pdf";case"photopacks":return"sets";case"notifications":return"messages";case"security":return"lock";case"cmp":return"cewe-myphotos";case"community":return"persons";default:return"error"}}getSpriteType(n){return"photopacks"===n?"product":"base"}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-dashboard-minor-links"]],decls:2,vars:3,consts:[[1,"minor-links","no-list-styling"],[1,"list-wrap"],["tabindex","0",1,"link-item",3,"click","keydown","ngClass"],[3,"color","size","anchor","spriteType"],[1,"link-text"],[1,"separator"]],template:function(e,o){if(1&e&&(t.nVh(0,rt,1,1),t.nI1(1,"async")),2&e){let s;t.vxM((s=t.bMT(1,1,o.minorLinks))?0:-1,s)}},dependencies:[h.MD,h.YU,f.Rl,h.Jj,p.cD],styles:['[_ngcontent-%COMP%]:root{--heading-size-small: 1rem;--heading-size-medium: 1.125rem;--heading-size-large: 1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{line-height:1.6rem;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%]{display:flex;justify-content:center;list-style:none;min-width:300px;padding:0 7px;margin:0 auto;width:85vw}@media(min-width:1024px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%]{padding:14px 0 7px}}@media(max-width:1023px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%]{flex-direction:column;padding:14px 0}}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%]{position:relative;display:flex}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:focus-visible{outline:2px solid #246CCC;border-radius:2px}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{color:#666}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] .link-item[_ngcontent-%COMP%]:hover .link-text[_ngcontent-%COMP%]{color:#888}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:.5rem;margin:0 .5rem;list-style:none;cursor:pointer;display:flex}[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] li[_ngcontent-%COMP%] cw-icon[_ngcontent-%COMP%]{padding-top:4px;margin-right:.8rem}@media(max-width:1023px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%}}@media(max-width:1023px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #e3e3e3}}@media(min-width:1024px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:1rem}}@media(min-width:1024px){[_nghost-%COMP%] .minor-links[_ngcontent-%COMP%] .list-wrap[_ngcontent-%COMP%] .separator[_ng
1content-%COMP%]:after{position:absolute;top:50%;transform:translate(-50%,-50%);content:"|";color:#e3e3e3;font-size:large}}']})}}return i})();var L=c(5171);let at=(()=>{class i{constructor(){this.securityService=(0,a.WQX)(T.iJ),this.trackingService=(0,a.WQX)(y.a),this.storageService=(0,a.WQX)(L.n$),this.loading=new a.bkB}logout(){this.loading.emit(!0),this.securityService.logoutCheckoutApi().subscribe(()=>{this.storageService.removeFromStorage(L.d5.WCI_SESSION),this.trackingService.addTrackingEvent("LOGOUT_SUCCESS"),this.securityService.logoutIPS().subscribe(()=>{window.location.href=new URL("./",window.location.href).href})})}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-logout"]],outputs:{loading:"loading"},decls:3,vars:5,consts:[[1,"button-line"],[1,"button",3,"click","dataItName","text","buttonType"]],template:function(e,o){1&e&&(t.j41(0,"div",0)(1,"cw-button",1),t.nI1(2,"t"),t.bIt("click",function(){return o.logout()}),t.k0s()()),2&e&&(t.R7$(),t.Y8G("dataItName","logout-button")("text",t.bMT(2,3,"button.logout"))("buttonType","primary"))},dependencies:[f.Qp,p.cD],styles:["[_ngcontent-%COMP%]:root{--heading-size-small: 1rem;--heading-size-medium: 1.125rem;--heading-size-large: 1.5rem}.bold[_ngcontent-%COMP%]{font-weight:700}.button-line[_ngcontent-%COMP%]{text-align:center;margin-top:1.6rem;margin-bottom:3rem}"]})}}return i})();function ct(i,r){1&i&&t.nrm(0,"cw-global-loading")}let lt=(()=>{class i{constructor(){this.loading=!1}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["cw-dashboard"]],decls:5,vars:1,consts:[[3,"loading"]],template:function(e,o){1&e&&(t.nVh(0,ct,1,0,"cw-global-loading"),t.nrm(1,"cw-dashboard-greeting")(2,"cw-dashboard-major-tiles")(3,"cw-dashboard-minor-links"),t.j41(4,"cw-logout",0),t.bIt("loading",function(l){return o.loading=l}),t.k0s()),2&e&&t.vxM(o.loading?0:-1)},dependencies:[G,et,st,at,f.h6],styles:["[_nghost-%COMP%]{display:flex;min-height:100vh;flex-direction:column;padding:.5em 0 0;margin:0 auto;background-color:#fff}"]})}}return 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.