Skip to content

Instantly share code, notes, and snippets.

@RobPruzan
Created January 15, 2025 01:05
Show Gist options
  • Save RobPruzan/9b807da63edb52a21c63251118f92703 to your computer and use it in GitHub Desktop.
Save RobPruzan/9b807da63edb52a21c63251118f92703 to your computer and use it in GitHub Desktop.
'use client';
!function(e){"use strict";var t="bippy-0.2.0",n=()=>{},r=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout((()=>{throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},o=e=>{const o=new Map;let i=0;const a={checkDCE:r,supportsFiber:!0,supportsFlight:!0,hasUnsupportedRendererAttached:!1,renderers:o,onCommitFiberRoot:n,onCommitFiberUnmount:n,onPostCommitFiberRoot:n,inject(t){const n=++i;return o.set(n,t),a._instrumentationIsActive||(a._instrumentationIsActive=!0,e?.()),n},_instrumentationSource:t,_instrumentationIsActive:!1};try{Object.defineProperty(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{value:a})}catch{}return a},i=()=>Object.prototype.hasOwnProperty.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),a=e=>{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;return t&&e?.(),i()||(t=o(e)),t};try{"undefined"==typeof window||!window.document?.createElement&&"ReactNative"!==window.navigator?.product||"undefined"==typeof process||null==process.versions||null==process.versions.node||o()}catch{}var s,l,c,u,d,p,f,h,m,g,v,y,w=e=>{switch(e.tag){case 5:case 26:case 27:return!0;default:return"string"==typeof e.type}},b=e=>{switch(e.tag){case 0:case 1:case 15:case 14:case 11:return!0;default:return!1}},_=e=>{const t=e.memoizedProps,n=e.alternate?.memoizedProps||{},r=e.flags??e.effectTag??0;switch(e.tag){case 1:case 0:case 9:case 11:case 14:case 15:return!(1&~r);default:return!e.alternate||(n!==t||e.alternate.memoizedState!==e.memoizedState||e.alternate.ref!==e.ref)}},x=e=>{switch(e.tag){case 18:case 6:case 7:case 23:case 22:return!0;case 3:return!1;default:{const t="object"==typeof e.type&&null!==e.type?e.type.$$typeof:e.type;switch("symbol"==typeof t?t.toString():t){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":return!0;default:return!1}}}},k=(e,t,n=!1)=>{if(!e)return null;if(!0===t(e))return e;let r=n?e.return:e.child;for(;r;){const e=k(r,t,n);if(e)return e;r=n?null:r.sibling}return null},S=e=>{const t=e?.actualDuration??0;let n=t,r=e?.child??null;for(;t>0&&null!=r;)n-=r.actualDuration??0,r=r.sibling;return{selfTime:n,totalTime:t}},z=e=>{const t=e;return"function"==typeof t?t:"object"==typeof t&&t?z(t.type||t.render):null},C=e=>{const t=e;if("function"!=typeof t&&("object"!=typeof t||!t))return null;const n=t.displayName||t.name||null;if(n)return n;const r=z(t);return r&&(r.displayName||r.name)||null},$=()=>"reactDevtoolsAgent"in a(),M=e=>{try{if("string"==typeof e.version&&e.bundleType>0)return"development"}catch{}return"production"},A=0,E=new WeakMap,N=e=>{let t=E.get(e);return!t&&e.alternate&&(t=E.get(e.alternate)),t||(t=A++,((e,t=A++)=>{E.set(e,t)})(e,t)),t},P=(e,t,n)=>{let r=t;for(;null!=r;){E.has(r)||N(r);if(!x(r)&&_(r)&&e(r,"mount"),13===r.tag){if(null!==r.memoizedState){const t=r.child,n=t?t.sibling:null;if(n){const t=n.child;null!==t&&P(e,t,!1)}}else{let t=null;null!==r.child&&(t=r.child.child),null!==t&&P(e,t,!1)}}else null!=r.child&&P(e,r.child,!0);r=n?r.sibling:null}},F=(e,t,n,r)=>{if(E.has(t)||N(t),!n)return;E.has(n)||N(n);const o=13===t.tag;!x(t)&&_(t)&&e(t,"update");const i=o&&null!==n.memoizedState,a=o&&null!==t.memoizedState;if(i&&a){const r=t.child?.sibling??null,o=n.child?.sibling??null;null!==r&&null!==o&&F(e,r,o)}else if(i&&!a){const n=t.child;null!==n&&P(e,n,!0)}else if(!i&&a){D(e,n);const r=t.child?.sibling??null;null!==r&&P(e,r,!0)}else if(t.child!==n.child){let n=t.child;for(;n;){if(n.alternate){const t=n.alternate;F(e,n,t)}else P(e,n,!1);n=n.sibling}}},R=(e,t)=>{!(3===t.tag)&&x(t)||e(t,"unmount")},D=(e,t)=>{const n=13===t.tag&&null!==t.memoizedState;let r=t.child;if(n){const e=t.child,n=e?.sibling??null;r=n?.child??null}for(;null!==r;)null!==r.return&&(R(e,r),D(e,r)),r=r.sibling},L=0,T=new WeakMap,j=({onRender:e})=>(t,n,r)=>{((e,t)=>{const n="current"in e?e.current:e;let r=T.get(e);r||(r={prevFiber:null,id:L++},T.set(e,r));const{prevFiber:o}=r;if(n)if(null!==o){const e=o&&null!=o.memoizedState&&null!=o.memoizedState.element&&!0!==o.memoizedState.isDehydrated,r=null!=n.memoizedState&&null!=n.memoizedState.element&&!0!==n.memoizedState.isDehydrated;!e&&r?P(t,n,!1):e&&r?F(t,n,n.alternate):e&&!r&&R(t,n)}else P(t,n,!0);else R(t,n);r.prevFiber=n})(n,e)},V=()=>{o()};V();var O,H,I,W,U={},B=[],X=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Y=Array.isArray;function q(e,t){for(var n in t)e[n]=t[n];return e}function G(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function K(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return J(e,a,r,o,null)}function J(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++c:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(i),i}function Z(e){return e.children}function Q(e,t){this.props=e,this.context=t}function ee(e,t){if(null==t)return e.__?ee(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?ee(e):null}function te(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return te(e)}}function ne(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!re.__r++||p!==l.debounceRendering)&&((p=l.debounceRendering)||f)(re)}function re(){var e,t,n,r,o,i,a,s;for(d.sort(h);e=d.shift();)e.__d&&(t=d.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=q({},o)).__v=o.__v+1,l.vnode&&l.vnode(r),de(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,null==i?ee(o):i,!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,pe(a,r,s),r.__e!=i&&te(r)),d.length>t&&d.sort(h));re.__r=0}function oe(e,t,n,r,o,i,a,s,l,c,u){var d,p,f,h,m,g,v=r&&r.__k||B,y=t.length;for(l=function(e,t,n,r){var o,i,a,s,l,c=t.length,u=n.length,d=u,p=0;for(e.__k=[],o=0;o<c;o++)null!=(i=t[o])&&"boolean"!=typeof i&&"function"!=typeof i?(s=o+p,(i=e.__k[o]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?J(null,i,null,null,null):Y(i)?J(Z,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?J(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,a=null,-1!==(l=i.__i=se(i,n,s,d))&&(d--,(a=n[l])&&(a.__u|=2)),null==a||null===a.__v?(-1==l&&p--,"function"!=typeof i.type&&(i.__u|=4)):l!==s&&(l==s-1?p--:l==s+1?p++:(l>s?p--:p++,i.__u|=4))):i=e.__k[o]=null;if(d)for(o=0;o<u;o++)null!=(a=n[o])&&!(2&a.__u)&&(a.__e==r&&(r=ee(a)),he(a,a));return r}(n,t,v,l),d=0;d<y;d++)null!=(f=n.__k[d])&&(p=-1===f.__i?U:v[f.__i]||U,f.__i=d,g=de(e,f,p,o,i,a,s,l,c,u),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&fe(p.ref,null,f),u.push(f.ref,f.__c||h,f)),null==m&&null!=h&&(m=h),4&f.__u||p.__k===f.__k?l=ie(f,l,e):"function"==typeof f.type&&void 0!==g?l=g:h&&(l=h.nextSibling),f.__u&=-7);return n.__e=m,l}function ie(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=ie(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=ee(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function ae(e,t){return t=t||[],null==e||"boolean"==typeof e||(Y(e)?e.some((function(e){ae(e,t)})):t.push(e)),t}function se(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&o==l.key&&i===l.type&&!(2&l.__u))return n;if(("function"!=typeof i||i===Z||o)&&r>(null==l||2&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(2&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(2&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function le(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||X.test(t)?n:n+"px"}function ce(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||le(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||le(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(m,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=g,e.addEventListener(t,i?y:v,i)):e.removeEventListener(t,i?y:v,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function ue(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=g++;else if(t.t<n.u)return;return n(l.event?l.event(t):t)}}}function de(e,t,n,r,o,i,a,c,u,d){var p,f,h,m,g,v,y,w,b,_,x,k,S,z,C,$,M,A=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(u=!!(32&n.__u),i=[c=t.__e=n.__e]),(p=l.__b)&&p(t);e:if("function"==typeof A)try{if(w=t.props,b="prototype"in A&&A.prototype.render,_=(p=A.contextType)&&r[p.__c],x=p?_?_.props.value:p.__:r,n.__c?y=(f=t.__c=n.__c).__=f.__E:(b?t.__c=f=new A(w,x):(t.__c=f=new Q(w,x),f.constructor=A,f.render=me),_&&_.sub(f),f.props=w,f.state||(f.state={}),f.context=x,f.__n=r,h=f.__d=!0,f.__h=[],f._sb=[]),b&&null==f.__s&&(f.__s=f.state),b&&null!=A.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=q({},f.__s)),q(f.__s,A.getDerivedStateFromProps(w,f.__s))),m=f.props,g=f.state,f.__v=t,h)b&&null==A.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),b&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(b&&null==A.getDerivedStateFromProps&&w!==m&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(w,x),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(w,f.__s,x)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=w,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),k=0;k<f._sb.length;k++)f.__h.push(f._sb[k]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,x),b&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(m,g,v)}))}if(f.context=x,f.props=w,f.__P=e,f.__e=!1,S=l.__r,z=0,b){for(f.state=f.__s,f.__d=!1,S&&S(t),p=f.render(f.props,f.state,f.context),C=0;C<f._sb.length;C++)f.__h.push(f._sb[C]);f._sb=[]}else do{f.__d=!1,S&&S(t),p=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++z<25);f.state=f.__s,null!=f.getChildContext&&(r=q(q({},r),f.getChildContext())),b&&!h&&null!=f.getSnapshotBeforeUpdate&&(v=f.getSnapshotBeforeUpdate(m,g)),c=oe(e,Y($=null!=p&&p.type===Z&&null==p.key?p.props.children:p)?$:[$],t,n,r,o,i,a,c,u,d),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),y&&(f.__E=f.__=null)}catch(e){if(t.__v=null,u||null!=i)if(e.then){for(t.__u|=u?160:128;c&&8===c.nodeType&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else for(M=i.length;M--;)G(i[M]);else t.__e=n.__e,t.__k=n.__k;l.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=function(e,t,n,r,o,i,a,c,u){var d,p,f,h,m,g,v,y=n.props,w=t.props,b=t.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i)for(d=0;d<i.length;d++)if((m=i[d])&&"setAttribute"in m==!!b&&(b?m.localName===b:3===m.nodeType)){e=m,i[d]=null;break}if(null==e){if(null===b)return document.createTextNode(w);e=document.createElementNS(o,b,w.is&&w),c&&(l.__m&&l.__m(t,i),c=!1),i=null}if(null===b)y===w||c&&e.data===w||(e.data=w);else{if(i=i&&s.call(e.childNodes),y=n.props||U,!c&&null!=i)for(y={},d=0;d<e.attributes.length;d++)y[(m=e.attributes[d]).name]=m.value;for(d in y)if(m=y[d],"children"==d);else if("dangerouslySetInnerHTML"==d)f=m;else if(!(d in w)){if("value"==d&&"defaultValue"in w||"checked"==d&&"defaultChecked"in w)continue;ce(e,d,null,m,o)}for(d in w)m=w[d],"children"==d?h=m:"dangerouslySetInnerHTML"==d?p=m:"value"==d?g=m:"checked"==d?v=m:c&&"function"!=typeof m||y[d]===m||ce(e,d,m,y[d],o);if(p)c||f&&(p.__html===f.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),oe(e,Y(h)?h:[h],t,n,r,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&ee(n,0),c,u),null!=i)for(d=i.length;d--;)G(i[d]);c||(d="value","progress"===b&&null==g?e.removeAttribute("value"):void 0!==g&&(g!==e[d]||"progress"===b&&!g||"option"===b&&g!==y[d])&&ce(e,d,g,y[d],o),d="checked",void 0!==v&&v!==e[d]&&ce(e,d,v,y[d],o))}return e}(n.__e,t,n,r,o,i,a,u,d);return(p=l.diffed)&&p(t),128&t.__u?void 0:c}function pe(e,t,n){for(var r=0;r<n.length;r++)fe(n[r],n[++r],n[++r]);l.__c&&l.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){l.__e(e,t.__v)}}))}function fe(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){l.__e(e,n)}}function he(e,t,n){var r,o;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||fe(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){l.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&he(r[o],t,n||"function"!=typeof e.type);n||G(e.__e),e.__c=e.__=e.__e=void 0}function me(e,t,n){return this.constructor(e,n)}function ge(e,t,n){var r,o,i,a;t===document&&(t=document.documentElement),l.__&&l.__(e,t),o=(r="function"==typeof n)?null:t.__k,i=[],a=[],de(t,e=(!r&&n||t).__k=K(Z,null,[e]),o||U,U,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?s.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),pe(i,e,a)}s=B.slice,l={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},c=0,u=function(e){return null!=e&&null==e.constructor},Q.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=q({},this.state),"function"==typeof e&&(e=e(q({},n),this.props)),e&&q(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),ne(this))},Q.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ne(this))},Q.prototype.render=Z,d=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,h=function(e,t){return e.__v.__b-t.__v.__b},re.__r=0,m=/(PointerCapture)$|Capture$/i,g=0,v=ue(!1),y=ue(!0);var ve=0,ye=[],we=l,be=we.__b,_e=we.__r,xe=we.diffed,ke=we.__c,Se=we.unmount,ze=we.__;function Ce(e,t){we.__h&&we.__h(H,e,ve||t),ve=0;var n=H.__H||(H.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function $e(e){return ve=1,function(e,t){var n=Ce(O++,2);if(n.t=e,!n.__c&&(n.__=[je(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=H,!H.u)){var r=function(e,t,r){if(!n.__c.__H)return!0;var i=n.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,r);var a=n.__c.props!==e;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),o&&o.call(this,e,t,r)||a};H.u=!0;var o=H.shouldComponentUpdate,i=H.componentWillUpdate;H.componentWillUpdate=function(e,t,n){if(this.__e){var a=o;o=void 0,r(e,t,n),o=a}i&&i.call(this,e,t,n)},H.shouldComponentUpdate=r}return n.__N||n.__}(je,e)}function Me(e,t){var n=Ce(O++,3);!we.__s&&Te(n.__H,t)&&(n.__=e,n.i=t,H.__H.__h.push(n))}function Ae(e){return ve=5,Ee((function(){return{current:e}}),[])}function Ee(e,t){var n=Ce(O++,7);return Te(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ne(e,t){return ve=8,Ee((function(){return e}),t)}function Pe(){for(var e;e=ye.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(Le),e.__H.__h=[]}catch(t){e.__H.__h=[],we.__e(t,e.__v)}}we.__b=function(e){H=null,be&&be(e)},we.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ze&&ze(e,t)},we.__r=function(e){_e&&_e(e),O=0;var t=(H=e.__c).__H;t&&(I===H?(t.__h=[],H.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(De),t.__h.forEach(Le),t.__h=[],O=0)),I=H},we.diffed=function(e){xe&&xe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ye.push(t)&&W===we.requestAnimationFrame||((W=we.requestAnimationFrame)||Re)(Pe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),I=H=null},we.__c=function(e,t){t.some((function(e){try{e.__h.forEach(De),e.__h=e.__h.filter((function(e){return!e.__||Le(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],we.__e(n,e.__v)}})),ke&&ke(e,t)},we.unmount=function(e){Se&&Se(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{De(e)}catch(e){t=e}})),n.__H=void 0,t&&we.__e(t,n.__v))};var Fe="function"==typeof requestAnimationFrame;function Re(e){var t,n=function(){clearTimeout(r),Fe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Fe&&(t=requestAnimationFrame(n))}function De(e){var t=H,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),H=t}function Le(e){var t=H;e.__c=e.__(),H=t}function Te(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function je(e,t){return"function"==typeof t?t(e):t}var Ve=Symbol.for("preact-signals");function Oe(){if(Ue>1)Ue--;else{for(var e,t=!1;void 0!==We;){var n=We;for(We=void 0,Be++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Ke(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(Be=0,Ue--,t)throw e}}var He,Ie=void 0,We=void 0,Ue=0,Be=0,Xe=0;function Ye(e){if(void 0!==Ie){var t=e.n;if(void 0===t||t.t!==Ie)return t={i:0,S:e,p:Ie.s,n:void 0,t:Ie,e:void 0,x:void 0,r:t},void 0!==Ie.s&&(Ie.s.n=t),Ie.s=t,e.n=t,32&Ie.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=Ie.s,t.n=void 0,Ie.s.n=t,Ie.s=t),t}}function qe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function Ge(e){return new qe(e)}function Ke(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Je(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function Ze(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function Qe(e){qe.call(this,void 0),this.x=e,this.s=void 0,this.g=Xe-1,this.f=4}function et(e){var t=e.u;if(e.u=void 0,"function"==typeof t){Ue++;var n=Ie;Ie=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,tt(e),t}finally{Ie=n,Oe()}}}function tt(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,et(e)}function nt(e){if(Ie!==this)throw new Error("Out-of-order effect");Ze(this),Ie=e,this.f&=-2,8&this.f&&tt(this),Oe()}function rt(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function ot(e){var t=new rt(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function it(e,t){l[e]=t.bind(null,l[e]||function(){})}function at(e){He&&He(),He=e&&e.S()}function st(e){var t=this,n=e.data,r=function(e){return Ee((function(){return Ge(e)}),[])}(n);r.value=n;var o=Ee((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e,n=t.__$u.S(),r=o.value;n(),u(r)||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=r},new Qe((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return o.value}function lt(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=Ge(n);return{o:function(e,t){i.value=e,r=t},d:ot((function(){var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}function ct(e,t){return e===t||e!=e&&t!=t}qe.prototype.brand=Ve,qe.prototype.h=function(){return!0},qe.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},qe.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},qe.prototype.subscribe=function(e){var t=this;return ot((function(){var n=t.value,r=Ie;Ie=void 0;try{e(n)}finally{Ie=r}}))},qe.prototype.valueOf=function(){return this.value},qe.prototype.toString=function(){return this.value+""},qe.prototype.toJSON=function(){return this.value},qe.prototype.peek=function(){var e=Ie;Ie=void 0;try{return this.value}finally{Ie=e}},Object.defineProperty(qe.prototype,"value",{get:function(){var e=Ye(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Be>100)throw new Error("Cycle detected");this.v=e,this.i++,Xe++,Ue++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{Oe()}}}}),(Qe.prototype=new qe).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===Xe)return!0;if(this.g=Xe,this.f|=1,this.i>0&&!Ke(this))return this.f&=-2,!0;var e=Ie;try{Je(this),Ie=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return Ie=e,Ze(this),this.f&=-2,!0},Qe.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}qe.prototype.S.call(this,e)},Qe.prototype.U=function(e){if(void 0!==this.t&&(qe.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},Qe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(Qe.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Ye(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),rt.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},rt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,et(this),Je(this),Ue++;var e=Ie;return Ie=this,nt.bind(this,e)},rt.prototype.N=function(){2&this.f||(this.f|=2,this.o=We,We=this)},rt.prototype.d=function(){this.f|=8,1&this.f||tt(this)},st.displayName="_st",Object.defineProperties(qe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:st},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),it("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof qe&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)})),it("__r",(function(e,t){at();var n,r,o=t.__c;o&&(o.__$f&=-2,void 0===(n=o.__$u)&&(o.__$u=(ot((function(){r=this})),r.c=function(){o.__$f|=1,o.setState({})},n=r))),at(n),e(t)})),it("__e",(function(e,t,n,r){at(),e(t,n,r)})),it("diffed",(function(e,t){var n;if(at(),"string"==typeof t.type&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];void 0===s||a in r||(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var c=i[l],u=r[l];void 0===c?(c=lt(n,l,u,o),i[l]=c):c.o(u,o)}}}e(t)})),it("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)})),it("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),Q.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if("__source"!==o&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};var ut=(e,t,n)=>e+(t-e)*n;function dt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=dt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}var pt=e=>{const t=gt(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),ft(n,t)||mt(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},ft=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ft(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},ht=/^\[(.+)\]$/,mt=e=>{if(ht.test(e)){const t=ht.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},gt=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return bt(Object.entries(e.classGroups),n).forEach((([e,n])=>{vt(n,r,e,t)})),r},vt=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return wt(e)?void vt(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{vt(o,yt(t,e),n,r)}))}else{(""===e?t:yt(t,e)).classGroupId=n}}))},yt=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},wt=e=>e.isThemeGetter,bt=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,_t=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},xt=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],i=t.length,a=e=>{const n=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===o&&(r||e.slice(c,c+i)===t)){n.push(e.slice(l,c)),l=c+i;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},kt=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},St=/\s+/;function zt(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Ct(e))&&(r&&(r+=" "),r+=t);return r}var Ct=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ct(e[r]))&&(n&&(n+=" "),n+=t);return n};function $t(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:_t(e.cacheSize),parseClassName:xt(e),...pt(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(St);let s="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(t);let p=Boolean(d),f=r(p?u.substring(0,d):u);if(!f){if(!p){s=t+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=t+(s.length>0?" "+s:s);continue}p=!1}const h=kt(l).join(":"),m=c?h+"!":h,g=m+f;if(i.includes(g))continue;i.push(g);const v=o(f,p);for(let e=0;e<v.length;++e){const t=v[e];i.push(m+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return o(e,i),i}return function(){return i(zt.apply(null,arguments))}}var Mt=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},At=/^\[(?:([a-z-]+):)?(.+)\]$/i,Et=/^\d+\/\d+$/,Nt=new Set(["px","full","screen"]),Pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ft=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Tt=e=>Vt(e)||Nt.has(e)||Et.test(e),jt=e=>Zt(e,"length",Qt),Vt=e=>Boolean(e)&&!Number.isNaN(Number(e)),Ot=e=>Zt(e,"number",Vt),Ht=e=>Boolean(e)&&Number.isInteger(Number(e)),It=e=>e.endsWith("%")&&Vt(e.slice(0,-1)),Wt=e=>At.test(e),Ut=e=>Pt.test(e),Bt=new Set(["length","size","percentage"]),Xt=e=>Zt(e,Bt,en),Yt=e=>Zt(e,"position",en),qt=new Set(["image","url"]),Gt=e=>Zt(e,qt,nn),Kt=e=>Zt(e,"",tn),Jt=()=>!0,Zt=(e,t,n)=>{const r=At.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Qt=e=>Ft.test(e)&&!Rt.test(e),en=()=>!1,tn=e=>Dt.test(e),nn=e=>Lt.test(e),rn=$t((()=>{const e=Mt("colors"),t=Mt("spacing"),n=Mt("blur"),r=Mt("brightness"),o=Mt("borderColor"),i=Mt("borderRadius"),a=Mt("borderSpacing"),s=Mt("borderWidth"),l=Mt("contrast"),c=Mt("grayscale"),u=Mt("hueRotate"),d=Mt("invert"),p=Mt("gap"),f=Mt("gradientColorStops"),h=Mt("gradientColorStopPositions"),m=Mt("inset"),g=Mt("margin"),v=Mt("opacity"),y=Mt("padding"),w=Mt("saturate"),b=Mt("scale"),_=Mt("sepia"),x=Mt("skew"),k=Mt("space"),S=Mt("translate"),z=()=>["auto",Wt,t],C=()=>[Wt,t],$=()=>["",Tt,jt],M=()=>["auto",Vt,Wt],A=()=>["","0",Wt],E=()=>[Vt,Wt];return{cacheSize:500,separator:":",theme:{colors:[Jt],spacing:[Tt,jt],blur:["none","",Ut,Wt],brightness:E(),borderColor:[e],borderRadius:["none","","full",Ut,Wt],borderSpacing:C(),borderWidth:$(),contrast:E(),grayscale:A(),hueRotate:E(),invert:A(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[It,jt],inset:z(),margin:z(),opacity:E(),padding:C(),saturate:E(),scale:E(),sepia:A(),skew:E(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",Wt]}],container:["container"],columns:[{columns:[Ut]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Wt]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ht,Wt]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Wt]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",Ht,Wt]}],"grid-cols":[{"grid-cols":[Jt]}],"col-start-end":[{col:["auto",{span:["full",Ht,Wt]},Wt]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Jt]}],"row-start-end":[{row:["auto",{span:[Ht,Wt]},Wt]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Wt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Wt]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Wt,t]}],"min-w":[{"min-w":[Wt,t,"min","max","fit"]}],"max-w":[{"max-w":[Wt,t,"none","full","min","max","fit","prose",{screen:[Ut]},Ut]}],h:[{h:[Wt,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Wt,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Wt,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Wt,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ut,jt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ot]}],"font-family":[{font:[Jt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Wt]}],"line-clamp":[{"line-clamp":["none",Vt,Ot]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Tt,Wt]}],"list-image":[{"list-image":["none",Wt]}],"list-style-type":[{list:["none","disc","decimal",Wt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Tt,jt]}],"underline-offset":[{"underline-offset":["auto",Tt,Wt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Wt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Wt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Xt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Tt,Wt]}],"outline-w":[{outline:[Tt,jt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Tt,jt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ut,Kt]}],"shadow-color":[{shadow:[Jt]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ut,Wt]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Wt]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",Wt]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",Wt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Ht,Wt]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Wt]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Wt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Wt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Tt,jt,Ot]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})),on=(...e)=>rn(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=dt(e))&&(r&&(r+=" "),r+=t);return r}(e));"undefined"!=typeof navigator&&navigator.userAgent.includes("Firefox");var an=e=>{if("undefined"==typeof window)return null;try{const t=localStorage.getItem(e);return t?JSON.parse(t):null}catch{return null}},sn=(e,t)=>{if("undefined"!=typeof window)try{window.localStorage.setItem(e,JSON.stringify(t))}catch{}};function ln(e){const t=e();function n(e,t){self.postMessage([e,!1,t])}self.addEventListener("message",(e=>{const[r,o]=e.data;try{Promise.resolve(t(o)).then((e=>function(e,t){self.postMessage([e,!0,t])}(r,e)),(e=>n(r,e)))}catch(e){n(r,e)}}))}var cn=class{constructor(e){this.callback=e,this.deferredMap=new Map,this.count=0,this.sync=!1}setupWorker(e){e.addEventListener("message",(e=>{const[t,n,r]=e.data,o=this.deferredMap.get(t);o&&(n?o.resolve(r):o.reject(r),this.deferredMap.delete(t))}))}async call(e,t){if(this.sync)return this.setup||(this.setup=this.callback()),this.setup(e);this.worker||(this.worker=function(e){const t=`(${ln.toString()})(${e.toString()})`,n=URL.createObjectURL(new Blob([t]));return new Worker(n)}(this.callback),this.setupWorker(this.worker));const n=function(){let e,t;return{promise:new Promise(((n,r)=>{e=n,t=r})),resolve(t){e(t)},reject(e){t(e)}}}(),r=this.count++;return this.deferredMap.set(r,n),this.worker.postMessage([r,e],{transfer:t?.transfer}),n.promise}destroy(){this.deferredMap.clear(),this.worker?.terminate()}},un=class{constructor(e){this.callback=e,this.sync=!0}async call(e,t){return this.setup||(this.setup=this.callback()),this.setup(e)}destroy(){}};function dn(){let e,t;var n;return(n=t||(t={}))[n.Commit=1]="Commit",n[n.Unstable=2]="Unstable",n[n.Unnecessary=4]="Unnecessary",async t=>{switch(t.type){case"set-canvas":{const n=t.payload.getContext("2d");n&&(e=n)}break;case"resize":if(e){const{dpi:n,width:r,height:o}=t.payload;e.canvas.width=r,e.canvas.height=o,e.resetTransform(),e.scale(n,n)}break;case"fade-out-outline":if(e){const{dpi:n,drawingQueue:r,mergedLabels:o}=t.payload;e.clearRect(0,0,e.canvas.width/n,e.canvas.height/n),e.save();for(let t=0,n=r.length;t<n;t++){const{rect:n,color:o,alpha:i,fillAlpha:a}=r[t],s=`${o.r},${o.g},${o.b}`;e.strokeStyle=`rgba(${s},${i})`,e.lineWidth=1,e.fillStyle=`rgba(${s},${a})`,e.beginPath(),e.rect(n.x,n.y,n.width,n.height),e.stroke(),e.fill()}e.restore();for(let t=0,n=o.length;t<n;t++){const{alpha:n,rect:r,color:i,reasons:a,labelText:s}=o[t],l=4&a?`${s}⚠️`:s;e.save(),e.font="11px Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace";const c=e.measureText(l).width,u=11,d=r.x,p=r.y-u-4;e.fillStyle=`rgba(${i.r},${i.g},${i.b},${n})`,e.fillRect(d,p,c+4,u+4),e.fillStyle=`rgba(255,255,255,${n})`,e.fillText(l,d+2,p+u)}}}}}(()=>{const e=an("useExtensionWorker");(e=>{if("undefined"!=typeof window)try{window.localStorage.removeItem(e)}catch{}})("useExtensionWorker"),e?new un(dn):new cn(dn)})(),"undefined"!=typeof window&&function e(){requestAnimationFrame(e)}();var pn=24,fn=360,hn=36,mn="react-scan-widget-settings",gn=Ge(!1),vn=Ge(null),yn={corner:"top-left",dimensions:{isFullWidth:!1,isFullHeight:!1,width:fn,height:hn,position:{x:pn,y:pn}},lastDimensions:{isFullWidth:!1,isFullHeight:!1,width:fn,height:hn,position:{x:pn,y:pn}}},wn=Ge((()=>{const e=an(mn);return e?{corner:e.corner,dimensions:{isFullWidth:!1,isFullHeight:!1,width:fn,height:hn,position:e.dimensions.position},lastDimensions:e.dimensions}:(sn(mn,{corner:yn.corner,dimensions:yn.dimensions,lastDimensions:yn.lastDimensions}),yn)})()),bn=()=>{if("undefined"==typeof window)return;const{dimensions:e}=wn.value,{width:t,height:n,position:r}=e;wn.value={...wn.value,dimensions:{isFullWidth:t>=window.innerWidth-48,isFullHeight:n>=window.innerHeight-48,width:t,height:n,position:r}}};function _n(){return!1}function xn(e){function t(t){return this.shouldComponentUpdate=_n,K(e,t)}return t.displayName=`Memo(${e.displayName||e.name})`,t.prototype.isReactComponent=!0,t._forwarded=!0,t}var kn=new Map,Sn=new Map,zn=new Map,Cn=/\(\s*{\s*(?<props>[^}]+)\s*}\s*\)/,$n=e=>!!e&&(e instanceof Promise||"object"==typeof e&&"then"in e),Mn=(e,t=2,n=new WeakSet)=>{if($n(e))return{type:"promise",displayValue:"Promise"};if(null===e)return{type:"null",displayValue:"null"};if(void 0===e)return{type:"undefined",displayValue:"undefined"};switch(typeof e){case"object":if(n.has(e))return{type:"circular",displayValue:"[Circular Reference]"};if(!e)return{type:"null",displayValue:"null"};n.add(e);try{const r={};if(e instanceof Element)return r.type="Element",r.tagName=e.tagName.toLowerCase(),r.displayValue=e.tagName.toLowerCase(),r;if(e instanceof Map){if(r.type="Map",r.size=e.size,r.displayValue=`Map(${e.size})`,t>0){const o={};let i=0;for(const[r,a]of e.entries()){if(i>=50)break;try{o[String(r)]=Mn(a,t-1,n)}catch{o[String(i)]={type:"error",displayValue:"Error accessing Map entry"}}i++}r.entries=o}return r}if(e instanceof Set)return r.type="Set",r.size=e.size,r.displayValue=`Set(${e.size})`,t>0&&(r.items=Array.from(e).slice(0,50).map((e=>Mn(e,t-1,n)))),r;if(e instanceof Date)return r.type="Date",r.value=e.toISOString(),r.displayValue=e.toLocaleString(),r;if(e instanceof RegExp)return r.type="RegExp",r.value=e.toString(),r.displayValue=e.toString(),r;if(e instanceof Error)return r.type="Error",r.name=e.name,r.message=e.message,r.displayValue=`${e.name}: ${e.message}`,r;if(e instanceof ArrayBuffer)return r.type="ArrayBuffer",r.byteLength=e.byteLength,r.displayValue=`ArrayBuffer(${e.byteLength})`,r;if(e instanceof DataView)return r.type="DataView",r.byteLength=e.byteLength,r.displayValue=`DataView(${e.byteLength})`,r;if(ArrayBuffer.isView(e)){const t=e;return r.type=t.constructor.name,r.length=t.length,r.byteLength=t.buffer.byteLength,r.displayValue=`${t.constructor.name}(${t.length})`,r}if(Array.isArray(e))return r.type="array",r.length=e.length,r.displayValue=`Array(${e.length})`,t>0&&(r.items=e.slice(0,50).map((e=>Mn(e,t-1,n)))),r;const o=Object.keys(e);if(r.type="object",r.size=o.length,r.displayValue=o.length<=5?`{${o.join(", ")}}`:`{${o.slice(0,5).join(", ")}, ...${o.length-5}}`,t>0){const i={};for(const r of o.slice(0,50))try{i[r]=Mn(e[r],t-1,n)}catch{i[r]={type:"error",displayValue:"Error accessing property"}}r.entries=i}return r}finally{n.delete(e)}case"string":return{type:"string",value:e,displayValue:`"${e}"`};case"function":return{type:"function",displayValue:"ƒ()",name:e.name||"anonymous"};default:return{type:typeof e,value:e,displayValue:String(e)}}},An=()=>{kn.clear(),Sn.clear(),zn.clear()},En=e=>{if(!e)return{};if(0===e.tag||11===e.tag||15===e.tag||14===e.tag){let t=e.memoizedState;const n={};let r=0;for(;t;)t.queue&&void 0!==t.memoizedState&&(n[r]=t.memoizedState),t=t.next,r++;return n}return 1===e.tag&&e.memoizedState||{}},Nn=e=>{if(!e)return{fiberProps:{current:[],changes:new Set},fiberState:{current:[],changes:new Set},fiberContext:{current:[],changes:new Set}};const t={},n=new Set,r=Er(e)?e:e.alternate??e;if(r.memoizedProps){const e=r.memoizedProps,o=(e=>{const t=(e.type?.toString?.()||"").match(Cn);return t?.groups?.props?t.groups.props.split(",").map((e=>e.trim().split(":")[0].split("=")[0].trim())).filter(Boolean):[]})(r),i=new Set(Object.keys(e));for(const n of o)if(n in e){const o=e[n];if(t[n]=$n(o)?{type:"promise",displayValue:"Promise"}:o,(o&&"object"==typeof o||"function"==typeof o)&&r.alternate?.memoizedProps){const e=o===r.alternate.memoizedProps[n]?"memoized":"unmemoized";Sn.set(`${n}:${e}`,0)}i.delete(n)}for(const n of i){const o=e[n];if(t[n]=$n(o)?{type:"promise",displayValue:"Promise"}:o,(o&&"object"==typeof o||"function"==typeof o)&&r.alternate?.memoizedProps){const e=o===r.alternate.memoizedProps[n]?"memoized":"unmemoized";Sn.set(`${n}:${e}`,0)}}const a=r.memoizedProps;for(const[e,t]of Object.entries(a))if(t&&"object"==typeof t||"function"==typeof t){if(r.alternate?.memoizedProps){const o=t===r.alternate.memoizedProps[e]?"memoized":"unmemoized";n.add(`${e}:${o}`)}}else if(r.alternate?.memoizedProps&&e in r.alternate.memoizedProps&&!ct(r.alternate.memoizedProps[e],t)){n.add(e);const t=(Sn.get(e)||0)+1;Sn.set(e,t)}}const o={current:[...Object.entries(En(r))].map((([e,t])=>({name:e.toString(),value:t}))),changes:new Set},i={current:[...Pn(r).values()].map((e=>({name:e.displayName,value:e.value}))),changes:n};return{fiberProps:{changes:new Set,current:[...Object.entries(t)].map((([e,t])=>({name:e,value:t})))},fiberState:o,fiberContext:i}},Pn=e=>{const t=new Map;if(!e)return t;let n=e;for(;n;){const e=n.dependencies;if(e?.firstContext){let n=e.firstContext;for(;n;){const e=n.memoizedValue,r=n.context?.displayName;if(t.has(e),t.has(e)||t.set(n.context,{value:e,displayName:r??"UnnamedContext",contextType:null}),n===n.next)break;n=n.next}}n=n.return}return t};function Fn(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Rn(e,t){this.props=e,this.context=t}(Rn.prototype=new Q).isPureReactComponent=!0,Rn.prototype.shouldComponentUpdate=function(e,t){return Fn(this.props,e)||Fn(this.state,t)};var Dn=l.__b;l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Dn&&Dn(e)};var Ln="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Tn=l.__e;l.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Tn(e,t,n,r)};var jn=l.unmount;function Vn(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Vn(e,t,n)}))),e}function On(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return On(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Hn(){this.__u=0,this.o=null,this.__b=null}function In(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Wn(){this.i=null,this.l=null}l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),jn&&jn(e)},(Hn.prototype=new Q).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=In(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=On(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Hn.prototype.componentWillUnmount=function(){this.o=[]},Hn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Vn(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&K(Z,null,e.fallback);return o&&(o.__u&=-33),[K(Z,null,t.__a?null:e.children),o]};var Un=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};(Wn.prototype=new Q).__a=function(e){var t=this,n=In(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Un(t,e,r)):o()};n?n(i):i()}},Wn.prototype.render=function(e){this.i=null,this.l=new Map;var t=ae(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Wn.prototype.componentDidUpdate=Wn.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Un(e,n,t)}))};var Bn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Xn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Yn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qn=/[A-Z0-9]/g,Gn="undefined"!=typeof document,Kn=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};Q.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Q.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Jn=l.event;function Zn(){}function Qn(){return this.cancelBubble}function er(){return this.defaultPrevented}l.event=function(e){return Jn&&(e=Jn(e)),e.persist=Zn,e.isPropagationStopped=Qn,e.isDefaultPrevented=er,e.nativeEvent=e};var tr={enumerable:!1,configurable:!0,get:function(){return this.class}},nr=l.vnode;l.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||Gn&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var s=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?i="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Kn(t.type)?"onfocus"===s?i="onfocusin":"onblur"===s?i="onfocusout":Yn.test(i)&&(i=s):s=i="oninput":o&&Xn.test(i)?i=i.replace(qn,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[i=s]&&(i="oninputCapture"),r[i]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=ae(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=ae(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",tr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Bn,nr&&nr(e)};var rr=l.__r;l.__r=function(e){rr&&rr(e),e.__c};var or=l.diffed;l.diffed=function(e){or&&or(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var ir=0;function ar(e,t,n,r,o,i){t||(t={});var a,s,c=t;"ref"in t&&(a=t.ref,delete t.ref);var u={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ir,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===c[s]&&(c[s]=a[s]);return l.vnode&&l.vnode(u),u}var sr=function(e){function t(t){if(!("ref"in t))return e(t,null);var n=t.ref;delete t.ref;var r=e(t,n);return t.ref=n,r}return t.$$typeof=Ln,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}((({size:e=15,name:t,fill:n="currentColor",stroke:r="currentColor",className:o,externalURL:i="",style:a},s)=>{const l=Array.isArray(e)?e[0]:e,c=Array.isArray(e)?e[1]||e[0]:e,u=`${i}#${t}`;return ar("svg",{ref:s,width:`${l}px`,height:`${c}px`,fill:n,stroke:r,className:o,style:{...a,minWidth:`${l}px`,maxWidth:`${l}px`,minHeight:`${c}px`,maxHeight:`${c}px`},children:[ar("title",{children:t}),ar("use",{href:u})]})})),lr=function(e){function t(e){var t=this.props.ref;return!(t==e.ref)&&t&&(t.call?t(null):t.current=null),Fn(this.props,e)}function n(n){return this.shouldComponentUpdate=t,K(e,n)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}((({text:e,children:t,onCopy:n,className:r,iconSize:o=14})=>{const i=Ae(),[a,s]=$e(!1);Me((()=>{if(a)return i.current=setTimeout((()=>s(!1)),600),()=>{clearTimeout(i.current)}}),[a]);const l=Ne((t=>{t.preventDefault(),t.stopPropagation(),navigator.clipboard.writeText(e).then((()=>{s(!0),n?.(!0,e)}),(()=>{n?.(!1,e)}))}),[e,n]),c=ar("button",{onClick:l,type:"button",className:on("z-10","flex items-center justify-center","hover:text-dev-pink-400","transition-colors duration-200 ease-in-out","cursor-pointer",`size-[${o}px]`,r),children:ar(sr,{name:"icon-"+(a?"check":"copy"),size:[o],className:on({"text-green-500":a})})});return t?t({ClipboardIcon:c,onClick:l}):c})),cr=({value:e,expanded:t,onToggle:n,isNegative:r})=>{const{value:o,error:i}=Jr(e),a=Ee((()=>Math.random().toString(36).slice(2)),[]),[s,l]=$e(new Set);if(i)return ar("span",{style:{color:"#666",fontStyle:"italic"},children:i});const c=(e,t="")=>{if(null===e||"object"!=typeof e)return ar("span",{children:Kr(e)});const n=Object.entries(e),o=new WeakSet;return ar("div",{style:{paddingLeft:"12px"},children:n.map((([e,n],i)=>{const u=t?`${t}.${e}`:e,d=`${a}.${u}`,p=s.has(d),f=null!==n&&"object"==typeof n;let h=!1;return f&&(o.has(n)?h=!0:o.add(n)),ar("div",{style:{marginTop:i>0?"4px":0},children:[ar("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[f&&!h&&ar("button",{onClick:()=>{l((e=>{const t=new Set(e);return t.has(d)?t.delete(d):t.add(d),t}))},style:{background:"none",border:"none",padding:0,marginTop:"2px",marginRight:"1px",display:"flex",alignItems:"center",cursor:"pointer",opacity:.5},children:ar(sr,{name:"icon-chevron-right",size:12,style:{transform:p?"rotate(90deg)":"none",transition:"transform 150ms",color:r?"#f87171":"#4ade80"}})}),ar("span",{style:{color:"#666"},children:[e,":"]}),h?ar("span",{style:{color:"#666",fontStyle:"italic"},children:"[Circular]"}):f&&p?null:ar("span",{children:Kr(n)})]}),f&&p&&!h&&ar("div",{style:{paddingLeft:"12px"},children:c(n,u)})]},e)}))})};return ar("div",{style:{display:"flex",alignItems:"flex-start",gap:"4px"},children:[null!==o&&"object"==typeof o&&!(o instanceof Promise)&&ar("button",{onClick:n,style:{background:"none",border:"none",padding:0,marginTop:"2px",marginRight:"1px",display:"flex",alignItems:"center",cursor:"pointer",opacity:.5},children:ar(sr,{name:"icon-chevron-right",size:12,style:{transform:t?"rotate(90deg)":"none",transition:"transform 150ms",color:r?"#f87171":"#4ade80"}})}),ar("div",{style:{flex:1},children:t?c(o):ar("span",{children:Kr(o)})}),ar(lr,{text:Wr(o),className:"opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:({ClipboardIcon:e})=>ar(Z,{children:e})})]})},ur=e=>{switch(e.kind){case"initialized":return e.changes.currentValue;case"partially-initialized":return e.value}},dr=(e,t)=>{for(const n of e){const e=t.get(n.name);e?t.set(e.name,{count:e.count+1,currentValue:n.value,id:e.name,lastUpdated:Date.now(),name:e.name,previousValue:n.prevValue}):t.set(n.name,{count:1,currentValue:n.value,id:n.name,lastUpdated:Date.now(),name:n.name,previousValue:n.prevValue})}},pr=e=>{const t={contextChanges:new Map,propsChanges:new Map,stateChanges:new Map};return e.forEach((e=>{((e,t)=>{for(const n of e){const e=t.contextChanges.get(n.contextType);if(e){if(ct(ur(e),n.value))continue;if("partially-initialized"===e.kind){t.contextChanges.set(n.contextType,{kind:"initialized",changes:{count:1,currentValue:n.value,id:n.contextType,lastUpdated:Date.now(),name:n.name,previousValue:e.value}});continue}t.contextChanges.set(n.contextType,{kind:"initialized",changes:{count:e.changes.count+1,currentValue:n.value,id:n.contextType,lastUpdated:Date.now(),name:n.name,previousValue:e.changes.currentValue}})}else t.contextChanges.set(n.contextType,{kind:"partially-initialized",id:n.contextType,lastUpdated:Date.now(),name:n.name,value:n.value})}})(e.contextChanges,t),dr(e.stateChanges,t.stateChanges),dr(e.propsChanges,t.propsChanges)})),t},fr=(e,t)=>{const n=new Map;return e.forEach(((e,t)=>{n.set(t,e)})),t.forEach(((e,t)=>{const r=n.get(t);r?n.set(t,{count:r.count+e.count,currentValue:e.currentValue,id:e.id,lastUpdated:e.lastUpdated,name:e.name,previousValue:e.previousValue}):n.set(t,e)})),n},hr=(e,t)=>{const n=((e,t)=>{const n=new Map;return e.contextChanges.forEach(((e,t)=>{n.set(t,e)})),t.contextChanges.forEach(((e,t)=>{const r=n.get(t);if(r){if(ur(e)!==ur(r))switch(r.kind){case"initialized":switch(e.kind){case"initialized":{const o=1;return void n.set(t,{kind:"initialized",changes:{...e.changes,count:e.changes.count+r.changes.count+o,currentValue:e.changes.currentValue,previousValue:e.changes.previousValue}})}case"partially-initialized":return void n.set(t,{kind:"initialized",changes:{count:r.changes.count+1,currentValue:e.value,id:e.id,lastUpdated:e.lastUpdated,name:e.name,previousValue:r.changes.currentValue}})}case"partially-initialized":switch(e.kind){case"initialized":return void n.set(t,{kind:"initialized",changes:{count:e.changes.count+1,currentValue:e.changes.currentValue,id:e.changes.id,lastUpdated:e.changes.lastUpdated,name:e.changes.name,previousValue:r}});case"partially-initialized":return void n.set(t,{kind:"initialized",changes:{count:1,currentValue:e.value,id:e.id,lastUpdated:e.lastUpdated,name:e.name,previousValue:r.value}})}}}else n.set(t,e)})),n})(e,t);return{contextChanges:n,propsChanges:fr(e.propsChanges,t.propsChanges),stateChanges:fr(e.stateChanges,t.stateChanges)}},mr=e=>Array.from(e.propsChanges.values()).reduce(((e,t)=>e+t.count),0)+Array.from(e.stateChanges.values()).reduce(((e,t)=>e+t.count),0)+Array.from(e.contextChanges.values()).filter((e=>"initialized"===e.kind)).reduce(((e,t)=>e+t.changes.count),0),gr=xn((()=>{const e=Sr.value.fiber;Ae(null);const[t,n]=$e(!1),[r,o]=$e(0),[i,a]=$e(new Set),[s,l]=$e(new Set),c=(({onChangeUpdate:e})=>{const t=Ae({queue:[]}),[n,r]=$e({propsChanges:new Map,stateChanges:new Map,contextChanges:new Map}),o=Sr.value.fiber,i=o?N(o):null;return Me((()=>{const n=setInterval((()=>{0!==t.current.queue.length&&(r((n=>{const r=pr(t.current.queue),o=hr(n,r),i=mr(n),a=mr(o);return e(a-i),o})),t.current.queue=[])}),100);return()=>{clearInterval(n)}}),[o]),Me((()=>{if(!i)return;const e=e=>{t.current?.queue.push(e)};let n=Qo.changesListeners.get(i);return n||(n=[],Qo.changesListeners.set(i,n)),n.push(e),()=>{r({propsChanges:new Map,stateChanges:new Map,contextChanges:new Map}),t.current.queue=[],Qo.changesListeners.set(i,Qo.changesListeners.get(i)?.filter((t=>t!==e))??[])}}),[i]),Me((()=>()=>{r({propsChanges:new Map,stateChanges:new Map,contextChanges:new Map}),t.current.queue=[]}),[i]),n})({onChangeUpdate:e=>{o((t=>t+e))}}),u=mr(c)>0;Me((()=>{n(!1),o(0)}),[e?N(e):null]);const d=Ne((()=>{n((e=>(e||o(0),!e)))}),[]),p=new Map(Array.from(c.contextChanges.entries()).filter((([e,t])=>"initialized"===t.kind)).map((([e,t])=>[e,"partially-initialized"===t.kind?null:t.changes]))),f=(e,t,n)=>{if(0===t.size)return null;const r=Array.from(t.entries());return ar("div",{children:[ar("div",{style:{fontSize:".75rem",color:"#888",marginBottom:"6px"},children:[e," (",r.length,")"]}),ar("div",{style:{display:"flex",flexDirection:"column",gap:"6px"},children:r.map((([t,r])=>{const o=Yr(r.previousValue,r.currentValue);return r.previousValue,r.currentValue,ct(r.previousValue,r.currentValue),ar("div",{children:[ar("button",{onClick:()=>{a((e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}))},style:{display:"flex",alignItems:"center",gap:"8px",width:"100%",background:"none",border:"none",padding:0,cursor:"pointer",color:"#fff",fontSize:".75rem"},children:[ar("div",{style:{display:"flex",alignItems:"center",gap:"6px",flex:1},children:[ar(sr,{name:"icon-chevron-right",size:12,style:{color:"#666",transform:i.has(t)?"rotate(90deg)":"none",transition:"transform 100ms ease"}}),ar("div",{style:{whiteSpace:"pre-wrap",wordBreak:"break-word",textAlign:"left",fontWeight:500},children:n(r.name)})]}),ar(vr,{count:r.count})]}),ar("div",{style:{maxHeight:i.has(t)?"2000px":"0",opacity:i.has(t)?1:0,overflow:"hidden",marginTop:i.has(t)?"8px":"0",transition:"all 100ms ease"},children:ar("div",{style:{paddingLeft:"12px",fontSize:".75rem",fontFamily:"monospace",borderLeft:"1px solid #333"},children:ar("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:o.changes.length>0?o.changes.map(((t,i)=>{const a="function"==typeof t.prevValue||"function"==typeof t.currentValue;return ar("div",{style:{display:"flex",flexDirection:"column",marginBottom:i<o.changes.length-1?"8px":0},children:[ar("div",{style:{color:"#666",fontSize:"10px",marginBottom:"2px"},children:"Props"===e?t.path.length>0?`${n(r.name)}.${qr(t.path)}`:"":qr(t.path)}),ar("div",{className:"group",style:{display:"flex",alignItems:"flex-start",color:"#f87171",backgroundColor:"#2a1515",padding:"3px 6px",borderRadius:"2px",cursor:a?"pointer":"default"},onClick:a?()=>{const e=`${qr(t.path)}-prev`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))}:void 0,children:[ar("span",{style:{width:"12px",opacity:.5},children:"-"}),ar("span",{style:{flex:1,whiteSpace:"pre-wrap",fontFamily:"monospace"},children:a?ar("div",{style:{display:"flex",gap:"4px",alignItems:"flex-start",flexDirection:"column"},children:[ar("div",{style:{display:"flex",gap:"4px",alignItems:"flex-start",width:"100%"},children:[ar("span",{style:{flex:1},children:Gr(t.prevValue,s.has(`${qr(t.path)}-prev`))}),"function"==typeof t.prevValue&&ar(lr,{text:t.prevValue.toString(),className:"opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:({ClipboardIcon:e})=>ar(Z,{children:e})})]}),t.prevValue?.toString()===t.currentValue?.toString()&&ar("div",{style:{fontSize:"10px",color:"#666",fontStyle:"italic"},children:"Function reference changed"})]}):ar(cr,{value:t.prevValue,expanded:s.has(`${qr(t.path)}-prev`),onToggle:()=>{const e=`${qr(t.path)}-prev`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))},isNegative:!0})})]}),ar("div",{className:"group",style:{display:"flex",alignItems:"flex-start",color:"#4ade80",backgroundColor:"#1a2a1a",padding:"3px 6px",borderRadius:"2px",marginTop:"2px",cursor:a?"pointer":"default"},onClick:a?()=>{const e=`${qr(t.path)}-current`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))}:void 0,children:[ar("span",{style:{width:"12px",opacity:.5},children:"+"}),ar("span",{style:{flex:1,whiteSpace:"pre-wrap",fontFamily:"monospace"},children:a?ar("div",{style:{display:"flex",gap:"4px",alignItems:"flex-start",flexDirection:"column"},children:[ar("div",{style:{display:"flex",gap:"4px",alignItems:"flex-start",width:"100%"},children:[ar("span",{style:{flex:1},children:Gr(t.currentValue,s.has(`${qr(t.path)}-current`))}),"function"==typeof t.currentValue&&ar(lr,{text:t.currentValue.toString(),className:"opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:({ClipboardIcon:e})=>ar(Z,{children:e})})]}),t.prevValue?.toString()===t.currentValue?.toString()&&ar("div",{style:{fontSize:"10px",color:"#666",fontStyle:"italic"},children:"Function reference changed"})]}):ar(cr,{value:t.currentValue,expanded:s.has(`${qr(t.path)}-current`),onToggle:()=>{const e=`${qr(t.path)}-current`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))},isNegative:!1})})]})]},i)})):ar(Z,{children:[ar("div",{className:"group",style:{display:"flex",alignItems:"flex-start",color:"#f87171",backgroundColor:"#2a1515",padding:"3px 6px",borderRadius:"2px"},children:[ar("span",{style:{width:"12px",opacity:.5},children:"-"}),ar("span",{style:{flex:1,whiteSpace:"pre-wrap",fontFamily:"monospace"},children:ar(cr,{value:r.previousValue,expanded:s.has(`${t}-prev`),onToggle:()=>{const e=`${t}-prev`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))},isNegative:!0})})]}),ar("div",{className:"group",style:{display:"flex",alignItems:"flex-start",color:"#4ade80",backgroundColor:"#1a2a1a",padding:"3px 6px",borderRadius:"2px",marginTop:"2px"},children:[ar("span",{style:{width:"12px",opacity:.5},children:"+"}),ar("span",{style:{flex:1,whiteSpace:"pre-wrap",fontFamily:"monospace"},children:ar(cr,{value:r.currentValue,expanded:s.has(`${t}-current`),onToggle:()=>{const e=`${t}-current`;l((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))},isNegative:!1})})]}),"object"==typeof r.currentValue&&null!==r.currentValue&&ar("div",{style:{color:"#666",fontSize:"10px",fontStyle:"italic",marginTop:"4px"},children:"Reference changed but objects are the same"})]})})})})]},t)}))})]})};return u?ar("div",{className:on("react-scan-expandable",{"react-scan-expanded":u}),children:ar("div",{style:{display:"flex",flexDirection:"column",padding:"2px 2px",backgroundColor:"#0a0a0a",overflow:"hidden",opacity:u?1:0,borderBottom:"1px solid #222",transition:"opacity 150ms ease"},children:[ar("button",{onClick:d,style:{display:"flex",alignItems:"center",gap:"8px",width:"100%",padding:"4px 4px",background:"none",border:"none",cursor:"pointer",color:"#666",fontSize:"13px",letterSpacing:"0.01em"},children:[ar("div",{style:{display:"flex",alignItems:"center"},children:[ar("span",{style:{display:"flex",width:"16px",alignItems:"center",justifyContent:"center"},children:ar(sr,{name:"icon-chevron-right",size:10,style:{transform:t?"rotate(90deg)":"none",transition:"transform 100ms ease",opacity:.7}})}),ar("span",{style:{fontWeight:500,color:"#FFF",fontSize:"13px",letterSpacing:"0.01em"},children:"What changed?"})]}),!t&&r>0&&ar("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minWidth:"18px",height:"18px",padding:"0 6px",backgroundColor:"#a855f7",color:"#fff",fontSize:".75rem",fontWeight:500,borderRadius:"9px",transition:"all 100ms ease"},children:r})]}),ar("div",{style:{maxHeight:t?"2000px":"0",display:"flex",flexDirection:"column",rowGap:"4px",opacity:t?1:0,overflow:"hidden",transition:"all 100ms ease",padding:t?".5rem 1rem":"0rem 1rem",paddingBottom:"0px"},children:[f("Props",c.propsChanges,(e=>e)),f("State",c.stateChanges,(t=>{const n=parseInt(t);return ar("span",{children:[n,(e=>{const t=e%100;if(t>=11&&t<=13)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(n)," hook"," ",ar("span",{style:{color:"#666"},children:["called in ",ar("i",{children:C(z(e))})]})]})})),f("Context",p,(e=>e))]})]})}):null})),vr=({count:e})=>{const t=Ae(null),n=Ae(e);return Me((()=>{const r=t.current;r&&n.current!==e&&(r.classList.remove("count-flash"),r.offsetWidth,r.classList.add("count-flash"),n.current=e)}),[e]),ar("div",{ref:t,className:"count-badge",style:{color:"#a855f7",fontSize:"12px",fontWeight:500,fontVariantNumeric:"tabular-nums",padding:"2px 6px",borderRadius:"4px",transformOrigin:"center"},children:["x",e]})},yr=new WeakMap,wr={activeFlashes:new Map,create(e){const t=e.querySelector(".react-scan-flash-overlay"),n=t instanceof HTMLElement?t:(()=>{const t=document.createElement("div");t.className="react-scan-flash-overlay",e.appendChild(t);const n=((e,t)=>{const n=t.bind(null,e);return document.addEventListener("scroll",n,{passive:!0,capture:!0}),()=>{document.removeEventListener("scroll",n,{capture:!0})}})(e,(()=>{e.querySelector(".react-scan-flash-overlay")&&this.create(e)}));return this.activeFlashes.set(e,{element:e,overlay:t,scrollCleanup:n}),t})(),r=yr.get(n);r&&(clearTimeout(r),yr.delete(n)),requestAnimationFrame((()=>{n.style.transition="none",n.style.opacity="0.9";const t=setTimeout((()=>{n.style.transition="opacity 150ms ease-out",n.style.opacity="0";const t=setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n);const t=this.activeFlashes.get(e);t?.scrollCleanup&&t.scrollCleanup(),this.activeFlashes.delete(e),yr.delete(n)}),150);yr.set(n,t)}),300);yr.set(n,t)}))},cleanup(e){const t=this.activeFlashes.get(e);if(t){const n=yr.get(t.overlay);n&&(clearTimeout(n),yr.delete(t.overlay)),t.overlay.parentNode&&t.overlay.parentNode.removeChild(t.overlay),t.scrollCleanup&&t.scrollCleanup(),this.activeFlashes.delete(e)}},cleanupAll(){for(const[,e]of this.activeFlashes)this.cleanup(e.element)}},br=({value:e,onSave:t,onCancel:n})=>{const r=Ae(null),[o,i]=$e("");Me((()=>{let t="";try{t=e instanceof Date?e.toISOString().slice(0,16):e instanceof Map||e instanceof Set||e instanceof RegExp||e instanceof Error||e instanceof ArrayBuffer||ArrayBuffer.isView(e)||"object"==typeof e&&null!==e?Ir(e):Br(e)}catch{t=String(e)}const n=Hr(t);i(n),requestAnimationFrame((()=>{r.current&&(r.current.focus(),"string"==typeof e?r.current.setSelectionRange(1,n.length-1):r.current.select())}))}),[e]);const a=Ne((e=>{const t=e.target;t&&i(t.value)}),[]);return ar("input",{ref:r,type:e instanceof Date?"datetime-local":"text",className:"react-scan-input flex-1",value:o,onChange:a,onKeyDown:r=>{if("Enter"===r.key){r.preventDefault();try{let n;if(e instanceof Date){const e=new Date(o);if(Number.isNaN(e.getTime()))throw new Error("Invalid date");n=e}else{n=Ur(o).value}t(n)}catch{n()}}else"Escape"===r.key&&(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation(),n())},onBlur:n,step:e instanceof Date?1:void 0})},_r=({name:e,value:t,section:n,level:r,parentPath:o,objectPathMap:i=new WeakMap,changedKeys:a=new Set,allowEditing:s=!0})=>{const{fiber:l}=Sr.value,c=Ae(null),u=Or((l?.type&&C(l.type))??"Unknown",n,o??"",e),[d,p]=$e(kr.expandedPaths.has(u)),[f,h]=$e(!1),m=!ct(kr.lastRendered.get(u),t);Me((()=>{if("children"===e)return;if("context"===n)return;const o=!kr.lastRendered.has(u),i=m&&c.current&&!o;kr.lastRendered.set(u,t),i&&c.current&&0===r&&wr.create(c.current)}),[t,m,u,r,e,n]);const g=Ne((()=>{p((e=>{const t=!e;return t?kr.expandedPaths.add(u):kr.expandedPaths.delete(u),t}))}),[u]),v=Ee((()=>"object"==typeof t&&null!==t&&"displayValue"in t?String(t.displayValue):Ir(t)),[t]),y=Ee((()=>{if("object"==typeof t&&null!==t){if("value"in t)return String(Wr(t.value));if("displayValue"in t)return String(t.displayValue)}return String(Wr(t))}),[t]),w=Ee((()=>{if(!t||"object"!=typeof t)return!1;if("type"in t){const e=t;switch(e.type){case"array":case"Map":case"Set":return(e.size??e.length??0)>0;case"object":return(e.size??0)>0;case"ArrayBuffer":case"DataView":return(e.byteLength??0)>0;case"circular":case"promise":case"function":case"error":return!1;default:return"entries"in e||"items"in e}}return jr(t)}),[t]),{overrideProps:b,overrideHookState:_}=Dr(),x=Ee((()=>s&&("props"===n?!!b&&"children"!==e:"state"===n&&!!_)),[n,b,_,s,e]);Ee((()=>{const e=!kr.lastRendered.has(u);if(e){if("function"==typeof t)return!0;if("object"!=typeof t)return!1}const n=!e||!ct(kr.lastRendered.get(u),t);return 0===r&&n&&!$n(t)}),[u,r,t]);const k=Ne((()=>{x&&h(!0)}),[x]),S=Ne((t=>{if(h(!1),"state"===n){const n=Sr.value.fiber;if(!n)return;const r=e.split("."),o=r[0],i=(e=>{if(0!==e.tag||!(e=>{if(!e||!e.type)return!1;const t="function"==typeof e.type,n=e.type?.prototype?.isReactComponent??!1;if(!t&&!n)return!1;if(n)return!0;let r=e.memoizedState;for(;r;){if(r.queue)return!0;const e=r.next;if(!e)break;r=e}return!1})(e))return null;let t=!e.alternate||(e.actualStartTime??0)>(e.alternate.actualStartTime??0)?e.memoizedState:e.alternate?.memoizedState??e.memoizedState;return t||null})(n);if(!i||!Array.isArray(i))return;const a=i.map((e=>e.name===o?1===r.length?{...e,value:t}:{...e,value:Xr(e.value,r.slice(1),t)}:e)),{overrideHookState:s}=Dr();if(!s)return;s(n,o,[],a)}}),[e,n]),z=Ee((()=>!(!t||"object"!=typeof t||$n(t))&&("type"in t&&"circular"===t.type)),[t]),$=Ne((e=>{if(!e||"object"!=typeof e)return null;if("type"in e){const t=e;if("entries"in t&&t.entries){const e=Object.entries(t.entries);return 0===e.length?null:ar("div",{className:"react-scan-nested",children:e.map((([e,t])=>ar(_r,{name:e,value:t,section:n,level:r+1,parentPath:u,objectPathMap:i,changedKeys:a,allowEditing:s},`${u}-entry-${e}`)))})}return"items"in t&&Array.isArray(t.items)?0===t.items.length?null:ar("div",{className:"react-scan-nested",children:t.items.map(((e,t)=>{const o=`${u}-item-${e.type}-${t}`;return ar(_r,{name:`${t}`,value:e,section:n,level:r+1,parentPath:u,objectPathMap:i,changedKeys:a,allowEditing:s},o)}))}):null}let t;if(e instanceof ArrayBuffer){const n=new Uint8Array(e);t=Array.from(n).map(((e,t)=>[t,e]))}else if(e instanceof DataView){const n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);t=Array.from(n).map(((e,t)=>[t,e]))}else if(ArrayBuffer.isView(e))if(e instanceof BigInt64Array||e instanceof BigUint64Array)t=Array.from({length:e.length},((t,n)=>[n,e[n]]));else{const n=e;t=Array.from(n).map(((e,t)=>[t,e]))}else t=e instanceof Map?Array.from(e.entries()).map((([e,t])=>[String(e),t])):e instanceof Set?Array.from(e).map(((e,t)=>[t,e])):Array.isArray(e)?e.map(((e,t)=>[`${t}`,e])):Object.entries(e);if(0===t.length)return null;const o=!(e instanceof DataView||e instanceof ArrayBuffer||ArrayBuffer.isView(e));return ar("div",{className:"react-scan-nested",children:t.map((([e,t])=>{const s=`${u}-${"number"==typeof e?`item-${e}`:e}`;return ar(_r,{name:String(e),value:t,section:n,level:r+1,parentPath:u,objectPathMap:i,changedKeys:a,allowEditing:o},s)}))})}),[n,r,u,i,a,s]),M=Ee((()=>{if("children"!==e)return a.has(`${e}:unmemoized`)?ar(sr,{name:"icon-flame",className:"text-red-500",size:14}):null}),[a,e]);return ar("div",z?{className:"react-scan-property",children:ar("div",{className:"react-scan-property-content",children:ar("div",{className:"react-scan-preview-line",children:[ar("div",{className:"react-scan-key",children:[e,":"]}),ar("span",{className:"text-yellow-500",children:"[Circular Reference]"})]})})}:{ref:c,className:"react-scan-property",children:ar("div",{className:"react-scan-property-content",children:[w&&ar("button",{type:"button",onClick:g,className:"react-scan-arrow",children:ar(sr,{name:"icon-chevron-right",size:12,className:on({"rotate-90":d})})}),ar("div",{className:on("group","react-scan-preview-line",{"react-scan-highlight":m}),children:[M,ar("div",{className:"react-scan-key",children:[e,":"]}),f&&Vr(t,o)?ar(br,{value:t,onSave:S,onCancel:()=>h(!1)}):ar("button",{type:"button",className:"truncate",onClick:k,children:v}),ar(lr,{text:y,className:"opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:({ClipboardIcon:e})=>ar(Z,{children:e})})]}),ar("div",{className:on("react-scan-expandable",{"react-scan-expanded":d}),children:w&&d&&ar("div",{className:"react-scan-nested",children:$(t)})})]})})},xr=({title:e,section:t})=>{const{fiberProps:n,fiberState:r,fiberContext:o}=Sr.value,[i,a]=$e(!0),s=Ee((()=>new WeakMap),[]),{currentData:l,changedKeys:c}=Ee((()=>{switch(t){case"props":return{currentData:n.current,changedKeys:n.changes};case"state":return{currentData:r.current,changedKeys:r.changes};case"context":return{currentData:o.current,changedKeys:o.changes};default:return{currentData:[],changedKeys:new Set}}}),[t,r.current,r.changes,n.current,n.changes,o.current,o.changes]);if(!l||(Array.isArray(l)?0===l.length:0===Object.keys(l).length))return null;const u=Array.isArray(l)?l.length:Object.keys(l).length;return ar("div",{className:"react-scan-section",children:[ar("button",{type:"button",onClick:()=>a(!i),className:"flex items-center w-full",children:[ar(sr,{name:"icon-chevron-right",size:12,className:on({"rotate-90":i})}),ar("span",{className:"ml-1",children:[e," ",!i&&u>0&&`(${u})`]})]}),ar("div",{className:on("react-scan-expandable",{"react-scan-expanded":i}),children:Array.isArray(l)?l.map((({name:e,value:n})=>ar(_r,{name:e,value:n,section:t,level:0,objectPathMap:s,changedKeys:c},e))):Object.entries(l).map((([e,n])=>ar(_r,{name:e,value:n,section:t,level:0,objectPathMap:s,changedKeys:c},e)))})]})},kr={lastRendered:new Map,expandedPaths:new Set,cleanup:()=>{kr.lastRendered.clear(),kr.expandedPaths.clear(),An(),Sr.value={fiber:null,fiberProps:{current:[],changes:new Set},fiberState:{current:[],changes:new Set},fiberContext:{current:[],changes:new Set}}}},Sr=Ge({fiber:null,fiberProps:{current:[],changes:new Set},fiberState:{current:[],changes:new Set},fiberContext:{current:[],changes:new Set}}),zr=class extends Q{constructor(){super(...arguments),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return console.log("da e",e),{hasError:!0,error:e}}render(){return this.state.hasError?ar("div",{children:JSON.stringify(this.state.error)}):this.props.children}},Cr=xn((()=>{const e=Ae(null),t=gn.value;return Me((()=>{let t=!1;const n=new Set,r=()=>{if(0===n.size)return void(t=!1);const o=Array.from(n)[0];n.delete(o);try{e.current=o;const t=Nn(o);Sr.value={fiber:o,...t}}finally{n.size>0?queueMicrotask(r):t=!1}},o=Qo.inspectState.subscribe((t=>{if("focused"!==t.kind||!t.focusedDomElement)return void n.clear();"focused"===t.kind&&(gn.value=!1);const{parentCompositeFiber:r}=Fr(t.focusedDomElement);if(!r)return;n.clear(),kr.cleanup(),e.current=r;const{fiberProps:o,fiberState:i,fiberContext:a}=Nn(r);Sr.value={fiber:r,fiberProps:{...o,changes:new Set},fiberState:{...i,changes:new Set},fiberContext:{...a,changes:new Set}}})),i=Qo.lastReportTime.subscribe((()=>{const o=Qo.inspectState.value;if("focused"!==o.kind)return void n.clear();const i=o.focusedDomElement,{parentCompositeFiber:a}=Fr(i);a?a.type===e.current?.type&&(n.add(a),t||(t=!0,queueMicrotask(r))):Qo.inspectState.value={kind:"inspect-off"}}));return()=>{o(),i(),n.clear(),kr.cleanup(),An()}}),[]),ar(zr,{children:ar("div",{className:on("react-scan-inspector","opacity-0","max-h-0","overflow-hidden","transition-opacity duration-150 delay-0","pointer-events-none",{'opacity-100 delay-300 pointer-events-auto max-h-["auto"]':!t}),children:[ar(gr,{}),ar(xr,{title:"Props",section:"props"}),ar(xr,{title:"State",section:"state"}),ar(xr,{title:"Context",section:"context"})]})})})),$r=e=>{let t=e;for(;t;){if(t.stateNode instanceof Element)return t.stateNode;if(!t.child)break;t=t.child}for(;t;){if(t.stateNode instanceof Element)return t.stateNode;if(!t.return)break;t=t.return}return null},Mr=e=>{if(!e)return null;try{const t=(e=>{if("__REACT_DEVTOOLS_GLOBAL_HOOK__"in window){const t=window.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t.renderers)return null;for(const[,n]of Array.from(t.renderers))try{const t=n.findFiberByHostInstance?.(e);if(t)return t}catch{}}if("_reactRootContainer"in e){const t=e._reactRootContainer;return t?._internalRoot?.current?.child??null}for(const t in e)if(t.startsWith("__reactInternalInstance$")||t.startsWith("__reactFiber"))return e[t];return null})(e);if(!t)return null;const n=Ar(t);return n?n[0]:null}catch{return null}},Ar=e=>{let t=e,n=null;for(;t;){if(b(t))return[t,n];w(t)&&(n=t),t=t.return}},Er=e=>{let t=e,n=null;for(;t;)if(t.stateNode){if(Qo?.fiberRoots.has(t.stateNode)){n=t;break}t=t.return}else t=t.return;if(!n)return!1;return((e,t)=>!!k(t,(t=>t===e)))(e,n.stateNode.current)},Nr=async e=>{const t=Mr(e);if(!t)return null;const n=$r(t);if(!n)return null;const r=(await(o=[n],new Promise((e=>{const t=new Map,n=new IntersectionObserver((n=>{for(const e of n){const n=e.target,r=e.intersectionRect;t.set(n,r)}setTimeout((()=>{e(t)}),20)}));for(const e of o)n.observe(e)})))).get(n);var o;return r},Pr=e=>{const t=Mr(e);if(!t)return{};if(!$r(t))return{};const n=Ar(t);if(!n)return{};const[r]=n;return{parentCompositeFiber:r}},Fr=e=>{const t=Mr(e);if(!t)return{};const n=Er(t)?t:t.alternate??t;if(!$r(n))return{};const r=Ar(n);if(!r)return{};let[o]=r;return o=(Er(o)?o:o.alternate)??o,{parentCompositeFiber:o}},Rr=e=>null!==e&&"object"==typeof e,Dr=()=>{let e=null,t=null;if("__REACT_DEVTOOLS_GLOBAL_HOOK__"in window){const{renderers:n}=window.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n)for(const[r,o]of Array.from(n))try{const n=o;if(t){const e=t;t=(t,r,o,i)=>{let a=t.memoizedState;for(let e=0;e<Number(r)&&a?.next;e++)a=a.next;if(a?.queue){const e=a.queue;if(Rr(e)&&"dispatch"in e){return void(0,e.dispatch)(i)}}e(t,r,o,i),n.overrideHookState?.(t,r,o,i)}}else n.overrideHookState&&(t=n.overrideHookState);if(e){const t=e;e=(e,r,o)=>{t(e,r,o),n.overrideProps?.(e,r,o)}}else n.overrideProps&&(e=n.overrideProps)}catch{}}return{overrideProps:e,overrideHookState:t}},Lr=new Set(["HTML","HEAD","META","TITLE","BASE","SCRIPT","SCRIPT","STYLE","LINK","NOSCRIPT","SOURCE","TRACK","EMBED","OBJECT","PARAM","TEMPLATE","PORTAL","SLOT","AREA","XML","DOCTYPE","COMMENT"]),Tr=(e,t=!0)=>{if(e.stateNode&&"nodeType"in e.stateNode){const n=e.stateNode;return t&&Lr.has(n.tagName.toLowerCase())?null:n}let n=e.child;for(;n;){const e=Tr(n,t);if(e)return e;n=n.sibling}return null},jr=e=>null!==e&&"object"==typeof e&&!$n(e)&&(e instanceof ArrayBuffer||(e instanceof DataView||(!!ArrayBuffer.isView(e)||(e instanceof Map||e instanceof Set?e.size>0:Array.isArray(e)?e.length>0:Object.keys(e).length>0)))),Vr=(e,t)=>{if(null==e)return!0;if($n(e))return!1;if("function"==typeof e)return!1;if(t){const e=t.split(".");let n="";for(const t of e){n=n?`${n}.${t}`:t;const e=kr.lastRendered.get(n);if(e instanceof DataView||e instanceof ArrayBuffer||ArrayBuffer.isView(e))return!1}}switch(e.constructor){case Date:case RegExp:case Error:return!0;default:switch(typeof e){case"string":case"number":case"boolean":case"bigint":return!0;default:return!1}}},Or=(e,t,n,r)=>n?`${e}.${n}.${r}`:"context"!==t||r.startsWith("context.")?`${e}.${t}.${r}`:`${e}.${t}.context.${r}`,Hr=e=>e.replace(/[<>]/g,"").replace(/javascript:/gi,"").replace(/data:/gi,"").replace(/on\w+=/gi,"").slice(0,5e4),Ir=e=>Mn(e).displayValue,Wr=e=>{try{if(null===e)return"null";if(void 0===e)return"undefined";if($n(e))return"Promise";if("function"==typeof e){const t=e.toString();try{return t.replace(/\s+/g," ").replace(/{\s+/g,"{\n ").replace(/;\s+/g,";\n ").replace(/}\s*$/g,"\n}").replace(/\(\s+/g,"(").replace(/\s+\)/g,")").replace(/,\s+/g,", ")}catch{return t}}switch(!0){case e instanceof Date:return e.toISOString();case e instanceof RegExp:return e.toString();case e instanceof Error:return`${e.name}: ${e.message}`;case e instanceof Map:return JSON.stringify(Array.from(e.entries()),null,2);case e instanceof Set:return JSON.stringify(Array.from(e),null,2);case e instanceof DataView:return JSON.stringify(Array.from(new Uint8Array(e.buffer)),null,2);case e instanceof ArrayBuffer:return JSON.stringify(Array.from(new Uint8Array(e)),null,2);case ArrayBuffer.isView(e)&&"length"in e:return JSON.stringify(Array.from(e),null,2);case Array.isArray(e):case"object"==typeof e:return JSON.stringify(e,null,2);default:return String(e)}}catch{return String(e)}},Ur=e=>{const t=e.trim();switch(t){case"undefined":return{type:"undefined",value:void 0};case"null":return{type:"null",value:null};case"true":return{type:"boolean",value:!0};case"false":return{type:"boolean",value:!1}}return/^".*"$/.test(t)?{type:"string",value:t.slice(1,-1)}:/^-?\d+(?:\.\d+)?$/.test(t)?{type:"number",value:Number(t)}:{type:"string",value:`"${t}"`}},Br=e=>void 0===e?"undefined":null===e?"null":"string"==typeof e?`"${e}"`:String(e),Xr=(e,t,n)=>{try{if(0===t.length)return n;const[r,...o]=t;if(Array.isArray(e)&&e.every((e=>"name"in e&&"value"in e))){const t=e.findIndex((e=>e.name===r));if(-1===t)return e;const i=[...e];return 0===o.length?i[t]={...i[t],value:n}:i[t]={...i[t],value:Xr(i[t].value,o,n)},i}if(e instanceof Map){const t=new Map(e);if(0===o.length)t.set(r,n);else{const e=t.get(r);t.set(r,Xr(e,o,n))}return t}if(Array.isArray(e)){const t=Number.parseInt(r,10),i=[...e];return 0===o.length?i[t]=n:i[t]=Xr(e[t],o,n),i}return e&&"object"==typeof e?0===o.length?{...e,[r]:n}:{...e,[r]:Xr(e[r],o,n)}:n}catch{return e}},Yr=(e,t,n=[],r=new WeakSet)=>{if(e===t)return{type:"primitive",changes:[],hasDeepChanges:!1};if("function"==typeof e&&"function"==typeof t){const r=((e,t)=>{try{return"function"==typeof e&&"function"==typeof t&&e.toString()===t.toString()}catch{return!1}})(e,t);return{type:"primitive",changes:[{path:n,prevValue:e,currentValue:t,sameFunction:r}],hasDeepChanges:!r}}if(null===e||null===t||void 0===e||void 0===t||"object"!=typeof e||"object"!=typeof t)return{type:"primitive",changes:[{path:n,prevValue:e,currentValue:t}],hasDeepChanges:!0};if(r.has(e)||r.has(t))return{type:"object",changes:[{path:n,prevValue:"[Circular]",currentValue:"[Circular]"}],hasDeepChanges:!1};r.add(e),r.add(t);const o=e,i=t,a=new Set([...Object.keys(o),...Object.keys(i)]),s=[];let l=!1;for(const e of a){const t=o[e],a=i[e];if(t!==a)if("object"==typeof t&&"object"==typeof a&&null!==t&&null!==a){const o=Yr(t,a,[...n,e],r);s.push(...o.changes),o.hasDeepChanges&&(l=!0)}else s.push({path:[...n,e],prevValue:t,currentValue:a}),l=!0}return{type:"object",changes:s,hasDeepChanges:l}},qr=e=>0===e.length?"":e.reduce(((e,t,n)=>/^\d+$/.test(t)?`${e}[${t}]`:0===n?t:`${e}.${t}`),"");var Gr=(e,t=!1)=>{try{const n=e.toString(),r=n.match(/(?:function\s*)?(?:\(([^)]*)\)|([^=>\s]+))\s*=>?/);if(!r)return"ƒ";const o=(r[1]||r[2]||"").replace(/\s+/g,"");return t?function(e){e=e.replace(/\s+/g," ").trim();const t=[];let n="";for(let r=0;r<e.length;r++){const o=e[r];"="!==o||">"!==e[r+1]?/[(){}[\];,<>:\?!]/.test(o)?(n.trim()&&t.push(n.trim()),t.push(o),n=""):/\s/.test(o)?(n.trim()&&t.push(n.trim()),n=""):n+=o:(n.trim()&&t.push(n.trim()),t.push("=>"),n="",r++)}n.trim()&&t.push(n.trim());const r=[];for(let e=0;e<t.length;e++){const n=t[e],o=t[e+1];"("===n&&")"===o||"["===n&&"]"===o||"{"===n&&"}"===o||"<"===n&&">"===o?(r.push(n+o),e++):r.push(n)}const o=new Set,i=new Set;function a(e,t,n){let o=0;for(let i=n;i<r.length;i++){const n=r[i];if(n===e)o++;else if(n===t&&(o--,0===o))return i}return-1}for(let e=0;e<r.length;e++)if("("===r[e]){const t=a("(",")",e);if(-1!==t&&"=>"===r[t+1])for(let n=e;n<=t;n++)o.add(n)}for(let e=1;e<r.length;e++){const t=r[e-1],n=r[e];if(/^[a-zA-Z0-9_$]+$/.test(t)&&"<"===n){const t=a("<",">",e);if(-1!==t)for(let n=e;n<=t;n++)i.add(n)}}let s=0;const l=[];let c="";function u(){c.trim()&&l.push(c.replace(/\s+$/,"")),c=""}function d(){u(),c=" ".repeat(s)}const p=[];function f(){return p.length?p[p.length-1]:null}function h(e,t=!1){c.trim()?t||/^[),;:\].}>]$/.test(e)?c+=e:c+=" "+e:c+=e}for(let e=0;e<r.length;e++){const t=r[e],n=r[e+1]||"";if(["(","{","[","<"].includes(t))h(t),p.push(t),"{"===t?(s++,d()):"("!==t&&"["!==t&&"<"!==t||o.has(e)&&"("===t||i.has(e)&&"<"===t||n!=={"(":")","[":"]","<":">"}[t]&&"()"!==n&&"[]"!==n&&"<>"!==n&&(s++,d());else if([")","}","]",">"].includes(t)){const n=f();")"===t&&"("===n||"]"===t&&"["===n||">"===t&&"<"===n?o.has(e)&&")"===t||i.has(e)&&">"===t||(s=Math.max(s-1,0),d()):"}"===t&&"{"===n&&(s=Math.max(s-1,0),d()),p.pop(),h(t),"}"===t&&d()}else if(/^\(\)|\[\]|\{\}|\<\>$/.test(t))h(t);else if("=>"===t)h(t);else if(";"===t)h(t,!0),d();else if(","===t){h(t,!0);const n=f();o.has(e)&&"("===n||i.has(e)&&"<"===n||["{","[","(","<"].includes(n)&&d()}else h(t)}return u(),l.join("\n").replace(/\n\s*\n+/g,"\n").trim()}(n):`ƒ (${o}) => ...`}catch{return"ƒ"}},Kr=e=>{if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return`"${e.length>20?e.slice(0,20)+"...":e}"`;if("number"==typeof e||"boolean"==typeof e)return String(e);if("function"==typeof e)return Gr(e);if(Array.isArray(e))return`Array(${e.length})`;if(e instanceof Map)return`Map(${e.size})`;if(e instanceof Set)return`Set(${e.size})`;if(e instanceof Date)return e.toISOString();if(e instanceof RegExp)return e.toString();if(e instanceof Error)return`${e.name}: ${e.message}`;if("object"==typeof e){const t=Object.keys(e);return`{${t.length>2?`${t.slice(0,2).join(", ")}, ...`:t.join(", ")}}`}return String(e)},Jr=e=>{if(null==e)return{value:e};if("function"==typeof e)return{value:e};if("object"!=typeof e)return{value:e};if(e instanceof Promise)return{value:"Promise"};try{const t=Object.getPrototypeOf(e);return t===Promise.prototype||"Promise"===t?.constructor?.name?{value:"Promise"}:{value:e}}catch(e){return{value:null,error:"Error accessing value"}}},Zr=0,Qr=performance.now(),eo=0,to=!1,no=()=>{eo++;const e=performance.now();e-Qr>=1e3&&(Zr=eo,eo=0,Qr=e),requestAnimationFrame(no)},ro=0,oo=new WeakMap,io=e=>{const t=oo.get(e);return t||(ro++,oo.set(e,ro),ro)};function ao(e,t){if(!e||!t)return;t.memoizedValue;const n=e.memoizedValue,r={type:4,name:e.context.displayName??"UnnamedContext",value:n,contextType:io(e.context)};this.push(r)}var so=e=>{const t=[];return((e,t)=>{try{const n=e.dependencies,r=e.alternate?.dependencies;if(!n||!r)return!1;if("object"!=typeof n||!("firstContext"in n)||"object"!=typeof r||!("firstContext"in r))return!1;let o=n.firstContext,i=r.firstContext;for(;o&&"object"==typeof o&&"memoizedValue"in o||i&&"object"==typeof i&&"memoizedValue"in i;){if(!0===t(o,i))return!0;o=o?.next,i=i?.next}}catch{}})(e,ao.bind(t)),t},lo=(e,t)=>Math.floor(e+.1*(t-e)),co="115,97,230",uo=e=>{const t=new Map;for(const n of e){const{name:e,count:r}=n;t.set(e,(t.get(e)||0)+r)}const n=new Map;for(const[e,r]of t.entries()){const t=n.get(r);t?t.push(e):n.set(r,[e])}const r=Array.from(n.entries()).sort((([e],[t])=>t-e)),o=r.length;let i="";for(let e=0;e<o;e++){const[t,n]=r[e];let a=`${n.slice(0,4).join(", ")} ×${t}`;a.length>40&&(a=`${a.slice(0,40)}…`),e!==o-1&&(a+=", "),i+=a}return i.length>40?`${i.slice(0,40)}…`:i},po=e=>{let t=0;for(const n of e)t+=n.width*n.height;return t},fo=(e,t)=>{for(const{id:n,name:r,count:o,x:i,y:a,width:s,height:l,didCommit:c}of t){const t={id:n,name:r,count:o,x:i,y:a,width:s,height:l,frame:0,targetX:i,targetY:a,targetWidth:s,targetHeight:l,didCommit:c},u=String(t.id),d=e.get(u);d?(d.count++,d.frame=0,d.targetX=i,d.targetY=a,d.targetWidth=s,d.targetHeight=l,d.didCommit=c):e.set(u,t)}},ho=null,mo=null,go=null,vo=1,yo=null,wo=new Map,bo=new Map,_o=new Set,xo=e=>{if(!b(e))return;const t="string"==typeof e.type?e.type:C(e);if(!t)return;const n=bo.get(e),r=(e=>{const t=[],n=[];for(w(e)?t.push(e):e.child&&n.push(e.child);n.length;){const e=n.pop();if(!e)break;w(e)?t.push(e):e.child&&n.push(e.child),e.sibling&&n.push(e.sibling)}return t})(e),o=(e=>Boolean(!!(13374&e.flags)||!!(13374&e.subtreeFlags)))(e);n?n.count++:(bo.set(e,{name:t,count:1,elements:r.map((e=>e.stateNode)),didCommit:o?1:0}),_o.add(e))},ko=e=>{const t=e[0];if(1===e.length)return t;let n,r,o,i;for(let t=0,a=e.length;t<a;t++){const a=e[t];n=null==n?a.x:Math.min(n,a.x),r=null==r?a.y:Math.min(r,a.y),o=null==o?a.x+a.width:Math.max(o,a.x+a.width),i=null==i?a.y+a.height:Math.max(i,a.y+a.height)}return null==n||null==r||null==o||null==i?e[0]:new DOMRect(n,r,o-n,i-r)},So="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer,zo=async()=>{const e=[];for(const t of _o){const n=bo.get(t);if(n)for(let t=0;t<n.elements.length;t++)n.elements[t]instanceof Element&&e.push(n.elements[t])}const t=new Map;for await(const n of async function*(e){const t=new Set(e),n=new Set;let r=null,o=!1;const i=new IntersectionObserver((e=>{const a=[];for(const t of e){const e=t.target;n.has(e)||(n.add(e),a.push(t))}a.length>0&&r&&(r(a),r=null),n.size===t.size&&(i.disconnect(),o=!0,r&&r([]))}));for(const e of t)i.observe(e);for(;!o;){const e=await new Promise((e=>{r=e}));e.length>0&&(yield e)}}(e)){for(const e of n){const n=e.target,r=e.intersectionRect;e.isIntersecting&&r.width&&r.height&&t.set(n,r)}const e=[],r=[],o=[];for(const n of _o){const i=bo.get(n);if(!i)continue;const a=[];for(let e=0;e<i.elements.length;e++){const n=i.elements[e],r=t.get(n);r&&a.push(r)}a.length&&(e.push(i),r.push(ko(a)),o.push(N(n)))}if(e.length>0){const t=new So(7*e.length*4),n=new Float32Array(t),i=new Array(e.length);let a;for(let t=0,s=e.length;t<s;t++){const s=e[t],l=o[t],{x:c,y:u,width:d,height:p}=r[t],{count:f,name:h,didCommit:m}=s;if(ho){const e=7*t;n[e]=l,n[e+1]=f,n[e+2]=c,n[e+3]=u,n[e+4]=d,n[e+5]=p,n[e+6]=m,i[t]=h}else a||=new Array(e.length),a[t]={id:l,name:h,count:f,x:c,y:u,width:d,height:p,didCommit:m}}ho?ho.postMessage({type:"draw-outlines",data:t,names:i}):mo&&go&&a&&(fo(wo,a),yo||(yo=requestAnimationFrame(Co)))}}for(const e of _o)bo.delete(e),_o.delete(e)},Co=()=>{if(!go||!mo)return;const e=((e,t,n,r)=>{e.clearRect(0,0,t.width/n,t.height/n);const o=new Map,i=new Map;for(const e of r.values()){const{x:t,y:n,width:r,height:a,targetX:s,targetY:l,targetWidth:c,targetHeight:u,frame:d}=e;s!==t&&(e.x=lo(t,s)),l!==n&&(e.y=lo(n,l)),c!==r&&(e.width=lo(r,c)),u!==a&&(e.height=lo(a,u));const p=`${s??t},${l??n}`,f=`${p},${c??r},${u??a}`,h=o.get(p);h?h.push(e):o.set(p,[e]);const m=1-d/45;e.frame++;const g=i.get(f)||{x:t,y:n,width:r,height:a,alpha:m};m>g.alpha&&(g.alpha=m),i.set(f,g)}for(const t of i.values()){const{x:n,y:r,width:o,height:i,alpha:a}=t;e.strokeStyle=`rgba(${co},${a})`,e.lineWidth=1,e.beginPath(),e.rect(n,r,o,i),e.stroke(),e.fillStyle=`rgba(${co},${.1*a})`,e.fill()}e.font="11px Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace";const a=new Map;e.textRendering="optimizeSpeed";for(const t of o.values()){const n=t[0],{x:o,y:i,frame:s}=n,l=1-s/45,c=uo(t),{width:u}=e.measureText(c),d=11;if(a.set(`${o},${i},${u},${c}`,{text:c,width:u,height:d,alpha:l,x:o,y:i,outlines:t}),s>45)for(const e of t)r.delete(String(e.id))}const s=Array.from(a.entries()).sort((([e,t],[n,r])=>po(r.outlines)-po(t.outlines)));for(const[t,n]of s)if(a.has(t))for(const[r,o]of a.entries()){if(t===r)continue;const{x:i,y:s,width:l,height:c}=n,{x:u,y:d,width:p,height:f}=o;i+l>u&&u+p>i&&s+c>d&&d+f>s&&(n.text=uo([...n.outlines,...o.outlines]),n.width=e.measureText(n.text).width,a.delete(r))}for(const t of a.values()){const{x:n,y:r,alpha:o,width:i,height:a,text:s}=t;let l=r-a-4;l<0&&(l=0),e.fillStyle=`rgba(${co},${o})`,e.fillRect(n,l,i+4,a+4),e.fillStyle=`rgba(255,255,255,${o})`,e.fillText(s,n+2,l+a)}return r.size>0})(go,mo,vo,wo);yo=e?requestAnimationFrame(Co):null},$o="undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof Worker,Mo=()=>Math.min(window.devicePixelRatio||1,2),Ao=()=>globalThis.__REACT_SCAN_STOP__,Eo=!1,No=()=>{if(Eo)return;Eo=!0;const e=document.querySelector("[data-react-scan]");e&&e.remove()},Po=!1;setInterval((()=>{Po&&(Qo.lastReportTime.value=Date.now(),Po=!1)}),50);var Fo,Ro=e=>{if(b(e)&&!1!==ei.options.value.showToolbar&&"focused"===Qo.inspectState.value.kind){const t=e,{selfTime:n}=S(e),r=C(e.type),o=N(t),i=Qo.reportData.get(o),a=i?.count??0,s=[],l=Qo.changesListeners.get(N(e));if(l?.length){const t=(e=>{const t=e.memoizedProps??{},n=e.alternate?.memoizedProps??{},r=[];for(const e in t){if("children"===e)continue;const o=t[e],i=n[e];ct(o,i)||r.push({name:e,value:o,prevValue:i,type:1})}return r})(e).map((e=>({type:1,name:e.name,value:e.value,prevValue:e.prevValue,unstable:!1}))),n=(e=>{if(!e)return[];const t=[];if(0===e.tag||11===e.tag||15===e.tag||14===e.tag){let n=e.memoizedState,r=e.alternate?.memoizedState,o=0;for(;n;){if(n.queue&&void 0!==n.memoizedState){const e={type:2,name:o.toString(),value:n.memoizedState,prevValue:r?.memoizedState};ct(e.prevValue,e.value)||t.push(e)}n=n.next,r=r?.next,o++}return t}if(1===e.tag){const n={type:3,name:"state",value:e.memoizedState,prevValue:e.alternate?.memoizedState};return ct(n.prevValue,n.value)||t.push(n),t.push(n),t}return t})(e),r=so(e).map((e=>({name:e.name,type:4,value:e.value,contextType:e.contextType})));l.forEach((e=>{e({propsChanges:t,stateChanges:n,contextChanges:r})}))}const c={count:a+1,time:n||0,renders:[],displayName:r,type:z(e.type)||null,changes:s};Qo.reportData.set(o,c),Po=!0}},Do=()=>{if(No(),Ao())return;const e=j({onRender(e,t){const n=ei.instrumentation?.isPaused.value,r="inspect-off"===Qo.inspectState.value.kind||"uninitialized"===Qo.inspectState.value.kind;n&&r||(n||xo(e),Ro(e))},onError(){}}),n={isPaused:Ge(!ei.options.value.enabled),fiberRoots:new Set};var r;r=((e,t={})=>{const n=e.onActive,r=i(),o=$();let s,l=!1;return e.onActive=()=>{clearTimeout(s);let r=!0;try{n?.();const e=a();for(const n of e.renderers.values()){const[e]=n.version.split(".");Number(e)<(t.minReactMajorVersion??17)&&(r=!1),"development"!==M(n)&&(l=!0,t.dangerouslyRunInProduction||(r=!1))}}catch(e){t.onError?.(e)}if(!r)return e.onCommitFiberRoot=void 0,e.onCommitFiberUnmount=void 0,e.onPostCommitFiberRoot=void 0,void(e.onActive=void 0);try{const n=e.onCommitFiberRoot;n&&(e.onCommitFiberRoot=(e,r,o)=>{try{n(e,r,o)}catch(e){t.onError?.(e)}});const r=e.onCommitFiberUnmount;r&&(e.onCommitFiberUnmount=(e,n)=>{try{r(e,n)}catch(e){t.onError?.(e)}});const o=e.onPostCommitFiberRoot;o&&(e.onPostCommitFiberRoot=(e,n)=>{try{o(e,n)}catch(e){t.onError?.(e)}})}catch(e){t.onError?.(e)}},r||o||(s=setTimeout((()=>{l||t.onError?.(),stop()}),t.installCheckTimeout??100)),e})({onActive(){if(Ao())return;const e=(()=>{const e=document.createElement("div");e.setAttribute("data-react-scan","true");const t=e.attachShadow({mode:"open"});t.innerHTML='<canvas style="position:fixed;top:0;left:0;pointer-events:none;z-index:2147483646" aria-hidden="true"></canvas>';const n=t.firstChild;if(!n)return null;vo=Mo(),mo=n;const{innerWidth:r,innerHeight:o}=window;n.style.width=`${r}px`,n.style.height=`${o}px`;const i=r*vo,a=o*vo;if(n.width=i,n.height=a,$o)try{ho=new Worker(URL.createObjectURL(new Blob(['"use strict";(()=>{var Y="Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace";var C=(t,l)=>Math.floor(t+(l-t)*.1);var _="115,97,230";var $=t=>{let l=new Map;for(let o of t){let{name:f,count:e}=o;l.set(f,(l.get(f)||0)+e)}let u=new Map;for(let[o,f]of l.entries()){let e=u.get(f);e?e.push(o):u.set(f,[o])}let m=Array.from(u.entries()).sort(([o],[f])=>f-o),s=m.length,i="";for(let o=0;o<s;o++){let[f,e]=m[o],n=`${e.slice(0,4).join(", ")} \\xD7${f}`;n.length>40&&(n=`${n.slice(0,40)}\\u2026`),o!==s-1&&(n+=", "),i+=n}return i.length>40?`${i.slice(0,40)}\\u2026`:i},S=t=>{let l=0;for(let u of t)l+=u.width*u.height;return l};var X=(t,l)=>{let u=t.getContext("2d",{alpha:!0});return u&&u.scale(l,l),u},N=(t,l,u,m)=>{t.clearRect(0,0,l.width/u,l.height/u);let s=new Map,i=new Map;for(let e of m.values()){let{x:n,y:c,width:a,height:h,targetX:r,targetY:d,targetWidth:g,targetHeight:A,frame:x}=e;r!==n&&(e.x=C(n,r)),d!==c&&(e.y=C(c,d)),g!==a&&(e.width=C(a,g)),A!==h&&(e.height=C(h,A));let O=`${r??n},${d??c}`,y=`${O},${g??a},${A??h}`,R=s.get(O);R?R.push(e):s.set(O,[e]);let M=1-x/45;e.frame++;let E=i.get(y)||{x:n,y:c,width:a,height:h,alpha:M};M>E.alpha&&(E.alpha=M),i.set(y,E)}for(let e of i.values()){let{x:n,y:c,width:a,height:h,alpha:r}=e;t.strokeStyle=`rgba(${_},${r})`,t.lineWidth=1,t.beginPath(),t.rect(n,c,a,h),t.stroke(),t.fillStyle=`rgba(${_},${r*.1})`,t.fill()}t.font=`11px ${Y}`;let o=new Map;t.textRendering="optimizeSpeed";for(let e of s.values()){let n=e[0],{x:c,y:a,frame:h}=n,r=1-h/45,d=$(e),{width:g}=t.measureText(d),A=11;o.set(`${c},${a},${g},${d}`,{text:d,width:g,height:A,alpha:r,x:c,y:a,outlines:e});let x=a-A-4;if(x<0&&(x=0),h>45)for(let O of e)m.delete(String(O.id))}let f=Array.from(o.entries()).sort(([e,n],[c,a])=>S(a.outlines)-S(n.outlines));for(let[e,n]of f)if(o.has(e))for(let[c,a]of o.entries()){if(e===c)continue;let{x:h,y:r,width:d,height:g}=n,{x:A,y:x,width:O,height:y}=a;h+d>A&&A+O>h&&r+g>x&&x+y>r&&(n.text=$([...n.outlines,...a.outlines]),n.width=t.measureText(n.text).width,o.delete(c))}for(let e of o.values()){let{x:n,y:c,alpha:a,width:h,height:r,text:d}=e,g=c-r-4;g<0&&(g=0),t.fillStyle=`rgba(${_},${a})`,t.fillRect(n,g,h+4,r+4),t.fillStyle=`rgba(255,255,255,${a})`,t.fillText(d,n+2,g+r)}return m.size>0};var p=null,w=null,b=1,L=new Map,T=null,v=()=>{if(!w||!p)return;N(w,p,b,L)?T=requestAnimationFrame(v):T=null};self.onmessage=t=>{let{type:l}=t.data;if(l==="init"&&(p=t.data.canvas,b=t.data.dpr,p&&(p.width=t.data.width,p.height=t.data.height,w=X(p,b))),!(!p||!w)){if(l==="resize"){b=t.data.dpr,p.width=t.data.width*b,p.height=t.data.height*b,w.resetTransform(),w.scale(b,b),v();return}if(l==="draw-outlines"){let{data:u,names:m}=t.data,s=new Float32Array(u);for(let i=0;i<s.length;i+=7){let o=s[i+2],f=s[i+3],e=s[i+4],n=s[i+5],c=s[i+6],a={id:s[i],name:m[i/7],count:s[i+1],x:o,y:f,width:e,height:n,frame:0,targetX:o,targetY:f,targetWidth:e,targetHeight:n,didCommit:c},h=String(a.id),r=L.get(h);r?(r.count++,r.frame=0,r.targetX=o,r.targetY=f,r.targetWidth=e,r.targetHeight=n,r.didCommit=c):L.set(h,a)}T||(T=requestAnimationFrame(v));return}if(l==="scroll"){let{deltaX:u,deltaY:m}=t.data;for(let s of L.values()){let i=s.x-u,o=s.y-m;s.targetX=i,s.targetY=o}}}};})();\n'],{type:"application/javascript"})));const e=n.transferControlToOffscreen();ho?.postMessage({type:"init",canvas:e,width:n.width,height:n.height,dpr:vo},[e])}catch(e){console.warn("Failed to initialize OffscreenCanvas worker:",e)}ho||(go=((e,t)=>{const n=e.getContext("2d",{alpha:!0});return n&&n.scale(t,t),n})(n,vo));let s=!1;window.addEventListener("resize",(()=>{s||(s=!0,setTimeout((()=>{const e=window.innerWidth,t=window.innerHeight;vo=Mo(),n.style.width=`${e}px`,n.style.height=`${t}px`,ho?ho.postMessage({type:"resize",width:e,height:t,dpr:vo}):(n.width=e*vo,n.height=t*vo,go&&(go.resetTransform(),go.scale(vo,vo)),Co()),s=!1})))}));let l=window.scrollX,c=window.scrollY,u=!1;return window.addEventListener("scroll",(()=>{u||(u=!0,setTimeout((()=>{const{scrollX:e,scrollY:t}=window,n=e-l,r=t-c;l=e,c=t,ho?ho.postMessage({type:"scroll",deltaX:n,deltaY:r}):requestAnimationFrame((()=>{((e,t,n)=>{for(const r of e.values()){const e=r.x-t,o=r.y-n;r.targetX=e,r.targetY=o}})(wo,n,r)})),u=!1}),32))})),setInterval((()=>{_o.size&&requestAnimationFrame((()=>{zo()}))}),32),t.appendChild(n),e})();e&&document.documentElement.appendChild(e)},onCommitFiberRoot(t,n){if(Ao())return No();Qo.fiberRoots.add(n),e(t,n)}},{dangerouslyRunInProduction:!0,onError(e){console.warn("React Scan did not install correctly.\n\n{link to install doc}",e)}}),a((()=>{const e=a();r.onActive?.(),e._instrumentationSource=r.name??t;const n=e.onCommitFiberRoot;r.onCommitFiberRoot&&(e.onCommitFiberRoot=(e,t,o)=>{n&&n(e,t,o),r.onCommitFiberRoot?.(e,t,o)});const o=e.onCommitFiberUnmount;r.onCommitFiberUnmount&&(e.onCommitFiberUnmount=(e,t)=>{o&&o(e,t),r.onCommitFiberUnmount?.(e,t)});const i=e.onPostCommitFiberRoot;r.onPostCommitFiberRoot&&(e.onPostCommitFiberRoot=(e,t)=>{i&&i(e,t),r.onPostCommitFiberRoot?.(e,t)})})),ei.instrumentation=n},Lo={frameInterval:1e3/60,speeds:{fast:.51,slow:.1,off:0}},To="undefined"!=typeof window&&window.devicePixelRatio||1,jo=()=>{const e=Ae(null),t=Ae(null),n=Ae(null),r=Ae(null),o=Ae(null),i=Ae(0),a=Ae(),s=Ae(new Map),l=Ae(!1),c=Ae(0),u=(e,t,n,o)=>{if(!o)return;const i=N(o),a=Qo.reportData.get(i),s={count:a?.count??0,time:a?.time??0};let l=(o?.type&&C(o.type))??"Unknown";s.count&&(l+=` • ×${s.count}`,s.time&&(l+=` (${s.time.toFixed(1)}ms)`)),e.save(),e.font="12px system-ui, -apple-system, sans-serif";const c="locked"===n?14:0,u="locked"===n?6:0,d=e.measureText(l).width+16+c+u,p=t.left,f=t.top-24-4;if(e.fillStyle="rgb(37, 37, 38, .75)",e.beginPath(),e.roundRect(p,f,d,24,3),e.fill(),"locked"===n){const t=p+8,n=f+(24-c)/2+2;((e,t,n,r)=>{e.save(),e.strokeStyle="white",e.fillStyle="white",e.lineWidth=1.5;const o=.6*r,i=.5*r,a=t+(r-o)/2,s=n;e.beginPath(),e.arc(a+o/2,s+i/2,o/2,Math.PI,0,!1),e.stroke();const l=.8*r,c=.5*r,u=t+(r-l)/2,d=n+i/2;e.fillRect(u,d,l,c),e.restore()})(e,t,n,c),r.current={x:t,y:n,width:c,height:c}}else r.current=null;e.fillStyle="white",e.textBaseline="middle";const h=p+8+("locked"===n?c+u:0);e.fillText(l,h,f+12),e.restore()},d=(e,t,r,o)=>{if(!n.current)return;const i=n.current;t.clearRect(0,0,e.width,e.height),t.strokeStyle="rgba(142, 97, 227, 0.5)",t.fillStyle="rgba(173, 97, 230, 0.10)","locked"===r?t.setLineDash([]):t.setLineDash([4]),t.lineWidth=1,t.fillRect(i.left,i.top,i.width,i.height),t.strokeRect(i.left,i.top,i.width,i.height),u(t,i,r,o)},p=(e,t,r,o,s)=>{if(t.save(),!n.current)return n.current=r,d(e,t,o,s),void t.restore();((e,t,r,o,s)=>{const l=ei.options.value.animationSpeed,u=Lo.speeds[l]??Lo.speeds.off,p=a=>{a-c.current<Lo.frameInterval?i.current=requestAnimationFrame(p):(c.current=a,n.current?(n.current={left:ut(n.current.left,r.left,u),top:ut(n.current.top,r.top,u),width:ut(n.current.width,r.width,u),height:ut(n.current.height,r.height,u)},d(e,t,o,s),Math.abs(n.current.left-r.left)>.1||Math.abs(n.current.top-r.top)>.1||Math.abs(n.current.width-r.width)>.1||Math.abs(n.current.height-r.height)>.1?i.current=requestAnimationFrame(p):(n.current=r,d(e,t,o,s),cancelAnimationFrame(i.current),t.restore())):cancelAnimationFrame(i.current))};cancelAnimationFrame(i.current),clearTimeout(a.current),i.current=requestAnimationFrame(p),a.current=setTimeout((()=>{cancelAnimationFrame(i.current),n.current=r,d(e,t,o,s),t.restore()}),1e3)})(e,t,r,o,s)},f=async(e,t,n,r)=>{if(!e||!t||!n)return;const{parentCompositeFiber:o}=Pr(e),i=await Nr(e);o&&i&&(i.width<=0||i.height<=0||i.left>=window.innerWidth||i.top>=window.innerHeight||i.left+i.width<=0||i.top+i.height<=0||0===i.left&&0===i.top?g():p(t,n,i,r,o))},h=t=>{if(!e.current||l.current)return;const i=a=>{e.current&&"opacity"===a.propertyName&&l.current&&(e.current.removeEventListener("transitionend",i),(e=>{const t=e.getContext("2d");t&&t.clearRect(0,0,e.width,e.height),n.current=null,r.current=null,o.current=null,e.classList.remove("fade-in"),l.current=!1})(e.current),t?.())},a=s.current.get("fade-out");a&&(a(),s.current.delete("fade-out")),e.current.addEventListener("transitionend",i),s.current.set("fade-out",(()=>{e.current?.removeEventListener("transitionend",i)})),l.current=!0,e.current.classList.remove("fade-in"),requestAnimationFrame((()=>{e.current?.classList.add("fade-out")}))},m=()=>{e.current&&(l.current=!1,e.current.classList.remove("fade-out"),requestAnimationFrame((()=>{e.current?.classList.add("fade-in")})))},g=()=>{n.current&&e.current&&!l.current&&h()},v=((e,t)=>{let n=0;return r=>{const o=Date.now();if(o-n>=t)return n=o,e(r)}})((n=>{if("inspecting"!==Qo.inspectState.peek().kind||!t.current)return;t.current.style.pointerEvents="none";const r=document.elementFromPoint(n?.clientX??0,n?.clientY??0);if(t.current.style.removeProperty("pointer-events"),clearTimeout(a.current),r&&r!==e.current){const{parentCompositeFiber:e}=Pr(r);if(e){const t=Tr(e);if(t)return void(e=>{e!==o.current&&(o.current=e,Lr.has(e.tagName)?h():m(),Qo.inspectState.value={kind:"inspecting",hoveredDomElement:e})})(t)}}g()}),32),y=(e,t)=>{const n=r.current;if(!n)return!1;const o=t.getBoundingClientRect(),i=t.width/o.width,a=t.height/o.height,s=(e.clientX-o.left)*i,l=(e.clientY-o.top)*a,c=s/To,u=l/To;return c>=n.x&&c<=n.x+n.width&&u>=n.y&&u<=n.y+n.height},w=n=>{const r=Qo.inspectState.peek(),i=e.current;if(i&&t.current)return y(n,i)?(n.preventDefault(),n.stopPropagation(),void(e=>{"focused"===e.kind&&(Qo.inspectState.value={kind:"inspecting",hoveredDomElement:e.focusedDomElement})})(r)):void("inspecting"===r.kind&&(e=>{const t=o.current?.tagName;if(t&&Lr.has(t))return;e.preventDefault(),e.stopPropagation();const n=o.current??document.elementFromPoint(e.clientX,e.clientY);if(!n)return;const{parentCompositeFiber:r}=Pr(n);if(!r)return;const i=Tr(r);if(!i)return o.current=null,void(Qo.inspectState.value={kind:"inspect-off"});Qo.inspectState.value={kind:"focused",focusedDomElement:i}})(n))},b=t=>{if("Escape"!==t.key)return;const r=Qo.inspectState.peek();if(e.current&&"react-scan-root"!==document.activeElement?.id&&("focused"===r.kind||"inspecting"===r.kind))switch(t.preventDefault(),t.stopPropagation(),r.kind){case"focused":m(),n.current=null,o.current=r.focusedDomElement,Qo.inspectState.value={kind:"inspecting",hoveredDomElement:r.focusedDomElement};break;case"inspecting":h((()=>{gn.value=!1,Qo.inspectState.value={kind:"inspect-off"}}))}},_=(e,t)=>{const n=e.getBoundingClientRect();e.width=n.width*To,e.height=n.height*To,t.scale(To,To),t.save()},x=()=>{const t=Qo.inspectState.peek(),r=e.current;if(!r)return;const o=r?.getContext("2d");o&&(cancelAnimationFrame(i.current),clearTimeout(a.current),_(r,o),n.current=null,"focused"===t.kind&&t.focusedDomElement?f(t.focusedDomElement,r,o,"locked"):"inspecting"===t.kind&&t.hoveredDomElement&&f(t.hoveredDomElement,r,o,"inspecting"))},k=t=>{const n=Qo.inspectState.peek(),r=e.current;r&&("inspecting"===n.kind||y(t,r))&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())};return Me((()=>{const r=e.current;if(!r)return;const l=r?.getContext("2d");if(!l)return;_(r,l);const c=Qo.inspectState.subscribe((e=>{((e,r,a)=>{let l;switch(s.current.get(e.kind)?.(),t.current&&"inspecting"!==e.kind&&(t.current.style.pointerEvents="none"),i.current&&cancelAnimationFrame(i.current),e.kind){case"inspect-off":return void h();case"inspecting":f(e.hoveredDomElement,r,a,"inspecting");break;case"focused":if(!e.focusedDomElement)return;o.current!==e.focusedDomElement&&(o.current=e.focusedDomElement),f(e.focusedDomElement,r,a,"locked"),l=Qo.lastReportTime.subscribe((()=>{if(i.current&&n.current){const{parentCompositeFiber:t}=Pr(e.focusedDomElement);t&&f(e.focusedDomElement,r,a,"locked")}})),l&&s.current.set(e.kind,l)}})(e,r,l)}));return window.addEventListener("scroll",x,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),document.addEventListener("mousemove",v,{passive:!0,capture:!0}),document.addEventListener("pointerdown",k,{capture:!0}),document.addEventListener("click",w,{capture:!0}),document.addEventListener("keydown",b,{capture:!0}),()=>{(()=>{for(const e of s.current.values())e?.()})(),c(),window.removeEventListener("scroll",x),window.removeEventListener("resize",x),document.removeEventListener("mousemove",v,{capture:!0}),document.removeEventListener("click",w,{capture:!0}),document.removeEventListener("pointerdown",k,{capture:!0}),document.removeEventListener("keydown",b,{capture:!0}),i.current&&cancelAnimationFrame(i.current),clearTimeout(a.current)}}),[]),ar(Z,{children:[ar("div",{ref:t,className:on("fixed inset-0 w-screen h-screen","z-[214748366]"),style:{pointerEvents:"none"}}),ar("canvas",{ref:e,className:on("react-scan-inspector-overlay","fixed inset-0 w-screen h-screen","pointer-events-none","z-[214748367]")})]})},Vo=()=>{const e=Ae(null),t=Ae(null),n=Ae(null),r=gn.value;var o;return o=()=>{cancelAnimationFrame(e.current??0),e.current=requestAnimationFrame((()=>{if("focused"!==Qo.inspectState.value.kind)return;const e=Qo.inspectState.value.focusedDomElement,{parentCompositeFiber:r}=Pr(e);if(!r)return;const o=C(r.type),i=Qo.reportData.get(N(r)),a=i?.count||0,s=i?.time||0;if(t.current&&n.current){t.current.dataset.text=o??"Unknown";const e=s>0?s<.1-Number.EPSILON?"< 0.1ms":`${Number(s.toFixed(1))}ms`:"";n.current.dataset.text=`${a} re-renders${e?` • ${e}`:""}`}}))},Me((()=>{const e=()=>{"focused"===Qo.inspectState.value.kind&&o()},t=Qo.lastReportTime.subscribe(e),n=Qo.inspectState.subscribe(e);return()=>{t(),n()}}),[]),ar("div",{className:on("absolute inset-0 flex items-center gap-x-2","translate-y-0","transition-transform duration-300",{"-translate-y-[200%]":r}),children:[ar("span",{ref:t,className:"with-data-text"}),ar("span",{ref:n,className:"with-data-text mr-auto cursor-pointer !overflow-visible text-xs text-[#888]",title:"Click to toggle between rerenders and total renders"})]})},Oo=()=>{const e=gn.value;return ar("span",{"data-text":"Settings",className:on("absolute inset-0 flex items-center","with-data-text","-translate-y-[200%]","transition-transform duration-300",{"translate-y-0":e})})},Ho=()=>ar("div",{className:"react-scan-header",children:[ar("div",{className:"relative flex-1 h-full",children:[ar(Oo,{}),ar(Vo,{})]}),ar("button",{type:"button",title:"Close",className:"react-scan-close-button",onClick:()=>{gn.value?gn.value=!1:Qo.inspectState.value={kind:"inspect-off"}},children:ar(sr,{name:"icon-close"})})]}),Io=class{constructor(e,t){this.width=e,this.height=t,this.maxWidth=e-48,this.maxHeight=t-48}rightEdge(e){return this.width-e-pn}bottomEdge(e){return this.height-e-pn}isFullWidth(e){return e>=this.maxWidth}isFullHeight(e){return e>=this.maxHeight}},Wo=()=>{const e=window.innerWidth,t=window.innerHeight;return Fo&&Fo.width===e&&Fo.height===t?Fo:Fo=new Io(e,t)},Uo=(e,t,n)=>{const r=window.innerWidth,o=window.innerHeight,i=t===fn,a=i?t:Math.min(t,r-48),s=i?n:Math.min(n,o-48);let l,c;switch(e){case"top-right":l=r-a-pn,c=pn;break;case"bottom-right":l=r-a-pn,c=o-s-pn;break;case"bottom-left":l=pn,c=o-s-pn;break;default:l=pn,c=pn}return i&&(l=Math.max(pn,Math.min(l,r-a-pn)),c=Math.max(pn,Math.min(c,o-s-pn))),{x:l,y:c}},Bo=(e,t,n)=>{const r=n?fn:5*hn,o=n?Wo().maxWidth:Wo().maxHeight,i=e+t;return Math.min(Math.max(r,i),o)},Xo=({position:e})=>{const t=Ae(null),n=Ae(null),r=Ae(null),o=Ae(null);Me((()=>{const i=t.current;if(!i)return;const a=t=>{const n=t&&((e,t,n,r)=>!(!n||!r)||(n||r?n?e!==t.split("-")[0]:!!r&&e!==t.split("-")[1]:((e,t)=>{const[n,r]=t.split("-");return e!==n&&e!==r})(e,t)))(e,wn.value.corner,wn.value.dimensions.isFullWidth,wn.value.dimensions.isFullHeight);n?i.classList.remove("hidden","pointer-events-none","opacity-0"):i.classList.add("hidden","pointer-events-none","opacity-0")},s=wn.subscribe((e=>{null!==n.current&&null!==r.current&&null!==o.current&&e.dimensions.width===n.current&&e.dimensions.height===r.current&&e.corner===o.current||(a("focused"===Qo.inspectState.value.kind),n.current=e.dimensions.width,r.current=e.dimensions.height,o.current=e.corner)})),l=Qo.inspectState.subscribe((e=>{a("focused"===e.kind)}));return()=>{s(),l(),n.current=null,r.current=null,o.current=null}}),[]);const i=Ne((t=>{t.preventDefault(),t.stopPropagation();const n=vn.value;if(!n)return;const r=n.style,{dimensions:o}=wn.value,i=t.clientX,a=t.clientY,s=o.width,l=o.height,c=o.position;wn.value={...wn.value,dimensions:{...o,isFullWidth:!1,isFullHeight:!1,width:s,height:l,position:c}};let u=null;const d=t=>{u||(r.transition="none",u=requestAnimationFrame((()=>{const{newSize:n,newPosition:o}=((e,t,n,r,o)=>{const i=window.innerWidth-48,a=window.innerHeight-48;let s=t.width,l=t.height,c=n.x,u=n.y;if(e.includes("right")){const e=window.innerWidth-n.x-pn,o=Math.min(t.width+r,e);s=Math.min(i,Math.max(fn,o))}if(e.includes("left")){const e=n.x+t.width-pn,o=Math.min(t.width-r,e);s=Math.min(i,Math.max(fn,o)),c=n.x-(s-t.width)}if(e.includes("bottom")){const e=window.innerHeight-n.y-pn,r=Math.min(t.height+o,e);l=Math.min(a,Math.max(5*hn,r))}if(e.includes("top")){const e=n.y+t.height-pn,r=Math.min(t.height-o,e);l=Math.min(a,Math.max(5*hn,r)),u=n.y-(l-t.height)}return c=Math.max(pn,Math.min(c,window.innerWidth-pn-s)),u=Math.max(pn,Math.min(u,window.innerHeight-pn-l)),{newSize:{width:s,height:l},newPosition:{x:c,y:u}}})(e,{width:s,height:l},c,t.clientX-i,t.clientY-a);r.transform=`translate3d(${o.x}px, ${o.y}px, 0)`,r.width=`${n.width}px`,r.height=`${n.height}px`,wn.value={...wn.value,dimensions:{isFullWidth:!1,isFullHeight:!1,width:n.width,height:n.height,position:o}},u=null})))},p=()=>{u&&(cancelAnimationFrame(u),u=null),document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",p);const{dimensions:e,corner:t}=wn.value,o=Wo(),i=o.isFullWidth(e.width),a=o.isFullHeight(e.height);let s=t;(i&&a||i||a)&&(s=(e=>{const t=Wo(),n={"top-left":Math.hypot(e.x,e.y),"top-right":Math.hypot(t.maxWidth-e.x,e.y),"bottom-left":Math.hypot(e.x,t.maxHeight-e.y),"bottom-right":Math.hypot(t.maxWidth-e.x,t.maxHeight-e.y)};let r="top-left";for(const e in n)n[e]<n[r]&&(r=e);return r})(e.position));const l=Uo(s,e.width,e.height),c=()=>{n.removeEventListener("transitionend",c)};n.addEventListener("transitionend",c),r.transform=`translate3d(${l.x}px, ${l.y}px, 0)`,wn.value={corner:s,dimensions:{isFullWidth:i,isFullHeight:a,width:e.width,height:e.height,position:l},lastDimensions:{isFullWidth:i,isFullHeight:a,width:e.width,height:e.height,position:l}},sn(mn,{corner:s,dimensions:wn.value.dimensions,lastDimensions:wn.value.lastDimensions})};document.addEventListener("mousemove",d,{passive:!0}),document.addEventListener("mouseup",p)}),[]),a=Ne((t=>{t.preventDefault(),t.stopPropagation();const n=vn.value;if(!n)return;const r=n.style,{dimensions:o,corner:i}=wn.value,a=Wo(),s=a.isFullWidth(o.width),l=a.isFullHeight(o.height),c=s&&l,u=(s||l)&&!c;let d=o.width,p=o.height;const f=((e,t,n,r,o)=>{if(n){if("top-left"===e)return"bottom-right";if("top-right"===e)return"bottom-left";if("bottom-left"===e)return"top-right";if("bottom-right"===e)return"top-left";const[n,r]=t.split("-");if("left"===e)return`${n}-right`;if("right"===e)return`${n}-left`;if("top"===e)return`bottom-${r}`;if("bottom"===e)return`top-${r}`}if(r){if("left"===e)return`${t.split("-")[0]}-right`;if("right"===e)return`${t.split("-")[0]}-left`}if(o){if("top"===e)return`bottom-${t.split("-")[1]}`;if("bottom"===e)return`top-${t.split("-")[1]}`}return t})(e,i,c,s,l);"left"===e||"right"===e?(d=s?o.width:a.maxWidth,u&&(d=s?fn:a.maxWidth)):(p=l?o.height:a.maxHeight,u&&(p=l?5*hn:a.maxHeight)),c&&("left"===e||"right"===e?d=fn:p=5*hn);const h=Uo(f,d,p),m={isFullWidth:a.isFullWidth(d),isFullHeight:a.isFullHeight(p),width:d,height:p,position:h};requestAnimationFrame((()=>{wn.value={corner:f,dimensions:m,lastDimensions:o},r.transition="all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",r.width=`${d}px`,r.height=`${p}px`,r.transform=`translate3d(${h.x}px, ${h.y}px, 0)`})),sn(mn,{corner:f,dimensions:m,lastDimensions:o})}),[]);return ar("div",{ref:t,onMouseDown:i,onDblClick:a,className:on("absolute z-50","flex items-center justify-center","group","transition-colors select-none","peer",{"resize-left peer/left":"left"===e,"resize-right peer/right":"right"===e,"resize-top peer/top":"top"===e,"resize-bottom peer/bottom":"bottom"===e}),children:ar("span",{className:"resize-line-wrapper",children:ar("span",{className:"resize-line",children:ar(sr,{name:"icon-ellipsis",size:18,className:on("text-white/80",{"rotate-90":"left"===e||"right"===e})})})})})},Yo=()=>{const[e,t]=$e(null);Me((()=>{const e=setInterval((()=>{t((to||(to=!0,no(),Zr=60),Zr))}),100);return()=>clearInterval(e)}),[]);return ar("span",{style:{display:"flex",alignItems:"center",justifyContent:"end",gap:"4px",padding:"0 8px",height:"24px",fontSize:"12px",fontFamily:"var(--font-mono)",color:"#666",backgroundColor:"#0a0a0a",border:"1px solid rgba(255,255,255,0.1)",borderRadius:"3px",whiteSpace:"nowrap",marginLeft:"12px",minWidth:"72px"},children:[ar("span",{style:{color:"#666",letterSpacing:"0.5px"},children:"FPS"}),ar("span",{style:{color:(n=e,n?n<30?"#f87171":n<50?"#fbbf24":"#fff":"#fff"),transition:"color 150ms ease",minWidth:"28px",textAlign:"right",fontWeight:500},children:e})]});var n},qo=xn((()=>{const e=Ae(null),t=Qo.inspectState,n="inspecting"===t.value.kind,r="focused"===t.value.kind,o=Ne((()=>{switch(Qo.inspectState.value.kind){case"inspecting":case"focused":Qo.inspectState.value={kind:"inspect-off"};break;case"inspect-off":Qo.inspectState.value={kind:"inspecting",hoveredDomElement:null}}}),[]),i=Ne((()=>{console.log("toggled",ei.instrumentation,ei.instrumentation?.isPaused.value),ei.instrumentation&&(ei.instrumentation.isPaused.value=!ei.instrumentation.isPaused.value)}),[]);Ne((()=>{gn.value=!gn.value}),[]),Me((()=>{const t=Qo.inspectState.subscribe((e=>{"uninitialized"===e.kind&&(Qo.inspectState.value={kind:"inspect-off"})})),n=gn.subscribe((t=>{e.current?.classList.toggle("text-inspect",t)}));return()=>{t(),n()}}),[]);let a=null,s="#999";return n?(a=ar(sr,{name:"icon-inspect"}),s="#8e61e3"):r?(a=ar(sr,{name:"icon-focus"}),s="#8e61e3"):(a=ar(sr,{name:"icon-inspect"}),s="#999"),ar("div",{className:on("flex max-h-9 min-h-9 flex-1 items-stretch overflow-hidden"),children:[ar("button",{type:"button",title:"Inspect element",onClick:o,className:"button flex items-center justify-center px-3",style:{color:s},children:a}),ar("button",{id:"react-scan-power",type:"button",title:ei.instrumentation?.isPaused.value?"Start":"Stop",onClick:i,className:on("button","flex items-center justify-center px-3",{"text-white":!ei.instrumentation?.isPaused.value,"text-[#999]":ei.instrumentation?.isPaused.value}),children:ar(sr,{name:"icon-"+(ei.instrumentation?.isPaused.value?"eye-off":"eye")})}),ar("div",{className:on("flex items-center justify-end w-full","py-1.5 px-2","whitespace-nowrap text-sm text-white"),children:["react-scan",ar(Yo,{})]})]})})),Go=()=>{const e=Ae(null),t=Ae(null),n=Ae(0),r=Ae(0),o=Ne(((t=!0)=>{if(!e.current)return;const o="focused"===Qo.inspectState.value.kind,{corner:i}=wn.value;let a,s;if(o||gn.value){const e=wn.value.lastDimensions;a=Bo(e.width,0,!0),s=Bo(e.height,0,!1)}else{const e=wn.value.dimensions;e.width>n.current&&(wn.value={...wn.value,lastDimensions:{isFullWidth:e.isFullWidth,isFullHeight:e.isFullHeight,width:e.width,height:e.height,position:e.position}}),a=n.current,s=r.current}const l=Uo(i,a,s),c=t&&!(a<fn||s<5*hn),u=e.current,d=u.style;let p=null;const f=()=>{bn(),u.removeEventListener("transitionend",f),p&&(cancelAnimationFrame(p),p=null)};u.addEventListener("transitionend",f),d.transition="all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",p=requestAnimationFrame((()=>{d.width=`${a}px`,d.height=`${s}px`,d.transform=`translate3d(${l.x}px, ${l.y}px, 0)`,p=null}));const h={isFullWidth:a>=window.innerWidth-48,isFullHeight:s>=window.innerHeight-48,width:a,height:s,position:l};wn.value={corner:i,dimensions:h,lastDimensions:o?wn.value.lastDimensions:a>n.current?h:wn.value.lastDimensions},c&&sn(mn,{corner:wn.value.corner,dimensions:wn.value.dimensions,lastDimensions:wn.value.lastDimensions}),bn()}),[]),i=Ne((t=>{if(t.preventDefault(),!e.current||t.target.closest("button"))return;const n=e.current,r=n.style,{dimensions:o}=wn.value,i=t.clientX,a=t.clientY,s=o.position.x,l=o.position.y;let c=s,u=l,d=null,p=!1,f=i,h=a;const m=e=>{d||(p=!0,f=e.clientX,h=e.clientY,d=requestAnimationFrame((()=>{const e=f-i,t=h-a;c=Number(s)+e,u=Number(l)+t,r.transition="none",r.transform=`translate3d(${c}px, ${u}px, 0)`,d=null})))},g=()=>{if(!n)return;if(d&&(cancelAnimationFrame(d),d=null),document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",g),!p)return;const e=((e,t,n,r,o=100)=>{const i=void 0!==n?e-n:0,a=void 0!==r?t-r:0,s=window.innerWidth/2,l=window.innerHeight/2,c=i>o,u=a>o;if(c||i<-o){const e=t>l;return c?e?"bottom-right":"top-right":e?"bottom-left":"top-left"}if(u||a<-o){const t=e>s;return u?t?"bottom-right":"bottom-left":t?"top-right":"top-left"}return e>s?t>l?"bottom-right":"top-right":t>l?"bottom-left":"top-left"})(f,h,i,a,"focused"===Qo.inspectState.value.kind?80:40);if(e===wn.value.corner){r.transition="all 0.3s cubic-bezier(0.4, 0, 0.2, 1)";const e=wn.value.dimensions.position;return void requestAnimationFrame((()=>{r.transform=`translate3d(${e.x}px, ${e.y}px, 0)`}))}const t=Uo(e,o.width,o.height);if(c===s&&u===l)return;const v=()=>{r.transition="none",bn(),n.removeEventListener("transitionend",v),d&&(cancelAnimationFrame(d),d=null)};n.addEventListener("transitionend",v),r.transition="all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",requestAnimationFrame((()=>{r.transform=`translate3d(${t.x}px, ${t.y}px, 0)`})),wn.value={corner:e,dimensions:{isFullWidth:o.isFullWidth,isFullHeight:o.isFullHeight,width:o.width,height:o.height,position:t},lastDimensions:wn.value.lastDimensions},sn(mn,{corner:e,dimensions:wn.value.dimensions,lastDimensions:wn.value.lastDimensions})};document.addEventListener("mousemove",m,{passive:!0}),document.addEventListener("mouseup",g)}),[]);return Me((()=>{if(!e.current)return;e.current.style.width="min-content",r.current=36,n.current=e.current.offsetWidth,e.current.style.maxWidth="calc(100vw - 48px)",e.current.style.maxHeight="calc(100vh - 48px)","focused"!==Qo.inspectState.value.kind&&(wn.value={...wn.value,dimensions:{isFullWidth:!1,isFullHeight:!1,width:n.current,height:r.current,position:wn.value.dimensions.position}}),vn.value=e.current;const i=wn.subscribe((t=>{if(!e.current)return;const{x:n,y:r}=t.dimensions.position,{width:o,height:i}=t.dimensions,a=e.current;requestAnimationFrame((()=>{a.style.transform=`translate3d(${n}px, ${r}px, 0)`,a.style.width=`${o}px`,a.style.height=`${i}px`}))}));gn.subscribe((()=>{o()}));const a=Qo.inspectState.subscribe((e=>{t.current&&("inspecting"===e.kind&&((e,t)=>{for(const n of t)e.classList.toggle(n)})(t.current,["opacity-0","duration-0","delay-0"]),o())})),s=()=>{o(!0)};return window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s),a(),i(),sn(mn,{...yn,corner:wn.value.corner})}}),[]),ar(Z,{children:[ar(jo,{}),ar("div",{id:"react-scan-toolbar",ref:e,onMouseDown:i,className:on("fixed inset-0 rounded-lg shadow-lg","flex flex-col","font-mono text-[13px]","user-select-none","opacity-0","cursor-move","z-[124124124124]","animate-fade-in animation-duration-300 animation-delay-300","will-change-transform"),children:[ar(Xo,{position:"top"}),ar(Xo,{position:"bottom"}),ar(Xo,{position:"left"}),ar(Xo,{position:"right"}),ar("div",{className:on("flex flex-1 flex-col","overflow-hidden z-10","rounded-lg","bg-black","opacity-100","transition-[border-radius] duration-150","peer-hover/left:rounded-l-none","peer-hover/right:rounded-r-none","peer-hover/top:rounded-t-none","peer-hover/bottom:rounded-b-none"),children:[ar("div",{ref:t,className:on("relative","flex-1","flex flex-col","rounded-t-lg","overflow-hidden","opacity-100","transition-[opacity] duration-150"),children:[ar(Ho,{}),ar("div",{className:on("relative","flex-1","text-white","bg-[#0A0A0A]","transition-opacity duration-150 delay-150","overflow-y-scroll overflow-x-hidden"),children:ar(Cr,{})})]}),ar(qo,{})]})]})]})},Ko=null,Jo=null,Zo=null,Qo={wasDetailsOpen:Ge(!0),isInIframe:Ge("undefined"!=typeof window&&window.self!==window.top),inspectState:Ge({kind:"uninitialized"}),monitor:Ge(null),fiberRoots:new Set,reportData:new Map,legacyReportData:new Map,lastReportTime:Ge(0),changesListeners:new Map},ei={instrumentation:null,componentAllowList:null,options:Ge({enabled:!0,includeChildren:!0,playSound:!1,log:!1,showToolbar:!0,renderCountThreshold:0,report:void 0,alwaysShowLabels:!1,animationSpeed:"fast",dangerouslyForceRunInProduction:!1,smoothlyAnimateOutlines:!0,trackUnnecessaryRenders:!1}),onRender:null,scheduledOutlines:new Map,activeOutlines:new Map,Store:Qo};function ti(e){return e in ei.options.value}var ni,ri=e=>{const t=[],n={};for(const r in e){if(!ti(r))continue;const o=e[r];switch(r){case"enabled":case"includeChildren":case"playSound":case"log":case"showToolbar":case"report":case"alwaysShowLabels":case"dangerouslyForceRunInProduction":"boolean"!=typeof o?t.push(`- ${r} must be a boolean. Got "${o}"`):n[r]=o;break;case"renderCountThreshold":case"resetCountTimeout":"number"!=typeof o||o<0?t.push(`- ${r} must be a non-negative number. Got "${o}"`):n[r]=o;break;case"animationSpeed":["slow","fast","off"].includes(o)?n[r]=o:t.push(`- Invalid animation speed "${o}". Using default "fast"`);break;case"onCommitStart":"function"!=typeof o?t.push(`- ${r} must be a function. Got "${o}"`):n.onCommitStart=o;break;case"onCommitFinish":"function"!=typeof o?t.push(`- ${r} must be a function. Got "${o}"`):n.onCommitFinish=o;break;case"onRender":"function"!=typeof o?t.push(`- ${r} must be a function. Got "${o}"`):n.onRender=o;break;case"onPaintStart":case"onPaintFinish":"function"!=typeof o?t.push(`- ${r} must be a function. Got "${o}"`):n[r]=o;break;case"trackUnnecessaryRenders":n.trackUnnecessaryRenders="boolean"==typeof o&&o;break;case"smoothlyAnimateOutlines":n.smoothlyAnimateOutlines="boolean"==typeof o&&o;break;default:t.push(`- Unknown option "${r}"`)}}return t.length>0&&console.warn(`[React Scan] Invalid options:\n${t.join("\n")}`),n},oi=e=>{const t=ri(e);if(0===Object.keys(t).length)return;"playSound"in t&&t.playSound&&(t.enabled=!0);const n={...ei.options.value,...t},{instrumentation:r}=ei;if(r&&"enabled"in t&&(r.isPaused.value=!1===t.enabled),ei.options.value=n,sn("react-scan-options",n),"showToolbar"in t){Zo&&!n.showToolbar&&Zo.remove();const{shadowRoot:e}=(()=>{if(Ko&&Jo)return{rootContainer:Ko,shadowRoot:Jo};(Ko=document.createElement("div")).id="react-scan-root",Jo=Ko.attachShadow({mode:"open"});const e=document.createDocumentFragment(),t=document.createElement("style");t.textContent='*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder, textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.z-\\[124124124124\\]{z-index:124124124124}.z-\\[214748366\\]{z-index:214748366}.z-\\[214748367\\]{z-index:214748367}.m-\\[2px\\]{margin:2px}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-1{margin-top:.25rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-0{max-height:0}.max-h-9{max-height:2.25rem}.max-h-\\[\\"auto\\"\\]{max-height:"auto"}.max-h-\\[calc\\(100\\%_-_36px\\)\\]{max-height:calc(100% - 36px)}.min-h-9{min-height:2.25rem}.w-0{width:0}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.-translate-y-\\[200\\%\\]{--tw-translate-y:-200%}.-translate-y-\\[200\\%\\],.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.rotate-90{--tw-rotate:90deg}.rotate-90,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-fade-in{animation:fadeIn ease-in forwards}.cursor-ew-resize{cursor:ew-resize}.cursor-move{cursor:move}.cursor-nesw-resize{cursor:nesw-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-ns-resize{cursor:ns-resize}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.\\!overflow-visible{overflow:visible!important}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-4{border-width:4px}.border-b{border-bottom-width:1px}.border-t-1{border-top-width:1px}.border-white\\/10{border-color:hsla(0,0%,100%,.1)}.bg-\\[\\#0A0A0A\\]{--tw-bg-opacity:1;background-color:rgb(10 10 10/var(--tw-bg-opacity,1))}.bg-\\[\\#1e1e1e\\]{--tw-bg-opacity:1;background-color:rgb(30 30 30/var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white\\/10{background-color:hsla(0,0%,100%,.1)}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.font-mono{font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace}.text-\\[13px\\]{font-size:13px}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.lowercase{text-transform:lowercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-\\[\\#888\\]{--tw-text-opacity:1;color:rgb(136 136 136/var(--tw-text-opacity,1))}.text-\\[\\#999\\]{--tw-text-opacity:1;color:rgb(153 153 153/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-inspect{--tw-text-opacity:1;color:rgb(142 97 227/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\\/80{color:hsla(0,0%,100%,.8)}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.\\!shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)!important;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.outline{outline-style:solid}.\\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[border-radius\\]{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-0{transition-delay:0s}.delay-150{transition-delay:.15s}.delay-300{transition-delay:.3s}.duration-0{transition-duration:0s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.will-change-transform{will-change:transform}.animation-duration-300{animation-duration:.3s}.animation-delay-300{animation-delay:.3s}*{outline:none!important;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;&::-webkit-scrollbar{width:6px;height:6px}&::-webkit-scrollbar-track{border-radius:10px;background:transparent}&::-webkit-scrollbar-thumb{border-radius:10px;background:hsla(0,0%,100%,.3)}&::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.4)}}@-moz-document url-prefix(){*{scrollbar-width:thin;scrollbar-color:hsla(0,0%,100%,.4) transparent;scrollbar-width:6px}}button:hover{background-image:none}button{outline:2px solid transparent;outline-offset:2px;border-style:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:linear;cursor:pointer}svg{height:auto;width:auto;pointer-events:none}.with-data-text{overflow:hidden;&:before{content:attr(data-text);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}#react-scan-toolbar{position:fixed;left:0;top:0;display:flex;flex-direction:column;border-radius:.5rem;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace;font-size:13px;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1));-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:move;opacity:0;z-index:2147483678}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}#react-scan-toolbar{animation:fadeIn ease-in forwards;animation-duration:.3s;animation-delay:.3s;--tw-shadow:0 4px 12px rgba(0,0,0,.2);--tw-shadow-colored:0 4px 12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.button{&:hover{background:hsla(0,0%,100%,.1)}&:active{background:hsla(0,0%,100%,.15)}}.resize-line-wrapper{position:absolute;overflow:hidden}.resize-line{position:absolute;inset:0;overflow:hidden;--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;svg{position:absolute;top:50%;left:50%;--tw-translate-x:-50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.resize-left,.resize-right{top:0;bottom:0;width:1.5rem;cursor:ew-resize;.resize-line-wrapper{top:0;bottom:0;width:50%}&:hover{.resize-line{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}}.resize-right{right:0;--tw-translate-x:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));.resize-line-wrapper{right:0}.resize-line{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem;--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.resize-left{left:0;--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));.resize-line-wrapper{left:0}.resize-line{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem;--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.resize-bottom,.resize-top{left:0;right:0;height:1.5rem;cursor:ns-resize;.resize-line-wrapper{left:0;right:0;height:50%}&:hover{.resize-line{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}}.resize-top{top:0;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));.resize-line-wrapper{top:0}.resize-line{border-top-left-radius:.5rem;border-top-right-radius:.5rem;--tw-translate-y:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.resize-bottom{bottom:0;--tw-translate-y:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));.resize-line-wrapper{bottom:0}.resize-line{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem;--tw-translate-y:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.react-scan-header{display:flex;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem;padding-left:.75rem;padding-right:.5rem;min-height:2.25rem;border-bottom-width:1px;border-color:hsla(0,0%,100%,.1);overflow:hidden;white-space:nowrap}.react-scan-close-button,.react-scan-replay-button{display:flex;align-items:center;padding:.25rem;min-width:-moz-fit-content;min-width:fit-content;border-radius:.25rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.react-scan-replay-button{position:relative;overflow:hidden;background-color:rgba(168,85,247,.5)!important;&:hover{background-color:rgba(168,85,247,.25)}&.disabled{opacity:.5;pointer-events:none}&:before{content:"";position:absolute;inset:0;--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:shimmer 2s infinite;background:linear-gradient(90deg,transparent,rgba(142,97,227,.3),transparent)}}.react-scan-close-button{background-color:hsla(0,0%,100%,.1);&:hover{background-color:hsla(0,0%,100%,.15)}}@keyframes shimmer{to{transform:translateX(100%)}}.react-scan-section{display:flex;flex-direction:column;padding:.5rem;--tw-text-opacity:1;color:rgb(136 136 136/var(--tw-text-opacity,1))}.react-scan-section:before{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1));--tw-content:attr(data-section);content:var(--tw-content)}.react-scan-section{font-size:.75rem;>.react-scan-property{margin-left:-.875rem}}.react-scan-property{position:relative;display:flex;flex-direction:column;padding-left:2rem;border-left-width:1px;border-color:transparent;overflow:hidden}.react-scan-property-content{display:flex;flex:1 1 0%;flex-direction:column;min-height:1.5rem;padding-top:.25rem;padding-bottom:.25rem;max-width:100%;overflow:hidden}.react-scan-string{color:#9ecbff}.react-scan-number{color:#79c7ff}.react-scan-boolean{color:#56b6c2}.react-scan-key{width:-moz-fit-content;width:fit-content;max-width:15rem}.react-scan-input,.react-scan-key{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.react-scan-input{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}@keyframes blink{0%{opacity:1}to{opacity:0}}.react-scan-arrow{position:absolute;top:.25rem;left:1.75rem;display:flex;align-items:center;justify-content:center;cursor:pointer;height:1.5rem;width:1.5rem;--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));z-index:10;>svg{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}}.react-scan-expandable{display:grid;grid-template-rows:0fr;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;&.react-scan-expanded{grid-template-rows:1fr}}.react-scan-nested{position:relative;overflow:hidden;&:before{content:"";position:absolute;top:0;left:0;height:100%;width:1px;background-color:hsla(220,9%,46%,.3)}}.react-scan-settings{position:absolute;inset:0;display:flex;flex-direction:column;gap:1rem;padding:.5rem 1rem;--tw-text-opacity:1;color:rgb(136 136 136/var(--tw-text-opacity,1));>div{display:flex;align-items:center;justify-content:space-between;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}}.react-scan-preview-line{position:relative;display:flex;min-height:1.5rem;align-items:center;-moz-column-gap:.5rem;column-gap:.5rem}.react-scan-flash-overlay{position:absolute;inset:0;opacity:0;z-index:999999;pointer-events:none;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;mix-blend-mode:multiply;background-color:rgba(168,85,247,.9)}.react-scan-toggle{position:relative;input{position:absolute;inset:0;z-index:20;opacity:0;cursor:pointer}input:checked{+div{--tw-bg-opacity:1;background-color:rgb(82 82 82/var(--tw-bg-opacity,1))}+div{&:before{--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));left:auto;--tw-bg-opacity:1;background-color:rgb(142 97 227/var(--tw-bg-opacity,1));--tw-border-opacity:1;border-color:rgb(82 82 82/var(--tw-border-opacity,1))}}}>div{position:relative;height:1rem;width:2rem;--tw-bg-opacity:1;background-color:rgb(64 64 64/var(--tw-bg-opacity,1));border-radius:9999px;pointer-events:none;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}>div{&:before{--tw-content:"";content:var(--tw-content);position:absolute;top:50%;left:0;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));height:1rem;width:1rem;--tw-bg-opacity:1;background-color:rgb(115 115 115/var(--tw-bg-opacity,1));border-width:2px;--tw-border-opacity:1;border-color:rgb(64 64 64/var(--tw-border-opacity,1));border-radius:9999px;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}}}.react-scan-flash-active{opacity:.4;transition:opacity .3s ease-in-out}.react-scan-inspector-overlay{opacity:0;transition:opacity .3s ease-in-out;&.fade-out{opacity:0}&.fade-in{opacity:1}}.react-scan-what-changed{ul{list-style-type:disc;padding-left:1rem}li{white-space:nowrap}li{>div{display:flex;align-items:center;justify-content:space-between;-moz-column-gap:.5rem;column-gap:.5rem}}}@keyframes countFlash{0%{background-color:rgba(168,85,247,.3);transform:scale(1.05)}to{background-color:rgba(168,85,247,.1);transform:scale(1)}}.count-badge{background-color:rgba(168,85,247,.1);transition:all .3s ease-out}.count-flash{animation:countFlash .3s ease-out forwards}.hover\\:bg-white\\/5:hover{background-color:hsla(0,0%,100%,.05)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.group:hover .group-hover\\:opacity-100{opacity:1}.peer\\/bottom:hover~.peer-hover\\/bottom\\:rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.peer\\/left:hover~.peer-hover\\/left\\:rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.peer\\/right:hover~.peer-hover\\/right\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.peer\\/top:hover~.peer-hover\\/top\\:rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}';const n=(new DOMParser).parseFromString('\n<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">\n <symbol id="icon-eye-off" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"/>\n <path d="M14.084 14.158a3 3 0 0 1-4.242-4.242"/>\n <path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"/>\n <path d="m2 2 20 20"/>\n </symbol>\n\n <symbol id="icon-eye" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" />\n <circle cx="12" cy="12" r="3" />\n </symbol>\n\n\n <symbol id="icon-inspect" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"/>\n <path d="M5 3a2 2 0 0 0-2 2"/>\n <path d="M19 3a2 2 0 0 1 2 2"/>\n <path d="M5 21a2 2 0 0 1-2-2"/>\n <path d="M9 3h1"/>\n <path d="M9 21h2"/>\n <path d="M14 3h1"/>\n <path d="M3 9v1"/>\n <path d="M21 9v2"/>\n <path d="M3 14v1"/>\n </symbol>\n\n <symbol id="icon-focus" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"/>\n <path d="M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"/>\n </symbol>\n\n <symbol id="icon-next" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M6 9h6V5l7 7-7 7v-4H6V9z"/>\n </symbol>\n\n <symbol id="icon-previous" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M18 15h-6v4l-7-7 7-7v4h6v6z"/>\n </symbol>\n\n <symbol id="icon-volume-on" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/>\n <path d="M16 9a5 5 0 0 1 0 6"/>\n <path d="M19.364 18.364a9 9 0 0 0 0-12.728"/>\n </symbol>\n\n <symbol id="icon-volume-off" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/>\n <line x1="22" x2="16" y1="9" y2="15"/>\n <line x1="16" x2="22" y1="9" y2="15"/>\n </symbol>\n\n <symbol id="icon-scan-eye" viewBox="0 0 24 24">\n <path d="M3 7V5a2 2 0 0 1 2-2h2"/>\n <path d="M17 3h2a2 2 0 0 1 2 2v2"/>\n <path d="M21 17v2a2 2 0 0 1-2 2h-2"/>\n <path d="M7 21H5a2 2 0 0 1-2-2v-2"/>\n <circle cx="12" cy="12" r="1"/>\n <path d="M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0"/>\n </symbol>\n\n <symbol id="icon-close" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <line x1="18" y1="6" x2="6" y2="18"/>\n <line x1="6" y1="6" x2="18" y2="18"/>\n </symbol>\n\n <symbol id="icon-replay" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M3 7V5a2 2 0 0 1 2-2h2"/>\n <path d="M17 3h2a2 2 0 0 1 2 2v2"/>\n <path d="M21 17v2a2 2 0 0 1-2 2h-2"/>\n <path d="M7 21H5a2 2 0 0 1-2-2v-2"/>\n <circle cx="12" cy="12" r="1"/>\n <path d="M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0"/>\n </symbol>\n\n <symbol id="icon-ellipsis" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <circle cx="12" cy="12" r="1"/>\n <circle cx="19" cy="12" r="1"/>\n <circle cx="5" cy="12" r="1"/>\n </symbol>\n\n <symbol id="icon-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>\n <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>\n </symbol>\n\n <symbol id="icon-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M20 6 9 17l-5-5"/>\n </symbol>\n\n <symbol id="icon-alert" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/>\n <path d="M12 9v4"/>\n <path d="M12 17h.01"/>\n </symbol>\n\n <symbol id="icon-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="m9 18 6-6-6-6"/>\n </symbol>\n\n <symbol id="icon-settings" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3" />\n </symbol>\n\n <symbol id="icon-flame" viewBox="0 0 24 24">\n <path d="M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"/>\n </symbol>\n\n <symbol id="icon-shield" viewBox="0 0 24 24">\n <path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/>\n </symbol>\n\n <symbol id="icon-bell-ring" viewBox="0 0 24 24">\n <path d="M10.268 21a2 2 0 0 0 3.464 0"/>\n <path d="M22 8c0-2.3-.8-4.3-2-6"/>\n <path d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"/>\n <path d="M4 2C2.8 3.7 2 5.7 2 8"/>\n </symbol>\n</svg>\n',"image/svg+xml").documentElement;Jo.appendChild(n);const r=document.createElement("div");return r.id="react-scan-toolbar-root",r.className="absolute z-2147483647",e.appendChild(t),e.appendChild(r),Jo.appendChild(e),document.documentElement.appendChild(Ko),{rootContainer:Ko,shadowRoot:Jo}})();n.showToolbar&&e&&(Zo=(e=>{const t=document.createElement("div");e.appendChild(t),ge(ar(Go,{}),t);const n=t.remove.bind(t);return t.remove=()=>{t.hasChildNodes()&&(ge(null,t),ge(null,t)),n()},t})(e))}},ii=null,ai=()=>{if(null!==ii)return ii;ni??=a();for(const e of ni.renderers.values()){"production"===M(e)&&(ii=!0)}return ii},si=()=>{if("undefined"==typeof window)return;if(ai()&&!ei.options.value.dangerouslyForceRunInProduction)return;const e=an("react-scan-options");if(e){const{enabled:t,playSound:n}=e,r=ri({enabled:t,playSound:n});Object.keys(r).length>0&&(ei.options.value={...ei.options.value,...r})}Do();const t="undefined"!=typeof window;Qo.monitor.value||t||setTimeout((()=>{(()=>{const e=a();return Boolean(e._instrumentationIsActive)||$()})()||console.error("[React Scan] Failed to load. Must import React Scan before React runs.")}),5e3)},li=(e={})=>{oi(e);Qo.isInIframe.value||!1===e.enabled&&!0!==e.showToolbar||si()},ci=new WeakSet;V(),V(),"undefined"!=typeof window&&(li({dangerouslyForceRunInProduction:!0,showToolbar:!0}),window.reactScan=li)
/*! Bundled license information:
bippy/dist/index.js:
(**
* @license bippy
*
* Copyright (c) Aiden Bai, Million Software, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/,e.ReactScanInternals=ei,e.Store=Qo,e.getIsProduction=ai,e.getOptions=()=>ei.options,e.getReport=e=>{if(e){for(const t of Array.from(Qo.legacyReportData.values()))if(t.type===e)return t;return null}return Qo.legacyReportData},e.ignoreScan=e=>{e&&"object"==typeof e&&ci.add(e)},e.ignoredProps=ci,e.isValidFiber=e=>{const t=e.memoizedProps;if("object"==typeof t&&null!==t&&ci.has(t))return!1;const n=ei.componentAllowList,r=n?.has(e.type)??n?.has(e.elementType);if(r){if(!k(e,(e=>{const t=n?.get(e.type)??n?.get(e.elementType);return t?.includeChildren}),!0)&&!r)return!1}return!0},e.onRender=(e,t)=>{const n=ei.onRender;ei.onRender=(r,o)=>{n?.(r,o),z(r.type)===e&&t(r,o)}},e.reportRender=(e,t)=>{const{selfTime:n}=S(e),r=C(e.type),o=N(e),i=Qo.reportData.get(o),a={count:(i?.count??0)+t.length,time:n||0,renders:t,displayName:r,type:z(e.type)||null};if(Qo.reportData.set(o,a),r&&ei.options.value.report){const o=Qo.legacyReportData.get(r)??{count:0,time:0,renders:[],displayName:null,type:z(e.type)||e.type};o.count=o.count+t.length,o.time=o.time+(n||0),o.renders=t,Qo.legacyReportData.set(r,o)}Qo.lastReportTime.value=Date.now()},e.scan=li,e.setOptions=oi,e.start=si,e.useScan=(e={})=>{oi(e),si()},e.withScan=(e,t={})=>{oi(t);const n=Qo.isInIframe.value,r=ei.componentAllowList;return n||!1===t.enabled&&!0!==t.showToolbar||(r||(ei.componentAllowList=new WeakMap),r&&r.set(e,{...t}),si()),e}}({});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment