@clueprint/mcp 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -0
- package/assets/logo.png +0 -0
- package/cli/commands/setup.d.ts +7 -0
- package/cli/commands/setup.d.ts.map +1 -0
- package/cli/commands/setup.js +248 -0
- package/cli/commands/setup.js.map +1 -0
- package/cli/commands/start.d.ts +6 -0
- package/cli/commands/start.d.ts.map +1 -0
- package/cli/commands/start.js +115 -0
- package/cli/commands/start.js.map +1 -0
- package/cli/commands/status.d.ts +2 -0
- package/cli/commands/status.d.ts.map +1 -0
- package/cli/commands/status.js +186 -0
- package/cli/commands/status.js.map +1 -0
- package/cli/index.d.ts +3 -0
- package/cli/index.d.ts.map +1 -0
- package/cli/index.js +53 -0
- package/cli/index.js.map +1 -0
- package/cli/ui/banner.d.ts +8 -0
- package/cli/ui/banner.d.ts.map +1 -0
- package/cli/ui/banner.js +41 -0
- package/cli/ui/banner.js.map +1 -0
- package/extension/background/index.js +2 -0
- package/extension/content/index.js +986 -0
- package/extension/devtools/devtools.html +10 -0
- package/extension/devtools/devtools.js +1 -0
- package/extension/devtools/panel.css +1584 -0
- package/extension/devtools/panel.html +16 -0
- package/extension/devtools/panel.js +40 -0
- package/extension/icons/clueprint.png +0 -0
- package/extension/manifest.json +70 -0
- package/extension/popup/popup.css +1584 -0
- package/extension/popup/popup.html +16 -0
- package/extension/popup/popup.js +122 -0
- package/extension/styles/overlay.css +111 -0
- package/package.json +41 -0
- package/server/analysis/format.d.ts +21 -0
- package/server/analysis/format.d.ts.map +1 -0
- package/server/analysis/format.js +583 -0
- package/server/analysis/format.js.map +1 -0
- package/server/index.d.ts +7 -0
- package/server/index.d.ts.map +1 -0
- package/server/index.js +14 -0
- package/server/index.js.map +1 -0
- package/server/server.d.ts +8 -0
- package/server/server.d.ts.map +1 -0
- package/server/server.js +417 -0
- package/server/server.js.map +1 -0
- package/server/shared-state.d.ts +14 -0
- package/server/shared-state.d.ts.map +1 -0
- package/server/shared-state.js +131 -0
- package/server/shared-state.js.map +1 -0
- package/server/types/index.d.ts +239 -0
- package/server/types/index.d.ts.map +1 -0
- package/server/types/index.js +7 -0
- package/server/types/index.js.map +1 -0
- package/server/websocket.d.ts +55 -0
- package/server/websocket.d.ts.map +1 -0
- package/server/websocket.js +355 -0
- package/server/websocket.js.map +1 -0
|
@@ -0,0 +1,986 @@
|
|
|
1
|
+
"use strict";(()=>{var vi=globalThis.process?.env?.NODE_ENV,m=vi&&!vi.toLowerCase().startsWith("prod");var pt=Array.isArray,xi=Array.prototype.indexOf,Dr=Array.from,ta=Object.keys,we=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,qo=Object.getOwnPropertyDescriptors,ra=Object.prototype,gi=Array.prototype,vr=Object.getPrototypeOf,oa=Object.isExtensible;function xr(e){return typeof e=="function"}function wi(e){return e()}function Nr(e){for(var t=0;t<e.length;t++)e[t]()}function Vo(){var e,t,r=new Promise((o,n)=>{e=o,t=n});return{promise:r,resolve:e,reject:t}}function na(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let r=[];for(let o of e)if(r.push(o),r.length===t)break;return r}var ue=Symbol("$state"),Ir=Symbol("legacy props"),bi=Symbol(""),Wo=Symbol("proxy path"),yt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Go=1,ho=3,De=8;function vo(e){if(m){let t=new Error(`lifecycle_outside_component
|
|
2
|
+
\`${e}(...)\` can only be used during component initialisation
|
|
3
|
+
https://svelte.dev/e/lifecycle_outside_component`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function _i(){if(m){let e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/async_derived_orphan")}function yi(){if(m){let e=new Error(`derived_references_self
|
|
4
|
+
A derived value cannot reference itself recursively
|
|
5
|
+
https://svelte.dev/e/derived_references_self`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/derived_references_self")}function ki(e){if(m){let t=new Error(`effect_in_teardown
|
|
6
|
+
\`${e}\` cannot be used inside an effect cleanup function
|
|
7
|
+
https://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ei(){if(m){let e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Si(e){if(m){let t=new Error(`effect_orphan
|
|
8
|
+
\`${e}\` can only be used inside an effect (e.g. during component initialisation)
|
|
9
|
+
https://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/effect_orphan")}function Ci(){if(m){let e=new Error(`effect_update_depth_exceeded
|
|
10
|
+
Maximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state
|
|
11
|
+
https://svelte.dev/e/effect_update_depth_exceeded`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function $i(){if(m){let e=new Error(`hydration_failed
|
|
12
|
+
Failed to hydrate the application
|
|
13
|
+
https://svelte.dev/e/hydration_failed`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/hydration_failed")}function Ti(){if(m){let e=new Error("invalid_snippet\nCould not `{@render}` snippet due to the expression being `null` or `undefined`. Consider using optional chaining `{@render snippet?.()}`\nhttps://svelte.dev/e/invalid_snippet");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/invalid_snippet")}function Ai(e){if(m){let t=new Error(`props_invalid_value
|
|
14
|
+
Cannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value
|
|
15
|
+
https://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/props_invalid_value")}function Mi(e){if(m){let t=new Error(`rune_outside_svelte
|
|
16
|
+
The \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files
|
|
17
|
+
https://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/rune_outside_svelte")}function Ri(){if(m){let e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Li(){if(m){let e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Pi(){if(m){let e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Di(){if(m){let e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}var xo="[",kt="[!",gr="]",Et={};var G=Symbol(),Ne=Symbol("filename"),Ni=Symbol("hmr"),Ii="http://www.w3.org/1999/xhtml",Yo="http://www.w3.org/2000/svg";var aa="@attach";var Bt="font-weight: bold",zt="font-weight: normal";function Oi(e,t){m?console.warn(`%c[svelte] await_waterfall
|
|
18
|
+
%cAn async derived, \`${e}\` (${t}) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app
|
|
19
|
+
https://svelte.dev/e/await_waterfall`,Bt,zt):console.warn("https://svelte.dev/e/await_waterfall")}function Fi(e,t,r){m?console.warn(`%c[svelte] hydration_attribute_changed
|
|
20
|
+
%cThe \`${e}\` attribute on \`${t}\` changed its value between server and client renders. The client value, \`${r}\`, will be ignored in favour of the server value
|
|
21
|
+
https://svelte.dev/e/hydration_attribute_changed`,Bt,zt):console.warn("https://svelte.dev/e/hydration_attribute_changed")}function Bi(e){m?console.warn(`%c[svelte] hydration_html_changed
|
|
22
|
+
%c${e?`The value of an \`{@html ...}\` block ${e} changed between server and client renders. The client value will be ignored in favour of the server value`:"The value of an `{@html ...}` block changed between server and client renders. The client value will be ignored in favour of the server value"}
|
|
23
|
+
https://svelte.dev/e/hydration_html_changed`,Bt,zt):console.warn("https://svelte.dev/e/hydration_html_changed")}function Qt(e){m?console.warn(`%c[svelte] hydration_mismatch
|
|
24
|
+
%c${e?`Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near ${e}`:"Hydration failed because the initial UI does not match what was rendered on the server"}
|
|
25
|
+
https://svelte.dev/e/hydration_mismatch`,Bt,zt):console.warn("https://svelte.dev/e/hydration_mismatch")}function zi(){m?console.warn(`%c[svelte] lifecycle_double_unmount
|
|
26
|
+
%cTried to unmount a component that was not mounted
|
|
27
|
+
https://svelte.dev/e/lifecycle_double_unmount`,Bt,zt):console.warn("https://svelte.dev/e/lifecycle_double_unmount")}function Hi(){m?console.warn("%c[svelte] select_multiple_invalid_value\n%cThe `value` property of a `<select multiple>` element should be an array, but it received a non-array value. The selection will be kept as is.\nhttps://svelte.dev/e/select_multiple_invalid_value",Bt,zt):console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Xo(e){m?console.warn(`%c[svelte] state_proxy_equality_mismatch
|
|
28
|
+
%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${e}\` will produce unexpected results
|
|
29
|
+
https://svelte.dev/e/state_proxy_equality_mismatch`,Bt,zt):console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function Ui(){m?console.warn(`%c[svelte] state_proxy_unmount
|
|
30
|
+
%cTried to unmount a state proxy, rather than a component
|
|
31
|
+
https://svelte.dev/e/state_proxy_unmount`,Bt,zt):console.warn("https://svelte.dev/e/state_proxy_unmount")}function ji(){m?console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `<svelte:boundary>` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",Bt,zt):console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}var w=!1;function oe(e){w=e}var R;function z(e){if(e===null)throw Qt(),Et;return R=e}function ae(){return z(xe(R))}function y(e){if(w){if(xe(R)!==null)throw Qt(),Et;R=e}}function Ae(e=1){if(w){for(var t=e,r=R;t--;)r=xe(r);R=r}}function Ht(e=!0){for(var t=0,r=R;;){if(r.nodeType===De){var o=r.data;if(o===gr){if(t===0)return r;t-=1}else(o===xo||o===kt)&&(t+=1)}var n=xe(r);e&&r.remove(),r=n}}function Ko(e){if(!e||e.nodeType!==De)throw Qt(),Et;return e.data}function Zo(e){return e===this.v}function ia(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Jo(e){return!ia(e,this.v)}var Ie=!1,St=!1,mt=!1;function qi(){St=!0}var go=null;function qe(e,t){return e.label=t,Qo(e.v,t),e}function Qo(e,t){return e?.[Wo]?.(t),e}function Ct(e){let t=new Error,r=Sf();return r.length===0?null:(r.unshift(`
|
|
32
|
+
`),we(t,"stack",{value:r.join(`
|
|
33
|
+
`)}),we(t,"name",{value:e}),t)}function Sf(){let e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;let t=new Error().stack;if(Error.stackTraceLimit=e,!t)return[];let r=t.split(`
|
|
34
|
+
`),o=[];for(let n=0;n<r.length;n++){let a=r[n],i=a.replaceAll("\\","/");if(a.trim()!=="Error"){if(a.includes("validate_each_keys"))return[];i.includes("svelte/src/internal")||i.includes("node_modules/.vite")||o.push(a)}}return o}var O=null;function Ut(e){O=e}var at=null;function Or(e){at=e}var Ze=null;function en(e){Ze=e}function Je(e,t=!1,r){O={p:O,i:!1,c:null,e:null,s:e,x:null,l:St&&!t?{s:null,u:null,$:[]}:null},m&&(O.function=r,Ze=r)}function Qe(e){var t=O,r=t.e;if(r!==null){t.e=null;for(var o of r)la(o)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,m&&(Ze=O?.function??null),e??{}}function $t(){return!St||O!==null&&O.l===null}var wr=[];function Wi(){var e=wr;wr=[],Nr(e)}function pe(e){if(wr.length===0&&!br){var t=wr;queueMicrotask(()=>{t===wr&&Wi()})}wr.push(e)}function Gi(){for(;wr.length>0;)Wi()}var fa=new WeakMap;function tn(e){var t=k;if(t===null)return M.f|=8388608,e;if(m&&e instanceof Error&&!fa.has(e)&&fa.set(e,Cf(e,t)),t.f&32768)Tt(e,t);else{if(!(t.f&128))throw m&&!t.parent&&e instanceof Error&&Yi(e),e;t.b.error(e)}}function Tt(e,t){for(;t!==null;){if(t.f&128)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw m&&e instanceof Error&&Yi(e),e}function Cf(e,t){let r=$e(e,"message");if(!(r&&!r.configurable)){for(var o=wo?" ":" ",n=`
|
|
35
|
+
${o}in ${t.fn?.name||"<unknown>"}`,a=t.ctx;a!==null;)n+=`
|
|
36
|
+
${o}in ${a.function?.[Ne].split("/").pop()}`,a=a.p;return{message:e.message+`
|
|
37
|
+
${n}
|
|
38
|
+
`,stack:e.stack?.split(`
|
|
39
|
+
`).filter(i=>!i.includes("svelte/src/internal")).join(`
|
|
40
|
+
`)}}}function Yi(e){let t=fa.get(e);t&&(we(e,"message",{value:t.message}),we(e,"stack",{value:t.stack}))}var $f=-7169;function Y(e,t){e.f=e.f&$f|t}function Br(e){e.f&512||e.deps===null?Y(e,1024):Y(e,4096)}function Xi(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&32768)||(t.f^=32768,Xi(t.deps))}function rn(e,t,r){e.f&2048?t.add(e):e.f&4096&&r.add(e),Xi(e.deps),Y(e,1024)}var zr=new Set,B=null,bo=null,ye=null,it=[],nn=null,ca=!1,br=!1,Be=class e{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#a=0;#i=null;#n=new Set;#o=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#a>0}process(t){it=[],bo=null,this.apply();var r=[],o=[];for(let n of t)this.#s(n,r,o);this.is_fork||this.#f(),this.is_deferred()?(this.#l(o),this.#l(r)):(bo=this,B=null,Ki(o),Ki(r),bo=null,this.#i?.resolve()),ye=null}#s(t,r,o){t.f^=1024;for(var n=t.first,a=null;n!==null;){var i=n.f,s=(i&96)!==0,l=s&&(i&1024)!==0,c=l||(i&8192)!==0||this.skipped_effects.has(n);if(Ie&&a===null&&i&128&&n.b?.is_pending&&(a=n),!c&&n.fn!==null){s?n.f^=1024:a!==null&&i&16777228?a.b.defer_effect(n):i&4?r.push(n):Ie&&i&16777224?o.push(n):or(n)&&(i&16&&this.#n.add(n),rr(n));var d=n.first;if(d!==null){n=d;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)u===a&&(a=null),n=u.next,u=u.parent}}#l(t){for(var r=0;r<t.length;r+=1)rn(t[r],this.#n,this.#o)}capture(t,r){r!==G&&!this.previous.has(t)&&this.previous.set(t,r),t.f&8388608||(this.current.set(t,t.v),ye?.set(t,t.v))}activate(){B=this,this.apply()}deactivate(){B===this&&(B=null,ye=null)}flush(){if(this.activate(),it.length>0){if(da(),B!==null&&B!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(let t of this.#t)t(this);this.#t.clear()}#f(){if(this.#a===0){for(let t of this.#e)t();this.#e.clear()}this.#r===0&&this.#c()}#c(){if(zr.size>1){this.previous.clear();var t=ye,r=!0;for(let n of zr){if(n===this){r=!1;continue}let a=[];for(let[s,l]of this.current){if(n.current.has(s))if(r&&l!==n.current.get(s))n.current.set(s,l);else continue;a.push(s)}if(a.length===0)continue;let i=[...n.current.keys()].filter(s=>!this.current.has(s));if(i.length>0){var o=it;it=[];let s=new Set,l=new Map;for(let c of a)Zi(c,i,s,l);if(it.length>0){B=n,n.apply();for(let c of it)n.#s(c,[],[]);n.deactivate()}it=o}}B=null,ye=t}this.committed=!0,zr.delete(this)}increment(t){this.#r+=1,t&&(this.#a+=1)}decrement(t){this.#r-=1,t&&(this.#a-=1),this.revive()}revive(){for(let t of this.#n)this.#o.delete(t),Y(t,2048),et(t);for(let t of this.#o)Y(t,4096),et(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#i??=Vo()).promise}static ensure(){if(B===null){let t=B=new e;zr.add(B),br||e.enqueue(()=>{B===t&&t.flush()})}return B}static enqueue(t){pe(t)}apply(){if(!(!Ie||!this.is_fork&&zr.size===1)){ye=new Map(this.current);for(let t of zr)if(t!==this)for(let[r,o]of t.previous)ye.has(r)||ye.set(r,o)}}};function qr(e){var t=br;br=!0;try{var r;for(e&&(B!==null&&da(),r=e());;){if(Gi(),it.length===0&&(B?.flush(),it.length===0))return nn=null,r;da()}}finally{br=t}}function da(){var e=qt;ca=!0;var t=m?new Set:null;try{var r=0;for(Ur(!0);it.length>0;){var o=Be.ensure();if(r++>1e3){if(m){var n=new Map;for(let i of o.current.keys())for(let[s,l]of i.updated??[]){var a=n.get(s);a||(a={error:l.error,count:0},n.set(s,a)),a.count+=l.count}for(let i of n.values())i.error&&console.error(i.error)}Af()}if(o.process(it),At.clear(),m)for(let i of o.current.keys())t.add(i)}}finally{if(ca=!1,Ur(e),nn=null,m)for(let i of t)i.updated=null}}function Af(){try{Ci()}catch(e){m&&we(e,"stack",{value:""}),Tt(e,nn)}}var st=null;function Ki(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var o=e[r++];if(!(o.f&24576)&&or(o)&&(st=new Set,rr(o),o.deps===null&&o.first===null&&o.nodes===null&&(o.teardown===null&&o.ac===null?ua(o):o.fn=null),st?.size>0)){At.clear();for(let n of st){if(n.f&24576)continue;let a=[n],i=n.parent;for(;i!==null;)st.has(i)&&(st.delete(i),a.push(i)),i=i.parent;for(let s=a.length-1;s>=0;s--){let l=a[s];l.f&24576||rr(l)}}st.clear()}}st=null}}function Zi(e,t,r,o){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(let n of e.reactions){let a=n.f;a&2?Zi(n,t,r,o):a&4194320&&!(a&2048)&&Ji(n,t,o)&&(Y(n,2048),et(n))}}function Ji(e,t,r){let o=r.get(e);if(o!==void 0)return o;if(e.deps!==null)for(let n of e.deps){if(t.includes(n))return!0;if(n.f&2&&Ji(n,t,r))return r.set(n,!0),!0}return r.set(e,!1),!1}function et(e){for(var t=nn=e;t.parent!==null;){t=t.parent;var r=t.f;if(ca&&t===k&&r&16&&!(r&262144))return;if(r&96){if(!(r&1024))return;t.f^=1024}}it.push(t)}function Qi(e){let t=0,r=ke(0),o;return m&&qe(r,"createSubscriber version"),()=>{tr()&&(b(r),Ee(()=>(t===0&&(o=j(()=>e(()=>yr(r)))),t+=1,()=>{pe(()=>{t-=1,t===0&&(o?.(),o=void 0,yr(r))})})))}}var Rf=589952;function ma(e,t,r){new pa(e,t,r)}var pa=class{parent;is_pending=!1;#e;#t=w?R:null;#r;#a;#i;#n=null;#o=null;#s=null;#l=null;#f=null;#c=0;#d=0;#p=!1;#m=new Set;#h=new Set;#u=null;#b=Qi(()=>(this.#u=ke(this.#c),m&&qe(this.#u,"$effect.pending()"),()=>{this.#u=null}));constructor(t,r,o){this.#e=t,this.#r=r,this.#a=o,this.parent=k.b,this.is_pending=!!this.#r.pending,this.#i=He(()=>{if(k.b=this,w){let a=this.#t;ae(),a.nodeType===De&&a.data===kt?this.#y():(this.#_(),this.#d===0&&(this.is_pending=!1))}else{var n=this.#g();try{this.#n=fe(()=>o(n))}catch(a){this.error(a)}this.#d>0?this.#x():this.is_pending=!1}return()=>{this.#f?.remove()}},Rf),w&&(this.#e=R)}#_(){try{this.#n=fe(()=>this.#a(this.#e))}catch(t){this.error(t)}}#y(){let t=this.#r.pending;t&&(this.#o=fe(()=>t(this.#e)),Be.enqueue(()=>{var r=this.#g();this.#n=this.#v(()=>(Be.ensure(),fe(()=>this.#a(r)))),this.#d>0?this.#x():(Mt(this.#o,()=>{this.#o=null}),this.is_pending=!1)}))}#g(){var t=this.#e;return this.is_pending&&(this.#f=de(),this.#e.before(this.#f),t=this.#f),t}defer_effect(t){rn(t,this.#m,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#r.pending}#v(t){var r=k,o=M,n=O;ce(this.#i),ie(this.#i),Ut(this.#i.ctx);try{return t()}catch(a){return tn(a),null}finally{ce(r),ie(o),Ut(n)}}#x(){let t=this.#r.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#f),ln(this.#n,this.#l)),this.#o===null&&(this.#o=fe(()=>t(this.#e)))}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}if(this.#d+=t,this.#d===0){this.is_pending=!1;for(let r of this.#m)Y(r,2048),et(r);for(let r of this.#h)Y(r,4096),et(r);this.#m.clear(),this.#h.clear(),this.#o&&Mt(this.#o,()=>{this.#o=null}),this.#l&&(this.#e.before(this.#l),this.#l=null)}}update_pending_count(t){this.#w(t),this.#c+=t,this.#u&>(this.#u,this.#c)}get_effect_pending(){return this.#b(),b(this.#u)}error(t){var r=this.#r.onerror;let o=this.#r.failed;if(this.#p||!r&&!o)throw t;this.#n&&(Z(this.#n),this.#n=null),this.#o&&(Z(this.#o),this.#o=null),this.#s&&(Z(this.#s),this.#s=null),w&&(z(this.#t),Ae(),z(Ht()));var n=!1,a=!1;let i=()=>{if(n){ji();return}n=!0,a&&Di(),Be.ensure(),this.#c=0,this.#s!==null&&Mt(this.#s,()=>{this.#s=null}),this.is_pending=this.has_pending_snippet(),this.#n=this.#v(()=>(this.#p=!1,fe(()=>this.#a(this.#e)))),this.#d>0?this.#x():this.is_pending=!1};var s=M;try{ie(null),a=!0,r?.(t,i),a=!1}catch(l){Tt(l,this.#i&&this.#i.parent)}finally{ie(s)}o&&pe(()=>{this.#s=this.#v(()=>{Be.ensure(),this.#p=!0;try{return fe(()=>{o(this.#e,()=>t,()=>i)})}catch(l){return Tt(l,this.#i.parent),null}finally{this.#p=!1}})})}};function ko(e,t,r,o){let n=$t()?nr:kr;if(r.length===0&&e.length===0){o(t.map(n));return}var a=B,i=k,s=es();function l(){Promise.all(r.map(c=>va(c))).then(c=>{s();try{o([...t.map(n),...c])}catch(d){i.f&16384||Tt(d,i)}a?.deactivate(),Wr()}).catch(c=>{Tt(c,i)})}e.length>0?Promise.all(e).then(()=>{s();try{return l()}finally{a?.deactivate(),Wr()}}):l()}function es(){var e=k,t=M,r=O,o=B;if(m)var n=at;return function(i=!0){ce(e),ie(t),Ut(r),i&&o?.activate(),m&&(ha(null),Or(n))}}function Wr(){ce(null),ie(null),Ut(null),m&&(ha(null),Or(null))}var Eo=null;function ha(e){Eo=e}var So=new Set;function nr(e){var t=2050,r=M!==null&&M.f&2?M:null;k!==null&&(k.f|=524288);let o={ctx:O,deps:null,effects:null,equals:Zo,f:t,fn:e,reactions:null,rv:0,v:G,wv:0,parent:r??k,ac:null};return m&&mt&&(o.created=Ct("created at")),o}function va(e,t,r){let o=k;o===null&&_i();var n=o.b,a=void 0,i=ke(G);m&&(i.label=t);var s=!M,l=new Map;return ts(()=>{m&&(Eo=k);var c=Vo();a=c.promise;try{Promise.resolve(e()).then(c.resolve,c.reject).then(()=>{d===B&&d.committed&&d.deactivate(),Wr()})}catch(p){c.reject(p),Wr()}m&&(Eo=null);var d=B;if(s){var u=n.is_rendered();n.update_pending_count(1),d.increment(u),l.get(d)?.reject(yt),l.delete(d),l.set(d,c)}let f=(p,h=void 0)=>{if(Eo=null,d.activate(),h)h!==yt&&(i.f|=8388608,gt(i,h));else{i.f&8388608&&(i.f^=8388608),gt(i,p);for(let[g,v]of l){if(l.delete(g),g===d)break;v.reject(yt)}m&&r!==void 0&&(So.add(i),setTimeout(()=>{So.has(i)&&(Oi(i.label,r),So.delete(i))}))}s&&(n.update_pending_count(-1),d.decrement(u))};c.promise.then(f,p=>f(null,p||"unknown"))}),ge(()=>{for(let c of l.values())c.reject(yt)}),m&&(i.f|=4194304),new Promise(c=>{function d(u){function f(){u===a?c(i):d(a)}u.then(f,f)}d(a)})}function Gr(e){let t=nr(e);return Ie||dn(t),t}function kr(e){let t=nr(e);return t.equals=Jo,t}function fn(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Z(t[r])}}var xa=[];function Df(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Co(e){var t,r=k;if(ce(Df(e)),m){let o=Er;an(new Set);try{xa.includes(e)&&yi(),xa.push(e),e.f&=-32769,fn(e),t=cn(e)}finally{ce(r),an(o),xa.pop()}}else try{e.f&=-32769,fn(e),t=cn(e)}finally{ce(r)}return t}function ga(e){var t=Co(e);if(!e.equals(t)&&(e.wv=Vr(),(!B?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){Y(e,1024);return}lt||(ye!==null?(tr()||B?.is_fork)&&ye.set(e,t):Br(e))}var Er=new Set,At=new Map;function an(e){Er=e}var wa=!1;function rs(){wa=!0}function ke(e,t){var r={f:0,v:e,reactions:null,equals:Zo,rv:0,wv:0};return m&&mt&&(r.created=t??Ct("created at"),r.updated=null,r.set_during_effect=!1,r.trace=null),r}function Se(e,t){let r=ke(e,t);return dn(r),r}function Sr(e,t=!1,r=!0){let o=ke(e);return t||(o.equals=Jo),St&&r&&O!==null&&O.l!==null&&(O.l.s??=[]).push(o),o}function W(e,t,r=!1){M!==null&&(!We||M.f&131072)&&$t()&&M.f&4325394&&!Rt?.includes(e)&&Pi();let o=r?Wt(t):t;return m&&Qo(o,e.label),gt(e,o)}function gt(e,t){if(!e.equals(t)){var r=e.v;lt?At.set(e,t):At.set(e,r),e.v=t;var o=Be.ensure();if(o.capture(e,r),m){if(mt||k!==null){e.updated??=new Map;let n=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:n}),mt||n>5){let a=Ct("updated at");if(a!==null){let i=e.updated.get(a.stack);i||(i={error:a,count:0},e.updated.set(a.stack,i)),i.count++}}}k!==null&&(e.set_during_effect=!0)}if(e.f&2){let n=e;e.f&2048&&Co(n),Br(n)}e.wv=Vr(),os(e,2048),$t()&&k!==null&&k.f&1024&&!(k.f&96)&&(rt===null?ns([e]):rt.push(e)),!o.is_fork&&Er.size>0&&!wa&&sn()}return t}function sn(){wa=!1;var e=qt;Ur(!0);let t=Array.from(Er);try{for(let r of t)r.f&1024&&Y(r,4096),or(r)&&rr(r)}finally{Ur(e)}Er.clear()}function yo(e,t=1){var r=b(e),o=t===1?r++:r--;return W(e,r),o}function yr(e){W(e,e.v+1)}function os(e,t){var r=e.reactions;if(r!==null)for(var o=$t(),n=r.length,a=0;a<n;a++){var i=r[a],s=i.f;if(!(!o&&i===k)){if(m&&s&131072){Er.add(i);continue}var l=(s&2048)===0;if(l&&Y(i,t),s&2){var c=i;ye?.delete(c),s&32768||(s&512&&(i.f|=32768),os(c,4096))}else l&&(s&16&&st!==null&&st.add(i),et(i))}}}var Nf=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function Wt(e){if(typeof e!="object"||e===null||ue in e)return e;let t=vr(e);if(t!==ra&&t!==gi)return e;var r=new Map,o=pt(e),n=Se(0),a=m&&mt?Ct("created at"):null,i=ar,s=u=>{if(ar===i)return u();var f=M,p=ar;ie(null),ba(i);var h=u();return ie(f),ba(p),h};o&&(r.set("length",Se(e.length,a)),m&&(e=Of(e)));var l="";let c=!1;function d(u){if(!c){c=!0,l=u,qe(n,`${l} version`);for(let[f,p]of r)qe(p,Cr(l,f));c=!1}}return new Proxy(e,{defineProperty(u,f,p){(!("value"in p)||p.configurable===!1||p.enumerable===!1||p.writable===!1)&&Ri();var h=r.get(f);return h===void 0?h=s(()=>{var g=Se(p.value,a);return r.set(f,g),m&&typeof f=="string"&&qe(g,Cr(l,f)),g}):W(h,p.value,!0),!0},deleteProperty(u,f){var p=r.get(f);if(p===void 0){if(f in u){let h=s(()=>Se(G,a));r.set(f,h),yr(n),m&&qe(h,Cr(l,f))}}else W(p,G),yr(n);return!0},get(u,f,p){if(f===ue)return e;if(m&&f===Wo)return d;var h=r.get(f),g=f in u;if(h===void 0&&(!g||$e(u,f)?.writable)&&(h=s(()=>{var x=Wt(g?u[f]:G),D=Se(x,a);return m&&qe(D,Cr(l,f)),D}),r.set(f,h)),h!==void 0){var v=b(h);return v===G?void 0:v}return Reflect.get(u,f,p)},getOwnPropertyDescriptor(u,f){var p=Reflect.getOwnPropertyDescriptor(u,f);if(p&&"value"in p){var h=r.get(f);h&&(p.value=b(h))}else if(p===void 0){var g=r.get(f),v=g?.v;if(g!==void 0&&v!==G)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return p},has(u,f){if(f===ue)return!0;var p=r.get(f),h=p!==void 0&&p.v!==G||Reflect.has(u,f);if(p!==void 0||k!==null&&(!h||$e(u,f)?.writable)){p===void 0&&(p=s(()=>{var v=h?Wt(u[f]):G,x=Se(v,a);return m&&qe(x,Cr(l,f)),x}),r.set(f,p));var g=b(p);if(g===G)return!1}return h},set(u,f,p,h){var g=r.get(f),v=f in u;if(o&&f==="length")for(var x=p;x<g.v;x+=1){var D=r.get(x+"");D!==void 0?W(D,G):x in u&&(D=s(()=>Se(G,a)),r.set(x+"",D),m&&qe(D,Cr(l,x)))}if(g===void 0)(!v||$e(u,f)?.writable)&&(g=s(()=>Se(void 0,a)),m&&qe(g,Cr(l,f)),W(g,Wt(p)),r.set(f,g));else{v=g.v!==G;var C=s(()=>Wt(p));W(g,C)}var T=Reflect.getOwnPropertyDescriptor(u,f);if(T?.set&&T.set.call(h,p),!v){if(o&&typeof f=="string"){var N=r.get("length"),A=Number(f);Number.isInteger(A)&&A>=N.v&&W(N,A+1)}yr(n)}return!0},ownKeys(u){b(n);var f=Reflect.ownKeys(u).filter(g=>{var v=r.get(g);return v===void 0||v.v!==G});for(var[p,h]of r)h.v!==G&&!(p in u)&&f.push(p);return f},setPrototypeOf(){Li()}})}function Cr(e,t){return typeof t=="symbol"?`${e}[Symbol(${t.description??""})]`:Nf.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function Yr(e){try{if(e!==null&&typeof e=="object"&&ue in e)return e[ue]}catch{}return e}function _a(e,t){return Object.is(Yr(e),Yr(t))}var If=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function Of(e){return new Proxy(e,{get(t,r,o){var n=Reflect.get(t,r,o);return If.has(r)?function(...a){rs();var i=n.apply(this,a);return sn(),i}:n}})}function as(){let e=Array.prototype,t=Array.__svelte_cleanup;t&&t();let{indexOf:r,lastIndexOf:o,includes:n}=e;e.indexOf=function(a,i){let s=r.call(this,a,i);if(s===-1){for(let l=i??0;l<this.length;l+=1)if(Yr(this[l])===a){Xo("array.indexOf(...)");break}}return s},e.lastIndexOf=function(a,i){let s=o.call(this,a,i??this.length-1);if(s===-1){for(let l=0;l<=(i??this.length-1);l+=1)if(Yr(this[l])===a){Xo("array.lastIndexOf(...)");break}}return s},e.includes=function(a,i){let s=n.call(this,a,i);if(!s){for(let l=0;l<this.length;l+=1)if(Yr(this[l])===a){Xo("array.includes(...)");break}}return s},Array.__svelte_cleanup=()=>{e.indexOf=r,e.lastIndexOf=o,e.includes=n}}var ya,is,wo,ss,ls;function un(){if(ya===void 0){ya=window,is=document,wo=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;ss=$e(t,"firstChild").get,ls=$e(t,"nextSibling").get,oa(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),oa(r)&&(r.__t=void 0),m&&(e.__svelte_meta=null,as())}}function de(e=""){return document.createTextNode(e)}function X(e){return ss.call(e)}function xe(e){return ls.call(e)}function S(e,t){if(!w)return X(e);var r=X(R);if(r===null)r=R.appendChild(de());else if(t&&r.nodeType!==ho){var o=de();return r?.before(o),z(o),o}return z(r),r}function H(e,t=!1){if(!w){var r=X(e);return r instanceof Comment&&r.data===""?xe(r):r}if(t&&R?.nodeType!==ho){var o=de();return R?.before(o),z(o),o}return R}function L(e,t=1,r=!1){let o=w?R:e;for(var n;t--;)n=o,o=xe(o);if(!w)return o;if(r&&o?.nodeType!==ho){var a=de();return o===null?n?.after(a):o.before(a),z(a),a}return z(o),o}function $o(e){e.textContent=""}function pn(){if(!Ie||st!==null)return!1;var e=k.f;return(e&32768)!==0}function ka(e,t){if(t){let r=document.body;e.autofocus=!0,pe(()=>{document.activeElement===r&&e.focus()})}}var fs=!1;function mn(){fs||(fs=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Gt(e){var t=M,r=k;ie(null),ce(null);try{return e()}finally{ie(t),ce(r)}}function Ea(e,t,r,o=r){e.addEventListener(t,()=>Gt(r));let n=e.__on_r;n?e.__on_r=()=>{n(),o(!0)}:e.__on_r=()=>o(!0),mn()}function Ca(e){k===null&&(M===null&&Si(e),Ei()),lt&&ki(e)}function Ff(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ft(e,t,r){var o=k;if(m)for(;o!==null&&o.f&131072;)o=o.parent;o!==null&&o.f&8192&&(e|=8192);var n={ctx:O,deps:null,nodes:null,f:e|2048|512,first:null,fn:t,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,wv:0,ac:null};if(m&&(n.component_function=Ze),r)try{rr(n),n.f|=32768}catch(s){throw Z(n),s}else t!==null&&et(n);var a=n;if(r&&a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&!(a.f&524288)&&(a=a.first,e&16&&e&65536&&a!==null&&(a.f|=65536)),a!==null&&(a.parent=o,o!==null&&Ff(a,o),M!==null&&M.f&2&&!(e&64))){var i=M;(i.effects??=[]).push(a)}return n}function tr(){return M!==null&&!We}function ge(e){let t=ft(8,null,!1);return Y(t,1024),t.teardown=e,t}function Xr(e){Ca("$effect"),m&&we(e,"name",{value:"$effect"});var t=k.f,r=!M&&(t&32)!==0&&(t&32768)===0;if(r){var o=O;(o.e??=[]).push(e)}else return la(e)}function la(e){return ft(1048580,e,!1)}function To(e){return Ca("$effect.pre"),m&&we(e,"name",{value:"$effect.pre"}),ft(1048584,e,!0)}function $a(e){Be.ensure();let t=ft(524352,e,!0);return()=>{Z(t)}}function ds(e){Be.ensure();let t=ft(524352,e,!0);return(r={})=>new Promise(o=>{r.outro?Mt(t,()=>{Z(t),o(void 0)}):(Z(t),o(void 0))})}function Ue(e){return ft(4,e,!1)}function ts(e){return ft(4718592,e,!0)}function Ee(e,t=0){return ft(8|t,e,!0)}function te(e,t=[],r=[],o=[]){ko(o,t,r,n=>{ft(8,()=>e(...n.map(b)),!0)})}function He(e,t=0){var r=ft(16|t,e,!0);return m&&(r.dev_stack=at),r}function hn(e,t=0){var r=ft(16777216|t,e,!0);return m&&(r.dev_stack=at),r}function fe(e){return ft(524320,e,!0)}function Ta(e){var t=e.teardown;if(t!==null){let r=lt,o=M;Sa(!0),ie(null);try{t.call(null)}finally{Sa(r),ie(o)}}}function Aa(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){let n=r.ac;n!==null&&Gt(()=>{n.abort(yt)});var o=r.next;r.f&64?r.parent=null:Z(r,t),r=o}}function us(e){for(var t=e.first;t!==null;){var r=t.next;t.f&32||Z(t),t=r}}function Z(e,t=!0){var r=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Ma(e.nodes.start,e.nodes.end),r=!0),Aa(e,t&&!r),Mo(e,0),Y(e,16384);var o=e.nodes&&e.nodes.t;if(o!==null)for(let a of o)a.stop();Ta(e);var n=e.parent;n!==null&&n.first!==null&&ua(e),m&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Ma(e,t){for(;e!==null;){var r=e===t?null:xe(e);e.remove(),e=r}}function ua(e){var t=e.parent,r=e.prev,o=e.next;r!==null&&(r.next=o),o!==null&&(o.prev=r),t!==null&&(t.first===e&&(t.first=o),t.last===e&&(t.last=r))}function Mt(e,t,r=!0){var o=[];ps(e,o,!0);var n=()=>{r&&Z(e),t&&t()},a=o.length;if(a>0){var i=()=>--a||n();for(var s of o)s.out(i)}else n()}function ps(e,t,r){if(!(e.f&8192)){e.f^=8192;var o=e.nodes&&e.nodes.t;if(o!==null)for(let s of o)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var a=n.next,i=(n.f&65536)!==0||(n.f&32)!==0&&(e.f&16)!==0;ps(n,t,i?r:!1),n=a}}}function Ao(e){ms(e,!0)}function ms(e,t){if(e.f&8192){e.f^=8192,e.f&1024||(Y(e,2048),et(e));for(var r=e.first;r!==null;){var o=r.next,n=(r.f&65536)!==0||(r.f&32)!==0;ms(r,n?t:!1),r=o}var a=e.nodes&&e.nodes.t;if(a!==null)for(let i of a)(i.is_global||t)&&i.in()}}function ln(e,t){if(e.nodes)for(var r=e.nodes.start,o=e.nodes.end;r!==null;){var n=r===o?null:xe(r);t.append(r),r=n}}var hs=null;var qt=!1;function Ur(e){qt=e}var lt=!1;function Sa(e){lt=e}var M=null,We=!1;function ie(e){M=e}var k=null;function ce(e){k=e}var Rt=null;function dn(e){M!==null&&(!Ie||M.f&2)&&(Rt===null?Rt=[e]:Rt.push(e))}var Ge=null,ot=0,rt=null;function ns(e){rt=e}var vs=1,$r=0,ar=$r;function ba(e){ar=e}function Vr(){return++vs}function or(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=-32769),t&4096){for(var r=e.deps,o=r.length,n=0;n<o;n++){var a=r[n];if(or(a)&&ga(a),a.wv>e.wv)return!0}t&512&&ye===null&&Y(e,1024)}return!1}function xs(e,t,r=!0){var o=e.reactions;if(o!==null&&!(!Ie&&Rt?.includes(e)))for(var n=0;n<o.length;n++){var a=o[n];a.f&2?xs(a,t,!1):t===a&&(r?Y(a,2048):a.f&1024&&Y(a,4096),et(a))}}function cn(e){var t=Ge,r=ot,o=rt,n=M,a=Rt,i=O,s=We,l=ar,c=e.f;Ge=null,ot=0,rt=null,M=c&96?null:e,Rt=null,Ut(e.ctx),We=!1,ar=++$r,e.ac!==null&&(Gt(()=>{e.ac.abort(yt)}),e.ac=null);try{e.f|=2097152;var d=e.fn,u=d(),f=e.deps;if(Ge!==null){var p;if(Mo(e,ot),f!==null&&ot>0)for(f.length=ot+Ge.length,p=0;p<Ge.length;p++)f[ot+p]=Ge[p];else e.deps=f=Ge;if(tr()&&e.f&512)for(p=ot;p<f.length;p++)(f[p].reactions??=[]).push(e)}else f!==null&&ot<f.length&&(Mo(e,ot),f.length=ot);if($t()&&rt!==null&&!We&&f!==null&&!(e.f&6146))for(p=0;p<rt.length;p++)xs(rt[p],e);if(n!==null&&n!==e){if($r++,n.deps!==null)for(let h=0;h<r;h+=1)n.deps[h].rv=$r;if(t!==null)for(let h of t)h.rv=$r;rt!==null&&(o===null?o=rt:o.push(...rt))}return e.f&8388608&&(e.f^=8388608),u}catch(h){return tn(h)}finally{e.f^=2097152,Ge=t,ot=r,rt=o,M=n,Rt=a,Ut(i),We=s,ar=l}}function Bf(e,t){let r=t.reactions;if(r!==null){var o=xi.call(r,e);if(o!==-1){var n=r.length-1;n===0?r=t.reactions=null:(r[o]=r[n],r.pop())}}if(r===null&&t.f&2&&(Ge===null||!Ge.includes(t))){var a=t;a.f&512&&(a.f^=512,a.f&=-32769),Br(a),fn(a),Mo(a,0)}}function Mo(e,t){var r=e.deps;if(r!==null)for(var o=t;o<r.length;o++)Bf(e,r[o])}function rr(e){var t=e.f;if(!(t&16384)){Y(e,1024);var r=k,o=qt;if(k=e,qt=!0,m){var n=Ze;en(e.component_function);var a=at;Or(e.dev_stack??at)}try{t&16777232?us(e):Aa(e),Ta(e);var i=cn(e);if(e.teardown=typeof i=="function"?i:null,e.wv=vs,m&&mt&&e.f&2048&&e.deps!==null)for(var s of e.deps)s.set_during_effect&&(s.wv=Vr(),s.set_during_effect=!1)}finally{qt=o,k=r,m&&(en(n),Or(a))}}}function b(e){var t=e.f,r=(t&2)!==0;if(hs?.add(e),M!==null&&!We){var o=k!==null&&(k.f&16384)!==0;if(!o&&!Rt?.includes(e)){var n=M.deps;if(M.f&2097152)e.rv<$r&&(e.rv=$r,Ge===null&&n!==null&&n[ot]===e?ot++:Ge===null?Ge=[e]:Ge.push(e));else{(M.deps??=[]).push(e);var a=e.reactions;a===null?e.reactions=[M]:a.includes(M)||a.push(M)}}}if(m&&(So.delete(e),mt&&!We&&go!==null&&M!==null&&go.reaction===M))if(e.trace)e.trace();else{var i=Ct("traced at");if(i){var s=go.entries.get(e);s===void 0&&(s={traces:[]},go.entries.set(e,s));var l=s.traces[s.traces.length-1];i.stack!==l?.stack&&s.traces.push(i)}}if(lt&&At.has(e))return At.get(e);if(r){var c=e;if(lt){var d=c.v;return(!(c.f&1024)&&c.reactions!==null||ws(c))&&(d=Co(c)),At.set(c,d),d}var u=(c.f&512)===0&&!We&&M!==null&&(qt||(M.f&512)!==0),f=c.deps===null;or(c)&&(u&&(c.f|=512),ga(c)),u&&!f&&gs(c)}if(ye?.has(e))return ye.get(e);if(e.f&8388608)throw e.v;return e.v}function gs(e){if(e.deps!==null){e.f|=512;for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&gs(t)}}function ws(e){if(e.v===G)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(At.has(t)||t.f&2&&ws(t))return!0;return!1}function j(e){var t=We;try{return We=!0,e()}finally{We=t}}function Lt(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(ue in e)vn(e);else if(!Array.isArray(e))for(let t in e){let r=e[t];typeof r=="object"&&r&&ue in r&&vn(r)}}}function vn(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let o in e)try{vn(e[o],t)}catch{}let r=vr(e);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){let o=qo(r);for(let n in o){let a=o[n].get;if(a)try{a.call(e)}catch{}}}}}var zf=/\r/g;function bs(e){e=e.replace(zf,"");let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}function _s(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}var Hf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function ys(e){return Hf.includes(e)}var Uf=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];var jf={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ks(e){return e=e.toLowerCase(),jf[e]??e}var dv=[...Uf,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];var qf=["touchstart","touchmove"];function Es(e){return qf.includes(e)}var Vf=["$state","$state.raw","$derived","$derived.by"],uv=[...Vf,"$state.eager","$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$effect.pending","$inspect","$inspect().with","$inspect.trace","$host"];var Wf=["textarea","script","style","title"];function Ss(e){return Wf.includes(e)}function xn(e){return e?.replace(/\//g,"/\u200B")}var Cs=new Map;function $s(e,t){var r=Cs.get(e);r||(r=new Set,Cs.set(e,r)),r.add(t)}var La=new Set,gn=new Set;function Pa(e,t,r,o={}){function n(a){if(o.capture||Kr.call(t,a),!a.cancelBubble)return Gt(()=>r?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?pe(()=>{t.addEventListener(e,n,o)}):t.addEventListener(e,n,o),n}function wn(e,t,r,o,n){var a={capture:o,passive:n},i=Pa(e,t,r,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ge(()=>{t.removeEventListener(e,i,a)})}function Yt(e){for(var t=0;t<e.length;t++)La.add(e[t]);for(var r of gn)r(e)}var Ts=null;function Kr(e){var t=this,r=t.ownerDocument,o=e.type,n=e.composedPath?.()||[],a=n[0]||e.target;Ts=e;var i=0,s=Ts===e&&e.__root;if(s){var l=n.indexOf(s);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var c=n.indexOf(t);if(c===-1)return;l<=c&&(i=l)}if(a=n[i]||e.target,a!==t){we(e,"currentTarget",{configurable:!0,get(){return a||r}});var d=M,u=k;ie(null),ce(null);try{for(var f,p=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a["__"+o];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(v){f?p.push(v):f=v}if(e.cancelBubble||h===t||h===null)break;a=h}if(f){for(let v of p)queueMicrotask(()=>{throw v});throw f}}finally{e.__root=t,delete e.currentTarget,ie(d),ce(u)}}}function Zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Me(e,t){var r=k;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function U(e,t){var r=(t&1)!==0,o=(t&2)!==0,n,a=!e.startsWith("<!>");return()=>{if(w)return Me(R,null),R;n===void 0&&(n=Zr(a?e:"<!>"+e),r||(n=X(n)));var i=o||wo?document.importNode(n,!0):n.cloneNode(!0);if(r){var s=X(i),l=i.lastChild;Me(s,l)}else Me(i,i);return i}}function Kf(e,t,r="svg"){var o=!e.startsWith("<!>"),n=(t&1)!==0,a=`<${r}>${o?e:"<!>"+e}</${r}>`,i;return()=>{if(w)return Me(R,null),R;if(!i){var s=Zr(a),l=X(s);if(n)for(i=document.createDocumentFragment();X(l);)i.appendChild(X(l));else i=X(l)}var c=i.cloneNode(!0);if(n){var d=X(c),u=c.lastChild;Me(d,u)}else Me(c,c);return c}}function Da(e,t){return Kf(e,t,"svg")}function se(){if(w)return Me(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=de();return e.append(t,r),Me(t,r),e}function $(e,t){if(w){var r=k;(!(r.f&32768)||r.nodes.end===null)&&(r.nodes.end=R),ae();return}e!==null&&e.before(t)}var bn=!0;function Qr(e){bn=e}function J(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function ct(e,t){return Ms(e,t)}function Ia(e,t){un(),t.intro=t.intro??!1;let r=t.target,o=w,n=R;try{for(var a=X(r);a&&(a.nodeType!==De||a.data!==xo);)a=xe(a);if(!a)throw Et;oe(!0),z(a);let i=Ms(e,{...t,anchor:a});return oe(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
41
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw i;return i!==Et&&console.warn("Failed to hydrate: ",i),t.recover===!1&&$i(),un(),$o(r),oe(!1),ct(e,t)}finally{oe(o),z(n)}}var Jr=new Map;function Ms(e,{target:t,anchor:r,props:o={},events:n,context:a,intro:i=!0}){un();var s=new Set,l=u=>{for(var f=0;f<u.length;f++){var p=u[f];if(!s.has(p)){s.add(p);var h=Es(p);t.addEventListener(p,Kr,{passive:h});var g=Jr.get(p);g===void 0?(document.addEventListener(p,Kr,{passive:h}),Jr.set(p,1)):Jr.set(p,g+1)}}};l(Dr(La)),gn.add(l);var c=void 0,d=ds(()=>{var u=r??t.appendChild(de());return ma(u,{pending:()=>{}},f=>{if(a){Je({});var p=O;p.c=a}if(n&&(o.$$events=n),w&&Me(f,null),bn=i,c=e(f,o)||{},bn=!0,w&&(k.nodes.end=R,R===null||R.nodeType!==De||R.data!==gr))throw Qt(),Et;a&&Qe()}),()=>{for(var f of s){t.removeEventListener(f,Kr);var p=Jr.get(f);--p===0?(document.removeEventListener(f,Kr),Jr.delete(f)):Jr.set(f,p)}gn.delete(l),u!==r&&u.parentNode?.removeChild(u)}});return Na.set(c,d),c}var Na=new WeakMap;function wt(e,t){let r=Na.get(e);return r?(Na.delete(e),r(t)):(m&&(ue in e?Ui():zi()),Promise.resolve())}var bt=class{anchor;#e=new Map;#t=new Map;#r=new Map;#a=new Set;#i=!0;constructor(t,r=!0){this.anchor=t,this.#i=r}#n=()=>{var t=B;if(this.#e.has(t)){var r=this.#e.get(t),o=this.#t.get(r);if(o)Ao(o),this.#a.delete(r);else{var n=this.#r.get(r);n&&(this.#t.set(r,n.effect),this.#r.delete(r),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),o=n.effect)}for(let[a,i]of this.#e){if(this.#e.delete(a),a===t)break;let s=this.#r.get(i);s&&(Z(s.effect),this.#r.delete(i))}for(let[a,i]of this.#t){if(a===r||this.#a.has(a))continue;let s=()=>{if(Array.from(this.#e.values()).includes(a)){var c=document.createDocumentFragment();ln(i,c),c.append(de()),this.#r.set(a,{effect:i,fragment:c})}else Z(i);this.#a.delete(a),this.#t.delete(a)};this.#i||!o?(this.#a.add(a),Mt(i,s,!1)):s()}}};#o=t=>{this.#e.delete(t);let r=Array.from(this.#e.values());for(let[o,n]of this.#r)r.includes(o)||(Z(n.effect),this.#r.delete(o))};ensure(t,r){var o=B,n=pn();if(r&&!this.#t.has(t)&&!this.#r.has(t))if(n){var a=document.createDocumentFragment(),i=de();a.append(i),this.#r.set(t,{effect:fe(()=>r(i)),fragment:a})}else this.#t.set(t,fe(()=>r(this.anchor)));if(this.#e.set(o,t),n){for(let[s,l]of this.#t)s===t?o.skipped_effects.delete(l):o.skipped_effects.add(l);for(let[s,l]of this.#r)s===t?o.skipped_effects.delete(l.effect):o.skipped_effects.add(l.effect);o.oncommit(this.#n),o.ondiscard(this.#o)}else w&&(this.anchor=R),this.#n()}};function Ce(e,t,r=!1){w&&ae();var o=new bt(e),n=r?65536:0;function a(i,s){if(w){let c=Ko(e)===kt;if(i===c){var l=Ht();z(l),o.anchor=l,oe(!1),o.ensure(i,s),oe(!0);return}}o.ensure(i,s)}He(()=>{var i=!1;t((s,l=!0)=>{i=!0,a(l,s)}),i||a(!1,null)},n)}function Pt(e,t){return t}function tc(e,t,r){for(var o=[],n=t.length,a,i=t.length,s=0;s<n;s++){let u=t[s];Mt(u,()=>{if(a){if(a.pending.delete(u),a.done.add(u),a.pending.size===0){var f=e.outrogroups;Oa(Dr(a.done)),f.delete(a),f.size===0&&(e.outrogroups=null)}}else i-=1},!1)}if(i===0){var l=o.length===0&&r!==null;if(l){var c=r,d=c.parentNode;$o(d),d.append(c),e.items.clear()}Oa(t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Oa(e,t=!0){for(var r=0;r<e.length;r++)Z(e[r],t)}var Rs;function Dt(e,t,r,o,n,a=null){var i=e,s=new Map,l=(t&4)!==0;if(l){var c=e;i=w?z(X(c)):c.appendChild(de())}w&&ae();var d=null,u=kr(()=>{var x=r();return pt(x)?x:x==null?[]:Dr(x)}),f,p=!0;function h(){v.fallback=d,rc(v,f,i,t,o),d!==null&&(f.length===0?d.f&33554432?(d.f^=33554432,Ro(d,null,i)):Ao(d):Mt(d,()=>{d=null}))}var g=He(()=>{f=b(u);var x=f.length;let D=!1;if(w){var C=Ko(i)===kt;C!==(x===0)&&(i=Ht(),z(i),oe(!1),D=!0)}for(var T=new Set,N=B,A=pn(),_=0;_<x;_+=1){w&&R.nodeType===De&&R.data===gr&&(i=R,D=!0,oe(!1));var P=f[_],q=o(P,_),E=p?null:s.get(q);E?(E.v&>(E.v,P),E.i&>(E.i,_),A&&N.skipped_effects.delete(E.e)):(E=oc(s,p?i:Rs??=de(),P,q,_,n,t,r),p||(E.e.f|=33554432),s.set(q,E)),T.add(q)}if(x===0&&a&&!d&&(p?d=fe(()=>a(i)):(d=fe(()=>a(Rs??=de())),d.f|=33554432)),w&&x>0&&z(Ht()),!p)if(A){for(let[I,F]of s)T.has(I)||N.skipped_effects.add(F.e);N.oncommit(h),N.ondiscard(()=>{})}else h();D&&oe(!0),b(u)}),v={effect:g,flags:t,items:s,outrogroups:null,fallback:d};p=!1,w&&(i=R)}function rc(e,t,r,o,n){var a=(o&8)!==0,i=t.length,s=e.items,l=e.effect.first,c,d=null,u,f=[],p=[],h,g,v,x;if(a)for(x=0;x<i;x+=1)h=t[x],g=n(h,x),v=s.get(g).e,v.f&33554432||(v.nodes?.a?.measure(),(u??=new Set).add(v));for(x=0;x<i;x+=1){if(h=t[x],g=n(h,x),v=s.get(g).e,e.outrogroups!==null)for(let E of e.outrogroups)E.pending.delete(v),E.done.delete(v);if(v.f&33554432)if(v.f^=33554432,v===l)Ro(v,null,r);else{var D=d?d.next:l;v===e.effect.last&&(e.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),ir(e,d,v),ir(e,v,D),Ro(v,D,r),d=v,f=[],p=[],l=d.next;continue}if(v.f&8192&&(Ao(v),a&&(v.nodes?.a?.unfix(),(u??=new Set).delete(v))),v!==l){if(c!==void 0&&c.has(v)){if(f.length<p.length){var C=p[0],T;d=C.prev;var N=f[0],A=f[f.length-1];for(T=0;T<f.length;T+=1)Ro(f[T],C,r);for(T=0;T<p.length;T+=1)c.delete(p[T]);ir(e,N.prev,A.next),ir(e,d,N),ir(e,A,C),l=C,d=A,x-=1,f=[],p=[]}else c.delete(v),Ro(v,l,r),ir(e,v.prev,v.next),ir(e,v,d===null?e.effect.first:d.next),ir(e,d,v),d=v;continue}for(f=[],p=[];l!==null&&l!==v;)(c??=new Set).add(l),p.push(l),l=l.next;if(l===null)continue}v.f&33554432||f.push(v),d=v,l=v.next}if(e.outrogroups!==null){for(let E of e.outrogroups)E.pending.size===0&&(Oa(Dr(E.done)),e.outrogroups?.delete(E));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||c!==void 0){var _=[];if(c!==void 0)for(v of c)v.f&8192||_.push(v);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&_.push(l),l=l.next;var P=_.length;if(P>0){var q=o&4&&i===0?r:null;if(a){for(x=0;x<P;x+=1)_[x].nodes?.a?.measure();for(x=0;x<P;x+=1)_[x].nodes?.a?.fix()}tc(e,_,q)}}a&&pe(()=>{if(u!==void 0)for(v of u)v.nodes?.a?.apply()})}function oc(e,t,r,o,n,a,i,s){var l=i&1?i&16?ke(r):Sr(r,!1,!1):null,c=i&2?ke(n):null;return m&&l&&(l.trace=()=>{s()[c?.v??n]}),{v:l,i:c,e:fe(()=>(a(t,l??r,c??n,s),()=>{e.delete(o)}))}}function Ro(e,t,r){if(e.nodes)for(var o=e.nodes.start,n=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:r;o!==null;){var i=xe(o);if(a.before(o),o===n)return;o=i}}function ir(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function nc(e,t,r){if(!t||t===bs(String(r??"")))return;let o,n=e.__svelte_meta?.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:Ze?.[Ne]&&(o=`in ${Ze[Ne]}`),Bi(xn(o))}function Fa(e,t,r=!1,o=!1,n=!1){var a=e,i="";te(()=>{var s=k;if(i===(i=t()??"")){w&&ae();return}if(s.nodes!==null&&(Ma(s.nodes.start,s.nodes.end),s.nodes=null),i!==""){if(w){for(var l=R.data,c=ae(),d=c;c!==null&&(c.nodeType!==De||c.data!=="");)d=c,c=xe(c);if(c===null)throw Qt(),Et;m&&!n&&nc(c.parentNode,l,i),Me(R,d),a=z(c);return}var u=i+"";r?u=`<svg>${u}</svg>`:o&&(u=`<math>${u}</math>`);var f=Zr(u);if((r||o)&&(f=X(f)),Me(X(f),f.lastChild),r||o)for(;X(f);)a.before(X(f));else a.before(f)}})}function le(e,t,r,o,n){w&&ae();var a=t.$$slots?.[r],i=!1;a===!0&&(a=t[r==="default"?"children":r],i=!0),a===void 0?n!==null&&n(e):a(e,i?()=>o:o)}function Ba(e,t,...r){var o=new bt(e);He(()=>{let n=t()??null;m&&n==null&&Ti(),o.ensure(n,n&&(a=>n(a,...r)))},65536)}var lc=null;function za(e){lc=e}function Ha(e,t,r,o,n,a){let i=w;w&&ae();var s=m&&a&&O?.function[Ne],l=null;w&&R.nodeType===Go&&(l=R,ae());var c=w?R:e,d=k,u=new bt(c,!1);He(()=>{let f=t()||null;var p=n?n():r||f==="svg"?Yo:null;if(f===null){u.ensure(null,null),Qr(!0);return}return u.ensure(f,h=>{if(f){if(l=w?l:p?document.createElementNS(p,f):document.createElement(f),m&&a&&(l.__svelte_meta={parent:at,loc:{file:s,line:a[0],column:a[1]}}),Me(l,l),o){w&&Ss(f)&&l.append(document.createComment(""));var g=w?X(l):l.appendChild(de());w&&(g===null?oe(!1):z(g)),za(d),o(l,g),za(null)}k.nodes.end=l,h.before(l)}w&&z(h)}),Qr(!0),()=>{f&&Qr(!1)}},65536),ge(()=>{Qr(!0)}),i&&(oe(!0),z(c))}function dt(e,t){Ue(()=>{var r=e.getRootNode(),o=r.host?r:r.head??r.ownerDocument.head;if(!o.querySelector("#"+t.hash)){let n=document.createElement("style");n.id=t.hash,n.textContent=t.code,o.appendChild(n),m&&$s(t.hash,n)}})}function _n(e,t){var r=void 0,o;hn(()=>{r!==(r=t())&&(o&&(Z(o),o=null),r&&(o=fe(()=>{Ue(()=>r(e))})))})}function Ps(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Ps(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ds(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Ps(e))&&(o&&(o+=" "),o+=t);return o}function ja(e){return typeof e=="object"?Ds(e):e??""}var Ns=[...`
|
|
42
|
+
\r\f\xA0\v\uFEFF`];function Os(e,t,r){var o=e==null?"":""+e;if(t&&(o=o?o+" "+t:t),r){for(var n in r)if(r[n])o=o?o+" "+n:n;else if(o.length)for(var a=n.length,i=0;(i=o.indexOf(n,i))>=0;){var s=i+a;(i===0||Ns.includes(o[i-1]))&&(s===o.length||Ns.includes(o[s]))?o=(i===0?"":o.substring(0,i))+o.substring(s+1):i=s}}return o===""?null:o}function Is(e,t=!1){var r=t?" !important;":";",o="";for(var n in e){var a=e[n];a!=null&&a!==""&&(o+=" "+n+": "+a+r)}return o}function Ua(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Fs(e,t){if(t){var r="",o,n;if(Array.isArray(t)?(o=t[0],n=t[1]):o=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var a=!1,i=0,s=!1,l=[];o&&l.push(...Object.keys(o).map(Ua)),n&&l.push(...Object.keys(n).map(Ua));var c=0,d=-1;let g=e.length;for(var u=0;u<g;u++){var f=e[u];if(s?f==="/"&&e[u-1]==="*"&&(s=!1):a?a===f&&(a=!1):f==="/"&&e[u+1]==="*"?s=!0:f==='"'||f==="'"?a=f:f==="("?i++:f===")"&&i--,!s&&a===!1&&i===0){if(f===":"&&d===-1)d=u;else if(f===";"||u===g-1){if(d!==-1){var p=Ua(e.substring(c,d).trim());if(!l.includes(p)){f!==";"&&u++;var h=e.substring(c,u).trim();r+=" "+h+";"}}c=u+1,d=-1}}}}return o&&(r+=Is(o)),n&&(r+=Is(n,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function Kt(e,t,r,o,n,a){var i=e.__className;if(w||i!==r||i===void 0){var s=Os(r,o,a);(!w||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s)),e.__className=r}else if(a&&n!==a)for(var l in a){var c=!!a[l];(n==null||c!==!!n[l])&&e.classList.toggle(l,c)}return a}function qa(e,t={},r,o){for(var n in r){var a=r[n];t[n]!==a&&(r[n]==null?e.style.removeProperty(n):e.style.setProperty(n,a,o))}}function Ar(e,t,r,o){var n=e.__style;if(w||n!==t){var a=Fs(t,o);(!w||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}else o&&(Array.isArray(o)?(qa(e,r?.[0],o[0]),qa(e,r?.[1],o[1],"important")):qa(e,r,o));return o}function Lo(e,t,r=!1){if(e.multiple){if(t==null)return;if(!pt(t))return Hi();for(var o of e.options)o.selected=t.includes(Bs(o));return}for(o of e.options){var n=Bs(o);if(_a(n,t)){o.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Va(e){var t=new MutationObserver(()=>{Lo(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ge(()=>{t.disconnect()})}function Bs(e){return"__value"in e?e.__value:e.value}var eo=Symbol("class"),to=Symbol("style"),Us=Symbol("is custom element"),js=Symbol("is html");function yn(e){if(w){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var o=e.value;Mr(e,"value",null),e.value=o}if(e.hasAttribute("checked")){var n=e.checked;Mr(e,"checked",null),e.checked=n}}};e.__on_r=r,pe(r),mn()}}function qs(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Mr(e,t,r,o){var n=Vs(e);if(w&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")){o||cc(e,t,r??"");return}n[t]!==(n[t]=r)&&(t==="loading"&&(e[bi]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Ws(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function fc(e,t,r,o,n=!1,a=!1){if(w&&n&&e.tagName==="INPUT"){var i=e,s=i.type==="checkbox"?"defaultChecked":"defaultValue";s in r||yn(i)}var l=Vs(e),c=l[Us],d=!l[js];let u=w&&c;u&&oe(!1);var f=t||{},p=e.tagName==="OPTION";for(var h in t)h in r||(r[h]=null);r.class?r.class=ja(r.class):(o||r[eo])&&(r.class=null),r[to]&&(r.style??=null);var g=Ws(e);for(let A in r){let _=r[A];if(p&&A==="value"&&_==null){e.value=e.__value="",f[A]=_;continue}if(A==="class"){var v=e.namespaceURI==="http://www.w3.org/1999/xhtml";Kt(e,v,_,o,t?.[eo],r[eo]),f[A]=_,f[eo]=r[eo];continue}if(A==="style"){Ar(e,_,t?.[to],r[to]),f[A]=_,f[to]=r[to];continue}var x=f[A];if(!(_===x&&!(_===void 0&&e.hasAttribute(A)))){f[A]=_;var D=A[0]+A[1];if(D!=="$$")if(D==="on"){let P={},q="$$"+A,E=A.slice(2);var C=ys(E);if(_s(E)&&(E=E.slice(0,-7),P.capture=!0),!C&&x){if(_!=null)continue;e.removeEventListener(E,f[q],P),f[q]=null}if(_!=null)if(C)e[`__${E}`]=_,Yt([E]);else{let I=function(F){f[A].call(this,F)};f[q]=Pa(E,e,I,P)}else C&&(e[`__${E}`]=void 0)}else if(A==="style")Mr(e,A,_);else if(A==="autofocus")ka(e,!!_);else if(!c&&(A==="__value"||A==="value"&&_!=null))e.value=e.__value=_;else if(A==="selected"&&p)qs(e,_);else{var T=A;d||(T=ks(T));var N=T==="defaultValue"||T==="defaultChecked";if(_==null&&!c&&!N)if(l[A]=null,T==="value"||T==="checked"){let P=e,q=t===void 0;if(T==="value"){let E=P.defaultValue;P.removeAttribute(T),P.defaultValue=E,P.value=P.__value=q?E:null}else{let E=P.defaultChecked;P.removeAttribute(T),P.defaultChecked=E,P.checked=q?E:!1}}else e.removeAttribute(A);else N||g.includes(T)&&(c||typeof _!="string")?(e[T]=_,T in l&&(l[T]=G)):typeof _!="function"&&Mr(e,T,_,a)}}}return u&&oe(!0),f}function kn(e,t,r=[],o=[],n=[],a,i=!1,s=!1){ko(n,r,o,l=>{var c=void 0,d={},u=e.nodeName==="SELECT",f=!1;if(hn(()=>{var h=t(...l.map(b)),g=fc(e,c,h,a,i,s);f&&u&&"value"in h&&Lo(e,h.value);for(let x of Object.getOwnPropertySymbols(d))h[x]||Z(d[x]);for(let x of Object.getOwnPropertySymbols(h)){var v=h[x];x.description===aa&&(!c||v!==c[x])&&(d[x]&&Z(d[x]),d[x]=fe(()=>_n(e,()=>v))),g[x]=v}c=g}),u){var p=e;Ue(()=>{Lo(p,c.value,!0),Va(p)})}f=!0})}function Vs(e){return e.__attributes??={[Us]:e.nodeName.includes("-"),[js]:e.namespaceURI===Ii}}var zs=new Map;function Ws(e){var t=e.getAttribute("is")||e.nodeName,r=zs.get(t);if(r)return r;zs.set(t,r=[]);for(var o,n=e,a=Element.prototype;a!==n;){o=qo(n);for(var i in o)o[i].set&&r.push(i);n=vr(n)}return r}function cc(e,t,r){m&&(t==="srcset"&&dc(e,r)||Wa(e.getAttribute(t)??"",r)||Fi(t,e.outerHTML.replace(e.innerHTML,e.innerHTML&&"..."),String(r)))}function Wa(e,t){return e===t?!0:new URL(e,document.baseURI).href===new URL(t,document.baseURI).href}function Hs(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function dc(e,t){var r=Hs(e.srcset),o=Hs(t);return o.length===r.length&&o.every(([n,a],i)=>a===r[i][1]&&(Wa(r[i][0],n)||Wa(n,r[i][0])))}function Ga(e,t,r=t){Ea(e,"change",o=>{var n=o?e.defaultChecked:e.checked;r(n)}),(w&&e.defaultChecked!==e.checked||j(t)==null)&&r(e.checked),Ee(()=>{var o=t();e.checked=!!o})}function Ys(e,t){return e===t||e?.[ue]===t}function Ya(e={},t,r,o){return Ue(()=>{var n,a;return Ee(()=>{n=a,a=o?.()||[],j(()=>{e!==r(...a)&&(t(e,...a),n&&Ys(r(...n),e)&&t(null,...n))})}),()=>{pe(()=>{a&&Ys(r(...a),e)&&t(null,...a)})}}),e}function Xa(e=!1){let t=O,r=t.l.u;if(!r)return;let o=()=>Lt(t.s);if(e){let n=0,a={},i=nr(()=>{let s=!1,l=t.s;for(let c in l)l[c]!==a[c]&&(a[c]=l[c],s=!0);return s&&n++,n});o=()=>b(i)}r.b.length&&To(()=>{Xs(t,o),Nr(r.b)}),Xr(()=>{let n=j(()=>r.m.map(wi));return()=>{for(let a of n)typeof a=="function"&&a()}}),r.a.length&&Xr(()=>{Xs(t,o),Nr(r.a)})}function Xs(e,t){if(e.l.s)for(let r of e.l.s)b(r);t()}var Sn=!1,py=Symbol();function Ka(e){var t=Sn;try{return Sn=!1,[e(),Sn]}finally{Sn=t}}var xc={get(e,t){if(!e.exclude.includes(t))return b(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){if(!(t in e.special)){var o=k;try{ce(e.parent_effect),e.special[t]=ut({get[t](){return e.props[t]}},t,4)}finally{ce(o)}}return e.special[t](r),yo(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),yo(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ne(e,t){return new Proxy({props:e,exclude:t,special:{},version:ke(0),parent_effect:k},xc)}var gc={get(e,t){let r=e.props.length;for(;r--;){let o=e.props[r];if(xr(o)&&(o=o()),typeof o=="object"&&o!==null&&t in o)return o[t]}},set(e,t,r){let o=e.props.length;for(;o--;){let n=e.props[o];xr(n)&&(n=n());let a=$e(n,t);if(a&&a.set)return a.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let o=e.props[r];if(xr(o)&&(o=o()),typeof o=="object"&&o!==null&&t in o){let n=$e(o,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(e,t){if(t===ue||t===Ir)return!1;for(let r of e.props)if(xr(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){let t=[];for(let r of e.props)if(xr(r)&&(r=r()),!!r){for(let o in r)t.includes(o)||t.push(o);for(let o of Object.getOwnPropertySymbols(r))t.includes(o)||t.push(o)}return t}};function me(...e){return new Proxy({props:e},gc)}function ut(e,t,r,o){var n=!St||(r&2)!==0,a=(r&8)!==0,i=(r&16)!==0,s=o,l=!0,c=()=>(l&&(l=!1,s=i?j(o):o),s),d;if(a){var u=ue in e||Ir in e;d=$e(e,t)?.set??(u&&t in e?C=>e[t]=C:void 0)}var f,p=!1;a?[f,p]=Ka(()=>e[t]):f=e[t],f===void 0&&o!==void 0&&(f=c(),d&&(n&&Ai(t),d(f)));var h;if(n?h=()=>{var C=e[t];return C===void 0?c():(l=!0,C)}:h=()=>{var C=e[t];return C!==void 0&&(s=void 0),C===void 0?s:C},n&&!(r&4))return h;if(d){var g=e.$$legacy;return function(C,T){return arguments.length>0?((!n||!T||g||p)&&d(T?h():C),C):h()}}var v=!1,x=(r&1?nr:kr)(()=>(v=!1,h()));m&&(x.label=t),a&&b(x);var D=k;return function(C,T){if(arguments.length>0){let N=T?b(x):n&&a?Wt(C):C;return W(x,N),v=!0,s!==void 0&&(s=N),C}return lt&&v||D.f&16384?x.v:b(x)}}function Zs(e){return new Za(e)}var Za=class{#e;#t;constructor(t){var r=new Map,o=(a,i)=>{var s=Sr(i,!1,!1);return r.set(a,s),s};let n=new Proxy({...t.props||{},$$events:{}},{get(a,i){return b(r.get(i)??o(i,Reflect.get(a,i)))},has(a,i){return i===Ir?!0:(b(r.get(i)??o(i,Reflect.get(a,i))),Reflect.has(a,i))},set(a,i,s){return W(r.get(i)??o(i,s),s),Reflect.set(a,i,s)}});this.#t=(t.hydrate?Ia:ct)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover}),!Ie&&(!t?.props?.$$host||t.sync===!1)&&qr(),this.#e=n.$$events;for(let a of Object.keys(this.#t))a==="$set"||a==="$destroy"||a==="$on"||we(this,a,{get(){return this.#t[a]},set(i){this.#t[a]=i},enumerable:!0});this.#t.$set=a=>{Object.assign(n,a)},this.#t.$destroy=()=>{wt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];let o=(...n)=>r.call(this,...n);return this.#e[t].push(o),()=>{this.#e[t]=this.#e[t].filter(n=>n!==o)}}$destroy(){this.#t.$destroy()}};var Cc;typeof HTMLElement=="function"&&(Cc=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let o=this.$$c.$on(e,t);this.$$l_u.set(t,o)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){let o=this.$$l_u.get(t);o&&(o(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(o){return n=>{let a=document.createElement("slot");o!=="default"&&(a.name=o),$(n,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;let t={},r=$c(this);for(let o of this.$$s)o in r&&(o==="default"&&!this.$$d.children?(this.$$d.children=e(o),t.default=!0):t[o]=e(o));for(let o of this.attributes){let n=this.$$g_p(o.name);n in this.$$d||(this.$$d[n]=Ja(n,o.value,this.$$p_d,"toProp"))}for(let o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=Zs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=$a(()=>{Ee(()=>{this.$$r=!0;for(let o of ta(this.$$c)){if(!this.$$p_d[o]?.reflect)continue;this.$$d[o]=this.$$c[o];let n=Ja(o,this.$$d[o],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,n)}this.$$r=!1})});for(let o in this.$$l)for(let n of this.$$l[o]){let a=this.$$c.$on(o,n);this.$$l_u.set(n,a)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ja(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ta(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ja(e,t,r,o){let n=r[e]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!r[e])return t;if(o==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function $c(e){let t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}if(m){let e=function(t){if(!(t in globalThis)){let r;Object.defineProperty(globalThis,t,{configurable:!0,get:()=>{if(r!==void 0)return r;Mi(t)},set:o=>{r=o}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Qa(e){O===null&&vo("onMount"),St&&O.l!==null?Tc(O).m.push(e):Xr(()=>{let t=j(e);if(typeof t=="function")return t})}function Js(e){O===null&&vo("onDestroy"),Qa(()=>()=>j(e))}function Tc(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}var Ac=[/^ng-/,/^_/,/^jsx-/,/^css-/,/^sc-/,/^chakra-/,/^MuiBox-/,/^makeStyles-/,/^jss\d+/,/^svelte-/,/^v-/,/^\d+$/];function Mc(e){return Ac.some(t=>t.test(e))}function Qs(e){return Array.from(e.classList).filter(t=>!Mc(t)).slice(0,2)}function Zt(e){if(!e||e===document.documentElement)return"";if(e.id&&document.querySelectorAll(`#${CSS.escape(e.id)}`).length===1)return`#${CSS.escape(e.id)}`;let t=[],r=e;for(;r&&r!==document.body&&r!==document.documentElement;){let n=r.tagName.toLowerCase();if(r.id&&document.querySelectorAll(`#${CSS.escape(r.id)}`).length===1){n=`#${CSS.escape(r.id)}`,t.unshift(n);break}let a=Qs(r);a.length>0&&(n+="."+a.map(s=>CSS.escape(s)).join("."));let i=r.parentElement;if(i){let s=Array.from(i.children).filter(l=>l.tagName===r.tagName);if(s.length>1){let l=s.indexOf(r)+1;n+=`:nth-child(${l})`}}t.unshift(n),r=r.parentElement}let o=t.join(" > ");try{if(document.querySelectorAll(o).length===1)return o}catch{}return o}function el(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase(),r=Qs(e);return r.length>0?`${t}.${r.join(".")}`:t}function Po(e){return Array.from(e.classList)}var Rc=["display","position","float","clear","flex","flexDirection","flexWrap","justifyContent","alignItems","alignSelf","gridTemplateColumns","gridTemplateRows","gridColumn","gridRow","gap","overflow","overflowX","overflowY","zIndex"];var Lc=new Set(["none","auto","normal","visible","static","0px","0","rgba(0, 0, 0, 0)","transparent","inherit","initial","unset"]);function tl(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function sr(e){return e?!Lc.has(e.trim()):!1}function Pc(e,t){let r=tl(t);return e.getPropertyValue(r)}function Dc(e){let t={};for(let r of Rc){let o=Pc(e,r);sr(o)&&(t[r]=o)}return{display:e.display||"block",position:e.position||"static",...t}}function Nc(e){return{width:e.width,height:e.height,minWidth:sr(e.minWidth)?e.minWidth:void 0,maxWidth:sr(e.maxWidth)?e.maxWidth:void 0,minHeight:sr(e.minHeight)?e.minHeight:void 0,maxHeight:sr(e.maxHeight)?e.maxHeight:void 0}}function Ic(e){return{margin:e.margin,padding:e.padding,boxSizing:e.boxSizing}}function Oc(e){return{background:e.background,backgroundColor:sr(e.backgroundColor)?e.backgroundColor:void 0,border:e.border,borderRadius:e.borderRadius,boxShadow:sr(e.boxShadow)?e.boxShadow:void 0,opacity:e.opacity}}function Fc(e){return{fontSize:e.fontSize,fontWeight:e.fontWeight,lineHeight:e.lineHeight,color:e.color,fontFamily:e.fontFamily}}function rl(e,t=1){let r=getComputedStyle(e),o={layout:Dc(r),size:Nc(r),spacing:Ic(r),visual:Oc(r)};return t>=2&&(o.text=Fc(r)),o}function ol(e){let t=getComputedStyle(e),r=[],o=["color","backgroundColor","borderColor"];for(let n of o){let a=t.getPropertyValue(tl(n));sr(a)&&!r.includes(a)&&r.push(a)}return{colors:r,typography:{fontSize:t.fontSize,fontWeight:t.fontWeight,lineHeight:t.lineHeight,color:t.color},spacing:{margin:t.margin,padding:t.padding,boxSizing:t.boxSizing},borderRadius:t.borderRadius}}function nl(e){let t=[];try{let o=Array.from(document.styleSheets);for(let n of o)try{let a=n.cssRules||n.rules;if(!a)continue;for(let i=0;i<a.length;i++){let s=a[i];if(s instanceof CSSStyleRule)try{if(e.matches(s.selectorText)){let l={};for(let d=0;d<s.style.length;d++){let u=s.style[d];l[u]=s.style.getPropertyValue(u)}let c="inline";n.href&&(c=new URL(n.href).pathname.split("/").pop()||n.href),t.push({source:`${c}:${i}`,selector:s.selectorText,properties:l})}}catch{}}}catch{}}catch{}let r=new Set;for(let o=t.length-1;o>=0;o--){let n=t[o];for(let a of Object.keys(n.properties))r.has(a)&&(n.isOverriding=!0),r.add(a)}return t}function al(e,t){let r=[];if(t.length===0)return r;let o=e.getBoundingClientRect(),n=t.map(d=>d.getBoundingClientRect()),a=n.reduce((d,u)=>d+u.width,0)/n.length,i=n.reduce((d,u)=>d+u.height,0)/n.length;o.width===0&&a>0?r.push(`width is 0, siblings average ${Math.round(a)}px`):Math.abs(o.width-a)>a*.5&&a>0&&r.push(`width (${Math.round(o.width)}px) differs significantly from siblings (${Math.round(a)}px)`),o.height===0&&i>0&&r.push(`height is 0, siblings average ${Math.round(i)}px`);let s=getComputedStyle(e);s.visibility==="hidden"&&r.push("visibility is hidden"),s.opacity==="0"&&r.push("opacity is 0"),s.display==="none"&&r.push("display is none");let l=new Set(e.classList),c=new Set;for(let d of t)for(let u of d.classList)t.every(f=>f.classList.contains(u))&&c.add(u);for(let d of l)!c.has(d)&&t.every(u=>!u.classList.contains(d))&&r.push(`has unique class '${d}' that siblings don't have`);return r}function Bc(e){let t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height),top:Math.round(t.top),left:Math.round(t.left)}}function zc(e,t=100){let r=e.textContent?.trim()||"";return r.length<=t?r:r.slice(0,t)+"..."}function Hc(e){let t={};for(let r of e.attributes)r.name.startsWith("data-react")||r.name.startsWith("data-v-")||r.name.startsWith("ng-")||(t[r.name]=r.value);return t}function Uc(e){let t=e.parentElement;if(!t||t===document.body)return{selector:"body",tag:"body",styles:{display:"block",position:"static"}};let r=getComputedStyle(t);return{selector:Zt(t),tag:t.tagName.toLowerCase(),styles:{display:r.display,position:r.position,flex:r.display.includes("flex")?r.flex:void 0,flexDirection:r.display.includes("flex")?r.flexDirection:void 0,justifyContent:r.display.includes("flex")?r.justifyContent:void 0,alignItems:r.display.includes("flex")?r.alignItems:void 0,grid:r.display.includes("grid")?r.gridTemplateColumns:void 0,gap:r.gap!=="normal"?r.gap:void 0}}}function jc(e){let t=e.parentElement;if(!t)return[];let r=Array.from(t.children).filter(o=>o.tagName===e.tagName&&o!==e);if(r.length===0){let o=Array.from(e.classList)[0];if(o)return Array.from(t.children).filter(n=>n.classList.contains(o)&&n!==e)}return r}function qc(e,t){let r=al(e,t);return[e,...t].map(n=>{let a=n.getBoundingClientRect(),i=n===e;return{selector:el(n),size:{width:Math.round(a.width),height:Math.round(a.height)},classes:Po(n),isSelected:i,anomaly:i&&r.length>0?r.join("; "):void 0}})}function il(e,t,r,o=1){let n=jc(e),a=nl(e),i=Wc(e,n,a,r);return{mode:"inspect",intent:t,timestamp:Date.now(),element:{selector:Zt(e),tag:e.tagName.toLowerCase(),id:e.id||void 0,classes:Po(e),text:zc(e),attributes:Hc(e),rect:Bc(e),styles:rl(e,o)},parent:Uc(e),siblings:qc(e,n),cssRules:Vc(a),browserContext:r,diagnosis:i}}function Vc(e){return e.slice(-10).map(t=>({source:t.source,selector:t.selector,properties:t.properties,isOverriding:t.isOverriding}))}function Wc(e,t,r,o){let n=[],a=[],i=[],s=getComputedStyle(e),l=e.getBoundingClientRect();if(l.width===0||l.height===0)for(let d of r)(d.properties.width==="0"||d.properties.width==="0px")&&n.push(`width:0 from ${d.selector}`),(d.properties.height==="0"||d.properties.height==="0px")&&n.push(`height:0 from ${d.selector}`);s.visibility==="hidden"&&n.push("visibility:hidden"),s.opacity==="0"&&n.push("opacity:0"),s.display==="none"&&n.push("display:none");let c=new Set(e.classList);for(let d of c)t.length>0&&t.every(u=>!u.classList.contains(d))&&a.push(`has class '${d}' that siblings don't have`);for(let d of o.errors){let u=Zt(e),f=e.id,p=Po(e);(d.message.includes(u)||f&&d.message.includes(f)||p.some(h=>d.message.includes(h)))&&i.push(`${d.message.slice(0,100)}${d.source?` (${d.source})`:""}`)}for(let d of o.networkFailures){let u=e.getAttribute("src"),f=e.getAttribute("href");(u&&d.url.includes(u)||f&&d.url.includes(f))&&i.push(`Failed to load: ${d.url} (${d.status})`)}return{suspected:n,unusual:a,relatedErrors:i}}function sl(e,t=3){let r=[];function o(n,a){if(a>t)return;let i=" ".repeat(a),s=n.tagName.toLowerCase(),l=Po(n).slice(0,2).join("."),c=n.id?`#${n.id}`:"",d=`${i}<${s}`;c&&(d+=c),l&&(d+=`.${l}`),d+=">",r.push(d);for(let u of n.children)o(u,a+1)}return o(e,0),r.join(`
|
|
43
|
+
`)}function Cn(e){let t=[],r=new Set,o=[[e.left+5,e.top+5],[e.right-5,e.top+5],[e.left+5,e.bottom-5],[e.right-5,e.bottom-5],[e.left+e.width/2,e.top+e.height/2]];for(let[i,s]of o){let l=document.elementsFromPoint(i,s);for(let c of l){if(c===document.body||c===document.documentElement)continue;let d=c;for(;d.parentElement&&d.parentElement!==document.body;)d=d.parentElement;r.add(d);break}}function n(i){let s=i.getBoundingClientRect();if(s.width===0||s.height===0||s.right<e.left||s.left>e.right||s.bottom<e.top||s.top>e.bottom)return 0;if(s.left>=e.left&&s.right<=e.right&&s.top>=e.top&&s.bottom<=e.bottom)return t.push(i),1;let l=0;for(let c of i.children)l+=n(c);return l===0?(t.push(i),1):l}for(let i of r)n(i);let a=new Set;return t.filter(i=>a.has(i)?!1:(a.add(i),!0))}async function ll(){try{return(await chrome.runtime.sendMessage({type:"CAPTURE_SCREENSHOT"}))?.dataUrl||null}catch(e){return console.error("[AI DevTools] Screenshot capture failed:",e),null}}async function fl(e,t,r=20,o=800,n=.7){return new Promise((a,i)=>{let s=new Image;s.onload=()=>{let l=window.devicePixelRatio||1,c=Math.max(0,(t.left-r)*l),d=Math.max(0,(t.top-r)*l),u=Math.min(s.width-c,(t.width+r*2)*l),f=Math.min(s.height-d,(t.height+r*2)*l),p=u/l,h=f/l;if(p>o){let D=o/p;p=o,h*=D}let g=document.createElement("canvas");g.width=p,g.height=h;let v=g.getContext("2d");if(!v){i(new Error("Failed to get canvas context"));return}v.drawImage(s,c,d,u,f,0,0,p,h);let x=g.toDataURL("image/jpeg",n);a(x)},s.onerror=()=>i(new Error("Failed to load screenshot")),s.src=e})}async function cl(e,t=.7,r=800){try{let o=e.getBoundingClientRect(),n={width:Math.round(o.width),height:Math.round(o.height),top:Math.round(o.top+window.scrollY),left:Math.round(o.left+window.scrollX)},a=await ll();if(!a)return null;let i={width:o.width,height:o.height,top:o.top,left:o.left};return await fl(a,i,20,r,t)}catch(o){return console.error("[AI DevTools] Element screenshot failed:",o),null}}async function dl(e,t=.7,r=800){try{let o=await ll();return o?await fl(o,e,0,r,t):null}catch(o){return console.error("[AI DevTools] Region screenshot failed:",o),null}}var ul="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(ul);qi();var Gc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},pl=Gc;var Yc=Da("<svg><!><!></svg>");function he(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]),o=ne(r,["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"]);Je(t,!1);let n=ut(t,"name",8,void 0),a=ut(t,"color",8,"currentColor"),i=ut(t,"size",8,24),s=ut(t,"strokeWidth",8,2),l=ut(t,"absoluteStrokeWidth",8,!1),c=ut(t,"iconNode",24,()=>[]),d=(...h)=>h.filter((g,v,x)=>!!g&&x.indexOf(g)===v).join(" ");Xa();var u=Yc();kn(u,(h,g)=>({...pl,...o,width:i(),height:i(),stroke:a(),"stroke-width":h,class:g}),[()=>(Lt(l()),Lt(s()),Lt(i()),j(()=>l()?Number(s())*24/Number(i()):s())),()=>(Lt(n()),Lt(r),j(()=>d("lucide-icon","lucide",n()?`lucide-${n()}`:"",r.class)))]);var f=S(u);Dt(f,1,c,Pt,(h,g)=>{var v=Gr(()=>na(b(g),2));let x=()=>b(v)[0],D=()=>b(v)[1];var C=se(),T=H(C);Ha(T,x,!0,(N,A)=>{kn(N,()=>({...D()}))}),$(h,C)});var p=L(f);le(p,t,"default",{},null),y(u),$(e,u),Qe()}function $n(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"}]];he(e,me({name:"bookmark"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Do(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["circle",{cx:"12",cy:"12",r:"10"}]];he(e,me({name:"circle"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Tn(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["circle",{cx:"9",cy:"12",r:"1"}],["circle",{cx:"9",cy:"5",r:"1"}],["circle",{cx:"9",cy:"19",r:"1"}],["circle",{cx:"15",cy:"12",r:"1"}],["circle",{cx:"15",cy:"5",r:"1"}],["circle",{cx:"15",cy:"19",r:"1"}]];he(e,me({name:"grip-vertical"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function An(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}],["path",{d:"M3 3v5h5"}],["path",{d:"M12 7v5l4 2"}]];he(e,me({name:"history"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Mn(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M14 4.1 12 6"}],["path",{d:"m5.1 8-2.9-.8"}],["path",{d:"m6 12-1.9 2"}],["path",{d:"M7.2 2.2 8 5.1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"}]];he(e,me({name:"mouse-pointer-click"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Rn(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"}],["path",{d:"M20 3v4"}],["path",{d:"M22 5h-4"}],["path",{d:"M4 17v2"}],["path",{d:"M5 18H3"}]];he(e,me({name:"sparkles"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Ln(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"}],["path",{d:"M5 3a2 2 0 0 0-2 2"}],["path",{d:"M19 3a2 2 0 0 1 2 2"}],["path",{d:"M5 21a2 2 0 0 1-2-2"}],["path",{d:"M9 3h1"}],["path",{d:"M9 21h2"}],["path",{d:"M14 3h1"}],["path",{d:"M3 9v1"}],["path",{d:"M21 9v2"}],["path",{d:"M3 14v1"}]];he(e,me({name:"square-dashed-mouse-pointer"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function Pn(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"}]];he(e,me({name:"wrench"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}function ro(e,t){let r=ne(t,["children","$$slots","$$events","$$legacy"]);let o=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];he(e,me({name:"x"},()=>r,{get iconNode(){return o},children:(n,a)=>{var i=se(),s=H(i);le(s,t,"default",{},null),$(n,i)},$$slots:{default:!0}}))}var Xc=U('<div data-picker="" class="bg-black/70 border border-white/10 rounded-[14px] p-3 min-w-[280px] max-w-[420px] font-sans shadow-[0_16px_40px_rgba(0,0,0,0.5),0_0_0_1px_rgba(255,255,255,0.05)_inset] backdrop-blur-xl backdrop-saturate-[180%] svelte-jtu93i"><div class="mb-3 font-mono text-[11px] leading-relaxed svelte-jtu93i"><!></div> <div class="flex gap-1.5 svelte-jtu93i"><button class="flex-1 inline-flex items-center justify-center gap-1.5 py-2 px-2.5 border border-white/10 rounded-[10px] bg-white/[0.06] text-white/80 cursor-pointer text-[11px] font-medium font-sans transition-all duration-400 ease-in-out hover:bg-white/[0.12] hover:border-white/15 hover:text-white active:scale-[0.97] [&_svg]:w-3.5 [&_svg]:h-3.5 [&_svg]:shrink-0 [&_svg]:opacity-70 svelte-jtu93i"><!> Context</button> <button class="flex-1 inline-flex items-center justify-center gap-1.5 py-2 px-2.5 border border-white/10 rounded-[10px] bg-white/[0.06] text-white/80 cursor-pointer text-[11px] font-medium font-sans transition-all duration-400 ease-in-out hover:bg-white/[0.12] hover:border-white/15 hover:text-white active:scale-[0.97] [&_svg]:w-3.5 [&_svg]:h-3.5 [&_svg]:shrink-0 [&_svg]:opacity-70 svelte-jtu93i"><!> Fix</button> <button class="flex-1 inline-flex items-center justify-center gap-1.5 py-2 px-2.5 border border-white/10 rounded-[10px] bg-white/[0.06] text-white/80 cursor-pointer text-[11px] font-medium font-sans transition-all duration-400 ease-in-out hover:bg-white/[0.12] hover:border-white/15 hover:text-white active:scale-[0.97] [&_svg]:w-3.5 [&_svg]:h-3.5 [&_svg]:shrink-0 [&_svg]:opacity-70 svelte-jtu93i"><!> Beautify</button> <button class="inline-flex items-center justify-center w-8 py-2 border border-white/[0.06] rounded-[10px] bg-transparent text-white/40 cursor-pointer transition-all duration-400 ease-in-out hover:bg-white/[0.08] hover:text-white/70 active:scale-[0.97] svelte-jtu93i"><!></button></div></div>'),Kc={hash:"svelte-jtu93i",code:`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
44
|
+
@layer properties;
|
|
45
|
+
@layer theme, base, components, utilities;
|
|
46
|
+
@layer theme {:root, :host {--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
47
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
48
|
+
"Courier New", monospace;--color-red-400: oklch(70.4% 0.191 22.216);--color-red-500: oklch(63.7% 0.237 25.331);--color-orange-400: oklch(75% 0.183 55.934);--color-orange-500: oklch(70.5% 0.213 47.604);--color-amber-400: oklch(82.8% 0.189 84.429);--color-green-400: oklch(79.2% 0.209 151.711);--color-green-500: oklch(72.3% 0.219 149.579);--color-emerald-400: oklch(76.5% 0.177 163.223);--color-indigo-300: oklch(78.5% 0.115 274.713);--color-black: #000;--color-white: #fff;--spacing: 0.25rem;--text-xs: 0.75rem;--text-xs--line-height: calc(1 / 0.75);--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -0.025em;--tracking-wide: 0.025em;--tracking-wider: 0.05em;--leading-relaxed: 1.625;--radius-md: 0.375rem;--radius-lg: 0.5rem;--radius-xl: 0.75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, 0.2, 1);--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--blur-sm: 8px;--blur-xl: 24px;--default-transition-duration: 150ms;--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono);}
|
|
49
|
+
}
|
|
50
|
+
@layer base {.svelte-jtu93i, .svelte-jtu93i::after, .svelte-jtu93i::before, .svelte-jtu93i::backdrop, .svelte-jtu93i::file-selector-button {box-sizing:border-box;margin:0;padding:0;border:0 solid;} :host {line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;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;}.svelte-jtu93i:-moz-focusring {outline:auto;}button.svelte-jtu93i, .svelte-jtu93i::file-selector-button {font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;}.svelte-jtu93i::file-selector-button {margin-inline-end:4px;}.svelte-jtu93i::placeholder {opacity:1;}
|
|
51
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {.svelte-jtu93i::placeholder {color:currentcolor;
|
|
52
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, currentcolor 50%, transparent);
|
|
53
|
+
}}
|
|
54
|
+
}.svelte-jtu93i::-webkit-search-decoration {-webkit-appearance:none;}.svelte-jtu93i::-webkit-date-and-time-value {min-height:1lh;text-align:inherit;}.svelte-jtu93i::-webkit-datetime-edit {display:inline-flex;}.svelte-jtu93i::-webkit-datetime-edit-fields-wrapper {padding:0;}.svelte-jtu93i::-webkit-datetime-edit, .svelte-jtu93i::-webkit-datetime-edit-year-field, .svelte-jtu93i::-webkit-datetime-edit-month-field, .svelte-jtu93i::-webkit-datetime-edit-day-field, .svelte-jtu93i::-webkit-datetime-edit-hour-field, .svelte-jtu93i::-webkit-datetime-edit-minute-field, .svelte-jtu93i::-webkit-datetime-edit-second-field, .svelte-jtu93i::-webkit-datetime-edit-millisecond-field, .svelte-jtu93i::-webkit-datetime-edit-meridiem-field {padding-block:0;}.svelte-jtu93i::-webkit-calendar-picker-indicator {line-height:1;}.svelte-jtu93i:-moz-ui-invalid {box-shadow:none;}button.svelte-jtu93i, .svelte-jtu93i::file-selector-button {appearance:button;}.svelte-jtu93i::-webkit-inner-spin-button, .svelte-jtu93i::-webkit-outer-spin-button {height:auto;}
|
|
55
|
+
}
|
|
56
|
+
@layer utilities {.mb-3.svelte-jtu93i {margin-bottom:calc(var(--spacing) * 3);}.flex.svelte-jtu93i {display:flex;}.inline-flex.svelte-jtu93i {display:inline-flex;}.w-8.svelte-jtu93i {width:calc(var(--spacing) * 8);}.max-w-\\[420px\\].svelte-jtu93i {max-width:420px;}.min-w-\\[280px\\].svelte-jtu93i {min-width:280px;}.flex-1.svelte-jtu93i {flex:1;}.cursor-pointer.svelte-jtu93i {cursor:pointer;}.items-center.svelte-jtu93i {align-items:center;}.justify-center.svelte-jtu93i {justify-content:center;}.gap-1\\.5.svelte-jtu93i {gap:calc(var(--spacing) * 1.5);}.rounded-\\[10px\\].svelte-jtu93i {border-radius:10px;}.rounded-\\[14px\\].svelte-jtu93i {border-radius:14px;}.border.svelte-jtu93i {border-style:var(--tw-border-style);border-width:1px;}.border-white\\/10.svelte-jtu93i {border-color:color-mix(in srgb, #fff 10%, transparent);
|
|
57
|
+
@supports (color: color-mix(in lab, red, red)) {border-color:color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
58
|
+
}}.border-white\\/\\[0\\.06\\].svelte-jtu93i {border-color:color-mix(in srgb, #fff 6%, transparent);
|
|
59
|
+
@supports (color: color-mix(in lab, red, red)) {border-color:color-mix(in oklab, var(--color-white) 6%, transparent);
|
|
60
|
+
}}.bg-black\\/70.svelte-jtu93i {background-color:color-mix(in srgb, #000 70%, transparent);
|
|
61
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
62
|
+
}}.bg-transparent.svelte-jtu93i {background-color:transparent;}.bg-white\\/\\[0\\.06\\].svelte-jtu93i {background-color:color-mix(in srgb, #fff 6%, transparent);
|
|
63
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 6%, transparent);
|
|
64
|
+
}}.p-3.svelte-jtu93i {padding:calc(var(--spacing) * 3);}.px-2\\.5.svelte-jtu93i {padding-inline:calc(var(--spacing) * 2.5);}.py-2.svelte-jtu93i {padding-block:calc(var(--spacing) * 2);}.font-mono.svelte-jtu93i {font-family:var(--font-mono);}.font-sans.svelte-jtu93i {font-family:var(--font-sans);}.text-\\[11px\\].svelte-jtu93i {font-size:11px;}.leading-relaxed.svelte-jtu93i {--tw-leading: var(--leading-relaxed);line-height:var(--leading-relaxed);}.font-medium.svelte-jtu93i {--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);}.text-white\\/40.svelte-jtu93i {color:color-mix(in srgb, #fff 40%, transparent);
|
|
65
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 40%, transparent);
|
|
66
|
+
}}.text-white\\/80.svelte-jtu93i {color:color-mix(in srgb, #fff 80%, transparent);
|
|
67
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 80%, transparent);
|
|
68
|
+
}}.shadow-\\[0_16px_40px_rgba\\(0\\,0\\,0\\,0\\.5\\)\\,0_0_0_1px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\].svelte-jtu93i {--tw-shadow: 0 16px 40px var(--tw-shadow-color, rgba(0,0,0,0.5)), 0 0 0 1px var(--tw-shadow-color, rgba(255,255,255,0.05)) inset;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);}.backdrop-blur-xl.svelte-jtu93i {--tw-backdrop-blur: blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}.backdrop-saturate-\\[180\\%\\].svelte-jtu93i {--tw-backdrop-saturate: saturate(180%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}.transition-all.svelte-jtu93i {transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));}.duration-400.svelte-jtu93i {--tw-duration: 400ms;transition-duration:400ms;}.ease-in-out.svelte-jtu93i {--tw-ease: var(--ease-in-out);transition-timing-function:var(--ease-in-out);}.hover\\:border-white\\/15.svelte-jtu93i {&:hover {
|
|
69
|
+
@media (hover: hover) {border-color:color-mix(in srgb, #fff 15%, transparent);
|
|
70
|
+
@supports (color: color-mix(in lab, red, red)) {border-color:color-mix(in oklab, var(--color-white) 15%, transparent);
|
|
71
|
+
}
|
|
72
|
+
}}}.hover\\:bg-white\\/\\[0\\.08\\].svelte-jtu93i {&:hover {
|
|
73
|
+
@media (hover: hover) {background-color:color-mix(in srgb, #fff 8%, transparent);
|
|
74
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 8%, transparent);
|
|
75
|
+
}
|
|
76
|
+
}}}.hover\\:bg-white\\/\\[0\\.12\\].svelte-jtu93i {&:hover {
|
|
77
|
+
@media (hover: hover) {background-color:color-mix(in srgb, #fff 12%, transparent);
|
|
78
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 12%, transparent);
|
|
79
|
+
}
|
|
80
|
+
}}}.hover\\:text-white.svelte-jtu93i {&:hover {
|
|
81
|
+
@media (hover: hover) {color:var(--color-white);
|
|
82
|
+
}}}.hover\\:text-white\\/70.svelte-jtu93i {&:hover {
|
|
83
|
+
@media (hover: hover) {color:color-mix(in srgb, #fff 70%, transparent);
|
|
84
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 70%, transparent);
|
|
85
|
+
}
|
|
86
|
+
}}}.active\\:scale-\\[0\\.97\\].svelte-jtu93i {&:active {scale:0.97;}}
|
|
87
|
+
}
|
|
88
|
+
@property --tw-translate-x {syntax:"*";inherits:false;initial-value:0;
|
|
89
|
+
}
|
|
90
|
+
@property --tw-translate-y {syntax:"*";inherits:false;initial-value:0;
|
|
91
|
+
}
|
|
92
|
+
@property --tw-translate-z {syntax:"*";inherits:false;initial-value:0;
|
|
93
|
+
}
|
|
94
|
+
@property --tw-rotate-x {syntax:"*";inherits:false;
|
|
95
|
+
}
|
|
96
|
+
@property --tw-rotate-y {syntax:"*";inherits:false;
|
|
97
|
+
}
|
|
98
|
+
@property --tw-rotate-z {syntax:"*";inherits:false;
|
|
99
|
+
}
|
|
100
|
+
@property --tw-skew-x {syntax:"*";inherits:false;
|
|
101
|
+
}
|
|
102
|
+
@property --tw-skew-y {syntax:"*";inherits:false;
|
|
103
|
+
}
|
|
104
|
+
@property --tw-border-style {syntax:"*";inherits:false;initial-value:solid;
|
|
105
|
+
}
|
|
106
|
+
@property --tw-leading {syntax:"*";inherits:false;
|
|
107
|
+
}
|
|
108
|
+
@property --tw-font-weight {syntax:"*";inherits:false;
|
|
109
|
+
}
|
|
110
|
+
@property --tw-tracking {syntax:"*";inherits:false;
|
|
111
|
+
}
|
|
112
|
+
@property --tw-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
113
|
+
}
|
|
114
|
+
@property --tw-shadow-color {syntax:"*";inherits:false;
|
|
115
|
+
}
|
|
116
|
+
@property --tw-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
117
|
+
}
|
|
118
|
+
@property --tw-inset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
119
|
+
}
|
|
120
|
+
@property --tw-inset-shadow-color {syntax:"*";inherits:false;
|
|
121
|
+
}
|
|
122
|
+
@property --tw-inset-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
123
|
+
}
|
|
124
|
+
@property --tw-ring-color {syntax:"*";inherits:false;
|
|
125
|
+
}
|
|
126
|
+
@property --tw-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
127
|
+
}
|
|
128
|
+
@property --tw-inset-ring-color {syntax:"*";inherits:false;
|
|
129
|
+
}
|
|
130
|
+
@property --tw-inset-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
131
|
+
}
|
|
132
|
+
@property --tw-ring-inset {syntax:"*";inherits:false;
|
|
133
|
+
}
|
|
134
|
+
@property --tw-ring-offset-width {syntax:"<length>";inherits:false;initial-value:0px;
|
|
135
|
+
}
|
|
136
|
+
@property --tw-ring-offset-color {syntax:"*";inherits:false;initial-value:#fff;
|
|
137
|
+
}
|
|
138
|
+
@property --tw-ring-offset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
139
|
+
}
|
|
140
|
+
@property --tw-blur {syntax:"*";inherits:false;
|
|
141
|
+
}
|
|
142
|
+
@property --tw-brightness {syntax:"*";inherits:false;
|
|
143
|
+
}
|
|
144
|
+
@property --tw-contrast {syntax:"*";inherits:false;
|
|
145
|
+
}
|
|
146
|
+
@property --tw-grayscale {syntax:"*";inherits:false;
|
|
147
|
+
}
|
|
148
|
+
@property --tw-hue-rotate {syntax:"*";inherits:false;
|
|
149
|
+
}
|
|
150
|
+
@property --tw-invert {syntax:"*";inherits:false;
|
|
151
|
+
}
|
|
152
|
+
@property --tw-opacity {syntax:"*";inherits:false;
|
|
153
|
+
}
|
|
154
|
+
@property --tw-saturate {syntax:"*";inherits:false;
|
|
155
|
+
}
|
|
156
|
+
@property --tw-sepia {syntax:"*";inherits:false;
|
|
157
|
+
}
|
|
158
|
+
@property --tw-drop-shadow {syntax:"*";inherits:false;
|
|
159
|
+
}
|
|
160
|
+
@property --tw-drop-shadow-color {syntax:"*";inherits:false;
|
|
161
|
+
}
|
|
162
|
+
@property --tw-drop-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
163
|
+
}
|
|
164
|
+
@property --tw-drop-shadow-size {syntax:"*";inherits:false;
|
|
165
|
+
}
|
|
166
|
+
@property --tw-backdrop-blur {syntax:"*";inherits:false;
|
|
167
|
+
}
|
|
168
|
+
@property --tw-backdrop-brightness {syntax:"*";inherits:false;
|
|
169
|
+
}
|
|
170
|
+
@property --tw-backdrop-contrast {syntax:"*";inherits:false;
|
|
171
|
+
}
|
|
172
|
+
@property --tw-backdrop-grayscale {syntax:"*";inherits:false;
|
|
173
|
+
}
|
|
174
|
+
@property --tw-backdrop-hue-rotate {syntax:"*";inherits:false;
|
|
175
|
+
}
|
|
176
|
+
@property --tw-backdrop-invert {syntax:"*";inherits:false;
|
|
177
|
+
}
|
|
178
|
+
@property --tw-backdrop-opacity {syntax:"*";inherits:false;
|
|
179
|
+
}
|
|
180
|
+
@property --tw-backdrop-saturate {syntax:"*";inherits:false;
|
|
181
|
+
}
|
|
182
|
+
@property --tw-backdrop-sepia {syntax:"*";inherits:false;
|
|
183
|
+
}
|
|
184
|
+
@property --tw-duration {syntax:"*";inherits:false;
|
|
185
|
+
}
|
|
186
|
+
@property --tw-ease {syntax:"*";inherits:false;
|
|
187
|
+
}
|
|
188
|
+
@property --tw-scale-x {syntax:"*";inherits:false;initial-value:1;
|
|
189
|
+
}
|
|
190
|
+
@property --tw-scale-y {syntax:"*";inherits:false;initial-value:1;
|
|
191
|
+
}
|
|
192
|
+
@property --tw-scale-z {syntax:"*";inherits:false;initial-value:1;
|
|
193
|
+
}
|
|
194
|
+
@keyframes svelte-jtu93i-pulse {
|
|
195
|
+
50% {
|
|
196
|
+
opacity: 0.5;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
@layer properties {
|
|
200
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {.svelte-jtu93i, .svelte-jtu93i::before, .svelte-jtu93i::after, .svelte-jtu93i::backdrop {--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--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-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-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-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial;--tw-duration: initial;--tw-ease: initial;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;}
|
|
201
|
+
}
|
|
202
|
+
}`};function No(e,t){Je(t,!0),dt(e,Kc);let r=Se(null);function o(C){C.key==="Escape"&&(C.preventDefault(),C.stopPropagation(),t.onClose())}let n=null,a=null,i=null;Qa(()=>{document.addEventListener("keydown",o,!0);let C=b(r)?.getRootNode(),T=C instanceof ShadowRoot,N=T?C.host:null;i=T?C:null,n=A=>{let _=A.composedPath();N?_.includes(N)||(A.stopImmediatePropagation(),t.onClose()):b(r)&&!_.includes(b(r))&&(A.stopImmediatePropagation(),t.onClose())},a=A=>{let _=A.composedPath();b(r)&&!_.includes(b(r))&&(A.stopImmediatePropagation(),t.onClose())},setTimeout(()=>{document.addEventListener("click",n,!0),i&&i.addEventListener("click",a,!0)},100)}),Js(()=>{document.removeEventListener("keydown",o,!0),n&&document.removeEventListener("click",n,!0),i&&a&&i.removeEventListener("click",a,!0)});var s=Xc(),l=S(s),c=S(l);Ba(c,()=>t.content),y(l);var d=L(l,2),u=S(d);u.__click=()=>t.onSelect("tag");var f=S(u);$n(f,{size:14}),Ae(),y(u);var p=L(u,2);p.__click=()=>t.onSelect("fix");var h=S(p);Pn(h,{size:14}),Ae(),y(p);var g=L(p,2);g.__click=()=>t.onSelect("beautify");var v=S(g);Rn(v,{size:14}),Ae(),y(g);var x=L(g,2);x.__click=()=>t.onClose();var D=S(x);ro(D,{size:14}),y(x),y(d),y(s),Ya(s,C=>W(r,C),()=>b(r)),$(e,s),Qe()}Yt(["click"]);var Zc=U('<span class="breadcrumb-sep svelte-8ru6sm">\u203A</span>'),Jc=U('<span class="breadcrumb svelte-8ru6sm" role="button" tabindex="-1"> </span><!>',1),Qc=U('<div class="parent-path svelte-8ru6sm"></div>'),ed=U('<div class="attr-line svelte-8ru6sm"><span class="syntax-attr svelte-8ru6sm"> </span><span class="syntax-punct svelte-8ru6sm">="</span><span class="syntax-value svelte-8ru6sm"> </span><span class="syntax-punct svelte-8ru6sm">"</span></div>'),td=U('<div class="text-content svelte-8ru6sm"> </div>'),rd=U('<div class="children-indicator svelte-8ru6sm"> </div>'),od=U('<span class="color-swatch svelte-8ru6sm"></span>'),nd=U('<div class="style-row svelte-8ru6sm"><span class="style-prop svelte-8ru6sm"> </span> <span class="style-value svelte-8ru6sm"><!> </span></div>'),ad=U('<div class="section-label svelte-8ru6sm" style="margin-top: 10px;">STYLES</div> <div class="styles-block svelte-8ru6sm"></div>',1),id=U('<div class="context-header svelte-8ru6sm"><span class="page-url svelte-8ru6sm"> </span> <!></div> <div class="section-label svelte-8ru6sm">ELEMENT</div> <div class="html-block svelte-8ru6sm"><span class="syntax-bracket svelte-8ru6sm"><</span><span class="syntax-tag svelte-8ru6sm"> </span> <!> <span class="syntax-bracket svelte-8ru6sm">></span> <!> <!> <span class="syntax-bracket svelte-8ru6sm"></</span><span class="syntax-tag-close svelte-8ru6sm"> </span><span class="syntax-bracket svelte-8ru6sm">></span></div> <!>',1),sd={hash:"svelte-8ru6sm",code:`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
203
|
+
@layer properties;
|
|
204
|
+
@layer theme, base, components, utilities;
|
|
205
|
+
@layer theme {:root, :host {--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
206
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
207
|
+
"Courier New", monospace;--color-red-400: oklch(70.4% 0.191 22.216);--color-red-500: oklch(63.7% 0.237 25.331);--color-orange-400: oklch(75% 0.183 55.934);--color-orange-500: oklch(70.5% 0.213 47.604);--color-amber-400: oklch(82.8% 0.189 84.429);--color-green-400: oklch(79.2% 0.209 151.711);--color-green-500: oklch(72.3% 0.219 149.579);--color-emerald-400: oklch(76.5% 0.177 163.223);--color-indigo-300: oklch(78.5% 0.115 274.713);--color-black: #000;--color-white: #fff;--spacing: 0.25rem;--text-xs: 0.75rem;--text-xs--line-height: calc(1 / 0.75);--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -0.025em;--tracking-wide: 0.025em;--tracking-wider: 0.05em;--leading-relaxed: 1.625;--radius-md: 0.375rem;--radius-lg: 0.5rem;--radius-xl: 0.75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, 0.2, 1);--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--blur-sm: 8px;--blur-xl: 24px;--default-transition-duration: 150ms;--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono);}
|
|
208
|
+
}
|
|
209
|
+
@layer base {.svelte-8ru6sm, .svelte-8ru6sm::after, .svelte-8ru6sm::before, .svelte-8ru6sm::backdrop, .svelte-8ru6sm::file-selector-button {box-sizing:border-box;margin:0;padding:0;border:0 solid;} :host {line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;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;}.svelte-8ru6sm:-moz-focusring {outline:auto;} .svelte-8ru6sm::file-selector-button {font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;}.svelte-8ru6sm::file-selector-button {margin-inline-end:4px;}.svelte-8ru6sm::placeholder {opacity:1;}
|
|
210
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {.svelte-8ru6sm::placeholder {color:currentcolor;
|
|
211
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, currentcolor 50%, transparent);
|
|
212
|
+
}}
|
|
213
|
+
}.svelte-8ru6sm::-webkit-search-decoration {-webkit-appearance:none;}.svelte-8ru6sm::-webkit-date-and-time-value {min-height:1lh;text-align:inherit;}.svelte-8ru6sm::-webkit-datetime-edit {display:inline-flex;}.svelte-8ru6sm::-webkit-datetime-edit-fields-wrapper {padding:0;}.svelte-8ru6sm::-webkit-datetime-edit, .svelte-8ru6sm::-webkit-datetime-edit-year-field, .svelte-8ru6sm::-webkit-datetime-edit-month-field, .svelte-8ru6sm::-webkit-datetime-edit-day-field, .svelte-8ru6sm::-webkit-datetime-edit-hour-field, .svelte-8ru6sm::-webkit-datetime-edit-minute-field, .svelte-8ru6sm::-webkit-datetime-edit-second-field, .svelte-8ru6sm::-webkit-datetime-edit-millisecond-field, .svelte-8ru6sm::-webkit-datetime-edit-meridiem-field {padding-block:0;}.svelte-8ru6sm::-webkit-calendar-picker-indicator {line-height:1;}.svelte-8ru6sm:-moz-ui-invalid {box-shadow:none;} .svelte-8ru6sm::file-selector-button {appearance:button;}.svelte-8ru6sm::-webkit-inner-spin-button, .svelte-8ru6sm::-webkit-outer-spin-button {height:auto;}
|
|
214
|
+
}
|
|
215
|
+
@layer utilities {
|
|
216
|
+
}.context-header {margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid rgba(255, 255, 255, 0.06);}.page-url {display:block;font-size:9px;color:rgba(255, 255, 255, 0.3);letter-spacing:0.05em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.parent-path {display:flex;align-items:center;margin-top:3px;font-size:10px;color:rgba(255, 255, 255, 0.25);overflow-x:auto;white-space:nowrap;scrollbar-width:none;}.parent-path::-webkit-scrollbar {display:none;}.breadcrumb {cursor:pointer;padding:1px 3px;border-radius:3px;transition:color 0.1s, background 0.1s;flex-shrink:0;}.breadcrumb:hover {color:rgba(255, 255, 255, 0.7);background:rgba(255, 255, 255, 0.08);}.breadcrumb-sep {margin:0 2px;color:rgba(255, 255, 255, 0.15);flex-shrink:0;}.section-label {font-size:9px;font-weight:600;letter-spacing:0.1em;color:rgba(255, 255, 255, 0.2);margin-bottom:6px;font-family:inherit;}.html-block {padding:8px 10px;background:rgba(255, 255, 255, 0.04);border:1px solid rgba(255, 255, 255, 0.08);border-radius:6px;line-height:1.6;overflow:hidden;}.syntax-bracket {color:rgba(255, 255, 255, 0.35);}.syntax-tag {color:#7dcfff;font-weight:500;}.syntax-tag-close {color:rgba(125, 207, 255, 0.6);}.attr-line {padding-left:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.syntax-attr {color:#bb9af7;}.syntax-punct {color:rgba(255, 255, 255, 0.2);}.syntax-value {color:#e0af68;}.text-content {padding-left:14px;color:#9ece6a;opacity:0.7;font-style:italic;font-size:10px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.children-indicator {padding-left:14px;color:rgba(255, 255, 255, 0.2);font-size:10px;}.styles-block {padding:6px 10px;background:rgba(255, 255, 255, 0.04);border:1px solid rgba(255, 255, 255, 0.08);border-radius:6px;}.style-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0;}.style-prop {color:rgba(255, 255, 255, 0.4);flex-shrink:0;}.style-value {color:rgba(255, 255, 255, 0.75);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:6px;}.color-swatch {display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0;border:1px solid rgba(255, 255, 255, 0.15);}
|
|
217
|
+
@property --tw-translate-x {syntax:"*";inherits:false;initial-value:0;
|
|
218
|
+
}
|
|
219
|
+
@property --tw-translate-y {syntax:"*";inherits:false;initial-value:0;
|
|
220
|
+
}
|
|
221
|
+
@property --tw-translate-z {syntax:"*";inherits:false;initial-value:0;
|
|
222
|
+
}
|
|
223
|
+
@property --tw-rotate-x {syntax:"*";inherits:false;
|
|
224
|
+
}
|
|
225
|
+
@property --tw-rotate-y {syntax:"*";inherits:false;
|
|
226
|
+
}
|
|
227
|
+
@property --tw-rotate-z {syntax:"*";inherits:false;
|
|
228
|
+
}
|
|
229
|
+
@property --tw-skew-x {syntax:"*";inherits:false;
|
|
230
|
+
}
|
|
231
|
+
@property --tw-skew-y {syntax:"*";inherits:false;
|
|
232
|
+
}
|
|
233
|
+
@property --tw-border-style {syntax:"*";inherits:false;initial-value:solid;
|
|
234
|
+
}
|
|
235
|
+
@property --tw-leading {syntax:"*";inherits:false;
|
|
236
|
+
}
|
|
237
|
+
@property --tw-font-weight {syntax:"*";inherits:false;
|
|
238
|
+
}
|
|
239
|
+
@property --tw-tracking {syntax:"*";inherits:false;
|
|
240
|
+
}
|
|
241
|
+
@property --tw-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
242
|
+
}
|
|
243
|
+
@property --tw-shadow-color {syntax:"*";inherits:false;
|
|
244
|
+
}
|
|
245
|
+
@property --tw-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
246
|
+
}
|
|
247
|
+
@property --tw-inset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
248
|
+
}
|
|
249
|
+
@property --tw-inset-shadow-color {syntax:"*";inherits:false;
|
|
250
|
+
}
|
|
251
|
+
@property --tw-inset-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
252
|
+
}
|
|
253
|
+
@property --tw-ring-color {syntax:"*";inherits:false;
|
|
254
|
+
}
|
|
255
|
+
@property --tw-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
256
|
+
}
|
|
257
|
+
@property --tw-inset-ring-color {syntax:"*";inherits:false;
|
|
258
|
+
}
|
|
259
|
+
@property --tw-inset-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
260
|
+
}
|
|
261
|
+
@property --tw-ring-inset {syntax:"*";inherits:false;
|
|
262
|
+
}
|
|
263
|
+
@property --tw-ring-offset-width {syntax:"<length>";inherits:false;initial-value:0px;
|
|
264
|
+
}
|
|
265
|
+
@property --tw-ring-offset-color {syntax:"*";inherits:false;initial-value:#fff;
|
|
266
|
+
}
|
|
267
|
+
@property --tw-ring-offset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
268
|
+
}
|
|
269
|
+
@property --tw-blur {syntax:"*";inherits:false;
|
|
270
|
+
}
|
|
271
|
+
@property --tw-brightness {syntax:"*";inherits:false;
|
|
272
|
+
}
|
|
273
|
+
@property --tw-contrast {syntax:"*";inherits:false;
|
|
274
|
+
}
|
|
275
|
+
@property --tw-grayscale {syntax:"*";inherits:false;
|
|
276
|
+
}
|
|
277
|
+
@property --tw-hue-rotate {syntax:"*";inherits:false;
|
|
278
|
+
}
|
|
279
|
+
@property --tw-invert {syntax:"*";inherits:false;
|
|
280
|
+
}
|
|
281
|
+
@property --tw-opacity {syntax:"*";inherits:false;
|
|
282
|
+
}
|
|
283
|
+
@property --tw-saturate {syntax:"*";inherits:false;
|
|
284
|
+
}
|
|
285
|
+
@property --tw-sepia {syntax:"*";inherits:false;
|
|
286
|
+
}
|
|
287
|
+
@property --tw-drop-shadow {syntax:"*";inherits:false;
|
|
288
|
+
}
|
|
289
|
+
@property --tw-drop-shadow-color {syntax:"*";inherits:false;
|
|
290
|
+
}
|
|
291
|
+
@property --tw-drop-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
292
|
+
}
|
|
293
|
+
@property --tw-drop-shadow-size {syntax:"*";inherits:false;
|
|
294
|
+
}
|
|
295
|
+
@property --tw-backdrop-blur {syntax:"*";inherits:false;
|
|
296
|
+
}
|
|
297
|
+
@property --tw-backdrop-brightness {syntax:"*";inherits:false;
|
|
298
|
+
}
|
|
299
|
+
@property --tw-backdrop-contrast {syntax:"*";inherits:false;
|
|
300
|
+
}
|
|
301
|
+
@property --tw-backdrop-grayscale {syntax:"*";inherits:false;
|
|
302
|
+
}
|
|
303
|
+
@property --tw-backdrop-hue-rotate {syntax:"*";inherits:false;
|
|
304
|
+
}
|
|
305
|
+
@property --tw-backdrop-invert {syntax:"*";inherits:false;
|
|
306
|
+
}
|
|
307
|
+
@property --tw-backdrop-opacity {syntax:"*";inherits:false;
|
|
308
|
+
}
|
|
309
|
+
@property --tw-backdrop-saturate {syntax:"*";inherits:false;
|
|
310
|
+
}
|
|
311
|
+
@property --tw-backdrop-sepia {syntax:"*";inherits:false;
|
|
312
|
+
}
|
|
313
|
+
@property --tw-duration {syntax:"*";inherits:false;
|
|
314
|
+
}
|
|
315
|
+
@property --tw-ease {syntax:"*";inherits:false;
|
|
316
|
+
}
|
|
317
|
+
@property --tw-scale-x {syntax:"*";inherits:false;initial-value:1;
|
|
318
|
+
}
|
|
319
|
+
@property --tw-scale-y {syntax:"*";inherits:false;initial-value:1;
|
|
320
|
+
}
|
|
321
|
+
@property --tw-scale-z {syntax:"*";inherits:false;initial-value:1;
|
|
322
|
+
}
|
|
323
|
+
@keyframes svelte-8ru6sm-pulse {
|
|
324
|
+
50% {
|
|
325
|
+
opacity: 0.5;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
@layer properties {
|
|
329
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {.svelte-8ru6sm, .svelte-8ru6sm::before, .svelte-8ru6sm::after, .svelte-8ru6sm::backdrop {--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--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-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-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-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial;--tw-duration: initial;--tw-ease: initial;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;}
|
|
330
|
+
}
|
|
331
|
+
}`};function Dn(e,t){Je(t,!0),dt(e,sd);function r(o){return o.startsWith("#")||o.startsWith("rgb")}No(e,{get onSelect(){return t.onSelect},get onClose(){return t.onClose},content:n=>{var a=id(),i=H(a),s=S(i),l=S(s,!0);y(s);var c=L(s,2);{var d=_=>{var P=Qc();Dt(P,21,()=>t.parents,Pt,(q,E,I)=>{var F=Jc(),K=H(F);K.__click=()=>t.onSelectParent(I),K.__keydown=je=>je.key==="Enter"&&t.onSelectParent(I);var ve=S(K,!0);y(K);var Xe=L(K);{var Pe=je=>{var hr=Zc();$(je,hr)};Ce(Xe,je=>{I<t.parents.length-1&&je(Pe)})}te(()=>J(ve,b(E).label)),wn("mouseenter",K,()=>t.onHighlightParent(I)),wn("mouseleave",K,()=>t.onUnhighlightParent()),$(q,F)}),y(P),$(_,P)};Ce(c,_=>{t.parents.length>0&&_(d)})}y(i);var u=L(i,4),f=L(S(u)),p=S(f,!0);y(f);var h=L(f,2);Dt(h,17,()=>t.attrs,Pt,(_,P)=>{let q=()=>b(P).name,E=()=>b(P).value;var I=ed(),F=S(I),K=S(F,!0);y(F);var ve=L(F,2),Xe=S(ve,!0);y(ve),Ae(),y(I),te(()=>{J(K,q()),J(Xe,E())}),$(_,I)});var g=L(h,4);{var v=_=>{var P=td(),q=S(P);y(P),te(()=>J(q,`"${t.textContent??""}"`)),$(_,P)};Ce(g,_=>{t.textContent&&_(v)})}var x=L(g,2);{var D=_=>{var P=rd(),q=S(P);y(P),te(()=>J(q,`\u2026 ${t.childCount??""} child${t.childCount!==1?"ren":""}`)),$(_,P)};Ce(x,_=>{t.childCount>0&&_(D)})}var C=L(x,3),T=S(C,!0);y(C),Ae(),y(u);var N=L(u,2);{var A=_=>{var P=ad(),q=L(H(P),2);Dt(q,21,()=>t.styles,Pt,(E,I)=>{let F=()=>b(I).prop,K=()=>b(I).value;var ve=nd(),Xe=S(ve),Pe=S(Xe,!0);y(Xe);var je=L(Xe,2),hr=S(je);{var co=po=>{var mo=od();te(()=>Ar(mo,`background-color: ${K()??""};`)),$(po,mo)};Ce(hr,po=>{r(K())&&po(co)})}var uo=L(hr);y(je),y(ve),te(()=>{J(Pe,F()),J(uo,` ${K()??""}`)}),$(E,ve)}),y(q),$(_,P)};Ce(N,_=>{t.styles.length>0&&_(A)})}te(()=>{J(l,t.pageUrl),J(p,t.tag),J(T,t.tag)}),$(n,a)},$$slots:{content:!0}}),Qe()}Yt(["click","keydown"]);var ld=U('<span class="ancestor-label svelte-1hrn1yi"> </span>'),fd=U('<div class="region-title svelte-1hrn1yi"> </div>'),cd=U('<span class="tag-sep svelte-1hrn1yi">\xB7</span>'),dd=U('<span class="tag-item svelte-1hrn1yi"><span class="tag-name svelte-1hrn1yi"> </span><span class="tag-count svelte-1hrn1yi"> </span></span><!>',1),ud=U('<div class="tag-breakdown svelte-1hrn1yi"></div>'),pd=U('<span class="label-chip svelte-1hrn1yi"> </span>'),md=U('<div class="section-label svelte-1hrn1yi" style="margin-top: 10px;">CONTENT</div> <div class="labels-block svelte-1hrn1yi"></div>',1),hd=U('<div class="context-header svelte-1hrn1yi"><span class="page-url svelte-1hrn1yi"> </span> <!></div> <div class="section-label svelte-1hrn1yi">REGION</div> <div class="region-block svelte-1hrn1yi"><!> <div class="region-dims svelte-1hrn1yi"><span class="dims-value svelte-1hrn1yi"> </span> <span class="dims-unit svelte-1hrn1yi">px</span></div> <div class="element-count svelte-1hrn1yi"><span class="count-number svelte-1hrn1yi"> </span> </div> <!></div> <!> <label class="screenshot-toggle svelte-1hrn1yi"><input type="checkbox" class="svelte-1hrn1yi"/> <span class="svelte-1hrn1yi">Include screenshot</span></label>',1),vd={hash:"svelte-1hrn1yi",code:`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
332
|
+
@layer properties;
|
|
333
|
+
@layer theme, base, components, utilities;
|
|
334
|
+
@layer theme {:root, :host {--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
335
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
336
|
+
"Courier New", monospace;--color-red-400: oklch(70.4% 0.191 22.216);--color-red-500: oklch(63.7% 0.237 25.331);--color-orange-400: oklch(75% 0.183 55.934);--color-orange-500: oklch(70.5% 0.213 47.604);--color-amber-400: oklch(82.8% 0.189 84.429);--color-green-400: oklch(79.2% 0.209 151.711);--color-green-500: oklch(72.3% 0.219 149.579);--color-emerald-400: oklch(76.5% 0.177 163.223);--color-indigo-300: oklch(78.5% 0.115 274.713);--color-black: #000;--color-white: #fff;--spacing: 0.25rem;--text-xs: 0.75rem;--text-xs--line-height: calc(1 / 0.75);--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -0.025em;--tracking-wide: 0.025em;--tracking-wider: 0.05em;--leading-relaxed: 1.625;--radius-md: 0.375rem;--radius-lg: 0.5rem;--radius-xl: 0.75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, 0.2, 1);--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--blur-sm: 8px;--blur-xl: 24px;--default-transition-duration: 150ms;--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono);}
|
|
337
|
+
}
|
|
338
|
+
@layer base {.svelte-1hrn1yi, .svelte-1hrn1yi::after, .svelte-1hrn1yi::before, .svelte-1hrn1yi::backdrop, .svelte-1hrn1yi::file-selector-button {box-sizing:border-box;margin:0;padding:0;border:0 solid;} :host {line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;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;}.svelte-1hrn1yi:-moz-focusring {outline:auto;} input.svelte-1hrn1yi, .svelte-1hrn1yi::file-selector-button {font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;}.svelte-1hrn1yi::file-selector-button {margin-inline-end:4px;}.svelte-1hrn1yi::placeholder {opacity:1;}
|
|
339
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {.svelte-1hrn1yi::placeholder {color:currentcolor;
|
|
340
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, currentcolor 50%, transparent);
|
|
341
|
+
}}
|
|
342
|
+
}.svelte-1hrn1yi::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1hrn1yi::-webkit-date-and-time-value {min-height:1lh;text-align:inherit;}.svelte-1hrn1yi::-webkit-datetime-edit {display:inline-flex;}.svelte-1hrn1yi::-webkit-datetime-edit-fields-wrapper {padding:0;}.svelte-1hrn1yi::-webkit-datetime-edit, .svelte-1hrn1yi::-webkit-datetime-edit-year-field, .svelte-1hrn1yi::-webkit-datetime-edit-month-field, .svelte-1hrn1yi::-webkit-datetime-edit-day-field, .svelte-1hrn1yi::-webkit-datetime-edit-hour-field, .svelte-1hrn1yi::-webkit-datetime-edit-minute-field, .svelte-1hrn1yi::-webkit-datetime-edit-second-field, .svelte-1hrn1yi::-webkit-datetime-edit-millisecond-field, .svelte-1hrn1yi::-webkit-datetime-edit-meridiem-field {padding-block:0;}.svelte-1hrn1yi::-webkit-calendar-picker-indicator {line-height:1;}.svelte-1hrn1yi:-moz-ui-invalid {box-shadow:none;} .svelte-1hrn1yi::file-selector-button {appearance:button;}.svelte-1hrn1yi::-webkit-inner-spin-button, .svelte-1hrn1yi::-webkit-outer-spin-button {height:auto;}
|
|
343
|
+
}
|
|
344
|
+
@layer utilities {
|
|
345
|
+
}.context-header {margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid rgba(255, 255, 255, 0.06);}.page-url {display:block;font-size:9px;color:rgba(255, 255, 255, 0.3);letter-spacing:0.05em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.ancestor-label {display:block;margin-top:3px;font-size:10px;color:rgba(255, 255, 255, 0.25);}.section-label {font-size:9px;font-weight:600;letter-spacing:0.1em;color:rgba(255, 255, 255, 0.2);margin-bottom:6px;font-family:inherit;}.region-block {padding:8px 10px;background:rgba(255, 255, 255, 0.04);border:1px solid rgba(255, 255, 255, 0.08);border-radius:6px;}.region-dims {display:flex;align-items:baseline;gap:4px;margin-bottom:6px;}.dims-value {font-size:14px;font-weight:500;color:rgba(255, 255, 255, 0.8);font-variant-numeric:tabular-nums;}.dims-unit {font-size:10px;color:rgba(255, 255, 255, 0.3);}.element-count {font-size:11px;color:rgba(255, 255, 255, 0.4);margin-bottom:6px;}.count-number {color:#7dcfff;font-weight:500;}.tag-breakdown {display:flex;flex-wrap:wrap;gap:2px 0;font-size:10px;line-height:1.6;}.tag-item {display:inline-flex;align-items:center;gap:1px;}.tag-name {color:rgba(255, 255, 255, 0.5);}.tag-count {color:rgba(255, 255, 255, 0.25);font-size:9px;}.tag-sep {margin:0 4px;color:rgba(255, 255, 255, 0.12);}.region-title {font-size:12px;font-weight:500;color:rgba(255, 255, 255, 0.7);margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:-apple-system, BlinkMacSystemFont, sans-serif;}.labels-block {display:flex;flex-wrap:wrap;gap:4px;}.label-chip {display:inline-block;padding:2px 8px;background:rgba(255, 255, 255, 0.06);border:1px solid rgba(255, 255, 255, 0.08);border-radius:4px;font-size:10px;color:rgba(255, 255, 255, 0.55);}.screenshot-toggle {display:flex;align-items:center;gap:5px;margin-top:10px;padding-top:8px;border-top:1px solid rgba(255, 255, 255, 0.06);font-size:10px;color:rgba(255, 255, 255, 0.4);cursor:pointer;user-select:none;}.screenshot-toggle input[type="checkbox"] {appearance:none;width:12px;height:12px;border:1px solid rgba(255, 255, 255, 0.25);border-radius:3px;background:rgba(255, 255, 255, 0.06);cursor:pointer;position:relative;}.screenshot-toggle input[type="checkbox"]:checked {background:rgba(125, 207, 255, 0.2);border-color:rgba(125, 207, 255, 0.5);}.screenshot-toggle input[type="checkbox"]:checked::after {content:'';position:absolute;top:1px;left:3px;width:4px;height:7px;border:solid rgba(125, 207, 255, 0.9);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);}
|
|
346
|
+
@property --tw-translate-x {syntax:"*";inherits:false;initial-value:0;
|
|
347
|
+
}
|
|
348
|
+
@property --tw-translate-y {syntax:"*";inherits:false;initial-value:0;
|
|
349
|
+
}
|
|
350
|
+
@property --tw-translate-z {syntax:"*";inherits:false;initial-value:0;
|
|
351
|
+
}
|
|
352
|
+
@property --tw-rotate-x {syntax:"*";inherits:false;
|
|
353
|
+
}
|
|
354
|
+
@property --tw-rotate-y {syntax:"*";inherits:false;
|
|
355
|
+
}
|
|
356
|
+
@property --tw-rotate-z {syntax:"*";inherits:false;
|
|
357
|
+
}
|
|
358
|
+
@property --tw-skew-x {syntax:"*";inherits:false;
|
|
359
|
+
}
|
|
360
|
+
@property --tw-skew-y {syntax:"*";inherits:false;
|
|
361
|
+
}
|
|
362
|
+
@property --tw-border-style {syntax:"*";inherits:false;initial-value:solid;
|
|
363
|
+
}
|
|
364
|
+
@property --tw-leading {syntax:"*";inherits:false;
|
|
365
|
+
}
|
|
366
|
+
@property --tw-font-weight {syntax:"*";inherits:false;
|
|
367
|
+
}
|
|
368
|
+
@property --tw-tracking {syntax:"*";inherits:false;
|
|
369
|
+
}
|
|
370
|
+
@property --tw-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
371
|
+
}
|
|
372
|
+
@property --tw-shadow-color {syntax:"*";inherits:false;
|
|
373
|
+
}
|
|
374
|
+
@property --tw-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
375
|
+
}
|
|
376
|
+
@property --tw-inset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
377
|
+
}
|
|
378
|
+
@property --tw-inset-shadow-color {syntax:"*";inherits:false;
|
|
379
|
+
}
|
|
380
|
+
@property --tw-inset-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
381
|
+
}
|
|
382
|
+
@property --tw-ring-color {syntax:"*";inherits:false;
|
|
383
|
+
}
|
|
384
|
+
@property --tw-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
385
|
+
}
|
|
386
|
+
@property --tw-inset-ring-color {syntax:"*";inherits:false;
|
|
387
|
+
}
|
|
388
|
+
@property --tw-inset-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
389
|
+
}
|
|
390
|
+
@property --tw-ring-inset {syntax:"*";inherits:false;
|
|
391
|
+
}
|
|
392
|
+
@property --tw-ring-offset-width {syntax:"<length>";inherits:false;initial-value:0px;
|
|
393
|
+
}
|
|
394
|
+
@property --tw-ring-offset-color {syntax:"*";inherits:false;initial-value:#fff;
|
|
395
|
+
}
|
|
396
|
+
@property --tw-ring-offset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
397
|
+
}
|
|
398
|
+
@property --tw-blur {syntax:"*";inherits:false;
|
|
399
|
+
}
|
|
400
|
+
@property --tw-brightness {syntax:"*";inherits:false;
|
|
401
|
+
}
|
|
402
|
+
@property --tw-contrast {syntax:"*";inherits:false;
|
|
403
|
+
}
|
|
404
|
+
@property --tw-grayscale {syntax:"*";inherits:false;
|
|
405
|
+
}
|
|
406
|
+
@property --tw-hue-rotate {syntax:"*";inherits:false;
|
|
407
|
+
}
|
|
408
|
+
@property --tw-invert {syntax:"*";inherits:false;
|
|
409
|
+
}
|
|
410
|
+
@property --tw-opacity {syntax:"*";inherits:false;
|
|
411
|
+
}
|
|
412
|
+
@property --tw-saturate {syntax:"*";inherits:false;
|
|
413
|
+
}
|
|
414
|
+
@property --tw-sepia {syntax:"*";inherits:false;
|
|
415
|
+
}
|
|
416
|
+
@property --tw-drop-shadow {syntax:"*";inherits:false;
|
|
417
|
+
}
|
|
418
|
+
@property --tw-drop-shadow-color {syntax:"*";inherits:false;
|
|
419
|
+
}
|
|
420
|
+
@property --tw-drop-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
421
|
+
}
|
|
422
|
+
@property --tw-drop-shadow-size {syntax:"*";inherits:false;
|
|
423
|
+
}
|
|
424
|
+
@property --tw-backdrop-blur {syntax:"*";inherits:false;
|
|
425
|
+
}
|
|
426
|
+
@property --tw-backdrop-brightness {syntax:"*";inherits:false;
|
|
427
|
+
}
|
|
428
|
+
@property --tw-backdrop-contrast {syntax:"*";inherits:false;
|
|
429
|
+
}
|
|
430
|
+
@property --tw-backdrop-grayscale {syntax:"*";inherits:false;
|
|
431
|
+
}
|
|
432
|
+
@property --tw-backdrop-hue-rotate {syntax:"*";inherits:false;
|
|
433
|
+
}
|
|
434
|
+
@property --tw-backdrop-invert {syntax:"*";inherits:false;
|
|
435
|
+
}
|
|
436
|
+
@property --tw-backdrop-opacity {syntax:"*";inherits:false;
|
|
437
|
+
}
|
|
438
|
+
@property --tw-backdrop-saturate {syntax:"*";inherits:false;
|
|
439
|
+
}
|
|
440
|
+
@property --tw-backdrop-sepia {syntax:"*";inherits:false;
|
|
441
|
+
}
|
|
442
|
+
@property --tw-duration {syntax:"*";inherits:false;
|
|
443
|
+
}
|
|
444
|
+
@property --tw-ease {syntax:"*";inherits:false;
|
|
445
|
+
}
|
|
446
|
+
@property --tw-scale-x {syntax:"*";inherits:false;initial-value:1;
|
|
447
|
+
}
|
|
448
|
+
@property --tw-scale-y {syntax:"*";inherits:false;initial-value:1;
|
|
449
|
+
}
|
|
450
|
+
@property --tw-scale-z {syntax:"*";inherits:false;initial-value:1;
|
|
451
|
+
}
|
|
452
|
+
@keyframes svelte-1hrn1yi-pulse {
|
|
453
|
+
50% {
|
|
454
|
+
opacity: 0.5;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
@layer properties {
|
|
458
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {.svelte-1hrn1yi, .svelte-1hrn1yi::before, .svelte-1hrn1yi::after, .svelte-1hrn1yi::backdrop {--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--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-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-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-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial;--tw-duration: initial;--tw-ease: initial;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;}
|
|
459
|
+
}
|
|
460
|
+
}`};function ei(e,t){Je(t,!0),dt(e,vd);let r=Se(!0);No(e,{onSelect:n=>t.onSelect(n,b(r)),get onClose(){return t.onClose},content:n=>{var a=hd(),i=H(a),s=S(i),l=S(s,!0);y(s);var c=L(s,2);{var d=I=>{var F=ld(),K=S(F);y(F),te(()=>J(K,`in ${t.ancestorLabel??""}`)),$(I,F)};Ce(c,I=>{t.ancestorLabel&&I(d)})}y(i);var u=L(i,4),f=S(u);{var p=I=>{var F=fd(),K=S(F,!0);y(F),te(()=>J(K,t.title)),$(I,F)};Ce(f,I=>{t.title&&I(p)})}var h=L(f,2),g=S(h),v=S(g);y(g),Ae(2),y(h);var x=L(h,2),D=S(x),C=S(D,!0);y(D);var T=L(D);y(x);var N=L(x,2);{var A=I=>{var F=ud();Dt(F,21,()=>t.tagBreakdown,Pt,(K,ve,Xe)=>{let Pe=()=>b(ve).tag,je=()=>b(ve).count;var hr=dd(),co=H(hr),uo=S(co),po=S(uo,!0);y(uo);var mo=L(uo),wf=S(mo);y(mo),y(co);var bf=L(co);{var _f=ea=>{var yf=cd();$(ea,yf)};Ce(bf,ea=>{Xe<t.tagBreakdown.length-1&&ea(_f)})}te(()=>{J(po,Pe()),J(wf,`\xD7${je()??""}`)}),$(K,hr)}),y(F),$(I,F)};Ce(N,I=>{t.tagBreakdown.length>0&&I(A)})}y(u);var _=L(u,2);{var P=I=>{var F=md(),K=L(H(F),2);Dt(K,21,()=>t.labels,Pt,(ve,Xe)=>{var Pe=pd(),je=S(Pe,!0);y(Pe),te(()=>J(je,b(Xe))),$(ve,Pe)}),y(K),$(I,F)};Ce(_,I=>{t.labels.length>0&&I(P)})}var q=L(_,2),E=S(q);yn(E),Ae(2),y(q),te(()=>{J(l,t.pageUrl),J(v,`${t.width??""} \xD7 ${t.height??""}`),J(C,t.elementCount),J(T,` element${t.elementCount!==1?"s":""}`)}),Ga(E,()=>b(r),I=>W(r,I)),$(n,a)},$$slots:{content:!0}}),Qe()}var yS=U('<div class="bg-black/95 text-white py-3.5 px-5 rounded-2xl font-sans text-[13px] font-medium shadow-[0_16px_48px_rgba(0,0,0,0.5)] backdrop-blur-[32px] backdrop-saturate-200 border border-white/10 flex items-center gap-2.5 animate-[slideUp_0.2s_ease-out] svelte-1fgfvwx"><span></span> </div>');var xd=U('<div class="bg-black/95 text-white py-3.5 px-5 rounded-2xl font-sans text-[13px] font-medium shadow-[0_16px_48px_rgba(0,0,0,0.5)] max-w-[360px] backdrop-blur-[32px] backdrop-saturate-200 border border-white/10 animate-[fadeOut_var(--duration,2500ms)_forwards] [&_strong]:font-semibold [&_strong]:text-indigo-300 svelte-vmgd2o"><!></div>'),gd={hash:"svelte-vmgd2o",code:`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
461
|
+
@layer properties;
|
|
462
|
+
@layer theme, base, components, utilities;
|
|
463
|
+
@layer theme {:root, :host {--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
464
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
465
|
+
"Courier New", monospace;--color-red-400: oklch(70.4% 0.191 22.216);--color-red-500: oklch(63.7% 0.237 25.331);--color-orange-400: oklch(75% 0.183 55.934);--color-orange-500: oklch(70.5% 0.213 47.604);--color-amber-400: oklch(82.8% 0.189 84.429);--color-green-400: oklch(79.2% 0.209 151.711);--color-green-500: oklch(72.3% 0.219 149.579);--color-emerald-400: oklch(76.5% 0.177 163.223);--color-indigo-300: oklch(78.5% 0.115 274.713);--color-black: #000;--color-white: #fff;--spacing: 0.25rem;--text-xs: 0.75rem;--text-xs--line-height: calc(1 / 0.75);--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -0.025em;--tracking-wide: 0.025em;--tracking-wider: 0.05em;--leading-relaxed: 1.625;--radius-md: 0.375rem;--radius-lg: 0.5rem;--radius-xl: 0.75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, 0.2, 1);--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--blur-sm: 8px;--blur-xl: 24px;--default-transition-duration: 150ms;--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono);}
|
|
466
|
+
}
|
|
467
|
+
@layer base {.svelte-vmgd2o, .svelte-vmgd2o::after, .svelte-vmgd2o::before, .svelte-vmgd2o::backdrop, .svelte-vmgd2o::file-selector-button {box-sizing:border-box;margin:0;padding:0;border:0 solid;} :host {line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;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;}.svelte-vmgd2o:-moz-focusring {outline:auto;} .svelte-vmgd2o::file-selector-button {font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;}.svelte-vmgd2o::file-selector-button {margin-inline-end:4px;}.svelte-vmgd2o::placeholder {opacity:1;}
|
|
468
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {.svelte-vmgd2o::placeholder {color:currentcolor;
|
|
469
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, currentcolor 50%, transparent);
|
|
470
|
+
}}
|
|
471
|
+
}.svelte-vmgd2o::-webkit-search-decoration {-webkit-appearance:none;}.svelte-vmgd2o::-webkit-date-and-time-value {min-height:1lh;text-align:inherit;}.svelte-vmgd2o::-webkit-datetime-edit {display:inline-flex;}.svelte-vmgd2o::-webkit-datetime-edit-fields-wrapper {padding:0;}.svelte-vmgd2o::-webkit-datetime-edit, .svelte-vmgd2o::-webkit-datetime-edit-year-field, .svelte-vmgd2o::-webkit-datetime-edit-month-field, .svelte-vmgd2o::-webkit-datetime-edit-day-field, .svelte-vmgd2o::-webkit-datetime-edit-hour-field, .svelte-vmgd2o::-webkit-datetime-edit-minute-field, .svelte-vmgd2o::-webkit-datetime-edit-second-field, .svelte-vmgd2o::-webkit-datetime-edit-millisecond-field, .svelte-vmgd2o::-webkit-datetime-edit-meridiem-field {padding-block:0;}.svelte-vmgd2o::-webkit-calendar-picker-indicator {line-height:1;}.svelte-vmgd2o:-moz-ui-invalid {box-shadow:none;} .svelte-vmgd2o::file-selector-button {appearance:button;}.svelte-vmgd2o::-webkit-inner-spin-button, .svelte-vmgd2o::-webkit-outer-spin-button {height:auto;}
|
|
472
|
+
}
|
|
473
|
+
@layer utilities {.max-w-\\[360px\\].svelte-vmgd2o {max-width:360px;}.animate-\\[fadeOut_var\\(--duration\\,2500ms\\)_forwards\\].svelte-vmgd2o {
|
|
474
|
+
animation: svelte-vmgd2o-fadeOut var(--duration,2500ms) forwards;}.rounded-2xl.svelte-vmgd2o {border-radius:var(--radius-2xl);}.border.svelte-vmgd2o {border-style:var(--tw-border-style);border-width:1px;}.border-white\\/10.svelte-vmgd2o {border-color:color-mix(in srgb, #fff 10%, transparent);
|
|
475
|
+
@supports (color: color-mix(in lab, red, red)) {border-color:color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
476
|
+
}}.bg-black\\/95.svelte-vmgd2o {background-color:color-mix(in srgb, #000 95%, transparent);
|
|
477
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-black) 95%, transparent);
|
|
478
|
+
}}.px-5.svelte-vmgd2o {padding-inline:calc(var(--spacing) * 5);}.py-3\\.5.svelte-vmgd2o {padding-block:calc(var(--spacing) * 3.5);}.font-sans.svelte-vmgd2o {font-family:var(--font-sans);}.text-\\[13px\\].svelte-vmgd2o {font-size:13px;}.font-medium.svelte-vmgd2o {--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);}.text-white.svelte-vmgd2o {color:var(--color-white);}.shadow-\\[0_16px_48px_rgba\\(0\\,0\\,0\\,0\\.5\\)\\].svelte-vmgd2o {--tw-shadow: 0 16px 48px var(--tw-shadow-color, rgba(0,0,0,0.5));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);}.backdrop-blur-\\[32px\\].svelte-vmgd2o {--tw-backdrop-blur: blur(32px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}.backdrop-saturate-200.svelte-vmgd2o {--tw-backdrop-saturate: saturate(200%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}
|
|
479
|
+
}
|
|
480
|
+
@keyframes svelte-vmgd2o-fadeOut {
|
|
481
|
+
0% {
|
|
482
|
+
opacity: 1;
|
|
483
|
+
transform: translateY(0);
|
|
484
|
+
}
|
|
485
|
+
75% {
|
|
486
|
+
opacity: 1;
|
|
487
|
+
transform: translateY(0);
|
|
488
|
+
}
|
|
489
|
+
100% {
|
|
490
|
+
opacity: 0;
|
|
491
|
+
transform: translateY(-8px);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
@property --tw-translate-x {syntax:"*";inherits:false;initial-value:0;
|
|
495
|
+
}
|
|
496
|
+
@property --tw-translate-y {syntax:"*";inherits:false;initial-value:0;
|
|
497
|
+
}
|
|
498
|
+
@property --tw-translate-z {syntax:"*";inherits:false;initial-value:0;
|
|
499
|
+
}
|
|
500
|
+
@property --tw-rotate-x {syntax:"*";inherits:false;
|
|
501
|
+
}
|
|
502
|
+
@property --tw-rotate-y {syntax:"*";inherits:false;
|
|
503
|
+
}
|
|
504
|
+
@property --tw-rotate-z {syntax:"*";inherits:false;
|
|
505
|
+
}
|
|
506
|
+
@property --tw-skew-x {syntax:"*";inherits:false;
|
|
507
|
+
}
|
|
508
|
+
@property --tw-skew-y {syntax:"*";inherits:false;
|
|
509
|
+
}
|
|
510
|
+
@property --tw-border-style {syntax:"*";inherits:false;initial-value:solid;
|
|
511
|
+
}
|
|
512
|
+
@property --tw-leading {syntax:"*";inherits:false;
|
|
513
|
+
}
|
|
514
|
+
@property --tw-font-weight {syntax:"*";inherits:false;
|
|
515
|
+
}
|
|
516
|
+
@property --tw-tracking {syntax:"*";inherits:false;
|
|
517
|
+
}
|
|
518
|
+
@property --tw-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
519
|
+
}
|
|
520
|
+
@property --tw-shadow-color {syntax:"*";inherits:false;
|
|
521
|
+
}
|
|
522
|
+
@property --tw-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
523
|
+
}
|
|
524
|
+
@property --tw-inset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
525
|
+
}
|
|
526
|
+
@property --tw-inset-shadow-color {syntax:"*";inherits:false;
|
|
527
|
+
}
|
|
528
|
+
@property --tw-inset-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
529
|
+
}
|
|
530
|
+
@property --tw-ring-color {syntax:"*";inherits:false;
|
|
531
|
+
}
|
|
532
|
+
@property --tw-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
533
|
+
}
|
|
534
|
+
@property --tw-inset-ring-color {syntax:"*";inherits:false;
|
|
535
|
+
}
|
|
536
|
+
@property --tw-inset-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
537
|
+
}
|
|
538
|
+
@property --tw-ring-inset {syntax:"*";inherits:false;
|
|
539
|
+
}
|
|
540
|
+
@property --tw-ring-offset-width {syntax:"<length>";inherits:false;initial-value:0px;
|
|
541
|
+
}
|
|
542
|
+
@property --tw-ring-offset-color {syntax:"*";inherits:false;initial-value:#fff;
|
|
543
|
+
}
|
|
544
|
+
@property --tw-ring-offset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
545
|
+
}
|
|
546
|
+
@property --tw-blur {syntax:"*";inherits:false;
|
|
547
|
+
}
|
|
548
|
+
@property --tw-brightness {syntax:"*";inherits:false;
|
|
549
|
+
}
|
|
550
|
+
@property --tw-contrast {syntax:"*";inherits:false;
|
|
551
|
+
}
|
|
552
|
+
@property --tw-grayscale {syntax:"*";inherits:false;
|
|
553
|
+
}
|
|
554
|
+
@property --tw-hue-rotate {syntax:"*";inherits:false;
|
|
555
|
+
}
|
|
556
|
+
@property --tw-invert {syntax:"*";inherits:false;
|
|
557
|
+
}
|
|
558
|
+
@property --tw-opacity {syntax:"*";inherits:false;
|
|
559
|
+
}
|
|
560
|
+
@property --tw-saturate {syntax:"*";inherits:false;
|
|
561
|
+
}
|
|
562
|
+
@property --tw-sepia {syntax:"*";inherits:false;
|
|
563
|
+
}
|
|
564
|
+
@property --tw-drop-shadow {syntax:"*";inherits:false;
|
|
565
|
+
}
|
|
566
|
+
@property --tw-drop-shadow-color {syntax:"*";inherits:false;
|
|
567
|
+
}
|
|
568
|
+
@property --tw-drop-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
569
|
+
}
|
|
570
|
+
@property --tw-drop-shadow-size {syntax:"*";inherits:false;
|
|
571
|
+
}
|
|
572
|
+
@property --tw-backdrop-blur {syntax:"*";inherits:false;
|
|
573
|
+
}
|
|
574
|
+
@property --tw-backdrop-brightness {syntax:"*";inherits:false;
|
|
575
|
+
}
|
|
576
|
+
@property --tw-backdrop-contrast {syntax:"*";inherits:false;
|
|
577
|
+
}
|
|
578
|
+
@property --tw-backdrop-grayscale {syntax:"*";inherits:false;
|
|
579
|
+
}
|
|
580
|
+
@property --tw-backdrop-hue-rotate {syntax:"*";inherits:false;
|
|
581
|
+
}
|
|
582
|
+
@property --tw-backdrop-invert {syntax:"*";inherits:false;
|
|
583
|
+
}
|
|
584
|
+
@property --tw-backdrop-opacity {syntax:"*";inherits:false;
|
|
585
|
+
}
|
|
586
|
+
@property --tw-backdrop-saturate {syntax:"*";inherits:false;
|
|
587
|
+
}
|
|
588
|
+
@property --tw-backdrop-sepia {syntax:"*";inherits:false;
|
|
589
|
+
}
|
|
590
|
+
@property --tw-duration {syntax:"*";inherits:false;
|
|
591
|
+
}
|
|
592
|
+
@property --tw-ease {syntax:"*";inherits:false;
|
|
593
|
+
}
|
|
594
|
+
@property --tw-scale-x {syntax:"*";inherits:false;initial-value:1;
|
|
595
|
+
}
|
|
596
|
+
@property --tw-scale-y {syntax:"*";inherits:false;initial-value:1;
|
|
597
|
+
}
|
|
598
|
+
@property --tw-scale-z {syntax:"*";inherits:false;initial-value:1;
|
|
599
|
+
}
|
|
600
|
+
@keyframes svelte-vmgd2o-pulse {
|
|
601
|
+
50% {
|
|
602
|
+
opacity: 0.5;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
@layer properties {
|
|
606
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {.svelte-vmgd2o, .svelte-vmgd2o::before, .svelte-vmgd2o::after, .svelte-vmgd2o::backdrop {--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--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-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-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-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial;--tw-duration: initial;--tw-ease: initial;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;}
|
|
607
|
+
}
|
|
608
|
+
}`};function ti(e,t){dt(e,gd);let r=ut(t,"duration",3,2500);var o=xd(),n=S(o);Fa(n,()=>t.message),y(o),te(()=>Ar(o,`--duration: ${r()??""}ms`)),$(e,o)}var wd="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap",ri=!1;function ml(){if(ri)return;if(document.getElementById("clueprint-font")){ri=!0;return}let e=document.createElement("link");e.id="clueprint-font",e.rel="stylesheet",e.href=wd,document.head.appendChild(e),ri=!0}function hl(e,t,r,o=280,n=300){ml();let a=document.getElementById(e);a&&a.remove();let i=window.innerHeight-r,s=r,l;i>=o+10?l=r+10:s>=o+10?l=r-o-10:l=Math.max(10,Math.min(r+10,window.innerHeight-o-10));let c=Math.min(t+10,window.innerWidth-n-10),d=document.createElement("div");d.id=e,d.style.cssText=`
|
|
609
|
+
position: fixed;
|
|
610
|
+
top: ${l}px;
|
|
611
|
+
left: ${Math.max(10,c)}px;
|
|
612
|
+
z-index: 2147483647;
|
|
613
|
+
`;let u=d.attachShadow({mode:"closed"}),f=document.createElement("style");return f.textContent=":host { all: initial; }",u.appendChild(f),document.body.appendChild(d),{host:d,shadow:u}}function vl(e,t,r,o,n,a){let{host:i,shadow:s}=hl("ai-devtools-intent-picker",e,t,420,380),l=document.createElement("div");s.appendChild(l);let c=null,d=null,u=r,f=()=>{d&&(d.remove(),d=null)},p=()=>{f(),c&&(wt(c),c=null),i.remove()},h=()=>{p(),n()},g=C=>{p(),o(C)},v=C=>{let T=u.parentElements[C];if(!T)return;let N=T.getBoundingClientRect();d||(d=document.createElement("div"),d.style.cssText=`
|
|
614
|
+
position: fixed;
|
|
615
|
+
pointer-events: none;
|
|
616
|
+
border: 2px solid rgba(0, 102, 255, 0.5);
|
|
617
|
+
background: rgba(0, 102, 255, 0.05);
|
|
618
|
+
z-index: 2147483646;
|
|
619
|
+
border-radius: 4px;
|
|
620
|
+
transition: all 0.1s ease;
|
|
621
|
+
`,document.body.appendChild(d)),d.style.top=`${N.top}px`,d.style.left=`${N.left}px`,d.style.width=`${N.width}px`,d.style.height=`${N.height}px`},x=()=>{f()},D=C=>{if(!a)return;let T=u.parentElements[C];if(!T)return;let N=a(T);u=N,f(),c&&(wt(c),c=null),c=ct(Dn,{target:l,props:{tag:N.tag,attrs:N.attrs,textContent:N.textContent,parents:N.parents,pageUrl:N.pageUrl,childCount:N.childCount,styles:N.styles,onSelect:g,onClose:h,onHighlightParent:v,onUnhighlightParent:x,onSelectParent:D}})};return c=ct(Dn,{target:l,props:{tag:r.tag,attrs:r.attrs,textContent:r.textContent,parents:r.parents,pageUrl:r.pageUrl,childCount:r.childCount,styles:r.styles,onSelect:g,onClose:h,onHighlightParent:v,onUnhighlightParent:x,onSelectParent:D}}),{cleanup:p}}function xl(e,t,r,o,n){let{host:a,shadow:i}=hl("ai-devtools-intent-picker",e,t,320,360),s=document.createElement("div");i.appendChild(s);let l=null,c=()=>{l&&(wt(l),l=null),a.remove()};return l=ct(ei,{target:s,props:{...r,onSelect:(f,p)=>{c(),o(f,p)},onClose:()=>{c(),n()}}}),{cleanup:c}}function Nn(e,t,r,o=2500){ml();let n=document.createElement("div");n.id="ai-devtools-confirmation",n.style.cssText=`
|
|
622
|
+
position: fixed;
|
|
623
|
+
top: ${t}px;
|
|
624
|
+
left: ${e}px;
|
|
625
|
+
z-index: 2147483647;
|
|
626
|
+
pointer-events: none;
|
|
627
|
+
`,n.style.setProperty("--duration",`${o}ms`);let a=n.attachShadow({mode:"closed"}),i=document.createElement("style");i.textContent=`
|
|
628
|
+
:host {
|
|
629
|
+
all: initial;
|
|
630
|
+
}
|
|
631
|
+
`,a.appendChild(i);let s=document.createElement("div");a.appendChild(s),document.body.appendChild(n),ct(ti,{target:s,props:{message:r,duration:o}}),setTimeout(()=>n.remove(),o)}var fr=!1,Lr=!1,ai=!1,nt=null,Le=null,oi=null,lr=null,In=null,Rr=null;function _l(e){if(e.key==="Escape"){fr&&_t();return}e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&(Lr||(Lr=!0,oo()))}function yl(e){(e.key==="Alt"||e.key==="Option")&&Lr&&!document.getElementById("ai-devtools-intent-picker")&&(Lr=!1,_t())}function kl(){Lr&&(Lr=!1,document.getElementById("ai-devtools-intent-picker")||_t())}function bd(){let e=document.createElement("div");return e.id="ai-devtools-highlight",e.style.cssText=`
|
|
632
|
+
position: fixed;
|
|
633
|
+
pointer-events: none;
|
|
634
|
+
border: 2px solid #0066ff;
|
|
635
|
+
background: rgba(0, 102, 255, 0.1);
|
|
636
|
+
z-index: 2147483647;
|
|
637
|
+
transition: all 0.1s ease;
|
|
638
|
+
border-radius: 4px;
|
|
639
|
+
`,e}function _d(){let e=document.createElement("div");return e.id="ai-devtools-element-label",e.style.cssText=`
|
|
640
|
+
position: fixed;
|
|
641
|
+
pointer-events: none;
|
|
642
|
+
background: #0066ff;
|
|
643
|
+
color: white;
|
|
644
|
+
padding: 4px 8px;
|
|
645
|
+
border-radius: 4px;
|
|
646
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Monaco, monospace;
|
|
647
|
+
font-size: 11px;
|
|
648
|
+
z-index: 2147483647;
|
|
649
|
+
white-space: nowrap;
|
|
650
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
651
|
+
`,e}function yd(e){let t=e.tagName.toLowerCase(),r=e.id?`#${e.id}`:"",o=Array.from(e.classList).slice(0,2).map(s=>`.${s}`).join(""),n=e.getBoundingClientRect(),a=`${Math.round(n.width)}\xD7${Math.round(n.height)}`,i=t+r+o;return i.length>40&&(i=i.slice(0,37)+"..."),`${i} ${a}`}function gl(e){let{parents:t,elements:r}=Sd(e);return{tag:e.tagName.toLowerCase(),attrs:kd(e),textContent:Ed(e),parents:t,parentElements:r,pageUrl:window.location.hostname+window.location.pathname,childCount:e.children.length,styles:Cd(e)}}function kd(e){let t=[];e.id&&t.push({name:"id",value:e.id});let r=Array.from(e.classList);if(r.length>0){let n=r.slice(0,3).join(" ")+(r.length>3?` +${r.length-3}`:"");t.push({name:"class",value:n})}let o=["type","href","src","role","name","placeholder","aria-label"];for(let n of o){let a=e.getAttribute(n);a&&t.push({name:n,value:a.length>25?a.slice(0,22)+"...":a})}return t}function Ed(e){let t=e.textContent?.trim()||"";if(!t)return"";let o=Array.from(e.childNodes).filter(n=>n.nodeType===Node.TEXT_NODE).map(n=>n.textContent?.trim()).filter(Boolean).join(" ")||t;return o.length>40?o.slice(0,37)+"...":o}function Sd(e){let t=[],r=[],o=e.parentElement;for(;o&&o!==document.body&&o!==document.documentElement;){let n=o.tagName.toLowerCase(),a=o.id?`#${o.id}`:"",i=o.classList.length>0?`.${o.classList[0]}`:"";t.unshift({label:n+a+i}),r.unshift(o),o=o.parentElement}return{parents:t,elements:r}}function Cd(e){let t=window.getComputedStyle(e),r=e.getBoundingClientRect(),o=[],n=e.tagName.toLowerCase(),a=t.display,i=t.position;if(o.push({prop:"display",value:a}),(a==="flex"||a==="inline-flex")&&(t.flexDirection!=="row"&&o.push({prop:"direction",value:t.flexDirection}),t.gap!=="normal"&&t.gap!=="0px"&&o.push({prop:"gap",value:t.gap}),t.alignItems!=="normal"&&o.push({prop:"align",value:t.alignItems}),t.justifyContent!=="normal"&&o.push({prop:"justify",value:t.justifyContent})),a==="grid"||a==="inline-grid"){if(t.gridTemplateColumns!=="none"){let u=t.gridTemplateColumns;o.push({prop:"columns",value:u.length>30?u.slice(0,27)+"...":u})}t.gap!=="normal"&&t.gap!=="0px"&&o.push({prop:"gap",value:t.gap})}i!=="static"&&(o.push({prop:"position",value:i}),t.zIndex!=="auto"&&o.push({prop:"z-index",value:t.zIndex})),["p","h1","h2","h3","h4","h5","h6","span","a","label","li","td","th","button"].includes(n)&&(o.push({prop:"font",value:`${t.fontSize} / ${t.fontWeight}`}),t.color!=="rgb(0, 0, 0)"&&o.push({prop:"color",value:wl(t.color)}),t.lineHeight!=="normal"&&o.push({prop:"line-height",value:t.lineHeight}));let l=t.backgroundColor;l&&l!=="rgba(0, 0, 0, 0)"&&l!=="transparent"&&o.push({prop:"background",value:wl(l)});let c=t.padding;c&&c!=="0px"&&o.push({prop:"padding",value:c});let d=t.borderRadius;return d&&d!=="0px"&&o.push({prop:"radius",value:d}),o.push({prop:"size",value:`${Math.round(r.width)} \xD7 ${Math.round(r.height)}`}),o.slice(0,8)}function wl(e){if(e.startsWith("#"))return e;let t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(t){let n=parseInt(t[1]),a=parseInt(t[2]),i=parseInt(t[3]);return`#${((1<<24)+(n<<16)+(a<<8)+i).toString(16).slice(1)}`}let r=e.match(/oklab\(([\d.]+)\s+([-\d.]+)\s+([-\d.]+)/);if(r){let n=parseFloat(r[1]),a=parseFloat(r[2]),i=parseFloat(r[3]);return bl(n,a,i)}let o=e.match(/oklch\(([\d.]+)\s+([\d.]+)\s+([\d.]+)/);if(o){let n=parseFloat(o[1]),a=parseFloat(o[2]),i=parseFloat(o[3])*Math.PI/180;return bl(n,a*Math.cos(i),a*Math.sin(i))}return e}function bl(e,t,r){let o=(e+.3963377774*t+.2158037573*r)**3,n=(e-.1055613458*t-.0638541728*r)**3,a=(e-.0894841775*t-1.291485548*r)**3,i=4.0767416621*o-3.3077115913*n+.2309699292*a,s=-1.2684380046*o+2.6097574011*n-.3413193965*a,l=-.0041960863*o-.7034186147*n+1.707614701*a;i=i<=.0031308?12.92*i:1.055*Math.pow(i,1/2.4)-.055,s=s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055,l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055;let c=d=>Math.max(0,Math.min(255,Math.round(d*255))).toString(16).padStart(2,"0");return`#${c(i)}${c(s)}${c(l)}`}function El(e){nt||(nt=bd(),document.body.appendChild(nt)),Le||(Le=_d(),document.body.appendChild(Le));let t=e.getBoundingClientRect();nt.style.top=`${t.top}px`,nt.style.left=`${t.left}px`,nt.style.width=`${t.width}px`,nt.style.height=`${t.height}px`,nt.style.display="block",Le.textContent=yd(e);let r=24,o=t.top>r+5?t.top-r-5:t.bottom+5;Le.style.top=`${o}px`,Le.style.left=`${t.left}px`,Le.style.display="block"}function $d(){nt&&(nt.style.display="none"),Le&&(Le.style.display="none")}function Td(){nt&&(nt.remove(),nt=null),Le&&(Le.remove(),Le=null)}function Ad(){In=document.body.style.overflow,document.body.style.overflow="hidden"}function ni(){document.body.style.overflow=In||"",In=null}function ii(e){if(!fr||lr||e.target?.id==="ai-devtools-highlight"||e.target?.id?.startsWith("ai-devtools-"))return;let t=e.target;t&&t!==oi&&(oi=t,El(t))}function Sl(e){if(!e.altKey&&!ai||e.target?.id?.startsWith("ai-devtools-")||lr||document.getElementById("ai-devtools-intent-picker"))return;e.preventDefault(),e.stopPropagation();let t=e.target;t&&Md(t,e.clientX,e.clientY)}function Md(e,t,r){lr=e,Ad(),document.removeEventListener("mousemove",ii,!0),Le&&(Le.style.display="none");let o=gl(e),n=i=>(lr=i,El(i),Le&&(Le.style.display="none"),gl(i)),{cleanup:a}=vl(t,r,o,async i=>{Rr=null,ni(),await Rd(lr,i)},()=>{Rr=null,ni(),lr=null,_t()},n);Rr=a}async function Rd(e,t){let r=t==="fix"?await Ld():{errors:[],networkFailures:[]},o=il(e,t,r),n;t==="beautify"&&(n=await cl(e)||void 0);let a={...o,screenshot:n};await chrome.runtime.sendMessage({type:"ELEMENT_SELECTED",payload:a}),Pd(e),_t()}async function Ld(){try{return await chrome.runtime.sendMessage({type:"GET_BROWSER_CONTEXT"})||{errors:[],networkFailures:[]}}catch{return{errors:[],networkFailures:[]}}}function Pd(e){let t=e.getBoundingClientRect();Nn(t.left,t.top-30,"\u2713 Element captured")}function oo(e=!1){fr||(fr=!0,ai=e,document.addEventListener("mousemove",ii,!0),document.addEventListener("click",Sl,!0),document.body.style.cursor="crosshair",console.log("[Clueprint] Inspect mode activated.",e?"Click to select.":"Option+Click to select."))}function _t(){fr&&(fr=!1,ai=!1,lr=null,In!==null&&ni(),Rr&&(Rr(),Rr=null),document.removeEventListener("mousemove",ii,!0),document.removeEventListener("click",Sl,!0),$d(),Td(),document.body.style.cursor="",oi=null)}function Cl(){fr&&_t(),oo(!0)}function no(){return fr}function $l(){document.addEventListener("keydown",_l,!0),document.addEventListener("keyup",yl,!0),window.addEventListener("blur",kl),console.log("[AI DevTools] Inspect mode initialized. Hold Option to highlight elements.")}function Tl(){document.removeEventListener("keydown",_l,!0),document.removeEventListener("keyup",yl,!0),window.removeEventListener("blur",kl),_t(),Lr=!1,lr=null,Rr=null}var cr=!1,Io=!1,dr=0,ur=0,Ye=null,ao=null,Pr=new Map,Nt=null;function Dd(){let e=document.createElement("div");return e.id="ai-devtools-selection",e.style.cssText=`
|
|
652
|
+
position: fixed;
|
|
653
|
+
border: 2px dashed #0066ff;
|
|
654
|
+
background: rgba(0, 102, 255, 0.1);
|
|
655
|
+
z-index: 2147483647;
|
|
656
|
+
pointer-events: none;
|
|
657
|
+
display: none;
|
|
658
|
+
`,e}function Al(e,t){if(!Ye)return;let r=Math.min(dr,e),o=Math.min(ur,t),n=Math.abs(e-dr),a=Math.abs(t-ur);Ye.style.left=`${r}px`,Ye.style.top=`${o}px`,Ye.style.width=`${n}px`,Ye.style.height=`${a}px`,Ye.style.display="block"}function Ml(e){e.key==="Escape"&&cr&&pr()}function Rl(e){cr&&(e.target?.id?.startsWith("ai-devtools-")||document.getElementById("ai-devtools-intent-picker")||(e.preventDefault(),e.stopPropagation(),Dl(),Io=!0,dr=e.clientX,ur=e.clientY,Ye||(Ye=Dd(),document.body.appendChild(Ye)),Al(dr,ur)))}function Ll(e){if(!Io)return;e.preventDefault(),Al(e.clientX,e.clientY);let t=e.clientX,r=e.clientY;Nt&&cancelAnimationFrame(Nt),Nt=requestAnimationFrame(()=>{Nl(t,r),Nt=null})}function Pl(e){if(!Io)return;e.preventDefault(),e.stopPropagation(),Io=!1,Nt&&(cancelAnimationFrame(Nt),Nt=null);let t=e.clientX,r=e.clientY;Nl(t,r);let o={left:Math.min(dr,t),top:Math.min(ur,r),width:Math.abs(t-dr),height:Math.abs(r-ur)};if(o.width<20||o.height<20){si(),pr();return}Bd(o,t,r)}function si(){Ye&&(Ye.style.display="none")}function Nd(){Ye&&(Ye.remove(),Ye=null)}function Id(e){let t=e.getBoundingClientRect(),r=document.createElement("div");return r.className="ai-devtools-region-highlight",r.style.cssText=`
|
|
659
|
+
position: fixed;
|
|
660
|
+
pointer-events: none;
|
|
661
|
+
border: 2px solid #0066ff;
|
|
662
|
+
background: rgba(0, 102, 255, 0.08);
|
|
663
|
+
border-radius: 4px;
|
|
664
|
+
z-index: 2147483647;
|
|
665
|
+
top: ${t.top}px;
|
|
666
|
+
left: ${t.left}px;
|
|
667
|
+
width: ${t.width}px;
|
|
668
|
+
height: ${t.height}px;
|
|
669
|
+
`,document.body.appendChild(r),r}function Od(e){let t=Pr.get(e);t&&(t.remove(),Pr.delete(e))}function Dl(){for(let[,e]of Pr)e.remove();Pr.clear()}function Nl(e,t){let r=Math.min(dr,e),o=Math.min(ur,t),n=Math.abs(e-dr),a=Math.abs(t-ur);if(n<20||a<20)return;let i=new DOMRect(r,o,n,a),s=Cn(i),l=new Set(s);for(let c of Pr.keys())l.has(c)||Od(c);for(let c of l)if(!Pr.has(c)){let d=Id(c);Pr.set(c,d)}}function Fd(e){let t=new DOMRect(e.left,e.top,e.width,e.height),r=Cn(t),o={};for(let u of r){let f=u.tagName.toLowerCase();o[f]=(o[f]||0)+1}let n=Object.entries(o).sort((u,f)=>f[1]-u[1]).slice(0,6).map(([u,f])=>({tag:u,count:f})),a=Il(r),i="";if(a&&a!==document.body){let u=a.tagName.toLowerCase(),f=a.id?`#${a.id}`:"",p=a.classList.length>0?`.${a.classList[0]}`:"";i=u+f+p}let s=["h1","h2","h3","h4","h5","h6"],l="";for(let u of r)if(s.includes(u.tagName.toLowerCase())){let f=u.textContent?.trim()||"";if(f){l=f.length>50?f.slice(0,47)+"...":f;break}}let c=[],d=new Set;for(let u of r){let f=u.tagName.toLowerCase();if(f==="button"||f==="a"||u.getAttribute("role")==="button"){let p=u.textContent?.trim()||"";if(p&&p.length<=30&&!d.has(p)&&(d.add(p),c.push(p),c.length>=6))break}}return{width:Math.round(e.width),height:Math.round(e.height),elementCount:r.length,tagBreakdown:n,ancestorLabel:i,title:l,labels:c,pageUrl:window.location.hostname+window.location.pathname}}function Bd(e,t,r){let o=Fd(e),{cleanup:n}=xl(t,r,o,async(a,i)=>{ao=null,await zd(e,a,i)},()=>{ao=null,si(),pr()});ao=n}async function zd(e,t,r){let o=t==="fix"?await qd():{errors:[],networkFailures:[]},n=r&&await dl(e)||"",a=new DOMRect(e.left,e.top,e.width,e.height),i=Cn(a),s=i.slice(0,20).map(f=>({selector:Zt(f),tag:f.tagName.toLowerCase(),text:f.textContent?.trim().slice(0,50)||"",role:f.getAttribute("role")||Hd(f),styles:ol(f),hasInteractionStates:Ud(f)})),l=Il(i),c=l?sl(l,4):"",d;t==="beautify"&&(d=jd(i));let u={mode:"free-select",intent:t,timestamp:Date.now(),region:e,screenshot:n,elements:s,structure:c,aestheticAnalysis:d,browserContext:o};await chrome.runtime.sendMessage({type:"REGION_SELECTED",payload:u}),Vd(e),si(),pr()}function Hd(e){let t=e.tagName.toLowerCase();return{a:"link",button:"button",input:"input",select:"select",textarea:"textbox",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",img:"image",nav:"navigation",main:"main",header:"banner",footer:"contentinfo",aside:"complementary",form:"form",table:"table",ul:"list",ol:"list",li:"listitem"}[t]||"generic"}function Ud(e){let t=e.tagName.toLowerCase();return["a","button","input","select","textarea"].includes(t)?!0:getComputedStyle(e).cursor==="pointer"}function jd(e){let t=[],r=[],o=[];for(let n of e.slice(0,10)){let a=getComputedStyle(n),i=[a.color,a.backgroundColor,a.borderColor];for(let c of i)c&&c!=="transparent"&&c!=="rgba(0, 0, 0, 0)"&&!o.includes(c)&&o.push(c);let s=n.tagName.toLowerCase();["button","a"].includes(s)&&(a.borderRadius==="0px"&&(t.includes("Buttons/links have no border-radius")||(t.push("Buttons/links have no border-radius"),r.push("Add border-radius (4-8px) for softer appearance"))),(a.transition==="all 0s ease 0s"||a.transition==="none")&&(t.includes("Interactive elements lack transitions")||(t.push("Interactive elements lack transitions"),r.push("Add hover/focus transitions for polish"))));let l=parseInt(a.padding);!isNaN(l)&&l<8&&["button","a","input"].includes(s)&&(t.includes("Cramped padding on interactive elements")||(t.push("Cramped padding on interactive elements"),r.push("Increase padding for better touch targets")))}return{issues:t.slice(0,5),suggestions:r.slice(0,5),colorPalette:o.slice(0,10)}}function Il(e){if(e.length===0)return null;if(e.length===1)return e[0].parentElement;let t=e[0];for(;t;){if(e.every(r=>t.contains(r)))return t;t=t.parentElement}return document.body}async function qd(){try{return await chrome.runtime.sendMessage({type:"GET_BROWSER_CONTEXT"})||{errors:[],networkFailures:[]}}catch{return{errors:[],networkFailures:[]}}}function Vd(e){Nn(e.left+e.width/2-100,e.top+e.height/2-20,"\u2713 Region captured! Tell your AI assistant.",2e3)}function On(){cr||(cr=!0,document.body.style.cursor="crosshair",document.body.style.userSelect="none",console.log("[Clueprint] Region select activated. Drag to select."))}function pr(){cr&&(cr=!1,Io=!1,document.body.style.cursor="",document.body.style.userSelect="",Nt&&(cancelAnimationFrame(Nt),Nt=null),Dl(),ao&&(ao(),ao=null),Nd())}function Ol(){document.addEventListener("keydown",Ml,!0),document.addEventListener("mousedown",Rl,!0),document.addEventListener("mousemove",Ll,!0),document.addEventListener("mouseup",Pl,!0)}function Fl(){document.removeEventListener("keydown",Ml,!0),document.removeEventListener("mousedown",Rl,!0),document.removeEventListener("mousemove",Ll,!0),document.removeEventListener("mouseup",Pl,!0),pr()}function Oo(){return cr}function li(){cr&&pr(),On()}var so={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},Wd=100,io=[],Fn=!1;function fi(e){return e.map(t=>{if(t===null)return"null";if(t===void 0)return"undefined";if(typeof t=="string")return t;if(t instanceof Error)return`${t.name}: ${t.message}`;try{return JSON.stringify(t,null,2)}catch{return String(t)}}).join(" ")}function Bl(){let t=new Error().stack;return t&&t.split(`
|
|
670
|
+
`).slice(3).filter(n=>!n.includes("console.ts")).slice(0,3).join(`
|
|
671
|
+
`)||void 0}function zl(e){if(!e)return;let t=e.match(/(?:at\s+)?(?:.*?\s+\()?(.*?):(\d+)(?::\d+)?(?:\))?/);if(t)return`${t[1].split("/").pop()||t[1]}:${t[2]}`}function Gd(e){chrome.runtime.sendMessage({type:"CONSOLE_EVENT",payload:e}).catch(()=>{})}function Fo(e){let r=io.slice(-5).find(o=>o.message===e.message&&o.type===e.type);if(r){r.count=(r.count||1)+1;return}for(io.push(e),(e.type==="error"||e.type==="warn")&&Gd(e);io.length>Wd;)io.shift()}function Yd(){console.log=(...e)=>{Fo({type:"log",message:fi(e),timestamp:Date.now()}),so.log(...e)},console.warn=(...e)=>{let t=Bl();Fo({type:"warn",message:fi(e),stack:t,source:zl(t),timestamp:Date.now()}),so.warn(...e)},console.error=(...e)=>{let t=Bl();Fo({type:"error",message:fi(e),stack:t,source:zl(t),timestamp:Date.now()}),so.error(...e)}}function Xd(){console.log=so.log,console.warn=so.warn,console.error=so.error}function Hl(e){let t=e.filename?`${e.filename.split("/").pop()}:${e.lineno}:${e.colno}`:void 0;Fo({type:"error",message:e.message,stack:e.error?.stack?.split(`
|
|
672
|
+
`).slice(0,3).join(`
|
|
673
|
+
`),source:t,timestamp:Date.now()})}function Ul(e){let t=e.reason,r=t instanceof Error?`Unhandled Promise: ${t.message}`:`Unhandled Promise: ${String(t)}`;Fo({type:"error",message:r,stack:t?.stack?.split(`
|
|
674
|
+
`).slice(0,3).join(`
|
|
675
|
+
`),timestamp:Date.now()})}function jl(){Fn||(Fn=!0,Yd(),window.addEventListener("error",Hl),window.addEventListener("unhandledrejection",Ul),console.log("[AI DevTools] Console monitoring started"))}function ql(){Fn&&(Fn=!1,Xd(),window.removeEventListener("error",Hl),window.removeEventListener("unhandledrejection",Ul))}function Vl(){return[...io]}function ci(){return io.filter(e=>e.type==="error")}var Bo=[],Wl=null,Bn=[],zn=null,Hn=null,Un=null,jn=!1;function Kd(){if("PerformanceObserver"in window)try{zn=new PerformanceObserver(e=>{for(let t of e.getEntries()){let r=t;if(r.hadRecentInput)continue;let o=r.sources?.map(n=>({selector:n.node?Zt(n.node):"unknown",previousRect:n.previousRect,currentRect:n.currentRect}));for(Bo.push({value:r.value,sources:o,timestamp:Date.now()});Bo.length>50;)Bo.shift()}}),zn.observe({type:"layout-shift",buffered:!0})}catch(e){console.warn("[AI DevTools] CLS monitoring not supported:",e)}}function Zd(){if("PerformanceObserver"in window)try{Hn=new PerformanceObserver(e=>{let t=e.getEntries(),r=t[t.length-1];r&&(Wl={value:Math.round(r.startTime),element:r.element?Zt(r.element):"unknown"})}),Hn.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){console.warn("[AI DevTools] LCP monitoring not supported:",e)}}function Jd(){if("PerformanceObserver"in window)try{Un=new PerformanceObserver(e=>{for(let t of e.getEntries())for(Bn.push({duration:Math.round(t.duration),startTime:Math.round(t.startTime)});Bn.length>20;)Bn.shift()}),Un.observe({type:"longtask",buffered:!0})}catch(e){console.warn("[AI DevTools] Long Task monitoring not supported:",e)}}function Gl(){jn||(jn=!0,Kd(),Zd(),Jd(),console.log("[AI DevTools] Performance monitoring started"))}function Yl(){jn&&(jn=!1,zn?.disconnect(),Hn?.disconnect(),Un?.disconnect(),zn=null,Hn=null,Un=null)}function Qd(){return Bo.reduce((e,t)=>e+t.value,0)}function eu(){let e=[];for(let t of Bo)if(t.sources)for(let r of t.sources)e.push({element:r.selector,delta:t.value});return{value:Math.round(Qd()*1e3)/1e3,shifts:e.slice(-5)}}function tu(){return[...Bn]}function di(){return{lcp:Wl,cls:eu(),longTasks:tu()}}var Jt=[],qn=null,Vn=!1;function Xl(e){chrome.runtime.sendMessage({type:"NETWORK_EVENT",payload:e}).catch(()=>{})}function Kl(){if(!Vn&&"PerformanceObserver"in window){Vn=!0,ru();try{qn=new PerformanceObserver(e=>{for(let t of e.getEntries()){let r=t,o={url:r.name,method:"GET",duration:Math.round(r.duration),transferSize:r.transferSize,initiatorType:r.initiatorType,timestamp:Date.now()};for(Jt.push(o);Jt.length>100;)Jt.shift()}}),qn.observe({entryTypes:["resource"]}),console.log("[AI DevTools] Network monitoring started")}catch(e){console.warn("[AI DevTools] Network monitoring not supported:",e)}}}var Zl=window.fetch.bind(window),Wn=!1;function ru(){Wn||(Wn=!0,window.fetch=async(...e)=>{let t=Date.now(),r=typeof e[0]=="string"?e[0]:e[0].url,o=e[1]?.method||(typeof e[0]=="object"?e[0].method:"GET")||"GET";try{let n=await Zl(...e),a=Date.now()-t,i={url:r,method:o.toUpperCase(),status:n.status,statusText:n.statusText,duration:a,timestamp:Date.now()};return Xl(i),n}catch(n){let a=Date.now()-t,i={url:r,method:o.toUpperCase(),status:0,statusText:n instanceof Error?n.message:"Network Error",duration:a,timestamp:Date.now()};throw Xl(i),n}})}function ou(){Wn&&(window.fetch=Zl,Wn=!1)}function Jl(){Vn&&(Vn=!1,qn?.disconnect(),qn=null,ou())}function Ql(){return[...Jt]}function ui(){return Jt.filter(e=>e.status&&e.status>=400)}function ef(e){let t=Jt.filter(r=>r.url===e.url&&Math.abs(r.timestamp-e.timestamp)<100);if(t.length>0){let r=t[0];Object.assign(r,e);return}for(Jt.push(e);Jt.length>100;)Jt.shift()}var Gn=!1,tf=0,rf=0,nu=500,au=1500;function It(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase(),r=Array.from(e.classList).slice(0,2).join("."),o=e.textContent?.trim().slice(0,30);return r?`${t}.${r}`:o?`${t}:contains("${o}")`:t}function zo(e){let t=e.tagName.toLowerCase(),r=e.getAttribute("role"),o=e.getAttribute("type");return r||(t==="button"||o==="button"||o==="submit"?"button":t==="a"?"link":t==="input"?o||"input":t==="select"?"dropdown":t==="textarea"?"textarea":t)}function Yn(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){let r=document.querySelector(`label[for="${e.id}"]`);return r?r.textContent?.trim().slice(0,50)||"":e.placeholder?.slice(0,50)||e.name||""}return e.textContent?.trim().slice(0,50)||""}function Ot(e,t){chrome.runtime.sendMessage({type:"INTERACTION_EVENT",payload:{type:e,data:t}}).catch(()=>{})}function of(e){let t=e.target;if(!t||t.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator"))return;let r=It(t),o=zo(t),n=Yn(t),a=document.elementsFromPoint(e.clientX,e.clientY).slice(0,3).filter(i=>i!==t&&(i.tagName==="BUTTON"||i.tagName==="A"||i.getAttribute("role")==="button")).map(i=>It(i));Ot("click",{selector:r,role:o,text:n,x:e.clientX,y:e.clientY,href:t instanceof HTMLAnchorElement?t.href:void 0,nearbyClickables:a.length>0?a:void 0})}function nf(){let e=Date.now();if(e-tf<nu)return;tf=e;let t=window.scrollY,r=window.scrollX,o=document.documentElement.scrollHeight-window.innerHeight,n=o>0?Math.round(t/o*100):0,a=window._lastScrollY||0,i=t>a?"down":"up",s=Math.abs(t-a),c=document.querySelector('h1, h2, h3, [role="heading"]')?.textContent?.trim().slice(0,50);Ot("scroll",{scrollY:t,scrollX:r,scrollPercent:n,direction:i,delta:s,pageHeight:document.documentElement.scrollHeight,viewportHeight:window.innerHeight,nearSection:c||void 0}),window._lastScrollY=t}function af(e){let t=e.target;if(!t||t.closest("#ai-devtools-floating-widget"))return;let r=It(t),o=zo(t),n=Yn(t),a=t instanceof HTMLInputElement?t.type:"text",i="";(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(a==="password"?i="*".repeat(t.value.length):i=t.value),Ot("input",{selector:r,role:o,label:n,inputType:a,value:i,valueLength:i.length})}function sf(e){let t=e.target;if(!t)return;let r=It(t),o=t.action||window.location.href,n=t.method||"GET";Ot("form_submit",{selector:r,action:o,method:n,fieldCount:t.elements.length})}function lf(e){let t=Date.now();if(t-rf<au)return;rf=t;let r=e.target;if(!r||r.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator"))return;let o=It(r),n=zo(r);Ot("mouse_move",{x:e.clientX,y:e.clientY,target:o,role:n})}function ff(e){if(!e.ctrlKey&&!e.metaKey&&!e.altKey&&!["Enter","Escape","Tab","Backspace","Delete"].includes(e.key))return;let t=e.target;if((t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&e.key!=="Enter")return;let r=[];e.ctrlKey&&r.push("Ctrl"),e.metaKey&&r.push("Cmd"),e.altKey&&r.push("Alt"),e.shiftKey&&r.push("Shift");let o=[...r,e.key].join("+");Ot("keypress",{key:e.key,combo:o,target:It(t)})}function lo(e){let t=e.target;if(!t||t.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator"))return;let r=e.type,o=It(t),n="";r==="paste"?n=e.clipboardData?.getData("text/plain")?.slice(0,200)||"":n=document.getSelection()?.toString()?.slice(0,200)||"",Ot("clipboard",{action:r,selector:o,text:n,textLength:n.length})}var pi=null;function cf(){pi&&clearTimeout(pi),pi=setTimeout(()=>{let e=document.getSelection();if(!e||e.isCollapsed)return;let t=e.toString().slice(0,200);if(!t)return;let r=e.anchorNode,o=r instanceof Element?r:r?.parentElement;o&&(o.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator")||Ot("selection",{text:t,textLength:t.length,selector:It(o),startOffset:e.anchorOffset,endOffset:e.focusOffset}))},300)}function df(e){let t=e.target;if(!t||!(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement||t.getAttribute("contenteditable")==="true"||t.getAttribute("role")==="textbox")||t.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator"))return;let r=It(t),o=zo(t),n=Yn(t);Ot("focus",{selector:r,role:o,label:n})}function uf(e){let t=e.target;if(!t||!(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement||t.getAttribute("contenteditable")==="true"||t.getAttribute("role")==="textbox")||t.closest("#ai-devtools-floating-widget, #ai-devtools-recording-indicator"))return;let r=It(t),o=zo(t),n=Yn(t),a="";(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(t.type==="password"?a="*".repeat(t.value.length):a=t.value),Ot("blur",{selector:r,role:o,label:n,finalValue:a,valueLength:a.length})}function pf(){Gn||(Gn=!0,window._lastScrollY=window.scrollY,document.addEventListener("click",of,{capture:!0,passive:!0}),window.addEventListener("scroll",nf,{passive:!0}),document.addEventListener("input",af,{capture:!0,passive:!0}),document.addEventListener("submit",sf,{capture:!0}),document.addEventListener("keydown",ff,{capture:!0}),document.addEventListener("mousemove",lf,{passive:!0}),document.addEventListener("copy",lo,{capture:!0}),document.addEventListener("cut",lo,{capture:!0}),document.addEventListener("paste",lo,{capture:!0}),document.addEventListener("selectionchange",cf),document.addEventListener("focusin",df,{capture:!0}),document.addEventListener("focusout",uf,{capture:!0}),console.log("[Clueprint] Interaction monitoring started"))}function mf(){Gn&&(Gn=!1,document.removeEventListener("click",of,{capture:!0}),window.removeEventListener("scroll",nf),document.removeEventListener("input",af,{capture:!0}),document.removeEventListener("submit",sf,{capture:!0}),document.removeEventListener("keydown",ff,{capture:!0}),document.removeEventListener("mousemove",lf),document.removeEventListener("copy",lo,{capture:!0}),document.removeEventListener("cut",lo,{capture:!0}),document.removeEventListener("paste",lo,{capture:!0}),document.removeEventListener("selectionchange",cf),document.removeEventListener("focusin",df,{capture:!0}),document.removeEventListener("focusout",uf,{capture:!0}))}var iu=U('<div class="fixed inset-0 z-10 svelte-nui72" role="presentation"></div> <div class="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 min-w-[180px] py-1 bg-black/[0.92] border border-white/10 rounded-[10px] shadow-[0_8px_32px_rgba(0,0,0,0.5)] backdrop-blur-[24px] z-20 dropdown-fade-in svelte-nui72"><button class="flex items-center gap-2.5 w-full py-[7px] px-3 text-left text-white/85 text-xs bg-transparent border-none rounded-md cursor-pointer font-[inherit] whitespace-nowrap transition-colors duration-150 hover:bg-white/[0.08] svelte-nui72"><!> Start Recording</button> <button><!> Send Last 30s</button></div>',1),su=U('<div class="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 bg-black/90 border border-white/10 rounded-lg text-[11px] text-white/80 whitespace-nowrap font-sans toast-fade-in svelte-nui72"> </div>'),lu=U('<div class="relative svelte-nui72"><div class="widget-enter flex items-center gap-0.5 py-1.5 px-2 bg-black/80 border border-white/10 rounded-2xl shadow-[0_8px_32px_rgba(0,0,0,0.4),0_0_0_1px_rgba(255,255,255,0.05)_inset] backdrop-blur-[24px] backdrop-saturate-[180%] font-sans select-none svelte-nui72"><div data-drag-handle="" class="flex items-center justify-center w-4 h-8 mr-1 cursor-grab text-white/20 transition-colors duration-200 hover:text-white/40 active:cursor-grabbing active:text-white/50 svelte-nui72"><!></div> <button title="Inspect Element"><!></button> <button title="Select Region"><!></button> <div class="w-px h-4 bg-white/[0.08] mx-1.5 svelte-nui72"></div> <div class="relative svelte-nui72"><button><!></button> <!></div> <div class="w-px h-4 bg-white/[0.08] mx-1.5 svelte-nui72"></div> <button title="Close" class="relative flex items-center justify-center w-8 h-8 p-0 bg-transparent border-none rounded-[10px] text-white/30 cursor-pointer transition-all duration-200 hover:bg-white/[0.08] hover:text-white/70 active:scale-95 svelte-nui72"><!></button></div> <!></div>'),fu={hash:"svelte-nui72",code:`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
676
|
+
@layer properties;
|
|
677
|
+
@layer theme, base, components, utilities;
|
|
678
|
+
@layer theme {:root, :host {--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
679
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
680
|
+
"Courier New", monospace;--color-red-400: oklch(70.4% 0.191 22.216);--color-red-500: oklch(63.7% 0.237 25.331);--color-orange-400: oklch(75% 0.183 55.934);--color-orange-500: oklch(70.5% 0.213 47.604);--color-amber-400: oklch(82.8% 0.189 84.429);--color-green-400: oklch(79.2% 0.209 151.711);--color-green-500: oklch(72.3% 0.219 149.579);--color-emerald-400: oklch(76.5% 0.177 163.223);--color-indigo-300: oklch(78.5% 0.115 274.713);--color-black: #000;--color-white: #fff;--spacing: 0.25rem;--text-xs: 0.75rem;--text-xs--line-height: calc(1 / 0.75);--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -0.025em;--tracking-wide: 0.025em;--tracking-wider: 0.05em;--leading-relaxed: 1.625;--radius-md: 0.375rem;--radius-lg: 0.5rem;--radius-xl: 0.75rem;--radius-2xl: 1rem;--ease-out: cubic-bezier(0, 0, 0.2, 1);--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;--blur-sm: 8px;--blur-xl: 24px;--default-transition-duration: 150ms;--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--default-font-family: var(--font-sans);--default-mono-font-family: var(--font-mono);}
|
|
681
|
+
}
|
|
682
|
+
@layer base {.svelte-nui72, .svelte-nui72::after, .svelte-nui72::before, .svelte-nui72::backdrop, .svelte-nui72::file-selector-button {box-sizing:border-box;margin:0;padding:0;border:0 solid;} :host {line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;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;}.svelte-nui72:-moz-focusring {outline:auto;}button.svelte-nui72, .svelte-nui72::file-selector-button {font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1;}.svelte-nui72::file-selector-button {margin-inline-end:4px;}.svelte-nui72::placeholder {opacity:1;}
|
|
683
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {.svelte-nui72::placeholder {color:currentcolor;
|
|
684
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, currentcolor 50%, transparent);
|
|
685
|
+
}}
|
|
686
|
+
}.svelte-nui72::-webkit-search-decoration {-webkit-appearance:none;}.svelte-nui72::-webkit-date-and-time-value {min-height:1lh;text-align:inherit;}.svelte-nui72::-webkit-datetime-edit {display:inline-flex;}.svelte-nui72::-webkit-datetime-edit-fields-wrapper {padding:0;}.svelte-nui72::-webkit-datetime-edit, .svelte-nui72::-webkit-datetime-edit-year-field, .svelte-nui72::-webkit-datetime-edit-month-field, .svelte-nui72::-webkit-datetime-edit-day-field, .svelte-nui72::-webkit-datetime-edit-hour-field, .svelte-nui72::-webkit-datetime-edit-minute-field, .svelte-nui72::-webkit-datetime-edit-second-field, .svelte-nui72::-webkit-datetime-edit-millisecond-field, .svelte-nui72::-webkit-datetime-edit-meridiem-field {padding-block:0;}.svelte-nui72::-webkit-calendar-picker-indicator {line-height:1;}.svelte-nui72:-moz-ui-invalid {box-shadow:none;}button.svelte-nui72, .svelte-nui72::file-selector-button {appearance:button;}.svelte-nui72::-webkit-inner-spin-button, .svelte-nui72::-webkit-outer-spin-button {height:auto;}
|
|
687
|
+
}
|
|
688
|
+
@layer utilities {.absolute.svelte-nui72 {position:absolute;}.fixed.svelte-nui72 {position:fixed;}.relative.svelte-nui72 {position:relative;}.inset-0.svelte-nui72 {inset:calc(var(--spacing) * 0);}.bottom-full.svelte-nui72 {bottom:100%;}.left-1\\/2.svelte-nui72 {left:calc(1/2 * 100%);}.z-10.svelte-nui72 {z-index:10;}.z-20.svelte-nui72 {z-index:20;}.mx-1\\.5.svelte-nui72 {margin-inline:calc(var(--spacing) * 1.5);}.mr-1.svelte-nui72 {margin-right:calc(var(--spacing) * 1);}.mb-2.svelte-nui72 {margin-bottom:calc(var(--spacing) * 2);}.flex.svelte-nui72 {display:flex;}.h-4.svelte-nui72 {height:calc(var(--spacing) * 4);}.h-8.svelte-nui72 {height:calc(var(--spacing) * 8);}.w-4.svelte-nui72 {width:calc(var(--spacing) * 4);}.w-8.svelte-nui72 {width:calc(var(--spacing) * 8);}.w-full.svelte-nui72 {width:100%;}.w-px.svelte-nui72 {width:1px;}.min-w-\\[180px\\].svelte-nui72 {min-width:180px;}.-translate-x-1\\/2.svelte-nui72 {--tw-translate-x: calc(calc(1/2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);}.cursor-grab.svelte-nui72 {cursor:grab;}.cursor-not-allowed.svelte-nui72 {cursor:not-allowed;}.cursor-pointer.svelte-nui72 {cursor:pointer;}.items-center.svelte-nui72 {align-items:center;}.justify-center.svelte-nui72 {justify-content:center;}.gap-0\\.5.svelte-nui72 {gap:calc(var(--spacing) * 0.5);}.gap-2\\.5.svelte-nui72 {gap:calc(var(--spacing) * 2.5);}.rounded-2xl.svelte-nui72 {border-radius:var(--radius-2xl);}.rounded-\\[10px\\].svelte-nui72 {border-radius:10px;}.rounded-lg.svelte-nui72 {border-radius:var(--radius-lg);}.rounded-md.svelte-nui72 {border-radius:var(--radius-md);}.border.svelte-nui72 {border-style:var(--tw-border-style);border-width:1px;}.border-none.svelte-nui72 {--tw-border-style: none;border-style:none;}.border-white\\/10.svelte-nui72 {border-color:color-mix(in srgb, #fff 10%, transparent);
|
|
689
|
+
@supports (color: color-mix(in lab, red, red)) {border-color:color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
690
|
+
}}.bg-black\\/80.svelte-nui72 {background-color:color-mix(in srgb, #000 80%, transparent);
|
|
691
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-black) 80%, transparent);
|
|
692
|
+
}}.bg-black\\/90.svelte-nui72 {background-color:color-mix(in srgb, #000 90%, transparent);
|
|
693
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-black) 90%, transparent);
|
|
694
|
+
}}.bg-black\\/\\[0\\.92\\].svelte-nui72 {background-color:color-mix(in srgb, #000 92%, transparent);
|
|
695
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-black) 92%, transparent);
|
|
696
|
+
}}.bg-red-400\\/15.svelte-nui72 {background-color:color-mix(in srgb, oklch(70.4% 0.191 22.216) 15%, transparent);
|
|
697
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-red-400) 15%, transparent);
|
|
698
|
+
}}.bg-transparent.svelte-nui72 {background-color:transparent;}.bg-white\\/\\[0\\.08\\].svelte-nui72 {background-color:color-mix(in srgb, #fff 8%, transparent);
|
|
699
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 8%, transparent);
|
|
700
|
+
}}.bg-white\\/\\[0\\.12\\].svelte-nui72 {background-color:color-mix(in srgb, #fff 12%, transparent);
|
|
701
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 12%, transparent);
|
|
702
|
+
}}.p-0.svelte-nui72 {padding:calc(var(--spacing) * 0);}.px-2.svelte-nui72 {padding-inline:calc(var(--spacing) * 2);}.px-3.svelte-nui72 {padding-inline:calc(var(--spacing) * 3);}.py-1.svelte-nui72 {padding-block:calc(var(--spacing) * 1);}.py-1\\.5.svelte-nui72 {padding-block:calc(var(--spacing) * 1.5);}.py-\\[7px\\].svelte-nui72 {padding-block:7px;}.text-left.svelte-nui72 {text-align:left;}.font-\\[inherit\\].svelte-nui72 {font-family:inherit;}.font-sans.svelte-nui72 {font-family:var(--font-sans);}.text-xs.svelte-nui72 {font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));}.text-\\[11px\\].svelte-nui72 {font-size:11px;}.whitespace-nowrap.svelte-nui72 {white-space:nowrap;}.text-white.svelte-nui72 {color:var(--color-white);}.text-white\\/20.svelte-nui72 {color:color-mix(in srgb, #fff 20%, transparent);
|
|
703
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 20%, transparent);
|
|
704
|
+
}}.text-white\\/30.svelte-nui72 {color:color-mix(in srgb, #fff 30%, transparent);
|
|
705
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 30%, transparent);
|
|
706
|
+
}}.text-white\\/50.svelte-nui72 {color:color-mix(in srgb, #fff 50%, transparent);
|
|
707
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 50%, transparent);
|
|
708
|
+
}}.text-white\\/80.svelte-nui72 {color:color-mix(in srgb, #fff 80%, transparent);
|
|
709
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 80%, transparent);
|
|
710
|
+
}}.text-white\\/85.svelte-nui72 {color:color-mix(in srgb, #fff 85%, transparent);
|
|
711
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 85%, transparent);
|
|
712
|
+
}}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.4\\)\\,0_0_0_1px_rgba\\(255\\,255\\,255\\,0\\.05\\)_inset\\].svelte-nui72 {--tw-shadow: 0 8px 32px var(--tw-shadow-color, rgba(0,0,0,0.4)), 0 0 0 1px var(--tw-shadow-color, rgba(255,255,255,0.05)) inset;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.5\\)\\].svelte-nui72 {--tw-shadow: 0 8px 32px var(--tw-shadow-color, rgba(0,0,0,0.5));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);}.backdrop-blur-\\[24px\\].svelte-nui72 {--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}.backdrop-saturate-\\[180\\%\\].svelte-nui72 {--tw-backdrop-saturate: saturate(180%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);}.transition-all.svelte-nui72 {transition-property:all;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));}.transition-colors.svelte-nui72 {transition-property:color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));}.duration-150.svelte-nui72 {--tw-duration: 150ms;transition-duration:150ms;}.duration-200.svelte-nui72 {--tw-duration: 200ms;transition-duration:200ms;}.select-none.svelte-nui72 {-webkit-user-select:none;user-select:none;}.hover\\:bg-red-400\\/20.svelte-nui72 {&:hover {
|
|
713
|
+
@media (hover: hover) {background-color:color-mix(in srgb, oklch(70.4% 0.191 22.216) 20%, transparent);
|
|
714
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-red-400) 20%, transparent);
|
|
715
|
+
}
|
|
716
|
+
}}}.hover\\:bg-white\\/\\[0\\.08\\].svelte-nui72 {&:hover {
|
|
717
|
+
@media (hover: hover) {background-color:color-mix(in srgb, #fff 8%, transparent);
|
|
718
|
+
@supports (color: color-mix(in lab, red, red)) {background-color:color-mix(in oklab, var(--color-white) 8%, transparent);
|
|
719
|
+
}
|
|
720
|
+
}}}.hover\\:text-white\\/40.svelte-nui72 {&:hover {
|
|
721
|
+
@media (hover: hover) {color:color-mix(in srgb, #fff 40%, transparent);
|
|
722
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 40%, transparent);
|
|
723
|
+
}
|
|
724
|
+
}}}.hover\\:text-white\\/70.svelte-nui72 {&:hover {
|
|
725
|
+
@media (hover: hover) {color:color-mix(in srgb, #fff 70%, transparent);
|
|
726
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 70%, transparent);
|
|
727
|
+
}
|
|
728
|
+
}}}.hover\\:text-white\\/90.svelte-nui72 {&:hover {
|
|
729
|
+
@media (hover: hover) {color:color-mix(in srgb, #fff 90%, transparent);
|
|
730
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 90%, transparent);
|
|
731
|
+
}
|
|
732
|
+
}}}.active\\:scale-95.svelte-nui72 {&:active {--tw-scale-x: 95%;--tw-scale-y: 95%;--tw-scale-z: 95%;scale:var(--tw-scale-x) var(--tw-scale-y);}}.active\\:cursor-grabbing.svelte-nui72 {&:active {cursor:grabbing;}}.active\\:text-white\\/50.svelte-nui72 {&:active {color:color-mix(in srgb, #fff 50%, transparent);
|
|
733
|
+
@supports (color: color-mix(in lab, red, red)) {color:color-mix(in oklab, var(--color-white) 50%, transparent);
|
|
734
|
+
}}}
|
|
735
|
+
}
|
|
736
|
+
@keyframes svelte-nui72-widget-enter {
|
|
737
|
+
from {
|
|
738
|
+
opacity: 0;
|
|
739
|
+
transform: translateY(4px) scale(0.98);
|
|
740
|
+
}
|
|
741
|
+
to {
|
|
742
|
+
opacity: 1;
|
|
743
|
+
transform: translateY(0) scale(1);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
@keyframes svelte-nui72-widget-exit {
|
|
747
|
+
from {
|
|
748
|
+
opacity: 1;
|
|
749
|
+
transform: translateY(0) scale(1);
|
|
750
|
+
}
|
|
751
|
+
to {
|
|
752
|
+
opacity: 0;
|
|
753
|
+
transform: translateY(4px) scale(0.98);
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
@keyframes svelte-nui72-dropdown-fade-in {
|
|
757
|
+
from {
|
|
758
|
+
opacity: 0;
|
|
759
|
+
}
|
|
760
|
+
to {
|
|
761
|
+
opacity: 1;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
@keyframes svelte-nui72-toast-lifecycle {
|
|
765
|
+
0% {
|
|
766
|
+
opacity: 0;
|
|
767
|
+
}
|
|
768
|
+
15% {
|
|
769
|
+
opacity: 1;
|
|
770
|
+
}
|
|
771
|
+
85% {
|
|
772
|
+
opacity: 1;
|
|
773
|
+
}
|
|
774
|
+
100% {
|
|
775
|
+
opacity: 0;
|
|
776
|
+
}
|
|
777
|
+
}.widget-enter.svelte-nui72 {
|
|
778
|
+
animation: svelte-nui72-widget-enter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;}.widget-exit {
|
|
779
|
+
animation: svelte-nui72-widget-exit 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;}.dropdown-fade-in.svelte-nui72 {
|
|
780
|
+
animation: svelte-nui72-dropdown-fade-in 0.15s ease-out forwards;}.toast-fade-in.svelte-nui72 {
|
|
781
|
+
animation: svelte-nui72-toast-lifecycle 2s ease-out forwards;}
|
|
782
|
+
@property --tw-translate-x {syntax:"*";inherits:false;initial-value:0;
|
|
783
|
+
}
|
|
784
|
+
@property --tw-translate-y {syntax:"*";inherits:false;initial-value:0;
|
|
785
|
+
}
|
|
786
|
+
@property --tw-translate-z {syntax:"*";inherits:false;initial-value:0;
|
|
787
|
+
}
|
|
788
|
+
@property --tw-rotate-x {syntax:"*";inherits:false;
|
|
789
|
+
}
|
|
790
|
+
@property --tw-rotate-y {syntax:"*";inherits:false;
|
|
791
|
+
}
|
|
792
|
+
@property --tw-rotate-z {syntax:"*";inherits:false;
|
|
793
|
+
}
|
|
794
|
+
@property --tw-skew-x {syntax:"*";inherits:false;
|
|
795
|
+
}
|
|
796
|
+
@property --tw-skew-y {syntax:"*";inherits:false;
|
|
797
|
+
}
|
|
798
|
+
@property --tw-border-style {syntax:"*";inherits:false;initial-value:solid;
|
|
799
|
+
}
|
|
800
|
+
@property --tw-leading {syntax:"*";inherits:false;
|
|
801
|
+
}
|
|
802
|
+
@property --tw-font-weight {syntax:"*";inherits:false;
|
|
803
|
+
}
|
|
804
|
+
@property --tw-tracking {syntax:"*";inherits:false;
|
|
805
|
+
}
|
|
806
|
+
@property --tw-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
807
|
+
}
|
|
808
|
+
@property --tw-shadow-color {syntax:"*";inherits:false;
|
|
809
|
+
}
|
|
810
|
+
@property --tw-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
811
|
+
}
|
|
812
|
+
@property --tw-inset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
813
|
+
}
|
|
814
|
+
@property --tw-inset-shadow-color {syntax:"*";inherits:false;
|
|
815
|
+
}
|
|
816
|
+
@property --tw-inset-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
817
|
+
}
|
|
818
|
+
@property --tw-ring-color {syntax:"*";inherits:false;
|
|
819
|
+
}
|
|
820
|
+
@property --tw-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
821
|
+
}
|
|
822
|
+
@property --tw-inset-ring-color {syntax:"*";inherits:false;
|
|
823
|
+
}
|
|
824
|
+
@property --tw-inset-ring-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
825
|
+
}
|
|
826
|
+
@property --tw-ring-inset {syntax:"*";inherits:false;
|
|
827
|
+
}
|
|
828
|
+
@property --tw-ring-offset-width {syntax:"<length>";inherits:false;initial-value:0px;
|
|
829
|
+
}
|
|
830
|
+
@property --tw-ring-offset-color {syntax:"*";inherits:false;initial-value:#fff;
|
|
831
|
+
}
|
|
832
|
+
@property --tw-ring-offset-shadow {syntax:"*";inherits:false;initial-value:0 0 #0000;
|
|
833
|
+
}
|
|
834
|
+
@property --tw-blur {syntax:"*";inherits:false;
|
|
835
|
+
}
|
|
836
|
+
@property --tw-brightness {syntax:"*";inherits:false;
|
|
837
|
+
}
|
|
838
|
+
@property --tw-contrast {syntax:"*";inherits:false;
|
|
839
|
+
}
|
|
840
|
+
@property --tw-grayscale {syntax:"*";inherits:false;
|
|
841
|
+
}
|
|
842
|
+
@property --tw-hue-rotate {syntax:"*";inherits:false;
|
|
843
|
+
}
|
|
844
|
+
@property --tw-invert {syntax:"*";inherits:false;
|
|
845
|
+
}
|
|
846
|
+
@property --tw-opacity {syntax:"*";inherits:false;
|
|
847
|
+
}
|
|
848
|
+
@property --tw-saturate {syntax:"*";inherits:false;
|
|
849
|
+
}
|
|
850
|
+
@property --tw-sepia {syntax:"*";inherits:false;
|
|
851
|
+
}
|
|
852
|
+
@property --tw-drop-shadow {syntax:"*";inherits:false;
|
|
853
|
+
}
|
|
854
|
+
@property --tw-drop-shadow-color {syntax:"*";inherits:false;
|
|
855
|
+
}
|
|
856
|
+
@property --tw-drop-shadow-alpha {syntax:"<percentage>";inherits:false;initial-value:100%;
|
|
857
|
+
}
|
|
858
|
+
@property --tw-drop-shadow-size {syntax:"*";inherits:false;
|
|
859
|
+
}
|
|
860
|
+
@property --tw-backdrop-blur {syntax:"*";inherits:false;
|
|
861
|
+
}
|
|
862
|
+
@property --tw-backdrop-brightness {syntax:"*";inherits:false;
|
|
863
|
+
}
|
|
864
|
+
@property --tw-backdrop-contrast {syntax:"*";inherits:false;
|
|
865
|
+
}
|
|
866
|
+
@property --tw-backdrop-grayscale {syntax:"*";inherits:false;
|
|
867
|
+
}
|
|
868
|
+
@property --tw-backdrop-hue-rotate {syntax:"*";inherits:false;
|
|
869
|
+
}
|
|
870
|
+
@property --tw-backdrop-invert {syntax:"*";inherits:false;
|
|
871
|
+
}
|
|
872
|
+
@property --tw-backdrop-opacity {syntax:"*";inherits:false;
|
|
873
|
+
}
|
|
874
|
+
@property --tw-backdrop-saturate {syntax:"*";inherits:false;
|
|
875
|
+
}
|
|
876
|
+
@property --tw-backdrop-sepia {syntax:"*";inherits:false;
|
|
877
|
+
}
|
|
878
|
+
@property --tw-duration {syntax:"*";inherits:false;
|
|
879
|
+
}
|
|
880
|
+
@property --tw-ease {syntax:"*";inherits:false;
|
|
881
|
+
}
|
|
882
|
+
@property --tw-scale-x {syntax:"*";inherits:false;initial-value:1;
|
|
883
|
+
}
|
|
884
|
+
@property --tw-scale-y {syntax:"*";inherits:false;initial-value:1;
|
|
885
|
+
}
|
|
886
|
+
@property --tw-scale-z {syntax:"*";inherits:false;initial-value:1;
|
|
887
|
+
}
|
|
888
|
+
@keyframes svelte-nui72-pulse {
|
|
889
|
+
50% {
|
|
890
|
+
opacity: 0.5;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
@layer properties {
|
|
894
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {.svelte-nui72, .svelte-nui72::before, .svelte-nui72::after, .svelte-nui72::backdrop {--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--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-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-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-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial;--tw-duration: initial;--tw-ease: initial;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;}
|
|
895
|
+
}
|
|
896
|
+
}`};function Xn(e,t){Je(t,!0),dt(e,fu);let r=Se(!1),o=Se(""),n=null;function a(){t.isRecording?t.onStopRecording():W(r,!b(r))}function i(E){W(o,E,!0),n&&clearTimeout(n),n=setTimeout(()=>{W(o,"")},2e3)}function s(E){W(r,!1),E()}function l(){W(r,!1),t.onSendBuffer(),i("Sent to AI")}var c=lu(),d=S(c),u=S(d),f=S(u);Tn(f,{size:12}),y(u);var p=L(u,2);p.__click=function(...E){t.onInspect?.apply(this,E)};var h=S(p);Mn(h,{size:16,strokeWidth:1.5}),y(p);var g=L(p,2);g.__click=function(...E){t.onRegion?.apply(this,E)};var v=S(g);Ln(v,{size:16,strokeWidth:1.5}),y(g);var x=L(g,4),D=S(x);D.__click=a;var C=S(D);{let E=Gr(()=>t.isRecording?"animate-pulse":"");Do(C,{size:14,fill:"#f87171",get class(){return b(E)}})}y(D);var T=L(D,2);{var N=E=>{var I=iu(),F=H(I);F.__click=()=>W(r,!1);var K=L(F,2),ve=S(K);ve.__click=()=>s(t.onStartRecording);var Xe=S(ve);Do(Xe,{size:10,fill:"#f87171",class:"shrink-0"}),Ae(),y(ve);var Pe=L(ve,2);Pe.__click=l;var je=S(Pe);An(je,{size:12,strokeWidth:1.5,class:"shrink-0"}),Ae(),y(Pe),y(K),te(()=>{Kt(Pe,1,`flex items-center gap-2.5 w-full py-[7px] px-3 text-left text-xs bg-transparent border-none rounded-md font-[inherit] whitespace-nowrap transition-colors duration-150 ${t.isBuffering?"text-white/85 cursor-pointer hover:bg-white/[0.08]":"text-white/30 cursor-not-allowed"}`,"svelte-nui72"),Pe.disabled=!t.isBuffering}),$(E,I)};Ce(T,E=>{b(r)&&E(N)})}y(x);var A=L(x,4);A.__click=function(...E){t.onClose?.apply(this,E)};var _=S(A);ro(_,{size:14,strokeWidth:2}),y(A),y(d);var P=L(d,2);{var q=E=>{var I=su(),F=S(I,!0);y(I),te(()=>J(F,b(o))),$(E,I)};Ce(P,E=>{b(o)&&E(q)})}y(c),te(()=>{Kt(p,1,`relative flex items-center justify-center w-8 h-8 p-0 bg-transparent border-none rounded-[10px] cursor-pointer transition-all duration-200 hover:bg-white/[0.08] hover:text-white/90 active:scale-95 ${t.isInspectActive?"bg-white/[0.12] text-white":"text-white/50"}`,"svelte-nui72"),Kt(g,1,`relative flex items-center justify-center w-8 h-8 p-0 bg-transparent border-none rounded-[10px] cursor-pointer transition-all duration-200 hover:bg-white/[0.08] hover:text-white/90 active:scale-95 ${t.isRegionActive?"bg-white/[0.12] text-white":"text-white/50"}`,"svelte-nui72"),Mr(D,"title",t.isRecording?"Stop Recording":"Record"),Kt(D,1,`relative flex items-center justify-center w-8 h-8 p-0 bg-transparent border-none rounded-[10px] cursor-pointer transition-all duration-200 hover:bg-white/[0.08] active:scale-95 ${t.isRecording?"bg-red-400/15 hover:bg-red-400/20":""}`,"svelte-nui72")}),$(e,c),Qe()}Yt(["click"]);var hi=!1,mr=!1,fo=!1,Ft=null,Kn=null,Zn=null,V=null,Jn=null,hf=!1,vf=!1,Ho=!1;function cu(){if(document.getElementById("clueprint-font"))return;let e=document.createElement("link");e.id="clueprint-font",e.rel="stylesheet",e.href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap",document.head.appendChild(e)}function xf(){console.log("[Clueprint] Content script loaded"),cu(),jl(),Gl(),Kl(),pf(),$l(),Ol(),document.addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey)&&e.shiftKey&&e.key.toLowerCase()==="x"&&(e.preventDefault(),e.stopPropagation(),no()&&_t(),li())},!0),chrome.runtime.onMessage.addListener(du),chrome.runtime.sendMessage({type:"CONTENT_READY"}).catch(()=>{}),chrome.runtime.sendMessage({type:"GET_STATUS"}).then(e=>{e?.isBuffering!==void 0&&(fo=e.isBuffering)}).catch(()=>{}),chrome.storage.local.get("widgetVisible").then(({widgetVisible:e})=>{e!==!1&&Qn()}).catch(()=>{Qn()}),hi=!0}function du(e,t,r){switch(e.type){case"ACTIVATE_INSPECT":oo(),r({success:!0});break;case"DEACTIVATE_INSPECT":_t(),r({success:!0});break;case"TOGGLE_INSPECT":Oo()&&pr(),Cl(),r({success:!0});break;case"TOGGLE_REGION":no()&&_t(),li(),r({success:!0});break;case"GET_BROWSER_CONTEXT":r(uu());break;case"GET_DIAGNOSTICS":r(pu());break;case"GET_CONSOLE_BUFFER":r(Vl());break;case"GET_NETWORK_BUFFER":r(Ql());break;case"GET_PERFORMANCE":r(di());break;case"NETWORK_EVENT":e.payload&&ef(e.payload),r({success:!0});break;case"PING":r({success:!0,active:hi});break;case"RECORDING_STARTED":gf(),r({success:!0});break;case"RECORDING_STOPPED":mi(),r({success:!0});break;case"STATUS_UPDATE":if(e.payload&&typeof e.payload=="object"){let o=e.payload;o.isRecording!==void 0&&(o.isRecording&&!mr?gf():!o.isRecording&&mr&&mi()),o.isBuffering!==void 0&&(fo=o.isBuffering,jo())}r({success:!0});break;case"SHOW_WIDGET":Qn(),chrome.storage.local.set({widgetVisible:!0}),r({success:!0,visible:!0});break;case"HIDE_WIDGET":Uo(),chrome.storage.local.set({widgetVisible:!1}),r({success:!0,visible:!1});break;case"TOGGLE_WIDGET":V?Uo():Qn(),chrome.storage.local.set({widgetVisible:!!V}),r({success:!0,visible:!!V});break;case"GET_WIDGET_STATE":r({visible:!!V});break;default:r({error:"Unknown message type"})}return!0}function uu(){return{errors:ci(),networkFailures:ui()}}function pu(){let e=di(),t=ci(),r=ui(),o=hu();return{mode:"diagnostics",url:window.location.href,timestamp:Date.now(),errors:mu(t),networkFailures:r.map(n=>({url:n.url,method:n.method,status:n.status||0,statusText:n.statusText||"Unknown"})),performance:{lcp:e.lcp,cls:e.cls,longTasks:e.longTasks},accessibility:o,warnings:vu(t,r,e)}}function mu(e){let t=new Map;for(let r of e){let o=`${r.message}|${r.source||""}`,n=t.get(o);n?n.count+=r.count||1:t.set(o,{message:r.message.slice(0,200),source:r.source||"unknown",count:r.count||1})}return Array.from(t.values())}function hu(){let e=0,t=0,r=document.querySelectorAll("img");for(let n of r)!n.alt&&!n.getAttribute("aria-label")&&e++;let o=document.querySelectorAll("input, select, textarea");for(let n of o){let a=n.id;if(!a){t++;continue}!document.querySelector(`label[for="${a}"]`)&&!n.getAttribute("aria-label")&&!n.getAttribute("aria-labelledby")&&t++}return{missingAltText:e,lowContrast:0,missingLabels:t}}function vu(e,t,r){let o=[];return e.length>5&&o.push(`${e.length} console errors detected`),t.length>0&&o.push(`${t.length} failed network requests`),r.cls.value>.1&&o.push(`High CLS (${r.cls.value.toFixed(3)}) - layout instability detected`),r.lcp&&r.lcp.value>2500&&o.push(`Slow LCP (${(r.lcp.value/1e3).toFixed(1)}s) - main content loading slowly`),r.longTasks.length>3&&o.push(`${r.longTasks.length} long tasks detected - possible jank`),o}function gf(){Ft||(mr=!0,Kn=Date.now(),Ft=document.createElement("div"),Ft.id="ai-devtools-recording-indicator",Ft.innerHTML='<span class="ai-devtools-timer">0:00</span>',document.body.appendChild(Ft),Zn=window.setInterval(()=>{if(!Ft||!Kn)return;let e=Math.floor((Date.now()-Kn)/1e3),t=Math.floor(e/60),r=e%60,o=Ft.querySelector(".ai-devtools-timer");o&&(o.textContent=`${t}:${r.toString().padStart(2,"0")}`)},1e3),jo())}function mi(){mr=!1,Kn=null,Zn&&(clearInterval(Zn),Zn=null),Ft&&(Ft.remove(),Ft=null),jo()}function Qn(){if(V)return;V=document.createElement("div"),V.id="ai-devtools-widget-host",V.style.cssText="position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:2147483646;";let e=V.attachShadow({mode:"closed"}),t=document.createElement("style");t.textContent=":host { all: initial; }",e.appendChild(t);let r=document.createElement("div");e.appendChild(r);let o=ct(Xn,{target:r,props:{isRecording:mr,isBuffering:fo,isInspectActive:no(),isRegionActive:Oo(),onInspect:()=>oo(!0),onRegion:()=>On(),onStartRecording:()=>chrome.runtime.sendMessage({type:"START_RECORDING"}),onStopRecording:()=>chrome.runtime.sendMessage({type:"STOP_RECORDING"}),onSendBuffer:()=>chrome.runtime.sendMessage({type:"SEND_BUFFER"}),onClose:()=>{Uo(),chrome.storage.local.set({widgetVisible:!1})}}});document.body.appendChild(V),xu(V,r),V._instance=o,V._target=r,jo(),Jn=window.setInterval(jo,200)}function Uo(){if(Ho=!1,Jn&&(clearInterval(Jn),Jn=null),V){let t=V._target?.querySelector('[class*="widget-enter"], [class*="widget-exit"]');if(t){t.classList.remove("widget-enter"),t.classList.add("widget-exit");let r=V;setTimeout(()=>{let o=r._instance;o&&wt(o),r.remove()},250)}else{let r=V._instance;r&&wt(r),V.remove()}V=null}}function jo(){if(!V)return;let e=V._target,t=e?.querySelector('[class*="widget-enter"], [class*="widget-exit"]')??e?.firstElementChild,r=no()||Oo();if(r&&!Ho?(Ho=!0,t&&(t.classList.remove("widget-enter"),t.classList.add("widget-exit")),setTimeout(()=>{V&&(V.style.pointerEvents="none",V.style.visibility="hidden")},250)):!r&&Ho&&(Ho=!1,V.style.pointerEvents="",V.style.visibility="",t&&(t.classList.remove("widget-exit"),t.classList.add("widget-enter"))),mr===hf&&fo===vf)return;hf=mr,vf=fo;let o=V._target,n=V._instance;if(!o||!n)return;wt(n);let a=ct(Xn,{target:o,props:{isRecording:mr,isBuffering:fo,isInspectActive:no(),isRegionActive:Oo(),onInspect:()=>oo(!0),onRegion:()=>On(),onStartRecording:()=>chrome.runtime.sendMessage({type:"START_RECORDING"}),onStopRecording:()=>chrome.runtime.sendMessage({type:"STOP_RECORDING"}),onSendBuffer:()=>chrome.runtime.sendMessage({type:"SEND_BUFFER"}),onClose:()=>{Uo(),chrome.storage.local.set({widgetVisible:!1})}}});V._instance=a}function xu(e,t){let r=!1,o=0,n=0;(t||e).addEventListener("mousedown",i=>{if(!i.target.closest("[data-drag-handle]"))return;r=!0;let l=e.getBoundingClientRect();o=i.clientX-l.left,n=i.clientY-l.top,e.style.width=`${l.width}px`,e.style.transform="none",e.style.left=`${l.left}px`,e.style.top=`${l.top}px`,e.style.bottom="auto",e.style.cursor="grabbing",i.preventDefault()}),document.addEventListener("mousemove",i=>{r&&(e.style.left=`${i.clientX-o}px`,e.style.top=`${i.clientY-n}px`)}),document.addEventListener("mouseup",()=>{r&&(e.style.cursor="",r=!1)})}function gu(){ql(),Yl(),Jl(),mf(),Fl(),Tl(),mi(),Uo(),hi=!1}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",xf):xf();window.addEventListener("beforeunload",gu);})();
|
|
897
|
+
/*! Bundled license information:
|
|
898
|
+
|
|
899
|
+
lucide-svelte/dist/defaultAttributes.js:
|
|
900
|
+
(**
|
|
901
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
902
|
+
*
|
|
903
|
+
* This source code is licensed under the ISC license.
|
|
904
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
905
|
+
*)
|
|
906
|
+
|
|
907
|
+
lucide-svelte/dist/icons/bookmark.svelte:
|
|
908
|
+
(**
|
|
909
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
910
|
+
*
|
|
911
|
+
* This source code is licensed under the ISC license.
|
|
912
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
913
|
+
*)
|
|
914
|
+
|
|
915
|
+
lucide-svelte/dist/icons/circle.svelte:
|
|
916
|
+
(**
|
|
917
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
918
|
+
*
|
|
919
|
+
* This source code is licensed under the ISC license.
|
|
920
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
921
|
+
*)
|
|
922
|
+
|
|
923
|
+
lucide-svelte/dist/icons/grip-vertical.svelte:
|
|
924
|
+
(**
|
|
925
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
926
|
+
*
|
|
927
|
+
* This source code is licensed under the ISC license.
|
|
928
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
929
|
+
*)
|
|
930
|
+
|
|
931
|
+
lucide-svelte/dist/icons/history.svelte:
|
|
932
|
+
(**
|
|
933
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
934
|
+
*
|
|
935
|
+
* This source code is licensed under the ISC license.
|
|
936
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
937
|
+
*)
|
|
938
|
+
|
|
939
|
+
lucide-svelte/dist/icons/mouse-pointer-click.svelte:
|
|
940
|
+
(**
|
|
941
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
942
|
+
*
|
|
943
|
+
* This source code is licensed under the ISC license.
|
|
944
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
945
|
+
*)
|
|
946
|
+
|
|
947
|
+
lucide-svelte/dist/icons/sparkles.svelte:
|
|
948
|
+
(**
|
|
949
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
950
|
+
*
|
|
951
|
+
* This source code is licensed under the ISC license.
|
|
952
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
953
|
+
*)
|
|
954
|
+
|
|
955
|
+
lucide-svelte/dist/icons/square-dashed-mouse-pointer.svelte:
|
|
956
|
+
(**
|
|
957
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
958
|
+
*
|
|
959
|
+
* This source code is licensed under the ISC license.
|
|
960
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
961
|
+
*)
|
|
962
|
+
|
|
963
|
+
lucide-svelte/dist/icons/wrench.svelte:
|
|
964
|
+
(**
|
|
965
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
966
|
+
*
|
|
967
|
+
* This source code is licensed under the ISC license.
|
|
968
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
969
|
+
*)
|
|
970
|
+
|
|
971
|
+
lucide-svelte/dist/icons/x.svelte:
|
|
972
|
+
(**
|
|
973
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
974
|
+
*
|
|
975
|
+
* This source code is licensed under the ISC license.
|
|
976
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
977
|
+
*)
|
|
978
|
+
|
|
979
|
+
lucide-svelte/dist/icons/index.js:
|
|
980
|
+
(**
|
|
981
|
+
* @license lucide-svelte v0.469.0 - ISC
|
|
982
|
+
*
|
|
983
|
+
* This source code is licensed under the ISC license.
|
|
984
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
985
|
+
*)
|
|
986
|
+
*/
|