PageSourceSearch

https://www.roesnerundpartner.de/wp-content/plugins/immosuite/build/915.2cad59f7fb8000b71cde.js

js roesnerundpartner.de collected 2026-10-07 04:56:05 UTC 85,735 bytes, 1 lines download raw bytes

1(self.webpackChunkimmosuite=self.webpackChunkimmosuite||[]).push([[915],{58:(e,t,n)=>{"use strict";n.d(t,{a:()=>f});var r=n(790),i=n(1609),o=n(3437),s=n(7730),a=n(7990),l=n(1081),c=n(5374),u=n(9907),d=n(1313);function f(e){const{key:t,recipe:n}=e,f=(0,l.Zb)(t||n.className||"Component"),[p,g]=(0,o.q)({strict:!1,name:`${f}PropsContext`,providerName:`${f}PropsContext`});function m(e){const{unstyled:r,...o}=e,s=function(e){const{key:t,recipe:n}=e,r=(0,d.$)();return(0,i.useMemo)(()=>{const e=n||(null!=t?r.getRecipe(t):{});return r.cva(structuredClone(e))},[t,n,r])}({key:t,recipe:o.recipe||n}),[a,l]=(0,i.useMemo)(()=>s.splitVariantProps(o),[s,o]);return{styles:r?c.z:s(a),className:s.className,props:l}}return{withContext:(e,t)=>{const{displayName:n,...o}=t??{},c=(0,u.B)(e,{},o),d=(0,i.forwardRef)((e,t)=>{const n=g(),o=(0,i.useMemo)(()=>(0,s.v)(n,e),[e,n]),{styles:l,className:u,props:d}=m(o);return(0,r.jsx)(c,{...d,ref:t,css:[l,o.css],className:(0,a.cx)(u,o.className)})});return d.displayName=n??f??(0,l.gy)(e),d},PropsProvider:p,withPropsProvider:function(){return p},usePropsContext:g,useRecipeResult:m}}},226:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(9612),i=n(1609),o=n(3157),s=e=>{const t=(0,i.memo)((0,i.forwardRef)((t,n)=>{const{asChild:s,children:a,...l}=t;if(!s)return(0,i.createElement)(e,{...l,ref:n},a);if(!(0,i.isValidElement)(a))return null;const c=i.Children.only(a),u=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(c);return(0,i.cloneElement)(c,{...(0,o.v)(l,c.props),ref:n?(0,r.t)(n,u):u})}));return t.displayName=e.displayName||e.name,t},a=(()=>{const e=new Map;return new Proxy(s,{apply:(e,t,n)=>s(n[0]),get(t,n){const r=n;return e.has(r)||e.set(r,s(r)),e.get(r)}})})()},285:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var r=n(790),i=n(1609),o=n(3437),s=n(7730),a=n(7990),l=n(1081),c=n(5374),u=n(9907),d=n(1313);const f=e=>{const{key:t,recipe:n}=e,f=(0,l.Zb)(t||n.className||"Component"),[p,g]=(0,o.q)({name:`${f}StylesContext`,errorMessage:`use${f}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${f}.Root />" `}),[m,h]=(0,o.q)({name:`${f}ClassNameContext`,errorMessage:`use${f}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${f}.Root />" `,strict:!1}),[v,y]=(0,o.q)({strict:!1,name:`${f}PropsContext`,providerName:`${f}PropsContext`,defaultValue:{}});function b(e){const{unstyled:r,...o}=e,s=function(e){const{key:t,recipe:n}=e,r=(0,d.$)();return(0,i.useMemo)(()=>{const e=n||(null!=t?r.getSlotRecipe(t):{});return r.sva(structuredClone(e))},[t,n,r])}({key:t,recipe:o.recipe||n}),[a,l]=(0,i.useMemo)(()=>s.splitVariantProps(o),[o,s]);return{styles:(0,i.useMemo)(()=>r?c.u:s(a),[r,a,s]),classNames:s.classNameMap,props:l}}return{StylesProvider:p,ClassNamesProvider:m,PropsProvider:v,usePropsContext:y,useRecipeResult:b,withProvider:(e,t,n)=>{const{defaultProps:o,displayName:c,wrapElement:d,...g}=n??{},h=(0,l.JA)(f,String(t)),v=(0,u.B)(e,{},g),x=(0,i.forwardRef)((e,n)=>{const l=y(),c=(0,i.useMemo)(()=>(0,s.v)(o??{},l,e),[l,e]),{styles:u,props:f,classNames:g}=b(c),h=g[t],x=(0,r.jsx)(p,{value:u,children:(0,r.jsx)(m,{value:g,children:(0,r.jsx)(v,{ref:n,...f,css:[u[t],c.css],className:(0,a.cx)(c.className,h)})})});return d?.(x,c)??x});return x.displayName=c??h??(0,l.gy)(e),x},withContext:(e,t,n)=>{const{displayName:o,...s}=n??{},c=null!=t&&""!==t?(0,l.JA)(f,String(t)):f,d=(0,u.B)(e,{},s),p=(0,i.forwardRef)((e,n)=>{const{unstyled:i,...o}=e,s=g(),l=h(),c=l?.[t];return(0,r.jsx)(d,{...o,css:[!i&&t?s[t]:void 0,e.css],ref:n,className:(0,a.cx)(e.className,c)})});return p.displayName=o??c??(0,l.gy)(e),p},withRootProvider:function(e,t={}){const{defaultProps:n,displayName:o}=t,a=(0,l.gy)(e),c=(0,l.d1)(f,a),u=t=>{const o=y(),a=(0,i.useMemo)(()=>(0,s.v)(n,o,t),[o,t]),{styles:l,classNames:c,props:u}=b(a);return(0,r.jsx)(p,{value:l,children:(0,r.jsx)(m,{value:c,children:(0,r.jsx)(e,{...u})})})};return u.displayName=o??c??a,u},useStyles:g,useClassNames:h}}},1081:(e,t,n)=>{"use strict";function r(e){if("string"!=typeof e)return e.displayName||e.name}function i(e){return e?e.charAt(0).toUpperCase()+e.slice(1):e}function o(e,t){return e+i(t)}function s(e,t){if(t)return e+i(t)}n.d(t,{JA:()=>
1o,Zb:()=>i,d1:()=>s,gy:()=>r})},1215:(e,t,n)=>{"use strict";n.d(t,{wp:()=>w,sp:()=>I,dh:()=>x,tR:()=>C,XO:()=>b});var r=n(790),i=n(2406),o=n(5643),s=n(1609),a=n(285),l=n(9907),c=n(7990),u=n(58);const{useRecipeResult:d,PropsProvider:f}=(0,u.a)({key:"icon"}),p=s.forwardRef(function(e,t){const{styles:n,className:i,props:o}=d({asChild:!e.as,...e});return(0,r.jsx)(l.B.svg,{ref:t,focusable:!1,"aria-hidden":"true",...o,css:[n,e.css],className:(0,c.cx)(i,e.className)})}),{withProvider:g,withContext:m,useStyles:h,useClassNames:v,PropsProvider:y}=(0,a.c)({key:"field"}),b=g(i.V.Root,"root",{forwardAsChild:!0}),x=m(i.V.Label,"label",{forwardAsChild:!0}),I=m(i.V.HelperText,"helperText",{forwardAsChild:!0}),w=m(i.V.ErrorText,"errorText",{forwardAsChild:!0}),C=(function(e){const{viewBox:t="0 0 24 24",d:n,displayName:i,defaultProps:o={}}=e,a=s.Children.toArray(e.path);(0,s.forwardRef)((e,i)=>(0,r.jsx)(p,{ref:i,asChild:!1,viewBox:t,...o,...e,children:a.length?a:(0,r.jsx)("path",{fill:"currentColor",d:n})})).displayName=i}({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z",defaultProps:{boxSize:"1em"}}),(0,s.forwardRef)(function(e,t){const{fallback:n,children:i="*",...s}=e,a=(0,o.f)(),u=v(),d=h();return a?.required?(0,r.jsx)(l.B.span,{ref:t,"aria-hidden":"true",...s,className:(0,c.cx)(u.requiredIndicator,e.className),css:[d.requiredIndicator,e.css],children:i}):n}))},1635:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(58);const{withContext:i,PropsProvider:o}=(0,r.a)({key:"spinner"}),s=i("span")},1654:(e,t,n)=>{"use strict";n.d(t,{$:()=>v});var r=n(790),i=n(1609),o=n(7730),s=n(58),a=n(9907),l=n(2774),c=n(7990),u=n(6245),d=n(1635),f=n(1691);const p=i.forwardRef(function(e,t){const{spinner:n=(0,r.jsx)(d.y,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:i="start",children:o,text:s,visible:a=!0,...l}=e;return a?s?(0,r.jsxs)(u.L,{ref:t,display:"contents",...l,children:["start"===i&&n,s,"end"===i&&n]}):n?(0,r.jsxs)(u.L,{ref:t,display:"contents",...l,children:[(0,r.jsx)(f.R,{display:"inline-flex",children:n}),(0,r.jsx)(u.L,{visibility:"hidden",display:"contents",children:o})]}):(0,r.jsx)(u.L,{ref:t,display:"contents",...l,children:o}):o});p.displayName="Loader";const{useRecipeResult:g,PropsProvider:m,usePropsContext:h}=(0,s.a)({key:"button"}),v=(0,i.forwardRef)(function(e,t){const n=h(),s=(0,i.useMemo)(()=>(0,o.v)(n,e),[n,e]),u=g(s),{loading:d,loadingText:f,children:m,spinner:v,spinnerPlacement:y,...b}=u.props;return(0,r.jsx)(a.B.button,{type:"button",ref:t,...b,"data-loading":(0,l.s)(d),disabled:d||b.disabled,className:(0,c.cx)(u.className,s.className),css:[u.styles,s.css],children:!s.asChild&&d?(0,r.jsx)(p,{spinner:v,text:f,spinnerPlacement:y,children:m}):m})});v.displayName="Button"},1691:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});const r=(0,n(9907).B)("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});r.displayName="AbsoluteCenter"},2406:(e,t,n)=>{"use strict";n.d(t,{V:()=>D});var r=n(8937),i=n(5643),o=e=>e.children((0,i.f)()),s=n(226),a=n(1609),l=n(3157),c=n(790),u=(0,a.forwardRef)((e,t)=>{const n=(0,i.f)(),r=(0,l.v)(n.getErrorTextProps(),e);return n?.invalid?(0,c.jsx)(s.X.span,{...r,ref:t}):null});u.displayName="FieldErrorText";var d=(0,a.forwardRef)((e,t)=>{const n=(0,l.v)((0,i.f)()?.getHelperTextProps(),e);return(0,c.jsx)(s.X.span,{...n,ref:t})});d.displayName="FieldHelperText";var f=(0,a.forwardRef)((e,t)=>{const n=(0,l.v)((0,i.f)()?.getInputProps(),e);return(0,c.jsx)(s.X.input,{...n,ref:t})});f.displayName="FieldInput";var p=n(2776),g=e=>{const{value:t,children:n}=e,r=(0,i.f)();return(0,c.jsx)(i.S,{value:(0,a.useMemo)(()=>
1{if(!r)throw new Error("Field.Item must be used within Field.Root");const e=`field::${r.ids.control}::item::${t}`,n=`${e}::label`,i=()=>({...r.getInputProps(),id:e});return{...r,ids:{...r.ids,control:e,label:n},getLabelProps:()=>({...r.getLabelProps(),id:n,htmlFor:e}),getInputProps:()=>({...i(),...p.r.input.attrs}),getSelectProps:()=>({...i(),...p.r.select.attrs}),getTextareaProps:()=>({...i(),...p.r.textarea.attrs})}},[r,t]),children:n})};g.displayName="FieldItem";var m=(0,a.forwardRef)((e,t)=>{const n=(0,l.v)((0,i.f)()?.getLabelProps(),e);return(0,c.jsx)(s.X.label,{...n,ref:t})});m.displayName="FieldLabel";var h=(0,a.forwardRef)(({fallback:e,...t},n)=>{const r=(0,i.f)();if(!r.required)return e;const o=(0,l.v)(r.getRequiredIndicatorProps(),t);return(0,c.jsx)(s.X.span,{...o,ref:n,children:t.children??"*"})});h.displayName="FieldRequiredIndicator";var v=n(8959),y=n(9612),b=n(3021),x=n(4539),[I,w]=(0,x.q)({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1}),C="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,k=n(7865),P=(0,v.P)(),O=(0,a.forwardRef)((e,t)=>{const[n,r]=P(e,["id","ids","disabled","invalid","readOnly","required","target"]),o=((e={})=>{const t=w(),n=(0,b.w)(),{ids:r,target:i,disabled:o=Boolean(t?.disabled),invalid:s=!1,readOnly:l=!1,required:c=!1}=e,[u,d]=(0,a.useState)(!1),[f,g]=(0,a.useState)(!1),m=(0,a.useId)(),h=e.id??m,v=(0,a.useRef)(null),y=r?.control??`field::${h}`,x=r?.errorText??`field::${h}::error-text`,I=r?.helperText??`field::${h}
1::helper-text`,P=r?.label??`field::${h}::label`;C(()=>{const e=v.current;if(!e)return;const t=()=>{const e=n.getRootNode();d(!!e.getElementById(x)),g(!!e.getElementById(I))};t();const r=new(n.getWindow().MutationObserver)(t);return r.observe(e,{childList:!0,subtree:!0}),()=>r.disconnect()},[n,x,I]);const O=(0,a.useMemo)(()=>{const e=[];return u&&s&&e.push(x),f&&e.push(I),e.join(" ")||void 0},[s,x,I,u,f]),E=(0,a.useMemo)(()=>()=>({...p.r.root.attrs,id:y,ref:v,role:"group","data-disabled":(0,k.sE)(o),"data-invalid":(0,k.sE)(s),"data-readonly":(0,k.sE)(l)}),[o,s,l,y]),S=i?`field::${h}::item::${i}`:void 0,R=(0,a.useMemo)(()=>()=>({...p.r.label.attrs,id:P,"data-disabled":(0,k.sE)(o),"data-invalid":(0,k.sE)(s),"data-readonly":(0,k.sE)(l),"data-required":(0,k.sE)(c),htmlFor:S??h}),[o,s,l,c,h,P,S]),T=(0,a.useMemo)(()=>()=>({"aria-describedby":O,"aria-invalid":(0,k.rq)(s),"data-invalid":(0,k.sE)(s),"data-required":(0,k.sE)(c),"data-readonly":(0,k.sE)(l),id:h,required:c,disabled:o,readOnly:l}),[O,s,c,l,h,o]),M=(0,a.useMemo)(()=>()=>({...T(),...p.r.input.attrs}),[T]),N=(0,a.useMemo)(()=>()=>({...T(),...p.r.textarea.attrs}),[T]),j=(0,a.useMemo)(()=>()=>({...T(),...p.r.select.attrs}),[T]),D=(0,a.useMemo)(()=>()=>({id:I,...p.r.helperText.attrs,"data-disabled":(0,k.sE)(o)}),[o,I]),A=(0,a.useMemo)(()=>()=>({id:x,...p.r.errorText.attrs,"aria-live":"polite"}),[x]),K=(0,a.useMemo)(()=>()=>({"aria-hidden":!0,...p.r.requiredIndicator.attrs}),[]);return{ariaDescribedby:O,ids:{root:y,control:h,label:P,errorText:x,helperText:I},refs:{rootRef:v},disabled:o,invalid:s,readOnly:l,required:c,getLabelProps:R,getRootProps:E,getInputProps:M,getTextareaProps:N,getSelectProps:j,getHelperTextProps:D,getErrorTextProps:A,getRequiredIndicatorProps:K}})(n),u=(0,l.v)(o.getRootProps(),r);return(0,c.jsx)(i.S,{value:o,children:(0,c.jsx)(s.X.div,{...u,ref:(0,y.t)(t,o.refs.rootRef)})})});O.displayName="FieldRoot";var E=(0,v.P)(),S=(0,a.forwardRef)((e,t)=>{const[{value:n},r]=E(e,["value"]),o=(0,l.v)(n.getRootProps(),r);return(0,c.jsx)(i.S,{value:n,children:(0,c.jsx)(s.X.div,{...o,ref:t})})});S.displayName="FieldRootProvider";var R=(0,a.forwardRef)((e,t)=>{const n=(0,l.v)((0,i.f)()?.getSelectProps(),e);return(0,c.jsx)(s.X.select,{...n,ref:t})});R.displayName="FieldSelect";var T=n(5175),M=n(2706),N=e=>{if(!e)return;const t=(0,T.L)(e),n=(0,M.zk)(e),r=(0,M.YE)(e),i=()=>{requestAnimationFrame(()=>{let n;e.style.height="auto",n="content-box"===t.boxSizing?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),"none"!==t.maxHeight&&n>parseFloat(t.maxHeight)?("hidden"===t.overflowY&&(e.style.overflowY="scroll"),n=parseFloat(t.maxHeight)):"hidden"!==t.overflowY&&(e.style.overflowY="hidden"),e.style.height=`${n}px`})};e.addEventListener("input",i),e.form?.addEventListener("reset",i);const o=Object.getPrototypeOf(e),s=Object.getOwnPropertyDescriptor(o,"value");s&&Object.defineProperty(e,"value",{...s,set(t){const r=s.get?.call(this);s.set?.call(this,t),i(),r!==t&&queueMicrotask(()=>{e.dispatchEvent(new n.InputEvent("input",{bubbles:!0}))})}});const a=new n.ResizeObserver(()=>{requestAnimationFrame(()=>i())});a.observe(e);const l=new n.MutationObserver(()=>i());return l.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",i),()=>{e.removeEventListener("input",i),e.form?.removeEventListener("reset",i),r.fonts?.removeEventListener("loadingdone",i),a.disconnect(),l.disconnect()}},j=(0,a.forwardRef)((e,t)=>{const{autoresize:n,...r}=e,o=(0,a.useRef)(null),u=(0,l.v)((0,i.f)()?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return(0,a.useEffect)(()=>{if(n)return N(o.current)},[n]),(0,c.jsx)(s.X.textarea,{...u,ref:(0,y.t)(t,o)})});j.displayName="FieldTextarea";var D=(0,r.I)({Context:()=>o,ErrorText:()=>u,HelperText:()=>d,Input:()=>f,Item:()=>g,Label:()=>m,RequiredIndicator:()=>h,Root:()=>O,RootProvider:()=>S,Select:()=>R,Textarea:()=>j})},2737:(e,t,n)=>{"use strict";n(6669)},2774:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r=e=>e?"":void 0},3034:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3157:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var r=n(5405),i=n(8089),o=(...e)=>e.map(e=>
1e?.trim?.()).filter(Boolean).join(" "),s=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,a=e=>{const t={};let n;for(;n=s.exec(e);)t[n[1]]=n[2];return t},l=(e,t)=>{if((0,r.Kg)(e)){if((0,r.Kg)(t))return`${e};${t}`;e=a(e)}else(0,r.Kg)(t)&&(t=a(t));return Object.assign({},e??{},t??{})};function c(...e){let t={};for(let n of e){if(!n)continue;for(let e in t)e.startsWith("on")&&"function"==typeof t[e]&&"function"==typeof n[e]?t[e]=(0,i.OK)(n[e],t[e]):t[e]="className"!==e&&"class"!==e?"style"!==e?void 0!==n[e]?n[e]:t[e]:l(t[e],n[e]):o(t[e],n[e]);for(let e in n)void 0===t[e]&&(t[e]=n[e]);const e=Object.getOwnPropertySymbols(n);for(let r of e)t[r]=n[r]}return t}},3962:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const r=(0,n(9907).B)("div");r.displayName="Box"},3989:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(1609);function i(e,t){let{cursor:n,getKey:r}=e;return{setSelectedKeys(e){t(t=>({...t,selectedKeys:e}))},addKeysToSelection(e){t(t=>"all"===t.selectedKeys?t:"all"===e?{...t,selectedKeys:"all"}:{...t,selectedKeys:new Set([...t.selectedKeys,...e])})},removeKeysFromSelection(e){t(t=>{if("all"===e)return{...t,selectedKeys:new Set};let n="all"===t.selectedKeys?new Set(t.items.map(r)):new Set(t.selectedKeys);for(let t of e)n.delete(t);return{...t,selectedKeys:n}})},setFilterText(e){t(t=>({...t,filterText:e}))},insert(e,...n){t(t=>o(t,e,...n))},insertBefore(e,...n){t(t=>{let i=t.items.findIndex(t=>r?.(t)===e);if(-1===i){if(0!==t.items.length)return t;i=0}return o(t,i,...n)})},insertAfter(e,...n){t(t=>{let i=t.items.findIndex(t=>r?.(t)===e);if(-1===i){if(0!==t.items.length)return t;i=0}return o(t,i+1,...n)})},prepend(...e){t(t=>o(t,0,...e))},append(...e){t(t=>o(t,t.items.length,...e))},remove(...e){t(t=>{let i=new Set(e),o=t.items.filter(e=>!i.has(r(e))),s="all";if("all"!==t.selectedKeys){s=new Set(t.selectedKeys);for(let t of e)s.delete(t)}return null==n&&0===o.length&&(s=new Set),{...t,items:o,selectedKeys:s}})},removeSelectedItems(){t(e=>{if("all"===e.selectedKeys)return{...e,items:[],selectedKeys:new Set};let t=e.selectedKeys,n=e.items.filter(e=>!t.has(r(e)));return{...e,items:n,selectedKeys:new Set}})},move(e,n){t(t=>{let i=t.items.findIndex(t=>r(t)===e);if(-1===i)return t;let o=t.items.slice(),[s]=o.splice(i,1);return o.splice(n,0,s),{...t,items:o}})},moveBefore(e,n){t(t=>{let i=t.items.findIndex(t=>r(t)===e);if(-1===i)return t;let o=(Array.isArray(n)?n:[...n]).map(e=>t.items.findIndex(t=>r(t)===e)).sort((e,t)=>e-t);return s(t,o,i)})},moveAfter(e,n){t(t=>{let i=t.items.findIndex(t=>r(t)===e);if(-1===i)return t;let o=(Array.isArray(n)?n:[...n]).map(e=>t.items.findIndex(t=>r(t)===e)).sort((e,t)=>e-t);return s(t,o,i+1)})},update(e,n){t(t=>{let i,o=t.items.findIndex(t=>r(t)===e);return-1===o?t:(i="function"==typeof n?n(t.items[o]):n,{...t,items:[...t.items.slice(0,o),i,...t.items.slice(o+1)]})})}}}function o(e,t,...n){return{...e,items:[...e.items.slice(0,t),...n,...e.items.slice(t)]}}function s(e,t,n){n-=t.filter(e=>e<n).length;let r=t.map(e=>({from:e,to:n++}));for(let e=0;e<r.length;e++){let t=r[e].from;for(let n=e;n<r.length;n++)r[n].from>t&&r[n].from--}for(let e=0;e<r.length;e++){let t=r[e];for(let n=r.length-1;n>e;n--){let e=r[n];e.from<t.to?t.to++:e.from++}}let i=e.items.slice();for(let e of r){let[t]=i.splice(e.from,1);i.splice(e.to,0,t)}return{...e,items:i}}function a(e,t){let n;switch(e.state){case"idle":case"error":switch(t.type){case"loading":case"loadingMore":case"sorting":case"filtering":return{...e,filterText:t.filterText??e.filterText,state:t.type,items:"loading"===t.type?[]:e.items,sortDescriptor:t.sortDescriptor??e.sortDescriptor,abortController:t.abortController};case"update":return{...e,...t.updater?.(e)};case"success":case"error":return e;default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loading":case"sorting":case"filtering":switch(t.type){case"success":return t.abortController!==e.abortController?e:(n=t.selectedKeys??e.selectedKeys,{...e,filterText:t.filterText??e.filterText,state:"idle",items:[...t.items??[]],selectedKeys:"all"===n?"all":new Set(n),sortDescriptor:t.sortDescriptor??e.sortDescriptor,abortController:void 0,cursor:t.cursor});case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error,abortController:void 0};case"loading":case"loadingMore":case"sorting":case"filtering":return e.abortController?.abort("aborting current load and starting new one"),{...e,filterText:t.filterText??e.filterText,state:t.type,items:"loading"===t.type?[]:e.items,abortController:t.abortController};case"update":return{...e,...t.updater?.(e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loadingMore":switch(t.type){case"success":return n="all"===e.selectedKeys||"all"===t.selectedKeys?"all":new Set([...e.selectedKeys,...t.selectedKeys??[]]),{...e,state:"idle",items:[...e.items,...t.items??[]],selectedKeys:n,sortDe
1scriptor:t.sortDescriptor??e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error};case"loading":case"sorting":case"filtering":return e.abortController?.abort(),{...e,filterText:t.filterText??e.filterText,state:t.type,items:"loading"===t.type?[]:e.items,abortController:t.abortController};case"loadingMore":return t.abortController?.abort(),e;case"update":return{...e,...t.updater?.(e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}default:throw new Error(`Invalid state "${e.state}"`)}}function l(e){const{load:t,sort:n,initialSelectedKeys:o,initialSortDescriptor:s,getKey:l=e=>e.id||e.key,initialFilterText:c=""}=e;let[u,d]=(0,r.useReducer)(a,{state:"idle",error:void 0,items:[],selectedKeys:"all"===o?"all":new Set(o),sortDescriptor:s,filterText:c});const f=async(e,n)=>{let r=new AbortController;try{d({...e,abortController:r});let i=e.filterText??u.filterText,o=await n({items:u.items.slice(),selectedKeys:u.selectedKeys,sortDescriptor:e.sortDescriptor??u.sortDescriptor,signal:r.signal,cursor:"loadingMore"===e.type?u.cursor:void 0,filterText:i,loadingState:u.state}),s=o.filterText??i;d({type:"success",...o,abortController:r}),s&&s!==i&&!r.signal.aborted&&f({type:"filtering",filterText:s},t)}catch(e){d({type:"error",error:e,abortController:r})}};let p=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{p.current||(f({type:"loading"},t),p.current=!0)},[]),{items:u.items,selectedKeys:u.selectedKeys,sortDescriptor:u.sortDescriptor,isLoading:"loading"===u.state||"loadingMore"===u.state||"sorting"===u.state||"filtering"===u.state,loadingState:u.state,error:u.error,filterText:u.filterText,getItem:e=>u.items.find(t=>l(t)===e),reload(){f({type:"loading"},t)},loadMore(){"loading"!==u.state&&"loadingMore"!==u.state&&"filtering"!==u.state&&null!=u.cursor&&f({type:"loadingMore"},t)},sort(e){f({type:"sorting",sortDescriptor:e},n||t)},...i({...e,getKey:l,cursor:u.cursor},e=>{d({type:"update",updater:e})}),setFilterText(e){f({type:"filtering",filterText:e},t)}}}},5175:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(2706),i=new WeakMap;function o(e){return i.has(e)||i.set(e,(0,r.zk)(e).getComputedStyle(e)),i.get(e)}},5315:(e,t,n)=>{"use strict";n.d(t,{Ke:()=>Me,Nb:()=>Te});var r=n(8937),i=n(226),o=n(4539),[s,a]=(0,o.q)({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),l=n(1609),c=n(3157),u=n(790),d=(0,l.forwardRef)((e,t)=>{const n=a();if(n.isUnmounted)return null;const r=(0,c.v)(n.getContentProps(),e);return(0,u.jsx)(i.X.div,{...r,ref:t})});d.displayName="CollapsibleContent";var f=e=>e.children(a()),p=(0,l.forwardRef)((e,t)=>{const n=(0,c.v)(a().getIndicatorProps(),e);return(0,u.jsx)(i.X.div,{...n,ref:t})});p.displayName="CollapsibleIndicator";var g=n(8959),m=n(3021),[h,v]=(0,o.q)({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});function y(...e){1===e.length?e[0]:e[1],2!==e.length||e[0]}function b(...e){1===e.length?e[0]:e[1],2!==e.length||e[0]}function x(e,t){if(null==e)throw new Error(t())}var I=".",w=new WeakMap,C=new WeakMap;function k(e){return e.join(I)}function P(e){return e.startsWith("#")}function O(e,t){return e?`${e}${I}${t}`:t}function E(e){const t=w.get(e);if(t)return t;const{index:n,idIndex:r}=function(e){const t=new Map,n=new Map,r=(e,i)=>{t.set(e,i);const o=i.id;o&&(n.has(o)&&b(`[zag-js] Duplicate state id: "${o}"`),n.set(o,e));const s=i.states;if(s){x(i.initial,()=>`[zag-js] Compound state "${e}" has child states but no "initial" property`),i.initial in s||b(`[zag-js] Compound state "${e}" has initial "${String(i.initial)}" which is not a child state`);for(const[t,n]of Object.entries(s)){if(!n)continue;const i=O(e,t);r(i,n)}}};for(const[t,n]of Object.entries(e.states))n&&r(t,n);return{index:t,idIndex:n}}(e);return w.set(e,n),C.set(e,r),n}function S(e){return e?String(e).split(I).filter(Boolean):[]}function R(e,t){if(!t)return[];const n=E(e),r=S(t),i=[],o=[];for(const e of r){o.push(e);const t=k(o),r=n.get(t);if(!r)break;
1i.push({path:t,state:r})}return i}function T(e,t){const n=E(e),r=S(t);if(!r.length)return t;const i=[];for(const e of r){i.push(e);const r=k(i);if(!n.has(r))return t}let o=k(i),s=n.get(o);for(;s?.initial;){const e=`${o}${I}${s.initial}`,t=n.get(e);if(!t)break;o=e,s=t}return o}function M(e,t){return E(e).has(t)}function N(e,t,n){const r=String(t);if(P(r)){const t=function(e){return P(e)?e.slice(1):e}(r),n=function(e,t){return E(e),C.get(e)?.get(t)}(e,t);return x(n,()=>`[zag-js] Unknown state id: "${t}"`),T(e,n)}if(function(e){return e.startsWith(I)}(r)&&n)return T(e,O(n,r.slice(1)));if(!function(e){return e.includes(I)}(r)&&n){const t=S(n);for(let n=t.length-1;n>=1;n--){const i=O(t.slice(0,n).join(I),r);if(M(e,i))return T(e,i)}if(M(e,r))return T(e,r)}return T(e,r)}var j=Object.defineProperty,D=(e,t,n)=>((e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),A=class e{constructor(){D(this,"id",null),D(this,"fn_cleanup"),D(this,"cleanup",()=>{this.cancel()})}static create(){return new e}request(e){this.cancel(),this.id=globalThis.requestAnimationFrame(()=>{this.id=null,this.fn_cleanup=e?.()})}cancel(){null!==this.id&&(globalThis.cancelAnimationFrame(this.id),this.id=null),this.fn_cleanup?.(),this.fn_cleanup=void 0}isActive(){return null!==this.id}};function K(e){const t=A.create();return t.request(e),t.cleanup}var L=n(5175);function V(e){const t=function(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}(e);return t?.[0]??e.target}var B=n(7865);var F=n(2706),_=e=>(0,F.sb)(e)&&"IFRAME"===e.tagName;function z(e,t){if(!t)return null;if(!0===t)return e.shadowRoot||null;const n=t(e);return(!0===n?e.shadowRoot:n)||null}var H="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='false']), details > summary:first-of-type";function $(e){return!(!(0,F.sb)(e)||e.closest("[inert]"))&&e.matches(H)&&(0,F.J9)(e)}function q(e,t={}){if(!e)return[];const{includeContainer:n,getShadowRoot:r}=t,i=Array.from(e.querySelectorAll(H));n&&W(e)&&i.unshift(e);const o=[];for(const e of i)if(W(e)){if(_(e)&&e.contentDocument){const t=e.contentDocument.body;o.push(...q(t,{getShadowRoot:r}));continue}o.push(e)}if(r){const e=function(e,t,n){const r=[...e],i=[...e],o=new Set,s=new Map;e.forEach((e,t)=>s.set(e,t));let a=0;for(;a<i.length;){const e=i[a++];if(!e||o.has(e))continue;o.add(e);const l=z(e,t);if(l){const t=Array.from(l.querySelectorAll(H)).filter(n),o=s.get(e);if(void 0!==o){const e=o+1;r.splice(e,0,...t),t.forEach((t,n)=>{s.set(t,e+n)});for(let n=e+t.length;n<r.length;n++)s.set(r[n],n)}else{const e=r.length;r.push(...t),t.forEach((t,n)=>{s.set(t,e+n)})}i.push(...t)}}return r}(o,r,W);return!e.length&&n?i:e}return!o.length&&n?i:o}function W(e){return!!((0,F.sb)(e)&&e.tabIndex>0)||!(!$(e)||(e=>function(e){const t=e.getAttribute("tabindex");return t?parseInt(t,10):NaN}(e)<0)(e))&&function(e){if(!function(e){return(0,F.B6)(e)&&"radio"===e.type}(e)||!e.name)return!0;if(e.checked)return!0;const t=`input[type="radio"][name="${CSS.escape(e.name)}"]`,n=e.form??e.ownerDocument,r=Array.from(n.querySelectorAll(t)).filter(t=>t.form===e.form&&$(t)),i=r.find(e=>e.checked);return i?i===e:r[0]===e}(e)}var X,U=e=>e.ids?.content??`collapsible:${e.id}:content`,G=e=>e.getById(U(e)),Y=(X={initialState:({prop:e})=>e("open")||e("defaultOpen")?"open":"closed",context:({bindable:e})=>({size:e(()=>({defaultValue:{height:0,width:0},sync:!0})),initial:e(()=>({defaultValue:!1}))}),refs:()=>({cleanup:void 0,stylesRef:void 0}),watch({track:e,prop:t,action:n}){e([()=>t("open")],()=>{n(["setInitial","computeSize","toggleVisibility"])})},exit:["cleanupNode"],states:{closed:{effects:["trackTabbableElements"],on:{"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{effects:["trackExitAnimation"],on:{"controlled.close":{target:"closed"},"controlled.open":{target:"open"},open:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],close:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"animation.end":{target:"closed",actions:["invokeOnExitComplete","clearInitial"]}}},open:{effects:["trackEnterAnimation"],on:{"controlled.close":{target:"closing"},close:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}],"size.measure":{actions:["measureSize"]},"animation.end":{actions:["clearInitial"]}}}},implementations:{guards:{isOpenControlled:({prop:e})=>null!=e("open")},effects:{trackEnterAnimation:({send:e,scope:t})=>{let n;const r=K(()=>{const r=G(t);if(!r)return;const i=(0,L.L)(r).animationName;if(!i||"none"===i)return void e({type:"animation.end"});const o=t=>{V(t)===r&&e({type:"animation.end"})};r.addEventListener("animationend",o),n=()=>{r.removeEventListener("animationend",o)}});return()=>{r(),n?.()}},trackExitAnimation:({send:e,scope:t})=>{let n;const r=K(()=>{const r=G(t);if(!r)return;const i=(0,L.L)(r).animationName;if(!i||"none"===i)return void e({type:"animation.end"});const o=t=>{V(t)===r&&e({type:"animation.end"})};r.addEventListener("animationend",o);const s=function(e,t){if(!e)return B.lQ;const n=Object.keys(t).reduce((t,n)=>(t[n]=e.style.getPropertyValue(n),t),{});return r=n,i=t,Object.keys(r).every(e=>r[e]===i[e])?B.lQ:(Object.assign(e.style,t),()=>{Object.assign(e.style,n),0===e.style.length&&e.removeAttribute("style")});var r,i}(r,{animationFillMode:"forwards"});n=()=>{r.removeEventListener("animationend",o),function(e){const t=new Set;function n(e){const n=globalThis.requestAnimationFrame(e);t.add(()=>globalThis.cancelAnimationFrame(n))}n(()=>n(e))}(()=>s())}});return()=>{r(),n?.()}},trackTabbableElements:({scope:e,prop:t})=>{if(!t("collapsedHeight")&&!t("collapsedWidth"))return;const n=G(e);if(!n)return;const r=()=>{const e=q(n).map(e=>function(e,t){const n=e.getAttribute(t),r=null!=n;return""===n?B.lQ:(e.setAttribute(t,""),()=>{r?e.setAttribute(t,n):e.removeAttribute(t)})}(e,"inert"));return()=>
1{e.forEach(e=>e())}};let i=r();const o=function(e,t){const{defer:n}=t,r=n?K:e=>e(),i=[];return i.push(r(()=>{const n="function"==typeof e?e():e;i.push(function(e,t){const{callback:n}=t;if(!e)return;const r=new(e.ownerDocument.defaultView||window).MutationObserver(n);return r.observe(e,{childList:!0,subtree:!0}),()=>r.disconnect()}(n,t))})),()=>{i.forEach(e=>e?.())}}(n,{callback(){i(),i=r()}});return()=>{i(),o()}}},actions:{setInitial:({context:e,flush:t})=>{t(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("stylesRef",null)},measureSize:({context:e,scope:t})=>{const n=G(t);if(!n)return;const{height:r,width:i}=n.getBoundingClientRect();e.set("size",{height:r,width:i})},computeSize:({refs:e,scope:t,context:n})=>{e.get("cleanup")?.();const r=K(()=>{const e=G(t);if(!e)return;const r=e.hidden;e.style.animationName="none",e.style.animationDuration="0s",e.hidden=!1;const i=e.getBoundingClientRect();n.set("size",{height:i.height,width:i.width}),n.get("initial")&&(e.style.animationName="",e.style.animationDuration=""),e.hidden=r});e.set("cleanup",r)},invokeOnOpen:({prop:e})=>{e("onOpenChange")?.({open:!0})},invokeOnClose:({prop:e})=>{e("onOpenChange")?.({open:!1})},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},toggleVisibility:({prop:e,send:t})=>{t({type:e("open")?"controlled.open":"controlled.close"})}}}},E(X),X),Z=n(9175),{floor:J,abs:Q,round:ee,min:te,max:ne,pow:re,sign:ie}=Math,oe=e=>"number"==typeof e?`${e}px`:e,se=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(se||{}),ae="__init__",le=n(5405);function ce(e){if(!(0,le.Qd)(e)||void 0===e)return e;const t=Reflect.ownKeys(e).filter(e=>"string"==typeof e),n={};for(const r of t){const t=e[r];void 0!==t&&(n[r]=ce(t))}return n}var ue=n(5795),de=n(8089),fe=void 0!==globalThis.document?l.useLayoutEffect:l.useEffect;function pe(e){const t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=(0,l.useState)(t),[i,o]=(0,l.useState)(r),s=void 0!==e().value,a=(0,l.useRef)(i);a.current=s?e().value:i;const c=(0,l.useRef)(a.current);return fe(()=>{c.current=a.current},[i,e().value]),{initial:r,ref:a,get:function(){return s?e().value:i},set(t){(e().sync?ue.flushSync:de.D_)(()=>(t=>{const r=c.current,i=(0,le.Tn)(t)?t(r):t;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:i,prev:r}),s||o(i),n(i,r)||e().onChange?.(i,r)})(t))},invoke(t,n){e().onChange?.(t,n)},hash:t=>e().hash?.(t)??String(t)}}pe.cleanup=e=>{(0,l.useEffect)(()=>e,[])},pe.ref=e=>{const t=(0,l.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};var ge=(e,t)=>{const n=(0,l.useRef)(!1),r=(0,l.useRef)(!1);(0,l.useEffect)(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(e=>"function"==typeof e?e():e)]),(0,l.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])};function me(e){const t=(0,l.useRef)(e);return t.current=e,t}function he(e){queueMicrotask(()=>{(0,ue.flushSync)(()=>e())})}var ve,ye=(ve=e=>e,new Proxy({},{get:(e,t)=>"style"===t?e=>({style:e}.style):ve})),be=(e={})=>{const{lazyMount:t,unmountOnExit:n,...r}=e,i=(0,l.useId)(),o=(0,l.useRef)(!1),{dir:s}=v(),{getRootNode:a}=(0,m.w)(),c={id:i,dir:s,getRootNode:a,...r},u=function(e,t){const{state:n,send:r,context:i,scope:o,prop:s}=e,a=n.matches("open")||n.matches("closing"),l=n.matches("open"),c=n.matches("closed"),{width:u,height:d}=i.get("size"),f=!!s("disabled"),p=s("collapsedHeight"),g=s("collapsedWidth"),m=null!=p,h=null!=g,v=m||h,y=!i.get("initial")&&l;return{disabled:f,visible:a,open:l,measureSize(){r({type:"size.measure"})},setOpen(e){n.matches("open")!==e&&r({type:e?"open":"close"})},getRootProps:()=>{return t.element({...Z.r.root.attrs,"data-state":l?"open":"closed",dir:s("dir"),id:(e=o,e.ids?.root??`collapsible:${e.id}`)});var e},getContentProps:()=>t.element({...Z.r.content.attrs,id:U(o),"data-collapsible":"","data-state":y?void 0:l?"open":"closed","data-disabled":(0,B.sE)(f),"data-has-collapsed-size":(0,B.sE)(v),hidden:!a&&!v,dir:s("dir"),style:{"--height":oe(d),"--width":oe(u),"--collapsed-height":oe(p),"--collapsed-width":oe(g),...c&&m&&{overflow:"hidden",minHeight:oe(p),maxHeight:oe(p)},...c&&h&&{overflow:"hidden",minWidth:oe(g),maxWidth:oe(g)}}}),getTriggerProps:()=>{return t.element({...Z.r.trigger.attrs,id:(e=o,e.ids?.trigger??`collapsible:${e.id}:trigger`),dir:s("dir"),type:"button","data-state":l?"open":"closed","data-disabled":(0,B.sE)(f),"aria-controls":U(o),"aria-expanded":a||!1,onClick(e){e.defaultPrevented||f||r({type:l?"close":"open"})}});var e},getIndicatorProps:()=>t.element({...Z.r.indicator.attrs,dir:s("dir"),"data-state":l?"open":"closed","data-disabled":(0,B.sE)(f)})}}(function(e,t={}){const n=(0,l.useMemo)(()=>{const{id:e,ids:n,getRootNode:r}=t;return function(e){const t=()=>e.getRootNode?.()??document,n=()=>(0,F.YE)(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>(0,F.bq)(t()),isActiveElement:F.X7,getById:e=>t().getElementById(e)}}({id:e,ids:n,getRootNode:r})},[t]),r=(...t)=>{e.debug&&console.log(...t)},i=function(e){const t=me(e);return function(e){return t.current[e]}}(e.props?.({props:ce(t),scope:n})??t),o=e.context?.({prop:i,bindable:pe,scope:n,flush:he,getContext:()=>a,getComputed:()=>k,getRefs:()=>m,getEvent:()=>p()}),s=me(o),a={get:e=>s.current?.[e].ref.current,set(e,t){s.current?.[e].set(t)},initial:e=>s.current?.[e].initial,hash(e){const t=s.current?.[e].get();return s.current?.[e].hash(t)}},c=(0,l.useRef)(new Map),u=(0,l.useRef)(null),d=(0,l.useRef)(null),f=(0,l.useRef)({type:""}),p=()=>({...f.current,current:()=>f.current,previous:()=>d.current}),g=()=>({...P,matches:(...e)=>e.some(e=>function(e,t){return!!e&&(e===t||e.startsWith(`${t}${I}`))}(P.ref.current,e)),hasTag:t=>function(e,t,n){return R(e,t).some(e=>e.state.tags?.includes(n))}(e,P.ref.current,t)}),m=function(e){const t=(0,l.useRef)(e);return{get:e=>t.current[e],set(e,n){t.current[e]=n}}}(e.refs?.({prop:i,context:a})??{}),h=()=>({state:g(),context:a,event:p(),prop:i,send:T,action:v,guard:b,track:ge,refs:m,computed:k,flush:he,scope:n,choose:C}),v=t=>{const n=(0,le.Tn)(t)?t(h()):t;if(!n)return;const r=n.map(t=>{const n=e.implementations?.actions?.[t];return n||y(`[zag-js] No implementation found for action "${JSON.stringify(t)}"`),n});for(const e of r)e?.(h())},b=t=>(0,le.Tn)(t)?t(h()):e.implementations?.guards?.[t](h()),w=t=>{const n=(0,le.Tn)(t)?t(h()):t;if(!n)return;const r=n.map(t=>{const n=e.implementations?.effects?.[t];return n||y(`[zag-js] No implementation found for effect "${JSON.stringify(t)}"`),n}),i=[];for(const e of r){const t=e?.(h());t&&i.push(t)}return()=>
1i.forEach(e=>e?.())},C=e=>{return(t=e,null==t?[]:Array.isArray(t)?t:[t]).find(e=>{let t=!e.guard;return(0,le.Kg)(e.guard)?t=!!b(e.guard):(0,le.Tn)(e.guard)&&(t=e.guard(h())),t});var t},k=t=>(x(e.computed,()=>"[zag-js] No computed object found on machine"),(0,e.computed[t])({context:a,event:p(),prop:i,refs:m,scope:n,computed:k})),P=pe(()=>({defaultValue:N(e,e.initialState({prop:i})),onChange(t,n){const{exiting:r,entering:i}=function(e,t,n,r){const i=t?R(e,t):[],o=R(e,n);let s=0;for(;s<i.length&&s<o.length&&i[s]?.path===o[s]?.path;)s+=1;let a=i.slice(s).reverse(),l=o.slice(s);const c=i.at(-1)?.path===o.at(-1)?.path;return r&&c&&(a=i.slice().reverse(),l=o),{exiting:a,entering:l}}(e,n,t,u.current?.reenter);if(r.forEach(e=>{const t=c.current.get(e.path);t?.(),c.current.delete(e.path)}),r.forEach(e=>{v(e.state?.exit)}),v(u.current?.actions),i.forEach(e=>{const t=w(e.state?.effects);t&&c.current.set(e.path,t)}),n===ae){v(e.entry);const t=w(e.effects);t&&c.current.set(ae,t)}i.forEach(e=>{v(e.state?.entry)})}})),O=(0,l.useRef)(void 0),E=(0,l.useRef)(se.NotStarted);fe(()=>{queueMicrotask(()=>{const e=E.current===se.Started;E.current=se.Started,r(e?"rehydrating...":"initializing...");const t=O.current??P.initial;P.invoke(t,e?P.get():ae)});const t=c.current;return()=>{const n=S();r("unmounting..."),O.current=n,E.current=se.Stopped,t.forEach(e=>e?.()),c.current=new Map,u.current=null,queueMicrotask(()=>{v(e.exit),E.current=se.Stopped})}},[]);const S=()=>"ref"in P?P.ref.current:P.get(),T=t=>{queueMicrotask(()=>{if(E.current!==se.Started)return;d.current=f.current,f.current=t;let n=S();const{transitions:i,source:o}=function(e,t,n){const r=R(e,t);for(let e=r.length-1;e>=0;e--){const t=r[e]?.state.on,i=t?.[n];if(i)return{transitions:i,source:r[e]?.path}}const i=e.on;return{transitions:i?.[n],source:void 0}}(e,n,t.type),s=C(i);if(!s)return;u.current=s;const a=N(e,s.target??n,o);r("transition",t.type,s.target||n,`(${s.actions})`),a!==n?(0,ue.flushSync)(()=>P.set(a)):s.reenter?P.invoke(n,n):v(s.actions??[])})};return e.watch?.(h()),{state:g(),send:T,context:a,prop:i,scope:n,refs:m,computed:k,event:p(),getStatus:()=>E.current}}(Y,c),ye);u.visible&&(o.current=!0);const d=!u.visible&&!o.current&&t||n&&!u.visible&&o.current;return{...u,isUnmounted:d}},xe=(0,l.forwardRef)((e,t)=>{const[n,r]=(e=>(0,g.P)()(e,["collapsedHeight","collapsedWidth","defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]))(e),o=be(n),a=(0,c.v)(o.getRootProps(),r);return(0,u.jsx)(s,{value:o,children:(0,u.jsx)(i.X.div,{...a,ref:t})})});xe.displayName="CollapsibleRoot";var Ie=(0,g.P)(),we=(0,l.forwardRef)((e,t)=>{const[{value:n},r]=Ie(e,["value"]),o=(0,c.v)(n.getRootProps(),r);return(0,u.jsx)(s,{value:n,children:(0,u.jsx)(i.X.div,{...o,ref:t})})});we.displayName="CollapsibleRootProvider";var Ce=(0,l.forwardRef)((e,t)=>{const n=(0,c.v)(a().getTriggerProps(),e);return(0,u.jsx)(i.X.button,{...n,ref:t})});Ce.displayName="CollapsibleTrigger";var ke=(0,r.I)({Content:()=>d,Context:()=>f,Indicator:()=>p,Root:()=>xe,RootProvider:()=>we,Trigger:()=>Ce}),Pe=n(285);const{withProvider:Oe,withContext:Ee,useStyles:Se,PropsProvider:Re}=(0,Pe.c)({key:"collapsible"}),Te=(Oe(ke.RootProvider,"root",{forwardAsChild:!0}),Oe(ke.Root,"root",{forwardAsChild:!0})),Me=(Ee(ke.Trigger,"trigger",{forwardAsChild:!0}),Ee(ke.Content,"content",{forwardAsChild:!0}));Ee(ke.Indicator,"indicator",{forwardAsChild:!0}),ke.Context},5374:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,z:()=>r});const r=Object.freeze({}),i=Object.freeze({})},5579:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(2406),i=n(58);const{withContext:o,PropsProvider:s}=(0,i.a)({key:"input"}),a=o(r.V.Input)},5643:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,f:()=>o});var r=n(4539),[i,o]=(0,r.q)({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1})},5821:(e,t,n)=>{e.exports=n(7265)()},6245:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(9907).B)("span");r.displayName="Span"},6395:(e,t,n)=>{"use strict";n.d(t,{Y:()=>c});var r=n(790),i=n(1609),o=n(9907),s=n(2774),a=n(7990);const l=(0,o.B)("div",{base:{display:"inline-flex",gap:"var(--group-gap, 0.5rem)",isolation:"isolate",position:"relative","& [data-group-item]":{_focusVisible:{zIndex:1}}},variants:{orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}},attached:{true:{gap:"0!"}},grow:{true:{display:"flex","& > *":{flex:1}}},stacking:{"first-on-top":{"& > [data-group-item]":{zIndex:"calc(var(--group-count) - var(--group-index))"}},"last-on-top":{"& > [data-group-item]":{zIndex:"var(--group-index)"}}}},compoundVariants:[{orientation:"horizontal",attached:!0,css:{"& > *[data-first]":{borderEndRadius:"0!",marginEnd:"-1px"},"& > *[data-between]":{borderRadius:"0!",marginEnd:"-1px"},"& > *[data-last]":{borderStartRadius:"0!"}}},{orientation:"vertical",attached:!0,css:{"& > *[data-first]":{borderBottomRadius:"0!",marginBottom:"-1px"},"& > *[data-between]":{borderRadius:"0!",marginBottom:"-1px"},"& > *[data-last]":{borderTopRadius:"0!"}}}],defaultVariants:{orientation:"horizontal"}}),c=(0,i.memo)((0,i.forwardRef)(function(e,t){const{align:n="center",justify:o="flex-start",children:c,wrap:u,skip:d,...f}=e,p=(0,i.useMemo)(()=>{let e=i.Children.toArray(c).filter(i.isValidElement);if(1===e.length)return e;const t=e.filter(e=>!d?.(e)),n=t.length;return 1===t.length?e:e.map(e=>{const r=e.props;if(d?.(e))return e;const o=t.indexOf(e);return(0,i.cloneElement)(e,{...r,"data-group-item":"","data-first":(0,s.s)(0===o),"data-last":(0,s.s)(o===n-1),"data-between":(0,s.s)(o>0&&o<n-1),style:{"--group-count":n,"--group-index":o,...r?.style??{}}})})},[c,d]);return(0,r.jsx)(l,{ref:t,alignItems:n,justifyContent:o,flexWrap:u,...f,className:(0,a.cx)("chakra-group",e.className),children:p})}));c.displayName="Group"},6669:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},7265:(e,t,n)=>{"use strict";var r=n(3034);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if
1(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7443:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}n.d(t,{Bp:()=>ke});var o=n(5821),s=n(1609),a=n.t(s,2);n(2737);const l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,c=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,u=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return c(n.overflowY,t)||c(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},d=(e,t,n,r,i,o,s,a)=>o<e&&s>t||o>e&&s<t?0:o<=e&&a<=n||s>=t&&a>=n?o-e-r:s>t&&a<n||o<e&&a>n?s-t+i:0,f=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var p=0;function g(){return String(p++)}function m(e){var t=s.useRef(e);return t.current=e,t}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function y(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];r(),n=setTimeout(function(){n=null,e.apply(void 0,o)},t)}return i.cancel=r,i}var b=y(function(e){x(e).textContent=""},500);function x(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}function I(){}var w=I;function C(e,t){return t?Object.keys(e).reduce(function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e},i({},e)):e}function k(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var s=e;s>=0;s--)if(!r(n[s],s))return s}else for(var a=e;a<o;a++)if(!r(n[a],a))return a;return i?k(t?o-1:0,t,n,r):-1}function P(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var s=o-1;("number"!=typeof e||e<0||e>s)&&(e=t>0?-1:s+1);var a=e+t;a<0?a=i?s:0:a>s&&(a=i?0:s);var l=k(a,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function O(e,t,n,r){return void 0===r&&(r=!0),!!n&&t.some(function(t){return t&&(E(t,e,n)||r&&E(t,n.document.activeElement,n))})}function E(e,t,n){return e===t||t instanceof n.Node&&e.contains(t)}function S(e,t,n,r,o){if(o[e]!==r[e]){var s,a=n["on"+(s=e).slice(0,1).toUpperCase()+s.slice(1)+"Change"];"function"==typeof a&&a(i({type:t.type},o))}}function R(e,t,n,r){var o=s.useRef({}),a=s.useRef(),l=s.useCallback(function(t,n){a.current=n,t=C(t,n.props);var r=e(t,n),o=n.props.stateReducer(t,i({},n,{changes:r}));return i({},t,o)},[e]),c=s.useReducer(l,t,n),u=c[0],d=c[1],f=m(t),p=s.useCallback(function(e){return d(i({},e,{props:f.current}))},[f]),g=a.current;return s.useEffect(function(){var e=C(o.current,null==g?void 0:g.props);g&&!r(e,u)&&function(e,t,n,r){for(var o=e.type,s={},a=0,l=Object.keys(n);a<l.length;a++){var c=l[a];S(c,e,t,n,r),r[c]!==n[c]&&(s[c]=r[c])}"function"==typeof t.onStateChange&&Object.keys(s).length&&t.onStateChange(i({type:o}
1,s))}(g,g.props,e,u),o.current=u},[u,g,r]),[u,p]}function T(){var e=s.useRef(!0);return s.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}var M={environment:o.shape({addEventListener:o.func.isRequired,removeEventListener:o.func.isRequired,document:o.shape({createElement:o.func.isRequired,getElementById:o.func.isRequired,activeElement:o.any.isRequired,body:o.any.isRequired}).isRequired,Node:o.func.isRequired}),itemToKey:o.func,stateReducer:o.func};function N(e,t){return void 0===e?t:e}function j(e,t,n,r){return void 0!==e?e:void 0!==t?t:void 0!==n?n:r}var D=y(function(e,t){!function(e,t){e&&t&&(x(t).textContent=e,b(t))}(e,t)},200);var A=i({},M,{getA11yStatusMessage:o.func,highlightedIndex:o.number,defaultHighlightedIndex:o.number,initialHighlightedIndex:o.number,isOpen:o.bool,defaultIsOpen:o.bool,initialIsOpen:o.bool,selectedItem:o.any,initialSelectedItem:o.any,defaultSelectedItem:o.any,id:o.string,labelId:o.string,menuId:o.string,getItemId:o.func,toggleButtonId:o.string,onSelectedItemChange:o.func,onHighlightedIndexChange:o.func,onStateChange:o.func,onIsOpenChange:o.func,scrollIntoView:o.func}),K={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},isItemDisabled:function(e){return!1},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:s,block:a,inline:c,boundary:p,skipOverflowHiddenElements:g}=t,m="function"==typeof p?p:e=>e!==p;if(!l(e))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,v=[];let y=e;for(;l(y)&&m(y);){if(y=f(y),y===h){v.push(y);break}null!=y&&y===document.body&&u(y)&&!u(document.documentElement)||null!=y&&u(y,g)&&v.push(y)}const b=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,x=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:I,scrollY:w}=window,{height:C,width:k,top:P,right:O,bottom:E,left:S}=e.getBoundingClientRect(),{top:R,right:T,bottom:M,left:N}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let j="start"===a||"nearest"===a?P-R:"end"===a?E+M:P+C/2-R+M,D="center"===c?S+k/2-N+T:"end"===c?O+T:S-N;const A=[];for(let e=0;e<v.length;e++){const t=v[e],{height:n,width:r,top:i,right:o,bottom:l,left:f}=t.getBoundingClientRect();if("if-needed"===s&&P>=0&&S>=0&&E<=x&&O<=b&&(t===h&&!u(t)||P>=i&&E<=l&&S>=f&&O<=o))return A;const p=getComputedStyle(t),g=parseInt(p.borderLeftWidth,10),m=parseInt(p.borderTopWidth,10),y=parseInt(p.borderRightWidth,10),R=parseInt(p.borderBottomWidth,10);let T=0,M=0;const N="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-y:0,K="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-R:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,V="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)T="start"===a?j:"end"===a?j-x:"nearest"===a?d(w,w+x,x,m,R,w+j,w+j+C,C):j-x/2,M="start"===c?D:"center"===c?D-b/2:"end"===c?D-b:d(I,I+b,b,g,y,I+D,I+D+k,k),T=Math.max(0,T+w),M=Math.max(0,M+I);else{T="start"===a?j-i-m:"end"===a?j-l+R+K:"nearest"===a?d(i,l,n,m,R+K,j,j+C,C):j-(i+n/2)+K/2,M="start"===c?D-f-g:"center"===c?D-(f+r/2)+N/2:"end"===c?D-o+y+N:d(f,o,r,g,y+N,D,D+k,k);const{scrollLeft:e,scrollTop:s}=t;T=0===V?0:Math.max(0,Math.min(s+T/V,t.scrollHeight-n/V+K)),M=0===L?0:Math.max(0,Math.min(e+M/L,t.scrollWidth-r/L+N)),j+=s-T,D+=e-M}A.push({el:t,top:T,left:M})}return A})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})}},environment:"undefined"==typeof window?void 0:window},L={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},V=i({},a).useId,B="function"==typeof V?function(e){var t=e.id,n=e.labelId,r=e.menuId,i=e.getItemId,o=e.toggleButtonId,a=e.inputId,l="downshift-"+V();return t||(t=l),s.useMemo(function(){return{labelId:null!=n?n:t+"-label",menuId:null!=r?r:t+"-menu",getItemId:null!=i?i:function(e){return t+"-item-"+e},toggleButtonId:null!=o?o:t+"-toggle-button",inputId:null!=a?a:t+"-input"}},[i,t,a,n,r,o])}:function(e){var t=e.id,n=e.labelId,r=e.menuId,i=e.getItemId,o=e.toggleButtonId,a=e.inputId,l=s.useRef(null!=t?t:"downshift-"+g()).current;return s.useMemo(function(){return{labelId:null!=n?n:l+"-label",menuId:null!=r?r:l+"-menu",getItemId:null!=i?i:function(e){return l+"-item-"+e},toggleButtonId:null!=o?o:l+"-toggle-button",inputId:null!=a?a:l+"-input"}},[i,a,n,r,o,l])};function F(e,t,n){var r=N(n,L.highlightedIndex);return e[r]&&t(e[r],r)?-1:r}function _(e,t,n,r,o,s){return i({isOpen:!1,highlightedIndex:-1},e.length&&o>=0&&i({selectedItem:e[o],isOpen:N(n,L.isOpen),highlightedIndex:N(r,L.highlightedIndex)},s&&{inputValue:t(e[o])}
1))}function z(e,t,n,r,i,o,s,a){return 0===e.length?-1:void 0===t||s!==t||-1!==t&&(void 0===e[t]||r(e[t],t))?void 0===n||-1!==n&&(void 0===e[n]||r(e[n],n))?o?e.findIndex(function(e){return i(o)===i(e)}):a<0&&e[e.length-1]&&!r(e[e.length-1],e.length-1)?e.length-1:a>0&&e[0]&&!r(e[0],0)?0:-1:n:t}var H=I;var $=function(){return I},q="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect;function W(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function X(e){var t=function(e){var t=j(e.selectedItem,e.initialSelectedItem,e.defaultSelectedItem,L.selectedItem),n=j(e.isOpen,e.initialIsOpen,e.defaultIsOpen,L.isOpen),r=function(e){var t=j(e.highlightedIndex,e.initialHighlightedIndex,e.defaultHighlightedIndex,L.highlightedIndex);return t>-1&&e.items[t]&&e.isItemDisabled(e.items[t],t)?-1:t}(e),i=j(e.inputValue,e.initialInputValue,e.defaultInputValue,L.inputValue);return{highlightedIndex:r<0&&t&&n?e.items.findIndex(function(n){return e.itemToKey(n)===e.itemToKey(t)}):r,isOpen:n,selectedItem:t,inputValue:i}}(e),n=t.selectedItem,r=t.inputValue;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),i({},t,{inputValue:r})}i({},A,{items:o.array.isRequired,isItemDisabled:o.func});var U=0,G=1,Y=2,Z=3,J=4,Q=5,ee=6,te=7,ne=8,re=9,ie=10,oe=11,se=12,ae=13,le=14,ce=15,ue=16,de=17,fe=18,pe=19,ge=20,me=21,he=22,ve=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:he,FunctionCloseMenu:de,FunctionOpenMenu:ue,FunctionReset:me,FunctionSelectItem:pe,FunctionSetHighlightedIndex:fe,FunctionSetInputValue:ge,FunctionToggleMenu:ce,InputBlur:re,InputChange:ne,InputClick:ie,InputKeyDownArrowDown:U,InputKeyDownArrowUp:G,InputKeyDownEnd:J,InputKeyDownEnter:te,InputKeyDownEscape:Y,InputKeyDownHome:Z,InputKeyDownPageDown:ee,InputKeyDownPageUp:Q,ItemClick:ae,ItemMouseMove:se,MenuMouseLeave:oe,ToggleButtonClick:le}),ye=i({},A,{items:o.array.isRequired,isItemDisabled:o.func,inputValue:o.string,defaultInputValue:o.string,initialInputValue:o.string,inputId:o.string,onInputValueChange:o.func});function be(e,t){var n,r=t.type,o=t.props;switch(r){case ae:n={isOpen:N(o.defaultIsOpen,L.isOpen),highlightedIndex:F(o.items,o.isItemDisabled,o.defaultHighlightedIndex),selectedItem:o.items[t.index],inputValue:o.itemToString(o.items[t.index])};break;case U:n=e.isOpen?{highlightedIndex:P(e.highlightedIndex,1,o.items,o.isItemDisabled,!0)}:{highlightedIndex:t.altKey&&null==e.selectedItem?-1:z(o.items,o.initialHighlightedIndex,o.defaultHighlightedIndex,o.isItemDisabled,o.itemToKey,e.selectedItem,e.highlightedIndex,1),isOpen:o.items.length>=0};break;case G:n=e.isOpen?t.altKey?_(o.items,o.itemToString,o.defaultIsOpen,o.defaultHighlightedIndex,e.highlightedIndex,!0):{highlightedIndex:P(e.highlightedIndex,-1,o.items,o.isItemDisabled,!0)}:{highlightedIndex:z(o.items,o.initialHighlightedIndex,o.defaultHighlightedIndex,o.isItemDisabled,o.itemToKey,e.selectedItem,e.highlightedIndex,-1),isOpen:o.items.length>=0};break;case te:n=_(o.items,o.itemToString,o.defaultIsOpen,o.defaultHighlightedIndex,e.highlightedIndex,!0);break;case Y:n=i({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case Q:n={highlightedIndex:P(e.highlightedIndex,-10,o.items,o.isItemDisabled,!0)};break;case ee:n={highlightedIndex:P(e.highlightedIndex,10,o.items,o.isItemDisabled,!0)};break;case Z:n={highlightedIndex:k(0,!1,o.items,o.isItemDisabled)};break;case J:n={highlightedIndex:k(o.items.length-1,!0,o.items,o.isItemDisabled)};break;case re:n=i({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&o.items.length&&t.selectItem&&{selectedItem:o.items[e.highlightedIndex],inputValue:o.itemToString(o.items[e.highlightedIndex])});break;case ne:n={isOpen:!0,highlightedIndex:F(o.items,o.isItemDisabled,o.defaultHighlightedIndex),inputValue:t.inputValue};break;case ie:n={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:z(o.items,o.initialHighlightedIndex,o.defaultHighlightedIndex,o.isItemDisabled,o.itemToKey,e.selectedItem,e.highlightedIndex,0)};break;case pe:n={selectedItem:t.selectedItem,inputValue:o.itemToString(t.selectedItem)};break;case he:n={inputValue:t.inputValue};break;default:return function(e,t,n,r){var o;switch(n.type){case r.ItemMouseMove:o={highlightedIndex:n.disabled?-1:n.index};break;case r.MenuMouseLeave:o={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:o={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:z(t.items,t.initialHighlightedIndex,t.defaultHighlightedIndex,t.isItemDisabled,t.itemToKey,e.selectedItem,e.highlightedIndex,0)};break;case r.FunctionOpenMenu:o={isOpen:!0,highlightedIndex:z(t.items,t.initialHighlightedIndex,t.defaultHighlightedIndex,t.isItemDisabled,t.itemToKey,e.selectedItem,e.highlightedIndex,0)};break;case r.FunctionCloseMenu:o={isOpen:!1};break;case r.FunctionSetHighlightedIndex:var s=n.highlightedIndex;
1o={highlightedIndex:t.isItemDisabled(t.items[s],s)?-1:s};break;case r.FunctionSetInputValue:o={inputValue:n.inputValue};break;case r.FunctionReset:o={highlightedIndex:F(t.items,t.isItemDisabled,t.defaultHighlightedIndex),isOpen:N(t.defaultIsOpen,L.isOpen),selectedItem:N(t.defaultSelectedItem,L.selectedItem),inputValue:N(t.defaultInputValue,L.inputValue)};break;default:throw new Error("Reducer called without proper action type.")}return i({},e,o)}(e,o,t,ve)}return i({},e,n)}var xe=["onMouseLeave","refKey","ref","aria-label"],Ie=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],we=["onClick","onPress","refKey","ref"],Ce=["aria-label","onKeyDown","onChange","onInput","onBlur","onChangeText","onClick","refKey","ref"];function ke(e){void 0===e&&(e={}),w(e,ke,ye);var t=i({},K,e),n=t.items,o=t.scrollIntoView,a=t.environment,l=t.getA11yStatusMessage,c=function(e,t,n,r){var i=(0,s.useRef)(null),o=R(e,t,n,r),a=o[0],l=o[1],c=T();return(0,s.useEffect)(function(){void 0!==t.selectedItem&&(c||t.itemToKey(t.selectedItem)!==t.itemToKey(i.current)&&l({type:he,inputValue:t.itemToString(t.selectedItem)}),i.current=a.selectedItem===i.current?t.selectedItem:a.selectedItem)},[a.selectedItem,t.selectedItem]),[C(a,t),l]}(be,t,X,W),u=c[0],d=c[1],f=u.isOpen,p=u.highlightedIndex,g=u.selectedItem,y=u.inputValue,b=(0,s.useRef)(null),x=(0,s.useRef)({}),k=(0,s.useRef)(null),P=(0,s.useRef)(null),E=T(),S=B(t),M=(0,s.useRef)(),N=m({state:u,props:t});!function(e,t,n,r){var i=null==r?void 0:r.document,o=T();s.useEffect(function(){if(e&&!o&&i){var n=e(t);D(n,i)}},n),s.useEffect(function(){return function(){D.cancel(),function(e){var t=null==e?void 0:e.getElementById("a11y-status-message");t&&t.remove()}(i)}},[i])}(l,u,[f,p,g,y],a);var A=function(e,t,n,r,i,o){var a=s.useRef(!0);return q(function(){if(!(t<0)&&n&&Object.keys(i).length)if(a.current){var s=i[o(t)];s&&r&&e(s,r)}else a.current=!0},[t]),s.useCallback(function(){a.current=!1},[])}(o,p,f,b.current,x.current,S.getItemId);H({state:u,props:t}),(0,s.useEffect)(function(){j(t.isOpen,t.initialIsOpen,t.defaultIsOpen,L.isOpen)&&k.current&&k.current.focus()},[]),(0,s.useEffect)(function(){E||(M.current=n.length)});var V=(0,s.useCallback)(function(){N.current.state.isOpen&&d({type:re})},[d,N]),F=(0,s.useMemo)(function(){return[b,P,k]},[]),_=function(e,t,n){var r=s.useRef({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1}),i=s.useCallback(function(){return n.map(function(e){return e.current})},[n]);return s.useEffect(function(){if(!e)return I;function n(){r.current.isTouchEnd=!1,r.current.isMouseDown=!0}function o(n){r.current.isMouseDown=!1,O(n.target,i(),e)||t()}function s(){r.current.isTouchEnd=!1,r.current.isTouchMove=!1}function a(){r.current.isTouchMove=!0}function l(n){r.current.isTouchEnd=!0,r.current.isTouchMove||O(n.target,i(),e,!1)||t()}return e.addEventListener("mousedown",n),e.addEventListener("mouseup",o),e.addEventListener("touchstart",s),e.addEventListener("touchmove",a),e.addEventListener("touchend",l),function(){e.removeEventListener("mousedown",n),e.removeEventListener("mouseup",o),e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",a),e.removeEventListener("touchend",l)}},[e,i,t]),r.current}(a,V,F),z=$("getInputProps","getMenuProps");(0,s.useEffect)(function(){f||(x.current={})},[f]),(0,s.useEffect)(function(){var e;f&&null!=a&&a.document&&null!=(e=k.current)&&e.focus&&a.document.activeElement!==k.current&&k.current.focus()},[f,a]);var ve=(0,s.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),d({type:U,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),d({type:G,altKey:e.altKey})},Home:function(e){N.current.state.isOpen&&(e.preventDefault(),d({type:Z}))},End:function(e){N.current.state.isOpen&&(e.preventDefault(),d({type:J}))},Escape:function(e){var t=N.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),d({type:Y}))},Enter:function(e){N.current.state.isOpen&&229!==e.which&&(e.preventDefault(),d({type:te}))},PageUp:function(e){N.current.state.isOpen&&(e.preventDefault(),d({type:Q}))},PageDown:function(e){N.current.state.isOpen&&(e.preventDefault(),d({type:ee}))}}},[d,N]),Pe=(0,s.useCallback)(function(e){return i({id:S.labelId,htmlFor:S.inputId},e)},[S]),Oe=(0,s.useCallback)(function(e,t){var n,o=null!=e?e:{},s=o.onMouseLeave,a=o.refKey,l=void 0===a?"ref":a,c=o.ref,u=o["aria-label"],f=r(o,xe),p=(null!=t?t:{}).suppressRefError;return z("getMenuProps",void 0!==p&&p,l,b),i(((n={})[l]=h(c,function(e){b.current=e}),n.id=S.menuId,n.role="listbox",n["aria-label"]=u,n["aria-labelledby"]=u?void 0:""+S.labelId,n.onMouseLeave=v(s,function(){d({type:oe})}),n),f)},[d,z,S]),Ee=(0,s.useCallback)(function(e){var t,n,o=null!=e?e:{},s=o.item,a=o.index,l=o.refKey,c=void 0===l?"ref":l,u=o.ref,f=o.onMouseMove,p=o.onMouseDown,g=o.onClick;o.onPress;var m=o.disabled,y=r(o,Ie);void 0!==m&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');var b=N.current,I=b.props,w=b.state,C=function(e,t,n,r){if(void 0!==e&&void 0!==t)return[e,t];if(void 0!==e){if(n.indexOf(e)<0)throw new Error(r);return[e,n.indexOf(e)]}if(void 0!==t){var i=n[t];if(void 0===i)throw new Error(r);return[i,t]}throw new Error(r)}(s,a,I.items,"Pass either item or index to getItemProps!"),k=C[0],P=C[1],O=I.isItemDisabled(k,P),E=g;return i(((t={})[c]=h(u,function(e){e&&(x.current[S.getItemId(P)]=e)}),t["aria-disabled"]=O,t["aria-selected"]=P===w.highlightedIndex,t.id=S.getItemId(P),t.role="option",t),!O&&((n={}).onClick=v(E,function(){d({type:ae,index:P})}),n),{onMouseMove:v(f,function(){_.isTouchEnd||P===w.highlightedIndex||(A(),d({type:se,index:P,disabled:O}))}),onMouseDown:v(p,function(e){return e.preventDefault()})},y)},[d,S,N,_,A]),Se=(0,s.useCallback)(function(e){var t,n=null!=e?e:{},o=n.onClick;n.onPress;var s=n.refKey,a=void 0===s?"ref":s,l=n.ref,c=r(n,we),u=N.current.state;return i(((t={})[a]=h(l,function(e){P.current=e}),t["aria-controls"]=S.menuId,t["aria-expanded"]=u.isOpen,t.id=S.toggleButtonId,t.tabIndex=-1,t),!c.disabled&&i({},{onClick:v(o,function(){d({type:le})})}),c)},[d,N,S]),Re=(0,s.useCallback)(function(e,t){var n,o=null!=e?e:{},s=o["aria-label"],l=o.onKeyDown,c=o.onChange,u=o.onInput,f=o.onBlur;o.onChangeText;var p=o.onClick,g=o.refKey,m=void 0===g?"ref":g,y=o.ref,b=r(o,Ce),x=(null!=t?t:{}).suppressRefError;z("getInputProps",void 0!==x&&x,m,k);var I,w=N.current.state,C={};return b.disabled||((I={}).onChange=v(c,u,function(e){d({type:ne,inputValue:e.target.value})}),I.onKeyDown=v(l,function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&!t.startsWith("Arrow")?"Arrow"+t:t}(e);t&&t in ve&&ve[t](e)}),I.onBlur=v(f,function(e){if(null!=a&&a.document&&w.isOpen&&!_.isMouseDown){var t=null===e.relatedTarget&&a.document.activeElement!==a.document.body;d({type:re,selectItem:!t})}}),I.onClick=v(p,function(){d({type:ie})}),C=I),i(((n={})[m]=h(y,function(e){k.current=e}),n["aria-activedescendant"]=w.isOpen&&w.highlightedIndex>-1?S.getItemId(w.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=S.menuId,n["aria-expanded"]=w.isOpen,n["aria-labelledby"]=s?void 0:S.labelId,n["aria-label"]=s,n.autoComplete="off",n.id=S.inputId,n.role="combobox",n.value=w.inputValue,n),C,b)},[d,S,a,ve,N,_,z]),Te=(0,s.useCallback)(function(){d({type:ce})},[d]),Me=(0,s.useCallback)(function(){d({type:de})},[d]),Ne=(0,s.useCallback)(function(){d({type:ue})},[d]),je=(0,s.useCallback)(function(e){d({type:fe,highlightedIndex:e})},[d]),De=(0,s.useCallback)(function(e){d({type:pe,selectedItem:e})},[d]);
1return{getItemProps:Ee,getLabelProps:Pe,getMenuProps:Oe,getInputProps:Re,getToggleButtonProps:Se,toggleMenu:Te,openMenu:Ne,closeMenu:Me,setHighlightedIndex:je,setInputValue:(0,s.useCallback)(function(e){d({type:ge,inputValue:e})},[d]),selectItem:De,reset:(0,s.useCallback)(function(){d({type:me})},[d]),highlightedIndex:p,isOpen:f,selectedItem:g,inputValue:y}}ke.stateChangeTypes=ve,A.stateReducer,A.itemToKey,A.environment,o.array,o.array,o.array,o.func,o.number,o.number,o.number,o.func,o.func,o.string,o.string,K.itemToKey,K.stateReducer,K.environment;var Pe=Object.freeze({__proto__:null,FunctionAddItem:6,TagClick:0,TagGroupKeyDownArrowLeft:1,TagGroupKeyDownArrowRight:2,TagGroupKeyDownBackspace:4,TagGroupKeyDownDelete:3,TagRemoveClick:5});function Oe(e,t){var n;switch(t.type){case 0:n={activeIndex:t.index};break;case 1:n={activeIndex:0===e.activeIndex?e.items.length-1:e.activeIndex-1};break;case 2:n={activeIndex:e.activeIndex===e.items.length-1?0:e.activeIndex+1};break;case 4:case 3:var r=[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),o=0===r.length?-1:r.length===e.activeIndex?e.activeIndex-1:e.activeIndex;n={items:[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),activeIndex:o};break;case 5:var s=[].concat(e.items.slice(0,t.index),e.items.slice(t.index+1));n={items:s,activeIndex:0===s.length?-1:s.length===t.index?t.index-1:t.index};break;case 6:var a;n={items:a=void 0===t.index?[].concat(e.items,[t.item]):[].concat(e.items.slice(0,t.index),[t.item],e.items.slice(t.index)),activeIndex:-1===e.activeIndex?a.length-1:e.activeIndex};break;default:throw new Error("Invalid useTagGroup reducer action.")}return i({},e,n)}var Ee=i({},a).useId,Se="function"==typeof Ee?function(e){var t=e.id,n=e.tagGroupId,r=e.getTagId,i="downshift-"+Ee();return t||(t=i),s.useMemo(function(){return{tagGroupId:null!=n?n:t+"-tag-group",getTagId:null!=r?r:function(e){return t+"-tag-"+e}}},[r,t,n])}:function(e){var t=e.id,n=e.getTagId,r=e.tagGroupId,i=s.useRef(null!=t?t:"downshift-"+g()).current;return s.useMemo(function(){return{tagGroupId:null!=r?r:i+"-tag-group",getTagId:null!=n?n:function(e){return i+"-tag-"+e}}},[n,i,r])};function Re(e){var t,n,r,i,o=null!=(t=null!=(n=e.items)?n:e.initialItems)?t:[];return{activeIndex:null!=(r=null!=(i=e.activeIndex)?i:e.initialActiveIndex)?r:0===o.length?-1:0,items:o}}function Te(e,t){return e.activeIndex===t.activeIndex&&e.items===t.items}var Me="tag-group-a11y-description",Ne={isItemDisabled:o.func},je=["onKeyDown"],De=["index","refKey","ref","onClick"],Ae=["index","onClick"],Ke=function(e){var t;void 0===e&&(e={}),w(e,Ke,Ne);var n=function(e){return i({stateReducer:function(e,t){return t.changes},environment:"undefined"==typeof window?void 0:window,removeElementDescription:"Press Delete or Backspace to remove tag."},e)}(e),o=function(e,t,n,r){var i=R(e,t,n,r),o=i[0],s=i[1];return[C(o,t),s]}(Oe,n,Re,Te),a=o[0],l=o[1],c=a.activeIndex,u=a.items,d=m({state:a,props:n}),f=Se({getTagId:n.getTagId,id:n.id,tagGroupId:n.tagGroupId});!function(e,t){s.useEffect(function(){if(e){var n=e.createElement("div");return n.setAttribute("id",Me),n.style.display="none",n.textContent=t,e.body.appendChild(n),function(){n.remove()}}},[t,e])}(null==(t=n.environment)?void 0:t.document,n.removeElementDescription);var p=function(e,t,n){var r=s.useRef({}),i=s.useRef(e),o=s.useRef(t);return s.useEffect(function(){var s;(-1!==e&&-1!==i.current&&e!==i.current||o.current===t+1)&&(null==(s=r.current[n(e)])||s.focus()),i.current=e,o.current=t},[e,n,t]),r}(c,u.length,f.getTagId),g=(0,s.useCallback)(function(e){var t=null!=e?e:{},n=t.onKeyDown,o=r(t,je),s=i({id:f.tagGroupId,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions",role:"listbox",onKeyDown:v(n,function(e){switch(e.key){case"ArrowLeft":l({type:1});break;case"ArrowRight":l({type:2});break;case"Delete":l({type:3});break;case"Backspace":l({type:4})}})},o);return s},[l,f.tagGroupId]),y=(0,s.useCallback)(function(e){var t,n=e.index,o=e.refKey,s=void 0===o?"ref":o,a=e.ref,c=e.onClick,u=r(e,De);if(!Number.isInteger(n)||n<0)throw new Error("Pass correct item index to getTagProps!");var g=d.current.state,m=f.getTagId(n);return i(((t={"aria-describedby":Me})[s]=h(a,function(e){e&&(p.current[m]=e)}),t["aria-labelledby"]=m,t.role="option",t.id=m,t.onClick=v(c,function(){l({type:0,index:n})}),t.tabIndex=g.activeIndex===n?0:-1,t),u)},[l,f,d,p]),b=(0,s.useCallback)(function(e){var t=e.index,n=e.onClick,o=r(e,Ae);if(!Number.isInteger(t)||t<0)throw new Error("Pass correct item index to getTagRemoveProps!");var s=f.getTagId(t),a=s+"-remove";return i({id:a,tabIndex:-1,"aria-labelledby":a+" "+s,onClick:v(n,function(e){e.stopPropagation(),l({type:5,index:t})})},o)},[f,l]);return{activeIndex:c,addItem:(0,s.useCallback)(function(e,t){l({type:6,item:e,index:t})},[l]),getTagGroupProps:g,getTagProps:y,getTagRemoveProps:b,items:u}};Ke.stateChangeTypes=Pe},7659:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(790),i=n(1609),o=n(9907);const s=(0,i.forwardRef)(function(e,t){const{direction:n,align:i,justify:s,wrap:a,basis:l,grow:c,shrink:u,inline:d,...f}=e;return(0,r.jsx)(o.B.div,{ref:t,...f,css:{display:d?"inline-flex":"flex",flexDirection:n,alignItems:i,justifyContent:s,flexWrap:a,flexBasis:l,flexGrow:c,flexShrink:u,...e.css}})});s.displayName="Flex"},7730:(e,t,n)=>{"use strict";
1function r(...e){return function(...t){e.forEach(e=>e?.(...t))}}n.d(t,{v:()=>s});const i=(...e)=>e.map(e=>e?.trim?.()).filter(Boolean).join(" "),o=/^on[A-Z]/;function s(...e){let t={};for(let n of e){for(let e in t)o.test(e)&&"function"==typeof t[e]&&"function"==typeof n[e]?t[e]=r(t[e],n[e]):t[e]="className"!==e&&"class"!==e?"style"!==e?void 0!==n[e]?n[e]:t[e]:Object.assign({},t[e]??{},n[e]??{}):i(t[e],n[e]);for(let e in n)void 0===t[e]&&(t[e]=n[e])}return t}},7987:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r=(0,n(9907).B)("div",{base:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",zIndex:2,color:"fg.muted",height:"full",fontSize:"sm",px:"3"},variants:{placement:{start:{insetInlineStart:"0"},end:{insetInlineEnd:"0"}}}})},8089:(e,t,n)=>{"use strict";n.d(t,{D_:()=>r,OK:()=>i});var r=e=>e(),i=(...e)=>(...t)=>{e.forEach(function(e){e?.(...t)})}},8937:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=Object.defineProperty,i=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t||r(n,Symbol.toStringTag,{value:"Module"}),n}},8959:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var r=()=>(e,t)=>t.reduce((e,t)=>{const[n,r]=e,i=t;return void 0!==r[i]&&(n[i]=r[i]),delete r[i],[n,r]},[{},{...e}])},9437:(e,t,n)=>{"use strict";n.d(t,{$z:()=>l,ck:()=>c});var r=n(285);const{withProvider:i,withContext:o,useStyles:s,PropsProvider:a}=(0,r.c)({key:"list"}),l=i("ul","root",{defaultProps:{role:"list"}}),c=o("li","item");o("span","indicator")},9612:(e,t,n)=>{"use strict";function r(...e){return t=>{const n=[];for(const r of e)if("function"==typeof r){const e=r(t);"function"==typeof e&&n.push(e)}else r&&(r.current=t);if(n.length)return()=>{for(const e of n)e()}}}n.d(t,{t:()=>r})},9614:(e,t,n)=>{"use strict";n.d(t,{fK4:()=>v,wAb:()=>h,K7R:()=>m,CKj:()=>g});var r=n(1609),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(i),s=["attr","size","title"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(null,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return e&&e.map((e,t)=>r.createElement(e.tag,c({key:t},e.attr),d(e.child)))}function f(e){return t=>r.createElement(p,a({attr:c({},e.attr)},t),d(e.child))}function p(e){var t=t=>{var n,{attr:i,size:o,title:l}=e,u=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s),d=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,u,{className:n,style:c(c({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==o?r.createElement(o.Consumer,null,e=>t(e)):t(i)}function g(e){return f({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"},child:[]},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"},child:[]}]})(e)}function m(e){return f({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"},child:[]}]})(e)}function h(e){return f({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"},child:[]}]})(e)}function v(e){return f({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(e)}},9780:(e,t,n)=>{"use strict";n.d(t,{uT:()=>I,Nv:()=>w,MQ:()=>b});var r=n(790),i=n(5643),o=n(2406),s=n(1609),a=n(3437),l=n(285),c=n(9907),u=n(2774),d=n(7990);const f=e=>(0,r.jsx)(c.B.svg,{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:(0,r.jsx)("path",{d:"m6 9 6 6 6-6"})}),[p,g]=(0,a.q)({name:"NativeSelectBasePropsContext",hookName:"useNativeSelectBaseProps",providerName:"<NativeSelectRoot />",strict:!1}),{withProvider:m,useClassNames:h,useStyles:v,PropsProvider:y}=(0,l.c)({key:"nativeSelect"}),b=m("div","root",{wrapElement(e,t){const n=(0,i.f)(),o=Boolean(n?.disabled??t.disabled),s=Boolean(n?.invalid??t.invalid);return(0,r.jsx)(p,{value:{disabled:o,invalid:s},children:e})}}),x=(0,c.B)(o.V.Select,{},{forwardAsChild:!0}),I=(0,s.forwardRef)(function(e,t){const{children:n,placeholder:i,unstyled:o,...s}=e,{disabled:a,invalid:l}=g(),c=v(),f=h();return(0,r.jsxs)(x,{disabled:a,"data-invalid":(0,u.s)(l),...s,ref:t,className:(0,d.cx)(f.field,e.className),css:[o?void 0:c.field,e.css],children:[i&&(0,r.jsx)("option",{value:"",children:i}),n]})});function w(e){const{unstyled:t,...n}=e,i=v(),{disabled:o,invalid:s}=g(),a=h();return(0,r.jsx)(c.B.div,{...n,"data-disabled":(0,u.s)(o),"data-invalid":(0,u.s)(s),className:(0,d.cx)(a.indicator,e.className),css:[t?void 0:i.indicator,e.css],children:e.children??(0,r.jsx)(f,{})})}},9907:(e,t,n)=>{"use strict";n.d(t,{B:()=>M});var r=n(790),i=n(8371),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.A)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),a=n(2295),l=n(2855),c=n(2504),u=n(966),d=n(1609),f=n(7730);const p=parseInt(d.version.split(".")[0],10)>=19;function g(e,t){if(null!=e){if("function"==typeof e)return e(t);try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}var m=n(3152),h=n(7990),v=n(9117),y=n(2140),b=n(1313),x=n(6510);const I=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function w(e){return"string"==typeof e&&I.has(e)}var C;const k=(C=s).default||C,P=e=>"theme"!==e;let O="undefined"!=typeof document;const E=({cache:e,serialized:t,isStringTag:n})=>{(0,u.SF)(e,t,n);const i=(0,c.s)(()=>(0,u.sk)(e,t,n));if(!O&&void 0!==i){let n=t.name,o=t.next;for(;void 0!==o;)n=(0,h.cx)(n,o.name),o=o.next;return(0,r.jsx)("style",{"data-emotion":(0,h.cx)(e.key,n),dangerouslySetInnerHTML:{__html:i},nonce:e.sheet.nonce})}return null},S={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},R=((e,t={},n={})=>
1{if(i=S,o=e,Object.prototype.hasOwnProperty.call(i,o)){n.forwardProps||(n.forwardProps=[]);const t=S[e];n.forwardProps=(0,y.s)([...n.forwardProps,...t])}var i,o;const s=e.__emotion_real===e,c=s&&e.__emotion_base||e;let I,C;void 0!==n&&(I=n.label,C=n.target);let O=[];const R=(0,a.w)((i,o,y)=>{const{cva:I,isValidProperty:S}=(0,b.$)(),R=t.__cva__?t:I(t),T=N(e.__emotion_cva,R);var M;!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=(M=n.forwardProps,(e,t)=>!!M.includes(e)||!t?.includes(e)&&!S(e)));const j=((e,t,n)=>{let r;if(t){const n=t.shouldForwardProp;r=e.__emotion_forwardProp&&n?t=>e.__emotion_forwardProp(t)&&n(t):n}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r})(e,n,s)||((t,n)=>{const r="string"==typeof e&&e.charCodeAt(0)>96?k:P,i=!n?.includes(t)&&!S(t);return r(t)&&i}),D=d.useMemo(()=>Object.assign({},n.defaultProps,(0,m.o)(i)),[i]),{props:A,styles:K}=function(e,t,n){const{css:r,isValidProperty:i}=(0,b.$)(),{children:o,...s}=e,a=(0,d.useMemo)(()=>{const[e,r]=(0,x.r)(s,e=>n(e,t.variantKeys)),[o,a]=(0,x.r)(r,t.variantKeys),[l,c]=(0,x.r)(a,i);return{forwardedProps:e,variantProps:o,styleProps:l,elementProps:c}},[t.variantKeys,n,s,i]),{css:l,...c}=a.styleProps,u=(0,d.useMemo)(()=>{const e={...a.variantProps},n=t.variantKeys.includes("colorPalette"),r=t.variantKeys.includes("orientation");return n||(e.colorPalette=s.colorPalette),r||(e.orientation=s.orientation),t(e)},[t,a.variantProps,s.colorPalette,s.orientation]);return{styles:(0,d.useMemo)(()=>{return r(u,...(e=l,(Array.isArray(e)?e:[e]).filter(Boolean).flat()),c);var e},[r,u,l,c]),props:{...a.forwardedProps,...a.elementProps,children:o}}}(D,T,j);let L="",V=[K],B=A;if(null==A.theme){B={};for(let e in A)B[e]=A[e];B.theme=d.useContext(a.T)}"string"==typeof A.className?L=(0,u.Rk)(o.registered,V,A.className):null!=A.className&&(L=(0,h.cx)(L,A.className));const F=(0,l.J)(O.concat(V),o.registered,B);F.styles&&(L=(0,h.cx)(L,`${o.key}-${F.name}`)),void 0!==C&&(L=(0,h.cx)(L,C));const _=!j("as");let z=_&&A.as||c,H={};for(let e in A)if(!_||"as"!==e){if(w(e)){H[e.replace("html","").toLowerCase()]=A[e];continue}j(e)&&(H[e]=A[e])}let $=L.trim();$?H.className=$:Reflect.deleteProperty(H,"className"),H.ref=y;const q=n.forwardAsChild||n.forwardProps?.includes("asChild");if(A.asChild&&!q){const e=d.isValidElement(A.children)?d.Children.only(A.children):d.Children.toArray(A.children).find(d.isValidElement);if(!e)throw new Error("[chakra-ui > factory] No valid child found");z=e.type,H.children=null,Reflect.deleteProperty(H,"asChild"),H=(0,f.v)(H,e.props),H.ref=function(...e){const t=e.filter(e=>null!=e);if(p){const e=new Map;return n=>(t.forEach(t=>{const r=g(t,n);r&&e.set(t,r)}),()=>{t.forEach(t=>{const n=e.get(t);n&&"function"==typeof n?n():g(t,null)}),e.clear()})}return e=>{t.forEach(t=>{g(t,e)})}}(y,function(e){const t=d.version;return(0,v.Kg)(t)?t.startsWith("18.")?e?.ref:e?.props?.ref:e?.ref}(e))}return H.as&&q?(H.as=void 0,(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(E,{cache:o,serialized:F,isStringTag:"string"==typeof z}),(0,r.jsx)(z,{asChild:!0,...H,children:(0,r.jsx)(A.as,{children:H.children})})]})):(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(E,{cache:o,serialized:F,isStringTag:"string"==typeof z}),(0,r.jsx)(z,{...H})]})});return R.displayName=void 0!==I?I:`chakra(${"string"==typeof c?c:c.displayName||c.name||"Component"})`,R.__emotion_real=R,R.__emotion_base=c,R.__emotion_forwardProp=n.shouldForwardProp,R.__emotion_cva=t,Object.defineProperty(R,"toString",{value:()=>`.${C}`}),R}).bind(),T=new Map,M=new Proxy(R,{apply:(e,__,t)=>R(...t),get:(e,t)=>(T.has(t)||T.set(t,R(t)),T.get(t))}),N=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t)}}]);

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.