"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[440],{8030:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(2265);/**
 * @license lucide-react v0.378.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};/**
 * @license lucide-react v0.378.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.378.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:c,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...a,width:l,height:l,stroke:r,strokeWidth:s?24*Number(i)/Number(l):i,className:o("lucide",u),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:s,...u}=r;return(0,n.createElement)(i,{ref:a,iconNode:t,className:o("lucide-".concat(l(e)),s),...u})});return r.displayName="".concat(e),r}},8035:function(e,t,r){r.d(t,{Lp:function(){return w},eI:function(){return y}});let n=/\{[^{}]+\}/g,l=({allowReserved:e,name:t,value:r})=>{if(null==r)return"";if("object"==typeof r)throw Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?r:encodeURIComponent(r)}`},o=({allowReserved:e,explode:t,name:r,style:n,value:o})=>{if(!t){let t=(e?o:o.map(e=>encodeURIComponent(e))).join((e=>{switch(e){case"form":default:return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20"}})(n));switch(n){case"label":return`.${t}`;case"matrix":return`;${r}=${t}`;case"simple":return t;default:return`${r}=${t}`}}let a=(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}})(n),i=o.map(t=>"label"===n||"simple"===n?e?t:encodeURIComponent(t):l({allowReserved:e,name:r,value:t})).join(a);return"label"===n||"matrix"===n?a+i:i},a=({allowReserved:e,explode:t,name:r,style:n,value:o})=>{if("deepObject"!==n&&!t){let t=[];Object.entries(o).forEach(([r,n])=>{t=[...t,r,e?n:encodeURIComponent(n)]});let l=t.join(",");switch(n){case"form":return`${r}=${l}`;case"label":return`.${l}`;case"matrix":return`;${r}=${l}`;default:return l}}let a=(e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}})(n),i=Object.entries(o).map(([t,o])=>l({allowReserved:e,name:"deepObject"===n?`${r}[${t}]`:t,value:o})).join(a);return"label"===n||"matrix"===n?a+i:i},i=({allowReserved:e,array:t,object:r}={})=>n=>{let i=[];if(n&&"object"==typeof n)for(let s in n){let u=n[s];null!=u&&(i=Array.isArray(u)?[...i,o({allowReserved:e,explode:!0,name:s,style:"form",value:u,...t})]:"object"!=typeof u?[...i,l({allowReserved:e,name:s,value:u})]:[...i,a({allowReserved:e,explode:!0,name:s,style:"deepObject",value:u,...r})])}return i.join("&")},s=({baseUrl:e,path:t,query:r,querySerializer:i,url:s})=>{let u=e+(s.startsWith("/")?s:`/${s}`);t&&(u=(({path:e,url:t})=>{let r=t,i=t.match(n);if(i)for(let t of i){let n=!1,i=t.substring(1,t.length-1),s="simple";i.endsWith("*")&&(n=!0,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),s="label"):i.startsWith(";")&&(i=i.substring(1),s="matrix");let u=e[i];null!=u&&(r=Array.isArray(u)?r.replace(t,o({explode:n,name:i,style:s,value:u})):"object"!=typeof u?"matrix"!==s?r.replace(t,"label"===s?`.${u}`:u):r.replace(t,`;${l({name:i,value:u})}`):r.replace(t,a({explode:n,name:i,style:s,value:u})))}return r})({path:t,url:u}));let c=r?i(r):"";return c.startsWith("?")&&(c=c.substring(1)),c&&(u+=`?${c}`),u},u=(...e)=>{let t=new Headers;for(let r of e)if(r&&"object"==typeof r)for(let[e,n]of r instanceof Headers?r.entries():Object.entries(r))if(null===n)t.delete(e);else if(Array.isArray(n))for(let r of n)t.append(e,r);else void 0!==n&&t.set(e,"object"==typeof n?JSON.stringify(n):n);return t};class c{_fns;constructor(){this._fns=[]}eject(e){let t=this._fns.indexOf(e);-1!==t&&(this._fns=[...this._fns.slice(0,t),...this._fns.slice(t+1)])}use(e){this._fns=[...this._fns,e]}}let d=()=>({request:new c,response:new c}),f={bodySerializer:e=>JSON.stringify(e)},p=i({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),m={"Content-Type":"application/json"},h=()=>({...f,baseUrl:"",fetch:globalThis.fetch,global:!0,headers:m,querySerializer:p}),v=h(),b=d(),y=e=>{let t=h(),r={...t,...e};r.baseUrl?.endsWith("/")&&(r.baseUrl=r.baseUrl.substring(0,r.baseUrl.length-1)),r.headers=u(t.headers,r.headers),r.global&&(v={...r});let n=()=>r.global?v:r,l=r.global?b:d(),o=async e=>{let t=n(),r={...t,...e,headers:u(t.headers,e.headers)};r.body&&r.bodySerializer&&(r.body=r.bodySerializer(r.body));let o=s({baseUrl:r.baseUrl??"",path:r.path,query:r.query,querySerializer:"function"==typeof r.querySerializer?r.querySerializer:i(r.querySerializer),url:r.url}),a={redirect:"follow",...r};a.body instanceof FormData&&a.headers.delete("Content-Type");let c=new Request(o,a);for(let e of l.request._fns)c=await e(c,r);let d=r.fetch,f=await d(c);for(let e of l.response._fns)f=await e(f,c,r);let p={request:c,response:f};if(204===f.status||"0"===f.headers.get("Content-Length"))return f.ok?{data:{},...p}:{error:{},...p};if(f.ok){if("stream"===r.parseAs)return{data:f.body,...p};let e="auto"===r.parseAs?(e=>{if(e)return"application/json"===e||e.endsWith("+json")?"json":"multipart/form-data"===e?"formData":["application/octet-stream","application/pdf","application/zip","audio/","image/","video/"].some(t=>e.includes(t))?"blob":e.includes("text/")?"text":void 0})(f.headers.get("Content-Type")):r.parseAs;return{data:await f[e??"json"](),...p}}let m=await f.text();try{m=JSON.parse(m)}catch{}return{error:m,...p}};return{connect:e=>o({...e,method:"CONNECT"}),delete:e=>o({...e,method:"DELETE"}),get:e=>o({...e,method:"GET"}),getConfig:n,head:e=>o({...e,method:"HEAD"}),interceptors:l,options:e=>o({...e,method:"OPTIONS"}),patch:e=>o({...e,method:"PATCH"}),post:e=>o({...e,method:"POST"}),put:e=>o({...e,method:"PUT"}),request:o,trace:e=>o({...e,method:"TRACE"})}},w=y(v)},8149:function(e,t,r){r.d(t,{M:function(){return n}});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}},976:function(e,t,r){r.d(t,{B:function(){return i}});var n=r(2265),l=r(8324),o=r(1584),a=r(1538);function i(e){let t=e+"CollectionProvider",[r,i]=(0,l.b)(t),[s,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=n.forwardRef((e,t)=>{let{scope:r,children:l}=e,i=u(c,r),s=(0,o.e)(t,i.collectionRef);return n.createElement(a.g7,{ref:s},l)}),f=e+"CollectionItemSlot",p="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,l=n.useRef(null),o=n.useRef(new Map).current;return n.createElement(s,{scope:t,itemMap:o,collectionRef:l},r)},Slot:d,ItemSlot:n.forwardRef((e,t)=>{let{scope:r,children:l,...i}=e,s=n.useRef(null),c=(0,o.e)(t,s),d=u(f,r);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...i}),()=>void d.itemMap.delete(s))),n.createElement(a.g7,{[p]:"",ref:c},l)})},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}},8324:function(e,t,r){r.d(t,{b:function(){return l}});var n=r(2265);function l(e,t=[]){let r=[],l=()=>{let t=r.map(e=>(0,n.createContext)(e));return function(r){let l=(null==r?void 0:r[e])||t;return(0,n.useMemo)(()=>({[`__scope${e}`]:{...r,[e]:l}}),[r,l])}};return l.scopeName=e,[function(t,l){let o=(0,n.createContext)(l),a=r.length;function i(t){let{scope:r,children:l,...i}=t,s=(null==r?void 0:r[e][a])||o,u=(0,n.useMemo)(()=>i,Object.values(i));return(0,n.createElement)(s.Provider,{value:u},l)}return r=[...r,l],i.displayName=t+"Provider",[i,function(r,i){let s=(null==i?void 0:i[e][a])||o,u=(0,n.useContext)(s);if(u)return u;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let l=r.reduce((t,{useScope:r,scopeName:n})=>{let l=r(e)[`__scope${n}`];return{...t,...l}},{});return(0,n.useMemo)(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}(l,...t)]}},3938:function(e,t,r){let n;r.d(t,{I0:function(){return b},XB:function(){return f},fC:function(){return v}});var l=r(2988),o=r(2265),a=r(8149),i=r(5171),s=r(1584),u=r(5137);let c="dismissableLayer.update",d=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=(0,o.forwardRef)((e,t)=>{var r;let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:b,onInteractOutside:y,onDismiss:w,...E}=e,g=(0,o.useContext)(d),[C,R]=(0,o.useState)(null),x=null!==(r=null==C?void 0:C.ownerDocument)&&void 0!==r?r:null==globalThis?void 0:globalThis.document,[,O]=(0,o.useState)({}),j=(0,s.e)(t,e=>R(e)),P=Array.from(g.layers),[S]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),T=P.indexOf(S),W=C?P.indexOf(C):-1,$=g.layersWithOutsidePointerEventsDisabled.size>0,D=W>=T,L=function(e,t=null==globalThis?void 0:globalThis.document){let r=(0,u.W)(e),n=(0,o.useRef)(!1),l=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function o(){h("dismissableLayer.pointerDownOutside",r,n,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",l.current),l.current=o,t.addEventListener("click",l.current,{once:!0})):o()}else t.removeEventListener("click",l.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",l.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...g.branches].some(e=>e.contains(t));!D||r||(null==v||v(e),null==y||y(e),e.defaultPrevented||null==w||w())},x),k=function(e,t=null==globalThis?void 0:globalThis.document){let r=(0,u.W)(e),n=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!n.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...g.branches].some(e=>e.contains(t))||(null==b||b(e),null==y||y(e),e.defaultPrevented||null==w||w())},x);return!function(e,t=null==globalThis?void 0:globalThis.document){let r=(0,u.W)(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[r,t])}(e=>{W!==g.layers.size-1||(null==p||p(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},x),(0,o.useEffect)(()=>{if(C)return f&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(n=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(C)),g.layers.add(C),m(),()=>{f&&1===g.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=n)}},[C,x,f,g]),(0,o.useEffect)(()=>()=>{C&&(g.layers.delete(C),g.layersWithOutsidePointerEventsDisabled.delete(C),m())},[C,g]),(0,o.useEffect)(()=>{let e=()=>O({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,o.createElement)(i.WV.div,(0,l.Z)({},E,{ref:j,style:{pointerEvents:$?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,L.onPointerDownCapture)}))}),p=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(d),n=(0,o.useRef)(null),a=(0,s.e)(t,n);return(0,o.useEffect)(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,o.createElement)(i.WV.div,(0,l.Z)({},e,{ref:a}))});function m(){let e=new CustomEvent(c);document.dispatchEvent(e)}function h(e,t,r,{discrete:n}){let l=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&l.addEventListener(e,t,{once:!0}),n?(0,i.jH)(l,o):l.dispatchEvent(o)}let v=f,b=p},6935:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(2988),l=r(2265),o=r(4887),a=r(5171);let i=(0,l.forwardRef)((e,t)=>{var r;let{container:i=null==globalThis?void 0:null===(r=globalThis.document)||void 0===r?void 0:r.body,...s}=e;return i?o.createPortal((0,l.createElement)(a.WV.div,(0,n.Z)({},s,{ref:t})),i):null})},5137:function(e,t,r){r.d(t,{W:function(){return l}});var n=r(2265);function l(e){let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),(0,n.useMemo)(()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}},1715:function(e,t,r){r.d(t,{T:function(){return o}});var n=r(2265),l=r(5137);function o({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,a]=function({defaultProp:e,onChange:t}){let r=(0,n.useState)(e),[o]=r,a=(0,n.useRef)(o),i=(0,l.W)(t);return(0,n.useEffect)(()=>{a.current!==o&&(i(o),a.current=o)},[o,a,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,s=i?e:o,u=(0,l.W)(r);return[s,(0,n.useCallback)(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else a(t)},[i,e,a,u])]}},1336:function(e,t,r){r.d(t,{b:function(){return l}});var n=r(2265);let l=(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:()=>{}},1725:function(e,t,r){r.d(t,{T:function(){return a}});var n=r(2988),l=r(2265),o=r(5171);let a=(0,l.forwardRef)((e,t)=>(0,l.createElement)(o.WV.span,(0,n.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))}}]);