PageSourceSearch

https://www.boostmobile.com/etc.clientlibs/core/wcm/components/image/v3/image/clientlibs/site.min.js

js boostmobile.com collected 2026-10-01 10:24:26 UTC 3,877 bytes, 9 lines download raw bytes

1(function(m){window.CMP=window.CMP||{};window.CMP.utils=function(){return{readData:function(h,g){h=h.dataset;var l=[];g=g.charAt(0).toUpperCase()+g.slice(1);g=["is","hook"+g];for(var a in h)if(Object.prototype.hasOwnProperty.call(h,a)){var e=h[a];0===a.indexOf("cmp")&&(a=a.slice(3),a=a.charAt(0).toLowerCase()+a.substring(1),-1===g.indexOf(a)&&(l[a]=e))}return l},setupProperties:function(h,g){var l={},a;for(a in g)if(Object.prototype.hasOwnProperty.call(g,a)){var e=g[a];l[a]=h&&null!=h[a]?e&&"function"===
2typeof e.transform?e.transform(h[a]):h[a]:g[a]["default"]}return l}}}()})(window.document);
3(function(m){window.CMP=window.CMP||{};window.CMP.image=window.CMP.image||{};window.CMP.image.dynamicMedia=function(){function h(c,b){for(var d=c.length,f=0;f<d-1&&c[f]<b;)f++;return void 0!==c[f]?c[f].toString():b}var g={},l=window.devicePixelRatio||1,a=function(c){var b=new XMLHttpRequest;c=c.split("{.width}")[0]+"?req\x3dset,json";b.open("GET",c,!1);b.onload=function(){if(200<=b.status&&400>b.status){var d=new RegExp(/^{[\s\S]*}$/gmi),f=(new RegExp(/^(?:\/\*jsonp\*\/)?\s*([^()]+)\(([\s\S]+),\s*"[0-9]*"\);?$/gmi)).exec(b.responseText),
4k;f&&(f=f[2],d.test(f)&&(k=JSON.parse(f)));if(k&&k.set.relation&&0<k.set.relation.length)for(d=0;d<k.set.relation.length;d++)g[parseInt(k.set.relation[d].userdata.SmartCropWidth)]=":"+k.set.relation[d].userdata.SmartCropDef}};b.send();return g},e=function(c,b){for(var d=c.offsetWidth;20>d&&b&&!c._autoWidth;)d=b.offsetWidth,b=b.parentNode;return d};return{getAutoSmartCrops:a,getSrcSet:function(c,b){if(0<Object.keys(b).length){var d=[];for(var f in g)d.push(c.replace("{.width}",b[f])+" "+f+"w")}return d.join(",")},
5getSrc:function(c,b){-1<c.indexOf("{.width}")&&(c=c.replace("{.width}",b));return c},setDMAttributes:function(c,b){var d=b.src.replace("dpr\x3doff","dpr\x3don,{dpr}");d=d.replace("{dpr}",l);var f={};"SmartCrop:Auto"===b.smartcroprendition&&(f=a(d));if(b.widths&&0<b.widths.length||0<Object.keys(f).length){var k=c.querySelector("img");c=e(c,c.parentNode);"SmartCrop:Auto"===b.smartcroprendition?(k.setAttribute("srcset",CMP.image.dynamicMedia.getSrcSet(d,f)),b=h(Object.keys(f,c)),k.setAttribute("src",
6CMP.image.dynamicMedia.getSrc(d,f[b]))):(b=h(b.widths,c),k.setAttribute("src",CMP.image.dynamicMedia.getSrc(d,b)))}},getWidth:e}}();m.dispatchEvent(new CustomEvent("core.wcm.components.commons.site.image.dynamic-media.loaded"))})(window.document);
7(function(m){window.CMP=window.CMP||{};window.CMP.image=window.CMP.image||{};window.CMP.image.v3=function(){function g(a){var e=this;e.initImage=function(c){var b=CMP.utils.readData(c,"image");e._properties=CMP.utils.setupProperties(b,l);e._properties.dmimage&&CMP.image.dynamicMedia.setDMAttributes(c,e._properties)};e.initImage(a.element)}var l={widths:{"default":[],transform:function(a){var e=[];a.split(",").forEach(function(c){c=parseFloat(c);isNaN(c)||e.push(c)});return e}},dmimage:{"default":!1,
8transform:function(a){return!(null===a||"undefined"===typeof a)}},src:{transform:function(a){return decodeURIComponent(a)}},smartcroprendition:""};return{init:function(){for(var a=m.querySelectorAll("[data-cmp-hook-image\x3d'imageV3']"),e=0;e<a.length;e++)new g({element:a[e],options:CMP.utils.readData(a[e],"image")});a=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;e=m.querySelector("body");(new a(function(c){c.forEach(function(b){b=[].slice.call(b.addedNodes);
90<b.length&&b.forEach(function(d){d.querySelectorAll&&[].slice.call(d.querySelectorAll("[data-cmp-hook-image\x3d'imageV3']")).forEach(function(f){new g({element:f,options:CMP.utils.readData(f,"image")})})})})})).observe(e,{subtree:!0,childList:!0,characterData:!0})}}}();var h="loading"!==m.readyState?Promise.resolve():new Promise(function(g){m.addEventListener("DOMContentLoaded",g)});
9Promise.all([h]).then(window.CMP.image.v3.init)})(window.document);

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.