PageSourceSearch

https://wei.city/_nuxt/JApbMfcO.js

js wei.city collected 2026-09-24 14:37:26 UTC 1,037 bytes, 1 lines download raw bytes

1const u="Free",c={myr:"RM",usd:"$"};function o(t){return String(t??"").trim().toLowerCase()}function i(t){return o(t)!=="usd"}function C(t){const n={code:"myr",symbol:"RM",rate:1},e=o(t?.currencyCode);if(!e||e==="myr")return n;const r=Number(t?.displayRate);return!Number.isFinite(r)||r<=0||r===1?n:{code:e,symbol:String(t?.currencySymbol||"").trim()||c[e]||e.toUpperCase(),rate:r}}function m(t,n){const e=Number(t);if(!Number.isFinite(e)||e<=0)return 0;const{rate:r}=C(n);if(r===1)return Math.round(e);const s=Math.round(e*r);return s<1?1:s}function S(t,n){const e=Number(t);if(!Number.isFinite(e)||e<=0)return u;const r=o(n?.currencyCode)||"myr";return`${String(n?.currencySymbol||"").trim()||c[r]||"RM"}${i(r)?" ":""}${(e/100).toFixed(2)}`}function _(t,n){const e=C(n),r=m(t,n);return S(r,{currencyCode:e.code,currencySymbol:e.symbol})}function y(t){const n=o(t?.currencyCode),e=o(t?.settlementCurrency);return!!n&&!!e&&n!==e}function a(t){const n=o(t?.settlementCurrency);return n?c[n]||n.toUpperCase():"RM"}export{a,y as b,_ as w};

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.