PageSourceSearch

https://proxied.com/_next/static/chunks/3n87jri16ga9o.js

js proxied.com collected 2026-10-10 00:35:36 UTC 119,629 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,780307,e=>{"use strict";var t=e.i(395038);function n(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var r=["color"],o=(0,t.forwardRef)(function(e,o){var i=e.color,a=n(e,r);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:o}),(0,t.createElement)("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:void 0===i?"currentColor":i,fillRule:"evenodd",clipRule:"evenodd"}))}),i=["color"],a=(0,t.forwardRef)(function(e,r){var o=e.color,a=n(e,i);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:r}),(0,t.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),u=["color"],c=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,u);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),l=["color"],s=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,l);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),d=["color"],f=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,d);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),y=["color"],m=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,y);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:void 0===o?"currentColor":o}))}
1),p=["color"],h=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,p);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),v=["color"],g=(0,t.forwardRef)(function(e,r){var o=e.color,i=n(e,v);return(0,t.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:r}),(0,t.createElement)("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:void 0===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))});e.s(["CheckIcon",0,o,"ChevronDownIcon",0,a,"ChevronLeftIcon",0,c,"ChevronRightIcon",0,s,"Cross2Icon",0,f,"DotFilledIcon",0,m,"DotsHorizontalIcon",0,h,"MagnifyingGlassIcon",0,g])},264145,e=>{"use strict";var t=e.i(395038),n=e.i(316722),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let u=[];function c(r,i){let a=t.createContext(i);a.displayName=r+"Context";let c=u.length;u=[...u,i];let l=o(r=>{let{scope:o,children:i,...u}=r,l=o?.[e]?.[c]||a,s=t.useMemo(()=>u,Object.values(u));return(0,n.jsx)(l.Provider,{value:s,children:i})},"Provider");function s(n,o,u={}){let{optional:l=!1}=u,d=o?.[e]?.[c]||a,f=t.useContext(d);if(f)return f;if(void 0!==i)return i;if(!l)throw Error(`\`${n}\` must be used within \`${r}\``)}return l.displayName=r+"Provider",o(s,"useContext"),[l,s]}o(c,"createContext");let l=o(()=>{let n=u.map(e=>t.createContext(e));return o(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return l.scopeName=e,[c,a(l,...r)]}function a(...e){let n=e[0];if(1===e.length)return n;let r=o(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}o(function(e,r){let i=t.createContext(r);i.displayName=e+"Context";let a=o(e=>{let{children:r,...o}=e,a=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(i.Provider,{value:a,children:r})},"Provider");function u(n,o={}){let{optional:a=!1}=o,c=t.useContext(i);if(c)return c;if(void 0!==r)return r;if(!a)throw Error(`\`${n}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",o(u,"useContext"),[a,u]},"createContext"),o(i,"createContextScope"),o(a,"composeContextScopes"),e.s(["createContextScope",0,i])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},44532,e=>{"use strict";var t=e.i(395038),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},543836,315671,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function a(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(a(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(a,"isFrame"),e.s(["composeEventHandlers",0,o],543836);var u=e.i(395038),c=e.i(899300),l=e.i(44532),s=Object.defineProperty,d=u[" useEffectEvent ".trim().toString()],f=u[" useInsertionEffect ".trim().toString()];function y(e){if("function"==typeof d)return d(e);let t=u.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof f?f(()=>{t.current=e}):(0,l.useLayoutEffect)(()=>{t.current=e}),u.useMemo(()=>(...e)=>t.current?.(...e),[])}s(y,"name",{value:"useEffectEvent",configurable:!0});var m=Object.defineProperty,p=(e,t)=>m(e,"name",{value:t,configurable:!0}),h=u[" useInsertionEffect ".trim().toString()]||l.useLayoutEffect;function v({prop:e,defaultProp:t,onChange:n=p(()=>{},"onChange"),caller:r}){let[o,i,a]=g({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:o;if(c.IS_DEVELOPMENT){let t=u.useRef(void 0!==e);u.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[s,u.useCallback(t=>{if(l){let n=C(t)?t(e):t;n!==e&&a.current?.(n)}else i(t)},[l,e,i,a])]}function g({defaultProp:e,onChange:t}){let[n,r]=u.useState(e),o=u.useRef(n),i=u.useRef(t);return h(()=>{i.current=t},[t]),u.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function C(e){return"function"==typeof e}p(v,"useControllableState"),p(g,"useUncontrolledState"),p(C,"isFunction");var w=Symbol("RADIX:SYNC_STATE");p(function(e,t,n,r){let{prop:o,defaultProp:i,onChange:a,caller:l}=t,s=void 0!==o,d=y(a);if(c.IS_DEVELOPMENT){let e=u.useRef(void 0!==o);u.useEffect(()=>{let t=e.current;if(t!==s){let e=s?"controlled":"uncontrolled";console.warn(`${l} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=s},[s,l])}let f=[{...n,state:i}];r&&f.push(r);let[m,p]=u.useReducer((t,n)=>{if(n.type===w)return{...t,state:n.state};let r=e(t,n);return s&&!Object.is(r.state,t.state)&&d(r.state),r},...f),h=m.state,v=u.useRef(h);u.useEffect(()=>{v.current!==h&&(v.current=h,s||d(h))},[h,v,s]);let g=u.useMemo(()=>void 0!==o?{...m,state:o}:m,[m,o]);return u.useEffect(()=>{s&&!Object.is(o,m.state)&&p({type:w,state:o})},[o,m.state,s]),[g,p]},"useControllableStateReducer"),e.s(["useControllableState",0,v],315671)},978238,e=>{"use strict";var t=e.i(395038),n=e.i(789018),r=e.i(617739),o=e.i(316722),i=Object.defineProperty,a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),a=t.forwardRef((e,t)=>
1{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...a,ref:t})});return a.displayName=`Primitive.${n}`,{...e,[n]:a}},{});function u(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}i(u,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,u])},669539,e=>{"use strict";var t=e.i(395038),n=e.i(264145),r=e.i(166100),o=e.i(617739),i=e.i(316722),a=Object.defineProperty,u=(e,t)=>a(e,"name",{value:t,configurable:!0});function c(e){let a=e+"CollectionProvider",[c,l]=(0,n.createContextScope)(a),[s,d]=c(a,{collectionRef:{current:null},itemMap:new Map}),f=u(e=>{let{scope:n,children:r}=e,o=t.useRef(null),a=t.useRef(new Map).current;return(0,i.jsx)(s,{scope:n,itemMap:a,collectionRef:o,children:r})},"CollectionProvider");f.displayName=a;let y=e+"CollectionSlot",m=(0,o.createSlot)(y),p=t.forwardRef((e,t)=>{let{scope:n,children:o}=e,a=d(y,n),u=(0,r.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(m,{ref:u,children:o})});p.displayName=y;let h=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,o.createSlot)(h),C=t.forwardRef((e,n)=>{let{scope:o,children:a,...u}=e,c=t.useRef(null),l=(0,r.useComposedRefs)(n,c),s=d(h,o);return t.useEffect(()=>(s.itemMap.set(c,{ref:c,...u}),()=>void s.itemMap.delete(c))),(0,i.jsx)(g,{...{[v]:""},ref:l,children:a})});function w(n){let r=d(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return C.displayName=h,u(w,"useCollection"),[{Provider:f,Slot:p,ItemSlot:C},w,l]}u(c,"createCollection");var l=new WeakMap,s=class e extends Map{static{u(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),i=this.#e.length,a=y(e),u=a>=0?a:i+a,c=u<0||u>=i?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,n),this;let l=this.size+ +!o;a<0&&u++;let s=[...this.#e],d=!1;for(let e=u;e<l;e++)if(u===e){let i=s[e];s[e]===t&&(i=s[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{d||s[e-1]!==t||(d=!0);let n=s[d?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(...e){let[t,n]=e,r=0,o=n??this.at(0);for(let n of this)o=0===r&&1===e.length?n:Reflect.apply(t,this,[o,n,r,this]),r++;return o}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let o=this.at(n);r=n===this.size-1&&1===e.length?o:Reflect.apply(t,this,[r,o,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=f(e,t);return -1===n?void 0:e[n]}function f(e,t){let n=e.length,r=y(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function y(e){return e!=e||0===e?0:Math.trunc(e)}function m(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function p(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function h(e,t){return e[1].element&&t[1].element?p(e[1].element,t[1].element)?-1:1:0}function v(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}u(d,"at"),u(f,"toSafeIndex"),u(y,"toSafeInteger"),u(function(e){let a=e+"CollectionProvider",[c,l]=(0,n.createContextScope)(a),[d,f]=c(a,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new s,setItemMap:u(()=>void 0,"setItemMap")}),y=u(({state:e,...t})=>e?(0,i.jsx)(g,{...t,state:e}):(0,i.jsx)(p,{...t}),"CollectionProvider");y.displayName=a;let p=u(e=>{let t=x();return(0,i.jsx)(g,{...e,state:t})},"CollectionInit");p.displayName=a+"Init";let g=u(e=>{let{scope:n,children:o,state:a}=e,u=t.useRef(null),[c,l]=t.useState(null),s=(0,r.useComposedRefs)(u,l),[f,y]=a;return t.useEffect(()=>{if(!c)return;let e=v(()=>{});return e.observe(c,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[c]),(0,i.jsx)(d,{scope:n,itemMap:f,setItemMap:y,collectionRef:s,collectionRefObject:u,collectionElement:c,children:o})},"CollectionProviderImpl");g.displayName=a+"Impl";let C=e+"CollectionSlot",w=(0,o.createSlot)(C),b=t.forwardRef((e,t)=>{let{scope:n,children:o}=e,a=f(C,n),u=(0,r.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(w,{ref:u,children:o})});b.displayName=C;let I=e+"CollectionItemSlot",D=(0,o.createSlot)(I),N=t.forwardRef((e,n)=>{let{scope:o,children:a,...u}=e,c=t.useRef(null),[l,d]=t.useState(null),y=(0,r.useComposedRefs)(n,c,d),{setItemMap:p}=f(I,o),v=t.useRef(u);m(v.current,u)||(v.current=u);let g=v.current;return t.useEffect(()=>(p(e=>l?e.has(l)?e.set(l,{...g,element:l}).toSorted(h):(e.set(l,{...g,element:l}),e.toSorted(h)):e),()=>{p(e=>l&&e.has(l)?(e.delete(l),new s(e)):e)}),[l,g,p]),(0,i.jsx)(D,{"data-radix-collection-item":"",ref:y,children:a})});function x(){return t.useState(new s)}function E(t){let{itemMap:n}=f(e+"CollectionConsumer",t);return n}return N.displayName=I,u(x,"useInitCollection"),u(E,"useCollection"),[{Provider:y,Slot:b,ItemSlot:N},{createCollectionScope:l,useCollection:E,useInitCollection:x}]},"createCollection"),u(m,"shallowEqual"),u(p,"isElementPreceding"),u(h,"sortByDocumentPosition"),u(v,"getChildListObserver"),e.s(["createCollection",0,c])},900877,e=>{"use strict";var t=e.i(395038),n=(e.i(316722),Object.defineProperty),r=t.createContext(void 0);function o(e){let n=t.useContext(r);return e||n||"ltr"}n(o,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,o])},232253,e=>{"use strict";var t=e.i(395038);function n(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}(0,Object.defineProperty)(n,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,n])},314408,e=>{"use strict";var t=e.i(395038),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,i=null;function a(){t.useEffect(()=>{i||(i={start:u(),end:u()});let{start:e,end:t}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(i?.start.remove(),i?.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function u(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}r(function(e){return a(),e.children},"FocusGuards"),r(a,"useFocusGuards"),r(u,"createFocusGuard"),e.s(["useFocusGuards",0,a])},349032,e=>{"use strict";var t=e.i(395038),n=e.i(166100),r=e.i(978238),o=e.i(232253),i=e.i(316722),a=Object.defineProperty,u=(e,t)=>a(e,"name",{value:t,configurable:!0}),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},d=t.forwardRef(u(function(e,a){let{loop:d=!1,trapped:p=!1,onMountAutoFocus:h,onUnmountAutoFocus:v,...w}=e,[b,D]=t.useState(null),N=(0,o.useCallbackRef)(h),x=(0,o.useCallbackRef)(v),E=t.useRef(null),R=(0,n.useComposedRefs)(a,D),S=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(p){let e=function(e){if(S.paused||!b)return;let t=e.target;b.contains(t)?E.current=t:g(E.current,{select:!0})},t=function(e){if(S.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||g(E.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&g(b)};u(e,"handleFocusIn"),u(t,"handleFocusOut"),u(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}
1,[p,b,S.paused]),t.useEffect(()=>{if(b){C.add(S);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(c,s);b.addEventListener(c,N),b.dispatchEvent(t),t.defaultPrevented||(f(I(m(b)),{select:!0}),document.activeElement===e&&g(b))}return()=>{b.removeEventListener(c,N),setTimeout(()=>{let t=new CustomEvent(l,s);b.addEventListener(l,x),b.dispatchEvent(t),t.defaultPrevented||g(e??document.body,{select:!0}),b.removeEventListener(l,x),C.remove(S)},0)}}},[b,N,x,S]);let M=t.useCallback(e=>{if(!d&&!p||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=y(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&g(o,{select:!0})):(e.preventDefault(),d&&g(r,{select:!0})):n===t&&e.preventDefault()}},[d,p,S.paused]);return(0,i.jsx)(r.Primitive.div,{tabIndex:-1,...w,ref:R,onKeyDown:M})},"FocusScope"));function f(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(g(r,{select:t}),document.activeElement!==n)return}function y(e){let t=m(e);return[p(t,e),p(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):h(r,{upTo:t})))return r}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function v(e){return e instanceof HTMLInputElement&&"select"in e}function g(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&v(e)&&t&&e.select()}}u(f,"focusFirst"),u(y,"getTabbableEdges"),u(m,"getTabbableCandidates"),u(p,"findVisible"),u(h,"isHidden"),u(v,"isSelectableInput"),u(g,"focus");var C=w();function w(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=b(e,t)).unshift(t)},remove(t){e=b(e,t),e[0]?.resume()}}}function b(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function I(e){return e.filter(e=>"A"!==e.tagName)}u(w,"createFocusScopesStack"),u(b,"arrayRemove"),u(I,"removeLinks"),e.s(["FocusScope",0,d])},114971,e=>{"use strict";var t=e.i(395038),n=e.i(44532);function r(e){let[r,o]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;o({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),r}(0,Object.defineProperty)(r,"name",{value:"useSize",configurable:!0}),e.s(["useSize",0,r])},212534,e=>{"use strict";let t;var n=e.i(395038);let r=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function y(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function h(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],g=["right","left"],C=["top","bottom"],w=["bottom","top"];function b(e){let t=d(e);return l[t]+e.slice(t.length)}function I(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 D(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}}function N(e,t,n){let r,{reference:o,floating:i}=e,a=p(t),u=y(p(t)),c=m(u),l=d(t),s=o.x+o.width/2-i.width/2,h=o.y+o.height/2-i.height/2,v=o[c]/2-i[c]/2;switch(l){case"top":r={x:s,y:o.y-i.height};break;case"bottom":r={x:s,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:h};break;case"left":r={x:o.x-i.width,y:h};break;default:r={x:o.x,y:o.y}}let g=f(t);return g&&(r[u]+=v*("end"===g?1:-1)*(n&&"y"===a?-1:1)),r}async function x(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:u,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:y=!1,padding:m=0}=s(t,e),p=I(m),h=u[y?"floating"===f?"reference":"floating":f],v=D(await i.getClippingRect
vendor: 4,150 bytes, line 1
1({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:l,rootBoundary:d,strategy:c})),g="floating"===f?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,C=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),w=await (null==i.isElement?void 0:i.isElement(C))&&await (null==i.getScale?void 0:i.getScale(C))||{x:1,y:1},b=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:g,offsetParent:C,strategy:c}):g);return{top:(v.top-b.top+p.top)/w.y,bottom:(b.bottom-v.bottom+p.bottom)/w.y,left:(v.left-b.left+p.left)/w.x,right:(b.right-v.right+p.right)/w.x}}let E=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,u=a.detectOverflow?a:{...a,detectOverflow:x},c=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:d}=N(l,r,c),f=r,y=0,m={};for(let n=0;n<i.length;n++){let p=i[n];if(!p)continue;let{name:h,fn:v}=p,{x:g,y:C,data:w,reset:b}=await v({x:s,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:m,rects:l,platform:u,elements:{reference:e,floating:t}});s=null!=g?g:s,d=null!=C?C:d,m[h]={...m[h],...w},b&&y<50&&(y++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:s,y:d}=N(l,f,c)),n=-1)}return{x:s,y:d,placement:f,strategy:o,middlewareData:m}};function R(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S(e){return r.some(t=>e[t]>=0)}let M=new Set(["left","top"]);async function P(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=d(n),u=f(n),c="y"===p(n),l=M.has(a)?-1:1,y=i&&c?-1:1,m=s(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:g}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&"number"==typeof g&&(v="end"===u?-1*g:g),c?{x:v*y,y:h*l}:{x:h*l,y:v*y}}function O(){return"u">typeof window}function A(e){return k(e)?(e.nodeName||"").toLowerCase():"#document"}function L(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function T(e){var t;return null==(t=(k(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function k(e){return!!O()&&(e instanceof Node||e instanceof L(e).Node)}function j(e){return!!O()&&(e instanceof Element||e instanceof L(e).Element)}function F(e){return!!O()&&(e instanceof HTMLElement||e instanceof L(e).HTMLElement)}function _(e){return!(!O()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof L(e).ShadowRoot)}function B(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function H(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let G=/transform|translate|scale|rotate|perspective|filter/,K=/paint|layout|strict|content/,z=e=>!!e&&"none"!==e;function W(e){let t=j(e)?$(e):e;return z(t.transform)||z(t.translate)||z(t.scale)||z(t.rotate)||z(t.perspective)||!U()&&(z(t.backdropFilter)||z(t.filter))||G.test(t.willChange||"")||K.test(t.contain||"")}function U(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function V(e){return/^(html|body|#document)$/.test(A(e))}function $(e){return L(e).getComputedStyle(e)}function Z(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if("html"===A(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||T(e);return _(t)?t.host:t}function X(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=Y(t);return V(n)?(t.ownerDocument||t).body:F(n)&&B(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=L(o);if(!i)return t.concat(o,X(o,[],n));{let e=J(a);
1return t.concat(a,a.visualViewport||[],B(o)?o:[],e&&n?X(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function q(e){let t=$(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=F(e),i=o?e.offsetWidth:n,u=o?e.offsetHeight:r,c=a(n)!==i||a(r)!==u;return c&&(n=i,r=u),{width:n,height:r,$:c}}function Q(e){return j(e)?e:e.contextElement}function ee(e){let t=Q(e);if(!F(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=q(t),u=(i?a(n.width):n.width)/r,l=(i?a(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),l&&Number.isFinite(l)||(l=1),{x:u,y:l}}let et=c(0);function en(e){let t=L(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function er(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=Q(e),u=c(1);t&&(r?j(r)&&(u=ee(r)):u=ee(e));let l=(void 0===(o=n)&&(o=!1),r&&o&&r===L(a))?en(a):c(0),s=(i.left+l.x)/u.x,d=(i.top+l.y)/u.y,f=i.width/u.x,y=i.height/u.y;if(a&&r){let e=L(a),t=j(r)?L(r):r,n=e,o=J(n);for(;o&&t!==n;){let e=ee(o),t=o.getBoundingClientRect(),r=$(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,d*=e.y,f*=e.x,y*=e.y,s+=i,d+=a,o=J(n=L(o))}}return D({width:f,height:y,x:s,y:d})}function eo(e,t){let n=Z(e).scrollLeft;return t?t.left+n:er(T(e)).left+n}function ei(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){var r;let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=L(e),i=T(e),a=o.visualViewport,u=i.clientWidth,c=i.clientHeight,l=0,s=0;if(a){let e=!U()||"fixed"===t;r?e||(l=-a.offsetLeft,s=-a.offsetTop):(u=a.width,c=a.height,e&&(l=a.offsetLeft,s=a.offsetTop))}if(0>=eo(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),a="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;a<=25&&(u-=a)}return{width:u,height:c,x:l,y:s}}(e,n,t);else if("document"===t){let t,n,a,u,c,l;t=Z(r=T(e)),n=r.ownerDocument.body,a=i(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),u=i(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),c=-t.scrollLeft+eo(r),l=-t.scrollTop,"rtl"===$(n).direction&&(c+=i(r.clientWidth,n.clientWidth)-a),o={width:a,height:u,x:c,y:l}}else if(j(t)){let e,r,i,a,u,c;r=(e=er(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,a=ee(t),u=t.clientWidth*a.x,c=t.clientHeight*a.y,o={width:u,height:c,x:i*a.x,y:r*a.y}}else{let n=en(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(o)}function eu(e){return"static"===$(e).position}function ec(e,t){if(!F(e)||"fixed"===$(e).position)return null;if(t)return t(e);let n=e.offsetParent;return T(e)===n&&(n=n.ownerDocument.body),n}function el(e,t){var n;let r=L(e);if(H(e))return r;if(!F(e)){let t=Y(e);for(;t&&!V(t);){if(j(t)&&!eu(t))return t;t=Y(t)}return r}let o=ec(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(A(n)))&&eu(o);)o=ec(o,t);return o&&V(o)&&eu(o)&&!W(o)?r:o||function(e){let t=Y(e);for(;F(t)&&!V(t);){if(W(t))return t;if(H(t))break;t=Y(t)}return null}(e)||r}let es=async function(e){let t=this.getOffsetParent||el,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=F(t),o=T(t),i="fixed"===n,a=er(e,!0,i,t),u={scrollLeft:0,scrollTop:0},l=c(0);if((r||!i)&&(("body"!==A(t)||B(o))&&(u=Z(t)),r)){let e=er(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!r&&o&&(l.x=eo(o));let s=!o||r||i?c(0):ei(o,u);return{x:a.left+u.scrollLeft-l.x-s.x,y:a.top+u.scrollTop-l.y-s.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ed={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=T(r),u=!!t&&H(t.floating);if(r===a||u&&i)return n;let l={scrollLeft:0,scrollTop:0},s=c(1),d=c(0),f=F(r);if((f||!i)&&(("body"!==A(r)||B(a))&&(l=Z(r)),f)){let e=er(r);s=ee(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let y=!a||f||i?c(0):ei(a,l);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-l.scrollLeft*s.x+d.x+y.x,y:n.y*s.y-l.scrollTop*s.y+d.y+y.y}},getDocumentElement:T,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,u=[..."clippingAncestors"===n?H(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=X(e,[],!1).filter(e=>j(e)&&"body"!==A(e)),o=null,i="fixed"===$(e).position,a=i?Y(e):e;for(;j(a)&&!V(a);){let e=$(a),t=W(a),n=o?o.position:i?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?o=e:r=r.filter(e=>e!==a),a=Y(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],c=ea(t,u[0],a),l=c.top,s=c.right,d=c.bottom,f=c.left;for(let e=1;e<u.length;e++){let n=ea(t,u[e],a);l=i(n.top,l),s=o(n.right,s),d=o(n.bottom,d),f=i(n.left,f)}return{width:s-f,height:d-l,x:f,y:l}},getOffsetParent:el,getElementRects:es,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=q(e);return{width:t,height:n}},getScale:ee,isElement:j,isRTL:function(e){return"rtl"===$(e).direction}};function ef(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ey=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:a,rects:u,platform:c,elements:l,middlewareData:d}=t,{element:h,padding:v=0}=s(e,t)||{};if(null==h)return{};let g=I(v),C={x:n,y:r},w=y(p(a)),b=m(w),D=await c.getDimensions(h),N="y"===w,x=N?"clientHeight":"clientWidth",E=u.reference[b]+u.reference[w]-C[w]-u.floating[b],R=C[w]-u.reference[w],S=await (null==c.getOffsetParent?void 0:c.getOffsetParent(h)),M=S?S[x]:0;M&&await (null==c.isElement?void 0:c.isElement(S))||(M=l.floating[x]||u.floating[b]);let P=M/2-D[b]/2-1,O=o(g[N?"top":"left"],P),A=o(g[N?"bottom":"right"],P),L=M-D[b]-A,T=M/2-D[b]/2+(E/2-R/2),k=i(O,o(T,L)),j=!d.arrow&&null!=f(a)&&T!==k&&u.reference[b]/2-(T<O?O
1:A)-D[b]/2<0,F=j?T<O?T-O:T-L:0;return{[w]:C[w]+F,data:{[w]:k,centerOffset:T-k-F,...j&&{alignmentOffset:F}},reset:j}}});var em=e.i(789018),ep="u">typeof document?n.useLayoutEffect:function(){};function eh(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(!eh(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)&&!eh(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ev(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eg(e,t){let n=ev(e);return Math.round(t*n)/n}function eC(e){let t=n.useRef(e);return ep(()=>{t.current=e}),t}var ew=e.i(978238),eb=e.i(316722),eI=Object.defineProperty,eD=n.forwardRef(eI(function(e,t){let{children:n,width:r=10,height:o=5,...i}=e;return(0,eb.jsx)(ew.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eb.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),eN=e.i(166100),ex=e.i(264145),eE=e.i(232253),eR=e.i(44532),eS=e.i(114971),eM=Object.defineProperty,eP=(e,t)=>eM(e,"name",{value:t,configurable:!0}),eO="Popper",[eA,eL]=(0,ex.createContextScope)(eO),[eT,ek]=eA(eO),ej=eP(e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null),[a,u]=n.useState(void 0);return(0,eb.jsx)(eT,{scope:t,anchor:o,onAnchorChange:i,placementState:a,setPlacementState:u,children:r})},"Popper"),eF=n.forwardRef(eP(function(e,t){let{__scopePopper:r,virtualRef:o,...i}=e,a=ek("PopperAnchor",r),u=n.useRef(null),c=a.onAnchorChange,l=n.useCallback(e=>{u.current=e,e&&c(e)},[c]),s=(0,eN.useComposedRefs)(t,l),d=n.useRef(null);n.useEffect(()=>{if(!o)return;let e=d.current;d.current=o.current,e!==d.current&&c(d.current)});let f=a.placementState&&eV(a.placementState),y=f?.[0],m=f?.[1];return o?null:(0,eb.jsx)(ew.Primitive.div,{"data-radix-popper-side":y,"data-radix-popper-align":m,...i,ref:s})},"PopperAnchor")),e_="PopperContent",[eB,eH]=eA(e_),eG=n.forwardRef(eP(function(e,t){var r,a,c,l,I,D,N,x,O,A,k,j,F,_,B,H,G,K,z,W,U;let V,$,Z,Y,J,q,{__scopePopper:ee,side:et="bottom",sideOffset:en=0,align:eo="center",alignOffset:ei=0,arrowPadding:ea=0,avoidCollisions:eu=!0,collisionBoundary:ec=[],collisionPadding:el=0,sticky:es="partial",hideWhenDetached:eI=!1,updatePositionStrategy:eD="optimized",onPlaced:ex,...eM}=e,eO=ek(e_,ee),[eA,eL]=n.useState(null),eT=(0,eN.useComposedRefs)(t,eL),[ej,eF]=n.useState(null),eH=(0,eS.use
1Size)(ej),eG=eH?.width??0,eK=eH?.height??0,ez="number"==typeof el?el:{top:0,right:0,bottom:0,left:0,...el},e$=Array.isArray(ec)?ec:[ec],eZ=e$.length>0,eY={padding:ez,boundary:e$.filter(eW),altBoundary:eZ},{refs:eX,floatingStyles:eJ,placement:eq,isPositioned:eQ,middlewareData:e0}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:u}={},transform:c=!0,whileElementsMounted:l,open:s}=e,[d,f]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[y,m]=n.useState(o);eh(y,o)||m(o);let[p,h]=n.useState(null),[v,g]=n.useState(null),C=n.useCallback(e=>{e!==D.current&&(D.current=e,h(e))},[]),w=n.useCallback(e=>{e!==N.current&&(N.current=e,g(e))},[]),b=a||p,I=u||v,D=n.useRef(null),N=n.useRef(null),x=n.useRef(d),R=null!=l,S=eC(l),M=eC(i),P=eC(s),O=n.useCallback(()=>{var e,n;let o,i,a;if(!D.current||!N.current)return;let u={placement:t,strategy:r,middleware:y};M.current&&(u.platform=M.current),(e=D.current,n=N.current,o=new Map,i=null!=u?u:{},a={...ed,...i.platform,_c:o},E(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==P.current};A.current&&!eh(x.current,t)&&(x.current=t,em.flushSync(()=>{f(t)}))})},[y,t,r,M,P]);ep(()=>{!1===s&&x.current.isPositioned&&(x.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[s]);let A=n.useRef(!1);ep(()=>(A.current=!0,()=>{A.current=!1}),[]),ep(()=>
1{if(b&&(D.current=b),I&&(N.current=I),b&&I){if(S.current)return S.current(b,I,O);O()}},[b,I,O,S,R]);let L=n.useMemo(()=>({reference:D,floating:N,setReference:C,setFloating:w}),[C,w]),T=n.useMemo(()=>({reference:b,floating:I}),[b,I]),k=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!T.floating)return e;let t=eg(T.floating,d.x),n=eg(T.floating,d.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...ev(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,c,T.floating,d.x,d.y]);return n.useMemo(()=>({...d,update:O,refs:L,elements:T,floatingStyles:k}),[d,O,L,T,k])}({strategy:"fixed",placement:et+("center"!==eo?"-"+eo:""),whileElementsMounted:eP((...e)=>(function(e,t,n,r){let a;void 0===r&&(r={});let{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,y=Q(e),m=c||l?[...y?X(y):[],...t?X(t):[]]:[];m.forEach(e=>{c&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});let p=y&&d?function(e,t,n){let r,a=null,c=T(e);function l(){var e;clearTimeout(r),null==(e=a)||e.disconnect(),a=null}function s(n,d){void 0===n&&(n=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:y,top:m,width:p,height:h}=f;if(n||t(),!p||!h)return;let v={rootMargin:-u(m)+"px "+-u(c.clientWidth-(y+p))+"px "+-u(c.clientHeight-(m+h))+"px "+-u(y)+"px",threshold:i(0,o(1,d))||1},g=!0;function C(t){let n=t[0].intersectionRatio;if(!ef(f,e.getBoundingClientRect()))return s();if(n!==d){if(!g)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}g=!1}try{a=new IntersectionObserver(C,{...v,root:c.ownerDocument})}catch(e){a=new IntersectionObserver(C,v)}a.observe(e)}let d=L(e),f=()=>s(n);return d.addEventListener("resize",f),s(!0),()=>{d.removeEventListener("resize",f),l()}}(y,n,l):null,h=-1,v=null;s&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===y&&v&&t&&(v.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),y&&!f&&v.observe(y),t&&v.observe(t));let g=f?er(e):null;return f&&function t(){let r=er(e);g&&!ef(g,r)&&n(),g=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{c&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(a)}})(...e,{animationFrame:"always"===eD}),"whileElementsMounted"),elements:{reference:eO.anchor},middleware:[{name:(V={name:"offset",options:c=r={mainAxis:en+eK,alignmentAxis:ei},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:a}=e,u=await P(e,c);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+u.x,y:o+u.y,data:{...u,placement:i}}}}).name,fn:V.fn,options:[r,a]},eu&&{name:($={name:"shift",options:O=N={mainAxis:!0,crossAxis:!1,limiter:"partial"===es?{fn:(void 0===(D=l)&&(D={}),{options:D,fn(e){var t,n,r,o;let{x:i,y:a,placement:u,rects:c,middlewareData:l}=e,{offset:f=0,mainAxis:m=!0,crossAxis:h=!0}=s(D,e),v={x:i,y:a},g=p(u),C=y(g),w=v[C],b=v[g],I=s(f,e),N="number"==typeof I?{mainAxis:I,crossAxis:0}:{mainAxis:null!=(t=I.mainAxis)?t:0,crossAxis:null!=(n=I.crossAxis)?n:0};if(m){let e="y"===C?"height":"width",t=c.reference[C]-c.floating[e]+N.mainAxis,n=c.reference[C]+c.reference[e]-N.mainAxis;w<t?w=t:w>n&&(w=n)}if(h){let e="y"===C?"width":"height",t=M.has(d(u)),n=c.reference[g]-c.floating[e]+(t&&(null==(r=l.offset)?void 0:r[g])||0)+(t?0:N.crossAxis),i=c.reference[g]+c.reference[e]+(t?0:(null==(o=l.offset)?void 0:o[g])||0)-(t?N.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[C]:w,[g]:b}}}).fn,options:[l,I]}:void 0,...eY},async fn(e){let{x:t,y:n,placement:r,platform:a}=e,{mainAxis:u=!0,crossAxis:c=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=s(O,e),f={x:t,y:n},m=await a.detectOverflow(e,d),h=p(r),v=y(h),g=f[v],C=f[h],w=(e,t)=>i(t+m["y"===e?"top":"left"],o(t,t-m["y"===e?"bottom":"right"]));u&&(g=w(v,g)),c&&(C=w(h,C));let b=l.fn({...e,[v]:g,[h]:C});return{...b,data:{x:b.x-t,y:b.y-n,enabled:{[v]:u,[h]:c}}}}}).name,fn:$.fn,options:[N,x]},eu&&{name:(Z={name:"flip",options:j=A={...eY},async fn(e){var t,n,r,o,i,a,u,c;let l,I,D,{placement:N,middlewareData:x,rects:E,initialPlacement:R,platform:S,elements:M}=e,{mainAxis:P=!0,crossAxis:O=!0,fallbackPlacements:A,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:k=!0,...F}=s(j,e);if(null!=(t=x.arrow)&&t.alignmentOffset)return{};let _=d(N),B=p(R),H=d(R)===R,G=await (null==S.isRTL?void 0:S.isRTL(M.floating)),K=A||(H||!k?[b(R)]:(l=b
1(R),[h(R),l,h(l)])),z="none"!==T;!A&&z&&K.push(...(I=f(R),D=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?g:v;return t?v:g;case"left":case"right":return t?C:w;default:return[]}}(d(R),"start"===T,G),I&&(D=D.map(e=>e+"-"+I),k&&(D=D.concat(D.map(h)))),D));let W=[R,...K],U=await S.detectOverflow(e,F),V=[],$=(null==(n=x.flip)?void 0:n.overflows)||[];if(P&&V.push(U[_]),O){let e,t,n,r,o=(a=N,u=E,void 0===(c=G)&&(c=!1),e=f(a),n=m(t=y(p(a))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",u.reference[n]>u.floating[n]&&(r=b(r)),[r,b(r)]);V.push(U[o[0]],U[o[1]])}if($=[...$,{placement:N,overflows:V}],!V.every(e=>e<=0)){let e=((null==(r=x.flip)?void 0:r.index)||0)+1,t=W[e];if(t&&("alignment"!==O||B===p(t)||$.every(e=>p(e.placement)!==B||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let n=null==(o=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(i=$.filter(e=>{if(z){let t=p(e.placement);return t===B||"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:i[0];e&&(n=e);break}case"initialPlacement":n=R}if(N!==n)return{reset:{placement:n}}}return{}}}).name,fn:Z.fn,options:[A,k]},{name:(Y={name:"size",options:B=F={...eY,apply:eP(({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)},"apply")},async fn(e){let t,n,{placement:r,rects:a,platform:u,elements:c}=e,{apply:l=()=>{},...y}=s(B,e),m=await u.detectOverflow(e,y),h=d(r),v=f(r),g="y"===p(r),{width:C,height:w}=a.floating;"top"===h||"bottom"===h?(t=h,n=v===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(n=h,t="end"===v?"top":"bottom");let b=w-m.top-m.bottom,I=C-m.left-m.right,D=o(w-m[t],b),N=o(C-m[n],I),x=e.middlewareData.shift,E=!x,R=D,S=N;null!=x&&x.enabled.x&&(S=I),null!=x&&x.enabled.y&&(R=b),E&&!v&&(g?S=C-2*i(m.left,m.right):R=w-2*i(m.top,m.bottom)),await l({...e,availableWidth:S,availableHeight:R});let M=await u.getDimensions(c.floating);return C!==M.width||w!==M.height?{reset:{rects:!0}}:{}}}).name,fn:Y.fn,options:[F,_]},ej&&{name:(J={name:"arrow",options:K=H={element:ej,padding:ea},fn(e){let{element:t,padding:n}="function"==typeof K?K(e):K;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ey({element:t.current,padding:n}).fn(e):{}:t?ey({element:t,padding:n}).fn(e):{}}}).name,fn:J.fn,options:[H,G]},eU({arrowWidth:eG,arrowHeight:eK}),eI&&{name:(q={name:"hide",options:U=z={strategy:"referenceHidden",...eY,boundary:eZ?eY.boundary:void 0},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...o}=s(U,e);switch(r){case"referenceHidden":{let r=R(await n.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:S(r)}}}case"escaped":{let r=R(await n.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:S(r)}}}default:return{}}}}).name,fn:q.fn,options:[z,W]}]}),e1=eO.setPlacementState;(0,eR.useLayoutEffect)(()=>(e1(eq),()=>{e1(void 0)}),[eq,e1]);let[e5,e2]=eV(eq),e3=(0,eE.useCallbackRef)(ex);(0,eR.useLayoutEffect)(()=>{eQ&&e3?.()},[eQ,e3]);let e8=e0.arrow?.x,e6=e0.arrow?.y,e7=e0.arrow?.centerOffset!==0,[e4,e9]=n.useState();return(0,eR.useLayoutEffect)(()=>{eA&&e9(window.getComputedStyle(eA).zIndex)},[eA]),(0,eb.jsx)("div",{ref:eX.setFloating,"data-radix-popper-content-wrapper":"",style:{...eJ,transform:eQ?eJ.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e4,"--radix-popper-transform-origin":[e0.transformOrigin?.x,e0.transformOrigin?.y].join(" "),...e0.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eb.jsx)(eB,{scope:ee,placedSide:e5,placedAlign:e2,onArrowChange:eF,arrowX:e8,arrowY:e6,shouldHideArrow:e7,children:(0,eb.jsx)(ew.Primitive.div,{"data-side":e5,"data-align":e2,...eM,ref:eT,style:{...eM.style,animation:eQ?eM.style?.animation:"none"}})})})},"PopperContent")),eK={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},ez=n.forwardRef(eP(function(e,t){let{__scopePopper:n,...r}=e,o=eH("PopperArrow",n),i=eK[o.placedSide];return(0,eb.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eb.jsx)(eD,{...r,ref:t,style:{...r.style,display:"block"}})})},"PopperArrow"));function eW(e){return null!==e}eP(eW,"isNotNull");var eU=eP(e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,u=i?0:e.arrowHeight,[c,l]=eV(n),s={start:"0%",center:"50%",end:"100%"}[l],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+u/2,y="",m="";return"bottom"===c?(y=i?s:`${d}px`,m=`${-u}px`):"top"===c?(y=i?s:`${d}px`,m=`${r.floating.height+u}px`):"right"===c?(y=`${-u}px`,m=i?s:`${f}px`):"left"===c&&(y=`${r.floating.width+u}px`,m=i?s:`${f}px`),{data:{x:y,y:m}}}}),"transformOrigin");function eV(e){let[t,n="center"]=e.split("-");return[t,n]}eP(eV,"getSideAndAlignFromPlacement"),e.s(["Anchor",0,eF,"Arrow",0,ez,"Content",0,eG,"Root",0,ej,"createPopperScope",0,eL],212534)},296113,21738,e=>{"use strict";var t,n=e.i(395038),r=e.i(543836),o=e.i(978238),i=e.i(166100),a=e.i(232253),u=e.i(316722),c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0}),s="dismissableLayer.update",d=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),f=n.forwardRef(l(function(e,c){let{disableOutsidePointerEvents:f=!1,deferPointerDownOutside:y=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:C,onInteractOutside:w,onDismiss:b,...I}=e,D=n.useContext(d),[N,x]=n.useState(null),E=N?.ownerDocument??globalThis?.document,[,R]=n.useState({}),S=(0,i.useComposedRefs)(c,x),M=Array.from(D.layers),[P]=[...D.layersWithOutsidePointerEventsDisabled].slice(-1),O=P?M.indexOf(P):-1,A=N?M.indexOf(N):-1,L=D.layersWithOutsidePointerEventsDisabled.size>0,T=A>=O,k=n.useRef(!1),j=p(e=>{g?.(e),w?.(e),e.defaultPrevented||b?.()},{ownerDocument:E,deferPointerDownOutside:y,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:D.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...D.branches].some(t=>t.contains(e));return T&&!t},[D.branches,T])}),F=h(e=>{if(y&&k.current)return;let t=e.target;![...D.branches].some(e=>e.contains(t))&&(C?.(e),w?.(e),e.defaultPrevented||b?.())},E),_=!!N&&A===M.length-1,B=(0,a.useCallbackRef)(e=>{"Escape"===e.key&&(m?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))});return n.useEffect(()=>{if(_)return E.addEventListener("keydown",B,{capture:!0}),()=>E.removeEventListener("keydown",B,{capture:!0})},[E,_,B]),n.useEffect(()=>{if(N)return f&&(0===D.layersWithOutsidePointerEventsDisabled.size&&(t=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),D.layersWithOutsidePointerEventsDisabled.add(N)),D.layers.add(N),v(),()=>{f&&(D.layersWithOutsidePointerEventsDisabled.delete(N),0===D.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=t))}},[N,E,f,D]),n.useEffect(()=>()=>{N&&(D.layers.delete(N),D.layersWithOutsidePointerEventsDisabled.delete(N),v())},[N,D]),n.useEffect(()=>{let e=l(()=>R({}),"handleUpdate");return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,u.jsx)(o.Primitive.div,{...I,ref:S,style:{pointerEvents:L?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,j.onPointerDownCapture)})},"DismissableLayer"));function y(){let e=n.useContext(d),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}l(y,"useDismissableLayerSurface");var m=l(()=>!0,"IS_TRUE");function p(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:u,shouldHandlePointerDownOutside:c=m}=t,s=(0,a.useCallbackRef)(e),d=n.useRef(!1),f=n.useRef(!1),y=n.useRef(new Map),p=n.useRef(()=>{});return n.useEffect(()=>{function e(){f.current=!1,i.current=!1,y.current.clear()}function t(){return Array.from(y.current.values()).some(Boolean)}function n(e){if(!f.current)return;let t=e.target;t instanceof Node&&[...u].some(e=>e.contains(t))||y.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{f.current&&p.current()},0)}function a(e){f.current&&y.current.set(e.type,!1)}l(e,"resetOutsideInteraction"),l(t,"isOutsideInteractionIntercepted"),l(n,"handleInteractionCapture"),l(a,"handleInteractionBubble");let m=l(n=>{if(n.target&&!d.current){let a=function(){r.removeEventListener("click",p.current);let n=t();e(),n||g("dismissableLayer.pointerDownOutside",s,u,{discrete:!0})};if(l(a,"handleAndDispatchPointerDownOutsideEvent"),!c(n.target)){r.removeEventListener("click",p.current),e(
1),d.current=!1;return}let u={originalEvent:n};f.current=!0,i.current=o&&0===n.button,y.current.clear(),o&&0===n.button?(r.removeEventListener("click",p.current),p.current=a,r.addEventListener("click",p.current,{once:!0})):a()}else r.removeEventListener("click",p.current),e();d.current=!1},"handlePointerDown"),h=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of h)r.addEventListener(e,n,!0),r.addEventListener(e,a);let v=window.setTimeout(()=>{r.addEventListener("pointerdown",m)},0);return()=>{for(let e of(window.clearTimeout(v),r.removeEventListener("pointerdown",m),r.removeEventListener("click",p.current),h))r.removeEventListener(e,n,!0),r.removeEventListener(e,a)}},[r,s,o,i,u,c]),{onPointerDownCapture:l(()=>d.current=!0,"onPointerDownCapture")}}function h(e,t=globalThis?.document){let r=(0,a.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=l(e=>{e.target&&!o.current&&g("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:l(()=>o.current=!0,"onFocusCapture"),onBlurCapture:l(()=>o.current=!1,"onBlurCapture")}}function v(){let e=new CustomEvent(s);document.dispatchEvent(e)}function g(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}l(p,"usePointerDownOutside"),l(h,"useFocusOutside"),l(v,"dispatchUpdate"),l(g,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",0,f,"useDismissableLayerSurface",0,y],296113);var C=e.i(789018),w=e.i(44532),b=Object.defineProperty,I=n.forwardRef(b(function(e,t){let{container:r,...i}=e,[a,c]=n.useState(!1);(0,w.useLayoutEffect)(()=>c(!0),[]);let l=r||a&&globalThis?.document?.body;return l?C.createPortal((0,u.jsx)(o.Primitive.div,{...i,ref:t}),l):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,I],21738)},432567,997611,e=>{"use strict";var t=e.i(395038),n=e.i(44532),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[r,a]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(a,"name",{value:"useId",configurable:!0}),e.s(["useId",0,a],432567);var u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0});function l(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}c(l,"useStateMachine");var s=c(e=>{let{present:n,children:r}=e,o=d(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=y(o.ref,p(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function d(e){let[r,o]=t.useState(),i=t.useRef(null),a=t.useRef(e),u=t.useRef("none"),s=t.useRef(void 0),[d,f]=l(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(u.current=s.current??m(i.current),s.current=void 0):u.current="none"},[d]),(0,n.useLayoutEffect)(()=>{let t=i.current,n=a.current;if(n!==e){let r=u.current,o=m(t);e?(s.current=o,f("MOUNT")):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),a.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=c(n=>{let o=m(i.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(f("ANIMATION_END"),!a.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),o=c(e=>{e.target===r&&(u.current=m(i.current))},"handleAnimationStart");return r.addEventListener("animationstart",o),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}f("ANIMATION_END")},[r,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,s.current=m(t)}else i.current=null;o(e)},[])}}function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function y(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=f(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():f(t[e],null)}}},[])}function m(e){return e?.animationName||"none"}function p(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}c(d,"usePresence"),c(f,"setRef"),c(y,"useStableComposedRefs"),c(m,"getAnimationName"),c(p,"getElementRef"),e.s(["Presence",0,s],997611)},360065,e=>{"use strict";var t=e.i(395038),n=e.i(543836),r=e.i(669539),o=e.i(166100),i=e.i(264145),a=e.i(432567),u=e.i(978238),c=e.i(232253),l=e.i(315671),s=e.i(900877),d=e.i(44532),f=Object.defineProperty,y=(e,t)=>f(e,"name",{value:t,configurable:!0}),m=!1;function p(){let[e,n]=t.useState(m);return t.useEffect(()=>{m||(m=!0,n(!0))},[]),e}y(p,"useIsHydrated");var h=t[" useSyncExternalStore ".trim().toString()];function v(){return()=>{}}function g(){return h(v,()=>!0,()=>!1)}y(v,"subscribe"),y(g,"useIsHydratedModern");
1var C="function"==typeof h?g:p,w=e.i(316722),b=Object.defineProperty,I=(e,t)=>b(e,"name",{value:t,configurable:!0}),D="rovingFocusGroup.onEntryFocus",N={bubbles:!1,cancelable:!0},x="RovingFocusGroup",[E,R,S]=(0,r.createCollection)(x),[M,P]=(0,i.createContextScope)(x,[S]),[O,A]=M(x),L=t.forwardRef(I(function(e,t){return(0,w.jsx)(E.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(E.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(T,{...e,ref:t})})})},"RovingFocusGroup")),T=t.forwardRef(I(function(e,r){let{__scopeRovingFocusGroup:i,orientation:a,loop:d=!1,dir:f,currentTabStopId:y,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:v=!1,...g}=e,C=t.useRef(null),b=(0,o.useComposedRefs)(r,C),I=(0,s.useDirection)(f),[E,S]=(0,l.useControllableState)({prop:y,defaultProp:m??null,onChange:p,caller:x}),[M,P]=t.useState(!1),A=(0,c.useCallbackRef)(h),L=R(i),T=t.useRef(!1),[k,j]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(D,A),()=>e.removeEventListener(D,A)},[A]),(0,w.jsx)(O,{scope:i,orientation:a,dir:I,loop:d,currentTabStopId:E,onItemFocus:t.useCallback(e=>S(e),[S]),onItemShiftTab:t.useCallback(()=>P(!0),[]),onFocusableItemAdd:t.useCallback(()=>j(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>j(e=>e-1),[]),children:(0,w.jsx)(u.Primitive.div,{tabIndex:M||0===k?-1:0,"data-orientation":a,...g,ref:b,style:{outline:"none",...e.style},onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,n.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(D,N);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}T.current=!1}),onBlur:(0,n.composeEventHandlers)(e.onBlur,()=>P(!1))})})},"RovingFocusGroupImpl")),k=t.forwardRef(I(function(e,r){let{__scopeRovingFocusGroup:o,focusable:i=!0,active:c=!1,tabStopId:l,children:s,...f}=e,y=(0,a.useId)(),m=l||y,p=A("RovingFocusGroupItem",o),h=p.currentTabStopId===m,v=R(o),{onFocusableItemAdd:g,onFocusableItemRemove:b,currentTabStopId:I}=p,D=C();return(0,d.useLayoutEffect)(()=>{if(D&&i)return g(),()=>b()},[D,i,g,b]),t.useEffect(()=>{if(!D&&i)return g(),()=>b()},[D,i,g,b]),(0,w.jsx)(E.ItemSlot,{scope:o,id:m,focusable:i,active:c,children:(0,w.jsx)(u.Primitive.span,{tabIndex:h?0:-1,"data-orientation":p.orientation,...f,ref:r,onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,e=>{i?p.onItemFocus(m):e.preventDefault()}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>p.onItemFocus(m)),onKeyDown:(0,n.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=_(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?H(n,r+1):n.slice(r+1)}setTimeout(()=>B(n))}}),children:"function"==typeof s?s({isCurrentTabStop:h,hasTabStop:null!=I}):s})})},"RovingFocusGroupItem")),j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function _(e,t,n){let r=F(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return j[r]}function B(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function H(e,t){return e.map((n,r)=>e[(t+r)%e.length])}I(F,"getDirectionAwareKey"),I(_,"getFocusIntent"),I(B,"focusFirst"),I(H,"wrapArray"),e.s(["Item",0,k,"Root",0,L,"createRovingFocusGroupScope",0,P],360065)},73772,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,u,c){var l=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[u]||(r[u]=new WeakMap);var s=r[u],d=[],f=new Set,y=new Set(l),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};l.forEach(m);var p=function(e){!e||y.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);
1else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(s.get(e)||0)+1;t.set(e,i),s.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(u,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(a),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=s.get(e)-1;t.set(e,r),s.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(u)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),a(r,o,n,"aria-hidden")):function(){return null}}])},715588,e=>{"use strict";var t,n,r,o,i,a,u,c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var s=("function"==typeof SuppressedError&&SuppressedError,e.i(395038)),d="right-scroll-bar-position",f="width-before-scroll-bar";function y(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?s.useLayoutEffect:s.useEffect,p=new WeakMap,h=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=c({async:!0,ssr:!1},t),i),v=function(){},g=s.forwardRef(function(e,t){var n,r,o,i,a=s.useRef(null),u=s.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),d=u[0],f=u[1],g=e.forwardProps,C=e.children,w=e.className,b=e.removeScrollBar,I=e.enabled,D=e.shards,N=e.sideCar,x=e.noRelative,E=e.noIsolation,R=e.inert,S=e.allowPinchZoom,M=e.as,P=e.gapMode,O=l(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[a,t],r=function(e){return n.forEach(function(t){return y(t,e)})}
1,(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,m(function(){var e=p.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||y(e,null)}),r.forEach(function(e){t.has(e)||y(e,o)})}p.set(i,n)},[n]),i),L=c(c({},O),d);return s.createElement(s.Fragment,null,I&&s.createElement(N,{sideCar:h,removeScrollBar:b,shards:D,noRelative:x,noIsolation:E,inert:R,setCallbacks:f,allowPinchZoom:!!S,lockRef:a,gapMode:P}),g?s.cloneElement(s.Children.only(C),c(c({},L),{ref:A})):s.createElement(void 0===M?"div":M,c({},L,{className:w,ref:A}),C))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:f,zeroRight:d};var C=function(e){var t=e.sideCar,n=l(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,c({},n))};C.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=w();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},I=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},D={left:0,top:0,right:0,gap:0},N=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[N(n),N(r),N(o)]},E=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return D;var t=x(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},R=I(),S="data-scroll-locked",M=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(S,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(f," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(S,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},P=function(){var e=parseInt(document.body.getAttribute(S)||"0",10);return isFinite(e)?e:0},O=function(){s.useEffect(function(){return document.body.setAttribute(S,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(S):document.body.setAttribute(S,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;O();var i=s.useMemo(function(){return E(o)},[o]);return s.createElement(R,{styles:M(i,!t,o,n?"":"!important")})},L=!1;if("u">typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){L=!1}var k=!!L&&{passive:!1},j=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=B(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?j(t,"overflowY"):j(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},H=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),u=a*r,c=n.target,l=t.contains(c),s=!1,d=u>0,f=0,y=0;do{if(!c)break;var m=B(e,c),p=m[0],h=m[1]-m[2]-a*p;(p||h)&&_(e,c)&&(f+=h,y+=p);var v=c.parentNode;c=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&c!==document.body||l&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&u>f)?s=!0:!d&&(o&&1>Math.abs(y)||!o&&-u>y)&&(s=!0),s},G=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},W=0,U=[];let V=(a=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(W++)[0],i=s.useState(I)[0],a=s.useRef(e);s.useEffect(function(){a.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=G(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),y=f&&f.anchorNode;if(y&&(y===s||y.contains(s)))return!1;var m=F(d,s);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=F(d,s)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var p=r.current||o;return H(p,t,e,"h"===p?c:l,!0)},[]),c=s.useCallback(function(e){if(U.length&&U[U.length-1]===i){var n="deltaY"in e?K(e):G(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=s.useCallback(function(e){n.current=G(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,K(t),t.target,u(t,e.lockRef.current))},[]),y=s.useCallback(function(t){l(t.type,G(t),t.target,u(t,e.lockRef.current))},[]);s.useEffect(function(){return U.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:y}),document.addEventListener("wheel",c,k),document.addEventListener("touchmove",c,k),document.addEventListener("touchstart",d,k),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,k),document.removeEventListener("touchmove",c,k),document.removeEventListener("touchstart",d,k)}},[]);var m=e.removeScrollBar,p=e.inert;return s.createElement(s.Fragment,null,p?s.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?s.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(a),C);var $=s.forwardRef(function(e,t){return s.createElement(g,c({},e,{ref:t,sideCar:V}))});$.classNames=g.classNames,e.s(["RemoveScroll",0,$],715588)},755146,e=>{"use strict";var t=e.i(316722),n=e.i(394775),r=e.i(395038),o=e.i(543836),i=e.i(166100),a=e.i(264145),u=e.i(315671),c=e.i(978238),l=e.i(669539),s=e.i(900877),d=e.i(296113),f=e.i(314408),y=e.i(349032),m=e.i(432567),p=e.i(212534),h=e.i(21738),v=e.i(997611),g=e.i(360065),C=e.i(617739),w=e.i(232253),b=e.i(73772),I=e.i(715588),D=Object.defineProperty,N=(e,t)=>D(e,"name",{value:t,configurable:!0}),x=["Enter"," "],E=["ArrowUp","PageDown","End"],R=["ArrowDown","PageUp","Home",...E],S={ltr:[...x,"ArrowRight"],rtl:[...x,"ArrowLeft"]},M={ltr:["ArrowLeft"],rtl:["ArrowRight"]},P="Menu",[O,A,L]=(0,l.createCollection)(P),[T,k]=(0,a.createContextScope)(P,[L,p.createPopperScope,g.createRovingFocusGroupScope]),j=(0,p.createPopperScope)(),F=(0,g.createRovingFocusGroupScope)(),[_,B]=T(P),[H,G]=T(P),K=N(e=>{let{__scopeMenu:n,open:o=!1,children:i,dir:a,onOpenChange:u,modal:c=!0}=e,l=j(n),[d,f]=r.useState(null),y=r.useRef(!1),m=(0,w.useCallbackRef)(u),h=(0,s.useDirection)(a);return r.useEffect(()=>{let e=N(()=>{y.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},"handleKeyDown"),t=N(()=>y.current=!1,"handlePointer");return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),r.useEffect(()=>{if(!o)return;let e=N(()=>m(!1),"handleBlur");return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[o,m]),(0,t.jsx)(p.Root,{...l,children:(0,t.jsx)(_,{scope:n,open:o,onOpenChange:m,content:d,onContentChange:f,children:(0,t.jsx)(H,{scope:n,onClose:r.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:y,dir:h,modal:c,children:i})})})},"Menu"),z=r.forwardRef(N(function(e,n){let{__scopeMenu:r,...o}=e,i=j(r);return(0,t.jsx)(p.Anchor,{...i,...o,ref:n})},"MenuAnchor")),W="MenuPortal",[U,V]=T(W,{forceMount:void 0}),$=N(e=>{let{__scopeMenu:n,forceMount:r,children:o,container:i}=e,a=B(W,n);return(0,t.jsx)(U,{scope:n,forceMount:r,children:(0,t.jsx)(v.Presence,{present:r||a.open,children:(0,t.jsx)(h.Portal,{asChild:!0,container:i,children:o})})})},"MenuPortal"),Z="MenuContent",[Y,X]=T(Z),J=r.forwardRef(N(function(e,n){let r=V(Z,e.__scopeMenu),{forceMount:o=r.forceMount,...i}
1=e,a=B(Z,e.__scopeMenu),u=G(Z,e.__scopeMenu);return(0,t.jsx)(O.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(v.Presence,{present:o||a.open,children:(0,t.jsx)(O.Slot,{scope:e.__scopeMenu,children:u.modal?(0,t.jsx)(q,{...i,ref:n}):(0,t.jsx)(Q,{...i,ref:n})})})})},"MenuContent")),q=r.forwardRef(N(function(e,n){let a=B(Z,e.__scopeMenu),u=r.useRef(null),c=(0,i.useComposedRefs)(n,u);return r.useEffect(()=>{let e=u.current;if(e)return(0,b.hideOthers)(e)},[]),(0,t.jsx)(et,{...e,ref:c,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})},"MenuRootContentModal")),Q=r.forwardRef(N(function(e,n){let r=B(Z,e.__scopeMenu);return(0,t.jsx)(et,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})},"MenuRootContentNonModal")),ee=(0,C.createSlot)("MenuContent.ScrollLock"),et=r.forwardRef(N(function(e,n){let{__scopeMenu:a,loop:u=!1,trapFocus:c,onOpenAutoFocus:l,onCloseAutoFocus:s,disableOutsidePointerEvents:m,onEntryFocus:h,onEscapeKeyDown:v,onPointerDownOutside:C,onFocusOutside:w,onInteractOutside:b,onDismiss:D,disableOutsideScroll:x,...S}=e,M=B(Z,a),P=G(Z,a),O=j(a),L=F(a),T=A(a),[k,_]=r.useState(null),H=r.useRef(null),K=(0,i.useComposedRefs)(n,H,M.onContentChange),z=r.useRef(0),W=r.useRef(""),U=r.useRef(0),V=r.useRef(null),$=r.useRef("right"),X=r.useRef(0),J=x?I.RemoveScroll:r.Fragment,q=N(e=>{let t=W.current+e,n=T().filter(e=>!e.disabled),r=document.activeElement,o=n.find(e=>e.ref.current===r)?.textValue,i=eS(n.map(e=>e.textValue),t,o),a=n.find(e=>e.textValue===i)?.ref.current;a&&setTimeout(()=>a.focus())},"handleTypeaheadSearch");r.useEffect(()=>()=>window.clearTimeout(z.current),[]),(0,f.useFocusGuards)();let Q=r.useCallback(e=>$.current===V.current?.side&&eP(e,V.current?.area),[]);return(0,t.jsx)(Y,{scope:a,searchRef:W,onItemEnter:r.useCallback(e=>{Q(e)&&e.preventDefault()},[Q]),onItemLeave:r.useCallback(e=>{Q(e)||(H.current?.focus(),_(null))},[Q]),onTriggerLeave:r.useCallback(e=>{Q(e)&&e.preventDefault()},[Q]),pointerGraceTimerRef:U,onPointerGraceIntentChange:r.useCallback(e=>{V.current=e},[]),children:(0,t.jsx)(J,{...x?{as:ee,allowPinchZoom:!0}:void 0,children:(0,t.jsx)(y.FocusScope,{asChild:!0,trapped:c,onMountAutoFocus:(0,o.composeEventHandlers)(l,e=>{e.preventDefault(),H.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,t.jsx)(d.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:v,onPointerDownOutside:C,onFocusOutside:w,onInteractOutside:b,onDismiss:D,children:(0,t.jsx)(g.Root,{asChild:!0,...L,dir:P.dir,orientation:"vertical",loop:u,currentTabStopId:k,onCurrentTabStopIdChange:_,onEntryFocus:(0,o.composeEventHandlers)(h,e=>{P.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(p.Content,{role:"menu","aria-orientation":"vertical","data-state":eD(M.open),"data-radix-menu-content":"",dir:P.dir,...O,...S,ref:K,style:{outline:"none",...S.style},onKeyDown:(0,o.composeEventHandlers)(S.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&q(e.key));let o=H.current;if(e.target!==o||!R.includes(e.key))return;e.preventDefault();let i=T().filter(e=>!e.disabled).map(e=>e.ref.current);E.includes(e.key)&&i.reverse(),eE(i)}),onBlur:(0,o.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(z.current),W.current="")}),onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eO(e=>{let t=e.target,n=X.current!==e.clientX;e.currentTarget.contains(t)&&n&&($.current=e.clientX>X.current?"right":"left",X.current=e.clientX)}))})})})})})})},"MenuContentImpl")),en=r.forwardRef(N(function(e,n){let{__scopeMenu:r,...o}=e;return(0,t.jsx)(c.Primitive.div,{role:"group",...o,ref:n})},"MenuGroup")),er=r.forwardRef(N(function(e,n){let{__scopeMenu:r,...o}=e;return(0,t.jsx)(c.Primitive.div,{...o,ref:n})},"MenuLabel")),eo="MenuItem",ei="menu.itemSelect",ea=r.forwardRef(N(function(e,n){let{disabled:a=!1,onSelect:u,...l}=e,s=r.useRef(null),d=G(eo,e.__scopeMenu),f=X(eo,e.__scopeMenu),y=(0,i.useComposedRefs)(n,s),m=r.useRef(!1),p=N(()=>{let e=s.current;if(!a&&e){let t=new CustomEvent(ei,{bubbles:!0,cancelable:!0});e.addEventListener(ei,e=>u?.(e),{once:!0}),(0,c.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:d.onClose()}},"handleSelect");return(0,t.jsx)(eu,{...l,ref:y,disabled:a,onClick:(0,o.composeEventHandlers)(e.onClick,p),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,o.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{a||e.target!==e.currentTarget||(""===f.searchRef.current||" "!==e.key)&&x.includes(e.ke
1y)&&(e.currentTarget.click(),e.preventDefault())})})},"MenuItem")),eu=r.forwardRef(N(function(e,n){let{__scopeMenu:a,disabled:u=!1,textValue:l,...s}=e,d=X(eo,a),f=F(a),y=r.useRef(null),m=(0,i.useComposedRefs)(n,y),[p,h]=r.useState(!1),[v,C]=r.useState("");return r.useEffect(()=>{let e=y.current;e&&C((e.textContent??"").trim())},[s.children]),(0,t.jsx)(O.ItemSlot,{scope:a,disabled:u,textValue:l??v,children:(0,t.jsx)(g.Item,{asChild:!0,...f,focusable:!u,children:(0,t.jsx)(c.Primitive.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0,...s,ref:m,onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eO(e=>{u?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,eO(e=>d.onItemLeave(e))),onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>h(!0)),onBlur:(0,o.composeEventHandlers)(e.onBlur,()=>h(!1))})})})},"MenuItemImpl")),ec=r.forwardRef(N(function(e,n){let{checked:r=!1,onCheckedChange:i,...a}=e;return(0,t.jsx)(ey,{scope:e.__scopeMenu,checked:r,children:(0,t.jsx)(ea,{role:"menuitemcheckbox","aria-checked":eN(r)?"mixed":r,...a,ref:n,"data-state":ex(r),onSelect:(0,o.composeEventHandlers)(a.onSelect,()=>i?.(!!eN(r)||!r),{checkForDefaultPrevented:!1})})})},"MenuCheckboxItem")),[el,es]=T("MenuRadioGroup",{value:void 0,onValueChange:N(()=>{},"onValueChange")}),ed=r.forwardRef(N(function(e,n){let{value:r,...i}=e,a=es("MenuRadioItem",e.__scopeMenu),u=r===a.value;return(0,t.jsx)(ey,{scope:e.__scopeMenu,checked:u,children:(0,t.jsx)(ea,{role:"menuitemradio","aria-checked":u,...i,ref:n,"data-state":ex(u),onSelect:(0,o.composeEventHandlers)(i.onSelect,()=>a.onValueChange?.(r),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),ef="MenuItemIndicator",[ey,em]=T(ef,{checked:!1}),ep=r.forwardRef(N(function(e,n){let{__scopeMenu:r,forceMount:o,...i}=e,a=em(ef,r);return(0,t.jsx)(v.Presence,{present:o||eN(a.checked)||!0===a.checked,children:(0,t.jsx)(c.Primitive.span,{...i,ref:n,"data-state":ex(a.checked)})})},"MenuItemIndicator")),eh=r.forwardRef(N(function(e,n){let{__scopeMenu:r,...o}=e;return(0,t.jsx)(c.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})},"MenuSeparator")),ev="MenuSub",[eg,eC]=T(ev),ew=(e=>{let{__scopeMenu:n,children:o,open:i=!1,onOpenChange:a}=e,u=B(ev,n),c=j(n),[l,s]=r.useState(null),[d,f]=r.useState(null),y=(0,w.useCallbackRef)(a);return r.useEffect(()=>(!1===u.open&&y(!1),()=>y(!1)),[u.open,y]),(0,t.jsx)(p.Root,{...c,children:(0,t.jsx)(_,{scope:n,open:i,onOpenChange:y,content:d,onContentChange:f,children:(0,t.jsx)(eg,{scope:n,contentId:(0,m.useId)(),triggerId:(0,m.useId)(),trigger:l,onTriggerChange:s,children:o})})})},"MenuSubTrigger"),eb=r.forwardRef(N(function(e,n){let a=B(ew,e.__scopeMenu),u=G(ew,e.__scopeMenu),c=eC(ew,e.__scopeMenu),l=X(ew,e.__scopeMenu),s=r.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=l,y={__scopeMenu:e.__scopeMenu},m=r.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);r.useEffect(()=>m,[m]),r.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),f(null)}},[d,f]);let p=(0,i.useComposedRefs)(n,c.onTriggerChange);return(0,t.jsx)(z,{asChild:!0,...y,children:(0,t.jsx)(eu,{id:c.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?c.contentId:void 0,"data-state":eD(a.open),...e,ref:p,onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,eO(t=>{l.onItemEnter(t),!t.defaultPrevented&&(e.disabled||a.open||s.current||(l.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{a.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,o.composeEventHandlers)(e.onPointerLeave,eO(e=>{m();let t=a.content?.getBoundingClientRect();if(t){let n=a.content?.dataset.side,r="right"===n,o=t[r?"left":"right"],i=t[r?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(r?-5:5),y:e.clientY},{x:o,y:t.top},{x:i,y:t.top},{x:i,y:t.bottom},{x:o,y:t.bottom}],side:n}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||(""===l.searchRef.current||" "!==t.key)&&S[u.dir].includes(t.key)&&(a.onOpenChange(!0),a.content?.focus(),t.preventDefault())})})})},"MenuSubTrigger")),eI=r.forwardRef(N(function(e,n){let a=V(Z,e.__scopeMenu),{forceMount:u=a.forceMount,align:c="start",...l}=e,s=B(Z,e.__scopeMenu),d=G(Z,e.__scopeMenu),f=eC("MenuSubContent",e.__scopeMenu),y=r.useRef(null),m=(0,i.useComposedRefs)(n,y);return(0,t.jsx)(O.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(v.Presence,{present:u||s.open,children:(0,t.jsx)(O.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(et,{id:f.contentId,"aria-labelledby":f.triggerId,...l,ref:m,align:c,side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{d.isUsingKeyboardRef.current&&y.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==f.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.composeEventHandlers)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=M[d.dir].includes(e.ke
1y);t&&n&&(s.onOpenChange(!1),f.trigger?.focus(),e.preventDefault())})})})})})},"MenuSubContent"));function eD(e){return e?"open":"closed"}function eN(e){return"indeterminate"===e}function ex(e){return eN(e)?"indeterminate":e?"checked":"unchecked"}function eE(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function eR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function eS(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,i=eR(e,Math.max(o,0));1===r.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function eM(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],u=t[i],c=a.x,l=a.y,s=u.x,d=u.y;l>r!=d>r&&n<(s-c)*(r-l)/(d-l)+c&&(o=!o)}return o}function eP(e,t){return!!t&&eM({x:e.clientX,y:e.clientY},t)}function eO(e){return t=>"mouse"===t.pointerType?e(t):void 0}N(eD,"getOpenState"),N(eN,"isIndeterminate"),N(ex,"getCheckedState"),N(eE,"focusFirst"),N(eR,"wrapArray"),N(eS,"getNextMatch"),N(eM,"isPointInPolygon"),N(eP,"isPointerInGraceArea"),N(eO,"whenMouse");var eA=Object.defineProperty,eL=(e,t)=>eA(e,"name",{value:t,configurable:!0}),eT="DropdownMenu",[ek,ej]=(0,a.createContextScope)(eT,[k]),eF=k(),[e_,eB]=ek(eT),eH=eL(e=>{let{__scopeDropdownMenu:n,children:o,dir:i,open:a,defaultOpen:c,onOpenChange:l,modal:s=!0}=e,d=eF(n),f=r.useRef(null),[y,p]=(0,u.useControllableState)({prop:a,defaultProp:c??!1,onChange:l,caller:eT});return(0,t.jsx)(e_,{scope:n,triggerId:(0,m.useId)(),triggerRef:f,contentId:(0,m.useId)(),open:y,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:(0,t.jsx)(K,{...d,open:y,onOpenChange:p,dir:i,modal:s,children:o})})},"DropdownMenu"),eG=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,disabled:a=!1,...u}=e,l=eB("DropdownMenuTrigger",r),s=eF(r),d=(0,i.useComposedRefs)(n,l.triggerRef);return(0,t.jsx)(z,{asChild:!0,...s,children:(0,t.jsx)(c.Primitive.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...u,ref:d,onPointerDown:(0,o.composeEventHandlers)(e.onPointerDown,e=>{!a&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{!a&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})},"DropdownMenuTrigger")),eK=eL(e=>{let{__scopeDropdownMenu:n,...r}=e,o=eF(n);return(0,t.jsx)($,{...o,...r})},"DropdownMenuPortal"),ez=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:i,...a}=e,u=eB("DropdownMenuContent",i),c=eF(i),l=r.useRef(!1);return(0,t.jsx)(J,{id:u.contentId,"aria-labelledby":u.triggerId,...c,...a,ref:n,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||u.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!u.modal||r)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuContent")),eW=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(er,{...i,...o,ref:n})},"DropdownMenuLabel")),eU=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(ea,{...i,...o,ref:n})},"DropdownMenuItem")),eV=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(ec,{...i,...o,ref:n})},"DropdownMenuCheckboxItem")),e$=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(ed,{...i,...o,ref:n})},"DropdownMenuRadioItem")),eZ=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(ep,{...i,...o,ref:n})},"DropdownMenuItemIndicator")),eY=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(eh,{...i,...o,ref:n})},"DropdownMenuSeparator")),eX=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(eb,{...i,...o,ref:n})},"DropdownMenuSubTrigger")),eJ=r.forwardRef(eL(function(e,n){let{__scopeDropdownMenu:r,...o}=e,i=eF(r);return(0,t.jsx)(eI,{...i,...o,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuSubContent")),eq=e.i(780307);e.i(879121);var eQ=e.i(441866);r.forwardRef((e,r)=>{let o,i,a,u,c,l,s,d=(0,n.c)(14);d[0]!==e?({className:i,inset:a,children:o,...u}=e,d[0]=e,d[1]=o,d[2]=i,d[3]=a,d[4]=u):(o=d[1],i=d[2],a=d[3],u=d[4]);let f=a&&"pl-8";return d[5]!==i||d[6]!==f?(c=(0,eQ.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden focu
1s:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",f,i),d[5]=i,d[6]=f,d[7]=c):c=d[7],d[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(eq.ChevronRightIcon,{className:"ml-auto"}),d[8]=l):l=d[8],d[9]!==o||d[10]!==u||d[11]!==r||d[12]!==c?(s=(0,t.jsxs)(eX,{ref:r,className:c,...u,children:[o,l]}),d[9]=o,d[10]=u,d[11]=r,d[12]=c,d[13]=s):s=d[13],s}).displayName=eX.displayName,r.forwardRef((e,r)=>{let o,i,a,u,c=(0,n.c)(9);return c[0]!==e?({className:o,...i}=e,c[0]=e,c[1]=o,c[2]=i):(o=c[1],i=c[2]),c[3]!==o?(a=(0,eQ.cn)("data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",o),c[3]=o,c[4]=a):a=c[4],c[5]!==i||c[6]!==r||c[7]!==a?(u=(0,t.jsx)(eJ,{ref:r,className:a,...i}),c[5]=i,c[6]=r,c[7]=a,c[8]=u):u=c[8],u}).displayName=eJ.displayName;let e0=r.forwardRef((e,r)=>{let o,i,a,u,c,l=(0,n.c)(11);l[0]!==e?({className:o,sideOffset:a,...i}=e,l[0]=e,l[1]=o,l[2]=i,l[3]=a):(o=l[1],i=l[2],a=l[3]);let s=void 0===a?4:a;return l[4]!==o?(u=(0,eQ.cn)("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 overflow-y-auto overflow-x-hidden rounded-md border border-base-border bg-base-popover p-1 text-popover-foreground shadow-md","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-dropdown-menu-content-transform-origin) data-[state=closed]:animate-out data-[state=open]:animate-in",o),l[4]=o,l[5]=u):u=l[5],l[6]!==i||l[7]!==r||l[8]!==s||l[9]!==u?(c=(0,t.jsx)(eK,{children:(0,t.jsx)(ez,{ref:r,sideOffset:s,className:u,...i})}),l[6]=i,l[7]=r,l[8]=s,l[9]=u,l[10]=c):c=l[10],c});e0.displayName=ez.displayName;let e1=r.forwardRef((e,r)=>{let o,i,a,u,c,l=(0,n.c)(11);l[0]!==e?({className:o,inset:i,...a}=e,l[0]=e,l[1]=o,l[2]=i,l[3]=a):(o=l[1],i=l[2],a=l[3]);let s=i&&"pl-8";return l[4]!==o||l[5]!==s?(u=(0,eQ.cn)("relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-base-popover-foreground text-sm outline-hidden transition-colors hover:text-base-popover-foreground focus:bg-base-accent data-disabled:pointer-events-none data-disabled:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",s,o),l[4]=o,l[5]=s,l[6]=u):u=l[6],l[7]!==a||l[8]!==r||l[9]!==u?(c=(0,t.jsx)(eU,{ref:r,className:u,...a}),l[7]=a,l[8]=r,l[9]=u,l[10]=c):c=l[10],c});e1.displayName=eU.displayName,r.forwardRef((e,r)=>{let o,i,a,u,c,l,s,d=(0,n.c)(14);return d[0]!==e?({className:a,children:i,checked:o,...u}=e,d[0]=e,d[1]=o,d[2]=i,d[3]=a,d[4]=u):(o=d[1],i=d[2],a=d[3],u=d[4]),d[5]!==a?(c=(0,eQ.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",a),d[5]=a,d[6]=c):c=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(eZ,{children:(0,t.jsx)(eq.CheckIcon,{className:"h-4 w-4"})})}),d[7]=l):l=d[7],d[8]!==o||d[9]!==i||d[10]!==u||d[11]!==r||d[12]!==c?(s=(0,t.jsxs)(eV,{ref:r,className:c,checked:o,...u,children:[l,i]}),d[8]=o,d[9]=i,d[10]=u,d[11]=r,d[12]=c,d[13]=s):s=d[13],s}).displayName=eV.displayName,r.forwardRef((e,r)=>{let o,i,a,u,c,l,s=(0,n.c)(12);return s[0]!==e?({className:i,children:o,...a}=e,s[0]=e,s[1]=o,s[2]=i,s[3]=a):(o=s[1],i=s[2],a=s[3]),s[4]!==i?(u=(0,eQ.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",i),s[4]=i,s[5]=u):u=s[5],s[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,t.jsx)(eZ,{children:(0,t.jsx)(eq.DotFilledIcon,{className:"h-2 w-2 fill-current"})})}),s[6]=c):c=s[6],s[7]!==o||s[8]!==a||s[9]!==r||s[10]!==u?(l=(0,t.jsxs)(e$,{ref:r,className:u,...a,children:[c,o]}),s[7]=o,s[8]=a,s[9]=r,s[10]=u,s[11]=l):l=s[11],l}).displayName=e$.displayName,r.forwardRef((e,r)=>{let o,i,a,u,c,l=(0,n.c)(11);l[0]!==e?({className:o,inset:i,...a}=e,l[0]=e,l[1]=o,l[2]=i,l[3]=a):(o=l[1],i=l[2],a=l[3]);let s=i&&"pl-8";return l[4]!==o||l[5]!==s?(u=(0,eQ.cn)("px-2 py-1.5 font-semibold text-sm",s,o),l[4]=o,l[5]=s,l[6]=u):u=l[6],l[7]!==a||l[8]!==r||l[9]!==u?(c=(0,t.jsx)(eW,{ref:r,className:u,...a}),l[7]=a,l[8]=r,l[9]=u,l[10]=c):c=l[10],c}).displayName=eW.displayName,r.forwardRef((e,r)=>{let o,i,a,u,c=(0,n.c)(9);return c[0]!==e?({className:o,...i}=e,c[0]=e,c[1]=o,c[2]=i):(o=c[1],i=c[2]),c[3]!==o?(a=(0,eQ.cn)("-mx-1 my-1 h-px bg-muted",o),c[3]=o,c[4]=a):a=c[4],c[5]!==i||c[6]!==r||c[7]!==a?(u=(0,t.jsx)(eY,{ref:r,className:a,...i}),c[5]=i,c[6]=r,c[7]=a,c[8]=u):u=c[8],u}).displayName=eY.displayName,e.s(["DropdownMenu",0,eH,"DropdownMenuContent",0,e0,"DropdownMenuItem",0,e1,"DropdownMenuTrigger",0,eG],755146)},610199,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return s},getImageProps:function(){return l}};for(var o in r)Object.defineProperty(n,o,{enumerable:!0,get:r[o]});let i=e.r(481258),a=e.r(480664),u=e.r(888365),c=i._(e.r(355673));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:c.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920],imageSizes:[32,48,64,96,128,256,384],qual
1ities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let s=u.Image},270176,(e,t,n)=>{t.exports=e.r(610199)},666692,e=>{"use strict";var t=e.i(83790);let n={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};n.node;let r=(0,t.default)(n);e.s(["default",0,r])},662284,e=>{"use strict";var t=e.i(879121);let n=[{countryName:"Afghanistan",countryIso:"AF",countryDialCode:"+93"},{countryName:"Aland Islands",countryIso:"AX",countryDialCode:"+358"},{countryName:"Albania",countryIso:"AL",countryDialCode:"+355"},{countryName:"Algeria",countryIso:"DZ",countryDialCode:"+213"},{countryName:"American Samoa",countryIso:"AS",countryDialCode:"+1-684"},{countryName:"Andorra",countryIso:"AD",countryDialCode:"+376"},{countryName:"Angola",countryIso:"AO",countryDialCode:"+244"},{countryName:"Anguilla",countryIso:"AI",countryDialCode:"+1-264"},{countryName:"Antarctica",countryIso:"AQ",countryDialCode:void 0},{countryName:"Antigua and Barbuda",countryIso:"AG",countryDialCode:"+1-268"},{countryName:"Argentina",countryIso:"AR",countryDialCode:"+54"},{countryName:"Armenia",countryIso:"AM",countryDialCode:"+374"},{countryName:"Aruba",countryIso:"AW",countryDialCode:"+297"},{countryName:"Australia",countryIso:"AU",countryDialCode:"+61"},{countryName:"Austria",countryIso:"AT",countryDialCode:"+43"},{countryName:"Azerbaijan",countryIso:"AZ",countryDialCode:"+994"},{countryName:"The Bahamas",countryIso:"BS",countryDialCode:"+1-242"},{countryName:"Bahrain",countryIso:"BH",countryDialCode:"+973"},{countryName:"Bangladesh",countryIso:"BD",countryDialCode:"+880"},{countryName:"Barbados",countryIso:"BB",countryDialCode:"+1-246"},{countryName:"Belarus",countryIso:"BY",countryDialCode:"+375"},{countryName:"Belgium",countryIso:"BE",countryDialCode:"+32"},{countryName:"Belize",countryIso:"BZ",countryDialCode:"+501"},{countryName:"Benin",countryIso:"BJ",countryDialCode:"+229"},{countryName:"Bermuda",countryIso:"BM",countryDialCode:"+1-441"},{countryName:"Bhutan",countryIso:"BT",countryDialCode:"+975"},{countryName:"Bolivia",countryIso:"BO",countryDialCode:"+591"},{countryName:"Bonaire",countryIso:"BQ",countryDialCode:"+599"},{countryName:"Bosnia and Herzegovina",countryIso:"BA",countryDialCode:"+387"},{countryName:"Botswana",countryIso:"BW",countryDialCode:"+267"},{countryName:"Bouvet Island",countryIso:"BV",countryDialCode:void 0},{countryName:"Brazil",countryIso:"BR",countryDialCode:"+55"},{countryName:"British Indian Ocean Territory",countryIso:"IO",countryDialCode:"+246"},{countryName:"Brunei",countryIso:"BN",countryDialCode:"+673"},{countryName:"Bulgaria",countryIso:"BG",countryDialCode:"+359"},{countryName:"Burkina Faso",countryIso:"BF",countryDialCode:"+226"},{countryName:"Burundi",countryIso:"BI",countryDialCode:"+257"},{countryName:"Cabo Verde",countryIso:"CV",countryDialCode:"+238"},{countryName:"Cambodia",countryIso:"KH",countryDialCode:"+855"},{countryName:"Cameroon",countryIso:"CM",countryDialCode:"+237"},{countryName:"Canada",countryIso:"CA",countryDialCode:"+1"},{countryName:"Cayman Islands",countryIso:"KY",countryDialCode:"+1-345"},{countryName:"Central African Republic",countryIso:"CF",countryDialCode:"+236"},{countryName:"Chad",countryIso:"TD",countryDialCode:"+235"},{countryName:"Chile",countryIso:"CL",countryDialCode:"+56"},{countryName:"China",countryIso:"CN",countryDialCode:"+86"},{countryName:"Christmas Island",countryIso:"CX",countryDialCode:"+61"},{countryName:"Cocos Islands",countryIso:"CC",countryDialCode:"+61"},{countryName:"Colombia",countryIso:"CO",countryDialCode:"+57"},{countryName:"Comoros",countryIso:"KM",countryDialCode:"+269"},{countryName:"Congo (Democratic Republic)",countryIso:"CD",countryDialCode:"+243"},{countryName:"Congo (Republic)",countryIso:"CG",countryDialCode:"+242"},{countryName:"Cook Islands",countryIso:"CK",countryDialCode:"+682"},{countryName:"Costa Rica",countryIso:"CR",countryDialCode:"+506"},{countryName:"Côte d'Ivoire",countryIso:"CI",countryDialCode:"+225"},{countryName:"Croatia",countryIso:"HR",countryDialCode:"+385"},{countryName:"Cuba",countryIso:"CU",countryDialCode:"+53"},{countryName:"Curaçao",countryIso:"CW",countryDialCode:"+599"},{countryName:"Cyprus",countryIso:"CY",countryDialCode:"+357"},{countryName:"Czech Republic",countryIso:"CZ",countryDialCode:"+420"},{countryName:"Denmark",countryIso:"DK",countryDialCode:"+45"},{countryName:"Djibouti",countryIso:"DJ",countryDialCode:"+253"},{countryName:"Dominica",countryIso:"DM",countryDialCode:"+1-767"},{countryName:"Dominican Republic",countryIso:"DO",countryDialCode:"+1-809"},{countryName:"Ecuador",countryIso:"EC",countryDialCode:"+593"},{countryName:"Egypt",countryIso:"EG",countryDialCode:"+20"},{countryName:"El Salvador",countryIso:"SV",countryDialCode:"+503"},{countryName:"Equatorial Guinea",countryIso:"GQ",countryDialCode:"+240"},{countryName:"Eritrea",countryIso:"ER",countryDialCode:"+291"},{countryName:"Estonia",countryIso:"EE",countryDialCode:"+372"},{countryName:"Eswatini",countryIso:"SZ",countryDialCode:"+268"},{countryName:"Ethiopia",countryIso:"ET",countryDialCode:"+251"},{countryName:"Falkland Islands",countryIso:"FK",countryDialCode:"+500"},{countryName:"Faroe Islands",countryIso:"FO",countryDialCode:"+298"},{countryName:"Fiji",countryIso:"FJ",countryDialCode:"+679"},{countryName:"Finland",countryIso:"FI",countryDialCode:"+358"},{countryName:"France",countryIso:"FR",countryDialCode:"+33"},{countryName:"French Guiana",countryIso:"GF",countryDialCode:"+594"},{countryName:"French Polynesia",countryIso:"PF",countryDialCode:"+689"},{countryName:"French Southern Territories",countryIso:"TF",countryDialCode:void 0},{countryName:"Gabon",countryIso:"GA",countryDialCode:"+241"},{countryName:"Gambia",countryIso:"GM",countryDialCode:"+220"},{countryName:"Georgia",countryIso:"GE",countryDialCode:"+995"},{countryName:"Germany",countryIso:"DE",countryDialCode:"+49"},{countryName:"Ghana",countryIso:"GH",countryDialCode:"+233"},{countryName:"Gibraltar",countryIso:"GI",countryDialCode:"+350"},{countryName:"Greece",countryIso:"GR",countryDialCode:"+30"},{countryName:"Greenland",countryIso:"GL",countryDialCode:"+299"},{countryName:"Grenada",countryIso:"GD",countryDialCode:"+1-473"},{countryName:"Guadeloupe",countryIso:"GP",countryDialCode:"+590"},{countryName:"Guam",countryIso:"GU",countryDialCode:"+1-671"},{countryName:"Guatemala",countryIso:"GT",countryDialCode:"+502"},{countryName:"Guernsey",countryIso:"GG",countryDialCode:"+44"},{countryName:"Guinea",countryIso:"GN",countryDialCode:"+224"},{countryName:"Guinea-Bissau",countryIso:"GW",countryDialCode:"+245"},{countryName:"Guyana",countryIso:"GY",countryDialCode:"+592"},{countryName:"Haiti",countryIso:"HT",countryDialCode:"+509"},{countryName:"Heard Island and McDonald Islands",countryIso:"HM",countryDialCode:void 0},{countryName:"Honduras",countryIso:"HN",countryDialCode:"+504"},{countryName:"Hong Kong",countryIso:"HK",countryDialCode:"+852"},{countryName:"Hungary",countryIso:"HU",countryDialCode:"+36"},{countryName:"Iceland",countryIso:"IS",countryDialCode:"+354"},{countryName:"India",countryIso:"IN",countryDialCode:"+91"},{countryName:"Indonesia",countryIso:"ID",countryDialCode:"+62"},{countryName:"Iran",countryIso:"IR",countryDialCode:"+98"},{countryName:"Iraq",countryIso:"IQ",countryDialCode:"+964"},{countryName:"Ireland",countryIso:"IE",countryDialCode:"+353"},{countryName:"Isle of Man",countryIso:"IM",countryDialCode:"+44"},{countryName:"Israel",countryIso:"IL",countryDialCode:"+972"},{countryName:"Italy",countryIso:"IT",countryDialCode:"+39"},{countryName:"Jamaica",countryIso:"JM",countryDialCode:"+1-876"},{countryName:"Japan",countryIso:"JP",countryDialCode:"+81"},{countryName:"Jersey",countryIso:"JE",countryDialCode:"+44"},{countryName:"Jordan",countryIso:"JO",countryDialCode:"+962"},{countryName:"Kazakhstan",countryIso:"KZ",countryDialCode:"+7"},{countryName:"Kenya",countryIso:"KE",countryDialCode:"+254"},{countryName:"Kiribati",countryIso:"KI",countryDialCode:"+686"},{countryName:"Kosovo",countryIso:"XK",countryDialCode:"+383"},{countryName:"Kuwait",countryIso:"KW",countryDialCode:"+965"},{countryName:"Kyrgyzstan",countryIso:"KG",countryDialCode:"+996"},{countryName:"Laos",countryIso:"LA",countryDialCode:"+856"},{countryName:"Latvia",countryIso:"LV",countryDialCode:"+371"},{countryName:"Lebanon",countryIso:"LB",countryDialCode:"+961"},{countryName:"Lesotho",countryIso:"LS",countryDialCode:"+266"},{countryName:"Liberia",countryIso:"LR",countryDialCode:"+231"},{countryName:"Libya",countryIso:"LY",countryDialCode:"+218"},{countryName:"Liechtenstein",countryIso:"LI",countryDialCode:"+423"},{countryName:"Lithuania",countryIso:"LT",countryDialCode:"+370"},{countryName:"Luxembourg",countryIso:"LU",countryDialCode:"+352"},{countryName:"Macao",countryIso:"MO",countryDialCode:"+853"},{countryName:"Madagascar",countryIso:"MG",countryDialCode:"+261"},{countryName:"Malawi",countryIso:"MW",countryDialCode:"+265"},{countryName:"Malaysia",countryIso:"MY",countryDialCode:"+60"},{countryName:"Maldives",countryIso:"MV",countryDialCode:"+960"},{countryName:"Mali",countryIso:"ML",countryDialCode:"+223"},{countryName:"Malta",countryIso:"MT",countryDialCode:"+356"},{countryName:"Marshall Islands",countryIso:"MH",countryDialCode:"+692"},{countryName:"Martinique",countryIso:"MQ",countryDialCode:"+596"},{countryName:"Mauritania",countryIso:"MR",countryDialCode:"+222"},{countryName:"Mauritius",countryIso:"MU",countryDialCode:"+230"},{countryName:"Mayotte",countryIso:"YT",countryDialCode:"+262"},{countryName:"Mexico",countryIso:"MX",countryDialCode:"+52"},{countryName:"Micronesia",countryIso:"FM",countryDialCode:"+691"},{countryName:"Moldova",countryIso:"MD",countryDialCode:"+373"},{countryName:"Monaco",countryIso:"MC",countryDialCode:"+377"},{countryName:"Mongolia",countryIso:"MN",countryDialCode:"+976"},{countryName:"Montenegro",countryIso:"ME",countryDialCode:"+382"},{countryName:"Montserrat",countryIso:"MS",countryDialCode:"+1-664"},{countryName:"Morocco",countryIso:"MA",countryDialCode:"+212"},{countryName:"Mozambique",countryIso:"MZ",countryDialCode:"+258"},{countryName:"Myanmar",countryIso:"MM",countryDialCode:"+95"},{countryName:"Namibia",countryIso:"NA",countryDialCode:"+264"},{countryName:"Nauru",countryIso:"NR",countryDialCode:"+674"},{countryName:"Nepal",countryIso:"NP",countryDialCode:"+977"},{countryName:"Netherlands",countryIso:"NL",countryDialCode:"+31"},{countryName:"New Caledonia",countryIso:"NC",countryDialCode:"+687"},{countryName:"New Zealand",countryIso:"NZ",countryDialCode:"+64"},{countryName:"Nicaragua",countryIso:"NI",countryDialCode:"+505"},{countryName:"Niger",countryIso:"NE",countryDialCode:"+227"},{countryName:"Nigeria",countryIso:"NG",countryDialCode:"+234"},{countryName:"Niue",countryIso:"NU",countryDialCode:"+683"},{countryName:"Norfolk Island",countryIso:"NF",countryDialCode:"+672"},{countryName:"North Korea",countryIso:"KP",countryDialCode:"+850"},{countryName:"North Macedonia",countryIso:"MK",countryDialCode:"+389"},{countryName:"Northern Mariana Islands",countryIso:"MP",countryDialCode:"+1-670"},{countryName:"Norway",countryIso:"NO",countryDialCode:"+47"},{countryName:"Oman",countryIso:"OM",countryDialCode:"+968"},{countryName:"Pakistan",countryIso:"PK",countryDialCode:"+92"},{countryName:"Palau",countryIso:"PW",countryDialCode:"+680"},{countryName:"Palestine",countryIso:"PS",countryDialCode:"+970"},{countryName:"Panama",countryIso:"PA",countryDialCode:"+507"},{countryName:"Papua New Guinea",countryIso:"PG",countryDialCode:"+675"},{countryName:"Paraguay",countryIso:"PY",countryDialCode:"+595"},{countryName:"Peru",countryIso:"PE",countryDialCode:"+51"},{countryName:"Philippines",countryIso:"PH",countryDialCode:"+63"},{countryName:"Pitcairn",countryIso:"PN",countryDialCode:"+64"},{countryName:"Poland",countryIso:"PL",countryDialCode:"+48"},{countryName:"Portugal",countryIso:"PT",countryDialCode:"+351"},{countryName:"Puerto Rico",countryIso:"PR",countryDialCode:"+1-787"},{countryName:"Qatar",countryIso:"QA",countryDialCode:"+974"},{countryName:"Romania",countryIso:"RO",countryDialCode:"+40"},{countryName:"Réunion",countryIso:"RE",countryDialCode:"+262"},{countryName:"Russia",countryIso:"RU",countryDialCode:"+7"},{countryName:"Rwanda",countryIso:"RW",countryDialCode:"+250"},{countryName:"Saint Barthélemy",countryIso:"BL",countryDialCode:"+590"},{countryName:"Saint Helena",countryIso:"SH",countryDialCode:"+290"},{countryName:"Saint Kitts and Nevis",countryIso:"KN",countryDialCode:"+1-869"},{countryName:"Saint Lucia",countryIso:"LC",countryDialCode:"+1-758"},{countryName:"Saint Martin (French part)",countryIso:"MF",countryDialCode:"+590"},{countryName:"Saint Pierre and Miquelon",countryIso:"PM",countryDialCode:"+508"},{countryName:"Saint Vincent and the Grenadines",countryIso:"VC",countryDialCode:"+1-784"},{countryName:"Samoa",countryIso:"WS",countryDialCode:"+685"},{countryName:"San Marino",countryIso:"SM",countryDialCode:"+378"},{countryName:"Sao Tome and Principe",countryIso:"ST",countryDialCode:"+239"},{countryName:"Saudi Arabia",countryIso:"SA",countryDialCode:"+966"},{countryName:"Senegal",countryIso:"SN",countryDialCode:"+221"},{countryName:"Serbia",countryIso:"RS",countryDialCode:"+381"}
1,{countryName:"Seychelles",countryIso:"SC",countryDialCode:"+248"},{countryName:"Sierra Leone",countryIso:"SL",countryDialCode:"+232"},{countryName:"Singapore",countryIso:"SG",countryDialCode:"+65"},{countryName:"Sint Maarten (Dutch part)",countryIso:"SX",countryDialCode:"+1-721"},{countryName:"Slovakia",countryIso:"SK",countryDialCode:"+421"},{countryName:"Slovenia",countryIso:"SI",countryDialCode:"+386"},{countryName:"Solomon Islands",countryIso:"SB",countryDialCode:"+677"},{countryName:"Somalia",countryIso:"SO",countryDialCode:"+252"},{countryName:"South Africa",countryIso:"ZA",countryDialCode:"+27"},{countryName:"South Georgia",countryIso:"GS",countryDialCode:"+500"},{countryName:"South Korea",countryIso:"KR",countryDialCode:"+82"},{countryName:"South Sudan",countryIso:"SS",countryDialCode:"+211"},{countryName:"Spain",countryIso:"ES",countryDialCode:"+34"},{countryName:"Sri Lanka",countryIso:"LK",countryDialCode:"+94"},{countryName:"Sudan",countryIso:"SD",countryDialCode:"+249"},{countryName:"Suriname",countryIso:"SR",countryDialCode:"+597"},{countryName:"Svalbard and Jan Mayen",countryIso:"SJ",countryDialCode:"+47"},{countryName:"Sweden",countryIso:"SE",countryDialCode:"+46"},{countryName:"Switzerland",countryIso:"CH",countryDialCode:"+41"},{countryName:"Syria",countryIso:"SY",countryDialCode:"+963"},{countryName:"Taiwan",countryIso:"TW",countryDialCode:"+886"},{countryName:"Tajikistan",countryIso:"TJ",countryDialCode:"+992"},{countryName:"Tanzania",countryIso:"TZ",countryDialCode:"+255"},{countryName:"Thailand",countryIso:"TH",countryDialCode:"+66"},{countryName:"Timor-Leste",countryIso:"TL",countryDialCode:"+670"},{countryName:"Togo",countryIso:"TG",countryDialCode:"+228"},{countryName:"Tokelau",countryIso:"TK",countryDialCode:"+690"},{countryName:"Tonga",countryIso:"TO",countryDialCode:"+676"},{countryName:"Trinidad and Tobago",countryIso:"TT",countryDialCode:"+1-868"},{countryName:"Tunisia",countryIso:"TN",countryDialCode:"+216"},{countryName:"Turkmenistan",countryIso:"TM",countryDialCode:"+993"},{countryName:"Türkiye",countryIso:"TR",countryDialCode:"+90"},{countryName:"Turks and Caicos Islands",countryIso:"TC",countryDialCode:"+1-649"},{countryName:"Tuvalu",countryIso:"TV",countryDialCode:"+688"},{countryName:"Uganda",countryIso:"UG",countryDialCode:"+256"},{countryName:"Ukraine",countryIso:"UA",countryDialCode:"+380"},{countryName:"United Arab Emirates",countryIso:"AE",countryDialCode:"+971"},{countryName:"United Kingdom",countryIso:"GB",countryDialCode:"+44"},{countryName:"United States",countryIso:"US",countryDialCode:"+1"},{countryName:"United States Minor Outlying Islands",countryIso:"UM",countryDialCode:"+1"},{countryName:"Uruguay",countryIso:"UY",countryDialCode:"+598"},{countryName:"Uzbekistan",countryIso:"UZ",countryDialCode:"+998"},{countryName:"Vanuatu",countryIso:"VU",countryDialCode:"+678"},{countryName:"Vatican City",countryIso:"VA",countryDialCode:"+39"},{countryName:"Venezuela",countryIso:"VE",countryDialCode:"+58"},{countryName:"Vietnam",countryIso:"VN",countryDialCode:"+84"},{countryName:"Virgin Islands (British)",countryIso:"VG",countryDialCode:"+1-284"},{countryName:"Virgin Islands (U.S.)",countryIso:"VI",countryDialCode:"+1-340"},{countryName:"Wallis and Futuna",countryIso:"WF",countryDialCode:"+681"},{countryName:"Western Sahara",countryIso:"EH",countryDialCode:"+212"},{countryName:"Yemen",countryIso:"YE",countryDialCode:"+967"},{countryName:"Zambia",countryIso:"ZM",countryDialCode:"+260"},{countryName:"Zimbabwe",countryIso:"ZW",countryDialCode:"+263"}];n.map(({countryIso:e})=>e);let r=new Map(n.map(e=>[e.countryIso.toUpperCase(),e]));n.map(e=>[(0,t.escapeSpecialChars)(e.countryName).toLowerCase(),e]),e.s(["countriesByUppercaseIsoCode",0,r])},205258,e=>{"use strict";var t=e.i(316722),n=e.i(394775),r=e.i(270176);e.i(879121);var o=e.i(441866);e.s(["CountryFlag",0,e=>{let i,a,u,c,l,s,d,f,y,m,p,h=(0,n.c)(19);if(h[0]!==e){let{cdnSuffix:t,cdnUrl:n,countryCode:r,countryName:o,className:y,style:m,src:p,alt:v,...g}=e;d=t,f=n,u=r,c=o,a=y,s=p,i=v,l=g,h[0]=e,h[1]=i,h[2]=a,h[3]=u,h[4]=c,h[5]=l,h[6]=s,h[7]=d,h[8]=f}else i=h[1],a=h[2],u=h[3],c=h[4],l=h[5],s=h[6],d=h[7],f=h[8];let v=void 0===d?"webp":d,g=void 0===f?"/flags/":f;if("string"!=typeof u)return null;h[9]!==u?(y=u.toLowerCase(),h[9]=u,h[10]=y):y=h[10];let C=`${g}${y}.${v}`,w=i||`Flag of ${c}`,b=s??C,I=!s;return h[11]!==a?(m=(0,o.cn)("size-8 shrink-0 object-cover object-center",a),h[11]=a,h[12]=m):m=h[12],h[13]!==w||h[14]!==l||h[15]!==b||h[16]!==I||h[17]!==m?(p=(0,t.jsx)(r.default,{src:b,alt:w,width:96,height:72,loading:"lazy",unoptimized:I,className:m,...l}),h[13]=w,h[14]=l,h[15]=b,h[16]=I,h[17]=m,h[18]=p):p=h[18],p}])}]);

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.