@quantajs/react 2.0.0-beta.7 → 2.0.0-beta.8

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.cjs CHANGED
@@ -20,9 +20,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
22
  */
23
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),C=require("@quantajs/core"),pt=(e,t)=>{try{return e&&typeof e=="object"&&"value"in e?e.value:typeof e=="function"?e.bind(t):e}catch{return e}};function fe(e,t){if(!e.subscribe){const h=new Error("QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+.");throw C.logger.error(`useQuantaStore: ${h.message}`),h}if(!t){const h=T.useRef(null),f=T.useCallback(()=>{if(h.current)return h.current;const o={};return Object.keys(e.state||{}).forEach(u=>{o[u]=e[u]}),Object.keys(e.getters||{}).forEach(u=>{const x=e.getters[u];o[u]=pt(x,e)}),Object.keys(e.actions||{}).forEach(u=>{o[u]=e.actions[u].bind(e)}),o.$reset=e.$reset,o.$persist=e.$persist,o.$destroy=e.$destroy,h.current=o,o},[e]),d=T.useCallback(o=>{const u=x=>{h.current=null,o()};return e.subscribe(u)},[e]),p=T.useCallback(()=>f(),[f]);return T.useSyncExternalStore(d,f,p)}const r=T.useRef(null),i=T.useCallback(()=>{const h=t(e);return r.current=h,h},[e,t]),l=T.useCallback(h=>{const f=d=>{try{const p=t(e);r.current!==p&&(r.current=p,h())}catch(p){C.logger.warn(`useQuantaStore: Selector update failed: ${String(p)}`)}};return e.subscribe(f)},[e,t]),a=T.useCallback(()=>(r.current===null&&i(),r.current),[i]),s=T.useCallback(()=>i(),[i]);return T.useSyncExternalStore(l,a,s)}const _e=T.createContext({stores:{}});function Ve(){try{const e=T.useContext(_e);if(!e){const t="useQuantaContext must be used within a QuantaProvider";throw C.logger.error(`QuantaContext: ${t}`),new Error(t)}return e}catch(e){throw C.logger.error(`QuantaContext: Failed to access context: ${e instanceof Error?e.message:String(e)}`),e}}function ut(e,t){try{const{stores:r}=Ve(),i=r[e];if(!i){const l=`Store with name "${e}" does not exist in the context.`;throw C.logger.error(`useStore: ${l}`),new Error(l)}return t?fe(i,t):fe(i)}catch(r){throw C.logger.error(`useStore: Failed to access store "${e}": ${r instanceof Error?r.message:String(r)}`),r}}function xt(e,t,r,i){try{const l=T.useRef(void 0);if(!l.current)try{l.current=C.createStore(e,{state:t,getters:r,actions:i})}catch(a){throw C.logger.error(`useCreateStore: Failed to create store "${e}": ${a instanceof Error?a.message:String(a)}`),a}return l.current}catch(l){throw C.logger.error(`useCreateStore: Hook execution failed: ${l instanceof Error?l.message:String(l)}`),l}}var K={exports:{}},q={};var Ae;function yt(){if(Ae)return q;Ae=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,l,a){var s=null;if(a!==void 0&&(s=""+a),l.key!==void 0&&(s=""+l.key),"key"in l){a={};for(var h in l)h!=="key"&&(a[h]=l[h])}else a=l;return l=a.ref,{$$typeof:e,type:i,key:s,ref:l!==void 0?l:null,props:a}}return q.Fragment=t,q.jsx=r,q.jsxs=r,q}var W={};var Re;function gt(){return Re||(Re=1,process.env.NODE_ENV!=="production"&&(function(){function e(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===R?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case v:return"Fragment";case _:return"Profiler";case g:return"StrictMode";case F:return"Suspense";case X:return"SuspenseList";case L:return"Activity"}if(typeof c=="object")switch(typeof c.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),c.$$typeof){case A:return"Portal";case P:return c.displayName||"Context";case j:return(c._context.displayName||"Context")+".Consumer";case U:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case H:return y=c.displayName||null,y!==null?y:e(c.type)||"Memo";case $:y=c._payload,c=c._init;try{return e(c(y))}catch{}}return null}function t(c){return""+c}function r(c){try{t(c);var y=!1}catch{y=!0}if(y){y=console;var m=y.error,S=typeof Symbol=="function"&&Symbol.toStringTag&&c[Symbol.toStringTag]||c.constructor.name||"Object";return m.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S),t(c)}}function i(c){if(c===v)return"<>";if(typeof c=="object"&&c!==null&&c.$$typeof===$)return"<...>";try{var y=e(c);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function l(){var c=O.A;return c===null?null:c.getOwner()}function a(){return Error("react-stack-top-frame")}function s(c){if(ke.call(c,"key")){var y=Object.getOwnPropertyDescriptor(c,"key").get;if(y&&y.isReactWarning)return!1}return c.key!==void 0}function h(c,y){function m(){Ne||(Ne=!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)",y))}m.isReactWarning=!0,Object.defineProperty(c,"key",{get:m,configurable:!0})}function f(){var c=e(this.type);return Se[c]||(Se[c]=!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.")),c=this.props.ref,c!==void 0?c:null}function d(c,y,m,S,Z,se){var E=m.ref;return c={$$typeof:b,type:c,key:y,props:m,_owner:S},(E!==void 0?E:null)!==null?Object.defineProperty(c,"ref",{enumerable:!1,get:f}):Object.defineProperty(c,"ref",{enumerable:!1,value:null}),c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(c,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(c,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Z}),Object.defineProperty(c,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}function p(c,y,m,S,Z,se){var E=y.children;if(E!==void 0)if(S)if(dt(E)){for(S=0;S<E.length;S++)o(E[S]);Object.freeze&&Object.freeze(E)}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 o(E);if(ke.call(y,"key")){E=e(c);var B=Object.keys(y).filter(function(ft){return ft!=="key"});S=0<B.length?"{key: someKey, "+B.join(": ..., ")+": ...}":"{key: someKey}",Te[E+S]||(B=0<B.length?"{"+B.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),C=require("@quantajs/core"),xt=(e,t)=>{try{return e&&typeof e=="object"&&"value"in e?e.value:typeof e=="function"?e.bind(t):e}catch{return e}};function fe(e,t){if(!e.subscribe){const s=new Error("QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+.");throw C.logger.error(`useQuantaStore: ${s.message}`),s}if(!t){const s=T.useRef(null),f=T.useCallback(()=>{if(s.current)return s.current;const a={};return Object.keys(e.state||{}).forEach(u=>{a[u]=e[u]}),Object.keys(e.getters||{}).forEach(u=>{const x=e.getters[u];a[u]=xt(x,e)}),Object.keys(e.actions||{}).forEach(u=>{a[u]=e.actions[u].bind(e)}),a.$reset=e.$reset,a.$persist=e.$persist,a.$destroy=e.$destroy,s.current=a,a},[e]),d=T.useCallback(a=>{const u=x=>{s.current=null,a()};return e.subscribe(u)},[e]),p=T.useCallback(()=>f(),[f]);return T.useSyncExternalStore(d,f,p)}const r=T.useRef(null),i=T.useCallback(()=>{const s=t(e);return r.current=s,s},[e,t]),l=T.useCallback(s=>{const f=d=>{try{const p=t(e);r.current!==p&&(r.current=p,s())}catch(p){C.logger.warn(`useQuantaStore: Selector update failed: ${String(p)}`)}};return e.subscribe(f)},[e,t]),o=T.useCallback(()=>(r.current===null&&i(),r.current),[i]),h=T.useCallback(()=>i(),[i]);return T.useSyncExternalStore(l,o,h)}const _e=T.createContext({stores:{}});function Ge(){try{const e=T.useContext(_e);if(!e){const t="useQuantaContext must be used within a QuantaProvider";throw C.logger.error(`QuantaContext: ${t}`),new Error(t)}return e}catch(e){throw C.logger.error(`QuantaContext: Failed to access context: ${e instanceof Error?e.message:String(e)}`),e}}function yt(e,t){try{const{stores:r}=Ge(),i=r[e];if(!i){const l=`Store with name "${e}" does not exist in the context.`;throw C.logger.error(`useStore: ${l}`),new Error(l)}return t?fe(i,t):fe(i)}catch(r){throw C.logger.error(`useStore: Failed to access store "${e}": ${r instanceof Error?r.message:String(r)}`),r}}function gt(e,t,r,i){try{const l=T.useRef(void 0);if(!l.current)try{l.current=C.createStore(e,{state:t,getters:r,actions:i})}catch(o){throw C.logger.error(`useCreateStore: Failed to create store "${e}": ${o instanceof Error?o.message:String(o)}`),o}return l.current}catch(l){throw C.logger.error(`useCreateStore: Hook execution failed: ${l instanceof Error?l.message:String(l)}`),l}}var K={exports:{}},W={};var je;function _t(){if(je)return W;je=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,l,o){var h=null;if(o!==void 0&&(h=""+o),l.key!==void 0&&(h=""+l.key),"key"in l){o={};for(var s in l)s!=="key"&&(o[s]=l[s])}else o=l;return l=o.ref,{$$typeof:e,type:i,key:h,ref:l!==void 0?l:null,props:o}}return W.Fragment=t,W.jsx=r,W.jsxs=r,W}var Y={};var Re;function wt(){return Re||(Re=1,process.env.NODE_ENV!=="production"&&(function(){function e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===j?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case v:return"Fragment";case _:return"Profiler";case g:return"StrictMode";case F:return"Suspense";case X:return"SuspenseList";case q:return"Activity"}if(typeof n=="object")switch(typeof n.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case A:return"Portal";case O:return n.displayName||"Context";case P:return(n._context.displayName||"Context")+".Consumer";case H:var y=n.render;return n=n.displayName,n||(n=y.displayName||y.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case B:return y=n.displayName||null,y!==null?y:e(n.type)||"Memo";case D:y=n._payload,n=n._init;try{return e(n(y))}catch{}}return null}function t(n){return""+n}function r(n){try{t(n);var y=!1}catch{y=!0}if(y){y=console;var m=y.error,S=typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object";return m.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S),t(n)}}function i(n){if(n===v)return"<>";if(typeof n=="object"&&n!==null&&n.$$typeof===D)return"<...>";try{var y=e(n);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function l(){var n=$.A;return n===null?null:n.getOwner()}function o(){return Error("react-stack-top-frame")}function h(n){if(Ne.call(n,"key")){var y=Object.getOwnPropertyDescriptor(n,"key").get;if(y&&y.isReactWarning)return!1}return n.key!==void 0}function s(n,y){function m(){Se||(Se=!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)",y))}m.isReactWarning=!0,Object.defineProperty(n,"key",{get:m,configurable:!0})}function f(){var n=e(this.type);return Ee[n]||(Ee[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),n=this.props.ref,n!==void 0?n:null}function d(n,y,m,S,Z,se){var E=m.ref;return n={$$typeof:b,type:n,key:y,props:m,_owner:S},(E!==void 0?E:null)!==null?Object.defineProperty(n,"ref",{enumerable:!1,get:f}):Object.defineProperty(n,"ref",{enumerable:!1,value:null}),n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(n,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(n,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Z}),Object.defineProperty(n,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n}function p(n,y,m,S,Z,se){var E=y.children;if(E!==void 0)if(S)if(pt(E)){for(S=0;S<E.length;S++)a(E[S]);Object.freeze&&Object.freeze(E)}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 a(E);if(Ne.call(y,"key")){E=e(n);var Q=Object.keys(y).filter(function(ut){return ut!=="key"});S=0<Q.length?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}",Ae[E+S]||(Q=0<Q.length?"{"+Q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
24
24
  let props = %s;
25
25
  <%s {...props} />
26
26
  React keys must be passed directly to JSX without using spread:
27
27
  let props = %s;
28
- <%s key={someKey} {...props} />`,S,E,B,E),Te[E+S]=!0)}if(E=null,m!==void 0&&(r(m),E=""+m),s(y)&&(r(y.key),E=""+y.key),"key"in y){m={};for(var he in y)he!=="key"&&(m[he]=y[he])}else m=y;return E&&h(m,typeof c=="function"?c.displayName||c.name||"Unknown":c),d(c,E,m,l(),Z,se)}function o(c){u(c)?c._store&&(c._store.validated=1):typeof c=="object"&&c!==null&&c.$$typeof===$&&(c._payload.status==="fulfilled"?u(c._payload.value)&&c._payload.value._store&&(c._payload.value._store.validated=1):c._store&&(c._store.validated=1))}function u(c){return typeof c=="object"&&c!==null&&c.$$typeof===b}var x=T,b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),P=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),R=Symbol.for("react.client.reference"),O=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ke=Object.prototype.hasOwnProperty,dt=Array.isArray,ne=console.createTask?console.createTask:function(){return null};x={react_stack_bottom_frame:function(c){return c()}};var Ne,Se={},Ee=x.react_stack_bottom_frame.bind(x,a)(),Ce=ne(i(a)),Te={};W.Fragment=v,W.jsx=function(c,y,m){var S=1e4>O.recentlyCreatedOwnerStacks++;return p(c,y,m,!1,S?Error("react-stack-top-frame"):Ee,S?ne(i(c)):Ce)},W.jsxs=function(c,y,m){var S=1e4>O.recentlyCreatedOwnerStacks++;return p(c,y,m,!0,S?Error("react-stack-top-frame"):Ee,S?ne(i(c)):Ce)}})()),W}var je;function _t(){return je||(je=1,process.env.NODE_ENV==="production"?K.exports=yt():K.exports=gt()),K.exports}var wt=_t();function vt({stores:e,children:t}){try{if(!e||typeof e!="object"){const r="QuantaProvider: Invalid stores prop provided";throw C.logger.error(r),new Error(r)}for(const[r,i]of Object.entries(e))if(!i||typeof i!="object"){const l=`QuantaProvider: Invalid store "${r}" provided`;throw C.logger.error(l),new Error(l)}return wt.jsx(_e.Provider,{value:{stores:e},children:t})}catch(r){throw C.logger.error(`QuantaProvider: Failed to render provider: ${r instanceof Error?r.message:String(r)}`),r}}var ae,w,Je,I,Pe,Ge,Xe,Ze,we,pe,ue,V={},Ke=[],mt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,G=Array.isArray;function M(e,t){for(var r in t)e[r]=t[r];return e}function ve(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function J(e,t,r){var i,l,a,s={};for(a in t)a=="key"?i=t[a]:a=="ref"?l=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)s[a]===void 0&&(s[a]=e.defaultProps[a]);return te(e,s,i,l,null)}function te(e,t,r,i,l){var a={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:l??++Je,__i:-1,__u:0};return l==null&&w.vnode!=null&&w.vnode(a),a}function ce(e){return e.children}function re(e,t){this.props=e,this.context=t}function Q(e,t){if(t==null)return e.__?Q(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Q(e):null}function et(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return et(e)}}function Oe(e){(!e.__d&&(e.__d=!0)&&I.push(e)&&!le.__r++||Pe!=w.debounceRendering)&&((Pe=w.debounceRendering)||Ge)(le)}function le(){for(var e,t,r,i,l,a,s,h=1;I.length;)I.length>h&&I.sort(Xe),e=I.shift(),h=I.length,e.__d&&(r=void 0,i=void 0,l=(i=(t=e).__v).__e,a=[],s=[],t.__P&&((r=M({},i)).__v=i.__v+1,w.vnode&&w.vnode(r),me(t.__P,r,i,t.__n,t.__P.namespaceURI,32&i.__u?[l]:null,a,l??Q(i),!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,lt(a,r,s),i.__e=i.__=null,r.__e!=l&&et(r)));le.__r=0}function tt(e,t,r,i,l,a,s,h,f,d,p){var o,u,x,b,A,v,g,_=i&&i.__k||Ke,j=t.length;for(f=bt(r,t,_,f,j),o=0;o<j;o++)(x=r.__k[o])!=null&&(u=x.__i==-1?V:_[x.__i]||V,x.__i=o,v=me(e,x,u,l,a,s,h,f,d,p),b=x.__e,x.ref&&u.ref!=x.ref&&(u.ref&&be(u.ref,null,x),p.push(x.ref,x.__c||b,x)),A==null&&b!=null&&(A=b),(g=!!(4&x.__u))||u.__k===x.__k?f=rt(x,f,e,g):typeof x.type=="function"&&v!==void 0?f=v:b&&(f=b.nextSibling),x.__u&=-7);return r.__e=A,f}function bt(e,t,r,i,l){var a,s,h,f,d,p=r.length,o=p,u=0;for(e.__k=new Array(l),a=0;a<l;a++)(s=t[a])!=null&&typeof s!="boolean"&&typeof s!="function"?(f=a+u,(s=e.__k[a]=typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?te(null,s,null,null,null):G(s)?te(ce,{children:s},null,null,null):s.constructor==null&&s.__b>0?te(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,h=null,(d=s.__i=kt(s,r,f,o))!=-1&&(o--,(h=r[d])&&(h.__u|=2)),h==null||h.__v==null?(d==-1&&(l>p?u--:l<p&&u++),typeof s.type!="function"&&(s.__u|=4)):d!=f&&(d==f-1?u--:d==f+1?u++:(d>f?u--:u++,s.__u|=4))):e.__k[a]=null;if(o)for(a=0;a<p;a++)(h=r[a])!=null&&(2&h.__u)==0&&(h.__e==i&&(i=Q(h)),at(h,h));return i}function rt(e,t,r,i){var l,a;if(typeof e.type=="function"){for(l=e.__k,a=0;l&&a<l.length;a++)l[a]&&(l[a].__=e,t=rt(l[a],t,r,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=Q(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function it(e,t){return t=t||[],e==null||typeof e=="boolean"||(G(e)?e.some(function(r){it(r,t)}):t.push(e)),t}function kt(e,t,r,i){var l,a,s,h=e.key,f=e.type,d=t[r],p=d!=null&&(2&d.__u)==0;if(d===null&&e.key==null||p&&h==d.key&&f==d.type)return r;if(i>(p?1:0)){for(l=r-1,a=r+1;l>=0||a<t.length;)if((d=t[s=l>=0?l--:a++])!=null&&(2&d.__u)==0&&h==d.key&&f==d.type)return s}return-1}function $e(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||mt.test(t)?r:r+"px"}function ee(e,t,r,i,l){var a,s;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||$e(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||$e(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")a=t!=(t=t.replace(Ze,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?i?r.u=i.u:(r.u=we,e.addEventListener(t,a?ue:pe,a)):e.removeEventListener(t,a?ue:pe,a);else{if(l=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Me(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=we++;else if(t.t<r.u)return;return r(w.event?w.event(t):t)}}}function me(e,t,r,i,l,a,s,h,f,d){var p,o,u,x,b,A,v,g,_,j,P,U,F,X,H,$,L,R=t.type;if(t.constructor!=null)return null;128&r.__u&&(f=!!(32&r.__u),a=[h=t.__e=r.__e]),(p=w.__b)&&p(t);e:if(typeof R=="function")try{if(g=t.props,_="prototype"in R&&R.prototype.render,j=(p=R.contextType)&&i[p.__c],P=p?j?j.props.value:p.__:i,r.__c?v=(o=t.__c=r.__c).__=o.__E:(_?t.__c=o=new R(g,P):(t.__c=o=new re(g,P),o.constructor=R,o.render=St),j&&j.sub(o),o.props=g,o.state||(o.state={}),o.context=P,o.__n=i,u=o.__d=!0,o.__h=[],o._sb=[]),_&&o.__s==null&&(o.__s=o.state),_&&R.getDerivedStateFromProps!=null&&(o.__s==o.state&&(o.__s=M({},o.__s)),M(o.__s,R.getDerivedStateFromProps(g,o.__s))),x=o.props,b=o.state,o.__v=t,u)_&&R.getDerivedStateFromProps==null&&o.componentWillMount!=null&&o.componentWillMount(),_&&o.componentDidMount!=null&&o.__h.push(o.componentDidMount);else{if(_&&R.getDerivedStateFromProps==null&&g!==x&&o.componentWillReceiveProps!=null&&o.componentWillReceiveProps(g,P),!o.__e&&o.shouldComponentUpdate!=null&&o.shouldComponentUpdate(g,o.__s,P)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(o.props=g,o.state=o.__s,o.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(O){O&&(O.__=t)}),U=0;U<o._sb.length;U++)o.__h.push(o._sb[U]);o._sb=[],o.__h.length&&s.push(o);break e}o.componentWillUpdate!=null&&o.componentWillUpdate(g,o.__s,P),_&&o.componentDidUpdate!=null&&o.__h.push(function(){o.componentDidUpdate(x,b,A)})}if(o.context=P,o.props=g,o.__P=e,o.__e=!1,F=w.__r,X=0,_){for(o.state=o.__s,o.__d=!1,F&&F(t),p=o.render(o.props,o.state,o.context),H=0;H<o._sb.length;H++)o.__h.push(o._sb[H]);o._sb=[]}else do o.__d=!1,F&&F(t),p=o.render(o.props,o.state,o.context),o.state=o.__s;while(o.__d&&++X<25);o.state=o.__s,o.getChildContext!=null&&(i=M(M({},i),o.getChildContext())),_&&!u&&o.getSnapshotBeforeUpdate!=null&&(A=o.getSnapshotBeforeUpdate(x,b)),$=p,p!=null&&p.type===ce&&p.key==null&&($=ot(p.props.children)),h=tt(e,G($)?$:[$],t,r,i,l,a,s,h,f,d),o.base=t.__e,t.__u&=-161,o.__h.length&&s.push(o),v&&(o.__E=o.__=null)}catch(O){if(t.__v=null,f||a!=null)if(O.then){for(t.__u|=f?160:128;h&&h.nodeType==8&&h.nextSibling;)h=h.nextSibling;a[a.indexOf(h)]=null,t.__e=h}else{for(L=a.length;L--;)ve(a[L]);xe(t)}else t.__e=r.__e,t.__k=r.__k,O.then||xe(t);w.__e(O,t,r)}else a==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):h=t.__e=Nt(r.__e,t,r,i,l,a,s,f,d);return(p=w.diffed)&&p(t),128&t.__u?void 0:h}function xe(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(xe)}function lt(e,t,r){for(var i=0;i<r.length;i++)be(r[i],r[++i],r[++i]);w.__c&&w.__c(t,e),e.some(function(l){try{e=l.__h,l.__h=[],e.some(function(a){a.call(l)})}catch(a){w.__e(a,l.__v)}})}function ot(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:G(e)?e.map(ot):M({},e)}function Nt(e,t,r,i,l,a,s,h,f){var d,p,o,u,x,b,A,v=r.props,g=t.props,_=t.type;if(_=="svg"?l="http://www.w3.org/2000/svg":_=="math"?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),a!=null){for(d=0;d<a.length;d++)if((x=a[d])&&"setAttribute"in x==!!_&&(_?x.localName==_:x.nodeType==3)){e=x,a[d]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(l,_,g.is&&g),h&&(w.__m&&w.__m(t,a),h=!1),a=null}if(_==null)v===g||h&&e.data==g||(e.data=g);else{if(a=a&&ae.call(e.childNodes),v=r.props||V,!h&&a!=null)for(v={},d=0;d<e.attributes.length;d++)v[(x=e.attributes[d]).name]=x.value;for(d in v)if(x=v[d],d!="children"){if(d=="dangerouslySetInnerHTML")o=x;else if(!(d in g)){if(d=="value"&&"defaultValue"in g||d=="checked"&&"defaultChecked"in g)continue;ee(e,d,null,x,l)}}for(d in g)x=g[d],d=="children"?u=x:d=="dangerouslySetInnerHTML"?p=x:d=="value"?b=x:d=="checked"?A=x:h&&typeof x!="function"||v[d]===x||ee(e,d,x,v[d],l);if(p)h||o&&(p.__html==o.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(o&&(e.innerHTML=""),tt(t.type=="template"?e.content:e,G(u)?u:[u],t,r,i,_=="foreignObject"?"http://www.w3.org/1999/xhtml":l,a,s,a?a[0]:r.__k&&Q(r,0),h,f),a!=null)for(d=a.length;d--;)ve(a[d]);h||(d="value",_=="progress"&&b==null?e.removeAttribute("value"):b!=null&&(b!==e[d]||_=="progress"&&!b||_=="option"&&b!=v[d])&&ee(e,d,b,v[d],l),d="checked",A!=null&&A!=e[d]&&ee(e,d,A,v[d],l))}return e}function be(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(l){w.__e(l,r)}}function at(e,t,r){var i,l;if(w.unmount&&w.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||be(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(a){w.__e(a,t)}i.base=i.__P=null}if(i=e.__k)for(l=0;l<i.length;l++)i[l]&&at(i[l],t,r||typeof e.type!="function");r||ve(e.__e),e.__c=e.__=e.__e=void 0}function St(e,t,r){return this.constructor(e,r)}function De(e,t,r){var i,l,a,s;t==document&&(t=document.documentElement),w.__&&w.__(e,t),l=(i=!1)?null:t.__k,a=[],s=[],me(t,e=t.__k=J(ce,null,[e]),l||V,V,t.namespaceURI,l?null:t.firstChild?ae.call(t.childNodes):null,a,l?l.__e:t.firstChild,i,s),lt(a,e,s)}ae=Ke.slice,w={__e:function(e,t,r,i){for(var l,a,s;t=t.__;)if((l=t.__c)&&!l.__)try{if((a=l.constructor)&&a.getDerivedStateFromError!=null&&(l.setState(a.getDerivedStateFromError(e)),s=l.__d),l.componentDidCatch!=null&&(l.componentDidCatch(e,i||{}),s=l.__d),s)return l.__E=l}catch(h){e=h}throw e}},Je=0,re.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=M({},this.state),typeof e=="function"&&(e=e(M({},r),this.props)),e&&M(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Oe(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Oe(this))},re.prototype.render=ce,I=[],Ge=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xe=function(e,t){return e.__v.__b-t.__v.__b},le.__r=0,Ze=/(PointerCapture)$|Capture$/i,we=0,pe=Me(!1),ue=Me(!0);var Et=0;function n(e,t,r,i,l,a){t||(t={});var s,h,f=t;if("ref"in f)for(h in f={},t)h=="ref"?s=t[h]:f[h]=t[h];var d={type:e,props:f,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Et,__i:-1,__u:0,__source:l,__self:a};if(typeof e=="function"&&(s=e.defaultProps))for(h in s)f[h]===void 0&&(f[h]=s[h]);return w.vnode&&w.vnode(d),d}var oe,k,de,ze,ye=0,ct=[],N=w,Fe=N.__b,Ie=N.__r,Ue=N.diffed,He=N.__c,Be=N.unmount,Qe=N.__;function nt(e,t){N.__h&&N.__h(k,e,ye||t),ye=0;var r=k.__H||(k.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Y(e){return ye=1,Ct(st,e)}function Ct(e,t,r){var i=nt(oe++,2);if(i.t=e,!i.__c&&(i.__=[st(void 0,t),function(h){var f=i.__N?i.__N[0]:i.__[0],d=i.t(f,h);f!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=k,!k.__f)){var l=function(h,f,d){if(!i.__c.__H)return!0;var p=i.__c.__H.__.filter(function(u){return!!u.__c});if(p.every(function(u){return!u.__N}))return!a||a.call(this,h,f,d);var o=i.__c.props!==h;return p.forEach(function(u){if(u.__N){var x=u.__[0];u.__=u.__N,u.__N=void 0,x!==u.__[0]&&(o=!0)}}),a&&a.call(this,h,f,d)||o};k.__f=!0;var a=k.shouldComponentUpdate,s=k.componentWillUpdate;k.componentWillUpdate=function(h,f,d){if(this.__e){var p=a;a=void 0,l(h,f,d),a=p}s&&s.call(this,h,f,d)},k.shouldComponentUpdate=l}return i.__N||i.__}function Tt(e,t){var r=nt(oe++,3);!N.__s&&jt(r.__H,t)&&(r.__=e,r.u=t,k.__H.__h.push(r))}function At(){for(var e;e=ct.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ie),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],N.__e(t,e.__v)}}N.__b=function(e){k=null,Fe&&Fe(e)},N.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Qe&&Qe(e,t)},N.__r=function(e){Ie&&Ie(e),oe=0;var t=(k=e.__c).__H;t&&(de===k?(t.__h=[],k.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(ie),t.__h.forEach(ge),t.__h=[],oe=0)),de=k},N.diffed=function(e){Ue&&Ue(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ct.push(t)!==1&&ze===N.requestAnimationFrame||((ze=N.requestAnimationFrame)||Rt)(At)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),de=k=null},N.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(i){return!i.__||ge(i)})}catch(i){t.some(function(l){l.__h&&(l.__h=[])}),t=[],N.__e(i,r.__v)}}),He&&He(e,t)},N.unmount=function(e){Be&&Be(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(i){try{ie(i)}catch(l){t=l}}),r.__H=void 0,t&&N.__e(t,r.__v))};var Le=typeof requestAnimationFrame=="function";function Rt(e){var t,r=function(){clearTimeout(i),Le&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);Le&&(t=requestAnimationFrame(r))}function ie(e){var t=k,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),k=t}function ge(e){var t=k;e.__c=e.__(),k=t}function jt(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function st(e,t){return typeof t=="function"?t(e):t}const qe="data:image/svg+xml,%3csvg%20width='1820'%20height='1820'%20viewBox='0%200%201820%201820'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='1820'%20height='1820'%20rx='20'%20fill='%23121212'/%3e%3crect%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='868'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1736'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='248'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='744'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1116'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1364'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='248'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.7'%20x='1364'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1488'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1736'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.99'%20x='1364'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1488'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1612'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1736'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1364'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1488'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='124'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20opacity='0.5'%20x='1364'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1736'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='992'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1488'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1736'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.1'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='372'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1612'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='248'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.98'%20x='744'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='992'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='744'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='1240'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1612'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='744'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1240'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1488'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='124'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='744'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='868'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.32'%20x='1612'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3c/svg%3e";function Pt(){const[e,t]=Y({}),[r,i]=Y([]),[l,a]=Y(null);return Tt(()=>{let s,h=0;const f=10,d=()=>{const o=window.__QUANTA_DEVTOOLS__;o?(console.log("[Quanta DevTools] Connected to bridge"),s=o.subscribe(p)):h<f?(h++,setTimeout(d,500)):console.warn("[Quanta DevTools] Failed to connect to bridge after retries")},p=o=>{o.type==="STORE_INIT"?t(u=>{const x={...u,[o.payload.name]:o.payload.store};return l||a(o.payload.name),x}):o.type==="STATE_CHANGE"?t(u=>{const x=o.payload.storeName;return u[x]?{...u}:u}):o.type==="ACTION_CALL"&&i(u=>[{id:Math.random().toString(36).substr(2,9),storeName:o.payload.storeName,actionName:o.payload.actionName,args:o.payload.args,timestamp:Date.now()},...u.slice(0,49)])};return d(),()=>{s&&s()}},[l]),{stores:e,actions:r,selectedStore:l,setSelectedStore:a}}const We=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ot=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,i)=>i?i.toUpperCase():r.toLowerCase()),Ye=e=>{const t=Ot(e);return t.charAt(0).toUpperCase()+t.slice(1)},$t=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim();var Mt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};const Dt=({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,children:l,iconNode:a,class:s="",...h})=>J("svg",{...Mt,width:String(t),height:t,stroke:e,"stroke-width":i?Number(r)*24/Number(t):r,class:["lucide",s].join(" "),...h},[...a.map(([f,d])=>J(f,d)),...it(l)]),z=(e,t)=>{const r=({class:i="",className:l="",children:a,...s})=>J(Dt,{...s,iconNode:t,class:$t(`lucide-${We(Ye(e))}`,`lucide-${We(e)}`,i,l)},a);return r.displayName=Ye(e),r},zt=z("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Ft=z("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),It=z("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),Ut=z("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),Ht=z("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),Bt=z("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Qt=z("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),Lt=z("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),qt={x:Lt,play:Ut,database:It,"chevron-right":zt,"rotate-ccw":Ht,trash:Qt,search:Bt,"circle-x":Ft};function D({name:e,size:t=16,color:r,className:i}){const l=qt[e];return l?n(l,{size:t,color:r,className:i}):null}const ht=({data:e,level:t=0})=>typeof e!="object"||e===null?n("span",{className:"text-green-600 dark:text-green-400",children:JSON.stringify(e)}):n("div",{style:{paddingLeft:t*12},children:Object.entries(e).map(([r,i])=>n("div",{className:"font-mono text-xs py-0.5",children:[n("span",{className:"text-purple-400",children:[r,": "]}),n(ht,{data:i,level:t+1})]},r))}),Wt=({stores:e,selectedStore:t})=>n("div",{className:"flex h-full",children:n("div",{className:"flex-1 overflow-y-auto p-4 bg-slate-950",children:t&&e[t]?n("div",{className:"space-y-4",children:[n("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[n("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Store Management"}),n("div",{className:"flex flex-col gap-3",children:[n("div",{className:"flex items-center justify-between",children:[n("div",{className:"flex items-center gap-2 text-xs",children:[n("span",{className:"text-slate-400",children:"Persistence:"}),e[t].$persist?n("span",{className:"flex items-center gap-1.5 text-green-400 font-medium bg-green-400/10 px-2 py-0.5 rounded-full border border-green-400/20",children:[n("div",{className:"w-1.5 h-1.5 rounded-full bg-green-400 shadow-[0_0_6px_rgba(74,222,128,0.5)]"}),"Enabled"]}):n("span",{className:"flex items-center gap-1.5 text-slate-500 font-medium bg-slate-800 px-2 py-0.5 rounded-full border border-slate-700",children:[n("div",{className:"w-1.5 h-1.5 rounded-full bg-slate-500"}),"Disabled"]})]}),e[t].$persist&&n("button",{onClick:async()=>{if(confirm("Are you sure you want to clear the persisted data for this store?"))try{await e[t].$persist.clear(),alert("Storage cleared.")}catch(r){console.error(r),alert("Failed to clear storage.")}},className:"flex items-center gap-1.5 px-2 py-1 bg-slate-800 hover:bg-red-500/20 text-slate-400 hover:text-red-400 rounded text-[10px] font-medium transition-colors border border-slate-700 hover:border-red-500/30",title:"Clear persisted data from storage",children:[n(D,{name:"trash",size:12}),"Clear Storage"]})]}),n("div",{className:"flex items-center justify-between pt-2 border-t border-slate-800/50",children:[n("span",{className:"text-xs text-slate-500",children:"Reset in-memory state to initial values."}),n("button",{onClick:()=>{confirm("Are you sure you want to reset the state? This will revert all changes.")&&e[t].$reset()},className:"flex items-center gap-2 px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white rounded text-xs font-medium transition-colors border border-slate-700",children:[n(D,{name:"rotate-ccw",size:12}),"Reset State"]})]})]})]}),n("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[n("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"State"}),n(ht,{data:e[t].state})]}),n("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[n("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Getters"}),e[t].getters&&Object.keys(e[t].getters).length>0?n("div",{className:"space-y-1",children:Object.entries(e[t].getters).map(([r,i])=>n("div",{className:"flex items-start gap-2 font-mono text-xs",children:[n("span",{className:"text-purple-400",children:[r,":"]}),n("span",{className:"text-yellow-400 break-all",children:JSON.stringify(i.value)})]},r))}):n("div",{className:"text-xs text-slate-600 italic",children:"No getters defined"})]}),e[t].actions&&Object.keys(e[t].actions).length>0&&n("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[n("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Actions"}),n("div",{className:"space-y-1",children:Object.keys(e[t].actions).map(r=>n("div",{className:"flex items-center justify-between group",children:[n("span",{className:"font-mono text-xs text-blue-400",children:[r,"()"]}),n("button",{onClick:()=>{try{e[t].actions[r]()}catch(i){console.error(i),alert(`Action failed: ${i}`)}},className:"p-1 text-slate-600 hover:text-cyan-400 opacity-0 group-hover:opacity-100 transition-all",title:"Trigger Action",children:n(D,{name:"play",size:12})})]},r))})]})]}):n("div",{className:"h-full flex items-center justify-center text-slate-600 flex-col gap-2",children:[n(D,{name:"database",size:32,className:"opacity-20"}),n("p",{children:"Select a store to inspect"})]})})}),Yt=({actions:e})=>e.length===0?n("div",{className:"h-full flex flex-col items-center justify-center text-slate-600",children:[n(D,{size:32,name:"play",className:"mb-2 opacity-20"}),n("p",{children:"No actions recorded yet"})]}):n("div",{className:"h-full overflow-y-auto",children:n("table",{className:"w-full text-left border-collapse",children:[n("thead",{className:"bg-slate-900 sticky top-0 z-10",children:n("tr",{children:[n("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Time"}),n("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Store"}),n("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Action"}),n("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Payload"})]})}),n("tbody",{className:"divide-y divide-slate-800/50",children:e.map(t=>n("tr",{className:"hover:bg-slate-900/50 transition-colors",children:[n("td",{className:"px-4 py-3 text-xs text-slate-500 font-mono whitespace-nowrap",children:new Date(t.timestamp).toLocaleTimeString()}),n("td",{className:"px-4 py-3 text-sm font-medium text-slate-200",children:t.storeName}),n("td",{className:"px-4 py-3 text-sm text-cyan-400 font-mono",children:t.actionName}),n("td",{className:"px-4 py-3 text-xs text-slate-400 font-mono truncate max-w-[200px]",children:JSON.stringify(t.args)})]},t.id))})]})}),Vt="2.0.0-beta.6",Jt={version:Vt};function Gt(){const[e,t]=Y(!1),[r,i]=Y("inspector"),{stores:l,actions:a,selectedStore:s,setSelectedStore:h}=Pt(),f=a.length,d=Jt.version;return e?n("div",{className:"fixed bottom-6 right-6 w-[92vw] max-w-[980px] h-[80vh] md:h-[600px] bg-gradient-to-b from-[#071123] to-[#0b1220] shadow-2xl border border-slate-800 rounded-xl flex flex-col z-[9999] overflow-hidden",children:[n("header",{className:"flex items-center justify-between px-4 py-3 border-b border-slate-800 bg-[rgba(255,255,255,0.02)]",children:[n("div",{className:"flex items-center gap-3",children:[n("img",{src:qe,alt:"Quanta DevTools",className:"w-6 h-6 rounded-full"}),n("div",{children:[n("div",{className:"text-sm font-semibold text-[rgba(56,178,172,1)]",children:"QuantaJS DevTools"}),n("div",{className:"text-xs text-slate-400",children:"Inspect stores, replay actions & manage persistence"})]})]}),n("div",{className:"flex items-center gap-3",children:[n("div",{className:"flex items-center gap-2 bg-slate-900/30 px-2 py-1 rounded",children:[n("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="inspector"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("inspector"),children:"Inspector"}),n("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="actions"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("actions"),children:["Actions (",f,")"]})]}),n("button",{onClick:()=>t(!1),className:"p-1 bg-transparent rounded-full transition text-red-500 hover:text-red-600",title:"Close",children:n(D,{name:"circle-x",size:24})})]})]}),n("div",{className:"flex flex-1 overflow-hidden",children:[n("aside",{className:"w-56 bg-[rgba(255,255,255,0.02)] border-r border-slate-800 p-3 flex flex-col gap-3",children:[n("div",{className:"flex items-center gap-2",children:[n(D,{name:"search",size:14,className:"text-slate-400"}),n("input",{placeholder:"Filter stor es...",className:"p-1 flex-1 bg-transparent rounded-md outline-none text-sm text-slate-200 placeholder:text-slate-500",onInput:p=>h(p.target.value),value:s??""})]}),n("div",{className:"flex-1 overflow-auto",children:Object.keys(l).length===0?n("div",{className:"text-xs text-slate-500",children:"No stores detected"}):Object.keys(l).map(p=>n("button",{onClick:()=>h(p),className:`w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${s===p?"text-[rgba(56,178,172,1)] hover:text-slate-100 bg-[rgba(255,255,255,0.02)]":"text-slate-400 hover:text-slate-200 bg-transparent"}`,children:[n("span",{className:"font-mono text-xs text-slate-400",children:n(D,{name:"database",size:14,className:"text-slate-400"})}),n("div",{className:"flex-1 text-sm truncate",children:p})]},p))}),n("div",{className:"flex items-center gap-2 text-xs text-slate-500",children:[n("div",{className:"flex-1",children:[Object.keys(l).length," stores"]}),n("div",{className:"text-right",children:["v",d]})]})]}),n("main",{className:"flex-1 overflow-auto p-4 space-y-4",children:r==="inspector"?n(Wt,{stores:l,selectedStore:s,onClose:()=>t(!1)}):n(Yt,{actions:a})})]})]}):n("button",{onClick:()=>t(!0),className:"fixed bottom-6 right-6 flex items-center bg-black text-white shadow-xl border border-slate-700 rounded-full overflow-hidden transition-all duration-300 ease-out group z-[9999] w-12 hover:w-46 h-12",title:"Open Quanta DevTools",children:[n("div",{className:"w-10 h-10 flex items-center justify-center flex-shrink-0",children:n("img",{src:qe,alt:"Quanta DevTools",className:"w-10 h-10 rounded-full object-cover"})}),n("span",{className:"opacity-0 group-hover:opacity-100 whitespace-nowrap text-sm font-medium text-[rgba(56,178,172,1)] transition-opacity duration-300",children:"QuantaJS DevTools"})]})}const Xt='@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-\\[92vw\\]{width:92vw}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[980px\\]{max-width:980px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/50>:not(:last-child)){border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab,red,red)){.border-green-400\\/20{border-color:color-mix(in oklab,var(--color-green-400)20%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/50{border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.bg-black{background-color:var(--color-black)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/40{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/40{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/30{background-color:#0f172b4d}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/30{background-color:color-mix(in oklab,var(--color-slate-900)30%,transparent)}}.bg-slate-900\\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/50{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\[\\#071123\\]{--tw-gradient-from:#071123;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\\[\\#0b1220\\]{--tw-gradient-to:#0b1220;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-\\[rgba\\(56\\,178\\,172\\,1\\)\\]{color:#38b2ac}.text-blue-400{color:var(--color-blue-400)}.text-cyan-400{color:var(--color-cyan-400)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-purple-400{color:var(--color-purple-400)}.text-red-500{color:var(--color-red-500)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_6px_rgba\\(74\\,222\\,128\\,0\\.5\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,#4ade8080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-slate-500::placeholder{color:var(--color-slate-500)}@media(hover:hover){.hover\\:w-46:hover{width:calc(var(--spacing)*46)}.hover\\:border-red-500\\/30:hover{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-red-500\\/30:hover{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.hover\\:bg-red-500\\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-900\\/50:hover{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-900\\/50:hover{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-white:hover{color:var(--color-white)}}@media(min-width:48rem){.md\\:h-\\[600px\\]{height:600px}}@media(prefers-color-scheme:dark){.dark\\:text-green-400{color:var(--color-green-400)}}.quanta-devtools-root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2ac;border-radius:3px}.quanta-devtools-root ::-webkit-scrollbar-thumb:hover{background:#2c7a7b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}';function Zt(){return!!(typeof process<"u"&&process.env&&process.env.NODE_ENV==="development")}function Kt(e={}){const{target:t="body",visible:r}=e;if(!(r!==void 0?r:Zt()))return()=>{};if(console.log("[Quanta DevTools] Mounting..."),!document.getElementById("quanta-devtools-styles")){const a=document.createElement("style");a.id="quanta-devtools-styles",a.innerHTML=Xt,document.head.appendChild(a)}let i;if(typeof t=="string"?i=document.querySelector(t):i=t,!i)return console.error("[Quanta DevTools] Target element not found"),()=>{};const l=document.createElement("div");return l.id="quanta-devtools-root",i.appendChild(l),De(J(Gt,{}),l),()=>{De(null,l),l.remove()}}const er=({visible:e})=>(T.useEffect(()=>Kt({visible:e}),[e]),null);Object.defineProperty(exports,"computed",{enumerable:!0,get:()=>C.computed});Object.defineProperty(exports,"createStore",{enumerable:!0,get:()=>C.createStore});Object.defineProperty(exports,"logger",{enumerable:!0,get:()=>C.logger});Object.defineProperty(exports,"reactive",{enumerable:!0,get:()=>C.reactive});Object.defineProperty(exports,"watch",{enumerable:!0,get:()=>C.watch});exports.QuantaContext=_e;exports.QuantaDevTools=er;exports.QuantaProvider=vt;exports.useCreateStore=xt;exports.useQuantaContext=Ve;exports.useQuantaStore=fe;exports.useStore=ut;
28
+ <%s key={someKey} {...props} />`,S,E,Q,E),Ae[E+S]=!0)}if(E=null,m!==void 0&&(r(m),E=""+m),h(y)&&(r(y.key),E=""+y.key),"key"in y){m={};for(var he in y)he!=="key"&&(m[he]=y[he])}else m=y;return E&&s(m,typeof n=="function"?n.displayName||n.name||"Unknown":n),d(n,E,m,l(),Z,se)}function a(n){u(n)?n._store&&(n._store.validated=1):typeof n=="object"&&n!==null&&n.$$typeof===D&&(n._payload.status==="fulfilled"?u(n._payload.value)&&n._payload.value._store&&(n._payload.value._store.validated=1):n._store&&(n._store.validated=1))}function u(n){return typeof n=="object"&&n!==null&&n.$$typeof===b}var x=T,b=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),O=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),$=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ne=Object.prototype.hasOwnProperty,pt=Array.isArray,ne=console.createTask?console.createTask:function(){return null};x={react_stack_bottom_frame:function(n){return n()}};var Se,Ee={},Ce=x.react_stack_bottom_frame.bind(x,o)(),Te=ne(i(o)),Ae={};Y.Fragment=v,Y.jsx=function(n,y,m){var S=1e4>$.recentlyCreatedOwnerStacks++;return p(n,y,m,!1,S?Error("react-stack-top-frame"):Ce,S?ne(i(n)):Te)},Y.jsxs=function(n,y,m){var S=1e4>$.recentlyCreatedOwnerStacks++;return p(n,y,m,!0,S?Error("react-stack-top-frame"):Ce,S?ne(i(n)):Te)}})()),Y}var Pe;function vt(){return Pe||(Pe=1,process.env.NODE_ENV==="production"?K.exports=_t():K.exports=wt()),K.exports}var mt=vt();function bt({stores:e,children:t}){try{if(!e||typeof e!="object"){const r="QuantaProvider: Invalid stores prop provided";throw C.logger.error(r),new Error(r)}for(const[r,i]of Object.entries(e))if(!i||typeof i!="object"){const l=`QuantaProvider: Invalid store "${r}" provided`;throw C.logger.error(l),new Error(l)}return mt.jsx(_e.Provider,{value:{stores:e},children:t})}catch(r){throw C.logger.error(`QuantaProvider: Failed to render provider: ${r instanceof Error?r.message:String(r)}`),r}}var ae,w,Xe,I,Oe,Ze,Ke,et,we,pe,ue,V={},tt=[],kt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,G=Array.isArray;function z(e,t){for(var r in t)e[r]=t[r];return e}function ve(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function J(e,t,r){var i,l,o,h={};for(o in t)o=="key"?i=t[o]:o=="ref"?l=t[o]:h[o]=t[o];if(arguments.length>2&&(h.children=arguments.length>3?ae.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)h[o]===void 0&&(h[o]=e.defaultProps[o]);return te(e,h,i,l,null)}function te(e,t,r,i,l){var o={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:l??++Xe,__i:-1,__u:0};return l==null&&w.vnode!=null&&w.vnode(o),o}function ce(e){return e.children}function re(e,t){this.props=e,this.context=t}function L(e,t){if(t==null)return e.__?L(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?L(e):null}function rt(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return rt(e)}}function $e(e){(!e.__d&&(e.__d=!0)&&I.push(e)&&!oe.__r++||Oe!=w.debounceRendering)&&((Oe=w.debounceRendering)||Ze)(oe)}function oe(){for(var e,t,r,i,l,o,h,s=1;I.length;)I.length>s&&I.sort(Ke),e=I.shift(),s=I.length,e.__d&&(r=void 0,i=void 0,l=(i=(t=e).__v).__e,o=[],h=[],t.__P&&((r=z({},i)).__v=i.__v+1,w.vnode&&w.vnode(r),me(t.__P,r,i,t.__n,t.__P.namespaceURI,32&i.__u?[l]:null,o,l??L(i),!!(32&i.__u),h),r.__v=i.__v,r.__.__k[r.__i]=r,at(o,r,h),i.__e=i.__=null,r.__e!=l&&rt(r)));oe.__r=0}function it(e,t,r,i,l,o,h,s,f,d,p){var a,u,x,b,A,v,g,_=i&&i.__k||tt,P=t.length;for(f=Nt(r,t,_,f,P),a=0;a<P;a++)(x=r.__k[a])!=null&&(u=x.__i==-1?V:_[x.__i]||V,x.__i=a,v=me(e,x,u,l,o,h,s,f,d,p),b=x.__e,x.ref&&u.ref!=x.ref&&(u.ref&&be(u.ref,null,x),p.push(x.ref,x.__c||b,x)),A==null&&b!=null&&(A=b),(g=!!(4&x.__u))||u.__k===x.__k?f=ot(x,f,e,g):typeof x.type=="function"&&v!==void 0?f=v:b&&(f=b.nextSibling),x.__u&=-7);return r.__e=A,f}function Nt(e,t,r,i,l){var o,h,s,f,d,p=r.length,a=p,u=0;for(e.__k=new Array(l),o=0;o<l;o++)(h=t[o])!=null&&typeof h!="boolean"&&typeof h!="function"?(f=o+u,(h=e.__k[o]=typeof h=="string"||typeof h=="number"||typeof h=="bigint"||h.constructor==String?te(null,h,null,null,null):G(h)?te(ce,{children:h},null,null,null):h.constructor==null&&h.__b>0?te(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h).__=e,h.__b=e.__b+1,s=null,(d=h.__i=St(h,r,f,a))!=-1&&(a--,(s=r[d])&&(s.__u|=2)),s==null||s.__v==null?(d==-1&&(l>p?u--:l<p&&u++),typeof h.type!="function"&&(h.__u|=4)):d!=f&&(d==f-1?u--:d==f+1?u++:(d>f?u--:u++,h.__u|=4))):e.__k[o]=null;if(a)for(o=0;o<p;o++)(s=r[o])!=null&&(2&s.__u)==0&&(s.__e==i&&(i=L(s)),nt(s,s));return i}function ot(e,t,r,i){var l,o;if(typeof e.type=="function"){for(l=e.__k,o=0;l&&o<l.length;o++)l[o]&&(l[o].__=e,t=ot(l[o],t,r,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=L(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function lt(e,t){return t=t||[],e==null||typeof e=="boolean"||(G(e)?e.some(function(r){lt(r,t)}):t.push(e)),t}function St(e,t,r,i){var l,o,h,s=e.key,f=e.type,d=t[r],p=d!=null&&(2&d.__u)==0;if(d===null&&e.key==null||p&&s==d.key&&f==d.type)return r;if(i>(p?1:0)){for(l=r-1,o=r+1;l>=0||o<t.length;)if((d=t[h=l>=0?l--:o++])!=null&&(2&d.__u)==0&&s==d.key&&f==d.type)return h}return-1}function Me(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||kt.test(t)?r:r+"px"}function ee(e,t,r,i,l){var o,h;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||Me(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||Me(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(et,"$1")),h=t.toLowerCase(),t=h in e||t=="onFocusOut"||t=="onFocusIn"?h.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?i?r.u=i.u:(r.u=we,e.addEventListener(t,o?ue:pe,o)):e.removeEventListener(t,o?ue:pe,o);else{if(l=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function De(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=we++;else if(t.t<r.u)return;return r(w.event?w.event(t):t)}}}function me(e,t,r,i,l,o,h,s,f,d){var p,a,u,x,b,A,v,g,_,P,O,H,F,X,B,D,q,j=t.type;if(t.constructor!=null)return null;128&r.__u&&(f=!!(32&r.__u),o=[s=t.__e=r.__e]),(p=w.__b)&&p(t);e:if(typeof j=="function")try{if(g=t.props,_="prototype"in j&&j.prototype.render,P=(p=j.contextType)&&i[p.__c],O=p?P?P.props.value:p.__:i,r.__c?v=(a=t.__c=r.__c).__=a.__E:(_?t.__c=a=new j(g,O):(t.__c=a=new re(g,O),a.constructor=j,a.render=Ct),P&&P.sub(a),a.props=g,a.state||(a.state={}),a.context=O,a.__n=i,u=a.__d=!0,a.__h=[],a._sb=[]),_&&a.__s==null&&(a.__s=a.state),_&&j.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=z({},a.__s)),z(a.__s,j.getDerivedStateFromProps(g,a.__s))),x=a.props,b=a.state,a.__v=t,u)_&&j.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),_&&a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(_&&j.getDerivedStateFromProps==null&&g!==x&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(g,O),!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(g,a.__s,O)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(a.props=g,a.state=a.__s,a.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function($){$&&($.__=t)}),H=0;H<a._sb.length;H++)a.__h.push(a._sb[H]);a._sb=[],a.__h.length&&h.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(g,a.__s,O),_&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(x,b,A)})}if(a.context=O,a.props=g,a.__P=e,a.__e=!1,F=w.__r,X=0,_){for(a.state=a.__s,a.__d=!1,F&&F(t),p=a.render(a.props,a.state,a.context),B=0;B<a._sb.length;B++)a.__h.push(a._sb[B]);a._sb=[]}else do a.__d=!1,F&&F(t),p=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++X<25);a.state=a.__s,a.getChildContext!=null&&(i=z(z({},i),a.getChildContext())),_&&!u&&a.getSnapshotBeforeUpdate!=null&&(A=a.getSnapshotBeforeUpdate(x,b)),D=p,p!=null&&p.type===ce&&p.key==null&&(D=ct(p.props.children)),s=it(e,G(D)?D:[D],t,r,i,l,o,h,s,f,d),a.base=t.__e,t.__u&=-161,a.__h.length&&h.push(a),v&&(a.__E=a.__=null)}catch($){if(t.__v=null,f||o!=null)if($.then){for(t.__u|=f?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else{for(q=o.length;q--;)ve(o[q]);xe(t)}else t.__e=r.__e,t.__k=r.__k,$.then||xe(t);w.__e($,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=Et(r.__e,t,r,i,l,o,h,f,d);return(p=w.diffed)&&p(t),128&t.__u?void 0:s}function xe(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(xe)}function at(e,t,r){for(var i=0;i<r.length;i++)be(r[i],r[++i],r[++i]);w.__c&&w.__c(t,e),e.some(function(l){try{e=l.__h,l.__h=[],e.some(function(o){o.call(l)})}catch(o){w.__e(o,l.__v)}})}function ct(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:G(e)?e.map(ct):z({},e)}function Et(e,t,r,i,l,o,h,s,f){var d,p,a,u,x,b,A,v=r.props,g=t.props,_=t.type;if(_=="svg"?l="http://www.w3.org/2000/svg":_=="math"?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),o!=null){for(d=0;d<o.length;d++)if((x=o[d])&&"setAttribute"in x==!!_&&(_?x.localName==_:x.nodeType==3)){e=x,o[d]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(l,_,g.is&&g),s&&(w.__m&&w.__m(t,o),s=!1),o=null}if(_==null)v===g||s&&e.data==g||(e.data=g);else{if(o=o&&ae.call(e.childNodes),v=r.props||V,!s&&o!=null)for(v={},d=0;d<e.attributes.length;d++)v[(x=e.attributes[d]).name]=x.value;for(d in v)if(x=v[d],d!="children"){if(d=="dangerouslySetInnerHTML")a=x;else if(!(d in g)){if(d=="value"&&"defaultValue"in g||d=="checked"&&"defaultChecked"in g)continue;ee(e,d,null,x,l)}}for(d in g)x=g[d],d=="children"?u=x:d=="dangerouslySetInnerHTML"?p=x:d=="value"?b=x:d=="checked"?A=x:s&&typeof x!="function"||v[d]===x||ee(e,d,x,v[d],l);if(p)s||a&&(p.__html==a.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(a&&(e.innerHTML=""),it(t.type=="template"?e.content:e,G(u)?u:[u],t,r,i,_=="foreignObject"?"http://www.w3.org/1999/xhtml":l,o,h,o?o[0]:r.__k&&L(r,0),s,f),o!=null)for(d=o.length;d--;)ve(o[d]);s||(d="value",_=="progress"&&b==null?e.removeAttribute("value"):b!=null&&(b!==e[d]||_=="progress"&&!b||_=="option"&&b!=v[d])&&ee(e,d,b,v[d],l),d="checked",A!=null&&A!=e[d]&&ee(e,d,A,v[d],l))}return e}function be(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(l){w.__e(l,r)}}function nt(e,t,r){var i,l;if(w.unmount&&w.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||be(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){w.__e(o,t)}i.base=i.__P=null}if(i=e.__k)for(l=0;l<i.length;l++)i[l]&&nt(i[l],t,r||typeof e.type!="function");r||ve(e.__e),e.__c=e.__=e.__e=void 0}function Ct(e,t,r){return this.constructor(e,r)}function ze(e,t,r){var i,l,o,h;t==document&&(t=document.documentElement),w.__&&w.__(e,t),l=(i=!1)?null:t.__k,o=[],h=[],me(t,e=t.__k=J(ce,null,[e]),l||V,V,t.namespaceURI,l?null:t.firstChild?ae.call(t.childNodes):null,o,l?l.__e:t.firstChild,i,h),at(o,e,h)}ae=tt.slice,w={__e:function(e,t,r,i){for(var l,o,h;t=t.__;)if((l=t.__c)&&!l.__)try{if((o=l.constructor)&&o.getDerivedStateFromError!=null&&(l.setState(o.getDerivedStateFromError(e)),h=l.__d),l.componentDidCatch!=null&&(l.componentDidCatch(e,i||{}),h=l.__d),h)return l.__E=l}catch(s){e=s}throw e}},Xe=0,re.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=z({},this.state),typeof e=="function"&&(e=e(z({},r),this.props)),e&&z(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),$e(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),$e(this))},re.prototype.render=ce,I=[],Ze=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ke=function(e,t){return e.__v.__b-t.__v.__b},oe.__r=0,et=/(PointerCapture)$|Capture$/i,we=0,pe=De(!1),ue=De(!0);var Tt=0;function c(e,t,r,i,l,o){t||(t={});var h,s,f=t;if("ref"in f)for(s in f={},t)s=="ref"?h=t[s]:f[s]=t[s];var d={type:e,props:f,key:r,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Tt,__i:-1,__u:0,__source:l,__self:o};if(typeof e=="function"&&(h=e.defaultProps))for(s in h)f[s]===void 0&&(f[s]=h[s]);return w.vnode&&w.vnode(d),d}var le,k,de,Fe,ye=0,st=[],N=w,Ie=N.__b,Ue=N.__r,He=N.diffed,Be=N.__c,Qe=N.unmount,Le=N.__;function ht(e,t){N.__h&&N.__h(k,e,ye||t),ye=0;var r=k.__H||(k.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function U(e){return ye=1,At(dt,e)}function At(e,t,r){var i=ht(le++,2);if(i.t=e,!i.__c&&(i.__=[dt(void 0,t),function(s){var f=i.__N?i.__N[0]:i.__[0],d=i.t(f,s);f!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=k,!k.__f)){var l=function(s,f,d){if(!i.__c.__H)return!0;var p=i.__c.__H.__.filter(function(u){return!!u.__c});if(p.every(function(u){return!u.__N}))return!o||o.call(this,s,f,d);var a=i.__c.props!==s;return p.forEach(function(u){if(u.__N){var x=u.__[0];u.__=u.__N,u.__N=void 0,x!==u.__[0]&&(a=!0)}}),o&&o.call(this,s,f,d)||a};k.__f=!0;var o=k.shouldComponentUpdate,h=k.componentWillUpdate;k.componentWillUpdate=function(s,f,d){if(this.__e){var p=o;o=void 0,l(s,f,d),o=p}h&&h.call(this,s,f,d)},k.shouldComponentUpdate=l}return i.__N||i.__}function jt(e,t){var r=ht(le++,3);!N.__s&&Ot(r.__H,t)&&(r.__=e,r.u=t,k.__H.__h.push(r))}function Rt(){for(var e;e=st.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ie),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],N.__e(t,e.__v)}}N.__b=function(e){k=null,Ie&&Ie(e)},N.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Le&&Le(e,t)},N.__r=function(e){Ue&&Ue(e),le=0;var t=(k=e.__c).__H;t&&(de===k?(t.__h=[],k.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(ie),t.__h.forEach(ge),t.__h=[],le=0)),de=k},N.diffed=function(e){He&&He(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(st.push(t)!==1&&Fe===N.requestAnimationFrame||((Fe=N.requestAnimationFrame)||Pt)(Rt)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),de=k=null},N.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(i){return!i.__||ge(i)})}catch(i){t.some(function(l){l.__h&&(l.__h=[])}),t=[],N.__e(i,r.__v)}}),Be&&Be(e,t)},N.unmount=function(e){Qe&&Qe(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(i){try{ie(i)}catch(l){t=l}}),r.__H=void 0,t&&N.__e(t,r.__v))};var qe=typeof requestAnimationFrame=="function";function Pt(e){var t,r=function(){clearTimeout(i),qe&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);qe&&(t=requestAnimationFrame(r))}function ie(e){var t=k,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),k=t}function ge(e){var t=k;e.__c=e.__(),k=t}function Ot(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function dt(e,t){return typeof t=="function"?t(e):t}const We="data:image/svg+xml,%3csvg%20width='1820'%20height='1820'%20viewBox='0%200%201820%201820'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='1820'%20height='1820'%20rx='20'%20fill='%23121212'/%3e%3crect%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='868'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1736'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='248'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='744'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1116'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1364'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='248'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.7'%20x='1364'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1488'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1736'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.99'%20x='1364'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1488'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1612'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1736'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1364'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1488'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='124'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20opacity='0.5'%20x='1364'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1736'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='992'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1488'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1736'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.1'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='372'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1612'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='248'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.98'%20x='744'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='992'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='744'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='1240'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1612'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='744'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1240'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1488'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='124'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='744'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='868'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.32'%20x='1612'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3c/svg%3e";function $t(){const[e,t]=U({}),[r,i]=U([]),[l,o]=U(null);return jt(()=>{let h,s=0;const f=10,d=()=>{const a=window.__QUANTA_DEVTOOLS__;a?(console.log("[Quanta DevTools] Connected to bridge"),h=a.subscribe(p)):s<f?(s++,setTimeout(d,500)):console.warn("[Quanta DevTools] Failed to connect to bridge after retries")},p=a=>{a.type==="STORE_INIT"?t(u=>{const x={...u,[a.payload.name]:a.payload.store};return l||o(a.payload.name),x}):a.type==="STATE_CHANGE"?t(u=>{const x=a.payload.storeName;return u[x]?{...u}:u}):a.type==="ACTION_CALL"&&i(u=>[{id:Math.random().toString(36).substr(2,9),storeName:a.payload.storeName,actionName:a.payload.actionName,args:a.payload.args,timestamp:Date.now()},...u.slice(0,49)])};return d(),()=>{h&&h()}},[l]),{stores:e,actions:r,selectedStore:l,setSelectedStore:o}}const Ye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Mt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,i)=>i?i.toUpperCase():r.toLowerCase()),Ve=e=>{const t=Mt(e);return t.charAt(0).toUpperCase()+t.slice(1)},Dt=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim();var zt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};const Ft=({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,children:l,iconNode:o,class:h="",...s})=>J("svg",{...zt,width:String(t),height:t,stroke:e,"stroke-width":i?Number(r)*24/Number(t):r,class:["lucide",h].join(" "),...s},[...o.map(([f,d])=>J(f,d)),...lt(l)]),R=(e,t)=>{const r=({class:i="",className:l="",children:o,...h})=>J(Ft,{...h,iconNode:t,class:Dt(`lucide-${Ye(Ve(e))}`,`lucide-${Ye(e)}`,i,l)},o);return r.displayName=Ve(e),r},It=R("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Ut=R("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Ht=R("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Bt=R("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Qt=R("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),Lt=R("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),qt=R("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),Wt=R("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),Yt=R("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),Vt=R("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Jt=R("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]),Gt=R("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Xt={x:Gt,play:Wt,database:qt,"chevron-right":Ht,"chevron-up":Bt,"chevron-down":Ut,"rotate-ccw":Yt,trash:Jt,search:Vt,"circle-x":Qt,check:It,copy:Lt};function M({name:e,size:t=16,color:r,className:i}){const l=Xt[e];return l?c(l,{size:t,color:r,className:i}):null}function ke(e){const t=new WeakSet;function r(i,l){if(l>10)return"[...]";if(i===null)return null;if(i===void 0)return;const o=typeof i;if(o==="string"||o==="number"||o==="boolean")return i;if(o==="function")return"[Function]";if(typeof Window<"u"&&i instanceof Window)return"[Window]";if(typeof Node<"u"&&i instanceof Node)return"[Element]";if(i instanceof Date)return i.toISOString();if(i instanceof RegExp)return i.toString();if(Array.isArray(i)){if(t.has(i))return"[Circular]";t.add(i);const h=i.map(s=>r(s,l+1));return t.delete(i),h}if(o==="object"){if(t.has(i))return"[Circular]";t.add(i);const h={};for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(h[s]=r(i[s],l+1));return t.delete(i),h}return String(i)}try{return JSON.stringify(r(e,0))}catch{return"[Error]"}}const ft=({data:e,level:t=0})=>typeof e!="object"||e===null?c("span",{className:"text-green-600 dark:text-green-400",children:ke(e)}):c("div",{style:{paddingLeft:t*12},children:Object.entries(e).map(([r,i])=>c("div",{className:"font-mono text-xs py-0.5",children:[c("span",{className:"text-purple-400",children:[r,": "]}),c(ft,{data:i,level:t+1})]},r))}),Zt=({stores:e,selectedStore:t})=>c("div",{className:"flex h-full",children:c("div",{className:"flex-1 overflow-y-auto p-4 bg-slate-950",children:t&&e[t]?c("div",{className:"space-y-4",children:[c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Store Management"}),c("div",{className:"flex flex-col gap-3",children:[c("div",{className:"flex items-center justify-between",children:[c("div",{className:"flex items-center gap-2 text-xs",children:[c("span",{className:"text-slate-400",children:"Persistence:"}),e[t].$persist?c("span",{className:"flex items-center gap-1.5 text-green-400 font-medium bg-green-400/10 px-2 py-0.5 rounded-full border border-green-400/20",children:[c("div",{className:"w-1.5 h-1.5 rounded-full bg-green-400 shadow-[0_0_6px_rgba(74,222,128,0.5)]"}),"Enabled"]}):c("span",{className:"flex items-center gap-1.5 text-slate-500 font-medium bg-slate-800 px-2 py-0.5 rounded-full border border-slate-700",children:[c("div",{className:"w-1.5 h-1.5 rounded-full bg-slate-500"}),"Disabled"]})]}),e[t].$persist&&c("button",{onClick:async()=>{if(confirm("Are you sure you want to clear the persisted data for this store?"))try{await e[t].$persist.clear(),alert("Storage cleared.")}catch(r){console.error(r),alert("Failed to clear storage.")}},className:"flex items-center gap-1.5 px-2 py-1 bg-slate-800 hover:bg-red-500/20 text-slate-400 hover:text-red-400 rounded text-[10px] font-medium transition-colors border border-slate-700 hover:border-red-500/30",title:"Clear persisted data from storage",children:[c(M,{name:"trash",size:12}),"Clear Storage"]})]}),c("div",{className:"flex items-center justify-between pt-2 border-t border-slate-800/50",children:[c("span",{className:"text-xs text-slate-500",children:"Reset in-memory state to initial values."}),c("button",{onClick:()=>{confirm("Are you sure you want to reset the state? This will revert all changes.")&&e[t].$reset()},className:"flex items-center gap-2 px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white rounded text-xs font-medium transition-colors border border-slate-700",children:[c(M,{name:"rotate-ccw",size:12}),"Reset State"]})]})]})]}),c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"State"}),c(ft,{data:e[t].state})]}),c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Getters"}),e[t].getters&&Object.keys(e[t].getters).length>0?c("div",{className:"space-y-1",children:Object.entries(e[t].getters).map(([r,i])=>c("div",{className:"flex items-start gap-2 font-mono text-xs",children:[c("span",{className:"text-purple-400",children:[r,":"]}),c("span",{className:"text-yellow-400 break-all",children:ke(i.value)})]},r))}):c("div",{className:"text-xs text-slate-600 italic",children:"No getters defined"})]}),e[t].actions&&Object.keys(e[t].actions).length>0&&c("div",{className:"bg-slate-900/50 rounded-lg border border-slate-800 p-4",children:[c("h3",{className:"text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2",children:"Actions"}),c("div",{className:"space-y-1",children:Object.keys(e[t].actions).map(r=>c("div",{className:"flex items-center justify-between group",children:[c("span",{className:"font-mono text-xs text-blue-400",children:[r,"()"]}),c("button",{onClick:()=>{try{e[t].actions[r]()}catch(i){console.error(i),alert(`Action failed: ${i}`)}},className:"p-1 text-slate-600 hover:text-cyan-400 opacity-0 group-hover:opacity-100 transition-all",title:"Trigger Action",children:c(M,{name:"play",size:12})})]},r))})]})]}):c("div",{className:"h-full flex items-center justify-center text-slate-600 flex-col gap-2",children:[c(M,{name:"database",size:32,className:"opacity-20"}),c("p",{children:"Select a store to inspect"})]})})}),Je=100,Kt=({args:e})=>{const[t,r]=U(!1),[i,l]=U(!1),o=ke(e),h=o.length>Je,s=h?o.slice(0,Je)+"...":o;return c("td",{className:"px-4 py-3 text-xs text-slate-400 font-mono",children:c("div",{className:"flex items-start gap-2",children:[c("div",{className:"flex-1 min-w-0",children:t?c("div",{className:"whitespace-pre-wrap break-all bg-slate-900/50 p-2 rounded border border-slate-800 max-h-48 overflow-y-auto",children:o}):c("div",{className:"truncate max-w-[200px]",title:s,children:s})}),c("div",{className:"flex items-center gap-1 flex-shrink-0",children:[h&&c("button",{onClick:()=>r(!t),className:"p-1 bg-transparent hover:bg-slate-800 rounded transition-colors text-cyan-400 hover:text-cyan-300",title:t?"Collapse":"Expand",children:c(M,{name:t?"chevron-up":"chevron-down",size:14})}),c("button",{onClick:async()=>{try{await navigator.clipboard.writeText(o),l(!0),setTimeout(()=>l(!1),2e3)}catch(f){console.error("Failed to copy:",f)}},className:`p-1 bg-transparent hover:bg-slate-800 rounded transition-colors ${i?"text-green-400":"text-slate-500 hover:text-slate-300"}`,title:i?"Copied!":"Copy payload",children:c(M,{name:i?"check":"copy",size:14})})]})]})})},er=({actions:e})=>e.length===0?c("div",{className:"h-full flex flex-col items-center justify-center text-slate-600",children:[c(M,{size:32,name:"play",className:"mb-2 opacity-20"}),c("p",{children:"No actions recorded yet"})]}):c("div",{className:"h-full overflow-y-auto",children:c("table",{className:"w-full text-left border-collapse",children:[c("thead",{className:"bg-slate-900 sticky top-0 z-10",children:c("tr",{children:[c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Time"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Store"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Action"}),c("th",{className:"px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800",children:"Payload"})]})}),c("tbody",{className:"divide-y divide-slate-800/50",children:e.map(t=>c("tr",{className:"hover:bg-slate-900/50 transition-colors",children:[c("td",{className:"px-4 py-3 text-xs text-slate-500 font-mono whitespace-nowrap",children:new Date(t.timestamp).toLocaleTimeString()}),c("td",{className:"px-4 py-3 text-sm font-medium text-slate-200",children:t.storeName}),c("td",{className:"px-4 py-3 text-sm text-cyan-400 font-mono",children:t.actionName}),c(Kt,{args:t.args})]},t.id))})]})}),tr="2.0.0-beta.8",rr={version:tr};function ir(){const[e,t]=U(!1),[r,i]=U("inspector"),{stores:l,actions:o,selectedStore:h,setSelectedStore:s}=$t(),f=o.length,d=rr.version;return e?c("div",{className:"fixed bottom-6 right-6 w-[92vw] max-w-[980px] h-[80vh] md:h-[600px] bg-gradient-to-b from-[#071123] to-[#0b1220] shadow-2xl border border-slate-800 rounded-xl flex flex-col z-[9999] overflow-hidden",children:[c("header",{className:"flex items-center justify-between px-4 py-3 border-b border-slate-800 bg-[rgba(255,255,255,0.02)]",children:[c("div",{className:"flex items-center gap-3",children:[c("img",{src:We,alt:"Quanta DevTools",className:"w-6 h-6 rounded-full"}),c("div",{children:[c("div",{className:"text-sm font-semibold text-[rgba(56,178,172,1)]",children:"QuantaJS DevTools"}),c("div",{className:"text-xs text-slate-400",children:"Inspect stores, replay actions & manage persistence"})]})]}),c("div",{className:"flex items-center gap-3",children:[c("div",{className:"flex items-center gap-2 bg-slate-900/30 px-2 py-1 rounded",children:[c("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="inspector"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("inspector"),children:"Inspector"}),c("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${r==="actions"?"text-[rgba(56,178,172,1)] bg-slate-800/40":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>i("actions"),children:["Actions (",f,")"]})]}),c("button",{onClick:()=>t(!1),className:"p-1 bg-transparent rounded-full transition text-red-500 hover:text-red-600",title:"Close",children:c(M,{name:"circle-x",size:24})})]})]}),c("div",{className:"flex flex-1 overflow-hidden",children:[c("aside",{className:"w-56 bg-[rgba(255,255,255,0.02)] border-r border-slate-800 p-3 flex flex-col gap-3",children:[c("div",{className:"flex items-center gap-2",children:[c(M,{name:"search",size:14,className:"text-slate-400"}),c("input",{placeholder:"Filter stor es...",className:"p-1 flex-1 bg-transparent rounded-md outline-none text-sm text-slate-200 placeholder:text-slate-500",onInput:p=>s(p.target.value),value:h??""})]}),c("div",{className:"flex-1 overflow-auto",children:Object.keys(l).length===0?c("div",{className:"text-xs text-slate-500",children:"No stores detected"}):Object.keys(l).map(p=>c("button",{onClick:()=>s(p),className:`w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${h===p?"text-[rgba(56,178,172,1)] hover:text-slate-100 bg-[rgba(255,255,255,0.02)]":"text-slate-400 hover:text-slate-200 bg-transparent"}`,title:p,children:[c("span",{className:"font-mono text-xs text-slate-400",children:c(M,{name:"database",size:14,className:"text-slate-400"})}),c("div",{className:"flex-1 text-sm truncate",children:p})]},p))}),c("div",{className:"flex items-center gap-2 text-xs text-slate-500",children:[c("div",{className:"flex-1",children:[Object.keys(l).length," stores"]}),c("div",{className:"text-right",children:["v",d]})]})]}),c("main",{className:"flex-1 overflow-auto p-4 space-y-4",children:r==="inspector"?c(Zt,{stores:l,selectedStore:h,onClose:()=>t(!1)}):c(er,{actions:o})})]})]}):c("button",{onClick:()=>t(!0),className:"fixed bottom-6 right-6 flex items-center bg-black text-white shadow-xl border border-slate-700 rounded-full overflow-hidden transition-all duration-300 ease-out group z-[9999] w-12 hover:w-46 h-12",title:"Open Quanta DevTools",children:[c("div",{className:"w-10 h-10 flex items-center justify-center flex-shrink-0",children:c("img",{src:We,alt:"Quanta DevTools",className:"w-10 h-10 rounded-full object-cover"})}),c("span",{className:"opacity-0 group-hover:opacity-100 whitespace-nowrap text-sm font-medium text-[rgba(56,178,172,1)] transition-opacity duration-300",children:"QuantaJS DevTools"})]})}const or='@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing)*48)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-\\[92vw\\]{width:92vw}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[980px\\]{max-width:980px}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/50>:not(:last-child)){border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab,red,red)){.border-green-400\\/20{border-color:color-mix(in oklab,var(--color-green-400)20%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/50{border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.bg-black{background-color:var(--color-black)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/40{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/40{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/30{background-color:#0f172b4d}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/30{background-color:color-mix(in oklab,var(--color-slate-900)30%,transparent)}}.bg-slate-900\\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/50{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\[\\#071123\\]{--tw-gradient-from:#071123;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\\[\\#0b1220\\]{--tw-gradient-to:#0b1220;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[rgba\\(56\\,178\\,172\\,1\\)\\]{color:#38b2ac}.text-blue-400{color:var(--color-blue-400)}.text-cyan-400{color:var(--color-cyan-400)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-purple-400{color:var(--color-purple-400)}.text-red-500{color:var(--color-red-500)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_6px_rgba\\(74\\,222\\,128\\,0\\.5\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,#4ade8080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-slate-500::placeholder{color:var(--color-slate-500)}@media(hover:hover){.hover\\:w-46:hover{width:calc(var(--spacing)*46)}.hover\\:border-red-500\\/30:hover{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-red-500\\/30:hover{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.hover\\:bg-red-500\\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-900\\/50:hover{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-900\\/50:hover{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}@media(min-width:48rem){.md\\:h-\\[600px\\]{height:600px}}@media(prefers-color-scheme:dark){.dark\\:text-green-400{color:var(--color-green-400)}}.quanta-devtools-root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2ac;border-radius:3px}.quanta-devtools-root ::-webkit-scrollbar-thumb:hover{background:#2c7a7b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}';function lr(){return!!(typeof process<"u"&&process.env&&process.env.NODE_ENV==="development")}function ar(e={}){const{target:t="body",visible:r}=e;if(!(r!==void 0?r:lr()))return()=>{};if(console.log("[Quanta DevTools] Mounting..."),!document.getElementById("quanta-devtools-styles")){const o=document.createElement("style");o.id="quanta-devtools-styles",o.innerHTML=or,document.head.appendChild(o)}let i;if(typeof t=="string"?i=document.querySelector(t):i=t,!i)return console.error("[Quanta DevTools] Target element not found"),()=>{};const l=document.createElement("div");return l.id="quanta-devtools-root",i.appendChild(l),ze(J(ir,{}),l),()=>{ze(null,l),l.remove()}}const cr=({visible:e})=>(T.useEffect(()=>ar({visible:e}),[e]),null);Object.defineProperty(exports,"computed",{enumerable:!0,get:()=>C.computed});Object.defineProperty(exports,"createStore",{enumerable:!0,get:()=>C.createStore});Object.defineProperty(exports,"logger",{enumerable:!0,get:()=>C.logger});Object.defineProperty(exports,"reactive",{enumerable:!0,get:()=>C.reactive});Object.defineProperty(exports,"watch",{enumerable:!0,get:()=>C.watch});exports.QuantaContext=_e;exports.QuantaDevTools=cr;exports.QuantaProvider=bt;exports.useCreateStore=gt;exports.useQuantaContext=Ge;exports.useQuantaStore=fe;exports.useStore=yt;