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

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"),E=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 c=new Error("QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+.");throw E.logger.error(`useQuantaStore: ${c.message}`),c}if(!t){const c=T.useRef(null),p=T.useCallback(()=>{if(c.current)return c.current;const a={};return Object.keys(e.state||{}).forEach(u=>{a[u]=e[u]}),Object.keys(e.getters||{}).forEach(u=>{const f=e.getters[u];a[u]=xt(f,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,c.current=a,a},[e]),d=T.useCallback(a=>{const u=f=>{c.current=null,a()};return e.subscribe(u)},[e]),x=T.useCallback(()=>p(),[p]);return T.useSyncExternalStore(d,p,x)}const r=T.useRef(null),i=T.useCallback(()=>{const c=t(e);return r.current=c,c},[e,t]),l=T.useCallback(c=>{const p=d=>{try{const x=t(e);r.current!==x&&(r.current=x,c())}catch(x){E.logger.warn(`useQuantaStore: Selector update failed: ${String(x)}`)}};return e.subscribe(p)},[e,t]),o=T.useCallback(()=>(r.current===null&&i(),r.current),[i]),s=T.useCallback(()=>i(),[i]);return T.useSyncExternalStore(l,o,s)}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 E.logger.error(`QuantaContext: ${t}`),new Error(t)}return e}catch(e){throw E.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 E.logger.error(`useStore: ${l}`),new Error(l)}return t?fe(i,t):fe(i)}catch(r){throw E.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=E.createStore(e,{state:t,getters:r,actions:i})}catch(o){throw E.logger.error(`useCreateStore: Failed to create store "${e}": ${o instanceof Error?o.message:String(o)}`),o}return l.current}catch(l){throw E.logger.error(`useCreateStore: Hook execution failed: ${l instanceof Error?l.message:String(l)}`),l}}var K={exports:{}},q={};var je;function _t(){if(je)return q;je=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(i,l,o){var s=null;if(o!==void 0&&(s=""+o),l.key!==void 0&&(s=""+l.key),"key"in l){o={};for(var c in l)c!=="key"&&(o[c]=l[c])}else o=l;return l=o.ref,{$$typeof:e,type:i,key:s,ref:l!==void 0?l:null,props:o}}return q.Fragment=t,q.jsx=r,q.jsxs=r,q}var Y={};var Re;function wt(){return Re||(Re=1,process.env.NODE_ENV!=="production"&&(function(){function e(h){if(h==null)return null;if(typeof h=="function")return h.$$typeof===j?null:h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case m:return"Fragment";case _:return"Profiler";case g:return"StrictMode";case I:return"Suspense";case X:return"SuspenseList";case W:return"Activity"}if(typeof h=="object")switch(typeof h.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),h.$$typeof){case A:return"Portal";case O:return h.displayName||"Context";case P:return(h._context.displayName||"Context")+".Consumer";case U:var y=h.render;return h=h.displayName,h||(h=y.displayName||y.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case Q:return y=h.displayName||null,y!==null?y:e(h.type)||"Memo";case $:y=h._payload,h=h._init;try{return e(h(y))}catch{}}return null}function t(h){return""+h}function r(h){try{t(h);var y=!1}catch{y=!0}if(y){y=console;var b=y.error,S=typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object";return b.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",S),t(h)}}function i(h){if(h===m)return"<>";if(typeof h=="object"&&h!==null&&h.$$typeof===$)return"<...>";try{var y=e(h);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function l(){var h=M.A;return h===null?null:h.getOwner()}function o(){return Error("react-stack-top-frame")}function s(h){if(Ne.call(h,"key")){var y=Object.getOwnPropertyDescriptor(h,"key").get;if(y&&y.isReactWarning)return!1}return h.key!==void 0}function c(h,y){function b(){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))}b.isReactWarning=!0,Object.defineProperty(h,"key",{get:b,configurable:!0})}function p(){var h=e(this.type);return Ce[h]||(Ce[h]=!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.")),h=this.props.ref,h!==void 0?h:null}function d(h,y,b,S,Z,se){var C=b.ref;return h={$$typeof:v,type:h,key:y,props:b,_owner:S},(C!==void 0?C:null)!==null?Object.defineProperty(h,"ref",{enumerable:!1,get:p}):Object.defineProperty(h,"ref",{enumerable:!1,value:null}),h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(h,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(h,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Z}),Object.defineProperty(h,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h}function x(h,y,b,S,Z,se){var C=y.children;if(C!==void 0)if(S)if(pt(C)){for(S=0;S<C.length;S++)a(C[S]);Object.freeze&&Object.freeze(C)}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(C);if(Ne.call(y,"key")){C=e(h);var H=Object.keys(y).filter(function(ut){return ut!=="key"});S=0<H.length?"{key: someKey, "+H.join(": ..., ")+": ...}":"{key: someKey}",Ae[C+S]||(H=0<H.length?"{"+H.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,C,H,C),Ae[C+S]=!0)}if(C=null,b!==void 0&&(r(b),C=""+b),s(y)&&(r(y.key),C=""+y.key),"key"in y){b={};for(var he in y)he!=="key"&&(b[he]=y[he])}else b=y;return C&&c(b,typeof h=="function"?h.displayName||h.name||"Unknown":h),d(h,C,b,l(),Z,se)}function a(h){u(h)?h._store&&(h._store.validated=1):typeof h=="object"&&h!==null&&h.$$typeof===$&&(h._payload.status==="fulfilled"?u(h._payload.value)&&h._payload.value._store&&(h._payload.value._store.validated=1):h._store&&(h._store.validated=1))}function u(h){return typeof h=="object"&&h!==null&&h.$$typeof===v}var f=T,v=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),O=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),M=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ne=Object.prototype.hasOwnProperty,pt=Array.isArray,ce=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(h){return h()}};var Se,Ce={},Ee=f.react_stack_bottom_frame.bind(f,o)(),Te=ce(i(o)),Ae={};Y.Fragment=m,Y.jsx=function(h,y,b){var S=1e4>M.recentlyCreatedOwnerStacks++;return x(h,y,b,!1,S?Error("react-stack-top-frame"):Ee,S?ce(i(h)):Te)},Y.jsxs=function(h,y,b){var S=1e4>M.recentlyCreatedOwnerStacks++;return x(h,y,b,!0,S?Error("react-stack-top-frame"):Ee,S?ce(i(h)):Te)}})()),Y}var Pe;function mt(){return Pe||(Pe=1,process.env.NODE_ENV==="production"?K.exports=_t():K.exports=wt()),K.exports}var bt=mt();function vt({stores:e,children:t}){try{if(!e||typeof e!="object"){const r="QuantaProvider: Invalid stores prop provided";throw E.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 E.logger.error(l),new Error(l)}return bt.jsx(_e.Provider,{value:{stores:e},children:t})}catch(r){throw E.logger.error(`QuantaProvider: Failed to render provider: ${r instanceof Error?r.message:String(r)}`),r}}var ae,w,Xe,L,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 D(e,t){for(var r in t)e[r]=t[r];return e}function me(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function J(e,t,r){var i,l,o,s={};for(o in t)o=="key"?i=t[o]:o=="ref"?l=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return te(e,s,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 ne(e){return e.children}function re(e,t){this.props=e,this.context=t}function B(e,t){if(t==null)return e.__?B(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"?B(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 Me(e){(!e.__d&&(e.__d=!0)&&L.push(e)&&!oe.__r++||Oe!=w.debounceRendering)&&((Oe=w.debounceRendering)||Ze)(oe)}function oe(){for(var e,t,r,i,l,o,s,c=1;L.length;)L.length>c&&L.sort(Ke),e=L.shift(),c=L.length,e.__d&&(r=void 0,i=void 0,l=(i=(t=e).__v).__e,o=[],s=[],t.__P&&((r=D({},i)).__v=i.__v+1,w.vnode&&w.vnode(r),be(t.__P,r,i,t.__n,t.__P.namespaceURI,32&i.__u?[l]:null,o,l??B(i),!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,at(o,r,s),i.__e=i.__=null,r.__e!=l&&rt(r)));oe.__r=0}function it(e,t,r,i,l,o,s,c,p,d,x){var a,u,f,v,A,m,g,_=i&&i.__k||tt,P=t.length;for(p=Nt(r,t,_,p,P),a=0;a<P;a++)(f=r.__k[a])!=null&&(u=f.__i==-1?V:_[f.__i]||V,f.__i=a,m=be(e,f,u,l,o,s,c,p,d,x),v=f.__e,f.ref&&u.ref!=f.ref&&(u.ref&&ve(u.ref,null,f),x.push(f.ref,f.__c||v,f)),A==null&&v!=null&&(A=v),(g=!!(4&f.__u))||u.__k===f.__k?p=ot(f,p,e,g):typeof f.type=="function"&&m!==void 0?p=m:v&&(p=v.nextSibling),f.__u&=-7);return r.__e=A,p}function Nt(e,t,r,i,l){var o,s,c,p,d,x=r.length,a=x,u=0;for(e.__k=new Array(l),o=0;o<l;o++)(s=t[o])!=null&&typeof s!="boolean"&&typeof s!="function"?(p=o+u,(s=e.__k[o]=typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?te(null,s,null,null,null):G(s)?te(ne,{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,c=null,(d=s.__i=St(s,r,p,a))!=-1&&(a--,(c=r[d])&&(c.__u|=2)),c==null||c.__v==null?(d==-1&&(l>x?u--:l<x&&u++),typeof s.type!="function"&&(s.__u|=4)):d!=p&&(d==p-1?u--:d==p+1?u++:(d>p?u--:u++,s.__u|=4))):e.__k[o]=null;if(a)for(o=0;o<x;o++)(c=r[o])!=null&&(2&c.__u)==0&&(c.__e==i&&(i=B(c)),ct(c,c));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=B(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,s,c=e.key,p=e.type,d=t[r],x=d!=null&&(2&d.__u)==0;if(d===null&&e.key==null||x&&c==d.key&&p==d.type)return r;if(i>(x?1:0)){for(l=r-1,o=r+1;l>=0||o<t.length;)if((d=t[s=l>=0?l--:o++])!=null&&(2&d.__u)==0&&c==d.key&&p==d.type)return s}return-1}function ze(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,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||ze(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||ze(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(et,"$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+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 $e(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 be(e,t,r,i,l,o,s,c,p,d){var x,a,u,f,v,A,m,g,_,P,O,U,I,X,Q,$,W,j=t.type;if(t.constructor!=null)return null;128&r.__u&&(p=!!(32&r.__u),o=[c=t.__e=r.__e]),(x=w.__b)&&x(t);e:if(typeof j=="function")try{if(g=t.props,_="prototype"in j&&j.prototype.render,P=(x=j.contextType)&&i[x.__c],O=x?P?P.props.value:x.__:i,r.__c?m=(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=Et),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=D({},a.__s)),D(a.__s,j.getDerivedStateFromProps(g,a.__s))),f=a.props,v=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!==f&&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(M){M&&(M.__=t)}),U=0;U<a._sb.length;U++)a.__h.push(a._sb[U]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(g,a.__s,O),_&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(f,v,A)})}if(a.context=O,a.props=g,a.__P=e,a.__e=!1,I=w.__r,X=0,_){for(a.state=a.__s,a.__d=!1,I&&I(t),x=a.render(a.props,a.state,a.context),Q=0;Q<a._sb.length;Q++)a.__h.push(a._sb[Q]);a._sb=[]}else do a.__d=!1,I&&I(t),x=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=D(D({},i),a.getChildContext())),_&&!u&&a.getSnapshotBeforeUpdate!=null&&(A=a.getSnapshotBeforeUpdate(f,v)),$=x,x!=null&&x.type===ne&&x.key==null&&($=nt(x.props.children)),c=it(e,G($)?$:[$],t,r,i,l,o,s,c,p,d),a.base=t.__e,t.__u&=-161,a.__h.length&&s.push(a),m&&(a.__E=a.__=null)}catch(M){if(t.__v=null,p||o!=null)if(M.then){for(t.__u|=p?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;o[o.indexOf(c)]=null,t.__e=c}else{for(W=o.length;W--;)me(o[W]);xe(t)}else t.__e=r.__e,t.__k=r.__k,M.then||xe(t);w.__e(M,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=Ct(r.__e,t,r,i,l,o,s,p,d);return(x=w.diffed)&&x(t),128&t.__u?void 0:c}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++)ve(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 nt(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:G(e)?e.map(nt):D({},e)}function Ct(e,t,r,i,l,o,s,c,p){var d,x,a,u,f,v,A,m=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((f=o[d])&&"setAttribute"in f==!!_&&(_?f.localName==_:f.nodeType==3)){e=f,o[d]=null;break}}if(e==null){if(_==null)return document.createTextNode(g);e=document.createElementNS(l,_,g.is&&g),c&&(w.__m&&w.__m(t,o),c=!1),o=null}if(_==null)m===g||c&&e.data==g||(e.data=g);else{if(o=o&&ae.call(e.childNodes),m=r.props||V,!c&&o!=null)for(m={},d=0;d<e.attributes.length;d++)m[(f=e.attributes[d]).name]=f.value;for(d in m)if(f=m[d],d!="children"){if(d=="dangerouslySetInnerHTML")a=f;else if(!(d in g)){if(d=="value"&&"defaultValue"in g||d=="checked"&&"defaultChecked"in g)continue;ee(e,d,null,f,l)}}for(d in g)f=g[d],d=="children"?u=f:d=="dangerouslySetInnerHTML"?x=f:d=="value"?v=f:d=="checked"?A=f:c&&typeof f!="function"||m[d]===f||ee(e,d,f,m[d],l);if(x)c||a&&(x.__html==a.__html||x.__html==e.innerHTML)||(e.innerHTML=x.__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,s,o?o[0]:r.__k&&B(r,0),c,p),o!=null)for(d=o.length;d--;)me(o[d]);c||(d="value",_=="progress"&&v==null?e.removeAttribute("value"):v!=null&&(v!==e[d]||_=="progress"&&!v||_=="option"&&v!=m[d])&&ee(e,d,v,m[d],l),d="checked",A!=null&&A!=e[d]&&ee(e,d,A,m[d],l))}return e}function ve(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 ct(e,t,r){var i,l;if(w.unmount&&w.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||ve(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]&&ct(i[l],t,r||typeof e.type!="function");r||me(e.__e),e.__c=e.__=e.__e=void 0}function Et(e,t,r){return this.constructor(e,r)}function De(e,t,r){var i,l,o,s;t==document&&(t=document.documentElement),w.__&&w.__(e,t),l=(i=!1)?null:t.__k,o=[],s=[],be(t,e=t.__k=J(ne,null,[e]),l||V,V,t.namespaceURI,l?null:t.firstChild?ae.call(t.childNodes):null,o,l?l.__e:t.firstChild,i,s),at(o,e,s)}ae=tt.slice,w={__e:function(e,t,r,i){for(var l,o,s;t=t.__;)if((l=t.__c)&&!l.__)try{if((o=l.constructor)&&o.getDerivedStateFromError!=null&&(l.setState(o.getDerivedStateFromError(e)),s=l.__d),l.componentDidCatch!=null&&(l.componentDidCatch(e,i||{}),s=l.__d),s)return l.__E=l}catch(c){e=c}throw e}},Xe=0,re.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=D({},this.state),typeof e=="function"&&(e=e(D({},r),this.props)),e&&D(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Me(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Me(this))},re.prototype.render=ne,L=[],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=$e(!1),ue=$e(!0);var Tt=0;function n(e,t,r,i,l,o){t||(t={});var s,c,p=t;if("ref"in p)for(c in p={},t)c=="ref"?s=t[c]:p[c]=t[c];var d={type:e,props:p,key:r,ref:s,__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"&&(s=e.defaultProps))for(c in s)p[c]===void 0&&(p[c]=s[c]);return w.vnode&&w.vnode(d),d}var le,k,de,Fe,ye=0,st=[],N=w,Ie=N.__b,Le=N.__r,Ue=N.diffed,Qe=N.__c,He=N.unmount,Be=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 F(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(c){var p=i.__N?i.__N[0]:i.__[0],d=i.t(p,c);p!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=k,!k.__f)){var l=function(c,p,d){if(!i.__c.__H)return!0;var x=i.__c.__H.__.filter(function(u){return!!u.__c});if(x.every(function(u){return!u.__N}))return!o||o.call(this,c,p,d);var a=i.__c.props!==c;return x.forEach(function(u){if(u.__N){var f=u.__[0];u.__=u.__N,u.__N=void 0,f!==u.__[0]&&(a=!0)}}),o&&o.call(this,c,p,d)||a};k.__f=!0;var o=k.shouldComponentUpdate,s=k.componentWillUpdate;k.componentWillUpdate=function(c,p,d){if(this.__e){var x=o;o=void 0,l(c,p,d),o=x}s&&s.call(this,c,p,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),Be&&Be(e,t)},N.__r=function(e){Le&&Le(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){Ue&&Ue(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)}}),Qe&&Qe(e,t)},N.unmount=function(e){He&&He(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 We=typeof requestAnimationFrame=="function";function Pt(e){var t,r=function(){clearTimeout(i),We&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);We&&(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 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 Mt(){const[e,t]=F({}),[r,i]=F([]),[l,o]=F(null);return jt(()=>{let s,c=0;const p=10,d=()=>{const a=window.__QUANTA_DEVTOOLS__;a?(console.log("[Quanta DevTools] Connected to bridge"),s=a.subscribe(x)):c<p?(c++,setTimeout(d,500)):console.warn("[Quanta DevTools] Failed to connect to bridge after retries")},x=a=>{a.type==="STORE_INIT"?t(u=>{const f={...u,[a.payload.name]:a.payload.store};return l||o(a.payload.name),f}):a.type==="STATE_CHANGE"?t(u=>{const f=a.payload.storeName;return u[f]?{...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(),()=>{s&&s()}},[l]),{stores:e,actions:r,selectedStore:l,setSelectedStore:o}}const Ye=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,i)=>i?i.toUpperCase():r.toLowerCase()),Ve=e=>{const t=zt(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 Dt={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:s="",...c})=>J("svg",{...Dt,width:String(t),height:t,stroke:e,"stroke-width":i?Number(r)*24/Number(t):r,class:["lucide",s].join(" "),...c},[...o.map(([p,d])=>J(p,d)),...lt(l)]),R=(e,t)=>{const r=({class:i="",className:l="",children:o,...s})=>J(Ft,{...s,iconNode:t,class:$t(`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"}]]),Lt=R("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),Ut=R("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),Qt=R("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Ht=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"}]]),Bt=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"}]]),Wt=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"}]]),qt=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:qt,database:Wt,"chevron-right":Ut,"chevron-up":Qt,"chevron-down":Lt,"rotate-ccw":Yt,trash:Jt,search:Vt,"circle-x":Ht,check:It,copy:Bt};function z({name:e,size:t=16,color:r,className:i}){const l=Xt[e];return l?n(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 s=i.map(c=>r(c,l+1));return t.delete(i),s}if(o==="object"){if(t.has(i))return"[Circular]";t.add(i);const s={};for(const c in i)Object.prototype.hasOwnProperty.call(i,c)&&(s[c]=r(i[c],l+1));return t.delete(i),s}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?n("span",{className:"text-green-600 dark:text-green-400",children:ke(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(ft,{data:i,level:t+1})]},r))}),Zt=({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 tracking-wider mb-3 border-b border-slate-800 pb-2",children:[n("span",{className:"uppercase",children:"Store Management"})," (",t,")"]}),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(z,{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(z,{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(ft,{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:ke(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(z,{name:"play",size:12})})]},r))})]})]}):n("div",{className:"h-full flex items-center justify-center text-slate-600 flex-col gap-2",children:[n(z,{name:"database",size:32,className:"opacity-20"}),n("p",{children:"Select a store to inspect"})]})})}),Je=100,Kt=({args:e})=>{const[t,r]=F(!1),[i,l]=F(!1),o=ke(e),s=o.length>Je,c=s?o.slice(0,Je)+"...":o;return n("td",{className:"px-4 py-3 text-xs text-slate-400 font-mono",children:n("div",{className:"flex items-start gap-2",children:[n("div",{className:"flex-1 min-w-0",children:t?n("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}):n("div",{className:"truncate max-w-[200px]",title:c,children:c})}),n("div",{className:"flex items-center gap-1 flex-shrink-0",children:[s&&n("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:n(z,{name:t?"chevron-up":"chevron-down",size:14})}),n("button",{onClick:async()=>{try{await navigator.clipboard.writeText(o),l(!0),setTimeout(()=>l(!1),2e3)}catch(p){console.error("Failed to copy:",p)}},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:n(z,{name:i?"check":"copy",size:14})})]})]})})},er=({actions:e})=>e.length===0?n("div",{className:"h-full flex flex-col items-center justify-center text-slate-600",children:[n(z,{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(Kt,{args:t.args})]},t.id))})]})}),tr="2.0.0-beta.9",rr={version:tr};function ir(){const[e,t]=F(!1),[r,i]=F(""),[l,o]=F("inspector"),{stores:s,actions:c,selectedStore:p,setSelectedStore:d}=Mt(),x=Object.keys(s).filter(f=>f.toLowerCase().includes(r.toLowerCase())),a=c.length,u=rr.version;return e?n("div",{className:"fixed bottom-6 right-6 w-[92vw] max-w-[980px] h-[80vh] md:h-[600px] bg-[#0f172a] 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-10 h-10 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 ${l==="inspector"?"text-[rgba(56,178,172,1)] bg-slate-800/40 border border-slate-400":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>o("inspector"),children:"Inspector"}),n("button",{className:`px-3 py-1 text-xs uppercase tracking-wider rounded ${l==="actions"?"text-[rgba(56,178,172,1)] bg-slate-800/40 border border-slate-400":"text-slate-400 hover:text-slate-200 bg-transparent"}`,onClick:()=>o("actions"),children:["Actions (",a,")"]})]}),n("button",{onClick:()=>t(!1),className:"p-1 bg-transparent rounded-full transition text-red-500 hover:text-red-600",title:"Close",children:n(z,{name:"circle-x",size:24})})]})]}),n("div",{className:"flex flex-1 overflow-hidden",children:[n("aside",{className:"w-56 border-r border-slate-800 p-3 flex flex-col gap-3",children:[n("div",{className:"flex items-center gap-2",children:[n(z,{name:"search",size:18,className:"text-slate-400 flex-shrink-0"}),n("input",{placeholder:"Filter stores...",className:"p-1 flex-1 bg-transparent rounded-md outline-none text-sm text-slate-200 placeholder:text-slate-500",onInput:f=>i(f.target.value),type:"search",value:r})]}),n("div",{className:"flex-1 overflow-auto",children:Object.keys(s).length===0?n("div",{className:"text-xs text-slate-500",children:"No stores detected"}):x.length===0?n("div",{className:"text-xs text-slate-500",children:['No stores match "',r,'"']}):x.map(f=>n("button",{onClick:()=>d(f),className:`w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${p===f?"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:f,children:[n(z,{name:"database",size:16,className:"text-slate-400 flex-shrink-0"}),n("div",{className:"flex-1 text-sm truncate",children:f})]},f))}),n("div",{className:"flex items-center gap-2 text-xs text-slate-500",children:[n("div",{className:"flex-1",children:[x.length,r?`/${Object.keys(s).length}`:""," ",x.length===1?"store":"stores"]}),n("div",{className:"text-right",children:["v",u]})]})]}),n("main",{className:"flex-1 overflow-auto space-y-4",children:l==="inspector"?n(Zt,{stores:s,selectedStore:p,onClose:()=>t(!1)}):n(er,{actions:c})})]})]}):n("button",{onClick:()=>t(!0),style:{position:"fixed",bottom:"24px",right:"24px",display:"flex",alignItems:"center",background:"#000",color:"#fff",boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",border:"1px solid rgb(51 65 85)",borderRadius:"9999px",overflow:"hidden",transition:"all 300ms ease-out",zIndex:"9999",width:"48px",height:"48px",cursor:"pointer",padding:"0",paddingLeft:"4px"},onMouseEnter:f=>{f.currentTarget.style.width="200px"},onMouseLeave:f=>{f.currentTarget.style.width="48px"},title:"Open Quanta DevTools",children:[n("div",{style:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",flexShrink:"0"},children:n("img",{src:qe,alt:"Quanta DevTools",style:{width:"40px",height:"40px",borderRadius:"9999px",objectFit:"cover"}})}),n("span",{style:{whiteSpace:"nowrap",fontSize:"14px",fontWeight:"500",color:"rgba(56,178,172,1)",marginLeft:"8px"},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-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-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--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-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);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.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}.hidden{display:none}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-10{height:calc(var(--spacing)*10)}.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-10{width:calc(var(--spacing)*10)}.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-400{border-color:var(--color-slate-400)}.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-\\[\\#0f172a\\]{background-color:#0f172a}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.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}.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-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px 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)}.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)}.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))}.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\\: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)}}}:host{all:initial;color:#e2e8f0;background:#0f172a;font-family:ui-monospace,SF Mono,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;display:block}*{box-sizing:border-box}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2acb3;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-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-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()=>{};console.log("[Quanta DevTools] Mounting...");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");l.id="quanta-devtools-shadow-host";const o=l.attachShadow({mode:"open"}),s=document.createElement("style");s.textContent=or,o.appendChild(s);const c=document.createElement("div");return c.className="quanta-devtools-root",o.appendChild(c),i.appendChild(l),De(J(ir,{}),c),()=>{De(null,c),l.remove()}}const nr=({visible:e})=>(T.useEffect(()=>ar({visible:e}),[e]),null);Object.defineProperty(exports,"computed",{enumerable:!0,get:()=>E.computed});Object.defineProperty(exports,"createStore",{enumerable:!0,get:()=>E.createStore});Object.defineProperty(exports,"logger",{enumerable:!0,get:()=>E.logger});Object.defineProperty(exports,"reactive",{enumerable:!0,get:()=>E.reactive});Object.defineProperty(exports,"watch",{enumerable:!0,get:()=>E.watch});exports.QuantaContext=_e;exports.QuantaDevTools=nr;exports.QuantaProvider=vt;exports.useCreateStore=gt;exports.useQuantaContext=Ge;exports.useQuantaStore=fe;exports.useStore=yt;