PageSourceSearch

https://myxtur.com/cdn/shop/t/75/assets/helper.js?v=11243022754134643791775406829

js myxtur.com collected 2026-10-02 16:03:13 UTC 1,624 bytes, 2 lines download raw bytes

1const resizeImage=(src,size,crop="")=>src.replace(/_(pico|icon|thumb|small|compact|medium|large|grande|original|1024x1024|2048x2048|master)+\./g,".").replace(/\.jpg|\.png|\.gif|\.jpeg/g,match=>(crop.length&&(crop=`_crop_${crop}`),`_${size}${crop}${match}`)),formatMoney=(cents,format)=>{typeof cents=="string"&&(cents=cents.replace(".",""));let value="";const placeholderRegex=/\{\{\s*(\w+)\s*\}\}/,formatString=format||window.eg_wishlist.money_format;function defaultOption(opt,def){return typeof opt>"u"?def:opt}function formatWithDelimiters(number,precision,thousands,decimal){if(precision=defaultOption(precision,2),thousands=defaultOption(thousands,","),decimal=defaultOption(decimal,"."),Number.isNaN(number)||number==null)return 0;number=(number/100).toFixed(precision);const parts=number.split("."),dollars=parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+thousands);return cents=parts[1]?decimal+parts[1]:"",dollars+cents}switch(formatString.match(placeholderRegex)[1]){case"amount":value=formatWithDelimiters(cents,2);break;case"amount_no_decimals":value=formatWithDelimiters(cents,0);break;case"amount_with_comma_separator":value=formatWithDelimiters(cents,2,".",",");break;case"amount_no_decimals_with_comma_separator":value=formatWithDelimiters(cents,0,".",",");break}return formatString.replace(placeholderRegex,value)},toIndianCurrency=num=>{if(num=="")return"";const currency=Shopify.currency.active;return new Intl.NumberFormat("en-IN",{style:"currency",currency}).format(num).replace(/\s/g,"").trim().split(".")[0]};
2//# sourceMappingURL=/cdn/shop/t/75/assets/helper.js.map?v=11243022754134643791775406829

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.