PageSourceSearch

https://www.playpresstoys.com/cdn/shop/t/9/assets/main.js?v=94700001205122812491779126842

js playpresstoys.com collected 2026-10-06 13:01:30 UTC 1,030 bytes, 2 lines download raw bytes

1function formatMoney(cents,format){typeof cents=="string"&&(cents=cents.replace(".",""));const placeholderRegex=/\{\{\s*(\w+)\s*\}\}/,formatString=format||"",match=formatString.match(placeholderRegex);if(!match)return formatString;function formatWithDelimiters(number,precision=2,thousands=",",decimal="."){if(isNaN(number)||number==null)return"0";number=(number/100).toFixed(precision);const[dollars,centsStr]=number.split(".");return dollars.replace(/(\d)(?=(\d\d\d)+(?!\d))/g,`$1${thousands}`)+(centsStr?decimal+centsStr:"")}let value="";switch(match[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)}window.formatMoney=formatMoney;
2//# sourceMappingURL=/cdn/shop/t/9/assets/main.js.map?v=94700001205122812491779126842

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.