PageSourceSearch

https://corporativo.pladur.com/etex/js/assets/js/5998.f98ee2a40fb441b68ea0.mjs

js pladur.com collected 2026-09-26 04:20:27 UTC 4,616 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[5998],{15998:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}});var a=n(47277),s=n.n(a),r=n(79234),i=n(42799),c=n(83491),o=n(26404),l=n(38048),u=".js-facet-remove",p=".js-facet-select",h=".js-facet-daterange",d=".js-facet-daterange-from",g=".js-facet-daterange-to",f=".js-control button",m=".js-list-items-wrapper";class v extends i.o{constructor(e){super(e),this.initialRendering=!0,this.currentPage=1,this.pageCount=1,this.pageSize=1,this.init()}init(){this.tabs=new o.Z(this.element),this.currentPage=this.parm.currentPage,this.pageCount=this.parm.pageCount,this.pageSize=this.parm.pageSize,s()(this.element).on("click",f,(e=>{var t=s()(e.currentTarget).data("goto-page");if(0!==t){this.currentPage=t;var n=this.parm.pagingUrl+"&ts="+(new Date).getTime(),a={currentQuery:s()("#currentQuery").val(),pageNumber:this.currentPage,pageSize:this.pageSize},i=new r.o(n,a,!0);this.ajaxWrapper.doFetch(i).then((e=>this.successPagingAjaxCallback(e)))}})),s()(this.element).on("change",h,(e=>{var t=s()(d).val()+"|"+s()(g).val(),n=s()(e.currentTarget).data("facet-name");this.selectionChanged(!0,n,t)})),s()(this.element).on("change","[data-facet-name][data-facet-value-key]",(e=>{var t=s()(e.currentTarget).is(":checked"),n=e.currentTarget.dataset.facetName,a=e.currentTarget.dataset.facetValueKey;this.selectionChanged(t,n,a)})),s()(this.element).on("click",p,(e=>{var t=s()(e.currentTarget).hasClass("active"),n=e.currentTarget.dataset.facetName,a=e.currentTarget.dataset.facetValueKey;this.selectionChanged(!t,n,a)})),s()(this.element).on("click",u,(e=>{var t=e.currentTarget.dataset.facetName,n=e.currentTarget.dataset.facetValueKey;this.selectionChanged(!1,t,n)})),window.onpopstate=e=>{if(!1===this.initialRendering){var t=e.state;null==t&&(t=location.search),this.facetMapAndListUpdate(null,null,decodeURIComponent(t),!1)}}}successPagingAjaxCallback(e){e.clone().text().then((e=>{s()(m)[0].innerHTML=e,l.Z.scrollToElement(s()(m)[0]),this.updateHistory(!0,!1,"#paginationQuery"),this.initialRendering=!1}))}successFacetAjaxCallback(e,t){e.clone().text().then((e=>{var n=new c.E(e);s()("#list")[0].innerHTML=n.getComponentUpdate("list").content,s()("#facetmap")[0].innerHTML=n.getComponentUpdate("facetmap").content,s()("#facetmapselection")[0].innerHTML=n.getComponentUpdate("facetmapselection").content,s()("#totalcount")[0].innerHTML=n.getComponentUpdate("totalcount").content,this.updateHistory(t),this.updating=!1,this.initialRendering=!1,this.tabs=new o.Z(this.element)}))}selectionChanged(e,t,n){this.updating||this.facetMapAndListUpdate(t,n,null,!0,e)}facetMapAndListUpdate(e,t,n,a){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.updating=!0,null==a&&(a=!0),null==n&&(n=s()("#currentQuery").val().toString());var i={currentQuery:n,facet:e,facetValue:t,selectFacetValue:!!t&&r,searchText:"",preFilter:""};this.doAjaxRequest(a,i)}doAjaxRequest(e,t){var n=this.parm.updateUrl+"&ts="+(new Date).getTime(),a=new r.o(n,t,!0);this.ajaxWrapper.doFetch(a).then((t=>this.successFacetAjaxCallback(t,e)))}processAjaxResponse(e){s()("#productList")[0].innerHTML=e;var t=s()('#productList script[type="json"]')[0].innerHTML;return s().parseJSON(t)}updateHistory(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#currentUrlQuery";if(history.pushState&&e){var a=s()(n).val(),r=window.location.toString(),i=r.indexOf("?");i>-1&&(r=r.substr(0,i)),a&&(r=r+"?"+a),t?history.replaceState(a,null,r):history.pushState(a,null,r)}}}},38048:function(e,t){class n{static scrollToElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth";var n=document.querySelector(this.SELECTOR_HEADER),a=0;n&&(a=n.offsetHeight),window.scrollTo({behavior:t,top:this.getOffset(e).top-a})}static getOffset(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+n}}}n.SELECTOR_HEADER=".js-header",t.Z=n},83491:function(e,t,n){n.d(t,{E:function(){return r}});var a=n(47277),s=n.n(a);
1class r{constructor(e){this.rawResponse=e,this.response=s()(e)}getComponentUpdate(e){var t=this.response.filter("[data-component="+e+"]");return t.length?{content:t.html().trim(),json:s().parseJSON(t.find("script[type='json']")[0].innerHTML)}:null}getChildComponentUpdate(e){var t=this.response.find("[data-component="+e+"]");return t.length?{content:t[0].innerHTML,json:s().parseJSON(this.response.find("script")[0].innerHTML)}:null}}}}]);

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.