1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4481],{432:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var r=n(52020),i=n(39853),o=n(7165),a=n(25910),l=class extends a.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let o=t.queryKey,a=t.queryHash??(0,r.F$)(o,t),l=this.get(a);return l||(l=new i.X({client:e,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(l)),l}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){o.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,r.MK)(e,t)):t}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){o.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},s=n(57948),u=n(6784),c=class extends s.k{#t;#n;#r;constructor(e){super(),this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:"continue"})};this.#r=(0,u.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let n="pending"===this.state.status,r=!this.#r.canStart();try{if(n)t();else{this.#i({type:"pending",variables:e,isPaused:r}),await this.#n.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#i({type:"pending",context:t,variables:e,isPaused:r})}let i=await this.#r.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this),await this.options.onSuccess?.(i,e,this.state.context),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,e,this.state.context),this.#i({type:"success",data:i}),i}catch(t){try{throw await this.#n.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#i({type:"error",error:t})}}finally{this.#n.runNext(this)}}#i(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),o.jG.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}},d=class extends a.Q{constructor(e={}){super(),this.config=e,this.#o=new Set,this.#a=new Map,this.#l=0}#o;#a;#l;build(e,t,n){let r=new c({mutationCache:this,mutationId:++this.#l,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#o.add(e);let t=f(e);
1if("string"==typeof t){let n=this.#a.get(t);n?n.push(e):this.#a.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#o.delete(e)){let t=f(e);if("string"==typeof t){let n=this.#a.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#a.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=f(e);if("string"!=typeof t)return!0;{let n=this.#a.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=f(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#a.get(t)?.find(t=>t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){o.jG.batch(()=>{this.#o.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#o.clear(),this.#a.clear()})}getAll(){return Array.from(this.#o)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,r.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,r.nJ)(e,t))}notify(e){o.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>
1e.state.isPaused);return o.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(r.lQ))))}};function f(e){return e.options.scope?.id}var h=n(50920),p=n(21239);function m(e){return{onFetch:(t,n)=>{let i=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],l=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},u=0,c=async()=>{let n=!1,c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})},d=(0,r.ZM)(t.options,t.fetchOptions),f=async(e,i,o)=>{if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:i,direction:o?"backward":"forward",meta:t.options.meta};return c(e),e})(),l=await d(a),{maxPages:s}=t.options,u=o?r.ZZ:r.y9;return{pages:u(e.pages,l,s),pageParams:u(e.pageParams,i,s)}};if(o&&a.length){let e="backward"===o,t={pages:a,pageParams:l},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:y)(i,t);s=await f(t,n,e)}else{let t=e??a.length;do{let e=0===u?l[0]??i.initialPageParam:y(i,s);if(u>0&&null==e)break;s=await f(s,e),u++}while(u<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function y(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var v=class{#s;#n;#u;#c;#d;#f;#h;#p;constructor(e={}){this.#s=e.queryCache||new l,this.#n=e.mutationCache||new d,this.#u=e.defaultOptions||{},this.#c=new Map,this.#d=new Map,this.#f=0}mount(){this.#f++,1===this.#f&&(this.#h=h.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())}),this.#p=p.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())}))}unmount(){this.#f--,0===this.#f&&(this.#h?.(),this.#h=void 0,this.#p?.(),this.#p=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#s.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,r.d2)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#s.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),o=this.#s.get(i.queryHash),a=o?.state.data,l=(0,r.Zw)(t,a);if(void 0!==l)return this.#s.build(this,i).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return o.jG.batch(()=>this.#s.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){let t=this.#s;o.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#s;return o.jG.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(o.jG.batch(()=>this.#s.findAll(e).map(e=>e.cancel(n)))).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t={}){return o.jG.batch(()=>(this.#s.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(o.jG.batch(()=>this.#s.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(r.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(r.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#s.build(this,t);return n.isStaleByTime((0,r.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e){return e.behavior=m(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(r.lQ).catch(r.lQ)}ensureInfiniteQueryData(e){return e.behavior=m(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return p.t.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#n}getDefaultOptions(){return this.#u}setDefaultOptions(e){this.#u=e}setQueryDefaults(e,t){this.#c.set((0,r.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#c.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#d.set((0,r.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#d.values()],n={};return t.forEach(t=>{(0,r.Cp)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#u.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===r.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#u.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#n.clear()}}}
1,9428:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},11275:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(12115),i=n(52712);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},11518:(e,t,n)=>{"use strict";e.exports=n(82269).style},19420:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]])},23861:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]])},28883:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},40133:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},47924:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},51362:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(12115),i=(e,t,n,r,i,o,a,l)=>{let s=document.documentElement,u=["light","dark"];function c(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&o?i.map(e=>o[e]||e):i;n?(s.classList.remove(...r),s.classList.add(o&&o[t]?o[t]:t)):s.setAttribute(e,t)}),n=t,l&&u.includes(n)&&(s.style.colorScheme=n)}if(r)c(r);else try{let e=localStorage.getItem(t)||n,r=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(r)}catch(e){}},o=["light","dark"],a="(prefers-color-scheme: dark)",l=r.createContext(void 0),s=e=>r.useContext(l)?r.createElement(r.Fragment,null,e.children):r.createElement(c,{...e}),u=["light","dark"],c=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:s=!0,storageKey:c="theme",themes:m=u,defaultTheme:y=i?"system":"light",attribute:v="data-theme",value:g,children:w,nonce:b,scriptProps:x}=e,[C,S]=r.useState(()=>f(c,y)),[R,_]=r.useState(()=>"system"===C?p():C),A=g?Object.values(g):m,j=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=p());let r=g?g[t]:t,a=n?h(b):null,l=document.documentElement,u=e=>{"class"===e?(l.classList.remove(...A),r&&l.classList.add(r)):e.startsWith("data-")&&(r?l.setAttribute(e,r):l.removeAttribute(e))};if(Array.isArray(v)?v.forEach(u):u(v),s){let e=o.includes(y)?y:null,n=o.includes(t)?t:e;l.style.colorScheme=n}null==a||a()},[b]),M=r.useCallback(e=>{let t="function"==typeof e?e(C):e;S(t);try{localStorage.setItem(c,t)}catch(e){}},[C]),E=r.useCallback(e=>{_(p(e)),"system"===C&&i&&!t&&j("system")},[C,t]);r.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),r.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?S(e.newValue):M(y))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[M]),r.useEffect(()=>{j(null!=t?t:C)},[t,C]);let P=r.useMemo(()=>({theme:C,setTheme:M,forcedTheme:t,resolvedTheme:"system"===C?R:C,themes:i?[...m,"system"]:m,systemTheme:i?R:void 0}),[C,M,t,R,i,m]);return r.createElement(l.Provider,{value:P},r.createElement(d,{forcedTheme:t,storageKey:c,attribute:v,enableSystem:i,enableColorScheme:s,defaultTheme:y,value:g,themes:m,nonce:b,scriptProps:x}),w)},d=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:o,enableSystem:a,enableColorScheme:l,defaultTheme:s,value:u,themes:c,nonce:d,scriptProps:f}=e,h=JSON.stringify([o,n,s,t,c,u,a,l]).slice(1,-1);return r.createElement("script",{...f,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(i.toString(),")(").concat(h,")")}})}),f=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},h=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}}
1,p=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},57683:(e,t,n)=>{"use strict";function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function i(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function o(e,t,n){var i=r(e,t,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}n.d(t,{N:()=>p});var a,l=n(12115),s=n(46081),u=n(6101),c=n(95155);function d(e){let t=function(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(l.isValidElement(n)){var i;let e,o,a=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(s.ref=t?(0,u.t)(t,a):a),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=l.forwardRef((e,n)=>{let{children:r,...i}=e,o=l.Children.toArray(r),a=o.find(h);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,c.jsx)(t,{...i,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,c.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var f=Symbol("radix.slottable");function h(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}function p(e){let t=e+"CollectionProvider",[n,r]=(0,s.A)(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=l.useRef(null),o=l.useRef(new Map).current;return(0,c.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};a.displayName=t;let f=e+"CollectionSlot",h=d(f),p=l.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(f,n),a=(0,u.s)(t,i.collectionRef);return(0,c.jsx)(h,{ref:a,children:r})});p.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",v=d(m),g=l.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=l.useRef(null),s=(0,u.s)(t,a),d=o(m,n);return l.useEffect(()=>(d.itemMap.set(a,{ref:a,...i}),()=>void d.itemMap.delete(a))),(0,c.jsx)(v,{...{[y]:""},ref:s,children:r})});return g.displayName=m,[{Provider:a,Slot:p,ItemSlot:g},function(t){let n=o(e+"CollectionConsumer",t);return l.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(y,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var m=new WeakMap;function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=v(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function v(e){return e!=e||0===e?0:Math.trunc(e)}a=new WeakMap},68304:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]])},68375:()=>{},76083:(e,t,n)=>{"use strict";n.d(t,{G_:()=>o,mg:()=>a});var r=n(12115);let i=(0,r.createContext)(null);function o(e){let{clientId:t,nonce:n,locale:o,onScriptLoadSuccess:a,onScriptLoadError:l,children:s}=e,u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:t,locale:n,onScriptLoadSuccess:i,onScriptLoadError:o}=e,[a,l]=(0,r.useState)(!1),s=(0,r.useRef)(i);s.current=i;let u=(0,r.useRef)(o);return u.current=o,(0,r.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",n&&(e.src+="?hl=".concat(n)),e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;l(!0),null==(e=s.current)||e.call(s)},e.onerror=()=>{var e;l(!1),null==(e=u.current)||e.call(u)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),a}({nonce:n,onScriptLoadSuccess:a,onScriptLoadError:l,locale:o}),c=(0,r.useMemo)(()=>({locale:o,clientId:t,scriptLoadedSuccessfully:u}),[t,u]);return r.createElement(i.Provider,{value:c},s)}
1function a(e){let{flow:t="implicit",scope:n="",onSuccess:o,onError:a,onNonOAuthError:l,overrideScope:s,state:u,...c}=e,{clientId:d,scriptLoadedSuccessfully:f}=function(){let e=(0,r.useContext)(i);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}(),h=(0,r.useRef)(),p=(0,r.useRef)(o);p.current=o;let m=(0,r.useRef)(a);m.current=a;let y=(0,r.useRef)(l);y.current=l,(0,r.useEffect)(()=>{var e,r;if(!f)return;let i="implicit"===t?"initTokenClient":"initCodeClient";h.current=null==(r=null==(e=null==window?void 0:window.google)?void 0:e.accounts)?void 0:r.oauth2[i]({client_id:d,scope:s?n:"openid profile email ".concat(n),callback:e=>{var t,n;if(e.error)return null==(t=m.current)?void 0:t.call(m,e);null==(n=p.current)||n.call(p,e)},error_callback:e=>{var t;null==(t=y.current)||t.call(y,e)},state:u,...c})},[d,f,t,n,u]);let v=(0,r.useCallback)(e=>{var t;return null==(t=h.current)?void 0:t.requestAccessToken(e)},[]),g=(0,r.useCallback)(()=>{var e;return null==(e=h.current)?void 0:e.requestCode()},[]);return"implicit"===t?v:g}},81284:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},82269:(e,t,n)=>{"use strict";var r=n(49509);n(68375);var i=n(12115),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),a=void 0!==r&&r.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},s=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,o=void 0===i?a:i;u(l(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var s="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=s?s.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(l(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var n="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}
1}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("undefined"==typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(l(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},d={};function f(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return d[r]||(d[r]="jsx-"+c(e+"-"+n)),d[r]}function h(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return d[n]||(d[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=r||new s({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}}
1)})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=f(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return h(i,e)}):[h(i,t)]}}return{styleId:f(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var y=o.default.useInsertionEffect||o.default.useLayoutEffect,v="undefined"!=typeof window?new p:void 0;function g(e){var t=v||i.useContext(m);return t&&("undefined"==typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}g.dynamic=function(e){return e.map(function(e){return f(e[0],e[1])}).join(" ")},t.style=g},82382:(e,t,n)=>{"use strict";n.d(t,{Q6:()=>H,bL:()=>z,zi:()=>Q,CC:()=>G});var r=n(12115);function i(e,[t,n]){return Math.min(n,Math.max(t,e))}var o=n(85185),a=n(6101),l=n(46081),s=n(5845),u=n(94315),c=n(11275),d=n(63540),f=n(57683),h=n(95155),p=["PageUp","PageDown"],m=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],y={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},v="Slider",[g,w,b]=(0,f.N)(v),[x,C]=(0,l.A)(v,[b]),[S,R]=x(v),_=r.forwardRef((e,t)=>{let{name:n,min:a=0,max:l=100,step:u=1,orientation:c="horizontal",disabled:d=!1,minStepsBetweenThumbs:f=0,defaultValue:y=[a],value:v,onValueChange:w=()=>{},onValueCommit:b=()=>{},inverted:x=!1,form:C,...R}=e,_=r.useRef(new Set),A=r.useRef(0),j="horizontal"===c,[P=[],D]=(0,s.i)({prop:v,defaultProp:y,onChange:e=>{var t;null==(t=[..._.current][A.current])||t.focus(),w(e)}}),k=r.useRef(P);function O(e,t){let{commit:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1};let r=(String(u).split(".")[1]||"").length,o=i(function(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-a)/u)*u+a,r),[a,l]);D(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,o,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,n)=>e[n+1]-t))>=t;return!0}(r,f*u))return e;{A.current=r.indexOf(o);let t=String(r)!==String(e);return t&&n&&b(r),t?r:e}})}return(0,h.jsx)(S,{scope:e.__scopeSlider,name:n,disabled:d,min:a,max:l,valueIndexToChangeRef:A,thumbs:_.current,values:P,orientation:c,form:C,children:(0,h.jsx)(g.Provider,{scope:e.__scopeSlider,children:(0,h.jsx)(g.Slot,{scope:e.__scopeSlider,children:(0,h.jsx)(j?M:E,{"aria-disabled":d,"data-disabled":d?"":void 0,...R,ref:t,onPointerDown:(0,o.mK)(R.onPointerDown,()=>{d||(k.current=P)}),min:a,max:l,inverted:x,onSlideStart:d?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}(P,e);O(e,t)},onSlideMove:d?void 0:function(e){O(e,A.current)},onSlideEnd:d?void 0:function(){let e=k.current[A.current];P[A.current]!==e&&b(P)},onHomeKeyDown:()=>!d&&O(a,0,{commit:!0}),onEndKeyDown:()=>!d&&O(l,P.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:n}=e;if(!d){let e=p.includes(t.key)||t.shiftKey&&m.includes(t.key),r=A.current;O(P[r]+u*(e?10:1)*n,r,{commit:!0})}}})})})})});_.displayName=v;var[A,j]=x(v,{startEdge:"left",endEdge:"right",size:"width",direction:1}),M=r.forwardRef((e,t)=>{let{min:n,max:i,dir:o,inverted:l,onSlideStart:s,onSlideMove:c,onSlideEnd:d,onStepKeyDown:f,...p}=e,[m,v]=r.useState(null),g=(0,a.s)(t,e=>v(e)),w=r.useRef(void 0),b=(0,u.jH)(o),x="ltr"===b,C=x&&!l||!x&&l;function S(e){let t=w.current||m.getBoundingClientRect(),r=q([0,t.width],C?[n,i]:[i,n]);return w.current=t,r(e-t.left)}return(0,h.jsx)(A,{scope:e.__scopeSlider,startEdge:C?"left":"right",endEdge:C?"right":"left",direction:C?1:-1,size:"width",children:(0,h.jsx)(P,{dir:b,"data-orientation":"horizontal",...p,ref:g,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=S(e.clientX);null==s||s(t)},onSlideMove:e=>{let t=S(e.clientX);null==c||c(t)},onSlideEnd:()=>{w.current=void 0,null==d||d()},onStepKeyDown:e=>
1{let t=y[C?"from-left":"from-right"].includes(e.key);null==f||f({event:e,direction:t?-1:1})}})})}),E=r.forwardRef((e,t)=>{let{min:n,max:i,inverted:o,onSlideStart:l,onSlideMove:s,onSlideEnd:u,onStepKeyDown:c,...d}=e,f=r.useRef(null),p=(0,a.s)(t,f),m=r.useRef(void 0),v=!o;function g(e){let t=m.current||f.current.getBoundingClientRect(),r=q([0,t.height],v?[i,n]:[n,i]);return m.current=t,r(e-t.top)}return(0,h.jsx)(A,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:(0,h.jsx)(P,{"data-orientation":"vertical",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=g(e.clientY);null==l||l(t)},onSlideMove:e=>{let t=g(e.clientY);null==s||s(t)},onSlideEnd:()=>{m.current=void 0,null==u||u()},onStepKeyDown:e=>{let t=y[v?"from-bottom":"from-top"].includes(e.key);null==c||c({event:e,direction:t?-1:1})}})})}),P=r.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:a,onHomeKeyDown:l,onEndKeyDown:s,onStepKeyDown:u,...c}=e,f=R(v,n);return(0,h.jsx)(d.sG.span,{...c,ref:t,onKeyDown:(0,o.mK)(e.onKeyDown,e=>{"Home"===e.key?(l(e),e.preventDefault()):"End"===e.key?(s(e),e.preventDefault()):p.concat(m).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),f.thumbs.has(t)?t.focus():r(e)}),onPointerMove:(0,o.mK)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:(0,o.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),a(e))})})}),D="SliderTrack",k=r.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,i=R(D,n);return(0,h.jsx)(d.sG.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});k.displayName=D;var O="SliderRange",T=r.forwardRef((e,t)=>{let{__scopeSlider:n,...i}=e,o=R(O,n),l=j(O,n),s=r.useRef(null),u=(0,a.s)(t,s),c=o.values.length,f=o.values.map(e=>N(e,o.min,o.max)),p=c>1?Math.min(...f):0,m=100-Math.max(...f);return(0,h.jsx)(d.sG.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...i,ref:u,style:{...e.style,[l.startEdge]:p+"%",[l.endEdge]:m+"%"}})});T.displayName=O;var F="SliderThumb",I=r.forwardRef((e,t)=>{let n=w(e.__scopeSlider),[i,o]=r.useState(null),l=(0,a.s)(t,e=>o(e)),s=r.useMemo(()=>i?n().findIndex(e=>e.ref.current===i):-1,[n,i]);return(0,h.jsx)(K,{...e,ref:l,index:s})}),K=r.forwardRef((e,t)=>{let{__scopeSlider:n,index:i,name:l,...s}=e,u=R(F,n),f=j(F,n),[p,m]=r.useState(null),y=(0,a.s)(t,e=>m(e)),v=!p||u.form||!!p.closest("form"),w=(0,c.X)(p),b=u.values[i],x=void 0===b?0:N(b,u.min,u.max),C=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(i,u.values.length),S=null==w?void 0:w[f.size],_=S?function(e,t,n){let r=e/2,i=q([0,50],[0,r]);return(r-i(t)*n)*n}(S,x,f.direction):0;return r.useEffect(()=>{if(p)return u.thumbs.add(p),()=>{u.thumbs.delete(p)}},[p,u.thumbs]),(0,h.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[f.startEdge]:"calc(".concat(x,"% + ").concat(_,"px)")},children:[(0,h.jsx)(g.ItemSlot,{scope:e.__scopeSlider,children:(0,h.jsx)(d.sG.span,{role:"slider","aria-label":e["aria-label"]||C,"aria-valuemin":u.min,"aria-valuenow":b,"aria-valuemax":u.max,"aria-orientation":u.orientation,"data-orientation":u.orientation,"data-disabled":u.disabled?"":void 0,tabIndex:u.disabled?void 0:0,...s,ref:y,style:void 0===b?{display:"none"}:e.style,onFocus:(0,o.mK)(e.onFocus,()=>{u.valueIndexToChangeRef.current=i})})}),v&&(0,h.jsx)(L,{name:null!=l?l:u.name?u.name+(u.values.length>1?"[]":""):void 0,form:u.form,value:b},i)]})});I.displayName=F;var L=r.forwardRef((e,t)=>{let{__scopeSlider:n,value:i,...o}=e,l=r.useRef(null),s=(0,a.s)(l,t),u=function(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(i);return r.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(u!==i&&t){let n=new Event("input",{bubbles:!0});t.call(e,i),e.dispatchEvent(n)}},[u,i]),(0,h.jsx)(d.sG.input,{style:{display:"none"},...o,ref:s,defaultValue:i})});function N(e,t,n){return i(100/(n-t)*(e-t),[0,100])}function q(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}L.displayName="RadioBubbleInput";var z=_,G=k,H=T,Q=I},84616:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])}
1,87712:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},91734:(e,t,n)=>{"use strict";n.d(t,{H_:()=>n2,UC:()=>n$,YJ:()=>nJ,q7:()=>n1,VF:()=>n3,JU:()=>n0,ZL:()=>nZ,z6:()=>n5,hN:()=>n9,bL:()=>nX,wv:()=>n4,Pb:()=>n6,G5:()=>n7,ZP:()=>n8,l9:()=>nY});var r=n(12115),i=n(85185),o=n(6101),a=n(46081),l=n(5845),s=n(63540),u=n(57683),c=n(94315),d=n(19178),f=n(92293),h=n(25519),p=n(61285);let m=["top","right","bottom","left"],y=Math.min,v=Math.max,g=Math.round,w=Math.floor,b=e=>({x:e,y:e}),x={left:"right",right:"left",bottom:"top",top:"bottom"},C={start:"end",end:"start"};function S(e,t){return"function"==typeof e?e(t):e}function R(e){return e.split("-")[0]}function _(e){return e.split("-")[1]}function A(e){return"x"===e?"y":"x"}function j(e){return"y"===e?"height":"width"}let M=new Set(["top","bottom"]);function E(e){return M.has(R(e))?"y":"x"}function P(e){return e.replace(/start|end/g,e=>C[e])}let D=["left","right"],k=["right","left"],O=["top","bottom"],T=["bottom","top"];function F(e){return e.replace(/left|right|bottom|top/g,e=>x[e])}function I(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function K(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function L(e,t,n){let r,{reference:i,floating:o}=e,a=E(t),l=A(E(t)),s=j(l),u=R(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[s]/2-o[s]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(_(t)){case"start":r[l]-=h*(n&&c?-1:1);break;case"end":r[l]+=h*(n&&c?-1:1)}return r}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=L(u,r,s),f=r,h={},p=0;for(let n=0;n<l.length;n++){let{name:o,fn:m}=l[n],{x:y,y:v,data:g,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=v?v:d,h={...h,[o]:{...h[o],...g}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:d}=L(u,f,s)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function q(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=S(t,e),p=I(h),m=l[f?"floating"===d?"reference":"floating":d],y=K(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,g=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),w=await (null==o.isElement?void 0:o.isElement(g))&&await (null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},b=K(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:g,strategy:s}):v);return{top:(y.top-b.top+p.top)/w.y,bottom:(b.bottom-y.bottom+p.bottom)/w.y,left:(y.left-b.left+p.left)/w.x,right:(b.right-y.right+p.right)/w.x}}function z(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G(e){return m.some(t=>e[t]>=0)}let H=new Set(["left","top"]);async function Q(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=R(n),l=_(n),s="y"===E(n),u=H.has(a)?-1:1,c=o&&s?-1:1,d=S(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof p&&(h="end"===l?-1*p:p),s?{x:h*c,y:f*u}:{x:f*u,y:h*c}}function B(){return"undefined"!=typeof window}function W(e){return X(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=(X(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function X(e){return!!B()&&(e instanceof Node||e instanceof V(e).Node)}function Y(e){return!!B()&&(e instanceof Element||e instanceof V(e).Element)}function Z(e){return!!B()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function $(e){return!!B()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}let J=new Set(["inline","contents"]);function ee(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ed(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!J.has(i)}let et=new Set(["table","td","th"]),en=[":popover-open",":modal"];function er(e){return en.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ei=["transform","translate","scale","rotate","perspective"],eo=["transform","translate","scale","rotate","perspective","filter"],ea=["paint","layout","strict","content"];function el(e){let t=es(),n=Y(e)?ed(e):e;return ei.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eo.some(e=>(n.willChange||"").includes(e))||ea.some(e=>(n.contain||"").includes(e))}function es(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eu=new Set(["html","body","#document"]);function ec(e){return eu.has(W(e))}function ed(e){return V(e).getComputedStyle(e)}function ef(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eh(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||U(e);return $(t)?t.host:t}function ep(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=eh(t);return ec(n)?t.ownerDocument?t.ownerDocument.body:t.body:Z(n)&&ee(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=V(i);if(o){let e=em(a);return t.concat(a,a.visualViewport||[],ee(i)?i:[],e&&n?ep(e):[])}return t.concat(i,ep(i,[],n))}function em(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ey(e){let t=ed(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Z(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=g(n)!==o||g(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function ev(e){return Y(e)?e:e.contextElement}function eg(e){let t=ev(e);if(!Z(t))return b(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ey(t),a=(o?g(n.width):n.width)/r,l=(o?g(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let ew=b(0);function eb(e){let t=V(e);return es()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ew}function ex(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=ev(e),l=b(1);t&&(r?Y(r)&&(l=eg(r)):l=eg(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===V(a))&&i)?eb(a):b(0),u=(o.left+s.x)/l.x,c=(o.top+s.y)/l.y,d=o.width/l.x,f=o.height/l.y;if(a){let e=V(a),t=r&&Y(r)?V(r):r,n=e,i=em(n);for(;i&&r&&t!==n;){let e=eg(i),t=i.getBoundingClientRect(),r=ed(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=o,c+=a,i=em(n=V(i))}}return K({width:d,height:f,x:u,y:c})}function eC(e,t){let n=ef(e).scrollLeft;return t?t.left+n:ex(U(e)).left+n}function eS(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eC(e,n),y:n.top+t.scrollTop}}let eR=new Set(["absolute","fixed"]);function e_(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=V(e),r=U(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;let e=es();
1(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}let u=eC(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=U(e),n=ef(e),r=e.ownerDocument.body,i=v(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=v(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eC(e),l=-n.scrollTop;return"rtl"===ed(r).direction&&(a+=v(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}(U(e));else if(Y(t))r=function(e,t){let n=ex(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Z(e)?eg(e):b(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y;return{width:a,height:l,x:i*o.x,y:r*o.y}}(t,n);else{let n=eb(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return K(r)}function eA(e){return"static"===ed(e).position}function ej(e,t){if(!Z(e)||"fixed"===ed(e).position)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function eM(e,t){var n;let r=V(e);if(er(e))return r;if(!Z(e)){let t=eh(e);for(;t&&!ec(t);){if(Y(t)&&!eA(t))return t;t=eh(t)}return r}let i=ej(e,t);for(;i&&(n=i,et.has(W(n)))&&eA(i);)i=ej(i,t);return i&&ec(i)&&eA(i)&&!el(i)?r:i||function(e){let t=eh(e);for(;Z(t)&&!ec(t);){if(el(t))return t;if(er(t))break;t=eh(t)}return null}(e)||r}let eE=async function(e){let t=this.getOffsetParent||eM,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Z(t),i=U(t),o="fixed"===n,a=ex(e,!0,o,t),l={scrollLeft:0,scrollTop:0},s=b(0);if(r||!r&&!o)if(("body"!==W(t)||ee(i))&&(l=ef(t)),r){let e=ex(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=eC(i));o&&!r&&i&&(s.x=eC(i));let u=!i||r||o?b(0):eS(i,l);return{x:a.left+l.scrollLeft-s.x-u.x,y:a.top+l.scrollTop-s.y-u.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}}},eP={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=U(r),l=!!t&&er(t.floating);if(r===a||l&&o)return n;let s={scrollLeft:0,scrollTop:0},u=b(1),c=b(0),d=Z(r);if((d||!d&&!o)&&(("body"!==W(r)||ee(a))&&(s=ef(r)),Z(r))){let e=ex(r);u=eg(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!a||d||o?b(0):eS(a,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-s.scrollTop*u.y+c.y+f.y}},getDocumentElement:U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?er(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ep(e,[],!1).filter(e=>Y(e)&&"body"!==W(e)),i=null,o="fixed"===ed(e).position,a=o?eh(e):e;for(;Y(a)&&!ec(a);){let t=ed(a),n=el(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eR.has(i.position)||ee(a)&&!n&&function e(t,n){let r=eh(t);return!(r===n||!Y(r)||ec(r))&&("fixed"===ed(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=eh(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((e,n)=>{let r=e_(t,n,i);return e.top=v(r.top,e.top),e.right=y(r.right,e.right),e.bottom=y(r.bottom,e.bottom),e.left=v(r.left,e.left),e},e_(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eM,getElementRects:eE,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ey(e);return{width:t,height:n}},getScale:eg,isElement:Y,isRTL:function(e){return"rtl"===ed(e).direction}};function eD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ek=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=S(e,t)||{};if(null==u)return{};let d=I(c),f={x:n,y:r},h=A(E(i)),p=j(h),m=await a.getDimensions(u),g="y"===h,w=g?"clientHeight":"clientWidth",b=o.reference[p]+o.reference[h]-f[h]-o.floating[p],x=f[h]-o.reference[h],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),R=C?C[w]:0;R&&await (null==a.isElement?void 0:a.isElement(C))||(R=l.floating[w]||o.floating[p]);let M=R/2-m[p]/2-1,P=y(d[g?"top":"left"],M),D=y(d[g?"bottom":"right"],M),k=R-m[p]-D,O=R/2-m[p]/2+(b/2-x/2),T=v(P,y(O,k)),F=!s.arrow&&null!=_(i)&&O!==T&&o.reference[p]/2-(O<P?P:D)-m[p]/2<0,K=F?O<P?O-P:O-k:0;return{[h]:f[h]+K,data:{[h]:T,centerOffset:O-T-K,...F&&{alignmentOffset:K}},reset:F}}}),eO=(e,t,n)=>{let r=new Map,i={platform:eP,...n},o={...i.platform,_c:r};return N(e,t,{...i,platform:o})};var eT=n(47650),eF="undefined"!=typeof document?r.useLayoutEffect:function(){};function eI(e,t){let n,r,i;if(e===t)return!0;
1if(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(!eI(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eI(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eK(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eL(e,t){let n=eK(e);return Math.round(t*n)/n}function eN(e){let t=r.useRef(e);return eF(()=>{t.current=e}),t}let eq=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ek({element:n.current,padding:r}).fn(t):{}:n?ek({element:n,padding:r}).fn(t):{}}}),ez=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:l}=t,s=await Q(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:a}}}}}(e),options:[e,t]}),eG=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=S(e,t),u={x:n,y:r},c=await q(t,s),d=E(R(i)),f=A(d),h=u[f],p=u[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=v(n,y(h,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=v(n,y(p,r))}let m=l.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:o,[d]:a}}}}}}(e),options:[e,t]}),eH=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=S(e,t),c={x:n,y:r},d=E(i),f=A(d),h=c[f],p=c[d],m=S(l,t),y="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+y.mainAxis,n=o.reference[f]+o.reference[e]-y.mainAxis;h<t?h=t:h>n&&(h=n)}if(u){var v,g;let e="y"===f?"width":"height",t=H.has(R(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:y.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(g=a.offset)?void 0:g[d])||0)-(t?y.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[f]:h,[d]:p}}}}(e),options:[e,t]}),eQ=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...w}=S(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let b=R(l),x=E(c),C=R(c)===c,M=await (null==d.isRTL?void 0:d.isRTL(f.floating)),I=m||(C||!g?[F(c)]:function(e){let t=F(e);return[P(e),t,P(t)]}(c)),K="none"!==v;!m&&K&&I.push(...function(e,t,n,r){let i=_(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?k:D;return t?D:k;case"left":case"right":return t?O:T;default:return[]}}(R(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(P)))),o}(c,g,v,M));let L=[c,...I],N=await q(t,w),z=[],G=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&z.push(N[b]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=_(e),i=A(E(e)),o=j(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=F(a)),[a,F(a)]}(l,u,M);z.push(N[e[0]],N[e[1]])}if(G=[...G,{placement:l,overflows:z}],!z.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=L[e];if(t&&("alignment"!==p||x===E(t)||G.every(e=>E(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let n=null==(o=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(y){case"bestFit":{let e=null==(a=G.filter(e=>{if(K){let t=E(e.placement);return t===x||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
1e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(l!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}),eB=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,o,{placement:a,rects:l,platform:s,elements:u}=t,{apply:c=()=>{},...d}=S(e,t),f=await q(t,d),h=R(a),p=_(a),m="y"===E(a),{width:g,height:w}=l.floating;"top"===h||"bottom"===h?(i=h,o=p===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(o=h,i="end"===p?"top":"bottom");let b=w-f.top-f.bottom,x=g-f.left-f.right,C=y(w-f[i],b),A=y(g-f[o],x),j=!t.middlewareData.shift,M=C,P=A;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=x),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(M=b),j&&!p){let e=v(f.left,0),t=v(f.right,0),n=v(f.top,0),r=v(f.bottom,0);m?P=g-2*(0!==e||0!==t?e+t:v(f.left,f.right)):M=w-2*(0!==n||0!==r?n+r:v(f.top,f.bottom))}await c({...t,availableWidth:P,availableHeight:M});let D=await s.getDimensions(u.floating);return g!==D.width||w!==D.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eW=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=S(e,t);switch(r){case"referenceHidden":{let e=z(await q(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:G(e)}}}case"escaped":{let e=z(await q(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:G(e)}}}default:return{}}}}}(e),options:[e,t]}),eV=(e,t)=>({...eq(e),options:[e,t]});var eU=n(95155),eX=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eU.jsx)(s.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eU.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eX.displayName="Arrow";var eY=n(39033),eZ=n(52712),e$=n(11275),eJ="Popper",[e0,e1]=(0,a.A)(eJ),[e2,e5]=e0(eJ),e9=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eU.jsx)(e2,{scope:t,anchor:i,onAnchorChange:o,children:n})};e9.displayName=eJ;var e3="PopperAnchor",e4=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...a}=e,l=e5(e3,n),u=r.useRef(null),c=(0,o.s)(t,u),d=r.useRef(null);return r.useEffect(()=>{let e=d.current;d.current=(null==i?void 0:i.current)||u.current,e!==d.current&&l.onAnchorChange(d.current)}),i?null:(0,eU.jsx)(s.sG.div,{...a,ref:c})});e4.displayName=e3;var e6="PopperContent",[e8,e7]=e0(e6),te=r.forwardRef((e,t)=>{var n,i,a,l,u,c,d,f;let{__scopePopper:h,side:p="bottom",sideOffset:m=0,align:g="center",alignOffset:b=0,arrowPadding:x=0,avoidCollisions:C=!0,collisionBoundary:S=[],collisionPadding:R=0,sticky:_="partial",hideWhenDetached:A=!1,updatePositionStrategy:j="optimized",onPlaced:M,...E}=e,P=e5(e6,h),[D,k]=r.useState(null),O=(0,o.s)(t,e=>k(e)),[T,F]=r.useState(null),I=(0,e$.X)(T),K=null!=(d=null==I?void 0:I.width)?d:0,L=null!=(f=null==I?void 0:I.height)?f:0,N="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},q=Array.isArray(S)?S:[S],z=q.length>0,G={padding:N,boundary:q.filter(ti),altBoundary:z},{refs:H,floatingStyles:Q,placement:B,isPositioned:W,middlewareData:V}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=r.useState(i);eI(h,i)||p(i);let[m,y]=r.useState(null),[v,g]=r.useState(null),w=r.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),b=r.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),x=a||m,C=l||v,S=r.useRef(null),R=r.useRef(null),_=r.useRef(d),A=null!=u,j=eN(u),M=eN(o),E=eN(c),P=r.useCallback(()=>{if(!S.current||!R.current)return;let e={placement:t,strategy:n,middleware:h};M.current&&(e.platform=M.current),eO(S.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==E.current};D.current&&!eI(_.current,t)&&(_.current=t,eT.flushSync(()=>{f(t)}))})},[h,t,n,M,E]);eF(()=>{!1===c&&_.current.isPositioned&&(_.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let D=r.useRef(!1);eF(()=>(D.current=!0,()=>{D.current=!1}),[]),eF(()=>
1{if(x&&(S.current=x),C&&(R.current=C),x&&C){if(j.current)return j.current(x,C,P);P()}},[x,C,P,j,A]);let k=r.useMemo(()=>({reference:S,floating:R,setReference:w,setFloating:b}),[w,b]),O=r.useMemo(()=>({reference:x,floating:C}),[x,C]),T=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!O.floating)return e;let t=eL(O.floating,d.x),r=eL(O.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eK(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,O.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:P,refs:k,elements:O,floatingStyles:T}),[d,P,k,O,T])}({strategy:"fixed",placement:p+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=ev(e),d=o||a?[...c?ep(c):[],...ep(t)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&s?function(e,t){let n,r=null,i=U(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(l||t(),!f||!h)return;let p=w(d),m=w(i.clientWidth-(c+f)),g={rootMargin:-p+"px "+-m+"px "+-w(i.clientHeight-(d+h))+"px "+-w(c)+"px",threshold:v(0,y(1,s))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==s){if(!b)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eD(u,e.getBoundingClientRect())||a(),b=!1}try{r=new IntersectionObserver(x,{...g,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,g)}r.observe(e)}(!0),o}(c,n):null,h=-1,p=null;l&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let m=u?ex(e):null;return u&&function t(){let r=ex(e);m&&!eD(m,r)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===j})},elements:{reference:P.anchor},middleware:[ez({mainAxis:m+L,alignmentAxis:b}),C&&eG({mainAxis:!0,crossAxis:!1,limiter:"partial"===_?eH():void 0,...G}),C&&eQ({...G}),eB({...G,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(i,"px")),l.setProperty("--radix-popper-anchor-width","".concat(o,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),T&&eV({element:T,padding:x}),to({arrowWidth:K,arrowHeight:L}),A&&eW({strategy:"referenceHidden",...G})]}),[X,Y]=ta(B),Z=(0,eY.c)(M);(0,eZ.N)(()=>{W&&(null==Z||Z())},[W,Z]);let $=null==(n=V.arrow)?void 0:n.x,J=null==(i=V.arrow)?void 0:i.y,ee=(null==(a=V.arrow)?void 0:a.centerOffset)!==0,[et,en]=r.useState();return(0,eZ.N)(()=>{D&&en(window.getComputedStyle(D).zIndex)},[D]),(0,eU.jsx)("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:W?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[null==(l=V.transformOrigin)?void 0:l.x,null==(u=V.transformOrigin)?void 0:u.y].join(" "),...(null==(c=V.hide)?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eU.jsx)(e8,{scope:h,placedSide:X,onArrowChange:F,arrowX:$,arrowY:J,shouldHideArrow:ee,children:(0,eU.jsx)(s.sG.div,{"data-side":X,"data-align":Y,...E,ref:O,style:{...E.style,animation:W?void 0:"none"}})})})});te.displayName=e6;var tt="PopperArrow",tn={top:"bottom",right:"left",bottom:"top",left:"right"},tr=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=e7(tt,n),o=tn[i.placedSide];return(0,eU.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eU.jsx)(eX,{...r,ref:t,style:{...r.style,display:"block"}})})});function ti(e){return null!==e}tr.displayName=tt;var to=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:l,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=ta(l),m={start:"0%",center:"50%",end:"100%"}[p],y=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+d/2,v=(null!=(a=null==(i=u.arrow)?void 0:i.y)?a:0)+f/2,g="",w="";return"bottom"===h?(g=c?m:"".concat(y,"px"),w="".concat(-f,"px")):"top"===h?(g=c?m:"".concat(y,"px"),w="".concat(s.floating.height+f,"px")):"right"===h?(g="".concat(-f,"px"),w=c?m:"".concat(v,"px")):"left"===h&&(g="".concat(s.floating.width+f,"px"),w=c?m:"".concat(v,"px")),{data:{x:g,y:w}}}});function ta(e){let[t,n="center"]=e.split("-");return[t,n]}var tl=n(34378),ts=n(28905),tu="rovingFocusGroup.onEntryFocus",tc={bubbles:!1,cancelable:!0},td="RovingFocusGroup",[tf,th,tp]=(0,u.N)(td),[tm,ty]=(0,a.A)(td,[tp]),[tv,tg]=tm(td),tw=r.forwardRef((e,t)=>
1(0,eU.jsx)(tf.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,eU.jsx)(tf.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,eU.jsx)(tb,{...e,ref:t})})}));tw.displayName=td;var tb=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:u=!1,dir:d,currentTabStopId:f,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:m,preventScrollOnEntryFocus:y=!1,...v}=e,g=r.useRef(null),w=(0,o.s)(t,g),b=(0,c.jH)(d),[x,C]=(0,l.i)({prop:f,defaultProp:null!=h?h:null,onChange:p,caller:td}),[S,R]=r.useState(!1),_=(0,eY.c)(m),A=th(n),j=r.useRef(!1),[M,E]=r.useState(0);return r.useEffect(()=>{let e=g.current;if(e)return e.addEventListener(tu,_),()=>e.removeEventListener(tu,_)},[_]),(0,eU.jsx)(tv,{scope:n,orientation:a,dir:b,loop:u,currentTabStopId:x,onItemFocus:r.useCallback(e=>C(e),[C]),onItemShiftTab:r.useCallback(()=>R(!0),[]),onFocusableItemAdd:r.useCallback(()=>E(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>E(e=>e-1),[]),children:(0,eU.jsx)(s.sG.div,{tabIndex:S||0===M?-1:0,"data-orientation":a,...v,ref:w,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{j.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!j.current;if(e.target===e.currentTarget&&t&&!S){let t=new CustomEvent(tu,tc);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);tR([e.find(e=>e.active),e.find(e=>e.id===x),...e].filter(Boolean).map(e=>e.ref.current),y)}}j.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>R(!1))})})}),tx="RovingFocusGroupItem",tC=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:a=!1,tabStopId:l,children:u,...c}=e,d=(0,p.B)(),f=l||d,h=tg(tx,n),m=h.currentTabStopId===f,y=th(n),{onFocusableItemAdd:v,onFocusableItemRemove:g,currentTabStopId:w}=h;return r.useEffect(()=>{if(o)return v(),()=>g()},[o,v,g]),(0,eU.jsx)(tf.ItemSlot,{scope:n,id:f,focusable:o,active:a,children:(0,eU.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":h.orientation,...c,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?h.onItemFocus(f):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>h.onItemFocus(f)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return tS[i]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().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=h.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>tR(n))}}),children:"function"==typeof u?u({isCurrentTabStop:m,hasTabStop:null!=w}):u})})});tC.displayName=tx;var tS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tR(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var t_=Symbol("radix.slottable");function tA(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===t_}var tj=n(38168),tM=n(31114),tE=["Enter"," "],tP=["ArrowUp","PageDown","End"],tD=["ArrowDown","PageUp","Home",...tP],tk={ltr:[...tE,"ArrowRight"],rtl:[...tE,"ArrowLeft"]},tO={ltr:["ArrowLeft"],rtl:["ArrowRight"]},tT="Menu",[tF,tI,tK]=(0,u.N)(tT),[tL,tN]=(0,a.A)(tT,[tK,e1,ty]),tq=e1(),tz=ty(),[tG,tH]=tL(tT),[tQ,tB]=tL(tT),tW=e=>{let{__scopeMenu:t,open:n=!1,children:i,dir:o,onOpenChange:a,modal:l=!0}=e,s=tq(t),[u,d]=r.useState(null),f=r.useRef(!1),h=(0,eY.c)(a),p=(0,c.jH)(o);return r.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;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})}},[]),(0,eU.jsx)(e9,{...s,children:(0,eU.jsx)(tG,{scope:t,open:n,onOpenChange:h,content:u,onContentChange:d,children:(0,eU.jsx)(tQ,{scope:t,onClose:r.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:p,modal:l,children:i})})})};tW.displayName=tT;var tV=r.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,i=tq(n);return(0,eU.jsx)(e4,{...i,...r,ref:t})});tV.displayName="MenuAnchor";var tU="MenuPortal",[tX,tY]=tL(tU,{forceMount:void 0}),tZ=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=tH(tU,t);return(0,eU.jsx)(tX,{scope:t,forceMount:n,children:(0,eU.jsx)(ts.C,{present:n||o.open,children:(0,eU.jsx)(tl.Z,{asChild:!0,container:i,children:r})})})};tZ.displayName=tU;var t$="MenuContent",[tJ,t0]=tL(t$),t1=r.forwardRef((e,t)=>{let n=tY(t$,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=tH(t$,e.__scopeMenu),a=tB(t$,e.__scopeMenu);return(0,eU.jsx)(tF.Provider,{scope:e.__scopeMenu,children:(0,eU.jsx)(ts.C,{present:r||o.open,children:(0,eU.jsx)(tF.Slot,{scope:e.__scopeMenu,children:a.modal?(0,eU.jsx)(t2,{...i,ref:t}):(0,eU.jsx)(t5,{...i,ref:t})})})})}),t2=r.forwardRef((e,t)=>{let n=tH(t$,e.__scopeMenu),a=r.useRef(null),l=(0,o.s)(t,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,tj.Eq)(e)},[]),(0,eU.jsx)(t3,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),t5=r.forwardRef((e,t)=>{let n=tH(t$,e.__scopeMenu);return(0,eU.jsx)(t3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),t9=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var a;let e,l,s=(a=n,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,o.t)(t,s):s),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),l=a.find(tA);if(l){let e=l.props.children,i=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eU.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eU.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}("MenuContent.ScrollLock"),t3=r.forwardRef((e,t)=>{let{__scopeMenu:n,loop:a=!1,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:g,onDismiss:w,disableOutsideScroll:b,...x}=e,C=tH(t$,n),S=tB(t$,n),R=tq(n),_=tz(n),A=tI(n),[j,M]=r.useState(null),E=r.useRef(null),P=(0,o.s)(t,E,C.onContentChange),D=r.useRef(0),k=r.useRef(""),O=r.useRef(0),T=r.useRef(null),F=r.useRef("right"),I=r.useRef(0),K=b?tM.A:r.Fragment,L=e=>{var t,n;let r=k.current+e,i=A().filter(e=>!e.disabled),o=document.activeElement,a=null==(t=i.find(e=>e.ref.current===o))?void 0:t.textValue,l=function(e,t,n){var r;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,a=(r=Math.max(o,0),e.map((t,n)=>e[(r+n)%e.length]));1===i.length&&(a=a.filter(e=>e!==n));let l=a.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}(i.map(e=>e.textValue),r,a),s=null==(n=i.find(e=>e.textValue===l))?void 0:n.ref.current;!function e(t){k.current=t,window.clearTimeout(D.current),""!==t&&(D.current=window.setTimeout(()=>e(""),1e3))}(r),s&&setTimeout(()=>s.focus())};r.useEffect(()=>()=>window.clearTimeout(D.current),[]),(0,f.Oh)();let N=r.useCallback(e=>{var t,n;return F.current===(null==(t=T.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e],l=t[o],s=a.x,u=a.y,c=l.x,d=l.y;u>r!=d>r&&n<(c-s)*(r-u)/(d-u)+s&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,null==(n=T.current)?void 0:n.area)},[]);return(0,eU.jsx)(tJ,{scope:n,searchRef:k,onItemEnter:r.useCallback(e=>{N(e)&&e.preventDefault()},[N]),onItemLeave:r.useCallback(e=>{var t;
1N(e)||(null==(t=E.current)||t.focus(),M(null))},[N]),onTriggerLeave:r.useCallback(e=>{N(e)&&e.preventDefault()},[N]),pointerGraceTimerRef:O,onPointerGraceIntentChange:r.useCallback(e=>{T.current=e},[]),children:(0,eU.jsx)(K,{...b?{as:t9,allowPinchZoom:!0}:void 0,children:(0,eU.jsx)(h.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,i.mK)(s,e=>{var t;e.preventDefault(),null==(t=E.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:(0,eU.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:g,onDismiss:w,children:(0,eU.jsx)(tw,{asChild:!0,..._,dir:S.dir,orientation:"vertical",loop:a,currentTabStopId:j,onCurrentTabStopIdChange:M,onEntryFocus:(0,i.mK)(p,e=>{S.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,eU.jsx)(te,{role:"menu","aria-orientation":"vertical","data-state":nS(C.open),"data-radix-menu-content":"",dir:S.dir,...R,...x,ref:P,style:{outline:"none",...x.style},onKeyDown:(0,i.mK)(x.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&&L(e.key));let i=E.current;if(e.target!==i||!tD.includes(e.key))return;e.preventDefault();let o=A().filter(e=>!e.disabled).map(e=>e.ref.current);tP.includes(e.key)&&o.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(o)}),onBlur:(0,i.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(D.current),k.current="")}),onPointerMove:(0,i.mK)(e.onPointerMove,nA(e=>{let t=e.target,n=I.current!==e.clientX;e.currentTarget.contains(t)&&n&&(F.current=e.clientX>I.current?"right":"left",I.current=e.clientX)}))})})})})})})});t1.displayName=t$;var t4=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,eU.jsx)(s.sG.div,{role:"group",...r,ref:t})});t4.displayName="MenuGroup";var t6=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,eU.jsx)(s.sG.div,{...r,ref:t})});t6.displayName="MenuLabel";var t8="MenuItem",t7="menu.itemSelect",ne=r.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:a,...l}=e,u=r.useRef(null),c=tB(t8,e.__scopeMenu),d=t0(t8,e.__scopeMenu),f=(0,o.s)(t,u),h=r.useRef(!1);return(0,eU.jsx)(nt,{...l,ref:f,disabled:n,onClick:(0,i.mK)(e.onClick,()=>{let e=u.current;if(!n&&e){let t=new CustomEvent(t7,{bubbles:!0,cancelable:!0});e.addEventListener(t7,e=>null==a?void 0:a(e),{once:!0}),(0,s.hO)(e,t),t.defaultPrevented?h.current=!1:c.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),h.current=!0},onPointerUp:(0,i.mK)(e.onPointerUp,e=>{var t;h.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;n||t&&" "===e.key||tE.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ne.displayName=t8;var nt=r.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:a=!1,textValue:l,...u}=e,c=t0(t8,n),d=tz(n),f=r.useRef(null),h=(0,o.s)(t,f),[p,m]=r.useState(!1),[y,v]=r.useState("");return r.useEffect(()=>{let e=f.current;if(e){var t;v((null!=(t=e.textContent)?t:"").trim())}},[u.children]),(0,eU.jsx)(tF.ItemSlot,{scope:n,disabled:a,textValue:null!=l?l:y,children:(0,eU.jsx)(tC,{asChild:!0,...d,focusable:!a,children:(0,eU.jsx)(s.sG.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...u,ref:h,onPointerMove:(0,i.mK)(e.onPointerMove,nA(e=>{a?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,nA(e=>c.onItemLeave(e))),onFocus:(0,i.mK)(e.onFocus,()=>m(!0)),onBlur:(0,i.mK)(e.onBlur,()=>m(!1))})})})}),nn=r.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,eU.jsx)(nc,{scope:e.__scopeMenu,checked:n,children:(0,eU.jsx)(ne,{role:"menuitemcheckbox","aria-checked":nR(n)?"mixed":n,...o,ref:t,"data-state":n_(n),onSelect:(0,i.mK)(o.onSelect,()=>null==r?void 0:r(!!nR(n)||!n),{checkForDefaultPrevented:!1})})})});nn.displayName="MenuCheckboxItem";var nr="MenuRadioGroup",[ni,no]=tL(nr,{value:void 0,onValueChange:()=>{}}),na=r.forwardRef((e,t)=>
1{let{value:n,onValueChange:r,...i}=e,o=(0,eY.c)(r);return(0,eU.jsx)(ni,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,eU.jsx)(t4,{...i,ref:t})})});na.displayName=nr;var nl="MenuRadioItem",ns=r.forwardRef((e,t)=>{let{value:n,...r}=e,o=no(nl,e.__scopeMenu),a=n===o.value;return(0,eU.jsx)(nc,{scope:e.__scopeMenu,checked:a,children:(0,eU.jsx)(ne,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":n_(a),onSelect:(0,i.mK)(r.onSelect,()=>{var e;return null==(e=o.onValueChange)?void 0:e.call(o,n)},{checkForDefaultPrevented:!1})})})});ns.displayName=nl;var nu="MenuItemIndicator",[nc,nd]=tL(nu,{checked:!1}),nf=r.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,o=nd(nu,n);return(0,eU.jsx)(ts.C,{present:r||nR(o.checked)||!0===o.checked,children:(0,eU.jsx)(s.sG.span,{...i,ref:t,"data-state":n_(o.checked)})})});nf.displayName=nu;var nh=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,eU.jsx)(s.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});nh.displayName="MenuSeparator";var np=r.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=tq(n);return(0,eU.jsx)(tr,{...i,...r,ref:t})});np.displayName="MenuArrow";var nm="MenuSub",[ny,nv]=tL(nm),ng=e=>{let{__scopeMenu:t,children:n,open:i=!1,onOpenChange:o}=e,a=tH(nm,t),l=tq(t),[s,u]=r.useState(null),[c,d]=r.useState(null),f=(0,eY.c)(o);return r.useEffect(()=>(!1===a.open&&f(!1),()=>f(!1)),[a.open,f]),(0,eU.jsx)(e9,{...l,children:(0,eU.jsx)(tG,{scope:t,open:i,onOpenChange:f,content:c,onContentChange:d,children:(0,eU.jsx)(ny,{scope:t,contentId:(0,p.B)(),triggerId:(0,p.B)(),trigger:s,onTriggerChange:u,children:n})})})};ng.displayName=nm;var nw="MenuSubTrigger",nb=r.forwardRef((e,t)=>{let n=tH(nw,e.__scopeMenu),a=tB(nw,e.__scopeMenu),l=nv(nw,e.__scopeMenu),s=t0(nw,e.__scopeMenu),u=r.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,f={__scopeMenu:e.__scopeMenu},h=r.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return r.useEffect(()=>h,[h]),r.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,eU.jsx)(tV,{asChild:!0,...f,children:(0,eU.jsx)(nt,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":nS(n.open),...e,ref:(0,o.t)(t,l.onTriggerChange),onClick:t=>{var r;null==(r=e.onClick)||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,i.mK)(e.onPointerMove,nA(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||n.open||u.current||(s.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),h()},100)))})),onPointerLeave:(0,i.mK)(e.onPointerLeave,nA(e=>{var t,r;h();let i=null==(t=n.content)?void 0:t.getBoundingClientRect();if(i){let t=null==(r=n.content)?void 0:r.dataset.side,o="right"===t,a=i[o?"left":"right"],l=i[o?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:i.top},{x:l,y:i.top},{x:l,y:i.bottom},{x:a,y:i.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.mK)(e.onKeyDown,t=>{let r=""!==s.searchRef.current;if(!e.disabled&&(!r||" "!==t.key)&&tk[a.dir].includes(t.key)){var i;n.onOpenChange(!0),null==(i=n.content)||i.focus(),t.preventDefault()}})})})});nb.displayName=nw;var nx="MenuSubContent",nC=r.forwardRef((e,t)=>{let n=tY(t$,e.__scopeMenu),{forceMount:a=n.forceMount,...l}=e,s=tH(t$,e.__scopeMenu),u=tB(t$,e.__scopeMenu),c=nv(nx,e.__scopeMenu),d=r.useRef(null),f=(0,o.s)(t,d);return(0,eU.jsx)(tF.Provider,{scope:e.__scopeMenu,children:(0,eU.jsx)(ts.C,{present:a||s.open,children:(0,eU.jsx)(tF.Slot,{scope:e.__scopeMenu,children:(0,eU.jsx)(t3,{id:c.contentId,"aria-labelledby":c.triggerId,...l,ref:f,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null==(t=d.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,i.mK)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=tO[u.dir].includes(e.ke
1y);if(t&&n){var r;s.onOpenChange(!1),null==(r=c.trigger)||r.focus(),e.preventDefault()}})})})})})});function nS(e){return e?"open":"closed"}function nR(e){return"indeterminate"===e}function n_(e){return nR(e)?"indeterminate":e?"checked":"unchecked"}function nA(e){return t=>"mouse"===t.pointerType?e(t):void 0}nC.displayName=nx;var nj="DropdownMenu",[nM,nE]=(0,a.A)(nj,[tN]),nP=tN(),[nD,nk]=nM(nj),nO=e=>{let{__scopeDropdownMenu:t,children:n,dir:i,open:o,defaultOpen:a,onOpenChange:s,modal:u=!0}=e,c=nP(t),d=r.useRef(null),[f,h]=(0,l.i)({prop:o,defaultProp:null!=a&&a,onChange:s,caller:nj});return(0,eU.jsx)(nD,{scope:t,triggerId:(0,p.B)(),triggerRef:d,contentId:(0,p.B)(),open:f,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),modal:u,children:(0,eU.jsx)(tW,{...c,open:f,onOpenChange:h,dir:i,modal:u,children:n})})};nO.displayName=nj;var nT="DropdownMenuTrigger",nF=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,l=nk(nT,n),u=nP(n);return(0,eU.jsx)(tV,{asChild:!0,...u,children:(0,eU.jsx)(s.sG.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":r?"":void 0,disabled:r,...a,ref:(0,o.t)(t,l.triggerRef),onPointerDown:(0,i.mK)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});nF.displayName=nT;var nI=e=>{let{__scopeDropdownMenu:t,...n}=e,r=nP(t);return(0,eU.jsx)(tZ,{...r,...n})};nI.displayName="DropdownMenuPortal";var nK="DropdownMenuContent",nL=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,a=nk(nK,n),l=nP(n),s=r.useRef(!1);return(0,eU.jsx)(t1,{id:a.contentId,"aria-labelledby":a.triggerId,...l,...o,ref:t,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;s.current||null==(t=a.triggerRef.current)||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,i.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!a.modal||r)&&(s.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)"}})});nL.displayName=nK;var nN=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(t4,{...i,...r,ref:t})});nN.displayName="DropdownMenuGroup";var nq=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(t6,{...i,...r,ref:t})});nq.displayName="DropdownMenuLabel";var nz=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(ne,{...i,...r,ref:t})});nz.displayName="DropdownMenuItem";var nG=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(nn,{...i,...r,ref:t})});nG.displayName="DropdownMenuCheckboxItem";var nH=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(na,{...i,...r,ref:t})});nH.displayName="DropdownMenuRadioGroup";var nQ=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(ns,{...i,...r,ref:t})});nQ.displayName="DropdownMenuRadioItem";var nB=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(nf,{...i,...r,ref:t})});nB.displayName="DropdownMenuItemIndicator";var nW=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(nh,{...i,...r,ref:t})});nW.displayName="DropdownMenuSeparator",r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(np,{...i,...r,ref:t})}).displayName="DropdownMenuArrow";var nV=r.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(nb,{...i,...r,ref:t})});nV.displayName="DropdownMenuSubTrigger";var nU=r.forwardRef((e,t)=>
1{let{__scopeDropdownMenu:n,...r}=e,i=nP(n);return(0,eU.jsx)(nC,{...i,...r,ref:t,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)"}})});nU.displayName="DropdownMenuSubContent";var nX=nO,nY=nF,nZ=nI,n$=nL,nJ=nN,n0=nq,n1=nz,n2=nG,n5=nH,n9=nQ,n3=nB,n4=nW,n6=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:o}=e,a=nP(t),[s,u]=(0,l.i)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:"DropdownMenuSub"});return(0,eU.jsx)(ng,{...a,open:s,onOpenChange:u,children:n})},n8=nV,n7=nU},94315:(e,t,n)=>{"use strict";n.d(t,{jH:()=>o});var r=n(12115);n(95155);var i=r.createContext(void 0);function o(e){let t=r.useContext(i);return e||t||"ltr"}}}]);
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.