module.exports=[74215,a=>{"use strict";let b=(0,a.i(64831).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",0,b],74215)},46087,a=>{a.v({container:"Select-module__E8rWSW__container",dropdown:"Select-module__E8rWSW__dropdown",dropdownOpen:"Select-module__E8rWSW__dropdownOpen",emptyState:"Select-module__E8rWSW__emptyState",icon:"Select-module__E8rWSW__icon",iconOpen:"Select-module__E8rWSW__iconOpen",option:"Select-module__E8rWSW__option",optionSelected:"Select-module__E8rWSW__optionSelected",placeholder:"Select-module__E8rWSW__placeholder",trigger:"Select-module__E8rWSW__trigger",triggerActive:"Select-module__E8rWSW__triggerActive",triggerDisabled:"Select-module__E8rWSW__triggerDisabled",value:"Select-module__E8rWSW__value"})},3366,89027,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=(0,a.i(64831).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",0,d],89027);var e=a.i(46087);a.s(["default",0,function({value:a,onChange:f,options:g=[],placeholder:h="Select an option...",disabled:i=!1,className:j=""}){let[k,l]=(0,c.useState)(!1),m=(0,c.useRef)(null);(0,c.useEffect)(()=>{function a(a){m.current&&!m.current.contains(a.target)&&l(!1)}return k&&document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}},[k]);let n=g.find(b=>String(b.value)===String(a));return(0,b.jsxs)("div",{className:`${e.default.container} ${j}`,ref:m,children:[(0,b.jsxs)("button",{type:"button",className:`${e.default.trigger} ${k?e.default.triggerActive:""} ${i?e.default.triggerDisabled:""}`,onClick:()=>!i&&l(!k),disabled:i,children:[(0,b.jsx)("span",{className:n?e.default.value:e.default.placeholder,children:n?n.label:h}),(0,b.jsx)(d,{size:16,className:`${e.default.icon} ${k?e.default.iconOpen:""}`})]}),(0,b.jsx)("div",{className:`${e.default.dropdown} ${k?e.default.dropdownOpen:""}`,children:0===g.length?(0,b.jsx)("div",{className:e.default.emptyState,children:"No options available"}):g.map((c,d)=>{let g=String(a)===String(c.value);return(0,b.jsx)("div",{className:`${e.default.option} ${g?e.default.optionSelected:""}`,onClick:()=>{var a;return a=c.value,void(!i&&(f&&f(a),l(!1)))},children:c.label},d)})})]})}],3366)},36670,a=>{"use strict";let b=(0,a.i(64831).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);a.s(["Download",0,b],36670)},38824,a=>{a.v(a=>Promise.resolve().then(()=>a(53615)))},4863,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__1p-31h5._.js","server/chunks/ssr/[root-of-the-server]__0qrwx9y._.js","server/chunks/ssr/node_modules_xlsx_xlsx_mjs_1778wfe._.js"].map(b=>a.l(b))).then(()=>b(59406)))}];

//# sourceMappingURL=_1j7ql9k._.js.map