forstok-ui-lib 8.9.1 → 8.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/upload/drag.drop.tsx +10 -2
package/dist/index.js
CHANGED
|
@@ -5179,5 +5179,5 @@ var Ao=function(){return Ao=Object.assign||function(e){for(var t,r=1,i=arguments
|
|
|
5179
5179
|
`:r?t.css`
|
|
5180
5180
|
x: ${r}
|
|
5181
5181
|
`:void 0}
|
|
5182
|
-
`,To=Ft().width,Ho=Ft().height,Yo={rangeDate:"lastsecondweek",startDate:A.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:A.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:A.default().clone().subtract(89,"days").format("YYYY-MM-DD")},Vo={startDate:A.default().clone().subtract(13,"days"),endDate:A.default().clone(),minDate:A.default().clone().subtract(89,"days")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return o.components}}),Object.defineProperty(exports,"AsyncCreatableSelect",{enumerable:!0,get:function(){return F.default}}),exports.BoxContainer=sr,exports.BreadcrumbContainer=nr,exports.BulkActionWrapper=dr,exports.BulkSelectContainer=Wi,exports.ButtonComponent=dn,exports.ButtonGroup=Wr,exports.ButtonLabel=Yr,exports.CardContainer=di,exports.CardWrapper=Ci,exports.CheckboxComponent=t=>{var{id:i,name:n,children:a,$flow:o,extendKey:l,extendClass:s,reset:d,setReset:c,isForceUpdate:C,setForceUpdate:p,evChange:g,$isError:h,$iconRight:x}=t,m=b(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:u,defaultChecked:v}=m,[f,w]=r.useState(v||!1),F=r.useRef(null);r.useEffect((()=>{C&&(w(v||!1),p&&p(!1)),d&&(w(!1),c&&c(!1))}),[d,c,C,p,v]);return delete Object.assign({},m).defaultChecked,e.jsxs(Tt,{$flow:o,$iconRight:x,ref:F,htmlFor:i,disabled:u||!1,children:[e.jsx(zt,Object.assign({id:i,type:"checkbox",checked:f,name:n,evChange:e=>{w(e.target.checked),g&&g(e)}},s&&{className:s},""!==l&&{"data-key":l},m)),a,e.jsx(Qt,Object.assign({$isError:h},m["data-qa-id"]&&{"data-qa-id":m["data-qa-id"]}))]})},exports.CollapseContainer=Ir,exports.ContentLoaderAccountsList=()=>e.jsxs(Do,{height:284,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 290 284",children:[e.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>e.jsxs(Do,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let t=To>=994?To>=1031&&To>=1031?To-100:To-60:994;const r=t-777,i=t-665,n=t-555,a=t-405,o=t-230;return e.jsx(Io,{children:e.jsxs(Do,{speed:1,width:t,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:r,height:"61"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>e.jsx(Do,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,i=To>=1336||To>=1112?400:300,n=32+i+12,a=To-i-85,o=t?Math.ceil((t-78)/70):0;return e.jsx(ko,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const l=70*o+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:32,y:l,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:l,rx:"2",ry:"2",width:a,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const i=document.querySelector("._refChatContainer"),n=i?i.offsetWidth:0,a="single"===t?65:i&&i.offsetHeight-140>=0?i.offsetHeight:0,o=n-48-88-20,l=o+60+16,s="single"===t?1:Math.floor(a/64);let d=0;return e.jsx(Do,{height:a,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,i)=>{const n=14+d,a=32+d,s=64+d;return d=s,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"60",y:n,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:"60",y:a,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:l,y:n,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:l,y:a,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatMessages=({mode:t})=>{const r=document.querySelectorAll("._refChatContainer > article"),i=document.querySelector("._refChatContainer");let n=r[0]&&r[0].offsetWidth>=0?r[0].offsetWidth:0;n=n<=0?i&&i.offsetWidth>=0?i.offsetWidth:0:n;const a="single"===t?234:i&&i.offsetHeight>=0?i.offsetHeight:0,o=n-32<=360?n-32:360,l=n-o-16,s=a-145,d="single"===t?1:Math.floor(s/76);let c=0;return e.jsx(Do,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,r)=>{const i=0===r?s-76:c-76;return c=i,e.jsx("rect",{x:r>=3?"16":l,y:i,rx:"10",ry:"10",width:o,height:"60"},r)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const i=document.querySelector("._refTabsContent"),n=document.querySelector("._refChatContainer"),a=i&&i.offsetWidth-30>=0?i.offsetWidth-30:0,o="single"===t?65:n&&n.offsetHeight-204>=0?n.offsetHeight-204:0,l=a-48-88,s=l+60+16+22,d="single"===t?1:Math.floor(o/64);let c=0;return!(a<=0)&&e.jsx(Do,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,i)=>{const n=14+c,a=32+c,o=64+c;return c=o,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"38",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"78",y:n,rx:"0",ry:"0",width:l,height:"14"}),e.jsx("rect",{x:"78",y:a,rx:"0",ry:"0",width:l,height:"20"}),e.jsx("rect",{x:s,y:n,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:s,y:a,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatStores=()=>e.jsxs(Do,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>e.jsx(So,{children:e.jsxs(Do,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),e.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),e.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>e.jsxs(Do,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),e.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),e.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),e.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),e.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),e.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),e.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>e.jsxs(Do,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>e.jsxs(Do,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>e.jsx(Mo,{className:"_refLoadingList",children:e.jsxs(Do,{speed:1,width:To,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[e.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),e.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),e.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),e.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),e.jsx("rect",{x:To-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),e.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const t=To>=1336?540:To>=1112?320:250,r=t+30,i=150,n=r+i+15,a=80,o=n+a+15,l=150,s=o+l+15;return e.jsx(Oo,{children:e.jsxs(Do,{speed:1,width:To,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),e.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),e.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:a,height:"15"}),e.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:l,height:"15"}),e.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const t=To-250,r=To-150,i=To-80,n=140,a=183,o=200,l=388,s=140,d=533,c=140,C=678,p=140,g=823,h=140;return e.jsx(zo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:60,height:"30"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"30"}),e.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"320",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"320",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"370",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"370",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"420",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"420",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"470",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"470",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Ho-286,i=To>=1336?370:To>=1112?250:150,n=29+i+12,a=To>=1336?130:To>=1112?110:100,o=n+a+12,l=To>=1336?100:95,s=o+l+12,d=To>=1336?90:80,c=s+d+12,C=To>=1336?85:75,p=c+C+12,g=To>=1336?80:70,h=p+g+12,x=To>=1336?70:60,m=h+x+12,u=To>=1336?95:85,v=To-100-24,f=Ho&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let w=m+u+12,F=[];for(let e=0;w+122<v;e++)F.push({x:m+u+12+122*e,w:110}),w=m+u+12+122*e;return e.jsx(ko,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:C,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),e.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:u,height:"16"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:v,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((t,f)=>{const w=70*f+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:w,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:w,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:w,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:w,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:c,y:w,rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:p,y:w,rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:h,y:w,rx:"2",ry:"2",width:x,height:"31"}),e.jsx("rect",{x:m,y:w,rx:"2",ry:"2",width:u,height:"31"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:w,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:v,y:w,rx:"2",ry:"2",width:100,height:"31"})]},f)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const t=To>=1336?645:To>=1112?400:300,r=t+45,i=t+90;return e.jsx(Oo,{children:e.jsxs(Do,{speed:1,width:To,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:r,height:"15"}),e.jsx("rect",{x:i,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=window.innerWidth,i=t>=1336?150:t>=1112?110:100,n=29+i+12,a=t>=1336?120:t>=1112?110:100,o=n+a+12,l=t>=1336||t>=1112?110:105,s=o+l+12,d=t>=1336||t>=1112?140:130,c=s+d+12,C=t>=1336?130:t>=1112?120:100,p=c+C+12,g=t>=1336?115:t>=1112?105:100,h=p+g+12,x=t>=1336?150:t>=1112?110:100,m=t-150-24,u=Ho?Math.ceil((Ho-78)/70):0;let v=h+x+12,f=[];for(let e=0;v+122<m;e++)f.push({x:h+x+12+122*e,w:110}),v=h+x+12+122*e;return e.jsx(ko,{className:"_refLoadingList",children:e.jsxs(Do,{speed:1,width:t,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:C,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),e.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),f.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(u)).map(((t,u)=>{const v=70*u+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:v,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:h,y:v,rx:"2",ry:"2",width:x,height:"31"}),f.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},u)}))]})})},exports.ContentLoaderNotifUpdate=()=>e.jsx(Do,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLine=({$width:t,$height:r})=>{const i=t||75,n=r||30;return e.jsx(Do,{height:n,width:i,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${i} ${n}`,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:i,height:n})})},exports.ContentLoaderOneLinePromotion=()=>e.jsx(Do,{height:16,width:86,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 86 16",children:e.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>e.jsxs(Do,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),e.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const t=window.innerHeight-96,r=Math.floor((To-110)/120),i=Math.floor((t-20)/50);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const i=r+120*(r+1)-65;return e.jsx("rect",{x:i,y:n,rx:"2",ry:"2",width:100,height:"30"},r)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const t=Math.floor((To-110)/120);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((r,i)=>Array.apply(0,Array(t)).map(((t,r)=>{const n=r+120*(r+1)-65;return e.jsx("rect",{x:n,y:20,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))))})})},exports.ContentLoaderOrderDetail=()=>{const t=To-700,r=To-432,i=To-302,n=To-217,a=To-72,o=To-777,l=To-665,s=To-625,d=To-515,c=To-365,C=To-190,p=140,g=To-777,h=To-629,x=To-529,m=To-389,u=To-214;return e.jsx(zo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),e.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:t,height:"36"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:120,height:"32"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:140,height:"32"}),e.jsx("rect",{x:a,y:"20",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:g,height:"61"}),e.jsx("rect",{x:h,y:"150",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:u,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:140,height:"31"}),e.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),e.jsx("rect",{x:C,y:"515",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:140,height:"31"}),e.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),e.jsx("rect",{x:C,y:"555",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:C,y:"604",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:C,y:"654",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:t,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const t=100,r=To-600,i=To-405,n=120,a=To-275,o=To-190,l=140,s=To-45,d=To-18,c=To-777,C=To-665,p=To-625,g=To-515,h=140,x=To-365,m=160,u=To-190,v=140;return e.jsxs(Bo,{children:[e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const t=Math.floor(31*Math.random())+50;return e.jsx(Do,{height:30,width:t,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"4",ry:"4",width:"100%",height:"30"})})},exports.ContentLoaderPOSItem=()=>e.jsxs(Do,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx(Qo,{$width:"calc(100% - 20px)",x:"10",y:"10",rx:"0",ry:"0",height:"16"}),e.jsx("rect",{x:"10",y:"35",rx:"0",ry:"0",width:"75%",height:"16"}),e.jsx(Qo,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),e.jsx(Qo,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>e.jsxs(Do,{height:125,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"100%",height:"20"}),e.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"20"}),e.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"180px",height:"16"}),e.jsx("rect",{x:"0",y:"110",rx:"0",ry:"0",width:"100px",height:"14"})]}),exports.ContentLoaderPagination=()=>{const t=To/2,r=t-160,i=t-128,n=t-96,a=t-64,o=t-32,l=t+0,s=t+32,d=t+64,c=t+96,C=t+128;return e.jsx(Lo,{className:"_refLoadingPage",children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>e.jsxs(Do,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),e.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),e.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),e.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),e.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),e.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>e.jsxs(Do,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),e.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>e.jsxs(Do,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),e.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),e.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:840,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"840px",minWidth:"800px"},children:[e.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),e.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),e.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:900,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"900px",minWidth:"800px"},children:[e.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>e.jsx(Po,{children:e.jsx(Do,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPosProductDetail=()=>e.jsxs(Do,{speed:1,width:"100%",height:580,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"198"}),e.jsx("rect",{x:"0",y:"214",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"240",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"266",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"292",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"318",rx:"0",ry:"0",width:"100%",height:"40"}),e.jsx("rect",{x:"0",y:"368",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"394",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"420",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"456",rx:"0",ry:"0",width:"100px",height:"16"}),e.jsx("rect",{x:"0",y:"480",rx:"0",ry:"0",width:"100%",height:"94"})]}),exports.ContentLoaderPromotionHover=()=>e.jsxs(Do,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>e.jsx(So,{children:e.jsxs(Do,{speed:1,width:To,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>e.jsxs(Do,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),e.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),e.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const t=Ho-96,r=Math.floor((To-110)/120),i=Math.floor((t-20)/50);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const a=r+120*(r+1)-65;return e.jsx("rect",{x:a,y:n,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))}))})})},exports.CreateContainer=Fi,exports.CreateHeaderWrapper=yi,exports.CreateToolWrapper=Ai,exports.DateComponent=Ua,exports.DateContainer=Ya,exports.DateIndicatorContainer=Va,exports.DatePickerContainer=Na,exports.DateRangeAside=Ha,exports.DateRangeContainer=Ma,exports.DateRangeControl=Oa,exports.DateRangeIconContainer=qa,exports.DateRangeIndicatorsArrowIconSvg=Pa,exports.DateRangeIndicatorsContainer=Ia,exports.DateRangeLabel=za,exports.DateRangeLabelContainer=La,exports.DateRangeMenu=Sa,exports.DateRangeMenuContainer=ka,exports.DateRangePortalContainer=Xa,exports.DateRangeSelection=Qa,exports.DateRefComponent=Ra,exports.DateTimeComponent=({dateTimeData:t})=>{const r=A.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),i=A.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return e.jsx(Ga,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx("span",{children:i})]}):"-"})},exports.DateWrapper=Jr,exports.DetailItem=mi,exports.DetailItemAction=hi,exports.DetailItemInfo=xi,exports.DetailItemTitle=gi,exports.DetailItemWrapper=ui,exports.DetailList=pi,exports.DetailPanelWrapper=vi,exports.DetailWrapper=si,exports.DotIcon=Ui,exports.DropDownAction=va,exports.DropDownBody=ua,exports.DropDownComponent=wa,exports.DropDownContainer=ha,exports.DropDownControl=pa,exports.DropDownOverlayWrapper=Ca,exports.DropDownSubTitle=ma,exports.DropDownTitle=xa,exports.DropDownWrapper=ca,exports.DropdownAction=ti,exports.DropdownControlWrapper=ga,exports.DropdownItem=ei,exports.DropdownList=_r,exports.DropdownPortalContainer=fa,exports.DropdownTitle=$r,exports.EmojiComponent=Aa,exports.ErrorComponent=t=>{var{children:r,$mode:i}=t,n=b(t,["children","$mode"]);return e.jsxs(Un,Object.assign({$mode:i,className:"_refErrorContainer"},n,{children:[e.jsx(yn,{$name:"alert",$width:"11px"}),r]}))},exports.FigureWraper=gr,exports.FilterButton=ai,exports.FilterColumnContainer=Xi,exports.FilterContainer=Nr,exports.FilterItem=ii,exports.FilterList=ri,exports.FilterListTitle=ni,exports.FilterStoreContainer=Ji,exports.FilterStoreList=$i,exports.FilterWrapper=Ur,exports.FoContainer=Ut,exports.FormContainer=wo,exports.HeaderContainer=Ht,exports.IconComponent=yn,exports.IconDot=oi,exports.ImageChannelComponent=t=>{var r,i;const{data:n,label:a,size:o,isImageOnly:l,$mode:s,$isPhone:d,labelPhone:c,$url:C}=t,p=o&&parseInt(o)/2>10?parseInt(o)/2:10,g=o&&parseInt(o)/2-4>10?parseInt(o)/2-4:10,h=o||"20px";if(!n)return e.jsx(e.Fragment,{children:!l&&e.jsx("span",{children:a||"-"})});const x=a||(null==n?void 0:n.name)||(null==n?void 0:n.storeName)||(null==n?void 0:n.store_name)||(null==n?void 0:n.accountName)||(null==n?void 0:n.channelName)||(null==n?void 0:n.channel_name)||"No Store",m=(null==n?void 0:n.icon)||(null===(i=null===(r=null==n?void 0:n.account)||void 0===r?void 0:r.channel)||void 0===i?void 0:i.imageUrl)||(null==n?void 0:n.imageUrl)||(null==n?void 0:n.channelImage)||(null==n?void 0:n.channel_image)||"",u=(null==n?void 0:n.color)||(null==n?void 0:n.channelColor)||(null==n?void 0:n.channel_color)||"#ooo",v=(null==n?void 0:n.channelInitials)||(null==n?void 0:n.channelInitial)||(null==n?void 0:n.channel_initials)||(null==n?void 0:n.initials)||"",f=c||(null==n?void 0:n.phone)||(null==n?void 0:n.storeId)||"-",w=null==n?void 0:n.availableAPI;return e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{height:h,width:"auto"},children:m?e.jsx(qn,{$mode:s,width:"auto",height:h,src:m||"/",alt:n.channelName||n.channel_name||""}):v?e.jsx(cr,{style:{width:h},children:e.jsx(Cr,{$size:p,$fromSize:g,style:{width:h,height:h,backgroundColor:u},children:v})}):e.jsx(qn,{$mode:s,width:"auto",height:h,src:"/"})}),!l&&(d?e.jsxs("div",{children:[C?e.jsx(ht,{mode:"trans",href:C,children:e.jsx("span",{className:"multi-elipsis",title:x,children:x})}):e.jsx("span",{className:"multi-elipsis",title:x,children:x}),e.jsx("aside",{className:"multi-elipsis",title:f,style:{color:"#999999",fontSize:"12px"},children:f})]}):e.jsxs("span",{className:"multi-elipsis",title:x,children:[x,w&&e.jsx(Gi,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=qn,exports.InfoGroup=ar,exports.InitialContainer=cr,exports.InitialWrapper=Cr,exports.InputComponent=zt,exports.InputGroup=lr,exports.InputOTPComponent=t=>{var{otpLength:r=6,value:i,onChange:n}=t,a=b(t,["otpLength","value","onChange"]);const o=e=>{var t;const a=e.target,o=a.value,l=a.dataset.index?parseInt(a.dataset.index):0;if(""===o||/^\d$/.test(o)){let e=i.split("");e[l]=o;const a=e.join("");n(a),""!==o&&l<r-1&&(null===(t=document.getElementById(`otp-inputbox-${l+1}`))||void 0===t||t.focus())}},l=e=>{var t;const r=e.target,n=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!i[n]&&n>0&&(null===(t=document.getElementById("otp-inputbox-"+(n-1)))||void 0===t||t.focus())};let s=[];for(let t=0;t<r;t++)s.push(e.jsx(Lt,Object.assign({"data-index":t,id:`otp-inputbox-${t}`,name:`otp-input-${t}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:i[t]||"",onChange:e=>o(e),onKeyDown:e=>l(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},a),t));return e.jsx("div",{onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,r);n(t)},children:s})},exports.InputRefComponent=It,exports.IsNumeric=ut,exports.ItemPriceLabel=br,exports.ItemQtyLabel=Ri,exports.ItemTable=Gr,exports.LabelComponent=t=>{var{children:r,$mode:i,$position:n,"aria-label":a}=t,o=b(t,["children","$mode","$position","aria-label"]);const l="error"===a;return e.jsx(pn,Object.assign({$mode:i,$position:n,"aria-label":a},o,{children:l?"Please refresh page":r}))},exports.LeftPanelContainer=mr,exports.LinkComponent=ht,exports.LinkContainer=Vr,exports.ListAddItemContainer=ji,exports.ListComponent=t=>{var{children:r,$mode:i,$selected:n,$type:a}=t,o=b(t,["children","$mode","$selected","$type"]);return e.jsx(ro,Object.assign({$mode:i,$selected:n,$type:a},o,{children:r}))},exports.ListContainer=Xt,exports.ListTable=Kr,exports.ListTableContainer=Rr,exports.LoadingComponent=xn,exports.MasterTableActionWrapper=pr,exports.MenuList=t=>e.jsx(o.components.MenuList,Object.assign({},t,{children:t.children})),exports.MessageComponent=({timer:t=500,$type:i,message:a,callback:o,onClosed:l})=>{const[s,d]=n.useStateWithCallbackLazy(!1),[c,C]=n.useStateWithCallbackLazy(!1),[p,g]=n.useStateWithCallbackLazy(!1),h=r.useCallback((()=>{g(!p,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),null==o||o()}))}),[o,g,p]),x=r.useCallback((()=>{h()}),[h]);return r.useEffect((()=>{const e=t||2e3,r=document.querySelector("._refMessageOverlay");return s||p?s&&p&&(d&&d(!s,(()=>{})),C&&C(!c,(()=>{})),r&&r.removeEventListener("click",x),null==l||l()):d(!s,(()=>{r&&r.addEventListener("click",x),setTimeout((()=>{C(!c,(()=>{setTimeout((()=>!c&&h()),e)}))}),1)})),()=>{r&&r.removeEventListener("click",x)}}),[s,c,t,h,d,C,x,p,l]),e.jsxs(En,{$isOpen:s,children:[e.jsx(Bn,{className:"_refMessageOverlay"}),e.jsx(kn,{children:e.jsx(jn,{$isOpen:c,children:e.jsxs(On,{$type:i,children:[e.jsx("i",{}),a,e.jsx(dn,{$mode:"small-white-round-close",onClick:h})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:i,subtitle:o,callback:l,buttonSubmit:s,cancelCallback:d,onClosed:c})=>{const[C,p]=n.useStateWithCallbackLazy(!1),[g,h]=n.useStateWithCallbackLazy(!1),[x,m]=n.useStateWithCallbackLazy(!1),u=r.useCallback((()=>{m(!x,(()=>{d&&d();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[d,x,m]),v=r.useCallback((()=>{u()}),[u]);return r.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");C||x?C&&x&&(p(!C,(()=>{})),h(!g,(()=>{})),e&&e.removeEventListener("click",v),null==c||c()):p(!C,(()=>{setTimeout((()=>{h(!g,(()=>{})),e&&e.addEventListener("click",v)}),1)}))}),[C,g,p,h,v,x,c]),e.jsxs(En,{$isOpen:C,children:[e.jsx(Bn,{className:"_refQuestionMessageOverlay",$type:t}),e.jsx(kn,{$type:t,children:e.jsx(jn,{$isOpen:g,children:e.jsxs(On,{$type:t,children:[e.jsx("i",{}),e.jsxs("div",{children:[e.jsx(B,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:i}),e.jsx(B,{$color:"grey",$elipsis:!1,children:a.htmlToText(o)}),e.jsxs("aside",{children:[e.jsx(dn,{$mode:"white",$size:"small",onClick:u,children:"Cancel"}),e.jsx(dn,{$mode:"red",$size:"small",onClick:()=>{m(!x,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),null==l||l()}))},children:s||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=xr,exports.MuteLabel=or,exports.NameLabel=Er,exports.NavChildItem=Yi,exports.NavChildLine=Hi,exports.NavContainer=Qi,exports.NavContainerStyles=Si,exports.NavList=Ii,exports.NavMainItem=Ti,exports.NavMainItemWrapper=Vi,exports.NavMobileHeaderWrapper=Pi,exports.NavMobileOverlay=zi,exports.OptCustomLabel=Gi,exports.PageButton=Qr,exports.PageDot=Hr,exports.PageLabel=Tr,exports.PageWrapper=Sr,exports.PaginationContainer=Pr,exports.PanelBody=hr,exports.PanelContainer=Nt,exports.PanelWrapper=Vt,exports.PopupAddProductContainer=Oi,exports.PopupBoxWrapper=fi,exports.PopupCard=Mi,exports.PopupColumnGroup=tr,exports.PopupComponent=t=>{var{children:i,body:a,mode:o,height:l,width:s,isOpen:d,evTooglePopup:c,isNested:C,evToogleNestedPopup:p}=t,g=b(t,["children","body","mode","height","width","isOpen","evTooglePopup","isNested","evToogleNestedPopup"]);const[h,x]=n.useStateWithCallbackLazy(!1),m=r.useRef(null),u=r.useCallback((e=>{Vn=setTimeout((()=>{x(e,(()=>{const e=m&&m.current?m.current:null;e&&(e.scrollTop=0)})),clearTimeout(Vn)}),1)}),[x]),v=r.useRef({init:()=>{u(d)}});r.useEffect((()=>{const{init:e}=v.current;return e(),()=>{clearTimeout(Vn)}}),[]),r.useEffect((()=>{u(d)}),[d,u]);const f=[...i],w=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"head"===e.props["aria-label"])))||null,F=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"sub-head"===e.props["aria-label"])))||null,y=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"body"===e.props["aria-label"])))||null,A=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"foot"===e.props["aria-label"])))||null,D=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"left-foot"===e.props["aria-label"])))||null,E=F.length?e.jsx("aside",{children:F[0]&&r.isValidElement(F[0])?F[0].props.children:null}):null,B=w.length&&w[0]&&r.isValidElement(w[0])?w[0].props["data-qa-id"]:"";return e.jsxs(Ln,{$isOpen:d,children:[e.jsx(zn,{}),e.jsx(In,Object.assign({ref:m},g["data-qa-id"]&&{"data-qa-id":g["data-qa-id"]},{children:"question"===o?e.jsx(Pn,{$isOpen:h,children:e.jsxs(Yn,{$width:s,children:[e.jsx(yn,{$name:"warning",$width:"30px"}),e.jsxs(Sn,{$mode:o,children:[w.length?e.jsx(Qn,{children:w[0]&&r.isValidElement(w[0])?w[0].props.children:null}):null,E,A.length?e.jsx(Hn,{children:A[0]&&r.isValidElement(A[0])?e.jsx("aside",{"data-type":A[0].props.type||"",children:A[0].props.children}):null}):null]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(Sn,{$width:s,$isOpen:h,$mode:o,$isNested:C,children:w.length?e.jsxs(e.Fragment,{children:[e.jsx(dn,{$mode:"round-close",onClick:C?p:c}),e.jsx(Qn,{"data-qa-id":B,children:w[0]&&r.isValidElement(w[0])&&w[0].props.children})]}):null}),e.jsxs(Pn,{$width:s,$isOpen:h,$withHeader:!!w.length,$isNested:C,children:[E,y.length?e.jsx(Tn,{$mode:a,$width:s,$height:l,children:y[0]&&r.isValidElement(y[0])&&y[0].props.children}):null,A.length?e.jsxs(Hn,{$isLeft:!!D.length,children:[e.jsx("aside",{children:D&&D.length&&D[0]&&r.isValidElement(D[0])?D[0].props.children:null}),A[0]&&r.isValidElement(A[0])?e.jsxs("aside",{"data-type":A[0].props.type||"",children:[o&&"info"===o?e.jsx(dn,{$mode:"white",$size:"small",onClick:C?p:c,children:"Close"}):e.jsx(dn,{$mode:"white",$size:"small",onClick:C?p:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),A[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=wi,exports.PopupExportCardWrapper=Li,exports.PopupItem=$t,exports.PopupItemLabel=ir,exports.PopupItemName=rr,exports.PopupList=Jt,exports.PopupRowGroup=er,exports.PopupTable=Kt,exports.PopupTableBody=Zt,exports.PopupTableHead=Rt,exports.PopupTableItem=Gt,exports.RadioComponent=t=>{var{children:i,$mode:n,evChange:a,reset:o,setReset:l,isForceUpdate:s,setForceUpdate:d}=t,c=b(t,["children","$mode","evChange","reset","setReset","isForceUpdate","setForceUpdate"]);const{id:C,defaultChecked:p}=c,[g,h]=r.useState(p||!1);r.useEffect((()=>{s&&(h(p||!1),d&&d(!1)),o&&(h(!1),l&&l(!1))}),[s,d,o,l,p,h]);let x=Object.assign({},c);return delete x.defaultChecked,e.jsx(Za,{children:e.jsxs("label",{htmlFor:C,children:[e.jsx(Ja,Object.assign({type:"radio",id:C,$mode:n,checked:g,onChange:e=>{a&&a(e)}},x)),e.jsx(Ka,Object.assign({$mode:n},c["data-qa-id"]&&{"data-qa-id":c["data-qa-id"]},{children:i}))]})})},exports.RangeContainer=Wa,exports.ReactPortalComponent=da,exports.RightPanelContainer=ur,exports.ScrollArrowContainer=qi,exports.SearchDropdownContainer=bi,exports.SearchFilterContainer=Xr,exports.SearchFormWrapper=vr,exports.SearchResultItem=Bi,exports.SearchResultList=Ei,exports.SearchResultWrapper=Di,exports.SearchWrapper=qr,exports.SearchWrapperPopup=ki,exports.SelectAllComponent=t=>{const{isError:i=!1,value:n,options:a,mode:o,evChange:l}=t,s=b(t,["isError","value","options","mode","evChange"]),d=r.useRef(n);d.current=n;const c="store"===o?"Stores":"Categories",C={value:"*",label:"All "+c},p=()=>{var e;return(null===(e=d.current)||void 0===e?void 0:e.length)===(null==a?void 0:a.length)},g={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",cursor:"pointer",minHeight:"store"===o?"30px":"38px",height:"100%",maxHeight:"300px",overflow:"hidden",borderWidth:i?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,height:"100%",maxHeight:"300px",minHeight:"30px",overflowX:"hidden",overflowY:"auto",flexWrap:"wrap",alignContent:"flex-start",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})};return e.jsx("div",Object.assign({className:"_refContainer",style:{width:"100%",minWidth:0}},s["data-qa-id"]&&{"data-qa-id":s["data-qa-id"]},{children:e.jsx(f.default,{isOptionSelected:e=>{var t;return(null===(t=d.current)||void 0===t?void 0:t.some((({value:t})=>t===e.value)))||p()},styles:g,menuPortalTarget:document.body,options:a?[C,...a]:[C],value:d.current&&d.current.length>=5?[{value:n,label:`${null===(h=d.current)||void 0===h?void 0:h.length} ${c}`}]:p()?[C]:n,onChange:(e,t)=>{if(!a)return!1;const{action:r,option:i,removedValue:n}=t;let o=e?[...e]:null;const s=e&&e.length&&Array.isArray(e[0].value)?e[0].value:null;let c=[];"select-option"===r&&i.value===C.value?c=a:"deselect-option"===r&&i.value===C.value||"remove-value"===r&&n.value===C.value?c=[]:"deselect-option"===t.action&&p()?c=a.filter((({value:e})=>e!==i.value)):"remove-value"===t.action&&s?(d.current=null,c=[]):"deselect-option"===t.action?(s?(o=s.filter((({value:e})=>e!==i.value)),d.current=o):o=e.filter((({value:e})=>e!==i.value)),c=o||[]):(s&&(o=[...s,e[1]],d.current=o),c=o||[]),l(c,t)},hideSelectedOptions:!1,closeMenuOnSelect:!1,isMulti:!0})}));var h},exports.SelectAsyncCreateablePaginateComponent=t=>{var{loadOptions:i}=t,n=b(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customLabel:d,customOption:c,MenuList:C,defaultValue:p,setReset:g,evChange:h,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:f,isSearchable:w,placeholder:F,isMulti:y,loadedOptions:A,isMenuOpen:D,setMenuIsOpen:E,id:B,evChangeOnMenuClose:j,isCreateable:k=!1,evCreate:O}=n,M=b(n,["isError","mode","type","customLabel","customOption","MenuList","defaultValue","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose","isCreateable","evCreate"]),[L,z]=r.useState(p||null),[I,P]=r.useState(""),[S,Q]=r.useState(new Date),T=r.useRef(null);r.useEffect((()=>{x&&(z(p||null),null==m||m(!1))}),[p,x,m,z]);const H=(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=L;if(null==e?void 0:e.length){let r=A?[...e,...A]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),z(r),h&&h(r,t)}else A&&(z(A),h&&h(A,t));return null===(r=T.current)||void 0===r||r.blur(),!1}}z(i),h&&h(i,t)},Y={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"1px",height:y?"100%":"small"===o?"30px":"32px",maxHeight:"300px",cursor:"pointer",borderWidth:a?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,minHeight:"1px",height:y?"100%":"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:y?"4px":"0",paddingBottom:y?"4px":"0",paddingLeft:f?"28px":"8px",paddingRight:"2px",maxHeight:y?"300px":"unset",overflowX:y?"hidden":"initial",overflowY:y?"auto":"initial",flexWrap:y?"wrap":"nowrap",alignContent:y?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})},V=r.useCallback((()=>{E&&E(!0)}),[E]),N=r.useCallback((()=>{P(""),E&&E(!1)}),[E]),X=()=>{Q(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()},q=e=>{var t;if("Enter"!==e.key)return;const r=e.target,i=r.getAttribute("aria-controls")||(null===(t=r.closest("[aria-controls]"))||void 0===t?void 0:t.getAttribute("aria-controls")),n=i?document.getElementById(i):null;Boolean(null==n?void 0:n.querySelector('[role="option"]'))||(e.preventDefault(),e.stopPropagation())},W=k?e.jsx(Wn,Object.assign({isSearchable:w,placeholder:F,styles:Y,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:H,onKeyDown:q,debounceTimeout:300,onCreateOption:e=>{null==g||g(!1),y?Array.isArray(L)?z([...L,{value:e,label:e}]):z([{value:e,label:e}]):z({value:e,label:e}),null==O||O(e),P("")},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:D},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:I,onInputChange:(e,t)=>"input-change"===t.action?(P(e),Q(new Date),e):e,onMenuClose:()=>{P(""),null==j||j(L)},onMenuOpen:()=>X(),cacheUniqs:[S],selectRef:T},"multi-select"!==o&&{onMenuOpen:V,onMenuClose:N},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},y&&{isMulti:!0},M)):e.jsx(s.AsyncPaginate,Object.assign({isSearchable:w,placeholder:F,debounceTimeout:500,styles:Y,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:H,onKeyDown:q,loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:D},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:I,onInputChange:(e,t)=>"input-change"===t.action?(P(e),Q(new Date),e):e,onMenuClose:()=>{P(""),null==j||j(L)},onMenuOpen:()=>X(),cacheUniqs:[S],selectRef:T},"multi-select"!==o&&{onMenuOpen:V,onMenuClose:N},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},y&&{isMulti:!0},M));return e.jsx("div",{className:"_refContainer",style:{width:"100%",minWidth:0},children:W})},exports.SelectAsyncPaginateComponent=t=>{var{loadOptions:i}=t,n=b(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customLabel:d,customOption:c,MenuList:C,defaultValue:p,setReset:g,evChange:h,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:f,isSearchable:w,placeholder:y,isMulti:A,loadedOptions:D,isMenuOpen:E,setMenuIsOpen:B,id:j,evChangeOnMenuClose:k,isCreateable:O=!1,evCreate:M}=n,L=b(n,["isError","mode","type","customLabel","customOption","MenuList","defaultValue","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose","isCreateable","evCreate"]),[z,I]=r.useState(p||null),[P,S]=r.useState(""),[Q,T]=r.useState(new Date),H=r.useRef(null);r.useEffect((()=>{x&&(I(p||null),m&&m(!1))}),[p,x,m,I]);const Y=(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=z;if(null==e?void 0:e.length){let r=D?[...e,...D]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),I(r),h&&h(r,t)}else D&&(I(D),h&&h(D,t));return null===(r=H.current)||void 0===r||r.blur(),!1}}I(i),h&&h(i,t)},V={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"1px",height:A?"100%":"small"===o?"30px":"32px",maxHeight:"300px",cursor:"pointer",borderWidth:a?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,minHeight:"1px",height:A?"100%":"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:A?"4px":"0",paddingBottom:A?"4px":"0",paddingLeft:f?"28px":"8px",paddingRight:"2px",maxHeight:A?"300px":"unset",overflowX:A?"hidden":"initial",overflowY:A?"auto":"initial",flexWrap:A?"wrap":"nowrap",alignContent:A?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})},N=r.useCallback((()=>{B&&B(!0)}),[B]),X=r.useCallback((()=>{S(""),B&&B(!1)}),[B]),q=()=>{T(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()};let W=O?e.jsx(F.default,Object.assign({isSearchable:w,placeholder:y,debounceTimeout:500,styles:V,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:z,onChange:Y,onCreateOption:e=>{null==g||g(!1),A?Array.isArray(z)?I([...z,{value:e,label:e}]):I([{value:e,label:e}]):I({value:e,label:e}),null==M||M(e)},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:E},j&&{id:j},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:P,onInputChange:(e,t)=>"input-change"===t.action?(S(e),T(new Date),e):e,onMenuClose:()=>{S(""),null==k||k(z)},onMenuOpen:()=>q(),cacheUniqs:[Q],selectRef:H},"multi-select"!==o&&{onMenuOpen:N,onMenuClose:X},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},A&&{isMulti:!0},L)):e.jsx(s.AsyncPaginate,Object.assign({isSearchable:w,placeholder:y,debounceTimeout:500,styles:V,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:z,onChange:Y,loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:E},j&&{id:j},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:P,onInputChange:(e,t)=>"input-change"===t.action?(S(e),T(new Date),e):e,onMenuClose:()=>{S(""),null==k||k(z)},onMenuOpen:()=>q(),cacheUniqs:[Q],selectRef:H},"multi-select"!==o&&{onMenuOpen:N,onMenuClose:X},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},A&&{isMulti:!0},L));return e.jsx("div",{className:"_refContainer",style:{width:"100%",minWidth:0},children:W})},exports.SelectCheckboxContainer=yo,exports.SelectComponent=t=>{var{type:i,isError:n=!1,mode:a,customOption:o,customLabel:l,MenuList:s,isCreateable:d=!1,isClearable:c=!1,selectKey:C,disabled:p,defaultValue:g,width:h,reset:x,setReset:m,isForceUpdate:u,setForceUpdate:v,isCheckAutoCopy:F,evChangeCustom:y,isField:A,evCreate:D,evChange:E,isMinOption:B,isMulti:j=!1,options:k,name:O,placeholder:M,removeMessage:L,evCreateMessageQuestion:z,isLoading:I,height:P,customMenuList:S,customMultiValueRemove:Q}=t,T=b(t,["type","isError","mode","customOption","customLabel","MenuList","isCreateable","isClearable","selectKey","disabled","defaultValue","width","reset","setReset","isForceUpdate","setForceUpdate","isCheckAutoCopy","evChangeCustom","isField","evCreate","evChange","isMinOption","isMulti","options","name","placeholder","removeMessage","evCreateMessageQuestion","isLoading","height","customMenuList","customMultiValueRemove"]);const[H,Y]=r.useState(g||null);r.useEffect((()=>{if(x&&(Y(null),m&&m(!1)),u){let e=g;if(F&&e){let t=!1;if(j){let r=e;if(Array.isArray(r)&&r.length){let e=[];for(const i of r){const r=null==k?void 0:k.filter((e=>e.label===i.label&&e.value===i.value));(null==r?void 0:r.length)&&Array.isArray(e)?e.push(i):!t&&(t=!0)}e.length&&(r=e)}}else{let r=e;if(r){const i=null==k?void 0:k.filter((e=>r&&e.label===r.label&&e.value===r.value));(null==i?void 0:i.length)&&(e=null,t=!0)}}t&&O&&y&&y(O,e)}Y(e),v&&v(!1)}}),[g,y,F,u,j,O,k,x,v,m]);const V=()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},N=(e,{action:t,removedValue:r,option:i})=>{if(j){const n=e,a=()=>{Y(n),E&&E(n,{action:t,removedValue:r,option:i})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(H)&&1===H.length)return!1;if(r.isFixed)return;break;case"pop-value":if(r.isFixed)return;break;case"clear":e=(null==k?void 0:k.filter((e=>e.isFixed)))||[]}if(L&&"remove-value"===t){const e=ft("confirm",(null==L?void 0:L.title)||"",(null==L?void 0:L.subtitle)||"",a);return z&&z(e),!1}Y(n),E&&E(n,{action:t,removedValue:r,option:i})}else{const n=e;Y("paymentReceiveStore"===a?n?{value:n.value,label:n.label,channel:n.channel}:n:l?n?{value:n.value,label:n.label,name:n.name}:n:n?{value:n.value,label:n.label}:n),E&&E(n,{action:t,removedValue:r,option:i})}!j&&A&&y&&O&&y(O,e)},X=()=>{A&&y&&O&&H&&y(O,H)},q=j||"multi"===a||"picklist"===a,W={container:e=>Object.assign(Object.assign({},e),{display:"block",width:h?h+"px":"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"multi"===a?"50px":"picklist"===a?"30px":"1px",height:j?"100%":"multi"===a?"auto":null!=P?P:"orders"===a?"90px":"30px",maxHeight:j?"300px":"multi"===a?"120px":"picklist"===a?"46px":"none",cursor:"pointer",borderWidth:n?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:j?"hidden":"multi"===a?"auto":"picklist"===a?"hidden":"orders"===a?"auto":"initial",alignItems:"orders"===a?"start":"center",padding:"orders"===a?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:p?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575",alignSelf:"orders"===a?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===i?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,height:j?"100%":"multi"===a?"auto":"30px",maxHeight:j?"300px":"multi"===a?"114px":"picklist"===a?"46px":"none",minHeight:"multi"===a?"44px":"picklist"===a?"30px":"1px",overflowX:q?"hidden":"initial",overflowY:q?"auto":"initial",flexWrap:q?"wrap":"nowrap",alignContent:q?"flex-start":"center",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:p?"#ADADAD":"form"===a?"#2d3c48":"initial",opacity:p?".7":1}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:(e,t)=>{const r=Object.assign(Object.assign({},e),{maxWidth:"100%"});return t.data.isFixed?Object.assign(Object.assign({},r),{backgroundColor:"gray"}):r},multiValueLabel:(e,t)=>{const r=Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});return t.data.isFixed?Object.assign(Object.assign({},r),{fontWeight:"bold",color:"white",paddingRight:6}):r},multiValueRemove:(e,t)=>Object.assign(Object.assign({},e),{display:t.data.isFixed?"none":"block",svg:{position:"relative",top:"2px"}})};let U=d?e.jsx(w.default,Object.assign({options:k,styles:W,onMenuOpen:V,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,onCreateOption:e=>{m&&m(!1),j?Array.isArray(H)?Y([...H,{value:e,label:e}]):Y([{value:e,label:e}]):Y({value:e,label:e}),D&&D(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:c?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):c},j&&{isMulti:!0},o&&{components:{Option:o}},S&&{components:{MenuList:S}},Q&&{components:{MultiValueRemove:Q}},s&&{components:{MenuList:s,Option:o}},C&&{key:C},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:X},M&&{placeholder:M},I&&{isLoading:I},T)):e.jsx(f.default,Object.assign({options:k,styles:W,onMenuOpen:V,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,noOptionsMessage:()=>null,isClearable:c?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):c},j&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===a&&{components:{Option:o,SingleValue:l}},l&&{components:{SingleValue:l}},S&&{components:{MenuList:S}},Q&&{components:{MultiValueRemove:Q}},s&&{components:{MenuList:s,Option:o}},l&&o&&{components:{SingleValue:l,Option:o}},C&&{key:C},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:X},M&&{placeholder:M},I&&{isLoading:I},T));return e.jsx("section",Object.assign({className:"_refSelectContainer",style:{width:"100%",minWidth:0}},T,{children:U}))},exports.SelectionDate=Ta,exports.SingleFormContainer=Fo,exports.SortByWrapper=li,exports.SwitchComponent=t=>{var{isForceUpdate:i,setForceUpdate:n,reset:a,setReset:o,evChange:l}=t,s=b(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:d,defaultChecked:c}=s,[C,p]=r.useState(c||!1);r.useEffect((()=>{i&&(p(c||!1),n&&n(!1)),a&&(p(!1),o&&o(!1))}),[i,n,a,o,c,p]);let g=Object.assign({},s);return delete g.defaultChecked,e.jsxs($a,{children:[e.jsx(_a,Object.assign({type:"checkbox",checked:C,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),l&&l(e)}},g)),e.jsx(eo,{role:"checkbox-label",htmlFor:d})]})},exports.TableBundleColumn=Ki,exports.TableColumnGroup=Ar,exports.TableComponent=t=>{const{children:i,$mode:n,$name:a=vo,$template:o,isForceUpdate:l,setForceUpdate:s}=t;r.useEffect((()=>{l&&s&&s(!1)}),[l,s]);const d=e=>i.filter((t=>r.isValidElement(t)?t.props["aria-label"]===e:null)),c=e=>{let t=[];if(e.length)if(e[0].props.children.length>1){let r=[];e[0].props.children.forEach((e=>{(Array.isArray(e)?e:[].concat(e)).forEach((e=>{r.push(e)}))})),t=r}else t=Array.isArray(e[0].props.children)?e[0].props.children:[].concat(e[0].props.children);return t},C=d("head"),p=C&&r.isValidElement(C[0])?C[0].props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(ao,Object.assign({role:"columnheader"},t.props.style&&{style:t.props.style},t.props.className&&{className:t.props.className},t.props,{children:t.props.children}),r))):null,g=d("body"),h=g.length?c(g):null,x=h?h.map(((t,r)=>{var i,n,a;return e.jsx(oo,Object.assign({role:"row"},(null===(i=t.props)||void 0===i?void 0:i.id)&&{id:t.props.id},(null===(n=t.props)||void 0===n?void 0:n.style)&&{style:t.props.style},(null===(a=t.props)||void 0===a?void 0:a.className)&&{className:t.props.className},t.props,{children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(so,Object.assign({},t.props,{children:t.props.children}),r)))}),r)})):null,m=d("foot"),u=m.length?c(m):null,v=u?u.map(((t,r)=>e.jsx(co,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(Co,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,f=d("boldFoot"),w=f.length?c(f):null,F=w?w.map(((t,r)=>e.jsx(po,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(go,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,y=d("final"),A=y.length?c(y):null,b=A?A.map(((t,r)=>e.jsx(ho,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(xo,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null;return e.jsxs(uo,{$mode:n,$name:a,$template:o,role:"table",children:[e.jsx(no,{role:"rowheader",children:p}),x,v&&v,F&&F,b&&b]})},exports.TableContentWrapper=Zi,exports.TableHeadLabel=fr,exports.TableHeadWrapper=wr,exports.TableItemColumn=Mr,exports.TableItemWrapper=Lr,exports.TableLabel=Dr,exports.TableRightGroup=yr,exports.TableRowGroup=Fr,exports.TabsContainer=qt,exports.TabsContent=Wt,exports.TabsHeader=Br,exports.TabsItem=jr,exports.TabsList=kr,exports.TabsWrapper=Or,exports.TextAreaComponent=t=>{var i,{$isError:n,reset:a,setReset:o,isForceUpdate:l,setForceUpdate:s,evChange:d,evBlur:c,isField:C,evChangeCustom:p,$isEmoji:g,$emojiStyles:h}=t,x=b(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji","$emojiStyles"]);const m=r.useRef(null),{name:u,defaultValue:v}=x,[f,w]=r.useState(null!==(i=null==v?void 0:v.toString())&&void 0!==i?i:"");r.useEffect((()=>{var e;l&&(w(null!==(e=null==v?void 0:v.toString())&&void 0!==e?e:""),s&&s(!1)),a&&(w(""),o&&o(!1))}),[l,s,a,o,v]);const F=e=>{const t=e.target.value;w(t)};let y=Object.assign({},x);return delete y.defaultValue,e.jsxs("div",{style:{position:"relative"},children:[e.jsx(ba,Object.assign({ref:m,$isError:n,value:f,onChange:e=>{F(e),d&&d(e)},onBlur:e=>{F(e),(e=>{c&&c(e),C&&u&&p&&p(u,e.target.value)})(e)}},y)),g?e.jsx(Aa,Object.assign({$mode:"textarea",evChange:e=>{var t;const r=f+e;if(w(r),u&&(null===(t=document.getElementsByName(u)[0])||void 0===t||t.focus()),m.current){const e={target:m.current,currentTarget:m.current};m.current.value=r,d&&d(e)}}},h&&{style:h})):null]})},exports.TextAreaRefComponent=Da,exports.TextComponent=B,exports.Title=Yt,exports.TotalLabel=Ni,exports.UpdateContainer=zr,exports.UploadComponent=t=>{var{children:r,mode:i}=t,n=b(t,["children","mode"]);const{id:a,width:o}=n;return"image"===i?e.jsxs(e.Fragment,{children:[r,e.jsx(_n,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]}):e.jsxs(Zn,{$width:o,children:[e.jsxs(Kn,{htmlFor:a,children:[e.jsx($n,{}),e.jsx(Jn,{children:r})]}),e.jsx(_n,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]})},exports.UploadDragDropComponent=t=>{var{children:i,id:n,name:a,evChange:o,evCreateMessage:l,label:s,subLabel:d,type:c,defaultValue:C,isValidFile:p=!0,evRemove:g}=t,h=b(t,["children","id","name","evChange","evCreateMessage","label","subLabel","type","defaultValue","isValidFile","evRemove"]);const{accept:x}=h,m=r.useRef(null),[u,v]=r.useState(),[f,w]=r.useState(!1),[F,y]=r.useState({fileSrc:"",fileType:"",previewKind:"file",fileLabel:""}),A=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?w(!0):"dragleave"===e.type&&w(!1)};r.useEffect((()=>{let e="",t=!0;return(async()=>{let r={fileSrc:"",fileType:"",previewKind:"file",fileLabel:""};if(p){if(u&&u.length){const t=u[0],n=Bt(t)||"document";if(r={fileSrc:t.name,fileType:n,previewKind:"file",fileLabel:t.name},"image"===n)e=URL.createObjectURL(t),r={fileSrc:e,fileType:n,previewKind:"image",fileLabel:t.name};else if("video"===n)try{r={fileSrc:await(i=t,new Promise(((t,r)=>{const n=document.createElement("video"),a=document.createElement("source"),o=URL.createObjectURL(i);a.src=o,a.type=i.type,e=o,n.appendChild(a),n.muted=!0,n.playsInline=!0,n.preload="metadata",n.onloadedmetadata=()=>{const e=document.createElement("canvas");e.width=n.videoWidth||720,e.height=n.videoHeight||122,n.currentTime=Math.min(.1,n.duration||0),n.onseeked=()=>{const i=e.getContext("2d");i?(i.drawImage(n,0,0,e.width,e.height),t(e.toDataURL("image/jpeg"))):r(new Error("Canvas context is not available"))}},n.onerror=()=>{r(new Error("Failed to load video"))},n.load()}))),fileType:n,previewKind:"image",fileLabel:t.name}}catch(e){r={fileSrc:t.name,fileType:n,previewKind:"file",fileLabel:t.name}}}else C&&(r={fileSrc:C,fileType:null!=c?c:"image",previewKind:"image"===(null!=c?c:"image")?"image":"file",fileLabel:C.split("/").pop()||C});var i;t&&y(r)}else t&&y(r)})(),()=>{t=!1,e&&URL.revokeObjectURL(e)}}),[C,p,c,u]);const{fileSrc:D,fileType:E,previewKind:B,fileLabel:j}=F;return e.jsxs(ea,{onDragEnter:A,className:f?"drag-active":"",children:[e.jsx(_n,Object.assign({ref:m,id:n,name:a,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&(o&&o(t.files),v(t.files))}},h)),e.jsx(ta,{id:"label-file-dragdrop-upload",htmlFor:n,children:e.jsx(ia,{children:D?e.jsxs(na,{children:[e.jsxs(aa,{$backgroundSrc:"image"===B?D:void 0,children:[e.jsx("span",{className:"file-type",children:E||"document"}),e.jsx("span",{className:"file-name",children:j})]}),void 0!==g&&e.jsx("i",{className:"remove-button remove",onClick:e=>{e.preventDefault(),v(void 0),y({fileSrc:"",fileType:"",previewKind:"file",fileLabel:""}),m.current&&(m.current.value=""),null==g||g(e)},title:"Remove File",children:"X"})]}):i?e.jsxs(la,{children:[e.jsx(sa,{}),e.jsx("span",{children:i})]}):e.jsxs(oa,{children:[e.jsxs("span",{children:[null!=s?s:"Drag & Drop file here to upload, or ",e.jsx("aside",{children:"browse"})]}),d&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx("span",{className:"_refSubLabel",children:d})]})]})})}),f&&e.jsx(ra,{onDragEnter:A,onDragLeave:A,onDragOver:A,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),w(!1),e.dataTransfer.files[0]){const t=x?x.split(",").map((e=>e.trim().replace(".",""))):null;for(let r=0;r<e.dataTransfer.files.length;r++){const i=e.dataTransfer.files[r].name.split(".").pop();if((null==t?void 0:t.length)&&i&&!t.includes(i)){const e=vt("failed","File type is not allowed. Please check again");return l&&l(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.abbreviateNumber=e=>{let t="";if(void 0!==e&&(t=e.toString(),e>=1e3)){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let n;for(let t=2;t>=1;t--){n=parseFloat((0!==i?e/Math.pow(1e3,i):e).toPrecision(t));if((n+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}t=n+r[i]}return t},exports.buttonActiveShadowStyle=lt,exports.buttonActiveStyle=ot,exports.buttonHoverStyle=at,exports.buttonStyle=nt,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.capitalizeWords=function(e,t=[]){const r=new Set(t);return e.replace(/\S+/g,((e,t)=>{const i=e.toLowerCase();return r.has(i)&&0!==t?i:i.charAt(0).toUpperCase()+i.slice(1)}))},exports.channelMap=e=>({2:"Shopify",3:"Lazada",5:"Blanja",6:"Matahari mall",7:"Magento 1",8:"Elevania",9:"Blibli","1o":"Magento 2",11:"Bukalapak",12:"Shopee",13:"Zalora Indonesia",15:"Tokopedia",16:"JD Indonesia",18:"Zilingo",19:"Woocommerce",21:"Manual SO",3532:"Aladin Mall",10017:"Grabmart",10030:"Tiktok",10810:"Whatsapp"}[e.toString()]||""),exports.clearList=Ke,exports.colorCommonQuantity=e=>e<=0?"red":"green",exports.colorStatus=e=>{switch(e){case"Pending_payment":case"Pending_courier":case"pending payment":case"Pending Payment":case"pending courier":case"not started yet":case"Pending":case"Draft":case"Not_picked":case"Not Picked":case"Unpaid":case"Overdue":case"Write_off":case"Write Off":case"write off":case"Written Off":case"Failed Delivery":case"failed delivery":return"#FF585C";case"Open":case"open":case"In_picking":case"Partial_picked":case"in picking":case"In Picking":case"Incoming":case"not shipped":case"Not Shipped":case"Partial_paid":return"#F8813E";case"Picked":case"picked":case"Packed":case"Ready_to_ship":case"ready to ship":case"Ready to Ship":case"Ready_to_pickup":case"Shipped":case"shipped":case"Fulfilled":case"Delivered":case"delivered":case"Picked_up":case"Invoiced":case"Not_invoiced":case"Invoice_paid":case"Completed":case"completed":case"Paid":case"In Progress":case"Active":case"Confirmed":case"Adjusted":return"#21BA45";case"Cancelled":case"cancelled":case"Voided":return"#a9a9a9";case"Returned":case"return":case"Return":return"#ff585d";case"Closed":return"#2c913d";default:return"green"}},exports.colorStockAdjust=(e,t)=>e<t?"lightgreen":"red",exports.colorStockInboundQuantity=e=>["Inbounded","Incompleted","Putaway"].includes(e)?"lightgreen":"yellow",exports.colorStockInboundStatus=e=>{switch(e){case"inbounded":case"Inbounded":case"incompleted":case"Incompleted":case"Incomplete":case"putaway":case"Putaway":return"#21BA45";case"waiting-inbound":case"Waiting Inbound":case"partial-inbounded":case"Partial Inbounded":case"partial-putaway":case"Partial Putaway":return"#F8813E";default:return"#696969"}},exports.colorStockQuantity=(e,t)=>e===t?"lightgreen":"red",exports.colorStockStatus=e=>{switch(e){case"success":case"approved":case"putaway":case"adjusted":case"Adjusted":case"outbounded":case"Outbounded":return"#21BA45";case"waiting":case"waiting adjustment":case"Waiting Adjustment":case"waiting outbound":case"Waiting Outbound":return"#F8813E";default:return"#696969"}},exports.commonCSSLists=st,exports.configDateRange=Yo,exports.configDateRangeAnt=Vo,exports.currencyNumber=wt,exports.dateRangeStatus=e=>({today:"Today",lastweek:"Last 7 days",lastsecondweek:"Last 14 days",lastmonth:"Last 30 days",lastquart:"Last 90 days",custom:"Date"}[e]),exports.debounce=(e,t=300)=>{let r;return function(...i){clearTimeout(r),r=setTimeout((()=>e.apply(this,i)),t)}},exports.dropBase=tt,exports.elipsis=$e,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=xt,exports.evCheckAllValidation=e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r],n=Object.keys(i);for(let e of n){if(Array.isArray(i[e]))for(let r=0;r<i[e].length;r++){const n=i[e][r],a=Object.keys(n);for(let e of a){if(Array.isArray(n[e]))for(let r=0;r<n[e].length;r++){const i=n[e][r],a=Object.keys(i);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evCheckAllValidationByHeader=(e,t)=>{let r=!1;const i=(e,r,i,n=null)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,n||"")}return{approved:!0}},n=[];for(let t=0;t<e.length;t++){const a=e[t],o=Object.keys(a);for(const e of o){let t={approved:!0};if(Array.isArray(a[e]))for(let n=0;n<a[e].length;n++){const o=a[e][n],l=Object.keys(o);for(const e of l)if(Array.isArray(o[e]))for(let n=0;n<o[e].length;n++){const a=o[e][n],l=Object.keys(a);for(const n of l)t=i(n,a[n]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===n.indexOf("_error")||r||(r=!0)}else t=i(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}else t=i(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}n.push(a)}return{error:r,data:n}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let r=!1;const i=(e,r,i,n)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,void 0,bt(e.validations,n))}return{approved:!0}};let n=[...e];for(let e=0;e<n.length;e++){let t=n[e],a=Object.keys(t);for(const e of a)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let n=0;n<t[e].length;n++){const a=t[e][n],o=Object.keys(a);for(const t of o)if(!Array.isArray(a[t])){const n=i(`${e}-${t}`,a[t],0,a);n.approved||(a[`${t}_error`]=n.errors[0],r||(r=!0))}}else{const n=i(e,t[e],0,t);n.approved||(t[`${e}_error`]=n.errors[0],r||(r=!0))}n.splice(e,1,t)}return{error:r,data:n}},exports.evCloseDropdown=e=>{const t=e.closest("._refContainer")||e.closest("._refDropdownPortal");if(!!t&&t.classList.contains("is-shown")){const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByClassName("_refDropdownPortal is-shown");if(null==e?void 0:e.length)for(let t=0;t<e.length;t++){const r=e[t].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),e[t].classList.remove("is-shown")}if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const r=t[e].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),t[e].classList.remove("is-shown")}const r=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),r){r.style.overflow="auto";r.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=vt("failed","Validation Errors found, Please fix it!");e&&e(t);const r=document.querySelectorAll(".cell-error");r.length&&Dt(r[0])},exports.evForceCloseDropdown=Et,exports.evGenerateValueMatch=bt,exports.evHighlight=e=>{if(!(null==e?void 0:e.length))return!1;const t=10*Math.ceil(e.length/10)<=10?30:10*Math.ceil(e.length/10)>=200?200:10*Math.ceil(e.length/10);setTimeout((()=>{const t=document.querySelectorAll("._refMasterTableBodyContent.is-highlighted");if(null==t?void 0:t.length)for(const e of t)e.classList.remove("is-highlighted");for(let t=0;t<e.length;t++){const r=e[t],i=document.querySelector(`#row-${r}`);if(i&&(i.classList.add("is-highlighted"),setTimeout((()=>{i.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&Dt(t,140)}}}),t)},exports.evKeyMapperScanner=e=>{var t=e.which;switch(!0){case t>=48&&t<=90:case t>=106&&t<=111||45===t||173===t||189===t:if(void 0!==e.key&&""!==e.key)return e.key;var r=String.fromCharCode(t);switch(e.shiftKey){case!1:r=r.toLowerCase();break;case!0:r=r.toUpperCase()}return r;case t>=96&&t<=105:return t-96+0}return""},exports.evRemoveActiveButton=()=>{const e=document.querySelector("#btn-active-red");e&&e.removeAttribute("id")},exports.evScrollTo=Dt,exports.evSetTotal=(e,t,r)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),r&&"function"==typeof r&&r()},exports.evToogleSelect=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},exports.evUpdateInputRc=(e,t)=>{var r;if(!e)return!1;const i=null===(r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===r?void 0:r.set;i&&i.call(e,void 0===t?"":t);const n=new Event("input",{bubbles:!0});e.dispatchEvent(n)},exports.formLabel=it,exports.formatNumber=mt,exports.generateAddress=e=>{let t="-";if(e){t=(e.address1||e.address2?(e.address1?e.address1+", ":"")+(e.address2||"")+"<br/>":"")+(e.subDistrict||e.district||e.city?(e.subDistrict?e.subDistrict+", ":"")+(e.district?e.district+", ":"")+(e.city||"")+"<br/>":"")+(e.postalCode?e.postalCode+"<br/>":"")+(e.phone||"")}return t},exports.generateMessage=vt,exports.generateMessageQuestion=ft,exports.generateSUM=(e,t,r)=>{let i=0;return t&&e&&(i=t.reduce(((t,i)=>{let n;if(Array.isArray(e)){n=i;for(const t of e)t in n&&(n=n[t])}else n=i[e];return t+("currency"===r?parseInt(n.replace(/,.*|[^0-9]/g,"")):n)}),0)),i},exports.generateValue=yt,exports.generateValueTable=(e,t)=>{let r=e;if(t&&""!==e){const i=t.toLowerCase(),n="string"==typeof e?parseInt(e):e;/price/.test(i)?r=wt(n):/width/.test(i)||/length/.test(i)||/height/.test(i)?r=e+" cm":/weight/.test(i)?r=e+" gr":/discount/.test(i)&&(r=e+" %")}return r},exports.getFileType=Bt,exports.getSizeContainer=Ft,exports.getStorage=(e,t="string",r,i="load")=>{let n;switch(null!==sessionStorage.getItem(i)?n=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):r:(n=null!==localStorage.getItem(e)?localStorage.getItem(e):r,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,n)),t){case"boolean":n=void 0!==n&&"undefined"!==n&&"true"===n;break;case"number":case"integer":n=void 0!==n&&"undefined"!==n?parseInt(n):0;break;case"object":case"array":n=void 0!==n&&"undefined"!==n?"string"==typeof n?""!==n?JSON.parse(n):void 0:n:void 0;break;default:n=void 0===n||"undefined"===n?"":n}return n},exports.headTable=rt,exports.historyType=e=>{if(!e)return"";switch(e){case"Transfer":return"ST";case"Adjustment":case"Adjustment (API)":case"Adjustment (Interface & Excel)":return"SA";case"Inbound":return"SI";case"Outbound":return"SOB";case"Return":return"RMA";case"Sales Order":return"SO";default:return""}},exports.humanise=e=>e?e.replace(/_/g," ").replace(/-/g," "):"",exports.isCustomVariantChannel=e=>{let t=!1;if(void 0!==e){t=[9,3,12,10030,15,13].includes(e)}return t},exports.isDesktop=()=>document.body.clientWidth>=1024,exports.isMobile=()=>document.body.clientWidth<768,exports.isTablet=()=>document.body.clientWidth>=768&&document.body.clientWidth<1024,exports.multiElipsis=_e,exports.pageMasterTable=e=>{switch(e){case"create-master":case"edit-master":return"master";case"create-listing":case"edit-listing":return"listing";case"confirm-adjustment":case"confirm-inbound":case"confirm-outbound":case"create-adjustment":case"create-inbound":case"create-outbound":case"create-transfer":case"create-price":return"stock";case"create-promotion":return"promotion";case"create-paymentreceive":return"payment";case"edit-picklist":case"create-picklist":return"picklist";default:return""}},exports.pasteIntoInput=(e,t)=>{if(e.focus(),"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd){var r=e.value,i=e.selectionStart;e.value=r.slice(0,i)+t+r.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=i+t.length}else if(void 0!==document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=Je,exports.setStorage=(e,t,r)=>{if(null==t)return!1;const i="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(r){case"session":sessionStorage.setItem(e,i);break;case"local":localStorage.setItem(e,i);break;default:sessionStorage.setItem(e,i),localStorage.setItem(e,i)}},exports.statusColor=e=>{if(!e)return"";switch(e){case"Picked Up":case"Shipped":case"Delivered":case"Completed":return"green";case"Ready to Ship":case"Not Shipped":return"#F8813E";case"Pending Payment":return"red";default:return""}},exports.thirdElipsis=et,exports.typePage=e=>{if(!e)return"";switch(e){case"adjustment":case"inbound":case"outbound":return"stock";case"bundle":return"bundle";case"sales":return"sales";default:return""}},exports.unCamelCaseKeys=e=>Object.entries(e).reduce(((e,[t,r])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=r,e)),{}),exports.unescapeHTML=e=>e?e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"):e,exports.validateByApproveJs=At;
|
|
5182
|
+
`,To=Ft().width,Ho=Ft().height,Yo={rangeDate:"lastsecondweek",startDate:A.default().clone().subtract(13,"days").format("YYYY-MM-DD"),endDate:A.default().clone().format("YYYY-MM-DD"),placeholder:"Last 14 days",minDate:A.default().clone().subtract(89,"days").format("YYYY-MM-DD")},Vo={startDate:A.default().clone().subtract(13,"days"),endDate:A.default().clone(),minDate:A.default().clone().subtract(89,"days")};Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return o.components}}),Object.defineProperty(exports,"AsyncCreatableSelect",{enumerable:!0,get:function(){return F.default}}),exports.BoxContainer=sr,exports.BreadcrumbContainer=nr,exports.BulkActionWrapper=dr,exports.BulkSelectContainer=Wi,exports.ButtonComponent=dn,exports.ButtonGroup=Wr,exports.ButtonLabel=Yr,exports.CardContainer=di,exports.CardWrapper=Ci,exports.CheckboxComponent=t=>{var{id:i,name:n,children:a,$flow:o,extendKey:l,extendClass:s,reset:d,setReset:c,isForceUpdate:C,setForceUpdate:p,evChange:g,$isError:h,$iconRight:x}=t,m=b(t,["id","name","children","$flow","extendKey","extendClass","reset","setReset","isForceUpdate","setForceUpdate","evChange","$isError","$iconRight"]);const{disabled:u,defaultChecked:v}=m,[f,w]=r.useState(v||!1),F=r.useRef(null);r.useEffect((()=>{C&&(w(v||!1),p&&p(!1)),d&&(w(!1),c&&c(!1))}),[d,c,C,p,v]);return delete Object.assign({},m).defaultChecked,e.jsxs(Tt,{$flow:o,$iconRight:x,ref:F,htmlFor:i,disabled:u||!1,children:[e.jsx(zt,Object.assign({id:i,type:"checkbox",checked:f,name:n,evChange:e=>{w(e.target.checked),g&&g(e)}},s&&{className:s},""!==l&&{"data-key":l},m)),a,e.jsx(Qt,Object.assign({$isError:h},m["data-qa-id"]&&{"data-qa-id":m["data-qa-id"]}))]})},exports.CollapseContainer=Ir,exports.ContentLoaderAccountsList=()=>e.jsxs(Do,{height:284,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 290 284",children:[e.jsx("rect",{x:"10",y:"15",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"15",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"30",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"45",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"23",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"70",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"70",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"85",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"100",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"77",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"125",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"125",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"140",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"155",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"131",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"180",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"180",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"195",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"210",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"185",rx:"50",ry:"50",width:"25",height:"25"}),e.jsx("rect",{x:"10",y:"235",rx:"0",ry:"0",width:"40",height:"40"}),e.jsx("rect",{x:"62",y:"235",rx:"0",ry:"0",width:"90",height:"13"}),e.jsx("rect",{x:"62",y:"250",rx:"0",ry:"0",width:"185",height:"13"}),e.jsx("rect",{x:"62",y:"265",rx:"0",ry:"0",width:"50",height:"11"}),e.jsx("rect",{x:"257",y:"239",rx:"50",ry:"50",width:"25",height:"25"})]}),exports.ContentLoaderActivityList=()=>e.jsxs(Do,{height:260,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"10",y:"15",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"15",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"35",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"65",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"65",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"85",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"115",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"115",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"135",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"165",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"165",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"185",rx:"0",ry:"0",width:"330",height:"11"}),e.jsx("rect",{x:"10",y:"215",rx:"50",ry:"50",width:"35",height:"35"}),e.jsx("rect",{x:"55",y:"215",rx:"0",ry:"0",width:"330",height:"13"}),e.jsx("rect",{x:"55",y:"235",rx:"0",ry:"0",width:"330",height:"11"})]}),exports.ContentLoaderAddition=()=>{let t=To>=994?To>=1031&&To>=1031?To-100:To-60:994;const r=t-777,i=t-665,n=t-555,a=t-405,o=t-230;return e.jsx(Io,{children:e.jsxs(Do,{speed:1,width:t,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"38",y:"15",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:95,y:"15",rx:"2",ry:"2",width:r,height:"61"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:n,y:"15",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:140,height:"61"})]})})},exports.ContentLoaderAnalyticsMenu=()=>e.jsx(Do,{height:60,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"15",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderCategoryList=()=>{const t=window.innerHeight-286,i=To>=1336||To>=1112?400:300,n=32+i+12,a=To-i-85,o=t?Math.ceil((t-78)/70):0;return e.jsx(ko,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:32,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),Array.apply(0,Array(o)).map(((t,o)=>{const l=70*o+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:32,y:l,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:l,rx:"2",ry:"2",width:a,height:"31"})]},o)}))]})})},exports.ContentLoaderChatAccounts=({mode:t})=>{const i=document.querySelector("._refChatContainer"),n=i?i.offsetWidth:0,a="single"===t?65:i&&i.offsetHeight-140>=0?i.offsetHeight:0,o=n-48-88-20,l=o+60+16,s="single"===t?1:Math.floor(a/64);let d=0;return e.jsx(Do,{height:a,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(s)).map(((t,i)=>{const n=14+d,a=32+d,s=64+d;return d=s,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"60",y:n,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:"60",y:a,rx:"0",ry:"0",width:o,height:"14"}),e.jsx("rect",{x:l,y:n,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:l,y:a,rx:"0",ry:"0",width:"66",height:"14"}),e.jsx("rect",{x:"0",y:s,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatMessages=({mode:t})=>{const r=document.querySelectorAll("._refChatContainer > article"),i=document.querySelector("._refChatContainer");let n=r[0]&&r[0].offsetWidth>=0?r[0].offsetWidth:0;n=n<=0?i&&i.offsetWidth>=0?i.offsetWidth:0:n;const a="single"===t?234:i&&i.offsetHeight>=0?i.offsetHeight:0,o=n-32<=360?n-32:360,l=n-o-16,s=a-145,d="single"===t?1:Math.floor(s/76);let c=0;return e.jsx(Do,{height:s,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,r)=>{const i=0===r?s-76:c-76;return c=i,e.jsx("rect",{x:r>=3?"16":l,y:i,rx:"10",ry:"10",width:o,height:"60"},r)}))})},exports.ContentLoaderChatProducts=({mode:t})=>{const i=document.querySelector("._refTabsContent"),n=document.querySelector("._refChatContainer"),a=i&&i.offsetWidth-30>=0?i.offsetWidth-30:0,o="single"===t?65:n&&n.offsetHeight-204>=0?n.offsetHeight-204:0,l=a-48-88,s=l+60+16+22,d="single"===t?1:Math.floor(o/64);let c=0;return!(a<=0)&&e.jsx(Do,{height:o,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:Array.apply(0,Array(d)).map(((t,i)=>{const n=14+c,a=32+c,o=64+c;return c=o,e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:"16",y:n,rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"38",y:n,rx:"4",ry:"4",width:"32",height:"32"}),e.jsx("rect",{x:"78",y:n,rx:"0",ry:"0",width:l,height:"14"}),e.jsx("rect",{x:"78",y:a,rx:"0",ry:"0",width:l,height:"20"}),e.jsx("rect",{x:s,y:n,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:s,y:a,rx:"0",ry:"0",width:"20",height:"14"}),e.jsx("rect",{x:"0",y:o,rx:"0",ry:"0",width:"100%",height:"1"})]},i)}))})},exports.ContentLoaderChatStores=()=>e.jsxs(Do,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"56",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"84",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"112",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"140",rx:"0",ry:"0",width:"100%",height:"14"}),e.jsx("rect",{x:"0",y:"168",rx:"0",ry:"0",width:"100%",height:"14"})]}),exports.ContentLoaderDashboardCard=()=>e.jsx(So,{children:e.jsxs(Do,{height:220,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"200",height:"50"}),e.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"100%",height:"25"}),e.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"100%",height:"15"})]})}),exports.ContentLoaderEditBundle=()=>e.jsxs(Do,{height:500,width:1150,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"25",width:"35",height:"35"}),e.jsx("rect",{x:"50",y:"25",width:"400",height:"35"}),e.jsx("rect",{x:"50",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"235",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"420",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"605",y:"75",width:"170",height:"35"}),e.jsx("rect",{x:"50",y:"125",width:"170",height:"35"}),e.jsx("rect",{x:"0",y:"245",width:"200",height:"35"}),e.jsx("rect",{x:"420",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"585",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"915",y:"305",width:"150",height:"25"}),e.jsx("rect",{x:"0",y:"345",width:"25",height:"25"}),e.jsx("rect",{x:"40",y:"345",width:"360",height:"25"}),e.jsx("rect",{x:"420",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"585",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"915",y:"345",width:"150",height:"25"}),e.jsx("rect",{x:"750",y:"395",width:"315",height:"25"})]}),exports.ContentLoaderFilterCategories=()=>e.jsxs(Do,{height:172,width:210,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"4",y:"12",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"12",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"36",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"36",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"60",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"60",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"84",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"84",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"108",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"108",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"132",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"132",rx:"2",ry:"2",width:"170",height:"14"}),e.jsx("rect",{x:"4",y:"156",rx:"4",ry:"4",width:"14",height:"14"}),e.jsx("rect",{x:"28",y:"156",rx:"2",ry:"2",width:"170",height:"14"})]}),exports.ContentLoaderFilters=()=>e.jsxs(Do,{height:31,width:500,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"100",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"200",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"300",y:"5",rx:"8",ry:"8",width:"90",height:"20"}),e.jsx("rect",{x:"400",y:"5",rx:"8",ry:"8",width:"90",height:"20"})]}),exports.ContentLoaderInvoiceListPaymentreceiveDetail=()=>e.jsx(Mo,{className:"_refLoadingList",children:e.jsxs(Do,{speed:1,width:To,height:250,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1336px",minWidth:"1024px"},children:[e.jsx("rect",{x:"40",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),e.jsx("rect",{x:"190",y:"0",rx:"2",ry:"2",width:"130",height:"21"}),e.jsx("rect",{x:"330",y:"0",rx:"2",ry:"2",width:"250",height:"21"}),e.jsx("rect",{x:"600",y:"0",rx:"2",ry:"2",width:"200",height:"21"}),e.jsx("rect",{x:To-240,y:"0",rx:"2",ry:"2",width:"200",height:"21"}),e.jsx("rect",{x:"40",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"50",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"50",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"50",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"50",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"100",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"100",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"100",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"100",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"150",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"150",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"150",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"150",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:"40",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"190",y:"200",rx:"2",ry:"2",width:"130",height:"31"}),e.jsx("rect",{x:"330",y:"200",rx:"2",ry:"2",width:"250",height:"31"}),e.jsx("rect",{x:"600",y:"200",rx:"2",ry:"2",width:"200",height:"31"}),e.jsx("rect",{x:To-240,y:"200",rx:"2",ry:"2",width:"200",height:"31"})]})}),exports.ContentLoaderMasterBundleDetail=()=>{const t=To>=1336?540:To>=1112?320:250,r=t+30,i=150,n=r+i+15,a=80,o=n+a+15,l=150,s=o+l+15;return e.jsx(Oo,{children:e.jsxs(Do,{speed:1,width:To,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:t,height:"15"}),e.jsx("rect",{x:r,y:"25",rx:"2",ry:"2",width:i,height:"15"}),e.jsx("rect",{x:n,y:"25",rx:"2",ry:"2",width:a,height:"15"}),e.jsx("rect",{x:o,y:"25",rx:"2",ry:"2",width:l,height:"15"}),e.jsx("rect",{x:s,y:"25",rx:"2",ry:"2",width:80,height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"60",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"60",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"60",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"60",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"110",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"110",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"110",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"110",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"160",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"160",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"160",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"160",rx:"2",ry:"2",width:80,height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"210",rx:"2",ry:"2",width:i,height:"30"}),e.jsx("rect",{x:n,y:"210",rx:"2",ry:"2",width:a,height:"30"}),e.jsx("rect",{x:o,y:"210",rx:"2",ry:"2",width:l,height:"30"}),e.jsx("rect",{x:s,y:"210",rx:"2",ry:"2",width:80,height:"30"})]})})},exports.ContentLoaderMasterDetail=()=>{const t=To-250,r=To-150,i=To-80,n=140,a=183,o=200,l=388,s=140,d=533,c=140,C=678,p=140,g=823,h=140;return e.jsx(zo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:38,y:"20",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:60,height:"30"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:30,height:"30"}),e.jsx("rect",{x:"50",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"170",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"290",y:"80",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"38",y:"130",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"130",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"165",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"165",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"200",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"200",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"235",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"235",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:"38",y:"270",rx:"2",ry:"2",width:"150",height:"20"}),e.jsx("rect",{x:"200",y:"270",rx:"2",ry:"2",width:"285",height:"20"}),e.jsx("rect",{x:38,y:"320",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"320",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"320",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"320",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"320",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"320",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"370",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"370",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"370",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"370",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"370",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"370",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"420",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"420",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"420",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"420",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"420",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"420",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:38,y:"470",rx:"2",ry:"2",width:n,height:"31"}),e.jsx("rect",{x:a,y:"470",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"470",rx:"2",ry:"2",width:s,height:"31"}),e.jsx("rect",{x:d,y:"470",rx:"2",ry:"2",width:c,height:"31"}),e.jsx("rect",{x:C,y:"470",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:g,y:"470",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:"38",y:"530",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:38,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:108,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:178,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:248,y:"560",rx:"2",ry:"2",width:"50",height:"50"}),e.jsx("rect",{x:318,y:"560",rx:"2",ry:"2",width:"50",height:"50"})]})})},exports.ContentLoaderMasterList=()=>{const t=Ho-286,i=To>=1336?370:To>=1112?250:150,n=29+i+12,a=To>=1336?130:To>=1112?110:100,o=n+a+12,l=To>=1336?100:95,s=o+l+12,d=To>=1336?90:80,c=s+d+12,C=To>=1336?85:75,p=c+C+12,g=To>=1336?80:70,h=p+g+12,x=To>=1336?70:60,m=h+x+12,u=To>=1336?95:85,v=To-100-24,f=Ho&&Math.ceil((t-78)/70)>0?Math.ceil((t-78)/70):0;let w=m+u+12,F=[];for(let e=0;w+122<v;e++)F.push({x:m+u+12+122*e,w:110}),w=m+u+12+122*e;return e.jsx(ko,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:C,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),e.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:u,height:"16"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:v,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(f)).map(((t,f)=>{const w=70*f+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:w,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:w,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:w,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:w,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:c,y:w,rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:p,y:w,rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:h,y:w,rx:"2",ry:"2",width:x,height:"31"}),e.jsx("rect",{x:m,y:w,rx:"2",ry:"2",width:u,height:"31"}),F.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:w,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:v,y:w,rx:"2",ry:"2",width:100,height:"31"})]},f)}))]})})},exports.ContentLoaderMasterListingDetail=()=>{const t=To>=1336?645:To>=1112?400:300,r=t+45,i=t+90;return e.jsx(Oo,{children:e.jsxs(Do,{speed:1,width:To,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"15",y:"25",rx:"2",ry:"2",width:r,height:"15"}),e.jsx("rect",{x:i,y:"25",rx:"2",ry:"2",width:"250",height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"60",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"60",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"110",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"110",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"160",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"160",rx:"2",ry:"2",width:"250",height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"210",rx:"2",ry:"2",width:t,height:"30"}),e.jsx("rect",{x:i,y:"210",rx:"2",ry:"2",width:"250",height:"30"})]})})},exports.ContentLoaderNonOrderList=()=>{const t=window.innerWidth,i=t>=1336?150:t>=1112?110:100,n=29+i+12,a=t>=1336?120:t>=1112?110:100,o=n+a+12,l=t>=1336||t>=1112?110:105,s=o+l+12,d=t>=1336||t>=1112?140:130,c=s+d+12,C=t>=1336?130:t>=1112?120:100,p=c+C+12,g=t>=1336?115:t>=1112?105:100,h=p+g+12,x=t>=1336?150:t>=1112?110:100,m=t-150-24,u=Ho?Math.ceil((Ho-78)/70):0;let v=h+x+12,f=[];for(let e=0;v+122<m;e++)f.push({x:h+x+12+122*e,w:110}),v=h+x+12+122*e;return e.jsx(ko,{className:"_refLoadingList",children:e.jsxs(Do,{speed:1,width:t,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:29,y:"23",rx:"2",ry:"2",width:i,height:"16"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:a,height:"16"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:l,height:"16"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:d,height:"16"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:C,height:"16"}),e.jsx("rect",{x:p,y:"23",rx:"2",ry:"2",width:g,height:"16"}),e.jsx("rect",{x:h,y:"23",rx:"2",ry:"2",width:x,height:"16"}),f.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:"23",rx:"2",ry:"2",width:t.w,height:"16"})},i))),e.jsx("rect",{x:m,y:"23",rx:"2",ry:"2",width:100,height:"16"}),Array.apply(0,Array(u)).map(((t,u)=>{const v=70*u+78;return e.jsxs(r.Fragment,{children:[e.jsx("rect",{x:29,y:v,rx:"2",ry:"2",width:i,height:"31"}),e.jsx("rect",{x:n,y:v,rx:"2",ry:"2",width:a,height:"31"}),e.jsx("rect",{x:o,y:v,rx:"2",ry:"2",width:l,height:"31"}),e.jsx("rect",{x:s,y:v,rx:"2",ry:"2",width:d,height:"31"}),e.jsx("rect",{x:c,y:v,rx:"2",ry:"2",width:C,height:"31"}),e.jsx("rect",{x:p,y:v,rx:"2",ry:"2",width:g,height:"31"}),e.jsx("rect",{x:h,y:v,rx:"2",ry:"2",width:x,height:"31"}),f.map(((t,i)=>e.jsx(r.Fragment,{children:e.jsx("rect",{x:t.x,y:v,rx:"2",ry:"2",width:t.w,height:"31"})},i))),e.jsx("rect",{x:m,y:v,rx:"2",ry:"2",width:100,height:"31"})]},u)}))]})})},exports.ContentLoaderNotifUpdate=()=>e.jsx(Do,{height:36,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"36"})}),exports.ContentLoaderOneLine=({$width:t,$height:r})=>{const i=t||75,n=r||30;return e.jsx(Do,{height:n,width:i,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:`0 0 ${i} ${n}`,children:e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:i,height:n})})},exports.ContentLoaderOneLinePromotion=()=>e.jsx(Do,{height:16,width:86,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,viewBox:"0 0 86 16",children:e.jsx("rect",{x:"0",y:"2",rx:"5",ry:"5",width:80,height:14})}),exports.ContentLoaderOnlyBodyDashboardCard=()=>e.jsxs(Do,{height:650,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"30",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"55",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"80",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"105",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"130",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"155",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"180",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"205",rx:"0",ry:"0",width:"50%",height:"20"}),e.jsx("rect",{x:"0",y:"250",rx:"0",ry:"0",width:"100%",height:"250"}),e.jsx("rect",{x:"0",y:"525",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"550",rx:"0",ry:"0",width:"100%",height:"15"}),e.jsx("rect",{x:"0",y:"575",rx:"0",ry:"0",width:"100%",height:"15"})]}),exports.ContentLoaderOnlyBodyTableList=()=>{const t=window.innerHeight-96,r=Math.floor((To-110)/120),i=Math.floor((t-20)/50);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const i=r+120*(r+1)-65;return e.jsx("rect",{x:i,y:n,rx:"2",ry:"2",width:100,height:"30"},r)}))}))})})},exports.ContentLoaderOnlyHeaderTableList=()=>{const t=Math.floor((To-110)/120);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:100,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[0].map(((r,i)=>Array.apply(0,Array(t)).map(((t,r)=>{const n=r+120*(r+1)-65;return e.jsx("rect",{x:n,y:20,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))))})})},exports.ContentLoaderOrderDetail=()=>{const t=To-700,r=To-432,i=To-302,n=To-217,a=To-72,o=To-777,l=To-665,s=To-625,d=To-515,c=To-365,C=To-190,p=140,g=To-777,h=To-629,x=To-529,m=To-389,u=To-214;return e.jsx(zo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"38",y:"18",rx:"2",ry:"2",width:"36",height:"36"}),e.jsx("rect",{x:84,y:"18",rx:"2",ry:"2",width:t,height:"36"}),e.jsx("rect",{x:r,y:"20",rx:"2",ry:"2",width:120,height:"32"}),e.jsx("rect",{x:i,y:"20",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:n,y:"20",rx:"2",ry:"2",width:140,height:"32"}),e.jsx("rect",{x:a,y:"20",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"38",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"152",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"266",y:"85",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"64",y:"150",rx:"2",ry:"2",width:"31",height:"61"}),e.jsx("rect",{x:121,y:"150",rx:"2",ry:"2",width:g,height:"61"}),e.jsx("rect",{x:h,y:"150",rx:"2",ry:"2",width:90,height:"61"}),e.jsx("rect",{x:x,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:m,y:"150",rx:"2",ry:"2",width:160,height:"61"}),e.jsx("rect",{x:u,y:"150",rx:"2",ry:"2",width:140,height:"61"}),e.jsx("rect",{x:"38",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"284",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"324",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"364",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"404",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"389",y:"444",rx:"2",ry:"2",width:"285",height:"31"}),e.jsx("rect",{x:"38",y:"515",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"515",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"515",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"515",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,y:"515",rx:"2",ry:"2",width:140,height:"31"}),e.jsx("rect",{x:c,y:"515",rx:"2",ry:"2",width:160,height:"31"}),e.jsx("rect",{x:C,y:"515",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"555",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"555",rx:"2",ry:"2",width:o,height:"31"}),e.jsx("rect",{x:l,y:"555",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:s,y:"555",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:d,y:"555",rx:"2",ry:"2",width:140,height:"31"}),e.jsx("rect",{x:c,y:"555",rx:"2",ry:"2",width:160,height:"31"}),e.jsx("rect",{x:C,y:"555",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:C,y:"604",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:C,y:"654",rx:"2",ry:"2",width:p,height:"31"}),e.jsx("rect",{x:"38",y:"684",rx:"2",ry:"2",width:t,height:"36"})]})})},exports.ContentLoaderOrderList=()=>{const t=100,r=To-600,i=To-405,n=120,a=To-275,o=To-190,l=140,s=To-45,d=To-18,c=To-777,C=To-665,p=To-625,g=To-515,h=140,x=To-365,m=160,u=To-190,v=140;return e.jsxs(Bo,{children:[e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})}),e.jsx(jo,{children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"52",y:"15",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:t,y:"15",rx:"2",ry:"2",width:r,height:"31"}),e.jsx("rect",{x:i,y:"15",rx:"2",ry:"2",width:n,height:"32"}),e.jsx("rect",{x:a,y:"15",rx:"2",ry:"2",width:80,height:"32"}),e.jsx("rect",{x:o,y:"15",rx:"2",ry:"2",width:l,height:"32"}),e.jsx("rect",{x:s,y:"15",rx:"2",ry:"2",width:30,height:"32"}),e.jsx("rect",{x:"52",y:"80",rx:"2",ry:"2",width:"200",height:"15"}),e.jsx("rect",{x:9,y:"110",rx:"0",ry:"0",width:d,height:"2"}),e.jsx("rect",{x:"52",y:"127",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:95,y:"127",rx:"2",ry:"2",width:c,height:"50"}),e.jsx("rect",{x:C,y:"127",rx:"2",ry:"2",width:26,height:"31"}),e.jsx("rect",{x:p,y:"127",rx:"2",ry:"2",width:90,height:"31"}),e.jsx("rect",{x:g,y:"127",rx:"2",ry:"2",width:h,height:"31"}),e.jsx("rect",{x:x,y:"127",rx:"2",ry:"2",width:m,height:"31"}),e.jsx("rect",{x:u,y:"127",rx:"2",ry:"2",width:v,height:"65"})]})})]})},exports.ContentLoaderPOSCategory=()=>{const t=Math.floor(31*Math.random())+50;return e.jsx(Do,{height:30,width:t,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"4",ry:"4",width:"100%",height:"30"})})},exports.ContentLoaderPOSItem=()=>e.jsxs(Do,{height:116,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx(Qo,{$width:"calc(100% - 20px)",x:"10",y:"10",rx:"0",ry:"0",height:"16"}),e.jsx("rect",{x:"10",y:"35",rx:"0",ry:"0",width:"75%",height:"16"}),e.jsx(Qo,{$width:"calc(100% - 20px)",x:"10",y:"63",rx:"0",ry:"0",height:"16"}),e.jsx(Qo,{$x:"calc(50% - 30px)",y:"95",rx:"4",ry:"4",width:"60px",height:"16"})]}),exports.ContentLoaderPOSStore=()=>e.jsxs(Do,{height:125,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"100%",height:"20"}),e.jsx("rect",{x:"0",y:"28",rx:"0",ry:"0",width:"100%",height:"20"}),e.jsx("rect",{x:"0",y:"70",rx:"0",ry:"0",width:"180px",height:"16"}),e.jsx("rect",{x:"0",y:"110",rx:"0",ry:"0",width:"100px",height:"14"})]}),exports.ContentLoaderPagination=()=>{const t=To/2,r=t-160,i=t-128,n=t-96,a=t-64,o=t-32,l=t+0,s=t+32,d=t+64,c=t+96,C=t+128;return e.jsx(Lo,{className:"_refLoadingPage",children:e.jsxs(Do,{speed:1,width:To,height:"100%",backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:r,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:i,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:n,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:o,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:l,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:s,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:d,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:c,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:C,y:"23",rx:"2",ry:"2",width:"27",height:"27"}),e.jsx("rect",{x:a,y:"60",rx:"2",ry:"2",width:"128",height:"6"})]})})},exports.ContentLoaderPopupBundle=()=>e.jsxs(Do,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"15",y:"60",width:"300",height:"15"}),e.jsx("rect",{x:"330",y:"25",width:"100",height:"15"}),e.jsx("rect",{x:"450",y:"25",width:"75",height:"15"}),e.jsx("rect",{x:"540",y:"25",width:"130",height:"15"}),e.jsx("rect",{x:"690",y:"25",width:"75",height:"15"}),e.jsx("rect",{x:"15",y:"60",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"60",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"60",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"60",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"60",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"110",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"110",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"110",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"110",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"110",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"160",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"160",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"160",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"160",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"160",width:"75",height:"30"}),e.jsx("rect",{x:"15",y:"210",width:"300",height:"30"}),e.jsx("rect",{x:"330",y:"210",width:"100",height:"30"}),e.jsx("rect",{x:"450",y:"210",width:"75",height:"30"}),e.jsx("rect",{x:"540",y:"210",width:"130",height:"30"}),e.jsx("rect",{x:"690",y:"210",width:"75",height:"30"})]}),exports.ContentLoaderPopupChooseStore=()=>e.jsxs(Do,{height:80,width:600,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"178",y:"0",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"356",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"462",y:"0",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"0",y:"40",rx:"5",ry:"5",width:"172",height:"34"}),e.jsx("rect",{x:"178",y:"40",rx:"5",ry:"5",width:"100",height:"34"}),e.jsx("rect",{x:"284",y:"40",rx:"5",ry:"5",width:"140",height:"34"}),e.jsx("rect",{x:"430",y:"40",rx:"5",ry:"5",width:"100",height:"34"})]}),exports.ContentLoaderPopupLinkedListing=()=>e.jsxs(Do,{height:270,width:800,speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"15",y:"25",width:"425",height:"15"}),e.jsx("rect",{x:"490",y:"25",width:"150",height:"15"}),e.jsx("rect",{x:"670",y:"25",width:"95",height:"15"}),e.jsx("rect",{x:"15",y:"60",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"60",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"60",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"60",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"110",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"110",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"110",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"110",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"160",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"160",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"160",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"160",width:"95",height:"30"}),e.jsx("rect",{x:"15",y:"210",rx:"8",ry:"8",width:"30",height:"30"}),e.jsx("rect",{x:"60",y:"210",width:"380",height:"30"}),e.jsx("rect",{x:"490",y:"210",width:"150",height:"30"}),e.jsx("rect",{x:"670",y:"210",width:"95",height:"30"})]}),exports.ContentLoaderPopupListOrder=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:840,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"840px",minWidth:"800px"},children:[e.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"620",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"800",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"60",y:"80",rx:"2",ry:"2",width:"200",height:"20"}),e.jsx("rect",{x:"440",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"560",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"680",y:"80",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"60",y:"130",rx:"2",ry:"2",width:"200",height:"20"}),e.jsx("rect",{x:"440",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"560",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"680",y:"130",rx:"2",ry:"2",width:"90",height:"20"}),e.jsx("rect",{x:"20",y:"210",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"205",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"205",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"620",y:"205",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"800",y:"205",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupPaymentReceive=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"40",y:"20",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"40",y:"51",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"40",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"320",y:"110",rx:"2",ry:"2",width:"80",height:"21"}),e.jsx("rect",{x:"40",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"320",y:"141",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"200",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"245",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"245",rx:"2",ry:"2",width:"260",height:"30"}),e.jsx("rect",{x:"55",y:"290",rx:"2",ry:"2",width:"220",height:"30"}),e.jsx("rect",{x:"320",y:"290",rx:"2",ry:"2",width:"260",height:"30"})]})}),exports.ContentLoaderPopupPaymentReceived=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:300,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"60",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"60",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"360",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"360",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"660",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"660",y:"51",rx:"2",ry:"2",width:"280",height:"36"}),e.jsx("rect",{x:"52",y:"130",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"130",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"170",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"170",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"210",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"210",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"250",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"250",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"250",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupPicklist=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:1e3,height:340,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"1000px",minWidth:"800px"},children:[e.jsx("rect",{x:"130",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"510",y:"20",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"130",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"510",y:"51",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"130",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"510",y:"110",rx:"2",ry:"2",width:"100",height:"21"}),e.jsx("rect",{x:"130",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"510",y:"141",rx:"2",ry:"2",width:"360",height:"36"}),e.jsx("rect",{x:"52",y:"200",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"200",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"240",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"240",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"52",y:"280",rx:"2",ry:"2",width:"31",height:"31"}),e.jsx("rect",{x:"95",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"217",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"339",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"461",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"583",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"705",y:"280",rx:"2",ry:"2",width:"110",height:"31"}),e.jsx("rect",{x:"827",y:"280",rx:"2",ry:"2",width:"110",height:"31"})]})}),exports.ContentLoaderPopupReadyToShip=()=>e.jsx(Po,{children:e.jsxs(Do,{speed:1,width:900,height:255,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{width:"100%",maxWidth:"900px",minWidth:"800px"},children:[e.jsx("rect",{x:"20",y:"25",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"20",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"20",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"20",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"20",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"70",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"65",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"65",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"65",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"65",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"115",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"110",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"110",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"110",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"110",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"160",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"155",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"155",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"155",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"155",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"20",y:"205",rx:"2",ry:"2",width:"25",height:"22"}),e.jsx("rect",{x:"55",y:"200",rx:"2",ry:"2",width:"32",height:"32"}),e.jsx("rect",{x:"97",y:"200",rx:"2",ry:"2",width:"250",height:"32"}),e.jsx("rect",{x:"500",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"680",y:"200",rx:"2",ry:"2",width:"170",height:"32"}),e.jsx("rect",{x:"860",y:"200",rx:"2",ry:"2",width:"25",height:"22"})]})}),exports.ContentLoaderPopupStoreSelect=()=>e.jsx(Po,{children:e.jsx(Do,{speed:1,width:325.5,height:30,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:e.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"325.5",height:"30"})})}),exports.ContentLoaderPosProductDetail=()=>e.jsxs(Do,{speed:1,width:"100%",height:580,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"198"}),e.jsx("rect",{x:"0",y:"214",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"240",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"266",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"292",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"318",rx:"0",ry:"0",width:"100%",height:"40"}),e.jsx("rect",{x:"0",y:"368",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"394",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"420",rx:"0",ry:"0",width:"100%",height:"16"}),e.jsx("rect",{x:"0",y:"456",rx:"0",ry:"0",width:"100px",height:"16"}),e.jsx("rect",{x:"0",y:"480",rx:"0",ry:"0",width:"100%",height:"94"})]}),exports.ContentLoaderPromotionHover=()=>e.jsxs(Do,{height:151,width:"100%",speed:1,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"4",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"4",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"32",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"32",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"60",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"60",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"88",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"88",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"0",y:"116",rx:"0",ry:"0",width:"135",height:"14"}),e.jsx("rect",{x:"150",y:"116",rx:"0",ry:"0",width:"140",height:"14"}),e.jsx("rect",{x:"150",y:"132",rx:"0",ry:"0",width:"140",height:"14"})]}),exports.ContentLoaderReportingDashboard=()=>e.jsx(So,{children:e.jsxs(Do,{speed:1,width:To,height:500,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:[e.jsx("rect",{x:"10",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"10",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"10",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"280",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"280",y:"305",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"10",rx:"2",ry:"2",width:"210",height:"25"}),e.jsx("rect",{x:"550",y:"60",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"95",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"130",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"165",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"200",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"235",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"270",rx:"2",ry:"2",width:"210",height:"20"}),e.jsx("rect",{x:"550",y:"305",rx:"2",ry:"2",width:"210",height:"20"})]})}),exports.ContentLoaderSetting=()=>e.jsxs(Do,{speed:1,width:"100%",height:550,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,children:[e.jsx("rect",{x:"0",y:"0",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"25",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"110",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"135",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"170",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"220",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"245",rx:"2",ry:"2",width:"620",height:"25"}),e.jsx("rect",{x:"0",y:"280",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"330",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"355",rx:"2",ry:"2",width:"450",height:"80"}),e.jsx("rect",{x:"0",y:"460",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"485",rx:"2",ry:"2",width:"450",height:"80"}),e.jsx("rect",{x:"0",y:"585",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"180",y:"610",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"0",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"180",y:"645",rx:"2",ry:"2",width:"170",height:"25"}),e.jsx("rect",{x:"0",y:"695",rx:"2",ry:"2",width:"125",height:"15"}),e.jsx("rect",{x:"0",y:"720",rx:"2",ry:"2",width:"450",height:"25"}),e.jsx("rect",{x:"0",y:"755",rx:"2",ry:"2",width:"400",height:"25"})]}),exports.ContentLoaderTableList=()=>{const t=Ho-96,r=Math.floor((To-110)/120),i=Math.floor((t-20)/50);return e.jsx(Mo,{children:e.jsx(Do,{speed:1,width:To,height:t,backgroundColor:"rgb(0,0,0)",foregroundColor:"rgb(0,0,0)",backgroundOpacity:.06,foregroundOpacity:.12,style:{position:"relative",zIndex:"2"},children:Array.apply(0,Array(i)).map(((t,i)=>{const n=i+50*(i+1)-30;return Array.apply(0,Array(r)).map(((t,r)=>{const a=r+120*(r+1)-65;return e.jsx("rect",{x:a,y:n,rx:"2",ry:"2",width:100,height:0===i?16:30},r)}))}))})})},exports.CreateContainer=Fi,exports.CreateHeaderWrapper=yi,exports.CreateToolWrapper=Ai,exports.DateComponent=Ua,exports.DateContainer=Ya,exports.DateIndicatorContainer=Va,exports.DatePickerContainer=Na,exports.DateRangeAside=Ha,exports.DateRangeContainer=Ma,exports.DateRangeControl=Oa,exports.DateRangeIconContainer=qa,exports.DateRangeIndicatorsArrowIconSvg=Pa,exports.DateRangeIndicatorsContainer=Ia,exports.DateRangeLabel=za,exports.DateRangeLabelContainer=La,exports.DateRangeMenu=Sa,exports.DateRangeMenuContainer=ka,exports.DateRangePortalContainer=Xa,exports.DateRangeSelection=Qa,exports.DateRefComponent=Ra,exports.DateTimeComponent=({dateTimeData:t})=>{const r=A.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("D MMM YYYY,"),i=A.default(t,"YYYY-MM-DD HH:mm:ss ZZ").format("hh:mm A");return e.jsx(Ga,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx("span",{children:i})]}):"-"})},exports.DateWrapper=Jr,exports.DetailItem=mi,exports.DetailItemAction=hi,exports.DetailItemInfo=xi,exports.DetailItemTitle=gi,exports.DetailItemWrapper=ui,exports.DetailList=pi,exports.DetailPanelWrapper=vi,exports.DetailWrapper=si,exports.DotIcon=Ui,exports.DropDownAction=va,exports.DropDownBody=ua,exports.DropDownComponent=wa,exports.DropDownContainer=ha,exports.DropDownControl=pa,exports.DropDownOverlayWrapper=Ca,exports.DropDownSubTitle=ma,exports.DropDownTitle=xa,exports.DropDownWrapper=ca,exports.DropdownAction=ti,exports.DropdownControlWrapper=ga,exports.DropdownItem=ei,exports.DropdownList=_r,exports.DropdownPortalContainer=fa,exports.DropdownTitle=$r,exports.EmojiComponent=Aa,exports.ErrorComponent=t=>{var{children:r,$mode:i}=t,n=b(t,["children","$mode"]);return e.jsxs(Un,Object.assign({$mode:i,className:"_refErrorContainer"},n,{children:[e.jsx(yn,{$name:"alert",$width:"11px"}),r]}))},exports.FigureWraper=gr,exports.FilterButton=ai,exports.FilterColumnContainer=Xi,exports.FilterContainer=Nr,exports.FilterItem=ii,exports.FilterList=ri,exports.FilterListTitle=ni,exports.FilterStoreContainer=Ji,exports.FilterStoreList=$i,exports.FilterWrapper=Ur,exports.FoContainer=Ut,exports.FormContainer=wo,exports.HeaderContainer=Ht,exports.IconComponent=yn,exports.IconDot=oi,exports.ImageChannelComponent=t=>{var r,i;const{data:n,label:a,size:o,isImageOnly:l,$mode:s,$isPhone:d,labelPhone:c,$url:C}=t,p=o&&parseInt(o)/2>10?parseInt(o)/2:10,g=o&&parseInt(o)/2-4>10?parseInt(o)/2-4:10,h=o||"20px";if(!n)return e.jsx(e.Fragment,{children:!l&&e.jsx("span",{children:a||"-"})});const x=a||(null==n?void 0:n.name)||(null==n?void 0:n.storeName)||(null==n?void 0:n.store_name)||(null==n?void 0:n.accountName)||(null==n?void 0:n.channelName)||(null==n?void 0:n.channel_name)||"No Store",m=(null==n?void 0:n.icon)||(null===(i=null===(r=null==n?void 0:n.account)||void 0===r?void 0:r.channel)||void 0===i?void 0:i.imageUrl)||(null==n?void 0:n.imageUrl)||(null==n?void 0:n.channelImage)||(null==n?void 0:n.channel_image)||"",u=(null==n?void 0:n.color)||(null==n?void 0:n.channelColor)||(null==n?void 0:n.channel_color)||"#ooo",v=(null==n?void 0:n.channelInitials)||(null==n?void 0:n.channelInitial)||(null==n?void 0:n.channel_initials)||(null==n?void 0:n.initials)||"",f=c||(null==n?void 0:n.phone)||(null==n?void 0:n.storeId)||"-",w=null==n?void 0:n.availableAPI;return e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{height:h,width:"auto"},children:m?e.jsx(qn,{$mode:s,width:"auto",height:h,src:m||"/",alt:n.channelName||n.channel_name||""}):v?e.jsx(cr,{style:{width:h},children:e.jsx(Cr,{$size:p,$fromSize:g,style:{width:h,height:h,backgroundColor:u},children:v})}):e.jsx(qn,{$mode:s,width:"auto",height:h,src:"/"})}),!l&&(d?e.jsxs("div",{children:[C?e.jsx(ht,{mode:"trans",href:C,children:e.jsx("span",{className:"multi-elipsis",title:x,children:x})}):e.jsx("span",{className:"multi-elipsis",title:x,children:x}),e.jsx("aside",{className:"multi-elipsis",title:f,style:{color:"#999999",fontSize:"12px"},children:f})]}):e.jsxs("span",{className:"multi-elipsis",title:x,children:[x,w&&e.jsx(Gi,{className:"_refLabel",children:"API"})]}))]})},exports.ImageComponent=qn,exports.InfoGroup=ar,exports.InitialContainer=cr,exports.InitialWrapper=Cr,exports.InputComponent=zt,exports.InputGroup=lr,exports.InputOTPComponent=t=>{var{otpLength:r=6,value:i,onChange:n}=t,a=b(t,["otpLength","value","onChange"]);const o=e=>{var t;const a=e.target,o=a.value,l=a.dataset.index?parseInt(a.dataset.index):0;if(""===o||/^\d$/.test(o)){let e=i.split("");e[l]=o;const a=e.join("");n(a),""!==o&&l<r-1&&(null===(t=document.getElementById(`otp-inputbox-${l+1}`))||void 0===t||t.focus())}},l=e=>{var t;const r=e.target,n=r.dataset.index?parseInt(r.dataset.index):0;"Backspace"===e.key&&!i[n]&&n>0&&(null===(t=document.getElementById("otp-inputbox-"+(n-1)))||void 0===t||t.focus())};let s=[];for(let t=0;t<r;t++)s.push(e.jsx(Lt,Object.assign({"data-index":t,id:`otp-inputbox-${t}`,name:`otp-input-${t}`,autoComplete:"one-time-code",inputMode:"numeric",required:!0,value:i[t]||"",onChange:e=>o(e),onKeyDown:e=>l(e),onFocus:e=>{e.target.addEventListener("wheel",(function(e){e.preventDefault()}),{passive:!1}),e.target.select()}},a),t));return e.jsx("div",{onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("Text").replace(/\D/g,"").slice(0,r);n(t)},children:s})},exports.InputRefComponent=It,exports.IsNumeric=ut,exports.ItemPriceLabel=br,exports.ItemQtyLabel=Ri,exports.ItemTable=Gr,exports.LabelComponent=t=>{var{children:r,$mode:i,$position:n,"aria-label":a}=t,o=b(t,["children","$mode","$position","aria-label"]);const l="error"===a;return e.jsx(pn,Object.assign({$mode:i,$position:n,"aria-label":a},o,{children:l?"Please refresh page":r}))},exports.LeftPanelContainer=mr,exports.LinkComponent=ht,exports.LinkContainer=Vr,exports.ListAddItemContainer=ji,exports.ListComponent=t=>{var{children:r,$mode:i,$selected:n,$type:a}=t,o=b(t,["children","$mode","$selected","$type"]);return e.jsx(ro,Object.assign({$mode:i,$selected:n,$type:a},o,{children:r}))},exports.ListContainer=Xt,exports.ListTable=Kr,exports.ListTableContainer=Rr,exports.LoadingComponent=xn,exports.MasterTableActionWrapper=pr,exports.MenuList=t=>e.jsx(o.components.MenuList,Object.assign({},t,{children:t.children})),exports.MessageComponent=({timer:t=500,$type:i,message:a,callback:o,onClosed:l})=>{const[s,d]=n.useStateWithCallbackLazy(!1),[c,C]=n.useStateWithCallbackLazy(!1),[p,g]=n.useStateWithCallbackLazy(!1),h=r.useCallback((()=>{g(!p,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),null==o||o()}))}),[o,g,p]),x=r.useCallback((()=>{h()}),[h]);return r.useEffect((()=>{const e=t||2e3,r=document.querySelector("._refMessageOverlay");return s||p?s&&p&&(d&&d(!s,(()=>{})),C&&C(!c,(()=>{})),r&&r.removeEventListener("click",x),null==l||l()):d(!s,(()=>{r&&r.addEventListener("click",x),setTimeout((()=>{C(!c,(()=>{setTimeout((()=>!c&&h()),e)}))}),1)})),()=>{r&&r.removeEventListener("click",x)}}),[s,c,t,h,d,C,x,p,l]),e.jsxs(En,{$isOpen:s,children:[e.jsx(Bn,{className:"_refMessageOverlay"}),e.jsx(kn,{children:e.jsx(jn,{$isOpen:c,children:e.jsxs(On,{$type:i,children:[e.jsx("i",{}),a,e.jsx(dn,{$mode:"small-white-round-close",onClick:h})]})})})]})},exports.MessageQuestionComponent=({$type:t,title:i,subtitle:o,callback:l,buttonSubmit:s,cancelCallback:d,onClosed:c})=>{const[C,p]=n.useStateWithCallbackLazy(!1),[g,h]=n.useStateWithCallbackLazy(!1),[x,m]=n.useStateWithCallbackLazy(!1),u=r.useCallback((()=>{m(!x,(()=>{d&&d();document.getElementsByTagName("BODY")[0].classList.remove("is-immuned")}))}),[d,x,m]),v=r.useCallback((()=>{u()}),[u]);return r.useEffect((()=>{const e=document.querySelector("._refQuestionMessageOverlay");C||x?C&&x&&(p(!C,(()=>{})),h(!g,(()=>{})),e&&e.removeEventListener("click",v),null==c||c()):p(!C,(()=>{setTimeout((()=>{h(!g,(()=>{})),e&&e.addEventListener("click",v)}),1)}))}),[C,g,p,h,v,x,c]),e.jsxs(En,{$isOpen:C,children:[e.jsx(Bn,{className:"_refQuestionMessageOverlay",$type:t}),e.jsx(kn,{$type:t,children:e.jsx(jn,{$isOpen:g,children:e.jsxs(On,{$type:t,children:[e.jsx("i",{}),e.jsxs("div",{children:[e.jsx(B,{$elipsis:!1,style:{fontWeight:600,fontSize:"15px"},children:i}),e.jsx(B,{$color:"grey",$elipsis:!1,children:a.htmlToText(o)}),e.jsxs("aside",{children:[e.jsx(dn,{$mode:"white",$size:"small",onClick:u,children:"Cancel"}),e.jsx(dn,{$mode:"red",$size:"small",onClick:()=>{m(!x,(()=>{document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),null==l||l()}))},children:s||"Confirm"})]})]})]})})})]})},exports.MultiPanelContainer=xr,exports.MuteLabel=or,exports.NameLabel=Er,exports.NavChildItem=Yi,exports.NavChildLine=Hi,exports.NavContainer=Qi,exports.NavContainerStyles=Si,exports.NavList=Ii,exports.NavMainItem=Ti,exports.NavMainItemWrapper=Vi,exports.NavMobileHeaderWrapper=Pi,exports.NavMobileOverlay=zi,exports.OptCustomLabel=Gi,exports.PageButton=Qr,exports.PageDot=Hr,exports.PageLabel=Tr,exports.PageWrapper=Sr,exports.PaginationContainer=Pr,exports.PanelBody=hr,exports.PanelContainer=Nt,exports.PanelWrapper=Vt,exports.PopupAddProductContainer=Oi,exports.PopupBoxWrapper=fi,exports.PopupCard=Mi,exports.PopupColumnGroup=tr,exports.PopupComponent=t=>{var{children:i,body:a,mode:o,height:l,width:s,isOpen:d,evTooglePopup:c,isNested:C,evToogleNestedPopup:p}=t,g=b(t,["children","body","mode","height","width","isOpen","evTooglePopup","isNested","evToogleNestedPopup"]);const[h,x]=n.useStateWithCallbackLazy(!1),m=r.useRef(null),u=r.useCallback((e=>{Vn=setTimeout((()=>{x(e,(()=>{const e=m&&m.current?m.current:null;e&&(e.scrollTop=0)})),clearTimeout(Vn)}),1)}),[x]),v=r.useRef({init:()=>{u(d)}});r.useEffect((()=>{const{init:e}=v.current;return e(),()=>{clearTimeout(Vn)}}),[]),r.useEffect((()=>{u(d)}),[d,u]);const f=[...i],w=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"head"===e.props["aria-label"])))||null,F=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"sub-head"===e.props["aria-label"])))||null,y=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"body"===e.props["aria-label"])))||null,A=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"foot"===e.props["aria-label"])))||null,D=(null==f?void 0:f.filter((e=>r.isValidElement(e)&&"left-foot"===e.props["aria-label"])))||null,E=F.length?e.jsx("aside",{children:F[0]&&r.isValidElement(F[0])?F[0].props.children:null}):null,B=w.length&&w[0]&&r.isValidElement(w[0])?w[0].props["data-qa-id"]:"";return e.jsxs(Ln,{$isOpen:d,children:[e.jsx(zn,{}),e.jsx(In,Object.assign({ref:m},g["data-qa-id"]&&{"data-qa-id":g["data-qa-id"]},{children:"question"===o?e.jsx(Pn,{$isOpen:h,children:e.jsxs(Yn,{$width:s,children:[e.jsx(yn,{$name:"warning",$width:"30px"}),e.jsxs(Sn,{$mode:o,children:[w.length?e.jsx(Qn,{children:w[0]&&r.isValidElement(w[0])?w[0].props.children:null}):null,E,A.length?e.jsx(Hn,{children:A[0]&&r.isValidElement(A[0])?e.jsx("aside",{"data-type":A[0].props.type||"",children:A[0].props.children}):null}):null]})]})}):e.jsxs(e.Fragment,{children:[e.jsx(Sn,{$width:s,$isOpen:h,$mode:o,$isNested:C,children:w.length?e.jsxs(e.Fragment,{children:[e.jsx(dn,{$mode:"round-close",onClick:C?p:c}),e.jsx(Qn,{"data-qa-id":B,children:w[0]&&r.isValidElement(w[0])&&w[0].props.children})]}):null}),e.jsxs(Pn,{$width:s,$isOpen:h,$withHeader:!!w.length,$isNested:C,children:[E,y.length?e.jsx(Tn,{$mode:a,$width:s,$height:l,children:y[0]&&r.isValidElement(y[0])&&y[0].props.children}):null,A.length?e.jsxs(Hn,{$isLeft:!!D.length,children:[e.jsx("aside",{children:D&&D.length&&D[0]&&r.isValidElement(D[0])?D[0].props.children:null}),A[0]&&r.isValidElement(A[0])?e.jsxs("aside",{"data-type":A[0].props.type||"",children:[o&&"info"===o?e.jsx(dn,{$mode:"white",$size:"small",onClick:C?p:c,children:"Close"}):e.jsx(dn,{$mode:"white",$size:"small",onClick:C?p:c,"data-qa-id":"popup-button-cancel",children:"Cancel"}),A[0].props.children]}):null]}):null]})]})}))]})},exports.PopupDownloadWrapper=wi,exports.PopupExportCardWrapper=Li,exports.PopupItem=$t,exports.PopupItemLabel=ir,exports.PopupItemName=rr,exports.PopupList=Jt,exports.PopupRowGroup=er,exports.PopupTable=Kt,exports.PopupTableBody=Zt,exports.PopupTableHead=Rt,exports.PopupTableItem=Gt,exports.RadioComponent=t=>{var{children:i,$mode:n,evChange:a,reset:o,setReset:l,isForceUpdate:s,setForceUpdate:d}=t,c=b(t,["children","$mode","evChange","reset","setReset","isForceUpdate","setForceUpdate"]);const{id:C,defaultChecked:p}=c,[g,h]=r.useState(p||!1);r.useEffect((()=>{s&&(h(p||!1),d&&d(!1)),o&&(h(!1),l&&l(!1))}),[s,d,o,l,p,h]);let x=Object.assign({},c);return delete x.defaultChecked,e.jsx(Za,{children:e.jsxs("label",{htmlFor:C,children:[e.jsx(Ja,Object.assign({type:"radio",id:C,$mode:n,checked:g,onChange:e=>{a&&a(e)}},x)),e.jsx(Ka,Object.assign({$mode:n},c["data-qa-id"]&&{"data-qa-id":c["data-qa-id"]},{children:i}))]})})},exports.RangeContainer=Wa,exports.ReactPortalComponent=da,exports.RightPanelContainer=ur,exports.ScrollArrowContainer=qi,exports.SearchDropdownContainer=bi,exports.SearchFilterContainer=Xr,exports.SearchFormWrapper=vr,exports.SearchResultItem=Bi,exports.SearchResultList=Ei,exports.SearchResultWrapper=Di,exports.SearchWrapper=qr,exports.SearchWrapperPopup=ki,exports.SelectAllComponent=t=>{const{isError:i=!1,value:n,options:a,mode:o,evChange:l}=t,s=b(t,["isError","value","options","mode","evChange"]),d=r.useRef(n);d.current=n;const c="store"===o?"Stores":"Categories",C={value:"*",label:"All "+c},p=()=>{var e;return(null===(e=d.current)||void 0===e?void 0:e.length)===(null==a?void 0:a.length)},g={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",cursor:"pointer",minHeight:"store"===o?"30px":"38px",height:"100%",maxHeight:"300px",overflow:"hidden",borderWidth:i?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!i?"var(--pri-clr-ln__fc)":i?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,height:"100%",maxHeight:"300px",minHeight:"30px",overflowX:"hidden",overflowY:"auto",flexWrap:"wrap",alignContent:"flex-start",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})};return e.jsx("div",Object.assign({className:"_refContainer",style:{width:"100%",minWidth:0}},s["data-qa-id"]&&{"data-qa-id":s["data-qa-id"]},{children:e.jsx(f.default,{isOptionSelected:e=>{var t;return(null===(t=d.current)||void 0===t?void 0:t.some((({value:t})=>t===e.value)))||p()},styles:g,menuPortalTarget:document.body,options:a?[C,...a]:[C],value:d.current&&d.current.length>=5?[{value:n,label:`${null===(h=d.current)||void 0===h?void 0:h.length} ${c}`}]:p()?[C]:n,onChange:(e,t)=>{if(!a)return!1;const{action:r,option:i,removedValue:n}=t;let o=e?[...e]:null;const s=e&&e.length&&Array.isArray(e[0].value)?e[0].value:null;let c=[];"select-option"===r&&i.value===C.value?c=a:"deselect-option"===r&&i.value===C.value||"remove-value"===r&&n.value===C.value?c=[]:"deselect-option"===t.action&&p()?c=a.filter((({value:e})=>e!==i.value)):"remove-value"===t.action&&s?(d.current=null,c=[]):"deselect-option"===t.action?(s?(o=s.filter((({value:e})=>e!==i.value)),d.current=o):o=e.filter((({value:e})=>e!==i.value)),c=o||[]):(s&&(o=[...s,e[1]],d.current=o),c=o||[]),l(c,t)},hideSelectedOptions:!1,closeMenuOnSelect:!1,isMulti:!0})}));var h},exports.SelectAsyncCreateablePaginateComponent=t=>{var{loadOptions:i}=t,n=b(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customLabel:d,customOption:c,MenuList:C,defaultValue:p,setReset:g,evChange:h,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:f,isSearchable:w,placeholder:F,isMulti:y,loadedOptions:A,isMenuOpen:D,setMenuIsOpen:E,id:B,evChangeOnMenuClose:j,isCreateable:k=!1,evCreate:O}=n,M=b(n,["isError","mode","type","customLabel","customOption","MenuList","defaultValue","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose","isCreateable","evCreate"]),[L,z]=r.useState(p||null),[I,P]=r.useState(""),[S,Q]=r.useState(new Date),T=r.useRef(null);r.useEffect((()=>{x&&(z(p||null),null==m||m(!1))}),[p,x,m,z]);const H=(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=L;if(null==e?void 0:e.length){let r=A?[...e,...A]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),z(r),h&&h(r,t)}else A&&(z(A),h&&h(A,t));return null===(r=T.current)||void 0===r||r.blur(),!1}}z(i),h&&h(i,t)},Y={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"1px",height:y?"100%":"small"===o?"30px":"32px",maxHeight:"300px",cursor:"pointer",borderWidth:a?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,minHeight:"1px",height:y?"100%":"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:y?"4px":"0",paddingBottom:y?"4px":"0",paddingLeft:f?"28px":"8px",paddingRight:"2px",maxHeight:y?"300px":"unset",overflowX:y?"hidden":"initial",overflowY:y?"auto":"initial",flexWrap:y?"wrap":"nowrap",alignContent:y?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})},V=r.useCallback((()=>{E&&E(!0)}),[E]),N=r.useCallback((()=>{P(""),E&&E(!1)}),[E]),X=()=>{Q(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()},q=e=>{var t;if("Enter"!==e.key)return;const r=e.target,i=r.getAttribute("aria-controls")||(null===(t=r.closest("[aria-controls]"))||void 0===t?void 0:t.getAttribute("aria-controls")),n=i?document.getElementById(i):null;Boolean(null==n?void 0:n.querySelector('[role="option"]'))||(e.preventDefault(),e.stopPropagation())},W=k?e.jsx(Wn,Object.assign({isSearchable:w,placeholder:F,styles:Y,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:H,onKeyDown:q,debounceTimeout:300,onCreateOption:e=>{null==g||g(!1),y?Array.isArray(L)?z([...L,{value:e,label:e}]):z([{value:e,label:e}]):z({value:e,label:e}),null==O||O(e),P("")},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:D},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:I,onInputChange:(e,t)=>"input-change"===t.action?(P(e),Q(new Date),e):e,onMenuClose:()=>{P(""),null==j||j(L)},onMenuOpen:()=>X(),cacheUniqs:[S],selectRef:T},"multi-select"!==o&&{onMenuOpen:V,onMenuClose:N},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},y&&{isMulti:!0},M)):e.jsx(s.AsyncPaginate,Object.assign({isSearchable:w,placeholder:F,debounceTimeout:500,styles:Y,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:L,onChange:H,onKeyDown:q,loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:D},B&&{id:B},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:I,onInputChange:(e,t)=>"input-change"===t.action?(P(e),Q(new Date),e):e,onMenuClose:()=>{P(""),null==j||j(L)},onMenuOpen:()=>X(),cacheUniqs:[S],selectRef:T},"multi-select"!==o&&{onMenuOpen:V,onMenuClose:N},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},y&&{isMulti:!0},M));return e.jsx("div",{className:"_refContainer",style:{width:"100%",minWidth:0},children:W})},exports.SelectAsyncPaginateComponent=t=>{var{loadOptions:i}=t,n=b(t,["loadOptions"]);const{isError:a=!1,mode:o,type:l,customLabel:d,customOption:c,MenuList:C,defaultValue:p,setReset:g,evChange:h,isForceUpdate:x,setForceUpdate:m,loadOptionsOnMenuOpen:u,noOptionsMessage:v,iconLeft:f,isSearchable:w,placeholder:y,isMulti:A,loadedOptions:D,isMenuOpen:E,setMenuIsOpen:B,id:j,evChangeOnMenuClose:k,isCreateable:O=!1,evCreate:M}=n,L=b(n,["isError","mode","type","customLabel","customOption","MenuList","defaultValue","setReset","evChange","isForceUpdate","setForceUpdate","loadOptionsOnMenuOpen","noOptionsMessage","iconLeft","isSearchable","placeholder","isMulti","loadedOptions","isMenuOpen","setMenuIsOpen","id","evChangeOnMenuClose","isCreateable","evCreate"]),[z,I]=r.useState(p||null),[P,S]=r.useState(""),[Q,T]=r.useState(new Date),H=r.useRef(null);r.useEffect((()=>{x&&(I(p||null),m&&m(!1))}),[p,x,m,I]);const Y=(e,t)=>{var r;const i=e;if(t){const{action:e,option:i}=t;if("select-option"===e&&"*"===(null==i?void 0:i.value)){const e=z;if(null==e?void 0:e.length){let r=D?[...e,...D]:[...e];r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.sku===e.sku)))),I(r),h&&h(r,t)}else D&&(I(D),h&&h(D,t));return null===(r=H.current)||void 0===r||r.blur(),!1}}I(i),h&&h(i,t)},V={container:e=>Object.assign(Object.assign({},e),{display:"block",width:"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"1px",height:A?"100%":"small"===o?"30px":"32px",maxHeight:"300px",cursor:"pointer",borderWidth:a?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:"picklist"===o?"hidden":"initial","&:hover":{borderColor:t.isFocused&&"filter"!==o&&!a?"var(--pri-clr-ln__fc)":a?"var(--err-clr-ln)":"filter"===o?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:"initial"}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===l?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,minHeight:"1px",height:A?"100%":"multi-select"===o?"70px":"small"===o?"30px":"32px",paddingTop:A?"4px":"0",paddingBottom:A?"4px":"0",paddingLeft:f?"28px":"8px",paddingRight:"2px",maxHeight:A?"300px":"unset",overflowX:A?"hidden":"initial",overflowY:A?"auto":"initial",flexWrap:A?"wrap":"nowrap",alignContent:A?"flex-start":"initial"}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:e=>Object.assign(Object.assign({},e),{maxWidth:"100%"}),multiValueLabel:e=>Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})},N=r.useCallback((()=>{B&&B(!0)}),[B]),X=r.useCallback((()=>{S(""),B&&B(!1)}),[B]),q=()=>{T(new Date),(()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")})()};let W=O?e.jsx(F.default,Object.assign({isSearchable:w,placeholder:y,debounceTimeout:500,styles:V,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:z,onChange:Y,onCreateOption:e=>{null==g||g(!1),A?Array.isArray(z)?I([...z,{value:e,label:e}]):I([{value:e,label:e}]):I({value:e,label:e}),null==M||M(e)},loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:E},j&&{id:j},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:P,onInputChange:(e,t)=>"input-change"===t.action?(S(e),T(new Date),e):e,onMenuClose:()=>{S(""),null==k||k(z)},onMenuOpen:()=>q(),cacheUniqs:[Q],selectRef:H},"multi-select"!==o&&{onMenuOpen:N,onMenuClose:X},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},A&&{isMulti:!0},L)):e.jsx(s.AsyncPaginate,Object.assign({isSearchable:w,placeholder:y,debounceTimeout:500,styles:V,loadOptions:i,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:z,onChange:Y,loadOptionsOnMenuOpen:u,noOptionsMessage:v,menuIsOpen:E},j&&{id:j},"multi-select"===o&&{closeMenuOnSelect:!1,inputValue:P,onInputChange:(e,t)=>"input-change"===t.action?(S(e),T(new Date),e):e,onMenuClose:()=>{S(""),null==k||k(z)},onMenuOpen:()=>q(),cacheUniqs:[Q],selectRef:H},"multi-select"!==o&&{onMenuOpen:N,onMenuClose:X},d&&{components:{SingleValue:d}},c&&{components:{Option:c}},d&&c&&{components:{SingleValue:d,Option:c}},C&&{components:{MenuList:C}},A&&{isMulti:!0},L));return e.jsx("div",{className:"_refContainer",style:{width:"100%",minWidth:0},children:W})},exports.SelectCheckboxContainer=yo,exports.SelectComponent=t=>{var{type:i,isError:n=!1,mode:a,customOption:o,customLabel:l,MenuList:s,isCreateable:d=!1,isClearable:c=!1,selectKey:C,disabled:p,defaultValue:g,width:h,reset:x,setReset:m,isForceUpdate:u,setForceUpdate:v,isCheckAutoCopy:F,evChangeCustom:y,isField:A,evCreate:D,evChange:E,isMinOption:B,isMulti:j=!1,options:k,name:O,placeholder:M,removeMessage:L,evCreateMessageQuestion:z,isLoading:I,height:P,customMenuList:S,customMultiValueRemove:Q}=t,T=b(t,["type","isError","mode","customOption","customLabel","MenuList","isCreateable","isClearable","selectKey","disabled","defaultValue","width","reset","setReset","isForceUpdate","setForceUpdate","isCheckAutoCopy","evChangeCustom","isField","evCreate","evChange","isMinOption","isMulti","options","name","placeholder","removeMessage","evCreateMessageQuestion","isLoading","height","customMenuList","customMultiValueRemove"]);const[H,Y]=r.useState(g||null);r.useEffect((()=>{if(x&&(Y(null),m&&m(!1)),u){let e=g;if(F&&e){let t=!1;if(j){let r=e;if(Array.isArray(r)&&r.length){let e=[];for(const i of r){const r=null==k?void 0:k.filter((e=>e.label===i.label&&e.value===i.value));(null==r?void 0:r.length)&&Array.isArray(e)?e.push(i):!t&&(t=!0)}e.length&&(r=e)}}else{let r=e;if(r){const i=null==k?void 0:k.filter((e=>r&&e.label===r.label&&e.value===r.value));(null==i?void 0:i.length)&&(e=null,t=!0)}}t&&O&&y&&y(O,e)}Y(e),v&&v(!1)}}),[g,y,F,u,j,O,k,x,v,m]);const V=()=>{const e=document.getElementsByClassName("_refSelectContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},N=(e,{action:t,removedValue:r,option:i})=>{if(j){const n=e,a=()=>{Y(n),E&&E(n,{action:t,removedValue:r,option:i})};switch(t){case"remove-value":if(B&&"remove-value"===t&&Array.isArray(H)&&1===H.length)return!1;if(r.isFixed)return;break;case"pop-value":if(r.isFixed)return;break;case"clear":e=(null==k?void 0:k.filter((e=>e.isFixed)))||[]}if(L&&"remove-value"===t){const e=ft("confirm",(null==L?void 0:L.title)||"",(null==L?void 0:L.subtitle)||"",a);return z&&z(e),!1}Y(n),E&&E(n,{action:t,removedValue:r,option:i})}else{const n=e;Y("paymentReceiveStore"===a?n?{value:n.value,label:n.label,channel:n.channel}:n:l?n?{value:n.value,label:n.label,name:n.name}:n:n?{value:n.value,label:n.label}:n),E&&E(n,{action:t,removedValue:r,option:i})}!j&&A&&y&&O&&y(O,e)},X=()=>{A&&y&&O&&H&&y(O,H)},q=j||"multi"===a||"picklist"===a,W={container:e=>Object.assign(Object.assign({},e),{display:"block",width:h?h+"px":"100%",maxWidth:"100%",minWidth:0,minHeight:"1px",textAlign:"left",border:"none"}),control:(e,t)=>Object.assign(Object.assign({},e),{width:"100%",minWidth:0,borderRadius:".5rem",minHeight:"multi"===a?"50px":"picklist"===a?"30px":"1px",height:j?"100%":"multi"===a?"auto":null!=P?P:"orders"===a?"90px":"30px",maxHeight:j?"300px":"multi"===a?"120px":"picklist"===a?"46px":"none",cursor:"pointer",borderWidth:n?"1px":"0",boxShadow:t.isFocused?"-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset":"0rem -.0625rem 0rem 0rem #b5b5b5 inset,0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset,0rem .03125rem 0rem .09375rem #FFF inset",borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:t.isFocused?"rgba(247, 247, 247, 1)":"#ffffff",overflow:j?"hidden":"multi"===a?"auto":"picklist"===a?"hidden":"orders"===a?"auto":"initial",alignItems:"orders"===a?"start":"center",padding:"orders"===a?"6px 0":"unset",color:"rgba(74, 74, 74, 1)",opacity:p?".7":1,"&:hover":{borderColor:t.isFocused&&"filter"!==a&&!n?"var(--pri-clr-ln__fc)":n?"var(--err-clr-ln)":"filter"===a?"#ffffff":" var(--ck-clr-ln)",background:"rgba(250, 250, 250, 1)",color:"rgba(48, 48, 48, 1)"}}),placeholder:e=>Object.assign(Object.assign({},e),{fontStyle:"italic"}),input:e=>Object.assign(Object.assign({},e),{minHeight:"1px",margin:"0 2px",padding:"0",input:{boxShadow:"none !important"}}),dropdownIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",paddingTop:"0",paddingBottom:"0",paddingLeft:"2px",paddingRight:"2px",color:"#757575",alignSelf:"orders"===a?"start":"unset"}),indicatorSeparator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",height:"24px",display:"tag"===i?"block":"none"}),clearIndicator:e=>Object.assign(Object.assign({},e),{minHeight:"1px",marginRight:"-6px",padding:"0"}),valueContainer:e=>Object.assign(Object.assign({},e),{flex:1,minWidth:0,height:j?"100%":"multi"===a?"auto":"30px",maxHeight:j?"300px":"multi"===a?"114px":"picklist"===a?"46px":"none",minHeight:"multi"===a?"44px":"picklist"===a?"30px":"1px",overflowX:q?"hidden":"initial",overflowY:q?"auto":"initial",flexWrap:q?"wrap":"nowrap",alignContent:q?"flex-start":"center",paddingTop:"0",paddingBottom:"0",paddingRight:"2px"}),singleValue:e=>Object.assign(Object.assign({},e),{minHeight:"1px",minWidth:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",paddingBottom:"2px",color:p?"#ADADAD":"form"===a?"#2d3c48":"initial",opacity:p?".7":1}),option:(e,t)=>Object.assign(Object.assign(Object.assign(Object.assign({},e),{width:"100%",margin:"0 0 4px",borderRadius:"var(--nav-rd)",cursor:"pointer",overflowWrap:"break-word",wordBreak:"break-all",position:"relative",padding:"0.375rem 0.5rem",backgroundColor:t.isSelected||t.isFocused?"var(--nav-clr-bg__hvr)":"transparent","&:last-child":{marginBottom:0}}),!t.isDisabled&&{color:"var(--pri-clr)",fontWeight:t.isSelected?500:"normal","&:hover":{backgroundColor:"var(--nav-clr-bg__hvr)"}}),t.isSelected&&{paddingRight:"1.5em","&:after":{content:'"✔"',position:"absolute",top:"50%",transform:"translateY(-50%)",marginTop:"2px",right:"6px",bottom:"0",width:"12px",height:"20px"}}),menu:e=>Object.assign(Object.assign({},e),{padding:"6px 8px",borderRadius:".75rem",boxShadow:"0rem .5rem 1.5rem -.5rem rgba(0, 0, 0, .05), 0rem .5rem 1rem -.25rem rgba(0, 0, 0, .05), 0rem .1875rem .375rem 0rem rgba(0, 0, 0, .05), 0rem .125rem .25rem 0rem rgba(0, 0, 0, .05), 0rem .0625rem .125rem 0rem rgba(0, 0, 0, .05), 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .06)",border:"none"}),menuPortal:e=>Object.assign(Object.assign({},e),{zIndex:9999,letterSpacing:"normal",lineHeight:"normal"}),multiValue:(e,t)=>{const r=Object.assign(Object.assign({},e),{maxWidth:"100%"});return t.data.isFixed?Object.assign(Object.assign({},r),{backgroundColor:"gray"}):r},multiValueLabel:(e,t)=>{const r=Object.assign(Object.assign({},e),{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});return t.data.isFixed?Object.assign(Object.assign({},r),{fontWeight:"bold",color:"white",paddingRight:6}):r},multiValueRemove:(e,t)=>Object.assign(Object.assign({},e),{display:t.data.isFixed?"none":"block",svg:{position:"relative",top:"2px"}})};let U=d?e.jsx(w.default,Object.assign({options:k,styles:W,onMenuOpen:V,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,onCreateOption:e=>{m&&m(!1),j?Array.isArray(H)?Y([...H,{value:e,label:e}]):Y([{value:e,label:e}]):Y({value:e,label:e}),D&&D(e)},isValidNewOption:(e,t)=>!(0===e.trim().length||t.find((t=>t.name===e))),noOptionsMessage:()=>null,isClearable:c?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):c},j&&{isMulti:!0},o&&{components:{Option:o}},S&&{components:{MenuList:S}},Q&&{components:{MultiValueRemove:Q}},s&&{components:{MenuList:s,Option:o}},C&&{key:C},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:X},M&&{placeholder:M},I&&{isLoading:I},T)):e.jsx(f.default,Object.assign({options:k,styles:W,onMenuOpen:V,menuPortalTarget:document.body,menuPosition:"fixed",menuPlacement:"auto",value:H,onChange:N,noOptionsMessage:()=>null,isClearable:c?!Array.isArray(H)||!H.length||H.some((e=>!e.isFixed)):c},j&&{isMulti:!0},o&&{components:{Option:o}},"paymentReceiveStore"===a&&{components:{Option:o,SingleValue:l}},l&&{components:{SingleValue:l}},S&&{components:{MenuList:S}},Q&&{components:{MultiValueRemove:Q}},s&&{components:{MenuList:s,Option:o}},l&&o&&{components:{SingleValue:l,Option:o}},C&&{key:C},p&&{isDisabled:p},j&&{closeMenuOnSelect:!1},j&&{onBlur:X},M&&{placeholder:M},I&&{isLoading:I},T));return e.jsx("section",Object.assign({className:"_refSelectContainer",style:{width:"100%",minWidth:0}},T,{children:U}))},exports.SelectionDate=Ta,exports.SingleFormContainer=Fo,exports.SortByWrapper=li,exports.SwitchComponent=t=>{var{isForceUpdate:i,setForceUpdate:n,reset:a,setReset:o,evChange:l}=t,s=b(t,["isForceUpdate","setForceUpdate","reset","setReset","evChange"]);const{id:d,defaultChecked:c}=s,[C,p]=r.useState(c||!1);r.useEffect((()=>{i&&(p(c||!1),n&&n(!1)),a&&(p(!1),o&&o(!1))}),[i,n,a,o,c,p]);let g=Object.assign({},s);return delete g.defaultChecked,e.jsxs($a,{children:[e.jsx(_a,Object.assign({type:"checkbox",checked:C,onChange:e=>{(e=>{const t=e.target.checked;p(t)})(e),l&&l(e)}},g)),e.jsx(eo,{role:"checkbox-label",htmlFor:d})]})},exports.TableBundleColumn=Ki,exports.TableColumnGroup=Ar,exports.TableComponent=t=>{const{children:i,$mode:n,$name:a=vo,$template:o,isForceUpdate:l,setForceUpdate:s}=t;r.useEffect((()=>{l&&s&&s(!1)}),[l,s]);const d=e=>i.filter((t=>r.isValidElement(t)?t.props["aria-label"]===e:null)),c=e=>{let t=[];if(e.length)if(e[0].props.children.length>1){let r=[];e[0].props.children.forEach((e=>{(Array.isArray(e)?e:[].concat(e)).forEach((e=>{r.push(e)}))})),t=r}else t=Array.isArray(e[0].props.children)?e[0].props.children:[].concat(e[0].props.children);return t},C=d("head"),p=C&&r.isValidElement(C[0])?C[0].props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(ao,Object.assign({role:"columnheader"},t.props.style&&{style:t.props.style},t.props.className&&{className:t.props.className},t.props,{children:t.props.children}),r))):null,g=d("body"),h=g.length?c(g):null,x=h?h.map(((t,r)=>{var i,n,a;return e.jsx(oo,Object.assign({role:"row"},(null===(i=t.props)||void 0===i?void 0:i.id)&&{id:t.props.id},(null===(n=t.props)||void 0===n?void 0:n.style)&&{style:t.props.style},(null===(a=t.props)||void 0===a?void 0:a.className)&&{className:t.props.className},t.props,{children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(so,Object.assign({},t.props,{children:t.props.children}),r)))}),r)})):null,m=d("foot"),u=m.length?c(m):null,v=u?u.map(((t,r)=>e.jsx(co,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(Co,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,f=d("boldFoot"),w=f.length?c(f):null,F=w?w.map(((t,r)=>e.jsx(po,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(go,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null,y=d("final"),A=y.length?c(y):null,b=A?A.map(((t,r)=>e.jsx(ho,{role:"row",children:t.props.children.filter((e=>null!==e)).map(((t,r)=>e.jsx(xo,Object.assign({},t.props,{children:t.props.children}),r)))},r))):null;return e.jsxs(uo,{$mode:n,$name:a,$template:o,role:"table",children:[e.jsx(no,{role:"rowheader",children:p}),x,v&&v,F&&F,b&&b]})},exports.TableContentWrapper=Zi,exports.TableHeadLabel=fr,exports.TableHeadWrapper=wr,exports.TableItemColumn=Mr,exports.TableItemWrapper=Lr,exports.TableLabel=Dr,exports.TableRightGroup=yr,exports.TableRowGroup=Fr,exports.TabsContainer=qt,exports.TabsContent=Wt,exports.TabsHeader=Br,exports.TabsItem=jr,exports.TabsList=kr,exports.TabsWrapper=Or,exports.TextAreaComponent=t=>{var i,{$isError:n,reset:a,setReset:o,isForceUpdate:l,setForceUpdate:s,evChange:d,evBlur:c,isField:C,evChangeCustom:p,$isEmoji:g,$emojiStyles:h}=t,x=b(t,["$isError","reset","setReset","isForceUpdate","setForceUpdate","evChange","evBlur","isField","evChangeCustom","$isEmoji","$emojiStyles"]);const m=r.useRef(null),{name:u,defaultValue:v}=x,[f,w]=r.useState(null!==(i=null==v?void 0:v.toString())&&void 0!==i?i:"");r.useEffect((()=>{var e;l&&(w(null!==(e=null==v?void 0:v.toString())&&void 0!==e?e:""),s&&s(!1)),a&&(w(""),o&&o(!1))}),[l,s,a,o,v]);const F=e=>{const t=e.target.value;w(t)};let y=Object.assign({},x);return delete y.defaultValue,e.jsxs("div",{style:{position:"relative"},children:[e.jsx(ba,Object.assign({ref:m,$isError:n,value:f,onChange:e=>{F(e),d&&d(e)},onBlur:e=>{F(e),(e=>{c&&c(e),C&&u&&p&&p(u,e.target.value)})(e)}},y)),g?e.jsx(Aa,Object.assign({$mode:"textarea",evChange:e=>{var t;const r=f+e;if(w(r),u&&(null===(t=document.getElementsByName(u)[0])||void 0===t||t.focus()),m.current){const e={target:m.current,currentTarget:m.current};m.current.value=r,d&&d(e)}}},h&&{style:h})):null]})},exports.TextAreaRefComponent=Da,exports.TextComponent=B,exports.Title=Yt,exports.TotalLabel=Ni,exports.UpdateContainer=zr,exports.UploadComponent=t=>{var{children:r,mode:i}=t,n=b(t,["children","mode"]);const{id:a,width:o}=n;return"image"===i?e.jsxs(e.Fragment,{children:[r,e.jsx(_n,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]}):e.jsxs(Zn,{$width:o,children:[e.jsxs(Kn,{htmlFor:a,children:[e.jsx($n,{}),e.jsx(Jn,{children:r})]}),e.jsx(_n,Object.assign({},"data-idx"in n&&{"data-idx":n["data-idx"]},n["data-detail"]&&{"data-detail":n["data-detail"]},n))]})},exports.UploadDragDropComponent=t=>{var{children:i,id:n,name:a,evChange:o,evCreateMessage:l,label:s,subLabel:d,type:c,defaultValue:C,isValidFile:p=!0,evRemove:g}=t,h=b(t,["children","id","name","evChange","evCreateMessage","label","subLabel","type","defaultValue","isValidFile","evRemove"]);const{accept:x}=h,m=r.useRef(null),[u,v]=r.useState(),[f,w]=r.useState(!1),[F,y]=r.useState({fileSrc:"",fileType:"",previewKind:"file",fileLabel:""}),A=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?w(!0):"dragleave"===e.type&&w(!1)};r.useEffect((()=>{let e="",t=!0;return(async()=>{let r={fileSrc:"",fileType:"",previewKind:"file",fileLabel:""};if(p){if(u&&u.length){const t=u[0],n=Bt(t)||"document";if(r={fileSrc:t.name,fileType:n,previewKind:"file",fileLabel:t.name},"image"===n)e=URL.createObjectURL(t),r={fileSrc:e,fileType:n,previewKind:"image",fileLabel:t.name};else if("video"===n)try{r={fileSrc:await(i=t,new Promise(((t,r)=>{const n=document.createElement("video"),a=document.createElement("source"),o=URL.createObjectURL(i);a.src=o,a.type=i.type,e=o,n.appendChild(a),n.muted=!0,n.playsInline=!0,n.preload="metadata",n.onloadedmetadata=()=>{const e=document.createElement("canvas");e.width=n.videoWidth||720,e.height=n.videoHeight||122,n.currentTime=Math.min(.1,n.duration||0),n.onseeked=()=>{const i=e.getContext("2d");i?(i.drawImage(n,0,0,e.width,e.height),t(e.toDataURL("image/jpeg"))):r(new Error("Canvas context is not available"))}},n.onerror=()=>{r(new Error("Failed to load video"))},n.load()}))),fileType:n,previewKind:"image",fileLabel:t.name}}catch(e){r={fileSrc:t.name,fileType:n,previewKind:"file",fileLabel:t.name}}}else C&&(r={fileSrc:C,fileType:null!=c?c:"image",previewKind:"image"===(null!=c?c:"image")?"image":"file",fileLabel:C.split("/").pop()||C});var i;t&&y(r)}else t&&y(r)})(),()=>{t=!1,e&&URL.revokeObjectURL(e)}}),[C,p,c,u]);const{fileSrc:D,fileType:E,previewKind:B,fileLabel:j}=F;return e.jsxs(ea,{onDragEnter:A,className:f?"drag-active":"",children:[e.jsx(_n,Object.assign({ref:m,id:n,name:a,onChange:e=>{e.preventDefault();const t=e.target;t.files&&t.files[0]&&(o&&o(t.files),v(t.files))}},h)),e.jsx(ta,{id:"label-file-dragdrop-upload",htmlFor:n,children:e.jsx(ia,{children:D?e.jsxs(na,{children:[e.jsxs(aa,{$backgroundSrc:"image"===B?D:void 0,children:[e.jsx("span",{className:"file-type",children:E||"document"}),e.jsx("span",{className:"file-name",children:j})]}),void 0!==g&&e.jsx("i",{className:"remove-button remove-button__active remove",onClick:e=>{e.preventDefault(),v(void 0),y({fileSrc:"",fileType:"",previewKind:"file",fileLabel:""}),m.current&&(m.current.value=""),null==g||g(e)},title:"Remove File",children:e.jsxs("svg",{fill:"none",stroke:"#70757a",strokeWidth:"2",viewBox:"0 0 24 24",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}):i?e.jsxs(la,{children:[e.jsx(sa,{}),e.jsx("span",{children:i})]}):e.jsxs(oa,{children:[e.jsxs("span",{children:[null!=s?s:"Drag & Drop file here to upload, or ",e.jsx("aside",{children:"browse"})]}),d&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx("span",{className:"_refSubLabel",children:d})]})]})})}),f&&e.jsx(ra,{onDragEnter:A,onDragLeave:A,onDragOver:A,onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),w(!1),e.dataTransfer.files[0]){const t=x?x.split(",").map((e=>e.trim().replace(".",""))):null;for(let r=0;r<e.dataTransfer.files.length;r++){const i=e.dataTransfer.files[r].name.split(".").pop();if((null==t?void 0:t.length)&&i&&!t.includes(i)){const e=vt("failed","File type is not allowed. Please check again");return l&&l(e),!1}}o&&o(e.dataTransfer.files)}}})]})},exports.abbreviateNumber=e=>{let t="";if(void 0!==e&&(t=e.toString(),e>=1e3)){const r=["","k","m","b","t"],i=Math.floor((""+e).length/3);let n;for(let t=2;t>=1;t--){n=parseFloat((0!==i?e/Math.pow(1e3,i):e).toPrecision(t));if((n+"").replace(/[^a-zA-Z 0-9]+/g,"").length<=2)break}t=n+r[i]}return t},exports.buttonActiveShadowStyle=lt,exports.buttonActiveStyle=ot,exports.buttonHoverStyle=at,exports.buttonStyle=nt,exports.capitalize=e=>e?e[0].toUpperCase()+e.substring(1):"",exports.capitalizeWords=function(e,t=[]){const r=new Set(t);return e.replace(/\S+/g,((e,t)=>{const i=e.toLowerCase();return r.has(i)&&0!==t?i:i.charAt(0).toUpperCase()+i.slice(1)}))},exports.channelMap=e=>({2:"Shopify",3:"Lazada",5:"Blanja",6:"Matahari mall",7:"Magento 1",8:"Elevania",9:"Blibli","1o":"Magento 2",11:"Bukalapak",12:"Shopee",13:"Zalora Indonesia",15:"Tokopedia",16:"JD Indonesia",18:"Zilingo",19:"Woocommerce",21:"Manual SO",3532:"Aladin Mall",10017:"Grabmart",10030:"Tiktok",10810:"Whatsapp"}[e.toString()]||""),exports.clearList=Ke,exports.colorCommonQuantity=e=>e<=0?"red":"green",exports.colorStatus=e=>{switch(e){case"Pending_payment":case"Pending_courier":case"pending payment":case"Pending Payment":case"pending courier":case"not started yet":case"Pending":case"Draft":case"Not_picked":case"Not Picked":case"Unpaid":case"Overdue":case"Write_off":case"Write Off":case"write off":case"Written Off":case"Failed Delivery":case"failed delivery":return"#FF585C";case"Open":case"open":case"In_picking":case"Partial_picked":case"in picking":case"In Picking":case"Incoming":case"not shipped":case"Not Shipped":case"Partial_paid":return"#F8813E";case"Picked":case"picked":case"Packed":case"Ready_to_ship":case"ready to ship":case"Ready to Ship":case"Ready_to_pickup":case"Shipped":case"shipped":case"Fulfilled":case"Delivered":case"delivered":case"Picked_up":case"Invoiced":case"Not_invoiced":case"Invoice_paid":case"Completed":case"completed":case"Paid":case"In Progress":case"Active":case"Confirmed":case"Adjusted":return"#21BA45";case"Cancelled":case"cancelled":case"Voided":return"#a9a9a9";case"Returned":case"return":case"Return":return"#ff585d";case"Closed":return"#2c913d";default:return"green"}},exports.colorStockAdjust=(e,t)=>e<t?"lightgreen":"red",exports.colorStockInboundQuantity=e=>["Inbounded","Incompleted","Putaway"].includes(e)?"lightgreen":"yellow",exports.colorStockInboundStatus=e=>{switch(e){case"inbounded":case"Inbounded":case"incompleted":case"Incompleted":case"Incomplete":case"putaway":case"Putaway":return"#21BA45";case"waiting-inbound":case"Waiting Inbound":case"partial-inbounded":case"Partial Inbounded":case"partial-putaway":case"Partial Putaway":return"#F8813E";default:return"#696969"}},exports.colorStockQuantity=(e,t)=>e===t?"lightgreen":"red",exports.colorStockStatus=e=>{switch(e){case"success":case"approved":case"putaway":case"adjusted":case"Adjusted":case"outbounded":case"Outbounded":return"#21BA45";case"waiting":case"waiting adjustment":case"Waiting Adjustment":case"waiting outbound":case"Waiting Outbound":return"#F8813E";default:return"#696969"}},exports.commonCSSLists=st,exports.configDateRange=Yo,exports.configDateRangeAnt=Vo,exports.currencyNumber=wt,exports.dateRangeStatus=e=>({today:"Today",lastweek:"Last 7 days",lastsecondweek:"Last 14 days",lastmonth:"Last 30 days",lastquart:"Last 90 days",custom:"Date"}[e]),exports.debounce=(e,t=300)=>{let r;return function(...i){clearTimeout(r),r=setTimeout((()=>e.apply(this,i)),t)}},exports.dropBase=tt,exports.elipsis=$e,exports.errorMessage=e=>"unique"===e?"already exists":"is required",exports.errorTitle=xt,exports.evCheckAllValidation=e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r],n=Object.keys(i);for(let e of n){if(Array.isArray(i[e]))for(let r=0;r<i[e].length;r++){const n=i[e][r],a=Object.keys(n);for(let e of a){if(Array.isArray(n[e]))for(let r=0;r<n[e].length;r++){const i=n[e][r],a=Object.keys(i);for(let e of a)if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}if(t)break}else if(-1===e.indexOf("_error")||t||(t=!0),t)break;if(t)break}}return t},exports.evCheckAllValidationByHeader=(e,t)=>{let r=!1;const i=(e,r,i,n=null)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,n||"")}return{approved:!0}},n=[];for(let t=0;t<e.length;t++){const a=e[t],o=Object.keys(a);for(const e of o){let t={approved:!0};if(Array.isArray(a[e]))for(let n=0;n<a[e].length;n++){const o=a[e][n],l=Object.keys(o);for(const e of l)if(Array.isArray(o[e]))for(let n=0;n<o[e].length;n++){const a=o[e][n],l=Object.keys(a);for(const n of l)t=i(n,a[n]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===n.indexOf("_error")||r||(r=!0)}else t=i(e,o[e]),t.approved||(o[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}else t=i(e,a[e]),t.approved||(a[`${e}_error`]=t.errors[0],r||(r=!0)),-1===e.indexOf("_error")||r||(r=!0)}n.push(a)}return{error:r,data:n}},exports.evCheckAllValidationByHeaderWithVariant=(e,t)=>{let r=!1;const i=(e,r,i,n)=>{const a=t.filter((t=>t.key===e&&t.validations));if(a.length){const e=a[0],t=e.typeData||"String",i=yt(t,r);return At(e,i,void 0,bt(e.validations,n))}return{approved:!0}};let n=[...e];for(let e=0;e<n.length;e++){let t=n[e],a=Object.keys(t);for(const e of a)if(Array.isArray(t[e])&&t[e].length&&"object"==typeof t[e][0])for(let n=0;n<t[e].length;n++){const a=t[e][n],o=Object.keys(a);for(const t of o)if(!Array.isArray(a[t])){const n=i(`${e}-${t}`,a[t],0,a);n.approved||(a[`${t}_error`]=n.errors[0],r||(r=!0))}}else{const n=i(e,t[e],0,t);n.approved||(t[`${e}_error`]=n.errors[0],r||(r=!0))}n.splice(e,1,t)}return{error:r,data:n}},exports.evCloseDropdown=e=>{const t=e.closest("._refContainer")||e.closest("._refDropdownPortal");if(!!t&&t.classList.contains("is-shown")){const e=document.getElementsByClassName("_refContainer is-shown"),t=document.getElementsByClassName("_refDropdownPortal is-shown");if(null==e?void 0:e.length)for(let t=0;t<e.length;t++){const r=e[t].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),e[t].classList.remove("is-shown")}if(null==t?void 0:t.length)for(let e=0;e<t.length;e++){const r=t[e].querySelector("._refDropdownOverlay");r&&(r.style.display="none"),t[e].classList.remove("is-shown")}const r=document.querySelector("._refScrollContainer");if(document.getElementsByTagName("BODY")[0].classList.remove("is-immuned"),r){r.style.overflow="auto";r.firstChild.style.overflowY="unset"}}},exports.evExecuteError=e=>{const t=vt("failed","Validation Errors found, Please fix it!");e&&e(t);const r=document.querySelectorAll(".cell-error");r.length&&Dt(r[0])},exports.evForceCloseDropdown=Et,exports.evGenerateValueMatch=bt,exports.evHighlight=e=>{if(!(null==e?void 0:e.length))return!1;const t=10*Math.ceil(e.length/10)<=10?30:10*Math.ceil(e.length/10)>=200?200:10*Math.ceil(e.length/10);setTimeout((()=>{const t=document.querySelectorAll("._refMasterTableBodyContent.is-highlighted");if(null==t?void 0:t.length)for(const e of t)e.classList.remove("is-highlighted");for(let t=0;t<e.length;t++){const r=e[t],i=document.querySelector(`#row-${r}`);if(i&&(i.classList.add("is-highlighted"),setTimeout((()=>{i.classList.remove("is-highlighted")}),1888)),t===e.length-1){const t=document.querySelector(`#row-${e[0]}`);t&&Dt(t,140)}}}),t)},exports.evKeyMapperScanner=e=>{var t=e.which;switch(!0){case t>=48&&t<=90:case t>=106&&t<=111||45===t||173===t||189===t:if(void 0!==e.key&&""!==e.key)return e.key;var r=String.fromCharCode(t);switch(e.shiftKey){case!1:r=r.toLowerCase();break;case!0:r=r.toUpperCase()}return r;case t>=96&&t<=105:return t-96+0}return""},exports.evRemoveActiveButton=()=>{const e=document.querySelector("#btn-active-red");e&&e.removeAttribute("id")},exports.evScrollTo=Dt,exports.evSetTotal=(e,t,r)=>{e&&t&&(t.innerText=`(${e})`,t.removeAttribute("hidden")),r&&"function"==typeof r&&r()},exports.evToogleSelect=()=>{const e=document.getElementsByClassName("_refContainer is-shown");if(e.length)for(let t=0;t<e.length;t++)e[t].classList.remove("is-shown")},exports.evUpdateInputRc=(e,t)=>{var r;if(!e)return!1;const i=null===(r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===r?void 0:r.set;i&&i.call(e,void 0===t?"":t);const n=new Event("input",{bubbles:!0});e.dispatchEvent(n)},exports.formLabel=it,exports.formatNumber=mt,exports.generateAddress=e=>{let t="-";if(e){t=(e.address1||e.address2?(e.address1?e.address1+", ":"")+(e.address2||"")+"<br/>":"")+(e.subDistrict||e.district||e.city?(e.subDistrict?e.subDistrict+", ":"")+(e.district?e.district+", ":"")+(e.city||"")+"<br/>":"")+(e.postalCode?e.postalCode+"<br/>":"")+(e.phone||"")}return t},exports.generateMessage=vt,exports.generateMessageQuestion=ft,exports.generateSUM=(e,t,r)=>{let i=0;return t&&e&&(i=t.reduce(((t,i)=>{let n;if(Array.isArray(e)){n=i;for(const t of e)t in n&&(n=n[t])}else n=i[e];return t+("currency"===r?parseInt(n.replace(/,.*|[^0-9]/g,"")):n)}),0)),i},exports.generateValue=yt,exports.generateValueTable=(e,t)=>{let r=e;if(t&&""!==e){const i=t.toLowerCase(),n="string"==typeof e?parseInt(e):e;/price/.test(i)?r=wt(n):/width/.test(i)||/length/.test(i)||/height/.test(i)?r=e+" cm":/weight/.test(i)?r=e+" gr":/discount/.test(i)&&(r=e+" %")}return r},exports.getFileType=Bt,exports.getSizeContainer=Ft,exports.getStorage=(e,t="string",r,i="load")=>{let n;switch(null!==sessionStorage.getItem(i)?n=null!==sessionStorage.getItem(e)?sessionStorage.getItem(e):r:(n=null!==localStorage.getItem(e)?localStorage.getItem(e):r,null!==localStorage.getItem(e)&&sessionStorage.setItem(e,n)),t){case"boolean":n=void 0!==n&&"undefined"!==n&&"true"===n;break;case"number":case"integer":n=void 0!==n&&"undefined"!==n?parseInt(n):0;break;case"object":case"array":n=void 0!==n&&"undefined"!==n?"string"==typeof n?""!==n?JSON.parse(n):void 0:n:void 0;break;default:n=void 0===n||"undefined"===n?"":n}return n},exports.headTable=rt,exports.historyType=e=>{if(!e)return"";switch(e){case"Transfer":return"ST";case"Adjustment":case"Adjustment (API)":case"Adjustment (Interface & Excel)":return"SA";case"Inbound":return"SI";case"Outbound":return"SOB";case"Return":return"RMA";case"Sales Order":return"SO";default:return""}},exports.humanise=e=>e?e.replace(/_/g," ").replace(/-/g," "):"",exports.isCustomVariantChannel=e=>{let t=!1;if(void 0!==e){t=[9,3,12,10030,15,13].includes(e)}return t},exports.isDesktop=()=>document.body.clientWidth>=1024,exports.isMobile=()=>document.body.clientWidth<768,exports.isTablet=()=>document.body.clientWidth>=768&&document.body.clientWidth<1024,exports.multiElipsis=_e,exports.pageMasterTable=e=>{switch(e){case"create-master":case"edit-master":return"master";case"create-listing":case"edit-listing":return"listing";case"confirm-adjustment":case"confirm-inbound":case"confirm-outbound":case"create-adjustment":case"create-inbound":case"create-outbound":case"create-transfer":case"create-price":return"stock";case"create-promotion":return"promotion";case"create-paymentreceive":return"payment";case"edit-picklist":case"create-picklist":return"picklist";default:return""}},exports.pasteIntoInput=(e,t)=>{if(e.focus(),"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd){var r=e.value,i=e.selectionStart;e.value=r.slice(0,i)+t+r.slice(e.selectionEnd),e.selectionEnd=e.selectionStart=i+t.length}else if(void 0!==document.selection){var n=document.selection.createRange();n.text=t,n.collapse(!1),n.select()}},exports.removeStorage=e=>(localStorage.removeItem(e),sessionStorage.removeItem(e),!0),exports.responseWidth=Je,exports.setStorage=(e,t,r)=>{if(null==t)return!1;const i="string"!=typeof t?"object"==typeof t?JSON.stringify(t):t.toString():t;switch(r){case"session":sessionStorage.setItem(e,i);break;case"local":localStorage.setItem(e,i);break;default:sessionStorage.setItem(e,i),localStorage.setItem(e,i)}},exports.statusColor=e=>{if(!e)return"";switch(e){case"Picked Up":case"Shipped":case"Delivered":case"Completed":return"green";case"Ready to Ship":case"Not Shipped":return"#F8813E";case"Pending Payment":return"red";default:return""}},exports.thirdElipsis=et,exports.typePage=e=>{if(!e)return"";switch(e){case"adjustment":case"inbound":case"outbound":return"stock";case"bundle":return"bundle";case"sales":return"sales";default:return""}},exports.unCamelCaseKeys=e=>Object.entries(e).reduce(((e,[t,r])=>(e[(e=>e.replace(/([a-z][A-Z])/g,(function(e){return e[0]+"_"+e[1].toLowerCase()})))(t)]=r,e)),{}),exports.unescapeHTML=e=>e?e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"):e,exports.validateByApproveJs=At;
|
|
5183
5183
|
//# sourceMappingURL=index.js.map
|