1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3921],{533:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9061).A)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]])},7807:(e,t,n)=>{n.d(t,{AO:()=>A,Kr:()=>k});var r='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),area[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',o="u"<typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!o&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},a=function(e,t){void 0===t&&(t=!0);var n,r=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):a(e.parentNode))},u=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},s=function(e,t,n){if(a(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(r));return t&&i.call(e,r)&&o.unshift(e),o=o.filter(n)},c=function(e,t,n){for(var o=[],l=Array.from(e);l.length;){var u=l.shift();if(!a(u,!1))if("SLOT"===u.tagName){var s=u.assignedElements(),f=c(s.length?s:u.children,!0,n);n.flatten?o.push.apply(o,f):o.push({scopeParent:u,candidates:f})}else{i.call(u,r)&&n.filter(u)&&(t||!e.includes(u))&&o.push(u);var d=u.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(u),p=!a(d,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(u));if(d&&p){var h=c(!0===d?u.children:d.children,!0,n);n.flatten?o.push.apply(o,h):o.push({scopeParent:u,candidates:h})}else l.unshift.apply(l,u.children)}}return o},f=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},d=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||u(e))&&!f(e)?0:e.tabIndex},p=function(e,t){var n=d(e);return n<0&&t&&!f(e)?0:n},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},m=function(e){return"INPUT"===e.tagName},g=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},y=function(e){if(!e.name)return!0;var t,n=e.form||l(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=g(t,e.form);return!o||o===e},v=function(e){return m(e)&&"radio"===e.type&&!y(e)},b=function(e){var t,n,r,o,i,a,u,s=e&&l(e),c=null==(t=s)?void 0:t.host,f=!1;if(s&&s!==e)for(f=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!f&&c;)f=!!(null!=(a=c=null==(i=s=l(c))?void 0:i.host)&&null!=(u=a.ownerDocument)&&u.contains(c));return f},w=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},x=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var o=getComputedStyle(e).visibility;if("hidden"===o||"collapse"===o)return!0;var a=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(a,"details:not([open]) *"))return!0;
1if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return w(e)}else{if("function"==typeof r){for(var u=e;e;){var s=e.parentElement,c=l(e);if(s&&!s.shadowRoot&&!0===r(s))return w(e);e=e.assignedSlot?e.assignedSlot:s||c===e.ownerDocument?s:c.host}e=u}if(b(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},S=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!i.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},R=function(e,t){return!(t.disabled||m(t)&&"hidden"===t.type||x(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||S(t))},T=function(e,t){return!(v(t)||0>d(t))&&!!R(e,t)},E=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},C=function(e){var t=[],n=[];return e.forEach(function(e,r){var o=!!e.scopeParent,i=o?e.scopeParent:e,l=p(i,o),a=o?C(e.candidates):i;0===l?o?t.push.apply(t,a):t.push(i):n.push({documentOrder:r,tabIndex:l,item:e,isScope:o,content:a})}),n.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},k=function(e,t){return C((t=t||{}).getShadowRoot?c([e],t.includeContainer,{filter:T.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:E}):s(e,t.includeContainer,T.bind(null,t)))},A=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,r)&&T(t,e)}},13866:(e,t,n)=>{n.d(t,{$t:()=>a,$u:()=>b,EW:()=>v,F2:()=>y,Go:()=>p,O_:()=>h,Pg:()=>s,RS:()=>o,WZ:()=>x,YE:()=>g,YF:()=>u,cX:()=>d,gR:()=>i,jo:()=>w,nr:()=>c,tZ:()=>m,uo:()=>l});var r=n(78761);function o(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function i(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function l(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function a(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function u(e){return 0===e.mozInputSource&&!!e.isTrusted||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function s(e){return!a().includes("jsdom/")&&(!f()&&0===e.width&&0===e.height||f()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function c(){return/apple/i.test(navigator.vendor)}function f(){let e=/android/i;return e.test(l())||e.test(a())}function d(){return l().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function p(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function h(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function g(e){return(null==e?void 0:e.ownerDocument)||document}function y(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function v(e){return"composedPath"in e?e.composedPath()[0]:e.target}function b(e){return(0,r.sb)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&b(e)}},20890:(e,t,n)=>{n.d(t,{l6:()=>eO});var r=n(49331),o=n(78293),i=n(23867),l=n(36405),a=n(35629),u=n(58714),s=n(9728),c=n(4405),f=n(69207),d=n(90719),p=n(48273),h=n(88273),m=n(52125),g=n(18012),y=n(6029),v=n(33601);let b=(0,g.styled)(d.g,{name:"ListItem",tag:"li",variants:{unstyled:{false:{size:"$true",alignItems:"center",justifyContent:"space-between",flexWrap:"nowrap",width:"100%",borderColor:"$borderColor",maxWidth:"100%",overflow:"hidden",flexDirection:"row",backgroundColor:"$background",cursor:"default"}},size:{"...size":(e,{tokens:t})=>({minHeight:t.size[e],paddingHorizontal:t.space[e],paddingVertical:(0,a.pp)(t.space[e],{shift:-4})})},active:{true:{hoverStyle:{backgroundColor:"$background"}}},disabled:{true:{opacity:.5,pointerEvents:"none"}}},defaultVariants:{unstyled:"1"===v.env.TAMAGUI_HEADLESS}}),w=(0,g.styled)(h.y,{name:"ListItemText",variants:{unstyled:{false:{color:"$color",size:"$true",flexGrow:1,flexShrink:1,ellipse:!0,cursor:"inherit"}}},defaultVariants:{unstyled:"1"===v.env.TAMAGUI_HEADLESS}}),x=(0,g.styled)(w,{name:"ListItemSubtitle",variants:{unstyled:{false:{opacity:.6,maxWidth:"100%",color:"$color"}},size:{"...size":(e,t)=>{let n=(0,a.YC)(e,{shift:-1,excludeHalfSteps:!0});return(0,c.n)(n.key,t)}}},defaultVariants:{unstyled:"1"===v.env.TAMAGUI_HEADLESS}}),S=(0,g.styled)(w,{name:"ListItemTitle"}),R=(e,{Text:t=w,Subtitle:n=x,Title:r=S}={Text:w,Subtitle:x,Title:S})=>{let o=(0,g.useProps)(e,{resolveValues:"none"}),{children:i,icon:l,iconAfter:a,noTextWrap:u,theme:c,space:d,spaceFlex:h,scaleIcon:v=1,scaleSpace:b=1,unstyled:R=!1,subTitle:T,title:E,color:C,fontWeight:k,fontSize:A,fontFamily:L,letterSpacing:j,textAlign:I,ellipse:P,...N}=o,D=o.size||"$true",V=(0,s.ny)(D)*v,[M,z]=[l,a].map((0,f.gO)({size:V,color:C})),O=(0,g.getTokens)().space[o.space]??V,W=(0,g.getVariableValue)(O)*b,F=(0,m.s)(t,{color:C,fontWeight:k,fontSize:A,fontFamily:L,letterSpacing:j,textAlign:I,ellipse:P,children:i});return{props:{...N,children:(0,y.jsxs)(y.Fragment,{children:[M?(0,y.jsxs)(y.Fragment,{children:[M,(0,y.jsx)(g.Spacer,{size:W})]}):null,E||T?(0,y.jsxs)(p.Se,{flex:1,children:["all"===u?E:(0,y.jsx)(r,{size:D,children:E}),T?(0,y.jsx)(y.Fragment,{children:"string"==typeof T&&"all"!==u?(0,y.jsx)(n,{unstyled:R,size:D,children:T}):T}):null,F]}):F,z?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(g.Spacer,{size:W}),z]}):null]})}}},T=b.styleable(function(e,t){let{props:n}=R(e);return(0,y.jsx)(b,{ref:t,...n})}),E=(0,u.un)(T,{Text:w,Subtitle:x}),C=(0,l.styled)(l.Stack,{name:"Separator",borderColor:"$borderColor",flexShrink:0,borderWidth:0,flex:1,height:0,maxHeight:0,borderBottomWidth:1,y:-.5,variants:{vertical:{true:{y:0,x:-.5,height:i.HZ?"initial":"auto",maxHeight:i.HZ?"initial":"auto",width:0,maxWidth:0,borderBottomWidth:0,borderRightWidth:1}}}});var k=n(89831),A=n(58010),L=n(80784),j=n(47169),I=n(55729);let P={leading:!1};var N=n(80697);let D="Select",V="SelectViewport",[M,z]=(0,N.A)(D),[O,W]=M(D),[F,H]=(0,N.A)(D),[_,$]=M(D),q=({__scopeSelect:e,context:t,itemContext:n,children:r})=>(0,y.jsx)(O,{isInSheet:!0,scope:e,...t,children:(0,y.jsx)(_,{scope:e,...n,children:r})});var U=n(71427),B=n(30361);let G=e=>{let t=(0,r.Au)();return!1!==e.open&&t},J="SelectContent";var Z=n(24969),Y=n(92309),K=n(56760);let X=e=>{let{__scopeSelect:t,children:n,open:r=!1,selectedIndexRef:o,listContentRef:a}=e,u=W("SelectSheetImpl",t),s=$("SelectSheetImpl",t),{setActiveIndex:c,selectedIndex:f,activeIndex:d,force
1Update:p}=u,{setOpen:h,setSelectedIndex:m}=s,[g,v]=I.useState(0),b=(0,l.useIsTouchDevice)(),w=I.useRef([]),x=I.useRef(null),S=I.useRef(null),R=I.useRef(null),T=I.useRef(!1),E=I.useRef(!0),C=I.useRef(),k=I.useRef({isMouseOutside:!1,isTyping:!1}),[A,L]=I.useState(!1),[j,P]=I.useState(!1),[N,D]=I.useState(0),[V,M]=I.useState(!1),z=I.useRef({});(0,i.Es)(()=>{queueMicrotask(()=>{r||(v(0),P(!1),c(null),L(!1))})},[r,c]),i.HZ&&i.oc&&(0,i.Es)(()=>{if(!r)return;let e=e=>{k.current.isMouseOutside&&h(!1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[r]);let{x:F,y:H,strategy:q,context:B,refs:G,update:J}=(0,U.we)({open:r,onOpenChange:h,placement:"bottom-start",whileElementsMounted:Z.ll,middleware:[(0,Y.Ej)({apply({rects:{reference:{width:e}}}){Object.assign(z.current,{minWidth:e+8}),G.floating.current&&Object.assign(G.floating.current.style,z.current)}}),(0,U.vW)({listRef:w,overflowRef:x,index:f,offset:N,onFallbackChange:P,padding:10,minItemsVisible:b?10:4,referenceOverflowThreshold:20}),(0,Y.cY)({crossAxis:-5})]}),X=G.floating,Q=r&&g>8,ee=r&&X.current&&g<X.current.scrollHeight-X.current.clientHeight-8;(0,i.Es)(()=>(window.addEventListener("resize",J),r&&J(),()=>window.removeEventListener("resize",J)),[J,r]);let et=(0,l.useEvent)(e=>(r?c:m)(e)),en=[(0,U.kp)(B,{event:"mousedown",keyboardHandlers:!1}),(0,U.s9)(B,{outsidePress:!1}),(0,U.It)(B,{role:"listbox"}),(0,U.Zx)(B,{enabled:!j&&(ee||Q),onChange:D,overflowRef:x,scrollRef:G.floating}),(0,U.C1)(B,{listRef:w,activeIndex:d||0,selectedIndex:f,onNavigate:c,scrollItemIntoView:!1}),(0,U.lY)(B,{listRef:a,onMatch:et,selectedIndex:f,activeIndex:d,onTypingChange:e=>{k.current.isTyping=e}})],er=(0,U.bv)(I.useMemo(()=>en,en)),eo=I.useMemo(()=>({...er,getReferenceProps:()=>er.getReferenceProps({ref:G.reference,className:"SelectTrigger",onKeyDown(e){"Enter"!==e.key&&"Space"!==e.code&&(" "!==e.key||k.current.isTyping)||(e.preventDefault(),h(!0))}}),getFloatingProps:e=>er.getFloatingProps({ref:G.floating,className:"Select",...e,style:{position:q,top:H??"",left:F??"",outline:0,scrollbarWidth:"none",...z.current,...e?.style},onPointerEnter(){L(!1),k.current.isMouseOutside=!1},onPointerLeave(){k.current.isMouseOutside=!0},onPointerMove(){k.current.isMouseOutside=!1,L(!1)},onKeyDown(){L(!0)},onContextMenu(e){e.preventDefault()},onScroll(e){(0,K.flushSync)(()=>{v(e.currentTarget.scrollTop)})}})}),[G.reference.current,F,H,G.floating.current,er]);return(0,i.Es)(()=>{if(r)return C.current=setTimeout(()=>{T.current=!0},300),()=>{clearTimeout(C.current)};T.current=!1,E.current=!0,D(0),P(!1),M(!1)},[r]),(0,i.Es)(()=>{!r&&k.current.isMouseOutside&&(k.current.isMouseOutside=!1)},[r]),(0,i.Es)(()=>{function e(e){let t=e.target;G.floating.current?.contains(t)||S.current?.contains(t)||R.current?.contains(t)||(h(!1),L(!1))}if(r)return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[r,G,h]),I.useEffect(()=>{r&&A&&null!=d&&w.current[d]?.scrollIntoView({block:"nearest"}),v(G.floating.current?.scrollTop??0)},[r,G,A,d]),I.useEffect(()=>{r&&j&&null!=f&&w.current[f]?.scrollIntoView({block:"nearest"})},[r,j,f]),(0,i.Es)(()=>{G.floating.current&&j&&(G.floating.current.style.maxHeight="")},[G,j]),(0,y.jsx)(O,{scope:t,...u,setScrollTop:v,setInnerOffset:D,fallback:j,floatingContext:B,activeIndex:d,canScrollDown:!!ee,canScrollUp:!!Q,controlledScrolling:A,blockSelection:V,upArrowRef:S,downArrowRef:R,update:J,children:(0,y.jsx)(_,{scope:t,...s,allowMouseUpRef:E,allowSelectRef:T,dataRef:B.dataRef,interactions:eo,listRef:w,selectTimeoutRef:C,children:n})})},Q="SelectItem",[ee,et]=M(Q),en=b.styleable(function(e,t){let{__scopeSelect:n,value:r,disabled:l=!1,textValue:a,index:u,...s}=e,{props:c}=R({...!e.unstyled&&{ellipse:!0},...s}),{setSelectedIndex:f,listRef:d,setOpen:p,onChange:h,activeIndexSubscribe:m,valueSubscribe:g,allowMouseUpRef:v,allowSelectRef:w,setValueAtIndex:x,selectTimeoutRef:S,dataRef:T,interactions:E,shouldRenderWebNative:C,size:k,onActiveChange:A,initialValue:L}=$(Q,n),[j,P]=I.useState(L===r);I.useEffect(()=>m(e=>{u===e&&(A(r,u),d?.current[u]?.focus())}),[u]),I.useEffect(()=>g(e=>{P(e===r)}),[r]);let N=I.useId(),D=I.useCallback(e=>{i.HZ&&e instanceof HTMLElement&&d&&(d.current[u]=e)},[]),V=(0,o.sC)(t,D);function M(){f(u),h(r),p(!1)}(0,i.Es)(()=>{x(u,r)},[u,x,r]);let z=I.useMemo(()=>E?E.getItemProps({onTouchMove(){w.current=!0,v.current=!1}
1,onTouchEnd(){w.current=!1,v.current=!0},onKeyDown(e){"Enter"!==e.key&&(" "!==e.key||T?.current.typing)?w.current=!0:(e.preventDefault(),M())},onClick(){w.current&&M()},onMouseUp(){v.current&&(w.current&&M(),clearTimeout(S.current),S.current=setTimeout(()=>{w.current=!0}))}}):{onPress:M},[M]);return(0,y.jsx)(ee,{scope:n,value:r,textId:N||"",isSelected:j,children:C?(0,y.jsx)("option",{value:r,children:e.children}):(0,y.jsx)(b,{tag:"div",componentName:Q,ref:V,"aria-labelledby":N,"aria-selected":j,"data-state":j?"active":"inactive","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...!e.unstyled&&{backgrounded:!0,pressTheme:!0,hoverTheme:!0,focusTheme:!0,cursor:"default",size:k,outlineOffset:-.5,focusVisibleStyle:{outlineColor:"$outlineColor",outlineWidth:1,outlineStyle:"solid"}},...c,...z})})},{disableTheme:!0});var er=n(33601);let eo="SelectItemText",ei=(0,l.styled)(h.y,{name:eo,variants:{unstyled:{false:{userSelect:"none",color:"$color",ellipse:!0}}},defaultVariants:{unstyled:"1"===er.env.TAMAGUI_HEADLESS}}),el=ei.styleable(function(e,t){let{__scopeSelect:n,className:r,...i}=e,l=W(eo,n),a=$(eo,n),u=I.useRef(null),s=(0,o.sC)(t,u),c=et(eo,n),f=I.useRef();return f.current=(0,y.jsx)(ei,{className:r,size:a.size,id:c.textId,...i,ref:s}),I.useEffect(()=>{a.initialValue!==c.value||l.selectedIndex||l.setSelectedItem(f.current)},[]),I.useEffect(()=>a.valueSubscribe(e=>{e===c.value&&l.setSelectedItem(f.current)}),[c.value]),a.shouldRenderWebNative?(0,y.jsx)(y.Fragment,{children:e.children}):(0,y.jsx)(y.Fragment,{children:f.current})}),ea="SelectScrollUpButton",eu=I.forwardRef((e,t)=>(0,y.jsx)(ef,{componentName:ea,...e,dir:"up",ref:t}));eu.displayName=ea;let es="SelectScrollDownButton",ec=I.forwardRef((e,t)=>(0,y.jsx)(ef,{componentName:es,...e,dir:"down",ref:t}));ec.displayName=es;let ef=I.memo(I.forwardRef((e,t)=>{let{__scopeSelect:n,dir:r,componentName:i,...l}=e,{forceUpdate:a,open:u,fallback:s,setScrollTop:c,setInnerOffset:f,...d}=W(i,n),h=d.floatingContext?.refs.floating,m=I.useRef("idle"),g=d["down"===r?"canScrollDown":"canScrollUp"],v=I.useRef(),{x:b,y:w,refs:x,strategy:S}=(0,U.we)({open:u&&g,strategy:"fixed",elements:{reference:h?.current},placement:"up"===r?"top":"bottom",middleware:[(0,Y.cY)(({rects:e})=>-e.floating.height)],whileElementsMounted:(...e)=>(0,Z.ll)(...e,{animationFrame:!0})}),R=(0,o.sC)(t,x.setFloating);return g?(0,y.jsx)(p.Se,{ref:R,componentName:i,"aria-hidden":!0,...l,zIndex:1e3,position:S,left:b||0,top:w||0,width:`calc(${(h?.current?.offsetWidth??0)-2}px)`,onPointerEnter:()=>{m.current="active";let e=Date.now();cancelAnimationFrame(v.current),v.current=requestAnimationFrame(function t(){let n=h?.current;if(n){var o;let i=Date.now(),l=i-e;e=i;let a=l/2,u="up"===r?n.scrollTop:n.scrollHeight-n.clientHeight-n.scrollTop,d="up"===r?n.scrollTop-a>0:n.scrollTop+a<n.scrollHeight-n.clientHeight;o="up"===r?Math.min(a,u):Math.max(-a,-u),h&&(s?h.current&&(h.current.scrollTop-=o,(0,K.flushSync)(()=>c(h.current?.scrollTop??0))):(0,K.flushSync)(()=>f(e=>e-o))),d&&(v.current=requestAnimationFrame(t))}})},onPointerLeave:()=>{m.current="idle",cancelAnimationFrame(v.current)}}):null})),ed="SelectTrigger",ep=!l.isWeb||!l.isClient||window.matchMedia("(pointer:coarse)").matches,eh=I.forwardRef(function(e,t){let{__scopeSelect:n,disabled:r=!1,unstyled:i=!1,...l}=e,a=W(ed,n),u=$(ed,n),s=(0,o.sC)(t,a.floatingContext?.refs.setReference);return u.shouldRenderWebNative?null:(0,y.jsx)(E,{componentName:ed,unstyled:i,tag:"button",type:"button",id:u.id,...!i&&{backgrounded:!0,radiused:!0,hoverTheme:!0,pressTheme:!0,focusable:!0,focusVisibleStyle:{outlineStyle:"solid",outlineWidth:2,outlineColor:"$outlineColor"},borderWidth:1,size:u.size},"aria-expanded":a.open,"aria-autocomplete":"none",dir:a.dir,disabled:r,"data-disabled":r?"":void 0,...l,ref:s,...u.interactions?{...u.interactions.getReferenceProps(),...ep?{onPress(){u.setOpen(!a.open)}}:{onMouseDown(){a.floatingContext?.update(),u.setOpen(!a.open)}}}:{onPress(){u.setOpen(!a.open)}}})});var em=n(17742),eg=n(33601);let ey=(0,l.styled)(d.g,{name:V,variants:{unstyled:{false:{size:"$2",backgroundColor:"$background",elevate:!0,bordered:!0,userSelect:"none",outlineWidth:0}},size:{"...size":(e,{tokens:t})=>({borderRadius:t.radius[e]??e})}},defaultVariants:{unstyled:"1"===eg.env.TAMAGUI_HEADLESS}}),ev=ey.styleable(function(e,t){let{__scopeSelect:n,children:l,disableScroll:a,...u}=e,s=W(V,n),c=$(V,n),f=(0,r.Au)();if((0,i.Es)(()=>{s.update&&s.update()},[f]),c.shouldRenderWebNative)return(0,y.jsx)(y.Fragment,{children:l});if(f||!i.HZ)return(0,y.jsx)(r.fM,{children:(0,y.jsx)(q,{__scopeSelect:n,itemContext:c,context:s,children:l})});if(!c.interactions)return null;let{style:d,className:p,...h}=c.interactions.getFloatingProps(),m=(0,o.sC)(t,s.floatingContext?.refs.setFloating);return(0,y.jsxs)(y.Fragment,{children:[!a&&!e.unstyled&&(0,y.jsx)("style",{dangerouslySetInnerHTML:{__html:eb}}),(0,y.jsx)(em.N,{children:s.open?(0,y.jsx)(U.s3,{context:s.floatingContext,modal:!1,children:(0,y.jsx)(ey,{size:c.size,role:"presentation",...u,...d,...h,...!e.unstyled&&{overflowY:a?void 0:d.overflow??"auto"},ref:m,children:l},"select-viewport")}):null}),!s.open&&(0,y.jsx)("div",{style:{display:"none"},children:e.children})]})}),eb=` 2.is_SelectViewport { 3 scrollbar-width: none; 4 -webkit-overflow-scrolling: touch; 5 overscroll-behavior: contain; 6} 7 8.is_SelectViewport::-webkit-scrollbar{ 9 display:none 10} 11`,ew="SelectValue",ex=(0,l.styled)(h.y,{name:ew,userSelect:"none"}),eS=ex.styleable(function({__scopeSelect:e,children:t,placeholder:n,...r},i){let l=W(ew,e),a=$(ew,e),u=(0,o.sC)(i,l.onValueNodeChange),s=t??l.selectedItem,c=null==l.value||""===l.value?n??s:s;return(0,y.jsx)(ex,{...!r.unstyled&&{size:a.size,ellipse:!0,pointerEvents:"none"},ref:u,...r,children:function e(t){return I.Children.map(t,t=>{if(t){if(t.type?.staticConfig?.componentName===eo)return t.props.children;if(t.props?.children)return e(t.props.children)}return t})}(c)})}
11),eR=(0,l.styled)(p.lW,{name:"SelectIcon","aria-hidden":!0,children:(0,y.jsx)(L.f,{children:"â¼"})}),eT="SelectItemIndicator",eE=(0,l.styled)(p.lW,{name:eo}),eC=I.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=$(eT,n),i=et(eT,n);return o.shouldRenderWebNative?null:i.isSelected?(0,y.jsx)(eE,{"aria-hidden":!0,...r,ref:t}):null});eC.displayName=eT;let ek="SelectGroup",[eA,eL]=M(ek),ej=(0,l.styled)(p.Se,{name:ek,width:"100%"}),eI=(0,l.styled)(h.y,{tag:"select",backgroundColor:"$background",borderColor:"$borderColor",hoverStyle:{backgroundColor:"$backgroundHover"}}),eP=(0,l.styled)(d.g,{name:"NativeSelect",bordered:!0,userSelect:"none",outlineWidth:0,paddingRight:10,variants:{size:{"...size":(e,t)=>{let{tokens:n}=t,r=(0,l.getVariableValue)(n.space[e]);return{borderRadius:n.radius[e]??e,minHeight:n.size[e],paddingRight:r+20,paddingLeft:r,paddingVertical:(0,a.pp)(e,{shift:-3})}}}},defaultVariants:{size:"$2"}}),eN=I.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=I.useId(),i=W(ek,n),l=$(ek,n),a=l.size??"$true",u=I.useRef(null),s=l.shouldRenderWebNative?(0,y.jsx)(eP,{asChild:!0,size:a,value:i.value,id:l.id,children:(0,y.jsx)(eI,{onChange:e=>{l.onChange(e.currentTarget.value)},size:a,ref:u,style:{color:"var(--color)",appearance:"none"},children:e.children})}):(0,y.jsx)(ej,{role:"group","aria-labelledby":o,...r,ref:t});return(0,y.jsx)(eA,{scope:n,id:o||"",children:s})});eN.displayName=ek;let eD="SelectLabel",eV=I.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=$(eD,n),i=eL(eD,n);return o.shouldRenderWebNative?null:(0,y.jsx)(E,{tag:"div",componentName:eD,fontWeight:"800",id:i.id,size:o.size,...r,ref:t})});eV.displayName=eD,(0,l.styled)(C,{name:"SelectSeparator"});let eM=e=>{let t=W("SelectSheetController",e.__scopeSelect),n=G(t),o=(0,r.Au)(),i=(0,l.useGet)(n);return(0,y.jsx)(k._,{onOpenChange:t=>{i()&&e.onOpenChange(t)},open:t.open,hidden:!1===o,children:e.children})},ez=e=>(0,y.jsx)(y.Fragment,{children:e.children}),eO=(0,u.un)(function(e){let t=I.useId(),n=e.__scopeSelect?Object.keys(e.__scopeSelect)[0]??t:t;return(0,y.jsx)(r.P2,{scope:`${n}SheetContents`,portal:!0,children:(0,y.jsx)(eF,{scopeKey:n,...e})})},{Adapt:r.PE,Content:({children:e,__scopeSelect:t,zIndex:n=1e3,...r})=>{let o=W(J,t),i=$(J,t),a=(0,l.useThemeName)(),u=G(o),s=(0,y.jsx)(l.Theme,{forceClassName:!0,name:a,children:e}),c=(0,l.useIsTouchDevice)(),f=I.useMemo(()=>({zIndex:n,pointerEvents:o.open?"auto":"none"}),[o.open]);return i.shouldRenderWebNative?(0,y.jsx)(y.Fragment,{children:e}):u?o.open?(0,y.jsx)(y.Fragment,{children:s}):null:(0,y.jsx)(U.XF,{children:(0,y.jsx)(U.zR,{style:f,lockScroll:!o.disablePreventBodyScroll&&!!o.open&&!c,children:(0,y.jsx)(B.n,{loop:!0,enabled:!!o.open,trapped:!0,...r,children:s})})})},Group:eN,Icon:eR,Item:en,ItemIndicator:eC,ItemText:el,Label:eV,ScrollDownButton:ec,ScrollUpButton:eu,Trigger:eh,Value:eS,Viewport:ev,Sheet:A.cj.Controlled});function eW(){let e=I.useRef();return e.current||(e.current=new Set),[t=>{e.current.forEach(e=>e(t))},I.useCallback(t=>(e.current.add(t),()=>{e.current.delete(t)}),[])]}function eF(e){let{__scopeSelect:t,native:n,children:o,open:a,defaultOpen:u,onOpenChange:s,value:c,defaultValue:f,onValueChange:d,disablePreventBodyScroll:p,size:h="$true",onActiveChange:m,dir:g,id:v}=e,b=(0,r.Au)()||!i.HZ?ez:X,w=I.useReducer(()=>({}),{})[1],[x,S]=I.useState(null),[R,T]=(0,j.i)({prop:a,defaultProp:u||!1,onChange:s}),[E,C]=(0,j.i)({prop:c,defaultProp:f||"",onChange:d,transition:!0});I.useEffect(()=>{R&&L(E)},[R]),I.useEffect(()=>{L(E)},[E]);let[k,A]=I.useState(0),[L,N]=eW(),[D,V]=eW(),M=I.useRef(null),z=I.useRef(null),W=I.useRef([]),[F,H]=I.useState(0),[$,q]=I.useState(null);(0,i.Es)(()=>{M.current=F,z.current=k});let U=i.HZ&&(!0===n||"web"===n||Array.isArray(n)&&n.includes("web")),B=function(e,t=P,n=[e]){let r=I.useRef(null);return I.useEffect(()=>()=>{r.current?.cancel()},[]),I.useMemo(()=>(r.current=function(e,t){let n,r=!1;function o(){r=!1;let o=arguments;t&&!n&&e.apply(this,o),clearTimeout(n),n=setTimeout(()=>{n=null,t||r||e.apply(this,o),r=!1},1)}return o.cancel=()=>{r=!0},o}(e,t.leading),r.current),[t.leading,...n])}(e=>{A(t=>t!==e?("number"==typeof e&&D(e),e):t)},{},[]);return(0,y.jsx)(_,{scope:t,initialValue:I.useMemo(()=>E,[R]),size:h,activeIndexSubscribe:V,valueSubscribe:N,setOpen:T,id:v,onChange:I.useCallback(e=>{C(e),L(e)},[]),onActiveChange:(0,l.useEvent)((...e)=>{m?.(...e)}),setSelectedIndex:H,setValueAtIndex:I.useCallback((e,t)=>{W.current[e]=t},[]),shouldRenderWebNative:U,children:(0,y.jsx)(O,{scope:t,disablePreventBodyScroll:p,dir:g,blockSelection:!1,fallback:!1,selectedItem:x,setSelectedItem:S,forceUpdate:w,valueNode:$,onValueNodeChange:q,scopeKey:e.scopeKey,activeIndex:k,selectedIndex:F,setActiveIndex:B,value:E,open:R,native:n,children:(0,y.jsx)(eM,{onOpenChange:T,__scopeSelect:t,children:U?o:(0,y.jsx)(b,{activeIndexRef:z,listContentRef:W,selectedIndexRef:M,...e,open:R,value:E,children:o})})})})}},24969:(e,t,n)=>{n.d(t,{UE:()=>I,ll:()=>E,rD:()=>P,__:()=>C,UU:()=>L,cY:()=>k,iD:()=>R,BN:()=>A,Ej:()=>j});var r=n(95175);function o(e,t,n){let o,{reference:i,floating:l}=e,a=(0,r.TV)(t),u=(0,r.Dz)(t),s=(0,r.sq)(u),c=(0,r.C0)(t),f=i.x+i.width/2-l.width/2,d=i.y+i.height/2-l.height/2,p=i[s]/2-l[s]/2;switch(c){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:d};break;case"left":o={x:i.x-l.width,y:d};break;default:o={x:i.x,y:i.y}}let h=(0,r.Sg)(t);return h&&(o[u]+=p*("end"===h?1:-1)*(n&&"y"===a?-1:1)),o}async function i(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:a,elements:u,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),g=u[p?"floating"===d?"reference":"floating":d],y=(0,r.B1)(await l.getClippingRect
vendor: 8,020 bytes, line 11
11({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:c,rootBoundary:f,strategy:s})),v="floating"===d?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),w=await (null==l.isElement?void 0:l.isElement(b))&&await (null==l.getScale?void 0:l.getScale(b))||{x:1,y:1},x=(0,r.B1)(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:b,strategy:s}):v);return{top:(y.top-x.top+m.top)/w.y,bottom:(x.bottom-y.bottom+m.bottom)/w.y,left:(y.left-x.left+m.left)/w.x,right:(x.right-y.right+m.right)/w.x}}let l=async(e,t,n)=>{let{placement:r="bottom",strategy:l="absolute",middleware:a=[],platform:u}=n,s=u.detectOverflow?u:{...u,detectOverflow:i},c=await (null==u.isRTL?void 0:u.isRTL(t)),f=await u.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:p}=o(f,r,c),h=r,m=0,g={};for(let n=0;n<a.length;n++){let i=a[n];if(!i)continue;let{name:y,fn:v}=i,{x:b,y:w,data:x,reset:S}=await v({x:d,y:p,initialPlacement:r,placement:h,strategy:l,middlewareData:g,rects:f,platform:s,elements:{reference:e,floating:t}});d=null!=b?b:d,p=null!=w?w:p,g[y]={...g[y],...x},S&&m<50&&(m++,"object"==typeof S&&(S.placement&&(h=S.placement),S.rects&&(f=!0===S.rects?await u.getElementRects({reference:e,floating:t,strategy:l}):S.rects),{x:d,y:p}=o(f,h,c)),n=-1)}return{x:d,y:p,placement:h,strategy:l,middlewareData:g}},a=new Set(["left","top"]);async function u(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),u=(0,r.C0)(n),s=(0,r.Sg)(n),c="y"===(0,r.TV)(n),f=a.has(u)?-1:1,d=l&&c?-1:1,p=(0,r._3)(t,e),{mainAxis:h,crossAxis:m,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof g&&(m="end"===s?-1*g:g),c?{x:m*d,y:h*f}:{x:h*f,y:m*d}}var s=n(78761);function c(e){let t=(0,s.L9)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,s.sb)(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:o,u=(0,r.LI)(n)!==l||(0,r.LI)(o)!==a;return u&&(n=l,o=a),{width:n,height:o,$:u}}function f(e){return(0,s.vq)(e)?e:e.contextElement}function d(e){let t=f(e);if(!(0,s.sb)(t))return(0,r.Jx)(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:l}=c(t),a=(l?(0,r.LI)(n.width):n.width)/o,u=(l?(0,r.LI)(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}let p=(0,r.Jx)(0);function h(e){let t=(0,s.zk)(e);return(0,s.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function m(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),a=f(e),u=(0,r.Jx)(1);t&&(o?(0,s.vq)(o)&&(u=d(o)):u=d(e));let c=(void 0===(i=n)&&(i=!1),o&&i&&o===(0,s.zk)(a))?h(a):(0,r.Jx)(0),p=(l.left+c.x)/u.x,m=(l.top+c.y)/u.y,g=l.width/u.x,y=l.height/u.y;if(a&&o){let e=(0,s.zk)(a),t=(0,s.vq)(o)?(0,s.zk)(o):o,n=e,r=(0,s._m)(n);for(;r&&t!==n;){let e=d(r),t=r.getBoundingClientRect(),o=(0,s.L9)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;p*=e.x,m*=e.y,g*=e.x,y*=e.y,p+=i,m+=l,n=(0,s.zk)(r),r=(0,s._m)(n)}}return(0,r.B1)({width:g,height:y,x:p,y:m})}function g(e,t){let n=(0,s.CP)(e).scrollLeft;return t?t.left+n:m((0,s.ep)(e)).left+n}function y(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-g(e,n),y:n.top+t.scrollTop}}function v(e,t,n){var o;let i;if("viewport"===t||"layoutViewport"===t)i=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=(0,s.zk)(e),i=(0,s.ep)(e),l=o.visualViewport,a=i.clientWidth,u=i.clientHeight,c=0,f=0;if(l){let e=!(0,s.Tc)()||"fixed"===t;r?e||(c=-l.offsetLeft,f=-l.offsetTop):(a=l.width,u=l.height,e&&(c=l.offsetLeft,f=l.offsetTop))}if(0>=g(i)){let e=i.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-t.clientWidth-r),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;l<=25&&(a-=l)}return{width:a,height:u,x:c,y:f}}(e,n,t);else if("document"===t){let t,n,l,a,u,c;o=(0,s.ep)(e),t=(0,s.CP)(o),n=o.ownerDocument.body,l=(0,r.T9)(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),a=(0,r.T9)(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),u=-t.scrollLeft+g(o),c=-t.scrollTop,"rtl"===(0,s.L9)(n).direction&&(u+=(0,r.T9)(o.clientWidth,n.clientWidth)-l),i={width:l,height:a,x:u,y:c}}else if((0,s.vq)(t)){let e,r,o,l,a,u;r=(e=m(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=d(t),a=t.clientWidth*l.x,u=t.clientHeight*l.y,i={width:a,height:u,x:o*l.x,y:r*l.y}}else{let n=h(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return(0,r.B1)(i)}function b(e){return"static"===(0,s.L9)(e).position}function w(e,t){if(!(0,s.sb)(e)||"fixed"===(0,s.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,s.ep)(e)===n&&(n=n.ownerDocument.body),n}function x(e,t){let n=(0,s.zk)(e);if((0,s.Tf)(e))return n;if(!(0,s.sb)(e)){let t=(0,s.$4)(e);for(;t&&!(0,s.eu)(t);){if((0,s.vq)(t)&&!b(t))return t;t=(0,s.$4)(t)}return n}let r=w(e,t);for(;r&&(0,s.Lv)(r)&&b(r);)r=w(r,t);return r&&(0,s.eu)(r)&&b(r)&&!(0,s.sQ)(r)?n:r||(0,s.gJ)(e)||n}let S=async function(e){let t=this.getOffsetParent||x,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,s.sb)(t),i=(0,s.ep)(t),l="fixed"===n,a=m(e,!0,l,t),u={scrollLeft:0,scrollTop:0},c=(0,r.Jx)(0);if((o||!l)&&(("body"!==(0,s.mq)(t)||(0,s.ZU)(i))&&(u=(0,s.CP)(t)),o)){let e=m(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!o&&i&&(c.x=g(i));let f=!i||o||l?(0,r.Jx)(0):y(i,u);return{x:a.left+u.scrollLeft-c.x-f.x,y:a.top+u.scrollTop-c.y-f.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},R={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,a=(0,s.ep)(o),u=!!t&&(0,s.Tf)(t.floating);if(o===a||u&&l)return n;let c={scrollLeft:0,scrollTop:0},f=(0,r.Jx)(1),p=(0,r.Jx)(0),h=(0,s.sb)(o);if((h||!l)&&(("body"!==(0,s.mq)(o)||(0,s.ZU)(a))&&(c=(0,s.CP)(o)),h)){let e=m(o);f=d(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}let g=!a||h||l?(0,r.Jx)(0):y(a,c);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x+g.x,y:n.y*f.y-c.scrollTop*f.y+p.y+g.y}},getDocumentElement:s.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===n?(0,s.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,s.v9)(e,[],!1).filter(e=>(0,s.vq)(e)&&"body"!==(0,s.mq)(e)),o=null,i="fixed"===(0,s.L9)(e).position,l=i?(0,s.$4)(e):e;for(;(0,s.vq)(l)&&!(0,s.eu)(l);){let e=(0,s.L9)(l),t=(0,s.sQ)(l),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==l),l=(0,s.$4)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=v(t,l[0],i),u=a.top,c=a.right,f=a.bottom,d=a.left;for(let e=1;e<l.length;e++){let n=v(t,l[e],i);u=(0,r.T9)(n.top,u),c=(0,r.jk)(n.right,c),f=(0,r.jk)(n.bottom,f),d=(0,r.T9)(n.left,d)}return{width:c-d,height:f-u,x:d,y:u}},getOffsetParent:x,getElementRects:S,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=c(e);return{width:t,height:n}},getScale:d,isElement:s.vq,isRTL:function(e){return"rtl"===(0,s.L9)(e).direction}};function T(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function E(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=f(e),h=l||a?[...p?(0,s.v9)(p):[],...t?(0,s.v9)(t):[]]:[];
11h.forEach(e=>{l&&e.addEventListener("scroll",n),a&&e.addEventListener("resize",n)});let g=p&&c?function(e,t,n){let o,i=null,l=(0,s.ep)(e);function a(){var e;clearTimeout(o),null==(e=i)||e.disconnect(),i=null}function u(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),a();let c=e.getBoundingClientRect(),{left:f,top:d,width:p,height:h}=c;if(n||t(),!p||!h)return;let m={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(l.clientWidth-(f+p))+"px "+-(0,r.RI)(l.clientHeight-(d+h))+"px "+-(0,r.RI)(f)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,s))||1},g=!0;function y(t){let n=t[0].intersectionRatio;if(!T(c,e.getBoundingClientRect()))return u();if(n!==s){if(!g)return u();n?u(!1,n):o=setTimeout(()=>{u(!1,1e-7)},1e3)}g=!1}try{i=new IntersectionObserver(y,{...m,root:l.ownerDocument})}catch(e){i=new IntersectionObserver(y,m)}i.observe(e)}let c=(0,s.zk)(e),f=()=>u(n);return c.addEventListener("resize",f),u(!0),()=>{c.removeEventListener("resize",f),a()}}(p,n,a):null,y=-1,v=null;u&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),p&&!d&&v.observe(p),t&&v.observe(t));let b=d?m(e):null;return d&&function t(){let r=m(e);b&&!T(b,r)&&n(),b=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,d&&cancelAnimationFrame(i)}}let C=i,k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,s=await u(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},A=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i,platform:l}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r._3)(e,t),f={x:n,y:o},d=await l.detectOverflow(t,c),p=(0,r.TV)(i),h=(0,r.PG)(p),m=f[h],g=f[p],y=(e,t)=>(0,r.qE)(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);a&&(m=y(h,m)),u&&(g=y(p,g));let v=s.fn({...t,[h]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[h]:a,[p]:u}}}}}},L=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,l,a;let{placement:u,middlewareData:s,rects:c,initialPlacement:f,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:b=!0,...w}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let x=(0,r.C0)(u),S=(0,r.TV)(f),R=(0,r.C0)(f)===f,T=await (null==d.isRTL?void 0:d.isRTL(p.floating)),E=g||(R||!b?[(0,r.bV)(f)]:(0,r.WJ)(f)),C="none"!==v;!g&&C&&E.push(...(0,r.lP)(f,b,v,T));let k=[f,...E],A=await d.detectOverflow(t,w),L=[],j=(null==(o=s.flip)?void 0:o.overflows)||[];if(h&&L.push(A[x]),m){let e=(0,r.w7)(u,c,T);L.push(A[e[0]],A[e[1]])}if(j=[...j,{placement:u,overflows:L}],!L.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=k[e];if(t&&("alignment"!==m||S===(0,r.TV)(t)||j.every(e=>(0,r.TV)(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}};let n=null==(l=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(a=j.filter(e=>{if(C){let t=(0,r.TV)(e.placement);return t===S||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}},j=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o,{placement:i,rects:l,platform:a,elements:u}=t,{apply:s=()=>{},...c}=(0,r._3)(e,t),f=await a.detectOverflow(t,c),d=(0,r.C0)(i),p=(0,r.Sg)(i),h="y"===(0,r.TV)(i),{width:m,height:g}=l.floating;"top"===d||"bottom"===d?(n=d,o=p===(await (null==a.isRTL?void 0:a.isRTL(u.floating))?"start":"end")?"left":"right"):(o=d,n="end"===p?"top":"bottom");let y=g-f.top-f.bottom,v=m-f.left-f.right,b=(0,r.jk)(g-f[n],y),w=(0,r.jk)(m-f[o],v),x=t.middlewareData.shift,S=!x,R=b,T=w;null!=x&&x.enabled.x&&(T=v),null!=x&&x.enabled.y&&(R=y),S&&!p&&(h?T=m-2*(0,r.T9)(f.left,f.right):R=g-2*(0,r.T9)(f.top,f.bottom)),await s({...t,availableWidth:T,availableHeight:R});let E=await a.getDimensions(u.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}},I=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:a,elements:u,middlewareData:s}=t,{element:c,padding:f=0}=(0,r._3)(e,t)||{};if(null==c)return{};let d=(0,r.nI)(f),p={x:n,y:o},h=(0,r.Dz)(i),m=(0,r.sq)(h),g=await a.getDimensions(c),y="y"===h,v=y?"clientHeight":"clientWidth",b=l.reference[m]+l.reference[h]-p[h]-l.floating[m],w=p[h]-l.reference[h],x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),S=x?x[v]:0;S&&await (null==a.isElement?void 0:a.isElement(x))||(S=u.floating[v]||l.floating[m]);let R=S/2-g[m]/2-1,T=(0,r.jk)(d[y?"top":"left"],R),E=(0,r.jk)(d[y?"bottom":"right"],R),C=S-g[m]-E,k=S/2-g[m]/2+(b/2-w/2),A=(0,r.qE)(T,k,C),L=!s.arrow&&null!=(0,r.Sg)(i)&&k!==A&&l.reference[m]/2-(k<T?T:E)-g[m]/2<0,j=L?k<T?k-T:k-C:0;return{[h]:p[h]+j,data:{[h]:A,centerOffset:k-A-j,...L&&{alignmentOffset:j}},reset:L}}}),P=(e,t,n)=>{let r=new Map,o=null!=n?n:{},i={...R,...o.platform,_c:r};return l(e,t,{...o,platform:i})}},31811:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9061).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},63422:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9061).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},78550:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9061).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},78761:(e,t,n)=>{let r;function o(){return"u">typeof window}function i(e){return u(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(u(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function u(e){return!!o()&&(e instanceof Node||e instanceof l(e).Node)}function s(e){return!!o()&&(e instanceof Element||e instanceof l(e).Element)}function c(e){return!!o()&&(e instanceof HTMLElement||e instanceof l(e).HTMLElement)}function f(e){return!(!o()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}function d(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=S(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function p(e){return/^(table|td|th)$/.test(i(e))}function h(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}n.d(t,{$4:()=>T,CP:()=>R,L9:()=>S,Lv:()=>p,Ng:()=>f,Tc:()=>w,Tf:()=>h,ZU:()=>d,_m:()=>E,ep:()=>a,eu:()=>x,gJ:()=>b,mq:()=>i,sQ:()=>v,sb:()=>c,v9:()=>function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function e(t){let n=T(t);return x(n)?(t.ownerDocument||t).body:c(n)&&d(n)?n:e(n)}(t),a=i===(null==(o=t.ownerDocument)?void 0:o.body),u=l(i);if(!a)return n.concat(i,e(i,[],r));{let t=E(u);
11return n.concat(u,u.visualViewport||[],d(i)?i:[],t&&r?e(t):[])}},vq:()=>s,zk:()=>l});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,y=e=>!!e&&"none"!==e;function v(e){let t=s(e)?S(e):e;return y(t.transform)||y(t.translate)||y(t.scale)||y(t.rotate)||y(t.perspective)||!w()&&(y(t.backdropFilter)||y(t.filter))||m.test(t.willChange||"")||g.test(t.contain||"")}function b(e){let t=T(e);for(;c(t)&&!x(t);){if(v(t))return t;if(h(t))break;t=T(t)}return null}function w(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(e){return/^(html|body|#document)$/.test(i(e))}function S(e){return l(e).getComputedStyle(e)}function R(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||f(e)&&e.host||a(e);return f(t)?t.host:t}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},92309:(e,t,n)=>{n.d(t,{BN:()=>p,Ej:()=>m,UE:()=>g,UU:()=>h,cY:()=>d,iD:()=>r.iD,ll:()=>r.ll,we:()=>f});var r=n(24969),o=n(55729),i=n(56760),l="u">typeof document?o.useLayoutEffect:function(){};function a(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=o.useState(f);a(w,f)||x(f);let[S,R]=o.useState(null),[T,E]=o.useState(null),C=o.useCallback(e=>{e!==j.current&&(j.current=e,R(e))},[]),k=o.useCallback(e=>{e!==I.current&&(I.current=e,E(e))},[]),A=p||S,L=h||T,j=o.useRef(null),I=o.useRef(null),P=o.useRef(v),N=null!=g,D=c(g),V=c(d),M=c(y),z=o.useCallback(()=>{if(!j.current||!I.current)return;let e={placement:t,strategy:n,middleware:w};V.current&&(e.platform=V.current),(0,r.rD)(j.current,I.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};O.current&&!a(P.current,t)&&(P.current=t,i.flushSync(()=>{b(t)}))})},[w,t,n,V,M]);l(()=>{!1===y&&P.current.isPositioned&&(P.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);let O=o.useRef(!1);l(()=>(O.current=!0,()=>{O.current=!1}),[]),l(()=>{if(A&&(j.current=A),L&&(I.current=L),A&&L){if(D.current)return D.current(A,L,z);z()}},[A,L,z,D,N]);let W=o.useMemo(()=>({reference:j,floating:I,setReference:C,setFloating:k}),[C,k]),F=o.useMemo(()=>({reference:A,floating:L}),[A,L]),H=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=s(F.floating,v.x),r=s(F.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,F.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:z,refs:W,elements:F,floatingStyles:H}),[v,z,W,F,H])}let d=(e,t)=>{let n=(0,r.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{let n=(0,r.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{let n=(0,r.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>{let n=(0,r.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{let n={name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{}}};return{name:n.name,fn:n.fn,options:[e,t]}}},95175:(e,t,n)=>{n.d(t,{B1:()=>k,C0:()=>f,Dz:()=>g,Jx:()=>a,LI:()=>i,PG:()=>p,RI:()=>l,Sg:()=>d,T9:()=>o,TV:()=>m,WJ:()=>v,_3:()=>c,bV:()=>E,jk:()=>r,lP:()=>T,nI:()=>C,qE:()=>s,sq:()=>h,w7:()=>y});let r=Math.min,o=Math.max,i=Math.round,l=Math.floor,a=e=>({x:e,y:e}
vendor: 1,406 bytes, line 11
11),u={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return o(e,r(t,n))}function c(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return p(m(e))}function y(e,t,n){void 0===n&&(n=!1);let r=d(e),o=g(e),i=h(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=E(l)),[l,E(l)]}function v(e){let t=E(e);return[b(e),t,b(t)]}function b(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],x=["right","left"],S=["top","bottom"],R=["bottom","top"];function T(e,t,n,r){let o=d(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?S:R;default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(b)))),i}function E(e){let t=f(e);return u[t]+e.slice(t.length)}function C(e){var t,n,r,o;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function k(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}}}]);
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.