PageSourceSearch

https://www.vedatmediterraneo.com/js/components/promotions-grid-pagination.min.js

js vedatmediterraneo.com collected 2026-10-06 04:29:23 UTC 3,442 bytes, 1 lines download raw bytes

1(self.webpackChunkOCS2=self.webpackChunkOCS2||[]).push([[8163,8453],{49593:()=>{function t(o){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(o)}function o(t,o){for(var i=0;i<o.length;i++){var e=o[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,n(e.key),e)}}function n(o){var n=function(o,n){if("object"!=t(o)||!o)return o;var i=o[Symbol.toPrimitive];if(void 0!==i){var e=i.call(o,n||"default");if("object"!=t(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(o)}(o,"string");return"symbol"==t(n)?n:n+""}var i=function(){return t=function t(o,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,t),this.randomId=o,this.promotionsPaginatedRoute=n;var e=i||"promotions-grid-".concat(o);this.promotionsGrid=document.getElementById(e),this.promotionsContainer=document.getElementById("promotions-container-".concat(o)),this.promotionsGrid&&this.promotionsContainer&&this.init()},n=[{key:"init",value:function(){this.promotionsContainer.addEventListener("click",this.handleClick.bind(this))}},{key:"handleClick",value:function(t){var o,n=this,i=t.target.closest("#promotions-pagination-".concat(this.randomId," .pagination-link"));if(i){t.preventDefault();var e=i.dataset.page,r=this.promotionsGrid.dataset.itemsPerPage,a=this.promotionsGrid.dataset.landingClaim1,d=this.promotionsGrid.dataset.landingClaim2,s=this.promotionsGrid.dataset.quickview,c=this.promotionsGrid.dataset.promotionFullExcerpt,l=this.promotionsGrid.dataset.gridStyle,m=this.promotionsGrid.dataset.gridFootnote,u=null===(o=window.landing)||void 0===o?void 0:o.id,p=new URLSearchParams({page:e,itemsPerPage:r,webview:u,landingClaim1:a,landingClaim2:d,quickview:s,promotionFullExcerpt:c,gridStyle:l,gridFootnote:m,randomId:this.randomId});fetch("".concat(this.promotionsPaginatedRoute,"?").concat(p.toString()),{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){return t.json()}).then(function(t){if(t.html){var o,i=document.createElement("div");i.innerHTML=t.html;var e=null===(o=i.firstElementChild)||void 0===o?void 0:o.firstElementChild;e&&(document.getElementById("promotions-container-".concat(n.randomId)).innerHTML="",document.getElementById("promotions-container-".concat(n.randomId)).appendChild(e)),document.querySelectorAll("img.lazy").forEach(function(t){t.dataset.src&&!t.src&&(t.src=t.dataset.src)})}}).catch(function(t){})}}}],n&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}();function e(){var t=document.querySelectorAll("[data-promotions-grid-init][data-random-id][data-promotions-paginated-route]");t.length&&"function"==typeof window.PromotionsGridPagination&&t.forEach(function(t){if("true"!==t.dataset.promotionsGridInited){var o=t.dataset.randomId,n=t.dataset.promotionsPaginatedRoute,i=t.dataset.gridId||null;o&&n&&(new window.PromotionsGridPagination(o,n,i||void 0),t.dataset.promotionsGridInited="true")}})}window.PromotionsGridPagination=i,window.initAllPromotionsGrids=e,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}},t=>{var o;o=49593,t(t.s=o)}]);

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.