react-grab 0.0.70 → 0.0.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,41 +6,41 @@ var ReactGrab=(function(exports){'use strict';/**
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- var ps=(e,t)=>e===t;var gs=Symbol("solid-track"),rn={equals:ps},uo=yo,Ne=1,Pt=2,fo={owned:null,cleanups:null,context:null,owner:null},Gn={},Q=null,C=null,pt=null,ie=null,me=null,ye=null,sn=0;function at(e,t){let n=ie,r=Q,i=e.length===0,o=t===void 0?r:t,a=i?fo:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=i?e:()=>e(()=>Se(()=>Ze(a)));Q=a,ie=null;try{return Ae(l,!0)}finally{ie=n,Q=r;}}function R(e,t){t=t?Object.assign({},rn,t):rn;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),bo(n,i));return [ho.bind(n),r]}function io(e,t,n){let r=ln(e,t,true,Ne);ht(r);}function ue(e,t,n){let r=ln(e,t,false,Ne);ht(r);}function ne(e,t,n){uo=xs;let r=ln(e,t,false,Ne);(r.user=true),ye?ye.push(r):ht(r);}function ae(e,t,n){n=n?Object.assign({},rn,n):rn;let r=ln(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ht(r),ho.bind(r)}function hs(e){return e&&typeof e=="object"&&"then"in e}function an(e,t,n){let r,i,o;typeof t=="function"?(r=e,i=t,o={}):(r=true,i=e,o=t||{});let a=null,l=Gn,b=false,g="initialValue"in o,T=typeof r=="function"&&ae(r),w=new Set,[x,A]=(o.storage||R)(o.initialValue),[P,E]=R(void 0),[v,N]=R(void 0,{equals:false}),[z,I]=R(g?"ready":"unresolved");function j(y,p,m,f){return a===y&&(a=null,f!==void 0&&(g=true),(y===l||p===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(f,{value:p})),l=Gn,W(p,m)),p}function W(y,p){Ae(()=>{p===void 0&&A(()=>y),I(p!==void 0?"errored":g?"ready":"unresolved"),E(p);for(let m of w.keys())m.decrement();w.clear();},false);}function Y(){let y=$t,p=x(),m=P();if(m!==void 0&&!a)throw m;return ie&&!ie.user&&y,p}function U(y=true){if(y!==false&&b)return;b=false;let p=T?T():r;if(p==null||p===false){j(a,Se(x));return}let m,f=l!==Gn?l:Se(()=>{try{return i(p,{value:x(),refetching:y})}catch(_){m=_;}});if(m!==void 0){j(a,void 0,nn(m),p);return}else if(!hs(f))return j(a,f,void 0,p),f;return a=f,"v"in f?(f.s===1?j(a,f.v,void 0,p):j(a,void 0,nn(f.v),p),f):(b=true,queueMicrotask(()=>b=false),Ae(()=>{I(g?"refreshing":"pending"),N();},false),f.then(_=>j(f,_,void 0,p),_=>j(f,void 0,nn(_),p)))}Object.defineProperties(Y,{state:{get:()=>z()},error:{get:()=>P()},loading:{get(){let y=z();return y==="pending"||y==="refreshing"}},latest:{get(){if(!g)return Y();let y=P();if(y&&!a)throw y;return x()}}});let te=Q;return T?io(()=>(te=Q,U(false))):U(false),[Y,{refetch:y=>po(te,()=>U(y)),mutate:A}]}function Se(e){if(ie===null)return e();let t=ie;ie=null;try{return pt?pt.untrack(e):e()}finally{ie=t;}}function we(e,t,n){let r=Array.isArray(e),i;return a=>{let l;if(r){l=Array(e.length);for(let u=0;u<e.length;u++)l[u]=e[u]();}else l=e();let c=Se(()=>t(l,i,a));return i=l,c}}function mo(e){ne(()=>Se(e));}function ge(e){return Q===null||(Q.cleanups===null?Q.cleanups=[e]:Q.cleanups.push(e)),e}function po(e,t){let n=Q,r=ie;Q=e,ie=null;try{return Ae(t,!0)}catch(i){cn(i);}finally{Q=n,ie=r;}}var[Ql,so]=R(false);var $t;function ho(){let e=C;if(this.sources&&(this.state))if((this.state)===Ne)ht(this);else {let t=me;me=null,Ae(()=>on(this),false),me=t;}if(ie){let t=this.observers?this.observers.length:0;ie.sources?(ie.sources.push(this),ie.sourceSlots.push(t)):(ie.sources=[this],ie.sourceSlots=[t]),this.observers?(this.observers.push(ie),this.observerSlots.push(ie.sources.length-1)):(this.observers=[ie],this.observerSlots=[ie.sources.length-1]);}return e&&C.sources.has(this)?this.tValue:this.value}function bo(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&Ae(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],a=C&&C.running;a&&C.disposed.has(o)||((a?!o.tState:!o.state)&&(o.pure?me.push(o):ye.push(o),o.observers&&wo(o)),a?o.tState=Ne:o.state=Ne);}if(me.length>1e6)throw me=[],new Error},false);}return t}function ht(e){if(!e.fn)return;Ze(e);let t=sn;ao(e,e.value,t);}function ao(e,t,n){let r,i=Q,o=ie;ie=Q=e;try{r=e.fn(t);}catch(a){return e.pure&&((e.state=Ne,e.owned&&e.owned.forEach(Ze),e.owned=null)),e.updatedAt=n+1,cn(a)}finally{ie=o,Q=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?bo(e,r):e.value=r,e.updatedAt=n);}function ln(e,t,n,r=Ne,i){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:Q,context:Q?Q.context:null,pure:n};if(Q===null||Q!==fo&&(Q.owned?Q.owned.push(o):Q.owned=[o]),pt);return o}function Ft(e){let t=C;if((e.state)===0)return;if((e.state)===Pt)return on(e);if(e.suspense&&Se(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<sn);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===Ne)ht(e);else if((e.state)===Pt){let i=me;me=null,Ae(()=>on(e,n[0]),false),me=i;}}}function Ae(e,t){if(me)return e();let n=false;t||(me=[]),ye?n=true:ye=[],sn++;try{let r=e();return ys(n),r}catch(r){n||(ye=null),me=null,cn(r);}}function ys(e){if(me&&(yo(me),me=null),e)return;let n=ye;ye=null,n.length&&Ae(()=>uo(n),false);}function yo(e){for(let t=0;t<e.length;t++)Ft(e[t]);}function xs(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:Ft(r);}for(t=0;t<n;t++)Ft(e[t]);}function on(e,t){e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let o=i.state;o===Ne?i!==t&&(!i.updatedAt||i.updatedAt<sn)&&Ft(i):o===Pt&&on(i,t);}}}function wo(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=Pt,r.pure?me.push(r):ye.push(r),r.observers&&wo(r));}}function Ze(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){let o=i.pop(),a=n.observerSlots.pop();r<i.length&&(o.sourceSlots[a]=r,i[r]=o,n.observerSlots[r]=a);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Ze(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Ze(e.owned[t]);e.owned=null;}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null;}e.state=0;}function nn(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function cn(e,t=Q){let r=nn(e);throw r;}var vs=Symbol("fallback");function co(e){for(let t=0;t<e.length;t++)e[t]();}function Ss(e,t,n={}){let r=[],i=[],o=[],a=0,l=t.length>1?[]:null;return ge(()=>co(o)),()=>{let c=e()||[],u=c.length,b,g;return c[gs],Se(()=>{let w,x,A,P,E,v,N,z,I;if(u===0)a!==0&&(co(o),o=[],r=[],i=[],a=0,l&&(l=[])),n.fallback&&(r=[vs],i[0]=at(j=>(o[0]=j,n.fallback())),a=1);else if(a===0){for(i=new Array(u),g=0;g<u;g++)r[g]=c[g],i[g]=at(T);a=u;}else {for(A=new Array(u),P=new Array(u),l&&(E=new Array(u)),v=0,N=Math.min(a,u);v<N&&r[v]===c[v];v++);for(N=a-1,z=u-1;N>=v&&z>=v&&r[N]===c[z];N--,z--)A[z]=i[N],P[z]=o[N],l&&(E[z]=l[N]);for(w=new Map,x=new Array(z+1),g=z;g>=v;g--)I=c[g],b=w.get(I),x[g]=b===void 0?-1:b,w.set(I,g);for(b=v;b<=N;b++)I=r[b],g=w.get(I),g!==void 0&&g!==-1?(A[g]=i[b],P[g]=o[b],l&&(E[g]=l[b]),g=x[g],w.set(I,g)):o[b]();for(g=v;g<u;g++)g in A?(i[g]=A[g],o[g]=P[g],l&&(l[g]=E[g],l[g](g))):i[g]=at(T);i=i.slice(0,a=u),r=c.slice(0);}return i});function T(w){if(o[g]=w,l){let[x,A]=R(g);return l[g]=A,t(c[g],x)}return t(c[g])}}}function M(e,t){return Se(()=>e(t||{}))}var Es=e=>`Stale read from <${e}>.`;function Dt(e){let t="fallback"in e&&{fallback:()=>e.fallback};return ae(Ss(()=>e.each,e.children,t||void 0))}function se(e){let t=e.keyed,n=ae(()=>e.when,void 0,void 0),r=t?n:ae(n,void 0,{equals:(i,o)=>!i==!o});return ae(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?Se(()=>o(t?i:()=>{if(!Se(r))throw Es("Show");return n()})):o}return e.fallback},void 0,void 0)}var be=e=>ae(()=>e());function As(e,t,n){let r=n.length,i=t.length,o=r,a=0,l=0,c=t[i-1].nextSibling,u=null;for(;a<i||l<o;){if(t[a]===n[l]){a++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===a){let b=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],b);}else if(o===l)for(;a<i;)(!u||!u.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[o-1]&&n[l]===t[i-1]){let b=t[--i].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--o],b),t[i]=n[o];}else {if(!u){u=new Map;let g=l;for(;g<o;)u.set(n[g],g++);}let b=u.get(t[a]);if(b!=null)if(l<b&&b<o){let g=a,T=1,w;for(;++g<i&&g<o&&!((w=u.get(t[g]))==null||w!==b+T);)T++;if(T>b-l){let x=t[a];for(;l<b;)e.insertBefore(n[l++],x);}else e.replaceChild(n[l++],t[a++]);}else a++;else t[a++].remove();}}}var vo="_$DX_DELEGATE";function Co(e,t,n,r={}){let i;return at(o=>{i=o,t===document?e():J(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function re(e,t,n,r){let i,o=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},a=()=>(i||(i=o())).cloneNode(true);return a.cloneNode=a,a}function dn(e,t=window.document){let n=t[vo]||(t[vo]=new Set);for(let r=0,i=e.length;r<i;r++){let o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Ns));}}function Le(e,t,n){(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function Fe(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function Bt(e,t,n,r){Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;}function Eo(e,t,n){if(!t)return n?Le(e,"style"):t;let r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function pe(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function yt(e,t,n){return Se(()=>e(t,n))}function J(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return un(e,t,r,n);ue(i=>un(e,t(),i,n),r);}function Ns(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),a=()=>{let c=t[n];if(c&&!t.disabled){let u=t[`${n}Data`];if(u!==void 0?c.call(t,u,e):c.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),true},l=()=>{for(;a()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:true,get(){return t||document}}),e.composedPath){let c=e.composedPath();o(c[0]);for(let u=0;u<c.length-2&&(t=c[u],!!a());u++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();o(r);}function un(e,t,n,r,i){for(;typeof n=="function";)n=n();if(t===n)return n;let a=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,a==="string"||a==="number"){if(a==="number"&&(t=t.toString(),t===n))return n;if(l){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=bt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||a==="boolean"){n=bt(e,n,r);}else {if(a==="function")return ue(()=>{let c=t();for(;typeof c=="function";)c=c();n=un(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],u=n&&Array.isArray(n);if(Kn(c,t,n,i))return ue(()=>n=un(e,c,n,r,true)),()=>n;if(c.length===0){if(n=bt(e,n,r),l)return n}else u?n.length===0?So(e,c,r):As(e,n,c):(n&&bt(e),So(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(l)return n=bt(e,n,r,t);bt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function Kn(e,t,n,r){let i=false;for(let o=0,a=t.length;o<a;o++){let l=t[o],c=n&&n[e.length],u;if(!(l==null||l===true||l===false))if((u=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))i=Kn(e,l,c)||i;else if(u==="function")if(r){for(;typeof l=="function";)l=l();i=Kn(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i;}else e.push(l),i=true;else {let b=String(l);c&&c.nodeType===3&&c.data===b?e.push(c):e.push(document.createTextNode(b));}}return i}function So(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function bt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let a=t.length-1;a>=0;a--){let l=t[a];if(i!==l){let c=l.parentNode===e;!o&&!a?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var ko=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
10
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-medium:500;--radius-xs:.125rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-grab-pink:#b21c8e;--color-grab-purple:#d239c0;--color-label-tag-border:#730079;--color-label-muted:#767676}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-2147483645{z-index:2147483645}.z-2147483646{z-index:2147483646}.z-2147483647{z-index:2147483647}.z-\\[2147483645\\]{z-index:2147483645}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.-ml-\\[2px\\]{margin-left:-2px}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-fit{width:fit-content;height:fit-content}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-5\\.5{height:calc(var(--spacing)*5.5)}.h-\\[7px\\]{height:7px}.h-\\[9px\\]{height:9px}.h-\\[18px\\]{height:18px}.h-fit{height:fit-content}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-\\[7px\\]{width:7px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[280px\\]{max-width:280px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-crosshair{cursor:crosshair}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-\\[3px\\]{gap:3px}.gap-\\[5px\\]{gap:5px}.gap-px{gap:1px}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.rounded-\\[1\\.5px\\]{border-radius:1.5px}.rounded-\\[1px\\]{border-radius:1px}.rounded-full{border-radius:3.40282e38px}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-b-xs{border-bottom-right-radius:var(--radius-xs);border-bottom-left-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-grab-purple{border-color:var(--color-grab-purple)}.border-grab-purple\\/40{border-color:#d239c066}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/40{border-color:color-mix(in oklab,var(--color-grab-purple)40%,transparent)}}.border-grab-purple\\/50{border-color:#d239c080}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/50{border-color:color-mix(in oklab,var(--color-grab-purple)50%,transparent)}}.border-label-tag-border{border-color:var(--color-label-tag-border)}.border-white{border-color:var(--color-white)}.border-t-\\[\\#D9D9D9\\]{border-top-color:#d9d9d9}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black{background-color:var(--color-black)}.bg-grab-pink{background-color:var(--color-grab-pink)}.bg-grab-purple{background-color:var(--color-grab-purple)}.bg-grab-purple\\/5{background-color:#d239c00d}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/5{background-color:color-mix(in oklab,var(--color-grab-purple)5%,transparent)}}.bg-grab-purple\\/8{background-color:#d239c014}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/8{background-color:color-mix(in oklab,var(--color-grab-purple)8%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-cover{background-size:cover}.bg-center{background-position:50%}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[3px\\]{padding-inline:3px}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-\\[3px\\]{padding-block:3px}.py-\\[5px\\]{padding-block:5px}.py-px{padding-block:1px}.pt-1{padding-top:calc(var(--spacing)*1)}.align-middle{vertical-align:middle}.font-\\[ui-monospace\\,\\'SFMono-Regular\\'\\,\\'SF_Mono\\'\\,\\'Menlo\\'\\,\\'Consolas\\'\\,\\'Liberation_Mono\\'\\,monospace\\]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[12px\\]{font-size:12px}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-\\[-0\\.04em\\]{--tw-tracking:-.04em;letter-spacing:-.04em}.tracking-\\[-0\\.08em\\]{--tw-tracking:-.08em;letter-spacing:-.08em}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.text-\\[\\#0C0C0C\\]{color:#0c0c0c}.text-\\[\\#47004A\\]{color:#47004a}.text-black{color:var(--color-black)}.text-black\\/50{color:#00000080}@supports (color:color-mix(in lab, red, red)){.text-black\\/50{color:color-mix(in oklab,var(--color-black)50%,transparent)}}.text-label-muted{color:var(--color-label-muted)}.text-label-tag-border{color:var(--color-label-tag-border)}.text-white{color:var(--color-white)}.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,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.99\\]{opacity:.99}.brightness-125{--tw-brightness:brightness(125%);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,)}.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,)}.filter-\\[drop-shadow\\(0px_0px_4px_\\#51515180\\)\\]{filter:drop-shadow(0 0 4px #51515180)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-30{--tw-duration:30ms;transition-duration:30ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[transform\\,width\\,height\\]{will-change:transform,width,height}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.\\[font-synthesis\\:none\\]{font-synthesis:none}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:opacity-100:hover{opacity:1}}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes flash{0%{opacity:1;background-color:#d239c040;border-color:#d239c0}50%{opacity:1;background-color:#d239c073;border-color:#e650d2}to{opacity:1;background-color:#d239c014;border-color:#d239c080}}.react-grab-flash{animation:.4s ease-out forwards flash}.react-grab-shimmer{position:relative;overflow:hidden}.react-grab-shimmer:after{content:"";border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,#0000 0%,#fff6 50%,#0000 100%) 0 0/200% 100%;animation:1.5s ease-in-out infinite shimmer;position:absolute;inset:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}`;var Rs=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Ms=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),Ls=e=>Array.isArray(e),Os=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&Ms(r)&&n){let l=e.composedPath()[0];l instanceof HTMLElement&&(i=l.tagName,o=l.role);}else r instanceof HTMLElement&&(i=r.tagName,o=r.role);return Ls(t)?!!(i&&t&&t.some(a=>typeof i=="string"&&a.toLowerCase()===i.toLowerCase()||a===o)):!!(i&&t&&t)},To=e=>Os(e,Rs);var Ao=e=>{let t=e.tagName.toLowerCase();return !!(t==="input"||t==="textarea"||e instanceof HTMLElement&&e.isContentEditable)},No=(e,t)=>{let n=document.activeElement;if(n){let r=n;for(;r;){if(Ao(r))return true;r=r.parentElement;}}if(e!==void 0&&t!==void 0){let r=document.elementsFromPoint(e,t);for(let i of r)if(Ao(i))return true}return false};var wt="data-react-grab",_o=e=>{let t=document.querySelector(`[${wt}]`);if(t){let a=t.shadowRoot?.querySelector(`[${wt}]`);if(a instanceof HTMLDivElement&&t.shadowRoot)return a}let n=document.createElement("div");n.setAttribute(wt,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let a=document.createElement("style");a.textContent=e,r.appendChild(a);}let i=document.createElement("div");i.setAttribute(wt,"true"),r.appendChild(i);let o=document.body??document.documentElement;return o.appendChild(n),setTimeout(()=>{o.contains(n)||o.appendChild(n);},1e3),i};var Is="https://react-grab.com",fn=(e,t)=>{let n=t?`&line=${t}`:"";return `${Is}/open-file?url=${encodeURIComponent(e)}${n}`};var Ro="0.0.70";var mn=["Meta","Control","Shift","Alt"],Mo='<svg width="294" height="294" viewBox="0 0 294 294" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_0_3)"><mask id="mask0_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="294" height="294"><path d="M294 0H0V294H294V0Z" fill="white"/></mask><g mask="url(#mask0_0_3)"><path d="M144.599 47.4924C169.712 27.3959 194.548 20.0265 212.132 30.1797C227.847 39.2555 234.881 60.3243 231.926 89.516C231.677 92.0069 231.328 94.5423 230.94 97.1058L228.526 110.14C228.517 110.136 228.505 110.132 228.495 110.127C228.486 110.165 228.479 110.203 228.468 110.24L216.255 105.741C216.256 105.736 216.248 105.728 216.248 105.723C207.915 103.125 199.421 101.075 190.82 99.5888L190.696 99.5588L173.526 97.2648L173.511 97.2631C173.492 97.236 173.467 97.2176 173.447 97.1905C163.862 96.2064 154.233 95.7166 144.599 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8624 138.391 86.939 147.193C90.8624 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245C115.749 197.245 115.758 197.246 115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.507 229.974L144.609 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.472 238.38C154.485 238.392 154.499 238.402 154.513 238.412L143.846 247.482L143.827 247.497C126.56 261.128 109.472 268.745 94.8019 268.745C88.5916 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3164 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3363 185.327 9.52301 167.51 9.52301 147.193C9.52301 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3164 60.3243 61.3496 39.2555 77.0657 30.1797C94.6494 20.0265 119.486 27.3959 144.599 47.4924ZM70.6423 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5176 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8516 207.742 83.0977 205.066 70.6423 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1787 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.9311 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.759 110.203C59.234 110.839 57.7378 111.475 56.27 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9104 147.193C67.822 135.23 63.7566 122.855 60.759 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.854 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.6291 47.6015 67.6975 64.5954 70.0424 87.9446L70.0416 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8263 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.773 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.29 38.512C183.321 38.512 169.34 44.4991 154.444 56.0153C163.93 64.9374 172.634 74.6557 180.462 85.064C193.375 86.6345 206.128 89.3102 218.584 93.0624C218.812 91.4325 219.003 89.8118 219.165 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.552 64.3097C138.104 70.2614 132.054 76.6306 126.443 83.3765C132.39 82.995 138.426 82.8046 144.552 82.8046C150.727 82.8046 156.778 83.0143 162.707 83.3765C157.08 76.6293 151.015 70.2596 144.552 64.3097Z" fill="white"/><path d="M144.598 47.4924C169.712 27.3959 194.547 20.0265 212.131 30.1797C227.847 39.2555 234.88 60.3243 231.926 89.516C231.677 92.0069 231.327 94.5423 230.941 97.1058L228.526 110.14L228.496 110.127C228.487 110.165 228.478 110.203 228.469 110.24L216.255 105.741L216.249 105.723C207.916 103.125 199.42 101.075 190.82 99.5888L190.696 99.5588L173.525 97.2648L173.511 97.263C173.492 97.236 173.468 97.2176 173.447 97.1905C163.863 96.2064 154.234 95.7166 144.598 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8622 138.391 86.939 147.193C90.8622 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245L115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.506 229.974L144.61 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.473 238.38L154.512 238.412L143.847 247.482L143.827 247.497C126.56 261.13 109.472 268.745 94.8018 268.745C88.5915 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3162 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3362 185.327 9.52298 167.51 9.52298 147.193C9.52298 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3162 60.3243 61.3496 39.2555 77.0657 30.1797C94.6493 20.0265 119.486 27.3959 144.598 47.4924ZM70.6422 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5175 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8515 207.742 83.0977 205.066 70.6422 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1786 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.931 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.7589 110.203C59.234 110.839 57.7378 111.475 56.2699 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9103 147.193C67.822 135.23 63.7566 122.855 60.7589 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.8539 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.629 47.6015 67.6975 64.5954 70.0424 87.9446L70.0415 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8262 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.772 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.291 38.512C183.321 38.512 169.34 44.4991 154.443 56.0153C163.929 64.9374 172.634 74.6557 180.462 85.064C193.374 86.6345 206.129 89.3102 218.584 93.0624C218.813 91.4325 219.003 89.8118 219.166 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.551 64.3097C138.103 70.2614 132.055 76.6306 126.443 83.3765C132.389 82.995 138.427 82.8046 144.551 82.8046C150.727 82.8046 156.779 83.0143 162.707 83.3765C157.079 76.6293 151.015 70.2596 144.551 64.3097Z" fill="#FF40E0"/></g><mask id="mask1_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="102" y="84" width="161" height="162"><path d="M235.282 84.827L102.261 112.259L129.693 245.28L262.714 217.848L235.282 84.827Z" fill="white"/></mask><g mask="url(#mask1_0_3)"><path d="M136.863 129.916L213.258 141.224C220.669 142.322 222.495 152.179 215.967 155.856L187.592 171.843L184.135 204.227C183.339 211.678 173.564 213.901 169.624 207.526L129.021 141.831C125.503 136.14 130.245 128.936 136.863 129.916Z" fill="#FF40E0" stroke="#FF40E0" stroke-width="0.817337" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_0_3"><rect width="294" height="294" fill="white"/></clipPath></defs></svg>';var Je=(e,t,n)=>e+(t-e)*n;function Lo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Lo(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Oo(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Lo(e))&&(r&&(r+=" "),r+=t);return r}var Wn="-",Ps=e=>{let t=Fs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:a=>{let l=a.split(Wn);return l[0]===""&&l.length!==1&&l.shift(),$o(l,t)||$s(a)},getConflictingClassGroupIds:(a,l)=>{let c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},$o=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?$o(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(Wn);return t.validators.find(({validator:a})=>a(o))?.classGroupId},Io=/^\[(.+)\]$/,$s=e=>{if(Io.test(e)){let t=Io.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},Fs=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bs(Object.entries(e.classGroups),n).forEach(([o,a])=>{qn(a,r,o,t);}),r},qn=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:Po(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(Ds(i)){qn(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{qn(a,Po(t,o),n,r);});});},Po=(e,t)=>{let n=e;return t.split(Wn).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},Ds=e=>e.isThemeGetter,Bs=(e,t)=>t?e.map(([n,r])=>{let i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return [n,i]}):e,Hs=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a);}}},Fo="!",zs=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=l=>{let c=[],u=0,b=0,g;for(let P=0;P<l.length;P++){let E=l[P];if(u===0){if(E===i&&(r||l.slice(P,P+o)===t)){c.push(l.slice(b,P)),b=P+o;continue}if(E==="/"){g=P;continue}}E==="["?u++:E==="]"&&u--;}let T=c.length===0?l:l.substring(b),w=T.startsWith(Fo),x=w?T.substring(1):T,A=g&&g>b?g-b:void 0;return {modifiers:c,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:A}};return n?l=>n({className:l,parseClassName:a}):a},js=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r);}),t.push(...n.sort()),t},Vs=e=>({cache:Hs(e.cacheSize),parseClassName:zs(e),...Ps(e)}),Gs=/\s+/,Us=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(Gs),l="";for(let c=a.length-1;c>=0;c-=1){let u=a[c],{modifiers:b,hasImportantModifier:g,baseClassName:T,maybePostfixModifierPosition:w}=n(u),x=!!w,A=r(x?T.substring(0,w):T);if(!A){if(!x){l=u+(l.length>0?" "+l:l);continue}if(A=r(T),!A){l=u+(l.length>0?" "+l:l);continue}x=false;}let P=js(b).join(":"),E=g?P+Fo:P,v=E+A;if(o.includes(v))continue;o.push(v);let N=i(A,x);for(let z=0;z<N.length;++z){let I=N[z];o.push(E+I);}l=u+(l.length>0?" "+l:l);}return l};function Ks(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Do(t))&&(r&&(r+=" "),r+=n);return r}var Do=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Do(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ys(e,...t){let n,r,i,o=a;function a(c){let u=t.reduce((b,g)=>g(b),e());return n=Vs(u),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){let u=r(c);if(u)return u;let b=Us(c,n);return i(c,b),b}return function(){return o(Ks.apply(null,arguments))}}var le=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},Bo=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xs=/^\d+\/\d+$/,qs=new Set(["px","full","screen"]),Ws=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zs=/\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$/,Js=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Qs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ea=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,je=e=>xt(e)||qs.has(e)||Xs.test(e),Qe=e=>vt(e,"length",la),xt=e=>!!e&&!Number.isNaN(Number(e)),Xn=e=>vt(e,"number",xt),Ht=e=>!!e&&Number.isInteger(Number(e)),ta=e=>e.endsWith("%")&&xt(e.slice(0,-1)),q=e=>Bo.test(e),et=e=>Ws.test(e),na=new Set(["length","size","percentage"]),ra=e=>vt(e,na,Ho),oa=e=>vt(e,"position",Ho),ia=new Set(["image","url"]),sa=e=>vt(e,ia,ua),aa=e=>vt(e,"",ca),zt=()=>true,vt=(e,t,n)=>{let r=Bo.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},la=e=>Zs.test(e)&&!Js.test(e),Ho=()=>false,ca=e=>Qs.test(e),ua=e=>ea.test(e);var da=()=>{let e=le("colors"),t=le("spacing"),n=le("blur"),r=le("brightness"),i=le("borderColor"),o=le("borderRadius"),a=le("borderSpacing"),l=le("borderWidth"),c=le("contrast"),u=le("grayscale"),b=le("hueRotate"),g=le("invert"),T=le("gap"),w=le("gradientColorStops"),x=le("gradientColorStopPositions"),A=le("inset"),P=le("margin"),E=le("opacity"),v=le("padding"),N=le("saturate"),z=le("scale"),I=le("sepia"),j=le("skew"),W=le("space"),Y=le("translate"),U=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],y=()=>["auto",q,t],p=()=>[q,t],m=()=>["",je,Qe],f=()=>["auto",xt,q],_=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],L=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",q],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[xt,q];return {cacheSize:500,separator:":",theme:{colors:[zt],spacing:[je,Qe],blur:["none","",et,q],brightness:O(),borderColor:[e],borderRadius:["none","","full",et,q],borderSpacing:p(),borderWidth:m(),contrast:O(),grayscale:H(),hueRotate:O(),invert:H(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[ta,Qe],inset:y(),margin:y(),opacity:O(),padding:p(),saturate:O(),scale:O(),sepia:H(),skew:O(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[et]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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:[..._(),q]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[A]}],"inset-x":[{"inset-x":[A]}],"inset-y":[{"inset-y":[A]}],start:[{start:[A]}],end:[{end:[A]}],top:[{top:[A]}],right:[{right:[A]}],bottom:[{bottom:[A]}],left:[{left:[A]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ht,q]}],basis:[{basis:y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",Ht,q]}],"grid-cols":[{"grid-cols":[zt]}],"col-start-end":[{col:["auto",{span:["full",Ht,q]},q]}],"col-start":[{"col-start":f()}],"col-end":[{"col-end":f()}],"grid-rows":[{"grid-rows":[zt]}],"row-start-end":[{row:["auto",{span:[Ht,q]},q]}],"row-start":[{"row-start":f()}],"row-end":[{"row-end":f()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[T]}],"gap-x":[{"gap-x":[T]}],"gap-y":[{"gap-y":[T]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[W]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[W]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,t]}],"min-w":[{"min-w":[q,t,"min","max","fit"]}],"max-w":[{"max-w":[q,t,"none","full","min","max","fit","prose",{screen:[et]},et]}],h:[{h:[q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",et,Qe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xn]}],"font-family":[{font:[zt]}],"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",q]}],"line-clamp":[{"line-clamp":["none",xt,Xn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",je,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",je,Qe]}],"underline-offset":[{"underline-offset":["auto",je,q]}],"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:p()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],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",q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._(),oa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ra]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sa]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:X()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[je,q]}],"outline-w":[{outline:[je,Qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:m()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[je,Qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",et,aa]}],"shadow-color":[{shadow:[zt]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...L(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",et,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[b]}],invert:[{invert:[g]}],saturate:[{saturate:[N]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[N]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"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",q]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[Ht,q]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],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",q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":p()}],"scroll-mx":[{"scroll-mx":p()}],"scroll-my":[{"scroll-my":p()}],"scroll-ms":[{"scroll-ms":p()}],"scroll-me":[{"scroll-me":p()}],"scroll-mt":[{"scroll-mt":p()}],"scroll-mr":[{"scroll-mr":p()}],"scroll-mb":[{"scroll-mb":p()}],"scroll-ml":[{"scroll-ml":p()}],"scroll-p":[{"scroll-p":p()}],"scroll-px":[{"scroll-px":p()}],"scroll-py":[{"scroll-py":p()}],"scroll-ps":[{"scroll-ps":p()}],"scroll-pe":[{"scroll-pe":p()}],"scroll-pt":[{"scroll-pt":p()}],"scroll-pr":[{"scroll-pr":p()}],"scroll-pb":[{"scroll-pb":p()}],"scroll-pl":[{"scroll-pl":p()}],"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",q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[je,Qe,Xn]}],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"]}}};var zo=Ys(da);var Ie=(...e)=>zo(Oo(e));var ma=re("<div style=overflow:visible>"),lt=e=>{let[t,n]=R(e.bounds.x),[r,i]=R(e.bounds.y),[o,a]=R(e.bounds.width),[l,c]=R(e.bounds.height),[u,b]=R(1),g=false,T=null,w=null,x=e.bounds,A=false,P=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,E=()=>{if(A)return;A=true;let v=()=>{let N=Je(t(),x.x,P()),z=Je(r(),x.y,P()),I=Je(o(),x.width,P()),j=Je(l(),x.height,P());n(N),i(z),a(I),c(j),Math.abs(N-x.x)<.5&&Math.abs(z-x.y)<.5&&Math.abs(I-x.width)<.5&&Math.abs(j-x.height)<.5?(T=null,A=false):T=requestAnimationFrame(v);};T=requestAnimationFrame(v);};return ne(we(()=>e.bounds,v=>{if(x=v,!g){n(x.x),i(x.y),a(x.width),c(x.height),g=true;return}E();})),ne(()=>{e.variant==="grabbed"&&e.createdAt&&(w=window.setTimeout(()=>{b(0);},1500));}),ge(()=>{T!==null&&(cancelAnimationFrame(T),T=null),w!==null&&(window.clearTimeout(w),w=null),A=false;}),M(se,{get when(){return e.visible!==false},get children(){var v=ma();return ue(N=>{var z=Ie("fixed box-border",e.variant==="drag"&&"pointer-events-none",e.variant!=="drag"&&"pointer-events-auto",e.variant==="grabbed"&&"z-2147483645",e.variant!=="grabbed"&&"z-2147483646",e.variant==="drag"&&"border border-solid border-grab-purple/40 bg-grab-purple/5 will-change-[transform,width,height] cursor-crosshair",e.variant==="selection"&&"border border-solid border-grab-purple/50 bg-grab-purple/8 transition-opacity duration-100 ease-out",e.variant==="grabbed"&&"border border-solid react-grab-flash",e.variant==="processing"&&!e.isCompleted&&"border border-solid border-grab-purple/50 bg-grab-purple/8",e.variant==="processing"&&e.isCompleted&&"border border-solid react-grab-flash"),I=`${r()}px`,j=`${t()}px`,W=`${o()}px`,Y=`${l()}px`,U=e.bounds.borderRadius,te=e.bounds.transform,y=e.isFading?0:u(),p=e.variant==="drag"?"layout paint size":void 0;return z!==N.e&&Fe(v,N.e=z),I!==N.t&&pe(v,"top",N.t=I),j!==N.a&&pe(v,"left",N.a=j),W!==N.o&&pe(v,"width",N.o=W),Y!==N.i&&pe(v,"height",N.i=Y),U!==N.n&&pe(v,"border-radius",N.n=U),te!==N.s&&pe(v,"transform",N.s=te),y!==N.h&&pe(v,"opacity",N.h=y),p!==N.r&&pe(v,"contain",N.r=p),N},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0}),v}})};var jo=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=R(e.x()),[o,a]=R(e.y()),l=e.x(),c=e.y(),u=null,b=false,g=()=>{let w=Je(r(),l,t),x=Je(o(),c,t);i(w),a(x),Math.abs(w-l)<n&&Math.abs(x-c)<n?u=null:u=requestAnimationFrame(g);},T=()=>{u===null&&(u=requestAnimationFrame(g));};return ne(()=>{if(l=e.x(),c=e.y(),!b){i(l),a(c),b=true;return}T();}),ge(()=>{u!==null&&(cancelAnimationFrame(u),u=null);}),{x:r,y:o}};var pa=re('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),Vo=e=>{let t,n=null,r=0,i=0,o=1,a=jo({x:()=>e.mouseX,y:()=>e.mouseY,lerpFactor:.3}),l=()=>{t&&(o=Math.max(window.devicePixelRatio||1,2),r=window.innerWidth,i=window.innerHeight,t.width=r*o,t.height=i*o,t.style.width=`${r}px`,t.style.height=`${i}px`,n=t.getContext("2d"),n&&n.scale(o,o));},c=()=>{n&&(n.clearRect(0,0,r,i),n.strokeStyle="rgba(210, 57, 192)",n.lineWidth=1,n.beginPath(),n.moveTo(a.x(),0),n.lineTo(a.x(),i),n.moveTo(0,a.y()),n.lineTo(r,a.y()),n.stroke());};return ne(()=>{l(),c();let u=()=>{l(),c();};window.addEventListener("resize",u),ge(()=>{window.removeEventListener("resize",u);});}),ne(()=>{a.x(),a.y(),c();}),M(se,{get when(){return e.visible!==false},get children(){var u=pa(),b=t;return typeof b=="function"?yt(b,u):t=u,u}})};var Go=e=>{let t,[n,r]=R(false),i=()=>typeof window<"u"&&(!!window.SpeechRecognition||!!window.webkitSpeechRecognition),o=()=>{if(!i())return;let c=window.SpeechRecognition||window.webkitSpeechRecognition;if(!c)return;t=new c,t.continuous=true,t.interimResults=true,t.lang=navigator.language||"en-US";let u="",b="";t.onresult=g=>{let T=e.getCurrentValue(),w;u&&T.endsWith(u)||T===b?w=T.slice(0,-u.length):w=T;let x="",A="";for(let E=g.resultIndex;E<g.results.length;E++){let v=g.results[E][0].transcript;g.results[E].isFinal?x+=v:A+=v;}u=A;let P=w+x+A;b=P,e.onTranscript(P);},t.onerror=()=>{r(false);},t.onend=()=>{r(false);},t.start(),r(true);},a=()=>{t&&(t.stop(),t=void 0),r(false);},l=()=>{n()?a():o();};return ge(()=>{a();}),{isListening:n,isSupported:i,start:o,stop:a,toggle:l}};var ga=re('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path d="M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6"></path><path d="M11 13l9-9"></path><path d="M15 4h5v5">'),Uo=e=>{let t=()=>e.size??12;return (()=>{var n=ga();return ue(r=>{var i=t(),o=t(),a=e.class;return i!==r.e&&Le(n,"width",r.e=i),o!==r.t&&Le(n,"height",r.t=o),a!==r.a&&Le(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var ha=re('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1=12 x2=12 y1=19 y2=22>'),Ko=e=>{let t=()=>e.size??12;return (()=>{var n=ha();return ue(r=>{var i=t(),o=t(),a=e.class;return i!==r.e&&Le(n,"width",r.e=i),o!==r.t&&Le(n,"height",r.t=o),a!==r.a&&Le(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var ba=re('<div style="background-image:linear-gradient(in oklab 180deg, oklab(88.7% 0.086 -0.058) 0%, oklab(83.2% 0.132 -0.089) 100%)"><span>'),ya=re(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#B3B3B3] py-0 bg-[#F7F7F7]"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),wa=re(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-white py-0"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">&gt;`),xa=re('<div class="absolute w-0 h-0"style="border-left:8px solid transparent;border-right:8px solid transparent">'),va=re('<div role=button><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),Sa=re('<div class="[font-synthesis:none] contain-layout shrink-0 flex flex-col items-start px-2 py-[5px] w-auto h-fit self-stretch [border-top-width:0.5px] border-t-solid border-t-[#D9D9D9] antialiased rounded-t-none rounded-b-xs"style="background-image:linear-gradient(in oklab 180deg, oklab(100% 0 0) 0%, oklab(96.1% 0 0) 5.92%)">'),Ca=re('<div class="[font-synthesis:none] contain-layout shrink-0 flex items-center gap-1 rounded-xs bg-white antialiased w-fit h-fit py-1 px-1.5"><div class="contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]"><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),Ea=re('<button class="contain-layout shrink-0 flex flex-col items-start rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] p-1 size-fit cursor-pointer ml-1 transition-none hover:scale-105"><div class="shrink-0 w-[7px] h-[7px] rounded-[1px] bg-black">'),ka=re('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0 opacity-50 break-all"placeholder="type to edit"rows=1 disabled style=field-sizing:content;min-height:16px>'),Ta=re('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit max-w-[280px]"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-auto h-fit"><div class="contain-layout flex items-center px-0 py-px w-auto h-fit rounded-[1.5px] gap-[3px]"><div class="text-black text-[12px] leading-4 tracking-[-0.04em] font-sans font-medium w-auto h-fit whitespace-normal react-grab-shimmer">'),Yo=re('<div class="contain-layout shrink-0 flex items-center gap-px w-fit h-fit">'),Aa=re('<div class="contain-layout shrink-0 flex items-center gap-1 w-fit h-fit"><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Press</span><div class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit"><div class="w-2.5 h-[9px] shrink-0 opacity-[0.99] bg-cover bg-center"style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)></div></div><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">to edit'),Na=re('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 w-fit h-fit px-1.5"></div><div class="grid w-full transition-[grid-template-rows] duration-30 ease-out"><div class="overflow-hidden min-h-0">'),_a=re("<button>"),Ra=re('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0 break-all"rows=1 style=field-sizing:content;min-height:16px></textarea><div class="flex items-center gap-0.5 ml-1"><button class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit cursor-pointer transition-none hover:scale-105"><div style=background-image:url(https://workers.paper.design/file-assets/01K8D51Q7E2ESJTN18XN2MT96X/01KBEJ7N5GQ0ZZ7K456R42AP4V.svg)>'),Ma=re('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit max-w-[280px]"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-fit h-fit">'),La=re('<div data-react-grab-ignore-events class="fixed font-sans antialiased transition-opacity duration-300 ease-out filter-[drop-shadow(0px_0px_4px_#51515180)]"style=z-index:2147483647><div class="[font-synthesis:none] contain-layout flex items-center gap-[5px] rounded-xs bg-white antialiased w-fit h-fit p-0">'),Xo=8,qo=4,Oa=400;var pn=e=>{let[t,n]=R(false),r=()=>{n(true),e.onHoverChange?.(true);},i=()=>{n(false),e.onHoverChange?.(false);};return (()=>{var o=ba(),a=o.firstChild;return Bt(o,"click",e.onClick),o.addEventListener("mouseleave",i),o.addEventListener("mouseenter",r),J(a,()=>e.tagName),J(o,M(se,{get when(){return e.isClickable||e.forceShowIcon},get children(){return M(Uo,{size:10,get class(){return Ie("text-label-tag-border transition-all duration-100",t()||e.forceShowIcon?"opacity-100 scale-100":"opacity-0 scale-75 -ml-[2px] w-0")}})}}),null),ue(l=>{var c=Ie("contain-layout flex items-center px-[3px] py-0 h-4 rounded-[1px] gap-0.5 [border-width:0.5px] border-solid border-label-tag-border",e.shrink&&"shrink-0 w-fit",e.isClickable&&"cursor-pointer"),u=Ie("text-[#47004A] text-[11.5px] leading-3.5 shrink-0 w-fit h-fit",e.showMono?"tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace]":"tracking-[-0.04em] font-medium");return c!==l.e&&Fe(o,l.e=c),u!==l.t&&Fe(a,l.t=u),l},{e:void 0,t:void 0}),o})()},Wo=e=>(()=>{var t=ya(),n=t.firstChild;return J(n,()=>e.name),t})(),Zo=()=>wa(),Ia=e=>{let t=()=>e.color??"white";return (()=>{var n=xa();return ue(r=>Eo(n,{left:`${e.leftPx}px`,...e.position==="bottom"?{top:"0",transform:"translateX(-50%) translateY(-100%)"}:{bottom:"0",transform:"translateX(-50%) translateY(100%)"},...e.position==="bottom"?{"border-bottom":`8px solid ${t()}`}:{"border-top":`8px solid ${t()}`}},r)),n})()},Jo=e=>{let t=()=>e.hasAgent?"Selecting":e.hasParent?"Copy":"Click to copy";return (()=>{var n=va(),r=n.firstChild;return Bt(n,"click",e.onClick),J(r,t),ue(()=>Fe(n,Ie("contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]",e.asButton&&"cursor-pointer",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"))),n})()};var Zn=e=>(()=>{var t=Sa();return J(t,()=>e.children),t})(),St=e=>{let t,n,r=false,[i,o]=R(0),[a,l]=R(0),[c,u]=R("bottom"),[b,g]=R(0),[T,w]=R(false),x=Go({onTranscript:f=>e.onInputChange?.(f),getCurrentValue:()=>e.inputValue??""}),A=()=>e.status!=="copying"&&e.status!=="copied"&&e.status!=="fading",P=()=>{if(t&&!r){let f=t.getBoundingClientRect();o(f.width),l(f.height);}},E=f=>{r=f;},v=()=>{g(f=>f+1);},N,z=()=>{w(false),N&&clearTimeout(N),N=setTimeout(()=>{w(true);},Oa);},I=f=>{f.code==="Enter"&&T()&&!e.isInputExpanded&&A()&&(f.preventDefault(),f.stopPropagation(),f.stopImmediatePropagation(),e.onToggleExpand?.());};mo(()=>{P(),window.addEventListener("scroll",v,true),window.addEventListener("resize",v),window.addEventListener("keydown",I,{capture:true}),z();}),ge(()=>{window.removeEventListener("scroll",v,true),window.removeEventListener("resize",v),window.removeEventListener("keydown",I,{capture:true}),N&&clearTimeout(N);}),ne(()=>{e.selectionBounds,z();}),ne(()=>{e.visible&&requestAnimationFrame(P);}),ne(()=>{e.status,requestAnimationFrame(P);}),ne(()=>{e.isInputExpanded&&n?setTimeout(()=>{n?.focus();},0):x.stop();});let j=()=>{b();let f=e.selectionBounds,_=i(),X=a();if(!f||_===0||X===0)return {left:-9999,top:-9999,arrowLeft:0};let L=window.innerWidth,B=window.innerHeight,H=f.x+f.width/2,G=e.mouseX??H,O=f.y+f.height,$=f.y,ee=G-_/2,V=O+Xo+qo;ee+_>L-8&&(ee=L-_-8),ee<8&&(ee=8);let K=X+Xo+qo;V+X<=B-8?u("bottom"):(V=$-K,u("top")),V<8&&(V=8);let xe=Math.max(12,Math.min(G-ee,_-12));return {left:ee,top:V,arrowLeft:xe}},W=f=>{f.stopPropagation(),f.stopImmediatePropagation(),f.code==="Enter"&&!f.shiftKey?(f.preventDefault(),x.stop(),e.onSubmit?.()):f.code==="Escape"&&(f.preventDefault(),x.stop(),e.onCancel?.());},Y=f=>{let _=f.target;e.onInputChange?.(_.value);},U=()=>e.tagName||"element",te=f=>{f.stopPropagation(),f.stopImmediatePropagation(),e.filePath&&e.onOpen&&e.onOpen();},y=()=>!!(e.filePath&&e.onOpen),p=f=>{f.stopPropagation(),f.stopImmediatePropagation();},m=()=>{x.stop(),e.onSubmit?.();};return M(se,{get when(){return be(()=>e.visible!==false)()&&e.selectionBounds},get children(){var f=La(),_=f.firstChild;f.$$click=p,f.$$mousedown=p,f.$$pointerdown=p;var X=t;return typeof X=="function"?yt(X,f):t=f,J(f,M(Ia,{get position(){return c()},get leftPx(){return j().arrowLeft}}),_),J(f,M(se,{get when(){return e.status==="copied"||e.status==="fading"},get children(){var L=Ca(),B=L.firstChild,H=B.firstChild;return J(H,()=>e.hasAgent?"Completed":"Copied"),L}}),_),J(_,M(se,{get when(){return e.status==="copying"},get children(){var L=Ta(),B=L.firstChild,H=B.firstChild,G=H.firstChild;return J(G,()=>e.statusText??"Grabbing\u2026"),J(L,M(Zn,{get children(){var O=ka(),$=O.firstChild,ee=n;return typeof ee=="function"?yt(ee,$):n=$,J(O,M(se,{get when(){return e.onAbort},get children(){var V=Ea();return Bt(V,"click",e.onAbort),V}}),null),ue(()=>$.value=e.inputValue??""),O}}),null),L}}),null),J(_,M(se,{get when(){return be(()=>!!A())()&&!e.isInputExpanded},get children(){var L=Na(),B=L.firstChild,H=B.nextSibling,G=H.firstChild;return J(B,M(Jo,{onClick:m,shrink:true,get hasParent(){return !!e.componentName},get hasAgent(){return e.hasAgent}}),null),J(B,M(se,{get when(){return e.componentName},get children(){var O=Yo();return J(O,M(Wo,{get name(){return e.componentName}}),null),J(O,M(Zo,{}),null),J(O,M(pn,{get tagName(){return U()},get isClickable(){return y()},onClick:te,onHoverChange:E,showMono:true,shrink:true}),null),O}}),null),J(B,M(se,{get when(){return !e.componentName},get children(){return M(pn,{get tagName(){return U()},get isClickable(){return y()},onClick:te,onHoverChange:E,showMono:true,shrink:true})}}),null),J(G,M(Zn,{get children(){var O=Aa(),$=O.firstChild,ee=$.nextSibling;ee.firstChild;return O}})),ue(O=>pe(H,"grid-template-rows",T()?"1fr":"0fr")),L}}),null),J(_,M(se,{get when(){return be(()=>!!A())()&&e.isInputExpanded},get children(){var L=Ma(),B=L.firstChild;return J(B,M(Jo,{onClick:m,dimmed:true,shrink:true,get hasParent(){return !!e.componentName},get hasAgent(){return e.hasAgent}}),null),J(B,M(se,{get when(){return e.componentName},get children(){var H=Yo();return J(H,M(Wo,{get name(){return e.componentName}}),null),J(H,M(Zo,{}),null),J(H,M(pn,{get tagName(){return U()},get isClickable(){return y()},onClick:te,onHoverChange:E,showMono:true,shrink:true,forceShowIcon:true}),null),H}}),null),J(B,M(se,{get when(){return !e.componentName},get children(){return M(pn,{get tagName(){return U()},get isClickable(){return y()},onClick:te,onHoverChange:E,showMono:true,shrink:true,forceShowIcon:true})}}),null),J(L,M(Zn,{get children(){var H=Ra(),G=H.firstChild,O=G.nextSibling,$=O.firstChild,ee=$.firstChild;G.$$keydown=W,G.$$input=Y;var V=n;return typeof V=="function"?yt(V,G):n=G,J(O,M(se,{get when(){return be(()=>!!e.hasAgent)()&&x.isSupported()},get children(){var K=_a();return Bt(K,"click",x.toggle),J(K,M(Ko,{size:11,get class(){return x.isListening()?"animate-pulse":""}})),ue(ce=>{var xe=Ie("contain-layout shrink-0 flex items-center justify-center px-[3px] py-[3px] rounded-xs [border-width:0.5px] border-solid size-fit cursor-pointer transition-all hover:scale-105",x.isListening()?"bg-grab-purple border-grab-purple text-white":"bg-white border-[#B3B3B3] text-black/50 hover:text-black"),Pe=x.isListening()?"Stop listening":"Start voice input";return xe!==ce.e&&Fe(K,ce.e=xe),Pe!==ce.t&&Le(K,"title",ce.t=Pe),ce},{e:void 0,t:void 0}),K}}),$),$.$$click=m,ue(K=>{var ce=x.isListening()?"listening...":e.hasAgent?"type or speak to edit":"type to edit",xe=Ie("w-2.5 h-[9px] shrink-0 bg-cover bg-center transition-opacity duration-100",e.inputValue?"opacity-[0.99]":"opacity-50");return ce!==K.e&&Le(G,"placeholder",K.e=ce),xe!==K.t&&Fe(ee,K.t=xe),K},{e:void 0,t:void 0}),ue(()=>G.value=e.inputValue??""),H}}),null),L}}),null),ue(L=>{var B=`${j().top}px`,H=`${j().left}px`,G=e.visible?"auto":"none",O=e.status==="fading"?0:1,$=e.status==="copied"||e.status==="fading"?"none":void 0;return B!==L.e&&pe(f,"top",L.e=B),H!==L.t&&pe(f,"left",L.t=H),G!==L.a&&pe(f,"pointer-events",L.a=G),O!==L.o&&pe(f,"opacity",L.o=O),$!==L.i&&pe(_,"display",L.i=$),L},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),f}})};dn(["click","pointerdown","mousedown","input","keydown"]);var $a=re('<div class="fixed z-2147483647"><button data-react-grab-selection-cursor>'),Qo=e=>{let[t,n]=R(false),[r,i]=R(false);ne(()=>{let a=e.visible!==false;if(e.x,e.y,i(false),a){let l=setTimeout(()=>i(true),500);ge(()=>clearTimeout(l));}});let o=a=>{a.preventDefault(),a.stopPropagation(),e.onClick?.();};return M(se,{get when(){return r()},get children(){return [M(se,{get when(){return be(()=>!!t())()&&e.elementBounds},get children(){return M(lt,{variant:"selection",get bounds(){return e.elementBounds},visible:true})}}),(()=>{var a=$a(),l=a.firstChild;return a.addEventListener("mouseleave",()=>n(false)),a.addEventListener("mouseenter",()=>n(true)),l.$$click=o,ue(c=>{var u=`${e.x}px`,b=`${e.y}px`,g=Ie("absolute left-0 top-0 -translate-x-1/2 -translate-y-1/2 bg-grab-pink cursor-pointer rounded-full transition-[width,height] duration-150",t()?"w-1 h-5.5 brightness-125":"w-0.5 h-5 animate-pulse");return u!==c.e&&pe(a,"left",c.e=u),b!==c.t&&pe(a,"top",c.t=b),g!==c.a&&Fe(l,c.a=g),c},{e:void 0,t:void 0,a:void 0}),a})(),M(se,{get when(){return be(()=>!!t())()&&e.elementBounds},get children(){return M(St,{get tagName(){return e.tagName},get selectionBounds(){return e.elementBounds},get mouseX(){return e.x},visible:true,get onSubmit(){return e.onClick}})}})]}})};dn(["click"]);var ei=e=>[M(se,{get when(){return be(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return M(lt,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible},get isFading(){return e.selectionLabelStatus==="fading"}})}}),M(se,{get when(){return be(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return M(Vo,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),M(se,{get when(){return be(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return M(lt,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),M(Dt,{get each(){return e.grabbedBoxes??[]},children:t=>M(lt,{variant:"grabbed",get bounds(){return t.bounds},get createdAt(){return t.createdAt}})}),M(Dt,{get each(){return be(()=>!!e.agentSessions)()?Array.from(e.agentSessions.values()):[]},children:t=>[M(se,{get when(){return t.selectionBounds},get children(){return M(lt,{variant:"processing",get bounds(){return t.selectionBounds},visible:true,get isCompleted(){return !t.isStreaming}})}}),M(St,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.selectionBounds},get mouseX(){return t.position.x},visible:true,hasAgent:true,get status(){return t.isStreaming?"copying":"copied"},get statusText(){return t.lastStatus||"Please wait\u2026"},get inputValue(){return t.context.prompt},onAbort:()=>e.onAbortSession?.(t.id)})]}),M(se,{get when(){return be(()=>!!e.selectionLabelVisible)()&&e.selectionBounds},get children(){return M(St,{get tagName(){return e.selectionTagName},get componentName(){return e.selectionComponentName},get selectionBounds(){return e.selectionBounds},get mouseX(){return e.mouseX},get visible(){return e.selectionLabelVisible},get isInputExpanded(){return e.isInputExpanded},get inputValue(){return e.inputValue},get hasAgent(){return e.hasAgent},get status(){return e.selectionLabelStatus},get filePath(){return e.selectionFilePath},get lineNumber(){return e.selectionLineNumber},get onInputChange(){return e.onInputChange},get onSubmit(){return e.onInputSubmit},get onCancel(){return e.onInputCancel},get onToggleExpand(){return e.onToggleExpand},onOpen:()=>{if(e.selectionFilePath){let t=fn(e.selectionFilePath,e.selectionLineNumber);window.open(t,"_blank");}}})}}),M(Dt,{get each(){return e.labelInstances??[]},children:t=>M(St,{get tagName(){return t.tagName},get componentName(){return t.componentName},get selectionBounds(){return t.bounds},get mouseX(){return t.mouseX},visible:true,get status(){return t.status}})}),M(se,{get when(){return be(()=>!!(e.nativeSelectionCursorVisible&&e.nativeSelectionCursorX!==void 0))()&&e.nativeSelectionCursorY!==void 0},get children(){return M(Qo,{get x(){return e.nativeSelectionCursorX},get y(){return e.nativeSelectionCursorY},get tagName(){return e.nativeSelectionTagName},get componentName(){return e.nativeSelectionComponentName},get elementBounds(){return e.nativeSelectionBounds},get visible(){return e.nativeSelectionCursorVisible},get onClick(){return e.onNativeSelectionCopy},get onEnter(){return e.onNativeSelectionEnter}})}})];var ri="0.5.25",bn=`bippy-${ri}`,ti=Object.defineProperty,Fa=Object.prototype.hasOwnProperty,jt=()=>{},oi=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw 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{}},yn=(e=Ve())=>"getFiberRoots"in e,ii=false,ni,Vt=(e=Ve())=>ii?true:(typeof e.inject=="function"&&(ni=e.inject.toString()),!!ni?.includes("(injected)")),gn=new Set,ut=new Set,si=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:bn,checkDCE:oi,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),ut.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,gn.forEach(a=>a())),o},on:jt,onCommitFiberRoot:jt,onCommitFiberUnmount:jt,onPostCommitFiberRoot:jt,renderers:t,supportsFiber:true,supportsFlight:true};try{ti(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(a){if(a&&typeof a=="object"){let l=r.renderers;r=a,l.size>0&&(l.forEach((c,u)=>{ut.add(c),a.renderers.set(u,c);}),hn(e));}}});let i=window.hasOwnProperty,o=!1;ti(window,"hasOwnProperty",{configurable:!0,value:function(...a){try{if(!o&&a[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,a)},writable:!0});}catch{hn(e);}return r},hn=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=oi,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=bn,t._instrumentationIsActive=!1;let n=yn(t);if(n||(t.on=jt),t.renderers.size){t._instrumentationIsActive=!0,gn.forEach(o=>o());return}let r=t.inject,i=Vt(t);i&&!n&&(ii=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let a=r(o);return ut.add(o),i&&t.renderers.set(a,o),t._instrumentationIsActive=!0,gn.forEach(l=>l()),a};}(t.renderers.size||t._instrumentationIsActive||Vt())&&e?.();}catch{}},Jn=()=>Fa.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),Ve=e=>Jn()?(hn(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):si(e),ai=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),Qn=()=>{try{ai()&&Ve();}catch{}};var er=0,tr=1;var nr=5;var rr=11,or=13;var ir=15,sr=16;var ar=19;var lr=26,cr=27,ur=28,dr=30;function fr(e,t,n=false){if(!e)return null;let r=t(e);if(r instanceof Promise)return (async()=>{if(await r===true)return e;let o=n?e.return:e.child;for(;o;){let a=await pr(o,t,n);if(a)return a;o=n?null:o.sibling;}return null})();if(r===true)return e;let i=n?e.return:e.child;for(;i;){let o=mr(i,t,n);if(o)return o;i=n?null:i.sibling;}return null}var mr=(e,t,n=false)=>{if(!e)return null;if(t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=mr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null},pr=async(e,t,n=false)=>{if(!e)return null;if(await t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=await pr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var gr=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?gr(t.type||t.render):null},Gt=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let n=t.displayName||t.name||null;if(n)return n;let r=gr(t);return r&&(r.displayName||r.name)||null};var Ct=()=>!!Ve()._instrumentationIsActive||yn()||Vt();var hr=e=>{let t=Ve();for(let n of t.renderers.values())try{let r=n.findFiberByHostInstance?.(e);if(r)return r}catch{}if(typeof e=="object"&&e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;for(let n in e)if(n.startsWith("__reactContainer$")||n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber"))return e[n]||null}return null};var Ka=Object.create,gi=Object.defineProperty,Ya=Object.getOwnPropertyDescriptor,Xa=Object.getOwnPropertyNames,qa=Object.getPrototypeOf,Wa=Object.prototype.hasOwnProperty,Za=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ja=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=Xa(t),o=0,a=i.length,l;o<a;o++)l=i[o],!Wa.call(e,l)&&l!==n&&gi(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=Ya(t,l))||r.enumerable});return e},Qa=(e,t,n)=>(n=e==null?{}:Ka(qa(e)),Ja(gi(n,"default",{value:e,enumerable:true}),e)),li=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,el=["rsc://","file:///","webpack://","webpack-internal://","node:","turbopack://","metro://","/app-pages-browser/"],ci="about://React/",tl=["<anonymous>","eval",""],nl=/\.(jsx|tsx|ts|js)$/,rl=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,ol=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,hi="(at Server)",il=/(^|@)\S+:\d+/,bi=/^\s*at .*(\S+:\d+|\(native\))/m,sl=/^(eval@)?(\[native code\])?$/;var yi=(e,t)=>{{let n=e.split(`
11
- `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=ui(i,void 0)[0];o&&r.push(o);}else if(/^\s*in\s+/.test(i)){let o=i.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");r.push({functionName:o,source:i});}else if(i.match(il)){let o=di(i,void 0)[0];o&&r.push(o);}return wr(r,t)}},wi=e=>{if(!e.includes(":"))return [e,void 0,void 0];let t=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=t.exec(e.replace(/[()]/g,""));return [n[1],n[2]||void 0,n[3]||void 0]},wr=(e,t)=>t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e;var ui=(e,t)=>wr(e.split(`
12
- `).filter(r=>!!r.match(bi)),t).map(r=>{let i=r;i.includes("(eval ")&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let o=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),a=o.match(/ (\(.+\)$)/);o=a?o.replace(a[0],""):o;let l=wi(a?a[1]:o),c=a&&o||void 0,u=["eval","<anonymous>"].includes(l[0])?void 0:l[0];return {functionName:c,fileName:u,lineNumber:l[1]?+l[1]:void 0,columnNumber:l[2]?+l[2]:void 0,source:i}});var di=(e,t)=>wr(e.split(`
13
- `).filter(r=>!r.match(sl)),t).map(r=>{let i=r;if(i.includes(" > eval")&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!i.includes("@")&&!i.includes(":"))return {functionName:i};{let o=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,a=i.match(o),l=a&&a[1]?a[1]:void 0,c=wi(i.replace(o,""));return {functionName:l,fileName:c[0],lineNumber:c[1]?+c[1]:void 0,columnNumber:c[2]?+c[2]:void 0,source:i}}});var al=Za((e,t)=>{(function(n,r){typeof e=="object"&&t!==void 0?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.sourcemapCodec={}));})(void 0,function(n){let r=44,i=59,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let y=0;y<o.length;y++){let p=o.charCodeAt(y);a[y]=p,l[p]=y;}function c(y,p){let m=0,f=0,_=0;do{let L=y.next();_=l[L],m|=(_&31)<<f,f+=5;}while(_&32);let X=m&1;return m>>>=1,X&&(m=-2147483648|-m),p+m}function u(y,p,m){let f=p-m;f=f<0?-f<<1|1:f<<1;do{let _=f&31;f>>>=5,f>0&&(_|=32),y.write(a[_]);}while(f>0);return p}function b(y,p){return y.pos>=p?false:y.peek()!==r}let g=1024*16,T=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let p="";for(let m=0;m<y.length;m++)p+=String.fromCharCode(y[m]);return p}};class w{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(g);}write(p){let{buffer:m}=this;m[this.pos++]=p,this.pos===g&&(this.out+=T.decode(m),this.pos=0);}flush(){let{buffer:p,out:m,pos:f}=this;return f>0?m+T.decode(p.subarray(0,f)):m}}class x{constructor(p){this.pos=0,this.buffer=p;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(p){let{buffer:m,pos:f}=this,_=m.indexOf(p,f);return _===-1?m.length:_}}let A=[];function P(y){let{length:p}=y,m=new x(y),f=[],_=[],X=0;for(;m.pos<p;m.pos++){X=c(m,X);let L=c(m,0);if(!b(m,p)){let ee=_.pop();ee[2]=X,ee[3]=L;continue}let B=c(m,0),H=c(m,0),G=H&1,O=G?[X,L,0,0,B,c(m,0)]:[X,L,0,0,B],$=A;if(b(m,p)){$=[];do{let ee=c(m,0);$.push(ee);}while(b(m,p))}O.vars=$,f.push(O),_.push(O);}return f}function E(y){let p=new w;for(let m=0;m<y.length;)m=v(y,m,p,[0]);return p.flush()}function v(y,p,m,f){let _=y[p],{0:X,1:L,2:B,3:H,4:G,vars:O}=_;p>0&&m.write(r),f[0]=u(m,X,f[0]),u(m,L,0),u(m,G,0);let $=_.length===6?1:0;u(m,$,0),_.length===6&&u(m,_[5],0);for(let ee of O)u(m,ee,0);for(p++;p<y.length;){let ee=y[p],{0:V,1:K}=ee;if(V>B||V===B&&K>=H)break;p=v(y,p,m,f);}return m.write(r),f[0]=u(m,B,f[0]),u(m,H,0),p}function N(y){let{length:p}=y,m=new x(y),f=[],_=[],X=0,L=0,B=0,H=0,G=0,O=0,$=0,ee=0;do{let V=m.indexOf(";"),K=0;for(;m.pos<V;m.pos++){if(K=c(m,K),!b(m,V)){let he=_.pop();he[2]=X,he[3]=K;continue}let ce=c(m,0),xe=ce&1,Pe=ce&2,Be=ce&4,At=null,tt=A,He;if(xe){let he=c(m,L);B=c(m,L===he?B:0),L=he,He=[X,K,0,0,he,B];}else He=[X,K,0,0];if(He.isScope=!!Be,Pe){let he=H,Ce=G;H=c(m,H);let Ye=he===H;G=c(m,Ye?G:0),O=c(m,Ye&&Ce===G?O:0),At=[H,G,O];}if(He.callsite=At,b(m,V)){tt=[];do{$=X,ee=K;let he=c(m,0),Ce;if(he<-1){Ce=[[c(m,0)]];for(let Ye=-1;Ye>he;Ye--){let de=$;$=c(m,$),ee=c(m,$===de?ee:0);let $e=c(m,0);Ce.push([$e,$,ee]);}}else Ce=[[he]];tt.push(Ce);}while(b(m,V))}He.bindings=tt,f.push(He),_.push(He);}X++,m.pos=V+1;}while(m.pos<p);return f}function z(y){if(y.length===0)return "";let p=new w;for(let m=0;m<y.length;)m=I(y,m,p,[0,0,0,0,0,0,0]);return p.flush()}function I(y,p,m,f){let _=y[p],{0:X,1:L,2:B,3:H,isScope:G,callsite:O,bindings:$}=_;f[0]<X?(j(m,f[0],X),f[0]=X,f[1]=0):p>0&&m.write(r),f[1]=u(m,_[1],f[1]);let ee=(_.length===6?1:0)|(O?2:0)|(G?4:0);if(u(m,ee,0),_.length===6){let{4:V,5:K}=_;V!==f[2]&&(f[3]=0),f[2]=u(m,V,f[2]),f[3]=u(m,K,f[3]);}if(O){let{0:V,1:K,2:ce}=_.callsite;V===f[4]?K!==f[5]&&(f[6]=0):(f[5]=0,f[6]=0),f[4]=u(m,V,f[4]),f[5]=u(m,K,f[5]),f[6]=u(m,ce,f[6]);}if($)for(let V of $){V.length>1&&u(m,-V.length,0);let K=V[0][0];u(m,K,0);let ce=X,xe=L;for(let Pe=1;Pe<V.length;Pe++){let Be=V[Pe];ce=u(m,Be[1],ce),xe=u(m,Be[2],xe),u(m,Be[0],0);}}for(p++;p<y.length;){let V=y[p],{0:K,1:ce}=V;if(K>B||K===B&&ce>=H)break;p=I(y,p,m,f);}return f[0]<B?(j(m,f[0],B),f[0]=B,f[1]=0):m.write(r),f[1]=u(m,H,f[1]),p}function j(y,p,m){do y.write(i);while(++p<m)}function W(y){let{length:p}=y,m=new x(y),f=[],_=0,X=0,L=0,B=0,H=0;do{let G=m.indexOf(";"),O=[],$=true,ee=0;for(_=0;m.pos<G;){let V;_=c(m,_),_<ee&&($=false),ee=_,b(m,G)?(X=c(m,X),L=c(m,L),B=c(m,B),b(m,G)?(H=c(m,H),V=[_,X,L,B,H]):V=[_,X,L,B]):V=[_],O.push(V),m.pos++;}$||Y(O),f.push(O),m.pos=G+1;}while(m.pos<=p);return f}function Y(y){y.sort(U);}function U(y,p){return y[0]-p[0]}function te(y){let p=new w,m=0,f=0,_=0,X=0;for(let L=0;L<y.length;L++){let B=y[L];if(L>0&&p.write(i),B.length===0)continue;let H=0;for(let G=0;G<B.length;G++){let O=B[G];G>0&&p.write(r),H=u(p,O[0],H),O.length!==1&&(m=u(p,O[1],m),f=u(p,O[2],f),_=u(p,O[3],_),O.length!==4&&(X=u(p,O[4],X)));}}return p.flush()}n.decode=W,n.decodeGeneratedRanges=N,n.decodeOriginalScopes=P,n.encode=te,n.encodeGeneratedRanges=z,n.encodeOriginalScopes=E,Object.defineProperty(n,"__esModule",{value:true});});}),xi=Qa(al()),vi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,ll=/^data:application\/json[^,]+base64,/,cl=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,Si=typeof WeakRef<"u",Ut=new Map,wn=new Map,ul=e=>Si&&e instanceof WeakRef,fi=(e,t,n,r)=>{if(n<0||n>=e.length)return null;let i=e[n];if(!i||i.length===0)return null;let o=null;for(let b of i)if(b[0]<=r)o=b;else break;if(!o||o.length<4)return null;let[,a,l,c]=o;if(a===void 0||l===void 0||c===void 0)return null;let u=t[a];return u?{columnNumber:c,fileName:u,lineNumber:l+1}:null},dl=(e,t,n)=>{if(e.sections){let r=null;for(let a of e.sections)if(t>a.offset.line||t===a.offset.line&&n>=a.offset.column)r=a;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return fi(r.map.mappings,r.map.sources,i,o)}return fi(e.mappings,e.sources,t-1,n)},fl=(e,t)=>{let n=t.split(`
14
- `),r;for(let o=n.length-1;o>=0&&!r;o--){let a=n[o].match(cl);a&&(r=a[1]||a[2]);}if(!r)return null;let i=vi.test(r);if(!(ll.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},ml=e=>({file:e.file,mappings:(0, xi.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),pl=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, xi.decode)(r.mappings)},offset:i})),n=new Set;for(let r of t)for(let i of r.map.sources)n.add(i);return {file:e.file,mappings:[],names:[],sections:t,sourceRoot:void 0,sources:Array.from(n),sourcesContent:void 0,version:3}},mi=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(vi);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},gl=async(e,t=fetch)=>{if(!mi(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=fl(e,n);if(!r||!mi(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?pl(o):ml(o)}catch{return null}},hl=async(e,t=true,n)=>{if(t&&Ut.has(e)){let o=Ut.get(e);if(o==null)return null;if(ul(o)){let a=o.deref();if(a)return a;Ut.delete(e);}else return o}if(t&&wn.has(e))return wn.get(e);let r=gl(e,n);t&&wn.set(e,r);let i=await r;return t&&wn.delete(e),t&&(i===null?Ut.set(e,null):Ut.set(e,Si?new WeakRef(i):i)),i},bl=async(e,t=true,n)=>await Promise.all(e.map(async r=>{if(!r.fileName)return r;let i=await hl(r.fileName,t,n);if(!i||typeof r.lineNumber!="number"||typeof r.columnNumber!="number")return r;let o=dl(i,r.lineNumber,r.columnNumber);return o?{...r,source:o.fileName&&r.source?r.source.replace(r.fileName,o.fileName):r.source,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,isSymbolicated:true}:r})),yl=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",wl=()=>{let e=Ve();for(let t of [...Array.from(ut),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},pi=e=>{for(let t of ut){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},Ge=e=>`
15
- in ${e}`,xl=(e,t)=>{let n=Ge(e);return t&&(n+=` (at ${t})`),n},br=false,yr=(e,t)=>{if(!e||br)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,br=true;let r=wl();pi(null);let i=console.error,o=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let T;try{if(t){let w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[]);}catch(x){T=x;}Reflect.construct(e,[],w);}else {try{w.call();}catch(x){T=x;}e.call(w.prototype);}}else {try{throw Error()}catch(x){T=x;}let w=e();w&&typeof w.catch=="function"&&w.catch(()=>{});}}catch(w){if(w instanceof Error&&T instanceof Error&&typeof w.stack=="string")return [w.stack,T.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[b,g]=c.DetermineComponentFrameRoot();if(b&&g){let T=b.split(`
16
- `),w=g.split(`
17
- `),x=0,A=0;for(;x<T.length&&!T[x].includes("DetermineComponentFrameRoot");)x++;for(;A<w.length&&!w[A].includes("DetermineComponentFrameRoot");)A++;if(x===T.length||A===w.length)for(x=T.length-1,A=w.length-1;x>=1&&A>=0&&T[x]!==w[A];)A--;for(;x>=1&&A>=0;x--,A--)if(T[x]!==w[A]){if(x!==1||A!==1)do if(x--,A--,A<0||T[x]!==w[A]){let P=`
18
- ${T[x].replace(" at new "," at ")}`,E=Gt(e);return E&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",E)),P}while(x>=1&&A>=0);break}}}finally{br=false,Error.prepareStackTrace=n,pi(r),console.error=i,console.warn=o;}let a=e?Gt(e):"";return a?Ge(a):""},vl=(e,t)=>{let n=e.tag,r="";switch(n){case ur:r=Ge("Activity");break;case tr:r=yr(e.type,true);break;case rr:r=yr(e.type.render,false);break;case er:case ir:r=yr(e.type,false);break;case nr:case lr:case cr:r=Ge(e.type);break;case sr:r=Ge("Lazy");break;case or:r=e.child!==t&&t!==null?Ge("Suspense Fallback"):Ge("Suspense");break;case ar:r=Ge("SuspenseList");break;case dr:r=Ge("ViewTransition");break;default:return ""}return r},Sl=e=>{try{let t="",n=e,r=null;do{t+=vl(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let a=i[o];typeof a.name=="string"&&(t+=xl(a.name,a.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
9
+ var Ms=(e,t)=>e===t;var Ao=Symbol("solid-track"),fn={equals:Ms},_o=Oo,$e=1,Xt=2,No={owned:null,cleanups:null,context:null,owner:null},rr={},J=null,S=null,Tt=null,ce=null,ye=null,Ee=null,gn=0;function Ze(e,t){let n=ce,r=J,i=e.length===0,o=t===void 0?r:t,a=i?No:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=i?e:()=>e(()=>ke(()=>it(a)));J=a,ce=null;try{return Pe(l,!0)}finally{ce=n,J=r;}}function N(e,t){t=t?Object.assign({},fn,t):fn;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),Mo(n,i));return [Lo.bind(n),r]}function So(e,t,n){let r=bn(e,t,true,$e);_t(r);}function me(e,t,n){let r=bn(e,t,false,$e);_t(r);}function re(e,t,n){_o=Ds;let r=bn(e,t,false,$e);(r.user=true),Ee?Ee.push(r):_t(r);}function ae(e,t,n){n=n?Object.assign({},fn,n):fn;let r=bn(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,_t(r),Lo.bind(r)}function Os(e){return e&&typeof e=="object"&&"then"in e}function hn(e,t,n){let r,i,o;typeof t=="function"?(r=e,i=t,o={}):(r=true,i=e,o=t||{});let a=null,l=rr,g=false,p="initialValue"in o,A=typeof r=="function"&&ae(r),x=new Set,[C,_]=(o.storage||N)(o.initialValue),[D,T]=N(void 0),[v,R]=N(void 0,{equals:false}),[H,M]=N(p?"ready":"unresolved");function z(h,m,f,y){return a===h&&(a=null,y!==void 0&&(p=true),(h===l||m===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(y,{value:m})),l=rr,U(m,f)),m}function U(h,m){Pe(()=>{m===void 0&&_(()=>h),M(m!==void 0?"errored":p?"ready":"unresolved"),T(m);for(let f of x.keys())f.decrement();x.clear();},false);}function K(){let h=Wt,m=C(),f=D();if(f!==void 0&&!a)throw f;return ce&&!ce.user&&h,m}function Y(h=true){if(h!==false&&g)return;g=false;let m=A?A():r;if(m==null||m===false){z(a,ke(C));return}let f,y=l!==rr?l:ke(()=>{try{return i(m,{value:C(),refetching:h})}catch(O){f=O;}});if(f!==void 0){z(a,void 0,dn(f),m);return}else if(!Os(y))return z(a,y,void 0,m),y;return a=y,"v"in y?(y.s===1?z(a,y.v,void 0,m):z(a,void 0,dn(y.v),m),y):(g=true,queueMicrotask(()=>g=false),Pe(()=>{M(p?"refreshing":"pending"),R();},false),y.then(O=>z(y,O,void 0,m),O=>z(y,void 0,dn(O),m)))}Object.defineProperties(K,{state:{get:()=>H()},error:{get:()=>D()},loading:{get(){let h=H();return h==="pending"||h==="refreshing"}},latest:{get(){if(!p)return K();let h=D();if(h&&!a)throw h;return C()}}});let ne=J;return A?So(()=>(ne=J,Y(false))):Y(false),[K,{refetch:h=>Ro(ne,()=>Y(h)),mutate:_}]}function ke(e){if(ce===null)return e();let t=ce;ce=null;try{return Tt?Tt.untrack(e):e()}finally{ce=t;}}function Re(e,t,n){let r=Array.isArray(e),i;return a=>{let l;if(r){l=Array(e.length);for(let u=0;u<e.length;u++)l[u]=e[u]();}else l=e();let c=ke(()=>t(l,i,a));return i=l,c}}function sr(e){re(()=>ke(e));}function be(e){return J===null||(J.cleanups===null?J.cleanups=[e]:J.cleanups.push(e)),e}function Ro(e,t){let n=J,r=ce;J=e,ce=null;try{return Pe(t,!0)}catch(i){yn(i);}finally{J=n,ce=r;}}var[Ec,Eo]=N(false);var Wt;function Lo(){let e=S;if(this.sources&&(this.state))if((this.state)===$e)_t(this);else {let t=ye;ye=null,Pe(()=>mn(this),false),ye=t;}if(ce){let t=this.observers?this.observers.length:0;ce.sources?(ce.sources.push(this),ce.sourceSlots.push(t)):(ce.sources=[this],ce.sourceSlots=[t]),this.observers?(this.observers.push(ce),this.observerSlots.push(ce.sources.length-1)):(this.observers=[ce],this.observerSlots=[ce.sources.length-1]);}return e&&S.sources.has(this)?this.tValue:this.value}function Mo(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&Pe(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],a=S&&S.running;a&&S.disposed.has(o)||((a?!o.tState:!o.state)&&(o.pure?ye.push(o):Ee.push(o),o.observers&&Po(o)),a?o.tState=$e:o.state=$e);}if(ye.length>1e6)throw ye=[],new Error},false);}return t}function _t(e){if(!e.fn)return;it(e);let t=gn;ko(e,e.value,t);}function ko(e,t,n){let r,i=J,o=ce;ce=J=e;try{r=e.fn(t);}catch(a){return e.pure&&((e.state=$e,e.owned&&e.owned.forEach(it),e.owned=null)),e.updatedAt=n+1,yn(a)}finally{ce=o,J=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Mo(e,r):e.value=r,e.updatedAt=n);}function bn(e,t,n,r=$e,i){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:J,context:J?J.context:null,pure:n};if(J===null||J!==No&&(J.owned?J.owned.push(o):J.owned=[o]),Tt);return o}function qt(e){let t=S;if((e.state)===0)return;if((e.state)===Xt)return mn(e);if(e.suspense&&ke(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<gn);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===$e)_t(e);else if((e.state)===Xt){let i=ye;ye=null,Pe(()=>mn(e,n[0]),false),ye=i;}}}function Pe(e,t){if(ye)return e();let n=false;t||(ye=[]),Ee?n=true:Ee=[],gn++;try{let r=e();return $s(n),r}catch(r){n||(Ee=null),ye=null,yn(r);}}function $s(e){if(ye&&(Oo(ye),ye=null),e)return;let n=Ee;Ee=null,n.length&&Pe(()=>_o(n),false);}function Oo(e){for(let t=0;t<e.length;t++)qt(e[t]);}function Ds(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:qt(r);}for(t=0;t<n;t++)qt(e[t]);}function mn(e,t){e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let o=i.state;o===$e?i!==t&&(!i.updatedAt||i.updatedAt<gn)&&qt(i):o===Xt&&mn(i,t);}}}function Po(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=Xt,r.pure?ye.push(r):Ee.push(r),r.observers&&Po(r));}}function it(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),i=n.observers;if(i&&i.length){let o=i.pop(),a=n.observerSlots.pop();r<i.length&&(o.sourceSlots[a]=r,i[r]=o,n.observerSlots[r]=a);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)it(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)it(e.owned[t]);e.owned=null;}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null;}e.state=0;}function dn(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function yn(e,t=J){let r=dn(e);throw r;}var ir=Symbol("fallback");function pn(e){for(let t=0;t<e.length;t++)e[t]();}function Bs(e,t,n={}){let r=[],i=[],o=[],a=0,l=t.length>1?[]:null;return be(()=>pn(o)),()=>{let c=e()||[],u=c.length,g,p;return c[Ao],ke(()=>{let x,C,_,D,T,v,R,H,M;if(u===0)a!==0&&(pn(o),o=[],r=[],i=[],a=0,l&&(l=[])),n.fallback&&(r=[ir],i[0]=Ze(z=>(o[0]=z,n.fallback())),a=1);else if(a===0){for(i=new Array(u),p=0;p<u;p++)r[p]=c[p],i[p]=Ze(A);a=u;}else {for(_=new Array(u),D=new Array(u),l&&(T=new Array(u)),v=0,R=Math.min(a,u);v<R&&r[v]===c[v];v++);for(R=a-1,H=u-1;R>=v&&H>=v&&r[R]===c[H];R--,H--)_[H]=i[R],D[H]=o[R],l&&(T[H]=l[R]);for(x=new Map,C=new Array(H+1),p=H;p>=v;p--)M=c[p],g=x.get(M),C[p]=g===void 0?-1:g,x.set(M,p);for(g=v;g<=R;g++)M=r[g],p=x.get(M),p!==void 0&&p!==-1?(_[p]=i[g],D[p]=o[g],l&&(T[p]=l[g]),p=C[p],x.set(M,p)):o[g]();for(p=v;p<u;p++)p in _?(i[p]=_[p],o[p]=D[p],l&&(l[p]=T[p],l[p](p))):i[p]=Ze(A);i=i.slice(0,a=u),r=c.slice(0);}return i});function A(x){if(o[p]=x,l){let[C,_]=N(p);return l[p]=_,t(c[p],C)}return t(c[p])}}}function Hs(e,t,n={}){let r=[],i=[],o=[],a=[],l=0,c;return be(()=>pn(o)),()=>{let u=e()||[],g=u.length;return u[Ao],ke(()=>{if(g===0)return l!==0&&(pn(o),o=[],r=[],i=[],l=0,a=[]),n.fallback&&(r=[ir],i[0]=Ze(A=>(o[0]=A,n.fallback())),l=1),i;for(r[0]===ir&&(o[0](),o=[],r=[],i=[],l=0),c=0;c<g;c++)c<r.length&&r[c]!==u[c]?a[c](()=>u[c]):c>=r.length&&(i[c]=Ze(p));for(;c<r.length;c++)o[c]();return l=a.length=o.length=g,r=u.slice(0),i=i.slice(0,l)});function p(A){o[c]=A;let[x,C]=N(u[c]);return a[c]=C,t(x,c)}}}function I(e,t){return ke(()=>e(t||{}))}var js=e=>`Stale read from <${e}>.`;function wn(e){let t="fallback"in e&&{fallback:()=>e.fallback};return ae(Bs(()=>e.each,e.children,t||void 0))}function ar(e){let t="fallback"in e&&{fallback:()=>e.fallback};return ae(Hs(()=>e.each,e.children,t||void 0))}function le(e){let t=e.keyed,n=ae(()=>e.when,void 0,void 0),r=t?n:ae(n,void 0,{equals:(i,o)=>!i==!o});return ae(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?ke(()=>o(t?i:()=>{if(!ke(r))throw js("Show");return n()})):o}return e.fallback},void 0,void 0)}var Te=e=>ae(()=>e());function Us(e,t,n){let r=n.length,i=t.length,o=r,a=0,l=0,c=t[i-1].nextSibling,u=null;for(;a<i||l<o;){if(t[a]===n[l]){a++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===a){let g=o<r?l?n[l-1].nextSibling:n[o-l]:c;for(;l<o;)e.insertBefore(n[l++],g);}else if(o===l)for(;a<i;)(!u||!u.has(t[a]))&&t[a].remove(),a++;else if(t[a]===n[o-1]&&n[l]===t[i-1]){let g=t[--i].nextSibling;e.insertBefore(n[l++],t[a++].nextSibling),e.insertBefore(n[--o],g),t[i]=n[o];}else {if(!u){u=new Map;let p=l;for(;p<o;)u.set(n[p],p++);}let g=u.get(t[a]);if(g!=null)if(l<g&&g<o){let p=a,A=1,x;for(;++p<i&&p<o&&!((x=u.get(t[p]))==null||x!==g+A);)A++;if(A>g-l){let C=t[a];for(;l<g;)e.insertBefore(n[l++],C);}else e.replaceChild(n[l++],t[a++]);}else a++;else t[a++].remove();}}}var Fo="_$DX_DELEGATE";function Bo(e,t,n,r={}){let i;return Ze(o=>{i=o,t===document?e():G(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function Z(e,t,n,r){let i,o=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},a=()=>(i||(i=o())).cloneNode(true);return a.cloneNode=a,a}function vn(e,t=window.document){let n=t[Fo]||(t[Fo]=new Set);for(let r=0,i=e.length;r<i;r++){let o=e[r];n.has(o)||(n.add(o),t.addEventListener(o,Ks));}}function Ae(e,t,n){(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function He(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function Rt(e,t,n,r){Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;}function Ho(e,t,n){if(!t)return n?Ae(e,"style"):t;let r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let i,o;for(o in n)t[o]==null&&r.removeProperty(o),delete n[o];for(o in t)i=t[o],i!==n[o]&&(r.setProperty(o,i),n[o]=i);return n}function Ce(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function It(e,t,n){return ke(()=>e(t,n))}function G(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return xn(e,t,r,n);me(i=>xn(e,t(),i,n),r);}function Ks(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),a=()=>{let c=t[n];if(c&&!t.disabled){let u=t[`${n}Data`];if(u!==void 0?c.call(t,u,e):c.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),true},l=()=>{for(;a()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:true,get(){return t||document}}),e.composedPath){let c=e.composedPath();o(c[0]);for(let u=0;u<c.length-2&&(t=c[u],!!a());u++){if(t._$host){t=t._$host,l();break}if(t.parentNode===i)break}}else l();o(r);}function xn(e,t,n,r,i){for(;typeof n=="function";)n=n();if(t===n)return n;let a=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,a==="string"||a==="number"){if(a==="number"&&(t=t.toString(),t===n))return n;if(l){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=Nt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||a==="boolean"){n=Nt(e,n,r);}else {if(a==="function")return me(()=>{let c=t();for(;typeof c=="function";)c=c();n=xn(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],u=n&&Array.isArray(n);if(lr(c,t,n,i))return me(()=>n=xn(e,c,n,r,true)),()=>n;if(c.length===0){if(n=Nt(e,n,r),l)return n}else u?n.length===0?Do(e,c,r):Us(e,n,c):(n&&Nt(e),Do(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(l)return n=Nt(e,n,r,t);Nt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function lr(e,t,n,r){let i=false;for(let o=0,a=t.length;o<a;o++){let l=t[o],c=n&&n[e.length],u;if(!(l==null||l===true||l===false))if((u=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))i=lr(e,l,c)||i;else if(u==="function")if(r){for(;typeof l=="function";)l=l();i=lr(e,Array.isArray(l)?l:[l],Array.isArray(c)?c:[c])||i;}else e.push(l),i=true;else {let g=String(l);c&&c.nodeType===3&&c.data===g?e.push(c):e.push(document.createTextNode(g));}}return i}function Do(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function Nt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let a=t.length-1;a>=0;a--){let l=t[a];if(i!==l){let c=l.parentNode===e;!o&&!a?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var zo=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
10
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-medium:500;--radius-xs:.125rem;--ease-out:cubic-bezier(0,0,.2,1);--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-grab-pink:#b21c8e;--color-grab-purple:#d239c0;--color-label-tag-border:#730079;--color-label-muted:#767676}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-2147483645{z-index:2147483645}.z-2147483646{z-index:2147483646}.z-2147483647{z-index:2147483647}.z-\\[2147483645\\]{z-index:2147483645}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.-mt-px{margin-top:-1px}.-ml-\\[2px\\]{margin-left:-2px}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.size-fit{width:fit-content;height:fit-content}.h-0{height:calc(var(--spacing)*0)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-5\\.5{height:calc(var(--spacing)*5.5)}.h-\\[7px\\]{height:7px}.h-\\[17px\\]{height:17px}.h-\\[18px\\]{height:18px}.h-fit{height:fit-content}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-\\[7px\\]{width:7px}.w-\\[17px\\]{width:17px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[280px\\]{max-width:280px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-crosshair{cursor:crosshair}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-\\[3px\\]{gap:3px}.gap-\\[5px\\]{gap:5px}.gap-px{gap:1px}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\\[1\\.5px\\]{border-radius:1.5px}.rounded-\\[1px\\]{border-radius:1px}.rounded-full{border-radius:3.40282e38px}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-b-xs{border-bottom-right-radius:var(--radius-xs);border-bottom-left-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#7e0002\\]{border-color:#7e0002}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-grab-purple{border-color:var(--color-grab-purple)}.border-grab-purple\\/40{border-color:#d239c066}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/40{border-color:color-mix(in oklab,var(--color-grab-purple)40%,transparent)}}.border-grab-purple\\/50{border-color:#d239c080}@supports (color:color-mix(in lab, red, red)){.border-grab-purple\\/50{border-color:color-mix(in oklab,var(--color-grab-purple)50%,transparent)}}.border-label-tag-border{border-color:var(--color-label-tag-border)}.border-white{border-color:var(--color-white)}.border-t-\\[\\#D9D9D9\\]{border-top-color:#d9d9d9}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black{background-color:var(--color-black)}.bg-grab-pink{background-color:var(--color-grab-pink)}.bg-grab-purple{background-color:var(--color-grab-purple)}.bg-grab-purple\\/5{background-color:#d239c00d}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/5{background-color:color-mix(in oklab,var(--color-grab-purple)5%,transparent)}}.bg-grab-purple\\/8{background-color:#d239c014}@supports (color:color-mix(in lab, red, red)){.bg-grab-purple\\/8{background-color:color-mix(in oklab,var(--color-grab-purple)8%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[2px\\]{padding-inline:2px}.px-\\[3px\\]{padding-inline:3px}.py-0{padding-block:calc(var(--spacing)*0)}.py-1{padding-block:calc(var(--spacing)*1)}.py-\\[2px\\]{padding-block:2px}.py-\\[3px\\]{padding-block:3px}.py-\\[5px\\]{padding-block:5px}.py-px{padding-block:1px}.pt-1{padding-top:calc(var(--spacing)*1)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-1\\.5{padding-right:calc(var(--spacing)*1.5)}.pl-1\\.5{padding-left:calc(var(--spacing)*1.5)}.align-middle{vertical-align:middle}.font-\\[ui-monospace\\,\\'SFMono-Regular\\'\\,\\'SF_Mono\\'\\,\\'Menlo\\'\\,\\'Consolas\\'\\,\\'Liberation_Mono\\'\\,monospace\\]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\\[11\\.5px\\]{font-size:11.5px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-\\[-0\\.04em\\]{--tw-tracking:-.04em;letter-spacing:-.04em}.tracking-\\[-0\\.08em\\]{--tw-tracking:-.08em;letter-spacing:-.08em}.wrap-break-word{overflow-wrap:break-word}.whitespace-normal{white-space:normal}.text-\\[\\#0C0C0C\\]{color:#0c0c0c}.text-\\[\\#47004A\\]{color:#47004a}.text-\\[\\#71717a\\]{color:#71717a}.text-\\[\\#B91C1C\\]{color:#b91c1c}.text-\\[\\#c00002\\]{color:#c00002}.text-black{color:var(--color-black)}.text-label-muted{color:var(--color-label-muted)}.text-label-tag-border{color:var(--color-label-tag-border)}.text-white{color:var(--color-white)}.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,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.opacity-\\[0\\.99\\]{opacity:.99}.brightness-125{--tw-brightness:brightness(125%);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,)}.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,)}.filter-\\[drop-shadow\\(0px_0px_4px_\\#51515180\\)\\]{filter:drop-shadow(0 0 4px #51515180)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-30{--tw-duration:30ms;transition-duration:30ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[transform\\,width\\,height\\]{will-change:transform,width,height}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[font-synthesis\\:none\\]{font-synthesis:none}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\\:bg-\\[\\#F5F5F5\\]:hover{background-color:#f5f5f5}.hover\\:bg-\\[\\#FEF2F2\\]:hover{background-color:#fef2f2}.hover\\:opacity-100:hover{opacity:1}}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}`;var Xs=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Ws=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),qs=e=>Array.isArray(e),Zs=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&Ws(r)&&n){let l=e.composedPath()[0];l instanceof HTMLElement&&(i=l.tagName,o=l.role);}else r instanceof HTMLElement&&(i=r.tagName,o=r.role);return qs(t)?!!(i&&t&&t.some(a=>typeof i=="string"&&a.toLowerCase()===i.toLowerCase()||a===o)):!!(i&&t&&t)},jo=e=>Zs(e,Xs);var Vo=e=>{let t=e.tagName.toLowerCase();return !!(t==="input"||t==="textarea"||e instanceof HTMLElement&&e.isContentEditable)},Go=(e,t)=>{let n=document.activeElement;if(n){let r=n;for(;r;){if(Vo(r))return true;r=r.parentElement;}}if(e!==void 0&&t!==void 0){let r=document.elementsFromPoint(e,t);for(let i of r)if(Vo(i))return true}return false};var Lt="data-react-grab",Uo=e=>{let t=document.querySelector(`[${Lt}]`);if(t){let a=t.shadowRoot?.querySelector(`[${Lt}]`);if(a instanceof HTMLDivElement&&t.shadowRoot)return a}let n=document.createElement("div");n.setAttribute(Lt,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let a=document.createElement("style");a.textContent=e,r.appendChild(a);}let i=document.createElement("div");i.setAttribute(Lt,"true"),r.appendChild(i);let o=document.body??document.documentElement;return o.appendChild(n),setTimeout(()=>{o.contains(n)||o.appendChild(n);},1e3),i};var Js="https://react-grab.com",Cn=(e,t)=>{let n=t?`&line=${t}`:"";return `${Js}/open-file?url=${encodeURIComponent(e)}${n}`};var Ko="0.0.72";var Sn=["Meta","Control","Shift","Alt"],Yo='<svg width="294" height="294" viewBox="0 0 294 294" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_0_3)"><mask id="mask0_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="294" height="294"><path d="M294 0H0V294H294V0Z" fill="white"/></mask><g mask="url(#mask0_0_3)"><path d="M144.599 47.4924C169.712 27.3959 194.548 20.0265 212.132 30.1797C227.847 39.2555 234.881 60.3243 231.926 89.516C231.677 92.0069 231.328 94.5423 230.94 97.1058L228.526 110.14C228.517 110.136 228.505 110.132 228.495 110.127C228.486 110.165 228.479 110.203 228.468 110.24L216.255 105.741C216.256 105.736 216.248 105.728 216.248 105.723C207.915 103.125 199.421 101.075 190.82 99.5888L190.696 99.5588L173.526 97.2648L173.511 97.2631C173.492 97.236 173.467 97.2176 173.447 97.1905C163.862 96.2064 154.233 95.7166 144.599 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8624 138.391 86.939 147.193C90.8624 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245C115.749 197.245 115.758 197.246 115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.507 229.974L144.609 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.472 238.38C154.485 238.392 154.499 238.402 154.513 238.412L143.846 247.482L143.827 247.497C126.56 261.128 109.472 268.745 94.8019 268.745C88.5916 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3164 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3363 185.327 9.52301 167.51 9.52301 147.193C9.52301 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3164 60.3243 61.3496 39.2555 77.0657 30.1797C94.6494 20.0265 119.486 27.3959 144.599 47.4924ZM70.6423 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5176 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8516 207.742 83.0977 205.066 70.6423 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1787 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.9311 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.759 110.203C59.234 110.839 57.7378 111.475 56.27 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9104 147.193C67.822 135.23 63.7566 122.855 60.759 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.854 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.6291 47.6015 67.6975 64.5954 70.0424 87.9446L70.0416 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8263 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.773 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.29 38.512C183.321 38.512 169.34 44.4991 154.444 56.0153C163.93 64.9374 172.634 74.6557 180.462 85.064C193.375 86.6345 206.128 89.3102 218.584 93.0624C218.812 91.4325 219.003 89.8118 219.165 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.552 64.3097C138.104 70.2614 132.054 76.6306 126.443 83.3765C132.39 82.995 138.426 82.8046 144.552 82.8046C150.727 82.8046 156.778 83.0143 162.707 83.3765C157.08 76.6293 151.015 70.2596 144.552 64.3097Z" fill="white"/><path d="M144.598 47.4924C169.712 27.3959 194.547 20.0265 212.131 30.1797C227.847 39.2555 234.88 60.3243 231.926 89.516C231.677 92.0069 231.327 94.5423 230.941 97.1058L228.526 110.14L228.496 110.127C228.487 110.165 228.478 110.203 228.469 110.24L216.255 105.741L216.249 105.723C207.916 103.125 199.42 101.075 190.82 99.5888L190.696 99.5588L173.525 97.2648L173.511 97.263C173.492 97.236 173.468 97.2176 173.447 97.1905C163.863 96.2064 154.234 95.7166 144.598 95.7223C134.943 95.7162 125.295 96.219 115.693 97.2286C110.075 105.033 104.859 113.118 100.063 121.453C95.2426 129.798 90.8622 138.391 86.939 147.193C90.8622 155.996 95.2426 164.588 100.063 172.933C104.866 181.302 110.099 189.417 115.741 197.245L115.766 197.247L115.752 197.27L115.745 197.283L115.754 197.296L126.501 211.013L126.574 211.089C132.136 217.767 138.126 224.075 144.506 229.974L144.61 230.082L154.572 238.287C154.539 238.319 154.506 238.35 154.473 238.38L154.512 238.412L143.847 247.482L143.827 247.497C126.56 261.13 109.472 268.745 94.8018 268.745C88.5915 268.837 82.4687 267.272 77.0657 264.208C61.3496 255.132 54.3162 234.062 57.2707 204.871C57.528 202.307 57.8806 199.694 58.2904 197.054C28.3362 185.327 9.52298 167.51 9.52298 147.193C9.52298 129.042 24.2476 112.396 50.9901 100.375C53.3443 99.3163 55.7938 98.3058 58.2904 97.3526C57.8806 94.7023 57.528 92.0803 57.2707 89.516C54.3162 60.3243 61.3496 39.2555 77.0657 30.1797C94.6493 20.0265 119.486 27.3959 144.598 47.4924ZM70.6422 201.315C70.423 202.955 70.2229 204.566 70.0704 206.168C67.6686 229.567 72.5478 246.628 83.3615 252.988L83.5175 253.062C95.0399 259.717 114.015 254.426 134.782 238.38C125.298 229.45 116.594 219.725 108.764 209.314C95.8515 207.742 83.0977 205.066 70.6422 201.315ZM80.3534 163.438C77.34 171.677 74.8666 180.104 72.9484 188.664C81.1786 191.224 89.5657 193.247 98.0572 194.724L98.4618 194.813C95.2115 189.865 92.0191 184.66 88.931 179.378C85.8433 174.097 83.003 168.768 80.3534 163.438ZM60.7589 110.203C59.234 110.839 57.7378 111.475 56.2699 112.11C34.7788 121.806 22.3891 134.591 22.3891 147.193C22.3891 160.493 36.4657 174.297 60.7494 184.26C63.7439 171.581 67.8124 159.182 72.9103 147.193C67.822 135.23 63.7566 122.855 60.7589 110.203ZM98.4137 99.6404C89.8078 101.145 81.3075 103.206 72.9676 105.809C74.8539 114.203 77.2741 122.468 80.2132 130.554L80.3059 130.939C82.9938 125.6 85.8049 120.338 88.8834 115.008C91.9618 109.679 95.1544 104.569 98.4137 99.6404ZM94.9258 38.5215C90.9331 38.4284 86.9866 39.3955 83.4891 41.3243C72.629 47.6015 67.6975 64.5954 70.0424 87.9446L70.0415 88.2194C70.194 89.8208 70.3941 91.4325 70.6134 93.0624C83.0737 89.3364 95.8262 86.6703 108.736 85.0924C116.57 74.6779 125.28 64.9532 134.772 56.0249C119.877 44.5087 105.895 38.5215 94.9258 38.5215ZM205.737 41.3148C202.268 39.398 198.355 38.4308 194.394 38.5099L194.291 38.512C183.321 38.512 169.34 44.4991 154.443 56.0153C163.929 64.9374 172.634 74.6557 180.462 85.064C193.374 86.6345 206.129 89.3102 218.584 93.0624C218.813 91.4325 219.003 89.8118 219.166 88.2098C221.548 64.7099 216.65 47.6164 205.737 41.3148ZM144.551 64.3097C138.103 70.2614 132.055 76.6306 126.443 83.3765C132.389 82.995 138.427 82.8046 144.551 82.8046C150.727 82.8046 156.779 83.0143 162.707 83.3765C157.079 76.6293 151.015 70.2596 144.551 64.3097Z" fill="#FF40E0"/></g><mask id="mask1_0_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="102" y="84" width="161" height="162"><path d="M235.282 84.827L102.261 112.259L129.693 245.28L262.714 217.848L235.282 84.827Z" fill="white"/></mask><g mask="url(#mask1_0_3)"><path d="M136.863 129.916L213.258 141.224C220.669 142.322 222.495 152.179 215.967 155.856L187.592 171.843L184.135 204.227C183.339 211.678 173.564 213.901 169.624 207.526L129.021 141.831C125.503 136.14 130.245 128.936 136.863 129.916Z" fill="#FF40E0" stroke="#FF40E0" stroke-width="0.817337" stroke-linecap="round" stroke-linejoin="round"/></g></g><defs><clipPath id="clip0_0_3"><rect width="294" height="294" fill="white"/></clipPath></defs></svg>';var st=(e,t,n)=>e+(t-e)*n;function Xo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Xo(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Wo(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Xo(e))&&(r&&(r+=" "),r+=t);return r}var fr="-",Qs=e=>{let t=ta(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:a=>{let l=a.split(fr);return l[0]===""&&l.length!==1&&l.shift(),Jo(l,t)||ea(a)},getConflictingClassGroupIds:(a,l)=>{let c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},Jo=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Jo(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(fr);return t.validators.find(({validator:a})=>a(o))?.classGroupId},qo=/^\[(.+)\]$/,ea=e=>{if(qo.test(e)){let t=qo.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},ta=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return ra(Object.entries(e.classGroups),n).forEach(([o,a])=>{dr(a,r,o,t);}),r},dr=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:Zo(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(na(i)){dr(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{dr(a,Zo(t,o),n,r);});});},Zo=(e,t)=>{let n=e;return t.split(fr).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},na=e=>e.isThemeGetter,ra=(e,t)=>t?e.map(([n,r])=>{let i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return [n,i]}):e,oa=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a);}}},Qo="!",ia=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,a=l=>{let c=[],u=0,g=0,p;for(let D=0;D<l.length;D++){let T=l[D];if(u===0){if(T===i&&(r||l.slice(D,D+o)===t)){c.push(l.slice(g,D)),g=D+o;continue}if(T==="/"){p=D;continue}}T==="["?u++:T==="]"&&u--;}let A=c.length===0?l:l.substring(g),x=A.startsWith(Qo),C=x?A.substring(1):A,_=p&&p>g?p-g:void 0;return {modifiers:c,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:_}};return n?l=>n({className:l,parseClassName:a}):a},sa=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r);}),t.push(...n.sort()),t},aa=e=>({cache:oa(e.cacheSize),parseClassName:ia(e),...Qs(e)}),la=/\s+/,ca=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(la),l="";for(let c=a.length-1;c>=0;c-=1){let u=a[c],{modifiers:g,hasImportantModifier:p,baseClassName:A,maybePostfixModifierPosition:x}=n(u),C=!!x,_=r(C?A.substring(0,x):A);if(!_){if(!C){l=u+(l.length>0?" "+l:l);continue}if(_=r(A),!_){l=u+(l.length>0?" "+l:l);continue}C=false;}let D=sa(g).join(":"),T=p?D+Qo:D,v=T+_;if(o.includes(v))continue;o.push(v);let R=i(_,C);for(let H=0;H<R.length;++H){let M=R[H];o.push(T+M);}l=u+(l.length>0?" "+l:l);}return l};function ua(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=ei(t))&&(r&&(r+=" "),r+=n);return r}var ei=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ei(e[r]))&&(n&&(n+=" "),n+=t);return n};function da(e,...t){let n,r,i,o=a;function a(c){let u=t.reduce((g,p)=>p(g),e());return n=aa(u),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){let u=r(c);if(u)return u;let g=ca(c,n);return i(c,g),g}return function(){return o(ua.apply(null,arguments))}}var pe=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},ti=/^\[(?:([a-z-]+):)?(.+)\]$/i,fa=/^\d+\/\d+$/,ma=new Set(["px","full","screen"]),pa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ga=/\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$/,ha=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ba=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ya=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Je=e=>Mt(e)||ma.has(e)||fa.test(e),at=e=>Ot(e,"length",Ta),Mt=e=>!!e&&!Number.isNaN(Number(e)),ur=e=>Ot(e,"number",Mt),Zt=e=>!!e&&Number.isInteger(Number(e)),wa=e=>e.endsWith("%")&&Mt(e.slice(0,-1)),X=e=>ti.test(e),lt=e=>pa.test(e),xa=new Set(["length","size","percentage"]),va=e=>Ot(e,xa,ni),Ca=e=>Ot(e,"position",ni),Sa=new Set(["image","url"]),Ea=e=>Ot(e,Sa,_a),ka=e=>Ot(e,"",Aa),Jt=()=>true,Ot=(e,t,n)=>{let r=ti.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},Ta=e=>ga.test(e)&&!ha.test(e),ni=()=>false,Aa=e=>ba.test(e),_a=e=>ya.test(e);var Na=()=>{let e=pe("colors"),t=pe("spacing"),n=pe("blur"),r=pe("brightness"),i=pe("borderColor"),o=pe("borderRadius"),a=pe("borderSpacing"),l=pe("borderWidth"),c=pe("contrast"),u=pe("grayscale"),g=pe("hueRotate"),p=pe("invert"),A=pe("gap"),x=pe("gradientColorStops"),C=pe("gradientColorStopPositions"),_=pe("inset"),D=pe("margin"),T=pe("opacity"),v=pe("padding"),R=pe("saturate"),H=pe("scale"),M=pe("sepia"),z=pe("skew"),U=pe("space"),K=pe("translate"),Y=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],h=()=>["auto",X,t],m=()=>[X,t],f=()=>["",Je,at],y=()=>["auto",Mt,X],O=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",X],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[Mt,X];return {cacheSize:500,separator:":",theme:{colors:[Jt],spacing:[Je,at],blur:["none","",lt,X],brightness:$(),borderColor:[e],borderRadius:["none","","full",lt,X],borderSpacing:m(),borderWidth:f(),contrast:$(),grayscale:oe(),hueRotate:$(),invert:oe(),gap:m(),gradientColorStops:[e],gradientColorStopPositions:[wa,at],inset:h(),margin:h(),opacity:$(),padding:m(),saturate:$(),scale:$(),sepia:oe(),skew:$(),space:m(),translate:m()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[lt]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"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:[...O(),X]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zt,X]}],basis:[{basis:h()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",Zt,X]}],"grid-cols":[{"grid-cols":[Jt]}],"col-start-end":[{col:["auto",{span:["full",Zt,X]},X]}],"col-start":[{"col-start":y()}],"col-end":[{"col-end":y()}],"grid-rows":[{"grid-rows":[Jt]}],"row-start-end":[{row:["auto",{span:[Zt,X]},X]}],"row-start":[{"row-start":y()}],"row-end":[{"row-end":y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[D]}],mx:[{mx:[D]}],my:[{my:[D]}],ms:[{ms:[D]}],me:[{me:[D]}],mt:[{mt:[D]}],mr:[{mr:[D]}],mb:[{mb:[D]}],ml:[{ml:[D]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[lt]},lt]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",lt,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ur]}],"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",X]}],"line-clamp":[{"line-clamp":["none",Mt,ur]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Je,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Je,at]}],"underline-offset":[{"underline-offset":["auto",Je,X]}],"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:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],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",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...O(),Ca]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",va]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ea]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:W()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Je,X]}],"outline-w":[{outline:[Je,at]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:f()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Je,at]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",lt,ka]}],"shadow-color":[{shadow:[Jt]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",lt,X]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[p]}],saturate:[{saturate:[R]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"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",X]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[Zt,X]}],"translate-x":[{"translate-x":[K]}],"translate-y":[{"translate-y":[K]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],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",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"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",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Je,at,ur]}],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"]}}};var ri=da(Na);var Fe=(...e)=>ri(Wo(e));var Ia=Z("<div style=overflow:visible>"),gt=e=>{let[t,n]=N(e.bounds.x),[r,i]=N(e.bounds.y),[o,a]=N(e.bounds.width),[l,c]=N(e.bounds.height),[u,g]=N(1),p=false,A=null,x=null,C=e.bounds,_=false,D=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,T=()=>{if(_)return;_=true;let v=()=>{let R=st(t(),C.x,D()),H=st(r(),C.y,D()),M=st(o(),C.width,D()),z=st(l(),C.height,D());n(R),i(H),a(M),c(z),Math.abs(R-C.x)<.5&&Math.abs(H-C.y)<.5&&Math.abs(M-C.width)<.5&&Math.abs(z-C.height)<.5?(A=null,_=false):A=requestAnimationFrame(v);};A=requestAnimationFrame(v);};return re(Re(()=>e.bounds,v=>{if(C=v,!p){n(C.x),i(C.y),a(C.width),c(C.height),p=true;return}T();})),re(()=>{e.variant==="grabbed"&&e.createdAt&&(x=window.setTimeout(()=>{g(0);},1500));}),be(()=>{A!==null&&(cancelAnimationFrame(A),A=null),x!==null&&(window.clearTimeout(x),x=null),_=false;}),I(le,{get when(){return e.visible!==false},get children(){var v=Ia();return me(R=>{var H=Fe("fixed box-border",e.variant==="drag"&&"pointer-events-none",e.variant!=="drag"&&"pointer-events-auto",e.variant==="grabbed"&&"z-2147483645",e.variant!=="grabbed"&&"z-2147483646",e.variant==="drag"&&"border border-solid border-grab-purple/40 bg-grab-purple/5 will-change-[transform,width,height] cursor-crosshair",e.variant==="selection"&&"border border-solid border-grab-purple/50 bg-grab-purple/8 transition-opacity duration-100 ease-out",e.variant==="grabbed"&&"border border-solid border-grab-purple/50 bg-grab-purple/8",e.variant==="processing"&&!e.isCompleted&&"border border-solid border-grab-purple/50 bg-grab-purple/8",e.variant==="processing"&&e.isCompleted&&"border border-solid border-grab-purple/50 bg-grab-purple/8"),M=`${r()}px`,z=`${t()}px`,U=`${o()}px`,K=`${l()}px`,Y=e.bounds.borderRadius,ne=e.bounds.transform,h=e.isFading?0:u(),m=e.variant==="drag"?"layout paint size":void 0;return H!==R.e&&He(v,R.e=H),M!==R.t&&Ce(v,"top",R.t=M),z!==R.a&&Ce(v,"left",R.a=z),U!==R.o&&Ce(v,"width",R.o=U),K!==R.i&&Ce(v,"height",R.i=K),Y!==R.n&&Ce(v,"border-radius",R.n=Y),ne!==R.s&&Ce(v,"transform",R.s=ne),h!==R.h&&Ce(v,"opacity",R.h=h),m!==R.r&&Ce(v,"contain",R.r=m),R},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0}),v}})};var oi=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=N(e.x()),[o,a]=N(e.y()),l=e.x(),c=e.y(),u=null,g=false,p=()=>{let x=st(r(),l,t),C=st(o(),c,t);i(x),a(C),Math.abs(x-l)<n&&Math.abs(C-c)<n?u=null:u=requestAnimationFrame(p);},A=()=>{u===null&&(u=requestAnimationFrame(p));};return re(()=>{if(l=e.x(),c=e.y(),!g){i(l),a(c),g=true;return}A();}),be(()=>{u!==null&&(cancelAnimationFrame(u),u=null);}),{x:r,y:o}};var La=Z('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),ii=e=>{let t,n=null,r=0,i=0,o=1,a=oi({x:()=>e.mouseX,y:()=>e.mouseY,lerpFactor:.3}),l=()=>{t&&(o=Math.max(window.devicePixelRatio||1,2),r=window.innerWidth,i=window.innerHeight,t.width=r*o,t.height=i*o,t.style.width=`${r}px`,t.style.height=`${i}px`,n=t.getContext("2d"),n&&n.scale(o,o));},c=()=>{n&&(n.clearRect(0,0,r,i),n.strokeStyle="rgba(210, 57, 192)",n.lineWidth=1,n.beginPath(),n.moveTo(a.x(),0),n.lineTo(a.x(),i),n.moveTo(0,a.y()),n.lineTo(r,a.y()),n.stroke());};return re(()=>{l(),c();let u=()=>{l(),c();};window.addEventListener("resize",u),be(()=>{window.removeEventListener("resize",u);});}),re(()=>{a.x(),a.y(),c();}),I(le,{get when(){return e.visible!==false},get children(){var u=La(),g=t;return typeof g=="function"?It(g,u):t=u,u}})};var si=e=>{let t,[n,r]=N(false),i=()=>typeof window<"u"&&(!!window.SpeechRecognition||!!window.webkitSpeechRecognition),o=()=>{if(!i())return;let c=window.SpeechRecognition||window.webkitSpeechRecognition;if(!c)return;t=new c,t.continuous=true,t.interimResults=true,t.lang=navigator.language||"en-US";let u="",g="";t.onresult=p=>{let A=e.getCurrentValue(),x;u&&A.endsWith(u)||A===g&&u?x=A.slice(0,-u.length):x=A;let C="",_="";for(let T=p.resultIndex;T<p.results.length;T++){let v=p.results[T][0].transcript;p.results[T].isFinal?C+=v:_+=v;}u=_;let D=x+C+_;g=D,e.onTranscript(D);},t.onerror=()=>{r(false);},t.onend=()=>{r(false);},t.start(),r(true);},a=()=>{t&&(t.stop(),t=void 0),r(false);},l=()=>{n()?a():o();};return be(()=>{a();}),{isListening:n,isSupported:i,start:o,stop:a,toggle:l}};var Ma=Z('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=2><path d="M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6"></path><path d="M11 13l9-9"></path><path d="M15 4h5v5">'),ai=e=>{let t=()=>e.size??12;return (()=>{var n=Ma();return me(r=>{var i=t(),o=t(),a=e.class;return i!==r.e&&Ae(n,"width",r.e=i),o!==r.t&&Ae(n,"height",r.t=o),a!==r.a&&Ae(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var Oa=Z('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1=12 x2=12 y1=19 y2=22>'),li=e=>{let t=()=>e.size??12;return (()=>{var n=Oa();return me(r=>{var i=t(),o=t(),a=e.class;return i!==r.e&&Ae(n,"width",r.e=i),o!==r.t&&Ae(n,"height",r.t=o),a!==r.a&&Ae(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var Pa=Z('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 22 19"fill=none><path d="M6.76263 18.6626C7.48251 18.6626 7.95474 18.1682 7.95474 17.4895C7.95474 17.1207 7.80474 16.8576 7.58683 16.6361L5.3018 14.4137L2.84621 12.3589L2.44374 13.0037L5.92137 13.1622H17.9232C20.4842 13.1622 21.593 12.021 21.593 9.47237V3.66983C21.593 1.10875 20.4842 0 17.9232 0H12.5414C11.8179 0 11.3018 0.545895 11.3018 1.21695C11.3018 1.888 11.8179 2.43389 12.5414 2.43389H17.8424C18.7937 2.43389 19.1897 2.83653 19.1897 3.78784V9.35747C19.1897 10.3257 18.7937 10.7314 17.8424 10.7314H5.92137L2.44374 10.8832L2.84621 11.5281L5.3018 9.47993L7.58683 7.2606C7.80474 7.03914 7.95474 6.7693 7.95474 6.40049C7.95474 5.72854 7.48251 5.22747 6.76263 5.22747C6.46129 5.22747 6.12975 5.36905 5.89231 5.6096L0.376815 11.0425C0.134921 11.2777 0 11.6141 0 11.9452C0 12.2728 0.134921 12.6158 0.376815 12.848L5.89231 18.2871C6.12975 18.5276 6.46129 18.6626 6.76263 18.6626Z"fill=currentColor>'),En=e=>{let t=()=>e.size??12;return (()=>{var n=Pa();return me(r=>{var i=t(),o=t()*19/22,a=e.class;return i!==r.e&&Ae(n,"width",r.e=i),o!==r.t&&Ae(n,"height",r.t=o),a!==r.a&&Ae(n,"class",r.a=a),r},{e:void 0,t:void 0,a:void 0}),n})()};var $a=Z('<div style="background-image:linear-gradient(in oklab 180deg, oklab(88.7% 0.086 -0.058) 0%, oklab(83.2% 0.132 -0.089) 100%)"><span>'),Fa=Z(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-[#B3B3B3] py-0 bg-[#F7F7F7]"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">`),Da=Z(`<div class="contain-layout shrink-0 flex items-center w-fit h-4 rounded-[1px] gap-1 px-[3px] [border-width:0.5px] border-solid border-white py-0"><span class="text-[#0C0C0C] text-[11.5px] leading-3.5 shrink-0 tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace] w-fit h-fit">&gt;`),Ba=Z('<div class="absolute w-0 h-0"style="border-left:8px solid transparent;border-right:8px solid transparent">'),Ha=Z('<div role=button><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),za=Z('<div class="[font-synthesis:none] contain-layout shrink-0 flex flex-col items-start px-2 py-[5px] w-auto h-fit self-stretch [border-top-width:0.5px] border-t-solid border-t-[#D9D9D9] antialiased rounded-t-none rounded-b-xs -mt-px"style="background-image:linear-gradient(in oklab 180deg, oklab(100% 0 0) 0%, oklab(96.1% 0 0) 5.92%)">'),ja=Z('<div class="contain-layout shrink-0 flex items-center justify-end gap-[5px] w-full h-fit"><button class="contain-layout shrink-0 flex items-center justify-center px-[3px] py-px rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] cursor-pointer transition-all hover:bg-[#F5F5F5] h-[17px]"><span class="text-black text-[11px] leading-3.5 tracking-[-0.04em] font-sans font-medium">No</span></button><button class="contain-layout shrink-0 flex items-center justify-center gap-1 px-[3px] py-px rounded-xs bg-white [border-width:0.5px] border-solid border-[#7e0002] cursor-pointer transition-all hover:bg-[#FEF2F2] h-[17px]"><span class="text-[#B91C1C] text-[11px] leading-3.5 tracking-[-0.04em] font-sans font-medium">Yes'),Va=Z('<div class="contain-layout shrink-0 flex flex-col justify-center items-end gap-1 w-fit h-fit"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-full h-fit"><span class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Discard prompt?'),Ga=Z('<div class="[font-synthesis:none] contain-layout shrink-0 flex items-center gap-1 rounded-xs bg-white antialiased w-fit h-fit py-1 px-1.5"><div class="contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]"><div class="text-black text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">'),Ua=Z('<button data-react-grab-ignore-events class="contain-layout shrink-0 flex flex-col items-start rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] p-1 size-fit cursor-pointer ml-1 transition-none hover:scale-105"><div data-react-grab-ignore-events class="shrink-0 w-[7px] h-[7px] rounded-[1px] bg-black pointer-events-none">'),Ka=Z('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0 opacity-50 wrap-break-word overflow-y-auto"placeholder="type to edit"rows=1 disabled style=field-sizing:content;min-height:16px;max-height:95px;scrollbar-width:none>'),Ya=Z('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit max-w-[280px]"><div class="contain-layout shrink-0 flex items-center gap-1 pt-1 px-1.5 w-auto h-fit"><div class="contain-layout flex items-center px-0 py-px w-auto h-fit rounded-[1.5px] gap-[3px]"><span class="text-[12px] leading-4 tracking-[-0.04em] font-sans font-medium w-auto h-fit whitespace-normal text-[#71717a] animate-pulse">'),ci=Z('<div class="contain-layout shrink-0 flex items-center gap-px w-fit h-fit">'),Xa=Z('<div class="contain-layout shrink-0 flex items-center gap-1 w-fit h-fit"><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">Press</span><div class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit"></div><span class="text-label-muted text-[12px] leading-4 shrink-0 tracking-[-0.04em] font-sans font-medium w-fit h-fit">to edit'),Wa=Z('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div></div><div class="grid transition-[grid-template-rows] duration-30 ease-out self-stretch"><div>'),qa=Z("<button>"),Za=Z('<button class="contain-layout shrink-0 flex flex-col items-start px-[3px] py-[3px] rounded-xs bg-white [border-width:0.5px] border-solid border-[#B3B3B3] size-fit cursor-pointer transition-all hover:scale-105">'),Ja=Z('<div class="shrink-0 flex justify-between items-end w-full min-h-4"><textarea class="text-black text-[12px] leading-4 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0 wrap-break-word overflow-y-auto"rows=1 style=field-sizing:content;min-height:16px;max-height:95px;scrollbar-width:none></textarea><div class="flex items-center gap-0.5 ml-1 w-[17px] h-[17px] justify-end">'),Qa=Z('<div class="contain-layout shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit max-w-[280px]"><div>'),el=Z('<div data-react-grab-ignore-events class="fixed font-sans antialiased transition-opacity duration-300 ease-out filter-[drop-shadow(0px_0px_4px_#51515180)] select-none"style=z-index:2147483647><div class="[font-synthesis:none] contain-layout flex items-center gap-[5px] rounded-xs bg-white antialiased w-fit h-fit p-0">'),ui=8,di=4,tl=400;var kn=e=>{let[t,n]=N(false),r=()=>{n(true),e.onHoverChange?.(true);},i=()=>{n(false),e.onHoverChange?.(false);};return (()=>{var o=$a(),a=o.firstChild;return Rt(o,"click",e.onClick),o.addEventListener("mouseleave",i),o.addEventListener("mouseenter",r),G(a,()=>e.tagName),G(o,I(le,{get when(){return e.isClickable||e.forceShowIcon},get children(){return I(ai,{size:10,get class(){return Fe("text-label-tag-border transition-all duration-100",t()||e.forceShowIcon?"opacity-100 scale-100":"opacity-0 scale-75 -ml-[2px] w-0")}})}}),null),me(l=>{var c=Fe("contain-layout flex items-center px-[3px] py-0 h-4 rounded-[1px] gap-0.5 [border-width:0.5px] border-solid border-label-tag-border",e.shrink&&"shrink-0 w-fit",e.isClickable&&"cursor-pointer"),u=Fe("text-[#47004A] text-[11.5px] leading-3.5 shrink-0 w-fit h-fit",e.showMono?"tracking-[-0.08em] font-[ui-monospace,'SFMono-Regular','SF_Mono','Menlo','Consolas','Liberation_Mono',monospace]":"tracking-[-0.04em] font-medium");return c!==l.e&&He(o,l.e=c),u!==l.t&&He(a,l.t=u),l},{e:void 0,t:void 0}),o})()},fi=e=>(()=>{var t=Fa(),n=t.firstChild;return G(n,()=>e.name),t})(),mi=()=>Da(),nl=e=>{let t=()=>e.color??"white";return (()=>{var n=Ba();return me(r=>Ho(n,{left:`${e.leftPx}px`,...e.position==="bottom"?{top:"0",transform:"translateX(-50%) translateY(-100%)"}:{bottom:"0",transform:"translateX(-50%) translateY(100%)"},...e.position==="bottom"?{"border-bottom":`8px solid ${t()}`}:{"border-top":`8px solid ${t()}`}},r)),n})()},pi=e=>{let t=()=>e.hasAgent?"Selecting":e.hasParent?"Copy":"Click to copy";return (()=>{var n=Ha(),r=n.firstChild;return Rt(n,"click",e.onClick),G(r,t),me(()=>He(n,Fe("contain-layout shrink-0 flex items-center px-0 py-px w-fit h-[18px] rounded-[1.5px] gap-[3px]",e.asButton&&"cursor-pointer",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"))),n})()};var Tn=e=>(()=>{var t=za();return G(t,()=>e.children),t})(),rl=e=>{let t=n=>{n.code==="Enter"?(n.preventDefault(),n.stopPropagation(),e.onConfirm?.()):n.code==="Escape"&&(n.preventDefault(),n.stopPropagation(),e.onCancel?.());};return sr(()=>{window.addEventListener("keydown",t,{capture:true});}),be(()=>{window.removeEventListener("keydown",t,{capture:true});}),(()=>{var n=Va();n.firstChild;return G(n,I(Tn,{get children(){var i=ja(),o=i.firstChild,a=o.nextSibling;a.firstChild;return Rt(o,"click",e.onCancel),Rt(a,"click",e.onConfirm),G(a,I(En,{size:10,class:"text-[#c00002]"}),null),i}}),null),n})()},Pt=e=>{let t,n,r=false,i=null,o=null,[a,l]=N(0),[c,u]=N(0),[g,p]=N("bottom"),[A,x]=N(0),[C,_]=N(false),[D,T]=N(false),v=si({onTranscript:E=>e.onInputChange?.(E),getCurrentValue:()=>e.inputValue??""}),R=()=>e.status!=="copying"&&e.status!=="copied"&&e.status!=="fading",H=()=>{if(t&&!r){let E=t.getBoundingClientRect();l(E.width),u(E.height);}},M=E=>{r=E;},z=()=>{x(E=>E+1);},U,K=()=>{_(false),U&&clearTimeout(U),U=setTimeout(()=>{_(true);},tl);},Y=E=>{E.code==="Enter"&&C()&&!e.isInputExpanded&&R()&&(E.preventDefault(),E.stopPropagation(),E.stopImmediatePropagation(),e.onToggleExpand?.());};sr(()=>{H(),window.addEventListener("scroll",z,true),window.addEventListener("resize",z),window.addEventListener("keydown",Y,{capture:true}),K();}),be(()=>{window.removeEventListener("scroll",z,true),window.removeEventListener("resize",z),window.removeEventListener("keydown",Y,{capture:true}),U&&clearTimeout(U);}),re(()=>{let E=`${e.tagName??""}:${e.componentName??""}`;E!==o&&(o=E,K());}),re(()=>{e.visible&&requestAnimationFrame(H);}),re(()=>{e.status,requestAnimationFrame(H);}),re(()=>{e.isInputExpanded&&n?setTimeout(()=>{n?.focus();},0):v.stop();});let ne=()=>{A();let E=e.selectionBounds,$=a(),V=c(),j=$>0&&V>0,F=E&&E.width>0&&E.height>0;if(!j||!F)return i??{left:-9999,top:-9999,arrowLeft:0};let B=window.innerWidth,ie=window.innerHeight,ee=E.x+E.width/2,de=e.mouseX??ee,ue=E.y+E.height,he=E.y,fe=de-$/2,we=ue+ui+di;fe+$>B-8&&(fe=B-$-8),fe<8&&(fe=8);let xe=V+ui+di;we+V<=ie-8?p("bottom"):(we=he-xe,p("top")),we<8&&(we=8);let Le=Math.max(12,Math.min(de-fe,$-12)),De={left:fe,top:we,arrowLeft:Le};return i=De,T(true),De},h=E=>{if(E.stopPropagation(),E.stopImmediatePropagation(),E.code==="Enter"&&!E.shiftKey){if(E.preventDefault(),!e.inputValue?.trim())return;v.stop(),e.onSubmit?.();}else E.code==="Escape"&&(E.preventDefault(),v.stop(),e.onCancel?.());},m=E=>{let $=E.target;e.onInputChange?.($.value);},f=()=>e.tagName||"element",y=E=>{E.stopPropagation(),E.stopImmediatePropagation(),e.filePath&&e.onOpen&&e.onOpen();},O=()=>!!(e.filePath&&e.onOpen),W=E=>{E.stopPropagation(),E.stopImmediatePropagation();},te=E=>{W(E),R()&&e.isInputExpanded&&!e.isPendingDismiss&&n&&n.focus();},Q=()=>{e.isInputExpanded&&!e.inputValue?.trim()||(v.stop(),e.onSubmit?.());},oe=()=>D()&&(e.status==="copied"||e.status==="fading");return I(le,{get when(){return Te(()=>e.visible!==false)()&&(e.selectionBounds||oe())},get children(){var E=el(),$=E.firstChild;E.$$click=W,E.$$mousedown=W,E.$$pointerdown=te;var V=t;return typeof V=="function"?It(V,E):t=E,G(E,I(nl,{get position(){return g()},get leftPx(){return ne().arrowLeft}}),$),G(E,I(le,{get when(){return e.status==="copied"||e.status==="fading"},get children(){var j=Ga(),F=j.firstChild,B=F.firstChild;return G(B,()=>e.hasAgent?"Completed":"Copied"),j}}),$),G($,I(le,{get when(){return e.status==="copying"},get children(){var j=Ya(),F=j.firstChild,B=F.firstChild,ie=B.firstChild;return G(ie,()=>e.statusText??"Grabbing\u2026"),G(j,I(Tn,{get children(){var ee=Ka(),de=ee.firstChild,ue=n;return typeof ue=="function"?It(ue,de):n=de,G(ee,I(le,{get when(){return e.onAbort},get children(){var he=Ua();return he.$$click=fe=>{fe.stopPropagation(),e.onAbort?.();},he.$$pointerup=fe=>{fe.stopPropagation(),e.onAbort?.();},he.$$mousedown=fe=>fe.stopPropagation(),he.$$pointerdown=fe=>fe.stopPropagation(),he}}),null),me(()=>de.value=e.inputValue??""),ee}}),null),j}}),null),G($,I(le,{get when(){return Te(()=>!!R())()&&!e.isInputExpanded},get children(){var j=Wa(),F=j.firstChild,B=F.nextSibling,ie=B.firstChild;return G(F,I(pi,{onClick:Q,shrink:true,get hasParent(){return !!e.componentName},get hasAgent(){return e.hasAgent}}),null),G(F,I(le,{get when(){return e.componentName},get children(){var ee=ci();return G(ee,I(fi,{get name(){return e.componentName}}),null),G(ee,I(mi,{}),null),G(ee,I(kn,{get tagName(){return f()},get isClickable(){return O()},onClick:y,onHoverChange:M,showMono:true,shrink:true}),null),ee}}),null),G(F,I(le,{get when(){return !e.componentName},get children(){return I(kn,{get tagName(){return f()},get isClickable(){return O()},onClick:y,onHoverChange:M,showMono:true,shrink:true})}}),null),G(ie,I(Tn,{get children(){var ee=Xa(),de=ee.firstChild,ue=de.nextSibling;return G(ue,I(En,{size:10,class:"opacity-[0.99] text-black"})),ee}})),me(ee=>{var de=Fe("contain-layout shrink-0 flex items-center gap-1 pt-1 w-fit h-fit pl-1.5",e.componentName?"pr-1.5":"pr-1"),ue=C()?"1fr":"0fr",he=Fe("overflow-hidden min-h-0",!C()&&"w-0");return de!==ee.e&&He(F,ee.e=de),ue!==ee.t&&Ce(B,"grid-template-rows",ee.t=ue),he!==ee.a&&He(ie,ee.a=he),ee},{e:void 0,t:void 0,a:void 0}),j}}),null),G($,I(le,{get when(){return Te(()=>!!(R()&&e.isInputExpanded))()&&!e.isPendingDismiss},get children(){var j=Qa(),F=j.firstChild;return G(F,I(pi,{onClick:Q,dimmed:true,shrink:true,get hasParent(){return !!e.componentName},get hasAgent(){return e.hasAgent}}),null),G(F,I(le,{get when(){return e.componentName},get children(){var B=ci();return G(B,I(fi,{get name(){return e.componentName}}),null),G(B,I(mi,{}),null),G(B,I(kn,{get tagName(){return f()},get isClickable(){return O()},onClick:y,onHoverChange:M,showMono:true,shrink:true,forceShowIcon:true}),null),B}}),null),G(F,I(le,{get when(){return !e.componentName},get children(){return I(kn,{get tagName(){return f()},get isClickable(){return O()},onClick:y,onHoverChange:M,showMono:true,shrink:true,forceShowIcon:true})}}),null),G(j,I(Tn,{get children(){var B=Ja(),ie=B.firstChild,ee=ie.nextSibling;ie.$$keydown=h,ie.$$input=m;var de=n;return typeof de=="function"?It(de,ie):n=ie,G(ee,I(le,{get when(){return Te(()=>!!(e.hasAgent&&v.isSupported()))()&&!e.inputValue},get children(){var ue=qa();return Rt(ue,"click",v.toggle),G(ue,I(li,{size:11,get class(){return v.isListening()?"animate-pulse":""}})),me(he=>{var fe=Fe("contain-layout shrink-0 flex items-center justify-center px-[2px] py-[2px] rounded-xs [border-width:0.5px] border-solid size-fit cursor-pointer transition-all hover:scale-105",v.isListening()?"bg-grab-purple border-grab-purple text-white":"bg-white border-[#B3B3B3] text-black"),we=v.isListening()?"Stop listening":"Start voice input";return fe!==he.e&&He(ue,he.e=fe),we!==he.t&&Ae(ue,"title",he.t=we),he},{e:void 0,t:void 0}),ue}}),null),G(ee,I(le,{get when(){return e.inputValue},get children(){var ue=Za();return ue.$$click=Q,G(ue,I(En,{size:10,class:"opacity-[0.99] text-black"})),ue}}),null),me(()=>Ae(ie,"placeholder",v.isListening()?"listening...":e.hasAgent&&e.isAgentConnected?"type to edit":"type prompt")),me(()=>ie.value=e.inputValue??""),B}}),null),me(()=>He(F,Fe("contain-layout shrink-0 flex items-center gap-1 pt-1 w-fit h-fit pl-1.5",e.componentName?"pr-1.5":"pr-1"))),j}}),null),G($,I(le,{get when(){return e.isPendingDismiss},get children(){return I(rl,{get onConfirm(){return e.onConfirmDismiss},get onCancel(){return e.onCancelDismiss}})}}),null),me(j=>{var F=`${ne().top}px`,B=`${ne().left}px`,ie=e.isInputExpanded?"auto":"none",ee=e.status==="fading"?0:1,de=e.status==="copied"||e.status==="fading"?"none":void 0;return F!==j.e&&Ce(E,"top",j.e=F),B!==j.t&&Ce(E,"left",j.t=B),ie!==j.a&&Ce(E,"pointer-events",j.a=ie),ee!==j.o&&Ce(E,"opacity",j.o=ee),de!==j.i&&Ce($,"display",j.i=de),j},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),E}})};vn(["click","pointerdown","mousedown","pointerup","input","keydown"]);var il=Z('<div class="fixed z-2147483647"><button data-react-grab-selection-cursor>'),gi=e=>{let[t,n]=N(false),[r,i]=N(false);re(()=>{let a=e.visible!==false;if(e.x,e.y,i(false),a){let l=setTimeout(()=>i(true),500);be(()=>clearTimeout(l));}});let o=a=>{a.preventDefault(),a.stopPropagation(),e.onClick?.();};return I(le,{get when(){return r()},get children(){return [I(le,{get when(){return Te(()=>!!t())()&&e.elementBounds},get children(){return I(gt,{variant:"selection",get bounds(){return e.elementBounds},visible:true})}}),(()=>{var a=il(),l=a.firstChild;return a.addEventListener("mouseleave",()=>n(false)),a.addEventListener("mouseenter",()=>n(true)),l.$$click=o,me(c=>{var u=`${e.x}px`,g=`${e.y}px`,p=Fe("absolute left-0 top-0 -translate-x-1/2 -translate-y-1/2 bg-grab-pink cursor-pointer rounded-full transition-[width,height] duration-150",t()?"w-1 h-5.5 brightness-125":"w-0.5 h-5 animate-pulse");return u!==c.e&&Ce(a,"left",c.e=u),g!==c.t&&Ce(a,"top",c.t=g),p!==c.a&&He(l,c.a=p),c},{e:void 0,t:void 0,a:void 0}),a})(),I(le,{get when(){return Te(()=>!!t())()&&e.elementBounds},get children(){return I(Pt,{get tagName(){return e.tagName},get selectionBounds(){return e.elementBounds},get mouseX(){return e.x},visible:true,get onSubmit(){return e.onClick}})}})]}})};vn(["click"]);var hi=e=>{let t=ae(()=>e.agentSessions?Array.from(e.agentSessions.values()):[]);return [I(le,{get when(){return Te(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return I(gt,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible},get isFading(){return e.selectionLabelStatus==="fading"}})}}),I(le,{get when(){return Te(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return I(ii,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),I(le,{get when(){return Te(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return I(gt,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),I(wn,{get each(){return e.grabbedBoxes??[]},children:n=>I(gt,{variant:"grabbed",get bounds(){return n.bounds},get createdAt(){return n.createdAt}})}),I(ar,{get each(){return t()},children:n=>[I(le,{get when(){return n().selectionBounds},get children(){return I(gt,{variant:"processing",get bounds(){return n().selectionBounds},visible:true,get isCompleted(){return !n().isStreaming}})}}),I(Pt,{get tagName(){return n().tagName},get componentName(){return n().componentName},get selectionBounds(){return n().selectionBounds},get mouseX(){return n().position.x},visible:true,hasAgent:true,isAgentConnected:true,get status(){return n().isStreaming?"copying":"copied"},get statusText(){return n().lastStatus||"Thinking\u2026"},get inputValue(){return n().context.prompt},onAbort:()=>e.onAbortSession?.(n().id)})]}),I(le,{get when(){return Te(()=>!!e.selectionLabelVisible)()&&e.selectionBounds},get children(){return I(Pt,{get tagName(){return e.selectionTagName},get componentName(){return e.selectionComponentName},get selectionBounds(){return e.selectionBounds},get mouseX(){return e.mouseX},get visible(){return e.selectionLabelVisible},get isInputExpanded(){return e.isInputExpanded},get inputValue(){return e.inputValue},get hasAgent(){return e.hasAgent},get isAgentConnected(){return e.isAgentConnected},get status(){return e.selectionLabelStatus},get filePath(){return e.selectionFilePath},get lineNumber(){return e.selectionLineNumber},get onInputChange(){return e.onInputChange},get onSubmit(){return e.onInputSubmit},get onCancel(){return e.onInputCancel},get onToggleExpand(){return e.onToggleExpand},get isPendingDismiss(){return e.isPendingDismiss},get onConfirmDismiss(){return e.onConfirmDismiss},get onCancelDismiss(){return e.onCancelDismiss},onOpen:()=>{if(e.selectionFilePath){let n=Cn(e.selectionFilePath,e.selectionLineNumber);window.open(n,"_blank");}}})}}),I(wn,{get each(){return e.labelInstances??[]},children:n=>I(Pt,{get tagName(){return n.tagName},get componentName(){return n.componentName},get selectionBounds(){return n.bounds},get mouseX(){return n.mouseX},visible:true,get status(){return n.status}})}),I(le,{get when(){return Te(()=>!!(e.nativeSelectionCursorVisible&&e.nativeSelectionCursorX!==void 0))()&&e.nativeSelectionCursorY!==void 0},get children(){return I(gi,{get x(){return e.nativeSelectionCursorX},get y(){return e.nativeSelectionCursorY},get tagName(){return e.nativeSelectionTagName},get componentName(){return e.nativeSelectionComponentName},get elementBounds(){return e.nativeSelectionBounds},get visible(){return e.nativeSelectionCursorVisible},get onClick(){return e.onNativeSelectionCopy},get onEnter(){return e.onNativeSelectionEnter}})}})]};var wi="0.5.25",Nn=`bippy-${wi}`,bi=Object.defineProperty,sl=Object.prototype.hasOwnProperty,Qt=()=>{},xi=e=>{try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&setTimeout(()=>{throw 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{}},Rn=(e=Qe())=>"getFiberRoots"in e,vi=false,yi,en=(e=Qe())=>vi?true:(typeof e.inject=="function"&&(yi=e.inject.toString()),!!yi?.includes("(injected)")),An=new Set,bt=new Set,Ci=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:Nn,checkDCE:xi,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),bt.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,An.forEach(a=>a())),o},on:Qt,onCommitFiberRoot:Qt,onCommitFiberUnmount:Qt,onPostCommitFiberRoot:Qt,renderers:t,supportsFiber:true,supportsFlight:true};try{bi(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(a){if(a&&typeof a=="object"){let l=r.renderers;r=a,l.size>0&&(l.forEach((c,u)=>{bt.add(c),a.renderers.set(u,c);}),_n(e));}}});let i=window.hasOwnProperty,o=!1;bi(window,"hasOwnProperty",{configurable:!0,value:function(...a){try{if(!o&&a[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,a)},writable:!0});}catch{_n(e);}return r},_n=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=xi,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=Nn,t._instrumentationIsActive=!1;let n=Rn(t);if(n||(t.on=Qt),t.renderers.size){t._instrumentationIsActive=!0,An.forEach(o=>o());return}let r=t.inject,i=en(t);i&&!n&&(vi=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let a=r(o);return bt.add(o),i&&t.renderers.set(a,o),t._instrumentationIsActive=!0,An.forEach(l=>l()),a};}(t.renderers.size||t._instrumentationIsActive||en())&&e?.();}catch{}},mr=()=>sl.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),Qe=e=>mr()?(_n(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):Ci(e),Si=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),pr=()=>{try{Si()&&Qe();}catch{}};var gr=0,hr=1;var br=5;var yr=11,wr=13;var xr=15,vr=16;var Cr=19;var Sr=26,Er=27,kr=28,Tr=30;function Ar(e,t,n=false){if(!e)return null;let r=t(e);if(r instanceof Promise)return (async()=>{if(await r===true)return e;let o=n?e.return:e.child;for(;o;){let a=await Nr(o,t,n);if(a)return a;o=n?null:o.sibling;}return null})();if(r===true)return e;let i=n?e.return:e.child;for(;i;){let o=_r(i,t,n);if(o)return o;i=n?null:i.sibling;}return null}var _r=(e,t,n=false)=>{if(!e)return null;if(t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=_r(r,t,n);if(i)return i;r=n?null:r.sibling;}return null},Nr=async(e,t,n=false)=>{if(!e)return null;if(await t(e)===true)return e;let r=n?e.return:e.child;for(;r;){let i=await Nr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var Rr=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?Rr(t.type||t.render):null},tn=e=>{let t=e;if(typeof t=="string")return t;if(typeof t!="function"&&!(typeof t=="object"&&t))return null;let n=t.displayName||t.name||null;if(n)return n;let r=Rr(t);return r&&(r.displayName||r.name)||null};var $t=()=>!!Qe()._instrumentationIsActive||Rn()||en();var Ir=e=>{let t=Qe();for(let n of t.renderers.values())try{let r=n.findFiberByHostInstance?.(e);if(r)return r}catch{}if(typeof e=="object"&&e){if("_reactRootContainer"in e)return e._reactRootContainer?._internalRoot?.current?.child;for(let n in e)if(n.startsWith("__reactContainer$")||n.startsWith("__reactInternalInstance$")||n.startsWith("__reactFiber"))return e[n]||null}return null};var gl=Object.create,Ii=Object.defineProperty,hl=Object.getOwnPropertyDescriptor,bl=Object.getOwnPropertyNames,yl=Object.getPrototypeOf,wl=Object.prototype.hasOwnProperty,xl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),vl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=bl(t),o=0,a=i.length,l;o<a;o++)l=i[o],!wl.call(e,l)&&l!==n&&Ii(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=hl(t,l))||r.enumerable});return e},Cl=(e,t,n)=>(n=e==null?{}:gl(yl(e)),vl(Ii(n,"default",{value:e,enumerable:true}),e)),Ei=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Sl=["rsc://","file:///","webpack://","webpack-internal://","node:","turbopack://","metro://","/app-pages-browser/"],ki="about://React/",El=["<anonymous>","eval",""],kl=/\.(jsx|tsx|ts|js)$/,Tl=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,Al=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,Li="(at Server)",_l=/(^|@)\S+:\d+/,Mi=/^\s*at .*(\S+:\d+|\(native\))/m,Nl=/^(eval@)?(\[native code\])?$/;var Oi=(e,t)=>{{let n=e.split(`
11
+ `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=Ti(i,void 0)[0];o&&r.push(o);}else if(/^\s*in\s+/.test(i)){let o=i.replace(/^\s*in\s+/,"").replace(/\s*\(at .*\)$/,"");r.push({functionName:o,source:i});}else if(i.match(_l)){let o=Ai(i,void 0)[0];o&&r.push(o);}return Or(r,t)}},Pi=e=>{if(!e.includes(":"))return [e,void 0,void 0];let t=/(.+?)(?::(\d+))?(?::(\d+))?$/,n=t.exec(e.replace(/[()]/g,""));return [n[1],n[2]||void 0,n[3]||void 0]},Or=(e,t)=>t&&t.slice!=null?Array.isArray(t.slice)?e.slice(t.slice[0],t.slice[1]):e.slice(0,t.slice):e;var Ti=(e,t)=>Or(e.split(`
12
+ `).filter(r=>!!r.match(Mi)),t).map(r=>{let i=r;i.includes("(eval ")&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let o=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),a=o.match(/ (\(.+\)$)/);o=a?o.replace(a[0],""):o;let l=Pi(a?a[1]:o),c=a&&o||void 0,u=["eval","<anonymous>"].includes(l[0])?void 0:l[0];return {functionName:c,fileName:u,lineNumber:l[1]?+l[1]:void 0,columnNumber:l[2]?+l[2]:void 0,source:i}});var Ai=(e,t)=>Or(e.split(`
13
+ `).filter(r=>!r.match(Nl)),t).map(r=>{let i=r;if(i.includes(" > eval")&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!i.includes("@")&&!i.includes(":"))return {functionName:i};{let o=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,a=i.match(o),l=a&&a[1]?a[1]:void 0,c=Pi(i.replace(o,""));return {functionName:l,fileName:c[0],lineNumber:c[1]?+c[1]:void 0,columnNumber:c[2]?+c[2]:void 0,source:i}}});var Rl=xl((e,t)=>{(function(n,r){typeof e=="object"&&t!==void 0?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.sourcemapCodec={}));})(void 0,function(n){let r=44,i=59,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let h=0;h<o.length;h++){let m=o.charCodeAt(h);a[h]=m,l[m]=h;}function c(h,m){let f=0,y=0,O=0;do{let te=h.next();O=l[te],f|=(O&31)<<y,y+=5;}while(O&32);let W=f&1;return f>>>=1,W&&(f=-2147483648|-f),m+f}function u(h,m,f){let y=m-f;y=y<0?-y<<1|1:y<<1;do{let O=y&31;y>>>=5,y>0&&(O|=32),h.write(a[O]);}while(y>0);return m}function g(h,m){return h.pos>=m?false:h.peek()!==r}let p=1024*16,A=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(h){return Buffer.from(h.buffer,h.byteOffset,h.byteLength).toString()}}:{decode(h){let m="";for(let f=0;f<h.length;f++)m+=String.fromCharCode(h[f]);return m}};class x{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(p);}write(m){let{buffer:f}=this;f[this.pos++]=m,this.pos===p&&(this.out+=A.decode(f),this.pos=0);}flush(){let{buffer:m,out:f,pos:y}=this;return y>0?f+A.decode(m.subarray(0,y)):f}}class C{constructor(m){this.pos=0,this.buffer=m;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(m){let{buffer:f,pos:y}=this,O=f.indexOf(m,y);return O===-1?f.length:O}}let _=[];function D(h){let{length:m}=h,f=new C(h),y=[],O=[],W=0;for(;f.pos<m;f.pos++){W=c(f,W);let te=c(f,0);if(!g(f,m)){let j=O.pop();j[2]=W,j[3]=te;continue}let Q=c(f,0),oe=c(f,0),E=oe&1,$=E?[W,te,0,0,Q,c(f,0)]:[W,te,0,0,Q],V=_;if(g(f,m)){V=[];do{let j=c(f,0);V.push(j);}while(g(f,m))}$.vars=V,y.push($),O.push($);}return y}function T(h){let m=new x;for(let f=0;f<h.length;)f=v(h,f,m,[0]);return m.flush()}function v(h,m,f,y){let O=h[m],{0:W,1:te,2:Q,3:oe,4:E,vars:$}=O;m>0&&f.write(r),y[0]=u(f,W,y[0]),u(f,te,0),u(f,E,0);let V=O.length===6?1:0;u(f,V,0),O.length===6&&u(f,O[5],0);for(let j of $)u(f,j,0);for(m++;m<h.length;){let j=h[m],{0:F,1:B}=j;if(F>Q||F===Q&&B>=oe)break;m=v(h,m,f,y);}return f.write(r),y[0]=u(f,Q,y[0]),u(f,oe,0),m}function R(h){let{length:m}=h,f=new C(h),y=[],O=[],W=0,te=0,Q=0,oe=0,E=0,$=0,V=0,j=0;do{let F=f.indexOf(";"),B=0;for(;f.pos<F;f.pos++){if(B=c(f,B),!g(f,F)){let xe=O.pop();xe[2]=W,xe[3]=B;continue}let ie=c(f,0),ee=ie&1,de=ie&2,ue=ie&4,he=null,fe=_,we;if(ee){let xe=c(f,te);Q=c(f,te===xe?Q:0),te=xe,we=[W,B,0,0,xe,Q];}else we=[W,B,0,0];if(we.isScope=!!ue,de){let xe=oe,Ge=E;oe=c(f,oe);let Le=xe===oe;E=c(f,Le?E:0),$=c(f,Le&&Ge===E?$:0),he=[oe,E,$];}if(we.callsite=he,g(f,F)){fe=[];do{V=W,j=B;let xe=c(f,0),Ge;if(xe<-1){Ge=[[c(f,0)]];for(let Le=-1;Le>xe;Le--){let De=V;V=c(f,V),j=c(f,V===De?j:0);let Ht=c(f,0);Ge.push([Ht,V,j]);}}else Ge=[[xe]];fe.push(Ge);}while(g(f,F))}we.bindings=fe,y.push(we),O.push(we);}W++,f.pos=F+1;}while(f.pos<m);return y}function H(h){if(h.length===0)return "";let m=new x;for(let f=0;f<h.length;)f=M(h,f,m,[0,0,0,0,0,0,0]);return m.flush()}function M(h,m,f,y){let O=h[m],{0:W,1:te,2:Q,3:oe,isScope:E,callsite:$,bindings:V}=O;y[0]<W?(z(f,y[0],W),y[0]=W,y[1]=0):m>0&&f.write(r),y[1]=u(f,O[1],y[1]);let j=(O.length===6?1:0)|($?2:0)|(E?4:0);if(u(f,j,0),O.length===6){let{4:F,5:B}=O;F!==y[2]&&(y[3]=0),y[2]=u(f,F,y[2]),y[3]=u(f,B,y[3]);}if($){let{0:F,1:B,2:ie}=O.callsite;F===y[4]?B!==y[5]&&(y[6]=0):(y[5]=0,y[6]=0),y[4]=u(f,F,y[4]),y[5]=u(f,B,y[5]),y[6]=u(f,ie,y[6]);}if(V)for(let F of V){F.length>1&&u(f,-F.length,0);let B=F[0][0];u(f,B,0);let ie=W,ee=te;for(let de=1;de<F.length;de++){let ue=F[de];ie=u(f,ue[1],ie),ee=u(f,ue[2],ee),u(f,ue[0],0);}}for(m++;m<h.length;){let F=h[m],{0:B,1:ie}=F;if(B>Q||B===Q&&ie>=oe)break;m=M(h,m,f,y);}return y[0]<Q?(z(f,y[0],Q),y[0]=Q,y[1]=0):f.write(r),y[1]=u(f,oe,y[1]),m}function z(h,m,f){do h.write(i);while(++m<f)}function U(h){let{length:m}=h,f=new C(h),y=[],O=0,W=0,te=0,Q=0,oe=0;do{let E=f.indexOf(";"),$=[],V=true,j=0;for(O=0;f.pos<E;){let F;O=c(f,O),O<j&&(V=false),j=O,g(f,E)?(W=c(f,W),te=c(f,te),Q=c(f,Q),g(f,E)?(oe=c(f,oe),F=[O,W,te,Q,oe]):F=[O,W,te,Q]):F=[O],$.push(F),f.pos++;}V||K($),y.push($),f.pos=E+1;}while(f.pos<=m);return y}function K(h){h.sort(Y);}function Y(h,m){return h[0]-m[0]}function ne(h){let m=new x,f=0,y=0,O=0,W=0;for(let te=0;te<h.length;te++){let Q=h[te];if(te>0&&m.write(i),Q.length===0)continue;let oe=0;for(let E=0;E<Q.length;E++){let $=Q[E];E>0&&m.write(r),oe=u(m,$[0],oe),$.length!==1&&(f=u(m,$[1],f),y=u(m,$[2],y),O=u(m,$[3],O),$.length!==4&&(W=u(m,$[4],W)));}}return m.flush()}n.decode=U,n.decodeGeneratedRanges=R,n.decodeOriginalScopes=D,n.encode=ne,n.encodeGeneratedRanges=H,n.encodeOriginalScopes=T,Object.defineProperty(n,"__esModule",{value:true});});}),$i=Cl(Rl()),Fi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Il=/^data:application\/json[^,]+base64,/,Ll=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,Di=typeof WeakRef<"u",nn=new Map,In=new Map,Ml=e=>Di&&e instanceof WeakRef,_i=(e,t,n,r)=>{if(n<0||n>=e.length)return null;let i=e[n];if(!i||i.length===0)return null;let o=null;for(let g of i)if(g[0]<=r)o=g;else break;if(!o||o.length<4)return null;let[,a,l,c]=o;if(a===void 0||l===void 0||c===void 0)return null;let u=t[a];return u?{columnNumber:c,fileName:u,lineNumber:l+1}:null},Ol=(e,t,n)=>{if(e.sections){let r=null;for(let a of e.sections)if(t>a.offset.line||t===a.offset.line&&n>=a.offset.column)r=a;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return _i(r.map.mappings,r.map.sources,i,o)}return _i(e.mappings,e.sources,t-1,n)},Pl=(e,t)=>{let n=t.split(`
14
+ `),r;for(let o=n.length-1;o>=0&&!r;o--){let a=n[o].match(Ll);a&&(r=a[1]||a[2]);}if(!r)return null;let i=Fi.test(r);if(!(Il.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},$l=e=>({file:e.file,mappings:(0, $i.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),Fl=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, $i.decode)(r.mappings)},offset:i})),n=new Set;for(let r of t)for(let i of r.map.sources)n.add(i);return {file:e.file,mappings:[],names:[],sections:t,sourceRoot:void 0,sources:Array.from(n),sourcesContent:void 0,version:3}},Ni=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(Fi);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},Dl=async(e,t=fetch)=>{if(!Ni(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=Pl(e,n);if(!r||!Ni(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?Fl(o):$l(o)}catch{return null}},Bl=async(e,t=true,n)=>{if(t&&nn.has(e)){let o=nn.get(e);if(o==null)return null;if(Ml(o)){let a=o.deref();if(a)return a;nn.delete(e);}else return o}if(t&&In.has(e))return In.get(e);let r=Dl(e,n);t&&In.set(e,r);let i=await r;return t&&In.delete(e),t&&(i===null?nn.set(e,null):nn.set(e,Di?new WeakRef(i):i)),i},Hl=async(e,t=true,n)=>await Promise.all(e.map(async r=>{if(!r.fileName)return r;let i=await Bl(r.fileName,t,n);if(!i||typeof r.lineNumber!="number"||typeof r.columnNumber!="number")return r;let o=Ol(i,r.lineNumber,r.columnNumber);return o?{...r,source:o.fileName&&r.source?r.source.replace(r.fileName,o.fileName):r.source,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,isSymbolicated:true}:r})),zl=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",jl=()=>{let e=Qe();for(let t of [...Array.from(bt),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},Ri=e=>{for(let t of bt){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},et=e=>`
15
+ in ${e}`,Vl=(e,t)=>{let n=et(e);return t&&(n+=` (at ${t})`),n},Lr=false,Mr=(e,t)=>{if(!e||Lr)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,Lr=true;let r=jl();Ri(null);let i=console.error,o=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let A;try{if(t){let x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[]);}catch(C){A=C;}Reflect.construct(e,[],x);}else {try{x.call();}catch(C){A=C;}e.call(x.prototype);}}else {try{throw Error()}catch(C){A=C;}let x=e();x&&typeof x.catch=="function"&&x.catch(()=>{});}}catch(x){if(x instanceof Error&&A instanceof Error&&typeof x.stack=="string")return [x.stack,A.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[g,p]=c.DetermineComponentFrameRoot();if(g&&p){let A=g.split(`
16
+ `),x=p.split(`
17
+ `),C=0,_=0;for(;C<A.length&&!A[C].includes("DetermineComponentFrameRoot");)C++;for(;_<x.length&&!x[_].includes("DetermineComponentFrameRoot");)_++;if(C===A.length||_===x.length)for(C=A.length-1,_=x.length-1;C>=1&&_>=0&&A[C]!==x[_];)_--;for(;C>=1&&_>=0;C--,_--)if(A[C]!==x[_]){if(C!==1||_!==1)do if(C--,_--,_<0||A[C]!==x[_]){let D=`
18
+ ${A[C].replace(" at new "," at ")}`,T=tn(e);return T&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",T)),D}while(C>=1&&_>=0);break}}}finally{Lr=false,Error.prepareStackTrace=n,Ri(r),console.error=i,console.warn=o;}let a=e?tn(e):"";return a?et(a):""},Gl=(e,t)=>{let n=e.tag,r="";switch(n){case kr:r=et("Activity");break;case hr:r=Mr(e.type,true);break;case yr:r=Mr(e.type.render,false);break;case gr:case xr:r=Mr(e.type,false);break;case br:case Sr:case Er:r=et(e.type);break;case vr:r=et("Lazy");break;case wr:r=e.child!==t&&t!==null?et("Suspense Fallback"):et("Suspense");break;case Cr:r=et("SuspenseList");break;case Tr:r=et("ViewTransition");break;default:return ""}return r},Ul=e=>{try{let t="",n=e,r=null;do{t+=Gl(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let a=i[o];typeof a.name=="string"&&(t+=Vl(a.name,a.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
19
19
  Error generating stack: ${t.message}
20
- ${t.stack}`:""}},Cl=e=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;let n=e;if(!n)return "";Error.prepareStackTrace=t,n.startsWith(`Error: react-stack-top-frame
20
+ ${t.stack}`:""}},Kl=e=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;let n=e;if(!n)return "";Error.prepareStackTrace=t,n.startsWith(`Error: react-stack-top-frame
21
21
  `)&&(n=n.slice(29));let r=n.indexOf(`
22
22
  `);if(r!==-1&&(n=n.slice(r+1)),r=Math.max(n.indexOf("react_stack_bottom_frame"),n.indexOf("react-stack-bottom-frame")),r!==-1&&(r=n.lastIndexOf(`
23
- `,r)),r!==-1)n=n.slice(0,r);else return "";return n},El=e=>!!(e.fileName?.startsWith("rsc://")&&e.functionName),kl=(e,t)=>e.fileName===t.fileName&&e.lineNumber===t.lineNumber&&e.columnNumber===t.columnNumber,Tl=e=>{let t=new Map;for(let n of e)for(let r of n.stackFrames){if(!El(r))continue;let i=r.functionName,o=t.get(i)??[];o.some(l=>kl(l,r))||(o.push(r),t.set(i,o));}return t},Al=(e,t,n)=>{if(!e.functionName)return {...e,isServer:true};let r=t.get(e.functionName);if(!r||r.length===0)return {...e,isServer:true};let i=n.get(e.functionName)??0,o=r[i%r.length];return n.set(e.functionName,i+1),{...e,isServer:true,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,source:e.source?.replace(hi,`(${o.fileName}:${o.lineNumber}:${o.columnNumber})`)}},Nl=e=>{let t=[];return fr(e,n=>{if(!yl(n))return;let r=typeof n.type=="string"?n.type:Gt(n.type)||"<anonymous>";t.push({componentName:r,stackFrames:yi(Cl(n._debugStack?.stack))});},true),t},Ci=async(e,t=true,n)=>{let r=Nl(e),i=yi(Sl(e)),o=Tl(r),a=new Map,l=i.map(u=>u.source?.includes(hi)??false?Al(u,o,a):u),c=l.filter((u,b,g)=>{if(b===0)return true;let T=g[b-1];return u.functionName!==T.functionName});return bl(c,t,n)};var Kt=e=>{if(!e||tl.includes(e))return "";let t=e;if(t.startsWith(ci)){let i=t.slice(ci.length),o=i.indexOf("/"),a=i.indexOf(":");t=o!==-1&&(a===-1||o<a)?i.slice(o+1):i;}let n=true;for(;n;){n=false;for(let i of el)if(t.startsWith(i)){t=t.slice(i.length),i==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`),n=true;break}}if(li.test(t)){let i=t.match(li);i&&(t=t.slice(i[0].length));}let r=t.indexOf("?");if(r!==-1){let i=t.slice(r);ol.test(i)&&(t=t.slice(0,r));}return t},xn=e=>{let t=Kt(e);return !(!t||!nl.test(t)||rl.test(t))};var Ei=e=>e.length>0&&/^[A-Z]/.test(e);Qn();var _l=new Set(["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary","LoadableComponent","MotionDOMComponent"]),Rl=()=>typeof document>"u"?false:!!(document.getElementById("__NEXT_DATA__")||document.querySelector("nextjs-portal")),Ml=e=>!!(e.startsWith("_")||_l.has(e)),xr=e=>!(Ml(e)||!Ei(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),Et=async e=>{if(!Ct())return [];let t=hr(e);return t?await Ci(t):null},Ue=async e=>{if(!Ct())return null;let t=await Et(e);if(!t)return null;for(let n of t)if(n.functionName&&xr(n.functionName))return n.functionName;return null},kt=async(e,t={})=>{let{maxLines:n=3}=t,r=Ll(e),i=await Et(e),o=Rl(),a=[];if(i)for(let l of i){if(a.length>=n)break;if(l.isServer&&(!l.functionName||xr(l.functionName))){a.push(`
24
- in ${l.functionName||"<anonymous>"} (at Server)`);continue}if(l.fileName&&xn(l.fileName)){let c=`
25
- in `,u=l.functionName&&xr(l.functionName);u&&(c+=`${l.functionName} (at `),c+=Kt(l.fileName),o&&l.lineNumber&&l.columnNumber&&(c+=`:${l.lineNumber}:${l.columnNumber}`),u&&(c+=")"),a.push(c);}}return `${r}${a.join("")}`},Ll=e=>{let t=e.tagName.toLowerCase();if(!(e instanceof HTMLElement))return `<${t} />`;let n=e.innerText?.trim()??e.textContent?.trim()??"",r="",i=Array.from(e.attributes);for(let w of i){let x=w.name,A=w.value;A.length>20&&(A=`${A.slice(0,20)}...`),r+=` ${x}="${A}"`;}let o=[],a=[],l=false,c=Array.from(e.childNodes);for(let w of c)w.nodeType!==Node.COMMENT_NODE&&(w.nodeType===Node.TEXT_NODE?w.textContent&&w.textContent.trim().length>0&&(l=true):w instanceof Element&&(l?a.push(w):o.push(w)));let u=w=>w.length===0?"":w.length<=2?w.map(x=>`<${x.tagName.toLowerCase()} ...>`).join(`
26
- `):`(${w.length} elements)`,b="",g=u(o);if(g&&(b+=`
27
- ${g}`),n.length>0){let w=n.length>100?`${n.slice(0,100)}...`:n;b+=`
28
- ${w}`;}let T=u(a);return T&&(b+=`
29
- ${T}`),b.length>0?`<${t}${r}>${b}
30
- </${t}>`:`<${t}${r} />`};var Ol="application/x-react-grab",vn=(e,t)=>{let n=JSON.stringify({version:Ro,content:e,timestamp:Date.now()}),r=o=>{o.preventDefault(),o.clipboardData?.setData("text/plain",e),o.clipboardData?.setData(Ol,n);};document.addEventListener("copy",r);let i=document.createElement("textarea");i.value=e,i.style.position="fixed",i.style.left="-9999px",i.ariaHidden="true",document.body.appendChild(i),i.select();try{let o=document.execCommand("copy");return o&&t?.(),o}finally{document.removeEventListener("copy",r),i.remove();}};var ki=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var Tt=e=>{if(e.closest(`[${wt}]`))return false;let t=window.getComputedStyle(e);return !(!ki(e,t)||t.pointerEvents==="none")};var vr=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(Tt(r))return r;return null};var Il=(e,t)=>{let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),o=Math.min(e.bottom,t.bottom),a=Math.max(0,i-n),l=Math.max(0,o-r);return a*l},Pl=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,Ti=(e,t,n)=>{let r=[],i=Array.from(document.querySelectorAll("*")),o={left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height};for(let a of i){if(!n){let u=(a.tagName||"").toUpperCase();if(u==="HTML"||u==="BODY")continue}if(!t(a))continue;let l=a.getBoundingClientRect(),c={left:l.left,top:l.top,right:l.left+l.width,bottom:l.top+l.height};if(n){let u=Il(o,c),b=Math.max(0,l.width*l.height);b>0&&u/b>=.75&&r.push(a);}else Pl(c,o)&&r.push(a);}return r},Ai=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),Ni=(e,t)=>{let n=Ti(e,t,true);return Ai(n)},_i=(e,t)=>{let n=Ti(e,t,false);return Ai(n)};var $l=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),Fl=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return $l(n)?n:null},Ri=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=Fl(i);if(o===null)return null;r.push(o);}return r},Dl=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,Bl=e=>e[0]===1&&e[1]===0&&e[2]===0&&e[3]===0&&e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0&&e[8]===0&&e[9]===0&&e[10]===1&&e[11]===0&&e[15]===1,Sn=e=>{try{if(!(e instanceof Element))return "none";let t=window.getComputedStyle(e);if(!t)return "none";let n=t.transform;if(!n||n==="none")return "none";let r=n.match(/^matrix3d\(([^)]+)\)$/);if(r){let o=Ri(r[1],16);if(o&&o.length===16){let a=[...o];return a[12]=0,a[13]=0,a[14]=0,Bl(a)?"none":`matrix3d(${a.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=Ri(i[1],6);if(o&&o.length===6){let[a,l,c,u]=o;return Dl(a,l,c,u)?"none":`matrix(${a}, ${l}, ${c}, ${u}, 0, 0)`}}return "none"}catch{return "none"}};var ke=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:Sn(e),width:t.width,x:t.left,y:t.top}};var Hl=new Set(["c","C","\u0441","\u0421","\u023C","\u023B","\u2184","\u2183","\u1D04","\u1D9C","\u2C7C","\u217D","\u216D","\xE7","\xC7","\u0107","\u0106","\u010D","\u010C","\u0109","\u0108","\u010B","\u010A"]),Cn=(e,t)=>t==="KeyC"?true:!e||e.length!==1?false:Hl.has(e);var Sr=(e,t)=>{let n=e.toLowerCase();return t.startsWith("Key")?t.slice(3).toLowerCase()===n:t.startsWith("Digit")?t.slice(5)===n:false},Mi=(e,t)=>{if(t.activationShortcut)return t.activationShortcut(e);if(t.activationKey){let{key:n,metaKey:r,ctrlKey:i,shiftKey:o,altKey:a}=t.activationKey;if(!n){if(!mn.includes(e.key))return false;let g=r?e.metaKey||e.key==="Meta":true,T=i?e.ctrlKey||e.key==="Control":true,w=o?e.shiftKey||e.key==="Shift":true,x=a?e.altKey||e.key==="Alt":true,A=g&&T&&w&&x,P=[r,i,o,a].filter(Boolean).length,E=[e.metaKey||e.key==="Meta",e.ctrlKey||e.key==="Control",e.shiftKey||e.key==="Shift",e.altKey||e.key==="Alt"].filter(Boolean).length;return A&&E>=P}let c=e.key.toLowerCase()===n.toLowerCase()||Sr(n,e.code),b=r||i||o||a?(r?e.metaKey:true)&&(i?e.ctrlKey:true)&&(o?e.shiftKey:true)&&(a?e.altKey:true):e.metaKey||e.ctrlKey;return c&&b}return (e.metaKey||e.ctrlKey)&&Cn(e.key,e.code)};var Ke=(e,t)=>e.composedPath().some(n=>n instanceof HTMLElement&&n.hasAttribute(t));var En={enabled:true,hue:0,selectionBox:{enabled:true},dragBox:{enabled:true},grabbedBoxes:{enabled:true},elementLabel:{enabled:true},successLabels:{enabled:true},crosshair:{enabled:true}},Li=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled},successLabels:{enabled:t.successLabels?.enabled??e.successLabels.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled}}),Cr=e=>e?Li(En,e):En,Oi=Li;var Er="react-grab:agent-sessions",zl=()=>`session-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,Ii=(e,t,n,r,i)=>({id:zl(),context:e,lastStatus:"",isStreaming:true,createdAt:Date.now(),position:t,selectionBounds:n,tagName:r,componentName:i}),kr=e=>e||null,dt=new Map,kn=(e,t)=>{let n=kr(t);if(!n){dt.clear(),e.forEach((r,i)=>dt.set(i,r));return}try{let r=Object.fromEntries(e);n.setItem(Er,JSON.stringify(r));}catch{dt.clear(),e.forEach((r,i)=>dt.set(i,r));}},Tr=(e,t)=>{let n=Tn(t);n.set(e.id,e),kn(n,t);},Tn=e=>{let t=kr(e);if(!t)return new Map(dt);try{let n=t.getItem(Er);if(!n)return new Map;let r=JSON.parse(n);return new Map(Object.entries(r))}catch{return new Map}};var An=e=>{let t=kr(e);if(!t){dt.clear();return}try{t.removeItem(Er);}catch{dt.clear();}},Pi=(e,t)=>{let n=Tn(t);n.delete(e),kn(n,t);},Yt=(e,t,n)=>{let r={...e,...t};return Tr(r,n),r};var Nn=async(e,t={})=>{let r=(await Promise.allSettled(e.map(i=>kt(i,t)))).map(i=>i.status==="fulfilled"?i.value:"").filter(i=>i.trim());return r.length===0?"":r.join(`
23
+ `,r)),r!==-1)n=n.slice(0,r);else return "";return n},Yl=e=>!!(e.fileName?.startsWith("rsc://")&&e.functionName),Xl=(e,t)=>e.fileName===t.fileName&&e.lineNumber===t.lineNumber&&e.columnNumber===t.columnNumber,Wl=e=>{let t=new Map;for(let n of e)for(let r of n.stackFrames){if(!Yl(r))continue;let i=r.functionName,o=t.get(i)??[];o.some(l=>Xl(l,r))||(o.push(r),t.set(i,o));}return t},ql=(e,t,n)=>{if(!e.functionName)return {...e,isServer:true};let r=t.get(e.functionName);if(!r||r.length===0)return {...e,isServer:true};let i=n.get(e.functionName)??0,o=r[i%r.length];return n.set(e.functionName,i+1),{...e,isServer:true,fileName:o.fileName,lineNumber:o.lineNumber,columnNumber:o.columnNumber,source:e.source?.replace(Li,`(${o.fileName}:${o.lineNumber}:${o.columnNumber})`)}},Zl=e=>{let t=[];return Ar(e,n=>{if(!zl(n))return;let r=typeof n.type=="string"?n.type:tn(n.type)||"<anonymous>";t.push({componentName:r,stackFrames:Oi(Kl(n._debugStack?.stack))});},true),t},Bi=async(e,t=true,n)=>{let r=Zl(e),i=Oi(Ul(e)),o=Wl(r),a=new Map,l=i.map(u=>u.source?.includes(Li)??false?ql(u,o,a):u),c=l.filter((u,g,p)=>{if(g===0)return true;let A=p[g-1];return u.functionName!==A.functionName});return Hl(c,t,n)};var rn=e=>{if(!e||El.includes(e))return "";let t=e;if(t.startsWith(ki)){let i=t.slice(ki.length),o=i.indexOf("/"),a=i.indexOf(":");t=o!==-1&&(a===-1||o<a)?i.slice(o+1):i;}let n=true;for(;n;){n=false;for(let i of Sl)if(t.startsWith(i)){t=t.slice(i.length),i==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`),n=true;break}}if(Ei.test(t)){let i=t.match(Ei);i&&(t=t.slice(i[0].length));}let r=t.indexOf("?");if(r!==-1){let i=t.slice(r);Al.test(i)&&(t=t.slice(0,r));}return t},Ln=e=>{let t=rn(e);return !(!t||!kl.test(t)||Tl.test(t))};var Hi=e=>e.length>0&&/^[A-Z]/.test(e);pr();var Jl=new Set(["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary","LoadableComponent","MotionDOMComponent"]),Ql=()=>typeof document>"u"?false:!!(document.getElementById("__NEXT_DATA__")||document.querySelector("nextjs-portal")),ec=e=>!!(e.startsWith("_")||Jl.has(e)),Pr=e=>!(ec(e)||!Hi(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),Ft=async e=>{if(!$t())return [];let t=Ir(e);return t?await Bi(t):null},tt=async e=>{if(!$t())return null;let t=await Ft(e);if(!t)return null;for(let n of t)if(n.functionName&&Pr(n.functionName))return n.functionName;return null},Dt=async(e,t={})=>{let{maxLines:n=3}=t,r=tc(e),i=await Ft(e),o=Ql(),a=[];if(i)for(let l of i){if(a.length>=n)break;if(l.isServer&&(!l.functionName||Pr(l.functionName))){a.push(`
24
+ in ${l.functionName||"<anonymous>"} (at Server)`);continue}if(l.fileName&&Ln(l.fileName)){let c=`
25
+ in `,u=l.functionName&&Pr(l.functionName);u&&(c+=`${l.functionName} (at `),c+=rn(l.fileName),o&&l.lineNumber&&l.columnNumber&&(c+=`:${l.lineNumber}:${l.columnNumber}`),u&&(c+=")"),a.push(c);}}return `${r}${a.join("")}`},tc=e=>{let t=e.tagName.toLowerCase();if(!(e instanceof HTMLElement))return `<${t} />`;let n=e.innerText?.trim()??e.textContent?.trim()??"",r="",i=Array.from(e.attributes);for(let x of i){let C=x.name,_=x.value;_.length>20&&(_=`${_.slice(0,20)}...`),r+=` ${C}="${_}"`;}let o=[],a=[],l=false,c=Array.from(e.childNodes);for(let x of c)x.nodeType!==Node.COMMENT_NODE&&(x.nodeType===Node.TEXT_NODE?x.textContent&&x.textContent.trim().length>0&&(l=true):x instanceof Element&&(l?a.push(x):o.push(x)));let u=x=>x.length===0?"":x.length<=2?x.map(C=>`<${C.tagName.toLowerCase()} ...>`).join(`
26
+ `):`(${x.length} elements)`,g="",p=u(o);if(p&&(g+=`
27
+ ${p}`),n.length>0){let x=n.length>100?`${n.slice(0,100)}...`:n;g+=`
28
+ ${x}`;}let A=u(a);return A&&(g+=`
29
+ ${A}`),g.length>0?`<${t}${r}>${g}
30
+ </${t}>`:`<${t}${r} />`};var nc="application/x-react-grab",Mn=(e,t)=>{let n=JSON.stringify({version:Ko,content:e,timestamp:Date.now()}),r=o=>{o.preventDefault(),o.clipboardData?.setData("text/plain",e),o.clipboardData?.setData(nc,n);};document.addEventListener("copy",r);let i=document.createElement("textarea");i.value=e,i.style.position="fixed",i.style.left="-9999px",i.ariaHidden="true",document.body.appendChild(i),i.select();try{let o=document.execCommand("copy");return o&&t?.(),o}finally{document.removeEventListener("copy",r),i.remove();}};var zi=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var Bt=e=>{if(e.closest(`[${Lt}]`))return false;let t=window.getComputedStyle(e);return !(!zi(e,t)||t.pointerEvents==="none")};var $r=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(Bt(r))return r;return null};var rc=(e,t)=>{let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),i=Math.min(e.right,t.right),o=Math.min(e.bottom,t.bottom),a=Math.max(0,i-n),l=Math.max(0,o-r);return a*l},oc=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,ji=(e,t,n)=>{let r=[],i=Array.from(document.querySelectorAll("*")),o={left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height};for(let a of i){if(!n){let u=(a.tagName||"").toUpperCase();if(u==="HTML"||u==="BODY")continue}if(!t(a))continue;let l=a.getBoundingClientRect(),c={left:l.left,top:l.top,right:l.left+l.width,bottom:l.top+l.height};if(n){let u=rc(o,c),g=Math.max(0,l.width*l.height);g>0&&u/g>=.75&&r.push(a);}else oc(c,o)&&r.push(a);}return r},Vi=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),Gi=(e,t)=>{let n=ji(e,t,true);return Vi(n)},Ui=(e,t)=>{let n=ji(e,t,false);return Vi(n)};var ic=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),sc=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return ic(n)?n:null},Ki=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=sc(i);if(o===null)return null;r.push(o);}return r},ac=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,lc=e=>e[0]===1&&e[1]===0&&e[2]===0&&e[3]===0&&e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0&&e[8]===0&&e[9]===0&&e[10]===1&&e[11]===0&&e[15]===1,On=e=>{try{if(!(e instanceof Element))return "none";let t=window.getComputedStyle(e);if(!t)return "none";let n=t.transform;if(!n||n==="none")return "none";let r=n.match(/^matrix3d\(([^)]+)\)$/);if(r){let o=Ki(r[1],16);if(o&&o.length===16){let a=[...o];return a[12]=0,a[13]=0,a[14]=0,lc(a)?"none":`matrix3d(${a.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=Ki(i[1],6);if(o&&o.length===6){let[a,l,c,u]=o;return ac(a,l,c,u)?"none":`matrix(${a}, ${l}, ${c}, ${u}, 0, 0)`}}return "none"}catch{return "none"}};var Ie=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:On(e),width:t.width,x:t.left,y:t.top}};var cc=new Set(["c","C","\u0441","\u0421","\u023C","\u023B","\u2184","\u2183","\u1D04","\u1D9C","\u2C7C","\u217D","\u216D","\xE7","\xC7","\u0107","\u0106","\u010D","\u010C","\u0109","\u0108","\u010B","\u010A"]),Pn=(e,t)=>t==="KeyC"?true:!e||e.length!==1?false:cc.has(e);var Fr=(e,t)=>{let n=e.toLowerCase();return t.startsWith("Key")?t.slice(3).toLowerCase()===n:t.startsWith("Digit")?t.slice(5)===n:false},Dr=(e,t)=>{if(t.activationShortcut)return t.activationShortcut(e);if(t.activationKey){let{key:n,metaKey:r,ctrlKey:i,shiftKey:o,altKey:a}=t.activationKey;if(!n){if(!Sn.includes(e.key))return false;let p=r?e.metaKey||e.key==="Meta":true,A=i?e.ctrlKey||e.key==="Control":true,x=o?e.shiftKey||e.key==="Shift":true,C=a?e.altKey||e.key==="Alt":true,_=p&&A&&x&&C,D=[r,i,o,a].filter(Boolean).length,T=[e.metaKey||e.key==="Meta",e.ctrlKey||e.key==="Control",e.shiftKey||e.key==="Shift",e.altKey||e.key==="Alt"].filter(Boolean).length;return _&&T>=D}let c=e.key?.toLowerCase()===n.toLowerCase()||Fr(n,e.code),g=r||i||o||a?(r?e.metaKey:true)&&(i?e.ctrlKey:true)&&(o?e.shiftKey:true)&&(a?e.altKey:true):e.metaKey||e.ctrlKey;return c&&g}return (e.metaKey||e.ctrlKey)&&Pn(e.key,e.code)};var nt=(e,t)=>e.composedPath().some(n=>n instanceof HTMLElement&&n.hasAttribute(t));var $n={enabled:true,hue:0,selectionBox:{enabled:true},dragBox:{enabled:true},grabbedBoxes:{enabled:true},elementLabel:{enabled:true},crosshair:{enabled:true}},Yi=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled}}),Br=e=>e?Yi($n,e):$n,Xi=Yi;var Hr="react-grab:agent-sessions",uc=()=>`session-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,Wi=(e,t,n,r,i)=>({id:uc(),context:e,lastStatus:"",isStreaming:true,createdAt:Date.now(),position:t,selectionBounds:n,tagName:r,componentName:i}),zr=e=>e||null,yt=new Map,Fn=(e,t)=>{let n=zr(t);if(!n){yt.clear(),e.forEach((r,i)=>yt.set(i,r));return}try{let r=Object.fromEntries(e);n.setItem(Hr,JSON.stringify(r));}catch{yt.clear(),e.forEach((r,i)=>yt.set(i,r));}},jr=(e,t)=>{let n=Dn(t);n.set(e.id,e),Fn(n,t);},Dn=e=>{let t=zr(e);if(!t)return new Map(yt);try{let n=t.getItem(Hr);if(!n)return new Map;let r=JSON.parse(n);return new Map(Object.entries(r))}catch{return new Map}};var Bn=e=>{let t=zr(e);if(!t){yt.clear();return}try{t.removeItem(Hr);}catch{yt.clear();}},qi=(e,t)=>{let n=Dn(t);n.delete(e),Fn(n,t);},on=(e,t,n)=>{let r={...e,...t};return jr(r,n),r};var Hn=async(e,t={})=>{let r=(await Promise.allSettled(e.map(i=>Dt(i,t)))).map(i=>i.status==="fulfilled"?i.value:"").filter(i=>i.trim());return r.length===0?"":r.join(`
31
31
 
32
- `)};var $i=e=>{let[t,n]=R(new Map),r=new Map,i=new Map,o=e,a=E=>{o=E;},l=()=>o,c=()=>t().size>0,u=async(E,v)=>{let N=o?.storage,z=false,I=false,j=false;try{for await(let U of v){let y=t().get(E.id);if(!y)break;let p=Yt(y,{lastStatus:U},N);n(m=>new Map(m).set(E.id,p)),o?.onStatus?.(U,p);}z=!0;let Y=t().get(E.id);if(Y){let U=Yt(Y,{isStreaming:!1},N);n(te=>new Map(te).set(E.id,U)),o?.onComplete?.(U);}}catch(W){let U=t().get(E.id);if(W instanceof Error&&W.name==="AbortError"){if(I=true,U){let te=i.get(E.id);o?.onAbort?.(U,te);}}else {let te=W instanceof Error?W.message:"Unknown error",y=te.toLowerCase();if(y.includes("network")||y.includes("fetch")||y.includes("load failed")||y.includes("cancelled")||y.includes("canceled")||y.includes("aborted")){if(U){let m=Yt(U,{lastStatus:`Error: ${te}`},N);n(f=>new Map(f).set(E.id,m));}}else if(j=true,U){let m=Yt(U,{lastStatus:`Error: ${te}`,isStreaming:false},N);n(f=>new Map(f).set(E.id,m)),W instanceof Error&&o?.onError?.(W,m);}}}finally{r.delete(E.id);let W=()=>{i.delete(E.id),Pi(E.id,N),n(Y=>{let U=new Map(Y);return U.delete(E.id),U});};I?W():(z||j)&&setTimeout(W,1500);}},b=E=>{let{selectionBounds:v,tagName:N}=E;if(!v)return;let z=v.x+v.width/2,I=v.y+v.height/2,j=document.elementFromPoint(z,I);if(j&&!(N&&j.tagName.toLowerCase()!==N))return j};return {sessions:t,isProcessing:c,tryResumeSessions:()=>{let E=o?.storage;if(!E)return;let v=Tn(E);if(v.size===0)return;let N=Array.from(v.values()).filter(I=>I.isStreaming);if(N.length===0){An(E);return}if(!o?.provider?.supportsResume||!o.provider.resume){An(E);return}let z=new Map(N.map(I=>[I.id,I]));n(z),kn(z,E);for(let I of N){let j=b(I);j&&i.set(I.id,j);let W={...I,lastStatus:I.lastStatus||"Resuming...",position:I.position??{x:window.innerWidth/2,y:window.innerHeight/2}};n(te=>new Map(te).set(I.id,W)),o?.onResume?.(W);let Y=new AbortController;r.set(I.id,Y);let U=o.provider.resume(I.id,Y.signal,E);u(I,U);}},startSession:async E=>{let{element:v,prompt:N,position:z,selectionBounds:I}=E,j=o?.storage;if(!o?.provider)return;let U={content:await Nn([v]),prompt:N,options:o?.getOptions?.()},te=(v.tagName||"").toLowerCase()||void 0,y=await Ue(v)||void 0,p=Ii(U,z,I,te,y);p.lastStatus="Please wait\u2026",i.set(p.id,v),n(_=>new Map(_).set(p.id,p)),Tr(p,j),o.onStart?.(p);let m=new AbortController;r.set(p.id,m);let f=o.provider.send(U,m.signal);u(p,f);},abortSession:E=>{let v=r.get(E);v&&v.abort();},abortAllSessions:()=>{r.forEach(E=>E.abort()),r.clear(),n(new Map),An(o?.storage);},updateSessionBoundsOnViewportChange:()=>{let E=t();if(E.size===0)return;let v=new Map(E),N=false;for(let[z,I]of E){let j=i.get(z);if(!j||!document.contains(j)){let W=b(I);W&&(i.set(z,W),j=W);}if(j&&document.contains(j)){let W=ke(j);if(W){let Y=I.selectionBounds,U=I.position;if(Y){let te=Y.x+Y.width/2,y=I.position.x-te,p=W.x+W.width/2;U={...I.position,x:p+y};}v.set(z,{...I,selectionBounds:W,position:U}),N=true;}}}N&&n(v);},getSessionElement:E=>i.get(E),setOptions:a,getOptions:l}};var Di=re('<span class="tabular-nums align-middle">'),Bi=re('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),Kl=re('<span class="tabular-nums ml-1 align-middle"> in '),Yl=e=>"scheduler"in globalThis?globalThis.scheduler.postTask(e,{priority:"background"}):"requestIdleCallback"in window?requestIdleCallback(e):setTimeout(e,0),Ar=false,Xl=()=>{if(typeof window>"u")return null;try{let e=document.currentScript?.getAttribute("data-options");return e?JSON.parse(e):null}catch{return null}},Nr=e=>{let t=Cr(e?.theme);if(typeof window>"u")return {activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>t,setAgent:()=>{}};let r={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,maxContextLines:3,...Xl(),...e},i=Cr(r.theme);return r.enabled===false||Ar?{activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>i,setAgent:()=>{}}:(Ar=true,(()=>{try{let a="0.0.70",l=`data:image/svg+xml;base64,${btoa(Mo)}`;console.log(`%cReact Grab${a?` v${a}`:""}%c
33
- https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${l}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&a&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(c=>c.text()).then(c=>{c&&c!==a&&console.warn(`[React Grab] v${a} is outdated (latest: v${c})`);}).catch(()=>null);}catch{}})(),at(a=>{let[l,c]=R(i),[u,b]=R(false),[g,T]=R(-1e3),[w,x]=R(-1e3),[A,P]=R(null),E=0,[v,N]=R(false),[z,I]=R(-1e3),[j,W]=R(-1e3),[Y,U]=R(false),[te,y]=R("idle"),[p,m]=R([]),[f,_]=R(null),[X,L]=R(null),[B,H]=R([]),[G,O]=R([]),[$,ee]=R(false),[V,K]=R(false),[ce,xe]=R(false),[Pe,Be]=R(-1e3),[At,tt]=R(-1e3),[He,he]=R(0),[Ce,Ye]=R(0),[de,$e]=R(false),[_r,Nt]=R(""),[Hi,Ln]=R(false),[Rr,Mr]=R(void 0),[Lr,Or]=R(void 0),[Ir,nt]=R(false),[Pr,rt]=R(false),[Xt,_t]=R(null),[qt,zi]=R(!!r.agent?.provider),[On,In]=R(-1e3),[Pn,$n]=R(-1e3),[$r,Wt]=R(false),[Rt,Fn]=R([]),Xe=s=>(s.tagName||"").toLowerCase(),Fr=ae(()=>{let s=Rt();if(!(s.length===0||!s[0]))return Xe(s[0])||void 0}),[Dr]=an(()=>{let s=Rt();return s.length===0||!s[0]?null:s[0]},async s=>{if(s)return await Ue(s)||void 0}),Zt=()=>{In(-1e3),$n(-1e3),Fn([]);},ji=()=>{let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0)return;let h=s.getRangeAt(0).getClientRects();if(h.length===0)return;let S=(()=>{if(!s.anchorNode||!s.focusNode)return false;let Z=s.anchorNode.compareDocumentPosition(s.focusNode);return Z&Node.DOCUMENT_POSITION_FOLLOWING?false:Z&Node.DOCUMENT_POSITION_PRECEDING?true:s.anchorOffset>s.focusOffset})(),k=S?h[0]:h[h.length-1],F=S?k.left:k.right,D=k.top+k.height/2;In(F),$n(D);};ne(we(()=>Ce(),()=>{$r()&&ji();}));let Dn=ae(()=>{Ce();let s=Rt();if(!(s.length===0||!s[0]))return ke(s[0])}),ze=null,Jt=null,Qt=null,Te=null,ot=null,Mt=null,Oe=ae(()=>$()&&!Y()),Br=(s,d)=>({top:d<25,bottom:d>window.innerHeight-25,left:s<25,right:s>window.innerWidth-25}),Hr=(s,d)=>{let h=`grabbed-${Date.now()}-${Math.random()}`,S=Date.now(),k={id:h,bounds:s,createdAt:S,element:d},F=B();H([...F,k]),r.onGrabbedBox?.(s,d),setTimeout(()=>{H(D=>D.filter(Z=>Z.id!==h));},1700);},zr=(s,d)=>{let h=`success-${Date.now()}-${Math.random()}`;O(S=>[...S,{id:h,text:s}]),r.onSuccessLabel?.(s,d,{x:g(),y:w()}),setTimeout(()=>{O(S=>S.filter(k=>k.id!==h));},1700);},Vi=s=>{let d=Xe(s);return d?`<${d}>`:"1 element"},jr=s=>{let d=s.map(h=>({tagName:Xe(h)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:d}}));},Gi=(s,d,h,S,k,F)=>{let D=`label-${Date.now()}-${Math.random().toString(36).slice(2)}`;return m(Z=>[...Z,{id:D,bounds:s,tagName:d,componentName:h,status:S,createdAt:Date.now(),element:k,mouseX:F}]),D},Vr=(s,d)=>{m(h=>h.map(S=>S.id===s?{...S,status:d}:S));},Ui=s=>{m(d=>d.filter(h=>h.id!==s));},Lt=async(s,d,h,S,k,F,D)=>{if(Be(s),tt(d),S){let Re=S.x+S.width/2;he(s-Re);}else he(0);U(true),Wi();let Z=S&&k?Gi(S,k,F,"copying",D,s):null;await h().finally(()=>{U(false),en(),Z&&(Vr(Z,"copied"),setTimeout(()=>{Vr(Z,"fading"),setTimeout(()=>{Ui(Z);},350);},1500)),V()&&Ee();});},Ki=s=>"innerText"in s,Yi=s=>Ki(s)?s.innerText:s.textContent??"",Gr=s=>s.map(d=>Yi(d).trim()).filter(d=>d.length>0).join(`
32
+ `)};var Zi=e=>{let[t,n]=N(new Map),r=new Map,i=new Map,o=e,a=T=>{o=T;},l=()=>o,c=()=>t().size>0,u=async(T,v)=>{let R=o?.storage,H=false,M=false,z=false;try{for await(let Y of v){let h=t().get(T.id);if(!h)break;let m=on(h,{lastStatus:Y},R);n(f=>new Map(f).set(T.id,m)),o?.onStatus?.(Y,m);}H=!0;let K=t().get(T.id);if(K){let Y=on(K,{isStreaming:!1},R);n(h=>new Map(h).set(T.id,Y));let ne=i.get(T.id);o?.onComplete?.(Y,ne);}}catch(U){let Y=t().get(T.id);if(U instanceof Error&&U.name==="AbortError"){if(M=true,Y){let ne=i.get(T.id);o?.onAbort?.(Y,ne);}}else {let ne=U instanceof Error?U.message:"Unknown error",h=ne.toLowerCase();if(h.includes("network")||h.includes("fetch")||h.includes("load failed")||h.includes("cancelled")||h.includes("canceled")||h.includes("aborted")){if(Y){let f=on(Y,{lastStatus:`Error: ${ne}`},R);n(y=>new Map(y).set(T.id,f));}}else if(z=true,Y){let f=on(Y,{lastStatus:`Error: ${ne}`,isStreaming:false},R);n(y=>new Map(y).set(T.id,f)),U instanceof Error&&o?.onError?.(U,f);}}}finally{r.delete(T.id);let U=()=>{i.delete(T.id),qi(T.id,R),n(K=>{let Y=new Map(K);return Y.delete(T.id),Y});};M?U():(H||z)&&setTimeout(U,1500);}},g=T=>{let{selectionBounds:v,tagName:R}=T;if(!v)return;let H=v.x+v.width/2,M=v.y+v.height/2,z=document.elementFromPoint(H,M);if(z&&!(R&&z.tagName.toLowerCase()!==R))return z};return {sessions:t,isProcessing:c,tryResumeSessions:()=>{let T=o?.storage;if(!T)return;let v=Dn(T);if(v.size===0)return;let R=Array.from(v.values()).filter(M=>M.isStreaming);if(R.length===0){Bn(T);return}if(!o?.provider?.supportsResume||!o.provider.resume){Bn(T);return}let H=new Map(R.map(M=>[M.id,M]));n(H),Fn(H,T);for(let M of R){let z=g(M);z&&i.set(M.id,z);let U={...M,lastStatus:M.lastStatus||"Resuming...",position:M.position??{x:window.innerWidth/2,y:window.innerHeight/2}};n(ne=>new Map(ne).set(M.id,U)),o?.onResume?.(U);let K=new AbortController;r.set(M.id,K);let Y=o.provider.resume(M.id,K.signal,T);u(M,Y);}},startSession:async T=>{let{element:v,prompt:R,position:H,selectionBounds:M}=T,z=o?.storage;if(!o?.provider)return;let Y={content:await Hn([v],{maxLines:1/0}),prompt:R,options:o?.getOptions?.()},ne=(v.tagName||"").toLowerCase()||void 0,h=await tt(v)||void 0,m=Wi(Y,H,M,ne,h);m.lastStatus="Thinking\u2026",i.set(m.id,v),n(O=>new Map(O).set(m.id,m)),jr(m,z),o.onStart?.(m,v);let f=new AbortController;r.set(m.id,f);let y=o.provider.send(Y,f.signal);u(m,y);},abortSession:T=>{let v=r.get(T);v&&v.abort();},abortAllSessions:()=>{r.forEach(T=>T.abort()),r.clear(),n(new Map),Bn(o?.storage);},updateSessionBoundsOnViewportChange:()=>{let T=t();if(T.size===0)return;let v=new Map(T),R=false;for(let[H,M]of T){let z=i.get(H);if(!z||!document.contains(z)){let U=g(M);U&&(i.set(H,U),z=U);}if(z&&document.contains(z)){let U=Ie(z);if(U){let K=M.selectionBounds,Y=M.position;if(K){let ne=K.x+K.width/2,h=M.position.x-ne,m=U.x+U.width/2;Y={...M.position,x:m+h};}v.set(H,{...M,selectionBounds:U,position:Y}),R=true;}}}R&&n(v);},getSessionElement:T=>i.get(T),setOptions:a,getOptions:l}};var Ji=Z('<span class="tabular-nums align-middle">'),Qi=Z('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),bc=Z('<span class="tabular-nums ml-1 align-middle"> in '),yc=e=>"scheduler"in globalThis?globalThis.scheduler.postTask(e,{priority:"background"}):"requestIdleCallback"in window?requestIdleCallback(e):setTimeout(e,0),Vr=false,wc=()=>{if(typeof window>"u")return null;try{let e=document.currentScript?.getAttribute("data-options");return e?JSON.parse(e):null}catch{return null}},Gr=e=>{let t=Br(e?.theme);if(typeof window>"u")return {activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>t,setAgent:()=>{}};let r={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,maxContextLines:3,...wc(),...e},i=Br(r.theme);return r.enabled===false||Vr?{activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,isInputMode:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>i,setAgent:()=>{}}:(Vr=true,(()=>{try{let a="0.0.72",l=`data:image/svg+xml;base64,${btoa(Yo)}`;console.log(`%cReact Grab${a?` v${a}`:""}%c
33
+ https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${l}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&a&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(c=>c.text()).then(c=>{c&&c!==a&&console.warn(`[React Grab] v${a} is outdated (latest: v${c})`);}).catch(()=>null);}catch{}})(),Ze(a=>{let[l,c]=N(i),[u,g]=N(false),[p,A]=N(-1e3),[x,C]=N(-1e3),[_,D]=N(null),T=0,[v,R]=N(false),[H,M]=N(-1e3),[z,U]=N(-1e3),[K,Y]=N(false),[ne,h]=N("idle"),[m,f]=N([]),[y,O]=N(null),[W,te]=N(null),[Q,oe]=N(null),[E,$]=N([]),[V,j]=N(false),[F,B]=N(false),[ie,ee]=N(false),[de,ue]=N(false),[he,fe]=N(-1e3),[we,xe]=N(-1e3),[Ge,Le]=N(0),[De,Ht]=N(0),[ge,je]=N(false),[Gn,Ue]=N(""),[es,Un]=N(false),[Ur,Kr]=N(void 0),[Yr,Xr]=N(void 0),[Kn,Ke]=N(false),[Wr,Ye]=N(false),[xt,vt]=N(null),[sn,ts]=N(!!r.agent?.provider),[ns,rs]=N(false),[qr,Ct]=N(false),ct=new WeakMap,[Yn,Xn]=N(-1e3),[Wn,qn]=N(-1e3),[Zr,zt]=N(false),[jt,Jr]=N([]),ut=s=>(s.tagName||"").toLowerCase(),Qr=ae(()=>{let s=jt();if(!(s.length===0||!s[0]))return ut(s[0])||void 0}),[eo]=hn(()=>{let s=jt();return s.length===0||!s[0]?null:s[0]},async s=>{if(s)return await tt(s)||void 0}),Xe=()=>{zt(false),Xn(-1e3),qn(-1e3),Jr([]);},os=()=>{let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0)return;let b=s.getRangeAt(0).getClientRects();if(b.length===0)return;let w=(()=>{if(!s.anchorNode||!s.focusNode)return false;let q=s.anchorNode.compareDocumentPosition(s.focusNode);return q&Node.DOCUMENT_POSITION_FOLLOWING?false:q&Node.DOCUMENT_POSITION_PRECEDING?true:s.anchorOffset>s.focusOffset})(),k=w?b[0]:b[b.length-1],P=w?k.left:k.right,L=k.top+k.height/2;Xn(P),qn(L);};re(Re(()=>De(),()=>{Zr()&&os();}));let Zn=ae(()=>{De();let s=jt();if(!(s.length===0||!s[0]))return Ie(s[0])}),We=null,an=null,ln=null,Me=null,dt=null,Vt=null,ze=ae(()=>V()&&!K()),to=(s,d)=>({top:d<25,bottom:d>window.innerHeight-25,left:s<25,right:s>window.innerWidth-25}),no=(s,d)=>{let b=`grabbed-${Date.now()}-${Math.random()}`,w=Date.now(),k={id:b,bounds:s,createdAt:w,element:d},P=E();$([...P,k]),r.onGrabbedBox?.(s,d),setTimeout(()=>{$(L=>L.filter(q=>q.id!==b));},1700);},ro=s=>{let d=s.map(b=>({tagName:ut(b)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:d}}));},is=(s,d,b,w,k,P)=>{let L=`label-${Date.now()}-${Math.random().toString(36).slice(2)}`;return f(q=>[...q,{id:L,bounds:s,tagName:d,componentName:b,status:w,createdAt:Date.now(),element:k,mouseX:P}]),L},oo=(s,d)=>{f(b=>b.map(w=>w.id===s?{...w,status:d}:w));},ss=s=>{f(d=>d.filter(b=>b.id!==s));},Gt=async(s,d,b,w,k,P,L,q)=>{if(fe(s),xe(d),w){let Oe=w.x+w.width/2;Le(s-Oe);}else Le(0);Y(true),ds();let Ne=w&&k?is(w,k,P,"copying",L,s):null;await b().finally(()=>{Y(false),ue(true),L&&te(L),cn(),Ne&&(oo(Ne,"copied"),setTimeout(()=>{oo(Ne,"fading"),setTimeout(()=>{ss(Ne);},350);},1500)),(F()||q)&&_e();});},as=s=>"innerText"in s,ls=s=>as(s)?s.innerText:s.textContent??"",io=s=>s.map(d=>ls(d).trim()).filter(d=>d.length>0).join(`
34
34
 
35
- `),Bn=async(s,d)=>{let h=false,S="";await r.onBeforeCopy?.(s);try{let k=await Promise.allSettled(s.map(D=>kt(D,{maxLines:r.maxContextLines}))),F=[];for(let D of k)D.status==="fulfilled"&&D.value.trim()&&F.push(D.value);if(F.length>0){let D=F.join(`
35
+ `),Jn=async(s,d)=>{let b=false,w="";await r.onBeforeCopy?.(s);try{let k=await Promise.allSettled(s.map(L=>Dt(L,{maxLines:r.maxContextLines}))),P=[];for(let L of k)L.status==="fulfilled"&&L.value.trim()&&P.push(L.value);if(P.length>0){let L=P.join(`
36
36
 
37
- `),Z=d?`${d}
37
+ `),q=d?`${d}
38
38
 
39
- ${D}`:D;S=Z,h=vn(Z);}if(!h){let D=Gr(s);if(D.length>0){let Z=d?`${d}
39
+ ${L}`:L;w=q,b=Mn(q);}if(!b){let L=io(s);if(L.length>0){let q=d?`${d}
40
40
 
41
- ${D}`:D;S=Z,h=vn(Z);}}h&&r.onCopySuccess?.(s,S);}catch(k){r.onCopyError?.(k);let F=Gr(s);if(F.length>0){let D=d?`${d}
41
+ ${L}`:L;w=q,b=Mn(q);}}b&&r.onCopySuccess?.(s,w);}catch(k){r.onCopyError?.(k);let P=io(s);if(P.length>0){let L=d?`${d}
42
42
 
43
- ${F}`:F;S=D,h=vn(D);}}return r.onAfterCopy?.(s,h),h},Hn=async(s,d)=>{let h=d?"input-submit":"copy";r.onElementSelect?.(s),l().grabbedBoxes.enabled&&Hr(ke(s),s),await new Promise(k=>requestAnimationFrame(k)),await Bn([s],d)&&l().successLabels.enabled&&zr(Vi(s),h),jr([s]);},Ur=async s=>{if(s.length===0)return;for(let h of s)r.onElementSelect?.(h);if(l().grabbedBoxes.enabled)for(let h of s)Hr(ke(h),h);await new Promise(h=>requestAnimationFrame(h)),await Bn(s)&&l().successLabels.enabled&&zr(`${s.length} elements`,"copy"),jr(s);},fe=ae(()=>{if(!Oe()||v())return null;let s=A();return s&&!document.contains(s)?null:s});ne(()=>{let s=A();if(!s)return;let d=setInterval(()=>{document.contains(s)||P(null);},100);ge(()=>clearInterval(d));}),ne(()=>{let s=fe();s&&_t(s);});let Kr=ae(()=>{Ce();let s=fe();if(s)return ke(s)}),Yr=(s,d)=>{let h=s+window.scrollX,S=d+window.scrollY;return {x:Math.abs(h-z()),y:Math.abs(S-j())}},Xr=ae(()=>{if(!v())return false;let s=Yr(g(),w());return s.x>2||s.y>2}),qr=(s,d)=>{let h=s+window.scrollX,S=d+window.scrollY,k=Math.min(z(),h),F=Math.min(j(),S),D=Math.abs(h-z()),Z=Math.abs(S-j());return {x:k-window.scrollX,y:F-window.scrollY,width:D,height:Z}},qe=ae(()=>{if(!Xr())return;let s=qr(g(),w());return {borderRadius:"0px",height:s.height,transform:"none",width:s.width,x:s.x,y:s.y}}),[Xi]=an(()=>fe(),async s=>s?Ue(s):null),qi=ae(()=>{let s=fe(),d=Y();if(!s)return (()=>{var k=Di();return J(k,d?"Please wait\u2026":"1 element"),k})();let h=Xe(s),S=Xi();return h&&S?[(()=>{var k=Bi(),F=k.firstChild,D=F.nextSibling;D.nextSibling;return J(k,h,D),k})(),(()=>{var k=Kl();k.firstChild;return J(k,S,null),k})()]:h?(()=>{var k=Bi(),F=k.firstChild,D=F.nextSibling;D.nextSibling;return J(k,h,D),k})():(()=>{var k=Di();return J(k,d?"Please wait\u2026":"1 element"),k})()}),zn=ae(()=>{if(Y()||Pr()){Ce();let s=Xt()||fe();if(s){let d=ke(s);return {x:d.x+d.width/2+He(),y:At()}}return {x:Pe(),y:At()}}return {x:g(),y:w()}});ne(we(()=>[fe(),f()],([s,d])=>{d&&s&&d!==s&&_(null),s&&r.onElementHover?.(s);})),ne(we(()=>fe(),s=>{let d=()=>{Mr(void 0),Or(void 0);};if(!s){d();return}Et(s).then(h=>{if(h){for(let S of h)if(S.fileName&&xn(S.fileName)){Mr(Kt(S.fileName)),Or(S.lineNumber);return}d();}}).catch(d);})),ne(we(()=>Ce(),()=>{let s=B();if(s.length===0)return;let d=s.map(h=>({...h,bounds:ke(h.element)}));H(d);})),ne(we(()=>Ce(),()=>_e.updateSessionBoundsOnViewportChange())),ne(we(()=>[$(),v(),Y(),de(),fe(),qe()],([s,d,h,S,k,F])=>{r.onStateChange?.({isActive:s,isDragging:d,isCopying:h,isInputMode:S,targetElement:k,dragBounds:F?{x:F.x,y:F.y,width:F.width,height:F.height}:null});})),ne(we(()=>[de(),g(),w(),fe()],([s,d,h,S])=>{r.onInputModeChange?.(s,{x:d,y:h,targetElement:S});})),ne(we(()=>[eo(),Kr(),fe()],([s,d,h])=>{r.onSelectionBox?.(!!s,d??null,h);})),ne(we(()=>[to(),qe()],([s,d])=>{r.onDragBox?.(!!s,d??null);})),ne(we(()=>[no(),g(),w()],([s,d,h])=>{r.onCrosshair?.(!!s,{x:d,y:h});})),ne(we(()=>[cs(),ls(),qi(),zn()],([s,d,h,S])=>{let k=typeof h=="string"?h:"";r.onElementLabel?.(!!s,d,{x:S.x,y:S.y,content:k});}));let We=null,it=s=>{s?(We||(We=document.createElement("style"),We.setAttribute("data-react-grab-cursor",""),document.head.appendChild(We)),We.textContent=`* { cursor: ${s} !important; }`):We&&(We.remove(),We=null);};ne(we(()=>[$(),Y(),v(),de(),fe()],([s,d,h,S,k])=>{it(d?"progress":S?null:s&&h?"crosshair":s&&k?"default":s?"crosshair":null);}));let Wi=s=>{let d=Date.now(),h=r.keyHoldDuration;L(d);let S=()=>{let k=X();if(k===null)return;let D=(Date.now()-k)/h,Z=1-Math.exp(-D);(Y()?Math.min(Z,.95):1)<1&&(Qt=requestAnimationFrame(S));};S();},en=()=>{Qt!==null&&(cancelAnimationFrame(Qt),Qt=null),L(null);},Zi=()=>{let s=()=>{if(!v()){Ot();return}let d=Br(g(),w());d.top&&window.scrollBy(0,-10),d.bottom&&window.scrollBy(0,10),d.left&&window.scrollBy(-10,0),d.right&&window.scrollBy(10,0),d.top||d.bottom||d.left||d.right?ot=requestAnimationFrame(s):ot=null;};s();},Ot=()=>{ot!==null&&(cancelAnimationFrame(ot),ot=null);},st=()=>{en(),Mt=document.activeElement,Jt=Date.now(),ee(true),r.onActivate?.();},Ee=()=>{K(false),b(false),ee(false),$e(false),Nt(""),nt(false),rt(false),_t(null),y("idle"),v()&&(N(false),document.body.style.userSelect=""),ze&&window.clearTimeout(ze),Te&&window.clearTimeout(Te),Ot(),en(),Jt=null,Mt instanceof HTMLElement&&document.contains(Mt)&&Mt.focus(),Mt=null,r.onDeactivate?.();},Ji=r.agent?{...r.agent,onAbort:(s,d)=>{if(r.agent?.onAbort?.(s,d),d&&document.contains(d)){let h=d.getBoundingClientRect(),S=h.top+h.height/2;T(s.position.x),x(S),_t(d),Nt(s.context.prompt),rt(true),$e(true),K(true),nt(true),$()||st();}}}:void 0,_e=$i(Ji),Qi=s=>{Nt(s);},es=()=>{let s=Xt()||fe(),d=de()?_r().trim():"";if(!s){Ee();return}let h=ke(s),S=g(),k=h.x+h.width/2,F=h.y+h.height/2;if(T(k),x(F),qt()&&d){Ee(),_e.startSession({element:s,prompt:d,position:{x:S,y:F},selectionBounds:h});return}$e(false),Nt("");let D=Xe(s);Ue(s).then(Z=>{Lt(k,F,()=>Hn(s,d||void 0),h,D,Z??void 0,s).then(()=>{Ee();});});},jn=()=>{de()&&Ee();},ts=()=>{let s=Xt()||fe();if(s){let d=ke(s),h=d.x+d.width/2;Be(g()),tt(w()),he(g()-h);}K(true),nt(true),rt(true),$e(true);},ns=async()=>{let s=Rt();if(s.length===0)return;let d=On(),h=Pn(),S=Dn(),k=Fr();Wt(false),Zt(),window.getSelection()?.removeAllRanges();let F=Dr();s.length===1?await Lt(d,h,()=>Hn(s[0]),S,k,F):await Lt(d,h,()=>Ur(s),S,k,F);},rs=()=>{if(Rt().length===0)return;let d=Dn(),h=d?d.x+d.width/2:On(),S=d?d.y+d.height/2:Pn();Wt(false),Zt(),window.getSelection()?.removeAllRanges(),T(h),x(S),K(true),nt(true),rt(true),st(),$e(true);},Wr=(s,d)=>{if(de()||Ir())return;T(s),x(d);let h=performance.now();if(h-E>=32&&(E=h,Yl(()=>{let S=vr(s,d);P(S);})),v()){let S=Br(s,d),k=S.top||S.bottom||S.left||S.right;k&&ot===null?Zi():!k&&ot!==null&&Ot();}},Zr=(s,d)=>{if(!Oe()||Y())return false;N(true);let h=s+window.scrollX,S=d+window.scrollY;return I(h),W(S),document.body.style.userSelect="none",r.onDragStart?.(h,S),true},Jr=(s,d)=>{if(!v())return;let h=Yr(s,d),S=h.x>2||h.y>2;if(N(false),Ot(),document.body.style.userSelect="",S){xe(true);let k=qr(s,d),F=Ni(k,Tt),D=F.length>0?F:_i(k,Tt);if(D.length>0){r.onDragEnd?.(D,k);let Z=D[0],Re=Z.getBoundingClientRect(),Me={x:Re.left,y:Re.top,width:Re.width,height:Re.height,borderRadius:"0px",transform:Sn(Z)},It=Xe(Z);if(qt()){let mt=Me.x+Me.width/2,ds=Me.y+Me.height/2;T(mt),x(ds),_t(Z),K(true),nt(true),rt(true),$e(true);}else Ue(Z).then(mt=>{Lt(s,d,()=>Ur(D),Me,It,mt??void 0,Z);});}}else {let k=vr(s,d);if(!k)return;_(k);let F=ke(k),D=Xe(k);Ue(k).then(Z=>{Lt(s,d,()=>Hn(k),F,D,Z??void 0,k);});}},Qr=new AbortController,ve=Qr.signal;window.addEventListener("keydown",s=>{if(de()||Ke(s,"data-react-grab-ignore-events")){s.key==="Escape"&&_e.isProcessing()&&_e.abortAllSessions();return}if(s.key==="Escape"){if(_e.isProcessing()){_e.abortAllSessions();return}if(u()){Ee();return}}if(s.key==="Enter"&&u()&&!de()){s.preventDefault(),s.stopPropagation();let d=Xt()||fe();if(d){let h=ke(d),S=h.x+h.width/2;Be(g()),tt(w()),he(g()-S);}K(true),nt(true),rt(true),Te!==null&&(window.clearTimeout(Te),Te=null),$()||(ze&&window.clearTimeout(ze),st()),$e(true);return}if(s.key.toLowerCase()==="o"&&!de()&&$()&&(s.metaKey||s.ctrlKey)){let d=Rr(),h=Lr();if(d)if(s.preventDefault(),s.stopPropagation(),r.onOpenFile)r.onOpenFile(d,h);else {let S=fn(d,h);window.open(S,"_blank");}return}if(!(!r.allowActivationInsideInput&&To(s))&&!(!Mi(s,r)&&($()&&!V()&&(s.metaKey||s.ctrlKey)&&!mn.includes(s.key)&&s.key!=="Enter"&&Ee(),s.key!=="Enter"))){if(($()||u())&&!de()&&s.preventDefault(),$()){if(V()||s.repeat)return;Te!==null&&window.clearTimeout(Te),Te=window.setTimeout(()=>{Ee();},200);return}u()&&s.repeat||(ze!==null&&window.clearTimeout(ze),u()||b(true),ze=window.setTimeout(()=>{st();},r.keyHoldDuration));}},{signal:ve,capture:true}),window.addEventListener("keyup",s=>{if(!u()&&!$()||de())return;let d=!!(r.activationShortcut||r.activationKey),S=(()=>{if(r.activationKey){let{metaKey:D,ctrlKey:Z,shiftKey:Re,altKey:Me}=r.activationKey;return {metaKey:!!D,ctrlKey:!!Z,shiftKey:!!Re,altKey:!!Me}}return {metaKey:true,ctrlKey:true,shiftKey:false,altKey:false}})(),k=S.metaKey||S.ctrlKey?!s.metaKey&&!s.ctrlKey:S.shiftKey&&!s.shiftKey||S.altKey&&!s.altKey,F=r.activationShortcut?!r.activationShortcut(s):r.activationKey?r.activationKey.key?s.key.toLowerCase()===r.activationKey.key.toLowerCase()||Sr(r.activationKey.key,s.code):false:Cn(s.key,s.code);if($()){if(k){if(V())return;Ee();}else !d&&F&&Te!==null&&(window.clearTimeout(Te),Te=null);return}if(F||k){if(V())return;Ee();}},{signal:ve,capture:true}),window.addEventListener("mousemove",s=>{Ln(false),!Ke(s,"data-react-grab-ignore-events")&&Wr(s.clientX,s.clientY);},{signal:ve}),window.addEventListener("mousedown",s=>{if(Ke(s,"data-react-grab-ignore-events"))return;if(de()){jn();return}Zr(s.clientX,s.clientY)&&(s.preventDefault(),s.stopPropagation());},{signal:ve,capture:true}),window.addEventListener("pointerdown",s=>{!Oe()||Y()||de()||Ke(s,"data-react-grab-ignore-events")||s.stopPropagation();},{signal:ve,capture:true}),window.addEventListener("mouseup",s=>{Jr(s.clientX,s.clientY);},{signal:ve}),window.addEventListener("touchmove",s=>{s.touches.length!==0&&(Ln(true),!Ke(s,"data-react-grab-ignore-events")&&Wr(s.touches[0].clientX,s.touches[0].clientY));},{signal:ve,passive:true}),window.addEventListener("touchstart",s=>{if(s.touches.length===0||(Ln(true),Ke(s,"data-react-grab-ignore-events")))return;if(de()){jn();return}Zr(s.touches[0].clientX,s.touches[0].clientY)&&s.preventDefault();},{signal:ve,passive:false}),window.addEventListener("touchend",s=>{s.changedTouches.length!==0&&Jr(s.changedTouches[0].clientX,s.changedTouches[0].clientY);},{signal:ve}),window.addEventListener("click",s=>{Ke(s,"data-react-grab-ignore-events")||(Oe()||Y()||ce())&&(s.preventDefault(),s.stopPropagation(),ce()&&xe(false),V()&&!Y()&&(u()?K(false):Ee()));},{signal:ve,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&(H([]),$()&&!de()&&Jt!==null&&Date.now()-Jt>500&&Ee());},{signal:ve}),window.addEventListener("scroll",()=>{Ye(s=>s+1);},{signal:ve,capture:true}),window.addEventListener("resize",()=>{Ye(s=>s+1);},{signal:ve}),document.addEventListener("copy",s=>{de()||Ke(s,"data-react-grab-ignore-events")||(Oe()||Y())&&s.preventDefault();},{signal:ve,capture:true});let tn=null;document.addEventListener("selectionchange",()=>{if(Oe())return;tn!==null&&window.clearTimeout(tn),Wt(false);let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0){Zt();return}tn=window.setTimeout(()=>{tn=null;let d=window.getSelection();if(!d||d.isCollapsed||d.rangeCount===0)return;let h=d.getRangeAt(0),S=h.getBoundingClientRect();if(S.width===0&&S.height===0)return;let k=(()=>{if(!d.anchorNode||!d.focusNode)return false;let mt=d.anchorNode.compareDocumentPosition(d.focusNode);return mt&Node.DOCUMENT_POSITION_FOLLOWING?false:mt&Node.DOCUMENT_POSITION_PRECEDING?true:d.anchorOffset>d.focusOffset})(),F=h.getClientRects();if(F.length===0)return;let D=k?F[0]:F[F.length-1],Z=k?D.left:D.right,Re=D.top+D.height/2;if(No(Z,Re)){Zt();return}In(Z),$n(Re);let Me=h.commonAncestorContainer,It=Me.nodeType===Node.ELEMENT_NODE?Me:Me.parentElement;It&&Tt(It)?(Fn([It]),Wt(true)):Fn([]);},150);},{signal:ve}),ge(()=>{Qr.abort(),ze&&window.clearTimeout(ze),Te&&window.clearTimeout(Te),Ot(),en(),document.body.style.userSelect="",it(null);});let Vn=_o(ko),eo=ae(()=>l().selectionBox.enabled?Oe()&&!v()&&!!fe():false),os=ae(()=>{let s=fe();if(s)return Xe(s)||void 0}),[is]=an(()=>fe(),async s=>s?await Ue(s)??void 0:void 0),ss=ae(()=>!l().elementLabel.enabled||G().length>0?false:Oe()&&!v()&&!!fe()),as=ae(()=>(Ce(),p().map(s=>!s.element||!document.body.contains(s.element)?s:{...s,bounds:ke(s.element)}))),to=ae(()=>l().dragBox.enabled&&Oe()&&Xr()),ls=ae(()=>Y()?"processing":"hover"),cs=ae(()=>!l().elementLabel.enabled||de()?false:Y()?true:G().length>0?false:Oe()&&!v()&&!!fe()),no=ae(()=>l().crosshair.enabled&&Oe()&&!v()&&!Hi()&&!Ir()),us=ae(()=>l().grabbedBoxes.enabled);return ne(we(l,s=>{s.hue!==0?Vn.style.filter=`hue-rotate(${s.hue}deg)`:Vn.style.filter="";})),l().enabled&&Co(()=>M(ei,{get selectionVisible(){return eo()},get selectionBounds(){return Kr()},get selectionFilePath(){return Rr()},get selectionLineNumber(){return Lr()},get selectionTagName(){return os()},get selectionComponentName(){return is()},get selectionLabelVisible(){return ss()},get selectionLabelStatus(){return te()},get labelInstances(){return as()},get dragVisible(){return to()},get dragBounds(){return qe()},get grabbedBoxes(){return be(()=>!!us())()?B():[]},labelZIndex:2147483647,get mouseX(){return zn().x},get mouseY(){return zn().y},get crosshairVisible(){return no()},get inputValue(){return _r()},get isInputExpanded(){return Pr()},get hasAgent(){return qt()},get agentSessions(){return _e.sessions()},onAbortSession:s=>_e.abortSession(s),onInputChange:Qi,onInputSubmit:()=>void es(),onInputCancel:jn,onToggleExpand:ts,get nativeSelectionCursorVisible(){return $r()},get nativeSelectionCursorX(){return On()},get nativeSelectionCursorY(){return Pn()},get nativeSelectionTagName(){return Fr()},get nativeSelectionComponentName(){return Dr()},get nativeSelectionBounds(){return Dn()},onNativeSelectionCopy:()=>void ns(),onNativeSelectionEnter:rs,get theme(){return l()}}),Vn),qt()&&_e.tryResumeSessions(),{activate:()=>{$()||(K(true),st());},deactivate:()=>{$()&&Ee();},toggle:()=>{$()?Ee():(K(true),st());},isActive:()=>$(),dispose:()=>{Ar=false,a();},copyElement:async s=>{let d=Array.isArray(s)?s:[s];if(d.length===0)return false;await r.onBeforeCopy?.(d);let h=await Bn(d);return r.onAfterCopy?.(d,h),h},getState:()=>({isActive:$(),isDragging:v(),isCopying:Y(),isInputMode:de(),targetElement:fe(),dragBounds:qe()?{x:qe().x,y:qe().y,width:qe().width,height:qe().height}:null}),updateTheme:s=>{let d=l(),h=Oi(d,s);c(h);},getTheme:()=>l(),setAgent:s=>{let d=_e.getOptions(),h={...d,...s,provider:s.provider??d?.provider,onAbort:(S,k)=>{if(s?.onAbort?.(S,k),k&&document.contains(k)){let F=k.getBoundingClientRect(),D=F.top+F.height/2;T(S.position.x),x(D),_t(k),Nt(S.context.prompt),rt(true),$e(true),K(true),nt(true),$()||st();}}};_e.setOptions(h),zi(!!h.provider),_e.tryResumeSessions();}}}))};var ft=null,lm=()=>typeof window>"u"?ft:window.__REACT_GRAB__??ft??null,cm=e=>{ft=e,typeof window<"u"&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?ft=window.__REACT_GRAB__:(ft=Nr(),window.__REACT_GRAB__=ft,window.dispatchEvent(new CustomEvent("react-grab:init",{detail:ft}))));/*! Bundled license information:
43
+ ${P}`:P;w=L,b=Mn(L);}}return r.onAfterCopy?.(s,b),b},Qn=async(s,d)=>{r.onElementSelect?.(s),l().grabbedBoxes.enabled&&no(Ie(s),s),await new Promise(b=>requestAnimationFrame(b)),await Jn([s],d),ro([s]);},so=async s=>{if(s.length!==0){for(let d of s)r.onElementSelect?.(d);if(l().grabbedBoxes.enabled)for(let d of s)no(Ie(d),d);await new Promise(d=>requestAnimationFrame(d)),await Jn(s),ro(s);}},Se=ae(()=>{if(!ze()||v())return null;let s=_();return s&&!document.contains(s)?null:s}),St=ae(()=>Kn()?xt():Se());re(()=>{let s=_();if(!s)return;let d=setInterval(()=>{document.contains(s)||D(null);},100);be(()=>clearInterval(d));}),re(()=>{let s=Se();s&&vt(s);});let ao=ae(()=>{De();let s=St();if(s)return Ie(s)}),lo=(s,d)=>{let b=s+window.scrollX,w=d+window.scrollY;return {x:Math.abs(b-H()),y:Math.abs(w-z())}},co=ae(()=>{if(!v())return false;let s=lo(p(),x());return s.x>2||s.y>2}),uo=(s,d)=>{let b=s+window.scrollX,w=d+window.scrollY,k=Math.min(H(),b),P=Math.min(z(),w),L=Math.abs(b-H()),q=Math.abs(w-z());return {x:k-window.scrollX,y:P-window.scrollY,width:L,height:q}},rt=ae(()=>{if(!co())return;let s=uo(p(),x());return {borderRadius:"0px",height:s.height,transform:"none",width:s.width,x:s.x,y:s.y}}),[cs]=hn(()=>Se(),async s=>s?tt(s):null),us=ae(()=>{let s=Se(),d=K();if(!s)return (()=>{var k=Ji();return G(k,d?"Processing\u2026":"1 element"),k})();let b=ut(s),w=cs();return b&&w?[(()=>{var k=Qi(),P=k.firstChild,L=P.nextSibling;L.nextSibling;return G(k,b,L),k})(),(()=>{var k=bc();k.firstChild;return G(k,w,null),k})()]:b?(()=>{var k=Qi(),P=k.firstChild,L=P.nextSibling;L.nextSibling;return G(k,b,L),k})():(()=>{var k=Ji();return G(k,d?"Processing\u2026":"1 element"),k})()}),er=ae(()=>{if(K()||Wr()){De();let s=xt()||Se();if(s){let d=Ie(s);return {x:d.x+d.width/2+Ge(),y:we()}}return {x:he(),y:we()}}return {x:p(),y:x()}});re(Re(()=>[Se(),y()],([s,d])=>{d&&s&&d!==s&&O(null),s&&r.onElementHover?.(s);})),re(Re(()=>Se(),s=>{let d=()=>{Kr(void 0),Xr(void 0);};if(!s){d();return}Ft(s).then(b=>{if(b){for(let w of b)if(w.fileName&&Ln(w.fileName)){Kr(rn(w.fileName)),Xr(w.lineNumber);return}d();}}).catch(d);})),re(Re(()=>De(),()=>Be.updateSessionBoundsOnViewportChange())),re(Re(()=>[V(),v(),K(),ge(),Se(),rt()],([s,d,b,w,k,P])=>{r.onStateChange?.({isActive:s,isDragging:d,isCopying:b,isInputMode:w,targetElement:k,dragBounds:P?{x:P.x,y:P.y,width:P.width,height:P.height}:null});})),re(Re(()=>[ge(),p(),x(),Se()],([s,d,b,w])=>{r.onInputModeChange?.(s,{x:d,y:b,targetElement:w});})),re(Re(()=>[yo(),ao(),Se()],([s,d,b])=>{r.onSelectionBox?.(!!s,d??null,b);})),re(Re(()=>[wo(),rt()],([s,d])=>{r.onDragBox?.(!!s,d??null);})),re(Re(()=>[xo(),p(),x()],([s,d,b])=>{r.onCrosshair?.(!!s,{x:d,y:b});})),re(Re(()=>[_s(),As(),us(),er()],([s,d,b,w])=>{let k=typeof b=="string"?b:"";r.onElementLabel?.(!!s,d,{x:w.x,y:w.y,content:k});}));let ot=null,ft=s=>{s?(ot||(ot=document.createElement("style"),ot.setAttribute("data-react-grab-cursor",""),document.head.appendChild(ot)),ot.textContent=`* { cursor: ${s} !important; }`):ot&&(ot.remove(),ot=null);};re(Re(()=>[V(),K(),v(),ge(),Se()],([s,d,b,w,k])=>{ft(d?"progress":w?null:s&&b?"crosshair":s&&k?"default":s?"crosshair":null);}));let ds=s=>{let d=Date.now(),b=r.keyHoldDuration;oe(d);let w=()=>{let k=Q();if(k===null)return;let L=(Date.now()-k)/b,q=1-Math.exp(-L);(K()?Math.min(q,.95):1)<1&&(ln=requestAnimationFrame(w));};w();},cn=()=>{ln!==null&&(cancelAnimationFrame(ln),ln=null),oe(null);},fs=()=>{let s=()=>{if(!v()){Ut();return}let d=to(p(),x());d.top&&window.scrollBy(0,-10),d.bottom&&window.scrollBy(0,10),d.left&&window.scrollBy(-10,0),d.right&&window.scrollBy(10,0),d.top||d.bottom||d.left||d.right?dt=requestAnimationFrame(s):dt=null;};s();},Ut=()=>{dt!==null&&(cancelAnimationFrame(dt),dt=null);},qe=()=>{cn(),Vt=document.activeElement,an=Date.now(),j(true),r.onActivate?.();},_e=()=>{B(false),g(false),j(false),je(false),Ue(""),Ke(false),Ye(false),Ct(false),vt(null),h("idle"),ue(false),v()&&(R(false),document.body.style.userSelect=""),We&&window.clearTimeout(We),Me&&window.clearTimeout(Me),Ut(),cn(),an=null,Vt instanceof HTMLElement&&document.contains(Vt)&&Vt.focus(),Vt=null,r.onDeactivate?.();},ms=r.agent?{...r.agent,onAbort:(s,d)=>{if(r.agent?.onAbort?.(s,d),d&&document.contains(d)){let b=d.getBoundingClientRect(),w=b.top+b.height/2;A(s.position.x),C(w),vt(d),Ue(s.context.prompt),Ye(true),je(true),B(true),Ke(true),V()||qe();}}}:void 0,Be=Zi(ms),ps=s=>{Ue(s);},gs=()=>{te(null);let s=xt()||Se(),d=ge()?Gn().trim():"";if(!s){_e();return}let b=Ie(s),w=p(),k=b.x+b.width/2,P=b.y+b.height/2;if(A(k),C(P),sn()&&d){ct.delete(s),_e(),Be.startSession({element:s,prompt:d,position:{x:w,y:P},selectionBounds:b});return}je(false),Ue(""),d?ct.set(s,d):ct.delete(s);let L=ut(s);tt(s).then(q=>{Gt(k,P,()=>Qn(s,d||void 0),b,L,q??void 0,s).then(()=>{_e();});});},tr=()=>{if(te(null),!ge())return;let s=Gn().trim();if(s&&!qr()){Ct(true);return}let d=xt()||Se();d&&s&&ct.set(d,s),Ct(false),_e();},hs=()=>{Ct(false),_e();},bs=()=>{Ct(false);},ys=()=>{let s=xt()||Se();if(s){let d=Ie(s),b=d.x+d.width/2;fe(p()),xe(x()),Le(p()-b);let w=ct.get(s);w&&Ue(w);}B(true),Ke(true),Ye(true),je(true);},ws=async()=>{let s=jt();if(s.length===0)return;let d=Yn(),b=Wn(),w=Zn(),k=Qr();zt(false),Xe(),window.getSelection()?.removeAllRanges();let P=eo();s.length===1?await Gt(d,b,()=>Qn(s[0]),w,k,P):await Gt(d,b,()=>so(s),w,k,P);},xs=()=>{if(jt().length===0)return;let d=Zn(),b=d?d.x+d.width/2:Yn(),w=d?d.y+d.height/2:Wn();zt(false),Xe(),window.getSelection()?.removeAllRanges(),A(b),C(w),B(true),Ke(true),Ye(true),qe(),je(true);},fo=(s,d)=>{if(ge()||Kn())return;ue(false),A(s),C(d);let b=performance.now();if(b-T>=32&&(T=b,yc(()=>{let w=$r(s,d);D(w);})),v()){let w=to(s,d),k=w.top||w.bottom||w.left||w.right;k&&dt===null?fs():!k&&dt!==null&&Ut();}},mo=(s,d)=>{if(!ze()||K())return false;R(true);let b=s+window.scrollX,w=d+window.scrollY;return M(b),U(w),document.body.style.userSelect="none",r.onDragStart?.(b,w),true},po=(s,d)=>{if(!v())return;let b=lo(s,d),w=b.x>2||b.y>2;if(R(false),Ut(),document.body.style.userSelect="",w){ee(true);let k=uo(s,d),P=Gi(k,Bt),L=P.length>0?P:Ui(k,Bt);if(L.length>0){r.onDragEnd?.(L,k);let q=L[0],Ne=q.getBoundingClientRect(),Oe={x:Ne.left,y:Ne.top,width:Ne.width,height:Ne.height,borderRadius:"0px",transform:On(q)},Kt=ut(q),kt=Oe.x+Oe.width/2,Yt=Oe.y+Oe.height/2;sn()?(A(kt),C(Yt),vt(q),B(true),Ke(true),Ye(true),V()||qe(),je(true)):tt(q).then(Rs=>{Gt(kt,Yt,()=>so(L),Oe,Kt,Rs??void 0,q,true);});}}else {let k=$r(s,d);if(!k)return;O(k);let P=Ie(k),L=ut(k);tt(k).then(q=>{Gt(s,d,()=>Qn(k),P,L,q??void 0,k);});}},go=new AbortController,ve=go.signal,ho=new WeakSet,mt=s=>s==="Enter"||s==="NumpadEnter",pt=Object.getOwnPropertyDescriptor(KeyboardEvent.prototype,"key"),bo=false;if(pt?.get&&!pt.get.__reactGrabPatched){bo=true;let s=pt.get,d=function(){return ho.has(this)?"":s.call(this)};d.__reactGrabPatched=true,Object.defineProperty(KeyboardEvent.prototype,"key",{get:d,configurable:true});}let Et=s=>{let b=(pt?.get?pt.get.call(s):s.key)==="Enter"||mt(s.code),w=V()||u();return b&&w&&!ge()&&!F()?(ho.add(s),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation(),true):false};document.addEventListener("keydown",Et,{signal:ve,capture:true}),document.addEventListener("keyup",Et,{signal:ve,capture:true}),document.addEventListener("keypress",Et,{signal:ve,capture:true}),window.addEventListener("keydown",s=>{Et(s);let d=mt(s.code)&&u()&&!ge();if(ge()&&Dr(s,r)&&!s.repeat){s.preventDefault(),s.stopPropagation(),je(false),Ue(""),Ke(false),Ye(false),Ct(false);return}if(ge()||nt(s,"data-react-grab-ignore-events")&&!d){s.key==="Escape"&&Be.isProcessing()&&Be.abortAllSessions();return}if(s.key==="Escape"){if(Be.isProcessing()){Be.abortAllSessions();return}if(u()){_e();return}}let b=W();if(mt(s.code)&&!u()&&!ge()&&!V()&&b&&document.contains(b)){s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation();let w=Ie(b),k=w.x+w.width/2,P=w.y+w.height/2;A(k),C(P),fe(k),xe(P),Le(0),vt(b),te(null),f([]);let L=ct.get(b);L&&Ue(L),B(true),Ke(true),Ye(true),qe(),je(true);return}if(mt(s.code)&&u()&&!ge()){s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation();let w=xt()||Se();if(w){let k=Ie(w),P=k.x+k.width/2;fe(p()),xe(x()),Le(p()-P);let L=ct.get(w);L&&Ue(L);}B(true),Ke(true),Ye(true),Me!==null&&(window.clearTimeout(Me),Me=null),V()||(We&&window.clearTimeout(We),qe()),je(true);return}if(s.key.toLowerCase()==="o"&&!ge()&&V()&&(s.metaKey||s.ctrlKey)){let w=Ur(),k=Yr();if(w)if(s.preventDefault(),s.stopPropagation(),r.onOpenFile)r.onOpenFile(w,k);else {let P=Cn(w,k);window.open(P,"_blank");}return}if(!(!r.allowActivationInsideInput&&jo(s))&&!(!Dr(s,r)&&(V()&&!F()&&(s.metaKey||s.ctrlKey)&&!Sn.includes(s.key)&&!mt(s.code)&&_e(),!mt(s.code)||!u()))){if((V()||u())&&!ge()&&(s.preventDefault(),mt(s.code)&&(s.stopPropagation(),s.stopImmediatePropagation())),V()){if(F()||s.repeat)return;Me!==null&&window.clearTimeout(Me),Me=window.setTimeout(()=>{_e();},200);return}u()&&s.repeat||(We!==null&&window.clearTimeout(We),u()||g(true),We=window.setTimeout(()=>{qe();},r.keyHoldDuration));}},{signal:ve,capture:true}),window.addEventListener("keyup",s=>{if(Et(s)||!u()&&!V()||ge())return;let d=!!(r.activationShortcut||r.activationKey),w=(()=>{if(r.activationKey){let{metaKey:L,ctrlKey:q,shiftKey:Ne,altKey:Oe}=r.activationKey;return {metaKey:!!L,ctrlKey:!!q,shiftKey:!!Ne,altKey:!!Oe}}return {metaKey:true,ctrlKey:true,shiftKey:false,altKey:false}})(),k=w.metaKey||w.ctrlKey?!s.metaKey&&!s.ctrlKey:w.shiftKey&&!s.shiftKey||w.altKey&&!s.altKey,P=r.activationShortcut?!r.activationShortcut(s):r.activationKey?r.activationKey.key?s.key.toLowerCase()===r.activationKey.key.toLowerCase()||Fr(r.activationKey.key,s.code):false:Pn(s.key,s.code);if(V()){if(k){if(F())return;_e();}else !d&&P&&Me!==null&&(window.clearTimeout(Me),Me=null);return}if(P||k){if(F())return;_e();}},{signal:ve,capture:true}),window.addEventListener("keypress",Et,{signal:ve,capture:true}),window.addEventListener("mousemove",s=>{Un(false),!nt(s,"data-react-grab-ignore-events")&&fo(s.clientX,s.clientY);},{signal:ve}),window.addEventListener("mousedown",s=>{if(s.button!==0||nt(s,"data-react-grab-ignore-events"))return;if(ge()){tr();return}mo(s.clientX,s.clientY)&&(s.preventDefault(),s.stopPropagation());},{signal:ve,capture:true}),window.addEventListener("pointerdown",s=>{s.button===0&&(nt(s,"data-react-grab-ignore-events")||!ze()||K()||ge()||s.stopPropagation());},{signal:ve,capture:true}),window.addEventListener("mouseup",s=>{s.button===0&&po(s.clientX,s.clientY);},{signal:ve}),window.addEventListener("touchmove",s=>{s.touches.length!==0&&(Un(true),!nt(s,"data-react-grab-ignore-events")&&fo(s.touches[0].clientX,s.touches[0].clientY));},{signal:ve,passive:true}),window.addEventListener("touchstart",s=>{if(s.touches.length===0||(Un(true),nt(s,"data-react-grab-ignore-events")))return;if(ge()){tr();return}mo(s.touches[0].clientX,s.touches[0].clientY)&&s.preventDefault();},{signal:ve,passive:false}),window.addEventListener("touchend",s=>{s.changedTouches.length!==0&&po(s.changedTouches[0].clientX,s.changedTouches[0].clientY);},{signal:ve}),window.addEventListener("click",s=>{nt(s,"data-react-grab-ignore-events")||(ze()||K()||ie())&&(s.preventDefault(),s.stopPropagation(),ie()&&ee(false),F()&&!K()&&!ge()&&(u()?B(false):_e()));},{signal:ve,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&($([]),V()&&!ge()&&an!==null&&Date.now()-an>500&&_e());},{signal:ve}),window.addEventListener("scroll",()=>{Ht(s=>s+1);},{signal:ve,capture:true}),window.addEventListener("resize",()=>{Ht(s=>s+1);},{signal:ve});let vs=setInterval(()=>{Ht(s=>s+1);},100);be(()=>clearInterval(vs)),document.addEventListener("copy",s=>{ge()||nt(s,"data-react-grab-ignore-events")||(ze()||K())&&s.preventDefault();},{signal:ve,capture:true});let un=null;document.addEventListener("selectionchange",()=>{if(ze())return;un!==null&&window.clearTimeout(un),zt(false);let s=window.getSelection();if(!s||s.isCollapsed||s.rangeCount===0){Xe();return}un=window.setTimeout(()=>{un=null;let d=window.getSelection();if(!d||d.isCollapsed||d.rangeCount===0){Xe();return}let b=d.getRangeAt(0),w=b.getBoundingClientRect();if(w.width===0&&w.height===0){Xe();return}if(!d.toString().trim()){Xe();return}let P=(()=>{if(!d.anchorNode||!d.focusNode)return false;let Yt=d.anchorNode.compareDocumentPosition(d.focusNode);return Yt&Node.DOCUMENT_POSITION_FOLLOWING?false:Yt&Node.DOCUMENT_POSITION_PRECEDING?true:d.anchorOffset>d.focusOffset})(),L=b.getClientRects();if(L.length===0){Xe();return}let q=P?L[0]:L[L.length-1],Ne=P?q.left:q.right,Oe=q.top+q.height/2;if(Go(Ne,Oe)){Xe();return}let Kt=b.commonAncestorContainer,kt=Kt.nodeType===Node.ELEMENT_NODE?Kt:Kt.parentElement;kt&&Bt(kt)?(Xn(Ne),qn(Oe),Jr([kt]),zt(true)):Xe();},150);},{signal:ve}),be(()=>{go.abort(),We&&window.clearTimeout(We),Me&&window.clearTimeout(Me),Ut(),cn(),document.body.style.userSelect="",ft(null),bo&&pt&&Object.defineProperty(KeyboardEvent.prototype,"key",pt);});let nr=Uo(zo),yo=ae(()=>!l().selectionBox.enabled||de()?false:ze()&&!v()&&!!St()),Cs=ae(()=>{let s=St();if(s)return ut(s)||void 0}),[Ss]=hn(()=>St(),async s=>s?await tt(s)??void 0:void 0),Es=ae(()=>!l().elementLabel.enabled||de()?false:ze()&&!v()&&!!St()),ks=ae(()=>(De(),m().map(s=>!s.element||!document.body.contains(s.element)?s:{...s,bounds:Ie(s.element)}))),Ts=ae(()=>(De(),E().map(s=>!s.element||!document.body.contains(s.element)?s:{...s,bounds:Ie(s.element)}))),wo=ae(()=>l().dragBox.enabled&&ze()&&co()),As=ae(()=>K()?"processing":"hover"),_s=ae(()=>!l().elementLabel.enabled||ge()?false:K()?true:ze()&&!v()&&!!St()),xo=ae(()=>l().crosshair.enabled&&ze()&&!v()&&!es()&&!Kn()),Ns=ae(()=>l().grabbedBoxes.enabled);return re(Re(l,s=>{s.hue!==0?nr.style.filter=`hue-rotate(${s.hue}deg)`:nr.style.filter="";})),l().enabled&&Bo(()=>I(hi,{get selectionVisible(){return yo()},get selectionBounds(){return ao()},get selectionFilePath(){return Ur()},get selectionLineNumber(){return Yr()},get selectionTagName(){return Cs()},get selectionComponentName(){return Ss()},get selectionLabelVisible(){return Es()},get selectionLabelStatus(){return ne()},get labelInstances(){return ks()},get dragVisible(){return wo()},get dragBounds(){return rt()},get grabbedBoxes(){return Te(()=>!!Ns())()?Ts():[]},labelZIndex:2147483647,get mouseX(){return er().x},get mouseY(){return er().y},get crosshairVisible(){return xo()},get inputValue(){return Gn()},get isInputExpanded(){return Wr()},get hasAgent(){return sn()},get isAgentConnected(){return ns()},get agentSessions(){return Be.sessions()},onAbortSession:s=>Be.abortSession(s),onInputChange:ps,onInputSubmit:()=>void gs(),onInputCancel:tr,onToggleExpand:ys,get isPendingDismiss(){return qr()},onConfirmDismiss:hs,onCancelDismiss:bs,get nativeSelectionCursorVisible(){return Zr()},get nativeSelectionCursorX(){return Yn()},get nativeSelectionCursorY(){return Wn()},get nativeSelectionTagName(){return Qr()},get nativeSelectionComponentName(){return eo()},get nativeSelectionBounds(){return Zn()},onNativeSelectionCopy:()=>void ws(),onNativeSelectionEnter:xs,get theme(){return l()}}),nr),sn()&&Be.tryResumeSessions(),{activate:()=>{V()||(B(true),qe());},deactivate:()=>{V()&&_e();},toggle:()=>{V()?_e():(B(true),qe());},isActive:()=>V(),dispose:()=>{Vr=false,a();},copyElement:async s=>{let d=Array.isArray(s)?s:[s];if(d.length===0)return false;await r.onBeforeCopy?.(d);let b=await Jn(d);return r.onAfterCopy?.(d,b),b},getState:()=>({isActive:V(),isDragging:v(),isCopying:K(),isInputMode:ge(),targetElement:Se(),dragBounds:rt()?{x:rt().x,y:rt().y,width:rt().width,height:rt().height}:null}),updateTheme:s=>{let d=l(),b=Xi(d,s);c(b);},getTheme:()=>l(),setAgent:s=>{let d=Be.getOptions(),b={...d,...s,provider:s.provider??d?.provider,onAbort:(w,k)=>{if(s?.onAbort?.(w,k),k&&document.contains(k)){let P=k.getBoundingClientRect(),L=P.top+P.height/2;A(w.position.x),C(L),vt(k),Ue(w.context.prompt),Ye(true),je(true),B(true),Ke(true),V()||qe();}}};Be.setOptions(b),ts(!!b.provider),b.provider?.checkConnection&&b.provider.checkConnection().then(w=>{rs(w);}),Be.tryResumeSessions();}}}))};var wt=null,Fm=()=>typeof window>"u"?wt:window.__REACT_GRAB__??wt??null,Dm=e=>{wt=e,typeof window<"u"&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?wt=window.__REACT_GRAB__:(wt=Gr(),window.__REACT_GRAB__=wt,window.dispatchEvent(new CustomEvent("react-grab:init",{detail:wt}))));/*! Bundled license information:
44
44
 
45
45
  bippy/dist/rdt-hook-7WClMTWh.js:
46
46
  (**
@@ -91,4 +91,4 @@ bippy/dist/index.js:
91
91
  * This source code is licensed under the MIT license found in the
92
92
  * LICENSE file in the root directory of this source tree.
93
93
  *)
94
- */exports.DEFAULT_THEME=En;exports.formatElementInfo=kt;exports.generateSnippet=Nn;exports.getGlobalApi=lm;exports.getStack=Et;exports.init=Nr;exports.isInstrumentationActive=Ct;exports.setGlobalApi=cm;return exports;})({});
94
+ */exports.DEFAULT_THEME=$n;exports.formatElementInfo=Dt;exports.generateSnippet=Hn;exports.getGlobalApi=Fm;exports.getStack=Ft;exports.init=Gr;exports.isInstrumentationActive=$t;exports.setGlobalApi=Dm;return exports;})({});