PageSourceSearch

https://app.formo.so/_next/static/immutable/chunks/1cjc9or8or5xe.js

js formo.so collected 2026-09-25 20:48:03 UTC 23,309 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="906e9063-34ff-3725-2be8-1eea104ab763")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,923102,e=>{"use strict";var t=e.i(767281);let r=0,a=new Map,s=e=>{if(a.has(e))return;let t=setTimeout(()=>{a.delete(e),n({type:"REMOVE_TOAST",toastId:e})},1e6);a.set(e,t)},o=[],l={toasts:[]};function n(e){l=((e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?s(r):e.toasts.forEach(e=>{s(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(l,e),o.forEach(e=>{e(l)})}function i(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>n({type:"DISMISS_TOAST",toastId:a});return n({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>n({type:"UPDATE_TOAST",toast:{...e,id:a}})}}e.s(["toast",0,i,"useToast",0,function(){let[e,r]=t.useState(l);return t.useEffect(()=>(o.push(r),()=>{let e=o.indexOf(r);e>-1&&o.splice(e,1)}),[e]),{...e,toast:i,dismiss:e=>n({type:"DISMISS_TOAST",toastId:e})}}])},805626,e=>{"use strict";var t=e.i(767281),r=e.i(551150),a=e.i(991305),s=e.i(94881),o=e.i(868235),l=e.i(52574),n=e.i(759283),i=e.i(185450),d=e.i(784216),c=e.i(312459),u=e.i(668815),p=e.i(929754),f=e.i(857814),g=e.i(600204),m=e.i(645751),h=e.i(924521),b=e.i(500824),y="Popover",[x,v]=(0,s.createContextScope)(y,[d.createPopperScope]),N=(0,d.createPopperScope)(),[w,j]=x(y),C=e=>{let{__scopePopover:r,children:a,open:s,defaultOpen:o,onOpenChange:l,modal:n=!1}=e,c=N(r),u=t.useRef(null),[p,f]=t.useState(!1),[m=!1,h]=(0,g.useControllableState)({prop:s,defaultProp:o,onChange:l});return(0,b.jsx)(d.Root,{...c,children:(0,b.jsx)(w,{scope:r,contentId:(0,i.useId)(),triggerRef:u,open:m,onOpenChange:h,onOpenToggle:t.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:t.useCallback(()=>f(!0),[]),onCustomAnchorRemove:t.useCallback(()=>f(!1),[]),modal:n,children:a})})};C.displayName=y;var R="PopoverAnchor",k=t.forwardRef((e,r)=>{let{__scopePopover:a,...s}=e,o=j(R,a),l=N(a),{onCustomAnchorAdd:n,onCustomAnchorRemove:i}=o;return t.useEffect(()=>(n(),()=>i()),[n,i]),(0,b.jsx)(d.Anchor,{...l,...s,ref:r})});k.displayName=R;var T="PopoverTrigger",P=t.forwardRef((e,t)=>{let{__scopePopover:s,...o}=e,l=j(T,s),n=N(s),i=(0,a.useComposedRefs)(t,l.triggerRef),c=(0,b.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":H(l.open),...o,ref:i,onClick:(0,r.composeEventHandlers)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?c:(0,b.jsx)(d.Anchor,{asChild:!0,...n,children:c})});P.displayName=T;var D="PopoverPortal",[A,O]=x(D,{forceMount:void 0}),S=e=>{let{__scopePopover:t,forceMount:r,children:a,container:s}=e,o=j(D,t);return(0,b.jsx)(A,{scope:t,forceMount:r,children:(0,b.jsx)(u.Presence,{present:r||o.open,children:(0,b.jsx)(c.Portal,{asChild:!0,container:s,children:a})})})};S.displayName=D;var I="PopoverContent",M=t.forwardRef((e,t)=>{let r=O(I,e.__scopePopover),{forceMount:a=r.forceMount,...s}=e,o=j(I,e.__scopePopover);return(0,b.jsx)(u.Presence,{present:a||o.open,children:o.modal?(0,b.jsx)(_,{...s,ref:t}):(0,b.jsx)(E,{...s,ref:t})})});M.displayName=I;var _=t.forwardRef((e,s)=>{let o=j(I,e.__scopePopover),l=t.useRef(null),n=(0,a.useComposedRefs)(s,l),i=t.useRef(!1);return t.useEffect(()=>{let e=l.current;if(e)return(0,m.hideOthers)(e)},[]),(0,b.jsx)(h.RemoveScroll,{as:f.Slot,allowPinchZoom:!0,children:(0,b.jsx)(F,{...e,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||o.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),E=t.forwardRef((e,r)=>{let a=j(I,e.__scopePopover),s=t.useRef(!1),o=t.useRef(!1);return(0,b.jsx)(F,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||a.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;a.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),F=t.forwardRef((e,t)=>
2{let{__scopePopover:r,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:g,...m}=e,h=j(I,r),y=N(r);return(0,l.useFocusGuards)(),(0,b.jsx)(n.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:i,children:(0,b.jsx)(o.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:g,onEscapeKeyDown:u,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>h.onOpenChange(!1),children:(0,b.jsx)(d.Content,{"data-state":H(h.open),role:"dialog",id:h.contentId,...y,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),z="PopoverClose",B=t.forwardRef((e,t)=>{let{__scopePopover:a,...s}=e,o=j(z,a);return(0,b.jsx)(p.Primitive.button,{type:"button",...s,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function H(e){return e?"open":"closed"}B.displayName=z,t.forwardRef((e,t)=>{let{__scopePopover:r,...a}=e,s=N(r);return(0,b.jsx)(d.Arrow,{...s,...a,ref:t})}).displayName="PopoverArrow",e.s(["Anchor",0,k,"Close",0,B,"Content",0,M,"PopoverClose",0,B,"Portal",0,S,"Root",0,C,"Trigger",0,P])},967795,e=>{"use strict";e.s(["addLeadingZeros",0,function(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}])},632713,e=>{"use strict";var t=e.i(516467);e.s(["getTimezoneOffsetInMilliseconds",0,function(e){let r=(0,t.toDate)(e),a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),e-a}])},539392,e=>{"use strict";var t=e.i(487122);e.s(["normalizeDates",0,function(e){for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];let o=t.constructFrom.bind(null,e||a.find(e=>"object"==typeof e));return a.map(o)}])},487122,511518,e=>{"use strict";let t=Symbol.for("constructDateFrom");e.s(["constructFromSymbol",0,t,"millisecondsInDay",0,864e5,"millisecondsInHour",0,36e5,"millisecondsInMinute",0,6e4,"millisecondsInWeek",0,6048e5],511518),e.s(["constructFrom",0,function(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}],487122)},870429,738416,e=>{"use strict";var t=e.i(632713),r=e.i(539392),a=e.i(511518),s=e.i(516467);function o(e,t){let r=(0,s.toDate)(e,t?.in);return r.setHours(0,0,0,0),r}e.s(["startOfDay",0,o],738416),e.s(["differenceInCalendarDays",0,function(e,s,l){let[n,i]=(0,r.normalizeDates)(l?.in,e,s),d=o(n),c=o(i);return Math.round((d-(0,t.getTimezoneOffsetInMilliseconds)(d)-(c-(0,t.getTimezoneOffsetInMilliseconds)(c)))/a.millisecondsInDay)}],870429)},661977,966625,930718,736425,e=>{"use strict";function t(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}e.s(["isDate",0,t],966625);var r=e.i(516467);e.s(["isValid",0,function(e){return!(!t(e)&&"number"!=typeof e||isNaN(+(0,r.toDate)(e)))}],661977);var a=e.i(487122);function s(e,t,s){let o=(0,r.toDate)(e,s?.in);return isNaN(t)?(0,a.constructFrom)(s?.in||e,NaN):(t&&o.setDate(o.getDate()+t),o)}e.s(["addDays",0,s],930718),e.s(["addWeeks",0,function(e,t,r){return s(e,7*t,r)}],736425)},516467,e=>{"use strict";var t=e.i(487122);e.s(["toDate",0,function(e,r){return(0,t.constructFrom)(r||e,e)}])},916120,819433,256746,968194,452147,61542,36144,900725,763681,666898,e=>{"use strict";var t=e.i(500824),r=e.i(89440),a=e.i(767281),s=e.i(190286);let o=(0,r.cva)((0,s.default)("rounded inline-flex items-center gap-0.5","s1 font-semibold","border","[&>svg]:w-3 [&>svg]:h-3"),{variants:{type:{light:"",strong:"text-surface-primary"},size:{md:"h-5 px-2 py-0.5",sm:"h-4 px-1.5 py-0"},color:{gray:"",blue:"",green:"",red:"",orange:"",yellow:"",teal:"",cyan:"",purple:"",pink:""}},compoundVariants:[{type:"strong",color:"gray",className:"bg-gray-800 border-gray-800"},{type:"strong",color:"blue",className:"bg-blue-400 border-blue-400"},{type:"strong",color:"green",className:"bg-green-600 border-green-600"},{type:"strong",color:"red",className:"bg-red-500 border-red-500"},{type:"strong",color:"orange",className:"bg-orange-500 border-orange-500"},{type:"strong",color:"yellow",className:"bg-yellow-600 border-yellow-600"},{type:"strong",color:"teal",className:"bg-teal-400 border-teal-400"},{type:"strong",color:"cyan",className:"bg-cyan-400 border-cyan-400"},{type:"strong",color:"purple",className:"bg-purple-400 border-purple-400"},{type:"strong",color:"pink",className:"bg-pink-400 border-pink-400"},{type:"light",color:"gray",className:"bg-gray-50 border-gray-200 text-gray-800"},{type:"light",color:"blue",className:"bg-blue-50 border-blue-100 text-blue-400"},{type:"light",color:"green",className:"bg-green-50 border-green-200 text-green-600"},{type:"light",color:"red",className:"bg-red-50 border-red-100 text-red-500"},{type:"light",color:"orange",className:"bg-orange-50 border-orange-100 text-orange-500"},{type:"light",color:"yellow",className:"bg-yellow-50 border-yellow-100 text-yellow-600"},{type:"light",color:"teal",className:"bg-teal-50 border-teal-100 text-teal-400"},{type:"light",color:"cyan",className:"bg-cyan-50 border-cyan-100 text-cyan-400"},{type:"light",color:"purple",className:"bg-purple-50 border-purple-100 text-purple-400"},{type:"light",color:"pink",className:"bg-pink-50 border-pink-100 text-pink-400"}]}),l=(0,a.forwardRef)((e,r)=>{let{className:a,type:s="strong",color:l="gray",size:n="md",status:i,children:d,icon:c=null,iconOnly:u,iconPosition:p="trailing",...f}=e,g=i?(()=>{switch(i){case"error":return"red";case"information":return"blue";case"success":return"green";case"warning":return"orange";default:return"gray"}})():l;return(0,t.jsx)("div",{...f,ref:r,className:o({type:s,color:g,size:n,className:a}),children:u?c:"trailing"===p?[d,c]:[c,d]})});l.displayName="Badge",e.s(["default",0,l],819433),e.i(387452),e.i(491719),e.i(934085),e.i(707663),e.i(275403),e.i(663237);var n=e.i(138394),i=e.i(240857),d=e.i(671163),c=e.i(453572),u=e.i(782462);let p=e=>{let{className:r,...a}=e;return(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,s.default)("mx-auto flex w-full justify-center",r),...a})};p.displayName="Pagination";let f=a.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("ul",{ref:r,className:(0,s.default)("flex flex-row items-center gap-1",a),...o})});f.displayName="PaginationContent";let g=a.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("li",{ref:r,className:(0,s.default)("",a),...o})});g.displayName="PaginationItem";let m=e=>{let{className:r,isActive:a,disabled:o,size:l="sm",...n}=e;return(0,t.jsx)(c.Button,{"aria-current":a?"page":void 0,disabled:o,variant:a?"soft":"text",className:(0,s.default)((0,u.buttonVariants)({variant:a?"soft":"text",size:l,disabled:o}),"b3 font-normal rounded-md disabled:bg-transparent disabled:border-transparent text-content-primary disabled:text-content-tertiary",r),...n})};m.displayName="PaginationLink";let h=e=>{let{className:r,hideText:a=!1,...o}=e;return(0,t.jsx)(m,{"aria-label":"Go to previous page",size:"sm",className:(0,s.default)("h-9 w-9",!a&&"gap-1 w-auto",a&&"px-0",r),icon:(0,t.jsx)(n.ChevronLeft,{fontWeight:"bold"}),iconOnly:a,iconPosition:"leading",...o,children:"Previous"})};h.displayName="PaginationPrevious";let b=e=>{let{className:r,hideText:a=!1,...o}=e;return(0,t.jsx)(m,{"aria-label":"Go to next page",size:"sm",className:(0,s.default)("h-9 w-9",!a&&"gap-1 w-auto",a&&"px-0",r),icon:(0,t.jsx)(i.ChevronRight,{}),iconOnly:a,iconPosition:"trailing",...o,children:"Next"})};b.displayName="PaginationNext";let y=e=>{let{className:r,...a}=e;
2return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,s.default)("flex h-9 w-9 items-center justify-center",r),...a,children:[(0,t.jsx)(d.MoreHorizontal,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]})};y.displayName="PaginationEllipsis";let x=a.default.forwardRef((e,r)=>{let{currentPage:s,totalPages:o,onPageChange:l,onNextClick:n,onPreviousClick:i,deltaNumber:d=2,hideArrowButtons:c=!1,hideArrowText:u=!1,isLoading:x=!1}=e,v=(0,a.useMemo)(()=>(function(e,t,r){let a,s=[],o=[];if(t<1)return[];if(s.push(1),t<=1)return s;for(let a=e-r;a<=e+r;a++)a<t&&a>1&&s.push(a);for(let e of(s.push(t),s))a&&(e-a==2?o.push(a+1):e-a!=1&&o.push("...")),o.push(e),a=e;return o})(s,o,d),[o,s,d]),N=v&&0===v.length;return(0,t.jsx)(p,{ref:r,children:(0,t.jsxs)(f,{children:[!1===c&&!N&&(0,t.jsx)(g,{children:(0,t.jsx)(h,{disabled:1===s||0===o||x,"aria-disabled":1===s,hideText:u,onClick:()=>{!(s<=1)&&i&&i()}})},"previous"),v.map((e,r)=>"string"==typeof e&&"..."===e?(0,t.jsx)(g,{children:(0,t.jsx)(y,{onClick:()=>null})},"ellipsis"+r):(0,t.jsx)(g,{children:(0,t.jsx)(m,{isActive:e===s,disabled:x,onClick:t=>{t.preventDefault(),e!==s&&l(e)},className:"h-9 w-9",children:e})},r)),!1===c&&!N&&(0,t.jsx)(g,{children:(0,t.jsx)(b,{disabled:s===o||0===o||x,"aria-disabled":s===o,hideText:u,onClick:()=>{!(s>=o)&&n&&n()}})},"next")]})})});x.displayName="Pagination",e.s(["default",0,x],256746);var v=e.i(589062);let N=v.Root,w=a.forwardRef((e,r)=>{let{className:o,pill:l,children:n,...i}=e,d=a.useRef(null),c=a.useCallback(e=>{d.current=e,"function"==typeof r?r(e):r&&(r.current=e)},[r]),[u,p]=a.useState({left:0,top:0,width:0,ready:!1});return a.useLayoutEffect(()=>{if(l)return;let e=d.current;if(!e)return;let t=()=>{let t=e.querySelector('[data-state="active"]');if(!t)return void p(e=>e.ready?{...e,ready:!1}:e);let r=e.getBoundingClientRect(),a=t.getBoundingClientRect();p({left:a.left-r.left,top:a.bottom-r.top-2,width:a.width,ready:!0})};t();let r=new MutationObserver(t);r.observe(e,{subtree:!0,attributes:!0,attributeFilter:["data-state"]});let a=new ResizeObserver(t);return a.observe(e),()=>{r.disconnect(),a.disconnect()}},[l]),(0,t.jsxs)(v.List,{ref:c,className:(0,s.default)("relative inline-flex h-8 w-full items-center justify-start bg-transparent",l?"gap-x-1":"border-b border-b-[rgba(226,232,240,1)] gap-x-4",o),...i,children:[n,!l&&u.ready&&(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute z-10 h-0.5 bg-content-brand-secondary transition-[left,top,width] duration-150 ease-out",style:{left:u.left,top:u.top,width:u.width}})]})});w.displayName=v.List.displayName;let j=a.forwardRef((e,r)=>{let{className:a,pill:o,...l}=e;return(0,t.jsx)(v.Trigger,{ref:r,type:"button",className:(0,s.default)("inline-flex items-center gap-x-1 justify-center whitespace-nowrap -mt-[1px] b3 font-medium py-1.5 bg-transparent text-content-secondary transition-colors duration-150 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:text-content-brand-secondary",o?"data-[state=active]:bg-surface-tertiary data-[state=active]:rounded-md px-3 py-1.5":"",a),...l})});j.displayName=v.Trigger.displayName;let C=a.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)(v.Content,{ref:r,className:(0,s.default)("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...o})});function R(e){let{classnames:r,tabs:a,defaultValue:o,pill:l,forceMount:n,onValueChange:i,extra:d,value:c}=e,u=a.map(e=>{let{icon:a=null,label:o,key:n}=e;return(0,t.jsxs)(j,{value:n,pill:l,className:(0,s.default)(r?.tabsTrigger),children:[a,(0,t.jsx)("span",{children:o})]},n)}),p=a.map(e=>(0,t.jsx)(C,{value:e.key,forceMount:n,className:(0,s.default)(r?.tabsContent),children:e.content},e.key));return(0,t.jsxs)(N,{defaultValue:o,className:(0,s.default)("w-full",r?.tabs),onValueChange:i,...c?{value:c}:{},children:[(0,t.jsx)(w,{className:(0,s.default)(r?.tabsList),pill:l,children:(0,t.jsxs)("div",{className:"flex gap-2 items-center w-full",children:[(0,t.jsx)("div",{className:"flex-1 overflow-y-auto flex gap-4 items-center",children:u}),(0,t.jsx)("div",{className:"ml-auto",children:d})]})}),p]})}C.displayName=v.Content.displayName,R.displayName="Tabs",e.s(["default",0,R],968194);var k=e.i(967022);let T=(0,k.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);e.s(["default",0,T],452147),e.s(["ArrowDown",0,T],61542);let P=(0,k.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["default",0,P],36144),e.s(["ArrowUp",0,P],900725);let D=(0,k.default)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]);e.s(["ArrowUpDown",0,D],763681);let A=a.default.forwardRef((e,r)=>{let{className:a,children:o,...l}=e;return(0,t.jsx)("div",{ref:r,children:(0,t.jsx)("div",{className:(0,s.default)("w-full overflow-auto whitespace-nowrap",a),...l,children:o})})});A.displayName="TableRoot";let O=a.default.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("table",{ref:r,"tremor-id":"tremor-raw",className:(0,s.default)("w-full caption-bottom rounded-lg border-spacing-0",a),...o})});O.displayName="TableCore";let S=a.default.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("thead",{ref:r,className:(0,s.default)("rounded-ss-lg rounded-se-lg",a),...o})});S.displayName="TableHeader";let I=a.default.forwardRef((e,r)=>{let{className:a,hasBorder:o,...l}=e;return(0,t.jsx)("th",{ref:r,className:(0,s.default)("px-6 py-3 text-left b3 font-semibold","text-content-primary dark:text-content-tertiary","border-t border-b last:border-r first:border-l border-x-trans
2parent border-t-transparent border-b-gray-200",o&&"!border-gray-200 dark:!border-gray-800",a),...l})});I.displayName="TableHeaderCell";let M=a.default.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("tbody",{ref:r,className:(0,s.default)("divide-y","divide-gray-200 dark:divide-gray-800",a),...o})});M.displayName="TableBody";let _=a.default.forwardRef((e,r)=>{let{className:a,hasBorder:o,...l}=e;return(0,t.jsx)("tr",{ref:r,className:(0,s.default)("border-b transition-colors","[&:last-child>td]:!border-b-0","[&_td:last-child]:pr-8 [&_th:last-child]:pr-8","rounded-ss-lg rounded-se-lg [&_th:first-child]:rounded-ss-lg [&_th:last-child]:rounded-se-lg",o&&"[&:last-child_td:first-child]:rounded-es-lg [&:last-child_td:last-child]:rounded-ee-lg","[&_td:first-child]:pl-8 [&_th:first-child]:pl-8",a),...l})});_.displayName="TableRow";let E=a.default.forwardRef((e,r)=>{let{className:a,hasBorder:o,...l}=e;return(0,t.jsx)("td",{ref:r,className:(0,s.default)("px-6 py-3 text-sm","text-gray-600 dark:text-gray-400","border-b last:border-r first:border-l border-x-transparent border-b-gray-200",o&&"!border-gray-200 dark:!border-gray-800",a),...l})});E.displayName="TableCell";let F=a.default.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("tfoot",{ref:r,className:(0,s.default)("border-t text-left font-medium","text-gray-900 dark:text-gray-50","border-gray-200 dark:border-gray-800",a),...o})});F.displayName="TableFoot";let z=a.default.forwardRef((e,r)=>{let{className:a,...o}=e;return(0,t.jsx)("caption",{ref:r,className:(0,s.default)("mt-3 px-3 text-center text-sm","text-gray-500 dark:text-gray-500",a),...o})});z.displayName="TableCaption";let B=e=>{let{order:r}=e;return r?(0,t.jsx)("button",{type:"button",onClick:e=>r.onClick(r.by,r.direction,e),children:(e=>{switch(e){case"asc":return(0,t.jsx)(P,{size:16});case"desc":return(0,t.jsx)(T,{size:16});default:return(0,t.jsx)(D,{size:16})}})(r.direction)}):null},H=()=>(0,t.jsx)("div",{className:(0,s.default)("aspect-square animate-spin rounded-full border border-neutral-300 border-b-neutral-500 ease-in-out"),style:{width:40,borderWidth:4}}),U=a.default.forwardRef((e,r)=>{let a,{columns:o,dataSource:l=[],footer:n,classNames:i,caption:d,indexOffset:c=0,hasBorder:u=!1,showIndex:p=!1,isLoading:f=!1,events:g={},emptyText:m="No data to show"}=e;return(0,t.jsx)(A,{className:(0,s.default)(i?.root),ref:r,children:(0,t.jsxs)(O,{className:(0,s.default)(i?.table),children:[d&&(0,t.jsx)(z,{className:(0,s.default)(i?.caption),children:d}),(0,t.jsx)(S,{className:(0,s.default)(i?.header),children:(0,t.jsx)(_,{className:(0,s.default)(i?.headerRow),children:(a=o.map((e,r)=>{let a=e.order;return(0,t.jsx)(I,{className:(0,s.default)(i?.headerCell),style:{width:e.width?e.width+"px":"auto"},hasBorder:u,scope:"col",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[e.title,(0,t.jsx)(B,{order:a})]})},"th-"+r)}),p?[(0,t.jsx)(I,{className:(0,s.default)("w-auto",i?.headerCell),hasBorder:u,scope:"col",children:"#"},"th-index"),...a]:a)})}),(0,t.jsx)(M,{className:(0,s.default)(i?.body),children:f?(0,t.jsx)("tr",{className:"h-80 bg-white relative",children:(0,t.jsx)("td",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,t.jsx)(H,{})})}):l.length?l?.map?.((e,r)=>{let a,l;return(0,t.jsx)(_,{hasBorder:u,className:(0,s.default)("hover:bg-surface-hover data-[state=selected]:bg-surface-hover",g.onRowClick&&"cursor-pointer",i?.bodyRow),onClick:t=>g.onRowClick&&g.onRowClick(e,t),children:(a=c+r,l=o.map((a,o)=>{let l=a.dataIndex||a.key,n=a.align||"left",d="";return l&&(d=a.render?a.render(e[l],e,r):e[l]),(0,t.jsx)(E,{className:(0,s.default)("text-"+n,a.onCellClick&&"cursor-pointer",i?.bodyCell),style:{width:a.width?a.width+"px":"auto"},hasBorder:u,onClick:t=>a.onCellClick&&a.onCellClick(e[l],e,r,t),children:d},"td-"+r+"-"+o)}),p?[(0,t.jsx)(E,{className:(0,s.default)(i?.bodyCell),hasBorder:u,children:a+1},"td-index-"+a),...l]:l)},"row-"+r)}):(0,t.jsx)("tr",{className:"h-80 bg-white relative",children:(0,t.jsx)("td",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("p",{className:"b2 font-medium",children:m})})})}),n&&(0,t.jsx)(F,{className:(0,s.default)(i?.footer),children:n})]})})});e.s(["default",0,U],666898),e.i(288646),e.i(180598),e.i(742337),e.i(4412),e.i(378799),e.i(264734),e.i(428530),e.s([],916120)}]);
3
4//# debugId=906e9063-34ff-3725-2be8-1eea104ab763

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.