@sellgar/kit 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4974 -0
- package/dist/index.umd.cjs +95 -0
- package/package.json +15 -6
- package/dist/index.es.js +0 -9427
- package/dist/index.umd.js +0 -96
- package/dist/kit.css +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
(function(We,ut){typeof exports=="object"&&typeof module<"u"?ut(exports):typeof define=="function"&&define.amd?define(["exports"],ut):(We=typeof globalThis<"u"?globalThis:We||self,ut(We.index={}))})(this,function(We){"use strict";function ut(e,t){for(var r=0;r<t.length;r++){const o=t[r];if(typeof o!="string"&&!Array.isArray(o)){for(const i in o)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(o,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>o[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function bn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Et={exports:{}},K={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.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 En;function $r(){if(En)return K;En=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function f(l){return l===null||typeof l!="object"?null:(l=g&&l[g]||l["@@iterator"],typeof l=="function"?l:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,E={};function T(l,y,S){this.props=l,this.context=y,this.refs=E,this.updater=S||h}T.prototype.isReactComponent={},T.prototype.setState=function(l,y){if(typeof l!="object"&&typeof l!="function"&&l!=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,l,y,"setState")},T.prototype.forceUpdate=function(l){this.updater.enqueueForceUpdate(this,l,"forceUpdate")};function x(){}x.prototype=T.prototype;function j(l,y,S){this.props=l,this.context=y,this.refs=E,this.updater=S||h}var P=j.prototype=new x;P.constructor=j,w(P,T.prototype),P.isPureReactComponent=!0;var H=Array.isArray,A={H:null,A:null,T:null,S:null},X=Object.prototype.hasOwnProperty;function B(l,y,S,I,U,oe){return S=oe.ref,{$$typeof:e,type:l,key:y,ref:S!==void 0?S:null,props:oe}}function ee(l,y){return B(l.type,y,void 0,void 0,void 0,l.props)}function q(l){return typeof l=="object"&&l!==null&&l.$$typeof===e}function ne(l){var y={"=":"=0",":":"=2"};return"$"+l.replace(/[=:]/g,function(S){return y[S]})}var te=/\/+/g;function Q(l,y){return typeof l=="object"&&l!==null&&l.key!=null?ne(""+l.key):y.toString(36)}function J(){}function V(l){switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status=="string"?l.then(J,J):(l.status="pending",l.then(function(y){l.status==="pending"&&(l.status="fulfilled",l.value=y)},function(y){l.status==="pending"&&(l.status="rejected",l.reason=y)})),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason}}throw l}function z(l,y,S,I,U){var oe=typeof l;(oe==="undefined"||oe==="boolean")&&(l=null);var $=!1;if(l===null)$=!0;else switch(oe){case"bigint":case"string":case"number":$=!0;break;case"object":switch(l.$$typeof){case e:case t:$=!0;break;case v:return $=l._init,z($(l._payload),y,S,I,U)}}if($)return U=U(l),$=I===""?"."+Q(l,0):I,H(U)?(S="",$!=null&&(S=$.replace(te,"$&/")+"/"),z(U,y,S,"",function(Pe){return Pe})):U!=null&&(q(U)&&(U=ee(U,S+(U.key==null||l&&l.key===U.key?"":(""+U.key).replace(te,"$&/")+"/")+$)),y.push(U)),1;$=0;var le=I===""?".":I+":";if(H(l))for(var re=0;re<l.length;re++)I=l[re],oe=le+Q(I,re),$+=z(I,y,S,oe,U);else if(re=f(l),typeof re=="function")for(l=re.call(l),re=0;!(I=l.next()).done;)I=I.value,oe=le+Q(I,re++),$+=z(I,y,S,oe,U);else if(oe==="object"){if(typeof l.then=="function")return z(V(l),y,S,I,U);throw y=String(l),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.")}return $}function W(l,y,S){if(l==null)return l;var I=[],U=0;return z(l,I,"","",function(oe){return y.call(S,oe,U++)}),I}function k(l){if(l._status===-1){var y=l._result;y=y(),y.then(function(S){(l._status===0||l._status===-1)&&(l._status=1,l._result=S)},function(S){(l._status===0||l._status===-1)&&(l._status=2,l._result=S)}),l._status===-1&&(l._status=0,l._result=y)}if(l._status===1)return l._result.default;throw l._result}var C=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function R(){}return K.Children={map:W,forEach:function(l,y,S){W(l,function(){y.apply(this,arguments)},S)},count:function(l){var y=0;return W(l,function(){y++}),y},toArray:function(l){return W(l,function(y){return y})||[]},only:function(l){if(!q(l))throw Error("React.Children.only expected to receive a single React element child.");return l}},K.Component=T,K.Fragment=r,K.Profiler=i,K.PureComponent=j,K.StrictMode=o,K.Suspense=d,K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,K.act=function(){throw Error("act(...) is not supported in production builds of React.")},K.cache=function(l){return function(){return l.apply(null,arguments)}},K.cloneElement=function(l,y,S){if(l==null)throw Error("The argument must be a React element, but you passed "+l+".");var I=w({},l.props),U=l.key,oe=void 0;if(y!=null)for($ in y.ref!==void 0&&(oe=void 0),y.key!==void 0&&(U=""+y.key),y)!X.call(y,$)||$==="key"||$==="__self"||$==="__source"||$==="ref"&&y.ref===void 0||(I[$]=y[$]);var $=arguments.length-2;if($===1)I.children=S;else if(1<$){for(var le=Array($),re=0;re<$;re++)le[re]=arguments[re+2];I.children=le}return B(l.type,U,void 0,void 0,oe,I)},K.createContext=function(l){return l={$$typeof:a,_currentValue:l,_currentValue2:l,_threadCount:0,Provider:null,Consumer:null},l.Provider=l,l.Consumer={$$typeof:s,_context:l},l},K.createElement=function(l,y,S){var I,U={},oe=null;if(y!=null)for(I in y.key!==void 0&&(oe=""+y.key),y)X.call(y,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(U[I]=y[I]);var $=arguments.length-2;if($===1)U.children=S;else if(1<$){for(var le=Array($),re=0;re<$;re++)le[re]=arguments[re+2];U.children=le}if(l&&l.defaultProps)for(I in $=l.defaultProps,$)U[I]===void 0&&(U[I]=$[I]);return B(l,oe,void 0,void 0,null,U)},K.createRef=function(){return{current:null}},K.forwardRef=function(l){return{$$typeof:c,render:l}},K.isValidElement=q,K.lazy=function(l){return{$$typeof:v,_payload:{_status:-1,_result:l},_init:k}},K.memo=function(l,y){return{$$typeof:u,type:l,compare:y===void 0?null:y}},K.startTransition=function(l){var y=A.T,S={};A.T=S;try{var I=l(),U=A.S;U!==null&&U(S,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(R,C)}catch(oe){C(oe)}finally{A.T=y}},K.unstable_useCacheRefresh=function(){return A.H.useCacheRefresh()},K.use=function(l){return A.H.use(l)},K.useActionState=function(l,y,S){return A.H.useActionState(l,y,S)},K.useCallback=function(l,y){return A.H.useCallback(l,y)},K.useContext=function(l){return A.H.useContext(l)},K.useDebugValue=function(){},K.useDeferredValue=function(l,y){return A.H.useDeferredValue(l,y)},K.useEffect=function(l,y){return A.H.useEffect(l,y)},K.useId=function(){return A.H.useId()},K.useImperativeHandle=function(l,y,S){return A.H.useImperativeHandle(l,y,S)},K.useInsertionEffect=function(l,y){return A.H.useInsertionEffect(l,y)},K.useLayoutEffect=function(l,y){return A.H.useLayoutEffect(l,y)},K.useMemo=function(l,y){return A.H.useMemo(l,y)},K.useOptimistic=function(l,y){return A.H.useOptimistic(l,y)},K.useReducer=function(l,y,S){return A.H.useReducer(l,y,S)},K.useRef=function(l){return A.H.useRef(l)},K.useState=function(l){return A.H.useState(l)},K.useSyncExternalStore=function(l,y,S){return A.H.useSyncExternalStore(l,y,S)},K.useTransition=function(){return A.H.useTransition()},K.version="19.0.0",K}var ct={exports:{}};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.development.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
|
+
*/ct.exports;var wn;function Ir(){return wn||(wn=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){function r(n,p){Object.defineProperty(s.prototype,n,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})}function o(n){return n===null||typeof n!="object"?null:(n=_t&&n[_t]||n["@@iterator"],typeof n=="function"?n:null)}function i(n,p){n=(n=n.constructor)&&(n.displayName||n.name)||"ReactClass";var b=n+"."+p;bt[b]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,n),bt[b]=!0)}function s(n,p,b){this.props=n,this.context=p,this.refs=M,this.updater=b||m}function a(){}function c(n,p,b){this.props=n,this.context=p,this.refs=M,this.updater=b||m}function d(n){return""+n}function u(n){try{d(n);var p=!1}catch{p=!0}if(p){p=console;var b=p.error,O=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return b.call(p,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",O),d(n)}}function v(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===G?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case re:return"Fragment";case le:return"Portal";case Be:return"Profiler";case Pe:return"StrictMode";case ke:return"Suspense";case Ye:return"SuspenseList"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case $e:return(n.displayName||"Context")+".Provider";case ze:return(n._context.displayName||"Context")+".Consumer";case Ie:var p=n.render;return n=n.displayName,n||(n=p.displayName||p.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ze:return p=n.displayName||null,p!==null?p:v(n.type)||"Memo";case Ve:p=n._payload,n=n._init;try{return v(n(p))}catch{}}return null}function g(n){return typeof n=="string"||typeof n=="function"||n===re||n===Be||n===Pe||n===ke||n===Ye||n===It||typeof n=="object"&&n!==null&&(n.$$typeof===Ve||n.$$typeof===Ze||n.$$typeof===$e||n.$$typeof===ze||n.$$typeof===Ie||n.$$typeof===he||n.getModuleId!==void 0)}function f(){}function h(){if(Re===0){qe=console.log,Ce=console.info,Je=console.warn,Te=console.error,Or=console.group,xr=console.groupCollapsed,Cr=console.groupEnd;var n={configurable:!0,enumerable:!0,value:f,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Re++}function w(){if(Re--,Re===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},n,{value:qe}),info:N({},n,{value:Ce}),warn:N({},n,{value:Je}),error:N({},n,{value:Te}),group:N({},n,{value:Or}),groupCollapsed:N({},n,{value:xr}),groupEnd:N({},n,{value:Cr})})}0>Re&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function E(n){if(hn===void 0)try{throw Error()}catch(b){var p=b.stack.trim().match(/\n( *(at )?)/);hn=p&&p[1]||"",Sr=-1<b.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<b.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+hn+n+Sr}function T(n,p){if(!n||vn)return"";var b=yn.get(n);if(b!==void 0)return b;vn=!0,b=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var O=null;O=F.H,F.H=null,h();try{var L={DetermineComponentFrameRoot:function(){try{if(p){var je=function(){throw Error()};if(Object.defineProperty(je.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(je,[])}catch(He){var Ft=He}Reflect.construct(n,[],je)}else{try{je.call()}catch(He){Ft=He}n.call(je.prototype)}}else{try{throw Error()}catch(He){Ft=He}(je=n())&&typeof je.catch=="function"&&je.catch(function(){})}}catch(He){if(He&&Ft&&typeof He.stack=="string")return[He.stack,Ft.stack]}return[null,null]}};L.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Y=Object.getOwnPropertyDescriptor(L.DetermineComponentFrameRoot,"name");Y&&Y.configurable&&Object.defineProperty(L.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var D=L.DetermineComponentFrameRoot(),ae=D[0],ie=D[1];if(ae&&ie){var de=ae.split(`
|
|
20
|
+
`),be=ie.split(`
|
|
21
|
+
`);for(D=Y=0;Y<de.length&&!de[Y].includes("DetermineComponentFrameRoot");)Y++;for(;D<be.length&&!be[D].includes("DetermineComponentFrameRoot");)D++;if(Y===de.length||D===be.length)for(Y=de.length-1,D=be.length-1;1<=Y&&0<=D&&de[Y]!==be[D];)D--;for(;1<=Y&&0<=D;Y--,D--)if(de[Y]!==be[D]){if(Y!==1||D!==1)do if(Y--,D--,0>D||de[Y]!==be[D]){var et=`
|
|
22
|
+
`+de[Y].replace(" at new "," at ");return n.displayName&&et.includes("<anonymous>")&&(et=et.replace("<anonymous>",n.displayName)),typeof n=="function"&&yn.set(n,et),et}while(1<=Y&&0<=D);break}}}finally{vn=!1,F.H=O,w(),Error.prepareStackTrace=b}return de=(de=n?n.displayName||n.name:"")?E(de):"",typeof n=="function"&&yn.set(n,de),de}function x(n){if(n==null)return"";if(typeof n=="function"){var p=n.prototype;return T(n,!(!p||!p.isReactComponent))}if(typeof n=="string")return E(n);switch(n){case ke:return E("Suspense");case Ye:return E("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ie:return n=T(n.render,!1),n;case Ze:return x(n.type);case Ve:p=n._payload,n=n._init;try{return x(n(p))}catch{}}return""}function j(){var n=F.A;return n===null?null:n.getOwner()}function P(n){if(xe.call(n,"key")){var p=Object.getOwnPropertyDescriptor(n,"key").get;if(p&&p.isReactWarning)return!1}return n.key!==void 0}function H(n,p){function b(){Ar||(Ar=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",p))}b.isReactWarning=!0,Object.defineProperty(n,"key",{get:b,configurable:!0})}function A(){var n=v(this.type);return Pr[n]||(Pr[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function X(n,p,b,O,L,Y){return b=Y.ref,n={$$typeof:$,type:n,key:p,props:Y,_owner:L},(b!==void 0?b:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:A}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function B(n,p){return p=X(n.type,p,void 0,void 0,n._owner,n.props),p._store.validated=n._store.validated,p}function ee(n,p){if(typeof n=="object"&&n&&n.$$typeof!==Hi){if(ue(n))for(var b=0;b<n.length;b++){var O=n[b];q(O)&&ne(O,p)}else if(q(n))n._store&&(n._store.validated=1);else if(b=o(n),typeof b=="function"&&b!==n.entries&&(b=b.call(n),b!==n))for(;!(n=b.next()).done;)q(n.value)&&ne(n.value,p)}}function q(n){return typeof n=="object"&&n!==null&&n.$$typeof===$}function ne(n,p){if(n._store&&!n._store.validated&&n.key==null&&(n._store.validated=1,p=te(p),!kr[p])){kr[p]=!0;var b="";n&&n._owner!=null&&n._owner!==j()&&(b=null,typeof n._owner.tag=="number"?b=v(n._owner.type):typeof n._owner.name=="string"&&(b=n._owner.name),b=" It was passed a child from "+b+".");var O=F.getCurrentStack;F.getCurrentStack=function(){var L=x(n.type);return O&&(L+=O()||""),L},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',p,b),F.getCurrentStack=O}}function te(n){var p="",b=j();return b&&(b=v(b.type))&&(p=`
|
|
23
|
+
|
|
24
|
+
Check the render method of \``+b+"`."),p||(n=v(n))&&(p=`
|
|
25
|
+
|
|
26
|
+
Check the top-level render call using <`+n+">."),p}function Q(n){var p={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(b){return p[b]})}function J(n,p){return typeof n=="object"&&n!==null&&n.key!=null?(u(n.key),Q(""+n.key)):p.toString(36)}function V(){}function z(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(V,V):(n.status="pending",n.then(function(p){n.status==="pending"&&(n.status="fulfilled",n.value=p)},function(p){n.status==="pending"&&(n.status="rejected",n.reason=p)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function W(n,p,b,O,L){var Y=typeof n;(Y==="undefined"||Y==="boolean")&&(n=null);var D=!1;if(n===null)D=!0;else switch(Y){case"bigint":case"string":case"number":D=!0;break;case"object":switch(n.$$typeof){case $:case le:D=!0;break;case Ve:return D=n._init,W(D(n._payload),p,b,O,L)}}if(D){D=n,L=L(D);var ae=O===""?"."+J(D,0):O;return ue(L)?(b="",ae!=null&&(b=ae.replace(Mr,"$&/")+"/"),W(L,p,b,"",function(de){return de})):L!=null&&(q(L)&&(L.key!=null&&(D&&D.key===L.key||u(L.key)),b=B(L,b+(L.key==null||D&&D.key===L.key?"":(""+L.key).replace(Mr,"$&/")+"/")+ae),O!==""&&D!=null&&q(D)&&D.key==null&&D._store&&!D._store.validated&&(b._store.validated=2),L=b),p.push(L)),1}if(D=0,ae=O===""?".":O+":",ue(n))for(var ie=0;ie<n.length;ie++)O=n[ie],Y=ae+J(O,ie),D+=W(O,p,b,Y,L);else if(ie=o(n),typeof ie=="function")for(ie===n.entries&&(jr||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jr=!0),n=ie.call(n),ie=0;!(O=n.next()).done;)O=O.value,Y=ae+J(O,ie++),D+=W(O,p,b,Y,L);else if(Y==="object"){if(typeof n.then=="function")return W(z(n),p,b,O,L);throw p=String(n),Error("Objects are not valid as a React child (found: "+(p==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":p)+"). If you meant to render a collection of children, use an array instead.")}return D}function k(n,p,b){if(n==null)return n;var O=[],L=0;return W(n,O,"","",function(Y){return p.call(b,Y,L++)}),O}function C(n){if(n._status===-1){var p=n._result;p=p(),p.then(function(b){(n._status===0||n._status===-1)&&(n._status=1,n._result=b)},function(b){(n._status===0||n._status===-1)&&(n._status=2,n._result=b)}),n._status===-1&&(n._status=0,n._result=p)}if(n._status===1)return p=n._result,p===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
27
|
+
|
|
28
|
+
Your code should look like:
|
|
29
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
30
|
+
|
|
31
|
+
Did you accidentally put curly braces around the import?`,p),"default"in p||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
32
|
+
|
|
33
|
+
Your code should look like:
|
|
34
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,p),p.default;throw n._result}function R(){var n=F.H;return n===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
35
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
36
|
+
2. You might be breaking the Rules of Hooks
|
|
37
|
+
3. You might have more than one copy of React in the same app
|
|
38
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),n}function l(){}function y(n){if(Yt===null)try{var p=("require"+Math.random()).slice(0,7);Yt=(e&&e[p]).call(e,"timers").setImmediate}catch{Yt=function(O){Dr===!1&&(Dr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var L=new MessageChannel;L.port1.onmessage=O,L.port2.postMessage(void 0)}}return Yt(n)}function S(n){return 1<n.length&&typeof AggregateError=="function"?new AggregateError(n):n[0]}function I(n,p){p!==Ht-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ht=p}function U(n,p,b){var O=F.actQueue;if(O!==null)if(O.length!==0)try{oe(O),y(function(){return U(n,p,b)});return}catch(L){F.thrownErrors.push(L)}else F.actQueue=null;0<F.thrownErrors.length?(O=S(F.thrownErrors),F.thrownErrors.length=0,b(O)):p(n)}function oe(n){if(!_n){_n=!0;var p=0;try{for(;p<n.length;p++){var b=n[p];do{F.didUsePromise=!1;var O=b(!1);if(O!==null){if(F.didUsePromise){n[p]=b,n.splice(0,p);return}b=O}else break}while(!0)}n.length=0}catch(L){n.splice(0,p+1),F.thrownErrors.push(L)}finally{_n=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var $=Symbol.for("react.transitional.element"),le=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),Pe=Symbol.for("react.strict_mode"),Be=Symbol.for("react.profiler"),ze=Symbol.for("react.consumer"),$e=Symbol.for("react.context"),Ie=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),Ze=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),It=Symbol.for("react.offscreen"),_t=Symbol.iterator,bt={},m={isMounted:function(){return!1},enqueueForceUpdate:function(n){i(n,"forceUpdate")},enqueueReplaceState:function(n){i(n,"replaceState")},enqueueSetState:function(n){i(n,"setState")}},N=Object.assign,M={};Object.freeze(M),s.prototype.isReactComponent={},s.prototype.setState=function(n,p){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,p,"setState")},s.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};var Z={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},me;for(me in Z)Z.hasOwnProperty(me)&&r(me,Z[me]);a.prototype=s.prototype,Z=c.prototype=new a,Z.constructor=c,N(Z,s.prototype),Z.isPureReactComponent=!0;var ue=Array.isArray,G=Symbol.for("react.client.reference"),F={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},xe=Object.prototype.hasOwnProperty,he=Symbol.for("react.client.reference"),Re=0,qe,Ce,Je,Te,Or,xr,Cr;f.__reactDisabledLog=!0;var hn,Sr,vn=!1,yn=new(typeof WeakMap=="function"?WeakMap:Map),Hi=Symbol.for("react.client.reference"),Ar,Nr,Pr={},kr={},jr=!1,Mr=/\/+/g,Lr=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(p))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Dr=!1,Yt=null,Ht=0,Wt=!1,_n=!1,zr=typeof queueMicrotask=="function"?function(n){queueMicrotask(function(){return queueMicrotask(n)})}:y;t.Children={map:k,forEach:function(n,p,b){k(n,function(){p.apply(this,arguments)},b)},count:function(n){var p=0;return k(n,function(){p++}),p},toArray:function(n){return k(n,function(p){return p})||[]},only:function(n){if(!q(n))throw Error("React.Children.only expected to receive a single React element child.");return n}},t.Component=s,t.Fragment=re,t.Profiler=Be,t.PureComponent=c,t.StrictMode=Pe,t.Suspense=ke,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,t.act=function(n){var p=F.actQueue,b=Ht;Ht++;var O=F.actQueue=p!==null?p:[],L=!1;try{var Y=n()}catch(ie){F.thrownErrors.push(ie)}if(0<F.thrownErrors.length)throw I(p,b),n=S(F.thrownErrors),F.thrownErrors.length=0,n;if(Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var D=Y;return zr(function(){L||Wt||(Wt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ie,de){L=!0,D.then(function(be){if(I(p,b),b===0){try{oe(O),y(function(){return U(be,ie,de)})}catch(je){F.thrownErrors.push(je)}if(0<F.thrownErrors.length){var et=S(F.thrownErrors);F.thrownErrors.length=0,de(et)}}else ie(be)},function(be){I(p,b),0<F.thrownErrors.length&&(be=S(F.thrownErrors),F.thrownErrors.length=0),de(be)})}}}var ae=Y;if(I(p,b),b===0&&(oe(O),O.length!==0&&zr(function(){L||Wt||(Wt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),F.actQueue=null),0<F.thrownErrors.length)throw n=S(F.thrownErrors),F.thrownErrors.length=0,n;return{then:function(ie,de){L=!0,b===0?(F.actQueue=O,y(function(){return U(ae,ie,de)})):ie(ae)}}},t.cache=function(n){return function(){return n.apply(null,arguments)}},t.cloneElement=function(n,p,b){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var O=N({},n.props),L=n.key,Y=n._owner;if(p!=null){var D;e:{if(xe.call(p,"ref")&&(D=Object.getOwnPropertyDescriptor(p,"ref").get)&&D.isReactWarning){D=!1;break e}D=p.ref!==void 0}D&&(Y=j()),P(p)&&(u(p.key),L=""+p.key);for(ae in p)!xe.call(p,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&p.ref===void 0||(O[ae]=p[ae])}var ae=arguments.length-2;if(ae===1)O.children=b;else if(1<ae){D=Array(ae);for(var ie=0;ie<ae;ie++)D[ie]=arguments[ie+2];O.children=D}for(O=X(n.type,L,void 0,void 0,Y,O),L=2;L<arguments.length;L++)ee(arguments[L],O.type);return O},t.createContext=function(n){return n={$$typeof:$e,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:ze,_context:n},n._currentRenderer=null,n._currentRenderer2=null,n},t.createElement=function(n,p,b){if(g(n))for(var O=2;O<arguments.length;O++)ee(arguments[O],n);else{if(O="",(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),n===null)var L="null";else ue(n)?L="array":n!==void 0&&n.$$typeof===$?(L="<"+(v(n.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):L=typeof n;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,O)}var Y;if(O={},L=null,p!=null)for(Y in Nr||!("__self"in p)||"key"in p||(Nr=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),P(p)&&(u(p.key),L=""+p.key),p)xe.call(p,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(O[Y]=p[Y]);var D=arguments.length-2;if(D===1)O.children=b;else if(1<D){for(var ae=Array(D),ie=0;ie<D;ie++)ae[ie]=arguments[ie+2];Object.freeze&&Object.freeze(ae),O.children=ae}if(n&&n.defaultProps)for(Y in D=n.defaultProps,D)O[Y]===void 0&&(O[Y]=D[Y]);return L&&H(O,typeof n=="function"?n.displayName||n.name||"Unknown":n),X(n,L,void 0,void 0,j(),O)},t.createRef=function(){var n={current:null};return Object.seal(n),n},t.forwardRef=function(n){n!=null&&n.$$typeof===Ze?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof n!="function"?console.error("forwardRef requires a render function but was given %s.",n===null?"null":typeof n):n.length!==0&&n.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",n.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),n!=null&&n.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var p={$$typeof:Ie,render:n},b;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return b},set:function(O){b=O,n.name||n.displayName||(Object.defineProperty(n,"name",{value:O}),n.displayName=O)}}),p},t.isValidElement=q,t.lazy=function(n){return{$$typeof:Ve,_payload:{_status:-1,_result:n},_init:C}},t.memo=function(n,p){g(n)||console.error("memo: The first argument must be a component. Instead received: %s",n===null?"null":typeof n),p={$$typeof:Ze,type:n,compare:p===void 0?null:p};var b;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return b},set:function(O){b=O,n.name||n.displayName||(Object.defineProperty(n,"name",{value:O}),n.displayName=O)}}),p},t.startTransition=function(n){var p=F.T,b={};F.T=b,b._updatedFibers=new Set;try{var O=n(),L=F.S;L!==null&&L(b,O),typeof O=="object"&&O!==null&&typeof O.then=="function"&&O.then(l,Lr)}catch(Y){Lr(Y)}finally{p===null&&b._updatedFibers&&(n=b._updatedFibers.size,b._updatedFibers.clear(),10<n&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),F.T=p}},t.unstable_useCacheRefresh=function(){return R().useCacheRefresh()},t.use=function(n){return R().use(n)},t.useActionState=function(n,p,b){return R().useActionState(n,p,b)},t.useCallback=function(n,p){return R().useCallback(n,p)},t.useContext=function(n){var p=R();return n.$$typeof===ze&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),p.useContext(n)},t.useDebugValue=function(n,p){return R().useDebugValue(n,p)},t.useDeferredValue=function(n,p){return R().useDeferredValue(n,p)},t.useEffect=function(n,p){return R().useEffect(n,p)},t.useId=function(){return R().useId()},t.useImperativeHandle=function(n,p,b){return R().useImperativeHandle(n,p,b)},t.useInsertionEffect=function(n,p){return R().useInsertionEffect(n,p)},t.useLayoutEffect=function(n,p){return R().useLayoutEffect(n,p)},t.useMemo=function(n,p){return R().useMemo(n,p)},t.useOptimistic=function(n,p){return R().useOptimistic(n,p)},t.useReducer=function(n,p,b){return R().useReducer(n,p,b)},t.useRef=function(n){return R().useRef(n)},t.useState=function(n){return R().useState(n)},t.useSyncExternalStore=function(n,p,b){return R().useSyncExternalStore(n,p,b)},t.useTransition=function(){return R().useTransition()},t.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(ct,ct.exports)),ct.exports}var Rn;function wt(){return Rn||(Rn=1,process.env.NODE_ENV==="production"?Et.exports=$r():Et.exports=Ir()),Et.exports}var _=wt();const se=bn(_),Yr=ut({__proto__:null,default:se},[_]);var Ut={exports:{}};/*!
|
|
39
|
+
Copyright (c) 2018 Jed Watson.
|
|
40
|
+
Licensed under the MIT License (MIT), see
|
|
41
|
+
http://jedwatson.github.io/classnames
|
|
42
|
+
*/var Tn;function Hr(){return Tn||(Tn=1,function(e){(function(){var t={}.hasOwnProperty;function r(){for(var s="",a=0;a<arguments.length;a++){var c=arguments[a];c&&(s=i(s,o(c)))}return s}function o(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return r.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var a="";for(var c in s)t.call(s,c)&&s[c]&&(a=i(a,c));return a}function i(s,a){return a?s?s+" "+a:s+a:s}e.exports?(r.default=r,e.exports=r):window.classNames=r})()}(Ut)),Ut.exports}var Wr=Hr();const tt=bn(Wr),lt=e=>se.createElement("span",{className:"icon-"+e.icon}),fe={wrapper:"_wrapper_1njaz_1","lead-icon":"_lead-icon_1njaz_7","tail-icon":"_tail-icon_1njaz_8","color--gray":"_color--gray_1njaz_16","color--blue":"_color--blue_1njaz_20","color--green":"_color--green_1njaz_24","color--orange":"_color--orange_1njaz_28","color--red":"_color--red_1njaz_32","color--purple":"_color--purple_1njaz_36","color--white":"_color--white_1njaz_40","color--surface":"_color--surface_1njaz_44","color--white-destructive":"_color--white-destructive_1njaz_48",label:"_label_1njaz_52","color--surface-destructive":"_color--surface-destructive_1njaz_55","size--large":"_size--large_1njaz_63","size--medium":"_size--medium_1njaz_79","size--small":"_size--small_1njaz_95","size--extra-small":"_size--extra-small_1njaz_111","shape--rounded":"_shape--rounded_1njaz_125","shape--pill":"_shape--pill_1njaz_137",stroke:"_stroke_1njaz_141",disabled:"_disabled_1njaz_145"},Fr=({color:e="gray",size:t="md",shape:r="rounded",stroke:o,disabled:i,label:s,leadicon:a,tailicon:c})=>{const d=se.useMemo(()=>tt(fe.wrapper,{[fe["color--gray"]]:e==="gray",[fe["color--blue"]]:e==="blue",[fe["color--green"]]:e==="green",[fe["color--orange"]]:e==="orange",[fe["color--red"]]:e==="red",[fe["color--purple"]]:e==="purple",[fe["color--white"]]:e==="white",[fe["color--surface"]]:e==="surface",[fe["color--white-destructive"]]:e==="white-destructive",[fe["color--surface-destructive"]]:e==="surface-destructive"},{[fe["size--large"]]:t==="lg",[fe["size--medium"]]:t==="md",[fe["size--small"]]:t==="sm",[fe["size--extra-small"]]:t==="xs"},{[fe["shape--rounded"]]:r==="rounded",[fe["shape--pill"]]:r==="pill"},{[fe.stroke]:o},{[fe.disabled]:i}),[e,t,r,o,i]);return se.createElement("div",{className:d},a&&se.createElement("span",{className:fe["lead-icon"]},se.createElement(lt,{icon:a})),se.createElement("span",{className:fe.label},s),c&&se.createElement("span",{className:fe["tail-icon"]},se.createElement(lt,{icon:c})))},pe={wrapper:"_wrapper_f5r3l_1","lead-icon":"_lead-icon_f5r3l_10",badge:"_badge_f5r3l_18",label:"_label_f5r3l_29","tail-icon":"_tail-icon_f5r3l_32","size--large":"_size--large_f5r3l_41",text:"_text_f5r3l_52","size--medium":"_size--medium_f5r3l_69","size--small":"_size--small_f5r3l_97","size--extra-small":"_size--extra-small_f5r3l_125","style--primary":"_style--primary_f5r3l_151","style--secondary":"_style--secondary_f5r3l_169","style--tertiary":"_style--tertiary_f5r3l_200","style--ghost":"_style--ghost_f5r3l_227","target--destructive":"_target--destructive_f5r3l_256","shape--rounded":"_shape--rounded_f5r3l_375","shape--pill":"_shape--pill_f5r3l_387"},Ur=({size:e="md",style:t="primary",shape:r="rounded",target:o,leadicon:i,tailicon:s,label:a,...c})=>{const d=se.useMemo(()=>tt(pe.wrapper,{[pe["size--large"]]:e==="lg",[pe["size--medium"]]:e==="md",[pe["size--small"]]:e==="sm",[pe["size--extra-small"]]:e==="xs"},{[pe["style--primary"]]:t==="primary",[pe["style--secondary"]]:t==="secondary",[pe["style--tertiary"]]:t==="tertiary",[pe["style--ghost"]]:t==="ghost"},{[pe["target--destructive"]]:o==="destructive"},{[pe["shape--rounded"]]:r==="rounded",[pe["shape--pill"]]:r==="pill"}),[e,t,o,r]);return se.createElement("button",{...c,className:d},i&&se.createElement("div",{className:pe["lead-icon"]},se.createElement(lt,{icon:i})),se.createElement("div",{className:pe.text},c.children),a&&se.createElement("div",{className:pe.badge},se.createElement("span",{className:pe.label},a)),s&&se.createElement("div",{className:pe["tail-icon"]},se.createElement(lt,{icon:s})))},ge={"font-size__h1":"_font-size__h1_yyj49_1","font-size__h2":"_font-size__h2_yyj49_6","font-size__h3":"_font-size__h3_yyj49_11","font-size__h4":"_font-size__h4_yyj49_16","font-size__h5":"_font-size__h5_yyj49_21","font-size__h6":"_font-size__h6_yyj49_26","font-size__body-l":"_font-size__body-l_yyj49_31","font-size__body-m":"_font-size__body-m_yyj49_36","font-size__body-s":"_font-size__body-s_yyj49_41","font-size__caption-l":"_font-size__caption-l_yyj49_46","font-size__caption-m":"_font-size__caption-m_yyj49_51","font-size__caption-s":"_font-size__caption-s_yyj49_56","font-weight__light":"_font-weight__light_yyj49_62","font-weight__regular":"_font-weight__regular_yyj49_65","font-weight__medium":"_font-weight__medium_yyj49_68","font-weight__bold":"_font-weight__bold_yyj49_71","font-weight__semi-bold":"_font-weight__semi-bold_yyj49_74","font-weight__extra-bold":"_font-weight__extra-bold_yyj49_77","font-weight__black":"_font-weight__black_yyj49_80"},Bt=e=>{const t=se.useMemo(()=>tt({[ge["font-size__h1"]]:e.size==="h1",[ge["font-size__h2"]]:e.size==="h2",[ge["font-size__h3"]]:e.size==="h3",[ge["font-size__h4"]]:e.size==="h4",[ge["font-size__h5"]]:e.size==="h5",[ge["font-size__h6"]]:e.size==="h6",[ge["font-size__body-l"]]:e.size==="body-l",[ge["font-size__body-m"]]:e.size==="body-m",[ge["font-size__body-s"]]:e.size==="body-s",[ge["font-size__caption-l"]]:e.size==="caption-l",[ge["font-size__caption-m"]]:e.size==="caption-m",[ge["font-size__caption-s"]]:e.size==="caption-s"},{[ge["font-weight__light"]]:e.weight==="light",[ge["font-weight__regular"]]:e.weight==="regular",[ge["font-weight__medium"]]:e.weight==="medium",[ge["font-weight__semi-bold"]]:e.weight==="semi-bold",[ge["font-weight__bold"]]:e.weight==="bold",[ge["font-weight__extra-bold"]]:e.weight==="extra-bold",[ge["font-weight__black"]]:e.weight==="black"}),[e.size,e.weight]);return se.Children.map(e.children,r=>{if(se.isValidElement(r)){const o=r;return se.cloneElement(o,{className:tt(t,o.props.className)})}return r})};function Rt(){return typeof window<"u"}function nt(e){return On(e)?(e.nodeName||"").toLowerCase():"#document"}function _e(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Se(e){var t;return(t=(On(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function On(e){return Rt()?e instanceof Node||e instanceof _e(e).Node:!1}function ce(e){return Rt()?e instanceof Element||e instanceof _e(e).Element:!1}function Ee(e){return Rt()?e instanceof HTMLElement||e instanceof _e(e).HTMLElement:!1}function Vt(e){return!Rt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof _e(e).ShadowRoot}function ft(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(i)}function Br(e){return["table","td","th"].includes(nt(e))}function Tt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function qt(e){const t=Ot(),r=ce(e)?we(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Vr(e){let t=Le(e);for(;Ee(t)&&!Me(t);){if(qt(t))return t;if(Tt(t))return null;t=Le(t)}return null}function Ot(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Me(e){return["html","body","#document"].includes(nt(e))}function we(e){return _e(e).getComputedStyle(e)}function xt(e){return ce(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Le(e){if(nt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Vt(e)&&e.host||Se(e);return Vt(t)?t.host:t}function xn(e){const t=Le(e);return Me(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ee(t)&&ft(t)?t:xn(t)}function Fe(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=xn(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),a=_e(i);if(s){const c=Gt(a);return t.concat(a,a.visualViewport||[],ft(i)?i:[],c&&r?Fe(c):[])}return t.concat(i,Fe(i,[],r))}function Gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kt(e){let t=e.activeElement;for(;((r=t)==null||(r=r.shadowRoot)==null?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function rt(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&Vt(r)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function Cn(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function Sn(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:r,version:o}=t;return r+"/"+o}).join(" "):navigator.userAgent}function qr(e){return Kr()?!1:!Nn()&&e.width===0&&e.height===0||Nn()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function An(){return/apple/i.test(navigator.vendor)}function Nn(){const e=/android/i;return e.test(Cn())||e.test(Sn())}function Gr(){return Cn().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Kr(){return Sn().includes("jsdom/")}function Xt(e,t){const r=["mouse","pen"];return r.push("",void 0),r.includes(e)}function Xr(e){return"nativeEvent"in e}function Qr(e){return e.matches("html,body")}function Ue(e){return(e==null?void 0:e.ownerDocument)||document}function Qt(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}function ot(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Zr="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Jr(e){return Ee(e)&&e.matches(Zr)}const it=Math.min,Ge=Math.max,Ct=Math.round,St=Math.floor,Ae=e=>({x:e,y:e}),eo={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function Zt(e,t,r){return Ge(e,it(t,r))}function dt(e,t){return typeof e=="function"?e(t):e}function Ke(e){return e.split("-")[0]}function mt(e){return e.split("-")[1]}function Pn(e){return e==="x"?"y":"x"}function Jt(e){return e==="y"?"height":"width"}function st(e){return["top","bottom"].includes(Ke(e))?"y":"x"}function en(e){return Pn(st(e))}function no(e,t,r){r===void 0&&(r=!1);const o=mt(e),i=en(e),s=Jt(i);let a=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=At(a)),[a,At(a)]}function ro(e){const t=At(e);return[tn(e),t,tn(t)]}function tn(e){return e.replace(/start|end/g,t=>to[t])}function oo(e,t,r){const o=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:o:t?o:i;case"left":case"right":return t?s:a;default:return[]}}function io(e,t,r,o){const i=mt(e);let s=oo(Ke(e),r==="start",o);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(tn)))),s}function At(e){return e.replace(/left|right|bottom|top/g,t=>eo[t])}function so(e){return{top:0,right:0,bottom:0,left:0,...e}}function kn(e){return typeof e!="number"?so(e):{top:e,right:e,bottom:e,left:e}}function Nt(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}var Pt={exports:{}},gt={};/**
|
|
43
|
+
* @license React
|
|
44
|
+
* react-jsx-runtime.production.js
|
|
45
|
+
*
|
|
46
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the MIT license found in the
|
|
49
|
+
* LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/var jn;function ao(){if(jn)return gt;jn=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(o,i,s){var a=null;if(s!==void 0&&(a=""+s),i.key!==void 0&&(a=""+i.key),"key"in i){s={};for(var c in i)c!=="key"&&(s[c]=i[c])}else s=i;return i=s.ref,{$$typeof:e,type:o,key:a,ref:i!==void 0?i:null,props:s}}return gt.Fragment=t,gt.jsx=r,gt.jsxs=r,gt}var pt={};/**
|
|
51
|
+
* @license React
|
|
52
|
+
* react-jsx-runtime.development.js
|
|
53
|
+
*
|
|
54
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
55
|
+
*
|
|
56
|
+
* This source code is licensed under the MIT license found in the
|
|
57
|
+
* LICENSE file in the root directory of this source tree.
|
|
58
|
+
*/var Mn;function uo(){return Mn||(Mn=1,process.env.NODE_ENV!=="production"&&function(){function e(m){if(m==null)return null;if(typeof m=="function")return m.$$typeof===C?null:m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case X:return"Fragment";case A:return"Portal";case ee:return"Profiler";case B:return"StrictMode";case Q:return"Suspense";case J:return"SuspenseList"}if(typeof m=="object")switch(typeof m.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case ne:return(m.displayName||"Context")+".Provider";case q:return(m._context.displayName||"Context")+".Consumer";case te:var N=m.render;return m=m.displayName,m||(m=N.displayName||N.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case V:return N=m.displayName||null,N!==null?N:e(m.type)||"Memo";case z:N=m._payload,m=m._init;try{return e(m(N))}catch{}}return null}function t(m){return""+m}function r(m){try{t(m);var N=!1}catch{N=!0}if(N){N=console;var M=N.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return M.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),t(m)}}function o(){}function i(){if(U===0){oe=console.log,$=console.info,le=console.warn,re=console.error,Pe=console.group,Be=console.groupCollapsed,ze=console.groupEnd;var m={configurable:!0,enumerable:!0,value:o,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}U++}function s(){if(U--,U===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y({},m,{value:oe}),info:y({},m,{value:$}),warn:y({},m,{value:le}),error:y({},m,{value:re}),group:y({},m,{value:Pe}),groupCollapsed:y({},m,{value:Be}),groupEnd:y({},m,{value:ze})})}0>U&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function a(m){if($e===void 0)try{throw Error()}catch(M){var N=M.stack.trim().match(/\n( *(at )?)/);$e=N&&N[1]||"",Ie=-1<M.stack.indexOf(`
|
|
59
|
+
at`)?" (<anonymous>)":-1<M.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
60
|
+
`+$e+m+Ie}function c(m,N){if(!m||ke)return"";var M=Ye.get(m);if(M!==void 0)return M;ke=!0,M=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Z=null;Z=R.H,R.H=null,i();try{var me={DetermineComponentFrameRoot:function(){try{if(N){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(Te){var Je=Te}Reflect.construct(m,[],Ce)}else{try{Ce.call()}catch(Te){Je=Te}m.call(Ce.prototype)}}else{try{throw Error()}catch(Te){Je=Te}(Ce=m())&&typeof Ce.catch=="function"&&Ce.catch(function(){})}}catch(Te){if(Te&&Je&&typeof Te.stack=="string")return[Te.stack,Je.stack]}return[null,null]}};me.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var ue=Object.getOwnPropertyDescriptor(me.DetermineComponentFrameRoot,"name");ue&&ue.configurable&&Object.defineProperty(me.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var G=me.DetermineComponentFrameRoot(),F=G[0],xe=G[1];if(F&&xe){var he=F.split(`
|
|
61
|
+
`),Re=xe.split(`
|
|
62
|
+
`);for(G=ue=0;ue<he.length&&!he[ue].includes("DetermineComponentFrameRoot");)ue++;for(;G<Re.length&&!Re[G].includes("DetermineComponentFrameRoot");)G++;if(ue===he.length||G===Re.length)for(ue=he.length-1,G=Re.length-1;1<=ue&&0<=G&&he[ue]!==Re[G];)G--;for(;1<=ue&&0<=G;ue--,G--)if(he[ue]!==Re[G]){if(ue!==1||G!==1)do if(ue--,G--,0>G||he[ue]!==Re[G]){var qe=`
|
|
63
|
+
`+he[ue].replace(" at new "," at ");return m.displayName&&qe.includes("<anonymous>")&&(qe=qe.replace("<anonymous>",m.displayName)),typeof m=="function"&&Ye.set(m,qe),qe}while(1<=ue&&0<=G);break}}}finally{ke=!1,R.H=Z,s(),Error.prepareStackTrace=M}return he=(he=m?m.displayName||m.name:"")?a(he):"",typeof m=="function"&&Ye.set(m,he),he}function d(m){if(m==null)return"";if(typeof m=="function"){var N=m.prototype;return c(m,!(!N||!N.isReactComponent))}if(typeof m=="string")return a(m);switch(m){case Q:return a("Suspense");case J:return a("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case te:return m=c(m.render,!1),m;case V:return d(m.type);case z:N=m._payload,m=m._init;try{return d(m(N))}catch{}}return""}function u(){var m=R.A;return m===null?null:m.getOwner()}function v(m){if(l.call(m,"key")){var N=Object.getOwnPropertyDescriptor(m,"key").get;if(N&&N.isReactWarning)return!1}return m.key!==void 0}function g(m,N){function M(){Ve||(Ve=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",N))}M.isReactWarning=!0,Object.defineProperty(m,"key",{get:M,configurable:!0})}function f(){var m=e(this.type);return It[m]||(It[m]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),m=this.props.ref,m!==void 0?m:null}function h(m,N,M,Z,me,ue){return M=ue.ref,m={$$typeof:H,type:m,key:N,props:ue,_owner:me},(M!==void 0?M:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:f}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function w(m,N,M,Z,me,ue){if(typeof m=="string"||typeof m=="function"||m===X||m===ee||m===B||m===Q||m===J||m===W||typeof m=="object"&&m!==null&&(m.$$typeof===z||m.$$typeof===V||m.$$typeof===ne||m.$$typeof===q||m.$$typeof===te||m.$$typeof===S||m.getModuleId!==void 0)){var G=N.children;if(G!==void 0)if(Z)if(I(G)){for(Z=0;Z<G.length;Z++)E(G[Z],m);Object.freeze&&Object.freeze(G)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else E(G,m)}else G="",(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(G+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),m===null?Z="null":I(m)?Z="array":m!==void 0&&m.$$typeof===H?(Z="<"+(e(m.type)||"Unknown")+" />",G=" Did you accidentally export a JSX literal instead of a component?"):Z=typeof m,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Z,G);if(l.call(N,"key")){G=e(m);var F=Object.keys(N).filter(function(he){return he!=="key"});Z=0<F.length?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}",_t[G+Z]||(F=0<F.length?"{"+F.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
64
|
+
let props = %s;
|
|
65
|
+
<%s {...props} />
|
|
66
|
+
React keys must be passed directly to JSX without using spread:
|
|
67
|
+
let props = %s;
|
|
68
|
+
<%s key={someKey} {...props} />`,Z,G,F,G),_t[G+Z]=!0)}if(G=null,M!==void 0&&(r(M),G=""+M),v(N)&&(r(N.key),G=""+N.key),"key"in N){M={};for(var xe in N)xe!=="key"&&(M[xe]=N[xe])}else M=N;return G&&g(M,typeof m=="function"?m.displayName||m.name||"Unknown":m),h(m,G,ue,me,u(),M)}function E(m,N){if(typeof m=="object"&&m&&m.$$typeof!==Ze){if(I(m))for(var M=0;M<m.length;M++){var Z=m[M];T(Z)&&x(Z,N)}else if(T(m))m._store&&(m._store.validated=1);else if(m===null||typeof m!="object"?M=null:(M=k&&m[k]||m["@@iterator"],M=typeof M=="function"?M:null),typeof M=="function"&&M!==m.entries&&(M=M.call(m),M!==m))for(;!(m=M.next()).done;)T(m.value)&&x(m.value,N)}}function T(m){return typeof m=="object"&&m!==null&&m.$$typeof===H}function x(m,N){if(m._store&&!m._store.validated&&m.key==null&&(m._store.validated=1,N=j(N),!bt[N])){bt[N]=!0;var M="";m&&m._owner!=null&&m._owner!==u()&&(M=null,typeof m._owner.tag=="number"?M=e(m._owner.type):typeof m._owner.name=="string"&&(M=m._owner.name),M=" It was passed a child from "+M+".");var Z=R.getCurrentStack;R.getCurrentStack=function(){var me=d(m.type);return Z&&(me+=Z()||""),me},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',N,M),R.getCurrentStack=Z}}function j(m){var N="",M=u();return M&&(M=e(M.type))&&(N=`
|
|
69
|
+
|
|
70
|
+
Check the render method of \``+M+"`."),N||(m=e(m))&&(N=`
|
|
71
|
+
|
|
72
|
+
Check the top-level render call using <`+m+">."),N}var P=wt(),H=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),k=Symbol.iterator,C=Symbol.for("react.client.reference"),R=P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Object.prototype.hasOwnProperty,y=Object.assign,S=Symbol.for("react.client.reference"),I=Array.isArray,U=0,oe,$,le,re,Pe,Be,ze;o.__reactDisabledLog=!0;var $e,Ie,ke=!1,Ye=new(typeof WeakMap=="function"?WeakMap:Map),Ze=Symbol.for("react.client.reference"),Ve,It={},_t={},bt={};pt.Fragment=X,pt.jsx=function(m,N,M,Z,me){return w(m,N,M,!1,Z,me)},pt.jsxs=function(m,N,M,Z,me){return w(m,N,M,!0,Z,me)}}()),pt}var Ln;function co(){return Ln||(Ln=1,process.env.NODE_ENV==="production"?Pt.exports=ao():Pt.exports=uo()),Pt.exports}var Ne=co();/*!
|
|
73
|
+
* tabbable 6.2.0
|
|
74
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
75
|
+
*/var lo=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],nn=lo.join(","),Dn=typeof Element>"u",ht=Dn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,kt=!Dn&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},jt=function e(t,r){var o;r===void 0&&(r=!0);var i=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),s=i===""||i==="true",a=s||r&&t&&e(t.parentNode);return a},fo=function(t){var r,o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return o===""||o==="true"},mo=function(t,r,o){if(jt(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(nn));return r&&ht.call(t,nn)&&i.unshift(t),i=i.filter(o),i},go=function e(t,r,o){for(var i=[],s=Array.from(t);s.length;){var a=s.shift();if(!jt(a,!1))if(a.tagName==="SLOT"){var c=a.assignedElements(),d=c.length?c:a.children,u=e(d,!0,o);o.flatten?i.push.apply(i,u):i.push({scopeParent:a,candidates:u})}else{var v=ht.call(a,nn);v&&o.filter(a)&&(r||!t.includes(a))&&i.push(a);var g=a.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(a),f=!jt(g,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(g&&f){var h=e(g===!0?a.children:g.children,!0,o);o.flatten?i.push.apply(i,h):i.push({scopeParent:a,candidates:h})}else s.unshift.apply(s,a.children)}}return i},zn=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},$n=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||fo(t))&&!zn(t)?0:t.tabIndex},po=function(t,r){var o=$n(t);return o<0&&r&&!zn(t)?0:o},ho=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},In=function(t){return t.tagName==="INPUT"},vo=function(t){return In(t)&&t.type==="hidden"},yo=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return r},_o=function(t,r){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===r)return t[o]},bo=function(t){if(!t.name)return!0;var r=t.form||kt(t),o=function(c){return r.querySelectorAll('input[type="radio"][name="'+c+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=o(window.CSS.escape(t.name));else try{i=o(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var s=_o(i,t.form);return!s||s===t},Eo=function(t){return In(t)&&t.type==="radio"},wo=function(t){return Eo(t)&&!bo(t)},Ro=function(t){var r,o=t&&kt(t),i=(r=o)===null||r===void 0?void 0:r.host,s=!1;if(o&&o!==t){var a,c,d;for(s=!!((a=i)!==null&&a!==void 0&&(c=a.ownerDocument)!==null&&c!==void 0&&c.contains(i)||t!=null&&(d=t.ownerDocument)!==null&&d!==void 0&&d.contains(t));!s&&i;){var u,v,g;o=kt(i),i=(u=o)===null||u===void 0?void 0:u.host,s=!!((v=i)!==null&&v!==void 0&&(g=v.ownerDocument)!==null&&g!==void 0&&g.contains(i))}}return s},Yn=function(t){var r=t.getBoundingClientRect(),o=r.width,i=r.height;return o===0&&i===0},To=function(t,r){var o=r.displayCheck,i=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=ht.call(t,"details>summary:first-of-type"),a=s?t.parentElement:t;if(ht.call(a,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof i=="function"){for(var c=t;t;){var d=t.parentElement,u=kt(t);if(d&&!d.shadowRoot&&i(d)===!0)return Yn(t);t.assignedSlot?t=t.assignedSlot:!d&&u!==t.ownerDocument?t=u.host:t=d}t=c}if(Ro(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Yn(t);return!1},Oo=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var o=0;o<r.children.length;o++){var i=r.children.item(o);if(i.tagName==="LEGEND")return ht.call(r,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}r=r.parentElement}return!1},xo=function(t,r){return!(r.disabled||jt(r)||vo(r)||To(r,t)||yo(r)||Oo(r))},Hn=function(t,r){return!(wo(r)||$n(r)<0||!xo(t,r))},Co=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},So=function e(t){var r=[],o=[];return t.forEach(function(i,s){var a=!!i.scopeParent,c=a?i.scopeParent:i,d=po(c,a),u=a?e(i.candidates):c;d===0?a?r.push.apply(r,u):r.push(c):o.push({documentOrder:s,tabIndex:d,item:i,isScope:a,content:u})}),o.sort(ho).reduce(function(i,s){return s.isScope?i.push.apply(i,s.content):i.push(s.content),i},[]).concat(r)},Wn=function(t,r){r=r||{};var o;return r.getShadowRoot?o=go([t],r.includeContainer,{filter:Hn.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Co}):o=mo(t,r.includeContainer,Hn.bind(null,r)),So(o)},Mt={exports:{}},ve={};/**
|
|
76
|
+
* @license React
|
|
77
|
+
* react-dom.production.js
|
|
78
|
+
*
|
|
79
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
80
|
+
*
|
|
81
|
+
* This source code is licensed under the MIT license found in the
|
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/var Fn;function Ao(){if(Fn)return ve;Fn=1;var e=wt();function t(d){var u="https://react.dev/errors/"+d;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)u+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+d+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var o={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(d,u,v){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:g==null?null:""+g,children:d,containerInfo:u,implementation:v}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,u){if(d==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return ve.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ve.createPortal=function(d,u){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(t(299));return s(d,u,null,v)},ve.flushSync=function(d){var u=a.T,v=o.p;try{if(a.T=null,o.p=2,d)return d()}finally{a.T=u,o.p=v,o.d.f()}},ve.preconnect=function(d,u){typeof d=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,o.d.C(d,u))},ve.prefetchDNS=function(d){typeof d=="string"&&o.d.D(d)},ve.preinit=function(d,u){if(typeof d=="string"&&u&&typeof u.as=="string"){var v=u.as,g=c(v,u.crossOrigin),f=typeof u.integrity=="string"?u.integrity:void 0,h=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;v==="style"?o.d.S(d,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:g,integrity:f,fetchPriority:h}):v==="script"&&o.d.X(d,{crossOrigin:g,integrity:f,fetchPriority:h,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},ve.preinitModule=function(d,u){if(typeof d=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var v=c(u.as,u.crossOrigin);o.d.M(d,{crossOrigin:v,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&o.d.M(d)},ve.preload=function(d,u){if(typeof d=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var v=u.as,g=c(v,u.crossOrigin);o.d.L(d,v,{crossOrigin:g,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},ve.preloadModule=function(d,u){if(typeof d=="string")if(u){var v=c(u.as,u.crossOrigin);o.d.m(d,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:v,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else o.d.m(d)},ve.requestFormReset=function(d){o.d.r(d)},ve.unstable_batchedUpdates=function(d,u){return d(u)},ve.useFormState=function(d,u,v){return a.H.useFormState(d,u,v)},ve.useFormStatus=function(){return a.H.useHostTransitionStatus()},ve.version="19.0.0",ve}var ye={};/**
|
|
84
|
+
* @license React
|
|
85
|
+
* react-dom.development.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/var Un;function No(){return Un||(Un=1,process.env.NODE_ENV!=="production"&&function(){function e(){}function t(g){return""+g}function r(g,f,h){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(w);var E=!1}catch{E=!0}return E&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"),t(w)),{$$typeof:u,key:w==null?null:""+w,children:g,containerInfo:f,implementation:h}}function o(g,f){if(g==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}function i(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":'something with type "'+typeof g+'"'}function s(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":typeof g=="string"?JSON.stringify(g):typeof g=="number"?"`"+g+"`":'something with type "'+typeof g+'"'}function a(){var g=v.H;return g===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
92
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
93
|
+
2. You might be breaking the Rules of Hooks
|
|
94
|
+
3. You might have more than one copy of React in the same app
|
|
95
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=wt(),d={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},u=Symbol.for("react.portal"),v=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,ye.createPortal=function(g,f){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error("Target container is not a DOM element.");return r(g,f,null,h)},ye.flushSync=function(g){var f=v.T,h=d.p;try{if(v.T=null,d.p=2,g)return g()}finally{v.T=f,d.p=h,d.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ye.preconnect=function(g,f){typeof g=="string"&&g?f!=null&&typeof f!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",s(f)):f!=null&&typeof f.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",i(f.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(g)),typeof g=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,d.d.C(g,f))},ye.prefetchDNS=function(g){if(typeof g!="string"||!g)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(g));else if(1<arguments.length){var f=arguments[1];typeof f=="object"&&f.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(f))}typeof g=="string"&&d.d.D(g)},ye.preinit=function(g,f){if(typeof g=="string"&&g?f==null||typeof f!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",s(f)):f.as!=="style"&&f.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',s(f.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(g)),typeof g=="string"&&f&&typeof f.as=="string"){var h=f.as,w=o(h,f.crossOrigin),E=typeof f.integrity=="string"?f.integrity:void 0,T=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;h==="style"?d.d.S(g,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:w,integrity:E,fetchPriority:T}):h==="script"&&d.d.X(g,{crossOrigin:w,integrity:E,fetchPriority:T,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},ye.preinitModule=function(g,f){var h="";if(typeof g=="string"&&g||(h+=" The `href` argument encountered was "+i(g)+"."),f!==void 0&&typeof f!="object"?h+=" The `options` argument encountered was "+i(f)+".":f&&"as"in f&&f.as!=="script"&&(h+=" The `as` option encountered was "+s(f.as)+"."),h)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",h);else switch(h=f&&typeof f.as=="string"?f.as:"script",h){case"script":break;default:h=s(h),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',h,g)}typeof g=="string"&&(typeof f=="object"&&f!==null?(f.as==null||f.as==="script")&&(h=o(f.as,f.crossOrigin),d.d.M(g,{crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})):f==null&&d.d.M(g))},ye.preload=function(g,f){var h="";if(typeof g=="string"&&g||(h+=" The `href` argument encountered was "+i(g)+"."),f==null||typeof f!="object"?h+=" The `options` argument encountered was "+i(f)+".":typeof f.as=="string"&&f.as||(h+=" The `as` option encountered was "+i(f.as)+"."),h&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',h),typeof g=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){h=f.as;var w=o(h,f.crossOrigin);d.d.L(g,h,{crossOrigin:w,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},ye.preloadModule=function(g,f){var h="";typeof g=="string"&&g||(h+=" The `href` argument encountered was "+i(g)+"."),f!==void 0&&typeof f!="object"?h+=" The `options` argument encountered was "+i(f)+".":f&&"as"in f&&typeof f.as!="string"&&(h+=" The `as` option encountered was "+i(f.as)+"."),h&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',h),typeof g=="string"&&(f?(h=o(f.as,f.crossOrigin),d.d.m(g,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0})):d.d.m(g))},ye.requestFormReset=function(g){d.d.r(g)},ye.unstable_batchedUpdates=function(g,f){return g(f)},ye.useFormState=function(g,f,h){return a().useFormState(g,f,h)},ye.useFormStatus=function(){return a().useHostTransitionStatus()},ye.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ye}var Bn;function Po(){if(Bn)return Mt.exports;Bn=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),Mt.exports=Ao()):Mt.exports=No(),Mt.exports}var Vn=Po();function qn(e,t,r){let{reference:o,floating:i}=e;const s=st(t),a=en(t),c=Jt(a),d=Ke(t),u=s==="y",v=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,f=o[c]/2-i[c]/2;let h;switch(d){case"top":h={x:v,y:o.y-i.height};break;case"bottom":h={x:v,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:g};break;case"left":h={x:o.x-i.width,y:g};break;default:h={x:o.x,y:o.y}}switch(mt(t)){case"start":h[a]-=f*(r&&u?-1:1);break;case"end":h[a]+=f*(r&&u?-1:1);break}return h}const ko=async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=s.filter(Boolean),d=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:v,y:g}=qn(u,o,d),f=o,h={},w=0;for(let E=0;E<c.length;E++){const{name:T,fn:x}=c[E],{x:j,y:P,data:H,reset:A}=await x({x:v,y:g,initialPlacement:o,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});v=j??v,g=P??g,h={...h,[T]:{...h[T],...H}},A&&w<=50&&(w++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(u=A.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:v,y:g}=qn(u,f,d)),E=-1)}return{x:v,y:g,placement:f,strategy:i,middlewareData:h}};async function Gn(e,t){var r;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:a,elements:c,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:f=!1,padding:h=0}=dt(t,e),w=kn(h),T=c[f?g==="floating"?"reference":"floating":g],x=Nt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(T)))==null||r?T:T.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:v,strategy:d})),j=g==="floating"?{x:o,y:i,width:a.floating.width,height:a.floating.height}:a.reference,P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),H=await(s.isElement==null?void 0:s.isElement(P))?await(s.getScale==null?void 0:s.getScale(P))||{x:1,y:1}:{x:1,y:1},A=Nt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:j,offsetParent:P,strategy:d}):j);return{top:(x.top-A.top+w.top)/H.y,bottom:(A.bottom-x.bottom+w.bottom)/H.y,left:(x.left-A.left+w.left)/H.x,right:(A.right-x.right+w.right)/H.x}}const jo=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:s,platform:a,elements:c,middlewareData:d}=t,{element:u,padding:v=0}=dt(e,t)||{};if(u==null)return{};const g=kn(v),f={x:r,y:o},h=en(i),w=Jt(h),E=await a.getDimensions(u),T=h==="y",x=T?"top":"left",j=T?"bottom":"right",P=T?"clientHeight":"clientWidth",H=s.reference[w]+s.reference[h]-f[h]-s.floating[w],A=f[h]-s.reference[h],X=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let B=X?X[P]:0;(!B||!await(a.isElement==null?void 0:a.isElement(X)))&&(B=c.floating[P]||s.floating[w]);const ee=H/2-A/2,q=B/2-E[w]/2-1,ne=it(g[x],q),te=it(g[j],q),Q=ne,J=B-E[w]-te,V=B/2-E[w]/2+ee,z=Zt(Q,V,J),W=!d.arrow&&mt(i)!=null&&V!==z&&s.reference[w]/2-(V<Q?ne:te)-E[w]/2<0,k=W?V<Q?V-Q:V-J:0;return{[h]:f[h]+k,data:{[h]:z,centerOffset:V-z-k,...W&&{alignmentOffset:k}},reset:W}}}),Mo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:s,rects:a,initialPlacement:c,platform:d,elements:u}=t,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:E=!0,...T}=dt(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const x=Ke(i),j=st(c),P=Ke(c)===c,H=await(d.isRTL==null?void 0:d.isRTL(u.floating)),A=f||(P||!E?[At(c)]:ro(c)),X=w!=="none";!f&&X&&A.push(...io(c,E,w,H));const B=[c,...A],ee=await Gn(t,T),q=[];let ne=((o=s.flip)==null?void 0:o.overflows)||[];if(v&&q.push(ee[x]),g){const V=no(i,a,H);q.push(ee[V[0]],ee[V[1]])}if(ne=[...ne,{placement:i,overflows:q}],!q.every(V=>V<=0)){var te,Q;const V=(((te=s.flip)==null?void 0:te.index)||0)+1,z=B[V];if(z)return{data:{index:V,overflows:ne},reset:{placement:z}};let W=(Q=ne.filter(k=>k.overflows[0]<=0).sort((k,C)=>k.overflows[1]-C.overflows[1])[0])==null?void 0:Q.placement;if(!W)switch(h){case"bestFit":{var J;const k=(J=ne.filter(C=>{if(X){const R=st(C.placement);return R===j||R==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(R=>R>0).reduce((R,l)=>R+l,0)]).sort((C,R)=>C[1]-R[1])[0])==null?void 0:J[0];k&&(W=k);break}case"initialPlacement":W=c;break}if(i!==W)return{reset:{placement:W}}}return{}}}};async function Lo(e,t){const{placement:r,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=Ke(r),c=mt(r),d=st(r)==="y",u=["left","top"].includes(a)?-1:1,v=s&&d?-1:1,g=dt(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:w}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return c&&typeof w=="number"&&(h=c==="end"?w*-1:w),d?{x:h*v,y:f*u}:{x:f*u,y:h*v}}const Do=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:s,placement:a,middlewareData:c}=t,d=await Lo(t,e);return a===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},zo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:c={fn:T=>{let{x,y:j}=T;return{x,y:j}}},...d}=dt(e,t),u={x:r,y:o},v=await Gn(t,d),g=st(Ke(i)),f=Pn(g);let h=u[f],w=u[g];if(s){const T=f==="y"?"top":"left",x=f==="y"?"bottom":"right",j=h+v[T],P=h-v[x];h=Zt(j,h,P)}if(a){const T=g==="y"?"top":"left",x=g==="y"?"bottom":"right",j=w+v[T],P=w-v[x];w=Zt(j,w,P)}const E=c.fn({...t,[f]:h,[g]:w});return{...E,data:{x:E.x-r,y:E.y-o,enabled:{[f]:s,[g]:a}}}}}};function Kn(e){const t=we(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Ee(e),s=i?e.offsetWidth:r,a=i?e.offsetHeight:o,c=Ct(r)!==s||Ct(o)!==a;return c&&(r=s,o=a),{width:r,height:o,$:c}}function rn(e){return ce(e)?e:e.contextElement}function at(e){const t=rn(e);if(!Ee(t))return Ae(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:s}=Kn(t);let a=(s?Ct(r.width):r.width)/o,c=(s?Ct(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const $o=Ae(0);function Xn(e){const t=_e(e);return!Ot()||!t.visualViewport?$o:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Io(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==_e(e)?!1:t}function Xe(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=rn(e);let a=Ae(1);t&&(o?ce(o)&&(a=at(o)):a=at(e));const c=Io(s,r,o)?Xn(s):Ae(0);let d=(i.left+c.x)/a.x,u=(i.top+c.y)/a.y,v=i.width/a.x,g=i.height/a.y;if(s){const f=_e(s),h=o&&ce(o)?_e(o):o;let w=f,E=Gt(w);for(;E&&o&&h!==w;){const T=at(E),x=E.getBoundingClientRect(),j=we(E),P=x.left+(E.clientLeft+parseFloat(j.paddingLeft))*T.x,H=x.top+(E.clientTop+parseFloat(j.paddingTop))*T.y;d*=T.x,u*=T.y,v*=T.x,g*=T.y,d+=P,u+=H,w=_e(E),E=Gt(w)}}return Nt({width:v,height:g,x:d,y:u})}function on(e,t){const r=xt(e).scrollLeft;return t?t.left+r:Xe(Se(e)).left+r}function Qn(e,t,r){r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-(r?0:on(e,o)),s=o.top+t.scrollTop;return{x:i,y:s}}function Yo(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const s=i==="fixed",a=Se(o),c=t?Tt(t.floating):!1;if(o===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},u=Ae(1);const v=Ae(0),g=Ee(o);if((g||!g&&!s)&&((nt(o)!=="body"||ft(a))&&(d=xt(o)),Ee(o))){const h=Xe(o);u=at(o),v.x=h.x+o.clientLeft,v.y=h.y+o.clientTop}const f=a&&!g&&!s?Qn(a,d,!0):Ae(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+v.x+f.x,y:r.y*u.y-d.scrollTop*u.y+v.y+f.y}}function Ho(e){return Array.from(e.getClientRects())}function Wo(e){const t=Se(e),r=xt(e),o=e.ownerDocument.body,i=Ge(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Ge(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+on(e);const c=-r.scrollTop;return we(o).direction==="rtl"&&(a+=Ge(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:a,y:c}}function Fo(e,t){const r=_e(e),o=Se(e),i=r.visualViewport;let s=o.clientWidth,a=o.clientHeight,c=0,d=0;if(i){s=i.width,a=i.height;const u=Ot();(!u||u&&t==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:s,height:a,x:c,y:d}}function Uo(e,t){const r=Xe(e,!0,t==="fixed"),o=r.top+e.clientTop,i=r.left+e.clientLeft,s=Ee(e)?at(e):Ae(1),a=e.clientWidth*s.x,c=e.clientHeight*s.y,d=i*s.x,u=o*s.y;return{width:a,height:c,x:d,y:u}}function Zn(e,t,r){let o;if(t==="viewport")o=Fo(e,r);else if(t==="document")o=Wo(Se(e));else if(ce(t))o=Uo(t,r);else{const i=Xn(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Nt(o)}function Jn(e,t){const r=Le(e);return r===t||!ce(r)||Me(r)?!1:we(r).position==="fixed"||Jn(r,t)}function Bo(e,t){const r=t.get(e);if(r)return r;let o=Fe(e,[],!1).filter(c=>ce(c)&&nt(c)!=="body"),i=null;const s=we(e).position==="fixed";let a=s?Le(e):e;for(;ce(a)&&!Me(a);){const c=we(a),d=qt(a);!d&&c.position==="fixed"&&(i=null),(s?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ft(a)&&!d&&Jn(e,a))?o=o.filter(v=>v!==a):i=c,a=Le(a)}return t.set(e,o),o}function Vo(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const a=[...r==="clippingAncestors"?Tt(t)?[]:Bo(t,this._c):[].concat(r),o],c=a[0],d=a.reduce((u,v)=>{const g=Zn(t,v,i);return u.top=Ge(g.top,u.top),u.right=it(g.right,u.right),u.bottom=it(g.bottom,u.bottom),u.left=Ge(g.left,u.left),u},Zn(t,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function qo(e){const{width:t,height:r}=Kn(e);return{width:t,height:r}}function Go(e,t,r){const o=Ee(t),i=Se(t),s=r==="fixed",a=Xe(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const d=Ae(0);if(o||!o&&!s)if((nt(t)!=="body"||ft(i))&&(c=xt(t)),o){const f=Xe(t,!0,s,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else i&&(d.x=on(i));const u=i&&!o&&!s?Qn(i,c):Ae(0),v=a.left+c.scrollLeft-d.x-u.x,g=a.top+c.scrollTop-d.y-u.y;return{x:v,y:g,width:a.width,height:a.height}}function sn(e){return we(e).position==="static"}function er(e,t){if(!Ee(e)||we(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Se(e)===r&&(r=r.ownerDocument.body),r}function tr(e,t){const r=_e(e);if(Tt(e))return r;if(!Ee(e)){let i=Le(e);for(;i&&!Me(i);){if(ce(i)&&!sn(i))return i;i=Le(i)}return r}let o=er(e,t);for(;o&&Br(o)&&sn(o);)o=er(o,t);return o&&Me(o)&&sn(o)&&!qt(o)?r:o||Vr(e)||r}const Ko=async function(e){const t=this.getOffsetParent||tr,r=this.getDimensions,o=await r(e.floating);return{reference:Go(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Xo(e){return we(e).direction==="rtl"}const Qo={convertOffsetParentRelativeRectToViewportRelativeRect:Yo,getDocumentElement:Se,getClippingRect:Vo,getOffsetParent:tr,getElementRects:Ko,getClientRects:Ho,getDimensions:qo,getScale:at,isElement:ce,isRTL:Xo};function nr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Zo(e,t){let r=null,o;const i=Se(e);function s(){var c;clearTimeout(o),(c=r)==null||c.disconnect(),r=null}function a(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),s();const u=e.getBoundingClientRect(),{left:v,top:g,width:f,height:h}=u;if(c||t(),!f||!h)return;const w=St(g),E=St(i.clientWidth-(v+f)),T=St(i.clientHeight-(g+h)),x=St(v),P={rootMargin:-w+"px "+-E+"px "+-T+"px "+-x+"px",threshold:Ge(0,it(1,d))||1};let H=!0;function A(X){const B=X[0].intersectionRatio;if(B!==d){if(!H)return a();B?a(!1,B):o=setTimeout(()=>{a(!1,1e-7)},1e3)}B===1&&!nr(u,e.getBoundingClientRect())&&a(),H=!1}try{r=new IntersectionObserver(A,{...P,root:i.ownerDocument})}catch{r=new IntersectionObserver(A,P)}r.observe(e)}return a(!0),s}function Jo(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,u=rn(e),v=i||s?[...u?Fe(u):[],...Fe(t)]:[];v.forEach(x=>{i&&x.addEventListener("scroll",r,{passive:!0}),s&&x.addEventListener("resize",r)});const g=u&&c?Zo(u,r):null;let f=-1,h=null;a&&(h=new ResizeObserver(x=>{let[j]=x;j&&j.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var P;(P=h)==null||P.observe(t)})),r()}),u&&!d&&h.observe(u),h.observe(t));let w,E=d?Xe(e):null;d&&T();function T(){const x=Xe(e);E&&!nr(E,x)&&r(),E=x,w=requestAnimationFrame(T)}return r(),()=>{var x;v.forEach(j=>{i&&j.removeEventListener("scroll",r),s&&j.removeEventListener("resize",r)}),g==null||g(),(x=h)==null||x.disconnect(),h=null,d&&cancelAnimationFrame(w)}}const ei=Do,ti=zo,ni=Mo,rr=jo,ri=(e,t,r)=>{const o=new Map,i={platform:Qo,...r},s={...i.platform,_c:o};return ko(e,t,{...i,platform:s})};var Lt=typeof document<"u"?_.useLayoutEffect:_.useEffect;function Dt(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 r,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!Dt(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){const s=i[o];if(!(s==="_owner"&&e.$$typeof)&&!Dt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function or(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ir(e,t){const r=or(e);return Math.round(t*r)/r}function an(e){const t=_.useRef(e);return Lt(()=>{t.current=e}),t}function oi(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:a}={},transform:c=!0,whileElementsMounted:d,open:u}=e,[v,g]=_.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=_.useState(o);Dt(f,o)||h(o);const[w,E]=_.useState(null),[T,x]=_.useState(null),j=_.useCallback(C=>{C!==X.current&&(X.current=C,E(C))},[]),P=_.useCallback(C=>{C!==B.current&&(B.current=C,x(C))},[]),H=s||w,A=a||T,X=_.useRef(null),B=_.useRef(null),ee=_.useRef(v),q=d!=null,ne=an(d),te=an(i),Q=an(u),J=_.useCallback(()=>{if(!X.current||!B.current)return;const C={placement:t,strategy:r,middleware:f};te.current&&(C.platform=te.current),ri(X.current,B.current,C).then(R=>{const l={...R,isPositioned:Q.current!==!1};V.current&&!Dt(ee.current,l)&&(ee.current=l,Vn.flushSync(()=>{g(l)}))})},[f,t,r,te,Q]);Lt(()=>{u===!1&&ee.current.isPositioned&&(ee.current.isPositioned=!1,g(C=>({...C,isPositioned:!1})))},[u]);const V=_.useRef(!1);Lt(()=>(V.current=!0,()=>{V.current=!1}),[]),Lt(()=>{if(H&&(X.current=H),A&&(B.current=A),H&&A){if(ne.current)return ne.current(H,A,J);J()}},[H,A,J,ne,q]);const z=_.useMemo(()=>({reference:X,floating:B,setReference:j,setFloating:P}),[j,P]),W=_.useMemo(()=>({reference:H,floating:A}),[H,A]),k=_.useMemo(()=>{const C={position:r,left:0,top:0};if(!W.floating)return C;const R=ir(W.floating,v.x),l=ir(W.floating,v.y);return c?{...C,transform:"translate("+R+"px, "+l+"px)",...or(W.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:R,top:l}},[r,c,W.floating,v.x,v.y]);return _.useMemo(()=>({...v,update:J,refs:z,elements:W,floatingStyles:k}),[v,J,z,W,k])}const ii=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:o,padding:i}=typeof e=="function"?e(r):e;return o&&t(o)?o.current!=null?rr({element:o.current,padding:i}).fn(r):{}:o?rr({element:o,padding:i}).fn(r):{}}}},si=(e,t)=>({...ei(e),options:[e,t]}),ai=(e,t)=>({...ti(e),options:[e,t]}),ui=(e,t)=>({...ni(e),options:[e,t]}),ci=(e,t)=>({...ii(e),options:[e,t]});function sr(e){return _.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})},e)}const ar={...Yr},li=ar.useInsertionEffect||(e=>e());function De(e){const t=_.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return li(()=>{t.current=e}),_.useCallback(function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t.current==null?void 0:t.current(...o)},[])}var Oe=typeof document<"u"?_.useLayoutEffect:_.useEffect;let ur=!1,fi=0;const cr=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+fi++;function di(){const[e,t]=_.useState(()=>ur?cr():void 0);return Oe(()=>{e==null&&t(cr())},[]),_.useEffect(()=>{ur=!0},[]),e}const zt=ar.useId||di;let vt;process.env.NODE_ENV!=="production"&&(vt=new Set);function mi(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];const i="Floating UI: "+r.join(" ");if(!((e=vt)!=null&&e.has(i))){var s;(s=vt)==null||s.add(i),console.warn(i)}}function gi(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];const i="Floating UI: "+r.join(" ");if(!((e=vt)!=null&&e.has(i))){var s;(s=vt)==null||s.add(i),console.error(i)}}const lr=_.forwardRef(function(t,r){const{context:{placement:o,elements:{floating:i},middlewareData:{arrow:s,shift:a}},width:c=14,height:d=7,tipRadius:u=0,strokeWidth:v=0,staticOffset:g,stroke:f,d:h,style:{transform:w,...E}={},...T}=t;process.env.NODE_ENV!=="production"&&(r||mi("The `ref` prop is required for `FloatingArrow`."));const x=zt(),[j,P]=_.useState(!1);if(Oe(()=>{if(!i)return;we(i).direction==="rtl"&&P(!0)},[i]),!i)return null;const[H,A]=o.split("-"),X=H==="top"||H==="bottom";let B=g;(X&&a!=null&&a.x||!X&&a!=null&&a.y)&&(B=null);const ee=v*2,q=ee/2,ne=c/2*(u/-8+1),te=d/2*u/4,Q=!!h,J=B&&A==="end"?"bottom":"top";let V=B&&A==="end"?"right":"left";B&&j&&(V=A==="end"?"left":"right");const z=(s==null?void 0:s.x)!=null?B||s.x:"",W=(s==null?void 0:s.y)!=null?B||s.y:"",k=h||"M0,0"+(" H"+c)+(" L"+(c-ne)+","+(d-te))+(" Q"+c/2+","+d+" "+ne+","+(d-te))+" Z",C={top:Q?"rotate(180deg)":"",left:Q?"rotate(90deg)":"rotate(-90deg)",bottom:Q?"":"rotate(180deg)",right:Q?"rotate(-90deg)":"rotate(90deg)"}[H];return Ne.jsxs("svg",{...T,"aria-hidden":!0,ref:r,width:Q?c:c+ee,height:c,viewBox:"0 0 "+c+" "+(d>c?d:c),style:{position:"absolute",pointerEvents:"none",[V]:z,[J]:W,[H]:X||Q?"100%":"calc(100% - "+ee/2+"px)",transform:[C,w].filter(R=>!!R).join(" "),...E},children:[ee>0&&Ne.jsx("path",{clipPath:"url(#"+x+")",fill:"none",stroke:f,strokeWidth:ee+(h?0:1),d:k}),Ne.jsx("path",{stroke:ee&&!h?T.fill:"none",d:k}),Ne.jsx("clipPath",{id:x,children:Ne.jsx("rect",{x:-q,y:q*(Q?-1:1),width:c+ee,height:c})})]})});function pi(){const e=new Map;return{emit(t,r){var o;(o=e.get(t))==null||o.forEach(i=>i(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var o;e.set(t,((o=e.get(t))==null?void 0:o.filter(i=>i!==r))||[])}}}const hi=_.createContext(null),vi=_.createContext(null),un=()=>{var e;return((e=_.useContext(hi))==null?void 0:e.id)||null},cn=()=>_.useContext(vi);function yt(e){return"data-floating-ui-"+e}function ln(e){const t=_.useRef(e);return Oe(()=>{t.current=e}),t}const fr=yt("safe-polygon");function fn(e,t,r){return r&&!Xt(r)?0:typeof e=="number"?e:e==null?void 0:e[t]}function yi(e,t){t===void 0&&(t={});const{open:r,onOpenChange:o,dataRef:i,events:s,elements:a}=e,{enabled:c=!0,delay:d=0,handleClose:u=null,mouseOnly:v=!1,restMs:g=0,move:f=!0}=t,h=cn(),w=un(),E=ln(u),T=ln(d),x=ln(r),j=_.useRef(),P=_.useRef(-1),H=_.useRef(),A=_.useRef(-1),X=_.useRef(!0),B=_.useRef(!1),ee=_.useRef(()=>{}),q=_.useRef(!1),ne=_.useCallback(()=>{var k;const C=(k=i.current.openEvent)==null?void 0:k.type;return(C==null?void 0:C.includes("mouse"))&&C!=="mousedown"},[i]);_.useEffect(()=>{if(!c)return;function k(C){let{open:R}=C;R||(clearTimeout(P.current),clearTimeout(A.current),X.current=!0,q.current=!1)}return s.on("openchange",k),()=>{s.off("openchange",k)}},[c,s]),_.useEffect(()=>{if(!c||!E.current||!r)return;function k(R){ne()&&o(!1,R,"hover")}const C=Ue(a.floating).documentElement;return C.addEventListener("mouseleave",k),()=>{C.removeEventListener("mouseleave",k)}},[a.floating,r,o,c,E,ne]);const te=_.useCallback(function(k,C,R){C===void 0&&(C=!0),R===void 0&&(R="hover");const l=fn(T.current,"close",j.current);l&&!H.current?(clearTimeout(P.current),P.current=window.setTimeout(()=>o(!1,k,R),l)):C&&(clearTimeout(P.current),o(!1,k,R))},[T,o]),Q=De(()=>{ee.current(),H.current=void 0}),J=De(()=>{if(B.current){const k=Ue(a.floating).body;k.style.pointerEvents="",k.removeAttribute(fr),B.current=!1}}),V=De(()=>i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1);_.useEffect(()=>{if(!c)return;function k(y){if(clearTimeout(P.current),X.current=!1,v&&!Xt(j.current)||g>0&&!fn(T.current,"open"))return;const S=fn(T.current,"open",j.current);S?P.current=window.setTimeout(()=>{x.current||o(!0,y,"hover")},S):r||o(!0,y,"hover")}function C(y){if(V())return;ee.current();const S=Ue(a.floating);if(clearTimeout(A.current),q.current=!1,E.current&&i.current.floatingContext){r||clearTimeout(P.current),H.current=E.current({...i.current.floatingContext,tree:h,x:y.clientX,y:y.clientY,onClose(){J(),Q(),V()||te(y,!0,"safe-polygon")}});const U=H.current;S.addEventListener("mousemove",U),ee.current=()=>{S.removeEventListener("mousemove",U)};return}(j.current==="touch"?!rt(a.floating,y.relatedTarget):!0)&&te(y)}function R(y){V()||i.current.floatingContext&&(E.current==null||E.current({...i.current.floatingContext,tree:h,x:y.clientX,y:y.clientY,onClose(){J(),Q(),V()||te(y)}})(y))}if(ce(a.domReference)){var l;const y=a.domReference;return r&&y.addEventListener("mouseleave",R),(l=a.floating)==null||l.addEventListener("mouseleave",R),f&&y.addEventListener("mousemove",k,{once:!0}),y.addEventListener("mouseenter",k),y.addEventListener("mouseleave",C),()=>{var S;r&&y.removeEventListener("mouseleave",R),(S=a.floating)==null||S.removeEventListener("mouseleave",R),f&&y.removeEventListener("mousemove",k),y.removeEventListener("mouseenter",k),y.removeEventListener("mouseleave",C)}}},[a,c,e,v,g,f,te,Q,J,o,r,x,h,T,E,i,V]),Oe(()=>{var k;if(c&&r&&(k=E.current)!=null&&k.__options.blockPointerEvents&&ne()){B.current=!0;const R=a.floating;if(ce(a.domReference)&&R){var C;const l=Ue(a.floating).body;l.setAttribute(fr,"");const y=a.domReference,S=h==null||(C=h.nodesRef.current.find(I=>I.id===w))==null||(C=C.context)==null?void 0:C.elements.floating;return S&&(S.style.pointerEvents=""),l.style.pointerEvents="none",y.style.pointerEvents="auto",R.style.pointerEvents="auto",()=>{l.style.pointerEvents="",y.style.pointerEvents="",R.style.pointerEvents=""}}}},[c,r,w,a,h,E,ne]),Oe(()=>{r||(j.current=void 0,q.current=!1,Q(),J())},[r,Q,J]),_.useEffect(()=>()=>{Q(),clearTimeout(P.current),clearTimeout(A.current),J()},[c,a.domReference,Q,J]);const z=_.useMemo(()=>{function k(C){j.current=C.pointerType}return{onPointerDown:k,onPointerEnter:k,onMouseMove(C){const{nativeEvent:R}=C;function l(){!X.current&&!x.current&&o(!0,R,"hover")}v&&!Xt(j.current)||r||g===0||q.current&&C.movementX**2+C.movementY**2<2||(clearTimeout(A.current),j.current==="touch"?l():(q.current=!0,A.current=window.setTimeout(l,g)))}}},[v,o,r,x,g]),W=_.useMemo(()=>({onMouseEnter(){clearTimeout(P.current)},onMouseLeave(k){V()||te(k.nativeEvent,!1)}}),[te,V]);return _.useMemo(()=>c?{reference:z,floating:W}:{},[c,z,W])}function dn(e,t){let r=e.filter(i=>{var s;return i.parentId===t&&((s=i.context)==null?void 0:s.open)}),o=r;for(;o.length;)o=e.filter(i=>{var s;return(s=o)==null?void 0:s.some(a=>{var c;return i.parentId===a.id&&((c=i.context)==null?void 0:c.open)})}),r=r.concat(o);return r}const dr=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function mr(e,t){const r=Wn(e,dr());t==="prev"&&r.reverse();const o=r.indexOf(Kt(Ue(e)));return r.slice(o+1)[0]}function _i(){return mr(document.body,"next")}function bi(){return mr(document.body,"prev")}function mn(e,t){const r=t||e.currentTarget,o=e.relatedTarget;return!o||!rt(r,o)}function Ei(e){Wn(e,dr()).forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")})}function gr(e){e.querySelectorAll("[data-tabindex]").forEach(r=>{const o=r.dataset.tabindex;delete r.dataset.tabindex,o?r.setAttribute("tabindex",o):r.removeAttribute("tabindex")})}const pr={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let wi;function hr(e){e.key==="Tab"&&(e.target,clearTimeout(wi))}const vr=_.forwardRef(function(t,r){const[o,i]=_.useState();Oe(()=>(An()&&i("button"),document.addEventListener("keydown",hr),()=>{document.removeEventListener("keydown",hr)}),[]);const s={ref:r,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,[yt("focus-guard")]:"",style:pr};return Ne.jsx("span",{...t,...s})}),yr=_.createContext(null),_r=yt("portal");function Ri(e){e===void 0&&(e={});const{id:t,root:r}=e,o=zt(),i=Oi(),[s,a]=_.useState(null),c=_.useRef(null);return Oe(()=>()=>{s==null||s.remove(),queueMicrotask(()=>{c.current=null})},[s]),Oe(()=>{if(!o||c.current)return;const d=t?document.getElementById(t):null;if(!d)return;const u=document.createElement("div");u.id=o,u.setAttribute(_r,""),d.appendChild(u),c.current=u,a(u)},[t,o]),Oe(()=>{if(r===null||!o||c.current)return;let d=r||(i==null?void 0:i.portalNode);d&&!ce(d)&&(d=d.current),d=d||document.body;let u=null;t&&(u=document.createElement("div"),u.id=t,d.appendChild(u));const v=document.createElement("div");v.id=o,v.setAttribute(_r,""),d=u||d,d.appendChild(v),c.current=v,a(v)},[t,r,o,i]),s}function Ti(e){const{children:t,id:r,root:o,preserveTabOrder:i=!0}=e,s=Ri({id:r,root:o}),[a,c]=_.useState(null),d=_.useRef(null),u=_.useRef(null),v=_.useRef(null),g=_.useRef(null),f=a==null?void 0:a.modal,h=a==null?void 0:a.open,w=!!a&&!a.modal&&a.open&&i&&!!(o||s);return _.useEffect(()=>{if(!s||!i||f)return;function E(T){s&&mn(T)&&(T.type==="focusin"?gr:Ei)(s)}return s.addEventListener("focusin",E,!0),s.addEventListener("focusout",E,!0),()=>{s.removeEventListener("focusin",E,!0),s.removeEventListener("focusout",E,!0)}},[s,i,f]),_.useEffect(()=>{s&&(h||gr(s))},[h,s]),Ne.jsxs(yr.Provider,{value:_.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:d,afterOutsideRef:u,beforeInsideRef:v,afterInsideRef:g,portalNode:s,setFocusManagerState:c}),[i,s]),children:[w&&s&&Ne.jsx(vr,{"data-type":"outside",ref:d,onFocus:E=>{if(mn(E,s)){var T;(T=v.current)==null||T.focus()}else{const x=bi()||(a==null?void 0:a.domReference);x==null||x.focus()}}}),w&&s&&Ne.jsx("span",{"aria-owns":s.id,style:pr}),s&&Vn.createPortal(t,s),w&&s&&Ne.jsx(vr,{"data-type":"outside",ref:u,onFocus:E=>{if(mn(E,s)){var T;(T=g.current)==null||T.focus()}else{const x=_i()||(a==null?void 0:a.domReference);x==null||x.focus(),a!=null&&a.closeOnFocusOut&&(a==null||a.onOpenChange(!1,E.nativeEvent,"focus-out"))}}})]})}const Oi=()=>_.useContext(yr),xi="data-floating-ui-focusable",Ci={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Si={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},br=e=>{var t,r;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(r=e==null?void 0:e.outsidePress)!=null?r:!0}};function Ai(e,t){t===void 0&&(t={});const{open:r,onOpenChange:o,elements:i,dataRef:s}=e,{enabled:a=!0,escapeKey:c=!0,outsidePress:d=!0,outsidePressEvent:u="pointerdown",referencePress:v=!1,referencePressEvent:g="pointerdown",ancestorScroll:f=!1,bubbles:h,capture:w}=t,E=cn(),T=De(typeof d=="function"?d:()=>!1),x=typeof d=="function"?T:d,j=_.useRef(!1),P=_.useRef(!1),{escapeKey:H,outsidePress:A}=br(h),{escapeKey:X,outsidePress:B}=br(w),ee=_.useRef(!1),q=De(z=>{var W;if(!r||!a||!c||z.key!=="Escape"||ee.current)return;const k=(W=s.current.floatingContext)==null?void 0:W.nodeId,C=E?dn(E.nodesRef.current,k):[];if(!H&&(z.stopPropagation(),C.length>0)){let R=!0;if(C.forEach(l=>{var y;if((y=l.context)!=null&&y.open&&!l.context.dataRef.current.__escapeKeyBubbles){R=!1;return}}),!R)return}o(!1,Xr(z)?z.nativeEvent:z,"escape-key")}),ne=De(z=>{var W;const k=()=>{var C;q(z),(C=ot(z))==null||C.removeEventListener("keydown",k)};(W=ot(z))==null||W.addEventListener("keydown",k)}),te=De(z=>{var W;const k=j.current;j.current=!1;const C=P.current;if(P.current=!1,u==="click"&&C||k||typeof x=="function"&&!x(z))return;const R=ot(z),l="["+yt("inert")+"]",y=Ue(i.floating).querySelectorAll(l);let S=ce(R)?R:null;for(;S&&!Me(S);){const $=Le(S);if(Me($)||!ce($))break;S=$}if(y.length&&ce(R)&&!Qr(R)&&!rt(R,i.floating)&&Array.from(y).every($=>!rt(S,$)))return;if(Ee(R)&&V){const $=Me(R),le=we(R),re=/auto|scroll/,Pe=$||re.test(le.overflowX),Be=$||re.test(le.overflowY),ze=Pe&&R.clientWidth>0&&R.scrollWidth>R.clientWidth,$e=Be&&R.clientHeight>0&&R.scrollHeight>R.clientHeight,Ie=le.direction==="rtl",ke=$e&&(Ie?z.offsetX<=R.offsetWidth-R.clientWidth:z.offsetX>R.clientWidth),Ye=ze&&z.offsetY>R.clientHeight;if(ke||Ye)return}const I=(W=s.current.floatingContext)==null?void 0:W.nodeId,U=E&&dn(E.nodesRef.current,I).some($=>{var le;return Qt(z,(le=$.context)==null?void 0:le.elements.floating)});if(Qt(z,i.floating)||Qt(z,i.domReference)||U)return;const oe=E?dn(E.nodesRef.current,I):[];if(oe.length>0){let $=!0;if(oe.forEach(le=>{var re;if((re=le.context)!=null&&re.open&&!le.context.dataRef.current.__outsidePressBubbles){$=!1;return}}),!$)return}o(!1,z,"outside-press")}),Q=De(z=>{var W;const k=()=>{var C;te(z),(C=ot(z))==null||C.removeEventListener(u,k)};(W=ot(z))==null||W.addEventListener(u,k)});_.useEffect(()=>{if(!r||!a)return;s.current.__escapeKeyBubbles=H,s.current.__outsidePressBubbles=A;let z=-1;function W(y){o(!1,y,"ancestor-scroll")}function k(){window.clearTimeout(z),ee.current=!0}function C(){z=window.setTimeout(()=>{ee.current=!1},Ot()?5:0)}const R=Ue(i.floating);c&&(R.addEventListener("keydown",X?ne:q,X),R.addEventListener("compositionstart",k),R.addEventListener("compositionend",C)),x&&R.addEventListener(u,B?Q:te,B);let l=[];return f&&(ce(i.domReference)&&(l=Fe(i.domReference)),ce(i.floating)&&(l=l.concat(Fe(i.floating))),!ce(i.reference)&&i.reference&&i.reference.contextElement&&(l=l.concat(Fe(i.reference.contextElement)))),l=l.filter(y=>{var S;return y!==((S=R.defaultView)==null?void 0:S.visualViewport)}),l.forEach(y=>{y.addEventListener("scroll",W,{passive:!0})}),()=>{c&&(R.removeEventListener("keydown",X?ne:q,X),R.removeEventListener("compositionstart",k),R.removeEventListener("compositionend",C)),x&&R.removeEventListener(u,B?Q:te,B),l.forEach(y=>{y.removeEventListener("scroll",W)}),window.clearTimeout(z)}},[s,i,c,x,u,r,o,f,a,H,A,q,X,ne,te,B,Q]),_.useEffect(()=>{j.current=!1},[x,u]);const J=_.useMemo(()=>({onKeyDown:q,...v&&{[Ci[g]]:z=>{o(!1,z.nativeEvent,"reference-press")},...g!=="click"&&{onClick(z){o(!1,z.nativeEvent,"reference-press")}}}}),[q,o,v,g]),V=_.useMemo(()=>({onKeyDown:q,onMouseDown(){P.current=!0},onMouseUp(){P.current=!0},[Si[u]]:()=>{j.current=!0}}),[q,u]);return _.useMemo(()=>a?{reference:J,floating:V}:{},[a,J,V])}function Ni(e){const{open:t=!1,onOpenChange:r,elements:o}=e,i=zt(),s=_.useRef({}),[a]=_.useState(()=>pi()),c=un()!=null;if(process.env.NODE_ENV!=="production"){const h=o.reference;h&&!ce(h)&&gi("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[d,u]=_.useState(o.reference),v=De((h,w,E)=>{s.current.openEvent=h?w:void 0,a.emit("openchange",{open:h,event:w,reason:E,nested:c}),r==null||r(h,w,E)}),g=_.useMemo(()=>({setPositionReference:u}),[]),f=_.useMemo(()=>({reference:d||o.reference||null,floating:o.floating||null,domReference:o.reference}),[d,o.reference,o.floating]);return _.useMemo(()=>({dataRef:s,open:t,onOpenChange:v,elements:f,events:a,floatingId:i,refs:g}),[t,v,f,a,i,g])}function Pi(e){e===void 0&&(e={});const{nodeId:t}=e,r=Ni({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,i=o.elements,[s,a]=_.useState(null),[c,d]=_.useState(null),v=(i==null?void 0:i.domReference)||s,g=_.useRef(null),f=cn();Oe(()=>{v&&(g.current=v)},[v]);const h=oi({...e,elements:{...i,...c&&{reference:c}}}),w=_.useCallback(P=>{const H=ce(P)?{getBoundingClientRect:()=>P.getBoundingClientRect(),contextElement:P}:P;d(H),h.refs.setReference(H)},[h.refs]),E=_.useCallback(P=>{(ce(P)||P===null)&&(g.current=P,a(P)),(ce(h.refs.reference.current)||h.refs.reference.current===null||P!==null&&!ce(P))&&h.refs.setReference(P)},[h.refs]),T=_.useMemo(()=>({...h.refs,setReference:E,setPositionReference:w,domReference:g}),[h.refs,E,w]),x=_.useMemo(()=>({...h.elements,domReference:v}),[h.elements,v]),j=_.useMemo(()=>({...h,...o,refs:T,elements:x,nodeId:t}),[h,T,x,t,o]);return Oe(()=>{o.dataRef.current.floatingContext=j;const P=f==null?void 0:f.nodesRef.current.find(H=>H.id===t);P&&(P.context=j)}),_.useMemo(()=>({...h,context:j,refs:T,elements:x}),[h,T,x,j])}function ki(e,t){t===void 0&&(t={});const{open:r,onOpenChange:o,events:i,dataRef:s,elements:a}=e,{enabled:c=!0,visibleOnly:d=!0}=t,u=_.useRef(!1),v=_.useRef(),g=_.useRef(!0);_.useEffect(()=>{if(!c)return;const h=_e(a.domReference);function w(){!r&&Ee(a.domReference)&&a.domReference===Kt(Ue(a.domReference))&&(u.current=!0)}function E(){g.current=!0}return h.addEventListener("blur",w),h.addEventListener("keydown",E,!0),()=>{h.removeEventListener("blur",w),h.removeEventListener("keydown",E,!0)}},[a.domReference,r,c]),_.useEffect(()=>{if(!c)return;function h(w){let{reason:E}=w;(E==="reference-press"||E==="escape-key")&&(u.current=!0)}return i.on("openchange",h),()=>{i.off("openchange",h)}},[i,c]),_.useEffect(()=>()=>{clearTimeout(v.current)},[]);const f=_.useMemo(()=>({onPointerDown(h){qr(h.nativeEvent)||(g.current=!1)},onMouseLeave(){u.current=!1},onFocus(h){if(u.current)return;const w=ot(h.nativeEvent);if(d&&ce(w))try{if(An()&&Gr())throw Error();if(!w.matches(":focus-visible"))return}catch{if(!g.current&&!Jr(w))return}o(!0,h.nativeEvent,"focus")},onBlur(h){u.current=!1;const w=h.relatedTarget,E=h.nativeEvent,T=ce(w)&&w.hasAttribute(yt("focus-guard"))&&w.getAttribute("data-type")==="outside";v.current=window.setTimeout(()=>{var x;const j=Kt(a.domReference?a.domReference.ownerDocument:document);!w&&j===a.domReference||rt((x=s.current.floatingContext)==null?void 0:x.refs.floating.current,j)||rt(a.domReference,j)||T||o(!1,E,"focus")})}}),[s,a.domReference,o,d]);return _.useMemo(()=>c?{reference:f}:{},[c,f])}const Er="active",wr="selected";function gn(e,t,r){const o=new Map,i=r==="item";let s=e;if(i&&e){const{[Er]:a,[wr]:c,...d}=e;s=d}return{...r==="floating"&&{tabIndex:-1,[xi]:""},...s,...t.map(a=>{const c=a?a[r]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((a,c)=>(c&&Object.entries(c).forEach(d=>{let[u,v]=d;if(!(i&&[Er,wr].includes(u)))if(u.indexOf("on")===0){if(o.has(u)||o.set(u,[]),typeof v=="function"){var g;(g=o.get(u))==null||g.push(v),a[u]=function(){for(var f,h=arguments.length,w=new Array(h),E=0;E<h;E++)w[E]=arguments[E];return(f=o.get(u))==null?void 0:f.map(T=>T(...w)).find(T=>T!==void 0)}}}else a[u]=v}),a),{})}}function ji(e){e===void 0&&(e=[]);const t=e.map(c=>c==null?void 0:c.reference),r=e.map(c=>c==null?void 0:c.floating),o=e.map(c=>c==null?void 0:c.item),i=_.useCallback(c=>gn(c,e,"reference"),t),s=_.useCallback(c=>gn(c,e,"floating"),r),a=_.useCallback(c=>gn(c,e,"item"),o);return _.useMemo(()=>({getReferenceProps:i,getFloatingProps:s,getItemProps:a}),[i,s,a])}const Mi=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Li(e,t){var r;t===void 0&&(t={});const{open:o,floatingId:i}=e,{enabled:s=!0,role:a="dialog"}=t,c=(r=Mi.get(a))!=null?r:a,d=zt(),v=un()!=null,g=_.useMemo(()=>c==="tooltip"||a==="label"?{["aria-"+(a==="label"?"labelledby":"describedby")]:o?i:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":c==="alertdialog"?"dialog":c,"aria-controls":o?i:void 0,...c==="listbox"&&{role:"combobox"},...c==="menu"&&{id:d},...c==="menu"&&v&&{role:"menuitem"},...a==="select"&&{"aria-autocomplete":"none"},...a==="combobox"&&{"aria-autocomplete":"list"}},[c,i,v,o,d,a]),f=_.useMemo(()=>{const w={id:i,...c&&{role:c}};return c==="tooltip"||a==="label"?w:{...w,...c==="menu"&&{"aria-labelledby":d}}},[c,i,d,a]),h=_.useCallback(w=>{let{active:E,selected:T}=w;const x={role:"option",...E&&{id:i+"-option"}};switch(a){case"select":return{...x,"aria-selected":E&&T};case"combobox":return{...x,...E&&{"aria-selected":!0}}}return{}},[i,a]);return _.useMemo(()=>s?{reference:g,floating:f,item:h}:{},[s,g,f,h])}const pn={wrapper:"_wrapper_iejlm_1","size--sm":"_size--sm_iejlm_12","size--md":"_size--md_iejlm_15"},Di=e=>{const t=se.useMemo(()=>tt(pn.wrapper,{[pn["size--sm"]]:e.size==="sm",[pn["size--md"]]:e.size==="md"}),[e.size]);return se.createElement("div",{className:t},e.children)},Qe={wrapper:"_wrapper_9hfm7_1",icon:"_icon_9hfm7_7",active:"_active_9hfm7_23",arrow:"_arrow_9hfm7_28",arrow2:"_arrow2_9hfm7_33",label:"_label_9hfm7_38",caption:"_caption_9hfm7_43"};function zi({size:e="sm",initialOpen:t=!1,placement:r="top",open:o,onOpenChange:i}){const[s,a]=_.useState(t),c=_.useRef(null),d=o??s,u=i??a,v=Pi({placement:r,open:d,onOpenChange:u,whileElementsMounted:Jo,middleware:[si(6),ui({crossAxis:r.includes("-"),fallbackAxisSideDirection:"start",padding:5}),ai({padding:10}),ci({element:c})]}),g=v.context,f=yi(g,{move:!1,enabled:o==null}),h=ki(g,{enabled:o==null}),w=Ai(g),E=Li(g,{role:"tooltip"}),T=ji([f,h,w,E]);return _.useMemo(()=>({size:e,open:d,setOpen:u,arrowRef:c,...T,...v}),[d,u,T,v,e,c])}const Rr=_.createContext(null),Tr=()=>{const e=_.useContext(Rr);if(e==null)throw new Error("Tooltip components must be wrapped in <Tooltip />");return e},$i=({children:e,...t})=>{const r=zi(t);return _.createElement(Rr.Provider,{value:r},e)},Ii=_.forwardRef(function({children:t,...r},o){const i=Tr(),s=sr([i.refs.setReference,o]);return _.createElement("div",{className:Qe.wrapper,ref:s,"data-state":i.open?"open":"closed",...i.getReferenceProps(r)},t??_.createElement("div",{className:tt(Qe.icon,{[Qe.active]:i.open})},_.createElement(lt,{icon:"information-fill"})))}),Yi=_.forwardRef(function({style:t,...r},o){const i=Tr(),s=sr([i.refs.setFloating,o]);return i.open?_.createElement(Ti,null,_.createElement("div",{ref:s,style:{...i.floatingStyles,...t},...i.getFloatingProps(r)},_.createElement(Di,{size:i.size},r.children),_.createElement(lr,{ref:i.arrowRef,context:i.context,className:Qe.arrow,width:14,height:4}),_.createElement(lr,{ref:i.arrowRef,context:i.context,className:Qe.arrow2,width:14,height:4,style:{transform:"translateY(-1px)"}}))):null});Object.assign($i,{Trigger:Ii,Content:Object.assign(Yi,{Label:e=>_.createElement("div",{className:Qe.label},_.createElement(Bt,{size:"caption-m",weight:"semi-bold"},_.createElement("p",null,e.children))),Caption:e=>_.createElement("div",{className:Qe.caption},_.createElement(Bt,{size:"caption-m",weight:"medium"},_.createElement("p",null,e.children)))})});const $t={wrapper:"_wrapper_rf188_1",label:"_label_rf188_7",content:"_content_rf188_14",caption:"_caption_rf188_20"};Object.assign(e=>se.createElement("div",{className:$t.wrapper},se.Children.map(e.children,t=>se.isValidElement(t)?t:null)),{Label:e=>se.createElement("div",{className:$t.label},e.children),Content:e=>se.createElement("div",{className:$t.content},e.children),Caption:e=>se.createElement("div",{className:$t.caption},e.children)}),We.Badge=Fr,We.Button=Ur,We.Typography=Bt,Object.defineProperty(We,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "@sellgar/kit",
|
|
3
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
4
5
|
"description": "Sellgar storybook",
|
|
5
|
-
"main": "dist/index.es.js",
|
|
6
|
-
"module": "dist/index.esm.js",
|
|
6
|
+
"main": "./dist/index.es.js",
|
|
7
|
+
"module": "./dist/index.esm.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
7
9
|
"repository": {
|
|
8
10
|
"type": "git",
|
|
9
11
|
"url": "git+https://github.com/pyatakovvg/sellgar.ui.kit.git"
|
|
10
12
|
},
|
|
11
13
|
"files": [
|
|
12
|
-
"dist/*"
|
|
14
|
+
"./dist/*"
|
|
13
15
|
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"require": "./dist/index.umd.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
14
22
|
"scripts": {
|
|
15
23
|
"dev": "vite",
|
|
16
24
|
"build": "vite build",
|
|
17
25
|
"login": "npm login",
|
|
18
|
-
"publish": "npm publish
|
|
26
|
+
"publish": "npm publish"
|
|
19
27
|
},
|
|
20
28
|
"dependencies": {
|
|
21
29
|
"@library/kit": "0.0.1"
|
|
22
30
|
},
|
|
23
31
|
"devDependencies": {
|
|
24
|
-
"vite": "6.2.0"
|
|
32
|
+
"vite": "6.2.0",
|
|
33
|
+
"vite-plugin-dts": "4.5.1"
|
|
25
34
|
},
|
|
26
35
|
"bugs": {
|
|
27
36
|
"url": "https://github.com/pyatakovvg/sellgar.ui.kit/issues"
|