@buoy-gg/floating-tools-core 1.7.2

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.js ADDED
@@ -0,0 +1,82 @@
1
+ "use strict";var dn=Object.create;var We=Object.defineProperty;var pn=Object.getOwnPropertyDescriptor;var fn=Object.getOwnPropertyNames;var gn=Object.getPrototypeOf,hn=Object.prototype.hasOwnProperty;var ye=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),yn=(e,r)=>{for(var o in r)We(e,o,{get:r[o],enumerable:!0})},zt=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of fn(r))!hn.call(e,a)&&a!==o&&We(e,a,{get:()=>r[a],enumerable:!(n=pn(r,a))||n.enumerable});return e};var Me=(e,r,o)=>(o=e!=null?dn(gn(e)):{},zt(r||!e||!e.__esModule?We(o,"default",{value:e,enumerable:!0}):o,e)),bn=e=>zt(We({},"__esModule",{value:!0}),e);var vr=ye(Ue=>{"use strict";var mn=Symbol.for("react.transitional.element"),xn=Symbol.for("react.fragment");function Sr(e,r,o){var n=null;if(o!==void 0&&(n=""+o),r.key!==void 0&&(n=""+r.key),"key"in r){o={};for(var a in r)a!=="key"&&(o[a]=r[a])}else o=r;return r=o.ref,{$$typeof:mn,type:e,key:n,ref:r!==void 0?r:null,props:o}}Ue.Fragment=xn;Ue.jsx=Sr;Ue.jsxs=Sr});var kr=ye(v=>{"use strict";var Et=Symbol.for("react.transitional.element"),Sn=Symbol.for("react.portal"),vn=Symbol.for("react.fragment"),Tn=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),Rn=Symbol.for("react.consumer"),Cn=Symbol.for("react.context"),_n=Symbol.for("react.forward_ref"),wn=Symbol.for("react.suspense"),In=Symbol.for("react.memo"),wr=Symbol.for("react.lazy"),Tr=Symbol.iterator;function On(e){return e===null||typeof e!="object"?null:(e=Tr&&e[Tr]||e["@@iterator"],typeof e=="function"?e:null)}var Ir={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Or=Object.assign,Dr={};function ve(e,r,o){this.props=e,this.context=r,this.refs=Dr,this.updater=o||Ir}ve.prototype.isReactComponent={};ve.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,r,"setState")};ve.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Pr(){}Pr.prototype=ve.prototype;function Rt(e,r,o){this.props=e,this.context=r,this.refs=Dr,this.updater=o||Ir}var Ct=Rt.prototype=new Pr;Ct.constructor=Rt;Or(Ct,ve.prototype);Ct.isPureReactComponent=!0;var Er=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},Ar=Object.prototype.hasOwnProperty;function _t(e,r,o,n,a,l){return o=l.ref,{$$typeof:Et,type:e,key:r,ref:o!==void 0?o:null,props:l}}function Dn(e,r){return _t(e.type,r,void 0,void 0,void 0,e.props)}function wt(e){return typeof e=="object"&&e!==null&&e.$$typeof===Et}function Pn(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return r[o]})}var Rr=/\/+/g;function Tt(e,r){return typeof e=="object"&&e!==null&&e.key!=null?Pn(""+e.key):r.toString(36)}function Cr(){}function An(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Cr,Cr):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Se(e,r,o,n,a){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case Et:case Sn:c=!0;break;case wr:return c=e._init,Se(c(e._payload),r,o,n,a)}}if(c)return a=a(e),c=n===""?"."+Tt(e,0):n,Er(a)?(o="",c!=null&&(o=c.replace(Rr,"$&/")+"/"),Se(a,r,o,"",function(g){return g})):a!=null&&(wt(a)&&(a=Dn(a,o+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(Rr,"$&/")+"/")+c)),r.push(a)),1;c=0;var p=n===""?".":n+":";if(Er(e))for(var s=0;s<e.length;s++)n=e[s],l=p+Tt(n,s),c+=Se(n,r,o,l,a);else if(s=On(e),typeof s=="function")for(e=s.call(e),s=0;!(n=e.next()).done;)n=n.value,l=p+Tt(n,s++),c+=Se(n,r,o,l,a);else if(l==="object"){if(typeof e.then=="function")return Se(An(e),r,o,n,a);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return c}function Xe(e,r,o){if(e==null)return e;var n=[],a=0;return Se(e,n,"","",function(l){return r.call(o,l,a++)}),n}function kn(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var _r=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Nn(){}v.Children={map:Xe,forEach:function(e,r,o){Xe(e,function(){r.apply(this,arguments)},o)},count:function(e){var r=0;return Xe(e,function(){r++}),r},toArray:function(e){return Xe(e,function(r){return r})||[]},only:function(e){if(!wt(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};v.Component=ve;v.Fragment=vn;v.Profiler=En;v.PureComponent=Rt;v.StrictMode=Tn;v.Suspense=wn;v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P;v.__COMPILER_RUNTIME={__proto__:null,c:function(e){return P.H.useMemoCache(e)}};v.cache=function(e){return function(){return e.apply(null,arguments)}};v.cloneElement=function(e,r,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=Or({},e.props),a=e.key,l=void 0;if(r!=null)for(c in r.ref!==void 0&&(l=void 0),r.key!==void 0&&(a=""+r.key),r)!Ar.call(r,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&r.ref===void 0||(n[c]=r[c]);var c=arguments.length-2;if(c===1)n.children=o;else if(1<c){for(var p=Array(c),s=0;s<c;s++)p[s]=arguments[s+2];n.children=p}return _t(e.type,a,void 0,void 0,l,n)};v.createContext=function(e){return e={$$typeof:Cn,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Rn,_context:e},e};v.createElement=function(e,r,o){var n,a={},l=null;if(r!=null)for(n in r.key!==void 0&&(l=""+r.key),r)Ar.call(r,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(a[n]=r[n]);var c=arguments.length-2;if(c===1)a.children=o;else if(1<c){for(var p=Array(c),s=0;s<c;s++)p[s]=arguments[s+2];a.children=p}if(e&&e.defaultProps)for(n in c=e.defaultProps,c)a[n]===void 0&&(a[n]=c[n]);return _t(e,l,void 0,void 0,null,a)};v.createRef=function(){return{current:null}};v.forwardRef=function(e){return{$$typeof:_n,render:e}};v.isValidElement=wt;v.lazy=function(e){return{$$typeof:wr,_payload:{_status:-1,_result:e},_init:kn}};v.memo=function(e,r){return{$$typeof:In,type:e,compare:r===void 0?null:r}};v.startTransition=function(e){var r=P.T,o={};P.T=o;try{var n=e(),a=P.S;a!==null&&a(o,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(Nn,_r)}catch(l){_r(l)}finally{P.T=r}};v.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()};v.use=function(e){return P.H.use(e)};v.useActionState=function(e,r,o){return P.H.useActionState(e,r,o)};v.useCallback=function(e,r){return P.H.useCallback(e,r)};v.useContext=function(e){return P.H.useContext(e)};v.useDebugValue=function(){};v.useDeferredValue=function(e,r){return P.H.useDeferredValue(e,r)};v.useEffect=function(e,r,o){var n=P.H;if(typeof o=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return n.useEffect(e,r)};v.useId=function(){return P.H.useId()};v.useImperativeHandle=function(e,r,o){return P.H.useImperativeHandle(e,r,o)};v.useInsertionEffect=function(e,r){return P.H.useInsertionEffect(e,r)};v.useLayoutEffect=function(e,r){return P.H.useLayoutEffect(e,r)};v.useMemo=function(e,r){return P.H.useMemo(e,r)};v.useOptimistic=function(e,r){return P.H.useOptimistic(e,r)};v.useReducer=function(e,r,o){return P.H.useReducer(e,r,o)};v.useRef=function(e){return P.H.useRef(e)};v.useState=function(e){return P.H.useState(e)};v.useSyncExternalStore=function(e,r,o){return P.H.useSyncExternalStore(e,r,o)};v.useTransition=function(){return P.H.useTransition()};v.version="19.1.0"});var Nr=ye((x,Ke)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(t,i){Object.defineProperty(n.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",i[0],i[1])}})}function r(t){return t===null||typeof t!="object"?null:(t=Q&&t[Q]||t["@@iterator"],typeof t=="function"?t:null)}function o(t,i){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var d=t+"."+i;ge[d]||(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.",i,t),ge[d]=!0)}function n(t,i,d){this.props=t,this.context=i,this.refs=it,this.updater=d||De}function a(){}function l(t,i,d){this.props=t,this.context=i,this.refs=it,this.updater=d||De}function c(t){return""+t}function p(t){try{c(t);var i=!1}catch{i=!0}if(i){i=console;var d=i.error,f=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return d.call(i,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",f),c(t)}}function s(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===sn?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case fe:return"Fragment";case u:return"Profiler";case Re:return"StrictMode";case X:return"Suspense";case G:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case Ee:return"Portal";case O:return(t.displayName||"Context")+".Provider";case m:return(t._context.displayName||"Context")+".Consumer";case L:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case se:return i=t.displayName||null,i!==null?i:s(t.type)||"Memo";case re:i=t._payload,t=t._init;try{return s(t(i))}catch{}}return null}function g(t){if(t===fe)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===re)return"<...>";try{var i=s(t);return i?"<"+i+">":"<...>"}catch{return"<...>"}}function y(){var t=R.A;return t===null?null:t.getOwner()}function b(){return Error("react-stack-top-frame")}function _(t){if(Ae.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function I(t,i){function d(){Wt||(Wt=!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)",i))}d.isReactWarning=!0,Object.defineProperty(t,"key",{get:d,configurable:!0})}function A(){var t=s(this.type);return Ht[t]||(Ht[t]=!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.")),t=this.props.ref,t!==void 0?t:null}function N(t,i,d,f,h,C,T,w){return d=C.ref,t={$$typeof:pe,type:t,key:i,props:C,_owner:h},(d!==void 0?d:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:A}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function $(t,i){return i=N(t.type,i,void 0,void 0,t._owner,t.props,t._debugStack,t._debugTask),t._store&&(i._store.validated=t._store.validated),i}function M(t){return typeof t=="object"&&t!==null&&t.$$typeof===pe}function le(t){var i={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(d){return i[d]})}function J(t,i){return typeof t=="object"&&t!==null&&t.key!=null?(p(t.key),le(""+t.key)):i.toString(36)}function ne(){}function ue(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ne,ne):(t.status="pending",t.then(function(i){t.status==="pending"&&(t.status="fulfilled",t.value=i)},function(i){t.status==="pending"&&(t.status="rejected",t.reason=i)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function U(t,i,d,f,h){var C=typeof t;(C==="undefined"||C==="boolean")&&(t=null);var T=!1;if(t===null)T=!0;else switch(C){case"bigint":case"string":case"number":T=!0;break;case"object":switch(t.$$typeof){case pe:case Ee:T=!0;break;case re:return T=t._init,U(T(t._payload),i,d,f,h)}}if(T){T=t,h=h(T);var w=f===""?"."+J(T,0):f;return Nt(h)?(d="",w!=null&&(d=w.replace(Ft,"$&/")+"/"),U(h,i,d,"",function(oe){return oe})):h!=null&&(M(h)&&(h.key!=null&&(T&&T.key===h.key||p(h.key)),d=$(h,d+(h.key==null||T&&T.key===h.key?"":(""+h.key).replace(Ft,"$&/")+"/")+w),f!==""&&T!=null&&M(T)&&T.key==null&&T._store&&!T._store.validated&&(d._store.validated=2),h=d),i.push(h)),1}if(T=0,w=f===""?".":f+":",Nt(t))for(var E=0;E<t.length;E++)f=t[E],C=w+J(f,E),T+=U(f,i,d,C,h);else if(E=r(t),typeof E=="function")for(E===t.entries&&($t||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$t=!0),t=E.call(t),E=0;!(f=t.next()).done;)f=f.value,C=w+J(f,E++),T+=U(f,i,d,C,h);else if(C==="object"){if(typeof t.then=="function")return U(ue(t),i,d,f,h);throw i=String(t),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return T}function K(t,i,d){if(t==null)return t;var f=[],h=0;return U(t,f,"","",function(C){return i.call(d,C,h++)}),f}function ee(t){if(t._status===-1){var i=t._result;i=i(),i.then(function(d){(t._status===0||t._status===-1)&&(t._status=1,t._result=d)},function(d){(t._status===0||t._status===-1)&&(t._status=2,t._result=d)}),t._status===-1&&(t._status=0,t._result=i)}if(t._status===1)return i=t._result,i===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,i),"default"in i||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,i),i.default;throw t._result}function D(){var t=R.H;return t===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:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),t}function Te(){}function q(t){if(ke===null)try{var i=("require"+Math.random()).slice(0,7);ke=(Ke&&Ke[i]).call(Ke,"timers").setImmediate}catch{ke=function(f){Gt===!1&&(Gt=!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 h=new MessageChannel;h.port1.onmessage=f,h.port2.postMessage(void 0)}}return ke(t)}function V(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function te(t,i){i!==Ne-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. "),Ne=i}function ie(t,i,d){var f=R.actQueue;if(f!==null)if(f.length!==0)try{de(f),q(function(){return ie(t,i,d)});return}catch(h){R.thrownErrors.push(h)}else R.actQueue=null;0<R.thrownErrors.length?(f=V(R.thrownErrors),R.thrownErrors.length=0,d(f)):i(t)}function de(t){if(!st){st=!0;var i=0;try{for(;i<t.length;i++){var d=t[i];do{R.didUsePromise=!1;var f=d(!1);if(f!==null){if(R.didUsePromise){t[i]=d,t.splice(0,i);return}d=f}else break}while(!0)}t.length=0}catch(h){t.splice(0,i+1),R.thrownErrors.push(h)}finally{st=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var pe=Symbol.for("react.transitional.element"),Ee=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),Re=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),O=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Q=Symbol.iterator,ge={},De={isMounted:function(){return!1},enqueueForceUpdate:function(t){o(t,"forceUpdate")},enqueueReplaceState:function(t){o(t,"replaceState")},enqueueSetState:function(t){o(t,"setState")}},kt=Object.assign,it={};Object.freeze(it),n.prototype.isReactComponent={},n.prototype.setState=function(t,i){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,i,"setState")},n.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var j={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)."]},Pe;for(Pe in j)j.hasOwnProperty(Pe)&&e(Pe,j[Pe]);a.prototype=n.prototype,j=l.prototype=new a,j.constructor=l,kt(j,n.prototype),j.isPureReactComponent=!0;var Nt=Array.isArray,sn=Symbol.for("react.client.reference"),R={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ae=Object.prototype.hasOwnProperty,Lt=console.createTask?console.createTask:function(){return null};j={"react-stack-bottom-frame":function(t){return t()}};var Wt,Mt,Ht={},an=j["react-stack-bottom-frame"].bind(j,b)(),cn=Lt(g(b)),$t=!1,Ft=/\/+/g,Yt=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Gt=!1,ke=null,Ne=0,Le=!1,st=!1,jt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:q;j=Object.freeze({__proto__:null,c:function(t){return D().useMemoCache(t)}}),x.Children={map:K,forEach:function(t,i,d){K(t,function(){i.apply(this,arguments)},d)},count:function(t){var i=0;return K(t,function(){i++}),i},toArray:function(t){return K(t,function(i){return i})||[]},only:function(t){if(!M(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},x.Component=n,x.Fragment=fe,x.Profiler=u,x.PureComponent=l,x.StrictMode=Re,x.Suspense=X,x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,x.__COMPILER_RUNTIME=j,x.act=function(t){var i=R.actQueue,d=Ne;Ne++;var f=R.actQueue=i!==null?i:[],h=!1;try{var C=t()}catch(E){R.thrownErrors.push(E)}if(0<R.thrownErrors.length)throw te(i,d),t=V(R.thrownErrors),R.thrownErrors.length=0,t;if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var T=C;return jt(function(){h||Le||(Le=!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(E,oe){h=!0,T.then(function(he){if(te(i,d),d===0){try{de(f),q(function(){return ie(he,E,oe)})}catch(un){R.thrownErrors.push(un)}if(0<R.thrownErrors.length){var ln=V(R.thrownErrors);R.thrownErrors.length=0,oe(ln)}}else E(he)},function(he){te(i,d),0<R.thrownErrors.length&&(he=V(R.thrownErrors),R.thrownErrors.length=0),oe(he)})}}}var w=C;if(te(i,d),d===0&&(de(f),f.length!==0&&jt(function(){h||Le||(Le=!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(() => ...)"))}),R.actQueue=null),0<R.thrownErrors.length)throw t=V(R.thrownErrors),R.thrownErrors.length=0,t;return{then:function(E,oe){h=!0,d===0?(R.actQueue=f,q(function(){return ie(w,E,oe)})):E(w)}}},x.cache=function(t){return function(){return t.apply(null,arguments)}},x.captureOwnerStack=function(){var t=R.getCurrentStack;return t===null?null:t()},x.cloneElement=function(t,i,d){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var f=kt({},t.props),h=t.key,C=t._owner;if(i!=null){var T;e:{if(Ae.call(i,"ref")&&(T=Object.getOwnPropertyDescriptor(i,"ref").get)&&T.isReactWarning){T=!1;break e}T=i.ref!==void 0}T&&(C=y()),_(i)&&(p(i.key),h=""+i.key);for(w in i)!Ae.call(i,w)||w==="key"||w==="__self"||w==="__source"||w==="ref"&&i.ref===void 0||(f[w]=i[w])}var w=arguments.length-2;if(w===1)f.children=d;else if(1<w){T=Array(w);for(var E=0;E<w;E++)T[E]=arguments[E+2];f.children=T}for(f=N(t.type,h,void 0,void 0,C,f,t._debugStack,t._debugTask),h=2;h<arguments.length;h++)C=arguments[h],M(C)&&C._store&&(C._store.validated=1);return f},x.createContext=function(t){return t={$$typeof:O,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:m,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},x.createElement=function(t,i,d){for(var f=2;f<arguments.length;f++){var h=arguments[f];M(h)&&h._store&&(h._store.validated=1)}if(f={},h=null,i!=null)for(E in Mt||!("__self"in i)||"key"in i||(Mt=!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")),_(i)&&(p(i.key),h=""+i.key),i)Ae.call(i,E)&&E!=="key"&&E!=="__self"&&E!=="__source"&&(f[E]=i[E]);var C=arguments.length-2;if(C===1)f.children=d;else if(1<C){for(var T=Array(C),w=0;w<C;w++)T[w]=arguments[w+2];Object.freeze&&Object.freeze(T),f.children=T}if(t&&t.defaultProps)for(E in C=t.defaultProps,C)f[E]===void 0&&(f[E]=C[E]);h&&I(f,typeof t=="function"?t.displayName||t.name||"Unknown":t);var E=1e4>R.recentlyCreatedOwnerStacks++;return N(t,h,void 0,void 0,y(),f,E?Error("react-stack-top-frame"):an,E?Lt(g(t)):cn)},x.createRef=function(){var t={current:null};return Object.seal(t),t},x.forwardRef=function(t){t!=null&&t.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var i={$$typeof:L,render:t},d;return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(f){d=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),i},x.isValidElement=M,x.lazy=function(t){return{$$typeof:re,_payload:{_status:-1,_result:t},_init:ee}},x.memo=function(t,i){t==null&&console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),i={$$typeof:se,type:t,compare:i===void 0?null:i};var d;return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(f){d=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),i},x.startTransition=function(t){var i=R.T,d={};R.T=d,d._updatedFibers=new Set;try{var f=t(),h=R.S;h!==null&&h(d,f),typeof f=="object"&&f!==null&&typeof f.then=="function"&&f.then(Te,Yt)}catch(C){Yt(C)}finally{i===null&&d._updatedFibers&&(t=d._updatedFibers.size,d._updatedFibers.clear(),10<t&&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.")),R.T=i}},x.unstable_useCacheRefresh=function(){return D().useCacheRefresh()},x.use=function(t){return D().use(t)},x.useActionState=function(t,i,d){return D().useActionState(t,i,d)},x.useCallback=function(t,i){return D().useCallback(t,i)},x.useContext=function(t){var i=D();return t.$$typeof===m&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),i.useContext(t)},x.useDebugValue=function(t,i){return D().useDebugValue(t,i)},x.useDeferredValue=function(t,i){return D().useDeferredValue(t,i)},x.useEffect=function(t,i,d){t==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var f=D();if(typeof d=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return f.useEffect(t,i)},x.useId=function(){return D().useId()},x.useImperativeHandle=function(t,i,d){return D().useImperativeHandle(t,i,d)},x.useInsertionEffect=function(t,i){return t==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),D().useInsertionEffect(t,i)},x.useLayoutEffect=function(t,i){return t==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),D().useLayoutEffect(t,i)},x.useMemo=function(t,i){return D().useMemo(t,i)},x.useOptimistic=function(t,i){return D().useOptimistic(t,i)},x.useReducer=function(t,i,d){return D().useReducer(t,i,d)},x.useRef=function(t){return D().useRef(t)},x.useState=function(t){return D().useState(t)},x.useSyncExternalStore=function(t,i,d){return D().useSyncExternalStore(t,i,d)},x.useTransition=function(){return D().useTransition()},x.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Lr=ye((ei,It)=>{"use strict";process.env.NODE_ENV==="production"?It.exports=kr():It.exports=Nr()});var Wr=ye(qe=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===Te?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case N:return"Fragment";case M:return"Profiler";case $:return"StrictMode";case ue:return"Suspense";case U:return"SuspenseList";case D:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case A:return"Portal";case J:return(u.displayName||"Context")+".Provider";case le:return(u._context.displayName||"Context")+".Consumer";case ne:var m=u.render;return u=u.displayName,u||(u=m.displayName||m.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case K:return m=u.displayName||null,m!==null?m:e(u.type)||"Memo";case ee:m=u._payload,u=u._init;try{return e(u(m))}catch{}}return null}function r(u){return""+u}function o(u){try{r(u);var m=!1}catch{m=!0}if(m){m=console;var O=m.error,L=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return O.call(m,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",L),r(u)}}function n(u){if(u===N)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===ee)return"<...>";try{var m=e(u);return m?"<"+m+">":"<...>"}catch{return"<...>"}}function a(){var u=q.A;return u===null?null:u.getOwner()}function l(){return Error("react-stack-top-frame")}function c(u){if(V.call(u,"key")){var m=Object.getOwnPropertyDescriptor(u,"key").get;if(m&&m.isReactWarning)return!1}return u.key!==void 0}function p(u,m){function O(){de||(de=!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)",m))}O.isReactWarning=!0,Object.defineProperty(u,"key",{get:O,configurable:!0})}function s(){var u=e(this.type);return pe[u]||(pe[u]=!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.")),u=this.props.ref,u!==void 0?u:null}function g(u,m,O,L,X,G,se,re){return O=G.ref,u={$$typeof:I,type:u,key:m,props:G,_owner:X},(O!==void 0?O:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:s}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:re}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function y(u,m,O,L,X,G,se,re){var W=m.children;if(W!==void 0)if(L)if(te(W)){for(L=0;L<W.length;L++)b(W[L]);Object.freeze&&Object.freeze(W)}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 b(W);if(V.call(m,"key")){W=e(u);var Q=Object.keys(m).filter(function(De){return De!=="key"});L=0<Q.length?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}",Re[W+L]||(Q=0<Q.length?"{"+Q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
+ let props = %s;
15
+ <%s {...props} />
16
+ React keys must be passed directly to JSX without using spread:
17
+ let props = %s;
18
+ <%s key={someKey} {...props} />`,L,W,Q,W),Re[W+L]=!0)}if(W=null,O!==void 0&&(o(O),W=""+O),c(m)&&(o(m.key),W=""+m.key),"key"in m){O={};for(var ge in m)ge!=="key"&&(O[ge]=m[ge])}else O=m;return W&&p(O,typeof u=="function"?u.displayName||u.name||"Unknown":u),g(u,W,G,X,a(),O,se,re)}function b(u){typeof u=="object"&&u!==null&&u.$$typeof===I&&u._store&&(u._store.validated=1)}var _=Lr(),I=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),J=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),Te=Symbol.for("react.client.reference"),q=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,te=Array.isArray,ie=console.createTask?console.createTask:function(){return null};_={"react-stack-bottom-frame":function(u){return u()}};var de,pe={},Ee=_["react-stack-bottom-frame"].bind(_,l)(),fe=ie(n(l)),Re={};qe.Fragment=N,qe.jsx=function(u,m,O,L,X){var G=1e4>q.recentlyCreatedOwnerStacks++;return y(u,m,O,!1,L,X,G?Error("react-stack-top-frame"):Ee,G?ie(n(u)):fe)},qe.jsxs=function(u,m,O,L,X){var G=1e4>q.recentlyCreatedOwnerStacks++;return y(u,m,O,!0,L,X,G?Error("react-stack-top-frame"):Ee,G?ie(n(u)):fe)}})()});var Ie=ye((ri,Ot)=>{"use strict";process.env.NODE_ENV==="production"?Ot.exports=vr():Ot.exports=Wr()});var Hn={};yn(Hn,{ANIMATION_DURATION:()=>Bt,BENCHMARK_ICON_COLOR:()=>tt,BenchmarkIcon:()=>Ko,CurveTestA:()=>Do,CurveTestB:()=>Po,CurveTestC:()=>Ao,CurveTestD:()=>ko,CurveTestE:()=>No,CurveTestF:()=>Lo,CurveTestG:()=>Wo,CurveTestH:()=>Mo,CurveTestI:()=>Ho,CurveTestJ:()=>$o,CurveTestK:()=>Fo,CurveTestL:()=>Yo,CurveTestM:()=>Go,CurveTestN:()=>jo,CurveTestO:()=>zo,CurveTestP:()=>Bo,DIAL_BUTTON_SIZE:()=>lt,DIAL_GRID_LINE_COUNT:()=>pt,DIAL_ICON_PADDING:()=>dt,DIAL_ICON_SIZE:()=>ut,DIAL_START_ANGLE:()=>xe,DRAG_THRESHOLD:()=>$e,DevToolsStateManager:()=>Ce,EDGE_PADDING:()=>be,ENV_ICON_COLOR:()=>Ze,EnvIcon:()=>Eo,FloatingToolsStore:()=>Ye,HIGHLIGHTER_ICON_COLOR:()=>Oe,HIGHLIGHT_ICON_COLOR:()=>nt,HighlightIcon:()=>Qo,HighlighterIcon:()=>At,MAX_DIAL_SLOTS:()=>Zt,MAX_SETTINGS_DIAL_SLOTS:()=>ze,NETWORK_ICON_COLOR:()=>Qe,NetworkIcon:()=>To,QUERY_ICON_COLOR:()=>et,QueryIcon:()=>Uo,RENDERS_ICON_COLOR:()=>Pt,ROUTES_ICON_COLOR:()=>k,RendersIcon:()=>Xo,RouteDotIcon:()=>Io,RoutePathIcon:()=>wo,RoutePinIcon:()=>_o,RouteTwoPinsIcon:()=>Oo,RoutesIcon:()=>Co,SAVE_DEBOUNCE_MS:()=>Fe,SENTRY_ICON_COLOR:()=>rt,SETTINGS_STORAGE_KEY:()=>cr,STORAGE_ICON_COLOR:()=>Je,STORAGE_KEYS:()=>ae,SentryIcon:()=>qo,SettingsEventBus:()=>we,StorageIcon:()=>Ro,VISIBLE_HANDLE_WIDTH:()=>He,WIFI_ICON_COLOR:()=>ot,WifiIcon:()=>Vo,canEnableDialTool:()=>br,countEnabledTools:()=>vt,createArrow:()=>on,createBar:()=>nn,createDot:()=>tn,createGlow:()=>rn,createIcon:()=>S,createLine:()=>Jo,createNode:()=>Zo,createRing:()=>en,devToolsReducer:()=>ct,devToolsStateManager:()=>Ut,dialAnimationConfig:()=>Z,dialCSSBeziers:()=>me,dialColors:()=>Jt,dialStyles:()=>er,easing:()=>_e,enforceDialLimit:()=>Be,filterValidChildren:()=>qt,floatingToolsColors:()=>F,generateDefaultSettings:()=>yr,generateDialCSSKeyframes:()=>ht,getAllIconPositions:()=>or,getDialCSSAnimationStyles:()=>nr,getDialCSSKeyframesString:()=>ir,getDialLayout:()=>rr,getEasing:()=>Vt,getEnabledToolIds:()=>mr,getGridLineRotations:()=>tr,getGripIconLayout:()=>Kt,getIconAngle:()=>ft,getIconPosition:()=>je,getIconStaggerInputRange:()=>gt,getSpiralAnimationPosition:()=>sr,getStaggeredIconProgress:()=>ar,getToolColor:()=>ur,getToolDescription:()=>pr,getToolLabel:()=>dr,getUserStatusConfig:()=>Xt,globalSettingsConfig:()=>gr,interpolate:()=>Ge,interpolatePosition:()=>Qt,mergeSettingsWithDefaults:()=>hr,renderIconData:()=>Dt,sanitizeFloatingSettings:()=>St,settingsColors:()=>yt,settingsEventBus:()=>xr,settingsStyles:()=>fr,settingsTabs:()=>lr,toolColors:()=>bt,toolDescriptions:()=>xt,toolLabels:()=>mt,withAlpha:()=>Y});module.exports=bn(Hn);var He=32,$e=5,Bt=200,be=10,Fe=500,ae={POSITION_X:"@react_buoy_bubble_position_x",POSITION_Y:"@react_buoy_bubble_position_y"};var Ye=class{constructor(r){this.isDragging=!1;this.isHidden=!1;this.dragStartPos={x:0,y:0};this.dragStartMouse={x:0,y:0};this.hasMoved=!1;this.savedPosition=null;this.saveTimeout=null;this.isInitialized=!1;this.listeners=new Set;this.subscribe=r=>(this.listeners.add(r),()=>this.listeners.delete(r));this.getSnapshot=()=>this.stateSnapshot;this.screenWidth=r.screenWidth,this.screenHeight=r.screenHeight,this.bubbleSize=r.initialBubbleSize??{width:100,height:32},this.minPosition=r.minPosition??{x:10,y:10},this.visibleHandleWidth=r.visibleHandleWidth??32,this.dragThreshold=r.dragThreshold??5,this.edgePadding=r.edgePadding??10,this.enablePositionPersistence=r.enablePositionPersistence??!0,this.storage=r.storage,this.onPositionChange=r.onPositionChange,this.onHiddenChange=r.onHiddenChange,this.onDraggingChange=r.onDraggingChange,this.position=r.initialPosition??{x:this.screenWidth-this.bubbleSize.width-20,y:Math.max(this.minPosition.y,Math.min(100,this.screenHeight-this.bubbleSize.height-this.edgePadding))},this.stateSnapshot=this.createSnapshot()}createSnapshot(){return{position:{...this.position},isDragging:this.isDragging,isHidden:this.isHidden,bubbleSize:{...this.bubbleSize}}}notify(){this.stateSnapshot=this.createSnapshot(),this.listeners.forEach(r=>r())}async initialize(){if(this.isInitialized||!this.enablePositionPersistence||!this.storage){this.isInitialized=!0;return}try{let[r,o]=await Promise.all([this.storage.getItem(ae.POSITION_X),this.storage.getItem(ae.POSITION_Y)]);if(r!==null&&o!==null){let n=parseFloat(r),a=parseFloat(o);if(!Number.isNaN(n)&&!Number.isNaN(a)){let l={x:n,y:a},c=this.validatePosition(l);(Math.abs(l.x-c.x)>5||Math.abs(l.y-c.y)>5)&&this.savePosition(c.x,c.y),this.position=c,c.x>=this.screenWidth-this.visibleHandleWidth-5&&(this.isHidden=!0),this.notify()}}}catch{}this.isInitialized=!0}getBounds(){return{minX:this.minPosition.x,maxX:this.screenWidth-this.visibleHandleWidth,minY:this.minPosition.y,maxY:this.screenHeight-this.bubbleSize.height-this.edgePadding}}validatePosition(r){let o=this.getBounds();return{x:Math.max(o.minX,Math.min(r.x,o.maxX)),y:Math.max(o.minY,Math.min(r.y,o.maxY))}}setPosition(r){this.position=r,this.onPositionChange?.(r),this.notify()}setBubbleSize(r){this.bubbleSize.width===r.width&&this.bubbleSize.height===r.height||(this.bubbleSize=r,this.notify())}setScreenSize(r,o){this.screenWidth=r,this.screenHeight=o;let n=this.validatePosition(this.position);(n.x!==this.position.x||n.y!==this.position.y)&&(this.position=n,this.notify())}setMinPosition(r){this.minPosition=r}async savePosition(r,o){if(!(!this.enablePositionPersistence||!this.storage))try{await Promise.all([this.storage.setItem(ae.POSITION_X,r.toString()),this.storage.setItem(ae.POSITION_Y,o.toString())])}catch{}}debouncedSavePosition(r,o){this.saveTimeout&&clearTimeout(this.saveTimeout),this.saveTimeout=setTimeout(()=>this.savePosition(r,o),500)}toggleHideShow(){let r=this.position.x>this.screenWidth-this.bubbleSize.width/2;if(this.isHidden||r){let o,n;return this.savedPosition&&this.savedPosition.x<this.screenWidth-this.bubbleSize.width/2?(o=this.savedPosition.x,n=this.savedPosition.y):(o=this.screenWidth-this.bubbleSize.width-20,n=this.position.y),this.isHidden=!1,this.onHiddenChange?.(!1),this.notify(),{targetPosition:{x:o,y:n},isHiding:!1}}else{this.savedPosition={...this.position};let o=this.screenWidth-this.visibleHandleWidth;return this.isHidden=!0,this.onHiddenChange?.(!0),this.notify(),{targetPosition:{x:o,y:this.position.y},isHiding:!0}}}forceHide(){if(this.isHidden)return{targetPosition:this.position};this.savedPosition={...this.position};let r=this.screenWidth-this.visibleHandleWidth;return this.isHidden=!0,this.onHiddenChange?.(!0),this.notify(),{targetPosition:{x:r,y:this.position.y}}}forceShow(){if(!this.isHidden)return{targetPosition:this.position};let r,o;return this.savedPosition?(r=this.savedPosition.x,o=this.savedPosition.y):(r=this.screenWidth-this.bubbleSize.width-20,o=this.position.y),this.isHidden=!1,this.onHiddenChange?.(!1),this.notify(),{targetPosition:{x:r,y:o}}}handleDragStart(r){this.hasMoved=!1,this.dragStartPos={...this.position},this.dragStartMouse={x:r.clientX,y:r.clientY}}handleDragMove(r){let o=r.clientX-this.dragStartMouse.x,n=r.clientY-this.dragStartMouse.y,a=Math.abs(o)+Math.abs(n);if(!this.hasMoved&&a>this.dragThreshold&&(this.hasMoved=!0,this.isDragging=!0,this.onDraggingChange?.(!0),this.notify()),this.hasMoved){let l=this.dragStartPos.x+o,c=this.dragStartPos.y+n,p=this.getBounds(),s=Math.max(p.minX,Math.min(l,this.screenWidth-this.visibleHandleWidth+this.bubbleSize.width)),g=Math.max(p.minY,Math.min(c,p.maxY));return this.position={x:s,y:g},this.onPositionChange?.(this.position),this.notify(),{position:this.position,isDragging:!0}}return{position:this.position,isDragging:!1}}handleDragEnd(r){if(!this.hasMoved)return this.isDragging=!1,this.onDraggingChange?.(!1),this.notify(),{position:this.position,shouldHide:!1,wasTap:!0};let n=r.clientX-this.dragStartMouse.x,a=r.clientY-this.dragStartMouse.y,l=this.dragStartPos.x+n,c=this.dragStartPos.y+a,s=l+this.bubbleSize.width/2>this.screenWidth,g=this.getBounds();if(s){let y=this.screenWidth-this.visibleHandleWidth,b=Math.max(g.minY,Math.min(c,g.maxY));return this.isHidden=!0,this.onHiddenChange?.(!0),this.isDragging=!1,this.onDraggingChange?.(!1),this.notify(),{position:{x:y,y:b},shouldHide:!0,wasTap:!1}}else{this.isHidden&&l<this.screenWidth-this.visibleHandleWidth-10&&(this.isHidden=!1,this.onHiddenChange?.(!1));let y=Math.max(g.minX,Math.min(l,this.screenWidth-this.bubbleSize.width-this.edgePadding)),b=Math.max(g.minY,Math.min(c,g.maxY));return y<this.screenWidth-this.bubbleSize.width/2&&(this.savedPosition={x:y,y:b}),this.position={x:y,y:b},this.isDragging=!1,this.onDraggingChange?.(!1),this.debouncedSavePosition(y,b),this.notify(),{position:{x:y,y:b},shouldHide:!1,wasTap:!1}}}commitPosition(r){this.position=r,this.savePosition(r.x,r.y),this.notify()}destroy(){this.saveTimeout&&(clearTimeout(this.saveTimeout),this.saveTimeout=null),this.listeners.clear()}};var at={isDialOpen:!1,isSettingsOpen:!1,activeSettingsTab:"dial",isInitialized:!1};function ct(e,r){switch(r.type){case"OPEN_DIAL":return{...e,isDialOpen:!0};case"CLOSE_DIAL":return{...e,isDialOpen:!1};case"TOGGLE_DIAL":return{...e,isDialOpen:!e.isDialOpen};case"OPEN_SETTINGS":return{...e,isSettingsOpen:!0,isDialOpen:!1};case"CLOSE_SETTINGS":return{...e,isSettingsOpen:!1};case"SET_SETTINGS_TAB":return{...e,activeSettingsTab:r.tab};case"INITIALIZE":return{...e,isInitialized:!0};default:return e}}var Ce=class{constructor(r){this.listeners=new Set;this.getState=()=>this.state;this.getServerState=()=>at;this.subscribe=r=>(this.listeners.add(r),()=>{this.listeners.delete(r)});this.state={...at,...r}}isDialOpen(){return this.state.isDialOpen}isSettingsOpen(){return this.state.isSettingsOpen}isInitialized(){return this.state.isInitialized}getActiveSettingsTab(){return this.state.activeSettingsTab}dispatch(r){let o=ct(this.state,r);o!==this.state&&(this.state=o,this.notifyListeners())}openDial(){this.dispatch({type:"OPEN_DIAL"})}closeDial(){this.dispatch({type:"CLOSE_DIAL"})}toggleDial(){this.dispatch({type:"TOGGLE_DIAL"})}openSettings(){this.dispatch({type:"OPEN_SETTINGS"})}closeSettings(){this.dispatch({type:"CLOSE_SETTINGS"})}setSettingsTab(r){this.dispatch({type:"SET_SETTINGS_TAB",tab:r})}initialize(){this.dispatch({type:"INITIALIZE"})}notifyListeners(){this.listeners.forEach(r=>{try{r()}catch(o){console.error("Error in DevToolsStateManager listener:",o)}})}get listenerCount(){return this.listeners.size}reset(){this.state={...at},this.notifyListeners()}},Ut=new Ce;function Xt(e,r){switch(e){case"admin":return{label:"Admin",dotColor:r.success,textColor:r.success};case"internal":return{label:"Internal",dotColor:r.optional,textColor:r.optional};default:return{label:"User",dotColor:r.muted,textColor:r.secondary}}}function Kt(e){return{dotSize:Math.max(2,Math.round(e/6)),columnGap:Math.max(2,Math.round(e/12)),rowGap:Math.max(2,Math.round(e/12))}}function qt(e){return e.filter(r=>r!=null&&r!==!1)}var _e={linear:e=>e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInCubic:e=>e*e*e,easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeOutQuad:e=>1-(1-e)*(1-e),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e)};function Vt(e){return _e[e]}function Ge(e,r,o,n=_e.easeOutCubic){let a=n(Math.max(0,Math.min(1,o)));return e+(r-e)*a}function Qt(e,r,o,n=_e.easeOutCubic){return{x:Ge(e.x,r.x,o,n),y:Ge(e.y,r.y,o,n)}}var F={panel:"#1A1A1A",muted:"#888888",secondary:"#E0E0E0",info:"#20C997",success:"#20C997",optional:"#FFA94D",error:"#EF4444",primary:"#20C997",dragActive:"#20C997"};function Y(e,r){if(typeof r=="number"){let o=Math.round(r*255).toString(16).padStart(2,"0");return`${e}${o}`}return`${e}${r}`}var Zt=6,xe=-1*Math.PI/2,lt=80,ut=60,dt=20,pt=6,Jt={dialBackground:"#000000",dialGradient1:Y(F.info,"10"),dialGradient2:Y(F.info,"08"),dialGradient3:Y(F.info,"15"),dialBorder:Y(F.info,"40"),dialShadow:F.info,dialGridLine:Y(F.info,"26"),dialBackdrop:"rgba(0, 0, 0, 0.85)",centerText:F.secondary,centerTextGlow:F.info,iconLabel:F.secondary,emptyDotBackground:Y(F.muted,"15"),emptyDotBorder:Y(F.muted,"50")},er={backdrop:{opacity:.85},circle:{borderWidth:1,shadowOpacity:.5,shadowRadius:20},gradientLayers:[{opacity:.6,offsetPercent:0},{opacity:.4,offsetPercent:30},{opacity:.3,offsetPercent:50}],grid:{lineCount:6,lineHeight:1,getLineRotations:()=>Array.from({length:6},(e,r)=>r*60)},centerButton:{containerRatio:1.5,borderRatio:1.2,borderRadiusRatio:.6,borderWidth:2,text:{fontSize:10,fontWeight:"900",letterSpacing:1,fontFamily:"monospace"},proText:{fontSize:8,letterSpacing:2}},icon:{gradientBgSizePercent:85,gradientBgBorderRadius:12,gradientBgOpacity:.3,innerGlowSizePercent:70,innerGlowBorderRadius:10,innerGlowOpacity:.5,label:{fontSize:8,fontWeight:"900",letterSpacing:.3,fontFamily:"monospace",marginTop:2},wrapperMarginBottom:4},emptySlot:{dotSize:12,borderWidth:1}};function tr(e=pt){return Array.from({length:e},(r,o)=>o*(360/e))}function rr(e){let{screenWidth:r,maxCircleSize:o=320,circleSizeRatio:n=.75,iconSize:a=ut,iconPadding:l=dt}=e,c=Math.min(r*n,o),p=c/2,s=p-a/2-l;return{circleSize:c,circleRadius:p,iconRadius:s,iconSize:a,buttonSize:lt}}function ft(e,r,o=xe){let n=2*Math.PI/r;return o+n*e}function je(e,r,o,n=xe){let a=ft(e,r,n);return{x:o*Math.cos(a),y:o*Math.sin(a),angle:a}}function or(e,r,o=xe){return Array.from({length:e},(n,a)=>je(a,e,r,o))}function gt(e,r,o=.1){let n=e*o,a=(r-1)*o;return[0,n,n+(1-a),1]}var Z={entrance:{backdrop:{duration:400,easing:"linear"},dial:{scale:{type:"spring",damping:15,stiffness:150,mass:1},rotation:{duration:800,degrees:360,easing:"easeOutCubic"}},centerButton:{delay:300,type:"spring",damping:10,stiffness:200},icons:{delay:500,duration:600,easing:"easeOutCubic"},circuitTraces:{delay:600,duration:1e3}},exit:{icons:{duration:300,easing:"easeInCubic"},centerButton:{duration:200,easing:"easeInCubic"},dialScale:{duration:250,easing:"easeInCubic"},backdrop:{duration:200}},continuous:{glitch:{interval:3e3,offset:2,stepDuration:50},pulse:{minScale:.98,maxScale:1.02,duration:1e3,easing:"easeInOutCubic"},floating:{minY:0,maxY:-8,duration:3e3,easing:"easeInOutCubic"},breathing:{minScale:.98,maxScale:1.05,duration:2500,easing:"easeInOutCubic"}},icons:{staggerRatio:.1,spiral:{startRotation:Math.PI*2,endRotation:0},opacity:{inputRange:[0,.3,1],outputRange:[0,.3,1]},pressIn:{scale:.95,type:"spring",damping:15,stiffness:400},pressOut:{scale:1,type:"spring",damping:15,stiffness:400}},interaction:{iconSelect:{pulse:[{scale:.9,damping:15,stiffness:500},{scale:1,damping:10,stiffness:200}],actionDelay:50},centerHover:{scale:1.05,duration:150}}},me={dialScale:"cubic-bezier(0.34, 1.56, 0.64, 1)",centerButton:"cubic-bezier(0.25, 1.7, 0.55, 1)",iconPress:"cubic-bezier(0.22, 1.2, 0.36, 1)",iconSelectPulse:"cubic-bezier(0.18, 1.15, 0.32, 1)",easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)",easeInCubic:"cubic-bezier(0.32, 0, 0.67, 0)",easeInOutCubic:"cubic-bezier(0.65, 0, 0.35, 1)",linear:"linear"};function ht(){let e=Z.continuous;return{dialGlitch:`@keyframes dialGlitch {
19
+ 0%, 100% { transform: translateX(0); }
20
+ 33% { transform: translateX(${e.glitch.offset}px); }
21
+ 66% { transform: translateX(-${e.glitch.offset}px); }
22
+ }`,dialPulse:`@keyframes dialPulse {
23
+ 0%, 100% { transform: scale(1); }
24
+ 50% { transform: scale(${e.pulse.maxScale}); }
25
+ }`,dialFloating:`@keyframes dialFloating {
26
+ 0%, 100% { transform: translateY(0); }
27
+ 50% { transform: translateY(${e.floating.maxY}px); }
28
+ }`,dialBreathing:`@keyframes dialBreathing {
29
+ 0%, 100% { transform: scale(1); }
30
+ 50% { transform: scale(${e.breathing.maxScale}); }
31
+ }`,dialRotation:`@keyframes dialRotation {
32
+ from { transform: rotate(0deg); }
33
+ to { transform: rotate(${Z.entrance.dial.rotation.degrees}deg); }
34
+ }`}}function nr(){let e=Z.continuous;return{glitch:`dialGlitch ${e.glitch.stepDuration*3}ms ease`,pulse:`dialPulse ${e.pulse.duration*2}ms ${me.easeInOutCubic} infinite`,floating:`dialFloating ${e.floating.duration*2}ms ${me.easeInOutCubic} infinite`,breathing:`dialBreathing ${e.breathing.duration*2}ms ${me.easeInOutCubic} infinite`,dialRotation:`dialRotation ${Z.entrance.dial.rotation.duration}ms ${me.easeOutCubic}`}}function ir(){return Object.values(ht()).join(`
35
+
36
+ `)}function sr(e,r,o,n,a=xe){let l=je(r,o,n,a),c=Z.icons.spiral,p=Z.icons.opacity,s=Math.max(0,Math.min(1,e)),g=c.startRotation+(c.endRotation-c.startRotation)*s,y=n*s,b=l.angle+g,_=y*Math.cos(b),I=y*Math.sin(b),A=_+(l.x-_)*s,N=I+(l.y-I)*s,$;if(s<=p.inputRange[0])$=p.outputRange[0];else if(s<=p.inputRange[1]){let M=(s-p.inputRange[0])/(p.inputRange[1]-p.inputRange[0]);$=p.outputRange[0]+(p.outputRange[1]-p.outputRange[0])*M}else{let M=(s-p.inputRange[1])/(p.inputRange[2]-p.inputRange[1]);$=p.outputRange[1]+(p.outputRange[2]-p.outputRange[1])*M}return{x:A,y:N,rotation:g,scale:s,opacity:$}}function ar(e,r,o){let n=gt(r,o,Z.icons.staggerRatio);if(e<=n[0]||e<=n[1])return 0;if(e>=n[3]||e>=n[2])return 1;let a=(e-n[1])/(n[2]-n[1]);return Math.max(0,Math.min(1,a))}var cr="@react_buoy_dev_tools_settings",ze=6,lr=[{key:"dial",label:"DIAL"},{key:"floating",label:"FLOATING"},{key:"settings",label:"SETTINGS"},{key:"pro",label:"PRO"}],yt={background:"rgba(8, 12, 21, 0.98)",panel:"rgba(16, 22, 35, 0.98)",backdrop:"rgba(0, 0, 0, 0.85)",cardBackground:"#0F172A",cardBorder:"#25324A",cardBorderHover:"#3b4c6b",text:"#E6EEFF",textSecondary:"#B8BFC9",textMuted:"#7F91B2",textDim:"#7A8599",success:"#4AFF9F",warning:"#FFEB3B",error:"#FF5252",info:"#00B8E6",toggleOnBg:e=>Y(e,"33"),toggleOnBorder:e=>Y(e,"88"),toggleOffBg:"#1b2334",toggleOffBorder:"#2a3550",toggleOffText:"#8CA2C8",tabActiveBg:"rgba(0, 184, 230, 0.13)",tabActiveBorder:"#00B8E6",tabInactiveBg:"transparent",tabInactiveText:"#7A8599"},bt={query:"#FF4154",env:"#4AFF9F",sentry:"#FF5252",storage:"#BA68C8",network:"#4AFF9F",wifi:"#4AFF9F",environment:"#4AFF9F","debug-borders":"#10b981","highlight-updates":"#10b981","highlight-updates-modal":"#10b981",benchmark:"#F59E0B","route-events":"#FF9F1C",routes:"#FF9F1C",renders:"#10b981"},ur=e=>bt[e]||yt.info,mt={query:"QUERY",env:"ENV",sentry:"SENTRY",storage:"STORAGE",network:"NET",wifi:"WIFI",environment:"ENV BADGE","debug-borders":"DEBUG BORDERS","highlight-updates":"HIGHLIGHT","highlight-updates-modal":"HIGHLIGHT MODAL",benchmark:"BENCHMARK","route-events":"ROUTES",routes:"ROUTES",renders:"HIGHLIGHT"},dr=(e,r)=>{if(r){let o=r.find(n=>n.id===e);if(o?.name)return o.name}return mt[e]||e.toUpperCase().replace(/_/g," ").replace(/-/g," ")},xt={query:"React Query inspector",env:"Environment variables debugger",sentry:"Error tracking & monitoring",storage:"AsyncStorage browser",network:"Network request logger",wifi:"Network status toggle",environment:"Environment badge indicator","debug-borders":"Component layout borders","highlight-updates":"View component render tracking","highlight-updates-modal":"Render count inspector",benchmark:"Performance benchmarks","route-events":"Route tracking & navigation inspector",routes:"Route tracking & navigation inspector",renders:"View component render tracking modal"},pr=(e,r)=>{if(r){let o=r.find(n=>n.id===e);if(o?.description)return o.description}return xt[e]||""},fr={card:{borderRadius:999,paddingVertical:10,paddingHorizontal:14,marginBottom:10,borderWidth:1},cardInner:{gap:10},iconContainer:{width:28,height:28},toolName:{fontSize:13,fontWeight:"800"},toolDescription:{fontSize:11},toggle:{paddingHorizontal:12,paddingVertical:6,borderRadius:999,borderWidth:1,fontSize:11,fontWeight:"700"},tab:{paddingHorizontal:8,paddingVertical:5,borderRadius:4,fontSize:12,fontWeight:"600",letterSpacing:.5},sectionHeader:{marginBottom:12,paddingHorizontal:4},sectionTitle:{fontSize:10,fontWeight:"700",letterSpacing:1,textTransform:"uppercase"},scrollContent:{paddingTop:16,paddingBottom:24},section:{marginHorizontal:16,marginBottom:24}},gr=[{key:"enableSharedModalDimensions",label:"SHARED MODAL SIZE",category:"MODAL",shortDescription:"Sync dimensions across all tools",fullDescription:"When enabled, all tool modals will share the same size and position. Resizing one modal will affect all others. When disabled, each tool remembers its own size and position independently.",recommendation:"Keep OFF for the best experience. This allows you to customize each tool's modal size separately. Enable only if you prefer uniform modal sizes across all dev tools."}],Be=(e,r=ze)=>{let o=r,n={};for(let[a,l]of Object.entries(e))l&&o>0?(n[a]=!0,o-=1):n[a]=!1;return n},St=(e,r)=>{let{userStatus:o,environment:n,...a}=e,l=r?Object.entries(a).filter(([c])=>r.includes(c)):Object.entries(a);return{...Object.fromEntries(l),environment:n??!1}},hr=(e,r,o)=>{if(!r)return e;let n={...e.dialTools,...r.dialTools??{}},a=o?.allowedDialKeys?Object.entries(n).filter(([c])=>o.allowedDialKeys?.includes(c)):Object.entries(n);return{dialTools:Be(Object.fromEntries(a)),floatingTools:St({...e.floatingTools,...r.floatingTools??{}},o?.allowedFloatingKeys),globalSettings:{enableSharedModalDimensions:!1,...r.globalSettings??{}}}},yr=(e=[],r,o)=>{let n={},a={},l=new Set(r??[]),c=new Set(o??[]);for(let p of e){let{id:s,slot:g="both"}=p;(g==="dial"||g==="both")&&(n[s]=c.has(s)),(g==="row"||g==="both")&&(a[s]=l.has(s))}return{dialTools:Be(n),floatingTools:{...a,environment:l.has("environment")},globalSettings:{enableSharedModalDimensions:!1}}},vt=e=>Object.values(e).filter(Boolean).length,br=(e,r,o=ze)=>{let n=vt(e);return e[r]?!0:n<o},mr=e=>{let r=Object.entries(e.floatingTools).filter(([n,a])=>a).map(([n])=>n),o=Object.entries(e.dialTools).filter(([n,a])=>a).map(([n])=>n);return{floating:r,dial:o}},we=class{constructor(){this.listeners=new Set}emit(r){this.listeners.forEach(o=>{try{o(r)}catch(n){console.error("Error emitting settings event:",n)}})}addListener(r){return this.listeners.add(r),()=>this.listeners.delete(r)}clear(){this.listeners.clear()}get listenerCount(){return this.listeners.size}},xr=new we;var z=Me(Ie()),Mr=({size:e,children:r})=>(0,z.jsx)("div",{style:{position:"relative",width:e,height:e},children:r});function Ve(e,r){return[`0 0 ${r*.15}px ${e}`,`0 0 ${r*.3}px ${e}`,`0 0 ${r*.6}px ${e}cc`,`0 0 ${r}px ${e}80`,`0 0 ${r*1.5}px ${e}40`].join(", ")}var Hr=({cx:e,cy:r,r:o,fill:n,borderColor:a,borderWidth:l=0,opacity:c=1,scaleX:p=1,scaleY:s=1,glowColor:g,glowRadius:y=0,rotation:b=0})=>{let _=o*2,I=[];p!==1&&I.push(`scaleX(${p})`),s!==1&&I.push(`scaleY(${s})`),b!==0&&I.push(`rotate(${b}deg)`);let A={position:"absolute",left:e-o,top:r-o,width:_,height:_,borderRadius:o,backgroundColor:n,border:a?`${l}px solid ${a}`:void 0,opacity:c,transform:I.length>0?I.join(" "):void 0,transformOrigin:"50% 50%",boxShadow:g&&y>0?Ve(g,y):void 0,boxSizing:"border-box"};return(0,z.jsx)("div",{style:A})},$r=({x:e,y:r,width:o,height:n,fill:a,borderColor:l,borderWidth:c=0,borderRadius:p=0,opacity:s=1,glowColor:g,glowRadius:y=0,rotation:b,originX:_=0,originY:I=.5})=>{let A={position:"absolute",left:e,top:r,width:o,height:n,borderRadius:p,backgroundColor:a,border:l?`${c}px solid ${l}`:void 0,opacity:s,boxShadow:g&&y>0?Ve(g,y):void 0,boxSizing:"border-box",transform:b!==void 0?`rotate(${b}deg)`:void 0,transformOrigin:b!==void 0?`${_*100}% ${I*100}%`:void 0};return(0,z.jsx)("div",{style:A})},Fr=({x1:e,y1:r,x2:o,y2:n,stroke:a,strokeWidth:l=1,opacity:c=1,glowColor:p,glowRadius:s=0,rotation:g=0})=>{let y=o-e,b=n-r,_=Math.sqrt(y*y+b*b),I=Math.atan2(b,y)*(180/Math.PI),A=(e+o)/2,N=(r+n)/2,$=I+g,M={position:"absolute",left:A-_/2,top:N-l/2,width:_,height:l,backgroundColor:a,opacity:c,transform:`rotate(${$}deg)`,transformOrigin:"50% 50%",borderRadius:l/2,boxShadow:p&&s>0?Ve(p,s):void 0};return(0,z.jsx)("div",{style:M})},Yr=({x:e,y:r,size:o,direction:n,fill:a,opacity:l=1,rotation:c})=>{let p=o*.577,s={},g=0,y=0;switch(n){case"down":s={borderLeft:`${p}px solid transparent`,borderRight:`${p}px solid transparent`,borderTop:`${o}px solid ${a}`},g=-p,y=0;break;case"up":s={borderLeft:`${p}px solid transparent`,borderRight:`${p}px solid transparent`,borderBottom:`${o}px solid ${a}`},g=-p,y=-o;break;case"left":s={borderTop:`${p}px solid transparent`,borderBottom:`${p}px solid transparent`,borderRight:`${o}px solid ${a}`},g=-o,y=-p;break;case"right":s={borderTop:`${p}px solid transparent`,borderBottom:`${p}px solid transparent`,borderLeft:`${o}px solid ${a}`},g=0,y=-p;break}let b=[];c!==void 0&&b.push(`rotate(${c}deg)`);let _={position:"absolute",left:e+g,top:r+y,width:0,height:0,opacity:l,...s,transform:b.length>0?b.join(" "):void 0,transformOrigin:"50% 50%"};return(0,z.jsx)("div",{style:_})},Gr=({cx:e,cy:r,r:o,startAngle:n,endAngle:a,stroke:l,strokeWidth:c=1.5,opacity:p=1,segments:s})=>{let g=Math.abs(a-n),y=Math.max(8,Math.ceil(g/10)),b=s??y,_=[],I=(a-n)/b;for(let A=0;A<b;A++){let N=n+A*I,$=n+(A+1)*I,M=N*Math.PI/180,le=$*Math.PI/180,J=e+o*Math.cos(M),ne=r+o*Math.sin(M),ue=e+o*Math.cos(le),U=r+o*Math.sin(le),K=ue-J,ee=U-ne,D=Math.sqrt(K*K+ee*ee),Te=Math.atan2(ee,K)*(180/Math.PI),q=(J+ue)/2,V=(ne+U)/2,te={position:"absolute",left:q-D/2,top:V-c/2,width:D,height:c,backgroundColor:l,opacity:p,transform:`rotate(${Te}deg)`,transformOrigin:"50% 50%",borderRadius:c/2};_.push((0,z.jsx)("div",{style:te},A))}return(0,z.jsx)(z.Fragment,{children:_})},jr=({cx:e,cy:r,r:o,half:n,fill:a,borderColor:l,borderWidth:c=0,opacity:p=1,glowColor:s,glowRadius:g=0})=>{let y=o*2,b,_,I,A,N;switch(n){case"top":b=e-o,_=r-o,I=y,A=o,N=`${o}px ${o}px 0 0`;break;case"bottom":b=e-o,_=r,I=y,A=o,N=`0 0 ${o}px ${o}px`;break;case"left":b=e-o,_=r-o,I=o,A=y,N=`${o}px 0 0 ${o}px`;break;case"right":b=e,_=r-o,I=o,A=y,N=`0 ${o}px ${o}px 0`;break}let $={position:"absolute",left:b,top:_,width:I,height:A,borderRadius:N,backgroundColor:a,border:l?`${c}px solid ${l}`:void 0,opacity:p,boxShadow:s&&g>0?Ve(s,g):void 0,boxSizing:"border-box"};return(0,z.jsx)("div",{style:$})},zr=({cx:e,cy:r,r:o,stroke:n,strokeWidth:a=2,opacity:l=1,portion:c="bottom"})=>{let p=o*2,s=n,g=n,y=n,b=n;switch(c){case"bottom":s="transparent",y="transparent",b="transparent";break;case"top":g="transparent",y="transparent",b="transparent";break;case"left":s="transparent",g="transparent",b="transparent";break;case"right":s="transparent",g="transparent",y="transparent";break}let _={position:"absolute",left:e-o,top:r-o,width:p,height:p,borderRadius:o,borderWidth:a,borderStyle:"solid",borderTopColor:s,borderBottomColor:g,borderLeftColor:y,borderRightColor:b,opacity:l,boxSizing:"border-box"};return(0,z.jsx)("div",{style:_})};var B=Me(Ie());function Ln(e,r){let o=e.replace("#",""),n,a,l;if(o.length===3)n=parseInt(o[0]+o[0],16),a=parseInt(o[1]+o[1],16),l=parseInt(o[2]+o[2],16);else if(o.length>=6)n=parseInt(o.substring(0,2),16),a=parseInt(o.substring(2,4),16),l=parseInt(o.substring(4,6),16);else return e;return`rgba(${n}, ${a}, ${l}, ${r})`}function ce(e,r,o){if(!e)return;let n=e.lastIndexOf(":"),a=e,l=1;if(n>0){let p=e.substring(n+1),s=parseInt(p,10);!isNaN(s)&&s>=0&&s<=100&&(a=e.substring(0,n),l=s/100)}let c;return a==="color"?c=r:a==="bg"?c=o:c=a,l<1&&c.startsWith("#")?Ln(c,l):c}function Dt(e,r,o){let n=r/24,a=r/2,l=o??e.color,c=e.bgColor,p=e.elements;return(0,B.jsx)(Mr,{size:r,children:p.map((s,g)=>{if(s.type==="circle")return(0,B.jsx)(Hr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,fill:ce(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??2)*n:0,opacity:s.opacity,scaleX:s.scaleX,scaleY:s.scaleY,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation},g);if(s.type==="rect"){let y=s.rotation!==void 0?s.rotateFromCenter?.5:0:.5;return(0,B.jsx)($r,{x:a+s.x*n,y:a+s.y*n,width:s.width*n,height:s.height*n,fill:ce(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??1)*n:0,borderRadius:(s.borderRadius??0)*n,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation,originX:y,originY:.5},g)}return s.type==="line"?(0,B.jsx)(Fr,{x1:a+s.x1*n,y1:a+s.y1*n,x2:a+s.x2*n,y2:a+s.y2*n,stroke:ce(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??1)*n,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation},g):s.type==="triangle"?(0,B.jsx)(Yr,{x:a+s.x*n,y:a+s.y*n,size:s.size*n,direction:s.direction,fill:ce(s.fill??"color",l,c),opacity:s.opacity,rotation:s.rotation},g):s.type==="arc"?(0,B.jsx)(Gr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,startAngle:s.startAngle,endAngle:s.endAngle,stroke:ce(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??1.5)*n,opacity:s.opacity,segments:s.segments},g):s.type==="semicircle"?(0,B.jsx)(jr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,half:s.half,fill:ce(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??2)*n:0,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0},g):s.type==="smootharc"?(0,B.jsx)(zr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,stroke:ce(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??2)*n,opacity:s.opacity,portion:s.portion??"bottom"},g):null})})}function S(e){return function({size:o=24,color:n}){return(0,B.jsx)(B.Fragment,{children:Dt(e,o,n)})}}var Qe="#00D4FF",Br={color:Qe,bgColor:"rgba(8, 12, 21, 0.95)",elements:[{type:"circle",cx:0,cy:0,r:9,fill:"bg",border:!0,borderWidth:2,glow:!0,glowRadius:4},{type:"circle",cx:0,cy:0,r:9,border:!0,borderWidth:2,scaleX:.45,opacity:.6},{type:"circle",cx:0,cy:0,r:9,border:!0,borderWidth:2,scaleX:1.33,scaleY:.6,opacity:.6}]},Ze="#4AFF9F",Wn=[1,3,5,7,9,11,13,15,17],Mn=[2,4,6,8,10,12,14,16],Ur={color:Ze,bgColor:"#000",elements:[{type:"rect",x:-11,y:3,width:22,height:10,borderRadius:1,fill:"color",opacity:.15},{type:"rect",x:-10,y:4,width:20,height:8,borderRadius:1,fill:"color",opacity:.85},...Wn.map(e=>({type:"rect",x:-10+e,y:4+1.5,width:1.5,height:1.2,borderRadius:.2,fill:"#000",opacity:.3})),...Mn.map(e=>({type:"rect",x:-10+e,y:4+3.2,width:1.5,height:1.2,borderRadius:.2,fill:"#000",opacity:.3})),{type:"rect",x:-5,y:4+5.5,width:10,height:1,borderRadius:.2,fill:"#000",opacity:.25},{type:"rect",x:-9,y:-10,width:18,height:12,borderRadius:1,fill:"color",opacity:.9},{type:"rect",x:-8,y:-9,width:16,height:10,borderRadius:.5,fill:"#000",opacity:.5},{type:"rect",x:-7,y:-8,width:10,height:.5,fill:"color",opacity:.6},{type:"rect",x:-7,y:-6,width:7,height:.5,fill:"color",opacity:.6},{type:"rect",x:-7,y:-4,width:4,height:.5,fill:"color",opacity:.6},{type:"rect",x:-1,y:10,width:2,height:1,borderRadius:.5,fill:"color",opacity:.8},{type:"rect",x:-9+.3*18,y:-10+.3*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-9+.7*18,y:-10+.3*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-9+.5*18,y:-10+.7*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4}]},Je="#FFB800";var Xr={color:Je,bgColor:"#000",elements:[{type:"rect",x:-9,y:-7,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:-6,width:16,height:6,borderRadius:3,fill:"color",opacity:.9},{type:"rect",x:-7,y:-5.5,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:-6,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-9,y:-2.2,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:-1.2,width:16,height:6,borderRadius:3,fill:"color",opacity:.8},{type:"rect",x:-7,y:-.7,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:-1.2,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-9,y:2.6,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:3.6,width:16,height:6,borderRadius:3,fill:"color",opacity:.7},{type:"rect",x:-7,y:4.1,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:3.6,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-.25,y:-3.6,width:.5,height:6,fill:"color",opacity:.3},{type:"rect",x:-.25,y:1.2,width:.5,height:6,fill:"color",opacity:.3},{type:"rect",x:-.5,y:-3.5,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6},{type:"rect",x:-.5,y:1.3,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6},{type:"rect",x:-.5,y:6.1,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6}]},k="#FF9F1C",Kr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:-2,r:5,fill:"color",opacity:1},{type:"triangle",x:0,y:4,size:5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:0,cy:-2,r:2,fill:"bg",opacity:1}]},qr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:6,fill:"transparent",border:!0,borderWidth:3,scaleX:1.5,scaleY:.8,opacity:1}]},Vr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:6,fill:"transparent",border:!0,borderWidth:3,scaleX:.6,scaleY:1.4,opacity:1}]},Qr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:3,opacity:1}]},Zr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},Jr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},eo={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},to={color:k,bgColor:"#000",elements:[{type:"rect",x:-6,y:-3,width:16,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},ro={color:k,bgColor:"#000",elements:[{type:"rect",x:-22,y:-3,width:16,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},oo={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-7,width:20,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:1,width:20,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},no={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},io={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-5,width:20,height:4,borderRadius:2,fill:"transparent",border:!0,borderWidth:1,opacity:1},{type:"rect",x:-12,y:1,width:20,height:4,borderRadius:2,fill:"transparent",border:!0,borderWidth:1,opacity:1}]},so={color:k,bgColor:"#000",elements:[{type:"rect",x:-6,y:-8,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-14,y:3,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},ao={color:k,bgColor:"#000",elements:[{type:"rect",x:-7,y:-5,width:18,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-11,y:0,width:18,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},co={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:2,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},lo={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1,opacity:1}]},uo={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-7,width:20,height:7,borderRadius:3.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:0,width:20,height:7,borderRadius:3.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},po={color:k,bgColor:"#000",elements:[{type:"smootharc",cx:-3,cy:-2,r:5,stroke:"color",strokeWidth:3,opacity:1,portion:"bottom"},{type:"smootharc",cx:3,cy:2,r:5,stroke:"color",strokeWidth:3,opacity:1,portion:"top"}]},fo={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:8,fill:"color",opacity:.3},{type:"circle",cx:0,cy:0,r:3,fill:"bg",opacity:1}]},go={color:k,bgColor:"#000",elements:[{type:"circle",cx:-6,cy:4,r:3.5,fill:"color",opacity:1},{type:"triangle",x:-6,y:8.5,size:3.5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:-6,cy:4,r:1.4,fill:"bg",opacity:1},{type:"circle",cx:6,cy:-5,r:3.5,fill:"color",opacity:1},{type:"triangle",x:6,y:-.5,size:3.5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:6,cy:-5,r:1.4,fill:"bg",opacity:1}]},ho={color:"#FF9F1C",bgColor:"#0a0a0f",elements:[{type:"circle",cx:2.846049894151541,cy:1.2649110640673518,r:4.110960958218893,fill:"#FF9F1C",scaleY:.94},{type:"circle",cx:6.00832755431992,cy:6.324555320336758,r:4,fill:"color"},{type:"circle",cx:6.324555320336758,cy:-6.324555320336758,r:3.794733192202055,fill:"color",scaleY:.97},{type:"circle",cx:6.324555320336758,cy:-6.00832755431992,r:1.5811388300841895,fill:"bg"},{type:"circle",cx:-6.324555320336758,cy:3.478505426185217,r:3.794733192202055,fill:"color",scaleY:.97},{type:"circle",cx:-6.324555320336758,cy:3.478505426185217,r:1.5811388300841895,fill:"bg"},{type:"line",x1:-8.854377448471462,y1:4.743416490252569,x2:-6.00832755431992,y2:9.803060746521975,stroke:"color",strokeWidth:1.5},{type:"line",x1:-3.162277660168379,y1:3.162277660168379,x2:-6.640783086353596,y2:9.803060746521975,stroke:"color",strokeWidth:1.8},{type:"rect",x:-7.273238618387272,y:6.324555320336758,width:1.8973665961010275,height:2.2135943621178655,fill:"color"},{type:"line",x1:1.2649110640673518,y1:1.2649110640673518,x2:9.1706052144883,y2:1.2649110640673518,stroke:"bg",strokeWidth:2.4},{type:"line",x1:9.486832980505138,y1:-6.640783086353596,x2:6.00832755431992,y2:0,stroke:"color",strokeWidth:1.8},{type:"line",x1:3.478505426185217,y1:-5.375872022286244,x2:6.640783086353596,y2:0,stroke:"color",strokeWidth:1.5},{type:"rect",x:5.692099788303082,y:-3.478505426185217,width:1.8973665961010275,height:2.2135943621178655,fill:"color"},{type:"rect",x:2.846049894151541,y:10,width:6,height:4,fill:"bg"},{type:"line",x1:-.31622776601683794,y1:6.324555320336758,x2:7.58946638440411,y2:6.324555320336758,stroke:"bg",strokeWidth:2.3},{type:"rect",x:-2.5298221281347035,y:7.5,width:7.273238618387272,height:2.5,fill:"color"}]},et="#FF3366",H={fresh:"#10B981",fetching:"#3B82F6",stale:"#F59E0B",paused:"#8B5CF6",inactive:"#6B7280"},yo={color:et,bgColor:"#000",elements:[{type:"line",x1:0,y1:0,x2:0,y2:-8,stroke:H.fresh,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:7.6,y2:-2.5,stroke:H.fetching,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:4.7,y2:6.5,stroke:H.stale,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:-4.7,y2:6.5,stroke:H.paused,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:-7.6,y2:-2.5,stroke:H.inactive,strokeWidth:1.2,opacity:.5},{type:"circle",cx:0,cy:-8,r:2.2,fill:H.fresh,opacity:.2},{type:"circle",cx:0,cy:-8,r:1.6,fill:H.fresh,opacity:.9},{type:"circle",cx:7.6,cy:-2.5,r:2.2,fill:H.fetching,opacity:.2},{type:"circle",cx:7.6,cy:-2.5,r:1.6,fill:H.fetching,opacity:.9},{type:"circle",cx:4.7,cy:6.5,r:2.2,fill:H.stale,opacity:.2},{type:"circle",cx:4.7,cy:6.5,r:1.6,fill:H.stale,opacity:.9},{type:"circle",cx:-4.7,cy:6.5,r:2.2,fill:H.paused,opacity:.2},{type:"circle",cx:-4.7,cy:6.5,r:1.6,fill:H.paused,opacity:.9},{type:"circle",cx:-7.6,cy:-2.5,r:2.2,fill:H.inactive,opacity:.2},{type:"circle",cx:-7.6,cy:-2.5,r:1.6,fill:H.inactive,opacity:.9},{type:"circle",cx:0,cy:0,r:4.5,fill:"color",opacity:.1},{type:"circle",cx:0,cy:0,r:3,fill:"color",opacity:.95},{type:"circle",cx:0,cy:0,r:1.3,fill:"#fff",opacity:.35}]},Oe="#10B981",Pt=Oe,bo={color:Oe,bgColor:"#0a0a0f",elements:[{type:"rect",x:-9.1706052144883,y:5.692099788303082,width:3.478505426185217,height:3.478505426185217,fill:"color",rotation:45},{type:"rect",x:-10.119288512538814,y:8.538149682454623,width:6,height:4,fill:"bg"},{type:"line",x1:-10.119288512538814,y1:7.905694150420948,x2:-6.640783086353596,y2:7.905694150420948,stroke:"color",strokeWidth:1.5},{type:"line",x1:-6.957010852370434,y1:5.059644256269407,x2:-2.846049894151541,y2:5.059644256269407,stroke:"color",strokeWidth:1.5,rotation:44},{type:"line",x1:-5.91,y1:-4.11,x2:7.27,y2:-4.33,stroke:"color",strokeWidth:2.1,rotation:145},{type:"line",x1:-1.56,y1:1.05,x2:10.435516278555651,y2:-2.846049894151541,stroke:"color",strokeWidth:2.1,rotation:145},{type:"line",x1:4.110960958218893,y1:-6.640783086353596,x2:9.486832980505138,y2:-6.640783086353596,stroke:"color",strokeWidth:2.2,rotation:44},{type:"line",x1:-4.743416490252569,y1:-1.5811388300841895,x2:1.5811388300841895,y2:4.743416490252569,stroke:"color",strokeWidth:2.9},{type:"line",x1:-6.957010852370434,y1:1.2649110640673518,x2:-2.2135943621178655,y2:2.2135943621178655,stroke:"color",strokeWidth:1.5,rotation:77},{type:"line",x1:-1.2649110640673518,y1:.9486832980505138,x2:-2.5298221281347035,y2:7.905694150420948,stroke:"color",strokeWidth:1.5,rotation:77},{type:"rect",x:-4.427188724235731,y:.9486832980505138,width:3.794733192202055,height:4.110960958218893,fill:"color"},{type:"line",x1:-7.58946638440411,y1:1.8973665961010275,x2:-.9486832980505138,y2:1.8973665961010275,stroke:"color",strokeWidth:1.5,rotation:-48},{type:"line",x1:-5.375872022286244,y1:4.110960958218893,x2:1.2649110640673518,y2:4.110960958218893,stroke:"color",strokeWidth:1.5,rotation:-48}]};var tt="#F59E0B",mo={color:tt,bgColor:"#000",elements:[{type:"circle",cx:0,cy:1,r:7,border:!0,borderWidth:1.5,opacity:.9},{type:"circle",cx:0,cy:1,r:5,fill:"color",opacity:.15},{type:"rect",x:-2,y:-10,width:4,height:3,borderRadius:1,fill:"color",opacity:.9},{type:"rect",x:-1,y:-7.5,width:2,height:2,fill:"color",opacity:.9},{type:"rect",x:-.75,y:-4,width:1.5,height:5,borderRadius:1,fill:"color",opacity:.9,rotation:-45,rotateFromCenter:!0},{type:"circle",cx:0,cy:1,r:1,fill:"color",opacity:.9},{type:"rect",x:-.5,y:-5,width:1,height:2,fill:"color",opacity:.5},{type:"rect",x:4,y:.5,width:2,height:1,fill:"color",opacity:.5},{type:"rect",x:-.5,y:5,width:1,height:2,fill:"color",opacity:.5},{type:"rect",x:-6,y:.5,width:2,height:1,fill:"color",opacity:.5}]},rt="#FF3366",xo={color:rt,bgColor:"#000",elements:[{type:"circle",cx:0,cy:1,r:8,fill:"color",opacity:.15},{type:"rect",x:-6,y:-4,width:12,height:14,borderRadius:6,fill:"color",opacity:.9},{type:"rect",x:-4,y:-9,width:8,height:6,borderRadius:4,fill:"color",opacity:.95},{type:"rect",x:-3,y:-12,width:.8,height:4,fill:"color",opacity:.7,rotation:-15},{type:"circle",cx:-4,cy:-12,r:1.2,fill:"color",opacity:.6},{type:"rect",x:2.2,y:-12,width:.8,height:4,fill:"color",opacity:.7,rotation:15},{type:"circle",cx:4,cy:-12,r:1.2,fill:"color",opacity:.6},{type:"rect",x:-10,y:-2,width:4,height:1,fill:"color",opacity:.8,rotation:-20},{type:"rect",x:-10,y:1,width:4,height:1,fill:"color",opacity:.8,rotation:-10},{type:"rect",x:-10,y:4,width:4,height:1,fill:"color",opacity:.8,rotation:10},{type:"rect",x:6,y:-2,width:4,height:1,fill:"color",opacity:.8,rotation:20},{type:"rect",x:6,y:1,width:4,height:1,fill:"color",opacity:.8,rotation:10},{type:"rect",x:6,y:4,width:4,height:1,fill:"color",opacity:.8,rotation:-10},{type:"circle",cx:0,cy:1,r:1,fill:"#fff",opacity:.3}]},ot="#00D4FF",So={color:ot,bgColor:"#000",elements:[{type:"circle",cx:0,cy:6,r:2,fill:"color",opacity:1},{type:"smootharc",cx:0,cy:6,r:5,stroke:"color",strokeWidth:2,opacity:.9,portion:"top"},{type:"smootharc",cx:0,cy:6,r:8,stroke:"color",strokeWidth:2,opacity:.7,portion:"top"},{type:"smootharc",cx:0,cy:6,r:11,stroke:"color",strokeWidth:2,opacity:.5,portion:"top"}]},nt="#10B981",vo={color:nt,bgColor:"#000",elements:[{type:"rect",x:-10,y:-10,width:20,height:20,borderRadius:3,border:!0,borderWidth:1.5,opacity:.2},{type:"rect",x:-7.5,y:-7.5,width:15,height:15,borderRadius:2.5,border:!0,borderWidth:1.5,opacity:.4},{type:"rect",x:-6,y:-6,width:12,height:12,borderRadius:2,fill:"color",opacity:.15},{type:"rect",x:-5,y:-5,width:10,height:10,borderRadius:1.5,fill:"color",opacity:.9},{type:"rect",x:-3.5,y:-3.5,width:7,height:7,borderRadius:1,fill:"#000",opacity:.4},{type:"rect",x:-2,y:-2,width:4,height:1,borderRadius:.5,fill:"color",opacity:.7},{type:"rect",x:-2,y:0,width:3,height:1,borderRadius:.5,fill:"color",opacity:.5},{type:"rect",x:-2,y:2,width:2,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-3,y:-4.5,width:6,height:1.5,borderRadius:.75,fill:"#fff",opacity:.2},{type:"circle",cx:-8,cy:-8,r:1,fill:"color",opacity:.6},{type:"circle",cx:8,cy:-8,r:1,fill:"color",opacity:.6},{type:"circle",cx:-8,cy:8,r:1,fill:"color",opacity:.6},{type:"circle",cx:8,cy:8,r:1,fill:"color",opacity:.6}]};var To=S(Br);var Eo=S(Ur);var Ro=S(Xr);var Co=S(ho),_o=S(Kr),wo=S(po),Io=S(fo),Oo=S(go),Do=S(qr),Po=S(Vr),Ao=S(Qr),ko=S(Zr),No=S(Jr),Lo=S(eo),Wo=S(to),Mo=S(ro),Ho=S(oo),$o=S(no),Fo=S(io),Yo=S(so),Go=S(ao),jo=S(co),zo=S(lo),Bo=S(uo);var Uo=S(yo);var At=S(bo),Xo=At;var Ko=S(mo);var qo=S(xo);var Vo=S(So);var Qo=S(vo);function Zo(e,r,o,n={}){return{type:"circle",cx:e,cy:r,r:o,fill:n.fill??"color",glow:n.glow,glowRadius:n.glowRadius,opacity:n.opacity,scaleX:n.scaleX,scaleY:n.scaleY}}function Jo(e,r,o,n,a={}){return{type:"line",x1:e,y1:r,x2:o,y2:n,stroke:a.stroke??"color",strokeWidth:a.strokeWidth??1,glow:a.glow,glowRadius:a.glowRadius,opacity:a.opacity}}function en(e,r,o,n={}){return{type:"circle",cx:e,cy:r,r:o,fill:void 0,border:!0,borderWidth:n.borderWidth??1.5,opacity:n.opacity,scaleX:n.scaleX,scaleY:n.scaleY}}function tn(e,r,o=2){return{type:"circle",cx:e,cy:r,r:o,fill:"color"}}function rn(e,r,o,n=.3){return{type:"circle",cx:e,cy:r,r:o,fill:"color",opacity:n,glow:!0,glowRadius:o}}function on(e,r,o,n,a={}){return{type:"triangle",x:e,y:r,size:o,direction:n,fill:a.fill??"color",opacity:a.opacity,rotation:a.rotation}}function nn(e,r,o,n,a={}){return{type:"rect",x:e,y:r,width:o,height:n,fill:a.fill??"color",opacity:a.opacity,borderRadius:a.borderRadius??Math.min(o,n)/4}}0&&(module.exports={ANIMATION_DURATION,BENCHMARK_ICON_COLOR,BenchmarkIcon,CurveTestA,CurveTestB,CurveTestC,CurveTestD,CurveTestE,CurveTestF,CurveTestG,CurveTestH,CurveTestI,CurveTestJ,CurveTestK,CurveTestL,CurveTestM,CurveTestN,CurveTestO,CurveTestP,DIAL_BUTTON_SIZE,DIAL_GRID_LINE_COUNT,DIAL_ICON_PADDING,DIAL_ICON_SIZE,DIAL_START_ANGLE,DRAG_THRESHOLD,DevToolsStateManager,EDGE_PADDING,ENV_ICON_COLOR,EnvIcon,FloatingToolsStore,HIGHLIGHTER_ICON_COLOR,HIGHLIGHT_ICON_COLOR,HighlightIcon,HighlighterIcon,MAX_DIAL_SLOTS,MAX_SETTINGS_DIAL_SLOTS,NETWORK_ICON_COLOR,NetworkIcon,QUERY_ICON_COLOR,QueryIcon,RENDERS_ICON_COLOR,ROUTES_ICON_COLOR,RendersIcon,RouteDotIcon,RoutePathIcon,RoutePinIcon,RouteTwoPinsIcon,RoutesIcon,SAVE_DEBOUNCE_MS,SENTRY_ICON_COLOR,SETTINGS_STORAGE_KEY,STORAGE_ICON_COLOR,STORAGE_KEYS,SentryIcon,SettingsEventBus,StorageIcon,VISIBLE_HANDLE_WIDTH,WIFI_ICON_COLOR,WifiIcon,canEnableDialTool,countEnabledTools,createArrow,createBar,createDot,createGlow,createIcon,createLine,createNode,createRing,devToolsReducer,devToolsStateManager,dialAnimationConfig,dialCSSBeziers,dialColors,dialStyles,easing,enforceDialLimit,filterValidChildren,floatingToolsColors,generateDefaultSettings,generateDialCSSKeyframes,getAllIconPositions,getDialCSSAnimationStyles,getDialCSSKeyframesString,getDialLayout,getEasing,getEnabledToolIds,getGridLineRotations,getGripIconLayout,getIconAngle,getIconPosition,getIconStaggerInputRange,getSpiralAnimationPosition,getStaggeredIconProgress,getToolColor,getToolDescription,getToolLabel,getUserStatusConfig,globalSettingsConfig,interpolate,interpolatePosition,mergeSettingsWithDefaults,renderIconData,sanitizeFloatingSettings,settingsColors,settingsEventBus,settingsStyles,settingsTabs,toolColors,toolDescriptions,toolLabels,withAlpha});
37
+ /*! Bundled license information:
38
+
39
+ react/cjs/react-jsx-runtime.production.js:
40
+ (**
41
+ * @license React
42
+ * react-jsx-runtime.production.js
43
+ *
44
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *)
49
+
50
+ react/cjs/react.production.js:
51
+ (**
52
+ * @license React
53
+ * react.production.js
54
+ *
55
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
56
+ *
57
+ * This source code is licensed under the MIT license found in the
58
+ * LICENSE file in the root directory of this source tree.
59
+ *)
60
+
61
+ react/cjs/react.development.js:
62
+ (**
63
+ * @license React
64
+ * react.development.js
65
+ *
66
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ *)
71
+
72
+ react/cjs/react-jsx-runtime.development.js:
73
+ (**
74
+ * @license React
75
+ * react-jsx-runtime.development.js
76
+ *
77
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
78
+ *
79
+ * This source code is licensed under the MIT license found in the
80
+ * LICENSE file in the root directory of this source tree.
81
+ *)
82
+ */
package/dist/index.mjs ADDED
@@ -0,0 +1,82 @@
1
+ var Vr=Object.create;var _t=Object.defineProperty;var Qr=Object.getOwnPropertyDescriptor;var Zr=Object.getOwnPropertyNames;var Jr=Object.getPrototypeOf,eo=Object.prototype.hasOwnProperty;var he=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var to=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Zr(r))!eo.call(e,a)&&a!==o&&_t(e,a,{get:()=>r[a],enumerable:!(n=Qr(r,a))||n.enumerable});return e};var Ae=(e,r,o)=>(o=e!=null?Vr(Jr(e)):{},to(r||!e||!e.__esModule?_t(o,"default",{value:e,enumerable:!0}):o,e));var Gt=he(We=>{"use strict";var Ao=Symbol.for("react.transitional.element"),ko=Symbol.for("react.fragment");function Yt(e,r,o){var n=null;if(o!==void 0&&(n=""+o),r.key!==void 0&&(n=""+r.key),"key"in r){o={};for(var a in r)a!=="key"&&(o[a]=r[a])}else o=r;return r=o.ref,{$$typeof:Ao,type:e,key:n,ref:r!==void 0?r:null,props:o}}We.Fragment=ko;We.jsx=Yt;We.jsxs=Yt});var er=he(v=>{"use strict";var et=Symbol.for("react.transitional.element"),No=Symbol.for("react.portal"),Lo=Symbol.for("react.fragment"),Wo=Symbol.for("react.strict_mode"),Mo=Symbol.for("react.profiler"),Ho=Symbol.for("react.consumer"),$o=Symbol.for("react.context"),Fo=Symbol.for("react.forward_ref"),Yo=Symbol.for("react.suspense"),Go=Symbol.for("react.memo"),Kt=Symbol.for("react.lazy"),jt=Symbol.iterator;function jo(e){return e===null||typeof e!="object"?null:(e=jt&&e[jt]||e["@@iterator"],typeof e=="function"?e:null)}var qt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Vt=Object.assign,Qt={};function me(e,r,o){this.props=e,this.context=r,this.refs=Qt,this.updater=o||qt}me.prototype.isReactComponent={};me.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,r,"setState")};me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zt(){}Zt.prototype=me.prototype;function tt(e,r,o){this.props=e,this.context=r,this.refs=Qt,this.updater=o||qt}var rt=tt.prototype=new Zt;rt.constructor=tt;Vt(rt,me.prototype);rt.isPureReactComponent=!0;var zt=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},Jt=Object.prototype.hasOwnProperty;function ot(e,r,o,n,a,l){return o=l.ref,{$$typeof:et,type:e,key:r,ref:o!==void 0?o:null,props:l}}function zo(e,r){return ot(e.type,r,void 0,void 0,void 0,e.props)}function nt(e){return typeof e=="object"&&e!==null&&e.$$typeof===et}function Bo(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return r[o]})}var Bt=/\/+/g;function Je(e,r){return typeof e=="object"&&e!==null&&e.key!=null?Bo(""+e.key):r.toString(36)}function Ut(){}function Uo(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Ut,Ut):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function be(e,r,o,n,a){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case et:case No:c=!0;break;case Kt:return c=e._init,be(c(e._payload),r,o,n,a)}}if(c)return a=a(e),c=n===""?"."+Je(e,0):n,zt(a)?(o="",c!=null&&(o=c.replace(Bt,"$&/")+"/"),be(a,r,o,"",function(g){return g})):a!=null&&(nt(a)&&(a=zo(a,o+(a.key==null||e&&e.key===a.key?"":(""+a.key).replace(Bt,"$&/")+"/")+c)),r.push(a)),1;c=0;var p=n===""?".":n+":";if(zt(e))for(var s=0;s<e.length;s++)n=e[s],l=p+Je(n,s),c+=be(n,r,o,l,a);else if(s=jo(e),typeof s=="function")for(e=s.call(e),s=0;!(n=e.next()).done;)n=n.value,l=p+Je(n,s++),c+=be(n,r,o,l,a);else if(l==="object"){if(typeof e.then=="function")return be(Uo(e),r,o,n,a);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return c}function Me(e,r,o){if(e==null)return e;var n=[],a=0;return be(e,n,"","",function(l){return r.call(o,l,a++)}),n}function Xo(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var Xt=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Ko(){}v.Children={map:Me,forEach:function(e,r,o){Me(e,function(){r.apply(this,arguments)},o)},count:function(e){var r=0;return Me(e,function(){r++}),r},toArray:function(e){return Me(e,function(r){return r})||[]},only:function(e){if(!nt(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};v.Component=me;v.Fragment=Lo;v.Profiler=Mo;v.PureComponent=tt;v.StrictMode=Wo;v.Suspense=Yo;v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P;v.__COMPILER_RUNTIME={__proto__:null,c:function(e){return P.H.useMemoCache(e)}};v.cache=function(e){return function(){return e.apply(null,arguments)}};v.cloneElement=function(e,r,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=Vt({},e.props),a=e.key,l=void 0;if(r!=null)for(c in r.ref!==void 0&&(l=void 0),r.key!==void 0&&(a=""+r.key),r)!Jt.call(r,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&r.ref===void 0||(n[c]=r[c]);var c=arguments.length-2;if(c===1)n.children=o;else if(1<c){for(var p=Array(c),s=0;s<c;s++)p[s]=arguments[s+2];n.children=p}return ot(e.type,a,void 0,void 0,l,n)};v.createContext=function(e){return e={$$typeof:$o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Ho,_context:e},e};v.createElement=function(e,r,o){var n,a={},l=null;if(r!=null)for(n in r.key!==void 0&&(l=""+r.key),r)Jt.call(r,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(a[n]=r[n]);var c=arguments.length-2;if(c===1)a.children=o;else if(1<c){for(var p=Array(c),s=0;s<c;s++)p[s]=arguments[s+2];a.children=p}if(e&&e.defaultProps)for(n in c=e.defaultProps,c)a[n]===void 0&&(a[n]=c[n]);return ot(e,l,void 0,void 0,null,a)};v.createRef=function(){return{current:null}};v.forwardRef=function(e){return{$$typeof:Fo,render:e}};v.isValidElement=nt;v.lazy=function(e){return{$$typeof:Kt,_payload:{_status:-1,_result:e},_init:Xo}};v.memo=function(e,r){return{$$typeof:Go,type:e,compare:r===void 0?null:r}};v.startTransition=function(e){var r=P.T,o={};P.T=o;try{var n=e(),a=P.S;a!==null&&a(o,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(Ko,Xt)}catch(l){Xt(l)}finally{P.T=r}};v.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()};v.use=function(e){return P.H.use(e)};v.useActionState=function(e,r,o){return P.H.useActionState(e,r,o)};v.useCallback=function(e,r){return P.H.useCallback(e,r)};v.useContext=function(e){return P.H.useContext(e)};v.useDebugValue=function(){};v.useDeferredValue=function(e,r){return P.H.useDeferredValue(e,r)};v.useEffect=function(e,r,o){var n=P.H;if(typeof o=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return n.useEffect(e,r)};v.useId=function(){return P.H.useId()};v.useImperativeHandle=function(e,r,o){return P.H.useImperativeHandle(e,r,o)};v.useInsertionEffect=function(e,r){return P.H.useInsertionEffect(e,r)};v.useLayoutEffect=function(e,r){return P.H.useLayoutEffect(e,r)};v.useMemo=function(e,r){return P.H.useMemo(e,r)};v.useOptimistic=function(e,r){return P.H.useOptimistic(e,r)};v.useReducer=function(e,r,o){return P.H.useReducer(e,r,o)};v.useRef=function(e){return P.H.useRef(e)};v.useState=function(e){return P.H.useState(e)};v.useSyncExternalStore=function(e,r,o){return P.H.useSyncExternalStore(e,r,o)};v.useTransition=function(){return P.H.useTransition()};v.version="19.1.0"});var tr=he((x,He)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(t,i){Object.defineProperty(n.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",i[0],i[1])}})}function r(t){return t===null||typeof t!="object"?null:(t=Q&&t[Q]||t["@@iterator"],typeof t=="function"?t:null)}function o(t,i){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var d=t+"."+i;fe[d]||(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.",i,t),fe[d]=!0)}function n(t,i,d){this.props=t,this.context=i,this.refs=Ge,this.updater=d||_e}function a(){}function l(t,i,d){this.props=t,this.context=i,this.refs=Ge,this.updater=d||_e}function c(t){return""+t}function p(t){try{c(t);var i=!1}catch{i=!0}if(i){i=console;var d=i.error,f=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return d.call(i,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",f),c(t)}}function s(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Br?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case pe:return"Fragment";case u:return"Profiler";case ve:return"StrictMode";case X:return"Suspense";case Y:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case Se:return"Portal";case O:return(t.displayName||"Context")+".Provider";case m:return(t._context.displayName||"Context")+".Consumer";case L:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case se:return i=t.displayName||null,i!==null?i:s(t.type)||"Memo";case te:i=t._payload,t=t._init;try{return s(t(i))}catch{}}return null}function g(t){if(t===pe)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===te)return"<...>";try{var i=s(t);return i?"<"+i+">":"<...>"}catch{return"<...>"}}function y(){var t=R.A;return t===null?null:t.getOwner()}function b(){return Error("react-stack-top-frame")}function _(t){if(Ie.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function I(t,i){function d(){mt||(mt=!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)",i))}d.isReactWarning=!0,Object.defineProperty(t,"key",{get:d,configurable:!0})}function A(){var t=s(this.type);return St[t]||(St[t]=!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.")),t=this.props.ref,t!==void 0?t:null}function N(t,i,d,f,h,C,T,w){return d=C.ref,t={$$typeof:de,type:t,key:i,props:C,_owner:h},(d!==void 0?d:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:A}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function $(t,i){return i=N(t.type,i,void 0,void 0,t._owner,t.props,t._debugStack,t._debugTask),t._store&&(i._store.validated=t._store.validated),i}function M(t){return typeof t=="object"&&t!==null&&t.$$typeof===de}function ce(t){var i={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(d){return i[d]})}function Z(t,i){return typeof t=="object"&&t!==null&&t.key!=null?(p(t.key),ce(""+t.key)):i.toString(36)}function ne(){}function le(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ne,ne):(t.status="pending",t.then(function(i){t.status==="pending"&&(t.status="fulfilled",t.value=i)},function(i){t.status==="pending"&&(t.status="rejected",t.reason=i)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function U(t,i,d,f,h){var C=typeof t;(C==="undefined"||C==="boolean")&&(t=null);var T=!1;if(t===null)T=!0;else switch(C){case"bigint":case"string":case"number":T=!0;break;case"object":switch(t.$$typeof){case de:case Se:T=!0;break;case te:return T=t._init,U(T(t._payload),i,d,f,h)}}if(T){T=t,h=h(T);var w=f===""?"."+Z(T,0):f;return yt(h)?(d="",w!=null&&(d=w.replace(Tt,"$&/")+"/"),U(h,i,d,"",function(re){return re})):h!=null&&(M(h)&&(h.key!=null&&(T&&T.key===h.key||p(h.key)),d=$(h,d+(h.key==null||T&&T.key===h.key?"":(""+h.key).replace(Tt,"$&/")+"/")+w),f!==""&&T!=null&&M(T)&&T.key==null&&T._store&&!T._store.validated&&(d._store.validated=2),h=d),i.push(h)),1}if(T=0,w=f===""?".":f+":",yt(t))for(var E=0;E<t.length;E++)f=t[E],C=w+Z(f,E),T+=U(f,i,d,C,h);else if(E=r(t),typeof E=="function")for(E===t.entries&&(vt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vt=!0),t=E.call(t),E=0;!(f=t.next()).done;)f=f.value,C=w+Z(f,E++),T+=U(f,i,d,C,h);else if(C==="object"){if(typeof t.then=="function")return U(le(t),i,d,f,h);throw i=String(t),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return T}function K(t,i,d){if(t==null)return t;var f=[],h=0;return U(t,f,"","",function(C){return i.call(d,C,h++)}),f}function J(t){if(t._status===-1){var i=t._result;i=i(),i.then(function(d){(t._status===0||t._status===-1)&&(t._status=1,t._result=d)},function(d){(t._status===0||t._status===-1)&&(t._status=2,t._result=d)}),t._status===-1&&(t._status=0,t._result=i)}if(t._status===1)return i=t._result,i===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,i),"default"in i||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,i),i.default;throw t._result}function D(){var t=R.H;return t===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:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),t}function xe(){}function q(t){if(Oe===null)try{var i=("require"+Math.random()).slice(0,7);Oe=(He&&He[i]).call(He,"timers").setImmediate}catch{Oe=function(f){Rt===!1&&(Rt=!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 h=new MessageChannel;h.port1.onmessage=f,h.port2.postMessage(void 0)}}return Oe(t)}function V(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function ee(t,i){i!==De-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. "),De=i}function ie(t,i,d){var f=R.actQueue;if(f!==null)if(f.length!==0)try{ue(f),q(function(){return ie(t,i,d)});return}catch(h){R.thrownErrors.push(h)}else R.actQueue=null;0<R.thrownErrors.length?(f=V(R.thrownErrors),R.thrownErrors.length=0,d(f)):i(t)}function ue(t){if(!je){je=!0;var i=0;try{for(;i<t.length;i++){var d=t[i];do{R.didUsePromise=!1;var f=d(!1);if(f!==null){if(R.didUsePromise){t[i]=d,t.splice(0,i);return}d=f}else break}while(!0)}t.length=0}catch(h){t.splice(0,i+1),R.thrownErrors.push(h)}finally{je=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for("react.transitional.element"),Se=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),O=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Q=Symbol.iterator,fe={},_e={isMounted:function(){return!1},enqueueForceUpdate:function(t){o(t,"forceUpdate")},enqueueReplaceState:function(t){o(t,"replaceState")},enqueueSetState:function(t){o(t,"setState")}},ht=Object.assign,Ge={};Object.freeze(Ge),n.prototype.isReactComponent={},n.prototype.setState=function(t,i){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,i,"setState")},n.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var G={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)."]},we;for(we in G)G.hasOwnProperty(we)&&e(we,G[we]);a.prototype=n.prototype,G=l.prototype=new a,G.constructor=l,ht(G,n.prototype),G.isPureReactComponent=!0;var yt=Array.isArray,Br=Symbol.for("react.client.reference"),R={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ie=Object.prototype.hasOwnProperty,bt=console.createTask?console.createTask:function(){return null};G={"react-stack-bottom-frame":function(t){return t()}};var mt,xt,St={},Ur=G["react-stack-bottom-frame"].bind(G,b)(),Xr=bt(g(b)),vt=!1,Tt=/\/+/g,Et=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Rt=!1,Oe=null,De=0,Pe=!1,je=!1,Ct=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:q;G=Object.freeze({__proto__:null,c:function(t){return D().useMemoCache(t)}}),x.Children={map:K,forEach:function(t,i,d){K(t,function(){i.apply(this,arguments)},d)},count:function(t){var i=0;return K(t,function(){i++}),i},toArray:function(t){return K(t,function(i){return i})||[]},only:function(t){if(!M(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},x.Component=n,x.Fragment=pe,x.Profiler=u,x.PureComponent=l,x.StrictMode=ve,x.Suspense=X,x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,x.__COMPILER_RUNTIME=G,x.act=function(t){var i=R.actQueue,d=De;De++;var f=R.actQueue=i!==null?i:[],h=!1;try{var C=t()}catch(E){R.thrownErrors.push(E)}if(0<R.thrownErrors.length)throw ee(i,d),t=V(R.thrownErrors),R.thrownErrors.length=0,t;if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var T=C;return Ct(function(){h||Pe||(Pe=!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(E,re){h=!0,T.then(function(ge){if(ee(i,d),d===0){try{ue(f),q(function(){return ie(ge,E,re)})}catch(qr){R.thrownErrors.push(qr)}if(0<R.thrownErrors.length){var Kr=V(R.thrownErrors);R.thrownErrors.length=0,re(Kr)}}else E(ge)},function(ge){ee(i,d),0<R.thrownErrors.length&&(ge=V(R.thrownErrors),R.thrownErrors.length=0),re(ge)})}}}var w=C;if(ee(i,d),d===0&&(ue(f),f.length!==0&&Ct(function(){h||Pe||(Pe=!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(() => ...)"))}),R.actQueue=null),0<R.thrownErrors.length)throw t=V(R.thrownErrors),R.thrownErrors.length=0,t;return{then:function(E,re){h=!0,d===0?(R.actQueue=f,q(function(){return ie(w,E,re)})):E(w)}}},x.cache=function(t){return function(){return t.apply(null,arguments)}},x.captureOwnerStack=function(){var t=R.getCurrentStack;return t===null?null:t()},x.cloneElement=function(t,i,d){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var f=ht({},t.props),h=t.key,C=t._owner;if(i!=null){var T;e:{if(Ie.call(i,"ref")&&(T=Object.getOwnPropertyDescriptor(i,"ref").get)&&T.isReactWarning){T=!1;break e}T=i.ref!==void 0}T&&(C=y()),_(i)&&(p(i.key),h=""+i.key);for(w in i)!Ie.call(i,w)||w==="key"||w==="__self"||w==="__source"||w==="ref"&&i.ref===void 0||(f[w]=i[w])}var w=arguments.length-2;if(w===1)f.children=d;else if(1<w){T=Array(w);for(var E=0;E<w;E++)T[E]=arguments[E+2];f.children=T}for(f=N(t.type,h,void 0,void 0,C,f,t._debugStack,t._debugTask),h=2;h<arguments.length;h++)C=arguments[h],M(C)&&C._store&&(C._store.validated=1);return f},x.createContext=function(t){return t={$$typeof:O,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:m,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},x.createElement=function(t,i,d){for(var f=2;f<arguments.length;f++){var h=arguments[f];M(h)&&h._store&&(h._store.validated=1)}if(f={},h=null,i!=null)for(E in xt||!("__self"in i)||"key"in i||(xt=!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")),_(i)&&(p(i.key),h=""+i.key),i)Ie.call(i,E)&&E!=="key"&&E!=="__self"&&E!=="__source"&&(f[E]=i[E]);var C=arguments.length-2;if(C===1)f.children=d;else if(1<C){for(var T=Array(C),w=0;w<C;w++)T[w]=arguments[w+2];Object.freeze&&Object.freeze(T),f.children=T}if(t&&t.defaultProps)for(E in C=t.defaultProps,C)f[E]===void 0&&(f[E]=C[E]);h&&I(f,typeof t=="function"?t.displayName||t.name||"Unknown":t);var E=1e4>R.recentlyCreatedOwnerStacks++;return N(t,h,void 0,void 0,y(),f,E?Error("react-stack-top-frame"):Ur,E?bt(g(t)):Xr)},x.createRef=function(){var t={current:null};return Object.seal(t),t},x.forwardRef=function(t){t!=null&&t.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var i={$$typeof:L,render:t},d;return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(f){d=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),i},x.isValidElement=M,x.lazy=function(t){return{$$typeof:te,_payload:{_status:-1,_result:t},_init:J}},x.memo=function(t,i){t==null&&console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),i={$$typeof:se,type:t,compare:i===void 0?null:i};var d;return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(f){d=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),i},x.startTransition=function(t){var i=R.T,d={};R.T=d,d._updatedFibers=new Set;try{var f=t(),h=R.S;h!==null&&h(d,f),typeof f=="object"&&f!==null&&typeof f.then=="function"&&f.then(xe,Et)}catch(C){Et(C)}finally{i===null&&d._updatedFibers&&(t=d._updatedFibers.size,d._updatedFibers.clear(),10<t&&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.")),R.T=i}},x.unstable_useCacheRefresh=function(){return D().useCacheRefresh()},x.use=function(t){return D().use(t)},x.useActionState=function(t,i,d){return D().useActionState(t,i,d)},x.useCallback=function(t,i){return D().useCallback(t,i)},x.useContext=function(t){var i=D();return t.$$typeof===m&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),i.useContext(t)},x.useDebugValue=function(t,i){return D().useDebugValue(t,i)},x.useDeferredValue=function(t,i){return D().useDeferredValue(t,i)},x.useEffect=function(t,i,d){t==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var f=D();if(typeof d=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return f.useEffect(t,i)},x.useId=function(){return D().useId()},x.useImperativeHandle=function(t,i,d){return D().useImperativeHandle(t,i,d)},x.useInsertionEffect=function(t,i){return t==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),D().useInsertionEffect(t,i)},x.useLayoutEffect=function(t,i){return t==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),D().useLayoutEffect(t,i)},x.useMemo=function(t,i){return D().useMemo(t,i)},x.useOptimistic=function(t,i){return D().useOptimistic(t,i)},x.useReducer=function(t,i,d){return D().useReducer(t,i,d)},x.useRef=function(t){return D().useRef(t)},x.useState=function(t){return D().useState(t)},x.useSyncExternalStore=function(t,i,d){return D().useSyncExternalStore(t,i,d)},x.useTransition=function(){return D().useTransition()},x.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var rr=he((Qn,it)=>{"use strict";process.env.NODE_ENV==="production"?it.exports=er():it.exports=tr()});var or=he($e=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===xe?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case N:return"Fragment";case M:return"Profiler";case $:return"StrictMode";case le:return"Suspense";case U:return"SuspenseList";case D:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case A:return"Portal";case Z:return(u.displayName||"Context")+".Provider";case ce:return(u._context.displayName||"Context")+".Consumer";case ne:var m=u.render;return u=u.displayName,u||(u=m.displayName||m.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case K:return m=u.displayName||null,m!==null?m:e(u.type)||"Memo";case J:m=u._payload,u=u._init;try{return e(u(m))}catch{}}return null}function r(u){return""+u}function o(u){try{r(u);var m=!1}catch{m=!0}if(m){m=console;var O=m.error,L=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return O.call(m,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",L),r(u)}}function n(u){if(u===N)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===J)return"<...>";try{var m=e(u);return m?"<"+m+">":"<...>"}catch{return"<...>"}}function a(){var u=q.A;return u===null?null:u.getOwner()}function l(){return Error("react-stack-top-frame")}function c(u){if(V.call(u,"key")){var m=Object.getOwnPropertyDescriptor(u,"key").get;if(m&&m.isReactWarning)return!1}return u.key!==void 0}function p(u,m){function O(){ue||(ue=!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)",m))}O.isReactWarning=!0,Object.defineProperty(u,"key",{get:O,configurable:!0})}function s(){var u=e(this.type);return de[u]||(de[u]=!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.")),u=this.props.ref,u!==void 0?u:null}function g(u,m,O,L,X,Y,se,te){return O=Y.ref,u={$$typeof:I,type:u,key:m,props:Y,_owner:X},(O!==void 0?O:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:s}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function y(u,m,O,L,X,Y,se,te){var W=m.children;if(W!==void 0)if(L)if(ee(W)){for(L=0;L<W.length;L++)b(W[L]);Object.freeze&&Object.freeze(W)}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 b(W);if(V.call(m,"key")){W=e(u);var Q=Object.keys(m).filter(function(_e){return _e!=="key"});L=0<Q.length?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}",ve[W+L]||(Q=0<Q.length?"{"+Q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
+ let props = %s;
15
+ <%s {...props} />
16
+ React keys must be passed directly to JSX without using spread:
17
+ let props = %s;
18
+ <%s key={someKey} {...props} />`,L,W,Q,W),ve[W+L]=!0)}if(W=null,O!==void 0&&(o(O),W=""+O),c(m)&&(o(m.key),W=""+m.key),"key"in m){O={};for(var fe in m)fe!=="key"&&(O[fe]=m[fe])}else O=m;return W&&p(O,typeof u=="function"?u.displayName||u.name||"Unknown":u),g(u,W,Y,X,a(),O,se,te)}function b(u){typeof u=="object"&&u!==null&&u.$$typeof===I&&u._store&&(u._store.validated=1)}var _=rr(),I=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),ce=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),xe=Symbol.for("react.client.reference"),q=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,ee=Array.isArray,ie=console.createTask?console.createTask:function(){return null};_={"react-stack-bottom-frame":function(u){return u()}};var ue,de={},Se=_["react-stack-bottom-frame"].bind(_,l)(),pe=ie(n(l)),ve={};$e.Fragment=N,$e.jsx=function(u,m,O,L,X){var Y=1e4>q.recentlyCreatedOwnerStacks++;return y(u,m,O,!1,L,X,Y?Error("react-stack-top-frame"):Se,Y?ie(n(u)):pe)},$e.jsxs=function(u,m,O,L,X){var Y=1e4>q.recentlyCreatedOwnerStacks++;return y(u,m,O,!0,L,X,Y?Error("react-stack-top-frame"):Se,Y?ie(n(u)):pe)}})()});var Ce=he((Jn,st)=>{"use strict";process.env.NODE_ENV==="production"?st.exports=Gt():st.exports=or()});var ze=32,Be=5,ro=200,Te=10,Ue=500,ye={POSITION_X:"@react_buoy_bubble_position_x",POSITION_Y:"@react_buoy_bubble_position_y"};var Xe=class{constructor(r){this.isDragging=!1;this.isHidden=!1;this.dragStartPos={x:0,y:0};this.dragStartMouse={x:0,y:0};this.hasMoved=!1;this.savedPosition=null;this.saveTimeout=null;this.isInitialized=!1;this.listeners=new Set;this.subscribe=r=>(this.listeners.add(r),()=>this.listeners.delete(r));this.getSnapshot=()=>this.stateSnapshot;this.screenWidth=r.screenWidth,this.screenHeight=r.screenHeight,this.bubbleSize=r.initialBubbleSize??{width:100,height:32},this.minPosition=r.minPosition??{x:10,y:10},this.visibleHandleWidth=r.visibleHandleWidth??32,this.dragThreshold=r.dragThreshold??5,this.edgePadding=r.edgePadding??10,this.enablePositionPersistence=r.enablePositionPersistence??!0,this.storage=r.storage,this.onPositionChange=r.onPositionChange,this.onHiddenChange=r.onHiddenChange,this.onDraggingChange=r.onDraggingChange,this.position=r.initialPosition??{x:this.screenWidth-this.bubbleSize.width-20,y:Math.max(this.minPosition.y,Math.min(100,this.screenHeight-this.bubbleSize.height-this.edgePadding))},this.stateSnapshot=this.createSnapshot()}createSnapshot(){return{position:{...this.position},isDragging:this.isDragging,isHidden:this.isHidden,bubbleSize:{...this.bubbleSize}}}notify(){this.stateSnapshot=this.createSnapshot(),this.listeners.forEach(r=>r())}async initialize(){if(this.isInitialized||!this.enablePositionPersistence||!this.storage){this.isInitialized=!0;return}try{let[r,o]=await Promise.all([this.storage.getItem(ye.POSITION_X),this.storage.getItem(ye.POSITION_Y)]);if(r!==null&&o!==null){let n=parseFloat(r),a=parseFloat(o);if(!Number.isNaN(n)&&!Number.isNaN(a)){let l={x:n,y:a},c=this.validatePosition(l);(Math.abs(l.x-c.x)>5||Math.abs(l.y-c.y)>5)&&this.savePosition(c.x,c.y),this.position=c,c.x>=this.screenWidth-this.visibleHandleWidth-5&&(this.isHidden=!0),this.notify()}}}catch{}this.isInitialized=!0}getBounds(){return{minX:this.minPosition.x,maxX:this.screenWidth-this.visibleHandleWidth,minY:this.minPosition.y,maxY:this.screenHeight-this.bubbleSize.height-this.edgePadding}}validatePosition(r){let o=this.getBounds();return{x:Math.max(o.minX,Math.min(r.x,o.maxX)),y:Math.max(o.minY,Math.min(r.y,o.maxY))}}setPosition(r){this.position=r,this.onPositionChange?.(r),this.notify()}setBubbleSize(r){this.bubbleSize.width===r.width&&this.bubbleSize.height===r.height||(this.bubbleSize=r,this.notify())}setScreenSize(r,o){this.screenWidth=r,this.screenHeight=o;let n=this.validatePosition(this.position);(n.x!==this.position.x||n.y!==this.position.y)&&(this.position=n,this.notify())}setMinPosition(r){this.minPosition=r}async savePosition(r,o){if(!(!this.enablePositionPersistence||!this.storage))try{await Promise.all([this.storage.setItem(ye.POSITION_X,r.toString()),this.storage.setItem(ye.POSITION_Y,o.toString())])}catch{}}debouncedSavePosition(r,o){this.saveTimeout&&clearTimeout(this.saveTimeout),this.saveTimeout=setTimeout(()=>this.savePosition(r,o),500)}toggleHideShow(){let r=this.position.x>this.screenWidth-this.bubbleSize.width/2;if(this.isHidden||r){let o,n;return this.savedPosition&&this.savedPosition.x<this.screenWidth-this.bubbleSize.width/2?(o=this.savedPosition.x,n=this.savedPosition.y):(o=this.screenWidth-this.bubbleSize.width-20,n=this.position.y),this.isHidden=!1,this.onHiddenChange?.(!1),this.notify(),{targetPosition:{x:o,y:n},isHiding:!1}}else{this.savedPosition={...this.position};let o=this.screenWidth-this.visibleHandleWidth;return this.isHidden=!0,this.onHiddenChange?.(!0),this.notify(),{targetPosition:{x:o,y:this.position.y},isHiding:!0}}}forceHide(){if(this.isHidden)return{targetPosition:this.position};this.savedPosition={...this.position};let r=this.screenWidth-this.visibleHandleWidth;return this.isHidden=!0,this.onHiddenChange?.(!0),this.notify(),{targetPosition:{x:r,y:this.position.y}}}forceShow(){if(!this.isHidden)return{targetPosition:this.position};let r,o;return this.savedPosition?(r=this.savedPosition.x,o=this.savedPosition.y):(r=this.screenWidth-this.bubbleSize.width-20,o=this.position.y),this.isHidden=!1,this.onHiddenChange?.(!1),this.notify(),{targetPosition:{x:r,y:o}}}handleDragStart(r){this.hasMoved=!1,this.dragStartPos={...this.position},this.dragStartMouse={x:r.clientX,y:r.clientY}}handleDragMove(r){let o=r.clientX-this.dragStartMouse.x,n=r.clientY-this.dragStartMouse.y,a=Math.abs(o)+Math.abs(n);if(!this.hasMoved&&a>this.dragThreshold&&(this.hasMoved=!0,this.isDragging=!0,this.onDraggingChange?.(!0),this.notify()),this.hasMoved){let l=this.dragStartPos.x+o,c=this.dragStartPos.y+n,p=this.getBounds(),s=Math.max(p.minX,Math.min(l,this.screenWidth-this.visibleHandleWidth+this.bubbleSize.width)),g=Math.max(p.minY,Math.min(c,p.maxY));return this.position={x:s,y:g},this.onPositionChange?.(this.position),this.notify(),{position:this.position,isDragging:!0}}return{position:this.position,isDragging:!1}}handleDragEnd(r){if(!this.hasMoved)return this.isDragging=!1,this.onDraggingChange?.(!1),this.notify(),{position:this.position,shouldHide:!1,wasTap:!0};let n=r.clientX-this.dragStartMouse.x,a=r.clientY-this.dragStartMouse.y,l=this.dragStartPos.x+n,c=this.dragStartPos.y+a,s=l+this.bubbleSize.width/2>this.screenWidth,g=this.getBounds();if(s){let y=this.screenWidth-this.visibleHandleWidth,b=Math.max(g.minY,Math.min(c,g.maxY));return this.isHidden=!0,this.onHiddenChange?.(!0),this.isDragging=!1,this.onDraggingChange?.(!1),this.notify(),{position:{x:y,y:b},shouldHide:!0,wasTap:!1}}else{this.isHidden&&l<this.screenWidth-this.visibleHandleWidth-10&&(this.isHidden=!1,this.onHiddenChange?.(!1));let y=Math.max(g.minX,Math.min(l,this.screenWidth-this.bubbleSize.width-this.edgePadding)),b=Math.max(g.minY,Math.min(c,g.maxY));return y<this.screenWidth-this.bubbleSize.width/2&&(this.savedPosition={x:y,y:b}),this.position={x:y,y:b},this.isDragging=!1,this.onDraggingChange?.(!1),this.debouncedSavePosition(y,b),this.notify(),{position:{x:y,y:b},shouldHide:!1,wasTap:!1}}}commitPosition(r){this.position=r,this.savePosition(r.x,r.y),this.notify()}destroy(){this.saveTimeout&&(clearTimeout(this.saveTimeout),this.saveTimeout=null),this.listeners.clear()}};var Ke={isDialOpen:!1,isSettingsOpen:!1,activeSettingsTab:"dial",isInitialized:!1};function wt(e,r){switch(r.type){case"OPEN_DIAL":return{...e,isDialOpen:!0};case"CLOSE_DIAL":return{...e,isDialOpen:!1};case"TOGGLE_DIAL":return{...e,isDialOpen:!e.isDialOpen};case"OPEN_SETTINGS":return{...e,isSettingsOpen:!0,isDialOpen:!1};case"CLOSE_SETTINGS":return{...e,isSettingsOpen:!1};case"SET_SETTINGS_TAB":return{...e,activeSettingsTab:r.tab};case"INITIALIZE":return{...e,isInitialized:!0};default:return e}}var ke=class{constructor(r){this.listeners=new Set;this.getState=()=>this.state;this.getServerState=()=>Ke;this.subscribe=r=>(this.listeners.add(r),()=>{this.listeners.delete(r)});this.state={...Ke,...r}}isDialOpen(){return this.state.isDialOpen}isSettingsOpen(){return this.state.isSettingsOpen}isInitialized(){return this.state.isInitialized}getActiveSettingsTab(){return this.state.activeSettingsTab}dispatch(r){let o=wt(this.state,r);o!==this.state&&(this.state=o,this.notifyListeners())}openDial(){this.dispatch({type:"OPEN_DIAL"})}closeDial(){this.dispatch({type:"CLOSE_DIAL"})}toggleDial(){this.dispatch({type:"TOGGLE_DIAL"})}openSettings(){this.dispatch({type:"OPEN_SETTINGS"})}closeSettings(){this.dispatch({type:"CLOSE_SETTINGS"})}setSettingsTab(r){this.dispatch({type:"SET_SETTINGS_TAB",tab:r})}initialize(){this.dispatch({type:"INITIALIZE"})}notifyListeners(){this.listeners.forEach(r=>{try{r()}catch(o){console.error("Error in DevToolsStateManager listener:",o)}})}get listenerCount(){return this.listeners.size}reset(){this.state={...Ke},this.notifyListeners()}},oo=new ke;function no(e,r){switch(e){case"admin":return{label:"Admin",dotColor:r.success,textColor:r.success};case"internal":return{label:"Internal",dotColor:r.optional,textColor:r.optional};default:return{label:"User",dotColor:r.muted,textColor:r.secondary}}}function io(e){return{dotSize:Math.max(2,Math.round(e/6)),columnGap:Math.max(2,Math.round(e/12)),rowGap:Math.max(2,Math.round(e/12))}}function so(e){return e.filter(r=>r!=null&&r!==!1)}var Ne={linear:e=>e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInCubic:e=>e*e*e,easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeOutQuad:e=>1-(1-e)*(1-e),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e)};function ao(e){return Ne[e]}function qe(e,r,o,n=Ne.easeOutCubic){let a=n(Math.max(0,Math.min(1,o)));return e+(r-e)*a}function co(e,r,o,n=Ne.easeOutCubic){return{x:qe(e.x,r.x,o,n),y:qe(e.y,r.y,o,n)}}var F={panel:"#1A1A1A",muted:"#888888",secondary:"#E0E0E0",info:"#20C997",success:"#20C997",optional:"#FFA94D",error:"#EF4444",primary:"#20C997",dragActive:"#20C997"};function j(e,r){if(typeof r=="number"){let o=Math.round(r*255).toString(16).padStart(2,"0");return`${e}${o}`}return`${e}${r}`}var lo=6,Re=-1*Math.PI/2,It=80,Ot=60,Dt=20,Pt=6,uo={dialBackground:"#000000",dialGradient1:j(F.info,"10"),dialGradient2:j(F.info,"08"),dialGradient3:j(F.info,"15"),dialBorder:j(F.info,"40"),dialShadow:F.info,dialGridLine:j(F.info,"26"),dialBackdrop:"rgba(0, 0, 0, 0.85)",centerText:F.secondary,centerTextGlow:F.info,iconLabel:F.secondary,emptyDotBackground:j(F.muted,"15"),emptyDotBorder:j(F.muted,"50")},po={backdrop:{opacity:.85},circle:{borderWidth:1,shadowOpacity:.5,shadowRadius:20},gradientLayers:[{opacity:.6,offsetPercent:0},{opacity:.4,offsetPercent:30},{opacity:.3,offsetPercent:50}],grid:{lineCount:6,lineHeight:1,getLineRotations:()=>Array.from({length:6},(e,r)=>r*60)},centerButton:{containerRatio:1.5,borderRatio:1.2,borderRadiusRatio:.6,borderWidth:2,text:{fontSize:10,fontWeight:"900",letterSpacing:1,fontFamily:"monospace"},proText:{fontSize:8,letterSpacing:2}},icon:{gradientBgSizePercent:85,gradientBgBorderRadius:12,gradientBgOpacity:.3,innerGlowSizePercent:70,innerGlowBorderRadius:10,innerGlowOpacity:.5,label:{fontSize:8,fontWeight:"900",letterSpacing:.3,fontFamily:"monospace",marginTop:2},wrapperMarginBottom:4},emptySlot:{dotSize:12,borderWidth:1}};function fo(e=Pt){return Array.from({length:e},(r,o)=>o*(360/e))}function go(e){let{screenWidth:r,maxCircleSize:o=320,circleSizeRatio:n=.75,iconSize:a=Ot,iconPadding:l=Dt}=e,c=Math.min(r*n,o),p=c/2,s=p-a/2-l;return{circleSize:c,circleRadius:p,iconRadius:s,iconSize:a,buttonSize:It}}function At(e,r,o=Re){let n=2*Math.PI/r;return o+n*e}function Ve(e,r,o,n=Re){let a=At(e,r,n);return{x:o*Math.cos(a),y:o*Math.sin(a),angle:a}}function ho(e,r,o=Re){return Array.from({length:e},(n,a)=>Ve(a,e,r,o))}function kt(e,r,o=.1){let n=e*o,a=(r-1)*o;return[0,n,n+(1-a),1]}var oe={entrance:{backdrop:{duration:400,easing:"linear"},dial:{scale:{type:"spring",damping:15,stiffness:150,mass:1},rotation:{duration:800,degrees:360,easing:"easeOutCubic"}},centerButton:{delay:300,type:"spring",damping:10,stiffness:200},icons:{delay:500,duration:600,easing:"easeOutCubic"},circuitTraces:{delay:600,duration:1e3}},exit:{icons:{duration:300,easing:"easeInCubic"},centerButton:{duration:200,easing:"easeInCubic"},dialScale:{duration:250,easing:"easeInCubic"},backdrop:{duration:200}},continuous:{glitch:{interval:3e3,offset:2,stepDuration:50},pulse:{minScale:.98,maxScale:1.02,duration:1e3,easing:"easeInOutCubic"},floating:{minY:0,maxY:-8,duration:3e3,easing:"easeInOutCubic"},breathing:{minScale:.98,maxScale:1.05,duration:2500,easing:"easeInOutCubic"}},icons:{staggerRatio:.1,spiral:{startRotation:Math.PI*2,endRotation:0},opacity:{inputRange:[0,.3,1],outputRange:[0,.3,1]},pressIn:{scale:.95,type:"spring",damping:15,stiffness:400},pressOut:{scale:1,type:"spring",damping:15,stiffness:400}},interaction:{iconSelect:{pulse:[{scale:.9,damping:15,stiffness:500},{scale:1,damping:10,stiffness:200}],actionDelay:50},centerHover:{scale:1.05,duration:150}}},Ee={dialScale:"cubic-bezier(0.34, 1.56, 0.64, 1)",centerButton:"cubic-bezier(0.25, 1.7, 0.55, 1)",iconPress:"cubic-bezier(0.22, 1.2, 0.36, 1)",iconSelectPulse:"cubic-bezier(0.18, 1.15, 0.32, 1)",easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)",easeInCubic:"cubic-bezier(0.32, 0, 0.67, 0)",easeInOutCubic:"cubic-bezier(0.65, 0, 0.35, 1)",linear:"linear"};function Nt(){let e=oe.continuous;return{dialGlitch:`@keyframes dialGlitch {
19
+ 0%, 100% { transform: translateX(0); }
20
+ 33% { transform: translateX(${e.glitch.offset}px); }
21
+ 66% { transform: translateX(-${e.glitch.offset}px); }
22
+ }`,dialPulse:`@keyframes dialPulse {
23
+ 0%, 100% { transform: scale(1); }
24
+ 50% { transform: scale(${e.pulse.maxScale}); }
25
+ }`,dialFloating:`@keyframes dialFloating {
26
+ 0%, 100% { transform: translateY(0); }
27
+ 50% { transform: translateY(${e.floating.maxY}px); }
28
+ }`,dialBreathing:`@keyframes dialBreathing {
29
+ 0%, 100% { transform: scale(1); }
30
+ 50% { transform: scale(${e.breathing.maxScale}); }
31
+ }`,dialRotation:`@keyframes dialRotation {
32
+ from { transform: rotate(0deg); }
33
+ to { transform: rotate(${oe.entrance.dial.rotation.degrees}deg); }
34
+ }`}}function yo(){let e=oe.continuous;return{glitch:`dialGlitch ${e.glitch.stepDuration*3}ms ease`,pulse:`dialPulse ${e.pulse.duration*2}ms ${Ee.easeInOutCubic} infinite`,floating:`dialFloating ${e.floating.duration*2}ms ${Ee.easeInOutCubic} infinite`,breathing:`dialBreathing ${e.breathing.duration*2}ms ${Ee.easeInOutCubic} infinite`,dialRotation:`dialRotation ${oe.entrance.dial.rotation.duration}ms ${Ee.easeOutCubic}`}}function bo(){return Object.values(Nt()).join(`
35
+
36
+ `)}function mo(e,r,o,n,a=Re){let l=Ve(r,o,n,a),c=oe.icons.spiral,p=oe.icons.opacity,s=Math.max(0,Math.min(1,e)),g=c.startRotation+(c.endRotation-c.startRotation)*s,y=n*s,b=l.angle+g,_=y*Math.cos(b),I=y*Math.sin(b),A=_+(l.x-_)*s,N=I+(l.y-I)*s,$;if(s<=p.inputRange[0])$=p.outputRange[0];else if(s<=p.inputRange[1]){let M=(s-p.inputRange[0])/(p.inputRange[1]-p.inputRange[0]);$=p.outputRange[0]+(p.outputRange[1]-p.outputRange[0])*M}else{let M=(s-p.inputRange[1])/(p.inputRange[2]-p.inputRange[1]);$=p.outputRange[1]+(p.outputRange[2]-p.outputRange[1])*M}return{x:A,y:N,rotation:g,scale:s,opacity:$}}function xo(e,r,o){let n=kt(r,o,oe.icons.staggerRatio);if(e<=n[0]||e<=n[1])return 0;if(e>=n[3]||e>=n[2])return 1;let a=(e-n[1])/(n[2]-n[1]);return Math.max(0,Math.min(1,a))}var So="@react_buoy_dev_tools_settings",Qe=6,vo=[{key:"dial",label:"DIAL"},{key:"floating",label:"FLOATING"},{key:"settings",label:"SETTINGS"},{key:"pro",label:"PRO"}],Lt={background:"rgba(8, 12, 21, 0.98)",panel:"rgba(16, 22, 35, 0.98)",backdrop:"rgba(0, 0, 0, 0.85)",cardBackground:"#0F172A",cardBorder:"#25324A",cardBorderHover:"#3b4c6b",text:"#E6EEFF",textSecondary:"#B8BFC9",textMuted:"#7F91B2",textDim:"#7A8599",success:"#4AFF9F",warning:"#FFEB3B",error:"#FF5252",info:"#00B8E6",toggleOnBg:e=>j(e,"33"),toggleOnBorder:e=>j(e,"88"),toggleOffBg:"#1b2334",toggleOffBorder:"#2a3550",toggleOffText:"#8CA2C8",tabActiveBg:"rgba(0, 184, 230, 0.13)",tabActiveBorder:"#00B8E6",tabInactiveBg:"transparent",tabInactiveText:"#7A8599"},Wt={query:"#FF4154",env:"#4AFF9F",sentry:"#FF5252",storage:"#BA68C8",network:"#4AFF9F",wifi:"#4AFF9F",environment:"#4AFF9F","debug-borders":"#10b981","highlight-updates":"#10b981","highlight-updates-modal":"#10b981",benchmark:"#F59E0B","route-events":"#FF9F1C",routes:"#FF9F1C",renders:"#10b981"},To=e=>Wt[e]||Lt.info,Mt={query:"QUERY",env:"ENV",sentry:"SENTRY",storage:"STORAGE",network:"NET",wifi:"WIFI",environment:"ENV BADGE","debug-borders":"DEBUG BORDERS","highlight-updates":"HIGHLIGHT","highlight-updates-modal":"HIGHLIGHT MODAL",benchmark:"BENCHMARK","route-events":"ROUTES",routes:"ROUTES",renders:"HIGHLIGHT"},Eo=(e,r)=>{if(r){let o=r.find(n=>n.id===e);if(o?.name)return o.name}return Mt[e]||e.toUpperCase().replace(/_/g," ").replace(/-/g," ")},Ht={query:"React Query inspector",env:"Environment variables debugger",sentry:"Error tracking & monitoring",storage:"AsyncStorage browser",network:"Network request logger",wifi:"Network status toggle",environment:"Environment badge indicator","debug-borders":"Component layout borders","highlight-updates":"View component render tracking","highlight-updates-modal":"Render count inspector",benchmark:"Performance benchmarks","route-events":"Route tracking & navigation inspector",routes:"Route tracking & navigation inspector",renders:"View component render tracking modal"},Ro=(e,r)=>{if(r){let o=r.find(n=>n.id===e);if(o?.description)return o.description}return Ht[e]||""},Co={card:{borderRadius:999,paddingVertical:10,paddingHorizontal:14,marginBottom:10,borderWidth:1},cardInner:{gap:10},iconContainer:{width:28,height:28},toolName:{fontSize:13,fontWeight:"800"},toolDescription:{fontSize:11},toggle:{paddingHorizontal:12,paddingVertical:6,borderRadius:999,borderWidth:1,fontSize:11,fontWeight:"700"},tab:{paddingHorizontal:8,paddingVertical:5,borderRadius:4,fontSize:12,fontWeight:"600",letterSpacing:.5},sectionHeader:{marginBottom:12,paddingHorizontal:4},sectionTitle:{fontSize:10,fontWeight:"700",letterSpacing:1,textTransform:"uppercase"},scrollContent:{paddingTop:16,paddingBottom:24},section:{marginHorizontal:16,marginBottom:24}},_o=[{key:"enableSharedModalDimensions",label:"SHARED MODAL SIZE",category:"MODAL",shortDescription:"Sync dimensions across all tools",fullDescription:"When enabled, all tool modals will share the same size and position. Resizing one modal will affect all others. When disabled, each tool remembers its own size and position independently.",recommendation:"Keep OFF for the best experience. This allows you to customize each tool's modal size separately. Enable only if you prefer uniform modal sizes across all dev tools."}],Ze=(e,r=Qe)=>{let o=r,n={};for(let[a,l]of Object.entries(e))l&&o>0?(n[a]=!0,o-=1):n[a]=!1;return n},$t=(e,r)=>{let{userStatus:o,environment:n,...a}=e,l=r?Object.entries(a).filter(([c])=>r.includes(c)):Object.entries(a);return{...Object.fromEntries(l),environment:n??!1}},wo=(e,r,o)=>{if(!r)return e;let n={...e.dialTools,...r.dialTools??{}},a=o?.allowedDialKeys?Object.entries(n).filter(([c])=>o.allowedDialKeys?.includes(c)):Object.entries(n);return{dialTools:Ze(Object.fromEntries(a)),floatingTools:$t({...e.floatingTools,...r.floatingTools??{}},o?.allowedFloatingKeys),globalSettings:{enableSharedModalDimensions:!1,...r.globalSettings??{}}}},Io=(e=[],r,o)=>{let n={},a={},l=new Set(r??[]),c=new Set(o??[]);for(let p of e){let{id:s,slot:g="both"}=p;(g==="dial"||g==="both")&&(n[s]=c.has(s)),(g==="row"||g==="both")&&(a[s]=l.has(s))}return{dialTools:Ze(n),floatingTools:{...a,environment:l.has("environment")},globalSettings:{enableSharedModalDimensions:!1}}},Ft=e=>Object.values(e).filter(Boolean).length,Oo=(e,r,o=Qe)=>{let n=Ft(e);return e[r]?!0:n<o},Do=e=>{let r=Object.entries(e.floatingTools).filter(([n,a])=>a).map(([n])=>n),o=Object.entries(e.dialTools).filter(([n,a])=>a).map(([n])=>n);return{floating:r,dial:o}},Le=class{constructor(){this.listeners=new Set}emit(r){this.listeners.forEach(o=>{try{o(r)}catch(n){console.error("Error emitting settings event:",n)}})}addListener(r){return this.listeners.add(r),()=>this.listeners.delete(r)}clear(){this.listeners.clear()}get listenerCount(){return this.listeners.size}},Po=new Le;var z=Ae(Ce()),nr=({size:e,children:r})=>(0,z.jsx)("div",{style:{position:"relative",width:e,height:e},children:r});function Fe(e,r){return[`0 0 ${r*.15}px ${e}`,`0 0 ${r*.3}px ${e}`,`0 0 ${r*.6}px ${e}cc`,`0 0 ${r}px ${e}80`,`0 0 ${r*1.5}px ${e}40`].join(", ")}var ir=({cx:e,cy:r,r:o,fill:n,borderColor:a,borderWidth:l=0,opacity:c=1,scaleX:p=1,scaleY:s=1,glowColor:g,glowRadius:y=0,rotation:b=0})=>{let _=o*2,I=[];p!==1&&I.push(`scaleX(${p})`),s!==1&&I.push(`scaleY(${s})`),b!==0&&I.push(`rotate(${b}deg)`);let A={position:"absolute",left:e-o,top:r-o,width:_,height:_,borderRadius:o,backgroundColor:n,border:a?`${l}px solid ${a}`:void 0,opacity:c,transform:I.length>0?I.join(" "):void 0,transformOrigin:"50% 50%",boxShadow:g&&y>0?Fe(g,y):void 0,boxSizing:"border-box"};return(0,z.jsx)("div",{style:A})},sr=({x:e,y:r,width:o,height:n,fill:a,borderColor:l,borderWidth:c=0,borderRadius:p=0,opacity:s=1,glowColor:g,glowRadius:y=0,rotation:b,originX:_=0,originY:I=.5})=>{let A={position:"absolute",left:e,top:r,width:o,height:n,borderRadius:p,backgroundColor:a,border:l?`${c}px solid ${l}`:void 0,opacity:s,boxShadow:g&&y>0?Fe(g,y):void 0,boxSizing:"border-box",transform:b!==void 0?`rotate(${b}deg)`:void 0,transformOrigin:b!==void 0?`${_*100}% ${I*100}%`:void 0};return(0,z.jsx)("div",{style:A})},ar=({x1:e,y1:r,x2:o,y2:n,stroke:a,strokeWidth:l=1,opacity:c=1,glowColor:p,glowRadius:s=0,rotation:g=0})=>{let y=o-e,b=n-r,_=Math.sqrt(y*y+b*b),I=Math.atan2(b,y)*(180/Math.PI),A=(e+o)/2,N=(r+n)/2,$=I+g,M={position:"absolute",left:A-_/2,top:N-l/2,width:_,height:l,backgroundColor:a,opacity:c,transform:`rotate(${$}deg)`,transformOrigin:"50% 50%",borderRadius:l/2,boxShadow:p&&s>0?Fe(p,s):void 0};return(0,z.jsx)("div",{style:M})},cr=({x:e,y:r,size:o,direction:n,fill:a,opacity:l=1,rotation:c})=>{let p=o*.577,s={},g=0,y=0;switch(n){case"down":s={borderLeft:`${p}px solid transparent`,borderRight:`${p}px solid transparent`,borderTop:`${o}px solid ${a}`},g=-p,y=0;break;case"up":s={borderLeft:`${p}px solid transparent`,borderRight:`${p}px solid transparent`,borderBottom:`${o}px solid ${a}`},g=-p,y=-o;break;case"left":s={borderTop:`${p}px solid transparent`,borderBottom:`${p}px solid transparent`,borderRight:`${o}px solid ${a}`},g=-o,y=-p;break;case"right":s={borderTop:`${p}px solid transparent`,borderBottom:`${p}px solid transparent`,borderLeft:`${o}px solid ${a}`},g=0,y=-p;break}let b=[];c!==void 0&&b.push(`rotate(${c}deg)`);let _={position:"absolute",left:e+g,top:r+y,width:0,height:0,opacity:l,...s,transform:b.length>0?b.join(" "):void 0,transformOrigin:"50% 50%"};return(0,z.jsx)("div",{style:_})},lr=({cx:e,cy:r,r:o,startAngle:n,endAngle:a,stroke:l,strokeWidth:c=1.5,opacity:p=1,segments:s})=>{let g=Math.abs(a-n),y=Math.max(8,Math.ceil(g/10)),b=s??y,_=[],I=(a-n)/b;for(let A=0;A<b;A++){let N=n+A*I,$=n+(A+1)*I,M=N*Math.PI/180,ce=$*Math.PI/180,Z=e+o*Math.cos(M),ne=r+o*Math.sin(M),le=e+o*Math.cos(ce),U=r+o*Math.sin(ce),K=le-Z,J=U-ne,D=Math.sqrt(K*K+J*J),xe=Math.atan2(J,K)*(180/Math.PI),q=(Z+le)/2,V=(ne+U)/2,ee={position:"absolute",left:q-D/2,top:V-c/2,width:D,height:c,backgroundColor:l,opacity:p,transform:`rotate(${xe}deg)`,transformOrigin:"50% 50%",borderRadius:c/2};_.push((0,z.jsx)("div",{style:ee},A))}return(0,z.jsx)(z.Fragment,{children:_})},ur=({cx:e,cy:r,r:o,half:n,fill:a,borderColor:l,borderWidth:c=0,opacity:p=1,glowColor:s,glowRadius:g=0})=>{let y=o*2,b,_,I,A,N;switch(n){case"top":b=e-o,_=r-o,I=y,A=o,N=`${o}px ${o}px 0 0`;break;case"bottom":b=e-o,_=r,I=y,A=o,N=`0 0 ${o}px ${o}px`;break;case"left":b=e-o,_=r-o,I=o,A=y,N=`${o}px 0 0 ${o}px`;break;case"right":b=e,_=r-o,I=o,A=y,N=`0 ${o}px ${o}px 0`;break}let $={position:"absolute",left:b,top:_,width:I,height:A,borderRadius:N,backgroundColor:a,border:l?`${c}px solid ${l}`:void 0,opacity:p,boxShadow:s&&g>0?Fe(s,g):void 0,boxSizing:"border-box"};return(0,z.jsx)("div",{style:$})},dr=({cx:e,cy:r,r:o,stroke:n,strokeWidth:a=2,opacity:l=1,portion:c="bottom"})=>{let p=o*2,s=n,g=n,y=n,b=n;switch(c){case"bottom":s="transparent",y="transparent",b="transparent";break;case"top":g="transparent",y="transparent",b="transparent";break;case"left":s="transparent",g="transparent",b="transparent";break;case"right":s="transparent",g="transparent",y="transparent";break}let _={position:"absolute",left:e-o,top:r-o,width:p,height:p,borderRadius:o,borderWidth:a,borderStyle:"solid",borderTopColor:s,borderBottomColor:g,borderLeftColor:y,borderRightColor:b,opacity:l,boxSizing:"border-box"};return(0,z.jsx)("div",{style:_})};var B=Ae(Ce());function qo(e,r){let o=e.replace("#",""),n,a,l;if(o.length===3)n=parseInt(o[0]+o[0],16),a=parseInt(o[1]+o[1],16),l=parseInt(o[2]+o[2],16);else if(o.length>=6)n=parseInt(o.substring(0,2),16),a=parseInt(o.substring(2,4),16),l=parseInt(o.substring(4,6),16);else return e;return`rgba(${n}, ${a}, ${l}, ${r})`}function ae(e,r,o){if(!e)return;let n=e.lastIndexOf(":"),a=e,l=1;if(n>0){let p=e.substring(n+1),s=parseInt(p,10);!isNaN(s)&&s>=0&&s<=100&&(a=e.substring(0,n),l=s/100)}let c;return a==="color"?c=r:a==="bg"?c=o:c=a,l<1&&c.startsWith("#")?qo(c,l):c}function pr(e,r,o){let n=r/24,a=r/2,l=o??e.color,c=e.bgColor,p=e.elements;return(0,B.jsx)(nr,{size:r,children:p.map((s,g)=>{if(s.type==="circle")return(0,B.jsx)(ir,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,fill:ae(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??2)*n:0,opacity:s.opacity,scaleX:s.scaleX,scaleY:s.scaleY,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation},g);if(s.type==="rect"){let y=s.rotation!==void 0?s.rotateFromCenter?.5:0:.5;return(0,B.jsx)(sr,{x:a+s.x*n,y:a+s.y*n,width:s.width*n,height:s.height*n,fill:ae(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??1)*n:0,borderRadius:(s.borderRadius??0)*n,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation,originX:y,originY:.5},g)}return s.type==="line"?(0,B.jsx)(ar,{x1:a+s.x1*n,y1:a+s.y1*n,x2:a+s.x2*n,y2:a+s.y2*n,stroke:ae(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??1)*n,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0,rotation:s.rotation},g):s.type==="triangle"?(0,B.jsx)(cr,{x:a+s.x*n,y:a+s.y*n,size:s.size*n,direction:s.direction,fill:ae(s.fill??"color",l,c),opacity:s.opacity,rotation:s.rotation},g):s.type==="arc"?(0,B.jsx)(lr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,startAngle:s.startAngle,endAngle:s.endAngle,stroke:ae(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??1.5)*n,opacity:s.opacity,segments:s.segments},g):s.type==="semicircle"?(0,B.jsx)(ur,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,half:s.half,fill:ae(s.fill,l,c),borderColor:s.border?l:void 0,borderWidth:s.border?(s.borderWidth??2)*n:0,opacity:s.opacity,glowColor:s.glow?l:void 0,glowRadius:s.glow?(s.glowRadius??4)*n:0},g):s.type==="smootharc"?(0,B.jsx)(dr,{cx:a+s.cx*n,cy:a+s.cy*n,r:s.r*n,stroke:ae(s.stroke??"color",l,c),strokeWidth:(s.strokeWidth??2)*n,opacity:s.opacity,portion:s.portion??"bottom"},g):null})})}function S(e){return function({size:o=24,color:n}){return(0,B.jsx)(B.Fragment,{children:pr(e,o,n)})}}var at="#00D4FF",fr={color:at,bgColor:"rgba(8, 12, 21, 0.95)",elements:[{type:"circle",cx:0,cy:0,r:9,fill:"bg",border:!0,borderWidth:2,glow:!0,glowRadius:4},{type:"circle",cx:0,cy:0,r:9,border:!0,borderWidth:2,scaleX:.45,opacity:.6},{type:"circle",cx:0,cy:0,r:9,border:!0,borderWidth:2,scaleX:1.33,scaleY:.6,opacity:.6}]},ct="#4AFF9F",Vo=[1,3,5,7,9,11,13,15,17],Qo=[2,4,6,8,10,12,14,16],gr={color:ct,bgColor:"#000",elements:[{type:"rect",x:-11,y:3,width:22,height:10,borderRadius:1,fill:"color",opacity:.15},{type:"rect",x:-10,y:4,width:20,height:8,borderRadius:1,fill:"color",opacity:.85},...Vo.map(e=>({type:"rect",x:-10+e,y:4+1.5,width:1.5,height:1.2,borderRadius:.2,fill:"#000",opacity:.3})),...Qo.map(e=>({type:"rect",x:-10+e,y:4+3.2,width:1.5,height:1.2,borderRadius:.2,fill:"#000",opacity:.3})),{type:"rect",x:-5,y:4+5.5,width:10,height:1,borderRadius:.2,fill:"#000",opacity:.25},{type:"rect",x:-9,y:-10,width:18,height:12,borderRadius:1,fill:"color",opacity:.9},{type:"rect",x:-8,y:-9,width:16,height:10,borderRadius:.5,fill:"#000",opacity:.5},{type:"rect",x:-7,y:-8,width:10,height:.5,fill:"color",opacity:.6},{type:"rect",x:-7,y:-6,width:7,height:.5,fill:"color",opacity:.6},{type:"rect",x:-7,y:-4,width:4,height:.5,fill:"color",opacity:.6},{type:"rect",x:-1,y:10,width:2,height:1,borderRadius:.5,fill:"color",opacity:.8},{type:"rect",x:-9+.3*18,y:-10+.3*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-9+.7*18,y:-10+.3*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-9+.5*18,y:-10+.7*12,width:1,height:1,borderRadius:.5,fill:"color",opacity:.4}]},lt="#FFB800";var hr={color:lt,bgColor:"#000",elements:[{type:"rect",x:-9,y:-7,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:-6,width:16,height:6,borderRadius:3,fill:"color",opacity:.9},{type:"rect",x:-7,y:-5.5,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:-6,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-9,y:-2.2,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:-1.2,width:16,height:6,borderRadius:3,fill:"color",opacity:.8},{type:"rect",x:-7,y:-.7,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:-1.2,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-9,y:2.6,width:18,height:8,borderRadius:4,fill:"color",opacity:.1},{type:"rect",x:-8,y:3.6,width:16,height:6,borderRadius:3,fill:"color",opacity:.7},{type:"rect",x:-7,y:4.1,width:14,height:2,borderRadius:1,fill:"#fff",opacity:.15},{type:"rect",x:-8,y:3.6,width:16,height:6,borderRadius:3,border:!0,borderWidth:.5,opacity:.3},{type:"rect",x:-.25,y:-3.6,width:.5,height:6,fill:"color",opacity:.3},{type:"rect",x:-.25,y:1.2,width:.5,height:6,fill:"color",opacity:.3},{type:"rect",x:-.5,y:-3.5,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6},{type:"rect",x:-.5,y:1.3,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6},{type:"rect",x:-.5,y:6.1,width:1,height:1,borderRadius:.5,fill:"color",opacity:.6}]},k="#FF9F1C",yr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:-2,r:5,fill:"color",opacity:1},{type:"triangle",x:0,y:4,size:5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:0,cy:-2,r:2,fill:"bg",opacity:1}]},br={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:6,fill:"transparent",border:!0,borderWidth:3,scaleX:1.5,scaleY:.8,opacity:1}]},mr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:6,fill:"transparent",border:!0,borderWidth:3,scaleX:.6,scaleY:1.4,opacity:1}]},xr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:3,opacity:1}]},Sr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},vr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},Tr={color:k,bgColor:"#000",elements:[{type:"rect",x:-10,y:-4,width:20,height:8,borderRadius:4,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},Er={color:k,bgColor:"#000",elements:[{type:"rect",x:-6,y:-3,width:16,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},Rr={color:k,bgColor:"#000",elements:[{type:"rect",x:-22,y:-3,width:16,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},Cr={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-7,width:20,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:1,width:20,height:6,borderRadius:3,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},_r={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},wr={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-5,width:20,height:4,borderRadius:2,fill:"transparent",border:!0,borderWidth:1,opacity:1},{type:"rect",x:-12,y:1,width:20,height:4,borderRadius:2,fill:"transparent",border:!0,borderWidth:1,opacity:1}]},Ir={color:k,bgColor:"#000",elements:[{type:"rect",x:-6,y:-8,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-14,y:3,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},Or={color:k,bgColor:"#000",elements:[{type:"rect",x:-7,y:-5,width:18,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-11,y:0,width:18,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},Dr={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:2,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:2,opacity:1}]},Pr={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-6,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1,opacity:1},{type:"rect",x:-12,y:1,width:20,height:5,borderRadius:2.5,fill:"transparent",border:!0,borderWidth:1,opacity:1}]},Ar={color:k,bgColor:"#000",elements:[{type:"rect",x:-8,y:-7,width:20,height:7,borderRadius:3.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1},{type:"rect",x:-12,y:0,width:20,height:7,borderRadius:3.5,fill:"transparent",border:!0,borderWidth:1.5,opacity:1}]},kr={color:k,bgColor:"#000",elements:[{type:"smootharc",cx:-3,cy:-2,r:5,stroke:"color",strokeWidth:3,opacity:1,portion:"bottom"},{type:"smootharc",cx:3,cy:2,r:5,stroke:"color",strokeWidth:3,opacity:1,portion:"top"}]},Nr={color:k,bgColor:"#000",elements:[{type:"circle",cx:0,cy:0,r:8,fill:"color",opacity:.3},{type:"circle",cx:0,cy:0,r:3,fill:"bg",opacity:1}]},Lr={color:k,bgColor:"#000",elements:[{type:"circle",cx:-6,cy:4,r:3.5,fill:"color",opacity:1},{type:"triangle",x:-6,y:8.5,size:3.5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:-6,cy:4,r:1.4,fill:"bg",opacity:1},{type:"circle",cx:6,cy:-5,r:3.5,fill:"color",opacity:1},{type:"triangle",x:6,y:-.5,size:3.5,direction:"down",fill:"color",opacity:1},{type:"circle",cx:6,cy:-5,r:1.4,fill:"bg",opacity:1}]},Wr={color:"#FF9F1C",bgColor:"#0a0a0f",elements:[{type:"circle",cx:2.846049894151541,cy:1.2649110640673518,r:4.110960958218893,fill:"#FF9F1C",scaleY:.94},{type:"circle",cx:6.00832755431992,cy:6.324555320336758,r:4,fill:"color"},{type:"circle",cx:6.324555320336758,cy:-6.324555320336758,r:3.794733192202055,fill:"color",scaleY:.97},{type:"circle",cx:6.324555320336758,cy:-6.00832755431992,r:1.5811388300841895,fill:"bg"},{type:"circle",cx:-6.324555320336758,cy:3.478505426185217,r:3.794733192202055,fill:"color",scaleY:.97},{type:"circle",cx:-6.324555320336758,cy:3.478505426185217,r:1.5811388300841895,fill:"bg"},{type:"line",x1:-8.854377448471462,y1:4.743416490252569,x2:-6.00832755431992,y2:9.803060746521975,stroke:"color",strokeWidth:1.5},{type:"line",x1:-3.162277660168379,y1:3.162277660168379,x2:-6.640783086353596,y2:9.803060746521975,stroke:"color",strokeWidth:1.8},{type:"rect",x:-7.273238618387272,y:6.324555320336758,width:1.8973665961010275,height:2.2135943621178655,fill:"color"},{type:"line",x1:1.2649110640673518,y1:1.2649110640673518,x2:9.1706052144883,y2:1.2649110640673518,stroke:"bg",strokeWidth:2.4},{type:"line",x1:9.486832980505138,y1:-6.640783086353596,x2:6.00832755431992,y2:0,stroke:"color",strokeWidth:1.8},{type:"line",x1:3.478505426185217,y1:-5.375872022286244,x2:6.640783086353596,y2:0,stroke:"color",strokeWidth:1.5},{type:"rect",x:5.692099788303082,y:-3.478505426185217,width:1.8973665961010275,height:2.2135943621178655,fill:"color"},{type:"rect",x:2.846049894151541,y:10,width:6,height:4,fill:"bg"},{type:"line",x1:-.31622776601683794,y1:6.324555320336758,x2:7.58946638440411,y2:6.324555320336758,stroke:"bg",strokeWidth:2.3},{type:"rect",x:-2.5298221281347035,y:7.5,width:7.273238618387272,height:2.5,fill:"color"}]},ut="#FF3366",H={fresh:"#10B981",fetching:"#3B82F6",stale:"#F59E0B",paused:"#8B5CF6",inactive:"#6B7280"},Mr={color:ut,bgColor:"#000",elements:[{type:"line",x1:0,y1:0,x2:0,y2:-8,stroke:H.fresh,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:7.6,y2:-2.5,stroke:H.fetching,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:4.7,y2:6.5,stroke:H.stale,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:-4.7,y2:6.5,stroke:H.paused,strokeWidth:1.2,opacity:.5},{type:"line",x1:0,y1:0,x2:-7.6,y2:-2.5,stroke:H.inactive,strokeWidth:1.2,opacity:.5},{type:"circle",cx:0,cy:-8,r:2.2,fill:H.fresh,opacity:.2},{type:"circle",cx:0,cy:-8,r:1.6,fill:H.fresh,opacity:.9},{type:"circle",cx:7.6,cy:-2.5,r:2.2,fill:H.fetching,opacity:.2},{type:"circle",cx:7.6,cy:-2.5,r:1.6,fill:H.fetching,opacity:.9},{type:"circle",cx:4.7,cy:6.5,r:2.2,fill:H.stale,opacity:.2},{type:"circle",cx:4.7,cy:6.5,r:1.6,fill:H.stale,opacity:.9},{type:"circle",cx:-4.7,cy:6.5,r:2.2,fill:H.paused,opacity:.2},{type:"circle",cx:-4.7,cy:6.5,r:1.6,fill:H.paused,opacity:.9},{type:"circle",cx:-7.6,cy:-2.5,r:2.2,fill:H.inactive,opacity:.2},{type:"circle",cx:-7.6,cy:-2.5,r:1.6,fill:H.inactive,opacity:.9},{type:"circle",cx:0,cy:0,r:4.5,fill:"color",opacity:.1},{type:"circle",cx:0,cy:0,r:3,fill:"color",opacity:.95},{type:"circle",cx:0,cy:0,r:1.3,fill:"#fff",opacity:.35}]},Ye="#10B981",Hr=Ye,$r={color:Ye,bgColor:"#0a0a0f",elements:[{type:"rect",x:-9.1706052144883,y:5.692099788303082,width:3.478505426185217,height:3.478505426185217,fill:"color",rotation:45},{type:"rect",x:-10.119288512538814,y:8.538149682454623,width:6,height:4,fill:"bg"},{type:"line",x1:-10.119288512538814,y1:7.905694150420948,x2:-6.640783086353596,y2:7.905694150420948,stroke:"color",strokeWidth:1.5},{type:"line",x1:-6.957010852370434,y1:5.059644256269407,x2:-2.846049894151541,y2:5.059644256269407,stroke:"color",strokeWidth:1.5,rotation:44},{type:"line",x1:-5.91,y1:-4.11,x2:7.27,y2:-4.33,stroke:"color",strokeWidth:2.1,rotation:145},{type:"line",x1:-1.56,y1:1.05,x2:10.435516278555651,y2:-2.846049894151541,stroke:"color",strokeWidth:2.1,rotation:145},{type:"line",x1:4.110960958218893,y1:-6.640783086353596,x2:9.486832980505138,y2:-6.640783086353596,stroke:"color",strokeWidth:2.2,rotation:44},{type:"line",x1:-4.743416490252569,y1:-1.5811388300841895,x2:1.5811388300841895,y2:4.743416490252569,stroke:"color",strokeWidth:2.9},{type:"line",x1:-6.957010852370434,y1:1.2649110640673518,x2:-2.2135943621178655,y2:2.2135943621178655,stroke:"color",strokeWidth:1.5,rotation:77},{type:"line",x1:-1.2649110640673518,y1:.9486832980505138,x2:-2.5298221281347035,y2:7.905694150420948,stroke:"color",strokeWidth:1.5,rotation:77},{type:"rect",x:-4.427188724235731,y:.9486832980505138,width:3.794733192202055,height:4.110960958218893,fill:"color"},{type:"line",x1:-7.58946638440411,y1:1.8973665961010275,x2:-.9486832980505138,y2:1.8973665961010275,stroke:"color",strokeWidth:1.5,rotation:-48},{type:"line",x1:-5.375872022286244,y1:4.110960958218893,x2:1.2649110640673518,y2:4.110960958218893,stroke:"color",strokeWidth:1.5,rotation:-48}]};var dt="#F59E0B",Fr={color:dt,bgColor:"#000",elements:[{type:"circle",cx:0,cy:1,r:7,border:!0,borderWidth:1.5,opacity:.9},{type:"circle",cx:0,cy:1,r:5,fill:"color",opacity:.15},{type:"rect",x:-2,y:-10,width:4,height:3,borderRadius:1,fill:"color",opacity:.9},{type:"rect",x:-1,y:-7.5,width:2,height:2,fill:"color",opacity:.9},{type:"rect",x:-.75,y:-4,width:1.5,height:5,borderRadius:1,fill:"color",opacity:.9,rotation:-45,rotateFromCenter:!0},{type:"circle",cx:0,cy:1,r:1,fill:"color",opacity:.9},{type:"rect",x:-.5,y:-5,width:1,height:2,fill:"color",opacity:.5},{type:"rect",x:4,y:.5,width:2,height:1,fill:"color",opacity:.5},{type:"rect",x:-.5,y:5,width:1,height:2,fill:"color",opacity:.5},{type:"rect",x:-6,y:.5,width:2,height:1,fill:"color",opacity:.5}]},pt="#FF3366",Yr={color:pt,bgColor:"#000",elements:[{type:"circle",cx:0,cy:1,r:8,fill:"color",opacity:.15},{type:"rect",x:-6,y:-4,width:12,height:14,borderRadius:6,fill:"color",opacity:.9},{type:"rect",x:-4,y:-9,width:8,height:6,borderRadius:4,fill:"color",opacity:.95},{type:"rect",x:-3,y:-12,width:.8,height:4,fill:"color",opacity:.7,rotation:-15},{type:"circle",cx:-4,cy:-12,r:1.2,fill:"color",opacity:.6},{type:"rect",x:2.2,y:-12,width:.8,height:4,fill:"color",opacity:.7,rotation:15},{type:"circle",cx:4,cy:-12,r:1.2,fill:"color",opacity:.6},{type:"rect",x:-10,y:-2,width:4,height:1,fill:"color",opacity:.8,rotation:-20},{type:"rect",x:-10,y:1,width:4,height:1,fill:"color",opacity:.8,rotation:-10},{type:"rect",x:-10,y:4,width:4,height:1,fill:"color",opacity:.8,rotation:10},{type:"rect",x:6,y:-2,width:4,height:1,fill:"color",opacity:.8,rotation:20},{type:"rect",x:6,y:1,width:4,height:1,fill:"color",opacity:.8,rotation:10},{type:"rect",x:6,y:4,width:4,height:1,fill:"color",opacity:.8,rotation:-10},{type:"circle",cx:0,cy:1,r:1,fill:"#fff",opacity:.3}]},ft="#00D4FF",Gr={color:ft,bgColor:"#000",elements:[{type:"circle",cx:0,cy:6,r:2,fill:"color",opacity:1},{type:"smootharc",cx:0,cy:6,r:5,stroke:"color",strokeWidth:2,opacity:.9,portion:"top"},{type:"smootharc",cx:0,cy:6,r:8,stroke:"color",strokeWidth:2,opacity:.7,portion:"top"},{type:"smootharc",cx:0,cy:6,r:11,stroke:"color",strokeWidth:2,opacity:.5,portion:"top"}]},gt="#10B981",jr={color:gt,bgColor:"#000",elements:[{type:"rect",x:-10,y:-10,width:20,height:20,borderRadius:3,border:!0,borderWidth:1.5,opacity:.2},{type:"rect",x:-7.5,y:-7.5,width:15,height:15,borderRadius:2.5,border:!0,borderWidth:1.5,opacity:.4},{type:"rect",x:-6,y:-6,width:12,height:12,borderRadius:2,fill:"color",opacity:.15},{type:"rect",x:-5,y:-5,width:10,height:10,borderRadius:1.5,fill:"color",opacity:.9},{type:"rect",x:-3.5,y:-3.5,width:7,height:7,borderRadius:1,fill:"#000",opacity:.4},{type:"rect",x:-2,y:-2,width:4,height:1,borderRadius:.5,fill:"color",opacity:.7},{type:"rect",x:-2,y:0,width:3,height:1,borderRadius:.5,fill:"color",opacity:.5},{type:"rect",x:-2,y:2,width:2,height:1,borderRadius:.5,fill:"color",opacity:.4},{type:"rect",x:-3,y:-4.5,width:6,height:1.5,borderRadius:.75,fill:"#fff",opacity:.2},{type:"circle",cx:-8,cy:-8,r:1,fill:"color",opacity:.6},{type:"circle",cx:8,cy:-8,r:1,fill:"color",opacity:.6},{type:"circle",cx:-8,cy:8,r:1,fill:"color",opacity:.6},{type:"circle",cx:8,cy:8,r:1,fill:"color",opacity:.6}]};var Zo=S(fr);var Jo=S(gr);var en=S(hr);var tn=S(Wr),rn=S(yr),on=S(kr),nn=S(Nr),sn=S(Lr),an=S(br),cn=S(mr),ln=S(xr),un=S(Sr),dn=S(vr),pn=S(Tr),fn=S(Er),gn=S(Rr),hn=S(Cr),yn=S(_r),bn=S(wr),mn=S(Ir),xn=S(Or),Sn=S(Dr),vn=S(Pr),Tn=S(Ar);var En=S(Mr);var zr=S($r),Rn=zr;var Cn=S(Fr);var _n=S(Yr);var wn=S(Gr);var In=S(jr);function On(e,r,o,n={}){return{type:"circle",cx:e,cy:r,r:o,fill:n.fill??"color",glow:n.glow,glowRadius:n.glowRadius,opacity:n.opacity,scaleX:n.scaleX,scaleY:n.scaleY}}function Dn(e,r,o,n,a={}){return{type:"line",x1:e,y1:r,x2:o,y2:n,stroke:a.stroke??"color",strokeWidth:a.strokeWidth??1,glow:a.glow,glowRadius:a.glowRadius,opacity:a.opacity}}function Pn(e,r,o,n={}){return{type:"circle",cx:e,cy:r,r:o,fill:void 0,border:!0,borderWidth:n.borderWidth??1.5,opacity:n.opacity,scaleX:n.scaleX,scaleY:n.scaleY}}function An(e,r,o=2){return{type:"circle",cx:e,cy:r,r:o,fill:"color"}}function kn(e,r,o,n=.3){return{type:"circle",cx:e,cy:r,r:o,fill:"color",opacity:n,glow:!0,glowRadius:o}}function Nn(e,r,o,n,a={}){return{type:"triangle",x:e,y:r,size:o,direction:n,fill:a.fill??"color",opacity:a.opacity,rotation:a.rotation}}function Ln(e,r,o,n,a={}){return{type:"rect",x:e,y:r,width:o,height:n,fill:a.fill??"color",opacity:a.opacity,borderRadius:a.borderRadius??Math.min(o,n)/4}}export{ro as ANIMATION_DURATION,dt as BENCHMARK_ICON_COLOR,Cn as BenchmarkIcon,an as CurveTestA,cn as CurveTestB,ln as CurveTestC,un as CurveTestD,dn as CurveTestE,pn as CurveTestF,fn as CurveTestG,gn as CurveTestH,hn as CurveTestI,yn as CurveTestJ,bn as CurveTestK,mn as CurveTestL,xn as CurveTestM,Sn as CurveTestN,vn as CurveTestO,Tn as CurveTestP,It as DIAL_BUTTON_SIZE,Pt as DIAL_GRID_LINE_COUNT,Dt as DIAL_ICON_PADDING,Ot as DIAL_ICON_SIZE,Re as DIAL_START_ANGLE,Be as DRAG_THRESHOLD,ke as DevToolsStateManager,Te as EDGE_PADDING,ct as ENV_ICON_COLOR,Jo as EnvIcon,Xe as FloatingToolsStore,Ye as HIGHLIGHTER_ICON_COLOR,gt as HIGHLIGHT_ICON_COLOR,In as HighlightIcon,zr as HighlighterIcon,lo as MAX_DIAL_SLOTS,Qe as MAX_SETTINGS_DIAL_SLOTS,at as NETWORK_ICON_COLOR,Zo as NetworkIcon,ut as QUERY_ICON_COLOR,En as QueryIcon,Hr as RENDERS_ICON_COLOR,k as ROUTES_ICON_COLOR,Rn as RendersIcon,nn as RouteDotIcon,on as RoutePathIcon,rn as RoutePinIcon,sn as RouteTwoPinsIcon,tn as RoutesIcon,Ue as SAVE_DEBOUNCE_MS,pt as SENTRY_ICON_COLOR,So as SETTINGS_STORAGE_KEY,lt as STORAGE_ICON_COLOR,ye as STORAGE_KEYS,_n as SentryIcon,Le as SettingsEventBus,en as StorageIcon,ze as VISIBLE_HANDLE_WIDTH,ft as WIFI_ICON_COLOR,wn as WifiIcon,Oo as canEnableDialTool,Ft as countEnabledTools,Nn as createArrow,Ln as createBar,An as createDot,kn as createGlow,S as createIcon,Dn as createLine,On as createNode,Pn as createRing,wt as devToolsReducer,oo as devToolsStateManager,oe as dialAnimationConfig,Ee as dialCSSBeziers,uo as dialColors,po as dialStyles,Ne as easing,Ze as enforceDialLimit,so as filterValidChildren,F as floatingToolsColors,Io as generateDefaultSettings,Nt as generateDialCSSKeyframes,ho as getAllIconPositions,yo as getDialCSSAnimationStyles,bo as getDialCSSKeyframesString,go as getDialLayout,ao as getEasing,Do as getEnabledToolIds,fo as getGridLineRotations,io as getGripIconLayout,At as getIconAngle,Ve as getIconPosition,kt as getIconStaggerInputRange,mo as getSpiralAnimationPosition,xo as getStaggeredIconProgress,To as getToolColor,Ro as getToolDescription,Eo as getToolLabel,no as getUserStatusConfig,_o as globalSettingsConfig,qe as interpolate,co as interpolatePosition,wo as mergeSettingsWithDefaults,pr as renderIconData,$t as sanitizeFloatingSettings,Lt as settingsColors,Po as settingsEventBus,Co as settingsStyles,vo as settingsTabs,Wt as toolColors,Ht as toolDescriptions,Mt as toolLabels,j as withAlpha};
37
+ /*! Bundled license information:
38
+
39
+ react/cjs/react-jsx-runtime.production.js:
40
+ (**
41
+ * @license React
42
+ * react-jsx-runtime.production.js
43
+ *
44
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
45
+ *
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
48
+ *)
49
+
50
+ react/cjs/react.production.js:
51
+ (**
52
+ * @license React
53
+ * react.production.js
54
+ *
55
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
56
+ *
57
+ * This source code is licensed under the MIT license found in the
58
+ * LICENSE file in the root directory of this source tree.
59
+ *)
60
+
61
+ react/cjs/react.development.js:
62
+ (**
63
+ * @license React
64
+ * react.development.js
65
+ *
66
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ *)
71
+
72
+ react/cjs/react-jsx-runtime.development.js:
73
+ (**
74
+ * @license React
75
+ * react-jsx-runtime.development.js
76
+ *
77
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
78
+ *
79
+ * This source code is licensed under the MIT license found in the
80
+ * LICENSE file in the root directory of this source tree.
81
+ *)
82
+ */
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@buoy-gg/floating-tools-core",
3
+ "version": "1.7.2",
4
+ "description": "Headless core for floating tools - shared logic for web and React Native",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "react-native": "src/index.ts",
9
+ "source": "src/index.ts",
10
+ "exports": {
11
+ ".": {
12
+ "react-native": "./src/index.ts",
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.js"
16
+ }
17
+ },
18
+ "scripts": {
19
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean --no-sourcemap --minify",
20
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
21
+ "typecheck": "tsc --noEmit"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "devDependencies": {
27
+ "tsup": "^8.0.0",
28
+ "typescript": "~5.8.3"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public",
32
+ "tag": "latest"
33
+ }
34
+ }