1"use strict";(self.webpackChunkhp_wcc=self.webpackChunkhp_wcc||[]).push([["src_app_pages_contact_modules_contact-container_contact-container_component_ts"],{6312(xe,le,a){a.d(le,{z:()=>s});var M=a(81351);const s=(0,M.hZ)("slideInOut",[(0,M.wk)("in",(0,M.iF)({height:"*",opacity:0})),(0,M.kY)(":leave",[(0,M.iF)({height:"*",opacity:1}),(0,M.Os)([(0,M.i0)(300,(0,M.iF)({height:0})),(0,M.i0)("200ms ease-in-out",(0,M.iF)({opacity:"0"}))])]),(0,M.kY)(":enter",[(0,M.iF)({height:"0",opacity:0}),(0,M.Os)([(0,M.i0)(300,(0,M.iF)({height:"*"})),(0,M.i0)("400ms ease-in-out",(0,M.iF)({opacity:"1"}))])])])},1581(xe,le,a){a.d(le,{H:()=>re});var M=a(37580),s=a(85240),u=a(86763),$=a(49074),j=a(93683),N=a(87380),p=a(12481),i=a(19885),K=a(20572),l=a(8130),h=a(72433),g=a(60480),W=a(1466);const e=["bcPlayerTag"],ae=X=>({rtl:X});function ue(X,Q){1&X&&p.eu8(0)}function me(X,Q){if(1&X){const q=p.RV6();p.j41(0,"div",2)(1,"button",6),p.bIt("click",function(){s.eBV(q);const oe=p.XpG();return s.Njj(oe.activeModal.dismiss("Cross click"))}),p.j41(2,"span",7),p.EFF(3,"\xd7"),p.k0s()(),p.j41(4,"div",8)(5,"div",9),p.DNE(6,ue,1,0,"ng-container",10),p.k0s()()()}if(2&X){const q=p.XpG(),J=p.sdS(5);
1p.Y8G("ngClass",p.eq3(2,ae,"rtl"===q.pageConfig().languageDirection)),p.R7$(6),p.Y8G("ngTemplateOutlet",J)}}function n(X,Q){1&X&&p.eu8(0)}function pe(X,Q){if(1&X){const q=p.RV6();p.j41(0,"div",3)(1,"a",11),p.bIt("click",function(){s.eBV(q);const oe=p.XpG();return s.Njj(oe.activeModal.dismiss("Cross click"))}),p.nrm(2,"img",12),p.k0s(),p.j41(3,"div",13)(4,"div",14),p.DNE(5,n,1,0,"ng-container",10),p.k0s()()()}if(2&X){const q=p.XpG(),J=p.sdS(5);p.Y8G("ngClass",p.eq3(2,ae,"rtl"===q.pageConfig().languageDirection)),p.R7$(5),p.Y8G("ngTemplateOutlet",J)}}function te(X,Q){if(1&X){const q=p.RV6();p.j41(0,"button",18),p.bIt("click",function(){s.eBV(q);const oe=p.XpG(2);return s.Njj(oe.activeModal.close("Close click"))}),p.j41(1,"span",19),p.EFF(2,"\xd7"),p.k0s()()}}function F(X,Q){1&X&&p.eu8(0)}function B(X,Q){if(1&X){const q=p.RV6();p.j41(0,"div")(1,"div",20)(2,"div",21)(3,"p",22),p.EFF(4),p.k0s(),p.j41(5,"div",23)(6,"button",24),p.bIt("click",function(){s.eBV(q);const oe=p.XpG(2);return s.Njj(oe.activeModal.close("Close click"))}),p.EFF(7),p.k0s()()(),p.j41(8,"div",25)(9,"p",26),p.EFF(10),p.k0s()()()()}if(2&X){let q,J;const oe=p.XpG(2);p.R7$(4),p.JRh(null==(q=oe.videoData())?null:q.title),p.R7$(3),p.SpI(" ",oe.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]," "),p.R7$(3),p.JRh(null==(J=oe.videoData())?null:J.description)}}function C(X,Q){if(1&X&&(p.j41(0,"div",4),p.nVh(1,te,3,0,"button",15),p.j41(2,"div",16)(3,"div",8)(4,"div",17),p.DNE(5,F,1,0,"ng-container",10),p.k0s()(),p.nVh(6,B,11,3,"div"),p.k0s()()),2&X){let q,J,oe;const _e=p.XpG(),L=p.sdS(5);p.R7$(),p.vxM("contact-solution"===(null==(q=_e.videoData())?null:q.pageSource)?1:-1),p.R7$(),p.Y8G("ngClass",p.eq3(5,ae,"rtl"===_e.pageConfig().languageDirection))("id","contact-solution"===(null==(J=_e.videoData())?null:J.pageSource)?"modal-video-contact-container":"modal-video-container"),p.R7$(3),p.Y8G("ngTemplateOutlet",L),p.R7$(),p.vxM("contact-solution"!==(null==(oe=_e.videoData())?null:oe.pageSource)?6:-1)}}function x(X,Q){if(1&X){const q=p.RV6();p.j41(0,"div",28)(1,"div",33),p.nrm(2,"img",34),p.j41(3,"h3"),p.EFF(4),p.k0s()(),p.j41(5,"button",35),p.bIt("click",function(){s.eBV(q);const oe=p.XpG(2);return s.Njj(oe.activeModal.close())}),p.j41(6,"span",36),p.EFF(7),p.k0s(),p.j41(8,"span",37),p.EFF(9,"\xd7"),p.k0s()()()}if(2&X){const q=p.XpG(2);p.R7$(4),p.JRh(q.allTranslations()["#pps_WCC_FS_HomeHP_Need_Help_link_text2"]),p.R7$(3),p.JRh(q.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"])}}function m(X,Q){1&X&&p.eu8(0)}function S(X,Q){if(1&X&&p.nrm(0,"p",30),2&X){let q;
1const J=p.XpG(2);p.Y8G("innerHTML",null==(q=J.videoData())?null:q.description,p.npT)}}function f(X,Q){if(1&X){const q=p.RV6();p.j41(0,"div",31)(1,"div",38),p.nrm(2,"p",39),p.j41(3,"div")(4,"button",40),p.bIt("click",function(){s.eBV(q);const oe=p.XpG(2);return s.Njj(oe.activeModal.close("Close click"))}),p.EFF(5),p.k0s()()(),p.j41(6,"div",25),p.nrm(7,"p",41),p.k0s()()}if(2&X){let q,J;const oe=p.XpG(2);p.R7$(2),p.Y8G("innerHTML",null==(q=oe.videoData())?null:q.title,p.npT),p.R7$(2),p.Y8G("title",oe.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]),p.R7$(),p.SpI(" ",oe.allTranslations()["#pps_WCC_FS_Search_Results_Conflict_Modal_Close"]," "),p.R7$(2),p.Y8G("innerHTML",null==(J=oe.videoData())?null:J.description,p.npT)}}function D(X,Q){if(1&X&&(p.j41(0,"div",32)(1,"span")(2,"a",42),p.EFF(3),p.k0s()(),p.j41(4,"span"),p.EFF(5),p.k0s()()),2&X){const q=p.XpG(2);p.R7$(2),p.Y8G("href",q.gdprLink(),p.B4B),p.R7$(),p.JRh(q.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),p.R7$(2),p.JRh(q.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"])}}function y(X,Q){if(1&X&&(p.j41(0,"div",27),p.nVh(1,x,10,2,"div",28),p.j41(2,"div",13)(3,"div",29),p.DNE(4,m,1,0,"ng-container",10),p.k0s(),p.nVh(5,S,1,1,"p",30),p.k0s(),p.nVh(6,f,8,4,"div",31),p.nVh(7,D,6,3,"div",32),p.k0s()),2&X){let q;
1const J=p.XpG(),oe=p.sdS(5);p.HbH(p.VkB("modal-video-container ",J.hub.pageConfig().theme)),p.Y8G("ngClass",p.eq3(9,ae,"rtl"===J.pageConfig().languageDirection)),p.R7$(),p.vxM(J.hub.isDefaultTheme()||J.hub.isVisidTheme()?1:-1),p.R7$(3),p.Y8G("ngTemplateOutlet",oe),p.R7$(),p.vxM(null!=(q=J.videoData())&&q.hideDescription?-1:5),p.R7$(),p.vxM(J.hub.isDefaultTheme()||J.hub.isVeneerTheme()?6:-1),p.R7$(),p.vxM(J.hub.isDefaultTheme()?7:-1)}}function _(X,Q){if(1&X&&(p.nrm(0,"iframe",43),p.nI1(1,"safe")),2&X){let q,J,oe;const _e=p.XpG(2);p.Y8G("width",null==(q=_e.videoData())?null:q.width)("height",null==(J=_e.videoData())?null:J.height)("src",p.bMT(1,4,_e.youTubeEmbedUrl()+"?autoplay="+(_e.videoAutoPlay()?1:0)+"&rel=0"),p.f$h),p.BMQ("data-anr-id","wccvideo-"+(null==(oe=_e.videoData())?null:oe.video_id))}}function R(X,Q){if(1&X&&p.nrm(0,"video",44,1),2&X){let q,J,oe;const _e=p.XpG(2);p.Y8G("id",null==(q=_e.videoData())?null:q.video_id)("autoplay",_e.videoAutoPlay()),p.BMQ("data-video-id",null==(J=_e.videoData())?null:J.video_id)("data-anr-id","wccvideo-"+(null==(oe=_e.videoData())?null:oe.video_id))("data-account",_e.brightcoveAccountId())("data-player",_e.brightcovePlayerID())}}function U(X,Q){if(1&X&&(p.nVh(0,_,2,6,"iframe",43),p.nVh(1,R,2,6,"video",44)),2&X){let q,J;const oe=p.XpG();p.vxM(null!=(q=oe.videoData())&&q.showBrightcoveVideo?-1:0),p.R7$(),p.vxM(null!=(J=oe.videoData())&&J.showBrightcoveVideo?1:-1)}}let re=(()=>{class X{constructor(q,J,oe,_e,L,de,E,z){this.pageService=q,this.activeModal=J,this.appSelectorStore=oe,this.videoService=_e,this.commonService=L,this.hub=de,this.document=E,this.destroyRef=z,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.videoAutoPlay=(0,s.vPA)(!1),this.allTranslations=(0,s.vPA)({}),this.youTubeEmbedUrl=(0,s.vPA)(""),this.brightcovePlayerID=(0,s.vPA)(""),this.brightcoveAccountId=(0,s.vPA)(""),this.videoData=(0,s.vPA)(null),this.brightcoveLangConfig=(0,s.vPA)(null),this.fallbackLangCode=(0,s.vPA)(""),this.bcPlayerTag=(0,M.ebz)("bcPlayerTag"),this.gdprLink=(0,s.vPA)(""),this.window=this.document.defaultView,this.playerInstance=(0,s.vPA)(null),this.destroyRef.onDestroy(()=>{this.pageConfig().isBrowser&&this.playerInstance()&&(this.playerInstance().dispose(),this.playerInstance.set(null))})}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,$.pQ)(this.destroyRef)).subscribe(q=>this.allTranslations.set(q)),this.appSelectorStore.isVideoAutoPlayEnabled().pipe((0,$.pQ)(this.destroyRef)).subscribe(q=>this.videoAutoPlay.set(q)),this.brightcovePlayerID.set(this.videoService.brightcovePlayerID),this.brightcoveAccountId.set(this.videoService.brightcoveAccountId),this.youTubeEmbedUrl.set("https://www.youtube-nocookie.com/embed/"+this.videoData()?.video_id),this.commonService.hpDotComCcLcMappingSub.pipe((0,$.pQ)(this.destroyRef)).subscribe(q=>{let J=q[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==q[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(J=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.gdprLink.set(`https://www.hp.com/${J}/privacy/privacy.html`)})}ngAfterContentInit(){const q=this.videoData();this.commonService.trackVideosViewed(q?.video_id),this.videoService.updateGDLForVideo(q?.video_id),q?.showBrightcoveVideo&&this.videoService.loadScripForBrightCove()}enableAutoLangForBrightcove(){const q=this.document.documentElement.getAttribute("lang"),J=this.brightcoveLangConfig(),oe=de=>q in J&&J[q]===de.language,_e=(de,E,z)=>{"text"===E?de.mode=z?"showing":"disabled":de.enabled=z},L=(de,E)=>{let z=!1,V=-1;for(let Ce=0;Ce<de.length;Ce++){const ne=de[Ce];"text"===E&&"subtitles"!==ne.kind||(ne.language===this.fallbackLangCode()&&(V=Ce),oe(ne)?(z=!0,_e(ne,E,!0)):_e(ne,E,!1))}!z&&-1!==V&&_e(de[V],E,!0)};this.playerInstance()?.ready(()=>{this.playerInstance().on("loadeddata",function(){const E=this.textTracks(),z=this.audioTracks();L(E,"text"),L(z,"audio")})})}ngAfterViewInit(){const q=this.bcPlayerTag();this.pageConfig().isBrowser&&q&&this.window.bc&&(this.playerInstance.set(this.window.bc(q.nativeElement)),this.appSelectorStore.getSscKey$(["BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG","ENABLE_BRIGHTCOVE_AUTOLANG_FEATURE","BRIGHTCOVE_AUDIO_CAPTION_DEFAULT_LANG_CONFIG"]).pipe((0,$.pQ)(this.destroyRef)).subscribe(J=>{const oe="yes"===J?.ENABLE_BRIGHTCOVE_AUTOLANG_FEATURE?.toLowerCase();this.brightcoveLangConfig.set(J?.BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG?this.commonService.safeParseJSON(J.BRIGHTCOVE_AUDIO_CAPTION_LANG_CONFIG):{}),this.fallbackLangCode.set(J?.BRIGHTCOVE_AUDIO_CAPTION_DEFAULT_LANG_CONFIG??"en"),oe&&this.enableAutoLangForBrightcove()}))}static{this.\u0275fac=function(J){return new(J||X)(p.rXU(i.b),p.rXU(K.Lw),p.rXU(l.q),p.rXU(h.r),p.rXU(g.h),p.rXU(W.M),p.rXU(s.qQL),p.rXU(s.abz))}}static{this.\u0275cmp=p.VBU({type:X,selectors:[["app-common-video-modal"]],viewQuery:function(J,oe){1&J&&p.wEZ(oe.bcPlayerTag,e,5),2&J&&p.NyB()},decls:6,vars:1,consts:[["videoContent",""],["bcPlayerTag",""],[1,"modal-video-container-1","videoWidth",3,"ngClass"],[1,"modal-video-container-2","videoWidth",3,"ngClass"],[1,"solution-player"],[3,"class","ngClass"],["type","button","aria-label","Close",1,"instant-ink-close",3,"click"],["aria-hidden","true"],["tabindex","0",1,"modal-header","p-0"],["id","instant_player","tabindex","0",1,"video-player"],[4,"ngTemplateOutlet"],["href","javascript:void(0)","aria-label","Close",1,"close",3,"click"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/swd/x_icon.png","alt","close icon"],[1,"modal-header","p-0"],["id","instant_player",1,"video-player"],["type","button","aria-label","Close","id","Modal_video_solution_X_btn",1,"close"],[1,"modal-video-container",3,"ngClass","id"],["id","solution_player","tabindex","0",1,"video-player"],["type","button","aria-label","Close","id","Modal_video_solution_X_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[1,"modal-body","d-flex","justify-content-center","align-items-center","row","pl-37","m-0"],[1,"video-title","d-flex","justify-content-center","align-items-start","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0","ml-40"],["id","video-body-title",1,"modal-title","col-sm-8","col-md-8","col-lg-8","col-xl-8"],[1,"d-flex","pr-0","pl-0","align-items-center","m-top-8","justify-content-center","col-sm-4","col-md-4","col-lg-4","col-xl-4"],["type","button",1,"primary-button",3,"click"],[1,"video-desp","d-flex","justify-content-start","col-sm-12","col-md-12","col-lg-12","col-xl-12","p-0","pt-2"],["id","video-body-description",1,""],[3,"ngClass"],[1,"modal-main-header"],["id","player",1,"video-player"],["id","video-body-description",1,"video-description","for-visid",3,"innerHTML"],[1,"modal-body"],[1,"help-modal-footer"],[1,"modal-title"],["src","/wcc-assets/images/hp-logo-modal.gif","alt","HP Logo",1,"hp-logo"],["type","button","aria-label","Close",1,"close","for-visid",3,"click"],[1,"text"],["aria-hidden","true",1,"icon"],[1,"video-title"],["id","video-body-title",1,"modal-title",3,"innerHTML"],["type","button",1,"primary-button",3,"click","title"],["id","video-body-description",1,"",3,"innerHTML"],["alt","Privacy policy","target","_blank",3,"href"],["tabindex","0","allow","autoplay","frameborder","0","allowfullscreen","",3,"width","height","src"],["data-embed","default","data-application-id","","controls","",1,"video-js",2,"position","absolute","width","100%","height","100%",3,"id","auto
1play"]],template:function(J,oe){if(1&J&&(p.nVh(0,me,7,4,"div",2)(1,pe,6,4,"div",3)(2,C,7,7,"div",4)(3,y,8,11,"div",5),p.DNE(4,U,2,2,"ng-template",null,0,p.C5r)),2&J){let _e;p.vxM(null!=(_e=oe.videoData())&&_e.SdpPopupVideoComponent?0:null!=(_e=oe.videoData())&&_e.SwdDriverVideoComponent?1:null!=(_e=oe.videoData())&&_e.SolutionVideoPlayerComponent?2:3)}},dependencies:[j.MD,j.YU,j.T3,N.m],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}@media screen and (min-width:320px)and (max-width:768px){.videoWidth[_ngcontent-%COMP%]{width:90vw}}.modal-video-container-1[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{position:absolute;color:#707070;top:-12%;right:-22%;opacity:1;z-index:0;font-size:20px}.modal-video-container-1[_ngcontent-%COMP%] button.instant-ink-close[_ngcontent-%COMP%]{position:fixed;top:-48px;right:5px;font-size:45px;color:#212121;background:none;border:none;cursor:pointer;z-index:1060;opacity:1;padding:0 4px;display:flex;align-items:center;justify-content:center}.modal-video-container-1[_ngcontent-%COMP%] button.instant-ink-close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:0}.modal-video-container-1[_ngcontent-%COMP%] button.instant-ink-close[_ngcontent-%COMP%]:focus{border:2px solid #0096D6!important;box-shadow:none!important;outline:none!important}@media only screen and (min-width:768px)and (max-width:991px){.modal-video-container-1[_ngcontent-%COMP%] button.instant-ink-close[_ngcontent-%COMP%]{right:5px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container-1[_ngcontent-%COMP%] button.instant-ink-close[_ngcontent-%COMP%]{right:0;font-size:35px}}.modal-video-container-1[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{width:100%;padding:0!important;margin:0}.modal-video-container-1[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 0 56.25%;margin:0 0 -4px}.modal-video-container-1[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{border:0px;width:100%;min-height:400px}@media screen and (max-width:768px){.modal-video-container-1[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{min-height:unset}}.modal-video-container-1[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{width:100%;border-top:none}.modal-video-container-1[_ngcontent-%COMP%] #instant_player[_ngcontent-%COMP%] .video-js[_ngcontent-%COMP%] .vjs-big-play-button[_ngcontent-%COMP%] .vjs-icon-placeholder[_ngcontent-%COMP%]:before{top:0!important}.modal-video-container-2[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{padding-bottom:56.25%}.modal-video-container-2[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:-46px;right:-83px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.modal-video-container-2[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{right:10px}.modal-video-container-2[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:333px;height:187.31}}#solution_player[_ngcontent-%COMP%] .video-js[_ngcontent-%COMP%]{width:100%!important;padding-bottom:56%}.solution-player[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:35px;color:#707070;position:absolute;right:-151px;top:-62px}.solution-player[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]:hover{background-color:transparent}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .giveFbBtn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{width:100%;padding:0!important;margin:0}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal
1-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{width:100%;height:100%;margin:0}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{border:0px;width:100%;min-height:360px}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{width:100%;border-top:none}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] #video-body-title[_ngcontent-%COMP%], .solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] #video-body-description[_ngcontent-%COMP%]{font-family:HPSimplified;font-style:normal;letter-spacing:normal;text-align:left;color:#2c3038}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0;font-family:HPSimplified}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .video-footer[_ngcontent-%COMP%] #video-footer-content[_ngcontent-%COMP%]{color:#2c3038;font-family:HPSimplified;margin:0}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .video-feedback[_ngcontent-%COMP%]{margin-left:-.25rem}.solution-player[_ngcontent-%COMP%] .modal-video-container.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .solution-player[_ngcontent-%COMP%] .modal-video-container.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-desp[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:right!important}.solution-player[_ngcontent-%COMP%] .modal-video-container[_ngcontent-%COMP%] #solution_player[_ngcontent-%COMP%] .video-js[_ngcontent-%COMP%] .vjs-big-play-button[_ngcontent-%COMP%] .vjs-icon-placeholder[_ngcontent-%COMP%]:before{top:0!important}.solution-player[_ngcontent-%COMP%] #modal-video-contact-container[_ngcontent-%COMP%]{width:100%;height:100%;background-color:#f7f7f7}@media screen and (max-width:990px){#hp-support-com[_ngcontent-%COMP%] .app-modal-window[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:98%!important;margin-left:auto!important;margin-right:auto!important}}@media screen and (max-width:768px){#hp-support-com[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:96%!important;margin:10px auto!important}}.m-top-8[_ngcontent-%COMP%]{margin-top:8px}.modal-video-container[_ngcontent-%COMP%] .giveFbBtn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border-bottom:1px solid #efefef;align-items:center}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{display:flex;padding:20px 32px;align-items:center;gap:10px}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .hp-logo[_ngcontent-%COMP%]{width:40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{padding:32px}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .hp-logo[_ngcontent-%COMP%]{display:none}}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:20px;margin-bottom:0}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:16px;display:inline-block;position:relative;margin:0 22px;background-color:transparent;border:1px solid transparent;outline:1px solid transparent;opacity:unset;font-weight:500;min-height:100%}
1.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:none}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-family:HPControlIcons;font-size:30px;color:#767676}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover .icon[_ngcontent-%COMP%], .modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus-visible .icon[_ngcontent-%COMP%]{color:#000}.modal-video-container[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 2px 1px #0096d6}.modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{width:100%;padding:20px;margin:0;height:-moz-fit-content!important;height:fit-content!important;border-bottom:none}.modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{position:relative;width:100%;padding-bottom:51.2%;margin:36px 40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{margin:16px}}.modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{border:0px;position:absolute;width:100%;height:100%}.modal-video-container[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-description.for-visid[_ngcontent-%COMP%]{display:none}.modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{display:none;width:100%;border-top:none}.modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-title[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between}.modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] #video-body-title[_ngcontent-%COMP%], .modal
1-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] #video-body-description[_ngcontent-%COMP%]{font-family:HPSimplified;font-style:normal;letter-spacing:normal;text-align:left;margin-right:15px;color:#2c3038}.modal-video-container[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0;font-family:HPSimplified}.modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start}.modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .video-footer[_ngcontent-%COMP%] #video-footer-content[_ngcontent-%COMP%]{color:#2c3038;font-family:HPSimplified;margin:0}.modal-video-container[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .video-feedback[_ngcontent-%COMP%]{margin-left:-.25rem}.modal-video-container[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;margin-top:0;padding:15px;border-top:1px solid #efefef;font-size:12px;color:#767676;font-family:HPSimplified}.modal-video-container[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.modal-video-container[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;padding:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%]{flex-direction:column}.modal-video-container[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-bottom:8px}}.modal-video-container.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .modal
1-video-container.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-desp[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:right!important}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%]{border-bottom:1px solid #000000;align-items:center}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%]{align-items:center;flex-direction:row;padding:12px 16px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{padding:0;flex:1}}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .hp-logo[_ngcontent-%COMP%]{display:none}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:32px;margin-bottom:0;line-height:40px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px;padding-bottom:0}}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;gap:5px;margin:8px 20px;padding:4px 12px;outline:none;min-height:100%;flex-shrink:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{min-height:auto;margin:0;padding:4px 8px}}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover{background-color:#ebf9ff;border:1px solid black}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:active{background-color:#caf3ff;border:1px solid black}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus-visible{border:1px solid #0278AB;outline:1px solid #0278AB;box-shadow:none}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:block;color:#000;
1font-family:Forma DJR UI!important}.modal-video-container.visid[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:26px;transform:translateY(-9%);color:#000}.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:32px!important;display:block!important;border-bottom:none}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:30px 15px!important}}.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:12px!important;margin-bottom:0!important;color:#000;font-size:16px;line-height:24px}.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{background-color:#ebf9ff!important}.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{margin:0;padding-bottom:56.25%}.modal-video-container.visid[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-description.for-visid[_ngcontent-%COMP%]{display:block}.modal-video-container.visid[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], .modal
1-video-container.visid[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%], .modal-video-container.veneer[_ngcontent-%COMP%] .modal-main-header[_ngcontent-%COMP%]{display:none}.modal-video-container.veneer[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{display:block}.modal-video-container.veneer[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:block!important;overflow:auto}.modal-video-container.veneer[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .video-player[_ngcontent-%COMP%]{margin:0;padding-bottom:56.25%}.modal-video-container.veneer[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%]{display:none}']})}}return X})()},89751(xe,le,a){a.d(le,{S:()=>te});var M=a(37580),s=a(85240),u=a(18537),$=a(63617),j=a(52575),N=a(70271),p=a(93551),i=a(93683),K=a(20572),l=a(12481);const h=(F,B)=>({"full-width":F,"accordian-dropdown":B}),g=(F,B,C)=>({"full-width":F,"has-error":B,disabled:C});function W(F,B){if(1&F){const C=l.RV6();l.j41(0,"button",10),l.bIt("blur",function(){s.eBV(C);const m=l.XpG(2).$implicit,S=l.XpG();return s.Njj(S.onBlurDropdown(m))})("keydown.Tab",function(){s.eBV(C),l.XpG(3);const m=l.sdS(3);return s.Njj(m.close())})("keydown.enter",function(){s.eBV(C);const m=l.XpG(2).$implicit,S=l.XpG();return s.Njj(S.onOptionClick(m))})("click",function(){s.eBV(C);const m=l.XpG(2).$implicit,S=l.XpG();return s.Njj(S.onOptionClick(m))}),l.EFF(1),l.k0s()}if(2&F){const C=l.XpG(2),x=C.$implicit,m=C.$index,S=l.XpG();l.HbH(l.ai1("menu-item dropdown-item ",S.dropdownName(),"-item-",m)),l.Y8G("id",S.getAnrId(x)),l.R7$(),l.JRh(x[S.keyName()])}}function e(F,B){if(1&F&&l.nVh(0,W,2,6,"button",9),2&F){const C=l.XpG().$implicit,x=l.XpG();l.vxM(x.showTab(C)?0:-1)}}function ae(F,B){if(1&F){const C=l.RV6();l.j41(0,"button",13),l.bIt("blur",function(){s.eBV(C);const m=l.XpG().$implicit,S=l.XpG(4);return s.Njj(S.onBlurDropdown(m))})("keydown.enter",function(){s.eBV(C);const m=l.XpG().$implicit,S=l.XpG(4);return s.Njj(S.onOptionClick(m))})("click",function(){s.eBV(C);const m=l.XpG().$implicit,S=l.XpG(4);return s.Njj(S.onOptionClick(m))}),l.EFF(1),l.k0s()}if(2&F){const C=l.XpG(),x=C.$implicit,m=C.$index,S=l.XpG(4);l.HbH(l.ai1("collapsible-item menu-item dropdown-item ",S.dropdownName(),"-item-",m)),l.Y8G("id",S.getAnrId(x)),l.R7$(),l.JRh(x[S.keyName()])}}function ue(F,B){if(1&F&&l.nVh(0,ae,2,6,"button",9),2&F){const C=B.$implicit,x=l.XpG(4);l.vxM(x.showTab(C)?0:-1)}}function me(F,B){if(1&F&&l.Z7z(0,ue,1,1,null,null,l.fX1),2&F){const C=l.XpG(2).$implicit;l.Dyx(null==C?null:C.children)}}function n(F,B){if(1&F){const C=l.RV6();l.j41(0,"a",11),l.bIt("keydown.enter",function(m){s.eBV(C);const S=l.XpG().$implicit,f=l.XpG();return s.Njj(f.onAccordianClick(m,S))})("click",function(m){s.eBV(C);const S=l.XpG().$implicit,f=l.XpG();return s.Njj(f.onAccordianClick(m,S))}),l.j41(1,"div",12),l.EFF(2),l.k0s(),l.nrm(3,"div",6),l.k0s(),l.nVh(4,me,2,0)}if(2&F){const C=l.XpG(),x=C.$implicit,m=C.$index,S=l.XpG();l.HbH(l.ai1("collapsible-menu-header ",S.dropdownName(),"-item1-",m)),l.Y8G("id",S.getAnrId(x)),l.R7$(2),l.JRh(x[S.keyName()]),l.R7$(),l.Y8G("ngClass",null!=x&&x.show?"icon-up":"icon-dwn"),l.R7$(),l.vxM(null!=x&&x.show?4:-1)}}function pe(F,B){if(1&F&&(l.qex(0,8),l.nVh(1,e,1,1)(2,n,5,8),l.bVm()),2&F){const C=B.$implicit;l.R7$(),l.vxM(null!=C&&C.isNested?2:1)}}let te=(()=>{class F{constructor(C){this.elRef=C,this.options=(0,M.geq)(),this.keyName=(0,M.hFB)("name"),this.buffer=(0,s.vPA)([]),this.hElement=this.elRef.nativeElement,this.dropdownName=(0,M.hFB)(""),this.hasError=(0,M.hFB)(!1),this.selectedOption=(0,M.hFB)(null),this.fullWidth=(0,M.hFB)(!1),this.placeholder=(0,M.hFB)(""),this.disabled=(0,M.hFB)(!1),this.isNested=(0,M.geq)(!1),this.sort=(0,M.hFB)({}),this.optionSelected=(0,M.CGW)(),this.onBlurSelection=(0,M.CGW)()}getSequentialValue(C){return this.buffer.set([...this.buffer(),C.key]),this.buffer().join("")}showTab(C){return typeof C?.showTab>"u"||C?.showTab}getAnrId(C){let x=C[this.keyName()]?.replace(/ /g,"_");return x?.replace(/[^\w \s]/g,"-")??x}ngOnChanges(C){C?.options?.currentValue?.length&&this.formatNestedOptions(C.options.currentValue)}formatNestedOptions(C){const x=C.map(S=>{const f={...S};if(S?.children?.length&&Array.isArray(S.children)){this.isNested.set(!0),f.isNested=!0,f.show=1===S?.children?.length;const D=this.sort();if(!(0,p.A)(D)&&D?.dir){const y=this.sortWithDirection(S.children,"name",D.dir);S.children=y}return f}return f}),m=this.sort();if(!(0,p.A)(m)&&m?.dir){const S=this.sortWithDirection(x,"name",m.dir);return void this.options.set(S)}this.options.set(x)}ngAfterViewInit(){const C=this.hElement.getElementsByClassName(this.dropdownName())[0],x=this.hElement.getElementsByClassName(this.dropdownName()+"-menu")[0],m=(0,u.R)(C,"keydown").pipe((0,N.T)(D=>
1this.getSequentialValue(D)),(0,j.B)(500)),S=(0,u.R)(x,"keydown").pipe((0,N.T)(D=>this.getSequentialValue(D)),(0,j.B)(500));(0,$.h)(m,S).subscribe(D=>{this.searchForKey(D),this.buffer.set([])})}ngOnInit(){}onOptionClick(C){this.optionSelected.emit({option:C})}onBlurDropdown(C){this.onBlurSelection.emit({option:C})}searchForKey(C){let x,m=!1;for(let f of this.options()){let D=f[this.keyName()];for(;D.length;){if(D.toLowerCase()===C.toLowerCase()){x=f[this.keyName()],m=!0;break}D=D.substring(0,D.length-1)}if(m)break}let S=this.hElement.getElementsByClassName("menu-item");Array.prototype.forEach.call(S,function(f){x===f.innerText.trim()&&f.focus()})}onAccordianClick(C,x){C.preventDefault(),x.show=!x.show}sortWithDirection(C,x,m){return C.sort(m&&"asc"!==m?(S,f)=>f[x].localeCompare(S[x]):(S,f)=>S[x].localeCompare(f[x]))}static{this.\u0275fac=function(x){return new(x||F)(l.rXU(l.aKT))}}static{this.\u0275cmp=l.VBU({type:F,selectors:[["app-ngbd-dropdown"]],inputs:{options:[1,"options"],keyName:[1,"keyName"],dropdownName:[1,"dropdownName"],hasError:[1,"hasError"],selectedOption:[1,"selectedOption"],fullWidth:[1,"fullWidth"],placeholder:[1,"placeholder"],disabled:[1,"disabled"],isNested:[1,"isNested"],sort:[1,"sort"]},outputs:{options:"optionsChange",isNested:"isNestedChange",optionSelected:"optionSelected",onBlurSelection:"onBlurSelection"},features:[l.OA$],decls:11,vars:30,consts:[["dropDownInst","ngbDropdown"],[1,"row"],[1,"col"],["ngbDropdown","",1,"d-inline-block","hp-dropdown",3,"ngClass","id"],["tabindex","0","type","button","ngbDropdownToggle","",3,"ngClass","id","title","disabled"],[1,"selected-item"],[3,"ngClass"],["ngbDropdownMenu","",3,"id","ngClass"],["tabindex","0"],["type","button","ngbDropdownItem","",3,"class","id"],["type","button","ngbDropdownItem","",3,"blur","keydown.Tab","keydown.enter","click","id"],["type","button","tabindex","0",3,"keydown.enter","click","id"],[1,"menu-parent-item"],["type","button","ngbDropdownItem","",3,"blur","keydown.enter","click","id"]],template:function(x,m){if(1&x&&(l.j41(0,"div",1)(1,"div",2)(2,"div",3,0)(4,"button",4)(5,"div",5),l.EFF(6),l.k0s(),l.nrm(7,"div",6),l.k0s(),l.j41(8,"div",7),l.Z7z(9,pe,3,1,"ng-container",8,l.fX1),l.k0s()()()()),2&x){const S=l.sdS(3);l.R7$(2),l.Y8G("id",l.VkB("",m.dropdownName(),"-container"))("ngClass",l.l_i(23,h,m.fullWidth(),m.isNested())),l.R7$(2),l.HbH(l.VkB("menu ",m.dropdownName())),l.Y8G("id",l.mNQ(m.dropdownName()))("title",l.mNQ(m.selectedOption()))("ngClass",l.sMw(26,g,m.fullWidth(),m.hasError(),m.disabled()))("disabled",m.disabled()),l.R7$(),l.AVh("placeholder",!m.selectedOption()&&m.placeholder()),l.R7$(),l.JRh(!m.selectedOption()&&m.placeholder()?m.placeholder():m.selectedOption()),l.R7$(),l.Y8G("ngClass",S.isOpen()?"icon-up":"icon-dwn"),l.R7$(),l.HbH(l.VkB("menu-container ",m.dropdownName(),"-menu")),l.Y8G("id",l.VkB("",m.dropdownName(),"-menu"))("ngClass",m.fullWidth()?"full-width":""),l.BMQ("aria-labelledby",m.dropdownName()),l.R7$(),l.Dyx(m.options())}},dependencies:[i.YU,K.zH,K.tg,K.do,K.U0,K._H,K.Eu],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:0;height:48px;border-color:#000;
1font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#000}.vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%], .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:24px;color:#adadad}.vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#f3fbfe}.vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active, .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:active, .vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{font-family:Forma DJR UI;background:#f3fbfe;color:#000;background-image:url(/wcc-assets/images/dropdown-check-icon.svg);background-repeat:no-repeat;background-position:calc(100% - 13px) 20px;box-shadow:none}.vis-id[_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:has(.selected-item), .vis-id [_nghost-%COMP%] .hp-dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:has(.selected-item){background-image:none}}"]})}}return F})()},39739(xe,le,a){a.d(le,{K:()=>z});var M=a(86763),s=a(85240),u=a(84205),$=a(33900),j=a(2435),N=a(93551),p=a(78767),i=a(54041),K=a(37580),l=a(76119),h=a(12481),g=a(8130);const W=(V,Ce)=>Ce.imagePath;function e(V,Ce){if(1&V&&(h.j41(0,"div",3)(1,"div",4),h.nrm(2,"img",5),h.j41(3,"div",6)(4,"p"),h.EFF(5),h.k0s()()()()),2&V){const ne=Ce.$implicit;h.R7$(2),h.Y8G("src",ne.imagePath,h.B4B)("alt",ne.imageDesc),h.R7$(3),h.JRh(ne.imageDesc)}}function ae(V,Ce){if(1&V&&(h.j41(0,"div",0)(1,"div",1)(2,"app-slider",2),h.Z7z(3,e,6,3,"div",3,W),h.k0s()()()),2&V){const ne=h.XpG();h.R7$(2),h.Y8G("config",ne.config())("horizontalNav",!0)("pagination",!1),h.R7$(),h.Dyx(ne.carouselImages())}}let ue=(()=>{class V{constructor(ne){this.appSelectorStore=ne,this.carouselImage=(0,K.hFB)(null),this.allTranslations=(0,s.vPA)({}),this.carouselImages=(0,s.vPA)(null),this.productName=(0,s.vPA)(""),this.config=(0,s.vPA)({loop:!0,autoplay:{delay:5e3},spaceBetween:7,observeParents:!0}),this.destroySubject$=new u.B}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,$.Q)(this.destroySubject$)).subscribe(ne=>this.allTranslations.set(ne)),setTimeout(()=>{this.carouselImages.set(this.carouselImage())},0)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ve){return new(ve||V)(h.rXU(g.q))}}static{this.\u0275cmp=h.VBU({type:V,selectors:[["app-modal-carousel-basic"]],inputs:{carouselImage:[1,"carouselImage"]},decls:1,vars:1,consts:[[1,"pfinder-carousel-basic"],[1,"image-slider","carouselSlider"],["name","carousel-slider","wrapperCss","pfinder-carousel","horizontalNavArrowsPosition","outside","horizontalArrowSize","12","horizontalArrowType","lightGray",3,"config","horizontalNav","pagination"],[1,"swiper-slide"],[1,"carousel-content","align-center"],[3,"src","alt"],[1,"carousel-caption-text"]],template:function(ve,he){1&ve&&h.nVh(0,ae,5,3,"div",0),2&ve&&h.vxM(he.carouselImages()&&he.carouselImages().length>0?0:-1)},dependencies:[l.d],styles:[".carousel-section[_ngcontent-%COMP%] .carousel-content[_ngcontent-%COMP%] .carousel-caption-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;margin-top:10px}.carousel-section[_ngcontent-%COMP%] .carousel-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:75%}"]})}}return V})();var me=a(93683),n=a(78808),pe=a(19885),te=a(60480),F=a(20572),B=a(50565),C=a(11439);const x=(V,Ce,ne,ve)=>({"vis-id-pfinder-modal vis-id":V,rtl:Ce,ltr:ne,videoModel:ve});function m(V,Ce){1&V&&h.nrm(0,"img",4)}function S(V,Ce){if(1&V&&(h.j41(0,"div",5)(1,"h3",11),h.EFF(2),h.k0s()()),2&V){const ne=h.XpG();h.R7$(2),h.JRh(ne.modalInfo().modalHeader)}}function f(V,Ce){if(1&V&&(h.j41(0,"p",14),h.EFF(1),h.k0s()),2&V){const ne=h.XpG(2);h.R7$(),h.SpI(" ",ne.modalInfo().modalText," ")}}function D(V,Ce){if(1&V&&(h.j41(0,"p",15),h.EFF(1),h.k0s()),2&V){const ne=h.XpG(2);
1h.R7$(),h.JRh(ne.modalInfo().modalDesc1)}}function y(V,Ce){if(1&V&&(h.j41(0,"p",15),h.EFF(1),h.k0s()),2&V){const ne=h.XpG(2);h.R7$(),h.JRh(ne.modalInfo().modalDesc2)}}function _(V,Ce){if(1&V&&(h.j41(0,"a",16),h.EFF(1),h.k0s()),2&V){let ne,ve,he;const De=h.XpG(2);h.Y8G("globalLink",De.onRedirection(null==(ne=De.modalInfo())?null:ne.modalLink1_Path))("linkTarget","_blank"===(null==(ve=De.modalInfo())?null:ve.modalLink1_Target)?"newtab":"self"),h.BMQ("id",null==(he=De.modalInfo())?null:he.modalLink1_Anrid)("title",De.modalInfo().modalLink1_Text),h.R7$(),h.SpI(" ",De.modalInfo().modalLink1_Text," ")}}function R(V,Ce){if(1&V&&(h.j41(0,"li"),h.EFF(1),h.k0s()),2&V){const ne=Ce.$implicit;h.R7$(),h.JRh(ne.text)}}function U(V,Ce){if(1&V&&(h.j41(0,"div",17)(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",18)(5,"div",25)(6,"ul"),h.Z7z(7,R,2,1,"li",null,h.fX1),h.k0s()()()()()()()),2&V){let ne;const ve=h.XpG(2);h.R7$(7),h.Dyx(null==(ne=ve.modalInfo())?null:ne.modalListItems)}}function re(V,Ce){if(1&V&&(h.j41(0,"p",26),h.EFF(1),h.k0s()),2&V){let ne;const ve=h.XpG(3);h.R7$(),h.JRh(null==(ne=ve.modalInfo())?null:ne.carouselHeader)}}function X(V,Ce){if(1&V&&(h.j41(0,"div",19),h.nVh(1,re,2,1,"p",26),h.nrm(2,"app-modal-carousel-basic",27),h.k0s()),2&V){let ne,ve;const he=h.XpG(2);h.R7$(),h.vxM(null!=(ne=he.modalInfo())&&ne.carouselHeader?1:-1),h.R7$(),h.Y8G("carouselImage",null==(ve=he.modalInfo())?null:ve.carouselImages)}}function Q(V,Ce){if(1&V&&(h.j41(0,"li",30),h.EFF(1),h.k0s()),2&V){const ne=Ce.$implicit;h.R7$(),h.JRh(ne.text)}}function q(V,Ce){if(1&V&&(h.j41(0,"div",20)(1,"div",28)(2,"ul",29),h.Z7z(3,Q,2,1,"li",30,h.fX1),h.k0s(),h.j41(5,"p",31),h.EFF(6),h.k0s()()()),2&V){let ne,ve;const he=h.XpG(2);h.R7$(3),h.Dyx(null==(ne=he.modalInfo())?null:ne.modalListItems2),h.R7$(3),h.JRh(null==(ve=he.modalInfo())?null:ve.modalListItems2Footer)}}function J(V,Ce){if(1&V&&(h.j41(0,"div",21)(1,"p",32),h.EFF(2),h.k0s(),h.j41(3,"div",33),h.nrm(4,"img",34),h.k0s()()),2&V){let ne,ve,he,De;const Ee=h.XpG(2);h.R7$(),h.Y8G("ngClass",null!=(ne=Ee.modalInfo())&&ne.carouselImages||null!=(ne=Ee.modalInfo())&&ne.modalListItems2?"":"mL28"),h.R7$(),h.JRh(null==(ve=Ee.modalInfo())?null:ve.imageHeader),h.R7$(),h.Y8G("ngClass",null!=(he=Ee.modalInfo())&&he.carouselImages||null!=(he=Ee.modalInfo())&&he.modalListItems2?"":"mL28"),h.R7$(),h.Y8G("alt",h.mNQ(Ee.allTranslations()["#pps_WCC_FS_Product_Finder_Sample_Product_Image_Alt"]))("src",null==(De=Ee.modalInfo())?null:De.modalImage1,h.B4B)}}function oe(V,Ce){if(1&V&&(h.j41(0,"div",22)(1,"div",18)(2,"div",35),h.nrm(3,"img",36),h.k0s(),h.j41(4,"div",37),h.nrm(5,"img",38),h.k0s(),h.j41(6,"div",39),h.nrm(7,"img",40),h.k0s()()()),2&V){let ne,ve;const he=h.XpG(2);h.R7$(3),h.Y8G("alt",h.mNQ(he.allTranslations()["#pps_WCC_FS_Product_Finder_Keyboard_Image_Alt"]))("src",null==(ne=he.modalInfo())?null:ne.modalImage1,h.B4B),h.R7$(2),h.Y8G("alt",h.mNQ(he.allTranslations()["#pps_WCC_FS_Product_Finder_Arrow_Image_Alt"])),h.R7$(2),h.Y8G("alt",h.mNQ(he.allTranslations()["#pps_WCC_FS_Product_Finder_System_Info_Image_Alt"]))("src",null==(ve=he.modalInfo())?null:ve.modalImage2,h.B4B)}}function _e(V,Ce){if(1&V&&(h.j41(0,"div",10)(1,"div",12)(2,"div",13),h.nVh(3,f,2,1,"p",14),h.nVh(4,D,2,1,"p",15),h.nVh(5,y,2,1,"p",15),h.nVh(6,_,2,5,"a",16),h.k0s(),h.nVh(7,U,9,0,"div",17),h.j41(8,"div",18),h.nVh(9,X,3,2,"div",19),h.nVh(10,q,7,1,"div",20),h.nVh(11,J,5,6,"div",21),h.k0s()(),h.nVh(12,oe,8,8,"div",22),h.k0s()),2&V){let ne,ve,he,De,Ee,Be,Ae,Ge,Se;const Fe=h.XpG();h.R7$(3),h.vxM(Fe.modalInfo()&&null!=(ne=Fe.modalInfo())&&ne.modalText?3:-1),h.R7$(),h.vxM(Fe.modalInfo()&&null!=(ve=Fe.modalInfo())&&ve.modalDesc1?4:-1),h.R7$(),h.vxM(Fe.modalInfo()&&null!=(he=Fe.modalInfo())&&he.modalDesc2?5:-1),h.R7$(),h.vxM(Fe.modalInfo()&&null!=(De=Fe.modalInfo())&&De.modalLink1_Text?6:-1),h.R7$(),h.vxM(Fe.modalInfo()&&null!=(Ee=Fe.modalInfo())&&Ee.modalListItems&&(null==(Ee=Fe.modalInfo())?null:Ee.modalListItems.length)>0?7:-1),h.R7$(2),h.vxM(null!=(Be=Fe.modalInfo())&&Be.carouselImages&&(null==(Be=Fe.modalInfo())?null:Be.carouselImages.length)>0?9:-1),h.R7$(),h.vxM(null!=(Ae=Fe.modalInfo())&&Ae.modalListItems2?10:-1),h.R7$(),h.vxM(null!=(Ge=Fe.modalInfo())&&Ge.imageHeader?11:-1),h.R7$(),h.vxM(Fe.modalInfo()&&null!=(Se=Fe.modalInfo())&&Se.modalImage1&&null!=(Se=Fe.modalInfo())&&Se.modalImage2&&(null==(Se=Fe.modalInfo())||!Se.modalListItems)?12:-1)}}function L(V,Ce){1&V&&h.eu8(0)}function de(V,Ce){if(1&V&&h.DNE(0,L,1,0,"ng-container",41),2&V){h.XpG();const ne=h.sdS(14);h.Y8G("ngTemplateOutlet",ne)}}function E(V,Ce){if(1&V&&(h.qex(0),h.j41(1,"div",42)(2,"span")(3,"a",43),h.EFF(4),h.k0s()(),h.j41(5,"span"),h.EFF(6),h.k0s()(),h.bVm()),2&V){const ne=h.XpG();h.R7$(3),h.Y8G("href",ne.gdprLink(),h.B4B),h.R7$(),h.JRh(ne.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),h.R7$(2),h.JRh(ne.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"])}}let z=(()=>{class V{constructor(ne,ve,he,De,Ee,Be,Ae){this.pageService=ne,this.commonService=ve,this.activeModal=he,this.deviceService=De,this.store=Ee,this.appSelectorStore=Be,this.cdr=Ae,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.modalData=(0,s.vPA)(null),this.allTranslations=(0,s.vPA)(null),this.productType=(0,s.vPA)(null),this.modalInfo=(0,s.vPA)(null),this.gdprLink=(0,s.vPA)(""),this.isMobile=(0,s.vPA)(this.deviceService.isMobile()),this.destroySubject$=new u.B,this.hideCopyRightFooter=(0,s.vPA)(!1),this.pfinerModalHomePage=!1,this.videoAutoPlay=this.appSelectorStore.isVideoAutoPlayEnabled(),this.isLightTheme=(0,s.vPA)(!1)}ngOnInit(){this.getVideoRelatedSSCKey(),this.videoId=this.modalData().supportLink,this.commonService.hpDotComCcLcMappingSub.pipe((0,$.Q)(this.destroySubject$)).subscribe(ne=>{let ve=ne[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==ne[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(ve=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.gdprLink.set(`https://www.hp.com/${ve}/privacy/privacy.html`)}),this.appSelectorStore.getSscKey$(["ENABLE_VENEER_LAYOUT"],!1).subscribe(ne=>{const{ENABLE_VENEER_LAYOUT:ve}=ne;ve&&ve.includes(this.pageConfig().pageName)&&this.isLightTheme.set(!0)})}ngAfterViewInit(){this.cdr.detectChanges()}getVideoRelatedSSCKey(){this.store.select(i.FM).pipe((0,j.$)(ne=>!(0,N.A)(ne))).subscribe(ne=>{ne?.ENABLE_VIS_ID_LAYOUT&&(this.isVsidThemeEnabled=!!ne.ENABLE_VIS_ID_LAYOUT&&(0,p.A)(ne.ENABLE_VIS_ID_LAYOUT,this.pageConfig().pageName),this.hideCopyRightFooter.set(this.isVsidThemeEnabled))})}onRedirection(ne){const ve={"{cc}":this.pageConfig().cc,"{lc}":this.pageConfig().lc};return ne.replace(/{cc}|{lc}/gi,function(De){return ve[De]})}
1onKeyDownHandler(ne){"Escape"===ne.key&&this.activeModal.dismiss("Cross click")}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ve){return new(ve||V)(h.rXU(pe.b),h.rXU(te.h),h.rXU(F.Lw),h.rXU(B.Kg),h.rXU(C.il),h.rXU(g.q),h.rXU(K.gRc))}}static{this.\u0275cmp=h.VBU({type:V,selectors:[["app-pfinder-tooltip-modal"]],hostBindings:function(ve,he){1&ve&&h.bIt("keydown",function(Ee){return he.onKeyDownHandler(Ee)},h.EBC)},decls:15,vars:16,consts:[["footerTemplate",""],[3,"ngClass"],["id","keyBoardModal"],[1,"help-modal-header","modal-header"],["alt","HP Logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"company-logo"],[1,"modal-title","with-logo"],["type","button",1,"close",3,"click","ngClass"],[1,"text"],["aria-hidden","true",1,"icon"],[1,"modal-body","help-modal-body"],[1,"modal-body-content","help-modal-body"],[1,"pf-modal-header"],[1,"modal-keyboard-text"],[1,"modal-desc"],[1,"modal-info"],[1,"para-list"],[1,"modal-body-link",3,"globalLink","linkTarget"],[1,"modal-text"],[1,"row"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-image-part"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-list-part"],[1,"col-lg-6","col-sm-6","col-md-6","col-12","modal-sample-section"],[1,"keyboard-img-container"],[1,"modal-product-list"],[1,"row","border-bottom-modal"],[1,"col-lg-12","col-md-12","col-sm-12","col-12"],[1,"align-center"],[3,"carouselImage"],[1,"modal-list-part-wrapper"],[1,"list"],[1,"list-item"],[1,"list-footer"],[1,"align-left","img-desc",3,"ngClass"],[1,"sample-image",3,"ngClass"],[3,"src","alt"],[1,"col-lg-5","col-md-5","col-sm-5","col-12"],[1,"keyboard-img",3,"alt","src"],[1,"col-lg-1","col-md-1","col-sm-1","col-12","align-center"],["src","/wcc-assets/images/next-arrow.svg",1,"img-arrow",3,"alt"],[1,"col-lg-6","col-md-6","col-sm-6","col-12"],[3,"alt","src"],[4,"ngTemplateOutlet"],[1,"help-modal-footer"],["alt","Privacy policy","target","_blank",3,"href"]],template:function(ve,he){if(1&ve){const De=h.RV6();h.j41(0,"div",1)(1,"div",2)(2,"div",3),h.nVh(3,m,1,0,"img",4),h.nVh(4,S,3,1,"div",5),h.j41(5,"button",6),h.bIt("click",function(){return s.eBV(De),s.Njj(he.activeModal.dismiss("Cross click"))}),h.j41(6,"span",7),h.EFF(7),h.k0s(),h.j41(8,"span",8),h.EFF(9,"\xd7"),h.k0s()()(),h.j41(10,"div",9),h.nVh(11,_e,13,9,"div",10),h.k0s(),h.nVh(12,de,1,1,"ng-container"),h.k0s()(),h.DNE(13,E,7,3,"ng-template",null,0,h.C5r)}if(2&ve){let De,Ee,Be,Ae;h.HbH(h.VkB("need-help-modal product-",he.productType())),h.Y8G("ngClass",h.ziG(11,x,he.pageConfig().isVisIdEnabled,"rtl"===he.pageConfig().languageDirection,"ltr"===he.pageConfig().languageDirection,"video"===(null==(De=he.modalData())?null:De.supportLink_Type))),h.R7$(3),h.vxM(!he.isMobile()||he.isLightTheme()?3:-1),h.R7$(),h.vxM(he.modalInfo()&&null!=(Ee=he.modalInfo())&&Ee.modalHeader?4:-1),h.R7$(),h.Y8G("ngClass",null!=(Be=he.modalInfo())&&Be.modalHeader?"":"no-modal-heading"),h.BMQ("aria-label",he.allTranslations()["#pps_WCC_FS_Error_Service_Unavailable_Modal_Button_Text"]),h.R7$(2),h.JRh(he.allTranslations()["#pps_WCC_FS_Error_Service_Unavailable_Modal_Button_Text"]),h.R7$(4),h.vxM("video"!==(null==(Ae=he.modalData())?null:Ae.supportLink_Type)||he.pageConfig().isVisIdEnabled?11:-1),h.R7$(),h.vxM(he.hideCopyRightFooter()?-1:12)}},dependencies:[me.YU,ue,me.T3,n.z],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.need-help-modal[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:20px;padding-bottom:10px}.need-help-modal[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;margin-top:0;padding:15px;border-top:1px solid #efefef;font-size:12px;color:#767676;font-family:HPSimplified}.need-help-modal[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.need-help-modal[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;padding:0}.need-help-modal[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal
1-body-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:disc;font-size:16px;padding-left:40px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] img.img-arrow[_ngcontent-%COMP%]{width:20px;height:20px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] img.samsung-printer-image[_ngcontent-%COMP%]{padding-left:27px;margin-bottom:20px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%]{padding:30px;position:relative}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%] img.keyboard-img[_ngcontent-%COMP%]{position:absolute;top:15%}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%] img.img-arrow[_ngcontent-%COMP%]{position:absolute;top:40%;padding-left:10px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;padding:0 0 20px;margin:0 30px 22px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{line-height:25px;font-size:14px;color:#000;padding-left:16px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%]{padding:20px 24px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] .modalLayout[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] .videoMain[_ngcontent-%COMP%]{position:relative;display:block;max-width:100%}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] .videoMainContainer[_ngcontent-%COMP%]{padding-top:56.25%}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:none}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%]{padding-left:28px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{list-style:disc!important;padding-left:60px;color:#000}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]{padding-top:20px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .img-desc[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-desc[_ngcontent-%COMP%]{margin-bottom:20px}.need-help-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:none!important}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:20px!important;border-bottom:1px solid #efefef}
1.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{line-height:50px;padding-left:10px;padding-right:20px;float:none;width:100%}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:12px;font-size:20px}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:HPControlIcons;content:"\\e607";font-size:30px;color:#767676;padding:0;align-self:center;margin:0 0 0 auto}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{background:none;outline:none}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:40px}.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{float:left;display:inline-block;width:40px;height:auto}.need-help-modal[_ngcontent-%COMP%] #videoModal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%]{padding:10px}.need-help-modal[_ngcontent-%COMP%] #videoModal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%]{height:40px}@media only screen and (min-width:768px){.need-help-modal.rtl[_ngcontent-%COMP%]:not(.vis-id) .modal-body-link[_ngcontent-%COMP%]{padding-right:28px;padding-left:0}}.clearfix[_ngcontent-%COMP%]:before{content:" ";display:table}.clearfix[_ngcontent-%COMP%]:after{content:" ";display:table;clear:both}.privacyPolicy[_ngcontent-%COMP%]{float:left}.copyright[_ngcontent-%COMP%]{float:right}.need-help-modal[_ngcontent-%COMP%] #videoModal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:10px!important}.modal-text[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{-moz-column-count:2;column-count:2}.modal-text[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:disc}@media only screen and (min-width:768px){.need-help-modal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%]{height:90px;padding-top:25px}.need-help-modal[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:0 28px;font-family:HPSimplifiedLight;font-size:16px;line-height:1.35em}.need-help-modal[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:18px}.need-help-modal[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-image-part[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:5px}.need-help-modal[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-sample-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px;padding-left:10px}}@media only screen and (max-width:767px){.need-help-modal[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:22px;padding-bottom:10px;font-size:16px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] img.img-arrow[_ngcontent-%COMP%]{transform:rotate(90deg)}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:22px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-image-part[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left;font-weight:700;color:#000;font-size:15px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%]{padding:30px 0}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%] img.keyboard-img[_ngcontent-%COMP%]{position:static}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal
1-body-content[_ngcontent-%COMP%] .keyboard-img-container[_ngcontent-%COMP%] img.img-arrow[_ngcontent-%COMP%]{position:static;padding-left:10px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%]{margin:0 0 20px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:20px;-moz-column-count:1;column-count:1}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{font-size:16px;line-height:22px;padding-left:25px}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .img-desc[_ngcontent-%COMP%], .need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .sample-image[_ngcontent-%COMP%]{margin-left:0!important}.need-help-modal[_ngcontent-%COMP%] .help-modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%]{padding:0}.need-help-modal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{padding-left:0}.need-help-modal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%] img.company-logo[_ngcontent-%COMP%]{display:none!important}.need-help-modal[_ngcontent-%COMP%] .help-modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:auto;margin-left:unset}.need-help-modal[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%]{flex-direction:column}.need-help-modal[_ngcontent-%COMP%] .help-modal-footer[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-bottom:8px}}@media only screen and (max-width:800px){.modal-text[_ngcontent-%COMP%] .modal-product-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:20px;-moz-column-count:1;column-count:1}}.need-help-modal.vis-id[_ngcontent-%COMP%]{border:1px solid #000000}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-info[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .modal-list-part[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .modal-list-part[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .img-desc[_ngcontent-%COMP%]{font:400 16px/24px Forma DJR UI!important;color:#000}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%]{color:#0278ab;text-decoration:underline}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%]{padding-left:28px}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-desc[_ngcontent-%COMP%]{margin-bottom:20px}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:12px 32px 12px 22px!important;border-bottom:1px solid #000000;height:auto}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .company-logo[_ngcontent-%COMP%]{display:none}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title.with-logo[_ngcontent-%COMP%] .pf-modal-header[_ngcontent-%COMP%]{font:400 32px/40px Forma DJR UI;margin-top:8px}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{opacity:unset}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:inline-block!important;padding-right:5px}
1.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:inline-block;line-height:40px;color:#000}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:2em}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body.help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{list-style:disc!important;padding-left:60px}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body.help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]{padding-top:20px}@media only screen and (max-width:768px){.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{margin:0}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title.with-logo[_ngcontent-%COMP%] .pf-modal-header[_ngcontent-%COMP%]{font-size:28px;line-height:36px}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{padding:0}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .pf-modal-header[_ngcontent-%COMP%]{text-align:center}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body-link[_ngcontent-%COMP%]{padding-left:0}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:2em}.need-help-modal.vis-id[_ngcontent-%COMP%] .modal-body.help-modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{padding-left:30px}}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:24px 30px!important;align-items:center}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{padding:0;line-height:1.2}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .pf-modal-header[_ngcontent-%COMP%]{font:400 20px/1.2 Forma DJR UI;margin:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:16px;display:inline-block;position:relative;padding:4px 26px 4px 12px;margin-right:-12px;border:1px solid transparent;outline:1px solid transparent;border-radius:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{height:auto;line-height:1.2!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:auto;line-height:1.2;font-size:24px;position:absolute;top:50%;transform:translateY(-57%)}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover{border:1px solid #000000;background:#ebf9ff;outline:1px solid #fff}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:active{border:1px solid #000000;background:#caf3ff;outline:1px solid #fff}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-header.help-modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus-visible{border:1px solid #0278AB!important;outline:1px solid #0278AB!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal
1-body[_ngcontent-%COMP%]{padding:32px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%]{padding:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .modal-desc[_ngcontent-%COMP%]{margin-bottom:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .modal-desc[_ngcontent-%COMP%] .modal-info[_ngcontent-%COMP%]{padding:12px 0 0;margin-bottom:0}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin:0 -15px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-image-part[_ngcontent-%COMP%] .align-center[_ngcontent-%COMP%]{text-align:left!important;font-size:16px;
1font-family:Forma DJR UI;line-height:24px;margin-bottom:20px;padding:0;font-weight:400}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-sample-section[_ngcontent-%COMP%] .img-desc[_ngcontent-%COMP%]{margin-bottom:20px}@media only screen and (max-width:600px){.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset) .modal-header.help-modal-header[_ngcontent-%COMP%]{padding:20px 15px!important}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset) .modal-body[_ngcontent-%COMP%]{padding:30px 15px}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset) .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{flex-direction:column-reverse}.vis-id-pfinder-modal.need-help-modal[_ngcontent-%COMP%]:not(.product-headset) .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-sample-section[_ngcontent-%COMP%]{margin-bottom:30px}}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-image-part[_ngcontent-%COMP%] .align-center[_ngcontent-%COMP%]{text-align:right!important}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-sample-section[_ngcontent-%COMP%] .img-desc[_ngcontent-%COMP%]{text-align:right!important;padding-right:0}.vis-id-pfinder-modal.need-help-modal.rtl[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-body-content[_ngcontent-%COMP%] .modal-keyboard-text[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .modal-sample-section[_ngcontent-%COMP%] .sample-image[_ngcontent-%COMP%]{text-align:right!important}']})}}return V})()},78808(xe,le,a){a.d(le,{z:()=>p});var M=a(37580),s=a(12481),u=a(60480),$=a(9303),j=a(24180),N=a(19885);let p=(()=>{class i{constructor(l,h,g,W,e,ae){this.commonService=l,this.el=h,this.windowRef=g,this.domPurifier=W,this.pageService=e,this.renderer=ae,this.pageConfig=this.pageService.config,this.globalLink=(0,M.hFB)(""),this.isVoidLink=(0,M.hFB)(!1),this.isNonRouterLink=(0,M.hFB)(!1),this.linkTarget=(0,M.hFB)("self"),this.inNewTab=!1,this.isModal=!1,this.window=this.windowRef.nativeWindow}ngAfterViewInit(){const l=this.linkTarget();this.inNewTab="newtab"===l?.toLowerCase(),this.isModal="modal"===l?.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(l){const h=this.navigationUrl||this.globalLink();h&&!this.isNonRouterLink()&&!1===l.ctrlKey&&(this.inNewTab||this.isModal?this.inNewTab&&this.isVoidLink()&&(l.preventDefault(),this.window.open(this.domPurifier.sanitize(h,{}),"_blank")):(l.preventDefault(),this.commonService.globalRouterNavigate(this.domPurifier.sanitize(h,{}))))}static{this.\u0275fac=function(h){return new(h||i)(s.rXU(u.h),s.rXU(s.aKT),s.rXU($.$),s.rXU(j.S),s.rXU(N.b),s.rXU(s.sFG))}}static{this.\u0275dir=s.FsC({type:i,selectors:[["","globalLink",""]],hostBindings:function(h,g){1&h&&s.bIt("click",function(e){return g.onClick(e)})},inputs:{globalLink:[1,"globalLink"],isVoidLink:[1,"isVoidLink"],isNonRouterLink:[1,"isNonRouterLink"],linkTarget:[1,"linkTarget"]}})}}return i})()},38056(xe,le,a){a.d(le,{u:()=>j});var M=a(37580),s=a(86763),u=a(12481),$=a(19885);let j=(()=>{class N{onResize(){(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(K=>{this.matchSectionHeight(this.el.nativeElement,K)})}constructor(i,K,l){this.pageService=i,this.el=K,this.renderer=l,this.pageConfig=(0,s.EW)(()=>this.pageService.configSignal()),this.matchHeight=(0,M.hFB)(""),this.resizeOnMobile=(0,M.hFB)(!1)}ngAfterViewInit(){const i=this.pageConfig().isBrowser&&setInterval(()=>{this.allImagesLoaded(this.el.nativeElement)&&(clearInterval(i),(!this.pageConfig().isMobile||this.resizeOnMobile())&&this.matchHeight().split(",").forEach(h=>{(this.pageConfig().isBrowser||this.resizeOnMobile())&&this.matchSectionHeight(this.el.nativeElement,h)}))},300)}allImagesLoaded(i){let K=i?.getElementsByTagName("img");for(let l of Array.from(K))if(!l.complete)return!1;return!0}matchSectionHeight(i,K){if(!i)return;const l=i.getElementsByClassName(K);if(!l)return;Array.from(l).forEach(W=>{this.renderer.setStyle(W,"height","initial")});const g=Array.from(l).map(W=>W.getBoundingClientRect().height).reduce((W,e)=>e>W?e:W,0);Array.from(l).forEach(W=>this.renderer.setStyle(W,"height",`${g}px`))}static{this.\u0275fac=function(K){return new(K||N)(u.rXU($.b),u.rXU(u.aKT),u.rXU(u.sFG))}}static{this.\u0275dir=u.FsC({type:N,selectors:[["","matchHeight",""]],hostBindings:function(K,l){1&K&&u.bIt("resize",function(){return l.onResize()},u.tSv)},inputs:{matchHeight:[1,"matchHeight"],resizeOnMobile:[1,"resizeOnMobile"]}})}}return N})()},91462(xe,le,a){a.d(le,{R:()=>s});var M=a(12481);let s=(()=>{class u{constructor(j){this.el=j,this.textSelected=!1}ngOnInit(){}clickEvent(){if(this.el.nativeElement.value)if(this.textSelected){let j=window?.getSelection();j&&j.anchorNode==this.el.nativeElement&&j.collapse(this.el.nativeElement)}else this.el.nativeElement.select(),this.textSelected=!0}blurEvent(){this.el.nativeElement.value&&(this.textSelected=!1)}static{this.\u0275fac=function(N){return new(N||u)(M.rXU(M.aKT))}}static{this.\u0275dir=M.FsC({type:u,selectors:[["","selectInputText",""]],hostBindings:function(N,p){1&N&&M.bIt("click",function(){return p.clickEvent()})("blur",function(){return p.blurEvent()})}})}}return u})()},75257(xe,le,a){a.d(le,{z:()=>u});
1var M=a(37580),s=a(12481);let u=(()=>{class ${constructor(N){this.cdr=N}transform(N,...p){return N.apply(this.cdr.context,p)}static{this.\u0275fac=function(p){return new(p||$)(s.rXU(M.gRc,16))}}static{this.\u0275pipe=s.EJ8({name:"memoize",type:$,pure:!0})}}return $})()},96114(xe,le,a){a.d(le,{Q:()=>u});var M=a(26895),s=a(12481);let u=(()=>{class ${constructor(){this.transform=M.A}static{this.\u0275fac=function(p){return new(p||$)}}static{this.\u0275pipe=s.EJ8({name:"orderBy",type:$,pure:!0})}}return $})()},87380(xe,le,a){a.d(le,{m:()=>$});var M=a(12481),s=a(80436),u=a(60480);let $=(()=>{class j{constructor(p,i){this.sanitizer=p,this.commonService=i}transform(p){return this.sanitizer.bypassSecurityTrustResourceUrl(this.commonService.getSanitizedUrl(p))}static{this.\u0275fac=function(i){return new(i||j)(M.rXU(s.up,16),M.rXU(u.h,16))}}static{this.\u0275pipe=M.EJ8({name:"safe",type:j,pure:!0})}}return j})()},24695(xe,le,a){a.d(le,{$:()=>$});var M=a(12481),s=a(60480),u=a(80436);let $=(()=>{class j{constructor(p,i){this.commonService=p,this.domSanitizer=i}transform(p=""){return this.domSanitizer.bypassSecurityTrustHtml(this.commonService.sanitizeUntrustedData(p))}static{this.\u0275fac=function(i){return new(i||j)(M.rXU(s.h,16),M.rXU(u.up,16))}}static{this.\u0275pipe=M.EJ8({name:"safeHtml",type:j,pure:!0})}}return j})()},97390(xe,le,a){a.d(le,{t:()=>_e});var M=a(37580),s=a(85240),u=a(86763),$=a(84205),j=a(78808),N=a(76119),p=a(93683),i=a(12481),K=a(19885),l=a(60480),h=a(9303);const g=L=>({width:L}),W=(L,de)=>({"is-vis-id":L,rtl:de}),e=L=>({height:L});function ae(L,de){if(1&L&&i.nrm(0,"img",9),2&L){const E=i.XpG().$implicit,z=i.XpG(3);i.Y8G("alt",i.mNQ(E.overlayText))("src",E.imagePath,i.B4B)("ngStyle",i.eq3(4,e,z.wcBannerHeight()?z.wcBannerHeight():""))}}function ue(L,de){if(1&L&&(i.j41(0,"h4",12),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayHeader)}}function me(L,de){if(1&L&&(i.j41(0,"h4",13),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayText)}}function n(L,de){if(1&L&&(i.j41(0,"a",14),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2),z=E.$implicit,V=E.$index,Ce=i.XpG(3);i.Y8G("id",i.VkB("Carousel-",V+1))("title",i.mNQ(z.linkText))("globalLink",null==z?null:z.formattedUrl)("linkTarget",null==z?null:z.linkToTarget),i.BMQ("tabindex",V===Ce.slideIndex()?0:-1),i.R7$(),i.JRh(z.linkText)}}function pe(L,de){if(1&L&&(i.j41(0,"div",10),i.nVh(1,ue,2,1,"h4",12),i.nVh(2,me,2,1,"h4",13),i.nVh(3,n,2,8,"a",14),i.k0s()),2&L){const E=i.XpG().$implicit;i.R7$(),i.vxM(E&&E.overlayHeader?1:-1),i.R7$(),i.vxM(E&&E.overlayText?2:-1),i.R7$(),i.vxM(E.linkText?3:-1)}}function te(L,de){if(1&L&&i.nrm(0,"img",9),2&L){const E=i.XpG().$implicit,z=i.XpG(3);i.Y8G("alt",i.mNQ(E.overlayText))("src",E.imagePath,i.B4B)("ngStyle",i.eq3(4,e,z.wcBannerHeight()?z.wcBannerHeight():""))}}function F(L,de){if(1&L&&(i.j41(0,"h4",12),i.EFF(1),i.k0s()),2&L){const E=i.XpG().$implicit;i.R7$(),i.JRh(E.overlayHeader)}}function B(L,de){if(1&L&&(i.j41(0,"h4",13),i.EFF(1),i.k0s()),2&L){const E=i.XpG().$implicit;i.R7$(),i.JRh(E.overlayText)}}function C(L,de){if(1&L&&(i.j41(0,"a",14),i.EFF(1),i.k0s()),2&L){const E=i.XpG(),z=E.$implicit,V=E.$index,Ce=i.XpG(3);i.Y8G("id",i.VkB("Carousel-",V+1))("title",i.mNQ(z.linkText))("globalLink",null==z?null:z.formattedUrl)("linkTarget",null==z?null:z.linkToTarget),i.BMQ("tabindex",V===Ce.slideIndex()?0:-1),i.R7$(),i.JRh(z.linkText)}}function x(L,de){if(1&L&&(i.j41(0,"div",7)(1,"div",8),i.nVh(2,ae,1,6,"img",9),i.nVh(3,pe,4,3,"div",10),i.nVh(4,te,1,6,"img",9),i.j41(5,"div",11),i.nVh(6,F,2,1,"h4",12),i.nVh(7,B,2,1,"h4",13),i.nVh(8,C,2,8,"a",14),i.k0s()()()),2&L){const E=de.$implicit,z=i.XpG(3);i.R7$(),i.Y8G("ngClass",z.isMastiffEnabled()&&"mastiffSpos"===E.desc?"col-lg-12 col-sm-12 col-md-12 col-xs-12 p0 mastiff_template_container slider-content":"col-lg-12 col-sm-12 col-md-12 col-xs-12 p0 slider-content"),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled||"mastiffSpos"===E.desc?-1:2),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled||"mastiffSpos"===E.desc?-1:3),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled&&"mastiffSpos"!==E.desc?4:-1),i.R7$(2),i.vxM(E&&E.overlayHeader?6:-1),i.R7$(),i.vxM(E&&E.overlayText?7:-1),i.R7$(),i.vxM(E.linkText?8:-1)}}function m(L,de){if(1&L){const E=i.RV6();i.j41(0,"div",5)(1,"app-slider",6),i.bIt("onSlideChange",function(V){s.eBV(E);const Ce=i.XpG(2);return s.Njj(Ce.updateSlideIndex(V))}),i.Z7z(2,x,9,7,"div",7,i.fX1),i.k0s()()}if(2&L){const E=i.XpG(2);i.R7$(),i.Y8G("config",E.sliderConfig())("slideData",E.updatedSliderData())("isMastiffEnabled",E.isMastiffEnabled())("horizontalNav",!0)("hidePaginationArrows",!0)("isVisIdEnabled",E.pageConfig().isVisIdEnabled),i.R7$(),i.Dyx(E.updatedSliderData())}}function S(L,de){if(1&L&&i.nrm(0,"img",15),2&L){const E=i.XpG(),z=E.$implicit,V=E.$index;i.Y8G("alt",i.mNQ(z.overlayText))("src",z.imagePath,i.B4B),i.BMQ("loading",V?"lazy":"eager")}}function f(L,de){if(1&L&&(i.j41(0,"h4",12),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayHeader)}}function D(L,de){if(1&L&&(i.j41(0,"h4",13),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayText)}}function y(L,de){if(1&L&&(i.j41(0,"a",14),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2),z=E.$implicit;i.Y8G("id",i.VkB("Carousel-",E.$index+1))("title",i.mNQ(z.linkText))("globalLink",null==z?null:z.formattedUrl)("linkTarget",null==z?null:z.linkToTarget),i.R7$(),i.JRh(z.linkText)}}function _(L,de){if(1&L&&(i.j41(0,"div",11),i.nVh(1,f,2,1,"h4",12),i.nVh(2,D,2,1,"h4",13),i.nVh(3,y,2,7,"a",14),i.k0s()),2&L){const E=i.XpG().$implicit;i.R7$(),i.vxM(E&&E.overlayHeader?1:-1),i.R7$(),i.vxM(E&&E.overlayText?2:-1),i.R7$(),i.vxM(E.linkText?3:-1)}}function R(L,de){if(1&L&&i.nrm(0,"img",15),2&L){const E=i.XpG(),z=E.$implicit,V=E.$index;i.Y8G("alt",i.mNQ(z.overlayText))("src",z.imagePath,i.B4B),i.BMQ("loading",V?"lazy":"eager")}}function U(L,de){if(1&L&&(i.j41(0,"h4",12),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayHeader)}}function re(L,de){if(1&L&&(i.j41(0,"h4",13),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2).$implicit;i.R7$(),i.JRh(E.overlayText)}}function X(L,de){if(1&L&&(i.j41(0,"a",14),i.EFF(1),i.k0s()),2&L){const E=i.XpG(2),z=E.$implicit;i.Y8G("id",i.VkB("Carousel-",E.$index+1))("title",i.mNQ(z.linkText))("globalLink",null==z?null:z.formattedUrl)("linkTarget",null==z?null:z.linkToTarget),i.R7$(),i.JRh(z.linkText)}}function Q(L,de){if(1&L&&(i.j41(0,"div",11),i.nVh(1,U,2,1,"h4",12),i.nVh(2,re,2,1,"h4",13),i.nVh(3,X,2,7,"a",14),i.k0s()),2&L){const E=i.XpG().$implicit;i.R7$(),i.vxM(E&&E.overlayHeader?1:-1),i.R7$(),i.vxM(E&&E.overlayText?2:-1),i.R7$(),i.vxM(E.linkText?3:-1)}}function q(L,de){if(1&L&&(i.j41(0,"div",7)(1,"div",8),i.nVh(2,S,1,4,"img",15),i.nVh(3,_,4,3,"div",11),i.nVh(4,R,1,4,"img",15),i.nVh(5,Q,4,3,"div",11),i.k0s()()),2&L){const E=de.$implicit,z=i.XpG(3);i.R7$(),i.Y8G("ngClass",z.isMastiffEnabled()&&"mastiffSpos"===E.desc?"col-lg-12 col-sm-12 col-md-12 col-xs-12 p0 mastiff_template_container slider-content":"col-lg-12 col-sm-12 col-md-12 col-xs-12 p0 slider-content"),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled||"mastiffSpos"===E.desc?-1:2),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled||"mastiffSpos"===E.desc?-1:3),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled&&"mastiffSpos"!==E.desc?4:-1),i.R7$(),i.vxM(z.pageConfig().isVisIdEnabled&&"mastiffSpos"!==E.desc?5:-1)}}function J(L,de){if(1&L&&(i.j41(0,"div",5),i.Z7z(1,q,6,5,"div",7,i.fX1),i.k0s()),2&L){const E=i.XpG(2);i.R7$(),i.Dyx(E.updatedSliderData())}}function oe(L,de){if(1&L&&(i.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),i.nVh(4,m,4,6,"div",5),i.nVh(5,J,3,0,"div",5),i.k0s()()()()),2&L){const E=i.XpG();i.HbH(E.pageConfig().isTablet?"tablet":"nonTablet"),i.Y8G("ngStyle",i.eq3(6,g,E.wcBannerWidth()?E.wcBannerWidth():""))("ngClass",i.l_i(8,W,E.pageConfig().isVisIdEnabled,"rtl"===E.pageConfig().languageDirection)),i.R7$(4),i.vxM(E.updatedSliderData().length>1?4:-1),i.R7$(),i.vxM(E.updatedSliderData()&&1===E.updatedSliderData().length?5:-1)}}let _e=(()=>{class L{constructor(E,z,V,Ce){this.pageService=E,this.commonService=z,this.cdr=V,this.windowRef=Ce,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.sliderData=(0,M.hFB)(null),this.sliderConfig=(0,M.hFB)({}),this.slideIndex=(0,s.vPA)(0),this.target=(0,M.hFB)("_self"),this.isMastiffEnabled=(0,M.hFB)(!1),this.mastiffUrl=(0,M.hFB)(""),this.fallBackCCLCValue=(0,M.hFB)({}),this.updatedSliderData=(0,s.vPA)([]),this.destroySubject$=new $.B,this.isWebCompActive=(0,M.hFB)(!1),this.wcCC=(0,M.hFB)(""),this.wcLC=(0,M.hFB)(""),this.wcBannerWidth=(0,M.hFB)(0),this.wcBannerHe
1ight=(0,M.hFB)(0),this.window=this.windowRef.nativeWindow}checkAndRemoveMastiffData(){this.pageConfig().isBrowser&&this.isMastiffEnabled()&&(this.mastiffInterval=setInterval(()=>{this.window?.isMastiffChecked&&(this.window?.isMastiffRemoved&&this.updatedSliderData.set(this.updatedSliderData().filter(E=>"mastiffSpos"!==E.desc)),clearInterval(this.mastiffInterval))},500))}ngOnInit(){this.isWebCompActive()&&this.pageService.updateConfig({isBrowser:!0});const E=this.isMastiffEnabled();E&&this.pageService.loadMastiffJs(this.mastiffUrl()),this.updatedSliderData.set(this.commonService.handleMastiffSposData(this.sliderData().map(z=>({...z,formattedUrl:this.commonService.urlConverterExtrnlLink(z.link,this.fallBackCCLCValue(),this.pageConfig())})),E)),this.checkAndRemoveMastiffData()}updateSlideIndex(E){this.slideIndex.set(E)}getlinkTarget(E){return this.commonService.setLinkTarget(E)}ngAfterContentInit(){this.cdr.detectChanges()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(z){return new(z||L)(i.rXU(K.b),i.rXU(l.h),i.rXU(M.gRc),i.rXU(h.$))}}static{this.\u0275cmp=i.VBU({type:L,selectors:[["app-banner-slider"]],inputs:{sliderData:[1,"sliderData"],sliderConfig:[1,"sliderConfig"],target:[1,"target"],isMastiffEnabled:[1,"isMastiffEnabled"],mastiffUrl:[1,"mastiffUrl"],fallBackCCLCValue:[1,"fallBackCCLCValue"],isWebCompActive:[1,"isWebCompActive"],wcCC:[1,"wcCC"],wcLC:[1,"wcLC"],wcBannerWidth:[1,"wcBannerWidth"],wcBannerHeight:[1,"wcBannerHeight"]},decls:1,vars:1,consts:[[1,"section-wrapper",3,"ngStyle","class","ngClass"],[1,"section-wrapper",3,"ngStyle","ngClass"],[1,"container","mob-no-pad-RL"],[1,"row"],[1,"col-lg-12","col-sm-12","col-md-12","col-xs-12","p0","mob-no-pad-RL"],[1,"image-slider","bannerSlider"],["name","banner-slider","wrapperCss","banner-slider","horizontalNavArrowsPosition","outside","horizontalArrowSize","15","horizontalArrowType","lightGray","paginationAlignment","center",3,"onSlideChange","config","slideData","isMastiffEnabled","horizontalNav","hidePaginationArrows","isVisIdEnabled"],[1,"swiper-slide"],[3,"ngClass"],["loading","lazy",3,"src","alt","ngStyle"],["loading","lazy",1,"carousel-caption"],[1,"carousel-caption"],[1,"overlayHeader"],[1,"overlayText"],[1,"btn","primary-button",3,"id","globalLink","linkTarget","title"],[3,"src","alt"]],template:function(z,V){1&z&&i.nVh(0,oe,6,11,"div",0),2&z&&i.vxM(V.updatedSliderData()&&V.updatedSliderData().length>=1?0:-1)},dependencies:[p.B3,p.YU,N.d,j.z],styles:[".bannerSlider[_ngcontent-%COMP%] div.swiper-button-prev-unique[_ngcontent-%COMP%], .bannerSlider[_ngcontent-%COMP%] div.swiper-button-next-unique[_ngcontent-%COMP%]{outline:0}.image-slider[_ngcontent-%COMP%]{height:192px}.image-slider[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:190px;object-fit:cover}.image-slider[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%]{left:3%;top:0%;right:0;text-align:left;width:40%}h4[_ngcontent-%COMP%]{line-height:30px}.image-slider[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:1rem}.image-slider.bannerSlider[_ngcontent-%COMP%] h4.overlayHeader[_ngcontent-%COMP%]{font-size:30px;margin-bottom:5px!important;min-width:420px;color:#fff}.image-slider.bannerSlider[_ngcontent-%COMP%] h4.overlayText[_ngcontent-%COMP%]{font-size:24px;margin-bottom:15px;min-width:456px;color:#fff}.swiper-slide[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden}.section-wrapper.is-vis-id[_ngcontent-%COMP%]{width:auto}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:1260px;padding-left:20px;padding-right:20px}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{max-width:967px;width:93%;margin-left:0;margin-right:0}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%]{height:auto!important}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{min-height:248px}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{height:auto;cursor:grab}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]:active{cursor:grabbing}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%]{height:100%}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:248px}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background-color:#fff;color:#000;border:1px solid #000000;font-size:16px;line-height:24px;padding:12px 28px;letter-spacing:normal;height:auto;box-shadow:none;text-decoration:none}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#ebf9ff}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{background-color:#caf3ff}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB;padding:11px 27px}@media only screen and (max-width:767px){.image-slider[_ngcontent-%COMP%]{height:152px}.image-slider[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%}.image-slider[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] h4[_ng
1content-%COMP%]{margin-bottom:.5rem}.bannerSlider.image-slider[_ngcontent-%COMP%] h4.overlayHeader[_ngcontent-%COMP%]{font-size:22px}.bannerSlider.image-slider[_ngcontent-%COMP%] h4.overlayText[_ngcontent-%COMP%]{font-size:18px;margin-bottom:6px}.image-slider[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%]{left:8%;width:85%;top:0;padding-top:10px}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{width:100%}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%]{padding:20px 20px 30px}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] .overlayHeader[_ngcontent-%COMP%]{font-size:28px;line-height:36px;margin-bottom:12px!important}.section-wrapper.is-vis-id[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] .image-slider[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .slider-content[_ngcontent-%COMP%] .carousel-caption[_ngcontent-%COMP%] .overlayText[_ngcontent-%COMP%]{font-size:16px;line-height:24px;margin-bottom:20px;min-width:unset}}@media only screen and (min-width:700px){.tablet[_ngcontent-%COMP%] .swiper-button-prev-unique[_ngcontent-%COMP%], .tablet[_ngcontent-%COMP%] .swiper-button-next-unique[_ngcontent-%COMP%]{display:none!important}.tablet[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{margin:0;padding:0;width:auto;max-width:100%}}"]})}}return L})()},1681(xe,le,a){a.d(le,{y:()=>me});var M=a(37580),s=a(85240),u=a(86763),$=a(84205),j=a(33900),N=a(93683),p=a(89751),i=a(12481),K=a(19885),l=a(71839),h=a(60480);const g=(n,pe)=>[n,pe];function W(n,pe){if(1&n){const te=i.RV6();i.j41(0,"app-ngbd-dropdown",6),i.bIt("optionSelected",function(B){s.eBV(te);const C=i.XpG();return s.Njj(C.onServiceSelect(B))}),i.k0s()}if(2&n){const te=i.XpG();i.Y8G("options",te.services())("fullWidth",!0)("selectedOption",te.selectedService().name||te.serviceDropdownHeading())}}function e(n,pe){if(1&n&&(i.j41(0,"label"),i.EFF(1),i.k0s()),2&n){const te=i.XpG(2);i.R7$(),i.JRh(te.versionDropdownLabel())}}function ae(n,pe){if(1&n){const te=i.RV6();i.j41(0,"div",4),i.nVh(1,e,2,1,"label"),i.j41(2,"div",7)(3,"app-ngbd-dropdown",8),i.bIt("optionSelected",function(B){s.eBV(te);const C=i.XpG();return s.Njj(C.onServiceVersionSelect(B))}),i.k0s()()()}if(2&n){const te=i.XpG();i.R7$(),i.vxM(te.seriesId()?1:-1),i.R7$(2),i.Y8G("options",te.versions())("fullWidth",!0)("selectedOption",te.selectedServiceVersion().name||te.versionDropdownHeading())}}function ue(n,pe){if(1&n){const te=i.RV6();i.j41(0,"button",9),i.bIt("click",function(){s.eBV(te);const B=i.XpG();return s.Njj(B.submit())}),i.j41(1,"span",10),i.EFF(2),i.k0s()()}if(2&n){const te=i.XpG();i.Y8G("disabled",!te.hasData||te.isSubmitButtonDisabled),i.R7$(2),i.JRh(te.submitButtonText())}}let me=(()=>{class n{set _disableSubmit(te){te&&this.selectedServiceVersion.set({name:this.versionDropdownHeading(),id:null,redirectUrl:null})}constructor(te,F,B){this.pageService=te,this.contactService=F,this.commonService=B,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,M.hFB)({}),this.wrapperClass=(0,M.hFB)(""),this.services=(0,s.vPA)([]),this.versions=(0,s.vPA)([]),this.hideSubmit=(0,M.hFB)(!1),this.serviceDropdownHeading=(0,M.hFB)(""),this.versionDropdownLabel=(0,M.hFB)(""),this.versionDropdownHeading=(0,M.hFB)(""),this.submitButtonText=(0,M.hFB)(""),this.seriesId=(0,M.hFB)(null),this.selectedService=(0,M.geq)({name:this.serviceDropdownHeading(),id:null}),this.selectedServiceVersion=(0,M.geq)({name:this.versionDropdownHeading(),id:null,redirectUrl:null}),this.serviceSelected=(0,M.CGW)(),this.versionSelected=(0,M.CGW)(),this.onVersionsReady=(0,M.CGW)(),this.destroySubject$=new $.B}get isSubmitButtonDisabled(){const te=this.selectedServiceVersion();return!(this.seriesId()&&te.id||this.versions().length>1&&te.id||1===this.versions().length&&this.selectedService().id)}get hasData(){return this.seriesId()&&this.versions().length||this.services().length||this.versions().length>1}onServiceSelect(te){this.selectedService.set(te.option),this.serviceSelected.emit(this.selectedService()),this.updateVersions()}onServiceVersionSelect(te){this.selectedServiceVersion.set(te.option),this.versionSelected.emit(this.selectedServiceVersion())}resetSelection(){this.resetServices(),this.resetVersions()}resetServices(){this.selectedService.set({name:this.serviceDropdownHeading(),id:null}),this.versionSelected.emit(this.selectedServiceVersion())}resetVersions(){this.versions.set([]),this.selectedServiceVersion.set({name:this.versionDropdownHeading(),id:null,redirectUrl:null}),this.versionSelected.emit(this.selectedServiceVersion())}updateVersions(){this.fetchVersions(this.selectedService().id)}fetchVersions(te){this.resetVersions(),this.contactService.getAppServiceVersion(te).pipe((0,j.Q)(this.destroySubject$)).subscribe(F=>{F&&(this.versions.set(F.modelList),F.modelList&&1===F.modelList.length&&this.versionSelected.emit(this.versions()[0]),this.onVersionsReady.emit(F))})}submit(){const te={service:{},version:{}},F=this.selectedService();F.id&&(te.service=F);const B=this.selectedServiceVersion();if(B.id&&(te.version=B),F.id&&1===this.versions().length){const C=this.addCallMeParam(this.versions()[0].redirectUrl);this.contactService.gotoContactOptionsWithUrl(C)}else if(B.redirectUrl){const C=this.addCallMeParam(B.redirectUrl);this.contactService.gotoContactOptionsWithUrl(C)}}addCallMeParam(te){return"callme"===this.pageConfig().originId&&(/\?/.test(te)?te+="&originid=callme":te+="?originid=callme"),te}ngOnInit(){this.commonService.productSubmit.pipe((0,j.Q)(this.destroySubject$)).subscribe(F=>{F&&this.submit()}),this.commonService.resetServiceSelection.pipe((0,j.Q)(this.destroySubject$)).subscribe(F=>{this.resetSelection()});const te=this.seriesId();te?this.fetchVersions(te):this.contactService.getOtherServices().pipe((0,j.Q)(this.destroySubject$)).subscribe(F=>{F&&this.services.set(F)})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(F){return new(F||n)(i.rXU(K.b),i.rXU(l.u),i.rXU(h.h))}}static{this.\u0275cmp=i.VBU({type:n,selectors:[["app-choose-service"]],inputs:{allTranslations:[1,"allTranslations"],wrapperClass:[1,"wrapperClass"],hideSubmit:[1,"hideSubmit"],serviceDropdownHeading:[1,"serviceDropdownHeading"],versionDropdownLabel:[1,"versionDropdownLabel"],versionDropdownHeading:[1,"versionDropdownHeading"],_disableSubmit:"_disableSubmit",submitButtonText:[1,"submitButtonText"],seriesId:[1,"seriesId"],selectedService:[1,"selectedService"],selectedServiceVersion:[1,"selectedServiceVersion"]},outputs:{selectedService:"selectedServiceChange",selectedServiceVersion:"selectedServiceVersionChange",serviceSelected:"serviceSelected",versionSelected:"versionSelected",onVersionsReady:"onVersionsReady"},decls:6,vars:7,consts:[[1,"services-selection-wrapper",3,"ngClass"],[1,"dropdown-wrapper"],["id","Servicedropdown",1,"service-dd-wrapper"],["dropdownName","apps_services",3,"options","fullWidth","selectedOption"],[1,"versions-dd-wrapper"],["type","button","id","service-submit",1,"service-submit","primary-button",3,"disabled"],["dropdownName","apps_services",3,"optionSelected","options","fullWidth","selectedOption"],["id","Versiondropdown"],["dropdownName","versions",3,"optionSelected","options","fullWidth","selectedOption"],["type","button","id","service-submit",1,"service-submit","primary-button",3,"click","disabled"],["title","Submit",1,"hidden-mobile-only"]],template:function(F,B){if(1&F&&(i.j41(0,"div",0)(1,"div",1)(2,"div",2),i.nVh(3,W,1,3,"app-ngbd-dropdown",3),i.k0s(),i.nVh(4,ae,4,4,"div",4),i.k0s(),i.nVh(5,ue,3,2,"button",5),i.k0s()),2&F){let C;i.Y8G("ngClass",i.l_i(4,g,B.pageConfig().languageDirection,B.wrapperClass())),i.R7$(3),i.vxM(B.seriesId()?-1:3),i.R7$(),i.vxM(B.seriesId()||(null==(C=B.versions())?null:C.length)>1?4:-1),i.R7$(),i.vxM(B.hideSubmit()?-1:5)}},dependencies:[N.YU,p.S],styles:[".services-selection-wrapper[_ngcontent-%COMP%]{display:flex;margin:7px 0 5px;justify-content:center;align-items:flex-end}.services-selection-wrapper.blockView[_ngcontent-%COMP%]{display:block}.services-selection-wrapper.blockView[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{max-width:385px}.services-selection-wrapper.blockView[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%]{margin-top:15px}.dropdown-wrapper[_ngcontent-%COMP%]{width:100%;max-width:340px}.service-submit[_ngcontent-%COMP%]{margin-left:25px;margin-top:6px}label[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular;font-size:16px;font-style:normal;display:block;text-align:left;margin-bottom:5px}.rtl[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]{margin-right:25px;margin-left:0}.rtl.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]{margin-left:0;margin-right:30px}.rtl.models-dropdown[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .rtl.model-version[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{text-align:right}@media screen and (min-width:320px)and (max-width:800px){.services-selection-wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.services-selection-wrapper[_ngcontent-%COMP%] button.service-submit[_ngcontent-%COMP%]{min-width:80px}.services-selection-wrapper[_ngcontent-%COMP%] button.service-submit[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block!important}.models-dropdown[_ngcontent-%COMP%]{flex-wrap:unset!important;flex-direction:row!important;align-items:flex-end!important}.models-dropdown[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{font-size:16px!important}.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:24px;background-color:#165dba;min-width:unset!important;padding:0 16px;position:relative;
1left:-4px;height:33px;margin:0!important;min-height:33px}.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%] .hidden-mobile-only[_ngcontent-%COMP%]{display:none!important}.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]:disabled{background-color:#ccc}.models-dropdown[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{text-align:start}.models-dropdown[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{max-width:calc(100% - 32px)!important}.rtl.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]{margin:0;left:0;right:-4px}}@media screen and (max-width:640px){.services-selection-wrapper[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.services-selection-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{text-align:center}.service-submit[_ngcontent-%COMP%]{margin:15px auto 0}}.dcc-choose-service[_ngcontent-%COMP%] .service-dd-wrapper[_ngcontent-%COMP%], .dcc-choose-service[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%]{margin-top:25px}.service-version[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-top:20px}.model-version[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;color:#2c3038;text-align:left}.model-version[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{max-width:372px}.models-dropdown[_ngcontent-%COMP%]{justify-content:flex-start}.models-dropdown[_ngcontent-%COMP%] .versions-dd-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;color:#000}.models-dropdown[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{max-width:385px}.models-dropdown[_ngcontent-%COMP%] .service-submit[_ngcontent-%COMP%]{margin-left:30px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.service-submit[_ngcontent-%COMP%]{margin-bottom:4px}}"]})}}return n})()},20662(xe,le,a){a.d(le,{h:()=>_e});var M=a(37580),s=a(85240),u=a(86763),$=a(70739),j=a(75257),N=a(90670),p=a(93683),i=a(54041),K=a(78767),l=a(93551),h=a(2435),g=a(12481),W=a(19885),e=a(24938),ae=a(60480),ue=a(99016),me=a(11439),n=a(72990);const pe=L=>({entity:L});function te(L,de){if(1&L&&g.nrm(0,"img",5),2&L){let E;const z=g.XpG(2);g.Y8G("src",(null==(E=z.subscriptionIcons())?null:E.hpplus)||z.fallbackHpplus,g.B4B)}}function F(L,de){1&L&&g.eu8(0)}function B(L,de){if(1&L&&g.DNE(0,F,1,0,"ng-container",18),2&L){const E=de.$implicit;g.XpG(2);const z=g.sdS(4);g.Y8G("ngTemplateOutlet",z)("ngTemplateOutletContext",g.eq3(2,pe,E))}}function C(L,de){if(1&L&&g.Z7z(0,B,1,4,"ng-container",null,g.fX1),2&L){const E=de.$implicit;g.Dyx(null==E?null:E.entities)}}function x(L,de){if(1&L&&g.nrm(0,"img",19),2&L){const E=g.XpG(2).entity;g.Y8G("src",null==E||null==E.icons?null:E.icons.icon120px,g.B4B)("alt",null==E?null:E.name)}}function m(L,de){if(1&L&&g.nVh(0,x,1,2,"img",19),2&L){const E=g.XpG().entity;g.vxM(E.isOneHp&&null!=E.icons&&E.icons.icon120px?0:-1)}}function S(L,de){1&L&&g.nVh(0,m,1,1),2&L&&g.vxM(de.entity?0:-1)}function f(L,de){if(1&L&&(g.j41(0,"span",6),g.Z7z(1,C,2,0,null,null,g.fX1),g.DNE(3,S,1,1,"ng-template",null,0,g.C5r),g.k0s()),2&L){let E;const z=g.XpG(2);g.R7$(),g.Dyx(null==(E=z.deviceData())||null==E.warranty?null:E.warranty.subscriptions)}}function D(L,de){if(1&L&&(g.j41(0,"p",8),g.EFF(1),g.k0s()),2&L){const E=g.XpG(2);g.R7$(),g.SpI(" ",E.allTranslations()["#pps_WCC_FS_Printer_Landing_DifferentImage_Disclaimer_Text"]," ")}}function y(L,de){if(1&L&&g.nrm(0,"img",9),2&L){let E;const z=g.XpG(2);g.Y8G("src",(null==(E=z.subscriptionIcons())?null:E.instantInk)||z.fallbackInstantInk,g.B4B)}}function _(L,de){if(1&L){const E=g.RV6();g.j41(0,"div",21),g.bIt("click",function(){s.eBV(E);const V=g.XpG(3);return s.Njj(V.printReport())})("keyup.enter",function(){s.eBV(E);const V=g.XpG(3);return s.Njj(V.printReport())}),g.nrm(1,"img",22),g.k0s()}}function R(L,de){if(1&L&&g.nVh(0,_,2,0,"div",20),2&L){const E=g.XpG(2);g.vxM(E.failureDiagCard()?0:-1)}}function U(L,de){if(1&L&&(g.j41(0,"a",30),g.EFF(1),g.k0s()),2&L){let E,z;const V=g.XpG(3);g.Y8G("id",g.VkB("lnk",(null==(E=V.deviceData())||null==E.warranty?null:E.warranty.warrantyState)||(null==(E=V.deviceData())||null==E.warranty?null:E.warranty.state),"results"))("href",null==(z=V.deviceData())||null==z.productSpecs?null:z.productSpecs.warrantyDetailsLink,g.B4B),g.R7$(),g.JRh(V.allTranslations()["#pps_WCC_FS_UCE_Product_Card_Details_See_Details_Link_Text"])}}function re(L,de){if(1&L){const E=g.RV6();g.j41(0,"div",23),g.EFF(1),g.k0s(),g.j41(2,"div",24),g.EFF(3),g.k0s(),g.j41(4,"div",25),g.EFF(5),g.k0s(),g.j41(6,"div",26),g.EFF(7),g.k0s(),g.j41(8,"div",27)(9,"img",28,1),g.bIt("error",function(){s.eBV(E);const V=g.sdS(10),Ce=g.XpG(2);return s.Njj(Ce.getFallbackImage(V))}),g.k0s()(),g.j41(11,"div",29)(12,"span"),g.EFF(13),g.k0s(),g.nVh(14,U,2,4,"a",30),g.k0s()}if(2&L){let E,z,V,Ce;const ne=g.XpG(2);g.R7$(),g.JRh(ne.allTranslations()["#pps_WCC_FS_Dashboard_ProductText"]),g.R7$(2),g.JRh((null==(E=ne.deviceData())||null==E.productSpecs?null:E.productSpecs.productNumber)||(null==(E=ne.deviceData())||null==E.warranty?null:E.warranty.productNumber)),g.R7$(2),g.JRh(ne.allTranslations()["#pps_WCC_FS_Dashboard_SerialText"]),g.R7$(2),g.JRh((null==(z=ne.deviceData())||null==z.warranty?null:z.warranty.serialNumber)||(null==(z=ne.deviceData())||null==z.productSpecs?null:z.productSpecs.serialNumber)),g.R7$(2),g.Y8G("src",(null==(V=ne.deviceData())||null==V.warranty?null:V.warranty.imgWarranty)||ne.fallbackImgWarranty,g.B4B),g.R7$(4),g.SpI("",ne.getWarrantyCaption,"\xa0"),g.R7$(),g.vxM(null!=(Ce=ne.deviceData())&&null!=Ce.productSpecs&&Ce.productSpecs.warrantyDetailsLink?14:-1)}}function X(L,de){if(1&L){const E=g.RV6();g.j41(0,"div",14)(1,"a",31),g.bIt("click",function(){s.eBV(E);const V=g.XpG(2);return s.Njj(V.navigateToChooseProduct())}),g.EFF(2),g.k0s()()}if(2&L){const E=g.XpG(2);g.R7$(2),g.JRh(E.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_Choose_Product_Link_Text"])}}function Q(L,de){if(1&L&&(g.j41(0,"p",15),g.EFF(1),g.k0s()),2&L){const E=g.XpG(2);g.R7$(),g.SpI(" ",E.allTranslations()["#pps_WCC_FS_Printer_Landing_DifferentImage_Disclaimer_Text"]," ")}}function q(L,de){if(1&L&&g.nrm(0,"app-diagnostic-report-card",16),2&L){const E=g.XpG(2);g.Y8G("failureDiagData",E.failureDiagData())("allTranslations",E.allTranslations())}}function J(L,de){if(1&L&&g.nrm(0,"img",17),2&L){let E;const z=g.XpG(2);g.Y8G("src",(null==(E=z.subscriptionIcons())?null:E.instantInk)||z.fallbackInstantInk,g.B4B)}}function oe(L,de){if(1&L&&(g.j41(0,"div",3)(1,"div",4),g.nVh(2,te,1,1,"img",5),g.nI1(3,"memoize"),g.nVh(4,f,5,
10,"span",6),g.nrm(5,"img",7),g.nVh(6,D,2,1,"p",8),g.nVh(7,y,1,1,"img",9),g.k0s(),g.j41(8,"div",10)(9,"span",11),g.EFF(10),g.k0s(),g.j41(11,"p",12),g.EFF(12),g.k0s(),g.nVh(13,R,1,1),g.j41(14,"div",13),g.nVh(15,re,15,7),g.nVh(16,X,3,1,"div",14),g.k0s()(),g.nVh(17,Q,2,1,"p",15),g.nVh(18,q,1,2,"app-diagnostic-report-card",16),g.nVh(19,J,1,1,"img",17),g.nI1(20,"memoize"),g.k0s()),2&L){let E,z,V,Ce,ne,ve,he,De,Ee,Be,Ae,Ge;const Se=g.XpG();g.AVh("failure-daig",Se.failureDiagCard()),g.Y8G("ngClass",Se.pageConfig().languageDirection),g.R7$(2),g.vxM(null!=(E=Se.deviceData())&&null!=E.productSpecs&&E.productSpecs.hpPlusEligible&&g.brH(3,19,Se.contactFormService.showSubscriptionIcon,"hpPlus","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?2:-1),g.R7$(2),g.vxM(null!=(z=Se.deviceData())&&null!=z.warranty&&z.warranty.subscriptions&&(null==(z=Se.deviceData())||null==z.warranty?null:z.warranty.subscriptions.length)>0?4:-1),g.R7$(),g.Y8G("src",(null==(V=Se.deviceData())||null==V.productSpecs?null:V.productSpecs.imageUri)||Se.fallbackProductImageLink,g.B4B),g.R7$(),g.vxM(null!=(Ce=Se.deviceData())&&null!=Ce.productSpecs&&Ce.productSpecs.imageUri&&!Se.hideDisclaimerText()?6:-1),g.R7$(),g.vxM(null!=(ne=Se.deviceData())&&null!=ne.warranty&&ne.warranty.instInkSubscribed?7:-1),g.R7$(),g.AVh("align-self-center",!(null!=(ve=Se.deviceData())&&null!=ve.warranty&&ve.warranty.serialNumber)),g.R7$(2),g.JRh(null==(he=Se.deviceData())||null==he.warranty?null:he.warranty.nickName),g.R7$(),g.Y8G("title",null==(De=Se.deviceData())||null==De.productSpecs?null:De.productSpecs.productNameDisplay),g.R7$(),g.SpI(" ",null==(Ee=Se.deviceData())||null==Ee.productSpecs?null:Ee.productSpecs.productNameDisplay," "),g.R7$(),g.vxM(Se.showPrinterIcon()?13:-1),g.R7$(2),g.vxM(null!=(Be=Se.deviceData())&&null!=Be.warranty&&Be.warranty.serialNumber?15:-1),g.R7$(),g.vxM(Se.showChooseProduct()&&!Se.failureDiagCard()?16:-1),g.R7$(),g.vxM(null!=(Ae=Se.deviceData())&&null!=Ae.productSpecs&&Ae.productSpecs.imageUri&&!Se.hideDisclaimerText()?17:-1),g.R7$(),g.vxM(Se.failureDiagCard()&&Se.failureDiagData()?18:-1),g.R7$(),g.vxM(null!=(Ge=Se.deviceData())&&null!=Ge.warranty&&Ge.warranty.instInkSubscribed&&g.brH(20,23,Se.contactFormService.showSubscriptionIcon,"instantInk","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?19:-1)}}let _e=(()=>{class L{onBeforePrint(E){this.printFlag()&&this.renderer.addClass(document.querySelector("body"),"diag-report-print")}onAfterPrint(E){this.renderer.removeClass(document.querySelector("body"),"diag-report-print"),this.printFlag.set(!1)}constructor(E,z,V,Ce,ne,ve,he){this.pageService=E,this.router=z,this.commonService=V,this.renderer=Ce,this.contactFormService=ne,this.store=ve,this.browserWrapperService=he,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.fallbackProductImageLink=$.D5.fallbackProductImageLink,this.fallbackImgWarranty=$.D5.imgWarrantyDefault,this.fallbackHpplus=$.D5.fallbackHpplus,this.fallbackInstantInk=$.D5.fallbackInstantInk,this.chooseProductUrlParams=(0,s.vPA)({}),this.fallBackError=(0,s.vPA)(!1),this.printFlag=(0,s.vPA)(!1),this.hideDisclaimerText=(0,s.vPA)(!0),this.wrapperClass=(0,M.hFB)(""),this.showChooseProduct=(0,M.hFB)(!0),this.allTranslations=(0,M.hFB)({}),this.chooseProductUrl=(0,M.geq)(`/${this.pageConfig().locale}/contact/select-product`),this.failureDiagCard=(0,M.hFB)(!1),this.failureDiagData=(0,M.hFB)({}),this.showPrinterIcon=(0,M.hFB)(!0),this.deviceCardData=(0,M.hFB)(),this.subscriptionIcons=(0,u.EW)(()=>this.deviceCardData()?.data?.subscriptionIcons),this.deviceData=(0,u.EW)(()=>this.deviceCardData()?.data?.devices?.[0]),(0,u.QZ)(()=>{this.deviceData()&&this.getSSCKeys()})}ngOnInit(){"callme"==this.pageConfig().originId&&(this.chooseProductUrl.set(`/${this.pageConfig().locale}/contact`),this.chooseProductUrlParams.set({originid:"callme"})),this.contactFormService.getSSCConfig()}get getWarrantyCaption(){const z=(this.deviceData()||{})?.warranty,V=z?.warrantyState||z?.state;return(z?.statusDetail?z?.statusDetail:"")+(z?.caption&&$.D5.activeWarrantyStatus.includes(V?.toUpperCase())?" - "+z?.caption:"")}getSSCKeys(){this.store.select(i.FM).pipe((0,h.$)(E=>!(0,l.A)(E))).subscribe(E=>{this.hideDisclaimerText.set((0,K.A)(E.NO_DISCLAIMER_TEXT_SERVICE_SERIESOID,String(this.deviceData()?.productSpecs?.productSeriesOid))||(0,K.A)(this.deviceData()?.productSpecs.imageUri,"fallback_product"))})}getFallbackImage(E){this.fallBackError()||(E.src=this.fallbackImgWarranty,this.fallBackError.
1set(!0))}navigateToChooseProduct(){this.browserWrapperService.getSessionStorageItem("navigationContextPlatform")&&this.browserWrapperService.removeSessionStorageItem("navigationContextPlatform"),"callme"==this.pageConfig().originId?(this.commonService.navigateBackToContactParam="callme",this.router.navigate([this.chooseProductUrl()],{queryParams:this.chooseProductUrlParams()})):this.router.navigate([this.chooseProductUrl()])}printReport(){this.printFlag.set(!0),typeof window<"u"&&window.print()}static{this.\u0275fac=function(z){return new(z||L)(g.rXU(W.b),g.rXU(e.Ix),g.rXU(ae.h),g.rXU(g.sFG),g.rXU(ue.i),g.rXU(me.il),g.rXU(n.z))}}static{this.\u0275cmp=g.VBU({type:L,selectors:[["app-contact-product-ribbon"]],hostBindings:function(z,V){1&z&&g.bIt("beforeprint",function(ne){return V.onBeforePrint(ne)},g.tSv)("afterprint",function(ne){return V.onAfterPrint(ne)},g.tSv)},inputs:{wrapperClass:[1,"wrapperClass"],showChooseProduct:[1,"showChooseProduct"],allTranslations:[1,"allTranslations"],chooseProductUrl:[1,"chooseProductUrl"],failureDiagCard:[1,"failureDiagCard"],failureDiagData:[1,"failureDiagData"],showPrinterIcon:[1,"showPrinterIcon"],deviceCardData:[1,"deviceCardData"]},outputs:{chooseProductUrl:"chooseProductUrlChange"},decls:1,vars:1,consts:[["imageTemplate",""],["img",""],[1,"card-wrapper",3,"ngClass","failure-daig"],[1,"card-wrapper",3,"ngClass"],[1,"image-container","mr-2","mr-lg-5"],[1,"mb-1","hpplus",3,"src"],[1,"mb-1","hpplus"],[1,"product-img",3,"src"],[1,"product-img-disclaimer"],[1,"mt-1","d-sm-block","instantInk","d-md-none",3,"src"],[1,"device-details-container"],[1,"nick-name","d-none","d-md-block"],[1,"product-name",3,"title"],[1,"grid-container"],[1,"choose-product-link"],[1,"product-img-disclaimer-mobile"],[3,"failureDiagData","allTranslations"],[1,"mt-auto","mb-3","ml-auto","instantInk","d-none","d-md-block",3,"src"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mb-1","hpone",3,"src","alt"],["tabindex","0",1,"print-btn"],["tabindex","0",1,"print-btn",3,"click","keyup.enter"],["title","Print report","id","Print","alt","Print product card","src","/wcc-assets/images/print-page.svg"],[1,"product-num","font-regular"],[1,"product-val"],[1,"serial-num","font-regular"],[1,"serial-val"],[1,"warranty-icon"],["alt","warranty",3,"error","src"],[1,"warranty-status"],["target","_blank","rel","noopener noreferrer",1,"d-inline-block",3,"href","id"],["href","javascript:void(0)","id","diffproduct",3,"click"]],template:function(z,V){1&z&&g.nVh(0,oe,21,27,"div",2),2&z&&g.vxM(V.deviceData()?0:-1)},dependencies:[p.YU,p.T3,N.V,j.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.print-btn[_ngcontent-%COMP%]{cursor:pointer}.card-wrapper[_ngcontent-%COMP%]{position:relative;padding:22px 16px 21px 23px;border-radius:10px;box-shadow:0 0 20px #00000029;background-color:#fff;display:flex;flex-wrap:wrap}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:HPSimplified}.card-wrapper[_ngcontent-%COMP%] .instantInk[_ngcontent-%COMP%]{width:90px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{text-align:center;width:208px;max-height:100%;margin-right:46px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:160px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .product-img[_ngcontent-%COMP%]{max-width:80%;text-align:center}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .hpplus[_ngcontent-%COMP%]{width:54px;margin-right:15px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .hpone[_ngcontent-%COMP%]{max-width:85px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .product-img-disclaimer[_ngcontent-%COMP%]{font-family:
1Forma DJR Micro;font-size:14px;font-weight:400;line-height:18px;color:#636363;padding-top:18px;text-align:center;max-width:100%;display:block;margin-bottom:0}.card-wrapper[_ngcontent-%COMP%] .product-img-disclaimer-mobile[_ngcontent-%COMP%]{display:none}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%]{max-width:376px;line-height:normal}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .nick-name[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:18px;margin-bottom:6px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{color:#000;font-size:24px;-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:2.5;margin:0 auto;line-height:1.25;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%]{display:grid;display:-ms-grid;font-size:16px;grid-row-gap:2px;margin-top:10px;width:-moz-fit-content;width:fit-content}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-column:1;grid-area:1/1/1/1;margin-right:43px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-val[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-column:2;grid-area:1/2/2/2}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:1;grid-area:2/1/2/2;margin-right:43px;margin-bottom:6px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-val[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:2;grid-area:2/2/3/3}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .warranty-icon[_ngcontent-%COMP%]{max-width:30px;max-height:30px;-ms-grid-row:3;-ms-grid-column:1;grid-area:3/1/3/3}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%]{-ms-grid-row:3;-ms-grid-column:2;grid-area:3/2/3/3;margin-bottom:7px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .choose-product-link[_ngcontent-%COMP%]{-ms-grid-row:4;-ms-grid-column:2;grid-area:4/2/4/2}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .unknown-warranty[_ngcontent-%COMP%]{grid-area:4/1/4/2}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .font-regular[_ngcontent-%COMP%]{font-family:HPSimplified}.card-wrapper[_ngcontent-%COMP%] app-diagnostic-report-card[_ngcontent-%COMP%]{width:100%}.rtl.card-wrapper[_ngcontent-%COMP%]{padding:22px 23px 21px 16px}.rtl.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{margin-right:0;margin-left:46px}.rtl.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:160px}.rtl.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%]{margin-left:43px;margin-right:unset}.rtl.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{margin-right:unset;margin-left:43px}.card-wrapper.failure-daig[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;flex-wrap:wrap;position:relative}.card-wrapper.failure-daig[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%]{max-width:500px;padding-right:20px}.card-wrapper.failure-daig[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .print-btn[_ngcontent-%COMP%]{position:absolute;width:30px;height:30px;right:29px;
1top:31px;z-index:9;cursor:pointer}.card-wrapper.failure-daig[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .print-btn[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.card-wrapper.failure-daig[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:4px}.card-wrapper.failure-daig[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{padding-right:34px}.card-wrapper.failure-daig[_ngcontent-%COMP%] .diag-report[_ngcontent-%COMP%]{border-bottom:1px solid #CCCCCC}.card-wrapper.failure-daig.rtl[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .print-btn[_ngcontent-%COMP%]{right:initial;left:29px}.card-wrapper.failure-daig.rtl[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{padding-right:0;padding-left:34px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.card-wrapper[_ngcontent-%COMP%]{width:100%;height:auto;padding:21px 14px 11px 13px;gap:0 2%}.card-wrapper[_ngcontent-%COMP%] .instantInk[_ngcontent-%COMP%]{width:64px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{align-self:center;width:30%;max-height:100%}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .hpplus[_ngcontent-%COMP%]{width:27px}.card-wrapper[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .product-img-disclaimer[_ngcontent-%COMP%]{display:none}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%]{width:61%;max-width:376px;line-height:16px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{font-size:16px;-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:3.39;margin:0 auto;line-height:1.13;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%]{font-size:14px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%]{margin-right:5px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{margin-right:5px;margin-bottom:4px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%]{margin-bottom:0}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-bottom:2px}.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .choose-product-link[_ngcontent-%COMP%]{grid-area:4/1/4/3}.card-wrapper[_ngcontent-%COMP%] .product-img-disclaimer-mobile[_ngcontent-%COMP%]{font-family:
1Forma DJR Micro;font-size:14px;font-weight:400;line-height:18px;color:#636363;padding-top:18px;text-align:left;max-width:100%;display:block;flex-basis:100%;margin-bottom:0}.rtl.card-wrapper[_ngcontent-%COMP%]{padding:21px 13px 11px 14px}.rtl.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%]{margin-left:5px;margin-right:unset}.rtl.card-wrapper[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{margin-right:unset;margin-left:5px}.card-wrapper.failure-daig[_ngcontent-%COMP%]{gap:initial}.card-wrapper.failure-daig[_ngcontent-%COMP%] .warranty-icon[_ngcontent-%COMP%], .card-wrapper.failure-daig[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%]{display:none}.card-wrapper.failure-daig[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .print-btn[_ngcontent-%COMP%]{width:20px;height:20px;top:22px;right:16px}.card-wrapper.failure-daig[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .print-btn[_ngcontent-%COMP%] .print-logo[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.card-wrapper.failure-daig[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{padding-right:5px}}"]})}}return L})()},16801(xe,le,a){a.d(le,{x:()=>u});var M=a(37580),s=a(12481);let u=(()=>{class ${onResize(){this.setHeight()}constructor(N,p){this.el=N,this.renderer=p,this.rows=(0,M.hFB)(),this.containerClass=(0,M.hFB)(""),this.cardClass=(0,M.hFB)("")}ngAfterViewInit(){setTimeout(()=>{this.setHeight()},10)}setHeight(){let N=this.el?.nativeElement?.querySelector(this.containerClass());if(!N)return;let p=N?.querySelectorAll(this.cardClass());if(!p||0===p.length)return;let i=getComputedStyle(p[0]),K=0;p.forEach(h=>{let g=h.offsetHeight;g>K&&(K=g)});const l=K*Number(this.rows())+(parseInt(i?.marginTop||"0")||0)*(2*Number(this.rows()));this.renderer.setAttribute(N,"style",`height: ${l}px !important`)}static{this.\u0275fac=function(p){return new(p||$)(s.rXU(s.aKT),s.rXU(s.sFG))}}static{this.\u0275dir=s.FsC({type:$,selectors:[["","appCarouselHeight",""]],hostBindings:function(p,i){1&p&&s.bIt("resize",function(){return i.onResize()},s.tSv)},inputs:{rows:[1,"rows"],containerClass:[1,"containerClass"],cardClass:[1,"cardClass"]}})}}return $})()},87542(xe,le,a){a.d(le,{o:()=>B});var M=a(37580),s=a(85240),u=a(86763),$=a(70739),j=a(93683),N=a(12481),p=a(19885),i=a(84527),K=a(99016);const l=C=>({entity:C}),h=(C,x)=>({expired:C,unknown:x});function g(C,x){if(1&C&&N.nrm(0,"img",4),2&C){let m;const S=N.XpG();N.Y8G("src",(null==(m=S.card())||null==m.icons?null:m.icons.hpplus)||S.fallbackHpplus(),N.B4B)}}function W(C,x){1&C&&N.eu8(0)}function e(C,x){if(1&C&&N.DNE(0,W,1,0,"ng-container",18),2&C){const m=x.$implicit;N.XpG(2);const S=N.sdS(4);N.Y8G("ngTemplateOutlet",S)("ngTemplateOutletContext",N.eq3(2,l,m))}}function ae(C,x){if(1&C&&N.Z7z(0,e,1,4,"ng-container",null,N.fX1),2&C){const m=x.$implicit;N.Dyx(null==m?null:m.entities)}}function ue(C,x){if(1&C&&N.nrm(0,"img",19),2&C){const m=N.XpG(2).entity;N.Y8G("src",null==m||null==m.icons?null:m.icons.icon120px,N.B4B)("alt",null==m?null:m.name)}}function me(C,x){if(1&C&&N.nVh(0,ue,1,2,"img",19),2&C){const m=N.XpG().entity;N.vxM(m.isOneHp&&null!=m.icons&&m.icons.icon120px?0:-1)}}function n(C,x){1&C&&N.nVh(0,me,1,1),2&C&&N.vxM(x.entity?0:-1)}function pe(C,x){if(1&C&&(N.j41(0,"span",5),N.Z7z(1,ae,2,0,null,null,N.fX1),N.DNE(3,n,1,1,"ng-template",null,0,N.C5r),N.k0s()),2&C){let m,S;const f=N.XpG();N.Y8G("ngClass",null!=(m=f.card())&&m.hpPlusEnrolled&&f.contactFormService.showSubscriptionIcon("hpPlus","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?"hpone-logo-with-hplus":"hpone-logo-without-hplus"),N.R7$(),N.Dyx(null==(S=f.card())?null:S.subscriptions)}}function te(C,x){if(1&C&&(N.j41(0,"p",16),N.EFF(1),N.k0s()),2&C){let m;const S=N.XpG();N.Y8G("ngClass",N.l_i(2,h,"OW"===S.card().warrantyState,"UN"===S.card().warrantyState)),N.R7$(),N.SpI(" ",null==(m=S.card())?null:m.warrantyStatus," ")}}function F(C,x){if(1&C&&N.nrm(0,"img",17),2&C){let m;const S=N.XpG();N.Y8G("src",(null==(m=S.card())||null==m.icons?null:m.icons.instantInk)||S.fallbackInstantInk(),N.B4B)}}let B=(()=>{class C{constructor(m,S,f){this.pageService=m,this.productFinderService=S,this.contactFormService=f,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.card=(0,M.hFB)(null),this.allTranslations=(0,M.hFB)({}),this.showWarrantyStatus=(0,M.hFB)(!0),this.isInstantInkFlow=(0,M.hFB)(!1),this.itemIndex=(0,M.hFB)(null),this.isHPPlus=(0,s.vPA)(!1),this.fallbackProductImageLink=(0,s.vPA)($.D5.fallbackProductImageLink),this.fallbackHpplus=(0,s.vPA)($.D5.fallbackHpplus),this.fallbackInstantInk=(0,s.vPA)($.D5.fallbackInstantInk)}ngOnInit(){}ngOnChanges(){this.contactFormService.getSSCConfig(),this.isHPPlus.set(-1!==this.card().subscriptionServices.toLowerCase().indexOf("hp+")||-1!==this.card().subscriptionServices.toLowerCase().indexOf("instant ink"))}deviceSelected(){this.productFinderService.carouselDeviceSelected.next(this.card())}static{this.\u0275fac=function(S){return new(S||C)(N.rXU(p.b),N.rXU(i.h),N.rXU(K.i))}}static{this.\u0275cmp=N.VBU({type:C,selectors:[["app-device-card"]],inputs:{card:[1,"card"],allTranslations:[1,"allTranslations"],showWarrantyStatus:[1,"showWarrantyStatus"],isInstantInkFlow:[1,"isInstantInkFlow"],itemIndex:[1,"itemIndex"]},features:[N.OA$],decls:23,vars:14,consts:[["imageTemplate",""],[1,"card-wrapper"],["href","javascript:void(0)",3,"click","title"],[1,"card-container",3,"ngClass"],[1,"hp-plus",3,"src"],[1,"",3,"ngClass"],[1,"image"],["alt","device icon",3,"src"],[1,"card-info"],[1,"device-name","d-none","d-md-block"],[1,"product-name"],[1,"grid-container"],[1,"product-num","font-regular"],[1,"product-val"],[1,"serial-num","font-regular"],[1,"serial-val"],[1,"warranty-status",3,"ngClass"],[1,"instant-ink",3,"src"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mb-1","hpone",3,"src","alt"]],template:function(S,f){if(1&S&&(N.j41(0,"div",1)(1,"a",2),N.bIt("click",function(){return f.deviceSelected()}),N.j41(2,"div",3),N.nVh(3,g,1,1,"img",4),N.nVh(4,pe,5,1,"span",5),N.j41(5,"div",6),N.nrm(6,"img",7),N.k0s(),N.j41(7,"div",8)(8,"span",9),N.EFF(9),N.k0s(),N.j41(10,"p",10),N.EFF(11),N.k0s(),N.j41(12,"div",11)(13,"div",12),N.EFF(14),N.k0s(),N.j41(15,"div",13),N.EFF(16),N.k0s(),N.j41(17,"div",14),N.EFF(18),N.k0s(),N.j41(19,"div",15),N.EFF(20),N.k0s()(),N.nVh(21,te,2,5,"p",16),N.nVh(22,F,1,1,"img",17),N.k0s()()()()),2&S){let D,y,_,R,U,re,X,Q,q;N.R7$(),N.Y8G("title",null==(D=f.card())?null:D.nickName),N.BMQ("id",f.isInstantInkFlow()&&null!==f.itemIndex()?"IIprod-"+(f.itemIndex()+1):null),N.R7$(),N.Y8G("ngClass","rtl"===f.pageConfig().languageDirection?"rtl":"ltr"),N.R7$(),N.vxM(null!=(y=f.card())&&y.hpPlusEnrolled&&f.contactFormService.showSubscriptionIcon("hpPlus","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?3:-1),N.R7$(),N.vxM(null!=(_=f.card())&&_.subscriptions&&(null==(_=f.card())?null:_.subscriptions.length)>0?4:-1),N.R7$(2),N.Y8G("src",(null==(R=f.card())?null:R.imageLink)||f.fallbackProductImageLink(),N.B4B),N.R7$(3),N.SpI(" ",null==(U=f.card())?null:U.nickName," "),N.R7$(2),N.SpI(" ",null==(re=f.card())?null:re.productName," "),N.R7$(3),N.JRh(f.allTranslations()["#pps_WCC_FS_Dashboard_ProductText"]),N.R7$(2),N.JRh(null==(X=f.card())||null==X.productNumber||null==(X=X.productNumber.split("#"))?null:X[0]),N.R7$(2),N.JRh(f.allTranslations()["#pps_WCC_FS_Dashboard_SerialText"]),N.R7$(2),N.JRh(null==(Q=f.card())?null:Q.serialNumber),N.R7$(),N.vxM(f.showWarrantyStatus()?21:-1),N.R7$(),N.vxM(null!=(q=f.card())&&q.instInkSubscribed&&f.contactFormService.showSubscriptionIcon("instantInk","CONTACT_SUBSCRIPTION_LOGO_DISPLAY")?22:-1)}},dependencies:[j.YU,j.T3],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.card-wrapper[_ngcontent-%COMP%]{margin:15px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{display:flex;position:relative;flex-wrap:wrap;justify-content:space-evenly;font-weight:400;text-align:start;padding:18px 19.9px 18px 18px;box-shadow:0 0 20px #00000029;background-color:#fff;border-radius:10px;color:#000}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;line-height:20px;font-size:14px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;align-self:center;max-width:40%;width:127px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;margin:0 15px 0 0}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hp-plus[_ngcontent-%COMP%]{position:absolute;top:8px;left:18px;width:39px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hpone-logo-with-hplus[_ngcontent-%COMP%]{display:inline-block;position:absolute;
1left:64px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hpone-logo-with-hplus[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:60px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hpone-logo-without-hplus[_ngcontent-%COMP%]{left:18px;display:inline-block;position:absolute;top:15px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hpone-logo-without-hplus[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:60px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .instant-ink[_ngcontent-%COMP%]{position:absolute;bottom:12px;right:3px;width:66px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%]{text-align:left;flex:1 1 160px;display:flex;flex-direction:column}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%]{font-size:14px;display:grid;display:-ms-grid;grid-row-gap:2px;grid-auto-columns:max-content}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-row-span:1;-ms-grid-column:1;-ms-grid-column-span:1;grid-area:1/1/2/2;margin-right:5px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-val[_ngcontent-%COMP%]{-ms-grid-row:1;-ms-grid-row-span:1;-ms-grid-column:2;grid-area:1/2/2/2}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:1;-ms-grid-column-span:1;grid-area:2/1/2/2;margin-right:5px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-val[_ngcontent-%COMP%]{-ms-grid-row:2;-ms-grid-column:2;grid-area:2/2/2/2}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .font-regular[_ngcontent-%COMP%]{font-family:HPSimplified}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:hover{box-shadow:0 0 20px #0000004d}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus .card-container[_ngcontent-%COMP%]{box-shadow:0 0 6px #0096d6}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.rtl[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%]{text-align:right!important}.rtl[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .product-num[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{margin-left:5px;margin-right:0!important}.rtl[_ngcontent-%COMP%] .hp-plus[_ngcontent-%COMP%]{right:8px}.rtl[_ngcontent-%COMP%] .instant-ink[_ngcontent-%COMP%]{right:unset!important;left:3px}.rtl[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 0 0 15px!important}.device-name[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;height:19px;color:#000}.product-name[_ngcontent-%COMP%]{color:#000;margin:3px 0 6px!important;font-family:HPSimplifiedLight;font-size:16px!important;font-weight:300;height:inherit;overflow:hidden}.warranty-status[_ngcontent-%COMP%]{margin-top:3px;font-family:HPSimplified;font-size:14px;color:#0171ad}.warranty-status.expired[_ngcontent-%COMP%]{color:#bf2026}.warranty-status.unknown[_ngcontent-%COMP%]{color:#767676}@media only screen and (min-width:768px)and (max-width:991px){.card-wrapper[_ngcontent-%COMP%]{margin:10px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .card-info[_ngcontent-%COMP%]{min-width:150px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{font-size:14px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 0 15px}.hpone-logo-with-hplus[_ngcontent-%COMP%]{top:15px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.card-wrapper[_ngcontent-%COMP%]{margin:8px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{width:95%;min-width:270px;padding:19px 7.9px 20px 9px;flex-wrap:nowrap}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .warranty-status[_ngcontent-%COMP%]{font-size:16px;line-height:20px;max-width:100%}
1.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%]{margin-bottom:3px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{width:100%;line-height:18px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{min-width:auto;max-width:auto}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:80px;max-width:95px;margin:auto 10px auto 0}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .instant-ink[_ngcontent-%COMP%]{bottom:8px;left:18px}.card-wrapper[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .hp-plus[_ngcontent-%COMP%]{width:27px}.hpone-logo-with-hplus[_ngcontent-%COMP%]{top:15px;left:50px!important}}"]})}}return C})()},90670(xe,le,a){a.d(le,{V:()=>F});var M=a(37580),s=a(85240),u=a(86763),$=a(6312),j=a(70739),N=a(93683),p=a(61166),i=a(12481),K=a(19885),l=a(24938);const h=(B,C)=>({"closed-accordion":B,"opened-accordion":C}),g=B=>({"add-btm-space":B}),W=(B,C)=>({"arrow-down":B,"arrow-up":C}),e=(B,C)=>({"error-clr":B,blck:C});function ae(B,C){if(1&B&&(i.j41(0,"p",3),i.EFF(1),i.k0s()),2&B){const x=i.XpG(2);i.R7$(),i.JRh(x.hideAddInfo()?x.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Contact_Closure_Summary_Show_Details"]:x.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Contact_Closure_Summary_Hide_Details"])}}function ue(B,C){if(1&B&&(i.j41(0,"p",4),i.EFF(1),i.k0s()),2&B){const x=i.XpG(2);i.R7$(),i.JRh(x.hideAddInfo()?x.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Contact_Tap_for_Details"]:x.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Contact_Tap_to_Close"])}}function me(B,C){if(1&B&&(i.j41(0,"div",25),i.EFF(1),i.k0s(),i.j41(2,"div",26),i.EFF(3),i.k0s()),2&B){let x;const m=i.XpG(3);i.R7$(),i.JRh(m.allTranslations()["#pps_WCC_FC_FailureDiagnostic_SN_Text"]),i.R7$(2),i.JRh(null==(x=m.warrantyResponse())||null==x.warranty?null:x.warranty.serialNumber)}}function n(B,C){if(1&B&&(i.j41(0,"div",7)(1,"div",20),i.nrm(2,"img",21),i.k0s(),i.j41(3,"div",22)(4,"p",23),i.EFF(5),i.k0s(),i.j41(6,"div",24),i.nVh(7,me,4,2),i.k0s()()()),2&B){let x,m,S,f,D;const y=i.XpG(2);i.R7$(2),i.Y8G("src",(null==(x=y.warrantyResponse())||null==x.productSpecs?null:x.productSpecs.imageUri)||y.fallbackProductImageLink(),i.B4B),i.R7$(),i.AVh("align-self-center",!(null!=(m=y.warrantyResponse())&&null!=m.warranty&&m.warranty.serialNumber)),i.R7$(),i.Y8G("title",null==(S=y.warrantyResponse())||null==S.productSpecs?null:S.productSpecs.productName),i.R7$(),i.SpI(" ",null==(f=y.warrantyResponse())||null==f.productSpecs?null:f.productSpecs.productName," "),i.R7$(2),i.vxM(null!=(D=y.warrantyResponse())&&null!=D.warranty&&D.warranty.serialNumber?7:-1)}}function pe(B,C){if(1&B&&(i.j41(0,"div",19),i.nrm(1,"app-referencedocuments",27),i.k0s()),2&B){let x;const m=i.XpG(2);i.R7$(),i.Y8G("allTranslations",m.allTranslations())("diagnosticResponse",null==(x=m.failureDiagData())?null:x.documents)}}function te(B,C){if(1&B){const x=i.RV6();i.j41(0,"div",0)(1,"div",1),i.EFF(2),i.j41(3,"button",2),i.bIt("click",function(){s.eBV(x);const S=i.XpG();return s.Njj(S.toggleTabContent())}),i.nVh(4,ae,2,1,"p",3),i.nVh(5,ue,2,1,"p",4),i.nrm(6,"span",5),i.k0s()(),i.j41(7,"div",6),i.bIt("@slideInOut.done",function(){s.eBV(x);const S=i.XpG();return s.Njj(S.accordionAnimationDone())}),i.nVh(8,n,8,6,"div",7),i.j41(9,"div",8),i.EFF(10),i.k0s(),i.j41(11,"div",9)(12,"div",10)(13,"span",11),i.EFF(14),i.k0s(),i.j41(15,"span",12),i.EFF(16),i.k0s()(),i.j41(17,"div",13)(18,"span",11),i.EFF(19),i.k0s(),i.j41(20,"span",12),i.EFF(21),i.k0s()(),i.j41(22,"div",14)(23,"span",11),i.EFF(24),i.k0s(),i.j41(25,"span",12),i.EFF(26),i.k0s()()(),i.j41(27,"div",15)(28,"span",16),i.EFF(29),i.k0s(),i.EFF(30),i.j41(31,"span",17),i.EFF(32),i.k0s()(),i.nrm(33,"div",18),i.nVh(34,pe,2,2,"div",19),i.k0s()()}if(2&B){let x,m,S;const f=i.XpG();i.Y8G("ngClass",f.pageConfig().isMobile&&f.isFrexLanding()?f.pageConfig().languageDirection+" mobile-device-frex":f.pageConfig().languageDirection),i.R7$(),i.Y8G("ngClass",i.l_i(23,h,f.hideAddInfo(),!f.hideAddInfo())),i.R7$(),i.SpI(" ",f.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Diagnostic_Report_Text"]," "),i.R7$(),i.Y8G("ngClass",i.eq3(26,g,!f.hideAddInfo())),i.R7$(),i.vxM(f.pageConfig().isMobile&&f.isFrexLanding()?-1:4),i.R7$(),i.vxM(f.pageConfig().isMobile&&f.isFrexLanding()?5:-1),i.R7$(),i.Y8G("ngClass",i.l_i(28,W,!f.hideAddInfo(),f.hideAddInfo())),i.R7$(),i.Y8G("@slideInOut",void 0)("hidden",f.hideAddInfo()),i.R7$(),i.vxM(f.pageConfig().isMobile&&f.isFrexLanding()?8:-1),i.R7$(2),i.JRh(f.failureDiagData().testDetailsLabel),i.R7$(4),i.JRh(f.allTranslations()["#pps_WCC_FS_FailureDiagnostic_FailureId"]||"Failure ID:"),i.R7$(2),i.JRh(f.failureId()),i.R7$(3),i.JRh(f.allTranslations()["#pps_WCC_FS_FailureDiagnostic_TestDate"]||"Test date:"),i.R7$(2),i.JRh(null==(x=f.failureDiagData())?null:x.testDate),i.R7$(3),i.JRh(f.allTranslations()["#pps_WCC_FS_FailureDiagnostic_ComponentTested"]||"Component tested:"),i.R7$(2),i.JRh(null==(m=f.failureDiagData())?null:m.componentCheckedLabel),i.R7$(2),i.Y8G("ngClass",i.l_i(31,e,"i"===(null==(S=f.failureDiagData().severity)?null:S.toLowerCase())||"c"===(null==(S=f.failureDiagData().severity)?null:S.toLowerCase()),f.page
1Config().isMobile&&f.isFrexLanding())),i.R7$(),i.JRh(f.failureDiagData().severityLabel),i.R7$(),i.SpI("",f.failureDiagData().summary," "),i.R7$(2),i.JRh(f.failureDiagData().troubleshootingLabel),i.R7$(),i.Y8G("innerHTML",f.replaceWithNewLine(f.failureDiagData().customerTroubleshootingSteps),i.npT),i.R7$(),i.vxM(f.isFrexLanding()&&f.pageConfig().isMobile?34:-1)}}let F=(()=>{class B{onBeforePrint(x){this.hideAddInfo.set(!1)}constructor(x,m,S){this.pageService=x,this.route=m,this.document=S,this.hideAddInfo=(0,s.vPA)(!1),this.fallbackProductImageLink=(0,s.vPA)(j.D5.fallbackProductImageLink),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.failureDiagData=(0,M.hFB)({}),this.allTranslations=(0,M.hFB)({}),this.warrantyResponse=(0,M.hFB)({}),this.isFrexLanding=(0,M.hFB)(!1),this.failureId=(0,s.vPA)(null),this.window=this.document.defaultView}ngOnInit(){const x=this.route?.url?.includes("/contact/form");if(!this.isFrexLanding()&&x&&this.hideAddInfo.set(!0),this.pageConfig().isBrowser)try{const m=JSON.parse(this.window.sessionStorage.getItem("contactFormMetaData"));this.failureId.set(m.contactProductContext.failureId)}catch{}}toggleTabContent(){this.hideAddInfo.set(!this.hideAddInfo())}accordionAnimationDone(){}replaceWithNewLine(x){return x?.replace(/\n/g,"<br />")}static{this.\u0275fac=function(m){return new(m||B)(i.rXU(K.b),i.rXU(l.Ix),i.rXU(s.qQL))}}static{this.\u0275cmp=i.VBU({type:B,selectors:[["app-diagnostic-report-card"]],hostBindings:function(m,S){1&m&&i.bIt("beforeprint",function(D){return S.onBeforePrint(D)},i.tSv)},inputs:{failureDiagData:[1,"failureDiagData"],allTranslations:[1,"allTranslations"],warrantyResponse:[1,"warrantyResponse"],isFrexLanding:[1,"isFrexLanding"]},decls:1,vars:1,consts:[[1,"diagnostic-report-container","accordion",3,"ngClass"],[1,"diag-report-title",3,"ngClass"],["type","button",1,"accordion-button",3,"click","ngClass"],["id","showdetails",1,"accordion-text"],[1,"accordion-text"],[3,"ngClass"],[1,"diag-report-details",3,"hidden"],[1,"diag-prod-details"],[1,"p-title"],[1,"p-failure-info"],[1,"info-fail-id"],[1,"info-tag"],[1,"info-value"],[1,"info-test-date"],[1,"info-component-tested"],[1,"p-desc"],[1,"imp-txt",3,"ngClass"],[1,"additional-guide-text"],[1,"p-list",3,"innerHTML"],[1,"ref-doc-frex-mob"],[1,"image-container"],[3,"src"],[1,"device-details-container"],[1,"product-name",3,"title"],[1,"grid-container"],[1,"serial-num","font-regular"],[1,"serial-val"],[3,"allTranslations","diagnosticResponse"]],template:function(m,S){1&m&&i.nVh(0,te,35,34,"div",0),2&m&&i.vxM(S.failureDiagData()?0:-1)},dependencies:[N.YU,p.t],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.diagnostic-report-container.accordion[_ngcontent-%COMP%]{flex-basis:100%;margin-top:12px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:20px;font-weight:300;line-height:23px;color:#000;border-top:.5px solid #CCCCCC;border-bottom:.5px solid #CCCCCC;padding:20px 0}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]{color:#165dba;float:right;position:relative;padding-right:28px;background:none;display:inline-flex;height:initial}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 6px #0096d6}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:10px;margin:0 7px;transition:transform .2s ease-in-out;background-position:center;background:url(/wcc-assets/images/accordion-arrow-blue.svg) 100% no-repeat;position:absolute;top:8px;right:0;height:6px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-up[_ngcontent-%COMP%]{transform:rotate(0)}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-down[_ngcontent-%COMP%]{transform:rotate(-180deg)}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .accordion-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px;font-weight:400;line-height:16px;color:#165dba;cursor:pointer;margin:0;padding:2px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title.closed-accordion[_ngcontent-%COMP%]{border-bottom:none;padding-bottom:0}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%]{display:flex;width:100%;padding-top:12px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:24%;min-width:77px;margin-right:14px!important}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .product-name[_ng
1content-%COMP%]{margin-bottom:8px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:12px;font-weight:400;line-height:14px;color:#000;display:inline-block;vertical-align:top;min-width:18px;margin-right:3px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-val[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:12px;font-weight:300;line-height:14px;color:#000;display:inline-block;vertical-align:top}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-title[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000;padding:20px 0 6px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-failure-info[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-failure-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;gap:5px;margin-bottom:5px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-failure-info[_ngcontent-%COMP%] span.info-tag[_ngcontent-%COMP%]{color:#666;white-space:nowrap}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-failure-info[_ngcontent-%COMP%] span.info-value[_ngcontent-%COMP%]{color:#999}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:19px;color:#000;margin-top:20px;padding-bottom:12px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000;margin-right:5px}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt.error-clr[_ngcontent-%COMP%]{color:#bf2026}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .additional-guide-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000;padding-top:7px;display:block}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-list[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:24px;color:#000}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%]{margin:0 -12px;border-bottom:.5px solid #CCCCCC;border-top:none}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:20px;font-weight:300;line-height:23px;color:#000;padding:12px 18px 12px 21px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]{color:#165dba;float:right;position:relative;padding-right:28px;background:none;display:inline-flex;height:initial}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:10px;margin:0 7px;transition:transform .2s ease-in-out;background-position:center;background:url(/wcc-assets/images/accordion-arrow-blue.svg) 100% no-repeat;position:absolute;top:7px;right:0;height:6px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-up[_ngcontent-%COMP%]{transform:rotate(0)}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-down[_ngcontent-%COMP%]{transform:rotate(-180deg)}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .accordion-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px;font-weight:400;line-height:16px;color:#165dba;cursor:pointer;margin:0;padding:2px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 6px #0096d6}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-title.opened-accordion[_ngcontent-%COMP%]{border-bottom:.5px solid #CCCCCC}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%]{margin:0 18px 0 21px;padding-bottom:15px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%]{display:flex;width:100%;padding-top:12px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:24%;min-width:77px;margin-right:14px!important}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .product-name[_ng
1content-%COMP%]{margin-bottom:8px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:19px;color:#000}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-num[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:12px;font-weight:400;line-height:14px;color:#000;display:inline-block;vertical-align:top;min-width:18px;margin-right:3px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%] .serial-val[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:12px;font-weight:300;line-height:14px;color:#000;display:inline-block;vertical-align:top}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-title[_ngcontent-%COMP%]{padding:20px 0 8px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%]{padding-bottom:12px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt[_ngcontent-%COMP%]{margin-right:5px}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt.error-clr[_ngcontent-%COMP%]{color:#bf2026}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt.blck[_ngcontent-%COMP%]{display:block}.diagnostic-report-container.accordion.mobile-device-frex[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .ref-doc-frex-mob[_ngcontent-%COMP%] app-referencedocuments .referencedoc-wrapper{padding:0}.diagnostic-report-container.accordion.rtl[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]{float:left;padding-left:22px;padding-right:22px}.diagnostic-report-container.accordion.rtl[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{left:0;right:initial}.diagnostic-report-container.accordion.rtl[_ngcontent-%COMP%] .device-details-container[_ngcontent-%COMP%]{padding-right:0;padding-left:20px}.diagnostic-report-container.accordion.rtl[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%]{margin:0}.diagnostic-report-container.accordion.rtl[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt[_ngcontent-%COMP%]{float:right;margin-left:5px;margin-right:0}.diagnostic-report-container.accordion.mobile-device-frex.rtl[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%]{padding:12px 21px 12px 18px}.diagnostic-report-container.accordion.mobile-device-frex.rtl[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]{float:left;padding-left:22px}.diagnostic-report-container.accordion.mobile-device-frex.rtl[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{left:1px;right:initial}.diagnostic-report-container.accordion.mobile-device-frex.rtl[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%]{margin:0 21p
1x 0 18px}.diagnostic-report-container.accordion.mobile-device-frex.rtl[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .diag-prod-details[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{margin-right:0!important;margin-left:14px!important}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:18px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-title[_ngcontent-%COMP%], .diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-failure-info[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px;font-weight:400;line-height:18px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:14px;font-weight:400;line-height:18px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .imp-txt[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:14px;font-weight:400;line-height:18px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-desc[_ngcontent-%COMP%] .additional-guide-text[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:14px;font-weight:400;line-height:18px;color:#000}.diagnostic-report-container.accordion[_ngcontent-%COMP%] .diag-report-details[_ngcontent-%COMP%] .p-list[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:14px;font-weight:400;line-height:22px;color:#000}}"],data:{animation:[$.z]}})}}return B})()},47562(xe,le,a){a.d(le,{c:()=>p});var M=a(37580),s=a(86763),u=a(93683),$=a(12481),j=a(19885);function N(i,K){if(1&i&&($.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),$.EFF(6,"Loading..."),$.k0s()()()()()()),2&i){const l=$.XpG();$.R7$(4),$.Y8G("ngClass","rtl"===l.pageConfig().languageDirection?"rtl":"ltr")}}let p=(()=>{class i{constructor(l){this.pageService=l,this.showInlineLoader=(0,M.hFB)(!1),this.pageConfig=(0,s.EW)(()=>this.pageService.configSignal())}ngOnInit(){}static{this.\u0275fac=function(h){return new(h||i)($.rXU(j.b))}}static{this.\u0275cmp=$.VBU({type:i,selectors:[["app-inline-loader"]],inputs:{showInlineLoader:[1,"showInlineLoader"]},decls:1,vars:1,consts:[[1,"container","position-relative","overlay-container"],[1,"overlay","ipadView"],[1,"overlay__inner"],[1,"overlay__content"],[1,"loading-screen-icon",3,"ngClass"],[1,"loader"]],template:function(h,g){1&h&&$.nVh(0,N,7,1,"div",0),2&h&&$.vxM(g.showInlineLoader()?0:-1)},dependencies:[u.YU],styles:[".overlay[_ngcontent-%COMP%]{left:0;top:0;width:100%;height:100%;position:absolute;background:inherit;z-index:99}.overlay-container[_ngcontent-%COMP%]{margin:45px auto;height:100px}.loader[_ngcontent-%COMP%]{border-left:1.1em solid transparent}.overlay__inner[_ngcontent-%COMP%]{left:0;top:0;width:100%;height:100%;position:absolute}.overlay__content[_ngcontent-%COMP%]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}"]})}}return i})()},95410(xe,le,a){a.d(le,{h:()=>$});var M=a(86763),s=a(12481),u=a(19885);let $=(()=>{class j{constructor(p,i,K){this.el=p,this.pageService=i,this.renderer=K,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal())}ngAfterViewInit(){setTimeout(()=>{if(!this.el?.nativeElement?.children?.length||!this.pageConfig()?.isMobile)return;const p=this.el.nativeElement.getElementsByClassName("phoneNumber");for(let i=0;i<p.length;i++){const K=p[i];this.renderer.addClass(K,"phone-link"),this.renderer.listen(K,"click",l=>{l.stopPropagation();const g=`tel:${K.textContent?.replace(/\D/g,"")}`,W=this.renderer.createElement("a");this.renderer.setAttribute(W,"href",g),this.renderer.appendChild(this.el.nativeElement,W),W.click(),this.renderer.removeChild(this.el.nativeElement,W)})}},100)}static{this.\u0275fac=function(i){return new(i||j)(s.rXU(s.aKT),s.rXU(u.b),s.rXU(s.sFG))}}static{this.\u0275dir=s.FsC({type:j,selectors:[["","appPhoneNumber",""]]})}}return j})()},91126(xe,le,a){a.d(le,{v:()=>ta}
1);var M=a(86763),s=a(37580),u=a(85240),$=a(59452),j=a(93551),N=a(78767),p=a(2435),i=a(27223),K=a(54041),l=a(75257),h=a(84205),g=a(33900),W=a(93683),e=a(12481),ae=a(19885),ue=a(20572),me=a(50565),n=a(8130);function pe(r,I){1&r&&e.nrm(0,"img",2)}function te(r,I){if(1&r&&(e.j41(0,"p",9),e.EFF(1),e.j41(2,"span",13),e.EFF(3),e.k0s(),e.EFF(4,"? "),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_2"]," "),e.R7$(2),e.JRh(t.deviceName())}}function F(r,I){if(1&r&&(e.j41(0,"p",9),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_3"]," ")}}function B(r,I){if(1&r&&(e.j41(0,"p",9),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_4"]," ")}}function C(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.viewDevice())}),e.EFF(1),e.k0s()}if(2&r){const t=e.XpG();e.R7$(),e.SpI("",t.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_View_Btn"]," ")}}function x(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.viewDevice())}),e.EFF(1),e.k0s()}if(2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_No_Continue_Text"])}}let m=(()=>{class r{constructor(t,c,o,O){this.pageService=t,this.activeModal=c,this.deviceDetectService=o,this.appSelectorStore=O,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.isMobile=(0,u.vPA)(!1),this.destroySubject$=new h.B,this.deviceName=(0,u.vPA)(null),this.allTranslations=(0,u.vPA)({})}ngOnInit(){this.isMobile.set(this.deviceDetectService.isMobile()),this.appSelectorStore.getAllTranslations$().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t))}viewDevice(){this.activeModal.close("view device")}closeModal(){this.activeModal.close()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(ue.Lw),e.rXU(me.Kg),e.rXU(n.q))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-exists-modal"]],decls:20,vars:10,consts:[["aria-labelledby","modal-heading","aria-modal","true","role","dialog",1,"device-exists-modal",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-transparent-bg.svg",1,"hp-logo-modal"],[1,"header-content"],["id","modal-heading",1,"modal-title"],["type","button","aria-label","Close","id","Modal_device_exists_btn",1,"close",3,"click"],["aria-hidden","true","id","close-icon"],[1,"modal-body"],[1,"msg"],[1,"sub-msg"],[1,"btns"],[1,"primary-button","view-btn"],[1,"secondary-btn","add-device-btn",3,"click"],[1,"device-name"],[1,"primary-button","view-btn",3,"click"]],template:function(c,o){1&c&&(e.j41(0,"div",0)(1,"div",1),e.nVh(2,pe,1,0,"img",2),e.j41(3,"div",3)(4,"h3",4),e.EFF(5),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return o.closeModal()}),e.j41(7,"span",6),e.EFF(8,"\xd7"),e.k0s()()(),e.j41(9,"div",7)(10,"p",8),e.EFF(11),e.k0s(),e.nVh(12,te,5,2,"p",9),e.nVh(13,F,2,1,"p",9),e.nVh(14,B,2,1,"p",9),e.j41(15,"div",10),e.nVh(16,C,2,1,"button",11),e.nVh(17,x,2,1,"button",11),e.j41(18,"button",12),e.bIt("click",function(){return o.closeModal()}),e.EFF(19),e.k0s()()()()),2&c&&(e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(2),e.vxM(o.isMobile()?-1:2),e.R7$(3),e.JRh(o.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Heading"]),e.R7$(6),e.SpI(" ",o.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Msg_Text_1"]," "),e.R7$(),e.vxM("addDevice"===o.pageConfig().pageName?12:-1),e.R7$(),e.vxM("addDevice"===o.pageConfig().pageName?13:-1),e.R7$(),e.vxM("addDevice"!==o.pageConfig().pageName?14:-1),e.R7$(2),e.vxM("addDevice"===o.pageConfig().pageName?16:-1),e.R7$(),e.vxM("addDevice"!==o.pageConfig().pageName?17:-1),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Add_Device_Existing_Modal_Add_Diff_Device_Btn"]))},dependencies:[W.YU],styles:[".btns[_ngcontent-%COMP%]{padding-top:60px;display:flex;align-items:flex-end;justify-content:flex-end}.btns[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-height:40px}
1.device-exists-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{margin-top:10px;font-weight:700}.device-exists-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-family:HPSimplified}.device-exists-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:20px!important}.device-exists-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:40px;font-family:HPControlIcons;position:relative;left:0}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{margin:40px}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-size:18px;color:#000}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .sub-msg[_ngcontent-%COMP%]{font-size:16px;color:#000}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .sub-msg[_ngcontent-%COMP%] .device-name[_ngcontent-%COMP%]{font-family:HPSimplified}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .view-btn[_ngcontent-%COMP%]{margin-right:20px}@media only screen and (max-width:800px){.device-exists-modal[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin-left:0!important}.device-exists-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{font-size:30px;top:5px}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{margin:auto}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .msg[_ngcontent-%COMP%]{font-size:16px}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%]{padding-top:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%] .add-device-btn[_ngcontent-%COMP%]{margin-top:22px}.device-exists-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%] .view-btn[_ngcontent-%COMP%]{margin-right:0}}.rtl[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin-right:80px}.rtl[_ngcontent-%COMP%] .add-device-btn[_ngcontent-%COMP%]{margin-right:20px}@media only screen and (max-width:800px){.rtl[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%] .add-device-btn[_ngcontent-%COMP%], .rtl[_ngcontent-%COMP%] .btns[_ngcontent-%COMP%] .view-btn[_ngcontent-%COMP%]{margin-right:0}}"]})}}return r})();var S=a(51903),f=a(70739),D=a(18329),y=a(91462),_=a(34456),R=a(4804),U=a(91018),re=a(60480),X=a(24938),Q=a(72926),q=a(8679),J=a(84527),oe=a(71839),_e=a(38180),L=a(72990),de=a(72608),E=a(11439);const z=["content"],V=["serialFieldInputRef"],Ce=["productFieldInputRef"],ne=r=>({"border-color":r}),ve=r=>({showInline:r}),he=r=>({border:r});function De(r,I){if(1&r&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.Y8G("ngClass",t.serialNumberModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_PlaceHolder_Text1"])}}function Ee(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",23),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.clearSearchField("SN"))}),e.k0s()}}function Be(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())})("keydown.enter",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())}),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.nrm(3,"img",26),e.k0s()}if(2&r){let t;const c=e.XpG();e.Y8G("disabled",!c.serialNumberModel()||(null==(t=c.serialNumberModel())?null:t.length)<c.SNMinLength()),e.R7$(2),e.JRh(c.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Ae(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())})("keydown.enter",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())}),e.j41(1,"span",28),e.EFF(2),e.k0s()()}if(2&r){const t=e.XpG();e.Y8G("title",e.mNQ(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]))("ngClass",t.isMobile()?"btn-arrow":" ")("disabled",t.buttonDisabled()),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Ge(r,I){1&r&&e.nrm(0,"img",29)}function Se(r,I){if(1&r&&(e.j41(0,"div",17),e.nVh(1,Ge,1,0,"img",29),e.j41(2,"div")(3,"p",30),e.EFF(4),e.k0s(),e.j41(5,"p",30),e.EFF(6),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.Y8G("ngClass",e.eq3(5,ve,t.isLightTheme())),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]),e.R7$(),e.Y8G("ngClass",e.eq3(7,ve,t.isLightTheme())),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function Fe(r,I){1&r&&e.nrm(0,"img",29)}
1function tt(r,I){if(1&r&&(e.j41(0,"div",18),e.nVh(1,Fe,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Ke(r,I){1&r&&e.nrm(0,"img",29)}function Qe(r,I){if(1&r&&(e.j41(0,"div",19),e.nVh(1,Ke,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Je(r,I){1&r&&e.nrm(0,"img",29)}function nt(r,I){if(1&r&&(e.j41(0,"div",20),e.nVh(1,Je,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s(),e.j41(4,"a",31)(5,"span",7),e.EFF(6),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link_Text"]),e.R7$(),e.Y8G("title",e.mNQ(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link"])),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Device_Already_Claimed_Link"])}}function Ze(r,I){if(1&r&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.Y8G("ngClass",t.productNumberModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"])}}function it(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",23),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.clearSearchField("PN"))}),e.k0s()}}function fe(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.addDevice())})("keydown.enter",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.addDevice())}),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.nrm(3,"img",26),e.k0s()}if(2&r){let t;const c=e.XpG(2);e.Y8G("disabled",!c.productNumberModel()||(null==(t=c.productNumberModel())?null:t.length)<c.PNMinLength()),e.R7$(2),e.JRh(c.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function ke(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.addDevice())})("keydown.enter",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.addDevice())}),e.j41(1,"span",28),e.EFF(2),e.k0s()()}if(2&r){const t=e.XpG(2);e.Y8G("ngClass",t.isMobile()||t.isTablet()?"btn-arrow":" ")("disabled",t.buttonDisabled()),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function k(r,I){if(1&r){const t=e.RV6();e.j41(0,"div",21)(1,"div",32)(2,"p",6)(3,"span",7),e.EFF(4),e.k0s()(),e.j41(5,"div",8)(6,"label",33),e.EFF(7),e.k0s(),e.j41(8,"input",34,2),e.mxI("ngModelChange",function(o){u.eBV(t);const O=e.XpG();return e.DH7(O.productNumberModel,o)||(O.productNumberModel=o),u.Njj(o)}),e.bIt("ngModelChange",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.onChangeInput(o,"PN"))})("keyup.enter",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())}),e.k0s(),e.nVh(10,Ze,2,2,"span",11),e.nVh(11,it,1,0,"a",12),e.nVh(12,fe,4,2,"button",13),e.k0s()(),e.j41(13,"div",14),e.nVh(14,ke,3,3,"button",35),e.k0s()()}if(2&r){const t=e.XpG();e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"]),e.R7$(3),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"]),e.R7$(),e.Y8G("ngStyle",e.eq3(10,he,"invalidPN"===t.errorMsg()?"1px solid #bf2026":"")),e.R50("ngModel",t.productNumberModel),e.Y8G("placeholder",t.isLightTheme()?"":t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]),e.R7$(2),e.vxM(t.isLightTheme()?10:-1),e.R7$(),e.vxM(t.productNumberModel()?11:-1),e.R7$(),e.vxM(t.isLightTheme()?12:-1),e.R7$(2),e.vxM("mulitpleRecords"===t.errorMsg()||"invalidPN"===t.errorMsg()?14:-1)}}function ie(r,I){1&r&&e.nrm(0,"img",29)}function se(r,I){if(1&r&&(e.j41(0,"div",22),e.nVh(1,ie,1,0,"img",29),e.j41(2,"p"),e.EFF(3),e.k0s()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function H(r,I){if(1&r){const t=e.RV6();e.j41(0,"app-error-modal",37),e.bIt("closeModal",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.closeErrorModal())}),e.k0s()}if(2&r){const t=e.XpG();e.Y8G("specificMessage",t.allTranslations()["#pps_WCC_FS_Add_Device_Error_Modal_Text"]||"Something went wrong and the selected device cannot be added to the dashboard. Please try again later.")}}var G=function(r){return r.SERIAL="SN",r.PRODUCT="PN",r}(G||{}),w=function(r){return r.INVALID_SN_INPUT="invalidSN",r.MULTIPLE_RECORDS="mulitpleRecords",r.INVALID_PN_INPUT="invalidPN",r.INVALID_SN_PN_INPUT="invalidSNPN",r.DEVICE_ALREADY_CLAIMED="deviceClaimed",r}(w||{});let P=(()=>
1{class r{constructor(t,c,o,O,ee,ce,Oe,$e,Ve,Te,rt,mt,un,mn,_n,na,ia){this.pageService=t,this.deviceService=c,this.globalDataService=o,this.modalService=O,this.http=ee,this.commonService=ce,this.router=Oe,this.authService=$e,this.commonDevicesService=Ve,this.pfinderService=Te,this.route=rt,this.contactService=mt,this.swdLandingService=un,this.appSelectorStore=mn,this.browserWrapperService=_n,this.searchResultsService=na,this.store=ia,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.SNMinLength=(0,u.vPA)(5),this.PNMinLength=(0,u.vPA)(2),this.SNMaxLength=10,this.PNMaxLength=2,this.allTranslations=(0,s.geq)({}),this.screenReader=(0,s.hFB)(null),this.clcModalRef=(0,s.ebz)("content"),this.serialFieldInputRef=(0,s.ebz)("serialFieldInputRef"),this.productFieldInputRef=(0,s.ebz)("productFieldInputRef"),this.isMobile=(0,u.vPA)(this.deviceService.isMobile()),this.isTablet=(0,u.vPA)(this.deviceService.isTablet()),this.buttonDisabled=(0,u.vPA)(!0),this.serialNumberModel=(0,u.vPA)(""),this.productNumberModel=(0,u.vPA)(""),this.errorMsg=(0,u.vPA)(""),this.resetOnTooltipClick=(0,u.vPA)(!1),this.destroySubject$=new h.B,this.destroyTBSubject$=new h.B,this.subscriptionServices=(0,u.vPA)(null),this.allProducts=(0,u.vPA)([]),this.Dashboard=(0,u.vPA)({}),this.contactRedirect=(0,s.hFB)(!1),this.swdRedirect=(0,s.hFB)(!1),this.isLightTheme=(0,s.hFB)(!1),this.productFinderConfig=(0,s.hFB)({}),this.sscKeys=(0,u.vPA)(null)}ngOnInit(){this.clearQueryOnTooltipSel();const t=this.browserWrapperService.getLocalStorageItem("printerSetupDeviceData");this.pageConfig()?.queryParams?.redirectPDP&&this.pageConfig()?.queryParams?.serialnumber?(this.serialNumberModel.set(this.pageConfig()?.queryParams?.serialnumber),this.onChangeInput(this.serialNumberModel(),"SN")):t?.serialNumber&&(this.serialNumberModel.set(t?.serialNumber),this.onChangeInput(this.serialNumberModel(),"SN")),this.get
1SSCKeys()}getSSCKeys(){this.store.select(K.FM).pipe((0,p.$)(t=>!(0,j.A)(t))).subscribe(t=>{this.sscKeys.set(t)})}onChangeInput(t,c){const o=t.length;switch(c){case G.SERIAL:let ee;"YES"==this.sscKeys()?.ENABLE_POLY_SEARCH_EXP.toUpperCase()&&(ee=this.sscKeys()?.PFINDER_SN_MIN_CHAR_LENGTH??this.SNMinLength()),this.buttonDisabled.set(o<ee);break;case G.PRODUCT:let ce=this.sscKeys()?.PFINDER_PN_MIN_CHAR_LENGTH??this.PNMinLength();this.buttonDisabled.set(o<ce);break;default:this.buttonDisabled.set(!0)}}addDevice(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.resetOnTooltipClick.set(!1),this.isValid()&&this.searchResultsService.checkSnPnConflict(this.serialNumberModel().trim(),"pdp",this.productNumberModel()?this.productNumberModel().trim():null,!0).then(t=>{(0,j.A)(t)||(200===t?.data?.verifyResponse?.code&&t?.data?.verifyResponse?.data?this.registerDevice(t?.data?.verifyResponse?.data):this.registerDevice())},()=>{})}isValid(){let t=/^[\s]*[a-zA-Z0-9#/-]{2,20}[\s]*$/;if(this.serialNumberModel()&&this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.sscKeys())){if(this.productNumberModel()&&t.test(this.productNumberModel()))return!0;if(!this.productNumberModel())return!0;this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("PN")}else this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("SN");return!1}displayInvalidInputError(t){this.errorMsg.set("SN"===t?w.INVALID_SN_INPUT:"PN"===t?w.INVALID_PN_INPUT:"SNPN"===t?w.INVALID_SN_PN_INPUT:w.DEVICE_ALREADY_CLAIMED),this.buttonDisabled.set(!0)}doNothing(){}showErrorModal(){this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}clearSearchField(t){this.buttonDisabled.set(!0),setTimeout(()=>{"SN"===t?(this.serialFieldInputRef()?.nativeElement.focus(),this.serialNumberModel.set("")):"PN"===t&&(this.productFieldInputRef()?.nativeElement.focus(),this.productNumberModel.set(""))},0)}registerDevice(t){const c=t?.altProductNumber||t?.productNumber||(this.productNumberModel()?this.productNumberModel().trim():""),o=t?.productNumber||t?.altProductNumber||(this.productNumberModel()?this.productNumberModel().trim():"");let O={cc:this.pageConfig().cc,lc:this.pageConfig().lc,serialNumber:t?.serialNumber||this.serialNumberModel().trim(),productNumber:c,displayProductNumber:o,nickName:""};this.http.post(f.tl.REGISTER,O).pipe((0,g.Q)(this.destroySubject$)).subscribe(ee=>{let ce=!1;switch(this.errorMsg.set(""),this.productNumberModel.set(""),ee.code){case f.t7.OK:this.pageConfig()?.queryParams?.redirectPDP?this.redirectToPDP(ee.data):this.swdRedirect()?this.redirectToSwd(ee?.data):this.contactRedirect()?this.redirectContact(ee.data):this.redirectToDashboard(),sessionStorage.removeItem("pdpRedirect");break;case f.t7.NOT_ACCEPTABLE:ee.message===f.Vj.MULTIPLE_DEVICES?(this.errorMsg.set(w.MULTIPLE_RECORDS),this.buttonDisabled.set(!0)):ee.message===f.Vj.INVALID_INPUT?(ce=!0,this.displayInvalidInputError("SN")):ee.message===f.Vj.DEVICE_ALREADY_REGISTERED?"contact"===this.pageConfig().pageName?this.redirectContact(ee.data):this.showDeviceExistsModal(ee.data):ee.message===f.Vj.DEVICE_ALREADY_CLAIMED?"contact"===this.pageConfig().pageName?this.redirectContact(ee.data):(this.displayInvalidInputError("deviceClaimed"),ce=!0):ee.message===f.Vj.PN_NOT_VALID&&this.displayInvalidInputError("PN");break;case f.t7.NO_CONTENT:ee.message===f.Vj.NO_DEVICE_FOUND?this.displayInvalidInputError("SN"):ee.message===f.Vj.PN_NOT_MATCHING?this.displayInvalidInputError("PN"):ee.message===f.Vj.NO_SN_PN_FOUND&&this.displayInvalidInputError("SNPN"),ce=!0;break;case f.t7.INTERNAL_SERVER_ERROR:case f.t7.INVALID_SESSION:this.showErrorModal()}this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:ce})},ee=>{this.showErrorModal()})}showDeviceExistsModal(t){const c=this.modalService.open(m,{windowClass:"customModalClass",size:"lg"});c.componentInstance.deviceName.set(t.deviceDetails.productName),c.result.then(o=>{"view device"===o&&(this.pageConfig()?.queryParams?.redirectPDP?this.redirectToPDP(t):this.swdRedirect()?this.redirectToSwd(t):this.contactRedirect()?this.redirectContact(t):this.redirectToDeviceView(t))})}redirectToSwd(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.swdLandingService.gotoSwdDriversPage(t.deviceDetails,t.deviceId))}redirectToDashboard(){let t=`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard`;this.router.navigate([t])}redirectContact(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.contactService.gotoContactOptions(t.deviceDetails,t.deviceId))}redirectToPDP(t){let c=this.pageConfig()?.queryParams?.pdpSource||"details",o=`${this.pageConfig().cc}-${this.pageConfig().lc}/product/${c}/${t.deviceDetails.SEOFriendlyName}/model/${t.deviceDetails.productNameOID}`;this.router.navigate([o],{queryParams:{sku:t?.deviceDetails?.altProductNumber||t?.deviceDetails?.productNumber,serialnumber:t.deviceDetails.serialNumber}})}getSubscriptionData(t,c){let o=t.filter(O=>O.serialNumber===c.deviceDetails.serialNumber);this.subscriptionServices.set(o.length?o[0].subscriptionServices:""),this.setContextualParameters(o[0])}redirectToDeviceView(t){let c=this.globalDataService.getWindowGlobalData();c.hasOwnProperty("Dashboard")&&c.Dashboard.Products.length?(this.allProducts.set(c.Dashboard.Products),this.get
1SubscriptionData(this.allProducts(),t)):this.commonDevicesService.getAllDevices().subscribe(o=>{o&&o.data?(this.allProducts.set(o.data.deviceList),this.updateGDL(this.allProducts()),this.getSubscriptionData(this.allProducts(),t)):this.showErrorModal()},o=>{this.showErrorModal()})}updateGDL(t){let c;this.authService.userDataSub.pipe((0,g.Q)(this.destroySubject$)).subscribe(o=>{o&&!(0,j.A)(o)&&(c=o,!0===c.smartFriend&&(this.Dashboard().SubscriptionServices="SmartFriend"),this.Dashboard.set(this.commonDevicesService.populateGDLForDashboard(t)),this.globalDataService.updateGDL({Dashboard:this.Dashboard(),customerState:this.pageConfig().customerState,SmartFriend:c.smartFriend}),this.globalDataService.updateGDL({Flag:{dashboardVisited:!0},customerState:this.pageConfig().customerState,SmartFriend:c.smartFriend},!0))})}navigateToDeviceView(){this.route.queryParams.pipe((0,S.H)(t=>(this.appSelectorStore.fetchTranslations("dashboard"),this.appSelectorStore.getAllTranslations$()))).pipe((0,g.Q)(this.destroyTBSubject$)).subscribe(t=>{this.allTranslations.set({...this.allTranslations(),...t}),this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard/device`])})}setContextualParameters(t){t.contexualURLParameters={userType:this.pageConfig().customerState,deviceSubscription:this.subscriptionServices(),oid:t.productNameOID,sku:t?.altProductNumber||t.productNumber},t.deviceCount=this.allProducts()?this.allProducts().length:0,t.productType=t?.productType||"",t.seriesOid=t?.productSeriesOID||"",t.modelOid=t?.productNameOID||"",this.commonService.componentDataToPass=t,this.navigateToDeviceView()}clearQueryOnTooltipSel(){this.pfinderService.clearQuerySearchField().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.productNumberModel.set(""),this.serialNumberModel.set(""),this.errorMsg.set(""),this.buttonDisabled.set(!0),this.resetOnTooltipClick.set(!0))})}ngOnDestroy(){this.destroySubject$.next(),this.destroyTBSubject$.next(),this.errorMsg.set(""),this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!1}),this.modalService.dismissAll()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(me.Kg),e.rXU(R.a),e.rXU(ue.Bq),e.rXU(U.k),e.rXU(re.h),e.rXU(X.Ix),e.rXU(Q.u),e.rXU(q.N),e.rXU(J.h),e.rXU(X.nX),e.rXU(oe.u),e.rXU(_e.j),e.rXU(n.q),e.rXU(L.z),e.rXU(de.Q),e.rXU(E.il))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-add-box"]],viewQuery:function(c,o){1&c&&(e.wEZ(o.clcModalRef,z,5),e.wEZ(o.serialFieldInputRef,V,5),e.wEZ(o.productFieldInputRef,Ce,5)),2&c&&e.NyB(3)},inputs:{allTranslations:[1,"allTranslations"],screenReader:[1,"screenReader"],contactRedirect:[1,"contactRedirect"],swdRedirect:[1,"swdRedirect"],isLightTheme:[1,"isLightTheme"],productFinderConfig:[1,"productFinderConfig"]},outputs:{allTranslations:"allTranslationsChange"},decls:26,vars:18,consts:[["serialFieldInputRef",""],["content",""],["productFieldInputRef",""],[1,"device-add-container"],[1,"master-pfinder","master-pfinder-add-device",3,"ngClass"],[1,"search-box"],[1,"search-label"],["aria-hidden","true"],[1,"search-input"],["id","field-help",1,"sr-only"],["type","text","selectInputText","","aria-labelledby","field-help","aria-describedby","serial-number-error ","aria-describedby","multiple-serial-number-error",1,"form-control","add-device-input",3,"ngModelChange","keyup.enter","ngModel","placeholder","ngStyle"],[1,"floating-label",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"disabled"],["id","submitBtn",1,"submitBtnMobile","button-box"],["id","FindMyProduct","type","button",1,"search-submit","primary-button","mob-overlapped",3,"title","ngClass","disabled"],[1,"error-msg"],["aria-live","assertive","role","alert","id","multiple-serial-number-error",1,"error-need-pn"],["aria-live","assertive","role","alert","id","serial-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","serial-product-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","device-already-claimed-error",1,"error-invalid-sn"],[1,"master-pfinder","product-finder",3,"ngClass"],["aria-live","assertive","role","alert","id","product-number-error",1,"error-invalid-pn"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"click","keydown.enter","disabled"],[1,"sr-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/search-icon.svg","alt","search image","aria-hidden","true"],["id","FindMyProduct","type","button",1,"search-submit","primary-button","mob-overlapped",3,"click","keydown.enter","title","ngClass","disabled"],[1,"hidden-mobile-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/input-error.png","alt","Error Icon","width","20px","height","20px",1,"input-error-icon"],[3,"ngClass"],["href","https://www.hp.com/us-en/all-in-plan/printers.html","target","_blank",3,"title"],[1,"search-box","product-number-search"],["id","product-field-help",1,"sr-only"],["type","text","selectInputText","","aria-describedby","product-number-error","aria-labelledby","product-field-help","maxlength","20",1,"form-control","add-device-input",3,"ngModelChange","keyup.enter","ngStyle","ngModel","placeholder"],["id","FindMyProduct","type","button",1,"search-submit","secondary-btn","mob-overlapped",3,"ngClass","disabled"],["id","FindMyProduct","type","button",1,"search-submit","secondary-btn","mob-overlapped",3,"click","keydown.enter","ngClass","disabled"],[3,"closeModal","specificMessage"]],template:function(c,o){if(1&c){const O=e.RV6();e.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"p",6)(4,"span",7),e.EFF(5),e.k0s()(),e.j41(6,"div",8)(7,"label",9),e.EFF(8),e.k0s(),e.j41(9,"input",10,0),e.mxI("ngModelChange",function(ce){return u.eBV(O),e.D
1H7(o.serialNumberModel,ce)||(o.serialNumberModel=ce),u.Njj(ce)}),e.bIt("ngModelChange",function(ce){return u.eBV(O),u.Njj(o.onChangeInput(ce,"SN"))})("keyup.enter",function(){return u.eBV(O),u.Njj(o.addDevice())}),e.k0s(),e.nVh(11,De,2,2,"span",11),e.nVh(12,Ee,1,0,"a",12),e.nVh(13,Be,4,2,"button",13),e.k0s()(),e.j41(14,"div",14),e.nVh(15,Ae,3,5,"button",15),e.k0s()(),e.j41(16,"div",16),e.nVh(17,Se,7,9,"div",17),e.nVh(18,tt,4,2,"div",18),e.nVh(19,Qe,4,2,"div",19),e.nVh(20,nt,7,5,"div",20),e.k0s(),e.nVh(21,k,15,12,"div",21),e.j41(22,"div",16),e.nVh(23,se,4,2,"div",22),e.k0s()(),e.DNE(24,H,1,1,"ng-template",null,1,e.C5r)}2&c&&(e.R7$(),e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(o.screenReader()),e.R7$(3),e.JRh(o.screenReader()),e.R7$(),e.R50("ngModel",o.serialNumberModel),e.Y8G("placeholder",o.isLightTheme()?"":o.allTranslations()["#pps_WCC_FS_Product_finder_PlaceHolder_Text1"])("ngStyle",e.eq3(16,ne,"invalidSN"!==o.errorMsg()&&"mulitpleRecords"!==o.errorMsg()&&"invalidSNPN"!==o.errorMsg()&&"deviceClaimed"!==o.errorMsg()||o.resetOnTooltipClick()?"":"#bf2026")),e.R7$(2),e.vxM(o.isLightTheme()?11:-1),e.R7$(),e.vxM(o.serialNumberModel()&&"mulitpleRecords"!==o.errorMsg()&&"invalidPN"!==o.errorMsg()?12:-1),e.R7$(),e.vxM(o.isLightTheme()?13:-1),e.R7$(2),e.vxM("mulitpleRecords"!==o.errorMsg()&&"invalidPN"!==o.errorMsg()?15:-1),e.R7$(2),e.vxM(o.resetOnTooltipClick()||"mulitpleRecords"!==o.errorMsg()?-1:17),e.R7$(),e.vxM(o.resetOnTooltipClick()||"invalidSN"!==o.errorMsg()?-1:18),e.R7$(),e.vxM(o.resetOnTooltipClick()||"invalidSNPN"!==o.errorMsg()?-1:19),e.R7$(),e.vxM(o.resetOnTooltipClick()||"deviceClaimed"!==o.errorMsg()?-1:20),e.R7$(),e.vxM("mulitpleRecords"!==o.errorMsg()&&"invalidPN"!==o.errorMsg()||o.resetOnTooltipClick()?-1:21),e.R7$(2),e.vxM(o.resetOnTooltipClick()||"invalidPN"!==o.errorMsg()?-1:23))},dependencies:[W.YU,_.YN,_.me,_.BC,_.tU,_.vS,y.R,W.B3,D.L],styles:[".pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%] p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:0}}.product-finder[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#fff}.add-device-box[_ngcontent-%COMP%]{display:flex}.add-device-box[_ngcontent-%COMP%] .add-device-input[_ngcontent-%COMP%]{width:68%;max-width:403px}.add-device-box[_ngcontent-%COMP%] .add-device-input[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:7px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]{right:5px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]:hover, .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.master-pfinder.product-finder[_ngcontent-%COMP%]{margin-top:20px}.error-msg[_ngcontent-%COMP%] .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-invalid-sn[_ngcontent-%COMP%]{padding-top:7px;width:65%}.error-msg[_ngcontent-%COMP%] .error-invalid-pn[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-need-pn[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-invalid-sn[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:HPSimplified;color:#bf2026;line-height:20px;letter-spacing:.21px;margin-bottom:4px;font-size:14px;max-width:387px}@media only screen and (max-width:800px){.error-msg[_ngcontent-%COMP%] .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-invalid-sn[_ngcontent-%COMP%]{width:auto}.device-add-container[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:0}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{max-width:403px!important}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}}.rtl.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%]{padding-right:10px;padding-left:35px}.rtl.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;right:auto}"]})}}return r})(),A=(()=>
1{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-headset-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})(),Z=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-other-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})(),Pe=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-printer-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})(),ye=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-laptop-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})(),Ne=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-desktop-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})(),We=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({})}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-general-add-device"]],inputs:{allTranslations:[1,"allTranslations"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"]},decls:1,vars:2,consts:[[3,"allTranslations","screenReader"]],template:function(c,o){1&c&&e.nrm(0,"app-device-add-box",0),2&c&&e.Y8G("allTranslations",o.allTranslations())("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])},dependencies:[P],encapsulation:2})}}return r})();var He=a(52575),ze=a(91817),je=a(98764),qe=a(36647),st=a(61318),Ye=a(89638),ot=a(56012);let Ct=(()=>
1{class r{constructor(t,c,o,O,ee,ce){this.pageService=t,this.elem=c,this.router=o,this.deviceSearchService=O,this.commonService=ee,this.store=ce,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new h.B}optionSelector(t){!t||t.passParam||t.apiOrigin?t&&t.passParam&&!t.apiOrigin?this.router.navigate([t.printerSetupUrl],{queryParams:{sku:t.name}}):t&&t.apiOrigin&&this.searchSubmit(t.name,"printerSetup",null):this.router.navigate([t.printerSetupUrl])}searchSubmit(t,c,o,O=""){this.redirectToResult(t,c,o,O)}inputKeyDown(t,c,o,O,ee=""){const ce=this.elem.nativeElement.querySelectorAll(".dropdown-item")||document.querySelectorAll("button.dropdown-item");if(t.target.value.length>=1)if("Enter"===t.key)this.searchSubmit(c,o,O,ee);else if(!(40!==t.which&&38!==t.which||40!==t.which&&38!==t.which&&40!==t.which&&38!==t.which)){t.stopPropagation(),t.preventDefault();for(let Oe=0;Oe<ce.length;Oe++)if(ce[Oe].classList&&ce[Oe].classList.contains("active")){let $e=document?.getElementById("seoFriendlyName").innerText,Ve=document?.getElementById("pmSeriesOid").innerText,Te=document?.getElementById("pmNameOid").innerText;t.target.value=ce[Oe].innerText,this.selectedTypeAheadValue=ce[Oe].innerText,this.selectedTypeAheadObj={name:ce[Oe].innerText,productId:ce[Oe].firstElementChild.id,apiOrigin:o,seoFriendlyName:$e,pmSeriesOid:Ve,pmNameOid:Te}}}}getCommonLocalFromSSC(t){t&&this.store.select(K.FM).pipe((0,p.$)(c=>!(0,j.A)(c))).subscribe(c=>{if(c&&c.COMMON_FALLBACK_COUNTRY_CODE&&c.COMMON_FALLBACK_COUNTRY_CODE){const o=this.commonService.getCustomLocale(this.commonService.safeParseJSON(c.COMMON_FALLBACK_COUNTRY_CODE),t);this.customCC=o.cc,this.customLC=o.lc}else this.customCC=t.cc,this.customLC=t.lc})}redirectToResult(t,c,o,O=""){this.getCommonLocalFromSSC(this.pageConfig()),this.deviceSearchService.setRedirectionRule(t,this.customCC,this.customLC,c,o,O)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(c){return new(c||r)(u.KVO(ae.b),u.KVO(e.aKT),u.KVO(X.Ix),u.KVO(ot.k),u.KVO(re.h),u.KVO(E.il))}}static{this.\u0275prov=u.jDH({token:r,factory:r.\u0275fac})}}return r})(),vt=(()=>{class r{constructor(){this.patternReqd=(0,s.hFB)(""),this.supportPolySN=(0,s.hFB)(!1),this.sscKeys=(0,s.hFB)(null)}onKeyPress(t){if("true"===this.patternReqd()){const c=t.which||t.keyCode;return!(!this.sscKeys()?.PFINDER_SN_ACCEPTABLE_KEYCODE.includes(c)||!this.supportPolySN())||!!(c>47&&c<58||c>64&&c<91||c>96&&c<123)}}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275dir=e.FsC({type:r,selectors:[["","appAlphaNumericPattern",""]],hostBindings:function(c,o){1&c&&e.bIt("keypress",function(ee){return o.onKeyPress(ee)})},inputs:{patternReqd:[1,"patternReqd"],supportPolySN:[1,"supportPolySN"],sscKeys:[1,"sscKeys"]}})}}return r})();var bt=a(92913);const Ot=["searchInputText"],xt=(r,I)=>({"is-vis-id":r,rtl:I}),St=r=>({showInline:r}),wt=r=>({data:r,classDetail:!1}),ft=r=>({"border-color":r}),Pt=(r,I)=>({data:r,classDetail:I}),Dt=(r,I,t)=>({"btn-arrow":r,"secondary-btn":I,"primary-button":t}),yt=()=>({standalone:!0}),Tt=()=>["bottom","top","left","right"];function Nt(r,I){1&r&&e.eu8(0)}function Et(r,I){1&r&&e.nrm(0,"img",17)}function It(r,I){if(1&r&&(e.j41(0,"div",11),e.nVh(1,Et,1,0,"img",17),e.j41(2,"div")(3,"div",4)(4,"span",21),e.EFF(5),e.k0s(),e.EFF(6," \xa0"),e.k0s(),e.j41(7,"span",21),e.EFF(8),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.Y8G("ngClass",e.eq3(4,St,t.isLightTheme())),e.R7$(2),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.serialNumberErrorText1]),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.serialNumberErrorText2])}}function Rt(r,I){1&r&&e.nrm(0,"img",17)}function Ft(r,I){if(1&r&&(e.j41(0,"div",12),e.nVh(1,Rt,1,0,"img",17),e.j41(2,"p",21),e.EFF(3),e.k0s()()),2&r){const t=e.XpG();e.R7$(),e.vxM(t.isLightTheme()?1:-1),e.R7$(2),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorText])}}function kt(r,I){if(1&r&&(e.j41(0,"div",13),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.E5c(" ",t.allTranslations()["#pps_WCC_FS_PDP_Search_Country_Field_Count_Text_01"]," ",t.totalNumofResult()," ",t.allTranslations()["#pps_WCC_FS_PDP_Search_Country_Field_Count_Text_02"]," ")}}function Lt(r,I){if(1&r&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&r){const t=e.XpG().result;e.R7$(),e.JRh(t.seoFriendlyName)}}function Bt(r,I){if(1&r&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&r){const t=e.XpG().result;e.R7$(),e.JRh(null==t?null:t.pmSeriesOid)}}function At(r,I){if(1&r&&(e.j41(0,"span",25),e.EFF(1),e.k0s()),2&r){const t=e.XpG().result;e.R7$(),e.JRh(t.pmNameOid)}}function jt(r,I){if(1&r&&(e.nrm(0,"ngb-highlight",22),e.nVh(1,Lt,2,1,"span",23),e.nVh(2,Bt,2,1,"span",24),e.nV
1h(3,At,2,1,"span",25)),2&r){const t=I.result,c=I.term;e.Y8G("id",e.mNQ(t.productId))("result",t.name)("term",c),e.R7$(),e.vxM(t?1:-1),e.R7$(),e.vxM(t?2:-1),e.R7$(),e.vxM(t?3:-1)}}function $t(r,I){1&r&&e.eu8(0)}function Ut(r,I){if(1&r&&(e.j41(0,"div",14),e.DNE(1,$t,1,0,"ng-container",26),e.k0s()),2&r){const t=e.XpG(),c=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",c)("ngTemplateOutletContext",e.eq3(2,wt,!t.searchQueryEntered()||t.buttonDisabled()||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery))}}function Vt(r,I){if(1&r&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.Y8G("ngClass",t.searchProductModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])}}function Gt(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",37),e.bIt("click",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.clearSearchField(o,"productNumber"))})("keydown.enter",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.onEnterCloseIcon(o,"productNumber"))}),e.k0s()}}function Wt(r,I){if(1&r&&(e.j41(0,"span",33),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])}}function Ht(r,I){if(1&r&&(e.j41(0,"span",34),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.Y8G("ngClass",""!==t.searchProductModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"])}}function Xt(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.redirectToResult("comingFromPFinder",o.searchBoxConfigObj()))}),e.j41(1,"span",39),e.EFF(2),e.k0s(),e.nrm(3,"img",40),e.k0s()}if(2&r){const t=e.XpG(2);e.Y8G("disabled",t.productNumberButtonDisable()||t.searchModel().length<10||t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery),e.R7$(2),e.JRh(t.buttonText())}}function zt(r,I){1&r&&e.eu8(0)}function Yt(r,I){if(1&r&&(e.j41(0,"div",36),e.DNE(1,zt,1,0,"ng-container",26),e.k0s()),2&r){let t;const c=e.XpG(2),o=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(2,Pt,c.productNumberButtonDisable()||c.searchModel().length<10||(null==(t=c.searchBoxConfigObj())||null==t.searchQueryConfigObj?null:t.searchQueryConfigObj.invalidProductNumber)||(null==(t=c.searchBoxConfigObj())||null==t.searchQueryConfigObj?null:t.searchQueryConfigObj.notValidSearchQuery),!(c.productNumberButtonDisable()||!(c.searchModel().length>9)||null!=(t=c.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.invalidProductNumber||null!=(t=c.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSearchQuery)))}}function Kt(r,I){1&r&&e.eu8(0)}function Qt(r,I){if(1&r&&(e.j41(0,"div",36),e.DNE(1,Kt,1,0,"ng-container",26),e.k0s()),2&r){const t=e.XpG(2),c=e.sdS(24);e.R7$(),e.Y8G("ngTemplateOutlet",c)("ngTemplateOutletContext",e.l_i(2,Pt,t.productNumberButtonDisable()||t.searchModel().length<10||t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery,!t.productNumberButtonDisable()&&t.searchModel().length>9&&!t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&!t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery))}}function Jt(r,I){if(1&r){const t=e.RV6();e.j41(0,"div",15)(1,"div",27)(2,"p",28)(3,"span",6),e.EFF(4),e.k0s()(),e.j41(5,"div",8)(6,"label",29),e.EFF(7),e.k0s(),e.j41(8,"input",30),e.bIt("ngModelChange",function(o){u.eBV(t);const O=e.XpG();return O.searchProductModel.set(o),u.Njj(O.onChangeInput(o,"productNumber"))})("keydown.enter",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.searchProductModel()&&O.searchProductModel().length>=2||!O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?O.redirectToResult("comingFromPFinder",O.searchBoxConfigObj()):o.preventDefault())})("focusout",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.onInputFeildFocusOut("productNumber",o))}),e.k0s(),e.nVh(9,Vt,2,2,"span",31),e.nVh(10,Gt,1,0,"a",32),e.nV
1h(11,Wt,2,1,"span",33),e.nVh(12,Ht,2,2,"span",34),e.nVh(13,Xt,4,2,"button",35),e.nVh(14,Yt,2,5,"div",36),e.k0s()(),e.nVh(15,Qt,2,5,"div",36),e.k0s()}if(2&r){const t=e.XpG();e.Y8G("ngClass",t.vsidThemeEnabled()&&""!==t.searchProductModel()?"search-btn-position":""),e.R7$(),e.Y8G("ngClass",t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"mT10":""),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().screenReaderProduct]),e.R7$(3),e.JRh(t.allTranslations()[t.searchBoxConfigObj().screenReaderProduct]),e.R7$(),e.Y8G("ngModel",t.searchProductModel())("placeholder",t.isLightTheme()?"":t.allTranslations()[t.searchBoxConfigObj().placeHolderProduct])("ngStyle",e.eq3(15,ft,!t.vsidThemeEnabled()&&t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"#bf2026":""))("ngClass",t.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&(t.vsidThemeEnabled()||t.isLightTheme())?"input-border":""),e.R7$(),e.vxM(t.isLightTheme()?9:-1),e.R7$(),e.vxM(t.productNumberEntered()?10:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()&&""===t.searchProductModel()?11:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?12:-1),e.R7$(),e.vxM(t.isLightTheme()?13:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?14:-1),e.R7$(),e.vxM(t.vsidThemeEnabled()?-1:15)}}function Zt(r,I){1&r&&e.nrm(0,"img",17)}function qt(r,I){if(1&r&&(e.j41(0,"p",18),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.commonErrorText])}}function en(r,I){if(1&r&&(e.j41(0,"p",19),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorText])}}function tn(r,I){if(1&r&&(e.j41(0,"p",20),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()[t.searchBoxConfigObj().errorText.errorProductText])}}function nn(r,I){if(1&r&&(e.j41(0,"p",21),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Printer_Landing_Select_support_Options_Error"])}}function on(r,I){if(1&r){const t=e.RV6();e.qex(0),e.j41(1,"button",41),e.bIt("click",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.redirectToResult("comingFromPFinder",o.searchBoxConfigObj()))}),e.j41(2,"span",42),e.EFF(3),e.k0s(),e.j41(4,"span",39),e.EFF(5),e.k0s()(),e.bVm()}if(2&r){const t=I.data,c=I.classDetail,o=e.XpG();e.R7$(),e.Y8G("ngClass",e.sMw(6,Dt,o.pageConfig().isMobile,c,!o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||!o.invalidProductNumber()))("disabled",t),e.R7$(),e.Y8G("title",e.mNQ(o.buttonText())),e.R7$(),e.JRh(o.buttonText()),e.R7$(2),e.JRh(o.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function an(r,I){if(1&r&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.Y8G("ngClass",t.searchModel()?"txt-present":""),e.R7$(),e.JRh(t.placeHolder())}}function rn(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",47),e.bIt("click",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.clearSearchField(o,"default"))})("keydown.enter",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.onEnterCloseIcon(o,"default"))}),e.k0s()}if(2&r){let t;const c=e.XpG(2);e.Y8G("ngClass",c.vsidThemeEnabled()&&(null!=(t=c.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.productNumberReqd||null!=(t=c.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.invalidProductNumber)?"shift-close":"")}}function sn(r,I){if(1&r&&(e.j41(0,"span",45),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.placeHolder()||"Example: 8F214801F858FG, Voyager 8200 UC")}}function T(r,I){if(1&r&&(e.j41(0,"span",46),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.Y8G("ngClass",""!==t.searchModel()?"txt-present":""),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_SearchResult_Page_Search_Box_Ghost_Text_1"])}}function ge(r,I){if(1&r){const t=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.redirectToResult("comingFromPFinder",o.searchBoxConfigObj()))}),e.j41(1,"span",39),e.EFF(2),e.k0s(),e.nrm(3,"img",40),e.k0s()}if(2&r){const t=e.XpG(2);e.Y8G("disabled",!t.searchQueryEntered()||t.buttonDisabled()||t.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery),e.R7$(2),e.JRh(t.buttonText())}}function d(r,I){if(1&r){const t=e.RV6();e.qex(0),e.j41(1,"input",43,3),e.bIt("input",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.hidePNBoxOnchange(o))})("keyup",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.handleKeyUpEvent(o))})("selectItem",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.onOptionSelection(o,O.searchOrigin(),O.searchBoxConfigObj()))})("focus",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.clearField(o))})("ngModelChange",function(o){u.eBV(t);const O=e.XpG();return O.searchModel.set(o),u.Njj(O.onChangeInput(o,"default"))})("focusout",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.onInputFeildFocusOut("default",o))}
1),e.k0s(),e.nVh(3,an,2,2,"span",31),e.nVh(4,rn,1,1,"a",44),e.nVh(5,sn,2,1,"span",45),e.nVh(6,T,2,2,"span",46),e.nVh(7,ge,4,2,"button",35),e.bVm()}if(2&r){let t,c,o;const O=e.XpG(),ee=e.sdS(14);e.R7$(),e.Y8G("focusFirst",!1)("ngModel",O.searchModel())("ngModelOptions",e.lJ4(22,yt))("inputFormatter",O.formatter)("resultTemplate",ee)("ngbTypeahead",O.searchBoxConfigObj().typeAheadDisplay&&!O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd?O.search:null)("placeholder",O.isLightTheme()?"":O.placeHolder())("placement",O.vsidThemeEnabled()?"bottom":e.lJ4(23,Tt))("appRestrictPatternFlag",O.patternRestrictPrinter())("appRestrictPatternValue",O.patternValue())("patternReqd",O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?"true":"false")("supportPolySN",O.supportPolySN())("sscKeys",O.sscKeys())("ngClass",(null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSearchQuery||null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.productNumberReqd||null!=(t=O.searchBoxConfigObj())&&null!=t.searchQueryConfigObj&&t.searchQueryConfigObj.notValidSN)&&(O.vsidThemeEnabled()||O.isLightTheme())?"input-border":"")("id","printerSetupLanding"===O.pageConfig().pageName?"inputtextpfinder":"searchQueryField")("disabled","printerSetupLanding"===O.searchBoxConfigObj().pageName&&!(null!=(c=O.searchBoxConfigObj())&&c.printerSetupOption))("ngStyle",e.eq3(24,ft,!O.vsidThemeEnabled()&&(O.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||O.searchBoxConfigObj().searchQueryConfigObj.notValidSN)?"#bf2026":"")),e.R7$(2),e.vxM(O.isLightTheme()?3:-1),e.R7$(),e.vxM(O.searchQueryEntered()&&!O.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!O.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||O.vsidThemeEnabled()&&(null!=(o=O.searchBoxConfigObj())&&null!=o.searchQueryConfigObj&&o.searchQueryConfigObj.productNumberReqd||null!=(o=O.searchBoxConfigObj())&&null!=o.searchQueryConfigObj&&o.searchQueryConfigObj.invalidProductNumber)&&!O.snDisabled?4:-1),e.R7$(),e.vxM(O.vsidThemeEnabled()&&""===O.searchModel()?5:-1),e.R7$(),e.vxM(O.vsidThemeEnabled()?6:-1),e.R7$(),e.vxM(O.isLightTheme()?7:-1)}}let v=(()=>{class r{constructor(t,c,o,O,ee,ce,Oe,$e,Ve){this.pageService=t,this.kaasSearchService=c,this.productFinderService=o,this.printerPfinderService=O,this.deviceSearchService=ee,this.commonService=ce,this.renderer=Oe,this.globalDataLayerService=$e,this.store=Ve,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.SNLength=(0,u.vPA)(10),this.allTranslations=(0,s.hFB)({}),this.buttonText=(0,s.hFB)(""),this.screenReader=(0,s.hFB)(""),this.notValidDataEntered=(0,s.hFB)(null),this.invalidProductNumber=(0,s.hFB)(null),this.invalidSerialNumber=(0,s.hFB)(null),this.productNumberReqd=(0,s.hFB)(null),this.searchBoxConfigObj=(0,s.hFB)(null),this.searchModel=(0,u.vPA)(""),this.showSupportOptionError=(0,u.vPA)(!1),this.searching=(0,u.vPA)(!1),this.searchTermEntered=(0,u.vPA)(!1),this.searchQueryEntered=(0,u.vPA)(!1),this.selectedOption=(0,u.vPA)(""),this.buttonDisabled=(0,u.vPA)(!0),this.result=(0,u.vPA)(null),this.isLightTheme=(0,u.vPA)(!1),this.pfinderMinCharLen=(0,u.vPA)(""),this.sscKeys=(0,u.vPA)(null),this.patternValue=(0,u.vPA)("[^@%*+<>]"),this.supportPolySN=(0,u.vPA)(!1),this.placeHolder=(0,s.geq)(null),this.searchOrigin=(0,s.hFB)(""),this.patternRestrictPrinter=(0,u.vPA)(""),this.minSNLength=(0,u.vPA)(10),this.maxSNLength=(0,u.vPA)(16),this.polySearchExp=(0,u.vPA)(null),this.totalNumofResult=(0,u.vPA)(0),this.searchProductModel=(0,u.vPA)(""),this.productNumberEntered=(0,u.vPA)(!1),this.productNumberButtonDisable=(0,u.vPA)(!0),this.vsidThemeEnabled=(0,u.vPA)(!1),this.searchInputText=(0,s.ebz)("searchInputText"),this.ngbTypeahead=(0,s.ebz)(ue.$n),this.destroySubject$=new h.B,this.screenReaderPfinder=(0,u.vPA)(""),this.search=Te=>Te.pipe((0,He.B)(300),(0,ze.F)(),(0,je.M)(()=>this.searching.set(!0)),(0,qe.n)(rt=>rt.length>=parseInt(this.pfinderMinCharLen()||"1")?this.productFinderService.getSearchResult(rt,this.searchBoxConfigObj()).pipe((0,je.M)(mt=>{this.totalNumofResult.set(mt?mt.length:0),this.searchTermEntered.set(!0)}),(0,st.W)(()=>(0,$.of)([]))):(this.totalNumofResult.set(0),(0,$.of)([]))),(0,je.M)(()=>this.searching.set(!1))),this.formatter=Te=>Te.name}get snDisabled(){const t=this.searchBoxConfigObj();return"siteHome"===t.pageName&&(t.searchQueryConfigObj.productNumberReqd||t.searchQueryConfigObj.invalidProductNumber)}clearField(t){this.productFinderService.clearPlaceHolder(t)}onEnterCloseIcon(t,c){t.preventDefault(),this.clearSearchField(t,c)}clearSearchField(t,c){return t&&this.productFinderService.clearSearchInput(t),{productNumber:()=>{this.productNumberButtonDisable.set(!0),setTimeout(()=>{t&&(t.target.parentNode.querySelector("input").value=""),this.searchProductModel.set(""),this.productNumberEntered.set(!1),this.clearErrorField(c)},0)},default:()=>{this.buttonDisabled.set(!0),setTimeout(()=>{t&&(t.target.parentNode.querySelector("input").value=""),this.searchModel.set(""),this.searchQueryEntered.set(!1),this.clearErrorField(c)},0)}}[c]()}redirectToResult(t,c){if(this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0),this.printerPfinderService.selectedTypeAheadValue)setTimeout(()=>{this.searchModel.set(this.printerPfinderService.selectedTypeAheadValue),this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue),"printerSetupLanding"===c.pageName?this.printerPfinderService.optionSelector(this.printerPfinderService.selectedTypeAheadObj):this.kaasSearchService.optionSelector(this.printerPfinderService.selectedTypeAheadObj,t,c)}
1,0);else{let o=this.searchProductModel()?this.commonService.getSanitizedData(this.searchProductModel().trim()):null;this.printerPfinderService.searchSubmit(this.commonService.getSanitizedData(this.searchModel().trim()),this.searchBoxConfigObj().searchResultOrigin,o,this.searchBoxConfigObj().pageName)}}checkpFinderMinCharLen(){this.store.select(K.FM).pipe((0,p.$)(t=>!(0,j.A)(t))).subscribe(t=>{this.sscKeys.set(t);const c=!(!t.ENABLE_POLY_SEARCH_EXP||"YES"!=t.ENABLE_POLY_SEARCH_EXP.toUpperCase());this.polySearchExp.set(c),this.supportPolySN.set(c),this.pfinderMinCharLen.set(c?t.PFINDER_MIN_CHAR_LENGTH&&t.PFINDER_MIN_CHAR_LENGTH?t.PFINDER_MIN_CHAR_LENGTH:"3":"1"),this.vsidThemeEnabled.set(!!t.ENABLE_VIS_ID_LAYOUT&&(0,N.A)(t.ENABLE_VIS_ID_LAYOUT,this.pageConfig().pageName))})}onChangeInput(t,c){const o=t.length;return{productNumber:()=>{this.productNumberEntered.set(!!(o>0||this.searchProductModel())),this.productNumberButtonDisable.set(!(o>1)),this.clearErrorField(c)},default:()=>{this.printerPfinderService.selectedTypeAheadValue=void 0,this.printerPfinderService.selectedTypeAheadObj=void 0,this.searchQueryEntered.set(!!(o>0||this.searchModel())),this.buttonDisabled.set(!(o>=parseInt(this.pfinderMinCharLen()||"1"))),this.clearErrorField(c)}}[c]()}clearErrorField(t){return{productNumber:()=>{const o=this.searchBoxConfigObj();this.deviceSearchService.notValidProductNumber.next({id:o?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:o?.pageName??"",value:!0})},default:()=>{this.deviceSearchService.invalidSearchQuery.next({id:this.searchBoxConfigObj()?.pageName??"",value:!1})}}[t]()}handleKeyUpEvent(t){const c=this.searchBoxConfigObj(),o=this.searchBoxConfigObj();"Enter"===t.key&&(c?.searchQueryConfigObj?.productNumberReqd||o?.searchQueryConfigObj?.invalidProductNumber||o?.searchQueryConfigObj?.notValidSearchQuery)?t.preventDefault():this.onKeyUpEvent(t,t?.target?.value??this.searchModel())}onOptionSelection(t,c,o){t.preventDefault();const O=t.item;O&&(this.globalDataLayerService.updateGDL({PfinderQueryNew:O.name||"",PfinderQuery:O.name||"",Flag:{searchExecuted:!0}},!0),this.searchModel.set(O.name),this.placeHolder.set(O.name)),this.buttonDisabled.set(!0),"printerSetupLanding"===o.pageName?this.printerPfinderService.optionSelector(O):this.kaasSearchService.optionSelector(O,"swdLanding"===o.pageName?"swd":c,o)}onKeyUpEvent(t,c){const o=this.searchBoxConfigObj();if(o.searchQueryConfigObj.productNumberReqd||o.searchQueryConfigObj.invalidProductNumber)t.preventDefault();else{"Enter"===t.key&&t.target.value?(this.printerPfinderService.selectedTypeAheadValue&&setTimeout(()=>{this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue)},0),this.buttonDisabled.set(!0),this.globalDataLayerService.updateGDL({Flag:{searchExecuted:!0}},!0)):"ArrowUp"===t.key||"ArrowDown"===t.key||38===t.keyCode||40===t.keyCode?(this.buttonDisabled.set(!1),this.printerPfinderService.selectedTypeAheadValue&&setTimeout(()=>{this.placeHolder.set(this.printerPfinderService.selectedTypeAheadValue)},0),this.buttonDisabled.set(!0)):(this.searchQueryEntered.set(!!(t.target.value.length>0||this.searchModel())),this.buttonDisabled.set(!(t.target.value.length>=parseInt(this.pfinderMinCharLen()||"1"))),this.clearErrorField("default"));const O=t?.target?.value?.trim();O&&t.target?.value?.length>=parseInt(this.pfinderMinCharLen()||"1")&&this.printerPfinderService.inputKeyDown(t,O,o?.searchResultOrigin,null)}}onPrinterSetupOptionChange(){this.clearSearchField(null,"default");const t=this.searchBoxConfigObj();this.deviceSearchService.notValidProductNumber.next({id:t?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:t?.pageName??"",value:!1}),this.productNumberButtonDisable.set(!0),this.searchProductModel.set(""),this.productNumberEntered.set(!1),this.renderer.setAttribute(this.searchInputText().nativeElement,"placeholder",this.placeHolder())}ngOnInit(){this.clearQueryOnTooltipSel(),this.clearPNModelSubscriber(),this.patternRestrictPrinter.set("printerSetupLanding"===this.searchBoxConfigObj().pageName?"true":"false"),this.isLightTheme.set(this.searchBoxConfigObj()?.isLightTheme),this.checkpFinderMinCharLen(),this.setPfinderScreenReader()}setPfinderScreenReader(){this.vsidThemeEnabled()?this.screenReaderPfinder.set(this.allTranslations()["#pps_WCC_FS_One_Box_Search_Button_Screenreader"]):this.screenReaderPfinder.set(this.buttonText())}productNumberFocusOut(t){if(t.target.value){this.renderer.setAttribute(t.target,"placeholder","");const c=this.searchBoxConfigObj();this.commonService.isProductNumberPattern(t.target.value)&&c.searchQueryConfigObj.productNumberReqd&&t.target.value.length>
1=2?this.deviceSearchService.notValidProductNumber.next({id:c?.pageName??"",value:!1}):this.deviceSearchService.notValidProductNumber.next({id:c?.pageName??"",value:!0})}else{const c=this.isLightTheme()?"":this.allTranslations()[this.searchBoxConfigObj().placeHolderProduct];this.renderer.setAttribute(t.target,"placeholder",c),this.deviceSearchService.notValidProductNumber.next({id:this.searchBoxConfigObj()?.pageName??"",value:!0})}}onInputFeildFocusOut(t,c){return{productNumber:()=>{const O={IE:()=>{!(c.relatedTarget instanceof HTMLAnchorElement)&&!(c.relatedTarget instanceof HTMLButtonElement)&&this.productNumberFocusOut(c)},otherBrowser:()=>{c.relatedTarget||this.productNumberFocusOut(c)}};return(O[this.pageConfig().browser]||O.otherBrowser)()},default:()=>{if(c.target.value){this.renderer.setAttribute(c.target,"placeholder","");const O=this.searchBoxConfigObj();if(O.searchQueryConfigObj.productNumberReqd||O.searchQueryConfigObj.invalidProductNumber){let ee=this.polySearchExp()?this.sscKeys()?.PFINDER_SN_MIN_CHAR_LENGTH:10;c.target.value.length&&this.commonService.isSerialNumberPattern(c.target.value,this.sscKeys())&&c.target.value.length>=ee?this.deviceSearchService.invalidSerialQuery.next({id:O?.pageName??"",value:!1}):this.deviceSearchService.invalidSerialQuery.next({id:O?.pageName??"",value:!0})}}else{const O=this.isLightTheme()?"":this.placeHolder();this.renderer.setAttribute(c.target,"placeholder",O)}}}[t]()}clearQueryOnTooltipSel(){this.productFinderService.clearQuerySearchField().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.searchModel.set(""),this.searchProductModel.set(""),this.buttonDisabled.set(!1),this.productNumberButtonDisable.set(!1),this.searchQueryEntered.set(!1))})}clearPNModelSubscriber(){this.deviceSearchService.resetProductModel().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>{t&&this.searchProductModel.set("")})}ngOnChanges(t){const c=this.searchBoxConfigObj();c.searchQueryConfigObj.invalidProductNumber&&this.commonService.setFocusOnInputField("productNumberField"),(c.searchQueryConfigObj.notValidSearchQuery||c.searchQueryConfigObj.notValidSN||c.searchQueryConfigObj.notValidDataEntered||c.searchQueryConfigObj.invalidSerialNumber)&&this.commonService.setFocusOnInputField("searchQueryField");const o=t?.searchBoxConfigObj?.previousValue,O=t?.searchBoxConfigObj?.currentValue,ee=O?.printerSetupOption!==o?.printerSetupOption;O?.printerSetupOption&&ee&&this.onPrinterSetupOptionChange()}getPopupStatus(){const t=this.ngbTypeahead();return!!t&&t.isPopupOpen()}hidePNBoxOnchange(t){typeof document<"u"&&document.getElementById("productNumberField")&&this.deviceSearchService.productNumberRequied.next({id:this.searchBoxConfigObj()?.pageName??"",value:!1})}ngOnDestroy(){this.destroySubject$.next()}ngAfterViewInit(){const t=this.searchInputText();void 0!==t&&this.renderer.removeAttribute(t.nativeElement,"aria-multiline")}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(Ye.W),e.rXU(J.h),e.rXU(Ct),e.rXU(ot.k),e.rXU(re.h),e.rXU(e.sFG),e.rXU(R.a),e.rXU(E.il))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-product-search-box"]],viewQuery:function(c,o){1&c&&(e.wEZ(o.searchInputText,Ot,5),e.wEZ(o.ngbTypeahead,ue.$n,5)),2&c&&e.NyB(2)},inputs:{allTranslations:[1,"allTranslations"],buttonText:[1,"buttonText"],screenReader:[1,"screenReader"],notValidDataEntered:[1,"notValidDataEntered"],invalidProductNumber:[1,"invalidProductNumber"],invalidSerialNumber:[1,"invalidSerialNumber"],productNumberReqd:[1,"productNumberReqd"],searchBoxConfigObj:[1,"searchBoxConfigObj"],placeHolder:[1,"placeHolder"],searchOrigin:[1,"searchOrigin"]},outputs:{placeHolder:"placeHolderChange"},features:[e.Jv_([Ye.W,Ct]),e.OA$],decls:27,vars:21,consts:[["result",""],["searchSubmit",""],["queryInputBox",""],["searchInputText",""],[3,"ngClass"],[1,"search-label","pfinder-search-label","pR10"],["aria-hidden","true"],[1,"search-box"],[1,"search-input"],["id","field-help-pfinder","for","searchQueryField",1,"sr-only","field-help"],[4,"ngTemplateOutlet"],["id","multiple-product-error","aria-live","assertive","role","alert",1,"pn-needed-error-text"],["id","not-valid-serial-number","aria-live","assertive","role","alert",1,"pn-needed-error-text"],[1,"total-results"],[1,"submitBtnMobile","button-box"],[1,"product-finder-box","master-pfinder",3,"ngClass"],[1,"pfinder-error-box"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/input-error.png","alt","Error Icon","width","20px","height","20px",1,"input-error-icon"],["id","not-valid-search-text-common","aria-live","assertive","role","alert",1,"error-text","pT5"],["id","not-valid-search-text","aria-live","assertive","role","alert",1,"error-text","pT5"],["id","product-number-error","aria-live","assertive","role","alert",1,"error-text","pT5"],[1,"error-text"],[3,"result","term","id"],["id","seoFriendlyName",1,"hidden"],["id","pmSeriesOid",1,"hidden"],["id","pmNameOid",1,"hidden"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"search-box",3,"ngClass"],[1,"search-label"],["id","product-field-help","for","productNumberField",1,"sr-only","field-help"],["type","text","appRestrictPattern","","appRestrictPatternFlag","true","appRestrictPatternValue","[^\\@\\%\\_\\&\\*\\+\\$\\(\\)\\!\\^\\<\\>]","minlength","2","maxlength","20","required","","selectInputText","","id","productNumberField",1,"pfinder-productnumber","form-control",3,"ngModelChange","keydown.enter","focusout","ngModel","placeholder","ngStyle","ngClass"],[1,"floating-label",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],[1,"floating-product-label"],[1,"floating-product-label-text",3,"ngClass"],["
1id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"disabled"],["id","product-submit-button",1,"submitBtnMobile","button-box"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","FindMyProduct","type","submit",1,"btn","lightThemeSearchButton",3,"click","disabled"],[1,"sr-only"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/search-icon.svg","alt","search image","aria-hidden","true"],["id","FindMyProduct","type","submit",1,"search-submit","mob-overlapped",3,"click","ngClass","disabled"],[1,"hidden-mobile-only",3,"title"],["autocomplete","off","type","text","aria-labelledby","field-help-pfinder","aria-describedby","not-valid-search-text not-valid-search-text-common multiple-product-error not-valid-serial-number","aria-autocomplete","list","appRestrictPattern","","appAlphaNumericPattern","","required","","selectInputText","",1,"form-control","pfinder-input",3,"input","keyup","selectItem","focus","ngModelChange","focusout","focusFirst","ngModel","ngModelOptions","inputFormatter","resultTemplate","ngbTypeahead","placeholder","placement","appRestrictPatternFlag","appRestrictPatternValue","patternReqd","supportPolySN","sscKeys","ngClass","id","disabled","ngStyle"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"ngClass"],[1,"floating-label"],[1,"floating-label-text",3,"ngClass"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter","ngClass"]],template:function(c,o){if(1&c&&(e.j41(0,"div",4)(1,"h3",5)(2,"span",6),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"div",7)(6,"div",8)(7,"label",9),e.EFF(8),e.k0s(),e.DNE(9,Nt,1,0,"ng-container",10),e.k0s(),e.nVh(10,It,9,6,"div",11),e.nVh(11,Ft,4,2,"div",12),e.nVh(12,kt,2,3,"div",13),e.DNE(13,jt,4,7,"ng-template",null,0,e.C5r),e.k0s(),e.nVh(15,Ut,2,4,"div",14),e.k0s(),e.nVh(16,Jt,16,17,"div",15),e.j41(17,"div",16),e.nVh(18,Zt,1,0,"img",17),e.nVh(19,qt,2,1,"p",18),e.nVh(20,en,2,1,"p",19),e.nVh(21,tn,2,1,"p",20),e.nVh(22,nn,2,1,"p",21),e.k0s()(),e.DNE(23,on,6,10,"ng-template",null,1,e.C5r)(25,d,8,26,"ng-template",null,2,e.C5r)),2&c){let O,ee;const ce=e.sdS(26);e.Y8G("ngClass",e.l_i(18,xt,o.pageConfig().isVisIdEnabled,"rtl"===o.pageConfig().languageDirection)),e.R7$(3),e.JRh(o.screenReader()),e.R7$(),e.HbH(e.VkB("master-pfinder ",o.searchBoxConfigObj().pageName,"-pfinder")),e.Y8G("ngClass",o.vsidThemeEnabled()&&""!==o.searchModel()?"search-btn-position":""),e.R7$(4),e.JRh(o.screenReader()),e.R7$(),e.Y8G("ngTemplateOutlet",ce),e.R7$(),e.vxM(null==(O=o.searchBoxConfigObj())||null==O.searchQueryConfigObj||!O.searchQueryConfigObj.productNumberReqd||null!=(O=o.searchBoxConfigObj())&&null!=O.searchQueryConfigObj&&O.searchQueryConfigObj.notValidSearchQuery||o.searchBoxConfigObj().searchQueryConfigObj.notValidSN?-1:10),e.R7$(),e.vxM(o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&o.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||o.searchBoxConfigObj().searchQueryConfigObj.notValidSN?11:-1),e.R7$(),e.vxM(o.vsidThemeEnabled()&&null!=(ee=o.ngbTypeahead())&&ee.isPopupOpen()&&o.totalNumofResult()>0?12:-1),e.R7$(3),e.vxM(o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?-1:15),e.R7$(),e.vxM(o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?16:-1),e.R7$(2),e.vxM(o.isLightTheme()&&(!o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&o.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&o.searchBoxConfigObj().errorText.commonError||!o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&o.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&!o.searchBoxConfigObj().errorText.commonError||o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber)?18:-1),e.R7$(),e.vxM(!o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd&&!o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber&&o.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery&&o.searchBoxConfigObj().errorText.commonError?19:-1),e.R7$(),e.vxM(o.searchBoxConfigObj().searchQueryConfigObj.productNumberReqd||o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber||!o.searchBoxConfigObj().searchQueryConfigObj.notValidSearchQuery||o.searchBoxConfigObj().errorText.commonError?-1:20),e.R7$(),e.vxM(o.searchBoxConfigObj().searchQueryConfigObj.invalidProductNumber?21:-1),e.R7$(),e.vxM(o.searchBoxConfigObj().showSupportOptionError?22:-1)}},dependencies:[W.YU,W.T3,ue.Qr,_.YN,_.me,_.BC,_.YS,_.xh,_.tU,_.vS,bt.Z,y.R,W.B3,ue.$n,vt],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%] p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:0}}p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%] button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]{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}.master-pfinder[_ngcontent-%COMP%] button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:hover{color:#114284;border:1px solid #114284;background-color:#fff}.master-pfinder[_ngcontent-%COMP%] button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}.master-pfinder[_ngcontent-%COMP%] button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}.master-pfinder[_ngcontent-%COMP%] button.search-submit.primary-button.secondary-btn[_ngcontent-%COMP%]:disabled{border:1px solid #CCCCCC;background-color:#fff}.master-pfinder[_ngcontent-%COMP%] #inputtextpfinder[_ngcontent-%COMP%]:disabled{background:#fff}@media only screen and (max-width:800px){button#FindMyProduct[_ngcontent-%COMP%]{word-break:break-all;padding:5px 10px;position:relative;
1left:-3px;height:33px;min-height:33px}button#FindMyProduct[_ngcontent-%COMP%] span.hidden-mobile-only[_ngcontent-%COMP%]{display:none}}.is-vis-id[_ngcontent-%COMP%] h3.pfinder-search-label[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px;color:#000;margin-bottom:10px;padding-bottom:0;padding-right:0!important}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-box[_ngcontent-%COMP%]{width:100%;max-width:490px}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:12px;font-weight:400;line-height:25px;color:#000;background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;padding-left:32px;display:flex;align-items:center;padding-top:0!important;line-height:24px!important;height:auto;background-position:1px 2px;margin-top:12px;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]{position:relative;max-width:490px;padding-right:0}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:100%;max-width:490px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-label[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:490px;width:100%;position:relative;justify-content:flex-start}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]{position:relative;border-radius:0;max-width:100%;font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#404040;padding:12px 80px 12px 20px;height:48px!important;border:1px solid #000000;background-color:#fff}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.sn-disabled[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.sn-disabled[_ngcontent-%COMP%]{padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:hover, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:hover{border:1px solid #000000;background-color:#fff}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{box-shadow:none;height:49px!important;padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]::-webkit-input-placeholder, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]::-webkit-input-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:-moz-placeholder, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:-moz-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]::-moz-placeholder, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]::-moz-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:-ms-input-placeholder, .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:-ms-input-placeholder{color:transparent}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .input-border[_ngcontent-%COMP%]{border-color:1px solid #FF3900!important}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{right:50px;color:#767676;top:50%;transform:translateY(-50%)}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon.shift-close[_ngcontent-%COMP%]{right:15px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:50%}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-product-label[_ngcontent-%COMP%]{position:absolute;pointer-events:none;left:20px;top:50%;transform:translateY(-50%);transition:.2s ease all;font-size:16px;font-weight:400;line-height:25px;
1color:#adadad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 90px);text-align:left}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-product-label-text[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label-text[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label-text.txt-present[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-product-label-text.txt-present[_ngcontent-%COMP%]{display:block;position:absolute;top:0;left:20px;transform:none;opacity:1;font-size:12px;font-weight:400;line-height:25px;color:#adadad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:calc(100% - 90px);text-align:left}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:not(:focus):valid ~ .floating-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:not(:focus):valid ~ .floating-product-label[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{height:49px!important;padding:21px 80px 5px 20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .total-results[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:12px;font-weight:400;line-height:normal;color:#404040;position:absolute;bottom:-22px;z-index:1000;left:20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;background-position:0px 5px;padding-left:35px;margin-top:12px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:12px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{display:inline-block}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:48px;height:48px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/search-icon.svg)!important;background-position:center!important;background-repeat:no-repeat!important;background-color:transparent!important;background-size:17px 18px!important;border:none;height:48px!important;width:48px!important;left:0!important;padding:0 16px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%]:focus{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%]:disabled{background-color:transparent!important}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%] .hidden-mobile-only[_ngcontent-%COMP%]{display:none}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]:focus-within .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder.search-btn-position[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]{height:52px!important}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]:focus-within .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id[_ngcontent-%COMP%] .master-pfinder.search-btn-position[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:26px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder.product-finder-box[_ngcontent-%COMP%]{margin-top:30px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder.product-finder-box[_ngcontent-%COMP%] .mT10[_ngcontent-%COMP%]{margin-top:0!important}.is-vis-id[_ngcontent-%COMP%] .master-pfinder.product-finder-box[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{transform:translateY(-50%)}.is-vis-id[_ngcontent-%COMP%] .master-pfinder.product-finder-box[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]:focus{box-shadow:none}.is-vis-id[_ngcontent-%COMP%] .product-finder-box.master-pfinder[_ngcontent-%COMP%]{margin:13px 0 0;padding:0}.is-vis-id.rtl[_ngcontent-%COMP%] .pfinder-error-box[_ngcontent-%COMP%]{padding-right:0}.is-vis-id.rtl[_ngcontent-%COMP%] .pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{background-position:right 2px;padding-right:32px;padding-left:unset}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]{padding:21px 15px 6px 75px!important}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus, .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.ng-valid[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus, .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.ng-valid[_ngcontent-%COMP%]{box-shadow:none;height:49px!important}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{right:auto!important;margin:0!important;position:absolute;
1left:50px!important;top:50%!important;transform:translateY(-50%)}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon.shift-close[_ngcontent-%COMP%]{left:15px!important;right:unset!important}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-input.ng-valid[_ngcontent-%COMP%] ~ .close-icon[_ngcontent-%COMP%]{top:50%!important}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-product-label[_ngcontent-%COMP%]{left:75px;text-align:right}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-productnumber[_ngcontent-%COMP%]:focus ~ .floating-product-label-text[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label-text.txt-present[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-product-label-text.txt-present[_ngcontent-%COMP%]{text-align:right;left:auto;right:15px}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%]{background-position:right 3px;padding-right:32px;padding-left:unset}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{transform:translateY(-50%);right:auto;left:0}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%]{transform:scaleX(-1);-webkit-transform:scaleX(-1)}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button.search-submit[_ngcontent-%COMP%]:disabled{background-color:transparent}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]:focus-within .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%], .is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder.search-btn-position[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .pfinder-productnumber[_ngcontent-%COMP%]{height:52px!important}.is-vis-id.rtl[_ngcontent-%COMP%] .master-pfinder.product-finder-box[_ngcontent-%COMP%]{margin-top:30px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] h3.pfinder-search-label[_ngcontent-%COMP%]{margin-top:12px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%]{padding:unset;margin-bottom:0;margin-top:1px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:100%}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{right:50px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label[_ngcontent-%COMP%]{left:20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%]:focus ~ .floating-label-text[_ngcontent-%COMP%]{left:20px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{position:absolute;right:0;display:flex}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] .search-submit[_ngcontent-%COMP%]{height:45px;min-height:45px;background-color:transparent;padding:0 20px;background-size:17.5px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box.search-btn-position[_ngcontent-%COMP%]{top:15px}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:enabled{background-color:inherit!important}.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-label[_ngcontent-%COMP%]{margin-top:0}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{line-height:15px}.rtl.is-vis-id[_ngcontent-%COMP%] .search-label[_ngcontent-%COMP%]{padding-right:0!important}.rtl.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{left:50px!important;top:55%!important}.rtl.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .floating-label[_ngcontent-%COMP%]{left:75px}.rtl.is-vis-id[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{right:auto}}"]})}}return r})(),b=(()=>
1{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-headset-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader])("allTranslations",o.allTranslations())("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})(),Y=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-other-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader])("allTranslations",o.allTranslations())("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})(),Me=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-desktop-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","allTranslations","buttonText","screenReader","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("allTranslations",o.allTranslations())("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.isDMDEnable()?o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader]:o.allTranslations()[null==(ce=o.pfinderText())?null:ce.noDMDscreenReader])("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})(),Ie=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-laptop-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.isDMDEnable()?o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader]:o.allTranslations()[null==(ce=o.pfinderText())?null:ce.noDMDscreenReader])("allTranslations",o.allTranslations())("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})(),be=(()=>
1{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-printer-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","buttonText","screenReader","allTranslations","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader])("allTranslations",o.allTranslations())("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})(),Le=(()=>{class r{constructor(){this.allTranslations=(0,s.hFB)({}),this.pfinderText=(0,s.hFB)({}),this.isDMDEnable=(0,s.hFB)(!1),this.searchBoxConfigObj=(0,s.hFB)(null)}ngOnInit(){}static{this.\u0275fac=function(c){return new(c||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-general-search"]],inputs:{allTranslations:[1,"allTranslations"],pfinderText:[1,"pfinderText"],isDMDEnable:[1,"isDMDEnable"],searchBoxConfigObj:[1,"searchBoxConfigObj"]},decls:2,vars:6,consts:[[3,"placeHolder","searchOrigin","allTranslations","buttonText","screenReader","searchBoxConfigObj"]],template:function(c,o){if(1&c&&(e.j41(0,"div"),e.nrm(1,"app-product-search-box",0),e.k0s()),2&c){let O,ee,ce;e.R7$(),e.Y8G("placeHolder",o.allTranslations()[null==(O=o.pfinderText())?null:O.placeHolder])("searchOrigin","comingFromPFinder")("allTranslations",o.allTranslations())("buttonText",o.allTranslations()[null==(ee=o.pfinderText())?null:ee.submitButton])("screenReader",o.isDMDEnable()?o.allTranslations()[null==(ce=o.pfinderText())?null:ce.screenReader]:o.allTranslations()[null==(ce=o.pfinderText())?null:ce.noDMDscreenReader])("searchBoxConfigObj",o.searchBoxConfigObj())}},dependencies:[v],encapsulation:2})}}return r})();var Re=a(76119);function Xe(r,I){if(1&r&&(e.j41(0,"div",4)(1,"div",5),e.nrm(2,"img",6),e.k0s()()),2&r){const t=I.$implicit;e.R7$(2),e.Y8G("src",null==t?null:t.imagePath,e.B4B)("alt",null==t?null:t.title)}}function we(r,I){if(1&r&&(e.j41(0,"div",1)(1,"app-slider",3),e.Z7z(2,Xe,3,2,"div",4,e.fX1),e.k0s()()),2&r){const t=e.XpG();e.R7$(),e.Y8G("slideData",t.carouselElement())("config",t.config())("horizontalNav",!0)("pagination",!1),e.R7$(),e.Dyx(t.carouselElement())}}function Ue(r,I){if(1&r&&(e.j41(0,"div",4)(1,"div",5),e.nrm(2,"img",6),e.k0s()()),2&r){const t=I.$implicit;e.R7$(2),e.Y8G("src",null==t?null:t.imagePath,e.B4B)("alt",null==t?null:t.title)}}function dt(r,I){if(1&r&&(e.j41(0,"div",2),e.Z7z(1,Ue,3,2,"div",4,e.fX1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Dyx(t.carouselElement())}}let pt=(()=>{class r{constructor(t,c){this.pageService=t,this.deviceService=c,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.carouselElement=(0,s.hFB)(null),this.isMobile=(0,u.vPA)(this.deviceService.isMobile()),this.config=(0,u.vPA)({loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1},spaceBetween:7})}ngOnInit(){}ngAfterViewInit(){}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(me.Kg))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-tooltip-carousel"]],inputs:{carouselElement:[1,"carouselElement"]},decls:3,vars:3,consts:[[3,"ngClass"],[1,"image-slider","bannerSlider","tooltip-carousel"],[1,"image-slider","bannerSlider"],["name","pfinder-tooltip-carousel","horizontalNavArrowsPosition","inside","horizontalArrowSize","15","horizontalArrowType","blue",3,"slideData","config","horizontalNav","pagination"],[1,"swiper-slide"],[1,"carousel-container","align-center"],[3,"src","alt"]],template:function(c,o){if(1&c&&(e.j41(0,"div",0),e.nVh(1,we,4,4,"div",1),e.nVh(2,dt,3,0,"div",2),e.k0s()),2&c){let O,ee;e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl-tooltip-carousel":"ltr-tooltip-carousel"),e.R7$(),e.vxM((null==(O=o.carouselElement())?null:O.length)>1?1:-1),e.R7$(),e.vxM(1===(null==(ee=o.carouselElement())?null:ee.length)?2:-1)}}
1,dependencies:[W.YU,Re.d],styles:[".tooltip-carousel[_ngcontent-%COMP%]{max-width:100%}"]})}}return r})();const _t=r=>({"is-vis-id":r});function ct(r,I){if(1&r&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text1"])}}function at(r,I){if(1&r&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text7"])}}function cn(r,I){if(1&r&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text8"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text11"]," ")}}function gt(r,I){if(1&r&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_PFinder_ErrorMessage_Text_13"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_PFinder_ErrorMessage_Text_14"]," ")}}function hn(r,I){if(1&r&&(e.j41(0,"li")(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"p"),e.EFF(4),e.j41(5,"span",2),e.EFF(6),e.k0s()()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text10"]),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text4"]," ")}}function ln(r,I){if(1&r&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text2"])}}function Mt(r,I){if(1&r&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text10"])}}function ut(r,I){if(1&r&&(e.j41(0,"li"),e.nVh(1,ln,2,1,"span"),e.nVh(2,Mt,2,1,"span"),e.j41(3,"p"),e.EFF(4),e.j41(5,"span",2),e.EFF(6),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.vxM("addDevice"===t.productSelectionCompConfig().pageName||"printerSetupLanding"===t.productSelectionCompConfig().pageName?1:-1),e.R7$(),e.vxM("addDevice"!==t.productSelectionCompConfig().pageName&&"printerSetupLanding"!==t.productSelectionCompConfig().pageName?2:-1),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text4"]," ")}}function xn(r,I){if(1&r&&(e.j41(0,"li"),e.EFF(1),e.j41(2,"p"),e.EFF(3),e.j41(4,"span",2),e.EFF(5),e.k0s()()()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text5"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text3"]," "),e.R7$(2),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text6"]," ")}}function Sn(r,I){if(1&r&&(e.j41(0,"li"),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.SpI(" ",t.allTranslations()["#pps_WCC_FS_Product_Finder_Add_Device_Serial_Number_Error"]," ")}}let dn=(()=>{class r{constructor(t,c){this.appSelectorStore=t,this.pageService=c,this.productSelectionCompConfig=(0,s.hFB)(null),this.allTranslations=(0,u.vPA)({}),this.destroySubject$=new h.B,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal())}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t))}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(n.q),e.rXU(ae.b))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-pfinder-error"]],inputs:{productSelectionCompConfig:[1,"productSelectionCompConfig"]},decls:15,vars:13,consts:[[3,"ngClass"],[1,"pfinder-error-content",3,"ngClass"],[1,"example-text"]],template:function(c,o){1&c&&(e.j41(0,"div",0)(1,"div",1)(2,"div")(3,"p"),e.EFF(4),e.k0s(),e.j41(5,"ul")(6,"li"),e.nVh(7,ct,2,1,"span"),e.nVh(8,at,2,1,"span"),e.k0s(),e.nVh(9,cn,6,3,"li"),e.nVh(10,gt,6,3,"li"),e.nVh(11,hn,7,3,"li"),e.nVh(12,ut,7,4,"li"),e.nVh(13,xn,6,3,"li"),e.nVh(14,Sn,2,1,"li"),e.k0s()()()()),2&c&&(e.Y8G("ngClass",e.eq3(11,_t,o.pageConfig().isVisIdEnabled)),e.R7$(),e.Y8G("ngClass","rtl"===o.productSelectionCompConfig().languageDirection?"rtl-error-content":"ltr-error-content"),e.R7$(3),e.SpI(" ",o.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Heading"]," "),e.R7$(3),e.vxM(o.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:7),e.R7$(),e.vxM(!o.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:8),e.R7$(),e.vxM("addDevice"!==o.productSelectionCompConfig().pageName&&"printerSetupLanding"!==o.productSelectionCompConfig().pageName&&"topicPage"!==o.productSelectionCompConfig().pageName&&"contact"!==o.productSelectionCompConfig().pageName?9:-1),e.R7$(),e.vxM("topicPage"!==o.productSelectionCompConfig().pageName||!o.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:10),e.R7$(),e.vxM("topicPage"!==o.productSelectionCompConfig().pageName||!o.productSelectionCompConfig().productFinderConfig.solutionIntentType||"printer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"computer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:11),e.R7$(),e.vxM(o.productSelectionCompConfig().productFinderConfig.solutionIntentType?-1:12),e.R7$(),e.vxM("computer"!==o.productSelectionCompConfig().productFinderConfig.solutionIntentType&&"addDevice"!==o.productSelectionCompConfig().pageName&&"printerSetupLanding"!==o.productSelectionCompConfig().pageName?13:-1),e.R7$(),e.vxM("addDevice"===o.productSelectionCompConfig().pageName?14:-1))},dependencies:[W.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.pfinder-error-content[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:400;line-height:1.25;color:#000;padding-bottom:63px;padding-bottom:15px!important}.pfinder-error-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:3px;color:#000}.pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:30px}.pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:disc;font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:1.25;color:#000}.pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.example-text[_ngcontent-%COMP%]{font-weight:700}.pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;color:#0171ad}.pfinder-error-content.rtl-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:0;padding-right:30px}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-content[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/warning-icon.svg);background-repeat:no-repeat;background-size:20px 20px;padding-left:44px;background-position:1px 2px;padding-bottom:0!important;margin-bottom:40px;font-size:16px}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#000}.is-vis-id[_ngcontent-%COMP%] .pfinder-error-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .example-text[_ngcontent-%COMP%]{font-weight:400}.is-vis-id[_ngcontent-%COMP%] .rtl-error-content[_ngcontent-%COMP%] .pfinder-error-content[_ngcontent-%COMP%]{padding-left:0;padding-right:44px;background-position:right 2px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] .pfinder-error-content[_ngcontent-%COMP%]{background:#fff;padding-left:0}}"]})}}return r})();var wn=a(1581),Dn=a(39739),et=a(49074),yn=a(52735),Tn=a(72433);const Nn=r=>({"is-vis-id":r}),Cn=r=>({"carousel-heading":r});function En(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function In(r,I){if(1&r&&(e.j41(0,"h3",2),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2).$implicit;e.Y8G("ngClass",e.eq3(2,Cn,"Carousel"===t.toolTipType&&t.carouselElement)),e.R7$(),e.JRh(t.toolTipHeading)}}function Rn(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",5),e.bIt("click",function(){u.eBV(t);const o=e.XpG().$implicit,O=e.XpG(3).$implicit,ee=e.XpG(2);return u.Njj(ee.linkClickEvent(o,O.deviceType))}),e.j41(1,"span"),e.EFF(2),e.k0s()()}if(2&r){const t=e.XpG().$implicit;e.Y8G("title",e.mNQ(t.supportLink_Text))("id",e.mNQ(t.supportLink_Anrid)),e.R7$(2),e.JRh(t.supportLink_Text)}}function Fn(r,I){if(1&r&&(e.j41(0,"li"),e.nVh(1,Rn,3,5,"a",4),e.k0s()),2&r){const t=I.$implicit;e.R7$(),e.vxM(t.supportLink_Text?1:-1)}}function kn(r,I){if(1&r&&(e.j41(0,"ul"),e.Z7z(1,Fn,2,1,"li",null,e.fX1),e.k0s()),2&r){const t=e.XpG(2).$implicit;e.R7$(),e.Dyx(t.supportLinkElement)}}function Ln(r,I){if(1&r&&e.nrm(0,"app-tooltip-carousel",3),2&r){const t=e.XpG(2).$implicit;e.Y8G("carouselElement",t.carouselElement)}}function Bn(r,I){if(1&r&&(e.j41(0,"h3",2),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2).$implicit;e.Y8G("ngClass",e.eq3(2,Cn,"Carousel"===t.toolTipType&&t.carouselElement)),e.R7$(),e.JRh(t.toolTipHeading)}}function An(r,I){if(1&r&&(e.j41(0,"div"),e.nVh(1,In,2,4,"h3",2),e.nVh(2,kn,3,0,"ul"),e.nVh(3,Ln,1,1,"app-tooltip-carousel",3),e.nVh(4,Bn,2,4,"h3",2),e.k0s()),2&r){const t=e.XpG().$implicit,c=e.XpG(2);e.R7$(),e.vxM(!c.pageConfig().isVisIdEnabled||c.pageConfig().isMobile||"Carousel"!==t.toolTipType?1:-1),e.R7$(),e.vxM("Support links"===t.toolTipType&&t.supportLinkElement?2:-1),e.R7$(),e.vxM("Carousel"===t.toolTipType&&t.carouselElement&&"Carousel"===t.toolTipType?3:-1),e.R7$(),e.vxM(c.pageConfig().isVisIdEnabled&&!c.pageConfig().isMobile&&"Carousel"===t.toolTipType?4:-1)}}function jn(r,I){if(1&r&&(e.j41(0,"div"),e.nVh(1,An,5,4,"div"),e.k0s()),2&r){const t=I.$implicit,c=e.XpG(2);e.R7$(),e.vxM(t.deviceType===c.selectedProduct()?1:-1)}}function $n(r,I){if(1&r&&(e.j41(0,"div"),e.Z7z(1,jn,2,1,"div",null,e.fX1),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Dyx(t.productData())}}let pn=(()=>{class r{constructor(t,c,o,O,ee,ce,Oe){this.modalService=t,this.appSelectorStore=c,this.translationService=o,this.pageService=O,this.videoService=ee,this.destroyRef=ce,this.document=Oe,this.selectedProduct=(0,s.hFB)(null),this.productData=(0,s.hFB)(null),this.productSelectionCompConfig=(0,s.hFB)(null),this.allTranslations=(0,u.vPA)({}),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.window=this.document.defaultView}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>this.allTranslations.set(t))}showModal(t,c){if("video"===t?.supportLink_Type&&t?.supportLink)new RegExp("CID.*","i").test(t.supportLink)&&this.videoService.getVideoDetails([t.supportLink]).subscribe(O=>{const ee=O[t.supportLink];if(ee){const ce={title:ee?.title,description:ee?.description,video_id:ee?.isBrightcoveVideo?ee?.bcId:ee?.streamingId,showBrightcoveVideo:ee?.isBrightcoveVideo,height:"100%",width:"100%",SwdDriverVideoComponent:this.window.location.pathname.includes("/drivers/"),hideDescription:!0};this.modalService.open(wn.H,{backdropClass:"customBackdrop",windowClass:"app-modal-window",size:"lg"}).componentInstance.videoData.set(ce)}});else{const o=this.modalService.open(Dn.K,{size:"lg",keyboard:!0});o.componentInstance.productType.set(c),o.componentInstance.modalInfo.set(t.supportLink_Modal?t.supportLink_Modal:null),o.componentInstance.modalData.set(t),o.componentInstance.allTranslations.set(this.allTranslations())}}linkClickEvent(t,c){"modal"===t?.supportLink_Type||"video"===t?.supportLink_Type?this.showModal(t,c):"link"===t.supportLink_Type&&this.translationService.redirectToDocPage(t)}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ue.Bq),e.rXU(n.q),e.rXU(yn.L),e.rXU(ae.b),e.rXU(Tn.r),e.rXU(u.abz),e.rXU(u.qQL))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-find-product-info"]],inputs:{selectedProduct:[1,"selectedProduct"],productData:[1,"productData"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},decls:3,vars:5,consts:[[1,"find-product-info",3,"ngClass"],[3,"productSelectionCompConfig"],[3,"ngClass"],[3,"carouselElement"],["href","javascript:void(0)",3,"title","id"],["href","javascript:void(0)",3,"click","title","id"]],template:function(c,o){1&c&&(e.nVh(0,En,2,1,"div"),e.j41(1,"div",0),e.nVh(2,$n,3,0,"div"),e.k0s()),2&c&&(e.vxM((o.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||o.productSelectionCompConfig().searchQueryConfigObj.notValidSN||o.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber||o.productSelectionCompConfig().searchQueryConfigObj.notValidQuery)&&o.productData()&&1===o.productData().length?0:-1),e.R7$(),e.Y8G("ngClass",e.eq3(3,Nn,o.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM(o.productData()?2:-1))},dependencies:[dn,W.YU,pt],styles:[".find-product-info[_ngcontent-%COMP%]{margin-left:0}.find-product-info[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;color:#000;padding-bottom:5px}.find-product-info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;margin-bottom:12px}.is-vis-id.find-product-info[_ngcontent-%COMP%]{margin-left:0}.is-vis-id.find-product-info[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:300;line-height:25px;color:#000}.is-vis-id.find-product-info[_ngcontent-%COMP%] h3.carousel-heading[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;color:#737373;margin-bottom:11px;margin-top:15px;text-align:center}.is-vis-id.find-product-info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-left:-12px}.is-vis-id.find-product-info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:16px;font-weight:400;line-height:25px;text-decoration:underline;margin-bottom:4px;padding:4px 12px;border:2px solid transparent}.is-vis-id.find-product-info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}"]})}}return r})();var fn=a(96114);const Un=r=>({"is-vis-id":r}),Vn=(r,I)=>({"rtl-product-info":r,hideProductList:I}),Gn=r=>({data:r});function Wn(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",3),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function Hn(r,I){1&r&&e.eu8(0)}function Xn(r,I){if(1&r&&(e.j41(0,"div",2)(1,"ul",4),e.DNE(2,Hn,1,0,"ng-container",5),e.k0s()()),2&r){let t;const c=e.XpG(),o=e.sdS(4);e.Y8G("ngClass",e.l_i(3,Vn,"rtl"===c.pageConfig().languageDirection,"swdLanding"===(null==(t=c.productSelectionCompConfig())?null:t.pageName))),e.R7$(2),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(6,Gn,c.productData()))}}function zn(r,I){if(1&r){const t=e.RV6();e.j41(0,"li")(1,"a",6),e.bIt("mouseover",function(){const o=u.eBV(t).$index,O=e.XpG(2);return u.Njj(O.setIconHovered(o,!0))})("mouseout",function(){const o=u.eBV(t).$index,O=e.XpG(2);return u.Njj(O.setIconHovered(o,!1))})("click",function(){const o=u.eBV(t).$implicit,O=e.XpG(2);return u.Njj(O.productIconClickEvent(o))}),e.nrm(2,"img",7)(3,"img",8),e.k0s()()}if(2&r){const t=I.$implicit,c=I.$index,o=e.XpG(2);e.R7$(),e.Y8G("id",e.ai1("",o.productSelectionCompConfig().pageName,"_horz_tooltip",t.anrid))("title",e.mNQ(t.toolTipTitle)),e.R7$(),e.Y8G("src",o.iconHovered()[c]||o.selectedProduct()===t.deviceType?null==t?null:t.imageHover:null==t?null:t.image,e.B4B),e.R7$(),e.Y8G("src",null==t?null:t.image,e.B4B)}}function Yn(r,I){if(1&r&&(e.qex(0),e.Z7z(1,zn,4,7,"li",null,e.fX1),e.nI1(3,"orderBy"),e.bVm()),2&r){const t=I.data;e.R7$(),e.Dyx(e.i5U(3,0,t,"order"))}}function Kn(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",9),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("selectedProduct",t.productData().length>1?t.selectedProduct():t.productData()[0].deviceType)("productData",t.productData())("productSelectionCompConfig",t.productSelectionCompConfig())}}let Qn=(()=>{class r{constructor(t,c,o){this.pageService=t,this.productFinderService=c,this.deviceSearchService=o,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.productData=(0,s.hFB)(null),this.selectedProduct=(0,s.geq)(),this.productSelectionCompConfig=(0,s.hFB)(null),this.iconHovered=(0,u.vPA)([!1,!1]),this.customIconAray=(0,u.vPA)(null)}ngOnInit(){}productIconClickEvent(t){this.selectedProduct.set(t.deviceType);const c=this.selectedProduct();this.productFinderService.deviceTypeSelected.next(c),this.productFinderService.clearQuerySearch.next(!0);const o=this.productSelectionCompConfig();this.productFinderService.errorContent.next({id:o?.pageName??"",value:!1}),this.deviceSearchService.invalidSearchQuery.next({id:o?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:o?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:o?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:o?.pageName??"",value:!1}),this.productFinderService.onProductSelection(c,o.productFinderConfig),this.productFinderService.updateConfigObj(o.productFinderConfig)}setIconHovered(t,c){const O=[...this.iconHovered()];O[t]=c,this.iconHovered.set(O)}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(J.h),e.rXU(ot.k))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-product-info"]],inputs:{productData:[1,"productData"],selectedProduct:[1,"selectedProduct"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},outputs:{selectedProduct:"selectedProductChange"},decls:6,vars:6,consts:[["IconListTemplate",""],[3,"ngClass"],[1,"product-info",3,"ngClass"],[3,"productSelectionCompConfig"],[1,"product-list"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["href","javascript:void(0)",3,"mouseover","mouseout","click","id","title"],["alt","icon image","width","30","height","30",3,"src"],["alt","icon image","width","30","height","30",2,"display","none",3,"src"],[3,"selectedProduct","productData","productSelectionCompConfig"]],template:function(c,o){1&c&&(e.j41(0,"div",1),e.nVh(1,Wn,2,1,"div"),e.nVh(2,Xn,3,8,"div",2),e.k0s(),e.DNE(3,Yn,4,3,"ng-template",null,0,e.C5r),e.nVh(5,Kn,2,3,"div")),2&c&&(e.Y8G("ngClass",e.eq3(4,Un,o.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM(o.productSelectionCompConfig().searchQueryConfigObj.notValidQuery||o.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||o.productSelectionCompConfig().searchQueryConfigObj.notValidSN||o.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber?1:-1),e.R7$(),e.vxM(o.productData()&&o.productData().length>1?2:-1),e.R7$(3),e.vxM(o.productData()?5:-1))},dependencies:[W.YU,dn,W.T3,pn,fn.Q],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-info[_ngcontent-%COMP%]{height:30px;margin-bottom:21px}.product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%]{display:flex;flex:1}.product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:30px;margin-right:9px}.product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block}.product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .no-display[_ngcontent-%COMP%]{display:none}.product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-right:0}.product-info.rtl-product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-right:0}.product-info.rtl-product-info[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-right:9px}.is-vis-id[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-right:16px}.is-vis-id[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-right:28px}}"]})}}return r})();const Jn=r=>({"is-vis-id":r}),Zn=(r,I)=>({data:r,pageName:I});function qn(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-pfinder-error",3),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("productSelectionCompConfig",t.productSelectionCompConfig())}}function ei(r,I){1&r&&e.eu8(0)}function ti(r,I){if(1&r&&(e.j41(0,"div",2)(1,"p",4),e.EFF(2),e.k0s(),e.j41(3,"ul",5),e.DNE(4,ei,1,0,"ng-container",6),e.k0s()()),2&r){const t=e.XpG(),c=e.sdS(5);e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl-product-selection-section":"ltr-product-selection-section"),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Selection_Heading"]),e.R7$(2),e.Y8G("ngTemplateOutlet",c)("ngTemplateOutletContext",e.l_i(4,Zn,t.productData(),t.productSelectionCompConfig().pageName))}}function ni(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-product-info",7),e.k0s()),2&r){const t=e.XpG();e.R7$(),e.Y8G("productData",t.productData())("selectedProduct",t.selectedProduct())("productSelectionCompConfig",t.productSelectionCompConfig())}}function ii(r,I){if(1&r){const t=e.RV6();e.j41(0,"li")(1,"a",8),e.bIt("mouseover",function(){const o=u.eBV(t).$index,O=e.XpG(2);return u.Njj(O.setIconHovered(o,!0))})("mouseout",function(){const o=u.eBV(t).$index,O=e.XpG(2);return u.Njj(O.setIconHovered(o,!1))})("click",function(){const o=u.eBV(t).$implicit,O=e.XpG(2);return u.Njj(O.productSelection(o.deviceType))}),e.nrm(2,"img",9)(3,"img",10),e.j41(4,"span",11),e.EFF(5),e.k0s()()()}if(2&r){const t=I.$implicit,c=I.$index,o=e.XpG().pageName,O=e.XpG();e.R7$(),e.Y8G("id",e.ai1("",o,"_vert_tooltip",t.anrid))("title",e.mNQ(t.toolTipTitle)),e.R7$(),e.Y8G("src",O.iconHovered()[c]?null==t?null:t.imageHover:null==t?null:t.image,e.B4B),e.R7$(),e.Y8G("src",null==t?null:t.imageHover,e.B4B),e.R7$(2),e.JRh(t.toolTipTitle)}}function oi(r,I){if(1&r&&(e.qex(0),e.Z7z(1,ii,6,8,"li",null,e.fX1),e.nI1(3,"orderBy"),e.bVm()),2&r){const t=I.data;e.R7$(),e.Dyx(e.i5U(3,0,t,"order"))}}let Pn=(()=>
1{class r{constructor(t,c,o,O){this.pageService=t,this.productSelectionService=c,this.productFinderService=o,this.deviceSearchService=O,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.iconClickEvent=(0,s.CGW)(),this.productData=(0,s.hFB)(null),this.allTranslations=(0,s.hFB)({}),this.productSelectionCompConfig=(0,s.hFB)(null),this.destroySubject$=new h.B,this.iconHovered=(0,u.vPA)([!1,!1]),this.initialProductSelection=(0,u.vPA)(!0),this.selectedProduct=(0,u.vPA)("")}ngOnInit(){this.observableSubsvriber();const t=this.productSelectionCompConfig();"swdLanding"===t?.pageName&&t?.deviceSelected&&this.productSelection(t?.deviceSelected)}productSelection(t){this.productSelectionService.selectedProduct(t);const c=this.productSelectionCompConfig();this.productFinderService.errorContent.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.invalidSearchQuery.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:c?.pageName??"",value:!1}),this.iconClickEvent.emit(t),this.productSelectionService.getDisplayHorIconStatus().pipe((0,g.Q)(this.destroySubject$)).subscribe(o=>{"boolean"==typeof o&&this.initialProductSelection.set(o)}),this.deviceSearchService.invalidSearchQuery.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.notValidProductNumber.next({id:c?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:c?.pageName??"",value:!1})}observableSubsvriber(){this.productSelectionService.getProductSelected().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>{this.selectedProduct.set(t)})}setIconHovered(t,c){const O=[...this.iconHovered()];O[t]=c,this.iconHovered.set(O)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(i.z),e.rXU(J.h),e.rXU(ot.k))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-product-selection"]],inputs:{productData:[1,"productData"],allTranslations:[1,"allTranslations"],productSelectionCompConfig:[1,"productSelectionCompConfig"]},outputs:{iconClickEvent:"iconClickEvent"},decls:6,vars:6,consts:[["IconList",""],[3,"ngClass"],[1,"product-selection-section",3,"ngClass"],[3,"productSelectionCompConfig"],[1,"heading-text"],[1,"product-list"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"productData","selectedProduct","productSelectionCompConfig"],["href","javascript:void(0)",3,"mouseover","mouseout","click","id","title"],["alt","icon image","width","30","height","30",3,"src"],["alt","icon image","width","30","height","30",2,"display","none",3,"src"],["aria-hidden","true"]],template:function(c,o){1&c&&(e.j41(0,"div",1),e.nVh(1,qn,2,1,"div"),e.nVh(2,ti,5,7,"div",2),e.nVh(3,ni,2,3,"div"),e.k0s(),e.DNE(4,oi,4,3,"ng-template",null,0,e.C5r)),2&c&&(e.Y8G("ngClass",e.eq3(4,Jn,o.pageConfig().isVisIdEnabled)),e.R7$(),e.vxM((o.productSelectionCompConfig().searchQueryConfigObj.notValidQuery||o.productSelectionCompConfig().searchQueryConfigObj.notValidSearchQuery||o.productSelectionCompConfig().searchQueryConfigObj.invalidProductNumber||o.productSelectionCompConfig().searchQueryConfigObj.notValidSN)&&o.initialProductSelection()?1:-1),e.R7$(),e.vxM(o.initialProductSelection()?2:-1),e.R7$(),e.vxM(!o.initialProductSelection()&&o.productData()?3:-1))},dependencies:[W.YU,dn,W.T3,Qn,fn.Q],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-selection-section[_ngcontent-%COMP%] p.heading-text[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.25;color:#000;margin-bottom:13px}.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%]{margin-left:1px}.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding-bottom:5px}.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{line-height:30px;width:auto;display:inline-block}.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-right:10px;width:40px}.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child a[_ngcontent-%COMP%]{margin-bottom:0}.rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%] ul.product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-left:10px;padding-right:0}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .heading-text[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:16px;font-weight:300;line-height:1.25;color:#000;margin-bottom:20px}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0;margin-bottom:2px;margin-left:-12px}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border:2px solid transparent;padding:4px 12px}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-right:0;width:30px;height:30px}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;padding-left:8px;line-height:1.2;text-decoration:underline}.is-vis-id[_ngcontent-%COMP%] .product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%] .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-right:0;padding-left:8px}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0;margin-bottom:2px}.is-vis-id[_ngcontent-%COMP%] .rtl-product-selection-section.product-selection-section[_ngcontent-%COMP%] .product-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:0}}"]})}}return r})();var ai=a(97561),ri=a(38225);const si=r=>({"is-vis-id":r}),ci=(r,I)=>[r,I];
1function li(r,I){if(1&r&&(e.j41(0,"span",3),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.Y8G("title",t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"]),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"])}}function di(r,I){if(1&r&&(e.j41(0,"span",3),e.EFF(1),e.k0s()),2&r){const t=e.XpG();e.Y8G("title",t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text1"]),e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text1"])}}let Mn=(()=>{class r{constructor(t,c,o){this.productDetectService=t,this.globalDataService=c,this.pageService=o,this.allTranslations=(0,s.hFB)({}),this.DMDlayoutConfig=(0,s.hFB)(null),this.pageName=(0,s.hFB)(""),this.findOutMoreLink=(0,s.hFB)(""),this.withServiceDD=(0,s.hFB)(!1),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.SSFWpdJs=(0,u.vPA)(""),this.SSFCommonJs=(0,u.vPA)("")}ngOnInit(){this.productDetectService.getDownloadSSFUrlFromSSC().subscribe(t=>{(0,j.A)(t)||(this.SSFWpdJs.set(t.SSFWpdJs),this.SSFCommonJs.set(t.SSFCommonJs))})}navigateToDetectDevice(){const t=this.globalDataService.getWindowGlobalData();this.productDetectService.setPrevTemplateName(t?.Template||""),this.productDetectService.onDetectBtnClick(this.SSFCommonJs(),this.SSFWpdJs())}getClass(t){return"top"===t?"blue-cta":"bottom"===t?"white-cta":void 0}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ri.S),e.rXU(R.a),e.rXU(ae.b))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-detector"]],inputs:{allTranslations:[1,"allTranslations"],DMDlayoutConfig:[1,"DMDlayoutConfig"],pageName:[1,"pageName"],findOutMoreLink:[1,"findOutMoreLink"],withServiceDD:[1,"withServiceDD"]},decls:10,vars:15,consts:[[3,"ngClass"],[1,"device-detector-box",3,"ngClass"],["type","button","id","detect-now",3,"click","ngClass"],[3,"title"],["id","FindOutMore","target","_blank",1,"mL28","mob-mL10","find-more-link","arrow-link",3,"href","title"],["aria-hidden","true"],["id","hpDetectButton","hidden","hidden",1,"hpwpdButton"]],template:function(c,o){1&c&&(e.j41(0,"div",0)(1,"div",1)(2,"button",2),e.bIt("click",function(){return o.navigateToDetectDevice()}),e.nVh(3,li,2,2,"span",3),e.nVh(4,di,2,2,"span",3),e.k0s(),e.j41(5,"div")(6,"a",4)(7,"span",5),e.EFF(8),e.k0s()()()()(),e.nrm(9,"div",6)),2&c&&(e.Y8G("ngClass",e.eq3(10,si,o.pageConfig().isVisIdEnabled)),e.R7$(),e.Y8G("ngClass",e.l_i(12,ci,o.DMDlayoutConfig().position,o.withServiceDD()?"withServiceDD":"")),e.R7$(),e.Y8G("ngClass",o.getClass(o.DMDlayoutConfig().position)),e.R7$(),e.vxM("top"===o.DMDlayoutConfig().position?3:-1),e.R7$(),e.vxM("bottom"===o.DMDlayoutConfig().position?4:-1),e.R7$(2),e.Y8G("href",o.findOutMoreLink(),e.B4B)("title",o.allTranslations()["#pps_WCC_FS_HomeHP_Find_More_Text"]),e.R7$(2),e.SpI(" ",o.allTranslations()["#pps_WCC_FS_HomeHP_Find_More_Text"]," "),e.R7$(),e.BMQ("hpwpdContext","Home")("hpwpdSource","Portal"))},dependencies:[W.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.device-detector-box[_ngcontent-%COMP%]{display:flex}.device-detector-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{overflow:hidden}.device-detector-box[_ngcontent-%COMP%] button.blue-cta[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none;max-width:250px;line-height:18px}.device-detector-box[_ngcontent-%COMP%] button.blue-cta[_ngcontent-%COMP%]:active{background-color:#0c2e5c}.device-detector-box[_ngcontent-%COMP%] button.blue-cta[_ngcontent-%COMP%]:focus{box-shadow:0 0 8px #0096d6;color:#fff}.device-detector-box[_ngcontent-%COMP%] button.blue-cta[_ngcontent-%COMP%]:hover{background-color:#114284}.device-detector-box[_ngcontent-%COMP%] button.blue-cta[_ngcontent-%COMP%]:disabled{background-color:#ccc}.device-detector-box[_ngcontent-%COMP%] button.white-cta[_ngcontent-%COMP%]{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;max-width:270px;line-height:18px}.device-detector-box[_ngcontent-%COMP%] button.white-cta[_ngcontent-%COMP%]:hover{color:#114284;border:1px solid #114284;background-color:#fff}.device-detector-box[_ngcontent-%COMP%] button.white-cta[_ngcontent-%COMP%]:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}.device-detector-box[_ngcontent-%COMP%] button.white-cta[_ngcontent-%COMP%]:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}.device-detector-box[_ngcontent-%COMP%] button.white-cta[_ngcontent-%COMP%]:disabled{border:1px solid #CCCCCC;background-color:#fff}.device-detector-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;letter-spacing:.24px}.device-detector-box[_ngcontent-%COMP%] a.find-more-link[_ngcontent-%COMP%]{line-height:20px;cursor:pointer;margin-top:6px;white-space:nowrap;margin-left:1px}.device-detector-box.top[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:29px}.device-detector-box.top[_ngcontent-%COMP%] a.find-more-link[_ngcontent-%COMP%]{margin-left:50px!important}.device-detector-box.bottom[_ngcontent-%COMP%]{margin-top:28px;margin-bottom:34px}.device-detector-box.bottom.withServiceDD[_ngcontent-%COMP%]{margin-top:0;margin-bottom:20px}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%]{margin-top:0;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] button#detect-now[_ngcontent-%COMP%]{border-radius:0;border:1px solid #000000;padding:12px 28px;height:100%;background:#fff;color:#000;max-width:100%;text-wrap:wrap;min-height:48px;outline:0;box-shadow:none}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] button#detect-now[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000;
1font-family:Forma DJR UI;font-style:normal;font-weight:400;font-size:16px}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] button#detect-now[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] button#detect-now[_ngcontent-%COMP%]:hover{background:#ebf9ff}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] button#detect-now[_ngcontent-%COMP%]:active{background:#caf3ff}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] #FindOutMore[_ngcontent-%COMP%]{padding:3px 18px 3px 13px!important;display:inline-block;color:#000;margin-top:9px;border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%] .device-detector-box[_ngcontent-%COMP%] #FindOutMore[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.device-detector-box.top[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0}}"]})}}return r})();var vn=a(31226),pi=a(34487),gi=a(1681);const ui=["content"],mi=["productNumberInputField"],_i=r=>({border:r});function hi(r,I){if(1&r){const t=e.RV6();e.j41(0,"a",21),e.bIt("click",function(){u.eBV(t);const o=e.XpG(2);return u.Njj(o.clearSearchField("PN"))}),e.k0s()}}function Ci(r,I){if(1&r){const t=e.RV6();e.j41(0,"div",5)(1,"div",14)(2,"p",15)(3,"span",16),e.EFF(4),e.k0s()(),e.j41(5,"div",17)(6,"label",18),e.EFF(7),e.k0s(),e.j41(8,"input",19,1),e.bIt("ngModelChange",function(o){u.eBV(t);const O=e.XpG();return O.productNumberModel.set(o),u.Njj(O.onChangeInput(o,"PN"))})("keydown.enter",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.addDevice())}),e.k0s(),e.nVh(10,hi,1,0,"a",20),e.k0s()()()}if(2&r){const t=e.XpG();e.Y8G("ngClass","rtl"===t.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(4),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"]),e.R7$(3),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"]),e.R7$(),e.Y8G("placeholder",e.mNQ(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]))("ngStyle",e.eq3(8,_i,"invalidPN"===t.errorMsg()?"1px solid #bf2026":""))("ngModel",t.productNumberModel()),e.R7$(2),e.vxM(t.productNumberModel()?10:-1)}}function fi(r,I){if(1&r&&(e.j41(0,"div",7)(1,"p"),e.EFF(2),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function Pi(r,I){if(1&r&&(e.j41(0,"div",8)(1,"p"),e.EFF(2),e.k0s(),e.j41(3,"p"),e.EFF(4),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]),e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function Mi(r,I){if(1&r&&(e.j41(0,"div",9)(1,"p"),e.EFF(2),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function vi(r,I){if(1&r&&(e.j41(0,"div",10)(1,"p"),e.EFF(2),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function bi(r,I){if(1&r){const t=e.RV6();e.j41(0,"app-error-modal",22),e.bIt("closeModal",function(){u.eBV(t);const o=e.XpG();return u.Njj(o.closeErrorModal())}),e.k0s()}}var gn=function(r){return r.SERIAL="SN",r.PRODUCT="PN",r}(gn||{}),ht=function(r){return r.INVALID_SN_INPUT="invalidSN",r.MULTIPLE_RECORDS="mulitpleRecords",r.INVALID_PN_INPUT="invalidPN",r.INVALID_SN_PN_INPUT="invalidSNPN",r}(ht||{});let Oi=(()=>{class r{constructor(t,c,o,O,ee,ce,Oe,$e,Ve,Te,rt,mt,un,mn,_n){this.pageService=t,this.deviceService=c,this.globalDataService=o,this.modalService=O,this.http=ee,this.commonService=ce,this.router=Oe,this.authService=$e,this.commonDevicesService=Ve,this.pfinderService=Te,this.route=rt,this.contactService=mt,this.appSelectorStore=un,this.searchResultsService=mn,this.store=_n,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.SNMaxLength=10,this.PNMaxLength=2,this.allTranslations=(0,s.geq)({}),this.screenReader=(0,s.hFB)(null),this.pageTemplateData=(0,s.hFB)(null),this.productFinderConfig=(0,s.hFB)({}),this.clcModalRef=(0,s.ebz)("content"),this.productNumberInputField=(0,s.ebz)("productNumberInputField"),this.isMobile=this.deviceService.isMobile(),this.isTablet=this.deviceService.isTablet(),this.buttonDisabled=(0,u.vPA)(!0),this.serialNumberModel=(0,u.vPA)(""),this.productNumberModel=(0,u.vPA)(""),this.errorMsg=(0,u.vPA)(""),this.resetOnTooltipClick=(0,u.vPA)(!1),this.destroySubject$=new h.B,this.destroyTBSubject$=new h.B,this.subscriptionServices=(0,u.vPA)(null),this.allProducts=(0,u.vPA)(null),this.Dashboard=(0,u.vPA)(null),this.selectedVersion=(0,u.vPA)(null),this.enteredSerialNumber=(0,u.vPA)(""),this.enteredProductNumber=(0,u.vPA)(""),this.showProductNumber=(0,u.vPA)(!1),this.contactRedirect=(0,s.hFB)(!1),this.sscKeys=(0,u.vPA)(null),this.polySearchExp=(0,u.vPA)(!1)}
1ngOnInit(){this.clearQueryOnTooltipSel(),this.getSSCKeys(),this.polySearchExp.set("YES"==this.sscKeys()?.ENABLE_POLY_SEARCH_EXP.toUpperCase())}getSSCKeys(){this.store.select(K.FM).pipe((0,p.$)(t=>!(0,j.A)(t))).subscribe(t=>{this.sscKeys.set(t)})}onChangeInput(t,c){const o=t.length;switch(c){case gn.SERIAL:let O;this.polySearchExp()&&(O=parseInt(this.sscKeys().PFINDER_SN_MIN_CHAR_LENGTH)??this.SNMaxLength),this.buttonDisabled.set(o<O);break;case gn.PRODUCT:this.enteredProductNumber.set(this.productNumberModel()),this.buttonDisabled.set(o<this.PNMaxLength);break;default:this.buttonDisabled.set(!0)}}retrieveServiceDetailsByUrl(t){let c=t.split(/\?|\//),o=c[8].split("="),O={modelOid:c[7],productSeriesOID:c[5],productSeriesName:c[4]};return"sku"===o[0]&&(O.sku=o[1]),O}addDevice(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.resetOnTooltipClick.set(!1),this.enteredSerialNumber()?this.isValid()&&this.registerDevice():this.commonService.productSubmitToContactForm.next(this.retrieveServiceDetailsByUrl(this.selectedVersion().redirectUrl))}isValid(){let t=/^[\s]*[a-zA-Z0-9#/-]{2,20}[\s]*$/;if(this.enteredSerialNumber()&&this.commonService.isSerialNumberPattern(this.enteredSerialNumber(),this.sscKeys())){if(this.enteredProductNumber()&&t.test(this.enteredProductNumber()))return!0;if(!this.enteredProductNumber())return!0;this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("PN")}else this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!0}),this.displayInvalidInputError("SN");return!1}displayInvalidInputError(t){"SN"===t?this.errorMsg.set(ht.INVALID_SN_INPUT):"PN"===t?this.errorMsg.set(ht.INVALID_PN_INPUT):"SNPN"===t&&this.errorMsg.set(ht.INVALID_SN_PN_INPUT),this.buttonDisabled.set(!0)}showErrorModal(){this.globalDataService.updateGDL({contact_error:`${this.pageConfig().templateName}_error`},!0),this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}clearSearchField(t){this.buttonDisabled.set(!0),setTimeout(()=>{"SN"===t?this.serialNumberModel.set(""):"PN"===t&&this.productNumberModel.set("")},0),this.productNumberInputField()?.nativeElement.focus()}registerDevice(){this.searchResultsService.checkSnPnConflict(this.enteredSerialNumber().trim(),"pdp",this.productNumberModel()?this.productNumberModel().trim():"",!0).then(t=>{if((0,j.A)(t))return;let c={cc:this.pageConfig().cc,lc:this.pageConfig().lc,serialNumber:this.enteredSerialNumber().trim(),productNumber:this.productNumberModel()?this.productNumberModel().trim():"",displayProductNumber:this.productNumberModel()?this.productNumberModel().trim():"",nickName:""};200===t?.data?.verifyResponse?.code&&t?.data?.verifyResponse?.data&&(c.serialNumber=t?.data?.verifyResponse?.data?.serialNumber,c.productNumber=t?.data?.verifyResponse?.data?.altProductNumber,c.displayProductNumber=t?.data?.verifyResponse?.data?.productNumber),this.http.post(f.tl.REGISTER,c).pipe((0,g.Q)(this.destroySubject$)).subscribe(o=>{let O=!1;switch(this.errorMsg.set(""),this.enteredProductNumber.set(""),o?.code){case f.t7.OK:this.commonService.productSubmitToContactForm.next({serialNumber:this.enteredSerialNumber(),...o?.data?.deviceDetails});case f.t7.NOT_ACCEPTABLE:o.message===f.Vj.MULTIPLE_DEVICES?(this.errorMsg.set(ht.MULTIPLE_RECORDS),this.buttonDisabled.set(!0),this.showProductNumber.set(!0)):o.message===f.Vj.INVALID_INPUT?(O=!0,this.displayInvalidInputError("SN")):o.message===f.Vj.DEVICE_ALREADY_REGISTERED?this.commonService.productSubmitToContactForm.next({serialNumber:this.enteredSerialNumber(),...o?.data?.deviceDetails}):o.message===f.Vj.PN_NOT_VALID&&this.displayInvalidInputError("PN");break;case f.t7.NO_CONTENT:o.message===f.Vj.NO_DEVICE_FOUND?this.displayInvalidInputError("SN"):o.message===f.Vj.PN_NOT_MATCHING?this.displayInvalidInputError("PN"):o.message===f.Vj.NO_SN_PN_FOUND&&this.displayInvalidInputError("SNPN"),O=!0;break;case f.t7.INTERNAL_SERVER_ERROR:case f.t7.INVALID_SESSION:this.showErrorModal()}this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:O})},o=>{this.showErrorModal()})},()=>{})}showDeviceExistsModal(t){const c=this.modalService.open(m,{windowClass:"customModalClass",size:"lg"});c.componentInstance.deviceName.set(t.deviceDetails.productName),c.result.then(o=>{"view device"===o&&(this.contactRedirect()?this.redirectContact(t):this.redirectToDeviceView(t))})}redirectToDashboard(){let t=`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard`;this.router.navigate([t])}redirectContact(t){t?.deviceDetails&&(t.deviceDetails.seoFriendlyName=t.deviceDetails.SEOFriendlyName,this.contactService.gotoContactOptions(t.deviceDetails,t.deviceId))}getSubscriptionData(t,c){let o=t.filter(O=>O.serialNumber===c.deviceDetails.serialNumber);this.subscriptionServices.set(o.length?o[0].subscriptionServices:""),this.setContextualParameters(o[0])}redirectToDeviceView(t){let c=this.globalDataService.getWindowGlobalData();c.hasOwnProperty("Dashboard")&&c.Dashboard.Products.length?(this.allProducts.set(c.Dashboard.Products),this.get
1SubscriptionData(this.allProducts(),t)):this.commonDevicesService.getAllDevices().subscribe(o=>{o?.data?(this.allProducts.set(o.data.deviceList),this.updateGDL(this.allProducts()),this.getSubscriptionData(this.allProducts(),t)):this.showErrorModal()},o=>{this.showErrorModal()})}updateGDL(t){let c;this.authService.userDataSub.pipe((0,g.Q)(this.destroySubject$)).subscribe(o=>{if(!(0,j.A)(o)){c=o;let O=this.commonDevicesService.populateGDLForDashboard(t);!0===c.smartFriend&&(O.SubscriptionServices="SmartFriend"),this.Dashboard.set(O),this.globalDataService.updateGDL({Dashboard:this.Dashboard(),customerState:this.pageConfig().customerState,SmartFriend:c.smartFriend}),this.globalDataService.updateGDL({Flag:{dashboardVisited:!0},customerState:this.pageConfig().customerState,SmartFriend:c.smartFriend},!0)}})}navigateToDeviceView(){this.route.queryParams.pipe((0,S.H)(t=>(this.appSelectorStore.fetchTranslations("dashboard"),this.appSelectorStore.getAllTranslations$()))).pipe((0,g.Q)(this.destroyTBSubject$)).subscribe(t=>{this.allTranslations.set({...this.allTranslations(),...t}),this.router.navigate([`${this.pageConfig().cc}-${this.pageConfig().lc}/dashboard/device`])})}setContextualParameters(t){t.contexualURLParameters={userType:this.pageConfig().customerState,deviceSubscription:this.subscriptionServices(),oid:t.productNameOID,sku:t?.altProductNumber||t.productNumber},t.deviceCount=this.allProducts()?this.allProducts().length:0,t.productType=t?.productType||"",t.seriesOid=t?.productSeriesOID||"",t.modelOid=t?.productNameOID||"",this.commonService.componentDataToPass=t,this.navigateToDeviceView()}clearQueryOnTooltipSel(){this.pfinderService.clearQuerySearchField().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>{t&&(this.productNumberModel.set(""),this.serialNumberModel.set(""),this.errorMsg.set(""),this.buttonDisabled.set(!0),this.resetOnTooltipClick.set(!0))})}onServiceSelect(t){this.commonService.resetSerialNumberEntryForm.next(),this.errorMsg.set("")}onVersionSelect(t){this.selectedVersion.set(t)}onSerialNumberChange(t){this.enteredSerialNumber.set(t),this.errorMsg.set(""),""!==t&&this.resetServiceSelection()}resetServiceSelection(){this.commonService.resetServiceSelection.next()}isValidSNLen(){if(this.polySearchExp()){let t=this.sscKeys().PFINDER_SN_MIN_CHAR_LENGTH;return this.enteredSerialNumber().length>=parseInt(t)}return this.enteredSerialNumber().length>=10}get submitDisabled(){return!(this.selectedVersion()&&this.selectedVersion().redirectUrl||this.showProductNumber()&&this.enteredProductNumber()||!this.showProductNumber()&&this.enteredSerialNumber()&&this.isValidSNLen())}ngOnDestroy(){this.destroySubject$.next(),this.destroyTBSubject$.next(),this.errorMsg.set(""),this.pfinderService.errorContent.next({id:this.productFinderConfig()?.pageName??"",value:!1}),this.modalService.dismissAll()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(me.Kg),e.rXU(R.a),e.rXU(ue.Bq),e.rXU(U.k),e.rXU(re.h),e.rXU(X.Ix),e.rXU(Q.u),e.rXU(q.N),e.rXU(J.h),e.rXU(X.nX),e.rXU(oe.u),e.rXU(n.q),e.rXU(de.Q),e.rXU(E.il))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-service-add-box"]],viewQuery:function(c,o){1&c&&(e.wEZ(o.clcModalRef,ui,5),e.wEZ(o.productNumberInputField,mi,5)),2&c&&e.NyB(2)},inputs:{allTranslations:[1,"allTranslations"],screenReader:[1,"screenReader"],pageTemplateData:[1,"pageTemplateData"],productFinderConfig:[1,"productFinderConfig"],contactRedirect:[1,"contactRedirect"]},outputs:{allTranslations:"allTranslationsChange"},decls:17,vars:18,consts:[["content",""],["productNumberInputField",""],[1,"device-service-add-container"],[1,"master-pfinder","master-pfinder-add-device",3,"ngClass"],["serialNumberTitle","#pps_WCC_FS_Product_finder_label1","productNumberTitle","#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text",3,"serialNumberEmitter","enterPressedEmitter","hideAllSubmit","boldTitle","allTranslations","wrapperClass","pageName"],[1,"master-pfinder","product-finder","product-number-holder",3,"ngClass"],[1,"error-msg"],["aria-live","assertive","role","alert","id","product-number-error",1,"error-invalid-pn"],["aria-live","assertive","role","alert","id","multiple-serial-number-error",1,"error-need-pn"],["aria-live","assertive","role","alert","id","serial-number-error",1,"error-invalid-sn"],["aria-live","assertive","role","alert","id","serial-product-number-error",1,"error-invalid-sn"],[1,"choose-service-section"],[3,"serviceSelected","versionSelected","hideSubmit","wrapperClass","serviceDropdownHeading","ver
1sionDropdownHeading"],["type","submit","id","FindMyProduct",1,"btn","primary-button","inlineBtn",3,"click","disabled"],[1,"search-box","product-number-search"],[1,"search-label"],["aria-hidden","true"],[1,"search-input"],["id","product-field-help",1,"sr-only"],["type","text","selectInputText","","aria-describedby","product-number-error","aria-labelledby","product-field-help","maxlength","20",1,"form-control","add-device-input",3,"ngModelChange","keydown.enter","ngStyle","ngModel","placeholder"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon"],["aria-label","Clear search text","href","javascript:void(0)",1,"close-icon",3,"click"],[3,"closeModal"]],template:function(c,o){if(1&c){const O=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"app-serial-number-entry",4),e.bIt("serialNumberEmitter",function(ce){return u.eBV(O),u.Njj(o.onSerialNumberChange(ce))})("enterPressedEmitter",function(){return u.eBV(O),u.Njj(o.addDevice())}),e.k0s(),e.nVh(3,Ci,11,10,"div",5),e.j41(4,"div",6),e.nVh(5,fi,3,1,"div",7),e.k0s(),e.j41(6,"div",6),e.nVh(7,Pi,5,2,"div",8),e.nVh(8,Mi,3,1,"div",9),e.nVh(9,vi,3,1,"div",10),e.k0s(),e.j41(10,"div",11),e.EFF(11),e.j41(12,"app-choose-service",12),e.bIt("serviceSelected",function(ce){return u.eBV(O),u.Njj(o.onServiceSelect(ce))})("versionSelected",function(ce){return u.eBV(O),u.Njj(o.onVersionSelect(ce))}),e.k0s()(),e.j41(13,"button",13),e.bIt("click",function(){return u.eBV(O),u.Njj(o.addDevice())}),e.EFF(14),e.k0s()()(),e.DNE(15,bi,1,0,"ng-template",null,0,e.C5r)}if(2&c){let O,ee;e.R7$(),e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("hideAllSubmit",!0)("boldTitle",!0)("allTranslations",o.allTranslations())("wrapperClass","deviceServiceStyle")("pageName",o.pageConfig().pageName),e.R7$(),e.vxM("mulitpleRecords"!==o.errorMsg()&&"invalidPN"!==o.errorMsg()||o.resetOnTooltipClick()?-1:3),e.R7$(2),e.vxM(o.resetOnTooltipClick()||"invalidPN"!==o.errorMsg()?-1:5),e.R7$(2),e.vxM(o.resetOnTooltipClick()||"mulitpleRecords"!==o.errorMsg()?-1:7),e.R7$(),e.vxM(o.resetOnTooltipClick()||"invalidSN"!==o.errorMsg()?-1:8),e.R7$(),e.vxM(o.resetOnTooltipClick()||"invalidSNPN"!==o.errorMsg()?-1:9),e.R7$(2),e.SpI(" ",o.pageTemplateData()," "),e.R7$(),e.Y8G("hideSubmit",!0)("wrapperClass","blockView")("serviceDropdownHeading",null==(O=o.pageTemplateData())?null:O.sectionHeader1)("versionDropdownHeading",null==(ee=o.pageTemplateData())?null:ee.sectionHeader2),e.R7$(),e.Y8G("disabled",o.submitDisabled),e.R7$(),e.SpI(" ",o.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}},dependencies:[W.YU,vn.F,_.YN,_.me,_.BC,_.tU,_.vS,y.R,W.B3,gi.y,D.L],styles:[".pfinder-error-box[_ngcontent-%COMP%]{max-width:386px;width:68%}.pfinder-error-box[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{color:#bf2026;font-size:14px;font-family:HPSimplifiedRegular}h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;padding-bottom:5px}.master-pfinder[_ngcontent-%COMP%]{display:flex;flex:1}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%] p.search-label[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;font-weight:400!important}.master-pfinder[_ngcontent-%COMP%] p.error-text[_ngcontent-%COMP%]{margin-bottom:0;color:#bf2026}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:68%;max-width:403px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:386px;width:91%;position:relative}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-productnumber[_ngcontent-%COMP%]{width:100%;height:40px;font-size:16px;padding:0 36px 0 15px;display:inline}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#searchQueryField[_ngcontent-%COMP%]:invalid, .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]:invalid{border:1px solid #767676}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input#productNumberField[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .pn-needed-error-text[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:19px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:#ccc}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:96%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{align-self:flex-end;margin-left:13px}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:406px;width:96%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:13px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%]{padding:0 15px 0 30px}.master-pfinder.rtl-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{left:15px;right:unset}@media only screen and (max-width:800px){h3[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:1.44;color:#000;margin-top:19px;margin-bottom:16px}p.pfinder-search-label[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.pfinder-error-box[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%]{margin-bottom:17px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:19px;margin-bottom:16px}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] label.field-help[_ngcontent-%COMP%]{font-size:16px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%;max-width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.pfinder-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%], .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.form-control[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{height:33px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:0;word-break:break-all;padding:5px 13px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;width:38px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px}.master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span.lg-only[_ngcontent-%COMP%]{display:none}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder.printerSetupLanding-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{margin-left:0}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.device-add-container[_ngcontent-%COMP%] .master-pfinder[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:0}}.add-device-box[_ngcontent-%COMP%]{display:flex}.add-device-box[_ngcontent-%COMP%] .add-device-input[_ngcontent-%COMP%]{width:68%;max-width:403px}.add-device-box[_ngcontent-%COMP%] .add-device-input[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:7px}.choose-service-section[_ngcontent-%COMP%]{display:inline-block;width:-webkit-fill-available;max-width:400px}.master-pfinder[_ngcontent-%COMP%]{display:block}.master-pfinder[_ngcontent-%COMP%] .inlineBtn[_ngcontent-%COMP%]{display:inline;margin:20px 0 20px 30px;position:relative;top:-2px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]{right:2px;top:6px}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]:hover, .master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.master-pfinder.product-finder[_ngcontent-%COMP%]{margin-top:20px}.services-selection-wrapper[_ngcontent-%COMP%]{display:block!important}.services-selection-wrapper[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{width:385px!important}.error-msg[_ngcontent-%COMP%] .error-invalid-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-need-pn[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-invalid-sn[_ngcontent-%COMP%]{padding-top:7px}.error-msg[_ngcontent-%COMP%] .error-invalid-pn[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-need-pn[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error-msg[_ngcontent-%COMP%] .error-invalid-sn[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:HPSimplified;color:#bf2026;line-height:20px;letter-spacing:.21px;margin-bottom:0;font-size:14px}.product-number-holder[_ngcontent-%COMP%]{display:flex}.product-number-search[_ngcontent-%COMP%]{margin-right:30px}@media(min-width:801px)and (max-width:1199px){.master-pfinder[_ngcontent-%COMP%] .inlineBtn[_ngcontent-%COMP%]{margin:20px 0}}@media only screen and (max-width:800px){.device-add-container[_ngcontent-%COMP%]{margin-bottom:10px}.master-pfinder[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:0}.master-pfinder[_ngcontent-%COMP%] .inlineBtn[_ngcontent-%COMP%]{margin:20px 0;top:0}.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{max-width:403px!important}.master-pfinder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}}.rtl.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input.add-device-input[_ngcontent-%COMP%]{padding-right:10px;padding-left:35px}.rtl.master-pfinder[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] a.close-icon[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;right:auto}"]})}}return r})();const xi=(r,I)=>({"align-self-center icon-dwn":r,"align-self-center icon-up":I});function Si(r,I){1&r&&e.nrm(0,"img",2)}function wi(r,I){1&r&&e.nrm(0,"img",3)}let bn=(()=>
1{class r{constructor(t){this.pageService=t,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.expanded=(0,s.geq)(!1),this.label=(0,s.hFB)(""),this.wrapperClass=(0,s.hFB)(""),this.toggleId=(0,s.hFB)(""),this.toggle=(0,s.CGW)()}ngOnInit(){}updateToggle(){this.expanded.set(!this.expanded()),this.toggle.emit(this.expanded())}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-toggle"]],inputs:{expanded:[1,"expanded"],label:[1,"label"],wrapperClass:[1,"wrapperClass"],toggleId:[1,"toggleId"]},outputs:{expanded:"expandedChange",toggle:"toggle"},decls:10,vars:13,consts:[[3,"ngClass"],["href","javascript:void(0)",1,"view-all",3,"click","ngClass","id"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/plus.png","alt","Plus icon",1,"icon","align-self-center"],["src","/wcc-assets/content/dam/hp-wcc/fe-assets/images/x.png","alt","cross icon",1,"icon","align-self-center"],[1,"expand-text"],["href","javascript:void(0)",1,"view-all","light-theme-view-all",3,"click","ngClass","id"]],template:function(c,o){1&c&&(e.j41(0,"div",0)(1,"a",1),e.bIt("click",function(){return o.updateToggle()}),e.nVh(2,Si,1,0,"img",2),e.nVh(3,wi,1,0,"img",3),e.j41(4,"span",4),e.EFF(5),e.k0s()(),e.j41(6,"a",5),e.bIt("click",function(){return o.updateToggle()}),e.j41(7,"span",4),e.EFF(8),e.k0s(),e.nrm(9,"span",0),e.k0s()()),2&c&&(e.Y8G("ngClass",o.wrapperClass()),e.R7$(),e.Y8G("ngClass",o.pageConfig().languageDirection)("id",o.toggleId()),e.R7$(),e.vxM(o.expanded()?-1:2),e.R7$(),e.vxM(o.expanded()?3:-1),e.R7$(2),e.JRh(o.label()),e.R7$(),e.Y8G("ngClass",o.pageConfig().languageDirection)("id","light-theme-"+o.toggleId()),e.R7$(2),e.JRh(o.label()),e.R7$(),e.Y8G("ngClass",e.l_i(10,xi,!o.expanded(),o.expanded())))},dependencies:[W.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.view-all[_ngcontent-%COMP%] .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;margin:0 10px}.view-all[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:28px;width:28px}.light-theme-view-all[_ngcontent-%COMP%]{display:none}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.view-all[_ngcontent-%COMP%]{margin:20px 10px 12px}}"]})}}return r})();const On=r=>({hideLink:r}),Di=r=>({linkHidden:r});function yi(r,I){if(1&r&&e.nrm(0,"div",2),2&r){let t;const c=e.XpG();e.Y8G("ngClass",e.eq3(1,On,(null==(t=c.productFinderConfig())?null:t.isLightTheme)&&c.hideToggleLink()))}}function Ti(r,I){if(1&r&&(e.j41(0,"h3",4),e.EFF(1),e.k0s()),2&r){let t;const c=e.XpG(2);e.Y8G("ngClass",e.eq3(2,Di,(null==(t=c.productFinderConfig())?null:t.isLightTheme)&&c.hideToggleLink())),e.R7$(),e.SpI(" ",c.allTranslations()[c.productFinderConfig().addDevice.header]," ")}}function Ni(r,I){if(1&r&&e.nVh(0,Ti,2,4,"h3",4),2&r){let t;const c=e.XpG();e.vxM(null!=(t=c.productFinderConfig())&&t.isLightTheme&&null!=(t=c.productFinderConfig())&&null!=t.addDevice&&t.addDevice.header?0:-1)}}function Ei(r,I){if(1&r&&e.nrm(0,"app-device-add-box",6),2&r){let t,c;const o=e.XpG(2);e.Y8G("allTranslations",o.allTranslations())("contactRedirect",!0)("swdRedirect","swdMiniDashboard"===(null==(t=o.productFinderConfig())?null:t.pageName))("screenReader",o.isDMDEnable()?o.allTranslations()[o.pfinderText().screenReader]:o.allTranslations()[o.pfinderText().noDMDscreenReader])("isLightTheme",null==(c=o.productFinderConfig())?null:c.isLightTheme)("productFinderConfig",o.productFinderConfig())}}function Ii(r,I){if(1&r&&e.nrm(0,"app-device-service-add-box",7),2&r){const t=e.XpG(2);e.Y8G("allTranslations",t.allTranslations())("contactRedirect",!0)("screenReader",t.isDMDEnable()?t.allTranslations()[t.pfinderText().screenReader]:t.allTranslations()[t.pfinderText().noDMDscreenReader])("pageTemplateData",t.pageTemplateData())("productFinderConfig",t.productFinderConfig())}}function Ri(r,I){if(1&r&&(e.j41(0,"div",10),e.nrm(1,"app-device-detector",11),e.k0s()),2&r){let t,c;const o=e.XpG(3);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=o.productFinderConfig())?null:t.deviceDetector)("allTranslations",o.allTranslations())("pageName",null==(c=o.productFinderConfig())?null:c.pageName)("findOutMoreLink",o.findOutMoreLink())("withServiceDD",o.productFinderConfig().serialNumWithServiceSelectionDD.display)}}function Fi(r,I){if(1&r&&(e.j41(0,"div"),e.nVh(1,Ri,2,5,"div",10),e.k0s()),2&r){let t;const c=e.XpG(2);e.R7$(),e.vxM(null!=(t=c.productFinderConfig())&&t.deviceDetector&&null!=(t=c.productFinderConfig())&&null!=t.deviceDetector&&t.deviceDetector.display?1:-1)}}function ki(r,I){if(1&r&&(e.j41(0,"div",8)(1,"a",12)(2,"span",13),e.EFF(3),e.k0s()()()),2&r){let t,c;const o=e.XpG(2);e.R7$(),e.Y8G("routerLink",e.VkB("/",o.pageConfig().locale,"/contact/help/services"))("title",o.allTranslations()[null==(t=o.productFinderConfig())||null==t.servicesLink?null:t.servicesLink.screenReader]),e.R7$(2),e.JRh(o.allTranslations()[null==(c=o.productFinderConfig())||null==c.servicesLink?null:c.servicesLink.placeHolder])}}function Li(r,I){if(1&r){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",14),e.bIt("iconClickEvent",function(o){u.eBV(t);const O=e.XpG(3);return u.Njj(O.productIconClick(o))}),e.k0s()()}if(2&r){const t=e.XpG(),c=e.XpG(2);e.R7$(),e.Y8G("productData",t)("allTranslations",c.allTranslations())("productSelectionCompConfig",c.productSelectionCompConfig())}}function Bi(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",15),e.k0s()),2&r){const t=e.XpG(),c=e.XpG(2);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",c.productSelectionCompConfig())}}function Ai(r,I){if(1&r&&(e.j41(0,"div",9),e.nVh(1,Li,2,3,"div"),e.nVh(2,Bi,2,3,"div"),e.k0s()),2&r){const t=I;
1e.R7$(),e.vxM(t&&t.length>1?1:-1),e.R7$(),e.vxM(t&&1===t.length?2:-1)}}function ji(r,I){if(1&r&&(e.j41(0,"div",3)(1,"div",5),e.nVh(2,Ei,1,6,"app-device-add-box",6),e.nVh(3,Ii,1,5,"app-device-service-add-box",7),e.nVh(4,Fi,2,1,"div"),e.nVh(5,ki,4,4,"div",8),e.k0s(),e.nVh(6,Ai,3,2,"div",9),e.nI1(7,"async"),e.k0s()),2&r){let t,c;const o=e.XpG();e.R7$(2),e.vxM(o.productFinderConfig().serialNumWithServiceSelectionDD.display?-1:2),e.R7$(),e.vxM(o.productFinderConfig().serialNumWithServiceSelectionDD.display?3:-1),e.R7$(),e.vxM(o.showDMD()?4:-1),e.R7$(),e.vxM(null!=(t=o.productFinderConfig())&&null!=t.servicesLink&&t.servicesLink.display?5:-1),e.R7$(),e.vxM((c=e.bMT(7,5,o.productData$()))?6:-1,c)}}let $i=(()=>{class r{constructor(t,c,o,O){this.pageService=t,this.productFinderService=c,this.appSelectorStore=o,this.destroyRef=O,this.pFinderExpanded=(0,u.vPA)(!1),this.hideToggleLink=(0,u.vPA)(!1),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.toggleHeaderText=(0,u.vPA)(null),this.productFinderConfig=(0,s.hFB)(null),this.deviceSelected=(0,s.hFB)(null),this.isDMDEnable=(0,s.hFB)(!1),this.pfinderText=(0,s.hFB)({}),this.allTranslations=(0,s.geq)({}),this.productSelectionCompConfig=(0,s.hFB)(null),this.findOutMoreLink=(0,s.hFB)(""),this.showDMD=(0,s.hFB)(!1),this.productData$=(0,s.hFB)(null),this.pageTemplateData=(0,s.hFB)(null),this.productIconClickEvent=(0,s.CGW)(),this.togglePfinderEvent=(0,s.CGW)()}ngOnInit(){this.appSelectorStore.getAllTranslations$().subscribe(t=>{this.allTranslations.set(t);const c=this.productFinderConfig();this.toggleHeaderText.set(c.addDevice.toggleHeader?this.allTranslations()[c.addDevice.toggleHeader]:this.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Add_New_Product_Text"])}),this.productFinderService.getNoCarouselDevice().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{this.pFinderExpanded.set(t),this.hideToggleLink.set(t),this.togglePfinderEvent.emit(this.pFinderExpanded())})}togglePfinder(){this.pFinderExpanded.set(!this.pFinderExpanded()),this.togglePfinderEvent.emit(this.pFinderExpanded())}productIconClick(t){this.productIconClickEvent.emit(t)}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(J.h),e.rXU(n.q),e.rXU(u.abz))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-add-toggle"]],inputs:{productFinderConfig:[1,"productFinderConfig"],deviceSelected:[1,"deviceSelected"],isDMDEnable:[1,"isDMDEnable"],pfinderText:[1,"pfinderText"],allTranslations:[1,"allTranslations"],productSelectionCompConfig:[1,"productSelectionCompConfig"],findOutMoreLink:[1,"findOutMoreLink"],showDMD:[1,"showDMD"],productData$:[1,"productData$"],pageTemplateData:[1,"pageTemplateData"]},outputs:{allTranslations:"allTranslationsChange",productIconClickEvent:"productIconClickEvent",togglePfinderEvent:"togglePfinderEvent"},decls:5,vars:10,consts:[[1,"device-toggle-wrapper",3,"ngClass"],["toggleId","addproduct",3,"toggle","ngClass","label","expanded","wrapperClass"],[1,"device-toggle-line-separator",3,"ngClass"],[1,"device-add"],[1,"light-theme-formText",3,"ngClass"],[1,"device-add-section"],[3,"allTranslations","contactRedirect","swdRedirect","screenReader","isLightTheme","productFinderConfig"],[3,"allTranslations","contactRedirect","screenReader","pageTemplateData","productFinderConfig"],[1,"services-link"],[1,"help-section-container"],[1,"detect-device-signedin-section"],[3,"DMDlayoutConfig","allTranslations","pageName","findOutMoreLink","withServiceDD"],[3,"routerLink","title"],["aria-hidden","true"],[3,"iconClickEvent","productData","allTranslations","productSelectionCompConfig"],[3,"selectedProduct","productData","productSelectionCompConfig"]],template:function(c,o){if(1&c&&(e.j41(0,"div",0)(1,"app-toggle",1),e.bIt("toggle",function(){return o.togglePfinder()}),e.k0s(),e.nVh(2,yi,1,3,"div",2),e.nVh(3,Ni,1,1),e.nVh(4,ji,8,7,"div",3),e.k0s()),2&c){let O;e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("ngClass",e.eq3(8,On,(null==(O=o.productFinderConfig())?null:O.isLightTheme)&&o.hideToggleLink()))("label",o.toggleHeaderText())("expanded",o.pFinderExpanded())("wrapperClass","mt-2"),e.R7$(),e.vxM(o.pFinderExpanded()?2:-1),e.R7$(),e.vxM(o.pFinderExpanded()?3:-1),e.R7$(),e.vxM(o.pFinderExpanded()?4:-1)}},dependencies:[W.YU,bn,P,Oi,Mn,pi.Wk,Pn,pn,W.Jj],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.device-toggle-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.device-toggle-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%] .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;color:#165dba;margin:0 10px}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%]{margin:35px 15px 0;display:flex;flex-direction:row}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .device-add-section[_ngcontent-%COMP%]{max-width:595px;width:50%;padding-right:10px}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:50%;border-left:1px solid #ccc;padding-left:31px}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .services-link[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;margin-top:30px}.rtl.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-right:1px solid #ccc;border-left:none;padding-right:31px;padding-left:0;text-align:right}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.device-toggle-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%]{margin:0 10px}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%]{margin:5px 10px;display:block}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .device-add-section[_ngcontent-%COMP%]{max-width:305px;width:100%}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.device-toggle-wrapper[_ngcontent-%COMP%] .device-add[_ngcontent-%COMP%] .services-link[_ngcontent-%COMP%]{margin-top:20px}}"]})}}return r})();var Ui=a(85237),Vi=a(16801),Gi=a(87542),Wi=a(38056),Hi=a(9303);function Xi(r,I){if(1&r){const t=e.RV6();e.j41(0,"app-toggle",9),e.bIt("toggle",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.viewAllDevices(o))}),e.k0s()}if(2&r){const t=e.XpG();e.Y8G("wrapperClass","d-none d-md-flex mb-3")("label",t.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_View_All_Link_Text"])("expanded",t.carouselExpanded())}}function zi(r,I){if(1&r&&(e.j41(0,"div",4)(1,"span"),e.EFF(2),e.k0s()()),2&r){const t=e.XpG();e.R7$(2),e.JRh(t.allTranslations()["#pps_WCC_FS_UCE_Standard_Carousel_No_Product_Header_Text"])}}function Yi(r,I){if(1&r&&(e.j41(0,"div",10),e.nrm(1,"app-device-card",11),e.k0s()),2&r){const t=I.$implicit,c=I.$index,o=e.XpG(2);e.Y8G("id",e.VkB("Minidashboard-Prod",c+1)),e.R7$(),e.Y8G("card",t)("allTranslations",o.allTranslations())}}function Ki(r,I){if(1&r&&(e.j41(0,"div",5),e.Z7z(1,Yi,2,4,"div",10,e.fX1),e.k0s()),2&r){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Dyx(t.allDeviceData())}}function Qi(r,I){if(1&r&&(e.j41(0,"div",13),e.nrm(1,"app-device-card",11),e.k0s()),2&r){const t=I.$implicit,c=I.$index,o=e.XpG(2);e.Y8G("id",e.VkB("Minidashboard-Prod",c+1)),e.BMQ("data-carousel-slide-index",c),e.R7$(),e.Y8G("card",t)("allTranslations",o.allTranslations())}}function Ji(r,I){if(1&r){const t=e.RV6();e.j41(0,"div",6)(1,"app-slider",12),e.bIt("onSlideChange",function(o){u.eBV(t);const O=e.XpG();return u.Njj(O.onSlideChange(o))}),e.Z7z(2,Qi,2,5,"div",13,e.fX1),e.nI1(4,"slice"),e.k0s()()}if(2&r){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Y8G("config",t.config())("horizontalNav",!0)("pagination",!1),e.R7$(),e.Dyx(e.brH(4,5,t.allDeviceData(),0,21))}}function Zi(r,I){if(1&r&&(e.j41(0,"div",15),e.nrm(1,"app-device-card",11),e.k0s()),2&r){const t=I.$implicit,c=e.XpG(2);e.R7$(),e.Y8G("card",t)("allTranslations",c.allTranslations())}}function qi(r,I){if(1&r&&(e.j41(0,"div",7)(1,"div",14),e.Z7z(2,Zi,2,2,"div",15,e.fX1),e.k0s()()),2&r){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(2),e.Dyx(t.allDeviceData())}}function eo(r,I){if(1&r&&(e.j41(0,"div",17),e.nrm(1,"app-device-card",11),e.k0s()),2&r){const t=I.$implicit,c=e.XpG(2);e.R7$(),e.Y8G("card",t)("allTranslations",c.allTranslations())}}function to(r,I){if(1&r){const t=e.RV6();e.j41(0,"app-toggle",19),e.bIt("toggle",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.viewAllDevices(o))}),e.k0s()}if(2&r){const t=e.XpG(2);e.Y8G("label",t.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_View_All_Link_Text"])("expanded",t.carouselExpanded())}}function no(r,I){if(1&r&&(e.j41(0,"div",8)(1,"swiper-container",16,0),e.Z7z(3,eo,2,2,"div",17,e.fX1),e.nI1(5,"slice"),e.k0s(),e.nVh(6,to,1,2,"app-toggle",18),e.k0s()),2&r){const t=e.XpG();e.Y8G("matchHeight","card-info")("resizeOnMobile",!0),e.R7$(),e.Y8G("config",t.mobileConfig()),e.R7$(2),e.Dyx(e.brH(5,4,t.allDeviceData(),0,21)),e.R7$(3),e.vxM(t.deviceCount()>21?6:-1)}}let io=(()=>
1{class r{constructor(t,c,o,O,ee,ce,Oe){this.pageService=t,this.router=c,this.productFinderService=o,this.commonService=O,this.appSelectorStore=ee,this.renderer=ce,this.windowRef=Oe,this.carouselExpanded=(0,u.vPA)(!1),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,u.vPA)({}),this.isMobile=(0,s.hFB)(!1),this.productFinderConfig=(0,s.hFB)(null),this.allDeviceData=(0,u.vPA)([]),this.config=(0,u.vPA)({direction:"horizontal",slidesPerView:3,loop:!0,slidesPerGroup:3,loopAddBlankSlides:!0}),this.mobileConfig=(0,u.vPA)({direction:"vertical",slidesPerView:3,loop:!1,pagination:!1,slidesPerGroup:3,scrollbar:!0,mousewheel:!0,autoHeight:!0}),this.destroySubject$=new h.B,this.formattedUTCOffset=(0,u.vPA)(null),this.deviceCount=(0,u.vPA)(0),this.window=(0,u.vPA)(this.windowRef.nativeWindow),this.window.set(this.windowRef.nativeWindow)}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,g.Q)(this.destroySubject$)).subscribe(t=>this.allTranslations.set(t)),this.fetchDeviceData()}ngAfterViewInit(){this.setTabIndex(0)}fetchDeviceData(){const t={params:{}};("contact"===this.pageConfig().pageName||"swdLanding"===this.pageConfig().pageName)&&(t.params.limit=this.pageConfig().isMobile?"21":"48"),this.commonService.getDevicesData(t).pipe((0,g.Q)(this.destroySubject$)).subscribe(c=>{if(c?.data?.deviceList){const o=this.commonService.dataSorting((0,Ui.A)(c.data.deviceList),"dateAdded",!1,!0);o?.map(O=>(O.icons=c?.data?.icons,O)),this.allDeviceData.set(o),this.deviceCount.set(c.data.deviceCount),this.setTabIndex(0),this.deviceCount()?this.emitZeroDevicesEvent(!1):this.emitZeroDevicesEvent(!0)}else"Anonymous"===this.pageConfig().customerState&&this.clearDeviceData()})}clearDeviceData(){this.allDeviceData.set([]),this.deviceCount.set(0),this.emitZeroDevicesEvent(!0)}emitZeroDevicesEvent(t){this.productFinderService.carouselNoDevices.next(t)}viewAllDevices(t){this.isMobile()&&this.deviceCount()>21||this.deviceCount()>48?typeof this.window()<"u"&&"swdLanding"===this.pageConfig().pageName?this.window().open(`/${this.commonService.getDefaultCCLC()}/dashboard`,"_blank"):this.router.navigate([`/${this.commonService.getDefaultCCLC()}/dashboard`]):(this.carouselExpanded.set(t),this.carouselExpanded()?this.scrollTop():this.setTabIndex(0))}onSlideChange(t){this.setTabIndex(t)}scrollTop(){setTimeout(()=>{const t=document?.querySelector(".swiper-container-multirow-default");t&&(t.scrollTop=0)},100)}setTabIndex(t){setTimeout(()=>{const c=document?.querySelectorAll("[data-carousel-slide-index]");c?.length&&c.forEach(o=>{let O=+o?.dataset?.carouselSlideIndex;O!==t&&O!==t+1&&O!==t+2||o?.classList?.contains("swiper-slide-duplicate")?this.renderer.setAttribute(o?.querySelector("a"),"tabindex","-1"):this.renderer.setAttribute(o?.querySelector("a"),"tabindex","0")})},100)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(X.Ix),e.rXU(J.h),e.rXU(re.h),e.rXU(n.q),e.rXU(e.sFG),e.rXU(Hi.$))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-device-carousel"]],inputs:{isMobile:[1,"isMobile"],productFinderConfig:[1,"productFinderConfig"]},decls:8,vars:7,consts:[["swiperWrapper",""],[1,"carousel-wrapper",3,"ngClass"],["toggleId","Allproducts",3,"wrapperClass","label","expanded"],[1,"carousel-container"],[1,"no-device-text"],[1,"default-device-container","no-swiper-list",3,"matchHeight","resizeOnMobile"],[1,"desktop-collapsed","d-none","d-md-block",3,"matchHeight","resizeOnMobile"],["appCarouselHeight","","rows","2","containerClass",".swiper-container-multirow-default","cardClass",".card-wrapper",1,"d-none","d-md-block","desktop-expanded",3,"matchHeight","resizeOnMobile"],["appCarouselHeight","","rows","3","containerClass",".swiper-container-class","cardClass",".card-wrapper",1,"mobile-view",".d-block","d-md-none",3,"matchHeight","resizeOnMobile"],["toggleId","Allproducts",3,"toggle","wrapperClass","label","expanded"],[1,"swiper-slide-3",3,"id"],[3,"card","allTranslations"],["name","solution-video-section","wrapperCss","pfinder-section-slider","horizontalNavArrowsPosition","outside","horizontalArrowSize","8","horizontalArrowType","carousel-arrow",3,"onSlideChange","config","horizontalNav","pagination"],[1,"swiper-slide",3,"id"],[1,"swiper-container-multirow-default"],[1,"swiper-slide-3"],["slides-per-view","3","navigation","false","direction","vertical","scrollbar","true","autoHeight","true","slides-per-group","3","loopAddBlankSlides","true",1,"swiper-container-class",3,"config"],[1,"swiper-slide"],["toggleId","Allproducts",3,"label","expanded"],["toggleId","Allproducts",3,"toggle","label","expanded"]],template:function(c,o){if(1&c&&(e.j41(0,"div",1),e.nVh(1,Xi,1,3,"app-toggle",2),e.j41(2,"div",3),e.nVh(3,zi,3,1,"div",4),e.nV
1h(4,Ki,3,2,"div",5),e.nVh(5,Ji,5,9,"div",6),e.nVh(6,qi,4,2,"div",7),e.nVh(7,no,7,8,"div",8),e.k0s()()),2&c){let O,ee,ce,Oe,$e,Ve;e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.vxM((null==(O=o.allDeviceData())?null:O.length)>3?1:-1),e.R7$(2),e.vxM(null!=(ee=o.allDeviceData())&&ee.length?-1:3),e.R7$(),e.vxM((null==(ce=o.allDeviceData())?null:ce.length)<=3?4:-1),e.R7$(),e.vxM(!o.carouselExpanded()&&(null==(Oe=o.allDeviceData())?null:Oe.length)>3?5:-1),e.R7$(),e.vxM(o.carouselExpanded()&&(null==($e=o.allDeviceData())?null:$e.length)>3?6:-1),e.R7$(),e.vxM((null==(Ve=o.allDeviceData())?null:Ve.length)>3?7:-1)}},dependencies:[W.YU,bn,Wi.u,Gi.o,Re.d,Vi.x,W.P9],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.carousel-wrapper[_ngcontent-%COMP%]{text-align:center}.carousel-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%]{display:flex;margin:0 15px;align-items:center;width:max-content}.carousel-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%] .expand-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:1.5;color:#165dba;margin:0 10px}.carousel-wrapper[_ngcontent-%COMP%] .no-device-text[_ngcontent-%COMP%]{font-size:24px;font-weight:300;margin:0 0 30px 15px;line-height:normal;text-align:start}.rtl[_ngcontent-%COMP%] .carousel-wrapper[_ngcontent-%COMP%] .swiper-container-expanded[_ngcontent-%COMP%] .swiper-container[_ngcontent-%COMP%] .swiper-scrollbar[_ngcontent-%COMP%]{right:0!important;left:0!important}.swiper-container-multirow-default[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;overflow-y:auto;background:transparent;scroll-snap-type:y mandatory}.mobile-view[_ngcontent-%COMP%]{text-align:center}.swiper-slide-3[_ngcontent-%COMP%]{width:33.3333333333%!important;scroll-snap-align:end;scroll-snap-stop:always}.default-device-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.swiper-slide-3[_ngcontent-%COMP%]{width:100%!important}.default-device-container[_ngcontent-%COMP%]{flex-direction:column}.carousel-wrapper[_ngcontent-%COMP%] .view-all[_ngcontent-%COMP%]{margin:20px 10px 12px}}@media only screen and (min-width:768px)and (max-width:991px){.carousel-wrapper[_ngcontent-%COMP%]{width:100%;position:unset;margin:unset}}"]})}}return r})();const oo=(r,I)=>({"is-vis-id":r,rtl:I}),ao=r=>({noPadding:r}),ro=(r,I,t)=>({"rtl-setup-guide":r,"ltr-setup-guide":I,pt0:t});function so(r,I){if(1&r){const t=e.RV6();e.j41(0,"div",8),e.nrm(1,"app-device-carousel",9),e.j41(2,"app-device-add-toggle",10),e.bIt("productIconClickEvent",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.productIconEvent(o))})("togglePfinderEvent",function(o){u.eBV(t);const O=e.XpG(2);return u.Njj(O.onAddToggle(o))}),e.k0s()()}if(2&r){let t,c;const o=e.XpG(2);e.Y8G("ngClass",e.eq3(11,ao,null==(t=o.productFinderConfig())?null:t.isLightTheme)),e.R7$(),e.Y8G("isMobile",o.isMobile())("productFinderConfig",o.productFinderConfig()),e.R7$(),e.Y8G("productFinderConfig",o.productFinderConfig())("pfinderText",null==(c=o.productFinderConfig())||null==c.pfinderText?null:c.pfinderText.generalOption)("allTranslations",o.allTranslations())("findOutMoreLink",o.findOutMoreLink())("showDMD",!o.isMobile()&&o.isDMDEnabled()&&o.showDMD())("productData$",o.productData$())("productSelectionCompConfig",o.productSelectionCompConfig())("pageTemplateData",o.pageTemplateData())}}function co(r,I){if(1&r&&(e.j41(0,"div",18),e.nrm(1,"app-serial-number-entry",19),e.k0s()),2&r){let t,c,o,O,ee,ce;const Oe=e.XpG(4);e.R7$(),e.Y8G("allTranslations",Oe.allTranslations())("serialNumberTitle",null==(t=Oe.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.serialNumberTitle)("productNumberTitle",null==(c=Oe.productFinderConfig())||null==c.showSerialNumberEntry?null:c.showSerialNumberEntry.productNumberTitle)("hideSNSubmitOnPN",null==(o=Oe.productFinderConfig())||null==o.showSerialNumberEntry?null:o.showSerialNumberEntry.hideSNSubmitOnPN)("mobileAltSubmit",null==(O=Oe.productFinderConfig())||null==O.showSerialNumberEntry?null:O.showSerialNumberEntry.mobileAltSubmit)("searchField",null==(ee=Oe.productFinderConfig())||null==ee.showSerialNumberEntry?null:ee.showSerialNumberEntry.searchField)("pageName",null==(ce=Oe.productFinderConfig())?null:ce.pageName)}}function lo(r,I){if(1&r&&(e.j41(0,"div",20),e.nrm(1,"app-device-detector",21),e.k0s()),2&r){let t,c;const o=e.XpG(4);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=o.productFinderConfig())?null:t.deviceDetector)("allTranslations",o.allTranslations())("pageName",null==(c=o.productFinderConfig())?null:c.pageName)("findOutMoreLink",o.findOutMoreLink())}}function po(r,I){if(1&r&&(e.j41(0,"div",22),e.nrm(1,"app-signin-pfinder-link",23),e.k0s()),2&r){let t,c,o,O;const ee=e.XpG(4);e.AVh("no-device-detector",!(null!=(t=ee.productFinderConfig())&&t.deviceDetector)||!(null!=(t=ee.productFinderConfig())&&null!=t.deviceDetector&&t.deviceDetector.display)||ee.isMobile()||!ee.isDMDEnabled()||!ee.showDMD()),e.R7$(),e.Y8G("allTranslations",ee.allTranslations())("isMobile",ee.isMobile())("isIpadIphone",ee.isIpadIphone())("signInId",null==(c=ee.productFinderConfig())||null==c.signInSection?null:c.signInSection.signInId)("loggedInLinkID",null==(o=ee.productFinderConfig())||null==o.signInSection?null:o.sign
1InSection.loggedInLinkID)("fallBackCCLCValue",ee.fallBackCCLCValue())("showSignInRegisterTemplate",!0)("createAccountID",null==(O=ee.productFinderConfig())||null==O.signInSection?null:O.signInSection.createAccountID)}}function go(r,I){if(1&r&&(e.j41(0,"div",14),e.DNE(1,co,2,7,"div",15)(2,lo,2,4,"div",16)(3,po,2,10,"div",17),e.k0s()),2&r){let t,c,o;const O=e.XpG(3);e.R7$(),e.Y8G("ngIf",null==(t=O.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showEntryForm),e.R7$(),e.Y8G("ngIf",(null==(c=O.productFinderConfig())?null:c.deviceDetector)&&(null==(c=O.productFinderConfig())||null==c.deviceDetector?null:c.deviceDetector.display)&&!O.isMobile()&&O.isDMDEnabled()&&O.showDMD()),e.R7$(),e.Y8G("ngIf",null==(o=O.productFinderConfig())||null==o.showSerialNumberEntry?null:o.showSerialNumberEntry.showSignInRegister)}}function uo(r,I){if(1&r&&(e.j41(0,"div",18),e.nrm(1,"app-serial-number-entry",26),e.k0s()),2&r){let t,c,o,O,ee,ce;const Oe=e.XpG(4);e.R7$(),e.Y8G("allTranslations",Oe.allTranslations())("serialNumberTitle",null==(t=Oe.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.serialNumberTitle)("productNumberTitle",null==(c=Oe.productFinderConfig())||null==c.showSerialNumberEntry?null:c.showSerialNumberEntry.productNumberTitle)("hideSNSubmitOnPN",null==(o=Oe.productFinderConfig())||null==o.showSerialNumberEntry?null:o.showSerialNumberEntry.hideSNSubmitOnPN)("mobileAltSubmit",null==(O=Oe.productFinderConfig())||null==O.showSerialNumberEntry?null:O.showSerialNumberEntry.mobileAltSubmit)("searchField",null==(ee=Oe.productFinderConfig())||null==ee.showSerialNumberEntry?null:ee.showSerialNumberEntry.searchField)("pageName",null==(ce=Oe.productFinderConfig())?null:ce.pageName)("SNBoxPosition","align-initial")("alternateTitle",!0)}}function mo(r,I){if(1&r){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",29),e.bIt("iconClickEvent",function(o){u.eBV(t);const O=e.XpG(5);return u.Njj(O.productIconEvent(o))}),e.k0s()()}if(2&r){const t=e.XpG().ngIf,c=e.XpG(4);e.R7$(),e.Y8G("productData",t)("allTranslations",c.allTranslations())("productSelectionCompConfig",c.productSelectionCompConfig())}}function _o(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",30),e.k0s()),2&r){const t=e.XpG().ngIf,c=e.XpG(4);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",c.productSelectionCompConfig())}}function ho(r,I){if(1&r&&(e.j41(0,"div",27),e.DNE(1,mo,2,3,"div",28)(2,_o,2,3,"div",28),e.k0s()),2&r){const t=I.ngIf;e.R7$(),e.Y8G("ngIf",t&&t.length>1),e.R7$(),e.Y8G("ngIf",t&&1===t.length)}}function Co(r,I){if(1&r&&(e.j41(0,"div",24),e.DNE(1,uo,2,9,"div",15)(2,ho,3,2,"div",25),e.nI1(3,"async"),e.k0s()),2&r){let t,c;const o=e.XpG(3);e.R7$(),e.Y8G("ngIf",null==(t=o.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showEntryForm),e.R7$(),e.Y8G("ngIf",e.bMT(3,2,(null==(c=o.productFinderConfig())||null==c.showSerialNumberEntry?null:c.showSerialNumberEntry.showHelpertooltip)&&o.productData$()))}}function fo(r,I){if(1&r&&(e.j41(0,"div",11),e.DNE(1,go,4,3,"div",12)(2,Co,4,4,"div",13),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.defaultNonSignInExperience()),e.R7$(),e.Y8G("ngIf",!t.defaultNonSignInExperience())}}function Po(r,I){if(1&r&&(e.j41(0,"div",5),e.DNE(1,so,3,13,"div",6)(2,fo,3,2,"div",7),e.k0s()),2&r){let t,c;const o=e.XpG();e.Y8G("ngClass","rtl"===o.pageConfig().languageDirection?"rtl":"ltr"),e.R7$(),e.Y8G("ngIf",o.isSignedIn()&&(null==(t=o.productFinderConfig())||null==t.showSerialNumberEntry?null:t.showSerialNumberEntry.showDeviceCarousel)),e.R7$(),e.Y8G("ngIf",!o.isSignedIn()||!(null!=(c=o.productFinderConfig())&&null!=c.showSerialNumberEntry&&c.showSerialNumberEntry.showDeviceCarousel))}}function Mo(r,I){if(1&r&&(e.j41(0,"h2",41)(1,"span",42),e.EFF(2),e.nI1(3,"memoize"),e.k0s()()),2&r){const t=e.XpG(2);e.R7$(2),e.JRh(t.allTranslations()[e.i5U(3,1,t.getHeaderKey,t.deviceSelected())])}}function vo(r,I){if(1&r&&(e.j41(0,"h1",41)(1,"span",42),e.EFF(2),e.k0s()()),2&r){let t;const c=e.XpG(2);e.R7$(2),e.JRh(c.allTranslations()[null==(t=c.productFinderConfig())?null:t.title])}}function bo(r,I){1&r&&e.eu8(0)}function Oo(r,I){if(1&r&&(e.j41(0,"div",20),e.DNE(1,bo,1,0,"ng-container",43),e.k0s()),2&r){e.XpG
1(2);const t=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function xo(r,I){if(1&r&&(e.j41(0,"div",44),e.EFF(1),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.JRh(t.allTranslations()["#pps_WCC_FS_Product_finder_label2"])}}function So(r,I){if(1&r&&e.nrm(0,"app-general-search",48),2&r){let t;const c=e.XpG(3);e.Y8G("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.generalOption)("allTranslations",c.allTranslations())("searchBoxConfigObj",c.searchBoxConfigObj())}}function wo(r,I){if(1&r&&e.nrm(0,"app-printer-search",49),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.printerOption)("searchBoxConfigObj",c.searchBoxConfigObj())}}function Do(r,I){if(1&r&&e.nrm(0,"app-laptop-search",50),2&r){let t;const c=e.XpG(3);e.Y8G("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("allTranslations",c.allTranslations())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.laptopOption)("searchBoxConfigObj",c.searchBoxConfigObj())}}function yo(r,I){if(1&r&&e.nrm(0,"app-desktop-search",50),2&r){let t;const c=e.XpG(3);e.Y8G("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("allTranslations",c.allTranslations())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.desktopOption)("searchBoxConfigObj",c.searchBoxConfigObj())}}function To(r,I){if(1&r&&e.nrm(0,"app-other-search",49),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.otherOption)("searchBoxConfigObj",c.searchBoxConfigObj())}}function No(r,I){if(1&r&&e.nrm(0,"app-headset-search",49),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.headsetOption)("searchBoxConfigObj",c.searchBoxConfigObj())}}function Eo(r,I){if(1&r&&(e.j41(0,"div"),e.DNE(1,So,1,4,"app-general-search",45)(2,wo,1,3,"app-printer-search",46)(3,Do,1,4,"app-laptop-search",47)(4,yo,1,4,"app-desktop-search",47)(5,To,1,3,"app-other-search",46)(6,No,1,3,"app-headset-search",46),e.k0s()),2&r){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"printer"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"laptop"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"desktop"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"other"===t.deviceSelected()),e.R7$(),e.Y8G("ngIf",t.deviceSelected()&&"headset"===t.deviceSelected())}}function Io(r,I){if(1&r&&e.nrm(0,"app-general-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.generalOption)}}function Ro(r,I){if(1&r&&e.nrm(0,"app-desktop-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.desktopOption)}}function Fo(r,I){if(1&r&&e.nrm(0,"app-laptop-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.laptopOption)}}function ko(r,I){if(1&r&&e.nrm(0,"app-printer-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.printerOption)}}function Lo(r,I){if(1&r&&e.nrm(0,"app-other-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!c.isMobile()&&c.isDMDEnabled()&&c.showDMD())("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.otherOption)}}function Bo(r,I){if(1&r&&e.nrm(0,"app-headset-add-device",52),2&r){let t;const c=e.XpG(3);e.Y8G("allTranslations",c.allTranslations())("isDMDEnable",!1)("pfinderText",null==(t=c.productFinderConfig())||null==t.pfinderText?null:t.pfinderText.headsetOption)}}function Ao(r,I){if(1&r&&(e.j41(0,"div",31),e.DNE(1,Io,1,3,"app-general-add-device",51)(2,Ro,1,3,"app-desktop-add-device",51)(3,Fo,1,3,"app-laptop-add-device",51)(4,ko,1,3,"app-printer-add-device",51)(5,Lo,1,3,"app-other-add-device",51)(6,Bo,1,3,"app-headset-add-device",51),e.k0s()),2&r){let t;const c=e.XpG(2);e.Y8G("ngClass",null==(t=c.productFinderConfig())||null==t.addDevice?null:t.addDevice.className),e.R7$(),e.Y8G("ngIf",!c.deviceSelected()),e.R7$(),e.Y8G("ngIf",c.deviceSelected()&&"desktop"===c.deviceSelected()),e.R7$(),e.Y8G("ngIf",c.deviceSelected()&&"laptop"===c.deviceSelected()),e.R7$(),e.Y8G("ngIf",c.deviceSelected()&&"printer"===c.deviceSelected()),e.R7$(),e.Y8G("ngIf",c.deviceSelected()&&"other"===c.deviceSelected()),e.R7$(),e.Y8G("ngIf",c.deviceSelected()&&"headset"===c.deviceSelected())}}function jo(r,I){1&r&&e.eu8(0)}function $o(r,I){if(1&r&&(e.j41(0,"div",20),e.DNE(1,jo,1,0,"ng-container",43),e.k0s()),2&r){e.XpG
1(2);const t=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function Uo(r,I){1&r&&e.eu8(0)}function Vo(r,I){if(1&r&&(e.j41(0,"div",53),e.DNE(1,Uo,1,0,"ng-container",43),e.k0s()),2&r){let t;const c=e.XpG(2),o=e.sdS(4);e.Y8G("ngClass",null!=(t=c.productFinderConfig())&&t.deviceDetector&&"bottom"!==(null==(t=c.productFinderConfig())||null==t.deviceDetector?null:t.deviceDetector.position)?"pfinder-signIn-marginTop":"pfinder-signIn"),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function Go(r,I){if(1&r){const t=e.RV6();e.j41(0,"div")(1,"app-product-selection",29),e.bIt("iconClickEvent",function(o){u.eBV(t);const O=e.XpG(3);return u.Njj(O.productIconEvent(o))}),e.k0s()()}if(2&r){const t=e.XpG().ngIf,c=e.XpG(2);e.R7$(),e.Y8G("productData",t)("allTranslations",c.allTranslations())("productSelectionCompConfig",c.productSelectionCompConfig())}}function Wo(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-find-product-info",30),e.k0s()),2&r){const t=e.XpG().ngIf,c=e.XpG(2);e.R7$(),e.Y8G("selectedProduct",t[0].deviceType)("productData",t)("productSelectionCompConfig",c.productSelectionCompConfig())}}function Ho(r,I){if(1&r&&(e.j41(0,"div",27),e.DNE(1,Go,2,3,"div",28)(2,Wo,2,3,"div",28),e.k0s()),2&r){const t=I.ngIf;e.R7$(),e.Y8G("ngIf",t&&t.length>1),e.R7$(),e.Y8G("ngIf",t&&1===t.length)}}function Xo(r,I){1&r&&e.eu8(0)}function zo(r,I){if(1&r&&(e.j41(0,"div",54),e.DNE(1,Xo,1,0,"ng-container",43),e.k0s()),2&r){e.XpG(2);const t=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",t)}}function Yo(r,I){if(1&r&&(e.j41(0,"div",31)(1,"div",32)(2,"div")(3,"div",33)(4,"div",34),e.DNE(5,Mo,4,4,"h2",35),e.nI1(6,"memoize"),e.DNE(7,vo,3,1,"h1",35)(8,Oo,2,1,"div",16)(9,xo,2,1,"div",36),e.j41(10,"div",37),e.DNE(11,Eo,7,6,"div",28)(12,Ao,7,7,"div",38),e.k0s(),e.DNE(13,$o,2,1,"div",16)(14,Vo,2,2,"div",39),e.k0s(),e.DNE(15,Ho,3,2,"div",25),e.nI1(16,"async"),e.k0s(),e.DNE(17,zo,2,1,"div",40),e.k0s()()()),2&r){let t,c,o,O,ee,ce,Oe,$e,Ve;const Te=e.XpG();e.HbH(e.VkB("product-finder-section ",null==(t=Te.productFinderConfig())?null:t.className)),e.Y8G("ngClass",Te.isMobile()||Te.isIpadIphone()&&Te.pageConfig().isVisIdEnabled?"sm-screen":""),e.R7$(),e.Y8G("ngClass",e.sMw(20,ro,"rtl"===Te.pageConfig().languageDirection,"rtl"!==Te.pageConfig().languageDirection,"printerSetupLanding"===Te.searchBoxConfigObj().pageName)),e.R7$(4),e.Y8G("ngIf",(null==(c=Te.productFinderConfig())?null:c.isLightTheme)&&e.i5U(6,15,Te.getHeaderKey,Te.deviceSelected())),e.R7$(2),e.Y8G("ngIf",Te.showVisIdTitleHeader()&&Te.pageConfig().isVisIdEnabled&&(null==(o=Te.productFinderConfig())?null:o.title)),e.R7$(),e.Y8G("ngIf",(null==(O=Te.productFinderConfig())?null:O.deviceDetector)&&"top"===(null==(O=Te.productFinderConfig())||null==O.deviceDetector?null:O.deviceDetector.position)&&(null==(O=Te.productFinderConfig())||null==O.deviceDetector?null:O.deviceDetector.display)),e.R7$(),e.Y8G("ngIf",Te.displaySearchBoxHeading()),e.R7$(2),e.Y8G("ngIf",null==(ee=Te.productFinderConfig())||null==ee.productFinder?null:ee.productFinder.display),e.R7$(),e.Y8G("ngIf",null==(ce=Te.productFinderConfig())||null==ce.addDevice?null:ce.addDevice.display),e.R7$(),e.Y8G("ngIf",(null==(Oe=Te.productFinderConfig())?null:Oe.deviceDetector)&&"bottom"===(null==(Oe=Te.productFinderConfig())||null==Oe.deviceDetector?null:Oe.deviceDetector.position)&&(null==(Oe=Te.productFinderConfig())||null==Oe.deviceDetector?null:Oe.deviceDetector.display)),e.R7$(),e.Y8G("ngIf",Te.isLargeDevice()&&(null==($e=Te.productFinderConfig())||null==$e.signInSection?null:$e.signInSection.display)),e.R7$(),e.Y8G("ngIf",e.bMT(16,18,Te.productData$())),e.R7$(2),e.Y8G("ngIf",!Te.isLargeDevice()&&(null==(Ve=Te.productFinderConfig())||null==Ve.signInSection?null:Ve.signInSection.display))}}function Ko(r,I){if(1&r&&(e.qex(0),e.nrm(1,"app-signin-pfinder-link",55),e.bVm()),2&r){let t,c,o;const O=e.XpG();e.R7$(),e.Y8G("allTranslations",O.allTranslations())("isMobile",O.isMobile())("isIpadIphone",O.isIpadIphone())("signInId",null==(t=O.productFinderConfig())||null==t.signInSection?null:t.signInSection.signInId)("loggedInLinkID",null==(c=O.productFinderConfig())||null==c.signInSection?null:c.signInSection.loggedInLinkID)("fallBackCCLCValue",O.fallBackCCLCValue())("createAccountID",null==(o=O.productFinderConfig())||null==o.signInSection?null:o.sign
1InSection.createAccountID)}}function Qo(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-device-detector",21),e.k0s()),2&r){let t,c;const o=e.XpG(2);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=o.productFinderConfig())?null:t.deviceDetector)("allTranslations",o.allTranslations())("pageName",null==(c=o.productFinderConfig())?null:c.pageName)("findOutMoreLink",o.findOutMoreLink())}}function Jo(r,I){if(1&r&&(e.qex(0),e.nrm(1,"app-signin-pfinder-link",56),e.bVm()),2&r){let t,c;const o=e.XpG(2);e.R7$(),e.Y8G("allTranslations",o.allTranslations())("isMobile",o.isMobile())("isIpadIphone",o.isIpadIphone())("signInId",null==(t=o.productFinderConfig())||null==t.signInSection?null:t.signInSection.signInId)("loggedInLinkID",null==(c=o.productFinderConfig())||null==c.signInSection?null:c.signInSection.loggedInLinkID)("fallBackCCLCValue",o.fallBackCCLCValue())}}function Zo(r,I){if(1&r&&(e.j41(0,"div"),e.nrm(1,"app-device-detector",21),e.k0s()),2&r){let t,c;const o=e.XpG(3);e.R7$(),e.Y8G("DMDlayoutConfig",null==(t=o.productFinderConfig())?null:t.deviceDetector)("allTranslations",o.allTranslations())("pageName",null==(c=o.productFinderConfig())?null:c.pageName)("findOutMoreLink",o.findOutMoreLink())}}function qo(r,I){if(1&r&&(e.qex(0),e.DNE(1,Zo,2,4,"div",28),e.bVm()),2&r){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.isMobile()&&t.isDMDEnabled()&&t.showDMD())}}function ea(r,I){if(1&r&&(e.qex(0),e.DNE(1,Qo,2,4,"div",28)(2,Jo,2,6,"ng-template",null,0,e.C5r)(4,qo,2,1,"ng-template",null,1,e.C5r),e.bVm()),2&r){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.isMobile()&&t.isDMDEnabled()&&t.showDMD())}}let ta=(()=>{class r{constructor(t,c,o,O,ee,ce,Oe,$e,Ve,Te){this.pageService=t,this.deviceDetectService=c,this.productFinderService=o,this.productSelectionService=O,this.deviceSearchService=ee,this.authService=ce,this.contactService=Oe,this.store=$e,this.swdLandingService=Ve,this.destroyRef=Te,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,s.hFB)({}),this.productFinderConfig=(0,s.hFB)(null),this.fallBackCCLCValue=(0,s.hFB)({}),this.pageTemplateData=(0,s.hFB)({}),this.displaySearchBoxHeading=(0,s.hFB)(null),this.defaultNonSignInExperience=(0,s.hFB)(!0),this.showVisIdTitleHeader=(0,s.hFB)(!1),this.deviceSelectedEvent=(0,s.CGW)(),this.addPanelExpanded=(0,s.CGW)(),this.isHpAllInPlan=(0,s.hFB)(!1),this.isOnlyMobDevice=(0,u.vPA)(!1),this.isMobile=(0,u.vPA)(!1),this.isDesktop=(0,u.vPA)(!1),this.isIpadIphone=(0,u.vPA)(!1),this.language=(0,u.vPA)(null),this.deviceSelected=(0,u.vPA)(null),this.DMDButtonDisplayed=(0,u.vPA)(!1),this.isDMDEnabled=(0,u.vPA)(!1),this.findOutMoreLink=(0,u.vPA)(""),this.showDMD=(0,u.vPA)(!1),this.productData$=(0,u.vPA)((0,$.of)()),this.carouselDevice=(0,u.vPA)(null),this.productNumberReqd=(0,u.vPA)(!1),this.searchBoxConfigObj=(0,u.vPA)({}),this.searchQueryConfigObj=(0,u.vPA)({notValidSearchQuery:!1,invalidProductNumber:!1,notValidSN:!1,notValidQuery:!1,productNumberReqd:!1}),this.productSelectionCompConfig=(0,u.vPA)({}),this.isLargeDevice=(0,u.vPA)(!1),this.enableSignedinExp=(0,u.vPA)(!1),this.isSignedIn=(0,u.vPA)(!1),this.retiredProductSelected=(0,s.CGW)(),this.isOnlyMobDevice.set(this.deviceDetectService.isMobile()),(0,M.QZ)(()=>{const rt=this.authService.isUserLoggedIn();(0,M.O8)(()=>{this.isSignedIn.set(rt),rt&&this.checkSignedInExpEnable()})},{allowSignalWrites:!0}),this.destroyRef.onDestroy(()=>{this.resetAllPfinderFlags()})}onResize(){this.isLargeDevice.set(this.productFinderService.isLargeDevice())}ngOnInit(){this.isLargeDevice.set(this.productFinderService.isLargeDevice());const t=this.pageConfig();this.isIpadIphone.set(t.isiPad||t.isiPhone),this.isDesktop.set(!(this.isIpadIphone()||t.isMobile)),this.isMobile.set(t.isMobile||this.isIpadIphone()),this.checkDMDActiveStatus(),this.getTooltipDetails(),this.observableSubscriber(),this.errorMessageObservableSub(),this.carouselSelectionSub();const c=this.productFinderConfig(),o=this.productFinderConfig();this.searchBoxConfigObj.set({typeAheadDisplay:this.productFinderConfig().productFinder.typeAheadDisplay,errorText:this.productFinderConfig().pfinderText.errorText,placeHolderProduct:this.productFinderConfig().pfinderText.placeHolderProduct,searchResultOrigin:this.productFinderConfig().searchResultOrigin,screenReaderProduct:this.productFinderConfig().pfinderText.screenReaderProduct,searchPromotionPfinderObj:c.serachPromotionPfinderObj?c.serachPromotionPfinderObj:null,pageName:this.productFinderConfig().pageName,searchQueryConfigObj:this.searchQueryConfigObj(),isLightTheme:o?.isLightTheme,printerSetupOption:o.printerSetupOption}),this.productSelectionCompConfig.set({searchQueryConfigObj:this.searchQueryConfigObj(),pageName:o.pageName,productFinderConfig:o,language:o.productFinder.language,allTranslations:this.allTranslations(),languageDirection:t.languageDirection,deviceSelected:this.deviceSelected()}),"swdLanding"===o?.pageName&&this.swdLandingService.productTypeSelected$.subscribe(O=>{if(O){this.deviceSelected.set(O);const ee={...this.productSelectionCompConfig()};ee.deviceSelected=this.deviceSelected(),this.productSelectionCompConfig.set(ee),this.productIconEvent(this.deviceSelected()),this.productSelectionService.selectedProduct(this.deviceSelected());const ce=this.productFinderConfig();this.deviceSearchService.invalidSearchQuery.next({id:ce?.pageName??"",value:!1}),this.deviceSearchService.productNumberRequied.next({id:ce?.pageName??"",value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:ce?.pageName??"",value:!1}
1),this.deviceSearchService.notValidProductNumber.next({id:ce?.pageName??"",value:!1}),this.productFinderService.errorContent.next({id:ce?.pageName??"",value:!1})}})}getTooltipDetails(){const t=this.productFinderConfig().productSelection.url;if(!t)return;let c;this.productSelectionService.getProductSelectionData(t).subscribe(o=>{c=o,this.productFinderConfig()?.productSelection?.filteredProducts?.length&&(c=o.filter(O=>this.productFinderConfig().productSelection.filteredProducts.includes(O.deviceType))),this.productData$.set((0,$.of)(c))},o=>{this.productData$.set((0,$.of)())})}productIconEvent(t){this.deviceSelected.set(t);const c=this.productFinderConfig();this.productFinderService.onProductSelection(t,c),this.productFinderService.updateConfigObj(c)}observableSubscriber(){this.productFinderService.getDeviceType().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{!(0,j.A)(t)&&"swdLanding"!==this.productFinderConfig().pageName&&this.deviceSelected.set(t)})}checkDMDActiveStatus(){this.store.select(K.FM).pipe((0,p.$)(t=>!(0,j.A)(t))).subscribe(t=>{const c="true"===t?.SWD_SSF_EXP?.toLowerCase(),o=t.WPD_CC_WHITE_LIST||"",O=t.WPD_LC_WHITE_LIST||"",ee="yes"===t?.WPD_ENABLE_PFINDER_HPALLINPLAN?.toLowerCase(),ce=this.pageConfig(),Oe=(0,N.A)(o,ce.cc)||(0,N.A)(o,"all"),$e=(0,N.A)(O,ce.lc)||(0,N.A)(O,"all");this.isHpAllInPlan()?this.isDMDEnabled.set(Oe&&$e&&ee&&c):this.isDMDEnabled.set(Oe&&$e&&c);const Ve=t?.WPD_BROWSER_WHITE_LIST?t.WPD_BROWSER_WHITE_LIST?.toLowerCase().split(","):[];this.dmdShowerDetector(Ve),this.findOutMoreLink.set(t.WCC_FINDMORE_DOC_LINK||""),t.ENABLE_VIS_ID_LAYOUT&&(0,N.A)(t.ENABLE_VIS_ID_LAYOUT,ce.pageName)&&"polyLanding"===ce.pageName&&this.productIconEvent("headset")})}checkSignedInExpEnable(){this.store.select(K.FM).pipe((0,p.$)(t=>!(0,j.A)(t))).subscribe(t=>{const c=this.pageConfig();this.enableSignedinExp.set(!!t.PFINDER_SIGNIN_EXP_ENABLED_TEMPLATE&&(0,N.A)(t.PFINDER_SIGNIN_EXP_ENABLED_TEMPLATE,c.templateName))})}dmdShowerDetector(t){const c=this.pageConfig();let o=c.browser.toLowerCase();(0,N.A)(t,o)&&"Windows"===c.os&&this.showDMD.set(!0)}resetpfinderSearchConfig(){this.productFinderConfig().printerSetupOption&&this.updateSearchQueryConfig({notValidSearchQuery:!1,invalidProductNumber:!1,notValidSN:!1,notValidQuery:!1,productNumberReqd:!1})}updateSearchQueryConfig(t){const c={...this.searchQueryConfigObj(),...t};this.searchQueryConfigObj.set(c);const o=this.searchBoxConfigObj();(0,j.A)(o)||this.searchBoxConfigObj.set({...o,searchQueryConfigObj:c});const O=this.productSelectionCompConfig();(0,j.A)(O)||this.productSelectionCompConfig.set({...O,searchQueryConfigObj:c})}errorMessageObservableSub(){this.productFinderService.getErrorMessage().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidQuery:t.value})}),this.deviceSearchService.isInvalidSearchQuery().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidSearchQuery:t.value})}),this.deviceSearchService.getInvalidProductMessage().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({invalidProductNumber:t.value})}),this.deviceSearchService.isInvalidSeaialNumber().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({notValidSN:t.value})}),this.deviceSearchService.isProductNumberRequred().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(""===t.id||t.id===this.productFinderConfig().pageName)&&this.updateSearchQueryConfig({productNumberReqd:t.value})})}
1carouselSelectionSub(){this.productFinderService.getCarouselDevice().pipe((0,et.pQ)(this.destroyRef)).subscribe(t=>{(0,j.A)(t)||(this.carouselDevice.set(t),"contact"===this.pageConfig().pageName?this.contactService.isRetiredProduct({serialNumber:t.serialNumber,sku:t?.altProductNumber||t?.productNumber,seriesOid:t.productSeriesOID,modelOid:t.productNameOID,displayProductNumber:t.productNumber||t.altProductNumber}).pipe((0,et.pQ)(this.destroyRef)).subscribe(O=>{O&&O.isRetiredProduct?this.retiredProductSelected.emit():this.deviceSelectedEvent.emit(this.carouselDevice())}):this.deviceSelectedEvent.emit(this.carouselDevice()))})}getHeaderKey(t){return"printer"===t?this.productFinderConfig()?.pfinderText?.printerOption?.title:"laptop"===t?this.productFinderConfig()?.pfinderText?.laptopOption?.title:"desktop"===t?this.productFinderConfig()?.pfinderText?.desktopOption?.title:"headset"===t?this.productFinderConfig()?.pfinderText?.headsetOption?.title:"other"===t?this.productFinderConfig()?.pfinderText?.otherOption?.title:void 0}onAddToggle(t){this.addPanelExpanded.emit(t)}ngOnChanges(t){if(t?.productFinderConfig){const c=t.productFinderConfig.currentValue,o=t.productFinderConfig.previousValue;(c?.printerSetupOption&&c?.printerSetupOption!=o?.printerSetupOption||c?.showSupportOptionError!=o?.showSupportOptionError)&&(this.searchBoxConfigObj.set({...this.searchBoxConfigObj(),printerSetupOption:c?.printerSetupOption,searchResultOrigin:c?.searchResultOrigin,showSupportOptionError:c?.showSupportOptionError}),this.resetpfinderSearchConfig())}}resetAllPfinderFlags(){const t=this.productFinderConfig()?.pageName??"";this.deviceSearchService.invalidSearchQuery.next({id:t,value:!1}),this.deviceSearchService.productNumberRequied.next({id:t,value:!1}),this.deviceSearchService.invalidSerialQuery.next({id:t,value:!1}),this.deviceSearchService.notValidProductNumber.next({id:t,value:!1}),this.productFinderService.errorContent.next({id:t,value:!1})}static{this.\u0275fac=function(c){return new(c||r)(e.rXU(ae.b),e.rXU(me.Kg),e.rXU(J.h),e.rXU(i.z),e.rXU(ot.k),e.rXU(Q.u),e.rXU(oe.u),e.rXU(E.il),e.rXU(_e.j),e.rXU(u.abz))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["app-product-finder"]],hostBindings:function(c,o){1&c&&e.bIt("resize",function(){return o.onResize()},e.tSv)},inputs:{allTranslations:[1,"allTranslations"],productFinderConfig:[1,"productFinderConfig"],fallBackCCLCValue:[1,"fallBackCCLCValue"],pageTemplateData:[1,"pageTemplateData"],displaySearchBoxHeading:[1,"displaySearchBoxHeading"],defaultNonSignInExperience:[1,"defaultNonSignInExperience"],showVisIdTitleHeader:[1,"showVisIdTitleHeader"],isHpAllInPlan:[1,"isHpAllInPlan"]},outputs:{deviceSelectedEvent:"deviceSelectedEvent",addPanelExpanded:"addPanelExpanded",retiredProductSelected:"retiredProductSelected"},features:[e.Jv_([i.z]),e.OA$],decls:7,vars:6,consts:[["signInTemplate",""],["deviceDetector",""],[1,"pfinder-wrapper",3,"ngClass"],["class","contact-pfinder",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[1,"contact-pfinder",3,"ngClass"],["class","signed-in-section",3,"ngClass",4,"ngIf"],["class","anonymous-section",4,"ngIf"],[1,"signed-in-section",3,"ngClass"],[3,"isMobile","productFinderConfig"],[3,"productIconClickEvent","togglePfinderEvent","productFinderConfig","pfinderText","allTranslations","findOutMoreLink","showDMD","productData$","productSelectionCompConfig","pageTemplateData"],[1,"anonymous-section"],["class","serial-number-entry-container",4,"ngIf"],["class","sn-entry-and-tooltip-container",4,"ngIf"],[1,"serial-number-entry-container"],["class","serial-number-section",4,"ngIf"],["class","detect-device-section",4,"ngIf"],["class","sign-in-section",3,"no-device-detector",4,"ngIf"],[1,"serial-number-section"],[3,"allTranslations","serialNumberTitle","productNumberTitle","hideSNSubmitOnPN","mobileAltSubmit","searchField","pageName"],[1,"detect-device-section"],[3,"DMDlayoutConfig","allTranslations","pageName","findOutMoreLink"],[1,"sign-in-section"],[3,"allTranslations","isMobile","isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue","showSignInRegisterTemplate","createAccountID"],[1,"sn-entry-and-tooltip-container"],["class","help-section-container",4,"ngIf"],[3,"allTranslations","serialNumberTitle","productNumberTitle","hideSNSubmitOnPN","mobileAltSubmit","searchField","pageName","SNBoxPosition","alternateTitle"],[1,"help-section-container"],[4,"ngIf"],[3,"iconClickEvent","productData","allTranslations","productSelectionCompConfig"],[3,"selectedProduct","productData","productSelectionCompConfig"],[3,"ngClass"],[1,"product-finder-info-section",3,"ngClass"],[1,"section"],[1,"product-finder"],["class","pfinder-search-header",4,"ngIf"],["class","search-box-heading",4,"ngIf"],[1,"search-section"],[3,"ngClass",4,"ngIf"],["class","pfinder-signIn large-pfinder-signIn",3,"ngClass",4,"ngIf"],["class","pfinder-signIn",4,"ngIf"],[1,"pfinder-search-header"],["aria-hidden","false"],[4,"ngTemplateOutlet"],[1,"search-box-heading"],[3,"isDMDEnable","pfinderText","allTranslations","searchBoxConfigObj",4,"ngIf"],[3,"allTranslations","pfinderText","searchBoxConfigObj",4,"ngIf"],[3,"isDMDEnable","allTranslations","pfinderText","searchBoxConfigObj",4,"ngIf"],[3,"isDMDEnable","pfinderText","allTranslations","searchBoxConfigObj"],[3,"allTranslations","pfinderText","searchBoxConfigObj"],[3,"isDMDEnable","allTranslations","pfinderText","searchBoxConfigObj"],[3,"allTranslations","isDMDEnable","pfinderText",4,"ngIf"],[3,"allTranslations","isDMDEnable","pfinderText"],[1,"pfinder-signIn","large-pfinder-signIn",3,"ngClass"],[1,"pfinder-signIn"],[3,"allTranslations","isMobile","
1isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue","createAccountID"],[3,"allTranslations","isMobile","isIpadIphone","signInId","loggedInLinkID","fallBackCCLCValue"]],template:function(c,o){1&c&&(e.j41(0,"div",2),e.DNE(1,Po,3,3,"div",3)(2,Yo,18,24,"div",4),e.k0s(),e.DNE(3,Ko,2,7,"ng-template",null,0,e.C5r)(5,ea,6,1,"ng-template",null,1,e.C5r)),2&c&&(e.Y8G("ngClass",e.l_i(3,oo,o.pageConfig().isVisIdEnabled,"rtl"===o.pageConfig().languageDirection)),e.R7$(),e.Y8G("ngIf",o.productFinderConfig().hidePfinderSearchExperience),e.R7$(),e.Y8G("ngIf",o.productFinderConfig()&&!o.productFinderConfig().hidePfinder&&!o.productFinderConfig().hidePfinderSearchExperience))},dependencies:[W.YU,W.bT,io,$i,vn.F,Mn,ai.k,Pn,pn,W.T3,Le,be,Ie,Me,Y,b,We,Ne,ye,Pe,Z,A,W.Jj,l.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.product-finder-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p.info-text[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:60px;max-width:550px;width:45%;font-family:HPSimplifiedLight;font-size:16px;font-weight:400;line-height:1.31;color:#2c3038}.product-finder-section.add-device-pfinder[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{padding-top:0;margin-left:0}.product-finder-section[_ngcontent-%COMP%] .pt0[_ngcontent-%COMP%]{padding-top:0}.device-carousel-section[_ngcontent-%COMP%]{margin-bottom:58px}.device-carousel-section[_ngcontent-%COMP%] + .product-finder-section[_ngcontent-%COMP%]{margin-left:15px;margin-top:-58px}.pfinder-signIn-marginTop[_ngcontent-%COMP%]{margin-top:33px}.pfinder-signIn[_ngcontent-%COMP%]{margin-top:20px}.signed-in-section[_ngcontent-%COMP%]{max-width:1293px;margin:auto;padding:0 25px}.product-finder-info-section[_ngcontent-%COMP%]{padding-top:35px;padding-bottom:35px}.product-finder-info-section[_ngcontent-%COMP%] .full-width[_ngcontent-%COMP%]{max-width:1293px;margin:auto;padding:0 25px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:flex;flex:1}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{max-width:595px;width:50%}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .search-box-heading[_ngcontent-%COMP%]{font-size:28px;margin-bottom:20px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:HPSimplifiedLight;font-size:18px;font-weight:300;line-height:1.44;color:#000;margin-bottom:13px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding-left:36px;padding-right:36px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:50%;border-left:1px solid #ccc;padding-left:31px}.product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-right:1px solid #ccc;border-left:none;padding-right:31px;padding-left:0;text-align:right}.rtl[_ngcontent-%COMP%] .anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{padding-right:20px}.rtl[_ngcontent-%COMP%] .anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{padding-left:0;padding-right:15px;border-left:none;border-right:1px solid #ccc}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.rtl[_ngcontent-%COMP%] .anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{padding-right:0}.rtl[_ngcontent-%COMP%] .anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{padding:20px 0 0;border:none}}.anonymous-section[_ngcontent-%COMP%] .sign-in-section.no-device-detector[_ngcontent-%COMP%]{margin-top:43px}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{display:flex;max-width:1280px;margin:85px auto auto}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .serial-number-section[_ngcontent-%COMP%]{width:50%;margin-left:25px}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-left:1px solid #ccc;padding-left:15px;width:50%}@media only screen and (min-width:1200px){.product-finder-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:1222px!important;min-width:1000px;padding-left:11px}}@media(min-width:801px)and (max-width:1199px){.product-finder-info-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:100%!important;min-width:100%}}.sm-screen[_ngcontent-%COMP%] .large-pfinder-signIn[_ngcontent-%COMP%]{display:none}.sm-screen[_ngcontent-%COMP%] .mobile-pfinder-signIn[_ngcontent-%COMP%]{display:block}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%]{padding-top:0;background-color:transparent;padding-bottom:22px}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:block}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{max-width:100%;width:100%}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .search-box-heading[_ngcontent-%COMP%]{font-size:20px;margin-top:20px}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.sm-screen[_ngcontent-%COMP%] .product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-right:none;border-left:none;padding-right:0;padding-left:0;margin-left:0;margin-right:5px}.sm-screen[_ngcontent-%COMP%] .printer-landing-signIn[_ngcontent-%COMP%]{border-top:1px solid #ccc}.sm-screen[_ngcontent-%COMP%] .printer-landing-signIn[_ngcontent-%COMP%] .signInLink[_ngcontent-%COMP%]{margin-top:30px}.sm-screen[_ngcontent-%COMP%] .product-finder-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p.info-text[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0;max-width:width 100%;width:100%;font-size:14px}@media only screen and (max-width:800px){.large-pfinder-signIn[_ngcontent-%COMP%]{display:none}.mobile-pfinder-signIn[_ngcontent-%COMP%]{display:block}.product-finder-info-section[_ngcontent-%COMP%]{padding-top:0;background-color:transparent;padding-bottom:22px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:block}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{max-width:100%;width:100%}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .search-box-heading[_ngcontent-%COMP%]{font-size:20px;margin-top:20px}.product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:100%;max-width:100%;border-left:none;padding-left:0;border-right:none;padding-top:5px;margin-left:0}.product-finder-info-section.rtl-setup-guide[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-right:none;border-left:none;padding-right:0;padding-left:0;margin-left:0;margin-right:5px}.printer-landing-signIn[_ngcontent-%COMP%]{border-top:1px solid #ccc}.printer-landing-signIn[_ngcontent-%COMP%] .signInLink[_ngcontent-%COMP%]{margin-top:30px}.product-finder-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] p.info-text[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:0;max-width:width 100%;width:100%;font-size:14px}.search-section[_ngcontent-%COMP%]{max-width:100%}}@media(max-width:768px){.device-carousel-section[_ngcontent-%COMP%]{margin-bottom:27px}.device-carousel-section[_ngcontent-%COMP%] + .product-finder-section[_ngcontent-%COMP%]{margin-left:15px;margin-top:-4px}.product-finder-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:100%!important}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%]{display:flex;margin-top:20px;flex-direction:column}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .serial-number-section[_ngcontent-%COMP%]{width:100%;margin-left:0}.anonymous-section[_ngcontent-%COMP%] .sn-entry-and-tooltip-container[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-left:none;padding-left:0;padding-top:20px;width:100%}.anonymous-section[_ngcontent-%COMP%] .sign-in-section.no-device-detector[_ngcontent-%COMP%]{margin-top:16.5px}.signed-in-section[_ngcontent-%COMP%]{max-width:auto;margin:0;padding:0}}@media(min-width:801px){.large-pfinder-signIn[_ngcontent-%COMP%]{display:block}.mobile-pfinder-signIn[_ngcontent-%COMP%]{display:none}}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%]{padding:0}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{max-width:680px;width:57%;padding-right:20px}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .search-section[_ngcontent-%COMP%]{margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .pfinder-signIn[_ngcontent-%COMP%]{margin-top:32px}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .pfinder-search-header[_ngcontent-%COMP%]{margin-bottom:30px;width:80%}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{max-width:520px;width:44%;border-color:#000}.rtl.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{padding-left:20px;padding-right:0}.rtl.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-color:#000}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%]{padding:0}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:block}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{width:100%;padding-right:0;margin-bottom:32px}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%] .pfinder-search-header[_ngcontent-%COMP%]{width:100%}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{width:100%;padding-left:0;margin-top:0}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .pfinder-signIn[_ngcontent-%COMP%]{margin-top:31px}}@media only screen and (min-width:768px)and (max-width:991px){.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:flex}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{padding-left:20px;border-left:1px solid #000000}.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .pfinder-signIn[_ngcontent-%COMP%]{display:block}.rtl.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .product-finder[_ngcontent-%COMP%]{padding-right:0;padding-left:20px}.rtl.is-vis-id[_ngcontent-%COMP%] .product-finder-info-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .help-section-container[_ngcontent-%COMP%]{border-left:0;border-right:1px solid #000000}}"]})}}return r})()},84527(xe,le,a){a.d(le,{h:()=>te});var M=a(86763),s=a(2435),u=a(33900),$=a(43942),j=a(84205),N=a(75797),p=a(97965),i=a(85139),K=a(78767),l=a(93551),h=a(75507),g=a(63855),W=a(54041),e=a(85240),ae=a(19885),ue=a(91018),me=a(60480),n=a(9303),pe=a(11439);let te=(()=>{class F{constructor(C,x,m,S,f){this.pageService=C,this.http=x,this.commonService=m,this.windowRef=S,this.store=f,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.searchList=[],this.pfinderConfig=new N.t({}),this.errorContent=new N.t({}),this.clearQuerySearch=new N.t(!1),this.deviceTypeSelected=new N.t({}),this.carouselDeviceSelected=new N.t({}),this.carouselNoDevices=new N.t(!1),this.destroySubject$=new j.B,this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next()}isLargeDevice(){if(this.window)return!(this.window?.innerWidth<=800)}clearQuerySearchField(){return this.clearQuerySearch.asObservable()}getPfinderConfig(){return this.pfinderConfig.asObservable()}getErrorMessage(){return this.errorContent.asObservable()}getDeviceType(){return this.deviceTypeSelected.asObservable()}getCarouselDevice(){return this.carouselDeviceSelected.asObservable()}getNoCarouselDevice(){return this.carouselNoDevices.asObservable()}addPrinterSetupUrl(C,x=null){const m="Opt_Troubleshoot"===x?.printerSetupOption?"product/troubleshooting":"printer-setup";
1return C.forEach(S=>{let f=`${this.pageConfig().cc}-${this.pageConfig().lc}/${m}/${S.seoFriendlyName}/${S.pmSeriesOid}`,D=!1;("pm_number_value"===S.pmClass||"pm_name_value"===S.pmClass)&&("Opt_Troubleshoot"===x?.printerSetupOption?f=`${this.pageConfig().cc}-${this.pageConfig().lc}/${m}/${S.seoFriendlyName}/model/${S.pmNameOid}`:f+=`/model/${S.pmNameOid}`,D="pm_number_value"===S.pmClass),S.printerSetupUrl=f,S.passParam=D}),C}onProductSelection(C,x){let m={};(0,i.A)(x.tooltipSection,function(S){S.type===C&&(m=S.deviceDetector)}),this.pfinderConfig.next(m)}updateConfigObj(C){this.getPfinderConfig().pipe((0,u.Q)(this.destroySubject$)).subscribe(x=>{(0,l.A)(x)||(C.deviceDetector.display=x.display,C.deviceDetector.position=x.position)})}getSearchResult(C,x){return new $.c(m=>{const S=R=>{m.next(R),m.complete()},f=()=>(this.store.select(W.FM).pipe((0,s.$)(R=>!(0,l.A)(R))).subscribe(R=>{this.relevanceDifference=R?.KAAS_PRODUCT_RELEVANCE_DIFFERENCE??10}),this.relevanceDifference),D=R=>{let U;return"en"===this.pageConfig().lc?U=this.pageConfig().lc:"zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc?"zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&(U=R&&R?this.commonService.getCustomLocale(this.commonService.safeParseJSON(R),this.pageConfig()).lc:this.pageConfig().lc):U=this.pageConfig().lc+this.pageConfig().cc,U},y=R=>{this.store.select(W.FM).pipe((0,s.$)(U=>!(0,l.A)(U))).subscribe(U=>{this.kaashrefUrl="/typeahead";const re=U.KAAS_BIASVAL_VAL,X=U.FALCON_SEARCH_PRINTERSETUP_FILTER||"";let Q="";return x.searchPromotionPfinderObj?(Q=U[`SEARCH_TYPEAHEAD_${x.searchPromotionPfinderObj.typeaheadType.toUpperCase()}`]||null,Q="en"===this.pageConfig().lc?Q.replace("<LANG>,",""):Q.replace("<LANG>",D(U.COMMON_FALLBACK_COUNTRY_CODE))):"en"===this.pageConfig().lc?U.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL&&(Q=U.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL):"zh"!==this.pageConfig().lc||"hk"!==this.pageConfig().cc&&"tw"!==this.pageConfig().cc&&"cn"!==this.pageConfig().cc?"zh"!==this.pageConfig().lc&&"en"!==this.pageConfig().lc&&U.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL&&(Q=U.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL):U.FALCON_KAAS_TYPEAHEAD_CHINESE_URL&&(Q=U.FALCON_KAAS_TYPEAHEAD_CHINESE_URL),Q=Q.replace("<text>",encodeURIComponent(R)),Q=Q.replace("<LANG>",D(U.COMMON_FALLBACK_COUNTRY_CODE)),Q=Q.replace("<BIASVAL>",re),Q=Q.replace("<PAGE_FILTER_1>",X),this.kaashrefUrl=this.kaashrefUrl+Q,this.kaashrefUrl})};(R=>{let U=new g.Lr;y(R);const re=this.kaashrefUrl,X=f();U=U.append("skipLoadingScreen","true"),(""===R||R.length<2)&&S([]),this.http.get(re,{headers:U}).pipe((0,u.Q)(this.destroySubject$)).subscribe(Q=>{if(Q&&Q.matches&&Q.matches.length){this.addPrinterSetupUrl(Q.matches,x);const q=Q.matches.length?Q.matches[0].matchScore:null,oe=this.commonService.filterTypeaheadData(Q.matches,q-q*X/100),_e=[];(0,i.A)(oe,function(de){(0,i.A)(oe,function(E){const z=E.shortestNavigationPath.split("|").join();E.productId!==de.productId&&(0,K.A)(z,de.productId)&&_e.push(E.productId)})}),this.matchedResponse=(0,p.A)(oe,de=>!(0,K.A)(_e,de.productId));const L=(0,h.A)(this.matchedResponse,6);S(L)}},Q=>{S({status:"result not available"})},()=>{})})(C)})}clearPlaceHolder(C){C.target.placeholder=""}clearSearchInput(C){const x=C.target,m=x.parentElement;x.classList.add("hide"),m.querySelector("input").focus()}getErrorText(C){return{notValidQuery:C["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"],reqdProductNumberText1:C["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"],reqdProductNumberText2:C["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"]}}getFindMoreLink(C){return C?.WCC_FINDMORE_DOC_LINK??""}showDMD(){const x=this.pageConfig().browser.toLowerCase();if((0,K.A)(["firefox","ie","chrome","ms-edge-chromium","ms-edge"],x)&&"Windows"===this.pageConfig().os)return!0}static{this.\u0275fac=function(x){return new(x||F)(e.KVO(ae.b),e.KVO(ue.k),e.KVO(me.h),e.KVO(n.$),e.KVO(pe.il))}}static{this.\u0275prov=e.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},27223(xe,le,a){a.d(le,{z:()=>i});var M=a(75797),s=a(77919),u=a(63855),$=a(61318),j=a(70271),N=a(84205),p=a(85240);let i=(()=>{class K{constructor(h){this.httpClient=h,this.productSelected=new M.t({}),this.displayHorIcon=new M.t({}),this.destroySubject$=new N.B}getDisplayHorIconStatus(){return this.displayHorIcon.asObservable()}getProductSelected(){return this.productSelected.asObservable()}
1getProductSelectionData(h){let g=new u.Lr;return g=g.append("skipLoadingScreen","true"),this.httpClient.get(h,{headers:g}).pipe((0,j.T)(W=>W.data)).pipe((0,$.W)(this.handleError))}handleError(h){return(0,s.$)(h)}selectedProduct(h){this.displayHorIcon.next(!1),this.productSelected.next(h)}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(g){return new(g||K)(p.KVO(u.Qq))}}static{this.\u0275prov=p.jDH({token:K,factory:K.\u0275fac})}}return K})()},52987(xe,le,a){a.d(le,{l:()=>m});var M=a(84205),s=a(33900),u=a(37580),$=a(86763),j=a(85240),N=a(14275),p=a(96114);const i={min:3,max:5,maxInXs:2,xsWidth:600};var l=a(75257),h=a(93683),g=a(12481),W=a(19885),e=a(24938),ae=a(72990),ue=a(71839),me=a(60480),n=a(9303);const pe=(S,f)=>[S,f],te=(S,f)=>({"no-hover":S,"no-scale":f});function F(S,f){if(1&S&&(g.j41(0,"div",8),g.EFF(1),g.k0s()),2&S){const D=g.XpG().$implicit;g.R7$(),g.JRh(D.header)}}function B(S,f){if(1&S&&(g.j41(0,"a",9),g.nI1(1,"memoize"),g.j41(2,"span",10),g.EFF(3),g.k0s()()),2&S){const D=g.XpG().$implicit,y=g.XpG(2);g.Y8G("href",y.getRedirectToPageURL(D.link2),g.B4B)("id",D.link2ElementId)("title",D.linkText2),g.BMQ("target",g.i5U(1,5,y.getlinkTarget,null==D?null:D.linkToTarget2)),g.R7$(3),g.JRh(D.linkText2)}}function C(S,f){if(1&S){const D=g.RV6();g.j41(0,"div",2)(1,"a",3),g.nI1(2,"memoize"),g.bIt("click",function(){const _=j.eBV(D).$implicit,R=g.XpG(2);return j.Njj(R.goToPage(_))}),g.j41(3,"div",4),g.nrm(4,"img",5),g.k0s(),g.j41(5,"span",6),g.EFF(6),g.k0s()(),g.j41(7,"div",7),g.nVh(8,F,2,1,"div",8),g.nVh(9,B,4,8,"a",9),g.k0s()()}if(2&S){const D=f.$implicit,y=g.XpG(2);g.Y8G("ngStyle",y.styleObj())("id",D.elementId||""),g.R7$(),g.Y8G("ngClass",g.l_i(13,te,D.noHover,D.imageNoScale))("title",D.altText||D.linkText),g.BMQ("target",g.i5U(2,10,y.getlinkTarget,null==D?null:D.linkToTarget)),g.R7$(3),g.Y8G("src",D.imagePath1,g.B4B)("alt",D.altText||D.linkText),g.R7$(2),g.JRh(D.linkText),g.R7$(2),g.vxM(D.header?8:-1),g.R7$(),g.vxM(D.linkText2&&D.link2?9:-1)}}function x(S,f){if(1&S&&(g.j41(0,"div",1),g.Z7z(1,C,10,16,"div",2,g.fX1),g.k0s()),2&S){const D=f.$implicit,y=g.XpG();g.Y8G("ngClass",g.l_i(1,pe,y.pageConfig().languageDirection,y.wrapperCss())),g.R7$(),g.Dyx(D)}}let m=(()=>{class S{onResize(){this.handleTilesPerRow()}ngAfterViewInit(){this.handleTilesPerRow()}constructor(D,y,_,R,U,re,X){this.pageService=D,this.router=y,this.browserWrapperService=_,this.contactService=R,this.commonService=U,this.windowRef=re,this.orderBy=X,this.destroySubject$=new M.B,this.data=(0,u.hFB)(null,{alias:"cardsData"}),this.wrapperCss=(0,u.hFB)(""),this.styleObj=(0,u.hFB)({margin:"15px"}),this.pageConfig=(0,$.EW)(()=>this.pageService.configSignal()),this.userState=(0,u.hFB)(""),this.chunkedData=(0,j.vPA)([]),this.itemsPerRow=i,this.window=(0,j.vPA)(null),this.window.set(this.windowRef.nativeWindow)}ngOnDestroy(){this.destroySubject$.next()}goToPage(D){const y=D?.link?.includes("/service/"),_=D?.link;if(_?.includes("https://")||_?.includes("http://")){const R="self"===D?.linkToTarget?"_self":"_blank";return this.window().open(encodeURI(_.replace(/{cc}-{lc}/g,this.commonService.getDefaultCCLC())),R)}if("services"===D.type.toLowerCase()){const R=D.elementId?.includes("_HP+");y?this.router.navigate([D?.link?.replace(/{cc}-{lc}/g,this.commonService.getDefaultCCLC())],{queryParamsHandling:"preserve"}):this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale}/contact/${D.link}${R?"?originid=hpplus":""}`);const U=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");U?.issueDesc1&&delete U?.issueDesc1,U?.issueDesc2&&delete U?.issueDesc2,U?.issueDesc1En&&delete U?.issueDesc1En,U?.issueDesc2En&&delete U?.issueDesc2En,this.browserWrapperService.setSessionStorageItem("contactFormMetaData",JSON.stringify(U))}else"poly"===D.type.toLowerCase()?this.router.navigate([`/${this.pageConfig().locale}/contact/${D.link}`],{queryParamsHandling:"preserve"}):this.contactService.checkTriageIsOn(this.userState()).pipe((0,s.Q)(this.destroySubject$)).subscribe(R=>{R?this.router.navigate([`/${this.pageConfig().locale}/contact/help/${D.type}
1`],{state:{title:D.linkText,type:D.type,context:!1}}):this.router.navigate([`/${this.pageConfig().locale}/contact/${D.link}`],{queryParamsHandling:"preserve"})})}getlinkTarget(D){return this.commonService.setLinkTarget(D)}ngOnInit(){}getRedirectToPageURL(D){return this.commonService.getNavigationUrl(this.commonService.getSanitizedUrl(D))}handleTilesPerRow(){let y=null;y=(typeof window<"u"?window.innerWidth:0)<=this.itemsPerRow.xsWidth?this.itemsPerRow.maxInXs:this.data().length>this.itemsPerRow.max?this.itemsPerRow.min:this.itemsPerRow.max;const _=this.orderBy.transform(this.data(),"order"),R=(0,N.A)(_,y);this.chunkedData.set([...R])}clearContactMetaData(D,y){this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale}/contact/${D.link}${y?"?originid=hpplus":""}`);const _=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");_?.issueDesc1&&delete _?.issueDesc1,_?.issueDesc2&&delete _?.issueDesc2,_?.issueDesc1En&&delete _?.issueDesc1En,_?.issueDesc2En&&delete _?.issueDesc2En,this.browserWrapperService.setSessionStorageItem("contactFormMetaData",JSON.stringify(_))}static{this.\u0275fac=function(y){return new(y||S)(g.rXU(W.b),g.rXU(e.Ix),g.rXU(ae.z),g.rXU(ue.u),g.rXU(me.h),g.rXU(n.$),g.rXU(p.Q))}}static{this.\u0275cmp=g.VBU({type:S,selectors:[["app-product-type"]],hostBindings:function(y,_){1&y&&g.bIt("resize",function(){return _.onResize()},g.tSv)},inputs:{data:[1,"cardsData","data"],wrapperCss:[1,"wrapperCss"],styleObj:[1,"styleObj"],userState:[1,"userState"]},features:[g.Jv_([p.Q])],decls:3,vars:0,consts:[[1,"cards-parent-container"],[1,"cards-container",3,"ngClass"],[1,"product-card",3,"ngStyle","id"],["href","javascript:void(0)",1,"link",3,"click","ngClass","title"],[1,"image-container"],[1,"icon","align-self-center",3,"src","alt"],["aria-hidden","true",1,"card-title"],[1,"instant-link"],[1,"link-header"],[3,"href","id","title"],["aria-hidden","true"]],template:function(y,_){1&y&&(g.j41(0,"div",0),g.Z7z(1,x,3,4,"div",1,g.fX1),g.k0s()),2&y&&(g.R7$(),g.Dyx(_.chunkedData()))},dependencies:[h.YU,h.B3,l.z],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.cards-container[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap;align-items:stretch}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{font-size:16px;font-family:HPSimplified;font-weight:400;text-align:center;line-height:1.25;margin:0 10px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{height:60px;margin:0 auto 17px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:block;max-height:60px;max-width:163px;margin:auto}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{display:block;width:220px;border-radius:10px;padding:35px 15px 18px;box-shadow:0 0 20px #00000029;background-color:#fff;transition:all .2s ease-in-out;height:170px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover, .cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:focus{box-shadow:0 0 20px #0000004d;transform:scale(1.091,1.12)}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:focus{box-shadow:0 0 6px #0096d6}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link.no-hover[_ngcontent-%COMP%]{box-shadow:0 0 20px #00000029;cursor:auto;text-decoration:none}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .instant-link[_ngcontent-%COMP%]{width:220px;padding:4px;min-height:20px;margin-top:10px;word-wrap:break-word}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .instant-link[_ngcontent-%COMP%] .link-header[_ngcontent-%COMP%]{font-weight:700;font-size:16px;line-height:24px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .instant-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;display:block;height:100%;line-height:24px;font-size:16px;font-weight:400}.cards-container.service-version[_ngcontent-%COMP%]{height:170px}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{width:220px;height:170px!important;padding:30px;display:flex;align-items:center}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:100%;height:auto;margin:0 auto}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{max-width:150px;max-height:110px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{width:155px;margin:10px!important}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{height:50px;margin:0 auto 7px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{max-height:50px;max-width:131px;margin-bottom:14px}.cards-container[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;width:155px;height:120px}.cards-container[_ngcontent-%COMP%] .instant-link[_ngcontent-%COMP%]{margin-top:5px!important;width:155px!important}.cards-container.service-version[_ngcontent-%COMP%]{height:120px}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{margin:0!important}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{width:155px;height:120px!important;padding:20px}.cards-container.service-version[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .link[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{max-width:102px;max-height:78px;margin-bottom:0}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ltr[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]{overflow:hidden;position:relative;line-height:20px;max-height:60px;margin-right:-1px;padding-right:1px}.ltr[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]:before{content:"...";position:absolute;right:0;bottom:0}.ltr[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]:after{content:"";position:absolute;right:0;width:1em;height:1em;margin-top:.2em;background:#fff}.rtl[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]{overflow:hidden;position:relative;line-height:20px;max-height:60px;margin-left:-1px;padding-left:1px}.rtl[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]:before{content:"...";position:absolute;
1left:0;bottom:0}.rtl[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] span.card-title[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;width:1em;height:1em;margin-top:.2em;background:#fff}}']})}}return S})()},61166(xe,le,a){a.d(le,{t:()=>K});var M=a(37580),s=a(85240),u=a(86763),$=a(93683),j=a(12481),N=a(19885);function p(l,h){if(1&l&&(j.j41(0,"span",4)(1,"a",5),j.EFF(2),j.k0s()()),2&l){const g=h.$implicit,W=j.XpG(2);j.R7$(),j.Y8G("href",j.ai1("/",W.pageConfig().locale,"/document/",g.docId),j.B4B)("id","RD-"+g.docId),j.R7$(),j.JRh(g.title)}}function i(l,h){if(1&l&&(j.j41(0,"div",1)(1,"div",2),j.EFF(2),j.k0s(),j.j41(3,"div",3),j.Z7z(4,p,3,5,"span",4,j.fX1),j.k0s()()),2&l){const g=j.XpG();j.R7$(2),j.SpI(" ",g.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Ref_Docs_Header"]," "),j.R7$(2),j.Dyx(g.referenceDocs())}}let K=(()=>{class l{constructor(g){this.pageService=g,this.referenceDocs=(0,s.vPA)([]),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.diagnosticResponse=(0,M.hFB)(null),this.allTranslations=(0,M.hFB)({})}ngOnChanges(g){JSON.stringify(g.diagnosticResponse?.currentValue)!==JSON.stringify(g.diagnosticResponse?.previousValue)&&this.buildDocumentSection()}buildDocumentSection(){this.referenceDocs.set(this.diagnosticResponse()?.slice(0,3)||[])}static{this.\u0275fac=function(W){return new(W||l)(j.rXU(N.b))}}static{this.\u0275cmp=j.VBU({type:l,selectors:[["app-referencedocuments"]],inputs:{diagnosticResponse:[1,"diagnosticResponse"],allTranslations:[1,"allTranslations"]},features:[j.OA$],decls:2,vars:2,consts:[[3,"ngClass"],[1,"referencedoc-wrapper"],[1,"reference-header"],[1,"reference-docsection"],[1,"doc-style"],["href","javascript:void(0)","target","_blank",1,"each-doc",3,"href","id"]],template:function(W,e){if(1&W&&(j.j41(0,"div",0),j.nVh(1,i,6,1,"div",1),j.k0s()),2&W){let ae;j.Y8G("ngClass","rtl"===e.pageConfig().languageDirection?"rtl":"ltr"),j.R7$(),j.vxM(null!=(ae=e.referenceDocs())&&ae.length?1:-1)}},dependencies:[$.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.referencedoc-wrapper[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;padding-left:15px}.referencedoc-wrapper[_ngcontent-%COMP%] .reference-header[_ngcontent-%COMP%]{margin-bottom:8px;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:18.54px;color:#000}.referencedoc-wrapper[_ngcontent-%COMP%] .reference-docsection[_ngcontent-%COMP%]{display:flex}.referencedoc-wrapper[_ngcontent-%COMP%] .reference-docsection[_ngcontent-%COMP%] .doc-style[_ngcontent-%COMP%]{max-width:33%;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:18.54px;color:#165dba}.referencedoc-wrapper[_ngcontent-%COMP%] .reference-docsection[_ngcontent-%COMP%] .doc-style[_ngcontent-%COMP%] .each-doc[_ngcontent-%COMP%]{width:85%;display:block}.rtl[_ngcontent-%COMP%] .referencedoc-wrapper[_ngcontent-%COMP%]{padding-right:15px}@media screen and (max-width:767px){.referencedoc-wrapper[_ngcontent-%COMP%]{padding-top:20px}.referencedoc-wrapper[_ngcontent-%COMP%] .reference-docsection[_ngcontent-%COMP%]{display:grid}.referencedoc-wrapper[_ngcontent-%COMP%] .doc-style[_ngcontent-%COMP%]{max-width:unset!important}.referencedoc-wrapper[_ngcontent-%COMP%] .doc-style[_ngcontent-%COMP%] .each-doc[_ngcontent-%COMP%]{width:100%}}"]})}}return l})()},31226(xe,le,a){a.d(le,{F:()=>se});var M=a(85240),s=a(37580),u=a(86763),$=a(93551),j=a(2435),N=a(20572),p=a(84205),i=a(33900),K=a(93683),l=a(12481),h=a(19885);let g=(()=>{class H{constructor(w){this.pageService=w,this.privacyLink=(0,s.hFB)(""),this.allTranslations=(0,s.hFB)({}),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal())}ngOnInit(){}static{this.\u0275fac=function(P){return new(P||H)(l.rXU(h.b))}}static{this.\u0275cmp=l.VBU({type:H,selectors:[["app-model-footer"]],inputs:{privacyLink:[1,"privacyLink"],allTranslations:[1,"allTranslations"]},decls:5,vars:4,consts:[[1,"modal-footer",3,"ngClass"],["target","_blank",3,"href"]],template:function(P,A){1&P&&(l.j41(0,"div",0)(1,"a",1),l.EFF(2),l.k0s(),l.j41(3,"p"),l.EFF(4),l.k0s()()),2&P&&(l.Y8G("ngClass","rtl"===A.pageConfig().languageDirection?"rtl":"ltr"),l.R7$(),l.Y8G("href",A.privacyLink(),l.B4B),l.R7$(),l.JRh(A.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_PrivacyPolicy"]),l.R7$(2),l.JRh(A.allTranslations()["#pps_WCC_FS_HomeHP_NeedHelp_Modal_CopyRight"]))},dependencies:[K.YU],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.modal-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;margin:0}
1.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;margin:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;padding:10px 28px 20px}.modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-bottom:3px}}"]})}}return H})();var W=a(1681),e=a(60480),ae=a(8130);let ue=(()=>{class H{constructor(w,P,A,Z){this.pageService=w,this.modalService=P,this.commonSrvc=A,this.appSelectorStore=Z,this.seriesOid=(0,M.vPA)(null),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,M.vPA)({}),this.destroySubject$=new p.B,this.privacyLink=(0,M.vPA)(""),this.imgUrl=(0,M.vPA)("")}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,i.Q)(this.destroySubject$)).subscribe(w=>this.allTranslations.set(w)),this.commonSrvc.hpDotComCcLcMappingSub.pipe((0,i.Q)(this.destroySubject$)).subscribe(w=>{let P=w[`${this.pageConfig().cc}-${this.pageConfig().lc}`];null==w[`${this.pageConfig().cc}-${this.pageConfig().lc}`]&&(P=`${this.pageConfig().cc}-${this.pageConfig().lc}`),this.privacyLink.set(`https://www.hp.com/${P}/privacy/privacy.html`)})}onVersionsReady(w){this.imgUrl.set(w.imageUrl)}closeModal(){this.modalService.dismissAll()}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(P){return new(P||H)(l.rXU(h.b),l.rXU(N.Bq),l.rXU(e.h),l.rXU(ae.q))}}static{this.\u0275cmp=l.VBU({type:H,selectors:[["app-select-model-modal"]],decls:17,vars:11,consts:[[1,"modal-wrapper",3,"ngClass"],[1,"modal-header"],["width","50px","height","50px","alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"d-none","d-md-block"],["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"],[1,"modal-contents"],[1,"title"],[1,"content"],[1,"image"],["alt","device icon",3,"src"],[1,"dropdown-wrapper"],["wrapperClass","model-version",3,"onVersionsReady","submitButtonText","versionDropdownLabel","versionDropdownHeading","seriesId"],[3,"privacyLink","allTranslations"]],template:function(P,A){1&P&&(l.j41(0,"div",0)(1,"div",1),l.nrm(2,"img",2),l.j41(3,"h3",3),l.EFF(4),l.k0s(),l.j41(5,"button",4),l.bIt("click",function(){return A.closeModal()}),l.j41(6,"span",5),l.EFF(7,"\xd7"),l.k0s()()(),l.j41(8,"div",6)(9,"p",7),l.EFF(10),l.k0s(),l.j41(11,"div",8)(12,"div",9),l.nrm(13,"img",10),l.k0s(),l.j41(14,"div",11)(15,"app-choose-service",12),l.bIt("onVersionsReady",function(Pe){return A.onVersionsReady(Pe)}),l.k0s()()()(),l.nrm(16,"app-model-footer",13),l.k0s()),2&P&&(l.Y8G("ngClass","rtl"===A.pageConfig().languageDirection?"rtl":"ltr"),l.R7$(4),l.SpI("",A.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"]," "),l.R7$(6),l.JRh(A.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Entry_Specific_SN_Config_Modal_Sub_Heading_Text"]),l.R7$(3),l.Y8G("src",A.imgUrl(),l.B4B),l.R7$(2),l.Y8G("submitButtonText",A.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("versionDropdownLabel",A.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Entry_Specific_SN_Config_Modal_DD_Header_Text"])("versionDropdownHeading",A.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"])("submitButtonText",A.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("seriesId",A.seriesOid()),l.R7$(),l.Y8G("privacyLink",A.privacyLink())("allTranslations",A.allTranslations()))},dependencies:[K.YU,W.y,g],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:14px 26px 11px 36px!important;border-bottom:1px solid #cccccc}
1.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:20px;margin-left:20px}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%]{margin:19px 35px 30px 41px}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{margin-left:36px;width:100%;align-self:center}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;color:#2c3038;margin:20px 0 0}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{min-width:180px;min-height:150px;max-width:208px;max-height:180px}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;line-height:20px;margin:0 0 20px;text-align:center;color:#000}.modal-wrapper[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.modal-wrapper[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.modal-wrapper[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;margin:0}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:14px 36px 11px 26px!important}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin:0 20px 0 0;position:unset}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%]{margin:19px 41px 30px 35px}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{margin-left:0;margin-right:36px;width:100%}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;color:#2c3038;margin:20px 0 0}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{max-width:208px;max-height:180px}.rtl[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;line-height:20px;margin:0 0 33px 13px;color:#000}.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:7px 26px 14px;font-family:HPSimplified;border-top:1px solid #cccccc}.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.rtl[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;margin:0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:39px 47px 17px 27px!important}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-left:0;line-height:39px}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:6px;right:16px}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%]{margin:22px 12px 24px 27px}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex-direction:column}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{margin:0}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{margin:0 auto}.modal-wrapper[_ngcontent-%COMP%] .modal-contents[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0 0 10px}
1.modal-wrapper[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;padding:10px 28px 20px}.modal-wrapper[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-bottom:3px}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{padding:39px 27px 17px 47px!important}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-right:0}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{right:unset;left:16px}}"]})}}return H})();var me=a(59452),n=a(52575),pe=a(91817),te=a(98764),F=a(36647),B=a(61318);const C={5:{productType:"desktop"},1:{productType:"printer"},2:{productType:"laptop"},9:{productType:"adapter"}};var x=a(70739),m=a(54041),S=a(34456),f=a(49074),D=a(72990),y=a(60809),_=a(4804),R=a(71839),U=a(72608),re=a(24938),X=a(44192),Q=a(11439);const q=["searchFieldInputRef"],J=["nonSearchFieldInputRef"],oe=["productFieldInputRef"],_e=(H,G,w)=>[H,G,w];function L(H,G){if(1&H){const w=l.RV6();l.j41(0,"div",5)(1,"app-choose-service",7),l.bIt("versionSelected",function(){M.eBV(w);const A=l.XpG();return M.Njj(A.versionSelected())}),l.k0s()()}if(2&H){const w=l.XpG();l.R7$(),l.Y8G("submitButtonText",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("versionDropdownLabel",w.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Header_Text"])("versionDropdownHeading",w.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Product_Ribbon_SN_Not_Needed_Select_Model_DD_Ghost_Text"])("_disableSubmit",!w.serialNumberButtonDisabled())("submitButtonText",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])("seriesId",w.seriesOid())}}function de(H,G){if(1&H&&(l.j41(0,"p",21),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.AVh("bold-title",w.boldTitle()),l.R7$(),l.JRh(w.allTranslations()["#pps_WCC_FS_Product_Finder_Other_Selected_Label_Text1"])}}function E(H,G){if(1&H&&(l.j41(0,"p",22),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.AVh("bold-title",w.boldTitle()),l.R7$(),l.SpI("",w.allTranslations()["#pps_WCC_FS_Product_finder_label2"],":")}}function z(H,G){if(1&H){const w=l.RV6();l.j41(0,"a",23),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.clearSerialNumberField())})("keydown.enter",function(A){M.eBV(w);const Z=l.XpG(2);return M.Njj(Z.onEnterCloseSerialNumberIcon(A))}),l.k0s()}}function V(H,G){if(1&H&&(l.j41(0,"p",18),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Common_Error_Text"])}}function Ce(H,G){if(1&H&&(l.j41(0,"p",18),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.R7$(),l.Lme(" ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]," ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function ne(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",24),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitSearchQuery())}),l.j41(1,"span",25),l.EFF(2),l.k0s()()}if(2&H){const w=l.XpG(2);l.AVh("sn-submit-hidden",w.showProductNumberField()&&w.hideSNSubmitOnPN())("hide-submit-mobile",w.mobileAltSubmit()),l.Y8G("disabled",!w.serialNumberEntered()||w.serialNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(2),l.JRh(w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function ve(H,G){if(1&H&&l.nrm(0,"ngb-highlight",26),2&H){const w=G.result,P=G.term;l.Y8G("id",l.mNQ(w.productId))("result",w.name)("term",P)}}function he(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",27),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitSearchQuery())}),l.EFF(1),l.k0s()}if(2&H){const w=l.XpG(2);l.AVh("hidden",w.showProductNumberField()&&w.hideSNSubmitOnPN()),l.Y8G("disabled",!w.serialNumberEntered()||w.serialNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function De(H,G){if(1&H){const w=l.RV6();l.j41(0,"div",8),l.nVh(1,de,2,3,"p",9),l.nVh(2,E,2,3,"p",10),l.j41(3,"div",11)(4,"label",12),l.EFF(5),l.k0s(),l.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",16,0),l.bIt("selectItem",function(A){M.eBV(w);const Z=l.XpG();return M.Njj(Z.onOptionSelection(A))})("ngModelChange",function(A){M.eBV(w);const Z=l.XpG();return Z.serialNumberModel.set(A),M.Njj(Z.onChangeSerialSearchInput(A))})("keyup",function(A){M.eBV(w);const Z=l.XpG();return M.Njj(Z.onSerialSearchNumberKeyUpEvent(A))}),l.k0s(),l.nVh(11,z,1,0,"a",17),l.k0s(),l.nVh(12,V,2,1,"p",18),l.nVh(13,Ce,2,2,"p",18),l.k0s(),l.nVh(14,ne,3,7,"button",19),l.DNE(15,ve,1,4,"ng-template",null,1,l.C5r),l.k0s(),l.nVh(17,he,2,5,"button",20),l.k0s()()}if(2&H){const w=l.sdS(16),P=l.XpG();l.AVh("full-width-input",P.hideAllSubmit())("has-alt-submit",P.mobileAltSubmit()),l.R7$(),l.vxM(P.alternateTitle()?-1:1),l.R7$(),l.vxM(P.alternateTitle()?2:-1),l.R7$(3),l.JRh(P.allTranslations()["#pps_WCC_FS_Product_Finder_Other_Selected_Label_Text1"]),l.R7$(3),l.AVh("has-error",P.invalidSN()||P.showProductNumberField()&&!P.productNumberSubmitted()),l.R7$(),l.Y8G("ngModel",P.serialNumberModel())("placeholder",P.allTranslations()["#pps_WCC_FS_UCE_Choose_Product_Not_Signed_In_Enter_Serial_No_Ghost_Text"])("ngbTypeahead",P.search)("focusFirst",!1)("inputFormatter",P.formatter)("resultTemplate",w),l.R7$(2),l.vxM(P.serialNumberEntered()?11:-1),l.R7$(),l.vxM(P.invali
1dSN()?12:-1),l.R7$(),l.vxM(P.showProductNumberField()&&!P.productNumberSubmitted()?13:-1),l.R7$(),l.vxM(P.hideAllSubmit()?-1:14),l.R7$(3),l.vxM(P.mobileAltSubmit()&&!P.hideAllSubmit()?17:-1)}}function Ee(H,G){if(1&H&&(l.j41(0,"p",21),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.AVh("bold-title",w.boldTitle()),l.R7$(),l.JRh(w.allTranslations()[w.serialNumberTitle()])}}function Be(H,G){if(1&H&&(l.j41(0,"p",22),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.AVh("bold-title",w.boldTitle()),l.R7$(),l.SpI("",w.allTranslations()["#pps_WCC_FS_Product_finder_label2"],":")}}function Ae(H,G){if(1&H){const w=l.RV6();l.j41(0,"a",23),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.clearSerialNumberField())})("keydown.enter",function(A){M.eBV(w);const Z=l.XpG(2);return M.Njj(Z.onEnterCloseSerialNumberIcon(A))}),l.k0s()}}function Ge(H,G){if(1&H&&(l.j41(0,"p",18),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text"])}}function Se(H,G){if(1&H&&(l.j41(0,"p",18),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.R7$(),l.Lme(" ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1"]," ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2"])}}function Fe(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",24),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitSerialNumber())}),l.j41(1,"span",25),l.EFF(2),l.k0s()()}if(2&H){const w=l.XpG(2);l.AVh("sn-submit-hidden",w.showProductNumberField()&&w.hideSNSubmitOnPN())("hide-submit-mobile",w.mobileAltSubmit()),l.Y8G("disabled",!w.serialNumberEntered()||w.serialNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(2),l.JRh(w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function tt(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",27),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitSerialNumber())}),l.EFF(1),l.k0s()}if(2&H){const w=l.XpG(2);l.AVh("hidden",w.showProductNumberField()&&w.hideSNSubmitOnPN()),l.Y8G("disabled",!w.serialNumberEntered()||w.serialNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function Ke(H,G){if(1&H){const w=l.RV6();l.j41(0,"div",8),l.nVh(1,Ee,2,3,"p",9),l.nVh(2,Be,2,3,"p",10),l.j41(3,"div",11)(4,"label",12),l.EFF(5),l.k0s(),l.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",28,2),l.bIt("ngModelChange",function(A){M.eBV(w);const Z=l.XpG();return Z.serialNumberModel.set(A),M.Njj(Z.onChangeSerialNumberInput(A))})("keyup",function(A){M.eBV(w);const Z=l.XpG();return M.Njj(Z.onSerialNumberKeyUpEvent(A))}),l.k0s(),l.nVh(11,Ae,1,0,"a",17),l.k0s(),l.nVh(12,Ge,2,1,"p",18),l.nVh(13,Se,2,2,"p",18),l.k0s(),l.nVh(14,Fe,3,7,"button",19),l.k0s(),l.nVh(15,tt,2,5,"button",20),l.k0s()()}if(2&H){const w=l.XpG();l.AVh("full-width-input",w.hideAllSubmit())("has-alt-submit",w.mobileAltSubmit()),l.R7$(),l.vxM(w.alternateTitle()?-1:1),l.R7$(),l.vxM(w.alternateTitle()?2:-1),l.R7$(3),l.JRh(w.allTranslations()[w.serialNumberTitle()]),l.R7$(3),l.AVh("has-error",w.invalidSN()||w.showProductNumberField()&&!w.productNumberSubmitted()),l.R7$(),l.Y8G("ngModel",w.serialNumberModel())("placeholder",w.allTranslations()["#pps_WCC_FS_UCE_Choose_Product_Not_Signed_In_Enter_Serial_No_Ghost_Text"]),l.R7$(2),l.vxM(w.serialNumberEntered()?11:-1),l.R7$(),l.vxM(w.invalidSN()?12:-1),l.R7$(),l.vxM(w.showProductNumberField()&&!w.productNumberSubmitted()?13:-1),l.R7$(),l.vxM(w.hideAllSubmit()?-1:14),l.R7$(),l.vxM(w.mobileAltSubmit()&&!w.hideAllSubmit()?15:-1)}}function Qe(H,G){if(1&H){const w=l.RV6();l.j41(0,"a",34),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.clearProductNumberField())})("keydown.enter",function(A){M.eBV(w);const Z=l.XpG(2);return M.Njj(Z.onEnterCloseProductNumberIcon(A))}),l.k0s()}}function Je(H,G){if(1&H&&(l.j41(0,"p",18),l.EFF(1),l.k0s()),2&H){const w=l.XpG(2);l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Name_Error_Text"])}}function nt(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",35),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitProductNumber())}),l.j41(1,"span",25),l.EFF(2),l.k0s()()}if(2&H){const w=l.XpG(2);l.AVh("hide-submit-mobile",w.mobileAltSubmit()),l.Y8G("disabled",!w.productNumberEntered()||w.productNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(2),l.JRh(w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"])}}function Ze(H,G){if(1&H){const w=l.RV6();l.j41(0,"button",36),l.bIt("click",function(){M.eBV(w);const A=l.XpG(2);return M.Njj(A.submitProductNumber())}),l.EFF(1),l.k0s()}if(2&H){const w=l.XpG(2);l.AVh("hide-submit-mobile",w.mobileAltSubmit()),l.Y8G("disabled",!w.productNumberEntered()||w.productNumberButtonDisabled())("title",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]),l.R7$(),l.SpI(" ",w.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}}function it(H,G){if(1&H){const w=l.RV6();l.j41(0,"div",8)(1,"p"),l.EFF(2),l.k0s(),l.j41(3,"div",11)(4,"label",29),l.EFF(5),l.k0s(),l.j41(6,"div",13)(7,"div",14)(8,"div",15)(9,"input",30,3),l.bIt("ngModelChange",function(A){M.eBV(w);const Z=l.XpG();return Z.productNumberModel.set(A),M.Njj(Z.onChangeProductNumberInput(A))})("keyup",function(A){M.eBV(w);const Z=l.XpG();return M.Njj(Z.onProductNumberKeyUpEvent(A))}),l.k0s(),l.nVh(11,Qe,1,0,"a",31),l.k0s(),l.nVh(12,Je,2,1,"p",18),l.k0s(),l.nVh(13,nt,3,5,"button",32),l.k0s(),l.nVh(14,Ze,2,5,"button",33),l.k0s()()}if(2&H){const w=l.XpG();l.AVh("full-width-input",w.hideAllSubmit())("has-alt-submit",w.mobileAltSubmit()),l.R7$(),l.AVh("bold-title",w.boldTitle()),l.R7$(),l.JRh(w.allTranslations()[w.productNumberTitle()]),l.R7$(3),l.JRh(w.allTranslations()[w.productNumberTitle()]),l.R7$(3),l.AVh("has-error",w.invalidPN()),l.R7$(),l.Y8G("ngModel",w.productNumberModel())("placeholder",w.allTranslations()["#pps_WCC_FS_Product_Finder_Product_Placeholder_Text"]),l.R7$(2),l.vxM(w.productNumberEntered()?11:-1),l.R7$(),l.vxM(w.invalidPN()?12:-1),l.R7$(),l.vxM(w.hideAllSubmit()?-1:13),l.R7$(),l.vxM(w.mobileAltSubmit()&&!w.hideAllSubmit()?14:-1)}}let ke,k,ie,fe="",se=(()=>{class H{constructor(w,P,A,Z,Pe,ye,Ne,We,He,ze,je,qe,st){this.commonService=w,this.pageService=P,this.browserWrapperService=A,this.loadingScreenService=Z,this.globalDataService=Pe,this.modalService=ye,this.contactService=Ne,this.searchResultsService=We,this.router=He,this.warrantySpecsService=ze,this.store=je,this.destroyRef=qe,this.document=st,this.serialNumberModel=(0,M.vPA)(""),this.serialNumberEntered=(0,M.vPA)(!1),this.serialNumberButtonDisabled=(0,M.vPA)(!0),this.showProductNumberField=(0,M.vPA)(!1),this.productNumberModel=(0,M.vPA)(""),this.productNumberEntered=(0,M.vPA)(!1),this.productNumberSubmitted=(0,M.vPA)(!1),this.productNumberButtonDisabled=(0,M.vPA)(!0),this.searching=(0,M.vPA)(!1),this.serialNumberTitle=(0,s.geq)(""),this.productNumberTitle=(0,s.hFB)(""),this.allTranslations=(0,s.hFB)({}),this.hideSNSubmitOnPN=(0,s.hFB)(!1),this.hideAllSubmit=(0,s.hFB)(!1),this.mobileAltSubmit=(0,s.hFB)(!1),this.boldTitle=(0,s.hFB)(!1),this.searchField=(0,s.hFB)(!1),this.wrapperClass=(0,s.hFB)(""),this.pageName=(0,s.hFB)(""),this.SNBoxPosition=(0,s.hFB)(null),this.alternateTitle=(0,s.hFB)(!1),this.serialNumberEmitter=(0,s.CGW)(),this.productNumberEmitter=(0,s.CGW)(),this.showProductNumberEmitter=(0,s.CGW)(),this.enterPressedEmitter=(0,s.CGW)(),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.invalidSN=(0,M.vPA)(!1),this.invalidPN=(0,M.vPA)(!1),this.enableModelEntry=(0,M.vPA)(!1),this.seriesOid=(0,M.vPA)(null),this.gdlObj=(0,M.vPA)({ContactEntitlementresults:{SNentry:"",SNEntryType:""}}),this.isSolutionPageVisited=(0,M.vPA)(!1),this.pfinderMinCharLen=(0,M.vPA)(""),this.ssckeys=(0,M.vPA)(null),this.searchFieldInputRef=(0,s.ebz)("searchFieldInputRef"),this.nonSearchFieldInputRef=(0,s.ebz)("nonSearchFieldInputRef"),this.productFieldInputRef=(0,s.ebz)("productFieldInputRef"),this.getToken=()=>{setTimeout(()=>{if(window.grecaptcha?.enterprise?.execute)try{window.grecaptcha?.enterprise?.ready(()=>{window.grecaptcha?.enterprise?.execute(ke,{action:"submit"}).then(Ye=>{fe=Ye},()=>{this.getToken()})})}catch{this.getToken()}else this.getToken()},5)}
1,this.showModelsDropdown=(0,u.EW)(()=>{const Ye=this.window?.location?.pathname?.split("/")?.pop();return this.enableModelEntry()&&this.seriesOid()&&x.D5.modelDropdownEnabledRoutes.includes(Ye)}),this.search=Ye=>Ye.pipe((0,n.B)(300),(0,pe.F)(),(0,te.M)(()=>this.searching.set(!0)),(0,F.n)(ot=>this.contactService.search(ot).pipe((0,te.M)(()=>{this.serialNumberEntered.set(!0)}),(0,B.W)(()=>(0,me.of)([])))),(0,te.M)(()=>this.searching.set(!1))),this.formatter=Ye=>Ye.name,this.window=this.document.defaultView}ngOnInit(){this.getSSCconfig(),this.globalDataService.updateGDL(this.gdlObj(),!0),this.commonService.resetSerialNumberEntryForm.pipe((0,f.pQ)(this.destroyRef)).subscribe(w=>{this.clearAllFields()}),this.commonService.productSubmit.pipe((0,f.pQ)(this.destroyRef)).subscribe(w=>{this.serialNumberEntered()&&(this.showProductNumberField()?this.submitProductNumber():this.submitSerialNumber())})}fetchDeviceData(w){let P=this.browserWrapperService.getSessionStorageItem("productData");if(P){const Z=this.warrantySpecsService.getSingleDevice(P)?.productSpecs;("both"===w?.toLowerCase()||(w?.toLowerCase()).includes(Z?.seriesLevelAudienceFlag?.toLowerCase())||Z?.prodCategory===x.CH)&&Z?.productSeriesOid&&(Z?.seriesContext||Z?.modelContext)&&(this.seriesOid.set(Z?.productSeriesOid),this.showModelsDropdown()&&this.serialNumberTitle.set("#pps_WCC_FS_Product_finder_label2"))}}getSSCconfig(){this.store.select(m.FM).pipe((0,j.$)(w=>!(0,$.A)(w))).subscribe(w=>{this.ssckeys.set(w),this.ssckeys()?.SLNO_REQUIRED_CONTACT&&this.ssckeys()?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT&&(this.enableModelEntry.set("yes"!==this.ssckeys().SLNO_REQUIRED_CONTACT.toLowerCase()),this.enableModelEntry()&&this.fetchDeviceData(this.ssckeys()?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT)),ke=this.ssckeys()?.RECAPTCHA_SITE_KEY||"",k=this.ssckeys()?.RECAPTCHA_SITE_URL||"",ie=this.ssckeys()?.RECAPTCHA_SITE_URL_CHINA||"";const P=this.ssckeys().ENABLE_POLY_SEARCH_EXP&&this.ssckeys().ENABLE_POLY_SEARCH_EXP?this.ssckeys().ENABLE_POLY_SEARCH_EXP:"";this.pfinderMinCharLen.set("YES"==P.toUpperCase()?this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH&&this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH?this.ssckeys().PFINDER_SN_MIN_CHAR_LENGTH:"6":"1")})}onChangeSerialNumberInput(w){this.invalidSN.set(!1),this.showProductNumberField.set(!1),w&&"string"==typeof w&&(w=w.trim()),this.serialNumberEntered()||this.serialNumberEntered.set(this.serialNumberModel().length>0),this.serialNumberEmitter.emit(w),this.showProductNumberEmitter.emit(this.showProductNumberField()),w.length>=parseInt(this.pfinderMinCharLen())?this.serialNumberButtonDisabled.set(!1):this.serialNumberButtonDisabled.set(!0)}onChangeSerialSearchInput(w){this.invalidSN.set(!1),this.showProductNumberField.set(!1),w&&"string"==typeof w&&(w=w.trim()),this.serialNumberEntered()||this.serialNumberEntered.set(this.serialNumberModel().length>0),this.serialNumberEmitter.emit(w),this.showProductNumberEmitter.emit(this.showProductNumberField()),this.serialNumberButtonDisabled.set(!(w.length>0))}onSerialNumberKeyUpEvent(w){this.serialNumberEntered.set(this.serialNumberModel().length>0),"Enter"===w.key&&this.serialNumberEntered()&&(this.serialNumberButtonDisabled.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitSerialNumber())}onSerialSearchNumberKeyUpEvent(w){this.serialNumberEntered.set(this.serialNumberModel().length>0),"Enter"===w.key&&this.serialNumberEntered()&&(this.serialNumberButtonDisabled.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitSearchQuery())}clearSerialNumberField(w){this.serialNumberButtonDisabled.set(!0),setTimeout(()=>{this.serialNumberModel.set(""),this.serialNumberEmitter.emit(this.serialNumberModel()),this.serialNumberEntered.set(!1),this.invalidSN.set(!1),this.gdlObj.set({ContactEntitlementresults:{SNentry:"",SNEntryType:""}}),this.globalDataService.updateGDL(this.gdlObj(),!0),this.showProductNumberField.set(!1),this.clearProductNumberField()}),!w&&(this.searchField()?this.searchFieldInputRef()?.nativeElement.focus():this.nonSearchFieldInputRef()?.nativeElement.focus())}onEnterCloseSerialNumberIcon(w){w.preventDefault(),this.clearSerialNumberField()}onChangeProductNumberInput(w){this.invalidPN.set(!1),w=w.trim(),this.productNumberSubmitted.set(!1),this.productNumberEmitter.emit(w),w.length>0?(this.productNumberEntered.set(!0),this.productNumberButtonDisabled.set(!1)):this.productNumberButtonDisabled.set(!0)}onProductNumberKeyUpEvent(w){this.productNumberEntered.set(this.productNumberModel().length>0),"Enter"===w.key&&this.productNumberEntered()&&(this.productNumberButtonDisabled.set(!0),this.productNumberSubmitted.set(!0),this.hideAllSubmit()?this.enterPressedEmitter.emit():this.submitProductNumber())}clearProductNumberField(){this.productNumberButtonDisabled.set(!0),setTimeout(()=>{this.productNumberModel.set(""),this.productNumberEntered.set(!1),this.productNumberSubmitted.set(!1),this.productNumberEmitter.emit(this.productNumberModel()),this.invalidPN.set(!1)}),this.productFieldInputRef()?.nativeElement.focus()}clearAllFields(){this.clearSerialNumberField(),this.showProductNumberField.set(!1),this.clearProductNumberField()}onEnterCloseProductNumberIcon(w){w.preventDefault(),this.clearProductNumberField()}submitSerialNumber(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.ssckeys())?(this.submitQuery(this.serialNumberModel()),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|SN"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)):(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}submitSearchQuery(w){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0);const P=this.serialNumberModel();this.searchResultsService.checkSnPnConflict(P,"PfinderContact",w).then(
1Z=>{if(Z&&Z.code&&200===Z.code){const Pe=Z?.data?.verifyResponse,ye=Z?.data?.kaaSResponse;if(200===Pe?.code&&(Z?.conflict&&Z?.result?.verifySelected||!Z?.conflict)){let Ne="";Pe?.data?.targetUrl&&(Ne=`/${this.pageConfig().locale}${Pe.data.targetUrl}`),Ne.length>0?"contact"===Ne.split("/")?.[2]?(this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0)),this.contactService.gotoContactOptionsWithUrl(Ne)):(this.loadingScreenService.startLoading(!0),window.location.href=Ne):this.invalidSN.set(!0)}else if(200===ye?.code){let Ne="";if(1===ye?.data?.searchResults?.categories?.length){const We=ye?.data?.searchResults?.categories[0];if(We.subCategoryList&&1===We.subCategoryList.length){const He=We.subCategoryList[0].productList[0].targetUrl;Ne=`/${this.pageConfig().locale}${He}`}else We.subCategoryList&&We.subCategoryList.length>1&&(Ne=`/${this.pageConfig().locale}/deviceSearch?q=${P}&origin=PfinderContact`)}else ye?.data?.searchResults?.categories&&ye?.data?.searchResults?.categories.length>1&&(Ne=`/${this.pageConfig().locale}/deviceSearch?q=${P}&origin=PfinderContact`);Ne.length>0?"contact"===Ne.split("/")?.[2]?(this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0)),this.router.navigateByUrl(Ne)):(this.loadingScreenService.startLoading(!0),window.location.href=Ne):this.invalidSN.set(!0)}else 406===Pe?.code&&Pe?.message===x._P.MULTIPLE_DEVICES?this.showProductNumberField.set(!0):this.invalidSN.set(!0)}else this.serialNumberButtonDisabled.set(!1)},()=>{this.serialNumberButtonDisabled.set(!1)})}submitProductNumber(){this.globalDataService.updateGDL({Flag:{searchExecuted:!0}},!0),this.commonService.isProductNumberPattern(this.productNumberModel())?this.searchField()?this.submitSearchQuery(this.productNumberModel()):(this.productNumberSubmitted.set(!0),this.submitQuery(this.serialNumberModel(),this.productNumberModel())):this.invalidPN.set(!0)}validateSerialNumber(){this.commonService.isSerialNumberPattern(this.serialNumberModel(),this.ssckeys())||(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}onOptionSelection(w){this.browserWrapperService.setSessionStorageItem("serialNumberEntry",JSON.stringify(!0));const P=w.item;P&&(this.serialNumberEntered.set(!0),this.serialNumberModel.set(P.name),this.serialNumberButtonDisabled.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|typeahead"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)),this.contactService.optionSelector(P)}validateProductNumber(){this.commonService.isProductNumberPattern(this.serialNumberModel())||this.invalidPN.set(!0)}showProductNumber(){this.showProductNumberField.set(!0),this.showProductNumberEmitter.emit(this.showProductNumberField())}openRetiredProductModal(){this.commonService.openRetiredProductModal()}submitQuery(w,P){const A=(Z,Pe)=>{const ye=this.addCallMeParam(Z.data.targetUrl);if(Pe&&"ContactHP-Productselection"===this.pageName()){const Ne=this.warrantySpecsService.getSingleDevice(Pe);let We=Ne?.warranty?.productLineCode||Ne?.productSpecs?.productLineCode;this.contactService.checkTriageIsOn("guest",null,this.contactService.checkDeviceSubscription(Pe),Z.data.productSeriesOID,!0,We).pipe((0,f.pQ)(this.destroyRef)).subscribe(He=>{if(He){const je=-1===["5","2","1"].indexOf(Z.data.productType.toString())?"product":C[Z.data.productType.toString()].productType;this.globalDataService.updateGDL({Product:{serialNumber:Z.data.serialNumber,historicalWebSupportFlag:Z?.data?.historicalWebSupportFlag}},!0),this.commonService.updateContactProductContext({sku:Z?.data?.altProductNumber||Z?.data?.productNumber,serialNumber:Z.data.serialNumber,seriesName:Z.data.SEOFriendlyName,seriesOid:Z.data.productSeriesOID,modelOid:Z.data.productNameOID}),this.router.navigate([`/${this.pageConfig().locale}/contact/help/${je}`],{state:{title:je,type:je,context:!0}})}else this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale+ye}`)})}else this.contactService.gotoContactOptionsWithUrl(`/${this.pageConfig().locale+ye}`)};this.searchResultsService.checkSnPnConflict(w,"PfinderContact",P,!0).then(Z=>{if((0,$.A)(Z))this.serialNumberButtonDisabled.set(!1);else{const Pe=Z?.data?.verifyResponse;200===Pe?.code&&Pe.data?"contact"===this.pageConfig().pageName?this.warrantySpecsService.getWarrantySpecsData({serialNumber:Pe.data.seri
1alNumber,sku:Pe?.data?.altProductNumber||Pe?.data?.productNumber,seriesName:Pe.data.SEOFriendlyName,seriesOid:Pe.data.productSeriesOID,modelOid:Pe.data.productNameOID}).subscribe(Ne=>{const He=this.warrantySpecsService.getSingleDevice(Ne)?.productSpecs;Ne&&(He?.seriesLevelHistorical||He?.modelLevelHistorical)?this.openRetiredProductModal():A(Z?.data?.verifyResponse,Ne)}):A(Z?.data?.verifyResponse):406===Pe?.code&&Pe?.message===x._P.MULTIPLE_DEVICES?(this.showProductNumberField.set(!0),this.showProductNumberField.set(!0),this.showProductNumberEmitter.emit(this.showProductNumberField()),this.serialNumberButtonDisabled.set(!0)):P&&(204===Pe?.code||406===Pe?.code&&Pe?.message===x._P.PN_NOT_VALID)?(this.invalidPN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"true",SNEntryType:"True|SN|typed"}}),this.globalDataService.updateGDL(this.gdlObj(),!0)):this.showModelsDropdown()&&204===Pe?.code?this.selectModel():(this.invalidSN.set(!0),this.gdlObj.set({ContactEntitlementresults:{SNentry:"True",SNEntryType:"false"}}),this.globalDataService.updateGDL(this.gdlObj(),!0))}},()=>{this.serialNumberButtonDisabled.set(!1)})}addCallMeParam(w){return"callme"===this.pageConfig().originId&&(/\?/.test(w)?w+="&originid=callme":w+="?originid=callme"),w}versionSelected(){this.clearSerialNumberField(!0)}selectModel(){const w=this.modalService.open(ue,{windowClass:"select-model-modal",size:"sm"});w.componentInstance.isModal=!0,w.componentInstance.seriesOid.set(this.seriesOid()),w.result.then(()=>{this.modalService.dismissAll()})}static{this.\u0275fac=function(P){return new(P||H)(l.rXU(e.h),l.rXU(h.b),l.rXU(D.z),l.rXU(y.s),l.rXU(_.a),l.rXU(N.Bq),l.rXU(R.u),l.rXU(U.Q),l.rXU(re.Ix),l.rXU(X.a),l.rXU(Q.il),l.rXU(M.abz),l.rXU(M.qQL))}}static{this.\u0275cmp=l.VBU({type:H,selectors:[["app-serial-number-entry"]],viewQuery:function(P,A){1&P&&(l.wEZ(A.searchFieldInputRef,q,5),l.wEZ(A.nonSearchFieldInputRef,J,5),l.wEZ(A.productFieldInputRef,oe,5)),2&P&&l.NyB(3)},inputs:{serialNumberTitle:[1,"serialNumberTitle"],productNumberTitle:[1,"productNumberTitle"],allTranslations:[1,"allTranslations"],hideSNSubmitOnPN:[1,"hideSNSubmitOnPN"],hideAllSubmit:[1,"hideAllSubmit"],mobileAltSubmit:[1,"mobileAltSubmit"],boldTitle:[1,"boldTitle"],searchField:[1,"searchField"],wrapperClass:[1,"wrapperClass"],pageName:[1,"pageName"],SNBoxPosition:[1,"SNBoxPosition"],alternateTitle:[1,"alternateTitle"]},outputs:{serialNumberTitle:"serialNumberTitleChange",serialNumberEmitter:"serialNumberEmitter",productNumberEmitter:"productNumberEmitter",showProductNumberEmitter:"showProductNumberEmitter",enterPressedEmitter:"enterPressedEmitter"},decls:5,vars:9,consts:[["searchFieldInputRef",""],["result",""],["nonSearchFieldInputRef",""],["productFieldInputRef",""],[1,"serial-number-entry-block",3,"ngClass"],[1,"select-model-block"],[1,"form-block",3,"full-width-input","has-alt-submit"],["wrapperClass","models-dropdown",3,"versionSelected","submitButtonText","versionDropdownLabel","versionDropdownHeading","_disableSubmit","seriesId"],[1,"form-block"],[1,"serial-number-title",3,"bold-title"],[1,"serial-number-title","alternateTitle",3,"bold-title"],[1,"search-input"],["id","pfinder-sn-entry-help","for","inputtextpfinder",1,"sr-only"],[1,"sn-input-wrapper"],[1,"sn-input"],[1,"sn-input-box"],["type","text","name","pfinder-sn-entry","id","inputtextpfinder","autocomplete","off",3,"selectItem","ngModelChange","keyup","ngModel","placeholder","ngbTypeahead","focusFirst","inputFormatter","resultTemplate"],["aria-label","Clear Serial Number","href","javascript:void(0)",1,"close-icon"],["aria-live","assertive","role","alert",1,"error-text"],["id","FindMyProduct","type","button",1,"btn","submit-icon",3,"disabled","sn-submit-hidden","title","hide-submit-mobile"],["id","FindMyProductMobile","type","button",1,"btn","submit-mobile",3,"disabled","hidden","title"],[1,"serial-number-title"],[1,"serial-number-title","alternateTitle"],["aria-label","Clear Serial Number","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","FindMyProduct","type","button",1,"btn","submit-icon",3,"click","disabled","title"],[1,"mobile-hidden"],[3,"result","term","id"],["id","FindMyProductMobile","type","button",1,"btn","submit-mobile",3,"click","disabled","title"],["type","text","name","pfinder-sn-entry","id","inputtextpfinder","autocomplete","off",3,"ngModelChange","keyup","ngModel","placeholder"],["id","pfinder-pn-entry-help","for","inputtextPN",1,"sr-only"],["type","text","name","pfinder-pn-entry","id","inputtextPN","autocomplete","off",3,"ngModelChange","keyup","ngModel","placeholder"],["aria-label","Clear Product Number","href","javascript:void(0)",1,"close-icon"],["id","Findmyproductnumber","type","button",1,"btn","submit-icon",3,"disabled","hide-submit-mobile","title"],["id","PNsubmitMobile","type","button",1,"btn","submit-mobile",3,"disabled","hide-submit-mobile","title"],["aria-label","Clear Product Number","href","javascript:void(0)",1,"close-icon",3,"click","keydown.enter"],["id","Findmyproductnumber","type","button",1,"btn","submit-icon",3,"click","disabled","title"],["id","PNsubmitMobile","type","button",1,"btn","submit-mobile",3,"click","disabled","title"]],template:function(P,A){1&P&&(l.j41(0,"div",4),l.nVh(1,L,2,6,"div",5),l.nVh(2,De,18,20,"div",6),l.nVh(3,Ke,16,16,"div",6),l.nVh(4,it,15,16,"div",6),l.k0s()),2&P&&(l.Y8G("ngClass",l.sMw(5,_e,A.pageConfig().languageDirection,A.SNBoxPosition()?A.SNBoxPosition():"",A.wrapperClass())),l.R7$(),l.vxM(A.showModels
1Dropdown()?1:-1),l.R7$(),l.vxM(A.searchField()?2:-1),l.R7$(),l.vxM(A.searchField()?-1:3),l.R7$(),l.vxM(A.showProductNumberField()?4:-1))},dependencies:[K.YU,W.y,S.YN,S.me,S.BC,S.vS,N.$n,N.Qr],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.position-fixed[_ngcontent-%COMP%]{position:fixed!important}.position-relative[_ngcontent-%COMP%]{position:relative!important}.position-absolute[_ngcontent-%COMP%]{position:absolute!important}.position-static[_ngcontent-%COMP%]{position:static!important}.inline[_ngcontent-%COMP%]{display:inline!important}.block[_ngcontent-%COMP%], .show[_ngcontent-%COMP%]{display:block!important}.hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none!important}.flex[_ngcontent-%COMP%]{display:flex!important}.inline-block[_ngcontent-%COMP%]{display:inline-block!important}.align-center[_ngcontent-%COMP%]{text-align:center!important;align-items:center!important}.align-left[_ngcontent-%COMP%]{text-align:left!important;align-items:left!important}.align-right[_ngcontent-%COMP%]{text-align:right!important;align-items:right!important}.align-justify[_ngcontent-%COMP%]{text-align:justify!important;align-items:justify}.align-initial[_ngcontent-%COMP%]{align-items:initial!important}.zindex-1[_ngcontent-%COMP%]{z-index:1!important}.zindex-2[_ngcontent-%COMP%]{z-index:2!important}.zindex-3[_ngcontent-%COMP%]{z-index:3!important}.left[_ngcontent-%COMP%]{float:left!important}.right[_ngcontent-%COMP%]{float:right!important}.bold[_ngcontent-%COMP%]{font-weight:700!important}.regular[_ngcontent-%COMP%]{font-weight:400!important}.italic[_ngcontent-%COMP%]{font-style:italic!important}.break-word[_ngcontent-%COMP%]{word-wrap:break-word!important}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap!important}.border-white-all[_ngcontent-%COMP%]{border:1px solid #fff!important}.border-white-top[_ngcontent-%COMP%]{border-top:1px solid #fff!important}.border-white-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #fff!important}.border-white-right[_ngcontent-%COMP%]{border-right:1px solid #fff!important}.border-white-left[_ngcontent-%COMP%]{border-left:1px solid #fff!important}.no-list-type[_ngcontent-%COMP%]{list-style:none!important}.disc-list-type[_ngcontent-%COMP%]{list-style:disc!important}.lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.font-hp-simplified[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular!important}.font-hp-simplified-regular[_ngcontent-%COMP%]{font-family:HPSimplified!important}.font-hp-simplified-light[_ngcontent-%COMP%]{font-family:HPSimplifiedLight!important}.font-hp-control-icons[_ngcontent-%COMP%]{font-family:HPControlIcons!important}.font-arial[_ngcontent-%COMP%]{font-family:Arial!important}.font-12[_ngcontent-%COMP%]{font-size:12px!important}.font-14[_ngcontent-%COMP%]{font-size:14px!important}.font-16[_ngcontent-%COMP%]{font-size:16px!important}.font-18[_ngcontent-%COMP%]{font-size:18px!important}.font-20[_ngcontent-%COMP%]{font-size:20px!important}.font-22[_ngcontent-%COMP%]{font-size:22px!important}.font-24[_ngcontent-%COMP%]{font-size:24px!important}.font-30[_ngcontent-%COMP%]{font-size:30px!important}.font-35[_ngcontent-%COMP%]{font-size:35px!important}.mT0[_ngcontent-%COMP%]{margin-top:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT0[_ngcontent-%COMP%]{margin-top:0!important}}.pT0[_ngcontent-%COMP%]{padding-top:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT0[_ngcontent-%COMP%]{padding-top:0!important}}.mB0[_ngcontent-%COMP%]{margin-bottom:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB0[_ngcontent-%COMP%]{margin-bottom:0!important}}.pB0[_ngcontent-%COMP%]{padding-bottom:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB0[_ngcontent-%COMP%]{padding-bottom:0!important}}.mL0[_ngcontent-%COMP%]{margin-left:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL0[_ngcontent-%COMP%]{margin-left:0!important}}.pL0[_ngcontent-%COMP%]{padding-left:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL0[_ngcontent-%COMP%]{padding-left:0!important}}.mR0[_ngcontent-%COMP%]{margin-right:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR0[_ngcontent-%COMP%]{margin-right:0!important}}.pR0[_ngcontent-%COMP%]{padding-right:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR0[_ngcontent-%COMP%]{padding-right:0!important}}.mT5[_ngcontent-%COMP%]{margin-top:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT5[_ngcontent-%COMP%]{margin-top:5px!important}}.pT5[_ngcontent-%COMP%]{padding-top:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT5[_ngcontent-%COMP%]{padding-top:5px!important}}.mB5[_ngcontent-%COMP%]{margin-bottom:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB5[_ngcontent-%COMP%]{margin-bottom:5px!important}}.pB5[_ngcontent-%COMP%]{padding-bottom:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB5[_ngcontent-%COMP%]{padding-bottom:5px!important}}.mL5[_ngcontent-%COMP%]{margin-left:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL5[_ngcontent-%COMP%]{margin-left:5px!important}}.pL5[_ngcontent-%COMP%]{padding-left:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL5[_ngcontent-%COMP%]{padding-left:5px!important}}.mR5[_ngcontent-%COMP%]{margin-right:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR5[_ngcontent-%COMP%]{margin-right:5px!important}}.pR5[_ngcontent-%COMP%]{padding-right:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR5[_ngcontent-%COMP%]{padding-right:5px!important}}.mT10[_ngcontent-%COMP%]{margin-top:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT10[_ngcontent-%COMP%]{margin-top:10px!important}}.pT10[_ngcontent-%COMP%]{padding-top:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT10[_ngcontent-%COMP%]{padding-top:10px!important}}.mB10[_ngcontent-%COMP%]{margin-bottom:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB10[_ngcontent-%COMP%]{margin-bottom:10px!important}}.pB10[_ngcontent-%COMP%]{padding-bottom:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB10[_ngcontent-%COMP%]{padding-bottom:10px!important}}.mL10[_ngcontent-%COMP%]{margin-left:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL10[_ngcontent-%COMP%]{margin-left:10px!important}}.pL10[_ngcontent-%COMP%]{padding-left:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL10[_ngcontent-%COMP%]{padding-left:10px!important}}.mR10[_ngcontent-%COMP%]{margin-right:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR10[_ngcontent-%COMP%]{margin-right:10px!important}}.pR10[_ngcontent-%COMP%]{padding-right:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR10[_ngcontent-%COMP%]{padding-right:10px!important}}.mT15[_ngcontent-%COMP%]{margin-top:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT15[_ngcontent-%COMP%]{margin-top:15px!important}}.pT15[_ngcontent-%COMP%]{padding-top:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT15[_ngcontent-%COMP%]{padding-top:15px!important}}.mB15[_ngcontent-%COMP%]{margin-bottom:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB15[_ngcontent-%COMP%]{margin-bottom:15px!important}}.pB15[_ngcontent-%COMP%]{padding-bottom:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB15[_ngcontent-%COMP%]{padding-bottom:15px!important}}.mL15[_ngcontent-%COMP%]{margin-left:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL15[_ngcontent-%COMP%]{margin-left:15px!important}}.pL15[_ngcontent-%COMP%]{padding-left:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL15[_ngcontent-%COMP%]{padding-left:15px!important}}.mR15[_ngcontent-%COMP%]{margin-right:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR15[_ngcontent-%COMP%]{margin-right:15px!important}}.pR15[_ngcontent-%COMP%]{padding-right:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR15[_ngcontent-%COMP%]{padding-right:15px!important}}.mT18[_ngcontent-%COMP%]{margin-top:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT18[_ngcontent-%COMP%]{margin-top:18px!important}}.pT18[_ngcontent-%COMP%]{padding-top:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT18[_ngcontent-%COMP%]{padding-top:18px!important}}.mB18[_ngcontent-%COMP%]{margin-bottom:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB18[_ngcontent-%COMP%]{margin-bottom:18px!important}}.pB18[_ngcontent-%COMP%]{padding-bottom:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB18[_ngcontent-%COMP%]{padding-bottom:18px!important}}.mL18[_ngcontent-%COMP%]{margin-left:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL18[_ngcontent-%COMP%]{margin-left:18px!important}}.pL18[_ngcontent-%COMP%]{padding-left:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL18[_ngcontent-%COMP%]{padding-left:18px!important}}.mR18[_ngcontent-%COMP%]{margin-right:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR18[_ngcontent-%COMP%]{margin-right:18px!important}}.pR18[_ngcontent-%COMP%]{padding-right:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR18[_ngcontent-%COMP%]{padding-right:18px!important}}.mT20[_ngcontent-%COMP%]{margin-top:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT20[_ngcontent-%COMP%]{margin-top:20px!important}}.pT20[_ngcontent-%COMP%]{padding-top:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT20[_ngcontent-%COMP%]{padding-top:20px!important}}.mB20[_ngcontent-%COMP%]{margin-bottom:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB20[_ngcontent-%COMP%]{margin-bottom:20px!important}}.pB20[_ngcontent-%COMP%]{padding-bottom:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB20[_ngcontent-%COMP%]{padding-bottom:20px!important}}.mL20[_ngcontent-%COMP%]{margin-left:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL20[_ngcontent-%COMP%]{margin-left:20px!important}}.pL20[_ngcontent-%COMP%]{padding-left:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL20[_ngcontent-%COMP%]{padding-left:20px!important}}.mR20[_ngcontent-%COMP%]{margin-right:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR20[_ngcontent-%COMP%]{margin-right:20px!important}}.pR20[_ngcontent-%COMP%]{padding-right:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR20[_ngcontent-%COMP%]{padding-right:20px!important}}.mT25[_ngcontent-%COMP%]{margin-top:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT25[_ngcontent-%COMP%]{margin-top:25px!important}}.pT25[_ngcontent-%COMP%]{padding-top:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT25[_ngcontent-%COMP%]{padding-top:25px!important}}.mB25[_ngcontent-%COMP%]{margin-bottom:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB25[_ngcontent-%COMP%]{margin-bottom:25px!important}}.pB25[_ngcontent-%COMP%]{padding-bottom:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB25[_ngcontent-%COMP%]{padding-bottom:25px!important}}.mL25[_ngcontent-%COMP%]{margin-left:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL25[_ngcontent-%COMP%]{margin-left:25px!important}}.pL25[_ngcontent-%COMP%]{padding-left:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL25[_ngcontent-%COMP%]{padding-left:25px!important}}.mR25[_ngcontent-%COMP%]{margin-right:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR25[_ngcontent-%COMP%]{margin-right:25px!important}}.pR25[_ngcontent-%COMP%]{padding-right:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR25[_ngcontent-%COMP%]{padding-right:25px!important}}.mT28[_ngcontent-%COMP%]{margin-top:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT28[_ngcontent-%COMP%]{margin-top:28px!important}}
1.pT28[_ngcontent-%COMP%]{padding-top:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT28[_ngcontent-%COMP%]{padding-top:28px!important}}.mB28[_ngcontent-%COMP%]{margin-bottom:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB28[_ngcontent-%COMP%]{margin-bottom:28px!important}}.pB28[_ngcontent-%COMP%]{padding-bottom:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB28[_ngcontent-%COMP%]{padding-bottom:28px!important}}.mL28[_ngcontent-%COMP%]{margin-left:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL28[_ngcontent-%COMP%]{margin-left:28px!important}}.pL28[_ngcontent-%COMP%]{padding-left:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL28[_ngcontent-%COMP%]{padding-left:28px!important}}.mR28[_ngcontent-%COMP%]{margin-right:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR28[_ngcontent-%COMP%]{margin-right:28px!important}}.pR28[_ngcontent-%COMP%]{padding-right:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR28[_ngcontent-%COMP%]{padding-right:28px!important}}.mT30[_ngcontent-%COMP%]{margin-top:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT30[_ngcontent-%COMP%]{margin-top:30px!important}}.pT30[_ngcontent-%COMP%]{padding-top:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT30[_ngcontent-%COMP%]{padding-top:30px!important}}.mB30[_ngcontent-%COMP%]{margin-bottom:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB30[_ngcontent-%COMP%]{margin-bottom:30px!important}}.pB30[_ngcontent-%COMP%]{padding-bottom:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB30[_ngcontent-%COMP%]{padding-bottom:30px!important}}.mL30[_ngcontent-%COMP%]{margin-left:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL30[_ngcontent-%COMP%]{margin-left:30px!important}}.pL30[_ngcontent-%COMP%]{padding-left:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL30[_ngcontent-%COMP%]{padding-left:30px!important}}.mR30[_ngcontent-%COMP%]{margin-right:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR30[_ngcontent-%COMP%]{margin-right:30px!important}}.pR30[_ngcontent-%COMP%]{padding-right:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR30[_ngcontent-%COMP%]{padding-right:30px!important}}.mT35[_ngcontent-%COMP%]{margin-top:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT35[_ngcontent-%COMP%]{margin-top:35px!important}}.pT35[_ngcontent-%COMP%]{padding-top:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT35[_ngcontent-%COMP%]{padding-top:35px!important}}.mB35[_ngcontent-%COMP%]{margin-bottom:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB35[_ngcontent-%COMP%]{margin-bottom:35px!important}}.pB35[_ngcontent-%COMP%]{padding-bottom:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB35[_ngcontent-%COMP%]{padding-bottom:35px!important}}.mL35[_ngcontent-%COMP%]{margin-left:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL35[_ngcontent-%COMP%]{margin-left:35px!important}}.pL35[_ngcontent-%COMP%]{padding-left:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL35[_ngcontent-%COMP%]{padding-left:35px!important}}.mR35[_ngcontent-%COMP%]{margin-right:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR35[_ngcontent-%COMP%]{margin-right:35px!important}}.pR35[_ngcontent-%COMP%]{padding-right:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR35[_ngcontent-%COMP%]{padding-right:35px!important}}.mT40[_ngcontent-%COMP%]{margin-top:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mT40[_ngcontent-%COMP%]{margin-top:40px!important}}.pT40[_ngcontent-%COMP%]{padding-top:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pT40[_ngcontent-%COMP%]{padding-top:40px!important}}.mB40[_ngcontent-%COMP%]{margin-bottom:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mB40[_ngcontent-%COMP%]{margin-bottom:40px!important}}.pB40[_ngcontent-%COMP%]{padding-bottom:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pB40[_ngcontent-%COMP%]{padding-bottom:40px!important}}.mL40[_ngcontent-%COMP%]{margin-left:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mL40[_ngcontent-%COMP%]{margin-left:40px!important}}.pL40[_ngcontent-%COMP%]{padding-left:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pL40[_ngcontent-%COMP%]{padding-left:40px!important}}.mR40[_ngcontent-%COMP%]{margin-right:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-mR40[_ngcontent-%COMP%]{margin-right:40px!important}}.pR40[_ngcontent-%COMP%]{padding-right:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-pR40[_ngcontent-%COMP%]{padding-right:40px!important}}.m0[_ngcontent-%COMP%]{margin:0!important}.p0[_ngcontent-%COMP%]{padding:0!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m0[_ngcontent-%COMP%]{margin:0!important}.mob-p0[_ngcontent-%COMP%]{padding:0!important}}.m5[_ngcontent-%COMP%]{margin:5px!important}.p5[_ngcontent-%COMP%]{padding:5px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m5[_ngcontent-%COMP%]{margin:5px!important}.mob-p5[_ngcontent-%COMP%]{padding:5px!important}}.m10[_ngcontent-%COMP%]{margin:10px!important}.p10[_ngcontent-%COMP%]{padding:10px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m10[_ngcontent-%COMP%]{margin:10px!important}.mob-p10[_ngcontent-%COMP%]{padding:10px!important}}.m15[_ngcontent-%COMP%]{margin:15px!important}.p15[_ngcontent-%COMP%]{padding:15px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m15[_ngcontent-%COMP%]{margin:15px!important}.mob-p15[_ngcontent-%COMP%]{padding:15px!important}}.m18[_ngcontent-%COMP%]{margin:18px!important}.p18[_ngcontent-%COMP%]{padding:18px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m18[_ngcontent-%COMP%]{margin:18px!important}.mob-p18[_ngcontent-%COMP%]{padding:18px!important}}.m20[_ngcontent-%COMP%]{margin:20px!important}.p20[_ngcontent-%COMP%]{padding:20px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m20[_ngcontent-%COMP%]{margin:20px!important}.mob-p20[_ngcontent-%COMP%]{padding:20px!important}}.m25[_ngcontent-%COMP%]{margin:25px!important}.p25[_ngcontent-%COMP%]{padding:25px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m25[_ngcontent-%COMP%]{margin:25px!important}.mob-p25[_ngcontent-%COMP%]{padding:25px!important}}.m28[_ngcontent-%COMP%]{margin:28px!important}.p28[_ngcontent-%COMP%]{padding:28px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m28[_ngcontent-%COMP%]{margin:28px!important}.mob-p28[_ngcontent-%COMP%]{padding:28px!important}}.m30[_ngcontent-%COMP%]{margin:30px!important}.p30[_ngcontent-%COMP%]{padding:30px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m30[_ngcontent-%COMP%]{margin:30px!important}.mob-p30[_ngcontent-%COMP%]{padding:30px!important}}.m35[_ngcontent-%COMP%]{margin:35px!important}.p35[_ngcontent-%COMP%]{padding:35px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m35[_ngcontent-%COMP%]{margin:35px!important}.mob-p35[_ngcontent-%COMP%]{padding:35px!important}}.m40[_ngcontent-%COMP%]{margin:40px!important}.p40[_ngcontent-%COMP%]{padding:40px!important}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-m40[_ngcontent-%COMP%]{margin:40px!important}.mob-p40[_ngcontent-%COMP%]{padding:40px!important}}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.mob-position-fixed[_ngcontent-%COMP%]{position:fixed!important}.mob-position-relative[_ngcontent-%COMP%]{position:relative!important}.mob-position-absolute[_ngcontent-%COMP%]{position:absolute!important}.mob-position-static[_ngcontent-%COMP%]{position:static!important}.mob-inline[_ngcontent-%COMP%]{display:inline!important}.mob-block[_ngcontent-%COMP%], .mob-show[_ngcontent-%COMP%]{display:block!important}.mob-hide[_ngcontent-%COMP%]{display:none!important}.mob-flex[_ngcontent-%COMP%]{display:flex!important}.mob-inline-block[_ngcontent-%COMP%]{display:inline-block!important}.mob-align-center[_ngcontent-%COMP%]{text-align:center!important}.mob-align-left[_ngcontent-%COMP%]{text-align:left!important}.mob-align-right[_ngcontent-%COMP%]{text-align:right!important}.mob-align-justify[_ngcontent-%COMP%]{text-align:justify!important}.mob-zindex-1[_ngcontent-%COMP%]{z-index:1!important}.mob-zindex-2[_ngcontent-%COMP%]{z-index:2!important}.mob-zindex-3[_ngcontent-%COMP%]{z-index:3!important}.mob-left[_ngcontent-%COMP%]{float:left!important}.mob-right[_ngcontent-%COMP%]{float:right!important}.mob-bold[_ngcontent-%COMP%]{font-weight:700!important}
1.mob-regular[_ngcontent-%COMP%]{font-weight:400!important}.mob-italic[_ngcontent-%COMP%]{font-style:italic!important}.mob-break-word[_ngcontent-%COMP%]{word-wrap:break-word!important}.mob-no-wrap[_ngcontent-%COMP%]{white-space:nowrap!important}.mob-border-white-all[_ngcontent-%COMP%]{border:1px solid #fff!important}.mob-border-white-top[_ngcontent-%COMP%]{border-top:1px solid #fff!important}.mob-border-white-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #fff!important}.mob-border-white-right[_ngcontent-%COMP%]{border-right:1px solid #fff!important}.mob-border-white-left[_ngcontent-%COMP%]{border-left:1px solid #fff!important}.mob-no-list-type[_ngcontent-%COMP%]{list-style:none!important}.mob-disc-list-type[_ngcontent-%COMP%]{list-style:disc!important}.mob-lowercase[_ngcontent-%COMP%]{text-transform:lowercase!important}.mob-uppercase[_ngcontent-%COMP%]{text-transform:uppercase!important}.mob-font-hp-simplified[_ngcontent-%COMP%]{font-family:HPSimplifiedRegular!important}.mob-font-hp-simplified-regular[_ngcontent-%COMP%]{font-family:HPSimplified!important}.mob-font-hp-simplified-light[_ngcontent-%COMP%]{font-family:HPSimplifiedLight!important}.mob-font-hp-control-icons[_ngcontent-%COMP%]{font-family:HPControlIcons!important}.mob-font-arial[_ngcontent-%COMP%]{font-family:Arial!important}.mob-font-12[_ngcontent-%COMP%]{font-size:12px!important}.mob-font-14[_ngcontent-%COMP%]{font-size:14px!important}.mob-font-16[_ngcontent-%COMP%]{font-size:16px!important}.mob-font-18[_ngcontent-%COMP%]{font-size:18px!important}.mob-font-20[_ngcontent-%COMP%]{font-size:20px!important}.mob-font-22[_ngcontent-%COMP%]{font-size:22px!important}.mob-font-24[_ngcontent-%COMP%]{font-size:24px!important}.mob-font-30[_ngcontent-%COMP%]{font-size:30px!important}.mob-font-35[_ngcontent-%COMP%]{font-size:35px!important}}.mTB20[_ngcontent-%COMP%]{margin-top:20px!important;margin-bottom:20px!important}.margin-text[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:15px!important}.pLR30[_ngcontent-%COMP%]{padding-left:30px!important;padding-right:30px!important}.pb-15[_ngcontent-%COMP%]{padding-bottom:15px!important}.w100p[_ngcontent-%COMP%]{width:100%!important}.mar0[_ngcontent-%COMP%]{margin:0!important}.maxWidth100[_ngcontent-%COMP%]{max-width:100%!important}.fs22[_ngcontent-%COMP%]{font-size:22px!important}.fs18[_ngcontent-%COMP%]{font-size:18px!important}.hideText[_ngcontent-%COMP%]{visibility:hidden!important;line-height:0!important}@media only screen and (max-width:767px){.mob-no-pad-RL[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}.no-padding-mobile[_ngcontent-%COMP%]{padding:0!important}.mob-float-none[_ngcontent-%COMP%]{float:none!important}.mob-align-left[_ngcontent-%COMP%]{text-align:left!important}.mob-display-block[_ngcontent-%COMP%]{display:block!important}}@media only screen and (min-width:768px){.desk-pL30[_ngcontent-%COMP%]{padding-left:30px!important}.desk-margin-auto[_ngcontent-%COMP%]{margin:0 auto!important}.desk-pL20[_ngcontent-%COMP%]{padding-left:20px!important}.desk-border-left[_ngcontent-%COMP%]{border-left:1px solid #DEE2E6!important}.no-padding-lg[_ngcontent-%COMP%]{padding:0!important}.noBg[_ngcontent-%COMP%]{background:#fff!important}}@media only screen and (max-width:800px){.hidden-mobile-only[_ngcontent-%COMP%]{display:none!important}}@media only screen and (max-width:767px){.hidden-mobile[_ngcontent-%COMP%]{display:none!important}}.error-text[_ngcontent-%COMP%]{color:#bf2026;font-family:HPSimplifiedRegular;font-size:14px}.serial-number-entry-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%]{display:flex;flex-direction:column}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] ngb-typeahead-window.dropdown-menu{border:1px solid #efefef;margin:0;padding:0;border-radius:0;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;width:100%;max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .bold-title[_ngcontent-%COMP%]{font-weight:500;font-family:HPSimplified}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%]{display:flex}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%] .sn-input-box[_ngcontent-%COMP%]{display:flex;flex:1}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%] .sn-input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;padding-left:1rem;padding-right:2rem}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%] .sn-input-box.has-error[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:1px solid #BF2026}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] button.btn.submit-icon.sn-submit-hidden[_ngcontent-%COMP%]{opacity:0!important}.serial-number-entry-block[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%]{width:100%;align-items:center}.serial-number-entry-block[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{width:100%;max-width:340px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .serial-number-entry-block[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{width:100%}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:8px;color:#000}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] p.alternateTitle[_ngcontent-%COMP%]{font-size:28px;margin-bottom:18px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .submit-mobile[_ngcontent-%COMP%]{display:none}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:30px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{color:#bf2026;text-align:left;font-size:14px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:-22px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:hover, .serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:focus{text-decoration:none}.serial-number-entry-block[_ngcontent-%COMP%] .select-model-block[_ngcontent-%COMP%]{width:100%;margin-bottom:30px;max-width:504px}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%]{display:block}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%]{align-items:normal}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] p.bold-title[_ngcontent-%COMP%]{font-family:HPSimplifiedLight}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{max-width:385px}.serial-number-entry-block.deviceServiceStyle[_ngcontent-%COMP%] .form-block.full-width-input[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:16px}
1.rtl.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:30px;margin-left:0}.rtl.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{direction:ltr;text-align:right}.rtl.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{text-align:right}.rtl.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:-22px;padding-left:4px}.rtl.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%] .sn-input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:1rem;padding-left:2rem}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.serial-number-entry-block[_ngcontent-%COMP%] .mobile-hidden[_ngcontent-%COMP%], .serial-number-entry-block[_ngcontent-%COMP%] .hide-submit-mobile[_ngcontent-%COMP%]{display:none}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .serial-number-title.alternateTitle[_ngcontent-%COMP%]{font-size:16px;margin-bottom:10px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] ngb-typeahead-window.dropdown-menu{border:1px solid #efefef;margin:0;padding:0;border-radius:0;-webkit-border-radius:0px;-moz-border-radius:0px;-ms-border-radius:0px;width:calc(100% - 32px);max-width:385px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .sn-input-wrapper[_ngcontent-%COMP%] .sn-input[_ngcontent-%COMP%]{max-width:100%}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0 16px;position:relative;left:-4px;height:33px;margin:0;min-height:33px}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button.submit-mobile[_ngcontent-%COMP%]{display:block;margin-top:16px;margin-left:auto;margin-right:auto}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button.submit-icon[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:24px;background-color:#165dba}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button.submit-icon[_ngcontent-%COMP%]:disabled{background-color:#ccc}.serial-number-entry-block[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:-26px}.serial-number-entry-block.rtl[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0;left:0;right:-4px}.serial-number-entry-block.rtl[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] button.submit-mobile[_ngcontent-%COMP%]{margin-top:16px;margin-left:auto;margin-right:auto}.serial-number-entry-block.rtl[_ngcontent-%COMP%] .form-block[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:-26px;padding-left:4px}}"]})}}return H})()},97561(xe,le,a){a.d(le,{k:()=>n});var M=a(37580),s=a(85240),u=a(86763),$=a(84205),j=a(93683),N=a(78808),p=a(12481),i=a(19885),K=a(9303),l=a(60480),h=a(72926);const g=pe=>({"is-vis-id":pe});function W(pe,te){if(1&pe&&(p.j41(0,"p"),p.EFF(1),p.k0s()),2&pe){const F=p.XpG(2);p.R7$(),p.JRh(F.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Sing_In_Text"])}}function e(pe,te){if(1&pe&&(p.j41(0,"p",3),p.EFF(1),p.k0s()),2&pe){const F=p.XpG(2);p.R7$(),p.JRh(F.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Sing_In_Text"])}}function ae(pe,te){if(1&pe){const F=p.RV6();p.j41(0,"div",1),p.nVh(1,W,2,1,"p"),p.nVh(2,e,2,1,"p",3),p.j41(3,"a",4),p.bIt("click",function(){s.eBV(F);const C=p.XpG();return s.Njj(C.clearProductContext())}),p.j41(4,"span",5),p.EFF(5),p.k0s()(),p.j41(6,"a",6),p.bIt("click",function(){s.eBV(F);const C=p.XpG();return s.Njj(C.clearProductContext())}),p.j41(7,"span",5),p.EFF(8),p.k0s()()()}if(2&pe){const F=p.XpG();p.Y8G("ngClass",F.isMobile()||F.isIpadIphone()?"sm-screen-style":""),p.R7$(),p.vxM("HPOne"!==F.originPage()?1:-1),p.R7$(),p.vxM("HPOne"===F.originPage()?2:-1),p.R7$(),p.Y8G("href",p.a5S("",F.domain(),"/wcc-services/s/signin?cc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).cc,"&lc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).lc,"&pageurl=",F.pageUrl()),p.B4B)("title",F.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"])("id",F.signInId()),p.R7$(2),p.JRh(F.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"]),p.R7$(),p.Y8G("href",p.a5S("",F.domain(),"/wcc-services/s/registration?cc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).cc,"&lc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).lc,"&pageurl=",F.pageUrl()),p.B4B)("title",F.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"])("id",F.createAccountID()),p.R7$(2),p.JRh(F.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"])}}function ue(pe,te){if(1&pe&&(p.j41(0,"div",2)(1,"a",7)(2,"span",5),p.EFF(3),p.k0s()()()),2&pe){const F=p.XpG();p.Y8G("ngClass",F.isMobile()||F.isIpadIphone()?"sm-screen-style":""),p.R7$(),p.Y8G("href",p.a5S("",F.domain(),"/wcc-services/s/signin?cc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).cc,"&lc=",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).lc,"&pageurl=",F.dashboardUrlEncoded()),p.B4B)("title",F.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Link_Text"])("id",F.signInId()),p.R7$(2),p.JRh(F.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Link_Text"])}}function me(pe,te){if(1&pe&&(p.j41(0,"div",2)(1,"a",8)(2,"span",5),p.EFF(3),p.k0s()()()),2&pe){const F=p.XpG();p.Y8G("ngClass",F.isMobile()||F.isIpadIphone()?"sm-screen-style":""),p.R7$(),p.Y8G("globalLink",p.ai1("/",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).cc,"-",F.getCustomCCLC(F.fallBackCCLCValue(),F.pageConfig()).lc,"/dashboard"))("id",F.loggedInLinkID())("title",F.allTranslations()["#pps_WCC_FS_HomeHP_Signed_In_Link_Text"]),p.R7$(2),p.JRh(F.allTranslations()["#pps_WCC_FS_HomeHP_Signed_In_Link_Text"])}}let n=(()=>{class pe{constructor(F,B,C,x){this.pageService=F,this.windowRef=B,this.commonService=C,this.auth=x,this.allTranslations=(0,M.hFB)({}),this.isIpadIphone=(0,M.hFB)(!1),this.isMobile=(0,M.hFB)(!1),this.signInId=(0,M.hFB)(""),this.createAccountID=(0,M.hFB)(""),this.loggedInLinkID=(0,M.hFB)(""),this.fallBackCCLCValue=(0,M.hFB)({}),this.showSignInRegisterTemplate=(0,M.hFB)(!1),this.originPage=(0,M.hFB)(""),this.newRedirectionLink=(0,M.hFB)(""),this.domain=(0,s.vPA)(""),this.pageUrl=(0,s.vPA)(""),this.signInLink=(0,s.vPA)(""),this.myDashboardLink=(0,s.vPA)(""),this.isUserLoggedIn=(0,u.EW)(()=>this.auth.isUserLoggedIn()??!1),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new $.B,this.dashboardUrlEncoded=(0,s.vPA)(""),this.window=this.windowRef.nativeWindow}ngOnInit(){this.setPageUrlAndDomain()}getCustomCCLC(F,B){return this.commonService.getCustomLocale(F,B)}clearProductContext(){sessionStorage?.removeItem("productData")}setPageUrlAndDomain(){if(typeof this.window<"u"){this.domain.set(this.window?.location?.origin);const F=this.newRedirectionLink();this.pageUrl.set(F?encodeURIComponent(`${this.window.location.origin}/${this.pageConfig().cc}-${this.pageConfig().lc}${F}
1`):encodeURIComponent(this.window?.location?.href))}this.dashboardUrlEncoded.set(encodeURIComponent(`${this.domain()}/${this.getCustomCCLC(this.fallBackCCLCValue(),this.pageConfig()).cc}-${this.getCustomCCLC(this.fallBackCCLCValue(),this.pageConfig()).lc}/dashboard`))}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(B){return new(B||pe)(p.rXU(i.b),p.rXU(K.$),p.rXU(l.h),p.rXU(h.u))}}static{this.\u0275cmp=p.VBU({type:pe,selectors:[["app-signin-pfinder-link"]],inputs:{allTranslations:[1,"allTranslations"],isIpadIphone:[1,"isIpadIphone"],isMobile:[1,"isMobile"],signInId:[1,"signInId"],createAccountID:[1,"createAccountID"],loggedInLinkID:[1,"loggedInLinkID"],fallBackCCLCValue:[1,"fallBackCCLCValue"],showSignInRegisterTemplate:[1,"showSignInRegisterTemplate"],originPage:[1,"originPage"],newRedirectionLink:[1,"newRedirectionLink"]},decls:5,vars:9,consts:[[3,"ngClass"],[1,"sign-in-register-exp",3,"ngClass"],[1,"sign-in-exp",3,"ngClass"],[1,"sign-in-headerText-large"],[1,"btn",3,"click","href","title","id"],["aria-hidden","true"],[1,"btn","white-btn",3,"click","href","title","id"],[3,"href","title","id"],[3,"globalLink","id","title"]],template:function(B,C){1&B&&(p.j41(0,"div",0)(1,"div",0),p.nVh(2,ae,9,19,"div",1),p.nVh(3,ue,4,9,"div",2),p.nVh(4,me,4,7,"div",2),p.k0s()()),2&B&&(p.Y8G("ngClass",p.eq3(7,g,C.pageConfig().isVisIdEnabled)),p.R7$(),p.AVh("register-box",C.showSignInRegisterTemplate()&&!C.isUserLoggedIn()),p.Y8G("ngClass","rtl"===C.pageConfig().languageDirection?"rtl-sign-in-box sign-in-pfinder":"ltr-sign-in-box sign-in-pfinder"),p.R7$(),p.vxM(C.showSignInRegisterTemplate()&&!C.isUserLoggedIn()?2:-1),p.R7$(),p.vxM(C.showSignInRegisterTemplate()||C.isUserLoggedIn()?-1:3),p.R7$(),p.vxM(!C.showSignInRegisterTemplate()&&C.isUserLoggedIn()?4:-1))},dependencies:[j.YU,N.z],styles:['@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/printer-signIn.svg);background-repeat:no-repeat;background-size:25px 25px;background-position:0px 8px;padding-left:34px;min-height:40px;display:flex;align-items:center;margin:1px 0 0;font-family:HPSimplifiedLight;font-size:16px;font-weight:300;line-height:"";color:#0171ad}.sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp.sm-screen-style[_ngcontent-%COMP%]{margin-top:15px}.sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{line-height:18px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-position:right center;padding-right:28px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 12px}.sign-in-register-exp[_ngcontent-%COMP%]{text-align:center}.sign-in-register-exp[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000;text-align:center}.sign-in-register-exp[_ngcontent-%COMP%] .sign-in-headerText-large[_ngcontent-%COMP%]{font-size:20px}.sign-in-register-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:9px;margin-right:9px}.sign-in-register-exp[_ngcontent-%COMP%] a.btn.white-btn[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #165DBA;color:#165dba}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{padding-top:10px}}@media only screen and (max-width:800px){.sign-in-register-exp[_ngcontent-%COMP%] .sign-in-headerText-large[_ngcontent-%COMP%]{font-size:16px;width:70%;margin:auto;position:relative;bottom:15px;font-weight:600}.sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{margin-top:15px}.sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{padding-right:34px;padding-left:0}}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/content/dam/hp-wcc/fe-assets/images/poly-sign-in.svg);background-repeat:no-repeat;display:flex;align-items:center;background-size:30px 30px;background-position:12px 4px;line-height:1.2;margin-left:-12px;min-height:auto;padding-left:0}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px;text-decoration:underline;padding:4px 8px 4px 50px;display:inline-block;border:2px solid transparent}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus-visible{border:2px solid #0278AB}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-size:28px 3
10px;padding-left:0;padding-right:26px;background-position:right center}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%]{border-color:#000;margin-right:0}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-image:url(/wcc-assets/images/poly-sign-in.svg);background-repeat:no-repeat;background-size:30px 30px;background-position:0px 5px;min-height:40px;display:flex;align-items:center;margin-top:21px;margin-left:0}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:25px}.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder.rtl-sign-in-box[_ngcontent-%COMP%] .sign-in-exp[_ngcontent-%COMP%]{background-position:right center;padding-right:44px;background-size:28px 30px;padding-left:unset}}@media only screen and (min-width:768px)and (max-width:991px){.is-vis-id[_ngcontent-%COMP%] .sign-in-pfinder[_ngcontent-%COMP%]{border:none;margin:0}}']})}}return pe})()},76119(xe,le,a){a.d(le,{d:()=>H});var M=a(86763),s=a(85240),u=a(37580),$=a(44709),j=a(84205),K=(a(82738),a(89386),a(71391),a(34263)),l=a(71021),D=(a(12349),a(63280),a(17040),a(3109),a(51941),a(46635),a(12684),a(84134),a(93646),a(63597),a(62970),a(41201),a(21396),a(806),a(82020),a(76040),a(90296),a(75257)),y=a(93683),_=a(12481),R=a(19885),U=a(9303),re=a(8130);const X=["swiperWrapper"],Q=["*"],q=G=>({rtl:G}),J=(G,w)=>({"push-inside":G,"auto-height":w}),oe=(G,w)=>({"padding-left":G,"padding-right":w}),_e=G=>({"has-shadow":G}),L=(G,w)=>({margin:G,padding:w}),de=(G,w,P,A,Z,Pe,ye)=>({"left-aligned":G,"center-aligned":w,"right-aligned":P,"numbered-pagination":A,"arrows-hidden":Z,"push-arrows":Pe,dark:ye}),E=G=>({"margin-bottom":G}),z=(G,w,P,A,Z,Pe,ye,Ne)=>({"left-aligned":G,"center-aligned":w,"right-aligned":P,"numbered-pagination":A,"arrows-hidden":Z,"push-arrows":Pe,dark:ye,"mt-10":Ne}),V=G=>({"margin-top":G}),Ce=(G,w)=>({width:G,"margin-left":w}),ne=G=>({"arrows-outside":G}),ve=(G,w)=>({width:G,"margin-right":w}),he=(G,w)=>[G,w],De=(G,w,P)=>({width:G,height:w,"margin-top":P});function Ee(G,w){1&G&&_.eu8(0)}function Be(G,w){if(1&G&&(_.j41(0,"div",12)(1,"div",13),_.DNE(2,Ee,1,0,"ng-container",16),_.k0s()()),2&G){const P=_.XpG(2),A=_.sdS(4),Z=_.sdS(6);_.Y8G("hidden",P.isPaginationHidden)("ngClass",_.sGs(4,de,"left"===P.paginationAlignment(),"center"===P.paginationAlignment(),"right"===P.paginationAlignment(),P.isNumberedPagination(),P.hidePaginationArrows(),"center"===P.paginationAlignment()&&P.pushPaginationArrows(),"slim"===P.paginationArrowStyle()))("ngStyle",_.eq3(12,E,P.paginationMargin()+"px")),_.R7$(2),_.Y8G("ngTemplateOutlet","rtl"!==P.pageConfig().languageDirection?A:Z)}}function Ae(G,w){1&G&&_.eu8(0)}function Ge(G,w){if(1&G&&(_.j41(0,"div",5),_.nI1(1,"memoize"),_.DNE(2,Ae,1,0,"ng-container",16),_.k0s()),2&G){const P=_.XpG(2),A=_.sdS(2);_.Y8G("ngClass",_.i5U(1,2,P.getHorizontalNavWrapperClass,P.horizontalArrowType())),_.R7$(2),_.Y8G("ngTemplateOutlet",A)}}function Se(G,w){1&G&&_.eu8(0)}function Fe(G,w){if(1&G&&(_.j41(0,"div",12)(1,"div",13),_.DNE(2,Se,1,0,"ng-container",16),_.k0s()()),2&G){const P=_.XpG(2),A=_.sdS(4),Z=_.sdS(6);_.Y8G("hidden",P.isPaginationHidden)("ngClass",_.lV(4,z,"left"===P.paginationAlignment(),"center"===P.paginationAlignment(),"right"===P.paginationAlignment(),P.isNumberedPagination(),P.hidePaginationArrows(),"center"===P.paginationAlignment()&&P.pushPaginationArrows(),"slim"===P.paginationArrowStyle(),"cn-zh"!==P.pageConfig().locale))("ngStyle",_.eq3(13,V,P.paginationMargin()+"px")),_.R7$(2),_.Y8G("ngTemplateOutlet","rtl"!==P.pageConfig().languageDirection?A:Z)}}function tt(G,w){if(1&G){const P=_.RV6();_.j41(0,"div",11),_.nVh(1,Be,3,14,"div",12),_.j41(2,"div",13)(3,"div",14)(4,"div",14)(5,"swiper-container",15,3),_.bIt("slidechangetransitionend",function(){s.eBV(P);const Z=_.XpG();return s.Njj(Z.onSlideTransitionEnd())}),_.SdG(7),_.k0s(),_.nVh(8,Ge,3,5,"div",5),_.k0s()()(),_.nVh(9,Fe,3,15,"div",12),_.k0s()}if(2&G){const P=_.XpG();_.HbH(P.isVisIdEnabled()?"is-vis-id":""),_.Y8G("ngClass",P.wrapperCss())("id",P.name()&&"hp-slider-"+P.name()),_.R7$(),_.vxM(P.pagination()&&"top"===P.paginationPosition()?1:-1),_.R7$(2),_.Y8G("ngClass",_.l_i(11,J,"inside"===P.horizontalNavArrowsPosition(),P.swiperParams().autoHeight))("ngStyle",_.l_i(14,oe,"inside"===P.horizontalNavArrowsPosition()&&P.horizontalArrowWidth()+"px","inside"===P.horizontalNavArrowsPosition()&&P.horizontalArrowWidth()+"px")),_.R7$(),_.Y8G("ngClass",_.eq3(17,_e,P.slideShadowSize()>0))("ngStyle",_.l_i(19,L,-P.slideShadowSize()+"px",P.slideShadowSize()+"px")),_.R7$(4),_.vxM(P.horizontalNav()?8:-1),_.R7$(),_.vxM(P.pagination()&&"bottom"===P.paginationPosition()?9:-1)}}function Ke(G,w){if(1&G){const P=_.RV6();_.j41(0,"a",19),_.bIt("keyup.enter",function(){s.eBV(P);const Z=_.XpG(2);return s.Njj(Z.slideTo("prev"))})("click",function(){s.eBV(P);const Z=_.XpG(2);return s.Njj(Z.slideTo("prev"))}),_.k0s()}if(2&G){const P=_.XpG(2);_.AVh("pagi-disabled",P.isPrevDisabled()),_.Y8G("id",P.paginationPrevId())("ngStyle",_.l_i(7,Ce,P.horizontalArrowWidth()+"px","outside"===P.horizontalNavArrowsPosition()?-P.horizontalArrowWidth()+"px":0))("ngClass",_.eq3(10,ne,"outside"===P.horizontalNavArrowsPosition())),_.BMQ("tabindex",P.isPrevDisabled()?-1:0)("aria-label",P.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Previous"]||"go to previous slide")}}function Qe(G,w){if(1&G){const P=_.RV6();_.j41(0,"a",20),_.bIt("keyup.enter",function(){s.eBV(P);const Z=_.XpG(2);return s.Njj(Z.slideTo("next"))})("click",function(){s.eBV(P);const Z=_.XpG(2);return s.Njj(Z.slideTo("next"))}),_.k0s()}if(2&G){const P=_.XpG(2);_.AVh("pagi-disabled",P.isNextDisabled()),_.Y8G("id",P.paginationNextId())("ngStyle",_.l_i(7,ve,P.horizontalArrowWidth()+"px","outside"===P.horizontalNavArrowsPosition()?-P.horizontalArrowWidth()+"px":0))("ngClass",_.eq3(10,ne,"outside"===P.horizontalNavArrowsPosition())),_.BMQ("tabindex",P.isNextDisabled()?-1:0)("aria-label",P.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Next"]||"go to
1next slide")}}function Je(G,w){if(1&G&&(_.nVh(0,Ke,1,12,"a",17),_.nVh(1,Qe,1,12,"a",18)),2&G){const P=_.XpG();_.vxM(P.horizontalNav()?0:-1),_.R7$(),_.vxM(P.horizontalNav()?1:-1)}}function nt(G,w){if(1&G&&(_.nrm(0,"div",21),_.nI1(1,"memoize"),_.nI1(2,"memoize")),2&G){const P=_.XpG(2);_.Y8G("id",P.paginationPrevId())("ngClass",_.l_i(10,he,_.brH(1,3,P.getNameForPagination,P.name(),"swiper-button-prev"),_.i5U(2,7,P.getArrowStyleClass,P.paginationArrowStyle())))("ngStyle",_.sMw(13,De,"slim"===P.paginationArrowStyle()?"8px":P.paginationArrowWidth()+"px","slim"===P.paginationArrowStyle()?"22px":P.paginationArrowHeight()+"px","center"===P.paginationAlignment()&&P.pushPaginationArrows()&&-P.paginationArrowHeight()/2+"px"))}}function Ze(G,w){if(1&G&&(_.nrm(0,"div",5),_.nI1(1,"memoize")),2&G){const P=_.XpG(2);_.Y8G("ngClass",_.brH(1,1,P.getNameForPagination,P.name(),"swiper-pagination"))}}function it(G,w){if(1&G&&(_.nrm(0,"div",22),_.nI1(1,"memoize"),_.nI1(2,"memoize")),2&G){const P=_.XpG(2);_.Y8G("id",P.paginationNextId())("ngClass",_.l_i(10,he,_.brH(1,3,P.getNameForPagination,P.name(),"swiper-button-next"),_.i5U(2,7,P.getArrowStyleClass,P.paginationArrowStyle())))("ngStyle",_.sMw(13,De,"slim"===P.paginationArrowStyle()?"8px":P.paginationArrowWidth()+"px","slim"===P.paginationArrowStyle()?"22px":P.paginationArrowHeight()+"px","center"===P.paginationAlignment()&&P.pushPaginationArrows()&&-P.paginationArrowHeight()/2+"px"))}}function fe(G,w){if(1&G&&(_.nVh(0,nt,3,17,"div",21),_.nVh(1,Ze,2,5,"div",5),_.nVh(2,it,3,17,"div",22)),2&G){const P=_.XpG();_.vxM(P.hidePaginationArrows()?-1:0),_.R7$(),_.vxM(P.hidePaginationBullets()?-1:1),_.R7$(),_.vxM(P.hidePaginationArrows()?-1:2)}}function ke(G,w){if(1&G&&(_.nrm(0,"div",22),_.nI1(1,"memoize"),_.nI1(2,"memoize")),2&G){const P=_.XpG(2);_.Y8G("id",P.paginationPrevId())("ngClass",_.l_i(10,he,_.brH(1,3,P.getNameForPagination,P.name(),"swiper-button-next"),_.i5U(2,7,P.getArrowStyleClass,P.paginationArrowStyle())))("ngStyle",_.sMw(13,De,"slim"===P.paginationArrowStyle()?"8px":P.paginationArrowWidth()+"px","slim"===P.paginationArrowStyle()?"22px":P.paginationArrowHeight()+"px","center"===P.paginationAlignment()&&P.pushPaginationArrows()&&-P.paginationArrowHeight()/2+"px"))}}function k(G,w){if(1&G&&(_.nrm(0,"div",5),_.nI1(1,"memoize")),2&G){const P=_.XpG(2);_.Y8G("ngClass",_.brH(1,1,P.getNameForPagination,P.name(),"swiper-pagination"))}}function ie(G,w){if(1&G&&(_.nrm(0,"div",21),_.nI1(1,"memoize"),_.nI1(2,"memoize")),2&G){const P=_.XpG(2);_.Y8G("id",P.paginationNextId())("ngClass",_.l_i(10,he,_.brH(1,3,P.getNameForPagination,P.name(),"swiper-button-prev"),_.i5U(2,7,P.getArrowStyleClass,P.paginationArrowStyle())))("ngStyle",_.sMw(13,De,"slim"===P.paginationArrowStyle()?"8px":P.paginationArrowWidth()+"px","slim"===P.paginationArrowStyle()?"22px":P.paginationArrowHeight()+"px","center"===P.paginationAlignment()&&P.pushPaginationArrows()&&-P.paginationArrowHeight()/2+"px"))}}function se(G,w){if(1&G&&(_.nVh(0,ke,3,17,"div",22),_.nVh(1,k,2,5,"div",5),_.nVh(2,ie,3,17,"div",21)),2&G){const P=_.XpG();_.vxM(P.hidePaginationArrows()?-1:0),_.R7$(),_.vxM(P.hidePaginationBullets()?-1:1),_.R7$(),_.vxM(P.hidePaginationArrows()?-1:2)}}let H=(()=>{class G{constructor(P,A,Z,Pe){this.pageService=P,this.windowRef=A,this.appSelectorStore=Z,this.renderer=Pe,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.isConfigUpdated=(0,s.vPA)(!1),this.slideData=(0,u.hFB)(null),this.name=(0,u.geq)(null),this.wrapperCss=(0,u.hFB)(""),this.slideShadowSize=(0,u.hFB)(0),this.isSlideInFocus=(0,u.hFB)(null),this.config=(0,u.hFB)(null),this.autoplay=(0,u.hFB)(!1),this.loop=(0,u.hFB)(!1),this.horizontalNav=(0,u.hFB)(!1),this.horizontalNavColor=(0,u.hFB)(""),this.horizontalNavArrowsPosition=(0,u.hFB)("inside"),this.horizontalArrowType=(0,u.hFB)("lightGray"),this.horizontalArrowSize=(0,u.hFB)(),this.horizontalArrowWidth=(0,s.vPA)(15),this.horizontalArrowHeight=(0,s.vPA)(30),this.pagination=(0,u.hFB)(!0),this.hidePaginationBullets=(0,u.hFB)(!1),this.hidePaginationArrows=(0,u.hFB)(!1),this.isNumberedPagination=(0,u.hFB)(!1),this.paginationPosition=(0,u.hFB)("bottom"),this.paginationAlignment=(0,u.hFB)(""),this.pushPaginationArrows=(0,u.hFB)(!1),this.paginationMargin=(0,u.hFB)(25),this.paginationArrowSize=(0,u.hFB)(),this.paginationArrowStyle=(0,u.hFB)(""),this.paginationPrevId=(0,s.vPA)(""),this.paginationNextId=(0,s.vPA)(""),this.isPrevDisabled=(0,s.vPA)(!1),this.isNextDisabled=(0,s.vPA)(!1),this.paginationArrowWidth=(0,s.vPA)(15),this.paginationArrowHeight=(0,s.vPA)(30),this.leftIconHovered=(0,s.vPA)(!1),this.rightIconHovered=(0,s.vPA)(!1),this.allTranslations=(0,s.vPA)({}),this.isMastiffEnabled=(0,u.hFB)(!1),this.isVisIdEnabled=(0,u.hFB)(!1),this.onSlideChange=(0,u.CGW)(),this.onSliderReady=(0,u.CGW)(),this.swiperWrapper=(0,u.ebz)("swiperWrapper"),this.window=(0,s.vPA)(null),this.destroySubject$=(0,s.vPA)(new j.B),this.swiperParams=(0,s.vPA)({direction:"horizontal",slidesPerView:1,keyboard:!1,mousewheel:!1,scrollbar:!1,effect:"slide",speed:600,pagination:{el:".swiper-pagination",clickable:!0,renderBullet:(ye,
1Ne)=>`<span class="${Ne}" index="${ye}"><span>${this.isNumberedPagination()?ye+1:""}</span></span>`},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},a11y:{prevSlideMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Previous"]||"go to previous slide",nextSlideMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_Next"]||"go to next slide",paginationBulletMessage:this.allTranslations()["#pps_WCC_FS_HomeHP_Accessibility_Carousel_To_Slide"]||"go to slide"},modules:[l.A,K.A],autoplay:!1,loop:!0,spaceBetween:0,observer:!0,watchOverflow:!1,autoHeight:this.isVisIdEnabled()}),this.window.set(this.windowRef.nativeWindow)}ngAfterViewInit(){this.initializeSwiper()}initializeSwiper(){const P=this.swiperWrapper().nativeElement;try{Object.assign(P,this.swiperParams()),this.pageConfig().isBrowser&&P.initialize()}catch{}}get isPaginationHidden(){const P=this.config(),A=this.isSlideInFocus();if(P&&P.nested&&null!==A)return A}isPaginationVisible(P){if(this.pagination()&&P===this.paginationPosition())return!0}slideTo(P){const A=this.swiperWrapper(),Z=A&&A.nativeElement.swiper;if(Z){if("prev"===P){if(this.isPrevDisabled())return;Z.slidePrev()}else{if(this.isNextDisabled())return;Z.slideNext()}setTimeout(()=>{this.updatePrevAndNextStates(Z)},100)}}updateAnrIds(P){let A="",Z="";const Pe=this.slideData();Pe&&"undefined"!==P&&(A=Pe[P].sliderAnrId&&Pe[P].sliderAnrId.paginationPrev||"",Z=Pe[P].sliderAnrId&&Pe[P].sliderAnrId.paginationNext||""),this.paginationPrevId.set(A),this.paginationNextId.set(Z)}updatePrevAndNextStates(P){if(P){const A=P.params?.loop,Z=P.isBeginning??0===P.activeIndex,Pe=P.isEnd??P.activeIndex>=P.slides?.length-P.params?.slidesPerView;this.isPrevDisabled.set(!A&&Z),this.isNextDisabled.set(!A&&Pe)}}onSlideTransitionEnd(){const P=this.swiperWrapper();if(P){const A=P.nativeElement.swiper.getIndex(!0),Z=P.nativeElement.swiper;Z&&Z.params.loop&&(Z.slideToLoop(A,0),Z.params.autoplay&&Z.params.autoplay.enabled&&Z.autoplay.start(),this.removeDuplicateId(),this.updateTabIndexMastiffContent(A)),this.updatePrevAndNextStates(Z),this.updateAnrIds(A),this.onSlideChange.emit(A)}}updateTabIndexMastiffContent(P){if(typeof document<"u"&&this.isMastiffEnabled()){const A=document.querySelector("#hp-slider-"+this.name()),Z=A.querySelectorAll(".LargeBannerCTADiv");Array.from(Z).forEach(ye=>{this.renderer.setAttribute(ye,"tabindex","-1")});const Pe=this.slideData();if(Pe&&"mastiffSpos"===Pe[P].desc){const Ne=A.querySelector(".swiper-slide-active").querySelector(".LargeBannerCTADiv");Ne&&this.renderer.setAttribute(Ne,"tabindex","0")}}}updateArrowsSizeAndPosition(){const P=this.horizontalArrowSize();P&&P&&this.horizontalArrowWidth.set(Number(P));const A=this.paginationArrowSize();if(this.pagination()&&A){const[Z,Pe]=A.split(",");this.paginationArrowWidth.set(Number(Z)),this.paginationArrowHeight.set(Number(Pe))}}getHorizontalNavWrapperClass(P){return"lightBlue"===P?"lightblue-nav":"blue"===P?"blue-nav":"carousel-arrow"===P?"blue-nav-device-carousel":"lightgray-nav"}getNameForPagination(P,A=""){return""!==A?`${A}-${P.toLowerCase().replace(/\./g,"-")}`:`-${P.toLowerCase().replace(/\./g,"-")}`}getArrowStyleClass(P){return`style-${P||"default"}`}ngOnInit(){this.appSelectorStore.getAllTranslations$().subscribe(A=>this.allTranslations.set(A)),this.name()||this.name.set((new Date).getTime().toString());const P=this.swiperParams();this.pagination()?(P.pagination.el+=`${this.getNameForPagination(this.name())}`,P.navigation.prevEl+=`${this.getNameForPagination(this.name())}`,P.navigation.nextEl+=`${this.getNameForPagination(this.name())}`):(delete P.pagination,delete P.navigation),P.autoplay=this.autoplay(),P.loop=this.loop(),(0,$.A)(P,this.config()),this.updateArrowsSizeAndPosition(),this.initiateSlider()}removeDuplicateId(){this.window()&&setTimeout(()=>{const P=document.querySelectorAll(".swiper-slide-duplicate [id]");P.length&&P.forEach(A=>this.renderer.removeAttribute(A,"id"))},10)}initiateSlider(){this.isConfigUpdated.set(!0),setTimeout(()=>{const P=this.swiperWrapper();if(P){this.initializeSwiper(),this.updateAnrIds(0);const A=P.nativeElement.swiper;A&&A.params.loop&&this.removeDuplicateId(),this.updatePrevAndNextStates(A),this.onSliderReady.emit(A)}})}ngOnChanges(P){P.slideData&&!P.slideData.firstChange&&(this.isConfigUpdated.set(!1),setTimeout(()=>{this.initiateSlider()},10))}ngOnDestroy(){this.destroySubject$().next()}static{this.\u0275fac=function(A){return new(A||G)(_.rXU(R.b),_.rXU(U.$),_.rXU(re.q),_.rXU(_.sFG))}}static{this.\u0275cmp=_.VBU({type:G,selectors:[["app-slider"]],viewQuery:function(A,Z){1&A&&_.wEZ(Z.swiperWrapper,X,5),2&A&&_.NyB()},inputs:{slideData:[1,"slideData"],name:[1,"name"],wrapperCss:[1,"wrapperCss"],slideShadowSize:[1,"slideShadowSize"],isSlideInFocus:[1,"isSlideInFocus"],config:[1,"config"],autoplay:[1,"autoplay"],loop:[1,"loop"],horizontalNav:[1,"horizontalNav"],horizontalNavColor:[1,"horizontalNavColor"],horizontalNavArrowsPosition:[1,"horizontalNavArrowsPosition"],horizontalArrowType:[1,"horizontalArrowType"],horizontalArrowSize:[1,"horizontalArrowSize"],pagination:[1,"pagination"],hidePaginationBullets:[1,"hidePaginationBullets"],hidePaginationArrows:[1,"hidePaginationArrows"],isNumberedPagination:[1,"isNumberedPagination"],paginationPosition:[1,"paginationPosition"],paginationAlignment:[1,"paginationAlignment"],pushPaginationArrows:[1,"pushPaginationArrows"],paginationMargin:[1,"paginationMargin"],paginationArrowSize:[1,"paginationArrowSize"],paginationArrowStyle:[1,"paginationArrowStyle"],isMastiffEnabled:[1,"isMastiffEnabled"],isVisIdEnabled:[1,"isVisIdEnabled"]},outputs:{name:"nameChange",onSlideChange:"onSlideChange",onSliderReady:"onSliderReady"},features:[_.OA$],ngContentSelectors:Q,decls:13,vars:6,consts:[["paginationHorizontal",""],["paginationLtr",""],["paginationRtl",""],["swiperWrapper",""],[3,"ngClass","id","class"],[3,"ngClass"],[1,"nextPrevBtns"],["href","javascript:void(0)",1,"prev-btn",3,"mouseover","mouseout","keydown.enter"],["alt","left arrow",3,"click","
1src"],["href","javascript:void(0)",1,"nxt-btn",3,"mouseover","mouseout","keydown.enter"],["alt","right arrow",3,"click","src"],[3,"ngClass","id"],[1,"slider-pagination",3,"hidden","ngClass","ngStyle"],[1,"position-relative"],[3,"ngClass","ngStyle"],["init","false",1,"swiper-container",3,"slidechangetransitionend"],[4,"ngTemplateOutlet"],["role","button",1,"swiper-button-prev-unique",3,"id","pagi-disabled","ngStyle","ngClass"],["role","button",1,"swiper-button-next-unique",3,"id","pagi-disabled","ngStyle","ngClass"],["role","button",1,"swiper-button-prev-unique",3,"keyup.enter","click","id","ngStyle","ngClass"],["role","button",1,"swiper-button-next-unique",3,"keyup.enter","click","id","ngStyle","ngClass"],[1,"swiper-button-prev",3,"id","ngClass","ngStyle"],[1,"swiper-button-next",3,"id","ngClass","ngStyle"]],template:function(A,Z){if(1&A){const Pe=_.RV6();_.NAR(),_.nVh(0,tt,10,22,"div",4),_.DNE(1,Je,2,2,"ng-template",null,0,_.C5r)(3,fe,3,3,"ng-template",null,1,_.C5r)(5,se,3,3,"ng-template",null,2,_.C5r),_.j41(7,"div",5)(8,"div",6)(9,"a",7),_.bIt("mouseover",function(){return s.eBV(Pe),s.Njj(Z.leftIconHovered.set(!0))})("mouseout",function(){return s.eBV(Pe),s.Njj(Z.leftIconHovered.set(!1))})("keydown.enter",function(){return s.eBV(Pe),s.Njj(Z.slideTo("prev"))}),_.j41(10,"img",8),_.bIt("click",function(){return s.eBV(Pe),s.Njj(Z.slideTo("prev"))}),_.k0s()(),_.j41(11,"a",9),_.bIt("mouseover",function(){return s.eBV(Pe),s.Njj(Z.rightIconHovered.set(!0))})("mouseout",function(){return s.eBV(Pe),s.Njj(Z.rightIconHovered.set(!1))})("keydown.enter",function(){return s.eBV(Pe),s.Njj(Z.slideTo("next"))}),_.j41(12,"img",10),_.bIt("click",function(){return s.eBV(Pe),s.Njj(Z.slideTo("next"))}),_.k0s()()()()}2&A&&(_.vxM(Z.isConfigUpdated()?0:-1),_.R7$(7),_.Y8G("ngClass",_.eq3(4,q,"rtl"===Z.pageConfig().languageDirection)),_.R7$(3),_.Y8G("src",Z.leftIconHovered()?"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_left_hover.png":"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_left.png",_.B4B),_.R7$(2),_.Y8G("src",Z.rightIconHovered()?"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_right_hover.png":"/wcc-assets/content/dam/hp-wcc/fe-assets/images/chevron_right.png",_.B4B))},dependencies:[y.YU,y.B3,y.T3,D.z],styles:['.slider-pagination{position:relative;margin-left:-8px;margin-right:-8px}.slider-pagination .swiper-button-prev,.slider-pagination .swiper-button-next{vertical-align:middle;position:relative;width:10px;height:17px;top:unset;left:auto;right:auto;margin:-4px 8px 0;z-index:10;cursor:pointer;background-repeat:no-repeat;background-image:url(/wcc-assets/images/arrow-dark-right.svg)!important;background-size:100%;background-position:center;display:inline-block}.slider-pagination .swiper-button-prev.style-slim,.slider-pagination .swiper-button-next.style-slim{margin:-4px 27px 0;background-image:url(/wcc-assets/content/dam/hp-wcc/fe-assets/images/Chevron-1.svg)!important}.slider-pagination .swiper-button-prev:focus,.slider-pagination .swiper-button-next:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6}.slider-pagination .swiper-button-prev .swiper-navigation-icon,.slider-pagination .swiper-button-next .swiper-navigation-icon{display:none}.slider-pagination .swiper-button-prev{transform:scaleX(-1)}.slider-pagination .swiper-pagination-bullets{display:inline-block;vertical-align:middle;position:relative;z-index:10}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet{width:10px;height:10px;margin:0 5px;display:inline-block;background-color:#ccc;border-radius:10px}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:-webkit-focus-ring-color auto 1px;box-shadow:0 0 2px 1px #ccc}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet:hover{cursor:pointer}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet-active{background:#0096d6;border:0}.slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet-active:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6;border:1px solid #0096D6}.slider-pagination.dark .swiper-pagination-bullets .swiper-pagination-bullet-active{background:#165dba}.slider-pagination.center-aligned{text-align:center}.slider-pagination.center-aligned .swiper-button-prev,.slider-pagination.center-aligned .swiper-button-next{position:relative;top:auto;right:auto;left:auto;width:10px;height:17px;background-size:10px 17px}.slider-pagination.center-aligned .swiper-button-prev.style-slim,.slider-pagination.center-aligned .swiper-button-next.style-slim{background-size:8px 22px}.slider-pagination.center-aligned.push-arrows .swiper-button-prev,.slider-pagination.center-aligned.push-arrows .swiper-button-next{position:absolute;top:50%;left:unset;right:unset}.slider-pagination.center-aligned.push-arrows .swiper-button-prev{left:0}.slider-pagination.center-aligned.push-arrows .swiper-button-next{right:0}.slider-pagination.left-aligned{text-align:left}.slider-pagination.right-aligned{text-align:right}.slider-pagination.numbered-pagination .swiper-button-prev,.slider-pagination.numbered-pagination .swiper-button-next{width:11.5px;height:26.5px;margin:0 8px}.slider-pagination.numbered-pagination .swiper-pagination-bullet{width:43px;height:43px;margin:5px;font-size:19px;line-height:43px;text-align:center;opacity:1;background:#f3f3f3;color:#000}.slider-pagination.numbered-pagination .swiper-pagination-bullet:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #f3f3f3}.slider-pagination.numbered-pagination .swiper-pagination-bullet-active{color:#fff;background:#0096d6}.slider-pagination.numbered-pagination .swiper-pagination-bullet-active:focus{outline:-webkit-focus-ring-color auto 0px;box-shadow:0 0 2px 1px #0096d6}.slider-pagination.arrows-hidden .swiper-pagination-bullet:first-child{margin-left:0}.slider-pagination.arrows-hidden .swiper-pagination-bullet:last-child{margin-right:0}.banner-slider.is-vis-id>.position-relative .swiper-container .swiper-container-initialized{border:1px solid #000000}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{margin-right:0!important;margin-left:0!important;right:-60px;left:auto;width:40px!important;height:40px;border:1px solid #000000;padding:11px 0;background:none;text-align:center;color:#000;text-decoration:none;line-height:18px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:before{content:"\\e601";font-size:20px;font-family:HPControlIcons}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{transform:rotate(90deg)}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{margin-top:60px;transform:rotate(-90deg)}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:hover{background-color:#ebf9ff}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:active{background-color:#caf3ff}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside:focus-visible{border:2px solid #0278AB;padding:10px 0}.banner-slider.is-vis-id .slider-pagination{text-align:unset;margin-left:0;margin-right:0}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet{width:50px;height:unset;border:1px solid;border-color:#000000 #fff #fff #fff;padding-bottom:10px;margin:0 8px;border-radius:0;background-color:#fff;opacity:1}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color:#000;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:hover{border-color:#0278ab;
1background-color:#014667}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active:focus-visible{background-color:#fff}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:hover{outline:none;box-shadow:none;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:active{outline:none;box-shadow:none;background-color:#caf3ff;border-color:#000}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:none;box-shadow:none}.banner-slider.is-vis-id .slider-pagination .position-relative .swiper-pagination-bullets .swiper-pagination-bullet:focus-visible{outline:none;box-shadow:none;border:2px solid;border-color:#0278ab;padding-bottom:8px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{right:auto;left:-60px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{transform:rotate(-90deg)}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{transform:rotate(90deg)}swiper-container>.swiper-slide{max-width:unset;overflow-x:hidden;overflow-y:auto}.auto-height swiper-container>.swiper-slide{height:auto!important}.has-shadow{overflow:hidden}.has-shadow swiper-container>.swiper.s-wrapper{overflow:visible}.rtl .nextPrevBtns{float:left;left:16px;right:auto}.nextPrevBtns{display:none;position:absolute;z-index:1;right:16px;bottom:2px;float:right;width:112px;height:56px;gap:10px;background-color:#fff;box-shadow:0 1px 4px 1px #08040433;border-radius:16px;cursor:pointer}.nextPrevBtns img{height:30px!important;width:30px!important}.right-arrow{transform:rotate(-90deg);display:inline-block;background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);background-repeat:no-repeat;background-position-y:center}.nxt-btn{position:absolute;margin-left:61px;margin-top:12px;width:30px;top:3px;left:3px}.prev-btn{position:absolute;margin-left:18px;margin-top:12px;width:30px;top:3px;left:3px}.swiper-button-prev-light-theme{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);transform:scaleX(-1);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-prev,.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-next{position:absolute;width:10px;height:17px;background-size:10px 17px}.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-prev.style-slim,.rtl .slider-pagination.center-aligned.push-arrows .swiper-button-next.style-slim{background-size:8px 22px}.swiper-button-prev-unique{left:0;height:100%;top:0;width:15px;background-color:transparent;background-size:100%}.swiper-button-prev-unique.arrows-outside{left:-24px}.swiper-button-next-unique{right:0;height:100%;top:0;width:15px;background-color:transparent;background-size:100%}.swiper-button-next-unique.arrows-outside{right:-24px}.swiper-button-prev-unique,.swiper-button-next-unique{padding:0}.swiper-button-prev-unique.pagi-disabled,.swiper-button-next-unique.pagi-disabled{opacity:.3;cursor:auto}.swiper-button-prev-unique.pagi-disabled:focus,.swiper-button-next-unique.pagi-disabled:focus{outline:0}.swiper-button-prev-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);transform:scaleX(-1);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle.svg);background-repeat:no-repeat;background-position-y:center;position:absolute;z-index:10;cursor:pointer}.blue-nav .swiper-button-prev-unique,.blue-nav .swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow-dark-rignt-02.svg);background-position:center}.blue-nav-device-carousel .swiper-button-prev-unique,.blue-nav-device-carousel .swiper-button-next-unique{background-image:url(/wcc-assets/images/chevron-1right.png);background-position:center}.lightblue-nav .swiper-button-prev-unique,.lightblue-nav .swiper-button-next-unique{background-image:url(/wcc-assets/images/arrow_icon_nocircle-blue.svg);background-position:right}@media only screen and (max-width:768px){.slider-pagination.numbered-pagination .swiper-pagination-bullet{width:35px;height:35px;line-height:35px}}.banner-slider .swiper-button-next-unique:focus,.banner-slider .swiper-button-prev-unique:focus{outline:none}.banner-slider .swiper-button-prev-unique,.pfinder-carousel .swiper-button-prev-unique{left:-10px}.banner-slider .swiper-button-next-unique,.pfinder-carousel .swiper-button-next-unique{right:-10px}.tier-solution-slider .swiper-button-prev-unique{left:-74px}.tier-solution-slider .swiper-button-next-unique{right:-74px}@media only screen and (min-width:769px)and (max-width:1080px){.tier-solution-slider .swiper-button-prev-unique{left:-34px}.tier-solution-slider .swiper-button-next-unique{right:-34px}}
1@media only screen and (max-width:768px){.video-section-slider .push-inside{padding-right:0!important;padding-left:0!important}.video-section-slider .slider-pagination{margin-top:-50px!important}.video-section-slider .swiper-button-prev-unique,.video-section-slider .swiper-button-next-unique{display:none}}@media only screen and (max-width:767px){.banner-slider .swiper-button-prev-unique,.banner-slider .swiper-button-next-unique{display:none}.banner-slider .slider-pagination{margin-top:20px!important}.banner-slider .slider-pagination .swiper-pagination-bullets .swiper-pagination-bullet{width:12px;height:12px}.banner-slider.is-vis-id>.position-relative .lightgray-nav{display:flex;gap:20px;margin:30px 20px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{right:auto;top:223px;display:block;position:unset}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{left:20px}.banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{left:90px;margin-top:0}.banner-slider.is-vis-id .slider-pagination{display:none}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside{left:auto}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-prev-unique{right:20px}.rtl .banner-slider.is-vis-id>.position-relative .lightgray-nav a.arrows-outside.swiper-button-next-unique{right:90px}}@media only screen and (min-width:768px){.new-device-slider .slider-pagination{display:none}}@media only screen and (min-width:769px){.video-section-slider .push-inside{margin-right:25px;margin-left:25px}.video-section-slider .swiper-button-prev,.video-section-slider .swiper-button-next{display:none}.pfinder-section-slider .swiper-button-prev-unique.arrows-outside{left:-7px}.pfinder-section-slider .swiper-button-next-unique.arrows-outside{right:-7px}.pfinder-section-slider .push-inside{margin-right:15px;margin-left:15px}.pfinder-section-slider .swiper-button-prev,.pfinder-section-slider .swiper-button-next{display:none}.tier-solution-slider>.slider-pagination{text-align:left}.tier-solution-slider>.slider-pagination .swiper-button-prev,.tier-solution-slider>.slider-pagination .swiper-button-next{display:none}.video-section-slider .swiper-pagination-bullets .swiper-pagination-bullet{margin:0 10px}}.step-video-box .swiper-pagination-bullets .swiper-pagination-bullet{width:5px;height:5px;margin:5px}.step-video-box .push-inside{padding-right:0!important;padding-left:0!important}@media only screen and (max-width:900px){.slider-pagination .swiper-button-prev.style-slim,.slider-pagination .swiper-button-next.style-slim{margin:-4px 10px 0}.step-video-box .swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 12px}.step-video-box .slider-pagination.mt-10{margin-top:10px!important}.step-video-box .slider-pagination.center-aligned .swiper-button-prev{position:absolute;left:0}.step-video-box .slider-pagination.center-aligned .swiper-button-next{position:absolute;right:0}}\n'],encapsulation:2})}}return G})()},71183(xe,le,a){a.d(le,{F:()=>S});var M=a(85240),s=a(86763),u=a(84205),$=a(14876),j=a(93551),N=a(70739),p=a(93683),i=a(12481),K=a(20572),l=a(19885),h=a(8130),g=a(38225),W=a(9303),e=a(4804);const ae=f=>({rtl:f});function ue(f,D){if(1&f&&i.eu8(0,13),2&f){i.XpG();const y=i.sdS(18);i.Y8G("ngTemplateOutlet",y)}}function me(f,D){if(1&f&&i.eu8(0,13),2&f){i.XpG();const y=i.sdS(20);i.Y8G("ngTemplateOutlet",y)}}function n(f,D){if(1&f&&i.eu8(0,13),2&f){i.XpG();const y=i.sdS(22);i.Y8G("ngTemplateOutlet",y)}}function pe(f,D){if(1&f&&i.eu8(0,13),2&f){i.XpG();const y=i.sdS(26);i.Y8G("ngTemplateOutlet",y)}}function te(f,D){if(1&f&&i.eu8(0,13),2&f){i.XpG();const y=i.sdS(24);i.Y8G("ngTemplateOutlet",y)}}function F(f,D){if(1&f){const y=i.RV6();i.j41(0,"div",14)(1,"div",12)(2,"p",15),i.EFF(3),i.k0s(),i.j41(4,"div",16),i.nrm(5,"img",17),i.j41(6,"span",18),i.EFF(7),i.k0s()()(),i.j41(8,"div",19)(9,"div",20),i.nrm(10,"img",21),i.k0s()()(),i.j41(11,"div",14)(12,"div",22)(13,"a",23),i.bIt("click",function(){M.eBV(y);const R=i.XpG();return M.Njj(R.openDownload())}),i.EFF(14),i.k0s()()()}if(2&f){const y=i.XpG();i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_Detect_Product_Button_Text2"]),i.R7$(2),i.Y8G("src",y.loadingImage(),i.B4B),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_StartingModal_LoadingText"]),i.R7$(3),i.Y8G("src",y.waitingImage(),i.B4B),i.R7$(3),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_Waiting_Actions_Completed_text"]),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Waiting_Actions_Completed_text"])}}function B(f,D){if(1&f){const y=i.RV6();i.j41(0,"div",14)(1,"div",12)(2,"p",24),i.EFF(3),i.k0s(),i.j41(4,"div",25),i.EFF(5),i.k0s(),i.j41(6,"div",26)(7,"div",27),i.EFF(8),i.k0s()(),i.j41(9,"div",28)(10,"div",29)(11,"input",30),i.bIt("change",function(R){M.eBV(y);const U=i.XpG();return M.Njj(U.onSelectedRadio(R))})("keydown.enter",function(R){M.eBV(y);const U=i.XpG();return M.Njj(U.radiokeySelected(R))}),i.k0s()(),i.j41(12,"div",31),i.EFF(13),i.j41(14,"a",32),i.EFF(15),i.k0s()()()(),i.j41(16,"div",19)(17,"div",20),i.nrm(18,"img",21),i.k0s()()(),i.j41(19,"div",33)(20,"div",34)(21,"button",35),i.bIt("click",function(){M.eBV(y);const R=i.XpG();return M.Njj(R.startDownload())}),i.EFF(22),i.k0s()()()}if(2&f){const y=i.XpG();i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_DialogPromptsInstallSoftwareGetStarted_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_StartInstallingHPSupportSolutions_text"]),i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Guarantee_Faster_Support_Experience_text"]),i.R7$(3),i.BMQ("tabindex",y.isRadioSelected()?-1:0),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_HPTermsConditionsDataCollection_text"]),i.R7$(),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_LearnMore_text"]||"Learn More")("href",y.learnMore(),i.B4B),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_LearnMore_text"]||"Learn More"),i.R7$(3),i.Y8G("src",y.downloadImage(),i.B4B),i.R7$(3),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_Start_Download_text"])("disabled",!y.isRadioSelected()),i.BMQ("tabindex",y.isRadioSelected()?0:-1),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Start_Download_text"])}}function C(f,D){if(1&f){const y=i.RV6();i.j41(0,"div",14)(1,"div",22)(2,"p",36),i.EFF(3),i.k0s(),i.j41(4,"ul")(5,"li",37)(6,"div",38),i.EFF(7,"1"),i.k0s(),i.j41(8,"div",39),i.EFF(9),i.k0s()(),i.j41(10,"li",37)(11,"div",38),i.EFF(12,"2"),i.k0s(),i.j41(13,"div",39),i.EFF(14),i.k0s()(),i.j41(15,"li",37)(16,"div",38),i.EFF(17,"3"),i.k0s(),i.j41(18,"div",39),i.EFF(19),i.k0s()()(),i.j41(20,"div",26)(21,"div",40),i.EFF(22),i.k0s()()(),i.j41(23,"div",22)(24,"div",20),i.nrm(25,"img",21),i.k0s()()(),i.j41(26,"div",33)(27,"div",22)(28,"button",41),i.bIt("click",function(){M.eBV(y);const R=i.XpG();return M.Njj(R.continueBtn())}),i.EFF(29),i.k0s()()()}if(2&f){const y=i.XpG();i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_SupportSolutionDownloading_text"]),i.R7$(6),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_LocateBrowserWindowBeginInstalling_text"]),i.R7$(5),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Agree_Terms_Installer_Window_text"]),i.R7$(5),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Installer_Complete_Click_Continue_text"]),i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Installation_Finished_Click_Continue_text"]),i.R7$(3),i.Y8G("src",y.stepsImage(),i.B4B),i.R7$(3),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_Continue_text"])("disabled",y.isButtonDisabled()),i.BMQ("tabindex",y.isButtonDisabled()?-1:0),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Continue_text"])}}function x(f,D){if(1&f){const y=i.RV6();i.j41(0,"div",14)(1,"div",42)(2,"div",43),i.EFF(3),i.k0s(),i.j41(4,"div",44),i.EFF(5),i.k0s(),i.j41(6,"div",45),i.EFF(7),i.k0s(),i.j41(8,"button",46),i.bIt("click",function(){M.eBV(y);const R=i.XpG();return M.Njj(R.closeBtn())}),i.EFF(9),i.k0s()()()}if(2&f){const y=i.XpG();i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Error_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_SomethingWentWrongNoToolLaunch_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Sorry_Please_Try_Again_text"]),i.R7$(),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Close_text"])}}function m(f,D){if(1&f){const y=i.RV6();i.j41(0,"div",14)(1,"div",42)(2,"div",47),i.EFF(3),i.k0s(),i.j41(4,"div",48),i.EFF(5),i.k0s(),i.j41(6,"ul",49)(7,"li",50),i.EFF(8),i.k0s(),i.j41(9,"li",50),i.EFF(10),i.k0s(),i.j41(11,"li",50),i.EFF(12),i.k0s(),i.j41(13,"li",50),i.EFF(14),i.k0s(),i.j41(15,"li",50),i.EFF(16,"{{allTranslations()[\"#pps_WCC_FS_WPD_Product_Detect_Automatically_text\"] || 'There are some product types that HP can't detect automatically. To search using your serial number, product number or name, go back to the manual product selection.'}}"),i.k0s()(),i.j41(17,"div",51),i.EFF(18),i.k0s(),i.j41(19,"button",52),i.bIt("click",function(){M.eBV(y);const R=i.XpG();return M.Njj(R.closeBtn())}),i.EFF(20),i.k0s()()()}if(2&f){const y=i.XpG();i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_HP_Identify_Products_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_HPFindProductCommonThingsCheck_text"]),i.R7$(3),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Devices_PoweredOn_Identified_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_DevicesConnectedWirelesslyUSB_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_HPChecksCachedProductsFindNewDevices_text"]),i.R7$(2),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_HP_Identify_Branded_Products_text"]),i.R7$(4),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_NoProductsExpectedTryDetectionTool_text"]),i.R7$(),i.Y8G("title",y.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),i.R7$(),i.JRh(y.allTranslations()["#pps_WCC_FS_WPD_Close_text"])}}let S=(()=>{class f{constructor(y,_,R,U,re,X,Q,q){this.activeModal=y,this.modalService=_,this.pageService=R,this.appSelectorStore=U,this.productDetectService=re,this.windowRef=X,this.renderer=Q,this.globalDataService=q,this.allTranslations=(0,M.vPA)({}),this.pageConfig=(0,s.EW)(()=>this.pageService.configSignal()),this.downloadSSFUrl=(0,M.vPA)(""),this.destroySubject$=new u.B,this.onUserAcknowledgedFlag=(0,M.vPA)(!0),this.showWaitingTemplate=(0,M.vPA)(!0),this.showConfirmationTemplate=(0,M.vPA)(!1),this.showDownloadTemplate=(0,M.vPA)(!1),this.showErrorTemplate=(0,M.vPA)(!1),this.isRadioSelected=(0,M.vPA)(!1),this.showNoProductDetect=(0,M.vPA)(!1),this.isButtonDisabled=(0,M.vPA)(!0),this.ssfDownloaded=(0,M.vPA)(!1),this.waitingImage=(0,M.vPA)(N.D5.waitingImage),this.loadingImage=(0,M.vPA)(N.D5.loadingImage),this.downloadImage=(0,M.vPA)(N.D5.downloadImage),this.stepsImage=(0,M.vPA)(N.D5.stepsImage),this.eventTypes=["keydown","click"],this.timeout=null,this.learnMore=(0,M.vPA)(`https://www.hp.com/${this.pageConfig().locale}/privacy/privacy.html`),this.isDMDr=(0,M.vPA)(!1),this.window=this.windowRef.nativeWindow}ngOnInit(){this.isDMDr.set(this.productDetectService.checkIfDMDr()),this.startTimer(),this.getTranslations(),this.productDetectService.getDownloadSSFUrlFromSSC().subscribe(y=>{(0,j.A)(y)||this.downloadSSFUrl.set(y.downloadSSFUrl)}),this.onUserAcknowledgedFlag()&&this.openDownloadModalOnTimeout(),this.productDetectService.onProtocolUpdate().subscribe(y=>{clearTimeout(this.timeout),!y&&(this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.startTimer(),this.updateGDLForTemplateName(),this.isDMDr())&&this.globalDataService.updateGDL({DMDrSSFInstalled:!1}),this.onProtocalSuccessOrFailure(y)}),this.productDetectService.onUserCancelled().subscribe(y=>{if(y){clearTimeout(this.timeout),this.modalService.dismissAll();const _={Template:this.productDetectService.getPrevTemplateName()};this.globalDataService.updateGDL(_)}}),this.updateGDLForTemplateName()}onSelectedRadio(y){this.isRadioSelected.set(y.target.checked)}startTimer(){this.resetTimer(),this.addEventListeners(),this.timerSubscription&&this.timerSubscription.unsubscribe(),this.timerSubscription=(0,$.O)(0,1e3).subscribe(()=>{Date.now()-this.lastInteractionTime>=N.Sb&&this.stopTimer()})}stopTimer(){this.timerSubscription&&this.timerSubscription.unsubscribe(),this.showErrorTemplate.set(!0),this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!1),this.showConfirmationTemplate.set(!1),this.updateGDLForTemplateName()}resetTimer(){this.lastInteractionTime=Date.now()}addEventListeners(){typeof this.window<"u"&&this.eventTypes.forEac
1h(y=>{this.window.addEventListener(y,this.resetTimer.bind(this))})}removeEventListeners(){typeof this.window<"u"&&this.eventTypes.forEach(y=>{this.window.removeEventListener(y,this.resetTimer.bind(this))})}openDownloadModalOnTimeout(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.startTimer(),this.updateGDLForTemplateName()},N.oT)}closeBtn(){this.activeModal.dismiss("Cross click");const y=sessionStorage.getItem("productData");this.seriesContext=y?JSON.parse(y)?.data?.devices?.[0]?.productSpecs?.seriesContext:null,this.globalDataService.updateGDL({Template:this.seriesContext?"SWDSeriesDownload":"SWDDownload"}),this.showNoProductDetect()||this.productDetectService.onModalClose()}onKeyDownHandler(y){"Escape"===y.key&&this.activeModal.dismiss("Cross click")}openDownload(){clearTimeout(this.timeout),this.showWaitingTemplate.set(!1),this.showDownloadTemplate.set(!0),this.showConfirmationTemplate.set(!1),this.startTimer(),this.updateGDLForTemplateName()}startDownload(){if(this.showDownloadTemplate.set(!1),this.showWaitingTemplate.set(!1),this.showConfirmationTemplate.set(!0),this.ssfDownloaded.set(!0),this.startTimer(),typeof document<"u"){let y=this.renderer.createElement("a");this.renderer.setAttribute(y,"href",this.downloadSSFUrl()),y.click()}this.getConfirmationTimeout(),this.updateGDLForTemplateName(),this.isDMDr()&&this.globalDataService.updateGDL({DMDrSSFDownloaded:!0})}continueBtn(){typeof document<"u"&&(this.onUserAcknowledgedFlag.set(!1),this.showConfirmationTemplate.set(!1),this.showWaitingTemplate.set(!0),this.startTimer(),this.isRadioSelected.set(!1),document.getElementById("hpDetectButton").click(),this.openDownloadModalOnTimeout())}getConfirmationTimeout(){clearTimeout(this.timeout),this.isButtonDisabled.set(!0),this.timeout=setTimeout(()=>{this.isButtonDisabled.set(!1)},N.oT)}getTranslations(){this.appSelectorStore.getAllTranslations$().subscribe(y=>{this.allTranslations.set(y)})}getIdForModalClose(){return this.showWaitingTemplate()?"dmd-close":this.showDownloadTemplate()?"download-close":this.showConfirmationTemplate()?"Install-close":this.showErrorTemplate()?"error-close":this.showNoProductDetect()?"noproduct-close":""}updateGDLForTemplateName(){this.isDMDr()||(this.showWaitingTemplate()?this.globalDataService.updateGDL({Template:"DMD"}):this.showDownloadTemplate()?this.globalDataService.updateGDL({Template:"DMDSSFNotInstalled"}):this.showConfirmationTemplate()?this.globalDataService.updateGDL({Template:"DMD-SSFInstall"}):this.showErrorTemplate()&&this.globalDataService.updateGDL({Template:"DMDTimeout"}))}onProtocalSuccessOrFailure(y){const _=this.globalDataService.getWindowGlobalData();this.isDMDr()||""!==_?.DMD?.WPDSSFavailable||this.globalDataService.updateGDL({DMD:{WPDSSFavailable:!!y}},!0);let R=!!y&&null;this.ssfDownloaded()&&y&&(R=!0),this.globalDataService.updateGDL({DMD:{WPDSSFDownload:R}},!0)}radiokeySelected(y){y.target.checked=!0,this.onSelectedRadio(y)}ngOnDestroy(){this.timerSubscription&&this.timerSubscription.unsubscribe(),this.removeEventListeners(),this.destroySubject$.next(!0)}static{this.\u0275fac=function(_){return new(_||f)(i.rXU(K.Lw),i.rXU(K.Bq),i.rXU(l.b),i.rXU(h.q),i.rXU(g.S),i.rXU(W.$),i.rXU(i.sFG),i.rXU(e.a))}}static{this.\u0275cmp=i.VBU({type:f,selectors:[["app-wpd-waiting-modal"]],hostBindings:function(_,R){1&_&&i.bIt("keydown",function(re){return R.onKeyDownHandler(re)},i.EBC)},decls:27,vars:15,consts:[["Hpwpd_WaitingDialog",""],["Hpwpd_DownloadDialog",""],["Hpwpd_InstallDialog",""],["Hpwpd_ErrorDialog",""],["Hpwpd_NoProductDetect",""],[1,"modal-header",3,"ngClass"],[1,"modal-title"],[1,"close-text"],[1,"close-btn",3,"click","title","id"],["data-dismiss","modal",1,"cancel"],[1,"modal-body",3,"ngClass"],[1,"container"],[1,"col"],[3,"ngTemplateOutlet"],[1,"row"],[1,"wpd-hp-text"],[1,"waiting-area"],["alt","HP Web Product Detection","width","100%",1,"img-loader",3,"src"],[1,"comp-action"],[1,"col","grey-area-col"],[1,"grey-area"],["alt","HP Web Product Detection","width","100%",3,"src"],[1,"col-6"],["href","javascript:void(0)","id","clickhere",1,"wpd-hp-link",3,"click","title"],[1,"wpd-dialog-box"],[1,"wpd-install-sol"],[1,"wpd-next-section"],[1,"wpd-hp-content"],[1,"row","checkbox-content"],[1,"col-1"],["type","radio","id","Hpwpd_DownloadDialog_ChkAgree","value","radioName","formControlName","radioSelected",1,"radio-section",3,"change","keydown.enter"],[1,"col-11","wpd-hp-terms"],["target","_blank","href","javascript:void(0)","id","Learn_more",1,"learn-more",3,"title","href"],[1,"row","waiting-next-area"],[1,"col-6","dmd-btn-section"],["id","Hpwpd_DownloadDialog_BtnDownload","type","button","id","startdownload",1,"button","primary","dmd-trigger","dmd-step1-ssf-btn",3,"click","title","disabled"],[1,"wpd-conf-text"],[1,"wp-list-item"],[1,"col-1","circle-number"],[1,"col-11"],[1,"wpd-conf-content"],["id","SSF-Continue","type","button",1,"button",3,"click","title","disabled"],[1,"col-8"],[1,"wpd-error"],[1,"wpd-launch-text"],[1,"wpd-try-again"],["type","button","id","error-btn-close",1,"button","closebtn",3,"click","title"],[1,"wpd-no-detect"],[1,"wpd-no-common"],[1,"wpd-ul-disc"],[1,"wpd-li"],[1,"wpd-no-grey"],["type","button","id","noproduct-btn-close",1,"button","closebtn",3,"click","title"]],template:function(_,R){if(1&_){const U=i.RV6();i.j41(0,"div",5)(1,"h4",6),i.EFF(2),i.k0s(),i.j41(3,"div",7)(4,"button",8),i.bIt("click",function(){return M.eBV(U),M.Njj(R.closeBtn())}),i.j41(5,"div"),i.EFF(6),i.k0s(),i.j41(7,"div",9),i.EFF(8,"\xd7"),i.k0s()()()(),i.j41(9,"div",10)(10,"div",11)(11,"div",12),i.nVh(12,ue,1,1,"ng-container",13),i.nVh(13,me,1,1,"ng-container",13),i.nVh(14,n,1,1,"ng-container",13),i.nVh(15,pe,1,1,"ng-container",13),i.nVh(16,te,1,1,"ng-container",13),i.k0s()()(),i.DNE(17,F,15,6,"ng-template",null,0,i.C5r)(19,B,23,13,"ng-template",null,1,i.C5r)(21,C,30,10,"ng-template",null,2,i.C5r)(23,x,10,5,"ng-template",null,3,i.C5r)(25,m,21,9,"ng-template",null,4,i.C5r)}2&_&&(i.Y8G("ngClass",i.eq3(11,ae,"rtl"===R.pageConfig().languageDirection)),i.R7$(2),i.JRh(R.allTranslations()["#pps_WCC_FS_WPD_StartingModal_Title"]),i.R7$(2),i.Y8G("title",R.allTranslations()["#pps_WCC_FS_WPD_Close_text"])("id",R.getIdForModalClose()),i.R7$(2),i.JRh(R.allTranslations()["#pps_WCC_FS_WPD_Close_text"]),i.R7$(3),i.Y8G("ngClass",i.eq3(13,ae,"rtl"===R.pageConfig().languageDirection)),i.R7$(3),i.vxM(R.showWaitingTemplate()?12:-1),i.R7$(),i.vxM(R.showDownloadTemplate()?13:-1),i.R7$(),i.vxM(R.showConfirmationTemplate()?14:-1),i.R7$(),i.vxM(R.showNoProductDetect()?15:-1),i.R7$(),i.vxM(R.showErrorTemplate()?16:-1))},dependencies:[p.YU,p.T3],styles:['.wpd-waiting-modal .modal-dialog{max-width:1008px;margin:60px auto}.wpd-waiting-modal .modal-backdrop.show{background-color:#fff;opacity:.9}.wpd-waiting-modal .modal-header{padding:0 30px;border-bottom:1px solid #000000;display:flex;align-items:center;height:88px}.wpd-waiting-modal .modal-content{border:1px solid #000000;border-radius:0}.wpd-waiting-modal .modal-body{margin:15px 0}
1.wpd-waiting-modal .modal-title{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .close-text{cursor:pointer;display:flex;margin-left:auto}.wpd-waiting-modal .close-text .close-btn{display:flex;gap:8px;align-items:center;background-color:#fff;outline:none;padding:0;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:24px;color:#000}.wpd-waiting-modal .close-text .close-btn:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.wpd-waiting-modal .close-text:hover{color:#000}.wpd-waiting-modal .cancel{font-size:25px}.wpd-waiting-modal .wpd-hp-link{font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#1c8ecf;margin-top:20px;text-decoration:underline}.wpd-waiting-modal .wpd-hp-link:hover{color:#035c84!important}.wpd-waiting-modal .comp-action{padding-left:20px;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wp-list-item{display:flex;justify-content:center;align-items:center;margin-bottom:20px;
1font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .circle-number{display:flex;justify-content:center;align-items:center;border-radius:50%;border:1px solid #1C8ECF;text-align:center;width:27.75px;max-width:27.75px;height:27.75px;padding:0;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#1c8ecf}.wpd-waiting-modal .grey-area-col{max-width:430px}.wpd-waiting-modal .grey-area{top:0%;bottom:0%;height:226px;background:#f8f8f8;display:flex;justify-content:center;align-items:center}.wpd-waiting-modal .grey-area img{height:226px}.wpd-waiting-modal .button{display:flex;padding:10px 30px;width:172px;height:45px;justify-content:center;gap:10px;cursor:pointer;border-radius:0;font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#fff;background:#000}.wpd-waiting-modal .button:focus{outline:#0096D6 auto 0px;box-shadow:0 0 2px 1px #0096d6}.wpd-waiting-modal .button:disabled,.wpd-waiting-modal .button:disabled:hover{background-color:#dbdbdb;font-weight:400}.wpd-waiting-modal .waiting-area{padding:60px 0}.wpd-waiting-modal .checkbox-content{display:flex;justify-content:center;align-items:center}.wpd-waiting-modal .radio-section{width:25px;height:25px}.wpd-waiting-modal .learn-more{font:16px;padding-left:3px;color:#737373!important;text-decoration:underline!important}.wpd-waiting-modal .learn-more:hover{color:#035c84!important}.wpd-waiting-modal .loading-container{position:relative;width:100%;height:100%}
1.wpd-waiting-modal .wpd-hp-terms{font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .wpd-dialog-box{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000;letter-spacing:0em;text-align:left}.wpd-waiting-modal .wpd-install-sol{font-family:Forma DJR Micro;font-size:19px;font-weight:400;line-height:30px;color:#000;letter-spacing:0em;text-align:left}.wpd-waiting-modal .wpd-hp-text{font-family:Forma DJR Micro;font-size:40px;font-weight:400;line-height:50px;color:#000}.wpd-waiting-modal .wpd-hp-content{font-family:Forma DJR Micro;font-size:17px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-conf-text{font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-conf-content{font-family:Forma DJR Micro;font-size:17px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .waiting-conf-area{padding-top:20px;padding-bottom:30px}.wpd-waiting-modal .wpd-next-section{display:flex;flex-direction:row;align-items:flex-start;padding:20px;gap:10px;width:457px;background:#ebf9ff;border:1px solid #0278AB;margin:20px 0;
1font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-hp-section{display:flex;flex-direction:row;align-items:flex-start;padding:20px;gap:10px;width:457px;background:#f3fbfe;border:1px solid #0278AB;margin:20px 0;font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .waiting-next-area{padding-top:20px;padding-bottom:30px}.wpd-waiting-modal .wpd-error{letter-spacing:0em;text-align:left;margin:0 0 20px;font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-launch-text{letter-spacing:0em;text-align:left;margin:10px 0 20px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .wpd-try-again{letter-spacing:0em;text-align:left;margin:10px 0 20px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#737373}.wpd-waiting-modal .closebtn{width:103px;border:1px;margin-bottom:10px;font-weight:500}.wpd-waiting-modal .img-loader{border-radius:50%;animation:spin 2s linear infinite;width:43px;height:43px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.wpd-waiting-modal .rtl .close-text{margin-left:0}.wpd-waiting-modal .rtl .modal-title{padding-right:30px}.wpd-waiting-modal .rtl .comp-action{padding-right:20px}.wpd-waiting-modal .rtl .grey-area{margin:6px 30px 0 0}.wpd-waiting-modal .wpd-no-detect{margin-bottom:20px;
1font-family:Forma DJR Micro;font-size:20px;font-weight:400;line-height:30px;color:#000}.wpd-waiting-modal .wpd-no-common{font-family:Forma DJR Micro;font-size:16px;font-weight:500;line-height:25px;color:#000}.wpd-waiting-modal .wpd-ul-disc{list-style-type:disc;font-family:Forma DJR Micro;font-size:16px;font-weight:700;line-height:25px;color:#000}.wpd-waiting-modal .wpd-no-grey{margin:20px 0;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#737373}.wpd-waiting-modal .wpd-li{margin:0 0 0 25px;font-family:Forma DJR Micro;font-size:16px;font-weight:400;line-height:25px;color:#000}.wpd-waiting-modal .radio-section[type=radio]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;color:#000;font:inherit;width:24px;height:24px;border:1px solid #000000;border-radius:50%;transform:translateY(-.075em);display:grid;place-content:center}.wpd-waiting-modal .radio-section[type=radio]:focus{outline:#0096D6 auto 0px;box-shadow:0 0 6px #0096d6}.wpd-waiting-modal .radio-section[type=radio].has-error{border:1px solid #BF2026}.wpd-waiting-modal .radio-section[type=radio]:before{content:"";width:12px;height:12px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--form-control-color)}.wpd-waiting-modal .radio-section[type=radio]:checked:before{transform:scale(1);background-color:#000}\n'],encapsulation:2})}}return f})()},8435(xe,le,a){a.d(le,{S:()=>M});let M={pageName:null,className:"contact-pfinder",searchResultOrigin:"pdp",hidePfinderSearchExperience:!0,pfinderText:{generalOption:{screenReader:"#pps_WCC_FS_Product_finder_label1",noDMDscreenReader:"#pps_WCC_FS_Product_finder_label1",placeHolder:"#pps_WCC_FS_HomeHP_Search_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},printerOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},laptopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},desktopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},polyOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},otherOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},headsetOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},errorText:{errorText:"#pps_WCC_FS_Product_Finder_Serial_Number_Error_Text",errorProductText:"#pps_WCC_FS_Product_Finder_Product_Name_Error_Text",serialNumberErrorText1:"#pps_WCC_FS_Product_Finder_Product_Number_Error_Text1",serialNumberErrorText2:"#pps_WCC_FS_Product_Finder_Product_Number_Error_Text2",commonErrorText:"#pps_WCC_FS_Product_Finder_Common_Error_Text",commonError:!0},placeHolderProduct:"#pps_WCC_FS_Product_Finder_Product_Placeholder_Text",screenReaderProduct:"#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text"},printerOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},laptopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},desktopOption:{screenReader:"#pps_WCC_FS_Product_finder_Common_Input_Label_With_Or",noDMDscreenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},polyOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},otherOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},headsetOption:{screenReader:"#pps_WCC_FS_HomeHP_Serial_Number_Product_Input_Label",placeHolder:"#pps_WCC_FS_Product_Finder_No_selection_Placeholder_Text",submitButton:"#pps_WCC_FS_Product_finder_Submit_Button_Text"},signInSection:{display:!0,signInId:"sign-in",createAccountID:"createaccount",loggedInLinkID:"Signed-in"},productFinder:{language:null,display:!0,typeAheadDisplay:!0},productSelection:{display:!0,url:null,filteredProducts:[]},deviceDetector:{display:!0,url:null,position:"bottom"},addDevice:{display:!1,className:"add-device-to-profile"},servicesLink:{display:!1,screenReader:"#pps_WCC_FS_UCE_Standard_Carousel_Signed_In_pfinder_Service_Link_Text",placeHolder:"#pps_WCC_FS_UCE_Standard_Carousel_Signed_In_pfinder_Service_Link_Text"},serialNumWithServiceSelectionDD:{display:!1},tooltipSection:[{type:"printer",deviceDetector:{display:!0,position:"bottom"}},{type:"laptop",deviceDetector:{display:!0,position:"bottom"}},{type:"desktop",deviceDetector:{display:!0,position:"bottom"}},{type:"other",deviceDetector:{display:!1}},{type:"headset",deviceDetector:{display:!1}}
1],showSerialNumberEntry:{display:!0,showEntryForm:!0,showSignInRegister:!0,showDeviceCarousel:!1,serialNumberTitle:"#pps_WCC_FS_Product_finder_label1",productNumberTitle:"#pps_WCC_FS_Product_Finder_Enter_Product_Number_Text",hideSNSubmitOnPN:!1,mobileAltSubmit:!1,searchField:!1,showHelpertooltip:!1}}},64310(xe,le,a){a.d(le,{ContactContainerComponent:()=>it});var M=a(37580),s=a(12481),u=a(86763),$=a(85240),j=a(84205),N=a(19999),p=a(33900),i=a(2435),K=a(89169),l=a(47390);const g=function h(fe,ke){return fe===ke||(0,K.A)(fe,ke,(0,l.A)(ke))};var W=a(93551),e=a(70271),ae=a(43942),ue=a(63855),me=a(23477),n=a(19885),pe=a(91018),te=a(47484),F=a(60480);let B=(()=>{class fe{constructor(k,ie,se,H){this.pageService=k,this.http=ie,this.seoService=se,this.commonService=H,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new j.B}ngOnDestroy(){this.destroySubject$.next()}getTemplateData(){return this.http.get(`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_templatehtml?originID=${this.pageConfig().originId}`).pipe((0,e.T)(k=>{if(k&&k.data)return k.data}))}getQuickLinksData(k){return this.http.get(`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_quicklinks?originID=${this.pageConfig().originId}&userState=${k}`).pipe((0,e.T)(ie=>{if(ie&&ie.data)return ie.data}))}geCarouselBannerData(k){return new ae.c(ie=>{const se=this.commonService.getOsTmsId();let H=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_landing_carousel?originID=${this.pageConfig().originId}&userState=${k}&os=${se}`;const G={loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1}};let w,P=new ue.Lr;P=P.append("skipLoadingScreen","false"),this.http.get(H,{headers:P}).pipe((0,p.Q)(this.destroySubject$)).subscribe(A=>{A&&A.data&&(A.data?(w=A.data,w=(0,me.A)(w,[function(Z){return Z.order}]),ie.next({sliderData:w,sliderConfig:G})):(w=null,ie.next({sliderData:w,sliderConfig:G})),ie.complete())},A=>{ie.next({success:!1}),ie.complete()})})}getWelcomeBannerText(k,ie){const se=this.pageConfig().cc,H=this.pageConfig().lc;let G;return k&&(k.lastName||k.firstName)&&("jp"!==se&&"kr"!==se&&"ja"!==H&&"ko"!==H?G=ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_1"]+" "+k.firstName+ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_2"]:"jp"===se&&"ja"===H?G=ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_1"]+" "+k.lastName+" "+k.firstName+" \u69d8 "+ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_2"]:"kr"===se&&"ko"===H&&(G=ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_1"]+" "+k.lastName+" "+k.firstName+" "+ie["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Header_Text_2"])),G}updateSEOMetaTag(){this.seoService.updateMetaTagIndex("index, follow")}static{this.\u0275fac=function(ie){return new(ie||fe)($.KVO(n.b),$.KVO(pe.k),$.KVO(te.F),$.KVO(F.h))}}static{this.\u0275prov=$.jDH({token:fe,factory:fe.\u0275fac})}}return fe})();var C=a(8435),x=a(85237),m=a(93683),S=a(78767),f=a(54041),D=a(96114),y=a(97390),_=a(78808);let R=(()=>{class fe{constructor(k){this.pageService=k,this.card=(0,M.hFB)(null),this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal())}ngOnInit(){}static{this.\u0275fac=function(ie){return new(ie||fe)(s.rXU(n.b))}}static{this.\u0275cmp=s.VBU({type:fe,selectors:[["app-quick-link-card"]],inputs:{card:[1,"card"]},decls:5,vars:7,consts:[[1,"quick-link-card",3,"id","globalLink","title","linkTarget","ngClass"],[1,"icon"],["alt","icon",3,"src"],["aria-hidden","true",1,"link-text"]],template:function(ie,se){if(1&ie&&(s.j41(0,"a",0)(1,"div",1),s.nrm(2,"img",2),s.k0s(),s.j41(3,"span",3),s.EFF(4),s.k0s()()),2&ie){let H,G,w;s.Y8G("id",se.card().elementId)("globalLink",null==(H=se.card())?null:H.link)("title",se.card().linkText)("linkTarget",null==(G=se.card())?null:G.linkToTarget)("ngClass","rtl"===(null==(w=se.pageConfig())?null:w.languageDirection)?"rtl":"ltr"),s.R7$(2),s.Y8G("src",se.card().imagePath1,s.B4B),s.R7$(2),s.SpI(" ",se.card().linkText," ")}},dependencies:[m.YU,_.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.quick-link-card[_ngcontent-%COMP%]{width:279px;height:170px;min-height:170px;box-shadow:0 0 20px #00000029;background-color:#fff;border-radius:10px;margin:16px;display:flex;flex-direction:column;padding:20px 26px 11px;transition:all .3s ease-in-out}.quick-link-card[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:16px;line-height:20px;-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:3.75;margin:0 auto;line-height:1.25;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.quick-link-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:60px;width:60px;text-align:center;margin:12px auto}.quick-link-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:60px;width:60px}.quick-link-card[_ngcontent-%COMP%]:hover, .quick-link-card[_ngcontent-%COMP%]:focus-within{box-shadow:0 0 20px #0000004d;transform:scale(1.091,1.12)}.quick-link-card[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%], .quick-link-card[_ngcontent-%COMP%]:focus-within a[_ngcontent-%COMP%]{text-decoration:underline}.quick-link-card[_ngcontent-%COMP%]:hover > *[_ngcontent-%COMP%]{transform:scale(.9165,.8928)}.quick-link-card[_ngcontent-%COMP%]:focus{box-shadow:0 0 6px #0096d6}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.quick-link-card[_ngcontent-%COMP%]{flex-direction:row;min-height:86px;height:86px;padding-top:10px;text-align:left;width:90vw}.quick-link-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:30%;text-align:left;margin:unset;margin-right:20px}.quick-link-card[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{margin:auto auto auto 0;width:90%}}.rtl[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{text-align:center}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.rtl.quick-link-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:0;margin-left:20px}.rtl[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{text-align:right}}"]})}}return fe})();var U=a(52987),re=a(91126),X=a(70739),Q=a(72926),q=a(71839),J=a(4804),oe=a(24938),_e=a(9303),L=a(11439),de=a(8130),E=a(24180);function z(fe,ke){if(1&fe&&s.nrm(0,"img",8),2&fe){const k=s.XpG(2);s.Y8G("src",k.pageTemplateData().image1||"",s.B4B)}}function V(fe,ke){if(1&fe&&s.nrm(0,"img",8),2&fe){const k=s.XpG(2);s.Y8G("src",k.pageTemplateData().image2||"",s.B4B)}}function Ce(fe,ke){if(1&fe&&(s.j41(0,"div",2)(1,"div",7),s.nVh(2,z,1,1,"img",8),s.nVh(3,V,1,1,"img",8),s.k0s(),s.nrm(4,"div",9),s.k0s()),2&fe){const k=s.XpG();s.R7$(2),s.vxM(!k.pageConfig().isMobile&&k.pageTemplateData().image1?2:-1),s.R7$(),s.vxM(k.pageConfig().isMobile&&k.pageTemplateData().image2?3:-1)}}function ne(fe,ke){if(1&fe&&(s.j41(0,"div",3)(1,"h1",10),s.EFF(2),s.k0s(),s.j41(3,"p"),s.EFF(4),s.k0s()()),2&fe){const k=s.XpG();s.R7$(2),s.JRh(k.welcomeText()),s.R7$(2),s.Lme(" ",k.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Sub_Heading_Text_1"]," ",k.allTranslations()["#pps_WCC_FS_UCE_Landing_Signed_In_Page_Sub_Heading_Text_2"]," ")}}function ve(fe,ke){if(1&fe){const k=s.RV6();s.j41(0,"div",4)(1,"h2",11),s.EFF(2),s.k0s(),s.j41(3,"app-product-finder",12),s.bIt("deviceSelectedEvent",function(se){$.eBV(k);const H=s.XpG();return $.Njj(H.gotoContactOptions(se))}),s.k0s()()}if(2&fe){const k=s.XpG();s.R7$(2),s.JRh(k.pageTemplateData().subHeader1),s.R7$(),s.Y8G("productFinderConfig",k.productFinderConfig())("allTranslations",k.allTranslations())}}function he(fe,ke){if(1&fe&&(s.j41(0,"div",13)(1,"div",15),s.EFF(2),s.k0s(),s.nrm(3,"app-product-type",16),s.k0s()),2&fe){const k=s.XpG(2);s.R7$(2),s.SpI(" ",k.pageTemplateData().sectionHeader3||""," "),s.R7$(),s.Y8G("cardsData",k.productsData())("userState",k.userState())}}function De(fe,ke){1&fe&&s.nrm(0,"hr")}function Ee(fe,ke){if(1&fe&&(s.j41(0,"div"),s.nrm(1,"app-quick-link-card",19),s.k0s()),2&fe){const k=ke.$implicit;s.R7$(),s.Y8G("card",k)}}function Be(fe,ke){if(1&fe&&(s.j41(0,"div",14),s.nrm(1,"h3",17),s.j41(2,"div",18),s.Z7z(3,Ee,2,1,"div",null,s.fX1),s.n
1I1(5,"orderBy"),s.nI1(6,"slice"),s.k0s()()),2&fe){const k=s.XpG(2);s.R7$(),s.Y8G("innerHTML",k.pageTemplateData().sectionHeader1||"",s.npT),s.R7$(2),s.Dyx(s.brH(6,4,s.i5U(5,1,k.quickLinks(),"order"),0,4))}}function Ae(fe,ke){if(1&fe&&(s.j41(0,"div",5),s.nVh(1,he,4,3,"div",13),s.nVh(2,De,1,0,"hr"),s.nVh(3,Be,7,8,"div",14),s.k0s()),2&fe){let k,ie;const se=s.XpG();s.R7$(),s.vxM(se.isSignedIn()&&null!=(k=se.productsData())&&k.length&&se.showProductTiles()?1:-1),s.R7$(),s.vxM(null!=(ie=se.productsData())&&ie.length&&se.showProductTiles()?2:-1),s.R7$(),s.vxM(se.quickLinks()&&se.quickLinks().length?3:-1)}}function Ge(fe,ke){if(1&fe&&s.nrm(0,"app-banner-slider",20),2&fe){const k=s.XpG(2);s.Y8G("sliderData",k.sliderData())("target","_blank")("sliderConfig",k.sliderConfig())("isMastiffEnabled",k.isMastiffEnabled())}}function Se(fe,ke){if(1&fe&&(s.j41(0,"div",6),s.nVh(1,Ge,1,4,"app-banner-slider",20),s.k0s()),2&fe){const k=s.XpG();s.R7$(),s.vxM(k.sliderData()&&k.sliderData().length?1:-1)}}let Fe=(()=>{class fe{constructor(k,ie,se,H,G,w,P,A,Z,Pe,ye,Ne,We,He){this.pageService=k,this.contactLandingService=ie,this.authService=se,this.contactService=H,this.globalDataService=G,this.router=w,this.commonService=P,this.route=A,this.windowRef=Z,this.renderer=Pe,this.store=ye,this.document=Ne,this.appSelectorStore=We,this.domPurifierService=He,this.destroySubject$=new j.B,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.productFinderConfig=(0,$.vPA)((0,x.A)(C.S)),this.allTranslations=(0,$.vPA)({}),this.isSignedIn=(0,$.vPA)(!1),this.userState=(0,$.vPA)(null),this.quickLinks=(0,$.vPA)([]),this.template=(0,$.vPA)(""),this.pageTemplateData=(0,$.vPA)({}),this.sliderData=(0,$.vPA)([]),this.sliderConfig=(0,$.vPA)(null),this.isMastiffEnabled=(0,$.vPA)(!1),this.productsData=(0,$.vPA)([]),this.welcomeText=(0,$.vPA)(""),this.showProductTiles=(0,$.vPA)(!1),this.productsDataFetched=!1,this.quickLinksFetched=!1,this.bannerDataFetched=!1,this.pageTemplateFetched=!1,this.smartContentFetched=!1,this.window=this.windowRef.nativeWindow,this.route.data.pipe((0,p.Q)(this.destroySubject$)).subscribe(ze=>{this.globalDataService.updateGDL({Template:ze.templateName},!0)}),(0,u.QZ)(()=>{const ze=this.authService.isUserLoggedIn(),je=this.authService._userData();(0,u.O8)(()=>{this.isSignedIn.set(ze),this.userState.set(ze?X.rZ.SIGNED_IN:X.rZ.GUEST);const qe=ze?"uc_landing_auth":"uc_landing";this.pageConfig().isBrowser?(je&&je.customerId?(this.welcomeText.set(this.contactLandingService.getWelcomeBannerText(je,this.allTranslations())),this.productsDataFetched||(this.productsDataFetched=!0,this.fetchProducts(),this.setSignedInPfinderConfig())):je&&je.state&&("sessionExpired"===je.state||"sessionInvalid"===je.state)&&(this.smartContentFetched||(this.smartContentFetched=!0,this.getSmartContent())),this.quickLinksFetched||(this.quickLinksFetched=!0,this.getQuickLinks()),this.bannerDataFetched||(this.bannerDataFetched=!0,this.getBannerData()),this.pageTemplateFetched||(this.pageTemplateFetched=!0,this.getPageTemplate(qe))):(this.pageTemplateFetched||(this.pageTemplateFetched=!0,this.getPageTemplate(qe)),this.smartContentFetched||(this.smartContentFetched=!0,this.getSmartContent()),this.quickLinksFetched||(this.quickLinksFetched=!0,this.getQuickLinks()),this.bannerDataFetched||(this.bannerDataFetched=!0,this.getBannerData()))})})}ngOnInit(){if(this.checkProductTileAvailability(),this.contactService.getSeoLinkData(),this.appSelectorStore.getAllTranslations$().pipe((0,p.Q)(this.destroySubject$)).subscribe(k=>{this.allTranslations.set(k),this.isSignedIn()&&this.welcomeText.set(this.contactLandingService.getWelcomeBannerText(k,this.allTranslations()))}),this.setPfinderConfig(),this.contactLandingService.updateSEOMetaTag(),void 0!==typeof this.document){const k=this.document?.querySelector(".toolTipSection");k&&(this.pageConfig().isMobile||this.pageConfig().isTablet)&&this.renderer.listen(k,"click",()=>{const ie=this.document.querySelectorAll(".supplementalinfocontent"),se=this.document.querySelectorAll(".supplementalinfo:after");ie.forEach(H=>{this.renderer.setStyle(H,"display","block")}),se.forEach(H=>{this.renderer.setStyle(H,"display","block")})})}}setPfinderConfig(){const k=this.productFinderConfig();k.pageName=this.pageConfig().pageName,k.showSerialNumberEntry.showEntryForm=!1,k.showSerialNumberEntry.showSignInRegister=!1,k.deviceDetector.display=!1,this.productFinderConfig.set(k)}setSignedInPfinderConfig(){const k=this.productFinderConfig();k.productSelection.url=`/wcc-services/cms-v2/contexual/${this.pageConfig().locale}/wcc_uc_contacttooltip?originID=${this.pageConfig().originId}&userState=signedin`,k.showSerialNumberEntry.showDeviceCarousel=!0,k.addDevice.display=!0,k.deviceDetector.display=!0,k.servicesLink.display=!0,k.deviceDetector.url=`/${this.pageConfig().locale}/product/detect?source=contact`,this.productFinderConfig.set(k)}fetchProducts(){this.contactService.getProductTypes().pipe((0,p.Q)(this.destroySubject$)).subscribe(k=>{(0,W.A)(k)||(k.forEach(ie=>ie.imageNoScale=!0),this.productsData.set(k))})}getPageTemplate(k){this.contactService.getPageTemplate(k).pipe((0,p.Q)(this.destroySubject$)).subscribe(ie=>{(0,W.A)(ie)||this.pageTemplateData.set(ie)})}getQuickLinks(){this.contactLandingService.getQuickLinksData(this.userState()).pipe((0,p.Q)(this.destroySubject$)).subscribe(k=>{if(k){const ie=k.map(se=>(se.link=this.commonService.localizeURL(se.link),se));this.quickLinks.set(ie)}})}getSmartContent(){this.contactLandingService.getTemplateData().pipe((0,p.Q)(this.destroySubject$)).subscribe(k=>{if(this.template.set(k[0]?.html),!this.isSignedIn()&&void 0!==typeof this.document){const ie=this.renderer.selectRootElement("#headerContent",!0),se=this.domPurifierService.sanitize(`<div>${this.template()}</div>`,{});this.renderer.setProperty(ie,"innerHTML",se),this.attachEventListner()}})}getBannerData(){this.contactLandingService.geCarouselBannerData(this.userState()).pipe((0,p.Q)(this.destroySubject$)).subscribe(k=>{this.sliderConfig.set(k.sliderConfig),this.sliderData.set(k?.sliderData?.slice(0,3))})}
1attachEventListner(){if(void 0!==typeof this.document){const k=this.renderer.selectRootElement(".launchGetStartedNoSignin",!0),ie=this.renderer.selectRootElement(".launchSignIn",!0),se=this.renderer.selectRootElement(".launchCreateAccount",!0);if(k&&(this.renderer.setAttribute(k,"href","javascript:void(0)"),this.renderer.listen(k,"click",()=>{this.router.navigate([`/${this.pageConfig().locale}/contact/select-product`],{relativeTo:this.route,queryParamsHandling:"preserve"})})),se&&typeof this.window<"u"){const H=this.window.location.origin,G=`${H}/wcc-services/s/registration?cc=${this.pageConfig().cc}&lc=${this.pageConfig().lc}&pageurl=${H}/${this.pageConfig().cc}-${this.pageConfig().lc}/contact`;this.renderer.setAttribute(se,"href",G)}if(ie&&typeof this.window<"u"){const H=this.window.location.origin,G=`${H}/wcc-services/s/signin?cc=${this.pageConfig().cc}&lc=${this.pageConfig().lc}&pageurl=${encodeURIComponent(`${H}/${this.pageConfig().cc}-${this.pageConfig().lc}/contact`)}`;this.renderer.setAttribute(ie,"href",G)}}}gotoContactOptions(k){this.contactService.gotoContactOptions(k)}checkProductTileAvailability(){this.store.select(f.FM).pipe((0,i.$)(k=>!(0,W.A)(k))).subscribe(k=>{if(!(0,W.A)(k)){const ie=!(!k.CONTACT_PRODUCT_TILE_ENABLED||!k.CONTACT_PRODUCT_TILE_ENABLED)&&(0,S.A)(k.CONTACT_PRODUCT_TILE_ENABLED,this.pageConfig().templateName);this.showProductTiles.set(ie)}})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ie){return new(ie||fe)(s.rXU(n.b),s.rXU(B),s.rXU(Q.u),s.rXU(q.u),s.rXU(J.a),s.rXU(oe.Ix),s.rXU(F.h),s.rXU(oe.nX),s.rXU(_e.$),s.rXU(s.sFG),s.rXU(L.il),s.rXU($.qQL),s.rXU(de.q),s.rXU(E.S))}}static{this.\u0275cmp=s.VBU({type:fe,selectors:[["app-contact-landing"]],features:[s.Jv_([B])],decls:7,vars:6,consts:[[1,"contact-landing",3,"ngClass"],[1,"header-section"],[1,"non-signin"],[1,"signin-exp"],[1,"pfinder-carousel-container","pfinder-container"],[1,"product-type-and-links"],[1,"banner"],[1,"header-img"],["alt","header-img",3,"src"],["id","headerContent",1,"header-text"],[1,"text-center"],[1,"choose-product-sub-heading"],[3,"deviceSelectedEvent","productFinderConfig","allTranslations"],[1,"product-type-container"],[1,"quick-links"],[1,"product-type-title"],[3,"cardsData","userState"],[3,"innerHTML"],[1,"cards"],[3,"card"],[3,"sliderData","target","sliderConfig","isMastiffEnabled"]],template:function(ie,se){if(1&ie&&(s.j41(0,"div",0)(1,"div",1),s.nVh(2,Ce,5,2,"div",2),s.nVh(3,ne,5,3,"div",3),s.k0s(),s.nVh(4,ve,4,3,"div",4),s.nVh(5,Ae,4,3,"div",5),s.nVh(6,Se,2,1,"div",6),s.k0s()),2&ie){let H;s.Y8G("ngClass","rtl"===se.pageConfig().languageDirection?"rtl":"ltr"),s.R7$(2),s.vxM(se.isSignedIn()&&se.page
1Config().isBrowser||!se.pageTemplateData()?-1:2),s.R7$(),s.vxM(se.isSignedIn()?3:-1),s.R7$(),s.vxM(se.isSignedIn()?4:-1),s.R7$(),s.vxM(se.quickLinks()&&se.quickLinks().length||null!=(H=se.productsData())&&H.length?5:-1),s.R7$(),s.vxM(se.pageConfig().isMobile?-1:6)}},dependencies:[m.YU,re.v,U.l,R,y.t,m.P9,D.Q],styles:['@media print{*{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}a:not(:where(.header#header,.footer#footer) a){color:#165dba;font-size:16px;outline:none}a:not(:where(.header#header,.footer#footer) a):hover{color:#114284;text-decoration:underline}a:not(:where(.header#header,.footer#footer) a):active{color:#0c2e5c;text-decoration:underline}a:not(:where(.header#header,.footer#footer) a):focus{outline:none;box-shadow:0 0 6px #0096d6;text-decoration:underline;color:#114284}#findprod a{font-family:HPSimplified!important}a.in-text-link{font-family:HPSimplifiedLight}a.in-text-link:hover,a.in-text-link:active,a.in-text-link:focus{text-decoration:none}a.arrow-link:after,a.arrow-link-bold:after,a.arrow-link-reverse:before,a.arrow-link-reverse-bold:before,span.arrow-link:after,span.arrow-link-bold:after,span.arrow-link-reverse:before,span.arrow-link-reverse-bold:before{position:absolute;
1font-family:FontAwesome;font-style:normal;font-weight:400;line-height:inherit;-webkit-font-smoothing:antialiased}a.arrow-link-bold:before,a.arrow-link-bold:after,a.arrow-link-reverse-bold:before,a.arrow-link-reverse-bold:after,span.arrow-link-bold:before,span.arrow-link-bold:after,span.arrow-link-reverse-bold:before,span.arrow-link-reverse-bold:after{font-weight:700!important}a.arrow-link,a.arrow-link-bold,span.arrow-link,span.arrow-link-bold{padding-right:.7rem}a.arrow-link:after,a.arrow-link-bold:after,span.arrow-link:after,span.arrow-link-bold:after{content:"\\f105";margin-left:5px}a.arrow-link-reverse,a.arrow-link-reverse-bold,span.arrow-link-reverse,span.arrow-link-reverse-bold{padding-left:.7rem}a.arrow-link-reverse:before,a.arrow-link-reverse-bold:before,span.arrow-link-reverse:before,span.arrow-link-reverse-bold:before{content:"\\f104";margin-left:-.7rem}a.chevron-primary,button.chevron-primary{border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none;width:30px;height:30px;margin:0;padding:0;outline:0;text-align:center}a.chevron-primary:active,button.chevron-primary:active{background-color:#0c2e5c}a.chevron-primary:focus,button.chevron-primary:focus{box-shadow:0 0 8px #0096d6;color:#fff}a.chevron-primary:hover,button.chevron-primary:hover{background-color:#114284}a.chevron-primary:disabled,button.chevron-primary:disabled{background-color:#ccc}a.chevron-primary-prev:after,a.chevron-primary-next:after,button.chevron-primary-prev:after,button.chevron-primary-next:after{background-image:url(/wcc-assets/images/chevron-left-arrow-white.svg);background-repeat:no-repeat;background-position:0px center;content:" ";display:inline-block;width:8px;height:14px;margin:0 auto}a.chevron-primary-prev:disabled,a.chevron-primary-next:disabled,button.chevron-primary-prev:disabled,button.chevron-primary-next:disabled{box-shadow:none}a.chevron-primary-prev:disabled:after,a.chevron-primary-next:disabled:after,button.chevron-primary-prev:disabled:after,button.chevron-primary-next:disabled:after{background-image:url(/wcc-assets/images/chevron-left-arrow-grey.svg)}a.chevron-primary-next:after,button.chevron-primary-next:after{background-image:url(/wcc-assets/images/chevron-right-arrow-white.svg);background-position:1px center}a.chevron-primary-next:disabled,button.chevron-primary-next:disabled{box-shadow:none}a.chevron-primary-next:disabled:after,button.chevron-primary-next:disabled:after{background-image:url(/wcc-assets/images/chevron-right-arrow-grey.svg)}a.expand-button,button.expand-button{border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;width:28px;height:28px;margin:0;padding:0;outline:0;font-size:22px;text-align:center;background-color:#fff;border:solid 1.3px #165dba}a.expand-button-plus:after,a.expand-button-cross:after,button.expand-button-plus:after,button.expand-button-cross:after{background-image:url(/wcc-assets/images/plus-icon.svg);background-repeat:no-repeat;background-position:0px center;content:"";display:inline-block;width:14px;height:14px;margin:0 auto}a.expand-button-cross,button.expand-button-cross{background-color:#165dba}a.expand-button-cross:after,button.expand-button-cross:after{background-image:url(/wcc-assets/images/close-icon-light.svg);background-position:2px 1px;position:relative}h1{font-family:HPSimplifiedLight;font-size:32px;line-height:35px;letter-spacing:.25;color:#000}h2{font-family:HPSimplifiedLight;font-size:27px;line-height:30px;letter-spacing:.25;color:#000}h3{font-family:HPSimplifiedLight;font-size:20px;letter-spacing:.25px;line-height:23px;color:#000}h4{font-family:HPSimplifiedLight;font-size:18px;letter-spacing:.25px;line-height:21px;color:#000}button,a.btn,button.btn{font-family:HPSimplifiedRegular;font-size:16px;letter-spacing:.25px;padding:0 16px;border:none;border-radius:4px;height:33px;max-width:280px;white-space:nowrap;text-overflow:ellipsis;box-shadow:none;color:#fff;cursor:pointer}button.primary-button,a.primary-button.btn{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none}button.primary-button:active,a.primary-button.btn:active{background-color:#0c2e5c}button.primary-button:focus,a.primary-button.btn:focus{box-shadow:0 0 8px #0096d6;color:#fff}button.primary-button:hover,a.primary-button.btn:hover{background-color:#114284}button.primary-button:disabled,a.primary-button.btn:disabled{background-color:#ccc}button.secondary-btn,a.secondary-btn.btn{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}button.secondary-btn:hover,a.secondary-btn.btn:hover{color:#114284;border:1px solid #114284;background-color:#fff}button.secondary-btn:focus,a.secondary-btn.btn:focus{color:#165dba;border:1px solid #165DBA;box-shadow:0 0 8px #0096d6;outline:none;background-color:#fff}button.secondary-btn:active,a.secondary-btn.btn:active{color:#0c2e5c;border:1px solid #0C2E5C;background-color:#fff}button.secondary-btn:disabled,a.secondary-btn.btn:disabled{border:1px solid #CCCCCC;background-color:#fff}.digitnav__container .action-buttons button,.digitnav__container .action-buttons a.btn{font-family:inherit;border-radius:inherit}button:disabled,a.btn:disabled{background-color:#ccc;color:#fff;opacity:1!important;cursor:default}button:disabled:hover,a.btn:disabled:hover{background-color:#ccc;color:#fff}button:disabled.secondary-btn,a.btn:disabled.secondary-btn{background-color:#fff;color:#ccc}.QSIFeedbackButton button#QSIFeedbackButton-btn,.QSIFeedbackButton a#QSIFeedbackButton-btn.btn{width:37px!important;height:auto!important;font-family:HPSimplified!important}a.btn,button.btn{font-family:HPSimplified;font-size:16px;font-weight:400;line-height:33px;color:#fff;height:33px;background-color:#165dba;outline:none}
1a.btn:active,button.btn:active{background-color:#0c2e5c}a.btn:focus,button.btn:focus{box-shadow:0 0 8px #0096d6;color:#fff}a.btn:hover,button.btn:hover{background-color:#114284}a.btn:disabled,button.btn:disabled{background-color:#ccc}a.btn:hover,button.btn:hover{color:#fff}app-root>div.rtl .svg-vault.svg-chevron-right{transform:scaleX(-1)}.svg-vault.svg-spinner.clockwise{animation:load8 1s linear infinite}.svg-vault.svg-spinner.counter-clockwise{animation:load8 1s linear infinite reverse}body{margin:0 auto;font-size:16px;line-height:22px;letter-spacing:.25;color:#000;overflow-x:hidden;font:76%/1.35em HPSimplifiedLight,Open Sans,sans-serif!important}body.fix-body-position{position:fixed}ul:not(.digitnav-footer ul):not(.tab_list,.footer_privacy_links):not(.digitnav__container ul):not(.sec-nav-wrapper ul),ol{color:#767676;margin-bottom:20px}p:not(:where(.header#header,.footer#footer) p){color:#767676;margin-bottom:20px;font-family:HPSimplifiedLight;font-size:16px;line-height:22px}.digitnav-footer p,.digitnav-footer a,.digitnav__container p,.digitnav__container a{color:inherit;font-family:inherit}strong{font-family:HPSimplified;font-weight:700}em{font-family:HPSimplified;font-style:italic}input[type=text]{padding:.6rem 2rem;height:33px!important;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border:1px solid #767676}input[type=text]:hover,input[type=text]:active{border-color:#2c3038}input[type=text]:focus{border-color:#2c3038;box-shadow:0 0 8px #0096d6;outline:none}input[type=text]:disabled{border-color:#ccc}ul{margin:0;padding:0;list-style-type:none}.icon-dwn:before{content:"\\e601"}.icon-up:before{content:"\\e602"}.close-icon{position:relative;color:#767676;padding:8px 2px;font-size:16px;bottom:inherit;margin-left:-20px;display:inline!important;height:inherit;font-weight:400;font-family:HPControlIcons}.close-icon:before{content:"\\e607"}[class^=icon-]:not(.icon-content),[class*=" icon-"]:before{font-family:HPControlIcons;position:relative;font-size:16px;top:1px;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;font-smoothing:antialised;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa{font-weight:700}.fa-angle-right{padding-left:3px}.fa-angle-left{padding-right:3px}input[type=text].form-control{padding:.6rem 15px}::-ms-clear{display:none!important;color:#fff!important;width:0;height:0}button.close{font-size:30px;height:auto!important;overflow:visible}button.overlapped{border-radius:0 4px 4px 0!important}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){button.mob-overlapped{border-radius:0 4px 4px 0!important}}img{max-width:100%}.special-text{position:relative;cursor:pointer}.printer-landing-container.sm-screen .help-section-container{margin-top:0}.printer-landing-container .help-section-container{margin-top:-120px}@media screen and (max-width:800px){.printer-landing-container .help-section-container{margin-top:0}}.special-text__tooltip{font-size:16px;font-family:HPSimplifiedLight;position:absolute;width:132px;right:-50px;bottom:85%;margin-bottom:15px;line-height:24px;border:1px solid #CCCCCC;opacity:0;transition:opacity .5s linear;background:#fff;text-align:center}.special-text__tooltip:before,.special-text__tooltip:after{content:"";position:absolute;border-left:8px solid transparent;border-right:8px solid transparent;top:100%;left:50%;margin-left:-8px}.special-text__tooltip:before{border-top:8px solid #CCCCCC;margin-top:1px}.special-text__tooltip:after{border-top:8px solid #fff;margin-top:-1px;z-index:1}a.close-icon::-ms-clear{display:none}.special-text:hover .special-text__tooltip{opacity:1}.modal-header button.close:focus{outline:none!important}ngb-modal-window .modal-dialog:has(app-retired-product) .modal-content{border:none}ngb-modal-window.modal{z-index:1055}.strong-font-normal strong{font-weight:400}.list-card{padding:16px 30px;border-radius:5px;background-color:#fff;font-weight:300}.list-card strong{font-weight:400}.list-card .title{-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:48px;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;margin:0 0 6px;font-size:18px;width:-moz-fit-content;width:fit-content;max-width:max-content;line-height:24px;height:auto}.list-card .description{-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:100%;height:48px;line-height:24px;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;margin:0;font-size:16px;line-height:1.5;height:auto;color:#000}.list-card .strong-font-bold strong{font-weight:700}.list-card:not(:last-child){margin-bottom:6px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ltr .list-card .title{display:inline-block;width:auto;overflow:hidden;position:relative;line-height:24px;max-height:48px;margin-right:-1em;padding-right:1em}.ltr .list-card .title:before{content:"...";position:absolute;right:0;bottom:0}.ltr .list-card .title:after{content:"";position:absolute;right:0;width:1em;height:1em;margin-top:.2em;background:#fff}
1.ltr .list-card .description{display:block;overflow:hidden;position:relative;line-height:24px;max-height:48px;margin-right:-1em;padding-right:1em}.ltr .list-card .description:before{content:"...";position:absolute;right:0;bottom:0}.ltr .list-card .description:after{content:"";position:absolute;right:0;width:1em;height:1em;margin-top:.2em;background:#fff}.rtl .list-card .title{display:inline-block;width:auto;overflow:hidden;position:relative;line-height:24px;max-height:48px;margin-left:-1em;padding-left:1em}.rtl .list-card .title:before{content:"...";position:absolute;left:0;bottom:0}.rtl .list-card .title:after{content:"";position:absolute;left:0;width:1em;height:1em;margin-top:.2em;background:#fff}.rtl .list-card .description{display:block;overflow:hidden;position:relative;line-height:24px;max-height:48px;margin-left:-1em;padding-left:1em}.rtl .list-card .description:before{content:"...";position:absolute;left:0;bottom:0}.rtl .list-card .description:after{content:"";position:absolute;left:0;width:1em;height:1em;margin-top:.2em;background:#fff}}@media not all and (pointer:coarse){.special-text:hover .special-text__tooltip{visibility:visible;opacity:1}}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){body{font-size:14px;line-height:20px;letter-spacing:.25;color:0}p{font-size:14x;line-height:20px}a{font-size:16px}button{max-width:250px}button.search-submit{padding:0 25px;background-image:url(/wcc-assets/images/u2635_a.svg);background-position:center;background-repeat:no-repeat;background-size:30px;position:relative;left:-3px}h1{font-size:30px;line-height:33px}h2{font-size:22px;line-height:28px}h3{font-size:18px;line-height:21px}h4{font-family:HPSimplifiedLight;font-size:16px;line-height:21px;color:#000}.list-card{padding:9.4px 11.5px 7.6px 9px}.list-card .title{margin:0 0 5px}.list-card:not(:last-child){margin-bottom:9px}}.swiper-scrollbar{width:5px!important}.swiper-container-expanded{text-align:center}.swiper-container-expanded .swiper-container-multirow .swiper-scrollbar{width:5px!important;right:0!important}.swiper-container-rtl .swiper-scrollbar{right:revert!important;left:0}.pfinder-carousel-container{width:100vw;position:relative;left:calc(-50vw + 50%)}.rtl .pfinder-carousel-container{right:calc(-50vw + 50%)}@media only screen and (max-width:1504px){.swiper-container-expanded{text-align:center}}@media only screen and (min-width:768px)and (max-width:991px){.swiper-container-expanded{text-align:center}}@media only screen and (min-width:600px)and (max-width:767px),only screen and (max-width:600px){.pfinder-carousel-container{width:100%;position:unset;margin:auto}.default-device-container .swiper-slide-3 .card-wrapper .card-container{width:100%!important}}.customModalClass .modal-content{max-width:800px;min-height:400px;margin:auto}.loader,.loader:after{border-radius:50%;width:10em;height:10em}.loader{margin:60px auto;font-size:10px;position:relative;text-indent:-9999em;border-top:1.1em solid #0096D6;border-right:1.1em solid #0096D6;border-bottom:1.1em solid #0096D6;border-left:1.1em solid #fff;transform:translateZ(0);animation:load8 1.1s infinite linear}.stretched-link:after{position:absolute;inset:0;z-index:1;pointer-events:auto;content:"";background-color:#0000}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--device-pixel-ratio: 1}@media(-webkit-device-pixel-ratio:1.25){:root{--device-pixel-ratio: 1.25}}@media(-webkit-device-pixel-ratio:1.5){:root{--device-pixel-ratio: 1.5}}@media(-webkit-device-pixel-ratio:1.75){:root{--device-pixel-ratio: 1.75}}@media(-webkit-device-pixel-ratio:2){:root{--device-pixel-ratio: 2}}.contact-landing{margin-top:20px}.contact-landing hr{border-top:1px solid rgb(245,245,245);width:85%;max-width:1232px}.contact-landing .header-section .non-signin{height:400px;display:flex}.contact-landing .header-section .non-signin .header-img{width:445px;height:445px;position:relative;right:35px}.contact-landing .header-section .non-signin .header-text{text-align:left;margin:auto auto auto 0}.contact-landing .header-section .non-signin .header-text a{font-family:HPSimplifiedRegular}.contact-landing .header-section .signin-exp{height:unset;text-align:center;margin-top:60px}.contact-landing .header-section .signin-exp h1{font-size:38px}.contact-landing .header-section .signin-exp p{font-size:18px;color:#000;max-width:589px;margin:auto}.contact-landing .pfinder-container{margin-bottom:60px}.contact-landing .pfinder-container .choose-product-sub-heading{font-size:28px;line-height:1.21;text-align:center;font-weight:300;margin-top:20px;margin-bottom:28px}.contact-landing .quick-links{text-align:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:50px}.contact-landing .quick-links.non-signin{width:100vw;position:relative;
1left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;min-height:361px;background-image:linear-gradient(to top,#59c7b57d,#0095d47d);box-shadow:0 0 50px #00000029}.contact-landing .quick-links h3{font-size:28px;font-family:HPSImplifiedLight}.contact-landing .quick-links .cards{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.contact-landing .product-type-and-links{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;padding:10px 5px;box-shadow:0 0 50px #00000029;background-image:linear-gradient(to top,#59c7b57d,#59c7b57d,#0095d47d)}.contact-landing .product-type-and-links .product-type-container{margin-bottom:35px}.contact-landing .product-type-and-links .product-type-container .product-type-title{font-size:28px;font-weight:300;line-height:1.21;color:#000;padding:46px 0 38px;text-align:center}.contact-landing .product-type-and-links .quick-links{margin-top:45px}.contact-landing .banner{display:flex;justify-content:center;margin-bottom:40px;margin-top:50px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.contact-landing{margin-top:0}.contact-landing .header-section{margin-bottom:35px}.contact-landing .header-section .non-signin{height:unset;display:flex;flex-direction:column}.contact-landing .header-section .non-signin .header-img{height:113px;position:relative;width:100vw;right:15px;margin-bottom:30px}.contact-landing .header-section .non-signin .header-img img{width:100%;box-shadow:0 0 20px #00000040}.contact-landing .header-section .non-signin .header-text{text-align:center}.contact-landing .header-section .non-signin .header-text a{font-family:HPSimplifiedRegular}.contact-landing .header-section .signin-exp{margin-top:18px}.contact-landing .header-section .signin-exp h1{font-size:30px;padding:5px 20px}.contact-landing .header-section .signin-exp p{font-size:16px}.contact-landing .pfinder-container{margin-bottom:30px}.contact-landing .product-type-and-links .product-type-container .product-type-title{font-size:20px;padding:27px 4px 15px}.contact-landing .product-type-and-links .quick-links,.contact-landing .quick-links{margin-top:10px;margin-bottom:0}.contact-landing .quick-links h3{margin-top:25px;font-size:20px}.contact-landing .quick-links .cards{padding-bottom:30px}}@media only screen and (min-width:768px)and (max-width:991px),only screen and (min-width:992px)and (max-width:1199px),only screen and (min-width:1200px){.contact-landing .header-img img{position:relative;z-index:1}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.rtl .contact-landing .header-section .non-signin .header-img{width:100vw;left:4%;margin-left:0;right:-15px}}\n'],encapsulation:2})}}return fe})();var tt=a(52706),Ke=a(72990),Qe=a(35430),Je=a(60809),nt=a(44192);const Ze=["componentContainer"];let it=(()=>{class fe{constructor(k,ie,se,H,G,w,P,A,Z,Pe,ye){this.authService=k,this.pageService=ie,this.contactService=se,this.router=H,this.commonService=G,this.route=w,this.browserWrapperService=P,this.location=A,this.loadingScreenService=Z,this.warrantySpecsService=Pe,this.store=ye,this.componentContainer=(0,M.ebz)("componentContainer",{read:s.c1b}),this.destroySubject$=new j.B,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal()),this.sscKeys=(0,$.vPA)(null),this.polyDropdown=(0,$.vPA)(!1),this.serialNumReqLoc=(0,$.vPA)(!1),this.serialNumNotReqAudience=(0,$.vPA)(""),this.productContext=(0,$.vPA)(null),this.deviceCarouselData=(0,$.vPA)(null),this.userState=(0,u.EW)(()=>this.authService.isUserLoggedIn()?X.rZ.SIGNED_IN:X.rZ.GUEST)}ngOnInit(){this.getSSCConfig();const k=this.location.getState();this.deviceCarouselData.set(k?.deviceData||null)}storeProductContext(){let k=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");k||(k={}),g(k.contactProductContext,this.productContext())?this.productContext.set(k.contactProductContext):(k.contactProductContext=this.productContext(),this.browserWrapperService.setSessionStorageItem("contactFormMetaData",JSON.stringify(k)))}setProductContext(){const k=this.browserWrapperService.getSessionStorageItem("contactFormMetaData"),ie={...k?.contactProductContext?.seriesName?{seriesName:k?.contactProductContext?.seriesName}:null,...k?.contactProductContext?.seriesOid?{seriesOid:k?.contactProductContext?.seriesOid}:null,...k?.contactProductContext?.modelOid?{modelOid:k?.contactProductContext?.modelOid}
1:null,...k?.contactProductContext?.serialNumber?{serialNumber:k?.contactProductContext?.serialNumber}:null,...k?.contactProductContext?.sku?{sku:k?.contactProductContext?.sku?.split("#")?.shift()}:null};this.productContext.set(ie);const se=this.location?.getState();if(this.isContactRedirect()){const H=this.productContext()?.sku?.split("#")?.shift();this.router.navigate([`/${this.pageConfig().locale}/contact/product/${this.productContext().seriesName}/${this.productContext()?.seriesOid}/model/${this.productContext()?.modelOid}`],{queryParams:{sku:H,serialnumber:this.productContext()?.serialNumber},replaceUrl:!0,state:se})}else if(this.productContext()?.modelOid&&this.productContext()?.seriesOid){const H=this.productContext()?.sku?.split("#")?.shift();this.router.navigate([`/${this.pageConfig().locale}/contact/product/${this.productContext().seriesName}/${this.productContext()?.seriesOid}/model/${this.productContext()?.modelOid}`],{queryParams:H?{sku:H}:{},replaceUrl:!0,state:se})}else this.productContext()?.seriesOid&&this.router.navigate([`/${this.pageConfig().locale}/contact/product/${this.productContext().seriesName}/${this.productContext()?.seriesOid}`],{replaceUrl:!0,state:se})}checkAuth(k){const ie=k?.data?.devices?.[0],se=ie?.productSpecs,H=ie?.warranty;if(this.browserWrapperService.getSessionStorageItem("serialNumberEntry")){const G=this.getSerialNumberRedirectURL(se?.prodCategory);G&&this.router.navigate([G]),this.browserWrapperService.removeSessionStorageItem("serialNumberEntry")}else this.authService.userDataSub.pipe((0,p.Q)(this.destroySubject$)).subscribe(G=>{if((0,W.A)(G))return;const w=this.getSerialNumberRedirectURL(se?.prodCategory);(se?.hpOnePCEligible||se?.hpOnePrintEligible||se?.hpPlusEligible||H?.hpPlusEnrolled||H?.instInkSubscribed)&&sessionStorage.setItem("productDataWithSubcription",JSON.stringify(k));let P=ie?.warranty?.productLineCode||ie?.productSpecs?.productLineCode;this.contactService.checkTriageIsOn(this.userState(),null,this.contactService.checkDeviceSubscription(k),ie?.productSpecs?.productSeriesOid,!!ie?.productSpecs?.serialNumber,P).pipe((0,i.$)()).subscribe(A=>{A?this.router.navigate([`/${this.pageConfig().locale}/contact/help/${this.contactService.getDeviceType(se?.prodCategory)}`],{replaceUrl:!0,state:{context:!1}}):w&&this.router.navigate([w],{replaceUrl:!0})})})}getSSCConfig(){this.store.select(f.FM).pipe((0,i.$)(k=>!(0,W.A)(k))).subscribe(k=>{this.sscKeys.set(k),this.serialNumReqLoc.set("yes"===this.sscKeys()?.SLNO_REQUIRED_CONTACT?.toLowerCase()),this.serialNumNotReqAudience.set(this.sscKeys()?.SLNO_NOTREQUIRED_AUDIENCE_CONTACT?.toLowerCase()),this.polyDropdown.set(!1),(0,N.z)([this.route.params,this.route.queryParams]).pipe((0,p.Q)(this.destroySubject$)).subscribe(([ie,se])=>{const H={...ie?.seriesName?{seriesName:ie?.seriesName}:null,...ie?.seriesOID?{seriesOid:ie?.seriesOID}:null,...ie?.modelOID?{modelOid:ie?.modelOID}:null,...se?.serialnumber?{serialNumber:se?.serialnumber}:null,...se?.sku?{sku:se?.sku?.split("#")?.shift()}:null};this.productContext.set(H);const G="polydropdown"===se?.source?.toLowerCase()||!!this.browserWrapperService.getSessionStorageItem("isSourcePolyDropdown");this.polyDropdown.set(G),this.polyDropdown()&&this.browserWrapperService.setSessionStorageItem("isSourcePolyDropdown","true");const w=this.browserWrapperService.getSessionStorageItem("contactFormMetaData")||{};(w?.contactProductContext?.seriesOid!==this.productContext()?.seriesOid||w?.contactProductContext?.modelOid!==this.productContext()?.modelOid||w?.contactProductContext?.serialNumber!==this.productContext()?.serialNumber)&&this.browserWrapperService.removeSessionStorageItem("contactFormData"),(0,W.A)(this.productContext())?this.setProductContext():this.storeProductContext(),this.fetchProductData()})})}loadContactOptions(){this.loadingScreenService.startLoading(!0);const k=new URL(location.pathname,this.pageConfig().domain);this.productContext()?.sku&&"undefined"!=this.productContext()?.sku&&k.searchParams.append("sku",`${this.productContext().sku}`),"callme"==this.pageConfig()?.originId&&k.searchParams.append("originid","callme"),this.polyDropdown()&&k.searchParams.append("source","polydropdown");const ie=this.location?.getState();this.location.replaceState(k.pathname,k.search,ie),this.componentContainer().clear(),this.componentContainer().createComponent(tt.W).setInput("productC
1ontext",this.productContext())}loadContactLanding(){this.componentContainer().clear(),this.componentContainer().createComponent(Fe)}isContactRedirect(){const k=this.browserWrapperService.getSessionStorageItem("contactFormMetaData")||{};return!!(this.checkAllFields(this.productContext())||g(k.contactProductContext,this.productContext())&&this.checkAllFields(k?.contactProductContext))}checkAllFields(k){return k?.serialNumber&&this.commonService.isSerialNumberPattern(k?.serialNumber,this.sscKeys())&&k?.modelOid&&k?.sku&&k?.seriesOid&&k?.seriesName}redirectToSiteHome(){this.router.navigate([`/${this.pageConfig().locale}`])}fetchProductData(){let k;if(this.pageConfig().isBrowser&&(k=this.browserWrapperService.getSessionStorageItem("productData")),this.productContext()?.seriesOid||this.productContext()?.modelOid){let ie={seriesOid:this.productContext()?.seriesOid,modelOid:this.productContext()?.modelOid||null,serialNumber:this.productContext().serialNumber,sku:this.productContext().sku};this.warrantySpecsService.getWarrantySpecsData(ie).pipe((0,i.$)()).subscribe(se=>{if((0,W.A)(se))this.loadContactLanding();else{const G=se?.data?.devices?.[0]?.productSpecs;G?.seriesLevelHistorical||G?.modelLevelHistorical?(G.isRetiredProduct=!0,this.redirectToSiteHome()):this.redirectProductContext(se),this.browserWrapperService.setSessionStorageItem("productData",JSON.stringify(se))}})}else k?this.redirectProductContext(k):this.loadContactLanding()}redirectProductContext(k){const ie=k?.data?.devices?.[0],se=ie?.warranty,H=ie?.productSpecs,G="both"===this.serialNumNotReqAudience()||H?.prodCategory===X.CH||this.serialNumNotReqAudience()?.includes(H?.seriesLevelAudienceFlag?.toLowerCase());if(H?.modelContext&&!this.serialNumReqLoc()&&G||this.productContext()?.sku&&G&&!this.serialNumReqLoc()||this.isContactRedirect()||H?.serialNumber&&H?.productNumber||se?.serialNumber&&se?.productNumber||H?.modelContext&&H.prodCategory===X.CH&&this.polyDropdown())this.loadContactOptions();else if(!H?.prodCategory||H?.nonSerializedFlag&&"yes"===H?.nonSerializedFlag)if("yes"===H?.nonSerializedFlag)if(H?.modelContext)this.contactOptionsForNonSerialized(k);else{const w=this.productContext()?.seriesOid||""+H?.productSeriesOid;this.loadingScreenService.startLoading(!0),this.contactService.getAppServiceVersion(w).pipe((0,p.Q)(this.destroySubject$)).subscribe(P=>{P&&(this.loadingScreenService.stopLoading(),P.modelList&&1===P.modelList.length?this.contactOptionsForNonSerialized(k):P.modelList&&P.modelList.length>1&&this.gotoChooseVersionPage(k))})}else this.loadContactLanding();else!G||G&&H?.seriesContext||H?.modelContext&&this.serialNumReqLoc()?this.checkAuth(k):G&&!H?.seriesContext&&this.loadContactOptions()}gotoChooseVersionPage(k){const ie=k?.data?.devices?.[0]||{},se=ie?.productSpecs;typeof window<"u"&&ie&&this.router.navigate([`/${this.pageConfig().locale}/contact/services-version/${se?.productSeriesSEOName}/${se?.productSeriesOid}`],{queryParamsHandling:"preserve"})}contactOptionsForNonSerialized(k){const ie=k?.data?.devices?.[0]||{},se=ie?.productSpecs,H=new URL(`/${this.pageConfig().locale}/contact/product/${se?.productSeriesSEOName}/${se?.productSeriesOid}/model/${se?.productNameOid}`,this.pageConfig().domain),G=this.productContext()?.sku||ie?.warranty?.altProductNumber||se?.productNumber,w={...this.productContext(),sku:G};this.productContext.set(w),this.productContext()?.sku&&"undefined"!=this.productContext()?.sku&&H.searchParams.append("sku",`${this.productContext().sku}`),"callme"==this.pageConfig()?.originId&&H.searchParams.append("originid","callme");const P=this.commonService.getSanitizedUrl(H.pathname),A=this.commonService.getSanitizedUrl(H.search);this.location.replaceState(P,A),this.loadContactOptions()}getSerialNumberRedirectURL(k){let ie;if(k&&k.length>0)switch(k){case"printer":ie=`/${this.pageConfig().locale}/contact/printer-serial-number`;break;case"laptop":ie=`/${this.pageConfig().locale}/contact/laptop-serial-number`;break;case"desktop":case"pc":ie=`/${this.pageConfig().locale}/contact/desktop-serial-number`;break;case"poly":ie=`/${this.pageConfig().locale}/contact/poly-serial-number`;break;default:ie=`/${this.pageConfig().locale}/contact/product-serial-number`}return ie}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ie){return new(ie||fe)(s.rXU(Q.u),s.rXU(n.b),s.rXU(q.u),s.rXU(oe.Ix),s.rXU(F.h),s.rXU(oe.nX),s.rXU(Ke.z),s.rXU(Qe.aZ),s.rXU(Je.s),s.rXU(nt.a),s.rXU(L.il))}}static{this.\u0275cmp=s.VBU({type:fe,selectors:[["app-contact-container"]],viewQuery:function(ie,se){1&ie&&s.wEZ(se.componentContainer,Ze,5,s.c1b),2&ie&&s.NyB()},decls:2,vars:0,consts:[["componentContainer",""]],template:function(ie,se){1&ie&&s.AQ1(0,null,0)},encapsulation:2})}}return fe})()},52706(xe,le,a){a.d(le,{W:()=>sn});var M=a(86763),s=a(85240),u=a(37580),$=a(84205),j=a(59452),N=a(61873),p=a(33900),i=a(2435),K=a(39545),l=a.n(K),h=a(93551),g=a(12724),W=a(61585),e=a(97965),ae=a(26895),ue=a(93683),me=a(89751),n=a(1248
11),pe=a(19885),te=a(20572);function F(T,ge){1&T&&n.nrm(0,"img",2)}let B=(()=>{class T{constructor(d,v){this.pageService=d,this.activeModal=v,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.countryDropdownHeading="Choose an option",this.selectedCountry=(0,s.vPA)(null),this.selectedLanguage=(0,s.vPA)(null),this.languageList=(0,s.vPA)([]),this.selectedCountryCode=(0,s.vPA)(null),this.selectedLanguageCode=(0,s.vPA)(null),this.countryList=(0,s.vPA)(null),this.allTranslations=(0,s.vPA)({})}ngOnInit(){this.selectedCountry.set((0,g.A)(this.countryList(),{countryCode:this.selectedCountryCode()})),this.languageList.set(this.selectedCountry()?.languagesSupported),this.selectedLanguage.set((0,g.A)(this.languageList(),{languageCode:this.selectedLanguageCode()}))}submitOption(){this.activeModal.close({selectedCountry:this.selectedCountry(),selectedLanguage:this.selectedLanguage()})}closeModal(){this.activeModal.close()}onCountrySelect(d){this.selectedCountry.set(d.option),this.languageList.set((0,g.A)(this.countryList(),{countryCode:d.option.countryCode})?.languagesSupported),this.selectedLanguage.set(this.languageList()[0])}onLanguageSelect(d){this.selectedLanguage.set(d.option),this.selectedLanguageCode.set(d?.option?.languageCode)}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(pe.b),n.rXU(te.Lw))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-country-lang-selector"]],decls:37,vars:21,consts:[[1,"modal-wrapper",3,"ngClass"],[1,"modal-header"],["alt","hp-logo","src","/wcc-assets/images/hp-logo-modal.gif",1,"modal-logo"],[1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"dropdown-wrapper"],[1,"country-wrapper"],["id","country_selector"],["dropdownName","countries","keyName","alternativeName",3,"optionSelected","options","fullWidth","selectedOption"],[1,"language-wrapper"],["id","language_selector"],["dropdownName","languages","keyName","alternativeName",3,"optionSelected","options","fullWidth","selectedOption"],["type","button","ngbAutofocus","",1,"primary-button",3,"click","id"]],template:function(v,b){if(1&v&&(n.j41(0,"div",0)(1,"div",1),n.nVh(2,F,1,0,"img",2),n.j41(3,"h3",3),n.EFF(4),n.k0s(),n.j41(5,"button",4),n.bIt("click",function(){return b.closeModal()}),n.j41(6,"span",5),n.EFF(7,"\xd7"),n.k0s()()(),n.j41(8,"div",6)(9,"p"),n.EFF(10),n.k0s(),n.j41(11,"ol")(12,"li"),n.EFF(13),n.k0s(),n.j41(14,"li"),n.EFF(15),n.k0s(),n.j41(16,"li"),n.EFF(17),n.k0s()(),n.j41(18,"p"),n.EFF(19),n.k0s(),n.j41(20,"p")(21,"strong"),n.EFF(22),n.k0s(),n.EFF(23),n.k0s(),n.j41(24,"div",7)(25,"div",8)(26,"label"),n.EFF(27),n.k0s(),n.j41(28,"div",9)(29,"app-ngbd-dropdown",10),n.bIt("optionSelected",function(Me){return b.onCountrySelect(Me)}),n.k0s()()(),n.j41(30,"div",11)(31,"label"),n.EFF(32),n.k0s(),n.j41(33,"div",12)(34,"app-ngbd-dropdown",13),n.bIt("optionSelected",function(Me){return b.onLanguageSelect(Me)}),n.k0s()()(),n.j41(35,"button",14),n.bIt("click",function(){return b.submitOption()}),n.EFF(36),n.k0s()()()()),2&v){let Y,Me;n.Y8G("ngClass",b.pageConfig().languageDirection),n.R7$(2),n.vxM(b.pageConfig().isMobile?-1:2),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Heading_Text"]),n.R7$(6),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Text_1"]),n.R7$(3),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Text_2"]),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Text_3"]),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Text_4"]),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Pop_Up_Text_5"]),n.R7$(3),n.SpI("",b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Text_5"]," "),n.R7$(),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Text_2"]),n.R7$(4),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Text_3"]),n.R7$(2),n.Y8G("options",b.countryList())("fullWidth",!0)("selectedOption",(null==(Y=b.selectedCountry())?null:Y.alternativeName)||b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Ghost_Text"]),n.R7$(3),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Text_4"]),n.R7$(2),n.Y8G("options",b.languageList(
1))("fullWidth",!0)("selectedOption",(null==(Me=b.selectedLanguage())?null:Me.alternativeName)||b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Modal_Ghost_Text"]),n.R7$(),n.Y8G("id",n.mNQ(b.pageConfig().cc+"-"+b.pageConfig().lc+"-submit")),n.R7$(),n.SpI(" ",b.allTranslations()["#pps_WCC_FS_Product_finder_Submit_Button_Text"]," ")}},dependencies:[ue.YU,me.S],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:27px 24px 127px 43px;font-size:16px;color:#000}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{display:flex;-moz-column-gap:16px;column-gap:16px}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-family:HPSimplified;margin:0}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .country-wrapper[_ngcontent-%COMP%], .modal
1-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .language-wrapper[_ngcontent-%COMP%]{width:37%}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{align-self:flex-end}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{color:#000;padding-inline-start:25px;margin-bottom:5px;font-size:16px}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:3px}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]::marker{font-family:HPSimplified}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-of-type{margin-bottom:5px}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;align-items:center;padding:13px 20px!important;min-height:75px;gap:20px}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{line-height:normal;font-family:HPSimplified}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0;margin:0 0 0 auto}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{outline:1px solid #075782;box-shadow:0 0 8px #0096d6e6}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-logo[_ngcontent-%COMP%]{position:unset;margin:0 0 0 15px}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{position:unset}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 auto 0 0}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .country-wrapper[_ngcontent-%COMP%], .modal
1-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .language-wrapper[_ngcontent-%COMP%]{margin-right:15px}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:4px}}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{min-height:94px}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:20px;padding-left:5px}.modal-wrapper[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:fixed;top:5px;right:15px;padding:0}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:27px}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{row-gap:20px;flex-direction:column}.modal-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .country-wrapper[_ngcontent-%COMP%], .modal
1-wrapper[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .language-wrapper[_ngcontent-%COMP%]{width:100%}.rtl[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{right:unset;left:15px}}"]})}}return T})();var C=a(70739),x=a(6312),m=a(54041),S=a(18329),f=a(78808),D=a(60480);const y=(T,ge)=>({padding:T,rtl:ge});function _(T,ge){if(1&T&&(n.j41(0,"a",1)(1,"div",2),n.nrm(2,"img",3),n.k0s(),n.j41(3,"div",4)(4,"h3"),n.EFF(5),n.k0s(),n.j41(6,"p",5),n.EFF(7),n.k0s(),n.j41(8,"span"),n.EFF(9),n.k0s()()()),2&T){let d,v,b,Y,Me,Ie,be,Le;const Re=n.XpG();n.Y8G("title",n.mNQ((null==(d=Re.cardInfo())?null:d.image1Desc)+(null==(d=Re.cardInfo())?null:d.image2Desc)))("globalLink",null==(v=Re.cardInfo())?null:v.link)("linkTarget",null==(b=Re.cardInfo())?null:b.linkToTarget),n.R7$(2),n.Y8G("src",null==(Y=Re.cardInfo())?null:Y.imagePath1,n.B4B)("alt",null==(Me=Re.cardInfo())?null:Me.image1Desc),n.R7$(3),n.JRh(null==(Ie=Re.cardInfo())?null:Ie.image1Desc),n.R7$(2),n.JRh(null==(be=Re.cardInfo())?null:be.image2Desc),n.R7$(2),n.JRh(null==(Le=Re.cardInfo())?null:Le.linkText)}}let R=(()=>{class T{constructor(d,v){this.pageService=d,this.commonService=v,this.cardInfo=(0,u.hFB)(null),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal())}ngOnInit(){}getlinkTarget(d){return this.commonService.setLinkTarget(d)}get isMastIff(){return"mastiff"===this.cardInfo()?.type}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(pe.b),n.rXU(D.h))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-support-resources-card"]],inputs:{cardInfo:[1,"cardInfo"]},decls:2,vars:6,consts:[[1,"card-wrapper",3,"ngClass"],[3,"globalLink","linkTarget","title"],[1,"image"],["onerror","this.src = '/wcc-assets/content/dam/hp-wcc/headless-assets/images/contact/Accessibility.png'",1,"w-100",3,"src","alt"],[1,"content-container"],[1,"desc"]],template:function(v,b){if(1&v&&(n.j41(0,"div",0),n.nVh(1,_,10,9,"a",1),n.k0s()),2&v){let Y,Me;n.Y8G("ngClass",n.l_i(3,y,b.isMastIff,"rtl"===(null==(Y=b.pageConfig())?null:Y.languageDirection))),n.BMQ("id",(null==(Me=b.cardInfo())?null:Me.elementId)||null),n.R7$(),n.vxM(b.isMastIff?-1:1)}},dependencies:[ue.YU,f.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.card-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:10px;box-shadow:0 0 20px #00000040;background-color:#fff;display:none}.card-wrapper[_ngcontent-%COMP%]:has(>div>*), .card-wrapper[_ngcontent-%COMP%]:has(>a>*){display:flex}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;padding:4px 26px 10px;border-radius:10px}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{max-width:60px;margin-right:20px;align-self:center}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{flex:1 1 80%}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:HPSimplified;font-size:18px;line-height:1.78;margin:0}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;font-weight:300;line-height:1.38;color:#000;margin-bottom:5px}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:HPSimplified}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{outline:none;box-shadow:none;text-decoration:none}.card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%], .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%], .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{text-decoration:underline}.card-wrapper[_ngcontent-%COMP%]:hover, .card-wrapper[_ngcontent-%COMP%]:focus-within{box-shadow:0 0 20px #0006}.padding[_ngcontent-%COMP%]{padding:4px 26px 10px}.rtl.card-wrapper[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{margin-right:unset;margin-left:20px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.padding[_ngcontent-%COMP%], .card-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:7px 17px 10px}}"]})}}return T})();var U=a(38056),re=a(6179),X=a(75257),Q=a(24695),q=a(47562);let J=(()=>{class T{constructor(){this.allTranslations=(0,u.hFB)({}),this.supportedBrowsers=(0,u.hFB)("")}ngOnInit(){}static{this.\u0275fac=function(v){return new(v||T)}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-incompatible-browser"]],inputs:{allTranslations:[1,"allTranslations"],supportedBrowsers:[1,"supportedBrowsers"]},decls:5,vars:2,consts:[[1,"wrapper-class"]],template:function(v,b){1&v&&(n.rj2(0,"div",0)(1,"p"),n.EFF(2),n.eux(),n.rj2(3,"p"),n.EFF(4),n.eux()()),2&v&&(n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Option_Unsupported_Browser_Text_1"]),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Option_Unsupported_Browser_Text_2"]+b.supportedBrowsers()+b.allTranslations()["#pps_WCC_FS_UCE_Contact_Option_Unsupported_Browser_Text_4"]))},styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.wrapper-class[_ngcontent-%COMP%]{border-radius:10px;padding:21px 35px;box-shadow:0 0 20px #00000029;background-color:#fff}.wrapper-class[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;color:#c94c0d;text-align:center;font-weight:300;line-height:1.25;margin-bottom:0}.wrapper-class[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-of-type{font-family:HPSimplified;margin-bottom:5px}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.wrapper-class[_ngcontent-%COMP%]{padding:10px 15px}}"]})}}return T})();var oe=a(9303);function _e(T,ge){if(1&T&&(n.j41(0,"div",6)(1,"a",7),n.EFF(2),n.k0s()()),2&T){const d=n.XpG();n.R7$(),n.Y8G("href",d.optionUrl(),n.B4B),n.R7$(),n.JRh(d.optionDesc())}}let L=(()=>{class T{constructor(d,v,b){this.pageService=d,this.windowRef=v,this.commonService=b,this.allTranslations=(0,u.hFB)({}),this.isIpadIphone=(0,u.hFB)(!1),this.isMobile=(0,u.hFB)(!1),this.signInId=(0,u.hFB)(""),this.createAccountID=(0,u.hFB)(""),this.loggedInLinkID=(0,u.hFB)(""),this.fallBackCCLCValue=(0,u.hFB)({}),this.pageUrl=(0,u.hFB)(""),this.optionUrl=(0,u.hFB)(""),this.optionDesc=(0,u.hFB)(""),this.signedInOrCreateAcc=(0,u.CGW)(),this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=(0,s.vPA)(new $.B),this.domain=(0,s.vPA)(""),this.resolvedPageUrl=(0,s.vPA)(""),this.showPrivacyPolicy=(0,M.EW)(()=>this.optionUrl()&&this.optionDesc()),this.window=this.windowRef.nativeWindow}ngOnInit(){typeof this.window<"u"&&this.domain.set(this.window?.location?.origin||"");const d=this.pageUrl();d&&/^http/.test(d)?this.resolvedPageUrl.set(encodeURIComponent(d)):this.resolvedPageUrl.set(encodeURIComponent(this.domain()+d))}getCustomCCLC(d,v){return this.commonService.getCustomLocale(d,v)}
1clickHandler(){this.signedInOrCreateAcc.emit()}ngOnDestroy(){this.destroySubject$().next()}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(pe.b),n.rXU(oe.$),n.rXU(D.h))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-sign-in-card"]],inputs:{allTranslations:[1,"allTranslations"],isIpadIphone:[1,"isIpadIphone"],isMobile:[1,"isMobile"],signInId:[1,"signInId"],createAccountID:[1,"createAccountID"],loggedInLinkID:[1,"loggedInLinkID"],fallBackCCLCValue:[1,"fallBackCCLCValue"],pageUrl:[1,"pageUrl"],optionUrl:[1,"optionUrl"],optionDesc:[1,"optionDesc"]},outputs:{signedInOrCreateAcc:"signedInOrCreateAcc"},decls:16,vars:40,consts:[[1,"sign-in-wrapper"],[3,"ngClass"],[1,"sign-in-register-exp",3,"ngClass"],["role","presentation",1,"btn",3,"click","href","title","id"],["aria-hidden","true"],["role","presentation",1,"btn","white-btn","secondary-btn",3,"click","href","title","id"],[1,"privacy-policy"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(v,b){1&v&&(n.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"p"),n.EFF(4),n.k0s(),n.j41(5,"a",3),n.nI1(6,"memoize"),n.nI1(7,"memoize"),n.bIt("click",function(){return b.clickHandler()}),n.j41(8,"span",4),n.EFF(9),n.k0s()(),n.j41(10,"a",5),n.nI1(11,"memoize"),n.nI1(12,"memoize"),n.bIt("click",function(){return b.clickHandler()}),n.j41(13,"span",4),n.EFF(14),n.k0s()(),n.nVh(15,_e,3,2,"div",6),n.k0s()()()),2&v&&(n.AVh("privacy-link",b.showPrivacyPolicy()),n.R7$(),n.Y8G("ngClass","rtl"===b.pageConfig().languageDirection?"rtl-sign-in-box":"ltr-sign-in-box"),n.R7$(),n.Y8G("ngClass",b.isMobile()||b.isIpadIphone()?"sm-screen-style":""),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Card_2_Non_Signed_In_Text_3"]),n.R7$(),n.Y8G("href",n.a5S("",b.domain(),"/wcc-services/s/signin?cc=",n.brH(6,24,b.getCustomCCLC,b.fallBackCCLCValue(),b.pageConfig()).cc,"&lc=",n.brH(7,28,b.getCustomCCLC,b.fallBackCCLCValue(),b.pageConfig()).lc,"&pageurl=",b.resolvedPageUrl()),n.B4B)("id",n.mNQ(b.signInId()+"_sign-in"))("title",b.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"]),n.R7$(4),n.JRh(b.allTranslations()["#pps_WCC_FS_HomeHP_Sign_In_Label"]),n.R7$(),n.Y8G("href",n.a5S("",b.domain(),"/wcc-services/s/registration?cc=",n.brH(11,32,b.getCustomCCLC,b.fallBackCCLCValue(),b.pageConfig()).cc,"&lc=",n.brH(12,36,b.getCustomCCLC,b.fallBackCCLCValue(),b.pageConfig()).lc,"&pageurl=",b.resolvedPageUrl()),n.B4B)("id",n.mNQ(b.signInId()+"_createaccount"))("title",b.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"]),n.R7$(4),n.JRh(b.allTranslations()["#pps_WCC_FS_UCE_Serial_Number_Printer_Page_Create_Account_Text"]),n.R7$(),n.vxM(b.showPrivacyPolicy()?15:-1))},dependencies:[ue.YU,X.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.sign-in-wrapper[_ngcontent-%COMP%]{border-radius:10px;padding:20px 0 35px;box-shadow:0 0 20px #00000029;background-color:#fff}.sign-in-wrapper[_ngcontent-%COMP%] .secondary-btn[_ngcontent-%COMP%]{line-height:18px}.sign-in-wrapper.privacy-link[_ngcontent-%COMP%]{padding:13px 20px}.sign-in-register-exp[_ngcontent-%COMP%]{text-align:center}.sign-in-register-exp[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000;text-align:center;font-family:HPSimplified;font-size:24px;font-weight:400;line-height:1.33;margin-bottom:0}.sign-in-register-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:7px 9px 0;pointer-events:all}.sign-in-register-exp[_ngcontent-%COMP%] a.btn.white-btn[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #165DBA;color:#165dba;line-height:30px}.sign-in-register-exp[_ngcontent-%COMP%] .privacy-policy[_ngcontent-%COMP%]{font-family:HPSimplified;margin:13px auto 0}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.sign-in-wrapper[_ngcontent-%COMP%], .sign-in-wrapper.privacy-link[_ngcontent-%COMP%]{padding:9px 0 15px}.sign-in-register-exp[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px;line-height:32px}}@media screen and (max-width:300px){.sign-in-register-exp[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:90%}}"]})}}return T})();var de=a(95410);let E=(()=>{class T{constructor(d){this.el=d}ngAfterViewInit(){setTimeout(()=>{if(!this.el?.nativeElement?.children?.length)return;const v=(this.el?.nativeElement).getElementsByTagName("a");for(let b=0;b<v.length;b++)v[b].addEventListener("click",Y=>{Y.stopPropagation()})},100)}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(n.aKT))}}static{this.\u0275dir=n.FsC({type:T,selectors:[["","appStopPropagation",""]]})}}return T})();var z=a(76119),V=a(87542),Ce=a(16801),ne=a(8130),ve=a(84527);const he=(T,ge)=>ge.deviceId;function De(T,ge){if(1&T&&(n.j41(0,"div",16),n.nrm(1,"app-device-card",19),n.k0s()),2&T){const d=ge.$implicit,v=ge.$index,b=n.XpG(2);n.BMQ("data-carousel-slide-index",v),n.R7$(),n.Y8G("card",d)("allTranslations",b.allTranslations())("showWarrantyStatus",!1)("isInstantInkFlow",!b.pageConfig().isMobile)("itemIndex",v)}}function Ee(T,ge){if(1&T&&(n.j41(0,"div",16),n.nrm(1,"app-device-card",19),n.k0s()),2&T){const d=ge.$implicit,v=ge.$index,b=n.XpG(2);n.R7$(),n.Y8G("card",d)("allTranslations",b.allTranslations())("showWarrantyStatus",!1)("isInstantInkFlow",b.pageConfig().isMobile)("itemIndex",v)}}function Be(T,ge){if(1&T){const d=n.RV6();n.j41(0,"div",14)(1,"app-slider",15),n.bIt("onSlideChange",function(b){s.eBV(d);const Y=n.XpG();return s.Njj(Y.onSlideChange(b))}),n.Z7z(2,De,2,6,"div",16,he),n.k0s()(),n.j41(4,"div",17)(5,"swiper-container",18,0),n.Z7z(7,Ee,2,5,"div",16,he),n.k0s()()}if(2&T){const d=n.XpG();n.Y8G("matchHeight","card-info")("resizeOnMobile",!0),n.R7$(),n.Y8G("config",d.swiperConfig())("horizontalNav",!0)("pagination",!1)("loop",!1),n.R7$(),n.Dyx(d.products()),n.R7$(2),n.Y8G("matchHeight","card-info")("resizeOnMobile",!0),n.R7$(),n.Y8G("config",d.mobileSwiperConfig()),n.R7$(2),n.Dyx(d.products())}}function Ae(T,ge){if(1&T&&(n.j41(0,"div",20),n.nrm(1,"app-device-card",19),n.k0s()),2&T){const d=ge.$implicit,v=ge.$index,b=n.XpG(2);n.R7$(),n.Y8G("card",d)("allTranslations",b.allTranslations())("showWarrantyStatus",!1)("isInstantInkFlow",!0)("itemIndex",v)}}function Ge(T,ge){if(1&T&&(n.j41(0,"div",11),n.Z7z(1,Ae,2,5,"div",20,he),n.k0s()),2&T){const d=n.XpG();n.Y8G("matchHeight","card-info")("resizeOnMobile",!0),n.R7$(),n.Dyx(d.products())}}let Se=(()=>{class T{constructor(d,v,b,Y){this.pageService=d,this.activeModal=v,this.appSelectorStore=b,this.productFinderService=Y,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.products=(0,s.vPA)([]),this.allTranslations=(0,s.vPA)({}),this.destroySubject$=new $.B,this.productSelected=(0,u.CGW)(),this.fallbackSelected=(0,u.CGW)(),this.modalClosed=(0,u.CGW)(),this.swiperConfig=(0,s.vPA)({direction:"horizontal",slidesPerView:2,slidesPerGroup:2,loop:!1,rewind:!1,watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},a11y:{enabled:!0,prevSlideMessage:"Previous printer",nextSlideMessage:"Next printer"}}),this.mobileSwiperConfig=(0,s.vPA)({direction:"vertical",slidesPerView:2,loop:!1,pagination:!1,slidesPerGroup:2,scrollbar:!0,mousewheel:!0,autoHeight:!0,keyboard:{enabled:!0,onlyInViewport:!0}})}ngOnInit(){this.appSelectorStore.getAllTranslations$().pipe((0,p.Q)(this.destroySubject$)).subscribe(d=>this.allTranslations.set(d)),this.productFinderService.carouselDeviceSelected.pipe((0,p.Q)(this.destroySubject$)).subscribe(d=>{if(d){const v=this.products().find(b=>b.deviceId===d.deviceId);v&&this.selectProduct(v)}})}ngOnDestroy(){this.destroySubject$.next()}
1shouldUseCarousel(){return this.products().length>2}onSlideChange(d){}selectProduct(d){this.productSelected.emit(d),this.activeModal.close({type:"product",data:d})}selectFallback(){this.fallbackSelected.emit(),this.activeModal.close({type:"fallback"})}closeModal(){this.modalClosed.emit(),this.activeModal.dismiss("closed")}onFallbackKeydown(d){("Enter"===d.key||" "===d.key)&&(d.preventDefault(),this.selectFallback())}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(pe.b),n.rXU(te.Lw),n.rXU(ne.q),n.rXU(ve.h))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-instant-ink-product-modal"]],outputs:{productSelected:"productSelected",fallbackSelected:"fallbackSelected",modalClosed:"modalClosed"},decls:17,vars:7,consts:[["swiperWrapper",""],[1,"instant-ink-modal",3,"ngClass"],[1,"modal-header"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["xmlns","http://www.w3.org/2000/svg","width","15","height","15","viewBox","0 0 15 15","fill","none"],["d","M0.396049 0.00978943C0.199223 0.0542339 0.0513775 0.204801 0.0096541 0.404347C-0.0139287 0.515005 0.00784004 0.645617 0.0649829 0.746297C0.0813094 0.776229 1.12258 1.82385 3.2931 3.99346L6.49582 7.198L3.28857 10.4062C0.296275 13.3994 0.0785883 13.6189 0.0522845 13.6742C-0.0928402 13.9753 0.0767743 14.3182 0.405119 14.3871C0.516684 14.4107 0.645482 14.3889 0.74979 14.33C0.776094 14.3155 1.92439 13.1735 3.99514 11.1037L7.19877 7.90095L10.4033 11.1037C12.4731 13.1735 13.6214 14.3155 13.6477 14.33C13.7648 14.3962 13.9235 14.4134 14.0478 14.3735C14.2364 14.3136 14.3734 14.1422 14.396 13.9372C14.4033 13.8683 14.3806 13.7522 14.3462 13.6769C14.318 13.618 14.1947 13.4928 11.109 10.4062L7.90172 7.198L11.1044 3.99346C13.1743 1.92362 14.3162 0.775322 14.3307 0.749018C14.3752 0.671014 14.3942 0.597545 14.3942 0.504121C14.3951 0.358996 14.3489 0.24471 14.2491 0.144937C14.0922 -0.0119793 13.8428 -0.0455394 13.6505 0.0642112C13.6205 0.0805377 12.5729 1.12181 10.4033 3.29233L7.19877 6.49505L3.99514 3.29233C1.82462 1.12181 0.777001 0.0805377 0.747069 0.0642112C0.648203 0.00797537 0.504892 -0.0147004 0.396049 0.00978943Z","fill","#1A1A1A"],[1,"modal-heading"],[1,"modal-title"],[1,"modal-subtitle"],[1,"modal-body",3,"ngClass"],[1,"products-grid",3,"matchHeight","resizeOnMobile"],[1,"fallback-section"],["href","javascript:void(0)","role","button","tabindex","0",1,"fallback-link",3,"click","keydown"],[1,"products-carousel","d-none","d-md-block",3,"matchHeight","resizeOnMobile"],["name","instant-ink-products","wrapperCss","instant-ink-slider","horizontalNavArrowsPosition","outside","horizontalArrowSize","8","horizontalArrowType","carousel-arrow",3,"onSlideChange","config","horizontalNav","pagination","loop"],[1,"swiper-slide","instant-ink-device-card-host"],["appCarouselHeight","","rows","2","containerClass",".swiper-container-class","cardClass",".card-wrapper",1,"products-carousel-mobile","d-block","d-md-none",3,"matchHeight","resizeOnMobile"],["slides-per-view","2","navigation","false","direction","vertical","scrollbar","true","autoHeight","true","slides-per-group","2","loopAddBlankSlides","true",1,"swiper-container-class",3,"config"],[3,"card","allTranslations","showWarrantyStatus","isInstantInkFlow","itemIndex"],[1,"instant-ink-device-card-host"]],template:function(v,b){1&v&&(n.j41(0,"div",1)(1,"div",2)(2,"button",3),n.bIt("click",function(){return b.closeModal()}),n.j41(3,"span",4),s.qSk(),n.j41(4,"svg",5),n.nrm(5,"path",6),n.k0s()()(),s.joV(),n.j41(6,"div",7)(7,"span",8),n.EFF(8),n.k0s(),n.j41(9,"span",9),n.EFF(10),n.k0s()()(),n.j41(11,"div",10),n.nVh(12,Be,9,9)(13,Ge,3,2,"div",11),n.j41(14,"div",12)(15,"a",13),n.bIt("click",function(){return b.selectFallback()})("keydown",function(Me){return b.onFallbackKeydown(Me)}),n.EFF(16),n.k0s()()()()),2&v&&(n.Y8G("ngClass",b.pageConfig().languageDirection),n.R7$(8),n.JRh(b.allTranslations()["#pps_WCC_FS_SDP_InstantInk_MultipleDevices_Modal_Header_Text1"]),n.R7$(2),n.JRh(b.allTranslations()["#pps_WCC_FS_SDP_InstantInk_MultipleDevices_Modal_Header_Text2"]),n.R7$(),n.Y8G("ngClass",b.pageConfig().isTablet?"tablet":"nonTablet"),n.R7$(),n.vxM(b.shouldUseCarousel()?12:2===b.products().length?13:-1),n.R7$(3),n.BMQ("id","not-in-list"),n.R7$(),n.Sp
1I(" ",b.allTranslations()["#pps_WCC_FS_SDP_InstantInk_Modal_PrinterNotFound_Link_Text"]," "))},dependencies:[ue.YU,z.d,V.o,Ce.x,U.u],styles:[".instant-ink-modal[_ngcontent-%COMP%]{padding-right:32px;padding-bottom:32px;padding-left:32px}.instant-ink-modal.rtl[_ngcontent-%COMP%]{direction:rtl;text-align:right}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-bottom:none;gap:25px}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%]{font-family:Forma DJR UI;font-size:32px;font-weight:400;line-height:40px;color:#2c3038;flex-direction:column;display:flex;align-items:center;text-align:center}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%] .modal-logo[_ngcontent-%COMP%]{height:24px;width:auto}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin:0;line-height:40px}@media(max-width:768px){.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{line-height:31px}}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{background:none;border:none;outline:none;position:relative;top:10px;left:30px;width:32px;height:32px;cursor:pointer;padding:4px 8px;line-height:1}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:hover{color:#1a1a1a}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus{outline:2px solid #000000!important;outline-offset:2px}.instant-ink-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:24px}.instant-ink-modal[_ngcontent-%COMP%] .modal-body.tablet[_ngcontent-%COMP%]{padding:20px}.instant-ink-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-description[_ngcontent-%COMP%]{margin-bottom:24px;font-size:16px;color:#333}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%]{margin-bottom:24px}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%]{height:auto}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .swiper-slide[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{flex:1;min-height:220px}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .hp-slider-instant-ink-products .swiper-container{padding:8px 0}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .swiper-button-prev-unique, .instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .swiper-button-next-unique{color:#0096d6}.instant-ink-modal[_ngcontent-%COMP%] .products-carousel[_ngcontent-%COMP%] .slider-pagination .swiper-pagination-bullet-active{background-color:#0096d6}.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px}.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:0}.instant-ink-modal[_ngcontent-%COMP%] .products-grid.single-product[_ngcontent-%COMP%]{grid-template-columns:1fr;max-width:300px;margin-left:auto;margin-right:auto}@media(max-width:730px){.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-name{overflow-wrap:anywhere;word-break:break-word}.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-val, .instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .serial-val{min-width:0;overflow-wrap:anywhere;word-break:break-word}.instant-ink-modal[_ngcontent-%COMP%] .products-grid[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .grid-container{grid-template-columns:max-content minmax(0,1fr)}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;text-align:center}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]:hover{border-color:#0096d6;box-shadow:0 2px 8px #0096d633}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]:focus{outline:2px solid #0096D6;outline-offset:2px;border-color:#0096d6}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%]{width:120px;height:120px;
1display:flex;align-items:center;justify-content:center;margin-bottom:12px}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%]{width:100%}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{margin:0 0 8px;font-size:14px;font-weight:600;color:#1a1a1a;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-number[_ngcontent-%COMP%], .instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .serial-number[_ngcontent-%COMP%]{margin:0 0 4px;font-size:12px;color:#666}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .subscription-info[_ngcontent-%COMP%]{margin:8px 0 0;font-size:12px;color:#0096d6;font-weight:500}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container{gap:40px;padding:14px 10px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container .image{width:130px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .device-name{font-family:
1Forma DJR UI;font-size:14px;font-weight:400;line-height:28px;color:#2c3038}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-name{font-family:Forma DJR UI;font-weight:500;font-size:16px;line-height:20px;color:#2c3038}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-num, .instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .serial-num{color:#2c3038}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-val, .instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .serial-val{font-family:Forma DJR UI;font-size:16px;font-weight:600;line-height:20px;color:#2c3038}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .grid-container{align-items:center}.instant-ink-modal[_ngcontent-%COMP%] .fallback-section[_ngcontent-%COMP%]{text-align:center;padding-top:40px}.instant-ink-modal[_ngcontent-%COMP%] .fallback-section[_ngcontent-%COMP%] .fallback-link[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:20px;font-weight:400;line-height:24px;color:#0278ab;cursor:pointer}.instant-ink-modal[_ngcontent-%COMP%] .fallback-section[_ngcontent-%COMP%] .fallback-link[_ngcontent-%COMP%]:hover{color:#007ab8}.instant-ink-modal[_ngcontent-%COMP%] .fallback-section[_ngcontent-%COMP%] .fallback-link[_ngcontent-%COMP%]:focus{outline:2px solid #0096D6;outline-offset:2px}@media(max-width:620px){.instant-ink-modal[_ngcontent-%COMP%] .fallback-section[_ngcontent-%COMP%]{text-align:left}}@media(min-width:621px)and (max-width:920px){.instant-ink-modal[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%]{line-height:20px!important;font-size:24px!important;text-align:left}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container{flex-wrap:nowrap;gap:16px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container .card-info{min-width:0;flex:1 1 auto}}@media(max-width:620px){.instant-ink-modal[_ngcontent-%COMP%]{padding-right:10px;padding-left:10px}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{text-align:left;padding-bottom:20px;gap:10px}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-heading[_ngcontent-%COMP%]{font-family:
1Forma DJR UI;font-size:24px;font-weight:400;line-height:31px;color:#000;text-align:left;margin-top:12px;align-items:flex-start}.instant-ink-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{top:5px;left:15px}.instant-ink-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{padding:16px}.instant-ink-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .modal-description[_ngcontent-%COMP%]{font-size:14px;margin-bottom:16px}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%]{padding:12px}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-image[_ngcontent-%COMP%]{width:100px;height:100px}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{font-size:13px}.instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .product-number[_ngcontent-%COMP%], .instant-ink-modal[_ngcontent-%COMP%] .product-card[_ngcontent-%COMP%] .product-info[_ngcontent-%COMP%] .serial-number[_ngcontent-%COMP%]{font-size:11px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container{gap:14px;padding:12px 8px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .card-container .image{width:103px;height:71px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .device-name{display:block!important}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-name{font-size:14px!important;line-height:18px}.instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .product-val, .instant-ink-modal[_ngcontent-%COMP%] .instant-ink-device-card-host[_ngcontent-%COMP%] app-device-card .card-wrapper .serial-val{font-size:14px;line-height:10px}}"]})}}return T})();var Fe=a(24938),tt=a(35430),Ke=a(72990),Qe=a(4804),Je=a(60809),nt=a(16156);const Ze=(T,ge,d,v)=>({disabled:T,"no-icon":!1,"no-hover":ge,mobile:d,"preffered-border":v}),it=(T,ge,d,v,b)=>({rtl:T,ltr:ge,disabled:d,"no-icon":!1,mobile:v,"preffered-border-mastiff":b});function fe(T,ge){if(1&T&&(n.j41(0,"div",4),n.nrm(1,"img",12),n.k0s()),2&T){let d,v;const b=n.XpG(2);n.R7$(),n.Y8G("src",(null==(d=b.contactOption())?null:d.imageUrl)||b.fallbackImage,n.B4B)("alt",(null==(v=b.contactOption())?null:v.serviceTitle)||(null==(v=b.contactOption())?null:v.serviceName))}}function ke(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.whFee),n.npT)}}function k(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.serviceDesc),n.npT)}}function ie(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.displayQRDesc),n.npT)}}function se(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;n.Y8G("innerHTML",n.bMT(1,1,d.prefix),n.npT)}}function H(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;n.Y8G("innerHTML",n.bMT(1,1,null==d?null:d.phone),n.npT)}}function G(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;
1n.Y8G("innerHTML",n.bMT(1,1,d.suffix),n.npT)}}function w(T,ge){if(1&T&&(n.nVh(0,se,2,3,"p",13),n.nVh(1,H,2,3,"p",13),n.nVh(2,G,2,3,"p",13)),2&T){const d=ge.$implicit;n.vxM(null!=d&&d.prefix?0:-1),n.R7$(),n.vxM(null!=d&&d.phone?1:-1),n.R7$(),n.vxM(null!=d&&d.suffix?2:-1)}}function P(T,ge){if(1&T&&n.Z7z(0,w,3,3,null,null,n.fX1),2&T){let d;const v=n.XpG(3);n.Dyx(null==(d=v.contactOption())?null:d.phoneGroups)}}function A(T,ge){if(1&T&&(n.j41(0,"div"),n.nrm(1,"img",15),n.k0s()),2&T){let d;const v=n.XpG(3);n.R7$(),n.Y8G("src",null==(d=v.contactOption())?null:d.displayQR,n.B4B)}}function Z(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.serviceDesc2),n.npT)}}function Pe(T,ge){if(1&T){const d=n.RV6();n.j41(0,"a",16),n.bIt("click",function(b){return s.eBV(d),s.Njj(b.stopPropagation())}),n.EFF(1),n.k0s()}if(2&T){let d,v,b;const Y=n.XpG(3);n.Y8G("href",null==(d=Y.contactOption())?null:d.optionUrl,n.B4B)("title",null==(v=Y.contactOption())?null:v.optionUrlDesc),n.R7$(),n.JRh(null==(b=Y.contactOption())?null:b.optionUrlDesc)}}function ye(T,ge){if(1&T&&(n.j41(0,"div"),n.nVh(1,ke,2,3,"p",13),n.nVh(2,k,2,3,"p",13),n.nVh(3,ie,2,3,"p",13),n.nVh(4,P,2,0),n.nVh(5,A,2,1,"div"),n.nVh(6,Z,2,3,"p",13),n.nVh(7,Pe,2,3,"a",14),n.k0s()),2&T){let d,v,b,Y,Me,Ie;const be=n.XpG(2);n.R7$(),n.vxM(null!=(d=be.contactOption())&&d.whFee?1:-1),n.R7$(),n.vxM(null!=(v=be.contactOption())&&v.whFee||null==(v=be.contactOption())||!v.serviceDesc?-1:2),n.R7$(),n.vxM(!be.isMobile()&&be.contactOption().displayQR&&null!=(b=be.contactOption())&&b.displayQRDesc?3:-1),n.R7$(),n.vxM(be.enablePhoneNCase()&&null!=(Y=be.contactOption())&&null!=Y.phoneGroups&&Y.phoneGroups.length?4:-1),n.R7$(),n.vxM(be.contactOption().displayQR&&!be.isMobile()?5:-1),n.R7$(),n.vxM(null!=(Me=be.contactOption())&&Me.serviceDesc2?6:-1),n.R7$(),n.vxM(null!=(Ie=be.contactOption())&&Ie.optionUrl&&null!=(Ie=be.contactOption())&&Ie.optionUrlDesc&&!be.contactDisabled()?7:-1)}}function Ne(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(4);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.serviceDescClosed),n.npT)}}function We(T,ge){if(1&T&&n.nVh(0,Ne,2,3,"p",13),2&T){let d;const v=n.XpG(3);n.vxM(null!=(d=v.contactOption())&&d.serviceDescClosed?0:-1)}}function He(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.whDesc),n.npT)}}function ze(T,ge){if(1&T&&(n.j41(0,"div"),n.nVh(1,We,1,1),n.nVh(2,He,2,3,"p",13),n.k0s()),2&T){let d;const v=n.XpG(2);n.R7$(),n.vxM(v.contactOption().hoopsMsgEnabled?1:-1),n.R7$(),n.vxM(null!=(d=v.contactOption())&&d.whDesc?2:-1)}}function je(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.whFee),n.npT)}}function qe(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.serviceDesc),n.npT)}}function st(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.whDesc),n.npT)}}function Ye(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;n.Y8G("innerHTML",n.bMT(1,1,d.prefix),n.npT)}}function ot(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;n.Y8G("innerHTML",n.bMT(1,1,null==d?null:d.phone),n.npT)}}function lt(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){const d=n.XpG().$implicit;
1n.Y8G("innerHTML",n.bMT(1,1,d.suffix),n.npT)}}function Ct(T,ge){if(1&T&&(n.nVh(0,Ye,2,3,"p",13),n.nVh(1,ot,2,3,"p",13),n.nVh(2,lt,2,3,"p",13)),2&T){const d=ge.$implicit;n.vxM(d.prefix?0:-1),n.R7$(),n.vxM(null!=d&&d.phone?1:-1),n.R7$(),n.vxM(d.suffix?2:-1)}}function vt(T,ge){if(1&T&&n.Z7z(0,Ct,3,3,null,null,n.fX1),2&T){let d;const v=n.XpG(3);n.Dyx(null==(d=v.contactOption())?null:d.phoneGroups)}}function bt(T,ge){if(1&T&&(n.nrm(0,"p",13),n.nI1(1,"safeHtml")),2&T){let d;const v=n.XpG(3);n.Y8G("innerHTML",n.bMT(1,1,null==(d=v.contactOption())?null:d.serviceDesc2),n.npT)}}function Ot(T,ge){if(1&T){const d=n.RV6();n.j41(0,"a",16),n.bIt("click",function(b){return s.eBV(d),s.Njj(b.stopPropagation())}),n.EFF(1),n.k0s()}if(2&T){let d,v,b;const Y=n.XpG(3);n.Y8G("href",null==(d=Y.contactOption())?null:d.optionUrl,n.B4B)("title",null==(v=Y.contactOption())?null:v.optionUrlDesc),n.R7$(),n.JRh(null==(b=Y.contactOption())?null:b.optionUrlDesc)}}function xt(T,ge){if(1&T&&(n.j41(0,"div"),n.nVh(1,je,2,3,"p",13),n.nVh(2,qe,2,3,"p",13),n.nVh(3,st,2,3,"p",13),n.nVh(4,vt,2,0),n.nVh(5,bt,2,3,"p",13),n.nVh(6,Ot,2,3,"a",14),n.k0s()),2&T){let d,v,b,Y,Me,Ie;const be=n.XpG(2);n.R7$(),n.vxM(null!=(d=be.contactOption())&&d.whFee?1:-1),n.R7$(),n.vxM(null!=(v=be.contactOption())&&v.whFee||null==(v=be.contactOption())||!v.serviceDesc?-1:2),n.R7$(),n.vxM(null!=(b=be.contactOption())&&b.whDesc?3:-1),n.R7$(),n.vxM(null!=(Y=be.contactOption())&&null!=Y.phoneGroups&&Y.phoneGroups.length?4:-1),n.R7$(),n.vxM(null!=(Me=be.contactOption())&&Me.serviceDesc2?5:-1),n.R7$(),n.vxM(null!=(Ie=be.contactOption())&&Ie.optionUrl&&null!=(Ie=be.contactOption())&&Ie.optionUrlDesc&&!be.contactDisabled()?6:-1)}}function St(T,ge){if(1&T&&(n.j41(0,"div",9),n.nrm(1,"button",17),n.k0s()),2&T){let d;const v=n.XpG(2);n.R7$(),n.BMQ("aria-label",(null==(d=v.contactOption())?null:d.serviceTitle)||(null==(d=v.contactOption())?null:d.serviceName))}}function wt(T,ge){if(1&T){const d=n.RV6();n.j41(0,"div",10)(1,"app-sign-in-card",18),n.nI1(2,"memoize"),n.bIt("signedInOrCreateAcc",function(){s.eBV(d);const b=n.XpG(2);return s.Njj(b.setFormData())}),n.k0s()()}if(2&T){let d,v,b;const Y=n.XpG(2);n.R7$(),n.Y8G("pageUrl",n.mNQ(null!=(d=Y.contactOption())&&d.caseNeeded?n.i5U(2,8,Y.getUrl,Y.pageConfig().locale):Y.encodedHref()))("signInId","CCLS_"+Y.contactOption().serviceId)("allTranslations",Y.allTranslations())("isIpadIphone",Y.isIpadIphone())("isMobile",Y.isMobile())("optionUrl",null==(v=Y.contactOption())?null:v.optionUrl)("optionDesc",null==(b=Y.contactOption())?null:b.optionUrlDesc)}}function ft(T,ge){if(1&T&&(n.j41(0,"div",11),n.nrm(1,"app-incompatible-browser",19),n.k0s()),2&T){const d=n.XpG(2);n.R7$(),n.Y8G("allTranslations",d.allTranslations())("supportedBrowsers",d.supportedBrowsers())}}function Pt(T,ge){if(1&T){const d=n.RV6();n.j41(0,"div",0)(1,"span",2)(2,"a",3),n.bIt("click",function(){s.eBV(d);const b=n.XpG();return s.Njj(b.clickHandler())}),n.nVh(3,fe,2,2,"div",4),n.j41(4,"div",5)(5,"p",6),n.EFF(6),n.k0s(),n.j41(7,"p",7),n.EFF(8),n.nI1(9,"uppercase"),n.k0s(),n.j41(10,"div",8),n.nVh(11,ye,8,7,"div")(12,ze,3,2,"div")(13,xt,7,6,"div"),n.k0s()(),n.nVh(14,St,2,1,"div",9),n.nVh(15,wt,3,11,"div",10),n.nVh(16,ft,2,2,"div",11),n.k0s()()()}if(2&T){let d,v,b;const Y=n.XpG();n.Y8G("ngClass",Y.pageConfig().languageDirection),n.R7$(),n.Y8G("id",!0===Y.prefferedContactOption()?"preffered-border":""),n.R7$(),n.Y8G("id","CCLS_"+Y.contactOption().serviceId)("tabindex",Y.contactDisabled()||!Y.enableButton()?"-1":"0")("ngClass",n.ziG(14,Ze,Y.contactDisabled()||Y.contactOption().unSupported,!Y.enableButton(),Y.pageConfig().isMobile,!0===Y.prefferedContactOption())),n.R7$(),n.vxM(Y.isMobile()?-1:3),n.R7$(3),n.JRh((null==(d=Y.contactOption())?null:d.serviceTitle)||(null==(d=Y.contactOption())?null:d.serviceName)),n.R7$(2),n.JRh(n.bMT(9,12,null==(v=Y.contactOption())?null:v.serviceDescHighlight)),n.R7$(3),n.vxM((b=!0)===Y.showServiceData()?11:b===!Y.openStatus()?12:b===(Y.openStatus()&&"call_hp"===(null==(b=Y.contactOption())?null:b.serviceId.toLowerCase())&&3===(null==(b=Y.contactOption())?null:b.serviceType)&&!(+(null==(b=Y.contactOption())?null:b.btnFlag)||null!=(b=Y.contactOption())&&b.caseNeeded))?13:-1),n.R7$(3),n.vxM(Y.enableButton()?14:-1),n.R7$(),n.vxM(!Y.contactOption().unSupported&&Y.contactDisabled()?15:-1),n.R7$(),n.vxM(Y.contactOption().unSupported?16:-1)}}function Dt(T,ge){if(1&T&&(n.j41(0,"div",4),n.nrm(1,"img",12),n.k0s()),2&T){let d,v;const b=n.XpG(3);n.R7$(),n.Y8G("src",(null==(d=b.contactOption())?null:d.imageUrl)||b.fallbackImage,n.B4B)("alt",(null==(v=b.contactOption())?null:v.serviceTitle)||(null==(v=b.contactOption())?null:v.serviceName))}}function yt(T,ge){if(1&T&&(n.j41(0,"span",2)(1,"div",20),n.nVh(2,Dt,2,2,"div",4),n.j41(3,"div",5),n.nrm(4,"app-inline-loader",21),n.k0s()()()),2&T){const d=n.XpG(2);n.Y8G("id",!0===d.prefferedContactOption()?"preffered-border":""),n.R7$(),n.Y8G("ngClass",n.ziG(4,Ze,d.contactDisabled()||d.contactOption().unSupported,!d.enableButton(),d.pageConfig().isMobile,!0===d.prefferedContactOption())),n.R7$(),n.vxM(d.isMobile()?-1:2),n.R7$(2),n.Y8G("showInlineLoader",!0)}}function Tt(T,ge){if(1&T&&(n.j41(0,"div",1),n.nVh(1,yt,5,9,"span",2),n.k0s()),2&T){let d;const v=n.XpG();n.Y8G("ngClass",n.s1E(3,it,"rtl"===v.pageConfig().languageDirection,"ltr"===v.pageConfig().languageDirection,v.contactDisabled()||v.contactOption().unSupported,v.pageConfig().isMobile,!0===v.prefferedContactOption()))("id",v.mastIffContactOptionId()),n.R7$(),n.vxM(39!==(null==(d=v.contactOption())?null:d.serviceType)&&102!==(null==(d=v.contactOption())?null:d.serviceType)?1:-1)}}let Nt=(()=>{class T{constructor(d,v,b,Y,Me,Ie,be,Le,Re,Xe){this.pageService=d,this.router=v,this.location=b,this.browserWrapperService=Y,this.globalDataService=Me,this.commonService=Ie,this.loadingScreenService=be,this.windowRef=Le,this.modalService=Re,this.instantInkSubscriptionService=Xe,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new $.B,this.allFormType=re.s0,this.allTranslations=(0,u.hFB)({}),this.contactOption=(0,u.geq)(null),this.isSignedIn=(0,u.hFB)(!1),this.productC
1ontext=(0,u.hFB)(null),this.isConsumerProduct=(0,u.hFB)(!1),this.supportedBrowsers=(0,u.hFB)(""),this.prefferedContactOption=(0,u.hFB)(null),this.sscKeys=(0,u.hFB)(null),this.mastiffContactOptionConfig=(0,M.EW)(()=>this.commonService.safeParseJSON(this.sscKeys()?.MASTIFF_SPOS_CONTACT_OPTION_CONFIG)),this.isIpadIphone=(0,s.vPA)(!1),this.isMobile=(0,s.vPA)(!1),this.fallbackImage=C.D5.contactOptionDefaultImage,this.interval=(0,s.vPA)(null),this.productData=(0,s.vPA)(null),this.isInstantInkLoading=(0,s.vPA)(!1),this.pendingFlowProcessed=(0,s.vPA)(!1),this.enableButton=(0,M.EW)(()=>{const we=this.contactOption();return(+we.signInRequired&&this.isSignedIn()||!+we.signInRequired)&&!(3===we.serviceType&&!+we.btnFlag)&&(we.serviceUrl||we.caseNeeded)&&this.openStatus()&&!this.contactOption().unSupported}),this.enablePhoneNCase=(0,M.EW)(()=>{const we=this.contactOption();return 3===we.serviceType&&+we.btnFlag&&we.serviceDesc2}),this.contactDisabled=(0,M.EW)(()=>+this.contactOption()?.signInRequired&&!this.isSignedIn()&&this.openStatus()),this.openStatus=(0,M.EW)(()=>"true"===this.contactOption()?.openStatus?.toLowerCase()),this.showServiceData=(0,M.EW)(()=>{const we=this.contactOption();return this.openStatus()&&!("call_hp"===we?.serviceId.toLowerCase()&&3===we?.serviceType&&!+we?.btnFlag&&!we?.caseNeeded)}),this.encodedHref=(0,M.EW)(()=>{const we=this.contactOption();return we?.serviceUrl&&encodeURIComponent(we?.serviceUrl)||encodeURIComponent(this.window?.location?.href)}),this.mastIffContactOptionId=(0,M.EW)(()=>this.mastiffContactOptionConfig()?.[this.contactOption().serviceType]?.id||""),this.isMastIffOption=(0,M.EW)(()=>this.mastiffContactOptionConfig()?.hasOwnProperty(this.contactOption().serviceType)),this.isMatiffOptionEnabled=(0,M.EW)(()=>"true"===this.mastiffContactOptionConfig()?.[this.contactOption().serviceType]?.enabled),this.window=this.windowRef.nativeWindow,this.initInstantInkSignInEffect()}initInstantInkSignInEffect(){(0,M.QZ)(()=>{const d=this.isSignedIn(),v=this.contactOption(),b=this.sscKeys();(0,M.O8)(()=>{d&&v&&b&&this.pageConfig().isBrowser&&!this.pendingFlowProcessed()&&this.checkAndTriggerPendingInstantInkFlow(v,b)})})}checkAndTriggerPendingInstantInkFlow(d,v){const b=this.browserWrapperService.getSessionStorageItem("instantInkSignInPending");if(!b)return;const Y=b?.serviceType,Me=String(d?.serviceType);Y===Me&&this.instantInkSubscriptionService.shouldUseInstantInkFlow(Me,v)&&(this.pendingFlowProcessed.set(!0),this.browserWrapperService.removeSessionStorageItem("instantInkSignInPending"),setTimeout(()=>{this.setFormData(),this.handleInstantInkSubscriptionFlow()},100))}ngOnInit(){this.isIpadIphone.set(this.pageConfig().isiPad||this.pageConfig().isiPhone),this.isMobile.set(this.pageConfig().isMobile||this.isIpadIphone()),this.startTimeout(),this.pageConfig().isBrowser&&this.productData.set(this.browserWrapperService.getSessionStorageItem("productData"))}startTimeout(){const d=this.contactOption();d?.remainingOpenTime?this.interval.set(setTimeout(()=>{this.closeOpenStatus()},6e4*d.remainingOpenTime)):this.closeOpenStatus()}openVaUrl(d){if(this.window){const v=["T","W"].includes(this.contactOption()?.serviceUrlTarget)?"_blank":"_self";null===this.window.open(d,v)&&this.window.open(d,"_self")}}clickHandler(){const d=this.contactOption();if(!this.contactDisabled()&&this.openStatus()&&!d.unSupported)if(d?.caseNeeded)if(this.setFormData(),this.isAIChatOption){const v=d?.serviceType;this.instantInkSubscriptionService.shouldUseInstantInkFlow(v,this.sscKeys())?this.handleInstantInkSubscriptionFlow():window.location.href=`/${this.pageConfig().locale}/contact/closure`}else{const v=this.location.getState();let b="callme"==this.pageConfig()?.originId?{originid:"callme"}:null;this.router.navigate([`/${this.pageConfig().locale}/contact/form`],{state:{...v},queryParams:b})}else if(d?.serviceUrl){const v=d?.serviceUrlTarget;29===d?.serviceType?(this.globalDataService.updateGDL({chatBotAccessed:!0}),this.productData()?this.getVirtualAgentUrl():this.getFallbackchatUrl()):"T"===v||"W"===v?window.open(d?.serviceUrl,"_blank"):window.open(d?.serviceUrl,"_self")}}get isAIChatOption(){const d=this.contactOption();return d.serviceId===this.allFormType.sierraChatOption.formType||d.serviceId===this.allFormType.zoomChatOption.formType}getVirtualAgentUrl(){const{productSpecs:d,warranty:v}=this.productData()&&this.productData()?.data&&this.productData()?.data?.devices&&this.productData()?.data?.devices?.[0],b=this.commonService.getVaPayloadTemplate();b.product={...b.product,productNumber:v?.altProductNumber||d?.productNumber||"",productName:d?.productName??"",productOID:d?.productNameOid??"",serialNumber:d?.serialNumber??v?.serialNumber??"",productSeriesName:d?.productSeriesName??"",productSeriesOID:d?.productSeriesOid??"",countryOfPurchase:"",warrantyStartDate:v?.warrantyStartDate??"",warrantyEndDate:v?.warrantyEndDate??""};let Y=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");b.conversation.initQuery=Y?.issueDesc1En||Y?.issueDesc1||"",b.conversation.additionalQuery=Y?.issueDesc2En||Y?.issueDesc2||"",this.loadingScreenService.startLoading(),setTimeout(()=>{this.commonService.getVertualLinkUrl(b).subscribe(Me=>{200===Me?.code&&Me?.data?(this.loadingScreenService.stopLoading(),this.openVaUrl(encodeURI(Me.data.launchUrl))):this.getFallbackchatUrl()})})}getFallbackchatUrl(){this.loadingScreenService.stopLoading();const d=this.commonService.getFallbackVirtualLinkUrl(this.contactOption()?.serviceUrl);this.window&&this.openVaUrl(encodeURI(d))}setFormData(){const d=this.contactOption();if(!d?.caseNeeded)return;const v=d?.serviceId?.toLowerCase(),b=this.browserWrapperService.getSessionStorageItem("contactFormMetaData");let Y=null;if(b){Y="callme"===this.pageConfig().originId?`DCC_${d?.serviceId}`:d?.serviceId,this.browserWrapperService.setSessionStorageItem("ComingFromContactOptions",JSON.stringify(!0)),b.formConfig=this.getFormConfig(v),b.formConfig.signInRequired="0"
1!==d?.signInRequired,b.contactOptonIcon=d?.imageUrl,b.chatQueue=d?.chatQueue,b.lmiCompanyID=d?.companyId,b.transactionId=d?.callMe?.transactionId,b.caseType=Y,b.formOrigin=d?.serviceId,b.incomingChannel=d?.crmChannel,b.urid=this.getUrId(d?.callMe?.ranges),b.formEntry=this.window?.location?.pathname,b.formConfig.serviceType=d?.serviceType?d?.serviceType:"",["Chat","OmniChat"].includes(d?.serviceId)&&(b.chatSessionEnded=!1),C._b?.includes(d?.serviceId)&&(b.FormExpirationTime=d?.remainingOpenTime?6e4*(d?.remainingOpenTime-1)+Date.now():0),d?.phoneGroups?.length&&(b.phoneGroups=d?.phoneGroups),(d?.callMe?.estimatedWaitTime||0===d?.callMe?.estimatedWaitTime)&&(b.estimatedWaitTimeCallMEoption=d?.callMe?.estimatedWaitTime),d?.whDesc&&(b.whDesc=d?.whDesc);const Ie=this.productData()?.data?.devices?.[0]?.warranty?.warrantyType||"",be=this.sscKeys()?.CONTACT_FORM_WARRANTY_ENTITLEMENT_MAPPING||"{}";b.warrantyType=this.commonService.getWarrantyType(Ie,be),this.browserWrapperService.setSessionStorageItem("contactFormMetaData",JSON.stringify(b)),this.storeInstantInkSignInPendingFlag(d)}}storeInstantInkSignInPendingFlag(d){if(this.isSignedIn()||!this.isAIChatOption)return;const v=d?.serviceType;this.instantInkSubscriptionService.shouldUseInstantInkFlow(v,this.sscKeys())&&this.browserWrapperService.setSessionStorageItem("instantInkSignInPending",JSON.stringify({serviceType:String(v),timestamp:Date.now()}))}getUrId(d){return d?.length?(0,g.A)(d,{current:!0})?.urid:null}closeOpenStatus(){this.contactOption().openStatus="false";let d=this.globalDataService.getLocalstorageGlobalData()?.ContactEntitlementresults;d[this.contactOption().serviceId]="Inactive",this.globalDataService.updateGDL({ContactEntitlementresults:d},!1)}getFormConfig(d){switch(d){case"chat":return this.allFormType.contactChatOption.chatType="Chat",this.allFormType.contactChatOption.anr.contactFormName="chat-form",this.allFormType.contactChatOption.anr.submitBtnId="chat-form-submit",this.allFormType.contactChatOption;case"email":return this.allFormType.contactOtherOption.closureContentTemplate="uc_email_closure",this.allFormType.contactOtherOption.anr.contactFormName="email-form",this.allFormType.contactOtherOption.anr.submitBtnId="email-form-submit",this.allFormType.contactOtherOption;case"call_hp":return this.allFormType.contactOtherOption.closureContentTemplate="uc_phone_closure",this.allFormType.contactOtherOption.anr.contactFormName="phone-form",this.allFormType.contactOtherOption.anr.submitBtnId="phone-form-submit",this.allFormType.contactOtherOption;case"call_me":return this.allFormType.contactCallMeOption;case"frexrepair":return this.allFormType.repairOption;case"frexexchange":return this.allFormType.exchangeOption;case"poly_rma":return this.allFormType.polyExchangeOption;case"repair":return this.allFormType.noTouchRepairOption;case"sierrachat":return this.allFormType.sierraChatOption;case"zoomchat":return this.allFormType.zoomChatOption;case"omnichat":return this.allFormType.contactChatOption.chatType="OmniChat",this.allFormType.contactChatOption.anr.contactFormName="Omnichat-form",this.allFormType.contactChatOption.anr.submitBtnId="Omnichat-form-submit",this.allFormType.contactChatOption;default:return this.allFormType.contactOtherOption}}getUrl(d){if(this.isAIChatOption){const v=this.contactOption()?.serviceType;return this.instantInkSubscriptionService.shouldUseInstantInkFlow(v,this.sscKeys())&&this.window?.location?.href||`/${d}/contact/closure`}return`/${d}/contact/form`}handleInstantInkSubscriptionFlow(){this.isInstantInkLoading.set(!0),this.loadingScreenService.startLoading(!0),this.instantInkSubscriptionService.handleInstantInkFlow(this.sscKeys()).pipe((0,p.Q)(this.destroySubject$)).subscribe({next:d=>{this.isInstantInkLoading.set(!1),this.loadingScreenService.stopLoading(),d.showModal?this.openInstantInkProductModal(d.products):this.navigateToClosurePage()},error:d=>{console.error("Error in instant ink subscription flow:",d),this.isInstantInkLoading.set(!1),this.loadingScreenService.stopLoading(),this.navigateToClosurePage()}})}
1openInstantInkProductModal(d){const v=this.modalService.open(Se,{backdrop:"static",keyboard:!1,centered:!0,size:"lg",windowClass:"instant-ink-modal-window"}),b=v.componentInstance;b.products.set(d),b.allTranslations.set(this.allTranslations()),b.productSelected.subscribe(Y=>{this.handleProductSelection(Y),v.close()}),b.fallbackSelected.subscribe(()=>{this.handleFallbackSelection(),v.close()}),b.modalClosed.subscribe(()=>{v.close()})}handleProductSelection(d){this.instantInkSubscriptionService.storeProductContext(this.instantInkSubscriptionService.createProductContext(d)),this.instantInkSubscriptionService.gdlProductUpdate(d),this.navigateToClosurePage()}handleFallbackSelection(){this.instantInkSubscriptionService.storeProductContext(this.instantInkSubscriptionService.createFallbackProductContext()),this.instantInkSubscriptionService.gdlProductUpdate(),this.navigateToClosurePage()}navigateToClosurePage(){window.location.href=`/${this.pageConfig().locale}/contact/closure`}ngOnDestroy(){this.interval()&&clearTimeout(this.interval()),this.destroySubject$.next()}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(pe.b),n.rXU(Fe.Ix),n.rXU(tt.aZ),n.rXU(Ke.z),n.rXU(Qe.a),n.rXU(D.h),n.rXU(Je.s),n.rXU(oe.$),n.rXU(te.Bq),n.rXU(nt.Q))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-contact-option-card"]],inputs:{allTranslations:[1,"allTranslations"],contactOption:[1,"contactOption"],isSignedIn:[1,"isSignedIn"],productContext:[1,"productContext"],isConsumerProduct:[1,"isConsumerProduct"],supportedBrowsers:[1,"supportedBrowsers"],prefferedContactOption:[1,"prefferedContactOption"],sscKeys:[1,"sscKeys"]},outputs:{contactOption:"contactOptionChange"},decls:2,vars:2,consts:[[1,"wrapper-class",3,"ngClass"],[1,"wrapper-class",3,"ngClass","id"],[3,"id"],["href","javascript:void(0)",1,"card-container",3,"click","id","tabindex","ngClass"],[1,"image-container","d-none","d-md-flex"],[1,"content"],[1,"name","font-regular"],[1,"recommendation","font-regular"],["appStopPropagation","","appPhoneNumber","",1,"content-body"],[1,"chevron-primary-next"],[1,"sign-in-container"],[1,"unsupported-browser-container"],[3,"src","alt"],[3,"innerHTML"],["target","_blank",1,"font-regular","pe-auto",3,"href","title"],["id","qr-code-desktop","alt","QR_Code",1,"qr-code-desktop",3,"src"],["target","_blank",1,"font-regular","pe-auto",3,"click","href","title"],["tabindex","-1",1,"chevron-primary","chevron-primary-next"],[3,"signedInOrCreateAcc","signInId","allTranslations","isIpadIphone","isMobile","optionUrl","optionDesc","pageUrl"],[3,"allTranslations","supportedBrowsers"],[1,"card-container",3,"ngClass"],[3,"showInlineLoader"]],template:function(v,b){1&v&&(n.nVh(0,Pt,17,19,"div",0),n.nVh(1,Tt,2,9,"div",1)),2&v&&(n.vxM(b.isMastIffOption()?-1:0),n.R7$(),n.vxM(b.isMastIffOption()&&b.isMatiffOptionEnabled()?1:-1))},dependencies:[ue.YU,E,de.h,L,J,q.c,ue.Pc,Q.$,X.z],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}.wrapper-class[_ngcontent-%COMP%]{position:relative;margin:28px 15px;height:calc(100% - 90px);min-height:342px}.wrapper-class[_ngcontent-%COMP%]:empty{display:none}.wrapper-class[_ngcontent-%COMP%] #preffered-border[_ngcontent-%COMP%] .preffered-border[_ngcontent-%COMP%]{box-shadow:0 0 20px #0000002e,inset 0 0 20px 10px #51e72c40}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;width:385px;height:100%;margin-top:60px;padding:79px 26px 27px 24px;border-radius:10px;box-shadow:0 0 20px #00000029;background-color:#fff;transition:all .2s ease-in-out}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:hover, .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:focus{text-decoration:none}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:hover .qrcode-text, .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:focus .qrcode-text{text-decoration:underline;text-decoration-color:#165dba}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:hover:not(.disabled,.no-h
1over,.mobile), .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]:focus:not(.disabled,.no-hover,.mobile){box-shadow:0 0 20px #0006;transform:scale(1.05194805,1.05847953);cursor:pointer}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:relative;line-height:1;text-align:center}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-bottom:5px;font-size:24px;line-height:24px;color:#000}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .recommendation[_ngcontent-%COMP%]{font-size:14px;line-height:24px;color:#c94c0d;margin-bottom:0}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%]{margin-top:20px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%] .qr-code-desktop[_ngcontent-%COMP%]{width:110px;margin-bottom:12px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:10px;font-size:16px;line-height:20px;color:#000}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%] .pt-20[_ngcontent-%COMP%]{padding-top:20px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .chevron-primary-next[_ngcontent-%COMP%]{margin:auto auto 0}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .chevron-primary-next[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:5px;pointer-events:none}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{position:absolute;top:-60px;left:calc(50% - 60px);width:120px;height:120px;border-radius:50%;box-shadow:0 0 20px #00000029;background-color:#fff;display:flex;justify-content:center;align-items:center}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .sign-in-container[_ngcontent-%COMP%], .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .unsupported-browser-container[_ngcontent-%COMP%]{margin:auto -26px -27px -24px}.wrapper-class[_ngcontent-%COMP%] .card-container.no-icon[_ngcontent-%COMP%]{margin-top:0;padding-top:27px}.wrapper-class[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none;background-color:#c7e8f2}.wrapper-class[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{background-color:#c7e8f2;box-shadow:unset}.wrapper-class[_ngcontent-%COMP%] .no-hover[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%] .preffered-border-mastiff[_ngcontent-%COMP%] .contactPageMastiffTemplateTextDiv{box-shadow:0 0 20px #0000002e,inset 0 0 20px 10px #51e72c40}.font-regular[_ngcontent-%COMP%]{font-family:HPSimplified}.pe-auto[_ngcontent-%COMP%]{pointer-events:all!important}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.wrapper-class[_ngcontent-%COMP%]{position:relative;margin:15px 0;min-height:unset}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{width:100%;min-height:225px;margin:0;padding:13px 16px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{line-height:1}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:20px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .recommendation[_ngcontent-%COMP%]{font-size:14px;line-height:24px;color:#c94c0d}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%]{margin-top:10px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-body[_ngcontent-%COMP%] .phone-number[_ngcontent-%COMP%]{margin-bottom:12px;font-size:16px;line-height:20px}.wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .sign-in-container[_ngcontent-%COMP%], .wrapper-class[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%] .unsupported-browser-container[_ngcontent-%COMP%]{margin:auto -16px -13px}}"]})}}return T})();var Et=a(61166),It=a(20662),Rt=a(72926),Ft=a(71839),kt=a(80436),Lt=a(44192),Bt=a(40351),At=a(11439);const jt=["content"],$t=T=>({accordion:T}),Ut=T=>({"add-btm-space":T}),Vt=(T,ge)=>({"arrow-down":T,"arrow-up":ge});function Gt(T,ge){if(1&T&&(n.j41(0,"div")(1,"h1"),n.EFF(2),n.k0s()()),2&T){const d=n.XpG();n.R7$(2),n.JRh(d.templateData().header1)}}function Wt(T,ge){if(1&T&&(n.j41(0,"div",10),n.nrm(1,"img",11),n.j41(2,"span"),n.EFF(3),n.k0s()()),2&T){const d=n.XpG(2);n.R7$(3),n.SpI(" ",d.warningMessage()," ")}}function Ht(T,ge){if(1&T&&(n.j41(0,"div",2),n.nrm(1,"app-contact-product-ribbon",9),n.nVh(2,Wt,4,1,"div",10),n.k0s()),2&T){const d=n.XpG();n.R7$(),n.Y8G("allTranslations",d.allTranslations())("deviceCardData",d.productRibbonData()),n.R7$(),n.vxM(d.warningMessage()?2:-1)}}function Xt(T,ge){if(1&T&&(n.j41(0,"div",3),n.nrm(1,"app-referencedocuments",12),n.k0s()),2&T){let d;const v=n.XpG();n.R7$(),n.Y8G("allTranslations",v.allTranslations())("diagnosticResponse",null==(d=v.diagnosticResponse())?null:d.documents)}}function zt(T,ge){if(1&T){const d=n.RV6();n.j41(0,"button",13),n.bIt("click",function(){s.eBV(d);const b=n.XpG();return s.Njj(b.toggleTabContent())}),n.j41(1,"p",14),n.EFF(2),n.k0s(),n.nrm(3,"span",4),n.k0s()}if(2&T){const d=n.XpG();n.Y8G("ngClass",n.eq3(3,Ut,!d.hideAddInfo())),n.R7$(2),n.JRh(d.hideAddInfo()?d.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Frex_See_More_Option"]:d.allTranslations()["#pps_WCC_FC_FailureDiagnostic_Frex_See_fewer_Option"]),n.R7$(),n.Y8G("ngClass",n.l_i(5,Vt,!d.hideAddInfo(),d.hideAddInfo()))}}function Yt(T,ge){if(1&T&&(n.j41(0,"div"),n.nrm(1,"app-contact-option-card",20),n.k0s()),2&T){const d=n.XpG().$implicit,v=n.XpG(3);n.R7$(),n.Y8G("isSignedIn",v.isSignedIn())("allTranslations",v.allTranslations())("contactOption",d)("isConsumerProduct",!v.isCommercialProduct())("supportedBrowsers",v.supportedBrowsers())("productC
1ontext",v.productContext())("prefferedContactOption","1"===d.preferred)("sscKeys",v.sscKeys())}}function Kt(T,ge){if(1&T&&(n.j41(0,"div"),n.nrm(1,"app-contact-option-card",20),n.k0s()),2&T){const d=n.XpG().$implicit,v=n.XpG(3);n.R7$(),n.Y8G("isSignedIn",v.isSignedIn())("allTranslations",v.allTranslations())("contactOption",d)("isConsumerProduct",!v.isCommercialProduct())("supportedBrowsers",v.supportedBrowsers())("productContext",v.productContext())("prefferedContactOption","1"===d.preferred)("sscKeys",v.sscKeys())}}function Qt(T,ge){if(1&T&&(n.nVh(0,Yt,2,8,"div"),n.nVh(1,Kt,2,8,"div")),2&T){const d=ge.$implicit,v=n.XpG(3);n.vxM(v.isFrexLanding()&&"FrexExchange"!==d.serviceId&&"FrexRepair"!==d.serviceId?0:-1),n.R7$(),n.vxM(v.isFrexLanding()?-1:1)}}function Jt(T,ge){if(1&T&&(n.j41(0,"div",16),n.Z7z(1,Qt,2,2,null,null,n.fX1),n.k0s()),2&T){const d=n.XpG(2);n.R7$(),n.Dyx(d.contactOptionsArr())}}function Zt(T,ge){if(1&T&&(n.j41(0,"div",17)(1,"p"),n.EFF(2),n.k0s()()),2&T){const d=n.XpG(2);n.R7$(2),n.JRh(d.templateData().sectionHeader3)}}function qt(T,ge){if(1&T&&(n.j41(0,"div",18),n.nrm(1,"img",21),n.j41(2,"p"),n.EFF(3),n.k0s()()),2&T){const d=n.XpG(2);n.R7$(3),n.JRh(d.templateData().sectionHeader2)}}function en(T,ge){if(1&T){const d=n.RV6();n.j41(0,"div",19)(1,"span"),n.EFF(2),n.k0s(),n.j41(3,"a",22),n.bIt("click",function(){s.eBV(d);const b=n.XpG(2);return s.Njj(b.openCCLCSelectionModal())}),n.EFF(4),n.k0s()()}if(2&T){const d=n.XpG(2);n.R7$(2),n.E5c("",d.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Text_1"]," ",d.contactOptionsCountry()," / ",d.contactOptionsLanguage()," "),n.R7$(2),n.JRh(d.allTranslations()["#pps_WCC_FS_UCE_Contact_Options_Text_3"])}}function tn(T,ge){if(1&T&&(n.j41(0,"div",7),n.nrm(1,"app-inline-loader",15),n.nVh(2,Jt,3,0,"div",16),n.nVh(3,Zt,3,1,"div",17),n.nVh(4,qt,4,1,"div",18),n.nVh(5,en,5,4,"div",19),n.k0s()),2&T){let d,v;const b=n.XpG();n.R7$(),n.Y8G("showInlineLoader",b.contactOptionsLoading()&&!b.mainLoaderActive()),n.R7$(),n.vxM(null!=(d=b.contactOptionsArr())&&d.length?2:-1),n.R7$(),n.vxM(null!=(v=b.contactOptionsArr())&&v.length||b.contactOptionsErrorFlag()||!b.cclsCallCompleted()||b.contactOptionsLoading()?-1:3),n.R7$(),n.vxM(b.contactOptionsErrorFlag()&&b.cclsCallCompleted()&&!b.contactOptionsLoading()?4:-1),n.R7$(),n.vxM(b.initialLoadFlag()?-1:5)}}function nn(T,ge){if(1&T&&(n.j41(0,"div",24),n.nrm(1,"app-support-resources-card",25),n.k0s()),2&T){const d=n.XpG(),v=d.$implicit;n.Y8G("id",n.mNQ("Tile"+(d.$index+1)+"_"+("mastiff"===(null==v?null:v.type)?null==v?null:v.elementId:null==v||null==v.image1Desc?null:v.image1Desc.replaceAll(" ","_")))),n.R7$(),n.Y8G("cardInfo",v)}}function on(T,ge){if(1&T&&n.nVh(0,nn,2,3,"div",24),2&T){const d=ge.$implicit,v=n.XpG(2);n.vxM(v.isMastiffBlacklist()&&"mastiff"===(null==d?null:d.type)?-1:0)}}function an(T,ge){if(1&T&&(n.j41(0,"div",8)(1,"h2"),n.EFF(2),n.k0s(),n.j41(3,"div",23),n.Z7z(4,on,1,1,null,null,n.fX1),n.k0s()()),2&T){const d=n.XpG();n.R7$(2),n.JRh(d.templateData().subHeader2),n.R7$(),n.Y8G("matchHeight","cards,desc"),n.R7$(),n.Dyx(d.supportResources())}}function rn(T,ge){if(1&T){const d=n.RV6();n.j41(0,"app-error-modal",26),n.bIt("closeModal",function(){s.eBV(d);const b=n.XpG();return s.Njj(b.closeErrorModal())}),n.k0s()}}let sn=(()=>{class T{constructor(d,v,b,Y,Me,Ie,be,Le,Re,Xe,we,Ue,dt,pt,_t,ct){this.authService=d,this.pageService=v,this.modalService=b,this.contactService=Y,this.route=Me,this.commonService=Ie,this.datepipe=be,this.meta=Le,this.globalDataService=Re,this.loadingScreenService=Xe,this.warrantySpecsService=we,this.failureDiagnosticService=Ue,this.store=dt,this.appSelectorStore=pt,this.renderer=_t,this.browserWrapperService=ct,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.allTranslations=(0,s.vPA)({}),this.templateData=(0,s.vPA)({}),this.destroySubject$=new $.B,this.isSignedIn=(0,s.vPA)(!1),this.userState=(0,s.vPA)(""),this.supportResources=(0,s.vPA)([]),this.warningMessage=(0,s.vPA)(""),this.countryList=(0,s.vPA)([]),this.contactOptionsCC=(0,s.vPA)(""),this.contactOptionsLC=(0,s.vPA)(""),this.contactOptionsCountry=(0,s.vPA)(""),this.contactOptionsLanguage=(0,s.vPA)(""),this.contactOptionsArr=(0,s.vPA)([]),this.productData=(0,s.vPA)(null),this.contactOptionsErrorFlag=(0,s.vPA)(!1),this.openCLC=(0,s.vPA)(!1),this.initialLoadFlag=(0,s.vPA)(!0),this.isSupportResourceLoaded=(0,s.vPA)(!1),this.ccl
1sCallCompleted=(0,s.vPA)(!1),this.productRibbonData=(0,s.vPA)(null),this.recaptchaSiteKey=(0,s.vPA)(""),this.isMastiffBlacklist=(0,s.vPA)(!1),this.isCommercialProduct=(0,s.vPA)(!1),this.contactOptionsLoading=(0,s.vPA)(!1),this.sessionData=(0,s.vPA)(null),this.validLocales=C.D5.validLocales,this.modalOpened=(0,s.vPA)(!1),this.selectedCCLC=(0,s.vPA)(null),this.productDataCallFlag=(0,s.vPA)(!0),this.mainLoaderActive=(0,s.vPA)(!0),this.unSupportedContactOptions=(0,s.vPA)(null),this.supportedBrowsers=(0,s.vPA)(null),this.hoopsEnabledContOptions=(0,s.vPA)([]),this.subRegionSelected=(0,s.vPA)(!1),this.hideAddInfo=(0,s.vPA)(!0),this.mastIffContactOptionDisabled=(0,s.vPA)(!1),this.sscKeys=(0,s.vPA)(null),this.primaryIntent=(0,s.vPA)(null),this.secondaryIntent=(0,s.vPA)(null),this.polyProductLineCodes=(0,s.vPA)(null),this.clcModalRef=(0,u.ebz)("content"),this.productContext=(0,u.hFB)(null),this.failureDiagFlag=(0,u.hFB)(null),this.isFrexLanding=(0,u.hFB)(!1),this.dataforContactOptions=(0,u.hFB)(null),this.warrantyResponse=(0,u.hFB)(null),this.cclsResponseToParent=(0,u.CGW)(),this.selectedCountryLanguage=(0,u.CGW)(),this.notExchangeRepairOption=(0,s.vPA)([]),this.diagnosticResponse=(0,s.vPA)(null),(0,M.QZ)(()=>{const at=this.authService.isUserLoggedIn(),cn=this.authService._userData(),gt=this.failureDiagFlag();(0,M.O8)(()=>{const ln=this.commonService.safeParseJSON(sessionStorage.getItem("supportOptionsOriginIdConfig"))?.originId||null,Mt=this.contactService.getAssistedSupportOriginSuffix(ln);if(this.isSignedIn.set(at),this.userState.set(at?C.rZ.SIGNED_IN:C.rZ.GUEST),(0,h.A)(cn))return;let ut;ut=at?gt?"ContactHP-DiagResult-Signedin":`ContactHP-Results-signedin${Mt}`:gt?"ContactHP-DiagResult-Anonymous":`ContactHP-Results-anonymous${Mt}`,gt&&this.pageService.updateConfig({templateName:ut}),this.globalDataService.updateGDL({Template:ut},!0),this.productDataCallFlag()&&!gt&&this.getProductData()})})}ngAfterViewInit(){const d=setInterval(()=>{typeof window<"u"&&window.grecaptcha?.enterprise&&(setTimeout(()=>{const v=document.getElementsByClassName("grecaptcha-badge")[0];v&&this.renderer.setStyle(v,"visibility","visible")},1e3),clearInterval(d))},500)}ngOnChanges(d){if(JSON.stringify(d.dataforContactOptions?.currentValue)!==JSON.stringify(d.dataforContactOptions?.previousValue)){const v=this.dataforContactOptions();this.diagnosticResponse.set(v?.diagDatas),v?.cardData&&(this.setContactFormData(v.cardData),this.gdlProductUpdateforDiag())}JSON.stringify(d.warrantyResponse?.currentValue)!==JSON.stringify(d.warrantyResponse?.previousValue)&&this.getProductData()}gdlProductUpdateforDiag(){const d=this.dataforContactOptions();this.globalDataService.updateGDL({Product:{bigSeriesName:"",bigSeriesOid:"",supportCategoryName:d?.cardData?.productSpecs?.productType,supportCategoryOid:"",seriesName:"",seriesOid:d?.cardData?.productSpecs?.productSeriesOid,productLineCode:d?.cardData?.productSpecs?.productLineCode,supportNameName:d?.cardData?.productSpecs?.productName,supportNameO
1id:d?.cardData?.productSpecs?.productNameOid,platformId:"",serialNumber:d?.cardData?.productSpecs?.serialNumber||d?.cardData?.warranty?.serialNumber,productModelNumber:"",audienceType:d?.cardData?.productSpecs?.seriesLevelAudienceFlag}},!0)}toggleTabContent(){this.hideAddInfo.set(!this.hideAddInfo())}accordionAnimationDone(){}buildPayloadforDiagReport(){let d=l()().format("YYYY-MM-DDThh-mm");const v=this.commonService.safeParseJSON(localStorage?.getItem("osInfo"))?.osPlatform,b=this.dataforContactOptions();return{cclsCountry:b?.deviceInfo?.cc,cclsLanguage:b?.deviceInfo?.lc,serialNumber:b?.diagDatas?.serialNumber,seriesOid:b?.cardData?.productSpecs?.productSeriesOid,modelOid:b?.cardData?.productSpecs?.productNameOid,dateTime:d,offSet:this.commonService.getUTCOffset(),clientName:v,productLineCode:b?.cardData?.productSpecs?.productLineCode,commercialFlow:b?.cardData?.productSpecs?.seriesLevelAudienceFlag?.toLowerCase().includes("com"),warrantyLevel:b?.cardData?.warranty?.warrantyState||b?.cardData?.warranty?.state||"UN",failureCode:b?.diagDatas?.code}}ngOnInit(){const d=this.commonService.safeParseJSON(sessionStorage?.getItem("contactFormMetaData"));(this.contactService.showErrorModal||d?.showErrorModal)&&(d&&(delete d?.showErrorModal,sessionStorage.setItem("contactFormMetaData",JSON.stringify(d))),this.contactService.showErrorModal=!1,this.showErrorModal()),this.meta.updateTag({name:"robots",content:"noindex, nofollow"}),this.contactOptionsCC.set(this.pageConfig().cc),this.contactOptionsLC.set(this.pageConfig().lc),this.pageConfig().isBrowser&&(this.productData.set(this.commonService.safeParseJSON(sessionStorage?.getItem("productData"))),this.sessionData.set(this.commonService.safeParseJSON(localStorage?.getItem("sessionData"))),this.selectedCCLC.set(this.commonService.safeParseJSON(sessionStorage?.getItem("selectedCCLC"))),this.primaryIntent.set(this.commonService.safeParseJSON(sessionStorage?.getItem("contactPrimaryIntent"))),this.secondaryIntent.set(this.commonService.safeParseJSON(sessionStorage?.getItem("contactSecondIssueIntent")))),this.route.queryParams.subscribe(v=>{this.openCLC.set(v.openCLC)}),this.loadingScreenService.loadingStatus.pipe((0,p.Q)(this.destroySubject$)).subscribe(v=>{this.mainLoaderActive.set(v?.isLoading)}),this.getSSCConfig(),this.fetchPageTemplate("uc_contact_options"),this.appSelectorStore.getAllTranslations$().pipe((0,p.Q)(this.destroySubject$)).subscribe(v=>this.allTranslations.set(v)),this.failureDiagFlag()&&this.getContactOptions()}showErrorModal(){this.globalDataService.updateGDL({contact_error:`${this.pageConfig().templateName}_error`},!0),this.modalService.open(this.clcModalRef(),{windowClass:"error-modal-container",size:"lg"})}closeErrorModal(){this.modalService.dismissAll()}getProductData(){this.productDataCallFlag.set(!1),this.loadingScreenService.startLoading(!0);const d=this.failureDiagFlag()?(0,j.of)(this.warrantyResponse()):this.warrantySpecsService.getWarrantySpecsData(this.productContext());(0,N.p)([d,this.contactService.getCountryLangData()]).pipe((0,i.$)()).subscribe(([v,b])=>{if(this.loadingScreenService.stopLoading(),this.setContactFormData(v),(0,h.A)(v)||(0,h.A)(b))this.fetchCountryLangData();else{this.productRibbonData.set(v),this.countryList.set(b);let Y=this.commonService.safeParseJSON(sessionStorage.getItem("subRegionData"));Y?(this.contactOptionsCC.set(Y.cc),this.contactOptionsLC.set(Y.lc),sessionStorage.removeItem("subRegionData"),this.findCountryLangName(),this.getContactOptions()):this.countryLangValidation()}},()=>{this.loadingScreenService.stopLoading(),this.setContactFormData(),this.fetchCountryLangData()})}setContactFormData(d){if(this.pageConfig().isBrowser){const v=this.commonService.safeParseJSON(sessionStorage.getItem("contactFormMetaData")),b=this.warrantySpecsService.getSingleDevice(this.productRibbonData()||d),Y=b?.warranty;sessionStorage.setItem("contactFormMetaData",JSON.stringify({formConfig:{},chatQueue:v?.chatQueue,messagingSessionID:v?.messagingSessionID,issueDesc1:v?.issueDesc1,issueDesc2:v?.issueDesc2,issueDesc1En:v?.issueDesc1En,issueDesc2En:v?.issueDesc2En,solutionInfo:v?.solutionInfo,caseId:v?.caseId,errorCode:v?.errorCode,warrantyResponse:this.warrantyResponse()||b,diagDocuments:this.failureDiagFlag()?this.dataforContactOptions()?.diagDatas?.documents:null,diagnosticResponse:this.diagnosticResponse(),failureMsg:this.failureDiagFlag()?this.dataforContactOptions()?.diagDatas?.summary:null,componentTested:this.failureDiagFlag()?this.dataforContactOptions()?.diagDatas?.componentCheckedLabel:null,testDate:this.failureDiagFlag()?this.dataforContactOptions()?.diagDatas?.testDate:null,contactProductContext:Object.assign({}
1,v?.contactProductContext,this.productContext(),{deviceSubscription:this.contactService.checkDeviceSubscription(d)||null,warranty:Y?.warrantyState||Y?.state||null,statusCode:Y?.statusCode||null,failureId:this.failureDiagFlag()?this.dataforContactOptions()?.deviceInfo?.idDecoder:null,productNumberOid:b?.productSpecs?.productNumberOid||null,productSeriesOid:b?.productSpecs?.productSeriesOid||null,productNameOid:b?.productSpecs?.productNameOid||null})}))}}countryLangValidation(){const d=this.getSubRegion(this.contactOptionsCC()),v=d?this.sessionData()?.geoCc?(0,g.A)(this.countryList(),{countryCode:this.sessionData()?.geoCc}):(0,g.A)(this.countryList(),{countryCode:d.split(",").pop()}):(0,g.A)(this.countryList(),{countryCode:this.contactOptionsCC()});if(this.isSelectedCCLC())this.contactOptionsforCurrentCCLC(null,this.selectedCCLC()?.contactOptions);else if(this.sessionData()&&this.sessionData()?.geoCc!==this.pageConfig().cc&&!this.openCLC()&&(this.sessionData()?.subRegion&&this.pageConfig().cc!==this.sessionData().subRegion.geoCcRegion||!this.sessionData()?.subRegion)){const b=(0,g.A)(this.countryList(),{countryCode:this.sessionData()?.geoCc}),Y=(0,g.A)(this.countryList(),{countryCode:this.pageConfig().cc});if(this.sessionData()?.subRegion||d){let Me=this.getSubRegionCountries();Y?Me.push(Y):!b||sessionStorage?.getItem("subRegionCCLC")?(sessionStorage?.removeItem("subRegionCCLC"),this.contactOptionsCC.set(Me[0].countryCode),this.contactOptionsLC.set(Me[0].languagesSupported[0].languageCode)):b&&(Me.push(b),this.contactOptionsCC.set(this.sessionData()?.geoCc),this.contactOptionsLC.set(b.languagesSupported[0].languageCode)),1===Me.length?this.getContactOptions():this.openCCLCSelectionModal(Me)}else b?this.openCCLCSelectionModal([b,Y]):this.contactOptionsforCurrentCCLC(v)}else v?.languagesSupported?.length>1&&!this.openCLC()?this.openCCLCSelectionModal([v]):this.contactOptionsforCurrentCCLC(v)}isSelectedCCLC(){return this.selectedCCLC()?.contactOptions?.cc&&this.selectedCCLC()?.contactOptions?.lc&&this.selectedCCLC()?.browser?.cc===this.pageConfig()?.cc&&this.selectedCCLC()?.browser?.lc===this.pageConfig()?.lc}getSubRegion(d){return this.sessionData()?.subRegionCountryMap?.[d]}contactOptionsforCurrentCCLC(d,v){this.contactOptionsCC.set(v?.cc||d?.countryCode||this.contactOptionsCC()),this.contactOptionsLC.set(v?.lc||(d?.languagesSupported?d?.languagesSupported?.[0].languageCode:this.contactOptionsLC())),this.findCountryLangName(),this.getContactOptions()}getSubRegionCountries(){let d=[];const v=this.sessionData()?.subRegionCountryMap,b=this.pageConfig().cc,Y=this.sessionData()?.subRegion?.geoCcRegion;return d=d.concat(v[b]?.split(","),v[Y]?.split(",")),(0,W.A)((0,e.A)(this.countryList(),Me=>d.includes(Me.countryCode)),"countryCode")}getSSCConfig(){this.store.select(m.FM).pipe((0,i.$)(d=>!(0,h.A)(d))).subscribe(d=>{this.sscKeys.set(d),this.isMastIffContactOptionEnabled(d),this.supportedBrowsers.set(d?.CONTACT_OPTIONS_SUPPORTED_BROWSERS),this.hoopsEnabledContOptions.set(d?.CONTACT_OPTIONS_HOOP_MSG_ENABLED?.toLowerCase().split(","));const v=d?.MASTIFF_SPOS_ENDPOINT_URL||null;this.recaptchaSiteKey.set(d?.RECAPTCHA_SITE_KEY||""),this.polyProductLineCodes.set(d?.CONTACT_POLY_PRODUCT_LINE),v&&this.pageService.loadMastiffJs(v),this.unSupportedContactOptions.set(this.commonService.safeParseJSON(d?.CONTACT_OPTIONS_UNSUPPORTED_BROWSERS));let b=d?.MASTIFF_SPOS_BLACKLIST_CONTACT_OPTION||null;b&&-1!==b.split(",").indexOf(this.pageConfig().locale)&&this.isMastiffBlacklist.set(!0)})}isMastIffContactOptionEnabled(d){const v=d?.MASTIFF_TILE_BLACKLISTED_LOCALE_CONTACT_OPTION?.includes(this.pageConfig().cc),b=d?.MASTIFF_TILE_BLACKLISTED_SERIES_OID_CONTACT_OPTION?.includes(this.productContext()?.seriesOid),Y=d?.MASTIFF_TILE_BLACKLISTED_TEMPLATE_CONTACT_OPTION?.toLowerCase().includes(this.pageConfig().templateName?.toLowerCase());this.mastIffContactOptionDisabled.set(v||b||Y)}getSupportResources(){if(this.isSupportResourceLoaded())return;this.isSupportResourceLoaded.set(!0);const d=sessionStorage.getItem("contactFormMetaData");let v;d&&(v=JSON.parse(d));const b=this.contactService.checkDeviceSubscription(this.productRibbonData()),Me=this.warrantySpecsService.getSingleDevice(this.productRibbonData())?.warranty||{}
1,Ie=Me?.warrantyState||Me?.state,be=this.productContext();this.contactService.getSupportResource(this.userState(),Ie,b,v?.contactProductContext?.topicTmsId,be?.modelOid||be?.seriesOid).pipe((0,p.Q)(this.destroySubject$)).subscribe(Le=>{Le?.length&&this.supportResources.set((0,ae.A)(Le,["order"],["asc"]).slice(0,6).map(Re=>(Re.link=this.commonService.localizeURL(Re.link),Re.link=this.contactService.addProductContext(Re.link,this.productContext()),Re.linkTarget=""==Re.linkTarget.trim()||"newTab"==Re.linkTarget.trim()?"_blank":"_self",Re)))})}isPolyProduct(d,v){return d?.toLowerCase().includes(v?.toLowerCase())}buildContactOptionsPayload(d,v,b,Y,Me){const Ie=JSON.parse(localStorage?.getItem("osInfo"))?.osPlatform;let be=this.datepipe.transform(Date(),"yyyy-MM-dd"),Le=this.datepipe.transform(Date(),"hh-mm");const Re=this.productRibbonData()?.data?.devices?.[0]?.productSpecs;this.isCommercialProduct.set(Re?.seriesLevelAudienceFlag?.toLowerCase().includes("com")||"commercial"===v?.seriesLevelAudienceFlag?.toLowerCase());let Xe=this.commonService.safeParseJSON(sessionStorage?.getItem("contactFormMetaData")),we=[Xe?.issueDesc1En&&`Primary=${Xe?.issueDesc1En}`,Xe?.issueDesc2En&&`Secondary=${Xe?.issueDesc2En}`].filter(Boolean).join(";");return{cclsCountry:this.contactOptionsCC(),cclsLanguage:this.contactOptionsLC(),serialNumber:Y,seriesOid:this.productContext()?.seriesOid||v?.productSeriesOid.toString(),modelOid:this.productContext()?.modelOid||v?.productNameOid.toString(),dateTime:be+"T"+Le,offSet:this.commonService.getUTCOffset(),clientName:Ie,productLineCode:Re?.productLineCode||v?.productLineCode,commercialFlow:this.isCommercialProduct(),warrantyLevel:b?.warrantyState||b?.state||"UN",miscParm:b?.supportCode||null,offer:this.mastIffContactOptionDisabled()?null:"MS",intent:we,useCase:this.browserWrapperService.getSessionStorageItem("navigationContextPlatform")||""}}updateWarrantyLevelIfMissing(d,v,b){!d.serialNumber&&!d.warrantyLevel&&(d.warrantyLevel=this.isPolyProduct(this.polyProductLineCodes(),b?.productLineCode||v?.productLineCode)?"NS":"UN")}checkNoTouchEligibility(d,v,b,Y){this.contactOptionsLoading.set(!0);const Me=this.commonService.safeParseJSON(this.sscKeys()?.NO_TOUCH_ELIGIBILITY_API_PRODCATEGORY),Ie=v?.prodCategory?.toLowerCase(),be=Me?.[Ie],Le=b?.wccFlags?.isOSS;if(("repair"===this.primaryIntent()?.data?.noTouchRepairEligible?.toLowerCase()||this.primaryIntent()?.secIntentAvail&&"repair"===this.secondaryIntent()?.noTouchRepairEligible?.toLowerCase())&&be&&!Le&&Y){const we={cc:this.contactOptionsCC(),lc:this.contactOptionsLC(),serialNumber:Y,productNumber:v?.productNumber||b?.productNumber,prodCategory:be};this.contactService.getEligibilityData(we).pipe((0,p.Q)(this.destroySubject$)).subscribe(Ue=>{200===Ue?.code&&Ue?.data?.isEligible&&(d.offer=[d.offer,"Repair"].filter(Boolean).join(";")),this.fetchCCLSData(d)},()=>{this.fetchCCLSData(d)})}else this.fetchCCLSData(d)}getContactOptions(){let d;const v=this.warrantySpecsService.getSingleDevice(this.productData()),b=v?.warranty,Y=v?.productSpecs,Me=this.productRibbonData()?.data?.devices?.[0]?.warranty,Ie=Me?.warrantyState||Me?.state,be=this.productContext()?.serialNumber||Y?.serialNumber||b?.serialNumber;this.failureDiagFlag()?(0,h.A)(this.dataforContactOptions())?this.selectedCountryLanguage.emit({countryCode:this.contactOptionsCC(),languageCode:this.contactOptionsLC()}):(this.initialLoadFlag.set(!1),d=this.buildPayloadforDiagReport(),this.updateWarrantyLevelIfMissing(d,Y,b),this.loadingScreenService.startLoading(),this.fetchCCLSData(d)):(this.getSupportResources(),this.initialLoadFlag.set(!1),this.contactOptionsErrorFlag.set(!1),d=this.buildContactOptionsPayload(v,Y,Me,be,Ie),this.updateWarrantyLevelIfMissing(d,Y,b),this.checkNoTouchEligibility(d,Y,Me,be))}fetchCCLSData(d){this.contactService.getContactOptions(d).pipe((0,p.Q)(this.destroySubject$)).subscribe(v=>{200!==v?.code&&this.onCCLSError(),this.contactOptionsLoading.set(!1);const b=v?.data?.contactOptionResults?.specializedContactOptions?.findIndex(be=>200===be.serviceType),Y=v?.data?.contactOptionResults?.specializedContactOptions?.findIndex(be=>201===be.serviceType);b>-1&&this.warningMessage.set(v.data.contactOptionResults.specializedContactOptions[b]?.serviceDesc);const Me=this.failureDiagFlag();if(v?.data?.contactOptionResults?.contactOptions?.length){let be;if(this.contactOptionsArr.set((0,ae.A)(v.data.contactOptionResults.contactOptions,["sort"],["asc"])),Me){const we=this.contactOptionsArr(),Ue=[];we.map(at=>{"FrexExchange"===at.serviceId||"FrexRepair"===at.serviceId||Ue.push(at)}),this.notExchangeRepairOption.set(Ue);const dt=this.dataforContactOptions(),pt=this.dataforContactOptions();be={SerialNumber:dt?.cardData?.productSpecs?.serialNumber||dt?.cardData?.warranty?.serialNumber,EntResults:this.dataforContactOptions()?.cardData?.warranty?.state??"",warrantyStartDate:this.dataforContactOptions()?.cardData?.warranty?.warrantyStartDate??"",warrantyEndDate:this.dataforContactOptions()?.cardData?.warranty?.warrantyEndDate??"",warrantyState:pt?.cardData?.warranty?.warrantyState||pt?.cardData?.warranty?.state||""};const _t=this.commonService.gethashedURLParms("origin"),ct=this.commonService.getSanitizedData(_t);ct&&(be.Origin=Y>-1?`FREX-${ct}`:`error-${ct}`)}else{const Ue=this.warrantySpecsService.getSingleDevice(this.productRibbonData())?.warranty;
1be={SerialNumber:this.productContext()?.serialNumber,EntResults:Ue?.state??"",warrantyStartDate:Ue?.warrantyStartDate??"",warrantyEndDate:Ue?.warrantyEndDate??"",warrantyState:Ue?.warrantyState||Ue?.state||""}}const Le=this.contactOptionsArr(),Re=[...Le];Re.forEach((we,Ue)=>{Re[Ue].unSupported=this.isUnSupportedContactOption(we),Re[Ue].hoopsMsgEnabled=this.hoopsEnabledContOptions()?.includes(we.serviceId?.toLowerCase()),be[we.serviceId]="true"===we.openStatus?.toLowerCase()?"Active":"Inactive"}),this.contactOptionsArr.set(Re),Me&&this.isFrexLanding()&&this.hideAddInfo.set(!0);const Xe=Le.findIndex(we=>"1"===we.preferred);if(-1!=Xe){const we=[...Le];we.unshift(we.splice(Xe,1)[0]),this.contactOptionsArr.set(we)}this.globalDataService.updateGDL({ContactEntitlementresults:be},!0)}else this.contactOptionsArr.set([]);this.cclsCallCompleted.set(!0),this.cclsResponseToParent.emit(v?.data?.contactOptionResults);const Ie=v?.data?.contactOptionResults?.specializedContactOptions?.some(be=>201===be.serviceType);Me&&(Ie||this.getSupportResources(),this.loadingScreenService.stopLoading())},()=>{this.onCCLSError()})}onCCLSError(){this.showErrorModal(),this.contactOptionsLoading.set(!1),this.cclsCallCompleted.set(!0),this.contactOptionsErrorFlag.set(!0),this.contactOptionsArr.set([]),this.failureDiagFlag()&&(this.failureDiagnosticService.beAPICallError$.next({backendAPICallFailed:!0}),this.loadingScreenService.stopLoading())}openCCLCSelectionModal(d){this.modalOpened.set(!0);const v=this.modalService.open(B,{windowClass:"select-country-modal",size:"sm"});v.componentInstance.allTranslations.set(this.allTranslations()),v.componentInstance.countryList.set(d||this.countryList()),v.componentInstance.selectedCountryCode.set(this.contactOptionsCC()),v.componentInstance.selectedLanguageCode.set(this.contactOptionsLC()),v.result.then(b=>{this.modalOpened.set(!1),(0,h.A)(b)?this.initialLoadFlag()&&this.reloadPageWithSubRegion():(this.contactOptionsCC()!==b?.selectedCountry?.countryCode||this.contactOptionsLC()!==b?.selectedLanguage?.languageCode||this.initialLoadFlag())&&(this.contactOptionsCC.set(b?.selectedCountry?.countryCode||this.contactOptionsCC()),this.contactOptionsLC.set(b?.selectedLanguage?.languageCode||this.contactOptionsLC()),this.subRegionSelected.set(!0),this.reloadPageWithSubRegion())},()=>{this.modalOpened.set(!1),this.initialLoadFlag()&&this.reloadPageWithSubRegion()})}setSessionCCLC(d,v){const b={browser:{cc:d||this.pageConfig()?.cc,lc:v||this.pageConfig()?.lc},contactOptions:{cc:this.contactOptionsCC(),lc:this.contactOptionsLC()}};this.subRegionSelected()&&(b.contactCclcChanged=!0),sessionStorage.setItem("selectedCCLC",JSON.stringify(b))}reloadPageWithSubRegion(){const d=`${this.contactOptionsCC()}-${this.contactOptionsLC()}`,v=window.location.pathname.split("/"),b=this.sessionData()?.subRegionCountryMap;let Y;for(var Me in b)-1!==b[Me].search(this.contactOptionsCC())&&(Y=Me);let Ie=Y+"-"+this.contactOptionsLC();if((this.validLocales.includes(d)||this.validLocales.includes(Ie))&&this.pageConfig().locale!==d&&this.pageConfig().cc!==Y){const be={cc:this.contactOptionsCC(),lc:this.contactOptionsLC()};sessionStorage.setItem("subRegionData",JSON.stringify(be));let Le=new URL(location.href);Y&&this.validLocales.includes(Ie)?(Le.pathname=Le.pathname.replace(v[1],`${Ie}`),this.setSessionCCLC(Y,this.contactOptionsLC())):(Le.pathname=Le.pathname.replace(v[1],`${d}`),this.setSessionCCLC(this.contactOptionsCC(),this.contactOptionsLC())),this.loadingScreenService.startLoading(!0),window.open(`${Le.href}`,"_self")}else this.setSessionCCLC(),this.findCountryLangName(),this.getContactOptions()}fetchCountryLangData(){this.contactService.getCountryLangData().pipe((0,p.Q)(this.destroySubject$)).subscribe(d=>{this.countryList.set(d),this.findCountryLangName(),this.countryLangValidation()})}fetchPageTemplate(d){this.contactService.getPageTemplate(d).pipe((0,p.Q)(this.destroySubject$)).subscribe(v=>{(0,h.A)(v)||this.templateData.set(v)})}findCountryLangName(d){const v=d||this.contactOptionsCC(),b=(0,g.A)(this.countryList(),{countryCode:v});this.contactOptionsCountry.set(b?.alternativeName||b?.countryName),this.contactOptionsLanguage.set((0,g.A)(b?.languagesSupported,{languageCode:this.contactOptionsLC()})?.alternativeName)}isUnSupportedContactOption(d){return!!this.unSupportedContactOptions()?.[d?.serviceId]&&this.unSupportedContactOptions()?.[d?.serviceId]?.toLowerCase()?.split(",")?.includes(this.pageConfig()?.browser?.toLowerCase())}ngOnDestroy(){const d=document.getElementsByClassName("grecaptcha-badge")[0];d&&this.renderer.setStyle(d,"visibility","hidden"),this.destroySubject$.next()}static{this.\u0275fac=function(v){return new(v||T)(n.rXU(Rt.u),n.rXU(pe.b),n.rXU(te.Bq),n.rXU(Ft.u),n.rXU(Fe.nX),n.rXU(D.h),n.rXU(ue.vh),n.rXU(kt.W8),n.rXU(Qe.a),n.rXU(Je.s),n.rXU(Lt.a),n.rXU(Bt.V),n.rXU(At.il),n.rXU(ne.q),n.rXU(n.sFG),n.rXU(Ke.z))}}static{this.\u0275cmp=n.VBU({type:T,selectors:[["app-contact-options"]],viewQuery:function(v,b){1&v&&n.wEZ(b.clcModalRef,jt,5),2&v&&n.NyB()}
1,inputs:{productContext:[1,"productContext"],failureDiagFlag:[1,"failureDiagFlag"],isFrexLanding:[1,"isFrexLanding"],dataforContactOptions:[1,"dataforContactOptions"],warrantyResponse:[1,"warrantyResponse"]},outputs:{cclsResponseToParent:"cclsResponseToParent",selectedCountryLanguage:"selectedCountryLanguage"},features:[n.OA$],decls:11,vars:11,consts:[["content",""],[1,"wrapper-class"],[1,"device-card-container"],[1,"ref-doc-contact-option"],[3,"ngClass"],["type","button",1,"accordion-button",3,"ngClass"],[3,"hidden"],[1,"contact-options-container"],[1,"support-resources-container"],[3,"allTranslations","deviceCardData"],[1,"warranty-warning"],["src","/wcc-assets/images/alert.svg"],[3,"allTranslations","diagnosticResponse"],["type","button",1,"accordion-button",3,"click","ngClass"],["id","morecontactoptions",1,"accordion-text"],[3,"showInlineLoader"],[1,"cards-container"],[1,"errors-container","mb-4","mx-2","mx-md-0"],[1,"syster-error"],[1,"country-selection-container"],[3,"isSignedIn","allTranslations","contactOption","isConsumerProduct","supportedBrowsers","productContext","prefferedContactOption","sscKeys"],["src","/wcc-assets/images/error_failure.svg"],["href","javascript:void(0)","id","Changelocation",1,"mt-2","mt-md-0",3,"click"],[1,"support-resource-cards",3,"matchHeight"],[1,"cards",3,"id"],[3,"cardInfo"],[3,"closeModal"]],template:function(v,b){if(1&v){const Y=n.RV6();n.j41(0,"div",1),n.nVh(1,Gt,3,1,"div"),n.nVh(2,Ht,3,3,"div",2),n.nVh(3,Xt,2,2,"div",3),n.j41(4,"div",4),n.nVh(5,zt,4,8,"button",5),n.j41(6,"div",6),n.bIt("@slideInOut.done",function(){return s.eBV(Y),s.Njj(b.accordionAnimationDone())}),n.nVh(7,tn,6,5,"div",7),n.k0s()(),n.nVh(8,an,6,2,"div",8),n.k0s(),n.DNE(9,rn,1,0,"ng-template",null,0,n.C5r)}if(2&v){let Y,Me;n.R7$(),n.vxM(b.failureDiagFlag()?-1:1),n.R7$(),n.vxM(b.failureDiagFlag()?-1:2),n.R7$(),n.vxM(b.failureDiagFlag()&&!b.isFrexLanding()?3:-1),n.R7$(),n.Y8G("ngClass",n.eq3(9,$t,b.isFrexLanding()&&b.failureDiagFlag())),n.R7$(),n.vxM(b.isFrexLanding()&&b.failureDiagFlag()&&b.notExchangeRepairOption().length?5:-1),n.R7$(),n.Y8G("@slideInOut",void 0)("hidden",b.isFrexLanding()&&b.hideAddInfo()),n.R7$(),n.vxM(null!=(Y=b.contactOptionsArr())&&Y.length||null!=(Y=b.countryList())&&Y.length?7:-1),n.R7$(),n.vxM(null!=(Me=b.supportResources())&&Me.length&&!b.initialLoadFlag()?8:-1)}},dependencies:[It.h,Et.t,ue.YU,q.c,Nt,U.u,R,S.L],styles:["@media print{*[_ngcontent-%COMP%]{print-color-adjust:exact;-webkit-print-color-adjust:exact!important}}#recaptcha[_ngcontent-%COMP%]{position:fixed;z-index:9999;bottom:0;right:0;display:inline-block}.wrapper-class[_ngcontent-%COMP%] .device-card-container[_ngcontent-%COMP%]{margin:23px auto 61px;max-width:799px;width:100%;display:flex;justify-content:center;flex-direction:column}.wrapper-class[_ngcontent-%COMP%] .warranty-warning[_ngcontent-%COMP%]{font-size:16px;border-radius:4px;background-color:#f0a83b33;font-weight:300;line-height:1.38;display:flex;align-items:center;min-height:46px;margin-top:28px;padding:8px 15px;gap:0 15px}.wrapper-class[_ngcontent-%COMP%] .ref-doc-contact-option[_ngcontent-%COMP%]{margin-bottom:20px}.wrapper-class[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:27px auto 34px;font-size:38px;font-weight:300;line-height:1.11;text-align:center;color:#000}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%]{width:100vw;position:relative;left:50%;right:50%;margin:70px -50vw 25px;align-items:center;display:flex;flex-direction:column}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 auto 10px;font-size:32px;font-weight:300;line-height:1.19;text-align:center;color:#000}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] .support-resource-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;max-width:1040px}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] .support-resource-cards[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]{padding:20px 15px;width:50%}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] .support-resource-cards[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]:has(.card-wrapper:empty){display:none}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%]{width:100vw;position:relative;
1left:50%;right:50%;margin:auto -50vw 49px;padding:23px 0 32px;text-align:center;box-shadow:0 0 20px #00000029;background-image:linear-gradient(to top,#59c7b57d,#0095d47d)}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .cards-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;margin:auto;max-width:1247px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .country-selection-container[_ngcontent-%COMP%]{font-family:HPSimplified;margin-top:4px;font-size:16px;display:flex;justify-content:center}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .country-selection-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 4px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .errors-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:14px auto 0;font-size:18px;max-width:800px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .syster-error[_ngcontent-%COMP%]{margin:46px auto 41px;max-width:1218px;background-color:#ffe6e5;display:flex;align-items:center;gap:0 18px;padding:13px 65px 13px 16px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .syster-error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;line-height:32px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .syster-error[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:30px}.wrapper-class[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000;margin:0}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%]{max-width:1223px;margin:0 auto 20px}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]{background:none;display:inline-flex;padding:0 23px 0 0;position:relative;height:initial;font-family:HPSimplified;font-size:14px;font-weight:400;line-height:16px;color:#000}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:inset 0 1px 1px #00000013,0 0 8px #66afe999}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button.add-btm-space[_ngcontent-%COMP%]{margin-bottom:40px}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .accordion-text[_ngcontent-%COMP%]{background:transparent;font-family:HPSimplified;font-size:14px;font-weight:400;line-height:16px;color:#165dba;outline:none;border:none;padding:0;height:auto;margin-bottom:0}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;height:15px;top:0;right:0;width:10px;margin:0 7px;transition:transform .2s ease-in-out;background-position:center;background:url(/wcc-assets/images/accordion-arrow-blue.svg) 100% no-repeat}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-up[_ngcontent-%COMP%]{transform:rotate(0)}.wrapper-class[_ngcontent-%COMP%] .accordion[_ngcontent-%COMP%] .accordion-button[_ngcontent-%COMP%] .arrow-down[_ngcontent-%COMP%]{transform:rotate(-180deg)}@media only screen and (max-width:600px),only screen and (min-width:600px)and (max-width:767px){.wrapper-class[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:25px auto 34px;font-size:30px;font-weight:300;line-height:1.07}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%]{margin:27px -50vw 0}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 auto 23px;font-size:20px;font-weight:300;line-height:32px;text-align:center;color:#000}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] .support-resource-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;flex-direction:column}.wrapper-class[_ngcontent-%COMP%] .support-resources-container[_ngcontent-%COMP%] .support-resource-cards[_ngcontent-%COMP%] .cards[_ngcontent-%COMP%]{width:100%;padding:11px}.wrapper-class[_ngcontent-%COMP%] .device-card-container[_ngcontent-%COMP%]{margin:23px auto 22px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%]{margin:22px -50vw 27px}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .country-selection-container[_ngcontent-%COMP%]{flex-direction:column}.wrapper-class[_ngcontent-%COMP%] .contact-options-container[_ngcontent-%COMP%] .cards-container[_ngcontent-%COMP%]{flex-direction:column;margin:auto;padding:0 12px}}"],data:{animation:[x.z]}})}}return T})()},40351(xe,le,a){a.d(le,{V:()=>pe});var M=a(86763),s=a(75797),u=a(84205),$=a(43942),j=a(2435),N=a(50819),p=a(91687),K=a(93551),l=a(49074),h=a(85240),g=a(19885),W=a(47484),e=a(91018),ae=a(60809),ue=a(44192),me=a(92609),n=a(11439);let pe=(()=>{class te{constructor(B,C,x,m,S,f,D,y){this.pageService=B,this.seoService=C,this.httpService=x,this.loadingScreenService=m,this.warrantySpecsService=S,this.recaptchaService=f,this.destroyRef=D,this.store=y,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.errorDecoderResponse$=new s.t({}),this.warrantyResponse$=new s.t({}),this.beAPICallError$=new s.t({backendAPICallFailed:!1}),this.dataforContactComp$=new u.B}loadcaptchaScript(B,C){this.store.select("sscKeys").pipe((0,j.$)(x=>!(0,K.A)(x))).pipe(function i(te,F=!1){return(0,N.N)((B,C)=>{let x=0;B.subscribe((0,p._)(C,m=>{const S=te(m,x++);(S||F)&&C.next(m),!S&&C.complete()}
1))})}(x=>x.pageName===B||!x.pageName)).subscribe(x=>{const m=x?.SscUdlKeySet[B]?.ssc||{};if(x.dataFetchSuccess&&!(0,K.A)(m)){this.recaptchaSiteKey=m?.RECAPTCHA_SITE_KEY??"";const S=m?.RECAPTCHA_SITE_URL??"",f=m?.RECAPTCHA_SITE_URL_CHINA??"";"true"===(m?.RECAPTCHA_REQUIRED??"")?.toLowerCase()&&typeof window<"u"&&(this.recaptchaService.loadGoogleCaptchaScript(this.recaptchaSiteKey,S,f).onload=()=>{window?.grecaptcha?.enterprise?.ready&&this.recaptchaService.showCaptchaBadge(C)})}})}updateMetaInfo(B){this.seoService.setTitle(B["#pps_WCC_FC_FailureDiagnostic_Page_Seo_Title"]),this.seoService.updateMetaTagIndex("noindex, nofollow")}updateErrorDecoderFormData(B){this.ErrorDecoderFormData=B}getDiagnosticReportforProduct(B){const C={failureId:B?.idDecoder,cc:B.cc,lc:B.lc};this.ErrorDecoderFormData=B,this.loadingScreenService.startLoading(!0),this.httpService.post("/wcc-services/methone/assets/diagnostic-failureId-decoder",C).pipe((0,l.pQ)(this.destroyRef)).subscribe(x=>{200===x?.code&&"ok"===x.status?.toLowerCase()&&x.data?.[0]?.valid?(this.errorDecoderResponse$.next(x.data[0]),this.getContactandWarrantyforProduct(B,x.data[0])):this.beAPICallError$.next(x?.data?.[0]&&!x.data?.[0].valid||204===x?.code?{backendAPICallFailed:!0,invalidFailureId:!0}:{backendAPICallFailed:!0})},x=>{this.beAPICallError$.next({backendAPICallFailed:!0})})}getContactandWarrantyforProduct(B,C){this.loadingScreenService.startLoading(!0);let x={};x.serialNumber=C.serialNumber,x.sku=B?.altProductNumber||B.productNumber,x.modelOid=null,x.seriesOid=null,x.selectedCC=B.cc,this.warrantySpecsService.getWarrantySpecsData(x).subscribe(m=>{const S=this.warrantySpecsService.getSingleDevice(m),f=S?.warranty,D=S?.productSpecs;f&&D?204===D?.code&&"device not found, pn not matching with sn"===D?.message?.toLowerCase()?this.beAPICallError$.next({backendAPICallFailed:!0,invalidProductNo:!0}):(this.warrantyResponse$.next(m),this.dataforContactComp$.next({deviceInfo:B,diagDatas:C,cardData:{productSpecs:D,warranty:f}})):406===m?.code&&"NOT_ACCEPTABLE"===m?.status?(this.beAPICallError$.next({backendAPICallFailed:!0,invalidProductNo:!0}),this.loadingScreenService.stopLoading()):(this.loadingScreenService.stopLoading(),this.beAPICallError$.next({backendAPICallFailed:!0}))},m=>{this.loadingScreenService.stopLoading(),this.beAPICallError$.next({backendAPICallFailed:!0})})}getTopBanner(){const B=`wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_frex_banner`;return new $.c(C=>{this.httpService.get(B).pipe((0,l.pQ)(this.destroyRef)).subscribe(x=>{C.next(x&&x.data?{success:!0,data:x.data}:{success:!1}),C.complete()},x=>{C.next({success:!1}),C.complete()})})}getCtaBanner(){const B=`wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_frex_ctabanners`;return new $.c(C=>{this.httpService.get(B).pipe((0,l.pQ)(this.destroyRef)).subscribe(x=>{C.next(x&&x.data?{success:!0,data:x.data}:{success:!1}),C.complete()},x=>{C.next({success:!1}),C.complete()})})}getCreditAndRepairContent(){const B=`wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_frex_ctalinks`;return new $.c(C=>{this.httpService.get(B).pipe((0,l.pQ)(this.destroyRef)).subscribe(x=>{C.next(x&&x.data?{success:!0,data:x.data}:{success:!1}),C.complete()},x=>{C.next({success:!1}),C.complete()})})}resetDataStreams(){this.errorDecoderResponse$.next({}),this.warrantyResponse$.next({}),this.dataforContactComp$.next(null)}static{this.\u0275fac=function(C){return new(C||te)(h.KVO(g.b),h.KVO(W.F),h.KVO(e.k),h.KVO(ae.s),h.KVO(ue.a),h.KVO(me.N),h.KVO(h.abz),h.KVO(n.il))}}static{this.\u0275prov=h.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},16156(xe,le,a){a.d(le,{Q:()=>te});var M=a(85240),s=a(86763),u=a(84205),$=a(61873),j=a(59452),N=a(61318),p=a(51567),i=a(2435),K=a(70271),l=a(36647),h=a(33900),g=a(93551),W=a(54041),e=a(91073),ae=a(19885),ue=a(72990),me=a(11439),n=a(60480),pe=a(4804);let te=(()=>{class F{constructor(C,x,m,S,f){this.pageService=C,this.browserWrapperService=x,this.store=m,this.commonService=S,this.globalDataService=f,this.pageConfig=(0,s.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new u.B,this.sscKeys=(0,M.vPA)(null),this.devicesLimit=20,this.store.select(W.FM).pipe((0,i.$)(D=>!(0,g.A)(D))).subscribe(D=>{this.sscKeys.set(D)})}ngOnDestroy(){this.destroySubject$.next()}isInstantInkSkuFlow(C){const m=new URL(window.location.href).searchParams.get("sku"),f=(C||this.sscKeys())?.CONTACT_II_SUBSCRIPTION_SKU;return!!m&&!!f&&m.toUpperCase()===f.toUpperCase()}isSierraOptionServiceType(C,x){const S=(x||this.sscKeys())?.SIERRA_OPTION_SERVICE_TYPE;
1return!!S&&String(C)===S}shouldUseInstantInkFlow(C,x){return this.isInstantInkSkuFlow(x)&&this.isSierraOptionServiceType(C,x)}getDevicesWithSubscriptionsRaw(C,x=this.devicesLimit){return this.commonService.getDevicesData({params:{startIndex:C,attribute:"includeUnconnectedDevices",limit:String(x)},headers:{skipSyncCheck:"true"}}).pipe((0,p.p)(m=>void 0!==m?.data||void 0!==m?.error||void 0!==m?.dataLoded),(0,i.$)(),(0,K.T)(m=>m?.error||!1===m?.dataLoded||void 0!==m?.code&&200!==m?.code?{...e.V,code:m?.code??500}:m),(0,N.W)(()=>(0,j.of)({...e.V,code:500})))}getDevicesWithSubscriptions(C,x){return this.getDevicesWithSubscriptionsRaw(C,x).pipe((0,K.T)(m=>m?.data?.deviceList||[]))}getAllDevicesInProfile(){return this.getDevicesWithSubscriptionsRaw(0).pipe((0,l.n)(C=>{const x=C?.data?.deviceCount??0;if(!C?.data||403===C.code||x<=this.devicesLimit)return(0,j.of)(C?.data?.deviceList||[]);const m=Math.ceil(x/this.devicesLimit),S=[...C.data.deviceList||[]],f=[];for(let D=1;D<m;D++)f.push(this.getDevicesWithSubscriptions(D*this.devicesLimit,this.devicesLimit).pipe((0,h.Q)(this.destroySubject$)));return(0,$.p)(f).pipe((0,K.T)(D=>(D.forEach(y=>{y?.length&&S.push(...y)}),S)),(0,N.W)(()=>(0,j.of)(S)))}),(0,h.Q)(this.destroySubject$),(0,N.W)(()=>(0,j.of)([])))}filterInstantInkSubscribedProducts(C,x){const m=x||this.sscKeys();if(!m||!C?.length)return[];const S=this.parseSupportCodeValues(m.CONTACT_SDPII_SUBSCRIPTION_SUPPORTCODE),f=m.CONTACT_SDPII_SUBSCRIPTION_SUBSCRIPTIONTYPE,D=this.parseStatusCodes(m.CONTACT_SDPII_SUBSCRIPTION_STATUSCODE),y=[];for(const _ of C)if(this.matchesSupportCode(_.supportCode,S)&&_.subscriptions?.length)for(const R of _.subscriptions){const U=String(R.subscriptionType)===f,re=D.includes(String(R.statusCode));if(U&&re){y.push({..._,matchingSubscription:R});break}}return y}parseSupportCodeValues(C){return C?C.split(",").map(x=>x.replace("SupportCode=","").trim()).filter(x=>x):[]}parseStatusCodes(C){return C?C.split(",").map(x=>x.trim()).filter(x=>x):[]}matchesSupportCode(C,x){return!(!C||!x.length)&&C.split(/[,;]/).map(S=>S.replace("SupportCode=","").trim()).filter(Boolean).some(S=>x.includes(S))}createProductContext(C){return{warranty:C.warrantyState||C.warrantyStatus||null,serialNumber:C.serialNumber||"",productNameOid:C.productNameOID||"",productNumber:C.productNumber||C.altProductNumber||"",productNumberOid:C.productNameOID||"",productSeriesOid:C.productSeriesOID||"",subscriptionName:C.matchingSubscription?.subscriptionName||C.matchingSubscription?.description||null,subscriptionType:C.matchingSubscription?.subscriptionType||null}}createFallbackProductContext(){const x=new URL(window.location.href).searchParams.get("sku"),m=this.pageConfig()?.routeParams||{};return{warranty:null,serialNumber:"",productNameOid:m?.modelOid||"",productNumber:x||"INSTANTINK2",productNumberOid:"",productSeriesOid:m?.seriesOid||"",subscriptionName:null,subscriptionType:null}}gdlProductUpdate(C){const x=new URL(window.location.href),m=this.pageConfig()?.routeParams||{},S=x.searchParams.get("sku"),f=this.createFallbackProductContext();this.globalDataService.updateGDL({Product:{bigSeriesName:"",bigSeriesOid:"",supportCategoryName:"",supportCategoryOid:"",seriesName:C?.productSeriesName||m?.seriesName||"",seriesOid:C?.productSeriesOID||m?.seriesOID||"",productLineCode:C?.productLine||"",supportNameName:C?.productName||"",supportNameO
1id:C?.productNameOID||m?.modelOID||"",platformId:"",webReleaseDate:"",serialNumber:C?.serialNumber||"",productModelNumber:C?.productNumber||C?.altProductNumber||S||f.productNumber||"",audienceType:C?.audience||"",MSAIbot:!1}})}storeProductContext(C){this.browserWrapperService.setSessionStorageItem("instantInkProductContext",JSON.stringify(C))}getStoredProductContext(){return this.browserWrapperService.getSessionStorageItem("instantInkProductContext")}clearProductContext(){this.browserWrapperService.removeSessionStorageItem("instantInkProductContext")}handleInstantInkFlow(C){return this.getAllDevicesInProfile().pipe((0,K.T)(x=>{const m=this.filterInstantInkSubscribedProducts(x,C);if(1===m.length){const S=this.createProductContext(m[0]);return this.storeProductContext(S),this.gdlProductUpdate(m[0]),{showModal:!1,products:m,singleProductStored:!0}}if(m.length>1)return{showModal:!0,products:m,singleProductStored:!1};{const S=this.createFallbackProductContext();return this.storeProductContext(S),this.gdlProductUpdate(),{showModal:!1,products:[],singleProductStored:!0}}}),(0,N.W)(()=>{const x=this.createFallbackProductContext();return this.storeProductContext(x),this.gdlProductUpdate(),(0,j.of)({showModal:!1,products:[],singleProductStored:!0})}))}selectProduct(C){const x=this.createProductContext(C);this.storeProductContext(x),this.gdlProductUpdate(C)}selectFallbackOption(){const C=this.createFallbackProductContext();this.storeProductContext(C),this.gdlProductUpdate()}getSscKeys(){return this.sscKeys()}static{this.\u0275fac=function(x){return new(x||F)(M.KVO(ae.b),M.KVO(ue.z),M.KVO(me.il),M.KVO(n.h),M.KVO(pe.a))}}static{this.\u0275prov=M.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},30826(xe,le,a){a.d(le,{n:()=>x});var M=a(86763),s=a(43942),u=a(84205),$=a(75797),j=a(61873),N=a(2435),p=a(70271),i=a(33900),K=a(63855),l=a(97965),h=a(93551),g=a(23477),W=a(4221),e=a(54041),ae=a(85240),ue=a(91018),me=a(47484),n=a(80436),pe=a(19885),te=a(9922),F=a(60480),B=a(4804),C=a(11439);let x=(()=>{class m{constructor(f,D,y,_,R,U,re,X){this.http=f,this.seoService=D,this.meta=y,this.pageService=_,this.SEOLinkService=R,this.commonService=U,this.globalDataService=re,this.store=X,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.searchResultBehaviourSubject=new $.t({}),this.error=new $.t({}),this.destroySubject$=new u.B}ngOnDestroy(){this.destroySubject$.next()}getPrinterLandingSSC(){return this.store.dispatch(new W.Ax({})),new s.c(f=>{this.store.select(e.FM).pipe((0,N.$)(D=>!(0,h.A)(D))).subscribe(D=>{let y;const _=this.commonService.isTorontoEnabled(D,"Landing"),R=this.commonService.isMastiffEnabled(D,"PRINTER_LANDING_NEW"),U=R&&D.MASTIFF_SPOS_ENDPOINT_URL||null,re=D.VA_CHAT_BOT_API_GLOBAL_ENABLED??null;_&&(y=this.pageConfig().isMobile?D.TORONTO_BOT_MOBILE_URL:D.TORONTO_BOT_WEB_URL),f.next({success:!0,isTorontoEnabled:_,chatUrl:y,botSwitchEnabled:re,isMastiffEnabled:R,mastiffUrl:U}),f.complete()})})}getPrimaryOptionsData(){const f=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_primaryoptions`;return this.http.get(f).pipe((0,p.T)(D=>{if(D&&D.data){if(1!==D.data.length||!D.data[0].errorCode)return D.data;if("204"===D.data[0].errorCode)return null}}))}getSSCAndPrimaryOptionsData(){const f=[this.getPrinterLandingSSC(),this.getPrimaryOptionsData()];return(0,j.p)(f)}getHeroBannerData(){const f=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_banner`;return this.http.get(f).pipe((0,p.T)(D=>{if(D&&D.data){if(1!==D.data.length||!D.data[0].errorCode)return D.data[0];if("204"===D.data[0].errorCode)return null}}))}getTopicOptionsData(){const f=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_topicoptions`;return this.http.get(f).pipe((0,p.T)(D=>{if(D&&D.data){if(1!==D.data.length||!D.data[0].errorCode){const y=D.data;return y.forEach(_=>{_.moreSupportResources=(0,l.A)(_.moreSupportResources,function(R){return""!=R.linkText}),_.buttonText=_.buttonText.trim()}),y}if("204"===D.data[0].errorCode)return null}}))}getSerchResultData(){return this.searchResultBehaviourSubject.asObservable()}getErrorData(){return this.error.asObservable()}updateGdl(){this.globalDataService.updateGDL({SPOSOffers:{errorCode:""}})}getSeoLinkData(){const f={template:this.pageConfig().templateName,path:this.commonService.getPathFromRoute(),seriesoid:0,modeloid:0};this.SEOLinkService.getSeoLinkData(f)}updateMetaInfo(f){this.seoService.setTitle(f["#pps_WCC_FS_Support_Printer_Landing_Page_Title"]),this.meta.updateTag({name:"description",content:f["#pps_WCC_FS_Support_Printer_Landing_Page_Meta_Description"]}),this.meta.updateTag({name:"keywords",content:f["#pps_WCC_FS_Support_Printer_Landing_Page_Meta_Keywords"]})}getSliderData(){return new s.c(f=>{const D=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_land_print_carousel`,y={loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1}};let _,R=new K.Lr;R=R.append("skipLoadingScreen","false"),this.http.get(D,{headers:R}).pipe((0,i.Q)(this.destroySubject$)).subscribe(U=>{U&&U.data&&(1===U.data.length&&U.data[0].errorCode?"204"===U.data[0].errorCode&&(_=null,f.next({success:!0,sliderData:_,sliderConfig:y})):(_=U.data,_=(0,g.A)(_,[function(re){return re.order}]),f.next({success:!0,sliderData:_,sliderConfig:y})),f.complete())},U=>{f.next({success:!1}),f.complete()})})}
1static{this.\u0275fac=function(D){return new(D||m)(ae.KVO(ue.k),ae.KVO(me.F),ae.KVO(n.W8),ae.KVO(pe.b),ae.KVO(te.a),ae.KVO(F.h),ae.KVO(B.a),ae.KVO(C.il))}}static{this.\u0275prov=ae.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},38180(xe,le,a){a.d(le,{j:()=>pe});var M=a(86763),s=a(63855),u=a(93551),$=a(23477),j=a(43942),N=a(84205),p=a(75797),i=a(2435),K=a(70271),l=a(33900),h=a(4221),g=a(54041),W=a(85240),e=a(19885),ae=a(60480),ue=a(11439),me=a(91018),n=a(24938);let pe=(()=>{class te{constructor(B,C,x,m,S){this.pageService=B,this.commonService=C,this.store=x,this.http=m,this.router=S,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new N.B,this.productTypeSelected$=new p.t(""),this.productTypes={printers:"printer",laptops:"laptop",desktops:"desktop",poly:"headset",products:"other"}}ngOnDestroy(){this.destroySubject$.next()}getSwdLandingSSC(){return this.store.dispatch(new h.Ax({pageName:"swd"})),new j.c(B=>{this.store.select(g.FM).pipe((0,i.$)(C=>!(0,u.A)(C))).subscribe(C=>{let x;const m=this.commonService.isTorontoEnabled(C,"SWD"),S=C.VA_CHAT_BOT_API_GLOBAL_ENABLED??null;m&&(x=this.pageConfig().isMobile?C.TORONTO_BOT_MOBILE_URL:C.TORONTO_BOT_WEB_URL),B.next({success:!0,chatUrl:x,botSwitchEnabled:S,isTorontoEnabled:m})})})}getProductTypes(){const B=`/wcc-services/cms-v2/${this.pageConfig().locale}/wcc_swd_landing_page`;return this.http.get(B).pipe((0,K.T)(C=>C?.data))}getProductTypeIcons(){const B=`/wcc-services/cms-v2/${this.pageConfig().locale}/wcc_swd_pfinder_icons`;return this.http.get(B).pipe((0,K.T)(C=>C?.data))}getSliderData(){return new j.c(B=>{const C=`/wcc-services/cms-v2/${this.pageConfig().cc}-${this.pageConfig().lc}/wcc_swd_product_banner`,x={loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1}};let m,S=new s.Lr;S=S.append("skipLoadingScreen","false"),this.http.get(C,{headers:S}).pipe((0,l.Q)(this.destroySubject$)).subscribe(f=>{f&&f?.data&&(1===f.data.length&&f.data[0].errorCode?"204"===f.data[0].errorCode&&(m=null,B.next({success:!0,sliderData:m,sliderConfig:x})):(m=f.data,m=(0,$.A)(m,[function(D){return D.order}]),B.next({success:!0,sliderData:m,sliderConfig:x})),B.complete())},f=>{B.next({success:!1}),B.complete()})})}setProductTypeSelected(B){this.productTypeSelected$.next(this.productTypes[B])}getProductTypeSelected(){return this.productTypeSelected$.asObservable()}getProductType(B){return this.productTypes[B]??B}getAllProductTypes(){return Object.keys(this.productTypes)}gotoSwdDriversPage(B,C){this.store.select(g.FM).pipe((0,i.$)(x=>!(0,u.A)(x))).subscribe(x=>{if(!(0,u.A)(x)){this.clearSniffingDataFromSession(B);let m=B.seoFriendlyName;const f={sku:B?.altProductNumber?.split("#")?.shift()||B?.productNumber?.split("#")?.shift(),serialnumber:B.serialNumber},D={deviceId:C,deviceData:B};this.router.navigate(B.productNameOID?[`/${this.pageConfig().locale}/drivers/${m}/model/${B.productNameOID}`]:[`/${this.pageConfig().locale}/drivers/${m}/${B.productSeriesOID}`],{queryParams:f,state:D})}})}clearSniffingDataFromSession(B){if(typeof sessionStorage<"u")try{let C=JSON.parse(sessionStorage.getItem("swdOsSniffedDataList"))||[];!(0,u.A)(C)&&C?.length&&(C=C?.filter((x,m)=>!(x?.productOid===B?.productNameOID||x?.productOid===B?.productSeriesOID)),sessionStorage?.setItem("swdOsSniffedDataList",JSON.stringify(C)))}catch{}}getPrinterList(){const B=`/wcc-services/swd-v2/popularPrinters/${this.pageConfig().locale}`;return this.http.get(B).pipe((0,K.T)(C=>C?.data))}static{this.\u0275fac=function(C){return new(C||te)(W.KVO(e.b),W.KVO(ae.h),W.KVO(ue.il),W.KVO(me.k),W.KVO(n.Ix))}}static{this.\u0275prov=W.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},56012(xe,le,a){a.d(le,{k:()=>C});var M=a(86763),s=a(33900),u=a(84205),$=a(75797),j=a(43942),N=a(18329);let p=[{type:"acceptedStatus",code:200,status:"OK",message:"Success"},{type:"noSearchResults",status:"NO_CONTENT",code:204,message:"No results",data:{searchResults:null}},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"Device Not Found"},{type:"productNumberInvalid",code:204,message:"Device not found, PN not matching with SN",status:"NO_CONTENT"},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"No Content"},{type:"noDeviceFound",code:406,status:"NOT_ACCEPTABLE",message:"Search Query Invalid Character"},{type:"noDeviceFound",code:406,data:null,message:"Invalid search request",status:"NOT_ACCEPTABLE"},{type:"productNumberInvalid",code:406,data:null,message:"The Product Number is invali
1d. Please verify and try again",status:"NOT_ACCEPTABLE"},{type:"noDeviceFound",code:406,data:null,message:"Bad data in payload",status:"NOT_ACCEPTABLE"},{type:"needProductNumber",code:406,status:"NOT_ACCEPTABLE",message:"Multiple products, need PN"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Kaas service Error"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Error while generating access token"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Verify Device Error"},{type:"internalServerError",code:500,status:"INTERNAL_SERVER_ERROR",message:"Action not complete : com.hp.wcc.services.search.exception.SearchServiceException: KaaS Service Error"},{type:"internalServerError",code:400,status:"",message:""},{type:"noDeviceFound",code:204,status:"NO_CONTENT",message:"Something happened..."}];var i=a(85237),K=a(93551),l=a(85139),h=a(63855),g=a(85240),W=a(19885),e=a(24938),ae=a(91018),ue=a(30826),me=a(20572),n=a(9303),pe=a(60480),te=a(60809),F=a(4804),B=a(72608);let C=(()=>{class x{constructor(S,f,D,y,_,R,U,re,X,Q){this.pageService=S,this.router=f,this.http=D,this.printerLandingService=y,this.modalService=_,this.windowRef=R,this.commonService=U,this.loadingScreenService=re,this.globalDataLayerService=X,this.searchResultsService=Q,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.serviceUnavailable=new $.t({}),this.destroySubject$=new u.B,this.productNumberRequied=new $.t({id:"",value:!1}),this.invalidSearchQuery=new $.t({id:"",value:!1}),this.notValidProductNumber=new $.t({id:"",value:!1}),this.invalidSerialQuery=new $.t({id:"",value:!1}),this.clearProductModel=new $.t(!1),this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next(!0)}getServiceUnavialableData(){return this.serviceUnavailable.asObservable()}isProductNumberRequred(){return this.productNumberRequied.asObservable()}isInvalidSearchQuery(){return this.invalidSearchQuery.asObservable()}getInvalidProductMessage(){return this.notValidProductNumber.asObservable()}isInvalidSeaialNumber(){return this.invalidSerialQuery.asObservable()}resetProductModel(){return this.clearProductModel.asObservable()}getDeviceSearchResult(S,f,D,y,_=null){const R=this.commonService.getSanitizedData(S),U=_?this.commonService.getSanitizedData(_):null;return new j.c(re=>{this.searchResultsService.checkSnPnConflict(R,y,U,!1).then(J=>{if(!(0,K.A)(J)&&J&&J.code){const oe={PfinderQueryNew:S||"",PfinderQuery:S||""};if(200===J.code||204===J.code){const _e=J.data,L=(J=>200===J?.kaaSResponse?.code&&J?.kaaSResponse?.data?.searchResults?.categories?.length||200===J?.verifyResponse?.code&&J?.verifyResponse?.data)(_e);L||(_e&&_e?.kaaSResponse?.data?.hasPromotion?(oe.PfinderQueryNew=`promotions | ${S}`,oe.PfinderQuery=`promotions | ${S}`):(oe.PfinderQueryNew=`noresults | ${S}`,oe.PfinderQuery=`noresults | ${S}`)),_&&(L?(oe.PfinderQueryNew=`${S} + ${_}`,oe.PfinderQuery=`${S} + ${_}`):(oe.PfinderQueryNew=`noresults | ${S} + ${_}`,oe.PfinderQuery=`noresults | ${S} + ${_}`)),406===_e?.verifyResponse?.code&&"Multiple products, need PN"==_e?.verifyResponse?.message&&(oe.PfinderQueryNew=`noresults | multi | ${S}`,oe.PfinderQuery=`noresults | multi | ${S}`),this.globalDataLayerService.updateGDL(oe,!0)}(J=>{const oe=(0,i.A)(J);re.next(oe),re.complete()})(J)}},J=>{this.searchCaseSwitch("internalServerError")})})}searchCaseSwitch(S,f=null,D=null,y=null,_=null,R=null,U=""){return{acceptedStatus:()=>{this.getRule(R,D,y,_,f,U)},noSearchResults:()=>{this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:U,value:!0}),this.productNumberRequied.next({id:U,value:!1}),this.clearProductModel.next(!0)},needProductNumber:()=>{this.loadingScreenService.stopLoading(),this.productNumberRequied.next({id:U,value:!0})},noDeviceFound:()=>{this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:U,value:!0}),this.productNumberRequied.next({id:U,value:!1}),this.clearProductModel.next(!0)},productNumberInvalid:()=>{this.loadingScreenService.stopLoading(),this.notValidProductNumber.next({id:U,value:!0}),this.productNumberRequied.next({id:U,value:!1})},internalServerError:()=>{this.loadingScreenService.stopLoading(),this.modalService.open(N.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})}}[S]()}setRedirectionRule(S,f,D,y,_,R=""){this.getDeviceSearchResult(S,f,D,y,_).pipe((0,s.Q)(this.destroySubject$)).subscribe(U=>{!(0,K.A)(U)&&U.code&&(0,l.A)(p,re=>
1{(re.code===U?.data?.kaaSResponse?.code||re.code===U?.data?.verifyResponse?.code)&&(re.message.toLowerCase()===U?.data?.kaaSResponse?.message?.toLowerCase()||re.message.toLowerCase()===U?.data?.verifyResponse?.message?.toLowerCase())&&this.searchCaseSwitch(re.type,y,S,f,D,U,R)})})}getRule(S,f,D,y,_,R=""){const U=S?.data?.kaaSResponse,re=S?.data?.verifyResponse;if(U?.data?.searchResults?.categories?.length&&!S?.result?.verifySelected){const X=U?.data?.searchResults?.categories;if(1===X.length){if(X[0].subCategoryList&&0!==X[0].subCategoryList.length){const Q=X[0].subCategoryList;if(Q.length>1)this.navigateToDeviceSearch(S,f,D,y,_);else if(1===Q.length){const q=Q[0].productList;q&&q.length>1?this.navigateToDeviceSearch(S,f,D,y,_):q&&1===q.length&&(q[0].historicalWebSupportFlag?(this.commonService.openRetiredProductModal(),this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:R,value:!1}),this.productNumberRequied.next({id:R,value:!1}),this.clearProductModel.next(!0)):this.searchResultRedirection(_,Q?.[0]?.productList?.[0]?.targetUrl,D,y))}}}else this.navigateToDeviceSearch(S,f,D,y,_)}else 200===re?.code&&re?.data&&(re?.data?.historicalWebSupportFlag?(typeof sessionStorage<"u"&&sessionStorage?.setItem("historicalProductData",JSON.stringify(re?.data)),this.commonService.openRetiredProductModal(),this.loadingScreenService.stopLoading(),this.invalidSearchQuery.next({id:R,value:!1}),this.productNumberRequied.next({id:R,value:!1}),this.clearProductModel.next(!0)):this.searchResultRedirection(_,re?.data?.targetUrl,D,y))}searchResultRedirection(S,f,D,y){return"printerSetup"===S?(()=>{const R=this.commonService.sanitizeUntrustedData(`/${D}-${y}${f}`,!0);this.router.navigateByUrl(R)})():(()=>{this.window.location.href=this.commonService.sanitizeUntrustedData(`/${D}-${y}${f}`,!0)})()}populateCategoriesData(S){let f=0;return S.forEach(D=>{D.isExpanded=1===S.length,D.totalProducts=0,D.subCategoryList.forEach(y=>{D.totalProducts+=y.productList.length}),f+=D.totalProducts}),{categories:S,totalProducts:f}}navigateToDeviceSearch(S,f,D,y,_){this.printerLandingService.searchResultBehaviourSubject.next(S?.data),this.router.navigate([`${D}-${y}/deviceSearch`],{queryParams:{q:f,origin:_}})}returnDeviceSearchApiData(S,f){return new j.c(D=>{const y=R=>{D.next(R),D.complete()};this.printerLandingService.getSerchResultData().pipe((0,s.Q)(this.destroySubject$)).subscribe(R=>{0!==Object.keys(R).length?(this.serviceUnavailable.next({status:!1}),y(R)):this.getDeviceSearchResult(S,this.pageConfig().cc,this.pageConfig().lc,f).pipe((0,s.Q)(this.destroySubject$)).subscribe(U=>{(0,K.A)(U)||200!==U.code?this.serviceUnavailable.next({status:!0}):(this.serviceUnavailable.next({status:!1}),y(U.data))})})})}getDeviceSearchResultForContact(S,f,D,y,_=null,R=!1){const U=this.commonService.getSanitizedData(S),re=_?this.commonService.getSanitizedData(_):null;return new j.c(X=>{(()=>{this.loadingScreenService.startLoading();let J=new h.Lr;J=J.append("skipLoadingScreen","true");let oe=_?`/wcc-services/search/sn/${f}-${D}?serialNumber=${encodeURIComponent(U)}&context=${y}&productNumber=${encodeURIComponent(re||"")}`:`/wcc-services/search/sn/${f}-${D}?serialNumber=${encodeURIComponent(U)}&context=${y}`;this.http.get(oe,{headers:R?null:J}).pipe((0,s.Q)(this.destroySubject$)).subscribe(_e=>{_e&&_e.code&&q(_e)})})();const q=J=>{X.next(J),X.complete()}})}static{this.\u0275fac=function(f){return new(f||x)(g.KVO(W.b),g.KVO(e.Ix),g.KVO
1(ae.k),g.KVO(ue.n),g.KVO(me.Bq),g.KVO(n.$),g.KVO(pe.h),g.KVO(te.s),g.KVO(F.a),g.KVO(B.Q))}}static{this.\u0275prov=g.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})()},8679(xe,le,a){a.d(le,{N:()=>te});var M=a(86763),s=a(43942),u=a(84205),$=a(75797),j=a(61873),N=a(85237),p=a(97965),i=a(93551),K=a(65644),l=a(39422),h=a(61585),g=a(64334),W=a(33900),e=a(85240),ae=a(19885),ue=a(60480),me=a(4804),n=a(60809),pe=a(72926);let te=(()=>{class F{constructor(C,x,m,S,f){this.pageService=C,this.commonService=x,this.globalDataService=m,this.loaderService=S,this.authService=f,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.devicesLimit=20,this.deviceSub=new $.t({}),this.$deviceSub=this.deviceSub.asObservable(),this.destroySubject$=new u.B}ngOnDestroy(){this.destroySubject$.next()}getDeviceData(C,x){const m=x||this.devicesLimit;return new s.c(S=>{this.commonService.getDevicesData({params:{startIndex:C,limit:m}}).pipe((0,W.Q)(this.destroySubject$)).subscribe(f=>{f?.dataLoded?(S.next(f),S.complete()):f?.error&&(S.error(f),S.complete())})})}getAllDevices(){return new s.c(C=>{this.getDeviceData(0).pipe((0,g.s)(1)).subscribe(x=>{let m=(0,N.A)(x),S=(0,l.A)(m,"code","data");const f=m.data.deviceCount;if(m&&403!==m.code&&m.data&&f>this.devicesLimit){const D=Math.ceil(f/this.devicesLimit);let y=m.data.deviceList;this.loaderService.loadingText=this.loadingText;const _=[];for(let R=1;R<D;R++){const re=this.getDeviceData(R*this.devicesLimit,this.devicesLimit).pipe((0,W.Q)(this.destroySubject$));_.push(re)}(0,j.p)(_).subscribe(R=>{R.forEach(U=>{U?.dataLoded&&U?.data?.deviceList&&y.push(...U.data.deviceList)}),S.data.deviceList=y,this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(y)}),this.deviceSub.next(S),C.next(S),C.complete()},R=>{C.error(R)})}else this.globalDataService.updateGDL({Dashboard:this.populateGDLForDashboard(S?.data?.deviceList||[])}),this.deviceSub.next(S),C.next(S),C.complete()},x=>{C.error(x)})})}setLoadingText(C){this.loadingText=C}populateGDLForDashboard(C){let x={SubscriptionServices:""};this.authService.userDataSub.pipe((0,W.Q)(this.destroySubject$)).subscribe(f=>{f&&!(0,i.A)(f)&&!0===f.smartFriend&&(x.SubscriptionServices="SmartFriend")}),x.NoOfDevices=C?.length,x.Products=(0,K.A)(C,f=>(0,l.A)(f,"productLine","productNumber","productName","productNameOID","subscriptionServices","deviceId","productSeriesName","productSeriesOID","serialNumber","productType"));let m=(0,p.A)(C,f=>!!f.subscriptionServices),S=(0,K.A)(m,f=>f.subscriptionServices);return S=(0,h.A)(S.join().split(",")),x.SubscriptionServices=x.SubscriptionServices.length?`${S.join()},${x.SubscriptionServices}`:S.join(),x}static{this.\u0275fac=function(x){return new(x||F)(e.KVO(ae.b),e.KVO(ue.h),e.KVO(me.a),e.KVO(n.s),e.KVO(pe.u))}}static{this.\u0275prov=e.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},38225(xe,le,a){a.d(le,{S:()=>te});var M=a(86763),s=a(70271),u=a(33900),$=a(43942),j=a(84205),N=a(75797),p=a(93551),i=a(70739),K=a(71183),l=a(18329),h=a(54041),g=a(85240),W=a(9303),e=a(20572),ae=a(91018),ue=a(11439),me=a(24938),n=a(19885),pe=a(4804);let te=(()=>{class F{constructor(C,x,m,S,f,D,y){this.windowRef=C,this.modalService=x,this.http=m,this.store=S,this.router=f,this.pageService=D,this.globalDataLayerService=y,this.waitingModalClose$=new j.B,this.protocolAttempt$=new j.B,this.userCancelled$=new j.B,this.detectionProgress$=new N.t(0),this.destroySubject$=new j.B,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.isDmdr=!1,this.prevTemplateName="",this.displayProgressBar=!1,this.window=this.windowRef.nativeWindow}ngOnDestroy(){this.destroySubject$.next()}onDetectionProgressUpdate(){return this.detectionProgress$.asObservable()}onProtocolUpdate(){return this.protocolAttempt$.asObservable()}showProgress(){return this.displayProgressBar}onModalClose(){this.waitingModalClose$.next(!0)}getModalClose(){return this.waitingModalClose$.asObservable()}checkIfDMDr(){return this.isDmdr}setPrevTemplateName(C){this.prevTemplateName=C}getPrevTemplateName(){return this.prevTemplateName}getDownloadSSFUrlFromSSC(){return new $.c(C=>{this.store.select(h.FM).pipe((0,u.Q)(this.destroySubject$)).subscribe(x=>{C.next({success:!0,downloadSSFUrl:x?.SSF_DOWNLOAD_URL??null,SSFWpdJs:x?.SSF_WPD_JS_END_POINT??null,SSFCommonJs:x?.SSF_COMMON_JS_END_POINT??null})})})}onUserCancelled(){return this.userCancelled$.asObservable()}onDetectBtnClick(C,x,m){this.globalDataLayerService.updateGDL({Flag:{WPDUsed:!0}},!0),this.isDmdr="dmdr"===m;const S={backdrop:"static",keyboard:!1,windowClass:"wpd-waiting-modal"};if(typeof this.window<"u"){this.window.wpdSessionId=null,this.window.GetSessionId=()=>this.window.wpdSessionId;let f=[C||i.D5.SSFCommonJs,x||i.D5.SSFWpdJs];document?.getElementById("ssf-common-js")&&f.shift(),this.loadScript(f).then(()=>
1{this.modalService.open(K.F,S),this.attachPageEvents(),this.getSession().subscribe(y=>{this.window.wpdSessionId=y;const _=this.isDmdr?"dmdrButton":"hpDetectButton";document.getElementById(_)?.click()},y=>{this.modalService.open(l.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})})}).catch(y=>{this.modalService.open(l.L,{windowClass:"error-modal-container",ariaLabelledBy:"modal-heading",size:"lg"})})}}getSession(){return this.http.get("/wcc-services/methone/session").pipe((0,s.T)(x=>x?.data))}attachPageEvents(){if((0,p.A)(this.window?.SSF?.HPWPD))return;const C=i.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source,x={};C&&(x.source=C),this.window.SSF.HPWPD.PageEvents.OnAttemptProdDetect=(m,S)=>{this.protocolAttempt$.next(m)},this.window.SSF.HPWPD.PageEvents.OnUserCancelled=()=>{this.userCancelled$.next(!0)},this.window.SSF.HPWPD.PageEvents.OnUserAcknowledged=()=>{this.modalService.dismissAll(),this.detectionProgress$.next(0),this.displayProgressBar=!0,this.isDmdr||this.router.navigate([`${this.pageConfig().locale}/product/detect`],{queryParams:x})},this.window.SSF.HPWPD.PageEvents.OnPartialDataReceived=m=>{this.detectionProgress$.next(50)},this.window.SSF.HPWPD.PageEvents.OnProductsDataReceived=m=>{this.detectionProgress$.next(75)},this.window.SSF.HPWPD.PageEvents.OnCompleteDataReceived=m=>{this.detectedData=this.isDmdr?m:m?.filter(S=>S.Active);try{sessionStorage?.setItem("detectedData",JSON.stringify(this.detectedData))}catch{}this.detectionProgress$.next(100),!this.isDmdr&&typeof this.detectedData<"u"&&this.detectedData?.length&&(this.globalDataLayerService.updateGDL({Flag:{WPDidentified:!0}},!0),this.router.navigate([`${this.pageConfig().locale}/product/detect/results`],{queryParams:x}))}}getDetectedData(){try{(0,p.A)(this.detectedData)&&typeof sessionStorage<"u"&&(this.detectedData=JSON.parse(sessionStorage.getItem("detectedData")))}catch{}return this.detectedData}navigateToDetectPage(){const C=i.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source,x={};C&&(x.source=C),this.router.navigate([`${this.pageConfig().locale}/product/detect`],{queryParams:x})}backToManualSelectionPage(){const C=i.OE[this.pageConfig().pageName]||this.pageConfig()?.queryParams?.source;this.router.navigate("swd"===C?[`${this.pageConfig().locale}/drivers`]:"add-device"===C?[`${this.pageConfig().locale}/add-device`]:"contact"===C?[`${this.pageConfig().locale}/contact`]:[`${this.pageConfig().locale}/products`])}loadScript(C){return Promise.all(C.map(x=>new Promise((m,S)=>{if(!x||typeof document>"u")return void S(new Error("Unable to load script"));const f=document?.createElement("script");f.src=x,f.defer=!0,f.onload=()=>m(),f.onerror=()=>S(new Error(`Failed to load script: ${x}`)),document?.body?.appendChild(f)})))}static{this.\u0275fac=function(x){return new(x||F)(g.KVO(W.$),g.KVO(e.Bq),g.KVO(ae.k),g.KVO(ue.il),g.KVO(me.Ix),g.KVO(n.b),g.KVO(pe.a))}}static{this.\u0275prov=g.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}}return F})()},92609(xe,le,a){a.d(le,{N:()=>j});var M=a(89204),s=a(85240),u=a(86763),$=a(19885);let j=(()=>{class N{constructor(i,K){this.pageService=i,this.document=K,this.pageConfig=(0,u.EW)(()=>this.pageService.configSignal())}loadGoogleCaptchaScript(i,K,l){if(void 0!==typeof this.document){const h=this.document.getElementById("reCaptchaScript");
1if(h)return h;const g="cn"!==this.pageConfig().cc?`${K}?render=${i}&hl=${this.pageConfig().lc}`:`${l}?render=${i}&hl=${this.pageConfig().lc}`,W=document.createElement("script");return W.type="text/javascript",W.src=g,W.async=!0,W.id="reCaptchaScript",document.head.appendChild(W),W}}getcaptchaToken(i){var K=this;return new Promise((l,h)=>{let g=!1;try{this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.registerTokenFetchTimeout(),this.tokenFetchInterval=setInterval((0,M.A)(function*(){if(window?.grecaptcha?.enterprise?.execute){const W=yield window.grecaptcha?.enterprise?.execute(i,{action:"submit"});W&&!g&&(g=!0,K.clearTokenInterval(),l(W))}}),1e3)}catch{h(""),this.clearTokenInterval()}})}clearTokenInterval(){this.tokenFetchInterval&&clearInterval(this.tokenFetchInterval)}registerTokenFetchTimeout(){this.timer=setTimeout(()=>{this.clearTokenInterval()},6e4)}showCaptchaBadge(i){if(typeof window<"u"&&typeof document<"u"){const K=this.document.getElementsByClassName("grecaptcha-badge")[0];K?(this.captchaBadgeTimer&&clearInterval(this.captchaBadgeTimer),i.setStyle(K,"visibility","visible")):this.captchaBadgeTimer=setInterval(()=>{this.showCaptchaBadge(i)},1e3)}}hideGoogleCaptcha(i){const K=this.document.getElementsByClassName("grecaptcha-badge")[0];K&&i.setStyle(K,"visibility","hidden")}ngOnDestroy(){this.clearTokenInterval()}static{this.\u0275fac=function(K){return new(K||N)(s.KVO($.b),s.KVO(s.qQL))}}static{this.\u0275prov=s.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},52735(xe,le,a){a.d(le,{L:()=>g});var M=a(86763),s=a(93551),u=a(84205),$=a(77919),j=a(61318),N=a(70271),p=a(85240),i=a(19885),K=a(91018),l=a(9303),h=a(60480);let g=(()=>{class W{constructor(ae,ue,me,n){this.pageService=ae,this.httpService=ue,this.windowRef=me,this.commonService=n,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new u.B,this.window=this.windowRef.nativeWindow}getTranslatedDocIds(ae){const ue={cc:"us",lc:"en",targetCC:this.pageConfig().cc,targetLC:this.pageConfig().lc,docIDs:[ae]};return this.httpService.post("/wcc-services/kaas/translateDocuments",ue,!0).pipe((0,N.T)(me=>me?.code&&me?.data?.documentIDMap&&!(0,s.A)(me.data.documentIDMap)&&"object"==typeof me.data.documentIDMap?me.data.documentIDMap:"")).pipe((0,j.W)(me=>(0,$.$)(me)))}redirectToDocPage(ae){const ue=ae&&ae?.supportLink&&ae?.supportLink.includes("docID")?ae?.supportLink.split("=")[1]:null;this.getTranslatedDocIds(ue).subscribe(me=>{for(const[n,pe]of Object.entries(me))if(pe&&typeof this.window<"u"){let te=this.commonService.getSanitizedUrl(`/${this.pageConfig().locale}/document/${pe}`);this.window.open(te,"_blank")}})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(ue){return new(ue||W)(p.KVO(i.b),p.KVO(K.k),p.KVO(l.$),p.KVO(h.h))}}static{this.\u0275prov=p.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})()},72433(xe,le,a){a.d(le,{r:()=>f});var M=a(86763),s=a(85240),u=a(63855),$=a(2435),j=a(36647),N=a(70271),p=a(98764),i=a(59452),K=a(43942),l=a(54041),h=a(93551),g=a(20664),W=a(93238),e=a(11439);const ue=(0,e.Mz)(D=>D.videosDetailState,D=>D);(0,e.Mz)(D=>Object.keys(D.videosDetailState),D=>D),(0,e.Mz)(D=>D.videosDetailState.loading,D=>D),(0,e.Mz)(D=>D.videosDetailState.error,D=>null!==D),(0,e.Mz)(D=>D.videosDetailState.error,D=>D),(0,e.Mz)(D=>D.videosDetailState.loading,D=>D);var C=a(85237),x=a(19885),m=a(91018),S=a(4804);let f=(()=>{class D{constructor(_,R,U,re,X){this.pageService=_,this.http=R,this.store=U,this.globalDataService=re,this.document=X,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.getBrightcoveConfig().pipe((0,$.$)(Q=>!(0,h.A)(Q))).subscribe(Q=>{setTimeout(()=>{this.loadScripForBrightCove()},100)})}getVideoDetails(_,R=!1){return this.store.select(ue).pipe((0,$.$)(),(0,j.n)(U=>{const re=Array.isArray(_)?_:_?.split(",");return this.isDataPresent(re,U?.videosDetail)?(0,i.of)(U?.videosDetail):this.getCollectionIDsInfo(re,R)}))}isDataPresent(_,R){return _.every(U=>R?.[U])}getCollectionIDsInfo(_,R){_=Array.from(new Set(_));let U=new u.Lr;U=U.append("skipLoadingScreen","true");const re=R?"us":this.pageConfig()?.cc,X=R?"en":this.pageConfig()?.lc;return this.http.get(`/wcc-services/content/videoDetails/${re}-${X}?videoIds=${_.join(",")}&udpFlag=true`,{headers:U}).pipe((0,N.T)(Q=>Q.data),(0,p.M)(Q=>{Q=Q&&Object.keys(Q).reduce((q,J)=>(q[J]=Q?.[J],q[J].thumbnail=this.getThumbnails(q[J]?.thumbnail,q[J]?.streamingId),q[J].streamingService={name:q[J].streamingService,videourl:q[J].videourl,videoid:q[J].videoId},q[J].brightCoveMetaUrl=this.getMetaUrlForBrightcove(Q?.[J].streamingId),q[J].youTubeEmbebedURL=`https://www.youtube-nocookie.com/embed/${Q?.[J].streamingId}`,q[J].isBrightcoveVideo=(0,g.Ri)(q[J]),q),{}),this.store.dispatch(new W.lW(Q))}))}getThumbnails(_,R){const U=(0,C.A)(g.Ur);_?.forEach(re=>{const[X,Q,q,J]=re?.split("|");let oe="";
1const _e=X.match(/\/(poster|thumbnail)-[^\/]+\.jpeg/);oe=_e?_e[1]:X.substring(X.lastIndexOf("/")+1,X.lastIndexOf(".")),U[oe]=X});for(let re in U)U[re]||(U[re]=_?.[0]?.split("|")?.[0]||`https://img.youtube.com/vi/${R}/mqdefault.jpg`);return U}formatVideos(_){return _?.map(R=>(R.thumbnail=this.getThumbnails(R?.thumbnail,R?.streamingService?.videoid),R)).filter(R=>R?.streamingService?.name)}getBrightcoveConfig(){return new K.c(_=>{this.store.select(l.FM).pipe((0,$.$)(R=>!(0,h.A)(R))).subscribe(R=>{this.brightcoveAccountId=R?.BRIGHTCOVE_ACCOUNT_ID||"",this.brightcovePlayerID=R?.BRIGHTCOVE_PLAYER_ID||"",this.brightcovePK=R?.BRIGHTCOVE_POLICY_KEY||"",this.brightcoveMetaUrl=R?.BRIGHTCOVE_PLAYER_URL||"",this.videoAutoScroll=R?.VIDEO_AUTO_SCROLL_ENABLE||"",this.botSwitchEnabled=R?.VA_CHAT_BOT_API_GLOBAL_ENABLED||null,_.next({brightcoveAccountId:this.brightcoveAccountId,brightcovePlayerID:this.brightcovePlayerID,brightcovePK:this.brightcovePK,brightcoveMetaUrl:this.brightcoveMetaUrl,videoAutoScroll:this.videoAutoScroll,botSwitchEnabled:this.botSwitchEnabled}),_.complete()})})}getMetaUrlForBrightcove(_){const R={"{accountId}":this.brightcoveAccountId,"{videoId}":_};return this.brightcoveMetaUrl?.replace(/{accountId}|{videoId}/gi,function(re){return R[re]})}loadScripForBrightCove(){const _=this.document.getElementById("brightcoveScript");_&&_.remove();const R=this.document.createElement("script");return R.type="text/javascript",R.src="https://players.brightcove.net/"+this.brightcoveAccountId+"/"+this.brightcovePlayerID+"_default/index.min.js",R.id="brightcoveScript",this.document.head.appendChild(R),R}updateGDLForVideo(_){this.globalDataService.updateGDL({videosession:`TRUE-${_}`},!0)}static{this.\u0275fac=function(R){return new(R||D)(s.KVO(x.b),s.KVO(m.k),s.KVO(e.il),s.KVO(S.a),s.KVO(s.qQL))}}static{this.\u0275prov=s.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})()},89638(xe,le,a){a.d(le,{W:()=>B});var M=a(86763),s=a(63855),u=a(59452),$=a(2435),j=a(70271),N=a(84205),p=a(97965),i=a(85139),K=a(78767),l=a(93551),h=a(75507),g=a(54041),W=a(85240),e=a(12481),ae=a(19885),ue=a(60480),me=a(91018),n=a(60809),pe=a(11439),te=a(4804);let B=(()=>{class C{constructor(m,S,f,D,y,_,R){this.pageService=m,this.commonService=S,this.elem=f,this.http=D,this.loadingScreenService=y,this.store=_,this.globalDataLayerService=R,this.pageConfig=(0,M.EW)(()=>this.pageService.configSignal()),this.destroySubject$=new N.B,this.redirectToSearchResult=(U,re,X=null,Q=null,q=null,J=null,oe=null,_e=null,L=!1,de=null)=>{let E=U.searchQuery;q=U.productVal?U.productVal:q;let V,z=U.pName?U.pName:"";z=encodeURIComponent(z);let Ce="";return"comingFromknowledge"===re?(V=L?`${de.domain}/${de.cc}-${de.lc}/search`:"/"+this.customCC+"-"+this.customLC+"/search",Ce="pdp"):V="/"+this.customCC+"-"+this.customLC+"/search","comingFromPFinder"===re?(V="/"+this.customCC+"-"+this.customLC+"/products/identify",Ce="pdp"):V=L?`${de.domain}/${de.cc}-${de.lc}/search`:"/"+this.customCC+"-"+this.customLC+"/search",""===E&&(E=this.getParameterByName("q")),null!==X&&typeof X<"u"&&""!==X&&(E=E+"+"+X.trim()),E=encodeURIComponent(E),V=V+"?q="+E,null!==q&&typeof q<"u"&&""!==q&&(V=V+"&product="+encodeURIComponent(q),V+="&predict=true"),null!==z&&typeof z<"u"&&""!==z&&(V=V+"&pname="+encodeURIComponent(z)),null!==J&&typeof J<"u"&&""!==J&&(V=V+"&selectedProduct="+encodeURIComponent(J)),null!==Q&&typeof Q<"u"&&""!==Q&&(V=V+"&os="+encodeURIComponent(Q)),null!==oe&&typeof oe<"u"&&""!==oe&&(V=V+"&class="+encodeURIComponent(oe)),null!==_e&&typeof _e<"u"&&""!==_e&&_e&&(V+="&overlay=true"),V},this.getCommonLocalFromSSC(this.pageConfig()),this.commonService.hpDotComCcLcMappingSub.pipe((0,$.$)(U=>!(0,l.A)(U))).subscribe(U=>{if(U){const re=U[`${this.pageConfig().cc}/${this.pageConfig().lc}`];re?(this.dotComCC=re.split("/")[0],this.dotComLC=re.split("/")[1]):(this.dotComCC=this.customCC,this.dotComLC=this.customLC)}}),this.getrelevanceDifferenceSSC()}getrelevanceDifferenceSSC(){return this.store.select(g.FM).pipe((0,$.$)(m=>!(0,l.A)(m))).subscribe(m=>{this.relevanceDifference=m&&m.KAAS_PRODUCT_RELEVANCE_DIFFERENCE?m.KAAS_PRODUCT_RELEVANCE_DIFFERENCE:10}),this.relevanceDifference}getKassUrl(m,S=!1,f,D){const y=S?f:this.pageConfig().cc,_=S?D:this.pageConfig().lc;this.store.select(g.FM).pipe((0,$.$)(R=>!(0,l.A)(R))).subscribe(R=>{this.kaashrefUrl="/typeahead";const U=R.KAAS_BIASVAL_VAL,re=R.FALCON_SEARCH_PRINTERSETUP_FILTER&&R.FALCON_SEARCH_PRINTERSETUP_FILTER?R.FALCON_SEARCH_PRINTERSETUP_FILTER:"";if("en"===_){if(R.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL){const X=this.customLC;let Q=R.FALCON_KAAS_TYPEAHEAD_ENGLISH_URL;Q=Q.replace("<text>",encodeURIComponent(m)),Q=Q.replace("<LANG>",X),Q=Q.replace("<BIASVAL>",U),Q=Q.replace("<PAGE_FILTER_1>",re),this.kaashrefUrl=this.kaashrefUrl+Q}}else if("zh"!==_||"hk"!==y&&"tw"!==y&&"cn"!==y){if("zh"!==_&&"en"!==_&&R.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL){const X=this.customLC;let Q=R.FALCON_KAAS_TYPEAHEAD_NON_ENGLISH_URL;Q=Q.replace("<text>",encodeURIComponent(m)),Q=Q.replace("<LANG>",X),Q=Q.replace("<BIASVAL>",U),Q=Q.replace("<PAGE_FILTER_1>",re),this.kaashrefUrl=this.kaashrefUrl+Q}}else if(R.FALCON_KAAS_TYPEAHEAD_CHINESE_URL){const X=this.customLC+this.customCC;let Q=R.FALCON_KAAS_TYPEAHEAD_CHINESE_URL;Q=Q.replace("<text>",encodeURIComponent(m)),Q=Q.replace("<LANG>",X),Q=Q.replace("<BIASVAL>",U),Q=Q.replace("<PAGE_FILTER_1>",re),this.kaashrefUrl=this.kaashrefUrl+Q}})}search(m,S=!1,f=null,D=null,y=null){let _=new s.Lr;this.getKassUrl(m,S,f,D);let R=this.kaashrefUrl;return S&&(R=`${y}${this.kaashrefUrl?.replace("<text>",m)}`),S||(_=_.append("skipLoadingScreen","true")),""===m||m.length<2?(0,u.of)([]):this.http.get(R,{headers:_}).pipe((0,j.T)(U=>{if(U){const re=U.matches[0].matchScore,Q=this.commonService.filterTypeaheadData(U.matches,re-re*this.relevanceDifference/100),q=[];return(0,i.A)(Q,function(J){(0,i.A)(Q,function(oe){const _e=oe.shortestNavigationPath.split("|").join();oe.productId!==J.productId&&(0,K.A)(_e,J.productId)&&q.push(oe.productId)})}),this.matchedResponse=(0,p.A)(Q,J=>!(0,K.A)(q,J.productId)),(0,h.A)(this.matchedResponse,6)}}))}clearPlaceHolder(m){m.target.placeholder=""}restorePlaceHolder(m,S){m.target.placeholder=m.target.value?"":S}clearSearchInput(m){const S=m.target,f=S.parentElement;S.classList.add("hide"),f.querySelector("input").focus()}optionSelector(m,S,f=null,D=!1,y=null){let _,R;m.item?(_=m?.item?.btoFlag?m?.item?.productname:m?.item?.name,R=m?.item?.productId):m&&(_=m?.btoFlag?m?.productname:m?.name,R=m.productId);let re=(()=>{let X;if("comingFromknowledge"===S)if("pm_number_value"===m.pmClass)X=`/hp-pps-services/hub/navigation?h_client=s-a-r11839-1&h_product=${R}&h_lang=${this.dotComLC}&h_cc=${this.dotComCC}&h_pagetype=s-001&sku=${_}`;else{const Q=`search?q=${_}&product=${R}&predict=true`;X=D?`${y}/${Q}`:`/${this.customCC}-${this.customLC}/${Q}`}else"comingFromPFinder"===S?X=f.searchPromotionPfinderObj?"NA"!==f.searchPromotionPfinderObj.routeTab&&f.searchPromotionPfinderObj.routeTab?"pm_number_value"===m.pmClass||"pm_name_value"===m.pmClass?m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/${f.searchPromotionPfinderObj.routeBase}/${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}?sku=${m.productname}`:!m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/${f.searchPromotionPfinderObj.routeBase}/${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}?sku=${m.name}`:`/${this.customCC}-${this.customLC}${f.searchPromotionPfinderObj.routeBase}${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}/${f.searchPromotionPfinderObj.routeTab}`:`/${this.customCC}-${this.customLC}${f.searchPromotionPfinderObj.routeBase}${m.seoFriendlyName}/${m.pmSeriesOid}/${f.searchPromotionPfinderObj.routeTab}`:"pm_number_value"===m.pmClass||"pm_name_value"===m.pmClass?m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/${f.searchPromotionPfinderObj.routeBase}/${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}?sku=${m.productname}`:!m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/${f.searchPromotionPfinderObj.routeBase}/${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}?sku=${m.name}`:`/${this.customCC}-${this.customLC}${f.searchPromotionPfinderObj.routeBase}${m.seoFriendlyName}/${m.pmSeriesOid}/model/${m.pmNameOid}`:`/${this.customCC}-${this.customLC}${f.searchPromotionPfinderObj.routeBase}${m.seoFriendlyName}/${m.pmSeriesOid}`:"pm_number_value"===m.pmClass||"pm_name_value"===m.pmClass?m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${m.seoFriendlyName}/model/${m.pmNameOid}?sku=${m.productname}`:!m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/product/troubleshooting/${m.seoFriendlyName}/model/${m.pmNameOid}?sku=${m.name}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${m.seoFriendlyName}/model/${m.pmNameOid}`:`/${this.customCC}-${this.customLC}/product/troubleshooting/${m.seoFriendlyName}/${m.pmSeriesOid}`:"swd"===S&&(X="pm_number_value"===m.pmClass||"pm_name_value"===m.pmClass?m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/drivers/${m.seoFriendlyName}/model/${m.pmNameOid}?sku=${m.productname}`:!m?.btoFlag&&m?.pmNumberOid?`/${this.customCC}-${this.customLC}/drivers/${m.seoFriendlyName}/model/${m.pmNameOid}?sku=${m.name}`:`/${this.customCC}-${this.customLC}/drivers/${m.seoFriendlyName}/model/${m.pmNameOid}`:`/${this.customCC}-${this.customLC}/drivers/${m.seoFriendlyName}/${m.pmSeriesOid}`);return X})();setTimeout(()=>{this.loadingScreenService.startLoading(),this.updateExtraParams(re,"typeahead")},500)}updateExtraParams(m,S){const f=new URL(m,this.pageConfig().domain);this.commonService.kaasSearchExtraParam.pipe((0,$.$)()).subscribe(D=>
1{Object.keys(D[S]).forEach(y=>{f.searchParams.set(y,D[S][y])}),this.commonService.globalRouterNavigate(f.href)})}searchSubmit(m,S,f=!1,D=null){let y;const _={};_.searchQuery=S,y=this.redirectToSearchResult(_,m,null,null,null,null,null,null,f,D),this.updateExtraParams(y,"search")}getParameterByName(m){return decodeURIComponent((new RegExp("[?|&]"+m+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}inputKeyDown(m,S,f){const D=this.elem.nativeElement.querySelectorAll(".dropdown-item");if(m.target.value.length>=1)if("Enter"===m.key)this.searchSubmit(S,f);else if(!(40!==m.which&&38!==m.which||40!==m.which&&38!==m.which&&40!==m.which&&38!==m.which)){m.stopPropagation(),m.preventDefault();for(let y=0;y<D.length;y++)D[y].classList&&D[y].classList.contains("active")&&(m.target.value=D[y].innerText,this.selectedTypeAheadValue=D[y].innerText,this.selectedTypeAheadObj={name:D[y].innerText,productId:D[y].nextSibling.firstElementChild.id})}}getCommonLocalFromSSC(m){m&&this.store.select(g.FM).pipe((0,$.$)(S=>!(0,l.A)(S))).subscribe(S=>{if(S&&S.COMMON_FALLBACK_COUNTRY_CODE&&S.COMMON_FALLBACK_COUNTRY_CODE){const f=this.commonService.getCustomLocale(this.commonService.safeParseJSON(S.COMMON_FALLBACK_COUNTRY_CODE),m);this.customCC=f.cc,this.customLC=f.lc}else this.customCC=m.cc,this.customLC=m.lc})}ngOnDestroy(){this.destroySubject$.next()}static{this.\u0275fac=function(S){return new(S||C)(W.KVO(ae.b),W.KVO(ue.h),W.KVO(e.aKT),W.KVO(me.k),W.KVO(n.s),W.KVO(pe.il),W.KVO(te.a))}}static{this.\u0275prov=W.jDH({token:C,factory:C.\u0275fac})}}return C})()},1466(xe,le,a){a.d(le,{M:()=>p});var M=a(85240),s=a(86763),u=a(8130),$=a(19885),j=a(72926),N=a(11439);let p=(()=>{class i{sscKeys(l){return(0,s.EW)(()=>this.sscKeysSignal()?.[l]||{})}constructor(l,h,g,W){this.appSelectorStore=l,this.pageService=h,this.authService=g,this.store=W,this.translations=(0,s.EW)(()=>this.translationsSignal()),this.auth=(0,s.EW)(()=>this.authService.getAuthDataSignal()),this.pageConfig=(0,s.EW)(()=>this.pageService.configSignal()),this.routeData=(0,s.EW)(()=>this.pageService.getRouteDataSignal()),this.allPageSscKeys=(0,s.EW)(()=>this.sscKeysSignal()),this.isDefaultTheme=(0,s.EW)(()=>"default"===this.pageConfig().theme),this.isVeneerTheme=(0,s.EW)(()=>"veneer"===this.pageConfig().theme),this.isVisidTheme=(0,s.EW)(()=>"visid"===this.pageConfig().theme),this.translationsSignal=(0,M.vPA)({}),this.sscKeysSignal=(0,M.vPA)({}),this.updateTermbaseSignal(),this.updateSscKeysSignal()}updateTermbaseSignal(){this.appSelectorStore.getAllTranslations$(!1).subscribe(l=>{this.translationsSignal.update(h=>({...h,...l}))})}updateSscKeysSignal(){this.store.select(l=>l.sscKeys).subscribe(l=>{if(l?.SscUdlKeySet){const h=Object.keys(l?.SscUdlKeySet);for(const g of h)void 0===this.sscKeysSignal()?.[g]&&this.sscKeysSignal.update(W=>({...W,[g]:l?.SscUdlKeySet?.[g]?.ssc}))}})}static{this.\u0275fac=function(h){return new(h||i)(M.KVO(u.q),M.KVO($.b),M.KVO(j.u),M.KVO(N.il))}}static{this.\u0275prov=M.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()},14275(xe,le,a){a.d(le,{A:()=>p});var M=a(76746),s=a(41642),u=a(31933),$=Math.ceil,j=Math.max;const p=function N(i,K,l){K=(l?(0,s.A)(i,K,l):void 0===K)?1:j((0,u.A)(K),0);var h=null==i?0:i.length;if(!h||K<1)return[];for(var g=0,W=0,e=Array($(h/K));g<h;)e[W++]=(0,M.A)(i,g,g+=K);return e}},12724(xe,le,a){a.d(le,{A:()=>g});var M=a(60190),s=a(38200),u=a(29892);var N=a(14681),p=a(31933),i=Math.max;const g=function $(W){return function(e,ae,ue){var me=Object(e);if(!(0,s.A)(e)){var n=(0,M.A)(ae,3);e=(0,u.A)(e),ae=function(te){return n(me[te],te,me)}}var pe=W(e,ae,ue);return pe>-1?me[n?e[pe]:pe]:void 0}}(function K(W,e,ae){var ue=null==W?0:W.length;if(!ue)return-1;var me=null==ae?0:(0,p.A)(ae);return me<0&&(me=i(ue+me,0)),(0,N.A)(W,(0,M.A)(e,3),me)})}}]); 2//# sourceMappingURL=src_app_pages_contact_modules_contact-container_contact-container_component_ts.4c87f2c500bba63c.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.