1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d35b014f-b85c-4ca1-b42b-b389cf997aa2",e._sentryDebugIdIdentifier="sentry-dbid-d35b014f-b85c-4ca1-b42b-b389cf997aa2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2864],{29819:function(e,r,t){t.d(r,{A:function(){return _},Alert:function(){return W},Ct:function(){return Z},Ee:function(){return e4},HY:function(){return eM},II:function(){return eR},J2:function(){return eU},Loader:function(){return ea},Lt:function(){return ej},OK:function(){return rM},Ph:function(){return rQ},Text:function(){return e1},Title:function(){return eJ},UQ:function(){return rH},XZ:function(){return ec},YM:function(){return eC},YO:function(){return E},cn:function(){return x},dy:function(){return eb},gx:function(){return rL},kC:function(){return tr},qE:function(){return G},u:function(){return rP},u_:function(){return eI},xu:function(){return r7},zx:function(){return en}});var a=t(61994),s=t(53335),n=t(2265),l=t(57437),o=t(45926),i=t(45587),d=t(57699),c=(t(1560),t(61896)),u=t(97859),p=t(51050),m=t(31492),b=t(25937),h=t(34630);function x(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.m6)((0,a.W)(r))}function g(e){return"rizzui-".concat(e)}var f={base:"inline-flex shrink-0 transform items-center justify-center rounded-full bg-muted/70 backdrop-blur text-foreground/90 transition-all duration-200 ease-in-out hover:bg-primary hover:text-primary-foreground",size:{sm:"h-3.5 w-3.5",md:"h-4 w-4",lg:"h-4 w-4",xl:"h-[18px] w-[18px]"},hasSuffix:{sm:"me-1.5",md:"me-2",lg:"me-2.5",xl:"me-2.5"}};function w(e){let{as:r,size:t,onClick:a,hasSuffix:s,className:n}=e;return(0,l.jsx)(r||"button",{type:"button",onClick:a,className:x(g("input-clear-btn"),"input-clear-btn",f.base,t&&[f.size[t],s&&f.hasSuffix[t]],n),children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-4 w-auto",children:(0,l.jsx)("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})})}w.displayName="FieldClearButton";var y={base:"text-red",size:{sm:"text-[11px] mt-0.5",md:"text-[13px] mt-0.5",lg:"text-[13px] mt-1",xl:"text-sm mt-1"}};function v(e){let{as:r="div",error:t,size:a,className:s}=e;return(0,l.jsx)(r,{role:"alert",className:x(y.base,a&&y.size[a],s),children:t})}v.displayName="FieldError";var N={size:{sm:"text-[11px] mt-0.5",md:"text-[13px] mt-0.5",lg:"text-[13px] mt-1",xl:"text-sm mt-1"}};function k(e){let{size:r,as:t="div",children:a,className:s}=e;return(0,l.jsx)(t,{role:"alert",className:x(r&&N.size[r],s),children:a})}function j(e){return(0,l.jsx)("svg",{"data-testid":"spinner-icon",stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392 0.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"})})}k.displayName="FieldHelperText";var z={solid:{base:"border border-transparent dark:backdrop-blur",color:{primary:"bg-primary hover:bg-primary-dark dark:hover:bg-primary/90 focus-visible:ring-muted text-primary-foreground",secondary:"bg-secondary hover:bg-secondary-dark dark:hover:bg-secondary/80 focus-visible:ring-secondary/30 text-secondary-foreground",danger:"bg-red hover:bg-red-dark dark:hover:bg-red/80 focus-visible:ring-red/30 text-white"}},flat:{base:"border-transparent backdrop-blur bg-muted",color:{primary:"hover:bg-primary-lighter focus-visible:ring-primary-lighter hover:text-primary-dark",secondary:"hover:bg-secondary-lighter focus-visible:ring-secondary-lighter hover:text-secondary-dark",danger:"bg-red-lighter focus-visible:ring-red-lighter text-red-dark"}},outline:{base:"bg-transparent border border-muted dark:backdrop-blur",color:{primary:"focus-visible:ring-muted hover:text-primary hover:border-primary",secondary:"focus-visible:ring-secondary-lighter hover:text-secondary hover:border-secondary",danger:"focus-visible:ring-red-lighter text-red hover:text-red-dark border-red hover:border-red-dark "}},text:{base:"",color:{primary:"hover:text-primary focus-visible:ring-primary-lighter",secondary:"hover:text-secondary focus-visible:ring-secondary-lighter",danger:"hover:text-red-dark focus-visible:ring-red-lighter text-red"}}},C={base:"inline-flex items-center justify-center active:enabled:translate-y-
1px focus:outline-none focus-visible:ring-[1.8px] focus-visible:ring-offset-2 ring-offset-background transition-colors duration-200",disabled:"dark:hover:bg-muted/70 cursor-not-allowed border-muted bg-muted/70 text-muted-foreground backdrop-blur-xl hover:border-muted hover:bg-muted/70",size:{sm:"p-0.5 w-7 h-7",md:"p-1 w-9 h-9",lg:"p-2 w-11 h-11",xl:"p-2 w-12 h-12"},rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded",lg:"rounded-md",full:"rounded-full"},spinnerSize:{sm:"w-3.5",md:"w-4",lg:"w-5",xl:"w-6"},variant:z},_=(0,n.forwardRef)((e,r)=>{let{as:t="button",type:a="button",children:s,className:n,isLoading:o,variant:i="solid",size:d="md",rounded:c="md",color:u="primary",disabled:p,...m}=e,b=C.variant[i];return(0,l.jsx)(t,{ref:r,disabled:p,className:x(g("action-icon-root"),C.base,C.size[d],C.rounded[c],b.base,b.color[u],o&&"pointer-events-none relative",p&&C.disabled,n),...t&&"span"!==t&&{type:a},...m,children:o?(0,l.jsx)(j,{className:x(g("action-icon-spinner"),"h-auto animate-spin",C.spinnerSize[d])}):(0,l.jsx)(l.Fragment,{children:s})})});_.displayName="ActionIcon";var M={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",pill:"rounded-full"},F={left:"",center:"text-center [&>*]:mx-auto"},S={sm:"px-2 py-1 min-h-[32px] min-w-[70px]",md:"px-3.5 py-2 min-h-[40px] min-w-[90px]",lg:"px-4 py-2 min-h-[48px] min-w-[120px]",xl:"px-5 py-2.5 min-h-[56px] min-w-[150px]"};(0,n.forwardRef)((e,r)=>{let{rounded:t="md",size:a="md",alignment:s="left",children:n,inputClassName:o,contentClassName:i,className:d,...c}=e;return(0,l.jsxs)("label",{className:x(g("advanced-checkbox-root"),"relative block",d),children:[(0,l.jsx)("input",{type:"checkbox",ref:r,className:x(g("advanced-checkbox-input"),"peer absolute -z-[1] opacity-0",o),...c}),(0,l.jsx)("span",{className:x("block",g("advanced-checkbox"),"border border-muted hover:border-primary ring-[0.6px] ring-muted cursor-pointer transition duration-200 ease-in-out","peer-checked:border-primary peer-checked:ring-primary peer-checked:ring-[0.8px]","peer-disabled:bg-muted/70 peer-disabled:backdrop-blur peer-disabled:border-muted peer-disabled:ring-muted peer-disabled:cursor-not-allowed peer-disabled:text-muted-foreground",S[a],M[t],F[s],i),children:n})]})}).displayName="AdvancedCheckbox";var L={left:"",center:"text-center [&>*]:mx-auto"},O={sm:"px-2 py-1 min-h-[32px] min-w-[70px]",md:"px-3.5 py-2 min-h-[40px] min-w-[90px]",lg:"px-4 py-2 min-h-[48px] min-w-[120px]",xl:"px-5 py-2.5 min-h-[56px] min-w-[150px]"},E=(0,n.forwardRef)((e,r)=>{let{rounded:t="md",size:a="md",alignment:s="left",children:n,inputClassName:o,contentClassName:i,className:d,...c}=e;return(0,l.jsxs)("label",{className:x(g("advanced-radio-root"),"relative block",d),children:[(0,l.jsx)("input",{type:"radio",ref:r,className:x(g("advanced-radio-input"),"peer absolute -z-[1] opacity-0",o),...c}),(0,l.jsx)("span",{className:x("block",g("advanced-radio"),"border border-muted hover:border-primary ring-[0.6px] ring-muted cursor-pointer transition duration-200 ease-in-out","peer-checked:border-primary peer-checked:ring-primary peer-checked:ring-[0.8px]","peer-disabled:bg-muted/70 peer-disabled:backdrop-blur peer-disabled:text-muted-foreground peer-disabled:border-muted peer-disabled:ring-muted peer-disabled:cursor-not-allowed",O[a],M[t],L[s],i),children:n})]})});function P(e){return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}function R(e){return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}function T(e){return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}E.displayName="AdvancedRadio";var B={size:{sm:"h-3 w-3",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6"}},I=e=>{let{size:r,color:t}=e;return"danger"===t?(0,l.jsx)(P,{"data-testid":"alert-xicon",className:B.size[r]}):"info"===t?(0,l.jsx)(T,{"data-testid":"alert-question-icon",className:B.size[r]}):"success"===t?(0,l.jsx)(R,{"data-testid":"alert-check-icon",className:B.size[r]}):(0,l.jsx)("svg",{"data-testid":"alert-warning-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor",className:B.size[r],children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})})},D={base:"relative block w-full bg-transparent break-all dark:backdrop-blur",size:{sm:"px-2.5 py-2 text-xs leading-5",md:"px-4 py-3 text-sm leading-6",lg:"px-4 py-4 text-base leading-7",xl:"px-5 py-5 text-base leading-7"},rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},leftPadding:{size:{sm:"ps-8",md:"ps-10",lg:"ps-11",xl:"ps-12"}},rightPadding:{size:{sm:"pe-8",md:"pe-10",lg:"pe-11",xl:"pe-12"}},variant:{flat:{base:"border",color:{danger:"bg-red-lighter/70 border-red dark:border-red/70",info:"bg-blue-lighter/70 border-blue dark:border-blue/70",success:"bg-green-lighter/70 border-green dark:border-green/70",warning:"bg-orange-lighter/70 border-orange dark:border-orange/70"}},outline:{base:"border bg-transparent",color:{danger:"border-red dark:border-red/70",info:"border-blue dark:border-blue/70",success:"border-green dark:border-green/70",warning:"border-orange dark:border-orange/70"}}}},H={base:"absolute top-0 h-full flex items-center justify-center",position:{left:{sm:"start-2.5",md:"start-4",lg:"start-4",xl:"start-5"},right:{sm:"end-2.5",md:"end-4",lg:"end-4",xl:"end-5"}}},A={base:"flex justify-center items-center p-1",rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded",lg:"rounded-md",xl:"rounded-lg"},size:{sm:"h-3 w-3",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6"},iconColor:{danger:"bg-red text-white ",info:"bg-blue text-white ",success:"bg-green text-white ",warning:"bg-orange text-white "},variant:{flat:{base:"bg-white",color:{danger:"text-red",info:"text-blue",success:"text-green",warning:"text-orange"}},outline:{base:"bg-white border",color:{danger:"text-red border-red",info:"text-blue border-blue",success:"text-green border-green",warning:"text-orange border-orange"}}}},V={base:"absolute left-0 top-0 h-full p-0.5 rtl:right-0 rtl:left-auto",rounded:{none:"rounded-tl-none rounded-bl-none",sm:"rounded-tl-sm rounded-bl-sm",md:"rounded-tl-md rounded-bl-md",lg:"rounded-tl-lg rounded-bl-lg",xl:"rounded-tl-xl rounded-bl-xl"},color:{danger:"bg-red",info:"bg-blue",success:"bg-green",warning:"bg-orange"}};function W(e){let{size:r="md",rounded:t="md",variant:a="outline",color:s,bar:n=!1,children:o,closable:i,onClose:d,icon:c,closeIcon:u,className:p,barClassName:m,iconContainerClassName:b,iconClassName:h}=e;return(0,l.jsxs)("div",{"data-testid":"alert-parent",className:x(g("alert-root"),D.base,D.size[r],D.rounded[t],D.variant[a].base,D.variant[a].color[s],n&&"outline"!==a&&"!border-0",p),children:[n&&(0,l.jsx)("span",{"data-testid":"alert-bar",className:x(g("alert-bar"),V.base,V.roun
1ded[t],V.color[s],m)}),(0,l.jsx)("div",{"data-testid":"alert-content",className:x(g("alert-content"),H.base,H.position.left[r],b),children:c||(0,l.jsx)("span",{className:x(g("alert-icon"),A.base,A.rounded[t],A.iconColor[s],h),children:(0,l.jsx)(I,{size:r,color:s})})}),(0,l.jsx)("div",{className:x(g("alert-content"),D.leftPadding.size[r],i&&D.rightPadding.size[r]),children:o}),(i||u)&&(0,l.jsx)("div",{role:"button",tabIndex:0,className:x(g("alert-close"),H.base,H.position.right[r]),onClick:d,children:u||(0,l.jsx)("span",{className:x(A.base,A.rounded[t],A.variant[a].base,A.variant[a].color[s]),children:(0,l.jsx)(P,{"data-testid":"alert-clear-icon",className:x("cursor-pointer",A.size[r])})})})]})}W.displayName="Alert";var Y={base:"inline-flex items-center justify-center font-semibold leading-none",outlineRing:"ring-2 ring-background",size:{sm:"px-1.5 py-1 text-[10px] leading-[1.1]",md:"px-2.5 py-1.5 text-xs",lg:"px-3 py-2 text-sm",xl:"px-3 py-2 text-base"},dot:{size:{sm:"w-1.5 h-1.5",md:"w-2 h-2",lg:"w-3 h-3",xl:"w-3.5 h-3.5"}},rounded:M,variant:{solid:{base:"",color:{primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-green text-white",warning:"bg-orange text-white",danger:"bg-red text-white",info:"bg-blue text-white"}},flat:{base:"",color:{primary:"bg-primary-lighter text-primary-dark",secondary:"bg-secondary-lighter text-secondary-dark",success:"bg-green-lighter text-green-dark",warning:"bg-orange-lighter text-orange-dark",danger:"bg-red-lighter text-red-dark",info:"bg-blue-lighter text-blue-dark"}},outline:{base:"bg-transparent border",color:{primary:"border-primary text-primary-dark",secondary:"border-secondary text-secondary-dark",success:"border-green text-green-dark",warning:"border-orange text-orange-dark",danger:"border-red text-red-dark",info:"border-blue text-blue-dark"}}}};function Z(e){let{renderAsDot:r=!1,size:t="md",color:a="primary",variant:s="solid",rounded:n="pill",enableOutlineRing:o,children:i,className:d,...c}=e,u=Y.variant[s];return(0,l.jsx)("span",{className:x(g("badge"),Y.base,Y.variant[s],r?Y.dot.size[t]:Y.size[t],u.color[a],u.base,Y.rounded[n],o&&Y.outlineRing,d),...c,children:r?null:i})}Z.displayName="Badge";var K={base:"inline-flex items-center justify-center flex-shrink-0",size:{sm:"32",md:"40",lg:"48",xl:"56"},fontSize:{sm:"text-xs",md:"text-sm",lg:"text-base",xl:"text-lg"},rounded:{none:"rounded-none",sm:"rounded",md:"rounded-xl",lg:"rounded-2xl",full:"rounded-full"},color:{primary:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-green text-white",warning:"bg-orange text-white",danger:"bg-red text-white",info:"bg-blue text-white"}},q=[{string:["a","n"],color:"#FF9F47"},{string:["b","o"],color:"#A347FF"},{string:["c","p"],color:"#726D76"},{string:["d","q"],color:"#FF6847"},{string:["e","r"],color:"#47A7FF"},{string:["f","s"],color:"#22BCA0"},{string:["g","t"],color:"#FF4794"},{string:["h","u"],color:"#4770FF"}
1,{string:["i","v"],color:"#40DFEF"},{string:["j","w"],color:"#AB46D2"},{string:["k","x"],color:"#83BD75"},{string:["l","y"],color:"#FF008E"},{string:["m","z"],color:"#ef4444"}];function X(e){var r,t;return null!==(t=null===(r=q.filter(r=>r.string.includes(null==e?void 0:e.charAt(0).toLowerCase()))[0])||void 0===r?void 0:r.color)&&void 0!==t?t:"#FF6847"}function G(e){let{src:r,name:t,size:a="md",initials:s,customSize:o,rounded:i="full",color:d,onClick:c,className:u}=e,[p,m]=n.useState(!1),b=s||t.split(" ").map(e=>e[0]).slice(0,2).join("").toUpperCase(),h=null!=o?o:K.size[a];return r&&!p?(0,l.jsx)("img",{src:r,alt:t,title:t,draggable:!1,loading:"lazy",width:h,height:h,onError:()=>m(()=>!0),className:x(g("avatar-img"),K.base,K.rounded[i],d&&K.color[d],c&&"cursor-pointer","object-cover",u),style:{width:h+"px",height:h+"px",...!d&&{backgroundColor:X(b)}},onClick:c}):(0,l.jsx)("span",{title:t,className:x(g("avatar-initials"),K.base,K.fontSize[a],K.rounded[i],d&&K.color[d],"font-semibold",c&&"cursor-pointer",u),style:{width:h+"px",height:h+"px",...!d&&{backgroundColor:X(b)}},onClick:c,children:b})}function U(e){let{fill:r,...t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:null!=r?r:"currentColor",viewBox:"0 0 24 24",...t,children:(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M11 1h2v5h-2z",opacity:.14}),(0,l.jsx)("path",{d:"m16.634 1.974 1.732 1-2.5 4.33-1.732-1z",opacity:.29}),(0,l.jsx)("path",{d:"m21.026 5.634 1 1.732-4.33 2.5-1-1.732z",opacity:.43}),(0,l.jsx)("path",{d:"M23 11v2h-5v-2z",opacity:.57}),(0,l.jsx)("path",{d:"m22.026 16.634-1 1.732-4.33-2.5 1-1.732z",opacity:.71}),(0,l.jsx)("path",{d:"m18.366 21.026-1.732 1-2.5-4.33 1.732-1z",opacity:.86}),(0,l.jsx)("path",{d:"M13 23h-2v-5h2z"}),(0,l.jsx)("animateTransform",{attributeName:"transform",calcMode:"discrete",dur:"0.75s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;30 12 12;60 12 12;90 12 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12;360 12 12"})]})})}function Q(e){let{fill:r,...t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:null!=r?r:"currentColor",...t,children:(0,l.jsxs)("circle",{cx:12,cy:12,r:0,children:[(0,l.jsx)("animate",{attributeName:"r",calcMode:"spline",dur:"1.2s",keySplines:".52,.6,.25,.99",repeatCount:"indefinite",values:"0;11"}),(0,l.jsx)("animate",{attributeName:"opacity",calcMode:"spline",dur:"1.2s",keySplines:".52,.6,.25,.99",repeatCount:"indefinite",values:"1;0"})]})})}function $(e){let{...r}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...r,children:(0,l.jsxs)("g",{stroke:"currentColor",children:[(0,l.jsxs)("circle",{cx:12,cy:12,r:9.5,fill:"none",strokeLinecap:"round",strokeWidth:3,children:[(0,l.jsx)("animate",{attributeName:"stroke-dasharray",calcMode:"spline",dur:"1.5s",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",keyTimes:"0;0.475;0.95;1",repeatCount:"indefinite",values:"0 150;42 150;42 150;42 150"}),(0,l.jsx)("animate",{attributeName:"stroke-dashoffset",calcMode:"spline",dur:"1.5s",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1",keyTimes:"0;0.475;0.95;1",repeatCount:"indefinite",values:"0;-16;-59;-59"})]}),(0,l.jsx)("animateTransform",{attributeName:"transform",dur:"2s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})})}function J(e){let{fill:r,...t}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:null!=r?r:"currentColor",...t,children:[(0,l.jsx)("circle",{cx:4,cy:12,r:1.5,children:(0,l.jsx)("animate",{attributeName:"r",dur:"0.75s",repeatCount:"indefinite",values:"1.5;3;1.5"})}),(0,l.jsx)("circle",{cx:12,cy:12,r:3,children:(0,l.jsx)("animate",{attributeName:"r",dur:"0.75s",repeatCount:"indefinite",values:"3;1.5;3"})}),(0,l.jsx)("circle",{cx:20,cy:12,r:1.5,children:(0,l.jsx)("animate",{attributeName:"r",dur:"0.75s",repeatCount:"indefinite",values:"1.5;3;1.5"})})]})}G.displayName="Avatar",U.displayName="BarsSpinner",Q.displayName="PulseLoader",$.displayName="Spinner",J.displayName="ThreeDotScale";var ee={sm:"w-5",md:"w-[22px]",lg:"w-7",xl:"w-9"},er={current:"text-current",primary:"text-primary",secondary:"text-secondary",danger:"text-red",info:"text-blue",success:"text-green",warning:"text-orange"},et={bars:U,pulse:Q,spinner:$,threeDot:J};function ea(e){let{size:r="md",color:t="current",variant:a="bars",className:s,...n}=e,o=et[a];return(0,l.jsx)(o,{"data-testid":"loader",className:x(g("loader-".concat(a)),"h-auto",ee[r],er[t],s),...n})}ea.displayName="Loader";var es={base:"inline-flex font-medium items-center justify-center active:enabled:translate-y-
1px focus:outline-none focus-visible:ring-[1.8px] focus-visible:ring-offset-2 ring-offset-background transition-colors duration-200",disabled:"dark:hover:bg-muted/70 cursor-not-allowed border-muted bg-muted/70 text-muted-foreground backdrop-blur-xl hover:border-muted hover:bg-muted/70",size:{sm:"px-2.5 py-1 text-xs h-8",md:"px-4 py-2 text-sm h-10",lg:"px-5 py-2 text-base h-12",xl:"px-8 py-2.5 text-base h-14"},rounded:M,variant:z},en=(0,n.forwardRef)((e,r)=>{let{children:t,className:a,isLoading:s,as:n="button",type:o="button",variant:i="solid",size:d="md",rounded:c="md",color:u="primary",disabled:p,...m}=e,b=es.variant[i];return(0,l.jsx)(n,{ref:r,disabled:p,className:x(g("button"),es.base,es.size[d],es.rounded[c],b.base,b.color[u],s&&"pointer-events-none relative",p&&es.disabled,a),...n&&"span"!==n&&{type:o},...m,children:s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"invisible opacity-0",children:t}),(0,l.jsx)("span",{className:x(g("button-loader"),"absolute inset-0 flex h-full w-full items-center justify-center"),children:(0,l.jsx)(ea,{size:d,className:"scale-95"})})]}):(0,l.jsx)(l.Fragment,{children:t})})});en.displayName="Button";var el={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},eo={weight:el,size:{sm:"text-xs mb-1",md:"text-sm mb-1.5",lg:"text-sm mb-1.5",xl:"text-base mb-2"}},ei={weight:eo.weight,size:eo.size,margin:{left:{sm:"me-1.5",md:"me-2",lg:"me-2.5",xl:"me-3"},right:{sm:"ms-1.5",md:"ms-2",lg:"ms-2.5",xl:"ms-3"}}},ed={base:"peer checked:bg-none focus:ring-offset-background transition duration-200 ease-in-out",disabled:"disabled:bg-muted/70 disabled:backdrop-blur disabled:border-muted",size:{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-7 w-7",xl:"h-8 w-8"},rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded",lg:"rounded-md",full:"rounded-full"},activeIcon:"peer-checked:opacity-100 absolute opacity-0 top-0 left-0 text-primary-foreground",variant:{outline:"bg-transparent border border-muted ring-[0.6px] ring-muted focus:ring-muted checked:!bg-primary checked:!border-primary hover:enabled:border-primary",flat:"border-0 bg-muted/70 backdrop-blur hover:enabled:bg-muted focus:ring-muted checked:!bg-primary"},indeterminate:{base:"absolute inset-0 flex h-full w-full items-center justify-center overflow-hidden bg-black peer-checked:hidden",icon:"rounded bg-primary-foreground",size:{sm:"h-0.5 w-2.5",md:"h-0.5 w-3",lg:"h-[3px] w-3.5",xl:"h-[3px] w-4"}}},ec=(0,n.forwardRef)((e,r)=>{let{variant:t="outline",size:a="md",rounded:s="md",labelPlacement:n="right",labelWeight:o="medium",label:i,disabled:d,error:c,helperText:u,iconClassName:p,labelClassName:m,inputClassName:b,errorClassName:h,helperClassName:f,indeterminate:w,className:y,...N}=e;return(0,l.jsxs)("div",{className:x(g("checkbox-root"),"flex flex-col",y),children:[(0,l.jsxs)("label",{className:x(g("checkbox-container"),"flex cursor-pointer flex-row items-center",d&&"cursor-not-allowed"),children:[(0,l.jsxs)("span",{className:"relative leading-none",children:[(0,l.jsx)("input",{type:"checkbox",ref:r,disabled:d,className:x(g("checkbox-input"),ed.base,ed.disabled,ed.size[a],ed.rounded[s],ed.variant[t],b),...N}),w&&(0,l.jsx)("span",{className:x(ed.indeterminate.base,ed.rounded[s]),children:(0,l.jsx)("span",{className:x(ed.indeterminate.icon,ed.indeterminate.size[a])})}),(0,l.jsx)(R,{className:x(g("checkbox-icon"),ed.activeIcon,ed.size[a],"sm"===a&&"top-0.5",p)})]}),i?(0,l.jsx)("span",{className:x(g("checkbox-label"),ei.size[a],ei.weight[o],ei.margin[n][a],d&&"text-muted-foreground","left"===n&&"order-first","mb-0",m),children:i}):null]}),!c&&u?(0,l.jsx)(k,{size:a,className:x(g("checkbox-helper-text"),d&&"text-muted-foreground",f),children:u}):null,c?(0,l.jsx)(v,{size:a,error:c,className:x(g("checkbox-error-text"),h)}):null]})});function eu(e,r,t){return"add"===t?e+Math.abs(r):e-Math.abs(r)}ec.displayName="Checkbox";var ep={overlay:"fixed inset-0 cursor-pointer bg-black bg-opacity-60 transition-opacity dark:bg-opacity-80",placement:{top:"-translate-y-full",right:"translate-x-full",bottom:"translate-y-full",left:"-translate-x-full"},sizeOfYAxisDrawer:{sm:"max-h-[30%]",md:"max-h-[35%]",lg:"max-h-[60%]",xl:"max-h-[80%]",full:"max-h-full"},sizeOfXAxisDrawer:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-2xl",xl:"max-w-[60%]",full:"max-w-full"},resizeHandlerPlacement:{top:"start-1/2 bottom-1 h-1.5 transition-transform duration-300 w-14 hover:scale-x-125 cursor-n-resize",right:"start-1 top-1/2 h-14 hover:scale-y-125 transition-transform duration-300 w-1.5 -translate-y-1/2 cursor-w-resize",bottom:"start-1/2 -translate-x-1/2 top-1 w-14 h-1.5 transition-transform duration-300 hover:scale-x-125 cursor-n-resize",left:"end-1 top-1/2 h-14 hover:scale-y-125 transition-transform duration-300 w-1.5 -translate-y-1/2 cursor-w-resize"}};function em(e){return -1!==["top","bottom"].indexOf(e)}function eb(e){let{isOpen:r,onClose:t,size:a="md",placement:s="right",customSize:d,enableResizer:c=!1,overlayClassName:u,containerClassName:p,resizerClassName:m,className:b,children:h}=e,f=o.u,w=o.x,{handleMouseDown:y,containerRef:v,width:N}=function(e){var r,t;let{placement:a,customSize:s=384}
1=e,[l,o]=(0,n.useState)(!1),[i,d]=(0,n.useState)(0),c=(0,n.useRef)(null),u=em(a)?null===(r=c.current)||void 0===r?void 0:r.clientHeight:null===(t=c.current)||void 0===t?void 0:t.clientWidth,[p,m]=(0,n.useState)(null!=u?u:s);return(0,n.useEffect)(()=>{let e=e=>{let r=0,t=0;"right"===a?t=(r=e.clientX-i)>0?eu(p,r,"sub"):eu(p,r,"add"):"left"===a?t=(r=e.clientX-i)>0?eu(p,r,"add"):eu(p,r,"sub"):"top"===a&&(t=(r=e.clientY-i)>0?eu(p,r,"add"):eu(p,r,"sub")),"bottom"===a&&(t=(r=e.clientY-i)>0?eu(p,r,"sub"):eu(p,r,"add")),m(()=>t)},r=()=>{o(()=>!1)};return l&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",r)),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r)}},[l]),{handleMouseDown:e=>{e.preventDefault(),m(()=>null!=u?u:p||s),d(()=>em(a)?e.clientY:e.clientX),o(()=>!0)},width:p,containerRef:c}}({placement:s,customSize:d});return(0,l.jsx)(f,{appear:!0,show:r,as:n.Fragment,children:(0,l.jsxs)(i.Vq,{as:"aside",onClose:t,className:x(g("drawer-root"),"fixed inset-0 z-[999] overflow-hidden",b),children:[(0,l.jsx)(w,{as:n.Fragment,enter:"ease-in-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)("div",{onMouseDown:y,className:x(g("drawer-overlay"),ep.overlay,u)})}),(0,l.jsx)("button",{type:"button",className:"sr-only !min-w-[320px]",children:"Sr Only"}),(0,l.jsx)(w,{as:n.Fragment,enter:"transform transition ease-in-out duration-300",enterFrom:ep.placement[s],enterTo:em(s)?"translate-y-0":"translate-x-0",leave:"transform transition ease-in-out duration-300",leaveFrom:em(s)?"translate-y-0":"translate-x-0",leaveTo:ep.placement[s],children:(0,l.jsxs)(i.EM,{ref:v,className:x(g("drawer-container"),"fixed h-full w-full break-words bg-background shadow-xl","top"===s&&"top-0","right"===s&&"inset-y-0 right-0","bottom"===s&&"bottom-0","left"===s&&"inset-y-0 left-0",d&&[em(s)?"max-h-screen min-h-96":"min-w-96 max-w-full"],!d&&[em(s)?ep.sizeOfYAxisDrawer[a]:ep.sizeOfXAxisDrawer[a]],p),...d&&{style:{height:em(s)?N:"inherit",width:em(s)?"100%":N}},children:[c&&(0,l.jsx)("div",{onMouseDown:y,className:x("absolute rounded-md bg-gray-400",ep.resizeHandlerPlacement[s],m)}),h]})})]})})}eb.displayName="Drawer";var eh=(0,n.createContext)(null);function ex(e){let{value:r,children:t}=e;return(0,l.jsx)(eh.Provider,{value:r,children:t})}var eg=()=>{let e=(0,n.useContext)(eh);if(!e)throw Error("useDropdown must be used within a DropdownProvider");return e},ef={rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-[4px]",lg:"rounded-md",xl:"rounded-lg"}},ew=n.forwardRef((e,r)=>{let{as:t="button",className:a,children:s,disabled:n,activeClassName:o,disabledClassName:i,...c}=e,{rounded:u}=eg();return(0,l.jsx)(d.sN,{disabled:n,children:e=>{let{disabled:n,focus:d}=e;return(0,l.jsx)(t,{ref:r,..."button"===t&&{type:"button"},className:x(g("dropdown-item"),"flex w-full items-center px-3 py-1.5",u&&ef.rounded[u],d&&["bg-muted/70",o],n&&i,a),...c,children:s})}})});ew.displayName="DropdownItem";var ey={top:"top",right:"right",bottom:"bottom",left:"left","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","right-start":"right start","right-end":"right end","left-start":"left start","left-end":"left end"},ev={base:"z-[999] border border-muted bg-background !p-1.5 focus-visible:outline-none dark:bg-muted/80 dark:backdrop-blur-3xl",rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl"},shadow:{none:"shadow-none",sm:"drop-shadow-sm",md:"drop-shadow",lg:"drop-shadow-md",xl:"drop-shadow-lg"}};function eN(e){let{className:r,children:t,...a}
1=e,{rounded:s,shadow:i,placement:c,gap:u,inPortal:p,modal:m}=eg();return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.u,{as:n.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,l.jsx)(d.sd,{modal:m,portal:p,...p&&{anchor:{to:ey[c],gap:u}},className:x(g("dropdown-menu"),"w-48",ev.base,s&&ev.rounded[s],i&&ev.shadow[i],!p&&"absolute start-0 z-10 mt-1.5",r),...a,children:t})})})}eN.displayName="DropdownMenu";var ek=n.forwardRef((e,r)=>{let{as:t,className:a,children:s,...n}=e;return(0,l.jsx)(d.j2,{as:t,ref:r,..."button"===t&&{type:"button"},className:x(g("dropdown-button"),a),...n,children:(0,l.jsx)(l.Fragment,{children:s})})});function ej(e){let{inPortal:r=!0,modal:t=!1,placement:a="bottom-start",gap:s=6,rounded:o="md",shadow:i="md",children:c,className:u}=e;return(0,l.jsx)(ex,{value:{rounded:o,shadow:i,inPortal:r,placement:a,gap:s,modal:t},children:(0,l.jsx)(d.v2,{as:"div",className:x(g("dropdown-root inline-block"),"relative",u),children:e=>{let{open:r}=e;return(0,l.jsx)(l.Fragment,{children:n.Children.map(c,e=>n.isValidElement(e)&&e.type===ek||n.isValidElement(e)&&e.type===eN&&r?e:null)})}})})}function ez(e){let{className:r="w-44 h-auto"}=e;return(0,l.jsx)("svg",{"data-testid":"empty-default-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 184 152",...r&&{className:r},children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,l.jsxs)("g",{transform:"translate(24 31.67)",children:[(0,l.jsx)("ellipse",{fillOpacity:.8,className:"fill-muted",cx:67.797,cy:106.89,rx:67.797,ry:12.668}),(0,l.jsx)("path",{d:"M122.034 69.674 98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",className:"fill-muted/70"}),(0,l.jsx)("path",{d:"M101.537 86.214 80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),(0,l.jsx)("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",className:"fill-background"}),(0,l.jsx)("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zm.262 39.814h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zm0 11.763h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zm78.873 43.502c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569a7.33 7.33 0 0 1-.221 1.789z",className:"fill-muted"})]}),(0,l.jsx)("path",{d:"m149.121 33.292-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",className:"fill-muted"}),(0,l.jsxs)("g",{className:"fill-background",transform:"translate(149.65 15.383)",children:[(0,l.jsx)("ellipse",{cx:20.654,cy:3.167,rx:2.849,ry:2.815}),(0,l.jsx)("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"})]})]})})}function eC(e){let{className:r="w-80 h-auto"}=e;return(0,l.jsxs)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 350 350",...r&&{className:r},children:[(0,l.jsx)("path",{d:"M90.26 327.146C82.84 325.571-6.2 311.116.344 204.611 6.89 98.106 15.114 66.046 49.764 54.321c34.65-11.725 118.79-67.165 184.835-14.455 66.045 52.71 137.306 100.03 109.025 184.205-28.28 84.21-32.899 112.28-106.715 107.975-73.78-4.27-111.405 2.73-146.65-4.9Z",className:"fill-background"}),(0,l.jsx)("path",{d:"M269.885 305.445c1.715-1.435 2.695-3.395 2.87-5.46.175-2.065-.42-4.2-1.82-5.88l-61.005-73.36c13.3-12.915 22.225-30.45 24.045-50.33 4.06-44.275-28.63-83.58-72.905-87.64-44.275-4.06-83.58 28.63-87.64 72.905-4.06 44.275 28.63 83.58 72.905 87.64 16.975 1.575 33.25-2.31 47.075-10.15l3.815-2.52 61.32 73.745c2.835 3.43 7.91 3.885 11.34 1.05ZM216.65 168.84c-3.185 34.72-34.02 60.34-68.705 57.155-34.72-3.185-60.34-34.02-57.155-68.705 3.185-34.685 33.985-60.375 68.67-57.19 34.72 3.22 60.375 34.02 57.19
168.74Z",className:"fill-muted"}),(0,l.jsx)("path",{d:"M82.628 124.845c-3.22 6.86-6.125 13.93-8.155 21.21-1.89 6.755-2.485 13.615-2.205 20.615.525 13.16 4.375 26.075 11.06 37.415 13.37 22.715 37.415 37.73 63.7 39.725 16.555 1.26 34.685-2.415 48.65-11.69.7-.455-.98-.315-1.295-.07-12.985 8.575-29.645 12.04-45.01 11.13-13.16-.805-26.04-4.865-37.24-11.83-21.35-13.23-35.665-36.26-37.905-61.32-.665-7.595-.385-15.26 1.505-22.645 2.03-7.875 5.11-15.505 8.575-22.82.14-.315-1.47-.175-1.68.28ZM198.098 232.997c7.945 9.554 15.89 19.074 23.835 28.629l32.865 39.48c.98 1.155 1.925 2.38 2.94 3.535 4.165 4.76 12.005 3.57 15.05-1.855.14-.245-1.435-.14-1.68.28-2.835 5.075-8.68 4.62-12.11.56-1.085-1.295-2.17-2.59-3.255-3.92-4.515-5.46-9.065-10.885-13.58-16.345-11.41-13.72-22.82-27.44-34.265-41.195-2.73-3.29-5.46-6.545-8.19-9.834-.28-.245-1.89.315-1.61.665ZM121.374 109.201c17.57-10.64 39.655-11.83 58.275-3.115 14.84 6.965 26.635 19.705 32.375 35.07 3.325 8.89 4.585 18.445 3.745 27.895-.035.28 1.645.07 1.68-.455 1.54-17.605-4.34-35.245-16.24-48.335-12.075-13.3-29.54-20.895-47.495-20.79-11.865.07-23.52 3.465-33.67 9.625-.665.455 1.015.315 1.33.105Z",className:"fill-foreground/70"}),(0,l.jsx)("path",{d:"M274.187 299.39c1.715-1.435 2.695-3.395 2.87-5.46.175-2.065-.42-4.2-1.82-5.88l-61.005-73.36c13.3-12.915 22.225-30.45 24.045-50.33 4.06-44.275-28.63-83.58-72.905-87.64-44.31-4.06-83.615 28.665-87.675 72.905-4.06 44.275 28.63 83.615 72.905 87.675 16.975 1.575 33.25-2.31 47.075-10.15l3.815-2.52 61.32 73.745c2.835 3.395 7.945 3.85 11.375 1.015Zm-53.27-136.605c-3.185 34.72-34.02 60.34-68.705 57.155-34.685-3.185-60.34-34.02-57.155-68.705 3.185-34.685 34.02-60.34 68.705-57.155 34.685 3.185 60.34 33.985 57.155 68.705Z",className:"fill-background"}),(0,l.jsx)("path",{d:"M274.893 299.601c3.71-3.29 3.955-8.47.84-12.25l-3.045-3.675c-4.62-5.53-9.205-11.095-13.825-16.625-11.795-14.175-23.555-28.315-35.35-42.49-2.835-3.395-5.67-6.825-8.505-10.22-.035.175-.07.385-.07.56 13.16-12.88 21.735-29.995 23.94-48.3 1.925-15.96-.98-32.27-8.33-46.585-7.035-13.685-17.92-25.235-31.15-33.04-13.65-8.05-29.61-11.865-45.43-11.06-15.505.77-30.695 6.125-43.33 15.155-12.565 8.96-22.505 21.49-28.28 35.84-5.985 14.875-7.42 31.5-4.06 47.18 3.255 15.19 10.955 29.295 21.945 40.285 11.025 11.06 25.2 18.795 40.46 22.05 18.76 3.99 38.64 1.225 55.545-7.805 2.03-1.085 3.885-2.345 5.81-3.64h-1.33c7.875 9.45 15.715 18.9 23.59 28.35 11.27 13.545 22.505 27.055 33.775 40.6 1.26 1.505 2.485 3.01 3.745 4.515 3.29 3.92 8.855 4.48 12.915 1.295.91-.7-.49-1.155-1.085-.665-3.605 2.835-7.84 1.575-10.57-1.68-1.155-1.4-2.345-2.8-3.5-4.235a5261.64 5261.64 0 0 1-14.245-17.115c-11.585-13.93-23.205-27.895-34.79-41.825-2.765-3.325-5.53-6.65-8.295-9.94-.315-.385-.98-.21-1.33 0-28.07 18.585-65.975 16.31-92.225-4.48-24.465-19.355-35.63-51.975-28.14-82.285 7.42-29.995 32.41-53.62 62.79-59.255 30.975-5.74 63.035 7.98 80.64 34.02 8.54 12.635 13.37 27.65 13.72 42.875.42 17.71-5.11 35.35-15.645 49.56-2.59 3.465-5.46 6.72-8.54 9.765-.14.14-.21.385-.07.56 7.385 8.89 14.805 17.78 22.19 26.705 11.13 13.37 22.26 26.775 33.39 40.145 1.54 1.82 3.045 3.675 4.585 5.495.28.315.525.63.805.945 2.66 3.395 2.275 7.945-.945 10.815-.77.7.875.91 1.4.455Z",className:"fill-foreground/70"}),(0,l.jsx)("path",{d:"M220.078 162.856c-2.485 25.795-20.965 48.09-46.13 54.74-25.41 6.72-52.815-3.85-67.515-25.515-14.7-21.665-14.245-51.1 1.26-72.205 15.505-21.14 43.295-30.45 68.39-22.75 24.5 7.525 42.315 30.135 44.1 55.65.245 3.36.175 6.755-.105 10.08-.07.805 1.645.56 1.715-.14 2.345-26.67-12.6-52.605-36.995-63.7-24.185-11.025-53.34-5.635-72.135 13.125-19.11 19.04-24.15 49.035-12.11 73.22 11.9 23.905 38.115 38.15 64.68 35.07 26.005-3.045 48.265-22.19 54.81-47.6a65.287 65.287 0 0 0 1.75-10.08c.035-.84-1.68-.595-1.715.105Z",className:"fill-foreground/70"}),(0,l.jsx)("path",{opacity:.5,d:"M202.68 201.698c24.684-24.684 24.684-64.706 0-89.391-24.685-24.685-64.707-24.685-89.392 0-24.685 24.685-24.685 64.707 0 89.391 24.685 24.685 64.707 24.685 89.392 0Z",className:"fill-background"}),(0,l.jsx)("path",{d:"M164.078 93.556c-26.39-2.31-52.29 12.075-63.84 36.015-11.69 24.22-6.51 53.9 12.6 72.765 19.04 18.795 48.65 23.66 72.73 12.075 24.045-11.55 38.85-37.38 36.155-63.98-2.66-26.32-22.225-48.79-47.845-55.23-3.22-.805-6.51-1.33-9.8-1.645-.7-.07-1.785.945-.63 1.05 25.76 2.45 47.88 21.07 54.705 46.06 6.895 25.235-3.08 52.815-24.5 67.83-21.595 15.12-51.1 14.665-72.345-.945-20.93-15.4-30.345-42.875-23.275-67.865 7.035-24.885 29.575-43.4 55.405-45.22 3.325-.245 6.685-.175 10.01.105.7.07 1.75-.91.63-1.015Z",className:"fill-foreground
1/70"}),(0,l.jsx)("path",{d:"M180.251 173.637c-3.465-4.235-8.75-7.35-13.93-8.925-8.68-2.66-18.27-.945-25.795 3.99-1.75 1.155-3.535 2.45-4.935 4.025-.7.77.945.945 1.4.42 3.325-3.71 8.33-6.3 13.09-7.56 8.575-2.31 17.57-.315 24.605 5.04 1.435 1.085 2.87 2.31 4.025 3.71.42.56 2.03-.07 1.54-.7ZM138.912 148.086c0-1.75-1.4-3.185-3.15-3.185s-3.185 1.4-3.185 3.15 1.4 3.185 3.15 3.185 3.185-1.4 3.185-3.15ZM182.362 148.475a3.15 3.15 0 1 0-6.292-.336 3.15 3.15 0 0 0 6.292.336Z",className:"fill-foreground/70"}),(0,l.jsx)("path",{d:"M124.593 168.52c2.532-.028 4.555-2.792 4.518-6.174-.037-3.383-2.119-6.102-4.651-6.075-2.532.028-4.555 2.792-4.518 6.174.037 3.383 2.119 6.102 4.651 6.075ZM190.356 167.783c2.532-.027 4.554-2.791 4.518-6.174-.037-3.382-2.119-6.102-4.651-6.074-2.532.027-4.555 2.791-4.518 6.174.036 3.382 2.119 6.102 4.651 6.074Z",className:"fill-red"})]})}ek.displayName="DropdownTrigger",ej.Trigger=ek,ej.Menu=eN,ej.Item=ew,ej.displayName="Dropdown";var e_={start:"items-start",center:"items-center",end:"items-end"};function eM(e){let{image:r,className:t,text:a,textAs:s="p",imageClassName:n,textClassName:o,alignment:i="center",defaultImageClassName:d,children:c}=e;return(0,l.jsxs)("div",{"data-testid":"empty-state",className:x(g("empty-root"),"flex flex-col items-start",e_[i],t),children:[(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:x(g("empty-icon"),n),children:r||(0,l.jsx)(ez,{className:d})}),a?(0,l.jsx)(s,{role:"heading",className:x(g("empty-text"),o),children:a}):null]}),c]})}function eF(e){let{readOnly:r,onFocus:t,onBlur:a,onMouseEnter:s,onMouseLeave:l}=e,[o,i]=(0,n.useState)(!1),[d,c]=(0,n.useState)(!1);return{isFocus:o,isHover:d,handleOnFocus:(0,n.useCallback)(e=>{if(!0===r)return!1;i(e=>!e),t&&t(e)},[r,t]),handleOnBlur:(0,n.useCallback)(e=>{if(!0===r)return!1;i(()=>!1),a&&a(e)},[r,a]),handleOnMouseEnter:(0,n.useCallback)(e=>{if(!0===r)return!1;c(()=>!0),s&&s(e)},[r]),handleOnMouseLeave:(0,n.useCallback)(e=>{if(!0===r)return!1;c(()=>!1),l&&l(e)},[r])}}eM.displayName="Empty";var eS={base:"flex items-center peer w-full transition duration-200",disabled:"!bg-muted/70 backdrop-blur cursor-not-allowed !border-muted !text-muted-foreground",error:"!border-red hover:!border-red focus:!border-red !ring-red",size:{sm:"pr-2 py-1 text-xs h-8 pl-[1px]",md:"pr-3.5 py-2 text-sm h-10 pl-[1px]",lg:"pr-4 py-2 text-base h-12 pl-[1px]",xl:"pr-5 py-2.5 text-base h-14 pl-0.5"},rounded:M,variant:{flat:"[&.is-focus]:ring-2 [&.is-focus]:bg-transparent border-0 [&_input::placeholder]:opacity-80 bg-primary-lighter/70 [&.is-focus]:ring-primary/30 text-primary-dark",outline:"bg-transparent [&.is-focus]:ring-[0.8px] ring-[0.6px] ring-muted border border-muted [&_input::placeholder]:text-gray-500 hover:border-primary [&.is-focus]:border-primary [&.is-focus]:ring-primary",text:"border-0 [&.is-focus]:ring-2 bg-transparent [&_input::placeholder]:opacity-70 hover:text-primary-dark [&.is-focus]:ring-primary/30 text-primary"}},eL={base:"[&::file-selector-button]:inline-flex [&::file-selector-button]:font-medium [&::file-selector-button]:leading-none [&::file-selector-button]:items-center [&::file-selector-button]:justify-center [&::file-selector-button]:border-0 [&::file-selector-button]:focus-visible:ring-2 [&::file-selector-button]:focus-visible:ring-opacity-50",disabled:"[&::file-selector-button]:bg-muted-foreground [&::file-selector-button]:text-foreground [&::file-selector-button]:dark:text-muted",size:{sm:"[&::file-selector-button]:h-7 [&::file-selector-button]:px-2.5",md:"[&::file-selector-button]:h-9 [&::file-selector-button]:px-3.5",lg:"[&::file-selector-button]:h-11 [&::file-selector-button]:px-4",xl:"[&::file-selector-button]:h-12 [&::file-selector-button]:px-5"},rounded:{none:"",sm:"[&::file-selector-button]:rounded-sm",md:"[&::file-selector-button]:rounded",lg:"[&::file-selector-button]:rounded-md",pill:"[&::file-selector-button]:rounded-full"},color:"[&::file-selector-button]:bg-primary [&::file-selector-button]:hover:enabled:bg-primary-dark [&::file-selector-button]:focus-visible:ring-primary/30 [&::file-selector-button]:text-primary-foreground"},eO={base:"w-full border-0 bg-transparent p-0 focus:outline-none focus:ring-0",disabled:"cursor-not-allowed placeholder:text-muted-foreground",clearable:"[&:placeholder-shown~.input-clear-btn]:opacity-0 [&:placeholder-shown~.input-clear-btn]:invisible [&:not(:placeholder-shown)~.input-clear-btn]:opacity-100 [&:not(:placeholder-shown)~.input-clear-btn]:v
1isible"};(0,n.forwardRef)((e,r)=>{let{className:t,variant:a="outline",size:s="md",rounded:o="md",disabled:i,placeholder:d,label:c,labelWeight:u="medium",error:p,clearable:m,onClear:b,readOnly:h,helperText:f,labelClassName:y,inputClassName:N,errorClassName:j,helperClassName:z,onFocus:C,onBlur:_,...M}=e,{isFocus:F,isHover:S,handleOnBlur:L,handleOnFocus:O,handleOnMouseEnter:E,handleOnMouseLeave:P}=eF({readOnly:h,onBlur:_,onFocus:C}),R=(0,n.useCallback)(e=>{e.preventDefault(),b&&b(e)},[b]);return(0,l.jsxs)("div",{className:x(g("file-input-root"),"flex flex-col",t),children:[(0,l.jsxs)("label",{className:"block",children:[c?(0,l.jsx)("span",{className:x(g("file-input-label"),"block",eo.size[s],eo.weight[u],i&&"text-muted-foreground",y),children:c}):null,(0,l.jsxs)("span",{className:x(g("file-input-container"),eS.base,eS.size[s],eS.rounded[o],eS.variant[a],F&&"is-focus",i&&eS.disabled,p&&eS.error,N),"data-focus":F,"data-hover":S,onMouseEnter:E,onMouseLeave:P,children:[(0,l.jsx)("input",{ref:r,type:"file",disabled:i,onBlur:L,onFocus:O,readOnly:h,spellCheck:"false",className:x(g("file-input-field"),eO.base,eL.base,eL.color,eL.size[s],eL.rounded[o],i&&[eL.disabled,eO.disabled],m&&eO.clearable),style:{fontSize:"inherit"},...M}),m&&(0,l.jsx)(w,{size:s,onClick:R})]})]}),!p&&f?(0,l.jsx)(k,{size:s,className:x(g("file-input-helper-text"),i&&"text-muted-foreground",z),children:f}):null,p?(0,l.jsx)(v,{size:s,error:p,className:x(g("file-input-error-text"),j)}):null]})}).displayName="FileInput";var eE={base:"flex items-center peer w-full transition duration-200 border [&.is-focus]:ring-[0.8px] ring-[0.6px] [&.is-hover]:border-primary [&.is-focus]:border-primary [&.is-focus]:ring-primary [&_input::placeholder]:opacity-60",disabled:"!bg-muted/70 backdrop-blur cursor-not-allowed !border-muted",error:"!border-red [&.is-hover]:!border-red [&.is-focus]:!border-red !ring-red !bg-transparent",size:{sm:"px-2 py-1 text-xs h-8",md:"px-3.5 py-2 text-sm h-10",lg:"px-4 py-2 text-base h-12",xl:"px-5 py-2.5 text-base h-14"},rounded:M,variant:{text:"border-transparent ring-transparent bg-transparent",flat:"border-0 ring-muted/70 [&.is-focus]:ring-[1.8px] [&.is-focus]:bg-transparent bg-muted/70 backdrop-blur",outline:"border border-muted ring-muted bg-transparent"}},eP={base:"w-full border-0 bg-transparent p-0 focus:outline-none focus:ring-0",reset:"[&::-ms-clear]:hidden [&::-ms-reveal]:hidden [&::-webkit-search-cancel-button]:hidden [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none",disabled:"cursor-not-allowed placeholder:text-muted-foreground",clearable:"[&:placeholder-shown~.input-clear-btn]:opacity-0 [&:placeholder-shown~.input-clear-btn]:invisible [&:not(:placeholder-shown)~.input-clear-btn]:opacity-100 [&:not(:placeholder-shown)~.input-clear-btn]:visible",prefix:{size:{sm:"ps-1.5",md:"ps-2.5",lg:"ps-3.5",xl:"ps-4"}},suffix:{size:{sm:"pe-1.5",md:"pe-2.5",lg:"pe-3.5",xl:"pe-4"}}},eR=(0,n.forwardRef)((e,r)=>{let{className:t,type:a="text",variant:s="outline",size:n="md",rounded:o="md",disabled:i,placeholder:d,label:c,labelWeight:u="medium",error:p,clearable:m,onClear:b,prefix:h,suffix:f,readOnly:y,helperText:N,labelClassName:j,inputClassName:z,errorClassName:C,helperClassName:_,prefixClassName:M,suffixClassName:F,onFocus:S,onBlur:L,...O}=e,{isFocus:E,isHover:P,handleOnBlur:R,handleOnFocus:T,handleOnMouseEnter:B,handleOnMouseLeave:I}=eF({readOnly:y,onBlur:L,onFocus:S});return(0,l.jsxs)("div",{className:x(g("input-root"),"flex flex-col",t),children:[(0,l.jsxs)("label",{className:"block",children:[c?(0,l.jsx)("span",{className:x(g("input-label"),"block",eo.size[n],eo.weight[u],i&&"text-muted-foreground",j),children:c}):null,(0,l.jsxs)("span",{className:x(g("input-container"),eE.base,eE.size[n],eE.rounded[o],eE.variant[s],P&&"is-hover",E&&"is-focus",i&&eE.disabled,p&&eE.error,z),"data-focus":E,"data-hover":P,onMouseEnter:B,onMouseLeave:I,children:[h?(0,l.jsx)("span",{className:x(g("input-prefix"),"whitespace-nowrap leading-normal",M),children:h}):null,(0,l.jsx)("input",{ref:r,type:a,disabled:i,onBlur:R,onFocus:T,readOnly:y,spellCheck:"false",placeholder:d||"Screen reader only",className:x(g("input-field"),eP.base,eP.reset,!d&&"placeholder-shown:placeholder:opacity-0",i&&eP.disabled,m&&eP.clearable,h&&eP.prefix.size[n],f&&eP.suffix.size[n]),style:{fontSize:"inherit"},...O}),m?(0,l.jsx)(w,{as:"span",size:n,onClick:b,hasSuffix:!!f}):null,f?(0,l.jsx)("span",{className:x(g("input-suffix"),"whitespace-nowrap leading-normal",F),children:f}):null]})]}),!p&&N?(0,l.jsx)(k,{size:n,className:x(g("input-helper-text"),i&&"text-muted-foreground",_),children:N}):null,p?(0,l.jsx)(v,{size:n,error:p,className:x(g("input-error-text"),C)}):null]})});eR.displayName="Input";var eT={overlay:"fixed inset-0 cursor-pointer bg-black bg-opacity-60 dark:bg-opacity-80",size:{sm:"max-w-sm",md:"max-w-lg",lg:"max-w-2xl",xl:"max-w-[60%]",full:"max-w-full min-h-screen"},rounded:{none:"rounded-none",sm:"rounded-lg",md:"rounded-xl",lg:"rounded-2xl",xl:"rounded-3xl"}},eB=/(\d*px)|(\d*%)?/g;function eI(e){var r;let{isOpen:t,onClose:a,size:s="md",rounded:d="md",noGutter:c,customSize:u,overlayClassName:p,containerClassName:m,className:b,children:h}=e,f=o.u,w=o.x;return(null==u?void 0:u.match(eB))&&""===(null!==(r=null==u?void 0:u.match(eB))&&void 0!==r?r:[])[0]&&console.warn('customSize prop value is not val
1id. Please set customSize prop like -> customSize="500px" or customSize="50%"'),(0,l.jsx)(f,{appear:!0,show:t,as:n.Fragment,children:(0,l.jsx)(i.Vq,{as:"div",onClose:a,className:x(g("modal-root"),"fixed inset-0 z-[999] overflow-y-auto overflow-x-hidden",b),children:(0,l.jsxs)("div",{className:x("flex min-h-screen flex-col items-center justify-center","full"!==s&&[!c&&"p-4 sm:p-5"]),children:[(0,l.jsx)(w,{as:n.Fragment,enter:"ease-in-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)("div",{className:x(g("modal-overlay"),eT.overlay,p)})}),(0,l.jsx)("button",{type:"button",className:"sr-only",children:"Sr Only"}),(0,l.jsx)(w,{as:n.Fragment,enter:"ease-in-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in-out duration-300",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,l.jsx)(i.EM,{className:"pointer-events-none relative w-full transform overflow-hidden transition-all",children:(0,l.jsx)("div",{className:x(g("modal-container"),"pointer-events-auto m-auto w-full break-words bg-background shadow-xl","full"!==s&&eT.rounded[d],!u&&eT.size[s],m),...u&&{style:{maxWidth:u||"inherit"}},children:h})})})]})})})}eI.displayName="Modal";var eD={size:{sm:"h-4 w-4",md:"h-[18px] w-[18px]",DEFAULT:"h-[18px] w-[18px]",lg:"h-[18px] w-[18px]",xl:"h-5 w-5"}};function eH(e){let{iconSize:r,isVisible:t}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.25,stroke:"currentColor",className:x(r&&eD.size[r]),children:[(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:t?"M15 12a3 3 0 11-6 0 3 3 0 016 0z":"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})]})}var eA={base:"flex items-center peer w-full transition duration-200 border [&.is-focus]:ring-[0.8px] ring-[0.6px] [&.is-hover]:border-primary [&.is-focus]:border-primary [&.is-focus]:ring-primary [&_input::placeholder]:opacity-60",disabled:"!bg-muted/70 backdrop-blur cursor-not-allowed !border-muted",error:"!border-red [&.is-hover]:!border-red [&.is-focus]:!border-red !ring-red !bg-transparent",size:{sm:"px-2 py-1 text-xs h-8",md:"px-3.5 py-2 text-sm h-10",lg:"px-4 py-2 text-base h-12",xl:"px-5 py-2.5 text-base h-14"},rounded:M,variant:{text:"border-transparent ring-transparent bg-transparent",flat:"border-0 ring-muted/70 [&.is-focus]:ring-[1.8px] [&.is-focus]:bg-transparent bg-muted/70 backdrop-blur",outline:"border border-muted ring-muted bg-transparent"}},eV={base:"w-full border-0 bg-transparent p-0 focus:outline-none focus:ring-0",reset:"[&::-ms-clear]:hidden [&::-ms-reveal]:hidden [&::-webkit-search-cancel-button]:hidden [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none",disabled:"cursor-not-allowed placeholder:text-muted-foreground",clearable:"[&:placeholder-shown~.input-clear-btn]:opacity-0 [&:placeholder-shown~.input-clear-btn]:invisible [&:not(:placeholder-shown)~.input-clear-btn]:opacity-100 [&:not(:placeholder-shown)~.input-clear-btn]:visible",prefix:{size:{sm:"ps-1.5",md:"ps-2.5",lg:"ps-3.5",xl:"ps-4"}},suffix:{size:{sm:"pe-1.5",md:"pe-2.5",lg:"pe-3.5",xl:"pe-4"}}};(0,n.forwardRef)((e,r)=>{let{className:t,variant:a="outline",size:s="md",rounded:o="md",disabled:i,placeholder:d,label:c,labelWeight:u="medium",error:p,clearable:m,onClear:b,prefix:h,readOnly:f,helperText:y,labelClassName:N,inputClassName:j,errorClassName:z,helperClassName:C,prefixClassName:_,isPasswordVisible:M,visibilityToggleIcon:F,hideVisibilityToggleIcon:S,visibilityToggleIconClassName:L,onFocus:O,onBlur:E,...P}
1=e,[R,T]=(0,n.useState)(!1),{isFocus:B,isHover:I,handleOnBlur:D,handleOnFocus:H,handleOnMouseEnter:A,handleOnMouseLeave:V}=eF({readOnly:f,onBlur:E,onFocus:O}),W=null!=M?M:R;return(0,l.jsxs)("div",{className:x(g("password-root"),"flex flex-col",t),children:[(0,l.jsxs)("label",{className:"block",children:[c?(0,l.jsx)("span",{className:x(g("password-label"),"block",eo.size[s],eo.weight[u],i&&"text-muted-foreground",N),children:c}):null,(0,l.jsxs)("span",{className:x(g("password-container"),eA.base,eA.size[s],eA.rounded[o],eA.variant[a],I&&"is-hover",B&&"is-focus",i&&eA.disabled,p&&eA.error,j),"data-focus":B,"data-hover":I,onMouseEnter:A,onMouseLeave:V,children:[h?(0,l.jsx)("span",{className:x(g("password-prefix"),"whitespace-nowrap leading-normal",_),children:h}):null,(0,l.jsx)("input",{ref:r,type:W?"text":"password",disabled:i,onBlur:D,onFocus:H,readOnly:f,spellCheck:"false",placeholder:d||"Screen reader only",className:x(g("password-field"),eV.base,eV.reset,!d&&"placeholder-shown:placeholder:opacity-0",i&&eV.disabled,m&&eV.clearable,h&&eV.prefix.size[s],F&&eV.suffix.size[s]),style:{fontSize:"inherit"},...P}),m?(0,l.jsx)(w,{size:s,onClick:b,hasSuffix:!0}):null,S?null:(0,l.jsx)("span",{role:"button",tabIndex:0,className:x(g("password-toggle-icon"),"whitespace-nowrap leading-normal",i&&"text-muted-foreground",L),onClick:()=>{if(i)return!1;T(!R)},children:F?F(R):(0,l.jsx)(eH,{isVisible:R,iconSize:s})})]})]}),!p&&y?(0,l.jsx)(k,{size:s,className:x(g("password-helper-text"),i&&"text-muted-foreground",C),children:y}):null,p?(0,l.jsx)(v,{size:s,error:p,className:x(g("password-error-text"),z)}):null]})}).displayName="Password";var eW={fadeIn:{initial:{opacity:0}
1,close:{opacity:0}},zoomIn:{initial:{opacity:0,transform:"scale(0.96)"},close:{opacity:0,transform:"scale(0.96)"}},slideIn:{initial:{opacity:0,transform:"translateY(4px)"},close:{opacity:0,transform:"translateY(4px)"}}},eY=(0,n.createContext)(null);function eZ(e){let{value:r,children:t}=e,{isOpen:a,setIsOpen:s,gap:o,animation:i,placement:d}=r,m=(0,n.useRef)(null),[b,h]=(0,n.useState)(!1),{x:x,y:g,refs:f,strategy:w,context:y}=(0,c.YF)({placement:d,open:null!=a?a:b,onOpenChange:null!=s?s:h,middleware:[(0,u.x7)({element:m}),(0,u.cv)(o),(0,u.RR)(),(0,u.uY)({padding:8})],whileElementsMounted:p.Me}),{getReferenceProps:v,getFloatingProps:N}=(0,c.NI)([(0,c.qs)(y,{role:"tooltip"}),(0,c.bQ)(y),(0,c.eS)(y,{enabled:!0})]),{isMounted:k,styles:j}=(0,c.Y_)(y,i&&{duration:{open:150,close:150},...eW[i]});return(0,l.jsx)(eY.Provider,{value:{open:null!=a?a:b,setOpen:null!=s?s:h,isMounted:k,styles:j,getReferenceProps:v,getFloatingProps:N,x:x,y:g,refs:f,strategy:w,arrowRef:m,context:y,...r},children:t})}var eK=()=>{let e=(0,n.useContext)(eY);if(!e)throw Error("usePopover must be used within a PopoverProvider");return e};function eq(e){let{children:r}=e,{getReferenceProps:t,refs:a}=eK();return(0,l.jsx)(l.Fragment,{children:(0,n.cloneElement)(r,t({ref:a.setReference,...r.props}))})}eq.displayName="PopoverTrigger";var eX={base:"z-[999] min-w-max bg-background dark:bg-muted/80 dark:backdrop-blur-3xl border border-muted",arrow:"fill-background dark:fill-muted/80 [&>path]:stroke-muted",shadow:{sm:"drop-shadow-md",md:"drop-shadow-lg",lg:"drop-shadow-xl",xl:"drop-shadow-2xl"},size:{sm:"p-2.5",md:"p-4",lg:"p-5",xl:"p-6"},rounded:M};function eG(e){let{children:r,className:t}=e,{open:a,setOpen:s,strategy:n,isMounted:o,x:i,y:d,refs:u,styles:p,arrowRef:m,context:b,enableOverlay:h,showArrow:f,getFloatingProps:w,size:y,shadow:v,rounded:N,arrowClassName:k,overlayClassName:j}=eK(),z="function"==typeof r;return(0,l.jsx)(l.Fragment,{children:(o||a)&&(0,l.jsxs)(c.ll,{children:[h?(0,l.jsx)("div",{className:x(g("popover-overlay"),"fixed inset-0 z-[998] cursor-pointer bg-black bg-opacity-60 transition-opacity duration-200",a?"bg-opacity-60 dark:bg-opacity-80":"opacity-0",j),children:(0,l.jsx)("span",{className:"sr-only",children:"popover overlay"})}):null,(0,l.jsxs)("div",{role:"popover",ref:u.setFloating,className:x(g("popover-content"),eX.base,y&&eX.size[y],N&&eX.rounded[N],v&&eX.shadow[v],t),style:{position:n,top:null!=d?d:0,left:null!=i?i:0,...p},...w(),children:[z?s&&r({open:a,setOpen:s}):r,f?(0,l.jsx)(c.Y$,{ref:m,context:b,"data-testid":"popover-arrow",className:x(g("popover-arrow"),eX.arrow,k),style:{strokeDasharray:"0,14, 5"}}):null]})]})})}function eU(e){let{isOpen:r,setIsOpen:t,gap:a=8,animation:s="zoomIn",placement:o="bottom",enableOverlay:i=!1,showArrow:d=!0,size:c="md",shadow:u="md",rounded:p="md",arrowClassName:m,overlayClassName:b,children:h}=e;return(0,l.jsx)(eZ,{value:{isOpen:r,setIsOpen:t,gap:a,animation:s,enableOverlay:i,showArrow:d,placement:o,size:c,shadow:u,rounded:p,arrowClassName:m,overlayClassName:b},children:(0,l.jsx)(l.Fragment,{children:n.Children.map(h,e=>n.isValidElement(e)&&e.type===eq||n.isValidElement(e)&&e.type===eG?e:null)})})}eG.displayName="PopoverContent",eU.Trigger=eq,eU.Content=eG,eU.displayName="Popover";var eQ={...el,extraBold:"font-extrabold"},e$={h1:"text-4xl",h2:"text-3xl",h3:"text-2xl",h4:"text-xl",h5:"text-lg",h6:"text-base"};function eJ(e){let{as:r="h2",fontWeight:t="bold",children:a,className:s,...n}=e;return(0,l.jsx)(r,{className:x(g("title-".concat(r)),e$[r],eQ[t],s),...n,children:a})}eJ.displayName="Title";var e0={p:"",i:"",b:"",q:"text-lg",em:"",strong:"",small:"",span:"",del:"",mark:"",abbr:"cursor-help",pre:"border-2 border-muted py-3 px-4 rounded-xl bg-muted/70 backdrop-blur",code:"border border-muted py-2 px-3 rounded-md shadow",kbd:"bg-muted/70 backdrop-blur border border-muted text-gray-900 rounded-lg leading-none inline-flex items-center justify-center text-sm py-1.5 px-2",blockquote:"border-l-4 border-muted text-lg py-3 px-4",sub:"",sup:""};function e1(e){let{as:r="p",fontWeight:t="normal",title:a,children:s,className:n,...o}=e;return"abbr"===r&&void 0===a&&console.warn("title attribute is missing for abbr tag."),"b"===r&&"normal"===t&&(t="bold"),"strong"===r&&"normal"===t&&(t="bold"),"q"===r&&"normal"===t&&(t="semibold"),(0,l.jsx)(r,{...a&&{title:a},className:x(g("text-".concat(r)),e0[r],el[t],n),...o,children:s})}e1.displayName="Text";var e5={weight:eo.weight,size:eo.size,margin:{left:{sm:"me-1.5",md:"me-2",lg:"me-2.5",xl:"me-3"},right:{sm:"ms-1.5",md:"ms-2",lg:"ms-2.5",xl:"ms-3"}}},e2={sm:"h-5 w-5",md:"h-6 w-6",lg:"h-7 w-7",xl:"h-8 w-8"},e3={outline:"bg-transparent border border-muted ring-muted checked:!bg-primary dark:checked:!bg-transparent checked:!border-primary hover:enabled:border-primary",flat:"border-0 bg-muted/70 backdrop-blur ring-muted/70 hover:enabled:bg-muted/90 dark:checked:!bg-transparent dark:checked:!ring-primary checked:!bg-primary"};function e4(e){let{value:r,setValue:t,children:a,...s}=e,o=(0,n.useCallback)(e=>t(e.target.value),[r,t]);return(0,l.jsx)("div",{...s,children:n.Children.map(a,e=>n.isValidElement(e)?n.cloneElement(e,{onChange:o,checked:r===e.props.value}):e)})}(0,n.forwardRef)((e,r)=>{let{variant:t="outline",size:a="md",labelPlacement:s="right",labelWeight:n="medium",label:o,disabled:i,error:d,helperText:c,className:u,labelClassName:p,inputClassName:m,errorClassName:b,helperClassName:h,...f}=e;return(0,l.jsxs)("div",{className:x(g("radio-root"),"flex flex-col",u),children:[(0,l.jsxs)("label",{className:x(g("radio-container"),"flex cursor-pointer flex-row items-center",i&&"cursor-not-allowed text-foreground
1/70"),children:[(0,l.jsx)("input",{type:"radio",ref:r,disabled:i,className:x(g("radio-field"),"disabled:bg-muted/70 disabled:backdrop-blur disabled:border-muted ring-[0.6px] focus:ring-muted focus:ring-offset-background text-primary dark:text-primary-foreground",e2[a],e3[t],m),...f}),o?(0,l.jsx)("span",{className:x(g("radio-label"),e5.size[a],e5.weight[n],e5.margin[s][a],i&&"text-muted-foreground","left"===s&&"order-first","mb-0",p),children:o}):null]}),!d&&c?(0,l.jsx)(k,{size:a,className:x(g("radio-helper-text"),i&&"text-muted-foreground",h),children:c}):null,d?(0,l.jsx)(v,{size:a,error:d,className:x(g("radio-error-text"),b)}):null]})}).displayName="Radio",e4.displayName="RadioGroup";var e7={base:"rizzui-step-line absolute w-full group-last:hidden block h-px",top:{noDot:{sm:"top-[22px]",md:"top-6",lg:"top-[26px]"},dot:{sm:"top-[14px]",md:"top-4",lg:"top-[18px]"}},titleLine:"block h-px flex-auto group-last:hidden",color:{primary:"bg-primary",secondary:"bg-secondary",danger:"bg-red",info:"bg-blue",success:"bg-green",warning:"bg-orange"}},e6={base:"z-10 inline-flex items-center justify-center rounded-full text-sm font-medium",size:{sm:"h-7 w-7 mt-0.5",md:"h-8 w-8",lg:"h-9 w-9"},waiting:"border border-muted bg-white dark:bg-gray-50 text-gray-500",variant:{solid:{base:"text-gray-50 shadow-lg",color:{primary:"bg-primary",secondary:"bg-secondary",danger:"bg-red",info:"bg-blue",success:"bg-green",warning:"bg-orange"}},outline:{base:"border dark:bg-gray-50 bg-white shadow-lg",color:{primary:"text-primary border-primary",secondary:"text-secondary border-secondary",danger:"text-red border-red",info:"text-blue border-blue",success:"text-green border-green",warning:"text-orange border-orange"}}}},e8={base:"indent-[-9999px] overflow-hidden mt-1.5",waiting:"bg-gray-300",size:{sm:"h-3 w-3 !mt-2",md:"h-4 w-4",lg:"h-5 w-5"}},e9=(e,r,t)=>t||"error"!==r?t||"completed"!==r?e+1:(0,l.jsx)(R,{className:"h-5 w-5"}):(0,l.jsx)(P,{className:"h-5 w-5"});function re(e){let{title:r,description:t,icon:a,index:s=0,status:n,size:o="md",variant:i="solid",color:d="primary",dot:c,className:u,circleClassName:p,contentClassName:m,titleClassName:b,descriptionClassName:h}=e;return(0,l.jsxs)("div",{className:x(g("step-root"),"group relative flex flex-1 last:flex-none",u),children:[(0,l.jsx)("div",{className:x(g("step-line"),e7.base,c?e7.top.dot[o]:e7.top.noDot[o],"completed"===n?e7.color[d]:"bg-muted")}),(0,l.jsx)("div",{className:x(g("step-circle"),e6.base,c&&e8.base,c?e8.size[o]:e6.size[o],"waiting"===n?e6.waiting:x(e6.variant[i].base,e6.variant[i].color[d]),c&&"waiting"===n&&e8.waiting,p),children:!c&&a||e9(s,n,c)}),(0,l.jsxs)("div",{className:x(g("step-container"),"ml-3 mt-0.5 flex flex-1 flex-col",m),children:[(0,l.jsxs)("span",{className:"rizzui-step-title flex items-center justify-center group-last:inline-block",children:[(0,l.jsx)("h2",{className:x(g("step-title"),"!mb-0 mr-2 text-base font-medium rtl:ml-2","waiting"===n?"text-gray-500":"text-gray-900",b),children:r}),(0,l.jsx)("span",{className:x(e7.titleLine,"completed"===n?e7.color[d]:"bg-muted")})]}),t&&(0,l.jsx)("span",{className:x(g("step-description"),"rizzui-step-description","in-progress"===n?"text-gray-900":"text-gray-500",h),children:t})]})]})}re.displayName="Step";var rr={line:"[&>.rizzui-step-line]:hidden",verticalLine:{base:"[&>.rizzui-step-line]:h-full [&>.rizzui-step-line]:w-px min-h-[100px] last:min-h-0",left:{noDot:{sm:"[&>.rizzui-step-line]:left-3 rtl:[&>.rizzui-step-line]:right-3",md:"[&>.rizzui-step-line]:left-3.5 rtl:[&>.rizzui-step-line]:right-3.5",lg:"[&>.rizzui-step-line]:left-4 rtl:[&>.rizzui-step-line]:right-4"},dot:{sm:"[&>.rizzui-step-line]:left-[5px] rtl:[&>.rizzui-step-line]:right-[5px]",md:"[&>.rizzui-step-line]:left-2 rtl:[&>.rizzui-step-line]:right-2",lg:"[&>.rizzui-step-line]:left-2.5 rtl:[&>.rizzui-step-line]:right-2.5"}}}},rt={base:"[&>.rizzui-step-title]:justify-start [&>.rizzui-step-title>span]:hidden"},ra=(e,r)=>e===r?"in-progress":r<e?"completed":"waiting";function rs(e){let{currentIndex:r=0,children:t,direction:a="horizontal",dot:s=!1,className:o,titleClassName:i,dotClassName:d,contentClassName:c,descriptionClassName:u}=e;return(0,l.jsx)("div",{className:x(g("stepper-root"),"flex justify-between space-x-4 rtl:space-x-0","vertical"===a&&"flex-col space-x-0",o),children:n.Children.map(t,(e,t)=>{if(!n.isValidElement(e))return e;let{status:l,size:o="md"}=e.props;return n.cloneElement(e,{index:t,dot:s,status:l||ra(r,t),className:x("horizontal"===a&&rr.line,"vertical"===a&&rr.verticalLine.base,"vertical"===a&&(s?rr.verticalLine.left.dot[o]:rr.verticalLine.left.noDot[o])),circleClassName:x(s&&"vertical"===a&&"mt-1.5",d),contentClassName:x("vertical"===a&&rt.base,c),titleClassName:i,descriptionClassName:u})})})}rs.Step=re,rs.displayName="Stepper";var rn={weight:eo.weight,size:eo.size,margin:{left:{sm:"me-1.5",md:"me-2",lg:"me-2.5",xl:"me-3"},right:{sm:"ms-1.5",md:"ms-2",lg:"ms-2.5",xl:"ms-3"}}}
1,rl={base:"flex items-center cursor-pointer transition duration-200 ease-in-out peer-focus/switch:ring-[1.5px] peer-focus/switch:ring-offset-2 peer-focus/switch:ring-muted ring-transparent ring-offset-background",active:"peer-checked/switch:bg-primary peer-checked/switch:border-primary",disabled:"cursor-not-allowed peer-disabled/switch:border-muted peer-disabled/switch:bg-muted/70 peer-disabled:backdrop-blur",rounded:M,size:{sm:"w-8 h-5",md:"w-10 h-6",lg:"w-12 h-7",xl:"w-14 h-8"},icon:{size:{sm:"h-3 w-3",md:"h-3.5 w-3.5",lg:"w-4 h-4",xl:"w-5 h-5"}},variant:{flat:"border border-transparent bg-muted/70 backdrop-blur group-hover/switch:bg-muted",outline:"border border-muted ring-[0.6px] ring-muted group-hover/switch:border-primary"}},ro={base:"flex justify-center items-center transform ring-0 transition duration-200 ease-in-out",outlineInactiveDisabled:"[&:hover_.rizzui-switch-knob]:!bg-muted [&:hover_.rizzui-switch-knob]:!text-muted-foreground",rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded",lg:"rounded-md",pill:"rounded-full"},size:{sm:"w-3.5 h-3.5",md:"w-[1.13rem] h-[1.13rem]",lg:"w-[1.38rem] h-[1.38rem]",xl:"w-[1.63rem] h-[1.63rem]"},color:"bg-primary",outlineInactiveColor:"[&:hover_.rizzui-switch-knob]:bg-primary [&:hover_.rizzui-switch-knob]:text-primary-foreground",translate:{active:{sm:"[&:checked+span>.rizzui-switch-knob]:translate-x-[.88rem] rtl:[&:checked+span>.rizzui-switch-knob]:-translate-x-[.88rem]",md:"[&:checked+span>.rizzui-switch-knob]:translate-x-[1.14rem] rtl:[&:checked+span>.rizzui-switch-knob]:-translate-x-[1.14rem]",lg:"[&:checked+span>.rizzui-switch-knob]:translate-x-[1.36rem] rtl:[&:checked+span>.rizzui-switch-knob]:-translate-x-[1.36rem]",xl:"[&:checked+span>.rizzui-switch-knob]:translate-x-[1.6rem] rtl:[&:checked+span>.rizzui-switch-knob]:-translate-x-[1.6rem]"},inactive:"translate-x-[2.5px] rtl:-translate-x-[2.5px]"}};(0,n.forwardRef)((e,r)=>{let{label:t,labelPlacement:a="right",labelWeight:s="medium",rounded:n="pill",size:o="md",variant:i="flat",disabled:d=!1,onIcon:c,offIcon:u,error:p,helperText:m,className:b,labelClassName:h,switchClassName:f,switchKnobClassName:w,errorClassName:y,helperClassName:N,...j}=e;return(0,l.jsxs)("div",{className:x("rizzui-switch",b),children:[(0,l.jsxs)("label",{className:x("group/switch my-2 inline-flex items-center","left"===a&&"flex-row-reverse","outline"===i&&[ro.outlineInactiveColor,d&&ro.outlineInactiveDisabled]),children:[(0,l.jsx)("input",{ref:r,type:"checkbox",disabled:d,className:x("peer/switch absolute -z-[1] opacity-0 [&:checked:enabled~span_.rizzui-switch-off-icon]:hidden [&:checked:enabled~span_.rizzui-switch-on-icon]:opacity-100","[&:checked:enabled~span>.rizzui-switch-knob]:bg-white [&:checked:enabled~span>.rizzui-switch-knob]:text-black","[&:checked:enabled~span>.rizzui-switch-knob]:dark:bg-black [&:checked:enabled~span>.rizzui-switch-knob]:dark:text-white",ro.translate.active[o]),...j}),(0,l.jsx)("span",{className:x(rl.base,rl.size[o],rl.rounded[n],rl.variant[i],rl.active,d&&rl.disabled,f),children:(0,l.jsxs)("span",{className:x("rizzui-switch-knob relative",ro.base,ro.size[o],ro.rounded[n],ro.color,ro.translate.inactive,"flat"===i&&["bg-white text-foreground shadow-sm dark:text-primary-foreground",d&&"dark:bg-muted-foreground"],"outline"===i&&"bg-muted text-foreground",w),children:[(0,l.jsx)("span",{className:"rizzui-switch-off-icon inline-flex items-center",children:u}),(0,l.jsx)("span",{className:"rizzui-switch-on-icon absolute inset-0 inline-flex items-center justify-center opacity-0",children:c||(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:x(rl.icon.size[o]),children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})})]})}),t?(0,l.jsx)("span",{className:x(g("switch-label"),rn.size[o],rn.weight[s],rn.margin[a][o],d?"cursor-not-allowed text-muted-foreground":"cursor-pointer","right"===a&&"order-last","mb-0",h),children:t}):null]}),!p&&m?(0,l.jsx)(k,{size:o,className:x(g("switch-helper-text"),d&&"text-muted-foreground",N),children:m}):null,p?(0,l.jsx)(v,{size:o,error:p,className:x(g("switch-error-text"),y)}):null]})}).displayName="Switch";var ri=(0,n.createContext)(null);function rd(e){let{value:r,children:t}=e;return(0,l.jsx)(ri.Provider,{value:r,children:t})}var rc=()=>{let e=(0,n.useContext)(ri);if(!e)throw Error("useTab must be used within a TabProvider");return e}
1,ru={base:"relative py-2.5 px-3 flex items-center hover:text-primary gap-1 [&>*]:pointer-events-none outline-none before:absolute before:bg-primary before:opacity-0 before:transition-all before:duration-200",active:"before:opacity-100 text-primary hover:text-primary-dark",vertical:"before:h-full before:w-0.5 before:-end-[13px] before:bottom-0",horizontal:"before:w-full before:h-0.5 before:start-0 before:-bottom-[1px]"};function rp(e){let{children:r,className:t,activeClassName:a,onMouseOver:s,...n}=e,{ref:o,setRect:i,vertical:d,setDisplayHighlight:c}=rc();return(0,l.jsx)(m.OK,{onMouseOver:e=>{i(e,()=>o.current),c&&c(!0),s&&s(e)},className:e=>{let{selected:r}=e;return x(g("tab-list-item"),ru.base,!d&&"whitespace-nowrap",r&&[d?ru.vertical:ru.horizontal,ru.active,a&&a],t)},...n,children:r})}rp.displayName="TabListItem";var rm=e=>{if(!e)return{top:0,left:0};let{top:r,left:t}=e.getBoundingClientRect();return{top:r,left:t}},rb={top:-1e3,left:-1e3,right:-1e3,width:0,height:0,elementTop:-1e3},rh=(e,r)=>{if(!e)return rb;let t=r?r():null,a=t||document.documentElement,{top:s,left:n}=rm(t);return{...e,width:e.width||e.right-e.left,height:e.height||e.top-e.bottom,top:e.bottom+a.scrollTop-s,left:e.left+a.scrollLeft-n,elementTop:e.top+a.scrollTop-s}},rx=e=>!e||e.top===rb.top&&e.left===rb.left,rg=(e,r)=>e&&e.current?rh(e.current.getBoundingClientRect(),r):rb,rf=(e,r)=>{var t;let a=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.getBoundingClientRect();return a?rh(a,r):rb},rw=e=>typeof(null==e?void 0:e.target)>"u",ry=e=>{let[r,t]=(0,n.useState)(e||rb);return{rect:r,setRect:(e,r)=>{if(rw(e))return t(rg(e,r));t(rf(e,r))}}},rv=e=>{let r=(0,n.useRef)(null);return(0,n.useEffect)(()=>{r.current=e}),r?r.current:null};function rN(e){let{rect:r,visible:t,hoverHeightRatio:a=1,hoverWidthRatio:s=1,activeOpacity:o=.8,className:i,...d}=e,c=(0,n.useRef)(null),u=rv(rx(r)),p=(0,n.useMemo)(()=>{let e=r.width*s,t=r.height*a;return{width:"".concat(e,"px"),left:"".concat(r.left+(r.width-e)/2,"px"),height:"".concat(t,"px"),top:"".concat(r.elementTop+(r.height-t)/2,"px"),transition:u?"opacity":"opacity, width, left, top"}},[r,s,a]);return(0,l.jsx)("span",{ref:c,className:x("highlight absolute -z-[1] rounded-md bg-muted/60 transition",t?"opacity-100":"opacity-0",i),style:{width:p.width,left:p.left,height:p.height,top:p.top,transitionProperty:p.transition},...d})}var rk={base:"relative flex border-muted",vertical:"flex-col border-e pe-3",horizontal:"justify-start border-b gap-4 pb-[1px] overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden"};function rj(e){let{children:r,className:t,...a}=e,{ref:s,rect:o,vertical:i,activeTab:d,displayHighlight:c,setDisplayHighlight:u,hideHoverAnimation:p}=rc();return function(e){let{ref:r,activeTab:t}=e;n.useEffect(()=>{let e=null==r?void 0:r.current;function a(){if(r.current&&t+1){let e=r.current.children[t],a=r.current.offsetWidth,s=e.offsetWidth,n=e.offsetLeft,l=r.current.scrollLeft,o=l;n+s>l+a?o=n+s-a:n<l&&(o=n),r.current.scrollTo({left:o,behavior:"smooth"})}s()}function s(){if(r.current){let e=r.current.offsetWidth,t=r.current.scrollWidth,a=r.current.scrollLeft;t>e?(Math.floor(e)>=Math.floor(t)-Math.floor(a)?r.current.classList.remove("end-shadow"):r.current.classList.add("end-shadow"),0!==a?r.current.classList.add("start-shadow"):r.current.classList.remove("start-shadow")):(r.current.classList.remove("start-shadow"),r.current.classList.remove("end-shadow"))}}return a(),window.addEventListener("resize",a),e.addEventListener("scroll",s),()=>{window.removeEventListener("resize",a),e.removeEventListener("scroll",s)}},[t])}({ref:s,activeTab:d}),(0,l.jsxs)(m.td,{ref:s,onMouseLeave:()=>u&&u(!1),className:x(g("tab-list"),rk.base,i?rk.vertical:rk.horizontal,t),...a,children:[n.Children.map(r,e=>n.isValidElement(e)&&e.type===rp?e:null),p?null:(0,l.jsx)(rN,{rect:o,visible:c,hoverHeightRatio:.7,hoverWidthRatio:1})]})}function rz(e){let{children:r,className:t,...a}=e;return(0,l.jsx)(m.x4,{className:x(g("tab-panel"),t),...a,children:r})}rj.displayName="TabList",rz.displayName="TabPanel";var rC={base:"py-2",vertical:"",horizontal:"mt-2"};function r_(e){let{children:r,className:t,...a}=e,{vertical:s}=rc();return(0,l.jsx)(m.nP,{className:x(g("tab-panels"),rC.base,s?rC.vertical:rC.horizontal,t),...a,children:n.Children.map(r,e=>n.isValidElement(e)&&e.type===rz?e:null)})}function rM(e){let{vertical:r,className:t,selectedIndex:a,onChange:s,hideHoverAnimation:o,children:i,...d}=e,c=(0,n.useRef)(null),{rect:u,setRect:p}
1=ry(),[b,h]=(0,n.useState)(0),[f,w]=(0,n.useState)(!1);return(0,l.jsx)(rd,{value:{ref:c,rect:u,setRect:p,vertical:r,displayHighlight:f,setDisplayHighlight:w,activeTab:null!=a?a:b,hideHoverAnimation:o},children:(0,l.jsx)(m.v0,{as:"div",selectedIndex:null!=a?a:b,onChange:null!=s?s:h,className:x(g("tab-root"),"w-full",t,{"flex gap-4":r}),...d,children:n.Children.map(i,e=>n.isValidElement(e)&&e.type===rj||n.isValidElement(e)&&e.type===r_?e:null)})})}r_.displayName="TabPanels",rM.List=rj,rM.ListItem=rp,rM.Panels=r_,rM.Panel=rz,rM.displayName="Tab";var rF={base:"block focus:outline-none bg-transparent transition duration-200 placeholder:opacity-60 ring-[0.6px] [&.is-focus]:ring-[0.8px] [&.is-focus]:ring-primary [&.is-hover]:border-primary [&.is-focus]:border-primary",scrollBar:"[scrollbar-width:thin] [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-[2px] [&::-webkit-scrollbar-thumb]:bg-muted [&::-webkit-scrollbar-thumb:hover]:bg-muted-foreground [&::-webkit-scrollbar-track]:rounded-[2px] [&::-webkit-scrollbar-track]:bg-transparent",disabled:"!bg-muted/70 backdrop-blur cursor-not-allowed !border-muted placeholder:text-muted-foreground",clearable:"[&:placeholder-shown~.input-clear-btn]:opacity-0 [&:placeholder-shown~.input-clear-btn]:invisible [&:not(:placeholder-shown)~.input-clear-btn]:opacity-100 [&:not(:placeholder-shown)~.input-clear-btn]:visible",error:"!border-red hover:!border-red focus:!border-red !ring-red",size:{sm:"px-2.5 py-1 text-xs",md:"px-3 py-2 text-sm",lg:"px-4 py-2 text-base",xl:"px-4 py-2.5 text-base"},rounded:M,variant:{text:"border-transparent ring-transparent bg-transparent",flat:"border-0 ring-muted/70 [&.is-focus]:ring-[1.8px] [&.is-focus]:bg-transparent bg-muted/70 backdrop-blur",outline:"bg-transparent ring-muted border border-muted"}},rS={base:"absolute",size:{sm:"end-2.5 top-1",md:"end-4 top-2",lg:"end-5 top-2",xl:"end-6 top-2.5"}},rL=(0,n.forwardRef)((e,r)=>{let{variant:t="outline",size:a="md",rounded:s="md",labelWeight:n="medium",cols:o,rows:i=5,label:d,error:c,clearable:u,onClear:p,readOnly:m,disabled:b,className:h,labelClassName:f,textareaClassName:y,helperClassName:N,errorClassName:j,helperText:z,onFocus:C,onBlur:_,maxLength:M,placeholder:F,renderCharacterCount:S,onMouseEnter:L,onMouseLeave:O,...E}=e,{isFocus:P,isHover:R,handleOnBlur:T,handleOnFocus:B,handleOnMouseEnter:I,handleOnMouseLeave:D}=eF({readOnly:m,onBlur:_,onFocus:C,onMouseEnter:L,onMouseLeave:O});return(0,l.jsxs)("div",{className:x(g("textarea-root"),"flex flex-col",h),children:[(0,l.jsxs)("label",{className:"block",children:[d?(0,l.jsx)("span",{className:x(g("textarea-label"),"block",eo.size[a],eo.weight[n],b&&"text-muted-foreground",f),children:d}):null,(0,l.jsxs)("span",{className:"relative block",children:[(0,l.jsx)("textarea",{ref:r,rows:i,disabled:b,onBlur:T,onFocus:B,readOnly:m,maxLength:M,onMouseEnter:I,onMouseLeave:D,...o&&{cols:o},placeholder:F||"Screen reader only",className:x(g("textarea-field"),rF.base,rF.scrollBar,rF.size[a],rF.rounded[s],rF.variant[t],u&&rF.clearable,!F&&"placeholder-shown:placeholder:opacity-0",R&&"is-hover",P&&"is-focus",!o&&"w-full",m&&"focus:ring-0",b&&rF.disabled,c&&rF.error,y),...E}),u?(0,l.jsx)(w,{size:a,onClick:p,className:x(rS.base,rS.size[a])}):null,S&&S({characterCount:String(null==E?void 0:E.value).length,maxLength:M})]})]}),!c&&z?(0,l.jsx)(k,{size:a,className:x(g("textarea-helper-text"),b&&"text-muted-foreground",N),children:z}):null,c?(0,l.jsx)(v,{size:a,error:c,className:x(g("textarea-error-text"),j)}):null]})});rL.displayName="Textarea";var rO={base:"text-center z-[9999] min-w-max",shadow:{sm:"drop-shadow-md",md:"drop-shadow-lg",lg:"drop-shadow-xl",xl:"drop-shadow-2xl"},size:{sm:"px-2.5 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-3.5 py-2 text-base",xl:"px-4 py-2.5 text-base"},rounded:M,arrow:{color:{primary:"fill-primary",invert:"fill-background dark:fill-muted/80 [&>path]:stroke-muted dark:backdrop-blur-3xl",secondary:"fill-secondary",danger:"fill-red",info:"fill-blue",success:"fill-green",warning:"fill-orange"}},variant:{solid:{base:"",color:{primary:"text-primary-foreground bg-primary",invert:"bg-background dark:bg-muted/80 dark:backdrop-blur-3xl border border-muted",secondary:"text-secondary-foreground bg-secondary",danger:"text-white bg-red",info:"text-white bg-blue",success:"text-white bg-green",warning:"text-white bg-orange"}}}},rE={fadeIn:{initial:{opacity:0}
1,close:{opacity:0}},zoomIn:{initial:{opacity:0,transform:"scale(0.96)"},close:{opacity:0,transform:"scale(0.96)"}},slideIn:{initial:{opacity:0,transform:"translateY(4px)"},close:{opacity:0,transform:"translateY(4px)"}}};function rP(e){let{children:r,content:t,gap:a=8,animation:s="zoomIn",placement:o="top",size:i="md",rounded:d="md",shadow:m="md",color:b="primary",className:h,arrowClassName:f,showArrow:w=!0}=e,[y,v]=(0,n.useState)(!1),N=(0,n.useRef)(null),{x:k,y:j,refs:z,strategy:C,context:_}=(0,c.YF)({placement:o,open:y,onOpenChange:v,middleware:[(0,u.x7)({element:N}),(0,u.cv)(a),(0,u.RR)(),(0,u.uY)({padding:8})],whileElementsMounted:p.Me}),{getReferenceProps:M,getFloatingProps:F}=(0,c.NI)([(0,c.XI)(_),(0,c.KK)(_),(0,c.qs)(_,{role:"tooltip"}),(0,c.bQ)(_)]),{isMounted:S,styles:L}=(0,c.Y_)(_,{duration:{open:150,close:150},...rE[s]});return(0,l.jsxs)(l.Fragment,{children:[(0,n.cloneElement)(r,M({ref:z.setReference,...r.props})),(S||y)&&(0,l.jsx)(c.ll,{children:(0,l.jsxs)("div",{role:"tooltip",ref:z.setFloating,className:x(g("tooltip-content"),rO.base,rO.size[i],rO.rounded[d],rO.variant.solid.base,rO.variant.solid.color[b],rO.shadow[m],h),style:{position:C,top:null!=j?j:0,left:null!=k?k:0,...L},...F(),children:[t,w&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(c.Y$,{ref:N,context:_,"data-testid":"tooltip-arrow",className:x(g("tooltip-arrow"),rO.arrow.color[b],f),style:{strokeDasharray:"0,14, 5"}})})]})})]})}rP.displayName="Tooltip";var rR=(0,n.createContext)(null);function rT(e){let{defaultOpen:r=!1,duration:t=200,children:a}=e,s=(0,n.useRef)(null),[o,i]=(0,n.useState)(r),[d,c]=(0,n.useState)(r);return(0,l.jsx)(rR.Provider,{value:{isOpen:o,setIsOpen:i,targetEl:s,openTargetEl:d,toggle:function(){let e=s.current;"none"===window.getComputedStyle(e).display?function(e){e.style.removeProperty("display");let{display:r}=window.getComputedStyle(e);"none"===r&&(r="block"),e.style.display=r;let a=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(a,"px"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),i(()=>!0),window.setTimeout(()=>{e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),c(()=>!0)},t)}(e):(e.style.transitionProperty="height, margin, padding",e.style.transitionDuration="".concat(t,"ms"),e.style.boxSizing="border-box",e.style.height="".concat(e.offsetHeight,"px"),e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,i(()=>!1),window.setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),c(()=>!1)},t))}},children:a})}var rB=()=>{let e=(0,n.useContext)(rR);if(!e)throw Error("useAccordion must be used within a AccordionProvider");return e},rI=n.forwardRef((e,r)=>{let{children:t,className:a,...s}=e,{isOpen:n,toggle:o}=rB(),i="function"==typeof t;return(0,l.jsx)("button",{ref:r,onClick:()=>o(),className:x(g("accordion-header"),"block w-full",a),...s,children:i?t({open:n}):t})});rI.displayName="AccordionHeader";var rD=n.forwardRef((e,r)=>{let{as:t="div",className:a,children:s,...o}=e,{targetEl:i,openTargetEl:d}=rB();return(0,n.useImperativeHandle)(r,()=>i),(0,l.jsx)(t,{ref:i,style:d?{display:"block"}:{display:"none"},className:x(g("accordion-panel"),a),...o,children:s})});function rH(e){let{as:r="div",defaultOpen:t,duration:a,className:s,children:o}=e;return(0,l.jsx)(rT,{defaultOpen:t,duration:a,children:(0,l.jsx)(r,{className:x(g("accordion-root"),s),children:n.Children.map(o,e=>n.isValidElement(e)&&e.type===rI?n.cloneElement(e):n.isValidElement(e)&&e.type===rD?e:null)})})}function rA(e){var r;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:null!==(r=e.strokeWidth)&&void 0!==r?r:1.5,stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})}function rV(e){return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",...e,children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})}function rW(e){return"number"==typeof e&&isFinite(e)}function rY(e){return e}function rZ(e){let{value:r,label:t}=e;return t||r||"Error: use getOptionDisplayValue prop"}function rK(e){return"string"==typeof e||e instanceof String||rW(e)?e:(null==e?void 0:e.label)?e.label:e.name?e.name:"Error: use displayValue prop"}rD.displayName="AccordionBody",rH.Header=rI,rH.Body=rD,rH.displayName="Accordion";var rq={top:"top",right:"right",bottom:"bottom",left:"left","top-start":"top start","to
1p-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","right-start":"right start","right-end":"right end","left-start":"left start","left-end":"left end"},rX={base:"flex items-center peer border hover:border-primary w-full transition duration-200 ring-[0.6px] hover:ring-primary focus:border-primary focus:ring-[0.8px] focus:ring-primary",disabled:"!bg-muted/70 backdrop-blur cursor-not-allowed !border-muted text-muted-foreground placeholder:text-muted-foreground !ring-muted",error:"!border-red hover:!border-red focus:!border-red !ring-red",size:{sm:"px-2 py-1 text-xs h-8",md:"px-3 py-2 text-sm h-10",lg:"px-4 py-2 text-base h-12",xl:"px-5 py-2.5 text-base h-14"},rounded:M,prefix:{size:{sm:"ps-1.5",md:"ps-2.5",lg:"ps-3.5",xl:"ps-4"}},suffix:{size:{sm:"pe-1.5",md:"pe-2.5",lg:"pe-3.5",xl:"pe-4"}},variant:{text:"border-transparent ring-transparent bg-transparent",flat:"border-0 ring-muted/70 hover:ring-[1.8px] focus:ring-[1.8px] hover:bg-transparent focus:bg-transparent bg-muted/70 backdrop-blur",outline:"border border-muted ring-muted bg-transparent"}},rG={base:"".concat(ev.base," overflow-auto w-[var(--button-width)] !outline-none !ring-0 m-0 [&>li]:!m-0 [scrollbar-width:thin] [scrollbar-color:rgba(0,0,0,0.2)_rgba(0,0,0,0)] [-ms-overflow-style:none] [&::-webkit-scrollbar-track]:shadow-none [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar]:bg-transparent [&::-webkit-scrollbar]:w-[5px] [&::-webkit-scrollbar-thumb]:bg-muted [&::-webkit-scrollbar-thumb]:rounded-lg"),shadow:ev.shadow,rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",pill:"rounded-xl"},item:{size:{sm:"text-xs",md:"text-sm",lg:"text-base",xl:"text-base"},rounded:{none:"rounded-none",sm:"rounded-sm",md:"rounded-[4px]",lg:"rounded-md",pill:"rounded-lg"}},inPortal:"[--anchor-max-height:256px;]",notInPortal:"absolute z-10 h-[256px] start-0 top-full mt-1.5"},rU={base:"relative mb-2 block",inputBase:"px-10 placeholder:text-muted-foreground",prefix:"absolute z-10 start-1 top-5 inline-block -translate-y-1/2 whitespace-nowrap leading-normal text-muted-foreground",suffix:"absolute z-10 end-1 top-5 inline-block -translate-y-1/2 whitespace-nowrap leading-normal text-muted-foreground"};function rQ(e){let{label:r,labelWeight:t="medium",error:a,options:s,disabled:i,autoFocus:d,helperText:c,prefix:u=null,placeholder:p="Select...",inPortal:m=!0,modal:f=!1,displayValue:y=rK,getOptionDisplayValue:N=rZ,getOptionValue:j=rY,value:z,onClear:C,clearable:_,placement:M="bottom-start",gap:F=6,size:S="md",rounded:L="md",shadow:O="md",variant:E="outline",suffix:P=(0,l.jsx)(rA,{strokeWidth:"2",className:"h-4 w-4"}),searchable:R,searchType:T,searchProps:B,searchPrefix:I=(0,l.jsx)(rV,{strokeWidth:"2",className:"h-4 w-4"}),searchSuffix:D=null,searchDisabled:H,searchReadOnly:A,onSearchChange:V,searchPlaceHolder:W="Search...",className:Y,searchByKey:Z="label",labelClassName:K,selectClassName:q,optionClassName:X,suffixClassName:G,prefixClassName:U,errorClassName:Q,helperClassName:$,searchClassName:J,dropdownClassName:ee,disableDefaultFilter:er,searchPrefixClassName:et,searchSuffixClassName:ea,searchContainerClassName:es,...en}=e,el=!rW(z)&&(null==z||("string"==typeof z||Array.isArray(z)?0===z.length:"object"==typeof z&&0===Object.keys(z).length)),[ei,ed]=n.useState("");function ec(e){e.stopPropagation(),ed(()=>""),C&&C(e)}let eu=(0,n.useMemo)(()=>er?s:s.filter(e=>e[Z].toLowerCase().includes(ei.toLowerCase())),[ei,s]);return(0,l.jsxs)("div",{className:x(g("select-root"),"grid w-full grid-cols-1",Y),children:[(0,l.jsx)(b.Ri,{value:z,disabled:i,...en,children:e=>{let{open:s}=e;return(0,l.jsxs)(l.Fragment,{children:[r&&(0,l.jsx)(h.__,{className:x(g("select-label"),"block",eo.size[S],eo.weight[t],i&&"text-muted-foreground",K),children:r}),(0,l.jsxs)("div",{className:x("h-full",!m&&"relative"),children:[(0,l.jsxs)(b.Y4,{className:x(g("select-button"),rX.base,rX.variant[E],rX.size[S],rX.rounded[L],u&&rX.prefix.size[S],P&&rX.suffix.size[S],i&&rX.disabled,a&&el&&rX.error,q),autoFocus:d,children:[u?(0,l.jsx)("span",{className:x(g("select-prefix"),"block whitespace-nowrap leading-normal",U),children:u}):null,(0,l.jsx)("span",{className:x(g("select-value"),"block w-full truncate text-left rtl:text-right",el&&"text-muted-foreground",u&&rX.prefix.size[S],P&&rX.suffix.size[S]),children:el?p:y(z)}),_&&!el?(0,l.jsx)(w,{as:"span",size:S,onClick:ec,hasSuffix:!!P}):null,P?(0,l.jsx)("span",{className:x(g("select-suffix"),"whitespace-nowrap leading-normal transition-transform duration-200",s&&"rotate-180",G),children:P}):null]}),s?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(o.u,{as:n.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsxs)(b.O_,{modal:f,portal:m,...m&&{anchor:{to:rq[M],gap:F}},className:x(g("select-options"),rG.base,rG.shadow[O],rG.rounded[L],m?rG.inPortal:rG.notInPortal,ee),children:[R&&(0,l.jsxs)("span",{className:x(rU.base,es),children:[I?(0,l.jsx)("span",{className:x(g("select-prefix"),rU.prefix,I&&rX.prefix.size[S],et),children:I}):null,(0,l.jsx)("input",{type:T,spellCheck:!1,value:ei,disabled:H,readOnly:A,placeholder:W,onChange:e=>{ed(e.target.value),V&&V(e.target.value)},onKeyDown:e=>{(!["ArrowUp","ArrowDown","Enter","Home","End","Escape"].includes(e.ke
1y)||e.shiftKey||e.ctrlKey||e.metaKey||e.altKey)&&e.stopPropagation()},className:x(g("select-search"),rX.base,rX.size[S],rX.variant[E],rX.rounded[L],H&&rX.disabled,rU.inputBase,J),...B}),D?(0,l.jsx)("span",{className:x(g("select-suffix"),rU.suffix,D&&rX.suffix.size[S],ea),children:D}):null]}),eu.map(e=>(0,l.jsx)(b.wt,{...(null==e?void 0:e.disabled)&&{disabled:null==e?void 0:e.disabled},className:r=>{let{focus:t}=r;return x(g("select-option"),"flex w-full items-center px-3 py-1.5",t&&"bg-muted/70",L&&rG.item.rounded[L],S&&rG.item.size[S],!(null==e?void 0:e.disabled)&&"cursor-pointer",X)},value:j(e),children:r=>{let{selected:t}=r;return(0,l.jsx)("div",{className:x(t?"font-medium":"text-foreground"),children:N(e)})}},e.value))]})})}):null]})]})}}),!a&&c?(0,l.jsx)(k,{size:S,className:$,children:c}):null,a&&el?(0,l.jsx)(v,{size:S,error:a,className:Q}):null]})}rQ.displayName="Select",ev.base,ev.shadow;var r$={modern:"min-w-full border-collapse [&_thead]:bg-gray-100 [&_th]:text-start [&_th]:text-gray-500 [&_th]:tracking-wider [&_th]:uppercase [&_th]:font-semibold [&_th]:text-xs [&_th]:p-3 [&_tbody_tr]:border-b [&_tbody_tr]:border-muted hover:[&_tbody_tr]:bg-gray-50 [&_td]:py-4 [&_td]:px-3",minimal:"min-w-full border-collapse [&_thead]:bg-gray-100 first:[&_thead_th]:rounded-s-lg last:[&_thead_th]:rounded-e-lg [&_th]:text-start [&_th]:text-gray-500 [&_th]:tracking-wider [&_th]:uppercase [&_th]:font-semibold [&_th]:text-xs [&_th]:p-3 hover:[&_tbody_tr]:bg-gray-50 [&_td]:py-4 [&_td]:px-3",elegant:"min-w-full border-collapse [&_thead]:border-y [&_thead]:border-muted [&_th]:text-start [&_th]:text-gray-500 [&_th]:tracking-wider [&_th]:uppercase [&_th]:font-semibold [&_th]:text-xs [&_th]:p-3 [&_tbody_tr]:border-b [&_tbody_tr]:border-muted hover:[&_tbody_tr]:bg-gray-50 [&_td]:py-4 [&_td]:px-3",retro:"min-w-full border-collapse [&_thead]:border-y [&_thead]:border-muted [&_th]:text-start [&_th]:text-gray-500 [&_th]:tracking-wider [&_th]:uppercase [&_th]:font-semibold [&_th]:text-xs [&_th]:p-3 last:[&_tbody_tr]:border-b last:[&_tbody_tr]:border-muted hover:[&_tbody_tr]:bg-gray-50 [&_td]:py-4 [&_td]:px-3",classic:"min-w-full border-collapse border-x border-muted [&_thead]:border-y [&_thead]:bg-gray-100 [&_thead]:border-muted [&_th]:text-gray-500 [&_th]:tracking-wider [&_th]:uppercase [&_th]:text-start [&_th]:font-semibold [&_th]:text-xs [&_th]:p-3 [&_tbody_tr]:border-b [&_tbody_tr]:border-muted hover:[&_tbody_tr]:bg-gray-50 [&_td]:text-start [&_td]:py-4 [&_td]:px-3"},rJ=n.forwardRef((e,r)=>{let{className:t,variant:a="modern",...s}=e;return(0,l.jsx)("table",{ref:r,className:x(r$[a],t),...s})}),r0=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("thead",{ref:r,className:t,...a})}),r1=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("tbody",{ref:r,className:t,...a})}),r5=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("tfoot",{ref:r,className:t,...a})}),r2=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("tr",{ref:r,className:t,...a})}),r3=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("th",{ref:r,className:t,...a})}),r4=n.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,l.jsx)("td",{ref:r,className:t,...a})});r0.displayName="TableHeader",r1.displayName="TableBody",r5.displayName="TableFooter",r2.displayName="TableRow",r3.displayName="TableHead",r4.dis
1playName="TableCell",Object.assign(rJ,{Header:r0,Body:r1,Footer:r5,Row:r2,Head:r3,Cell:r4}).displayName="Table";var r7=n.forwardRef((e,r)=>{let{as:t,children:a,className:s,...n}=e;return(0,l.jsx)(t||"div",{ref:r,className:x("block",s),...n,children:a})});r7.displayName="Box";var r6={row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"},r8={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",normal:"justify-normal"},r9={start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},te={1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12"},tr=n.forwardRef((e,r)=>{let{as:t,children:a,direction:s="row",justify:n="start",align:o="start",gap:i="4",className:d,...c}=e;return(0,l.jsx)(null!=t?t:"div",{ref:r,className:x("flex w-full gap-4",r6[s],r8[n],r9[o],te[i],d),...c,children:a})});tr.displayName="Flex";var tt={colStart:{1:"col-start-1",2:"col-start-2",3:"col-start-3",4:"col-start-4",5:"col-start-5",6:"col-start-6",7:"col-start-7",8:"col-start-8",9:"col-start-9",10:"col-start-10",11:"col-start-11",12:"col-start-12",13:"col-start-13",auto:"col-start-auto"},colEnd:{1:"col-end-1",2:"col-end-2",3:"col-end-3",4:"col-end-4",5:"col-end-5",6:"col-end-6",7:"col-end-7",8:"col-end-8",9:"col-end-9",10:"col-end-10",11:"col-end-11",12:"col-end-12",13:"col-end-13",auto:"col-end-auto"},colSpan:{auto:"col-auto",1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12",full:"col-span-full"},rowSpan:{auto:"row-auto",1:"row-span-1",2:"row-span-2",3:"row-span-3",4:"row-span-4",5:"row-span-5",6:"row-span-6",7:"row-span-7",8:"row-span-8",9:"row-span-9",10:"row-span-10",11:"row-span-11",12:"row-span-12",full:"row-span-full"},rowStart:{1:"row-start-1",2:"row-start-2",3:"row-start-3",4:"row-start-4",5:"row-start-5",6:"row-start-6",7:"row-start-7",8:"row-start-8",9:"row-start-9",10:"row-start-10",11:"row-start-11",12:"row-start-12",13:"row-start-13",auto:"row-start-auto"},rowEnd:{1:"row-end-1",2:"row-end-2",3:"row-end-3",4:"row-end-4",5:"row-end-5",6:"row-end-6",7:"row-end-7",8:"row-end-8",9:"row-end-9",10:"row-end-10",11:"row-end-11",12:"row-end-12",13:"row-end-13",auto:"row-end-auto"},order:{1:"order-1",2:"order-2",3:"order-3",4:"order-4",5:"order-5",6:"order-6",7:"order-7",8:"order-8",9:"order-9",10:"order-10",11:"order-11",12:"order-12",first:"order-first",last:"order-last",none:"order-none"},placeSelf:{auto:"place-self-auto",start:"place-self-start",end:"place-self-end",center:"place-self-center",stretch:"place-self-stretch"}},ta=n.forwardRef((e,r)=>{let{as:t,order:a,rowEnd:s,colEnd:n,rowSpan:o,colSpan:i,colStart:d,rowStart:c,children:u,className:p,placeSelf:m,...b}=e;return(0,l.jsx)(t||"div",{ref:r,className:x(n&&tt.colEnd[n],i&&tt.colSpan[i],d&&tt.colStart[d],m&&tt.placeSelf[m],c&&tt.rowStart[c],o&&tt.rowSpan[o],s&&tt.rowEnd[s],a&&tt.order[a],p),...b,children:u})});ta.displayName="GridCol";var ts={columns:{1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12",none:"grid-cols-none",subgrid:"grid-cols-subgrid"},rows:{1:"grid-rows-1",2:"grid-rows-2",3:"grid-rows-3",4:"grid-rows-4",5:"grid-rows-5",6:"grid-rows-6",7:"grid-rows-7",8:"grid-rows-8",9:"grid-rows-9",10:"grid-rows-10",11:"grid-rows-11",12:"grid-rows-12",none:"grid-rows-none",subgrid:"grid-rows-subgrid"},gap:{1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11",12:"gap-12"},align:{end:"items-end",start:"items-start",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},justify:{end:"justify-end",start:"justify-start",around:"justify-around",normal:"justify-normal",center:"justify-center",evenly:"justify-evenly",between:"justify-between",stretch:"justify-stretch"},placeContent:{center:"place-content-center",start:"place-content-start",end:"place-content-end",between:"place-content-between",around:"place-content-around",evenly:"place-content-evenly",baseline:"place-content-baseline",stretch:"place-content-stretch"},placeItems:{center:"place-items-center",start:"place-items-start",end:"place-items-end",baseline:"place-items-baseline",stretch:"place-items-stretch"}};Object.assign(n.forwardRef((e,r)=>{let{as:t,gap:a="4",rows:s,align:n,justify:o,columns:i,children:d,className:c,placeItems:u,placeContent:p,...m}=e;return(0,l.jsx)(t||"div",{ref:r,className:x("grid",a&&ts.gap[a],s&&ts.rows[s],n&&ts.align[n],i&&ts.columns[i],o&&ts.justify[o],p&&ts.placeContent[p],u&&ts.placeItems[u],c),...m,children:d})}),{Col:ta}).displayName="Grid"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.