PageSourceSearch

https://corporativo.pladur.com/etex/js/assets/js/1498.bc39f140a95eb2949cd4.mjs

js pladur.com collected 2026-09-26 04:19:14 UTC 2,827 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[1498],{72717:function(e,t,i){var n=i(42799),s=i(79234);class r extends n.o{constructor(e,t){super(e),this.init(),this.type=t}init(){}static getInstance(e){if(!r.instance[e]){let t=document.querySelector("[data-component-class='FavoritesManager']");r.instance[e]=t?new r(t,e):null}return r.instance[e]}addFavorite(e,t){const i=this.parm.addFavoriteUrl+"?ts="+(new Date).getTime();let n={id:e,type:this.type},r=new s.o(i,n,!1);this.ajaxWrapper.doFetch(r).then((e=>t(e)))}addFavorites(e,t){const i=this.parm.addFavoritesUrl+"?ts="+(new Date).getTime();let n={ids:e,type:this.type},r=new s.o(i,n,!1);this.ajaxWrapper.doFetch(r).then((e=>t(e)))}deleteFavorite(e,t){const i=this.parm.deleteFavoriteUrl+"?ts="+(new Date).getTime();let n={id:e,type:this.type},r=new s.o(i,n,!1);this.ajaxWrapper.doFetch(r).then((e=>t(e)))}deleteFavorites(e,t){const i=this.parm.deleteFavoritesUrl+"?ts="+(new Date).getTime();let n={ids:e,type:this.type},r=new s.o(i,n,!1);this.ajaxWrapper.doFetch(r).then((e=>t(e)))}listFavorites(e){const t=this.parm.listFavoritesUrl+"?ts="+(new Date).getTime();let i={type:this.type},n=new s.o(t,i,!1);this.ajaxWrapper.doFetch(n).then((t=>e(t)))}}r.instance=[],t.Z=r},41498:function(e,t,i){i.r(t),i.d(t,{default:function(){return l}});var n=i(72717),s=i(33876),r=i(66497),a=i(70392),o=i.n(a);class l extends s.Km{constructor(e){super(e),this.DIALOG_CONFIRM_SELECTOR="[data-webid='confirm']",this.bindEvents()}onShow(e,t){super.onShow(e,t)}onHide(e,t){super.onHide(e,t)}bindEvents(){var e=this.element.querySelector(this.DIALOG_CONFIRM_SELECTOR);e&&e.addEventListener("click",(()=>{var e=n.Z.getInstance(this.parm.entityType);this.getUserSelection(),e.deleteFavorites(this.userSelection,(()=>{if(this.parm.redirectUrl)window.location.href=this.parm.redirectUrl;else{for(let e=0;e<this.userSelection.length;e++){let t=new r.Q(this.userSelection[e],this.parm.entityType);o().publish(r.m.entityUnselected,t)}o().publish(r.m.entityRemoved),this.hide()}}))}))}getUserSelection(){let e=document.querySelector("#user-selection-input");e&&(this.userSelection=e.value.split(","))}}},66497:function(e,t,i){i.d(t,{Q:function(){return n},m:function(){return s}});class n{constructor(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";this.entityId=e,this.entityType=t,this.entityName=i,this.entityImgUrl=n,this.entityUrl=s}}class s{}s.entitySelected="entity-selected",s.entityUnselected="entity-unselected",s.favoritesBulkDeleted="favorites-bulk-delete",s.favoritesChangedFromDialog="favoritesChangedFromDialog",s.entityRemoved="entityRemoved",s.externalProductCreatedOrUpdated="externalProductCreatedOrUpdated"}}]);

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.