vendor: 6,322 bytes, lines 1-17
1var io=e=>{throw TypeError(e)};var ao=(e,t,n)=>t.has(e)||io("Cannot "+n);var ge=(e,t,n)=>(ao(e,t,"read from private field"),n?n.call(e):t.get(e)),co=(e,t,n)=>t.has(e)?io("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Mn=(e,t,n,r)=>(ao(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function Fa(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ln={exports:{}},At={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var lo;function $a(){if(lo)return At;lo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,s){var i=null;if(s!==void 0&&(i=""+s),o.key!==void 0&&(i=""+o.key),"key"in o){s={};for(var a in o)a!=="key"&&(s[a]=o[a])}else s=o;return o=s.ref,{$$typeof:e,type:r,key:i,ref:o!==void 0?o:null,props:s}}return At.Fragment=t,At.jsx=n,At.jsxs=n,At}var uo;function za(){return uo||(uo=1,Ln.exports=$a()),Ln.exports}var x=za(),Fn={exports:{}},K={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var fo;function Ua(){if(fo)return K;fo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),m=Symbol.iterator;function b(w){return w===null||typeof w!="object"?null:(w=m&&w[m]||w["@@iterator"],typeof w=="function"?w:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,p={};function v(w,T,D){this.props=w,this.context=T,this.refs=p,this.updater=D||h}v.prototype.isReactComponent={},v.prototype.setState=function(w,T){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,T,"setState")},v.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function S(){}S.prototype=v.prototype;function y(w,T,D){this.props=w,this.context=T,this.refs=p,this.updater=D||h}var C=y.prototype=new S;C.constructor=y,g(C,v.prototype),C.isPureReactComponent=!0;var R=Array.isArray;function _(){}var k={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function O(w,T,D){var L=D.ref;return{$$typeof:e,type:w,key:T,ref:L!==void 0?L:null,props:D}}function U(w,T){return O(w.type,T,w.props)}function W(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function j(w){var T={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(D){return T[D]})}var H=/\/+/g;function G(w,T){return typeof w=="object"&&w!==null&&w.key!=null?j(""+w.key):T.toString(36)}function Z(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(_,_):(w.status="pending",w.then(function(T){w.status==="pending"&&(w.status="fulfilled",w.value=T)},function(T){w.status==="pending"&&(w.status="rejected",w.reason=T)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function B(w,T,D,L,F){var V=typeof w;(V==="undefined"||V==="boolean")&&(w=null);var J=!1;if(w===null)J=!0;else switch(V){case"bigint":case"string":case"number":J=!0;break;case"object":switch(w.$$typeof){case e:case t:J=!0;break;case u:return J=w._init,B(J(w._payload),T,D,L,F)}}if(J)return F=F(w),J=L===""?"."+G(w,0):L,R(F)?(D="",J!=null&&(D=J.replace(H,"$&/")+"/"),B(F,T,D,"",function(ce){return ce})):F!=null&&(W(F)&&(F=U(F,D+(F.key==null||w&&w.key===F.key?"":(""+F.key).replace(H,"$&/")+"/")+J)),T.push(F)),1;J=0;var z=L===""?".":L+":";if(R(w))for(var M=0;M<w.length;M++)L=w[M],V=z+G(L,M),J+=B(L,T,D,V,F);else if(M=b(w),typeof M=="function")for(w=M.call(w),M=0;!(L=w.next()).done;)L=L.value,V=z+G(L,M++),J+=B(L,T,D,V,F);else if(V==="object"){if(typeof w.then=="function")return B(Z(w),T,D,L,F);throw T=String(w),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.")}return J}function $(w,T,D){if(w==null)return w;var L=[],F=0;return B(w,L,"","",function(V){return T.call(D,V,F++)}),L}function q(w){if(w._status===-1){var T=w._result;T=T(),T.then(function(D){(w._status===0||w._status===-1)&&(w._status=1,w._result=D)},function(D){(w._status===0||w._status===-1)&&(w._status=2,w._result=D)}),w._status===-1&&(w._status=0,w._result=T)}if(w._status===1)return w._result.default;throw w._result}var Q=typeof reportError=="function"?reportError:function(w){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var T=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(T))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",w);return}console.error(w)},A={map:$,forEach:function(w,T,D){$(w,function(){T.apply(this,arguments)},D)},count:function(w){var T=0;return $(w,function(){T++}),T},toArray:function(w){return $(w,function(T){return T})||[]},only:function(w){if(!W(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};return K.Activity=d,K.Children=A,K.Component=v,K.Fragment=n,K.Profiler=o,K.PureC
vendor: 4,141 bytes, lines 17-25
17omponent=y,K.StrictMode=r,K.Suspense=l,K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,K.__COMPILER_RUNTIME={__proto__:null,c:function(w){return k.H.useMemoCache(w)}},K.cache=function(w){return function(){return w.apply(null,arguments)}},K.cacheSignal=function(){return null},K.cloneElement=function(w,T,D){if(w==null)throw Error("The argument must be a React element, but you passed "+w+".");var L=g({},w.props),F=w.key;if(T!=null)for(V in T.key!==void 0&&(F=""+T.key),T)!P.call(T,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&T.ref===void 0||(L[V]=T[V]);var V=arguments.length-2;if(V===1)L.children=D;else if(1<V){for(var J=Array(V),z=0;z<V;z++)J[z]=arguments[z+2];L.children=J}return O(w.type,F,L)},K.createContext=function(w){return w={$$typeof:i,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:s,_context:w},w},K.createElement=function(w,T,D){var L,F={},V=null;if(T!=null)for(L in T.key!==void 0&&(V=""+T.key),T)P.call(T,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&(F[L]=T[L]);var J=arguments.length-2;if(J===1)F.children=D;else if(1<J){for(var z=Array(J),M=0;M<J;M++)z[M]=arguments[M+2];F.children=z}if(w&&w.defaultProps)for(L in J=w.defaultProps,J)F[L]===void 0&&(F[L]=J[L]);return O(w,V,F)},K.createRef=function(){return{current:null}},K.forwardRef=function(w){return{$$typeof:a,render:w}},K.isValidElement=W,K.lazy=function(w){return{$$typeof:u,_payload:{_status:-1,_result:w},_init:q}},K.memo=function(w,T){return{$$typeof:c,type:w,compare:T===void 0?null:T}},K.startTransition=function(w){var T=k.T,D={};k.T=D;try{var L=w(),F=k.S;F!==null&&F(D,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(_,Q)}catch(V){Q(V)}finally{T!==null&&D.types!==null&&(T.types=D.types),k.T=T}},K.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},K.use=function(w){return k.H.use(w)},K.useActionState=function(w,T,D){return k.H.useActionState(w,T,D)},K.useCallback=function(w,T){return k.H.useCallback(w,T)},K.useContext=function(w){return k.H.useContext(w)},K.useDebugValue=function(){},K.useDeferredValue=function(w,T){return k.H.useDeferredValue(w,T)},K.useEffect=function(w,T){return k.H.useEffect(w,T)},K.useEffectEvent=function(w){return k.H.useEffectEvent(w)},K.useId=function(){return k.H.useId()},K.useImperativeHandle=function(w,T,D){return k.H.useImperativeHandle(w,T,D)},K.useInsertionEffect=function(w,T){return k.H.useInsertionEffect(w,T)},K.useLayoutEffect=function(w,T){return k.H.useLayoutEffect(w,T)},K.useMemo=function(w,T){return k.H.useMemo(w,T)},K.useOptimistic=function(w,T){return k.H.useOptimistic(w,T)},K.useReducer=function(w,T,D){return k.H.useReducer(w,T,D)},K.useRef=function(w){return k.H.useRef(w)},K.useState=function(w){return k.H.useState(w)},K.useSyncExternalStore=function(w,T,D){return k.H.useSyncExternalStore(w,T,D)},K.useTransition=function(){return k.H.useTransition()},K.version="19.2.1",K}var po;function hs(){return po||(po=1,Fn.exports=Ua()),Fn.exports}var f=hs();const Ha=Ba(f),Lt=Fa({__proto__:null,default:Ha},[f]);var Bn={exports:{}},be={};/** 18 * @license React 19 * react-dom.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var mo;function Va(){if(mo)return be;mo=1;var e=hs();function t(l){var c="https://react.dev/errors/"+l;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)c+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(l,c,u){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:d==null?null:""+d,children:l,containerInfo:c,implementation:u}}var i=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
vendor: 3,720 bytes, line 25
25function a(l,c){if(l==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}return be.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,be.createPortal=function(l,c){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error(t(299));return s(l,c,null,u)},be.flushSync=function(l){var c=i.T,u=r.p;try{if(i.T=null,r.p=2,l)return l()}finally{i.T=c,r.p=u,r.d.f()}},be.preconnect=function(l,c){typeof l=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,r.d.C(l,c))},be.prefetchDNS=function(l){typeof l=="string"&&r.d.D(l)},be.preinit=function(l,c){if(typeof l=="string"&&c&&typeof c.as=="string"){var u=c.as,d=a(u,c.crossOrigin),m=typeof c.integrity=="string"?c.integrity:void 0,b=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;u==="style"?r.d.S(l,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:d,integrity:m,fetchPriority:b}):u==="script"&&r.d.X(l,{crossOrigin:d,integrity:m,fetchPriority:b,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},be.preinitModule=function(l,c){if(typeof l=="string")if(typeof c=="object"&&c!==null){if(c.as==null||c.as==="script"){var u=a(c.as,c.crossOrigin);r.d.M(l,{crossOrigin:u,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})}}else c==null&&r.d.M(l)},be.preload=function(l,c){if(typeof l=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var u=c.as,d=a(u,c.crossOrigin);r.d.L(l,u,{crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},be.preloadModule=function(l,c){if(typeof l=="string")if(c){var u=a(c.as,c.crossOrigin);r.d.m(l,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:u,integrity:typeof c.integrity=="string"?c.integrity:void 0})}else r.d.m(l)},be.requestFormReset=function(l){r.d.r(l)},be.unstable_batchedUpdates=function(l,c){return l(c)},be.useFormState=function(l,c,u){return i.H.useFormState(l,c,u)},be.useFormStatus=function(){return i.H.useHostTransitionStatus()},be.version="19.2.1",be}var ho;function Wa(){if(ho)return Bn.exports;ho=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Bn.exports=Va(),Bn.exports}var Ft=Wa();function gs(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ga}=Object.prototype,{getPrototypeOf:_r}=Object,hn=(e=>t=>{const n=Ga.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Te=e=>(e=e.toLowerCase(),t=>hn(t)===e),gn=e=>t=>typeof t===e,{isArray:Et}=Array,jt=gn("undefined");function qa(e){return e!==null&&!jt(e)&&e.constructor!==null&&!jt(e.constructor)&&Ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const bs=Te("ArrayBuffer");function Ka(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&bs(e.buffer),t}const Ya=gn("string"),Ee=gn("function"),vs=gn("number"),bn=e=>e!==null&&typeof e=="object",Xa=e=>e===!0||e===!1,Qt=e=>{if(hn(e)!=="object")return!1;const t=_r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}
vendor: 4,155 bytes, line 25
25,Ja=Te("Date"),Za=Te("File"),Qa=Te("Blob"),ec=Te("FileList"),tc=e=>bn(e)&&Ee(e.pipe),nc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ee(e.append)&&((t=hn(e))==="formdata"||t==="object"&&Ee(e.toString)&&e.toString()==="[object FormData]"))},rc=Te("URLSearchParams"),[oc,sc,ic,ac]=["ReadableStream","Request","Response","Headers"].map(Te),cc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Bt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Et(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function ys(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ot=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xs=e=>!jt(e)&&e!==ot;function nr(){const{caseless:e}=xs(this)&&this||{},t={},n=(r,o)=>{const s=e&&ys(t,o)||o;Qt(t[s])&&Qt(r)?t[s]=nr(t[s],r):Qt(r)?t[s]=nr({},r):Et(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Bt(arguments[r],n);return t}const lc=(e,t,n,{allOwnKeys:r}={})=>(Bt(t,(o,s)=>{n&&Ee(o)?e[s]=gs(o,n):e[s]=o},{allOwnKeys:r}),e),uc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dc=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fc=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&_r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pc=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},mc=e=>{if(!e)return null;if(Et(e))return e;let t=e.length;if(!vs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_r(Uint8Array)),gc=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},bc=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},vc=Te("HTMLFormElement"),yc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),go=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xc=Te("RegExp"),ws=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Bt(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},wc=e=>{ws(e,(t,n)=>{if(Ee(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ee(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Sc=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Et(e)?r(e):r(String(e).split(t)),n},Cc=()=>{},Rc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ec(e){return!!(e&&Ee(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _c=e=>{const t=new Array(10),n=(r,o)=>{if(bn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Et(r)?[]:{};return Bt(r,(i,a)=>{const l=n(i,o+1);!jt(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},kc=Te("AsyncFunction"),Pc=e=>e&&(bn(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),Ss=((e,t)=>e?setImmediate:t?((n,r)=>(ot.addEventListener("message",({source:o,data:s})=>{o===ot&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ot.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ee(ot.postMessage)),Tc=typeof queueMicrotask<"u"?queueMicrotask.bind(ot):typeof process<"u"&&process.nextTick||Ss,E={isArray:Et,isArrayBuffer:bs,isBuffer:qa,isFormData:nc,isArrayBufferView:Ka,isString:Ya,isNumber:vs,isBoolean:Xa,isObject:bn,isPlainObject:Qt,isReadableStream:oc,isRequest:sc,isResponse:ic,isHeaders:ac,isUndefined:jt,isDate:Ja,isFile:Za,isBlob:Qa,isRegExp:xc,isFunction:Ee,isStream:tc,isURLSearchParams:rc,isTypedArray:hc,isFileList:ec,forEac
vendor: 1,935 bytes, line 25
25h:Bt,merge:nr,extend:lc,trim:cc,stripBOM:uc,inherits:dc,toFlatObject:fc,kindOf:hn,kindOfTest:Te,endsWith:pc,toArray:mc,forEachEntry:gc,matchAll:bc,isHTMLForm:vc,hasOwnProperty:go,hasOwnProp:go,reduceDescriptors:ws,freezeMethods:wc,toObjectSet:Sc,toCamelCase:yc,noop:Cc,toFiniteNumber:Rc,findKey:ys,global:ot,isContextDefined:xs,isSpecCompliantForm:Ec,toJSONObject:_c,isAsyncFn:kc,isThenable:Pc,setImmediate:Ss,asap:Tc};function Y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}E.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.status}}});const Cs=Y.prototype,Rs={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Rs[e]={value:e}});Object.defineProperties(Y,Rs);Object.defineProperty(Cs,"isAxiosError",{value:!0});Y.from=(e,t,n,r,o,s)=>{const i=Object.create(Cs);return E.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Y.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const Oc=null;function rr(e){return E.isPlainObject(e)||E.isArray(e)}function Es(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function bo(e,t,n){return e?e.concat(t).map(function(o,s){return o=Es(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Ac(e){return E.isArray(e)&&!e.some(rr)}const Ic=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});
vendor: 1,219 bytes, line 25
25function vn(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,p){return!E.isUndefined(p[g])});const r=n.metaTokens,o=n.visitor||u,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(E.isDate(h))return h.toISOString();if(!l&&E.isBlob(h))throw new Y("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(h)||E.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,p){let v=h;if(h&&!p&&typeof h=="object"){if(E.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if(E.isArray(h)&&Ac(h)||(E.isFileList(h)||E.endsWith(g,"[]"))&&(v=E.toArray(h)))return g=Es(g),v.forEach(function(y,C){!(E.isUndefined(y)||y===null)&&t.append(i===!0?bo([g],C,s):i===null?g:g+"[]",c(y))}),!1}return rr(h)?!0:(t.append(bo(p,g,s),c(h)),!1)}const d=[],m=Object.assign(Ic,{defaultVisitor:u,convertValue:c,isVisitable:rr});function b(h,g){if(!E.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));
vendor: 16,549 bytes, lines 25-27
25d.push(h),E.forEach(h,function(v,S){(!(E.isUndefined(v)||v===null)&&o.call(t,v,E.isString(S)?S.trim():S,g,m))===!0&&b(v,g?g.concat(S):[S])}),d.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return b(e),t}function vo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function kr(e,t){this._pairs=[],e&&vn(e,this,t)}const _s=kr.prototype;_s.append=function(t,n){this._pairs.push([t,n])};_s.toString=function(t){const n=t?function(r){return t.call(this,r,vo)}:vo;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Nc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ks(e,t,n){if(!t)return e;const r=n&&n.encode||Nc;E.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(t,n):s=E.isURLSearchParams(t)?t.toString():new kr(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class yo{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ps={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jc=typeof URLSearchParams<"u"?URLSearchParams:kr,Dc=typeof FormData<"u"?FormData:null,Mc=typeof Blob<"u"?Blob:null,Lc={isBrowser:!0,classes:{URLSearchParams:jc,FormData:Dc,Blob:Mc},protocols:["http","https","file","blob","url","data"]},Pr=typeof window<"u"&&typeof document<"u",or=typeof navigator=="object"&&navigator||void 0,Fc=Pr&&(!or||["ReactNative","NativeScript","NS"].indexOf(or.product)<0),Bc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$c=Pr&&window.location.href||"http://localhost",zc=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Pr,hasStandardBrowserEnv:Fc,hasStandardBrowserWebWorkerEnv:Bc,navigator:or,origin:$c},Symbol.toStringTag,{value:"Module"})),ve={...zc,...Lc};function Uc(e,t){return vn(e,new ve.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return ve.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Hc(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Vc(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Ts(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&E.isArray(o)?o.length:i,l?(E.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!E.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&E.isArray(o[i])&&(o[i]=Vc(o[i])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,o)=>{t(Hc(r),o,n,0)}),n}return null}function Wc(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const $t={transitional:Ps,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=E.isObject(t);if(s&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o?JSON.stringify(Ts(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Uc(t,this.formSerializer).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return vn(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Wc(t)):t}],transformResponse:[function(t){const n=this.transitional||$t.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Y.from(a,Y.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{$t.headers[e]={}});const Gc=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),qc=e=>{const t={};let n,r,o;return e&&e.split(` 26`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Gc[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},xo=Symbol("internals");function It(e){return e&&String(e).trim().toLowerCase()}function en(e){return e===!1||e==null?e:E.isArray(e)?e.map(en):String(e)}function Kc(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Yc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $n(e,t,n,r,o){if(E.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function Xc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Jc(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let Se=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=It(l);if(!u)throw new Error("header name must be a non-empty string");const d=E.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=en(a))}const i=(a,l)=>E.forEach(a,(c,u)=>s(c,u,l));if(E.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(E.isString(t)&&(t=t.trim())&&!Yc(t))i(qc(t),n);else if(E.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=It(t),t){const r=E.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Kc(o);if(E.isFunction(n))return n.call(this,o,r);if(E.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=It(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$n(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=It(i),i){const a=E.findKey(r,i);a&&(!n||$n(r,r[a],a,n))&&(delete r[a],o=!0)}}return E.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||$n(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return E.forEach(this,(o,s)=>{const i=E.findKey(r,s);if(i){n[i]=en(o),delete n[s];return}const a=t?Xc(s):String(s).trim();a!==s&&delete n[s],n[a]=en(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 27`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[xo]=this[xo]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=It(i);r[a]||(Jc(o,i),r[a]=!0)}return E.isArray(t)?t.forEach(s):s(t),this}};Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Se.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});E.freezeMethods(Se);function zn(e,t){const n=this||$t,r=t||n,o=Se.from(r.headers);let s=r.data;return E.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Os(e){return!!(e&&e.__CANCEL__)}function _t(e,t,n){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(_t,Y,{__CANCEL__:!0});function As(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Zc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Qc(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let d=s,m=0;for(;d!==o;)m+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const b=u&&c-u;return b?Math.round(m*1e3/b):void 0}}function el(e,t){let n=0,r=1e3/t,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-d)))},()=>o&&i(o)]}const an=(e,t,n=3)=>{let r=0;const o=Qc(50,250);return el(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,c=o(l),u=i<=a;r=i;const d={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-i)/c:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},wo=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},So=e=>(...t)=>E.asap(()=>e(...t)),tl=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,nl=ve.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),E.isString(r)&&i.push("path="+r),E.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rl(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ol(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Is(e,t,n){let r=!rl(t);return e&&(r||n==!1)?ol(e,t):t}const Co=e=>e instanceof Se?{...e}:e;function it(e,t){t=t||{};const n={};function r(c,u,d,m){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:m},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function o(c,u,d,m){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,d,m)}else return r(c,u,d,m)}function s(c,u){if(!E.isUndefined(u))return r(void 0,u)}function i(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u,d)=>o(Co(c),Co(u),d,!0)};return E.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,m=d(e[u],t[u],u);E.isUndefined(m)&&d!==a||(n[u]=m)}),n}const Ns=e=>{const t=it({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=Se.from(i),t.url=ks(Is(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(E.isFormData(n)){if(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ve.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&tl(t.url))){const c=o&&s&&nl.read(s);c&&i.set(o,c)}return t},sl=typeof XMLHttpRequest<"u",il=sl&&function(e){return new Promise(function(n,r){const o=Ns(e);let s=o.data;const i=Se.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,m,b,h;function g(){b&&b(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(o.method.toUpperCase(),o.url,!0),p.timeout=o.timeout;function v(){if(!p)return;const y=Se.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:y,config:e,request:p};As(function(k){n(k),g()},function(k){r(k),g()},R),p=null}"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(v)},p.onabort=function(){p&&(r(new Y("Request aborted",Y.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||Ps;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new Y(C,R.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&E.forEach(i.toJSON(),function(C,R){p.setRequestHeader(R,C)}),E.isUndefined(o.withCredentials)||(p.withCredentials=!!o.withCredentials),a&&a!=="json"&&(p.responseType=o.responseType),c&&([m,h]=an(c,!0),p.addEventListener("progress",m)),l&&p.upload&&([d,b]=an(l),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(u=y=>{p&&(r(!y||y.type?new _t(null,e,p):y),p.abort(),p=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const S=Zc(o.url);if(S&&ve.protocols.indexOf(S)===-1){r(new Y("Unsupported protocol "+S+":",Y.ERR_BAD_REQUEST,e));return}p.send(s||null)})},al=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof Y?u:new _t(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new Y(`timeout ${t} of ms exceeded`,Y.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>E.asap(a),l}},cl=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},ll=async function*(e,t){for await(const n of ul(e))yield*cl(n,t)},ul=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ro=(e,t,n,r)=>{const o=ll(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let m=s+=d;n(m)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},yn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",js=yn&&typeof ReadableStream=="function",dl=yn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ds=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fl=js&&Ds(()=>{let e=!1;
vendor: 8,543 bytes, lines 27-30
27const t=new Request(ve.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Eo=64*1024,sr=js&&Ds(()=>E.isReadableStream(new Response("").body)),cn={stream:sr&&(e=>e.body)};yn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!cn[t]&&(cn[t]=E.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Y(`Response type '${t}' is not supported`,Y.ERR_NOT_SUPPORT,r)})})})(new Response);const pl=async e=>{if(e==null)return 0;if(E.isBlob(e))return e.size;if(E.isSpecCompliantForm(e))return(await new Request(ve.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(E.isArrayBufferView(e)||E.isArrayBuffer(e))return e.byteLength;if(E.isURLSearchParams(e)&&(e=e+""),E.isString(e))return(await dl(e)).byteLength},ml=async(e,t)=>{const n=E.toFiniteNumber(e.getContentLength());return n??pl(t)},hl=yn&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:m}=Ns(e);c=c?(c+"").toLowerCase():"text";let b=al([o,s&&s.toAbortSignal()],i),h;const g=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let p;try{if(l&&fl&&n!=="get"&&n!=="head"&&(p=await ml(u,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),_;if(E.isFormData(r)&&(_=R.headers.get("content-type"))&&u.setContentType(_),R.body){const[k,P]=wo(p,an(So(l)));r=Ro(R.body,Eo,k,P)}}E.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;h=new Request(t,{...m,signal:b,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:v?d:void 0});let S=await fetch(h);const y=sr&&(c==="stream"||c==="response");if(sr&&(a||y&&g)){const R={};["status","statusText","headers"].forEach(O=>{R[O]=S[O]});const _=E.toFiniteNumber(S.headers.get("content-length")),[k,P]=a&&wo(_,an(So(a),!0))||[];S=new Response(Ro(S.body,Eo,k,()=>{P&&P(),g&&g()}),R)}c=c||"text";let C=await cn[E.findKey(cn,c)||"text"](S,e);return!y&&g&&g(),await new Promise((R,_)=>{As(R,_,{data:C,headers:Se.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:h})})}catch(v){throw g&&g(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,h),{cause:v.cause||v}):Y.from(v,v&&v.code,e,h)}}),ir={http:Oc,xhr:il,fetch:hl};E.forEach(ir,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _o=e=>`- ${e}`,gl=e=>E.isFunction(e)||e===null||e===!1,Ms={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!gl(n)&&(r=ir[(i=String(n)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since : 28`+s.map(_o).join(` 29`):" "+_o(s[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ir};function Un(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _t(null,e)}function ko(e){return Un(e),e.headers=Se.from(e.headers),e.data=zn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ms.getAdapter(e.adapter||$t.adapter)(e).then(function(r){return Un(e),r.data=zn.call(e,e.transformResponse,r),r.headers=Se.from(r.headers),r},function(r){return Os(r)||(Un(e),r&&r.response&&(r.response.data=zn.call(e,e.transformResponse,r.response),r.response.headers=Se.from(r.response.headers))),Promise.reject(r)})}const Ls="1.8.4",xn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Po={};xn.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Ls+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Y(o(i," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!Po[i]&&(Po[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};xn.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function bl(e,t,n){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Y("option "+s+" must be "+l,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+s,Y.ERR_BAD_OPTION)}}const tn={assertOptions:bl,validators:xn},Ae=tn.validators;let st=class{constructor(t){this.defaults=t,this.interceptors={request:new yo,response:new yo}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` 30`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=it(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&tn.assertOptions(r,{silentJSONParsing:Ae.transitional(Ae.boolean),forcedJSONParsing:Ae.transitional(Ae.boolean),clarifyTimeoutError:Ae.transitional(Ae.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:tn.assertOptions(o,{encode:Ae.function,serialize:Ae.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),tn.assertOptions(n,{baseUrl:Ae.spelling("baseURL"),withXsrfToken:Ae.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&E.merge(s.common,s[n.method]);s&&E.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=Se.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,m;if(!l){const h=[ko.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),m=h.length,u=Promise.resolve(n);d<m;)u=u.then(h[d++],h[d++]);return u}m=a.length;let b=n;for(d=0;d<m;){const h=a[d++],g=a[d++];try{b=h(b)}catch(p){g.call(this,p);break}}try{u=ko.call(this,b)}catch(h){return Promise.reject(h)}for(d=0,m=c.length;d<m;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=it(this.defaults,t);const n=Is(t.baseURL,t.url,t.allowAbsoluteUrls);return ks(n,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){st.prototype[t]=function(n,r){return this.request(it(r||{},{method:t,url:n,data:(r||{}).data}))}});E.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(it(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}st.prototype[t]=n(),st.prototype[t+"Form"]=n(!0)});let vl=class Fs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new _t(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Fs(function(o){t=o}),cancel:t}}};function yl(e){return function(n){return e.apply(null,n)}}function xl(e){return E.isObject(e)&&e.isAxiosError===!0}const ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
30alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ar).forEach(([e,t])=>{ar[t]=e});function Bs(e){const t=new st(e),n=gs(st.prototype.request,t);return E.extend(n,st.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Bs(it(e,o))},n}const le=Bs($t);le.Axios=st;le.CanceledError=_t;le.CancelToken=vl;le.isCancel=Os;le.VERSION=Ls;le.toFormData=vn;le.AxiosError=Y;le.Cancel=le.CanceledError;le.all=function(t){return Promise.all(t)};le.spread=yl;le.isAxiosError=xl;le.mergeConfig=it;le.AxiosHeaders=Se;le.formToJSON=e=>Ts(E.isHTMLForm(e)?new FormData(e):e);le.getAdapter=Ms.getAdapter;le.HttpStatusCode=ar;le.default=le;const{Axios:Th,AxiosError:Oh,CanceledError:Ah,isCancel:Ih,CancelToken:Nh,VERSION:jh,all:Dh,Cancel:Mh,isAxiosError:Lh,spread:Fh,toFormData:Bh,AxiosHeaders:$h,HttpStatusCode:zh,formToJSON:Uh,getAdapter:Hh,mergeConfig:Vh}=le;function wl(e){return!e||!e.id?1:e.config||e.visibility||typeof e.order=="number"?2:1}function To(e,t="en"){return e?typeof e=="string"?{[t]:e}:e:{[t]:""}}function Sl(e,t="en"){let n=e.type;n==="select"&&(n="dropdown");const r={id:crypto.randomUUID(),type:n,name:e.name,label:To(e.label,t),required:e.required??!1,order:0,config:{}};switch(r.type){case"text":r.config={minLength:0,maxLength:500,...r.config};break;case"textarea":r.config={minLength:0,maxLength:5e3,...r.config};break;case"number":r.config={step:1,...r.config};break;case"file":r.config={maxFiles:1,maxSize:10*1024*1024,...r.config};break}return e.options&&Array.isArray(e.options)&&(r.config.options=e.options.map(o=>({value:o.value,label:To(o.label,t)}))),r}function Cl(e,t="en"){if(wl(e)===1)return Sl(e,t);const r=e;return r.id||(r.id=crypto.randomUUID()),r}function Rl(e,t="en"){const n=e.map(r=>Cl(r,t));return El(n)}function El(e){return e.map((t,n)=>({...t,order:t.order??n}))}function Wh(e){return[...e].sort((t,n)=>(t.order??0)-(n.order??0))}var _l=Object.defineProperty,Tr=(e,t)=>_l(e,"name",{value:t,configurable:!0});function cr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Tr(cr,"setRef");function $s(...e){return t=>{let n=!1;const r=e.map(o=>{const s=cr(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():cr(e[o],null)}}}}Tr($s,"composeRefs");function ie(...e){return f.useCallback($s(...e),e)}Tr(ie,"useComposedRefs");var kl=Object.defineProperty,_e=(e,t)=>kl(e,"name",{value:t,configurable:!0});function Pl(e,t){const n=f.createContext(t);n.displayName=e+"Context";const r=_e(s=>{const{children:i,...a}=s,l=f.useMemo(()=>a,Object.values(a));return x.jsx(n.Provider,{value:l,children:i})},"Provider");r.displayName=e+"Provider";function o(s,i={}){const{optional:a=!1}=i,l=f.useContext(n);if(l)return l;if(t!==void 0)return t;if(!a)throw new Error(`\`${s}\` must be used within \`${e}\``)}return _e(o,"useContext"),[r,o]}_e(Pl,"createContext");function Ge(e,t=[]){let n=[];function r(s,i){const a=f.createContext(i);a.displayName=s+"Context";const l=n.length;n=[...n,i];const c=_e(d=>{var v;const{scope:m,children:b,...h}=d,g=((v=m==null?void 0:m[e])==null?void 0:v[l])||a,p=f.useMemo(()=>h,Object.values(h));return x.jsx(g.Provider,{value:p,children:b})},"Provider");c.displayName=s+"Provider";function u(d,m,b={}){var v;const{optional:h=!1}=b,g=((v=m==null?void 0:m[e])==null?void 0:v[l])||a,p=f.useContext(g);if(p)return p;if(i!==void 0)return i;if(!h)throw new Error(`\`${d}\` must be used within \`${s}\``)}return _e(u,"useContext"),[c,u]}_e(r,"createContext");const o=_e(()=>{const s=n.map(i=>f.createContext(i));return _e(function(a){const l=(a==null?void 0:a[e])||s;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])},"useScope")},"createScope");return o.scopeName=e,[r,zs(o,...t)]}_e(Ge,"createContextScope");function zs(...e){const t=e[0];if(e.length===1)return t;const n=_e(()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return _e(function(s){const i=r.reduce((a,{useScope:l,scopeName:c}
30)=>{const d=l(s)[`__scope${c}`];return{...a,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}_e(zs,"composeContextScopes");var Tl=Object.defineProperty,kt=(e,t)=>Tl(e,"name",{value:t,configurable:!0}),Us=!!(typeof window<"u"&&window.document&&window.document.createElement);function te(e,t,{checkForDefaultPrevented:n=!0}={}){return kt(function(o){if(e==null||e(o),n===!1||!o||!o.defaultPrevented)return t==null?void 0:t(o)},"handleEvent")}kt(te,"composeEventHandlers");function Ol(e){var t;if(!Us)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}kt(Ol,"getOwnerWindow");function lr(e){if(!Us)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}kt(lr,"getOwnerDocument");function Hs(e,t=!1){const{activeElement:n}=lr(e);if(!(n!=null&&n.nodeName))return null;if(Vs(n)&&n.contentDocument)return Hs(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const o=lr(n).getElementById(r);if(o)return o}}return n}kt(Hs,"getActiveElement");function Vs(e){return e.tagName==="IFRAME"}kt(Vs,"isFrame");var fe=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},Al=Object.defineProperty,Il=(e,t)=>Al(e,"name",{value:t,configurable:!0}),Oo=Lt[" useEffectEvent ".trim().toString()],Ao=Lt[" useInsertionEffect ".trim().toString()];function Ws(e){if(typeof Oo=="function")return Oo(e);const t=f.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Ao=="function"?Ao(()=>{t.current=e}):fe(()=>{t.current=e}),f.useMemo(()=>((...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)}),[])}Il(Ws,"useEffectEvent");var Nl=Object.defineProperty,zt=(e,t)=>Nl(e,"name",{value:t,configurable:!0}),jl=Lt[" useInsertionEffect ".trim().toString()]||fe;function Ct({prop:e,defaultProp:t,onChange:n=zt(()=>{},"onChange"),caller:r}){const[o,s,i]=Gs({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o,c=f.useCallback(u=>{var d;if(a){const m=qs(u)?u(e):u;m!==e&&((d=i.current)==null||d.call(i,m))}else s(u)},[a,e,s,i]);return[l,c]}zt(Ct,"useControllableState");function Gs({defaultProp:e,onChange:t}){const[n,r]=f.useState(e),o=f.useRef(n),s=f.useRef(t);return jl(()=>{s.current=t},[t]),f.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}zt(Gs,"useUncontrolledState");function qs(e){return typeof e=="function"}zt(qs,"isFunction");var Io=Symbol("RADIX:SYNC_STATE");function Dl(e,t,n,r){const{prop:o,defaultProp:s,onChange:i,caller:a}=t,l=o!==void 0,c=Ws(i),u=[{...n,state:s}];r&&u.push(r);const[d,m]=f.useReducer((p,v)=>{if(v.type===Io)return{...p,state:v.state};const S=e(p,v);return l&&!Object.is(S.state,p.state)&&c(S.state),S},...u),b=d.state,h=f.useRef(b);f.useEffect(()=>{h.current!==b&&(h.current=b,l||c(b))},[b,h,l]);const g=f.useMemo(()=>o!==void 0?{...d,state:o}:d,[d,o]);return f.useEffect(()=>{l&&!Object.is(o,d.state)&&m({type:Io,state:o})},[o,d.state,l]),[g,m]}zt(Dl,"useControllableStateReducer");var Ml=Object.defineProperty,Ll=(e,t)=>Ml(e,"name",{value:t,configurable:!0});function wn(e){const[t,n]=f.useState(void 0);return fe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}Ll(wn,"useSize");var Fl=Object.defineProperty,He=(e,t)=>Fl(e,"name",{value:t,configurable:!0});function Ks(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}He(Ks,"useStateMachine");var Or=He(e=>{const{present:t,children:n}=e,r=Ys(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),s=Xs(r.ref,Js(o));return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:s}):null},"Presence");function Ys(e){const[t,n]=f.useState(),r=f.useRef(null),o=f.useRef(e),s=f.useRef("none"),i=f.useRef(void 0),a=e?"mounted":"unmounted",[l,c]=Ks(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{l==="mounted"?(s.current=i.current??xt(r.current),i.current=void 0):s.current="none"},[l]),fe(()=>{const u=r.current,d=o.current;if(d!==e){const b=s.current,h=xt(u);e?(i.current=h,c("MOUNT")):h==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&b!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),fe(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,m=He(h=>{const p=xt(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&p&&(c("ANIMATION_END"),!o.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},"handleAnimationEnd"),b=He(h=>{h.target===t&&(s.current=xt(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:f.useCallback(u=>{if(u){const d=getComputedStyle(u);
30r.current=d,i.current=xt(d)}else r.current=null;n(u)},[])}}He(Ys,"usePresence");function ur(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}He(ur,"setRef");function Xs(...e){const t=f.useRef(e);return t.current=e,f.useCallback(n=>{const r=t.current;let o=!1;const s=r.map(i=>{const a=ur(i,n);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let i=0;i<s.length;i++){const a=s[i];typeof a=="function"?a():ur(r[i],null)}}},[])}He(Xs,"useStableComposedRefs");function xt(e){return(e==null?void 0:e.animationName)||"none"}He(xt,"getAnimationName");function Js(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}He(Js,"getElementRef");function No(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Bl(...e){return t=>{let n=!1;const r=e.map(o=>{const s=No(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():No(e[o],null)}}}}function $l(...e){const t=f.useRef(e);return t.current=e,f.useCallback(n=>Bl(...t.current)(n),[])}function at(e){const t=Ul(e),n=f.forwardRef((r,o)=>{const{children:s,...i}=r,a=f.Children.toArray(s),l=a.find(Vl);if(l){const c=l.props.children,u=a.map(d=>d===l?f.Children.count(c)>1?f.Children.only(null):f.isValidElement(c)?c.props.children:null:d);return x.jsx(t,{...i,ref:o,children:f.isValidElement(c)?f.cloneElement(c,void 0,u):null})}return x.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var zl=at("Slot");function Ul(e){const t=f.forwardRef((n,r)=>{const{children:o,...s}=n,i=f.isValidElement(o)?Gl(o):void 0,a=$l(r,i);if(f.isValidElement(o)){const l=Wl(s,o.props);return o.type!==f.Fragment&&(l.ref=r?a:i),f.cloneElement(o,l)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Hl=Symbol("radix.slottable");function Vl(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Hl}function Wl(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Gl(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ql=Object.defineProperty,Kl=(e,t)=>ql(e,"name",{value:t,configurable:!0}),Yl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ae=Yl.reduce((e,t)=>{const n=at(`Primitive.${t}`),r=f.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Zs(e,t){e&&Ft.flushSync(()=>e.dispatchEvent(t))}Kl(Zs,"dispatchDiscreteCustomEvent");var Xl=Object.defineProperty,Ve=(e,t)=>Xl(e,"name",{value:t,configurable:!0}),Ar="Checkbox",[Jl,Gh]=Ge(Ar),[Zl,Ir]=Jl(Ar);function Qs(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:c,value:u="on",internal_do_not_use_render:d}=e,[m,b]=Ct({prop:n,defaultProp:o??!1,onChange:l,caller:Ar}),[h,g]=f.useState(null),[p,v]=f.useState(null),S=f.useRef(!1),[y,C]=f.useReducer(k=>k+1,0),R=h?!!i||!!h.closest("form"):!0,_={checked:m,disabled:s,setChecked:b,control:h,setControl:g,name:a,form:i,value:u,hasConsumerStoppedPropagationRef:S,userInteractionCount:y,onUserInteraction:C,required:c,defaultChecked:$e(o)?!1:o,isFormControl:R,bubbleInput:p,setBubbleInput:v};return x.jsx(Zl,{scope:t,..._,children:ti(d)?d(_):r})}Ve(Qs,"CheckboxProvider");var Ql="CheckboxTrigger",eu=f.forwardRef(Ve(function({__scopeCheckbox:t,onKeyDown:n,onClick:r,...o},s){const{control:i,value:a,disabled:l,checked:c,required:u,setControl:d,setChecked:m,hasConsumerStoppedPropagationRef:b,onUserInteraction:h,isFormControl:g,bubbleInput:p}=Ir(Ql,t),v=ie(s,d),S=f.useRef(c);return f.useEffect(()=>{const y=i==null?void 0:i.form;if(y){const C=Ve(()=>m(S.current),"reset");return y.addEventListener("reset",C),()=>y.removeEventListener("reset",C)}},[i,m]),x.jsx(ae.button,{type:"button",role:"checkbox","aria-checked":$e(c)?"mixed":c,"aria-required":u,"data-state":Nr(c),"data-disabled":l?"":void 0,disabled:l,value:a,...o,ref:v,onKeyDown:te(n,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:te(r,y=>{h(),m(C=>$e(C)?!0:!C),p&&g&&(b.current=y.isPropagationStopped(),b.current||y.stopPropagation())})})},"CheckboxTrigger")),ei=f.forwardRef(Ve(function(t,n){const{__scopeCheckbox:r,name:o,checked:s,defaultChecked:i,required:a,disabled:l,value:c,onCheckedChange:u,form:d,...m}=t;return x.jsx(Qs,{__scopeCheckbox:r,checked:s,defaultChecked:i,disabled:l,required:a,onCheckedChange:u,name:o,form:d,value:c,internal_do_not_use_render:({isFormControl:b})=>x.jsxs(x.Fragment,{children:[x.jsx(eu,{...m,ref:n,__scopeCheckbox:r}),b&&x.jsx(ou,{__scopeCheckbox:r})]})})},"Checkbox")),tu="CheckboxIndicator",nu=f.forwardRef(Ve(function(t,n){const{__scopeCheckbox:r,forceMount:o,...s}=t,i=Ir(tu,r);return x.jsx(Or,{present:o||$e(i.checked)||i.checked===!0,children:x.jsx(ae.span,{"data-state":Nr(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:n,style:{pointerEvents:"none",...t.style}})})},"CheckboxIndicator")),ru="CheckboxBubbleInput",ou=f.forwardRef(Ve(function({__scopeCheckbox:t,onClick:n,...r},o){const{control:s,hasConsumerStoppedPropagationRef:i,userInteractionCount:a,checked:l,defaultChecked:c,required:u,disabled:d,name:m,value:b,form:h,bubbleInput:g,setBubbleInput:p}=Ir(ru,t),v=ie(o,p),S=wn(s),y=f.useRef(!1),C=f.useRef(l),R=f.useRef(a);f.useEffect(()=>{const k=g;if(!k)return;const P=window.HTMLInputElement.prototype,U=Object.getOwnPropertyDescriptor(P,"checked").set,W=a!==R.current;R.current=a;const j=C.current!==l;C.current=l;const H=!(W&&i.current);if(j&&U){y.current=!W;const G=new Event("click",{bubbles:H});k.indeterminate=$e(l),U.call(k,$e(l)?!1:l),k.dispatchEvent(G),y.current=!1}},[g,l,i,a]);const _=f.useRef($e(l)?!1:l);return x.jsx(ae.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??_.current,required:u,disabled:d,name:m,value:b,form:h,...r,tabIndex:-1,ref:v,onClick:te(n,k=>{y.current&&k.stopPropagation()}),style:{...r.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function ti(e){return typeof e=="function"}Ve(ti,"isFunction");function $e(e){return e==="indeterminate"}Ve($e,"isIndeterminate");function Nr(e){return $e(e)?"indeterminate":e?"checked":"unchecked"}Ve(Nr,"getState");/** 31 * @license lucide-react v0.507.0 - ISC 32 * 33 * This source code is licensed under the ISC license. 34 * See the LICENSE file in the root directory of this source tree. 35 */const su=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),jo=e=>{const t=iu(e);return t.charAt(0).toUpperCase()+t.slice(1)},ni=(...e)=>
vendor: 12,468 bytes, lines 35-85
35e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),au=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 36 * @license lucide-react v0.507.0 - ISC 37 * 38 * This source code is licensed under the ISC license. 39 * See the LICENSE file in the root directory of this source tree. 40 */var cu={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"};/** 41 * @license lucide-react v0.507.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const lu=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>f.createElement("svg",{ref:l,...cu,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ni("lucide",o),...!s&&!au(a)&&{"aria-hidden":"true"},...a},[...i.map(([c,u])=>f.createElement(c,u)),...Array.isArray(s)?s:[s]]));/** 46 * @license lucide-react v0.507.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */const dt=(e,t)=>{const n=f.forwardRef(({className:r,...o},s)=>f.createElement(lu,{ref:s,iconNode:t,className:ni(`lucide-${su(jo(e))}`,`lucide-${e}`,r),...o}));return n.displayName=jo(e),n};/** 51 * @license lucide-react v0.507.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const uu=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],dr=dt("check",uu);/** 56 * @license lucide-react v0.507.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const du=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ri=dt("chevron-down",du);/** 61 * @license lucide-react v0.507.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const fu=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],pu=dt("chevron-up",fu);/** 66 * @license lucide-react v0.507.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const mu=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],hu=dt("circle-check-big",mu);/** 71 * @license lucide-react v0.507.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const gu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],bu=dt("circle-x",gu);/** 76 * @license lucide-react v0.507.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const vu=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yu=dt("circle",vu);/** 81 * @license lucide-react v0.507.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const xu=[["path",{d:"M5 12h14",key:"1ays0h"}]],wu=dt("minus",xu);function oi(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=oi(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function si(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=oi(e))&&(r&&(r+=" "),r+=t);return r}const Su=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Cu=(e,t)=>({classGroupId:e,validator:t}),ii=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),ln="-",Do=[],Ru="arbitrary..",Eu=e=>{const t=ku(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return _u(i);const a=i.split(ln),l=a[0]===""&&a.length>1?1:0;return ai(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],c=n[i];return l?c?Su(c,l):l:c||Do}return n[i]||Do}}},ai=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const c=ai(e,t+1,s);if(c)return c}const i=n.validators;if(i===null)return;const a=t===0?e.join(ln):e.slice(t).join(ln),l=i.length;for(let c=0;c<l;c++){const u=i[c];if(u.validator(a))return u.classGroupId}},_u=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Ru+r:void 0})(),ku=e=>{const{theme:t,classGroups:n}=e;return Pu(n,t)},Pu=(e,t)=>{const n=ii();for(const r in e){const o=e[r];jr(o,n,r,t)}return n},jr=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Tu(i,t,n,r)}},Tu=(e,t,n,r)=>{if(typeof e=="string"){Ou(e,t,n);return}if(typeof e=="function"){Au(e,t,n,r);return}Iu(e,t,n,r)},Ou=(e,t,n)=>{const r=e===""?t:ci(t,e);r.classGroupId=n},Au=(e,t,n,r)=>{if(Nu(e)){jr(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Cu(n,e))},Iu=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];jr(l,ci(t,a),n,r)}},ci=(e,t)=>{let n=e;const r=t.split(ln),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=ii(),n.nextPart.set(i,a)),n=a}return n},Nu=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ju=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},fr="!",Mo=":",Du=[],Lo=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Mu=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,l=0,c;const u=o.length;for(let g=0;g<u;g++){const p=o[g];if(i===0&&a===0){if(p===Mo){s.push(o.slice(l,g)),l=g+1;continue}if(p==="/"){c=g;continue}}p==="["?i++:p==="]"?i--:p==="("?a++:p===")"&&a--}const d=s.length===0?o:o.slice(l);let m=d,b=!1;d.endsWith(fr)?(m=d.slice(0,-1),b=!0):d.startsWith(fr)&&(m=d.slice(1),b=!0);const h=c&&c>l?c-l:void 0;return Lo(s,b,m,h)};if(t){const o=t+Mo,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):Lo(Du,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Lu=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},Fu=e=>({cache:ju(e.cacheSize),parseClassName:Mu(e),sortModifiers:Lu(e),postfixLookupClassGroupIds:Bu(e),...Eu(e)}),Bu=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},$u=/\s+/,zu=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split($u);let c="";for(let u=l.length-1;u>=0;u-=1){const d=l[u],{isExternal:m,modifiers:b,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:p}=n(d);if(m){c=d+(c.length>0?" "+c:c);continue}let v=!!p,S;if(v){const k=g.substring(0,p);S=r(k);const P=S&&i[S]?r(g):void 0;P&&P!==S&&(S=P,v=!1)}else S=r(g);if(!S){if(!v){c=d+(c.length>0?" "+c:c);continue}if(S=r(g),!S){c=d+(c.length>0?" "+c:c);continue}v=!1}const y=b.length===0?"":b.length===1?b[0]:s(b).join(":"),C=h?y+fr:y,R=C+S;if(a.indexOf(R)>-1)continue;a.push(R);const _=o(S,v);for(let k=0;k<_.length;++k){const P=_[k];a.push(C+P)}c=d+(c.length>0?" "+c:c)}return c},Uu=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=li(n))&&(o&&(o+=" "),o+=r);return o},li=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=li(e[r]))&&(n&&(n+=" "),n+=t);return n},Hu=(e,...t)=>{let n,r,o,s;const i=l=>{const c=t.reduce((u,d)=>d(u),e());return n=Fu(c),r=n.cache.get,o=n.cache.set,s=a,a(l)},a=l=>{const c=r(l);if(c)return c;const u=zu(l,n);return o(l,u),u};return s=i,(...l)=>s(Uu(...l))},Vu=[],de=e=>{const t=n=>n[e]||Vu;return t.isThemeGetter=!0,t},ui=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,di=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Wu=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Gu=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qu=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ku=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Yu=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ke=e=>Wu.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),Ie=e=>!!e&&Number.isInteger(Number(e)),Hn=e=>e.endsWith("%")&&X(e.slice(0,-1)),Fe=e=>Gu.test(e),fi=()=>!0,Ju=e=>qu.test(e)&&!Ku.test(e),Dr=()=>!1,Zu=e=>Yu.test(e),Qu=e=>Xu.test(e),ed=e=>!I(e)&&!N(e),td=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),nd=e=>Ze(e,hi,Dr),I=e=>ui.test(e),nt=e=>Ze(e,gi,Ju),Fo=e=>Ze(e,ud,X),rd=e=>Ze(e,vi,fi),od=e=>Ze(e,bi,Dr),Bo=e=>Ze(e,pi,Dr),sd=e=>Ze(e,mi,Qu),Vt=e=>Ze(e,yi,Zu),N=e=>di.test(e),Nt=e=>ft(e,gi),id=e=>ft(e,bi),$o=e=>ft(e,pi),ad=e=>ft(e,hi),cd=e=>ft(e,mi),Wt=e=>ft(e,yi,!0),ld=e=>ft(e,vi,!0),Ze=(e,t,n)=>{const r=ui.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ft=(e,t,n=!1)=>{const r=di.exec(e);return r?r[1]?t(r[1]):n:!1},pi=e=>e==="position"||e==="percentage",mi=e=>e==="image"||e==="url",hi=e=>e==="length"||e==="size"||e==="bg-size",gi=e=>e==="length",ud=e=>e==="number",bi=e=>e==="family-name",vi=e=>e==="number"||e==="weight",yi=e=>e==="shadow",dd=()=>{const e=de("color"),t=de("font"),n=de("text"),r=de("font-weight"),o=de("tracking"),s=de("leading"),i=de("breakpoint"),a=de("container"),l=de("spacing"),c=de("radius"),u=de("shadow"),d=de("inset-shadow"),m=de("text-shadow"),b=de("drop-shadow"),h=de("blur"),g=de("perspective"),p=de("aspect"),v=de("ease"),S=de("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...C(),N,I],_=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],P=()=>[N,I,l],O=()=>[Ke,"full","auto",...P()],U=()=>[Ie,"none","subgrid",N,I],W=()=>["auto",{span:["full",Ie,N,I]},Ie,N,I],j=()=>[Ie,"auto",N,I],H=()=>["auto","min","max","fr",N,I],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...P()],$=()=>[Ke,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],q=()=>[Ke,"screen","full","dvw","lvw","svw","min","max","fit",...P()],Q=()=>[Ke,"screen","full","lh","dvh","lvh","svh","min","max","fit",...P()],A=()=>[e,N,I],w=()=>[...C(),$o,Bo,{position:[N,I]}],T=()=>["no-repeat",{repeat:["","x","y","space","round"]}],D=()=>["auto","cover","contain",ad,nd,{size:[N,I]}],L=()=>[Hn,Nt,nt],F=()=>["","none","full",c,N,I],V=()=>["",X,Nt,nt],J=()=>["solid","dashed","dotted","double"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>[X,Hn,$o,Bo],ce=()=>["","none",h,N,I],oe=()=>["none",X,N,I],ee=()=>["none",X,N,I],re=()=>[X,N,I],xe=()=>[Ke,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fe],breakpoint:[Fe],color:[fi],container:[Fe],"drop-shadow":[Fe],ease:["in","out","in-out"],font:[ed],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fe],shadow:[Fe],spacing:["px",X],text:[Fe],"text-shadow":[Fe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ke,I,N,p]}],container:["container"],"container-type":[{"@container":["","normal","size",N,I]}
vendor: 6,077 bytes, line 85
85],"container-named":[td],columns:[{columns:[X,I,N,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{"inset-s":O(),start:O()}],end:[{"inset-e":O(),end:O()}],"inset-bs":[{"inset-bs":O()}],"inset-be":[{"inset-be":O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[Ie,"auto",N,I]}],basis:[{basis:[Ke,"full","auto",a,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[X,Ke,"auto","initial","none",I]}],grow:[{grow:["",X,N,I]}],shrink:[{shrink:["",X,N,I]}],order:[{order:[Ie,"first","last","none",N,I]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":H()}],"auto-rows":[{"auto-rows":H()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pbs:[{pbs:P()}],pbe:[{pbe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mbs:[{mbs:B()}],mbe:[{mbe:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...q()]}],"min-inline-size":[{"min-inline":["auto",...q()]}],"max-inline-size":[{"max-inline":["none",...q()]}],"block-size":[{block:["auto",...Q()]}],"min-block-size":[{"min-block":["auto",...Q()]}],"max-block-size":[{"max-block":["none",...Q()]}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",n,Nt,nt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ld,rd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hn,I]}],"font-family":[{font:[id,od,t]}],"font-features":[{"font-features":[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,N,I]}],"line-clamp":[{"line-clamp":[X,"none",N,Fo]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",N,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",N,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:[X,"from-font","auto",N,nt]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[X,"auto",N,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"tab-size":[{tab:[Ie,N,I]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:w()}],"bg-repeat":[{bg:T()}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ie,N,I],radial:["",N,I],conic:[Ie,N,I]},cd,sd]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:L()}
vendor: 7,291 bytes, line 85
85],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...J(),"hidden","none"]}],"divide-style":[{divide:[...J(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-bs":[{"border-bs":A()}],"border-color-be":[{"border-be":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...J(),"none","hidden"]}],"outline-offset":[{"outline-offset":[X,N,I]}],"outline-w":[{outline:["",X,Nt,nt]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",u,Wt,Vt]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,Wt,Vt]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[X,nt]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",m,Wt,Vt]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[X,N,I]}],"mix-blend":[{"mix-blend":[...z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":z()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[N,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:w()}],"mask-repeat":[{mask:T()}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",N,I]}],filter:[{filter:["","none",N,I]}],blur:[{blur:ce()}],brightness:[{brightness:[X,N,I]}],contrast:[{contrast:[X,N,I]}],"drop-shadow":[{"drop-shadow":["","none",b,Wt,Vt]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",X,N,I]}],"hue-rotate":[{"hue-rotate":[X,N,I]}],invert:[{invert:["",X,N,I]}],saturate:[{saturate:[X,N,I]}],sepia:[{sepia:["",X,N,I]}],"backdrop-filter":[{"backdrop-filter":["","none",N,I]}],"backdrop-blur":[{"backdrop-blur":ce()}],"backdrop-brightness":[{"backdrop-brightness":[X,N,I]}],"backdrop-contrast":[{"backdrop-contrast":[X,N,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",X,N,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,N,I]}],"backdrop-invert":[{"backdrop-invert":["",X,N,I]}],"backdrop-opacity":[{"backdrop-opacity":[X,N,I]}],"backdrop-saturate":[{"backdrop-saturate":[X,N,I]}],"backdrop-sepia":[{"backdrop-sepia":["",X,N,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",N,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[X,"initial",N,I]}],ease:[{ease:["linear","initial",v,N,I]}],delay:[{delay:[X,N,I]}],animate:[{animate:["none",S,N,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,N,I]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:oe()}],"rotate-x":[{"rotate-x":oe()}],"rotate-y":[{"rotate-y":oe()}],"rotate-z":[{"rotate-z":oe()}],scale:[{scale:ee()}],"scale-x":[{"scale-x":ee()}],"scale-y":[{"scale-y":ee()}],"scale-z":[{"scale-z":ee()}],"scale-3d":["scale-3d"],skew:[{skew:re()}],"skew-x":[{"skew-x":re()}],"skew-y":[{"skew-y":re()}],transform:[{transform:[N,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xe()}],"translate-x":[{"translate-x":xe()}],"translate-y":[{"translate-y":xe()}],"translate-z":[{"translate-z":xe()}],"translate-none":["translate-none"],zoom:[{zoom:[Ie,N,I]}],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}
85],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":A()}],"scrollbar-track-color":[{"scrollbar-track":A()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mbs":[{"scroll-mbs":P()}],"scroll-mbe":[{"scroll-mbe":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pbs":[{"scroll-pbs":P()}],"scroll-pbe":[{"scroll-pbe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N,I]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[X,Nt,nt,Fo]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},fd=Hu(dd);function se(...e){return fd(si(e))}const pd=f.forwardRef(({className:e,...t},n)=>x.jsx(ei,{ref:n,className:se("group peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground",e),...t,children:x.jsxs(nu,{className:se("flex items-center justify-center text-current"),children:[x.jsx(dr,{className:"h-4 w-4 group-data-[state=indeterminate]:hidden"}),x.jsx(wu,{className:"hidden h-3 w-3 group-data-[state=indeterminate]:block",strokeWidth:3})]})}));pd.displayName=ei.displayName;var md=Object.defineProperty,hd=(e,t)=>md(e,"name",{value:t,configurable:!0}),gd=f.forwardRef(hd(function(t,n){return x.jsx(ae.label,{...t,ref:n,onMouseDown:r=>{var s;r.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}})},"Label")),xi=gd;const zo=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Uo=si,wi=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Uo(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const u=n==null?void 0:n[c],d=s==null?void 0:s[c];if(u===null)return null;const m=zo(u)||zo(d);return o[c][m]}),a=n&&Object.entries(n).reduce((c,u)=>{let[d,m]=u;return m===void 0||(c[d]=m),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:d,className:m,...b}=u;return Object.entries(b).every(h=>{let[g,p]=h;return Array.isArray(p)?p.includes({...s,...a}[g]):{...s,...a}[g]===p})?[...c,d,m]:c},[]);return Uo(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},bd=wi("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),vd=f.forwardRef(({className:e,...t},n)=>x.jsx(xi,{ref:n,className:se(bd(),e),...t}));vd.displayName=xi.displayName;const yd=f.forwardRef(({className:e,type:t,validation:n,value:r,parentClassName:o,...s},i)=>{const a=f.useMemo(()=>!n||!r?!0:{email:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,url:/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/,phone:/^[\d\s\-+()]{7,20}$/}[n].test(r),[n,r]);return x.jsxs("div",{className:se("relative flex items-center w-full",o),children:[x.jsx("input",{type:t,className:se("flex h-9 w-full rounded-lg border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",!a&&n&&"border-red-500 focus-visible:ring-red-500/30",a&&n&&r?"border-green-500 focus-visible:ring-green-500/30":"",n&&"!pr-8",e),ref:i,value:r,...s}),n&&r&&x.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:a?x.jsx(hu,{className:"h-4 w-4 text-green-500"}):x.jsx(bu,{className:"h-4 w-4 text-red-500"})})]})});yd.displayName="Input";var xd=Object.defineProperty,wd=(e,t)=>xd(e,"name",{value:t,configurable:!0});function pr(e,[t,n]){return Math.min(n,Math.max(t,e))}wd(pr,"clamp");var Sd=Object.defineProperty,me=(e,t)=>
85Sd(e,"name",{value:t,configurable:!0});function Mr(e){const t=e+"CollectionProvider",[n,r]=Ge(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=me(g=>{const{scope:p,children:v}=g,S=f.useRef(null),y=f.useRef(new Map).current;return x.jsx(o,{scope:p,itemMap:y,collectionRef:S,children:v})},"CollectionProvider");i.displayName=t;const a=e+"CollectionSlot",l=at(a),c=f.forwardRef((g,p)=>{const{scope:v,children:S}=g,y=s(a,v),C=ie(p,y.collectionRef);return x.jsx(l,{ref:C,children:S})});c.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",m=at(u),b=f.forwardRef((g,p)=>{const{scope:v,children:S,...y}=g,C=f.useRef(null),R=ie(p,C),_=s(u,v);return f.useEffect(()=>(_.itemMap.set(C,{ref:C,...y}),()=>void _.itemMap.delete(C))),x.jsx(m,{[d]:"",ref:R,children:S})});b.displayName=u;function h(g){const p=s(e+"CollectionConsumer",g);return f.useCallback(()=>{const S=p.collectionRef.current;if(!S)return[];const y=Array.from(S.querySelectorAll(`[${d}]`));return Array.from(p.itemMap.values()).sort((_,k)=>y.indexOf(_.ref.current)-y.indexOf(k.ref.current))},[p.collectionRef,p.itemMap])}return me(h,"useCollection"),[{Provider:i,Slot:c,ItemSlot:b},h,r]}me(Mr,"createCollection");var Ho=new WeakMap,ue,Re,Vn=(Re=class extends Map{constructor(n){super(n);co(this,ue);Mn(this,ue,[...super.keys()]),Ho.set(this,!0)}set(n,r){return Ho.get(this)&&(this.has(n)?ge(this,ue)[ge(this,ue).indexOf(n)]=n:ge(this,ue).push(n)),super.set(n,r),this}insert(n,r,o){const s=this.has(r),i=ge(this,ue).length,a=Lr(n);let l=a>=0?a:i+a;const c=l<0||l>=i?-1:l;if(c===this.size||s&&c===this.size-1||c===-1)return this.set(r,o),this;const u=this.size+(s?0:1);a<0&&l++;const d=[...ge(this,ue)];let m,b=!1;for(let h=l;h<u;h++)if(l===h){let g=d[h];d[h]===r&&(g=d[h+1]),s&&this.delete(r),m=this.get(g),this.set(r,o)}else{!b&&d[h-1]===r&&(b=!0);const g=d[b?h:h-1],p=m;m=this.get(g),this.delete(g),this.set(g,p)}return this}with(n,r,o){const s=new Re(this);return s.insert(n,r,o),s}before(n){const r=ge(this,ue).indexOf(n)-1;if(!(r<0))return this.entryAt(r)}setBefore(n,r,o){const s=ge(this,ue).indexOf(n);return s===-1?this:this.insert(s,r,o)}after(n){let r=ge(this,ue).indexOf(n);if(r=r===-1||r===this.size-1?-1:r+1,r!==-1)return this.entryAt(r)}setAfter(n,r,o){const s=ge(this,ue).indexOf(n);return s===-1?this:this.insert(s+1,r,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return Mn(this,ue,[]),super.clear()}delete(n){const r=super.delete(n);return r&&ge(this,ue).splice(ge(this,ue).indexOf(n),1),r}deleteAt(n){const r=this.keyAt(n);return r!==void 0?this.delete(r):!1}at(n){const r=nn(ge(this,ue),n);if(r!==void 0)return this.get(r)}entryAt(n){const r=nn(ge(this,ue),n);if(r!==void 0)return[r,this.get(r)]}indexOf(n){return ge(this,ue).indexOf(n)}keyAt(n){return nn(ge(this,ue),n)}from(n,r){const o=this.indexOf(n);if(o===-1)return;let s=o+r;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.at(s)}keyFrom(n,r){const o=this.indexOf(n);if(o===-1)return;let s=o+r;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.keyAt(s)}find(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return s;o++}}findIndex(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return o;o++}return-1}filter(n,r){const o=[];let s=0;for(const i of this)Reflect.apply(n,r,[i,s,this])&&o.push(i),s++;return new Re(o)}map(n,r){const o=[];let s=0;for(const i of this)o.push([i[0],Reflect.apply(n,r,[i,s,this])]),s++;return new Re(o)}reduce(...n){const[r,o]=n;let s=0,i=o??this.at(0);for(const a of this)s===0&&n.length===1?i=a:i=Reflect.apply(r,this,[i,a,s,this]),s++;return i}reduceRight(...n){const[r,o]=n;let s=o??this.at(-1);for(let i=this.size-1;i>=0;i--){const a=this.at(i);i===this.size-1&&n.length===1?s=a:s=Reflect.apply(r,this,[s,a,i,this])}return s}toSorted(n){const r=[...this.entries()].sort(n);return new Re(r)}toReversed(){const n=new Re;for(let r=this.size-1;r>=0;r--){const o=this.keyAt(r),s=this.get(o);n.set(o,s)}return n}toSpliced(...n){const r=[...this.entries()];return r.splice(...n),new Re(r)}slice(n,r){const o=new Re;let s=this.size-1;if(n===void 0)return o;n<0&&(n=n+this.size),r!==void 0&&r>0&&(s=r-1);for(let i=n;i<=s;i++){const a=this.keyAt(i),l=this.get(a);o.set(a,l)}return o}every(n,r){let o=0;for(const s of this){if(!Reflect.apply(n,r,[s,o,this]))return!1;o++}return!0}some(n,r){let o=0;for(const s of this){if(Reflect.apply(n,r,[s,o,this]))return!0;o++}return!1}},ue=new WeakMap,me(Re,"OrderedDict"),Re);function nn(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=Si(e,t);return n===-1?void 0:e[n]}me(nn,"at");function Si(e,t){const n=e.length,r=Lr(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}me(Si,"toSafeIndex");function Lr(e){return e!==e||e===0?0:Math.trunc(e)}me(Lr,"toSafeInteger");function Cd(e){const t=e+"CollectionProvider",[n,r]=Ge(t),[o,s]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Vn,setItemMap:me(()=>{},"setItemMap")}),i=me(({state:y,...C})=>y?x.jsx(l,{...C,state:y}):x.jsx(a,{...C}),"CollectionProvider");i.displayName=t;const a=me(y=>{const C=p();return x.jsx(l,{...y,state:C})},"CollectionInit");a.displayName=t+"Init";const l=me(y=>{const{scope:C,children:R,state:_}=y,k=f.useRef(null),[P,O]=f.useState(null),U=ie(k,O),[W,j]=_;return f.useEffect(()=>{if(!P)return;const H=Ei(()=>{});return H.observe(P,{childList:!0,subtree:!0}),()=>{H.disconnect()}},[P]),x.jsx(o,{scope:C,itemMap:W,setItemMap:j,collectionRef:U,collectionRefObject:k,collectionElement:P,children:R})},"CollectionProviderImpl");l.displayName=t+"Impl";const c=e+"CollectionSlot",u=at(c),d=f.forwardRef((y,C)=>{const{scope:R,children:_}=y,k=s(c,R),P=ie(C,k.collectionRef);return x.jsx(u,{ref:P,children:_})});d.displayName=c;const m=e+"CollectionItemSlot",b="data-radix-collection-item",h=at(m),g=f.forwardRef((y,C)=>{const{scope:R,children:_,...k}=y,P=f.useRef(null),[O,U]=f.useState(null),W=ie(C,P,U),j=s(m,R),{setItemMap:H}=j,G=f.useRef(k);Ci(G.current,k)||(G.current=k);const Z=G.current;return f.useEffect(()=>{const B=Z;return H($=>O?$.has(O)?$.set(O,{...B,element:O}).toSorted(mr):($.set(O,{...B,element:O}),$.toSorted(mr)):$),()=>{H($=>!O||!$.has(O)?$:($.delete(O),new Vn($)))}},[O,Z,H]),x.jsx(h,{[b]:"",ref:W,children:_})});g.displayName=m;function p(){return f.useState(new Vn)}me(p,"useInitCollection");function v(y){const{itemMap:C}=s(e+"CollectionConsumer",y);return C}return me(v,"useCollection"),[{Provider:i,Slot:d,ItemSlot:g},{createCollectionScope:r,useCollection:v,useInitCollection:p}]}me(Cd,"createCollection");function Ci(e,t){if(e===t)return!0;
85if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(t,o)||e[o]!==t[o])return!1;return!0}me(Ci,"shallowEqual");function Ri(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}me(Ri,"isElementPreceding");function mr(e,t){return!e[1].element||!t[1].element?0:Ri(e[1].element,t[1].element)?-1:1}me(mr,"sortByDocumentPosition");function Ei(e){return new MutationObserver(n=>{for(const r of n)if(r.type==="childList"){e();return}})}me(Ei,"getChildListObserver");var Rd=Object.defineProperty,Ed=(e,t)=>Rd(e,"name",{value:t,configurable:!0}),_d=f.createContext(void 0);function Sn(e){const t=f.useContext(_d);return e||t||"ltr"}Ed(Sn,"useDirection");var kd=Object.defineProperty,Pd=(e,t)=>kd(e,"name",{value:t,configurable:!0});function Pe(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>((...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)}),[])}Pd(Pe,"useCallbackRef");var Td=Object.defineProperty,pe=(e,t)=>Td(e,"name",{value:t,configurable:!0}),hr="dismissableLayer.update",Od="dismissableLayer.pointerDownOutside",Ad="dismissableLayer.focusOutside",Vo,_i=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Id=f.forwardRef(pe(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=t,d=f.useContext(_i),[m,b]=f.useState(null),h=(m==null?void 0:m.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=f.useState({}),p=ie(n,b),v=Array.from(d.layers),[S]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=S?v.indexOf(S):-1,C=m?v.indexOf(m):-1,R=d.layersWithOutsidePointerEventsDisabled.size>0,_=C>=y,k=f.useRef(!1),P=ki(j=>{i==null||i(j),l==null||l(j),j.defaultPrevented||c==null||c()},{ownerDocument:h,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:d.dismissableSurfaces,shouldHandlePointerDownOutside:f.useCallback(j=>{if(!(j instanceof Node))return!1;const H=[...d.branches].some(G=>G.contains(j));return _&&!H},[d.branches,_])}),O=Pi(j=>{if(o&&k.current)return;const H=j.target;[...d.branches].some(Z=>Z.contains(H))||(a==null||a(j),l==null||l(j),j.defaultPrevented||c==null||c())},h),U=m?C===v.length-1:!1,W=Pe(j=>{j.key==="Escape"&&(s==null||s(j),!j.defaultPrevented&&c&&(j.preventDefault(),c()))});return f.useEffect(()=>{if(U)return h.addEventListener("keydown",W,{capture:!0}),()=>h.removeEventListener("keydown",W,{capture:!0})},[h,U,W]),f.useEffect(()=>{if(m)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Vo=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),gr(),()=>{r&&(d.layersWithOutsidePointerEventsDisabled.delete(m),d.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=Vo))}},[m,h,r,d]),f.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),gr())},[m,d]),f.useEffect(()=>{const j=pe(()=>g({}),"handleUpdate");return document.addEventListener(hr,j),()=>document.removeEventListener(hr,j)},[]),x.jsx(ae.div,{...u,ref:p,style:{pointerEvents:R?_?"auto":"none":void 0,...t.style},onFocusCapture:te(t.onFocusCapture,O.onFocusCapture),onBlurCapture:te(t.onBlurCapture,O.onBlurCapture),onPointerDownCapture:te(t.onPointerDownCapture,P.onPointerDownCapture)})},"DismissableLayer"));function Nd(){const e=f.useContext(_i),[t,n]=f.useState(null);return f.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}pe(Nd,"useDismissableLayerSurface");var jd=pe(()=>!0,"IS_TRUE");function ki(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=jd}=t,a=Pe(e),l=f.useRef(!1),c=f.useRef(!1),u=f.useRef(new Map),d=f.useRef(()=>{});return f.useEffect(()=>{function m(){c.current=!1,o.current=!1,u.current.clear()}pe(m,"resetOutsideInteraction");function b(){return Array.from(u.current.values()).some(Boolean)}pe(b,"isOutsideInteractionIntercepted");function h(y){if(!c.current)return;const C=y.target;C instanceof Node&&[...s].some(_=>_.contains(C))||u.current.set(y.type,!0),y.type==="click"&&window.setTimeout(()=>{c.current&&d.current()},0)}pe(h,"handleInteractionCapture");function g(y){c.current&&u.current.set(y.type,!1)}pe(g,"handleInteractionBubble");const p=pe(y=>{if(y.target&&!l.current){let C=function(){n.removeEventListener("click",d.current);const _=b();m(),_||Fr(Od,a,R,{discrete:!0})};if(pe(C,"handleAndDispatchPointerDownOutsideEvent"),!i(y.target)){n.removeEventListener("click",d.current),m(),l.current=!1;return}const R={originalEvent:y};c.current=!0,o.current=r&&y.button===0,u.current.clear(),!r||y.button!==0?C():(n.removeEventListener("click",d.current),d.current=C,n.addEventListener("click",d.current,{once:!0}))}else n.removeEventListener("click",d.current),m();l.current=!1},"handlePointerDown"),v=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const y of v)n.addEventListener(y,h,!0),n.addEventListener(y,g);const S=window.setTimeout(()=>{n.addEventListener("pointerdown",p)},0);return()=>{window.clearTimeout(S),n.removeEventListener("pointerdown",p),n.removeEventListener("click",d.current);for(const y of v)n.removeEventListener(y,h,!0),n.removeEventListener(y,g)}},[n,a,r,o,s,i]),{onPointerDownCapture:pe(()=>l.current=!0,"onPointerDownCapture")}}pe(ki,"usePointerDownOutside");function Pi(e,t=globalThis==null?void 0:globalThis.document){const n=Pe(e),r=f.useRef(!1);return f.useEffect(()=>{const o=pe(s=>
85{s.target&&!r.current&&Fr(Ad,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:pe(()=>r.current=!0,"onFocusCapture"),onBlurCapture:pe(()=>r.current=!1,"onBlurCapture")}}pe(Pi,"useFocusOutside");function gr(){const e=new CustomEvent(hr);document.dispatchEvent(e)}pe(gr,"dispatchUpdate");function Fr(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Zs(o,s):o.dispatchEvent(s)}pe(Fr,"handleAndDispatchCustomEvent");var Dd=Object.defineProperty,Br=(e,t)=>Dd(e,"name",{value:t,configurable:!0}),Gt=0,Ne=null;function Md(e){return $r(),e.children}Br(Md,"FocusGuards");function $r(){f.useEffect(()=>{Ne||(Ne={start:br(),end:br()});const{start:e,end:t}=Ne;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Gt++,()=>{Gt===1&&(Ne==null||Ne.start.remove(),Ne==null||Ne.end.remove(),Ne=null),Gt=Math.max(0,Gt-1)}},[])}Br($r,"useFocusGuards");function br(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}Br(br,"createFocusGuard");var Ld=Object.defineProperty,we=(e,t)=>Ld(e,"name",{value:t,configurable:!0}),Wn="focusScope.autoFocusOnMount",Gn="focusScope.autoFocusOnUnmount",Wo={bubbles:!1,cancelable:!0},Fd=f.forwardRef(we(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...a}=t,[l,c]=f.useState(null),u=Pe(s),d=Pe(i),m=f.useRef(null),b=ie(n,c),h=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let p=function(C){if(h.paused||!l)return;const R=C.target;l.contains(R)?m.current=R:Be(m.current,{select:!0})},v=function(C){if(h.paused||!l)return;const R=C.relatedTarget;R!==null&&(l.contains(R)||Be(m.current,{select:!0}))},S=function(C){if(document.activeElement===document.body)for(const _ of C)_.removedNodes.length>0&&Be(l)};we(p,"handleFocusIn"),we(v,"handleFocusOut"),we(S,"handleMutations"),document.addEventListener("focusin",p),document.addEventListener("focusout",v);const y=new MutationObserver(S);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",v),y.disconnect()}}},[o,l,h.paused]),f.useEffect(()=>{if(l){Go.add(h);const p=document.activeElement;if(!l.contains(p)){const S=new CustomEvent(Wn,Wo);l.addEventListener(Wn,u),l.dispatchEvent(S),S.defaultPrevented||(Ti(ji(zr(l)),{select:!0}),document.activeElement===p&&Be(l))}return()=>{l.removeEventListener(Wn,u),setTimeout(()=>{const S=new CustomEvent(Gn,Wo);l.addEventListener(Gn,d),l.dispatchEvent(S),S.defaultPrevented||Be(p??document.body,{select:!0}),l.removeEventListener(Gn,d),Go.remove(h)},0)}}},[l,u,d,h]);const g=f.useCallback(p=>{if(!r&&!o||h.paused)return;const v=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,S=document.activeElement;if(v&&S){const y=p.currentTarget,[C,R]=Oi(y);C&&R?!p.shiftKey&&S===R?(p.preventDefault(),r&&Be(C,{select:!0})):p.shiftKey&&S===C&&(p.preventDefault(),r&&Be(R,{select:!0})):S===y&&p.preventDefault()}},[r,o,h.paused]);return x.jsx(ae.div,{tabIndex:-1,...a,ref:b,onKeyDown:g})},"FocusScope"));function Ti(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Be(r,{select:t}),document.activeElement!==n)return}we(Ti,"focusFirst");function Oi(e){const t=zr(e),n=vr(t,e),r=vr(t.reverse(),e);return[n,r]}we(Oi,"getTabbableEdges");function zr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:we(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}we(zr,"getTabbableCandidates");function vr(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Ai(r,{upTo:t})))return r}we(vr,"findVisible");function Ai(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}we(Ai,"isHidden");function Ii(e){return e instanceof HTMLInputElement&&"select"in e}we(Ii,"isSelectableInput");function Be(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ii(e)&&t&&e.select()}}
vendor: 6,078 bytes, line 85
85we(Be,"focus");var Go=Ni();function Ni(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=yr(e,t),e.unshift(t)},remove(t){var n;e=yr(e,t),(n=e[0])==null||n.resume()}}}we(Ni,"createFocusScopesStack");function yr(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}we(yr,"arrayRemove");function ji(e){return e.filter(t=>t.tagName!=="A")}we(ji,"removeLinks");var Bd=Object.defineProperty,$d=(e,t)=>Bd(e,"name",{value:t,configurable:!0}),zd=Lt[" useId ".trim().toString()]||(()=>{}),Ud=0;function Cn(e){const[t,n]=f.useState(zd());return fe(()=>{e||n(r=>r??String(Ud++))},[e]),e||(t?`radix-${t}`:"")}$d(Cn,"useId");const Hd=["top","right","bottom","left"],Xe=Math.min,ze=Math.max,un=Math.round,qt=Math.floor,Ue=e=>({x:e,y:e}),Vd={left:"right",right:"left",bottom:"top",top:"bottom"};function Di(e,t,n){return ze(e,Xe(t,n))}function We(e,t){return typeof e=="function"?e(t):e}function Je(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function Ur(e){return e==="x"?"y":"x"}function Hr(e){return e==="y"?"height":"width"}function De(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Vr(e){return Ur(De(e))}function Wd(e,t,n){n===void 0&&(n=!1);const r=Pt(e),o=Vr(e),s=Hr(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=dn(i)),[i,dn(i)]}function Gd(e){const t=dn(e);return[xr(e),t,xr(t)]}function xr(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const qo=["left","right"],Ko=["right","left"],qd=["top","bottom"],Kd=["bottom","top"];function Yd(e,t,n){switch(e){case"top":case"bottom":return n?t?Ko:qo:t?qo:Ko;case"left":case"right":return t?qd:Kd;default:return[]}}function Xd(e,t,n,r){const o=Pt(e);let s=Yd(Je(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(xr)))),s}function dn(e){const t=Je(e);return Vd[t]+e.slice(t.length)}function Jd(e){var t,n,r,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(o=e.left)!=null?o:0}}function Mi(e){return typeof e!="number"?Jd(e):{top:e,right:e,bottom:e,left:e}}function fn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Yo(e,t,n){let{reference:r,floating:o}=e;const s=De(t),i=Vr(t),a=Hr(i),l=Je(t),c=s==="y",u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,m=r[a]/2-o[a]/2;let b;switch(l){case"top":b={x:u,y:r.y-o.height};break;case"bottom":b={x:u,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:d};break;case"left":b={x:r.x-o.width,y:d};break;default:b={x:r.x,y:r.y}}const h=Pt(t);return h&&(b[i]+=m*(h==="end"?1:-1)*(n&&c?-1:1)),b}async function Zd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:b=0}=We(t,e),h=Mi(b),p=a[m?d==="floating"?"reference":"floating":d],v=fn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),S=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},R=fn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:S,offsetParent:y,strategy:l}):S);return{top:(v.top-R.top+h.top)/C.y,bottom:(R.bottom-v.bottom+h.bottom)/C.y,left:(v.left-R.left+h.left)/C.x,right:(R.right-v.right+h.right)/C.x}}const Qd=50,ef=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:Zd},l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Yo(c,r,l),m=r,b=0;const h={};for(let g=0;g<s.length;g++){const p=s[g];if(!p)continue;const{name:v,fn:S}=p,{x:y,y:C,data:R,reset:_}=await S({x:u,y:d,initialPlacement:r,placement:m,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=y??u,d=C??d,h[v]={...h[v],...R},_&&b<Qd&&(b++,typeof _=="object"&&(_.placement&&(m=_.placement),_.rects&&(c=_.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):_.rects),{x:u,y:d}=Yo(c,m,l)),g=-1)}return{x:u,y:d,placement:m,strategy:o,middlewareData:h}},tf=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=We(e,t)||{};if(c==null)return{};const d=Mi(u),m={x:n,y:r},b=Vr(o),h=Hr(b),g=await i.getDimensions(c),p=b==="y",v=p?"top":"left",S=p?"bottom":"right",y=p?"clientHeight":"clientWidth",C=s.reference[h]+s.reference[b]-m[b]-s.floating[h],R=m[b]-s.reference[b],_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let k=_?_[y]:0;(!k||!await(i.isElement==null?void 0:i.isElement(_)))&&(k=a.floating[y]||s.floating[h]);const P=C/2-R/2,O=k/2-g[h]/2-1,U=Xe(d[v],O),W=Xe(d[S],O),j=k-g[h]-W,H=k/2-g[h]/2+P,G=Di(U,H,j),Z=!l.arrow&&Pt(o)!=null&&H!==G&&s.reference[h]/2-(H<U?U:W)-g[h]/2<0,B=Z?H<U?H-U:H-j:0;return{[b]:m[b]+B,data:{[b]:G,centerOffset:H-G-B,...Z&&{alignmentOffset:B}},reset:Z}}}),nf=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...p}=We(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=Je(o),S=De(a),y=Je(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),R=m||(y||!g?[dn(a)]:Gd(a)),_=h!=="none";!m&&_&&R.push(...Xd(a,g,h,C));const k=[a,...R],P=await l.detectOverflow(t,p),O=[];let U=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&O.push(P[v]),d){const G=Wd(o,i,C);
vendor: 6,352 bytes, line 85
85O.push(P[G[0]],P[G[1]])}if(U=[...U,{placement:o,overflows:O}],!O.every(G=>G<=0)){var W,j;const G=(((W=s.flip)==null?void 0:W.index)||0)+1,Z=k[G];if(Z&&(!(d==="alignment"?S!==De(Z):!1)||U.every(q=>De(q.placement)===S?q.overflows[0]>0:!0)))return{data:{index:G,overflows:U},reset:{placement:Z}};let B=(j=U.filter($=>$.overflows[0]<=0).sort(($,q)=>$.overflows[1]-q.overflows[1])[0])==null?void 0:j.placement;if(!B)switch(b){case"bestFit":{var H;const $=(H=U.filter(q=>{if(_){const Q=De(q.placement);return Q===S||Q==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(Q=>Q>0).reduce((Q,A)=>Q+A,0)]).sort((q,Q)=>q[1]-Q[1])[0])==null?void 0:H[0];$&&(B=$);break}case"initialPlacement":B=a;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function Xo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jo(e){return Hd.some(t=>e[t]>=0)}const rf=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=We(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),a=Xo(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Jo(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),a=Xo(i,n.floating);return{data:{escapedOffsets:a,escaped:Jo(a)}}}default:return{}}}}},Li=new Set(["left","top"]);async function of(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Je(n),a=Pt(n),l=De(n)==="y",c=Li.has(i)?-1:1,u=s&&l?-1:1,d=We(t,e);let{mainAxis:m,crossAxis:b,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof h=="number"&&(b=a==="end"?h*-1:h),l?{x:b*u,y:m*c}:{x:m*c,y:b*u}}const sf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await of(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},af=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:S=>{let{x:y,y:C}=S;return{x:y,y:C}}},...c}=We(e,t),u={x:n,y:r},d=await s.detectOverflow(t,c),m=De(o),b=Ur(m);let h=u[b],g=u[m];const p=(S,y)=>Di(y+d[S==="y"?"top":"left"],y,y-d[S==="y"?"bottom":"right"]);i&&(h=p(b,h)),a&&(g=p(m,g));const v=l.fn({...t,[b]:h,[m]:g});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[b]:i,[m]:a}}}}}},cf=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;const{x:o,y:s,placement:i,rects:a,middlewareData:l}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=We(e,t),m={x:o,y:s},b=De(i),h=Ur(b);let g=m[h],p=m[b];const v=We(c,t),S=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:(n=v.mainAxis)!=null?n:0,crossAxis:(r=v.crossAxis)!=null?r:0};if(u){const R=h==="y"?"height":"width",_=a.reference[h]-a.floating[R]+S.mainAxis,k=a.reference[h]+a.reference[R]-S.mainAxis;g<_?g=_:g>k&&(g=k)}if(d){var y,C;const R=h==="y"?"width":"height",_=Li.has(Je(i)),k=a.reference[b]-a.floating[R]+(_&&((y=l.offset)==null?void 0:y[b])||0)+(_?0:S.crossAxis),P=a.reference[b]+a.reference[R]+(_?0:((C=l.offset)==null?void 0:C[b])||0)-(_?S.crossAxis:0);p<k?p=k:p>P&&(p=P)}return{[h]:g,[b]:p}}}},lf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:s}=t,{apply:i=()=>{},...a}=We(e,t),l=await o.detectOverflow(t,a),c=Je(n),u=Pt(n),d=De(n)==="y",{width:m,height:b}=r.floating;let h,g;c==="top"||c==="bottom"?(h=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(g=c,h=u==="end"?"top":"bottom");const p=b-l.top-l.bottom,v=m-l.left-l.right,S=Xe(b-l[h],p),y=Xe(m-l[g],v),C=t.middlewareData.shift,R=!C;let _=S,k=y;C!=null&&C.enabled.x&&(k=v),C!=null&&C.enabled.y&&(_=p),R&&!u&&(d?k=m-2*ze(l.left,l.right):_=b-2*ze(l.top,l.bottom)),await i({...t,availableWidth:k,availableHeight:_});const P=await o.getDimensions(s.floating);return m!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}};function Rn(){return typeof window<"u"}function Tt(e){return Fi(e)?(e.nodeName||"").toLowerCase():"#document"}function Ce(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qe(e){var t;return(t=(Fi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fi(e){return Rn()?e instanceof Node||e instanceof Ce(e).Node:!1}function Me(e){return Rn()?e instanceof Element||e instanceof Ce(e).Element:!1}function Qe(e){return Rn()?e instanceof HTMLElement||e instanceof Ce(e).HTMLElement:!1}function Zo(e){return!Rn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ce(e).ShadowRoot}function En(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function uf(e){return/^(table|td|th)$/.test(Tt(e))}function _n(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const df=/transform|translate|scale|rotate|perspective|filter/,ff=/paint|layout|strict|content/,rt=e=>!!e&&e!=="none";let qn;function Wr(e){const t=Me(e)?Le(e):e;return rt(t.transform)||rt(t.translate)||rt(t.scale)||rt(t.rotate)||rt(t.perspective)||!Gr()&&(rt(t.backdropFilter)||rt(t.filter))||df.test(t.willChange||"")||ff.test(t.contain||"")}function pf(e){let t=ct(e);for(;Qe(t)&&!Dt(t);){if(Wr(t))return t;if(_n(t))return null;t=ct(t)}return null}function Gr(){return qn==null&&(qn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),qn}function Dt(e){return/^(html|body|#document)$/.test(Tt(e))}function Le(e){return Ce(e).getComputedStyle(e)}function kn(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ct(e){if(Tt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zo(e)&&e.host||qe(e);return Zo(t)?t.host:t}function Bi(e){const t=ct(e);return Dt(t)?(e.ownerDocument||e).body:Qe(t)&&En(t)?t:Bi(t)}function Mt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Bi(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ce(o);if(s){const a=wr(i);
85return t.concat(i,i.visualViewport||[],En(o)?o:[],a&&n?Mt(a):[])}else return t.concat(o,Mt(o,[],n))}function wr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $i(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Qe(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=un(n)!==s||un(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function qr(e){return Me(e)?e:e.contextElement}function wt(e){const t=qr(e);if(!Qe(t))return Ue(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=$i(t);let i=(s?un(n.width):n.width)/r,a=(s?un(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const mf=Ue(0);function zi(e){const t=Ce(e);return!Gr()||!t.visualViewport?mf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hf(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Ce(e)}function lt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=qr(e);let i=Ue(1);t&&(r?Me(r)&&(i=wt(r)):i=wt(e));const a=hf(s,n,r)?zi(s):Ue(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(s&&r){const m=Ce(s),b=Me(r)?Ce(r):r;let h=m,g=wr(h);for(;g&&b!==h;){const p=wt(g),v=g.getBoundingClientRect(),S=Le(g),y=v.left+(g.clientLeft+parseFloat(S.paddingLeft))*p.x,C=v.top+(g.clientTop+parseFloat(S.paddingTop))*p.y;l*=p.x,c*=p.y,u*=p.x,d*=p.y,l+=y,c+=C,h=Ce(g),g=wr(h)}}return fn({width:u,height:d,x:l,y:c})}function Pn(e,t){const n=kn(e).scrollLeft;return t?t.left+n:lt(qe(e)).left+n}function Ui(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Pn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function gf(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=qe(r),a=t?_n(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Ue(1);const u=Ue(0),d=Qe(r);if((d||!s)&&((Tt(r)!=="body"||En(i))&&(l=kn(r)),d)){const b=lt(r);c=wt(r),u.x=b.x+r.clientLeft,u.y=b.y+r.clientTop}const m=i&&!d&&!s?Ui(i,l):Ue(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+m.x,y:n.y*c.y-l.scrollTop*c.y+u.y+m.y}}function bf(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function vf(e){const t=kn(e),n=e.ownerDocument.body,r=ze(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=ze(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+Pn(e);const i=-t.scrollTop;return Le(n).direction==="rtl"&&(s+=ze(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:s,y:i}}const yf=25;function xf(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=Ce(e),s=qe(e),i=o.visualViewport;let a=s.clientWidth,l=s.clientHeight,c=0,u=0;if(i){const m=!Gr()||t==="fixed";r?m||(c=-i.offsetLeft,u=-i.offsetTop):(a=i.width,l=i.height,m&&(c=i.offsetLeft,u=i.offsetTop))}if(Pn(s)<=0){const m=s.ownerDocument,b=m.body,h=getComputedStyle(b),g=m.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(s.clientWidth-b.clientWidth-g),v=getComputedStyle(s).scrollbarGutter==="stable both-edges"?p/2:p;v<=yf&&(a-=v)}return{width:a,height:l,x:c,y:u}}function wf(e,t){const n=lt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=wt(e),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,c=r*s.y;return{width:i,height:a,x:l,y:c}}function Qo(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=xf(e,n,t);else if(t==="document")r=vf(qe(e));else if(Me(t))r=wf(t,n);else{const o=zi(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return fn(r)}function Sf(e,t){const n=t.get(e);if(n)return n;let r=Mt(e,[],!1).filter(a=>Me(a)&&Tt(a)!=="body"),o=null;const s=Le(e).position==="fixed";let i=s?ct(e):e;for(;Me(i)&&!Dt(i);){const a=Le(i),l=Wr(i),c=o?o.position:s?"fixed":"";!l&&(c==="fixed"||c==="absolute"&&a.position==="static")?r=r.filter(d=>d!==i):o=a,i=ct(i)}return t.set(e,r),r}function Cf(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?_n(t)?[]:Sf(t,this._c):[].concat(n),r],a=Qo(t,i[0],o);let l=a.top,c=a.right,u=a.bottom,d=a.left;for(let m=1;m<i.length;m++){const b=Qo(t,i[m],o);l=ze(b.top,l),c=Xe(b.right,c),u=Xe(b.bottom,u),d=ze(b.left,d)}return{width:c-d,height:u-l,x:d,y:l}}function Rf(e){const{width:t,height:n}=$i(e);return{width:t,height:n}}function Ef(e,t,n){const r=Qe(t),o=qe(t),s=n==="fixed",i=lt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Ue(0);if((r||!s)&&((Tt(t)!=="body"||En(o))&&(a=kn(t)),r)){const m=lt(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}!r&&o&&(l.x=Pn(o));const c=o&&!r&&!s?Ui(o,a):Ue(0),u=i.left+a.scrollLeft-l.x-c.x,d=i.top+a.scrollTop-l.y-c.y;return{x:u,y:d,width:i.width,height:i.height}}function Kn(e){return Le(e).position==="static"}function es(e,t){if(!Qe(e)||Le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return qe(e)===n&&(n=n.ownerDocument.body),n}function Hi(e,t){const n=Ce(e);if(_n(e))return n;if(!Qe(e)){let o=ct(e);for(;o&&!Dt(o);){if(Me(o)&&!Kn(o))return o;
vendor: 4,395 bytes, line 85
85o=ct(o)}return n}let r=es(e,t);for(;r&&uf(r)&&Kn(r);)r=es(r,t);return r&&Dt(r)&&Kn(r)&&!Wr(r)?n:r||pf(e)||n}const _f=async function(e){const t=this.getOffsetParent||Hi,n=this.getDimensions,r=await n(e.floating);return{reference:Ef(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function kf(e){return Le(e).direction==="rtl"}const Pf={convertOffsetParentRelativeRectToViewportRelativeRect:gf,getDocumentElement:qe,getClippingRect:Cf,getOffsetParent:Hi,getElementRects:_f,getClientRects:bf,getDimensions:Rf,getScale:wt,isElement:Me,isRTL:kf};function Vi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Tf(e,t,n){let r=null,o;const s=qe(e);function i(){var u;clearTimeout(o),(u=r)==null||u.disconnect(),r=null}function a(u,d){u===void 0&&(u=!1),d===void 0&&(d=1),i();const m=e.getBoundingClientRect(),{left:b,top:h,width:g,height:p}=m;if(u||t(),!g||!p)return;const v=qt(h),S=qt(s.clientWidth-(b+g)),y=qt(s.clientHeight-(h+p)),C=qt(b),_={rootMargin:-v+"px "+-S+"px "+-y+"px "+-C+"px",threshold:ze(0,Xe(1,d))||1};let k=!0;function P(O){const U=O[0].intersectionRatio;if(!Vi(m,e.getBoundingClientRect()))return a();if(U!==d){if(!k)return a();U?a(!1,U):o=setTimeout(()=>{a(!1,1e-7)},1e3)}k=!1}try{r=new IntersectionObserver(P,{..._,root:s.ownerDocument})}catch{r=new IntersectionObserver(P,_)}r.observe(e)}const l=Ce(e),c=()=>a(n);return l.addEventListener("resize",c),a(!0),()=>{l.removeEventListener("resize",c),i()}}function Of(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=qr(e),u=o||s?[...c?Mt(c):[],...t?Mt(t):[]]:[];u.forEach(v=>{o&&v.addEventListener("scroll",n),s&&v.addEventListener("resize",n)});const d=c&&a?Tf(c,n,s):null;let m=-1,b=null;i&&(b=new ResizeObserver(v=>{let[S]=v;S&&S.target===c&&b&&t&&(b.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=b)==null||y.observe(t)})),n()}),c&&!l&&b.observe(c),t&&b.observe(t));let h,g=l?lt(e):null;l&&p();function p(){const v=lt(e);g&&!Vi(g,v)&&n(),g=v,h=requestAnimationFrame(p)}return n(),()=>{var v;u.forEach(S=>{o&&S.removeEventListener("scroll",n),s&&S.removeEventListener("resize",n)}),d==null||d(),(v=b)==null||v.disconnect(),b=null,l&&cancelAnimationFrame(h)}}const Af=sf,If=af,Nf=nf,jf=lf,Df=rf,ts=tf,Mf=cf,Lf=(e,t,n)=>{const r=new Map,o=n??{},s={...Pf,...o.platform,_c:r};return ef(e,t,{...o,platform:s})};var Ff=typeof document<"u",Bf=function(){},rn=Ff?f.useLayoutEffect:Bf;function pn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!pn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!pn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Wi(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ns(e,t){const n=Wi(e);return Math.round(t*n)/n}function Yn(e){const t=f.useRef(e);return rn(()=>{t.current=e}),t}function $f(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,b]=f.useState(r);pn(m,r)||b(r);const[h,g]=f.useState(null),[p,v]=f.useState(null),S=f.useCallback(q=>{q!==_.current&&(_.current=q,g(q))},[]),y=f.useCallback(q=>{q!==k.current&&(k.current=q,v(q))},[]),C=s||h,R=i||p,_=f.useRef(null),k=f.useRef(null),P=f.useRef(u),O=l!=null,U=Yn(l),W=Yn(o),j=Yn(c),H=f.useCallback(()=>{if(!_.current||!k.current)return;const q={placement:t,strategy:n,middleware:m};W.current&&(q.platform=W.current),Lf(_.current,k.current,q).then(Q=>{const A={...Q,isPositioned:j.current!==!1};G.current&&!pn(P.current,A)&&(P.current=A,Ft.flushSync(()=>{d(A)}))})},[m,t,n,W,j]);rn(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(q=>({...q,isPositioned:!1})))},[c]);const G=f.useRef(!1);rn(()=>(G.current=!0,()=>{G.current=!1}),[]),rn(()=>
85{if(C&&(_.current=C),R&&(k.current=R),C&&R){if(U.current)return U.current(C,R,H);H()}},[C,R,H,U,O]);const Z=f.useMemo(()=>({reference:_,floating:k,setReference:S,setFloating:y}),[S,y]),B=f.useMemo(()=>({reference:C,floating:R}),[C,R]),$=f.useMemo(()=>{const q={position:n,left:0,top:0};if(!B.floating)return q;const Q=ns(B.floating,u.x),A=ns(B.floating,u.y);return a?{...q,transform:"translate("+Q+"px, "+A+"px)",...Wi(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Q,top:A}},[n,a,B.floating,u.x,u.y]);return f.useMemo(()=>({...u,update:H,refs:Z,elements:B,floatingStyles:$}),[u,H,Z,B,$])}const zf=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ts({element:r.current,padding:o}).fn(n):{}:r?ts({element:r,padding:o}).fn(n):{}}}},Uf=(e,t)=>{const n=Af(e);return{name:n.name,fn:n.fn,options:[e,t]}},Hf=(e,t)=>{const n=If(e);return{name:n.name,fn:n.fn,options:[e,t]}},Vf=(e,t)=>({fn:Mf(e).fn,options:[e,t]}),Wf=(e,t)=>{const n=Nf(e);return{name:n.name,fn:n.fn,options:[e,t]}},Gf=(e,t)=>{const n=jf(e);return{name:n.name,fn:n.fn,options:[e,t]}},qf=(e,t)=>{const n=Df(e);return{name:n.name,fn:n.fn,options:[e,t]}},Kf=(e,t)=>{const n=zf(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Yf=Object.defineProperty,Ye=(e,t)=>Yf(e,"name",{value:t,configurable:!0}),Gi="Popper",[qi,Ki]=Ge(Gi),[Xf,Yi]=qi(Gi),Jf=Ye(e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.useState(null),[s,i]=f.useState(void 0);return x.jsx(Xf,{scope:t,anchor:r,onAnchorChange:o,placementState:s,setPlacementState:i,children:n})},"Popper"),Zf="PopperAnchor",Qf=f.forwardRef(Ye(function(t,n){const{__scopePopper:r,virtualRef:o,...s}=t,i=Yi(Zf,r),a=f.useRef(null),l=i.onAnchorChange,c=f.useCallback(g=>{a.current=g,g&&l(g)},[l]),u=ie(n,c),d=f.useRef(null);f.useEffect(()=>{if(!o)return;const g=d.current;d.current=o.current,g!==d.current&&l(d.current)});const m=i.placementState&&Tn(i.placementState),b=m==null?void 0:m[0],h=m==null?void 0:m[1];return o?null:x.jsx(ae.div,{"data-radix-popper-side":b,"data-radix-popper-align":h,...s,ref:u})},"PopperAnchor")),Xi="PopperContent",[ep,qh]=qi(Xi),tp=f.forwardRef(Ye(function(t,n){var M,ce,oe,ee,re,xe,Oe;const{__scopePopper:r,side:o="bottom",sideOffset:s=0,align:i="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:h="optimized",onPlaced:g,...p}=t,v=Yi(Xi,r),[S,y]=f.useState(null),C=ie(n,y),[R,_]=f.useState(null),k=wn(R),P=(k==null?void 0:k.width)??0,O=(k==null?void 0:k.height)??0,U=o+(i!=="center"?"-"+i:""),W=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},j=Array.isArray(u)?u:[u],H=j.length>0,G={padding:W,boundary:j.filter(Ji),altBoundary:H},{refs:Z,floatingStyles:B,placement:$,isPositioned:q,middlewareData:Q}=$f({strategy:"fixed",placement:U,whileElementsMounted:Ye((...tt)=>Of(...tt,{animationFrame:h==="always"}),"whileElementsMounted"),elements:{reference:v.anchor},middleware:[Uf({mainAxis:s+O,alignmentAxis:a}),c&&Hf({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Vf():void 0,...G}),c&&Wf({...G}),Gf({...G,apply:Ye(({elements:tt,rects:gt,availableWidth:Ot,availableHeight:Da})=>{const{width:Ma,height:La}=gt.reference,Ht=tt.floating.style;Ht.setProperty("--radix-popper-available-width",`${Ot}px`),Ht.setProperty("--radix-popper-available-height",`${Da}px`),Ht.setProperty("--radix-popper-anchor-width",`${Ma}px`),Ht.setProperty("--radix-popper-anchor-height",`${La}px`)},"apply")}),R&&Kf({element:R,padding:l}),np({arrowWidth:P,arrowHeight:O}),b&&qf({strategy:"referenceHidden",...G,boundary:H?G.boundary:void 0})]}),A=v.setPlacementState;fe(()=>(A($),()=>{A(void 0)}),[$,A]);const[w,T]=Tn($),D=Pe(g);fe(()=>{q&&(D==null||D())},[q,D]);const L=(M=Q.arrow)==null?void 0:M.x,F=(ce=Q.arrow)==null?void 0:ce.y,V=((oe=Q.arrow)==null?void 0:oe.centerOffset)!==0,[J,z]=f.useState();return fe(()=>{S&&z(window.getComputedStyle(S).zIndex)},[S]),x.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:q?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:J,"--radix-popper-transform-origin":[(ee=Q.transformOrigin)==null?void 0:ee.x,(re=Q.transformOrigin)==null?void 0:re.y].join(" "),...((xe=Q.hide)==null?void 0:xe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:x.jsx(ep,{scope:r,placedSide:w,placedAlign:T,onArrowChange:_,arrowX:L,arrowY:F,shouldHideArrow:V,children:x.jsx(ae.div,{"data-side":w,"data-align":T,...p,ref:C,style:{...p.style,animation:q?(Oe=p.style)==null?void 0:Oe.animation:"none"}})})})},"PopperContent"));function Ji(e){return e!==null}Ye(Ji,"isNotNull");var np=Ye(e=>({name:"transformOrigin",options:e,fn(t){var p,v,S;const{placement:n,rects:r,middlewareData:o}=t,i=((p=o.arrow)==null?void 0:p.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,u]=Tn(n),d={start:"0%",center:"50%",end:"100%"}[u],m=(((v=o.arrow)==null?void 0:v.x)??0)+a/2,b=(((S=o.arrow)==null?void 0:S.y)??0)+l/2;let h="",g="";return c==="bottom"?(h=i?d:`${m}px`,g=`${-l}px`):c==="top"?(h=i?d:`${m}px`,g=`${r.floating.height+l}px`):c==="right"?(h=`${-l}px`,g=i?d:`${b}px`):c==="left"&&(h=`${r.floating.width+l}px`,g=i?d:`${b}px`),{data:{x:h,y:g}}}}),"transformOrigin");function Tn(e){const[t,n="center"]=e.split("-");return[t,n]}Ye(Tn,"getSideAndAlignFromPlacement");var rp=Jf,op=Qf,sp=tp,ip=Object.defineProperty,ap=(e,t)=>ip(e,"name",{value:t,configurable:!0}),cp=f.forwardRef(ap(function(t,n){var l;const{container:r,...o}=t,[s,i]=f.useState(!1);fe(()=>i(!0),[]);const a=r||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?Ft.createPortal(x.jsx(ae.div,{...o,ref:n}),a):null},"Portal")),lp=Object.defineProperty,up=(e,t)=>lp(e,"name",{value:t,configurable:!0});function Zi(e){const t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}up(Zi,"usePrevious");var dp=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),fp=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body}
vendor: 15,769 bytes, lines 85-125
85,bt=new WeakMap,Kt=new WeakMap,Yt={},Xn=0,Qi=function(e){return e&&(e.host||Qi(e.parentNode))},pp=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Qi(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mp=function(e,t,n,r){var o=pp(t,Array.isArray(e)?e:[e]);Yt[n]||(Yt[n]=new WeakMap);var s=Yt[n],i=[],a=new Set,l=new Set(o),c=function(d){!d||a.has(d)||(a.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(m){if(a.has(m))u(m);else try{var b=m.getAttribute(r),h=b!==null&&b!=="false",g=(bt.get(m)||0)+1,p=(s.get(m)||0)+1;bt.set(m,g),s.set(m,p),i.push(m),g===1&&h&&Kt.set(m,!0),p===1&&m.setAttribute(n,"true"),h||m.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",m,v)}})};return u(t),a.clear(),Xn++,function(){i.forEach(function(d){var m=bt.get(d)-1,b=s.get(d)-1;bt.set(d,m),s.set(d,b),m||(Kt.has(d)||d.removeAttribute(r),Kt.delete(d)),b||d.removeAttribute(n)}),Xn--,Xn||(bt=new WeakMap,bt=new WeakMap,Kt=new WeakMap,Yt={})}},hp=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=fp(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),mp(r,o,n,"aria-hidden")):function(){return null}},je=function(){return je=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},je.apply(this,arguments)};function ea(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Kh(e,t,n,r){function o(s){return s instanceof n?s:new n(function(i){i(s)})}return new(n||(n=Promise))(function(s,i){function a(u){try{c(r.next(u))}catch(d){i(d)}}function l(u){try{c(r.throw(u))}catch(d){i(d)}}function c(u){u.done?s(u.value):o(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function gp(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var on="right-scroll-bar-position",sn="width-before-scroll-bar",bp="with-scroll-bars-hidden",vp="--removed-body-scroll-bar-size";function Jn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function yp(e,t){var n=f.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var xp=typeof window<"u"?f.useLayoutEffect:f.useEffect,rs=new WeakMap;function wp(e,t){var n=yp(null,function(r){return e.forEach(function(o){return Jn(o,r)})});return xp(function(){var r=rs.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Jn(a,null)}),s.forEach(function(a){o.has(a)||Jn(a,i)})}rs.set(n,e)},[e]),n}function Sp(e){return e}function Cp(e,t){t===void 0&&(t=Sp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var u=i;i=[],u.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){i.push(u),c()},filter:function(u){return i=i.filter(u),n}}}};return o}function Rp(e){e===void 0&&(e={});var t=Cp(null);return t.options=je({async:!0,ssr:!1},e),t}var ta=function(e){var t=e.sideCar,n=ea(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,je({},n))};ta.isSideCarExport=!0;function Ep(e,t){return e.useMedium(t),ta}var na=Rp(),Zn=function(){},On=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:Zn,onWheelCapture:Zn,onTouchMoveCapture:Zn}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,m=e.sideCar,b=e.noRelative,h=e.noIsolation,g=e.inert,p=e.allowPinchZoom,v=e.as,S=v===void 0?"div":v,y=e.gapMode,C=ea(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=m,_=wp([n,t]),k=je(je({},C),o);return f.createElement(f.Fragment,null,u&&f.createElement(R,{sideCar:na,removeScrollBar:c,shards:d,noRelative:b,noIsolation:h,inert:g,setCallbacks:s,allowPinchZoom:!!p,lockRef:n,gapMode:y}),i?f.cloneElement(f.Children.only(a),je(je({},k),{ref:_})):f.createElement(S,je({},k,{className:l,ref:_}),a))});On.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};On.classNames={fullWidth:sn,zeroRight:on};var _p=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kp(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=_p();return t&&e.setAttribute("nonce",t),e}function Pp(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Tp(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Op=function(){var e=0,t=null;return{add:function(n){e==0&&(t=kp())&&(Pp(t,n),Tp(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ap=function(){var e=Op();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ra=function(){var e=Ap(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Ip={left:0,top:0,right:0,gap:0},Qn=function(e){return parseInt(e||"",10)||0},Np=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Qn(n),Qn(r),Qn(o)]},jp=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ip;var t=Np(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Dp=ra(),St="data-scroll-locked",Mp=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` 86 .`.concat(bp,` { 87 overflow: hidden `).concat(r,`; 88 padding-right: `).concat(a,"px ").concat(r,`; 89 } 90 body[`).concat(St,`] { 91 overflow: hidden `).concat(r,`; 92 overscroll-behavior: contain; 93 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 94 padding-left: `.concat(o,`px; 95 padding-top: `).concat(s,`px; 96 padding-right: `).concat(i,`px; 97 margin-left:0; 98 margin-top:0; 99 margin-right: `).concat(a,"px ").concat(r,`; 100 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),` 101 } 102 103 .`).concat(on,` { 104 right: `).concat(a,"px ").concat(r,`; 105 } 106 107 .`).concat(sn,` { 108 margin-right: `).concat(a,"px ").concat(r,`; 109 } 110 111 .`).concat(on," .").concat(on,` { 112 right: 0 `).concat(r,`; 113 } 114 115 .`).concat(sn," .").concat(sn,` { 116 margin-right: 0 `).concat(r,`; 117 } 118 119 body[`).concat(St,`] { 120 `).concat(vp,": ").concat(a,`px; 121 } 122`)},os=function(){var e=parseInt(document.body.getAttribute(St)||"0",10);return isFinite(e)?e:0},Lp=function(){f.useEffect(function(){return document.body.setAttribute(St,(os()+1).toString()),function(){var e=os()-1;e<=0?document.body.removeAttribute(St):document.body.setAttribute(St,e.toString())}},[])},Fp=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Lp();var s=f.useMemo(function(){return jp(o)},[o]);return f.createElement(Dp,{styles:Mp(s,!t,o,n?"":"!important")})},Sr=!1;if(typeof window<"u")try{var Xt=Object.defineProperty({},"passive",{get:function(){return Sr=!0,!0}});window.addEventListener("test",Xt,Xt),window.removeEventListener("test",Xt,Xt)}catch{Sr=!1}var vt=Sr?{passive:!1}:!1,Bp=function(e){return e.tagName==="TEXTAREA"},oa=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Bp(e)&&n[t]==="visible")},$p=function(e){return oa(e,"overflowY")},zp=function(e){return oa(e,"overflowX")},ss=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=sa(e,r);if(o){var s=ia(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Up=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Hp=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},sa=function(e,t){return e==="v"?$p(t):zp(t)},ia=function(e,t){return e==="v"?Up(t):Hp(t)},Vp=function(e,t){return e==="h"&&t==="rtl"?-1:1},Wp=function(e,t,n,r,o){var s=Vp(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),c=!1,u=i>0,d=0,m=0;do{if(!a)break;var b=ia(e,a),h=b[0],g=b[1],p=b[2],v=g-p-s*h;(h||v)&&sa(e,a)&&(d+=v,m+=h);var S=a.parentNode;a=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&Math.abs(d)<1||!u&&Math.abs(m)<1)&&(c=!0),c},Jt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},is=function(e){return[e.deltaX,e.deltaY]},as=function(e){return e&&"current"in e?e.current:e},Gp=function(e,t){return e[0]===t[0]&&e[1]===t[1]},qp=function(e){return` 123 .block-interactivity-`.concat(e,` {pointer-events: none;} 124 .allow-interactivity-`).concat(e,` {pointer-events: all;} 125`)},Kp=0,yt=[];function Yp(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(Kp++)[0],s=f.useState(ra)[0],i=f.useRef(e);f.useEffect(function(){i.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var g=gp([e.lockRef.current],(e.shards||[]).map(as),!0).filter(Boolean);return g.forEach(function(p){return p.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),g.forEach(function(p){return p.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=f.useCallback(function(g,p){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var v=Jt(g),S=n.current,y="deltaX"in g?g.deltaX:S[0]-v[0],C="deltaY"in g?g.deltaY:S[1]-v[1],R,_=g.target,k=Math.abs(y)>Math.abs(C)?"h":"v";if("touches"in g&&k==="h"&&_.type==="range")return!1;var P=window.getSelection(),O=P&&P.anchorNode,U=O?O===_||O.contains(_):!1;if(U)return!1;var W=ss(k,_);if(!W)return!0;if(W?R=k:(R=k==="v"?"h":"v",W=ss(k,_)),!W)return!1;if(!r.current&&"changedTouches"in g&&(y||C)&&(r.current=R),!R)return!0;var j=r.current||R;return Wp(j,p,g,j==="h"?y:C)},[]),l=f.useCallback(function(g){var p=g;if(!(!yt.length||yt[yt.length-1]!==s)){var v="deltaY"in p?is(p):Jt(p),S=t.current.filter(function(R){return R.name===p.type&&(R.target===p.target||p.target===R.shadowParent)&&Gp(R.delta,v)})[0];if(S&&S.should){p.cancelable&&p.preventDefault();return}if(!S){var y=(i.current.shards||[]).map(as).filter(Boolean).filter(function(R){return R.contains(p.target)}),C=y.length>0?a(p,y[0]):!i.current.noIsolation;C&&p.cancelable&&p.preventDefault()}}},[]),c=f.useCallback(function(g,p,v,S){var y={name:g,delta:p,target:v,should:S,shadowParent:Xp(v)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(C){return C!==y})},1)},[]),u=f.useCallback(function(g){n.current=Jt(g),r.current=void 0},[]),d=f.useCallback(function(g){c(g.type,is(g),g.target,a(g,e.lockRef.current))},[]),m=f.useCallback(function(g){c(g.type,Jt(g),g.target,a(g,e.lockRef.current))},[]);f.useEffect(function(){return yt.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",l,vt),document.addEventListener("touchmove",l,vt),document.addEventListener("touchstart",u,vt),function(){yt=yt.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,vt),document.removeEventListener("touchmove",l,vt),document.removeEventListener("touchstart",u,vt)}},[]);var b=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(s,{styles:qp(o)}):null,b?f.createElement(Fp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Xp(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Jp=Ep(na,Yp);var aa=f.forwardRef(function(e,t){return f.createElement(On,je({},e,{ref:t,sideCar:Jp}))});aa.classNames=On.classNames;var Zp=Object.defineProperty,ne=(e,t)=>Zp(e,"name",{value:t,configurable:!0}),Qp=[" ","Enter","ArrowUp","ArrowDown"],em=[" ","Enter"],Rt="Select",[An,In,tm]=Mr(Rt),[pt,Yh]=Ge(Rt,[tm,Ki]),Kr=Ki(),[nm,et]=pt(Rt),[rm,om]=pt(Rt);function ca(e){const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:c,name:u,autoComplete:d,disabled:m,required:b,form:h,internal_do_not_use_render:g}=e,p=Kr(t),[v,S]=f.useState(null),[y,C]=f.useState(null),[R,_]=f.useState(!1),k=Sn(c),[P,O]=Ct({prop:r,defaultProp:o??!1,onChange:s,caller:Rt}),[U,W]=Ct({prop:i,defaultProp:a,onChange:l,caller:Rt}),j=f.useRef(null),H=f.useRef(U);f.useEffect(()=>{const T=h?v==null?void 0:v.ownerDocument.getElementById(h):v==null?void 0:v.form;if(T instanceof HTMLFormElement){const D=ne(()=>W(H.current),"reset");return T.addEventListener("reset",D),()=>T.removeEventListener("reset",D)}},[h,v,W]);const G=v?!!h||!!v.closest("form"):!0,[Z,B]=f.useState(new Set),$=Cn(),q=Array.from(Z).map(T=>T.props.value).join(";"),Q=f.useCallback(T=>{B(D=>new Set(D).add(T))},[]),A=f.useCallback(T=>{B(D=>{const L=new Set(D);return L.delete(T),L})},[]),w={required:b,trigger:v,onTriggerChange:S,valueNode:y,onValueNodeChange:C,valueNodeHasChildren:R,onValueNodeHasChildrenChange:_,contentId:$,value:U,onValueChange:W,open:P,onOpenChange:O,dir:k,triggerPointerDownPosRef:j,disabled:m,name:u,autoComplete:d,form:h,nativeOptions:Z,nativeSelectKey:q,isFormControl:G};return x.jsx(rp,{...p,children:x.jsx(nm,{scope:t,...w,children:x.jsx(An.Provider,{scope:t,children:x.jsx(rm,{scope:t,onNativeOptionAdd:Q,onNativeOptionRemove:A,children:fa(g)?g(w):n})})})})}ne(ca,"SelectProvider");var sm=ne(e=>{const{__scopeSelect:t,children:n,...r}=e;return x.jsx(ca,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:o})=>x.jsxs(x.Fragment,{children:[n,o?x.jsx(Tm,{__scopeSelect:t}):null]})})},"Select"),im="SelectTrigger",am=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,disabled:o=!1,...s}=t,i=Kr(r),a=et(im,r),l=a.disabled||o,c=ie(n,a.onTriggerChange),u=In(r),d=f.useRef("touch"),[m,b,h]=Xr(p=>{const v=u().filter(C=>!C.disabled),S=v.find(C=>C.value===a.value),y=Jr(v,p,S);y!==void 0&&a.onValueChange(y.value)}),g=ne(p=>{l||(a.onOpenChange(!0),h()),p&&(a.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})},"handleOpen");return x.jsx(op,{asChild:!0,...i,children:x.jsx(ae.button,{type:"button",role:"combobox","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":Ut(a.value)?"":void 0,...s,ref:c,onClick:te(s.onClick,p=>
125{p.currentTarget.focus(),d.current!=="mouse"&&g(p)}),onPointerDown:te(s.onPointerDown,p=>{d.current=p.pointerType;const v=p.target;v.hasPointerCapture(p.pointerId)&&v.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(g(p),p.preventDefault())}),onKeyDown:te(s.onKeyDown,p=>{const v=m.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&b(p.key),!(v&&p.key===" ")&&Qp.includes(p.key)&&(g(),p.preventDefault())})})})},"SelectTrigger")),cm="SelectValue",lm=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,className:o,style:s,children:i,placeholder:a="",...l}=t,c=et(cm,r),{onValueNodeHasChildrenChange:u}=c,d=i!==void 0,m=ie(n,c.onValueNodeChange);fe(()=>{u(d)},[u,d]);const b=Ut(c.value);return x.jsx(ae.span,{...l,asChild:b?!1:l.asChild,ref:m,style:{pointerEvents:"none"},children:x.jsx(f.Fragment,{children:b?a:i},b?"placeholder":"value")})},"SelectValue")),um=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,children:o,...s}=t;return x.jsx(ae.span,{"aria-hidden":!0,...s,ref:n,children:o||"â¼"})},"SelectIcon")),dm="SelectPortal",[fm,pm]=pt(dm,{forceMount:void 0}),mm=ne(e=>{const{__scopeSelect:t,forceMount:n,...r}=e;return x.jsx(fm,{scope:e.__scopeSelect,forceMount:n,children:x.jsx(cp,{asChild:!0,...r})})},"SelectPortal"),ut="SelectContent",hm=f.forwardRef(ne(function(t,n){const r=pm(ut,t.__scopeSelect),{forceMount:o=r.forceMount,...s}=t,i=et(ut,t.__scopeSelect),[a,l]=f.useState();return fe(()=>{l(new DocumentFragment)},[]),x.jsx(Or,{present:o||i.open,children:({present:c})=>c?x.jsx(vm,{...s,ref:n}):x.jsx(gm,{...s,fragment:a})})},"SelectContent")),gm=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,children:o,fragment:s}=t;return s?Ft.createPortal(x.jsx(la,{scope:r,children:x.jsx(An.Slot,{scope:r,children:x.jsx("div",{ref:n,children:o})})}),s):null},"SelectContentFragment")),ke=10,[la,mt]=pt(ut),bm=at("SelectContent.RemoveScroll"),vm=f.forwardRef(ne(function(t,n){const{__scopeSelect:r}=t,{position:o="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:i,onPointerDownOutside:a,side:l,sideOffset:c,align:u,alignOffset:d,arrowPadding:m,collisionBoundary:b,collisionPadding:h,sticky:g,hideWhenDetached:p,avoidCollisions:v,...S}=t,y=et(ut,r),[C,R]=f.useState(null),[_,k]=f.useState(null),P=ie(n,R),[O,U]=f.useState(null),[W,j]=f.useState(null),H=In(r),[G,Z]=f.useState(!1),B=f.useRef(!1);f.useEffect(()=>{if(C)return hp(C)},[C]),$r();const $=f.useCallback(z=>{const[M,...ce]=H().map(re=>re.ref.current),[oe]=ce.slice(-1),ee=document.activeElement;for(const re of z)if(re===ee||(re==null||re.scrollIntoView({block:"nearest"}),re===M&&_&&(_.scrollTop=0),re===oe&&_&&(_.scrollTop=_.scrollHeight),re==null||re.focus(),document.activeElement!==ee))return},[H,_]),q=f.useCallback(()=>$([O,C]),[$,O,C]);f.useEffect(()=>{G&&q()},[G,q]);const{onOpenChange:Q,triggerPointerDownPosRef:A}=y;f.useEffect(()=>{if(C){let z={x:0,y:0};const M=ne(oe=>{var ee,re;z={x:Math.abs(Math.round(oe.pageX)-(((ee=A.current)==null?void 0:ee.x)??0)),y:Math.abs(Math.round(oe.pageY)-(((re=A.current)==null?void 0:re.y)??0))}},"handlePointerMove"),ce=ne(oe=>{z.x<=10&&z.y<=10?oe.preventDefault():oe.composedPath().includes(C)||Q(!1),document.removeEventListener("pointermove",M),A.current=null},"handlePointerUp");return A.current!==null&&(document.addEventListener("pointermove",M),document.addEventListener("pointerup",ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",ce,{capture:!0})}}},[C,Q,A]),f.useEffect(()=>{const z=ne(()=>Q(!1),"close");return window.addEventListener("blur",z),window.addEventListener("resize",z),()=>{window.removeEventListener("blur",z),window.removeEventListener("resize",z)}},[Q]);const[w,T]=Xr(z=>{const M=H().filter(ee=>!ee.disabled),ce=M.find(ee=>ee.ref.current===document.activeElement),oe=Jr(M,z,ce);oe&&setTimeout(()=>{var ee;return(ee=oe.ref.current)==null?void 0:ee.focus()})}),D=f.useCallback((z,M,ce)=>{const oe=!B.current&&!ce;(y.value!==void 0&&y.value===M||oe)&&(U(z),oe&&(B.current=!0))},[y.value]),L=f.useCallback(()=>C==null?void 0:C.focus(),[C]),F=f.useCallback((z,M,ce)=>{const oe=!B.current&&!ce;(y.value!==void 0&&y.value===M||oe)&&j(z)},[y.value]),V=o==="popper"?cs:ym,J=V===cs?{side:l,sideOffset:c,align:u,alignOffset:d,arrowPadding:m,collisionBoundary:b,collisionPadding:h,sticky:g,hideWhenDetached:p,avoidCollisions:v}:{};return x.jsx(la,{scope:r,content:C,viewport:_,onViewportChange:k,itemRefCallback:D,selectedItem:O,onItemLeave:L,itemTextRefCallback:F,focusSelectedItem:q,selectedItemText:W,position:o,isPositioned:G,
vendor: 5,010 bytes, line 125
125searchRef:w,children:x.jsx(aa,{as:bm,allowPinchZoom:!0,children:x.jsx(Fd,{asChild:!0,trapped:y.open,onMountAutoFocus:z=>{z.preventDefault()},onUnmountAutoFocus:te(s,z=>{var M;(M=y.trigger)==null||M.focus({preventScroll:!0}),z.preventDefault()}),children:x.jsx(Id,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:z=>z.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:x.jsx(V,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:z=>z.preventDefault(),...S,...J,onPlaced:()=>Z(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:te(S.onKeyDown,z=>{const M=z.ctrlKey||z.altKey||z.metaKey;if(z.key==="Tab"&&z.preventDefault(),!M&&z.key.length===1&&T(z.key),["ArrowUp","ArrowDown","Home","End"].includes(z.key)){let oe=H().filter(ee=>!ee.disabled).map(ee=>ee.ref.current);if(["ArrowUp","End"].includes(z.key)&&(oe=oe.slice().reverse()),["ArrowUp","ArrowDown"].includes(z.key)){const ee=z.target,re=oe.indexOf(ee);oe=oe.slice(re+1)}setTimeout(()=>$(oe)),z.preventDefault()}})})})})})})},"SelectContentImpl")),ym=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,onPlaced:o,...s}=t,i=et(ut,r),a=mt(ut,r),[l,c]=f.useState(null),[u,d]=f.useState(null),m=ie(n,d),b=In(r),h=f.useRef(!1),g=f.useRef(!0),{viewport:p,selectedItem:v,selectedItemText:S,focusSelectedItem:y}=a,C=f.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&u&&p&&v&&S){const P=i.trigger.getBoundingClientRect(),O=u.getBoundingClientRect(),U=i.valueNode.getBoundingClientRect(),W=S.getBoundingClientRect();if(i.dir!=="rtl"){const ee=W.left-O.left,re=U.left-ee,xe=P.left-re,Oe=P.width+xe,tt=Math.max(Oe,O.width),gt=window.innerWidth-ke,Ot=pr(re,[ke,Math.max(ke,gt-tt)]);l.style.minWidth=Oe+"px",l.style.left=Ot+"px"}else{const ee=O.right-W.right,re=window.innerWidth-U.right-ee,xe=window.innerWidth-P.right-re,Oe=P.width+xe,tt=Math.max(Oe,O.width),gt=window.innerWidth-ke,Ot=pr(re,[ke,Math.max(ke,gt-tt)]);l.style.minWidth=Oe+"px",l.style.right=Ot+"px"}const j=b(),H=window.innerHeight-ke*2,G=p.scrollHeight,Z=window.getComputedStyle(u),B=parseInt(Z.borderTopWidth,10),$=parseInt(Z.paddingTop,10),q=parseInt(Z.borderBottomWidth,10),Q=parseInt(Z.paddingBottom,10),A=B+$+G+Q+q,w=Math.min(v.offsetHeight*5,A),T=window.getComputedStyle(p),D=parseInt(T.paddingTop,10),L=parseInt(T.paddingBottom,10),F=P.top+P.height/2-ke,V=H-F,J=v.offsetHeight/2,z=v.offsetTop+J,M=B+$+z,ce=A-M;if(M<=F){const ee=j.length>0&&v===j[j.length-1].ref.current;l.style.bottom="0px";const re=u.clientHeight-p.offsetTop-p.offsetHeight,xe=Math.max(V,J+(ee?L:0)+re+q),Oe=M+xe;l.style.height=Oe+"px"}else{const ee=j.length>0&&v===j[0].ref.current;l.style.top="0px";const xe=Math.max(F,B+p.offsetTop+(ee?D:0)+J)+ce;l.style.height=xe+"px",p.scrollTop=M-F+p.offsetTop}l.style.margin=`${ke}px 0`,l.style.minHeight=w+"px",l.style.maxHeight=H+"px",o==null||o(),requestAnimationFrame(()=>h.current=!0)}},[b,i.trigger,i.valueNode,l,u,p,v,S,i.dir,o]);fe(()=>C(),[C]);const[R,_]=f.useState();fe(()=>{u&&_(window.getComputedStyle(u).zIndex)},[u]);const k=f.useCallback(P=>{P&&g.current===!0&&(C(),y==null||y(),g.current=!1)},[C,y]);return x.jsx(xm,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:h,onScrollButtonChange:k,children:x.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:x.jsx(ae.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),cs=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,align:o="start",collisionPadding:s=ke,...i}=t,a=Kr(r);return x.jsx(sp,{...a,...i,ref:n,align:o,collisionPadding:s,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[xm,Yr]=pt(ut,{}),ls="SelectViewport",wm=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,nonce:o,...s}=t,i=mt(ls,r),a=Yr(ls,r),l=ie(n,i.onViewportChange),c=f.useRef(0);return x.jsxs(x.Fragment,{children:[x.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),x.jsx(An.Slot,{scope:r,children:x.jsx(ae.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:te(s.onScroll,u=>{const d=u.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:b}=a;if(b!=null&&b.current&&m){const h=Math.abs(c.current-d.scrollTop);if(h>0){const g=window.innerHeight-ke*2,p=parseFloat(m.style.minHeight),v=parseFloat(m.style.height),S=Math.max(p,v);
125if(S<g){const y=S+h,C=Math.min(g,y),R=y-C;m.style.height=C+"px",m.style.bottom==="0px"&&(d.scrollTop=R>0?R:0,m.style.justifyContent="flex-end")}}}c.current=d.scrollTop})})})]})},"SelectViewport")),Sm="SelectGroup",[Xh,Jh]=pt(Sm),Cr="SelectItem",[Cm,ua]=pt(Cr),Rm=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,value:o,disabled:s=!1,textValue:i,...a}=t,l=et(Cr,r),c=mt(Cr,r),u=l.value===o,[d,m]=f.useState(i??""),[b,h]=f.useState(!1),g=Pe(C=>{var R;return(R=c.itemRefCallback)==null?void 0:R.call(c,C,o,s)}),p=ie(n,g),v=Cn(),S=f.useRef("touch"),y=ne(()=>{s||(l.onValueChange(o),l.onOpenChange(!1))},"handleSelect");return x.jsx(Cm,{scope:r,value:o,disabled:s,textId:v,isSelected:u,onItemTextChange:f.useCallback(C=>{m(R=>R||((C==null?void 0:C.textContent)??"").trim())},[]),children:x.jsx(An.ItemSlot,{scope:r,value:o,disabled:s,textValue:d,children:x.jsx(ae.div,{role:"option","aria-labelledby":v,"data-highlighted":b?"":void 0,"aria-selected":u&&b,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...a,ref:p,onFocus:te(a.onFocus,()=>h(!0)),onBlur:te(a.onBlur,()=>h(!1)),onClick:te(a.onClick,()=>{S.current!=="mouse"&&y()}),onPointerUp:te(a.onPointerUp,()=>{S.current==="mouse"&&y()}),onPointerDown:te(a.onPointerDown,C=>{S.current=C.pointerType}),onPointerMove:te(a.onPointerMove,C=>{var R;S.current=C.pointerType,s?(R=c.onItemLeave)==null||R.call(c):S.current==="mouse"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:te(a.onPointerLeave,C=>{var R;C.currentTarget===document.activeElement&&((R=c.onItemLeave)==null||R.call(c))}),onKeyDown:te(a.onKeyDown,C=>{var _;s||C.target!==C.currentTarget||((_=c.searchRef)==null?void 0:_.current)!==""&&C.key===" "||(em.includes(C.key)&&y(),C.key===" "&&C.preventDefault())})})})})},"SelectItem")),Zt="SelectItemText",us=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,className:o,style:s,...i}=t,a=et(Zt,r),l=mt(Zt,r),c=ua(Zt,r),u=om(Zt,r),[d,m]=f.useState(null),b=Pe(y=>{var C;return(C=l.itemTextRefCallback)==null?void 0:C.call(l,y,c.value,c.disabled)}),h=ie(n,m,c.onItemTextChange,b),g=d==null?void 0:d.textContent,p=f.useMemo(()=>x.jsx("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:v,onNativeOptionRemove:S}=u;return fe(()=>(v(p),()=>S(p)),[v,S,p]),x.jsxs(x.Fragment,{children:[x.jsx(ae.span,{id:c.textId,...i,ref:h}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren&&!Ut(a.value)?Ft.createPortal(i.children,a.valueNode):null]})},"SelectItemText")),Em="SelectItemIndicator",ds=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,...o}=t;return ua(Em,r).isSelected?x.jsx(ae.span,{"aria-hidden":!0,...o,ref:n}):null},"SelectItemIndicator")),fs="SelectScrollUpButton",_m=f.forwardRef(ne(function(t,n){const r=mt(fs,t.__scopeSelect),o=Yr(fs,t.__scopeSelect),[s,i]=f.useState(!1),a=ie(n,o.onScrollButtonChange);return fe(()=>{if(r.viewport&&r.isPositioned){let l=function(){const u=c.scrollTop>0;i(u)};ne(l,"handleScroll");const c=r.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),s?x.jsx(da,{...t,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=r;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null},"SelectScrollUpButton")),ps="SelectScrollDownButton",km=f.forwardRef(ne(function(t,n){const r=mt(ps,t.__scopeSelect),o=Yr(ps,t.__scopeSelect),[s,i]=f.useState(!1),a=ie(n,o.onScrollButtonChange);return fe(()=>{if(r.viewport&&r.isPositioned){let l=function(){const u=c.scrollHeight-c.clientHeight,d=Math.ceil(c.scrollTop)<u;i(d)};ne(l,"handleScroll");const c=r.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),s?x.jsx(da,{...t,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=r;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null},"SelectScrollDownButton")),da=f.forwardRef(ne(function(t,n){const{__scopeSelect:r,onAutoScroll:o,...s}=t,i=mt("SelectScrollButton",r),a=f.useRef(null),l=In(r),c=f.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return f.useEffect(()=>()=>c(),[c]),fe(()=>{var d;const u=l().find(m=>m.ref.current===document.activeElement);(d=u==null?void 0:u.ref.current)==null||d.scrollIntoView({block:"nearest"})},[l]),x.jsx(ae.div,{"aria-hidden":!0,...s,ref:n,style:{flexShrink:0,...s.style},onPointerDown:te(s.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(o,50))}),onPointerMove:te(s.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),a.current===null&&(a.current=window.setInterval(o,50))}),onPointerLeave:te(s.onPointerLeave,()=>{c()})})},"SelectScrollButtonImpl")),Pm="SelectBubbleInput",Tm=f.forwardRef(ne(function({__scopeSelect:t,...n},r){const o=et(Pm,t),{value:s,onValueChange:i,required:a,disabled:l,name:c,autoComplete:u,form:d}=o,{nativeOptions:m,nativeSelectKey:b}=o,h=f.useRef(null),g=ie(r,h),p=s??"",v=Zi(p),S=Array.from(m).some(y=>(y.props.value??"")==="");return f.useEffect(()=>{const y=h.current;if(!y)return;const C=window.HTMLSelectElement.prototype,_=Object.getOwnPropertyDescriptor(C,"value").set;if(v!==p&&_){const k=new Event("change",{bubbles:!0});_.call(y,p),y.dispatchEvent(k)}},[v,p]),x.jsxs(ae.select,{"aria-hidden":!0,required:a,tabIndex:-1,name:c,autoComplete:u,disabled:l,form:d,onChange:y=>i(y.target.value),...n,style:{...dp,...n.style},ref:g,defaultValue:p,children:[Ut(s)&&!S?x.jsx("option",{value:""}):null,Array.from(m)]},b)},"SelectBubbleInput"));function fa(e){return typeof e=="function"}ne(fa,"isFunction");function Ut(e){return e===""||e===void 0}ne(Ut,"shouldShowPlaceholder");function Xr(e){const t=Pe(e),n=f.useRef(""),r=f.useRef(0),o=f.useCallback(i=>{const a=n.current+i;t(a),ne((function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}),"updateSearch")(a)},[t]),s=f.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}ne(Xr,"useTypeaheadSearch");function Jr(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=pa(e,Math.max(s,0));o.length===1&&(i=i.filter(c=>c!==n));const l=i.find(c=>c.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}ne(Jr,"findNextItem");function pa(e,t){return e.map((n,r)=>e[(t+r)%e.length])}ne(pa,"wrapArray");
125function Om(e="sm"){return e==="md"?se("inline-flex h-8 min-w-0 items-center justify-start gap-1.5 rounded-md px-2.5 text-[13px] font-medium leading-none text-foreground","border-x-[0.5px] border-t-[0.5px] border-b border-input border-b-black/20 bg-accent shadow-[0_1px_2px_rgba(0,0,0,0.06)]","transition-[color,background-color,box-shadow] duration-150 hover:bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","disabled:cursor-not-allowed disabled:opacity-50","dark:border-b-white/10 dark:shadow-[0_1px_2px_rgba(0,0,0,0.2)]"):se("inline-flex h-7 w-auto! min-w-0 items-center justify-start gap-1.5! rounded-md! px-2! py-0! text-[13px]! font-medium! leading-none! text-foreground","border-x-[0.5px] border-t-[0.5px] border-b border-input border-b-black/20 bg-accent shadow-[0_1px_2px_rgba(0,0,0,0.06)]","transition-[color,background-color] duration-150 hover:bg-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","disabled:cursor-not-allowed disabled:opacity-50","dark:border-b-white/10 dark:shadow-[0_1px_2px_rgba(0,0,0,0.2)]")}const Rr={selectContent:"macro-picker-surface overflow-hidden rounded-xl border-0 bg-white text-foreground shadow-md dark:bg-[#161616]",selectViewport:"p-1",selectItem:"group relative flex w-full cursor-pointer items-center gap-2 rounded-lg px-2 py-1.5 pr-2 text-[13px] font-medium outline-hidden select-none transition-colors duration-150 focus:bg-black/[0.04] focus:text-foreground data-[state=checked]:bg-black/[0.04] data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-white/[0.06] dark:data-[state=checked]:bg-white/[0.06]"},Zr=f.createContext(null),ma=f.createContext("default");function Zh({children:e,...t}){const n=f.useRef(!1);return x.jsx(Zr.Provider,{value:n,children:x.jsx(sm,{"data-slot":"select",...t,children:e})})}function Qh({...e}){const t=f.useContext(Zr);return t&&(t.current=!0),x.jsx(lm,{"data-slot":"select-value",...e})}function eg({className:e,size:t="default",variant:n="default",children:r,onPointerDown:o,onKeyDown:s,onBlur:i,...a}){const[l,c]=f.useState(!1),u=n==="new-selector",d=t==="sm"?"sm":"md";return x.jsxs(am,{"data-slot":"select-trigger","data-size":t,"data-variant":n,onPointerDown:m=>{c(!0),o==null||o(m)},onKeyDown:m=>{c(!1),s==null||s(m)},onBlur:m=>{c(!1),i==null||i(m)},className:se(u?se(Om(d),"w-full max-w-none [&_svg]:pointer-events-none [&_svg]:shrink-0"):se("flex w-full items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",l?"focus-visible:ring-0":"focus-visible:ring-1 focus-visible:ring-ring"),e),...a,children:[r,x.jsx(um,{asChild:!0,children:x.jsx(ri,{className:se(u?"size-3 opacity-70":"size-4 opacity-50")})})]})}function tg({className:e,children:t,position:n,align:r="center",style:o,container:s,variant:i="default",...a}){const l=f.useContext(Zr),c=n??(l!=null&&l.current?"item-aligned":"popper"),u=i==="new-dropdown";return x.jsx(ma.Provider,{value:i,children:x.jsx(mm,{container:s,children:x.jsxs(hm,{"data-slot":"select-content","data-variant":i,className:se("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto",u?Rr.selectContent:"rounded-md border bg-popover text-popover-foreground shadow-md",c==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:c,align:r,style:{zIndex:150,...o},...a,children:[x.jsx(Am,{}),x.jsx(wm,{className:se(u?Rr.selectViewport:"p-1",c==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),x.jsx(Im,{})]})})})}function ng({className:e,children:t,...n}){const o=f.useContext(ma)==="new-dropdown";return x.jsx(Rm,{"data-slot":"select-item",className:se(o?Rr.selectItem:"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:o?x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"min-w-0 flex-1 truncate",children:x.jsx(us,{children:t})}),x.jsx("span",{"data-slot":"select-item-indicator",className:"flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-transparent group-data-[state=checked]:border-primary group-data-[state=checked]:bg-primary group-data-[state=checked]:text-primary-foreground","aria-hidden":!0,
vendor: 2,407 bytes, line 125
125children:x.jsx(ds,{children:x.jsx(dr,{className:"size-3 stroke-[2.25]"})})})]}):x.jsxs(x.Fragment,{children:[x.jsx("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:x.jsx(ds,{children:x.jsx(dr,{className:"size-4"})})}),x.jsx(us,{children:t})]})})}function Am({className:e,...t}){return x.jsx(_m,{"data-slot":"select-scroll-up-button",className:se("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(pu,{className:"size-4"})})}function Im({className:e,...t}){return x.jsx(km,{"data-slot":"select-scroll-down-button",className:se("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(ri,{className:"size-4"})})}function Nm({className:e,...t}){return x.jsxs("svg",{className:se("h-4 w-4 animate-spin",e),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:[x.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),x.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}const jm=wi("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 focus:outline-none focus:ring-0 cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive border border-destructive/50 text-destructive-foreground hover:bg-destructive/90 hover:border-destructive/70",primary_secondary:"bg-primary/10 border border-primary/30 text-primary hover:bg-primary/20",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground","outline-primary":"border border-primary/50 text-primary bg-background hover:bg-primary hover:text-primary-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline focus:outline-none focus:ring-0",tag:"bg-transparent border border-border text-muted-foreground hover:text-foreground hover:border-foreground
125/20 transition-all",purple:"bg-[#5b35da] text-white hover:bg-[#5b35da]/90"},size:{default:"h-8 px-3 py-1",sm:"h-7 rounded-lg px-3 text-xs",lg:"h-10 rounded-lg px-8",icon:"h-7 w-7 min-w-7","icon-sm":"h-6 w-6 min-w-6","icon-lg":"size-10",tag:"h-7 rounded-full px-3 py-1 text-xs",card:"h-auto"}},defaultVariants:{variant:"default",size:"default"}}),ha=f.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,active:o=!1,loading:s=!1,withPressAnimation:i=!1,...a},l)=>{const c=r?zl:"button";return x.jsx(c,{className:se(jm({variant:t,size:n,className:e}),o&&"border-foreground text-foreground bg-foreground/5",s&&"opacity-50 pointer-events-none",i&&"transition-all duration-200 hover:translate-y-[1px] hover:scale-[0.98] active:translate-y-[2px] active:scale-[0.97] [box-shadow:0px_1.2px_6.3px_rgba(58,_33,_8,_0.58)] hover:[box-shadow:0px_1px_3px_rgba(58,_33,_8,_0.4)] active:[box-shadow:0px_1px_2px_rgba(58,_33,_8,_0.3)] disabled:shadow-none disabled:hover:translate-y-0 disabled:hover:scale-100"),disabled:a.disabled||s,ref:l,...a,children:s?x.jsxs(x.Fragment,{children:[x.jsx(Nm,{className:se(n!=="icon"&&"-ml-1 mr-1")}),n==="icon"?null:a.children]}):a.children})});ha.displayName="Button";/** 126 * @license lucide-react v0.469.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Dm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ga=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 131 * @license lucide-react v0.469.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */var Mm={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"};/** 136 * @license lucide-react v0.469.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Lm=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>f.createElement("svg",{ref:l,...Mm,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ga("lucide",o),...a},[...i.map(([c,u])=>f.createElement(c,u)),...Array.isArray(s)?s:[s]]));/** 141 * @license lucide-react v0.469.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const Qr=(e,t)=>{const n=f.forwardRef(({className:r,...o},s)=>f.createElement(Lm,{ref:s,iconNode:t,className:ga(`lucide-${Dm(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 146 * @license lucide-react v0.469.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Fm=Qr("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/** 151 * @license lucide-react v0.469.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const ms=Qr("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 156 * @license lucide-react v0.469.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const Bm=Qr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),mn=(e,t=2,n)=>{const o=t<0?0:t,s=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];if(e===0||e===void 0)return n!==void 0?`0 ${n}`:"0 bytes";const i=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,i)).toFixed(o))+" "+s[i]},he=(e,t,n)=>(t==null?void 0:t[e])??n??"",eo=(e,t)=>e.replace(/\{(\w+)\}/g,(n,r)=>{var o;return((o=t[r])==null?void 0:o.toString())??`{${r}}`}),$m=(e,t,n,r)=>se("border border-border rounded-lg p-6 text-center bg-card transition-colors duration-300 text-foreground",e?"border-solid":"border-dashed",t&&!r?"border-primary bg-primary/10":"",n?"border-destructive bg-destructive/10":"",r?"cursor-not-allowed":""),zm=(e,t,n
160)=>e.errors.map(r=>{if(r.message.startsWith("File is larger than")){const o=he("fileIsLargerThan",n,"File is larger than {maxSize} (Size: {fileSize})");return eo(o,{maxSize:mn(t,2),fileSize:mn(e.size,2)})}return r.message}).join(", "),ba=f.createContext(void 0),to=()=>{const e=f.useContext(ba);if(!e)throw new Error("useDropzoneContext must be used within a Dropzone");return e},Um=({file:e,index:t,maxFileSize:n,loading:r,successes:o,errors:s,onRemove:i,translations:a})=>{const l=s.find(h=>h.name===e.name),c=o.includes(e.name),u=e.errors.length>0,d=()=>e.type.startsWith("image/")&&e.preview?x.jsx("div",{className:"h-10 w-10 rounded border overflow-hidden shrink-0 bg-muted flex items-center justify-center",children:x.jsx("img",{src:e.preview,alt:e.name,className:"object-cover"})}):x.jsx("div",{className:"h-10 w-10 rounded border bg-muted flex items-center justify-center",children:x.jsx(Fm,{size:18})}),m=()=>{if(u)return x.jsx("p",{className:"text-xs text-destructive",children:zm(e,n,a)});if(r&&!c)return x.jsx("p",{className:"text-xs text-muted-foreground",children:he("uploadingFile",a,"Uploading file...")});if(l){const g=he("failedToUpload",a,"Failed to upload:");return x.jsxs("p",{className:"text-xs text-destructive",children:[g," ",l.message]})}if(c)return x.jsx("p",{className:"text-xs text-primary",children:he("successfullyUploadedFile",a,"Successfully uploaded file")});if(e.size>0)return x.jsx("p",{className:"text-xs text-muted-foreground",children:mn(e.size,2)});const h=e.type.startsWith("image/")?he("image",a,"Image"):he("file",a,"File");return x.jsx("p",{className:"text-xs text-muted-foreground",children:h})},b=eo(he("removeFile",a,"Remove {fileName}"),{fileName:e.name});return x.jsxs("div",{className:"flex items-center gap-x-4 border-b py-2 first:mt-4 last:mb-4",children:[d(),x.jsxs("div",{className:"shrink grow flex flex-col items-start truncate",children:[x.jsx("p",{title:e.name,className:"text-sm truncate max-w-full",children:e.name}),m()]}),!r&&x.jsx(ha,{size:"icon",variant:"link",className:"shrink-0 justify-self-end text-muted-foreground hover:text-foreground",onClick:()=>i(e.name),"aria-label":b,children:x.jsx(Bm,{})})]},`${e.name}-${t}`)},rg=({className:e})=>{const{files:t,setFiles:n,loading:r,successes:o,errors:s,maxFileSize:i,onRemoveFile:a,translations:l}=to(),c=f.useCallback(u=>{a==null||a(u),n(t.filter(d=>d.name!==u))},[t,n,a]);return t.length===0?null:x.jsx("div",{className:se("flex flex-col",e),children:t.map((u,d)=>x.jsx(Um,{file:u,index:d,maxFileSize:i,loading:r,successes:o,errors:s,onRemove:c,translations:l},`${u.name}-${d}`))})},og=({className:e})=>{const{maxFiles:t,maxFileSize:n,open:r,files:o,translations:s}=to(),i=o.length>=t,a=()=>{i||r()};if(i)return x.jsxs("div",{className:se("flex flex-col items-center gap-y-2 opacity-60 pointer-events-none",e),children:[x.jsx(ms,{size:20,className:"text-muted-foreground"}),x.jsx("p",{className:"text-sm font-medium",children:he("maximumFilesReached",s,"Maximum files reached")}),x.jsx("p",{className:"text-xs text-muted-foreground",children:t===1?he("removeFileToUploadAnother",s,"Remove the file to upload another one"):he("removeFileToUploadMore",s,"Remove a file to upload more")})]});const l=t&&t>1?eo(he("uploadUpTo",s,"Upload up to {count} file(s)"),{count:t.toString()}):he("uploadFile",s,"Upload file"),c=t===1?he("selectFile",s,"select file"):he("selectFiles",s,"select files"),u=he("dragAndDropOr",s,"Drag and drop or"),d=he("toUpload",s,"to upload"),m=he("maximumFileSize",s,"Maximum file size:");return x.jsxs("div",{className:se("flex flex-col items-center gap-y-2",e),children:[x.jsx(ms,{size:20,className:"text-muted-foreground"}),x.jsx("p",{className:"text-sm",children:l}),x.jsxs("div",{className:"flex flex-col items-center gap-y-1",children:[x.jsxs("p",{className:"text-xs text-muted-foreground",children:[u," ",x.jsx("button",{type:"button",onClick:a,className:"underline cursor-pointer transition hover:text-foreground",children:c})," ",d]}),n!==Number.POSITIVE_INFINITY&&x.jsxs("p",{className:"text-xs text-muted-foreground",children:[m," ",mn(n,2)]})]})]})},Hm=()=>{const{errors:e}=to(),t=e.filter(n=>n.name==="max-files-error");return t.length===0?null:x.jsx("div",{className:"mt-2",children:t.map((n,r)=>x.jsx("p",{className:"text-sm text-destructive",children:n.message},r))})},sg=({className:e,children:t,getRootProps:n,getInputProps:r,onRemoveFile:o,translations:s,...i})=>{const{isSuccess:a,isDragActive:l,isDragReject:c,errors:u,files:d,maxFiles:m,open:b}=i,h=l,g=l&&c||u.length>0&&!a||d.some(v=>v.errors.length!==0),p=d.length>=m;return x.jsx(ba.Provider,{value:{...i,onRemoveFile:o,translations:s},children:x.jsxs("div",{children:[x.jsxs("div",{...n({className:se($m(a,h,g,p),e),onClick:v=>{!p&&!v.target.closest("button")&&b()}}),children:[x.jsx("input",{...r()}),t]}),x.jsx(Hm,{})]})})};var Vm=Object.defineProperty,no=(e,t)=>Vm(e,"name",{value:t,configurable:!0}),er=!1;function va(){const[e,t]=f.useState(er);return f.useEffect(()=>{er||(er=!0,t(!0))},[]),e}no(va,"useIsHydrated");var ya=Lt[" useSyncExternalStore ".trim().toString()];function xa(){return()=>{}}no(xa,"subscribe");function wa(){return ya(xa,()=>!0,()=>!1)}no(wa,"useIsHydratedModern");var Wm=typeof ya=="function"?wa:va,Gm=Object.defineProperty,ht=(e,t)=>
160Gm(e,"name",{value:t,configurable:!0}),tr="rovingFocusGroup.onEntryFocus",qm={bubbles:!1,cancelable:!0},Nn="RovingFocusGroup",[Er,Sa,Km]=Mr(Nn),[Ym,Ca]=Ge(Nn,[Km]),[Xm,Jm]=Ym(Nn),Zm=f.forwardRef(ht(function(t,n){return x.jsx(Er.Provider,{scope:t.__scopeRovingFocusGroup,children:x.jsx(Er.Slot,{scope:t.__scopeRovingFocusGroup,children:x.jsx(Qm,{...t,ref:n})})})},"RovingFocusGroup")),Qm=f.forwardRef(ht(function(t,n){const{__scopeRovingFocusGroup:r,orientation:o,loop:s=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...m}=t,b=f.useRef(null),h=ie(n,b),g=Sn(i),[p,v]=Ct({prop:a,defaultProp:l??null,onChange:c,caller:Nn}),[S,y]=f.useState(!1),C=Pe(u),R=Sa(r),_=f.useRef(!1),[k,P]=f.useState(0);return f.useEffect(()=>{const O=b.current;if(O)return O.addEventListener(tr,C),()=>O.removeEventListener(tr,C)},[C]),x.jsx(Xm,{scope:r,orientation:o,dir:g,loop:s,currentTabStopId:p,onItemFocus:f.useCallback(O=>v(O),[v]),onItemShiftTab:f.useCallback(()=>y(!0),[]),onFocusableItemAdd:f.useCallback(()=>P(O=>O+1),[]),onFocusableItemRemove:f.useCallback(()=>P(O=>O-1),[]),children:x.jsx(ae.div,{tabIndex:S||k===0?-1:0,"data-orientation":o,...m,ref:h,style:{outline:"none",...t.style},onMouseDown:te(t.onMouseDown,()=>{_.current=!0}),onFocus:te(t.onFocus,O=>{const U=!_.current;if(O.target===O.currentTarget&&U&&!S){const W=new CustomEvent(tr,qm);if(O.currentTarget.dispatchEvent(W),!W.defaultPrevented){const j=R().filter($=>$.focusable),H=j.find($=>$.active),G=j.find($=>$.id===p),B=[H,G,...j].filter(Boolean).map($=>$.ref.current);ro(B,d)}}_.current=!1}),onBlur:te(t.onBlur,()=>y(!1))})})},"RovingFocusGroupImpl")),eh="RovingFocusGroupItem",th=f.forwardRef(ht(function(t,n){const{__scopeRovingFocusGroup:r,focusable:o=!0,active:s=!1,tabStopId:i,children:a,...l}=t,c=Cn(),u=i||c,d=Jm(eh,r),m=d.currentTabStopId===u,b=Sa(r),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:p}=d,v=Wm();return fe(()=>{if(!(!v||!o))return h(),()=>g()},[v,o,h,g]),f.useEffect(()=>{if(!(v||!o))return h(),()=>g()},[v,o,h,g]),x.jsx(Er.ItemSlot,{scope:r,id:u,focusable:o,active:s,children:x.jsx(ae.span,{tabIndex:m?0:-1,"data-orientation":d.orientation,...l,ref:n,onMouseDown:te(t.onMouseDown,S=>{o?d.onItemFocus(u):S.preventDefault()}),onFocus:te(t.onFocus,()=>d.onItemFocus(u)),onKeyDown:te(t.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){d.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const y=Ea(S,d.orientation,d.dir);if(y!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let R=b().filter(_=>_.focusable).map(_=>_.ref.current);if(y==="last")R.reverse();else if(y==="prev"||y==="next"){y==="prev"&&R.reverse();const _=R.indexOf(S.currentTarget);R=d.loop?_a(R,_+1):R.slice(_+1)}setTimeout(()=>ro(R))}}),children:typeof a=="function"?a({isCurrentTabStop:m,hasTabStop:p!=null}):a})})},"RovingFocusGroupItem")),nh={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ra(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}ht(Ra,"getDirectionAwareKey");function Ea(e,t,n){const r=Ra(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return nh[r]}ht(Ea,"getFocusIntent");function ro(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}ht(ro,"focusFirst");function _a(e,t){return e.map((n,r)=>e[(t+r)%e.length])}ht(_a,"wrapArray");var rh=Zm,oh=th,sh=Object.defineProperty,ye=(e,t)=>sh(e,"name",{value:t,configurable:!0}),ka="Radio",[ih,Pa]=Ge(ka),[ah,jn]=ih(ka);function Ta(e){const{__scopeRadio:t,checked:n=!1,children:r,disabled:o,form:s,name:i,onCheck:a,required:l,value:c="on",internal_do_not_use_render:u}=e,[d,m]=f.useState(null),[b,h]=f.useState(null),g=f.useRef(!1),[p,v]=f.useReducer(C=>C+1,0),S=d?!!s||!!d.closest("form"):!0,y={checked:n,disabled:o,required:l,name:i,form:s,value:c,control:d,setControl:m,hasConsumerStoppedPropagationRef:g,userInteractionCount:p,onUserInteraction:v,isFormControl:S,bubbleInput:b,setBubbleInput:h,onCheck:ye(()=>a==null?void 0:a(),"onCheck")};return x.jsx(ah,{scope:t,...y,children:Oa(u)?u(y):r})}ye(Ta,"RadioProvider");var ch="RadioTrigger",lh=f.forwardRef(ye(function({__scopeRadio:t,onClick:n,...r},o){const{checked:s,disabled:i,value:a,setControl:l,onCheck:c,hasConsumerStoppedPropagationRef:u,onUserInteraction:d,isFormControl:m,bubbleInput:b}=jn(ch,t),h=ie(o,l);return x.jsx(ae.button,{type:"button",role:"radio","aria-checked":s,"data-state":oo(s),"data-disabled":i?"":void 0,disabled:i,value:a,...r,ref:h,onClick:te(n,g=>{s||(d(),c()),b&&m&&(u.current=g.isPropagationStopped(),u.current||g.stopPropagation())})})},"RadioTrigger")),uh="RadioIndicator",dh=f.forwardRef(ye(function(t,n){const{__scopeRadio:r,forceMount:o,...s}=t,i=jn(uh,r);return x.jsx(Or,{present:o||i.checked,children:x.jsx(ae.span,{"data-state":oo(i.checked),"data-disabled":i.disabled?"":void 0,...s,ref:n})})},"RadioIndicator")),fh="RadioBubbleInput",ph=f.forwardRef(ye(function({__scopeRadio:t,onClick:n,...r},o){const{control:s,checked:i,required:a,disabled:l,name:c,value:u,form:d,bubbleInput:m,setBubbleInput:b,hasConsumerStoppedPropagationRef:h,userInteractionCount:g}=jn(fh,t),p=ie(o,b),v=wn(s),S=f.useRef(!1),y=f.useRef(i),C=f.useRef(g);f.useEffect(()=>{const _=m;if(!_)return;const k=window.HTMLInputElement.prototype,O=Object.getOwnPropertyDescriptor(k,"checked").set,U=g!==C.current;C.current=g;const W=y.current!==i;y.current=i;const j=!(U&&h.current);if(W&&O){S.current=!U;const H=new Event("click",{bubbles:j});O.call(_,i),_.dispatchEvent(H),S.current=!1}},[m,i,h,g]);const R=f.useRef(i);return x.jsx(ae.input,{type:"radio","aria-hidden":!0,defaultChecked:R.current,required:a,disabled:l,name:c,value:u,form:d,...r,tabIndex:-1,ref:p,onClick:te(n,_=>{S.current&&_.stopPropagation()}),style:{...r.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function Oa(e){return typeof e=="function"}ye(Oa,"isFunction");function oo(e){return e?"checked":"unchecked"}ye(oo,"getState");var mh=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],so="RadioGroup",[hh,ig]=Ge(so,[Ca,Pa]),Aa=Ca(),Dn=Pa(),[gh,bh]=hh(so),Ia=f.forwardRef(ye(function(t,n){const{__scopeRadioGroup:r,name:o,form:s,defaultValue:i,value:a,required:l=!1,disabled:c=!1,orientation:u,dir:d,loop:m=!0,onValueChange:b,...h}=t,g=Aa(r),p=Sn(d),[v,S]=Ct({prop:a,defaultProp:i??null,onChange:b,caller:so}),[y,C]=f.useState(null),R=ie(n,C),_=f.useRef(v);return f.useEffect(()=>{const k=s?y==null?void 0:y.ownerDocument.getElementById(s):y==null?void 0:y.closest("form");if(k instanceof HTMLFormElement){const P=ye(()=>S(_.current),"reset");return k.addEventListener("reset",P),()=>k.removeEventListener("reset",P)}},[y,s,S]),x.jsx(gh,{scope:r,name:o,form:s,required:l,disabled:c,value:v,onValueChange:S,children:x.jsx(rh,{asChild:!0,...g,orientation:u,dir:p,loop:m,children:x.jsx(ae.div,{role:"radiogroup","aria-required":l,"aria-orientation":u,"data-disabled":c?"":void 0,dir:p,...h,ref:R})})})},"RadioGroup")),vh="RadioGroupItemProvider",yh="RadioGroupItemTrigger";function Na(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:o,internal_do_not_use_render:s}=e,i=bh(vh,t),a=Dn(t),l=i.disabled||r;return x.jsx(Ta,{...a,checked:i.value===n,disabled:l,required:i.required,name:i.name,form:i.form,value:n,onCheck:()=>i.onValueChange(n),internal_do_not_use_render:s,children:o})}ye(Na,"RadioGroupItemProvider");var xh=f.forwardRef(ye(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=Aa(r),i=Dn(r),{checked:a,disabled:l}
160=jn(yh,i.__scopeRadio),c=f.useRef(null),u=ie(n,c),d=f.useRef(!1);return f.useEffect(()=>{const m=ye(h=>{mh.includes(h.key)&&(d.current=!0)},"handleKeyDown"),b=ye(()=>d.current=!1,"handleKeyUp");return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),x.jsx(oh,{asChild:!0,...s,focusable:!l,active:a,children:x.jsx(lh,{...i,...o,ref:u,onKeyDown:te(o.onKeyDown,m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:te(o.onFocus,()=>{var m;d.current&&((m=c.current)==null||m.click())})})})},"RadioGroupItemTrigger")),ja=f.forwardRef(ye(function(t,n){const{__scopeRadioGroup:r,value:o,disabled:s,...i}=t;return x.jsx(Na,{__scopeRadioGroup:r,value:o,disabled:s,internal_do_not_use_render:({isFormControl:a})=>x.jsxs(x.Fragment,{children:[x.jsx(xh,{...i,ref:n,__scopeRadioGroup:r}),a&&x.jsx(wh,{__scopeRadioGroup:r})]})})},"RadioGroupItem")),wh=f.forwardRef(ye(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=Dn(r);return x.jsx(ph,{...s,...o,ref:n})},"RadioGroupItemBubbleInput")),Sh=f.forwardRef(ye(function(t,n){const{__scopeRadioGroup:r,...o}=t,s=Dn(r);return x.jsx(dh,{...s,...o,ref:n})},"RadioGroupIndicator"));const Ch=f.forwardRef(({className:e,...t},n)=>x.jsx(Ia,{className:se("grid gap-2",e),...t,ref:n}));Ch.displayName=Ia.displayName;const Rh=f.forwardRef(({className:e,...t},n)=>x.jsx(ja,{ref:n,className:se("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:x.jsx(Sh,{className:"flex items-center justify-center",children:x.jsx(yu,{className:"h-[12px] w-[12px] fill-primary"})})}));Rh.displayName=ja.displayName;const Eh=f.forwardRef(({className:e,...t},n)=>x.jsx("textarea",{className:se("flex min-h-[60px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));Eh.displayName="Textarea";async function ag(e){var r;const n=(await le.get(`https://api.armin.cx/contact-form/${e}`)).data;if(n.fields){const o=((r=n.languages)==null?void 0:r[0])||"en";n.fields=Rl(n.fields,o)}return n}export{ha as B,pd as C,sg as D,yd as I,vd as L,Ha as R,Zh as S,Eh as T,Kh as _,hs as a,Wa as b,se as c,eg as d,Qh as e,ag as f,Ba as g,tg as h,ng as i,x as j,og as k,rg as l,Ch as m,Rh as n,le as o,f as r,Wh as s};
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.