PageSourceSearch

https://surgemedia.us/assets/format-CQE3RUoW.js

js surgemedia.us collected 2026-10-08 01:31:48 UTC 1,640 bytes, 2 lines download raw bytes

1function e(e,t=`USD`){return new Intl.NumberFormat(`en-US`,{style:`currency`,currency:t}).format(e/100)}function t(e){return new Intl.NumberFormat(`en-US`).format(e)}function n(e,t){let n=typeof e==`string`?new Date(e):e;return new Intl.DateTimeFormat(`en-US`,{year:`numeric`,month:`short`,day:`numeric`,...t}).format(n)}function r(e,t){let n=typeof e==`string`?new Date(e):e;if(Number.isNaN(n.getTime()))return``;let r=e=>String(e).padStart(2,`0`),i=e=>new Intl.DateTimeFormat(`en-US`,e).format(n),a=n.getHours(),o=a%12==0?12:a%12,s={YYYY:()=>String(n.getFullYear()),YY:()=>r(n.getFullYear()%100),MMMM:()=>i({month:`long`}),MMM:()=>i({month:`short`}),MM:()=>r(n.getMonth()+1),M:()=>String(n.getMonth()+1),DD:()=>r(n.getDate()),D:()=>String(n.getDate()),dddd:()=>i({weekday:`long`}),ddd:()=>i({weekday:`short`}),HH:()=>r(a),H:()=>String(a),hh:()=>r(o),h:()=>String(o),mm:()=>r(n.getMinutes()),ss:()=>r(n.getSeconds()),A:()=>a<12?`AM`:`PM`,a:()=>a<12?`am`:`pm`};return t.replace(/\[([^\]]*)\]|YYYY|YY|MMMM|MMM|MM|M|dddd|ddd|DD|D|HH|H|hh|h|mm|ss|A|a/g,(e,t)=>t===void 0?s[e]?.()??e:t)}function i(e){let t=e.trim();return!t||!Number.isNaN(new Date(t).getTime())?!1:/YYYY|YY|MMMM|MMM|MM|dddd|ddd|DD|HH|hh|mm|ss/.test(t)}function a(e){return e?n(e,{month:`short`,day:`numeric`,year:`numeric`}):`—`}function o(e){if(e==null)return null;let t=Math.round(Number(e));if(!Number.isFinite(t)||t<=0)return null;let n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,a=String(i).padStart(2,`0`);return n>0?`${n}:${String(r).padStart(2,`0`)}:${a}`:`${r}:${a}`}export{o as a,a as i,n,t as o,r,i as s,e as t};
2//# sourceMappingURL=format-CQE3RUoW.js.map

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.