PageSourceSearch

https://support.hp.com/wcc-assets/src_routes_dashboard_routes_ts.60e96bf4f76dc5eb.js

js hp.com collected 2026-09-24 08:28:30 UTC 350,657 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkhp_wcc=self.webpackChunkhp_wcc||[]).push([["src_app_components_error-scenario_service-unavailable_service-unavailable_component_ts","src_routes_dashboard_routes_ts"],{23111(ot,V,s){s.d(V,{m:()=>et});var D=s(37580),l=s(85240),m=s(86763),$=s(84205),k=s(76607),O=s(33900),g=s(75257),h=s(38056),u=s(93683),p=s(12481),R=s(19885),e=s(60480),w=s(9303),x=s(8130),t=s(4804);function I(X,at){if(1&X&&(p.j41(0,"div",8),p.nrm(1,"img",16),p.k0s()),2&X){const E=p.XpG().$implicit;p.R7$(),p.Y8G("src",p.mNQ(null==E?null:E.imagePath1),p.B4B)("alt",p.mNQ(null==E?null:E.image1Desc))}}function j(X,at){if(1&X&&(p.j41(0,"div",9),p.nrm(1,"img",17),p.k0s()),2&X){const E=p.XpG().$implicit;p.R7$(),p.Y8G("src",p.mNQ(null==E?null:E.imagePath1),p.B4B)("alt",p.mNQ(null==E?null:E.image1Desc))}}function A(X,at){if(1&X){const E=p.RV6();p.j41(0,"div",6),p.bIt("click",function(){const L=l.eBV(E).$implicit,J=p.XpG(2);return l.Njj(J.checkForPageNavigate(L))}),p.j41(1,"h5",7),p.EFF(2),p.k0s(),p.nVh(3,I,2,4,"div",8),p.nVh(4,j,2,4,"div",9),p.j41(5,"div",10)(6,"h5",11),p.EFF(7),p.k0s(),p.j41(8,"div",12)(9,"h5",13),p.EFF(10),p.k0s(),p.j41(11,"p",14),p.EFF(12),p.k0s()(),p.j41(13,"a",15),p.nI1(14,"memoize"),p.EFF(15),p.k0s()()()}if(2&X){const E=at.$implicit,B=p.XpG(2);p.Y8G("id",p.mNQ(null==E?null:E.elementId))("matchHeight","resource-option-box"),p.R7$(2),p.JRh(null==E?null:E.image1Desc),p.R7$(),p.vxM(!B.pageConfig().isMobile&&B.showImageDesk()?3:-1),p.R7$(),p.vxM(B.pageConfig().isMobile||B.showImageMob()?4:-1),p.R7$(3),p.JRh(null==E?null:E.image1Desc),p.R7$(3),p.JRh(null==E?null:E.subtitle),p.R7$(2),p.JRh(null==E?null:E.desc),p.R7$(),p.Y8G("title",p.mNQ(null==E?null:E.linkText)),p.BMQ("target",p.i5U(14,13,B.getlinkTarget,E.linkToTarget)),p.R7$(2),p.JRh(null==E?null:E.linkText)}}function K(X,at){if(1&X&&(p.j41(0,"div",1)(1,"div",2)(2,"h3"),p.EFF(3),p.k0s(),p.j41(4,"div",3)(5,"div")(6,"div",4),p.Z7z(7,A,16,16,"div",5,p.fX1),p.k0s()()()()()),2&X){const E=p.XpG();p.Y8G("ngClass",E.wrapperClass()),p.R7$(),p.Y8G("ngClass","rtl"===E.pageConfig().languageDirection?"rtl":"ltr"),p.R7$(2),p.JRh(E.heading()),p.R7$(3),p.Y8G("matchHeight","option-heading,option-text,image-wrap,option-desp"),p.R7$(),p.Dyx(E.data())}}let et=(()=>{class X{onResize(){this.resolutionBaseDisplay()}constructor(E,B,L,J,W){this.pageService=E,this.commonService=B,this.windowRef=L,this.appSelectorStore=J,this.globalDataService=W,this.pageConfig=(0,m.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,l.vPA)({}),this.data=(0,D.hFB)([]),this.heading=(0,D.hFB)(""),this.wrapperClass=(0,D.hFB)(""),this.botSwitchEnabled=(0,D.hFB)(""),this.showImageMob=(0,l.vPA)(!1),this.showImageDesk=(0,l.vPA)(!1),this.destroySubject$=new $.B,this.navigaterToPrinter=(0,D.CGW)({alias:"navigaterToPrinter"}),this.window=this.windowRef.nativeWindow}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,O.Q)(this.destroySubject$)).subscribe(E=>this.allTranslations.set(E)),this.resolutionBaseDisplay()}resolutionBaseDisplay(){this.window&&(this.showImageMob.set(this.window?.innerWidth<=800),this.showImageDesk.set(!(this.window?.innerWidth<=800)))}detectMobileTablet(){return this.pageConfig().isMobile?"mobile":this.pageConfig().isTablet?"tablet":"desktop"}checkForPageNavigate(E){"printerProductDetail"===this.pageConfig().pageName&&"virtual agent"===E.type&&"true"===this.botSwitchEnabled()?(this.globalDataService.updateGDL({chatBotAccessed:!0}),this.navigaterToPrinter.emit()):this.navigateToPage(E)}navigateToPage(E){if(E){let B;B="/"!==E.link[0]?E.link:`/${this.pageConfig().cc}-${this.pageConfig().lc}${E.link}`,B=this.commonService.localizeURL(B),this.window&&this.window?.open(B,"_blank")}}getlinkTarget(E){return this.commonService.setLinkTarget(E)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(B){return new(B||X)(p.rXU(R.b),p.rXU(e.h),p.rXU(w.$),p.rXU(x.q),p.rXU(t.a))}}static{this.\u0275cmp=p.VBU({type:X,selectors:[["app-suggested-services"]],hostBindings:function(B,L){1&B&&p.bIt("resize",function(){return L.onResize()},p.tSv)},inputs:{data:[1,"data"],heading:[1,"heading"],wrapperClass:[1,"wrapperClass"],botSwitchEnabled:[1,"botSwitchEnabled"]},outputs:{navigaterToPrinter:"navigaterToPrinter"},features:[p.Jv_([k.t])],decls:2,vars:2,consts:[["id","ssr-section",3,"ngClass"],["
1id","ssr-content",1,"dashboard-services",3,"ngClass"],[1,"ssrContainer",3,"ngClass"],[1,"ssrRow"],[1,"resource-option",3,"matchHeight"],[1,"resource-option-box",3,"matchHeight","id"],[1,"resource-option-box",3,"click","matchHeight","id"],[1,"option-heading"],[1,"image-wrap"],[1,"resource-img"],[1,"resource-detail"],[1,"option-heading-sm"],[1,"option-desp"],[1,"sub-title"],[1,"option-text"],["href","javascript:void:(0)",1,"ssrLink","arrow-link",3,"title"],["width","100%","height","auto",3,"src","alt"],["width","45","height","45",3,"src","alt"]],template:function(B,L){1&B&&(p.j41(0,"div",0),p.nVh(1,K,9,4,"div",1),p.k0s()),2&B&&(p.Y8G("ngClass",L.detectMobileTablet()),p.R7$(),p.vxM(L.data()?1:-1))},dependencies:[u.YU,h.u,g.z],styles:[".dashboard-services[_ngcontent-%COMP%]{background:#f7f7f7;padding-bottom:5px;margin-bottom:10px}.dashboard-services[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%]{text-align:left}.dashboard-services.printer-setup[_ngcontent-%COMP%]{margin-bottom:40px}.dashboard-services.solution-template[_ngcontent-%COMP%]{background:none!important}.dashboard-services[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:30px;font-weight:400;line-height:1.4;letter-spacing:-.15px;text-align:center;color:#767676;margin-top:50px}.dashboard-services[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:18px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.11;letter-spacing:.27px;text-align:center;color:#333}.dashboard-services[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{padding-top:40px;text-align:center;font-family:HPSimplifiedLight;font-size:32px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.09;letter-spacing:normal;color:#000}.dashboard-services[_ngcontent-%COMP%]   .ssrContainer[_ngcontent-%COMP%]{width:100%;margin:20px auto 0}.dashboard-services[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#0171ad}@media only screen and (min-width:801px){.option-heading-sm[_ngcontent-%COMP%]{display:none}.visibilityImg[_ngcontent-%COMP%]{display:inline-block!important}}@media only screen and (max-width:800px){.dashboard-services[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:35px}.dashboard-services.solution-template[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{padding-top:0;font-size:20px}.option-heading[_ngcontent-%COMP%]{display:none}.visibilityImg[_ngcontent-%COMP%]{display:none!important}.dashboard-services[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:26px;line-height:1.15;padding-bottom:20px}.dashboard-services[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin-top:15px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]{width:100%;margin:0 auto;padding:0 5px;flex-wrap:wrap}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:100%;text-align:left;background:#fff;margin-bottom:20px;display:flex;box-shadow:0 3px 10px #0000001a;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.1)}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-left:0;margin-right:0;padding:0 10px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px;height:45px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:14px;margin-top:8px;text-align:left;margin-bottom:0}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:0}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;width:100%}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{box-shadow:none;-webkit-box-shadow:none}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-img[_ngcontent-%COMP%]{width:75px;height:100%;float:left;margin-left:15px;padding-top:15px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-detail[_ngcontent-%COMP%]{width:90%;display:inline-block;padding-left:15px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}.dashboard-services.solution-template[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%]{font-size:16px}.dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%], .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;line-height:1.21}.dashboard-services.solution-template[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]{text-align:right;padding-left:0!important}.dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%], .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{text-align:right;padding-left:0}.dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-right:0}.tablet[_ngcontent-%COMP%]   .visibilityImg[_ngcontent-%COMP%]{display:none!important}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:26px;line-height:1.15;padding-bottom:20px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin-top:15px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]{width:100%;margin:0 auto;padding:0 5px;flex-wrap:wrap}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:100%;text-align:left;background:#fff;margin-bottom:20px;
1display:flex;box-shadow:0 3px 10px #0000001a;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.1)}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-left:0;margin-right:0;padding:0 10px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px;height:45px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:14px;margin-top:8px;text-align:left;margin-bottom:0}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:0}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;width:100%}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{box-shadow:none;-webkit-box-shadow:none}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-img[_ngcontent-%COMP%]{width:75px;height:100%;float:left;margin-left:15px;padding-top:15px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-detail[_ngcontent-%COMP%]{width:90%;display:inline-block;padding-left:15px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}.tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%]{font-size:16px}.tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%], .tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;line-height:1.21}.tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]{text-align:right;padding-left:0!important}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%], .tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{text-align:right;padding-left:0}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-right:0}}@media only screen and (min-width:801px){.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]{display:-webkit-flex;-webkit-justify-content:center;display:flex;justify-content:center;margin:50px auto 60px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:center}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]{width:282px;padding:20px;background:#fff;margin-right:25px;box-shadow:0 5px 22px #0003;border:1px solid transparent;cursor:pointer}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:60px;max-height:60px;margin:23px 0 20px;width:100%}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]:hover{border:1px solid #0096D6;box-shadow:0 5px 22px #0003;background-color:#fff;padding:20px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{margin-left:15px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:16px;margin-top:10px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]{margin-bottom:20px}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.25;letter-spacing:.08px;text-align:center;color:#5a5a5a;margin-bottom:0}.dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.25;letter-spacing:.08px;margin-top:10px;color:#0096d6}.dashboard-services.solution-template[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:30px;padding-top:36px!important}.dashboard-services.solution-template[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:18px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]{display:-webkit-flex;
1-webkit-justify-content:center;display:flex;justify-content:center;margin:50px auto 60px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:center}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]{width:282px;padding:20px;background:#fff;margin-right:25px;box-shadow:0 5px 22px #0003;border:1px solid transparent;cursor:pointer}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:60px;max-height:60px;margin:23px 0 20px;width:100%}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]:hover{border:1px solid #0096D6;box-shadow:0 5px 22px #0003;background-color:#fff;padding:20px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{margin-left:15px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:16px;margin-top:10px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]{margin-bottom:20px}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.25;letter-spacing:.08px;text-align:center;color:#5a5a5a;margin-bottom:0}.tablet[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.25;letter-spacing:.08px;margin-top:10px;color:#0096d6}.tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:30px;padding-top:36px!important}.tablet[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:18px}}.mobile[_ngcontent-%COMP%]   .visibilityImg[_ngcontent-%COMP%]{display:none!important}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:26px;line-height:1.15;padding-bottom:20px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin-top:15px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]{width:100%;margin:0 auto;padding:0 5px;flex-wrap:wrap}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:100%;text-align:left;background:#fff;margin-bottom:20px;display:flex;box-shadow:0 3px 10px #0000001a;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.1)}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-left:0;margin-right:0;padding:0 10px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div.resource-option-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px;height:45px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:14px;margin-top:8px;text-align:left;margin-bottom:0}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:0}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;width:100%}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{box-shadow:none;-webkit-box-shadow:none}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-img[_ngcontent-%COMP%]{width:75px;height:100%;float:left;margin-left:15px;padding-top:15px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div.resource-detail[_ngcontent-%COMP%]{width:90%;display:inline-block;padding-left:15px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .resource-option[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}.mobile[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%]{font-size:16px}.mobile[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%], .mobile[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   .option-desp[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;line-height:1.21}.mobile[_ngcontent-%COMP%]   .dashboard-services.solution-template[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]{text-align:right;padding-left:0!important}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .option-heading-sm[_ngcontent-%COMP%], .mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{text-align:right;padding-left:0}.mobile[_ngcontent-%COMP%]   .dashboard-services[_ngcontent-%COMP%]   .rtl[_ngcontent-%COMP%]   .resource-detail[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-right:0}@media(min-width:1200px){.container[_ngcontent-%COMP%]{max-width:1218px!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.image-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:59px;width:59px}}"]})}}return X})()},76607(ot,V,s){s.d(V,{t:()=>x});var D=s(86763),l=s(63855),m=s(33900),$=s(43942),k=s(84205),O=s(97965),g=s(23477),h=s(75507),u=s(85240),p=s(19885),R=s(91018),e=s(24938),w=s(60480);let x=(()=>{class t{constructor(j,A,K,et){this.pageService=j,this.http=A,this.route=K,this.commonService=et,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.ssrDataSub=new k.B,this.productDetailsDefault={SerialNumber:"",ProductNumber:"",ProductName:"",ProductNameOID:"",ProductSeriesName:"",ProductSeriesNameOID:"",CC:"",LC:""},this.destroySubject$=new k.B}getProductContextParameters(j,A){let K="";
1return j.productContext&&"series"===j.productContext?K=encodeURI(`${j.productSeriesSEOName}/${j.productSeriesOid}/`):j.productContext&&"model"===j.productContext&&(K=encodeURI(`${j.productSeriesSEOName}/${j.productSeriesOid}/model/${j.productNameOid}`)),A.sku&&(K+=`?sku=${A.sku}`),K}getServiceResourceData({url:j,params:A={},productDetails:K={},skipLoadingScreen:et=0,minOptions:X,maxOptions:at,method:E="GET"}){let B,L={...this.productDetailsDefault,...K};return new $.c(J=>{this.route.queryParams.subscribe(W=>{B=this.getProductContextParameters(L,W);let Y=new l.Lr,N=new l.Nl;Y=Y.append("skipLoadingScreen",1===et?"true":"false");let Z={responseType:"text",headers:Y};if(A&&"GET"===E){for(const P in A)N=N.set(P,A[P]);Z.params=N}else Z.responseType="json";this.sendRequest(E,j,A,Z).pipe((0,m.Q)(this.destroySubject$)).subscribe(P=>{let y;if(P&&P.data&&P.data.length){const f=(0,O.A)(P.data,S=>"both"===S.displayContext||"mobile"===S.displayContext),v=(0,O.A)(P.data,S=>"both"===S.displayContext||"web"===S.displayContext);y=this.pageConfig().isDesktop?v:f;const T=(0,g.A)(y,[function(S){return S.order}]);T.length<X?y="":(y=(0,h.A)(T,at),y.map(S=>{if("virtual agent"!==S.type){const z={"{cc}":this.pageConfig().cc,"{lc}":this.pageConfig().lc,"{PRODUCT_CONTEXT}":B};S.link=S.link.replace(/{CC}|{LC}|{PRODUCT_CONTEXT}/gi,function(q){return z[q]})}let H;if(L.intentType&&("Print"===L.intentType?H="printer":"compute"===L.intentType&&(H="pc")),"virtual agent"===S.type){const z={"{cc}":this.pageConfig().cc,"{lc}":this.pageConfig().lc,"{SerialNumber}":L.serialNumber,"{ProductNumber}":L?.altProductNumber||L.productNumber,"{ProductName}":L.productName,"{ProductNameOID}":L.productNameOID,"{ProductSeriesName}":L.productSeriesName,"{ProductSeriesNameOID}":L.productSeriesNameOID,"{Template}":this.pageConfig().templateName,"{topic_context}":L.seoName?L.seoName:"","{producttype}":H};S.link=S.link.replace(/{CC}|{LC}|{SerialNumber}|{ProductNumber}|{ProductName}|{ProductNameOID}|{ProductSeriesName}|{ProductSeriesNameOID}|{Template}|{topic_context}|{producttype}/gi,function(q){return z[q]})}})),this.ssrDataSub.next(y),J.next(y),J.complete()}})})})}sendRequest(j,A,K,et){const X=this.commonService.getSanitizedUrl(A);return"POST"===j?this.http.post(X,K,et):this.http.get(X,et)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(A){return new(A||t)(u.KVO(p.b),u.KVO(R.k),u.KVO(e.nX),u.KVO(w.h))}}static{this.\u0275prov=u.jDH({token:t,factory:t.\u0275fac})}}return t})()},55008(ot,V,s){s.d(V,{d:()=>w});var D=s(85240),l=s(86763),m=s(34487),$=s(84205),k=s(33900),O=s(12481),g=s(19885),h=s(91018),u=s(24938),p=s(8130);function R(x,t){if(1&x&&(O.j41(0,"li")(1,"a",0)(2,"span",1),O.EFF(3),O.k0s()()()),2&x){const I=t.$implicit,j=O.XpG(2);O.R7$(),O.Y8G("title",O.mNQ(j.allTranslations()[I.title]))("id",O.mNQ(I.elementId))("routerLink","/"+j.pageConfig().cc+"-"+j.pageConfig().lc+I.url),O.R7$(2),O.JRh(j.allTranslations()[I.title])}}function e(x,t){if(1&x&&(O.j41(0,"ul"),O.Z7z(1,R,4,6,"li",null,O.fX1),O.k0s()),2&x){const I=O.XpG();O.R7$(),O.Dyx(I.helpfulLinks())}}let w=(()=>{class x{constructor(I,j,A,K){this.pageService=I,this.http=j,this.router=A,this.appSelectorStore=K,this.pageConfig=(0,l.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,D.vPA)({}),this.helpfulLinks=(0,D.vPA)(null),this.destroySubject$=new $.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(I=>{this.allTranslations.set(I),this.gethelpfulLinks()})}gethelpfulLinks(){this.http.get("/wcc-assets/data/helpful-links.json").pipe((0,k.Q)(this.destroySubject$)).subscribe(I=>{this.helpfulLinks.set(I)})}navigateToUrl(I){I&&(I=`${this.pageConfig().cc}-${this.pageConfig().lc}${I}`,this.router.navigate([I]))}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(j){return new(j||x)(O.rXU(g.b),O.rXU(h.k),O.rXU(u.Ix),O.rXU(p.q))}}static{this.\u0275cmp=O.VBU({type:x,selectors:[["app-helpful-links"]],decls:1,vars:1,consts:[[3,"routerLink","title","id"],["aria-hidden","true"]],template:function(j,A){1&j&&O.nVh(0,e,3,0,"ul"),2&j&&O.vxM(A.helpfulLinks()?0:-1)},dependencies:[m.Wk],encapsulation:2})}}return x})()},69133(ot,V,s){s.d(V,{ServiceUnavailableErrorComponent:()=>R});var D=s(37580),l=s(85240),m=s(84205),$=s(33900),k=s(93683),O=s(55008),g=s(12481),h=s(8130),u=s(24938);const p=e=>({"center-align":e});let R=(()=>{class e{constructor(x,t,I){this.appSelectorStore=x,this.activatedRoute=t,this.document=I,this.allTranslations=(0,l.vPA)({}),this.refreshdatatriggered=(0,D.CGW)(),this.specsError=(0,l.vPA)(!1),this.destroySubject$=new m.B,this.window=this.document.defaultView,this.specsError.
1set((this.activatedRoute?.data).value?.specs)}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,$.Q)(this.destroySubject$)).subscribe(x=>this.allTranslations.set(x))}refreshPageData(){this.specsError()?this.window.location.reload():this.refreshdatatriggered.emit("pageDataRefresh")}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(t){return new(t||e)(g.rXU(h.q),g.rXU(u.nX),g.rXU(l.qQL))}}static{this.\u0275cmp=g.VBU({type:e,selectors:[["app-service-unavailable"]],outputs:{refreshdatatriggered:"refreshdatatriggered"},decls:13,vars:9,consts:[[1,"service-unavailable-error-container"],[1,"error-info",3,"ngClass"],["href","javascript:void(0)","id","dashboardError_button_refreshPage",1,"refresh-btn","btn",3,"click","title"],["aria-hidden","true"],[1,"helpful-link"]],template:function(t,I){1&t&&(g.j41(0,"div",0)(1,"div",1)(2,"h1"),g.EFF(3),g.k0s(),g.j41(4,"p"),g.EFF(5),g.k0s(),g.j41(6,"a",2),g.bIt("click",function(){return I.refreshPageData()}),g.j41(7,"span",3),g.EFF(8),g.k0s()(),g.j41(9,"div",4)(10,"p"),g.EFF(11),g.k0s(),g.nrm(12,"app-helpful-links"),g.k0s()()()),2&t&&(g.R7$(),g.Y8G("ngClass",g.eq3(7,p,I.specsError())),g.R7$(2),g.JRh(I.allTranslations()["#pps_WCC_FS_Personalized_Error_Sorry_Text"]),g.R7$(2),g.JRh(I.allTranslations()["#pps_WCC_FS_Personalized_Error_Info_Text"]),g.R7$(),g.Y8G("title",g.mNQ(I.allTranslations()["#pps_WCC_FS_Personalized_Error_Button_Text"])),g.R7$(2),g.JRh(I.allTranslations()["#pps_WCC_FS_Personalized_Error_Button_Text"]),g.R7$(3),g.SpI(" ",I.allTranslations()["#pps_WCC_FS_Personalized_Error_Helpful_Link_Heading"]," "))},dependencies:[k.YU,O.d],encapsulation:2})}}return e})()},7893(ot,V,s){s.d(V,{J:()=>w});var D=s(37580),l=s(85240),m=s(86763),$=s(84205),k=s(33900),O=s(55008),g=s(78808),h=s(12481),u=s(19885),p=s(9303),R=s(8130);function e(x,t){1&x&&h.nrm(0,"app-helpful-links")}let w=(()=>{class x{constructor(I,j,A){this.pageService=I,this.windowRef=j,this.appSelectorStore=A,this.pageConfig=(0,m.EW)(()=>this.pageService.configSignal()),this.hideHelpfulLinks=(0,D.hFB)(!1),this.redirectUrl=(0,D.geq)(),this.allTranslations=(0,l.vPA)({}),this.signInLink=(0,l.vPA)(""),this.skipSignIn=(0,l.vPA)(""),this.destroySubject$=new $.B,this.window=this.windowRef.nativeWindow}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(j=>this.allTranslations.set(j)),this.redirectUrl()||this.redirectUrl.set(this.window?.location?.href),this.signInLink.set(this.window?`${this.pageConfig().domain}/wcc-services/s/signin?cc=${this.pageConfig().cc}&lc=${this.pageConfig().lc}&pageurl=${encodeURIComponent(this.redirectUrl())}`:""),this.skipSignIn.set(`/${this.pageConfig().cc}-${this.pageConfig().lc}`)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(j){return new(j||x)(h.rXU(u.b),h.rXU(p.$),h.rXU(R.q))}}static{this.\u0275cmp=h.VBU({type:x,selectors:[["app-session-timeout"]],inputs:{hideHelpfulLinks:[1,"hideHelpfulLinks"],redirectUrl:[1,"redirectUrl"]},outputs:{redirectUrl:"redirectUrlChange"},decls:17,vars:12,consts:[[1,"container"],[1,"session-timeout-error-container"],[1,"error-info"],["id","SignIn",1,"signin-btn","btn",3,"globalLink","title"],["aria-hidden","true"],["id","skipLink",1,"skipLink",3,"globalLink","title"],[1,"helpful-link"]],template:function(j,A){1&j&&(h.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),h.EFF(4),h.k0s(),h.j41(5,"p"),h.EFF(6),h.k0s(),h.j41(7,"a",3)(8,"span",4),h.EFF(9),h.k0s()(),h.j41(10,"a",5)(11,"span",4),h.EFF(12),h.k0s()(),h.j41(13,"div",6)(14,"p"),h.EFF(15),h.k0s(),h.nVh(16,e,1,0,"app-helpful-links"),h.k0s()()()()),2&j&&(h.R7$(4),h.JRh(A.allTranslations()["#pps_WCC_FS_Personalized_Error_Session_Timeout_Heading"]),h.R7$(2),h.JRh(A.allTranslations()["#pps_WCC_FS_Personalized_Error_Session_Timeout_Info"]),h.R7$(),h.Y8G("title",h.mNQ(A.allTranslations()["#pps_WCC_FS_Personalized_Error_Session_Timeout_Sign_In_Button"]))("globalLink",A.signInLink()),h.R7$(2),h.JRh(A.allTranslations()["#pps_WCC_FS_Personalized_Error_Session_Timeout_Sign_In_Button"]),h.R7$(),h.Y8G("title",h.mNQ(A.allTranslations()["#pps_WCC_FS_Error_Timed_Out_Skip_Text"]))("globalLink",A.skipSignIn()),h.R7$(2),h.JRh(A.allTranslations()["#pps_WCC_FS_Error_Timed_Out_Skip_Text"]),h.R7$(3),h.SpI(" ",A.allTranslations()["#pps_WCC_FS_Personalized_Error_Session_Expire_Timeout_Link_Heading"]," "),h.R7$(),h.vxM(A.hideHelpfulLinks()?-1:16))},dependencies:[O.d,g.z],encapsulation:2})}}return x})()},78808(ot,V,s){s.d(V,{z:()=>g});var D=s(37580),l=s(12481),m=s(60480),$=s(9303),k=s(24180),O=s(19885);let g=(()=>{class h{constructor(p,R,e,w,x,t){this.commonService=p,this.el=R,this.windowRef=e,this.domPurifier=w,this.pageService=x,this.renderer=t,this.pageConfig=this.pageService.config,this.globalLink=(0,D.hFB)(""),this.isVoidLink=(0,D.hFB)(!1),this.isNonRouterLink=(0,D.hFB)(!1),this.linkTarget=(0,D.hFB)("self"),this.inNewTab=!1,this.isModal=!1,this.window=this.windowRef.nativeWindow}ngAfterViewInit(){const p=this.linkTarget();this.inNewTab="newtab"===p?.toLowerCase(),this.isModal="modal"===p?.toLowerCase(),this.pageConfig.isRenderModeDebug&&(console.log(`globalLink before change: ${this.globalLink()}`),this.renderer.addClass(this.el.nativeElement,"global-link-directive")),this.navigationUrl=this.commonService.getNavigationUrl(this.globalLink()),this.pageConfig.isRenderModeDebug&&console.log(`globalLink after change: ${this.navigationUrl}`),this.el?.nativeElement&&this.navigationUrl&&(this.el.nativeElement.href=this.isVoidLink()||this.isModal?"javascript:void(0)":this.domPurifier.sanitize(this.navigationUrl,{}),this.el.nativeElement.target=this.inNewTab?"_blank":"_self")}onClick(p){const R=this.navigationUrl||this.globalLink();
1R&&!this.isNonRouterLink()&&!1===p.ctrlKey&&(this.inNewTab||this.isModal?this.inNewTab&&this.isVoidLink()&&(p.preventDefault(),this.window.open(this.domPurifier.sanitize(R,{}),"_blank")):(p.preventDefault(),this.commonService.globalRouterNavigate(this.domPurifier.sanitize(R,{}))))}static{this.\u0275fac=function(R){return new(R||h)(l.rXU(m.h),l.rXU(l.aKT),l.rXU($.$),l.rXU(k.S),l.rXU(O.b),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:h,selectors:[["","globalLink",""]],hostBindings:function(R,e){1&R&&l.bIt("click",function(x){return e.onClick(x)})},inputs:{globalLink:[1,"globalLink"],isVoidLink:[1,"isVoidLink"],isNonRouterLink:[1,"isNonRouterLink"],linkTarget:[1,"linkTarget"]}})}}return h})()},38056(ot,V,s){s.d(V,{u:()=>k});var D=s(37580),l=s(86763),m=s(12481),$=s(19885);let k=(()=>{class O{onResize(){(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(u=>{this.matchSectionHeight(this.el.nativeElement,u)})}constructor(h,u,p){this.pageService=h,this.el=u,this.renderer=p,this.pageConfig=(0,l.EW)(()=>this.pageService.configSignal()),this.matchHeight=(0,D.hFB)(""),this.resizeOnMobile=(0,D.hFB)(!1)}ngAfterViewInit(){const h=this.pageConfig().isBrowser&&setInterval(()=>{this.allImagesLoaded(this.el.nativeElement)&&(clearInterval(h),(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(R=>{(this.pageConfig().isBrowser||this.resizeOnMobile())&&this.matchSectionHeight(this.el.nativeElement,R)}))},300)}allImagesLoaded(h){let u=h?.getElementsByTagName("img");for(let p of Array.from(u))if(!p.complete)return!1;return!0}matchSectionHeight(h,u){if(!h)return;const p=h.getElementsByClassName(u);if(!p)return;Array.from(p).forEach(w=>{this.renderer.setStyle(w,"height","initial")});const e=Array.from(p).map(w=>w.getBoundingClientRect().height).reduce((w,x)=>x>w?x:w,0);Array.from(p).forEach(w=>this.renderer.setStyle(w,"height",`${e}px`))}static{this.\u0275fac=function(u){return new(u||O)(m.rXU($.b),m.rXU(m.aKT),m.rXU(m.sFG))}}static{this.\u0275dir=m.FsC({type:O,selectors:[["","matchHeight",""]],hostBindings:function(u,p){1&u&&m.bIt("resize",function(){return p.onResize()},m.tSv)},inputs:{matchHeight:[1,"matchHeight"],resizeOnMobile:[1,"resizeOnMobile"]}})}}return O})()},91462(ot,V,s){s.d(V,{R:()=>l});var D=s(12481);let l=(()=>{class m{constructor(k){this.el=k,this.textSelected=!1}ngOnInit(){}clickEvent(){if(this.el.nativeElement.value)if(this.textSelected){let k=window?.getSelection();k&&k.anchorNode==this.el.nativeElement&&k.collapse(this.el.nativeElement)}else this.el.nativeElement.select(),this.textSelected=!0}blurEvent(){this.el.nativeElement.value&&(this.textSelected=!1)}static{this.\u0275fac=function(O){return new(O||m)(D.rXU(D.aKT))}}static{this.\u0275dir=D.FsC({type:m,selectors:[["","selectInputText",""]],hostBindings:function(O,g){1&O&&D.bIt("click",function(){return g.clickEvent()})("blur",function(){return g.blurEvent()})}})}}return m})()},75257(ot,V,s){s.d(V,{z:()=>m});var D=s(37580),l=s(12481);let m=(()=>{class ${constructor(O){this.cdr=O}transform(O,...g){return O.apply(this.cdr.context,g)}static{this.\u0275fac=function(g){return new(g||$)(l.rXU(D.gRc,16))}}static{this.\u0275pipe=l.EJ8({name:"memoize",type:$,pure:!0})}}return $})()},96114(ot,V,s){s.d(V,{Q:()=>m});var D=s(26895),l=s(12481);let m=(()=>{class ${constructor(){this.transform=D.A}static{this.\u0275fac=function(g){return new(g||$)}}static{this.\u0275pipe=l.EJ8({name:"orderBy",type:$,pure:!0})}}return $})()},2648(ot,V,s){s.d(V,{k:()=>p});var D=s(85240),l=s(86763),m=s(84205),$=s(33900),k=s(93683),O=s(12481),g=s(19885),h=s(8130),u=s(60480);let p=(()=>{class R{constructor(w,x,t){this.pageService=w,this.appSelectorStore=x,this.commonService=t,this.pageConfig=(0,l.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,D.vPA)({}),this.gdprLink=(0,D.vPA)(""),this.destroySubject$=new m.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,$.Q)(this.destroySubject$)).subscribe(w=>this.allTranslations.set(w)),this.commonService.hpDotComCcLcMappingSub.pipe((0,$.Q)(this.destroySubject$)).subscribe(w=>{let x=w[`${this.pageConfig().cc}-${this.pageConfig().lc}`];void 0===w[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(x=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.gdprLink.set(`https://www.hp.com/${x}/privacy/privacy.html`)})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(x){return new(x||R)(O.rXU(g.b),O.rXU(h.q),O.rXU(u.h))}}static{this.\u0275cmp=O.VBU({type:R,selectors:[["app-case-modal-footer"]],decls:7,vars:4,consts:[[1,"case-detail-footer",3,"ngClass"],[1,"align-left","privacy-text"],["alt","Privacy policy","target","_blank",3,"href"],[1,"align-right","float-right","mob-float-none","mob-align-left","mob-display-block","copyright-text"],[1,"clearfix"]],template:function(x,t){1&x&&(O.j41(0,"div",0)(1,"span",1)(2,"a",2),O.EFF(3),O.k0s()(),O.j41(4,"span",3),O.EFF(5),O.k0s(),O.nrm(6,"div",4),O.k0s()),2&x&&(O.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl":"ltr"),O.R7$(2),O.Y8G("href",t.gdprLink(),O.B4B),O.R7$(),O.SpI(" ",t.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Footer_Privacy_Policy"]," "),O.R7$(2),O.SpI(" ",t.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Footer_Copyright_Text"]," "))},dependencies:[k.YU],styles:[".case-detail-footer[_ngcontent-%COMP%]{margin-top:0;padding:20px 20px 22px 8px;border-top:2px solid #efefef;font-size:16px;color:#767676;font-family:HPSimplifiedRegular}.case-detail-footer.rtl[_ngcontent-%COMP%]{padding-right:8px}.case-detail-footer.rtl[_ngcontent-%COMP%]   span.copyright-text[_ngcontent-%COMP%]{text-align:left!important;float:left!important}.case-detail-footer.rtl[_ngcontent-%COMP%]   span.privacy-text[_ngcontent-%COMP%]{text-align:right!important;float:right!important}@media only screen and (max-width:800px){.mob-display-block[_ngcontent-%COMP%]{display:block;padding-top:16px;text-align:left!important;float:none!important}.case-detail-footer.rtl[_ngcontent-%COMP%]   span.copyright-text[_ngcontent-%COMP%]{text-align:right!important;float:none!important}.case-detail-footer.rtl[_ngcontent-%COMP%]   span.mob-display-block[_ngcontent-%COMP%]{text-align:right!important;float:none!important;padding-top:23px}.case-detail-footer[_ngcontent-%COMP%]{padding:15px}.case-detail-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}}"]})}}return R})()},82342(ot,V,s){s.d(V,{b:()=>vt});var D=s(86763),l=s(75797),m=s(85240),$=s(37580),k=s(33900),O=s(84205),g=s(23477),h=s(97965),u=s(52730),p=s(2648),R=s(93683),e=s(12481),w=s(19885),x=s(60480),t=s(20572),I=s(8130);function j(c,b){1&c&&e.nrm(0,"img",5)}function A(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){let o;const d=e.XpG(2);e.R7$(),e.SpI("\xa0",null==(o=d.deviceInfo())?null:o.nickName)}}function K(c,b){1&c&&(e.j41(0,"span"),e.EFF(1,":"),e.k0s())}function et(c,b){if(1&c&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&c){let o;const d=e.XpG(2);e.R7$(),e.SpI("\xa0",null==(o=d.deviceInfo())?null:o.serialNumber)}}function X(c,b){1&c&&e.eu8(0)}function at(c,b){if(1&c&&(e.j41(0,"div"),e.DNE(1,X,1,0,"ng-container",11),e.k0s()),2&c){e.XpG(2);const o=e.sdS(2);e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function E(c,b){1&c&&e.eu8(0)}function B(c,b){if(1&c&&(e.j41(0,"div"),e.DNE(1,E,1,0,"ng-container",11),e.k0s()),2&c){e.XpG(2);const o=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function L(c,b){if(1&c){const o=e.RV6();
1e.j41(0,"div",3)(1,"div",4),e.nVh(2,j,1,0,"img",5),e.j41(3,"h3",6,2),e.EFF(5),e.nVh(6,A,2,1,"span"),e.nVh(7,K,2,0,"span"),e.nVh(8,et,2,1,"span",7),e.k0s(),e.j41(9,"button",8),e.bIt("click",function(){m.eBV(o);const C=e.XpG();return m.Njj(C.closeListModal())}),e.j41(10,"span",9),e.EFF(11,"\xd7"),e.k0s()()(),e.j41(12,"div",10),e.nVh(13,at,2,1,"div"),e.nVh(14,B,2,1,"div"),e.k0s(),e.nrm(15,"app-case-modal-footer"),e.k0s()}if(2&c){const o=e.XpG();e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(2),e.vxM(!o.pageConfig().isMobile&&o.largeDevice()?2:-1),e.R7$(3),e.SpI(" ",o.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalHeader"]),e.R7$(),e.vxM(o.deviceInfo().nickName?6:-1),e.R7$(),e.vxM(o.deviceInfo().serialNumber?7:-1),e.R7$(),e.vxM(o.deviceInfo().serialNumber?8:-1),e.R7$(),e.Y8G("ngClass",o.pageConfig().isDesktop?"focus":"no-focus"),e.R7$(3),e.Y8G("ngClass",o.pageConfig().isTablet?"tablet modal-body secondary-content":"nonTablet modal-body secondary-content"),e.R7$(),e.vxM(!o.pageConfig().isMobile&&o.largeDevice()?13:-1),e.R7$(),e.vxM(o.pageConfig().isMobile||o.smallDevice()?14:-1)}}function J(c,b){if(1&c){const o=e.RV6();e.j41(0,"a",30),e.bIt("click",function(){m.eBV(o);const C=e.XpG(2);return m.Njj(C.sortCaseData("status"))}),e.j41(1,"span",19),e.EFF(2),e.k0s(),e.j41(3,"span",20),e.nrm(4,"span",21)(5,"span",22),e.k0s(),e.j41(6,"span",23),e.nrm(7,"span",24),e.k0s()()}if(2&c){const o=e.XpG(2);e.Y8G("title",e.VkB("sort column by ",o.allTranslations()["#pps_WCC_FS_Dashboard_Status"])),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_Status"]),e.R7$(5),e.Y8G("ngClass",o.getArrowClass("status"))}}function W(c,b){if(1&c){const o=e.RV6();e.j41(0,"a",18),e.bIt("click",function(){m.eBV(o);const C=e.XpG(2);return m.Njj(C.sortCaseData("status"))}),e.j41(1,"span",19),e.EFF(2),e.k0s(),e.j41(3,"span",20),e.nrm(4,"span",21)(5,"span",22),e.k0s(),e.j41(6,"span",23),e.nrm(7,"span",24),e.k0s()()}if(2&c){const o=e.XpG(2);e.Y8G("title",e.VkB("sort column by ",o.allTranslations()["#pps_WCC_FS_Dashboard_Status"])),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_Status"]),e.R7$(5),e.Y8G("ngClass",o.getArrowClass("status"))}}function Y(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Row_Heading_Open_Cases"])}}function N(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Row_Heading_Closed_Cases"])}}function Z(c,b){if(1&c&&(e.j41(0,"div",33),e.nVh(1,Y,2,1,"span"),e.nVh(2,N,2,1,"span"),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.vxM(0===o.status||2===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function P(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_latest_than_90days"])}}function y(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Older_than_90days"])}}function f(c,b){if(1&c&&(e.j41(0,"div",33),e.nVh(1,P,2,1,"span"),e.nVh(2,y,2,1,"span"),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function v(c,b){1&c&&e.nrm(0,"span",39)}function T(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.JRh(null==o?null:o.caseId)}}function S(c,b){1&c&&(e.j41(0,"span"),e.EFF(1,"\xa0"),e.k0s())}function H(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit,d=e.XpG(4);e.R7$(),e.JRh(d.formatedDate(null==o?null:o.dateCreated))}}function z(c,b){1&c&&(e.j41(0,"span"),e.EFF(1,"\xa0"),e.k0s())}function q(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.JRh(null==o?null:o.statusText)}}function nt(c,b){1&c&&(e.j41(0,"span"),e.EFF(1,"\xa0"),e.k0s())}function tt(c,b){if(1&c){const o=e.RV6();e.j41(0,"div",37),e.bIt("click",function(){const C=m.eBV(o).$implicit,U=e.XpG(4);return m.Njj(U.showRelatedcaseDetail(C))})("keyup",function(C){const U=m.eBV(o).$implicit,it=e.XpG(4);return m.Njj(it.onKeyUpEvent(C,U))}),e.j41(1,"div",38),e.nVh(2,v,1,0,"span",39),e.nVh(3,T,2,1,"span"),e.nVh(4,S,2,0,"span"),e.k0s(),e.j41(5,"div",40),e.nVh(6,H,2,1,"span"),e.nVh(7,z,2,0,"span"),e.k0s(),e.j41(8,"div",41),e.nVh(9,q,2,1,"span"),e.nVh(10,nt,2,0,"span"),e.k0s()()}if(2&c){const o=b.$implicit,d=e.XpG(4);e.BMQ("aria-label",d.getAriaLabel(null==o?null:o.caseId)),e.R7$(2),e.vxM(o.hasUpdates?2:-1),e.R7$(),e.vxM(o.caseId?3:-1),e.R7$(),e.vxM(o.caseId?-1:4),e.R7$(2),e.vxM(o.dateCreated?6:-1),e.R7$(),e.vxM(o.dateCreated?-1:7),e.R7$(2),e.vxM(o.statusText?9:-1),e.R7$(),e.vxM(o.statusText?-1:10)}}function lt(c,b){if(1&c&&(e.j41(0,"div",34),e.Z7z(1,tt,11,8,"div",36,e.fX1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.Dyx(o.values)}}function st(c,b){if(1&c&&(e.j41(0,"div",33),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoOpenCases"])}}function dt(c,b){if(1&c&&(e.j41(0,"div",33),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Closed_Case"])}}function ht(c,b){if(1&c&&(e.j41(0,"div",42),e.nVh(1,st,2,1,"div",33),e.nVh(2,dt,2,1,"div",33),e.k0s()),2&c){const o=e.XpG(2).$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function Mt(c,b){if(1&c&&(e.j41(0,"div",33),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Case_Latest_than_90days"])}}function Q(c,b){if(1&c&&(e.j41(0,"div",33),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Case_Older_than_90days"])}}function $t(c,b){if(1&c&&(e.j41(0,"div",43),e.nVh(1,Mt,2,1,"div",33),e.nVh(2,Q,2,1,"div",33),e.k0s()),2&c){const o=e.XpG(2).$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function jt(c,b){if(1&c&&(e.j41(0,"div",35),e.nVh(1,ht,3,2,"div",42),e.nVh(2,$t,3,2,"div",43),e.k0s()),2&c){const o=e.XpG(3);e.R7$(),e.vxM("status"===o.order()?1:-1),e.R7$(),e.vxM("dateCreated"===o.order()?2
1:-1)}}function It(c,b){if(1&c&&(e.j41(0,"div",29)(1,"div",31)(2,"div",32),e.nVh(3,Z,3,2,"div",33),e.nVh(4,f,3,2,"div",33),e.k0s()(),e.nVh(5,lt,3,0,"div",34),e.nVh(6,jt,3,2,"div",35),e.k0s()),2&c){const o=b.$implicit,d=b.$index,C=e.XpG(2);e.Y8G("id",e.mNQ(d)),e.R7$(3),e.vxM("status"===C.order()?3:-1),e.R7$(),e.vxM("dateCreated"===C.order()?4:-1),e.R7$(),e.vxM(null!=o&&null!=o.values&&o.values.length?5:-1),e.R7$(),e.vxM(null!=o&&null!=o.values&&o.values.length?-1:6)}}function Nt(c,b){if(1&c){const o=e.RV6();e.qex(0),e.j41(1,"div",12)(2,"div",13)(3,"div",14)(4,"div",15)(5,"span",16),e.EFF(6),e.k0s()(),e.j41(7,"div",17)(8,"a",18),e.bIt("click",function(){m.eBV(o);const C=e.XpG();return m.Njj(C.sortCaseData("dateCreated"))}),e.j41(9,"span",19),e.EFF(10),e.k0s(),e.j41(11,"span",20),e.nrm(12,"span",21)(13,"span",22),e.k0s(),e.j41(14,"span",23),e.nrm(15,"span",24),e.k0s()()(),e.j41(16,"div",25),e.nVh(17,J,8,4,"a",26),e.nVh(18,W,8,4,"a",27),e.k0s()()(),e.j41(19,"div",28),e.Z7z(20,It,7,6,"div",29,e.fX1),e.k0s()(),e.bVm()}if(2&c){const o=e.XpG();e.R7$(6),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_CaseId"]),e.R7$(),e.AVh("active","dateCreated"===o.order()),e.R7$(),e.Y8G("title",e.VkB("sort column by ",o.allTranslations()["#pps_WCC_FS_Dashboard_DateCreated"])),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_DateCreated"]),e.R7$(5),e.Y8G("ngClass",o.getArrowClass("dateCreated")),e.R7$(),e.AVh("active","status"===o.order()),e.R7$(),e.vxM(o.pageConfig().isDesktop?17:-1),e.R7$(),e.vxM(o.pageConfig().isDesktop?-1:18),e.R7$(2),e.Dyx(o.groupedData())}}function Lt(c,b){if(1&c){const o=e.RV6();e.j41(0,"ul",48)(1,"li",51),e.bIt("click",function(C){m.eBV(o);const U=e.XpG(2);return m.Njj(U.sortDeviceCard(C,"status",!1))}),e.EFF(2),e.k0s(),e.j41(3,"li",51),e.bIt("click",function(C){m.eBV(o);const U=e.XpG(2);return m.Njj(U.sortDeviceCard(C,"status",!0))}),e.EFF(4),e.k0s(),e.j41(5,"li",51),e.bIt("click",function(C){m.eBV(o);const U=e.XpG(2);return m.Njj(U.sortDeviceCard(C,"dateCreated",!0))}),e.EFF(6),e.k0s(),e.j41(7,"li",51),e.bIt("click",function(C){m.eBV(o);const U=e.XpG(2);return m.Njj(U.sortDeviceCard(C,"dateCreated",!1))}),e.EFF(8),e.k0s()()}if(2&c){const o=e.XpG(2);e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Open_Option"]),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Close_Option"]),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Date_Ascending"]),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Date_Descending"])}}function At(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Row_Heading_Open_Cases"])}}function Bt(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Row_Heading_Closed_Cases"])}}function Wt(c,b){if(1&c&&(e.j41(0,"div"),e.nVh(1,At,2,1,"span"),e.nVh(2,Bt,2,1,"span"),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.vxM(0===o.status||2===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function Ut(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_latest_than_90days"])}}function Vt(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG(4);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Older_than_90days"])}}function Gt(c,b){if(1&c&&(e.j41(0,"div",54),e.nVh(1,Ut,2,1,"span"),e.nVh(2,Vt,2,1,"span"),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function Xt(c,b){1&c&&e.nrm(0,"span",39)}function Ht(c,b){if(1&c&&(e.j41(0,"p",60),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit,d=e.XpG(4);e.R7$(),e.Lme("",d.allTranslations()["#pps_WCC_FS_Case_Number"]," : ",null==o?null:o.caseId)}}function zt(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.JRh(null==o?null:o.nickName)}}function xt(c,b){1&c&&(e.j41(0,"span"),e.EFF(1,"/"),e.k0s())}function Kt(c,b){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.JRh(null==o?null:o.productName)}}function Jt(c,b){if(1&c&&(e.j41(0,"div")(1,"label"),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&c){const o=e.XpG().$implicit,d=e.XpG(4);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"]," : "),e.R7$(),e.SpI(" ",null==o?null:o.serialNumber," ")}}function Dt(c,b){if(1&c&&(e.j41(0,"div")(1,"label"),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&c){const o=e.XpG().$implicit,d=e.XpG(4);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Dashboard_DateCreated"]," : "),e.R7$(),e.SpI(" ",d.formatedDate(null==o?null:o.dateCreated))}}function St(c,b){if(1&c&&(e.j41(0,"div")(1,"label"),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&c){const o=e.XpG().$implicit,d=e.XpG(4);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Dashboard_Status"]," : "),e.R7$(),e.SpI(" ",null==o?null:o.statusText)}}function yt(c,b){if(1&c){const o=e.RV6();e.j41(0,"div",58),e.bIt("click",function(){const C=m.eBV(o).$implicit,U=e.XpG(4);return m.Njj(U.showRelatedcaseDetail(C))}
1),e.j41(1,"div",59),e.nVh(2,Xt,1,0,"span",39),e.nVh(3,Ht,2,2,"p",60),e.j41(4,"p",61),e.nVh(5,zt,2,1,"span"),e.nVh(6,xt,2,0,"span"),e.nVh(7,Kt,2,1,"span"),e.k0s(),e.j41(8,"div",62),e.nVh(9,Jt,4,2,"div"),e.nVh(10,Dt,4,2,"div"),e.nVh(11,St,4,2,"div"),e.k0s()()()}if(2&c){const o=b.$implicit;e.R7$(2),e.vxM(o.hasUpdates?2:-1),e.R7$(),e.vxM(o.caseId?3:-1),e.R7$(2),e.vxM(o.nickName?5:-1),e.R7$(),e.vxM(o.productName?6:-1),e.R7$(),e.vxM(o.productName?7:-1),e.R7$(2),e.vxM(o.serialNumber?9:-1),e.R7$(),e.vxM(o.dateCreated?10:-1),e.R7$(),e.vxM(o.statusText?11:-1)}}function Yt(c,b){if(1&c&&(e.j41(0,"div",55),e.Z7z(1,yt,12,8,"div",57,e.fX1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.Dyx(o.values)}}function Qt(c,b){if(1&c&&(e.j41(0,"div",54),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations().pps_WCC_FS_Dashboard_CaseModalNoOpenCases)}}function Zt(c,b){if(1&c&&(e.j41(0,"div",54),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Closed_Case"])}}function qt(c,b){if(1&c&&(e.j41(0,"div",63),e.nVh(1,Qt,2,1,"div",54),e.nVh(2,Zt,2,1,"div",54),e.k0s()),2&c){const o=e.XpG(2).$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function te(c,b){if(1&c&&(e.j41(0,"div",54),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Case_Latest_than_90days"])}}function ee(c,b){if(1&c&&(e.j41(0,"div",54),e.EFF(1),e.k0s()),2&c){const o=e.XpG(5);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_No_Case_Older_than_90days"])}}function ne(c,b){if(1&c&&(e.j41(0,"div",63),e.nVh(1,te,2,1,"div",54),e.nVh(2,ee,2,1,"div",54),e.k0s()),2&c){const o=e.XpG(2).$implicit;e.R7$(),e.vxM(0===o.status?1:-1),e.R7$(),e.vxM(1===o.status?2:-1)}}function Tt(c,b){if(1&c&&(e.j41(0,"div",56),e.nVh(1,qt,3,2,"div",63),e.nVh(2,ne,3,2,"div",63),e.k0s()),2&c){const o=e.XpG(3);e.R7$(),e.vxM("status"===o.order()?1:-1),e.R7$(),e.vxM("dateCreated"===o.order()?2:-1)}}function oe(c,b){if(1&c&&(e.j41(0,"div",50)(1,"div",52)(2,"div",53),e.nVh(3,Wt,3,2,"div"),e.nVh(4,Gt,3,2,"div",54),e.k0s()(),e.nVh(5,Yt,3,0,"div",55),e.nVh(6,Tt,3,2,"div",56),e.k0s()),2&c){const o=b.$implicit,d=b.$index,C=e.XpG(2);e.Y8G("id",e.mNQ(d)),e.R7$(3),e.vxM("status"===C.order()?3:-1),e.R7$(),e.vxM("dateCreated"===C.order()?4:-1),e.R7$(),e.vxM(null!=o&&null!=o.values&&o.values.length?5:-1),e.R7$(),e.vxM(null!=o&&null!=o.values&&o.values.length?-1:6)}}function ie(c,b){if(1&c){const o=e.RV6();e.qex(0),e.j41(1,"div",44)(2,"div",45)(3,"label",46),e.EFF(4),e.k0s(),e.j41(5,"input",47),e.bIt("click",function(){m.eBV(o);const C=e.XpG();return m.Njj(C.getSortList())}),e.k0s(),e.nVh(6,Lt,9,4,"ul",48),e.k0s(),e.j41(7,"div",49)(8,"div",28),e.Z7z(9,oe,7,6,"div",50,e.fX1),e.k0s()()(),e.bVm()}if(2&c){const o=e.XpG();e.R7$(4),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_Sort_By_Heading"]),e.R7$(),e.Y8G("value",o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Open_Option"]),e.R7$(),e.vxM(o.showHideDropdown()?6:-1),e.R7$(3),e.Dyx(o.groupedData())}}let ae=(()=>{class c{onResize(){this.resolutionBaseDisplay()}constructor(o,d,C,U,it,gt){this.pageService=o,this.casesService=d,this.commonService=C,this.modalService=U,this.injector=it,this.appSelectorStore=gt,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,m.vPA)({}),this.deviceId=(0,m.vPA)(null),this.deviceInfo=(0,m.vPA)(null),this.allCaseData=(0,m.vPA)(null),this.groupedData=(0,m.vPA)([]),this.largeDevice=(0,m.vPA)(!1),this.smallDevice=(0,m.vPA)(!1),this.hideOniPadAndiPhone=(0,m.vPA)(!1),this.order=(0,m.vPA)(""),this.isAscending=(0,m.vPA)(!1),this.notifyToOpenCaseDetailModal=(0,$.CGW)(),this.sessionExpiredScenario=(0,$.CGW)(),this.dataListArraySetOne=(0,m.vPA)([]),this.dataListArraySetTwo=(0,m.vPA)([]),this.showHideDropdown=(0,m.vPA)(!1),this.selectedCaseId=(0,m.vPA)(null),this.origin=(0,m.vPA)(null),this.serviceUnavailable=(0,m.vPA)(!1),this.destroySubject$=new O.B,this.UTCOffsetData=(0,m.vPA)(null),this.closeModal=(0,$.CGW)(),this.UTCOffsetData.set(this.commonService.getUTCOffset())}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(o=>this.allTranslations.set(o)),this.resolutionBaseDisplay(),this.getCaseList(),this.order.set("status"),this.isAscending.set(!1),this.hideOniPadAndiPhone.set(!(this.pageConfig().isiPad||this.pageConfig().isiPhone))}resolutionBaseDisplay(){const o=this.commonService.resolutionBaseDisplay();this.largeDevice.set(o._largedevice),this.smallDevice.set(o._smallDevice)}getCaseList(){const o=this.injector.get(vt);this.casesService.getCasesForDevice(this.deviceId(),this.UTCOffsetData()).pipe((0,k.Q)(this.destroySubject$)).subscribe(d=>{d&&200===d.code?(this.serviceUnavailable.set(d.serviceUnavailable),this.allCaseData.set(d.allCases),this.caseListByGroup("status",this.allCaseData()),this.groupedData.set((0,g.A)(this.groupedData(),C=>this.commonService.iskeyAvaillableInObj(C.status,!0)))):d&&d.code&&403===d.code?this.sessionExpiredScenario.emit("session expired"):d&&d.code&&(406===d.code||500===d.code||"error"===d.status)&&(this.serviceUnavailable.set(d.serviceUnavailable),o.openServiceUnavailableModal())},d=>{this.serviceUnavailable.set(!0),o.openServiceUnavailableModal()})}formatedDate(o){return this.commonService.formatDate(o)}closeListModal(){this.modalService.dismissAll()}getArrowClass(o){if(this.order()===o)return this.isAscending()?"up-arrow":"down-arrow"}getSortList(){this.showHideDropdown.set(!this.showHideDropdown())}sortCaseData(o){this.isAscending.set(this.order()===o&&!this.isAscending()),this.order.set(o),this.groupedData.set([]),this.caseListByGroup(o,this.allCaseData(),this.isAscending()),this.groupedData.set(this.isAscending()?(0,g.A)(this.groupedData(),d=>this.commonService.iskeyAvaillableInObj(d[o],!0)).reverse():(0,g.A)(this.groupedData(),d=>this.commonService.iskeyAvaillableInObj(d[o],!0)))}caseListByGroup(o,d,C=null){this.creatFirstObjList(o,d),this.creatSecondObjList(o,d),this.getGroupeddata(o,C)}getGroupeddata(o,d=null){return this.groupedData.set("status"===o?[{status:0,values:this.commonService.dataSorting(this.dataListArraySetOne(),"dateUpdated",!1,!0)},{status:1,values:this.commonService.dataSorting(this.dataListArraySetTwo(),"dateUpdated",!1,!0)}]:[{status:0,values:this.commonService.dataSorting(this.dataListArraySetOne(),o,d,!0)},{status:1,values:this.commonService.dataSorting(this.dataListArraySetTwo(),o,d,!0)}]),this.groupedData()}creatFirstObjList(o,d){this.dataListArraySetOne.set((0,h.A)(d,"status"===o?C=>{if(0===C.status||2===C.status)return C}:C=>{if(C.dayDiff<=90)return C}))}creatSecondObjList(o,d){this.dataListArraySetTwo.set((0,h.A)(d,"status"===o?C=>{if(1===C.status)return C}:C=>{if(C.dayDiff>90)return C}))}getAriaLabel(o){return`View case detail for case id ${o||""}`}sortDeviceCard(o,d,C){this.showHideDropdown.set(!1),this.order.set(d),document.getElementById("sortInput").value=o.target.innerText,this.groupedData.set([]),this.caseListByGroup(d,this.allCaseData(),C),this.groupedData.set(C?(0,g.A)(this.groupedData(),U=>this.commonService.iskeyAvaillableInObj(U[d],!0)).reverse():(0,g.A)(this.groupedData(),U=>this.commonService.iskeyAvaillableInObj(U[d],!0)))}
1showRelatedcaseDetail(o){this.notifyToOpenCaseDetailModal.emit(o)}onKeyUpEvent(o,d){"Enter"===o.key&&this.showRelatedcaseDetail(d)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(d){return new(d||c)(e.rXU(w.b),e.rXU(u.j),e.rXU(x.h),e.rXU(t.Bq),e.rXU(m.zZn),e.rXU(I.q))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["app-case-list"]],hostBindings:function(d,C){1&d&&e.bIt("resize",function(){return C.onResize()},e.tSv)},outputs:{notifyToOpenCaseDetailModal:"notifyToOpenCaseDetailModal",sessionExpiredScenario:"sessionExpiredScenario",closeModal:"closeModal"},features:[e.Jv_([u.j])],decls:5,vars:1,consts:[["caseListDesktop",""],["caseListMobile",""],["focus",""],["id","case-list-container","aria-modal","true","role","dialog",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading","aria-hidden","true",1,"modal-title"],[1,"serial-number"],["type","button","aria-label","Close",1,"close",3,"click","ngClass"],["aria-hidden","true","id","close-icon"],["id","case-list-content",3,"ngClass"],[4,"ngTemplateOutlet"],["role","table",1,"case-list-table-container"],[1,"case-list-table-header"],["role","row",1,"case-list-table-header-tr"],["role","columnheader",1,"case-list-table-header-td","no-sort","case-id"],[1,"heading-span"],["aria-sort","none","role","columnheader",1,"case-list-table-header-td","td","case-creation-date"],["href","javascript:void(0)",1,"col-header",3,"click","title"],["aria-hidden","true",1,"heading-span"],[1,"arrow-container"],[1,"icon-arr","up-arrow"],[1,"icon-arr","down-arrow"],[1,"hide-arrow-container"],[1,"icon-arr","hide-arrow",3,"ngClass"],["aria-sort","descending","role","columnheader",1,"case-list-table-header-td","td","case-status"],["href","javascript:void(0)","ngbAutofocus","",1,"col-header",3,"title"],["href","javascript:void(0)",1,"col-header",3,"title"],[1,"case-list-table-body"],[1,"group-list",3,"id"],["href","javascript:void(0)","ngbAutofocus","",1,"col-header",3,"click","title"],["role","table",1,"table"],["role","row",1,"tr","case-list-table-body-header"],["role","cell",1,"td"],["role","table",1,"table","with-data"],["role","table",1,"table","no-data"],["tabindex","0","role","row",1,"tr","case-list-table-body-content"],["tabindex","0","role","row",1,"tr","case-list-table-body-content",3,"click","keyup"],["role","cell",1,"td","case-id-body","position-relative"],[1,"row-dot","row-dot-blue"],["role","cell",1,"td","case-creation-date-body"],["role","cell",1,"td","case-status-body"],["role","row",1,"tr","case-list-table-body-content"],[1,"tr","case-list-table-body-content"],[1,"case-content-sm"],[1,"sort-list-box"],["aria-labelledby","sortInput"],["type","text","readonly","","id","sortInput",3,"click","value"],[1,"sort-list-options"],["aria-label","click here to view case detail page",1,"case-card"],[3,"id"],[3,"click"],[1,"case-card-header-container"],[1,"header-with-data"],[1,"td"],[1,"with-data"],[1,"no-data"],["aria-label","click here to view case detail",1,"case-card"],["aria-label","click here to view case detail",1,"case-card",3,"click"],[1,"case-card-section","position-relative"],[1,"case-card-heading"],[1,"case-card-subHeading"],[1,"case-card-label"],[1,"case-list-table-body-content"]],template:function(d,C){1&d&&(e.nVh(0,L,16,10,"div",3),e.DNE(1,Nt,22,11,"ng-template",null,0,e.C5r)(3,ie,11,3,"ng-template",null,1,e.C5r)),2&d&&e.vxM(C.serviceUnavailable()?-1:0)},dependencies:[R.YU,R.T3,p.k],styles:['.case-list-table-container[_ngcontent-%COMP%]   .row-dot[_ngcontent-%COMP%]{left:-38px;top:34px}.case-card-section[_ngcontent-%COMP%]   .row-dot[_ngcontent-%COMP%]{left:-8px;top:24px}#case-list-container[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]{color:#000;border-radius:0!important}#case-list-container[_ngcontent-%COMP%]   #close-icon[_ngcontent-%COMP%]{position:relative;top:7px;left:-5px;width:18px;height:18px}#case-list-container[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}
1#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{height:auto;min-height:74px;padding:12px}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#000}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:hover{background-color:transparent}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span#close-icon[_ngcontent-%COMP%]{border:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{border-width:2px}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:37px}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{top:0}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{border:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-left:18px;font-family:HPSimplifiedLight}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplified}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:12px 12px 18px 15px;border-color:#e9ecef}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{color:#000}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]{padding:25px 5px 0 36px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]{padding:15px 0;display:table;max-width:1138px;width:100%;border-collapse:collapse}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:20px;text-align:left;color:#000;padding-left:30px;background-color:#fff;border:1px solid #ccc;display:table-row}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]{padding:0;outline:1px!important;line-height:1;display:table-cell;background-color:transparent}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.no-sort[_ngcontent-%COMP%]{cursor:default}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:20px;color:#000;display:inline-block;position:relative;padding:0}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:none;margin-left:5px;top:1px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{width:auto;word-break:break-word;padding-bottom:13px;padding-top:17px;font-family:HPSimplifiedRegular;font-size:20px;color:#000}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:9px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   img.down-arrow[_ngcontent-%COMP%]{transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.active[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{border-bottom:4px solid #0096D6;color:#0096d6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.active[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]{display:none}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.active[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:inline-block}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]:focus{outline:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.case-id[_ngcontent-%COMP%]{max-width:667px;width:60.75%;padding-left:30px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.case-creation-date[_ngcontent-%COMP%]{max-width:286px;width:25.4%}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.case-status[_ngcontent-%COMP%]{max-width:163px;width:14%}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]{padding-left:30px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{display:table;margin:0}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]{display:table-row}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr.case-list-table-body-header[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:17px;line-height:1.59;letter-spacing:-.09px;color:#333;line-height:17px;padding-top:18px;padding-bottom:14px;border-bottom:2px solid #e5e5e5}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr.case-list-table-body-header[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{display:table-cell}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .case-list-table-status[_ngcontent-%COMP%]{padding-left:30px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{border-collapse:collapse}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.
1with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;border-top:1px solid #fff;border-left:1px solid #fff;border-right:1px solid #fff;cursor:pointer}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:34px;font-family:HPSimplifiedRegular;font-size:20px;line-height:82px;letter-spacing:-.1px;text-align:left;line-height:1}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]   .td.case-id-body[_ngcontent-%COMP%]{max-width:663px;width:58%;color:#0096d6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]   .td.case-creation-date-body[_ngcontent-%COMP%]{max-width:287px;width:25%;color:#767676}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]   .td.case-status-body[_ngcontent-%COMP%]{max-width:158px;width:14%;color:#333}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #fff}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]:focus{border:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]:focus   .td[_ngcontent-%COMP%]{border-top:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]:hover{border:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.with-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]:hover   .td[_ngcontent-%COMP%]{border-top:1px solid #0096D6}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table.no-data[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:1;letter-spacing:-.09px;color:#767676;padding-top:30px;padding-bottom:30px}#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .group-list[_ngcontent-%COMP%]:last-child{border-top:1px solid #ccc}span.arrow-container[_ngcontent-%COMP%]{display:inline-block;width:5px;height:12px;margin-left:5px;position:absolute;top:20px}span.hide-arrow-container[_ngcontent-%COMP%]{position:absolute;bottom:15px}.icon-arr[_ngcontent-%COMP%]{width:5px;height:5px;border-bottom:none!important}.icon-arr.up-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid #ccc!important;position:relative;top:-8px}.icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #ccc;top:-17px}.td.active[_ngcontent-%COMP%]   .icon-arr.up-arrow[_ngcontent-%COMP%]{border-bottom:9px solid #0096D6!important}.td.active[_ngcontent-%COMP%]   .icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #0096D6}.td[_ngcontent-%COMP%]:focus{outline:1px solid #0096D6!important}.case-content-sm[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:14px;padding-top:11px;padding-left:7px;padding-right:7px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]{position:relative}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;font-weight:400}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background:url(/wcc-assets/images/select-arrow.png) #fff 96% 45% no-repeat;width:100%;font-family:HPSimplifiedLight;font-size:16px;border:1px solid #767676;margin-top:5px;padding:1rem 1rem .7rem;color:#2c3038}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:1px solid #0096D6}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]{position:absolute;border:1px solid #efefef;top:73px;z-index:999;width:100%;background:#fff;max-height:321px;overflow-y:scroll;box-shadow:0 5px 22px #0000001a}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{height:40px;font-family:HPSimplifiedLight;font-size:16px;line-height:40px;border-bottom:1px solid #efefef;padding:0 20px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#e6fcff;color:#0096d6;border-bottom:1px solid #E6FCFF}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]{width:100%;border-bottom:1px solid #ccc}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]{padding:20px 20px 17px 13px;font-family:HPSimplifiedRegular;background-color:#fff}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;color:#767676;max-width:251px;font-family:HPSimplifiedRegular;margin-bottom:2px;line-height:1.25;word-break:break-word}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p.case-card-heading[_ngcontent-%COMP%]{color:#0096d6}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p.case-card-subHeading[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]{margin-top:4px;color:#767676;font-size:14px;font-family:HPSimplifiedLight}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;color:#767676;font-family:HPSimplifiedRegular}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:5px}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]:last-child{border-bottom:none}.case-content-sm[_ngcontent-%COMP%]   .case-card-header-container[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}.case-content-sm[_ngcontent-%COMP%]   .case-card-header-container[_ngcontent-%COMP%]   .header-with-data[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:1.56;letter-spacing:-.09px;color:#333;padding-top:13px;padding-bottom:7px;padding-left:15px}.case-content-sm[_ngcontent-%COMP%]   .no-data[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:14px;line-height:1.43;letter-spacing:-.07px;color:#767676;padding-left:15px;padding-top:22px;padding-bottom:8px}.case-content-sm[_ngcontent-%COMP%]   .with-data[_ngcontent-%COMP%]{cursor:pointer}
1#case-list-container.rtl[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-right:18px}#case-list-container.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{left:27px}#case-list-container.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{left:10px!important}#case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]{padding:25px 36px 0 5px}#case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]{padding-left:0;padding-right:30px}#case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .case-list-table-body-content[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%], #case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]{text-align:right}#case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td.case-id[_ngcontent-%COMP%]{padding-right:30px;padding-left:0}#case-list-container.rtl[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .row-dot[_ngcontent-%COMP%]{right:-38px}.modal-header[_ngcontent-%COMP%]   button.close.no-focus[_ngcontent-%COMP%]:focus   span#close-icon[_ngcontent-%COMP%]{border:1px solid #fff!important}@media only screen and (max-width:800px){#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding-bottom:6px;border-width:1px}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3#modal-heading[_ngcontent-%COMP%]{margin-left:0;color:#000;font-size:18px;line-height:24px;margin-top:0;margin-bottom:1px}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3#modal-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}#case-list-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   h3#modal-heading[_ngcontent-%COMP%]   span.serial-number[_ngcontent-%COMP%]{display:block}#case-list-container[_ngcontent-%COMP%]   .case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:4px 1rem 3px}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-right:0}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{top:12px}.rtl[_ngcontent-%COMP%]   .case-card-section[_ngcontent-%COMP%]   .row-dot[_ngcontent-%COMP%]{right:-8px}.rtl[_ngcontent-%COMP%]   .case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background-position:2%}}@media all and (-ms-high-contrast:none){#case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:none}*[_ngcontent-%COMP%]::-ms-backdrop, #case-list-container[_ngcontent-%COMP%]   .case-list-table-container[_ngcontent-%COMP%]   .case-list-table-header[_ngcontent-%COMP%]   .case-list-table-header-tr[_ngcontent-%COMP%]   .case-list-table-header-td[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:none}}']})}}return c})();var se=s(2435),ce=s(70271),le=s(93551),Ft=s(91018),re=s(90230);let kt=(()=>{class c{constructor(o,d,C,U){this.http=o,this.caseTransformService=d,this.commonService=C,this.appSelectorStore=U,this.allTranslations={},this.appSelectorStore.getAllTranslations$().pipe((0,se.$)(it=>!(0,le.A)(it))).subscribe(it=>this.allTranslations=it)}getCaseDetail(o){const d=this.commonService.getUTCOffset();return this.http.get(`/wcc-services/profile/cases/${o}?offset=${d}
1`).pipe((0,ce.T)(C=>{if(C&&C.data&&200===C.code){const U=this.caseTransformService.transformObj(C.data.case,this.allTranslations);return{code:C.code,caseDetailsData:U,serviceUnavailable:!1}}return C&&C.code&&403===C.code?{code:403}:C&&C.code&&(406===C.code||500===C.code)?{code:C.code,serviceUnavailable:!0}:{serviceUnavailable:!0}}))}static{this.\u0275fac=function(d){return new(d||c)(m.KVO(Ft.k),m.KVO(re.G),m.KVO(x.h),m.KVO(I.q))}}static{this.\u0275prov=m.jDH({token:c,factory:c.\u0275fac})}}return c})();const Rt=(c,b)=>({index:c,data:b}),Et=c=>({trackingData:c});function de(c,b){1&c&&e.nrm(0,"div",6)}function _e(c,b){if(1&c&&e.nrm(0,"div",7),2&c){const o=e.XpG().$implicit;e.Y8G("ngClass",o.previousStepActive?"placeholder-active":"placeholder-inactive")}}function pe(c,b){1&c&&e.eu8(0)}function ge(c,b){1&c&&e.eu8(0)}function Ce(c,b){1&c&&e.eu8(0)}function me(c,b){1&c&&e.eu8(0)}function he(c,b){if(1&c&&(e.j41(0,"div",15)(1,"div",16),e.nrm(2,"div",17),e.j41(3,"div",18),e.nrm(4,"div",19),e.j41(5,"div",20)(6,"div",21),e.EFF(7),e.j41(8,"span",22),e.EFF(9),e.k0s()()()()(),e.j41(10,"div",23)(11,"div",24),e.EFF(12),e.k0s(),e.DNE(13,me,1,0,"ng-container",10),e.k0s()()),2&c){const o=b.$implicit,d=e.XpG(4),C=e.sdS(6);e.Y8G("ngClass",d.setAccordionClass(o,"action-sub")),e.R7$(7),e.SpI(" ",o.title," "),e.R7$(2),e.JRh(d.formatedDate(o.date)),e.R7$(3),e.JRh(d.removeHtmlTagFromContent(o.details)),e.R7$(),e.Y8G("ngTemplateOutlet",C)("ngTemplateOutletContext",e.eq3(6,Et,o))}}function Me(c,b){if(1&c&&(e.j41(0,"div",14),e.Z7z(1,he,14,8,"div",15,e.fX1),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.Dyx(o.subState)}}function ue(c,b){if(1&c&&(e.j41(0,"div",4)(1,"div",5),e.nVh(2,de,1,0,"div",6),e.nVh(3,_e,1,1,"div",7),e.j41(4,"div",8)(5,"div",9),e.EFF(6),e.k0s(),e.DNE(7,pe,1,0,"ng-container",10)(8,ge,1,0,"ng-container",10),e.k0s(),e.nrm(9,"div",11),e.k0s(),e.j41(10,"div",12)(11,"div",13),e.EFF(12),e.k0s(),e.DNE(13,Ce,1,0,"ng-container",10),e.nVh(14,Me,3,0,"div",14),e.k0s()()),2&c){const o=b.$implicit,d=b.$index,C=e.XpG(2),U=e.sdS(2),it=e.sdS(4),gt=e.sdS(6);e.Y8G("id",e.VkB("case-timeline-",d))("ngClass",C.setAccordionClass(o,"action")),e.R7$(2),e.vxM(0===d?2:-1),e.R7$(),e.vxM(0!==d?3:-1),e.R7$(3),e.JRh(d+1),e.R7$(),e.Y8G("ngTemplateOutlet",U)("ngTemplateOutletContext",e.l_i(20,Rt,d,o)),e.R7$(),e.Y8G("ngTemplateOutlet",it)("ngTemplateOutletContext",e.l_i(23,Rt,d,o)),e.R7$(2),e.Y8G("id",e.VkB("case-timeline-content-",d))("ngClass",o.currentStep&&!0===o.currentStep?"expand-tab":""),e.BMQ("aria-labelledby","action-title-header-"+d),e.R7$(),e.Y8G("id",e.VkB("action-info-",d)),e.R7$(),e.JRh(o.title),e.R7$(),e.Y8G("ngTemplateOutlet",gt)("ngTemplateOutletContext",e.eq3(26,Et,o)),e.R7$(),e.vxM(o.subState.length?14:-1)}}function Pe(c,b){if(1&c&&(e.j41(0,"div",3),e.Z7z(1,ue,15,28,"div",4,e.fX1),e.k0s()),2&c){const o=e.XpG();e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl-timeline":"ltr-timeline"),e.R7$(),e.Dyx(o.stepsData())}}function Oe(c,b){if(1&c){const o=e.RV6();e.j41(0,"div",25)(1,"a",26),e.bIt("click",function(){m.eBV(o);const C=e.XpG().index,U=e.XpG();return m.Njj(U.timeLineHeaderEvent(C))}),e.j41(2,"div",27)(3,"span",28),e.EFF(4),e.k0s(),e.j41(5,"span",29),e.EFF(6),e.k0s()(),e.j41(7,"div",30)(8,"span",31),e.EFF(9,"\xa0"),e.k0s()()()()}if(2&c){const o=e.XpG(),d=o.data,C=o.index,U=e.XpG();e.R7$(),e.Y8G("id",e.VkB("action-title-header-",C)),e.BMQ("aria-label",U.getAriaLabel(d.caption))("aria-controls","case-timeline-content-"+C)("aria-expanded",d.currentStep&&!0===d.currentStep?"true":"false"),e.R7$(3),e.JRh(d.caption),e.R7$(2),e.JRh(U.formatedDate(d.changeDate)),e.R7$(2),e.Y8G("id",e.VkB("panel-arrow-",C))("ngClass",d.currentStep&&!0===d.currentStep?"expanded":"")}}function ve(c,b){if(1&c&&(e.qex(0),e.nVh(1,Oe,10,10,"div",25),e.bVm()),2&c){const o=b.data;e.R7$(),e.vxM(!0===o.expandable?1:-1)}}function fe(c,b){if(1&c&&(e.j41(0,"span",29),e.EFF(1),e.k0s()),2&c){const o=e.XpG(2).data,d=e.XpG();e.R7$(),e.JRh(d.formatedDate(o.changeDate))}}function wt(c,b){if(1&c&&(e.j41(0,"div",32)(1,"div",27)(2,"span",28),e.EFF(3),e.k0s(),e.nVh(4,fe,2,1,"span",29),e.k0s(),e.j41(5,"div",33)(6,"span",34),e.EFF(7,"\xa0"),e.k0s()()()),2&c){const o=e.XpG().data;e.R7$(3),e.JRh(o.caption),e.R7$(),e.vxM(o.changeDate?4:-1)}}function rt(c,b){if(1&c&&(e.qex(0),e.nVh(1,wt,8,2,"div",32),e.bVm()),2&c){const o=b.data;e.R7$(),e.vxM(!1===o.expandable?1:-1)}}function be(c,b){if(1&c&&(e.j41(0,"div",37)(1,"p",40),e.EFF(2),e.k0s(),e.j41(3,"p",41),e.EFF(4),e.k0s()()),2&c){const o=e.XpG(2).$implicit,d=e.XpG(3);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Tracking_Number_Text"],": "),e.R7$(2),e.JRh(o.trackingNumber)}}function xe(c,b){if(1&c&&(e.j41(0,"div",38)(1,"p",40),e.EFF(2),e.k0s(),e.j41(3,"p",42),e.EFF(4),e.k0s()()),2&c){const o=e.XpG(2).$implicit,d=e.XpG(3);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Vendor_Text"],":"),e.R7$(2),e.JRh(o.carrier)}}function Ot(c,b){if(1&c&&(e.j41(0,"div",38)(1,"p",40),e.EFF(2),e.k0s(),e.j41(3,"p",42),e.EFF(4),e.k0s()()),2&c){const o=e.XpG(2).$implicit,d=e.XpG(3);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Dashboard_Status"],":"),e.R7$(2),e.JRh(o.statusText)}}function De(c,b){if(1&c&&(e.j41(0,"div",38)(1,"p",40),e.EFF(2),e.k0s(),e.j41(3,"p",42),e.EFF(4),e.k0s()()),2&c){const o=e.XpG(2).$implicit,d=e.XpG(3);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Last_Updated_Text"],":"),e.R7$(2),e.JRh(d.formatedDate(o.statusDate))}}function Se(c,b){if(1&c&&(e.j41(0,"div",39)(1,"p",40),e.EFF(2),e.k0s(),e.j41(3,"p",42),e.EFF(4),e.k0s()()),2&c){const o=e.XpG(2).$implicit,d=e.XpG(3);e.R7$(2),e.SpI("",d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_More_Information_Text"],": "),e.R7$(2),e.JRh(o.shipDescription)}}function ye(c,b){if(1&c&&(e.j41(0,"div",36),e.nVh(1,be,5,2,"div",37),e.nVh(2,xe,5,2,"div",38),e.nVh(3,Ot,5,2,"div",38),e.nVh(4,De,5,2,"div",38),e.nVh(5,Se,5,2,"div",39),e.k0s()),2&c){const o=e.XpG().$implicit;e.R7$(),e.vxM(o.trackingNumber?1:-1),e.R7$(),e.vxM(o.carrier?2:-1),e.R7$(),e.vxM(o.statusText?3:-1),e.R7$(),e.vxM(o.statusDate?4:-1),e.R7$(),e.vxM(o.shipDescription?5:-1)}}function Te(c,b){if(1&c&&(e.j41(0,"div",35),e.nVh(1,ye,6,5,"div",36),e.k0s()),2&c){const o=b.$implicit,d=e.XpG(3);e.R7$(),e.vxM(d.checkObjkey(o)?1:-1)}}function Fe(c,b){if(1&c&&(e.j41(0,"div"),e.Z7z(1,Te,2,1,"div",35,e.fX1),e.k0s()),2&c){const o=e.XpG().trackingData;e.R7$(),e.Dyx(o.tracking)}}function ke(c,b){if(1&c&&(e.qex(0),e.nVh(1,Fe,3,0,"div"),e.bVm()),2&c){const o=b.trackingData;e.R7$(),e.vxM(o.trackingInfoAvailable?1:-1)}}let Re=(()=>{class c{constructor(o,d,C,U){this.pageService=o,this.commonService=d,this.renderer=C,this.appSelectorStore=U,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.stepsData=(0,$.hFB)(null),this.allTranslations=(0,m.vPA)({}),this.destroySubject$=new O.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(o=>this.allTranslations.set(o))}removeHtmlTagFromContent(o){return this.commonService.removeHTMLtags(o)}formatedDate(o){return this.commonService.formatDate(o)}setAccordionClass(o,d){return o.currentStep&&!0===o.currentStep?`${d}-active expanded-timeline`:!0===o.active?`${d}-completed`:!1===o.active?`${d}-not-started`:void 0}timeLineHeaderEvent(o){const d=this.renderer.selectRootElement(`#panel-arrow-${o}`,!0),C=this.renderer.selectRootElement(`#case-timeline-content-${o}`,!0),U=this.renderer.selectRootElement(`#case-timeline-${o}`,!0),it=this.renderer.selectRootElement(`#action-title-header-${o}`,!0);this.hasClass(C,"expanded")||this.hasClass(U,"expanded-timeline")||"block"===C.style.display?(this.renderer.setStyle(C,"dis
1play","none"),this.renderer.setAttribute(it,"aria-expanded","false"),this.renderer.removeClass(d,"expanded"),this.renderer.removeClass(U,"expanded-timeline")):(this.renderer.setStyle(C,"display","block"),this.renderer.setAttribute(it,"aria-expanded","true"),this.renderer.addClass(d,"expanded"),this.renderer.addClass(U,"expanded-timeline"))}hasClass(o,d){return(" "+o.className+" ").indexOf(" "+d+" ")>-1}getAriaLabel(o){return`Expand/ collapse the panel for ${o||""} timeline`}checkObjkey(o){return this.commonService.checkObjKeyHasValue(o)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(d){return new(d||c)(e.rXU(w.b),e.rXU(x.h),e.rXU(e.sFG),e.rXU(I.q))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["app-timeline"]],inputs:{stepsData:[1,"stepsData"]},decls:7,vars:1,consts:[["cardHeaderWithArrow",""],["cardHeaderNoArrow",""],["trackingInformationSection",""],[1,"case-time-line-container",3,"ngClass"],[1,"case-timeline",3,"id","ngClass"],[1,"case-timeline-header"],[1,"placeholder-bar-top"],[1,"placeholder-bar",3,"ngClass"],[1,"action-header"],[1,"marker"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"placeholder-bar-bottom"],[1,"case-timeline-content",3,"id","ngClass"],[1,"action-info",3,"id"],[1,"action-sub-state-container"],[3,"ngClass"],[1,"case-timeline-sub-header"],[1,"placeholder-bar"],[1,"action-sub-header"],[1,"sm-marker"],[1,"action-sub-title-container"],[1,"action-sub-title"],[1,"action-sub-date"],[1,"action-sub-content"],[1,"action-sub-info"],[1,"action-title-container"],["href","javascript:void(0)",1,"action-title-header",3,"click","id"],[1,"action-title"],[1,"action-heading"],[1,"action-date"],[1,"action-arrow"],[1,"arrow",3,"id","ngClass"],["tabindex","0",1,"action-title-container","readonly-tab"],[1,"action-arrow-read-only"],[1,"arrow"],[1,"tracking-container"],[1,"tracking-details"],[1,"tracking-section","tracking-header"],[1,"tracking-section"],[1,"tracking-section","tracking-more-info"],[1,"tracking-info-label"],[1,"tracking-info-value","blue-color"],[1,"tracking-info-value"]],template:function(d,C){1&d&&(e.nVh(0,Pe,3,1,"div",3),e.DNE(1,ve,2,1,"ng-template",null,0,e.C5r)(3,rt,2,1,"ng-template",null,1,e.C5r)(5,ke,2,1,"ng-template",null,2,e.C5r)),2&d&&e.vxM(C.stepsData()?0:-1)},dependencies:[R.YU,R.T3],styles:[".with-bottom-border[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}.placeholder-bar[_ngcontent-%COMP%]{position:absolute;left:0;height:24px;width:3px;display:block}.placeholder-active[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.placeholder-inactive[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/dotted-line.png) repeat-y;background-position:left 20px}.case-timeline[_ngcontent-%COMP%]   .case-timeline-header[_ngcontent-%COMP%]{position:relative}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-title[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:28px;letter-spacing:-.09px;color:#333;flex:10;align-self:flex-start;text-align:left}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow[_ngcontent-%COMP%], .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow-read-only[_ngcontent-%COMP%]{flex:1;margin-left:auto;text-align:right}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow-read-only[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-top:7.5px}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow-read-only[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-grey-down.png) no-repeat}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow-read-only[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]   .arrow.expanded[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-grey-up.png) no-repeat}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span.action-date[_ngcontent-%COMP%]{padding-left:5px;font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;letter-spacing:.24px;color:#767676}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{width:26px;height:26px;border:2px solid #fff;font-family:HPSimplified;font-size:14px;font-weight:700;text-align:center;line-height:23px;color:#fff;background:#0096d6;z-index:9999;position:absolute;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;top:24px;left:-14px}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{margin-left:38px;border-top:1px solid #ccc;padding-top:22px;padding-bottom:20px}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:0}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   a.action-title-header[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;letter-spacing:-.09px;color:#333;display:flex;align-items:center;flex-wrap:wrap;flex-direction:row;padding-bottom:4px}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#333;text-decoration:none}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{text-decoration:none}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{text-decoration:none}.case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container.readonly-tab[_ngcontent-%COMP%]{display:flex}.case-timeline[_ngcontent-%COMP%]   .case-timeline-content[_ngcontent-%COMP%]{font-size:16px;font-weight:300;font-family:HPSimplifiedLight;line-height:1.5;letter-spacing:.08px;text-align:left;color:#333;margin-left:40px}.case-timeline[_ngcontent-%COMP%]   .case-timeline-content[_ngcontent-%COMP%]   .action-info[_ngcontent-%COMP%]{padding-bottom:16px}.case-timeline[_ngcontent-%COMP%]:first-child   .case-timeline-header[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-top:10px!important}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]:hover{background-color:#e8f8ff}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:first-child   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{border-top:none}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:first-child.action-active   .case-timeline-header[_ngcontent-%COMP%]   .placeholder-bar-top[_ngcontent-%COMP%]{height:26px}.arrow[_ngcontent-%COMP%]{display:inline-block;width:18px}.case-timeline.action-active[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%], .case-timeline.action-completed[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-blue-down.png) no-repeat}.case-timeline.action-active[_ngcontent-%COMP%]   .arrow.expanded[_ngcontent-%COMP%], .case-timeline.action-completed[_ngcontent-%COMP%]   .arrow.expanded[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-blue-up.png) no-repeat}.case-timeline.action-active[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-top:2.5px}.case-timeline.action-completed[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-top:2px}.case-timeline.action-not-started[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-top:4.5px}.case-timeline.action-completed[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.case-timeline.action-completed[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]:hover{background-color:#e8f8ff}.case-timeline.action-completed[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{width:30px;height:30px;line-height:26px;top:23px}.case-timeline.action-active[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.case-timeline.action-active[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-top:19px;padding-bottom:19px;border-bottom:none}.case-timeline.action-active[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]:hover{background-color:#e8f8ff}.case-timeline.action-active[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{top:24px;width:30px;height:30px;line-height:26px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/dotted-line.png) repeat-y;background-position:left 20px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-grey-down.png) no-repeat}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .arrow.expanded[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/arrow-grey-up.png) no-repeat}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:24px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]   div.action-title[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;line-height:1.63;letter-spacing:-.08px;color:#999}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]:hover{background-color:#fff}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{border:2px solid #999;background:#fff;color:#999;top:25px;left:-12px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.sm-marker[_ngcontent-%COMP%]{background:#999}.case-timeline-content[_ngcontent-%COMP%]{display:none}.case-timeline-content.expand-tab[_ngcontent-%COMP%]{display:block}
1.case-timeline.action-completed[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{border-top:1px solid #ccc!important}.case-timeline.action-completed[_ngcontent-%COMP%]:first-child   .action-title-container[_ngcontent-%COMP%]{border-top:none!important}.case-timeline.expanded-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-bottom:0}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:first-child   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{top:11px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:first-child.action-active   .case-timeline-header[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .marker[_ngcontent-%COMP%]{top:9px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:first-child.action-active   .case-timeline-header[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{margin-top:21px;padding-top:6px;padding-bottom:0}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-bottom:0}.action-sub-state-container[_ngcontent-%COMP%]{position:relative;left:-40px}.action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]{position:relative}.action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{background:#0096d6;z-index:9999;position:absolute;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;width:12px;height:12px;top:9px;left:-5px}.action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .action-sub-title-container[_ngcontent-%COMP%]{padding-left:55px}.action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .action-sub-title-container[_ngcontent-%COMP%]   .action-sub-title[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:28px;letter-spacing:-.09px;color:#333}.action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .action-sub-title-container[_ngcontent-%COMP%]   .action-sub-title[_ngcontent-%COMP%]   span.action-sub-date[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;letter-spacing:.24px;color:#767676}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-content[_ngcontent-%COMP%]{padding-left:55px}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-content[_ngcontent-%COMP%]   .action-sub-info[_ngcontent-%COMP%]{font-size:16px;font-weight:300;font-family:HPSimplifiedLight;line-height:1.5;letter-spacing:.08px;text-align:left;color:#333}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]{background:#fff url(/wcc-assets/images/solid-blue.png) repeat-y;background-position:-1px top}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]{background:#fff url(/wcc-assets/images/dotted-line.png) repeat-y;background-position:left top}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]:last-child{padding-bottom:28px}.placeholder-bar-top[_ngcontent-%COMP%]{background:#fff;position:absolute;left:0;height:20px;width:3px;top:0}.case-timeline[_ngcontent-%COMP%]:last-child{background:none!important}.case-timeline[_ngcontent-%COMP%]:last-child   .placeholder-bar-bottom[_ngcontent-%COMP%]{display:none}.case-timeline[_ngcontent-%COMP%]:last-child   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}.case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%], .case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%], .case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]{background:none}.case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%], .case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%], .case-timeline[_ngcontent-%COMP%]:last-child   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{display:none}.case-timeline.expanded-timeline[_ngcontent-%COMP%]:last-child   .case-timeline-content[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}.case-timeline.expanded-timeline[_ngcontent-%COMP%]:last-child   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{border-bottom:none}.case-timeline.expanded-timeline[_ngcontent-%COMP%]:last-child   .placeholder-bar-bottom[_ngcontent-%COMP%]{display:none}.case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%], .case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y}.case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%], .case-timeline.action-active.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{display:block}
1.case-timeline.action-completed.expanded-timeline[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y;background-position:left 20px}.case-timeline.action-completed.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%], .case-timeline.action-completed.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/solid-line.png) repeat-y}.case-timeline.action-completed.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%], .case-timeline.action-completed.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{display:block}.case-timeline.action-not-started.expanded-timeline[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/dotted-line.png) repeat-y;background-position:left 20px}.case-timeline.action-not-started.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]{background:transparent url(/wcc-assets/images/dotted-line.png) repeat-y}.case-timeline.action-not-started.expanded-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{display:block}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]{border-top:1px solid #ccc;padding-left:23px;padding-top:14px;padding-bottom:15px}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]{display:flex}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]   .tracking-info-label[_ngcontent-%COMP%]{max-width:198px;width:29%;font-family:HPSimplifiedRegular;font-size:18px;line-height:28px;letter-spacing:-.09px;color:#333;line-height:1.78;margin-bottom:0}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]   .tracking-info-value[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;letter-spacing:.24px;color:#767676;color:#000;line-height:2;margin-bottom:0;width:69%}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]   .tracking-info-value.blue-color[_ngcontent-%COMP%]{color:#0096d6}.action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{background:#999!important}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]{background-position:right 20px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{margin-right:40px;margin-left:0}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title[_ngcontent-%COMP%]{text-align:right}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-arrow-read-only[_ngcontent-%COMP%]{text-align:left;margin-left:8px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .case-timeline-content[_ngcontent-%COMP%]{margin-right:40px;margin-left:0;text-align:right}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]:last-child   .placeholder-bar-bottom[_ngcontent-%COMP%]{right:0}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]{right:-40px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-not-started[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-completed[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-active[_ngcontent-%COMP%]{background-position:right top}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .action-sub-title-container[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .action-sub-content[_ngcontent-%COMP%]{padding-left:0;padding-right:55px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline.action-active[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline.action-completed[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{right:-14px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{right:-12px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .placeholder-active[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .placeholder-inactive[_ngcontent-%COMP%]{right:-1px}.case-time-line-container.rtl-timeline.action-active[_ngcontent-%COMP%], .case-time-line-container.rtl-timeline.action-not-started[_ngcontent-%COMP%]{background-position:right 20px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .action-sub-state-container[_ngcontent-%COMP%]   .case-timeline-sub-header[_ngcontent-%COMP%]   .action-sub-header[_ngcontent-%COMP%]   .sm-marker[_ngcontent-%COMP%]{right:-5px}.case-time-line-container.rtl-timeline[_ngcontent-%COMP%]   .placeholder-bar-top[_ngcontent-%COMP%]{right:0}@media only screen and (max-width:800px){.case-time-line-container[_ngcontent-%COMP%]{padding-top:30px;padding-left:10px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span.action-date[_ngcontent-%COMP%]{display:inline-block;padding-left:0}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span.action-heading[_ngcontent-%COMP%]{display:inline-block;width:100%}
1.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.action-title[_ngcontent-%COMP%]{line-height:21px;font-size:16px;flex:3}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   .action-title-container[_ngcontent-%COMP%]{padding-top:13px;padding-bottom:8px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline[_ngcontent-%COMP%]   .case-timeline-content[_ngcontent-%COMP%]{font-size:14px;line-height:20px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-active[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%], .case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-completed[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{top:10px}.case-time-line-container[_ngcontent-%COMP%]   .case-timeline.action-not-started[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{top:13px}div.tracking-container[_ngcontent-%COMP%]{padding-left:23px;margin-top:14px;padding-bottom:15px;border-top:1px solid #ccc}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]{border-top:none;padding-left:0}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]{display:flex}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]   .tracking-info-label[_ngcontent-%COMP%]{font-size:16px;max-width:100%;line-height:24px;width:100%}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section[_ngcontent-%COMP%]   .tracking-info-value[_ngcontent-%COMP%]{font-size:16px;max-width:100%;width:100%}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section.tracking-header[_ngcontent-%COMP%]{display:block}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section.tracking-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;max-width:100%;line-height:24px;width:100%}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section.tracking-more-info[_ngcontent-%COMP%]{display:block}div.tracking-container[_ngcontent-%COMP%]   .tracking-details[_ngcontent-%COMP%]   .tracking-section.tracking-more-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:100%;line-height:24px;width:100%}.rtl-timeline[_ngcontent-%COMP%]   div.tracking-container[_ngcontent-%COMP%]{padding-right:23px}}@media all and (-ms-high-contrast:none){.case-timeline.action-completed[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%], .case-timeline.action-active[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{width:26px;height:26px;border:none}*[_ngcontent-%COMP%]::-ms-backdrop, .case-timeline.action-completed[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{width:26px;height:26px;border:none}*[_ngcontent-%COMP%]::-ms-backdrop, .case-timeline.action-active[_ngcontent-%COMP%]   .action-header[_ngcontent-%COMP%]   div.marker[_ngcontent-%COMP%]{width:26px;height:26px;border:none}}"]})}}return c})();var Ee=s(9303);function we(c,b){1&c&&e.nrm(0,"img",2)}function $e(c,b){if(1&c){const o=e.RV6();e.j41(0,"p",9)(1,"a",16),e.bIt("click",function(){m.eBV(o);const C=e.XpG(2);return m.Njj(C.goToCaseListViewModal())}),e.j41(2,"span",17),e.EFF(3),e.k0s()()()}if(2&c){const o=e.XpG(2);e.R7$(),e.Y8G("title",e.mNQ(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Select_Different_Case_Text"])),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Select_Different_Case_Text"])}}function je(c,b){if(1&c&&(e.j41(0,"p",10),e.EFF(1),e.k0s()),2&c){let o;const d=e.XpG(2);e.R7$(),e.Lme("",d.allTranslations()["#pps_WCC_FS_Dashboard_CaseId"],": ",null==(o=d.caseDetailsData().caseDetail)?null:o.caseID)}}function Ie(c,b){if(1&c&&(e.j41(0,"div")(1,"p",18),e.EFF(2),e.k0s(),e.j41(3,"p",19),e.EFF(4),e.k0s()()),2&c){let o;const d=e.XpG(2);e.R7$(2),e.JRh(d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Heading_Case_Created"]),e.R7$(2),e.JRh(d.formatedDate(null==(o=d.caseDetailsData().caseDetail)?null:o.createdDateTime))}}function Ne(c,b){if(1&c&&(e.j41(0,"div")(1,"p",18),e.EFF(2),e.k0s(),e.j41(3,"p",19),e.EFF(4),e.k0s()()),2&c){let o;const d=e.XpG(2);e.R7$(2),e.JRh(d.allTranslations()["#pps_WCC_FS_Dashboard_Status"]),e.R7$(2),e.JRh(null==(o=d.caseDetailsData().caseDetail)?null:o.statusText)}}function Le(c,b){if(1&c&&(e.j41(0,"div")(1,"p",18),e.EFF(2),e.k0s(),e.j41(3,"p",19),e.EFF(4),e.k0s()()),2&c){let o;const d=e.XpG(2);e.R7$(2),e.JRh(d.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Heading_Product_Number"]),e.R7$(2),e.JRh(null==(o=d.caseDetailsData().caseDetail)?null:o.productNumber)}}function Ae(c,b){if(1&c&&(e.j41(0,"div")(1,"p",18),e.EFF(2),e.k0s(),e.j41(3,"p",19),e.EFF(4),e.k0s()()),2&c){let o;const d=e.XpG(2);e.R7$(2),e.JRh(d.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"]),e.R7$(2),e.JRh(null==(o=d.caseDetailsData().caseDetail)?null:o.serialNumber)}}function Be(c,b){if(1&c&&(e.j41(0,"div")(1,"p",18),e.EFF(2),e.k0s(),e.j41(3,"p",19),e.EFF(4),e.k0s()()),2&c){let o;const d=e.XpG(2);e.R7$(2),e.JRh(d.allTranslations()["#pps_WCC_FS_Poly_Case_Service_Order"]),e.R7$(2),e.JRh(null==(o=d.caseDetailsData())||null==o.caseDetail||null==o.caseDetail.serviceOrders||null==o.caseDetail.serviceOrders[0]?null:o.caseDetail.serviceOrders[0].serviceOrderId)}}function We(c,b){if(1&c){const o=e.RV6();e.j41(0,"p"),e.EFF(1),e.k0s(),e.j41(2,"a",20),e.bIt("click",function(){m.eBV(o);const C=e.XpG(2);return m.Njj(C.navigateToContactHP())}),e.j41(3,"span",21),e.EFF(4),e.k0s()()}if(2&c){const o=e.XpG(2);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Question_Related_Case_Text"]),e.R7$(),e.Y8G("title",e.mNQ(o.allTranslations()["#pps_WCC_FS_Dashboard_ContactHPText"])),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Dashboard_ContactHPText"])}}function Ue(c,b){if(1&c&&(e.j41(0,"p",23),e.EFF(1),e.k0s()),2&c){const o=e.XpG(3);e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Request_Text"])}}function Ve(c,b){if(1&c){const o=e.RV6();e.j41(0,"div")(1,"button",22),e.bIt("click",function(){m.eBV(o);const C=e.XpG(2);return m.Njj(C.openRequestToCloseModal())}),e.EFF(2),e.k0s(),e.nVh(3,Ue,2,1,"p",23),e.k0s()}if(2&c){const o=e.XpG(2);e.R7$(),e.Y8G("ngClass",o.disableRTCButton()?"inactiveBtn":"")("disabled",o.disableRTCButton()),e.R7$(),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Close_Request_Button_Text"]),e.R7$(),e.vxM(o.disableRTCButton()?3:-1)}}function Ge(c,b){if(1&c&&(e.j41(0,"div",13)(1,"button",24),e.EFF(2),e.k0s(),e.j41(3,"p")(4,"em"),e.EFF(5),e.k0s()()()),2&c){const o=e.XpG(2);e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Close_Request_Button_Text"]),e.R7$(3),e.JRh(o.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Request_Text"])}}function Xe(c,b){if(1&c){const o=e.RV6();e.j41(0,"div",0)(1,"div",1),e.nVh(2,we,1,0,"img",2),e.j41(3,"h3",3),e.EFF(4),e.j41(5,"span"),e.EFF(6),e.k0s()(),e.j41(7,"button",4),e.bIt("click",function(){m.eBV(o);const C=e.XpG();return m.Njj(C.closeModal())}),e.j41(8,"span",5),e.EFF(9,"\xd7"),e.k0s()()(),e.j41(10,"div",6)(11,"div",7)(12,"div",8),e.nVh(13,$e,4,3,"p",9),e.nVh(14,je,2,2,"p",10),e.j41(15,"div",11),e.nVh(16,Ie,5,2,"div"),e.nVh(17,Ne,5,2,"div"),e.nVh(18,Le,5,2,"div"),e.nVh(19,Ae,5,2,"div"),e.nVh(20,Be,5,2,"div"),e.k0s(),e.j41(21,"div",12),e.nVh(22,We,5,4),e.nVh(23,Ve,4,4,"div"),e.nVh(24,Ge,6,2,"div",13),e.k0s()(),e.j41(25,"div",14),e.nrm(26,"app-timeline",15),e.k0s()()(),e.nrm(27,"app-case-modal-footer"),e.k0s()}if(2&c){let o,d;const C=e.XpG();e.Y8G("ngClass","rtl"===C.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(2),e.vxM(!C.pageConfig().isMobile&&C.largeDevice()?2:-1),e.R7$(2),e.JRh(C.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalHeader"]),e.R7$(2),e.SpI("\xa0",null==(o=C.caseDetailsData().caseDetail)?null:o.nickName),e.R7$(4),e.Y8G("ngClass",C.pageConfig().isTablet?"tablet modal-body secondary-content":"nonTablet modal-body secondary-content"),e.R7$(3),e.vxM(C.totalCaseCount()>1?13:-1),e.R7$(),e.vxM(C.caseDetailsData().caseDetail.caseID?14:-1),e.R7$(2),e.vxM(C.caseDetailsData().caseDetail.createdDateTime?16:-1),e.R7$(),e.vxM(C.caseDetailsData().caseDetail.statusText?17:-1),e.R7$(),e.vxM(C.caseDetailsData().caseDetail.productNumber?18:-1),e.R7$(),e.vxM(C.caseDetailsData().caseDetail.serialNumber?19:-1),e.R7$(),e.vxM(null!=(d=C.caseDetailsData())&&null!=d.caseDetail&&null!=d.caseDetail.serviceOrders&&null!=d.caseDetail.serviceOrders[0]&&d.caseDetail.serviceOrders[0].serviceOrderId?20:-1),e.R7$(2),e.vxM(C.isContactLinkAvailable()?22:-1),e.R7$(),e.vxM("0"===C.caseDetailsData().caseDetail.status?23:-1),e.R7$(),e.vxM("2"===C.caseDetailsData().caseDetail.status?24:-1),e.R7$(2),e.Y8G("stepsData",C.caseDetailsData().steps)}}let He=(()=>{class c{onResize(){this.resolutionBaseDisplay()}constructor(o,d,C,U,it,gt,_t){this.pageService=o,this.commonService=d,this.modalService=C,this.caseDetailService=U,this.windowRef=it,this.injector=gt,this.appSelectorStore=_t,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,m.vPA)({}),this.largeDevice=(0,m.vPA)(!1),this.smallDevice=(0,m.vPA)(!1),this.selectedCaseId=(0,m.vPA)(null),this.totalCaseCount=(0,m.vPA)(null),this.caseDetailsData=(0,m.vPA)(null),this.skipGetCaseDetails=(0,m.vPA)(null),this.serviceOrderCaseData=(0,m.vPA)(null),this.disableRTCButton=(0,m.vPA)(this.commonService.caseCloseRequested),this.requestToCloseOpen=(0,$.CGW)(),this.serviceUnavailable=(0,m.vPA)(!1),this.goToCaseListModal=(0,$.CGW)(),this.window=(0,m.vPA)(null),this.sessionExpiredScenario=(0,$.CGW)(),this.destroySubject$=new O.B,this.window.set(this.windowRef.nativeWindow)}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(o=>this.allTranslations.set(o)),this.resolutionBaseDisplay()}resolutionBaseDisplay(){const o=this.commonService.resolutionBaseDisplay();this.largeDevice.set(o._largedevice),this.smallDevice.set(o._smallDevice)}ngAfterContentInit(){this.skipGetCaseDetails()?this.caseDetailsData.set(this.serviceOrderCaseData()):this.getCaseDetail()}formatedDate(o){return this.commonService.formatDate(o)}isContactLinkAvailable(){const o=this.caseDetailsData();return o&&!(null==o.caseDetail.seriesName||null==o.caseDetail.productSeriesOID||null==o.caseDetail.productNameOID||null==o?.caseDetail?.altProductNumber&&null==o.caseDetail.productNumber||null==o.caseDetail.serialNumber)}navigateToContactHP(){const o=this.caseDetailsData(),d=this.window(),C=this.pageConfig();o&&d&&(d.location.href=this.commonService.getSanitizedUrl(`/${C.cc}-${C.lc}/contact/product/${o.caseDetail.seriesName}/${o.caseDetail.productSeriesOID}/model/${o.caseDetail.productNameOID}?sku=${o?.caseDetail?.altProductNumber||o.caseDetail.productNumber}&serialnumber=${o.caseDetail.serialNumber}`))}getCaseDetail(){const o=this.injector.get(vt);this.caseDetailService.getCaseDetail(this.selectedCaseId()).pipe((0,k.Q)(this.destroySubject$)).subscribe(d=>{d&&200===d.code&&(this.caseDetailsData.set(d.caseDetailsData),this.serviceUnavailable.set(d.serviceUnavailable)),d&&d.code&&(406===d.code||500===d.code||d.serviceUnavailable)&&(this.serviceUnavailable.set(d.serviceUnavailable),o.openServiceUnavailableModal("caseDetail")),d&&d.code&&403===d.code&&this.sessionExpiredScenario.emit("session expired")},d=>{this.serviceUnavailable.set(!0),o.openServiceUnavailableModal("caseDetail")})}closeModal(){this.modalService.dismissAll()}openRequestToCloseModal(){this.requestToCloseOpen.emit("open request to close modal")}goToCaseListViewModal(){this.goToCaseListModal.emit("go to case list view")}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(d){return new(d||c)(e.rXU(w.b),e.rXU(x.h),e.rXU(t.Bq),e.rXU(kt),e.rXU(Ee.$),e.rXU(m.zZn),e.rXU(I.q))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["app-case-detail"]],hostBindings:function(d,C){1&d&&e.bIt("resize",function(){return C.onResize()},e.tSv)},outputs:{requestToCloseOpen:"requestToCloseOpen",goToCaseListModal:"goToCaseListModal",sessionExpiredScenario:"sessionExpiredScenario"},features:[e.Jv_([kt])],decls:1,vars:1,consts:[["id","case-detail-container","aria-modal","true","role","document",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[3,"ngClass"],["
1id","case-detail",1,"case-detail-section"],[1,"case-info"],[1,"back-to-list-link"],[1,"case-id-header"],[1,"detail-section"],[1,"request-close-section"],[1,"rtc-disable-btn"],[1,"case-time-line"],[3,"stepsData"],["href","javascript:void(0)","ngbAutofocus","",1,"arrow-link-reverse",3,"click","title"],["aria-hidden","true"],[1,"detail-label"],[1,"detail-info"],["href","javascript:void(0)","id","Case_Details_Contact_HP","ngbAutofocus","",1,"arrow-link",3,"click","title"],["aria-hidden","true","target","_blank"],["id","Case_Details_Request_to_Close",1,"requestToCloseBtn",3,"click","ngClass","disabled"],[1,"requestPendingText"],["disabled","","id","Case_Details_Request_to_Close"]],template:function(d,C){1&d&&e.nVh(0,Xe,28,16,"div",0),2&d&&e.vxM(C.caseDetailsData()&&!C.serviceUnavailable()?0:-1)},dependencies:[R.YU,Re,p.k],styles:['.modal-header[_ngcontent-%COMP%]{border-width:2px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:37px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{top:0}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{border:1px solid #0096D6}.modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-left:18px;font-family:HPSimplifiedLight}.modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplified}.modal-dialog[_ngcontent-%COMP%]{max-width:1200px;width:100%;margin-left:auto;margin-right:auto}button.requestToCloseBtn[_ngcontent-%COMP%]{line-height:normal!important}button.requestToCloseBtn.inactiveBtn[_ngcontent-%COMP%]{background-color:#ccc!important;color:#fff!important;border:solid 2px #ccc!important}button.requestToCloseBtn.inactiveBtn[_ngcontent-%COMP%]:hover{cursor:default}.requestPendingText[_ngcontent-%COMP%]{color:#000;font-weight:700;padding-top:12px;font-style:italic;padding-left:5px}.rtc-disable-btn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:default!important}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{border-width:2px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:37px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{top:0}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{border:1px solid #0096D6}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-left:18px;font-family:HPSimplifiedLight}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplified}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{padding:12px 12px 14px 15px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{color:#000}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:40px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]{display:flex}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]{max-width:393px;width:36%}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   p.case-id-header[_ngcontent-%COMP%]{padding-bottom:17px;color:#000;font-size:18px;font-family:HPSimplifiedRegular}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   p.back-to-list-link[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;line-height:1.38;letter-spacing:-.08px;color:#0096d6;padding-bottom:10px}
1#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   p.back-to-list-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]{max-width:345px;width:91%;border-bottom:1px solid #ccc}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;padding-bottom:19px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{padding-bottom:16px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;padding-bottom:0}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p.detail-label[_ngcontent-%COMP%]{width:50%;max-width:172px;font-family:HPSimplifiedRegular;font-size:16px;line-height:1.3;letter-spacing:-.08px;color:#333}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p.detail-info[_ngcontent-%COMP%]{width:50%;max-width:172px;text-align:right;font-family:HPSimplifiedLight;font-size:16px;line-height:1.3;letter-spacing:-.08px;color:#767676}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]{padding-top:30px;margin-left:-12px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   div.rtc-disable-btn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;line-height:1.3;letter-spacing:-.08px;margin-top:10px;color:#000}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   div.rtc-disable-btn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;margin-top:34px;font-family:HPSimplifiedRegular;font-size:16px;line-height:40px;letter-spacing:.26px;text-align:center;height:40px;padding:0 32px 0 28px;background-color:#ccc;color:#f8f8f8;border-radius:0;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;margin-left:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-bottom:3px;color:#333;margin-left:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;line-height:1.38;letter-spacing:-.08px;margin-left:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px;padding-left:7px}
1#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:solid 1px #075782;margin-top:34px;font-family:HPSimplifiedRegular;line-height:40px;letter-spacing:.26px;text-align:center;height:40px;padding:0 32px 0 28px;color:#075782;margin-left:12px;background-color:#fff;height:33px;border:1px solid #165DBA;border-radius:4px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:0px;color:#165dba}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#114284;border:1px solid #114284;background-color:#fff}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{border:1px solid #CCCCCC;background-color:#fff}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-time-line[_ngcontent-%COMP%]{max-width:802px;width:65%}#case-detail-container[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]{color:#000;border-radius:0!important}#case-detail-container[_ngcontent-%COMP%]   #close-icon[_ngcontent-%COMP%]{position:relative;top:7px;left:-5px;width:18px;height:18px}#case-detail-container[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{height:auto;min-height:74px;padding:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#000}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:hover{background-color:transparent}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span#close-icon[_ngcontent-%COMP%]{border:1px solid #0096D6}#case-detail-container.rtl[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-right:18px}#case-detail-container.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{left:27px}#case-detail-container.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{left:10px!important}#case-detail-container.rtl[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]{margin-left:0;margin-right:-12px}#case-detail-container.rtl[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   div.rtc-disable-btn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], #case-detail-container.rtl[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], #case-detail-container.rtl[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:0;margin-right:12px}#case-detail-container.rtl[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   p.back-to-list-link[_ngcontent-%COMP%]{margin-right:-12px;margin-left:0}@media only screen and (max-width:800px){#case-detail-container[_ngcontent-%COMP%]   .modal
1-header[_ngcontent-%COMP%]{border-width:1px;height:auto;min-height:60px;padding:3px 15px 12px}#case-detail-container[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-left:0}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:25px 15px 15px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]{display:block}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%], #case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]{max-width:100%;width:100%}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-bottom:12px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p.detail-label[_ngcontent-%COMP%], #case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p.detail-info[_ngcontent-%COMP%]{width:100%;max-width:100%}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .detail-section[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{padding-bottom:20px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]{padding-top:13px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-info[_ngcontent-%COMP%]   .request-close-section[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:20px}#case-detail-container[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-time-line[_ngcontent-%COMP%]{max-width:97%;width:97%;margin-top:8px;margin-left:5px;margin-bottom:7px}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{margin-right:0}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{top:12px!important}.rtl[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   .case-detail-section[_ngcontent-%COMP%]   div.case-time-line[_ngcontent-%COMP%]{margin-left:0;margin-right:12px}}']})}}return c})();function ze(c,b){1&c&&e.nrm(0,"img",2)}let Ke=(()=>{class c{constructor(o,d,C,U,it){this.pageService=o,this.modalService=d,this.commonService=C,this.http=U,this.appSelectorStore=it,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,m.vPA)({}),this.caseId=(0,m.vPA)(null),this.requestToCloseFired=(0,$.CGW)(),this.destroySubject$=new O.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(o=>this.allTranslations.set(o))}closeModal(){this.modalService.dismissAll()}handleKeyDownCloseModal(o){"Enter"===o.key&&this.closeModal()}sendCloseRequest(){this.http.post(`/wcc-services/profile/cases/close/${this.caseId()}`,null,null).pipe((0,k.Q)(this.destroySubject$)).subscribe(o=>{o&&o.data&&200===o.code&&(this.requestToCloseFired.emit("Request to close fired"),this.commonService.caseCloseRequested=!0,this.closeModal())})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(d){return new(d||c)(e.rXU(w.b),e.rXU(t.Bq),e.rXU(x.h),e.rXU(Ft.k),e.rXU(I.q))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["app-case-requesttoclose"]],outputs:{requestToCloseFired:"requestToCloseFired"},decls:18,vars:7,consts:[["id","case-close-container","aria-labelledby","modal-heading","aria-modal","true","role","dialog"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click","keydown"],["aria-hidden","true","id","close-icon"],[1,"reqModalContent","modal
1-body",3,"ngClass"],[1,"caseCloseInfo"],[1,"caseClosePromptText"],[1,"buttonContainer"],["id","sendRequest",1,"primary-button",3,"click"],["id","cancelBtn",1,"secondary-btn",3,"click"]],template:function(d,C){1&d&&(e.j41(0,"div",0)(1,"div",1),e.nVh(2,ze,1,0,"img",2),e.j41(3,"h3",3),e.EFF(4),e.k0s(),e.j41(5,"button",4),e.bIt("click",function(){return C.closeModal()})("keydown",function(it){return C.handleKeyDownCloseModal(it)}),e.j41(6,"span",5),e.EFF(7,"\xd7"),e.k0s()()(),e.j41(8,"div",6)(9,"p",7),e.EFF(10),e.k0s(),e.j41(11,"p",8),e.EFF(12),e.k0s(),e.j41(13,"div",9)(14,"button",10),e.bIt("click",function(){return C.sendCloseRequest()}),e.EFF(15),e.k0s(),e.j41(16,"button",11),e.bIt("click",function(){return C.closeModal()}),e.EFF(17),e.k0s()()()()),2&d&&(e.R7$(2),e.vxM(C.pageConfig().isMobile?-1:2),e.R7$(2),e.SpI(" ",C.allTranslations()["#pps_WCC_FS_Confirm_Close_Request_Modal_heading"]," "),e.R7$(4),e.Y8G("ngClass",C.pageConfig().isMobile?"mobile":""),e.R7$(2),e.SpI(" ",C.allTranslations()["#pps_WCC_FS_Confirm_Close_Request_Modal_Content"]," "),e.R7$(2),e.SpI(" ",C.allTranslations()["#pps_WCC_FS_Confirm_Close_Request_Modal_Confirmation_Text"]," "),e.R7$(3),e.JRh(C.allTranslations()["#pps_WCC_FS_Confirm_Close_Request_Modal_Send_Request_Button"]),e.R7$(2),e.SpI(" ",C.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"]))},dependencies:[R.YU],styles:['.modal-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:15px;font-family:HPSimplified;font-size:16px;line-height:1.13;color:#000}.caseClosePromptText[_ngcontent-%COMP%]{font-weight:700}#close-icon[_ngcontent-%COMP%]{position:relative;top:7px;left:-5px;width:18px;height:18px}.modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#767676}#case-close-container[_ngcontent-%COMP%]   .reqModalContent[_ngcontent-%COMP%]{font-size:16px;font-family:HPSimplifiedRegular!important;color:#000;padding:40px}.reqModalContent[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000}@media(min-width:801px){#sendRequest[_ngcontent-%COMP%]{margin-right:30px}.buttonContainer[_ngcontent-%COMP%]{padding-top:70px;display:flex;align-items:flex-end;justify-content:flex-end;padding-bottom:50px}}@media only screen and (max-width:800px){.buttonContainer[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:-moz-fit-content;width:fit-content}.buttonContainer[_ngcontent-%COMP%]   #cancelBtn[_ngcontent-%COMP%]{width:100%}#sendRequest[_ngcontent-%COMP%]{margin-bottom:22px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:30px}}@media only screen and (max-width:1024px)and (min-width:801px){#sendRequest[_ngcontent-%COMP%]{margin-right:30px;margin-bottom:0}.buttonContainer[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:row}}']})}}return c})();var Je=s(18329),Ye=s(72926);let vt=(()=>{class c{constructor(o,d,C,U){this.pageService=o,this.modalService=d,this.commonService=C,this.authService=U,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.caselistModalDetailData=new l.t({})}getCaseListModalSubject(){return this.caselistModalDetailData.asObservable()}openCaseListModal(o){const d=o.allTranslations,C=this.modalService.open(ae,{windowClass:"case-detail-modal",ariaLabelledBy:"modal-heading",size:"lg"});C.componentInstance.deviceInfo.set(o.deviceInfo.metadata),C.componentInstance.deviceId.set(o.deviceId),C.componentInstance.notifyToOpenCaseDetailModal.subscribe(U=>{this.modalService.dismissAll(),this.openCaseDetailModal(o,U,U.caseId,o.totalCaseCount,d)}),C.componentInstance.sessionExpiredScenario.subscribe(U=>{this.authService.userDataSub.next({state:"sessionExpired"}),this.authService.logoutSub(),this.modalService.dismissAll()}),C.result.then(()=>{},()=>{this.commonService.caseCloseRequested=!1})}openCaseDetailModal(o=null,d,C,U=1,it,gt=!1){const _t=this.modalService.open(He,{windowClass:"case-detail-modal",ariaLabelledBy:"modal-heading"});_t.componentInstance.selectedCaseId.set(C),_t.componentInstance.totalCaseCount.set(U),_t.componentInstance.skipGetCaseDetails.set(gt),gt&&_t.componentInstance.serviceOrderCaseData.set(d),_t.componentInstance.requestToCloseOpen.subscribe(()=>{this.modalService.dismissAll(),this.openRequestToCloseModal(o,d,C,U,it,gt)}),_t.componentInstance.goToCaseListModal.subscribe(()=>{this.modalService.dismissAll(),this.openCaseListModal(o)}),_t.componentInstance.sessionExpiredScenario.subscribe(()=>{this.modalService.dismissAll(),this.authService.userDataSub.next({state:"sessionExpired"}),this.authService.logoutSub(),this.modalService.dismissAll()}),_t.result.then(()=>{},()=>{this.caselistModalDetailData.next(o),this.commonService.caseCloseRequested=!1})}openRequestToCloseModal(o,d,C,U,it,gt=!1){const _t=this.modalService.open(Ke,{windowClass:"requestToClose-modal",size:"lg"});_t.componentInstance.caseId.set(C),_t.result.then(()=>{},()=>{gt?this.openCaseDetailModal(o,d,C,U,it,!0):this.openCaseDetailModal(o,d,C,U,it)})}openServiceUnavailableModal(o=null){this.modalService.dismissAll(),this.modalService.open(Je.L,{windowClass:"error-scenario-modal",size:"lg",keyboard:!0}).result.then(()=>{},()=>{"caseDetail"===o&&(this.subscription=this.getCaseListModalSubject().subscribe(C=>{C&&this.openCaseListModal(C)}))})}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(d){return new(d||c)(m.KVO(w.b),m.KVO(t.Bq),m.KVO(x.h),m.KVO(Ye.u))}}static{this.\u0275prov=m.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},90230(ot,V,s){s.d(V,{G:()=>P});var D=s(85139),l=s(97965),m=s(60190),$=s(55261);var g=s(59484),h=s(76746);var R=s(71487),w=Object.prototype.hasOwnProperty;const t=function x(y,f){var v=-1,T=(f=(0,$.A)(f,y)).length;if(!T)return!0;for(;++v<T;){var S=(0,R.A)(f[v]);if("__proto__"===S&&!w.call(y,"__proto__")||("constructor"===S||"prototype"===S)&&v<T-1)return!1}var H=function u(y,f){return f.length<2?y:(0,g.A)(y,(0,h.A)(f,0,-1))}(y,f);return null==H||delete H[(0,R.A)(function k(y){var f=null==y?0:y.length;return f?y[f-1]:void 0}(f))]};var I=s(60123),A=Array.prototype.splice;const at=function X(y,f){var v=[];
1if(!y||!y.length)return v;var T=-1,S=[],H=y.length;for(f=(0,m.A)(f,3);++T<H;){var z=y[T];f(z,T,y)&&(v.push(z),S.push(T))}return function K(y,f){for(var v=y?f.length:0,T=v-1;v--;){var S=f[v];if(v==T||S!==H){var H=S;(0,I.A)(S)?A.call(y,S,1):t(y,S)}}}(y,S),v};var E=s(14681),B=s(31933),L=Math.max,J=Math.min;var N=s(85240),Z=s(60480);let P=(()=>{class y{constructor(v){this.commonService=v}transformObj(v,T){if(!v)return{};T&&(this.caseCreationText=T["#pps_WCC_FS_Case_Detail_Case_Creation_text"],this.caseCompletionText=T["#pps_WCC_FS_Case_Detail_Case_Completion_text"]);const S={caseDetail:{caseID:v.caseID,status:v.status,statusText:v.statusText,createdDateTime:v.createdDateTime,dateClosed:v.dateClosed,description:v.description,nickName:v.nickName,productName:v.productName,productNumber:v?.altProductNumber||v?.productNumber,serialNumber:v.serialNumber,captionOpen:v.captionOpen,captionClose:v.captionClose,productNameOID:v.productNameOID,productSeriesOID:v.productSeriesOID,seriesName:v.seriesName,serviceOrders:[]},steps:[]},z={caption:this.caseCreationText,changeDate:S.caseDetail.createdDateTime,title:S.caseDetail.captionOpen,active:!0,tracking:[]},q={caption:this.caseCompletionText,changeDate:S.caseDetail.dateClosed,title:S.caseDetail.captionClose,active:"1"===S.caseDetail.status,tracking:[]};if(v.serviceOrders&&(v.serviceOrders.length&&(S.caseDetail.serviceOrders=[{serviceOrderId:v.serviceOrders[0].serviceOrderId,orderEntryDate:v.serviceOrders[0].orderEntryDate,flowType:v.serviceOrders[0].flowType}]),S.steps=v.serviceOrders.length&&v.serviceOrders[0].history&&v.serviceOrders[0].history.length?v.serviceOrders[0].history:[],S.steps.unshift(z),S.steps.push(q),S.steps.length)){(0,D.A)(S.steps,(tt,lt)=>{tt.trackingInfoAvailable=this.commonService.checkArrayObjHasValue(tt.tracking),tt.expandable=!(!tt.title&&!tt.trackingInfoAvailable||!tt.active),tt.previousStepActive=!(0===lt||!S.steps[lt-1].active),tt.subState=(0,l.A)(S.steps,st=>st.parentServiceOrderHistoryId&&st.parentServiceOrderHistoryId===tt.serviceOrderHistoryId)}),at(S.steps,tt=>tt.parentServiceOrderHistoryId);const nt=function W(y,f,v){var T=null==y?0:y.length;if(!T)return-1;var S=T-1;return void 0!==v&&(S=(0,B.A)(v),S=v<0?L(T+S,0):J(S,T-1)),(0,E.A)(y,(0,m.A)(f,3),S,!0)}(S.steps,"active");S.steps[nt].currentStep=!0}return S}static{this.\u0275fac=function(T){return new(T||y)(N.KVO(Z.h))}}static{this.\u0275prov=N.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},91746(ot,V,s){s.d(V,{F:()=>B});var D=s(37580),l=s(85240),m=s(86763),$=s(84205),k=s(63855),O=s(2435),g=s(33900),h=s(65644),u=s(39422),p=s(18329),R=s(93683),e=s(12481),w=s(19885),x=s(20572),t=s(24938),I=s(72926),j=s(4804),A=s(8130);const K=["content"];function et(L,J){1&L&&e.nrm(0,"img",3)}function X(L,J){1&L&&(e.j41(0,"span"),e.EFF(1,":"),e.k0s())}function at(L,J){1&L&&(e.j41(0,"span"),e.EFF(1,","),e.k0s())}function E(L,J){if(1&L){const W=e.RV6();e.j41(0,"app-error-modal",13),e.bIt("closeModal",function(){l.eBV(W);const N=e.XpG();return l.Njj(N.closeErrorModal())}),e.k0s()}}let B=(()=>{class L{onResize(){this.resolutionBaseDisplay()}constructor(W,Y,N,Z,P,y,f,v){this.pageService=W,this.activeModal=Y,this.router=N,this.httpClient=Z,this.modalService=P,this.authService=y,this.globalDataService=f,this.appSelectorStore=v,this.pageConfig=(0,m.EW)(()=>this.pageService.configSignal()),this.deviceInfo=(0,l.vPA)(null),this.origin=(0,l.vPA)(null),this.deviceId=(0,l.vPA)(null),this.index=(0,l.vPA)(null),this.allDeviceData=(0,l.vPA)(null),this.removeOption=(0,l.vPA)(!0),this.window=(0,l.vPA)(null),this.largeDevice=(0,l.vPA)(!1),this.smallDevice=(0,l.vPA)(!1),this.allTranslations=(0,l.vPA)({}),this.gdlProduct=(0,l.vPA)(null),this.Dashboard=(0,l.vPA)({}),this.updatedTotalDevices=(0,D.CGW)(),this.clcModalRef=(0,D.ebz)("content"),this.destroySubject$=new $.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,g.Q)(this.destroySubject$)).subscribe(W=>this.allTranslations.set(W)),this.resolutionBaseDisplay()}resolutionBaseDisplay(){const W=this.window();W&&(this.largeDevice.set(!(W?.innerWidth<=800)),this.smallDevice.set(W?.innerWidth<=800))}deleteDevice(){const W=`/wcc-services/profile/devices/${this.deviceId()}?unregister=true`,Y={headers:new k.Lr({"Content-Type":"application/json"})};let N=!1;this.httpClient.delete(W,Y).pipe((0,O.$)(Z=>!!Z)).subscribe(Z=>
1{if(Z&&Z.code){const P=this.allDeviceData();switch(Z.code){case 200:this.removeDeviceFromLocal(),N=!0,this.activeModal.close(P?P.length:0);break;case 403:this.openErrorModal(),this.authService.logoutSub();break;default:this.openErrorModal()}}N||this.activeModal.close()},Z=>{this.openErrorModal()})}openErrorModal(){this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}removeDeviceFromLocal(){const W=this.origin(),Y=this.pageConfig();if("device-card"===W)this.router.navigate([`${Y.cc}-${Y.lc}/dashboard`]);else if("dashboard"===W){this.allDeviceData().splice(this.index(),1);const N=(0,h.A)(this.allDeviceData(),P=>(0,u.A)(P,"productLine","productNumber","productName","productNameOID","subscriptionServices","deviceId","productSeriesName"));this.gdlProduct.set(N);const Z={...this.globalDataService.getLocalstorageGlobalData().Dashboard,NoOfDevices:N.length,Products:N};this.Dashboard.set(Z),this.globalDataService.updateGDL({Dashboard:Z}),!this.allDeviceData().length&&this.window()&&this.globalDataService.updatePageTemplate("Dashboard_zero")}}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(Y){return new(Y||L)(e.rXU(w.b),e.rXU(x.Lw),e.rXU(t.Ix),e.rXU(k.Qq),e.rXU(x.Bq),e.rXU(I.u),e.rXU(j.a),e.rXU(A.q))}}static{this.\u0275cmp=e.VBU({type:L,selectors:[["app-delete-device"]],viewQuery:function(Y,N){1&Y&&e.wEZ(N.clcModalRef,K,5),2&Y&&e.NyB()},hostBindings:function(Y,N){1&Y&&e.bIt("resize",function(){return N.onResize()},e.tSv)},outputs:{updatedTotalDevices:"updatedTotalDevices"},decls:25,vars:12,consts:[["content",""],["aria-labelledby","modal-heading","aria-modal","true","role","dialog",1,"delete-device-modal",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close","id","Modal_Delete_device_X_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[3,"ngClass"],[1,"pTitle"],["id","pQues"],[1,"btns"],["id","Modal_Delete_device_Remove_btn",1,"removeBtn","primary-button",3,"click"],["id","Modal_Delete_device_Cancel_btn",1,"cancelBtn","secondary-btn",3,"click"],[3,"closeModal"]],template:function(Y,N){if(1&Y){const Z=e.RV6();e.j41(0,"div",1)(1,"div",2),e.nVh(2,et,1,0,"img",3),e.j41(3,"h3",4),e.EFF(4),e.k0s(),e.j41(5,"button",5),e.bIt("click",function(){return l.eBV(Z),l.Njj(N.closeErrorModal())}),e.j41(6,"span",6),e.EFF(7,"\xd7"),e.k0s()()(),e.j41(8,"div",7)(9,"p",8)(10,"span",9),e.EFF(11),e.nVh(12,X,2,0,"span"),e.k0s(),e.EFF(13),e.nVh(14,at,2,0,"span"),e.EFF(15),e.k0s(),e.j41(16,"div"),e.EFF(17),e.k0s(),e.j41(18,"div",10)(19,"button",11),e.bIt("click",function(){return l.eBV(Z),l.Njj(N.deleteDevice())}),e.EFF(20),e.k0s(),e.j41(21,"button",12),e.bIt("click",function(){return l.eBV(Z),l.Njj(N.closeErrorModal())}),e.EFF(22),e.k0s()()()(),e.DNE(23,E,1,0,"ng-template",null,0,e.C5r)}2&Y&&(e.Y8G("ngClass","rtl"===N.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(2),e.vxM(!N.pageConfig().isMobile&&N.largeDevice()?2:-1),e.R7$(2),e.JRh(N.allTranslations()["#pps_WCC_FS_Dashboard_DeleteDeviceModalHeader"]),e.R7$(4),e.Y8G("ngClass",N.pageConfig().isTablet?"tablet modal-body secondary-content":"nonTablet modal-body secondary-content"),e.R7$(3),e.JRh(N.allTranslations()["#pps_WCC_FS_Dashboard_Delete_Modal_Heading"]),e.R7$(),e.vxM(N.deviceInfo().productName||N.deviceInfo().nickName?12:-1),e.R7$(),e.SpI(" ",N.deviceInfo().nickName),e.R7$(),e.vxM(N.deviceInfo().productName?14:-1),e.R7$(),e.SpI(" ",N.deviceInfo().productName," "),e.R7$(2),e.SpI(" ",N.allTranslations()["#pps_WCC_FS_Dashboard_Delete_Modal_Text"]," "),e.R7$(3),e.JRh(N.allTranslations()["#pps_WCC_FS_Dashboard_DeleteDeviceModalRemoveText"]),e.R7$(2),e.SpI(" ",N.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"]))},dependencies:[R.YU,p.L],styles:['.modal-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:15px;font-family:HPSimplified;font-size:16px;line-height:1.13;color:#000}@media only screen and (max-width:800px){.delete-device-modal[_ngcontent-%COMP%]   .modal
1-title[_ngcontent-%COMP%]{margin-left:0!important}.delete-device-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:30px}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.delete-device-modal[_ngcontent-%COMP%]   .removeBtn[_ngcontent-%COMP%]{margin-bottom:22px}.delete-device-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:10px!important;margin-top:10px}}@media(min-width:801px){.delete-device-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:40px}.delete-device-modal[_ngcontent-%COMP%]   .removeBtn[_ngcontent-%COMP%]{margin-right:30px}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:70px;display:flex;align-items:flex-end;justify-content:flex-end}}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#767676}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:hover{background-color:transparent}.modal-content[_ngcontent-%COMP%]{color:#000;border-radius:0!important}.pTitle[_ngcontent-%COMP%]{color:#000;padding-bottom:0;margin-bottom:0;line-height:22px;word-break:break-word}#pQues[_ngcontent-%COMP%]{font-family:HPSimplified!important}#close-icon[_ngcontent-%COMP%]{position:relative;top:7px;left:-5px;width:18px;height:18px}.modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}@media only screen and (max-width:1024px)and (min-width:801px){.delete-device-modal[_ngcontent-%COMP%]   .removeBtn[_ngcontent-%COMP%]{margin-right:30px;margin-bottom:0}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:row}}']})}}return L})()},56770(ot,V,s){s.d(V,{Q:()=>p});var D=s(37580),l=s(85240),m=s(6311),$=s(33900),k=s(84205),O=s(93683),g=s(12481),h=s(8130);function u(R,e){if(1&R){const w=g.RV6();g.j41(0,"div",0)(1,"a",1),g.bIt("click",function(){l.eBV(w);const t=g.XpG();return l.Njj(t.exportCSV())}),g.j41(2,"span",2),g.nrm(3,"img",3),g.k0s(),g.EFF(4),g.k0s()()}if(2&R){const w=g.XpG();g.Y8G("ngClass","ExportCSV"===w.exportId()?"export-data-sb":"export-data"),g.R7$(),g.Y8G("title",g.mNQ(w.exportButtonText()))("id",g.mNQ(w.exportId()))("ngClass","ExportCSV"===w.exportId()?"export-csv-link-sb":"export-csv-link"),g.R7$(2),g.Y8G("src",w.imgUrl(),g.B4B)("alt",w.exportButtonText()),g.R7$(),g.SpI(" ",w.exportButtonText()," ")}}let p=(()=>{class R{constructor(w){this.appSelectorStore=w,this.allTranslations=(0,l.vPA)({}),this.options=(0,D.hFB)(null),this.fileName=(0,D.hFB)(""),this.data=(0,D.hFB)(null),this.exportButtonText=(0,D.hFB)(""),this.exportId=(0,D.hFB)(""),this.dataHeaders=(0,D.hFB)(null),this.linkWithinComponent=(0,D.hFB)(null),this.imgUrl=(0,D.hFB)(""),this.destroySubject$=new k.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,$.Q)(this.destroySubject$)).subscribe(w=>this.allTranslations.set(w)),this.linkWithinComponent()&&"ExportCSV"!==this.exportId()&&this.exportCSV()}exportCSV(){const w=[];for(let x=0;x<this.data().length;x++){const t={};for(let I=0;I<this.dataHeaders().length;I++)t[this.dataHeaders()[I]]=this.data()[x][this.dataHeaders()[I]]&&null!==this.data()[x][this.dataHeaders()[I]]?` ${this.data()[x][this.dataHeaders()[I]]}`:" ";w.push(t)}new m.cu(w,this.fileName(),this.options())}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(x){return new(x||R)(g.rXU(h.q))}}static{this.\u0275cmp=g.VBU({type:R,selectors:[["app-export-csv"]],inputs:{options:[1,"options"],fileName:[1,"fileName"],data:[1,"data"],exportButtonText:[1,"exportButtonText"],exportId:[1,"exportId"],dataHeaders:[1,"dataHeaders"],linkWithinComponent:[1,"linkWithinComponent"],imgUrl:[1,"imgUrl"]},decls:1,vars:1,consts:[[1,"export-data",3,"ngClass"],["href","javascript:void(0)",3,"click","title","id","ngClass"],["aria-hidden","true"],[3,"src","alt"]],template:function(x,t){1&x&&g.nVh(0,u,5,9,"div",0),2&x&&g.vxM(t.linkWithinComponent()?0:-1)}
1,dependencies:[O.YU],styles:[".export-data[_ngcontent-%COMP%]{font-family:HPSimplified;margin:12px 0 20px}.export-data[_ngcontent-%COMP%]   .device-export-btn[_ngcontent-%COMP%]{display:inline-block}.export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:1.78;padding:0}.export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:4px}.export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{text-decoration:underline}.export-data[_ngcontent-%COMP%]   .export-csv-link[_ngcontent-%COMP%]{font-size:18px}.export-data-sb[_ngcontent-%COMP%]{margin:0}.export-data-sb[_ngcontent-%COMP%]   .export-csv-link-sb[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px}.export-data-sb[_ngcontent-%COMP%]   .export-csv-link-sb[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-8px 4px 0}@media only screen and (max-width:768px){.export-data[_ngcontent-%COMP%]{display:flex}.export-data-sb[_ngcontent-%COMP%]{display:inline-block}.export-data[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:1.22;word-wrap:break-word;font-size:18px}}@media only screen and (max-width:1024px)and (min-width:768px){.export-data[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-top:13px}}"]})}}return R})()},52730(ot,V,s){s.d(V,{j:()=>Y});var D=s(86763),l=s(2435),m=s(70271),$=s(85237),k=s(65644),O=s(26895),g=s(11878);const u=function h(N,Z,P,y){for(var f=-1,v=null==N?0:N.length;++f<v;){var T=N[f];Z(y,T,P(T),N)}return y};var p=s(5294);const e=function R(N,Z,P,y){return(0,p.A)(N,function(f,v,T){Z(y,f,P(f),T)}),y};var w=s(60190),x=s(19247),A=Object.prototype.hasOwnProperty;const et=function t(N,Z){return function(P,y){var f=(0,x.A)(P)?u:e,v=Z?Z():{};return f(P,N,(0,w.A)(y,2),v)}}(function(N,Z,P){A.call(N,P)?N[P].push(Z):(0,g.A)(N,P,[Z])});var X=s(93551),at=s(85240),E=s(19885),B=s(91018),L=s(60480),J=s(90230),W=s(8130);let Y=(()=>{class N{constructor(P,y,f,v,T){this.pageService=P,this.http=y,this.commonService=f,this.caseTransformService=v,this.appSelectorStore=T,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations={},this.appSelectorStore.getAllTranslations$().pipe((0,l.$)(S=>!(0,X.A)(S))).subscribe(S=>this.allTranslations=S)}getCsvOptionsHeaders(P){return[`${P["#pps_WCC_FS_Dashboard_CaseId"]}`,`${P["#pps_WCC_FS_Dashboard_ProductText"]}`,`${P["#pps_WCC_FS_Dashboard_SerialNumberText"]}`,`${P["#pps_WCC_FS_Dashboard_DateCreated"]}`,`${P["#pps_WCC_FS_Dashboard_CaseType"]}`,`${P["#pps_WCC_FS_Dashboard_StatusText"]}`]}getCasesData(){const P=this.commonService.getUTCOffset();return this.http.get(`/wcc-services/profile/cases/all?offset=${P}`).pipe((0,m.T)(y=>{let f;if(y&&y.data){let v,T,S,H;y.data.repairOrderLookUpEnabled&&(v=y.data.repairOrderLookUpEnabled),T=(0,$.A)(y.data.cases),S=y.data.cases,H=y.data.cases.length,S=(0,k.A)(S,q=>{const nt=q.productName?q.productName:"",tt=q.nickName?q.nickName:"";return q.nickname_productName=tt+(tt.length&&nt.length?"/":"")+nt,q.dateCreated?q.dateCreatedExists=!0:(q.dateCreatedExists=!1,q.dateCreated=new Date(864e13)),q.olderThan90=this.commonService.getDaydiff(q.dateCreated)>90?"olderThan90":"lessThan90",q});const z=this.getSortedCases(S,"displayStatus",!0,!1);return f=!1,{status:"success",showRepairOrderLookupLink:v,casesToExport:T,allCasesData:S,casesCount:H,serviceUnavailable:!1,openStatusExists:z.openStatusExists,closedStatusExists:z.closedStatusExists,olderthan90Exists:z.olderthan90Exists,lessthan90exists:z.lessthan90exists,swCaseTypeExist:z.swCaseTypeExists,hwCaseTypeExist:z.hwCaseTypeExists,sortByStatus:z.sortByStatus,sortByProduct:z.sortByProduct,sortedCases:z.sortedCases,sortByCaseType:z.sortByCaseType}}this.handleErrorResponse(y)},y=>({status:"error"})))}handleErrorResponse(P){const y=P?.code;switch(y){case 403:return{code:y,status:"sessionExpired",userSessionState:{state:"sessionExpired"},serviceUnavailable:!1};case 406:case 500:return{code:y,status:"error"};default:return{status:"error"}}}getSortedCases(P,y,f,v){let tt,lt,st,dt,ht,Mt,T=!1,S=!1,H=!1,z=!1,q=!1;return v?(Mt=f?"desc":"asc",tt=!1,lt=!1,ht=!1,(P=P.filter(Q=>
1Q.hasOwnProperty("caseId"))).forEach(Q=>{"lessThan90"===Q.olderThan90&&Q.hasOwnProperty("caseId")&&(z=!0),"olderThan90"===Q.olderThan90&&Q.hasOwnProperty("caseId")&&(H=!0)}),!z&&0===P.filter(Q=>"lessThan90"===Q.olderThan90).length&&P.push({olderThan90:"lessThan90",dateCreated:new Date(864e13)}),!H&&0===P.filter(Q=>"olderThan90"===Q.olderThan90).length&&P.push({olderThan90:"olderThan90",dateCreated:null}),st=(0,O.A)(P,Q=>this.commonService.iskeyAvaillableInObj(Q[y],!0),[Mt]),dt=et(st,"olderThan90")):(dt=[],tt="displayStatus"===y,lt="nickname_productName"===y,ht="type"===y,(P=P.filter(Q=>Q.hasOwnProperty("caseId")))&&P.length?(tt?(Mt=f?"desc":"asc",P.forEach(Q=>{(0===Q.status||2===Q.status)&&Q.hasOwnProperty("caseId")&&(Q.displayStatus="Open",T=!0),1===Q.status&&Q.hasOwnProperty("caseId")&&(Q.displayStatus="Closed",S=!0)}),!T&&0===P.filter(Q=>"Open"===Q.displayStatus).length&&P.push({displayStatus:"Open"}),!S&&0===P.filter(Q=>"Closed"===Q.displayStatus).length&&P.push({displayStatus:"Closed"})):ht?(Mt=f?"asc":"desc",P=this.getCaseTypeSorted(P,q,!1)):(P=P.filter(Q=>Q.hasOwnProperty("caseId")),Mt=f?"asc":"desc"),st=(0,O.A)(P,[Q=>this.commonService.iskeyAvaillableInObj(Q[y],!1),"displayStatus","dateCreated","type"],[Mt,"desc","desc"]),dt=et(st,y)):tt?(!T&&0===P.filter(Q=>"Open"===Q.displayStatus).length&&P.push({displayStatus:"Open"}),!S&&0===P.filter(Q=>"Closed"===Q.displayStatus).length&&P.push({displayStatus:"Closed"}),dt=et(P,y)):tt||lt||ht?dt=[]:(!z&&0===P.filter(Q=>"lessThan90"===Q.olderThan90).length&&P.push({olderThan90:"lessThan90",dateCreated:new Date(864e13)}),!H&&0===P.filter(Q=>"olderThan90"===Q.olderThan90).length&&P.push({olderThan90:"olderThan90",dateCreated:null}),dt=et(P,y))),{openStatusExists:T,closedStatusExists:S,olderthan90Exists:H,lessthan90exists:z,swCaseTypeExists:q,hwCaseTypeExists:!1,sortByStatus:tt,sortByProduct:lt,allCasesData:st,sortedCases:dt,sortByCaseType:ht}}caseLookup(P){const y=this.commonService.getUTCOffset();return this.http.post(`/wcc-services/profile/cases/serviceorder-search?offset=${y}`,P).pipe((0,m.T)(f=>{let v,T,S;return f&&f.data&&200===f.code?(v=!1,T=this.caseTransformService.transformObj(f.data.case,this.allTranslations),S=T.caseDetail.caseID,{code:200,noCasesFound:v,caseDetailsData:T,caseId:S}):f&&204===f.code?(v=!0,{code:204,noCasesFound:v}):f&&403===f.code?{code:403}:void 0}))}getCasesForDevice(P,y){return this.http.get(`/wcc-services/profile/cases/device/${P}?offset=${y}`).pipe((0,m.T)(f=>{let v;if(f&&f.data&&200===f.code){v=!1;const S=(0,k.A)(f.data.cases,H=>{const z=this.commonService.getDaydiff(H.dateCreated),q=Object.assign({},H);return q.dayDiff=z,q});return{code:f.code,serviceUnavailable:v,allCases:S}}return f&&f.code&&403===f.code?{code:f.code}:f&&f.code&&(406===f.code||500===f.code)?(v=!0,{code:f.code,serviceUnavailable:v}):(v=!0,{status:"error",serviceUnavailable:v})}))}getCaseTypeSorted(P,y,f){return P.forEach(v=>{"SW Delivery"===v.type&&v.hasOwnProperty("caseId")&&(y=!0),"HW Delivery"===v.type&&v.hasOwnProperty("caseId")&&(f=!0)}),!y&&0===P.filter(v=>"SW Delivery"===v.type).length&&P.push({type:"SW Delivery"}),!f&&0===P.filter(v=>"HW Delivery"===v.type).length&&P.push({type:"HW Delivery"}),P}static{this.\u0275fac=function(y){return new(y||N)(at.KVO(E.b),at.KVO(B.k),at.KVO(L.h),at.KVO(J.G),at.KVO(W.q))}}static{this.\u0275prov=at.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},12892(ot,V,s){s.d(V,{I:()=>Z});var D=s(86763),l=s(75797),m=s(84205),$=s(43942),k=s(70271),O=s(33900),g=s(85240),h=s(93683),u=s(12481),p=s(19885),R=s(60480),e=s(9303),w=s(20572),x=s(8130);function t(P,y){1&P&&u.nrm(0,"img",2)}let I=(()=>{class P{onResize(){this.resolutionBaseDisplay()}constructor(f,v,T,S,H){this.pageService=f,this.commonService=v,this.windowRef=T,this.modalService=S,this.appSelectorStore=H,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,g.vPA)({}),this.targetUrl=(0,g.vPA)(""),this.largeDevice=(0,g.vPA)(!1),this.smallDevice=(0,g.vPA)(!1),this.destroySubject$=new m.B,this.window=this.windowRef.nativeWindow}closeModal(){this.modalService.dismissAll()}resolutionBaseDisplay(){const f=this.commonService.resolutionBaseDisplay();this.largeDevice.set(f._largedevice),this.smallDevice.set(f._smallDevice)}continueToProfile(){this.closeModal(),this.window&&this.window?.open(this.targetUrl(),"_blank")}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,O.Q)(this.destroySubject$)).subscribe(f=>this.allTranslations.set(f)),this.resolutionBaseDisplay()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(v){return new(v||P)(u.rXU(p.b),u.rXU(R.h),u.rXU(e.$),u.rXU(w.Bq),u.rXU(x.q))}}static{this.\u0275cmp=u.VBU({type:P,selectors:[["app-profile-modal"]],hostBindings:function(v,T){1&v&&u.bIt("resize",function(){return T.onResize()},u.tSv)},decls:20,vars:8,consts:[["aria-modal","true","role","dialog","aria-describedby","profile-modal-content",1,"profile-modal",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close","id","Modal_Profile_warning_X_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],["id","profile-modal-content",3,"ngClass"],[1,"profile-modal-text"],[1,"btns"],["id","Modal_Profile_warning_Remove_btn","ngbAutofocus","",1,"continue-profile-btn","primary-button",3,"click"],["id","Modal_Profile_warning_Cancel_bt
1n",1,"cancelBtn","secondary-btn",3,"click"]],template:function(v,T){if(1&v&&(u.j41(0,"div",0)(1,"div",1),u.nVh(2,t,1,0,"img",2),u.j41(3,"h3",3),u.EFF(4),u.k0s(),u.j41(5,"button",4),u.bIt("click",function(){return T.closeModal()}),u.j41(6,"span",5),u.EFF(7,"\xd7"),u.k0s()()(),u.j41(8,"div",6)(9,"div",7)(10,"p"),u.EFF(11),u.k0s(),u.j41(12,"p"),u.EFF(13),u.k0s()(),u.nrm(14,"div"),u.j41(15,"div",8)(16,"button",9),u.bIt("click",function(){return T.continueToProfile()}),u.EFF(17),u.k0s(),u.j41(18,"button",10),u.bIt("click",function(){return T.closeModal()}),u.EFF(19),u.k0s()()()()),2&v){let S,H,z;u.Y8G("ngClass","rtl"===(null==(S=T.pageConfig())?null:S.languageDirection)?"rtl":"ltr"),u.R7$(2),u.vxM(null!=(H=T.pageConfig())&&H.isMobile||!T.largeDevice()?-1:2),u.R7$(2),u.JRh(T.allTranslations()["#pps_WCC_FS_Profile_Modal_Heading"]),u.R7$(4),u.Y8G("ngClass",null!=(z=T.pageConfig())&&z.isTablet?"tablet modal-body secondary-content":"nonTablet modal-body secondary-content"),u.R7$(3),u.SpI(" ",T.allTranslations()["#pps_WCC_FS_Profile_Modal_Content_1"]," "),u.R7$(2),u.SpI(" ",T.allTranslations()["#pps_WCC_FS_Profile_Modal_Content_2"]," "),u.R7$(4),u.JRh(T.allTranslations()["#pps_WCC_FS_Profile_Modal_Continue_Button_Text"]),u.R7$(2),u.SpI(" ",T.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"])}},dependencies:[h.YU],styles:['.profile-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{height:auto}.profile-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{color:#000}.modal-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:15px;font-family:HPSimplified;font-size:16px;line-height:1.13;color:#000}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{right:81px}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]   span#close-icon[_ngcontent-%COMP%]{left:5px}@media only screen and (max-width:800px){.profile-modal[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:0!important;margin-top:8px}.profile-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]{min-height:65px}.profile-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:30px}.profile-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-bottom:30px}.profile-modal[_ngcontent-%COMP%]   .continue-profile-btn[_ngcontent-%COMP%]{margin-bottom:22px}.profile-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:13px 20px 10px!important;margin-top:2px}.profile-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:0}#profile-modal-content[_ngcontent-%COMP%]   .profile-modal-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{padding-bottom:20px}.rtl[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   #modal-heading[_ngcontent-%COMP%]{right:20px}}@media(min-width:801px){.profile-modal[_ngcontent-%COMP%]   #profile-modal-content[_ngcontent-%COMP%]{padding:40px}.profile-modal[_ngcontent-%COMP%]   #profile-modal-content[_ngcontent-%COMP%]   .profile-modal-text[_ngcontent-%COMP%]{max-width:722px;min-height:173px;padding-top:0}.profile-modal[_ngcontent-%COMP%]   .continue-profile-btn[_ngcontent-%COMP%]{margin-right:30px}.profile-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:flex-end;padding-bottom:30px}}.modal-header[_ngcontent-%COMP%]{height:74px;padding:12px 12px 12px 14px;border-width:2px}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:18px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:38px;color:#767676}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:hover{background-color:transparent}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{border:1px solid #0096D6}#profile-modal-content[_ngcontent-%COMP%]   .profile-modal-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;color:#000;line-height:22px}.modal-content[_ngcontent-%COMP%]{color:#000;border-radius:0!important}.modal-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000;padding-bottom:0;margin-bottom:0;line-height:22px;word-break:break-word}#close-icon[_ngcontent-%COMP%]{position:relative;top:6px;left:-5px;width:18px;height:18px}.modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}.cancelBtn[_ngcontent-%COMP%]{border:1px solid #0096D6;height:40px;text-align:center;font-family:HPSimplified;font-size:16px;font-weight:400;color:#0096d6;background:#fff}.continue-profile-btn[_ngcontent-%COMP%]{height:40px;font-family:HPSimplified;font-size:16px;background:#0171ad}@media only screen and (max-width:1024px)and (min-width:801px){.profile-modal[_ngcontent-%COMP%]   .continue-profile-btn[_ngcontent-%COMP%]{margin-right:30px;margin-bottom:0}.profile-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:row}}']})}}return P})();var j=s(97965),K=Object.prototype.hasOwnProperty;const X=function et(P,y){return null!=P&&K.call(P,y)};var at=s(14924);var L=s(47484),J=s(91018),W=s(4804),Y=s(72926),N=s(10420);let Z=(()=>{class P{constructor(f,v,T,S,H,z,q,nt){this.seoService=f,this.http=v,this.commonService=T,this.modalService=S,this.globalDataLayerService=H,this.authService=z,this.printerSetupService=q,this.pageService=nt,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.tabDataSub=new l.t([]),this.showDeviceError=new l.t({}),this.destroySubject$=new m.B}updateMetaInfo(f){this.seoService.setTitle(f["#pps_WCC_FS_Dashboard_MetaTag_Title"]),this.seoService.updateMetaTagIndex("noindex, nofollow")}getTabData(f){const v=`wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_dashboard_navmenu`;return this.http.get(v).pipe((0,k.T)(T=>{if(T&&T.data){let S=T.data;return!0===f||(S=(0,j.A)(S,H=>"optional"!==H.type)),S}}))}
1getWelcomeBannerText(f,v){let T;return f&&f.lastName&&(T="jp"===this.pageConfig().cc||"kr"===this.pageConfig().cc?`${v["#pps_WCC_FS_Dashboard_Hi"]} ${f.lastName} ${f.firstName} ${v["#pps_WCC_FS_HomeHP_Logged_In_Welcome_San"]} ${v["#pps_WCC_FS_Dashboard_Welcome"]}`:`${v["#pps_WCC_FS_Dashboard_Hi"]} ${f.firstName}! ${v["#pps_WCC_FS_Dashboard_Welcome"]}`),T}initializeCCLC(){const{cc:f,lc:v,isMobile:T}=this.pageConfig(),S=this.commonService.getUTCOffset();this.deviceListAPI=`/wcc-services/profile/devices/all?login=false&cc=${f}&lc=${v}&offset=${S}&isMobile=${T}`}checkForAvailableData(f){return this.initializeCCLC(),new $.c(v=>{let T=nt=>{v.next(nt),v.complete()},S=(nt,tt)=>{this.commonService.devicesDataSub.pipe((0,O.Q)(this.destroySubject$)).subscribe(lt=>{if(lt.data&&lt.data.deviceList&&lt.data.deviceList.length&&200===lt.code){const st=(0,j.A)(lt.data.deviceList,{serialNumber:nt});st&&st.length&&function E(P,y){return null!=P&&(0,at.A)(P,y,X)}(st[0],"productNameOID")&&st[0].productNameOID&&st[0].productNameOID.length?T({status:"available",data:{productNameOID:st[0].productNameOID,productNumber:tt}}):T({status:"productNameOid not available"})}else T({status:"device list error"})},lt=>{T({status:"device list error"})})},H=nt=>{const tt=nt?.altProductNumber||nt?.productNumber||"";let lt={cc:this.pageConfig().cc,lc:this.pageConfig().lc,serialNumber:nt?.serialNumber,productNumber:tt,displayProductNumber:nt?.productNumber||nt?.altProductNumber||"",nickName:""};this.commonService.addDevice(lt).pipe((0,O.Q)(this.destroySubject$)).subscribe(st=>{if(st&&st?.data?.deviceId){let dt=f.productNameOID;dt?T({status:"available",data:{productNameOID:dt,productNumber:tt}}):S(nt?.serialNumber,tt)}else T(st&&st?.data?.FaultItemList&&st?.data?.FaultItemList.length>0?{status:"could not re-add device"}:{status:"unknown error"})},st=>{T({status:"unknown error"})})},z=!0;if(["serialNumber","productNumber","productNameOID"].forEach(nt=>{(!(nt in f)||!f[nt])&&(z=!1)}),z)T({status:"available",data:{}});else{""!==(f.serialNumber?f.serialNumber:"")?""!==(f?.altProductNumber||f.productNumber||"")?H(f):T({status:"product number not available"}):T({status:"serial number not available"})}})}openProfileModal(f,v){this.modalService.open(I,{windowClass:"profile-modal",ariaLabelledBy:"modal-heading",size:"lg"}).componentInstance.targetUrl.set(v)}getUserDeviceList(f,v,T,S){const H=this.globalDataLayerService.getLocalstorageGlobalData();H&&H.Dashboard&&H.Dashboard.Products&&0!==H.Dashboard.Products.length?this.printerSetupService.userDeviseList.next(H.Dashboard.Products):this.http.get(`/wcc-services/profile/devices/all?login=false&cc=${f}&lc=${v}&offset=${T}&isMobile=${S}`).pipe((0,O.Q)(this.destroySubject$)).subscribe(z=>{z.data&&z.data.deviceList&&200===z.code?this.printerSetupService.userDeviseList.next(z.data):z&&z.code&&403===z.code&&(this.authService.userDataSub.next({state:"sessionExpired"}),this.authService.logoutSub())})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(v){return new(v||P)(g.KVO(L.F),g.KVO(J.k),g.KVO(R.h),g.KVO(w.Bq),g.KVO(W.a),g.KVO(Y.u),g.KVO(N.H),g.KVO(p.b))}}static{this.\u0275prov=g.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})()},10420(ot,V,s){s.d(V,{H:()=>$});var D=s(84205),l=s(75797),m=s(85240);let $=(()=>{class k{constructor(){this.showOSSelectionModal=new D.B,this.userDeviseList=new l.t({}),this.currentPageRoute=new l.t({}),this.navigateToPSFromDashboard=!1,this.destroySubject$=new D.B}ngOnDestroy(){this.destroySubject$.next()}getOSModalConfig(){return this.showOSSelectionModal.asObservable()}getUserDeviceList(){return this.userDeviseList.asObservable()}getCurrentPageRoute(){return this.currentPageRoute.asObservable()}static{this.\u0275fac=function(h){return new(h||k)}}static{this.\u0275prov=m.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},8679(ot,V,s){s.d(V,{N:()=>et});var D=s(86763),l=s(43942),m=s(84205),$=s(75797),k=s(61873),O=s(85237),g=s(97965),h=s(93551),u=s(65644),p=s(39422),R=s(61585),e=s(64334),w=s(33900),x=s(85240),t=s(19885),I=s(60480),j=s(4804),A=s(60809),K=s(72926);let et=(()=>{class X{constructor(E,B,L,J,W){this.pageService=E,this.commonService=B,this.globalDataService=L,this.loaderService=J,this.authService=W,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.devicesLimit=20,this.deviceSub=new $.t({}),this.$deviceSub=this.deviceSub.asObservable(),this.destroySubject$=new m.B}ngOnDestroy(){this.destroySubject$.next()}getDeviceData(E,B){const L=B||this.devicesLimit;return new l.c(J=>{this.commonService.getDevicesData({params:{startIndex:E,limit:L}}).pipe((0,w.Q)(this.destroySubject$)).subscribe(W=>{W?.dataLoded?(J.next(W),J.complete()):W?.error&&(J.error(W),J.complete())})})}getAllDevices(){return new l.c(E=>{this.getDeviceData(0).pipe((0,e.s)(1)).subscribe(B=>{let L=(0,O.A)(B),J=(0,p.A)(L,"code","data");const W=L.data.deviceCount;
1if(L&&403!==L.code&&L.data&&W>this.devicesLimit){const Y=Math.ceil(W/this.devicesLimit);let N=L.data.deviceList;this.loaderService.loadingText=this.loadingText;const Z=[];for(let P=1;P<Y;P++){const f=this.getDeviceData(P*this.devicesLimit,this.devicesLimit).pipe((0,w.Q)(this.destroySubject$));Z.push(f)}(0,k.p)(Z).subscribe(P=>{P.forEach(y=>{y?.dataLoded&&y?.data?.deviceList&&N.push(...y.data.deviceList)}),J.data.deviceList=N,this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(N)}),this.deviceSub.next(J),E.next(J),E.complete()},P=>{E.error(P)})}else this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(J?.data?.deviceList||[])}),this.deviceSub.next(J),E.next(J),E.complete()},B=>{E.error(B)})})}setLoadingText(E){this.loadingText=E}populateGDLForDashboard(E){let B={SubscriptionServices:""};this.authService.userDataSub.pipe((0,w.Q)(this.destroySubject$)).subscribe(W=>{W&&!(0,h.A)(W)&&!0===W.smartFriend&&(B.SubscriptionServices="SmartFriend")}),B.NoOfDevices=E?.length,B.Products=(0,u.A)(E,W=>(0,p.A)(W,"productLine","productNumber","productName","productNameOID","subscriptionServices","deviceId","productSeriesName","productSeriesOID","serialNumber","productType"));let L=(0,g.A)(E,W=>!!W.subscriptionServices),J=(0,u.A)(L,W=>W.subscriptionServices);return J=(0,R.A)(J.join().split(",")),B.SubscriptionServices=B.SubscriptionServices.length?`${J.join()},${B.SubscriptionServices}`:J.join(),B}static{this.\u0275fac=function(B){return new(B||X)(x.KVO(t.b),x.KVO(I.h),x.KVO(j.a),x.KVO(A.s),x.KVO(K.u))}}static{this.\u0275prov=x.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},72214(ot,V,s){s.d(V,{CasesRoutes:()=>Vn,DashboardRoutes:()=>Wn,MyDeviceRoutes:()=>Un});var D=s(86763),l=s(85240),m=s(24938),$=s(84205),k=s(33900),O=s(8679),g=s(65644),h=s(76607),u=s(4221),p=s(96114),R=s(7893),e=s(37580),w=s(93683),x=s(49074),t=s(12481),I=s(19885),j=s(20572),A=s(9303),K=s(8130);function et(i,M){1&i&&t.nrm(0,"img",3)}function X(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"],": "),t.R7$(2),t.JRh(n.device().serialNumber)}}function at(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_NicknameText"],": "),t.R7$(2),t.JRh(n.device().nickName)}}function E(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1,"Product Name: "),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.device().productName)}}function B(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",0)(1,"div",2),t.nVh(2,et,1,0,"img",3),t.j41(3,"h3",4),t.EFF(4),t.k0s(),t.j41(5,"button",5),t.bIt("keyup.enter",function(r){return l.eBV(n),t.XpG().dismissModal(r),l.Njj(r.stopPropagation())})("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.closeModal())}),t.j41(6,"span",6),t.EFF(7,"\xd7"),t.k0s()()(),t.j41(8,"div",7)(9,"div",8)(10,"p",9),t.EFF(11),t.k0s(),t.j41(12,"div",10)(13,"p"),t.EFF(14),t.k0s(),t.nVh(15,X,4,2,"p"),t.nVh(16,at,4,2,"p"),t.nVh(17,E,4,1,"p"),t.k0s(),t.j41(18,"div",11)(19,"button",12),t.bIt("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.reAddDevice())}),t.EFF(20),t.k0s(),t.j41(21,"button",13),t.bIt("keyup.enter",function(r){return l.eBV(n),t.XpG().dismissModal(r),l.Njj(r.stopPropagation())})("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.closeModal())}),t.EFF(22),t.k0s()()()()()}if(2&i){const n=t.XpG();t.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":"ltr"),t.R7$(2),t.vxM(n.pageConfig().isMobile?-1:2),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Heading"]),t.R7$(7),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Content_1"]," "),t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Content_2"]),t.R7$(),t.vxM(n.device().serialNumber?15:-1),t.R7$(),t.vxM(n.device().nickName?16:-1),t.R7$(),t.vxM(n.device().productName?17:-1),t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Add_Product_Text"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"])}}function L(i,M){1&i&&(t.j41(0,"div",14),t.nrm(1,"img",16),t.k0s())}function J(i,M){1&i&&(t.j41(0,"h1"),t.EFF(1,"Sorry..."),t.k0s())}function W(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"],": "),t.R7$(2),t.JRh(n.device().serialNumber)}}function Y(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_NicknameText"],": "),t.R7$(2),t.JRh(n.device().nickName)}}function N(i,M){if(1&i&&(t.j41(0,"p"),t.EFF(1,"Product Name: "),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.device().productName)}}function Z(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",1),t.nVh(1,L,2,0,"div",14),t.j41(2,"div",8),t.nVh(3,J,2,0,"h1"),t.j41(4,"p",9),t.EFF(5),t.k0s(),t.j41(6,"div",10),t.nVh(7,W,4,2,"p"),t.nVh(8,Y,4,2,"p"),t.nVh(9,N,4,1,"p"),t.k0s(),t.j41(10,"div",11)(11,"button",12),t.bIt("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.reAddDevice())}),t.EFF(12),t.k0s(),t.j41(13,"button",15),t.bIt("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.closeErrorModal())}),t.EFF(14),t.k0s()()()()}if(2&i){const n=t.XpG();t.R7$(),t.vxM(n.pageConfig().isMobile?-1:1),t.R7$(2),t.vxM(n.pageConfig().isMobile?-1:3),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Content_1"]," "),t.R7$(2),t.vxM(n.device().serialNumber?7:-1),t.R7$(),t.vxM(n.device().nickName?8:-1),t.R7$(),t.vxM(n.device().productName?9:-1),t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Re_Add_Modal_Add_Product_Text"]),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"])}}let P=(()=>{class i{constructor(n,a,r,_,F){this.pageService=n,this.modalService=a,this.windowRef=r,this.appSelectorStore=_,this.destroyRef=F,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,l.vPA)({}),this.isModal=(0,e.geq)(null),this.device=(0,e.geq)(null),this.notifyParent=(0,e.CGW)(),this.window=(0,l.vPA)(null),this.window.set(this.windowRef.nativeWindow)}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,x.pQ)(this.destroyRef)).subscribe(n=>this.allTranslations.set(n))}closeErrorModal(){this.modalService.dismissAll()}dismissModal(n){n.currentTarget||(this.notifyParent.emit("don't trigger"),this.modalService.dismissAll())}closeModal(){this.modalService.dismissAll()}reAddDevice(){this.window()&&(this.window().location.href=`/${this.pageConfig().locale}/add-device`)}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(I.b),t.rXU(j.Bq),t.rXU(A.$),t.rXU(K.q),t.rXU(l.abz))}}
1static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-re-add-product"]],inputs:{isModal:[1,"isModal"],device:[1,"device"]},outputs:{isModal:"isModalChange",device:"deviceChange",notifyParent:"notifyParent"},decls:2,vars:2,consts:[["aria-describedby","readd-modal-content","aria-modal","true","role","dialog",1,"delete-device-modal",3,"ngClass"],[1,"container"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading","id","readd-modal-content",1,"modal-title"],["type","button","id","Modal_ReAdd_device_X_btn","aria-label","Close",1,"close",3,"keyup.enter","click"],["id","close-icon","aria-hidden","true"],[1,"modal-body","add-product-error"],[1,"right-container"],[1,"error-text"],[1,"details"],[1,"btn-container"],["id","Modal_ReAdd_device_Remove_btn",1,"add-btn","primary-button",3,"click"],["id","Modal_ReAdd_device_Cancel_btn",1,"cancel-btn","secondary-btn",3,"keyup.enter","click"],[1,"left-container"],["id","Modal_ReAdd_device_Cancel_btn",1,"cancel-btn","secondary-btn",3,"click"],["src","/wcc-assets/images/alerts_Error.png","alt","error_img"]],template:function(a,r){1&a&&(t.nVh(0,B,23,10,"div",0),t.nVh(1,Z,15,8,"div",1)),2&a&&(t.vxM(r.isModal()?0:-1),t.R7$(),t.vxM(r.isModal()?-1:1))},dependencies:[w.YU],styles:["h1[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;margin-bottom:30px}.container[_ngcontent-%COMP%]{display:flex;margin-top:30px;margin-bottom:180px}.left-container[_ngcontent-%COMP%]{width:50%}.left-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:155px;height:155px}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-top:10px;margin-left:10px;font-family:HPSimplifiedRegular}.close[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:100}.btn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:25px;margin-bottom:30px}.btn-container[_ngcontent-%COMP%]   .add-btn[_ngcontent-%COMP%]{margin-right:30px;font-size:16px;font-family:HPSimplifiedRegular}.btn-container[_ngcontent-%COMP%]   .cancel-btn[_ngcontent-%COMP%]{border:1px solid #0096D6;font-size:16px;border-radius:2px;color:#0096d6;background:#fff;font-family:HPSimplifiedRegular}.error-text[_ngcontent-%COMP%]{font-size:24px;font-family:HPSimplifiedLight;color:#bf2026;line-height:30px;margin-bottom:30px}.modal-body[_ngcontent-%COMP%]{margin:20px}.details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:24px;margin-bottom:3px;line-height:1;color:#000;font-family:HPSimplifiedRegular;line-height:30px}.details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.modal-body.add-product-error[_ngcontent-%COMP%]{padding:20px}.modal-body.add-product-error[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{font-size:16px;margin-bottom:20px;line-height:22px}.modal-body.add-product-error[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{margin-bottom:40px}.modal-body.add-product-error[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;line-height:22px}.modal-body.add-product-error[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]{justify-content:flex-end}.modal-body.add-product-error[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:16px;font-family:HPSimplified}@media only screen and (max-width:800px){button[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}.container[_ngcontent-%COMP%]{margin-top:60px}.btn-container[_ngcontent-%COMP%]{flex-direction:column;margin-bottom:0}.btn-container[_ngcontent-%COMP%]   .add-btn[_ngcontent-%COMP%]{margin-bottom:20px}.error-text[_ngcontent-%COMP%], .details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}.modal-header[_ngcontent-%COMP%]{padding-bottom:30px}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:0}.modal-body[_ngcontent-%COMP%]{margin:0 0 30px}}"]})}}return i})();var y=s(23111),f=s(93551),v=s(78808),T=s(12892),S=s(72926),H=s(4804),z=s(11439),q=s(60480);const nt=i=>({active:i});function tt(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",11)(1,"a",12),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(3);return l.Njj(_.tabNavigation(r))}),t.nrm(2,"img",13)(3,"br"),t.j41(4,"span",14),t.EFF(5),t.k0s()()()}if(2&i){const n=M.$implicit,a=t.XpG(3);t.R7$(),t.Y8G("title",t.mNQ(null==n?null:n.image1Desc))("id",t.mNQ(null==n?null:n.elementId))("globalLink",a.getRedirectUrl(n))("isVoidLink",!0)("linkTarget",null==n?null:n.linkTarget)("ngClass",t.eq3(12,nt,a.activeTabValue()===(null==n?null:n.image1Desc))),t.R7$(),t.Y8G("alt",t.mNQ(null==n?null:n.image1Desc))("src",null==n?null:n.imagePath1,t.B4B),t.R7$(3),t.SpI(" ",null==n?null:n.image1Desc," ")}}function lt(i,M){if(1&i&&(t.j41(0,"div",7),t.Z7z(1,tt,6,14,"div",11,t.fX1),t.nI1(3,"orderBy"),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Dyx(t.i5U(3,0,n.tabData(),"order"))}}function st(i,M){if(1&i&&(t.j41(0,"p",21),t.EFF(1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.JRh(n.activeTabValue())}}function dt(i,M){if(1&i&&(t.j41(0,"p",22),t.EFF(1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Mobile_Nav_Text"])}}function ht(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){l.eBV(n);const r=t.XpG(2);return l.Njj(r.toggleMenu())}
1),t.j41(1,"p",16)(2,"span",17),t.nrm(3,"span",18)(4,"span",19)(5,"span",20),t.k0s()(),t.nVh(6,st,2,1,"p",21),t.nVh(7,dt,2,1,"p",22),t.k0s()}if(2&i){const n=t.XpG(2);t.Y8G("ngClass",n.mobileNavVisible()?"change":" "),t.R7$(6),t.vxM(n.mobileNavVisible()?-1:6),t.R7$(),t.vxM(n.mobileNavVisible()?7:-1)}}function Mt(i,M){if(1&i){const n=t.RV6();t.j41(0,"li",23)(1,"a",24),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(3);return l.Njj(_.activeNavMob(r))}),t.j41(2,"span",14),t.EFF(3),t.k0s()()()}if(2&i){const n=M.$implicit,a=t.XpG(3);t.R7$(),t.Y8G("title",t.mNQ(null==n?null:n.image1Desc))("id",t.mNQ(null==n?null:n.elementId))("globalLink",a.getRedirectUrl(n))("isVoidLink",!0)("linkTarget",null==n?null:n.linkTarget)("ngClass",t.eq3(9,nt,a.activeTabValue()===(null==n?null:n.image1Desc))),t.R7$(2),t.SpI(" ",null==n?null:n.image1Desc," ")}}function Q(i,M){if(1&i&&(t.j41(0,"ul",9),t.Z7z(1,Mt,4,11,"li",23,t.fX1),t.nI1(3,"orderBy"),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Dyx(t.i5U(3,0,n.tabData(),"order"))}}function $t(i,M){if(1&i&&t.nrm(0,"app-suggested-services",27),2&i){const n=t.XpG(3);t.Y8G("data",n.ssrData())("heading",n.ssrHeading())}}function jt(i,M){if(1&i&&(t.j41(0,"div",10)(1,"div",25)(2,"div",3)(3,"div",4)(4,"div",26),t.nrm(5,"router-outlet"),t.k0s()()()(),t.nVh(6,$t,1,2,"app-suggested-services",27),t.j41(7,"div",28),t.nrm(8,"div",29),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(6),t.vxM(n.isUserLoggedIn()?6:-1)}}function It(i,M){if(1&i&&(t.j41(0,"div",0)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"h1"),t.EFF(6),t.k0s(),t.j41(7,"h3"),t.EFF(8),t.k0s()(),t.j41(9,"div",6),t.nVh(10,lt,4,3,"div",7),t.k0s(),t.nVh(11,ht,8,3,"div",8),t.nVh(12,Q,4,3,"ul",9),t.k0s()()(),t.nrm(13,"div"),t.nVh(14,jt,9,1,"div",10),t.k0s()),2&i){const n=t.XpG();t.R7$(6),t.JRh(n.welcomeBannerText()),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_ManageDevices"]),t.R7$(),t.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl-dashboard-nav":""),t.R7$(),t.vxM(!n.pageConfig().isMobile&&n.showDesk()?10:-1),t.R7$(),t.vxM(n.pageConfig().isMobile||n.showMob()?11:-1),t.R7$(),t.vxM(n.mobileNavVisible()?12:-1),t.R7$(2),t.vxM(n.isUserLoggedIn()?14:-1)}}function Nt(i,M){if(1&i&&t.nrm(0,"app-re-add-product",1),2&i){const n=t.XpG();t.Y8G("isModal",!1)("device",n.deviceData())}}function Lt(i,M){1&i&&t.nrm(0,"app-session-timeout")}let At=(()=>{class i{onResize(){this.resolutionBaseDisplay()}constructor(n,a,r,_,F,G,ct,pt,mt,ut,Ct){this.dashboardService=n,this.authService=a,this.windowRef=r,this.router=_,this.globalDataLayerService=F,this.devicesService=G,this.pageService=ct,this.ssrService=pt,this.store=mt,this.appSelectorStore=ut,this.commonService=Ct,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,l.vPA)({}),this.welcomeBannerText=(0,l.vPA)(""),this.authData=(0,l.vPA)(null),this.isUserLoggedIn=(0,l.vPA)(!1),this.showDeviceError=(0,l.vPA)(!1),this.smartFriendSubscriptionStatus=(0,l.vPA)(!1),this.ssrData=(0,l.vPA)(null),this.minOptions=3,this.maxOptions=5,this.ssrHeading=(0,l.vPA)(""),this.tabData=(0,l.vPA)(null),this.activeTabValue=(0,l.vPA)(""),this.showMob=(0,l.vPA)(!1),this.mobileNavVisible=(0,l.vPA)(!1),this.showDesk=(0,l.vPA)(!1),this.deviceData=(0,l.vPA)(null),this.deviceCount=(0,l.vPA)(0),this.caseCount=(0,l.vPA)(0),this.tabDataFetched=!1,this.termbaseFetched=!1,this.deviceCheckInitialized=!1,this.destroySubject$=new $.B,this.window=this.windowRef.nativeWindow,(0,D.QZ)(()=>{const Pt=this.authService._userData(),ft=this.authService.isUserLoggedIn();(0,D.O8)(()=>{this.isUserLoggedIn.set(ft),!(0,f.A)(Pt)&&(this.authData.set(Pt),ft&&(this.deviceCheckInitialized||(this.deviceCheckInitialized=!0,this.checkDeviceAndCaseCountAndRedirect()),this.smartFriendSubscriptionStatus.set(Pt.smartFriend),this.tabDataFetched||(this.tabDataFetched=!0,this.getTabData())),this.updateGDLWith(Pt,ft),this.termbaseFetched||(this.termbaseFetched=!0,this.getTermbase()))})})}ngOnInit(){this.globalDataLayerService.updateGDL({Flag:{dashboardVisited:!0}},!0),this.setupPage(),this.getSSRData(),this.resolutionBaseDisplay()}setupPage(){const{cc:n,lc:a}=this.pageConfig();this.pageService.loadCountrySpecificFontsAndStyles(this.commonService.getSanitizedUrl(`https://support.hp.com/${n}-${a}/dashboard`)),this.store.dispatch(new u.Ax({})),this.appSelectorStore.fetchTranslations("dashboard"),this.dashboardService.showDeviceError.pipe((0,k.Q)(this.destroySubject$)).subscribe(_=>{_&&(this.showDeviceError.set(_.showDeviceError),this.deviceData.set(_.deviceData))})}getAciveMenuDesc(n){this.window&&(0,g.A)(n,a=>{this.window?.location?.pathname===`/${this.pageConfig().cc}-${this.pageConfig().lc}${a.link}`&&this.activeTabValue.set(a.image1Desc)})}resolutionBaseDisplay(){this.window&&(this.showMob.set(this.window?.innerWidth<=800),this.showDesk.set(!(this.window?.innerWidth<=800)))}getTermbase(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{this.allTranslations.set(n),this.dashboardService.updateMetaInfo(n),this.ssrHeading.set(this.allTranslations()["#pps_WCC_FS_Dashboard_SuggestedServices"]),this.authData()&&this.welcomeBannerText.set(this.dashboardService.getWelcomeBannerText(this.authData(),this.allTranslations()))})}getTabData(){this.dashboardService.getTabData(this.smartFriendSubscriptionStatus()).pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{this.tabData.set(n),this.getAciveMenuDesc(this.tabData())})}updateGDL(){this.updateGDLWith(this.authData(),this.isUserLoggedIn())}updateGDLWith(n,a){if(this.window){const r=!(!n||!n.customerId||!1===a);let _;_=r&&0===this.deviceCount()?"Dashboard_zero":this.window.location.pathname.includes("cases")?r?"Dashboard_Cases":"Dashboard_Cases_anonymous":r?"Dashboard_New":"Dashboard_anonymous",this.globalDataLayerService.updatePageTemplate(_)}}getSSRData(){this.ssrService.getServiceResourceData({url:`/wcc-services/cms-v2/contexual/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_dashboard_ssr_options`,minOptions:this.minOptions,maxOptions:this.maxOptions}).pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{n&&this.ssrData.set(n)})}checkDeviceAndCaseCountAndRedirect(){this.devicesService.$deviceSub.pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{if(n&&n.data&&(this.deviceCount.set(n.data.deviceCount),this.caseCount.set(n.data.caseCount),0===this.deviceCount())){this.updateGDL();const{cc:a,lc:r}=this.pageConfig();this.caseCount()>0&&this.router.navigate([`${a}-${r}/dashboard/cases`])}})}toggleMenu(){this.mobileNavVisible.set(!this.mobileNavVisible())}getRedirectUrl(n){if(this.window){const a=n.link;if("external"===n.linkTarget||"newTab"===n.linkTarget||"modal"===n.linkTarget){const r=this.window?.location,_={"{cc}":`${this.pageConfig().cc}`,"{lc}":`${this.pageConfig().lc}`,"{location}":`${r}`,"&amp;":"&"};let F=a.replace(/{cc}|{lc}|{location}|&amp;/gi,function(G){return _[G]});return F=this.commonService.getSanitizedUrl(F),F=this.commonService.isAbsoluteUrl(F)?this.commonService.isWhitelistedDomain(F)?F:"":this.commonService.getRelativeUrl(F),F}return`${this.pageConfig().cc}-${this.pageConfig().lc}/${a}`}}tabNavigation(n){this.window&&(["external","newTab","modal"].includes(n.linkTarget)||this.activeTabValue.set(n.image1Desc),"modal"===n.linkTarget&&"Dashboard_My_Profile"===n.elementId&&this.dashboardService.openProfileModal(this.allTranslations(),this.getRedirectUrl(n)))}activeNavMob(n){this.toggleMenu(),this.tabNavigation(n)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(T.I),t.rXU(S.u),t.rXU(A.$),t.rXU(m.Ix),t.rXU(H.a),t.rXU(O.N),t.rXU(I.b),t.rXU(h.t),t.rXU(z.il),t.rXU(K.q),t.rXU(q.h))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-dashboard"]],hostBindings:function(a,r){1&a&&t.bIt("resize",function(){return r.onResize()},t.tSv)},features:[t.Jv_([O.N,h.t])],decls:3,vars:3,consts:[[1,"dashboard"],[3,"isModal","device"],[1,"dashboard-header"],[1,"container"],[1,"row"],[1,"col-lg-12","col-md-12","col-sm-12","col-12"],[1,"col-lg-12","col-md-12","col-sm-12","col-12",3,"ngClass"],[1,"dashboard-tab-container","visibilityLg"],[1,"dashboard-tab-sm",3,"ngClass"],[1,"mobile-nav"],[1,"dashboard-content-section"],[1,"col-lg-3","col-md-3"],[3,"click","title","id","globalLink","isVoidLink","linkTarget","ngClass"],[3,"src","alt"],["aria-hidden","true"],[1,"dashboard-tab-sm",3,"click","ngClass"],[1,"hamburger-container"],[1,"hamburger-menu"],[1,"bar1"],[1,"bar2"],[1,"bar3"],["id","active-menu-text"],[1,"dashboard-menu"],[1,"active-mobile-tab"],[3,"click","title","globalLink","isVoidLink","linkTarget","id","ngClass"],[1,"tabContent"],[1,"col-lg-12","col-md-12","col-sm-12","col-12","nopadding"],[3,"data","heading"],[1,"feedbackSectionContainer"],["id","dashboardFeedbackSection","tabindex","0","aria-label","Feedback section",1,"dashboard-footer"]],template:function(a,r){1&a&&(t.nVh(0,It,15,7,"div",0),t.nVh(1,Nt,1,2,"app-re-ad
1d-product",1),t.nVh(2,Lt,1,0,"app-session-timeout")),2&a&&(t.vxM(r.isUserLoggedIn()&&!r.showDeviceError()?0:-1),t.R7$(),t.vxM(r.showDeviceError()?1:-1),t.R7$(),t.vxM(r.authData()&&!r.isUserLoggedIn()?2:-1))},dependencies:[w.YU,m.n3,y.m,P,R.J,v.z,p.Q],styles:[".dashboard[_ngcontent-%COMP%]{background-color:#fafafa}a[_ngcontent-%COMP%]:hover{color:#0171ad}.dashboard-header[_ngcontent-%COMP%]{background-color:#f7f7f7;border-bottom:solid 1px #e8e8e8;font-family:HPSimplified}.dashboard-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px;font-weight:400;line-height:1.2;margin-top:30px;text-align:center;font-family:HPSimplified}.dashboard-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-align:center;font-weight:300;color:#767676;font-family:HPSimplifiedLight}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]{position:relative;left:-60px;margin-top:27px;width:100%;display:-ms-flexbox;-webkit-justify-content:flex-start;display:flex;justify-content:flex-start;align-items:center;padding-left:0}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:center!important;display:flow-root;flex:.26;-ms-flex:.26}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{text-align:center!important;flex:.26;-ms-flex:.26}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){flex:.26;-ms-flex:.26}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:relative;top:-1px;display:inline-block;text-align:center;padding:0}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-bottom:0;font-size:20px;color:#767676;margin-top:14px;display:inline-block;padding-bottom:10px;line-height:1;border-bottom:4px solid #f7f7f7}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{border-bottom:4px solid #0096D6;color:#0096d6}.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{border-bottom:4px solid #0171ad;color:#0171ad}.bar1[_ngcontent-%COMP%], .bar2[_ngcontent-%COMP%], .bar3[_ngcontent-%COMP%]{width:30px;height:2px;background-color:#0096d6;margin:6px 0;transition:.4s}.change[_ngcontent-%COMP%]   .bar1[_ngcontent-%COMP%]{transform:rotate(-45deg) translate(-5px,6px)}.change[_ngcontent-%COMP%]   .bar2[_ngcontent-%COMP%]{opacity:0}.change[_ngcontent-%COMP%]   .bar3[_ngcontent-%COMP%]{transform:rotate(45deg) translate(-5px,-7px)}@media only screen and (min-width:801px){.visibilityLg[_ngcontent-%COMP%]{display:block}.visibilityImg[_ngcontent-%COMP%]{display:inline-block!important}.dashboard[_ngcontent-%COMP%]{padding-bottom:50px}}.dashboard-tab-sm[_ngcontent-%COMP%]{height:50px;border:solid 1px #e8e8e8;width:100%;margin-top:24px;display:flex}.dashboard-tab-sm[_ngcontent-%COMP%]   .hamburger-menu[_ngcontent-%COMP%]{padding:10px 20px}.dashboard-tab-sm[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:center;font-family:HPSimplified;font-size:20px;color:#0096d6;line-height:50px}ul.mobile-nav[_ngcontent-%COMP%]{background-color:#fff;width:100%;text-align:center}ul.mobile-nav[_ngcontent-%COMP%]   li.active-mobile-tab[_ngcontent-%COMP%]{line-height:60px;border-bottom:1px solid #e8e8e8}ul.mobile-nav[_ngcontent-%COMP%]   li.active-mobile-tab[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;width:100%;text-align:center}ul.mobile-nav[_ngcontent-%COMP%]   li.active-mobile-tab[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{border-bottom:4px solid #0096D6}p#active-menu-text[_ngcontent-%COMP%]{width:100%;margin-left:50px;left:-25px;position:relative}.hamburger-container[_ngcontent-%COMP%]{position:absolute;z-index:2}.hamburger-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}.change[_ngcontent-%COMP%]   p.hamburger-container[_ngcontent-%COMP%]{position:relative}.dashboard-tab-sm.change[_ngcontent-%COMP%]{justify-content:center}@media only screen and (max-width:800px){.dashboard[_ngcontent-%COMP%]{padding-bottom:20px}.visibilityLg[_ngcontent-%COMP%], .visibilityImg[_ngcontent-%COMP%]{display:none!important}.dashboard-header[_ngcontent-%COMP%]{background-color:#f3f3f3}.dashboard-header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{width:70%;margin:20px auto 10px;color:#767676;line-height:1.13}.dashboard-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 auto;font-size:20px;line-height:1.3;width:70%}}@media(min-width:1200px){.container[_ngcontent-%COMP%]{max-width:1218px!important}.container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .nopadding[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}}.dashboard-header[_ngcontent-%COMP%]   .rtl-dashboard-nav[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]{padding-left:0;padding-right:55px}.dashboard-header[_ngcontent-%COMP%]   .rtl-dashboard-nav[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{text-align:right}.rtl[_ngcontent-%COMP%]   .dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]{padding-left:0;padding-right:55px}.rtl[_ngcontent-%COMP%]   .dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{text-align:right}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.dashboard-header[_ngcontent-%COMP%]   .dashboard-tab-container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{text-align:left}}"]})}}return i})(),Bt=(()=>{class i{constructor(n,a){this.auth=n,this.router=a}canLoad(){return this.auth.getAuthStatus().then(n=>"authenticated"===n.state||"sessionExpired"===n.state||(this.router.navigate([""]),!1))}static{this.\u0275fac=function(a){return new(a||i)(l.KVO(S.u),l.KVO(m.Ix))}}static{this.\u0275prov=l.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();
1var Wt=s(91746),Ut=s(43942),Vt=s(70271),Gt=s(26895),Xt=s(85237),Ht=s(39545),zt=s.n(Ht),xt=s(72990),Kt=s(9922),Jt=s(91018);let Dt=(()=>{class i{constructor(n,a,r,_,F,G,ct,pt,mt){this.pageService=n,this.router=a,this.authService=r,this.browserWrapperService=_,this.devicesService=F,this.dashboardService=G,this.commonService=ct,this.SEOLinkService=pt,this.http=mt,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new $.B}ngOnDestroy(){this.destroySubject$.next()}getCsvOptionsHeaders(n){return[` ${n["#pps_WCC_FS_Dashboard_SerialNumberText"]}`,` ${n["#pps_WCC_FS_Dashboard_Product_Number_Text"]}`,` ${n["#pps_WCC_FS_Dashboard_Product_Name_Text"]}`,` ${n["#pps_WCC_FS_Dashboard_NicknameText"]}`,` ${n["#pps_WCC_FS_Dashboard_Warranty_Start_Date_Text"]}`,` ${n["#pps_WCC_FS_Dashboard_Warranty_End_Date_Text"]}`,` ${n["#pps_WCC_FS_Dashboard_WarrantyText"]}`,` ${n["#pps_WCC_FS_Dashboard_CasesText"]}`,` ${n["#pps_WCC_FS_Dashboard_DateAddedText"]}`]}getSortedDevices(n,a,r,_){let F;return F=this.commonService.dataSorting(n,a,r,_),this.browserWrapperService.setSessionStorageItem("sortOption",a),this.browserWrapperService.setSessionStorageItem("sortDir",r),this.browserWrapperService.setSessionStorageItem("sortDate",_),F}sortDeviceData(n){let a,r,_;if(this.browserWrapperService.getSessionStorageItem("sortOption")&&this.browserWrapperService.getSessionStorageItem("sortDir")&&this.browserWrapperService.getSessionStorageItem("sortDate")){const F=this.browserWrapperService.getSessionStorageItem("sortDir"),G=this.browserWrapperService.getSessionStorageItem("sortDate");r=this.browserWrapperService.getSessionStorageItem("sortOption"),a=this.getSortedDevices(n,r,F,G),_="dateAdded"===this.browserWrapperService.getSessionStorageItem("sortOption")||"casesCount"===this.browserWrapperService.getSessionStorageItem("sortOption")?!F:F}else _=!0,a=(0,Gt.A)(n,F=>this.commonService.iskeyAvaillableInObj(F.dateAdded,!0),["desc"]),r="dateAdded";return{allDeviceData:a,column:r,isAscending:_}}getSeoLinkData(){const n={template:this.pageConfig().templateName,path:this.commonService.getPathFromRoute(),seriesoid:0,modeloid:0};this.SEOLinkService.getSeoLinkData(n)}devicesMatch(n,a){let r=!1;return n&&a&&(n.productId&&a.productSeriesOID?r=a.productSeriesOID===n.productId:n.printerSeriesSeo&&a.productSeriesName&&(r=a.productSeriesName.toLowerCase().replace(/ /g,"-")===n.printerSeriesSeo)),r}getDevicesData(){return new Ut.c(n=>{this.devicesService.getAllDevices().pipe((0,k.Q)(this.destroySubject$)).subscribe(a=>{let r,_,F,G,pt,mt,ut,ct="";if(r=!0,_=!1,a.data&&a.data.deviceList&&200===a.code)if(F=a.data.deviceCount,G=a.data.caseCount,ct=this.pageConfig().customerState,pt=a.data.deviceList,1===F&&G>=0)this.dashboardService.checkForAvailableData(a.data.deviceList[0]).pipe((0,k.Q)(this.destroySubject$)).subscribe(Ct=>{"available"===Ct.status?(ut=a.data.deviceList[0],n.next({status:"success",deviceData:ut,allDeviceData:pt,deviceList:a.data.deviceList,isAscending:r,serviceUnavailable:_,totalDevices:F,totalCases:G,customerState:ct})):localStorage.getItem("printerDetails")?this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/add-device`]):"unknown error"===a.status?n.next({status:"unknown error",allDeviceData:pt,deviceList:a.data.deviceList,isAscending:r,serviceUnavailable:_,totalDevices:F,totalCases:G,customerState:ct}):this.dashboardService.showDeviceError.next({showDeviceError:!0,deviceData:a.data.deviceList[0]})});else{const Ct=this.sortDeviceData(a.data.deviceList);mt=Ct.column,r=Ct.isAscending,pt=Ct.allDeviceData,n.next({status:"success",allDeviceData:pt,deviceList:a.data.deviceList,isAscending:r,column:mt,serviceUnavailable:_,totalDevices:F,totalCases:G,customerState:ct})}else a&&a.code&&403===a.code?(_=!1,n.next({code:403,status:"sessionExpired",serviceUnavailable:_}),this.authService.userDataSub.next({state:"sessionExpired"}),this.authService.logoutSub()):n.next(a&&a.code&&406===a.code?{code:406,status:"error"}:a&&a.code&&500===a.code?{code:500,status:"error"}:{status:"error"});n.complete()},a=>{n.next({status:"error"}),n.complete()})})}convertUTCdateFormat(n,a){return n&&n?zt()(n).format(a):""}downloadCSV(n){const a=this.commonService.getUTCOffset();return this.http.get(`/wcc-services/profile/cases/all?offset=${a}
1`).pipe((0,Vt.T)(r=>{if(r&&r.data){const _=r.data.cases,F=(0,Xt.A)(n);return F.forEach(G=>{G.cases="",G.warrantyStartDate=G.warrantyStartDate?this.convertUTCdateFormat(G.warrantyStartDate,"DD-MMM-YY"):"",G.warrantyEndDate=G.warrantyEndDate?this.convertUTCdateFormat(G.warrantyEndDate,"DD-MMM-YY"):"",G.dateAdded=G.dateAdded&&null!==G.dateAdded?this.commonService.convertDateForCSV(G.dateAdded):"",_.forEach(ct=>{ct.deviceId===G.deviceId&&(G.cases=""===G.cases?ct.caseId:G.cases+", "+ct.caseId)})}),F}}))}shfitKeyEventDeviceListHeader(n,a,r,_,F){a.lastElementChild===n.target.parentNode?n.target.parentNode.previousSibling&&"A"===n.target.parentNode.previousSibling.firstElementChild.tagName?setTimeout(()=>{n.target.parentNode.previousSibling.firstChild.focus()},0):setTimeout(()=>{r[_].focus()},0):setTimeout(()=>{F[0].focus()},0)}tabKeyEventDeviceListHeader(n,a,r,_,F){a.lastElementChild!==n.target.parentNode?n.target.parentNode.nextSibling&&"A"===n.target.parentNode.nextSibling.firstElementChild.tagName?setTimeout(()=>{n.target.parentNode.nextSibling.firstChild.focus()},0):setTimeout(()=>{r[_].focus()},0):setTimeout(()=>{F[0].focus()},0)}static{this.\u0275fac=function(a){return new(a||i)(l.KVO(I.b),l.KVO(m.Ix),l.KVO(S.u),l.KVO(xt.z),l.KVO(O.N),l.KVO(T.I),l.KVO(q.h),l.KVO(Kt.a),l.KVO(Jt.k))}}static{this.\u0275prov=l.jDH({token:i,factory:i.\u0275fac})}}return i})();var St=s(69133),yt=s(56770);const Yt={caseId:{label:"#pps_WCC_FS_Dashboard_CaseId",class:"case-id",sortable:!1},nickname_productName:{label:"#pps_WCC_FS_Dashboard_ProductText",class:"product-name",sortable:!0,isArrowVisible:!0},serialNumber:{label:"#pps_WCC_FS_Dashboard_SerialNumberText",class:"serial-number",sortable:!1},dateCreated:{label:"#pps_WCC_FS_Dashboard_DateCreated",class:"date-created",sortable:!0,isArrowVisible:!0},type:{label:"#pps_WCC_FS_Dashboard_CaseType",class:"case-type",sortable:!0,isArrowVisible:!0},displayStatus:{label:"#pps_WCC_FS_Dashboard_StatusText",class:"status",sortable:!0,isArrowVisible:!0}},Qt=["caseId","productName","serialNumber","dateCreated","type","statusText"],Zt=["serialNumber","productNumber","productName","nickName","warrantyStartDate","warrantyEndDate","warrantyStatus","cases","dateAdded"],qt=[{className:"productname",label:"#pps_WCC_FS_Dashboard_ProductText",sortOrder:"none",name:"productName"},{className:"nickname",label:"#pps_WCC_FS_Dashboard_NicknameText",sortOrder:"none",name:"nickName"},{className:"warrenty",label:"#pps_WCC_FS_Dashboard_WarrantyText",sortOrder:"none",name:"warrantySortOrder"},{className:"case",label:"#pps_WCC_FS_Dashboard_CasesText",sortOrder:"descending",name:"casesCount"},{className:"added",label:"#pps_WCC_FS_Dashboard_DateAddedText",sortOrder:"descending",name:"dateAdded"}];var te=s(18329),ee=s(60809);const ne=["content"],Tt=i=>({"background-image":i}),oe=i=>({index:i,origin:"dashboard"}),ie=i=>({index:i});function ae(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",1)(1,"div",4)(2,"p"),t.EFF(3),t.k0s(),t.j41(4,"span"),t.EFF(5),t.k0s()(),t.j41(6,"button",5),t.bIt("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.navigateToAddDevice(!1))}),t.EFF(7),t.k0s()()}if(2&i){const n=t.XpG();t.R7$(3),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_No_Devices_Message_Title"]," "),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_No_Devices_Message_Description"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_No_Devices_Message_Button_Text"]," ")}}function se(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.JRh(n.totalDevices())}}function ce(i,M){if(1&i&&(t.j41(0,"div"),t.nrm(1,"app-export-csv",17),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("exportButtonText",n.exportButtonText())("options",n.options())("fileName",n.fileName())("data",n.csvExportData())("dataHeaders",n.dataHeaders())("exportId",n.exportId())("linkWithinComponent",n.linkWithinComponent())("imgUrl","/wcc-assets/images/download.svg")}}function le(i,M){if(1&i){const n=t.RV6();t.j41(0,"a",19),t.bIt("click",function(){l.eBV(n);const r=t.XpG(3);return l.Njj(r.downloadCSV())}),t.j41(1,"span",13),t.nrm(2,"img",20),t.EFF(3),t.k0s()()}if(2&i){const n=t.XpG(3);t.Y8G("title",t.mNQ(n.exportButtonText()))("id",t.mNQ(n.exportId())),t.R7$(2),t.Y8G("alt",t.mNQ(n.exportButtonText())),t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_ExportToCSVText"])}}function Ft(i,M){if(1&i&&(t.j41(0,"div",15),t.nVh(1,le,4,7,"a",18),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.vxM(!n.linkWithinComponent()&&n.showCSVButton()?1:-1)}}function re(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",32)(1,"a",33),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(3);return l.Njj(_.sortDeviceTable(_.allDeviceData(),r.name,"dateAdded"===r.name))})("keydown",function(r){const _=l.eBV(n).$implicit,F=t.XpG(3);
1return F.sortDeviceKeyDownEvent(r,F.allDeviceData(),_.name,"dateAdded"===_.name),l.Njj(!1)}),t.j41(2,"span",34),t.EFF(3),t.k0s(),t.j41(4,"span",35),t.nrm(5,"span",36)(6,"span",37),t.k0s(),t.j41(7,"span",38),t.nrm(8,"span",39),t.k0s()()()}if(2&i){const n=M.$implicit,a=t.XpG(3);t.HbH(t.VkB("td device-",n.className)),t.AVh("active",a.order()===n.name),t.BMQ("aria-sort",n.sortOrder),t.R7$(),t.Y8G("title",a.allTranslations()[n.label]),t.R7$(2),t.JRh(a.allTranslations()[n.label]),t.R7$(5),t.Y8G("ngClass",a.getArrowClass(n.name))}}function kt(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(4);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_Warranty_Status_Text"],":")}}function Rt(i,M){if(1&i){const n=t.RV6();t.j41(0,"a",53),t.bIt("click",function(r){l.eBV(n);const _=t.XpG().$implicit,F=t.XpG(3);return l.Njj(F.extendWarranty(r,_))}),t.j41(1,"span",13),t.EFF(2),t.k0s()()}if(2&i){const n=t.XpG(4);t.Y8G("title",t.mNQ(n.allTranslations()["#pps_WCC_FS_Dashboard_Extended_Support_Plan_Link_Text"])),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Extended_Support_Plan_Link_Text"])}}function Et(i,M){1&i&&t.eu8(0)}function de(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",31)(1,"div",40),t.bIt("click",function(r){const _=l.eBV(n).$implicit;return t.XpG(3).navigateToDeviceDetails(r,_),l.Njj(r.stopPropagation())})("keydown.enter",function(r){const _=l.eBV(n).$implicit;return t.XpG(3).navigateToDeviceDetails(r,_),l.Njj(r.stopPropagation())}),t.j41(2,"div",24)(3,"div",41)(4,"div",42),t.EFF(5),t.k0s(),t.j41(6,"div",43),t.EFF(7),t.k0s(),t.j41(8,"div",44),t.EFF(9),t.k0s(),t.j41(10,"div",45)(11,"div",46)(12,"div",47)(13,"p"),t.EFF(14),t.k0s(),t.nVh(15,kt,2,1,"span"),t.EFF(16),t.j41(17,"p"),t.nVh(18,Rt,3,3,"a",48),t.k0s()()()(),t.j41(19,"div",49)(20,"div"),t.nrm(21,"img",50),t.j41(22,"div")(23,"p"),t.EFF(24),t.k0s()()()(),t.j41(25,"div",51),t.EFF(26),t.k0s()()()(),t.j41(27,"div",29),t.DNE(28,Et,1,0,"ng-container",52),t.k0s()()}if(2&i){const n=M.$implicit,a=M.$index,r=t.XpG(3),_=t.sdS(3);t.Y8G("id",t.mNQ(a)),t.R7$(),t.BMQ("aria-label",r.getAriaLabel(n.nickName)),t.R7$(2),t.BMQ("data-device-id",n.deviceId),t.R7$(2),t.SpI(" ",null==n?null:n.serialNumber," "),t.R7$(2),t.JRh(null==n?null:n.productName),t.R7$(2),t.JRh(n.nickName),t.R7$(),t.Y8G("ngStyle",t.eq3(18,Tt,"url("+(null==n?null:n.imgWarranty)+")")),t.R7$(4),t.JRh(null==n?null:n.warrantyStatus),t.R7$(),t.vxM(n.warrantyLastCheck?15:-1),t.R7$(),t.SpI(" ",r.formatedDate(null==n?null:n.warrantyLastCheck)," "),t.R7$(2),t.vxM(n.extWarrantyLink?18:-1),t.R7$(3),t.Y8G("src",t.mNQ(null==n?null:n.imgCases),t.B4B),t.R7$(3),t.JRh(null==n?null:n.casesCount),t.R7$(2),t.JRh(r.formatedDate(null==n?null:n.dateAdded)),t.R7$(2),t.Y8G("ngTemplateOutlet",_)("ngTemplateOutletContext",t.eq3(20,oe,a))}}function _e(i,M){if(1&i&&(t.j41(0,"div")(1,"div",21)(2,"div",22)(3,"div",23)(4,"div",24)(5,"div",25)(6,"div",26)(7,"span",27),t.EFF(8),t.k0s()(),t.Z7z(9,re,9,9,"div",28,t.fX1),t.k0s()()(),t.j41(11,"div",29),t.EFF(12,"\xa0"),t.k0s()()(),t.j41(13,"div",30),t.Z7z(14,de,29,22,"div",31,t.fX1),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(8),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"]),t.R7$(),t.Dyx(n.tableHeaders()),t.R7$(5),t.Dyx(n.allDeviceData())}}function pe(i,M){if(1&i){const n=t.RV6();t.j41(0,"ul",57)(1,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"dateAdded",!1,!0))}),t.EFF(2),t.k0s(),t.j41(3,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"dateAdded",!0,!0))}),t.EFF(4),t.k0s(),t.j41(5,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"casesCount",!1,!1))}),t.EFF(6),t.k0s(),t.j41(7,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"casesCount",!0,!1))}),t.EFF(8),t.k0s(),t.j41(9,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"warrantySortOrder",!1,!1))}),t.EFF(10),t.k0s(),t.j41(11,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"warrantySortOrder",!0,!1))}),t.EFF(12),t.k0s(),t.j41(13,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"nickName",!1,!1))}),t.EFF(14),t.k0s(),t.j41(15,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"nickName",!0,!1))}),t.EFF(16),t.k0s(),t.j41(17,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"productName",!1,!1))}),t.EFF(18),t.k0s(),t.j41(19,"li",59),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(4);return l.Njj(_.sortDeviceCard(r,_.allDeviceData(),"productName",!0,!1))}),t.EFF(20),t.k0s()()}if(2&i){const n=t.XpG(4);t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Date_Sort_Descending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Date_Sort_Ascending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Case_Sort_Descending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Case_Sort_Ascending"]),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Warranty_Sort_Descending"]),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Warranty_Sort_Ascending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Nickname_Sort_Descending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Nickname_Sort_Ascending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Productname_Sort_Descending"]),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_Productname_Sort_Ascending"])}}function ge(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_Warranty_Status_Text"]," : ")}}function Ce(i,M){if(1&i){const n=t.RV6();t.j41(0,"a",70),t.bIt("click",function(r){l.eBV(n);const _=t.XpG().$implicit,F=t.XpG(4);return l.Njj(F.extendWarranty(r,_))}),t.j41(1,"span",13),t.EFF(2),t.k0s()()}if(2&i){const n=t.XpG(5);t.Y8G("title",t.mNQ(n.allTranslations()["#pps_WCC_FS_Dashboard_Extended_Support_Plan_Link_Text"])),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Extended_Support_Plan_Link_Text"])}}function me(i,M){1&i&&t.eu8(0)}function he(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",58)(1,"div",60),t.bIt("click",function(r){const _=l.eBV(n).$implicit;return t.XpG(4).navigateToDeviceDetails(r,_),l.Njj(r.stopPropagation())}),t.j41(2,"p",61),t.EFF(3),t.k0s(),t.j41(4,"p",62),t.EFF(5),t.k0s(),t.j41(6,"div",63)(7,"label"),t.EFF(8),t.k0s(),t.EFF(9),t.j41(10,"div")(11,"label"),t.EFF(12),t.k0s(),t.EFF(13),t.k0s()(),t.j41(14,"div",64)(15,"div",65)(16,"div",47)(17,"p"),t.EFF(18),t.k0s(),t.j41(19,"em"),t.nVh(20,ge,2,1,"span"),t.EFF(21),t.k0s(),t.j41(22,"p"),t.nVh(23,Ce,3,3,"a",66),t.k0s()()(),t.j41(24,"div",67),t.nrm(25,"img",50),t.j41(26,"div",68)(27,"p"),t.EFF(28),t.k0s()()(),t.j41(29,"div",69),t.DNE(30,me,1,0,"ng-container",52),t.k0s()()()()}if(2&i){const n=M.$implicit,a=M.$index,r=t.XpG(4),_=t.sdS(3);t.R7$(3),t.JRh(n.nickName),t.R7$(2),t.JRh(null==n?null:n.productName),t.R7$(3),t.SpI("",r.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"]," : "),t.R7$(),t.SpI(" ",null==n?null:n.serialNumber," "),t.R7$(3),t.SpI("",r.allTranslations()["#pps_WCC_FS_Dashboard_DateAddedText"]," : "),t.R7$(),t.SpI(" ",r.formatedDate(null==n?null:n.dateAdded)),t.R7$(),t.Y8G("ngStyle",t.eq3(17,Tt,"url("+(null==n?null:n.imgWarranty)+")")),t.R7$(),t.Y8G("ngClass",n.imgWarranty?"":"no-img"),t.R7$(3),t.JRh(null==n?null:n.warrantyStatus),t.R7$(2),t.vxM(n.warrantyLastCheck?20:-1),t.R7$(),t.SpI(" ",r.formatedDate(null==n?null:n.warrantyLastCheck)),t.R7$(2),t.vxM(n.extWarrantyLink?23:-1),t.R7$(2),t.Y8G("src",t.mNQ(null==n?null:n.imgCases),t.B4B),t.R7$(3),t.JRh(null==n?null:n.casesCount),t.R7$(2),t.Y8G("ngTemplateOutlet",_)("ngTemplateOutletContext",t.eq3(19,ie,a))}}function Me(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",16)(1,"div",54)(2,"label",55),t.EFF(3),t.k0s(),t.j41(4,"input",56),t.bIt("click",function(){l.eBV(n);const r=t.XpG(3);return l.Njj(r.getSortList())}),t.k0s(),t.nVh(5,pe,21,10,"ul",57),t.k0s(),t.Z7z(6,he,31,21,"div",58,t.fX1),t.k0s()}if(2&i){const n=t.XpG(3);t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Sort_By_Heading"]),t.R7$(),t.Y8G("value",n.allTranslations()["#pps_WCC_FS_Dashboard_Date_Sort_Descending"]),t.R7$(),t.vxM(n.showHideDropdown()?5:-1),t.R7$(),t.Dyx(n.allDeviceData())}}function ue(i,M){if(1&i&&(t.j41(0,"div",16),t.nVh(1,Me,8,3,"div",16),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.vxM(n.pageConfig().isMobile||n.deviceCardView()?1:-1)}}function Pe(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",2)(1,"div",6)(2,"div",7)(3,"div",8)(4,"div",9)(5,"div",10)(6,"h2"),t.EFF(7),t.nVh(8,se,2,1,"span"),t.k0s(),t.j41(9,"div")(10,"a",11),t.bIt("click",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.navigateToAddDevice())}),t.nrm(11,"img",12),t.j41(12,"span",13),t.EFF(13),t.k0s()()(),t.nrm(14,"div",14),t.k0s(),t.j41(15,"p"),t.EFF(16),t.k0s(),t.nVh(17,ce,2,8,"div"),t.nVh(18,Ft,2,1,"div",15),t.k0s(),t.nVh(19,_e,16,1,"div"),t.nVh(20,ue,2,1,"div",16),t.k0s()()()()}if(2&i){const n=t.XpG();t.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl-list":""),t.R7$(7),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_MyDevices"]," "),t.R7$(),t.vxM(n.allDeviceData()?8:-1),t.R7$(2),t.Y8G("title",t.mNQ(n.allTranslations()["#pps_WCC_FS_Dashboard_Add"])),t.R7$(),t.Y8G("alt",t.mNQ(n.allTranslations()["#pps_WCC_FS_Dashboard_Add"])),t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_Add"]),t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_ChooseADevice"]),t.R7$(),t.vxM(n.allDeviceData()&&n.showCSVButton()&&n.linkWithinComponent()?17:-1),t.R7$(),t.vxM(n.showCSVButton()?18:-1),t.R7$(),t.vxM(!n.pageConfig().isMobile&&n.deviceTableView()?19:-1),t.R7$(),t.vxM(n.pageConfig().isMobile||n.deviceCardView()?20:-1)}}function Oe(i,M){if(1&i){const n=t.RV6();t.qex(0),t.j41(1,"a",71),t.bIt("click",function(r){const _=l.eBV(n).index;return t.XpG().openDeleteModal(_),l.Njj(r.stopPropagation())})("keydown",function(r){const _=l.eBV(n).index;return t.XpG().removeDevicekeyDownEvent(_,r),l.Njj(!1)}),t.nrm(2,"img",72),t.j41(3,"span",73),t.EFF(4),t.k0s()(),t.bVm()}if(2&i){const n=M.index,a=t.XpG();t.R7$(),t.Y8G("id",t.VkB("Remove_Device_",n)),t.R7$(),t.Y8G("alt",t.mNQ(a.allTranslations()["#pps_WCC_FS_Dashboard_Remove_Device_Tooltip_Text"])),t.R7$(2),t.SpI(" ",a.allTranslations()["#pps_WCC_FS_Dashboard_Remove_Device_Tooltip_Text"]," ")}}function ve(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",3)(1,"app-service-unavailable",74),t.bIt("refreshdatatriggered",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.getDevicesData())}),t.k0s()()}}let fe=(()=>{class i{onResize(){this.resolutionBaseDisplay()}constructor(n,a,r,_,F,G,ct,pt,mt,ut,Ct,Pt,ft,Gn,Xn){this.pageService=n,this.myDevicesService=a,this.windowRef=r,this.modalService=_,this.commonService=F,this.router=G,this.browserWrapperService=ct,this.activeRoute=pt,this.dashboardService=mt,this.globalDataService=ut,this.devicesService=Ct,this.authService=Pt,this.loadingScreenService=ft,this.destroyRef=Gn,this.appSelectorStore=Xn,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,l.vPA)({}),this.authData=(0,l.vPA)(null),this.hasSmartFriend=(0,l.vPA)(!1),this.customerState=(0,l.vPA)(null),this.deviceCardView=(0,l.vPA)(!1),this.deviceTableView=(0,l.vPA)(!1),this.totalDevices=(0,l.vPA)(0),this.allDeviceData=(0,l.vPA)([]),this.serviceUnavailable=(0,l.vPA)(!1),this.modalRef=(0,l.vPA)(null),this.showCSVButton=(0,l.vPA)(!0),this.linkWithinComponent=(0,l.vPA)(!1),this.fileName=(0,l.vPA)(""),this.exportButtonText=(0,l.vPA)(""),this.options=(0,l.vPA)({fieldSeparator:",",decimalseparator:".",showLabels:!0,showTitle:!1,useBom:!0,noDownload:!1,headers:[]}),this.exportId=(0,l.vPA)(""),this.csvExportData=(0,l.vPA)(null),this.dataHeaders=(0,l.vPA)(Zt),this.tableHeaders=(0,l.vPA)(qt),this.isAscending=(0,l.vPA)(!1),this.order=(0,l.vPA)(""),this.showHideDropdown=(0,l.vPA)(!1),this.Dashboard=(0,l.vPA)({NoOfDevices:0,SubscriptionServices:"",Products:[],SpecsMissing:[],customerState:""}),this.errorTemplateName=(0,l.vPA)("Dashboard_New_Error"),this.Flag=(0,l.vPA)({}),this.termbaseFetched=!1,this.devicesDataFetched=!1,this.window=(0,l.vPA)(null),this.deleteModalRef=(0,e.ebz)("content"),this.window.set(this.windowRef.nativeWindow),(0,D.QZ)(()=>{const bt=this.authService._userData();(0,D.O8)(()=>{(0,f.A)(bt)||(this.authData.set(bt),this.hasSmartFriend.set(bt?.smartFriend),bt?.smartFriend&&this.Dashboard.update(Hn=>({...Hn,SubscriptionServices:"SmartFriend"})),this.fileName.set("dashboard"),this.termbaseFetched||(this.termbaseFetched=!0,this.getTermbase()),bt.customerId&&!this.devicesDataFetched&&(this.devicesDataFetched=!0,this.getDevicesData()))})}),this.destroyRef.onDestroy(()=>{this.loadingScreenService.blockScreen=!1})}showOrHideCSVButton(){this.showCSVButton.set(!(this.pageConfig().isiPad||this.pageConfig().isiPhone))}resolutionBaseDisplay(){this.window()&&(this.deviceTableView.set(!(this.window()?.innerWidth<=800)),this.deviceCardView.set(this.window()?.innerWidth<=800))}getDevicesData(){const n=()=>{this.browserWrapperService.getSessionStorageItem("deviceNotFound")&&(this.browserWrapperService.removeSessionStorageItem("deviceNotFound"),this.modalService.open(te.L,{windowClass:"error-modal-container",size:"lg"}))};this.myDevicesService.getDevicesData().pipe((0,x.pQ)(this.destroyRef)).subscribe(a=>{if(this.loadingScreenService.blockScreen=!1,this.serviceUnavailable.set(a.serviceUnavailable),this.isAscending.set(a.isAscending),a&&"success"===a.status){n();const r=a.deviceList;this.totalDevices.set(a.totalDevices),this.allDeviceData.set(a.allDeviceData),this.order.set(a.column);const _=this.browserWrapperService.getLocalStorageItem("printerSetupDeviceData"),{cc:F,lc:G}=this.pageConfig();_?.serialNumber&&(a.deviceData=this.allDeviceData().find(ct=>ct?.serialNumber===_?.serialNumber&&ct?.productNumber===_?.productNumber),a.deviceData?this.navigateToDeviceDetails(null,a.deviceData):this.router.navigate([`${F}-${G}/add-device`])),this.gdlUpdate(r)}a&&("error"===a.status||"unknown error"===a.status||406===a.code||500===a.code)&&this.loadDahboardErrorPage(),"sessionExpired"===a.status&&this.serviceUnavailable.set(a.serviceUnavailable)})}ngOnInit(){this.loadingScreenService.blockScreen=!0,this.showOrHideCSVButton(),this.resolutionBaseDisplay()}getTermbase(){this.appSelectorStore.getAllTranslations$().pipe((0,x.pQ)(this.destroyRef)).subscribe(n=>{this.allTranslations.set(n),this.exportButtonText.set(this.allTranslations()["#pps_WCC_FS_Dashboard_ExportToCSVText"]),this.devicesService.setLoadingText(this.allTranslations()["#pps_WCC_FS_Dashboard_My_Devices_Loading_Text"]),this.options.update(a=>({...a,headers:this.myDevicesService.getCsvOptionsHeaders(n)}))})}navigateToDeviceDetails(n,a){a.deviceCount=this.allDeviceData().length;let r=this.hasSmartFriend()?`SmartFriend, ${a.subscriptionServices}`:`${a.subscriptionServices}`;r=encodeURI(r),this.dashboardService.checkForAvailableData(a).subscribe(_=>{if("available"===_.status){a.productNameOID=a?.productNameOID||_?.data?.productNameOID,a.productNumber=a?.productNumber||_?.data?.productNumber,a.contexualURLParameters={userType:this.pageConfig().customerState,deviceSubscription:r,oid:a?.productNameOID,sku:a?.productNumber},a.productType=a?.productType||null,a.seriesOid=a?.productSeriesOID||"",a.modelO
1id=a?.productNameOID||"",this.commonService.componentDataToPass=a;const F=this.commonService.getGdlEntitlementResults(a);this.globalDataService.updateGDL(F,!0),this.router.navigate(["./device"],{relativeTo:this.activeRoute})}else if("unknown error"===_.status)this.loadDahboardErrorPage();else{let F=this.modalService.open(P,{windowClass:"re-add-modal",size:"sm"});F.componentInstance.isModal.set(!0),F.componentInstance.device.set(a),F.componentInstance.notifyParent.subscribe(G=>{this.modalService.dismissAll()})}})}loadDahboardErrorPage(){this.serviceUnavailable.set(!0),this.globalDataService.ifGlobalDataExists()&&this.globalDataService.updateGDL({Template:this.errorTemplateName()},!0)}navigateToAddDevice(n=!0){n?(this.browserWrapperService.setSessionStorageItem("sortOption","dateAdded"),this.browserWrapperService.setSessionStorageItem("sortDir","false"),this.browserWrapperService.setSessionStorageItem("sortDate","true"),this.allDeviceData.set(this.myDevicesService.getSortedDevices(this.allDeviceData(),"dateAdded",!1,!0)),this.order.set("dateAdded"),this.isAscending.set(!1)):n&&this.isAscending.set(!0),this.router.navigate([`${this.pageConfig().locale}/add-device`])}gdlUpdate(n){const a={customerState:this.pageConfig().customerState,SmartFriend:this.authData().smartFriend};this.Dashboard.set(this.devicesService.populateGDLForDashboard(n)),this.globalDataService.updateGDL({...a,Template:this.pageConfig().templateName,Dashboard:this.Dashboard()}),this.globalDataService.updateGDL({...a},!0)}downloadCSV(){this.myDevicesService.downloadCSV(this.allDeviceData()).pipe((0,x.pQ)(this.destroyRef)).subscribe(n=>{this.csvExportData.set(n),this.linkWithinComponent.set(!0)})}openDeleteModal(n){const a=this.modalService.open(Wt.F,{windowClass:"customModalClass"});a.componentInstance.deviceInfo.set(this.allDeviceData()[n]),a.componentInstance.deviceId.set(this.allDeviceData()[n].deviceId),a.componentInstance.allDeviceData.set(this.allDeviceData()),a.componentInstance.index.set(n),a.componentInstance.origin.set(this.pageConfig().pageName),a.result.then(r=>{this.totalDevices.set(r)})}getSortList(){this.showHideDropdown.set(!this.showHideDropdown())}sortDeviceTable(n,a,r){const _=this.order()===a;this.isAscending.set(!_||!this.isAscending()),this.order.set(a);const F="dateAdded"===a||"casesCount"===a;this.allDeviceData.set(this.myDevicesService.getSortedDevices(n,a,this.isAscending()?!F:F,r))}sortDeviceCard(n,a,r,_,F){this.showHideDropdown.set(!1),document.getElementById("sortInput").value=n.target.innerText,this.allDeviceData.set(this.myDevicesService.getSortedDevices(a,r,_,F))}getArrowClass(n){if(this.order()===n)return"dateAdded"===n||"casesCount"===n?this.isAscending()?"down-arrow":"up-arrow":this.isAscending()?"up-arrow":"down-arrow"}getAriaLabel(n){return`Navigate to view ${n||""} page`}removeDevicekeyDownEvent(n,a){if("Enter"===a.key)this.openDeleteModal(n);else if(a.shiftKey||9!==a.keyCode)a.shiftKey&&9===a.keyCode&&setTimeout(()=>{a.target.parentNode.previousSibling.focus()},0);else if(document.getElementById("device-table-body").lastElementChild!==a.target.parentNode.parentNode)setTimeout(()=>{a.target.parentNode.parentNode.nextSibling.firstChild.focus()},0);else if(this.window()){const _=this.window()?.document?.getElementById("ssr-section").querySelector("#ssr-content"),F=this.window()?.document?.getElementsByClassName("ssrLink")[0],G=this.window()?.document?.getElementById("dashboardFeedbackSection").innerHTML.trim().length,ct=this.window()?.document?.getElementsByClassName("site_links_container")[0].getElementsByTagName("li")[0].getElementsByTagName("a")[1];null!==_?setTimeout(()=>{F.focus()},0):null===_&&G>0?setTimeout(()=>{document.getElementById("dashboardFeedbackSection").focus()},100):null===_&&0===G&&setTimeout(()=>{ct.focus()},0)}}sortDeviceKeyDownEvent(n,a,r,_){const F=document.getElementById("table-row"),G=document.getElementsByClassName("col-header"),ct=G.length-1,pt=G.length-2,mt=document.getElementsByClassName("device-list-cell"),ut=document.getElementById("export-data").children;"Enter"===n.key?this.sortDeviceTable(a,r,_):n.shiftKey||9!==n.keyCode?n.shiftKey&&9===n.keyCode&&(n.target.parentNode.previousSibling&&"A"===n.target.parentNode.previousSibling.firstElementChild.tagName?setTimeout(()=>{n.target.parentNode.previousSibling.firstChild.focus()},0):this.myDevicesService.shfitKeyEventDeviceListHeader(n,F,G,pt,ut)):this.myDevicesService.tabKeyEventDeviceListHeader(n,F,G,ct,mt)}extendWarranty(n,a){n.stopPropagation(),a&&a.extWarrantyLink&&this.window()&&this.window()?.open(a.extWarrantyLink,"_blank")}formatedDate(n){return this.commonService.formatDate(n)}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(I.b),t.rXU(Dt),t.rXU(A.$),t.rXU(j.Bq),t.rXU(q.h),t.rXU(m.Ix),t.rXU(xt.z),t.rXU(m.nX),t.rXU(T.I),t.rXU(H.a),t.rXU(O.N),t.rXU(S.u),t.rXU(ee.s),t.rXU(l.abz),t.rXU(K.q))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-my-devices"]],viewQuery:function(a,r){1&a&&t.wEZ(r.deleteModalRef,ne,5),2&a&&t.NyB()},hostBindings:function(a,r){1&a&&t.bIt("resize",function(){return r.onResize()},t.tSv)},features:[t.Jv_([Dt])],decls:5,vars:3,consts:[["cancelDevice",""],[1,"no-device-container"],[1,"my-devices-content",3,"ngClass"],[1,"error-message"],[1,"no-device-content"],["id","Add_Device_Dashboard1",3,"click"],[1,"container"],[1,"row"],[1,"col-lg-12","col-md-12","col-sm-12","col-12","nopadding"],[1,"my-device-header"],[1,"my-device-content"],["href","javascript:void(0)","id","Add_Device_Dashboard",1,"add-devive-link",3,"click","title"],["aria-hidden","true","src","/wcc-assets/images/u4906.svg",3,"alt"],["aria-hidden","true"],[1,"clearfix"],["id","export-data",1,"export-data"],[1,"device-content-sm"],[3,"exportButtonText","options","fileName","data","dataHeaders","exportId","linkWithinComponent","imgUrl"],["href","javascript:void(0)",1,"export-csv-link",3,"title","id"],["href","javascript:void(0)",1,"export-csv-link",3,"click","title","id"],["src","/wcc-assets/images/download.svg",3,"alt"],[1,"device-table-header"],[1,"tr"],[1,"td","first-cell"],["role","table",1,"table"],["role","row","id","table-row",1,"tr"],["role","columnheader",1,"td","device-serialnum","no-sort"],[1,"heading-span"],["role","headerheader",3,"class","active"],[1,"td","second-cell"],["id","device-table-body",1,"device-table-body"],[1,"tr",3,"id"],["role","headerheader"],["href","javascript:void(0)",1,"col-header",3,"click","keydown","title"],["aria-hidden","true",1,"heading-span"],[1,"arrow-container"],[1,"icon-arr","up-arrow"],[1,"icon-arr","down-arrow"],[1,"hide-arrow-container"],[1,"icon-arr","hide-arrow",3,"ngClass"],["tabindex","0",1,"td","first-cell","device-list-cell",3,"click","keydown.enter"],["role","row",1,"tr"],["role","cell",1,"td","device-","position-relative"],["role","cell",1,"td","device-productname"],["role","cell",1,"td","device-nickname"],["role","cell",1,"td","device-warrenty",3,"ngStyle"],[1,"warranty-flex"],[1,"device-warrenty-content"],["href","javascript:void(0)",1,"extend-link","arrow-link-bold",3,"title"],["role","cell",1,"td","device-case"],["alt","cases icon",3,"src"],["role","cell",1,"td","device-added"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["href","javascript:void(0)",1,"extend-link","arrow-link-bold",3,"click","title"],[1,"sort-list-box"],["aria-labelledby","sortInput"],["type","text","readonly","","id","sortInput",3,"click","value"],[1,"sort-list-options"],["aria-label","click here to view device page",1,"device-card"],[3,"click"],[1,"device-card-section","position-relative",3,"click"],[1,"device-card-heading"],[1,"device-card-subHeading"],[1,"device-card-label"],[1,"device-card-row",3,"ngStyle"],[1,"device-warrenty",3,"ngClass"],["href","javascript:void(0)",1,"arrow-link-bold",3,"title"],[1,"device-cases"],[1,"case-count"],[1,"device-cancel"],["href","javascript:void(0)",1,"arrow-link-bold",3,"click","title"],["aria-label","Remove device","href","javascript:void(0)",1,"special-text",3,"click","keydown","i
1d"],["src","/wcc-assets/images/cancel.png","aria-hidden","true",3,"alt"],[1,"special-text__tooltip"],[3,"refreshdatatriggered"]],template:function(a,r){1&a&&(t.nVh(0,ae,8,3,"div",1),t.nVh(1,Pe,21,13,"div",2),t.DNE(2,Oe,5,5,"ng-template",null,0,t.C5r),t.nVh(4,ve,2,0,"div",3)),2&a&&(t.vxM(0===r.totalDevices()?0:-1),t.R7$(),t.vxM(!1===r.serviceUnavailable()&&r.totalDevices()>0?1:-1),t.R7$(3),t.vxM(!0===r.serviceUnavailable()?4:-1))},dependencies:[w.YU,yt.Q,w.B3,w.T3,St.ServiceUnavailableErrorComponent],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.pos-relative[_ngcontent-%COMP%]{position:relative}.no-device-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:86px auto;max-width:550px;padding:47px 53px;background-color:#fff;border-radius:10px;box-shadow:0 0 20px #00000040}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]{text-align:center}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;font-weight:400;font-size:30px;color:#5a5a5a;line-height:35px;margin-bottom:9px;padding:0 24px;text-align:center}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:HPSimplified;font-weight:400;font-size:20px;color:#a3a3a3;line-height:32px}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none;margin-top:27px;border-radius:5px}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#0c2e5c}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{box-shadow:0 0 8px #0096d6;color:#fff}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:#114284}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#ccc}a.add-devive-link[_ngcontent-%COMP%]:hover{text-decoration:underline;color:#0171ad}.issue-icon-dot[_ngcontent-%COMP%]{width:16px;height:16px;border-radius:8px;display:inline-block;position:absolute;left:-9px;top:21px}.redDot[_ngcontent-%COMP%]{box-shadow:0 3px 10px #bf202680;background-color:#bf2026}.yellowDot[_ngcontent-%COMP%]{box-shadow:0 3px 10px #f0a83b80;background-color:#f0a83b}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;font-weight:400;line-height:1.6;color:#6d6e71;margin-top:14px}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]{height:44px;margin-top:30px;width:auto;display:inline-block}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:38px;font-weight:400;line-height:1.11;color:#5a5a5a;display:inline-block}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;color:#767676;padding-left:7px;font-family:HPSimplifiedLight}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:7px 0 0 22px;font-family:HPSimplified;font-size:20px;font-weight:400;font-style:normal;display:inline-block;line-height:26px;color:#0096d6}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:10px;display:inline-block}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;top:2px}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]{font-family:HPSimplified;margin:12px 0 20px}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   .device-export-btn[_ngcontent-%COMP%]{display:inline-block}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:1.78;color:#0096d6}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:4px}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{text-decoration:underline}span.arrow-container[_ngcontent-%COMP%]{display:inline-block;width:5px;height:12px;margin-left:5px;position:absolute;top:20px}span.hide-arrow-container[_ngcontent-%COMP%]{position:absolute;bottom:15px}.icon-arr[_ngcontent-%COMP%]{width:5px;height:5px;border-bottom:none!important}.icon-arr.up-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid #ccc!important;position:relative;top:-8px}.icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #ccc;top:-17px}.td.active[_ngcontent-%COMP%]   .icon-arr.up-arrow[_ngcontent-%COMP%]{border-bottom:9px solid #0096D6!important}.td.active[_ngcontent-%COMP%]   .icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #0096D6}.table[_ngcontent-%COMP%]{display:table;width:100%;margin-bottom:0}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-serialnum[_ngcontent-%COMP%]{width:13%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-nickname[_ng
1content-%COMP%]{width:20%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .serialnum[_ngcontent-%COMP%]{width:21%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-productname[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-warrenty[_ngcontent-%COMP%]{width:20%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-case[_ngcontent-%COMP%]{width:12%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .device-added[_ngcontent-%COMP%]{width:13%}.tr[_ngcontent-%COMP%]{display:table-row}.td[_ngcontent-%COMP%]{display:table-cell}.td[_ngcontent-%COMP%]:focus{outline:1px solid #0096D6!important}div.first-cell[_ngcontent-%COMP%]{width:96%}div.second-cell[_ngcontent-%COMP%]{width:4%;vertical-align:middle;text-align:center}div.second-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:0}.device-table-body[_ngcontent-%COMP%]{display:table;width:100%;border-collapse:separate;border-spacing:0px 30px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:300;line-height:1.5;text-align:left;color:#5a5a5a;width:100%;height:96px;background-color:#fff;box-shadow:0 5px 30px #0000001a}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{display:table;width:100%;border-spacing:0px;border:1px solid transparent;font-family:HPSimplifiedLight;color:#5a5a5a}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]{box-shadow:none}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{vertical-align:middle;border-right:1px solid #e8e8e8;font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:1.5;padding:15px 10px;color:#5a5a5a;word-break:break-word}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-nickname[_ngcontent-%COMP%]{color:#0096d6;font-family:HPSimplified}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-nickname[_ngcontent-%COMP%]:hover{color:#0171ad}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]{font-size:14px;line-height:1.43;color:#5a5a5a;font-family:HPSimplified;background-position:10px center;background-repeat:no-repeat;background-size:26px 26px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]   .warranty-flex[_ngcontent-%COMP%]{display:flex;padding-left:30px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]   .warranty-flex[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:baseline;height:18px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]   .warranty-flex[_ngcontent-%COMP%]   .device-warrenty-content[_ngcontent-%COMP%]{display:inline-block;padding-left:10px;font-style:italic;color:#6d6e71;font-family:HPSimplified}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]   .warranty-flex[_ngcontent-%COMP%]   .device-warrenty-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;line-height:1.43;margin-bottom:0;font-size:14px;font-style:normal}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-warrenty[_ngcontent-%COMP%]   .warranty-flex[_ngcontent-%COMP%]   .device-warrenty-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;color:#0096d6}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-case[_ngcontent-%COMP%]{font-size:14px;line-height:1.43;color:#5a5a5a;font-family:HPSimplified}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-case[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;justify-content:center}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-case[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px;height:26px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-case[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-style:italic;color:#6d6e71;font-family:HPSimplified;padding-top:3px;padding-left:10px}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-case[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;line-height:1.43;margin-bottom:0;font-size:14px;font-style:normal}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]:last-child{padding-right:0}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]:hover{border:1px solid #0096D6;cursor:pointer;box-shadow:0 5px 22px #0096d626}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]:hover   .device-nickname[_ng
1content-%COMP%]{text-decoration:underline}.device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .second-cell[_ngcontent-%COMP%]:hover{border:1px solid #0096D6}.device-table-header[_ngcontent-%COMP%]{display:table;width:100%;border-collapse:collapse}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]{border:1px solid #ccc;font-family:HPSimplified;font-size:20px;text-align:left;color:#000;background-color:#fff}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{border-collapse:collapse}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]{border:none;height:55px}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{padding:0 .5%;cursor:pointer;outline:1px!important;line-height:1}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.no-sort[_ngcontent-%COMP%]{cursor:default}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;color:#000;display:inline-block;width:100%;position:relative;padding:0}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:none;margin-left:5px;top:1px}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{width:auto;word-break:break-word;padding-bottom:10px;padding-top:20px;font-family:HPSimplified;font-size:20px;color:#000}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:9px}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   img.down-arrow[_ngcontent-%COMP%]{transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{border-bottom:4px solid #0096D6;color:#0096d6}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]{display:none}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:inline-block}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]:focus{outline:1px solid #0096D6}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-added[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:85%}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.device-added[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]{top:40%}#removeBtn[_ngcontent-%COMP%]{margin-right:34px}.btns[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:flex-end}.device-export-btn[_ngcontent-%COMP%]{display:inline-block}.device-content-sm[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]{position:relative;height:73px;margin-bottom:20px}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background:url(/wcc-assets/images/select-arrow.png) #fff 96% 45% no-repeat;width:100%;font-family:HPSimplifiedLight;font-size:16px;border:1px solid #767676;margin-bottom:20px;margin-top:5px}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:1px solid #0096D6}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]{position:absolute;border:1px solid #efefef;top:62px;z-index:999;width:100%;background:#fff;max-height:321px;overflow-y:scroll;box-shadow:0 5px 22px #0000001a}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{height:40px;font-family:HPSimplifiedLight;font-size:16px;line-height:40px;border-bottom:1px solid #efefef;padding:0 20px}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none}.device-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#e6fcff;color:#0096d6;border-bottom:1px solid #E6FCFF}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]{box-shadow:0 5px 22px #0000001a;width:100%;margin-bottom:20px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]{padding:20px 20px 20px 13px;font-family:HPSimplified;background-color:#fff}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;color:#767676;font-family:HPSimplified;margin-bottom:0;line-height:1.25;word-break:break-word}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   p.device-card-heading[_ngcontent-%COMP%]{color:#0096d6}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   p.device-card-subHeading[_ngcontent-%COMP%]{padding-top:5px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-label[_ngcontent-%COMP%]{margin-top:15px;color:#b2b2b2;font-size:14px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-label[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;color:#767676}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-label[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:5px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:17px;background-position:left center;background-repeat:no-repeat;
1background-size:26px;align-items:center}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-warrenty[_ngcontent-%COMP%]{padding-left:36px;color:#767676;font-size:14px;font-family:HPSimplifiedLight;line-height:1.43;width:60%}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-warrenty[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:#767676;color:#b2b2b2}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-warrenty[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{color:#767676;color:#b2b2b2;font-size:14px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-warrenty[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:14px;padding:7px 0}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-warrenty[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:8px;margin-right:10px;height:20px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-cases[_ngcontent-%COMP%]{width:18%;display:inline-flex}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-cases[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-cases[_ngcontent-%COMP%]   .case-count[_ngcontent-%COMP%]{padding-top:3px;padding-left:10px}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-cases[_ngcontent-%COMP%]   .case-count[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{word-break:normal}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-row[_ngcontent-%COMP%]   div.device-cancel[_ngcontent-%COMP%]{padding-top:5px}.delete-device-modal[_ngcontent-%COMP%]   .modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:30px;color:#767676}.delete-device-modal[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%]{color:#000}.delete-device-modal[_ngcontent-%COMP%]   .pTitle[_ngcontent-%COMP%]{color:#000;padding-bottom:0;margin-bottom:0;line-height:1.38;word-break:break-word}.delete-device-modal[_ngcontent-%COMP%]   #pQues[_ngcontent-%COMP%]{font-family:HPSimplified!important}.delete-device-modal[_ngcontent-%COMP%]   #close-icon[_ngcontent-%COMP%]{position:relative;top:10px}.delete-device-modal[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:20px;margin-top:12px}@media only screen and (max-width:800px){.my-device-content[_ngcontent-%COMP%]{width:100%!important}.device-content-sm[_ngcontent-%COMP%]   .device-card-subHeading[_ngcontent-%COMP%]{font-family:HPSimplifiedLight!important}.device-content-sm[_ngcontent-%COMP%]   .device-card[_ngcontent-%COMP%]   div.device-card-section[_ngcontent-%COMP%]   .device-card-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.device-content-sm[_ngcontent-%COMP%]   .device-warrenty.no-img[_ngcontent-%COMP%]{padding-left:0!important}.device-content-sm[_ngcontent-%COMP%]   .device-warrenty[_ngcontent-%COMP%]   .device-warrenty-content[_ngcontent-%COMP%]{padding-right:10px!important}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;color:#666;line-height:1.3}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{float:right}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   .add-devive-link[_ngcontent-%COMP%]{float:right!important;font-size:18px!important;margin-top:0!important;line-height:auto}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .my-device-content[_ngcontent-%COMP%]   .add-devive-link[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px;height:30px}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;line-height:1.22;margin-top:0}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]{display:flex}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:1.22;word-wrap:break-word}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   .device-export-btn[_ngcontent-%COMP%]{width:75%}.my-devices-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-device-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px}
1.delete-device-modal[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{margin-left:0!important}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.delete-device-modal[_ngcontent-%COMP%]   #removeBtn[_ngcontent-%COMP%]{margin-bottom:22px}.delete-device-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:10px!important}}@media(min-width:1200px){.container[_ngcontent-%COMP%]{max-width:1218px!important}.container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .nopadding[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}}@media(min-width:801px){.delete-device-modal[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%]{padding:40px}.delete-device-modal[_ngcontent-%COMP%]   #removeBtn[_ngcontent-%COMP%]{margin-right:34px}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{padding:0 10px}}@media only screen and (max-width:990px)and (min-width:801px){.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]{font-size:14px}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]{top:10px}.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]   span.icon-arr.up-arrow[_ngcontent-%COMP%]{top:0}div.second-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}div.second-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:80%}}@media only screen and (max-width:990px)and (min-width:750px){.device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]{font-size:14px}.device-table-header[_ngcontent-%COMP%]   .icon-arr.down-arrow[_ngcontent-%COMP%]{top:-8px}div.second-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}div.second-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:80%}}@media only screen and (max-width:1024px)and (min-width:801px){.delete-device-modal[_ngcontent-%COMP%]   #removeBtn[_ngcontent-%COMP%]{margin-right:34px;margin-bottom:0}.delete-device-modal[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:row}}@media only screen and (min-width:801px){.error-message[_ngcontent-%COMP%]{margin-top:59px}}.rtl-list[_ngcontent-%COMP%]   .device-table-header[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%], .rtl-list[_ngcontent-%COMP%]   .device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{text-align:right}.rtl-list[_ngcontent-%COMP%]   .device-table-body[_ngcontent-%COMP%]   div.tr[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]:last-child{padding-right:10px}@media only screen and (max-width:800px){.rtl-list[_ngcontent-%COMP%]   .device-content-sm[_ngcontent-%COMP%]   .device-warrenty.no-img[_ngcontent-%COMP%]{padding-right:0!important}.rtl-list[_ngcontent-%COMP%]   .device-content-sm[_ngcontent-%COMP%]   .device-warrenty[_ngcontent-%COMP%]   .device-warrenty-content[_ngcontent-%COMP%]{padding-left:10px!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.device-warrenty-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:150px}}@media only screen and (max-width:600px){.no-device-container[_ngcontent-%COMP%]{padding:0 5px;box-shadow:none;background-color:transparent;margin:28px 0 0}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]{border-radius:10px;box-shadow:0 0 20px #00000040;padding:47px 25px}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:24px;padding:0;line-height:30px}.no-device-container[_ngcontent-%COMP%]   .no-device-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:32px}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none;margin-top:28px;width:100%;max-width:100%;min-height:43px}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active{background-color:#0c2e5c}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{box-shadow:0 0 8px #0096d6;color:#fff}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:#114284}.no-device-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{background-color:#ccc}}']})}}return i})();var wt=s(82342),rt=s(34456),be=s(2648),xe=s(91462),Ot=s(52730);const De=["soNumber"],Se=["slNo"];function ye(i,M){1&i&&t.nrm(0,"img",5)}function Te(i,M){if(1&i&&(t.j41(0,"p",11),t.EFF(1),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalError"]," ")}}function Fe(i,M){if(1&i){const n=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){l.eBV(n);const r=t.XpG(),_=t.sdS(18);return l.Njj(r.clearInput(_,"clearSONumber"))}),t.j41(1,"span",29),t.EFF(2,"\xd7"),t.k0s()()}}function ke(i,M){if(1&i){const n=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){l.eBV(n);const r=t.XpG(),_=t.sdS(28);return l.Njj(r.clearInput(_,"clearEmail"))}),t.j41(1,"span",29),t.EFF(2,"\xd7"),t.k0s()()}}function Re(i,M){if(1&i){const n=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){l.eBV(n);const r=t.XpG(),_=t.sdS(38);return l.Njj(r.clearInput(_,"clearSlNo"))}),t.j41(1,"span",29),t.EFF(2,"\xd7"),t.k0s()()}}let Ee=(()=>{class i{constructor(n,a,r,_,F,G,ct){this.pageService=n,this.modalService=a,this.commonService=r,this.windowRef=_,this.casesService=F,this.injector=G,this.appSelectorStore=ct,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.caseDetailsData=(0,l.vPA)(null),this.noCasesFound=(0,l.vPA)(!1),this.allTranslations=(0,l.vPA)({}),this.formattedUTCOffset=(0,l.vPA)(null),this.largeDevice=(0,l.vPA)(!1),this.smallDevice=(0,l.vPA)(!1),this.soNumber=(0,e.ebz)("soNumber"),this.slNo=(0,e.ebz)("slNo"),this.invalidSession=(0,e.CGW)(),this.repairLookupForm=new rt.J3({serviceOrder
1Number:new rt.hs("",[rt.k0.required]),emailAddress:new rt.hs(""),serialNumber:new rt.hs("")}),this.clearSONumber=(0,l.vPA)(!1),this.clearEmail=(0,l.vPA)(!1),this.clearSlNo=(0,l.vPA)(!1),this.destroySubject$=new $.B,this.window=this.windowRef.nativeWindow}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>this.allTranslations.set(n)),this.onChanges(),this.formattedUTCOffset.set(this.commonService.getUTCOffset()),this.resolutionBaseDisplay()}resolutionBaseDisplay(){this.window&&(this.largeDevice.set(!(this.window?.innerWidth<=800)),this.smallDevice.set(this.window?.innerWidth<=800))}onCaseLookup(n){const a={emailAddress:this.repairLookupForm.get("emailAddress").valid?n.emailAddress:"",serialNumber:this.slNo().nativeElement.value,serviceOrderNumber:this.soNumber().nativeElement.value};this.casesService.caseLookup(a).pipe((0,k.Q)(this.destroySubject$)).subscribe(r=>{r&&r.data&&200===r.code?(this.noCasesFound.set(r.noCasesFound),this.caseDetailsData.set(r.caseDetailsData),this.injector.get(wt.b).openCaseDetailModal(null,this.caseDetailsData(),r.caseId,1,this.allTranslations(),!0)):r&&204===r.code?(this.noCasesFound.set(r.noCasesFound),this.clearSONumber.set(!1),this.clearEmail.set(!1),this.clearSlNo.set(!1)):r&&403===r.code&&this.invalidSession.emit("sessionExpired")})}closeModal(){this.modalService.dismissAll()}handleKeyDownCloseModal(n){"Enter"===n.key&&this.closeModal()}clearInput(n,a){n.value="","clearSONumber"===a?this.clearSONumber.set(!1):"clearEmail"===a?this.clearEmail.set(!1):"clearSlNo"===a&&this.clearSlNo.set(!1)}avoidSpace(n){let a=window?.event;if(32==(n?n.which:a.keyCode))return!1}onChanges(){this.repairLookupForm.get("serviceOrderNumber").valueChanges.subscribe(n=>{null!=n&&(this.clearSONumber.set(!!n.length),n=n.replace(/ /g,""),this.soNumber().nativeElement.value=n.substring(0,12))}),this.repairLookupForm.get("emailAddress").valueChanges.subscribe(n=>{null!=n&&this.clearEmail.set(!!n.length)}),this.repairLookupForm.get("serialNumber").valueChanges.subscribe(n=>{null!=n&&(this.clearSlNo.set(!!n.length),n=n.replace(/ /g,""),this.slNo().nativeElement.value=n.substring(0,16))})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(I.b),t.rXU(j.Bq),t.rXU(q.h),t.rXU(A.$),t.rXU(Ot.j),t.rXU(l.zZn),t.rXU(K.q))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-case-repair-lookup-modal"]],viewQuery:function(a,r){1&a&&(t.wEZ(r.soNumber,De,5),t.wEZ(r.slNo,Se,5)),2&a&&t.NyB(2)},outputs:{invalidSession:"invalidSession"},decls:45,vars:21,consts:[["soNumber",""],["email",""],["slNo",""],["id","case-repair-order-container","aria-labelledby","modal-heading","aria-modal","true","role","dialog"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click","keydown"],["aria-hidden","true","id","close-icon"],[1,"repairModalContent","modal-body",3,"ngClass"],[1,"repairLookupInfo"],[1,"repairLookupError"],[3,"ngSubmit","formGroup"],[1,"requiredInfo"],[1,"SOnumber"],["type","text","formControlName","serviceOrderNumber","selectInputText","",3,"keydown"],["type","button","aria-label","Close",1,"close","closeTextbox"],[1,"secondaryInfoHeader"],[1,"secondaryInfo"],[1,"emailAddress"],["type","text","formControlName","emailAddress","email","","pattern","[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$",3,"ngClass"],[1,"invalidEmailMessage",3,"ngClass"],[1,"orText"],[1,"slNo"],["type","text","formControlName","serialNumber"],[1,"buttonContainer"],["type","submit","id","Repair_Order_Lookup",1,"lookup",3,"disabled","value"],["type","button","id","Repair_Order_Cancel",1,"cancelBtn",3,"click"],["type","button","aria-label","Close",1,"close","closeTextbox",3,"click"],["aria-hidden","true"]],template:function(a,r){if(1&a){const _=t.RV6();t.j41(0,"div",3)(1,"div",4),t.nVh(2,ye,1,0,"img",5),t.j41(3,"h3",6),t.EFF(4),t.k0s(),t.j41(5,"button",7),t.bIt("click",function(){return l.eBV(_),l.Njj(r.closeModal())})("keydown",function(G){return l.eBV(_),l.Njj(r.handleKeyDownCloseModal(G))}),t.j41(6,"span",8),t.EFF(7,"\xd7"),t.k0s()()(),t.j41(8,"div",9)(9,"p",10),t.EFF(10),t.k0s(),t.nVh(11,Te,2,1,"p",11),t.j41(12,"form",12),t.bIt("ngSubmit",function(){return l.eBV(_),l.Njj(r.onCaseLookup(r.repairLookupForm.value))}),t.j41(13,"div",13)(14,"div",14)(15,"label"),t.EFF(16),t.k0s(),t.j41(17,"input",15,0),t.bIt("keydown",function(G){return l.eBV(_),l.Njj(r.avoidSpace(G))}),t.k0s(),t.nVh(19,Fe,3,0,"button",16),t.k0s()(),t.j41(20,"p",17),t.EFF(21),t.k0s(),t.j41(22,"div",18)(23,"div",19)(24,"div")(25,"label"),t.EFF(26),t.k0s(),t.nrm(27,"input",20,1),t.nVh(29,ke,3,0,"button",16),t.k0s(),t.j41(30,"p",21),t.EFF(31,"A valid email is required"),t.k0s()(),t.j41(32,"span",22),t.EFF(33),t.k0s(),t.j41(34,"div",23)(35,"label"),t.EFF(36),t.k0s(),t.nrm(37,"input",24,2),t.nVh(39,Re,3,0,"button",16),t.k0s()(),t.j41(40,"div",25),t.nrm(41,"input",26),t.j41(42,"button",27),t.bIt("click",function(){return l.eBV(_),l.Njj(r.closeModal())}
1),t.EFF(43),t.k0s()()()(),t.nrm(44,"app-case-modal-footer"),t.k0s()}if(2&a){const _=t.sdS(28),F=t.sdS(38);t.HbH(r.pageConfig().languageDirection),t.R7$(2),t.vxM(!r.pageConfig().isMobile&&r.largeDevice()?2:-1),t.R7$(2),t.JRh(r.allTranslations()["#pps_WCC_FS_Dashboard_RepairOrderLookupLinkText"]),t.R7$(4),t.Y8G("ngClass",r.pageConfig().isMobile?"mobile":""),t.R7$(2),t.JRh(r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalDesc"]),t.R7$(),t.vxM(r.noCasesFound()?11:-1),t.R7$(),t.Y8G("formGroup",r.repairLookupForm),t.R7$(4),t.SpI(" ",r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalOrderOptions"]," "),t.R7$(3),t.vxM(r.clearSONumber()?19:-1),t.R7$(2),t.JRh(r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalOptions"]),t.R7$(5),t.SpI(" ",r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalEmailAddress"]," "),t.R7$(),t.Y8G("ngClass",!r.repairLookupForm.controls.emailAddress.valid&&_.value.length>0?"showErrorInput":""),t.R7$(2),t.vxM(r.clearEmail()?29:-1),t.R7$(),t.Y8G("ngClass",!r.repairLookupForm.controls.emailAddress.valid&&_.value.length>0?"showErrorMessage":"hideMessage"),t.R7$(3),t.JRh(r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalOrText"]),t.R7$(3),t.SpI(" ",r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalSerialNo"]," "),t.R7$(3),t.vxM(r.clearSlNo()?39:-1),t.R7$(2),t.Y8G("disabled",!(r.repairLookupForm.controls.serviceOrderNumber.valid&&(r.repairLookupForm.controls.emailAddress.valid&&null!=_.value&&_.value.length||r.repairLookupForm.controls.serialNumber.valid&&null!=F.value&&F.value.length)))("value",r.allTranslations()["#pps_WCC_FS_Dashboard_RepairLookupModalLookupText"]),t.R7$(2),t.SpI(" ",r.allTranslations()["#pps_WCC_FS_Dashboard_Device_Cancel_Edit_Text"])}},dependencies:[w.YU,rt.YN,rt.qT,rt.me,rt.BC,rt.cb,rt.R_,rt.Dg,rt.X1,rt.j4,rt.JD,xe.R,be.k],styles:['.modal-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:15px;font-family:HPSimplified;font-size:16px;line-height:1.13;color:#000}#close-icon[_ngcontent-%COMP%]{position:relative;top:7px;left:-5px;width:18px;height:18px}.modal-title[_ngcontent-%COMP%]{font-family:HPSimplified;margin-left:20px;margin-top:12px}.cancelBtn[_ngcontent-%COMP%]{border:1px solid #0096D6;height:40px;text-align:center;font-family:HPSimplified;font-size:16px;font-weight:400;color:#0096d6;background:#fff}.lookup[_ngcontent-%COMP%]{height:40px;font-family:HPSimplified;font-size:16px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#767676}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]{font-size:16px;font-family:HPSimplifiedRegular!important;color:#000;padding:40px}.showErrorMessage[_ngcontent-%COMP%]{visibility:visible}.hideMessage[_ngcontent-%COMP%]{visibility:hidden}.showErrorInput[_ngcontent-%COMP%]{border:1px solid #BF2026!important}.repairModalContent[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#000}p.invalidEmailMessage[_ngcontent-%COMP%]{color:#bf2026!important;padding:3px}.repairModalContent[_ngcontent-%COMP%]   p.secondaryInfoHeader[_ngcontent-%COMP%]{font-size:18px;line-height:1.22;padding:20px 0 5px;margin:0;font-family:HPSimplified;font-style:italic}.repairModalContent[_ngcontent-%COMP%]   p.repairLookupError[_ngcontent-%COMP%]{padding:12px 20px;margin:0;background:#ffebe6;font-size:16px;color:#bf2026!important;font-family:HPSimplified;line-height:1.38}.repairModalContent[_ngcontent-%COMP%]   .requiredInfo[_ngcontent-%COMP%]{padding-top:5px!important}.repairModalContent[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .repairModalContent[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%]{display:block;width:320px;border:solid 1px #767676;padding:0 30px 0 10px;height:40px}.repairModalContent[_ngcontent-%COMP%]   input[type=submit][_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;height:40px;letter-spacing:.25px;line-height:21px;padding:0 30px;background-color:#0096d6;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;border:none;box-shadow:none;color:#fff;cursor:pointer}.repairModalContent[_ngcontent-%COMP%]   input[type=submit][_ngcontent-%COMP%]:disabled{background-color:#ccc!important}.repairModalContent[_ngcontent-%COMP%]   .orText[_ngcontent-%COMP%]{display:block;top:40px;position:relative;font-size:20px;font-weight:700;font-family:HPSimplified;line-height:1.1}.repairModalContent[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:16px;line-height:18px;font-family:HPSimplifiedRegular;letter-spacing:.3px}.repairModalContent[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-style:italic}.repairModalContent[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]{display:block;position:absolute;right:0%;width:30px;height:40px;font-size:32px;top:50%}.repairModalContent[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:30px;display:inline-block}.repairModalContent[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:focus{outline:0!important}.repairModalContent[_ngcontent-%COMP%]   .SOnumber[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]{right:0}.repairModalContent[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]:hover{background-color:transparent!important}.repairModalContent[_ngcontent-%COMP%]   .slNo[_ngcontent-%COMP%], .repairModalContent[_ngcontent-%COMP%]   .SOnumber[_ngcontent-%COMP%], .repairModalContent[_ngcontent-%COMP%]   .emailAddress[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{position:relative}@media(min-width:801px){.requiredInfo[_ngcontent-%COMP%]{width:44.5%}.lookup[_ngcontent-%COMP%]{margin-right:30px}.buttonContainer[_ngcontent-%COMP%]{padding-top:70px;display:flex;align-items:flex-end;justify-content:flex-end;padding:40px 0 0!important}.secondaryInfo[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline}}@media only screen and (max-width:800px){#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]{padding:20px}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   p.repairLookupInfo[_ngcontent-%COMP%]{margin-bottom:5px}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   p.secondaryInfoHeader[_ngcontent-%COMP%]{padding-top:25px}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   div.secondaryInfo[_ngcontent-%COMP%]{padding-top:0}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   p.invalidEmailMessage[_ngcontent-%COMP%]{margin-bottom:0}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   div.buttonContainer[_ngcontent-%COMP%]{padding-top:45px}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   div.emailAddress[_ngcontent-%COMP%], #case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   div.sl
1No[_ngcontent-%COMP%]{width:100%}#case-repair-order-container[_ngcontent-%COMP%]   .repairModalContent[_ngcontent-%COMP%]   .closeTextbox[_ngcontent-%COMP%]{right:0%}.repairModalContent[_ngcontent-%COMP%]   .secondaryInfo[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:column}.repairModalContent[_ngcontent-%COMP%]   .orText[_ngcontent-%COMP%]{align-self:baseline;padding:0;top:0}.buttonContainer[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:-moz-fit-content;width:fit-content;padding-bottom:30px}.buttonContainer[_ngcontent-%COMP%]   .cancelBtn[_ngcontent-%COMP%]{width:100%}.lookup[_ngcontent-%COMP%]{margin-bottom:22px}.modal-header[_ngcontent-%COMP%]   button.close[_ngcontent-%COMP%]{font-size:30px}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;margin-left:0!important}}@media only screen and (max-width:1024px)and (min-width:801px){.lookup[_ngcontent-%COMP%]{margin-right:30px;margin-bottom:0}.buttonContainer[_ngcontent-%COMP%]{padding-top:25px;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:row}}']})}}return i})();var we=s(75257);const $e=i=>({active:i});function je(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.JRh(n.casesCount())}}function Ie(i,M){if(1&i&&(t.j41(0,"p",10),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Dashboard_RepairOrderLookupLinkDontSeeCase"])}}function Ne(i,M){if(1&i){const n=t.RV6();t.j41(0,"span",14),t.bIt("click",function(){l.eBV(n);const r=t.XpG(2);return l.Njj(r.openRepairOrderLookupModal())}),t.nrm(1,"img",15),t.j41(2,"a"),t.EFF(3),t.k0s()()}if(2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_RepairOrderLookupLinkText"])}}function Le(i,M){if(1&i&&(t.j41(0,"div"),t.nrm(1,"app-export-csv",16),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("exportButtonText",n.exportButtonText())("options",n.options())("fileName",n.fileName())("data",n.casesToExport())("exportId",n.exportId())("dataHeaders",n.dataHeaders)("linkWithinComponent",n.linkWithinComponent())("imgUrl","/wcc-assets/images/download.svg")}}function Ae(i,M){if(1&i){const n=t.RV6();t.j41(0,"a",18),t.bIt("click",function(){l.eBV(n);const r=t.XpG(3);return l.Njj(r.downloadCSV())}),t.j41(1,"span",19),t.nrm(2,"img",20),t.EFF(3),t.k0s()()}if(2&i){const n=t.XpG(3);t.Y8G("title",t.mNQ(n.exportButtonText()))("id",t.mNQ(n.exportId())),t.R7$(2),t.Y8G("alt",t.mNQ(n.exportButtonText())),t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_ExportToCSVText"])}}function Be(i,M){if(1&i&&(t.j41(0,"div",12),t.nVh(1,Ae,4,7,"a",17),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.vxM(!n.linkWithinComponent()&&n.showCSVButton()?1:-1)}}function We(i,M){1&i&&(t.j41(0,"span",29),t.nrm(1,"span",31)(2,"span",32),t.k0s())}function Ue(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",27),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(3);return l.Njj(_.tableHeaders[r].sortable?_.sortCaseTable(_.allCasesData(),r,"dateCreated"===r):null)}),t.j41(1,"span",28),t.EFF(2),t.k0s(),t.nVh(3,We,3,0,"span",29),t.nrm(4,"span",30),t.k0s()}if(2&i){const n=M.$implicit,a=t.XpG(3);t.HbH(a.tableHeaders[n].class),t.Y8G("ngClass",t.eq3(6,$e,a.orderBy()===n)),t.R7$(2),t.JRh(a.allTranslations()[a.tableHeaders[n].label]),t.R7$(),t.vxM(a.tableHeaders[n].isArrowVisible&&0!==a.casesCount()?3:-1),t.R7$(),t.Y8G("ngClass",a.getArrowClass(n))}}function Ve(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Case_Older_than_90days"])}}function Ge(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Case_latest_than_90days"])}}function Xe(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_No_Case_Older_than_90days"])}}function He(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_No_Case_Latest_than_90days"])}}function ze(i,M){1&i&&t.nrm(0,"span",38)}function Ke(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.JRh(t.i5U(2,1,a.convertUTCdateFormat,n.dateCreated))}}function Je(i,M){if(1&i&&(t.j41(0,"span",45),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.Lme("",a.allTranslations()["#pps_WCC_FS_Dashboard_Warranty_Status_Text"]," ",t.i5U(2,2,a.convertUTCdateFormat,n.dateUpdated))}}function Ye(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",37),t.bIt("click",function(){l.eBV(n);const r=t.XpG().$implicit,_=t.XpG(5);return l.Njj(_.openCaseDetailsModal(r.caseId))}),t.j41(1,"div",23),t.nVh(2,ze,1,0,"span",38),t.k0s(),t.j41(3,"div",39)(4,"span"),t.EFF(5),t.k0s()(),t.j41(6,"div",40),t.EFF(7),t.k0s(),t.j41(8,"div",41),t.EFF(9),t.k0s(),t.j41(10,"div",42),t.nVh(11,Ke,3,4,"span"),t.k0s(),t.j41(12,"div",43),t.EFF(13),t.k0s(),t.j41(14,"div",44),t.EFF(15),t.nrm(16,"br"),t.nVh(17,Je,3,5,"span",45),t.k0s(),t.nrm(18,"div",23),t.k0s()}if(2&i){const n=t.XpG().$implicit;t.R7$(2),t.vxM(null!=n&&n.hasUpdates?2:-1),t.R7$(3),t.JRh(n.caseId),t.R7$(2),t.JRh(n.nickname_productName),t.R7$(2),t.JRh(n.serialNumber),t.R7$(2),t.vxM(n.dateCreatedExists?11:-1),t.R7$(2),t.JRh(n.type),t.R7$(2),t.SpI("",n.statusText," "),t.R7$(2),t.vxM("Open"===n.statusText?17:-1)}}function vt(i,M){if(1&i&&(t.j41(0,"div",34),t.nVh(1,Xe,3,1,"div",35),t.nVh(2,He,3,1,"div",35),t.nVh(3,Ye,19,8,"div",36),t.k0s()),2&i){const n=M.$implicit,a=t.XpG().$implicit,r=t.XpG
1(4);t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.olderthan90Exists()||"olderThan90"!==a?-1:1),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.lessThan90Exists()||"lessThan90"!==a?-1:2),t.R7$(),t.vxM(n.hasOwnProperty("caseId")?3:-1)}}function c(i,M){if(1&i&&(t.j41(0,"div")(1,"div",33),t.nVh(2,Ve,2,1,"span"),t.nVh(3,Ge,2,1,"span"),t.k0s(),t.Z7z(4,vt,4,3,"div",34,t.fX1),t.k0s()),2&i){const n=M.$implicit,a=t.XpG(4);t.R7$(2),t.vxM("olderThan90"===n?2:-1),t.R7$(),t.vxM("lessThan90"===n?3:-1),t.R7$(),t.Dyx(a.sortedCases()[n])}}function b(i,M){if(1&i&&(t.j41(0,"div",25),t.Z7z(1,c,6,2,"div",null,t.fX1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Dyx(n.objectKeys(n.sortedCases()))}}function o(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_ClosedCases"])}}function d(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_OpenCases"])}}function C(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG().$implicit;t.R7$(),t.JRh(n)}}function U(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_SW_Delivery"])}}function it(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_HW_Delivery"])}}function gt(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseTypeBlank"])}}function _t(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoOpenCases"])}}function Qe(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_No_Closed_Case"])}}function Ze(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoSWCases"])}}function qe(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoHWCases"])}}function tn(i,M){1&i&&t.nrm(0,"span",38)}function en(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.SpI(" ",t.i5U(2,1,a.convertUTCdateFormat,n.dateCreated))}}function nn(i,M){if(1&i&&(t.j41(0,"span",45),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.Lme("",a.allTranslations()["#pps_WCC_FS_Dashboard_DeviceModalUpdatedText"]," ",t.i5U(2,2,a.convertUTCdateFormat,n.dateUpdated))}}function on(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",37),t.bIt("click",function(){l.eBV(n);const r=t.XpG().$implicit,_=t.XpG(5);return l.Njj(_.openCaseDetailsModal(r.caseId))}),t.j41(1,"div",23),t.nVh(2,tn,1,0,"span",38),t.k0s(),t.j41(3,"div",39)(4,"span"),t.EFF(5),t.k0s()(),t.j41(6,"div",40),t.EFF(7),t.k0s(),t.j41(8,"div",41),t.EFF(9),t.k0s(),t.j41(10,"div",42),t.nVh(11,en,3,4,"span"),t.k0s(),t.j41(12,"div",43),t.EFF(13),t.k0s(),t.j41(14,"div",44),t.EFF(15),t.nrm(16,"br"),t.nVh(17,nn,3,5,"span",45),t.k0s(),t.nrm(18,"div",23),t.k0s()}if(2&i){const n=t.XpG().$implicit;t.R7$(2),t.vxM(null!=n&&n.hasUpdates?2:-1),t.R7$(3),t.JRh(n.caseId),t.R7$(2),t.JRh(n.nickname_productName),t.R7$(2),t.JRh(n.serialNumber),t.R7$(2),t.vxM(n.dateCreatedExists?11:-1),t.R7$(2),t.JRh(n.type),t.R7$(2),t.SpI("",n.statusText," "),t.R7$(2),t.vxM(0===n.status?17:-1)}}function an(i,M){if(1&i&&(t.j41(0,"div",34),t.nVh(1,_t,3,1,"div",35),t.nVh(2,Qe,3,1,"div",35),t.nVh(3,Ze,3,1,"div",35),t.nVh(4,qe,3,1,"div",35),t.nVh(5,on,19,8,"div",36),t.k0s()),2&i){const n=M.$implicit,a=t.XpG().$implicit,r=t.XpG
1(4);t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.openStatusExists()||a.toLowerCase()!==r.OPEN_STATUS?-1:1),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.closedStatusExists()||a.toLowerCase()!==r.CLOSED_STATUS?-1:2),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.swCaseTypeExists()||a.toLowerCase()!==r.SW_DELIVERY?-1:3),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.hwCaseTypeExists()||a.toLowerCase()!==r.HW_DELIVERY?-1:4),t.R7$(),t.vxM(n.hasOwnProperty("caseId")?5:-1)}}function sn(i,M){if(1&i&&(t.j41(0,"div")(1,"div",33),t.nVh(2,o,2,1,"span"),t.nVh(3,d,2,1,"span"),t.nVh(4,C,2,1,"span"),t.nVh(5,U,2,1,"span"),t.nVh(6,it,2,1,"span"),t.nVh(7,gt,2,1,"span"),t.k0s(),t.Z7z(8,an,6,5,"div",34,t.fX1),t.k0s()),2&i){const n=M.$implicit,a=t.XpG(4);t.R7$(2),t.vxM(n.toLowerCase()===a.CLOSED_STATUS?2:-1),t.R7$(),t.vxM(n.toLowerCase()===a.OPEN_STATUS?3:-1),t.R7$(),t.vxM(n.toLowerCase()!==a.OPEN_STATUS&&n.toLowerCase()!==a.CLOSED_STATUS&&"null"!==n&&n.toLowerCase()!==a.SW_DELIVERY&&n.toLowerCase()!==a.HW_DELIVERY?4:-1),t.R7$(),t.vxM(a.sortByCaseType()&&n.toLowerCase()===a.SW_DELIVERY?5:-1),t.R7$(),t.vxM(a.sortByCaseType()&&n.toLowerCase()===a.HW_DELIVERY?6:-1),t.R7$(),t.vxM(a.sortByCaseType()&&n.toLowerCase()!==a.SW_DELIVERY&&n.toLowerCase()!==a.HW_DELIVERY&&""===n?7:-1),t.R7$(),t.Dyx(a.sortedCases()[n])}}function cn(i,M){if(1&i&&(t.j41(0,"div",26),t.Z7z(1,sn,10,6,"div",null,t.fX1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Dyx(n.objectKeys(n.sortedCases()))}}function ln(i,M){if(1&i&&(t.j41(0,"div")(1,"div",21)(2,"div",22),t.nrm(3,"div",23),t.Z7z(4,Ue,5,8,"div",24,t.fX1),t.nrm(6,"div",23),t.k0s()(),t.nVh(7,b,3,0,"div",25),t.nVh(8,cn,3,0,"div",26),t.k0s()),2&i){const n=t.XpG(2);t.R7$(4),t.Dyx(n.objectKeys(n.tableHeaders)),t.R7$(3),t.vxM(n.sortByProduct()||n.sortByStatus()||n.sortByCaseType()?-1:7),t.R7$(),t.vxM((n.sortByProduct()||n.sortByStatus()||n.sortByCaseType())&&n.sortedCases()?8:-1)}}function rn(i,M){if(1&i){const n=t.RV6();t.j41(0,"ul",49)(1,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"displayStatus",!0,!1))}),t.EFF(2),t.k0s(),t.j41(3,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"displayStatus",!1,!1))}),t.EFF(4),t.k0s(),t.j41(5,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"dateCreated",!1,!0))}),t.EFF(6),t.k0s(),t.j41(7,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"dateCreated",!0,!0))}),t.EFF(8),t.k0s(),t.j41(9,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"nickname_productName",!0,!1))}),t.EFF(10),t.k0s(),t.j41(11,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"nickname_productName",!1,!1))}),t.EFF(12),t.k0s(),t.j41(13,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"type",!0,!1))}),t.EFF(14),t.k0s(),t.j41(15,"li",51),t.bIt("click",function(r){l.eBV(n);const _=t.XpG(3);return l.Njj(_.sortCaseCard(r,_.allCasesData(),"type",!1,!1))}),t.EFF(16),t.k0s()()}if(2&i){const n=t.XpG(3);t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Open_Option"]," "),t.R7$(2),t.SpI(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Close_Option"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_Date_Sort_Ascending"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_Date_Sort_Descending"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_Productname_Sort_Ascending"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_Productname_Sort_Descending"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_CaseType_Sort_Ascending"]," "),t.R7$(2),t.Lme(" ",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," ",n.allTranslations()["#pps_WCC_FS_Dashboard_CaseType_Sort_Descending"]," ")}}function dn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Case_Older_than_90days"])}}function _n(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Case_latest_than_90days"])}}function pn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_No_Case_Older_than_90days"])}}function gn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_No_Case_Latest_than_90days"])}}function Cn(i,M){1&i&&t.nrm(0,"span",38)}function mn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.SpI(" ",t.i5U(2,1,a.convertUTCdateFormat,n.dateCreated))}}function hn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",null==n?null:n.type)}}function Mn(i,M){if(1&i&&(t.j41(0,"div"),t.nVh(1,Cn,1,0,"span",38),t.j41(2,"p",54),t.EFF(3),t.k0s(),t.j41(4,"p",55),t.EFF(5),t.k0s(),t.j41(6,"div",56)(7,"div",57)(8,"label"),t.EFF(9),t.k0s(),t.EFF(10),t.k0s(),t.j41(11,"div",57)(12,"label"),t.EFF(13),t.k0s(),t.nVh(14,mn,3,4,"span"),t.k0s(),t.j41(15,"div",57)(16,"label"),t.EFF(17),t.k0s(),t.nVh(18,hn,2,1,"span"),t.k0s(),t.j41(19,"div",57)(20,"label"),t.EFF(21),t.k0s(),t.EFF(22),t.k0s()()()),2&i){const n=t.XpG().$implicit,a=t.XpG(5);t.R7$(),t.vxM(!0===(null==n?null:n.hasUpdates)?1:-1),t.R7$(2),t.Lme("",a.allTranslations()["#pps_WCC_FS_Case_Number"],": ",n.caseId),t.R7$(2),t.JRh(n.nickname_productName),t.R7$(4),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"],":"),t.R7$(),t.SpI(" ",n.serialNumber," "),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_DateCreated"],":"),t.R7$(),t.vxM(n.dateCreatedExists?14:-1),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_CaseType"],":"),t.R7$(),t.vxM(null!=n&&n.type?18:-1),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_StatusText"],": "),t.R7$(),t.SpI(" ",n.statusText," ")}}function un(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",53),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(5);return l.Njj(_.openCaseDetailsModal(r.caseId))}),t.nVh(1,pn,3,1,"div",35),t.nVh(2,gn,3,1,"div",35),t.nVh(3,Mn,23,12,"div"),t.k0s()}
1if(2&i){const n=M.$implicit,a=t.XpG().$implicit,r=t.XpG(4);t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.olderthan90Exists()||"olderThan90"!==a?-1:1),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.lessThan90Exists()||"lessThan90"!==a?-1:2),t.R7$(),t.vxM(n.hasOwnProperty("caseId")?3:-1)}}function Pn(i,M){if(1&i&&(t.j41(0,"div")(1,"div",33),t.nVh(2,dn,2,1,"span"),t.nVh(3,_n,2,1,"span"),t.k0s(),t.Z7z(4,un,4,3,"div",52,t.fX1),t.k0s()),2&i){const n=M.$implicit,a=t.XpG(4);t.R7$(2),t.vxM("olderThan90"===n?2:-1),t.R7$(),t.vxM("lessThan90"===n?3:-1),t.R7$(),t.Dyx(a.sortedCases()[n])}}function On(i,M){if(1&i&&(t.j41(0,"div",50),t.Z7z(1,Pn,6,2,"div",null,t.fX1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Dyx(n.objectKeys(n.sortedCases()))}}function vn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG().$implicit,a=t.XpG(4);t.R7$(),t.Lme("",n," ",a.allTranslations()["#pps_WCC_FS_Dashboard_CasesText"])}}function fn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG().$implicit;t.R7$(),t.JRh(n)}}function bn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_SW_Delivery"])}}function xn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_HW_Delivery"])}}function Dn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(5);t.R7$(),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseTypeBlank"])}}function Sn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoOpenCases"])}}function yn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.SpI("There are no ",n.allTranslations()["#pps_WCC_FS_Dashboard_ClosedCases"])}}function Tn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoSWCases"])}}function Fn(i,M){if(1&i&&(t.j41(0,"div",35)(1,"span"),t.EFF(2),t.k0s()()),2&i){const n=t.XpG(6);t.R7$(2),t.JRh(n.allTranslations()["#pps_WCC_FS_Dashboard_CaseModalNoHWCases"])}}function kn(i,M){1&i&&t.nrm(0,"span",38)}function Rn(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"memoize"),t.k0s()),2&i){const n=t.XpG(2).$implicit,a=t.XpG(5);t.R7$(),t.SpI(" ",t.i5U(2,1,a.convertUTCdateFormat,n.dateCreated))}}function En(i,M){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",null==n?null:n.type)}}function wn(i,M){if(1&i&&(t.j41(0,"div"),t.nVh(1,kn,1,0,"span",38),t.j41(2,"p",54),t.EFF(3),t.k0s(),t.j41(4,"p",55),t.EFF(5),t.k0s(),t.j41(6,"div",56)(7,"div",57)(8,"label"),t.EFF(9),t.k0s(),t.EFF(10),t.k0s(),t.j41(11,"div",57)(12,"label"),t.EFF(13),t.k0s(),t.nVh(14,Rn,3,4,"span"),t.k0s(),t.j41(15,"div",57)(16,"label"),t.EFF(17),t.k0s(),t.nVh(18,En,2,1,"span"),t.k0s(),t.j41(19,"div",57)(20,"label"),t.EFF(21),t.k0s(),t.EFF(22),t.k0s()()()),2&i){const n=t.XpG().$implicit,a=t.XpG(5);t.R7$(),t.vxM(null!=n&&n.hasUpdates?1:-1),t.R7$(2),t.Lme("",a.allTranslations()["#pps_WCC_FS_Case_Number"],": ",n.caseId),t.R7$(2),t.JRh(n.nickname_productName),t.R7$(4),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_SerialNumberText"],":"),t.R7$(),t.SpI(" ",n.serialNumber," "),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_DateCreated"],": "),t.R7$(),t.vxM(n.dateCreatedExists?14:-1),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_CaseType"],":"),t.R7$(),t.vxM(null!=n&&n.type?18:-1),t.R7$(3),t.SpI("",a.allTranslations()["#pps_WCC_FS_Dashboard_StatusText"],": "),t.R7$(),t.SpI(" ",n.statusText," ")}}function $n(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",53),t.bIt("click",function(){const r=l.eBV(n).$implicit,_=t.XpG(5);return l.Njj(_.openCaseDetailsModal(r.caseId))}),t.nVh(1,Sn,3,1,"div",35),t.nVh(2,yn,3,1,"div",35),t.nVh(3,Tn,3,1,"div",35),t.nVh(4,Fn,3,1,"div",35),t.nVh(5,wn,23,12,"div"),t.k0s()}
1if(2&i){const n=M.$implicit,a=t.XpG().$implicit,r=t.XpG(4);t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.openStatusExists()||"Open"!==a?-1:1),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.closedStatusExists()||"Closed"!==a?-1:2),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.swCaseTypeExists()||"SW Delivery"!==a?-1:3),t.R7$(),t.vxM(n.hasOwnProperty("caseId")||r.hwCaseTypeExists()||"HW Delivery"!==a?-1:4),t.R7$(),t.vxM(n.hasOwnProperty("caseId")?5:-1)}}function jn(i,M){if(1&i&&(t.j41(0,"div")(1,"div",33),t.nVh(2,vn,2,2,"span"),t.nVh(3,fn,2,1,"span"),t.nVh(4,bn,2,1,"span"),t.nVh(5,xn,2,1,"span"),t.nVh(6,Dn,2,1,"span"),t.k0s(),t.Z7z(7,$n,6,5,"div",52,t.fX1),t.k0s()),2&i){const n=M.$implicit,a=t.XpG(4);t.R7$(2),t.vxM("Open"===n.toString()||"Closed"===n.toString()?2:-1),t.R7$(),t.vxM("Open"!==n&&"Closed"!==n&&"null"!==n&&"SW Delivery"!==n&&"HW\n                Delivery"!==n?3:-1),t.R7$(),t.vxM(a.sortByCaseType()&&"SW Delivery"===n&&"HW Delivery"!==n.toString()?4:-1),t.R7$(),t.vxM(a.sortByCaseType()&&"SW Delivery"!==n&&"HW Delivery"===n?5:-1),t.R7$(),t.vxM(a.sortByCaseType()&&"SW Delivery"!==n&&"HW Delivery"!==n&&""===n?6:-1),t.R7$(),t.Dyx(a.sortedCases()[n])}}function In(i,M){if(1&i&&(t.j41(0,"div",50),t.Z7z(1,jn,9,5,"div",null,t.fX1),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Dyx(n.objectKeys(n.sortedCases()))}}function Nn(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",13)(1,"div",46)(2,"label",47),t.EFF(3),t.k0s(),t.j41(4,"input",48),t.bIt("click",function(){l.eBV(n);const r=t.XpG(2);return l.Njj(r.getSortList())}),t.k0s(),t.nVh(5,rn,17,14,"ul",49),t.k0s(),t.nVh(6,On,3,0,"div",50),t.nVh(7,In,3,0,"div",50),t.k0s()}if(2&i){const n=t.XpG(2);t.R7$(3),t.SpI("",n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By"]," "),t.R7$(),t.Y8G("value",t.mNQ(n.allTranslations()["#pps_WCC_FS_Case_Detail_Modal_Mobile_Sort_By_Open_Option"])),t.R7$(),t.vxM(n.showHideDropdown()?5:-1),t.R7$(),t.vxM(n.sortByProduct()||n.sortByStatus()||n.sortByCaseType()?-1:6),t.R7$(),t.vxM((n.sortByProduct()||n.sortByStatus()||n.sortByCaseType())&&n.sortedCases()?7:-1)}}function Ln(i,M){if(1&i&&(t.j41(0,"div",0)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"h2",7),t.EFF(7),t.nVh(8,je,2,1,"span"),t.k0s(),t.nrm(9,"div",8),t.k0s(),t.j41(10,"p",9),t.EFF(11),t.k0s(),t.nVh(12,Ie,2,1,"p",10),t.nVh(13,Ne,4,1,"span",11),t.nVh(14,Le,2,8,"div"),t.nVh(15,Be,2,1,"div",12),t.k0s(),t.nVh(16,ln,9,2,"div"),t.nVh(17,Nn,8,6,"div",13),t.k0s()()()()),2&i){const n=t.XpG();t.Y8G("ngClass","rtl"===n.pageConfig().languageDirection?"rtl":""),t.R7$(7),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_CasesText"]," "),t.R7$(),t.vxM(n.allCasesData()?8:-1),t.R7$(3),t.SpI("",n.allTranslations()["#pps_WCC_FS_Dashboard_SelectCaseText"]," "),t.R7$(),t.vxM(n.showRepairOrderLookupLink()?12:-1),t.R7$(),t.vxM(n.showRepairOrderLookupLink()?13:-1),t.R7$(),t.vxM(n.allCasesData()&&n.linkWithinComponent()?14:-1),t.R7$(),t.vxM(n.showCSVButton()?15:-1),t.R7$(),t.vxM(!n.pageConfig().isMobile&&n.caseTableView()?16:-1),t.R7$(),t.vxM(n.pageConfig().isMobile||n.caseCardView()?17:-1)}}function An(i,M){if(1&i){const n=t.RV6();t.j41(0,"div",1)(1,"app-service-unavailable",58),t.bIt("refreshdatatriggered",function(){l.eBV(n);const r=t.XpG();return l.Njj(r.getCasesData())}),t.k0s()()}}const Wn=[{path:"",component:At,canLoad:[Bt],data:{templateName:"Dashboard_New",pageName:"dashboard",termBaseKey:"#pps_WCC_FS_Dashboard_BreadCrumb"},children:[{path:"",loadChildren:()=>Promise.resolve().then(s.bind(s,72214)).then(i=>i.MyDeviceRoutes)},{path:"cases",loadChildren:()=>Promise.resolve().then(s.bind(s,72214)).then(i=>i.CasesRoutes)}]},{path:"re-add",component:P}],Un=[{path:"",component:fe,data:{skipSSOCheck:!0,skipDeviceCall:!0}}],Vn=[{path:"",component:(()=>{class i{onResize(){this.resolutionBaseDisplay()}constructor(n,a,r,_,F,G,ct,pt,mt,ut){this.pageService=n,this.commonService=a,this.windowRef=r,this.authService=_,this.modalService=F,this.changeDetector=G,this.globalDataService=ct,this.casesService=pt,this.injector=mt,this.appSelectorStore=ut,this.pageConfig=(0,D.EW)(()=>this.pageService.configSignal()),this.caseCardView=(0,l.vPA)(!1),this.caseTableView=(0,l.vPA)(!1),this.allTranslations=(0,l.vPA)({}),this.allCasesData=(0,l.vPA)([]),this.casesCount=(0,l.vPA)(0),this.sortedCases=(0,l.vPA)(null),this.showRepairOrderLookupLink=(0,l.vPA)(!1),this.serviceUnavailable=(0,l.vPA)(!1),this.casesToExport=(0,l.vPA)([]),this.dataHeaders=Qt,this.tableHeaders=Yt,this.showCSVButton=(0,l.vPA)(!1),this.linkWithinComponent=(0,l.vPA)(!1),this.options=(0,l.vPA)({fieldSeparator:",",quoteStrings:"",decimalseparator:".",showLabels:!0,showTitle:!1,useBom:!0,noDownload:!1,headers:[]}),this.fileName=(0,l.vPA)(""),this.exportButtonText=(0,l.vPA)(""),this.exportId=(0,l.vPA)(""),this.isAscending=(0,l.vPA)(!0),this.orderBy=(0,l.vPA)(""),this.showHideDropdown=(0,l.vPA)(!1),this.sortByProduct=(0,l.vPA)(!1),this.sortByStatus=(0,l.vPA)(!0),this.orderingDirection=(0,l.vPA)(""),this.openStatusExists=(0,l.vPA)(!1),this.closedStatusExists=(0,l.vPA)(!1),this.swCaseTypeExists=(0,l.vPA)(!1),this.hwCaseTypeExists=(0,l.vPA)(!1),this.olderthan90Exists=(0,l.vPA)(!1),this.lessThan90Exists=(0,l.vPA)(!1),this.sortByCaseType=(0,l.vPA)(!1),this.SW_DELIVERY="sw delivery",this.HW_DELIVERY="hw delivery",this.OPEN_STATUS="open",this.CLOSED_STATUS="closed",this.Dashboard={NoOfDevices:"",SubscriptionServices:"",Products:[],SpecsMissing:[],customerState:""},this.errorTemplateName="Dashboard_Cases_Error",this.objectKeys=Object.keys,this.destroySubject$=new $.B,this.casesDataFetched=!1,this.window=this.windowRef.nativeWindow,(0,D.QZ)(()=>{const Ct=this.authService.isUserLoggedIn();(0,D.O8)(()=>{Ct&&!this.casesDataFetched&&(this.casesDataFetched=!0,this.getCasesData())})})}ngOnInit(){this.setupPage(),this.resolutionBaseDisplay(),this.initializeSortBy(),this.fileName.set("cases"),this.exportId.set("Export_mycases_CSV"),this.showOrHideCSVButton(),this.gdlUpdate()}setupPage(){this.appSelectorStore.getAllTranslations$().pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{this.allTranslations.set(n),this.exportButtonText.set(n["#pps_WCC_FS_Dashboard_ExportToCSVText"]),this.options.update(a=>({...a,headers:this.casesService.getCsvOptionsHeaders(n)}))})}initializeSortBy(){this.orderBy.set("displayStatus"),this.isAscending.set(!0),this.getArrowClass("displayStatus")}getArrowClass(n){if(this.orderBy()!==n)return;const a=this.sortByProduct()||this.sortByCaseType(),r=this.isAscending();return a?r?"up-arrow":"down-arrow":r?"down-arrow":"up-arrow"}getCasesData(){this.casesService.getCasesData().pipe((0,k.Q)(this.destroySubject$)).subscribe(n=>{n&&"success"===n.status&&(this.showRepairOrderLookupLink.set(n.showRepairOrderLookupLink),this.casesToExport.set(n.casesToExport),this.allCasesData.set(n.allCasesData),this.casesCount.set(n.casesCount),this.serviceUnavailable.set(n.serviceUnavailable),this.openStatusExists.set(n.openStatusExists),this.closedStatusExists.set(n.closedStatusExists),this.swCaseTypeExists.set(n.swCaseTypeExists),this.hwCaseTypeExists.set(n.hwCaseTypeExists),this.olderthan90Exists.set(n.olderthan90Exists),this.lessThan90Exists.set(n.lessthan90exists),this.sortByStatus.set(n.sortByStatus),this.sortByProduct.set(n.sortByProduct),this.sortedCases.set(n.sortedCases),this.sortByCaseType.set(n.sortByCaseType)),n&&403===n.code&&(this.serviceUnavailable.set(n.serviceUnavailable),this.authService.userDataSub.next(n.userSessionState),this.authService.logoutSub()),n&&("error"===n.status||406===n.code||500===n.code)&&this.loadDahboardErrorPage()})}gdlUpdate(){this.globalDataService.updateGDL({Dashboard:this.Dashboard})}showOrHideCSVButton(){this.pageConfig().isiPad||this.pageConfig().isiPhone?this.showCSVButton.set(!1):this.showCSVButton.set(!0)}resolutionBaseDisplay(){this.window&&this.window?.outerWidth>769?(this.caseTableView.set(!0),this.caseCardView.set(!1)):this.window&&this.window?.outerWidth<=768&&(this.caseTableView.set(!1),this.caseCardView.set(!0))}getSortList(){this.showHideDropdown.update(n=>!n)}downloadCSV(){this.linkWithinComponent.set(!0),this.changeDetector.detectChanges()}loadDahboardErrorPage(){this.serviceUnavailable.set(!0),this.globalDataService.ifGlobalDataExists()&&this.globalDataService.updateGDL({Template:this.errorTemplateName},!0)}convertUTCdateFormat(n){return this.commonService.convertUTCdateFormat(n)}sortCaseData(n,a,r,_){const F=this.casesService.getSortedCases(n,a,r,_);this.openStatusExists.set(F.openStatusExists),this.closedStatusExists.set(F.closedStatusExists),this.swCaseTypeExists.set(F.swCaseTypeExists),this.hwCaseTypeExists.set(F.hwCaseTypeExists),this.olderthan90Exists.set(F.olderthan90Exists),this.lessThan90Exists.set(F.lessthan90exists),this.sortByStatus.set(F.sortByStatus),this.sortByProduct.set(F.sortByProduct),this.allCasesData.set(F.allCasesData),this.sortedCases.set(F.sortedCases),this.sortByCaseType.set(F.sortByCaseType)}sortCaseTable(n,a,r){0===this.casesCount()&&"nickname_productName"===a||(this.isAscending.set(this.orderBy()!==a||!this.isAscending()),this.orderBy.set(a),this.sortCaseData(n,a,this.isAscending(),r))}sortCaseCard(n,a,r,_,F){this.showHideDropdown.set(!1),this.orderBy.set(r),document.getElementById("sortInput").value=n.target.innerText,this.sortCaseData(a,r,_,F)}openCaseDetailsModal(n){this.injector.get(wt.b).openCaseDetailModal(null,null,n,1,this.allTranslations())}openRepairOrderLookupModal(){const n=this.modalService.open(Ee,{windowClass:"requestToClose-modal",ariaLabelledBy:"modal-heading",size:"lg"});n.componentInstance.allTranslations.set(this.allTranslations()),n.componentInstance.invalidSession.subscribe(()=>{this.modalService.dismissAll(),this.authService.userDataSub.next({state:"sessionExpired"}),this.authService.logoutSub()}),n.result.then(()=>{},()=>{})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(a){return new(a||i)(t.rXU(I.b),t.rXU(q.h),t.rXU(A.$),t.rXU(S.u),t.rXU(j.Bq),t.rXU(e.gRc),t.rXU(H.a),t.rXU(Ot.j
1),t.rXU(l.zZn),t.rXU(K.q))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["app-cases"]],hostBindings:function(a,r){1&a&&t.bIt("resize",function(){return r.onResize()},t.tSv)},features:[t.Jv_([Ot.j])],decls:2,vars:2,consts:[[1,"my-cases-content",3,"ngClass"],[1,"error-message"],[1,"container"],[1,"row"],[1,"col-lg-12","col-md-12","col-sm-12","col-12","nopadding"],[1,"my-case-header"],[1,"my-case-content"],["tabindex","0","role","heading"],[1,"clearfix"],["role","subdescription",1,"selectCaseText"],["role","subdescription",1,"SOLookupText"],["id","Repair_Order_Lookup",1,"repairOrderLookupLink"],[1,"export-data"],[1,"case-content-sm"],["id","Repair_Order_Lookup",1,"repairOrderLookupLink",3,"click"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/case-search-icon.png","alt","Search icon"],[3,"exportButtonText","options","fileName","data","exportId","dataHeaders","linkWithinComponent","imgUrl"],["href","javascript:void(0)",1,"export-csv-link",3,"title","id"],["href","javascript:void(0)",1,"export-csv-link",3,"click","title","id"],["aria-hidden","true"],["src","/wcc-assets/images/download.svg",3,"alt"],[1,"case-table-header","table"],[1,"tr"],[1,"td","blank-cell"],["tabindex","0",1,"td",3,"class","ngClass"],[1,"case-table-body","table"],["tabindex","0",1,"case-table-body","table"],["tabindex","0",1,"td",3,"click","ngClass"],[1,"heading-span"],[1,"arrow-container"],[1,"icon-arr","hide-arrow",3,"ngClass"],[1,"icon-arr","up-arrow"],[1,"icon-arr","down-arrow"],[1,"row-heading"],[1,"tr","inner-table"],[1,"data-empty-msg"],[1,"data-tr"],[1,"data-tr",3,"click"],[1,"issue-icon-dot"],["tabindex","0",1,"td","case-id","position-relative"],["tabindex","0",1,"td","product-name"],["tabindex","0",1,"td","serial-number"],["tabindex","0",1,"td","date-created"],["tabindex","0",1,"td","case-type"],["tabindex","0",1,"td","status"],[1,"updated-date"],[1,"sort-list-box"],["aria-labelledby","sortInput"],["type","text","readonly","","id","sortInput",3,"click","value"],[1,"sort-list-options"],[1,"case-card"],[3,"click"],[1,"case-card-section","position-relative"],[1,"case-card-section","position-relative",3,"click"],[1,"case-card-heading"],[1,"case-card-subHeading"],[1,"case-card-subsection"],[1,"case-card-label"],[3,"refreshdatatriggered"]],template:function(a,r){1&a&&(t.nVh(0,Ln,18,10,"div",0),t.nVh(1,An,2,0,"div",1)),2&a&&(t.vxM(!1===r.serviceUnavailable()?0:-1),t.R7$(),t.vxM(!0===r.serviceUnavailable()?1:-1))},dependencies:[w.YU,yt.Q,St.ServiceUnavailableErrorComponent,we.z],styles:['p.SOLookupText[_ngcontent-%COMP%]{padding-top:0!important}p.selectCaseText[_ngcontent-%COMP%]{display:block!important;margin-bottom:0!important}.repairOrderLookupLink[_ngcontent-%COMP%]{display:inline-block;padding-left:15px;margin-top:5px}.repairOrderLookupLink[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:18px!important;font-family:HPSimplifiedRegular!important}.repairOrderLookupLink[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;top:-3px}.repairOrderLookupLink[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{text-decoration:underline}.issue-icon-dot[_ngcontent-%COMP%]{width:16px;height:16px;border-radius:20px;display:inline-block;position:relative;left:3px;background-color:#0096d6;box-shadow:0 3px 12px #0096d666}.row-heading[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:19px;color:#333;line-height:1.58;height:50px;padding-top:10px;border-bottom:1px solid #707070}.data-empty-msg[_ngcontent-%COMP%]{padding-top:10px}.rtl[_ngcontent-%COMP%]   .data-empty-msg[_ngcontent-%COMP%]{text-align:right;margin-right:45px;margin-left:unset}@media only screen and (min-width:801px){.row-heading[_ngcontent-%COMP%], .data-empty-msg[_ngcontent-%COMP%]{margin-left:45px}.rtl[_ngcontent-%COMP%]   .data-empty-msg[_ngcontent-%COMP%]{margin-right:unset}}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]{margin-bottom:10px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;font-weight:400;line-height:1.6;color:#6d6e71;margin-top:14px;display:inline}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{cursor:pointer}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#0096d6;font-size:20px;padding-left:10px;font-family:HPSimplified}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]{height:44px;margin-top:30px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:38px;font-weight:400;line-height:1.11;color:#5a5a5a;display:inline-block}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;color:#767676;padding-left:7px;font-family:HPSimplifiedLight}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:22px;font-family:HPSimplified;font-size:20px;font-weight:400;font-style:normal;color:#0096d6;display:inline-block;margin-top:7px;line-height:26px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-right:10px;display:inline-block}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;top:2px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]{font-family:HPSimplified;margin:12px 0 20px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   .device-export-btn[_ngcontent-%COMP%]{display:inline-block}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:18px;line-height:1.78;padding-left:0;padding-right:0;color:#0096d6}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:4px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .export-data[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:hover{text-decoration:underline}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]{font-family:HPSimplified;margin:12px 0 18px}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:10px 17px;font-family:HPSimplified!important;background-color:#0096d6;color:#fff;height:50px;line-height:1.75;font-size:16px;font-weight:400;text-align:center}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:1.6;color:#6d6e71;display:inline-block;padding-left:15px}.case-export-btn[_ngcontent-%COMP%]{display:inline-block}.table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]{display:table-row}.table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .blank-cell[_ngcontent-%COMP%]{width:3%;border:0px!important}.table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .case-id[_ngcontent-%COMP%]{width:13%}.table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .product-name[_ng
1content-%COMP%]{width:30%}.table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .serial-number[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .date-created[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .case-type[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .data-tr[_ngcontent-%COMP%]   .status[_ngcontent-%COMP%]{width:13%}.table[_ngcontent-%COMP%]{display:table;width:100%;margin-bottom:0}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .blank-cell[_ngcontent-%COMP%]{width:3%;border:0px!important}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .case-id[_ngcontent-%COMP%]{width:13%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .product-name[_ngcontent-%COMP%]{width:30%}.table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .serial-number[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .date-created[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .case-type[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .status[_ngcontent-%COMP%]{width:13%}.tr[_ngcontent-%COMP%]{display:table-row}.td[_ngcontent-%COMP%]{display:table-cell}.updated-date[_ngcontent-%COMP%]{font-size:14px;line-height:20px;font-family:HPSimplifiedLight}.icon-arr[_ngcontent-%COMP%]{width:5px;height:5px;border-bottom:none!important}.icon-arr.up-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid #ccc!important;position:relative;top:10px}.icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #ccc}span.arrow-container[_ngcontent-%COMP%]{display:inline-block;width:5px;height:12px;margin-left:5px}.case-table-header[_ngcontent-%COMP%]{display:table;width:100%;border-collapse:collapse}.case-table-header[_ngcontent-%COMP%]   .td.case-id[_ngcontent-%COMP%]:hover, .case-table-header[_ngcontent-%COMP%]   .td.serial-number[_ngcontent-%COMP%], .case-table-header[_ngcontent-%COMP%]   .td.blank-cell[_ngcontent-%COMP%]{cursor:default!important}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]{border:1px solid #ccc;font-family:HPSimplified;font-size:20px;text-align:left;color:#000;height:55px;max-height:55px}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{padding:0 .5%;cursor:pointer;outline:1px!important;line-height:1}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.case-id[_ngcontent-%COMP%]{margin-left:30px}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   .icon-arr.up-arrow[_ngcontent-%COMP%]{border-bottom:9px solid #0096D6!important}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   .icon-arr.down-arrow[_ngcontent-%COMP%]{border-left:5px solid transparent;border-right:5px solid transparent;border-top:9px solid #0096D6}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:none;margin-left:5px;top:1px}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{width:auto;max-width:82%;word-break:break-word;padding-bottom:10px;padding-top:20px}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-left:9px}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]   img.down-arrow[_ngcontent-%COMP%]{transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]{border-bottom:4px solid #0096D6;color:#0096d6}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.heading-span[_ngcontent-%COMP%]:hover{color:#0171ad;border-bottom:4px solid #0171ad}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.arrow-container[_ngcontent-%COMP%]{display:none}.case-table-header[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.active[_ngcontent-%COMP%]   span.hide-arrow[_ngcontent-%COMP%]{display:inline-block}
1.case-table-body[_ngcontent-%COMP%]{display:table;width:100%;border-collapse:separate;border-spacing:0px}.case-table-body[_ngcontent-%COMP%]   .row-heading[_ngcontent-%COMP%]{width:93%;margin-left:45px;font-family:HPSimplified;font-size:19px;color:#333;line-height:1.58;height:50px;padding-top:10px;border-bottom:1px solid #707070}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:300;line-height:1.5;text-align:left;color:#5a5a5a;width:100%;height:80px}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]{vertical-align:middle;border-bottom:1px solid #e8e8e8;font-family:HPSimplified;font-size:20px;font-weight:400;line-height:1;padding:15px 7px;color:#666}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td.case-id[_ngcontent-%COMP%]{color:#0096d6;font-family:HPSimplified;margin-left:30px!important}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]   .td[_ngcontent-%COMP%]:last-child{padding-right:0;color:#333}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]:hover{background-color:#e8f8ff;cursor:pointer}.case-table-body[_ngcontent-%COMP%]   .tr[_ngcontent-%COMP%]:hover   .case-id[_ngcontent-%COMP%]{text-decoration:underline;color:#0171ad}.case-table-body[_ngcontent-%COMP%]   .tr.inner-table[_ngcontent-%COMP%]{display:table}.case-content-sm[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]{position:relative;height:73px;margin-bottom:20px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background:url(/wcc-assets/images/select-arrow.png) #fff 96% 45% no-repeat;width:100%;font-family:HPSimplifiedLight;font-size:16px;border:1px solid #767676;margin-bottom:20px;margin-top:5px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:1px solid #0096D6}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]{position:absolute;border:1px solid #efefef;top:73px;z-index:999;width:100%;background:#fff;max-height:321px;overflow-y:scroll;box-shadow:0 5px 22px #0000001a}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{height:40px;font-family:HPSimplifiedLight;font-size:16px;line-height:40px;border-bottom:1px solid #efefef;padding:0 20px}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none}.case-content-sm[_ngcontent-%COMP%]   .sort-list-box[_ngcontent-%COMP%]   ul.sort-list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#e6fcff;color:#0096d6;border-bottom:1px solid #E6FCFF}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]{width:100%}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   .row-heading[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:19px;color:#333;line-height:1.58;height:auto;padding-left:10px;padding-top:10px;border-bottom:1px solid #707070}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]{padding:20px 20px 20px 13px;font-family:HPSimplified;background-color:#fff;border-top:1px solid #e8e8e8;width:100%}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;color:#767676;font-family:HPSimplified;margin-bottom:0;line-height:1.25}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p.case-card-heading[_ngcontent-%COMP%]{color:#0096d6}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p.case-card-subHeading[_ngcontent-%COMP%]{padding-top:5px;font-weight:300}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-subsection[_ngcontent-%COMP%]{margin-top:10px}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-subsection[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]{color:#b2b2b2;font-size:14px}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-subsection[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:400;color:#767676}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-subsection[_ngcontent-%COMP%]   .case-card-label[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:5px}@media only screen and (max-width:768px){.repairOrderLookupLink[_ngcontent-%COMP%]{padding-left:0;margin-top:0}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   div.case-card-section[_ngcontent-%COMP%]   .case-card-subsection[_ngcontent-%COMP%]{padding-left:17px!important}.case-content-sm[_ngcontent-%COMP%]   .case-card[_ngcontent-%COMP%]   .row-heading[_ngcontent-%COMP%]{padding-left:27px!important}.my-case-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-left:50px!important}.issue-icon-dot[_ngcontent-%COMP%]{left:-7px;position:absolute;margin-top:2px}.data-empty-msg[_ngcontent-%COMP%]{padding-top:0}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px;color:#666;line-height:1.3}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-content[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{float:right}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;line-height:1.22;margin-top:0;display:block}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;top:-4px;padding:0}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#0096d6;font-size:18px;padding-left:10px;font-family:HPSimplified}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]{display:flex}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{line-height:1.22;word-wrap:break-word}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]   .case-export-btn[_ngcontent-%COMP%]{width:75%}.my-cases-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .my-case-header[_ngcontent-%COMP%]   .my-case-export[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px}}@media(min-width:1200px){.container[_ngcontent-%COMP%]{max-width:1218px!important}.container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .nopadding[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}}@media(max-width:1024px)and (min-width:769px){.case-export-btn[_ngcontent-%COMP%]{width:18px}}']})}}return i})(),data:{pageName:"dashboard",templateName:"Dashboard_Cases",skipSSOCheck:!0}}]},6311(ot,V){var D=function(){function g(){}return g.EOL="\r\n",g.BOM="\ufeff",g.DEFAULT_FIELD_SEPARATOR=",",g.DEFAULT_DECIMAL_SEPARATOR=".",g.DEFAULT_QUOTE='"',g.DEFAULT_SHOW_TITLE=!1,g.DEFAULT_TITLE="My Report",g.DEFAULT_FILENAME="mycsv.csv",g.DEFAULT_SHOW_LABELS=!1,g.DEFAULT_USE_BOM=!0,g.DEFAULT_HEADER=[],g.DEFAULT_NO_DOWNLOAD=!1,g.DEFAULT_REMOVE_EMPTY_VALUES=!1,g}();V.te={filename:D.DEFAULT_FILENAME,fieldSeparator:D.DEFAULT_FIELD_SEPARATOR,quoteStrings:D.DEFAULT_QUOTE,decimalseparator:D.DEFAULT_DECIMAL_SEPARATOR,showLabels:D.DEFAULT_SHOW_LABELS,showTitle:D.DEFAULT_SHOW_TITLE,title:D.DEFAULT_TITLE,useBom:D.DEFAULT_USE_BOM,headers:D.DEFAULT_HEADER,noDownload:D.DEFAULT_NO_DOWNLOAD,removeEmptyValues:D.DEFAULT_REMOVE_EMPTY_VALUES};var l=function(){function g(h,u,p){this.csv="";var R=p||{};this.data="object"!=typeof h?JSON.parse(h):h,this._options=function O(g){for(var h=[],u=1;u<arguments.length;u++)h[u-1]=arguments[u];for(var p,e,R=function k(g){if(null==g)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}(g),w=1;w<arguments.length;w++){for(var x in p=Object(arguments[w]))m.call(p,x)&&(R[x]=p[x]);if(Object.getOwnPropertySymbols){e=Object.getOwnPropertySymbols(p);for(var t=0;t<e.length;t++)$.call(p,e[t])&&(R[e[t]]=p[e[t]])}}return R}({},V.te,R),this._options.filename&&(this._options.filename=u),this.generateCsv()}return g.prototype.generateCsv=function(){if(this._options.useBom&&(this.csv+=D.BOM),this._options.showTitle&&(this.csv+=this._options.title+"\r\n\n"),this.getHeaders(),this.getBody(),""!=this.csv){if(this._options.noDownload)return this.csv;var h=new Blob([this.csv],{type:"text/csv;charset=utf8;"});if(navigator.msSaveBlob){var u=this._options.filename.replace(/ /g,"_")+".csv";navigator.msSaveBlob(h,u)}else{encodeURI(this.csv);var R=document.createElement("a");R.href=URL.createObjectURL(h),R.setAttribute("visibility","hidden"),R.download=this._options.filename.replace(/ /g,"_")+".csv",document.body.appendChild(R),R.click(),document.body.removeChild(R)}}else console.log("Invalid data")},g.prototype.getHeaders=function(){var h=this;if(this._options.headers.length>0){var p=this._options.headers.reduce(function(R,e){return R+e+h._options.fieldSeparator},"");p=p.slice(0,-1),this.csv+=p+D.EOL}},g.prototype.getBody=function(){for(var h=0;h<this.data.length;h++){var u="";for(var p in this.data[h])u+=this.formartData(this.data[h][p])+this._options.fieldSeparator;u=u.slice(0,-1),this.csv+=u+D.EOL}},g.prototype.formartData=function(h){return this._options.removeEmptyValues&&!h?"":"locale"===this._options.decimalseparator&&g.isFloat(h)?h.toLocaleStr
1ing():"."!==this._options.decimalseparator&&g.isFloat(h)?h.toString().replace(".",this._options.decimalseparator):"string"==typeof h?(h=h.replace(/"/g,'""'),(this._options.quoteStrings||h.indexOf(",")>-1||h.indexOf("\n")>-1||h.indexOf("\r")>-1)&&(h=this._options.quoteStrings+h+this._options.quoteStrings),h):"boolean"==typeof h?h?"TRUE":"FALSE":h},g.prototype.getCsv=function(){return this.csv},g.isFloat=function(h){return!(+h!==h||isFinite(h)&&!(h%1))},g}();V.cu=l;var m=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable},24995(ot,V,s){s.d(V,{A:()=>p});var D=s(59484),l=s(16545),m=s(55261),$=s(60123),k=s(23151),O=s(71487);const h=function g(R,e,w,x){if(!(0,k.A)(R))return R;for(var t=-1,I=(e=(0,m.A)(e,R)).length,j=I-1,A=R;null!=A&&++t<I;){var K=(0,O.A)(e[t]),et=w;if("__proto__"===K||"constructor"===K||"prototype"===K)return R;if(t!=j){var X=A[K];void 0===(et=x?x(X,K,A):void 0)&&(et=(0,k.A)(X)?X:(0,$.A)(e[t+1])?[]:{})}(0,l.A)(A,K,et),A=A[K]}return R},p=function u(R,e,w){for(var x=-1,t=e.length,I={};++x<t;){var j=e[x],A=(0,D.A)(R,j);w(A,j)&&h(I,(0,m.A)(j,R),A)}return I}},76746(ot,V,s){s.d(V,{A:()=>l});const l=function D(m,$,k){var O=-1,g=m.length;$<0&&($=-$>g?0:g+$),(k=k>g?g:k)<0&&(k+=g),g=$>k?0:k-$>>>0,$>>>=0;for(var h=Array(g);++O<g;)h[O]=m[O+$];return h}},85139(ot,V,s){s.d(V,{A:()=>h});var D=s(45839),l=s(5294),m=s(45618);var O=s(19247);const h=function g(u,p){return((0,O.A)(u)?D.A:l.A)(u,function $(u){return"function"==typeof u?u:m.A}(p))}},65644(ot,V,s){s.d(V,{A:()=>O});var D=s(7786),l=s(60190),m=s(87554),$=s(19247);const O=function k(g,h){return((0,$.A)(g)?D.A:m.A)(g,(0,l.A)(h,3))}},39422(ot,V,s){s.d(V,{A:()=>w});var D=s(24995),l=s(4863);var k=s(22383);const g=function O(x){return null!=x&&x.length?(0,k.A)(x,1):[]};var h=s(30513),u=s(78175);const w=function p(x){return(0,u.A)((0,h.A)(x,void 0,g),x+"")}(function(x,t){return null==x?{}:function m(x,t){return(0,D.A)(x,t,function(I,j){return(0,l.A)(x,j)})}(x,t)})},75507(ot,V,s){s.d(V,{A:()=>$});var D=s(76746),l=s(31933);const $=function m(k,O,g){return k&&k.length?(O=g||void 0===O?1:(0,l.A)(O),(0,D.A)(k,0,O<0?0:O)):[]}},61585(ot,V,s){s.d(V,{A:()=>I});var D=s(34902),l=s(33307),m=s(49267),$=s(64989),k=s(50679);var h=s(3365);const R=k.A&&1/(0,h.A)(new k.A([,-0]))[1]==1/0?function(j){return new k.A(j)}:function O(){},I=function t(j){return j&&j.length?function w(j,A,K){var et=-1,X=l.A,at=j.length,E=!0,B=[],L=B;if(K)E=!1,X=m.A;else if(at>=200){var J=A?null:R(j);if(J)return(0,h.A)(J);E=!1,X=$.A,L=new D.A}else L=A?[]:B;t:for(;++et<at;){var W=j[et],Y=A?A(W):W;if(W=K||0!==W?W:0,E&&Y==Y){for(var N=L.length;N--;)if(L[N]===Y)continue t;A&&L.push(Y),B.push(W)}else X(L,Y,K)||(L!==B&&L.push(Y),B.push(W))}return B}(j):[]}}}]);
2//# sourceMappingURL=src_routes_dashboard_routes_ts.60e96bf4f76dc5eb.js.map

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.