react-grab 0.0.53 → 0.0.55

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,46 +6,40 @@ 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 Uo=(e,t)=>e===t;var Yo=Symbol("solid-track"),kt={equals:Uo},or=cr,he=1,ct=2,ir={owned:null,cleanups:null,context:null,owner:null};var $=null,y=null,et=null,V=null,te=null,se=null,Et=0;function We(e,t){let n=V,r=$,i=e.length===0,o=t===void 0?r:t,s=i?ir:{owned:null,cleanups:null,context:o?o.context:null,owner:o},a=i?e:()=>e(()=>me(()=>Be(s)));$=s,V=null;try{return Oe(a,!0)}finally{V=n,$=r;}}function L(e,t){t=t?Object.assign({},kt,t):kt;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),lr(n,i));return [ar.bind(n),r]}function ce(e,t,n){let r=dn(e,t,false,he);ft(r);}function ne(e,t,n){or=Ko;let r=dn(e,t,false,he);(r.user=true),se?se.push(r):ft(r);}function G(e,t,n){n=n?Object.assign({},kt,n):kt;let r=dn(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ft(r),ar.bind(r)}function me(e){if(V===null)return e();let t=V;V=null;try{return et?et.untrack(e):e()}finally{V=t;}}function Pe(e,t,n){let r=Array.isArray(e),i;return s=>{let a;if(r){a=Array(e.length);for(let l=0;l<e.length;l++)a[l]=e[l]();}else a=e();let c=me(()=>t(a,i,s));return i=a,c}}function sr(e){ne(()=>me(e));}function pe(e){return $===null||($.cleanups===null?$.cleanups=[e]:$.cleanups.push(e)),e}L(false);function ar(){let e=y;if(this.sources&&(this.state))if((this.state)===he)ft(this);else {let t=te;te=null,Oe(()=>Tt(this),false),te=t;}if(V){let t=this.observers?this.observers.length:0;V.sources?(V.sources.push(this),V.sourceSlots.push(t)):(V.sources=[this],V.sourceSlots=[t]),this.observers?(this.observers.push(V),this.observerSlots.push(V.sources.length-1)):(this.observers=[V],this.observerSlots=[V.sources.length-1]);}return e&&y.sources.has(this)?this.tValue:this.value}function lr(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&Oe(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],s=y&&y.running;s&&y.disposed.has(o)||((s?!o.tState:!o.state)&&(o.pure?te.push(o):se.push(o),o.observers&&ur(o)),s?o.tState=he:o.state=he);}if(te.length>1e6)throw te=[],new Error},false);}return t}function ft(e){if(!e.fn)return;Be(e);let t=Et;tr(e,e.value,t);}function tr(e,t,n){let r,i=$,o=V;V=$=e;try{r=e.fn(t);}catch(s){return e.pure&&((e.state=he,e.owned&&e.owned.forEach(Be),e.owned=null)),e.updatedAt=n+1,fn(s)}finally{V=o,$=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?lr(e,r):e.value=r,e.updatedAt=n);}function dn(e,t,n,r=he,i){let o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:$,context:$?$.context:null,pure:n};if($===null||$!==ir&&($.owned?$.owned.push(o):$.owned=[o]),et);return o}function ut(e){let t=y;if((e.state)===0)return;if((e.state)===ct)return Tt(e);if(e.suspense&&me(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Et);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===he)ft(e);else if((e.state)===ct){let i=te;te=null,Oe(()=>Tt(e,n[0]),false),te=i;}}}function Oe(e,t){if(te)return e();let n=false;t||(te=[]),se?n=true:se=[],Et++;try{let r=e();return Wo(n),r}catch(r){n||(se=null),te=null,fn(r);}}function Wo(e){if(te&&(cr(te),te=null),e)return;let n=se;se=null,n.length&&Oe(()=>or(n),false);}function cr(e){for(let t=0;t<e.length;t++)ut(e[t]);}function Ko(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:ut(r);}for(t=0;t<n;t++)ut(e[t]);}function Tt(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===he?i!==t&&(!i.updatedAt||i.updatedAt<Et)&&ut(i):o===ct&&Tt(i,t);}}}function ur(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=ct,r.pure?te.push(r):se.push(r),r.observers&&ur(r));}}function Be(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(),s=n.observerSlots.pop();r<i.length&&(o.sourceSlots[s]=r,i[r]=o,n.observerSlots[r]=s);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)Be(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)Be(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 Qo(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function fn(e,t=$){let r=Qo(e);throw r;}var Jo=Symbol("fallback");function rr(e){for(let t=0;t<e.length;t++)e[t]();}function ei(e,t,n={}){let r=[],i=[],o=[],s=0,a=t.length>1?[]:null;return pe(()=>rr(o)),()=>{let c=e()||[],l=c.length,f,m;return c[Yo],me(()=>{let g,b,v,R,F,E,k,H,q;if(l===0)s!==0&&(rr(o),o=[],r=[],i=[],s=0,a&&(a=[])),n.fallback&&(r=[Jo],i[0]=We(ie=>(o[0]=ie,n.fallback())),s=1);else if(s===0){for(i=new Array(l),m=0;m<l;m++)r[m]=c[m],i[m]=We(C);s=l;}else {for(v=new Array(l),R=new Array(l),a&&(F=new Array(l)),E=0,k=Math.min(s,l);E<k&&r[E]===c[E];E++);for(k=s-1,H=l-1;k>=E&&H>=E&&r[k]===c[H];k--,H--)v[H]=i[k],R[H]=o[k],a&&(F[H]=a[k]);for(g=new Map,b=new Array(H+1),m=H;m>=E;m--)q=c[m],f=g.get(q),b[m]=f===void 0?-1:f,g.set(q,m);for(f=E;f<=k;f++)q=r[f],m=g.get(q),m!==void 0&&m!==-1?(v[m]=i[f],R[m]=o[f],a&&(F[m]=a[f]),m=b[m],g.set(q,m)):o[f]();for(m=E;m<l;m++)m in v?(i[m]=v[m],o[m]=R[m],a&&(a[m]=F[m],a[m](m))):i[m]=We(C);i=i.slice(0,s=l),r=c.slice(0);}return i});function C(g){if(o[m]=g,a){let[b,v]=L(m);return a[m]=v,t(c[m],b)}return t(c[m])}}}function N(e,t){return me(()=>e(t||{}))}var ni=e=>`Stale read from <${e}>.`;function Rt(e){let t="fallback"in e&&{fallback:()=>e.fallback};return G(ei(()=>e.each,e.children,t||void 0))}function J(e){let t=e.keyed,n=G(()=>e.when,void 0,void 0),r=t?n:G(n,void 0,{equals:(i,o)=>!i==!o});return G(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?me(()=>o(t?i:()=>{if(!me(r))throw ni("Show");return n()})):o}return e.fallback},void 0,void 0)}var ye=e=>G(()=>e());function ii(e,t,n){let r=n.length,i=t.length,o=r,s=0,a=0,c=t[i-1].nextSibling,l=null;for(;s<i||a<o;){if(t[s]===n[a]){s++,a++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===s){let f=o<r?a?n[a-1].nextSibling:n[o-a]:c;for(;a<o;)e.insertBefore(n[a++],f);}else if(o===a)for(;s<i;)(!l||!l.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[o-1]&&n[a]===t[i-1]){let f=t[--i].nextSibling;e.insertBefore(n[a++],t[s++].nextSibling),e.insertBefore(n[--o],f),t[i]=n[o];}else {if(!l){l=new Map;let m=a;for(;m<o;)l.set(n[m],m++);}let f=l.get(t[s]);if(f!=null)if(a<f&&f<o){let m=s,C=1,g;for(;++m<i&&m<o&&!((g=l.get(t[m]))==null||g!==f+C);)C++;if(C>f-a){let b=t[s];for(;a<f;)e.insertBefore(n[a++],b);}else e.replaceChild(n[a++],t[s++]);}else s++;else t[s++].remove();}}}var fr="_$DX_DELEGATE";function pr(e,t,n,r={}){let i;return We(o=>{i=o,t===document?e():ue(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function re(e,t,n,r){let i,o=()=>{let a=document.createElement("template");return a.innerHTML=e,a.content.firstChild},s=()=>(i||(i=o())).cloneNode(true);return s.cloneNode=s,s}function gr(e,t=window.document){let n=t[fr]||(t[fr]=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,ai));}}function si(e,t,n){(e.removeAttribute(t));}function br(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function hr(e,t,n){if(!t)return n?si(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 ee(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function Fe(e,t,n){return me(()=>e(t,n))}function ue(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return At(e,t,r,n);ce(i=>At(e,t(),i,n),r);}function ai(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),s=()=>{let c=t[n];if(c&&!t.disabled){let l=t[`${n}Data`];if(l!==void 0?c.call(t,l,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},a=()=>{for(;s()&&(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 l=0;l<c.length-2&&(t=c[l],!!s());l++){if(t._$host){t=t._$host,a();break}if(t.parentNode===i)break}}else a();o(r);}function At(e,t,n,r,i){for(;typeof n=="function";)n=n();if(t===n)return n;let s=typeof t,a=r!==void 0;if(e=a&&n[0]&&n[0].parentNode||e,s==="string"||s==="number"){if(s==="number"&&(t=t.toString(),t===n))return n;if(a){let c=n[0];c&&c.nodeType===3?c.data!==t&&(c.data=t):c=document.createTextNode(t),n=tt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||s==="boolean"){n=tt(e,n,r);}else {if(s==="function")return ce(()=>{let c=t();for(;typeof c=="function";)c=c();n=At(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],l=n&&Array.isArray(n);if(mn(c,t,n,i))return ce(()=>n=At(e,c,n,r,true)),()=>n;if(c.length===0){if(n=tt(e,n,r),a)return n}else l?n.length===0?mr(e,c,r):ii(e,n,c):(n&&tt(e),mr(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(a)return n=tt(e,n,r,t);tt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function mn(e,t,n,r){let i=false;for(let o=0,s=t.length;o<s;o++){let a=t[o],c=n&&n[e.length],l;if(!(a==null||a===true||a===false))if((l=typeof a)=="object"&&a.nodeType)e.push(a);else if(Array.isArray(a))i=mn(e,a,c)||i;else if(l==="function")if(r){for(;typeof a=="function";)a=a();i=mn(e,Array.isArray(a)?a:[a],Array.isArray(c)?c:[c])||i;}else e.push(a),i=true;else {let f=String(a);c&&c.nodeType===3&&c.data===f?e.push(c):e.push(document.createTextNode(f));}}return i}function mr(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function tt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let s=t.length-1;s>=0;s--){let a=t[s];if(i!==a){let c=a.parentNode===e;!o&&!s?c?e.replaceChild(i,a):e.insertBefore(i,n):c&&a.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var yr=`/*! 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-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-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}}}@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-white:#fff;--spacing:.25rem;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--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-pink-light:#fde7f7;--color-grab-pink-border:#f7c5ec;--color-grab-purple:#d239c0}}@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}.relative{position:relative}.top-0{top:calc(var(--spacing)*0)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-2147483645{z-index:2147483645}.z-2147483646{z-index:2147483646}.z-\\[2147483645\\]{z-index:2147483645}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mr-1{margin-right:calc(var(--spacing)*1)}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.h-2{height:calc(var(--spacing)*2)}.min-h-\\[18px\\]{min-height:18px}.w-2{width:calc(var(--spacing)*2)}.w-\\[150px\\]{width:150px}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-crosshair{cursor:crosshair}.resize{resize:both}.resize-none{resize:none}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-grab-pink-border{border-color:var(--color-grab-pink-border)}.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-t-transparent{border-top-color:#0000}.bg-grab-pink-light{background-color:var(--color-grab-pink-light)}.bg-grab-pink\\/20{background-color:#b21c8e33}@supports (color:color-mix(in lab, red, red)){.bg-grab-pink\\/20{background-color:color-mix(in oklab,var(--color-grab-pink)20%,transparent)}}.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-white{background-color:var(--color-white)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-\\[3px\\]{padding-inline:3px}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-grab-pink{color:var(--color-grab-pink)}.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,)}.opacity-60{opacity:.6}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[transform\\,width\\,height\\]{will-change:transform,width,height}.outline-none{--tw-outline-style:none;outline-style:none}}@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-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}`;var ci=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],ui=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),di=e=>Array.isArray(e),fi=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&ui(r)&&n){let a=e.composedPath()[0];a instanceof HTMLElement&&(i=a.tagName,o=a.role);}else r instanceof HTMLElement&&(i=r.tagName,o=r.role);return di(t)?!!(i&&t&&t.some(s=>typeof i=="string"&&s.toLowerCase()===i.toLowerCase()||s===o)):!!(i&&t&&t)},wr=e=>fi(e,ci);var nt="data-react-grab",xr=e=>{let t=document.querySelector(`[${nt}]`);if(t){let s=t.shadowRoot?.querySelector(`[${nt}]`);if(s instanceof HTMLDivElement&&t.shadowRoot)return s}let n=document.createElement("div");n.setAttribute(nt,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let s=document.createElement("style");s.textContent=e,r.appendChild(s);}let i=document.createElement("div");return i.setAttribute(nt,"true"),r.appendChild(i),(document.body??document.documentElement).appendChild(n),i};var ze=(e,t,n)=>e+(t-e)*n;function vr(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=vr(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Cr(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=vr(e))&&(r&&(r+=" "),r+=t);return r}var hn="-",mi=e=>{let t=gi(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:s=>{let a=s.split(hn);return a[0]===""&&a.length!==1&&a.shift(),Tr(a,t)||pi(s)},getConflictingClassGroupIds:(s,a)=>{let c=n[s]||[];return a&&r[s]?[...c,...r[s]]:c}}},Tr=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Tr(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(hn);return t.validators.find(({validator:s})=>s(o))?.classGroupId},Sr=/^\[(.+)\]$/,pi=e=>{if(Sr.test(e)){let t=Sr.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},gi=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return hi(Object.entries(e.classGroups),n).forEach(([o,s])=>{bn(s,r,o,t);}),r},bn=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:kr(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(bi(i)){bn(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{bn(s,kr(t,o),n,r);});});},kr=(e,t)=>{let n=e;return t.split(hn).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},bi=e=>e.isThemeGetter,hi=(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(([s,a])=>[t+s,a])):o);return [n,i]}):e,yi=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s);}}},Er="!",wi=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{let c=[],l=0,f=0,m;for(let R=0;R<a.length;R++){let F=a[R];if(l===0){if(F===i&&(r||a.slice(R,R+o)===t)){c.push(a.slice(f,R)),f=R+o;continue}if(F==="/"){m=R;continue}}F==="["?l++:F==="]"&&l--;}let C=c.length===0?a:a.substring(f),g=C.startsWith(Er),b=g?C.substring(1):C,v=m&&m>f?m-f:void 0;return {modifiers:c,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:s}):s},xi=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},vi=e=>({cache:yi(e.cacheSize),parseClassName:wi(e),...mi(e)}),Ci=/\s+/,Si=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(Ci),a="";for(let c=s.length-1;c>=0;c-=1){let l=s[c],{modifiers:f,hasImportantModifier:m,baseClassName:C,maybePostfixModifierPosition:g}=n(l),b=!!g,v=r(b?C.substring(0,g):C);if(!v){if(!b){a=l+(a.length>0?" "+a:a);continue}if(v=r(C),!v){a=l+(a.length>0?" "+a:a);continue}b=false;}let R=xi(f).join(":"),F=m?R+Er:R,E=F+v;if(o.includes(E))continue;o.push(E);let k=i(v,b);for(let H=0;H<k.length;++H){let q=k[H];o.push(F+q);}a=l+(a.length>0?" "+a:a);}return a};function ki(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Rr(t))&&(r&&(r+=" "),r+=n);return r}var Rr=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Rr(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ti(e,...t){let n,r,i,o=s;function s(c){let l=t.reduce((f,m)=>m(f),e());return n=vi(l),r=n.cache.get,i=n.cache.set,o=a,a(c)}function a(c){let l=r(c);if(l)return l;let f=Si(c,n);return i(c,f),f}return function(){return o(ki.apply(null,arguments))}}var U=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},Ar=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ei=/^\d+\/\d+$/,Ri=new Set(["px","full","screen"]),Ai=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_i=/\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$/,Li=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pi=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ie=e=>rt(e)||Ri.has(e)||Ei.test(e),je=e=>ot(e,"length",Bi),rt=e=>!!e&&!Number.isNaN(Number(e)),gn=e=>ot(e,"number",rt),mt=e=>!!e&&Number.isInteger(Number(e)),Fi=e=>e.endsWith("%")&&rt(e.slice(0,-1)),_=e=>Ar.test(e),Ve=e=>Ai.test(e),Ii=new Set(["length","size","percentage"]),Ni=e=>ot(e,Ii,_r),Mi=e=>ot(e,"position",_r),$i=new Set(["image","url"]),Di=e=>ot(e,$i,ji),Hi=e=>ot(e,"",zi),pt=()=>true,ot=(e,t,n)=>{let r=Ar.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},Bi=e=>_i.test(e)&&!Li.test(e),_r=()=>false,zi=e=>Oi.test(e),ji=e=>Pi.test(e);var Vi=()=>{let e=U("colors"),t=U("spacing"),n=U("blur"),r=U("brightness"),i=U("borderColor"),o=U("borderRadius"),s=U("borderSpacing"),a=U("borderWidth"),c=U("contrast"),l=U("grayscale"),f=U("hueRotate"),m=U("invert"),C=U("gap"),g=U("gradientColorStops"),b=U("gradientColorStopPositions"),v=U("inset"),R=U("margin"),F=U("opacity"),E=U("padding"),k=U("saturate"),H=U("scale"),q=U("sepia"),ie=U("skew"),ve=U("space"),Ce=U("translate"),Se=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto",_,t],p=()=>[_,t],d=()=>["",Ie,je],w=()=>["auto",rt,_],T=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],P=()=>["solid","dashed","dotted","double","none"],M=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",_],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[rt,_];return {cacheSize:500,separator:":",theme:{colors:[pt],spacing:[Ie,je],blur:["none","",Ve,_],brightness:O(),borderColor:[e],borderRadius:["none","","full",Ve,_],borderSpacing:p(),borderWidth:d(),contrast:O(),grayscale:B(),hueRotate:O(),invert:B(),gap:p(),gradientColorStops:[e],gradientColorStopPositions:[Fi,je],inset:x(),margin:x(),opacity:O(),padding:p(),saturate:O(),scale:O(),sepia:B(),skew:O(),space:p(),translate:p()},classGroups:{aspect:[{aspect:["auto","square","video",_]}],container:["container"],columns:[{columns:[Ve]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...T(),_]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-y":[{"overscroll-y":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",mt,_]}],basis:[{basis:x()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",mt,_]}],"grid-cols":[{"grid-cols":[pt]}],"col-start-end":[{col:["auto",{span:["full",mt,_]},_]}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":[pt]}],"row-start-end":[{row:["auto",{span:[mt,_]},_]}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[ve]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ve]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_,t]}],"min-w":[{"min-w":[_,t,"min","max","fit"]}],"max-w":[{"max-w":[_,t,"none","full","min","max","fit","prose",{screen:[Ve]},Ve]}],h:[{h:[_,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ve,je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gn]}],"font-family":[{font:[pt]}],"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",_]}],"line-clamp":[{"line-clamp":["none",rt,gn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ie,_]}],"list-image":[{"list-image":["none",_]}],"list-style-type":[{list:["none","disc","decimal",_]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[F]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...P(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ie,je]}],"underline-offset":[{"underline-offset":["auto",Ie,_]}],"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",_]}],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",_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[F]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...T(),Mi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ni]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Di]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[F]}],"border-style":[{border:[...P(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[F]}],"divide-style":[{divide:P()}],"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:["",...P()]}],"outline-offset":[{"outline-offset":[Ie,_]}],"outline-w":[{outline:[Ie,je]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:d()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[Ie,je]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ve,Hi]}],"shadow-color":[{shadow:[pt]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":[...M(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":M()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ve,_]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[k]}],sepia:[{sepia:[q]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",_]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[H]}],"scale-x":[{"scale-x":[H]}],"scale-y":[{"scale-y":[H]}],rotate:[{rotate:[mt,_]}],"translate-x":[{"translate-x":[Ce]}],"translate-y":[{"translate-y":[Ce]}],"skew-x":[{"skew-x":[ie]}],"skew-y":[{"skew-y":[ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],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",_]}],"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",_]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ie,je,gn]}],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 Lr=Ti(Vi);var Or=(...e)=>Lr(Cr(e));var Ui=re("<div>"),_t=e=>{let[t,n]=L(e.bounds.x),[r,i]=L(e.bounds.y),[o,s]=L(e.bounds.width),[a,c]=L(e.bounds.height),[l,f]=L(1),m=false,C=null,g=null,b=e.bounds,v=false,R=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,F=()=>{if(v)return;v=true;let E=()=>{let k=ze(t(),b.x,R()),H=ze(r(),b.y,R()),q=ze(o(),b.width,R()),ie=ze(a(),b.height,R());n(k),i(H),s(q),c(ie),Math.abs(k-b.x)<.5&&Math.abs(H-b.y)<.5&&Math.abs(q-b.width)<.5&&Math.abs(ie-b.height)<.5?(C=null,v=false):C=requestAnimationFrame(E);};C=requestAnimationFrame(E);};return ne(Pe(()=>e.bounds,E=>{if(b=E,!m){n(b.x),i(b.y),s(b.width),c(b.height),m=true;return}F();})),ne(()=>{e.variant==="grabbed"&&e.createdAt&&(g=window.setTimeout(()=>{f(0);},1500));}),pe(()=>{C!==null&&(cancelAnimationFrame(C),C=null),g!==null&&(window.clearTimeout(g),g=null),v=false;}),N(J,{get when(){return e.visible!==false},get children(){var E=Ui();return ce(k=>{var H=Or("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-dashed border-grab-purple/40 bg-grab-purple/5 will-change-[transform,width,height] cursor-crosshair",e.variant==="selection"&&"border border-dashed border-grab-purple/50 bg-grab-purple/8",e.variant==="grabbed"&&"border border-solid border-grab-purple bg-grab-purple/8 transition-opacity duration-300 ease-out"),q=`${r()}px`,ie=`${t()}px`,ve=`${o()}px`,Ce=`${a()}px`,Se=e.bounds.borderRadius,we=e.bounds.transform,x=l(),p=e.variant==="drag"?"layout paint size":void 0;return H!==k.e&&br(E,k.e=H),q!==k.t&&ee(E,"top",k.t=q),ie!==k.a&&ee(E,"left",k.a=ie),ve!==k.o&&ee(E,"width",k.o=ve),Ce!==k.i&&ee(E,"height",k.i=Ce),Se!==k.n&&ee(E,"border-radius",k.n=Se),we!==k.s&&ee(E,"transform",k.s=we),x!==k.h&&ee(E,"opacity",k.h=x),p!==k.r&&ee(E,"contain",k.r=p),k},{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}),E}})};var Yi=re('<span class="inline-block w-2 h-2 border-[1.5px] border-grab-dark-pink border-t-transparent rounded-full mr-1 align-middle">'),Pr=e=>{let t;return sr(()=>{t&&t.animate([{transform:"rotate(0deg)"},{transform:"rotate(360deg)"}],{duration:600,easing:"linear",iterations:1/0});}),(()=>{var n=Yi(),r=t;return typeof r=="function"?Fe(r,n):t=n,ce(i=>hr(n,e.style,i)),n})()};var Lt=(e,t,n,r)=>{let i=window.innerWidth,o=window.innerHeight,s=8,a=8,c=i-n-8,l=o-r-8,f=Math.max(s,Math.min(e,c)),m=Math.max(a,Math.min(t,l));return {left:f,top:m}};var it=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=L(e.x()),[o,s]=L(e.y()),a=e.x(),c=e.y(),l=null,f=false,m=()=>{let g=ze(r(),a,t),b=ze(o(),c,t);i(g),s(b),Math.abs(g-a)<n&&Math.abs(b-c)<n?l=null:l=requestAnimationFrame(m);},C=()=>{l===null&&(l=requestAnimationFrame(m));};return ne(()=>{if(a=e.x(),c=e.y(),!f){i(a),s(c),f=true;return}C();}),pe(()=>{l!==null&&(cancelAnimationFrame(l),l=null);}),{x:r,y:o}};var Fr=e=>{let[t,n]=L(0);return ne(Pe(()=>e.visible,r=>{if(r!==false)requestAnimationFrame(()=>{n(1);});else {n(0);return}if(e.autoFadeOutAfter!==void 0){let i=setTimeout(()=>{n(0);},e.autoFadeOutAfter);pe(()=>clearTimeout(i));}})),t};var Ot=(e,t,n,r,i)=>[{left:Math.round(e)+i,top:Math.round(t)+i},{left:Math.round(e)-n-i,top:Math.round(t)+i},{left:Math.round(e)+i,top:Math.round(t)-r-i},{left:Math.round(e)-n-i,top:Math.round(t)-r-i}];var Xi=re('<div class="absolute top-0 left-0 bottom-0 bg-grab-pink/20 rounded-[3px] transition-[width] duration-100 ease-out pointer-events-none">'),qi=re('<span class="inline-block mr-1 font-semibold">\u2713'),Wi=re("<div class=mr-1>Copied"),Zi=re("<div class=ml-1>to clipboard"),Ki=re('<div class="text-[9px] opacity-60 text-center mt-0.5">Click or drag to select'),Qi=re('<div class="fixed bg-grab-pink-light text-grab-pink border border-grab-pink-border rounded text-[11px] font-medium font-sans pointer-events-none transition-opacity duration-200 ease-in-out overflow-hidden"style="max-width:calc(100vw - (16px + env(safe-area-inset-left) + env(safe-area-inset-right)))"><div class="relative py-0.5 px-1.5 flex flex-col"><div class="flex items-center text-ellipsis whitespace-nowrap">'),wn=e=>{let t,n=it({x:()=>e.x,y:()=>e.y,lerpFactor:.3}),r=Fr({visible:e.visible,autoFadeOutAfter:e.variant==="success"?1700:void 0}),i=()=>t?.getBoundingClientRect(),o=()=>{let s=i();if(!s)return {left:n.x(),top:n.y()};let a=window.innerWidth,c=window.innerHeight,l=Ot(n.x(),n.y(),s.width,s.height,14);for(let m of l){let C=m.left>=8&&m.left+s.width<=a-8,g=m.top>=8&&m.top+s.height<=c-8;if(C&&g)return m}let f=Lt(l[0].left,l[0].top,s.width,s.height);return f.left+=4,f.top+=4,f};return N(J,{get when(){return e.visible!==false},get children(){var s=Qi(),a=s.firstChild,c=a.firstChild,l=t;return typeof l=="function"?Fe(l,s):t=s,ue(s,N(J,{get when(){return ye(()=>e.variant==="processing")()&&e.progress!==void 0},get children(){var f=Xi();return ce(m=>ee(f,"width",`${Math.min(100,Math.max(0,(e.progress??0)*100))}%`)),f}}),a),ue(c,N(J,{get when(){return e.variant==="processing"},get children(){return N(Pr,{})}}),null),ue(c,N(J,{get when(){return e.variant==="success"},get children(){return qi()}}),null),ue(c,N(J,{get when(){return e.variant==="success"},get children(){return Wi()}}),null),ue(c,N(J,{get when(){return e.variant==="processing"},children:"Please wait\u2026"}),null),ue(c,N(J,{get when(){return e.variant!=="processing"},get children(){return e.content}}),null),ue(c,N(J,{get when(){return e.variant==="success"},get children(){return Zi()}}),null),ue(a,N(J,{get when(){return ye(()=>e.variant==="hover")()&&e.showHint},get children(){return Ki()}}),null),ce(f=>{var m=`${o().top}px`,C=`${o().left}px`,g=e.zIndex?.toString()??"2147483647",b=r();return m!==f.e&&ee(s,"top",f.e=m),C!==f.t&&ee(s,"left",f.t=C),g!==f.a&&ee(s,"z-index",f.a=g),b!==f.o&&ee(s,"opacity",f.o=b),f},{e:void 0,t:void 0,a:void 0,o:void 0}),s}})};var Ji=re('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),Ir=e=>{let t,n=null,r=0,i=0,o=1,s=it({x:()=>e.mouseX,y:()=>e.mouseY,lerpFactor:.3}),a=()=>{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(s.x(),0),n.lineTo(s.x(),i),n.moveTo(0,s.y()),n.lineTo(r,s.y()),n.stroke());};return ne(()=>{a(),c();let l=()=>{a(),c();};window.addEventListener("resize",l),pe(()=>{window.removeEventListener("resize",l);});}),ne(()=>{s.x(),s.y(),c();}),N(J,{get when(){return e.visible!==false},get children(){var l=Ji(),f=t;return typeof f=="function"?Fe(f,l):t=l,l}})};var es=re('<div data-react-grab-input class="fixed bg-grab-pink-light text-grab-pink border border-grab-pink-border rounded text-[11px] font-medium font-sans overflow-hidden"style="max-width:calc(100vw - (16px + env(safe-area-inset-left) + env(safe-area-inset-right)))"><div class="relative p-0.5 px-[3px] flex flex-col gap-0.5"><textarea placeholder="Make a change"rows=1 class="w-[150px] px-1 py-0.5 bg-white text-grab-pink border border-grab-pink-border rounded-[3px] text-[11px] leading-tight font-sans outline-none resize-none min-h-[18px] overflow-hidden"></textarea><div class="text-[9px] opacity-60 text-center">Enter \u23CE submit &middot; Esc cancel'),Nr=e=>{let t,n,r=it({x:()=>e.x,y:()=>e.y,lerpFactor:.3}),i=()=>t?.getBoundingClientRect(),o=()=>{let l=i();if(!l)return {left:r.x(),top:r.y()};let f=window.innerWidth,m=window.innerHeight,C=Ot(r.x(),r.y(),l.width,l.height,14);for(let b of C){let v=b.left>=8&&b.left+l.width<=f-8,R=b.top>=8&&b.top+l.height<=m-8;if(v&&R)return b}let g=Lt(C[0].left,C[0].top,l.width,l.height);return g.left+=4,g.top+=4,g},s=l=>{l.code==="Enter"&&!l.shiftKey?(l.preventDefault(),l.stopPropagation(),e.onSubmit()):l.code==="Escape"&&(l.preventDefault(),l.stopPropagation(),e.onCancel());},a=l=>{let f=l.target;e.onInput(f.value),c(f);},c=l=>{l.style.height="auto",l.style.height=`${l.scrollHeight}px`;};return ne(()=>{e.visible&&n?(n.focus(),n.style.height="auto"):!e.visible&&n&&n.blur();}),(()=>{var l=es(),f=l.firstChild,m=f.firstChild,C=t;typeof C=="function"?Fe(C,l):t=l,m.$$keydown=s,m.$$input=a;var g=n;return typeof g=="function"?Fe(g,m):n=m,ce(b=>{var v=e.visible?"block":"none",R=`${o().top}px`,F=`${o().left}px`,E=e.zIndex?.toString()??"2147483647",k=e.visible?"auto":"none";return v!==b.e&&ee(l,"display",b.e=v),R!==b.t&&ee(l,"top",b.t=R),F!==b.a&&ee(l,"left",b.a=F),E!==b.o&&ee(l,"z-index",b.o=E),k!==b.i&&ee(l,"pointer-events",b.i=k),b},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),ce(()=>m.value=e.value),l})()};gr(["input","keydown"]);var Mr=e=>[N(J,{get when(){return ye(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return N(_t,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible}})}}),N(J,{get when(){return ye(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return N(Ir,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),N(J,{get when(){return ye(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return N(_t,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),N(Rt,{get each(){return e.grabbedBoxes??[]},children:t=>N(_t,{variant:"grabbed",get bounds(){return t.bounds},get createdAt(){return t.createdAt}})}),N(J,{get when(){return e.labelVariant!=="processing"},get children(){return N(Rt,{get each(){return e.successLabels??[]},children:t=>N(wn,{variant:"success",get content(){return ye(()=>t.text)},get x(){return e.mouseX??0},get y(){return e.mouseY??0}})})}}),N(J,{get when(){return ye(()=>!!(e.labelVisible&&e.labelVariant&&e.labelContent!==void 0&&e.labelX!==void 0))()&&e.labelY!==void 0},get children(){return N(wn,{get variant(){return e.labelVariant},get content(){return e.labelContent},get x(){return e.labelX},get y(){return e.labelY},get visible(){return e.labelVisible},get zIndex(){return e.labelZIndex},get progress(){return e.progress},get showHint(){return e.labelShowHint}})}}),N(Nr,{get x(){return e.inputX??0},get y(){return e.inputY??0},get zIndex(){return e.labelZIndex},get value(){return e.inputValue??""},get visible(){return e.inputVisible??false},get onInput(){return e.onInputChange},get onSubmit(){return e.onInputSubmit},get onCancel(){return e.onInputCancel}})];var Hr="0.5.16",Nt=`bippy-${Hr}`,$r=Object.defineProperty,ts=Object.prototype.hasOwnProperty,bt=()=>{},Br=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{}},Mt=(e=Ne())=>"getFiberRoots"in e,zr=false,Dr,ht=(e=Ne())=>zr?true:(typeof e.inject=="function"&&(Dr=e.inject.toString()),!!Dr?.includes("(injected)")),Ft=new Set,Ze=new Set,jr=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:Nt,checkDCE:Br,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),Ze.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,Ft.forEach(s=>s())),o},on:bt,onCommitFiberRoot:bt,onCommitFiberUnmount:bt,onPostCommitFiberRoot:bt,renderers:t,supportsFiber:true,supportsFlight:true};try{$r(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(s){if(s&&typeof s=="object"){let a=r.renderers;r=s,a.size>0&&(a.forEach((c,l)=>{Ze.add(c),s.renderers.set(l,c);}),It(e));}}});let i=window.hasOwnProperty,o=!1;$r(window,"hasOwnProperty",{configurable:!0,value:function(...s){try{if(!o&&s[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,s)},writable:!0});}catch{It(e);}return r},It=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=Br,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=Nt,t._instrumentationIsActive=!1;let n=Mt(t);if(n||(t.on=bt),t.renderers.size){t._instrumentationIsActive=!0,Ft.forEach(o=>o());return}let r=t.inject,i=ht(t);i&&!n&&(zr=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let s=r(o);return Ze.add(o),i&&t.renderers.set(s,o),t._instrumentationIsActive=!0,Ft.forEach(a=>a()),s};}(t.renderers.size||t._instrumentationIsActive||ht())&&e?.();}catch{}},xn=()=>ts.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),Ne=e=>xn()?(It(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):jr(e),Vr=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),vn=()=>{try{Vr()&&Ne();}catch{}};vn();var $t=0,Dt=1;var Ht=5;var Bt=11,Cn=13,Gr=14,zt=15,Sn=16;var kn=19;var jt=26,Vt=27,Tn=28,En=30;var Gt=e=>{switch(e.tag){case Ht:case jt:case Vt:return true;default:return typeof e.type=="string"}},Ut=e=>{switch(e.tag){case Dt:case Bt:case $t:case Gr:case zt:return true;default:return false}},Rn=e=>!e||typeof e!="object"?true:"pendingProps"in e&&!("containerInfo"in e);function st(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 s=await _n(o,t,n);if(s)return s;o=n?null:o.sibling;}return null})();if(r===true)return e;let i=n?e.return:e.child;for(;i;){let o=An(i,t,n);if(o)return o;i=n?null:i.sibling;}return null}var An=(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=An(r,t,n);if(i)return i;r=n?null:r.sibling;}return null},_n=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 _n(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var Ln=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?Ln(t.type||t.render):null},Ke=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=Ln(t);return r&&(r.displayName||r.name)||null};var Ge=()=>!!Ne()._instrumentationIsActive||Mt()||ht(),Yt=e=>{let t=e.alternate;if(!t)return e;if(t.actualStartTime&&e.actualStartTime)return t.actualStartTime>e.actualStartTime?t:e;for(let n of Ur){let r=st(n.current,i=>{if(i===e)return true});if(r)return r}return e};var yt=e=>{let t=Ne();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},Ur=new Set;var us=Object.create,Jr=Object.defineProperty,ds=Object.getOwnPropertyDescriptor,fs=Object.getOwnPropertyNames,ms=Object.getPrototypeOf,ps=Object.prototype.hasOwnProperty,gs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bs=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=fs(t),o=0,s=i.length,a;o<s;o++)a=i[o],!ps.call(e,a)&&a!==n&&Jr(e,a,{get:(c=>t[c]).bind(null,a),enumerable:!(r=ds(t,a))||r.enumerable});return e},hs=(e,t,n)=>(n=e==null?{}:us(ms(e)),bs(Jr(n,"default",{value:e,enumerable:true}),e)),ys=()=>{let e=Ne();for(let t of [...Array.from(Ze),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},Yr=e=>{for(let t of Ze){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},Me=e=>`
11
- in ${e}`,ws=(e,t)=>{let n=Me(e);return t&&(n+=` (at ${t})`),n},On=false,Pn=(e,t)=>{if(!e||On)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,On=true;let r=ys();Yr(null);let i=console.error,o=console.warn;console.error=()=>{},console.warn=()=>{};try{let c={DetermineComponentFrameRoot(){let C;try{if(t){let g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[]);}catch(b){C=b;}Reflect.construct(e,[],g);}else {try{g.call();}catch(b){C=b;}e.call(g.prototype);}}else {try{throw Error()}catch(b){C=b;}let g=e();g&&typeof g.catch=="function"&&g.catch(()=>{});}}catch(g){if(g instanceof Error&&C instanceof Error&&typeof g.stack=="string")return [g.stack,C.stack]}return [null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot",Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[f,m]=c.DetermineComponentFrameRoot();if(f&&m){let C=f.split(`
12
- `),g=m.split(`
13
- `),b=0,v=0;for(;b<C.length&&!C[b].includes("DetermineComponentFrameRoot");)b++;for(;v<g.length&&!g[v].includes("DetermineComponentFrameRoot");)v++;if(b===C.length||v===g.length)for(b=C.length-1,v=g.length-1;b>=1&&v>=0&&C[b]!==g[v];)v--;for(;b>=1&&v>=0;b--,v--)if(C[b]!==g[v]){if(b!==1||v!==1)do if(b--,v--,v<0||C[b]!==g[v]){let R=`
14
- ${C[b].replace(" at new "," at ")}`,F=Ke(e);return F&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",F)),R}while(b>=1&&v>=0);break}}}finally{On=false,Error.prepareStackTrace=n,Yr(r),console.error=i,console.warn=o;}let s=e?Ke(e):"";return s?Me(s):""},xs=(e,t)=>{let n=e.tag,r="";switch(n){case Tn:r=Me("Activity");break;case Dt:r=Pn(e.type,true);break;case Bt:r=Pn(e.type.render,false);break;case $t:case zt:r=Pn(e.type,false);break;case Ht:case jt:case Vt:r=Me(e.type);break;case Sn:r=Me("Lazy");break;case Cn:r=e.child!==t&&t!==null?Me("Suspense Fallback"):Me("Suspense");break;case kn:r=Me("SuspenseList");break;case En:r=Me("ViewTransition");break;default:return ""}return r},vs=e=>{try{let t="",n=e,r=null;do{t+=xs(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let s=i[o];typeof s.name=="string"&&(t+=ws(s.name,s.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
9
+ var ss=(e,t)=>e===t;var as=Symbol("solid-track"),an={equals:ss},no=ao,Le=1,Pt=2,ro={owned:null,cleanups:null,context:null,owner:null};var q=null,S=null,yt=null,ne=null,ge=null,ye=null,cn=0;function ot(e,t){let n=ne,r=q,i=e.length===0,o=t===void 0?r:t,s=i?ro:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=i?e:()=>e(()=>Re(()=>qe(s)));q=s,ne=null;try{return De(l,!0)}finally{ne=n,q=r;}}function M(e,t){t=t?Object.assign({},an,t):an;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),so(n,i));return [io.bind(n),r]}function te(e,t,n){let r=qn(e,t,false,Le);Bt(r);}function Z(e,t,n){no=fs;let r=qn(e,t,false,Le);(r.user=true),ye?ye.push(r):Bt(r);}function re(e,t,n){n=n?Object.assign({},an,n):an;let r=qn(e,t,true,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Bt(r),io.bind(r)}function Re(e){if(ne===null)return e();let t=ne;ne=null;try{return yt?yt.untrack(e):e()}finally{ne=t;}}function Ce(e,t,n){let r=Array.isArray(e),i;return s=>{let l;if(r){l=Array(e.length);for(let f=0;f<e.length;f++)l[f]=e[f]();}else l=e();let c=Re(()=>t(l,i,s));return i=l,c}}function oo(e){Z(()=>Re(e));}function Se(e){return q===null||(q.cleanups===null?q.cleanups=[e]:q.cleanups.push(e)),e}M(false);function io(){let e=S;if(this.sources&&(this.state))if((this.state)===Le)Bt(this);else {let t=ge;ge=null,De(()=>ln(this),false),ge=t;}if(ne){let t=this.observers?this.observers.length:0;ne.sources?(ne.sources.push(this),ne.sourceSlots.push(t)):(ne.sources=[this],ne.sourceSlots=[t]),this.observers?(this.observers.push(ne),this.observerSlots.push(ne.sources.length-1)):(this.observers=[ne],this.observerSlots=[ne.sources.length-1]);}return e&&S.sources.has(this)?this.tValue:this.value}function so(e,t,n){let r=e.value;if(!e.comparator||!e.comparator(r,t)){e.value=t;e.observers&&e.observers.length&&De(()=>{for(let i=0;i<e.observers.length;i+=1){let o=e.observers[i],s=S&&S.running;s&&S.disposed.has(o)||((s?!o.tState:!o.state)&&(o.pure?ge.push(o):ye.push(o),o.observers&&lo(o)),s?o.tState=Le:o.state=Le);}if(ge.length>1e6)throw ge=[],new Error},false);}return t}function Bt(e){if(!e.fn)return;qe(e);let t=cn;Qr(e,e.value,t);}function Qr(e,t,n){let r,i=q,o=ne;ne=q=e;try{r=e.fn(t);}catch(s){return e.pure&&((e.state=Le,e.owned&&e.owned.forEach(qe),e.owned=null)),e.updatedAt=n+1,Wn(s)}finally{ne=o,q=i;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?so(e,r):e.value=r,e.updatedAt=n);}function qn(e,t,n,r=Le,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!==ro&&(q.owned?q.owned.push(o):q.owned=[o]),yt);return o}function Ft(e){let t=S;if((e.state)===0)return;if((e.state)===Pt)return ln(e);if(e.suspense&&Re(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<cn);){(e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t);if((e.state)===Le)Bt(e);else if((e.state)===Pt){let i=ge;ge=null,De(()=>ln(e,n[0]),false),ge=i;}}}function De(e,t){if(ge)return e();let n=false;t||(ge=[]),ye?n=true:ye=[],cn++;try{let r=e();return us(n),r}catch(r){n||(ye=null),ge=null,Wn(r);}}function us(e){if(ge&&(ao(ge),ge=null),e)return;let n=ye;ye=null,n.length&&De(()=>no(n),false);}function ao(e){for(let t=0;t<e.length;t++)Ft(e[t]);}function fs(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 ln(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===Le?i!==t&&(!i.updatedAt||i.updatedAt<cn)&&Ft(i):o===Pt&&ln(i,t);}}}function lo(e){for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(!r.state)&&(r.state=Pt,r.pure?ge.push(r):ye.push(r),r.observers&&lo(r));}}function qe(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(),s=n.observerSlots.pop();r<i.length&&(o.sourceSlots[s]=r,i[r]=o,n.observerSlots[r]=s);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)qe(e.tOwned[t]);delete e.tOwned;}if(e.owned){for(t=e.owned.length-1;t>=0;t--)qe(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 ms(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Wn(e,t=q){let r=ms(e);throw r;}var gs=Symbol("fallback");function to(e){for(let t=0;t<e.length;t++)e[t]();}function ps(e,t,n={}){let r=[],i=[],o=[],s=0,l=t.length>1?[]:null;return Se(()=>to(o)),()=>{let c=e()||[],f=c.length,g,h;return c[as],Re(()=>{let x,m,w,_,F,v,L,N,U;if(f===0)s!==0&&(to(o),o=[],r=[],i=[],s=0,l&&(l=[])),n.fallback&&(r=[gs],i[0]=ot(K=>(o[0]=K,n.fallback())),s=1);else if(s===0){for(i=new Array(f),h=0;h<f;h++)r[h]=c[h],i[h]=ot(A);s=f;}else {for(w=new Array(f),_=new Array(f),l&&(F=new Array(f)),v=0,L=Math.min(s,f);v<L&&r[v]===c[v];v++);for(L=s-1,N=f-1;L>=v&&N>=v&&r[L]===c[N];L--,N--)w[N]=i[L],_[N]=o[L],l&&(F[N]=l[L]);for(x=new Map,m=new Array(N+1),h=N;h>=v;h--)U=c[h],g=x.get(U),m[h]=g===void 0?-1:g,x.set(U,h);for(g=v;g<=L;g++)U=r[g],h=x.get(U),h!==void 0&&h!==-1?(w[h]=i[g],_[h]=o[g],l&&(F[h]=l[g]),h=m[h],x.set(U,h)):o[g]();for(h=v;h<f;h++)h in w?(i[h]=w[h],o[h]=_[h],l&&(l[h]=F[h],l[h](h))):i[h]=ot(A);i=i.slice(0,s=f),r=c.slice(0);}return i});function A(x){if(o[h]=x,l){let[m,w]=M(h);return l[h]=w,t(c[h],m)}return t(c[h])}}}function I(e,t){return Re(()=>e(t||{}))}var hs=e=>`Stale read from <${e}>.`;function Dt(e){let t="fallback"in e&&{fallback:()=>e.fallback};return re(ps(()=>e.each,e.children,t||void 0))}function oe(e){let t=e.keyed,n=re(()=>e.when,void 0,void 0),r=t?n:re(n,void 0,{equals:(i,o)=>!i==!o});return re(()=>{let i=r();if(i){let o=e.children;return typeof o=="function"&&o.length>0?Re(()=>o(t?i:()=>{if(!Re(r))throw hs("Show");return n()})):o}return e.fallback},void 0,void 0)}var pe=e=>re(()=>e());function xs(e,t,n){let r=n.length,i=t.length,o=r,s=0,l=0,c=t[i-1].nextSibling,f=null;for(;s<i||l<o;){if(t[s]===n[l]){s++,l++;continue}for(;t[i-1]===n[o-1];)i--,o--;if(i===s){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(;s<i;)(!f||!f.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[o-1]&&n[l]===t[i-1]){let g=t[--i].nextSibling;e.insertBefore(n[l++],t[s++].nextSibling),e.insertBefore(n[--o],g),t[i]=n[o];}else {if(!f){f=new Map;let h=l;for(;h<o;)f.set(n[h],h++);}let g=f.get(t[s]);if(g!=null)if(l<g&&g<o){let h=s,A=1,x;for(;++h<i&&h<o&&!((x=f.get(t[h]))==null||x!==g+A);)A++;if(A>g-l){let m=t[s];for(;l<g;)e.insertBefore(n[l++],m);}else e.replaceChild(n[l++],t[s++]);}else s++;else t[s++].remove();}}}var uo="_$DX_DELEGATE";function mo(e,t,n,r={}){let i;return ot(o=>{i=o,t===document?e():G(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{i(),t.textContent="";}}function Y(e,t,n,r){let i,o=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},s=()=>(i||(i=o())).cloneNode(true);return s.cloneNode=s,s}function dn(e,t=window.document){let n=t[uo]||(t[uo]=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,vs));}}function le(e,t,n){(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function Oe(e,t){(t==null?e.removeAttribute("class"):e.className=t);}function fn(e,t,n,r){Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;}function go(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 he(e,t,n){n!=null?e.style.setProperty(t,n):e.style.removeProperty(t);}function Ht(e,t,n){return Re(()=>e(t,n))}function G(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return un(e,t,r,n);te(i=>un(e,t(),i,n),r);}function vs(e){let t=e.target,n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=c=>Object.defineProperty(e,"target",{configurable:true,value:c}),s=()=>{let c=t[n];if(c&&!t.disabled){let f=t[`${n}Data`];if(f!==void 0?c.call(t,f,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(;s()&&(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 f=0;f<c.length-2&&(t=c[f],!!s());f++){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 s=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,s==="string"||s==="number"){if(s==="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=wt(e,n,r,c);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||s==="boolean"){n=wt(e,n,r);}else {if(s==="function")return te(()=>{let c=t();for(;typeof c=="function";)c=c();n=un(e,c,n,r);}),()=>n;if(Array.isArray(t)){let c=[],f=n&&Array.isArray(n);if(Zn(c,t,n,i))return te(()=>n=un(e,c,n,r,true)),()=>n;if(c.length===0){if(n=wt(e,n,r),l)return n}else f?n.length===0?fo(e,c,r):xs(e,n,c):(n&&wt(e),fo(e,c));n=c;}else if(t.nodeType){if(Array.isArray(n)){if(l)return n=wt(e,n,r,t);wt(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function Zn(e,t,n,r){let i=false;for(let o=0,s=t.length;o<s;o++){let l=t[o],c=n&&n[e.length],f;if(!(l==null||l===true||l===false))if((f=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))i=Zn(e,l,c)||i;else if(f==="function")if(r){for(;typeof l=="function";)l=l();i=Zn(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 fo(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n);}function wt(e,t,n,r){if(n===void 0)return e.textContent="";let i=r||document.createTextNode("");if(t.length){let o=false;for(let s=t.length-1;s>=0;s--){let l=t[s];if(i!==l){let c=l.parentNode===e;!o&&!s?c?e.replaceChild(i,l):e.insertBefore(i,n):c&&l.remove();}else o=true;}}else e.insertBefore(i,n);return [i]}var po=`/*! 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}}}@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;--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-tag-text:#1e001f;--color-label-gray-border:#b0b0b0;--color-label-success-bg:#d9ffe4;--color-label-success-border:#00bb69;--color-label-success-text:#006e3b;--color-label-divider:#dedede;--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}.relative{position:relative}.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-\\[2\\.5px\\]{margin-top:2.5px}.-ml-\\[5px\\]{margin-left:-5px}.ml-1{margin-left:calc(var(--spacing)*1)}.box-border{box-sizing:border-box}.flex{display:flex}.hidden{display:none}.h-0{height:calc(var(--spacing)*0)}.h-5{height:calc(var(--spacing)*5)}.h-5\\.5{height:calc(var(--spacing)*5.5)}.h-\\[14px\\]{height:14px}.h-\\[18px\\]{height:18px}.h-fit{height:fit-content}.min-h-\\[14px\\]{min-height:14px}.w-0{width:calc(var(--spacing)*0)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-1{width:calc(var(--spacing)*1)}.w-\\[18px\\]{width:18px}.w-fit{width:fit-content}.w-full{width:100%}.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-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-\\[3px\\]{gap:3px}.gap-\\[5px\\]{gap:5px}.rounded-\\[1\\.5px\\]{border-radius:1.5px}.rounded-\\[3px\\]{border-radius:3px}.rounded-full{border-radius:3.40282e38px}.rounded-br-\\[3px\\]{border-bottom-right-radius:3px}.rounded-bl-\\[3px\\]{border-bottom-left-radius:3px}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.border-t-\\[0\\.5px\\]{border-top-style:var(--tw-border-style);border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.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-gray-border{border-color:var(--color-label-gray-border)}.border-label-success-border{border-color:var(--color-label-success-border)}.border-label-tag-border{border-color:var(--color-label-tag-border)}.border-t-label-divider{border-top-color:var(--color-label-divider)}.bg-black{background-color:var(--color-black)}.bg-grab-pink{background-color:var(--color-grab-pink)}.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-label-success-bg{background-color:var(--color-label-success-bg)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[5px\\]{padding-inline:5px}.py-\\[5px\\]{padding-block:5px}.py-px{padding-block:1px}.pt-1{padding-top:calc(var(--spacing)*1)}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.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}.text-black{color:var(--color-black)}.text-label-muted{color:var(--color-label-muted)}.text-label-success-text{color:var(--color-label-success-text)}.text-label-tag-border{color:var(--color-label-tag-border)}.text-label-tag-text{color:var(--color-label-tag-text)}.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\\.65\\]{opacity:.65}.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,)}.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-\\[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))}.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}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\\:opacity-80:hover{opacity:.8}.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}}.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}@keyframes pulse{50%{opacity:.5}}`;var Ss=["input","textarea","select","searchbox","slider","spinbutton","menuitem","menuitemcheckbox","menuitemradio","option","radio","textbox"],Es=e=>!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-"),ks=e=>Array.isArray(e),Ts=(e,t=false)=>{let{composed:n,target:r}=e,i,o;if(r instanceof HTMLElement&&Es(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 ks(t)?!!(i&&t&&t.some(s=>typeof i=="string"&&s.toLowerCase()===i.toLowerCase()||s===o)):!!(i&&t&&t)},bo=e=>Ts(e,Ss);var ho=e=>{let t=e.tagName.toLowerCase();return !!(t==="input"||t==="textarea"||e instanceof HTMLElement&&e.isContentEditable)},yo=(e,t)=>{let n=document.activeElement;if(n){let r=n;for(;r;){if(ho(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(ho(i))return true}return false};var xt="data-react-grab",wo=e=>{let t=document.querySelector(`[${xt}]`);if(t){let s=t.shadowRoot?.querySelector(`[${xt}]`);if(s instanceof HTMLDivElement&&t.shadowRoot)return s}let n=document.createElement("div");n.setAttribute(xt,"true"),n.style.zIndex="2147483646",n.style.position="fixed",n.style.top="0",n.style.left="0";let r=n.attachShadow({mode:"open"});{let s=document.createElement("style");s.textContent=e,r.appendChild(s);}let i=document.createElement("div");return i.setAttribute(xt,"true"),r.appendChild(i),(document.body??document.documentElement).appendChild(n),i};var As="https://react-grab.com",mn=(e,t)=>{let n=t?`&line=${t}`:"";return `${As}/open-file?url=${encodeURIComponent(e)}${n}`};var gn=["Meta","Control","Shift","Alt"],xo='<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 We=(e,t,n)=>e+(t-e)*n;function vo(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=vo(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Co(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=vo(e))&&(r&&(r+=" "),r+=t);return r}var tr="-",Rs=e=>{let t=Ls(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return {getClassGroupId:s=>{let l=s.split(tr);return l[0]===""&&l.length!==1&&l.shift(),ko(l,t)||_s(s)},getConflictingClassGroupIds:(s,l)=>{let c=n[s]||[];return l&&r[s]?[...c,...r[s]]:c}}},ko=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?ko(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(tr);return t.validators.find(({validator:s})=>s(o))?.classGroupId},So=/^\[(.+)\]$/,_s=e=>{if(So.test(e)){let t=So.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return "arbitrary.."+n}},Ls=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Is(Object.entries(e.classGroups),n).forEach(([o,s])=>{er(s,r,o,t);}),r},er=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:Eo(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(Ns(i)){er(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{er(s,Eo(t,o),n,r);});});},Eo=(e,t)=>{let n=e;return t.split(tr).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r);}),n},Ns=e=>e.isThemeGetter,Is=(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(([s,l])=>[t+s,l])):o);return [n,i]}):e,Ms=e=>{if(e<1)return {get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map);};return {get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s);}}},To="!",Os=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=l=>{let c=[],f=0,g=0,h;for(let _=0;_<l.length;_++){let F=l[_];if(f===0){if(F===i&&(r||l.slice(_,_+o)===t)){c.push(l.slice(g,_)),g=_+o;continue}if(F==="/"){h=_;continue}}F==="["?f++:F==="]"&&f--;}let A=c.length===0?l:l.substring(g),x=A.startsWith(To),m=x?A.substring(1):A,w=h&&h>g?h-g:void 0;return {modifiers:c,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:w}};return n?l=>n({className:l,parseClassName:s}):s},Ps=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},Fs=e=>({cache:Ms(e.cacheSize),parseClassName:Os(e),...Rs(e)}),$s=/\s+/,Bs=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split($s),l="";for(let c=s.length-1;c>=0;c-=1){let f=s[c],{modifiers:g,hasImportantModifier:h,baseClassName:A,maybePostfixModifierPosition:x}=n(f),m=!!x,w=r(m?A.substring(0,x):A);if(!w){if(!m){l=f+(l.length>0?" "+l:l);continue}if(w=r(A),!w){l=f+(l.length>0?" "+l:l);continue}m=false;}let _=Ps(g).join(":"),F=h?_+To:_,v=F+w;if(o.includes(v))continue;o.push(v);let L=i(w,m);for(let N=0;N<L.length;++N){let U=L[N];o.push(F+U);}l=f+(l.length>0?" "+l:l);}return l};function Ds(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Ao(t))&&(r&&(r+=" "),r+=n);return r}var Ao=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ao(e[r]))&&(n&&(n+=" "),n+=t);return n};function Hs(e,...t){let n,r,i,o=s;function s(c){let f=t.reduce((g,h)=>h(g),e());return n=Fs(f),r=n.cache.get,i=n.cache.set,o=l,l(c)}function l(c){let f=r(c);if(f)return f;let g=Bs(c,n);return i(c,g),g}return function(){return o(Ds.apply(null,arguments))}}var ie=e=>{let t=n=>n[e]||[];return t.isThemeGetter=true,t},Ro=/^\[(?:([a-z-]+):)?(.+)\]$/i,zs=/^\d+\/\d+$/,js=new Set(["px","full","screen"]),Vs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gs=/\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$/,Us=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ks=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ys=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,He=e=>vt(e)||js.has(e)||zs.test(e),Ze=e=>Ct(e,"length",ta),vt=e=>!!e&&!Number.isNaN(Number(e)),Qn=e=>Ct(e,"number",vt),zt=e=>!!e&&Number.isInteger(Number(e)),Xs=e=>e.endsWith("%")&&vt(e.slice(0,-1)),j=e=>Ro.test(e),Je=e=>Vs.test(e),qs=new Set(["length","size","percentage"]),Ws=e=>Ct(e,qs,_o),Zs=e=>Ct(e,"position",_o),Js=new Set(["image","url"]),Qs=e=>Ct(e,Js,ra),ea=e=>Ct(e,"",na),jt=()=>true,Ct=(e,t,n)=>{let r=Ro.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):false},ta=e=>Gs.test(e)&&!Us.test(e),_o=()=>false,na=e=>Ks.test(e),ra=e=>Ys.test(e);var oa=()=>{let e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),i=ie("borderColor"),o=ie("borderRadius"),s=ie("borderSpacing"),l=ie("borderWidth"),c=ie("contrast"),f=ie("grayscale"),g=ie("hueRotate"),h=ie("invert"),A=ie("gap"),x=ie("gradientColorStops"),m=ie("gradientColorStopPositions"),w=ie("inset"),_=ie("margin"),F=ie("opacity"),v=ie("padding"),L=ie("saturate"),N=ie("scale"),U=ie("sepia"),K=ie("skew"),se=ie("space"),W=ie("translate"),Q=()=>["auto","contain","none"],fe=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto",j,t],b=()=>[j,t],u=()=>["",He,Ze],y=()=>["auto",vt,j],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],k=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",j],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>[vt,j];return {cacheSize:500,separator:":",theme:{colors:[jt],spacing:[He,Ze],blur:["none","",Je,j],brightness:O(),borderColor:[e],borderRadius:["none","","full",Je,j],borderSpacing:b(),borderWidth:u(),contrast:O(),grayscale:D(),hueRotate:O(),invert:D(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[Xs,Ze],inset:T(),margin:T(),opacity:O(),padding:b(),saturate:O(),scale:O(),sepia:D(),skew:O(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[Je]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:[...P(),j]}],overflow:[{overflow:fe()}],"overflow-x":[{"overflow-x":fe()}],"overflow-y":[{"overflow-y":fe()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",zt,j]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",zt,j]}],"grid-cols":[{"grid-cols":[jt]}],"col-start-end":[{col:["auto",{span:["full",zt,j]},j]}],"col-start":[{"col-start":y()}],"col-end":[{"col-end":y()}],"grid-rows":[{"grid-rows":[jt]}],"row-start-end":[{row:["auto",{span:[zt,j]},j]}],"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",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"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:[_]}],mx:[{mx:[_]}],my:[{my:[_]}],ms:[{ms:[_]}],me:[{me:[_]}],mt:[{mt:[_]}],mr:[{mr:[_]}],mb:[{mb:[_]}],ml:[{ml:[_]}],"space-x":[{"space-x":[se]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[se]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[Je]},Je]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Je,Ze]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qn]}],"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",j]}],"line-clamp":[{"line-clamp":["none",vt,Qn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",He,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[F]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...k(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",He,Ze]}],"underline-offset":[{"underline-offset":["auto",He,j]}],"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:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],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",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[F]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),Zs]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ws]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qs]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"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":[F]}],"border-style":[{border:[...k(),"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":[F]}],"divide-style":[{divide:k()}],"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:["",...k()]}],"outline-offset":[{"outline-offset":[He,j]}],"outline-w":[{outline:[He,Ze]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:u()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[He,Ze]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Je,ea]}],"shadow-color":[{shadow:[jt]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Je,j]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[h]}],saturate:[{saturate:[L]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[L]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:O()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:O()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[zt,j]}],"translate-x":[{"translate-x":[W]}],"translate-y":[{"translate-y":[W]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],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",j]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",j]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[He,Ze,Qn]}],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 Lo=Hs(oa);var Pe=(...e)=>Lo(Co(e));var sa=Y("<div style=overflow:visible>"),it=e=>{let[t,n]=M(e.bounds.x),[r,i]=M(e.bounds.y),[o,s]=M(e.bounds.width),[l,c]=M(e.bounds.height),[f,g]=M(1),h=false,A=null,x=null,m=e.bounds,w=false,_=()=>e.lerpFactor!==void 0?e.lerpFactor:e.variant==="drag"?.7:.95,F=()=>{if(w)return;w=true;let v=()=>{let L=We(t(),m.x,_()),N=We(r(),m.y,_()),U=We(o(),m.width,_()),K=We(l(),m.height,_());n(L),i(N),s(U),c(K),Math.abs(L-m.x)<.5&&Math.abs(N-m.y)<.5&&Math.abs(U-m.width)<.5&&Math.abs(K-m.height)<.5?(A=null,w=false):A=requestAnimationFrame(v);};A=requestAnimationFrame(v);};return Z(Ce(()=>e.bounds,v=>{if(m=v,!h){n(m.x),i(m.y),s(m.width),c(m.height),h=true;return}F();})),Z(()=>{e.variant==="grabbed"&&e.createdAt&&(x=window.setTimeout(()=>{g(0);},1500));}),Se(()=>{A!==null&&(cancelAnimationFrame(A),A=null),x!==null&&(window.clearTimeout(x),x=null),w=false;}),I(oe,{get when(){return e.visible!==false},get children(){var v=sa();return te(L=>{var N=Pe("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 bg-grab-purple/8 transition-opacity duration-300 ease-out",e.variant==="processing"&&"border border-solid border-grab-purple/50 bg-grab-purple/8"),U=`${r()}px`,K=`${t()}px`,se=`${o()}px`,W=`${l()}px`,Q=e.bounds.borderRadius,fe=e.bounds.transform,T=e.isFading?0:f(),b=e.variant==="drag"?"layout paint size":void 0;return N!==L.e&&Oe(v,L.e=N),U!==L.t&&he(v,"top",L.t=U),K!==L.a&&he(v,"left",L.a=K),se!==L.o&&he(v,"width",L.o=se),W!==L.i&&he(v,"height",L.i=W),Q!==L.n&&he(v,"border-radius",L.n=Q),fe!==L.s&&he(v,"transform",L.s=fe),T!==L.h&&he(v,"opacity",L.h=T),b!==L.r&&he(v,"contain",L.r=b),L},{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 No=e=>{let t=e.lerpFactor??.3,n=e.convergenceThreshold??.5,[r,i]=M(e.x()),[o,s]=M(e.y()),l=e.x(),c=e.y(),f=null,g=false,h=()=>{let x=We(r(),l,t),m=We(o(),c,t);i(x),s(m),Math.abs(x-l)<n&&Math.abs(m-c)<n?f=null:f=requestAnimationFrame(h);},A=()=>{f===null&&(f=requestAnimationFrame(h));};return Z(()=>{if(l=e.x(),c=e.y(),!g){i(l),s(c),g=true;return}A();}),Se(()=>{f!==null&&(cancelAnimationFrame(f),f=null);}),{x:r,y:o}};var aa=Y('<canvas class="fixed top-0 left-0 pointer-events-none z-[2147483645]">'),Io=e=>{let t,n=null,r=0,i=0,o=1,s=No({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(s.x(),0),n.lineTo(s.x(),i),n.moveTo(0,s.y()),n.lineTo(r,s.y()),n.stroke());};return Z(()=>{l(),c();let f=()=>{l(),c();};window.addEventListener("resize",f),Se(()=>{window.removeEventListener("resize",f);});}),Z(()=>{s.x(),s.y(),c();}),I(oe,{get when(){return e.visible!==false},get children(){var f=aa(),g=t;return typeof g=="function"?Ht(g,f):t=f,f}})};var la=Y('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 9 9"fill=none><path d="M1 4.5L3.5 7L8 1.5"stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round>'),Mo=e=>{let t=()=>e.size??9;return (()=>{var n=la();return te(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&le(n,"width",r.e=i),o!==r.t&&le(n,"height",r.t=o),s!==r.a&&le(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ca=Y('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 12 12"fill=none><path fill-rule=evenodd clip-rule=evenodd d="M0.675576 0.0318497C0.491988 -0.0369956 0.285105 0.0078173 0.146461 0.146461C0.0078173 0.285105 -0.0369956 0.491988 0.0318497 0.675576L4.15685 11.6756C4.2337 11.8805 4.43492 12.0117 4.65345 11.9992C4.87197 11.9868 5.057 11.8336 5.11009 11.6213L6.41232 6.41232L11.6213 5.11009C11.8336 5.057 11.9868 4.87197 11.9992 4.65345C12.0117 4.43492 11.8805 4.2337 11.6756 4.15685L0.675576 0.0318497Z"fill=currentColor>'),nr=e=>{let t=()=>e.size??9;return (()=>{var n=ca();return te(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&le(n,"width",r.e=i),o!==r.t&&le(n,"height",r.t=o),s!==r.a&&le(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ua=Y('<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">'),Oo=e=>{let t=()=>e.size??12;return (()=>{var n=ua();return te(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&le(n,"width",r.e=i),o!==r.t&&le(n,"height",r.t=o),s!==r.a&&le(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var da=Y('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 12 12"><g fill=none stroke-linecap=round stroke-linejoin=round stroke-width=1 stroke=currentColor><path d=m1.25,6.75h8.5c.5523,0,1-.4477,1-1v-2.5c0-.5523-.4477-1-1-1h-1.75></path><polyline points="3.75 4 1 6.75 3.75 9.5">'),rr=e=>{let t=()=>e.size??14;return (()=>{var n=da();return te(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&le(n,"width",r.e=i),o!==r.t&&le(n,"height",r.t=o),s!==r.a&&le(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var fa=Y('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 9 9"fill=none><rect x=1 y=1 width=7 height=7 rx=1 fill=currentColor>'),Po=e=>{let t=()=>e.size??9;return (()=>{var n=fa();return te(r=>{var i=t(),o=t(),s=e.class;return i!==r.e&&le(n,"width",r.e=i),o!==r.t&&le(n,"height",r.t=o),s!==r.a&&le(n,"class",r.a=s),r},{e:void 0,t:void 0,a:void 0}),n})()};var ma=Y('<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>'),ga=Y("<span>"),pa=Y("<button>"),ba=Y("<div>"),ha=Y('<div class="flex items-center h-[18px] rounded-[1.5px] gap-[3px] px-[5px] py-px bg-label-success-bg border-[0.5px] border-solid border-label-success-border"><span class="text-label-success-text text-[12px] leading-4 font-medium tracking-[-0.04em]">'),ya=Y('<div class="absolute w-0 h-0"style="border-left:8px solid transparent;border-right:8px solid transparent;z-index:1">'),wa=Y('<div class="shrink-0 flex flex-col items-start px-2 py-[5px] w-full h-fit rounded-bl-[3px] rounded-br-[3px] border-t-[0.5px] border-t-solid border-t-label-divider">'),Fo=Y('<div class="flex items-center gap-[3px]">'),xa=Y('<button class="flex items-center justify-center w-[18px] h-[18px] rounded-full cursor-pointer bg-black border-none transition-opacity hover:opacity-80"title=Stop>'),va=Y('<div class="flex items-center gap-[3px] react-grab-shimmer rounded-[3px]">'),Ca=Y('<div class="shrink-0 flex items-center gap-1 w-full h-[14px]"><span class="text-label-muted text-[11px] leading-3.5 shrink-0 tracking-[-0.04em] font-medium w-fit h-fit">to change'),$o=Y('<div class="shrink-0 flex flex-col justify-center items-start gap-1 w-fit h-fit"><div class="shrink-0 flex items-center gap-[3px] pt-1 w-fit h-fit px-1">'),Sa=Y('<div class="shrink-0 flex justify-between items-start w-full min-h-[14px]"><textarea class="text-black text-[11px] leading-3.5 tracking-[-0.04em] font-medium bg-transparent border-none outline-none resize-none flex-1 p-0 m-0"placeholder="type to modify..."rows=1 style=field-sizing:content;min-height:14px></textarea><button class="shrink-0 flex items-center gap-1 w-fit h-fit cursor-pointer bg-transparent border-none p-0 ml-1 mt-[2.5px]">'),Ea=Y('<div data-react-grab-ignore-events class="fixed font-sans antialiased transition-opacity duration-300 ease-out"style=z-index:2147483647><div class="relative flex items-center gap-[5px] bg-white rounded-[3px]"style="box-shadow:#00000033 0px 2px 3px">'),Bo=8,Do=4,ka=150;var Vt=e=>{let[t,n]=M(false),r=()=>{n(true),e.onHoverChange?.(true);},i=()=>{n(false),e.onHoverChange?.(false);};return (()=>{var o=ma(),s=o.firstChild;return fn(o,"click",e.onClick),o.addEventListener("mouseleave",i),o.addEventListener("mouseenter",r),G(s,()=>e.tagName),G(o,I(oe,{get when(){return e.isClickable},get children(){return I(Oo,{size:10,get class(){return Pe("text-label-tag-border transition-all duration-100",t()?"opacity-100 scale-100":"opacity-0 scale-75 -ml-[5px] w-0")}})}}),null),te(l=>{var c=Pe("flex items-center px-1 py-px h-[18px] rounded-[1.5px] gap-[5px] border-[0.5px] border-solid border-label-tag-border",e.shrink&&"shrink-0 w-fit",e.isClickable&&"cursor-pointer"),f=Pe("text-label-tag-text text-[12px] leading-4 font-medium tracking-[-0.04em]",e.showMono&&"font-mono",e.shrink&&"shrink-0 w-fit h-fit");return c!==l.e&&Oe(o,l.e=c),f!==l.t&&Oe(s,l.t=f),l},{e:void 0,t:void 0}),o})()},zo=e=>{let t=Pe("flex items-center h-[18px] rounded-[1.5px] gap-[3px] px-[5px] py-px border-[0.5px] border-solid border-label-gray-border",e.shrink&&"shrink-0 w-fit",e.asButton&&"cursor-pointer bg-transparent",e.dimmed&&"opacity-50 hover:opacity-100 transition-opacity"),n=[pe(()=>e.icon),(()=>{var r=ga();return G(r,()=>e.label),te(()=>Oe(r,Pe("text-black text-[12px] leading-4 font-medium tracking-[-0.04em]",e.shrink&&"shrink-0 w-fit h-fit"))),r})()];return e.asButton?(()=>{var r=pa();return fn(r,"click",e.onClick),Oe(r,t),G(r,n),r})():(()=>{var r=ba();return fn(r,"click",e.onClick),Oe(r,t),G(r,n),te(()=>le(r,"role",e.onClick?"button":void 0)),r})()},Ta=e=>(()=>{var t=ha(),n=t.firstChild;return G(t,I(Mo,{size:9,class:"text-label-success-text shrink-0"}),n),G(n,()=>e.hasAgent?"Completed":"Copied"),t})(),Aa=e=>(()=>{var t=ya();return te(n=>go(t,{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 white"}:{"border-top":"8px solid white"}},n)),t})(),or=e=>I(zo,{get icon(){return I(nr,{size:9,class:"text-black shrink-0"})},label:"Click to copy",get onClick(){return e.onClick},get asButton(){return e.asButton},get dimmed(){return e.dimmed},get shrink(){return e.shrink}}),Ho=e=>(()=>{var t=wa();return G(t,()=>e.children),t})(),St=e=>{let t,n,r=false,[i,o]=M(0),[s,l]=M(0),[c,f]=M("bottom"),[g,h]=M(0),[A,x]=M(false),m=()=>e.status!=="copying"&&e.status!=="copied"&&e.status!=="fading",w=()=>{if(t&&!r){let u=t.getBoundingClientRect();o(u.width),l(u.height);}},_=u=>{r=u;},F=()=>{h(u=>u+1);},v,L=()=>{x(false),v&&clearTimeout(v),v=setTimeout(()=>{x(true);},ka);},N=u=>{u.code==="Enter"&&A()&&!e.isInputExpanded&&m()&&(u.preventDefault(),u.stopPropagation(),e.onToggleExpand?.());};oo(()=>{w(),window.addEventListener("scroll",F,true),window.addEventListener("resize",F),window.addEventListener("mousemove",L),window.addEventListener("keydown",N,{capture:true}),L();}),Se(()=>{window.removeEventListener("scroll",F,true),window.removeEventListener("resize",F),window.removeEventListener("mousemove",L),window.removeEventListener("keydown",N,{capture:true}),v&&clearTimeout(v);}),Z(()=>{e.visible&&requestAnimationFrame(w);}),Z(()=>{e.status,e.isInputExpanded,e.inputValue,A(),requestAnimationFrame(w);}),Z(()=>{e.isInputExpanded&&n&&setTimeout(()=>{n?.focus();},0);});let U=()=>{g();let u=e.selectionBounds,y=i(),P=s();if(!u||y===0||P===0)return {left:-9999,top:-9999,arrowLeft:0};let k=window.innerWidth,B=window.innerHeight,R=u.x+u.width/2,D=u.y+u.height,V=u.y,O=R-y/2,J=D+Bo+Do;O+y>k-8&&(O=k-y-8),O<8&&(O=8);let ae=P+Bo+Do;J+P<=B-8?f("bottom"):(J=V-ae,f("top")),J<8&&(J=8);let ce=Math.max(12,Math.min(R-O,y-12));return {left:O,top:J,arrowLeft:ce}},K=u=>{u.stopPropagation(),u.code==="Enter"&&!u.shiftKey?(u.preventDefault(),e.onSubmit?.()):u.code==="Escape"&&(u.preventDefault(),e.onCancel?.());},se=u=>{let y=u.target;e.onInputChange?.(y.value);},W=()=>e.tagName||"element",Q=u=>{u.stopPropagation(),u.stopImmediatePropagation(),e.filePath&&e.onOpen&&e.onOpen();},fe=()=>!!(e.filePath&&e.onOpen),T=u=>{u.stopPropagation(),u.stopImmediatePropagation();},b=()=>e.onSubmit?.();return I(oe,{get when(){return pe(()=>e.visible!==false)()&&e.selectionBounds},get children(){var u=Ea(),y=u.firstChild;u.$$click=T,u.$$mousedown=T;var P=t;return typeof P=="function"?Ht(P,u):t=u,G(u,I(Aa,{get position(){return c()},get leftPx(){return U().arrowLeft}}),y),G(y,I(oe,{get when(){return e.status==="copied"||e.status==="fading"},get children(){var k=Fo();return G(k,I(Vt,{get tagName(){return W()},get isClickable(){return fe()},onClick:Q,onHoverChange:_}),null),G(k,I(Ta,{get hasAgent(){return e.hasAgent}}),null),k}}),null),G(y,I(oe,{get when(){return e.status==="copying"},get children(){var k=va();return G(k,I(Vt,{get tagName(){return W()},get isClickable(){return fe()},onClick:Q,onHoverChange:_,showMono:true}),null),G(k,I(zo,{get icon(){return I(nr,{size:9,class:"text-black shrink-0"})},get label(){return e.statusText??"Grabbing\u2026"}}),null),G(k,I(oe,{get when(){return pe(()=>!!e.hasAgent)()&&e.onAbort},get children(){var B=xa();return B.$$click=R=>{R.preventDefault(),R.stopPropagation(),R.stopImmediatePropagation(),e.onAbort?.();},B.$$mousedown=R=>{R.preventDefault(),R.stopPropagation(),R.stopImmediatePropagation();},G(B,I(Po,{size:8,class:"text-white"})),B}}),null),k}}),null),G(y,I(oe,{get when(){return pe(()=>!!(m()&&!A()))()&&!e.isInputExpanded},get children(){var k=Fo();return G(k,I(Vt,{get tagName(){return W()},get isClickable(){return fe()},onClick:Q,onHoverChange:_,showMono:true}),null),G(k,I(or,{onClick:b,asButton:true}),null),k}}),null),G(y,I(oe,{get when(){return pe(()=>!!(m()&&A()))()&&!e.isInputExpanded},get children(){var k=$o(),B=k.firstChild;return G(B,I(Vt,{get tagName(){return W()},get isClickable(){return fe()},onClick:Q,onHoverChange:_,showMono:true,shrink:true}),null),G(B,I(or,{onClick:b,shrink:true}),null),G(k,I(Ho,{get children(){var R=Ca(),D=R.firstChild;return G(R,I(rr,{size:10,class:"shrink-0 text-black opacity-[0.65]"}),D),R}}),null),k}}),null),G(y,I(oe,{get when(){return pe(()=>!!m())()&&e.isInputExpanded},get children(){var k=$o(),B=k.firstChild;return G(B,I(Vt,{get tagName(){return W()},get isClickable(){return fe()},onClick:Q,onHoverChange:_,showMono:true,shrink:true}),null),G(B,I(or,{onClick:b,dimmed:true,shrink:true}),null),G(k,I(Ho,{get children(){var R=Sa(),D=R.firstChild,V=D.nextSibling;D.$$keydown=K,D.$$input=se;var O=n;return typeof O=="function"?Ht(O,D):n=D,V.$$click=b,G(V,I(rr,{size:10,class:"shrink-0 text-black"})),te(()=>D.value=e.inputValue??""),R}}),null),k}}),null),te(k=>{var B=`${U().top}px`,R=`${U().left}px`,D=e.visible?"auto":"none",V=e.status==="fading"?0:1,O=m()&&(A()||e.isInputExpanded)?"0":"4px";return B!==k.e&&he(u,"top",k.e=B),R!==k.t&&he(u,"left",k.t=R),D!==k.a&&he(u,"pointer-events",k.a=D),V!==k.o&&he(u,"opacity",k.o=V),O!==k.i&&he(y,"padding",k.i=O),k},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),u}})};dn(["click","mousedown","input","keydown"]);var _a=Y('<div class="fixed z-2147483647"><button data-react-grab-selection-cursor>'),jo=e=>{let[t,n]=M(false),[r,i]=M(false);Z(()=>{let s=e.visible!==false;if(e.x,e.y,i(false),s){let l=setTimeout(()=>i(true),500);Se(()=>clearTimeout(l));}});let o=s=>{s.preventDefault(),s.stopPropagation(),e.onClick?.();};return I(oe,{get when(){return r()},get children(){return [I(oe,{get when(){return pe(()=>!!t())()&&e.elementBounds},get children(){return I(it,{variant:"selection",get bounds(){return e.elementBounds},visible:true})}}),(()=>{var s=_a(),l=s.firstChild;return s.addEventListener("mouseleave",()=>n(false)),s.addEventListener("mouseenter",()=>n(true)),l.$$click=o,te(c=>{var f=`${e.x}px`,g=`${e.y}px`,h=Pe("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 f!==c.e&&he(s,"left",c.e=f),g!==c.t&&he(s,"top",c.t=g),h!==c.a&&Oe(l,c.a=h),c},{e:void 0,t:void 0,a:void 0}),s})(),I(oe,{get when(){return pe(()=>!!t())()&&e.elementBounds},get children(){return I(St,{get tagName(){return e.tagName},get selectionBounds(){return e.elementBounds},visible:true,get onSubmit(){return e.onClick}})}})]}})};dn(["click"]);var La=(e,t=30)=>e.length<=t?e:`${e.slice(0,t)}\u2026`,Vo=e=>[I(oe,{get when(){return pe(()=>!!e.selectionVisible)()&&e.selectionBounds},get children(){return I(it,{variant:"selection",get bounds(){return e.selectionBounds},get visible(){return e.selectionVisible},get isFading(){return e.selectionLabelStatus==="fading"}})}}),I(oe,{get when(){return pe(()=>e.crosshairVisible===true&&e.mouseX!==void 0)()&&e.mouseY!==void 0},get children(){return I(Io,{get mouseX(){return e.mouseX},get mouseY(){return e.mouseY},visible:true})}}),I(oe,{get when(){return pe(()=>!!e.dragVisible)()&&e.dragBounds},get children(){return I(it,{variant:"drag",get bounds(){return e.dragBounds},get visible(){return e.dragVisible}})}}),I(Dt,{get each(){return e.grabbedBoxes??[]},children:t=>I(it,{variant:"grabbed",get bounds(){return t.bounds},get createdAt(){return t.createdAt}})}),I(Dt,{get each(){return pe(()=>!!e.agentSessions)()?Array.from(e.agentSessions.values()):[]},children:t=>[I(oe,{get when(){return t.selectionBounds},get children(){return I(it,{variant:"processing",get bounds(){return t.selectionBounds},visible:true})}}),I(St,{get tagName(){return t.tagName},get selectionBounds(){return t.selectionBounds},visible:true,hasAgent:true,get status(){return t.isStreaming?"copying":"copied"},get statusText(){return La(t.lastStatus||"Please wait\u2026")},onAbort:()=>e.onAbortSession?.(t.id)})]}),I(oe,{get when(){return pe(()=>!!e.selectionLabelVisible)()&&e.selectionBounds},get children(){return I(St,{get tagName(){return e.selectionTagName},get selectionBounds(){return e.selectionBounds},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=mn(e.selectionFilePath,e.selectionLineNumber);window.open(t,"_blank");}}})}}),I(Dt,{get each(){return e.labelInstances??[]},children:t=>I(St,{get tagName(){return t.tagName},get selectionBounds(){return t.bounds},visible:true,get status(){return t.status}})}),I(oe,{get when(){return pe(()=>!!(e.nativeSelectionCursorVisible&&e.nativeSelectionCursorX!==void 0))()&&e.nativeSelectionCursorY!==void 0},get children(){return I(jo,{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 Ko="0.5.16",hn=`bippy-${Ko}`,Go=Object.defineProperty,Na=Object.prototype.hasOwnProperty,Gt=()=>{},Yo=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=ze())=>"getFiberRoots"in e,Xo=false,Uo,Ut=(e=ze())=>Xo?true:(typeof e.inject=="function"&&(Uo=e.inject.toString()),!!Uo?.includes("(injected)")),pn=new Set,at=new Set,qo=e=>{let t=new Map,n=0,r={_instrumentationIsActive:false,_instrumentationSource:hn,checkDCE:Yo,hasUnsupportedRendererAttached:false,inject(i){let o=++n;return t.set(o,i),at.add(i),r._instrumentationIsActive||(r._instrumentationIsActive=true,pn.forEach(s=>s())),o},on:Gt,onCommitFiberRoot:Gt,onCommitFiberUnmount:Gt,onPostCommitFiberRoot:Gt,renderers:t,supportsFiber:true,supportsFlight:true};try{Go(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get(){return r},set(s){if(s&&typeof s=="object"){let l=r.renderers;r=s,l.size>0&&(l.forEach((c,f)=>{at.add(c),s.renderers.set(f,c);}),bn(e));}}});let i=window.hasOwnProperty,o=!1;Go(window,"hasOwnProperty",{configurable:!0,value:function(...s){try{if(!o&&s[0]==="__REACT_DEVTOOLS_GLOBAL_HOOK__")return globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,o=!0,-0}catch{}return i.apply(this,s)},writable:!0});}catch{bn(e);}return r},bn=e=>{try{let t=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!t)return;if(!t._instrumentationSource){t.checkDCE=Yo,t.supportsFiber=!0,t.supportsFlight=!0,t.hasUnsupportedRendererAttached=!1,t._instrumentationSource=hn,t._instrumentationIsActive=!1;let n=yn(t);if(n||(t.on=Gt),t.renderers.size){t._instrumentationIsActive=!0,pn.forEach(o=>o());return}let r=t.inject,i=Ut(t);i&&!n&&(Xo=!0,t.inject({scheduleRefresh(){}})&&(t._instrumentationIsActive=!0)),t.inject=o=>{let s=r(o);return at.add(o),i&&t.renderers.set(s,o),t._instrumentationIsActive=!0,pn.forEach(l=>l()),s};}(t.renderers.size||t._instrumentationIsActive||Ut())&&e?.();}catch{}},ir=()=>Na.call(globalThis,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),ze=e=>ir()?(bn(e),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__):qo(e),Wo=()=>!!(typeof window<"u"&&(window.document?.createElement||window.navigator?.product==="ReactNative")),sr=()=>{try{Wo()&&ze();}catch{}};sr();var wn=0,xn=1;var vn=5;var Cn=11,ar=13,Zo=14,Sn=15,lr=16;var cr=19;var En=26,kn=27,ur=28,dr=30;var Tn=e=>{switch(e.tag){case vn:case En:case kn:return true;default:return typeof e.type=="string"}},An=e=>{switch(e.tag){case xn:case Cn:case wn:case Zo:case Sn:return true;default:return false}},fr=e=>!e||typeof e!="object"?true:"pendingProps"in e&&!("containerInfo"in e);function Et(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 s=await gr(o,t,n);if(s)return s;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},gr=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 gr(r,t,n);if(i)return i;r=n?null:r.sibling;}return null};var pr=e=>{let t=e;return typeof t=="function"?t:typeof t=="object"&&t?pr(t.type||t.render):null},lt=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=pr(t);return r&&(r.displayName||r.name)||null};var Qe=()=>!!ze()._instrumentationIsActive||yn()||Ut(),Rn=e=>{let t=e.alternate;if(!t)return e;if(t.actualStartTime&&e.actualStartTime)return t.actualStartTime>e.actualStartTime?t:e;for(let n of Jo){let r=Et(n.current,i=>{if(i===e)return true});if(r)return r}return e};var Kt=e=>{let t=ze();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},Jo=new Set;var Ha=Object.create,si=Object.defineProperty,za=Object.getOwnPropertyDescriptor,ja=Object.getOwnPropertyNames,Va=Object.getPrototypeOf,Ga=Object.prototype.hasOwnProperty,Ua=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ka=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=ja(t),o=0,s=i.length,l;o<s;o++)l=i[o],!Ga.call(e,l)&&l!==n&&si(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(r=za(t,l))||r.enumerable});return e},Ya=(e,t,n)=>(n=e==null?{}:Ha(Va(e)),Ka(si(n,"default",{value:e,enumerable:true}),e)),Xa=()=>{let e=ze();for(let t of [...Array.from(at),...Array.from(e.renderers.values())]){let n=t.currentDispatcherRef;if(n&&typeof n=="object")return "H"in n?n.H:n.current}return null},Qo=e=>{for(let t of at){let n=t.currentDispatcherRef;n&&typeof n=="object"&&("H"in n?n.H=e:n.current=e);}},je=e=>`
11
+ in ${e}`,qa=(e,t)=>{let n=je(e);return t&&(n+=` (at ${t})`),n},br=false,hr=(e,t)=>{if(!e||br)return "";let n=Error.prepareStackTrace;Error.prepareStackTrace=void 0,br=true;let r=Xa();Qo(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(m){A=m;}Reflect.construct(e,[],x);}else {try{x.call();}catch(m){A=m;}e.call(x.prototype);}}else {try{throw Error()}catch(m){A=m;}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,h]=c.DetermineComponentFrameRoot();if(g&&h){let A=g.split(`
12
+ `),x=h.split(`
13
+ `),m=0,w=0;for(;m<A.length&&!A[m].includes("DetermineComponentFrameRoot");)m++;for(;w<x.length&&!x[w].includes("DetermineComponentFrameRoot");)w++;if(m===A.length||w===x.length)for(m=A.length-1,w=x.length-1;m>=1&&w>=0&&A[m]!==x[w];)w--;for(;m>=1&&w>=0;m--,w--)if(A[m]!==x[w]){if(m!==1||w!==1)do if(m--,w--,w<0||A[m]!==x[w]){let _=`
14
+ ${A[m].replace(" at new "," at ")}`,F=lt(e);return F&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",F)),_}while(m>=1&&w>=0);break}}}finally{br=false,Error.prepareStackTrace=n,Qo(r),console.error=i,console.warn=o;}let s=e?lt(e):"";return s?je(s):""},Wa=(e,t)=>{let n=e.tag,r="";switch(n){case ur:r=je("Activity");break;case xn:r=hr(e.type,true);break;case Cn:r=hr(e.type.render,false);break;case wn:case Sn:r=hr(e.type,false);break;case vn:case En:case kn:r=je(e.type);break;case lr:r=je("Lazy");break;case ar:r=e.child!==t&&t!==null?je("Suspense Fallback"):je("Suspense");break;case cr:r=je("SuspenseList");break;case dr:r=je("ViewTransition");break;default:return ""}return r},Za=e=>{try{let t="",n=e,r=null;do{t+=Wa(n,r);let i=n._debugInfo;if(i&&Array.isArray(i))for(let o=i.length-1;o>=0;o--){let s=i[o];typeof s.name=="string"&&(t+=qa(s.name,s.env));}r=n,n=n.return;}while(n);return t}catch(t){return t instanceof Error?`
15
15
  Error generating stack: ${t.message}
16
- ${t.stack}`:""}},Cs=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
16
+ ${t.stack}`:""}},Ja=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
17
17
  `)&&(n=n.slice(29));let r=n.indexOf(`
18
18
  `);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(`
19
- `,r)),r!==-1)n=n.slice(0,r);else return "";return n},Ss=/(^|@)\S+:\d+/,eo=/^\s*at .*(\S+:\d+|\(native\))/m,ks=/^(eval@)?(\[native code\])?$/;var Ts=(e,t)=>{if(t?.includeInElement!==false){let n=e.split(`
20
- `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=Xr(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({function:o,raw:i});}else if(i.match(Ss)){let o=qr(i,void 0)[0];o&&r.push(o);}return Fn(r,t)}return e.match(eo)?Xr(e,t):qr(e,t)},to=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]},Fn=(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 Xr=(e,t)=>Fn(e.split(`
21
- `).filter(r=>!!r.match(eo)),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+/,""),s=o.match(/ (\(.+\)$)/);o=s?o.replace(s[0],""):o;let a=to(s?s[1]:o),c=s&&o||void 0,l=["eval","<anonymous>"].includes(a[0])?void 0:a[0];return {function:c,file:l,line:a[1]?+a[1]:void 0,col:a[2]?+a[2]:void 0,raw:i}});var qr=(e,t)=>Fn(e.split(`
22
- `).filter(r=>!r.match(ks)),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 {function: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][^@]*)?)?[^@]*)@/,s=i.match(o),a=s&&s[1]?s[1]:void 0,c=to(i.replace(o,""));return {function:a,file:c[0],line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:i}}});var Es=gs((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+/",s=new Uint8Array(64),a=new Uint8Array(128);for(let x=0;x<o.length;x++){let p=o.charCodeAt(x);s[x]=p,a[p]=x;}function c(x,p){let d=0,w=0,T=0;do{let M=x.next();T=a[M],d|=(T&31)<<w,w+=5;}while(T&32);let P=d&1;return d>>>=1,P&&(d=-2147483648|-d),p+d}function l(x,p,d){let w=p-d;w=w<0?-w<<1|1:w<<1;do{let T=w&31;w>>>=5,w>0&&(T|=32),x.write(s[T]);}while(w>0);return p}function f(x,p){return x.pos>=p?false:x.peek()!==r}let m=1024*16,C=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(x){return Buffer.from(x.buffer,x.byteOffset,x.byteLength).toString()}}:{decode(x){let p="";for(let d=0;d<x.length;d++)p+=String.fromCharCode(x[d]);return p}};class g{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(m);}write(p){let{buffer:d}=this;d[this.pos++]=p,this.pos===m&&(this.out+=C.decode(d),this.pos=0);}flush(){let{buffer:p,out:d,pos:w}=this;return w>0?d+C.decode(p.subarray(0,w)):d}}class b{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:d,pos:w}=this,T=d.indexOf(p,w);return T===-1?d.length:T}}let v=[];function R(x){let{length:p}=x,d=new b(x),w=[],T=[],P=0;for(;d.pos<p;d.pos++){P=c(d,P);let M=c(d,0);if(!f(d,p)){let K=T.pop();K[2]=P,K[3]=M;continue}let I=c(d,0),B=c(d,0),z=B&1,O=z?[P,M,0,0,I,c(d,0)]:[P,M,0,0,I],Z=v;if(f(d,p)){Z=[];do{let K=c(d,0);Z.push(K);}while(f(d,p))}O.vars=Z,w.push(O),T.push(O);}return w}function F(x){let p=new g;for(let d=0;d<x.length;)d=E(x,d,p,[0]);return p.flush()}function E(x,p,d,w){let T=x[p],{0:P,1:M,2:I,3:B,4:z,vars:O}=T;p>0&&d.write(r),w[0]=l(d,P,w[0]),l(d,M,0),l(d,z,0);let Z=T.length===6?1:0;l(d,Z,0),T.length===6&&l(d,T[5],0);for(let K of O)l(d,K,0);for(p++;p<x.length;){let K=x[p],{0:D,1:Q}=K;if(D>I||D===I&&Q>=B)break;p=E(x,p,d,w);}return d.write(r),w[0]=l(d,I,w[0]),l(d,B,0),p}function k(x){let{length:p}=x,d=new b(x),w=[],T=[],P=0,M=0,I=0,B=0,z=0,O=0,Z=0,K=0;do{let D=d.indexOf(";"),Q=0;for(;d.pos<D;d.pos++){if(Q=c(d,Q),!f(d,D)){let ae=T.pop();ae[2]=P,ae[3]=Q;continue}let ge=c(d,0),Qe=ge&1,Ae=ge&2,$e=ge&4,at=null,be=v,xe;if(Qe){let ae=c(d,M);I=c(d,M===ae?I:0),M=ae,xe=[P,Q,0,0,ae,I];}else xe=[P,Q,0,0];if(xe.isScope=!!$e,Ae){let ae=B,ke=z;B=c(d,B);let le=ae===B;z=c(d,le?z:0),O=c(d,le&&ke===z?O:0),at=[B,z,O];}if(xe.callsite=at,f(d,D)){be=[];do{Z=P,K=Q;let ae=c(d,0),ke;if(ae<-1){ke=[[c(d,0)]];for(let le=-1;le>ae;le--){let Je=Z;Z=c(d,Z),K=c(d,Z===Je?K:0);let Ye=c(d,0);ke.push([Ye,Z,K]);}}else ke=[[ae]];be.push(ke);}while(f(d,D))}xe.bindings=be,w.push(xe),T.push(xe);}P++,d.pos=D+1;}while(d.pos<p);return w}function H(x){if(x.length===0)return "";let p=new g;for(let d=0;d<x.length;)d=q(x,d,p,[0,0,0,0,0,0,0]);return p.flush()}function q(x,p,d,w){let T=x[p],{0:P,1:M,2:I,3:B,isScope:z,callsite:O,bindings:Z}=T;w[0]<P?(ie(d,w[0],P),w[0]=P,w[1]=0):p>0&&d.write(r),w[1]=l(d,T[1],w[1]);let K=(T.length===6?1:0)|(O?2:0)|(z?4:0);if(l(d,K,0),T.length===6){let{4:D,5:Q}=T;D!==w[2]&&(w[3]=0),w[2]=l(d,D,w[2]),w[3]=l(d,Q,w[3]);}if(O){let{0:D,1:Q,2:ge}=T.callsite;D===w[4]?Q!==w[5]&&(w[6]=0):(w[5]=0,w[6]=0),w[4]=l(d,D,w[4]),w[5]=l(d,Q,w[5]),w[6]=l(d,ge,w[6]);}if(Z)for(let D of Z){D.length>1&&l(d,-D.length,0);let Q=D[0][0];l(d,Q,0);let ge=P,Qe=M;for(let Ae=1;Ae<D.length;Ae++){let $e=D[Ae];ge=l(d,$e[1],ge),Qe=l(d,$e[2],Qe),l(d,$e[0],0);}}for(p++;p<x.length;){let D=x[p],{0:Q,1:ge}=D;if(Q>I||Q===I&&ge>=B)break;p=q(x,p,d,w);}return w[0]<I?(ie(d,w[0],I),w[0]=I,w[1]=0):d.write(r),w[1]=l(d,B,w[1]),p}function ie(x,p,d){do x.write(i);while(++p<d)}function ve(x){let{length:p}=x,d=new b(x),w=[],T=0,P=0,M=0,I=0,B=0;do{let z=d.indexOf(";"),O=[],Z=true,K=0;for(T=0;d.pos<z;){let D;T=c(d,T),T<K&&(Z=false),K=T,f(d,z)?(P=c(d,P),M=c(d,M),I=c(d,I),f(d,z)?(B=c(d,B),D=[T,P,M,I,B]):D=[T,P,M,I]):D=[T],O.push(D),d.pos++;}Z||Ce(O),w.push(O),d.pos=z+1;}while(d.pos<=p);return w}function Ce(x){x.sort(Se);}function Se(x,p){return x[0]-p[0]}function we(x){let p=new g,d=0,w=0,T=0,P=0;for(let M=0;M<x.length;M++){let I=x[M];if(M>0&&p.write(i),I.length===0)continue;let B=0;for(let z=0;z<I.length;z++){let O=I[z];z>0&&p.write(r),B=l(p,O[0],B),O.length!==1&&(d=l(p,O[1],d),w=l(p,O[2],w),T=l(p,O[3],T),O.length!==4&&(P=l(p,O[4],P)));}}return p.flush()}n.decode=ve,n.decodeGeneratedRanges=k,n.decodeOriginalScopes=R,n.encode=we,n.encodeGeneratedRanges=H,n.encodeOriginalScopes=F,Object.defineProperty(n,"__esModule",{value:true});});}),no=hs(Es()),ro=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Rs=/^data:application\/json[^,]+base64,/,As=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,oo=typeof WeakRef<"u",wt=new Map,Xt=new Map,_s=e=>oo&&e instanceof WeakRef,Wr=(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 f of i)if(f[0]<=r)o=f;else break;if(!o||o.length<4)return null;let[,s,a,c]=o;if(s===void 0||a===void 0||c===void 0)return null;let l=t[s];return l?{columnNumber:c,fileName:l,lineNumber:a+1}:null},Ls=(e,t,n)=>{if(e.sections){let r=null;for(let s of e.sections)if(t>s.offset.line||t===s.offset.line&&n>=s.offset.column)r=s;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return Wr(r.map.mappings,r.map.sources,i,o)}return Wr(e.mappings,e.sources,t-1,n)},Os=(e,t)=>{let n=t.split(`
23
- `),r;for(let o=n.length-1;o>=0&&!r;o--){let s=n[o].match(As);s&&(r=s[1]||s[2]);}if(!r)return null;let i=ro.test(r);if(!(Rs.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},Ps=e=>({file:e.file,mappings:(0, no.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),Fs=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, no.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}},Zr=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(ro);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},Is=async(e,t=fetch)=>{if(!Zr(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=Os(e,n);if(!r||!Zr(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?Fs(o):Ps(o)}catch{return null}},Ns=async(e,t=true,n)=>{if(t&&wt.has(e)){let o=wt.get(e);if(o==null)return null;if(_s(o)){let s=o.deref();if(s)return s;wt.delete(e);}else return o}if(t&&Xt.has(e))return Xt.get(e);let r=Is(e,n);t&&Xt.set(e,r);let i=await r;return t&&Xt.delete(e),t&&(i===null?wt.set(e,null):wt.set(e,oo?new WeakRef(i):i)),i},Kr=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Ms=["rsc://","file:///","webpack://","node:","turbopack://","metro://"],Qr="about://React/",$s=["<anonymous>","eval",""],Ds=/\.(jsx|tsx|ts|js)$/,Hs=/(\.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,Bs=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,zs=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",js=e=>{let t=e._debugSource;return t?typeof t=="object"&&!!t&&"fileName"in t&&typeof t.fileName=="string"&&"lineNumber"in t&&typeof t.lineNumber=="number":false},io=async(e,t=true,n)=>{if(js(e))return e._debugSource||null;let r=Vs(e),i=await Gs(r,1,t,n);return !i||i.length===0?null:i[0]},Vs=e=>zs(e)?Cs(e._debugStack.stack):vs(e);var Gs=async(e,t=1,n=true,r)=>{let i=Ts(e,{slice:t??1}),o=[];for(let s of i){if(!s?.file)continue;let a=await Ns(s.file,n,r);if(a&&typeof s.line=="number"&&typeof s.col=="number"){let c=Ls(a,s.line,s.col);if(c){o.push(c);continue}}o.push({fileName:s.file,lineNumber:s.line,columnNumber:s.col,functionName:s.function});}return o},In=e=>{if(!e||$s.includes(e))return "";let t=e;if(t.startsWith(Qr)){let r=t.slice(Qr.length),i=r.indexOf("/"),o=r.indexOf(":");t=i!==-1&&(o===-1||i<o)?r.slice(i+1):r;}for(let r of Ms)if(t.startsWith(r)){t=t.slice(r.length),r==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`);break}if(Kr.test(t)){let r=t.match(Kr);r&&(t=t.slice(r[0].length));}let n=t.indexOf("?");if(n!==-1){let r=t.slice(n);Bs.test(r)&&(t=t.slice(0,n));}return t},so=e=>{let t=In(e);return !(!t||!Ds.test(t)||Hs.test(t))};var ao=e=>e.length>0&&/^[A-Z]/.test(e);var Us=["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","ErrorBoundary","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary"],Ys=()=>!!document.getElementById("__NEXT_DATA__"),lo=e=>!!(e.startsWith("_")||Us.includes(e)),Xs=e=>!(lo(e)||!ao(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),qt=e=>{if(!Ge())return null;try{let t=yt(e);if(!t)return null;let n=null;return st(t,r=>{if(Ut(r)){let i=Ke(r);if(i&&Xs(i))return n=i,!0}return !1},!0),n}catch{return null}},Wt=async e=>{if(!Ge())return [];try{let t=yt(e);if(!t||!Rn(t))return [];let n=Yt(t),r=[];return st(n,o=>{let s=Gt(o)?typeof o.type=="string"?o.type:null:Ke(o);s&&!lo(s)&&r.push({name:s,sourcePromise:io(o)});},!0),(await Promise.all(r.map(async o=>({name:o.name,source:await o.sourcePromise})))).filter(o=>o.source!==null)}catch{return []}},Zt=e=>{let t=Ys();return e.map(({name:n,source:r})=>{if(!r)return ` at ${n}`;if(r.fileName.startsWith("about://React/Server"))return ` at ${n} (Server)`;if(!so(r.fileName))return ` at ${n}`;let i=` at ${n} in ${In(r.fileName)}`;return t?`${i}:${r.lineNumber}:${r.columnNumber}`:i}).join(`
24
- `)},Kt=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 g of i){let b=g.name,v=g.value;v.length>20&&(v=`${v.slice(0,20)}...`),r+=` ${b}="${v}"`;}let o=[],s=[],a=false,c=Array.from(e.childNodes);for(let g of c)g.nodeType!==Node.COMMENT_NODE&&(g.nodeType===Node.TEXT_NODE?g.textContent&&g.textContent.trim().length>0&&(a=true):g instanceof Element&&(a?s.push(g):o.push(g)));let l=g=>g.length===0?"":g.length<=2?g.map(b=>`<${b.tagName.toLowerCase()} ...>`).join(`
25
- `):`(${g.length} elements)`,f="",m=l(o);if(m&&(f+=`
26
- ${m}`),n.length>0){let g=n.length>100?`${n.slice(0,100)}...`:n;f+=`
27
- ${g}`;}let C=l(s);return C&&(f+=`
28
- ${C}`),f.length>0?`<${t}${r}>${f}
29
- </${t}>`:`<${t}${r} />`};var qs=()=>document.hasFocus()?new Promise(e=>setTimeout(e,50)):new Promise(e=>{let t=()=>{window.removeEventListener("focus",t),setTimeout(e,50);};window.addEventListener("focus",t),window.focus();}),Qt=async(e,t)=>{await qs();try{try{return await navigator.clipboard.writeText(e),t?.(),!0}catch{return Ws(e,t)}}catch{return false}},Ws=(e,t)=>{if(!document.execCommand)return false;let n=document.createElement("textarea");n.value=String(e),n.style.clipPath="inset(50%)",n.ariaHidden="true",(document.body||document.documentElement).append(n);try{n.select();let i=document.execCommand("copy");return i&&t?.(),i}finally{n.remove();}};var co=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var xt=e=>{if(e.closest(`[${nt}]`))return false;let t=window.getComputedStyle(e);return !(!co(e,t)||t.pointerEvents==="none")};var Nn=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(xt(r))return r;return null};var Zs=(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),s=Math.max(0,i-n),a=Math.max(0,o-r);return s*a},Ks=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,uo=(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 s of i){if(!n){let l=(s.tagName||"").toUpperCase();if(l==="HTML"||l==="BODY")continue}if(!t(s))continue;let a=s.getBoundingClientRect(),c={left:a.left,top:a.top,right:a.left+a.width,bottom:a.top+a.height};if(n){let l=Zs(o,c),f=Math.max(0,a.width*a.height);f>0&&l/f>=.75&&r.push(s);}else Ks(c,o)&&r.push(s);}return r},fo=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),mo=(e,t)=>{let n=uo(e,t,true);return fo(n)},po=(e,t)=>{let n=uo(e,t,false);return fo(n)};var Qs=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),Js=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return Qs(n)?n:null},go=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=Js(i);if(o===null)return null;r.push(o);}return r},ea=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,ta=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,Jt=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=go(r[1],16);if(o&&o.length===16){let s=[...o];return s[12]=0,s[13]=0,s[14]=0,ta(s)?"none":`matrix3d(${s.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=go(i[1],6);if(o&&o.length===6){let[s,a,c,l]=o;return ea(s,a,c,l)?"none":`matrix(${s}, ${a}, ${c}, ${l}, 0, 0)`}}return "none"}catch{return "none"}};var en=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:Jt(e),width:t.width,x:t.left,y:t.top}};var W={enabled:true,hue:0,selectionBox:{enabled:true,color:void 0,borderRadius:void 0},dragBox:{enabled:true,color:void 0},grabbedBoxes:{enabled:true,color:void 0},elementLabel:{enabled:true,backgroundColor:void 0,textColor:void 0,borderColor:void 0,padding:void 0,cursorOffset:void 0},successLabels:{enabled:true},crosshair:{enabled:true,color:void 0},inputOverlay:{enabled:true}},bo=e=>e?{enabled:e.enabled??W.enabled,hue:e.hue??W.hue,selectionBox:{enabled:e.selectionBox?.enabled??W.selectionBox.enabled,color:e.selectionBox?.color??W.selectionBox.color,borderRadius:e.selectionBox?.borderRadius??W.selectionBox.borderRadius},dragBox:{enabled:e.dragBox?.enabled??W.dragBox.enabled,color:e.dragBox?.color??W.dragBox.color},grabbedBoxes:{enabled:e.grabbedBoxes?.enabled??W.grabbedBoxes.enabled,color:e.grabbedBoxes?.color??W.grabbedBoxes.color},elementLabel:{enabled:e.elementLabel?.enabled??W.elementLabel.enabled,backgroundColor:e.elementLabel?.backgroundColor??W.elementLabel.backgroundColor,textColor:e.elementLabel?.textColor??W.elementLabel.textColor,borderColor:e.elementLabel?.borderColor??W.elementLabel.borderColor,padding:e.elementLabel?.padding??W.elementLabel.padding,cursorOffset:e.elementLabel?.cursorOffset??W.elementLabel.cursorOffset},successLabels:{enabled:e.successLabels?.enabled??W.successLabels.enabled},crosshair:{enabled:e.crosshair?.enabled??W.crosshair.enabled,color:e.crosshair?.color??W.crosshair.color},inputOverlay:{enabled:e.inputOverlay?.enabled??W.inputOverlay.enabled}}:W,ho=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled,color:t.selectionBox?.color??e.selectionBox.color,borderRadius:t.selectionBox?.borderRadius??e.selectionBox.borderRadius},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled,color:t.dragBox?.color??e.dragBox.color},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled,color:t.grabbedBoxes?.color??e.grabbedBoxes.color},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled,backgroundColor:t.elementLabel?.backgroundColor??e.elementLabel.backgroundColor,textColor:t.elementLabel?.textColor??e.elementLabel.textColor,borderColor:t.elementLabel?.borderColor??e.elementLabel.borderColor,padding:t.elementLabel?.padding??e.elementLabel.padding,cursorOffset:t.elementLabel?.cursorOffset??e.elementLabel.cursorOffset},successLabels:{enabled:t.successLabels?.enabled??e.successLabels.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled,color:t.crosshair?.color??e.crosshair.color},inputOverlay:{enabled:t.inputOverlay?.enabled??e.inputOverlay.enabled}});var yo=re('<span class="font-mono tabular-nums align-middle">1 element'),wo=re('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),oa=re('<span class="tabular-nums text-[10px] ml-1 align-middle"> in '),xo=false,Mn=e=>{let t={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,...e},n=bo(t.theme);return t.enabled===false||xo?{activate:()=>{},deactivate:()=>{},toggle:()=>{},isActive:()=>false,dispose:()=>{},copyElement:()=>Promise.resolve(false),getState:()=>({isActive:false,isDragging:false,isCopying:false,targetElement:null,dragBounds:null}),updateTheme:()=>{},getTheme:()=>n}:(xo=true,(()=>{try{let i="0.0.53",s=`data:image/svg+xml;base64,${btoa('<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>')}`;console.log(`%cReact Grab${i?` v${i}`:""}%c
30
- https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${s}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&i&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(a=>a.text()).then(a=>{a&&a!==i&&console.warn(`[React Grab] v${i} is outdated (latest: v${a})`);}).catch(()=>null);}catch{}})(),We(i=>{let[o,s]=L(n),[a,c]=L(false),[l,f]=L(-1e3),[m,C]=L(-1e3),[g,b]=L(false),[v,R]=L(-1e3),[F,E]=L(-1e3),[k,H]=L(false),[q,ie]=L(null),[ve,Ce]=L(null),[Se,we]=L(0),[x,p]=L([]),[d,w]=L([]),[T,P]=L(false),[M,I]=L(false),[B,z]=L(false),[O,Z]=L(false),[K,D]=L(-1e3),[Q,ge]=L(-1e3),[Qe,Ae]=L(false),[$e,at]=L(0),[be,xe]=L(false),[ae,ke]=L(""),le=null,Je=null,Ye=null,Te=null,_e=null,Xe=null,De=G(()=>T()&&!k()),Co=G(()=>l()>-1e3&&m()>-1e3),So=u=>(u.metaKey||u.ctrlKey)&&u.code==="KeyC",$n=(u,h)=>({top:h<25,bottom:h>window.innerHeight-25,left:u<25,right:u>window.innerWidth-25}),Dn=(u,h)=>{let S=`grabbed-${Date.now()}-${Math.random()}`,A=Date.now(),X={id:S,bounds:u,createdAt:A,element:h},oe=x();p([...oe,X]),setTimeout(()=>{p(fe=>fe.filter(Y=>Y.id!==S));},1700);},Hn=u=>{let h=`success-${Date.now()}-${Math.random()}`;w(S=>[...S,{id:h,text:u}]),setTimeout(()=>{w(S=>S.filter(A=>A.id!==h));},1700);},ko=u=>`<selected_element>
31
- ${u}
32
- </selected_element>`,on=u=>(u.tagName||"").toLowerCase(),To=u=>{let h=on(u);return h?`<${h}>`:"1 element"},Bn=u=>{try{let h=u.map(S=>({tagName:on(S)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:h}}));}catch{}},vt=async(u,h,S)=>{D(u),ge(h),H(true),Lo(),await S().finally(()=>{H(false),Ct(),M()&&Ee();});},Eo=u=>"innerText"in u,Ro=u=>Eo(u)?u.innerText:u.textContent??"",zn=u=>u.map(h=>Ro(h).trim()).filter(h=>h.length>0).join(`
19
+ `,r)),r!==-1)n=n.slice(0,r);else return "";return n},Qa=/(^|@)\S+:\d+/,ai=/^\s*at .*(\S+:\d+|\(native\))/m,el=/^(eval@)?(\[native code\])?$/;var tl=(e,t)=>{if(t?.includeInElement!==false){let n=e.split(`
20
+ `),r=[];for(let i of n)if(/^\s*at\s+/.test(i)){let o=ei(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({function:o,raw:i});}else if(i.match(Qa)){let o=ti(i,void 0)[0];o&&r.push(o);}return yr(r,t)}return e.match(ai)?ei(e,t):ti(e,t)},li=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]},yr=(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 ei=(e,t)=>yr(e.split(`
21
+ `).filter(r=>!!r.match(ai)),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+/,""),s=o.match(/ (\(.+\)$)/);o=s?o.replace(s[0],""):o;let l=li(s?s[1]:o),c=s&&o||void 0,f=["eval","<anonymous>"].includes(l[0])?void 0:l[0];return {function:c,file:f,line:l[1]?+l[1]:void 0,col:l[2]?+l[2]:void 0,raw:i}});var ti=(e,t)=>yr(e.split(`
22
+ `).filter(r=>!r.match(el)),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 {function: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][^@]*)?)?[^@]*)@/,s=i.match(o),l=s&&s[1]?s[1]:void 0,c=li(i.replace(o,""));return {function:l,file:c[0],line:c[1]?+c[1]:void 0,col:c[2]?+c[2]:void 0,raw:i}}});var nl=Ua((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+/",s=new Uint8Array(64),l=new Uint8Array(128);for(let T=0;T<o.length;T++){let b=o.charCodeAt(T);s[T]=b,l[b]=T;}function c(T,b){let u=0,y=0,P=0;do{let B=T.next();P=l[B],u|=(P&31)<<y,y+=5;}while(P&32);let k=u&1;return u>>>=1,k&&(u=-2147483648|-u),b+u}function f(T,b,u){let y=b-u;y=y<0?-y<<1|1:y<<1;do{let P=y&31;y>>>=5,y>0&&(P|=32),T.write(s[P]);}while(y>0);return b}function g(T,b){return T.pos>=b?false:T.peek()!==r}let h=1024*16,A=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(T){return Buffer.from(T.buffer,T.byteOffset,T.byteLength).toString()}}:{decode(T){let b="";for(let u=0;u<T.length;u++)b+=String.fromCharCode(T[u]);return b}};class x{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(h);}write(b){let{buffer:u}=this;u[this.pos++]=b,this.pos===h&&(this.out+=A.decode(u),this.pos=0);}flush(){let{buffer:b,out:u,pos:y}=this;return y>0?u+A.decode(b.subarray(0,y)):u}}class m{constructor(b){this.pos=0,this.buffer=b;}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(b){let{buffer:u,pos:y}=this,P=u.indexOf(b,y);return P===-1?u.length:P}}let w=[];function _(T){let{length:b}=T,u=new m(T),y=[],P=[],k=0;for(;u.pos<b;u.pos++){k=c(u,k);let B=c(u,0);if(!g(u,b)){let ae=P.pop();ae[2]=k,ae[3]=B;continue}let R=c(u,0),D=c(u,0),V=D&1,O=V?[k,B,0,0,R,c(u,0)]:[k,B,0,0,R],J=w;if(g(u,b)){J=[];do{let ae=c(u,0);J.push(ae);}while(g(u,b))}O.vars=J,y.push(O),P.push(O);}return y}function F(T){let b=new x;for(let u=0;u<T.length;)u=v(T,u,b,[0]);return b.flush()}function v(T,b,u,y){let P=T[b],{0:k,1:B,2:R,3:D,4:V,vars:O}=P;b>0&&u.write(r),y[0]=f(u,k,y[0]),f(u,B,0),f(u,V,0);let J=P.length===6?1:0;f(u,J,0),P.length===6&&f(u,P[5],0);for(let ae of O)f(u,ae,0);for(b++;b<T.length;){let ae=T[b],{0:X,1:ce}=ae;if(X>R||X===R&&ce>=D)break;b=v(T,b,u,y);}return u.write(r),y[0]=f(u,R,y[0]),f(u,D,0),b}function L(T){let{length:b}=T,u=new m(T),y=[],P=[],k=0,B=0,R=0,D=0,V=0,O=0,J=0,ae=0;do{let X=u.indexOf(";"),ce=0;for(;u.pos<X;u.pos++){if(ce=c(u,ce),!g(u,X)){let be=P.pop();be[2]=k,be[3]=ce;continue}let Te=c(u,0),dt=Te&1,Ne=Te&2,Ge=Te&4,de=null,_e=w,Me;if(dt){let be=c(u,B);R=c(u,B===be?R:0),B=be,Me=[k,ce,0,0,be,R];}else Me=[k,ce,0,0];if(Me.isScope=!!Ge,Ne){let be=D,Ue=V;D=c(u,D);let Fe=be===D;V=c(u,Fe?V:0),O=c(u,Fe&&Ue===V?O:0),de=[D,V,O];}if(Me.callsite=de,g(u,X)){_e=[];do{J=k,ae=ce;let be=c(u,0),Ue;if(be<-1){Ue=[[c(u,0)]];for(let Fe=-1;Fe>be;Fe--){let Zt=J;J=c(u,J),ae=c(u,J===Zt?ae:0);let Jt=c(u,0);Ue.push([Jt,J,ae]);}}else Ue=[[be]];_e.push(Ue);}while(g(u,X))}Me.bindings=_e,y.push(Me),P.push(Me);}k++,u.pos=X+1;}while(u.pos<b);return y}function N(T){if(T.length===0)return "";let b=new x;for(let u=0;u<T.length;)u=U(T,u,b,[0,0,0,0,0,0,0]);return b.flush()}function U(T,b,u,y){let P=T[b],{0:k,1:B,2:R,3:D,isScope:V,callsite:O,bindings:J}=P;y[0]<k?(K(u,y[0],k),y[0]=k,y[1]=0):b>0&&u.write(r),y[1]=f(u,P[1],y[1]);let ae=(P.length===6?1:0)|(O?2:0)|(V?4:0);if(f(u,ae,0),P.length===6){let{4:X,5:ce}=P;X!==y[2]&&(y[3]=0),y[2]=f(u,X,y[2]),y[3]=f(u,ce,y[3]);}if(O){let{0:X,1:ce,2:Te}=P.callsite;X===y[4]?ce!==y[5]&&(y[6]=0):(y[5]=0,y[6]=0),y[4]=f(u,X,y[4]),y[5]=f(u,ce,y[5]),y[6]=f(u,Te,y[6]);}if(J)for(let X of J){X.length>1&&f(u,-X.length,0);let ce=X[0][0];f(u,ce,0);let Te=k,dt=B;for(let Ne=1;Ne<X.length;Ne++){let Ge=X[Ne];Te=f(u,Ge[1],Te),dt=f(u,Ge[2],dt),f(u,Ge[0],0);}}for(b++;b<T.length;){let X=T[b],{0:ce,1:Te}=X;if(ce>R||ce===R&&Te>=D)break;b=U(T,b,u,y);}return y[0]<R?(K(u,y[0],R),y[0]=R,y[1]=0):u.write(r),y[1]=f(u,D,y[1]),b}function K(T,b,u){do T.write(i);while(++b<u)}function se(T){let{length:b}=T,u=new m(T),y=[],P=0,k=0,B=0,R=0,D=0;do{let V=u.indexOf(";"),O=[],J=true,ae=0;for(P=0;u.pos<V;){let X;P=c(u,P),P<ae&&(J=false),ae=P,g(u,V)?(k=c(u,k),B=c(u,B),R=c(u,R),g(u,V)?(D=c(u,D),X=[P,k,B,R,D]):X=[P,k,B,R]):X=[P],O.push(X),u.pos++;}J||W(O),y.push(O),u.pos=V+1;}while(u.pos<=b);return y}function W(T){T.sort(Q);}function Q(T,b){return T[0]-b[0]}function fe(T){let b=new x,u=0,y=0,P=0,k=0;for(let B=0;B<T.length;B++){let R=T[B];if(B>0&&b.write(i),R.length===0)continue;let D=0;for(let V=0;V<R.length;V++){let O=R[V];V>0&&b.write(r),D=f(b,O[0],D),O.length!==1&&(u=f(b,O[1],u),y=f(b,O[2],y),P=f(b,O[3],P),O.length!==4&&(k=f(b,O[4],k)));}}return b.flush()}n.decode=se,n.decodeGeneratedRanges=L,n.decodeOriginalScopes=_,n.encode=fe,n.encodeGeneratedRanges=N,n.encodeOriginalScopes=F,Object.defineProperty(n,"__esModule",{value:true});});}),ci=Ya(nl()),ui=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,rl=/^data:application\/json[^,]+base64,/,ol=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,di=typeof WeakRef<"u",Yt=new Map,_n=new Map,il=e=>di&&e instanceof WeakRef,ni=(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[,s,l,c]=o;if(s===void 0||l===void 0||c===void 0)return null;let f=t[s];return f?{columnNumber:c,fileName:f,lineNumber:l+1}:null},sl=(e,t,n)=>{if(e.sections){let r=null;for(let s of e.sections)if(t>s.offset.line||t===s.offset.line&&n>=s.offset.column)r=s;else break;if(!r)return null;let i=t-r.offset.line,o=t===r.offset.line?n-r.offset.column:n;return ni(r.map.mappings,r.map.sources,i,o)}return ni(e.mappings,e.sources,t-1,n)},al=(e,t)=>{let n=t.split(`
23
+ `),r;for(let o=n.length-1;o>=0&&!r;o--){let s=n[o].match(ol);s&&(r=s[1]||s[2]);}if(!r)return null;let i=ui.test(r);if(!(rl.test(r)||i||r.startsWith("/"))){let o=e.split("/");o[o.length-1]=r,r=o.join("/");}return r},ll=e=>({file:e.file,mappings:(0, ci.decode)(e.mappings),names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,version:3}),cl=e=>{let t=e.sections.map(({map:r,offset:i})=>({map:{...r,mappings:(0, ci.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}},ri=e=>{if(!e)return false;let t=e.trim();if(!t)return false;let n=t.match(ui);if(!n)return true;let r=n[0].toLowerCase();return r==="http:"||r==="https:"},ul=async(e,t=fetch)=>{if(!ri(e))return null;let n;try{n=await(await t(e)).text();}catch{return null}if(!n)return null;let r=al(e,n);if(!r||!ri(r))return null;try{let i=await t(r),o=await i.json();return "sections"in o?cl(o):ll(o)}catch{return null}},dl=async(e,t=true,n)=>{if(t&&Yt.has(e)){let o=Yt.get(e);if(o==null)return null;if(il(o)){let s=o.deref();if(s)return s;Yt.delete(e);}else return o}if(t&&_n.has(e))return _n.get(e);let r=ul(e,n);t&&_n.set(e,r);let i=await r;return t&&_n.delete(e),t&&(i===null?Yt.set(e,null):Yt.set(e,di?new WeakRef(i):i)),i},oi=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,fl=["rsc://","file:///","webpack://","node:","turbopack://","metro://"],ii="about://React/",ml=["<anonymous>","eval",""],gl=/\.(jsx|tsx|ts|js)$/,pl=/(\.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,bl=/^\?[\w~.\-]+(?:=[^&#]*)?(?:&[\w~.\-]+(?:=[^&#]*)?)*$/,hl=e=>e._debugStack instanceof Error&&typeof e._debugStack?.stack=="string",yl=e=>{let t=e._debugSource;return t?typeof t=="object"&&!!t&&"fileName"in t&&typeof t.fileName=="string"&&"lineNumber"in t&&typeof t.lineNumber=="number":false},fi=async(e,t=true,n)=>{if(yl(e))return e._debugSource||null;let r=wl(e),i=await xl(r,1,t,n);return !i||i.length===0?null:i[0]},wl=e=>hl(e)?Ja(e._debugStack.stack):Za(e);var xl=async(e,t=1,n=true,r)=>{let i=tl(e,{slice:t??1}),o=[];for(let s of i){if(!s?.file)continue;let l=await dl(s.file,n,r);if(l&&typeof s.line=="number"&&typeof s.col=="number"){let c=sl(l,s.line,s.col);if(c){o.push(c);continue}}o.push({fileName:s.file,lineNumber:s.line,columnNumber:s.col,functionName:s.function});}return o},kt=e=>{if(!e||ml.includes(e))return "";let t=e;if(t.startsWith(ii)){let r=t.slice(ii.length),i=r.indexOf("/"),o=r.indexOf(":");t=i!==-1&&(o===-1||i<o)?r.slice(i+1):r;}for(let r of fl)if(t.startsWith(r)){t=t.slice(r.length),r==="file:///"&&(t=`/${t.replace(/^\/+/,"")}`);break}if(oi.test(t)){let r=t.match(oi);r&&(t=t.slice(r[0].length));}let n=t.indexOf("?");if(n!==-1){let r=t.slice(n);bl.test(r)&&(t=t.slice(0,n));}return t},Xt=e=>{let t=kt(e);return !(!t||!gl.test(t)||pl.test(t))};var mi=e=>e.length>0&&/^[A-Z]/.test(e);var vl=["InnerLayoutRouter","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","LoadingBoundary","ErrorBoundary","InnerScrollAndFocusHandler","ScrollAndFocusHandler","RenderFromTemplateContext","OuterLayoutRouter","body","html","RedirectErrorBoundary","RedirectBoundary","HTTPAccessFallbackErrorBoundary","HTTPAccessFallbackBoundary","DevRootHTTPAccessFallbackBoundary","AppDevOverlayErrorBoundary","AppDevOverlay","HotReload","Router","ErrorBoundaryHandler","ErrorBoundary","AppRouter","ServerRoot","SegmentStateProvider","RootErrorBoundary"],Cl=()=>!!document.getElementById("__NEXT_DATA__"),gi=e=>!!(e.startsWith("_")||vl.includes(e)),pi=e=>!(gi(e)||!mi(e)||e.startsWith("Primitive.")||e.includes("Provider")&&e.includes("Context")),qt=e=>{if(!Qe())return null;try{let t=Kt(e);if(!t)return null;let n=null;return Et(t,r=>{if(An(r)){let i=lt(r);if(i&&pi(i))return n=i,!0}return !1},!0),n}catch{return null}},Tt=async e=>{if(!Qe())return [];try{let t=Kt(e);if(!t||!fr(t))return [];let n=Rn(t),r=[];return Et(n,o=>{let s=Tn(o)?typeof o.type=="string"?o.type:null:lt(o);s&&!gi(s)&&r.push({name:s,sourcePromise:fi(o)});},!0),(await Promise.all(r.map(async o=>({name:o.name,source:await o.sourcePromise})))).filter(o=>o.source!==null)}catch{return []}},At=async e=>{let t=Sl(e),n=await Tt(e),r=Cl(),i=null,o=null,s=null,l=null,c=null;for(let g of n)if(g.source){if(g.source.fileName.startsWith("about://React/Server")){i||(i=g.name);continue}if(Xt(g.source.fileName)&&(s||(s=kt(g.source.fileName),l=g.source.lineNumber??null,c=g.source.columnNumber??null),!o&&pi(g.name)&&(o=g.name),s&&o))break}if(!o||!s)return t;let f=`${t}
24
+ in ${o} at ${s}`;return r&&l&&c&&(f+=`:${l}:${c}`),i&&(f+=` (via Server: ${i})`),f},wr=e=>{for(let t of e)if(t.source&&Xt(t.source.fileName))return kt(t.source.fileName);return null},Sl=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 m=x.name,w=x.value;w.length>20&&(w=`${w.slice(0,20)}...`),r+=` ${m}="${w}"`;}let o=[],s=[],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?s.push(x):o.push(x)));let f=x=>x.length===0?"":x.length<=2?x.map(m=>`<${m.tagName.toLowerCase()} ...>`).join(`
25
+ `):`(${x.length} elements)`,g="",h=f(o);if(h&&(g+=`
26
+ ${h}`),n.length>0){let x=n.length>100?`${n.slice(0,100)}...`:n;g+=`
27
+ ${x}`;}let A=f(s);return A&&(g+=`
28
+ ${A}`),g.length>0?`<${t}${r}>${g}
29
+ </${t}>`:`<${t}${r} />`};var El=()=>document.hasFocus()?new Promise(e=>setTimeout(e,50)):new Promise(e=>{let t=()=>{window.removeEventListener("focus",t),setTimeout(e,50);};window.addEventListener("focus",t),window.focus();}),Wt=async(e,t)=>{await El();try{try{return await navigator.clipboard.writeText(e),t?.(),!0}catch{return kl(e,t)}}catch{return false}},kl=(e,t)=>{if(!document.execCommand)return false;let n=document.createElement("textarea");n.value=String(e),n.style.clipPath="inset(50%)",n.ariaHidden="true",(document.body||document.documentElement).append(n);try{n.select();let i=document.execCommand("copy");return i&&t?.(),i}finally{n.remove();}};var bi=(e,t=window.getComputedStyle(e))=>t.display!=="none"&&t.visibility!=="hidden"&&t.opacity!=="0";var Rt=e=>{if(e.closest(`[${xt}]`))return false;let t=window.getComputedStyle(e);return !(!bi(e,t)||t.pointerEvents==="none")};var xr=(e,t)=>{let n=document.elementsFromPoint(e,t);for(let r of n)if(Rt(r))return r;return null};var Tl=(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),s=Math.max(0,i-n),l=Math.max(0,o-r);return s*l},Al=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top,hi=(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 s of i){if(!n){let f=(s.tagName||"").toUpperCase();if(f==="HTML"||f==="BODY")continue}if(!t(s))continue;let l=s.getBoundingClientRect(),c={left:l.left,top:l.top,right:l.left+l.width,bottom:l.top+l.height};if(n){let f=Tl(o,c),g=Math.max(0,l.width*l.height);g>0&&f/g>=.75&&r.push(s);}else Al(c,o)&&r.push(s);}return r},yi=e=>e.filter(t=>!e.some(n=>n!==t&&n.contains(t))),wi=(e,t)=>{let n=hi(e,t,true);return yi(n)},xi=(e,t)=>{let n=hi(e,t,false);return yi(n)};var Rl=e=>typeof e=="number"&&!Number.isNaN(e)&&Number.isFinite(e),_l=e=>{let t=e.trim();if(!t)return null;let n=parseFloat(t);return Rl(n)?n:null},vi=(e,t)=>{let n=e.split(",");if(n.length!==t)return null;let r=[];for(let i of n){let o=_l(i);if(o===null)return null;r.push(o);}return r},Ll=(e,t,n,r)=>e===1&&t===0&&n===0&&r===1,Nl=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,et=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=vi(r[1],16);if(o&&o.length===16){let s=[...o];return s[12]=0,s[13]=0,s[14]=0,Nl(s)?"none":`matrix3d(${s.join(", ")})`}}let i=n.match(/^matrix\(([^)]+)\)$/);if(i){let o=vi(i[1],6);if(o&&o.length===6){let[s,l,c,f]=o;return Ll(s,l,c,f)?"none":`matrix(${s}, ${l}, ${c}, ${f}, 0, 0)`}}return "none"}catch{return "none"}};var ct=e=>{let t=e.getBoundingClientRect();return {borderRadius:window.getComputedStyle(e).borderRadius||"0px",height:t.height,transform:et(e),width:t.width,x:t.left,y:t.top}};var Il=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"]),Ln=(e,t)=>t==="KeyC"?true:!e||e.length!==1?false:Il.has(e);var vr=(e,t)=>{let n=e.toLowerCase();return t.startsWith("Key")?t.slice(3).toLowerCase()===n:t.startsWith("Digit")?t.slice(5)===n:false},Ci=(e,t)=>{if(t.activationShortcut)return t.activationShortcut(e);if(t.activationKey){let{key:n,metaKey:r,ctrlKey:i,shiftKey:o,altKey:s}=t.activationKey;if(!n){if(!gn.includes(e.key))return false;let h=r?e.metaKey||e.key==="Meta":true,A=i?e.ctrlKey||e.key==="Control":true,x=o?e.shiftKey||e.key==="Shift":true,m=s?e.altKey||e.key==="Alt":true,w=h&&A&&x&&m,_=[r,i,o,s].filter(Boolean).length,F=[e.metaKey||e.key==="Meta",e.ctrlKey||e.key==="Control",e.shiftKey||e.key==="Shift",e.altKey||e.key==="Alt"].filter(Boolean).length;return w&&F>=_}let c=e.key.toLowerCase()===n.toLowerCase()||vr(n,e.code),g=r||i||o||s?(r?e.metaKey:true)&&(i?e.ctrlKey:true)&&(o?e.shiftKey:true)&&(s?e.altKey:true):e.metaKey||e.ctrlKey;return c&&g}return (e.metaKey||e.ctrlKey)&&Ln(e.key,e.code)};var Ve=(e,t)=>e.composedPath().some(n=>n instanceof HTMLElement&&n.hasAttribute(t));var ue={enabled:true,hue:0,selectionBox:{enabled:true,color:void 0,borderRadius:void 0},dragBox:{enabled:true,color:void 0},grabbedBoxes:{enabled:true,color:void 0},elementLabel:{enabled:true,backgroundColor:void 0,textColor:void 0,borderColor:void 0,padding:void 0,cursorOffset:void 0},successLabels:{enabled:true},crosshair:{enabled:true,color:void 0},inputOverlay:{enabled:true}},Si=e=>e?{enabled:e.enabled??ue.enabled,hue:e.hue??ue.hue,selectionBox:{enabled:e.selectionBox?.enabled??ue.selectionBox.enabled,color:e.selectionBox?.color??ue.selectionBox.color,borderRadius:e.selectionBox?.borderRadius??ue.selectionBox.borderRadius},dragBox:{enabled:e.dragBox?.enabled??ue.dragBox.enabled,color:e.dragBox?.color??ue.dragBox.color},grabbedBoxes:{enabled:e.grabbedBoxes?.enabled??ue.grabbedBoxes.enabled,color:e.grabbedBoxes?.color??ue.grabbedBoxes.color},elementLabel:{enabled:e.elementLabel?.enabled??ue.elementLabel.enabled,backgroundColor:e.elementLabel?.backgroundColor??ue.elementLabel.backgroundColor,textColor:e.elementLabel?.textColor??ue.elementLabel.textColor,borderColor:e.elementLabel?.borderColor??ue.elementLabel.borderColor,padding:e.elementLabel?.padding??ue.elementLabel.padding,cursorOffset:e.elementLabel?.cursorOffset??ue.elementLabel.cursorOffset},successLabels:{enabled:e.successLabels?.enabled??ue.successLabels.enabled},crosshair:{enabled:e.crosshair?.enabled??ue.crosshair.enabled,color:e.crosshair?.color??ue.crosshair.color},inputOverlay:{enabled:e.inputOverlay?.enabled??ue.inputOverlay.enabled}}:ue,Ei=(e,t)=>({enabled:t.enabled??e.enabled,hue:t.hue??e.hue,selectionBox:{enabled:t.selectionBox?.enabled??e.selectionBox.enabled,color:t.selectionBox?.color??e.selectionBox.color,borderRadius:t.selectionBox?.borderRadius??e.selectionBox.borderRadius},dragBox:{enabled:t.dragBox?.enabled??e.dragBox.enabled,color:t.dragBox?.color??e.dragBox.color},grabbedBoxes:{enabled:t.grabbedBoxes?.enabled??e.grabbedBoxes.enabled,color:t.grabbedBoxes?.color??e.grabbedBoxes.color},elementLabel:{enabled:t.elementLabel?.enabled??e.elementLabel.enabled,backgroundColor:t.elementLabel?.backgroundColor??e.elementLabel.backgroundColor,textColor:t.elementLabel?.textColor??e.elementLabel.textColor,borderColor:t.elementLabel?.borderColor??e.elementLabel.borderColor,padding:t.elementLabel?.padding??e.elementLabel.padding,cursorOffset:t.elementLabel?.cursorOffset??e.elementLabel.cursorOffset},successLabels:{enabled:t.successLabels?.enabled??e.successLabels.enabled},crosshair:{enabled:t.crosshair?.enabled??e.crosshair.enabled,color:t.crosshair?.color??e.crosshair.color},inputOverlay:{enabled:t.inputOverlay?.enabled??e.inputOverlay.enabled}});var Cr="react-grab:agent-sessions",Ml=()=>`session-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,ki=(e,t,n,r)=>({id:Ml(),context:e,lastStatus:"",isStreaming:true,createdAt:Date.now(),position:t,selectionBounds:n,tagName:r}),Sr=e=>e||null,ut=new Map,Nn=(e,t)=>{let n=Sr(t);if(!n){ut.clear(),e.forEach((r,i)=>ut.set(i,r));return}try{let r=Object.fromEntries(e);n.setItem(Cr,JSON.stringify(r));}catch{ut.clear(),e.forEach((r,i)=>ut.set(i,r));}},Er=(e,t)=>{let n=In(t);n.set(e.id,e),Nn(n,t);},In=e=>{let t=Sr(e);if(!t)return new Map(ut);try{let n=t.getItem(Cr);if(!n)return new Map;let r=JSON.parse(n);return new Map(Object.entries(r))}catch{return new Map}};var Mn=e=>{let t=Sr(e);if(!t){ut.clear();return}try{t.removeItem(Cr);}catch{ut.clear();}},Ti=(e,t)=>{let n=In(t);n.delete(e),Nn(n,t);},On=(e,t,n)=>{let r={...e,...t};return Er(r,n),r};var Pn=async e=>{let n=(await Promise.allSettled(e.map(r=>At(r)))).map(r=>r.status==="fulfilled"?r.value:"").filter(r=>r.trim());return n.length===0?"":n.join(`
33
30
 
34
- `),sn=async(u,h)=>{let S=false,A="",X=Ge();try{await t.onBeforeCopy?.(u);}catch{}try{let fe=(await Promise.allSettled(u.map(async Y=>{let Le=Kt(Y);if(!X)return `## HTML Frame:
35
- ${Le}`;let ln=await Wt(Y),Kn=Zt(ln);return Kn?`## HTML Frame:
36
- ${Le}
31
+ `)};var Ai=e=>{let[t,n]=M(new Map),r=new Map,i=new Map,o=()=>t().size>0,s=async(m,w)=>{let _=e?.storage,F=false,v=false,L=false;try{for await(let K of w){let W=t().get(m.id);if(!W)break;let Q=On(W,{lastStatus:K},_);n(fe=>new Map(fe).set(m.id,Q)),e?.onStatus?.(K,Q);}F=!0;let U=t().get(m.id);if(U){let K=On(U,{isStreaming:!1},_);n(se=>new Map(se).set(m.id,K)),e?.onComplete?.(K);}}catch(N){let K=t().get(m.id);if(N instanceof Error&&N.name==="AbortError"){if(v=true,K){let se=i.get(m.id);e?.onAbort?.(K,se);}}else if(L=true,K){let se=N instanceof Error?N.message:"Unknown error",W=On(K,{lastStatus:`Error: ${se}`,isStreaming:false},_);n(Q=>new Map(Q).set(m.id,W)),N instanceof Error&&e?.onError?.(N,W);}}finally{r.delete(m.id);let N=()=>{i.delete(m.id),Ti(m.id,_),n(U=>{let K=new Map(U);return K.delete(m.id),K});};v?N():(F||L)&&setTimeout(N,1500);}},l=m=>{let{selectionBounds:w,tagName:_}=m;if(!w)return;let F=w.x+w.width/2,v=w.y+w.height/2,L=document.elementFromPoint(F,v);if(L&&!(_&&L.tagName.toLowerCase()!==_))return L};return {sessions:t,isProcessing:o,tryResumeSessions:()=>{let m=e?.storage,w=In(m),_=Array.from(w.values()).filter(v=>v.isStreaming);if(_.length===0){Mn(m);return}if(!e?.provider?.supportsResume||!e.provider.resume){Mn(m);return}let F=new Map(_.map(v=>[v.id,v]));n(F),Nn(F,m);for(let v of _){let L=l(v);L&&i.set(v.id,L);let N={...v,lastStatus:v.lastStatus||"Resuming...",position:v.position??{x:window.innerWidth/2,y:window.innerHeight/2}};n(se=>new Map(se).set(v.id,N)),e?.onResume?.(N);let U=new AbortController;r.set(v.id,U);let K=e.provider.resume(v.id,U.signal);s(v,K);}},startSession:async m=>{let{element:w,prompt:_,position:F,selectionBounds:v}=m,L=e?.storage;if(!e?.provider)return;let K={content:await Pn([w]),prompt:_,options:e?.getOptions?.()},se=(w.tagName||"").toLowerCase()||void 0,W=ki(K,F,v,se);W.lastStatus="Please wait\u2026",i.set(W.id,w),n(T=>new Map(T).set(W.id,W)),Er(W,L),e.onStart?.(W);let Q=new AbortController;r.set(W.id,Q);let fe=e.provider.send(K,Q.signal);s(W,fe);},abortSession:m=>{let w=r.get(m);w&&w.abort();},abortAllSessions:()=>{r.forEach(m=>m.abort()),r.clear(),n(new Map),Mn(e?.storage);},updateSessionBoundsOnViewportChange:()=>{let m=t();if(m.size===0)return;let w=new Map(m),_=false;for(let[F,v]of m){let L=i.get(F);if(!L||!document.contains(L)){let N=l(v);N&&(i.set(F,N),L=N);}if(L&&document.contains(L)){let N=ct(L);N&&(w.set(F,{...v,selectionBounds:N}),_=true);}}_&&n(w);},getSessionElement:m=>i.get(m)}};var Li=Y('<span class="tabular-nums align-middle">'),Ni=Y('<span class="font-mono tabular-nums align-middle">&lt;<!>>'),Fl=Y('<span class="tabular-nums ml-1 align-middle"> in '),kr=false,$l=()=>{if(typeof window>"u")return null;try{let e=document.currentScript?.getAttribute("data-options");return e?JSON.parse(e):null}catch{return null}},Tr=e=>{let n={enabled:true,keyHoldDuration:200,allowActivationInsideInput:true,...$l(),...e},r=Si(n.theme);return n.enabled===false||kr?{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:()=>r}:(kr=true,(()=>{try{let o="0.0.55",s=`data:image/svg+xml;base64,${btoa(xo)}`;console.log(`%cReact Grab${o?` v${o}`:""}%c
32
+ https://react-grab.com`,`background: #330039; color: #ffffff; border: 1px solid #d75fcb; padding: 4px 4px 4px 24px; border-radius: 4px; background-image: url("${s}"); background-size: 16px 16px; background-repeat: no-repeat; background-position: 4px center; display: inline-block; margin-bottom: 4px;`,""),navigator.onLine&&o&&fetch(`https://www.react-grab.com/api/version?t=${Date.now()}`,{referrerPolicy:"origin",keepalive:!0,priority:"low",cache:"no-store"}).then(l=>l.text()).then(l=>{l&&l!==o&&console.warn(`[React Grab] v${o} is outdated (latest: v${l})`);}).catch(()=>null);}catch{}})(),ot(o=>{let[s,l]=M(r),[c,f]=M(false),[g,h]=M(-1e3),[A,x]=M(-1e3),[m,w]=M(false),[_,F]=M(-1e3),[v,L]=M(-1e3),[N,U]=M(false),[K,se]=M("idle"),[W,Q]=M([]),[fe,T]=M(null),[b,u]=M(null),[y,P]=M([]),[k,B]=M([]),[R,D]=M(false),[V,O]=M(false),[J,ae]=M(false),[X,ce]=M(-1e3),[Te,dt]=M(-1e3),[Ne,Ge]=M(0),[de,_e]=M(false),[Me,be]=M(""),[Ue,Fe]=M(false),[Zt,Jt]=M(void 0),[Ar,Rr]=M(void 0),[_r,ft]=M(false),[Ii,mt]=M(false),[Mi,Qt]=M(null),[Dn,Lt]=M(-1e3),[Hn,Nt]=M(-1e3),[Oi,en]=M(false),[zn,gt]=M([]),[Lr,pt]=M(void 0),[Pi,bt]=M(void 0),jn=re(()=>{Ne();let a=zn();if(!(a.length===0||!a[0]))return ct(a[0])}),$e=null,tn=null,nn=null,Ae=null,tt=null,It=null,Ie=re(()=>R()&&!N()),Nr=(a,d)=>({top:d<25,bottom:d>window.innerHeight-25,left:a<25,right:a>window.innerWidth-25}),Ir=(a,d)=>{let p=`grabbed-${Date.now()}-${Math.random()}`,C=Date.now(),E={id:p,bounds:a,createdAt:C,element:d},$=y();P([...$,E]),n.onGrabbedBox?.(a,d),setTimeout(()=>{P(H=>H.filter(z=>z.id!==p));},1700);},Mr=(a,d)=>{let p=`success-${Date.now()}-${Math.random()}`;B(C=>[...C,{id:p,text:a}]),n.onSuccessLabel?.(a,d,{x:g(),y:A()}),setTimeout(()=>{B(C=>C.filter(E=>E.id!==p));},1700);},Ke=a=>(a.tagName||"").toLowerCase(),Fi=a=>{let d=Ke(a);return d?`<${d}>`:"1 element"},Or=a=>{let d=a.map(p=>({tagName:Ke(p)}));window.dispatchEvent(new CustomEvent("react-grab:element-selected",{detail:{elements:d}}));},$i=(a,d,p,C)=>{let E=`label-${Date.now()}-${Math.random().toString(36).slice(2)}`;return Q($=>[...$,{id:E,bounds:a,tagName:d,status:p,createdAt:Date.now(),element:C}]),E},Pr=(a,d)=>{Q(p=>p.map(C=>C.id===a?{...C,status:d}:C));},Bi=a=>{Q(d=>d.filter(p=>p.id!==a));},Mt=async(a,d,p,C,E,$)=>{ce(a),dt(d),U(true),Vi();let H=C&&E?$i(C,E,"copying",$):null;await p().finally(()=>{U(false),rn(),H&&(Pr(H,"copied"),setTimeout(()=>{Pr(H,"fading"),setTimeout(()=>{Bi(H);},350);},1500)),V()&&setTimeout(()=>{Ee();},1850);});},Di=a=>"innerText"in a,Hi=a=>Di(a)?a.innerText:a.textContent??"",Fr=a=>a.map(d=>Hi(d).trim()).filter(d=>d.length>0).join(`
37
33
 
38
- ## Code Location:
39
- ${Kn}`:`## HTML Frame:
40
- ${Le}`}))).map(Y=>Y.status==="fulfilled"?Y.value:"").filter(Y=>Y.trim());if(fe.length>0){let Y=fe.map(ln=>ko(ln)).join(`
34
+ `),Vn=async(a,d)=>{let p=false,C="",E=Qe();if(await n.onBeforeCopy?.(a),n.copyFileOnly&&E){try{let $=a[0];if($){let H=await Tt($),z=wr(H);z&&(C=`@${z}`,p=await Wt(C),p&&n.onCopySuccess?.(a,C));}}catch($){n.onCopyError?.($);}return n.onAfterCopy?.(a,p),p}try{let $=await Promise.allSettled(a.map(z=>At(z))),H=[];for(let z of $)z.status==="fulfilled"&&z.value.trim()&&H.push(z.value);if(H.length>0){let z=H.join(`
41
35
 
42
- `),Le=h?`${h}
36
+ `),me=d?`${d}
43
37
 
44
- ${Y}`:Y;A=Le,S=await Qt(Le);}if(!S){let Y=zn(u);if(Y.length>0){let Le=h?`${h}
38
+ ${z}`:z;C=me,p=await Wt(me);}if(!p){let z=Fr(a);if(z.length>0){let me=d?`${d}
45
39
 
46
- ${Y}`:Y;A=Le,S=await Qt(Le);}}if(S)try{t.onCopySuccess?.(u,A);}catch{}}catch(oe){try{t.onCopyError?.(oe);}catch{}let fe=zn(u);if(fe.length>0){let Y=h?`${h}
40
+ ${z}`:z;C=me,p=await Wt(me);}}p&&n.onCopySuccess?.(a,C);}catch($){n.onCopyError?.($);let H=Fr(a);if(H.length>0){let z=d?`${d}
47
41
 
48
- ${fe}`:fe;A=Y,S=await Qt(Y);}}try{t.onAfterCopy?.(u,S);}catch{}return S},jn=async(u,h)=>{try{t.onElementSelect?.(u);}catch{}o().grabbedBoxes.enabled&&Dn(en(u),u),await new Promise(A=>requestAnimationFrame(A)),await sn([u],h)&&o().successLabels.enabled&&Hn(To(u)),Bn([u]);},Vn=async u=>{if(u.length===0)return;for(let S of u)try{t.onElementSelect?.(S);}catch{}if(o().grabbedBoxes.enabled)for(let S of u)Dn(en(S),S);await new Promise(S=>requestAnimationFrame(S)),await sn(u)&&o().successLabels.enabled&&Hn(`${u.length} elements`),Bn(u);},He=G(()=>!De()||g()?null:Nn(l(),m())),Ao=G(()=>{$e();let u=He();if(!u)return;let h=u.getBoundingClientRect();return {borderRadius:window.getComputedStyle(u).borderRadius||"0px",height:h.height,transform:Jt(u),width:h.width,x:h.left,y:h.top}}),Gn=(u,h)=>{let S=u+window.scrollX,A=h+window.scrollY;return {x:Math.abs(S-v()),y:Math.abs(A-F())}},Un=G(()=>{if(!g())return false;let u=Gn(l(),m());return u.x>2||u.y>2}),Yn=(u,h)=>{let S=u+window.scrollX,A=h+window.scrollY,X=Math.min(v(),S),oe=Math.min(F(),A),fe=Math.abs(S-v()),Y=Math.abs(A-F());return {x:X-window.scrollX,y:oe-window.scrollY,width:fe,height:Y}},qe=G(()=>{if(!Un())return;let u=Yn(l(),m());return {borderRadius:"0px",height:u.height,transform:"none",width:u.width,x:u.x,y:u.y}}),_o=G(()=>{let u=He();if(!u)return yo();let h=on(u),S=qt(u);return h&&S?[(()=>{var A=wo(),X=A.firstChild,oe=X.nextSibling;oe.nextSibling;return ue(A,h,oe),A})(),(()=>{var A=oa();A.firstChild;return ue(A,S,null),A})()]:h?(()=>{var A=wo(),X=A.firstChild,oe=X.nextSibling;oe.nextSibling;return ue(A,h,oe),A})():yo()}),Xn=G(()=>k()?{x:K(),y:Q()}:{x:l(),y:m()}),qn=G(()=>k()?{x:K(),y:Q()}:{x:l(),y:m()});ne(Pe(()=>[He(),q()],([u,h])=>{if(h&&u&&h!==u&&ie(null),u)try{t.onElementHover?.(u);}catch{}})),ne(Pe(()=>$e(),()=>{let u=x();if(u.length===0)return;let h=u.map(S=>({...S,bounds:en(S.element)}));p(h);})),ne(Pe(()=>[T(),g(),k(),He(),qe()],([u,h,S,A,X])=>{try{t.onStateChange?.({isActive:u,isDragging:h,isCopying:S,targetElement:A,dragBounds:X?{x:X.x,y:X.y,width:X.width,height:X.height}:null});}catch{}}));let Lo=()=>{let u=Date.now();Ce(u),z(false),Ye=window.setTimeout(()=>{z(true),Ye=null;},150);let h=()=>{let S=ve();if(S===null)return;let X=(Date.now()-S)/t.keyHoldDuration,oe=1-Math.exp(-X),Y=k()?Math.min(oe,.95):1;we(Y),Y<1&&(Je=requestAnimationFrame(h));};h();},Ct=()=>{Je!==null&&(cancelAnimationFrame(Je),Je=null),Ye!==null&&(window.clearTimeout(Ye),Ye=null),Ce(null),we(1),z(false);},Oo=()=>{let u=()=>{if(!g()){lt();return}let h=$n(l(),m());h.top&&window.scrollBy(0,-10),h.bottom&&window.scrollBy(0,10),h.left&&window.scrollBy(-10,0),h.right&&window.scrollBy(10,0),h.top||h.bottom||h.left||h.right?Xe=requestAnimationFrame(u):Xe=null;};u();},lt=()=>{Xe!==null&&(cancelAnimationFrame(Xe),Xe=null);},St=()=>{Ct(),P(true),document.body.style.cursor="crosshair",t.onActivate?.();},Ee=()=>{I(false),c(false),P(false),xe(false),ke(""),document.body.style.cursor="",g()&&(b(false),document.body.style.userSelect=""),le&&window.clearTimeout(le),Te&&window.clearTimeout(Te),_e&&(window.clearTimeout(_e),_e=null),Ae(false),lt(),Ct(),t.onDeactivate?.();},Po=u=>{ke(u);},Fo=()=>{if(!be())return;let u=He(),h=ae().trim(),S=l(),A=m();xe(false),ke(""),u?vt(S,A,()=>jn(u,h||void 0)).then(()=>{Ee();}):Ee();},Wn=()=>{be()&&Ee();},Zn=new AbortController,Re=Zn.signal;window.addEventListener("keydown",u=>{if(u.code==="Escape"&&a()){if(be())return;Ee();return}if(u.code==="Enter"&&a()&&!be()){u.preventDefault(),u.stopPropagation(),I(true),Te!==null&&(window.clearTimeout(Te),Te=null),T()||(le&&window.clearTimeout(le),St()),xe(true);return}if(!(!t.allowActivationInsideInput&&wr(u))&&So(u)){if((T()||a())&&u.preventDefault(),T()){if(M())return;Te!==null&&window.clearTimeout(Te),Te=window.setTimeout(()=>{Ee();},200);return}a()&&u.repeat||(le!==null&&window.clearTimeout(le),a()||c(true),le=window.setTimeout(()=>{St();},t.keyHoldDuration));}},{signal:Re,capture:true}),window.addEventListener("keyup",u=>{if(!a()&&!T())return;let h=!u.metaKey&&!u.ctrlKey;if(u.code==="KeyC"||h){if(M())return;Ee();}},{signal:Re,capture:true}),window.addEventListener("mousemove",u=>{if(!be()&&(f(u.clientX),C(u.clientY),_e!==null&&window.clearTimeout(_e),Ae(false),_e=window.setTimeout(()=>{Ae(true),_e=null;},300),g())){let h=$n(u.clientX,u.clientY),S=h.top||h.bottom||h.left||h.right;S&&Xe===null?Oo():!S&&Xe!==null&&lt();}},{signal:Re}),window.addEventListener("mousedown",u=>{if(be()){u.target.closest("[data-react-grab-input]")||Wn();return}if(!De()||k())return;u.preventDefault(),b(true);let h=u.clientX+window.scrollX,S=u.clientY+window.scrollY;R(h),E(S),document.body.style.userSelect="none";try{t.onDragStart?.(h,S);}catch{}},{signal:Re,capture:true}),window.addEventListener("mouseup",u=>{if(!g())return;let h=Gn(u.clientX,u.clientY),S=h.x>2||h.y>2;if(b(false),lt(),document.body.style.userSelect="",S){Z(true);let A=Yn(u.clientX,u.clientY),X=mo(A,xt);if(X.length>0){try{t.onDragEnd?.(X,A);}catch{}vt(u.clientX,u.clientY,()=>Vn(X));}else {let oe=po(A,xt);if(oe.length>0){try{t.onDragEnd?.(oe,A);}catch{}vt(u.clientX,u.clientY,()=>Vn(oe));}}}else {let A=Nn(u.clientX,u.clientY);if(!A)return;ie(A),vt(u.clientX,u.clientY,()=>jn(A));}},{signal:Re}),window.addEventListener("click",u=>{(De()||k()||O())&&(u.preventDefault(),u.stopPropagation(),O()&&Z(false),M()&&!k()&&(a()?I(false):Ee()));},{signal:Re,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&p([]);},{signal:Re}),window.addEventListener("scroll",()=>{at(u=>u+1);},{signal:Re,capture:true}),window.addEventListener("resize",()=>{at(u=>u+1);},{signal:Re}),document.addEventListener("copy",u=>{(De()||k())&&u.preventDefault();},{signal:Re,capture:true}),pe(()=>{Zn.abort(),le&&window.clearTimeout(le),Te&&window.clearTimeout(Te),_e&&window.clearTimeout(_e),lt(),Ct(),document.body.style.userSelect="",document.body.style.cursor="";});let an=xr(yr),Io=G(()=>o().selectionBox.enabled&&De()&&!g()&&!!He()),No=G(()=>o().dragBox.enabled&&De()&&Un()),Mo=G(()=>k()?"processing":"hover"),$o=G(()=>!o().elementLabel.enabled||be()?false:k()?true:d().length>0?false:De()&&!g()&&!!He()),Do=G(()=>k()&&B()&&Co()),Ho=G(()=>o().crosshair.enabled&&De()&&!g()),Bo=G(()=>o().inputOverlay.enabled&&be()),zo=G(()=>o().grabbedBoxes.enabled),jo=G(()=>o().successLabels.enabled);return ne(Pe(o,u=>{u.hue!==0?an.style.filter=`hue-rotate(${u.hue}deg)`:an.style.filter="";})),o().enabled&&pr(()=>N(Mr,{get selectionVisible(){return Io()},get selectionBounds(){return Ao()},get dragVisible(){return No()},get dragBounds(){return qe()},get grabbedBoxes(){return ye(()=>!!zo())()?x():[]},get successLabels(){return ye(()=>!!jo())()?d():[]},get labelVariant(){return Mo()},get labelContent(){return _o()},get labelX(){return Xn().x},get labelY(){return Xn().y},get labelVisible(){return $o()},labelZIndex:2147483647,get labelShowHint(){return Qe()},get progressVisible(){return Do()},get progress(){return Se()},get mouseX(){return qn().x},get mouseY(){return qn().y},get crosshairVisible(){return Ho()},get inputVisible(){return Bo()},get inputX(){return l()},get inputY(){return m()},get inputValue(){return ae()},onInputChange:Po,onInputSubmit:Fo,onInputCancel:Wn,get theme(){return o()}}),an),{activate:()=>{T()||St();},deactivate:()=>{T()&&Ee();},toggle:()=>{T()?Ee():St();},isActive:()=>T(),dispose:i,copyElement:async u=>{let h=Array.isArray(u)?u:[u];if(h.length===0)return false;try{await t.onBeforeCopy?.(h);}catch{}let S=await sn(h);try{t.onAfterCopy?.(h,S);}catch{}return S},getState:()=>({isActive:T(),isDragging:g(),isCopying:k(),targetElement:He(),dragBounds:qe()?{x:qe().x,y:qe().y,width:qe().width,height:qe().height}:null}),updateTheme:u=>{let h=o(),S=ho(h,u);s(S);},getTheme:()=>o()}}))};var vo=null,Bu=()=>vo;typeof window<"u"&&(vo=Mn());/*! Bundled license information:
42
+ ${H}`:H;C=z,p=await Wt(z);}}return n.onAfterCopy?.(a,p),p},Gn=async(a,d)=>{let p=d?"input-submit":"copy";n.onElementSelect?.(a),s().grabbedBoxes.enabled&&Ir(ct(a),a),await new Promise(E=>requestAnimationFrame(E)),await Vn([a],d)&&s().successLabels.enabled&&Mr(Fi(a),p),Or([a]);},$r=async a=>{if(a.length===0)return;for(let p of a)n.onElementSelect?.(p);if(s().grabbedBoxes.enabled)for(let p of a)Ir(ct(p),p);await new Promise(p=>requestAnimationFrame(p)),await Vn(a)&&s().successLabels.enabled&&Mr(`${a.length} elements`,"copy"),Or(a);},xe=re(()=>!Ie()||m()?null:xr(g(),A()));Z(()=>{let a=xe();a&&Qt(a);});let Br=re(()=>{Ne();let a=xe();if(!a)return;let d=a.getBoundingClientRect();return {borderRadius:window.getComputedStyle(a).borderRadius||"0px",height:d.height,transform:et(a),width:d.width,x:d.left,y:d.top}}),Dr=(a,d)=>{let p=a+window.scrollX,C=d+window.scrollY;return {x:Math.abs(p-_()),y:Math.abs(C-v())}},Hr=re(()=>{if(!m())return false;let a=Dr(g(),A());return a.x>2||a.y>2}),zr=(a,d)=>{let p=a+window.scrollX,C=d+window.scrollY,E=Math.min(_(),p),$=Math.min(v(),C),H=Math.abs(p-_()),z=Math.abs(C-v());return {x:E-window.scrollX,y:$-window.scrollY,width:H,height:z}},Ye=re(()=>{if(!Hr())return;let a=zr(g(),A());return {borderRadius:"0px",height:a.height,transform:"none",width:a.width,x:a.x,y:a.y}}),zi=re(()=>{let a=xe(),d=N();if(!a)return (()=>{var E=Li();return G(E,d?"Please wait\u2026":"1 element"),E})();let p=Ke(a),C=qt(a);return p&&C?[(()=>{var E=Ni(),$=E.firstChild,H=$.nextSibling;H.nextSibling;return G(E,p,H),E})(),(()=>{var E=Fl();E.firstChild;return G(E,C,null),E})()]:p?(()=>{var E=Ni(),$=E.firstChild,H=$.nextSibling;H.nextSibling;return G(E,p,H),E})():(()=>{var E=Li();return G(E,d?"Please wait\u2026":"1 element"),E})()}),ji=re(()=>N()?{x:X(),y:Te()}:{x:g(),y:A()}),jr=re(()=>N()?{x:X(),y:Te()}:{x:g(),y:A()});Z(Ce(()=>[xe(),fe()],([a,d])=>{d&&a&&d!==a&&T(null),a&&n.onElementHover?.(a);})),Z(Ce(()=>xe(),a=>{let d=()=>{Jt(void 0),Rr(void 0);};if(!a){d();return}Tt(a).then(p=>{for(let C of p)if(C.source&&Xt(C.source.fileName)){Jt(kt(C.source.fileName)),Rr(C.source.lineNumber);return}d();}).catch(d);})),Z(Ce(()=>Ne(),()=>{let a=y();if(a.length===0)return;let d=a.map(p=>({...p,bounds:ct(p.element)}));P(d);})),Z(Ce(()=>Ne(),()=>Be.updateSessionBoundsOnViewportChange())),Z(Ce(()=>[R(),m(),N(),de(),xe(),Ye()],([a,d,p,C,E,$])=>{n.onStateChange?.({isActive:a,isDragging:d,isCopying:p,isInputMode:C,targetElement:E,dragBounds:$?{x:$.x,y:$.y,width:$.width,height:$.height}:null});})),Z(Ce(()=>[de(),g(),A(),xe()],([a,d,p,C])=>{n.onInputModeChange?.(a,{x:d,y:p,targetElement:C});})),Z(Ce(()=>[Yr(),Br(),xe()],([a,d,p])=>{n.onSelectionBox?.(!!a,d??null,p);})),Z(Ce(()=>[Xr(),Ye()],([a,d])=>{n.onDragBox?.(!!a,d??null);})),Z(Ce(()=>[qr(),g(),A()],([a,d,p])=>{n.onCrosshair?.(!!a,{x:d,y:p});})),Z(Ce(()=>[ts(),es(),zi(),ji()],([a,d,p,C])=>{let E=typeof p=="string"?p:"";n.onElementLabel?.(!!a,d,{x:C.x,y:C.y,content:E});}));let Xe=null,nt=a=>{a?(Xe||(Xe=document.createElement("style"),Xe.setAttribute("data-react-grab-cursor",""),document.head.appendChild(Xe)),Xe.textContent=`* { cursor: ${a} !important; }`):Xe&&(Xe.remove(),Xe=null);};Z(Ce(()=>[R(),N(),m(),de(),xe()],([a,d,p,C,E])=>{nt(d?"progress":C?null:a&&p?"crosshair":a&&E?"copy":a?"crosshair":null);}));let Vi=a=>{let d=Date.now(),p=n.keyHoldDuration;u(d);let C=()=>{let E=b();if(E===null)return;let H=(Date.now()-E)/p,z=1-Math.exp(-H);(N()?Math.min(z,.95):1)<1&&(nn=requestAnimationFrame(C));};C();},rn=()=>{nn!==null&&(cancelAnimationFrame(nn),nn=null),u(null);},Gi=()=>{let a=()=>{if(!m()){Ot();return}let d=Nr(g(),A());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?tt=requestAnimationFrame(a):tt=null;};a();},Ot=()=>{tt!==null&&(cancelAnimationFrame(tt),tt=null);},ht=()=>{rn(),It=document.activeElement,tn=Date.now(),D(true),n.onActivate?.();},Ee=()=>{O(false),f(false),D(false),_e(false),be(""),ft(false),mt(false),Qt(null),se("idle"),m()&&(w(false),document.body.style.userSelect=""),$e&&window.clearTimeout($e),Ae&&window.clearTimeout(Ae),Ot(),rn(),tn=null,It instanceof HTMLElement&&document.contains(It)&&It.focus(),It=null,n.onDeactivate?.();},Ui=n.agent?{...n.agent,onAbort:(a,d)=>{if(n.agent?.onAbort?.(a,d),d&&document.contains(d)){let p=d.getBoundingClientRect(),C=p.left+p.width/2,E=p.top+p.height/2;h(C),x(E),Qt(d),be(a.context.prompt),mt(true),_e(true),O(true),ft(true),R()||ht();}}}:void 0,Be=Ai(Ui),Ki=a=>{be(a);},Yi=()=>{let a=Mi()||xe(),d=de()?Me().trim():"";if(!a){Ee();return}let p=a.getBoundingClientRect(),C=window.getComputedStyle(a),E={x:p.left,y:p.top,width:p.width,height:p.height,borderRadius:C.borderRadius||"0px",transform:et(a)},$=E.x+E.width/2,H=E.y+E.height/2;if(h($),x(H),n.agent?.provider&&d){let me=g(),ke=A();be(""),_e(false),Ee(),Be.startSession({element:a,prompt:d,position:{x:me,y:ke},selectionBounds:E});return}_e(false),be("");let z=Ke(a);Mt($,H,()=>Gn(a,d||void 0),E,z,a).then(()=>{Ee();});},Un=()=>{de()&&Ee();},Xi=()=>{O(true),ft(true),mt(true),_e(true);},qi=async()=>{let a=zn();if(a.length===0)return;let d=Dn(),p=Hn(),C=jn(),E=Lr();en(false),Lt(-1e3),Nt(-1e3),gt([]),pt(void 0),bt(void 0),window.getSelection()?.removeAllRanges(),a.length===1?await Mt(d,p,()=>Gn(a[0]),C,E):await Mt(d,p,()=>$r(a),C,E);},Wi=()=>{if(zn().length===0)return;let d=jn(),p=d?d.x+d.width/2:Dn(),C=d?d.y+d.height/2:Hn();en(false),Lt(-1e3),Nt(-1e3),gt([]),pt(void 0),bt(void 0),window.getSelection()?.removeAllRanges(),h(p),x(C),O(true),ft(true),mt(true),ht(),_e(true);},Vr=(a,d)=>{if(!(de()||_r())&&(h(a),x(d),m())){let p=Nr(a,d),C=p.top||p.bottom||p.left||p.right;C&&tt===null?Gi():!C&&tt!==null&&Ot();}},Gr=(a,d)=>{if(!Ie()||N())return false;w(true);let p=a+window.scrollX,C=d+window.scrollY;return F(p),L(C),document.body.style.userSelect="none",n.onDragStart?.(p,C),true},Ur=(a,d)=>{if(!m())return;let p=Dr(a,d),C=p.x>2||p.y>2;if(w(false),Ot(),document.body.style.userSelect="",C){ae(true);let E=zr(a,d),$=wi(E,Rt),H=$.length>0?$:xi(E,Rt);if(H.length>0){n.onDragEnd?.(H,E);let z=H[0],me=z.getBoundingClientRect(),ke={x:me.left,y:me.top,width:me.width,height:me.height,borderRadius:"0px",transform:et(z)},rt=Ke(z);if(n.agent?.provider){let sn=ke.x+ke.width/2,rs=ke.y+ke.height/2;h(sn),x(rs),Qt(z),O(true),ft(true),mt(true),_e(true);}else Mt(a,d,()=>$r(H),ke,rt,z);}}else {let E=xr(a,d);if(!E)return;T(E);let $=E.getBoundingClientRect(),H=window.getComputedStyle(E),z={x:$.left,y:$.top,width:$.width,height:$.height,borderRadius:H.borderRadius||"0px",transform:et(E)},me=Ke(E);Mt(a,d,()=>Gn(E),z,me,E);}},Kr=new AbortController,ve=Kr.signal;window.addEventListener("keydown",a=>{if(de()||Ve(a,"data-react-grab-ignore-events")){a.key==="Escape"&&Be.isProcessing()&&Be.abortAllSessions();return}if(a.key==="Escape"){if(Be.isProcessing()){Be.abortAllSessions();return}if(c()){Ee();return}}if(a.key==="Enter"&&c()&&!de()){a.preventDefault(),a.stopPropagation(),O(true),ft(true),mt(true),Ae!==null&&(window.clearTimeout(Ae),Ae=null),R()||($e&&window.clearTimeout($e),ht()),_e(true);return}if(a.key.toLowerCase()==="o"&&!de()&&R()&&(a.metaKey||a.ctrlKey)){let d=Zt(),p=Ar();if(d)if(a.preventDefault(),a.stopPropagation(),n.onOpenFile)n.onOpenFile(d,p);else {let C=mn(d,p);window.open(C,"_blank");}return}if(!(!n.allowActivationInsideInput&&bo(a))&&!(!Ci(a,n)&&(R()&&!V()&&(a.metaKey||a.ctrlKey)&&!gn.includes(a.key)&&a.key!=="Enter"&&Ee(),a.key!=="Enter"))){if((R()||c())&&!de()&&a.preventDefault(),R()){if(V()||a.repeat)return;Ae!==null&&window.clearTimeout(Ae),Ae=window.setTimeout(()=>{Ee();},200);return}c()&&a.repeat||($e!==null&&window.clearTimeout($e),c()||f(true),$e=window.setTimeout(()=>{ht();},n.keyHoldDuration));}},{signal:ve,capture:true}),window.addEventListener("keyup",a=>{if(!c()&&!R()||de())return;let d=!!(n.activationShortcut||n.activationKey),C=(()=>{if(n.activationKey){let{metaKey:H,ctrlKey:z,shiftKey:me,altKey:ke}=n.activationKey;return {metaKey:!!H,ctrlKey:!!z,shiftKey:!!me,altKey:!!ke}}return {metaKey:true,ctrlKey:true,shiftKey:false,altKey:false}})(),E=C.metaKey||C.ctrlKey?!a.metaKey&&!a.ctrlKey:C.shiftKey&&!a.shiftKey||C.altKey&&!a.altKey,$=n.activationShortcut?!n.activationShortcut(a):n.activationKey?n.activationKey.key?a.key.toLowerCase()===n.activationKey.key.toLowerCase()||vr(n.activationKey.key,a.code):false:Ln(a.key,a.code);if(R()){if(E){if(V())return;Ee();}else !d&&$&&Ae!==null&&(window.clearTimeout(Ae),Ae=null);return}if($||E){if(V())return;Ee();}},{signal:ve,capture:true}),window.addEventListener("mousemove",a=>{Fe(false),!Ve(a,"data-react-grab-ignore-events")&&Vr(a.clientX,a.clientY);},{signal:ve}),window.addEventListener("mousedown",a=>{if(Ve(a,"data-react-grab-ignore-events"))return;if(de()){Un();return}Gr(a.clientX,a.clientY)&&a.preventDefault();},{signal:ve,capture:true}),window.addEventListener("pointerdown",a=>{!Ie()||N()||de()||Ve(a,"data-react-grab-ignore-events")||a.stopPropagation();},{signal:ve,capture:true}),window.addEventListener("mouseup",a=>{Ur(a.clientX,a.clientY);},{signal:ve}),window.addEventListener("touchmove",a=>{a.touches.length!==0&&(Fe(true),!Ve(a,"data-react-grab-ignore-events")&&Vr(a.touches[0].clientX,a.touches[0].clientY));},{signal:ve,passive:true}),window.addEventListener("touchstart",a=>{if(a.touches.length===0||(Fe(true),Ve(a,"data-react-grab-ignore-events")))return;if(de()){Un();return}Gr(a.touches[0].clientX,a.touches[0].clientY)&&a.preventDefault();},{signal:ve,passive:false}),window.addEventListener("touchend",a=>{a.changedTouches.length!==0&&Ur(a.changedTouches[0].clientX,a.changedTouches[0].clientY);},{signal:ve}),window.addEventListener("click",a=>{Ve(a,"data-react-grab-ignore-events")||(Ie()||N()||J())&&(a.preventDefault(),a.stopPropagation(),J()&&ae(false),V()&&!N()&&(c()?O(false):Ee()));},{signal:ve,capture:true}),document.addEventListener("visibilitychange",()=>{document.hidden&&(P([]),R()&&!de()&&tn!==null&&Date.now()-tn>500&&Ee());},{signal:ve}),window.addEventListener("scroll",()=>{Ge(a=>a+1);},{signal:ve,capture:true}),window.addEventListener("resize",()=>{Ge(a=>a+1);},{signal:ve}),document.addEventListener("copy",a=>{de()||Ve(a,"data-react-grab-ignore-events")||(Ie()||N())&&a.preventDefault();},{signal:ve,capture:true});let on=null;document.addEventListener("selectionchange",()=>{if(Ie())return;on!==null&&window.clearTimeout(on),en(false);let a=window.getSelection();if(!a||a.isCollapsed||a.rangeCount===0){Lt(-1e3),Nt(-1e3),gt([]),pt(void 0),bt(void 0);return}on=window.setTimeout(()=>{on=null;let d=window.getSelection();if(!d||d.isCollapsed||d.rangeCount===0)return;let p=d.getRangeAt(0),C=p.getBoundingClientRect();if(C.width===0&&C.height===0)return;let E=(()=>{if(!d.anchorNode||!d.focusNode)return false;let sn=d.anchorNode.compareDocumentPosition(d.focusNode);return sn&Node.DOCUMENT_POSITION_FOLLOWING?false:sn&Node.DOCUMENT_POSITION_PRECEDING?true:d.anchorOffset>d.focusOffset})(),$=p.getClientRects();if($.length===0)return;let H=E?$[0]:$[$.length-1],z=E?H.left:H.right,me=H.top+H.height/2;if(yo(z,me)){Lt(-1e3),Nt(-1e3),gt([]),pt(void 0),bt(void 0);return}Lt(z),Nt(me);let ke=p.commonAncestorContainer,rt=ke.nodeType===Node.ELEMENT_NODE?ke:ke.parentElement;rt&&Rt(rt)?(gt([rt]),pt(Ke(rt)||void 0),bt(qt(rt)||void 0),en(true)):(gt([]),pt(void 0),bt(void 0));},150);},{signal:ve}),Se(()=>{Kr.abort(),$e&&window.clearTimeout($e),Ae&&window.clearTimeout(Ae),Ot(),rn(),document.body.style.userSelect="",nt(null);});let Kn=wo(po),Yr=re(()=>s().selectionBox.enabled?Ie()&&!m()&&!!xe():false),Zi=re(()=>{let a=xe();if(a)return Ke(a)||void 0}),Ji=re(()=>!s().elementLabel.enabled||k().length>0?false:Ie()&&!m()&&!!xe()),Qi=re(()=>(Ne(),W().map(a=>{if(!a.element||!document.body.contains(a.element))return a;let d=a.element.getBoundingClientRect(),p=window.getComputedStyle(a.element);return {...a,bounds:{x:d.left,y:d.top,width:d.width,height:d.height,borderRadius:p.borderRadius||"0px",transform:et(a.element)}}}))),Xr=re(()=>s().dragBox.enabled&&Ie()&&Hr()),es=re(()=>N()?"processing":"hover"),ts=re(()=>!s().elementLabel.enabled||de()?false:N()?true:k().length>0?false:Ie()&&!m()&&!!xe()),qr=re(()=>s().crosshair.enabled&&Ie()&&!m()&&!Ue()&&!_r()),ns=re(()=>s().grabbedBoxes.enabled);return Z(Ce(s,a=>{a.hue!==0?Kn.style.filter=`hue-rotate(${a.hue}deg)`:Kn.style.filter="";})),s().enabled&&mo(()=>I(Vo,{get selectionVisible(){return Yr()},get selectionBounds(){return Br()},get selectionFilePath(){return Zt()},get selectionLineNumber(){return Ar()},get selectionTagName(){return Zi()},get selectionLabelVisible(){return Ji()},get selectionLabelStatus(){return K()},get labelInstances(){return Qi()},get dragVisible(){return Xr()},get dragBounds(){return Ye()},get grabbedBoxes(){return pe(()=>!!ns())()?y():[]},labelZIndex:2147483647,get mouseX(){return jr().x},get mouseY(){return jr().y},get crosshairVisible(){return qr()},get inputValue(){return Me()},get isInputExpanded(){return Ii()},get hasAgent(){return !!n.agent?.provider},get agentSessions(){return Be.sessions()},onAbortSession:a=>Be.abortSession(a),onInputChange:Ki,onInputSubmit:()=>void Yi(),onInputCancel:Un,onToggleExpand:Xi,get nativeSelectionCursorVisible(){return Oi()},get nativeSelectionCursorX(){return Dn()},get nativeSelectionCursorY(){return Hn()},get nativeSelectionTagName(){return Lr()},get nativeSelectionComponentName(){return Pi()},get nativeSelectionBounds(){return jn()},onNativeSelectionCopy:()=>void qi(),onNativeSelectionEnter:Wi,get theme(){return s()}}),Kn),n.agent?.provider&&Be.tryResumeSessions(),{activate:()=>{R()||(O(true),ht());},deactivate:()=>{R()&&Ee();},toggle:()=>{R()?Ee():(O(true),ht());},isActive:()=>R(),dispose:()=>{kr=false,o();},copyElement:async a=>{let d=Array.isArray(a)?a:[a];if(d.length===0)return false;await n.onBeforeCopy?.(d);let p=await Vn(d);return n.onAfterCopy?.(d,p),p},getState:()=>({isActive:R(),isDragging:m(),isCopying:N(),isInputMode:de(),targetElement:xe(),dragBounds:Ye()?{x:Ye().x,y:Ye().y,width:Ye().width,height:Ye().height}:null}),updateTheme:a=>{let d=s(),p=Ei(d,a);l(p);},getTheme:()=>s()}}))};var _t=null,am=()=>window.__REACT_GRAB__??_t??null,lm=e=>{_t=e,typeof window<"u"&&(e?window.__REACT_GRAB__=e:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?_t=window.__REACT_GRAB__:(_t=Tr(),window.__REACT_GRAB__=_t,window.dispatchEvent(new CustomEvent("react-grab:init",{detail:_t}))));/*! Bundled license information:
49
43
 
50
44
  bippy/dist/rdt-hook-CrcWl4lP.js:
51
45
  (**
@@ -106,4 +100,4 @@ bippy/dist/source.js:
106
100
  * This source code is licensed under the MIT license found in the
107
101
  * LICENSE file in the root directory of this source tree.
108
102
  *)
109
- */exports.DEFAULT_THEME=W;exports.formatStack=Zt;exports.getGlobalApi=Bu;exports.getHTMLPreview=Kt;exports.getNearestComponentName=qt;exports.getStack=Wt;exports.init=Mn;exports.isInstrumentationActive=Ge;return exports;})({});
103
+ */exports.DEFAULT_THEME=ue;exports.formatElementInfo=At;exports.generateSnippet=Pn;exports.getGlobalApi=am;exports.getNearestComponentName=qt;exports.getStack=Tt;exports.init=Tr;exports.isInstrumentationActive=Qe;exports.setGlobalApi=lm;return exports;})({});