function e(n){return new Intl.NumberFormat("id-ID").format(n)}function a(n,r){for(const t of r)if("options"in t&&t.options){const o=t.options.find(i=>i.value===n);if(o)return o.label}else if(t.value===n)return t.label;return String(n)}function c(n){return{item_id:n?.item_id?String(n.item_id):"",count:n?.count?String(n.count):"1",octet:n?.octet||"",mask:n?.mask?String(n.mask):"0",proctype:n?.proctype?String(n.proctype):"0",price:n?.price?String(n.price):"0"}}function u(n){const r=parseInt(n)||0;return new Intl.NumberFormat("id-ID").format(r)}export{e as a,c as b,u as f,a as g};
