1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[5809],{80883:function(e,t,r){r.d(t,{v:function(){return s}});var i=r(79234),n=r(42799);class s extends n.o{constructor(e){super(e),this.page=1,this.initialPage=1;const t=document.querySelector(".js-fix-loader");t&&(t.style.zIndex="5001")}init(){this.currentQuery=this.parm.currentQuery,this.currentUrlQuery=this.parm.currentUrlQuery,this.page=this.parm.page,this.initialPage=this.parm.page,this.parm.ajaxInitialLoad&&this.doInitialAjaxLoad(),window.addEventListener("popstate",(()=>{const e=new URLSearchParams(location.search),t=parseInt(e.get("page")??"1",10);this.page=t,this.initialPage=t;const r={currentQuery:"",selectedFilters:{},page:t,initialPage:t},n=new i.o(this.parm.updateFilterUrl,r,!1);this.ajaxWrapper.doFetch(n).then((e=>{e.clone().json().then((e=>{this.currentQuery=e.currentQuery,this.currentUrlQuery=e.currentUrlQuery,this.element.querySelector("wc-lister").setAttribute("parm",JSON.stringify(e))}))}))})),this.element.querySelector("wc-lister").addEventListener("wc-lister-filter-update",(e=>{this.page=1,this.initialPage=1,this.currentQuery=decodeURIComponent(location.search);var t={currentQuery:this.currentQuery,selectedFilters:this.serializeObjectWithSets(e.detail.selectedFilters),page:this.page,initialPage:this.initialPage},r=new i.o(this.parm.updateFilterUrl,t,!1);this.ajaxWrapper.doFetch(r).then((t=>{t.clone().json().then((t=>{this.currentQuery=t.currentQuery,this.currentUrlQuery=t.currentUrlQuery,this.updateHistory(!0),e.detail.callback(t.cards,t.horizontalFiltersData.filters,t.facetData.amount,t.loadMoreData)}))}))})),this.element.querySelector("wc-lister").addEventListener("wc-lister-load-more-next",(e=>{this.loadMore(e,!1)})),this.element.querySelector("wc-lister").addEventListener("wc-lister-load-more-prev",(e=>{this.loadMore(e,!0)}));let e=this.element.parentElement.querySelector("wc-sticky-menu");e&&e.addEventListener("wc-sticky-menu-cta-clicked",(e=>{this.ctaClicked(e)}))}doInitialAjaxLoad(){const e={currentQuery:this.currentQuery,selectedFilters:{},page:this.page,initialPage:this.initialPage},t=new i.o(this.parm.updateFilterUrl,e,!1);this.ajaxWrapper.doFetch(t).then((e=>{e.clone().json().then((e=>{this.currentQuery=e.currentQuery,this.currentUrlQuery=e.currentUrlQuery,this.updateHistory(!1),this.element.querySelector("wc-lister").setAttribute("parm",JSON.stringify(e))}))}))}loadMore(e,t){this.currentQuery=decodeURIComponent(location.search);var r=this.page,n=this.initialPage;t?n--:r++;var s={currentQuery:this.currentQuery,selectedFilters:this.serializeObjectWithSets(e.detail.selectedFilters),page:r,initialPage:n,loadPrevious:t},a=new i.o(this.parm.loadMoreUrl,s,!1);this.ajaxWrapper.doFetch(a).then((r=>{r.clone().json().then((r=>{this.currentQuery=r.currentQuery,this.currentUrlQuery=r.currentUrlQuery,t?this.initialPage--:this.page++,this.updateHistory(!0),e.detail.callback(r.cards,r.loadMoreData)}))}))}updateHistory(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(history.pushState&&e){const e=this.currentUrlQuery;let r=window.location.toString();const i=r.indexOf("?");i>-1&&(r=r.substr(0,i)),e&&(r=r+"?"+e),t?history.replaceState(e,null,r):history.pushState(e,null,r)}}serializeObjectWithSets(e){const t={};for(const r in e)e.hasOwnProperty(r)&&(t[r]=Array.from(e[r]));return t}}},10886:function(e,t,r){r.d(t,{C_:function(){return l},Fi:function(){return o},OP:function(){return a},cn:function(){return u},er:function(){return c},go:function(){return i},iF:function(){return s},us:function(){return h}});class i{constructor(e,t){this.dataSheet=e,this.fileName=t}}class n{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.watermarkFormId=r,this.skipAuthentication=e,this.skipWatermarking=t,this.watermarkFormSubmissionId=i,this.eventCategory=n}}class s extends n{constructor(e,t,r){super(t,r,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,arguments.length>5&&void 0!==arguments[5]?arguments[5]:null),this.packageId=e}}class a extends n{constructor(e,t,r,i,n,s){let a=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null,c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:null;super(n,s,arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,arguments.length>7&&void 0!==arguments[7]?arguments[7]:null),this.documentList=e,this.entityName=i,this.dataSheetInfos=r,this.documentPacks=t,this.encodedPreFilledWatermarkLines=a,this.eventCategory=l,this.customDocumentList=c}}class l{constructor(e,t){this.documentPackRequest=e,this.authDeniedCallback=t}}class c{}c.documentPackageDownloadRequested="DOWNLOAD_DOCUMENT_PACKAGE_REQUESTED",c.documentPackageDownloadRequestHandled="DOWNLOAD_DOCUMENT_PACKAGE_REQUEST_HANDLED",c.documentPackageCreationRequested="DOWNLOAD_DOCUMENT_PACKAGE_CREATION",c.documentPackageCreationRequestedHandled="DOWNLOAD_DOCUMENT_PACKAGE_CREATION_HANDLED",c.authenticationRequested="DOWNLOAD_DOCUMENT_AUTHENTICATION_REQUESTED",c.emptyResultReceived="DOWNLOAD_EMPTY_RESULT",c.watermarkingInputRequested="DOWNLOAD_DOCUMENT_WATERMARKING_INPUT_REQUESTED",c.watermarkingSingleDocumentInputRequested="DOWNLOAD_SINGLE_DOCUMENT_WATERMARKING_INPUT_REQUESTED",c.downloadLimitationReached="DOWNLOAD_LIMITATION_REACHED",c.failedRequest="DOWNLOAD_CENTER_FAILED_REQUEST",c.exportJobRequested="EXPORT_JOB_REQUESTED",c.createPdfDocumentRequested="DOWNLOAD_CREATE_PDF_REQUESTED",c.createPdfDocumentRequestHandled="DOWNLOAD_CREATE_PDF_REQUEST_HANDLED";class u{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{};this.formCompleted=r,this.skipWatermarkingCallback=i,this.popupUrl=e,this.documentPackRequest=t}}class o{constructor(e,t){this.popupUrl=e,this.assetId=t}}class h{constructor(e,t){this.job=e,this.toasterElement=t}}},55809:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var i=r(70392),n=r.n(i),s=r(10886),a=r(80883);class l extends a.v{constructor(e){super(e),this.init()}ctaClicked(e){let t={entityIds:e.detail.idList,entityType:"referencecase",print2PdfTemplateName:this.parm.pdfTemplateName,print2PdfLanguage:this.parm.pdfLanguage},r=new s.go(t,"lookbook.pdf");n().publish(s.er.createPdfDocumentRequested,r)}}}}]);
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.