fubi 1.0.3-beta.17 → 1.0.3-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.es.js +2 -0
- package/dist/index.es.js +1 -2
- package/dist/index.iife.js +1 -1
- package/package.json +7 -4
package/dist/index.es.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
var e=globalThis.process?.env?.NODE_ENV,t=e&&!e.toLowerCase().startsWith("prod"),r=Array.isArray,o=Array.prototype.indexOf,i=Array.prototype.includes,n=Array.from,s=(Object.keys,Object.defineProperty),a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyDescriptors,c=Object.prototype,d=Array.prototype,u=Object.getPrototypeOf,h=Object.isExtensible;function p(e){return"function"==typeof e}var g=()=>{};function f(){var e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function m(e,t,r=!1){return void 0===e?r?t():t:e}function v(e,t){if(Array.isArray(e))return e;if(void 0===t||!(Symbol.iterator in e))return Array.from(e);const r=[];for(const o of e)if(r.push(o),r.length===t)break;return r}var b=1024,w=2048,y=4096,x=8192,k=32768,C=65536,L=1<<25,S=1<<21,M=1<<23,$=Symbol("$state"),T=Symbol("legacy props"),_=Symbol(""),E=Symbol("proxy path"),I=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},O=!!globalThis.document?.contentType&&/* @__PURE__ */globalThis.document.contentType.includes("xml");function A(e){if(t){const t=/* @__PURE__ */new Error(`lifecycle_outside_component\n\`${e}(...)\` can only be used during component initialisation\nhttps://svelte.dev/e/lifecycle_outside_component`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function z(){if(t){const e=/* @__PURE__ */new Error("bind_invalid_checkbox_value\nUsing `bind:value` together with a checkbox input is not allowed. Use `bind:checked` instead\nhttps://svelte.dev/e/bind_invalid_checkbox_value");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/bind_invalid_checkbox_value")}function P(e,r,o){if(t){const t=/* @__PURE__ */new Error(`each_key_duplicate\n${o?`Keyed each block has duplicate key \`${o}\` at indexes ${e} and ${r}`:`Keyed each block has duplicate key at indexes ${e} and ${r}`}\nhttps://svelte.dev/e/each_key_duplicate`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/each_key_duplicate")}function F(e,r,o){if(t){const t=/* @__PURE__ */new Error(`each_key_volatile\nKeyed each block has key that is not idempotent — the key for item at index ${e} was \`${r}\` but is now \`${o}\`. Keys must be the same each time for a given item\nhttps://svelte.dev/e/each_key_volatile`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/each_key_volatile")}var N={},H=Symbol(),D=Symbol("filename"),j="http://www.w3.org/2000/svg";function R(e){}var W,V=!1;function B(e){V=e}function U(e){if(null===e)throw N;return W=e}function Z(){return U(/* @__PURE__ */It(W))}function q(e){if(V){if(/* @__PURE__ */null!==It(W))throw N;W=e}}function K(e=1){if(V){for(var t=e,r=W;t--;)r=/* @__PURE__ */It(r);W=r}}function G(e=!0){for(var t=0,r=W;;){if(8===r.nodeType){var o=r.data;if("]"===o){if(0===t)return r;t-=1}else("["===o||"[!"===o||"["===o[0]&&!isNaN(Number(o.slice(1))))&&(t+=1)}var i=/* @__PURE__ */It(r);e&&r.remove(),r=i}}function X(e){if(!e||8!==e.nodeType)throw N;return e.data}function Y(e){return e===this.v}function J(e){return t=e,r=this.v,!(t!=t?r==r:t!==r||null!==t&&"object"==typeof t||"function"==typeof t);var t,r}var Q=!1;function ee(e,t){return e.label=t,te(e.v,t),e}function te(e,t){return e?.[E]?.(t),e}function re(e){return"symbol"==typeof e?`Symbol(${e.description})`:"function"==typeof e?"<function>":"object"==typeof e&&e?"<object>":String(e)}var oe=null;function ie(e){oe=e}var ne=null;function se(e){ne=e}var ae=null;function le(e){ae=e}function ce(e){return pe("getContext").get(e)}function de(e,r){const o=pe("setContext");if(Q){var i=xr.f;!br&&32&i&&!oe.i||function(){if(t){const e=/* @__PURE__ */new Error("set_context_after_init\n`setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression\nhttps://svelte.dev/e/set_context_after_init");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/set_context_after_init")}()}return o.set(e,r),r}function ue(e,r=!1,o){oe={p:oe,i:!1,c:null,e:null,s:e,x:null,l:null},t&&(oe.function=o,ae=o)}function he(e){var r=oe,o=r.e;if(null!==o)for(var i of(r.e=null,o))Gt(i);return void 0!==e&&(r.x=e),r.i=!0,oe=r.p,t&&(ae=oe?.function??null),e??{}}function pe(e){return null===oe&&A(e),oe.c??=new Map(function(e){let t=e.p;for(;null!==t;){const e=t.c;if(null!==e)return e;t=t.p}return null}(oe)||void 0)}var ge=[];function fe(){var e=ge;ge=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}function me(e){if(0===ge.length&&!ze){var t=ge;queueMicrotask(()=>{t===ge&&fe()})}ge.push(e)}function ve(){for(;ge.length>0;)fe()}var be=/* @__PURE__ */new WeakMap;function we(e){var r=xr;if(null===r)return br.f|=M,e;if(t&&e instanceof Error&&!be.has(e)&&be.set(e,function(e,t){const r=a(e,"message");if(!r||r.configurable){for(var o=Lt?" ":"\t",i=`\n${o}in ${t.fn?.name||"<unknown>"}`,n=t.ctx;null!==n;)i+=`\n${o}in ${n.function?.[D].split("/").pop()}`,n=n.p;return{message:e.message+`\n${i}\n`,stack:e.stack?.split("\n").filter(e=>!e.includes("svelte/src/internal")).join("\n")}}}(e,r)),!(32768&r.f||4&r.f))throw t&&!r.parent&&e instanceof Error&&xe(e),e;ye(e,r)}function ye(e,r){for(;null!==r;){if(128&r.f){if(!(32768&r.f))throw e;try{return void r.b.error(e)}catch(Ki){e=Ki}}r=r.parent}throw t&&e instanceof Error&&xe(e),e}function xe(e){const t=be.get(e);t&&(s(e,"message",{value:t.message}),s(e,"stack",{value:t.stack}))}var ke=-7169;function Ce(e,t){e.f=e.f&ke|t}function Le(e){512&e.f||null===e.deps?Ce(e,b):Ce(e,y)}function Se(e){if(null!==e)for(const t of e)2&t.f&&65536&t.f&&(t.f^=65536,Se(t.deps))}function Me(e,t,r){2048&e.f?t.add(e):4096&e.f&&r.add(e),Se(e.deps),Ce(e,b)}var $e=/* @__PURE__ */new Set,Te=null,_e=null,Ee=null,Ie=[],Oe=null,Ae=!1,ze=!1,Pe=class e{current=/* @__PURE__ */new Map;previous=/* @__PURE__ */new Map;#e=/* @__PURE__ */new Set;#t=/* @__PURE__ */new Set;#r=0;#o=0;#i=null;#n=/* @__PURE__ */new Set;#s=/* @__PURE__ */new Set;#a=/* @__PURE__ */new Map;is_fork=!1;#l=!1;#c(){return this.is_fork||this.#o>0}skip_effect(e){this.#a.has(e)||this.#a.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#a.get(e);if(t){for(var r of(this.#a.delete(e),t.d))Ce(r,w),Ve(r);for(r of t.m)Ce(r,y),Ve(r)}}process(e){Ie=[],this.apply();var t=[],r=[];for(const o of e)this.#d(o,t,r);if(this.#c()){this.#u(r),this.#u(t);for(const[e,t]of this.#a)Be(e,t)}else{for(const e of this.#e)e();this.#e.clear(),0===this.#r&&this.#h(),_e=this,Te=null,je(r),je(t),this.#n.clear(),this.#s.clear(),_e=null,this.#i?.resolve()}Ee=null}#d(e,t,r){e.f^=b;for(var o=e.first;null!==o;){var i=o.f,n=!!(96&i);if(!(n&&1024&i||8192&i||this.#a.has(o))&&null!==o.fn){n?o.f^=b:4&i?t.push(o):Q&&16777224&i?r.push(o):Ar(o)&&(16&i&&this.#s.add(o),Hr(o));var s=o.first;if(null!==s){o=s;continue}}for(;null!==o;){var a=o.next;if(null!==a){o=a;break}o=o.parent}}}#u(e){for(var t=0;t<e.length;t+=1)Me(e[t],this.#n,this.#s)}capture(e,t){t===H||this.previous.has(e)||this.previous.set(e,t),8388608&e.f||(this.current.set(e,e.v),Ee?.set(e,e.v))}activate(){Te=this,this.apply()}deactivate(){Te===this&&(Te=null,Ee=null)}flush(){if(this.activate(),Ie.length>0){if(Ne(),null!==Te&&Te!==this)return}else 0===this.#r&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#h(){if($e.size>1){this.previous.clear();var e=Ee,t=!0;for(const e of $e){if(e===this){t=!1;continue}const o=[];for(const[r,n]of this.current){if(e.current.has(r)){if(!t||n===e.current.get(r))continue;e.current.set(r,n)}o.push(r)}if(0===o.length)continue;const i=[...e.current.keys()].filter(e=>!this.current.has(e));if(i.length>0){var r=Ie;Ie=[];const t=/* @__PURE__ */new Set,n=/* @__PURE__ */new Map;for(const e of o)Re(e,i,t,n);if(Ie.length>0){Te=e,e.apply();for(const t of Ie)e.#d(t,[],[]);e.deactivate()}Ie=r}}Te=null,Ee=e}this.#a.clear(),$e.delete(this)}increment(e){this.#r+=1,e&&(this.#o+=1)}decrement(e){this.#r-=1,e&&(this.#o-=1),this.#l||(this.#l=!0,me(()=>{this.#l=!1,this.#c()?Ie.length>0&&this.flush():this.revive()}))}revive(){for(const e of this.#n)this.#s.delete(e),Ce(e,w),Ve(e);for(const e of this.#s)Ce(e,y),Ve(e);this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=f()).promise}static ensure(){if(null===Te){const t=Te=new e;$e.add(Te),ze||me(()=>{Te===t&&t.flush()})}return Te}apply(){if(Q&&(this.is_fork||1!==$e.size)){Ee=new Map(this.current);for(const e of $e)if(e!==this)for(const[t,r]of e.previous)Ee.has(t)||Ee.set(t,r)}}};function Fe(e){var t=ze;ze=!0;try{var r;for(e&&(null!==Te&&Ne(),r=e());;){if(ve(),0===Ie.length&&(Te?.flush(),0===Ie.length))return Oe=null,r;Ne()}}finally{ze=t}}function Ne(){Ae=!0;var e=t?/* @__PURE__ */new Set:null;try{for(var r=0;Ie.length>0;){var o=Pe.ensure();if(r++>1e3){if(t){var i=/* @__PURE__ */new Map;for(const e of o.current.keys())for(const[t,r]of e.updated??[]){var n=i.get(t);n||(n={error:r.error,count:0},i.set(t,n)),n.count+=r.count}for(const e of i.values())e.error}He()}if(o.process(Ie),at.clear(),t)for(const t of o.current.keys())e.add(t)}}finally{if(Ie=[],Ae=!1,Oe=null,t)for(const t of e)t.updated=null}}function He(){try{!function(){if(t){const e=/* @__PURE__ */new Error("effect_update_depth_exceeded\nMaximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state\nhttps://svelte.dev/e/effect_update_depth_exceeded");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(e){t&&s(e,"stack",{value:""}),ye(e,Oe)}}var De=null;function je(e){var t=e.length;if(0!==t){for(var r=0;r<t;){var o=e[r++];if(!(24576&o.f)&&Ar(o)&&(De=/* @__PURE__ */new Set,Hr(o),null===o.deps&&null===o.first&&null===o.nodes&&null===o.teardown&&null===o.ac&&lr(o),De?.size>0)){at.clear();for(const e of De){if(24576&e.f)continue;const t=[e];let r=e.parent;for(;null!==r;)De.has(r)&&(De.delete(r),t.push(r)),r=r.parent;for(let e=t.length-1;e>=0;e--){const r=t[e];24576&r.f||Hr(r)}}De.clear()}}De=null}}function Re(e,t,r,o){if(!r.has(e)&&(r.add(e),null!==e.reactions))for(const i of e.reactions){const e=i.f;2&e?Re(i,t,r,o):4194320&e&&!(2048&e)&&We(i,t,o)&&(Ce(i,w),Ve(i))}}function We(e,t,r){const o=r.get(e);if(void 0!==o)return o;if(null!==e.deps)for(const n of e.deps){if(i.call(t,n))return!0;if(2&n.f&&We(n,t,r))return r.set(n,!0),!0}return r.set(e,!1),!1}function Ve(e){var t=Oe=e,r=t.b;if(!(r?.is_pending&&16777228&e.f)||32768&e.f){for(;null!==t.parent;){var o=(t=t.parent).f;if(Ae&&t===xr&&16&o&&!(262144&o)&&32768&o)return;if(96&o){if(!(1024&o))return;t.f^=b}}Ie.push(t)}else r.defer_effect(e)}function Be(e,t){if(!(32&e.f&&1024&e.f)){2048&e.f?t.d.push(e):4096&e.f&&t.m.push(e),Ce(e,b);for(var r=e.first;null!==r;)Be(r,t),r=r.next}}function Ue(e){let r,o=0,i=dt(0);return t&&ee(i,"createSubscriber version"),()=>{Zt()&&(jr(i),Qt(()=>(0===o&&(r=Vr(()=>e(()=>mt(i)))),o+=1,()=>{me(()=>{o-=1,0===o&&(r?.(),r=void 0,mt(i))})})))}}var Ze=class{parent;is_pending=!1;transform_error;#p;#g=V?W:null;#f;#m;#v;#b=null;#w=null;#y=null;#x=null;#k=0;#C=0;#L=!1;#n=/* @__PURE__ */new Set;#s=/* @__PURE__ */new Set;#S=null;#M=Ue(()=>(this.#S=dt(this.#k),t&&ee(this.#S,"$effect.pending()"),()=>{this.#S=null}));constructor(e,t,r,o){this.#p=e,this.#f=t,this.#m=e=>{var t=xr;t.b=this,t.f|=128,r(e)},this.parent=xr.b,this.transform_error=o??this.parent?.transform_error??(e=>e),this.#v=tr(()=>{if(V){const e=this.#g;Z();const t="[!"===e.data;if(e.data.startsWith("[?")){const t=JSON.parse(e.data.slice(2));this.#$(t)}else t?this.#T():this.#_()}else this.#E()},589824),V&&(this.#p=W)}#_(){try{this.#b=or(()=>this.#m(this.#p))}catch(e){this.error(e)}}#$(e){const t=this.#f.failed;t&&(this.#y=or(()=>{t(this.#p,()=>e,()=>()=>{})}))}#T(){const e=this.#f.pending;e&&(this.is_pending=!0,this.#w=or(()=>e(this.#p)),me(()=>{var e=this.#x=document.createDocumentFragment(),t=_t();e.append(t),this.#b=this.#I(()=>(Pe.ensure(),or(()=>this.#m(t)))),0===this.#C&&(this.#p.before(e),this.#x=null,cr(this.#w,()=>{this.#w=null}),this.#O())}))}#E(){try{if(this.is_pending=this.has_pending_snippet(),this.#C=0,this.#k=0,this.#b=or(()=>{this.#m(this.#p)}),this.#C>0){var e=this.#x=document.createDocumentFragment();pr(this.#b,e);const t=this.#f.pending;this.#w=or(()=>t(this.#p))}else this.#O()}catch(t){this.error(t)}}#O(){this.is_pending=!1;for(const e of this.#n)Ce(e,w),Ve(e);for(const e of this.#s)Ce(e,y),Ve(e);this.#n.clear(),this.#s.clear()}defer_effect(e){Me(e,this.#n,this.#s)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#f.pending}#I(e){var t=xr,r=br,o=oe;kr(this.#v),yr(this.#v),ie(this.#v.ctx);try{return e()}catch(Ki){return we(Ki),null}finally{kr(t),yr(r),ie(o)}}#A(e){this.has_pending_snippet()?(this.#C+=e,0===this.#C&&(this.#O(),this.#w&&cr(this.#w,()=>{this.#w=null}),this.#x&&(this.#p.before(this.#x),this.#x=null))):this.parent&&this.parent.#A(e)}update_pending_count(e){this.#A(e),this.#k+=e,this.#S&&!this.#L&&(this.#L=!0,me(()=>{this.#L=!1,this.#S&>(this.#S,this.#k)}))}get_effect_pending(){return this.#M(),jr(this.#S)}error(e){var r=this.#f.onerror;let o=this.#f.failed;if(!r&&!o)throw e;this.#b&&(sr(this.#b),this.#b=null),this.#w&&(sr(this.#w),this.#w=null),this.#y&&(sr(this.#y),this.#y=null),V&&(U(this.#g),K(),U(G()));var i=!1,n=!1;const s=()=>{i||(i=!0,n&&function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==this.#y&&cr(this.#y,()=>{this.#y=null}),this.#I(()=>{Pe.ensure(),this.#E()}))},a=t=>{try{n=!0,r?.(t,s),n=!1}catch(e){ye(e,this.#v&&this.#v.parent)}o&&(this.#y=this.#I(()=>{Pe.ensure();try{return or(()=>{var e=xr;e.b=this,e.f|=128,o(this.#p,()=>t,()=>s)})}catch(e){return ye(e,this.#v.parent),null}}))};me(()=>{var t;try{t=this.transform_error(e)}catch(Ki){return void ye(Ki,this.#v&&this.#v.parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(a,e=>ye(e,this.#v&&this.#v.parent)):a(t)})}};function qe(e,r,o,i){const n=Ye;var s=e.filter(e=>!e.settled);if(0!==o.length||0!==s.length){var a=xr,l=function(){var e=xr,r=br,o=oe,i=Te;if(t)var n=ne;return function(s=!0){kr(e),yr(r),ie(o),s&&i?.activate(),t&&(Ge(null),se(n))}}(),c=1===s.length?s[0].promise:s.length>1?Promise.all(s.map(e=>e.promise)):null;0!==o.length?c?c.then(u):u():c.then(()=>d(r.map(n)))}else i(r.map(n));function d(e){l();try{i(e)}catch(t){16384&a.f||ye(t,a)}Ke()}function u(){l(),Promise.all(o.map(e=>/* @__PURE__ */Je(e))).then(e=>d([...r.map(n),...e])).catch(e=>ye(e,a))}}function Ke(e=!0){kr(null),yr(null),ie(null),e&&Te?.deactivate(),t&&(Ge(null),se(null))}function Ge(e){}var Xe=/* @__PURE__ */new Set;function Ye(e){var t=null!==br&&2&br.f?br:null;null!==xr&&(xr.f|=524288);return{ctx:oe,deps:null,effects:null,equals:Y,f:2050,fn:e,reactions:null,rv:0,v:H,wv:0,parent:t??xr,ac:null}}function Je(e,r,o){null===xr&&function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var i=void 0,n=dt(H);t&&(n.label=r);var s=!br,a=/* @__PURE__ */new Map;return function(e){Ut(4718592,e,!0)}(()=>{var r=f();i=r.promise;try{Promise.resolve(e()).then(r.resolve,r.reject).finally(Ke)}catch(u){r.reject(u),Ke()}var l=Te;if(s){var c=function(){var e=xr.b,t=Te,r=e.is_rendered();return e.update_pending_count(1),t.increment(r),()=>{e.update_pending_count(-1),t.decrement(r)}}();a.get(l)?.reject(I),a.delete(l),a.set(l,r)}const d=(e,r=void 0)=>{if(l.activate(),r)r!==I&&(n.f|=M,gt(n,r));else{8388608&n.f&&(n.f^=M),gt(n,e);for(const[e,t]of a){if(a.delete(e),e===l)break;t.reject(I)}t&&void 0!==o&&(Xe.add(n),setTimeout(()=>{Xe.has(n)&&(n.label,Xe.delete(n))}))}c&&c()};r.promise.then(d,e=>d(null,e||"unknown"))}),qt(()=>{for(const e of a.values())e.reject(I)}),t&&(n.f|=4194304),new Promise(e=>{!function t(r){function o(){r===i?e(n):t(i)}r.then(o,o)}(i)})}function Qe(e){const t=/* @__PURE__ */Ye(e);return Q||Lr(t),t}function et(e){const t=/* @__PURE__ */Ye(e);return t.equals=J,t}function tt(e){var t=e.effects;if(null!==t){e.effects=null;for(var r=0;r<t.length;r+=1)sr(t[r])}}var rt=[];function ot(e){var r,o=xr;if(kr(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 16384&t.f?null:t;t=t.parent}return null}(e)),t){let n=st;lt(/* @__PURE__ */new Set);try{i.call(rt,e)&&function(){if(t){const e=/* @__PURE__ */new Error("derived_references_self\nA derived value cannot reference itself recursively\nhttps://svelte.dev/e/derived_references_self");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/derived_references_self")}(),rt.push(e),e.f&=-65537,tt(e),r=Pr(e)}finally{kr(o),lt(n),rt.pop()}}else try{e.f&=-65537,tt(e),r=Pr(e)}finally{kr(o)}return r}function it(e){var t=ot(e);e.equals(t)||(e.wv=Or(),Te?.is_fork&&null!==e.deps||(e.v=t,null!==e.deps))?mr||(null!==Ee?(Zt()||Te?.is_fork)&&Ee.set(e,t):Le(e)):Ce(e,b)}function nt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&Hr(t)}var st=/* @__PURE__ */new Set,at=/* @__PURE__ */new Map;function lt(e){st=e}var ct=!1;function dt(e,t){return{f:0,v:e,reactions:null,equals:Y,rv:0,wv:0}}function ut(e,t){const r=dt(e);return Lr(r),r}function ht(e,t=!1,r=!0){const o=dt(e);return t||(o.equals=J),o}function pt(e,r,o=!1){null!==br&&(!wr||131072&br.f)&&4325394&br.f&&(null===Cr||!i.call(Cr,e))&&function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let n=o?wt(r):r;return t&&te(n,e.label),gt(e,n)}function gt(e,r){if(!e.equals(r)){var o=e.v;mr?at.set(e,r):at.set(e,o),e.v=r;var i=Pe.ensure();if(i.capture(e,o),t){if(null!==xr){e.updated??=/* @__PURE__ */new Map;const t=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:t}),t>5){const t=function(e){const t=/* @__PURE__ */new Error,r=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=/* @__PURE__ */(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const r=t.split("\n"),o=[];for(let i=0;i<r.length;i++){const e=r[i],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||o.push(e)}}return o}();return 0===r.length?null:(r.unshift("\n"),s(t,"stack",{value:r.join("\n")}),s(t,"name",{value:e}),t)}("updated at");if(null!==t){let r=e.updated.get(t.stack);r||(r={error:t,count:0},e.updated.set(t.stack,r)),r.count++}}}null!==xr&&(e.set_during_effect=!0)}if(2&e.f){const t=e;2048&e.f&&ot(t),Le(t)}e.wv=Or(),vt(e,w),null!==xr&&1024&xr.f&&!(96&xr.f)&&(null===$r?function(e){$r=e}([e]):$r.push(e)),!i.is_fork&&st.size>0&&!ct&&ft()}return r}function ft(){ct=!1;for(const e of st)1024&e.f&&Ce(e,y),Ar(e)&&Hr(e);st.clear()}function mt(e){pt(e,e.v+1)}function vt(e,r){var o=e.reactions;if(null!==o)for(var i=o.length,n=0;n<i;n++){var s=o[n],a=s.f;if(t&&131072&a)st.add(s);else{var l=0===(a&w);if(l&&Ce(s,r),2&a){var c=s;Ee?.delete(c),65536&a||(512&a&&(s.f|=65536),vt(c,y))}else l&&(16&a&&null!==De&&De.add(s),Ve(s))}}}var bt=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function wt(e){if("object"!=typeof e||null===e||$ in e)return e;const o=u(e);if(o!==c&&o!==d)return e;var i=/* @__PURE__ */new Map,n=r(e),s=/* @__PURE__ */ut(0),l=Er,h=e=>{if(Er===l)return e();var t=br,r=Er;yr(null),Ir(l);var o=e();return yr(t),Ir(r),o};n&&(i.set("length",/* @__PURE__ */ut(e.length)),t&&(e=new Proxy(e,{get(e,t,r){var o=Reflect.get(e,t,r);return $t.has(t)?function(...e){ct=!0;var t=o.apply(this,e);return ft(),t}:o}})));var p="";let g=!1;function f(e){if(!g){g=!0,ee(s,`${p=e} version`);for(const[e,t]of i)ee(t,yt(p,e));g=!1}}return new Proxy(e,{defineProperty(e,r,o){"value"in o&&!1!==o.configurable&&!1!==o.enumerable&&!1!==o.writable||function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var n=i.get(r);return void 0===n?h(()=>{var e=/* @__PURE__ */ut(o.value);return i.set(r,e),t&&"string"==typeof r&&ee(e,yt(p,r)),e}):pt(n,o.value,!0),!0},deleteProperty(e,r){var o=i.get(r);if(void 0===o){if(r in e){const e=h(()=>/* @__PURE__ */ut(H));i.set(r,e),mt(s),t&&ee(e,yt(p,r))}}else pt(o,H),mt(s);return!0},get(r,o,n){if(o===$)return e;if(t&&o===E)return f;var s=i.get(o),l=o in r;if(void 0!==s||l&&!a(r,o)?.writable||(s=h(()=>{var e=/* @__PURE__ */ut(wt(l?r[o]:H));return t&&ee(e,yt(p,o)),e}),i.set(o,s)),void 0!==s){var c=jr(s);return c===H?void 0:c}return Reflect.get(r,o,n)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&"value"in r){var o=i.get(t);o&&(r.value=jr(o))}else if(void 0===r){var n=i.get(t),s=n?.v;if(void 0!==n&&s!==H)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return r},has(e,r){if(r===$)return!0;var o=i.get(r),n=void 0!==o&&o.v!==H||Reflect.has(e,r);return!((void 0!==o||null!==xr&&(!n||a(e,r)?.writable))&&(void 0===o&&(o=h(()=>{var o=/* @__PURE__ */ut(n?wt(e[r]):H);return t&&ee(o,yt(p,r)),o}),i.set(r,o)),jr(o)===H))&&n},set(e,r,o,l){var c=i.get(r),d=r in e;if(n&&"length"===r)for(var u=o;u<c.v;u+=1){var g=i.get(u+"");void 0!==g?pt(g,H):u in e&&(g=h(()=>/* @__PURE__ */ut(H)),i.set(u+"",g),t&&ee(g,yt(p,u)))}void 0===c?d&&!a(e,r)?.writable||(c=h(()=>/* @__PURE__ */ut(void 0)),t&&ee(c,yt(p,r)),pt(c,wt(o)),i.set(r,c)):(d=c.v!==H,pt(c,h(()=>wt(o))));var f=Reflect.getOwnPropertyDescriptor(e,r);if(f?.set&&f.set.call(l,o),!d){if(n&&"string"==typeof r){var m=i.get("length"),v=Number(r);Number.isInteger(v)&&v>=m.v&&pt(m,v+1)}mt(s)}return!0},ownKeys(e){jr(s);var t=Reflect.ownKeys(e).filter(e=>{var t=i.get(e);return void 0===t||t.v!==H});for(var[r,o]of i)o.v===H||r in e||t.push(r);return t},setPrototypeOf(){!function(){if(t){const e=/* @__PURE__ */new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function yt(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:bt.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function xt(e){try{if(null!==e&&"object"==typeof e&&$ in e)return e[$]}catch{}return e}function kt(e,t){return Object.is(xt(e),xt(t))}var Ct,Lt,St,Mt,$t=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function Tt(){if(void 0===Ct){Ct=window,document,Lt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,r=Node.prototype,o=Text.prototype;St=a(r,"firstChild").get,Mt=a(r,"nextSibling").get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(o)&&(o.__t=void 0),t&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:r,lastIndexOf:o,includes:i}=e;e.indexOf=function(e,t){const o=r.call(this,e,t);if(-1===o)for(let r=t??0;r<this.length;r+=1)if(xt(this[r])===e){R();break}return o},e.lastIndexOf=function(e,t){const r=o.call(this,e,t??this.length-1);if(-1===r)for(let o=0;o<=(t??this.length-1);o+=1)if(xt(this[o])===e){R();break}return r},e.includes=function(e,t){const r=i.call(this,e,t);if(!r)for(let o=0;o<this.length;o+=1)if(xt(this[o])===e){R();break}return r},Array.__svelte_cleanup=()=>{e.indexOf=r,e.lastIndexOf=o,e.includes=i}}())}}function _t(e=""){return document.createTextNode(e)}function Et(e){return St.call(e)}function It(e){return Mt.call(e)}function Ot(e,t){if(!V)/* @__PURE__ */return Et(e);var r=/* @__PURE__ */Et(W);if(null===r)r=W.appendChild(_t());else if(t&&3!==r.nodeType){var o=_t();return r?.before(o),U(o),o}return t&&Ht(r),U(r),r}function At(e,t=!1){if(!V){var r=/* @__PURE__ */Et(e);return r instanceof Comment&&""===r.data?/* @__PURE__ */It(r):r}if(t){if(3!==W?.nodeType){var o=_t();return W?.before(o),U(o),o}Ht(W)}return W}function zt(e,t=1,r=!1){let o=V?W:e;for(var i;t--;)i=o,o=/* @__PURE__ */It(o);if(!V)return o;if(r){if(3!==o?.nodeType){var n=_t();return null===o?i?.after(n):o.before(n),U(n),n}Ht(o)}return U(o),o}function Pt(e){e.textContent=""}function Ft(){return!!Q&&null===De&&0!==(xr.f&k)}function Nt(e,t,r){let o=r?{is:r}:void 0;return document.createElementNS(t??"http://www.w3.org/1999/xhtml",e,o)}function Ht(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;null!==t&&3===t.nodeType;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Dt(e,t){if(t){const t=document.body;e.autofocus=!0,me(()=>{document.activeElement===t&&e.focus()})}}var jt=!1;function Rt(){jt||(jt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Wt(e){var t=br,r=xr;yr(null),kr(null);try{return e()}finally{yr(t),kr(r)}}function Vt(e,t,r,o=r){e.addEventListener(t,()=>Wt(r));const i=e.__on_r;e.__on_r=i?()=>{i(),o(!0)}:()=>o(!0),Rt()}function Bt(e){null===xr&&(null===br&&function(e){if(t){const t=/* @__PURE__ */new Error(`effect_orphan\n\`${e}\` can only be used inside an effect (e.g. during component initialisation)\nhttps://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_orphan")}(e),function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),mr&&function(e){if(t){const t=/* @__PURE__ */new Error(`effect_in_teardown\n\`${e}\` cannot be used inside an effect cleanup function\nhttps://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_in_teardown")}(e)}function Ut(e,r,o){var i=xr;if(t)for(;null!==i&&131072&i.f;)i=i.parent;null!==i&&8192&i.f&&(e|=x);var n={ctx:oe,deps:null,nodes:null,f:e|w|512,first:null,fn:r,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null};if(t&&(n.component_function=ae),o)try{Hr(n)}catch(s){throw sr(n),s}else null!==r&&Ve(n);var s=n;if(!o||null!==s.deps||null!==s.teardown||null!==s.nodes||s.first!==s.last||524288&s.f||(s=s.first,16&e&&65536&e&&null!==s&&(s.f|=C)),null!==s&&(s.parent=i,null!==i&&function(e,t){var r=t.last;null===r?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}(s,i),null!==br&&2&br.f&&!(64&e))){var a=br;(a.effects??=[]).push(s)}return n}function Zt(){return null!==br&&!wr}function qt(e){const t=Ut(8,null,!1);return Ce(t,b),t.teardown=e,t}function Kt(e){Bt("$effect"),t&&s(e,"name",{value:"$effect"});var r=xr.f;if(br||!(32&r)||32768&r)return Gt(e);var o=oe;(o.e??=[]).push(e)}function Gt(e){return Ut(1048580,e,!1)}function Xt(e){return Bt("$effect.pre"),t&&s(e,"name",{value:"$effect.pre"}),Ut(1048584,e,!0)}function Yt(e){Pe.ensure();const t=Ut(524352,e,!0);return()=>{sr(t)}}function Jt(e){return Ut(4,e,!1)}function Qt(e,t=0){return Ut(8|t,e,!0)}function er(e,t=[],r=[],o=[]){qe(o,t,r,t=>{Ut(8,()=>e(...t.map(jr)),!0)})}function tr(e,r=0){var o=Ut(16|r,e,!0);return t&&(o.dev_stack=ne),o}function rr(e,r=0){var o=Ut(16777216|r,e,!0);return t&&(o.dev_stack=ne),o}function or(e){return Ut(524320,e,!0)}function ir(e){var t=e.teardown;if(null!==t){const e=mr,r=br;vr(!0),yr(null);try{t.call(null)}finally{vr(e),yr(r)}}}function nr(e,t=!1){var r=e.first;for(e.first=e.last=null;null!==r;){const e=r.ac;null!==e&&Wt(()=>{e.abort(I)});var o=r.next;64&r.f?r.parent=null:sr(r,t),r=o}}function sr(e,r=!0){var o=!1;(r||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(ar(e.nodes.start,e.nodes.end),o=!0),nr(e,r&&!o),Nr(e,0),Ce(e,16384);var i=e.nodes&&e.nodes.t;if(null!==i)for(const t of i)t.stop();ir(e);var n=e.parent;null!==n&&null!==n.first&&lr(e),t&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function ar(e,t){for(;null!==e;){var r=e===t?null:/* @__PURE__ */It(e);e.remove(),e=r}}function lr(e){var t=e.parent,r=e.prev,o=e.next;null!==r&&(r.next=o),null!==o&&(o.prev=r),null!==t&&(t.first===e&&(t.first=o),t.last===e&&(t.last=r))}function cr(e,t,r=!0){var o=[];dr(e,o,!0);var i=()=>{r&&sr(e),t&&t()},n=o.length;if(n>0){var s=()=>--n||i();for(var a of o)a.out(s)}else i()}function dr(e,t,r){if(!(8192&e.f)){e.f^=x;var o=e.nodes&&e.nodes.t;if(null!==o)for(const e of o)(e.is_global||r)&&t.push(e);for(var i=e.first;null!==i;){var n=i.next;dr(i,t,!!(65536&i.f||32&i.f&&16&e.f)&&r),i=n}}}function ur(e){hr(e,!0)}function hr(e,t){if(8192&e.f){e.f^=x,1024&e.f||(Ce(e,w),Ve(e));for(var r=e.first;null!==r;){var o=r.next;hr(r,!!(65536&r.f||32&r.f)&&t),r=o}var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||t)&&e.in()}}function pr(e,t){if(e.nodes)for(var r=e.nodes.start,o=e.nodes.end;null!==r;){var i=r===o?null:/* @__PURE__ */It(r);t.append(r),r=i}}var gr=null,fr=!1,mr=!1;function vr(e){mr=e}var br=null,wr=!1;function yr(e){br=e}var xr=null;function kr(e){xr=e}var Cr=null;function Lr(e){null!==br&&(!Q||2&br.f)&&(null===Cr?Cr=[e]:Cr.push(e))}var Sr=null,Mr=0,$r=null,Tr=1,_r=0,Er=_r;function Ir(e){Er=e}function Or(){return++Tr}function Ar(e){var t=e.f;if(2048&t)return!0;if(2&t&&(e.f&=-65537),4096&t){for(var r=e.deps,o=r.length,i=0;i<o;i++){var n=r[i];if(Ar(n)&&it(n),n.wv>e.wv)return!0}512&t&&null===Ee&&Ce(e,b)}return!1}function zr(e,t,r=!0){var o=e.reactions;if(null!==o&&(Q||null===Cr||!i.call(Cr,e)))for(var n=0;n<o.length;n++){var s=o[n];2&s.f?zr(s,t,!1):t===s&&(r?Ce(s,w):1024&s.f&&Ce(s,y),Ve(s))}}function Pr(e){var t=Sr,r=Mr,o=$r,i=br,n=Cr,s=oe,a=wr,l=Er,c=e.f;Sr=null,Mr=0,$r=null,br=96&c?null:e,Cr=null,ie(e.ctx),wr=!1,Er=++_r,null!==e.ac&&(Wt(()=>{e.ac.abort(I)}),e.ac=null);try{e.f|=S;var d=(0,e.fn)();e.f|=k;var u=e.deps,h=Te?.is_fork;if(null!==Sr){var p;if(h||Nr(e,Mr),null!==u&&Mr>0)for(u.length=Mr+Sr.length,p=0;p<Sr.length;p++)u[Mr+p]=Sr[p];else e.deps=u=Sr;if(Zt()&&512&e.f)for(p=Mr;p<u.length;p++)(u[p].reactions??=[]).push(e)}else!h&&null!==u&&Mr<u.length&&(Nr(e,Mr),u.length=Mr);if(!(null===$r||wr||null===u||6146&e.f))for(p=0;p<$r.length;p++)zr($r[p],e);if(null!==i&&i!==e){if(_r++,null!==i.deps)for(let e=0;e<r;e+=1)i.deps[e].rv=_r;if(null!==t)for(const e of t)e.rv=_r;null!==$r&&(null===o?o=$r:o.push(...$r))}return 8388608&e.f&&(e.f^=M),d}catch(g){return we(g)}finally{e.f^=S,Sr=t,Mr=r,$r=o,br=i,Cr=n,ie(s),wr=a,Er=l}}function Fr(e,t){let r=t.reactions;if(null!==r){var n=o.call(r,e);if(-1!==n){var s=r.length-1;0===s?r=t.reactions=null:(r[n]=r[s],r.pop())}}if(null===r&&2&t.f&&(null===Sr||!i.call(Sr,t))){var a=t;512&a.f&&(a.f^=512,a.f&=-65537),Le(a),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(I),t.teardown=g,t.ac=null,Nr(t,0),nr(t))}(a),Nr(a,0)}}function Nr(e,t){var r=e.deps;if(null!==r)for(var o=t;o<r.length;o++)Fr(e,r[o])}function Hr(e){var r=e.f;if(!(16384&r)){Ce(e,b);var o=xr,i=fr;if(xr=e,fr=!0,t){var n=ae;le(e.component_function);var s=ne;se(e.dev_stack??ne)}try{16777232&r?function(e){for(var t=e.first;null!==t;){var r=t.next;32&t.f||sr(t),t=r}}(e):nr(e),ir(e);var a=Pr(e);e.teardown="function"==typeof a?a:null,e.wv=Tr}finally{fr=i,xr=o,t&&(le(n),se(s))}}}async function Dr(){if(Q)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Fe()}function jr(e){var r=!!(2&e.f);if(gr?.add(e),null!==br&&!wr&&!(null!==xr&&16384&xr.f||null!==Cr&&i.call(Cr,e))){var o=br.deps;if(2097152&br.f)e.rv<_r&&(e.rv=_r,null===Sr&&null!==o&&o[Mr]===e?Mr++:null===Sr?Sr=[e]:Sr.push(e));else{(br.deps??=[]).push(e);var n=e.reactions;null===n?e.reactions=[br]:i.call(n,br)||n.push(br)}}if(t&&Xe.delete(e),mr&&at.has(e))return at.get(e);if(r){var s=e;if(mr){var a=s.v;return(1024&s.f||null===s.reactions)&&!Wr(s)||(a=ot(s)),at.set(s,a),a}var l=!(512&s.f)&&!wr&&null!==br&&(fr||!!(512&br.f)),c=0===(s.f&k);Ar(s)&&(l&&(s.f|=512),it(s)),l&&!c&&(nt(s),Rr(s))}if(Ee?.has(e))return Ee.get(e);if(8388608&e.f)throw e.v;return e.v}function Rr(e){if(e.f|=512,null!==e.deps)for(const t of e.deps)(t.reactions??=[]).push(e),2&t.f&&!(512&t.f)&&(nt(t),Rr(t))}function Wr(e){if(e.v===H)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(at.has(t))return!0;if(2&t.f&&Wr(t))return!0}return!1}function Vr(e){var t=wr;try{return wr=!0,e()}finally{wr=t}}function Br(){return Symbol("@attach")}var Ur=/\r/g;function Zr(e){return e.endsWith("capture")&&"gotpointercapture"!==e&&"lostpointercapture"!==e}var qr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Kr(e){return qr.includes(e)}var Gr={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 Xr(e){return e=e.toLowerCase(),Gr[e]??e}var Yr=["touchstart","touchmove"];function Jr(e){return Yr.includes(e)}var Qr=["textarea","script","style","title"],eo=Symbol("events"),to=/* @__PURE__ */new Set,ro=/* @__PURE__ */new Set;function oo(e,t,r,o={}){function i(e){if(o.capture||lo.call(t,e),!e.cancelBubble)return Wt(()=>r?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?me(()=>{t.addEventListener(e,i,o)}):t.addEventListener(e,i,o),i}function io(e,t,r,o={}){var i=oo(t,e,r,o);return()=>{e.removeEventListener(t,i,o)}}function no(e,t,r,o,i){var n={capture:o,passive:i},s=oo(e,t,r,n);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&qt(()=>{t.removeEventListener(e,s,n)})}function so(e,t,r){(t[eo]??={})[e]=r}function ao(e){for(var t=0;t<e.length;t++)to.add(e[t]);for(var r of ro)r(e)}function lo(e){var t=this,r=t.ownerDocument,o=e.type,i=e.composedPath?.()||[],n=i[0]||e.target,a=0,l=e==e&&e[eo];if(l){var c=i.indexOf(l);if(-1!==c&&(t===document||t===window))return void(e[eo]=t);var d=i.indexOf(t);if(-1===d)return;c<=d&&(a=c)}if((n=i[a]||e.target)!==t){s(e,"currentTarget",{configurable:!0,get:()=>n||r});var u=br,h=xr;yr(null),kr(null);try{for(var p,g=[];null!==n;){var f=n.assignedSlot||n.parentNode||n.host||null;try{var m=n[eo]?.[o];null==m||n.disabled&&e.target!==n||m.call(n,e)}catch(v){p?g.push(v):p=v}if(e.cancelBubble||f===t||null===f)break;n=f}if(p){for(let e of g)queueMicrotask(()=>{throw e});throw p}}finally{e[eo]=t,delete e.currentTarget,yr(u),kr(h)}}}var co=globalThis?.window?.trustedTypes&&/* @__PURE__ */globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function uo(e){var t=Nt("template");return t.innerHTML=function(e){return co?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function ho(e,t){var r=xr;null===r.nodes&&(r.nodes={start:e,end:t,a:null,t:null})}function po(e,t){var r,o=!!(1&t),i=!!(2&t),n=!e.startsWith("<!>");return()=>{if(V)return ho(W,null),W;void 0===r&&(r=uo(n?e:"<!>"+e),o||(r=/* @__PURE__ */Et(r)));var t=i||Lt?document.importNode(r,!0):r.cloneNode(!0);return o?ho(/* @__PURE__ */Et(t),t.lastChild):ho(t,t),t}}function go(e,t,r="svg"){var o,i=!e.startsWith("<!>"),n=!!(1&t),s=`<${r}>${i?e:"<!>"+e}</${r}>`;return()=>{if(V)return ho(W,null),W;if(!o){var e=/* @__PURE__ */Et(uo(s));if(n)for(o=document.createDocumentFragment();/* @__PURE__ */Et(e);)o.appendChild(/* @__PURE__ */Et(e));else o=/* @__PURE__ */Et(e)}var t=o.cloneNode(!0);return n?ho(/* @__PURE__ */Et(t),t.lastChild):ho(t,t),t}}function fo(e,t){/* @__PURE__ */
|
|
2
|
-
return go(e,t,"svg")}function mo(e=""){if(!V){var t=_t(e+"");return ho(t,t),t}var r=W;return 3!==r.nodeType?(r.before(r=_t()),U(r)):Ht(r),ho(r,r),r}function vo(){if(V)return ho(W,null),W;var e=document.createDocumentFragment(),t=document.createComment(""),r=_t();return e.append(t,r),ho(t,r),e}function bo(e,t){if(V){var r=xr;return 32768&r.f&&null!==r.nodes.end||(r.nodes.end=W),void Z()}null!==e&&e.before(t)}function wo(){if(V&&W&&8===W.nodeType&&W.textContent?.startsWith("$")){const e=W.textContent.substring(1);return Z(),e}return(window.__svelte??={}).uid??=1,"c"+window.__svelte.uid++}var yo=!0;function xo(e){yo=e}function ko(e,t){var r=null==t?"":"object"==typeof t?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function Co(e,t){return So(e,t)}var Lo=/* @__PURE__ */new Map;function So(e,{target:t,anchor:r,props:o={},events:i,context:s,intro:a=!0,transformError:l}){Tt();var c=void 0,d=function(){Pe.ensure();const d=Ut(524352,()=>{var d=r??t.appendChild(_t());u=d,h=t=>{if(ue({}),s&&(oe.c=s),i&&(o.$$events=i),V&&ho(t,null),yo=a,c=e(t,o)||{},yo=!0,V&&(xr.nodes.end=W,null===W||8!==W.nodeType||"]"!==W.data))throw N;he()},p=l,new Ze(u,{pending:()=>{}},h,p);var u,h,p;var g=/* @__PURE__ */new Set,f=e=>{for(var r=0;r<e.length;r++){var o=e[r];if(!g.has(o)){g.add(o);var i=Jr(o);for(const e of[t,document]){var n=Lo.get(e);void 0===n&&(n=/* @__PURE__ */new Map,Lo.set(e,n));var s=n.get(o);void 0===s?(e.addEventListener(o,lo,{passive:i}),n.set(o,1)):n.set(o,s+1)}}}};return f(n(to)),ro.add(f),()=>{for(var e of g)for(const r of[t,document]){var o=Lo.get(r),i=o.get(e);0==--i?(r.removeEventListener(e,lo),o.delete(e),0===o.size&&Lo.delete(r)):o.set(e,i)}ro.delete(f),d!==r&&d.parentNode?.removeChild(d)}},!0);return(e={})=>new Promise(t=>{e.outro?cr(d,()=>{sr(d),t(void 0)}):(sr(d),t(void 0))})}();return Mo.set(c,d),c}var Mo=/* @__PURE__ */new WeakMap;function $o(e,t){const r=Mo.get(e);return r?(Mo.delete(e),r(t)):Promise.resolve()}var To=class{anchor;#z=/* @__PURE__ */new Map;#P=/* @__PURE__ */new Map;#F=/* @__PURE__ */new Map;#N=/* @__PURE__ */new Set;#H=!0;constructor(e,t=!0){this.anchor=e,this.#H=t}#h=()=>{var e=Te;if(this.#z.has(e)){var t=this.#z.get(e),r=this.#P.get(t);if(r)ur(r),this.#N.delete(t);else{var o=this.#F.get(t);o&&(this.#P.set(t,o.effect),this.#F.delete(t),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[t,r]of this.#z){if(this.#z.delete(t),t===e)break;const o=this.#F.get(r);o&&(sr(o.effect),this.#F.delete(r))}for(const[e,o]of this.#P){if(e===t||this.#N.has(e))continue;const i=()=>{if(Array.from(this.#z.values()).includes(e)){var t=document.createDocumentFragment();pr(o,t),t.append(_t()),this.#F.set(e,{effect:o,fragment:t})}else sr(o);this.#N.delete(e),this.#P.delete(e)};this.#H||!r?(this.#N.add(e),cr(o,i,!1)):i()}}};#D=e=>{this.#z.delete(e);const t=Array.from(this.#z.values());for(const[r,o]of this.#F)t.includes(r)||(sr(o.effect),this.#F.delete(r))};ensure(e,t){var r=Te,o=Ft();if(t&&!this.#P.has(e)&&!this.#F.has(e))if(o){var i=document.createDocumentFragment(),n=_t();i.append(n),this.#F.set(e,{effect:or(()=>t(n)),fragment:i})}else this.#P.set(e,or(()=>t(this.anchor)));if(this.#z.set(r,e),o){for(const[t,o]of this.#P)t===e?r.unskip_effect(o):r.skip_effect(o);for(const[t,o]of this.#F)t===e?r.unskip_effect(o.effect):r.skip_effect(o.effect);r.oncommit(this.#h),r.ondiscard(this.#D)}else V&&(this.anchor=W),this.#h()}};function _o(e,t,r=!1){var o;V&&(o=W,Z());var i=new To(e);function n(e,t){if(V){var r=X(o);if(e!==("["===r?0:"[!"!==r&&parseInt(r.substring(1)))){var n=G();return U(n),i.anchor=n,B(!1),i.ensure(e,t),void B(!0)}}i.ensure(e,t)}tr(()=>{var e=!1;t((t,r=0)=>{e=!0,n(r,t)}),e||n(!1,null)},r?C:0)}var Eo,Io=Symbol("NaN");function Oo(e,t,r){V&&Z();var o=new To(e);tr(()=>{var e=t();e!=e&&(e=Io),o.ensure(e,r)})}function Ao(e,t){return t}function zo(e,t=!0){for(var r=0;r<e.length;r++)sr(e[r],t)}function Po(e,o,i,s,a,l=null){var c=e,d=/* @__PURE__ */new Map;if(4&o){var u=e;c=V?U(/* @__PURE__ */Et(u)):u.appendChild(_t())}V&&Z();var h,p=null,g=/* @__PURE__ */et(()=>{var e=i();return r(e)?e:null==e?[]:n(e)}),f=!0;function m(){v.fallback=p,function(e,t,r,o,i){var s,a,l,c,d,u=!!(8&o),h=t.length,p=e.items,g=Fo(e.effect.first),f=null,m=[],v=[];if(u)for(d=0;d<h;d+=1)l=i(t[d],d),33554432&(c=p.get(l).e).f||(c.nodes?.a?.measure(),(a??=/* @__PURE__ */new Set).add(c));for(d=0;d<h;d+=1){if(l=i(t[d],d),c=p.get(l).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(c),t.done.delete(c);if(33554432&c.f){if(c.f^=L,c!==g){var b=f?f.next:g;c===e.effect.last&&(e.effect.last=c.prev),c.prev&&(c.prev.next=c.next),c.next&&(c.next.prev=c.prev),Do(e,f,c),Do(e,c,b),Ho(c,b,r),m=[],v=[],g=Fo((f=c).next);continue}Ho(c,null,r)}if(8192&c.f&&(ur(c),u&&(c.nodes?.a?.unfix(),(a??=/* @__PURE__ */new Set).delete(c))),c!==g){if(void 0!==s&&s.has(c)){if(m.length<v.length){var w,y=v[0];f=y.prev;var x=m[0],k=m[m.length-1];for(w=0;w<m.length;w+=1)Ho(m[w],y,r);for(w=0;w<v.length;w+=1)s.delete(v[w]);Do(e,x.prev,k.next),Do(e,f,x),Do(e,k,y),g=y,f=k,d-=1,m=[],v=[]}else s.delete(c),Ho(c,g,r),Do(e,c.prev,c.next),Do(e,c,null===f?e.effect.first:f.next),Do(e,f,c),f=c;continue}for(m=[],v=[];null!==g&&g!==c;)(s??=/* @__PURE__ */new Set).add(g),v.push(g),g=Fo(g.next);if(null===g)continue}33554432&c.f||m.push(c),f=c,g=Fo(c.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(zo(n(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==g||void 0!==s){var C=[];if(void 0!==s)for(c of s)8192&c.f||C.push(c);for(;null!==g;)8192&g.f||g===e.fallback||C.push(g),g=Fo(g.next);var S=C.length;if(S>0){var M=4&o&&0===h?r:null;if(u){for(d=0;d<S;d+=1)C[d].nodes?.a?.measure();for(d=0;d<S;d+=1)C[d].nodes?.a?.fix()}!function(e,t,r){for(var o,i=t.length,s=t.length,a=0;a<i;a++){let r=t[a];cr(r,()=>{if(o){if(o.pending.delete(r),o.done.add(r),0===o.pending.size){var t=e.outrogroups;zo(n(o.done)),t.delete(o),0===t.size&&(e.outrogroups=null)}}else s-=1},!1)}if(0===s){var l=null!==r;if(l){var c=r,d=c.parentNode;Pt(d),d.append(c),e.items.clear()}zo(t,!l)}else o={pending:new Set(t),done:/* @__PURE__ */new Set},(e.outrogroups??=/* @__PURE__ */new Set).add(o)}(e,C,M)}}u&&me(()=>{if(void 0!==a)for(c of a)c.nodes?.a?.apply()})}(v,h,c,o,s),null!==p&&(0===h.length?33554432&p.f?(p.f^=L,Ho(p,null,c)):ur(p):cr(p,()=>{p=null}))}var v={effect:tr(()=>{var e=(h=jr(g)).length;let r=!1;V&&"[!"===X(c)!=(0===e)&&(U(c=G()),B(!1),r=!0);for(var n=/* @__PURE__ */new Set,u=Te,v=Ft(),b=0;b<e;b+=1){V&&8===W.nodeType&&"]"===W.data&&(c=W,r=!0,B(!1));var w=h[b],y=s(w,b);if(t){var x=s(w,b);y!==x&&F(String(b),String(y),String(x))}var k=f?null:d.get(y);k?(k.v&>(k.v,w),k.i&>(k.i,b),v&&u.unskip_effect(k.e)):(k=No(d,f?c:Eo??=_t(),w,y,b,a,o,i),f||(k.e.f|=L),d.set(y,k)),n.add(y)}if(0===e&&l&&!p&&(f?p=or(()=>l(c)):(p=or(()=>l(Eo??=_t()))).f|=L),e>n.size&&(t?function(e,t){const r=/* @__PURE__ */new Map,o=e.length;for(let i=0;i<o;i++){const o=t(e[i],i);if(r.has(o)){const e=String(r.get(o)),t=String(i);let n=String(o);n.startsWith("[object ")&&(n=null),P(e,t,n)}r.set(o,i)}}(h,s):P("","","")),V&&e>0&&U(G()),!f)if(v){for(const[e,t]of d)n.has(e)||u.skip_effect(t.e);u.oncommit(m),u.ondiscard(()=>{})}else m();r&&B(!0),jr(g)}),flags:o,items:d,outrogroups:null,fallback:p};f=!1,V&&(c=W)}function Fo(e){for(;null!==e&&!(32&e.f);)e=e.next;return e}function No(e,r,o,i,n,s,a,l){var c=1&a?16&a?dt(o):/* @__PURE__ */ht(o,!1,!1):null,d=2&a?dt(n):null;return t&&c&&(c.trace=()=>{l()[d?.v??n]}),{v:c,i:d,e:or(()=>(s(r,c??o,d??n,l),()=>{e.delete(i)}))}}function Ho(e,t,r){if(e.nodes)for(var o=e.nodes.start,i=e.nodes.end,n=!t||33554432&t.f?r:t.nodes.start;null!==o;){var s=/* @__PURE__ */It(o);if(n.before(o),o===i)return;o=s}}function Do(e,t,r){null===t?e.effect.first=r:t.next=r,null===r?e.effect.last=t:r.prev=t}function jo(e,r,o=!1,i=!1,n=!1){var s=e,a="";er(()=>{var e=xr;if(a!==(a=r()??"")){if(null!==e.nodes&&(ar(e.nodes.start,e.nodes.end),e.nodes=null),""!==a){if(V){for(var l=W.data,c=Z(),d=c;null!==c&&(8!==c.nodeType||""!==c.data);)d=c,c=/* @__PURE__ */It(c);if(null===c)throw N;return t&&!n&&function(e,t,r){if(!t||t===function(e){let t=5381,r=(e=e.replace(Ur,"")).length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}(String(r??"")))return;let o;const i=e.__svelte_meta?.loc;i?o=`near ${i.file}:${i.line}:${i.column}`:ae?.[D]&&(o=`in ${ae[D]}`),function(e){e?.replace(/\//g,"/")}(o)}(c.parentNode,l,a),ho(W,d),void(s=U(c))}var u=Nt(o?"svg":i?"math":"template",o?j:i?"http://www.w3.org/1998/Math/MathML":void 0);u.innerHTML=a;var h=o||i?u:u.content;if(ho(/* @__PURE__ */Et(h),h.lastChild),o||i)for(;/* @__PURE__ */Et(h);)s.before(/* @__PURE__ */Et(h));else s.before(h)}}else V&&Z()})}function Ro(e,r,...o){var i=new To(e);tr(()=>{const e=r()??null;t&&null==e&&function(){if(t){const e=/* @__PURE__ */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}throw new Error("https://svelte.dev/e/invalid_snippet")}(),i.ensure(e,e&&(t=>e(t,...o)))},C)}function Wo(e,t,r){var o;V&&(o=W,Z());var i=new To(e);tr(()=>{var e=t()??null;if(V&&"["===X(o)!=(null!==e)){var n=G();return U(n),i.anchor=n,B(!1),i.ensure(e,e&&(t=>r(t,e))),void B(!0)}i.ensure(e,e&&(t=>r(t,e)))},C)}var Vo={tick:e=>requestAnimationFrame(e),now:()=>performance.now(),tasks:/* @__PURE__ */new Set};function Bo(){const e=Vo.now();Vo.tasks.forEach(t=>{t.c(e)||(Vo.tasks.delete(t),t.f())}),0!==Vo.tasks.size&&Vo.tick(Bo)}function Uo(e){let t;return 0===Vo.tasks.size&&Vo.tick(Bo),{promise:new Promise(r=>{Vo.tasks.add(t={c:e,f:r})}),abort(){Vo.tasks.delete(t)}}}function Zo(e,t){Wt(()=>{e.dispatchEvent(new CustomEvent(t))})}function qo(e){if("float"===e)return"cssFloat";if("offset"===e)return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return 1===t.length?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function Ko(e){const t={},r=e.split(";");for(const o of r){const[e,r]=o.split(":");if(!e||void 0===r)break;t[qo(e.trim())]=r.trim()}return t}var Go=e=>e,Xo=null;function Yo(e){Xo=e}function Jo(e,t,r){var o,i,n,s=(Xo??xr).nodes,a=null;s.a??={element:e,measure(){o=this.element.getBoundingClientRect()},apply(){if(n?.abort(),i=this.element.getBoundingClientRect(),o.left!==i.left||o.right!==i.right||o.top!==i.top||o.bottom!==i.bottom){const e=t()(this.element,{from:o,to:i},r?.());n=ei(this.element,e,void 0,1,()=>{n?.abort(),n=void 0})}},fix(){if(!e.getAnimations().length){var{position:t,width:r,height:i}=getComputedStyle(e);if("absolute"!==t&&"fixed"!==t){var n=e.style;a={position:n.position,width:n.width,height:n.height,transform:n.transform},n.position="absolute",n.width=r,n.height=i;var s=e.getBoundingClientRect();if(o.left!==s.left||o.top!==s.top){var l=`translate(${o.left-s.left}px, ${o.top-s.top}px)`;n.transform=n.transform?`${n.transform} ${l}`:l}}}},unfix(){if(a){var t=e.style;t.position=a.position,t.width=a.width,t.height=a.height,t.transform=a.transform}}},s.a.element=e}function Qo(e,t,r,o){var i,n,s,a=!!(1&e),l=!!(2&e),c=!!(4&e),d=a&&l?"both":a?"in":"out",u=t.inert,h=t.style.overflow;function p(){return Wt(()=>i??=r()(t,o?.()??{},{direction:d}))}var g={is_global:c,in(){if(t.inert=u,!a)return s?.abort(),void s?.reset?.();l||n?.abort(),n=ei(t,p(),s,1,()=>{Zo(t,"introend"),n?.abort(),n=i=void 0,t.style.overflow=h})},out(e){if(!l)return e?.(),void(i=void 0);t.inert=!0,s=ei(t,p(),n,0,()=>{Zo(t,"outroend"),e?.()})},stop:()=>{n?.abort(),s?.abort()}},f=xr;if((f.nodes.t??=[]).push(g),a&&yo){var m=c;if(!m){for(var v=f.parent;v&&65536&v.f;)for(;(v=v.parent)&&!(16&v.f););m=!v||!!(32768&v.f)}m&&Jt(()=>{Vr(()=>g.in())})}}function ei(e,t,r,o,i){var n=1===o;if(p(t)){var s,a=!1;return me(()=>{a||(s=ei(e,t({direction:n?"in":"out"}),r,o,i))}),{abort:()=>{a=!0,s?.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(r?.deactivate(),!t?.duration&&!t?.delay)return Zo(e,n?"introstart":"outrostart"),i(),{abort:g,deactivate:g,reset:g,t:()=>o};const{delay:l=0,css:c,tick:d,easing:u=Go}=t;var h=[];if(n&&void 0===r&&(d&&d(0,1),c)){var f=Ko(c(0,1));h.push(f,f)}var m=()=>1-o,v=e.animate(h,{duration:l,fill:"forwards"});return v.onfinish=()=>{v.cancel(),Zo(e,n?"introstart":"outrostart");var s=r?.t()??1-o;r?.abort();var a=o-s,l=t.duration*Math.abs(a),h=[];if(l>0){var p=!1;if(c)for(var g=Math.ceil(l/(1e3/60)),f=0;f<=g;f+=1){var b=s+a*u(f/g),w=Ko(c(b,1-b));h.push(w),p||="hidden"===w.overflow}p&&(e.style.overflow="hidden"),m=()=>{var e=v.currentTime;return s+a*u(e/l)},d&&Uo(()=>{if("running"!==v.playState)return!1;var e=m();return d(e,1-e),!0})}(v=e.animate(h,{duration:l,fill:"forwards"})).onfinish=()=>{m=()=>o,d?.(o,1-o),i()}},{abort:()=>{v&&(v.cancel(),v.effect=null,v.onfinish=g)},deactivate:()=>{i=g},reset:()=>{0===o&&d?.(1,0)},t:()=>m()}}function ti(e,r,o,i,n,s){let a=V;V&&Z();var l=t&&s&&oe?.function[D],c=null;V&&1===W.nodeType&&(c=W,Z());var d=V?W:e,u=xr,h=new To(d,!1);tr(()=>{const e=r()||null;var a=n?n():o||"svg"===e?j:void 0;return null===e?(h.ensure(null,null),void xo(!0)):(h.ensure(e,r=>{if(e){if(c=V?c:Nt(e,a),t&&s&&(c.__svelte_meta={parent:ne,loc:{file:l,line:s[0],column:s[1]}}),ho(c,c),i){V&&(n=e,Qr.includes(n))&&c.append(document.createComment(""));var o=V?/* @__PURE__ */Et(c):c.appendChild(_t());V&&(null===o?B(!1):U(o)),Yo(u),i(c,o),Yo(null)}xr.nodes.end=c,r.before(c)}var n;V&&U(r)}),xo(!0),()=>{e&&xo(!1)})},C),qt(()=>{xo(!0)}),a&&(B(!0),U(d))}function ri(e,t){var r,o=void 0;rr(()=>{o!==(o=t())&&(r&&(sr(r),r=null),o&&(r=or(()=>{Jt(()=>o(e))})))})}function oi(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=oi(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ii(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=oi(e))&&(o&&(o+=" "),o+=t);return o}function ni(e){return"object"==typeof e?ii(e):e??""}var si=[..." \t\n\r\f \v\ufeff"];function ai(e,t=!1){var r=t?" !important;":";",o="";for(var i of Object.keys(e)){var n=e[i];null!=n&&""!==n&&(o+=" "+i+": "+n+r)}return o}function li(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function ci(e,t,r,o,i,n){var s=e.__className;if(V||s!==r||void 0===s){var a=function(e,t,r){var o=null==e?"":""+e;if(t&&(o=o?o+" "+t:t),r)for(var i of Object.keys(r))if(r[i])o=o?o+" "+i:i;else if(o.length)for(var n=i.length,s=0;(s=o.indexOf(i,s))>=0;){var a=s+n;0!==s&&!si.includes(o[s-1])||a!==o.length&&!si.includes(o[a])?s=a:o=(0===s?"":o.substring(0,s))+o.substring(a+1)}return""===o?null:o}(r,o,n);V&&a===e.getAttribute("class")||(null==a?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e.__className=r}else if(n&&i!==n)for(var l in n){var c=!!n[l];null!=i&&c===!!i[l]||e.classList.toggle(l,c)}return n}function di(e,t={},r,o){for(var i in r){var n=r[i];t[i]!==n&&(null==r[i]?e.style.removeProperty(i):e.style.setProperty(i,n,o))}}function ui(e,t,r,o){var i=e.__style;if(V||i!==t){var n=function(e,t){if(t){var r,o,i="";if(Array.isArray(t)?(r=t[0],o=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var n=!1,s=0,a=!1,l=[];r&&l.push(...Object.keys(r).map(li)),o&&l.push(...Object.keys(o).map(li));var c=0,d=-1;const t=e.length;for(var u=0;u<t;u++){var h=e[u];if(a?"/"===h&&"*"===e[u-1]&&(a=!1):n?n===h&&(n=!1):"/"===h&&"*"===e[u+1]?a=!0:'"'===h||"'"===h?n=h:"("===h?s++:")"===h&&s--,!a&&!1===n&&0===s)if(":"===h&&-1===d)d=u;else if(";"===h||u===t-1){if(-1!==d){var p=li(e.substring(c,d).trim());l.includes(p)||(";"!==h&&u++,i+=" "+e.substring(c,u).trim()+";")}c=u+1,d=-1}}}return r&&(i+=ai(r)),o&&(i+=ai(o,!0)),""===(i=i.trim())?null:i}return null==e?null:String(e)}(t,o);V&&n===e.getAttribute("style")||(null==n?e.removeAttribute("style"):e.style.cssText=n),e.__style=t}else o&&(Array.isArray(o)?(di(e,r?.[0],o[0]),di(e,r?.[1],o[1],"important")):di(e,r,o));return o}function hi(e,t,o=!1){if(e.multiple){if(null==t)return;if(!r(t))return;for(var i of e.options)i.selected=t.includes(pi(i))}else{for(i of e.options)if(kt(pi(i),t))return void(i.selected=!0);o&&void 0===t||(e.selectedIndex=-1)}}function pi(e){return"__value"in e?e.__value:e.value}var gi=Symbol("class"),fi=Symbol("style"),mi=Symbol("is custom element"),vi=Symbol("is html"),bi=O?"link":"LINK",wi=O?"input":"INPUT",yi=O?"option":"OPTION",xi=O?"select":"SELECT";function ki(e){if(V){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;Li(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var o=e.checked;Li(e,"checked",null),e.checked=o}}};e.__on_r=r,me(r),Rt()}}function Ci(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Li(e,r,o,i){var n=Mi(e);V&&(n[r]=e.getAttribute(r),"src"===r||"srcset"===r||"href"===r&&e.nodeName===bi)?i||function(e,r,o){t&&("srcset"===r&&function(e,t){var r=Ei(e.srcset),o=Ei(t);return o.length===r.length&&o.every(([e,t],o)=>t===r[o][1]&&(_i(r[o][0],e)||_i(e,r[o][0])))}(e,o)||_i(e.getAttribute(r)??"",o)||(e.outerHTML.replace(e.innerHTML,e.innerHTML&&"..."),String(o)))}(e,r,o??""):n[r]!==(n[r]=o)&&("loading"===r&&(e[_]=o),null==o?e.removeAttribute(r):"string"!=typeof o&&Ti(e).includes(r)?e[r]=o:e.setAttribute(r,o))}function Si(e,t,r=[],o=[],i=[],n,s=!1,a=!1){qe(i,r,o,r=>{var o=void 0,i={},l=e.nodeName===xi,c=!1;if(rr(()=>{var d=t(...r.map(jr)),u=function(e,t,r,o,i=!1,n=!1){if(V&&i&&e.nodeName===wi){var s=e;("checkbox"===s.type?"defaultChecked":"defaultValue")in r||ki(s)}var a=Mi(e),l=a[mi],c=!a[vi];let d=V&&l;d&&B(!1);var u=t||{},h=e.nodeName===yi;for(var p in t)p in r||(r[p]=null);r.class?r.class=ni(r.class):(o||r[gi])&&(r.class=null),r[fi]&&(r.style??=null);var g=Ti(e);for(const y in r){let x=r[y];if(h&&"value"===y&&null==x)e.value=e.__value="",u[y]=x;else if("class"!==y)if("style"!==y){var f=u[y];if(x!==f||void 0===x&&e.hasAttribute(y)){u[y]=x;var m=y[0]+y[1];if("$$"!==m)if("on"===m){const k={},C="$$"+y;let L=y.slice(2);var v=Kr(L);if(Zr(L)&&(L=L.slice(0,-7),k.capture=!0),!v&&f){if(null!=x)continue;e.removeEventListener(L,u[C],k),u[C]=null}if(v)so(L,e,x),ao([L]);else if(null!=x){function S(e){u[y].call(this,e)}u[C]=oo(L,e,S,k)}}else if("style"===y)Li(e,y,x);else if("autofocus"===y)Dt(e,Boolean(x));else if(l||"__value"!==y&&("value"!==y||null==x))if("selected"===y&&h)Ci(e,x);else{var b=y;c||(b=Xr(b));var w="defaultValue"===b||"defaultChecked"===b;if(null!=x||l||w)w||g.includes(b)&&(l||"string"!=typeof x)?(e[b]=x,b in a&&(a[b]=H)):"function"!=typeof x&&Li(e,b,x,n);else if(a[y]=null,"value"===b||"checked"===b){let M=e;const $=void 0===t;if("value"===b){let T=M.defaultValue;M.removeAttribute(b),M.defaultValue=T,M.value=M.__value=$?T:null}else{let _=M.defaultChecked;M.removeAttribute(b),M.defaultChecked=_,M.checked=!!$&&_}}else e.removeAttribute(y)}else e.value=e.__value=x}}else ui(e,x,t?.[fi],r[fi]),u[y]=x,u[fi]=r[fi];else ci(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,x,o,t?.[gi],r[gi]),u[y]=x,u[gi]=r[gi]}return d&&B(!0),u}(e,o,d,n,s,a);c&&l&&"value"in d&&hi(e,d.value);for(let e of Object.getOwnPropertySymbols(i))d[e]||sr(i[e]);for(let t of Object.getOwnPropertySymbols(d)){var h=d[t];"@attach"!==t.description||o&&h===o[t]||(i[t]&&sr(i[t]),i[t]=or(()=>ri(e,()=>h))),u[t]=h}o=u}),l){var d=e;Jt(()=>{hi(d,o.value,!0),function(e){var t=new MutationObserver(()=>{hi(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),qt(()=>{t.disconnect()})}(d)})}c=!0})}function Mi(e){return e.__attributes??={[mi]:e.nodeName.includes("-"),[vi]:"http://www.w3.org/1999/xhtml"===e.namespaceURI}}var $i=/* @__PURE__ */new Map;function Ti(e){var t,r=e.getAttribute("is")||e.nodeName,o=$i.get(r);if(o)return o;$i.set(r,o=[]);for(var i=e,n=Element.prototype;n!==i;){for(var s in t=l(i))t[s].set&&o.push(s);i=u(i)}return o}function _i(e,t){return e===t||new URL(e,document.baseURI).href===new URL(t,document.baseURI).href}function Ei(e){return e.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function Ii(e,r,o=r){var i=/* @__PURE__ */new WeakSet;Vt(e,"input",async n=>{t&&"checkbox"===e.type&&z();var s=n?e.defaultValue:e.value;if(s=Ai(e)?zi(s):s,o(s),null!==Te&&i.add(Te),await Dr(),s!==(s=r())){var a=e.selectionStart,l=e.selectionEnd,c=e.value.length;if(e.value=s??"",null!==l){var d=e.value.length;a===l&&l===c&&d>c?(e.selectionStart=d,e.selectionEnd=d):(e.selectionStart=a,e.selectionEnd=Math.min(l,d))}}}),(V&&e.defaultValue!==e.value||null==Vr(r)&&e.value)&&(o(Ai(e)?zi(e.value):e.value),null!==Te&&i.add(Te)),Qt(()=>{t&&"checkbox"===e.type&&z();var o=r();if(e===document.activeElement){var n=_e??Te;if(i.has(n))return}Ai(e)&&o===zi(e.value)||("date"!==e.type||o||e.value)&&o!==e.value&&(e.value=o??"")})}function Oi(e,t,r=t){Vt(e,"change",t=>{r(t?e.defaultChecked:e.checked)}),(V&&e.defaultChecked!==e.checked||null==Vr(t))&&r(e.checked),Qt(()=>{var r=t();e.checked=Boolean(r)})}function Ai(e){var t=e.type;return"number"===t||"range"===t}function zi(e){return""===e?null:+e}var Pi=class e{#j=/* @__PURE__ */new WeakMap;#R;#W;static entries=/* @__PURE__ */new WeakMap;constructor(e){this.#W=e}observe(e,t){var r=this.#j.get(e)||/* @__PURE__ */new Set;return r.add(t),this.#j.set(e,r),this.#V().observe(e,this.#W),()=>{var r=this.#j.get(e);r.delete(t),0===r.size&&(this.#j.delete(e),this.#R.unobserve(e))}}#V(){return this.#R??(this.#R=new ResizeObserver(t=>{for(var r of t)for(var o of(e.entries.set(r.target,r),this.#j.get(r.target)||[]))o(r)}))}},Fi=/* @__PURE__ */new Pi({box:"border-box"});function Ni(e,t,r){var o=Fi.observe(e,()=>r(e[t]));Jt(()=>(Vr(()=>r(e[t])),o))}function Hi(e,t){return e===t||e?.[$]===t}function Di(e={},t,r,o){return Jt(()=>{var i,n;return Qt(()=>{i=n,n=o?.()||[],Vr(()=>{e!==r(...n)&&(t(e,...n),i&&Hi(r(...i),e)&&t(null,...i))})}),()=>{me(()=>{n&&Hi(r(...n),e)&&t(null,...n)})}}),e}var ji=!1,Ri={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set:(e,r)=>(t&&function(e){if(t){const t=/* @__PURE__ */new Error(`props_rest_readonly\nRest element properties of \`$props()\` such as \`${e}\` are readonly\nhttps://svelte.dev/e/props_rest_readonly`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_rest_readonly")}(`${e.name}.${String(r)}`),!1),getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t))return t in e.props?{enumerable:!0,configurable:!0,value:e.props[t]}:void 0},has:(e,t)=>!e.exclude.includes(t)&&t in e.props,ownKeys:e=>Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))};function Wi(e,r,o){return new Proxy(t?{props:e,exclude:r,name:o,other:{},to_proxy:[]}:{props:e,exclude:r},Ri)}var Vi={get(e,t){let r=e.props.length;for(;r--;){let o=e.props[r];if(p(o)&&(o=o()),"object"==typeof o&&null!==o&&t in o)return o[t]}},set(e,t,r){let o=e.props.length;for(;o--;){let i=e.props[o];p(i)&&(i=i());const n=a(i,t);if(n&&n.set)return n.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let o=e.props[r];if(p(o)&&(o=o()),"object"==typeof o&&null!==o&&t in o){const e=a(o,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===$||t===T)return!1;for(let r of e.props)if(p(r)&&(r=r()),null!=r&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props)if(p(r)&&(r=r()),r){for(const e in r)t.includes(e)||t.push(e);for(const e of Object.getOwnPropertySymbols(r))t.includes(e)||t.push(e)}return t}};function Bi(...e){return new Proxy({props:e},Vi)}function Ui(e,r,o,i){var n,s,l=!!(8&o),c=!!(16&o),d=i,u=!0,h=()=>(u&&(u=!1,d=c?Vr(i):i),d);if(l){var p=$ in e||T in e;n=a(e,r)?.set??(p&&r in e?t=>e[r]=t:void 0)}var g,f=!1;if(l?[s,f]=function(){var t=ji;try{return ji=!1,[e[r],ji]}finally{ji=t}}():s=e[r],void 0===s&&void 0!==i&&(s=h(),n&&(function(e){if(t){const t=/* @__PURE__ */new Error(`props_invalid_value\nCannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value\nhttps://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_invalid_value")}(r),n(s))),g=()=>{var t=e[r];return void 0===t?h():(u=!0,t)},!(4&o))return g;if(n){var m=e.$$legacy;return function(e,t){return arguments.length>0?((!t||m||f)&&n(t?g():e),e):g()}}var v=!1,b=(1&o?Ye:et)(()=>(v=!1,g()));t&&(b.label=r),l&&jr(b);var w=xr;return function(e,t){if(arguments.length>0){const r=t?jr(b):l?wt(e):e;return pt(b,r),v=!0,void 0!==d&&(d=r),e}return mr&&v||16384&w.f?b.v:jr(b)}}if("function"==typeof HTMLElement&&HTMLElement,t){function rS(e){if(!(e in globalThis)){let r;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(void 0!==r)return r;!function(e){if(t){const t=/* @__PURE__ */new Error(`rune_outside_svelte\nThe \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nhttps://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/rune_outside_svelte")}(e)},set:e=>{r=e}})}}rS("$state"),rS("$effect"),rS("$derived"),rS("$inspect"),rS("$props"),rS("$bindable")}function Zi(e){null===oe&&A("onMount"),Kt(()=>{const t=Vr(e);if("function"==typeof t)return t})}"undefined"!=typeof window&&((window.__svelte??={}).v??=/* @__PURE__ */new Set).add("5"),Q=!0;var qi=class e extends Error{constructor(t){super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,e.prototype),null!==t&&"object"==typeof t&&(this.originalError=t.originalError,this.url="string"==typeof t.url?t.url:"",this.status="number"==typeof t.status?t.status:0,this.isAbort=!!t.isAbort||"AbortError"===t.name||"Aborted"===t.message,null!==t.response&&"object"==typeof t.response?this.response=t.response:null!==t.data&&"object"==typeof t.data?this.response=t.data:this.response={}),this.originalError||t instanceof e||(this.originalError=t),this.name="ClientResponseError "+this.status,this.message=this.response?.message,this.message||(this.isAbort?this.message="The request was aborted (most likely autocancelled; you can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation).":this.originalError?.cause?.message?.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong."),this.cause=this.originalError}get data(){return this.response}toJSON(){return{...this}}},Ki=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Gi(e,t,r){const o=Object.assign({},r||{}),i=o.encode||Yi;if(!Ki.test(e))throw new TypeError("argument name is invalid");const n=i(t);if(n&&!Ki.test(n))throw new TypeError("argument val is invalid");let s=e+"="+n;if(null!=o.maxAge){const e=o.maxAge-0;if(isNaN(e)||!isFinite(e))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(e)}if(o.domain){if(!Ki.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!Ki.test(o.path))throw new TypeError("option path is invalid");s+="; Path="+o.path}if(o.expires){if(!function(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}(o.expires)||isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return s}function Xi(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Yi(e){return encodeURIComponent(e)}var Ji,Qi="undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal;function en(e){if(e)try{const t=decodeURIComponent(Ji(e.split(".")[1]).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(t)||{}}catch(e){}return{}}function tn(e,t=0){let r=en(e);return!(Object.keys(r).length>0&&(!r.exp||r.exp-t>Date.now()/1e3))}Ji="function"!=typeof atob||Qi?e=>{let t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,n=0,s="";o=t.charAt(n++);~o&&(r=i%4?64*r+o:o,i++%4)&&(s+=String.fromCharCode(255&r>>(-2*i&6))))o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s}:atob;var rn="pb_auth",on=class{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!tn(this.token)}get isSuperuser(){let e=en(this.token);return"auth"==e.type&&("_superusers"==this.record?.collectionName||!this.record?.collectionName&&"pbc_3142635823"==e.collectionId)}get isAdmin(){return this.isSuperuser}get isAuthRecord(){return"auth"==en(this.token).type&&!this.isSuperuser}save(e,t){this.baseToken=e||"",this.baseModel=t||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(e,t=rn){const r=function(e){const t={};if("string"!=typeof e)return t;const r=Object.assign({},{}).decode||Xi;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(-1===i)break;let n=e.indexOf(";",o);if(-1===n)n=e.length;else if(n<i){o=e.lastIndexOf(";",i-1)+1;continue}const s=e.slice(o,i).trim();if(void 0===t[s]){let o=e.slice(i+1,n).trim();34===o.charCodeAt(0)&&(o=o.slice(1,-1));try{t[s]=r(o)}catch(e){t[s]=o}}o=n+1}return t}(e||"")[t]||"";let o={};try{o=JSON.parse(r),("object"!=typeof o||Array.isArray(o))&&(o={})}catch(e){}this.save(o.token||"",o.record||o.model||null)}exportToCookie(e,t=rn){const r={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},o=en(this.token);r.expires=o?.exp?/* @__PURE__ */new Date(1e3*o.exp):/* @__PURE__ */new Date("1970-01-01"),e=Object.assign({},r,e);const i={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let n=Gi(t,JSON.stringify(i),e);const s="undefined"!=typeof Blob?new Blob([n]).size:n.length;if(i.record&&s>4096){i.record={id:i.record?.id,email:i.record?.email};const r=["collectionId","collectionName","verified"];for(const e in this.record)r.includes(e)&&(i.record[e]=this.record[e]);n=Gi(t,JSON.stringify(i),e)}return n}onChange(e,t=!1){return this._onChangeCallbacks.push(e),t&&e(this.token,this.record),()=>{for(let t=this._onChangeCallbacks.length-1;t>=0;t--)if(this._onChangeCallbacks[t]==e)return delete this._onChangeCallbacks[t],void this._onChangeCallbacks.splice(t,1)}}triggerChange(){for(const e of this._onChangeCallbacks)e&&e(this.token,this.record)}},nn=class extends on{constructor(e="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=e,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const e=this._storageGet(this.storageKey)||{};return e.record||e.model||null}get model(){return this.record}save(e,t){this._storageSet(this.storageKey,{token:e,record:t}),super.save(e,t)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(e){if("undefined"!=typeof window&&window?.localStorage){const t=window.localStorage.getItem(e)||"";try{return JSON.parse(t)}catch(e){return t}}return this.storageFallback[e]}_storageSet(e,t){if("undefined"!=typeof window&&window?.localStorage){let r=t;"string"!=typeof t&&(r=JSON.stringify(t)),window.localStorage.setItem(e,r)}else this.storageFallback[e]=t}_storageRemove(e){"undefined"!=typeof window&&window?.localStorage&&window.localStorage?.removeItem(e),delete this.storageFallback[e]}_bindStorageEvent(){"undefined"!=typeof window&&window?.localStorage&&window.addEventListener&&window.addEventListener("storage",e=>{if(e.key!=this.storageKey)return;const t=this._storageGet(this.storageKey)||{};super.save(t.token||"",t.record||t.model||null)})}},sn=class{constructor(e){this.client=e}},an=class extends sn{async getAll(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/settings",e)}async update(e,t){return t=Object.assign({method:"PATCH",body:e},t),this.client.send("/api/settings",t)}async testS3(e="storage",t){return t=Object.assign({method:"POST",body:{filesystem:e}},t),this.client.send("/api/settings/test/s3",t).then(()=>!0)}async testEmail(e,t,r,o){return o=Object.assign({method:"POST",body:{email:t,template:r,collection:e}},o),this.client.send("/api/settings/test/email",o).then(()=>!0)}async generateAppleClientSecret(e,t,r,o,i,n){return n=Object.assign({method:"POST",body:{clientId:e,teamId:t,keyId:r,privateKey:o,duration:i}},n),this.client.send("/api/settings/apple/generate-client-secret",n)}},ln=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function cn(e){if(e){e.query=e.query||{};for(let t in e)ln.includes(t)||(e.query[t]=e[t],delete e[t])}}function dn(e){const t=[];for(const r in e){const o=encodeURIComponent(r),i=Array.isArray(e[r])?e[r]:[e[r]];for(let e of i)e=un(e),null!==e&&t.push(o+"="+e)}return t.join("&")}function un(e){return null==e?null:e instanceof Date?encodeURIComponent(e.toISOString().replace("T"," ")):"object"==typeof e?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)}var hn=class extends sn{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[]}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(e,t,r){if(!e)throw new Error("topic must be set.");let o=e;if(r){cn(r=Object.assign({},r));const e="options="+encodeURIComponent(JSON.stringify({query:r.query,headers:r.headers}));o+=(o.includes("?")?"&":"?")+e}const i=function(e){const r=e;let o;try{o=JSON.parse(r?.data)}catch{}t(o||{})};return this.subscriptions[o]||(this.subscriptions[o]=[]),this.subscriptions[o].push(i),this.isConnected?1===this.subscriptions[o].length?await this.submitSubscriptions():this.eventSource?.addEventListener(o,i):await this.connect(),async()=>this.unsubscribeByTopicAndListener(e,i)}async unsubscribe(e){let t=!1;if(e){const r=this.getSubscriptionsByTopic(e);for(let e in r)if(this.hasSubscriptionListeners(e)){for(let t of this.subscriptions[e])this.eventSource?.removeEventListener(e,t);delete this.subscriptions[e],t||(t=!0)}}else this.subscriptions={};this.hasSubscriptionListeners()?t&&await this.submitSubscriptions():this.disconnect()}async unsubscribeByPrefix(e){let t=!1;for(let r in this.subscriptions)if((r+"?").startsWith(e)){t=!0;for(let e of this.subscriptions[r])this.eventSource?.removeEventListener(r,e);delete this.subscriptions[r]}t&&(this.hasSubscriptionListeners()?await this.submitSubscriptions():this.disconnect())}async unsubscribeByTopicAndListener(e,t){let r=!1;const o=this.getSubscriptionsByTopic(e);for(let i in o){if(!Array.isArray(this.subscriptions[i])||!this.subscriptions[i].length)continue;let e=!1;for(let r=this.subscriptions[i].length-1;r>=0;r--)this.subscriptions[i][r]===t&&(e=!0,delete this.subscriptions[i][r],this.subscriptions[i].splice(r,1),this.eventSource?.removeEventListener(i,t));e&&(this.subscriptions[i].length||delete this.subscriptions[i],r||this.hasSubscriptionListeners(i)||(r=!0))}this.hasSubscriptionListeners()?r&&await this.submitSubscriptions():this.disconnect()}hasSubscriptionListeners(e){if(this.subscriptions=this.subscriptions||{},e)return!!this.subscriptions[e]?.length;for(let t in this.subscriptions)if(this.subscriptions[t]?.length)return!0;return!1}async submitSubscriptions(){if(this.clientId)return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch(e=>{if(!e?.isAbort)throw e})}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(e){const t={};e=e.includes("?")?e:e+"?";for(let r in this.subscriptions)(r+"?").startsWith(e)&&(t[r]=this.subscriptions[r]);return t}getNonEmptySubscriptionKeys(){const e=[];for(let t in this.subscriptions)this.subscriptions[t].length&&e.push(t);return e}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let e in this.subscriptions)for(let t of this.subscriptions[e])this.eventSource.addEventListener(e,t)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let e in this.subscriptions)for(let t of this.subscriptions[e])this.eventSource.removeEventListener(e,t)}async connect(){if(!(this.reconnectAttempts>0))return new Promise((e,t)=>{this.pendingConnects.push({resolve:e,reject:t}),this.pendingConnects.length>1||this.initConnect()})}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout(()=>{this.connectErrorHandler(/* @__PURE__ */new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=e=>{this.connectErrorHandler(/* @__PURE__ */new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",e=>{this.clientId=e?.lastEventId,this.submitSubscriptions().then(async()=>{let e=3;for(;this.hasUnsentSubscriptions()&&e>0;)e--,await this.submitSubscriptions()}).then(()=>{for(let e of this.pendingConnects)e.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const t=this.getSubscriptionsByTopic("PB_CONNECT");for(let r in t)for(let o of t[r])o(e)}).catch(e=>{this.clientId="",this.connectErrorHandler(e)})})}hasUnsentSubscriptions(){const e=this.getNonEmptySubscriptionKeys();if(e.length!=this.lastSentSubscriptions.length)return!0;for(const t of e)if(!this.lastSentSubscriptions.includes(t))return!0;return!1}connectErrorHandler(e){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let t of this.pendingConnects)t.reject(new qi(e));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const t=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout(()=>{this.initConnect()},t)}disconnect(e=!1){if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),this.eventSource?.close(),this.eventSource=null,this.clientId="",!e){this.reconnectAttempts=0;for(let e of this.pendingConnects)e.resolve();this.pendingConnects=[]}}},pn=class extends sn{decode(e){return e}async getFullList(e,t){if("number"==typeof e)return this._getFullList(e,t);let r=1e3;return(t=Object.assign({},e,t)).batch&&(r=t.batch,delete t.batch),this._getFullList(r,t)}async getList(e=1,t=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:e,perPage:t},r.query),this.client.send(this.baseCrudPath,r).then(e=>(e.items=e.items?.map(e=>this.decode(e))||[],e))}async getFirstListItem(e,t){return(t=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+e},t)).query=Object.assign({filter:e,skipTotal:1},t.query),this.getList(1,1,t).then(e=>{if(!e?.items?.length)throw new qi({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return e.items[0]})}async getOne(e,t){if(!e)throw new qi({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),t).then(e=>this.decode(e))}async create(e,t){return t=Object.assign({method:"POST",body:e},t),this.client.send(this.baseCrudPath,t).then(e=>this.decode(e))}async update(e,t,r){return r=Object.assign({method:"PATCH",body:t},r),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),r).then(e=>this.decode(e))}async delete(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),t).then(()=>!0)}_getFullList(e=1e3,t){(t=t||{}).query=Object.assign({skipTotal:1},t.query);let r=[],o=async i=>this.getList(i,e||1e3,t).then(e=>{const t=e.items;return r=r.concat(t),t.length==e.perPage?o(i+1):r});return o(1)}};function gn(e,t,r,o){const i=void 0!==o;return i||void 0!==r?i?(t.body=Object.assign({},t.body,r),t.query=Object.assign({},t.query,o),t):Object.assign(t,r):t}function fn(e){e._resetAutoRefresh?.()}var mn=class extends pn{constructor(e,t){super(e),this.collectionIdOrName=t}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return"_superusers"==this.collectionIdOrName||"_pbc_2773867675"==this.collectionIdOrName}async subscribe(e,t,r){if(!e)throw new Error("Missing topic.");if(!t)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+e,t,r)}async unsubscribe(e){return e?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+e):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(e,t){if("number"==typeof e)return super.getFullList(e,t);const r=Object.assign({},e,t);return super.getFullList(r)}async getList(e=1,t=30,r){return super.getList(e,t,r)}async getFirstListItem(e,t){return super.getFirstListItem(e,t)}async getOne(e,t){return super.getOne(e,t)}async create(e,t){return super.create(e,t)}async update(e,t,r){return super.update(e,t,r).then(e=>{if(this.client.authStore.record?.id===e?.id&&(this.client.authStore.record?.collectionId===this.collectionIdOrName||this.client.authStore.record?.collectionName===this.collectionIdOrName)){let t=Object.assign({},this.client.authStore.record.expand),r=Object.assign({},this.client.authStore.record,e);t&&(r.expand=Object.assign(t,e.expand)),this.client.authStore.save(this.client.authStore.token,r)}return e})}async delete(e,t){return super.delete(e,t).then(t=>(!t||this.client.authStore.record?.id!==e||this.client.authStore.record?.collectionId!==this.collectionIdOrName&&this.client.authStore.record?.collectionName!==this.collectionIdOrName||this.client.authStore.clear(),t))}authResponse(e){const t=this.decode(e?.record||{});return this.client.authStore.save(e?.token,t),Object.assign({},e,{token:e?.token||"",record:t})}async listAuthMethods(e){return e=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},e),this.client.send(this.baseCollectionPath+"/auth-methods",e)}async authWithPassword(e,t,r){let o;r=Object.assign({method:"POST",body:{identity:e,password:t}},r),this.isSuperusers&&(o=r.autoRefreshThreshold,delete r.autoRefreshThreshold,r.autoRefresh||fn(this.client));let i=await this.client.send(this.baseCollectionPath+"/auth-with-password",r);return i=this.authResponse(i),o&&this.isSuperusers&&function(e,t,r,o){fn(e);const i=e.beforeSend,n=e.authStore.record,s=e.authStore.onChange((t,r)=>{(!t||r?.id!=n?.id||(r?.collectionId||n?.collectionId)&&r?.collectionId!=n?.collectionId)&&fn(e)});e._resetAutoRefresh=function(){s(),e.beforeSend=i,delete e._resetAutoRefresh},e.beforeSend=async(n,s)=>{const a=e.authStore.token;if(s.query?.autoRefresh)return i?i(n,s):{url:n,sendOptions:s};let l=e.authStore.isValid;if(l&&tn(e.authStore.token,t))try{await r()}catch(e){l=!1}l||await o();const c=s.headers||{};for(let t in c)if("authorization"==t.toLowerCase()&&a==c[t]&&e.authStore.token){c[t]=e.authStore.token;break}return s.headers=c,i?i(n,s):{url:n,sendOptions:s}}}(this.client,o,()=>this.authRefresh({autoRefresh:!0}),()=>this.authWithPassword(e,t,Object.assign({autoRefresh:!0},r))),i}async authWithOAuth2Code(e,t,r,o,i,n,s){let a={method:"POST",body:{provider:e,code:t,codeVerifier:r,redirectURL:o,createData:i}};return a=gn(0,a,n,s),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",a).then(e=>this.authResponse(e))}authWithOAuth2(...e){if(e.length>1||"string"==typeof e?.[0])return this.authWithOAuth2Code(e?.[0]||"",e?.[1]||"",e?.[2]||"",e?.[3]||"",e?.[4]||{},e?.[5]||{},e?.[6]||{});const t=e?.[0]||{};let r=null;t.urlCallback||(r=vn(void 0));const o=new hn(this.client);function i(){r?.close(),o.unsubscribe()}const n={},s=t.requestKey;return s&&(n.requestKey=s),this.listAuthMethods(n).then(e=>{const n=e.oauth2.providers.find(e=>e.name===t.provider);if(!n)throw new qi(/* @__PURE__ */new Error(`Missing or invalid provider "${t.provider}".`));const a=this.client.buildURL("/api/oauth2-redirect");return new Promise(async(e,l)=>{const c=s?this.client.cancelControllers?.[s]:void 0;c&&(c.signal.onabort=()=>{i(),l(new qi({isAbort:!0,message:"manually cancelled"}))}),o.onDisconnect=e=>{e.length&&l&&(i(),l(new qi(/* @__PURE__ */new Error("realtime connection interrupted"))))};try{await o.subscribe("@oauth2",async r=>{const s=o.clientId;try{if(!r.state||s!==r.state)throw new Error("State parameters don't match.");if(r.error||!r.code)throw new Error("OAuth2 redirect error or missing code: "+r.error);const o=Object.assign({},t);delete o.provider,delete o.scopes,delete o.createData,delete o.urlCallback,c?.signal?.onabort&&(c.signal.onabort=null),e(await this.authWithOAuth2Code(n.name,r.code,n.codeVerifier,a,t.createData,o))}catch(e){l(new qi(e))}i()});const s={state:o.clientId};t.scopes?.length&&(s.scope=t.scopes.join(" "));const d=this._replaceQueryParams(n.authURL+a,s);await(t.urlCallback||function(e){r?r.location.href=e:r=vn(e)})(d)}catch(e){c?.signal?.onabort&&(c.signal.onabort=null),i(),l(new qi(e))}})}).catch(e=>{throw i(),e})}async authRefresh(e,t){let r={method:"POST"};return r=gn(0,r,e,t),this.client.send(this.baseCollectionPath+"/auth-refresh",r).then(e=>this.authResponse(e))}async requestPasswordReset(e,t,r){let o={method:"POST",body:{email:e}};return o=gn(0,o,t,r),this.client.send(this.baseCollectionPath+"/request-password-reset",o).then(()=>!0)}async confirmPasswordReset(e,t,r,o,i){let n={method:"POST",body:{token:e,password:t,passwordConfirm:r}};return n=gn(0,n,o,i),this.client.send(this.baseCollectionPath+"/confirm-password-reset",n).then(()=>!0)}async requestVerification(e,t,r){let o={method:"POST",body:{email:e}};return o=gn(0,o,t,r),this.client.send(this.baseCollectionPath+"/request-verification",o).then(()=>!0)}async confirmVerification(e,t,r){let o={method:"POST",body:{token:e}};return o=gn(0,o,t,r),this.client.send(this.baseCollectionPath+"/confirm-verification",o).then(()=>{const t=en(e),r=this.client.authStore.record;return r&&!r.verified&&r.id===t.id&&r.collectionId===t.collectionId&&(r.verified=!0,this.client.authStore.save(this.client.authStore.token,r)),!0})}async requestEmailChange(e,t,r){let o={method:"POST",body:{newEmail:e}};return o=gn(0,o,t,r),this.client.send(this.baseCollectionPath+"/request-email-change",o).then(()=>!0)}async confirmEmailChange(e,t,r,o){let i={method:"POST",body:{token:e,password:t}};return i=gn(0,i,r,o),this.client.send(this.baseCollectionPath+"/confirm-email-change",i).then(()=>{const t=en(e),r=this.client.authStore.record;return r&&r.id===t.id&&r.collectionId===t.collectionId&&this.client.authStore.clear(),!0})}async listExternalAuths(e,t){return this.client.collection("_externalAuths").getFullList(Object.assign({},t,{filter:this.client.filter("recordRef = {:id}",{id:e})}))}async unlinkExternalAuth(e,t,r){const o=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:e,provider:t}));return this.client.collection("_externalAuths").delete(o.id,r).then(()=>!0)}async requestOTP(e,t){return t=Object.assign({method:"POST",body:{email:e}},t),this.client.send(this.baseCollectionPath+"/request-otp",t)}async authWithOTP(e,t,r){return r=Object.assign({method:"POST",body:{otpId:e,password:t}},r),this.client.send(this.baseCollectionPath+"/auth-with-otp",r).then(e=>this.authResponse(e))}async impersonate(e,t,r){(r=Object.assign({method:"POST",body:{duration:t}},r)).headers=r.headers||{},r.headers.Authorization||(r.headers.Authorization=this.client.authStore.token);const o=new In(this.client.baseURL,new on,this.client.lang),i=await o.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(e),r);return o.authStore.save(i?.token,this.decode(i?.record||{})),o}_replaceQueryParams(e,t={}){let r=e,o="";e.indexOf("?")>=0&&(r=e.substring(0,e.indexOf("?")),o=e.substring(e.indexOf("?")+1));const i={},n=o.split("&");for(const s of n){if(""==s)continue;const e=s.split("=");i[decodeURIComponent(e[0].replace(/\+/g," "))]=decodeURIComponent((e[1]||"").replace(/\+/g," "))}for(let s in t)t.hasOwnProperty(s)&&(null==t[s]?delete i[s]:i[s]=t[s]);o="";for(let s in i)i.hasOwnProperty(s)&&(""!=o&&(o+="&"),o+=encodeURIComponent(s.replace(/%20/g,"+"))+"="+encodeURIComponent(i[s].replace(/%20/g,"+")));return""!=o?r+"?"+o:r}};function vn(e){if("undefined"==typeof window||!window?.open)throw new qi(/* @__PURE__ */new Error("Not in a browser context - please pass a custom urlCallback function."));let t=1024,r=768,o=window.innerWidth,i=window.innerHeight;t=t>o?o:t,r=r>i?i:r;let n=o/2-t/2,s=i/2-r/2;return window.open(e,"popup_window","width="+t+",height="+r+",top="+s+",left="+n+",resizable,menubar=no")}var bn=class extends pn{get baseCrudPath(){return"/api/collections"}async import(e,t=!1,r){return r=Object.assign({method:"PUT",body:{collections:e,deleteMissing:t}},r),this.client.send(this.baseCrudPath+"/import",r).then(()=>!0)}async getScaffolds(e){return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/meta/scaffolds",e)}async truncate(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e)+"/truncate",t).then(()=>!0)}},wn=class extends sn{async getList(e=1,t=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:e,perPage:t},r.query),this.client.send("/api/logs",r)}async getOne(e,t){if(!e)throw new qi({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/"+encodeURIComponent(e),t)}async getStats(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/logs/stats",e)}},yn=class extends sn{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}},xn=class extends sn{getUrl(e,t,r={}){return this.getURL(e,t,r)}getURL(e,t,r={}){if(!t||!e?.id||!e?.collectionId&&!e?.collectionName)return"";const o=[];o.push("api"),o.push("files"),o.push(encodeURIComponent(e.collectionId||e.collectionName)),o.push(encodeURIComponent(e.id)),o.push(encodeURIComponent(t));let i=this.client.buildURL(o.join("/"));!1===r.download&&delete r.download;const n=dn(r);return n&&(i+=(i.includes("?")?"&":"?")+n),i}async getToken(e){return e=Object.assign({method:"POST"},e),this.client.send("/api/files/token",e).then(e=>e?.token||"")}},kn=class extends sn{async getFullList(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/backups",e)}async create(e,t){return t=Object.assign({method:"POST",body:{name:e}},t),this.client.send("/api/backups",t).then(()=>!0)}async upload(e,t){return t=Object.assign({method:"POST",body:e},t),this.client.send("/api/backups/upload",t).then(()=>!0)}async delete(e,t){return t=Object.assign({method:"DELETE"},t),this.client.send(`/api/backups/${encodeURIComponent(e)}`,t).then(()=>!0)}async restore(e,t){return t=Object.assign({method:"POST"},t),this.client.send(`/api/backups/${encodeURIComponent(e)}/restore`,t).then(()=>!0)}getDownloadUrl(e,t){return this.getDownloadURL(e,t)}getDownloadURL(e,t){return this.client.buildURL(`/api/backups/${encodeURIComponent(t)}?token=${encodeURIComponent(e)}`)}},Cn=class extends sn{async getFullList(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/crons",e)}async run(e,t){return t=Object.assign({method:"POST"},t),this.client.send(`/api/crons/${encodeURIComponent(e)}`,t).then(()=>!0)}};function Ln(e){return"undefined"!=typeof Blob&&e instanceof Blob||"undefined"!=typeof File&&e instanceof File||null!==e&&"object"==typeof e&&e.uri&&("undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal)}function Sn(e){return e&&("FormData"===e.constructor?.name||"undefined"!=typeof FormData&&e instanceof FormData)}function Mn(e){for(const t in e){const r=Array.isArray(e[t])?e[t]:[e[t]];for(const e of r)if(Ln(e))return!0}return!1}var $n=/^[\-\.\d]+$/;function Tn(e){if("string"!=typeof e)return e;if("true"==e)return!0;if("false"==e)return!1;if(("-"===e[0]||e[0]>="0"&&e[0]<="9")&&$n.test(e)){let t=+e;if(""+t===e)return t}return e}var _n=class extends sn{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new En(this.requests,e)),this.subs[e]}async send(e){const t=new FormData,r=[];for(let o=0;o<this.requests.length;o++){const e=this.requests[o];if(r.push({method:e.method,url:e.url,headers:e.headers,body:e.json}),e.files)for(let r in e.files){const i=e.files[r]||[];for(let e of i)t.append("requests."+o+"."+r,e)}}return t.append("@jsonPayload",JSON.stringify({requests:r})),e=Object.assign({method:"POST",body:t},e),this.client.send("/api/batch",e)}},En=class{constructor(e,t){this.requests=[],this.requests=e,this.collectionIdOrName=t}upsert(e,t){t=Object.assign({body:e||{}},t);const r={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,t),this.requests.push(r)}create(e,t){t=Object.assign({body:e||{}},t);const r={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,t),this.requests.push(r)}update(e,t,r){r=Object.assign({body:t||{}},r);const o={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(o,r),this.requests.push(o)}delete(e,t){t=Object.assign({},t);const r={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(r,t),this.requests.push(r)}prepareRequest(e,t){if(cn(t),e.headers=t.headers,e.json={},e.files={},void 0!==t.query){const r=dn(t.query);r&&(e.url+=(e.url.includes("?")?"&":"?")+r)}let r=t.body;Sn(r)&&(r=function(e){let t={};return e.forEach((e,r)=>{if("@jsonPayload"===r&&"string"==typeof e)try{let r=JSON.parse(e);Object.assign(t,r)}catch(e){}else void 0!==t[r]?(Array.isArray(t[r])||(t[r]=[t[r]]),t[r].push(Tn(e))):t[r]=Tn(e)}),t}(r));for(const o in r){const t=r[o];if(Ln(t))e.files[o]=e.files[o]||[],e.files[o].push(t);else if(Array.isArray(t)){const r=[],i=[];for(const e of t)Ln(e)?r.push(e):i.push(e);if(r.length>0&&r.length==t.length){e.files[o]=e.files[o]||[];for(let t of r)e.files[o].push(t)}else if(e.json[o]=i,r.length>0){let t=o;o.startsWith("+")||o.endsWith("+")||(t+="+"),e.files[t]=e.files[t]||[];for(let o of r)e.files[t].push(o)}}else e.json[o]=t}}},In=class{get baseUrl(){return this.baseURL}set baseUrl(e){this.baseURL=e}constructor(e="/",t,r="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=e,this.lang=r,t?this.authStore=t:"undefined"!=typeof window&&window.Deno?this.authStore=new on:this.authStore=new nn,this.collections=new bn(this),this.files=new xn(this),this.logs=new wn(this),this.settings=new an(this),this.realtime=new hn(this),this.health=new yn(this),this.backups=new kn(this),this.crons=new Cn(this)}get admins(){return this.collection("_superusers")}createBatch(){return new _n(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new mn(this,e)),this.recordServices[e]}autoCancellation(e){return this.enableAutoCancellation=!!e,this}cancelRequest(e){return this.cancelControllers[e]&&(this.cancelControllers[e].abort(),delete this.cancelControllers[e]),this}cancelAllRequests(){for(let e in this.cancelControllers)this.cancelControllers[e].abort();return this.cancelControllers={},this}filter(e,t){if(!t)return e;for(let r in t){let o=t[r];switch(typeof o){case"boolean":case"number":o=""+o;break;case"string":o="'"+o.replace(/'/g,"\\'")+"'";break;default:o=null===o?"null":o instanceof Date?"'"+o.toISOString().replace("T"," ")+"'":"'"+JSON.stringify(o).replace(/'/g,"\\'")+"'"}e=e.replaceAll("{:"+r+"}",o)}return e}getFileUrl(e,t,r={}){return this.files.getURL(e,t,r)}buildUrl(e){return this.buildURL(e)}buildURL(e){let t=this.baseURL;return"undefined"==typeof window||!window.location||t.startsWith("https://")||t.startsWith("http://")||(t=window.location.origin?.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(t+=window.location.pathname||"/",t+=t.endsWith("/")?"":"/"),t+=this.baseURL),e&&(t+=t.endsWith("/")?"":"/",t+=e.startsWith("/")?e.substring(1):e),t}async send(e,t){t=this.initSendOptions(e,t);let r=this.buildURL(e);if(this.beforeSend){const e=Object.assign({},await this.beforeSend(r,t));void 0!==e.url||void 0!==e.options?(r=e.url||r,t=e.options||t):Object.keys(e).length&&(t=e,console)}if(void 0!==t.query){const e=dn(t.query);e&&(r+=(r.includes("?")?"&":"?")+e),delete t.query}return"application/json"==this.getHeader(t.headers,"Content-Type")&&t.body&&"string"!=typeof t.body&&(t.body=JSON.stringify(t.body)),(t.fetch||fetch)(r,t).then(async e=>{let r={};try{r=await e.json()}catch(e){if(t.signal?.aborted||"AbortError"==e?.name||"Aborted"==e?.message)throw e}if(this.afterSend&&(r=await this.afterSend(e,r,t)),e.status>=400)throw new qi({url:e.url,status:e.status,data:r});return r}).catch(e=>{throw new qi(e)})}initSendOptions(e,t){if((t=Object.assign({method:"GET"},t)).body=function(e){if("undefined"==typeof FormData||void 0===e||"object"!=typeof e||null===e||Sn(e)||!Mn(e))return e;const t=new FormData;for(const r in e){const o=e[r];if(void 0!==o)if("object"!=typeof o||Mn({data:o})){const e=Array.isArray(o)?o:[o];for(let o of e)t.append(r,o)}else{let e={};e[r]=o,t.append("@jsonPayload",JSON.stringify(e))}}return t}(t.body),cn(t),t.query=Object.assign({},t.params,t.query),void 0===t.requestKey&&(!1===t.$autoCancel||!1===t.query.$autoCancel?t.requestKey=null:(t.$cancelKey||t.query.$cancelKey)&&(t.requestKey=t.$cancelKey||t.query.$cancelKey)),delete t.$autoCancel,delete t.query.$autoCancel,delete t.$cancelKey,delete t.query.$cancelKey,null!==this.getHeader(t.headers,"Content-Type")||Sn(t.body)||(t.headers=Object.assign({},t.headers,{"Content-Type":"application/json"})),null===this.getHeader(t.headers,"Accept-Language")&&(t.headers=Object.assign({},t.headers,{"Accept-Language":this.lang})),this.authStore.token&&null===this.getHeader(t.headers,"Authorization")&&(t.headers=Object.assign({},t.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&null!==t.requestKey){const r=t.requestKey||(t.method||"GET")+e;delete t.requestKey,this.cancelRequest(r);const o=new AbortController;this.cancelControllers[r]=o,t.signal=o.signal}return t}getHeader(e,t){e=e||{},t=t.toLowerCase();for(let r in e)if(r.toLowerCase()==t)return e[r];return null}},On=/* @__PURE__ */(new Date).toISOString(),An=/* @__PURE__ */new Date(Date.now()-36e5).toISOString(),zn=/* @__PURE__ */new Date(Date.now()-864e5).toISOString(),Pn=/* @__PURE__ */new Date(Date.now()-1728e5).toISOString(),Fn={id:"demo_user_1",collectionId:"_pb_users_auth_",collectionName:"users",created:Pn,updated:On,email:"john.lock@gmail.com",emailVisibility:!0,firstName:"John",lastName:"Lock",avatar:"/avatar1.jpeg",verified:!0,settings:{}},Nn={id:"demo_user_2",collectionId:"_pb_users_auth_",collectionName:"users",created:Pn,updated:On,email:"sarah@fubi.dev",emailVisibility:!0,firstName:"Sarah",lastName:"Smith",avatar:"/avatar3.jpeg",verified:!0,settings:{}},Hn={id:"demo_team",collectionId:"teams_col",collectionName:"teams",created:Pn,updated:On,name:"Demo Team",slug:"demo-team",admin:Fn.id,members:[Fn.id,Nn.id],guests:[],plan:"demo_plan",subscription:{type:"yearly",status:"active",subscription_id:"demo_subscription",customer_id:"demo_customer",price_id:"demo_price",started_at:Pn,next_billed_at:new Date(Date.now()+2592e6).toISOString(),next_billed_amount:null,canceled_at:null,past_due_at:null}},Dn={id:"demo",collectionId:"projects_col",collectionName:"projects",created:Pn,updated:On,name:"Demo Project",slug:"demo-project",origin:"",expand:{team:{...Hn,expand:{admin:Fn,members:[Fn,Nn]}}}};function jn(){const e=window.location.origin,t=window.location.pathname,r={id:"demo_folder_1",collectionId:"folders_col",collectionName:"folders",created:Pn,updated:On,name:"Internal Feedback",description:"Let's test the website",project:"demo",expand:{guests:[],project:{...Dn,expand:{team:{...Hn,expand:{admin:Fn,members:[Fn,Nn]}}}},folder_notifications_via_folder:[],pages_via_folder:[]}},o={id:"demo_page_1",collectionId:"pages_col",collectionName:"pages",created:Pn,updated:On,name:"/"===t?"Homepage":document.title||t,pathname:t,folder:"demo_folder_1",createdBy:Fn.id},i=[{id:"demo_comment_1",collectionId:"comments_col",collectionName:"comments",created:zn,updated:zn,page:"demo_page_1",parent:null,content:[{type:"text",value:"Collapse this accordion — fubi remembers the comment is here."}],selector:"body > div > main > div > section:nth-of-type(3) > div > div > div > div > p",done:"",priority:"",media:[],mentions:[],info:{browser:["Safari","18.2"],resolution:[1440,900],meta:!1},createdBy:Nn.id,expand:{createdBy:Nn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_2",collectionId:"comments_col",collectionName:"comments",created:zn,updated:zn,page:"demo_page_1",parent:null,content:[{type:"text",value:"Remove this block — the comment badge stays even after it's gone."}],selector:"body > div > main > div > section:nth-of-type(4) > div > div > div:nth-of-type(2) > div > div",done:"",priority:"",media:[],mentions:[],info:{browser:["Chrome","145.0.0.0"],resolution:[1920,1080],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_3",collectionId:"comments_col",collectionName:"comments",created:Pn,updated:zn,page:"demo_page_1",parent:null,content:[{type:"text",value:"Try switching the layout — the comment follows this block."}],selector:"body > div > main > div > section:nth-of-type(2) > div > div > div > div:nth-of-type(2)",done:"",priority:"",media:[],mentions:[],info:{browser:["Chrome","145.0.6808.100"],resolution:[390,844],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_4",collectionId:"comments_col",collectionName:"comments",created:Pn,updated:An,page:"demo_page_1",parent:null,content:[{type:"text",value:'Button text should say "Start Free Trial" instead.'}],selector:"body > div > main > section:nth-of-type(2) > div > article > div > nav > button",done:An,priority:"",media:[],mentions:[],info:{browser:["Firefox","132.0"],resolution:[1680,1050],meta:!1},createdBy:Nn.id,expand:{createdBy:Nn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_5",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,page:"demo_page_1",parent:null,content:[{type:"text",value:"This should say the actual author name, not a placeholder."}],selector:"body > div > main > section:nth-of-type(2) > div > article > div > header > p:nth-of-type(2)",done:"",priority:"",media:[],mentions:[Fn.id],info:{browser:["Safari","18.2"],resolution:[393,852],meta:!1},createdBy:Nn.id,expand:{createdBy:Nn,mentions:[Fn],thread_notifications_via_comment:[]}},{id:"demo_comment_6",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,page:"demo_page_1",parent:null,content:[{type:"text",value:"Page title is missing — add one for social previews and search."}],selector:"[data-fubi-meta-section] > div:nth-of-type(4) > p:nth-of-type(2)",done:"",priority:"",media:[],mentions:[],info:{browser:["Chrome","145.0.0.0"],resolution:[1512,823],meta:!0},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}}],n=i.filter(e=>"demo_page_1"===e.page);return r.expand.pages_via_folder=[{...o,expand:{comments_via_page:n.filter(e=>!e.parent)}}],{status:[{id:"demo_status",collectionId:"status_col",collectionName:"status",created:Pn,updated:On,service:"app",maintenance:!1,title:"",message:""}],projects:[Dn],teams:[Hn],domains:[{id:"demo_domain_1",collectionId:"domains_col",collectionName:"domains",created:Pn,updated:On,name:e,project:"demo",origin:e,active:!0,dev:!0,meta:{favicon:null,shareImage:null,touchicon:null}}],folders:[r],pages:[o],comments:i,users:[Fn,Nn],logs:[]}}var Rn="fubi_demo_data_v2",Wn=class{record={...Fn};token="demo_token";listeners=[];get isValid(){return!!this.record}onChange(e){return this.listeners.push(e),queueMicrotask(()=>e(this.token,this.record)),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}clear(){this.record=null,this.token="",this.fireChange()}save(e,t){this.token=e,this.record=t,this.fireChange()}fireChange(){for(const e of this.listeners)e(this.token,this.record)}},Vn=class{name;store;subscriptions=/* @__PURE__ */new Map;persist;constructor(e,t,r){this.name=e,this.store=t,this.persist=r}get data(){return this.store.get(this.name)||[]}set data(e){this.store.set(this.name,e),this.persist&&this.save()}save(){try{const e={};for(const[t,r]of this.store)e[t]=r;localStorage.setItem(Rn,JSON.stringify(e))}catch{}}notifySubscribers(e,t){queueMicrotask(()=>{const r=this.subscriptions.get("*")||[];for(const o of r)o({action:e,record:t});if(t?.id){const r=this.subscriptions.get(t.id)||[];for(const o of r)o({action:e,record:t})}})}async getList(e=1,t=50,r){const o=this.data,i=(e-1)*t;return{items:o.slice(i,i+t),totalItems:o.length,totalPages:Math.ceil(o.length/t),page:e,perPage:t}}async getFullList(e){return[...this.data]}async getFirstListItem(e,t){const r=this.data[0];if(!r)throw Object.assign(/* @__PURE__ */new Error("Not found"),{status:404});return r}async getOne(e,t){const r=this.data.find(t=>t.id===e);if(!r)throw Object.assign(/* @__PURE__ */new Error("Not found"),{status:404});return r}async create(e){let t;if(e instanceof FormData){t={};const r=[];for(const[o,i]of e.entries())if(i instanceof File)r.push(i);else try{t[o]=JSON.parse(i)}catch{t[o]=i}r.length>0&&(t.media=r.map(e=>URL.createObjectURL(e)))}else t={...e};if(t.id=t.id||Array.from(crypto.getRandomValues(new Uint8Array(8)),e=>e.toString(16).padStart(2,"0")).join(""),t.created=t.created||/* @__PURE__ */(new Date).toISOString(),t.updated=/* @__PURE__ */(new Date).toISOString(),t.collectionName=t.collectionName||this.name,t.collectionId=t.collectionId||`${this.name}_col`,"comments"===this.name&&t.createdBy&&!t.expand){const e=this.store.get("users")||[],r=e.find(e=>e.id===t.createdBy),o=(t.mentions||[]).map(t=>e.find(e=>e.id===t)).filter(Boolean);t.expand={createdBy:r||Fn,mentions:o,thread_notifications_via_comment:[]}}return this.data=[...this.data,t],this.notifySubscribers("create",t),t}async update(e,t){const r=this.data,o=r.findIndex(t=>t.id===e);if(-1===o)throw Object.assign(/* @__PURE__ */new Error("Not found"),{status:404});const i={...r[o],...t,updated:/* @__PURE__ */(new Date).toISOString()};return r[o].expand&&!t.expand&&(i.expand=r[o].expand),this.data=[...r.slice(0,o),i,...r.slice(o+1)],this.notifySubscribers("update",i),i}async delete(e){const t=this.data,r=t.find(t=>t.id===e);if(!r)throw Object.assign(/* @__PURE__ */new Error("Not found"),{status:404});return this.data=t.filter(t=>t.id!==e),this.notifySubscribers("delete",r),!0}subscribe(e,t,r){const o=this.subscriptions.get(e)||[];return this.subscriptions.set(e,[...o,t]),()=>{const r=this.subscriptions.get(e)||[];this.subscriptions.set(e,r.filter(e=>e!==t))}}async unsubscribe(e){e?this.subscriptions.delete(e):this.subscriptions.clear()}async authWithPassword(e,t){return{token:"demo_token",record:Fn}}async authRefresh(){return{token:"demo_token",record:Fn}}};function Bn(e=!0){let t;if(e)try{const e=localStorage.getItem(Rn);t=e?JSON.parse(e):jn()}catch{t=jn()}else t=jn();const r=new Map(Object.entries(t)),o=new Wn,i=/* @__PURE__ */new Map;return{collection:function(t){return i.has(t)||i.set(t,new Vn(t,r,e)),i.get(t)},authStore:o,send:async(e,t)=>({})}}var Un=[];function Zn(e,t,r){const o=r.map(e=>{if("string"==typeof e)return e;if(e instanceof Error)return`${e.name}: ${e.message}\n${e.stack}`;try{return JSON.stringify(e)}catch{return String(e)}}).join(" ");Un.push({timestamp:Date.now(),module:e,level:t,message:o}),Un.length>1e3&&Un.shift()}function qn(e){return{info:(...t)=>{Zn(e,"info",t)},error:(...t)=>{Zn(e,"error",t)},warn:(...t)=>{Zn(e,"warn",t)},ok:(...t)=>{Zn(e,"ok",t)},table:(e,t)=>{},group:e=>{},groupEnd:()=>{}}}var Kn="undefined"!=typeof window?window:void 0;"undefined"!=typeof window&&window.document,"undefined"!=typeof window&&window.navigator,"undefined"!=typeof window&&window.location;var Gn=class extends Map{#B=/* @__PURE__ */new Map;#U=/* @__PURE__ */ut(0);#Z=/* @__PURE__ */ut(0);#q=Er||-1;constructor(e){if(super(),t&&(e=new Map(e),ee(this.#U,"SvelteMap version"),ee(this.#Z,"SvelteMap.size")),e){for(var[r,o]of e)super.set(r,o);this.#Z.v=super.size}}#K(e){return Er===this.#q?/* @__PURE__ */ut(e):dt(e)}has(e){var r=this.#B,o=r.get(e);if(void 0===o){if(void 0===super.get(e))return jr(this.#U),!1;o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return jr(o),!0}forEach(e,t){this.#G(),super.forEach(e,t)}get(e){var r=this.#B,o=r.get(e);if(void 0===o){if(void 0===super.get(e))return void jr(this.#U);o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return jr(o),super.get(e)}set(e,r){var o=this.#B,i=o.get(e),n=super.get(e),s=super.set(e,r),a=this.#U;if(void 0===i)i=this.#K(0),t&&ee(i,`SvelteMap get(${re(e)})`),o.set(e,i),pt(this.#Z,super.size),mt(a);else if(n!==r){mt(i);var l=null===a.reactions?null:new Set(a.reactions);null!==l&&i.reactions?.every(e=>l.has(e))||mt(a)}return s}delete(e){var t=this.#B,r=t.get(e),o=super.delete(e);return void 0!==r&&(t.delete(e),pt(this.#Z,super.size),pt(r,-1),mt(this.#U)),o}clear(){if(0!==super.size){super.clear();var e=this.#B;for(var t of(pt(this.#Z,0),e.values()))pt(t,-1);mt(this.#U),e.clear()}}#G(){jr(this.#U);var e=this.#B;if(this.#Z.v!==e.size)for(var r of super.keys())if(!e.has(r)){var o=this.#K(0);t&&ee(o,`SvelteMap get(${re(r)})`),e.set(r,o)}for([,o]of this.#B)jr(o)}keys(){return jr(this.#U),super.keys()}values(){return this.#G(),super.values()}entries(){return this.#G(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return jr(this.#Z),super.size}};Symbol(),URLSearchParams,Symbol.iterator;function Xn(e,t){if(function(e){return"function"==typeof e}(e)){const r=e();return void 0===r?t:r}return void 0===e?t:e}new class{#X;#Y;constructor(e={}){const{window:t=Kn,document:r=t?.document}=e;void 0!==t&&(this.#X=r,this.#Y=Ue(e=>{const r=io(t,"focusin",e),o=io(t,"focusout",e);return()=>{r(),o()}}))}get current(){return this.#Y?.(),this.#X?function(e){let t=e.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}(this.#X):null}};var Yn=class{#J;#Q=0;#ee=Qe(()=>Xn(this.#Q)??0);#te=null;#re=null;#oe=ut(0);#ie=ut(!1);#ne=Kn;constructor(e,t={}){t.window&&(this.#ne=t.window),this.#Q=t.fpsLimit,this.#J=e,this.start=this.start.bind(this),this.stop=this.stop.bind(this),this.toggle=this.toggle.bind(this),Kt(()=>((t.immediate??1)&&Vr(this.start),this.stop))}#se(e){if(!jr(this.#ie)||!this.#ne)return;null===this.#te&&(this.#te=e);const t=e-this.#te,r=1e3/t;jr(this.#ee)&&r>jr(this.#ee)||(pt(this.#oe,r),this.#te=e,this.#J({delta:t,timestamp:e})),this.#re=this.#ne.requestAnimationFrame(this.#se.bind(this))}start(){this.#ne&&(pt(this.#ie,!0),this.#te=0,this.#re=this.#ne.requestAnimationFrame(this.#se.bind(this)))}stop(){this.#re&&this.#ne&&(pt(this.#ie,!1),this.#ne.cancelAnimationFrame(this.#re),this.#re=null)}toggle(){jr(this.#ie)?this.stop():this.start()}get fps(){return jr(this.#ie)?jr(this.#oe):0}get running(){return jr(this.#ie)}};function Jn(e,t,r,o={}){const{lazy:i=!1}=o;let n=!i,s=Array.isArray(e)?[]:void 0;!function(e,t){switch(e){case"post":Kt(t);break;case"pre":Xt(t)}}(t,()=>{const t=Array.isArray(e)?e.map(e=>e()):e();if(!n)return n=!0,void(s=t);const o=Vr(()=>r(t,s));return s=t,o})}function Qn(e,t,r){Jn(e,"post",t,r)}function es(){}function ts(e,t,r,o){Kt(()=>{const i=Xn(e);if(null==i)return;const n=Xn(t);if(!Array.isArray(n))return io(i,n,r,o);for(const e of n)Kt(()=>io(i,e,r,o))})}function rs(e,t,r,o,i,n){if(null===e||"object"!=typeof e)return e;const s=Object.getPrototypeOf(e);if(null!==s&&s!==Object.prototype&&!Array.isArray(e))return e;let a=r.get(e);return a||(a=new Proxy(e,{get:(e,s)=>(o?.(),rs(Reflect.get(e,s),t,r,o,i,n)),set:(e,r,o)=>(i?.(),Reflect.set(e,r,o),n(t),!0)}),r.set(e,a)),a}Qn.pre=function(e,t,r){Jn(e,"pre",t,r)};var os,is=class{#ae;#le;#ce;#de;#Y;#ue;#he=/* @__PURE__ */new WeakMap;constructor(e,t,r={}){const{storage:o="local",serializer:i={serialize:JSON.stringify,deserialize:JSON.parse},syncTabs:n=!0}=r,s="window"in r?r.window:Kn;if(this.#ae=t,this.#le=e,this.#ce=i,void 0===s)return;const a=function(e,t){switch(e){case"local":return t.localStorage;case"session":return t.sessionStorage}}(o,s);this.#de=a;const l=a.getItem(e);null!==l?this.#ae=this.#pe(l):this.#ge(t),n&&"local"===o&&(this.#Y=Ue(e=>{this.#ue=e;const t=io(s,"storage",this.#fe);return()=>{t(),this.#ue=void 0}}))}get current(){this.#Y?.();const e=this.#de?.getItem(this.#le),t=e?this.#pe(e):this.#ae;return rs(t,t,this.#he,this.#Y?.bind(this),this.#ue?.bind(this),this.#ge.bind(this))}set current(e){this.#ge(e),this.#ue?.()}#fe=e=>{e.key===this.#le&&null!==e.newValue&&(this.#ae=this.#pe(e.newValue),this.#ue?.())};#pe(e){try{return this.#ce.deserialize(e)}catch(t){return}}#ge(e){try{null!=e&&this.#de?.setItem(this.#le,this.#ce.serialize(e))}catch(t){}}},ns=class{#W;#me=Qe(()=>Xn(this.#W.element));get element(){return jr(this.#me)}set element(e){pt(this.#me,e)}#ve=Qe(()=>Xn(this.#W?.idle,200));get idle(){return jr(this.#ve)}set idle(e){pt(this.#ve,e)}#be=Qe(()=>Xn(this.#W.offset,{left:0,right:0,top:0,bottom:0}));get offset(){return jr(this.#be)}set offset(e){pt(this.#be,e)}#we=Qe(()=>this.#W.onScroll??es);get onScroll(){return jr(this.#we)}set onScroll(e){pt(this.#we,e)}#ye=Qe(()=>this.#W.onStop??es);get onStop(){return jr(this.#ye)}set onStop(e){pt(this.#ye,e)}#xe=Qe(()=>this.#W.eventListenerOptions??{capture:!1,passive:!0});get eventListenerOptions(){return jr(this.#xe)}set eventListenerOptions(e){pt(this.#xe,e)}#ke=Qe(()=>Xn(this.#W.behavior,"auto"));get behavior(){return jr(this.#ke)}set behavior(e){pt(this.#ke,e)}#Ce=Qe(()=>this.#W.onError??(e=>{}));get onError(){return jr(this.#Ce)}set onError(e){pt(this.#Ce,e)}#Le=ut(0);get internalX(){return jr(this.#Le)}set internalX(e){pt(this.#Le,e,!0)}#Se=ut(0);get internalY(){return jr(this.#Se)}set internalY(e){pt(this.#Se,e,!0)}#Me=Qe(()=>this.internalX);get x(){return jr(this.#Me)}set x(e){this.scrollTo(e,void 0)}#$e=Qe(()=>this.internalY);get y(){return jr(this.#$e)}set y(e){this.scrollTo(void 0,e)}#Te=ut(!1);get isScrolling(){return jr(this.#Te)}set isScrolling(e){pt(this.#Te,e,!0)}#_e=ut(wt({left:!0,right:!1,top:!0,bottom:!1}));get arrived(){return jr(this.#_e)}set arrived(e){pt(this.#_e,e,!0)}#Ee=ut(wt({left:!1,right:!1,top:!1,bottom:!1}));get directions(){return jr(this.#Ee)}set directions(e){pt(this.#Ee,e,!0)}#Ie=ut(wt({x:0,y:0}));get progress(){return jr(this.#Ie)}set progress(e){pt(this.#Ie,e,!0)}constructor(e){this.#W=e,ts(()=>this.element,"scroll",this.#Oe,this.eventListenerOptions),ts(()=>this.element,"scrollend",e=>this.onScrollEnd(e),this.eventListenerOptions),Zi(()=>{this.setArrivedState()}),new Yn(()=>this.setArrivedState())}setArrivedState=()=>{if(!window||!this.element)return;const e=this.element?.document?.documentElement||this.element?.documentElement||this.element,{display:t,flexDirection:r,direction:o}=getComputedStyle(e),i="rtl"===o?-1:1,n=e.scrollLeft;n!==this.internalX&&(this.directions.left=n<this.internalX,this.directions.right=n>this.internalX);const s=n*i<=(this.offset.left||0),a=n*i+e.clientWidth>=e.scrollWidth-(this.offset.right||0)-1;"flex"===t&&"row-reverse"===r?(this.arrived.left=a,this.arrived.right=s):(this.arrived.left=s,this.arrived.right=a),this.internalX=n;let l=e.scrollTop;this.element!==window.document||l||(l=window.document.body.scrollTop),l!==this.internalY&&(this.directions.top=l<this.internalY,this.directions.bottom=l>this.internalY);const c=l<=(this.offset.top||0),d=l+e.clientHeight>=e.scrollHeight-(this.offset.bottom||0)-1;"flex"===t&&"column-reverse"===r?(this.arrived.top=d,this.arrived.bottom=c):(this.arrived.top=c,this.arrived.bottom=d);const u=e.scrollHeight-(this.offset.bottom||0);this.progress.y=l/(u-e.clientHeight)*100;const h=e.scrollWidth-(this.offset.left||0);this.progress.x=Math.abs(n/(h-e.clientWidth)*100),this.internalY=l};#Oe=e=>{window&&(this.setArrivedState(),this.isScrolling=!0,this.onScrollEndDebounced(e),this.onScroll(e))};scrollTo(e,t){if(!window)return;(this.element instanceof Document?window.document.body:this.element)?.scrollTo({top:t??this.y,left:e??this.x,behavior:this.behavior});const r=this.element?.document?.documentElement||this.element?.documentElement||this.element;null!=e&&(this.internalX=r.scrollLeft),null!=t&&(this.internalY=r.scrollTop)}scrollToTop(){this.scrollTo(void 0,0)}scrollToBottom(){if(!window)return;const e=this.element?.document?.documentElement||this.element?.documentElement||this.element;e&&this.scrollTo(void 0,e.scrollHeight)}onScrollEnd=e=>{this.isScrolling&&(this.isScrolling=!1,this.directions.left=!1,this.directions.right=!1,this.directions.top=!1,this.directions.bottom=!1,this.onStop(e))};onScrollEndDebounced=function(e,t){let r=ut(null);const o=Qe(()=>Xn(t,250));function i(...t){if(jr(r))jr(r).timeout&&clearTimeout(jr(r).timeout);else{let e,t;const o=new Promise((r,o)=>{e=r,t=o});pt(r,{timeout:null,runner:null,promise:o,resolve:e,reject:t},!0)}return jr(r).runner=async()=>{if(!jr(r))return;const o=jr(r);pt(r,null);try{o.resolve(await e.apply(this,t))}catch(i){o.reject(i)}},jr(r).timeout=setTimeout(jr(r).runner,jr(o)),jr(r).promise}return i.cancel=async()=>{(jr(r)&&null!==jr(r).timeout||(await new Promise(e=>setTimeout(e,0)),jr(r)&&null!==jr(r).timeout))&&(clearTimeout(jr(r).timeout),jr(r).reject("Cancelled"),pt(r,null))},i.runScheduledNow=async()=>{(jr(r)&&jr(r).timeout||(await new Promise(e=>setTimeout(e,0)),jr(r)&&jr(r).timeout))&&(clearTimeout(jr(r).timeout),jr(r).timeout=null,await(jr(r).runner?.()))},Object.defineProperty(i,"pending",{enumerable:!0,get:()=>!!jr(r)?.timeout}),i}(this.onScrollEnd,()=>this.idle)},ss=qn("telemetry"),as=class{modules;#Ae=ut(!1);get loading(){return jr(this.#Ae)}set loading(e){pt(this.#Ae,e,!0)}#ze=ut(!1);get ready(){return jr(this.#ze)}set ready(e){pt(this.#ze,e,!0)}log=qn(this.constructor.name.toLowerCase());_inject=e=>{this.modules=e};get can(){return this.modules.can}get shadow(){const e=this.modules.toolbar.wrapper?.getRootNode();return e instanceof ShadowRoot?e:null}on(e,t){return this.modules.bus.on(e,t)}emit(e,...t){this.modules.bus.emit(e,...t)}track=async(e="info",t,r)=>{try{await this.modules.pb.collection("logs").create({project:this.modules.project.id,user:this.modules.auth?.user?.id||null,type:e,message:t,meta:{domain:this.modules.domains?.current||null,folder:this.modules.folders?.current||null,route:this.modules.router.current},logs:Un,data:r||null}),ss[e](t,...r?[r]:[])}catch(Ki){ss[e](t,...r?[r]:[])}};storage(e,t,r){const o=new is(t,r);Object.defineProperty(this,e,{get:()=>o.current,set:e=>{o.current=e},enumerable:!0,configurable:!0})}},ls=class extends as{singleton;expand;#Pe=ut(wt([]));get data(){return jr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Fe=ut(null);get record(){return jr(this.#Fe)}set record(e){pt(this.#Fe,e,!0)}#Ne=ut(null);get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#He=ut(1);get page(){return jr(this.#He)}set page(e){pt(this.#He,e,!0)}#De=ut(50);get perPage(){return jr(this.#De)}set perPage(e){pt(this.#De,e,!0)}#je=Qe(()=>0===this.data.length);get empty(){return jr(this.#je)}set empty(e){pt(this.#je,e)}pb;subscribedFilter;_inject=e=>{this.modules=e,this.pb=this.modules.pb.collection(this.name)};subscribeToRealtime(e){if(void 0!==this.subscribedFilter&&this.subscribedFilter===(e??""))return;void 0!==this.subscribedFilter&&this.pb.unsubscribe("*"),this.subscribedFilter=e??"";const t={};e&&(t.filter=e),this.pb.subscribe("*",e=>{const t=e.record;switch(e.action){case"create":if(this.data.some(e=>e.id===t.id))break;this.data=[...this.data,t],this.enrichRecord(t.id);break;case"update":{this.singleton&&this.record?.id===t.id&&(this.record={...this.record,...t,expand:this.record.expand},this.enrichRecord(t.id));const e=this.data.findIndex(e=>e.id===t.id);if(-1!==e){const r=this.data[e],o={...r,...t,expand:r.expand};this.data=[...this.data.slice(0,e),o,...this.data.slice(e+1)],this.enrichRecord(t.id)}break}case"delete":this.data=this.data.filter(e=>e.id!==t.id),this.singleton&&this.record?.id===t.id&&(this.record=null)}this.onSubscriptionChange(e.action,t)},t)}enrichRecord(e){this.expand&&this.pb.getOne(e,{expand:this.expand}).then(e=>{this.singleton&&this.record?.id===e.id&&(this.record=e);const t=this.data.findIndex(t=>t.id===e.id);-1!==t&&(this.data=[...this.data.slice(0,t),e,...this.data.slice(t+1)]),this.onEnriched(e)}).catch(()=>{})}onEnriched(e){}onSubscriptionChange(e,t){}async fetch(e){if(!this.loading){this.loading=!0,this.error=null;try{this.singleton?this.record=await this.pb.getFirstListItem(e?.filter||"",{expand:this.expand,query:e?.query}):this.data=(await this.pb.getList(e?.page||this.page,e?.perPage||this.perPage,{filter:e?.filter,sort:e?.sort,expand:this.expand,query:e?.query})).items,this.subscribeToRealtime(e?.filter)}catch(t){this.error=t.message||"Failed to fetch",this.log.error(`Error fetching ${this.name}:`,t)}finally{this.loading=!1}}}async create(e){this.loading=!0,this.error=null;try{return await this.pb.create(e)}catch(t){throw this.error=t.message||"Failed to create",this.log.error(`Error creating ${this.name}:`,t),this.checkAuthOnError(t),t}finally{this.loading=!1}}async update(e,t){this.loading=!0,this.error=null;try{return await this.pb.update(e,t)}catch(r){throw this.error=r.message||"Failed to update",this.log.error(`Error updating ${this.name}:`,r),this.checkAuthOnError(r),r}finally{this.loading=!1}}checkAuthOnError(e){const t=e?.status??e?.response?.status;400!==t&&401!==t&&403!==t&&404!==t||this.emit("auth:verify")}destroy(){this.pb.unsubscribe("*")}},cs=class extends ls{name="status";singleton=!0;get maintenance(){return this.record?.maintenance||!1}get title(){return this.record?.title||""}get message(){return this.record?.message||""}async fetch(e){try{await super.fetch({...e,filter:'service="app"'})}catch(t){return this.log.error("Failed to fetch status:",t.status),404===t.status?(this.log.warn("Status: not found, assuming ready"),this.emit("status:not-found"),void(this.ready=!0)):void this.emit("status:error",{error:this.error})}if(this.ready=!0,this.maintenance)return this.log.warn("Status: maintenance:",this.title,this.message),void this.emit("status:maintenance",{title:this.title,message:this.message});this.log.ok("Status: ready"),this.emit("status:ready",{data:this.record})}start(){this.fetch()}};function ds(){try{if(navigator.vibrate)return void navigator.vibrate(50);if(void 0===os&&(os="undefined"!=typeof window&&window.matchMedia("(pointer: coarse)").matches),!os)return;const e=document.createElement("label");e.ariaHidden="true",e.style.display="none";const t=document.createElement("input");t.type="checkbox",t.setAttribute("switch",""),e.appendChild(t),document.head.appendChild(e),e.click(),document.head.removeChild(e)}catch{}}ds.confirm=()=>{navigator.vibrate?navigator.vibrate([50,70,50]):(ds(),setTimeout(()=>ds(),120))},ds.error=()=>{navigator.vibrate?navigator.vibrate([50,70,50,70,50]):(ds(),setTimeout(()=>ds(),120),setTimeout(()=>ds(),240))};var us=ds;function hs(){let e=document.activeElement;if(!e)return!1;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.contentEditable}function ps(e,t){if(!e)return null;if(!e[t])return null;const r=e[t];if("string"==typeof r&&(r.startsWith("blob:")||r.startsWith("http")))return r;const{id:o,collectionName:i}=e;return`${Kx}/api/files/${i}/${o}/${r}`}function gs(e){return e.then(e=>[void 0,e]).catch(e=>[e])}function fs(e,t=","){return e?e.split(t).map(e=>e.trim()):[]}function ms(e){const t=Date.now()-e.getTime();if(t<6e4)return"just now";const r=Math.floor(t/6e4);if(r<60)return`${r} min ago`;const o=Math.floor(r/60);return o<24?`${o}h ago`:`${Math.floor(o/24)}d ago`}function vs(){const e=new URL(window.location.href).searchParams.get("fubi");return e?e.split("."):null}function bs(){const e=new URL(window.location.href);e.searchParams.delete("fubi"),window.history.replaceState({},"",e)}function ws(e,t){return(e.match(t)||[])[2]||"0.0.0.0"}function ys(){return{width:window.innerWidth,height:window.innerHeight}}function xs(e,t){const r={Desktop:1700,Laptop:1280,Tablet:768,Mobile:0};let o="Unknown";for(const i in r)if(e>=r[i]){o=i;break}return o}function ks(){const e=navigator.userAgent;let t="unknown";switch(t=/ucbrowser/i.test(e)?"UCBrowser":t,t=/edg/i.test(e)?"Edge":t,t=/googlebot/i.test(e)?"GoogleBot":t,t=/chromium/i.test(e)?"Chromium":t,t=/firefox|fxios/i.test(e)&&!/seamonkey/i.test(e)?"Firefox":t,t=/; msie|trident/i.test(e)&&!/ucbrowser/i.test(e)?"IE":t,t=/chrome|crios/i.test(e)&&!/opr|opera|chromium|edg|ucbrowser|googlebot/i.test(e)?"Chrome":t,t=/safari/i.test(e)&&!/chromium|edg|ucbrowser|chrome|crios|opr|opera|fxios|firefox/i.test(e)?"Safari":t,t=/opr|opera/i.test(e)?"Opera":t,t){case"UCBrowser":return{name:t,version:ws(e,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:t,version:ws(e,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:t,version:ws(e,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:t,version:ws(e,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:t,version:ws(e,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:t,version:ws(e,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:t,version:ws(e,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:t,version:ws(e,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const r=ws(e,/(trident)\/([\d\.]+)/i);return{name:t,version:r?(parseFloat(r)+4).toString():"7.0"}}default:return{name:"unknown",version:"0.0.0.0"}}}function Cs(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(0)} KB`:`${(e/1048576).toFixed(2)} MB`}var Ls="https://staging.dash.fubi.dev",Ss=class extends as{#Re=ut("");get id(){return jr(this.#Re)}set id(e){pt(this.#Re,e,!0)}#ae=ut(null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}unsubscribe;constructor(e){super(),this.id=e}start(){this.on("status:ready",()=>this.fetch())}async fetch(){this.loading=!0;const[e,t]=await gs(this.modules.pb.collection("projects").getOne(this.id,{expand:"team"})),r=t;return 404===e?.status?(this.log.warn("Project not found:",this.id),this.emit("project:not-found",{id:this.id}),this.loading=!1,null):e||!r?(this.log.error("Failed to fetch project",e),this.emit("project:error",{error:this.error}),this.loading=!1,null):(this.current=r,"archived"===r.status?(this.log.warn(`Project archived: ${r.name} (${r.id})`),this.loading=!1,this.emit("project:archived",{project:r}),this.subscribe(),null):(this.log.ok(`Project fetched: ${r.name}, (${r.id})`),this.loading=!1,this.ready=!0,this.subscribe(),this.emit("project:ready",{project:r}),r))}subscribe(){this.id&&(this.unsubscribe&&this.unsubscribe(),this.modules.pb.collection("projects").subscribe(this.id,e=>{this.log.info("Project updated via realtime:",e.action),"delete"!==e.action?(this.current=e.record,"archived"===e.record.status&&this.emit("project:archived",{project:e.record})):this.emit("project:not-found",{id:this.id})}),this.unsubscribe=()=>{this.modules.pb.collection("projects").unsubscribe(this.id).catch(()=>{this.log.info("Unsubscribe skipped - already logged out")})})}destroy(){this.unsubscribe?.()}},Ms=class extends as{#We=ut(null);get user(){return jr(this.#We)}set user(e){pt(this.#We,e,!0)}#Ne=ut("");get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#Ve=Qe(()=>this.user?ps({...this.user,collectionName:"users"},"avatar"):null);get avatarUrl(){return jr(this.#Ve)}set avatarUrl(e){pt(this.#Ve,e)}#Be=Qe(()=>this.avatarUrl?this.avatarUrl+"?thumb=64x64":null);get avatarThumbUrl(){return jr(this.#Be)}set avatarThumbUrl(e){pt(this.#Be,e)}#Ue=Qe(()=>Ls+"/?redirect=/account");get accountUrl(){return jr(this.#Ue)}set accountUrl(e){pt(this.#Ue,e)}#Ze=Qe(()=>`${this.user?.firstName} ${this.user?.lastName}`);get accountName(){return jr(this.#Ze)}set accountName(e){pt(this.#Ze,e)}async start(){this.modules.pb.authStore.onChange(async(e,t)=>{const r=t;this.user?.id!==r?.id?(this.log.info("Auth store changed, updating user state"),this.user=r,this.check()):this.user=r}),this.on("domains:ready",async()=>{this.loading=!0,this.user=this.modules.pb.authStore.record,this.user?.id&&await this.refreshUserData(),this.check()}),this.on("domains:blocked",()=>{this.user&&this.logout()}),this.on("auth:verify",()=>{this.user&&this.refreshUserData()})}async refreshUserData(){if(this.modules.pb.authStore.isValid)try{await this.modules.pb.collection("users").authRefresh(),this.user=this.modules.pb.authStore.record}catch(e){this.log.error("Failed to refresh auth:",e);const t=e?.status??e?.response?.status;401===t||403===t?(this.log.info("Auth token rejected by server, logging out"),this.error="Your session has expired. Please log in again.",this.modules.pb.authStore.clear(),this.user=null):this.log.info("Non-auth error during refresh, keeping current session")}}check(){this.loading=!1,this.ready=!0,this.user?this.emit("auth:login",{user:this.user}):this.emit("auth:logout")}async login(e,t){this.loading=!0,this.error="";try{return await this.modules.pb.collection("users").authWithPassword(e,t),this.track("ok","User logged in"),this.loading=!1,{success:!0}}catch(r){return us.error(),this.track("error","Login failed",{error:r?.message||r,email:e}),this.error=r?.message||"Login failed",this.loading=!1,{success:!1,error:this.error}}}async logout(){this.user&&(this.log.info("Logging out user:",this.user.id),this.modules.pb.authStore.clear(),this.user=null)}async loginWithHandoff(){if(this.loading)return;this.error="";const e=Array.from(crypto.getRandomValues(new Uint8Array(16)),e=>e.toString(16).padStart(2,"0")).join(""),t=`${Ls}/handoff?origin=${encodeURIComponent(location.origin)}&state=${e}`,r=window.open(t,"fubi-login","width=480,height=640,popup=1");if(!r)return this.error="Popup blocked. Please allow popups and try again.",void us.error();this.loading=!0;let o=null,i=null,n=!1;const s=()=>{this.loading=!1,window.removeEventListener("message",a),o&&clearInterval(o),i&&clearTimeout(i)},a=async t=>{"https://staging.dash.fubi.dev"===t.origin&&"fubi:handoff"===t.data?.type&&t.data.state===e&&(n=!0,this.modules.pb.authStore.save(t.data.token,t.data.record),await this.refreshUserData(),this.track("ok","User logged in via handoff"),s())};o=setInterval(()=>{r.closed&&(n||(this.error="Sign-in cancelled.",us.error()),s())},500),i=setTimeout(()=>{if(!n){this.error="Sign-in timed out.";try{r.close()}catch{}us.error(),s()}},12e4),window.addEventListener("message",a)}},$s=class extends as{#j=ut(wt(/* @__PURE__ */new Map));get listeners(){return jr(this.#j)}set listeners(e){pt(this.#j,e,!0)}add(e,t,r){const{target:o=document,capture:i=!1,passive:n}=r||{};this.listeners.has(e)||this.listeners.set(e,[]),this.listeners.get(e).push({handler:t,target:o});const s=void 0!==n?{capture:i,passive:n}:i;o.addEventListener(e,t,s)}remove(e,t,r){const{target:o=document,capture:i=!1}=r||{};if(!this.listeners.has(e))return;const n=this.listeners.get(e),s=n.findIndex(e=>e.handler===t&&e.target===o);-1!==s&&(n.splice(s,1),o.removeEventListener(e,t,i)),0===n.length&&this.listeners.delete(e)}},Ts=class extends as{wrapper;#qe=ut(!1);get hovering(){return jr(this.#qe)}set hovering(e){pt(this.#qe,e,!0)}#Ke=ut(!1);get focusWithin(){return jr(this.#Ke)}set focusWithin(e){pt(this.#Ke,e,!0)}#Ge=ut(!1);get opened(){return jr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#Xe=ut(!1);get visible(){return jr(this.#Xe)}set visible(e){pt(this.#Xe,e,!0)}#Ye=ut(null);get lastUsedFeature(){return jr(this.#Ye)}set lastUsedFeature(e){pt(this.#Ye,e,!0)}#Je=ut(!0);get minimized(){return jr(this.#Je)}set minimized(e){pt(this.#Je,e,!0)}constructor(e){super(),this.wrapper=e,this.storage("visible","fubi_toolbar_visible",!1)}start(){this.modules.keys.onPress("c",()=>{hs()}),this.on("toolbar:feature-used",({feature:e})=>{this.lastUsedFeature=e,this.log.warn(`toolbar auto-close: toolbar:feature-used (${e})`),this.close()}),this.on("hover:enabled",()=>{this.opened&&(this.log.warn("toolbar auto-close: hover:enabled"),this.close())}),this.on("hover:disabled",()=>{this.opened&&(this.log.warn("toolbar auto-close: hover:disabled"),this.close())}),this.on("sheet:opened",()=>{this.opened&&(this.log.warn("toolbar auto-close: sheet:opened"),this.close())}),this.modules.keys.onPress("Escape",()=>this.handleEscape()),this.checkForParam()}open(){us(),this.opened=!0,this.log.warn("toolbar.open() called"),this.emit("toolbar:opened")}close(){this.opened=!1,this.log.warn("toolbar.close() called"),this.emit("toolbar:closed")}toggle(){this.log.warn(`toolbar.toggle() called (opened=${this.opened})`),this[this.opened?"close":"open"]()}checkForParam(){new URL(window.location.href).searchParams.has("fubi")&&(this.visible||(this.visible=!0,this.emit("toolbar:fubi-param-detected")))}handleEscape(){if(hs())return;if(this.modules.modals.anyOpen)return;if(this.modules.hover.isIsolated)return;if("comment"===this.lastUsedFeature&&this.modules.hover.enabled)return this.modules.hover.disable(),void(this.lastUsedFeature=null);const e=this.modules.environment.touch?this.modules.sheet:this.modules.win;if("inbox"===this.lastUsedFeature&&e.opened)return e.close(),void(this.lastUsedFeature=null);this.modules.hover.enabled?this.modules.hover.disable():e.opened&&e.close()}handlePointerEnter(){this.hovering=!0}handlePointerLeave(){this.hovering=!1}},_s=class extends as{handlers=/* @__PURE__ */new Map;upHandlers=/* @__PURE__ */new Map;#Qe=ut(wt({key:null,code:null,ctrlKey:!1,metaKey:!1,altKey:!1}));get active(){return jr(this.#Qe)}set active(e){pt(this.#Qe,e,!0)}start(){this.modules.events.add("keydown",e=>this.handleKeydown(e)),this.modules.events.add("keyup",e=>this.handleKeyup(e))}onPress(e,t){return this.handlers.has(e)||this.handlers.set(e,/* @__PURE__ */new Set),this.handlers.get(e).add(t),()=>{this.handlers.get(e)?.delete(t)}}onRelease(e,t){return this.upHandlers.has(e)||this.upHandlers.set(e,/* @__PURE__ */new Set),this.upHandlers.get(e).add(t),()=>{this.upHandlers.get(e)?.delete(t)}}handleKeydown=e=>{const{key:t,code:r,ctrlKey:o,metaKey:i,altKey:n}=e;if(this.active={key:t,code:r,ctrlKey:o,metaKey:i,altKey:n},o||i)return;const s=this.handlers.get(t);s&&s.forEach(t=>t(e))};handleKeyup=e=>{const t=this.upHandlers.get(e.key);t&&t.forEach(t=>t(e)),this.active.key===e.key&&(this.active.key=null,this.active.code=null),this.active.ctrlKey=e.ctrlKey,this.active.metaKey=e.metaKey,this.active.altKey=e.altKey}},Es=class extends as{#Re=ut("");get id(){return jr(this.#Re)}set id(e){pt(this.#Re,e,!0)}#ae=ut(null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}unsubscribe;#et=Qe(()=>{const{admin:e,members:t,guests:r}=this.current||{admin:"",members:[],guests:[]},o=this.modules.auth.user;return!!o?.id&&[e,t,r].some(e=>e.includes(o.id))});get hasAccess(){return jr(this.#et)}set hasAccess(e){pt(this.#et,e)}#tt=Qe(()=>"past_due"===this.current?.subscription?.status);get pastDue(){return jr(this.#tt)}set pastDue(e){pt(this.#tt,e)}#rt=Qe(()=>{const e=this.current?.subscription;return!e||"active"!==e.status&&"trialing"!==e.status&&("past_due"!==e.status||!e.past_due_at||Date.now()-new Date(e.past_due_at).getTime()>1728e5)});get subscriptionLocked(){return jr(this.#rt)}set subscriptionLocked(e){pt(this.#rt,e)}#ot=Qe(()=>{const{members:e,guests:t}=this.current||{members:[],guests:[]},r=this.modules.auth.user?.id;return e.includes(r)?"member":t.includes(r)?"guest":null});get role(){return jr(this.#ot)}set role(e){pt(this.#ot,e)}start(){this.on("project:ready",()=>this.fetch()),this.on("auth:login",()=>this.fetch()),this.on("auth:logout",()=>this.reset())}async fetchTeam(){const e=this.modules.auth?.user;this.log.info(`Fetching team where project id: ${this.modules.project.current?.id} and user: ${e?.id||"guest"}`);const[t,r]=await gs(this.modules.pb.collection("teams").getList(1,1,{filter:`projects_via_team.id ?= "${this.modules.project.current?.id}"`,query:{project:this.modules.project.current?.id}}));if(t)return this.error=t?.message||"Error when fetching team",this.log.error("Failed to fetch team:",this.error),this.track("error","Error when fetching team",{user:e?.id||"guest",teamId:this.id}),null;const o=r?.items[0];if(!o){const e="You don't have access to this team. Ask the team admin for access.";return this.log.error(e),this.error=e,this.modules.auth.logout(),this.modules.error.set({title:"Access Denied",message:`${e}`,action:"logout"},"team"),this.modules.router.goto("error"),null}return this.log.ok("fetched:",`${o.name} (${o.id})`),this.current=o,o}async fetch(){if(!this.modules.project.ready)return;if(!this.modules.auth.user)return;this.loading=!0;const e=await this.fetchTeam();return e?this.subscriptionLocked?(this.log.warn(`Team subscription locked: ${e.name} (${e.id}) status=${e.subscription?.status??"none"}`),this.subscribe(),this.loading=!1,this.emit("team:subscription-inactive",{team:e}),null):(this.subscribe(),this.loading=!1,this.ready=!0,this.emit("team:ready",{team:e}),e):(this.loading=!1,this.emit("team:error",{error:this.error}),null)}subscribe(){this.current?.id&&(this.unsubscribe&&this.unsubscribe(),this.modules.pb.collection("teams").subscribe(this.current.id,async e=>{this.log.info("Team updated via realtime:",e.action);const t=await this.fetchTeam();t&&this.subscriptionLocked&&this.emit("team:subscription-inactive",{team:t})}),this.unsubscribe=()=>{this.current?.id&&(this.log.info("Unsubscribing from team:",this.current.id),this.modules.pb.collection("teams").unsubscribe(this.current.id).catch(()=>{this.log.info("Unsubscribe skipped - already logged out")}))})}reset(){this.id="",this.current=null,this.error=null,this.ready=!1,this.unsubscribe?.()}destroy(){this.unsubscribe?.()}},Is=class extends ls{name="folders";expand="guests,project.team,project.team.admin,project.team.members,folder_notifications_via_folder,pages_via_folder.comments_via_page";sort="-updated";#it=Qe(()=>!this.ready||this.data.length>0);get canAccess(){return jr(this.#it)}set canAccess(e){pt(this.#it,e)}current={};#nt=Qe(()=>{const e=[...this.current?.expand?.guests??[],this.current?.expand?.project?.expand?.team?.expand?.admin,...this.current?.expand?.project?.expand?.team?.expand?.members??[]].filter(Boolean),t=/* @__PURE__ */new Set;return e.filter(e=>!t.has(e.id)&&(t.add(e.id),!0))});get users(){return jr(this.#nt)}set users(e){pt(this.#nt,e)}#st=Qe(()=>this.data.map(e=>{const t=e.id===this.current?.id&&this.modules.pages?.pagesWithStats;if(t&&t.length>0){const r=t.reduce((e,t)=>e+t.total,0),o=t.reduce((e,t)=>e+t.done,0),i=r>0?Math.round(o/r*100):0;return{...e,total:r,done:o,progress:i,pageCount:t.length}}const r=e.expand?.pages_via_folder??[],o=r.flatMap(e=>(e.expand?.comments_via_page??[]).filter(e=>!e.parent)),i=o.length,n=o.filter(e=>!!e.done).length,s=i>0?Math.round(n/i*100):0;return{...e,total:i,done:n,progress:s,pageCount:r.length}}));get foldersWithStats(){return jr(this.#st)}set foldersWithStats(e){pt(this.#st,e)}constructor(){super(),this.storage("current","fubi_folders_current",{})}async fetch(e){await super.fetch(e),this.log.ok("fetched:",this.data),this.ready=!0,this.canAccess&&this.modules.error.clearIfSource("folders"),this.selectDefaultFolder(),this.emit("folders:ready")}async start(){this.on("team:ready",()=>{this.modules.auth.user&&this.modules.project.ready&&this.fetch({filter:`project = "${this.modules.project.current?.id}"`,query:{project:this.modules.project.id}})})}selectDefaultFolder(){if(!this.can.accessFolders)return this.log.error("No unlocked folders available."),this.modules.error.set({title:"No Folder Access",message:"You do not have access to any folders in this project.",link:{url:this.modules.team.current?.slug?`${Ls}/?redirect=/${this.modules.team.current.slug}/${this.modules.project.current?.slug}`:Ls,label:"Manage Project Folders",external:!0},action:"refresh"},"folders"),void this.modules.router.goto("error");const e=vs()?.[0],t=e?this.data.find(t=>t.id===e):null,r=this.current?.id?this.data.find(e=>e.id===this.current.id):null,o=!!this.current?.id&&!r,i=t??(1===this.data.length?this.data[0]:null)??r??this.data[0];if(e&&!t&&this.log.warn("Folder from URL param not accessible:",e),this.current?.id===i.id)return this.current=i,void this.log.info("Folder already selected:",i.name);if(o){const e=this.current.name;return this.log.warn("Current folder was deleted:",e),this.current=i,this.emit("folders:changed",{folder:i}),this.emit("folders:current-deleted",{deletedFolderName:e}),this.modules.modals.open("folder-deleted",{deletedFolderName:e}),void this.modules.router.goto("folders",void 0,"back")}this.log.info("Selecting folder:",i.name),this.current=i}onSubscriptionChange(e){"delete"===e&&this.current?.id&&!this.data.find(e=>e.id===this.current.id)&&this.selectDefaultFolder()}select(e){this.current?.id!==e.id&&(this.log.info("Selecting folder:",e.name),this.current=e,this.emit("folders:changed",{folder:e}))}async setNotification(e,t){this.log.info(`Setting folder (${e}) notifications to:`,t),this.loading=!0;const[r,o]=await gs(this.modules.pb.send("/api/folders/notifications",{method:"POST",body:{folderId:e,setting:t}}));if(r)return this.log.error("Error setting folder notifications:",r),void(this.loading=!1);this.log.ok("Folder notifications set:",o),this.loading=!1}},Os=class extends ls{name="pages";#at=ut(null);get url(){return jr(this.#at)}set url(e){pt(this.#at,e,!0)}#lt=ut(!1);get valid(){return jr(this.#lt)}set valid(e){pt(this.#lt,e,!0)}sort="name";#ae=ut(null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#ct=ut(wt(this.current?.name));get pageName(){return jr(this.#ct)}set pageName(e){pt(this.#ct,e,!0)}#Ne=ut(null);get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#dt=Qe(()=>!this.current?.id);get isNew(){return jr(this.#dt)}set isNew(e){pt(this.#dt,e)}#ut=ut(wt({favicon:"",shareimage:"",title:"",description:""}));get meta(){return jr(this.#ut)}set meta(e){pt(this.#ut,e,!0)}#ht=Qe(()=>this.data.map(e=>{const t=this.modules.comments.pageStats.get(e.id)??{total:0,done:0,progress:0};return{...e,...t}}));get pagesWithStats(){return jr(this.#ht)}set pagesWithStats(e){pt(this.#ht,e)}unsubscribeHistory;async start(){this.on("auth:logout",()=>this.reset()),this.on("folders:ready",()=>this.tryFetch()),this.on("domains:ready",()=>this.tryFetch()),this.on("folders:changed",()=>{this.data=[],this.tryFetch()}),this.trackNavigation()}async fetch(e){await super.fetch(e),this.log.ok("fetched:",this.data),this.checkCurrent(),this.ready=!0}tryFetch(){if(!this.modules.auth.user)return;if(!this.modules.folders.ready)return;if(!this.modules.domains.ready)return;const e=this.modules.folders.current?.id,t=this.modules.domains.current?.id;if(!e||!t)return;const r=`folder.id = "${e}"`;this.fetch({filter:r})}checkCurrent(){let e;if(e=this.data.find(e=>e.pathname===this.modules.domains.url?.pathname),!e)return this.current={id:"",collectionId:"",collectionName:"pages",created:"",updated:"",name:this.getCurrentName(),pathname:this.modules.domains.url?.pathname},this.valid=!0,void this.emit("pages:current",{page:this.current});this.current=e,this.emit("pages:current",{page:e}),this.valid=!0}getCurrentName(){if(!this.modules.domains.url)return"";const e=this.modules.domains.url?.pathname||"";return"/"===e?"Homepage":this.modules.meta.title||e}handleRouteChange(){const e=new URL(window.location.href),t=this.modules.domains.url;if(t?.pathname===e.pathname){const r=new URLSearchParams(e.search),o=new URLSearchParams(t?.search||"");if(r.delete("fubi"),o.delete("fubi"),r.toString()===o.toString())return}this.emit("pages:route-changed"),this.modules.domains.getUrl(),this.tryFetch()}async registerCurrent(e){if(!this.current)return;if(this.current.id)return void this.log.info("Page already registered:",this.current.id);let t={folder:this.modules.folders.current?.id,name:e||this.pageName||this.current.name||this.modules.pages.current?.name,pathname:this.current.pathname,createdBy:this.modules.auth.user?.id};const r=await this.create(t);r&&(this.current=r)}trackNavigation(){const e=history.pushState,t=history.replaceState;history.pushState=(...t)=>{e.apply(history,t),this.handleRouteChange()},history.replaceState=(...e)=>{t.apply(history,e),this.handleRouteChange()};const r=()=>this.handleRouteChange();window.addEventListener("popstate",r),this.unsubscribeHistory=()=>{history.pushState=e,history.replaceState=t,window.removeEventListener("popstate",r)}}onSubscriptionChange(e,t){"update"===e&&this.current?.id===t.id&&(this.current={...this.current,...t})}reset(){this.current=null,this.data=[],this.ready=!1}destroy(){this.unsubscribeHistory?.()}},As=class extends as{_addedPadding=0;addClass(e){document.documentElement.classList.add(e)}removeClass(e){document.documentElement.classList.remove(e)}toggleClass(e){document.documentElement.classList.toggle(e)}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.height;if(this.modules.environment.touch){const e=r>window.innerHeight?"start":"center";let o=t.top+window.scrollY;return"center"===e&&(o-=(window.innerHeight-r)/2),void window.scrollTo({top:o,behavior:"smooth"})}const o=r>window.innerHeight?"start":"center";e.scrollIntoView({behavior:"smooth",block:o,inline:"nearest"})}scrollToNewMessage(){document.querySelector(".fubi-message-new")}ensureScrollRoom(e,t=350){const r=e-window.scrollY;if(window.innerHeight-r>=t)return;const o=e-.3*window.innerHeight,i=document.documentElement.scrollHeight-window.innerHeight;if(o>i){const e=o-i+50;document.documentElement.style.paddingBottom=`${e}px`,this._addedPadding=e}this.scroll.enable(),window.scrollTo({top:Math.max(0,o),behavior:"instant"}),this.scroll.disable()}removeScrollRoom(){this._addedPadding&&(document.documentElement.style.paddingBottom="",this._addedPadding=0)}scroll={disable:(e={})=>{this.addClass(e.touchOnly?"fubi-scroll-touch-disabled":"fubi-scroll-disabled")},enable:()=>{this.removeClass("fubi-scroll-disabled"),this.removeClass("fubi-scroll-touch-disabled")}}};function zs(e){return"[object Date]"===Object.prototype.toString.call(e)}function Ps(e,t,r,o){if("number"==typeof r||zs(r)){const i=o-r,n=(r-t)/(e.dt||1/60),s=(n+(e.opts.stiffness*i-e.opts.damping*n)*e.inv_mass)*e.dt;return Math.abs(s)<e.opts.precision&&Math.abs(i)<e.opts.precision?o:(e.settled=!1,zs(r)?new Date(r.getTime()+s):r+s)}if(Array.isArray(r))return r.map((i,n)=>Ps(e,t[n],r[n],o[n]));if("object"==typeof r){const i={};for(const n in r)i[n]=Ps(e,t[n],r[n],o[n]);return i}throw new Error(`Cannot spring ${typeof r} values`)}var Fs=class e{#pt=/* @__PURE__ */ut(.15);#gt=/* @__PURE__ */ut(.8);#ft=/* @__PURE__ */ut(.01);#ae;#mt;#vt=void 0;#bt=0;#wt=1;#yt=0;#xt=null;#i=null;constructor(e,r={}){this.#ae=t?ee(/* @__PURE__ */ut(e),"Spring.current"):/* @__PURE__ */ut(e),this.#mt=t?ee(/* @__PURE__ */ut(e),"Spring.target"):/* @__PURE__ */ut(e),"number"==typeof r.stiffness&&(this.#pt.v=Ns(r.stiffness,0,1)),"number"==typeof r.damping&&(this.#gt.v=Ns(r.damping,0,1)),"number"==typeof r.precision&&(this.#ft.v=r.precision),t&&(ee(this.#pt,"Spring.stiffness"),ee(this.#gt,"Spring.damping"),ee(this.#ft,"Spring.precision"),ee(this.#ae,"Spring.current"),ee(this.#mt,"Spring.target"))}static of(t,r){const o=new e(t(),r);return Qt(()=>{o.set(t())}),o}#ue(e){if(pt(this.#mt,e),this.#ae.v??=e,this.#vt??=this.#ae.v,!this.#xt){this.#bt=Vo.now();var t=1e3/(60*this.#yt);this.#xt??=Uo(e=>{this.#wt=Math.min(this.#wt+t,1);const r=Math.min(e-this.#bt,1e3/30),o={inv_mass:this.#wt,opts:{stiffness:this.#pt.v,damping:this.#gt.v,precision:this.#ft.v},settled:!0,dt:60*r/1e3};var i=Ps(o,this.#vt,this.#ae.v,this.#mt.v);return this.#vt=this.#ae.v,this.#bt=e,pt(this.#ae,i),o.settled&&(this.#xt=null),!o.settled})}return this.#xt.promise}set(e,t){if(this.#i?.reject(/* @__PURE__ */new Error("Aborted")),t?.instant||void 0===this.#ae.v)return this.#xt?.abort(),this.#xt=null,pt(this.#ae,pt(this.#mt,e)),this.#vt=e,Promise.resolve();t?.preserveMomentum&&(this.#wt=0,this.#yt=t.preserveMomentum);var r=this.#i=f();return r.promise.catch(g),this.#ue(e).then(()=>{r===this.#i&&r.resolve(void 0)}),r.promise}get current(){return jr(this.#ae)}get damping(){return jr(this.#gt)}set damping(e){pt(this.#gt,Ns(e,0,1))}get precision(){return jr(this.#ft)}set precision(e){pt(this.#ft,e)}get stiffness(){return jr(this.#pt)}set stiffness(e){pt(this.#pt,Ns(e,0,1))}get target(){return jr(this.#mt)}set target(e){this.set(e)}};function Ns(e,t,r){return Math.max(t,Math.min(r,e))}function Hs(e){const t=1.70158;return--e*e*((t+1)*e+t)+1}function Ds(e){return e*e*e}function js(e){const t=e-1;return t*t*t+1}function Rs(e){return 1===e?e:1-Math.pow(2,-10*e)}var Ws=class extends as{#kt=ut();get el(){return jr(this.#kt)}set el(e){pt(this.#kt,e,!0)}#Ct=ut(!1);get uiOpened(){return jr(this.#Ct)}set uiOpened(e){pt(this.#Ct,e,!0)}#Lt=ut();get contentScrollState(){return jr(this.#Lt)}set contentScrollState(e){pt(this.#Lt,e,!0)}height=new Fs(0,{stiffness:.2,damping:.4});#St=ut(wt({bottom:0,middle:this.calculateBreakpoint(),top:this.calculateBreakpoint(.99)}));get breakpoints(){return jr(this.#St)}set breakpoints(e){pt(this.#St,e,!0)}#Mt=ut(wt(this.breakpoints.middle));get currentBreakpoint(){return jr(this.#Mt)}set currentBreakpoint(e){pt(this.#Mt,e,!0)}#$t=ut(wt(this.breakpoints.middle));get nextBreakpoint(){return jr(this.#$t)}set nextBreakpoint(e){pt(this.#$t,e,!0)}#Tt=ut(wt({active:!1,startX:0,startY:0,startWidth:0,startHeight:0}));get resizing(){return jr(this.#Tt)}set resizing(e){pt(this.#Tt,e,!0)}#_t=ut(wt({active:!1,start:0,current:0,difference:0,startHeight:0,height:0,direction:null,hasMoved:!1}));get dragging(){return jr(this.#_t)}set dragging(e){pt(this.#_t,e,!0)}constructor(){super(),this.storage("opened","fubi_win_opened",!1),this.storage("resizeWidth","fubi_win_width",300),this.storage("resizeHeight","fubi_win_height",500)}start(){this.modules.keys.onPress("m",()=>{hs()||this.modules.environment.touch||this.toggle()}),this.opened&&this.modules.dom.scroll.disable({touchOnly:!0}),this.modules.environment.touch||this.setupTouchHandling(),this.modules.events.add("resize",()=>this.emit("window:resized"),{target:window}),this.on("toolbar:fubi-param-detected",()=>{this.modules.environment.touch||this.opened||this.open()}),!window.location.search.includes("fubi")||this.modules.environment.touch||this.opened||this.open()}setupTouchHandling(){if(!this.el)return void requestAnimationFrame(()=>this.setupTouchHandling());let e=0,t=!0;this.el.addEventListener("touchstart",r=>{this.can.closeWindow&&(e=r.touches[0].clientY,this.contentScrollState.y,t=!0)},{passive:!0}),this.el.addEventListener("touchmove",r=>{if(!this.can.closeWindow||!t)return;const o=r.touches[0].clientY-e;if(Math.abs(o)>5){const e=this.el?.querySelector(".page-content, .content, [data-scrollable]"),i=!!e&&this.contentScrollState.y>=e.scrollHeight-e.clientHeight-1;this.contentScrollState.y<=0&&o>0||i&&o<0&&this.currentBreakpoint!==this.breakpoints.top?(r.preventDefault(),t=!1):t=!1}},{passive:!1})}open(){us(),this.currentBreakpoint=this.breakpoints.middle,this.opened=!0,this.modules.dom.scroll.disable({touchOnly:!0}),this.modules.toolbar.lastUsedFeature="inbox",this.focusPageContent()}close(){this.currentBreakpoint=this.breakpoints.bottom,this.opened=!1,this.modules.dom.scroll.enable()}toggle(){this[this.opened?"close":"open"]()}getCurrentHeight(e=!1){if(!this.el)return 0;const t=getComputedStyle(this.el)[e?"maxHeight":"height"];return t&&"none"!==t&&parseFloat(t)||0}calculateBreakpoint(e=.55){const t=window.innerHeight*e;return Math.max(200,Math.min(1e3,t))}focusPageContent(){const e=this.modules.router.current,t=(this.el?.querySelectorAll(`[data-fubi-page="${e}"]`))?.[0]?.querySelector(".page-content");t&&t.focus({preventScroll:!0})}resize={start:e=>{e.preventDefault(),this.resizing.active=!0,this.resizing.startX=e.clientX,this.resizing.startY=e.clientY,this.resizing.startWidth=this.resizeWidth,this.resizing.startHeight=this.resizeHeight,document.addEventListener("pointermove",this.resize.move),document.addEventListener("pointerup",this.resize.end)},move:e=>{if(!this.resizing.active)return;const t=e.clientX-this.resizing.startX,r=e.clientY-this.resizing.startY;this.resizeWidth=Math.min(400,Math.max(300,this.resizing.startWidth-t)),this.resizeHeight=Math.max(300,this.resizing.startHeight-r)},end:()=>{this.resizing.active=!1,document.removeEventListener("pointermove",this.resize.move),document.removeEventListener("pointerup",this.resize.end)}};drag={start:e=>{this.can.dragWindow&&(e.target.closest("button, a, input, label, textarea, select")||(this.dragging.hasMoved=!1,this.dragging.active=!0,this.dragging.start=e.y,this.dragging.startHeight=this.getCurrentHeight(),this.dragging.height=this.dragging.startHeight))},move:e=>{if(this.dragging.active&&this.can.dragWindow){if(this.dragging.current=e.y,this.dragging.difference=this.dragging.current-this.dragging.start,Math.abs(this.dragging.difference)>2){this.dragging.hasMoved=!0;const e=this.contentScrollState.y<=0,t=this.dragging.difference>0;if(!e||!t){const e=this.el?.querySelector(".page-content, .content, [data-scrollable]"),t=!!e&&this.contentScrollState.y>=e.scrollHeight-e.clientHeight-1,r=this.dragging.difference<0;if(!t||!r||this.currentBreakpoint===this.breakpoints.top)return void(this.dragging.active=!1)}}this.currentBreakpoint===this.breakpoints.middle&&("up"===this.dragging.direction&&this.dragging.height>this.breakpoints.middle+30?this.nextBreakpoint=this.breakpoints.top:"down"===this.dragging.direction&&this.dragging.height<this.breakpoints.middle-30?this.nextBreakpoint=this.breakpoints.bottom:this.nextBreakpoint=this.breakpoints.middle),this.currentBreakpoint===this.breakpoints.top&&("down"===this.dragging.direction&&this.dragging.height<this.breakpoints.top-50?this.nextBreakpoint=this.breakpoints.middle:this.nextBreakpoint=this.breakpoints.top),this.dragging.height=this.dragging.startHeight-this.dragging.difference,this.dragging.direction=this.dragging.difference<0?"up":"down"}},end:e=>{(this.dragging.active||this.dragging.hasMoved)&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),this.dragging.active&&(this.dragging.hasMoved&&(this.currentBreakpoint=this.nextBreakpoint,this.currentBreakpoint===this.breakpoints.bottom&&this.close()),this.dragging.active=!1,this.dragging.current=0,this.dragging.startHeight=0,this.dragging.height=0,this.dragging.difference=0,this.dragging.direction=null,this.dragging.hasMoved=!1)}}},Vs="cubic-bezier(0.32, 0.72, 0, 1)",Bs="ease-out",Us=`transform 0.5s ${Vs}`,Zs=`transform 0.3s ${Bs}`,qs=`opacity 0.5s ${Vs}`,Ks=`opacity 0.3s ${Bs}`,Gs=class extends as{#kt=ut();get el(){return jr(this.#kt)}set el(e){pt(this.#kt,e,!0)}#Et=ut(null);get overlayEl(){return jr(this.#Et)}set overlayEl(e){pt(this.#Et,e,!0)}#It=ut(!1);get isVisible(){return jr(this.#It)}set isVisible(e){pt(this.#It,e,!0)}#Ot=ut(!1);get isClosing(){return jr(this.#Ot)}set isClosing(e){pt(this.#Ot,e,!0)}#At=ut(!1);get willClose(){return jr(this.#At)}set willClose(e){pt(this.#At,e,!0)}#Ct=ut(!1);get uiOpened(){return jr(this.#Ct)}set uiOpened(e){pt(this.#Ct,e,!0)}onClosed=null;snapPoints=[.35,1];fadeFromIndex=0;#zt=ut(0);get activeSnapIndex(){return jr(this.#zt)}set activeSnapIndex(e){pt(this.#zt,e,!0)}get collapsed(){return this.modules.environment.touch&&this.snapPoints.length>1&&0===this.activeSnapIndex}_drawerEl=null;_keyboardHeight=0;isDragging=!1;startY=0;dragStartTime=0;draggedDistance=0;dragDecided=!1;dragAllowed=!1;get drawerEl(){return this._drawerEl}set drawerEl(e){this._drawerEl&&this.detachTouchListeners(),this._drawerEl=e,e&&this.attachTouchListeners()}constructor(){super(),this.storage("opened","fubi_sheet_opened",!1)}start(){this.modules.keys.onPress("m",()=>{!hs()&&this.modules.environment.touch&&this.toggle()}),this.modules.keys.onPress("Escape",()=>{this.opened&&this.close()}),this.on("toolbar:fubi-param-detected",()=>{this.modules.environment.touch&&!this.opened&&this.open()}),window.location.search.includes("fubi")&&this.modules.environment.touch&&!this.opened?this.open():!this.opened||this.modules.environment.touch?this.opened&&(this.modules.dom.scroll.disable({touchOnly:!0}),this.openDrawer()):this.opened=!1}open(){this.opened||(us(),this.opened=!0,this.modules.dom.scroll.disable({touchOnly:!0}),this.modules.toolbar.lastUsedFeature="inbox",this.openDrawer(),this.emit("sheet:opened"))}close(){this.closeDrawer()}toggle(){this[this.opened?"close":"open"]()}focusPageContent(){const e=this.modules.router.current,t=(this.el?.querySelectorAll(`[data-fubi-page="${e}"]`))?.[0]?.querySelector(".page-content");t&&t.focus({preventScroll:!0})}getSnapOffsets(){const e=window.innerHeight;return this.snapPoints.map(t=>e-t*e)}getCurrentTranslateY(){if(!this._drawerEl)return this.offscreenY;const e=getComputedStyle(this._drawerEl).transform;if(!e||"none"===e)return this.offscreenY;const t=e.match(/matrix.*\((.+)\)/);if(!t)return this.offscreenY;const r=t[1].split(", ");return parseFloat(r[r.length-1])||0}setDrawerTransform(e,t){this._drawerEl&&(this._drawerEl.style.transition=t||"none",this._drawerEl.style.transform=`translate3d(0, ${e}px, 0)`)}setOverlay(e,t){this.overlayEl&&(this.overlayEl.style.transition=t||"none",this.overlayEl.style.opacity=String(Math.max(0,Math.min(1,e))))}dampen(e){return 8*(Math.log(e+1)-2)}get transition(){return this.modules.environment.android?Zs:Us}get opacityTransition(){return this.modules.environment.android?Ks:qs}snapTo(e,t=!0){const r=this.getSnapOffsets();if(e<0||e>=r.length)return;this.activeSnapIndex=e,this.setDrawerTransform(r[e],t?this.transition:void 0);const o=e>=this.fadeFromIndex?1:0;this.setOverlay(o,t?this.opacityTransition:void 0)}isInDragHandle(e){let t=e;for(;t&&t!==this._drawerEl;){if(t.hasAttribute("data-fubi-drag-handle"))return!0;t=t.parentElement}return!1}isContentAtTop(e){let t=e;for(;t&&t!==this._drawerEl;){if(t.scrollHeight>t.clientHeight&&t.scrollTop>0)return!1;t=t.parentElement}return!0}get offscreenY(){return window.innerHeight+64}openDrawer(){this.isVisible=!0,this.activeSnapIndex=0,requestAnimationFrame(()=>{this._drawerEl&&(this.setDrawerTransform(this.offscreenY),this._drawerEl.offsetHeight,this.snapTo(0,!0))})}closeDrawer(){if(!this._drawerEl||this.isClosing)return;this.isClosing=!0,this.emit("sheet:closing"),this.setDrawerTransform(this.offscreenY,this.transition),this.setOverlay(0,this.opacityTransition);let e=!1;const t=()=>{e||(e=!0,this._drawerEl?.removeEventListener("transitionend",r),clearTimeout(o),this._keyboardHeight=0,this.opened=!1,this.isVisible=!1,this.isClosing=!1,this.modules.dom.scroll.enable(),this.onClosed?.(),this.onClosed=null)},r=e=>{e.target===this._drawerEl&&t()};this._drawerEl.addEventListener("transitionend",r);const o=setTimeout(t,600)}onTouchStart=e=>{!this.isClosing&&this._drawerEl&&(this.startY=e.touches[0].clientY,this.dragStartTime=Date.now(),this.draggedDistance=0,this.isDragging=!0,this.dragDecided=!1,this.dragAllowed=!1,this.willClose=!1)};onTouchMove=e=>{if(!this.isDragging||!this._drawerEl||this.isClosing)return;const t=e.touches[0].clientY-this.startY,r=Math.abs(t);if(!this.dragDecided){if(r<8)return;this.dragDecided=!0;const o=this.getSnapOffsets(),i=o[o.length-1],n=t>0;if(this.getCurrentTranslateY()>i+1)this.dragAllowed=!0;else{if(!n||!this.isInDragHandle(e.target)&&!this.isContentAtTop(e.target))return this.dragAllowed=!1,void(this.isDragging=!1);this.dragAllowed=!0}}if(!this.dragAllowed)return;e.preventDefault();const o=this.getSnapOffsets(),i=o[this.activeSnapIndex],n=i+t,s=o[o.length-1];if(n<s){const e=s-n;this.setDrawerTransform(s-this.dampen(e))}else this.setDrawerTransform(Math.max(0,n));this.draggedDistance=-t;const a=o[0],l=window.innerHeight-a,c=n-a;if(this.willClose=0===this.activeSnapIndex&&l>0&&c/l>.25,this.snapPoints.length>0&&this.fadeFromIndex<o.length){const e=Math.max(0,i+t),r=o[0],n=o[this.fadeFromIndex];if(r!==n){const t=1-(e-n)/(r-n);this.setOverlay(Math.max(0,Math.min(1,t)))}else this.setOverlay(e<=n?1:0)}};onTouchEnd=e=>{if(this.willClose=!1,!this.isDragging||!this.dragAllowed||!this._drawerEl)return void(this.isDragging=!1);this.isDragging=!1;const t=Date.now()-this.dragStartTime,r=1e3*Math.abs(this.draggedDistance/Math.max(t,1)),o=this.getCurrentTranslateY(),i=this.getSnapOffsets();if(r>500&&this.draggedDistance<0)return void(0===this.activeSnapIndex?this.close():this.snapTo(Math.max(0,this.activeSnapIndex-1)));if(r>500&&this.draggedDistance>0)return void this.snapTo(Math.min(i.length-1,this.activeSnapIndex+1));let n=0,s=1/0;for(let l=0;l<i.length;l++){const e=Math.abs(i[l]-o);e<s&&(s=e,n=l)}const a=i[0];if(0===this.activeSnapIndex&&o>a){const e=window.innerHeight-a;if(e>0&&(o-a)/e>.25)return void this.close()}this.snapTo(n)};attachTouchListeners(){this._drawerEl&&(this.modules.events.add("touchstart",this.onTouchStart,{target:this._drawerEl,passive:!0}),this.modules.events.add("touchmove",this.onTouchMove,{target:this._drawerEl,passive:!1}),this.modules.events.add("touchend",this.onTouchEnd,{target:this._drawerEl,passive:!0}),this.attachKeyboardListener())}detachTouchListeners(){this._drawerEl&&(this.modules.events.remove("touchstart",this.onTouchStart,{target:this._drawerEl}),this.modules.events.remove("touchmove",this.onTouchMove,{target:this._drawerEl}),this.modules.events.remove("touchend",this.onTouchEnd,{target:this._drawerEl}),this.detachKeyboardListener())}onViewportResize=()=>{const e=window.visualViewport;this._drawerEl&&e&&(this._keyboardHeight=window.innerHeight-e.height,this._keyboardHeight>50?(this._drawerEl.style.transition="none",this._drawerEl.style.height=e.height-8+"px",this._drawerEl.style.bottom="0px",this._drawerEl.style.transform="translate3d(0, 0, 0)"):(this._drawerEl.style.transition="none",this._drawerEl.style.height="calc(100dvh - 8px)",this._drawerEl.style.bottom="0px",this.snapTo(this.activeSnapIndex,!1)))};attachKeyboardListener(){const e=window.visualViewport;e&&(e.addEventListener("resize",this.onViewportResize),e.addEventListener("scroll",this.onViewportResize))}detachKeyboardListener(){const e=window.visualViewport;e&&(e.removeEventListener("resize",this.onViewportResize),e.removeEventListener("scroll",this.onViewportResize))}},Xs=class extends as{#Pt=ut(!1);get touch(){return jr(this.#Pt)}set touch(e){pt(this.#Pt,e,!0)}#Ft=ut(!1);get android(){return jr(this.#Ft)}set android(e){pt(this.#Ft,e,!0)}constructor(){super(),this.touch=window.matchMedia("(pointer: coarse)").matches,this.android="Android"===navigator.userAgentData?.platform||/Android/.test(navigator.userAgent)}start(){this.android&&this.modules.toolbar.wrapper?.classList.add("android")}},Ys=e=>e;function Js(e){const t=e-1;return t*t*t+1}function Qs(e){const t="string"==typeof e&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}function ea(e,{delay:t=0,duration:r=400,easing:o=Ys}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:o,css:e=>"opacity: "+e*i}}function ta(e,{delay:t=0,duration:r=400,easing:o=Js,x:i=0,y:n=0,opacity:s=0}={}){const a=getComputedStyle(e),l=+a.opacity,c="none"===a.transform?"":a.transform,d=l*(1-s),[u,h]=Qs(i),[p,g]=Qs(n);return{delay:t,duration:r,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${c} translate(${(1-e)*u}${h}, ${(1-e)*p}${g});\n\t\t\topacity: ${l-d*t}`}}var ra=!1;function oa(e,{delay:r=0,duration:o=400,easing:i=Js,axis:n="y"}={}){const s=getComputedStyle(e);t&&!ra&&/(contents|inline|table)/.test(s.display)&&(ra=!0,Promise.resolve().then(()=>ra=!1),s.display);const a=+s.opacity,l="y"===n?"height":"width",c=parseFloat(s[l]),d="y"===n?["top","bottom"]:["left","right"],u=d.map(e=>`${e[0].toUpperCase()}${e.slice(1)}`),h=parseFloat(s[`padding${u[0]}`]),p=parseFloat(s[`padding${u[1]}`]),g=parseFloat(s[`margin${u[0]}`]),f=parseFloat(s[`margin${u[1]}`]),m=parseFloat(s[`border${u[0]}Width`]),v=parseFloat(s[`border${u[1]}Width`]);return{delay:r,duration:o,easing:i,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*a};${l}: ${e*c}px;padding-${d[0]}: ${e*h}px;padding-${d[1]}: ${e*p}px;margin-${d[0]}: ${e*g}px;margin-${d[1]}: ${e*f}px;border-${d[0]}-width: ${e*m}px;border-${d[1]}-width: ${e*v}px;min-${l}: 0`}}function ia(e,{delay:t=0,duration:r=400,easing:o=Js,start:i=0,opacity:n=0}={}){const s=getComputedStyle(e),a=+s.opacity,l="none"===s.transform?"":s.transform,c=1-i,d=a*(1-n);return{delay:t,duration:r,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${l} scale(${1-c*t});\n\t\t\topacity: ${a-d*t}\n\t\t`}}function na(e,t){for(const r in t)e[r]=t[r];return e}var sa=po('<div><div data-lenis-prevent=""><!></div> <div class="glass android:!shadow-none fixed z-[10] top-0 left-0 w-full h-full touch:h-[calc(100%+1px)] pointer-events-none superellipse rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none select-none touch:mask-b-from-0% bg-neutral-900/1 android:hidden"></div></div>');function aa(e,t){ue(t,!0);const{win:r,router:o,sheet:i,environment:n}=Zx();let s=Ui(t,"name",3,""),a=Ui(t,"navbar",3,!0);Ui(t,"visible",3,!1),Ui(t,"navigating",3,!1),Ui(t,"direction",3,"forward");let l=ut(void 0);const c=new ns({element:()=>jr(l),onScroll:()=>{r.contentScrollState=c}});let d=Qe(()=>o.current===s()),u=Qe(()=>o.previous===s()),h=Qe(()=>o.next===s());Kt(()=>{jr(d)&&(r.contentScrollState=c)});var p=sa(),g=Ot(p);Ro(Ot(g),()=>t.children),q(g),Di(g,e=>pt(l,e),()=>jr(l)),K(2),q(p),er(()=>{Li(p,"data-fubi-page",s()),p.inert=!jr(d),ci(p,1,ni(["page superellipse flex min-w-full w-full flex-col rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none h-full overflow-clip","mouse:bg-linear-to-b mouse:from-neutral-800 mouse:to-neutral-900 mouse:from-10%","touch:bg-neutral-900","transition-[translate,scale,opacity] ease-out-cubic duration-500 top-0",jr(d)&&"page-current",jr(u)&&"page-previous",jr(h)&&"page-next"])),ci(g,1,ni(["relative overflow-auto overscroll-contain hide-scrollbar flex flex-col h-full superellipse rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none",a()&&!i.collapsed&&"pt-(--fubi-navbar-height) touch:pt-(--fubi-navbar-height-touch)","transition-opacity duration-400 ease-out-cubic",i.willClose&&"opacity-30"]))}),bo(e,p),he()}var la=fo('<svg><path fill="currentColor" d="M0 21.76c12.018 0 21.76-9.742 21.76-21.76H32c0 17.673-14.327 32-32 32zM64 21.76c-12.018 0-21.76-9.742-21.76-21.76H32c0 17.673 14.327 32 32 32zM0 42.24c12.018 0 21.76 9.742 21.76 21.76H32c0-17.673-14.327-32-32-32zM64 42.24c-12.018 0-21.76 9.742-21.76 21.76H32c0-17.673 14.327-32 32-32z"></path></svg>'),ca=fo('<svg><path d="M0 23.8c13.144 0 23.8-10.656 23.8-23.8H35c0 19.33-15.67 35-35 35zM70 23.8C56.856 23.8 46.2 13.144 46.2 0H35c0 19.33 15.67 35 35 35zM0 46.2c13.144 0 23.8 10.656 23.8 23.8H35c0-19.33-15.67-35-35-35zM70 46.2c-13.144 0-23.8 10.656-23.8 23.8H35c0-19.33 15.67-35 35-35z"></path><path d="M145.907 42.414q0 6.105 1.814 9.118c1.209 1.958 3.056 2.931 5.53 2.931 1.477 0 2.763-.372 3.869-1.11s2.054-1.772 2.844-3.09q1.183-1.986 1.738-4.677c.419-1.8.659-3.724.714-5.786V21.559h11.371v41.229h-9.165l-.081-13.001h-1.422c-.79 3.276-1.788 5.973-3.003 8.09q-1.74 3.09-4.5 4.599-2.688 1.428-6.478 1.428l.005-.006q-7.267-.002-10.979-4.917-3.635-4.997-3.634-15.145V21.559h11.377z"></path><path fill-rule="evenodd" d="M189.418 19.732q.002 1.902-.234 4.124a46 46 0 0 1-.708 4.441q-.392 2.297-.866 4.758h1.738c.681-2.647 1.602-4.916 2.762-6.82 1.215-1.958 2.741-3.435 4.582-4.441q2.763-1.585 6.555-1.586 5.214-.001 9.006 2.696 3.794 2.7 5.847 7.614h-.006c1.422 3.276 2.131 7.269 2.131 11.655q-.002 6.581-2.055 11.497-2.049 4.833-5.922 7.531c-2.528 1.8-5.552 2.697-9.083 2.697-2.632 0-4.92-.498-6.871-1.504q-2.925-1.583-4.74-4.518-1.815-2.937-2.528-7.137h-1.504l-.081 12.049h-9.399V6.096h11.376zm9.96 9.68q-1.897-.001-3.476.712a8.6 8.6 0 0 0-2.762 1.98 12.2 12.2 0 0 0-2.054 2.773 11.7 11.7 0 0 0-1.264 3.172 13.8 13.8 0 0 0-.392 3.172v1.505c0 1.214.18 2.538.55 3.965.37 1.373.948 2.67 1.738 3.883a10.5 10.5 0 0 0 3.078 2.855q1.816 1.11 4.343 1.11c1.896 0 3.531-.497 4.898-1.504 1.368-1.055 2.425-2.537 3.16-4.44v.005q1.105-2.855 1.106-6.662-.001-3.807-1.106-6.58c-.686-1.848-1.684-3.304-3.002-4.36q-1.971-1.584-4.817-1.585" clip-rule="evenodd"></path><path d="M134.47 15.848h-30.599V32.58h24.911v9.752h-24.911v20.456H92.5V6.096h41.97zM234.451 62.788h-11.377v-41.23h11.377zM228.763 6.096c3.141 0 5.688 2.557 5.688 5.71s-2.547 5.71-5.688 5.71c-3.142 0-5.689-2.556-5.689-5.71s2.547-5.71 5.689-5.71"></path></svg>'),da=po("<div><!></div>");function ua(e,t){var r=da();Ro(Ot(r),()=>t.children),q(r),er(()=>ci(r,1,`flex flex-col w-full relief rounded-[16px] superellipse glass-pressed ${t.class}`)),bo(e,r)}var ha=fo('<svg xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="white" stroke-opacity="0.1" stroke-linecap="round"></circle><circle fill="none" stroke="currentColor" stroke-linecap="round"></circle></svg>');function pa(e,t){ue(t,!0);let r=Ui(t,"progress",3,0),o=Ui(t,"radius",3,12),i=Ui(t,"stroke",3,4),n=Ui(t,"colorful",3,!0),s=new Fs(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*jr(a)),c=Qe(()=>o()+i()),d=Qe(()=>2*(o()+i())),u=Qe(()=>n()?s.current<20?"text-rose-500":s.current<40?"text-orange-500":s.current<60?"text-amber-400":s.current<80?"text-lime-400":"text-green-400":"text-green-400");Qn(()=>r(),()=>{s.set(r())});var h=ha(),p=Ot(h),g=zt(p);q(h),er(()=>{Li(h,"width",jr(d)),Li(h,"height",jr(d)),Li(h,"viewBox",`0 0 ${jr(d)} ${jr(d)}`),ci(h,0,ni(["-rotate-90 shrink-0 transition-colors duration-200",jr(u)])),Li(p,"cx",jr(c)),Li(p,"cy",jr(c)),Li(p,"r",o()),Li(p,"stroke-width",i()),ci(g,0,ni(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Li(g,"cx",jr(c)),Li(g,"cy",jr(c)),Li(g,"r",o()),Li(g,"stroke-width",i()),Li(g,"stroke-dasharray",`${jr(l)} ${jr(a)}`)}),bo(e,h),he()}function ga(e){return null!==e&&"object"==typeof e}var fa=["string","number","bigint","boolean"];function ma(e){return null==e||!!fa.includes(typeof e)||(Array.isArray(e)?e.every(e=>ma(e)):"object"==typeof e&&Object.getPrototypeOf(e)===Object.prototype)}var va=Symbol("box"),ba=Symbol("is-writable");function wa(e,t){const r=Qe(e);return t?{[va]:!0,[ba]:!0,get current(){return jr(r)},set current(e){t(e)}}:{[va]:!0,get current(){return e()}}}function ya(e){return ga(e)&&va in e}function xa(e){return ya(e)&&ba in e}function ka(e){return ya(e)?e:function(e){return"function"==typeof e}(e)?wa(e):Ca(e)}function Ca(e){let t=ut(wt(e));return{[va]:!0,[ba]:!0,get current(){return jr(t)},set current(e){pt(t,e,!0)}}}function La(e){let t=ut(wt(e));return{[va]:!0,[ba]:!0,get current(){return jr(t)},set current(e){pt(t,e,!0)}}}function Sa(...e){return function(t){for(const r of e)if(r){if(t.defaultPrevented)return;"function"==typeof r?r.call(this,t):r.current?.call(this,t)}}}La.from=ka,La.with=wa,La.flatten=function(e){return Object.entries(e).reduce((e,[t,r])=>ya(r)?(xa(r)?Object.defineProperty(e,t,{get:()=>r.current,set(e){r.current=e}}):Object.defineProperty(e,t,{get:()=>r.current}),e):Object.assign(e,{[t]:r}),{})},La.readonly=function(e){return xa(e)?{[va]:!0,get current(){return e.current}}:e},La.isBox=ya,La.isWritableBox=xa;var Ma=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,$a=/\n/g,Ta=/^\s*/,_a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ea=/^:\s*/,Ia=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Oa=/^[;\s]*/,Aa=/^\s+|\s+$/g,za="";function Pa(e){return e?e.replace(Aa,za):za}var Fa=/\d/,Na=["-","_","/","."];function Ha(e=""){if(!Fa.test(e))return e!==e.toLowerCase()}function Da(e){return e?function(e){const t=[];let r,o,i="";for(const n of e){const e=Na.includes(n);if(!0===e){t.push(i),i="",r=void 0;continue}const s=Ha(n);if(!1===o){if(!1===r&&!0===s){t.push(i),i=n,r=s;continue}if(!0===r&&!1===s&&i.length>1){const e=i.at(-1);t.push(i.slice(0,Math.max(0,i.length-1))),i=e+n,r=s;continue}}i+=n,r=s,o=e}return t.push(i),t}(e).map(e=>function(e){return e?e[0].toUpperCase()+e.slice(1):""}(e)).join(""):""}function ja(e){if(!e)return{};const t={};return function(e,t){let r=null;if(!e||"string"!=typeof e)return r;const o=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,o=1;function i(e){var t=e.match($a);t&&(r+=t.length);var i=e.lastIndexOf("\n");o=~i?e.length-i:o+e.length}function n(){var e={line:r,column:o};return function(t){return t.position=new s(e),c(),t}}function s(e){this.start=e,this.end={line:r,column:o},this.source=t.source}function a(i){var n=/* @__PURE__ */new Error(t.source+":"+r+":"+o+": "+i);if(n.reason=i,n.filename=t.source,n.line=r,n.column=o,n.source=e,!t.silent)throw n}function l(t){var r=t.exec(e);if(r){var o=r[0];return i(o),e=e.slice(o.length),r}}function c(){l(Ta)}function d(e){var t;for(e=e||[];t=u();)!1!==t&&e.push(t);return e}function u(){var t=n();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;za!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,za===e.charAt(r-1))return a("End of comment missing");var s=e.slice(2,r-2);return o+=2,i(s),e=e.slice(r),o+=2,t({type:"comment",comment:s})}}function h(){var e=n(),t=l(_a);if(t){if(u(),!l(Ea))return a("property missing ':'");var r=l(Ia),o=e({type:"declaration",property:Pa(t[0].replace(Ma,za)),value:r?Pa(r[0].replace(Ma,za)):za});return l(Oa),o}}return s.prototype.content=e,c(),function(){var e,t=[];for(d(t);e=h();)!1!==e&&(t.push(e),d(t));return t}()}(e),i="function"==typeof t;o.forEach(e=>{if("declaration"!==e.type)return;const{property:o,value:n}=e;i?t(o,n,e):n&&(r=r||{},r[o]=n)})}(e,function(e,r){var o;e.startsWith("-moz-")||e.startsWith("-webkit-")||e.startsWith("-ms-")||e.startsWith("-o-")?t[Da(e)]=r:e.startsWith("--")?t[e]=r:t[(o=e,function(e){return e?e[0].toLowerCase()+e.slice(1):""}(Da(o||"")))]=r}),t}function Ra(...e){return(...t)=>{for(const r of e)"function"==typeof r&&r(...t)}}var Wa=function(e,t){const r=RegExp(/[A-Z]/,"g");return e=>{if("string"!=typeof e)throw new TypeError("expected an argument of type string, but got "+typeof e);return e.match(r)?e.replace(r,t):e}}(0,e=>`-${e.toLowerCase()}`);function Va(e={}){return function(e){if(!e||"object"!=typeof e||Array.isArray(e))throw new TypeError("expected an argument of type object, but got "+typeof e);return Object.keys(e).map(t=>`${Wa(t)}: ${e[t]};`).join("\n")}(e).replace("\n"," ")}var Ba=new Set(["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"]);function Ua(e){return Ba.has(e)}function Za(...e){const t={...e[0]};for(let r=1;r<e.length;r++){const o=e[r];if(o){for(const e of Object.keys(o)){const r=t[e],i=o[e],n="function"==typeof r,s="function"==typeof i;if(n&&Ua(e))t[e]=Sa(r,i);else if(n&&s)t[e]=Ra(r,i);else if("class"===e){const o=ma(r),n=ma(i);o&&n?t[e]=ii(r,i):o?t[e]=ii(r):n&&(t[e]=ii(i))}else if("style"===e){const o="object"==typeof r,n="object"==typeof i,s="string"==typeof r,a="string"==typeof i;if(o&&n)t[e]={...r,...i};else if(o&&a){const o=ja(i);t[e]={...r,...o}}else if(s&&n)t[e]={...ja(r),...i};else if(s&&a){const o=ja(r),n=ja(i);t[e]={...o,...n}}else o?t[e]=r:n?t[e]=i:s?t[e]=r:a&&(t[e]=i)}else t[e]=void 0!==i?i:r}for(const e of Object.getOwnPropertySymbols(o)){const r=t[e],i=o[e];t[e]=void 0!==i?i:r}}}return"object"==typeof t.style&&(t.style=Va(t.style).replaceAll("\n"," ")),!1===t.hidden&&(t.hidden=void 0,delete t.hidden),!1===t.disabled&&(t.disabled=void 0,delete t.disabled),t}var qa=Va({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",transform:"translateX(-100%)"});function Ka(e){Kt(()=>()=>{e()})}function Ga(e){Kt(()=>Vr(()=>e()))}function Xa(e){Dr().then(e)}function Ya(e){return ga(e)&&1===e.nodeType&&"string"==typeof e.nodeName}function Ja(e){return ga(e)&&9===e.nodeType}function Qa(e){return function(e){return ga(e)&&void 0!==e.nodeType}(e)&&11===e.nodeType&&"host"in e}function el(e){return Ja(e)?e:function(e){return ga(e)&&"VisualViewport"===e.constructor?.name}(e)?e.document:e?.ownerDocument??document}function tl(e){return Qa(e)?tl(e.host):Ja(e)?e.defaultView??window:Ya(e)?e.ownerDocument?.defaultView??window:window}var rl=class{element;#Nt=Qe(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return jr(this.#Nt)}set root(e){pt(this.#Nt,e)}constructor(e){this.element="function"==typeof e?wa(e):e}getDocument=()=>el(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>function(e){let t=e.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}(this.root);isActiveElement=e=>e===this.getActiveElement();getElementById(e){return this.root.getElementById(e)}querySelector=e=>this.root?this.root.querySelector(e):null;querySelectorAll=e=>this.root?this.root.querySelectorAll(e):[];setTimeout=(e,t)=>this.getWindow().setTimeout(e,t);clearTimeout=e=>this.getWindow().clearTimeout(e)};function ol(e,t){return{[Br()]:r=>ya(e)?(e.current=r,Vr(()=>t?.(r)),()=>{"isConnected"in r&&r.isConnected||(e.current=null,t?.(null))}):(e(r),Vr(()=>t?.(r)),()=>{"isConnected"in r&&r.isConnected||(e(null),t?.(null))})}}var il="undefined"!=typeof window?window:void 0;"undefined"!=typeof window&&window.document,"undefined"!=typeof window&&window.navigator,"undefined"!=typeof window&&window.location,new class{#X;#Y;constructor(e={}){const{window:t=il,document:r=t?.document}=e;void 0!==t&&(this.#X=r,this.#Y=Ue(e=>{const r=io(t,"focusin",e),o=io(t,"focusout",e);return()=>{r(),o()}}))}get current(){return this.#Y?.(),this.#X?function(e){let t=e.activeElement;for(;t?.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}(this.#X):null}};var nl=class{#Ht;#le;constructor(e){this.#Ht=e,this.#le=Symbol(e)}get key(){return this.#le}exists(){return function(e){return pe("hasContext").has(e)}(this.#le)}get(){const e=ce(this.#le);if(void 0===e)throw new Error(`Context "${this.#Ht}" not found`);return e}getOr(e){const t=ce(this.#le);return void 0===t?e:t}set(e){return de(this.#le,e)}};function sl(e,t,r,o={}){const{lazy:i=!1}=o;let n=!i,s=Array.isArray(e)?[]:void 0;!function(e,t){switch(e){case"post":Kt(t);break;case"pre":Xt(t)}}(t,()=>{const t=Array.isArray(e)?e.map(e=>e()):e();if(!n)return n=!0,void(s=t);const o=Vr(()=>r(t,s));return s=t,o})}function al(e,t,r){sl(e,"post",t,r)}function ll(e){return function(e){return"function"==typeof e}(e)?e():e}al.pre=function(e,t,r){sl(e,"pre",t,r)};var cl=class{#Z={width:0,height:0};#Dt=!1;#W;#jt;#ne;#Rt=Qe(()=>(jr(this.#Y)?.(),this.getSize().width));#Wt=Qe(()=>(jr(this.#Y)?.(),this.getSize().height));#Y=Qe(()=>{const e=ll(this.#jt);if(e)return Ue(t=>{if(!this.#ne)return;const r=new this.#ne.ResizeObserver(e=>{this.#Dt=!0;for(const t of e){const e="content-box"===this.#W.box?t.contentBoxSize:t.borderBoxSize,r=Array.isArray(e)?e:[e];this.#Z.width=r.reduce((e,t)=>Math.max(e,t.inlineSize),0),this.#Z.height=r.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return r.observe(e),()=>{this.#Dt=!1,r.disconnect()}})});constructor(e,t={box:"border-box"}){this.#ne=t.window??il,this.#W=t,this.#jt=e,this.#Z={width:0,height:0}}calculateSize(){const e=ll(this.#jt);if(!e||!this.#ne)return;const t=e.offsetWidth,r=e.offsetHeight;if("border-box"===this.#W.box)return{width:t,height:r};const o=this.#ne.getComputedStyle(e),i=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),n=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom);return{width:t-i-(parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth)),height:r-n-(parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth))}}getSize(){return this.#Dt?this.#Z:this.calculateSize()??this.#Z}get current(){return jr(this.#Y)?.(),this.getSize()}get width(){return jr(this.#Rt)}get height(){return jr(this.#Wt)}},dl=class{#Vt=()=>{};#Bt=Qe(()=>this.#Vt());constructor(e,t){let r;void 0!==t&&(r=t),this.#Vt=()=>{try{return r}finally{r=e()}}}get current(){return jr(this.#Bt)}};function ul(e){return e?"true":"false"}function hl(e){return e?"":void 0}function pl(e){return!!e||void 0}function gl(e){return e?"open":"closed"}var fl=class{#Ut;#Zt;attrs;constructor(e){this.#Ut=e.getVariant?e.getVariant():null,this.#Zt=this.#Ut?`data-${this.#Ut}-`:`data-${e.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${this.#Zt}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function ml(e){const t=new fl(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var vl="ArrowDown",bl="ArrowLeft",wl="ArrowRight",yl="ArrowUp",xl="Home",kl="PageDown",Cl="PageUp";function Ll(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?bl:wl,vertical:vl}[t]}function Sl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?wl:bl,vertical:yl}[t]}var Ml="undefined"!=typeof document,$l=Ml&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent));function Tl(e){return e instanceof HTMLElement}function _l(e){return e instanceof Element}function El(e){return e instanceof Element||e instanceof SVGElement}function Il(e){return"touch"===e.pointerType}function Ol(e){return null!==e}var Al=class{#qt;#Kt=La(null);constructor(e){this.#qt=e}getCandidateNodes(){return this.#qt.rootNode.current?this.#qt.candidateSelector?Array.from(this.#qt.rootNode.current.querySelectorAll(this.#qt.candidateSelector)):this.#qt.candidateAttr?Array.from(this.#qt.rootNode.current.querySelectorAll(`[${this.#qt.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){const e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,t,r=!1){const o=this.#qt.rootNode.current;if(!o||!e)return;const i=this.getCandidateNodes();if(!i.length)return;const n=i.indexOf(e),{nextKey:s,prevKey:a}=function(e="ltr",t="horizontal"){return["ltr","rtl"].includes(e)||(e="ltr"),["horizontal","vertical"].includes(t)||(t="horizontal"),{nextKey:Ll(e,t),prevKey:Sl(e,t)}}((l=o,window.getComputedStyle(l).getPropertyValue("direction")),this.#qt.orientation.current);var l;const c=this.#qt.loop.current,d={[s]:n+1,[a]:n-1,[xl]:0,End:i.length-1};if(r){const e="ArrowUp"===a?bl:yl;d["ArrowDown"===s?wl:vl]=n+1,d[e]=n-1}let u=d[t.key];if(void 0===u)return;t.preventDefault(),u<0&&c?u=i.length-1:u===i.length&&c&&(u=0);const h=i[u];return h?(h.focus(),this.#Kt.current=h.id,this.#qt.onCandidateFocus?.(h),h):void 0}getTabIndex(e){const t=this.getCandidateNodes(),r=null!==this.#Kt.current;return e&&!r&&t[0]===e?(this.#Kt.current=e.id,0):e?.id===this.#Kt.current?0:-1}setCurrentTabStopId(e){this.#Kt.current=e}focusCurrentTabStop(){const e=this.#Kt.current;if(!e)return;const t=this.#qt.rootNode.current?.querySelector(`#${e}`);t&&Tl(t)&&t.focus()}},zl=class{#qt;#Gt=null;constructor(e){this.#qt=e,Ka(()=>this.#Xt())}#Xt(){this.#Gt&&(window.cancelAnimationFrame(this.#Gt),this.#Gt=null)}run(e){this.#Xt();const t=this.#qt.ref.current;t&&("function"==typeof t.getAnimations?this.#Gt=window.requestAnimationFrame(()=>{const r=t.getAnimations();0!==r.length?Promise.allSettled(r.map(e=>e.finished)).then(()=>{this.#Yt(e)}):this.#Yt(e)}):this.#Yt(e))}#Yt(e){const t=()=>{e()};this.#qt.afterTick?Xa(t):t()}},Pl=class{#qt;#Jt;#Qt;#er=ut(!1);constructor(e){this.#qt=e,pt(this.#er,e.open.current,!0),this.#Jt=e.enabled??!0,this.#Qt=new zl({ref:this.#qt.ref,afterTick:this.#qt.open}),al(()=>this.#qt.open.current,e=>{e&&pt(this.#er,!0),this.#Jt&&this.#Qt.run(()=>{e===this.#qt.open.current&&(this.#qt.open.current||pt(this.#er,!1),this.#qt.onComplete?.())})})}get shouldRender(){return jr(this.#er)}};function Fl(){}function Nl(e,t){return void 0===t?`bits-${e}`:`bits-${e}-${t}`}var Hl=ml({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Dl=new nl("Dialog.Root | AlertDialog.Root"),jl=class e{static create(t){const r=Dl.getOr(null);return Dl.set(new e(t,r))}opts;#tr=ut(null);get triggerNode(){return jr(this.#tr)}set triggerNode(e){pt(this.#tr,e,!0)}#rr=ut(null);get contentNode(){return jr(this.#rr)}set contentNode(e){pt(this.#rr,e,!0)}#or=ut(null);get overlayNode(){return jr(this.#or)}set overlayNode(e){pt(this.#or,e,!0)}#ir=ut(null);get descriptionNode(){return jr(this.#ir)}set descriptionNode(e){pt(this.#ir,e,!0)}#nr=ut(void 0);get contentId(){return jr(this.#nr)}set contentId(e){pt(this.#nr,e,!0)}#sr=ut(void 0);get titleId(){return jr(this.#sr)}set titleId(e){pt(this.#sr,e,!0)}#ar=ut(void 0);get triggerId(){return jr(this.#ar)}set triggerId(e){pt(this.#ar,e,!0)}#lr=ut(void 0);get descriptionId(){return jr(this.#lr)}set descriptionId(e){pt(this.#lr,e,!0)}#cr=ut(null);get cancelNode(){return jr(this.#cr)}set cancelNode(e){pt(this.#cr,e,!0)}#dr=ut(0);get nestedOpenCount(){return jr(this.#dr)}set nestedOpenCount(e){pt(this.#dr,e,!0)}depth;parent;contentPresence;overlayPresence;constructor(e,t){this.opts=e,this.parent=t,this.depth=t?t.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Pl({ref:wa(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Pl({ref:wa(()=>this.overlayNode),open:this.opts.open,enabled:!0}),al(()=>this.opts.open.current,e=>{this.parent&&(e?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),Ka(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=e=>Hl.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){0!==this.nestedOpenCount&&(this.nestedOpenCount--,this.parent?.decrementNested())}#ur=Qe(()=>({"data-state":gl(this.opts.open.current)}));get sharedProps(){return jr(this.#ur)}set sharedProps(e){pt(this.#ur,e)}},Rl=class e{static create(t){return new e(t,Dl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>{this.root.triggerNode=e,this.root.triggerId=e?.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleOpen()}onkeydown(e){this.opts.disabled.current||" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.root.handleOpen())}#f=Qe(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ul(this.root.opts.open.current),"aria-controls":this.root.contentId,[this.root.getBitsAttr("trigger")]:"",onkeydown:this.onkeydown,onclick:this.onclick,disabled:!!this.opts.disabled.current||void 0,...this.root.sharedProps,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Wl=class e{static create(t){return new e(t,Dl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.root.handleClose())}#f=Qe(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:!!this.opts.disabled.current||void 0,tabindex:0,...this.root.sharedProps,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Vl=class e{static create(t){return new e(t,Dl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>{this.root.contentNode=e,this.root.contentId=e?.id})}#hr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,role:"alert-dialog"===this.root.opts.variant.current?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:"alert-dialog"===this.root.opts.variant.current?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:"alert-dialog"===this.root.opts.variant.current?-1:void 0,"data-nested-open":hl(this.root.nestedOpenCount>0),"data-nested":hl(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},Bl=class e{static create(t){return new e(t,Dl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.overlayNode=e)}#hr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":hl(this.root.nestedOpenCount>0),"data-nested":hl(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};function Ul(e,t){var r=vo();Oo(At(r),()=>t.children,e=>{var r=vo();Ro(At(r),()=>t.children??g),bo(e,r)}),bo(e,r)}var Zl=new nl("BitsConfig"),ql=class{opts;constructor(e,t){const r=function(e,t){return r=>wa(()=>{const o=r(t)?.current;return void 0!==o?o:null!==e?r(e.opts)?.current:void 0})}(e,t);this.opts={defaultPortalTo:r(e=>e.defaultPortalTo),defaultLocale:r(e=>e.defaultLocale)}}};function Kl(e,t){return r=>{const o=function(){const e=new ql(null,{});return Zl.getOr(e).opts}();return wa(()=>{const i=r();if(void 0!==i)return i;const n=e(o).current;return void 0!==n?n:t})}}Kl(e=>e.defaultLocale,"en");var Gl=Kl(e=>e.defaultPortalTo,"body");function Xl(e,r){ue(r,!0);const o=Gl(()=>r.to),i=pe("getAllContexts");let n,s=Qe(function(){if(!Ml||r.disabled)return null;let e=null;if("string"==typeof o.current){const r=document.querySelector(o.current);if(t&&null===r)throw new Error(`Target element "${o.current}" not found.`);e=r}else e=o.current;if(t&&!(e instanceof Element))throw new TypeError(`Unknown portal target type: ${null===e?"null":typeof e}. Allowed types: string (query selector) or Element.`);return e});function a(){n&&($o(n),n=null)}al([()=>jr(s),()=>r.disabled],([e,t])=>{if(e&&!t)return n=Co(Ul,{target:e,props:{children:r.children},context:i}),()=>{a()};a()});var l=vo(),c=At(l),d=e=>{var t=vo();Ro(At(t),()=>r.children??g),bo(e,t)};_o(c,e=>{r.disabled&&e(d)}),bo(e,l),he()}function Yl(e,t=500){let r=null;const o=(...o)=>{null!==r&&clearTimeout(r),r=setTimeout(()=>{e(...o)},t)};return o.destroy=()=>{null!==r&&(clearTimeout(r),r=null)},o}function Jl(e,t){return e===t||e.contains(t)}function Ql(e){return e?.ownerDocument??document}var ec=["Enter"," "],tc=[yl,kl,"End"],rc=[vl,Cl,xl,...tc];function oc(e){return"mouse"===e.pointerType}function ic(e,{select:t=!1}={}){if(!e||!e.focus)return;const r=el(e);if(r.activeElement===e)return;const o=r.activeElement;e.focus({preventScroll:!0}),e!==o&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}var nc=ut(!1),sc=class e{static _refs=0;static _cleanup;constructor(){Kt(()=>(0===e._refs&&(e._cleanup=Yt(()=>{const e=[],t=e=>{pt(nc,!1)};return e.push(io(document,"pointerdown",t,{capture:!0}),io(document,"pointermove",t,{capture:!0}),io(document,"keydown",e=>{pt(nc,!0)},{capture:!0})),Ra(...e)})),e._refs++,()=>{e._refs--,0===e._refs&&(pt(nc,!1),e._cleanup?.())}))}get current(){return jr(nc)}set current(e){pt(nc,e,!0)}},ac=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],lc=/* @__PURE__ */ac.join(","),cc="undefined"==typeof Element,dc=cc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,uc=!cc&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},hc=function(e,t){var r;void 0===t&&(t=!0);var o=null==e||null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===o||"true"===o||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):hc(e.parentNode))},pc=function(e,t,r){if(hc(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(lc));return t&&dc.call(e,lc)&&o.unshift(e),o.filter(r)},gc=function(e,t,r){for(var o=[],i=Array.from(e);i.length;){var n=i.shift();if(!hc(n,!1))if("SLOT"===n.tagName){var s=n.assignedElements(),a=gc(s.length?s:n.children,!0,r);r.flatten?o.push.apply(o,a):o.push({scopeParent:n,candidates:a})}else{dc.call(n,lc)&&r.filter(n)&&(t||!e.includes(n))&&o.push(n);var l=n.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(n),c=!hc(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(n));if(l&&c){var d=gc(!0===l?n.children:l.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:n,candidates:d})}else i.unshift.apply(i,n.children)}}return o},fc=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},mc=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!fc(e)?0:e.tabIndex},vc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},bc=function(e){return"INPUT"===e.tagName},wc=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return 0===r&&0===o},yc=function(e,t){return!(t.disabled||function(e){return bc(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,o=t.getShadowRoot;if("full-native"===r&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var i=dc.call(e,"details>summary:first-of-type")?e.parentElement:e;if(dc.call(i,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"full-native"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return wc(e)}else{if("function"==typeof o){for(var n=e;e;){var s=e.parentElement,a=uc(e);if(s&&!s.shadowRoot&&!0===o(s))return wc(e);e=e.assignedSlot?e.assignedSlot:s||a===e.ownerDocument?s:a.host}e=n}if(function(e){var t,r,o,i,n=e&&uc(e),s=null===(t=n)||void 0===t?void 0:t.host,a=!1;if(n&&n!==e)for(a=!!(null!==(r=s)&&void 0!==r&&null!==(o=r.ownerDocument)&&void 0!==o&&o.contains(s)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!a&&s;){var l,c,d;a=!(null===(c=s=null===(l=n=uc(s))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(s))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var o=t.children.item(r);if("LEGEND"===o.tagName)return!!dc.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},xc=function(e,t){return!(function(e){return function(e){return bc(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||uc(e),o=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(n){return!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!i||i===e}(e)}(t)||mc(t)<0||!yc(e,t))},kc=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Cc=function(e){var t=[],r=[];return e.forEach(function(e,o){var i=!!e.scopeParent,n=i?e.scopeParent:e,s=function(e,t){var r=mc(e);return r<0&&t&&!fc(e)?0:r}(n,i),a=i?Cc(e.candidates):n;0===s?i?t.push.apply(t,a):t.push(n):r.push({documentOrder:o,tabIndex:s,item:e,isScope:i,content:a})}),r.sort(vc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Lc=function(e,t){var r;return r=(t=t||{}).getShadowRoot?gc([e],t.includeContainer,{filter:xc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:kc}):pc(e,t.includeContainer,xc.bind(null,t)),Cc(r)},Sc=function(e,t){return(t=t||{}).getShadowRoot?gc([e],t.includeContainer,{filter:yc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):pc(e,t.includeContainer,yc.bind(null,t))},Mc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dc.call(e,lc)&&xc(t,e)},$c=/* @__PURE__ */ac.concat("iframe:not([inert]):not([inert] *)").join(","),Tc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==dc.call(e,$c)&&yc(t,e)};function _c(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function Ec(e,t,r){const o=t.toLowerCase();if(o.endsWith(" ")){const i=o.slice(0,-1);if(e.filter(e=>e.toLowerCase().startsWith(i)).length<=1)return Ec(e,i,r);const n=r?.toLowerCase();if(n&&n.startsWith(i)&&" "===n.charAt(i.length)&&t.trim()===i)return r;const s=e.filter(e=>e.toLowerCase().startsWith(o));if(s.length>0){const t=r?e.indexOf(r):-1;return Ic(s,Math.max(t,0)).find(e=>e!==r)||r}}const i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,n=i.toLowerCase(),s=r?e.indexOf(r):-1;let a=Ic(e,Math.max(s,0));1===i.length&&(a=a.filter(e=>e!==r));const l=a.find(e=>e?.toLowerCase().startsWith(n));return l!==r?l:void 0}function Ic(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var Oc={afterMs:1e4,onChange:Fl};function Ac(e,t){const{afterMs:r,onChange:o,getWindow:i}={...Oc,...t};let n=null,s=ut(wt(e));return Kt(()=>()=>{n&&i().clearTimeout(n)}),wa(()=>jr(s),t=>{pt(s,t,!0),o?.(t),n&&i().clearTimeout(n),n=i().setTimeout(()=>{pt(s,e,!0),o?.(e)},r)})}var zc=class{#qt;#pr;#gr=Qe(()=>this.#qt.onMatch?this.#qt.onMatch:e=>e.focus());#fr=Qe(()=>this.#qt.getCurrentItem?this.#qt.getCurrentItem:this.#qt.getActiveElement);constructor(e){this.#qt=e,this.#pr=Ac("",{afterMs:1e3,getWindow:e.getWindow}),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e,t){if(!t.length)return;this.#pr.current=this.#pr.current+e;const r=jr(this.#fr)(),o=t.find(e=>e===r)?.textContent?.trim()??"",i=Ec(t.map(e=>e.textContent?.trim()??""),this.#pr.current,o),n=t.find(e=>e.textContent?.trim()===i);return n&&jr(this.#gr)(n),n}resetTypeahead(){this.#pr.current=""}get search(){return this.#pr.current}},Pc=class{#qt;#Jt;#mr;#vr=ut(null);constructor(e){this.#qt=e,this.#Jt=Qe(()=>this.#qt.enabled()),this.#mr=Ac(!1,{afterMs:e.transitTimeout??300,onChange:e=>{jr(this.#Jt)&&this.#qt.setIsPointerInTransit?.(e)},getWindow:()=>tl(this.#qt.triggerNode())}),al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return Ra(io(e,"pointerleave",e=>{this.#br(e,t)}),io(t,"pointerleave",t=>{this.#br(t,e)}))}),al(()=>jr(this.#vr),()=>{const t=el(e.triggerNode()??e.contentNode());if(t)return io(t,"pointermove",t=>{if(!jr(this.#vr))return;const r=t.target;if(!_l(r))return;const o={x:t.clientX,y:t.clientY},i=e.triggerNode()?.contains(r)||e.contentNode()?.contains(r),n=!function(e,t){const{x:r,y:o}=e;let i=!1;for(let n=0,s=t.length-1;n<t.length;s=n++){const e=t[n].x,a=t[n].y,l=t[s].x,c=t[s].y;a>o!=c>o&&r<(l-e)*(o-a)/(c-a)+e&&(i=!i)}return i}(o,jr(this.#vr));i?this.#wr():n&&(this.#wr(),e.onPointerExit())})})}#wr(){pt(this.#vr,null),this.#mr.current=!1}#br(e,t){const r=e.currentTarget;if(!Tl(r))return;const o={x:e.clientX,y:e.clientY},i=function(e,t,r=5){const o=1.5*r;switch(t){case"top":return[{x:e.x-r,y:e.y+r},{x:e.x,y:e.y-o},{x:e.x+r,y:e.y+r}];case"bottom":return[{x:e.x-r,y:e.y-r},{x:e.x,y:e.y+o},{x:e.x+r,y:e.y-r}];case"left":return[{x:e.x+r,y:e.y-r},{x:e.x-o,y:e.y},{x:e.x+r,y:e.y+r}];case"right":return[{x:e.x-r,y:e.y-r},{x:e.x+o,y:e.y},{x:e.x-r,y:e.y+r}]}}(o,function(e,t){const r=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),n=Math.abs(t.left-e.x);switch(Math.min(r,o,i,n)){case n:return"left";case i:return"right";case r:return"top";case o:return"bottom";default:throw new Error("unreachable")}}(o,r.getBoundingClientRect())),n=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const e=t[t.length-1],o=t[t.length-2];if(!((e.x-o.x)*(r.y-o.y)>=(e.y-o.y)*(r.x-o.x)))break;t.pop()}t.push(r)}t.pop();const r=[];for(let o=e.length-1;o>=0;o--){const t=e[o];for(;r.length>=2;){const e=r[r.length-1],o=r[r.length-2];if(!((e.x-o.x)*(t.y-o.y)>=(e.y-o.y)*(t.x-o.x)))break;r.pop()}r.push(t)}return r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}(t)}([...i,...function(e){const{top:t,right:r,bottom:o,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:o},{x:i,y:o}]}(t.getBoundingClientRect())]);pt(this.#vr,n,!0),this.#mr.current=!0}},Fc=new nl("Menu.Root"),Nc=new nl("Menu.Root | Menu.Sub"),Hc=new nl("Menu.Content"),Dc=(new nl("Menu.Group | Menu.RadioGroup"),new nl("Menu.RadioGroup"),new nl("Menu.CheckboxGroup"),new class{eventName;options;constructor(e,t={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){const r=this.createEvent(t);return e.dispatchEvent(r),r}listen(e,t,r){return io(e,this.eventName,e=>{t(e)},r)}}("bitsmenuopen",{bubbles:!1,cancelable:!0})),jc=ml({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]}),Rc=class e{static create(t){const r=new e(t);return Fc.set(r)}opts;isUsingKeyboard=new sc;#yr=ut(!1);get ignoreCloseAutoFocus(){return jr(this.#yr)}set ignoreCloseAutoFocus(e){pt(this.#yr,e,!0)}#mr=ut(!1);get isPointerInTransit(){return jr(this.#mr)}set isPointerInTransit(e){pt(this.#mr,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>jc.getAttr(e,this.opts.variant.current)},Wc=class e{static create(t,r){return Nc.set(new e(t,r,null))}opts;root;parentMenu;contentId=wa(()=>"");#rr=ut(null);get contentNode(){return jr(this.#rr)}set contentNode(e){pt(this.#rr,e,!0)}contentPresence;#tr=ut(null);get triggerNode(){return jr(this.#tr)}set triggerNode(e){pt(this.#tr,e,!0)}constructor(e,t,r){this.opts=e,this.root=t,this.parentMenu=r,this.contentPresence=new Pl({ref:wa(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),r&&al(()=>r.opts.open.current,()=>{r.opts.open.current||(this.opts.open.current=!1)})}toggleOpen(){this.opts.open.current=!this.opts.open.current}onOpen(){this.opts.open.current=!0}onClose(){this.opts.open.current=!1}},Vc=class e{static create(t){return Hc.set(new e(t,Nc.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#pr=ut("");get search(){return jr(this.#pr)}set search(e){pt(this.#pr,e,!0)}#xr=0;#kr;#Cr=ut(!1);get mounted(){return jr(this.#Cr)}set mounted(e){pt(this.#Cr,e,!0)}#Lr;constructor(e,t){this.opts=e,this.parentMenu=t,this.domContext=new rl(e.ref),this.attachment=ol(this.opts.ref,e=>{this.parentMenu.contentNode!==e&&(this.parentMenu.contentNode=e)}),t.contentId=e.id,this.#Lr=e.isSub??!1,this.onkeydown=this.onkeydown.bind(this),this.onblur=this.onblur.bind(this),this.onfocus=this.onfocus.bind(this),this.handleInteractOutside=this.handleInteractOutside.bind(this),new Pc({contentNode:()=>this.parentMenu.contentNode,triggerNode:()=>this.parentMenu.triggerNode,enabled:()=>this.parentMenu.opts.open.current&&Boolean(this.parentMenu.triggerNode?.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))),onPointerExit:()=>{this.parentMenu.opts.open.current=!1},setIsPointerInTransit:e=>{this.parentMenu.root.isPointerInTransit=e}}),this.#kr=new zc({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new Al({rootNode:wa(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:wa(()=>"vertical")}),al(()=>this.parentMenu.contentNode,e=>{if(e)return Dc.listen(e,()=>{Xa(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})})}),Kt(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(this.#xr)})}#Sr(){const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]}#Mr(){return this.parentMenu.root.isPointerInTransit}onCloseAutoFocus=e=>{this.opts.onCloseAutoFocus.current?.(e),e.defaultPrevented||this.#Lr||this.parentMenu.triggerNode&&Mc(this.parentMenu.triggerNode)&&(e.preventDefault(),this.parentMenu.triggerNode.focus())};handleTabKeyDown(e){let t=this.parentMenu;for(;null!==t.parentMenu;)t=t.parentMenu;if(!t.triggerNode)return;e.preventDefault();const r=function(e,t){if(!Mc(e,_c()))return function(e,t){const r=el(e);if(!Tc(e,_c()))return r.body;const o=Sc(r.body,_c());"prev"===t&&o.reverse();const i=o.indexOf(e);return-1===i?r.body:o.slice(i+1).find(e=>Mc(e,_c()))??r.body}(e,t);const r=el(e),o=Lc(r.body,_c());"prev"===t&&o.reverse();const i=o.indexOf(e);return-1===i?r.body:o.slice(i+1)[0]}(t.triggerNode,e.shiftKey?"prev":"next");r?(this.parentMenu.root.ignoreCloseAutoFocus=!0,t.onClose(),Xa(()=>{r.focus(),Xa(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})})):this.domContext.getDocument().body.focus()}onkeydown(e){if(e.defaultPrevented)return;if("Tab"===e.key)return void this.handleTabKeyDown(e);const t=e.target,r=e.currentTarget;if(!Tl(t)||!Tl(r))return;const o=t.closest(`[${this.parentMenu.root.getBitsAttr("content")}]`)?.id===this.parentMenu.contentId.current,i=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;if(this.rovingFocusGroup.handleKeydown(t,e))return;if("Space"===e.code)return;const s=this.#Sr();o&&!i&&n&&this.#kr(e.key,s),e.target?.id===this.parentMenu.contentId.current&&rc.includes(e.key)&&(e.preventDefault(),tc.includes(e.key)&&s.reverse(),function(e,{select:t=!1}={},r){const o=r();for(const i of e)if(ic(i,{select:t}),r()!==o)return!0}(s,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){_l(e.currentTarget)&&_l(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#xr),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&Xa(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return this.#Mr()}onItemLeave(e){e.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))||this.#Mr()||this.parentMenu.root.isUsingKeyboard.current||(this.parentMenu.contentNode?.focus(),this.rovingFocusGroup.setCurrentTabStopId(""))}onTriggerLeave(){return!!this.#Mr()}handleInteractOutside(e){if(!El(e.target))return;const t=this.parentMenu.triggerNode?.id;e.target.id!==t?e.target.closest(`#${t}`)&&e.preventDefault():e.preventDefault()}get shouldRender(){return this.parentMenu.contentPresence.shouldRender}#hr=Qe(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":gl(this.parentMenu.opts.open.current),onkeydown:this.onkeydown,onblur:this.onblur,onfocus:this.onfocus,dir:this.parentMenu.root.opts.dir.current,style:{pointerEvents:"auto",contain:"layout style"},...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}},Bc=class{opts;content;attachment;#$r=ut(!1);constructor(e,t){this.opts=e,this.content=t,this.attachment=ol(this.opts.ref),this.onpointermove=this.onpointermove.bind(this),this.onpointerleave=this.onpointerleave.bind(this),this.onfocus=this.onfocus.bind(this),this.onblur=this.onblur.bind(this)}onpointermove(e){if(!e.defaultPrevented&&oc(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const t=e.currentTarget;if(!Tl(t))return;t.focus()}}onpointerleave(e){e.defaultPrevented||oc(e)&&this.content.onItemLeave(e)}onfocus(e){Xa(()=>{e.defaultPrevented||this.opts.disabled.current||pt(this.#$r,!0)})}onblur(e){Xa(()=>{e.defaultPrevented||pt(this.#$r,!1)})}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":ul(this.opts.disabled.current),"data-disabled":hl(this.opts.disabled.current),"data-highlighted":jr(this.#$r)?"":void 0,[this.content.parentMenu.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerleave:this.onpointerleave,onfocus:this.onfocus,onblur:this.onblur,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Uc=class e{static create(t){return new e(t,new Bc(t,Hc.get()))}opts;item;root;#Tr=!1;constructor(e,t){this.opts=e,this.item=t,this.root=t.content.parentMenu.root,this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this)}#_r(){if(this.item.opts.disabled.current)return;const e=new CustomEvent("menuitemselect",{bubbles:!0,cancelable:!0});this.opts.onSelect.current(e),e.defaultPrevented?this.item.content.parentMenu.root.isUsingKeyboard.current=!1:this.opts.closeOnSelect.current&&this.item.content.parentMenu.root.opts.onClose()}onkeydown(e){const t=""!==this.item.content.search;if(!(this.item.opts.disabled.current||t&&" "===e.key)&&ec.includes(e.key)){if(!Tl(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}}onclick(e){this.item.opts.disabled.current||this.#_r()}onpointerup(e){if(!e.defaultPrevented&&!this.#Tr){if(!Tl(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#Tr=!0}#f=Qe(()=>Za(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Zc=class e{static create(t){return new e(t,Nc.get())}opts;parentMenu;attachment;constructor(e,t){this.opts=e,this.parentMenu=t,this.attachment=ol(this.opts.ref,e=>this.parentMenu.triggerNode=e)}onclick=e=>{this.opts.disabled.current||0!==e.detail||(this.parentMenu.toggleOpen(),e.preventDefault())};onpointerdown=e=>{if(!this.opts.disabled.current)return"touch"===e.pointerType?e.preventDefault():void(0===e.button&&!1===e.ctrlKey&&(this.parentMenu.toggleOpen(),this.parentMenu.opts.open.current||e.preventDefault()))};onpointerup=e=>{this.opts.disabled.current||"touch"===e.pointerType&&(e.preventDefault(),this.parentMenu.toggleOpen())};onkeydown=e=>{if(!this.opts.disabled.current)return" "===e.key||"Enter"===e.key?(this.parentMenu.toggleOpen(),void e.preventDefault()):void("ArrowDown"===e.key&&(this.parentMenu.onOpen(),e.preventDefault()))};#Er=Qe(()=>{if(this.parentMenu.opts.open.current&&this.parentMenu.contentId.current)return this.parentMenu.contentId.current});#f=Qe(()=>({id:this.opts.id.current,disabled:this.opts.disabled.current,"aria-haspopup":"menu","aria-expanded":ul(this.parentMenu.opts.open.current),"aria-controls":jr(this.#Er),"data-disabled":hl(this.opts.disabled.current),"data-state":gl(this.parentMenu.opts.open.current),[this.parentMenu.root.getBitsAttr("trigger")]:"",onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}};globalThis.bitsDismissableLayers??=/* @__PURE__ */new Map;var qc=class e{static create(t){return new e(t)}opts;#Ir;#Or;#Ar={pointerdown:!1};#zr=!1;#Pr=!1;#Fr=void 0;#Nr;#Hr=Fl;constructor(e){this.opts=e,this.#Or=e.interactOutsideBehavior,this.#Ir=e.onInteractOutside,this.#Nr=e.onFocusOutside,Kt(()=>{this.#Fr=Ql(this.opts.ref.current)});let t=Fl;const r=()=>{this.#Dr(),globalThis.bitsDismissableLayers.delete(this),this.#jr.destroy(),t()};al([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(this.opts.enabled.current&&this.opts.ref.current)return setTimeout(()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,this.#Or),t(),t=this.#Rr())},1),r}),Ka(()=>{this.#Dr.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#jr.destroy(),this.#Hr(),t()})}#Wr=e=>{e.defaultPrevented||this.opts.ref.current&&Xa(()=>{this.opts.ref.current&&!this.#Vr(e.target)&&e.target&&!this.#Pr&&this.#Nr.current?.(e)})};#Rr(){return Ra(io(this.#Fr,"pointerdown",Ra(this.#Br,this.#Ur),{capture:!0}),io(this.#Fr,"pointerdown",Ra(this.#Zr,this.#jr)),io(this.#Fr,"focusin",this.#Wr))}#qr=e=>{let t=e;t.defaultPrevented&&(t=Kc(e)),this.#Ir.current(e)};#jr=Yl(e=>{if(!this.opts.ref.current)return void this.#Hr();const t=this.opts.isValidEvent.current(e,this.opts.ref.current)||function(e,t){const r=e.target;if(!El(r))return!1;const o=Boolean(r.closest("[data-context-menu-trigger]"));if("button"in e&&e.button>0&&!o)return!1;if("button"in e&&0===e.button&&o)return!0;const i=Boolean(t.closest("[data-context-menu-content]"));return(!o||!i)&&Ql(r).documentElement.contains(r)&&!Jl(t,r)&&function(e,t){const{clientX:r,clientY:o}=e,i=t.getBoundingClientRect();return r<i.left||r>i.right||o<i.top||o>i.bottom}(e,t)}(e,this.opts.ref.current);if(!this.#zr||this.#Kr()||!t)return void this.#Hr();let r=e;r.defaultPrevented&&(r=Kc(r)),"close"===this.#Or.current||"defer-otherwise-close"===this.#Or.current?"touch"===e.pointerType?(this.#Hr(),this.#Hr=io(this.#Fr,"click",this.#qr,{once:!0})):this.#Ir.current(r):this.#Hr()},10);#Br=e=>{this.#Ar[e.type]=!0};#Zr=e=>{this.#Ar[e.type]=!1};#Ur=()=>{this.opts.ref.current&&(this.#zr=function(e){const t=[...globalThis.bitsDismissableLayers],r=function(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>"close"===t||"ignore"===t)}(t);if(r)return r[0].opts.ref.current===e;const[o]=t[0];return o.opts.ref.current===e}(this.opts.ref.current))};#Vr=e=>!!this.opts.ref.current&&Jl(this.opts.ref.current,e);#Dr=Yl(()=>{for(const e in this.#Ar)this.#Ar[e]=!1;this.#zr=!1},20);#Kr(){return Object.values(this.#Ar).some(Boolean)}#Gr=()=>{this.#Pr=!0};#Xr=()=>{this.#Pr=!1};props={onfocuscapture:this.#Gr,onblurcapture:this.#Xr}};function Kc(e){const t=e.currentTarget,r=e.target;let o;o=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent("pointerdown",e);let i=!1;return new Proxy(o,{get:(o,n)=>"currentTarget"===n?t:"target"===n?r:"preventDefault"===n?()=>{i=!0,"function"==typeof o.preventDefault&&o.preventDefault()}:"defaultPrevented"===n?i:n in o?o[n]:e[n]})}function Gc(e,t){ue(t,!0);let r=Ui(t,"interactOutsideBehavior",3,"close"),o=Ui(t,"onInteractOutside",3,Fl),i=Ui(t,"onFocusOutside",3,Fl),n=Ui(t,"isValidEvent",3,()=>!1);const s=qc.create({id:wa(()=>t.id),interactOutsideBehavior:wa(()=>r()),onInteractOutside:wa(()=>o()),enabled:wa(()=>t.enabled),onFocusOutside:wa(()=>i()),isValidEvent:wa(()=>n()),ref:t.ref});var a=vo();Ro(At(a),()=>t.children??g,()=>({props:s.props})),bo(e,a),he()}globalThis.bitsEscapeLayers??=/* @__PURE__ */new Map;var Xc=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new rl(this.opts.ref);let t=Fl;al(()=>e.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#Yr()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#Yr=()=>io(this.domContext.getDocument(),"keydown",this.#Jr,{passive:!1});#Jr=e=>{if("Escape"!==e.key||!function(e){const t=[...globalThis.bitsEscapeLayers],r=t.findLast(([e,{current:t}])=>"close"===t||"ignore"===t);if(r)return r[0]===e;const[o]=t[0];return o===e}(this))return;const t=new KeyboardEvent(e.type,e);e.preventDefault();const r=this.opts.escapeKeydownBehavior.current;"close"!==r&&"defer-otherwise-close"!==r||this.opts.onEscapeKeydown.current(t)}};function Yc(e,t){ue(t,!0);let r=Ui(t,"escapeKeydownBehavior",3,"close"),o=Ui(t,"onEscapeKeydown",3,Fl);Xc.create({escapeKeydownBehavior:wa(()=>r()),onEscapeKeydown:wa(()=>o()),enabled:wa(()=>t.enabled),ref:t.ref});var i=vo();Ro(At(i),()=>t.children??g),bo(e,i),he()}var Jc=class e{static instance;#Qr=Ca([]);#eo=/* @__PURE__ */new WeakMap;#to=/* @__PURE__ */new WeakMap;static getInstance(){return this.instance||(this.instance=new e),this.instance}register(e){const t=this.getActive();t&&t!==e&&t.pause();const r=document.activeElement;r&&r!==document.body&&this.#to.set(e,r),this.#Qr.current=this.#Qr.current.filter(t=>t!==e),this.#Qr.current.unshift(e)}unregister(e){this.#Qr.current=this.#Qr.current.filter(t=>t!==e);const t=this.getActive();t&&t.resume()}getActive(){return this.#Qr.current[0]}setFocusMemory(e,t){this.#eo.set(e,t)}getFocusMemory(e){return this.#eo.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#to.set(e,t)}getPreFocusMemory(e){return this.#to.get(e)}clearPreFocusMemory(e){this.#to.delete(e)}},Qc=class e{#ro=!1;#oo=null;#io=Jc.getInstance();#no=[];#qt;constructor(e){this.#qt=e}get paused(){return this.#ro}pause(){this.#ro=!0}resume(){this.#ro=!1}#Xt(){for(const e of this.#no)e();this.#no=[]}mount(e){this.#oo&&this.unmount(),this.#oo=e,this.#io.register(this),this.#so(),this.#ao()}unmount(){this.#oo&&(this.#Xt(),this.#lo(),this.#io.unregister(this),this.#io.clearPreFocusMemory(this),this.#oo=null)}#ao(){if(!this.#oo)return;const e=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});this.#qt.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#oo)return;const e=this.#co();e?(e.focus(),this.#io.setFocusMemory(this,e)):this.#oo.focus()})}#lo(){const e=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(this.#qt.onCloseAutoFocus.current?.(e),!e.defaultPrevented){const e=this.#io.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#so(){if(!this.#oo||!this.#qt.trap.current)return;const e=this.#oo,t=e.ownerDocument;this.#no.push(io(t,"focusin",t=>{if(this.#ro||!this.#io.isActiveScope(this))return;const r=t.target;if(r)if(e.contains(r))this.#io.setFocusMemory(this,r);else{const r=this.#io.getFocusMemory(this);if(r&&e.contains(r)&&Tc(r))t.preventDefault(),r.focus();else{const t=this.#co(),r=this.#do()[0];(t||r||e).focus()}}},{capture:!0}),io(e,"keydown",e=>{if(!this.#qt.loop||this.#ro||"Tab"!==e.key)return;if(!this.#io.isActiveScope(this))return;const r=this.#uo();if(0===r.length)return;const o=r[0],i=r[r.length-1];e.shiftKey||t.activeElement!==i?e.shiftKey&&t.activeElement===o&&(e.preventDefault(),i.focus()):(e.preventDefault(),o.focus())}));const r=new MutationObserver(()=>{const t=this.#io.getFocusMemory(this);if(t&&!e.contains(t)){const t=this.#co(),r=this.#do()[0],o=t||r;o?(o.focus(),this.#io.setFocusMemory(this,o)):e.focus()}});r.observe(e,{childList:!0,subtree:!0}),this.#no.push(()=>r.disconnect())}#uo(){return this.#oo?Lc(this.#oo,{includeContainer:!1,getShadowRoot:!0}):[]}#co(){return this.#uo()[0]||null}#do(){return this.#oo?Sc(this.#oo,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let r=null;return al([()=>t.ref.current,()=>t.enabled.current],([o,i])=>{o&&i?(r||(r=new e(t)),r.mount(o)):r&&(r.unmount(),r=null)}),Ka(()=>{r?.unmount()}),{get props(){return{tabindex:-1}}}}};function ed(e,t){ue(t,!0);let r=Ui(t,"enabled",3,!1),o=Ui(t,"trapFocus",3,!1),i=Ui(t,"loop",3,!1),n=Ui(t,"onCloseAutoFocus",3,Fl),s=Ui(t,"onOpenAutoFocus",3,Fl);const a=Qc.use({enabled:wa(()=>r()),trap:wa(()=>o()),loop:i(),onCloseAutoFocus:wa(()=>n()),onOpenAutoFocus:wa(()=>s()),ref:t.ref});var l=vo();Ro(At(l),()=>t.focusScope??g,()=>({props:a.props})),bo(e,l),he()}globalThis.bitsTextSelectionLayers??=/* @__PURE__ */new Map;var td=class e{static create(t){return new e(t)}opts;domContext;#ho=Fl;constructor(e){this.opts=e,this.domContext=new rl(e.ref);let t=Fl;al(()=>this.opts.enabled.current,e=>(e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#Rr()),()=>{t(),this.#po(),globalThis.bitsTextSelectionLayers.delete(this)}))}#Rr(){return Ra(io(this.domContext.getDocument(),"pointerdown",this.#go),io(this.domContext.getDocument(),"pointerup",Sa(this.#po,this.opts.onPointerUp.current)))}#go=e=>{const t=this.opts.ref.current,r=e.target;Tl(t)&&Tl(r)&&this.opts.enabled.current&&function(e){const t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;const r=t.at(-1);return!!r&&r[0]===e}(this)&&function(e,t){if(!e||!t)return!1;if(!Ya(e)||!Ya(t))return!1;const r=t.getRootNode?.();if(e===t)return!0;if(e.contains(t))return!0;if(r&&Qa(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}(t,r)&&(this.opts.onPointerDown.current(e),e.defaultPrevented||(this.#ho=function(e,t){const r=rd(t),o=rd(e);return od(t,"none"),od(e,"text"),()=>{od(t,r),od(e,o)}}(t,this.domContext.getDocument().body)))};#po=()=>{this.#ho(),this.#ho=Fl}},rd=e=>e.style.userSelect||e.style.webkitUserSelect;function od(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function id(e,t){ue(t,!0);let r=Ui(t,"preventOverflowTextSelection",3,!0),o=Ui(t,"onPointerDown",3,Fl),i=Ui(t,"onPointerUp",3,Fl);td.create({id:wa(()=>t.id),onPointerDown:wa(()=>o()),onPointerUp:wa(()=>i()),enabled:wa(()=>t.enabled&&r()),ref:t.ref});var n=vo();Ro(At(n),()=>t.children??g),bo(e,n),he()}function nd(e="bits"){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}globalThis.bitsIdCounter??={current:0};var sd=new Gn,ad=ut(null),ld=null,cd=null,dd=!1,ud=wa(()=>{for(const e of sd.values())if(e)return!0;return!1}),hd=null,pd=new class{#fo;#mo=0;#vo=ut();#bo;constructor(e){this.#fo=e}#wo(){this.#mo-=1,this.#bo&&this.#mo<=0&&(this.#bo(),pt(this.#vo,void 0),this.#bo=void 0)}get(...e){return this.#mo+=1,void 0===jr(this.#vo)&&(this.#bo=Yt(()=>{pt(this.#vo,this.#fo(...e),!0)})),Kt(()=>()=>{this.#wo()}),jr(this.#vo)}}(()=>{function e(){null!==cd&&(window.clearTimeout(cd),cd=null)}function t(){null!==jr(ad)||0!==sd.size||dd||pt(ad,document.body.getAttribute("style"),!0)}return al(()=>ud.current,()=>{if(!ud.current)return;t(),dd=!1;const e=getComputedStyle(document.documentElement),r=getComputedStyle(document.body),o=e.scrollbarGutter?.includes("stable")||r.scrollbarGutter?.includes("stable"),i=window.innerWidth-document.documentElement.clientWidth,n=Number.parseInt(r.paddingRight??"0",10)+i,s=Number.parseInt(r.marginRight??"0",10);i>0&&!o&&(document.body.style.paddingRight=`${n}px`,document.body.style.marginRight=`${s}px`,document.body.style.setProperty("--scrollbar-width",`${i}px`)),document.body.style.overflow="hidden",$l&&(ld=io(document,"touchmove",e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),Xa(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),Ka(()=>()=>{ld?.()}),{get lockMap(){return sd},resetBodyStyle:function(){document.body.setAttribute("style",jr(ad)??""),document.body.style.removeProperty("--scrollbar-width"),$l&&ld?.(),pt(ad,null)},scheduleCleanupIfNoNewLocks:function(t,r){e(),dd=!0;const o=hd=Date.now(),i=null===t?24:t;cd=window.setTimeout(()=>{cd=null,hd===o&&(fd(sd)?dd=!1:(dd=!1,r()))},i)},cancelPendingCleanup:e,ensureInitialStyleCaptured:t}}),gd=class{#Re=nd();#yo;#xo=()=>null;#ko;locked;constructor(e,t=()=>null){this.#yo=e,this.#xo=t,this.#ko=pd.get(),this.#ko&&(this.#ko.cancelPendingCleanup(),this.#ko.ensureInitialStyleCaptured(),this.#ko.lockMap.set(this.#Re,this.#yo??!1),this.locked=wa(()=>this.#ko.lockMap.get(this.#Re)??!1,e=>this.#ko.lockMap.set(this.#Re,e)),Ka(()=>{if(this.#ko.lockMap.delete(this.#Re),fd(this.#ko.lockMap))return;const e=this.#xo();this.#ko.scheduleCleanupIfNoNewLocks(e,()=>{this.#ko.resetBodyStyle()})}))}};function fd(e){for(const[t,r]of e)if(r)return!0;return!1}function md(e,t){ue(t,!0);let r=Ui(t,"preventScroll",3,!0),o=Ui(t,"restoreScrollDelay",3,null);r()&&new gd(r(),()=>o()),he()}var vd=po("<div><!></div>");function bd(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"forceMount",3,!1),n=Ui(t,"ref",15,null),s=Wi(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Bl.create({id:wa(()=>o()),ref:wa(()=>n(),e=>n(e))}),l=Qe(()=>Za(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo(),o=At(r),i=e=>{var r=vo(),o=At(r);{let e=Qe(()=>({props:Za(jr(l)),...a.snippetProps}));Ro(o,()=>t.child,()=>jr(e))}bo(e,r)},n=e=>{var r=vd();Si(r,e=>({...e}),[()=>Za(jr(l))]),Ro(Ot(r),()=>t.children??g,()=>a.snippetProps),q(r),bo(e,r)};_o(o,e=>{t.child?e(i):e(n,!1)}),bo(e,r)};_o(d,e=>{(a.shouldRender||i())&&e(u)}),bo(e,c),he()}var wd=po("<button><!></button>");function yd(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Rl.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(n()))}),l=Qe(()=>Za(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(l)})),bo(e,r)},h=e=>{var r=wd();Si(r,()=>({...jr(l)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var xd=po("<input/>"),kd=po("<input/>"),Cd=["top","right","bottom","left"],Ld=Math.min,Sd=Math.max,Md={left:"right",right:"left",bottom:"top",top:"bottom"},$d={start:"end",end:"start"};function Td(e,t,r){return Sd(e,Ld(t,r))}function _d(e,t){return"function"==typeof e?e(t):e}function Ed(e){return e.split("-")[0]}function Id(e){return e.split("-")[1]}function Od(e){return"x"===e?"y":"x"}function Ad(e){return"y"===e?"height":"width"}var zd=/* @__PURE__ */new Set(["top","bottom"]);function Pd(e){return zd.has(Ed(e))?"y":"x"}function Fd(e){return Od(Pd(e))}function Nd(e){return e.replace(/start|end/g,e=>$d[e])}var Hd=["left","right"],Dd=["right","left"],jd=["top","bottom"],Rd=["bottom","top"];function Wd(e){return e.replace(/left|right|bottom|top/g,e=>Md[e])}function Vd(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Bd(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function Ud(e,t,r){let{reference:o,floating:i}=e;const n=Pd(t),s=Fd(t),a=Ad(s),l=Ed(t),c="y"===n,d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[a]/2-i[a]/2;let p;switch(l){case"top":p={x:d,y:o.y-i.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-i.width,y:u};break;default:p={x:o.x,y:o.y}}switch(Id(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Zd(e,t){var r;void 0===t&&(t={});const{x:o,y:i,platform:n,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=_d(t,e),g=Vd(p),f=a[h?"floating"===u?"reference":"floating":u],m=Bd(await n.getClippingRect({element:null==(r=await(null==n.isElement?void 0:n.isElement(f)))||r?f:f.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),v="floating"===u?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),w=await(null==n.isElement?void 0:n.isElement(b))&&await(null==n.getScale?void 0:n.getScale(b))||{x:1,y:1},y=Bd(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(m.top-y.top+g.top)/w.y,bottom:(y.bottom-m.bottom+g.bottom)/w.y,left:(m.left-y.left+g.left)/w.x,right:(y.right-m.right+g.right)/w.x}}function qd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Kd(e){return Cd.some(t=>e[t]>=0)}var Gd=/* @__PURE__ */new Set(["left","top"]),Xd=Math.min,Yd=Math.max,Jd=Math.round,Qd=Math.floor,eu=e=>({x:e,y:e});function tu(){return"undefined"!=typeof window}function ru(e){return nu(e)?(e.nodeName||"").toLowerCase():"#document"}function ou(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function iu(e){var t;return null==(t=(nu(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function nu(e){return!!tu()&&(e instanceof Node||e instanceof ou(e).Node)}function su(e){return!!tu()&&(e instanceof Element||e instanceof ou(e).Element)}function au(e){return!!tu()&&(e instanceof HTMLElement||e instanceof ou(e).HTMLElement)}function lu(e){return!(!tu()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ou(e).ShadowRoot)}var cu=/* @__PURE__ */new Set(["inline","contents"]);function du(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=ku(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!cu.has(i)}var uu=/* @__PURE__ */new Set(["table","td","th"]);function hu(e){return uu.has(ru(e))}var pu=[":popover-open",":modal"];function gu(e){return pu.some(t=>{try{return e.matches(t)}catch(r){return!1}})}var fu=["transform","translate","scale","rotate","perspective"],mu=["transform","translate","scale","rotate","perspective","filter"],vu=["paint","layout","strict","content"];function bu(e){const t=wu(),r=su(e)?ku(e):e;return fu.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||mu.some(e=>(r.willChange||"").includes(e))||vu.some(e=>(r.contain||"").includes(e))}function wu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}var yu=/* @__PURE__ */new Set(["html","body","#document"]);function xu(e){return yu.has(ru(e))}function ku(e){return ou(e).getComputedStyle(e)}function Cu(e){return su(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lu(e){if("html"===ru(e))return e;const t=e.assignedSlot||e.parentNode||lu(e)&&e.host||iu(e);return lu(t)?t.host:t}function Su(e){const t=Lu(e);return xu(t)?e.ownerDocument?e.ownerDocument.body:e.body:au(t)&&du(t)?t:Su(t)}function Mu(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=Su(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=ou(i);if(n){const e=$u(s);return t.concat(s,s.visualViewport||[],du(i)?i:[],e&&r?Mu(e):[])}return t.concat(i,Mu(i,[],r))}function $u(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Tu(e){const t=ku(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=au(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=Jd(r)!==n||Jd(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function _u(e){return su(e)?e:e.contextElement}function Eu(e){const t=_u(e);if(!au(t))return eu(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=Tu(t);let s=(n?Jd(r.width):r.width)/o,a=(n?Jd(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var Iu=/* @__PURE__ */eu(0);function Ou(e){const t=ou(e);return wu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Iu}function Au(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=_u(e);let s=eu(1);t&&(o?su(o)&&(s=Eu(o)):s=Eu(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==ou(e))&&t}(n,r,o)?Ou(n):eu(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(n){const e=ou(n),t=o&&su(o)?ou(o):o;let r=e,i=$u(r);for(;i&&o&&t!==r;){const e=Eu(i),t=i.getBoundingClientRect(),o=ku(i),n=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=n,c+=s,r=ou(i),i=$u(r)}}return Bd({width:d,height:u,x:l,y:c})}function zu(e,t){const r=Cu(e).scrollLeft;return t?t.left+r:Au(iu(e)).left+r}function Pu(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-zu(e,r),y:r.top+t.scrollTop}}var Fu=/* @__PURE__ */new Set(["absolute","fixed"]);function Nu(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=ou(e),o=iu(e),i=r.visualViewport;let n=o.clientWidth,s=o.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;const e=wu();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=zu(o);if(c<=0){const e=o.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(o.clientWidth-t.clientWidth-i);s<=25&&(n-=s)}else c<=25&&(n+=c);return{width:n,height:s,x:a,y:l}}(e,r);else if("document"===t)o=function(e){const t=iu(e),r=Cu(e),o=e.ownerDocument.body,i=Yd(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=Yd(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+zu(e);const a=-r.scrollTop;return"rtl"===ku(o).direction&&(s+=Yd(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(iu(e));else if(su(t))o=function(e,t){const r=Au(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=au(e)?Eu(e):eu(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:i*n.x,y:o*n.y}}(t,r);else{const r=Ou(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Bd(o)}function Hu(e,t){const r=Lu(e);return!(r===t||!su(r)||xu(r))&&("fixed"===ku(r).position||Hu(r,t))}function Du(e,t){const r=t.get(e);if(r)return r;let o=Mu(e,[],!1).filter(e=>su(e)&&"body"!==ru(e)),i=null;const n="fixed"===ku(e).position;let s=n?Lu(e):e;for(;su(s)&&!xu(s);){const t=ku(s),r=bu(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&Fu.has(i.position)||du(s)&&!r&&Hu(e,s))?o=o.filter(e=>e!==s):i=t,s=Lu(s)}return t.set(e,o),o}function ju(e,t,r){const o=au(t),i=iu(t),n="fixed"===r,s=Au(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=eu(0);function c(){l.x=zu(i)}if(o||!o&&!n)if(("body"!==ru(t)||du(i))&&(a=Cu(t)),o){const e=Au(t,!0,n,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();n&&!o&&i&&c();const d=!i||o||n?eu(0):Pu(i,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}function Ru(e){return"static"===ku(e).position}function Wu(e,t){if(!au(e)||"fixed"===ku(e).position)return null;if(t)return t(e);let r=e.offsetParent;return iu(e)===r&&(r=r.ownerDocument.body),r}function Vu(e,t){const r=ou(e);if(gu(e))return r;if(!au(e)){let t=Lu(e);for(;t&&!xu(t);){if(su(t)&&!Ru(t))return t;t=Lu(t)}return r}let o=Wu(e,t);for(;o&&hu(o)&&Ru(o);)o=Wu(o,t);return o&&xu(o)&&Ru(o)&&!bu(o)?r:o||function(e){let t=Lu(e);for(;au(t)&&!xu(t);){if(bu(t))return t;if(gu(t))return null;t=Lu(t)}return null}(e)||r}var Bu={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=iu(o),a=!!t&&gu(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=eu(1);const d=eu(0),u=au(o);if((u||!u&&!n)&&(("body"!==ru(o)||du(s))&&(l=Cu(o)),au(o))){const e=Au(o);c=Eu(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?eu(0):Pu(s,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:r.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:iu,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?gu(t)?[]:Du(t,this._c):[].concat(r),o],s=n[0],a=n.reduce((e,r)=>{const o=Nu(t,r,i);return e.top=Yd(o.top,e.top),e.right=Xd(o.right,e.right),e.bottom=Xd(o.bottom,e.bottom),e.left=Yd(o.left,e.left),e},Nu(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Vu,getElementRects:async function(e){const t=this.getOffsetParent||Vu,r=this.getDimensions,o=await r(e.floating);return{reference:ju(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Tu(e);return{width:t,height:r}},getScale:Eu,isElement:su,isRTL:function(e){return"rtl"===ku(e).direction}};function Uu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Zu=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:n,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:r,platform:o,elements:i}=e,n=await(null==o.isRTL?void 0:o.isRTL(i.floating)),s=Ed(r),a=Id(r),l="y"===Pd(r),c=Gd.has(s)?-1:1,d=n&&l?-1:1,u=_d(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:g}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof g&&(p="end"===a?-1*g:g),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}(t,e);return s===(null==(r=a.offset)?void 0:r.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:i+l.x,y:n+l.y,data:{...l,placement:s}}}}},qu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i,platform:n}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=_d(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Pd(Ed(i)),p=Od(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=Td(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=Td(f+u["y"===h?"top":"left"],f,f-u[e])}const m=l.fn({...t,[p]:g,[h]:f});return{...m,data:{x:m.x-r,y:m.y-o,enabled:{[p]:s,[h]:a}}}}}},Ku=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...m}=_d(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=Ed(i),b=Pd(a),w=Ed(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Wd(a)]:function(e){const t=Wd(e);return[Nd(e),t,Nd(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Id(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Dd:Hd:t?Hd:Dd;case"left":case"right":return t?jd:Rd;default:return[]}}(Ed(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(Nd)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),S=[];let M=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&S.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Id(e),i=Fd(e),n=Ad(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Wd(s)),[s,Wd(s)]}(i,s,y);S.push(L[e[0]],L[e[1]])}if(M=[...M,{placement:i,overflows:S}],!S.every(e=>e<=0)){var $,T;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===Pd(t)||M.every(e=>Pd(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}};let r=null==(T=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!r)switch(p){case"bestFit":{var _;const e=null==(_=M.filter(e=>{if(k){const t=Pd(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:_[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},Gu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:i,rects:n,platform:s,elements:a}=t,{apply:l=()=>{},...c}=_d(e,t),d=await s.detectOverflow(t,c),u=Ed(i),h=Id(i),p="y"===Pd(i),{width:g,height:f}=n.floating;let m,v;"top"===u||"bottom"===u?(m=u,v=h===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(v=u,m="end"===h?"top":"bottom");const b=f-d.top-d.bottom,w=g-d.left-d.right,y=Ld(f-d[m],b),x=Ld(g-d[v],w),k=!t.middlewareData.shift;let C=y,L=x;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(L=w),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(C=b),k&&!h){const e=Sd(d.left,0),t=Sd(d.right,0),r=Sd(d.top,0),o=Sd(d.bottom,0);p?L=g-2*(0!==e||0!==t?e+t:Sd(d.left,d.right)):C=f-2*(0!==r||0!==o?r+o:Sd(d.top,d.bottom))}await l({...t,availableWidth:L,availableHeight:C});const S=await s.getDimensions(a.floating);return g!==S.width||f!==S.height?{reset:{rects:!0}}:{}}}},Xu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:i="referenceHidden",...n}=_d(e,t);switch(i){case"referenceHidden":{const e=qd(await o.detectOverflow(t,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Kd(e)}}}case"escaped":{const e=qd(await o.detectOverflow(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Kd(e)}}}default:return{}}}}},Yu=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:i,rects:n,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=_d(e,t)||{};if(null==c)return{};const u=Vd(d),h={x:r,y:o},p=Fd(i),g=Ad(p),f=await s.getDimensions(c),m="y"===p,v=m?"top":"left",b=m?"bottom":"right",w=m?"clientHeight":"clientWidth",y=n.reference[g]+n.reference[p]-h[p]-n.floating[g],x=h[p]-n.reference[p],k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let C=k?k[w]:0;C&&await(null==s.isElement?void 0:s.isElement(k))||(C=a.floating[w]||n.floating[g]);const L=y/2-x/2,S=C/2-f[g]/2-1,M=Ld(u[v],S),$=Ld(u[b],S),T=M,_=C-f[g]-$,E=C/2-f[g]/2+L,I=Td(T,E,_),O=!l.arrow&&null!=Id(i)&&E!==I&&n.reference[g]/2-(E<T?M:$)-f[g]/2<0,A=O?E<T?E-T:E-_:0;return{[p]:h[p]+A,data:{[p]:I,centerOffset:E-I-A,...O&&{alignmentOffset:A}},reset:O}}}),Ju=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:i,rects:n,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=_d(e,t),d={x:r,y:o},u=Pd(i),h=Od(u);let p=d[h],g=d[u];const f=_d(a,t),m="number"==typeof f?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const e="y"===h?"height":"width",t=n.reference[h]-n.floating[e]+m.mainAxis,r=n.reference[h]+n.reference[e]-m.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var v,b;const e="y"===h?"width":"height",t=Gd.has(Ed(i)),r=n.reference[u]-n.floating[e]+(t&&(null==(v=s.offset)?void 0:v[u])||0)+(t?0:m.crossAxis),o=n.reference[u]+n.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[u])||0)-(t?m.crossAxis:0);g<r?g=r:g>o&&(g=o)}return{[h]:p,[u]:g}}}};function Qu(e){return"function"==typeof e?e():e}function eh(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function th(e,t){const r=eh(e);return Math.round(t*r)/r}function rh(e){return{[`--bits-${e}-content-transform-origin`]:"var(--bits-floating-transform-origin)",[`--bits-${e}-content-available-width`]:"var(--bits-floating-available-width)",[`--bits-${e}-content-available-height`]:"var(--bits-floating-available-height)",[`--bits-${e}-anchor-width`]:"var(--bits-floating-anchor-width)",[`--bits-${e}-anchor-height`]:"var(--bits-floating-anchor-height)"}}function oh(e){const t=e.whileElementsMounted,r=Qe(()=>Qu(e.open)??!0),o=Qe(()=>Qu(e.middleware)),i=Qe(()=>Qu(e.transform)??!0),n=Qe(()=>Qu(e.placement)??"bottom"),s=Qe(()=>Qu(e.strategy)??"absolute"),a=Qe(()=>Qu(e.sideOffset)??0),l=Qe(()=>Qu(e.alignOffset)??0),c=e.reference;let d=ut(0),u=ut(0);const h=Ca(null);let p=ut(wt(jr(s))),g=ut(wt(jr(n))),f=ut(wt({})),m=ut(!1),v=!1;const b=Qe(()=>{const e=h.current?th(h.current,jr(d)):jr(d),t=h.current?th(h.current,jr(u)):jr(u);return jr(i)?{position:jr(p),left:"0",top:"0",transform:`translate(${e}px, ${t}px)`,...h.current&&eh(h.current)>=1.5&&{willChange:"transform"}}:{position:jr(p),left:`${e}px`,top:`${t}px`}});let w;function y(){null!==c.current&&null!==h.current&&((e,t,r)=>{const o=/* @__PURE__ */new Map,i={platform:Bu,...r},n={...i.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:s}=r,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:u}=Ud(c,o,l),h=o,p={},g=0;for(let m=0;m<a.length;m++){var f;const{name:r,fn:n}=a[m],{x:v,y:b,data:w,reset:y}=await n({x:d,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:p,rects:c,platform:{...s,detectOverflow:null!=(f=s.detectOverflow)?f:Zd},elements:{reference:e,floating:t}});d=null!=v?v:d,u=null!=b?b:u,p={...p,[r]:{...p[r],...w}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(h=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:u}=Ud(c,h,l))),m=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:p}})(e,t,{...i,platform:n})})(c.current,h.current,{middleware:jr(o),placement:jr(n),strategy:jr(s)}).then(e=>{if((t=c.current)instanceof Element&&(!t.isConnected||t instanceof HTMLElement&&t.hidden||0===t.getClientRects().length))pt(f,{...jr(f),hide:{...jr(f).hide,referenceHidden:!0}},!0);else{var t;if(!jr(r)&&0!==jr(d)&&0!==jr(u)){const t=Math.max(Math.abs(jr(a)),Math.abs(jr(l)),15);if(e.x<=t&&e.y<=t)return}pt(d,e.x,!0),pt(u,e.y,!0),pt(p,e.strategy,!0),pt(g,e.placement,!0),pt(f,e.middlewareData,!0),pt(m,!0)}})}function x(){"function"==typeof w&&(w(),w=void 0)}return Kt(()=>{void 0===t&&jr(r)&&y()}),Kt(function(){x(),void 0!==t?jr(r)&&null!==c.current&&null!==h.current&&(w=t(c.current,h.current,y)):y()}),Kt(()=>{void 0!==t&&(jr(o),jr(n),jr(s),jr(a),jr(l),jr(r),jr(r)&&jr(m)?v?y():v=!0:v=!1)}),Kt(function(){jr(r)||pt(m,!1)}),Kt(()=>x),{floating:h,reference:c,get strategy(){return jr(p)},get placement(){return jr(g)},get middlewareData(){return jr(f)},get isPositioned(){return jr(m)},get floatingStyles(){return jr(b)},get update(){return y}}}var ih={top:"bottom",right:"left",bottom:"top",left:"right"},nh=new nl("Floating.Root"),sh=new nl("Floating.Content"),ah=new nl("Floating.Root"),lh=class e{static create(t=!1){return t?ah.set(new e):nh.set(new e)}anchorNode=Ca(null);customAnchorNode=Ca(null);triggerNode=Ca(null);constructor(){Kt(()=>{this.customAnchorNode.current?"string"==typeof this.customAnchorNode.current?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},ch=class e{static create(t,r=!1){return r?sh.set(new e(t,ah.get())):sh.set(new e(t,nh.get()))}opts;root;contentRef=Ca(null);wrapperRef=Ca(null);arrowRef=Ca(null);contentAttachment=ol(this.contentRef);wrapperAttachment=ol(this.wrapperRef);arrowAttachment=ol(this.arrowRef);arrowId=Ca(nd());#Co=Qe(()=>"string"==typeof this.opts.style?ja(this.opts.style):this.opts.style?void 0:{});#Lo=void 0;#So=new cl(()=>this.arrowRef.current??void 0);#Mo=Qe(()=>this.#So?.width??0);#$o=Qe(()=>this.#So?.height??0);#To=Qe(()=>this.opts.side?.current+("center"!==this.opts.align.current?`-${this.opts.align.current}`:""));#_o=Qe(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#Eo=Qe(()=>jr(this.#_o).length>0);get hasExplicitBoundaries(){return jr(this.#Eo)}set hasExplicitBoundaries(e){pt(this.#Eo,e)}#Io=Qe(()=>({padding:this.opts.collisionPadding.current,boundary:jr(this.#_o).filter(Ol),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return jr(this.#Io)}set detectOverflowOptions(e){pt(this.#Io,e)}#Oo=ut(void 0);#Ao=ut(void 0);#zo=ut(void 0);#Po=ut(void 0);#Fo=Qe(()=>{return[Zu({mainAxis:this.opts.sideOffset.current+jr(this.#$o),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&qu({mainAxis:!0,crossAxis:!1,limiter:"partial"===this.opts.sticky.current?Ju():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Ku({...this.detectOverflowOptions}),Gu({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:r})=>{const{width:o,height:i}=e.reference;pt(this.#Oo,t,!0),pt(this.#Ao,r,!0),pt(this.#zo,o,!0),pt(this.#Po,i,!0)}}),this.arrowRef.current&&Yu({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),(e={arrowWidth:jr(this.#Mo),arrowHeight:jr(this.#$o)},{name:"transformOrigin",options:e,fn(t){const{placement:r,rects:o,middlewareData:i}=t,n=0!==i.arrow?.centerOffset,s=n?0:e.arrowWidth,a=n?0:e.arrowHeight,[l,c]=uh(r),d={start:"0%",center:"50%",end:"100%"}[c],u=(i.arrow?.x??0)+s/2,h=(i.arrow?.y??0)+a/2;let p="",g="";return"bottom"===l?(p=n?d:`${u}px`,g=-a+"px"):"top"===l?(p=n?d:`${u}px`,g=`${o.floating.height+a}px`):"right"===l?(p=-a+"px",g=n?d:`${h}px`):"left"===l&&(p=`${o.floating.width+a}px`,g=n?d:`${h}px`),{data:{x:p,y:g}}}}),this.opts.hideWhenDetached.current&&Xu({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean);var e});get middleware(){return jr(this.#Fo)}set middleware(e){pt(this.#Fo,e)}floating;#No=Qe(()=>uh(this.floating.placement)[0]);get placedSide(){return jr(this.#No)}set placedSide(e){pt(this.#No,e)}#Ho=Qe(()=>uh(this.floating.placement)[1]);get placedAlign(){return jr(this.#Ho)}set placedAlign(e){pt(this.#Ho,e)}#Do=Qe(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return jr(this.#Do)}set arrowX(e){pt(this.#Do,e)}#jo=Qe(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return jr(this.#jo)}set arrowY(e){pt(this.#jo,e)}#Ro=Qe(()=>0!==this.floating.middlewareData.arrow?.centerOffset);get cannotCenterArrow(){return jr(this.#Ro)}set cannotCenterArrow(e){pt(this.#Ro,e)}#Wo=ut();get contentZIndex(){return jr(this.#Wo)}set contentZIndex(e){pt(this.#Wo,e,!0)}#Vo=Qe(()=>ih[this.placedSide]);get arrowBaseSide(){return jr(this.#Vo)}set arrowBaseSide(e){pt(this.#Vo,e)}#Bo=Qe(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":"",style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${jr(this.#Oo)}px`,"--bits-floating-available-height":`${jr(this.#Ao)}px`,"--bits-floating-anchor-width":`${jr(this.#zo)}px`,"--bits-floating-anchor-height":`${jr(this.#Po)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:"hidden","pointer-events":"none"},...jr(this.#Co)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return jr(this.#Bo)}set wrapperProps(e){pt(this.#Bo,e)}#f=Qe(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Va({...jr(this.#Co)}),...this.contentAttachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}#Uo=Qe(()=>({position:"absolute",left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[this.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[this.placedSide],visibility:this.cannotCenterArrow?"hidden":void 0}));get arrowStyle(){return jr(this.#Uo)}set arrowStyle(e){pt(this.#Uo,e)}constructor(e,t){this.opts=e,this.root=t,this.#Lo=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),al(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=oh({strategy:()=>this.opts.strategy.current,placement:()=>jr(this.#To),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>function(e,t,r,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:n=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=_u(e),d=i||n?[...c?Mu(c):[],...Mu(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),n&&e.addEventListener("resize",r)});const u=c&&a?function(e,t){let r,o=null;const i=iu(e);function n(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),n();const c=e.getBoundingClientRect(),{left:d,top:u,width:h,height:p}=c;if(a||t(),!h||!p)return;const g={rootMargin:-Qd(u)+"px "+-Qd(i.clientWidth-(d+h))+"px "+-Qd(i.clientHeight-(u+p))+"px "+-Qd(d)+"px",threshold:Yd(0,Xd(1,l))||1};let f=!0;function m(t){const o=t[0].intersectionRatio;if(o!==l){if(!f)return s();o?s(!1,o):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||Uu(c,e.getBoundingClientRect())||s(),f=!1}try{o=new IntersectionObserver(m,{...g,root:i.ownerDocument})}catch(v){o=new IntersectionObserver(m,g)}o.observe(e)}(!0),n}(c,r):null;let h,p=-1,g=null;s&&(g=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let f=l?Au(e):null;return l&&function t(){const o=Au(e);f&&!Uu(f,o)&&r(),f=o,h=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),n&&e.removeEventListener("resize",r)}),u?.(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(h)}}(...e,{animationFrame:"always"===this.#Lo?.current}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),Kt(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),al(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;const t=tl(e),r=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;const r=t.getComputedStyle(e).zIndex;r!==this.contentZIndex&&(this.contentZIndex=r)});return()=>{t.cancelAnimationFrame(r)}}),Kt(()=>{this.floating.floating.current=this.wrapperRef.current})}},dh=class e{static create(t,r=!1){return new e(t,r?ah.get():nh.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=ka(e.virtualEl.current):t.triggerNode=e.ref}};function uh(e){const[t,r="center"]=e.split("-");return[t,r]}function hh(e,t){ue(t,!0);let r=Ui(t,"tooltip",3,!1);lh.create(r());var o=vo();Ro(At(o),()=>t.children??g),bo(e,o),he()}var ph=class{#qt;#Zo=Qe(()=>this.#qt.candidateValues());#pr;constructor(e){this.#qt=e,this.#pr=Ac("",{afterMs:1e3,getWindow:this.#qt.getWindow}),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(e){if(!this.#qt.enabled()||!jr(this.#Zo).length)return;this.#pr.current=this.#pr.current+e;const t=this.#qt.getCurrentItem(),r=jr(this.#Zo).find(e=>e===t)??"",o=Ec(jr(this.#Zo).map(e=>e??""),this.#pr.current,r),i=jr(this.#Zo).find(e=>e===o);return i&&this.#qt.onMatch(i),i}resetTypeahead(){this.#pr.current=""}},gh=[vl,Cl,xl,yl,kl,"End"],fh=ml({component:"select",parts:["trigger","content","item","viewport","scroll-up-button","scroll-down-button","group","group-label","separator","arrow","input","content-wrapper","item-text","value"]}),mh=new nl("Select.Root | Combobox.Root"),vh=(new nl("Select.Group | Combobox.Group"),new nl("Select.Content | Combobox.Content")),bh=class{opts;#qo=ut(!1);get touchedInput(){return jr(this.#qo)}set touchedInput(e){pt(this.#qo,e,!0)}#Ko=ut(null);get inputNode(){return jr(this.#Ko)}set inputNode(e){pt(this.#Ko,e,!0)}#rr=ut(null);get contentNode(){return jr(this.#rr)}set contentNode(e){pt(this.#rr,e,!0)}contentPresence;#Go=ut(null);get viewportNode(){return jr(this.#Go)}set viewportNode(e){pt(this.#Go,e,!0)}#tr=ut(null);get triggerNode(){return jr(this.#tr)}set triggerNode(e){pt(this.#tr,e,!0)}#Xo=ut("");get valueId(){return jr(this.#Xo)}set valueId(e){pt(this.#Xo,e,!0)}#Yo=ut(null);get highlightedNode(){return jr(this.#Yo)}set highlightedNode(e){pt(this.#Yo,e,!0)}#Jo=Qe(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-value"):null);get highlightedValue(){return jr(this.#Jo)}set highlightedValue(e){pt(this.#Jo,e)}#Qo=Qe(()=>{if(this.highlightedNode)return this.highlightedNode.id});get highlightedId(){return jr(this.#Qo)}set highlightedId(e){pt(this.#Qo,e)}#ei=Qe(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-label"):null);get highlightedLabel(){return jr(this.#ei)}set highlightedLabel(e){pt(this.#ei,e)}isUsingKeyboard=!1;isCombobox=!1;domContext=new rl(()=>null);constructor(e){this.opts=e,this.isCombobox=e.isCombobox,this.contentPresence=new Pl({ref:wa(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),Xt(()=>{this.opts.open.current||this.setHighlightedNode(null)})}setHighlightedNode(e,t=!1){this.highlightedNode=e,e&&(this.isUsingKeyboard||t)&&e.scrollIntoView({block:this.opts.scrollAlignment.current})}getCandidateNodes(){const e=this.contentNode;return e?Array.from(e.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)):[]}setHighlightedToFirstCandidate(e=!1){this.setHighlightedNode(null);let t=this.getCandidateNodes();if(t.length){if(this.viewportNode){const e=this.viewportNode.getBoundingClientRect();t=t.filter(t=>{if(!this.viewportNode)return!1;const r=t.getBoundingClientRect();return r.right<=e.right&&r.left>=e.left&&r.bottom<=e.bottom&&r.top>=e.top})}this.setHighlightedNode(t[0],e)}}getNodeByValue(e){return this.getCandidateNodes().find(t=>t.dataset.value===e)??null}setOpen(e){this.opts.open.current=e}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleOpen(){this.setOpen(!0)}handleClose(){this.setHighlightedNode(null),this.setOpen(!1)}toggleMenu(){this.toggleOpen()}getBitsAttr=e=>fh.getAttr(e,this.isCombobox?"combobox":void 0)},wh=class extends bh{opts;isMulti=!1;#ti=Qe(()=>""!==this.opts.value.current);get hasValue(){return jr(this.#ti)}set hasValue(e){pt(this.#ti,e)}#ri=Qe(()=>this.opts.items.current.length?this.opts.items.current.find(e=>e.value===this.opts.value.current)?.label??"":"");get currentLabel(){return jr(this.#ri)}set currentLabel(e){pt(this.#ri,e)}#oi=Qe(()=>this.opts.items.current.length?this.opts.items.current.filter(e=>!e.disabled).map(e=>e.label):[]);get candidateLabels(){return jr(this.#oi)}set candidateLabels(e){pt(this.#oi,e)}#ii=Qe(()=>!this.isMulti&&0!==this.opts.items.current.length);get dataTypeaheadEnabled(){return jr(this.#ii)}set dataTypeaheadEnabled(e){pt(this.#ii,e)}constructor(e){super(e),this.opts=e,Kt(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),al(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}includesItem(e){return this.opts.value.current===e}toggleItem(e,t=e){const r=this.includesItem(e)?"":e;this.opts.value.current=r,""!==r&&(this.opts.inputValue.current=t)}setInitialHighlightedNode(){Xa(()=>{if(!this.highlightedNode||!this.domContext.getDocument().contains(this.highlightedNode)){if(""!==this.opts.value.current){const e=this.getNodeByValue(this.opts.value.current);if(e)return void this.setHighlightedNode(e,!0)}this.setHighlightedToFirstCandidate(!0)}})}},yh=class extends bh{opts;isMulti=!0;#ti=Qe(()=>this.opts.value.current.length>0);get hasValue(){return jr(this.#ti)}set hasValue(e){pt(this.#ti,e)}constructor(e){super(e),this.opts=e,Kt(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),al(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}includesItem(e){return this.opts.value.current.includes(e)}toggleItem(e,t=e){this.includesItem(e)?this.opts.value.current=this.opts.value.current.filter(t=>t!==e):this.opts.value.current=[...this.opts.value.current,e],this.opts.inputValue.current=t}setInitialHighlightedNode(){Xa(()=>{if(this.domContext&&(!this.highlightedNode||!this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current.length&&""!==this.opts.value.current[0]){const e=this.getNodeByValue(this.opts.value.current[0]);if(e)return void this.setHighlightedNode(e,!0)}this.setHighlightedToFirstCandidate(!0)}})}},xh=class{static create(e){const{type:t,...r}=e,o="single"===t?new wh(r):new yh(r);return mh.set(o)}},kh=class e{static create(t){return new e(t,mh.get())}opts;root;attachment;#ni;#si;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(e.ref,e=>this.root.triggerNode=e),this.root.domContext=new rl(e.ref),this.#ni=new zc({getCurrentItem:()=>this.root.highlightedNode,onMatch:e=>{this.root.setHighlightedNode(e)},getActiveElement:()=>this.root.domContext.getActiveElement(),getWindow:()=>this.root.domContext.getWindow()}),this.#si=new ph({getCurrentItem:()=>this.root.isMulti?"":this.root.currentLabel,onMatch:e=>{if(this.root.isMulti)return;if(!this.root.opts.items.current)return;const t=this.root.opts.items.current.find(t=>t.label===e);t&&(this.root.opts.value.current=t.value)},enabled:()=>!this.root.isMulti&&this.root.dataTypeaheadEnabled,candidateValues:()=>this.root.isMulti?[]:this.root.candidateLabels,getWindow:()=>this.root.domContext.getWindow()}),this.onkeydown=this.onkeydown.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onclick=this.onclick.bind(this)}#ai(){this.root.opts.open.current=!0,this.#si.resetTypeahead(),this.#ni.resetTypeahead()}#li(e){this.#ai()}#ci(){const e=this.root.highlightedValue===this.root.opts.value.current;return this.root.opts.allowDeselect.current||!e||this.root.isMulti?(null!==this.root.highlightedValue&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!e&&(this.root.handleClose(),!0)):(this.root.handleClose(),!0)}onkeydown(e){if(this.root.isUsingKeyboard=!0,"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.preventDefault(),!this.root.opts.open.current){if("Enter"===e.key||" "===e.key||"ArrowDown"===e.key||"ArrowUp"===e.key)e.preventDefault(),this.root.handleOpen();else if(!this.root.isMulti&&this.root.dataTypeaheadEnabled)return void this.#si.handleTypeaheadSearch(e.key);if(this.root.hasValue)return;const t=this.root.getCandidateNodes();if(!t.length)return;if("ArrowDown"===e.key){const e=t[0];this.root.setHighlightedNode(e)}else if("ArrowUp"===e.key){const e=t[t.length-1];this.root.setHighlightedNode(e)}return}if("Tab"===e.key)return void this.root.handleClose();if(("Enter"===e.key||" "===e.key&&""===this.#ni.search)&&!e.isComposing&&(e.preventDefault(),this.#ci()))return;if("ArrowUp"===e.key&&e.altKey&&this.root.handleClose(),gh.includes(e.key)){e.preventDefault();const t=this.root.getCandidateNodes(),r=this.root.highlightedNode,o=r?t.indexOf(r):-1,i=this.root.opts.loop.current;let n;if("ArrowDown"===e.key?n=function(e,t,r=!0){if(!(0===e.length||t<0||t>=e.length))return 1===e.length&&0===t?e[0]:t===e.length-1?r?e[0]:void 0:e[t+1]}(t,o,i):"ArrowUp"===e.key?n=function(e,t,r=!0){if(!(0===e.length||t<0||t>=e.length))return 1===e.length&&0===t?e[0]:0===t?r?e[e.length-1]:void 0:e[t-1]}(t,o,i):"PageDown"===e.key?n=function(e,t,r,o=!0){if(0===e.length||t<0||t>=e.length)return;let i=t+r;return i=o?(i%e.length+e.length)%e.length:Math.max(0,Math.min(i,e.length-1)),e[i]}(t,o,10,i):"PageUp"===e.key?n=function(e,t,r,o=!0){if(0===e.length||t<0||t>=e.length)return;let i=t-r;return i=o?(i%e.length+e.length)%e.length:Math.max(0,Math.min(i,e.length-1)),e[i]}(t,o,10,i):"Home"===e.key?n=t[0]:"End"===e.key&&(n=t[t.length-1]),!n)return;return void this.root.setHighlightedNode(n)}const t=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length,o=" "===e.key,i=this.root.getCandidateNodes();"Tab"!==e.key&&(t||!r&&!o?this.root.highlightedNode||this.root.setHighlightedToFirstCandidate():!this.#ni.handleTypeaheadSearch(e.key,i)&&o&&(e.preventDefault(),this.#ci()))}onclick(e){e.currentTarget.focus()}onpointerdown(e){if(this.root.opts.disabled.current)return;if("touch"===e.pointerType)return e.preventDefault();const t=e.target;t?.hasPointerCapture(e.pointerId)&&t?.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(!1===this.root.opts.open.current?this.#li(e):this.root.handleClose())}onpointerup(e){this.root.opts.disabled.current||(e.preventDefault(),"touch"===e.pointerType&&(!1===this.root.opts.open.current?this.#li(e):this.root.handleClose()))}#f=Qe(()=>({id:this.opts.id.current,disabled:!!this.root.opts.disabled.current||void 0,"aria-haspopup":"listbox","aria-expanded":ul(this.root.opts.open.current),"aria-activedescendant":this.root.highlightedId,"data-state":gl(this.root.opts.open.current),"data-disabled":hl(this.root.opts.disabled.current),"data-placeholder":this.root.hasValue?void 0:"",[this.root.getBitsAttr("trigger")]:"",onpointerdown:this.onpointerdown,onkeydown:this.onkeydown,onclick:this.onclick,onpointerup:this.onpointerup,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Ch=class e{static create(t){return vh.set(new e(t,mh.get()))}opts;root;attachment;#di=ut(!1);get isPositioned(){return jr(this.#di)}set isPositioned(e){pt(this.#di,e,!0)}domContext;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(e.ref,e=>this.root.contentNode=e),this.domContext=new rl(this.opts.ref),null===this.root.domContext&&(this.root.domContext=this.domContext),Ka(()=>{this.root.contentNode=null,this.isPositioned=!1}),al(()=>this.root.opts.open.current,()=>{this.root.opts.open.current||(this.isPositioned=!1)}),this.onpointermove=this.onpointermove.bind(this)}onpointermove(e){this.root.isUsingKeyboard=!1}#ui=Qe(()=>rh(this.root.isCombobox?"combobox":"select"));onInteractOutside=e=>{e.target!==this.root.triggerNode&&e.target!==this.root.inputNode?(this.opts.onInteractOutside.current(e),e.defaultPrevented||this.root.handleClose()):e.preventDefault()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current(e),e.defaultPrevented||this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#hr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,role:"listbox","aria-multiselectable":this.root.isMulti?"true":void 0,"data-state":gl(this.root.opts.open.current),[this.root.getBitsAttr("content")]:"",style:{display:"flex",flexDirection:"column",outline:"none",boxSizing:"border-box",pointerEvents:"auto",...jr(this.#ui)},onpointermove:this.onpointermove,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus,trapFocus:!1,loop:!1,onPlaced:()=>{this.root.opts.open.current&&(this.isPositioned=!0)}}},Lh=class e{static create(t){return new e(t,mh.get())}opts;root;attachment;#hi=Qe(()=>this.root.includesItem(this.opts.value.current));get isSelected(){return jr(this.#hi)}set isSelected(e){pt(this.#hi,e)}#pi=Qe(()=>this.root.highlightedValue===this.opts.value.current);get isHighlighted(){return jr(this.#pi)}set isHighlighted(e){pt(this.#pi,e)}prevHighlighted=new dl(()=>this.isHighlighted);#Cr=ut(!1);get mounted(){return jr(this.#Cr)}set mounted(e){pt(this.#Cr,e,!0)}constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(e.ref),al([()=>this.isHighlighted,()=>this.prevHighlighted.current],()=>{this.isHighlighted?this.opts.onHighlight.current():this.prevHighlighted.current&&this.opts.onUnhighlight.current()}),al(()=>this.mounted,()=>{this.mounted&&this.root.setInitialHighlightedNode()}),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onpointermove=this.onpointermove.bind(this)}handleSelect(){if(this.opts.disabled.current)return;const e=this.opts.value.current===this.root.opts.value.current;this.root.opts.allowDeselect.current||!e||this.root.isMulti?(this.root.toggleItem(this.opts.value.current,this.opts.label.current),this.root.isMulti||e||this.root.handleClose()):this.root.handleClose()}#hr=Qe(()=>({selected:this.isSelected,highlighted:this.isHighlighted}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}onpointerdown(e){e.preventDefault()}onpointerup(e){!e.defaultPrevented&&this.opts.ref.current&&("touch"!==e.pointerType||$l?(e.preventDefault(),this.handleSelect(),"touch"===e.pointerType&&this.root.setHighlightedNode(this.opts.ref.current)):io(this.opts.ref.current,"click",()=>{this.handleSelect(),this.root.setHighlightedNode(this.opts.ref.current)},{once:!0}))}onpointermove(e){"touch"!==e.pointerType&&this.root.highlightedNode!==this.opts.ref.current&&this.root.setHighlightedNode(this.opts.ref.current)}#f=Qe(()=>({id:this.opts.id.current,role:"option","aria-selected":this.root.includesItem(this.opts.value.current)?"true":void 0,"data-value":this.opts.value.current,"data-disabled":hl(this.opts.disabled.current),"data-highlighted":this.root.highlightedValue!==this.opts.value.current||this.opts.disabled.current?void 0:"","data-selected":this.root.includesItem(this.opts.value.current)?"":void 0,"data-label":this.opts.label.current,[this.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Sh=class e{static create(t){return new e(t,mh.get())}opts;root;#er=Qe(()=>""!==this.root.opts.name.current);get shouldRender(){return jr(this.#er)}set shouldRender(e){pt(this.#er,e)}constructor(e,t){this.opts=e,this.root=t,this.onfocus=this.onfocus.bind(this)}onfocus(e){e.preventDefault(),this.root.isCombobox?this.root.inputNode?.focus():this.root.triggerNode?.focus()}#f=Qe(()=>({disabled:pl(this.root.opts.disabled.current),required:pl(this.root.opts.required.current),name:this.root.opts.name.current,value:this.opts.value.current,onfocus:this.onfocus}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}};function Mh(e,t){ue(t,!0);let r=Ui(t,"value",15);const o=Sh.create({value:wa(()=>r())});var i=vo(),n=At(i),s=e=>{!function(e,t){ue(t,!0);let r=Ui(t,"value",15),o=Wi(t,["$$slots","$$events","$$legacy","value"]);const i=Qe(()=>Za(o,{"aria-hidden":"true",tabindex:-1,style:qa}));var n=vo(),s=At(n),a=e=>{var t=xd();Si(t,()=>({...jr(i),value:r()}),void 0,void 0,void 0,void 0,!0),bo(e,t)},l=e=>{var t=kd();Si(t,()=>({...jr(i)}),void 0,void 0,void 0,void 0,!0),Ii(t,r),bo(e,t)};_o(s,e=>{"checkbox"===jr(i).type?e(a):e(l,!1)}),bo(e,n),he()}(e,Bi(()=>o.props,{get autocomplete(){return t.autocomplete},get value(){return r()},set value(e){r(e)}}))};_o(n,e=>{o.shouldRender&&e(s)}),bo(e,i),he()}function $h(e,t){ue(t,!0);let r=Ui(t,"tooltip",3,!1);dh.create({id:wa(()=>t.id),virtualEl:wa(()=>t.virtualEl),ref:t.ref},r());var o=vo();Ro(At(o),()=>t.children??g),bo(e,o),he()}var Th=po("<!> <!>",1);function _h(e,t){ue(t,!0);let r=Ui(t,"interactOutsideBehavior",3,"close"),o=Ui(t,"trapFocus",3,!0),i=Ui(t,"isValidEvent",3,()=>!1),n=Ui(t,"customAnchor",3,null),s=Ui(t,"isStatic",3,!1),a=Ui(t,"tooltip",3,!1),l=Ui(t,"contentPointerEvents",3,"auto"),c=Wi(t,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled","ref","tooltip","contentPointerEvents"]);{const d=(e,n)=>{let s=()=>n?.().props,a=()=>n?.().wrapperProps;var d=Th(),u=At(d),h=e=>{md(0,{get preventScroll(){return t.preventScroll}})},p=e=>{md(0,{get preventScroll(){return t.preventScroll}})};_o(u,e=>{t.forceMount&&t.enabled?e(h):t.forceMount||e(p,1)});{const e=(e,o)=>{let n=()=>o?.().props;Yc(e,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,o)=>{{const o=(e,r)=>{id(e,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,o)=>{var i=vo(),d=At(i);{let e=Qe(()=>({props:Za(c,s(),r?.().props,n(),{style:{pointerEvents:l()}}),wrapperProps:a()}));Ro(d,()=>t.popper??g,()=>jr(e))}bo(e,i)},$$slots:{default:!0}})};Gc(e,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return r()},get isValidEvent(){return i()},get enabled(){return t.enabled},get ref(){return t.ref},children:o,$$slots:{default:!0}})}},$$slots:{default:!0}})};ed(zt(u,2),{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return o()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:e,$$slots:{focusScope:!0}})}bo(e,d)};!function(e,t){let r=Ui(t,"isStatic",3,!1),o=Wi(t,["$$slots","$$events","$$legacy","content","isStatic","onPlaced"]);var i=vo(),n=At(i),s=e=>{!function(e,t){ue(t,!0),Zi(()=>{t.onPlaced?.()});var r=vo();Ro(At(r),()=>t.content??g,()=>({props:{},wrapperProps:{}})),bo(e,r),he()}(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},a=e=>{!function(e,t){ue(t,!0);let r=Ui(t,"side",3,"bottom"),o=Ui(t,"sideOffset",3,0),i=Ui(t,"align",3,"center"),n=Ui(t,"alignOffset",3,0),s=Ui(t,"arrowPadding",3,0),a=Ui(t,"avoidCollisions",3,!0),l=Ui(t,"collisionBoundary",19,()=>[]),c=Ui(t,"collisionPadding",3,0),d=Ui(t,"hideWhenDetached",3,!1),u=Ui(t,"onPlaced",3,()=>{}),h=Ui(t,"sticky",3,"partial"),p=Ui(t,"updatePositionStrategy",3,"optimized"),f=Ui(t,"strategy",3,"fixed"),m=Ui(t,"dir",3,"ltr"),v=Ui(t,"style",19,()=>({})),b=Ui(t,"wrapperId",19,nd),w=Ui(t,"customAnchor",3,null),y=Ui(t,"tooltip",3,!1);const x=ch.create({side:wa(()=>r()),sideOffset:wa(()=>o()),align:wa(()=>i()),alignOffset:wa(()=>n()),id:wa(()=>t.id),arrowPadding:wa(()=>s()),avoidCollisions:wa(()=>a()),collisionBoundary:wa(()=>l()),collisionPadding:wa(()=>c()),hideWhenDetached:wa(()=>d()),onPlaced:wa(()=>u()),sticky:wa(()=>h()),updatePositionStrategy:wa(()=>p()),strategy:wa(()=>f()),dir:wa(()=>m()),style:wa(()=>v()),enabled:wa(()=>t.enabled),wrapperId:wa(()=>b()),customAnchor:wa(()=>w())},y()),k=Qe(()=>Za(x.wrapperProps,{style:{pointerEvents:"auto"}}));var C=vo();Ro(At(C),()=>t.content??g,()=>({props:x.props,wrapperProps:jr(k)})),bo(e,C),he()}(e,Bi({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>o))};_o(n,e=>{r()?e(s):e(a,!1)}),bo(e,i)}(e,{get isStatic(){return s()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return n()},get enabled(){return t.enabled},get tooltip(){return a()},content:d,$$slots:{content:!0}})}he()}function Eh(e,t){let r=Ui(t,"interactOutsideBehavior",3,"close"),o=Ui(t,"trapFocus",3,!0),i=Ui(t,"isValidEvent",3,()=>!1),n=Ui(t,"customAnchor",3,null),s=Ui(t,"isStatic",3,!1),a=Wi(t,["$$slots","$$events","$$legacy","popper","open","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","ref","shouldRender"]);var l=vo(),c=At(l),d=e=>{_h(e,Bi({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return n()},get isStatic(){return s()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return t.loop},get trapFocus(){return o()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>a))};_o(c,e=>{t.shouldRender&&e(d)}),bo(e,l)}function Ih(e,t){let r=Ui(t,"interactOutsideBehavior",3,"close"),o=Ui(t,"trapFocus",3,!0),i=Ui(t,"isValidEvent",3,()=>!1),n=Ui(t,"customAnchor",3,null),s=Ui(t,"isStatic",3,!1),a=Wi(t,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled"]);_h(e,Bi({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return n()},get isStatic(){return s()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return t.loop},get trapFocus(){return o()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>a,{forceMount:!0}))}var Oh=po("<div><div><!></div></div>"),Ah=po("<div><div><!></div></div>");function zh(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"forceMount",3,!1),s=Ui(t,"side",3,"bottom"),a=Ui(t,"onInteractOutside",3,Fl),l=Ui(t,"onEscapeKeydown",3,Fl),c=Ui(t,"preventScroll",3,!1),d=Wi(t,["$$slots","$$events","$$legacy","id","ref","forceMount","side","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]);const u=Ch.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),onInteractOutside:wa(()=>a()),onEscapeKeydown:wa(()=>l())}),h=Qe(()=>Za(d,u.props));var p=vo(),f=At(p),m=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:u.props.style},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...u.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=Oh();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Ih(e,Bi(()=>jr(h),()=>u.popperProps,{get ref(){return u.opts.ref},get side(){return s()},get enabled(){return u.root.opts.open.current},get id(){return o()},get preventScroll(){return c()},forceMount:!0,get shouldRender(){return u.shouldRender},popper:r,$$slots:{popper:!0}}))}},v=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:u.props.style},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...u.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=Ah();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Eh(e,Bi(()=>jr(h),()=>u.popperProps,{get ref(){return u.opts.ref},get side(){return s()},get open(){return u.root.opts.open.current},get id(){return o()},get preventScroll(){return c()},forceMount:!1,get shouldRender(){return u.shouldRender},popper:r,$$slots:{popper:!0}}))}};_o(f,e=>{n()?e(m):n()||e(v,1)}),bo(e,p),he()}var Ph=po("<div><!></div>"),Fh=po("<!> <!>",1);function Nh(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"label",19,()=>t.value),s=Ui(t,"disabled",3,!1),a=Ui(t,"onHighlight",3,Fl),l=Ui(t,"onUnhighlight",3,Fl),c=Wi(t,["$$slots","$$events","$$legacy","id","ref","value","label","disabled","children","child","onHighlight","onUnhighlight"]);const d=Lh.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),value:wa(()=>t.value),disabled:wa(()=>s()),label:wa(()=>n()),onHighlight:wa(()=>a()),onUnhighlight:wa(()=>l())}),u=Qe(()=>Za(c,d.props));var h=Fh(),p=At(h),f=e=>{var r=vo(),o=At(r);{let e=Qe(()=>({props:jr(u),...d.snippetProps}));Ro(o,()=>t.child,()=>jr(e))}bo(e,r)},m=e=>{var r=Ph();Si(r,()=>({...jr(u)})),Ro(Ot(r),()=>t.children??g,()=>d.snippetProps),q(r),bo(e,r)};_o(p,e=>{t.child?e(f):e(m,!1)}),function(e,t){ue(t,!0);let r=Ui(t,"mounted",15,!1),o=Ui(t,"onMountedChange",3,Fl);Ga(()=>(r(!0),o()(!0),()=>{r(!1),o()(!1)})),he()}(zt(p,2),{get mounted(){return d.mounted},set mounted(e){d.mounted=e}}),bo(e,h),he()}var Hh=po("<div><!></div>");function Dh(e,t){const r=wo();ue(t,!0);let o=Ui(t,"ref",15,null),i=Ui(t,"id",19,()=>Nl(r)),n=Ui(t,"disabled",3,!1),s=Ui(t,"onSelect",3,Fl),a=Ui(t,"closeOnSelect",3,!0),l=Wi(t,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const c=Uc.create({id:wa(()=>i()),disabled:wa(()=>n()),onSelect:wa(()=>s()),ref:wa(()=>o(),e=>o(e)),closeOnSelect:wa(()=>a())}),d=Qe(()=>Za(l,c.props));var u=vo(),h=At(u),p=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(d)})),bo(e,r)},f=e=>{var r=Hh();Si(r,()=>({...jr(d)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function jh(e,t){const[r,o]=e;let i=!1;const n=t.length;for(let s=0,a=n-1;s<n;a=s++){const[e,n]=t[s]??[0,0],[l,c]=t[a]??[0,0];n>=o!=c>=o&&r<=(l-e)*(o-n)/(c-n)+e&&(i=!i)}return i}function Rh(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}var Wh=class{#qt;#gi;#fi=null;#mi=null;#vi=null;#bi(){null!==this.#vi&&(cancelAnimationFrame(this.#vi),this.#vi=null)}#wi(){this.#bi(),this.#vi=requestAnimationFrame(()=>{this.#vi=null,this.#fi&&this.#mi&&(this.#yi(),this.#qt.onPointerExit())})}constructor(e){this.#qt=e,this.#gi=e.buffer??1,al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return[io(el(e),"pointermove",r=>{this.#xi([r.clientX,r.clientY],e,t)}),io(e,"pointerleave",r=>{const o=r.relatedTarget;if(_l(o)&&t.contains(o))return;const i=this.#qt.ignoredTargets?.()??[];if(!_l(o)||!i.some(e=>e===o||e.contains(o))){if(_l(o)&&!e.contains(o)&&!t.contains(o)&&!o.contains(t))return this.#yi(),void this.#qt.onPointerExit();this.#fi=[r.clientX,r.clientY],this.#mi="content",this.#wi()}}),io(e,"pointerenter",()=>{this.#yi()}),io(t,"pointerenter",()=>{this.#yi()}),io(t,"pointerleave",t=>{const r=t.relatedTarget;_l(r)&&e.contains(r)||(this.#fi=[t.clientX,t.clientY],this.#mi="trigger",this.#wi())})].reduce((e,t)=>()=>{e(),t()},()=>{});this.#yi()})}#xi(e,t,r){if(!this.#fi||!this.#mi)return;this.#bi();const o=t.getBoundingClientRect(),i=r.getBoundingClientRect();if("content"===this.#mi&&Rh(e,i))return void this.#yi();if("trigger"===this.#mi&&Rh(e,o))return void this.#yi();const n=function(e,t){const r=e.left+e.width/2,o=e.top+e.height/2,i=t.left+t.width/2-r,n=t.top+t.height/2-o;return Math.abs(i)>Math.abs(n)?i>0?"right":"left":n>0?"bottom":"top"}(o,i),s=this.#ki(o,i,n);if(s&&jh(e,s))return;const a="content"===this.#mi?i:o;jh(e,this.#Ci(this.#fi,a,n,this.#mi))||(this.#yi(),this.#qt.onPointerExit())}#yi(){this.#fi=null,this.#mi=null,this.#bi()}#ki(e,t,r){const o=this.#gi;switch(r){case"top":return[[Math.min(e.left,t.left)-o,e.top],[Math.min(e.left,t.left)-o,t.bottom],[Math.max(e.right,t.right)+o,t.bottom],[Math.max(e.right,t.right)+o,e.top]];case"bottom":return[[Math.min(e.left,t.left)-o,e.bottom],[Math.min(e.left,t.left)-o,t.top],[Math.max(e.right,t.right)+o,t.top],[Math.max(e.right,t.right)+o,e.bottom]];case"left":return[[e.left,Math.min(e.top,t.top)-o],[t.right,Math.min(e.top,t.top)-o],[t.right,Math.max(e.bottom,t.bottom)+o],[e.left,Math.max(e.bottom,t.bottom)+o]];case"right":return[[e.right,Math.min(e.top,t.top)-o],[t.left,Math.min(e.top,t.top)-o],[t.left,Math.max(e.bottom,t.bottom)+o],[e.right,Math.max(e.bottom,t.bottom)+o]]}}#Ci(e,t,r,o){const i=4*this.#gi,[n,s]=e;switch("trigger"===o?this.#Li(r):r){case"top":return[[n-i,s+i],[n+i,s+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case"bottom":return[[n-i,s-i],[n+i,s-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case"left":return[[n+i,s-i],[n+i,s+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case"right":return[[n-i,s-i],[n-i,s+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#Li(e){switch(e){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}}},Vh=ml({component:"popover",parts:["root","trigger","content","close","overlay"]}),Bh=new nl("Popover.Root"),Uh=class e{static create(t){return Bh.set(new e(t))}opts;#rr=ut(null);get contentNode(){return jr(this.#rr)}set contentNode(e){pt(this.#rr,e,!0)}contentPresence;#tr=ut(null);get triggerNode(){return jr(this.#tr)}set triggerNode(e){pt(this.#tr,e,!0)}#or=ut(null);get overlayNode(){return jr(this.#or)}set overlayNode(e){pt(this.#or,e,!0)}overlayPresence;#Si=ut(!1);get openedViaHover(){return jr(this.#Si)}set openedViaHover(e){pt(this.#Si,e,!0)}#Mi=ut(!1);get hasInteractedWithContent(){return jr(this.#Mi)}set hasInteractedWithContent(e){pt(this.#Mi,e,!0)}#$i=ut(!1);get hoverCooldown(){return jr(this.#$i)}set hoverCooldown(e){pt(this.#$i,e,!0)}#Ti=ut(0);get closeDelay(){return jr(this.#Ti)}set closeDelay(e){pt(this.#Ti,e,!0)}#_i=null;#Ei=null;constructor(e){this.opts=e,this.contentPresence=new Pl({ref:wa(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Pl({ref:wa(()=>this.overlayNode),open:this.opts.open}),al(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,this.#Ii())})}setDomContext(e){this.#Ei=e}#Ii(){null!==this.#_i&&this.#Ei&&(this.#Ei.clearTimeout(this.#_i),this.#_i=null)}toggleOpen(){this.#Ii(),this.opts.open.current=!this.opts.open.current}handleClose(){this.#Ii(),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){this.#Ii(),this.opts.open.current||(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.#Ii(),this.closeDelay<=0?this.opts.open.current=!1:this.#Ei&&(this.#_i=this.#Ei.setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),this.#_i=null},this.closeDelay)))}cancelDelayedClose(){this.#Ii()}markInteraction(){this.hasInteractedWithContent=!0,this.#Ii()}},Zh=class e{static create(t){return new e(t,Bh.get())}opts;root;attachment;domContext;#Oi=null;#_i=null;#Ai=ut(!1);constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new rl(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),al(()=>this.opts.closeDelay.current,e=>{this.root.closeDelay=e})}#zi(){null!==this.#Oi&&(this.domContext.clearTimeout(this.#Oi),this.#Oi=null)}#Ii(){null!==this.#_i&&(this.domContext.clearTimeout(this.#_i),this.#_i=null)}#Pi(){this.#zi(),this.#Ii()}onpointerenter(e){if(this.opts.disabled.current)return;if(!this.opts.openOnHover.current)return;if(Il(e))return;if(pt(this.#Ai,!0),this.#Ii(),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown)return;const t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():this.#Oi=this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),this.#Oi=null},t)}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&(Il(e)||(pt(this.#Ai,!1),this.#zi(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&0===e.button){if(this.#Pi(),jr(this.#Ai)&&this.root.opts.open.current&&this.root.openedViaHover)return this.root.openedViaHover=!1,void(this.root.hasInteractedWithContent=!0);jr(this.#Ai)&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.#Pi(),this.root.toggleOpen())}#Fi(){if(this.root.opts.open.current&&this.root.contentNode?.id)return this.root.contentNode?.id}#f=Qe(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":ul(this.root.opts.open.current),"data-state":gl(this.root.opts.open.current),"aria-controls":this.#Fi(),[Vh.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},qh=class e{static create(t){return new e(t,Bh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.contentNode=e),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new Wh({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}onpointerdown(e){this.root.markInteraction()}onfocusin(e){const t=e.target;_l(t)&&Mc(t)&&this.root.markInteraction()}onpointerenter(e){Il(e)||this.root.cancelDelayedClose()}onpointerleave(e){Il(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented)return;if(!_l(e.target))return;const t=e.target.closest(Vh.selector("trigger"));if(!t||t!==this.root.triggerNode){if(this.opts.customAnchor.current)if(_l(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if("string"==typeof this.opts.customAnchor.current){const t=document.querySelector(this.opts.customAnchor.current);if(t&&t.contains(e.target))return}this.root.handleClose()}};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current(e),e.defaultPrevented||this.root.handleClose()};get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}#hr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,"data-state":gl(this.root.opts.open.current),[Vh.content]:"",style:{pointerEvents:"auto",contain:"layout style"},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},Kh=po("<div><div><!></div></div>"),Gh=po("<div><div><!></div></div>");function Xh(e,t){const r=wo();ue(t,!0);let o=Ui(t,"ref",15,null),i=Ui(t,"id",19,()=>Nl(r)),n=Ui(t,"forceMount",3,!1),s=Ui(t,"onOpenAutoFocus",3,Fl),a=Ui(t,"onCloseAutoFocus",3,Fl),l=Ui(t,"onEscapeKeydown",3,Fl),c=Ui(t,"onInteractOutside",3,Fl),d=Ui(t,"trapFocus",3,!0),u=Ui(t,"preventScroll",3,!1),h=Ui(t,"customAnchor",3,null),p=Wi(t,["$$slots","$$events","$$legacy","child","children","ref","id","forceMount","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","customAnchor","style"]);const f=qh.create({id:wa(()=>i()),ref:wa(()=>o(),e=>o(e)),onInteractOutside:wa(()=>c()),onEscapeKeydown:wa(()=>l()),customAnchor:wa(()=>h())}),m=Qe(()=>Za(p,f.props)),v=Qe(()=>d()&&f.shouldTrapFocus);function b(e){f.shouldTrapFocus||e.preventDefault(),s()(e)}var w=vo(),y=At(w),x=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...f.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=Kh();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Ih(e,Bi(()=>jr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return jr(v)},get preventScroll(){return u()},loop:!0,forceMount:!0,get customAnchor(){return h()},onOpenAutoFocus:b,get onCloseAutoFocus(){return a()},get shouldRender(){return f.shouldRender},popper:r,$$slots:{popper:!0}}))}},k=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...f.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=Gh();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Eh(e,Bi(()=>jr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get open(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return jr(v)},get preventScroll(){return u()},loop:!0,forceMount:!1,get customAnchor(){return h()},onOpenAutoFocus:b,get onCloseAutoFocus(){return a()},get shouldRender(){return f.shouldRender},popper:r,$$slots:{popper:!0}}))}};_o(y,e=>{n()?e(x):n()||e(k,1)}),bo(e,w),he()}var Yh=po("<button><!></button>");function Jh(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"type",3,"button"),s=Ui(t,"disabled",3,!1),a=Ui(t,"openOnHover",3,!1),l=Ui(t,"openDelay",3,700),c=Ui(t,"closeDelay",3,300),d=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const u=Zh.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(s())),openOnHover:wa(()=>a()),openDelay:wa(()=>l()),closeDelay:wa(()=>c())}),h=Qe(()=>Za(d,u.props,{type:n()}));$h(e,{get id(){return o()},get ref(){return u.opts.ref},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(h)})),bo(e,r)},s=e=>{var r=Yh();Si(r,()=>({...jr(h)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function Qh(e,t){ue(t,!0);let r=Ui(t,"open",15,!1),o=Ui(t,"onOpenChange",3,Fl),i=Ui(t,"onOpenChangeComplete",3,Fl);jl.create({variant:wa(()=>"dialog"),open:wa(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:wa(()=>i())});var n=vo();Ro(At(n),()=>t.children??g),bo(e,n),he()}var ep=po("<button><!></button>");function tp(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=Wl.create({variant:wa(()=>"close"),id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(n()))}),l=Qe(()=>Za(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(l)})),bo(e,r)},h=e=>{var r=ep();Si(r,()=>({...jr(l)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var rp=po("<!> <!>",1),op=po("<!> <div><!></div>",1);function ip(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"forceMount",3,!1),s=Ui(t,"onCloseAutoFocus",3,Fl),a=Ui(t,"onOpenAutoFocus",3,Fl),l=Ui(t,"onEscapeKeydown",3,Fl),c=Ui(t,"onInteractOutside",3,Fl),d=Ui(t,"trapFocus",3,!0),u=Ui(t,"preventScroll",3,!0),h=Ui(t,"restoreScrollDelay",3,null),p=Wi(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const f=Vl.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e))}),m=Qe(()=>Za(p,f.props));var v=vo(),b=At(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().props;Yc(e,Bi(()=>jr(m),{get enabled(){return f.root.opts.open.current},get ref(){return f.opts.ref},onEscapeKeydown:e=>{l()(e),e.defaultPrevented||f.root.handleClose()},children:(e,r)=>{Gc(e,Bi(()=>jr(m),{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},onInteractOutside:e=>{c()(e),e.defaultPrevented||f.root.handleClose()},children:(e,r)=>{id(e,Bi(()=>jr(m),{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},children:(e,r)=>{var i=vo(),n=At(i),s=e=>{var r=rp(),i=At(r),n=e=>{md(0,{get preventScroll(){return u()},get restoreScrollDelay(){return h()}})};_o(i,e=>{f.root.opts.open.current&&e(n)});var s=zt(i,2);{let e=Qe(()=>({props:Za(jr(m),o()),...f.snippetProps}));Ro(s,()=>t.child,()=>jr(e))}bo(e,r)},a=e=>{var r=op(),i=At(r);md(0,{get preventScroll(){return u()}});var n=zt(i,2);Si(n,e=>({...e}),[()=>Za(jr(m),o())]),Ro(Ot(n),()=>t.children??g),q(n),bo(e,r)};_o(n,e=>{t.child?e(s):e(a,!1)}),bo(e,i)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))};ed(e,{get ref(){return f.opts.ref},loop:!0,get trapFocus(){return d()},get enabled(){return f.root.opts.open.current},get onOpenAutoFocus(){return a()},get onCloseAutoFocus(){return s()},focusScope:r,$$slots:{focusScope:!0}})}};_o(b,e=>{(f.shouldRender||n())&&e(w)}),bo(e,v),he()}function np(e,t){ue(t,!0);let r=Ui(t,"open",15,!1),o=Ui(t,"dir",3,"ltr"),i=Ui(t,"onOpenChange",3,Fl),n=Ui(t,"onOpenChangeComplete",3,Fl),s=Ui(t,"_internal_variant",3,"dropdown-menu");const a=Rc.create({variant:wa(()=>s()),dir:wa(()=>o()),onClose:()=>{r(!1),i()(!1)}});Wc.create({open:wa(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:wa(()=>n())},a),hh(e,{children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var sp=po("<div><div><!></div></div>"),ap=po("<div><div><!></div></div>");function lp(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"loop",3,!0),s=Ui(t,"onInteractOutside",3,Fl),a=Ui(t,"onEscapeKeydown",3,Fl),l=Ui(t,"onCloseAutoFocus",3,Fl),c=Ui(t,"forceMount",3,!1),d=Ui(t,"trapFocus",3,!1),u=Wi(t,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]);const h=Vc.create({id:wa(()=>o()),loop:wa(()=>n()),ref:wa(()=>i(),e=>i(e)),onCloseAutoFocus:wa(()=>l())}),p=Qe(()=>Za(u,h.props));function f(e){if(h.handleInteractOutside(e),!e.defaultPrevented&&(s()(e),!e.defaultPrevented)){if(e.target&&e.target instanceof Element){const t=`[${h.parentMenu.root.getBitsAttr("sub-content")}]`;if(e.target.closest(t))return}h.parentMenu.onClose()}}function m(e){a()(e),e.defaultPrevented||h.parentMenu.onClose()}var v=vo(),b=At(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...h.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=sp();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Ih(e,Bi(()=>jr(p),()=>h.popperProps,{get ref(){return h.opts.ref},get enabled(){return h.parentMenu.opts.open.current},onInteractOutside:f,onEscapeKeydown:m,get trapFocus(){return d()},get loop(){return n()},forceMount:!0,get id(){return o()},get shouldRender(){return h.shouldRender},popper:r,$$slots:{popper:!0}}))}},y=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...h.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=ap();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};Eh(e,Bi(()=>jr(p),()=>h.popperProps,{get ref(){return h.opts.ref},get open(){return h.parentMenu.opts.open.current},onInteractOutside:f,onEscapeKeydown:m,get trapFocus(){return d()},get loop(){return n()},forceMount:!1,get id(){return o()},get shouldRender(){return h.shouldRender},popper:r,$$slots:{popper:!0}}))}};_o(b,e=>{c()?e(w):c()||e(y,1)}),bo(e,v),he()}var cp=po("<button><!></button>");function dp(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"disabled",3,!1),s=Ui(t,"type",3,"button"),a=Wi(t,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const l=Zc.create({id:wa(()=>o()),disabled:wa(()=>n()??!1),ref:wa(()=>i(),e=>i(e))}),c=Qe(()=>Za(a,l.props,{type:s()}));$h(e,{get id(){return o()},get ref(){return l.opts.ref},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(c)})),bo(e,r)},s=e=>{var r=cp();Si(r,()=>({...jr(c)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function up(e,t){ue(t,!0);let r=Ui(t,"open",15,!1),o=Ui(t,"onOpenChange",3,Fl),i=Ui(t,"onOpenChangeComplete",3,Fl);Uh.create({open:wa(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:wa(()=>i())}),hh(e,{children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var hp=po("<!> <!>",1);function pp(e,t){ue(t,!0);let r=Ui(t,"value",15),o=Ui(t,"onValueChange",3,Fl),i=Ui(t,"name",3,""),n=Ui(t,"disabled",3,!1),s=Ui(t,"open",15,!1),a=Ui(t,"onOpenChange",3,Fl),l=Ui(t,"onOpenChangeComplete",3,Fl),c=Ui(t,"loop",3,!1),d=Ui(t,"scrollAlignment",3,"nearest"),u=Ui(t,"required",3,!1),h=Ui(t,"items",19,()=>[]),p=Ui(t,"allowDeselect",3,!1);function f(){void 0===r()&&r("single"===t.type?"":[])}f(),al.pre(()=>r(),()=>{f()});let m=ut("");const v=xh.create({type:t.type,value:wa(()=>r(),e=>{r(e),o()(e)}),disabled:wa(()=>n()),required:wa(()=>u()),open:wa(()=>s(),e=>{s(e),a()(e)}),loop:wa(()=>c()),scrollAlignment:wa(()=>d()),name:wa(()=>i()),isCombobox:!1,items:wa(()=>h()),allowDeselect:wa(()=>p()),inputValue:wa(()=>jr(m),e=>pt(m,e,!0)),onOpenChangeComplete:wa(()=>l())});var b=hp(),w=At(b);hh(w,{children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}});var y=zt(w,2),x=e=>{var r=vo(),o=At(r),i=e=>{Mh(e,{get autocomplete(){return t.autocomplete}})},n=e=>{var r=vo();Po(At(r),16,()=>v.opts.value.current,e=>e,(e,r)=>{Mh(e,{get value(){return r},get autocomplete(){return t.autocomplete}})}),bo(e,r)};_o(o,e=>{0===v.opts.value.current.length?e(i):e(n,!1)}),bo(e,r)},k=Qe(()=>Array.isArray(v.opts.value.current)),C=e=>{Mh(e,{get autocomplete(){return t.autocomplete},get value(){return v.opts.value.current},set value(e){v.opts.value.current=e}})};_o(y,e=>{jr(k)?e(x):e(C,!1)}),bo(e,b),he()}var gp=po("<button><!></button>");function fp(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"type",3,"button"),s=Wi(t,["$$slots","$$events","$$legacy","id","ref","child","children","type"]);const a=kh.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e))}),l=Qe(()=>Za(s,a.props,{type:n()}));var c=vo();Wo(At(c),()=>$h,(e,r)=>{r(e,{get id(){return o()},get ref(){return a.opts.ref},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(l)})),bo(e,r)},s=e=>{var r=gp();Si(r,()=>({...jr(l)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,c),he()}var mp=class{#Ni;#Hi;#xr=null;constructor(e,t){this.#Hi=e,this.#Ni=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),Ka(this.stop)}#Di(){null!==this.#xr&&(window.clearTimeout(this.#xr),this.#xr=null)}stop(){this.#Di()}start(...e){this.#Di(),this.#xr=window.setTimeout(()=>{this.#xr=null,this.#Hi(...e)},this.#Ni)}},vp=ml({component:"tooltip",parts:["content","trigger"]}),bp=new nl("Tooltip.Provider"),wp=new nl("Tooltip.Root"),yp=class{#ji=ut(wt(/* @__PURE__ */new Map));get triggers(){return jr(this.#ji)}set triggers(e){pt(this.#ji,e,!0)}#Ri=ut(null);get activeTriggerId(){return jr(this.#Ri)}set activeTriggerId(e){pt(this.#Ri,e,!0)}#Wi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return jr(this.#Wi)}set activeTriggerNode(e){pt(this.#Wi,e)}#Vi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.payload??null});get activePayload(){return jr(this.#Vi)}set activePayload(e){pt(this.#Vi,e)}register=e=>{const t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#Bi()};update=e=>{const t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#Bi()};unregister=e=>{if(!this.triggers.has(e))return;const t=new Map(this.triggers);t.delete(e),this.triggers=t,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{null!==e&&this.triggers.has(e)?this.activeTriggerId=e:this.activeTriggerId=null};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{const e=this.triggers.entries().next();return e.done?null:e.value[0]};#Bi=()=>{const e=this.activeTriggerId;null!==e&&(this.triggers.has(e)||(this.activeTriggerId=null))}},xp=class e{static create(t){return bp.set(new e(t))}opts;#Ui=ut(!0);get isOpenDelayed(){return jr(this.#Ui)}set isOpenDelayed(e){pt(this.#Ui,e,!0)}isPointerInTransit=Ca(!1);#Zi;#qi=ut(null);constructor(e){this.opts=e,this.#Zi=new mp(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),Ga(()=>io(window,"scroll",e=>{const t=jr(this.#qi);if(!t)return;const r=t.triggerNode;if(!r)return;const o=e.target;(o instanceof Element||o instanceof Document)&&o.contains(r)&&t.handleClose()}))}#Ki=()=>{0!==this.opts.skipDelayDuration.current?this.#Zi.start():this.isOpenDelayed=!0};#Gi=()=>{this.#Zi.stop()};onOpen=e=>{jr(this.#qi)&&jr(this.#qi)!==e&&jr(this.#qi).handleClose(),this.#Gi(),this.isOpenDelayed=!1,pt(this.#qi,e,!0)};onClose=e=>{jr(this.#qi)===e&&pt(this.#qi,null),this.#Ki()};isTooltipOpen=e=>jr(this.#qi)===e},kp=class e{static create(t){return wp.set(new e(t,bp.get()))}opts;provider;#Xi=Qe(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return jr(this.#Xi)}set delayDuration(e){pt(this.#Xi,e)}#Yi=Qe(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return jr(this.#Yi)}set disableHoverableContent(e){pt(this.#Yi,e)}#Ji=Qe(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return jr(this.#Ji)}set disableCloseOnTriggerClick(e){pt(this.#Ji,e)}#Qi=Qe(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return jr(this.#Qi)}set disabled(e){pt(this.#Qi,e)}#en=Qe(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return jr(this.#en)}set ignoreNonKeyboardFocus(e){pt(this.#en,e)}registry;tether;#rr=ut(null);get contentNode(){return jr(this.#rr)}set contentNode(e){pt(this.#rr,e,!0)}contentPresence;#tn=ut(!1);#Zi;#rn=Qe(()=>this.opts.open.current?jr(this.#tn)?"delayed-open":"instant-open":"closed");get stateAttr(){return jr(this.#rn)}set stateAttr(e){pt(this.#rn,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new yp,this.#Zi=new mp(()=>{pt(this.#tn,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,Ga(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new Pl({open:this.opts.open,ref:wa(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),al(()=>this.delayDuration,()=>{void 0!==this.delayDuration&&(this.#Zi=new mp(()=>{pt(this.#tn,!0),this.opts.open.current=!0},this.delayDuration))}),al(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),al(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),al(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#Zi.stop(),pt(this.#tn,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#Zi.stop(),this.opts.open.current=!1};#on=()=>{this.#Zi.stop();const e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||0===t?(pt(this.#tn,!1),this.opts.open.current=!0):this.#Zi.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#on()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#Zi.stop()};ensureActiveTrigger=()=>{if(null!==this.registry.activeTriggerId&&this.registry.has(this.registry.activeTriggerId))return;if(null!==this.opts.triggerId.current&&this.registry.has(this.opts.triggerId.current))return void this.registry.setActiveTrigger(this.opts.triggerId.current);const e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{const t=this.registry.activeTriggerId===e;this.registry.unregister(e),t&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}},Cp=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,wp.get(),null)}opts;root;tether;attachment;#Tr=Ca(!1);#in=ut(!1);domContext;#nn=null;#Cr=!1;#sn=null;constructor(e,t,r){this.opts=e,this.root=t,this.tether=r,this.domContext=new rl(e.ref),this.attachment=ol(this.opts.ref,e=>this.#an(e)),al(()=>this.opts.id.current,()=>{this.#an(this.opts.ref.current)}),al(()=>this.opts.payload.current,()=>{this.#an(this.opts.ref.current)}),al(()=>this.opts.disabled.current,()=>{this.#an(this.opts.ref.current)}),Ga(()=>(this.#Cr=!0,this.#an(this.opts.ref.current),()=>{const e=this.#ln(),t=this.#sn;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#sn=null,this.#Cr=!1}))}#ln=()=>this.tether?.root??this.root;#cn=()=>{const e=this.#ln();return this.opts.disabled.current||Boolean(e?.disabled)};#an=e=>{if(!this.#Cr)return;const t=this.opts.id.current,r=this.opts.payload.current,o=this.opts.disabled.current;if(this.#sn&&this.#sn!==t){const e=this.#ln();this.tether?this.tether.registry.unregister(this.#sn):e?.unregisterTrigger(this.#sn)}const i={id:t,node:e,payload:r,disabled:o},n=this.#ln();this.tether?(this.tether.registry.has(t)?this.tether.registry.update(i):this.tether.registry.register(i),o&&this.tether.registry.activeTriggerId===t&&n?.opts.open.current&&n.handleClose()):n?.registry.has(t)?n.updateTrigger(i):n?.registerTrigger(i),this.#sn=t};#dn=()=>{null!==this.#nn&&(clearTimeout(this.#nn),this.#nn=null)};handlePointerUp=()=>{this.#Tr.current=!1};#un=()=>{this.#cn()||(this.#Tr.current=!1)};#hn=()=>{this.#cn()||(this.#Tr.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0}))};#pn=e=>{const t=this.#ln();if(t)if(this.#cn())t.opts.open.current&&t.handleClose();else if("touch"!==e.pointerType){if(t.provider.isPointerInTransit.current)return this.#dn(),void(this.#nn=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#in,!0))},250));t.onTriggerEnter(this.opts.id.current),pt(this.#in,!0)}};#gn=e=>{const t=this.#ln();t&&(this.#cn()?t.opts.open.current&&t.handleClose():"touch"!==e.pointerType&&(jr(this.#in)||(this.#dn(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#in,!0))))};#fn=e=>{const t=this.#ln();if(!t)return;if(this.#cn())return;if(this.#dn(),!t.isActiveTrigger(this.opts.id.current))return void pt(this.#in,!1);const r=e.relatedTarget;if(_l(r)&&t.provider.opts.skipDelayDuration.current>0)for(const o of t.registry.triggers.values())if(o.node===r)return void pt(this.#in,!1);t.onTriggerLeave(),pt(this.#in,!1)};#mn=e=>{const t=this.#ln();t&&(this.#Tr.current||(this.#cn()?t.opts.open.current&&t.handleClose():t.ignoreNonKeyboardFocus&&!function(e){return e.matches(":focus-visible")}(e.currentTarget)||(t.setActiveTrigger(this.opts.id.current),t.handleOpen())))};#vn=()=>{const e=this.#ln();e&&!this.#cn()&&e.handleClose()};#bn=()=>{const e=this.#ln();!e||e.disableCloseOnTriggerClick||this.#cn()||e.handleClose()};#f=Qe(()=>{const e=this.#ln(),t=Boolean(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),r=this.#cn();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:"closed","data-disabled":hl(r),"data-delay-duration":`${e?.delayDuration??0}`,[vp.trigger]:"",tabindex:r?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#un,onpointerdown:this.#hn,onpointerenter:this.#pn,onpointermove:this.#gn,onpointerleave:this.#fn,onfocus:this.#mn,onblur:this.#vn,onclick:this.#bn,...this.attachment}});get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}},Lp=class e{static create(t){return new e(t,wp.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.contentNode=e),new Wh({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,ignoredTargets:()=>{if(0===this.root.provider.opts.skipDelayDuration.current)return[];const e=[],t=this.root.triggerNode;for(const r of this.root.registry.triggers.values())r.node&&r.node!==t&&e.push(r.node);return e},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{_l(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick?e.preventDefault():(this.opts.onInteractOutside.current(e),e.defaultPrevented||this.root.handleClose())};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),e.defaultPrevented||this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#hr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return jr(this.#hr)}set snippetProps(e){pt(this.#hr,e)}#f=Qe(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":hl(this.root.disabled),style:{outline:"none"},[vp.content]:"",...this.attachment}));get props(){return jr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Sp(e,t){ue(t,!0);let r=Ui(t,"open",15,!1),o=Ui(t,"triggerId",15,null),i=Ui(t,"onOpenChange",3,Fl),n=Ui(t,"onOpenChangeComplete",3,Fl);const s=kp.create({open:wa(()=>r(),e=>{r(e),i()(e)}),triggerId:wa(()=>o(),e=>{o(e)}),delayDuration:wa(()=>t.delayDuration),disableCloseOnTriggerClick:wa(()=>t.disableCloseOnTriggerClick),disableHoverableContent:wa(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:wa(()=>t.ignoreNonKeyboardFocus),disabled:wa(()=>t.disabled),onOpenChangeComplete:wa(()=>n()),tether:wa(()=>t.tether)});hh(e,{tooltip:!0,children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children??g,()=>({open:s.opts.open.current,triggerId:s.activeTriggerId,payload:s.activePayload})),bo(e,o)},$$slots:{default:!0}}),he()}var Mp=po("<div><div><!></div></div>"),$p=po("<div><div><!></div></div>");function Tp(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"ref",15,null),n=Ui(t,"side",3,"top"),s=Ui(t,"sideOffset",3,0),a=Ui(t,"align",3,"center"),l=Ui(t,"avoidCollisions",3,!0),c=Ui(t,"arrowPadding",3,0),d=Ui(t,"sticky",3,"partial"),u=Ui(t,"hideWhenDetached",3,!1),h=Ui(t,"collisionPadding",3,0),p=Ui(t,"onInteractOutside",3,Fl),f=Ui(t,"onEscapeKeydown",3,Fl),m=Ui(t,"forceMount",3,!1),v=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]);const b=Lp.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),onInteractOutside:wa(()=>p()),onEscapeKeydown:wa(()=>f())}),w=Qe(()=>({side:n(),sideOffset:s(),align:a(),avoidCollisions:l(),arrowPadding:c(),sticky:d(),hideWhenDetached:u(),collisionPadding:h(),strategy:t.strategy,customAnchor:t.customAnchor??b.root.triggerNode})),y=Qe(()=>Za(v,jr(w),b.props));var x=vo(),k=At(x),C=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...b.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=Mp();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");Ih(e,Bi(()=>jr(y),()=>b.popperProps,{get enabled(){return b.root.opts.open.current},get id(){return o()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},get contentPointerEvents(){return jr(i)},popper:r,$$slots:{popper:!0}}))}},L=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>Za(r?.().props,{style:rh("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:jr(i),wrapperProps:o(),...b.snippetProps}));Ro(n,()=>t.child,()=>jr(e))}bo(e,r)},l=e=>{var r=$p();Si(r,()=>({...o()}));var n=Ot(r);Si(n,()=>({...jr(i)})),Ro(Ot(n),()=>t.children??g),q(n),q(r),bo(e,r)};_o(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");Eh(e,Bi(()=>jr(y),()=>b.popperProps,{get open(){return b.root.opts.open.current},get id(){return o()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},get contentPointerEvents(){return jr(i)},popper:r,$$slots:{popper:!0}}))}};_o(k,e=>{m()?e(C):m()||e(L,1)}),bo(e,x),he()}var _p=po("<button><!></button>");function Ep(e,t){const r=wo();ue(t,!0);let o=Ui(t,"id",19,()=>Nl(r)),i=Ui(t,"disabled",3,!1),n=Ui(t,"type",3,"button"),s=Ui(t,"tabindex",3,0),a=Ui(t,"ref",15,null),l=Wi(t,["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]);const c=Cp.create({id:wa(()=>o()),disabled:wa(()=>i()??!1),tabindex:wa(()=>s()??0),payload:wa(()=>t.payload),tether:wa(()=>t.tether),ref:wa(()=>a(),e=>a(e))}),d=Qe(()=>Za(l,c.props,{type:n()}));var u=vo(),h=At(u),p=e=>{var r=vo();Ro(At(r),()=>t.child,()=>({props:jr(d)})),bo(e,r)},f=e=>{var r=_p();Si(r,()=>({...jr(d)})),Ro(Ot(r),()=>t.children??g),q(r),bo(e,r)};_o(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function Ip(e,t){ue(t,!0);let r=Ui(t,"delayDuration",3,700),o=Ui(t,"disableCloseOnTriggerClick",3,!1),i=Ui(t,"disableHoverableContent",3,!1),n=Ui(t,"disabled",3,!1),s=Ui(t,"ignoreNonKeyboardFocus",3,!1),a=Ui(t,"skipDelayDuration",3,300);xp.create({delayDuration:wa(()=>r()),disableCloseOnTriggerClick:wa(()=>o()),disableHoverableContent:wa(()=>i()),disabled:wa(()=>n()),ignoreNonKeyboardFocus:wa(()=>s()),skipDelayDuration:wa(()=>a())});var l=vo();Ro(At(l),()=>t.children??g),bo(e,l),he()}var Op=po('<div class="text-xs/none size-4 app:size-16 pt-px capitalize text-neutral-200 bg-neutral-500/20 rounded-md border-[0.5px] border-white/10 superellipse flex-center font-mono"> </div>'),Ap=po('<div class="pointer-events-none max-w-200 px-2 app:px-8 py-1 app:py-4 bg-linear-to-b from-neutral-800/90 to-neutral-900/90 android:from-neutral-800 android:to-neutral-900 text-neutral-100 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-xl superellipse flex items-center gap-2 app:gap-8 text-[13px]"> <!></div>'),zp=po("<!> <!>",1);function Pp(e,t){const r=Ui(t,"open",3,!1),o=Ui(t,"delay",3,200),i=Ui(t,"disabled",3,!1),n=Ui(t,"text",3,"tooltip"),s=Ui(t,"side",3,"top"),a=Ui(t,"offset",3,8),l=Ui(t,"align",3,"end");var c=vo();Wo(At(c),()=>Sp,(e,c)=>{c(e,{get delayDuration(){return o()},get open(){return r()},get disabled(){return i()},children:(e,r)=>{var o=zp(),i=At(o),c=e=>{var r=vo(),o=At(r);{const e=(e,r)=>{var o=vo();Ro(At(o),()=>t.child,()=>({props:r?.().props})),bo(e,o)};Wo(o,()=>Ep,(r,o)=>{o(r,{class:"focus-visible rounded-lg superellipse group/tooltip",get tabindex(){return t.tabindex},child:e,$$slots:{child:!0}})})}bo(e,r)},d=e=>{var r=vo();Wo(At(r),()=>Ep,(e,r)=>{r(e,{class:"focus-visible rounded-lg superellipse group/tooltip",get tabindex(){return t.tabindex},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.trigger),bo(e,r)},s=e=>{var r=vo();Ro(At(r),()=>t.children),bo(e,r)};_o(i,e=>{t.trigger?e(n):t.children&&e(s,1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};_o(i,e=>{t.child?e(c):e(d,!1)}),Wo(zt(i,2),()=>Xl,(e,r)=>{r(e,{get to(){return t.portalTarget},children:(e,r)=>{var o=vo();Wo(At(o),()=>Tp,(e,r)=>{r(e,{get align(){return l()},get side(){return s()},hideWhenDetached:!0,"data-fubi-ignore-all":!0,get sideOffset(){return a()},class:"pointer-events-none animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--bits-tooltip-content-transform-origin) z-[calc(var(--infinity,2147490000))] max-w-64 app:max-w-[256px]",children:(e,r)=>{var o=vo(),i=At(o),s=e=>{var r=vo();Ro(At(r),()=>t.tooltipContent),bo(e,r)},a=e=>{var r=Ap(),o=Ot(r),i=zt(o),s=e=>{var r=Op(),o=Ot(r,!0);q(r),er(()=>ko(o,t.key)),bo(e,r)};_o(i,e=>{t.key&&e(s)}),q(r),er(()=>ko(o,`${n()??""} `)),bo(e,r)};_o(i,e=>{t.tooltipContent?e(s):e(a,!1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,c)}function Fp(e,t){ue(t,!0);const{toolbar:r,environment:o}=Zx();let i=Ui(t,"disabled",3,!1),n=Wi(t,["$$slots","$$events","$$legacy","disabled"]);{let t=Qe(()=>r?.wrapper),s=Qe(()=>i()||o.touch);Pp(e,Bi({get portalTarget(){return jr(t)},get disabled(){return jr(s)}},()=>n))}he()}var Np=po("<!> <!>",1);function Hp(e,t){ue(t,!0);const{win:r}=Zx();let o=Ui(t,"opened",15,!1),i=Wi(t,["$$slots","$$events","$$legacy","opened"]);Kt(()=>{r.uiOpened=o()}),function(e,t){ue(t,!0);let r=Ui(t,"opened",15,!1),o=Ui(t,"side",3,"bottom"),i=Ui(t,"sideOffset",3,4),n=Ui(t,"align",3,"end"),s=Ui(t,"origin",3,"origin-top-right"),a=Wi(t,["$$slots","$$events","$$legacy","opened","side","sideOffset","align","origin","customAnchor","onOpenChange","children","child","trigger"]);Kt(()=>{t.onOpenChange?.(r())});var l=vo();Wo(At(l),()=>np,(e,l)=>{l(e,Bi(()=>a,{get open(){return r()},set open(e){r(e)},children:(e,r)=>{var a=Np(),l=At(a);Wo(l,()=>dp,(e,r)=>{r(e,{get child(){return t.child},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.trigger),bo(e,r)};_o(i,e=>{t.trigger&&e(n)}),bo(e,o)},$$slots:{default:!0}})}),Wo(zt(l,2),()=>Xl,(e,r)=>{r(e,{children:(e,r)=>{var a=vo(),l=At(a);{let e=Qe(()=>["bg-linear-to-b from-neutral-800/80 to-neutral-900/80 android:from-neutral-800 android:to-neutral-900 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-[20px] touch:rounded-[24px] superellipse min-w-[150px] flex flex-col z-[calc(var(--infinity,2147490000))] p-1 app:p-4 touch:app:p-8 focus:outline-none",s(),"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80"]);Wo(l,()=>lp,(r,s)=>{s(r,{preventScroll:!1,get align(){return n()},get side(){return o()},get sideOffset(){return i()},alignOffset:0,get customAnchor(){return t.customAnchor},"data-fubi-ignore-all":!0,get class(){return jr(e)},children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children),bo(e,o)},$$slots:{default:!0}})})}bo(e,a)},$$slots:{default:!0}})}),bo(e,a)},$$slots:{default:!0}}))}),bo(e,l),he()}(e,Bi(()=>i,{get opened(){return o()},set opened(e){o(e)}})),he()}var Dp=fo('<svg><path d="M15.1999 5.93594C13.5999 8.33594 11.1999 9.93594 7.99987 9.93594C4.79987 9.93594 2.39987 8.33594 0.799866 5.93594" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M2.79989 8.73596L1.19989 10.336" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M13.1999 8.73596L14.7999 10.336" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M5.99989 9.93594L5.19989 12.3359" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path><path d="M9.99987 9.93594L10.7999 12.3359" stroke="currentColor" stroke-width="2" stroke-linecap="round"></path></svg>');function jp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Dp();Si(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Rp=fo('<svg><path d="M19 10L12.5412 6.30928C12.2059 6.11764 11.7941 6.11764 11.4588 6.30928L5 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 17L12.5412 13.3093C12.2059 13.1176 11.7941 13.1176 11.4588 13.3093L5 17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Wp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Rp();Si(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Vp=fo('<svg><path d="M6.5 12.5L9.83743 15.8374C10.196 16.196 10.7831 16.1765 11.117 15.7948L17.5 8.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Bp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Vp();Si(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Up=fo('<svg><path d="M7.1579 2C3.2047 2 0 5.13401 0 9C0 10.1302 0.275224 11.197 0.762104 12.1417C0.963142 12.5318 1.02806 12.9851 0.886415 13.4005L0.231126 15.3222C0.135921 15.6014 0.400386 15.8694 0.680833 15.778L2.69802 15.1201C3.09925 14.9893 3.53417 15.0495 3.91174 15.2381C4.88607 15.7246 5.98882 16 7.1579 16H8.84211C12.7953 16 16 12.866 16 9C16 5.13401 12.7953 2 8.84211 2H7.1579Z" fill="url(#paint0_linear_34_2336)"></path><rect x="0.35" y="2.35" width="15.3" height="13.3" rx="6.65" stroke="url(#paint1_linear_34_2336)" stroke-opacity="0.8" stroke-width="0.7"></rect><foreignObject x="2" y="2" width="28" height="26"><div xmlns="http://www.w3.org/1999/xhtml" style="backdrop-filter:blur(3px);clip-path:url(#bgblur_0_34_2336_clip_path);height:100%;width:100%"></div></foreignObject><path data-figma-bg-blur-radius="6" d="M16.8421 8C20.7953 8 24 11.134 24 15C24 16.1302 23.7248 17.197 23.2379 18.1417C23.0369 18.5318 22.9719 18.9851 23.1136 19.4005L23.7689 21.3222C23.8641 21.6014 23.5996 21.8694 23.3192 21.778L21.302 21.1201C20.9007 20.9893 20.4658 21.0495 20.0883 21.2381C19.1139 21.7246 18.0112 22 16.8421 22H15.1579C11.2047 22 8 18.866 8 15C8 11.134 11.2047 8 15.1579 8H16.8421Z" fill="url(#paint2_linear_34_2336)"></path><rect x="8.35" y="8.35" width="15.3" height="13.3" rx="6.65" stroke="url(#paint3_linear_34_2336)" stroke-opacity="0.8" stroke-width="0.7"></rect><defs><clipPath id="bgblur_0_34_2336_clip_path" transform="translate(-2 -2)"><path d="M16.8421 8C20.7953 8 24 11.134 24 15C24 16.1302 23.7248 17.197 23.2379 18.1417C23.0369 18.5318 22.9719 18.9851 23.1136 19.4005L23.7689 21.3222C23.8641 21.6014 23.5996 21.8694 23.3192 21.778L21.302 21.1201C20.9007 20.9893 20.4658 21.0495 20.0883 21.2381C19.1139 21.7246 18.0112 22 16.8421 22H15.1579C11.2047 22 8 18.866 8 15C8 11.134 11.2047 8 15.1579 8H16.8421Z"></path></clipPath><linearGradient id="paint0_linear_34_2336" x1="1.96842" y1="2" x2="1.96842" y2="16" gradientUnits="userSpaceOnUse"><stop stop-color="#00DDFF"></stop><stop offset="1" stop-color="#0088FF"></stop></linearGradient><linearGradient id="paint1_linear_34_2336" x1="8" y1="1" x2="8" y2="11.7812" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient><linearGradient id="paint2_linear_34_2336" x1="16" y1="8" x2="16" y2="22" gradientUnits="userSpaceOnUse"><stop stop-color="#E4E4E7" stop-opacity="0.6"></stop><stop offset="1" stop-color="#9F9FA9" stop-opacity="0.6"></stop></linearGradient><linearGradient id="paint3_linear_34_2336" x1="16" y1="7" x2="16" y2="17.7812" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient></defs></svg>');function Zp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Up();Si(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var qp=fo('<svg><path d="M18 13V7C18 3.68629 15.3137 1 12 1C8.68629 1 6 3.68629 6 7V13" stroke="url(#paint0_linear_34_2332)" stroke-width="2" stroke-linecap="round"></path><path d="M2 16C2 12.2288 2 10.3431 3.17157 9.17157C4.34315 8 6.22876 8 10 8H14C17.7712 8 19.6569 8 20.8284 9.17157C22 10.3431 22 12.2288 22 16C22 19.7712 22 21.6569 20.8284 22.8284C19.6569 24 17.7712 24 14 24H10C6.22876 24 4.34315 24 3.17157 22.8284C2 21.6569 2 19.7712 2 16Z" fill="url(#paint1_linear_34_2332)"></path><path d="M10 8.34961H14C15.8955 8.34961 17.2823 8.35058 18.3428 8.49316C19.393 8.6344 20.0712 8.90908 20.5811 9.41895C21.0909 9.92881 21.3656 10.607 21.5068 11.6572C21.6494 12.7177 21.6504 14.1045 21.6504 16C21.6504 17.8955 21.6494 19.2823 21.5068 20.3428C21.3656 21.393 21.0909 22.0712 20.5811 22.5811C20.0712 23.0909 19.393 23.3656 18.3428 23.5068C17.2823 23.6494 15.8955 23.6504 14 23.6504H10C8.10449 23.6504 6.71774 23.6494 5.65723 23.5068C4.60695 23.3656 3.92881 23.0909 3.41895 22.5811C2.90908 22.0712 2.6344 21.393 2.49316 20.3428C2.35058 19.2823 2.34961 17.8955 2.34961 16C2.34961 14.1045 2.35058 12.7177 2.49316 11.6572C2.6344 10.607 2.90908 9.92881 3.41895 9.41895C3.92881 8.90908 4.60695 8.6344 5.65723 8.49316C6.71774 8.35058 8.10449 8.34961 10 8.34961Z" stroke="url(#paint2_linear_34_2332)" stroke-opacity="0.8" stroke-width="0.7"></path><g filter="url(#filter0_d_34_2332)"><path d="M12 12.5C13.1046 12.5 14 13.3954 14 14.5C14 15.2398 13.5971 15.8835 13 16.2295V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V16.2295C10.4029 15.8835 10 15.2398 10 14.5C10 13.3954 10.8954 12.5 12 12.5Z" fill="#161B1F"></path></g><defs><filter id="filter0_d_34_2332" x="9" y="10.8" width="6" height="9.5" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="-0.7"></feOffset><feGaussianBlur stdDeviation="0.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_34_2332"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_34_2332" result="shape"></feBlend></filter><linearGradient id="paint0_linear_34_2332" x1="12" y1="1" x2="12" y2="13" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_34_2332" x1="19.5" y1="8" x2="19.5" y2="24" gradientUnits="userSpaceOnUse"><stop stop-color="#53EAFD"></stop><stop offset="1" stop-color="#2B7FFF"></stop></linearGradient><linearGradient id="paint2_linear_34_2332" x1="12" y1="8" x2="12" y2="24" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="0.5" stop-color="white" stop-opacity="0"></stop></linearGradient></defs></svg>');function Kp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=qp();Si(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Gp=fo('<svg><path d="M2.9043 19.7541C2.9043 14.8905 2.9043 12.4587 3.85551 10.601C4.69223 8.967 6.02733 7.63848 7.66947 6.8059C9.53634 5.85938 11.9802 5.85938 16.8679 5.85938H26.2113C28.3459 5.85938 29.4132 5.85938 30.4176 6.09932C31.3081 6.31206 32.1594 6.66293 32.9402 7.13908C33.821 7.67613 34.5757 8.4271 36.0851 9.92905L37.9959 11.8305C39.0022 12.8318 39.5053 13.3324 40.0925 13.6904C40.613 14.0079 41.1806 14.2418 41.7742 14.3836C42.4438 14.5436 43.1554 14.5436 44.5784 14.5436H52.9407C57.8284 14.5436 60.2723 14.5436 62.1391 15.4901C63.7813 16.3227 65.1164 17.6512 65.9531 19.2852C66.9043 21.1429 66.9043 23.5747 66.9043 28.4383V42.3331C66.9043 48.8179 66.9043 52.0603 65.636 54.5372C64.5204 56.7159 62.7403 58.4872 60.5507 59.5973C58.0616 60.8594 54.8031 60.8594 48.2861 60.8594H21.5225C15.0055 60.8594 11.747 60.8594 9.25786 59.5973C7.06834 58.4872 5.2882 56.7159 4.17258 54.5372C2.9043 52.0603 2.9043 48.8179 2.9043 42.3331V19.7541Z" fill="#3E3E3E" fill-opacity="0.5"></path><path d="M3 42.3328V19.7538C3 14.8904 2.99977 12.4582 3.95096 10.6006C4.78764 8.96675 6.12277 7.6382 7.7647 6.80565C9.63152 5.85915 12.0758 5.85938 16.9633 5.85938H26.307L27.7231 5.86331C28.9708 5.87455 29.7596 5.91925 30.5128 6.09914C31.4032 6.31186 32.2551 6.66267 33.0359 7.13876C33.9166 7.67581 34.6717 8.42749 36.1811 9.92945L38.0919 11.8308C39.0979 12.8319 39.6013 13.332 40.1883 13.69C40.7089 14.0074 41.2764 14.2419 41.8701 14.3837C42.3721 14.5036 42.8979 14.5334 43.7295 14.5409L44.6736 14.5439H53.0367C57.9239 14.5439 60.3676 14.5438 62.2343 15.4902C63.8765 16.3228 65.2123 17.6511 66.049 19.2851C67.0002 21.1428 67 23.5748 67 28.4383V42.3328L66.997 44.6174C66.9797 49.6162 66.8417 52.3698 65.732 54.5371L65.5148 54.941C64.392 56.9349 62.6991 58.5569 60.6464 59.5977L60.4104 59.7117C57.9501 60.859 54.695 60.8594 48.3816 60.8594V58.8332C51.6737 58.8332 54.0208 58.8313 55.859 58.6819C57.6732 58.5343 58.8125 58.2528 59.7221 57.7916C61.5283 56.8757 62.9967 55.4146 63.917 53.6174C64.3805 52.7122 64.6634 51.5787 64.8117 49.7733C64.9619 47.9441 64.9638 45.6086 64.9638 42.3328V28.4383C64.9638 25.9731 64.9618 24.2457 64.8512 22.8992C64.7426 21.5767 64.5389 20.8004 64.234 20.2049C63.5925 18.9523 62.5689 17.9335 61.31 17.2953C60.7115 16.9919 59.9314 16.7892 58.6023 16.6811C57.2493 16.5711 55.5138 16.5701 53.0367 16.5701H44.6736C43.3477 16.5701 42.3524 16.5829 41.3941 16.3539C40.5928 16.1624 39.8265 15.8469 39.1238 15.4184C38.2835 14.906 37.5896 14.1964 36.6521 13.2635L34.7403 11.3621C33.1629 9.79248 32.5995 9.24978 31.9723 8.86722C31.3737 8.50217 30.7205 8.23242 30.0378 8.06932C29.3223 7.89841 28.5384 7.88557 26.307 7.88557H16.9633C14.4862 7.88557 12.7507 7.88761 11.3977 7.99759C10.0684 8.10566 9.28849 8.30831 8.68999 8.61173C7.43101 9.25005 6.40747 10.2685 5.76599 11.5213C5.46107 12.1169 5.25741 12.893 5.1488 14.2157C5.03828 15.5621 5.03623 17.2889 5.03623 19.7538V42.3328C5.03623 45.6086 5.03812 47.9441 5.1883 49.7733C5.33655 51.5787 5.6195 52.7122 6.08298 53.6174C7.00332 55.4147 8.47171 56.8758 10.2779 57.7916C11.1875 58.2528 12.3267 58.5343 14.141 58.6819C15.9792 58.8313 18.3263 58.8332 21.6184 58.8332V60.8594L19.3224 60.8574C14.4782 60.8408 11.7325 60.711 9.5896 59.7117L9.35359 59.5977C7.16407 58.4876 5.38357 56.7158 4.26795 54.5371C2.99981 52.0603 3 48.8174 3 42.3328ZM48.3816 58.8332V60.8594H21.6184V58.8332H48.3816Z" fill="url(#paint0_linear_21098_7742)" fill-opacity="0.5"></path><path d="M9 23.776C9 22.1652 10.3058 20.8594 11.9167 20.8594H58.0833C59.6942 20.8594 61 22.1652 61 23.776V52.9427C61 54.5535 59.6942 55.8594 58.0833 55.8594H11.9167C10.3058 55.8594 9 54.5535 9 52.9427V23.776Z" fill="url(#paint1_linear_21098_7742)" fill-opacity="0.5"></path><foreignObject x="-16.3464" y="9.74927" width="102.501" height="74.5015"><div xmlns="http://www.w3.org/1999/xhtml" style="backdrop-filter:blur(8.63px);clip-path:url(#bgblur_0_21098_7742_clip_path);height:100%;width:100%"></div></foreignObject><g data-figma-bg-blur-radius="17.2507"><path d="M1.10682 36.7943C0.862155 33.3903 0.739822 31.6884 1.33108 30.3773C1.85065 29.2252 2.73953 28.2766 3.8589 27.6795C5.13273 27 6.84976 27 10.2838 27H59.5248C62.9588 27 64.6759 27 65.9497 27.6795C67.0691 28.2766 67.9579 29.2252 68.4775 30.3773C69.0688 31.6884 68.9464 33.3903 68.7018 36.7943L67.4462 54.2628C67.1235 58.7512 66.9622 60.9954 65.9797 62.6961C65.1146 64.1936 63.8146 65.3965 62.2499 66.1473C60.4728 67 58.2088 67 53.6806 67H16.1279C11.5998 67 9.33576 67 7.55865 66.1473C5.99398 65.3965 4.69397 64.1936 3.82889 62.6961C2.84635 60.9954 2.68504 58.7512 2.36243 54.2628L1.10682 36.7943Z" fill="url(#paint2_linear_21098_7742)" fill-opacity="0.05"></path><path d="M10.2842 27.999H59.5244C61.2582 27.999 62.4974 28.0004 63.4639 28.0811C64.4197 28.1608 65.014 28.3132 65.4795 28.5615C66.4046 29.0551 67.1381 29.8383 67.5664 30.7881C67.7814 31.2648 67.8914 31.8618 67.9033 32.8135C67.9154 33.7763 67.8286 35.0036 67.7051 36.7227L66.4492 54.1914C66.2868 56.4513 66.1687 58.0879 65.9727 59.374C65.7784 60.648 65.518 61.4974 65.1143 62.1963C64.3502 63.5188 63.2013 64.582 61.8174 65.2461C61.0852 65.5974 60.2125 65.7956 58.9189 65.8975C57.6131 66.0003 55.9605 66.001 53.6807 66.001H16.1279C13.8481 66.001 12.1955 66.0003 10.8896 65.8975C9.59608 65.7956 8.72337 65.5974 7.99121 65.2461C6.60732 64.582 5.45838 63.5188 4.69434 62.1963C4.29056 61.4974 4.03015 60.648 3.83594 59.374C3.63988 58.0879 3.52181 56.4513 3.35938 54.1914L2.10352 36.7227C1.97995 35.0036 1.89319 33.7763 1.90527 32.8135C1.91722 31.8618 2.0272 31.2648 2.24219 30.7881C2.67054 29.8383 3.40396 29.0551 4.3291 28.5615C4.79461 28.3132 5.38889 28.1608 6.34473 28.0811C7.3112 28.0004 8.55037 27.999 10.2842 27.999Z" stroke="url(#paint3_linear_21098_7742)" stroke-opacity="0.5" stroke-width="1.99879"></path></g><defs><clipPath id="bgblur_0_21098_7742_clip_path" transform="translate(16.3464 -9.74927)"><path d="M1.10682 36.7943C0.862155 33.3903 0.739822 31.6884 1.33108 30.3773C1.85065 29.2252 2.73953 28.2766 3.8589 27.6795C5.13273 27 6.84976 27 10.2838 27H59.5248C62.9588 27 64.6759 27 65.9497 27.6795C67.0691 28.2766 67.9579 29.2252 68.4775 30.3773C69.0688 31.6884 68.9464 33.3903 68.7018 36.7943L67.4462 54.2628C67.1235 58.7512 66.9622 60.9954 65.9797 62.6961C65.1146 64.1936 63.8146 65.3965 62.2499 66.1473C60.4728 67 58.2088 67 53.6806 67H16.1279C11.5998 67 9.33576 67 7.55865 66.1473C5.99398 65.3965 4.69397 64.1936 3.82889 62.6961C2.84635 60.9954 2.68504 58.7512 2.36243 54.2628L1.10682 36.7943Z"></path></clipPath><linearGradient id="paint0_linear_21098_7742" x1="35" y1="5.85937" x2="35" y2="45.3906" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_21098_7742" x1="35" y1="20.8594" x2="35" y2="55.8594" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient><linearGradient id="paint2_linear_21098_7742" x1="60.7802" y1="27" x2="60.7802" y2="67" gradientUnits="userSpaceOnUse"><stop stop-color="#6F6F6F" stop-opacity="0.6"></stop><stop offset="1" stop-color="#303030" stop-opacity="0.6"></stop></linearGradient><linearGradient id="paint3_linear_21098_7742" x1="34.9041" y1="27.4869" x2="34.9041" y2="67.2128" gradientUnits="userSpaceOnUse"><stop stop-color="white"></stop><stop offset="0.851183" stop-color="white" stop-opacity="0"></stop></linearGradient></defs></svg>');function Xp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Gp();Si(o,()=>({viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}function Yp(e,t){const r={invisible:jp,"chevrons-up":Wp,check:Bp,comments:Zp,lock:Kp,"folder-transparent":Xp};let o=Ui(t,"name",3,"invisible"),i=Ui(t,"class",3,"");const n=Qe(()=>r[o()]);var s=vo();Wo(At(s),()=>jr(n),(e,t)=>{t(e,{get class(){return i()}})}),bo(e,s)}var Jp=po("<div><!></div>");function Qp(e,t){const r=Ui(t,"size",3,"size-6.5 app:size-22");var o=Jp();Yp(Ot(o),{name:"check",class:"size-21"}),q(o),er(()=>ci(o,1,ni(["text-green-400 bg-green-400/20 glass rounded-full flex items-center justify-center stroke-[2.5px]",r()]))),Qo(3,o,()=>ia,()=>({duration:200})),bo(e,o)}var eg=po('<div class="flex absolute"><!></div>'),tg=po('<button><div class="size-28 flex-center relative"><!></div></button>'),rg=po('<div class="size-22 text-green-400 bg-green-400/10 border-green-400/20 border-[0.5px] rounded-full flex-center stroke-[2.5px]"><!></div>'),og=po('<div class="flex absolute"><!></div>'),ig=po('<button class="size-28 flex-center glass-hover rounded-[10px] superellipse hover:bg-neutral-500/10"><div class="size-28 flex-center relative"><!></div></button>'),ng=po('<div><p> </p> <div class="flex gap-4 touch:gap-8"><!> <!></div></div>'),sg=po('<div tabindex="-1"><!> <!></div>');function ag(e,t){ue(t,!0);const{win:r,sheet:o}=Zx();let i=Ui(t,"padding",3,"p-8 pt-0 touch:p-10"),n=ut(!1),s=Qe(()=>!!t.title&&t.title.length>16);var a=sg(),l=Ot(a),c=e=>{var r=ng(),i=Ot(r),a=Ot(i,!0);q(i);var l=zt(i,2),c=Ot(l),d=e=>{var r=vo(),o=At(r),i=e=>{{const r=(e,r=g)=>{{const o=(e,o=g)=>{var i=tg();Si(i,()=>({...o().props,...r().props,class:["focus-visible size-28 flex-center glass-hover rounded-[10px] superellipse hover:bg-neutral-500/10","touch:size-36 touch:glass touch:bg-white/5 touch:rounded-[12px] "]}));var n=Ot(i),s=Ot(n),a=e=>{Qp(e,{})},l=e=>{var r=eg();pa(Ot(r),{get progress(){return t.progress},radius:9,stroke:3}),q(r),Qo(3,r,()=>ia,()=>({duration:200})),bo(e,r)};_o(s,e=>{100===t.progress?e(a):e(l,!1)}),q(n),q(i),bo(e,i)};let i=Qe(()=>`${Math.round(t.progress)}% Done`);Fp(e,{get text(){return jr(i)},delay:0,child:o,$$slots:{child:!0}})}};Hp(e,{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return jr(n)},set opened(e){pt(n,e,!0)},child:r,children:(e,r)=>{var o=vo();Ro(At(o),()=>t.popoverContent),bo(e,o)},$$slots:{child:!0,default:!0}})}},s=e=>{{let r=Qe(()=>`${Math.round(t.progress)}% Done`);Fp(e,{get text(){return jr(r)},delay:0,children:(e,r)=>{var o=ig(),i=Ot(o),n=Ot(i),s=e=>{var t=rg();Yp(Ot(t),{name:"check"}),q(t),Qo(3,t,()=>ia,()=>({duration:200})),bo(e,t)},a=e=>{var r=og();pa(Ot(r),{get progress(){return t.progress},radius:8,stroke:3}),q(r),Qo(3,r,()=>ia,()=>({duration:200})),bo(e,r)};_o(n,e=>{100===t.progress?e(s):e(a,!1)}),q(i),q(o),bo(e,o)},$$slots:{default:!0}})}};_o(o,e=>{t.popoverContent?e(i):e(s,!1)}),bo(e,r)};_o(c,e=>{void 0!==t.progress&&e(d)});var u=zt(c,2),h=e=>{var r=vo();Ro(At(r),()=>t.headerAfter),bo(e,r)};_o(u,e=>{t.headerAfter&&e(h)}),q(l),q(r),er(()=>{ci(r,1,ni(["flex items-center justify-between pr-4 pl-10 h-28 touch:h-36 mb-10 overflow-hidden transition-[max-height,opacity,margin] duration-300 ease-out-cubic",o.collapsed?"max-h-0! opacity-0 mb-0!":"max-h-100"])),ci(i,1,ni(["font-medium truncate flex-1",jr(s)?"text-[20px]/[114%] touch:text-[28px]/[114%]":"text-[24px]/[114%] touch:text-[32px]/[114%]"])),ko(a,t.title)}),bo(e,r)};_o(l,e=>{void 0!==t.title&&e(c)});var d=zt(l,2),u=e=>{var r=vo();Ro(At(r),()=>t.children),bo(e,r)};_o(d,e=>{t.children&&e(u)}),q(a),er(()=>ci(a,1,ni(["page-content flex flex-col grow","focus-visible:outline-none",r.dragging.active&&"pointer-events-none select-none","relative","transition-[padding-top] duration-300 ease-out will-change-[padding-top]",i(),t.class]))),bo(e,a),he()}var lg=[["path",{d:"M13.9981 21.75C16.253 21.75 18.0331 21.75 19.3516 21.5537C20.6903 21.3543 21.7764 20.9217 22.376 19.8633C22.975 18.8058 22.79 17.6499 22.2764 16.3945C21.7718 15.1614 20.8655 13.6328 19.7168 11.6963L19.669 11.6162L17.7442 8.37109L17.6983 8.29297C16.5956 6.4338 15.7229 4.96328 14.9112 3.96484C14.0829 2.94615 13.1845 2.25 12 2.25C10.8156 2.25004 9.91717 2.94615 9.08889 3.96484C8.27717 4.96323 7.40537 6.43396 6.30276 8.29297L6.25588 8.37109L4.33108 11.6162L4.28323 11.6963C3.13458 13.6328 2.22822 15.1614 1.72366 16.3945C1.21006 17.6498 1.0251 18.8058 1.62405 19.8633C2.22363 20.9217 3.30976 21.3543 4.64846 21.5537C5.96691 21.75 7.74701 21.75 10.002 21.75L13.9981 21.75ZM12 14C11.4477 14 11 13.5523 11 13V9C11 8.44771 11.4477 8 12 8C12.5523 8 13 8.44771 13 9V13C13 13.5523 12.5523 14 12 14ZM12 17.75C11.4477 17.75 11 17.3023 11 16.75C11 16.1977 11.4477 15.75 12 15.75C12.5523 15.75 13 16.1977 13 16.75C13 17.3023 12.5523 17.75 12 17.75Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],cg=[["path",{d:"M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM12 14.75C11.4477 14.75 11 15.1977 11 15.75C11 16.3023 11.4477 16.75 12 16.75C12.5523 16.75 13 16.3023 13 15.75C13 15.1977 12.5523 14.75 12 14.75ZM12 7C11.4477 7 11 7.44772 11 8V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8C13 7.44772 12.5523 7 12 7Z",fill:"currentColor",key:"0"}]],dg=[["path",{d:"M10.3818 1.47367C11.4397 1.17531 12.5603 1.17534 13.6182 1.47367C14.4165 1.69888 15.1182 2.14438 15.8799 2.78226C16.6255 3.40671 17.4804 4.26163 18.5713 5.35257L18.6475 5.42874C19.7384 6.5197 20.5933 7.37457 21.2178 8.12015C21.8557 8.88181 22.3011 9.5835 22.5264 10.3819C22.8247 11.4398 22.8247 12.5603 22.5264 13.6182C22.3011 14.4166 21.8557 15.1182 21.2178 15.8799C20.5933 16.6255 19.7385 17.4803 18.6475 18.5713L18.5713 18.6475C17.4803 19.7385 16.6255 20.5933 15.8799 21.2178C15.1182 21.8558 14.4166 22.3012 13.6182 22.5264C12.5602 22.8247 11.4398 22.8248 10.3818 22.5264C9.58347 22.3012 8.88178 21.8557 8.12012 21.2178C7.37454 20.5933 6.51967 19.7385 5.42871 18.6475L5.35254 18.5713C4.26159 17.4804 3.40668 16.6255 2.78223 15.8799C2.14435 15.1183 1.69885 14.4166 1.47363 13.6182C1.17531 12.5603 1.17528 11.4398 1.47363 10.3819C1.69887 9.58347 2.1443 8.88184 2.78223 8.12015C3.40671 7.37455 4.26153 6.51974 5.35254 5.42874L5.42871 5.35257C6.51971 4.26156 7.37452 3.40674 8.12012 2.78226C8.88181 2.14433 9.58344 1.6989 10.3818 1.47367ZM12 14.75C11.4477 14.75 11 15.1978 11 15.75C11 16.3023 11.4477 16.75 12 16.75C12.5523 16.75 13 16.3023 13 15.75C13 15.1977 12.5523 14.75 12 14.75ZM12 7.00003C11.4477 7.00003 11 7.44775 11 8.00003V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8.00003C13 7.44775 12.5523 7.00003 12 7.00003Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],ug=[["path",{d:"M18.593 8.19486C19.0376 8.52237 19.1326 9.14837 18.8051 9.59306C18.5507 9.93847 18.2963 10.2668 18.0731 10.5528C17.6276 11.1236 17.0143 11.8882 16.3479 12.6556C15.6859 13.4181 14.9518 14.2064 14.2666 14.8119C13.9251 15.1136 13.5721 15.3911 13.2279 15.5986C12.9112 15.7895 12.476 16 11.9999 16C11.5238 16 11.0885 15.7895 10.7718 15.5986C10.4276 15.3911 10.0747 15.1136 9.7332 14.8119C9.04791 14.2064 8.31387 13.4181 7.65183 12.6556C6.98548 11.8882 6.37216 11.1236 5.92664 10.5528C5.70347 10.2668 5.44902 9.93847 5.19463 9.59307C4.86712 9.14837 4.96211 8.52237 5.4068 8.19486C5.58556 8.0632 5.79362 7.99983 5.99982 8L11.9999 8L17.9999 8C18.2061 7.99983 18.4142 8.0632 18.593 8.19486Z",fill:"currentColor",key:"0"}]],hg=[["path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z",fill:"currentColor",key:"0"}]],pg=[["path",{d:"M12.584 5.50087C13.5269 5.49399 14.5311 5.51747 15.376 5.61025C15.7967 5.65646 16.2068 5.72338 16.5625 5.82216C16.8422 5.89987 17.2042 6.02726 17.5 6.26748L17.6221 6.37783L17.7324 6.4999C17.9726 6.79564 18.1 7.15767 18.1777 7.4374C18.2765 7.79307 18.3434 8.2032 18.3896 8.62392C18.4824 9.46882 18.5059 10.473 18.499 11.4159C18.4921 12.3647 18.4541 13.2789 18.418 13.954C18.3999 14.2921 18.3823 14.5719 18.3691 14.7675C18.3625 14.8652 18.3564 14.9422 18.3525 14.995C18.3506 15.0213 18.3497 15.0416 18.3486 15.0556C18.3481 15.0623 18.347 15.0675 18.3467 15.0712V15.078C18.3035 15.6286 17.822 16.04 17.2715 15.997C16.7209 15.9538 16.3095 15.4723 16.3525 14.9218V14.9179C16.3528 14.9149 16.354 14.9102 16.3545 14.9042C16.3554 14.8919 16.3566 14.873 16.3584 14.8485C16.362 14.7993 16.3667 14.7263 16.373 14.6327C16.3857 14.4451 16.4034 14.1749 16.4209 13.8476C16.456 13.1912 16.4924 12.3092 16.499 11.4013C16.5052 10.5514 16.4815 9.70163 16.414 8.99892L7.20702 18.2069C6.81649 18.5975 6.18348 18.5975 5.79295 18.2069C5.40243 17.8164 5.40243 17.1834 5.79295 16.7929L15 7.58486C14.2975 7.51751 13.4481 7.49467 12.5986 7.50087C11.6907 7.5075 10.8087 7.54389 10.1523 7.579C9.82493 7.59652 9.55476 7.61419 9.36717 7.62685C9.27361 7.63317 9.20061 7.6379 9.15135 7.6415C9.12687 7.64329 9.10802 7.64447 9.09569 7.64541C9.08964 7.64586 9.08496 7.64713 9.08202 7.64736H9.07811C8.52757 7.69042 8.04608 7.27892 8.00292 6.72841C7.95985 6.17786 8.37133 5.69636 8.92186 5.65322H8.9287C8.93241 5.65293 8.9376 5.65177 8.94432 5.65127C8.95826 5.65021 8.97861 5.64928 9.00487 5.64736C9.05764 5.6435 9.13471 5.63735 9.23241 5.63076C9.42798 5.61756 9.70777 5.60002 10.0459 5.58193C10.721 5.54581 11.6352 5.5078 12.584 5.50087Z",fill:"currentColor",key:"0"}]],gg=[["path",{d:"M17.293 5.29295C17.6835 4.90243 18.3165 4.90243 18.707 5.29295C19.0976 5.68348 19.0976 6.31649 18.707 6.70702L13.4131 12L18.7061 17.293L18.7754 17.3691C19.0954 17.7619 19.0721 18.341 18.7061 18.707C18.3399 19.0731 17.7609 19.0958 17.3682 18.7754L17.292 18.707L11.999 13.414L6.70802 18.706C6.3175 19.0966 5.68449 19.0965 5.29396 18.706C4.90344 18.3155 4.90344 17.6825 5.29396 17.292L10.585 12L5.29298 6.70799L5.22462 6.63182C4.90423 6.23907 4.92691 5.66007 5.29298 5.29393C5.65897 4.92794 6.23811 4.9046 6.63087 5.22459L6.70705 5.29393L11.999 10.5859L17.293 5.29295Z",fill:"currentColor",key:"0"}]],fg=[["path",{d:"M10.1341 2.47723C10.1467 3.02937 9.70925 3.48717 9.15711 3.49975C6.45363 3.56134 5.29953 3.83886 4.55253 4.58326C3.90784 5.22571 3.60143 6.18551 3.49877 8.24968C3.47134 8.80128 3.00194 9.2262 2.45034 9.19877C1.89873 9.17134 1.47381 8.70194 1.50124 8.15033C1.60671 6.02963 1.92291 4.38024 3.14077 3.1666C4.52189 1.79027 6.48248 1.56017 9.11155 1.50026C9.66369 1.48768 10.1215 1.92508 10.1341 2.47723ZM13.8659 2.47723C13.8785 1.92508 14.3363 1.48768 14.8885 1.50026C17.5175 1.56017 19.4781 1.79027 20.8592 3.1666C22.0771 4.38024 22.3933 6.02963 22.4988 8.15033C22.5262 8.70194 22.1013 9.17134 21.5497 9.19877C20.9981 9.2262 20.5287 8.80128 20.5012 8.24968C20.3986 6.18551 20.0922 5.22571 19.4475 4.58326C18.7005 3.83886 17.5464 3.56134 14.8429 3.49975C14.2908 3.48717 13.8534 3.02937 13.8659 2.47723ZM2.45034 14.8012C3.00194 14.7738 3.47134 15.1987 3.49877 15.7503C3.60143 17.8145 3.90784 18.7743 4.55253 19.4167C5.29953 20.1612 6.45363 20.4387 9.15711 20.5003C9.70925 20.5128 10.1467 20.9706 10.1341 21.5228C10.1215 22.0749 9.66369 22.5123 9.11155 22.4997C6.48248 22.4398 4.52189 22.2097 3.14077 20.8334C1.92291 19.6198 1.60671 17.9704 1.50124 15.8497C1.47381 15.2981 1.89873 14.8287 2.45034 14.8012ZM21.5497 14.8012C22.1013 14.8287 22.5262 15.2981 22.4988 15.8497C22.3933 17.9704 22.0771 19.6198 20.8592 20.8334C19.4781 22.2097 17.5175 22.4398 14.8885 22.4997C14.3363 22.5123 13.8785 22.0749 13.8659 21.5228C13.8534 20.9706 14.2908 20.5128 14.8429 20.5003C17.5464 20.4387 18.7005 20.1612 19.4475 19.4167C20.0922 18.7743 20.3986 17.8145 20.5012 15.7503C20.5287 15.1987 20.9981 14.7738 21.5497 14.8012Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],mg=[["path",{d:"M1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25C6.06294 1.25 1.25 6.06294 1.25 12ZM16.6757 8.26285C17.0828 8.63604 17.1103 9.26861 16.7372 9.67573L11.2372 15.6757C11.0528 15.8768 10.7944 15.9938 10.5217 15.9998C10.249 16.0057 9.98576 15.9 9.79289 15.7071L7.29289 13.2071C6.90237 12.8166 6.90237 12.1834 7.29289 11.7929C7.68342 11.4024 8.31658 11.4024 8.70711 11.7929L10.4686 13.5544L15.2628 8.32428C15.636 7.91716 16.2686 7.88966 16.6757 8.26285Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],vg=[["path",{d:"M12 2.25C8.91146 2.25 6.2371 2.89111 4.31407 4.2647C2.35646 5.663 1.25 7.77101 1.25 10.5C1.25 14.6224 4.00275 17.4442 6.5804 19.1841C7.88125 20.0622 9.17673 20.6932 10.1441 21.1043C10.6217 21.3073 11.4725 21.6081 11.7713 21.7137L11.7714 21.7137L11.7845 21.7184C12.0116 21.7865 12.2575 21.7432 12.4477 21.6017C12.6379 21.4602 12.75 21.2371 12.75 21V18.7371C15.5214 18.6401 17.9203 17.9964 19.6859 16.7353C21.6435 15.337 22.75 13.229 22.75 10.5C22.75 7.77101 21.6435 5.663 19.6859 4.2647C17.7629 2.89111 15.0885 2.25 12 2.25ZM13 7C13 6.44772 12.5523 6 12 6C11.4477 6 11 6.44772 11 7V9.5H8.5C7.94772 9.5 7.5 9.94772 7.5 10.5C7.5 11.0523 7.94772 11.5 8.5 11.5H11V14C11 14.5523 11.4477 15 12 15C12.5523 15 13 14.5523 13 14V11.5H15.5C16.0523 11.5 16.5 11.0523 16.5 10.5C16.5 9.94772 16.0523 9.5 15.5 9.5H13V7Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],bg=[["path",{d:"M12 2.25C8.91146 2.25 6.2371 2.89111 4.31407 4.2647C2.35646 5.663 1.25 7.77101 1.25 10.5C1.25 14.6224 4.00275 17.4442 6.5804 19.1841C7.88125 20.0622 9.17673 20.6932 10.1441 21.1043C10.6217 21.3073 11.4725 21.6081 11.7713 21.7137L11.7714 21.7137L11.7845 21.7184C12.0116 21.7865 12.2575 21.7432 12.4477 21.6017C12.6379 21.4602 12.75 21.2371 12.75 21V18.7371C15.5214 18.6401 17.9203 17.9964 19.6859 16.7353C21.6435 15.337 22.75 13.229 22.75 10.5C22.75 7.77101 21.6435 5.663 19.6859 4.2647C17.7629 2.89111 15.0885 2.25 12 2.25ZM8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9H16C16.5523 9 17 8.55228 17 8C17 7.44772 16.5523 7 16 7H8ZM8 12C7.44772 12 7 12.4477 7 13C7 13.5523 7.44772 14 8 14H12C12.5523 14 13 13.5523 13 13C13 12.4477 12.5523 12 12 12H8Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],wg=[["path",{d:"M11.5 3.24986C11.8138 3.24986 12.0945 3.44526 12.2034 3.73959C12.7274 5.15581 13.844 6.27242 15.2603 6.79647C15.5546 6.90538 15.75 7.18603 15.75 7.49986C15.75 7.81369 15.5546 8.09434 15.2603 8.20325C13.844 8.7273 12.7274 9.84391 12.2034 11.2601C12.0945 11.5545 11.8138 11.7499 11.5 11.7499C11.1862 11.7499 10.9055 11.5545 10.7966 11.2601C10.2726 9.84391 9.15595 8.7273 7.73972 8.20325C7.4454 8.09434 7.25 7.81369 7.25 7.49986C7.25 7.18603 7.4454 6.90538 7.73972 6.79647C9.15595 6.27242 10.2726 5.15581 10.7966 3.73959C10.9055 3.44526 11.1862 3.24986 11.5 3.24986Z",fill:"currentColor",key:"0"}],["path",{d:"M8.68577 4.3896C7.52403 3.94368 6.55342 3.59668 5.76005 3.41036C4.68975 3.15899 3.64195 3.12555 2.88415 3.88334C2.12635 4.64114 2.1598 5.68894 2.41117 6.75924C2.66447 7.83781 3.21473 9.24398 3.90682 11.0126L6.31565 17.1685C6.97679 18.8581 7.50159 20.1993 8.00084 21.1053C8.25417 21.565 8.53252 21.9735 8.86474 22.267C9.2166 22.5779 9.64744 22.7738 10.1534 22.7468C10.6611 22.7197 11.0691 22.4766 11.3855 22.1286C11.6845 21.7998 11.9181 21.3619 12.1218 20.8748C12.5233 19.9144 12.9049 18.5153 13.386 16.7513C13.5372 16.1967 13.6542 15.7709 13.7588 15.4956C13.8578 15.2353 13.9406 15.1121 14.0267 15.0259C14.1129 14.9397 14.2362 14.857 14.4964 14.758C14.7717 14.6534 15.1975 14.5364 15.7521 14.3851C17.5161 13.9041 18.9152 13.5225 19.8756 13.121C20.3627 12.9173 20.8006 12.6837 21.1294 12.3847C21.4774 12.0683 21.7205 11.6603 21.7476 11.1526C21.7746 10.6466 21.5787 10.2158 21.2678 9.86393C20.9743 9.53171 20.5658 9.25336 20.1061 9.00003C19.4004 8.61114 18.4306 8.20675 17.2378 7.73449C17.1495 8.57892 16.5897 9.31052 15.7808 9.60982C14.7752 9.98194 13.9823 10.7748 13.6102 11.7805C13.2834 12.6635 12.4415 13.2496 11.5 13.2496C10.5585 13.2496 9.71657 12.6635 9.38983 11.7805C9.01771 10.7748 8.22482 9.98194 7.21917 9.60982C6.33619 9.28308 5.75 8.44114 5.75 7.49965C5.75 6.55816 6.33619 5.71621 7.21917 5.38948C7.78894 5.17865 8.29042 4.83274 8.68577 4.3896Z",fill:"currentColor",key:"1"}],["path",{d:"M15.75 1.24986C16.0638 1.24986 16.3445 1.44526 16.4534 1.73959C16.5917 2.11341 16.8865 2.40815 17.2603 2.54647C17.5546 2.65538 17.75 2.93603 17.75 3.24986C17.75 3.56369 17.5546 3.84434 17.2603 3.95325C16.8865 4.09158 16.5917 4.38632 16.4534 4.76014C16.3445 5.05447 16.0638 5.24986 15.75 5.24986C15.4362 5.24986 15.1555 5.05447 15.0466 4.76014C14.9083 4.38632 14.6135 4.09158 14.2397 3.95325C13.9454 3.84434 13.75 3.56369 13.75 3.24986C13.75 2.93603 13.9454 2.65538 14.2397 2.54647C14.6135 2.40815 14.9083 2.11341 15.0466 1.73959C15.1555 1.44526 15.4362 1.24986 15.75 1.24986Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],yg=[["path",{d:"M11.5875 22.75C12.1575 22.7507 12.662 22.7514 13.1374 22.5827C13.2354 22.548 13.3314 22.508 13.4252 22.4629C13.88 22.2442 14.2363 21.8852 14.6387 21.4795L19.4216 16.6719C19.8889 16.2035 20.3037 15.7879 20.5278 15.2441C20.7518 14.7004 20.7509 14.1116 20.7499 13.4482L20.7498 9.97396C20.7498 8.19195 20.7498 6.7556 20.5987 5.62592C20.4419 4.45306 20.1063 3.46554 19.326 2.68123C18.5458 1.89693 17.5634 1.55958 16.3966 1.40189C15.2727 1.25002 13.8438 1.25004 12.071 1.25006C10.2982 1.25004 8.72712 1.25002 7.60328 1.4019C6.43649 1.55958 5.45408 1.89693 4.67383 2.68123C3.89358 3.46554 3.55798 4.45307 3.40111 5.62592C3.25002 6.75558 3.25004 8.19193 3.25006 9.97389V9.9739V9.97392V9.97394V14.5475V14.5475V14.5475V14.5476C3.25005 16.0812 3.25003 17.3177 3.36431 18.3015C3.48255 19.3195 3.73424 20.1917 4.32688 20.9305C4.54441 21.2017 4.79018 21.4488 5.05999 21.6674C5.79501 22.2632 6.66272 22.5162 7.67541 22.635C8.65417 22.7499 10.0618 22.75 11.5875 22.75ZM18.7314 14.4962C18.6746 14.634 18.5693 14.7644 17.9512 15.3857L13.3463 20.0145C12.8133 20.5502 12.6719 20.6837 12.4903 20.7383C12.4903 19.3765 12.4903 18.7204 12.6066 17.8552C12.7276 16.9551 12.9865 16.1972 13.5884 15.5953C14.1903 14.9934 14.9482 14.7345 15.8483 14.6135C16.7153 14.4969 17.3638 14.4961 18.7314 14.4962ZM16.7501 7.00006C16.7501 7.41428 16.4143 7.75006 16.0001 7.75006L8.00006 7.75006C7.58585 7.75006 7.25006 7.41428 7.25006 7.00006C7.25006 6.58585 7.58585 6.25006 8.00006 6.25006L16.0001 6.25006C16.4143 6.25006 16.7501 6.58585 16.7501 7.00006ZM12.0001 11.7501C12.4143 11.7501 12.7501 11.4143 12.7501 11.0001C12.7501 10.5858 12.4143 10.2501 12.0001 10.2501H8.00006C7.58585 10.2501 7.25006 10.5858 7.25006 11.0001C7.25006 11.4143 7.58585 11.7501 8.00006 11.7501H12.0001Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],xg=[["path",{d:"M7.08264 2.24996C8.11205 2.24951 8.82373 2.24919 9.4626 2.48876C10.8581 3.01205 11.4704 4.25121 11.9425 5.20636C12.0838 5.48909 12.3409 6.0027 12.4128 6.11563C12.4348 6.15255 12.5044 6.22817 12.6064 6.23531C12.7396 6.24908 12.92 6.25 13.2361 6.25L16.7905 6.25H16.7905C17.8095 6.24999 18.6312 6.24998 19.2905 6.31705C19.9711 6.38628 20.5613 6.53313 21.0834 6.88199C21.4929 7.15559 21.8444 7.50715 22.118 7.91661C22.4669 8.43872 22.6137 9.02893 22.683 9.70949C22.75 10.3688 22.75 11.2733 22.75 12.2923C22.75 14.012 22.75 15.3602 22.6408 16.4336C22.5295 17.5283 22.2983 18.4202 21.781 19.1945C21.3614 19.8224 20.8224 20.3614 20.1945 20.781C19.4202 21.2983 18.5283 21.5295 17.4336 21.6408C16.3602 21.75 15.012 21.75 13.2923 21.75H11.9426C9.63423 21.75 7.82519 21.75 6.41371 21.5603C4.96897 21.366 3.82895 20.9607 2.93414 20.0659C2.03933 19.1711 1.63399 18.031 1.43975 16.5863C1.24998 15.1748 1.24999 13.3658 1.25 11.0574V11.0574V7.90951V7.90951C1.24999 7.03077 1.24998 6.32205 1.30044 5.7497C1.35242 5.15996 1.46238 4.64388 1.7254 4.17258C2.06428 3.56534 2.56533 3.06428 3.17258 2.7254C3.64388 2.46238 4.15996 2.35243 4.7497 2.30044C5.32205 2.24999 6.2039 2.24995 7.08264 2.24996Z",fill:"currentColor",key:"0"}]],kg=[["path",{d:"M12.8251 1.75C15.0007 1.74998 15.7354 1.74997 17.0955 1.93282C18.4999 2.12164 19.6537 2.52175 20.5661 3.43414C21.4785 4.34653 21.8786 5.50033 22.0674 6.90471C22.2313 8.12428 22.2483 10.047 22.25 12L22.2436 13.5037C22.235 15.2454 22.1957 16.6539 21.9907 17.7892C21.7817 18.9461 21.3902 19.8839 20.635 20.6391C19.7768 21.4973 18.6846 21.8843 17.3079 22.0694C15.9645 22.25 14.2438 22.25 12.0531 22.25H11.9387C9.74804 22.25 8.02737 22.25 6.68396 22.0694C5.3073 21.8843 4.21505 21.4973 3.35685 20.6391C2.60168 19.8839 2.21018 18.9461 2.00122 17.7892C1.79615 16.6539 1.75684 15.2454 1.74826 13.5037L1.7504 11.9999C1.75213 10.0469 1.76906 8.12426 1.93303 6.90471C2.12184 5.50033 2.52195 4.34653 3.43434 3.43414C4.34673 2.52175 5.50054 2.12164 6.90492 1.93282C8.26505 1.74996 9.99978 1.74998 12.1757 1.75H12.8251ZM20.0852 7.17121C20.2409 8.32894 20.2497 10.2983 20.2502 12.4499C20.2502 12.6155 20.1159 12.75 19.9502 12.75L16.5703 12.75C15.2901 12.75 14.4348 13.7898 14.0243 14.6123C13.7341 15.1938 13.1705 15.75 11.9959 15.75C10.8213 15.75 10.2578 15.1938 9.96755 14.6123C9.55706 13.7898 8.70178 12.75 7.42159 12.75L4.0502 12.75C3.88452 12.75 3.75019 12.6155 3.75023 12.4499C3.75071 10.2983 3.75954 8.32894 3.91519 7.17121C4.07419 5.9886 4.3697 5.3272 4.84855 4.84835C5.32741 4.3695 5.98881 4.07399 7.17141 3.91499C8.38278 3.75212 10.4828 3.75 12.7502 3.75C15.0176 3.75 15.6176 3.75212 16.829 3.91499C18.0116 4.07399 18.673 4.3695 19.1519 4.84835C19.6307 5.3272 19.9262 5.9886 20.0852 7.17121Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],Cg=[["path",{d:"M12 2C12.5523 2 13 2.44772 13 3V6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6V3C11 2.44772 11.4477 2 12 2Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M12 17C12.5523 17 13 17.4477 13 18V21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21V18C11 17.4477 11.4477 17 12 17Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M17 12C17 11.4477 17.4477 11 18 11L21 11C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H18C17.4477 13 17 12.5523 17 12Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M2 12C2 11.4477 2.44772 11 3 11L6 11C6.55228 11 7 11.4477 7 12C7 12.5523 6.55228 13 6 13H3C2.44772 13 2 12.5523 2 12Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M19.0706 4.92961C19.4611 5.32014 19.4611 5.9533 19.0706 6.34383L16.9493 8.46515C16.5588 8.85567 15.9256 8.85567 15.5351 8.46515C15.1446 8.07462 15.1446 7.44146 15.5351 7.05093L17.6564 4.92961C18.0469 4.53909 18.6801 4.53909 19.0706 4.92961Z",fill:"currentColor",fillRule:"evenodd",key:"4"}],["path",{d:"M8.46515 15.5351C8.85567 15.9256 8.85567 16.5588 8.46515 16.9493L6.34383 19.0706C5.9533 19.4611 5.32014 19.4611 4.92961 19.0706C4.53909 18.6801 4.53909 18.0469 4.92961 17.6564L7.05093 15.5351C7.44146 15.1446 8.07462 15.1446 8.46515 15.5351Z",fill:"currentColor",fillRule:"evenodd",key:"5"}],["path",{d:"M15.5351 15.5351C15.9256 15.1446 16.5588 15.1446 16.9493 15.5351L19.0706 17.6564C19.4611 18.0469 19.4611 18.6801 19.0706 19.0706C18.6801 19.4611 18.0469 19.4611 17.6564 19.0706L15.5351 16.9493C15.1446 16.5588 15.1446 15.9256 15.5351 15.5351Z",fill:"currentColor",fillRule:"evenodd",key:"6"}],["path",{d:"M4.92961 4.92961C5.32014 4.53909 5.9533 4.53909 6.34383 4.92961L8.46515 7.05093C8.85567 7.44146 8.85567 8.07462 8.46515 8.46515C8.07462 8.85567 7.44146 8.85567 7.05093 8.46515L4.92961 6.34383C4.53909 5.9533 4.53909 5.32014 4.92961 4.92961Z",fill:"currentColor",fillRule:"evenodd",key:"7"}]],Lg=[["path",{d:"M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM7 10.75C6.30964 10.75 5.75 11.3096 5.75 12C5.75 12.6904 6.30964 13.25 7 13.25C7.69035 13.25 8.25 12.6904 8.25 12C8.25 11.3096 7.69035 10.75 7 10.75ZM12 10.75C11.3096 10.75 10.75 11.3096 10.75 12C10.75 12.6904 11.3096 13.25 12 13.25C12.6904 13.25 13.25 12.6904 13.25 12C13.25 11.3096 12.6904 10.75 12 10.75ZM17 10.75C16.3096 10.75 15.75 11.3096 15.75 12C15.75 12.6904 16.3096 13.25 17 13.25C17.6904 13.25 18.25 12.6904 18.25 12C18.25 11.3096 17.6904 10.75 17 10.75Z",fill:"currentColor",key:"0"}]],Sg=[["path",{d:"M12 2.75C12.6904 2.75 13.25 3.30964 13.25 4V10.75H20C20.6904 10.75 21.25 11.3096 21.25 12C21.25 12.6904 20.6904 13.25 20 13.25H13.25V20C13.25 20.6904 12.6904 21.25 12 21.25C11.3096 21.25 10.75 20.6904 10.75 20V13.25H4C3.30964 13.25 2.75 12.6904 2.75 12C2.75 11.3096 3.30964 10.75 4 10.75H10.75V4C10.75 3.30964 11.3096 2.75 12 2.75Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],Mg=[["path",{d:"M11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2ZM4 11C4 7.13401 7.13401 4 11 4C14.866 4 18 7.13401 18 11C18 14.866 14.866 18 11 18C7.13401 18 4 14.866 4 11Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],$g=[["path",{d:"M16.2949 7.29093C15.9033 7.68036 15.9015 8.31353 16.2909 8.70514L18.1307 10.5552C18.5374 10.9641 18.77 11.201 18.9133 11.3899C18.9517 11.4405 18.9747 11.4764 18.9882 11.5C18.9747 11.5236 18.9517 11.5595 18.9133 11.6101C18.77 11.799 18.5374 12.0359 18.1307 12.4448L16.2909 14.2949C15.9015 14.6865 15.9033 15.3196 16.2949 15.7091C16.6865 16.0985 17.3196 16.0967 17.7091 15.7051L19.5489 13.8551L19.5892 13.8145C19.9411 13.4608 20.2721 13.128 20.5066 12.819C20.7677 12.4748 21 12.0465 21 11.5C21 10.9535 20.7677 10.5252 20.5066 10.181C20.2721 9.87202 19.9411 9.53924 19.5892 9.1855L19.5892 9.18549L19.5489 9.14495L17.7091 7.29486C17.3196 6.90325 16.6865 6.90149 16.2949 7.29093Z",fill:"currentColor",key:"0"}],["path",{d:"M7.70514 7.29093C8.09675 7.68036 8.09851 8.31353 7.70907 8.70514L5.86926 10.5552C5.46264 10.9641 5.23002 11.201 5.08669 11.3899C5.0483 11.4405 5.02527 11.4764 5.01181 11.5C5.02527 11.5236 5.0483 11.5595 5.08669 11.6101C5.23002 11.799 5.46264 12.0359 5.86926 12.4448L7.70907 14.2949C8.09851 14.6865 8.09675 15.3196 7.70514 15.7091C7.31353 16.0985 6.68036 16.0967 6.29093 15.7051L4.45112 13.8551L4.41079 13.8145C4.05891 13.4608 3.72787 13.128 3.4934 12.819C3.23231 12.4748 3 12.0465 3 11.5C3 10.9535 3.23231 10.5252 3.4934 10.181C3.72787 9.87202 4.0589 9.53924 4.41079 9.1855L4.41079 9.18549L4.45112 9.14495L6.29093 7.29486C6.68036 6.90325 7.31353 6.90149 7.70514 7.29093Z",fill:"currentColor",key:"1"}],["path",{d:"M14.7985 3.04579C15.3257 3.21052 15.6195 3.7714 15.4547 4.29854L10.4547 20.2985C10.29 20.8257 9.72914 21.1195 9.20199 20.9547C8.67485 20.79 8.38105 20.2291 8.54579 19.702L13.5458 3.70199C13.7105 3.17485 14.2714 2.88105 14.7985 3.04579Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],Tg=[["path",{d:"M21.8606 5.39176C22.2875 6.49635 21.6888 7.2526 20.5301 7.99754C19.5951 8.5986 18.4039 9.24975 17.1417 10.363C14.7896 12.4375 12.8015 14.9404 11.0046 17.5005C10.6645 17.9851 10.3283 18.473 10.011 18.9729C9.60281 19.6187 8.86895 20.0096 8.08206 19.9998C7.295 19.99 6.57208 19.5812 6.18156 18.9251C4.95203 16.8595 4.07719 16.3386 3.87929 16.2416C2.81482 16.0833 2 15.1998 2 14.1335C2 12.9554 2.99489 12.0003 4.22216 12.0003C5.08887 12.0323 5.89341 12.3727 6.60756 12.8526C7.06369 13.1591 7.54689 13.5645 8.04948 14.0981C9.85756 11.6319 11.8372 9.24764 14.1349 7.22116C15.5748 5.95115 17.2396 4.76235 19.0042 4.13381C20.1549 3.72397 21.4337 4.28718 21.8606 5.39176Z",fill:"currentColor",key:"0"}]],_g=[["path",{d:"M12 4.25C11.0058 4.25 10.0648 4.41965 9.18654 4.70497C8.93836 4.78559 8.74992 4.98943 8.689 5.24317C8.62807 5.49691 8.70342 5.76408 8.88794 5.9486L18.9086 15.9693C19.2008 16.2614 19.6741 16.2623 19.9673 15.9713C20.9298 15.016 21.7239 13.9948 22.2078 13.3163C22.461 12.9642 22.75 12.5622 22.75 12C22.75 11.4378 22.4077 10.9616 22.1546 10.6095C21.4487 9.61974 20.1869 8.04576 18.4797 6.71298C16.774 5.38141 14.5706 4.25 12 4.25ZM7.27775 6.21709C7.02388 5.96322 6.62572 5.92487 6.32806 6.12561C4.20574 7.55694 2.60227 9.54781 1.79219 10.6837C1.53904 11.0358 1.25 11.4378 1.25 12C1.25 12.5622 1.59226 13.0384 1.84541 13.3905C2.55126 14.3803 3.81313 15.9542 5.52031 17.287C7.22595 18.6186 9.42944 19.75 12 19.75C14.1829 19.75 16.1016 18.9335 17.6719 17.8744C17.8576 17.7491 17.9776 17.5475 17.9991 17.3245C18.0206 17.1015 17.9413 16.8806 17.7829 16.7223L7.27775 6.21709ZM9.52944 9.5C8.8934 10.136 8.5 11.0147 8.5 11.9853C8.5 13.9264 10.0736 15.5 12.0147 15.5C12.9853 15.5 13.864 15.1066 14.5 14.4706L9.52944 9.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M2.29289 2.29289C2.68342 1.90237 3.31658 1.90237 3.70711 2.29289L21.7071 20.2929C22.0976 20.6834 22.0976 21.3166 21.7071 21.7071C21.3166 22.0976 20.6834 22.0976 20.2929 21.7071L2.29289 3.70711C1.90237 3.31658 1.90237 2.68342 2.29289 2.29289Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],Eg=[["path",{d:"M5.52031 6.71298C7.22595 5.38141 9.42944 4.25 12 4.25C14.5706 4.25 16.774 5.38141 18.4797 6.71298C20.1869 8.04576 21.4487 9.61974 22.1546 10.6095L22.2078 10.6837C22.461 11.0358 22.75 11.4378 22.75 12C22.75 12.5622 22.461 12.9642 22.2078 13.3163L22.1546 13.3905C21.4487 14.3803 20.1869 15.9542 18.4797 17.287C16.774 18.6186 14.5706 19.75 12 19.75C9.42944 19.75 7.22595 18.6186 5.52031 17.287C3.81313 15.9542 2.55126 14.3803 1.84541 13.3905L1.79219 13.3163C1.53904 12.9642 1.25 12.5622 1.25 12C1.25 11.4378 1.53904 11.0358 1.79219 10.6837L1.84541 10.6095C2.55126 9.61974 3.81313 8.04576 5.52031 6.71298ZM8.5 12C8.5 13.933 10.067 15.5 12 15.5C13.933 15.5 15.5 13.933 15.5 12C15.5 10.067 13.933 8.5 12 8.5C10.067 8.5 8.5 10.067 8.5 12Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],Ig=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Og=fo("<svg></svg>");function Ag(e,t){ue(t,!0);let r=Ui(t,"size",3,24),o=Ui(t,"absoluteStrokeWidth",3,!1),i=Ui(t,"color",3,"currentColor"),n=Ui(t,"showAlt",3,!1),s=Ui(t,"class",3,""),a=Ui(t,"className",3,""),l=Wi(t,["$$slots","$$events","$$legacy","icon","altIcon","size","strokeWidth","absoluteStrokeWidth","color","showAlt","class","className"]);const c=Qe(()=>s()||a());let d,u=ut(void 0),h=ut(void 0);const p=Qe(()=>({size:r(),strokeWidth:t.strokeWidth,absoluteStrokeWidth:o(),color:i(),altIcon:t.altIcon,showAlt:n(),class:jr(c)}));Zi(()=>{if(d)return pt(u,function(e,t){const r=(e,r)=>{const{color:o="currentColor",size:i=24,strokeWidth:n,absoluteStrokeWidth:s=!1,class:a="",altIcon:l,showAlt:c=!1,...d}=r,u={xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",color:o,class:a,...d},h=c&&l?l:t,p=void 0!==n?s?n*(24/Number(i)):n:void 0;Object.entries(u).forEach(([t,r])=>{e.setAttribute(Ig(t),String(r))}),e.innerHTML="",h.forEach(([t,r])=>{const o=document.createElementNS("http://www.w3.org/2000/svg",t),i={...r};void 0!==p&&(i["stroke-width"]=p,i.stroke="currentColor"),Object.entries(i).forEach(([e,t])=>{o.setAttribute(Ig(e),String(t))}),e.appendChild(o)})};return{render:(e,t)=>(r(e,t),{update(t){r(e,t)},destroy(){e.innerHTML=""}})}}(0,t.icon),!0),pt(h,jr(u).render(d,jr(p)),!0),()=>{jr(h)?.destroy()}}),Kt(()=>{jr(u)&&d&&jr(h)&&jr(h).update(jr(p))});var g=Og();Si(g,()=>({xmlns:"http://www.w3.org/2000/svg",width:r(),height:r(),viewBox:"0 0 24 24",fill:"none",class:jr(c),...l})),Di(g,e=>d=e,()=>d),bo(e,g),he()}var zg=po("<div><!></div>"),Pg=po("<button><!> <!></button>");function Fg(e,t){ue(t,!0);const r=(e,t)=>{let r=et(()=>m(t?.(),()=>({}),!0));var d=Pg();Si(d,()=>({...jr(r),...u,class:["flex-center gap-4 text-sm/none font-medium rounded-[10px] touch:rounded-[12px] superellipse active:scale-95 cursor-pointer","transition-[background-color,scale] duration-100 ease-out will-change-[background-color,scale] focus-visible","disabled:opacity-30 disabled:grayscale disabled:pointer-events-none",l()?"bg-neutral-500/20 hover:bg-neutral-500/20 active:bg-neutral-500/10 text-sky-50 glass":s()+" "+a(),c()?"pl-6 pr-10 h-28 py-8":i()]}));var h=Ot(d);Oo(h,o,e=>{Ag(e,{get icon(){return o()},get className(){return n()}})});var p=zt(h,2),g=e=>{var t=zg();Ro(Ot(t),c),q(t),bo(e,t)};_o(p,e=>{c()&&e(g)}),q(d),bo(e,d)};let o=Ui(t,"icon",3,yg),i=Ui(t,"size",3,"size-28 touch:size-36"),n=Ui(t,"iconSize",3,"size-20 touch:size-26"),s=Ui(t,"colors",3,"bg-neutral-500/0 hover:bg-neutral-500/10 active:bg-neutral-500/30 text-neutral-400 touch:text-neutral-400 hover:text-white touch:bg-neutral-500/10"),a=Ui(t,"glass",3,"glass-hover touch:bg-white/5"),l=Ui(t,"active",3,!1),c=Ui(t,"children",3,null),d=Ui(t,"tooltip",3,void 0),u=Wi(t,["$$slots","$$events","$$legacy","icon","size","iconSize","colors","glass","active","children","tooltip"]);var h=vo(),p=At(h),g=e=>{{const t=(e,t)=>{r(e,()=>t?.().props)};Fp(e,Bi(d,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};_o(p,e=>{d()?.text?e(g):e(f,!1)}),bo(e,h),he()}var Ng=po('<div class="absolute right-8 top-1/2 -translate-y-1/2"><!></div>'),Hg=po("<label><input/> <!> <p> </p></label>");function Dg(e,t){ue(t,!0);let r=Ui(t,"class",3,""),o=Ui(t,"value",15),i=Wi(t,["$$slots","$$events","$$legacy","name","label","class","value","type"]);const n=Qe(()=>"password"===t.type);let s=ut(!1);const a=Qe(()=>jr(n)&&jr(s)?"text":t.type);var l=Hg(),c=Ot(l);Si(c,()=>({id:`fubi-input-${t.name}`,name:t.name,type:jr(a),placeholder:" ",class:["flex-1 focus:ring-none focus-visible:outline-hidden peer disabled:opacity-30 disabled:pointer-events-none mt-3 app:mt-12",jr(n)&&"pr-[42px]"],...i}),void 0,void 0,void 0,void 0,!0);var d=zt(c,2),u=e=>{var t=Ng(),r=Ot(t);{let e=Qe(()=>jr(s)?Eg:_g);Fg(r,{type:"button",get icon(){return jr(e)},size:"size-28",iconSize:"size-16",colors:"bg-neutral-500/0 hover:bg-neutral-500/10 active:bg-neutral-500/30 text-neutral-400 hover:text-white glass-hover",onclick:()=>pt(s,!jr(s))})}q(t),bo(e,t)};_o(d,e=>{jr(n)&&e(u)});var h=zt(d,2);ci(h,1,ni(["select-none group-has-[input:disabled]/input:opacity-40 text-white/50 z-10 font-normal shrink-0 absolute top-0 bottom-0 left-2.5 app:left-10 pointer-events-none items-center flex text-base/none","peer-focus:text-xs/none peer-focus:bottom-[18px]","peer-[:not(:placeholder-shown)]:text-xs/none peer-[:not(:placeholder-shown)]:bottom-[18px]","transition-[bottom,color,font-size] duration-200 ease-out-cubic will-change-[bottom,color,font-size]"]));var p=Ot(h,!0);q(h),q(l),er(()=>{Li(l,"for",`fubi-input-${t.name}`),ci(l,1,ni(["relative superellipse border-b-[0.5px] border-white/5 last:border-b-0 min-h-[52px] first:rounded-t-[16px] last:rounded-b-[16px] bg-neutral-500/10 mouse:min-h-[44px] flex flex-col px-2.5 app:px-10 group/input text-white focus-within has-disabled:cursor-not-allowed text-base/none font-medium",r()])),ko(p,t.label)}),Ii(c,o),bo(e,l),he()}var jg=po('<div class="absolute inset-0 flex items-center justify-center"><!></div>'),Rg=po("<span><!></span>"),Wg=po('<div class="size-3 absolute top-0 right-0 translate-x-1/4 -translate-y-1/4 flex items-center justify-center"><div class="bg-rose-500 size-3 animate-ping rounded-full absolute"></div> <div class="bg-rose-500 size-3 rounded-full"></div></div>'),Vg=po("<!> <span><!> <!></span> <!>",1);function Bg(e,t){let r=Ui(t,"variant",3,"default"),o=Ui(t,"glass",3,!0),i=Ui(t,"small",3,!1),n=Ui(t,"flex",3,!1),s=Ui(t,"loading",3,!1),a=Ui(t,"ping",3,!1),l=Ui(t,"type",3,"button"),c=Ui(t,"class",3,""),d=Wi(t,["$$slots","$$events","$$legacy","variant","glass","small","flex","loading","ping","icon","iconClass","iconSize","href","type","disabled","class","children"]);const u=Qe(()=>!!t.icon&&!t.children),h={default:{solid:"bg-sky-950/80 hover:bg-sky-900/80 active:bg-sky-800/80 text-sky-400 hover:text-white disabled:bg-white/10 disabled:text-white",subtle:"hover:bg-sky-950/80 active:bg-sky-900/80 text-sky-400 hover:text-white"},destructive:{solid:"bg-rose-700 hover:bg-rose-900/80 active:bg-rose-800/80 text-rose-100 hover:text-white",subtle:"hover:bg-rose-950/80 active:bg-rose-900/80 text-rose-500 hover:text-rose-100"},ghost:{solid:"bg-white/5 hover:bg-white/10 active:bg-white/20 text-white/80 hover:text-white",subtle:"hover:bg-white/5 active:bg-white/10 text-white/80 hover:text-white"}},p=Qe(()=>i()?"min-h-[40px] mouse:min-h-[36px] touch:min-h-[46px] rounded-[14px] touch:rounded-[16px] text-[15px]/none touch:text-[17px]/none":"min-h-[46px] mouse:min-h-[44px] rounded-[16px] text-[17px]/none min-w-25 app:min-w-0"),g=Qe(()=>jr(u)?"aspect-square":t.icon?i()?"pl-2 pr-3 app:pl-8 app:pr-12 touch:app:pl-12 touch:app:pr-16":"pl-3 pr-4.5 app:pl-12 app:pr-18":i()?"px-3 app:px-12 touch:app:px-16":"px-5 app:px-20");var f=vo();ti(At(f),()=>t.href?"a":"button",!1,(e,u)=>{Si(e,()=>({class:["relative inline-flex items-center justify-center font-medium select-none cursor-pointer! superellipse",i()?"gap-2":"gap-1.5",n()&&"flex-1","transition-[background-color,color,scale,box-shadow] duration-100","focus-visible active:scale-[.98]","disabled:pointer-events-none disabled:opacity-50",t.disabled?"":o()?"glass":"glass-hover",h[r()][o()?"solid":"subtle"],jr(p),jr(g),c()],href:t.href||void 0,type:t.href?void 0:l(),disabled:t.href?void 0:s()||t.disabled,"aria-disabled":t.href&&(s()||t.disabled)||void 0,"data-loading":s()||void 0,...d}));var f=Vg(),m=At(f),v=e=>{var t=jg();Ag(Ot(t),{get icon(){return Cg},className:"size-5 app:size-20 animate-spin text-current opacity-50"}),q(t),bo(e,t)};_o(m,e=>{s()&&e(v)});var b=zt(m,2),w=Ot(b),y=e=>{{let r=Qe(()=>`shrink-0 ${t.iconClass||"text-current"} ${t.iconSize?t.iconSize:i()?"size-6":"size-5"}`);Ag(e,{get icon(){return t.icon},get className(){return jr(r)}})}};_o(w,e=>{t.icon&&e(y)});var x=zt(w,2),k=e=>{var r=Rg();Ro(Ot(r),()=>t.children),q(r),er(()=>ci(r,1,ni([i()?"pt-px app:pt-0 touch:app:pt-px":"pt-[2px] app:pt-0 touch:app:pt-[2px]"]))),bo(e,r)};_o(x,e=>{t.children&&e(k)}),q(b);var C=zt(b,2),L=e=>{bo(e,Wg())};_o(C,e=>{a()&&e(L)}),er(()=>ci(b,1,ni(["inline-flex items-center justify-center transition-opacity duration-100 pointer-events-none whitespace-nowrap",i()?"gap-2":"gap-1.5",s()&&"opacity-0"]))),bo(u,f)}),bo(e,f)}var Ug=po('<div><span class="text-white/60"> </span> <div class="flex gap-1 mt-0.5"><input type="range" min="0" max="0.5" step="0.005" class="w-full"/> <input type="range" min="0" max="0.5" step="0.005" class="w-full"/> <input type="range" min="0" max="0.5" step="0.005" class="w-full"/></div></div>'),Zg=po('<div class="fixed top-4 right-4 z-50 w-64 max-h-[90vh] overflow-y-auto rounded-xl bg-black/80 p-4 text-xs text-white backdrop-blur-md font-mono space-y-3"><div class="flex items-center justify-between"><span class="font-bold text-sm">Shader Tuner</span> <button class="rounded bg-white/10 px-2 py-0.5 hover:bg-white/20">Copy</button></div> <fieldset class="space-y-1.5 border-t border-white/10 pt-2"><legend class="text-white/50">Motion</legend> <label class="flex items-center justify-between"><span>Speed</span> <input type="range" min="0.01" max="0.5" step="0.01" class="w-28"/> <span class="w-8 text-right"> </span></label></fieldset> <fieldset class="space-y-1.5 border-t border-white/10 pt-2"><legend class="text-white/50">Blobs</legend> <label class="flex items-center justify-between"><span>Radius</span> <input type="range" min="0.01" max="0.3" step="0.005" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Spread</span> <input type="range" min="0.1" max="1.5" step="0.05" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Core glow</span> <input type="range" min="0" max="1" step="0.05" class="w-28"/> <span class="w-8 text-right"> </span></label></fieldset> <fieldset class="space-y-1.5 border-t border-white/10 pt-2"><legend class="text-white/50">Noise</legend> <label class="flex items-center justify-between"><span>Freq 1</span> <input type="range" min="0.1" max="4" step="0.1" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Freq 2</span> <input type="range" min="0.1" max="4" step="0.1" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Amount 1</span> <input type="range" min="0" max="0.5" step="0.01" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Amount 2</span> <input type="range" min="0" max="0.5" step="0.01" class="w-28"/> <span class="w-8 text-right"> </span></label></fieldset> <fieldset class="space-y-1.5 border-t border-white/10 pt-2"><legend class="text-white/50">Dither</legend> <label class="flex items-center justify-between"><span>Pixel size</span> <input type="range" min="1" max="12" step="1" class="w-28"/> <span class="w-8 text-right"> </span></label> <label class="flex items-center justify-between"><span>Levels</span> <input type="range" min="2" max="16" step="1" class="w-28"/> <span class="w-8 text-right"> </span></label></fieldset> <fieldset class="space-y-1.5 border-t border-white/10 pt-2"><legend class="text-white/50">Colors (R / G / B)</legend> <!></fieldset> <button class="w-full rounded bg-white/10 py-1 hover:bg-white/20">Hide (press G to toggle)</button></div>'),qg=po('<canvas class="fixed inset-0 -z-10 h-full w-full"></canvas> <!>',1);ao(["click"]);var Kg=po('<span class="inline-flex items-center gap-8"><!> Login with Fubi</span>'),Gg=po('<p class="text-rose-500 text-sm/[140%]"> </p>'),Xg=po('<div class="flex-1 flex flex-col justify-center px-8 gap-8 w-full relative h-full"><!> <!> <!></div>'),Yg=po('<div class="absolute bg-radial from-sky-950/0 from-40% to-sky-950 inset-0"></div> <!> <a target="_blank" rel="noopener noreferrer"><p>Dashboard</p> <!></a> <!> <button><!> <p>Hide Fubi</p></button>',1);ao(["click"]);var Jg=po("<ul><!></ul>");function Qg(e,t){const r=Ui(t,"class",3,"");var o=Jg();Ro(Ot(o),()=>t.children),q(o),er(()=>ci(o,1,ni(["list flex flex-col superellipse relief rounded-[20px] bg-neutral-500/10 p-3 gap-px",r()]))),bo(e,o)}var ef=[["path",{d:"M15 6L9 12.0001L15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],tf=[["path",{d:"M9.00005 6L15 12L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],rf=[["path",{d:"M9.5 14.5L14.5 9.49995",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.8463 14.6095L19.4558 12C21.5147 9.94108 21.5147 6.60298 19.4558 4.54411C17.397 2.48524 14.0589 2.48524 12 4.54411L9.39045 7.15366M14.6095 16.8463L12 19.4558C9.94113 21.5147 6.60303 21.5147 4.54416 19.4558C2.48528 17.3969 2.48528 14.0588 4.54416 12L7.1537 9.39041",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],of=[["path",{d:"M6.00058 12V11.5M18.0006 12V11.5M12.0006 12V11.5M7.00058 12C7.00058 11.4478 6.55286 11 6.00058 11C5.44829 11 5.00058 11.4478 5.00058 12C5.00058 12.5523 5.44829 13 6.00058 13C6.55286 13 7.00058 12.5523 7.00058 12ZM19.0006 12C19.0006 11.4478 18.5529 11 18.0006 11C17.4483 11 17.0006 11.4478 17.0006 12C17.0006 12.5523 17.4483 13 18.0006 13C18.5529 13 19.0006 12.5523 19.0006 12ZM13.0006 12C13.0006 11.4478 12.5529 11 12.0006 11C11.4483 11 11.0006 11.4478 11.0006 12C11.0006 12.5523 11.4483 13 12.0006 13C12.5529 13 13.0006 12.5523 13.0006 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],nf=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],sf=po("<div><!></div>"),af=po('<div class="w-12"></div>'),lf=po("<div><!></div>"),cf=po("<p> </p>"),df=fo('<svg viewBox="0 0 8 22" fill="none" class="w-5 touch:w-6 rotate-180 text-neutral-500"><path d="M7 1.00024L1 11.0002L7 21.0002" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),uf=po('<button><!> <div><div><p> </p> <!></div> <div class="flex gap-8 items-center shrink-0 min-h-42 touch:min-h-56"><!> <!></div></div></button>');function hf(e,t){ue(t,!0);const r={dropdown:"bg-sky-500/0 hover:bg-sky-500/10 active:bg-sky-500/30 touch:active:bg-sky-500/20 hover:text-white text-neutral-200",default:"bg-neutral-500/0 hover:bg-neutral-500/10 active:bg-neutral-500/30 touch:active:bg-neutral-500/20 hover:text-white text-neutral-200",destructive:"bg-neutral-500/0 hover:bg-rose-400/10 active:bg-rose-500/20 touch:active:bg-rose-500/20 hover:text-white text-rose-200"},{router:o}=Zx();let i=Ui(t,"start",3,null),n=Ui(t,"icon",3,xg),s=Ui(t,"title",3,"Title"),a=Ui(t,"subtitle",3,null),l=Ui(t,"subtitleSnippet",3,null),c=Ui(t,"classSubtitle",3,""),d=Ui(t,"classIcon",3,""),u=Ui(t,"active",3,null),h=Ui(t,"iconSize",3,"size-26 touch:size-30"),p=Ui(t,"height",3,"min-h-42 touch:min-h-56"),g=Ui(t,"type",3,"default"),f=Ui(t,"after",3,null),m=Ui(t,"chevron",3,!1),v=Ui(t,"disabled",3,null),b=Ui(t,"onclick",3,null),w=Ui(t,"index",3,0),y=Ui(t,"class",3,""),x=Wi(t,["$$slots","$$events","$$legacy","start","icon","title","subtitle","subtitleSnippet","classSubtitle","classIcon","active","iconSize","height","type","after","chevron","disabled","onclick","index","class"]);const k=Qe(()=>({dropdown:"text-sky-400 group-hover/listitem:text-sky-300 group-disabled/listitem:text-current",default:"text-neutral-500 group-data-active/listitem:text-sky-500",destructive:"text-rose-500"}));var C=uf();Si(C,()=>({"data-active":!!u()||null,class:["listitem superellipse group/listitem w-full flex items-start touch:pr-10 rounded-[17px] touch:rounded-21 superellipse pr-10 select-none",p(),"focus-visible","disabled:cursor-not-allowed disabled:text-neutral-500/30","transition-[scale,background-color,border-radius] duration-150 ease-out","select-none",b()?u()?"cursor-pointer border-[0.5px] border-white/10 bg-sky-500/10 hover:bg-sky-500/20 touch:active:bg-neutral-500/30 active:bg-sky-500/30 active:scale-98":`cursor-pointer active:scale-98 ${r[g()]}`:"cursor-default bg-neutral-500/0 text-neutral-200",y()],disabled:v(),onclick:b(),tabindex:b()?0:-1,...x}));var L=Ot(C),S=e=>{var t=sf(),r=Ot(t),o=e=>{var t=vo();Ro(At(t),i),bo(e,t)},s=e=>{{let t=Qe(()=>`${jr(k)[g()]} ${d()} ${h()}`);Ag(e,{get icon(){return n()},get className(){return jr(t)}})}};_o(r,e=>{i()?e(o):e(s,!1)}),q(t),er(()=>ci(t,1,ni(["w-54 mouse:w-42 flex-center shrink-0",p()]))),bo(e,t)},M=e=>{bo(e,af())};_o(L,e=>{i()||n()?e(S):e(M,!1)});var $=zt(L,2),T=Ot($);ci(T,1,ni(["flex flex-col gap-2 touch:gap-0 flex-1 min-w-0 justify-center text-left pr-12 py-8 touch:py-10 min-h-42 touch:min-h-56"]));var _=Ot(T);ci(_,1,ni(["text-[15px]/[110%] pb-1.5 touch:text-[18px]/none font-medium truncate w-full text-neutral-100"]));var E=Ot(_,!0);q(_);var I=zt(_,2),O=e=>{var t=lf();Ro(Ot(t),l),q(t),er(()=>ci(t,1,ni(["text-[14px]/[110%] font-normal mouse:text-xs/[105%] group-disabled/listitem:text-neutral-500/50 w-full",(u(),"text-neutral-400")]))),bo(e,t)},A=e=>{var t=cf(),r=Ot(t,!0);q(t),er(()=>{ci(t,1,ni(["text-[13px]/[110%] touch:text-[14px]/[130%] font-normal mouse:text-xs/[120%] group-disabled/listitem:text-neutral-500/50 line-clamp-4 w-full transition-colors duration-200",c()||(u(),"text-neutral-400")])),ko(r,a())}),bo(e,t)};_o(I,e=>{l()?e(O):a()&&e(A,1)}),q(T);var z=zt(T,2),P=Ot(z),F=e=>{var t=vo();Ro(At(t),f),bo(e,t)};_o(P,e=>{f()&&e(F)});var N=zt(P,2),H=e=>{bo(e,df())};_o(N,e=>{m()&&e(H)}),q(z),q($),q(C),er(()=>{ci($,1,ni(["listitem-content flex relative items-start flex-1 min-w-0 border-b-[0px]",p(),"transition-[border-color] duration-0 ease-out",u()?"border-transparent":"border-neutral-500/30"])),ko(E,s())}),Qo(1,C,()=>ia,()=>({duration:600,easing:js,delay:40*w(),start:.9})),Qo(2,C,()=>ea,()=>({duration:o.navigating?0:400,easing:Ds})),bo(e,C),he()}function pf(e){!function(e){let t=Ui({class:"size-20 text-neutral-500"},"class",3,"size-4 app:size-24");Ag(e,{get icon(){return Cg},get className(){return`animate-spin ${t()??""}`}})}(e)}var gf=po('<p class="font-normal text-balance text-[13px]/[130%] max-w-[24ch]"><!></p>'),ff=po('<div><div class="flex-center app:gap-4 gap-1 text-center flex-col text-white/30 pointer-events-none h-full"><!> <p class="font-semibold text-xl/none app:text-xl/none mt-1 app:mt-0"> </p> <!> <!></div></div>');function mf(e,t){const r=Ui(t,"title",3,"Title"),o=Ui(t,"height",3,"");var i=ff(),n=Ot(i),s=Ot(n),a=e=>{Ag(e,{get icon(){return t.icon},className:"app:size-32 size-8"})};_o(s,e=>{t.icon&&e(a)});var l=zt(s,2),c=Ot(l,!0);q(l);var d=zt(l,2),u=e=>{var r=vo();Ro(At(r),()=>t.children),bo(e,r)};_o(d,e=>{t.children&&e(u)});var h=zt(d,2),p=e=>{var r=gf();jo(Ot(r),()=>t.subtitle),q(r),bo(e,r)};_o(h,e=>{t.subtitle&&e(p)}),q(n),q(i),er(()=>{ci(i,1,ni(["flex-1",o()])),ko(c,r())}),Qo(3,n,()=>ia,()=>({start:.8,duration:500,easing:js})),Qo(3,i,()=>oa,()=>({duration:50})),bo(e,i)}var vf=po('<div class="absolute"><!></div>'),bf=po("<div><!></div>"),wf=po("<!> <!>",1),yf=po("<div><!></div>"),xf=po('<div class="z-1 size-7 rounded-full absolute top-0 right-0 bg-rose-500 touch:size-10 touch:top-1 touch:right-1 touch:outline-3 touch:outline-neutral-900"></div>'),kf=po('<div class="relative"><!> <!></div>');function Cf(e,t){ue(t,!0);const r=(e,r)=>{let c=et(()=>m(r?.(),()=>({}),!0));var u=kf(),h=Ot(u);ti(h,()=>t.href?"a":"button",!1,(e,r)=>{Si(e,()=>({type:t.href?void 0:"button",href:t.href,...jr(c),...d,class:[n(),"flex-center rounded-full cursor-pointer","focus-visible transition-[color,background-color,scale] duration-150 ease-out-cubic will-change-[color,background-color,scale] touch:glass",s()?"text-neutral-400 glass bg-neutral-800/80 touch:text-white":"error"===t.status||a()?"bg-rose-500/10 hover:bg-rose-500/20 active:bg-rose-500/30 text-rose-400 glass":"warning"===t.status?"bg-orange-500/10 hover:bg-orange-500/20 active:bg-orange-500/30 text-orange-400 glass":"success"===t.status?"bg-white/5 hover:bg-white/10 active:bg-white/15 text-neutral-400 hover:text-neutral-200 glass":"touch:bg-white/5 text-neutral-400 hover:text-neutral-200 glass-hover hover:bg-neutral-400/10 active:bg-neutral-400/20 active:text-white active:scale-90",l()]}));var u=wf(),h=At(u),p=e=>{var r=bf();Oo(Ot(r),()=>t.icon,e=>{var r=vf();Ag(Ot(r),{get icon(){return t.icon},get strokeWidth(){return i()},get className(){return o()}}),q(r),Qo(3,r,()=>ia,()=>({opacity:0,start:.5,duration:200,easing:js})),bo(e,r)}),q(r),er(()=>ci(r,1,ni([o(),"flex-center relative"]))),bo(e,r)};_o(h,e=>{t.icon&&e(p)}),Ro(zt(h,2),()=>t.children??g),bo(r,u)});var p=zt(h,2),f=e=>{var r=yf();Ag(Ot(r),{get icon(){return t.statusIcon},className:"size-14 touch:size-16"}),q(r),er(()=>ci(r,1,ni(["z-1 size-14 rounded-full absolute -top-1 -right-1 flex-center bg-neutral-900 touch:size-16 touch:top-0 touch:right-0 touch:outline-3 touch:outline-neutral-900","error"===t.status?"text-rose-500":"warning"===t.status?"text-orange-500":"text-green-400"]))),bo(e,r)},v=e=>{bo(e,xf())};_o(p,e=>{t.status&&t.statusIcon?e(f):a()&&e(v,1)}),q(u),bo(e,u)};let o=Ui(t,"iconSize",3,"size-20"),i=Ui(t,"iconStrokeWidth",3,1.5),n=Ui(t,"size",3,"h-32 min-w-32 touch:h-44 touch:min-w-44"),s=Ui(t,"active",3,!1),a=Ui(t,"alert",3,!1),l=Ui(t,"class",3,""),c=Ui(t,"tooltip",3,void 0),d=Wi(t,["$$slots","$$events","$$legacy","icon","iconSize","iconStrokeWidth","size","href","active","alert","status","statusIcon","class","children","tooltip"]);var u=vo(),h=At(u),p=e=>{{const t=(e,t)=>{r(e,()=>t?.().props)};Fp(e,Bi(c,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};_o(h,e=>{c()?.text?e(p):e(f,!1)}),bo(e,u),he()}var Lf=fo('<svg viewBox="0 0 8 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-16 -translate-x-1"><path d="M6.99995 1L1 8L7 15" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="16" stroke-linecap="round" stroke-linejoin="round"></path></svg>'),Sf=po("<div><p> </p> <p> </p></div>"),Mf=po('<div data-fubi-drag-handle=""><div class="flex-1"><!></div> <!> <div class="flex-1 flex justify-end touch:gap-8"><!></div></div>');function $f(e,t){ue(t,!0);const{win:r,router:o,sheet:i}=Zx();Ui(t,"back",3,"Back");let n=Ui(t,"onBack",3,null),s=Ui(t,"title",3,""),a=Ui(t,"label",3,"");const l=()=>{"function"==typeof n()?n()():"string"==typeof n()?o.goto(n(),{},"back"):!0===n()&&o.back()};let c=Qe(()=>r.contentScrollState?.y>2);var d=Mf(),u=Ot(d),h=Ot(u),p=e=>{Cf(e,{onclick:l,children:(e,t)=>{bo(e,Lf())},$$slots:{default:!0}})};_o(h,e=>{null!==n()&&e(p)}),q(u);var g=zt(u,2),f=e=>{var t=Sf(),r=Ot(t),o=Ot(r,!0);q(r);var n=zt(r,2),l=Ot(n,!0);q(n),q(t),er(()=>{ci(t,1,ni(["flex-center flex-col text-center gap-4 touch:gap-2 transition-[scale,opacity] duration-200 ease-out-cubic",i.willClose?"opacity-0 scale-50":""])),Li(r,"title",s()),ci(r,1,ni(["text-lg/[110%] touch:text-xl/[110%] text-neutral-300 font-medium transition-[scale,opacity] truncate max-w-176",jr(c)?"ease-out-cubic duration-400 delay-100":"opacity-0 scale-80 ease-in-cubic duration-200"])),ko(o,s()||" "),ci(n,1,ni([" transition-[font-size,translate,color] ease-in-out-cubic px-8",jr(c)?"text-xs/none duration-300 text-neutral-500":"text-neutral-300 text-base/none -translate-y-10 touch:-translate-y-14 duration-200"])),ko(l,a())}),bo(e,t)};_o(g,e=>{a()&&e(f)});var m=zt(g,2),v=Ot(m),b=e=>{var r=vo();Ro(At(r),()=>t.after),bo(e,r)};_o(v,e=>{t.after&&e(b)}),q(m),q(d),er(()=>ci(d,1,ni(["group/navbar h-(--fubi-navbar-height) gap-6 fixed inset-0 bottom-auto bg-neutral-800/80 android:bg-neutral-800 backdrop-blur-md android:backdrop-blur-none z-10 border-b-[0.5px] items-center flex justify-between px-8 touch:px-14","touch:bg-neutral-900/80","touch:h-(--fubi-navbar-height-touch)","transition-[border-color,max-height,opacity] duration-300 ease-out-cubic will-change-[border-color]","overflow-hidden",jr(c)?"border-white/10":"border-white/0",i.collapsed?"max-h-0! border-transparent! opacity-0":"max-h-100"]))),bo(e,d),he()}var Tf=po('<div class="flex-center h-9 app:h-36 group-aria-disabled/item:opacity-30"><!></div>'),_f=po("<div><!></div>"),Ef=po("<p> </p>"),If=po('<p class="text-neutral-500 text-[15px]/[110%] touch:text-[18px]/none pb-0.5 app:pb-2"> </p>'),Of=po('<div class="text-amber-500 text-[13px]/none font-normal mouse:text-xs/none mb-px line-clamp-1 pr-1 app:pr-4 bg-amber-500/10 py-0.75 app:py-3 px-1 app:px-4 rounded-[4px] superellipse"> </div>'),Af=po("<!> <!> <div><p> </p> <!></div> <div><!> <!> <!></div>",1);function zf(e,t){ue(t,!0);let r=Ui(t,"component",19,()=>Dh),o=Ui(t,"type",3,"default"),i=Wi(t,["$$slots","$$events","$$legacy","component","active","checked","chevron","type","start","icon","iconClass","title","subtitle","after","label","end","closeOnSelect","class"]);const n=Qe(r),s=Qe(()=>["data-disabled:pointer-events-none","destructive"===o()?"text-rose-200":t.active?"text-white":"text-neutral-200","destructive"===o()&&"hover:text-rose-100 hover:bg-rose-400/10 active:bg-rose-500/20","default"===o()&&t.active&&"bg-sky-500/20","default"===o()&&t.active&&t.onclick&&"hover:bg-sky-500/30 active:bg-sky-500/40",t.onclick&&"cursor-pointer","default"===o()&&!t.active&&(t.onclick||t.chevron)&&"hover:bg-neutral-500/20 text-neutral-50 active:bg-neutral-600/20 active:scale-95"]),a={default:"text-neutral-400 group-data-active/item:text-white",destructive:"text-rose-400"};var l=vo(),c=At(l);{let e=Qe(()=>t.closeOnSelect??(!!t.onclick&&!t.chevron)),r=Qe(()=>[jr(s),"group/item rounded-[10px] first:rounded-t-[16px] last:rounded-b-[16px] superellipse w-full h-9 app:h-36 touch:app:h-42 touch:px-2 flex items-center select-none focus-visible transition-[scale] will-change-[scale] duration-150 ease-out",t.class]);Wo(c,()=>jr(n),(n,s)=>{s(n,Bi({get closeOnSelect(){return jr(e)},get class(){return jr(r)}},()=>i,{children:(e,r)=>{var i=Af(),n=At(i),s=e=>{var r=Tf();Ro(Ot(r),()=>t.start),q(r),bo(e,r)};_o(n,e=>{t.start&&e(s)});var l=zt(n,2),c=e=>{var r=_f(),i=Ot(r);{let e=Qe(()=>`size-5 app:size-20 touch:app:size-22 ${t.iconClass??""}`);Ag(i,{get icon(){return t.icon},get className(){return jr(e)}})}q(r),er(()=>ci(r,1,ni(["flex-center size-9 app:size-36 group-aria-disabled/item:opacity-30",a[o()]]))),bo(e,r)};_o(l,e=>{t.icon&&e(c)});var d=zt(l,2),u=Ot(d);ci(u,1,ni(["text-[15px]/[110%] touch:text-[17px]/none font-normal"]));var h=Ot(u,!0);q(u);var p=zt(u,2),g=e=>{var r=Ef();ci(r,1,ni(["text-[13px]/[114%] font-normal mouse:text-xs/[114%] line-clamp-1 text-white/50"]));var o=Ot(r,!0);q(r),er(()=>ko(o,t.subtitle)),bo(e,r)};_o(p,e=>{t.subtitle&&e(g)}),q(d);var f=zt(d,2),m=Ot(f),v=e=>{var r=If(),o=Ot(r,!0);q(r),er(()=>ko(o,t.after)),bo(e,r)};_o(m,e=>{t.after&&e(v)});var b=zt(m,2),w=e=>{var r=Of(),o=Ot(r,!0);q(r),er(()=>ko(o,t.label)),bo(e,r)};_o(b,e=>{t.label&&e(w)});var y=zt(b,2),x=e=>{var r=vo();Ro(At(r),()=>t.end),bo(e,r)},k=e=>{{let r=Qe(()=>t.checked?Tg:hg),o=Qe(()=>"size-4 app:size-16 "+(t.checked?"text-sky-400":""));Ag(e,{get icon(){return jr(r)},get className(){return jr(o)}})}};_o(y,e=>{t.end?e(x):(t.checked||t.chevron)&&e(k,1)}),q(f),er(()=>{ci(d,1,ni(["flex flex-col gap-0.5 app:gap-1 flex-1 items-start justify-center text-left h-9 app:h-36 pr-6 app:pr-24 touch:app:pl-2 group-aria-disabled/item:opacity-30",!t.icon&&!t.start&&"pl-3 app:pl-12 touch:app:pl-12"])),ko(h,t.title),ci(f,1,ni(["flex-center group-aria-disabled/item:opacity-30",t.chevron?"pr-1 app:pr-4":"pr-2 app:pr-8"]))}),bo(e,i)},$$slots:{default:!0}}))})}bo(e,l),he()}var Pf=[["path",{d:"M14.5 5.5C14.5 6.88071 13.3807 8 12 8C10.6193 8 9.5 6.88071 9.5 5.5C9.5 4.11929 10.6193 3 12 3C13.3807 3 14.5 4.11929 14.5 5.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 13L3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12L19 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Ff=[["path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Nf=[["path",{d:"M15.6 8.40033V12.9003C15.6 14.3915 16.8088 15.6003 18.3 15.6003C19.7912 15.6003 21 14.3915 21 12.9003V12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C14.0265 21 15.8965 20.3302 17.4009 19.2M15.6 12.0003C15.6 13.9886 13.9882 15.6003 12 15.6003C10.0118 15.6003 8.4 13.9886 8.4 12.0003C8.4 10.0121 10.0118 8.40033 12 8.40033C13.9882 8.40033 15.6 10.0121 15.6 12.0003Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}]],Hf=[["path",{d:"M5.82338 12L4.27922 10.4558C2.57359 8.75022 2.57359 5.98485 4.27922 4.27922C5.98485 2.57359 8.75022 2.57359 10.4558 4.27922L19.7208 13.5442C21.4264 15.2498 21.4264 18.0152 19.7208 19.7208C18.0152 21.4264 15.2498 21.4264 13.5442 19.7208L10.0698 16.2464C9.00379 15.1804 9.00379 13.4521 10.0698 12.386C11.1358 11.32 12.8642 11.32 13.9302 12.386L15.8604 14.3162",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Df=[["path",{d:"M3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 2.5V4.4M12 19.6V21.5M9.15 12H14.85M19.6 12H21.5M2.5 12H4.4M12 9.14999V14.85",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],jf=[["path",{d:"M3.01206 6.59744C2.89214 7.65674 3.6584 10.1951 5.87693 10.255",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18.2891 10.195C19.3684 10.255 20.9873 8.99582 20.9873 6.59741",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.0876 20.9879C20.1476 19.6088 19.2482 17.4742 17.5093 17.4142",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.90138 20.9881C3.84009 19.5998 4.7594 17.4509 6.53675 17.3905",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3.01227 13.7926H5.21757",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M21 13.7926L18.8282 13.7926",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M11.9932 13.7926V10.8546M16.4902 2.99982L14.6914 4.79862M7.49615 2.99982L9.29496 4.79862",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M6.95612 8.61209C8.57504 9.77532 12.5924 11.4542 16.9695 8.68404",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}],["path",{d:"M16.826 7.6767C13.2523 2.7 8.69536 5.09841 7.07644 7.8206C6.02093 9.59542 4.37823 13.8886 7.49616 18.5655C10.8539 22.6667 14.8113 20.808 16.4302 18.6494C17.9892 16.7906 19.5242 11.9938 16.826 7.6767Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"8"}]],Rf=[["path",{d:"M5.14286 14C4.41735 12.8082 4 11.4118 4 9.91886C4 5.54539 7.58172 2 12 2C16.4183 2 20 5.54539 20 9.91886C20 11.4118 19.5827 12.8082 18.8571 14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 10C13.3875 10.6432 12.7111 11 12 11C11.2889 11 10.6125 10.6432 10 10",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.38287 17.0982C7.291 16.8216 7.24507 16.6833 7.25042 16.5713C7.26174 16.3343 7.41114 16.1262 7.63157 16.0405C7.73579 16 7.88105 16 8.17157 16H15.8284C16.119 16 16.2642 16 16.3684 16.0405C16.5889 16.1262 16.7383 16.3343 16.7496 16.5713C16.7549 16.6833 16.709 16.8216 16.6171 17.0982C16.4473 17.6094 16.3624 17.8651 16.2315 18.072C15.9572 18.5056 15.5272 18.8167 15.0306 18.9408C14.7935 19 14.525 19 13.9881 19H10.0119C9.47495 19 9.2065 19 8.96944 18.9408C8.47283 18.8167 8.04281 18.5056 7.7685 18.072C7.63755 17.8651 7.55266 17.6094 7.38287 17.0982Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M15 19L14.8707 19.6466C14.7293 20.3537 14.6586 20.7072 14.5001 20.9866C14.2552 21.4185 13.8582 21.7439 13.3866 21.8994C13.0816 22 12.7211 22 12 22C11.2789 22 10.9184 22 10.6134 21.8994C10.1418 21.7439 9.74484 21.4185 9.49987 20.9866C9.34144 20.7072 9.27073 20.3537 9.12932 19.6466L9 19",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 15.5V11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Wf=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Vf=[["path",{d:"M21 21H10C6.70017 21 5.05025 21 4.02513 19.9749C3 18.9497 3 17.2998 3 14V3",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 10L13 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 13L18 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8 13L8 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M21 7.98693C19.16 7.98693 17.1922 8.24252 15.8771 6.49346C14.3798 4.50218 11.6202 4.50218 10.1229 6.49346C8.80782 8.24252 6.84003 7.98693 5 7.98693H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Bf=[["path",{d:"M11 6L21 6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L21 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 18L21 18",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Uf=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Zf=[["path",{d:"M16 6.99998L19.0664 9.64296C20.3554 10.7541 21 11.3096 21 12C21 12.6903 20.3555 13.2459 19.0664 14.357L16 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 6.99998L4.93365 9.64296C3.64455 10.7541 3 11.3096 3 12C3 12.6903 3.64455 13.2459 4.93365 14.357L8 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],qf=[["path",{d:"M2 10.5C2 5.5 6 3 12 3C18 3 22 5.5 22 10.5C22 15.5 18 18 12 18V21C12 21 2 18 2 10.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.5 10.5H15.5M12 7L12 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Kf=[["path",{d:"M8 13.5H16M8 8.5H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.09881 19C4.7987 18.8721 3.82475 18.4816 3.17157 17.8284C2 16.6569 2 14.7712 2 11V10.5C2 6.72876 2 4.84315 3.17157 3.67157C4.34315 2.5 6.22876 2.5 10 2.5H14C17.7712 2.5 19.6569 2.5 20.8284 3.67157C22 4.84315 22 6.72876 22 10.5V11C22 14.7712 22 16.6569 20.8284 17.8284C19.6569 19 17.7712 19 14 19C13.4395 19.0125 12.9931 19.0551 12.5546 19.155C11.3562 19.4309 10.2465 20.0441 9.14987 20.5789C7.58729 21.3408 6.806 21.7218 6.31569 21.3651C5.37769 20.6665 6.29454 18.5019 6.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Gf=[["path",{d:"M7.5 7.5L8.72654 8.55719C9.24218 9.00163 9.5 9.22386 9.5 9.5C9.5 9.77614 9.24218 9.99836 8.72654 10.4428L7.5 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.5 12.5H15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 21C15.7497 21 17.6246 21 18.9389 20.0451C19.3634 19.7367 19.7367 19.3634 20.0451 18.9389C21 17.6246 21 15.7497 21 12C21 8.25027 21 6.3754 20.0451 5.06107C19.7367 4.6366 19.3634 4.26331 18.9389 3.95491C17.6246 3 15.7497 3 12 3C8.25027 3 6.3754 3 5.06107 3.95491C4.6366 4.26331 4.26331 4.6366 3.95491 5.06107C3 6.3754 3 8.25027 3 12C3 15.7497 3 17.6246 3.95491 18.9389C4.26331 19.3634 4.6366 19.7367 5.06107 20.0451C6.3754 21 8.25027 21 12 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Xf=[["path",{d:"M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Yf=[["path",{d:"M6.99069 4.56404C5.14721 3.92359 4.06068 3.76816 3.41442 4.41442C2.49121 5.33764 3.20405 7.15934 4.62973 10.8028L6.99069 16.8363C8.35243 20.3163 9.03329 22.0563 10.1133 21.9986C11.1934 21.9409 11.6886 20.125 12.6791 16.4933C12.974 15.4119 13.1215 14.8712 13.4963 14.4963C13.8712 14.1215 14.4119 13.974 15.4933 13.6791C19.125 12.6886 20.9409 12.1934 20.9986 11.1133C21.0428 10.287 20.0346 9.69434 18 8.85164",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.4999 4C12.1 5.62152 13.3784 6.89998 14.9999 7.5C13.3784 8.10002 12.1 9.37848 11.4999 11C10.8999 9.37848 9.62146 8.10002 7.99994 7.5C9.62146 6.89998 10.8999 5.62152 11.4999 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.7499 2C15.9642 2.57911 16.4208 3.03571 16.9999 3.25C16.4208 3.46429 15.9642 3.92089 15.7499 4.5C15.5356 3.92089 15.0791 3.46429 14.4999 3.25C15.0791 3.03571 15.5356 2.57911 15.7499 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Jf=[["path",{d:"M13.5 13L17 9M14 15C14 16.1046 13.1046 17 12 17C10.8954 17 10 16.1046 10 15C10 13.8954 10.8954 13 12 13C13.1046 13 14 13.8954 14 15Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 12C6 8.68629 8.68629 6 12 6C13.0929 6 14.1175 6.29218 15 6.80269",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2.50006 12.0001C2.50006 7.52172 2.50006 5.28255 3.8913 3.8913C5.28255 2.50006 7.52172 2.50006 12.0001 2.50006C16.4784 2.50006 18.7176 2.50006 20.1088 3.8913C21.5001 5.28255 21.5001 7.52172 21.5001 12.0001C21.5001 16.4784 21.5001 18.7176 20.1088 20.1088C18.7176 21.5001 16.4784 21.5001 12.0001 21.5001C7.52172 21.5001 5.28255 21.5001 3.8913 20.1088C2.50006 18.7176 2.50006 16.4784 2.50006 12.0001Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],Qf=[["path",{d:"M16.9459 3.17305C17.5332 2.58578 17.8268 2.29215 18.1521 2.15173C18.6208 1.94942 19.1521 1.94942 19.6208 2.15173C19.946 2.29215 20.2397 2.58578 20.8269 3.17305C21.4142 3.76032 21.7079 4.05395 21.8483 4.37925C22.0506 4.8479 22.0506 5.37924 21.8483 5.84789C21.7079 6.17319 21.4142 6.46682 20.8269 7.05409L15.8054 12.0757C14.5682 13.3129 13.9496 13.9315 13.1748 14.298C12.4 14.6645 11.5294 14.7504 9.78823 14.9222L9 15L9.07778 14.2118C9.24958 12.4706 9.33549 11.6 9.70201 10.8252C10.0685 10.0504 10.6871 9.43183 11.9243 8.19464L16.9459 3.17305Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 15H3.75C2.7835 15 2 15.7835 2 16.75C2 17.7165 2.7835 18.5 3.75 18.5H13.25C14.2165 18.5 15 19.2835 15 20.25C15 21.2165 14.2165 22 13.25 22H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],em=[["path",{d:"M20 15.0057V10.6606C20 9.84276 20 9.43383 19.8478 9.06613C19.6955 8.69843 19.4065 8.40927 18.8284 7.83096L14.0919 3.09236C13.593 2.59325 13.3436 2.3437 13.0345 2.19583C12.9702 2.16508 12.9044 2.13778 12.8372 2.11406C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88646C5.26731 3.06554 5.06508 3.26787 4.88607 3.48998C4 4.58943 4 6.21265 4 9.45908V14.0052C4 17.7781 4 19.6645 5.17157 20.8366C6.11466 21.7801 7.52043 21.9641 10 22M13 2.50022V3.00043C13 5.83009 13 7.24492 13.8787 8.12398C14.7574 9.00304 16.1716 9.00304 19 9.00304H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.3267 22L13.1155 20.9142C12.3718 20.2475 12 19.9142 12 19.5C12 19.0858 12.3718 18.7525 13.1155 18.0858L14.3267 17M17.6733 22L18.8845 20.9142C19.6282 20.2475 20 19.9142 20 19.5C20 19.0858 19.6282 18.7525 18.8845 18.0858L17.6733 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],tm=[["path",{d:"M3 7H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 17H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 17L21 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M15 7L21 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M6 7C6 6.06812 6 5.60218 6.15224 5.23463C6.35523 4.74458 6.74458 4.35523 7.23463 4.15224C7.60218 4 8.06812 4 9 4C9.93188 4 10.3978 4 10.7654 4.15224C11.2554 4.35523 11.6448 4.74458 11.8478 5.23463C12 5.60218 12 6.06812 12 7C12 7.93188 12 8.39782 11.8478 8.76537C11.6448 9.25542 11.2554 9.64477 10.7654 9.84776C10.3978 10 9.93188 10 9 10C8.06812 10 7.60218 10 7.23463 9.84776C6.74458 9.64477 6.35523 9.25542 6.15224 8.76537C6 8.39782 6 7.93188 6 7Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M12 17C12 16.0681 12 15.6022 12.1522 15.2346C12.3552 14.7446 12.7446 14.3552 13.2346 14.1522C13.6022 14 14.0681 14 15 14C15.9319 14 16.3978 14 16.7654 14.1522C17.2554 14.3552 17.6448 14.7446 17.8478 15.2346C18 15.6022 18 16.0681 18 17C18 17.9319 18 18.3978 17.8478 18.7654C17.6448 19.2554 17.2554 19.6448 16.7654 19.8478C16.3978 20 15.9319 20 15 20C14.0681 20 13.6022 20 13.2346 19.8478C12.7446 19.6448 12.3552 19.2554 12.1522 18.7654C12 18.3978 12 17.9319 12 17Z",stroke:"currentColor",strokeWidth:"1.5",key:"5"}]],rm=[["path",{d:"M12.5 19L12.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.5 22H14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"7",cy:"7",r:"7",transform:"matrix(-1 0 0 1 20.5 2)",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.5 4C9.15431 4.0385 9.49236 4.35899 10.0735 4.97301C11.1231 6.08206 12.1727 6.1746 12.8724 5.80492C13.922 5.2504 13.04 4.35221 14.2719 3.86409C15.0748 3.54595 15.1868 2.68026 14.7399 2",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M20 10C18.5 10 18.2338 11.2468 17 11C14.5 10.5 13.7916 11.0589 13.7916 12.2511C13.7916 13.4432 13.7916 13.4432 13.2717 14.3373C12.9335 14.9189 12.8153 15.5004 13.4894 16",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M6.5 2C4.64864 3.79995 3.5 6.3082 3.5 9.08251C3.5 14.5598 7.97715 19 13.5 19C16.2255 19 18.6962 17.9187 20.5 16.165",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}]],om=[["path",{d:"M4 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 19H18.5M20 19H18.5M18.5 19V11L17 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M4 12L14 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],im=[["path",{d:"M6 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 12H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],nm=[["circle",{cx:"7.5",cy:"7.5",r:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 21C9.37246 15.775 14.2741 8.88406 21.4975 13.5424",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],sm=[["path",{d:"M3 16L7.46967 11.5303C7.80923 11.1908 8.26978 11 8.75 11C9.23022 11 9.69077 11.1908 10.0303 11.5303L14 15.5M15.5 17L14 15.5M21 16L18.5303 13.5303C18.1908 13.1908 17.7302 13 17.25 13C16.7698 13 16.3092 13.1908 15.9697 13.5303L14 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5 8C15.7761 8 16 7.77614 16 7.5C16 7.22386 15.7761 7 15.5 7M15.5 8C15.2239 8 15 7.77614 15 7.5C15 7.22386 15.2239 7 15.5 7M15.5 8V7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3.69797 19.7472C2.5 18.3446 2.5 16.2297 2.5 12C2.5 7.77027 2.5 5.6554 3.69797 4.25276C3.86808 4.05358 4.05358 3.86808 4.25276 3.69797C5.6554 2.5 7.77027 2.5 12 2.5C16.2297 2.5 18.3446 2.5 19.7472 3.69797C19.9464 3.86808 20.1319 4.05358 20.302 4.25276C21.5 5.6554 21.5 7.77027 21.5 12C21.5 16.2297 21.5 18.3446 20.302 19.7472C20.1319 19.9464 19.9464 20.1319 19.7472 20.302C18.3446 21.5 16.2297 21.5 12 21.5C7.77027 21.5 5.6554 21.5 4.25276 20.302C4.05358 20.1319 3.86808 19.9464 3.69797 19.7472Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],am=[["path",{d:"M14 3H10C6.22876 3 4.34315 3 3.17157 4.17157C2 5.34315 2 7.22876 2 11V13C2 16.7712 2 18.6569 3.17157 19.8284C4.34315 21 6.22876 21 10 21H14C17.7712 21 19.6569 21 20.8284 19.8284C22 18.6569 22 16.7712 22 13V11C22 7.22876 22 5.34315 20.8284 4.17157C19.6569 3 17.7712 3 14 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"8.5",cy:"8.5",r:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21.5 17L16.348 11.3797C16.1263 11.1377 15.8131 11 15.485 11C15.1744 11 14.8766 11.1234 14.6571 11.3429L10 16L7.83928 13.8393C7.62204 13.622 7.32741 13.5 7.02019 13.5C6.68931 13.5 6.37423 13.6415 6.15441 13.8888L2.5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],lm=[["circle",{cx:"13.5",cy:"10.5",r:"8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 22L7 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 13V8L9 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M17.5 13V8L16.5 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M13.5 9V9.01M13.5 12V12.01",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],cm=[["path",{d:"M2 12C2 8.22876 2 6.34315 3.17157 5.17157C4.34315 4 6.22876 4 10 4H13C14.9628 4 15.9443 4 16.7889 4.42229C17.6334 4.84458 18.2223 5.62972 19.4 7.2C21.1333 9.51111 22 10.6667 22 12C22 13.3333 21.1333 14.4889 19.4 16.8C18.2223 18.3703 17.6334 19.1554 16.7889 19.5777C15.9443 20 14.9628 20 13 20H10C6.22876 20 4.34315 20 3.17157 18.8284C2 17.6569 2 15.7712 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]],dm=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8.37931H11.5M17 8.37931H14.5M11.5 8.37931H14.5M11.5 8.37931V7M14.5 8.37931C13.9725 10.2656 12.8679 12.0487 11.6071 13.6158M8.39286 17C9.41205 16.0628 10.5631 14.9134 11.6071 13.6158M11.6071 13.6158C10.9643 12.8621 10.0643 11.6426 9.80714 11.0909M11.6071 13.6158L13.5357 15.6207",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],um=[["path",{d:"M20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28248 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28248 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.5 8.5L2.5 8.5",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M21.5 15.5L2.5 15.5",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],hm=[["path",{d:"M20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.5 12L2.5 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 2.5L12 21.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],pm=[["path",{d:"M3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28248 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28248 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 9L21.5 9",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],gm=[["path",{d:"M9.14339 10.691L9.35031 10.4841C11.329 8.50532 14.5372 8.50532 16.5159 10.4841C18.4947 12.4628 18.4947 15.671 16.5159 17.6497L13.6497 20.5159C11.671 22.4947 8.46279 22.4947 6.48405 20.5159C4.50532 18.5372 4.50532 15.329 6.48405 13.3503L6.9484 12.886",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.0516 11.114L17.5159 10.6497C19.4947 8.67095 19.4947 5.46279 17.5159 3.48405C15.5372 1.50532 12.329 1.50532 10.3503 3.48405L7.48405 6.35031C5.50532 8.32904 5.50532 11.5372 7.48405 13.5159C9.46279 15.4947 12.671 15.4947 14.6497 13.5159L14.8566 13.309",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],fm=[["path",{d:"M9.5 14.5L14.5 9.49995",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.8463 14.6095L19.4558 12C21.5147 9.94108 21.5147 6.60298 19.4558 4.54411C17.397 2.48524 14.0589 2.48524 12 4.54411L9.39045 7.15366M14.6095 16.8463L12 19.4558C9.94113 21.5147 6.60303 21.5147 4.54416 19.4558C2.48528 17.3969 2.48528 14.0588 4.54416 12L7.1537 9.39041",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],mm=[["path",{d:"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],vm=[["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H20.6C21.7583 10 22 10.2417 22 11.4V12.6C22 13.7583 21.7583 14 20.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H20.6C21.7583 18 22 18.2417 22 19.4V20.6C22 21.7583 21.7583 22 20.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],bm=[["path",{d:"M12 3V6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 18V21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12L18 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 12L3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.3635 5.63672L16.2422 7.75804",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.75804 16.2422L5.63672 18.3635",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18.3635 18.3635L16.2422 16.2422",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M7.75804 7.75804L5.63672 5.63672",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]],wm=[["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13ZM12 13L12 16",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],ym=[["path",{d:"M19.9999 6.99974C19.923 5.58247 19.7124 4.66414 19.1363 3.96217C18.9701 3.75963 18.7844 3.57392 18.5818 3.4077C17.4755 2.49974 15.8318 2.49974 12.5443 2.49974L11.9999 2.4999C8.2287 2.4999 6.34308 2.4999 5.17151 3.67147C3.99994 4.84305 3.99994 6.72866 3.99994 10.4999V13.4999C3.99994 17.2711 3.99994 19.1568 5.17151 20.3283C6.34308 21.4999 8.2287 21.4999 11.9999 21.4999L12.5443 21.4997C15.8318 21.4997 17.4755 21.4997 18.5818 20.5918C18.7844 20.4256 18.9701 20.2399 19.1363 20.0373C19.7124 19.3353 19.923 18.417 19.9999 16.9997",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 7.99991C16 7.99991 20 10.9459 20 11.9999C20 13.054 16 15.9999 16 15.9999M19.5 11.9999H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],xm=[["path",{d:"M21.9598 10.9707C22.0134 11.8009 22.0134 12.6607 21.9598 13.4909C21.6856 17.7332 18.3536 21.1125 14.1706 21.3905C12.7435 21.4854 11.2536 21.4852 9.8294 21.3905C9.33896 21.3579 8.8044 21.2409 8.34401 21.0513C7.83177 20.8403 7.5756 20.7348 7.44544 20.7508C7.31527 20.7668 7.1264 20.9061 6.74868 21.1846C6.08268 21.6757 5.24367 22.0285 3.99943 21.9982C3.37026 21.9829 3.05568 21.9752 2.91484 21.7351C2.77401 21.495 2.94941 21.1626 3.30021 20.4978C3.78674 19.5758 4.09501 18.5203 3.62791 17.6746C2.82343 16.4666 2.1401 15.036 2.04024 13.4909C1.98659 12.6607 1.98659 11.8009 2.04024 10.9707C2.31441 6.72838 5.64639 3.34913 9.8294 3.07107C11.0318 2.99114 11.2812 2.97856 12.5 3.03368",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.5 15H15.5M8.5 10H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M22 5.5C22 7.433 20.433 9 18.5 9C16.567 9 15 7.433 15 5.5C15 3.567 16.567 2 18.5 2C20.433 2 22 3.567 22 5.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],km=[["path",{d:"M6.00449 12.5V12M18.0045 12.5V12M12.0045 12.5V12M7.00449 12.5C7.00449 11.9477 6.55677 11.5 6.00449 11.5C5.4522 11.5 5.00449 11.9477 5.00449 12.5C5.00449 13.0523 5.4522 13.5 6.00449 13.5C6.55677 13.5 7.00449 13.0523 7.00449 12.5ZM19.0045 12.5C19.0045 11.9477 18.5568 11.5 18.0045 11.5C17.4522 11.5 17.0045 11.9477 17.0045 12.5C17.0045 13.0523 17.4522 13.5 18.0045 13.5C18.5568 13.5 19.0045 13.0523 19.0045 12.5ZM13.0045 12.5C13.0045 11.9477 12.5568 11.5 12.0045 11.5C11.4522 11.5 11.0045 11.9477 11.0045 12.5C11.0045 13.0523 11.4522 13.5 12.0045 13.5C12.5568 13.5 13.0045 13.0523 13.0045 12.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Cm=[["path",{d:"M12.8809 7.01656L17.6538 8.28825M11.8578 10.8134L14.2442 11.4492M11.9765 17.9664L12.9311 18.2208C15.631 18.9401 16.981 19.2998 18.0445 18.6893C19.108 18.0787 19.4698 16.7363 20.1932 14.0516L21.2163 10.2548C21.9398 7.57005 22.3015 6.22768 21.6875 5.17016C21.0735 4.11264 19.7235 3.75295 17.0235 3.03358L16.0689 2.77924C13.369 2.05986 12.019 1.70018 10.9555 2.31074C9.89196 2.9213 9.53023 4.26367 8.80678 6.94841L7.78366 10.7452C7.0602 13.4299 6.69848 14.7723 7.3125 15.8298C7.92652 16.8874 9.27651 17.2471 11.9765 17.9664Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 20.9462L11.0477 21.2055C8.35403 21.939 7.00722 22.3057 5.94619 21.6832C4.88517 21.0607 4.52429 19.692 3.80253 16.9546L2.78182 13.0833C2.06006 10.3459 1.69918 8.97718 2.31177 7.89892C2.84167 6.96619 4 7.00015 5.5 7.00003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Lm=[["path",{d:"M15.5 18C15.5 19.933 13.933 21.5 12 21.5C10.067 21.5 8.5 19.933 8.5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.2311 18H4.76887C3.79195 18 3 17.208 3 16.2311C3 15.762 3.18636 15.3121 3.51809 14.9803L4.12132 14.3771C4.68393 13.8145 5 13.0514 5 12.2558V9.5C5 5.63401 8.13401 2.5 12 2.5C15.866 2.5 19 5.634 19 9.5V12.2558C19 13.0514 19.3161 13.8145 19.8787 14.3771L20.4819 14.9803C20.8136 15.3121 21 15.762 21 16.2311C21 17.208 20.208 18 19.2311 18Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Sm=[["path",{d:"M15.5 18C15.5 19.933 13.933 21.5 12 21.5C10.067 21.5 8.5 19.933 8.5 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 2L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 16.2311C21 15.762 20.8136 15.3121 20.4819 14.9803L19.8787 14.3771C19.3161 13.8145 19 13.0514 19 12.2558V9.5C19 5.634 15.866 2.5 12 2.5C10.4497 2.5 9.01706 3.00399 7.85707 3.85707M4.76887 18C3.79195 18 3 17.208 3 16.2311C3 15.762 3.18636 15.3121 3.51809 14.9803L4.12132 14.3771C4.68393 13.8145 5 13.0514 5 12.2558V9.5C5 8.20839 5.34981 6.99849 5.95987 5.95987L18 18H4.76887Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Mm=[["path",{d:"M12 22C11.1818 22 10.4002 21.6698 8.83693 21.0095C4.94564 19.3657 3 18.5438 3 17.1613C3 16.7742 3 10.0645 3 7M12 22C12.8182 22 13.5998 21.6698 15.1631 21.0095C19.0544 19.3657 21 18.5438 21 17.1613V7M12 22L12 11.3548",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.32592 9.69138L5.40472 8.27785C3.80157 7.5021 3 7.11423 3 6.5C3 5.88577 3.80157 5.4979 5.40472 4.72215L8.32592 3.30862C10.1288 2.43621 11.0303 2 12 2C12.9697 2 13.8712 2.4362 15.6741 3.30862L18.5953 4.72215C20.1984 5.4979 21 5.88577 21 6.5C21 7.11423 20.1984 7.5021 18.5953 8.27785L15.6741 9.69138C13.8712 10.5638 12.9697 11 12 11C11.0303 11 10.1288 10.5638 8.32592 9.69138Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 12L8 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M17 4L7 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],$m=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C12.8417 22 14 22.1163 14 21C14 20.391 13.6832 19.9212 13.3686 19.4544C12.9082 18.7715 12.4523 18.0953 13 17C13.6667 15.6667 14.7778 15.6667 16.4815 15.6667C17.3334 15.6667 18.3334 15.6667 19.5 15.5C21.601 15.1999 22 13.9084 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["circle",{cx:"9.5",cy:"8.5",r:"1.5",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["circle",{cx:"16.5",cy:"9.5",r:"1.5",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.125 15H7M7.25 15C7.25 15.1381 7.13807 15.25 7 15.25C6.86193 15.25 6.75 15.1381 6.75 15C6.75 14.8619 6.86193 14.75 7 14.75C7.13807 14.75 7.25 14.8619 7.25 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Tm=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],_m=[["path",{d:"M10.5502 3C6.69782 3.00694 4.6805 3.10152 3.39128 4.39073C2 5.78202 2 8.02125 2 12.4997C2 16.9782 2 19.2174 3.39128 20.6087C4.78257 22 7.0218 22 11.5003 22C15.9787 22 18.218 22 19.6093 20.6087C20.8985 19.3195 20.9931 17.3022 21 13.4498",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0556 13C10.3322 3.86635 16.8023 1.27554 21.9805 2.16439C22.1896 5.19136 20.7085 6.32482 17.8879 6.84825C18.4326 7.41736 19.395 8.13354 19.2912 9.02879C19.2173 9.66586 18.7846 9.97843 17.9194 10.6036C16.0231 11.9736 13.8264 12.8375 11.0556 13Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9 17C11 11.5 12.9604 9.63636 15 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Em=[["path",{d:"M17 4H21M17 4C17 4.56018 18.4943 5.60678 19 6M17 4C17 3.43982 18.4943 2.39322 19 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 4H3M7 4C7 3.43982 5.5057 2.39322 5 2M7 4C7 4.56018 5.5057 5.60678 5 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.8348 22L9.8348 21.0513C9.8348 20.4058 9.6261 19.7775 9.23964 19.2595L5.58206 14.3566C5.16022 13.7911 4.8233 13.0896 5.1018 12.4419C5.55264 11.3935 6.82458 10.7124 8.38144 12.2843L9.97865 13.9937L9.97865 3.57057C10.0349 1.52742 13.3229 1.42614 13.4635 3.57057L13.4635 9.5106C14.9435 9.31946 21.9155 10.3629 20.8993 14.7831C20.851 14.9931 20.8028 15.2063 20.7557 15.4165C20.5501 16.3353 19.9422 17.9727 19.2719 18.93C18.5741 19.9266 18.8203 20.9192 18.8203 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Im=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 11.5C9 11.5 10.4079 11.7519 11 13.5C11 13.5 12.5 10.5 15 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Om=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 11V7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 14.75H12M12.25 14.75C12.25 14.8881 12.1381 15 12 15C11.8619 15 11.75 14.8881 11.75 14.75C11.75 14.6119 11.8619 14.5 12 14.5C12.1381 14.5 12.25 14.6119 12.25 14.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Am=[["path",{d:"M5 20L7.41286 17.5871M7.41286 17.5871C8.21715 18.3914 9.32826 18.8889 10.5556 18.8889C13.0102 18.8889 15 16.899 15 14.4444C15 11.9898 13.0102 10 10.5556 10C8.10096 10 6.11111 11.9898 6.11111 14.4444C6.11111 15.6717 6.60857 16.7829 7.41286 17.5871Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 15.1877C2.36394 14.0914 2 12.8191 2 11.4623C2 7.34099 5.35786 4 9.5 4H14.5C18.6421 4 22 7.34099 22 11.4623C22 14.7114 19.913 17.4756 17 18.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],zm=[["path",{d:"M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Pm=[["path",{d:"M9.39584 4.5H8.35417C5.40789 4.5 3.93475 4.5 3.01946 5.37868C2.10417 6.25736 2.10417 7.67157 2.10417 10.5V14.5C2.10417 17.3284 2.10417 18.7426 3.01946 19.6213C3.93475 20.5 5.40789 20.5 8.35417 20.5H12.5608C15.5071 20.5 16.9802 20.5 17.8955 19.6213C18.4885 19.052 18.6973 18.2579 18.7708 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.1667 7V3.85355C16.1667 3.65829 16.3316 3.5 16.535 3.5C16.6326 3.5 16.7263 3.53725 16.7954 3.60355L21.5275 8.14645C21.7634 8.37282 21.8958 8.67986 21.8958 9C21.8958 9.32014 21.7634 9.62718 21.5275 9.85355L16.7954 14.3964C16.7263 14.4628 16.6326 14.5 16.535 14.5C16.3316 14.5 16.1667 14.3417 16.1667 14.1464V11H13.1157C8.875 11 7.3125 14.5 7.3125 14.5V12C7.3125 9.23858 9.64435 7 12.5208 7H16.1667Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Fm=[["path",{d:"M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 4L9.5 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Nm=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]],Hm=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 18H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 14H15M12 14H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Dm=[["path",{d:"M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.0002 16H5C4.44772 16 4 16.4477 4 17V18C4 18.5523 4.44772 19 5 19H6.0002C6.55249 19 7.0002 19.4477 7.0002 20V21C7.0002 21.5523 6.55249 22 6.0002 22H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.0002 16L12.0793 21.7627C12.0321 21.9044 11.8995 22 11.7501 22C11.6007 22 11.4681 21.9044 11.4209 21.7627L9.5 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M20 17C20 16.4477 19.5523 16 19 16H17.5C16.9477 16 16.5 16.4477 16.5 17V21C16.5 21.5523 16.9477 22 17.5 22H19C19.5523 22 20 21.5523 20 21V19.5H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],jm=[["path",{d:"M3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 9L21.5 9",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M2.5 13L21.5 13",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M2.5 17L21.5 17",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 21.5L12 9",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}]],Rm=[["circle",{cx:"1.5",cy:"1.5",r:"1.5",transform:"matrix(1 0 0 -1 16 8.00024)",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.77423 11.1439C1.77108 12.2643 1.7495 13.9546 2.67016 15.1437C4.49711 17.5033 6.49674 19.5029 8.85633 21.3298C10.0454 22.2505 11.7357 22.2289 12.8561 21.2258C15.8979 18.5022 18.6835 15.6559 21.3719 12.5279C21.6377 12.2187 21.8039 11.8397 21.8412 11.4336C22.0062 9.63798 22.3452 4.46467 20.9403 3.05974C19.5353 1.65481 14.362 1.99377 12.5664 2.15876C12.1603 2.19608 11.7813 2.36233 11.472 2.62811C8.34412 5.31646 5.49781 8.10211 2.77423 11.1439Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.00002 14.0002L10 17.0002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Wm=[["path",{d:"M15.1312 2.5C14.1462 2.17555 13.0936 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 10.9548 21.8396 9.94704 21.5422 9",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19.5 4.5L12 12M19.5 4.5V2M19.5 4.5H22",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],Vm=[["path",{d:"M5 6C5 4.58579 5 3.87868 5.43934 3.43934C5.87868 3 6.58579 3 8 3H12.5789C15.0206 3 17 5.01472 17 7.5C17 9.98528 15.0206 12 12.5789 12H5V6Z",stroke:"currentColor",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.4286 12H13.6667C16.0599 12 18 14.0147 18 16.5C18 18.9853 16.0599 21 13.6667 21H8C6.58579 21 5.87868 21 5.43934 20.5607C5 20.1213 5 19.4142 5 18V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Bm=[["path",{d:"M12 4.5H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9.5H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 14.5H22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 19.5H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M1.99805 9L3.06285 7.89844C3.96404 6.96615 4.41463 6.5 4.99805 6.5C5.58146 6.5 6.03206 6.96615 6.93324 7.89844L7.99805 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M8 14L6.9352 15.1016C6.03401 16.0339 5.58342 16.5 5 16.5C4.41658 16.5 3.96599 16.0339 3.0648 15.1016L2 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],Um=[["path",{d:"M12 4H19",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 20L16 4",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 20H12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],Zm=[["path",{d:"M6.99892 9.5C6.75828 7.50503 7.91475 7.09687 11.9989 7M11.9989 7C16.1223 7.10058 17.3402 7.59829 16.9989 9.5M11.9989 7V17M9.99892 17H13.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.89124 3.89124C2.5 5.28249 2.5 7.52166 2.5 12C2.5 16.4783 2.5 18.7175 3.89124 20.1088C5.28249 21.5 7.52166 21.5 12 21.5C16.4783 21.5 18.7175 21.5 20.1088 20.1088C21.5 18.7175 21.5 16.4783 21.5 12C21.5 7.52166 21.5 5.28249 20.1088 3.89124C18.7175 2.5 16.4783 2.5 12 2.5C7.52166 2.5 5.28249 2.5 3.89124 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],qm=[["path",{d:"M15 21.001H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 3.00001V21.0008M12 3.00001C13.3874 3.00001 15.1695 3.03055 16.5884 3.17649C17.1885 3.2382 17.4886 3.26906 17.7541 3.37791C18.3066 3.60429 18.7518 4.10063 18.9194 4.67681C19 4.95382 19 5.26992 19 5.90215M12 3.00001C10.6126 3.00001 8.83047 3.03055 7.41161 3.17649C6.8115 3.2382 6.51144 3.26906 6.24586 3.37791C5.69344 3.60429 5.24816 4.10063 5.08057 4.67681C5 4.95382 5 5.26992 5 5.90215",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Km=[["path",{d:"M5.5 3V11.5C5.5 15.0899 8.41015 18 12 18C15.5899 18 18.5 15.0899 18.5 11.5V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 21H21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Gm=[["path",{d:"M5.25 5L19.25 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22.25 12C22.25 6.47715 17.7728 2 12.25 2C6.72715 2 2.25 6.47715 2.25 12C2.25 17.5228 6.72715 22 12.25 22C17.7728 22 22.25 17.5228 22.25 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Xm=[["path",{d:"M10.3483 10H13.6517C15.6822 10 16.6974 10 16.9501 9.39139C17.2028 8.78277 16.4849 8.06648 15.0491 6.63391L13.3974 4.9859L13.3974 4.9859C12.7387 4.32863 12.4093 4 12 4C11.5907 4 11.2613 4.32864 10.6026 4.9859L8.95091 6.63391L8.95091 6.63391C7.51513 8.06649 6.79724 8.78277 7.0499 9.39139C7.30256 10 8.31781 10 10.3483 10Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.3483 14H13.6517C15.6822 14 16.6974 14 16.9501 14.6086C17.2028 15.2172 16.4849 15.9335 15.0491 17.3661L13.3974 19.0141C12.7387 19.6714 12.4093 20 12 20C11.5907 20 11.2613 19.6714 10.6026 19.0141L8.95091 17.3661C7.51513 15.9335 6.79724 15.2172 7.0499 14.6086C7.30256 14 8.31781 14 10.3483 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ym=[["path",{d:"M12.1434 10.691L12.3503 10.4841C14.329 8.50532 17.5372 8.50532 19.5159 10.4841C21.4947 12.4628 21.4947 15.671 19.5159 17.6497L16.6497 20.5159C14.671 22.4947 11.4628 22.4947 9.48405 20.5159C7.50532 18.5372 7.50532 15.329 9.48405 13.3503L9.9484 12.886",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.0516 11.114L20.5159 10.6497C22.4947 8.67095 22.4947 5.46279 20.5159 3.48405C18.5372 1.50532 15.329 1.50532 13.3503 3.48405L10.4841 6.35031C8.50532 8.32904 8.50532 11.5372 10.4841 13.5159C12.4628 15.4947 15.671 15.4947 17.6497 13.5159L17.8566 13.309",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.5 4L6 6M2 8L5 9M3 13.5L5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Jm=[["path",{d:"M19.439 15.439C20.3636 14.5212 21.0775 13.6091 21.544 12.955C21.848 12.5287 22 12.3155 22 12C22 11.6845 21.848 11.4713 21.544 11.045C20.1779 9.12944 16.6892 5 12 5C11.0922 5 10.2294 5.15476 9.41827 5.41827M6.74742 6.74742C4.73118 8.1072 3.24215 9.94266 2.45604 11.045C2.15201 11.4713 2 11.6845 2 12C2 12.3155 2.15201 12.5287 2.45604 12.955C3.8221 14.8706 7.31078 19 12 19C13.9908 19 15.7651 18.2557 17.2526 17.2526",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.85786 10C9.32783 10.53 9 11.2623 9 12.0711C9 13.6887 10.3113 15 11.9289 15C12.7377 15 13.47 14.6722 14 14.1421",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Qm=[["path",{opacity:"0.4",d:"M14.9112 3.96484C14.0829 2.94612 13.1845 2.25 12 2.25C10.8156 2.25 9.91722 2.94612 9.08891 3.96484C8.27715 4.96327 7.40491 6.43387 6.30222 8.29301L6.25591 8.37109L4.3311 11.6162L4.28349 11.6965C3.13484 13.633 2.22824 15.1614 1.72368 16.3945C1.21006 17.6499 1.02508 18.8058 1.62407 19.8633C2.22367 20.9217 3.30973 21.3543 4.64848 21.5537C5.96696 21.75 7.747 21.75 10.002 21.75H10.0752H13.9249H13.9981C16.2531 21.75 18.0331 21.75 19.3516 21.5537C20.6904 21.3543 21.7764 20.9217 22.376 19.8633C22.975 18.8058 22.79 17.6499 22.2764 16.3945C21.7719 15.1614 20.8652 13.6329 19.7166 11.6964L19.669 11.6162L17.7442 8.37109L17.6979 8.29306C16.5952 6.43389 15.723 4.96328 14.9112 3.96484Z",fill:"currentColor",key:"0"}],["path",{d:"M10.9999 13V9C10.9999 8.44772 11.4477 8 11.9999 8C12.5522 8 12.9999 8.44772 12.9999 9V13C12.9999 13.5523 12.5522 14 11.9999 14C11.4477 14 10.9999 13.5523 10.9999 13Z",fill:"currentColor",key:"1"}],["path",{d:"M11.9999 15.75C12.5522 15.75 12.9999 16.1977 12.9999 16.75C12.9999 17.3023 12.5522 17.75 11.9999 17.75C11.4477 17.75 10.9999 17.3023 10.9999 16.75C10.9999 16.1977 11.4477 15.75 11.9999 15.75Z",fill:"currentColor",key:"2"}]],ev=[["path",{d:"M11.5 3.24986C11.8138 3.24986 12.0945 3.44526 12.2034 3.73959C12.7274 5.15581 13.844 6.27242 15.2603 6.79647C15.5546 6.90538 15.75 7.18603 15.75 7.49986C15.75 7.81369 15.5546 8.09434 15.2603 8.20325C13.844 8.7273 12.7274 9.84391 12.2034 11.2601C12.0945 11.5545 11.8138 11.7499 11.5 11.7499C11.1862 11.7499 10.9055 11.5545 10.7966 11.2601C10.2726 9.84391 9.15595 8.7273 7.73972 8.20325C7.4454 8.09434 7.25 7.81369 7.25 7.49986C7.25 7.18603 7.4454 6.90538 7.73972 6.79647C9.15595 6.27242 10.2726 5.15581 10.7966 3.73959C10.9055 3.44526 11.1862 3.24986 11.5 3.24986Z",fill:"currentColor",key:"0"}],["path",{opacity:"0.4",d:"M8.68577 4.3896C7.52403 3.94368 6.55342 3.59668 5.76005 3.41036C4.68975 3.15899 3.64195 3.12555 2.88415 3.88334C2.12635 4.64114 2.1598 5.68894 2.41117 6.75924C2.66447 7.83781 3.21473 9.24398 3.90682 11.0126L6.31565 17.1685C6.97679 18.8581 7.50159 20.1993 8.00084 21.1053C8.25417 21.565 8.53252 21.9735 8.86474 22.267C9.2166 22.5779 9.64744 22.7738 10.1534 22.7468C10.6611 22.7197 11.0691 22.4766 11.3855 22.1286C11.6845 21.7998 11.9181 21.3619 12.1218 20.8748C12.5233 19.9144 12.9049 18.5153 13.386 16.7513C13.5372 16.1967 13.6542 15.7709 13.7588 15.4956C13.8578 15.2353 13.9406 15.1121 14.0267 15.0259C14.1129 14.9397 14.2362 14.857 14.4964 14.758C14.7717 14.6534 15.1975 14.5364 15.7521 14.3851C17.5161 13.9041 18.9152 13.5225 19.8756 13.121C20.3627 12.9173 20.8006 12.6837 21.1294 12.3847C21.4774 12.0683 21.7205 11.6603 21.7476 11.1526C21.7746 10.6466 21.5787 10.2158 21.2678 9.86393C20.9743 9.53171 20.5658 9.25336 20.1061 9.00003C19.4004 8.61114 18.4306 8.20675 17.2378 7.73449C17.1495 8.57892 16.5897 9.31052 15.7808 9.60982C14.7752 9.98194 13.9823 10.7748 13.6102 11.7805C13.2834 12.6635 12.4415 13.2496 11.5 13.2496C10.5585 13.2496 9.71657 12.6635 9.38983 11.7805C9.01771 10.7748 8.22482 9.98194 7.21917 9.60982C6.33619 9.28308 5.75 8.44114 5.75 7.49965C5.75 6.55816 6.33619 5.71621 7.21917 5.38948C7.78894 5.17865 8.29042 4.83274 8.68577 4.3896Z",fill:"currentColor",key:"1"}],["path",{d:"M15.75 1.24986C16.0638 1.24986 16.3445 1.44526 16.4534 1.73959C16.5917 2.11341 16.8865 2.40815 17.2603 2.54647C17.5546 2.65538 17.75 2.93603 17.75 3.24986C17.75 3.56369 17.5546 3.84434 17.2603 3.95325C16.8865 4.09158 16.5917 4.38632 16.4534 4.76014C16.3445 5.05447 16.0638 5.24986 15.75 5.24986C15.4362 5.24986 15.1555 5.05447 15.0466 4.76014C14.9083 4.38632 14.6135 4.09158 14.2397 3.95325C13.9454 3.84434 13.75 3.56369 13.75 3.24986C13.75 2.93603 13.9454 2.65538 14.2397 2.54647C14.6135 2.40815 14.9083 2.11341 15.0466 1.73959C15.1555 1.44526 15.4362 1.24986 15.75 1.24986Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],tv=[["path",{opacity:"0.4",d:"M19.5825 15.6564C19.5058 16.9096 19.4449 17.9041 19.3202 18.6984C19.1922 19.5131 18.9874 20.1915 18.5777 20.7849C18.2029 21.3278 17.7204 21.786 17.1608 22.1303C16.5491 22.5067 15.8661 22.6713 15.0531 22.75L8.92739 22.7499C8.1135 22.671 7.42972 22.5061 6.8176 22.129C6.25763 21.7841 5.77494 21.3251 5.40028 20.7813C4.99073 20.1869 4.78656 19.5075 4.65957 18.6917C4.53574 17.8962 4.47623 16.9003 4.40122 15.6453L3.75 4.75H20.25L19.5825 15.6564Z",fill:"currentColor",key:"0"}],["path",{d:"M9.5 17.9648C9.08579 17.9648 8.75 17.6291 8.75 17.2148L8.75 11.2148C8.75 10.8006 9.08579 10.4648 9.5 10.4648C9.91421 10.4648 10.25 10.8006 10.25 11.2148L10.25 17.2148C10.25 17.6291 9.91421 17.9648 9.5 17.9648Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M14.5 10.4648C14.9142 10.4648 15.25 10.8006 15.25 11.2148L15.25 17.2148C15.25 17.6291 14.9142 17.9648 14.5 17.9648C14.0858 17.9648 13.75 17.6291 13.75 17.2148L13.75 11.2148C13.75 10.8006 14.0858 10.4648 14.5 10.4648Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M13.3473 1.28277C13.9124 1.33331 14.4435 1.50576 14.8996 1.84591C15.2369 2.09748 15.4712 2.40542 15.6714 2.73893C15.8569 3.04798 16.0437 3.4333 16.2555 3.8704L16.6823 4.7507H21C21.5523 4.7507 22 5.19842 22 5.7507C22 6.30299 21.5523 6.7507 21 6.7507C14.9998 6.7507 9.00019 6.7507 3 6.7507C2.44772 6.7507 2 6.30299 2 5.7507C2 5.19842 2.44772 4.7507 3 4.7507H7.40976L7.76556 3.97016C7.97212 3.51696 8.15403 3.11782 8.33676 2.79754C8.53387 2.45207 8.76721 2.13237 9.10861 1.87046C9.57032 1.51626 10.1121 1.33669 10.6899 1.28409C11.1249 1.24449 11.5634 1.24994 12 1.25064C12.5108 1.25146 12.97 1.24902 13.3473 1.28277ZM9.60776 4.7507H14.4597C14.233 4.28331 14.088 3.98707 13.9566 3.7682C13.7643 3.44787 13.5339 3.30745 13.1691 3.27482C12.9098 3.25163 12.5719 3.2507 12.0345 3.2507C11.4837 3.2507 11.137 3.25166 10.8712 3.27585C10.4971 3.30991 10.2639 3.45568 10.0739 3.78866C9.94941 4.00687 9.81387 4.29897 9.60776 4.7507Z",fill:"currentColor",fillRule:"evenodd",key:"3"}]],rv=[["path",{opacity:"0.4",d:"M17.9799 1.33814C18.6382 1.05395 19.3846 1.05395 20.043 1.33814C20.3076 1.45237 20.5299 1.61728 20.745 1.80587C20.9512 1.9866 21.1861 2.22154 21.4653 2.50074L21.4993 2.53471C21.7785 2.81389 22.0134 3.04883 22.1941 3.25496C22.3827 3.47007 22.5476 3.6924 22.6619 3.95701C22.946 4.61536 22.946 5.36178 22.6619 6.02013C22.5476 6.28474 22.3827 6.50707 22.1941 6.72218C22.0134 6.9283 21.7785 7.16322 21.4993 7.44237L21.4993 7.44243L16.3602 12.5815L16.3602 12.5815C15.2196 13.7225 14.5141 14.4282 13.6205 14.851C12.7269 15.2737 11.5924 15.3855 9.98688 15.5436L9.19864 15.6214C8.97512 15.6434 8.75349 15.5641 8.59467 15.4053C8.43585 15.2465 8.35657 15.0249 8.37862 14.8014L8.4564 14.0131C8.61454 12.4076 8.7263 11.2731 9.14904 10.3795C9.57179 9.48586 10.2775 8.78038 11.4185 7.63978L16.5575 2.50077C16.8367 2.22156 17.0717 1.9866 17.2778 1.80587C17.4929 1.61728 17.7153 1.45237 17.9799 1.33814Z",fill:"currentColor",key:"0"}],["path",{d:"M1.125 16.625C1.125 15.1062 2.35622 13.875 3.875 13.875H6.125C6.67728 13.875 7.125 14.3227 7.125 14.875C7.125 15.4273 6.67728 15.875 6.125 15.875H3.875C3.46079 15.875 3.125 16.2108 3.125 16.625C3.125 17.0392 3.46079 17.375 3.875 17.375H13.375C14.8938 17.375 16.125 18.6062 16.125 20.125C16.125 21.6438 14.8938 22.875 13.375 22.875H11.125C10.5727 22.875 10.125 22.4273 10.125 21.875C10.125 21.3227 10.5727 20.875 11.125 20.875H13.375C13.7892 20.875 14.125 20.5392 14.125 20.125C14.125 19.7108 13.7892 19.375 13.375 19.375H3.875C2.35622 19.375 1.125 18.1438 1.125 16.625Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],ov=[["path",{opacity:"0.4",d:"M11.5872 1.25004C12.1571 1.24928 12.6616 1.2486 13.1371 1.41727C13.2351 1.45203 13.3311 1.49202 13.4249 1.53709C13.8797 1.75576 14.236 2.11483 14.6384 2.52047L19.4213 7.32813C19.8886 7.79648 20.3034 8.21214 20.5275 8.7559C20.7515 9.29965 20.7506 9.8884 20.7496 10.5518L20.7495 14.026C20.7495 15.808 20.7495 17.2444 20.5984 18.3741C20.4416 19.5469 20.106 20.5345 19.3257 21.3188C18.5455 22.1031 17.5631 22.4404 16.3963 22.5981C15.2724 22.75 13.8435 22.75 12.0707 22.7499C10.2979 22.75 8.72681 22.75 7.60297 22.5981C6.43619 22.4404 5.45377 22.1031 4.67352 21.3188C3.89327 20.5345 3.55767 19.5469 3.4008 18.3741C3.24971 17.2444 3.24973 15.8081 3.24976 14.0261V14.0261V9.45256V9.45254C3.24974 7.91887 3.24972 6.68234 3.364 5.6985C3.48224 4.68054 3.73393 3.80833 4.32657 3.06948C4.5441 2.79827 4.78987 2.55122 5.05968 2.33255C5.79471 1.73684 6.66241 1.48383 7.6751 1.36498C8.65386 1.25011 10.0615 1.25002 11.5872 1.25004Z",fill:"currentColor",key:"0"}],["path",{d:"M13.1368 1.41722C13.2348 1.45198 13.3309 1.49198 13.4246 1.53704C13.8794 1.75571 14.2357 2.11478 14.6382 2.52043L19.421 7.32808L19.421 7.32809C19.8884 7.79643 20.3032 8.2121 20.5272 8.75585C20.626 8.99557 20.6811 9.24405 20.7117 9.5038H18.7309C17.3633 9.50382 16.7147 9.50303 15.8478 9.38647C14.9477 9.26546 14.1898 9.00656 13.5879 8.40465C12.9859 7.80273 12.7271 7.04486 12.606 6.14475C12.4897 5.27956 12.4897 4.63185 12.4897 3.27002V3.26999V1.27856C12.7131 1.30164 12.9278 1.34306 13.1368 1.41722Z",fill:"currentColor",key:"1"}],["path",{d:"M16.7498 16.9999C16.7498 16.5857 16.414 16.2499 15.9998 16.2499H7.99976C7.58554 16.2499 7.24976 16.5857 7.24976 16.9999C7.24976 17.4142 7.58554 17.7499 7.99976 17.7499H15.9998C16.414 17.7499 16.7498 17.4142 16.7498 16.9999Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M12.7498 12.9999C12.7498 12.5857 12.414 12.2499 11.9998 12.2499H7.99976C7.58554 12.2499 7.24976 12.5857 7.24976 12.9999C7.24976 13.4142 7.58554 13.7499 7.99976 13.7499H11.9998C12.414 13.7499 12.7498 13.4142 12.7498 12.9999Z",fill:"currentColor",fillRule:"evenodd",key:"3"}]],iv=[["path",{opacity:"0.4",d:"M11.5872 1.2501C12.1571 1.24934 12.6616 1.24866 13.1371 1.41733C13.2351 1.45209 13.3311 1.49208 13.4249 1.53715C13.8797 1.75582 14.236 2.11489 14.6384 2.52054L19.4213 7.32819C19.8886 7.79654 20.3034 8.2122 20.5275 8.75596C20.7515 9.29971 20.7506 9.88846 20.7496 10.5518L20.7495 14.0261C20.7495 15.8081 20.7495 17.2445 20.5984 18.3741C20.4416 19.547 20.106 20.5345 19.3257 21.3188C18.5455 22.1031 17.5631 22.4405 16.3963 22.5982C15.2724 22.75 13.8435 22.75 12.0707 22.75C10.2979 22.75 8.72681 22.75 7.60297 22.5982C6.43619 22.4405 5.45377 22.1031 4.67352 21.3188C3.89327 20.5345 3.55767 19.547 3.4008 18.3741C3.24971 17.2445 3.24973 15.8081 3.24976 14.0262V14.0261V9.45263V9.4526C3.24974 7.91893 3.24972 6.6824 3.364 5.69856C3.48224 4.6806 3.73393 3.80839 4.32657 3.06954C4.5441 2.79833 4.78987 2.55128 5.05968 2.33261C5.79471 1.7369 6.66241 1.48389 7.6751 1.36504C8.65386 1.25017 10.0615 1.25008 11.5872 1.2501Z",fill:"currentColor",key:"0"}],["path",{d:"M13.1371 1.416C13.2351 1.45076 13.3311 1.49075 13.4249 1.53582C13.8797 1.75449 14.236 2.11356 14.6384 2.51921L19.4213 7.32686L19.4213 7.32686C19.8886 7.79521 20.3034 8.21088 20.5275 8.75463C20.6263 8.99435 20.6813 9.24282 20.7119 9.50258H18.7311C17.3635 9.5026 16.715 9.50181 15.848 9.38525C14.9479 9.26424 14.19 9.00534 13.5881 8.40343C12.9862 7.80151 12.7273 7.04364 12.6063 6.14353C12.49 5.27834 12.49 4.63063 12.49 3.2688V3.26877V1.27734C12.7134 1.30042 12.928 1.34184 13.1371 1.416Z",fill:"currentColor",key:"1"}]],nv=[["path",{opacity:"0.4",d:"M12.3944 1.31153C11.1485 1.22949 9.84916 1.22965 8.60582 1.31153C4.67197 1.5706 1.54328 4.7181 1.28592 8.66343C1.23819 9.39506 1.23819 10.1517 1.28592 10.8833C1.38203 12.3567 2.02897 13.6795 2.74059 14.745C2.91784 15.0919 2.83588 15.6455 2.44335 16.3825L2.42305 16.4206C2.2918 16.6668 2.15758 16.9186 2.07928 17.1357C1.99563 17.3677 1.89859 17.7642 2.13236 18.1591C2.34508 18.5184 2.6833 18.6458 2.94182 18.6953C3.15331 18.7359 3.40994 18.7419 3.63953 18.7473L3.68155 18.7483C4.91281 18.778 5.7864 18.425 6.47893 17.919C6.58521 17.8414 6.6636 17.7843 6.72462 17.7414C6.81711 17.7765 6.93924 17.8262 7.10918 17.8956C7.58104 18.0881 8.11517 18.2029 8.60582 18.2352C9.84916 18.3171 11.1485 18.3172 12.3944 18.2352C16.3283 17.9761 19.457 14.8286 19.7143 10.8833C19.7621 10.1517 19.7621 9.39506 19.7143 8.66343C19.457 4.7181 16.3283 1.5706 12.3944 1.31153Z",fill:"currentColor",key:"0"}],["path",{d:"M7.50012 12.7501C7.08591 12.7501 6.75012 12.4143 6.75012 12.0001C6.75012 11.5858 7.08591 11.2501 7.50012 11.2501H13.5001C13.9143 11.2501 14.2501 11.5858 14.2501 12.0001C14.2501 12.4143 13.9143 12.7501 13.5001 12.7501H7.50012ZM7.50012 8.75006C7.08591 8.75006 6.75012 8.41427 6.75012 8.00006C6.75012 7.58585 7.08591 7.25006 7.50012 7.25006H10.5001C10.9143 7.25006 11.2501 7.58585 11.2501 8.00006C11.2501 8.41427 10.9143 8.75006 10.5001 8.75006H7.50012Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M21.2109 10.9818C20.9049 15.6727 17.1833 19.4239 12.4927 19.7328C11.1811 19.8192 9.81587 19.819 8.50696 19.7328C7.96757 19.6973 7.69787 19.6796 7.60466 19.7605C7.53015 19.8252 7.4934 19.9169 7.50265 20.0152C7.51423 20.1381 7.69212 20.2867 8.04789 20.5841C9.19432 21.5422 10.6202 22.1636 12.2143 22.2682C13.3886 22.3452 14.6134 22.3451 15.7854 22.2682C16.2512 22.2376 16.7584 22.1291 17.207 21.9468L17.3042 21.9073C17.3931 21.8713 17.4375 21.8533 17.486 21.8502C17.522 21.8479 17.5617 21.8527 17.5961 21.8637C17.6424 21.8784 17.6815 21.9068 17.7596 21.9637C18.4188 22.4434 19.25 22.7774 20.4183 22.7493L20.4588 22.7483C20.6738 22.7433 20.9187 22.7376 21.1213 22.6989C21.3702 22.6514 21.703 22.5278 21.9127 22.175C22.1441 21.7857 22.0468 21.3957 21.9665 21.1738C21.8916 20.9669 21.7637 20.7279 21.6409 20.4984L21.621 20.4614C21.2532 19.7736 21.1873 19.2761 21.3404 18.9741C22.0118 17.9723 22.6248 16.7246 22.716 15.3322C22.7611 14.6442 22.7611 13.9327 22.716 13.2446C22.6581 12.3598 22.4466 11.5178 22.1079 10.7448C21.8765 10.2166 21.7608 9.95252 21.5771 9.94189C21.5331 9.93935 21.4819 9.94833 21.4414 9.96574C21.2724 10.0383 21.2519 10.3528 21.2109 10.9818Z",fill:"currentColor",key:"2"}]],sv=[["path",{opacity:"0.4",d:"M2 11.0003C2 6.0297 6.02944 2.00026 11 2.00026C15.9706 2.00026 20 6.0297 20 11.0003C20 15.9708 15.9706 20.0003 11 20.0003C6.02944 20.0003 2 15.9708 2 11.0003ZM11 4.00026C7.13401 4.00026 4 7.13427 4 11.0003C4 14.8663 7.13401 18.0003 11 18.0003C14.866 18.0003 18 14.8663 18 11.0003C18 7.13427 14.866 4.00026 11 4.00026Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M18.0319 16.6174C17.6143 17.1395 17.1397 17.614 16.6177 18.0317L20.2929 21.7069C20.6834 22.0974 21.3166 22.0974 21.7071 21.7069C22.0976 21.3163 22.0976 20.6832 21.7071 20.2926L18.0319 16.6174Z",fill:"currentColor",key:"1"}]],av=fo('<svg xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="white" stroke-opacity="0.1" stroke-linecap="round"></circle><circle fill="none" stroke="currentColor" stroke-linecap="round"></circle></svg>');function lv(e,t){ue(t,!0);let r=Ui(t,"progress",3,0),o=Ui(t,"radius",3,12),i=Ui(t,"stroke",3,4),n=Ui(t,"colorful",3,!0),s=new Fs(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*jr(a)),c=Qe(()=>o()+i()),d=Qe(()=>2*(o()+i())),u=Qe(()=>n()?s.current<20?"text-rose-500":s.current<40?"text-orange-500":s.current<60?"text-amber-400":s.current<80?"text-lime-400":"text-green-400":"text-green-400");Kt(()=>{s.set(r())});var h=av(),p=Ot(h),g=zt(p);q(h),er(()=>{Li(h,"width",jr(d)),Li(h,"height",jr(d)),Li(h,"viewBox",`0 0 ${jr(d)} ${jr(d)}`),ci(h,0,ni(["-rotate-90 shrink-0 transition-colors duration-200",jr(u),t.class])),Li(p,"cx",jr(c)),Li(p,"cy",jr(c)),Li(p,"r",o()),Li(p,"stroke-width",i()),ci(g,0,ni(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Li(g,"cx",jr(c)),Li(g,"cy",jr(c)),Li(g,"r",o()),Li(g,"stroke-width",i()),Li(g,"stroke-dasharray",`${jr(l)} ${jr(a)}`)}),bo(e,h),he()}var cv=po('<p class="text-base/none text-white"> </p>'),dv=po('<div><div class="flex flex-col items-start gap-2 text-neutral-400"><p class="text-xs/none"> </p> <div class="flex gap-3"><!></div></div> <!></div>');function uv(e,t){ue(t,!0);let r=new Fs(0,{stiffness:.04,damping:.4}),o=Ui(t,"radius",3,12),i=Ui(t,"title",3,"Progress");Kt(()=>{r.set(t.progress)});var n=dv(),s=Ot(n),a=Ot(s),l=Ot(a,!0);q(a);var c=zt(a,2),d=Ot(c),u=e=>{var r=vo();Ro(At(r),()=>t.children),bo(e,r)},h=e=>{var o=cv(),i=Ot(o,!0);q(o),er(e=>ko(i,e),[()=>t.content?t.content:void 0!==t.progress?`${r.current.toFixed(0)}%`:""]),bo(e,o)};_o(d,e=>{t.children?e(u):e(h,!1)}),q(c),q(s);var p=zt(s,2),g=e=>{lv(e,{get progress(){return t.progress},get radius(){return o()}})};_o(p,e=>{void 0!==t.progress&&e(g)}),q(n),er(()=>{ci(n,1,`flex gap-6 flex-1 h-full items-center justify-between ${t.class??""}`),ko(l,i())}),bo(e,n),he()}var hv=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),pv=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!></div>'),gv=po('<div class="pointer-events-none bg-linear-to-b from-neutral-800/90 to-neutral-900/90 android:from-neutral-800 android:to-neutral-900 text-neutral-400 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-xl superellipse flex flex-col items-start"><div class="flex flex-col w-full gap-2 p-8 pb-6 border-b-[0.5px] border-white/10"><p class="text-[13px]/none">Progress</p> <p class="text-white text-[15px]/none"> </p></div> <div class="flex flex-col gap-2 p-8"><p class="text-[13px]/none">Threads</p> <p class="text-[15px]/none"><span class="text-white"> </span> </p></div></div>'),fv=po('<div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div>'),mv=po('<div class="h-120 w-full flex-center"><!></div>'),vv=po('<a target="_blank" class="text-sky-400 hover:underline">Create a folder</a>.',1),bv=po("<p>There are no folders in this project.<br/> <!></p>"),wv=po('<p class="p-4 text-center text-sm text-gray-500">No folders</p> <!>',1),yv=po('<p class="p-4 text-center text-sm text-rose-500">Error loading folders</p>'),xv=po("<!> <!>",1),kv=po("<!> <!>",1),Cv=po('<p class="text-sm/none app:text-sm/none tabular-nums whitespace-nowrap shrink-0 app:pb-px slashed-zero items-baseline"><span class="text-white font-semibold"> </span>/<span class="text-[12px]/none touch:text-base"> </span></p>'),Lv=po('<div class="flex absolute"><!> <!></div>'),Sv=po('<div><!> <div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div></div>');function Mv(e,t){let r=Ui(t,"progress",3,0),o=Ui(t,"done",3,0),i=Ui(t,"total",3,0),n=Ui(t,"radius",3,8),s=Ui(t,"stroke",3,3),a=Ui(t,"bg",3,!1),l=Ui(t,"showCount",3,!0),c=Ui(t,"tabindex",3,0);{let t=Qe(()=>`${Math.round(r())}% Done`);Pp(e,{get text(){return jr(t)},delay:100,side:"left",offset:4,get tabindex(){return c()},children:(e,t)=>{var c=Sv(),d=Ot(c),u=e=>{var t=Cv(),r=Ot(t),n=Ot(r,!0);q(r);var s=zt(r,2),a=Ot(s,!0);q(s),q(t),er(()=>{ko(n,o()),ko(a,i())}),Qo(3,t,()=>oa,()=>({axis:"x",duration:200})),bo(e,t)};_o(d,e=>{l()&&e(u)});var h=zt(d,2),p=Ot(h),g=e=>{Qp(e,{})},f=e=>{var t=Lv(),o=Ot(t);lv(o,{get progress(){return r()},get radius(){return n()},get stroke(){return s()},class:"touch:hidden"}),lv(zt(o,2),{get progress(){return r()},radius:10,stroke:3,class:"mouse:hidden"}),q(t),Qo(3,t,()=>ia,()=>({duration:200})),bo(e,t)};_o(p,e=>{100===r()?e(g):e(f,!1)}),q(h),q(c),er(()=>ci(c,1,ni(["flex items-center rounded-full text-neutral-400 gap-1.5 app:gap-4 touch:app:gap-6",a()?"bg-white/5 pl-1 pr-2.5 app:pl-4 app:pr-10 h-8 app:h-32":""]))),bo(e,c)},$$slots:{default:!0}})}}po("<!> <!>",1);var $v=po("<p><!></p>");function Tv(e,t){let r=Ui(t,"margin",3,"mb-6");var o=$v();Ro(Ot(o),()=>t.children),q(o),er(()=>ci(o,1,`text-neutral-400 text-sm/none ${r()} px-10`)),bo(e,o)}var _v=po("<!> <!> <!>",1),Ev=po("<!> <!>",1),Iv=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Ov=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Av=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!></div>'),zv=po('<a draggable="false" class="focus-visible group/listitem-link rounded-[17px] superellipse"><!></a>'),Pv=po("<!> <!>",1),Fv=po('<div class="flex-center h-full"><!></div>'),Nv=po("<!> <!> <!> <!>",1),Hv=po("<!> <!>",1);function Dv(e,{from:t,to:r},o={}){var{delay:i=0,duration:n=e=>120*Math.sqrt(e),easing:s=js}=o,a=getComputedStyle(e),l="none"===a.transform?"":a.transform,[c,d]=a.transformOrigin.split(" ").map(parseFloat);c/=e.clientWidth,d/=e.clientHeight;var u=function(e){if("currentCSSZoom"in e)return e.currentCSSZoom;for(var t=e,r=1;null!==t;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}(e),h=e.clientWidth/r.width/u,p=e.clientHeight/r.height/u,g=t.left+t.width*c,f=t.top+t.height*d,m=r.left+r.width*c,v=r.top+r.height*d,b=(g-m)*h,w=(f-v)*p,y=t.width/r.width,x=t.height/r.height;return{delay:i,duration:"function"==typeof n?n(Math.sqrt(b*b+w*w)):n,easing:s,css:(e,t)=>`transform: ${l} translate(${t*b}px, ${t*w}px) scale(${e+t*y}, ${e+t*x});`}}var jv=po('<div class="flex gap-6 select-none"><img draggable="false" class="size-28 touch:size-36 rounded-[10px] bg-white/10 outline-[0.5px] select-none outline-white/10"/> <div class="flex flex-col justify-center gap-1 bg-white/0"><p class="text-[14px]/none touch:text-[18px]/none font-medium"><span><!></span> <span class="hidden has-[mark]:inline"><!></span></p> <p class="text-xs/none touch:text-sm/none text-neutral-500 font-normal"> </p></div></div>');function Rv(e,t){ue(t,!0);let r=Ui(t,"created",19,()=>Date.now()),o=Ui(t,"author",3,null);const{comments:i,auth:n}=Zx(),s=Qe(()=>ms(new Date(r()))),a=Qe(()=>i.highlightRenderedHTML(o()?.firstName||"")),l=Qe(()=>i.highlightRenderedHTML(o()?.lastName||""));let c=Qe(()=>ps(o(),"avatar")),d=Qe(()=>jr(c)+"?thumb=64x64");var u=jv(),h=Ot(u),p=zt(h,2),g=Ot(p),f=Ot(g);jo(Ot(f),()=>jr(a)),q(f);var m=zt(f,2);jo(Ot(m),()=>jr(l)),q(m),q(g);var v=zt(g,2),b=Ot(v,!0);q(v),q(p),q(u),er(()=>{Li(h,"src",jr(d)),Li(h,"alt",o()?.firstName+" "+o()?.lastName),ko(b,jr(s))}),bo(e,u),he()}var Wv=po("<div><!></div>"),Vv=po('<div class="w-34 mouse:w-24 shrink-0"></div>'),Bv=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-neutral-500">Selection not allowed</p>'),Uv=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-orange-400/50">Hidden</p>'),Zv=po("<p> </p>"),qv=po('<div><!> <span class="text-sm/none mouse:text-xs/none font-medium"> </span></div>'),Kv=po('<div class="flex flex-col gap-4"></div>'),Gv=po('<div class="flex items-start select-none"><!> <div class="flex-1 min-w-0"><button><div><!></div> <div class="flex flex-col gap-3 mouse:gap-2 min-w-0 flex-1"><p> </p> <!></div> <!></button> <!></div></div>');function Xv(e,t){ue(t,!0);let r=Ui(t,"depth",3,0),o=Ui(t,"missing",3,!1),i=Qe(()=>t.node.selected),n=Qe(()=>t.node.threadCount>0),s=Qe(()=>t.node.hasNestedThreads&&!jr(n)),a=ut(null);Kt(()=>{if(!t.node.selected||!jr(a))return;const e=jr(a),r=setTimeout(()=>{const t=e.closest("[data-fubi-tree-scroll]");t&&t.scrollTo({top:Math.max(0,e.offsetTop-48),behavior:"smooth"})},210);return()=>clearTimeout(r)});var l=Gv(),c=Ot(l),d=e=>{var r=vo(),o=At(r),n=e=>{var t=Wv();let r;Ag(Ot(t),{get icon(){return tf},strokeWidth:2,className:"size-20 mouse:size-16"}),q(t),er(()=>r=ci(t,1,ni(["w-34 h-46 mouse:w-24 mouse:h-32 flex-center shrink-0 transition-transform duration-200 ease-out",jr(i)?"text-sky-500":"text-white/40"]),null,r,{"rotate-90":jr(i)})),bo(e,t)},s=e=>{bo(e,Vv())};_o(o,e=>{t.node.hasChildren?e(n):e(s,!1)}),bo(e,r)};_o(c,e=>{r()>0&&e(d)});var u=zt(c,2),h=Ot(u);Li(h,"tabindex",-1);var p=Ot(h),g=Ot(p);{let e=Qe(()=>t.node.ignored?Gm:t.node.hidden?Jm:t.node.icon),r=Qe(()=>o()?void 0:1.5),i=Qe(()=>"size-20 mouse:size-16 "+(o()?"text-orange-400":t.node.ignored?"text-neutral-500":t.node.hidden?"text-orange-400/70":t.node.selected?"text-sky-500":jr(n)||jr(s)?"text-indigo-400":"text-neutral-400"));Ag(g,{get icon(){return jr(e)},get strokeWidth(){return jr(r)},get className(){return jr(i)}})}q(p);var f=zt(p,2),m=Ot(f),v=Ot(m,!0);q(m);var b=zt(m,2),w=e=>{bo(e,Bv())},y=e=>{bo(e,Uv())},x=e=>{var r=Zv(),i=Ot(r,!0);q(r),er(()=>{ci(r,1,ni(["text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal",o()?"text-orange-400/50":"text-neutral-400"])),ko(i,t.node.subtitle)}),bo(e,r)};_o(b,e=>{t.node.ignored?e(w):t.node.hidden?e(y,1):t.node.subtitle&&e(x,2)}),q(f);var k=zt(f,2),C=e=>{var r=qv(),o=Ot(r);Ag(o,{get icon(){return bg},className:"size-18 mouse:size-14"});var i=zt(o,2),n=Ot(i,!0);q(i),q(r),er(()=>{ci(r,1,ni(["h-28 mouse:h-22 px-8 mouse:px-6 rounded-full flex items-center gap-4 mouse:gap-3 shrink-0",t.node.selected?"bg-sky-500/20 text-sky-400":"bg-indigo-500/20 text-indigo-400"])),ko(n,t.node.threadCount)}),bo(e,r)};_o(k,e=>{!o()&&jr(n)&&e(C)}),q(h),Di(h,e=>pt(a,e),()=>jr(a));var L=zt(h,2),S=e=>{var o=Kv();Po(o,21,()=>t.node.children,e=>e.el,(e,o)=>{{let i=Qe(()=>r()+1);Xv(e,{get node(){return jr(o)},get depth(){return jr(i)},get onselect(){return t.onselect}})}}),q(o),Qo(3,o,()=>oa,()=>({duration:200,easing:js})),bo(e,o)};_o(L,e=>{!o()&&jr(i)&&t.node.children.length>0&&e(S)}),q(u),q(l),er(()=>{ci(h,1,ni(["w-full min-h-40 mouse:min-h-28 outline-[0.5px] min-w-150 mouse:min-w-120 flex items-center gap-8 mouse:gap-6 pr-8 mouse:pr-6 p-6 mouse:p-4 rounded-[12px] mouse:rounded-[8px] superellipse text-left transition-colors",o()?"bg-orange-500/10 outline-orange-500/20 pointer-events-none":t.node.ignored?"opacity-40 pointer-events-none outline-white/0":t.node.hidden?"opacity-50 outline-white/0":t.node.selected?"bg-sky-500/10 outline-sky-500/30":"mouse:hover:bg-white/5 active:bg-white/5 outline-white/0"])),h.disabled=o(),ci(p,1,ni(["size-34 mouse:size-26 rounded-[8px] mouse:rounded-[6px] superellipse flex-center shrink-0",o()?"bg-orange-500/10":t.node.selected?"bg-sky-500/10":jr(n)||jr(s)?"bg-indigo-500/10":"bg-white/5"])),ci(m,1,ni(["text-[16px]/[110%] mouse:text-[13px]/[110%] font-medium truncate",o()?"text-orange-400":t.node.selected?"text-sky-300":jr(n)||jr(s)?"text-indigo-300":"text-neutral-200"])),ko(v,t.node.name)}),so("click",h,()=>{o()||t.node.ignored||(us(),t.onselect(t.node))}),no("pointerenter",h,()=>{o()||t.node.ignored||!t.onhover||t.onhover(t.node)}),no("pointerleave",h,()=>{o()||t.node.ignored||!t.onleave||t.onleave()}),bo(e,l),he()}ao(["click"]);var Yv=po('<div class="absolute pointer-events-none -left-4 -top-4 w-8 h-16 border-l-[0.5px] border-b-[0.5px] border-neutral-500/30 rounded-bl-[3px]"></div>'),Jv=po('<span class="text-[12px]/none text-neutral-600 truncate flex-1 min-w-0">· not allowed</span>'),Qv=po('<span class="text-[12px]/none text-orange-400/50 truncate flex-1 min-w-0">· missing</span>'),eb=po('<span class="text-[12px]/none text-neutral-500 truncate flex-1 min-w-0">· hidden</span>'),tb=po('<span class="text-[12px]/none text-neutral-500 truncate flex-1 min-w-0"> </span>'),rb=po('<span class="flex-1 min-w-0"></span>'),ob=po('<span class="flex items-center gap-3 h-16 px-5 rounded-full bg-indigo-500/15 text-indigo-300 shrink-0"><!> <span class="text-[11px]/none font-medium"> </span></span>'),ib=po("<button><!> <!> <span> </span> <!> <!></button>");ao(["click"]);var nb={dialog:"dialog",accordion:"accordion",menu:"menu",tabs:"tab",popover:"popover",carousel:"carousel",section:"section"},sb={dialog:"It’s likely closed.",accordion:"It’s likely collapsed.",menu:"The menu is likely closed.",tabs:"It may be on an inactive tab.",popover:"The popover is likely closed.",carousel:"It may be on another slide.",section:"It may have moved or been removed."},ab=/^(open|opened|close|closed|expand|expanded|collapse|collapsed)$/i,lb=[{re:/\b(dialog|modal|lightbox|overlay)\b/i,kind:"dialog"},{re:/\b(accordion|collaps|disclosure|faq)\b/i,kind:"accordion"},{re:/\b(menu|dropdown|select|combobox)\b/i,kind:"menu"},{re:/\b(tab|tabs)\b/i,kind:"tabs"},{re:/\b(popover|tooltip|flyout)\b/i,kind:"popover"},{re:/\b(carousel|slider|slideshow|swiper)\b/i,kind:"carousel"}];function cb(e,t=60){const r=e?.trim().replace(/\s+/g," ");if(r)return r.length>t?`${r.slice(0,t).trimEnd()}…`:r}function db(e){if(e)return cb(e.getAttribute("aria-label")||e.textContent||"")}function ub(e){const t=e.getAttribute("aria-labelledby")?.split(/\s+/)[0];return t?e.ownerDocument.getElementById(t):null}function hb(e){return e.id?e.ownerDocument.querySelector(`[aria-controls="${CSS.escape(e.id)}"]`):null}function pb(e){return cb(e.getAttribute("aria-label"))||db(ub(e))||cb(e.getAttribute("data-framer-name"))}function gb(e){return db(e.querySelector('h1,h2,h3,h4,h5,h6,summary,[data-framer-name*="title" i],[data-framer-name*="head" i],[data-framer-name*="question" i],[data-framer-name*="label" i]'))}function fb(e){const t=e.tagName.toLowerCase(),r=e.getAttribute("role");if("dialog"===t||"dialog"===r||"alertdialog"===r||"true"===e.getAttribute("aria-modal"))return{kind:"dialog",label:pb(e)};if(r&&["menu","menubar","listbox","combobox"].includes(r))return{kind:"menu",label:pb(e)};if("tabpanel"===r)return{kind:"tabs",label:pb(e)??db(ub(e))};if("tooltip"===r||e.hasAttribute("popover")||e.hasAttribute("data-radix-popper-content-wrapper"))return{kind:"popover",label:pb(e)};if("details"===t)return{kind:"accordion",label:pb(e)??db(e.querySelector("summary"))};if(function(e){const t=e.getAttribute("data-state");return"open"===t||"closed"===t||!("region"!==e.getAttribute("role")||!(ub(e)??hb(e))?.hasAttribute("aria-expanded"))}(e))return{kind:"accordion",label:db(ub(e)??hb(e))??pb(e)};if("carousel"===e.getAttribute("aria-roledescription"))return{kind:"carousel",label:pb(e)};const o=e.getAttribute("data-framer-name");if(o){if(ab.test(o.trim()))return{kind:"accordion",label:gb(e)};const t=lb.find(e=>e.re.test(o));if(t)return{kind:t.kind,label:cb(o)}}return"section"!==t&&"aside"!==t&&"nav"!==t&&"region"!==r||!pb(e)?null:{kind:"section",label:pb(e)}}function mb(e){let t=e?.parentElement??null;for(;t&&"body"!==t.tagName.toLowerCase();){const e=fb(t);if(e)return e;t=t.parentElement}return null}function vb(e){if(!e)return null;const t=nb[e.kind];return e.label?`the “${e.label}” ${t}`:`${/^[aeiou]/i.test(t)?"an":"a"} ${t}`}var bb={div:{name:"Div",icon:Nm},span:{name:"Span",icon:qm},nav:{name:"Menu",icon:[["path",{d:"M4 5L20 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 12L20 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4 19L20 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]},img:{name:"Image",icon:sm},video:{name:"Video",icon:[["path",{d:"M17.7001 21.3351C16.5281 21.4998 14.9996 21.4998 12.9501 21.4998H11.0501C7.01955 21.4998 5.0043 21.4998 3.75218 20.2476C2.50006 18.9955 2.50006 16.9803 2.50006 12.9498V11.0498C2.50006 7.01925 2.50006 5.00399 3.75218 3.75187C5.0043 2.49976 7.01955 2.49976 11.0501 2.49976H12.9501C16.9806 2.49976 18.9958 2.49976 20.2479 3.75187C21.5001 5.00399 21.5001 7.01925 21.5001 11.0498V12.9498C21.5001 14.158 21.5001 15.1851 21.4663 16.0648C21.4393 16.7699 21.4258 17.1224 21.1588 17.2541C20.8918 17.3859 20.5932 17.1746 19.9958 16.752L18.6501 15.7998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.9453 12.3948C14.7686 13.0215 13.9333 13.4644 12.2629 14.3502C10.648 15.2064 9.8406 15.6346 9.18992 15.4625C8.9209 15.3913 8.6758 15.2562 8.47812 15.07C8 14.6198 8 13.7465 8 12C8 10.2535 8 9.38018 8.47812 8.92995C8.6758 8.74381 8.9209 8.60868 9.18992 8.53753C9.8406 8.36544 10.648 8.79357 12.2629 9.64983C13.9333 10.5356 14.7686 10.9785 14.9453 11.6052C15.0182 11.8639 15.0182 12.1361 14.9453 12.3948Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]},component:{name:"Component",icon:hm},modal:{name:"Modal",icon:pm},form:{name:"Form",icon:Cm},input:{name:"Input",icon:[["path",{d:"M15 5V19M15 5C15 3.89543 15.8954 3 17 3M15 5C15 3.89543 14.1046 3 13 3M15 19C15 20.1046 15.8954 21 17 21M15 19C15 20.1046 14.1046 21 13 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 15L6.49694 9.38649C6.55771 9.15858 6.76412 9 7 9C7.23588 9 7.44229 9.15858 7.50307 9.38649L9 15M6 13H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 6H8C5.17157 6 3.75736 6 2.87868 6.87868C2 7.75736 2 9.17157 2 12C2 14.8284 2 16.2426 2.87868 17.1213C3.75736 18 5.17157 18 8 18H12M18 6.01732C19.5534 6.06413 20.48 6.23738 21.1213 6.87868C22 7.75736 22 9.17157 22 12C22 14.8284 22 16.2426 21.1213 17.1213C20.48 17.7626 19.5534 17.9359 18 17.9827",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]},main:{name:"Main",icon:um},header:{name:"Header",icon:pm},article:{name:"Article",icon:Cm},section:{name:"Section",icon:um},aside:{name:"Aside",icon:[["path",{d:"M20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28248 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 21.5L9 2.5",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]},label:{name:"Label",icon:cm},table:{name:"Table",icon:[["path",{d:"M20 10C20 10 22.375 11.8222 21.375 14.6667C20.375 17.5111 21.375 19.4074 22 20M20 10H4M20 10V4M4 10C4 10 1.625 11.8222 2.625 14.6667C3.625 17.5111 2.625 19.4074 2 20M4 10V4M22 4H20.75H20M2 4H3.25H4M4 4H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 7H13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]},tr:{name:"Table Row",icon:jm},th:{name:"Table Header",icon:jm},td:{name:"Table Data",icon:jm},svg:{name:"Vector",icon:Dm},path:{name:"SVG Path",icon:Dm},button:{name:"Button",icon:[["path",{d:"M12.0033 19.4056L9.88486 13.3197L9.88485 13.3197C9.08816 11.031 8.68981 9.88664 9.28857 9.28834C9.88733 8.69005 11.0326 9.08809 13.3231 9.88417L19.401 11.9966C20.6716 12.4382 21.3069 12.659 21.4441 13.0867C21.4819 13.2045 21.4949 13.329 21.4824 13.4521C21.4369 13.8989 20.8612 14.2464 19.7097 14.9415C18.9714 15.3872 18.6023 15.61 18.5039 15.9462C18.476 16.0414 18.4641 16.1405 18.4686 16.2396C18.4845 16.5896 18.7902 16.8935 19.4018 17.5012L21.4116 19.4988L21.4117 19.4988C21.7125 19.7979 21.863 19.9474 21.932 20.1147C22.0223 20.3335 22.0227 20.5792 21.9329 20.7983C21.8644 20.9657 21.7143 21.1157 21.4142 21.4155L21.4142 21.4156C21.1148 21.7147 20.9652 21.8642 20.7979 21.9328C20.5791 22.0224 20.3337 22.0224 20.1149 21.9328C19.9476 21.8642 19.7979 21.7147 19.4986 21.4156L19.4986 21.4155L17.4812 19.3998L17.4812 19.3998C16.8797 18.7987 16.5789 18.4982 16.2338 18.4802C16.1293 18.4747 16.0247 18.4875 15.9246 18.5179C15.594 18.6185 15.3745 18.9825 14.9355 19.7106L14.9355 19.7106C14.2491 20.8492 13.9059 21.4185 13.4653 21.4686C13.3353 21.4833 13.2037 21.4696 13.0796 21.4284C12.6588 21.2887 12.4403 20.661 12.0033 19.4056Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.8576 7.08329C11.0714 7.43808 11.5323 7.55239 11.8871 7.33861C12.2419 7.12483 12.3562 6.66392 12.1424 6.30913L10.8576 7.08329ZM6.30914 12.1424C6.66392 12.3562 7.12483 12.2419 7.33861 11.8871C7.55239 11.5323 7.43808 11.0714 7.08329 10.8576L6.30914 12.1424ZM5.75 8.5C5.75 6.98122 6.98123 5.75 8.5 5.75V4.25C6.15281 4.25 4.25 6.15279 4.25 8.5H5.75ZM8.5 5.75C9.49944 5.75 10.3752 6.28272 10.8576 7.08329L12.1424 6.30913C11.3999 5.07687 10.0469 4.25 8.5 4.25V5.75ZM7.08329 10.8576C6.28272 10.3752 5.75 9.49945 5.75 8.5H4.25C4.25 10.0469 5.07688 11.3999 6.30914 12.1424L7.08329 10.8576Z",fill:"currentColor",key:"1"}],["path",{d:"M14.2515 8.13498C14.2778 8.54836 14.6342 8.86216 15.0476 8.83587C15.461 8.80958 15.7748 8.45316 15.7485 8.03979L14.2515 8.13498ZM8.04118 15.7485C8.45457 15.7747 8.81093 15.4608 8.83714 15.0475C8.86335 14.6341 8.54948 14.2777 8.1361 14.2515L8.04118 15.7485ZM2.75 8.50661C2.75 5.32733 5.32736 2.75 8.50664 2.75V1.25C4.49895 1.25 1.25 4.49889 1.25 8.50661H2.75ZM8.50664 2.75C11.561 2.75 14.0604 5.12926 14.2515 8.13498L15.7485 8.03979C15.5074 4.24925 12.3576 1.25 8.50664 1.25V2.75ZM8.1361 14.2515C5.12986 14.0609 2.75 11.5614 2.75 8.50661H1.25C1.25 12.358 4.25002 15.5081 8.04118 15.7485L8.1361 14.2515Z",fill:"currentColor",key:"2"}]]},a:{name:"Link",icon:fm},h1:{name:"Heading 1",icon:om},h2:{name:"Heading 2",icon:[["path",{d:"M3.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.5 19H16.5V18.6907C16.5 18.2521 16.5 18.0327 16.5865 17.8385C16.673 17.6443 16.836 17.4976 17.1621 17.2041L19.7671 14.8596C20.2336 14.4397 20.5 13.8416 20.5 13.214V13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13V13.4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.5 12L13.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},h3:{name:"Heading 3",icon:[["path",{d:"M3.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16.5 17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17C20.5 15.8954 19.6046 15 18.5 15C19.6046 15 20.5 14.1046 20.5 13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.5 12L13.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},h4:{name:"Heading 4",icon:[["path",{d:"M3.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16.5 11V15H20.5M20.5 15V19M20.5 15V11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.5 12L13.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},h5:{name:"Heading 5",icon:[["path",{d:"M3.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16.5 16.5V17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17V16.5C20.5 15.1193 19.3807 14 18 14H16.5V11H20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.5 12L13.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},h6:{name:"Heading 6",icon:[["path",{d:"M3.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13.5 5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16.5 17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17C20.5 15.8954 19.6046 15 18.5 15C17.3954 15 16.5 15.8954 16.5 17ZM16.5 17V13C16.5 11.8954 17.3954 11 18.5 11C19.6046 11 20.5 11.8954 20.5 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3.5 12L13.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},p:{name:"Paragraph",icon:qm},ul:{name:"List",icon:vm},ol:{name:"Numbered List",icon:vm},li:{name:"List Item",icon:vm},footer:{name:"Footer",icon:[["path",{d:"M20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28248 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28248 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.5 15L2.5 15",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]]},textarea:{name:"Textarea",icon:[["path",{d:"M16.4249 4.60509L17.4149 3.6151C18.2351 2.79497 19.5648 2.79497 20.3849 3.6151C21.205 4.43524 21.205 5.76493 20.3849 6.58507L19.3949 7.57506M16.4249 4.60509L9.76558 11.2644C9.25807 11.772 8.89804 12.4078 8.72397 13.1041L8 16L10.8959 15.276C11.5922 15.102 12.228 14.7419 12.7356 14.2344L19.3949 7.57506M16.4249 4.60509L19.3949 7.57506",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18.9999 13.5C18.9999 16.7875 18.9999 18.4312 18.092 19.5376C17.9258 19.7401 17.7401 19.9258 17.5375 20.092C16.4312 21 14.7874 21 11.4999 21H11C7.22876 21 5.34316 21 4.17159 19.8284C3.00003 18.6569 3 16.7712 3 13V12.5C3 9.21252 3 7.56879 3.90794 6.46244C4.07417 6.2599 4.2599 6.07417 4.46244 5.90794C5.56879 5 7.21252 5 10.5 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]]},select:{name:"Select",icon:Ff},option:{name:"Option",icon:[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]},optgroup:{name:"Option Group",icon:Mm},fieldset:{name:"Fieldset",icon:Df},legend:{name:"Legend",icon:_m},details:{name:"Details",icon:Ff},summary:{name:"Summary",icon:qm},dialog:{name:"Dialog",icon:pm},canvas:{name:"Canvas",icon:$m},map:{name:"Map",icon:[["path",{d:"M5 21C9.20998 16.2487 13.9412 9.9475 21 14.6734",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 4.50012C17.4915 3.99442 18.7998 2.00012 19.5 2.00012M22 4.50012C21.5085 3.99442 20.2002 2.00012 19.5 2.00012M19.5 2.00012V10.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.9999 13C20.998 17.147 20.9472 19.2703 19.6088 20.6088C18.2175 22 15.9783 22 11.5 22C7.02166 22 4.78249 22 3.39124 20.6088C2 19.2175 2 16.9783 2 12.5C2 8.02166 2 5.78249 3.39124 4.39124C4.78249 3 7.02166 3 11.5 3C11.6699 3 14 3.00008 14 3.00008",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]]},area:{name:"Area",icon:Df},iframe:{name:"iFrame",icon:Nm},object:{name:"Object",icon:Mm},embed:{name:"Embed",icon:Mm},param:{name:"Param",icon:[["path",{d:"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]},audio:{name:"Audio",icon:[["path",{d:"M20 22H6C4.89543 22 4 21.1046 4 20M4 20C4 18.8954 4.89543 18 6 18H20V6C20 4.11438 20 3.17157 19.4142 2.58579C18.8284 2 17.8856 2 16 2H10C7.17157 2 5.75736 2 4.87868 2.87868C4 3.75736 4 5.17157 4 8V20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.5 18C19.5 18 18.5 18.7628 18.5 20C18.5 21.2372 19.5 22 19.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.576 9.235L11.189 7.11812C11.0655 7.04093 10.9228 7 10.7771 7C10.3479 7 10 7.34793 10 7.77712V12.2229C10 12.6521 10.3479 13 10.7771 13C10.9228 13 11.0655 12.9591 11.189 12.8819L14.576 10.765C14.8398 10.6001 15 10.311 15 10C15 9.68896 14.8398 9.39985 14.576 9.235Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]},track:{name:"Track",icon:qm},source:{name:"Source",icon:[["path",{d:"M2.5 20V8.87695C2.5 7.58945 2.5 6.9457 2.78533 6.47048C2.9541 6.18939 3.18939 5.9541 3.47048 5.78533C3.9457 5.5 4.59449 5.5 5.89206 5.5C6.52339 5.5 6.83906 5.5 7.12612 5.58819C7.31759 5.64702 7.49914 5.73428 7.66469 5.84705C7.91289 6.01611 8.10859 6.26074 8.5 6.75C8.89141 7.23926 9.08711 7.48389 9.33531 7.65295C9.50086 7.76572 9.68241 7.85298 9.87388 7.91181C10.1609 8 10.4742 8 11.1008 8H15C16.4045 8 17.1067 8 17.6111 8.33706C17.8295 8.48298 18.017 8.67048 18.1629 8.88886C18.5 9.39331 18.5 10.0955 18.5 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4.42028 14.0144L3.63368 16.0144C2.65618 18.4998 2.16743 19.7425 2.7524 20.6213C3.33737 21.5 4.65337 21.5 7.28537 21.5H15.1903C16.4249 21.5 17.0422 21.5 17.5295 21.1795C18.0169 20.859 18.2702 20.2865 18.7769 19.1415L19.6618 17.1415C20.7866 14.5992 21.349 13.3281 20.7679 12.4141C20.1868 11.5 18.8163 11.5 16.0752 11.5H8.07196C6.78232 11.5 6.1375 11.5 5.63811 11.8439C5.13872 12.1877 4.89924 12.7966 4.42028 14.0144Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M11.5 4.51456C12.4151 3.28409 13.6662 2.55594 15.5125 2.50161C16.1155 2.48386 16.7152 2.61395 17.2682 2.85544C18.5748 3.42601 19.4185 4.15644 20 5.5L21.5 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]},picture:{name:"Picture",icon:sm},blockquote:{name:"Block Quote",icon:_m},hr:{name:"Horizontal Rule",icon:Nm},address:{name:"Address",icon:qm},time:{name:"Time",icon:[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12.1258 14H12.0008M12.1258 18H12.0008M7.625 14H7.5M7.625 18H7.5M16.625 14H16.5M12.2508 14C12.2508 14.1381 12.1389 14.25 12.0008 14.25C11.8628 14.25 11.7508 14.1381 11.7508 14C11.7508 13.8619 11.8628 13.75 12.0008 13.75C12.1389 13.75 12.2508 13.8619 12.2508 14ZM12.2508 18C12.2508 18.1381 12.1389 18.25 12.0008 18.25C11.8628 18.25 11.7508 18.1381 11.7508 18C11.7508 17.8619 11.8628 17.75 12.0008 17.75C12.1389 17.75 12.2508 17.8619 12.2508 18ZM7.75 14C7.75 14.1381 7.63807 14.25 7.5 14.25C7.36193 14.25 7.25 14.1381 7.25 14C7.25 13.8619 7.36193 13.75 7.5 13.75C7.63807 13.75 7.75 13.8619 7.75 14ZM7.75 18C7.75 18.1381 7.63807 18.25 7.5 18.25C7.36193 18.25 7.25 18.1381 7.25 18C7.25 17.8619 7.36193 17.75 7.5 17.75C7.63807 17.75 7.75 17.8619 7.75 18ZM16.75 14C16.75 14.1381 16.6381 14.25 16.5 14.25C16.3619 14.25 16.25 14.1381 16.25 14C16.25 13.8619 16.3619 13.75 16.5 13.75C16.6381 13.75 16.75 13.8619 16.75 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},mark:{name:"Highlighted Text",icon:$m},abbr:{name:"Abbreviation",icon:Zm},cite:{name:"Citation",icon:_m},code:{name:"Code",icon:Fm},pre:{name:"Preformatted Text",icon:Gf},kbd:{name:"Keyboard Input",icon:[["path",{d:"M9.80282 4.62973L15.8364 6.99069C19.3164 8.35243 21.0564 9.03329 20.9987 10.1133C20.941 11.1934 19.1251 11.6886 15.4933 12.6791C14.412 12.974 13.8713 13.1215 13.4964 13.4963C13.1215 13.8712 12.9741 14.4119 12.6791 15.4933C11.6887 19.125 11.1934 20.9409 10.1134 20.9986C9.03335 21.0563 8.35249 19.3163 6.99075 15.8363L4.62979 9.80276C3.20411 6.15934 2.49127 4.33764 3.41448 3.41442C4.3377 2.49121 6.15941 3.20405 9.80282 4.62973Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]]},samp:{name:"Sample Output",icon:Gf},var:{name:"Variable Name",icon:Fm},sub:{name:"Subscript",icon:Zm},sup:{name:"Superscript",icon:Zm},b:{name:"Bold",icon:Vm},i:{name:"Italic",icon:Um},u:{name:"Underline",icon:Km},s:{name:"Strikethrough",icon:[["path",{d:"M4 12H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.5 7.66667C17.5 5.08934 15.0376 3 12 3C8.96243 3 6.5 5.08934 6.5 7.66667C6.5 8.15279 6.55336 8.59783 6.6668 9M6 16.3333C6 18.9107 8.68629 21 12 21C15.3137 21 18 19.6667 18 16.3333C18 13.9404 16.9693 12.5782 14.9079 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]]},small:{name:"Small Text",icon:Zm},strong:{name:"Strong Emphasis",icon:Vm},em:{name:"Emphasis",icon:Um},del:{name:"Deleted Text",icon:[["path",{d:"M11 20.001H5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 3L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19 7C19 6.36778 19 5.95381 18.9194 5.6768C18.7518 5.10062 18.3066 4.60428 17.7541 4.37789C17.4886 4.26905 17.1885 4.23819 16.5884 4.17648C15.1695 4.03054 13.3874 4 12 4H8",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 4L11.2 7.20003M8 20.0008L10.4001 10.4001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]]},ins:{name:"Inserted Text",icon:Km},q:{name:"Inline Quote",icon:_m},data:{name:"Data",icon:Vf},meter:{name:"Meter",icon:Vf},progress:{name:"Progress",icon:Vf},output:{name:"Output",icon:Gf},template:{name:"Template",icon:hm},favicon:{name:"Favicon",icon:sm},url:{name:"Page URL",icon:fm},shareimage:{name:"Share Image",icon:sm},title:{name:"Page Title",icon:om},description:{name:"Page Description",icon:qm}},wb={name:"Element",icon:Nm},yb=po("<button><!></button>"),xb=po("<div><!></div>"),kb=po('<div class="relative z-2 flex justify-end p-8 pt-6"><button class="flex-center gap-6 h-32 px-12 rounded-[12px] superellipse glass-shadow bg-sky-600 hover:bg-sky-500 text-white text-[13px] font-medium transition-[background-color,scale] duration-150 ease-out-cubic active:scale-95"><!> Re-attach</button></div>'),Cb=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="relative z-2 flex flex-row items-start gap-10 px-14 pt-14 pb-10"><!> <div class="flex flex-col gap-2"><p class="text-[13px] font-medium text-neutral-100 leading-snug"> </p> <p class="text-[12px] text-neutral-400 leading-snug"> </p></div></div> <div class="relative z-2 min-h-0 px-10 pb-2"><div><p class="text-[12px] text-neutral-300 px-4 pb-2">Path to element</p> <!></div></div> <!>',1),Lb=po("<!> <!>",1),Sb=po("<div><!></div>"),Mb=po("<div><!></div>"),$b=po('<div class="flex"><!></div>'),Tb=po("<button><!></button>"),_b=po("<div><!></div>");function Eb(e,t){ue(t,!0);const{meta:r,hover:o,tracer:i,dom:n,sheet:s,environment:a,elements:l,toolbar:c,locator:d}=Zx();let u=ut(null),h=Ui(t,"element",3,null),p=Ui(t,"anchorEl",3,null),g=Ui(t,"hidden",3,!1),f=Ui(t,"missing",3,!1),m=Ui(t,"selector",3,""),v=Ui(t,"locators",3,null),b=Ui(t,"group",3,null),w=Ui(t,"habitat",3,null),y=Ui(t,"meta",3,!1),x=Qe(()=>w()?`This element is hidden — inside ${vb(w())}.`:"This element is hidden. It may be inside a modal, dropdown, accordion, or similar"),k=Qe(()=>w()?"This is hidden right now":"We can’t find this anymore"),C=Qe(()=>w()?`It’s inside ${vb(w())}. ${function(e){return e?sb[e.kind]:null}(w())}`:"It may have moved or been removed."),L=Qe(()=>y()&&!r.visible?{icon:$g,class:"mouse:size-20"}:g()?{icon:Jm,class:"mouse:size-20 text-orange-500 group-hover/focus-button:text-orange-100"}:{icon:fg,class:"mouse:size-20"}),S=Qe(()=>p()??jr(u)),M=ut(!1),$=ut(!1),T=ut(null);const _=e=>({el:null,tag:e,name:(bb[e]||wb).name,subtitle:"Missing element",icon:lg,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1,ignored:!1,hidden:!1});let E=Qe(()=>{if(!f()||!1===jr($))return[];const e=(y()?c.wrapper:document)??document;return d.trace(v(),m(),e).map(e=>e.el?{node:l.makeNode(e.el,e.el===jr(T),!1),missing:!1}:{node:_(e.tag),missing:!0})});const I=()=>{b()&&(pt($,!1),o.startReattach(b()))},O=()=>{h()&&jr(S)&&(a.touch||y()&&!r.visible||(o.isIsolated||(pt(M,!0),o.highlightInstant=!0,o.focus(h())),i.trace(h(),jr(S),{from:{point:"border",offset:4},to:{point:"border",offset:0}})))},A=async()=>{a.touch||(o.isIsolated||(o.unfocus(),pt(M,!1),await Dr(),o.highlightInstant=!1),i.hide())};let z=ut(!1);const P=()=>{if(!y()||!m())return null;const e=c.wrapper?.querySelectorAll("[data-fubi-meta]");if(!e?.length)return null;const t=m().split(" > ").slice(-2).join(" > ");for(const r of e)if(l.getPath(r).split(" > ").slice(-2).join(" > ")===t)return r;return null},F=e=>{o.focus(e)};Kt(()=>{jr(z)&&r.visible&&(pt(z,!1),setTimeout(()=>{const e=P();e&&F(e)},200))});const N=()=>{if(y()&&!r.visible)return r.show(),void pt(z,!0);if(y()&&r.visible){const e=P();return void(e&&(a.touch&&s.opened&&s.close(),F(e)))}h()&&(a.touch&&s.opened&&s.close(),n.scrollToElement(h()),o.isIsolated&&h()===o.isolatedElement||o.focus(h()))},H=(e,t)=>{const r=t??jr(S);r&&!a.touch&&(o.isIsolated||(o.highlightInstant=!0,o.focus(e.el)),i.trace(e.el,r,{from:{point:"border",offset:4},to:{point:"border",offset:0}}))},D=async()=>{a.touch||(i.hide(),o.isIsolated||(o.unfocus(),await Dr(),o.highlightInstant=!1))},j=(e,t)=>{if(e.missing)return;pt(T,e.node.el,!0),a.touch&&s.opened&&s.close(),o.insideFubi=!0,o.focus(e.node.el);const r=t??jr(S);r&&!a.touch&&i.trace(e.node.el,r,{from:{point:"border",offset:4},to:{point:"border",offset:0}}),n.scrollToElement(e.node.el)};Kt(()=>{f()&&jr(M)&&(o.isIsolated||(o.unfocus(),o.highlightInstant=!1),i.hide(),pt(M,!1))});var R=vo(),W=At(R),V=e=>{{const t=(e,t)=>{var r=Sb();Si(r,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"})),Wo(Ot(r),()=>up,(e,t)=>{t(e,{get open(){return jr($)},set open(e){pt($,e,!0)},children:(e,t)=>{var r=Lb(),o=At(r);{const e=(e,t)=>{var r=yb();Si(r,()=>({...t?.().props,class:["flex-center size-28 touch:size-36 rounded-[8px] superellipse text-orange-400 mouse:hover:text-orange-400 mouse:hover:bg-orange-500/10 transition-colors touch:bg-orange-400/10",jr($)&&"glass bg-white/5"]})),Ag(Ot(r),{get icon(){return lg},className:"size-20 touch:size-24"}),q(r),bo(e,r)};Wo(o,()=>Jh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Wo(zt(o,2),()=>Xl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Wo(At(r),()=>Xh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147490000))] w-290 max-h-360 overflow-clip rounded-[18px] bg-neutral-800/90 android:bg-neutral-800 backdrop-blur-lg android:backdrop-blur-none superellipse flex flex-col",side:"top",align:"end",sideOffset:8,trapFocus:!1,"data-fubi-ignore-all":!0,onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(e,t)=>{var r=Cb(),o=zt(At(r),2),i=Ot(o);Ag(i,{get icon(){return lg},className:"size-26 text-orange-400 shrink-0"});var n=zt(i,2),s=Ot(n),l=Ot(s,!0);q(s);var c=zt(s,2),d=Ot(c,!0);q(c),q(n),q(o);var u=zt(o,2),h=Ot(u),p=zt(Ot(h),2),g=e=>{var t=vo();Po(At(t),17,()=>jr(E),Ao,(e,t,r)=>{var o=xb();ui(o,"",{},{"margin-left":(r>0?28*(r-1):0)+"px"}),Xv(Ot(o),{get node(){return jr(t).node},get missing(){return jr(t).missing},depth:r>0?1:0,onselect:()=>j(jr(t)),onhover:H,onleave:D}),q(o),bo(e,o)}),bo(e,t)},f=e=>{var t=vo();Po(At(t),17,()=>jr(E),Ao,(e,t,r)=>{!function(e,t){ue(t,!0);let r=Ui(t,"depth",3,0),o=Ui(t,"missing",3,!1),i=ut(null),n=Qe(()=>o()||t.node.ignored),s=Qe(()=>t.node.threadCount>0),a=Qe(()=>t.node.ignored?Gm:t.node.hidden?Jm:t.node.icon);var l=ib();let c;Li(l,"tabindex",-1);var d=Ot(l),u=e=>{bo(e,Yv())};_o(d,e=>{r()>0&&e(u)});var h=zt(d,2);{let e=Qe(()=>o()?void 0:1.5),r=Qe(()=>["size-16 shrink-0",o()?"text-orange-400/70":t.node.ignored?"text-neutral-600":t.node.hidden?"text-neutral-500":t.node.selected?"text-neutral-100":"text-neutral-400"].filter(Boolean).join(" "));Ag(h,{get icon(){return jr(a)},get strokeWidth(){return jr(e)},get className(){return jr(r)}})}var p=zt(h,2),g=Ot(p,!0);q(p);var f=zt(p,2),m=e=>{bo(e,Jv())},v=e=>{bo(e,Qv())},b=e=>{bo(e,eb())},w=e=>{var r=tb(),o=Ot(r);q(r),er(()=>ko(o,`· ${t.node.subtitle??""}`)),bo(e,r)},y=e=>{bo(e,rb())};_o(f,e=>{t.node.ignored?e(m):o()?e(v,1):t.node.hidden?e(b,2):t.node.subtitle?e(w,3):e(y,!1)});var x=zt(f,2),k=e=>{var r=ob(),o=Ot(r);Ag(o,{get icon(){return bg},className:"size-12"});var i=zt(o,2),n=Ot(i,!0);q(i),q(r),er(()=>ko(n,t.node.threadCount)),bo(e,r)};_o(x,e=>{!o()&&jr(s)&&e(k)}),q(l),Di(l,e=>pt(i,e),()=>jr(i)),er(()=>{ci(l,1,ni(["relative flex items-center gap-6 h-24 shrink-0 min-w-220 rounded-[6px] pl-4 pr-8 text-left transition-colors",jr(n)?"pointer-events-none":"hover:bg-white/5",t.node.selected&&"bg-white/8"])),l.disabled=jr(n),c=ui(l,"",c,{"margin-left":16*r()+"px"}),ci(p,1,ni(["text-[12px]/none truncate shrink-0",o()?"text-neutral-400":t.node.selected?"text-neutral-100 font-medium":"text-neutral-300"])),ko(g,t.node.name)}),so("click",l,()=>{jr(n)||t.onselect(t.node,jr(i))}),no("pointerenter",l,()=>{jr(n)||t.onhover?.(t.node,jr(i))}),no("pointerleave",l,()=>{jr(n)||t.onleave?.()}),bo(e,l),he()}(e,{get node(){return jr(t).node},get missing(){return jr(t).missing},depth:r,onselect:(e,r)=>j(jr(t),r),onhover:H,onleave:D})}),bo(e,t)};_o(p,e=>{a.touch?e(g):e(f,!1)}),q(h),q(u);var m=zt(u,2),v=e=>{var t=kb(),r=Ot(t);Ag(Ot(r),{get icon(){return Yf},className:"size-16",strokeWidth:1.8}),K(),q(r),q(t),so("click",r,I),bo(e,t)};_o(m,e=>{b()&&e(v)}),er(()=>{ko(l,jr(k)),ko(d,jr(C)),ci(h,1,ni(["bg-white/5 rounded-[12px] superellipse p-8 flex flex-col max-h-200 overflow-y-auto overflow-x-auto",a.touch?"gap-2":"gap-0 items-start"]))}),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),q(r),Di(r,e=>pt(u,e),()=>jr(u)),bo(e,r)};Fp(e,{text:"Trace missing element",delay:200,get disabled(){return jr($)},child:t,$$slots:{child:!0}})}},B=e=>{{const t=(e,t)=>{var r=_b();Si(r,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"}));var o=Ot(r),i=e=>{var t=Mb();ci(t,1,ni(["flex-center size-24 touch:size-30 rounded-[8px] superellipse touch:rounded-[8px] text-orange-600 absolute"])),Ag(Ot(t),{get icon(){return lg},className:"size-22 touch:size-26"}),q(t),bo(e,t)},n=e=>{var t=Tb();ci(t,1,ni(["focus-visible comment-focus flex-center size-28 touch:size-36 rounded-[8px] touch:rounded-[10px] mouse:glass-hover touch:bg-white/5 superellipse mouse:hover:bg-white/10","text-neutral-400 touch:text-neutral-400 mouse:hover:text-(--fubi-hover-thread-color)","absolute","disabled:opacity-30 disabled:pointer-events-none group/focus-button"])),Oo(Ot(t),()=>jr(L).icon,e=>{var t=$b();Ag(Ot(t),{get icon(){return jr(L).icon},get className(){return jr(L).class}}),q(t),Qo(1,t,()=>ia,()=>({duration:500,start:2.5,opacity:0,easing:js})),bo(e,t)}),q(t),Di(t,e=>pt(u,e),()=>jr(u)),no("pointerenter",t,O),no("pointerleave",t,A),so("click",t,N),Qo(1,t,()=>ia,()=>({duration:500,start:.5,opacity:0,easing:Hs})),Qo(2,t,()=>ia,()=>({duration:100,start:.5,opacity:0})),bo(e,t)};_o(o,e=>{f()&&!y()?e(i):(h()||y())&&e(n,1)}),q(r),Di(r,e=>pt(u,e),()=>jr(u)),bo(e,r)};let o=Qe(()=>y()?r.visible?"Trace to element":"Open Meta Panel":g()?jr(x):"Scroll into View"),i=Qe(()=>f()&&!y());Fp(e,{get text(){return jr(o)},delay:200,get disabled(){return jr(i)},child:t,$$slots:{child:!0}})}};_o(W,e=>{f()&&!y()&&m()?e(V):e(B,!1)}),bo(e,R),he()}ao(["click"]);var Ib=po("<!> <!> <!>",1);var Ob=/https?:\/\/[^\s<>]+/g;function Ab(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var zb={Desktop:[["path",{d:"M6 17H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 17H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 3H14C15.8692 3 16.8038 3 17.5 3.40192C17.9561 3.66523 18.3348 4.04394 18.5981 4.5C19 5.19615 19 6.13077 19 8C19 9.86923 19 10.8038 18.5981 11.5C18.3348 11.9561 17.9561 12.3348 17.5 12.5981C16.8038 13 15.8692 13 14 13H10C8.13077 13 7.19615 13 6.5 12.5981C6.04394 12.3348 5.66523 11.9561 5.40192 11.5C5 10.8038 5 9.86923 5 8C5 6.13077 5 5.19615 5.40192 4.5C5.66523 4.04394 6.04394 3.66523 6.5 3.40192C7.19615 3 8.13077 3 10 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 13H18C18.93 13 19.395 13 19.7765 13.1022C20.8117 13.3796 21.6204 14.1883 21.8978 15.2235C22 15.605 22 16.07 22 17C22 17.93 22 18.395 21.8978 18.7765C21.6204 19.8117 20.8117 20.6204 19.7765 20.8978C19.395 21 18.93 21 18 21H6C5.07003 21 4.60504 21 4.22354 20.8978C3.18827 20.6204 2.37962 19.8117 2.10222 18.7765C2 18.395 2 17.93 2 17C2 16.07 2 15.605 2.10222 15.2235C2.37962 14.1883 3.18827 13.3796 4.22354 13.1022C4.60504 13 5.07003 13 6 13Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Laptop:[["path",{d:"M20.4999 16.5V8.5C20.4999 6.14298 20.4999 4.96447 19.7676 4.23223C19.0354 3.5 17.8569 3.5 15.4999 3.5H8.49988C6.14286 3.5 4.96434 3.5 4.23211 4.23223C3.49988 4.96447 3.49988 6.14298 3.49988 8.5V16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.9841 20.5H2.01567C1.63273 20.5 1.38367 20.1088 1.55493 19.7764L3.49988 16.5H20.4999L22.4448 19.7764C22.6161 20.1088 22.367 20.5 21.9841 20.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Tablet:[["path",{d:"M14.5 2H9.5C6.67157 2 5.25736 2 4.37868 2.87868C3.5 3.75736 3.5 5.17157 3.5 8V16C3.5 18.8284 3.5 20.2426 4.37868 21.1213C5.25736 22 6.67157 22 9.5 22H14.5C17.3284 22 18.7426 22 19.6213 21.1213C20.5 20.2426 20.5 18.8284 20.5 16V8C20.5 5.17157 20.5 3.75736 19.6213 2.87868C18.7426 2 17.3284 2 14.5 2Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 4.5H14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 19H12M12.25 19C12.25 19.1381 12.1381 19.25 12 19.25C11.8619 19.25 11.75 19.1381 11.75 19C11.75 18.8619 11.8619 18.75 12 18.75C12.1381 18.75 12.25 18.8619 12.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Mobile:[["path",{d:"M13.5 2H10.5C8.14298 2 6.96447 2 6.23223 2.73223C5.5 3.46447 5.5 4.64298 5.5 7V17C5.5 19.357 5.5 20.5355 6.23223 21.2678C6.96447 22 8.14298 22 10.5 22H13.5C15.857 22 17.0355 22 17.7678 21.2678C18.5 20.5355 18.5 19.357 18.5 17V7C18.5 4.64298 18.5 3.46447 17.7678 2.73223C17.0355 2 15.857 2 13.5 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 2H10L10.5 3H13.5L14 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Unknown:[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]]},Pb=class extends as{#wn=ut(wt({width:0,height:0}));get resolution(){return jr(this.#wn)}set resolution(e){pt(this.#wn,e,!0)}#ae=ut(wt({width:0,height:0}));get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}start(){this.refresh(),window.addEventListener("resize",()=>this.refresh())}refresh(){this.current={width:window.innerWidth,height:window.innerHeight}}get width(){return this.resolution.width}get height(){return this.resolution.height}set(e,t){this.log.info(`Setting resolution preview to ${e}x${t}`),this.resolution={width:e,height:t}}clear(){this.resolution={width:0,height:0}}show(e,t){this.set(e,t),this.modules.environment.touch&&this.modules.sheet.opened&&this.modules.sheet.close(),this.modules.modals.open("resolution")}hide(){this.modules.modals.close("resolution"),this.clear()}},Fb=fo('<svg><path d="M8 11.9983C10.2091 11.9983 12 10.2074 12 7.99829C12 5.78915 10.2091 3.99829 8 3.99829C5.79086 3.99829 4 5.78915 4 7.99829C4 10.2074 5.79086 11.9983 8 11.9983Z" fill="white"></path><path d="M8.00008 4.00001H14.9271C14.2252 2.78381 13.2154 1.77385 11.9994 1.07168C10.7833 0.369518 9.40378 -9.79568e-05 7.99955 1.94733e-08C6.59531 9.79957e-05 5.21586 0.369906 3.99988 1.07224C2.78391 1.77457 1.77428 2.78468 1.07251 4.00098L4.53604 10L4.53914 9.99921C4.18681 9.39164 4.00088 8.70191 4.00009 7.99957C3.9993 7.29722 4.18368 6.60708 4.53465 5.99872C4.88561 5.39035 5.39076 4.88526 5.99917 4.53436C6.60757 4.18346 7.29773 3.99915 8.00008 4.00001Z" fill="#D93025"></path><path d="M7.99992 11.1667C9.74882 11.1667 11.1666 9.74894 11.1666 8.00004C11.1666 6.25114 9.74882 4.83337 7.99992 4.83337C6.25102 4.83337 4.83325 6.25114 4.83325 8.00004C4.83325 9.74894 6.25102 11.1667 7.99992 11.1667Z" fill="#1A73E8"></path><path d="M11.4637 10.0009L8.00021 15.9999C9.40444 16.0001 10.784 15.6306 12.0001 14.9285C13.2162 14.2265 14.226 13.2166 14.9281 12.0004C15.6301 10.7843 15.9996 9.40474 15.9993 8.00051C15.9991 6.59629 15.6291 5.21687 14.9266 4.00098H7.99961L7.99878 4.00408C8.70113 4.00272 9.39142 4.18655 10.0001 4.53704C10.6087 4.88752 11.1142 5.39227 11.4656 6.0004C11.817 6.60854 12.0018 7.29856 12.0015 8.0009C12.0012 8.70325 11.8157 9.3931 11.4637 10.0009Z" fill="#FCC934"></path><path d="M4.53613 10.001L1.07259 4.00195C0.370303 5.21795 0.000540618 6.59742 0.000488287 8.00166C0.000435955 9.40589 0.370095 10.7854 1.0723 12.0014C1.7745 13.2175 2.78449 14.2272 4.00071 14.9291C5.21694 15.631 6.59653 16.0004 8.00076 16L11.4643 10.0009L11.4621 9.99865C11.112 10.6076 10.6077 11.1135 9.99984 11.4653C9.39199 11.8172 8.70212 12.0026 7.99977 12.0028C7.29742 12.003 6.60743 11.8181 5.99934 11.4667C5.39124 11.1152 4.88655 10.6097 4.53613 10.001Z" fill="#1E8E3E"></path></svg>');function Nb(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Fb();Si(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Hb=fo('<svg><path d="M15.2877 5.41538C14.946 4.61928 14.2527 3.75972 13.7098 3.488C14.097 4.21374 14.3657 4.99314 14.5064 5.7985L14.5078 5.81127C13.6185 3.66581 12.1111 2.79937 10.8792 0.915221C10.8169 0.819932 10.7546 0.724448 10.6939 0.623658C10.6592 0.566093 10.6314 0.514224 10.6073 0.466482C10.5562 0.370713 10.5168 0.269502 10.49 0.1649C10.49 0.160073 10.4882 0.155402 10.4849 0.151778C10.4816 0.148155 10.4771 0.145832 10.4721 0.145253C10.4673 0.143965 10.4621 0.143965 10.4573 0.145253C10.4563 0.145253 10.4547 0.147021 10.4534 0.147414C10.4522 0.147807 10.4496 0.149575 10.4478 0.150361L10.4508 0.145253C8.47517 1.26513 7.80445 3.3379 7.74356 4.37526C6.95431 4.42765 6.1997 4.70912 5.57818 5.18295C5.51336 5.1298 5.44561 5.08009 5.37523 5.03403C5.19603 4.42672 5.1884 3.784 5.35311 3.17286C4.62757 3.51311 3.98289 3.99547 3.45987 4.58942H3.45622C3.1445 4.20689 3.16642 2.94555 3.18428 2.68208C3.09206 2.71796 3.00403 2.7632 2.92167 2.81706C2.64649 3.00719 2.38923 3.22054 2.15293 3.4546C1.88364 3.71892 1.63769 4.0046 1.41767 4.30866V4.30984V4.30846C0.912044 5.00232 0.553378 5.78626 0.36237 6.61503L0.351817 6.66532C0.337002 6.73232 0.283629 7.06789 0.274496 7.14078C0.274496 7.14648 0.273279 7.15178 0.27267 7.15748C0.203822 7.50393 0.161158 7.85477 0.14502 8.20722V8.24652C0.148496 10.152 0.889732 11.987 2.2224 13.3892C3.55508 14.7915 5.38234 15.6591 7.34348 15.8208C9.30462 15.9825 11.2571 15.4266 12.8156 14.2627C14.374 13.0988 15.4251 11.4116 15.7614 9.53419C15.7746 9.43595 15.7853 9.3387 15.7971 9.23948C15.9591 7.94315 15.7837 6.62817 15.2869 5.4142L15.2877 5.41538ZM6.22231 11.3763C6.25905 11.3934 6.29355 11.4119 6.33129 11.4282L6.33677 11.4315C6.29862 11.4138 6.26047 11.3954 6.22231 11.3763ZM14.508 5.81343V5.80616L14.5094 5.81421L14.508 5.81343Z" fill="url(#paint0_linear_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint1_radial_232_10596)"></path><path d="M15.2878 5.41529C14.9461 4.61919 14.2528 3.75963 13.7099 3.48792C14.0971 4.21366 14.3657 4.99306 14.5065 5.79841V5.80568L14.5079 5.81373C15.1143 7.49337 15.0266 9.3349 14.2632 10.9534C13.3617 12.826 11.1805 14.7453 7.76496 14.651C4.07548 14.5498 0.824351 11.8984 0.217555 8.42679C0.106952 7.87923 0.217555 7.60162 0.273161 7.15661C0.197312 7.50228 0.154984 7.85404 0.146729 8.20733V8.24663C0.150205 10.1521 0.891441 11.9871 2.22411 13.3893C3.55678 14.7916 5.38405 15.6592 7.34519 15.8209C9.30633 15.9826 11.2588 15.4267 12.8173 14.2628C14.3757 13.0989 15.4268 11.4118 15.7631 9.5343C15.7763 9.43606 15.787 9.33881 15.7988 9.23959C15.9608 7.94326 15.7854 6.62828 15.2886 5.41431L15.2878 5.41529Z" fill="url(#paint2_radial_232_10596)"></path><path d="M11.4643 6.30929C11.4813 6.32088 11.4972 6.33247 11.5132 6.34406C11.3156 6.0049 11.0697 5.69437 10.7826 5.42163C8.33717 3.05416 10.1419 0.289824 10.4461 0.148365L10.4492 0.144043C8.47355 1.26392 7.80283 3.33669 7.74194 4.37405C7.83367 4.36796 7.92459 4.3605 8.01835 4.3605C8.71928 4.36181 9.40735 4.54278 10.0126 4.885C10.6179 5.22723 11.1187 5.71851 11.4643 6.3089V6.30929Z" fill="url(#paint3_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint4_radial_232_10596)"></path><path d="M8.0224 6.78266C8.00941 6.97206 7.31819 7.62533 7.07649 7.62533C4.84007 7.62533 4.47681 8.93519 4.47681 8.93519C4.57584 10.0382 5.36975 10.9471 6.32946 11.4264C6.3733 11.4484 6.41774 11.4683 6.46219 11.4877C6.53917 11.5207 6.61615 11.5513 6.69313 11.5793C7.02251 11.6921 7.36748 11.7566 7.71657 11.7705C11.6374 11.9485 12.3964 7.23199 9.56719 5.86259C10.2346 5.77852 10.9104 5.93739 11.4637 6.30838C11.1181 5.718 10.6173 5.22672 10.012 4.88449C9.40674 4.54227 8.71866 4.3613 8.01773 4.35999C7.92438 4.35999 7.83306 4.36745 7.74133 4.37354C6.95208 4.42593 6.19746 4.7074 5.57594 5.18123C5.69588 5.27947 5.83124 5.41071 6.11637 5.68282C6.65011 6.19188 8.01895 6.7192 8.022 6.78109L8.0224 6.78266Z" fill="url(#paint5_radial_232_10596)"></path><path d="M5.20955 4.93006C5.27328 4.96935 5.32584 5.00354 5.37191 5.03438C5.19271 4.42708 5.18507 3.78435 5.34979 3.17322C4.62424 3.51347 3.97956 3.99583 3.45654 4.58977C3.4949 4.58879 4.63584 4.56894 5.20955 4.93006Z" fill="url(#paint6_radial_232_10596)"></path><path d="M0.216091 8.42718C0.82309 11.8988 4.07401 14.5512 7.76349 14.6514C11.179 14.7449 13.3606 12.8254 14.2617 10.9538C15.0251 9.33529 15.1128 7.49376 14.5064 5.81412V5.80685C14.5064 5.80116 14.5052 5.79782 14.5064 5.79958L14.5079 5.81235C14.7869 7.57607 13.8603 9.28399 12.4115 10.4412L12.407 10.451C9.58408 12.677 6.88293 11.7937 6.33702 11.4334C6.29886 11.4157 6.26071 11.3973 6.22256 11.3782C4.5769 10.6166 3.89685 9.16591 4.04296 7.92029C3.65232 7.92587 3.26839 7.82165 2.93769 7.62027C2.60699 7.41889 2.34371 7.12898 2.17976 6.78567C2.61178 6.52946 3.10437 6.38462 3.6106 6.36495C4.11683 6.34528 4.61983 6.45143 5.07168 6.67329C6.00303 7.08256 7.06281 7.12289 8.02448 6.78567C8.02143 6.72378 6.65259 6.19626 6.11885 5.6874C5.83372 5.41529 5.69836 5.28424 5.57842 5.18581C5.5136 5.13266 5.44585 5.08294 5.37548 5.03689C5.3288 5.00604 5.27624 4.97264 5.21313 4.93256C4.63941 4.57145 3.49847 4.59129 3.46072 4.59227H3.45707C3.14535 4.20974 3.16727 2.9484 3.18513 2.68494C3.09291 2.72082 3.00488 2.76606 2.92252 2.81991C2.64734 3.01004 2.39009 3.22339 2.15378 3.45746C1.88353 3.72103 1.63656 4.00606 1.41548 4.30955C0.909854 5.00341 0.551188 5.78715 0.36018 6.61592C0.356324 6.63144 0.0768728 7.81419 0.21467 8.42757L0.216091 8.42718Z" fill="url(#paint7_radial_232_10596)"></path><path d="M10.7823 5.42122C11.0695 5.69426 11.3154 6.00512 11.5129 6.34463C11.5561 6.37626 11.5965 6.4077 11.6308 6.43815C13.4141 8.02956 12.4797 10.2792 12.4101 10.4383C13.8587 9.28285 14.7845 7.57375 14.5065 5.80945C13.6168 3.66202 12.1077 2.79559 10.8779 0.911436C10.8156 0.816148 10.7533 0.720664 10.6926 0.619874C10.6579 0.562308 10.6301 0.51044 10.606 0.462698C10.5549 0.366929 10.5155 0.265717 10.4887 0.161116C10.4887 0.156289 10.4869 0.151618 10.4836 0.147994C10.4803 0.144371 10.4758 0.142048 10.4708 0.141468C10.466 0.140181 10.4608 0.140181 10.456 0.141468C10.455 0.141468 10.4534 0.143237 10.4521 0.14363C10.4509 0.144023 10.4483 0.145791 10.4465 0.146577C10.1423 0.286267 8.3379 3.05238 10.7833 5.41788L10.7823 5.42122Z" fill="url(#paint8_radial_232_10596)"></path><path d="M11.6306 6.43884C11.5963 6.40839 11.5559 6.37695 11.5127 6.34532C11.4967 6.33373 11.4809 6.32214 11.4638 6.31055C10.9106 5.93955 10.2347 5.78069 9.56732 5.86475C12.3963 7.23415 11.6373 11.9494 7.7167 11.7726C7.36761 11.7587 7.02263 11.6943 6.69326 11.5815C6.61628 11.5536 6.5393 11.523 6.46231 11.4899C6.41787 11.4703 6.37343 11.4506 6.32959 11.4286L6.33507 11.4319C6.88179 11.7933 9.58214 12.676 12.4051 10.4496L12.4095 10.4398C12.4799 10.2806 13.4143 8.03104 11.6302 6.43963L11.6306 6.43884Z" fill="url(#paint9_radial_232_10596)"></path><path d="M4.47686 8.93408C4.47686 8.93408 4.83992 7.62422 7.07654 7.62422C7.31825 7.62422 8.01008 6.97095 8.02246 6.78155C7.06079 7.11878 6.00101 7.07844 5.06965 6.66917C4.61781 6.44731 4.11481 6.34116 3.60858 6.36083C3.10235 6.3805 2.60976 6.52535 2.17773 6.78155C2.34169 7.12486 2.60497 7.41477 2.93567 7.61615C3.26637 7.81754 3.6503 7.92175 4.04094 7.91617C3.89523 9.1612 4.57508 10.6117 6.22054 11.3741C6.25727 11.3911 6.29177 11.4096 6.32952 11.4259C5.36899 10.9455 4.5759 10.0371 4.47686 8.93467V8.93408Z" fill="url(#paint10_radial_232_10596)"></path><path d="M15.2878 5.41538C14.9461 4.61928 14.2528 3.75972 13.7099 3.488C14.097 4.21374 14.3657 4.99314 14.5065 5.7985L14.5079 5.81127C13.6186 3.66581 12.1112 2.79937 10.8793 0.915221C10.817 0.819932 10.7547 0.724448 10.694 0.623658C10.6593 0.566093 10.6315 0.514224 10.6074 0.466482C10.5563 0.370713 10.5169 0.269502 10.4901 0.1649C10.4901 0.160073 10.4883 0.155402 10.485 0.151778C10.4817 0.148155 10.4771 0.145832 10.4722 0.145253C10.4673 0.143965 10.4622 0.143965 10.4574 0.145253C10.4564 0.145253 10.4547 0.147021 10.4535 0.147414C10.4523 0.147807 10.4497 0.149575 10.4478 0.150361L10.4509 0.145253C8.47525 1.26513 7.80453 3.3379 7.74365 4.37526C7.83538 4.36917 7.92629 4.36171 8.02005 4.36171C8.72098 4.36302 9.40905 4.54399 10.0143 4.88621C10.6196 5.22844 11.1204 5.71972 11.466 6.31011C10.9127 5.93911 10.2369 5.78025 9.56951 5.86431C12.3985 7.23371 11.6395 11.949 7.71889 11.7722C7.3698 11.7583 7.02482 11.6939 6.69545 11.581C6.61847 11.5531 6.54149 11.5226 6.4645 11.4895C6.42006 11.4698 6.37562 11.4502 6.33178 11.4282L6.33726 11.4315C6.29911 11.4138 6.26095 11.3954 6.2228 11.3763C6.25953 11.3934 6.29403 11.4119 6.33178 11.4282C5.37126 10.9476 4.57816 10.0391 4.47913 8.93692C4.47913 8.93692 4.84219 7.62705 7.07881 7.62705C7.32051 7.62705 8.01234 6.97378 8.02472 6.78439C8.02168 6.7225 6.65283 6.19497 6.1191 5.68612C5.83396 5.414 5.6986 5.28296 5.57866 5.18453C5.51384 5.13137 5.4461 5.08166 5.37572 5.0356C5.19652 4.4283 5.18888 3.78557 5.3536 3.17444C4.62806 3.51468 3.98337 3.99704 3.46036 4.59099H3.45671C3.14499 4.20846 3.1669 2.94712 3.18476 2.68365C3.09255 2.71953 3.00452 2.76478 2.92216 2.81863C2.64697 3.00876 2.38972 3.22211 2.15341 3.45617C1.88413 3.72049 1.63818 4.00617 1.41816 4.31023C0.912533 5.00409 0.553867 5.78783 0.362858 6.6166L0.352305 6.6669C0.337491 6.73389 0.271129 7.07418 0.26159 7.14727C0.200891 7.49853 0.162126 7.85302 0.145508 8.2088V8.24809C0.148984 10.1536 0.89022 11.9885 2.22289 13.3908C3.55556 14.793 5.38283 15.6607 7.34397 15.8224C9.30511 15.9841 11.2576 15.4281 12.816 14.2643C14.3745 13.1004 15.4256 11.4132 15.7619 9.53576C15.7751 9.43752 15.7858 9.34027 15.7976 9.24105C15.9596 7.94472 15.7842 6.62975 15.2874 5.41577L15.2878 5.41538Z" fill="url(#paint11_linear_232_10596)"></path><defs><linearGradient id="paint0_linear_232_10596" x1="14.2466" y1="2.57754" x2="1.5971" y2="15.1842" gradientUnits="userSpaceOnUse"><stop offset="0.048" stop-color="#FFF44F"></stop><stop offset="0.111" stop-color="#FFE847"></stop><stop offset="0.225" stop-color="#FFC830"></stop><stop offset="0.368" stop-color="#FF980E"></stop><stop offset="0.401" stop-color="#FF8B16"></stop><stop offset="0.462" stop-color="#FF672A"></stop><stop offset="0.534" stop-color="#FF3647"></stop><stop offset="0.705" stop-color="#E31587"></stop></linearGradient><radialGradient id="paint1_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13.7414 1.91222) scale(16.3977 15.8748)"><stop offset="0.129" stop-color="#FFBD4F"></stop><stop offset="0.186" stop-color="#FFAC31"></stop><stop offset="0.247" stop-color="#FF9D17"></stop><stop offset="0.283" stop-color="#FF980E"></stop><stop offset="0.403" stop-color="#FF563B"></stop><stop offset="0.467" stop-color="#FF3750"></stop><stop offset="0.71" stop-color="#F5156C"></stop><stop offset="0.782" stop-color="#EB0878"></stop><stop offset="0.86" stop-color="#E50080"></stop></radialGradient><radialGradient id="paint2_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.65314 8.39575) scale(16.3977 15.8748)"><stop offset="0.3" stop-color="#960E18"></stop><stop offset="0.351" stop-color="#B11927" stop-opacity="0.74"></stop><stop offset="0.435" stop-color="#DB293D" stop-opacity="0.343"></stop><stop offset="0.497" stop-color="#F5334B" stop-opacity="0.094"></stop><stop offset="0.53" stop-color="#FF3750" stop-opacity="0"></stop></radialGradient><radialGradient id="paint3_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.68247 -1.62419) scale(11.8782 11.4994)"><stop offset="0.132" stop-color="#FFF44F"></stop><stop offset="0.252" stop-color="#FFDC3E"></stop><stop offset="0.506" stop-color="#FF9D12"></stop><stop offset="0.526" stop-color="#FF980E"></stop></radialGradient><radialGradient id="paint4_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(5.82657 12.5216) scale(7.80717 7.55822)"><stop offset="0.353" stop-color="#3A8EE6"></stop><stop offset="0.472" stop-color="#5C79F0"></stop><stop offset="0.669" stop-color="#9059FF"></stop><stop offset="1" stop-color="#C139E6"></stop></radialGradient><radialGradient id="paint5_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(8.44614 7.03297) rotate(-13.1735) scale(4.13285 4.70054)"><stop offset="0.206" stop-color="#9059FF" stop-opacity="0"></stop><stop offset="0.278" stop-color="#8C4FF3" stop-opacity="0.064"></stop><stop offset="0.747" stop-color="#7716A8" stop-opacity="0.45"></stop><stop offset="0.975" stop-color="#6E008B" stop-opacity="0.6"></stop></radialGradient><radialGradient id="paint6_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 1.32286) scale(5.61743 5.4383)"><stop stop-color="#FFE226"></stop><stop offset="0.121" stop-color="#FFDB27"></stop><stop offset="0.295" stop-color="#FFC82A"></stop><stop offset="0.502" stop-color="#FFA930"></stop><stop offset="0.732" stop-color="#FF7E37"></stop><stop offset="0.792" stop-color="#FF7139"></stop></radialGradient><radialGradient id="paint7_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.9149 -2.21366) scale(23.9674 23.2032)"><stop offset="0.113" stop-color="#FFF44F"></stop><stop offset="0.456" stop-color="#FF980E"></stop><stop offset="0.622" stop-color="#FF5634"></stop><stop offset="0.716" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint8_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.92267 -0.927134) rotate(83.7791) scale(17.0099 11.5226)"><stop stop-color="#FFF44F"></stop><stop offset="0.06" stop-color="#FFE847"></stop><stop offset="0.168" stop-color="#FFC830"></stop><stop offset="0.304" stop-color="#FF980E"></stop><stop offset="0.356" stop-color="#FF8B16"></stop><stop offset="0.455" stop-color="#FF672A"></stop><stop offset="0.57" stop-color="#FF3647"></stop><stop offset="0.737" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint9_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.45003 3.28745) scale(14.9609 14.4838)"><stop offset="0.137" stop-color="#FFF44F"></stop><stop offset="0.48" stop-color="#FF980E"></stop><stop offset="0.592" stop-color="#FF5634"></stop><stop offset="0.655" stop-color="#FF3647"></stop><stop offset="0.904" stop-color="#E31587"></stop></radialGradient><radialGradient id="paint10_radial_232_10596" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(11.3059 4.0734) scale(16.3754 15.8532)"><stop offset="0.094" stop-color="#FFF44F"></stop><stop offset="0.231" stop-color="#FFE141"></stop><stop offset="0.509" stop-color="#FFAF1E"></stop><stop offset="0.626" stop-color="#FF980E"></stop></radialGradient><linearGradient id="paint11_linear_232_10596" x1="14.0884" y1="2.51271" x2="3.33933" y2="13.6179" gradientUnits="userSpaceOnUse"><stop offset="0.167" stop-color="#FFF44F" stop-opacity="0.8"></stop><stop offset="0.266" stop-color="#FFF44F" stop-opacity="0.634"></stop><stop offset="0.489" stop-color="#FFF44F" stop-opacity="0.217"></stop><stop offset="0.6" stop-color="#FFF44F" stop-opacity="0"></stop></linearGradient></defs></svg>');function Db(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Hb();Si(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var jb=fo('<svg><g opacity="0.53" filter="url(#filter0_f_232_10586)"><path d="M16.7069 9.61423C16.7069 10.5841 16.5076 11.5445 16.1203 12.4406C15.733 13.3367 15.1653 14.1509 14.4497 14.8367C13.7341 15.5225 12.8845 16.0666 11.9495 16.4377C11.0145 16.8089 10.0123 16.9999 9.0003 16.9999C7.98826 16.9999 6.98612 16.8089 6.05111 16.4377C5.11611 16.0666 4.26654 15.5225 3.55091 14.8367C2.83529 14.1509 2.26762 13.3367 1.88033 12.4406C1.49304 11.5445 1.2937 10.5841 1.2937 9.61423C1.2937 7.65541 2.10564 5.77683 3.55091 4.39174C4.99618 3.00665 6.95639 2.22852 9.0003 2.22852C10.0123 2.22852 11.0145 2.41955 11.9495 2.79072C12.8845 3.16189 13.7341 3.70591 14.4497 4.39174C15.1653 5.07757 15.733 5.89176 16.1203 6.78784C16.5076 7.68391 16.7069 8.64432 16.7069 9.61423Z" fill="black"></path></g><path d="M17 8.96195C17 10.0075 16.7931 11.0429 16.391 12.0089C15.989 12.9748 15.3997 13.8526 14.6569 14.5919C13.914 15.3312 13.0321 15.9177 12.0615 16.3178C11.0909 16.718 10.0506 16.9239 9 16.9239C6.87826 16.9239 4.84344 16.0851 3.34314 14.5919C1.84285 13.0987 1 11.0736 1 8.96195C1 6.85031 1.84285 4.82516 3.34314 3.332C4.84344 1.83885 6.87826 1 9 1C10.0506 1 11.0909 1.20594 12.0615 1.60607C13.0321 2.00619 13.914 2.59267 14.6569 3.332C15.3997 4.07134 15.989 4.94906 16.391 5.91504C16.7931 6.88103 17 7.91638 17 8.96195Z" fill="url(#paint0_linear_232_10586)" stroke="#CDCDCD" stroke-width="0.023754" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.373 8.96196C16.373 10.9081 15.5962 12.7746 14.2134 14.1508C12.8307 15.5269 10.9553 16.3 8.99984 16.3C7.04436 16.3 5.16898 15.5269 3.78625 14.1508C2.40352 12.7746 1.62671 10.9081 1.62671 8.96196C1.62671 7.01579 2.40352 5.14932 3.78625 3.77317C5.16898 2.39702 7.04436 1.6239 8.99984 1.6239C10.9553 1.6239 12.8307 2.39702 14.2134 3.77317C15.5962 5.14932 16.373 7.01579 16.373 8.96196Z" fill="url(#paint1_radial_232_10586)"></path><path d="M8.99994 2.00671C8.94038 2.00671 8.89244 2.05443 8.89244 2.1137V3.34774C8.89244 3.40702 8.94038 3.45473 8.99994 3.45473C9.05949 3.45473 9.10743 3.40702 9.10743 3.34774V2.1137C9.10743 2.05443 9.05949 2.00671 8.99994 2.00671ZM8.29669 2.05095C8.28956 2.05019 8.28223 2.05019 8.27483 2.05104C8.21559 2.05719 8.17289 2.1096 8.17907 2.16855L8.23326 2.68482C8.23944 2.74377 8.2921 2.78628 8.35133 2.78013C8.41057 2.77397 8.45328 2.72156 8.44709 2.66261L8.39295 2.14635C8.38753 2.09476 8.34653 2.05577 8.29669 2.05095ZM9.7081 2.05146C9.65825 2.05624 9.61724 2.09523 9.61179 2.14681L9.55723 2.66303C9.551 2.72198 9.59371 2.77444 9.65294 2.78064C9.71217 2.78684 9.76483 2.74437 9.77106 2.68542L9.82562 2.16915C9.83185 2.11021 9.78914 2.05779 9.72991 2.0516C9.7225 2.05083 9.71523 2.05083 9.7081 2.05146ZM7.57428 2.15521C7.56713 2.15527 7.55985 2.15597 7.55257 2.1575C7.49431 2.16977 7.45733 2.22635 7.46966 2.28434L7.72646 3.4916C7.73879 3.54959 7.79564 3.58639 7.8539 3.57411C7.91216 3.56184 7.94914 3.50531 7.93681 3.44732L7.68002 2.24001C7.66921 2.18927 7.62436 2.15482 7.57428 2.15521ZM10.4305 2.15623C10.3804 2.15572 10.3355 2.19027 10.3247 2.241L10.067 3.44812C10.0546 3.5061 10.0916 3.56269 10.1498 3.57501C10.2081 3.58734 10.2649 3.55056 10.2773 3.49259L10.535 2.28546C10.5474 2.22749 10.5104 2.17089 10.4522 2.15858C10.4449 2.15705 10.4376 2.15623 10.4305 2.15623ZM6.88485 2.34868C6.87093 2.34741 6.85656 2.34893 6.8424 2.35361C6.78576 2.37193 6.75496 2.43202 6.77337 2.48839L6.93454 2.98208C6.95296 3.03845 7.01338 3.06911 7.07002 3.05079C7.12666 3.03246 7.15741 2.97233 7.139 2.91596L6.97783 2.42227C6.96404 2.37999 6.9266 2.35221 6.88485 2.34868ZM11.116 2.34893C11.0742 2.35247 11.0368 2.38026 11.023 2.42253L10.8617 2.91618C10.8433 2.97255 10.8741 3.03268 10.9307 3.05101C10.9874 3.06933 11.0478 3.0387 11.0662 2.98235L11.2275 2.48866C11.2459 2.43229 11.2151 2.37215 11.1585 2.35383C11.1443 2.34925 11.1299 2.34776 11.116 2.34893ZM6.20309 2.59698C6.18912 2.59723 6.17498 2.60028 6.16138 2.60631C6.10699 2.63038 6.08263 2.69334 6.10682 2.74751L6.61043 3.87517C6.63462 3.92932 6.69788 3.95354 6.7523 3.92947C6.8067 3.9054 6.8311 3.84243 6.80691 3.78827L6.30325 2.66061C6.28512 2.61998 6.24498 2.59617 6.20309 2.59698ZM11.8055 2.60076C11.7636 2.6 11.7234 2.62367 11.7052 2.66425L11.2001 3.79122C11.1758 3.84535 11.2 3.90837 11.2544 3.93251C11.3088 3.95666 11.3721 3.93253 11.3964 3.8784L11.9015 2.75143C11.9258 2.6973 11.9016 2.63429 11.8472 2.61014C11.8336 2.60411 11.8194 2.60107 11.8055 2.60076ZM5.57026 2.93022C5.54963 2.92869 5.52836 2.93327 5.50902 2.9444C5.45745 2.97404 5.4399 3.03921 5.46968 3.09054L5.73047 3.54009C5.76024 3.59142 5.82573 3.60888 5.8773 3.57924C5.92888 3.54961 5.94642 3.48444 5.91665 3.4331L5.65586 2.98356C5.63724 2.95147 5.60466 2.93261 5.57026 2.93022ZM12.4296 2.93022C12.3952 2.9325 12.3627 2.95146 12.3441 2.98355L12.0832 3.4331C12.0534 3.48443 12.071 3.5496 12.1226 3.57924C12.1742 3.60887 12.2397 3.59141 12.2695 3.54008L12.5302 3.09053C12.56 3.0392 12.5425 2.97403 12.4909 2.94439C12.4716 2.93328 12.4502 2.92879 12.4296 2.93022ZM4.95577 3.31166C4.93508 3.31242 4.91437 3.31903 4.89629 3.33207C4.84809 3.36687 4.83743 3.43351 4.87241 3.48149L5.60048 4.48037C5.63545 4.52834 5.70245 4.53895 5.75066 4.50416C5.79887 4.46935 5.80952 4.40271 5.77454 4.35474L5.04642 3.35586C5.02456 3.32587 4.99023 3.31049 4.95577 3.31166ZM13.0518 3.3171C13.0173 3.31583 12.983 3.3312 12.9611 3.36115L12.2316 4.35906C12.1966 4.40699 12.2072 4.47365 12.2553 4.50852C12.3035 4.54339 12.3705 4.5329 12.4055 4.48499L13.1349 3.48708C13.17 3.43915 13.1594 3.37248 13.1112 3.33761C13.0932 3.32455 13.0725 3.31783 13.0518 3.3171ZM4.4065 3.77011C4.37906 3.76858 4.35106 3.77771 4.32893 3.79754C4.28467 3.83719 4.28111 3.90457 4.32096 3.94862L4.66994 4.33445C4.70978 4.3785 4.77748 4.38204 4.82175 4.34238C4.86601 4.30272 4.86957 4.2353 4.82971 4.19125L4.48078 3.80547C4.46086 3.78343 4.43395 3.77154 4.4065 3.77011ZM13.5942 3.77087C13.5667 3.7724 13.5398 3.78422 13.5199 3.80624L13.1709 4.19198C13.131 4.23602 13.1346 4.30344 13.1788 4.3431C13.2231 4.38276 13.2908 4.37921 13.3306 4.33517L13.6797 3.94944C13.7195 3.90539 13.716 3.83797 13.6717 3.79831C13.6496 3.77849 13.6216 3.76944 13.5942 3.77087ZM3.88006 4.27338C3.85262 4.27491 3.82575 4.28672 3.80583 4.30875C3.76599 4.3528 3.76955 4.42018 3.8138 4.45983L4.73534 5.28547C4.7796 5.32512 4.84729 5.32158 4.88714 5.27754C4.92698 5.23349 4.92347 5.16611 4.87919 5.12645L3.95762 4.30082C3.93547 4.281 3.90751 4.27194 3.88006 4.27338ZM14.1231 4.27699C14.0957 4.27546 14.0677 4.28456 14.0455 4.30437L13.1234 5.12936C13.0791 5.16898 13.0755 5.23636 13.1153 5.28044C13.1551 5.32452 13.2229 5.3281 13.2672 5.28847L14.1893 4.46348C14.2336 4.42386 14.2372 4.35648 14.1974 4.3124C14.1775 4.29037 14.1506 4.27844 14.1231 4.27699ZM3.44229 4.83362C3.40782 4.83235 3.37346 4.8478 3.35159 4.87776C3.31658 4.92571 3.3272 4.99234 3.37539 5.02718L3.79735 5.3323C3.84553 5.36714 3.91247 5.35662 3.94748 5.30866C3.98248 5.26071 3.97189 5.19403 3.92373 5.15919L3.50177 4.85408C3.48371 4.84101 3.46296 4.83436 3.44229 4.83362ZM14.5605 4.83751C14.5398 4.83827 14.5191 4.84485 14.501 4.85792L14.0789 5.16276C14.0307 5.19757 14.02 5.26425 14.055 5.31222C14.09 5.3602 14.1569 5.37076 14.2051 5.33596L14.6273 5.03112C14.6755 4.99632 14.6861 4.92968 14.6512 4.88171C14.6293 4.85172 14.595 4.83633 14.5605 4.83751ZM3.03318 5.43121C2.99878 5.4335 2.96624 5.45246 2.94763 5.48454C2.91785 5.53587 2.93539 5.60105 2.98697 5.63068L4.06077 6.2477C4.11235 6.27734 4.17783 6.25988 4.20761 6.20855C4.23739 6.15722 4.21984 6.09204 4.16827 6.06241L3.09447 5.44538C3.07513 5.43428 3.05382 5.42979 3.03318 5.43121ZM14.9667 5.43121C14.9461 5.42969 14.9247 5.43426 14.9054 5.44539L13.8316 6.06242C13.78 6.09205 13.7625 6.15723 13.7923 6.20856C13.822 6.25989 13.8875 6.27735 13.9391 6.24771L15.013 5.63069C15.0645 5.60106 15.0821 5.53588 15.0523 5.48455C15.0337 5.45247 15.0011 5.4336 14.9667 5.43121ZM2.72387 6.06818C2.68197 6.06716 2.6418 6.09103 2.62361 6.13162C2.59934 6.18575 2.62359 6.24877 2.67798 6.27291L3.15436 6.48439C3.20875 6.50854 3.27207 6.48441 3.29633 6.43028C3.32059 6.37614 3.2963 6.31313 3.24191 6.28898L2.76557 6.07751C2.75199 6.07146 2.73783 6.06846 2.72387 6.06818ZM15.2781 6.07258C15.2641 6.07283 15.2499 6.07588 15.2363 6.08191L14.7599 6.29301C14.7055 6.31713 14.6811 6.38011 14.7054 6.43426C14.7296 6.48841 14.7929 6.51262 14.8473 6.48851L15.3238 6.27736C15.3782 6.25326 15.4025 6.19026 15.3783 6.13611C15.3601 6.0955 15.32 6.07175 15.2781 6.07258ZM2.44819 6.73393C2.40644 6.73741 2.369 6.76517 2.35517 6.80744C2.33673 6.86379 2.36743 6.92395 2.42406 6.94231L3.603 7.32463C3.65962 7.34298 3.72006 7.3124 3.73851 7.25606C3.75695 7.19971 3.72626 7.13955 3.66962 7.12119L2.49069 6.73887C2.47654 6.73427 2.46211 6.73276 2.44819 6.73393ZM15.5533 6.7385C15.5393 6.73723 15.525 6.73876 15.5108 6.74343L14.3316 7.12492C14.275 7.14325 14.2442 7.20338 14.2626 7.25975C14.281 7.31612 14.3414 7.34674 14.3981 7.32841L15.5772 6.94692C15.6339 6.9286 15.6647 6.86846 15.6463 6.8121C15.6325 6.76982 15.595 6.74203 15.5533 6.7385ZM2.27644 7.43278C2.22636 7.43227 2.18144 7.46686 2.17061 7.51759C2.15822 7.57557 2.19518 7.63216 2.25342 7.64448L2.76363 7.75239C2.82188 7.76472 2.87873 7.72794 2.89112 7.66997C2.9035 7.61199 2.86655 7.55541 2.8083 7.54308L2.29815 7.43517C2.29087 7.43365 2.28359 7.43278 2.27644 7.43278ZM15.7237 7.43379C15.7165 7.43385 15.7093 7.43481 15.702 7.43608L15.1918 7.54394C15.1336 7.55627 15.0966 7.61281 15.109 7.67078C15.1214 7.72876 15.1782 7.76556 15.2365 7.75325L15.7466 7.64539C15.8049 7.63306 15.8419 7.57648 15.8295 7.5185C15.8187 7.46777 15.7737 7.43337 15.7237 7.43379ZM2.14644 8.13573C2.09659 8.14048 2.05555 8.17941 2.05008 8.23098C2.04382 8.28993 2.08643 8.34241 2.14565 8.34863L3.37873 8.47838C3.43795 8.48461 3.49068 8.44216 3.49694 8.38322C3.5032 8.32428 3.46055 8.2718 3.40132 8.26557L2.16825 8.13582C2.16084 8.13506 2.15356 8.13506 2.14644 8.13573ZM15.8546 8.14495C15.8475 8.14419 15.8401 8.14419 15.8327 8.14504L14.5995 8.27313C14.5403 8.27928 14.4976 8.33169 14.5038 8.39064C14.5099 8.44959 14.5626 8.4921 14.6218 8.48595L15.855 8.35786C15.9143 8.35171 15.957 8.2993 15.9508 8.24035C15.9454 8.18876 15.9044 8.14978 15.8546 8.14495ZM2.12556 8.85529C2.066 8.85529 2.01807 8.90301 2.01807 8.96228C2.01807 9.02155 2.066 9.06926 2.12556 9.06926H2.64713C2.70668 9.06926 2.75467 9.02155 2.75467 8.96228C2.75467 8.90301 2.70668 8.85529 2.64713 8.85529H2.12556ZM15.3527 8.85529C15.2932 8.85529 15.2452 8.90301 15.2452 8.96228C15.2452 9.02155 15.2932 9.06926 15.3527 9.06926H15.8743C15.9339 9.06926 15.9818 9.02155 15.9818 8.96228C15.9818 8.90301 15.9339 8.85529 15.8743 8.85529H15.3527ZM3.39988 9.43852C3.39276 9.43775 3.38548 9.43776 3.37807 9.43861L2.14481 9.56669C2.08558 9.57284 2.04288 9.62525 2.04905 9.6842C2.05523 9.74316 2.10789 9.78566 2.16712 9.77951L3.40039 9.65142C3.45962 9.64527 3.50232 9.59286 3.49614 9.53391C3.49073 9.48233 3.44973 9.44334 3.39988 9.43852ZM14.5993 9.44609C14.5495 9.45084 14.5085 9.48977 14.503 9.54135C14.4967 9.60029 14.5393 9.65277 14.5986 9.659L15.8316 9.78875C15.8909 9.79498 15.9436 9.75253 15.9498 9.69359C15.9561 9.63464 15.9134 9.58216 15.8542 9.57593L14.6212 9.44619C14.6138 9.44542 14.6065 9.44542 14.5993 9.44609ZM2.78515 10.1689C2.778 10.1689 2.77072 10.1696 2.76345 10.1711L2.25324 10.279C2.19499 10.2913 2.15806 10.3479 2.17043 10.4059C2.18282 10.4639 2.23967 10.5006 2.29792 10.4883L2.80812 10.3805C2.86638 10.3682 2.90331 10.3116 2.89094 10.2536C2.88011 10.2029 2.83523 10.1684 2.78515 10.1689ZM15.2146 10.1699C15.1645 10.1694 15.1196 10.2039 15.1088 10.2546C15.0964 10.3126 15.1333 10.3692 15.1916 10.3815L15.7018 10.4894C15.76 10.5018 15.8169 10.465 15.8293 10.4071C15.8416 10.3491 15.8047 10.2925 15.7464 10.2801L15.2363 10.1722C15.229 10.1707 15.2217 10.1699 15.2146 10.1699ZM3.64429 10.5913C3.63037 10.59 3.616 10.5915 3.60184 10.5962L2.42263 10.9777C2.36599 10.996 2.33523 11.0561 2.35364 11.1125C2.37205 11.1689 2.43247 11.1995 2.48911 11.1812L3.66827 10.7997C3.72491 10.7813 3.75572 10.7212 3.73731 10.6648C3.72349 10.6226 3.68604 10.5948 3.64429 10.5913ZM14.3544 10.595C14.3127 10.5985 14.2752 10.6263 14.2614 10.6685C14.243 10.7249 14.2737 10.7851 14.3303 10.8034L15.5092 11.1857C15.5659 11.2041 15.6263 11.1735 15.6447 11.1172C15.6632 11.0608 15.6325 11.0007 15.5759 10.9823L14.3969 10.6C14.3828 10.5954 14.3683 10.5939 14.3544 10.595ZM3.19431 11.4268C3.18034 11.4271 3.1662 11.4301 3.1526 11.4361L2.67608 11.6472C2.62167 11.6713 2.59739 11.7343 2.62161 11.7885C2.64585 11.8426 2.70913 11.8668 2.76353 11.8427L3.24005 11.6316C3.29446 11.6075 3.31874 11.5445 3.29452 11.4903C3.27636 11.4497 3.2362 11.426 3.19431 11.4268ZM14.8038 11.4309C14.762 11.4299 14.7218 11.4537 14.7036 11.4943C14.6793 11.5485 14.7036 11.6115 14.758 11.6356L15.2343 11.8471C15.2887 11.8712 15.352 11.8471 15.3763 11.793C15.4005 11.7388 15.3763 11.6758 15.3219 11.6517L14.8456 11.4402C14.832 11.4342 14.8178 11.4312 14.8038 11.4309ZM4.12206 11.6627C4.10142 11.6612 4.08011 11.6658 4.06077 11.6769L2.98697 12.2939C2.93539 12.3236 2.91785 12.3887 2.94763 12.4401C2.9774 12.4914 3.04289 12.5089 3.09447 12.4792L4.16827 11.8622C4.21984 11.8326 4.23739 11.7674 4.20761 11.7161C4.18899 11.684 4.15646 11.6651 4.12206 11.6627ZM13.8779 11.6627C13.8435 11.665 13.8109 11.684 13.7923 11.7161C13.7625 11.7674 13.78 11.8326 13.8316 11.8622L14.9054 12.4792C14.957 12.5089 15.0225 12.4914 15.0523 12.4401C15.0821 12.3887 15.0645 12.3236 15.013 12.2939L13.9391 11.6769C13.9198 11.6658 13.8985 11.6613 13.8779 11.6627ZM3.85422 12.5682C3.83354 12.569 3.81282 12.5756 3.79474 12.5887L3.3726 12.8935C3.3244 12.9283 3.31373 12.9949 3.3487 13.0429C3.38367 13.0909 3.45063 13.1015 3.49883 13.0667L3.92102 12.7618C3.96923 12.727 3.97989 12.6604 3.94492 12.6124C3.92306 12.5824 3.88868 12.567 3.85422 12.5682ZM14.1431 12.5718C14.1086 12.5705 14.0743 12.586 14.0524 12.6159C14.0174 12.6639 14.028 12.7306 14.0762 12.7654L14.4982 13.0705C14.5463 13.1054 14.6133 13.0948 14.6483 13.0468C14.6833 12.9989 14.6727 12.9323 14.6245 12.8974L14.2026 12.5923C14.1845 12.5792 14.1638 12.5725 14.1431 12.5718ZM4.81032 12.6087C4.78288 12.6072 4.7549 12.6163 4.73275 12.6361L3.81061 13.4611C3.76632 13.5007 3.76273 13.5681 3.80254 13.6122C3.84235 13.6563 3.91005 13.6598 3.95434 13.6202L4.87648 12.7952C4.92077 12.7556 4.92437 12.6882 4.88455 12.6442C4.86466 12.6221 4.83776 12.6102 4.81032 12.6087ZM13.187 12.6117C13.1596 12.6132 13.1326 12.625 13.1127 12.6471C13.0729 12.6911 13.0764 12.7585 13.1207 12.7981L14.0422 13.6238C14.0865 13.6634 14.1542 13.6599 14.1941 13.6158C14.2339 13.5718 14.2304 13.5044 14.1861 13.4648L13.2645 12.6391C13.2424 12.6193 13.2144 12.6103 13.187 12.6117ZM5.68514 13.3954C5.65068 13.3942 5.61629 13.4095 5.59439 13.4395L4.86498 14.4374C4.82994 14.4853 4.84048 14.552 4.88862 14.5869C4.93678 14.6217 5.00377 14.6112 5.0388 14.5633L5.76822 13.5654C5.80325 13.5175 5.79271 13.4508 5.74457 13.4159C5.72651 13.4029 5.70581 13.3962 5.68514 13.3954ZM12.3088 13.3999C12.2881 13.4007 12.2673 13.4073 12.2493 13.4203C12.2011 13.4551 12.1904 13.5218 12.2254 13.5697L12.9534 14.5686C12.9884 14.6166 13.0554 14.6272 13.1036 14.5924C13.1518 14.5576 13.1624 14.491 13.1275 14.443L12.3994 13.4441C12.3775 13.4141 12.3432 13.3987 12.3088 13.3999ZM4.74351 13.554C4.71607 13.5556 4.68916 13.5674 4.66924 13.5894L4.32026 13.9752C4.2804 14.0192 4.28393 14.0866 4.3282 14.1263C4.37246 14.1659 4.44015 14.1624 4.48 14.1183L4.82902 13.7326C4.86888 13.6885 4.8653 13.6211 4.82106 13.5815C4.79891 13.5616 4.77096 13.5526 4.74351 13.554ZM13.2557 13.5546C13.2283 13.553 13.2003 13.5622 13.1782 13.582C13.1339 13.6216 13.1304 13.689 13.1702 13.7331L13.5191 14.1189C13.559 14.1629 13.6267 14.1665 13.6709 14.1268C13.7152 14.0872 13.7188 14.0197 13.6789 13.9757L13.33 13.5899C13.31 13.5679 13.2832 13.556 13.2557 13.5546ZM6.70373 13.9825C6.66184 13.9815 6.62172 14.0053 6.60352 14.0459L6.09833 15.1729C6.07406 15.227 6.09831 15.29 6.1527 15.3142C6.20709 15.3383 6.27041 15.3142 6.29467 15.2601L6.79986 14.1331C6.82412 14.079 6.79987 14.016 6.74548 13.9918C6.7319 13.9858 6.71769 13.9828 6.70373 13.9825ZM11.2893 13.9856C11.2754 13.9858 11.2612 13.9888 11.2476 13.9949C11.1932 14.0189 11.1688 14.0819 11.193 14.1361L11.6966 15.2637C11.7208 15.3179 11.7841 15.3421 11.8385 15.318C11.8929 15.294 11.9173 15.231 11.8931 15.1768L11.3895 14.0492C11.3714 14.0086 11.3312 13.9848 11.2893 13.9856ZM5.81602 14.3309C5.78162 14.3332 5.74907 14.3522 5.73047 14.3843L5.46968 14.8338C5.4399 14.8851 5.45745 14.9503 5.50902 14.9799C5.5606 15.0096 5.62609 14.9921 5.65586 14.9408L5.91665 14.4912C5.94642 14.4399 5.92888 14.3747 5.8773 14.3451C5.85797 14.334 5.83666 14.3295 5.81602 14.3309ZM12.1839 14.3309C12.1632 14.3294 12.142 14.334 12.1226 14.3451C12.071 14.3747 12.0535 14.4399 12.0833 14.4913L12.3441 14.9408C12.3738 14.9921 12.4393 15.0096 12.4909 14.98C12.5425 14.9503 12.56 14.8851 12.5302 14.8338L12.2695 14.3843C12.2508 14.3522 12.2183 14.3333 12.1839 14.3309ZM7.82838 14.347C7.7783 14.3465 7.73343 14.3811 7.7226 14.4318L7.46493 15.6389C7.45254 15.6969 7.48949 15.7535 7.54774 15.7658C7.606 15.7782 7.66286 15.7414 7.67523 15.6834L7.93291 14.4763C7.94529 14.4183 7.90834 14.3617 7.85009 14.3494C7.84281 14.3479 7.83553 14.347 7.82838 14.347ZM10.1677 14.3478C10.1605 14.3479 10.1533 14.3486 10.146 14.3501C10.0878 14.3624 10.0508 14.4189 10.0631 14.4769L10.3199 15.6842C10.3323 15.7422 10.3891 15.779 10.4474 15.7667C10.5056 15.7544 10.5426 15.6979 10.5303 15.6399L10.2734 14.4326C10.2626 14.3819 10.2178 14.3474 10.1677 14.3478ZM8.99994 14.4696C8.94038 14.4696 8.89244 14.5173 8.89244 14.5766V15.8106C8.89244 15.8699 8.94038 15.9176 8.99994 15.9176C9.05949 15.9176 9.10743 15.8699 9.10743 15.8106V14.5766C9.10743 14.5173 9.05949 14.4696 8.99994 14.4696ZM7.02668 14.8683C6.98493 14.8719 6.94747 14.8996 6.93366 14.9419L6.77244 15.4356C6.75403 15.492 6.7848 15.5521 6.84143 15.5704C6.89807 15.5888 6.95849 15.5581 6.9769 15.5017L7.13812 15.0081C7.15653 14.9517 7.12576 14.8916 7.06913 14.8733C7.05499 14.8687 7.0406 14.8672 7.02668 14.8683ZM10.9724 14.8686C10.9584 14.8673 10.9441 14.8688 10.9299 14.8735C10.8733 14.8918 10.8425 14.9519 10.8609 15.0083L11.022 15.502C11.0405 15.5584 11.1009 15.589 11.1575 15.5707C11.2142 15.5523 11.245 15.4923 11.2266 15.4359L11.0653 14.9422C11.0515 14.8999 11.0141 14.8721 10.9724 14.8686ZM8.32517 15.1435C8.27532 15.1483 8.23426 15.1873 8.22881 15.2388L8.1743 15.7551C8.16807 15.8141 8.21074 15.8665 8.26996 15.8727C8.32919 15.8789 8.3819 15.8364 8.38813 15.7775L8.44264 15.2612C8.44888 15.2023 8.40621 15.1498 8.34698 15.1436C8.33958 15.1429 8.3323 15.1429 8.32517 15.1435ZM9.67038 15.1441C9.66326 15.1433 9.65593 15.1433 9.64852 15.1441C9.58929 15.1503 9.54658 15.2027 9.55276 15.2617L9.60695 15.778C9.61313 15.8369 9.66579 15.8794 9.72503 15.8732C9.78426 15.8671 9.82697 15.8147 9.82079 15.7557L9.76664 15.2394C9.76123 15.1879 9.72023 15.1489 9.67038 15.1441Z" fill="#F4F2F3"></path><g opacity="0.409" filter="url(#filter1_f_232_10586)"><path d="M14.0382 4.68274L8.15683 8.08356L4.43823 13.9098L9.87824 9.89966L14.0382 4.68274Z" fill="black"></path></g><path d="M9.84301 9.84055L8.15723 8.08353L14.1374 4.07983L9.84301 9.84055Z" fill="#FF5150"></path><path d="M9.84292 9.84063L8.15713 8.08362L3.86279 13.8443L9.84292 9.84063Z" fill="#F1F1F1"></path><path opacity="0.243" d="M3.86279 13.8443L9.84292 9.84055L14.1373 4.07983L3.86279 13.8443Z" fill="black"></path><defs><filter id="filter0_f_232_10586" x="0.688705" y="1.62352" width="16.6231" height="15.9814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.302498" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><filter id="filter1_f_232_10586" x="4.26628" y="4.51078" width="9.94377" height="9.57096" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="0.0859783" result="effect1_foregroundBlur_232_10586"></feGaussianBlur></filter><linearGradient id="paint0_linear_232_10586" x1="8.99971" y1="16.9237" x2="8.99971" y2="0.999958" gradientUnits="userSpaceOnUse"><stop stop-color="#BDBDBD"></stop><stop offset="1" stop-color="white"></stop></linearGradient><radialGradient id="paint1_radial_232_10586" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.03308 7.89198) scale(7.99997 7.96192)"><stop stop-color="#06C2E7"></stop><stop offset="0.25" stop-color="#0DB8EC"></stop><stop offset="0.5" stop-color="#12AEF1"></stop><stop offset="0.75" stop-color="#1F86F9"></stop><stop offset="1" stop-color="#107DDD"></stop></radialGradient></defs></svg>');function Rb(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=jb();Si(o,()=>({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Wb=fo('<svg><path d="M7.99962 0.00107943C3.58157 0.00107943 0 3.58265 0 8.0007C0 12.2909 3.37753 15.7923 7.61864 15.991C7.7452 15.997 7.87197 16.0004 7.99974 16.0004C10.0479 16.0004 11.9157 15.2302 13.331 13.9646C12.3933 14.5864 11.297 14.9443 10.1254 14.9443C8.22031 14.9443 6.51416 13.9992 5.36668 12.5088C4.48211 11.4647 3.90919 9.92121 3.87016 8.18901V7.81228C3.90917 6.08014 4.48209 4.53635 5.36646 3.49244C6.51411 2.0021 8.2202 1.05702 10.1251 1.05702C11.2971 1.05702 12.3936 1.41484 13.3314 2.03712C11.923 0.777236 10.0664 0.00868366 8.02971 0.00112034C8.01956 0.00112034 8.00961 0.000724167 7.99946 0.000724167L7.99962 0.00107943Z" fill="url(#paint0_linear_232_10612)"></path><path d="M5.3667 3.49288C6.10082 2.62623 7.04889 2.10363 8.0847 2.10363C10.4136 2.10363 12.3012 4.74402 12.3012 8.00105C12.3012 11.2581 10.4135 13.8985 8.0847 13.8985C7.04889 13.8985 6.10082 13.3761 5.3669 12.5094C6.51435 13.9997 8.22036 14.9448 10.1256 14.9448C11.2973 14.9448 12.3936 14.587 13.3312 13.9651C14.9686 12.5003 15.9997 10.3711 15.9997 8.0011C15.9997 5.63136 14.9688 3.50234 13.3318 2.03765C12.3939 1.41537 11.2974 1.05755 10.1256 1.05755C8.22055 1.05755 6.51418 2.00254 5.3667 3.49288Z" fill="url(#paint1_linear_232_10612)"></path><defs><linearGradient id="paint0_linear_232_10612" x1="6.66588" y1="0.261846" x2="6.66588" y2="15.7678" gradientUnits="userSpaceOnUse"><stop stop-color="#FF1B2D"></stop><stop offset="0.3" stop-color="#FF1B2D"></stop><stop offset="0.614" stop-color="#FF1B2D"></stop><stop offset="1" stop-color="#A70014"></stop></linearGradient><linearGradient id="paint1_linear_232_10612" x1="10.683" y1="1.17591" x2="10.683" y2="14.8901" gradientUnits="userSpaceOnUse"><stop stop-color="#9C0000"></stop><stop offset="0.7" stop-color="#FF4B4B"></stop><stop offset="1" stop-color="#FF4B4B"></stop></linearGradient></defs></svg>');function Vb(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Wb();Si(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Bb=fo('<svg><path d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint0_linear_232_10617)"></path><path opacity="0.35" d="M14.4437 11.9062C14.2291 12.0177 14.0079 12.1159 13.7812 12.2C13.0634 12.4672 12.3033 12.6027 11.5375 12.6C8.5812 12.6 6.0062 10.5688 6.0062 7.95625C6.01004 7.60643 6.10703 7.26394 6.28719 6.96405C6.46734 6.66415 6.72416 6.41768 7.0312 6.25C4.3562 6.3625 3.6687 9.15 3.6687 10.7812C3.6687 15.4062 7.92495 15.8687 8.8437 15.8687C9.33745 15.8687 10.0812 15.725 10.5312 15.5813L10.6125 15.5562C12.3346 14.9611 13.8027 13.7972 14.775 12.2563C14.8032 12.2094 14.8153 12.1546 14.8095 12.1003C14.8036 12.0459 14.7801 11.9949 14.7425 11.9552C14.7049 11.9155 14.6553 11.8892 14.6013 11.8804C14.5474 11.8715 14.492 11.8806 14.4437 11.9062Z" fill="url(#paint1_radial_232_10617)"></path><path d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint2_linear_232_10617)"></path><path opacity="0.41" d="M6.60619 15.0812C6.04987 14.7357 5.56764 14.2832 5.18744 13.75C4.75328 13.1557 4.45442 12.4736 4.31185 11.7516C4.16928 11.0296 4.18644 10.2851 4.36213 9.57046C4.53782 8.85578 4.86779 8.1882 5.32887 7.61458C5.78996 7.04097 6.37099 6.5752 7.03119 6.24998C7.23119 6.15623 7.56244 5.99373 8.00619 5.99998C8.31845 6.00239 8.62591 6.07699 8.90456 6.21794C9.1832 6.35889 9.42548 6.56237 9.61244 6.81248C9.86392 7.15065 10.0018 7.55982 10.0062 7.98123C10.0062 7.96873 11.5374 3.00623 5.00619 3.00623C2.26244 3.00623 0.00619129 5.60623 0.00619129 7.89373C-0.00472213 9.10207 0.253615 10.2977 0.762441 11.3937C1.59574 13.1681 3.05153 14.5748 4.85346 15.3467C6.6554 16.1186 8.67804 16.2021 10.5374 15.5812C9.88601 15.787 9.19768 15.8488 8.52 15.7625C7.84233 15.6762 7.19149 15.4437 6.61244 15.0812H6.60619Z" fill="url(#paint3_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint4_radial_232_10617)"></path><path d="M9.525 9.3C9.46875 9.3625 9.3125 9.45625 9.3125 9.65C9.3125 9.8125 9.41875 9.975 9.6125 10.1062C10.5062 10.7312 12.2 10.6438 12.2062 10.6438C12.8725 10.6433 13.5265 10.4642 14.1 10.125C14.6774 9.78729 15.1565 9.30452 15.4897 8.72458C15.823 8.14463 15.9989 7.48764 16 6.81875C16.0188 5.41875 15.5 4.4875 15.2937 4.075C13.9625 1.4875 11.1063 3.91651e-08 8 3.91651e-08C5.89762 -0.000207848 3.87965 0.827187 2.38255 2.30323C0.885453 3.77928 0.0295648 5.78532 0 7.8875C0.03125 5.60625 2.3 3.7625 5 3.7625C5.21875 3.7625 6.46875 3.78125 7.625 4.3875C8.43732 4.79116 9.11001 5.42902 9.55625 6.21875C9.9375 6.88125 10.0062 7.725 10.0062 8.0625C10.0062 8.4 9.8375 8.89375 9.51875 9.30625L9.525 9.3Z" fill="url(#paint5_radial_232_10617)"></path><defs><linearGradient id="paint0_linear_232_10617" x1="3.6687" y1="11.0625" x2="14.8187" y2="11.0625" gradientUnits="userSpaceOnUse"><stop stop-color="#0C59A4"></stop><stop offset="1" stop-color="#114A8B"></stop></linearGradient><radialGradient id="paint1_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.82495 11.1466) scale(5.9625 5.66437)"><stop offset="0.7" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><linearGradient id="paint2_linear_232_10617" x1="9.54369" y1="6.22498" x2="2.58744" y2="13.8062" gradientUnits="userSpaceOnUse"><stop stop-color="#1B9DE2"></stop><stop offset="0.2" stop-color="#1595DF"></stop><stop offset="0.7" stop-color="#0680D7"></stop><stop offset="1" stop-color="#0078D4"></stop></linearGradient><radialGradient id="paint3_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.40963 12.4335) rotate(-81.3844) scale(8.96163 7.24009)"><stop offset="0.8" stop-opacity="0"></stop><stop offset="0.9" stop-opacity="0.5"></stop><stop offset="1"></stop></radialGradient><radialGradient id="paint4_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1.61812 2.95725) rotate(92.2906) scale(12.6601 26.9634)"><stop stop-color="#35C1F1"></stop><stop offset="0.1" stop-color="#34C1ED"></stop><stop offset="0.2" stop-color="#2FC2DF"></stop><stop offset="0.3" stop-color="#2BC3D2"></stop><stop offset="0.7" stop-color="#36C752"></stop></radialGradient><radialGradient id="paint5_radial_232_10617" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.0038 4.83125) rotate(73.7398) scale(6.08125 4.94527)"><stop stop-color="#66EB6E"></stop><stop offset="1" stop-color="#66EB6E" stop-opacity="0"></stop></radialGradient></defs></svg>');function Ub(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Bb();Si(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Zb=po("<div><!></div>"),qb=po('<div class="w-36 flex-center"><!></div>'),Kb=po("<!> <!>",1);po('<span role="button" tabindex="0"><!></span> <div popover="manual"> </div>',1);var Gb=po('<div class="flex justify-between items-center"><!> <div class="flex gap-0 touch:gap-6 items-center"><!> <!> <!></div></div> <p><!></p>',1);function Xb(e,t){ue(t,!0);const{hover:r,comments:o,auth:i}=Zx();Qe(()=>i?.user?.id===t.expand?.createdBy?.id);let n=Qe(()=>!0===i?.user?.guest);const s=Qe(()=>{return e=t.content,r=t.expand?.mentions||[],e?(Array.isArray(e)?e:[]).map(e=>{switch(e.type){case"text":return Ab(e.value).replace(/\n/g,"<br>").replace(Ob,e=>`<a href="${Ab(e.replace(/&/g,"&"))}" target="_blank" rel="noopener noreferrer" class="text-sky-400 line-clamp-3 hover:underline break-all">${e}</a>`);case"mention":{const t=r.find(t=>t.id===e.userId),o=t?t.name||[t.firstName,t.lastName].filter(Boolean).join(" ")||t.email||"Unknown":"Deleted User";return`<span class="text-sky-400" data-mention-id="${e.userId}">${Ab(o)}</span>`}case"image":return`<img src="${Ab(e.src)}" alt="${Ab(e.alt||"")}" data-fubi-comment-image />`;case"link":return e.title&&e.favicon?`<a href="${Ab(e.url)}" target="_blank" rel="noopener noreferrer" class="inline-flex items-center gap-1.5 app:gap-6 px-2 app:px-8 py-0.5 app:py-2 rounded-full bg-white/10 text-sky-400 hover:bg-white/15 text-[13px] no-underline max-w-full align-middle" data-fubi-link-badge><img src="${Ab(e.favicon)}" class="size-4 app:size-16 rounded-sm shrink-0" alt="" /><span class="truncate">${Ab(e.title)}</span></a>`:`<a href="${Ab(e.url)}" target="_blank" rel="noopener noreferrer" class="text-sky-400 hover:underline break-all">${Ab(e.url)}</a>`}}).join(""):"";var e,r}),a=Qe(()=>o.highlightRenderedHTML(jr(s)));var l=Gb(),c=At(l),d=Ot(c);{let e=Qe(()=>t.expand?.createdBy);Rv(d,{get created(){return t.created},get author(){return jr(e)}})}var u=zt(d,2),h=Ot(u),p=e=>{!function(e,t){ue(t,!0);const{resolution:r,modals:o,environment:i}=Zx(),n=Qe(()=>t.info?.resolution?.[0]??0),s=Qe(()=>t.info?.resolution?.[1]??0),a=Qe(()=>xs(jr(n),jr(s))||"Unknown"),l=Qe(()=>t.info.browser||["unknown",""]);let c=ut(!1),d=Qe(()=>r.width===jr(n)&&r.height===jr(s)),u=!1;const h=()=>{o.isOpen("resolution")&&jr(d)?r.hide():r.show(jr(n),jr(s))};{const r=(e,t)=>{let r=()=>t?.().props;const o=Qe(()=>r().onclick),n=Qe(()=>r().onpointerdown);Fg(e,Bi(r,{get active(){return jr(c)},get icon(){return zb[jr(a)]},onpointerdown:e=>{u=!0,jr(n)?.(e)},onclick:e=>{i.touch&&!u||(u=!1,jr(o)?.(e))}}))};Hp(e,{side:"top",sideOffset:4,align:"end",origin:"origin-bottom-right",get opened(){return jr(c)},set opened(e){pt(c,e,!0)},child:r,children:(e,r)=>{var i=Kb(),c=At(i),u=e=>{{let t=Qe(()=>`${jr(n)}×${jr(s)}`),r=Qe(()=>o.isOpen("resolution")&&jr(d));zf(e,{get title(){return jr(a)},get subtitle(){return jr(t)},get icon(){return zb[jr(a)]},get active(){return jr(r)},onclick:h})}};_o(c,e=>{t.info?.resolution&&e(u)});var p=zt(c,2),g=e=>{{const t=e=>{var t=qb();!function(e,t){const r=Ui(t,"browser",3,"unknown"),o=Ui(t,"size",3,"size-5"),i={Chrome:Nb,Firefox:Db,Safari:Rb,Opera:Vb,Edge:Ub,unknown:Nb},n=Qe(()=>i[r()]||Nb);var s=Zb();Wo(Ot(s),()=>jr(n),(e,t)=>{t(e,{get class(){return o()}})}),q(s),er(()=>{ci(s,1,ni(o())),Li(s,"data-cursor-text",`${r()}`)}),bo(e,s)}(Ot(t),{get browser(){return jr(l)[0]},size:"size-22"}),q(t),bo(e,t)};zf(e,{get title(){return jr(l)[0]},get subtitle(){return jr(l)[1]},start:t,$$slots:{start:!0}})}};_o(p,e=>{t.info?.browser&&e(g)}),bo(e,i)},$$slots:{child:!0,default:!0}})}he()}(e,{get info(){return t.info}})};_o(h,e=>{(t.info?.browser||t.info?.resolution)&&e(p)});var g=zt(h,2),f=e=>{{let r=Qe(()=>o.bindingElement(t.group,t.selector)),i=Qe(()=>o.keyFor({group:t.group,selector:t.selector})),n=Qe(()=>t.info?.habitat),s=Qe(()=>t.info?.meta);Eb(e,{get element(){return jr(r)},get anchorEl(){return t.commentEl},get missing(){return t.missing},get hidden(){return t.hidden},get selector(){return t.selector},get locators(){return t.locators},get group(){return jr(i)},get habitat(){return jr(n)},get meta(){return jr(s)}})}};_o(g,e=>{t.reply||e(f)});var m=zt(g,2),v=e=>{!function(e,t){ue(t,!0);let r=ut(!1);const{settings:o,comments:i,modals:n,auth:s,hover:a}=Zx(),l=Qe(()=>i.data.find(e=>e.id===t.id)),c=Qe(()=>jr(l)?.createdBy===s.user?.id),d=Qe(()=>!jr(l)||jr(l).parent||jr(l).info?.meta?null:i.keyFor(jr(l))),u=()=>{jr(l)&&(pt(r,!1),n.open("edit-comment",jr(l)))},h=()=>{jr(d)&&(pt(r,!1),a.startReattach(jr(d)))},p=async()=>{!1!==o.current?.dontAskBeforeDelete?(pt(r,!1),await new Promise(e=>setTimeout(e,100)),await i.delete(t.id)):n.open("delete-comment",t.id)};{const t=(e,t)=>{Fg(e,Bi(()=>t?.().props,{get active(){return jr(r)},get icon(){return of}}))};Hp(e,{get opened(){return jr(r)},set opened(e){pt(r,e,!0)},child:t,children:(e,t)=>{var r=Ib(),o=At(r),i=e=>{zf(e,{title:"Edit",get icon(){return rv},onclick:u})};_o(o,e=>{jr(c)&&e(i)});var n=zt(o,2),s=e=>{zf(e,{title:"Re-attach comment",get icon(){return ev},onclick:h})};_o(n,e=>{jr(d)&&e(s)}),zf(zt(n,2),{title:"Delete",get icon(){return tv},type:"destructive",onclick:p}),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}(e,{get id(){return t.id}})};_o(m,e=>{jr(n)||e(v)}),q(u),q(c);var b=zt(c,2);jo(Ot(b),()=>jr(a)),q(b),er(()=>ci(b,1,ni(["px-4 mouse:text-sm font-normal tracking-[0.02em] cursor-text! user-select-text break-word",(t.unread,"text-neutral-100")]))),bo(e,l),he()}var Yb=po('<label class="flex-center size-26 touch:size-36 relative cursor-pointer" data-fubi-done-button="" tabindex="-1"><input/> <span class="sr-only">Add High Priority</span> <!></label>');var Jb=po('<label class="flex-center size-26 touch:size-36 relative cursor-pointer focus-visible select-none" data-fubi-priority-button="" tabindex="-1"><input/> <span class="sr-only">Add High Priority</span> <!></label>');po('<img class="size-16 touch:size-18 pointer-events-none"/>');var Qb=po('<p class="mr-4"> </p>'),ew=po("<button><!> <!></button>"),tw=po('<div class="absolute top-8 right-8 left-0 bottom-4 flex items-center justify-center bg-black/40 rounded-[8px] superellipse text-white"><!></div>'),rw=po('<button type="button"><!></button>'),ow=po('<div class="flex shrink-0 relative group/file pr-8 pt-8 pb-4"><button type="button" class="focus-visible rounded-[8px] superellipse"><img/></button> <!> <!></div>');function iw(e,t){ue(t,!0);const{media:r}=Zx();let o=Ui(t,"entry",3,null),i=Ui(t,"url",3,null),n=Ui(t,"index",3,0),s=Ui(t,"media",3,null),a=Ui(t,"removable",3,!0),l=Ui(t,"commentId",3,void 0),c=Ui(t,"filename",3,void 0),d=Ui(t,"imageWidth",3,void 0),u=Ui(t,"imageHeight",3,void 0);const h=Qe(()=>o()?.preview??i()),p=Qe(()=>o()?.preview??i()+"?thumb=64x64"),g=Qe(()=>o()?.file.name??"attachment"),f=Qe(()=>"compressing"===o()?.status);var m=ow(),v=Ot(m),b=Ot(v);ci(b,1,ni(["h-32 min-w-32 max-w-48 touch:h-48 touch:min-w-48 touch:max-w-56","object-cover bg-neutral-500/10 hover:bg-neutral-500/40 rounded-[8px] superellipse border-[0.5px] border-white/10 shadow hover:opacity-60 hover:border-white/20","transition-[opacity,background-color] duration-100 ease-out will-change-[opacity,background-color]"])),q(v);var w=zt(v,2),y=e=>{var t=tw();pf(Ot(t)),q(t),bo(e,t)};_o(w,e=>{jr(f)&&e(y)});var x=zt(w,2),k=e=>{var t=rw();ci(t,1,ni(["glass-shadow rounded-full absolute top-0 left-0 z-10 translate-y-0 -translate-x-6 size-20 flex-center scale-80 opacity-0 focus-visible backdrop-blur-lg android:backdrop-blur-none","touch:opacity-100 touch:scale-100 touch:size-20","bg-neutral-800/80 android:bg-neutral-800 hover:bg-neutral-700/80 active:bg-neutral-600/80 active:scale-90","group-hover/file:opacity-100 group-hover/file:scale-100 transition-[scale,opacity] will-change-[scale,opacity] duration-100 ease-out","group-focus-within/file:opacity-100 group-focus-within/file:scale-100"])),Ag(Ot(t),{get icon(){return gg},className:"size-14 text-white"}),q(t),so("pointerdown",t,e=>{e.preventDefault()}),so("click",t,()=>{s().remove(o().id)}),bo(e,t)};_o(x,e=>{a()&&s()&&o()&&e(k)}),q(m),er(()=>{Li(b,"src",jr(p)),Li(b,"alt",jr(g))}),so("pointerdown",v,e=>{e.preventDefault()}),so("click",v,()=>{r.previewImage(jr(h),l(),c(),o()?.width??d(),o()?.height??u())}),Qo(3,b,()=>ia,()=>({start:.8,duration:300,delay:100+40*n(),easing:js})),Qo(3,m,()=>oa,()=>({axis:"x",duration:200,easing:js})),bo(e,m),he()}ao(["pointerdown","click"]);var nw=po('<div class="w-auto items-center z-10 shrink-0 flex"></div>'),sw=po('<div class="w-16 h-27 rounded-bl-[8px] border-[0.5px] border-neutral-500/30 border-t-0 border-r-0 absolute top-0 left-0 -translate-x-4 -translate-y-2 group-first/comment:mask-t-from-50%"></div> <div class="w-0.5 h-[calc(100%-20px)] left-0 -translate-x-4 top-20 absolute bg-linear-to-b from-neutral-500/0 to-neutral-500/30 from-0% to-30% group-last/comment:hidden"></div>',1),aw=po('<div class="flex overflow-x-auto w-[calc(100%+20px)] -translate-x-10 pl-10 hide-scrollbar mask-r-from-90%"><!></div>'),lw=po('<div class="flex justify-between items-center pt-4 touch:pt-10 mouse:pl-2"><div class="flex gap-4 touch:gap-6"><!> <!></div> <!></div>'),cw=po("<div><div><!> <div><!></div> <!> <!></div></div>");function dw(e,t){ue(t,!0);let r=Ui(t,"reply",3,!1),o=Ui(t,"focused",3,!1),i=Ui(t,"replyThread",3,!1),n=ut(null);const s=!!t.created&&Date.now()-new Date(t.created).getTime()<3e3;var a=cw(),l=Ot(a),c=Ot(l),d=e=>{var t=sw();K(2),bo(e,t)};_o(c,e=>{r()&&e(d)});var u=zt(c,2);Xb(Ot(u),{get info(){return t.info},get hidden(){return t.hidden},get missing(){return t.missing},get id(){return t.id},get expand(){return t.expand},get content(){return t.content},get selector(){return t.selector},get locators(){return t.locators},get group(){return t.group},get unread(){return t.unread},get created(){return t.created},get commentEl(){return jr(n)},get reply(){return r()}}),q(u);var h=zt(u,2),p=e=>{var r=aw(),o=Ot(r);{let e=Qe(()=>({id:t.id,collectionName:"comments",media:t.media,info:t.info}));!function(e,t){ue(t,!0);var r=nw();Po(r,22,()=>t.comment.media,e=>e,(e,r,o)=>{{let i=Qe(()=>ps({id:t.comment.id,collectionName:t.comment.collectionName,media:r},"media")),n=Qe(()=>t.comment.info?.mediaDimensions?.[r]?.[0]),s=Qe(()=>t.comment.info?.mediaDimensions?.[r]?.[1]);iw(e,{get url(){return jr(i)},get index(){return jr(o)},removable:!1,get commentId(){return t.comment.id},get filename(){return r},get imageWidth(){return jr(n)},get imageHeight(){return jr(s)}})}}),q(r),bo(e,r),he()}(o,{get comment(){return jr(e)}})}q(r),bo(e,r)};_o(h,e=>{t.media&&t.media.length>0&&e(p)});var g=zt(h,2),f=e=>{var o=lw(),n=Ot(o),s=Ot(n);(function(e,t){ue(t,!0);let r=Ui(t,"checked",7,!1);const{comments:o}=Zx(),i=qn("done");{const n=(e,n)=>{var s=Yb(),a=Ot(s),l=e=>(e=>{us();const r=e.target;i.info("Changed done for comment",t.id,"to",r.checked),o.setDone(t.id,r.checked)})(e);Si(a,()=>({...n?.().props,type:"checkbox",class:["focus-visible peer absolute inset-0 w-full h-full rounded-full appearance-none cursor-pointer","transition-[scale,background-color,color] duration-100 will-change-[scale]","active:scale-95","hover:bg-neutral-500/20 touch:bg-neutral-500/10 active:bg-green-400/10","focus-visible focus-visible:bg-neutral-500/20","checked:bg-green-500/20 hover:bg-green-600/10 checked:hover:bg-green-500/20 checked:active:bg-green-600 ",r()?"glass":"glass-hover touch:bg-white/5"],onchange:l}),void 0,void 0,void 0,void 0,!0);var c=zt(a,4);{let e=Qe(()=>[r()?"icon-shadow stroke-[2px]":" stroke-[1.6px]","size-24 touch:size-30 pointer-events-none relative text-neutral-400 touch:text-neutral-400 drop-shadow-2xl","peer-hover:text-neutral-200 peer-active:text-green-400 peer-checked:peer-active:text-white",0==r()?"peer-focus-visible:text-neutral-400":"","peer-checked:text-green-400 peer-checked:peer-hover:text-green-300 "]);Yp(c,{name:"check",get class(){return jr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Unmark done":"Mark as done");Fp(e,{get text(){return jr(s)},child:n,$$slots:{child:!0}})}he()})(s,{get id(){return t.id},get checked(){return t.done}}),function(e,t){ue(t,!0);let r=Ui(t,"checked",7,!1);const{comments:o}=Zx(),i=qn("priority");{const n=(e,n)=>{var s=Jb(),a=Ot(s),l=e=>(e=>{us();const r=e.target;i.info("Changed priority for comment",t.id,"to",r.checked),o.setPriority(t.id,r.checked)})(e);Si(a,()=>({...n?.().props,type:"checkbox",class:["focus-visible peer absolute inset-0 w-full h-full rounded-[8px] touch:rounded-[10px] superellipse appearance-none cursor-pointer","transition-[scale,background-color,color] duration-100 will-change-[scale]","active:scale-95","hover:bg-neutral-500/20 touch:bg-neutral-500/10 active:bg-rose-400/10","checked:bg-rose-400/10 hover:bg-rose-600/10 checked:hover:bg-rose-600/10 checked:active:bg-rose-600/20 ",r()?"glass":"glass-hover touch:bg-white/5","focus-visible focus-visible:bg-neutral-500/20"],onchange:l}),void 0,void 0,void 0,void 0,!0);var c=zt(a,4);{let e=Qe(()=>[r()?"icon-shadow stroke-[2px]":"stroke-[1.6px]","size-24 touch:size-30 pointer-events-none relative text-neutral-400 touch:text-neutral-400","peer-hover:text-neutral-200 peer-active:text-rose-400","peer-checked:peer-hover:text-rose-400",0==r()?"peer-focus-visible:text-neutral-400":"","peer-checked:text-rose-400 peer-checked:peer-hover:text-rose-50 peer-checked:peer-active:text-rose-300"]);Yp(c,{name:"chevrons-up",get class(){return jr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Remove High Priority":"Set High Priority");Fp(e,{get text(){return jr(s)},child:n,$$slots:{child:!0}})}he()}(zt(s,2),{get id(){return t.id},get checked(){return t.priority}}),q(n);var a=zt(n,2),l=e=>{!function(e,t){ue(t,!0);const r=Ui(t,"replies",3,0),o=Wi(t,["$$slots","$$events","$$legacy","id","selector","replies"]),{hover:i}=Zx(),n=()=>{i.isolateForReply(t.id,t.selector)};{const t=(e,t)=>{var i=ew();Si(i,()=>({...o,...t?.().props,"data-fubi-comment-reply-button":!0,class:["focus-visible cursor-pointer h-26 min-w-26 touch:h-36 touch:min-w-36 font-medium rounded-[10px] text-sm/none flex-center gap-5 select-none relative superellipse","touch:rounded-[12px] touch:text-base/none"," active:scale-95","transition-[background-color,color,transform] duration-200 ease-out-cubic",r()>0?"glass px-4 touch:px-8 text-sky-500 bg-sky-500/10 hover:bg-sky-500/20 active:bg-sky-500/10 touch:bg-sky-500/10 touch:active:bg-sky-500/20":"glass-hover touch:bg-white/5 text-neutral-400 touch:text-neutral-400 hover:text-neutral-200 hover:bg-neutral-500/20 active:bg-neutral-500/10 touch:active:bg-neutral-500/20 focus-visible focus-visible:bg-neutral-500/20 focus-visible:text-neutral-400"],onclick:n}));var s=Ot(i),a=e=>{Ag(e,{get icon(){return qf},className:"size-22 touch:size-26"})},l=e=>{Ag(e,{get icon(){return bg},className:"size-22 touch:size-26"})};_o(s,e=>{0===r()?e(a):e(l,!1)});var c=zt(s,2),d=e=>{var t=Qb(),o=Ot(t,!0);q(t),er(()=>ko(o,r())),bo(e,t)};_o(c,e=>{r()>0&&e(d)}),q(i),bo(e,i)};let i=Qe(()=>0===r()?"Reply":"Show Replies");Fp(e,{get text(){return jr(i)},delay:200,child:t,$$slots:{child:!0}})}he()}(e,{get id(){return t.id},get selector(){return t.selector},get replies(){return t.replies}})};_o(a,e=>{r()||i()||e(l)}),q(o),bo(e,o)};_o(g,e=>{r()||e(f)}),q(l),Di(l,e=>pt(n,e),()=>jr(n)),q(a),er(()=>{ci(a,1,ni(["w-full group/comment",r()&&"pl-28 pt-2"])),Li(l,"data-fubi-thread-card",t.id),ci(l,1,ni(["p-10 rounded-[20px] touch:rounded-[24px] superellipse touch:p-12 flex flex-col relative","has-[.comment-focus:hover]:outline-1 has-[.comment-focus:hover]:outline-(--fubi-hover-thread-color,var(--color-indigo-500)) has-[.comment-focus:hover]:bg-(--fubi-hover-thread-color,var(--color-indigo-500))/10","data-[fubi-pin-hover]:outline-1 data-[fubi-pin-hover]:outline-(--fubi-hover-thread-color,var(--color-indigo-500)) data-[fubi-pin-hover]:bg-(--fubi-hover-thread-color,var(--color-indigo-500))/10",s&&"animate-comment-highlight",o()?"outline-[0.7px] outline-(--fubi-hover-thread-color,var(--color-indigo-500)) bg-(--fubi-hover-thread-color,var(--color-indigo-500))/10":r()?"bg-neutral-500/0":"bg-neutral-500/10"])),ci(u,1,ni(["flex flex-col",r()?"gap-4":"gap-6"]))}),Qo(1,u,()=>ia,()=>({duration:300,easing:js,start:.8,opacity:0,delay:200})),Qo(2,u,()=>ia,()=>({duration:300,easing:js,start:.8,opacity:0,delay:0})),Qo(1,l,()=>ia,()=>({duration:300,easing:js,start:.8,opacity:0,delay:200})),Qo(2,l,()=>ia,()=>({duration:300,easing:js,start:.8,opacity:0,delay:0})),Qo(1,a,()=>oa,()=>({axis:"y",duration:400,easing:js})),Qo(2,a,()=>oa,()=>({axis:"y",duration:300,delay:0,easing:js})),bo(e,a),he()}po("<!> <!>",1);var uw=po('<label><input type="checkbox" class="peer absolute inset-0 h-full w-full cursor-pointer rounded-2xl focus-visible appearance-none disabled:cursor-not-allowed"/> <span class="sr-only">Toggle</span> <div></div></label>');function hw(e,t){ue(t,!0);let r=Ui(t,"checked",15,!1),o=Ui(t,"disabled",3,!1),i=Ui(t,"small",3,!1);var n=uw(),s=Ot(n);ki(s);var a=zt(s,4);q(n),er(()=>{ci(n,1,ni(["relative flex rounded-2xl shrink-0",o()?"cursor-not-allowed opacity-50":"cursor-pointer glass",i()?"h-[22px] w-[40px]":"h-[28px] w-[44px]",i()?"touch:app:h-[26px] touch:app:w-[46px]":"touch:app:h-32 touch:app:w-52","bg-neutral-500/20 has-checked:bg-sky-600"])),s.disabled=o(),ci(a,1,ni(["absolute rounded-full bg-white transition-transform duration-150 ease-out","top-[3px] left-[3px]",i()?"h-[16px] w-[22px]":"h-[22px] w-[26px]",i()?"touch:h-[20px] touch:w-[28px]":"touch:h-[22px] touch:w-[26px]","peer-checked:translate-x-[12px]"]))}),so("change",s,e=>{us(),t.onchange?.(e.currentTarget.checked)}),Oi(s,r),bo(e,n),he()}ao(["change"]);var pw=po('<div class="absolute inset-6 left-auto flex-center"><!></div>'),gw=po("<!> <!>",1),fw=po('<div class="flex gap-4 sticky bottom-10 pt-8 z-10"><div class="relative w-full"><label><input type="text" placeholder=" "/> <div><!> <p class="text-base/none font-normal touch:text-[18px]/none"> </p></div></label> <div><!></div> <!></div></div>');function mw(e,t){ue(t,!0);let r=Ui(t,"placeholder",3,"Search");Ui(t,"hide",3,!1),Ui(t,"value",11,"");const{settings:o,comments:i,inputs:n}=Zx();let s=ut(""),a=ut(!1),l=ut(null);Zi(()=>(n.register("search",{focus:()=>jr(l)?.focus(),focusWithoutScroll:()=>{jr(l)&&(jr(l).style.opacity="0",jr(l).focus(),requestAnimationFrame(()=>{jr(l)&&(jr(l).style.opacity="")}))},blur:()=>jr(l)?.blur(),clear:()=>{pt(s,"")},reset:()=>{pt(s,""),jr(l)?.blur()},submit:()=>{},isFocused:()=>document.activeElement===jr(l)}),()=>n.unregister("search")));let c=Qe(()=>!!o.current.onlyMineVisible||!o.current.doneThreadsVisible||"priority"!==o.current.sortMode);Kt(()=>{i.search=jr(s)});var d=fw(),u=Ot(d),h=Ot(u);ci(h,1,ni(["flex relative shrink-0 focus-visible text-white z-0 flex-1"]));var p=Ot(h);ki(p),ci(p,1,ni(["peer w-full min-w-0 max-w-none flex-center font-normal pl-10 h-40 touch:h-48 gap-4 bg-neutral-800/70 android:bg-neutral-800 glass-pressed backdrop-blur-lg android:backdrop-blur-none rounded-full touch:rounded-[18px] superellipse","focus-visible"])),Di(p,e=>pt(l,e),()=>jr(l));var g=zt(p,2);ci(g,1,ni(["peer-placeholder-shown:opacity-80 peer-focus:opacity-0 origin-left text-neutral-500 opacity-0 absolute inset-0 pointer-events-none flex items-center pl-10 z-10 gap-4 select-none","transition-opacity duration-100 ease-out"]));var f=Ot(g);Ag(f,{get icon(){return Mg},className:"size-18 touch:size-20"});var m=zt(f,2),v=Ot(m,!0);q(m),q(g),q(h);var b=zt(h,2),w=Ot(b);{let e=Qe(()=>jr(s)?0:-1);Fg(w,{get icon(){return gg},onclick:()=>pt(s,""),get tabindex(){return jr(e)}})}q(b);{const e=(e,t)=>{let r=()=>t?.().props;var o=pw(),i=Ot(o);{let e=Qe(()=>jr(c)?"bg-sky-500/10 hover:bg-sky-500/20 active:bg-sky-500/30 text-sky-500 hover:text-sky-300 glass":void 0);Fg(i,Bi(r,{get icon(){return tm},get active(){return jr(a)},get colors(){return jr(e)}}))}q(o),bo(e,o)};Hp(zt(b,2),{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return jr(a)},set opened(e){pt(a,e,!0)},child:e,children:(e,t)=>{var r=gw(),i=At(r);{const e=e=>{{let t=Qe(()=>!!o.current.onlyMineVisible);hw(e,{small:!0,get checked(){return jr(t)},onchange:()=>o.toggle("onlyMineVisible")})}};zf(i,{title:"Only Mine",closeOnSelect:!1,end:e,$$slots:{end:!0}})}{const e=e=>{{let t=Qe(()=>!!o.current.doneThreadsVisible);hw(e,{small:!0,get checked(){return jr(t)},onchange:()=>o.toggle("doneThreadsVisible")})}};zf(zt(i,2),{title:"Done Threads",closeOnSelect:!1,end:e,$$slots:{end:!0}})}bo(e,r)},$$slots:{child:!0,default:!0}})}q(u),q(d),er(()=>{ko(v,r()),ci(b,1,ni(["absolute inset-6 left-auto right-38 touch:right-48 touch:glass rounded-[10px] touch:rounded-[12px]",jr(s)?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"]))}),no("focus",p,()=>{jr(l)&&(jr(l).style.opacity="0",requestAnimationFrame(()=>{jr(l)&&(jr(l).style.opacity="")}))}),Ii(p,()=>jr(s),e=>pt(s,e)),Qo(3,d,()=>oa,()=>({axis:"y",duration:300,easing:js})),bo(e,d),he()}var vw=po('<button><!> <span class="sr-only">Close</span></button>');function bw(e,t){let r=Wi(t,["$$slots","$$events","$$legacy","class"]);var o=vw();Si(o,()=>({class:`flex-center focus-visible size-8 app:size-28 touch:app:size-36 rounded-full shrink-0 glass bg-white/5 hover:bg-white/10 active:bg-white/20 text-white/50 hover:text-white transition-colors duration-100 cursor-pointer ${t.class??""}`,...r})),Ag(Ot(o),{get icon(){return gg},className:"size-5 app:size-16 touch:app:size-20"}),K(2),q(o),bo(e,o)}var ww=po('<p class="text-neutral-400 flex items-center text-sm/[140%] font-normal text-balance"> </p>'),yw=po('<div class="text-neutral-400 text-sm/[140%]"><!></div>'),xw=po('<div><p class="text-white text-2xl/[120%] app:text-xl/[120%] touch:app:text-2xl/[120%] font-medium line-clamp-3 pr-8 app:pr-28 touch:app:pr-56"> </p> <!> <!></div>'),kw=po("<div></div>"),Cw=po('<div class="p-14 touch:px-18 pb-7 touch:p-14 touch:pb-16 flex flex-col border-b-[0.5px] border-white/10 gap-6 overflow-y-auto min-h-0"><!></div>'),Lw=po('<div class="p-12 gap-8 touch:p-14 touch:gap-10 flex flex-col"><div><!></div></div>'),Sw=po("<div><!> <!> <!></div>"),Mw=po("<!> <!>",1),$w=po("<!> <!>",1);function Tw(e,t){ue(t,!0);const{modals:r,environment:o,toolbar:i}=Zx();let n=Ui(t,"open",15,!1),s=Ui(t,"title",3,""),a=Ui(t,"width",3,"w-full max-w-[min(300px,calc(100%-32px))] touch:max-w-[min(320px,calc(100%-48px))]"),l=Ui(t,"horizontalButtons",3,!1),c=Wi(t,["$$slots","$$events","$$legacy","open","title","text","content","trigger","child","children","portal","width","horizontalButtons","header"]);var d=vo();Wo(At(d),()=>Qh,(e,d)=>{d(e,Bi(()=>c,{get open(){return n()},set open(e){n(e)},children:(e,n)=>{var c=$w(),d=At(c),u=e=>{var r=vo();Wo(At(r),()=>yd,(e,r)=>{r(e,{class:"inline-flex h-12 items-center\n\t\tjustify-center whitespace-nowrap rounded-input bg-dark px-[21px]\n\t\ttext-[15px] font-semibold text-background shadow-mini transition-colors hover:bg-dark/95 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground focus-visible:ring-offset-2 focus-visible:ring-offset-background active:scale-98",children:(e,r)=>{var o=vo();Ro(At(o),()=>t.trigger),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};_o(d,e=>{t.trigger&&e(u)});var h=zt(d,2);{let e=Qe(()=>t.portal??(o.touch?i.wrapper:r.portalTarget));Wo(h,()=>Xl,(r,o)=>{o(r,{get to(){return jr(e)},children:(e,r)=>{var o=Mw(),i=At(o);{const e=(e,t)=>{var r=vo(),o=At(r),i=e=>{var r=kw();Si(r,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-50 touch:z-[calc(var(--infinity,2147490000)+1)] bg-black/50 rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none superellipse"})),Qo(3,r,()=>ea,()=>({duration:150})),bo(e,r)};_o(o,e=>{t?.().open&&e(i)}),bo(e,r)};Wo(i,()=>bd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var n=zt(i,2);{const e=(e,r)=>{var o=vo(),i=At(o),n=e=>{var o=Sw();Si(o,()=>({...r?.().props,"data-fubi-ignore-all":!0,class:["fixed left-[50%] top-[50%] z-50 touch:z-[calc(var(--infinity,2147490000)+2)] translate-x-[-50%] translate-y-[-50%] flex flex-col justify-start text-left bg-linear-to-b from-neutral-800/90 to-neutral-900/90 android:from-neutral-800 android:to-neutral-900 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-[24px] touch:rounded-[32px] superellipse min-w-150 max-h-[80%] overflow-hidden",a()]}));var i=Ot(o),n=e=>{!function(e,t){let r=Ui(t,"border",3,!0);var o=xw(),i=Ot(o),n=Ot(i,!0);q(i);var s=zt(i,2),a=e=>{var r=vo(),o=At(r),i=e=>{var r=ww(),o=Ot(r,!0);q(r),er(()=>ko(o,t.text)),bo(e,r)},n=e=>{var r=yw();Ro(Ot(r),()=>t.text),q(r),bo(e,r)};_o(o,e=>{"string"==typeof t.text?e(i):e(n,!1)}),bo(e,r)};_o(s,e=>{t.text&&e(a)});var l=zt(s,2);{const e=(e,t)=>{bw(e,Bi(()=>t?.().props,{class:"absolute top-3 right-3 app:top-8 app:right-8 touch:app:top-12 touch:app:right-14"}))};Wo(l,()=>tp,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}q(o),er(()=>{ci(o,1,ni(["group/navbar flex flex-col","pt-4 px-5 pb-3 gap-1 app:gap-4","app:py-10 app:px-14 app:gap-0","touch:app:py-16 touch:app:px-20",r()?"border-b-[0.5px] border-white/10":""])),ko(n,t.title)}),bo(e,o)}(e,Bi({get title(){return s()},get text(){return t.text}},()=>t.header))};_o(i,e=>{(s()||t.text)&&e(n)});var c=zt(i,2),d=e=>{var r=Cw();Ro(Ot(r),()=>t.content),q(r),bo(e,r)};_o(c,e=>{t.content&&e(d)});var u=zt(c,2),h=e=>{var r=Lw(),o=Ot(r);Ro(Ot(o),()=>t.children),q(o),q(r),er(()=>ci(o,1,ni(["flex w-full gap-8 touch:gap-12",l()?"flex-row":"flex-col"]))),bo(e,r)};_o(u,e=>{t.children&&e(h)}),q(o),Qo(3,o,()=>ia,()=>({duration:150,start:.95})),bo(e,o)};_o(i,e=>{r?.().open&&e(n)}),bo(e,o)};Wo(n,()=>ip,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,child:e,$$slots:{child:!0}})})}bo(e,o)},$$slots:{default:!0}})})}bo(e,c)},$$slots:{default:!0}}))}),bo(e,d),he()}var _w=po('<div class="flex gap-8"><div class="relative size-20 bg-neutral-500/10 rounded-[6px] superellipse hover:bg-neutral-500/20 active:bg-sky-500/20 focus-within has-checked:bg-sky-500"><input type="checkbox" class="peer absolute inset-0 h-full w-full cursor-pointer appearance-none focus:outline-none"/> <!></div> <label> </label></div>');ao(["change"]);var Ew=po('<div class="px-8"><!></div>'),Iw=po("<!> <!>",1),Ow=po('<div class="bg-amber-500/10 py-6 px-12 rounded-[10px] superellipse text-amber-500 flex text-sm/[140%] gap-8"><p>This will move all comments to the new URL and redirect you there. The old URL will be empty.</p></div>'),Aw=po('<form action="" id="edit-page-form" class="contents"><!> <!> <!></form>'),zw=po("<!> <!>",1),Pw=po("<span> </span>"),Fw=po('<div class="relative"><div contenteditable="true" role="textbox" tabindex="0" aria-multiline="true" class="text-white focus-hidden w-full gap-4 cursor-text p-12 max-h-170 overflow-auto leading-[140%] mouse:text-[15px]/[140%] touch:py-14 touch:px-6 break-word"></div> <!></div>');function Nw(e,t){ue(t,!0);const{media:r,picker:o}=Zx();let i=Ui(t,"content",31,()=>wt([])),n=Ui(t,"mentions",31,()=>wt([])),s=Ui(t,"element",15,null),a=Ui(t,"focused",15,!1),l=Ui(t,"charCount",15,0),c=Ui(t,"initialHtml",3,""),d=Ui(t,"maxLength",3,2e3),u=ut(wt(Vr(()=>c()))),h=ut(null),p=Qe(()=>i().reduce((e,t)=>"text"===t.type?e+t.value.length:"mention"===t.type?e+1:e,0)),g=Qe(()=>d()-jr(p)),f=Qe(()=>jr(g)<100);function m(e){const t=[];for(const r of e.childNodes)if(r.nodeType===Node.TEXT_NODE){const e=r.textContent||"";e&&t.push({type:"text",value:e})}else if(r instanceof HTMLBRElement)t.push({type:"text",value:"\n"});else if(r instanceof HTMLElement)if(r.hasAttribute("data-fubi-comment-mention")){const e=r.getAttribute("data-mention-id");e&&t.push({type:"mention",userId:e})}else if(r.hasAttribute("data-fubi-comment-image")){const e=r.getAttribute("src")||"",o=r.getAttribute("alt")||"";t.push({type:"image",src:e,alt:o})}else"DIV"!==r.tagName&&"P"!==r.tagName||t.push({type:"text",value:"\n"}),t.push(...m(r));return t}function v(e){return e instanceof HTMLElement&&e.hasAttribute("data-fubi-comment-mention")}function b(e){if(s()&&jr(h)){if("mention"===jr(h).type){const t=`@${jr(h).query}`;document.execCommand("insertHTML",!1,'<span id="__fubi_marker"></span>');const r=s().querySelector("#__fubi_marker");if(r){const o=document.createTreeWalker(s(),NodeFilter.SHOW_TEXT);let i;for(;i=o.nextNode();){const e=i.textContent?.lastIndexOf(t)??-1;if(-1!==e){i.textContent=i.textContent.slice(0,e)+i.textContent.slice(e+t.length);break}}r.outerHTML=`<span contenteditable="false" data-fubi-comment-mention data-mention-id="${e.id}" class="text-sky-400">${Ab(e.label)}</span> `}pt(u,s().innerHTML,!0),w(),i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId))}pt(h,null),o.hide()}}function w(){s()&&(s().focus(),document.execCommand("selectAll",!1),document.getSelection()?.collapseToEnd())}Kt(()=>{l(jr(p))}),Zi(()=>{c()&&s()&&(i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId)))}),Kt(()=>{const e=o.on(`confirm:${t.id}`,b),r=o.on(`cancel:${t.id}`,()=>{pt(h,null)});return()=>{e(),r()}});var y={triggerMention:function(){s()&&(s().focus(),document.execCommand("insertText",!1,"@"),pt(u,s().innerHTML,!0))}},x=Fw(),k=Ot(x);Di(k,e=>s(e),()=>s());var C=zt(k,2),L=e=>{var t=vo();Oo(At(t),()=>jr(g),e=>{var t=Pw(),r=Ot(t,!0);q(t),er(()=>{ci(t,1,ni(["absolute bottom-4 right-8 text-[12px] tabular-nums select-none pointer-events-none",jr(g)<=0||jr(g)<=10?"text-rose-400":"text-orange-400"])),ko(r,jr(g))}),Qo(1,t,()=>ia,()=>({duration:100,easing:js,start:1.5})),bo(e,t)}),bo(e,t)};return _o(C,e=>{jr(f)&&e(L)}),q(x),er(()=>Li(k,"data-fubi-comment-input",t.id)),so("keydown",k,function(e){if("Backspace"!==e.key||o.opened)return;const t=s()?.getRootNode();let r=null,a=0;const l=document.getSelection();if("getSelection"in t){const e=t.getSelection();if(!e||!e.isCollapsed||!e.anchorNode)return;r=e.anchorNode,a=e.anchorOffset}if(!r&&l&&"function"==typeof l.getComposedRanges){const e=l.getComposedRanges(t);if(e.length>0){const t=e[0];if(t.startContainer!==t.endContainer||t.startOffset!==t.endOffset)return;r=t.startContainer,a=t.startOffset}}if(!r)return;let c=null,d=null;if(r.nodeType===Node.TEXT_NODE){const e=r.textContent||"";a>0&&" "===e[a-1]?1===a&&v(r.previousSibling)&&(c=r.previousSibling,d=r):0===a&&v(r.previousSibling)&&(c=r.previousSibling)}else if(r.nodeType===Node.ELEMENT_NODE){const e=r.childNodes[a-1];if(v(e)){c=e;const t=e.nextSibling;t?.nodeType===Node.TEXT_NODE&&" "===t.textContent?.[0]&&(d=t)}}c&&(e.preventDefault(),d&&(1===d.textContent?.length?d.remove():d.textContent=d.textContent.slice(1)),c.remove(),w(),s()&&(pt(u,s().innerHTML,!0),i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId))))}),so("beforeinput",k,function(e){if(!e.inputType.startsWith("insert"))return;if(jr(p)<d())return;const t=document.getSelection();t&&!t.isCollapsed||e.preventDefault()}),so("input",k,function(e){const t=e.currentTarget;pt(u,t.innerHTML,!0),i(m(t)),n(i().filter(e=>"mention"===e.type).map(e=>e.userId)),function(){if(!s())return;const e=s().textContent||"",t=e.match(/@(\w*)$/);t?(pt(h,{type:"mention",query:t[1],position:e.length-t[0].length},!0),o.show("mention",t[1],s())):jr(h)&&(pt(h,null),o.hide())}()}),no("focus",k,()=>{a(!0)}),no("blur",k,e=>{e.relatedTarget,a(!1)}),no("paste",k,function(e){const t=e.clipboardData?.items;if(!t)return;const o=[];for(const r of t)if(r.type.startsWith("image/")){const e=r.getAsFile();e&&o.push(e)}if(o.length>0)return e.preventDefault(),void r.handleFiles(o);e.preventDefault();const i=e.clipboardData?.getData("text/plain");if(!i)return;const n=d()-jr(p);if(n<=0)return;const s=i.length>n?i.slice(0,n):i;document.execCommand("insertText",!1,s)}),function(e,t,r,o=r){t.addEventListener("input",()=>{o(t[e])}),Qt(()=>{var i=r();if(t[e]!==i)if(null==i){var n=t[e];o(n)}else t[e]=i+""})}("innerHTML",k,()=>jr(u),e=>pt(u,e)),bo(e,x),he(y)}ao(["keydown","beforeinput","input"]);var Hw=po('<div class="flex justify-between items-center pb-2"><!></div>'),Dw=po('<div class="rounded-[14px] superellipse glass-pressed bg-neutral-500/10 overflow-hidden"><!></div>'),jw=po("<!> <!>",1),Rw=po('<div class="flex gap-8"><!> <!></div>');var Ww=po("<button><!></button>"),Vw=po('<div class="rounded-[14px]"><!></div>');function Bw(e,t){let r=Ui(t,"tooltip",3,"This will change your filters"),o=Wi(t,["$$slots","$$events","$$legacy","visible","children","tooltip"]);var i=vo(),n=At(i),s=e=>{var i=Vw(),n=Ot(i);{const e=(e,r)=>{var i=Ww();Si(i,()=>({...r?.().props,class:["focus-visible shrink-0 whitespace-nowrap text-xs/none h-28 px-12 touch:h-32 touch:text-sm/none rounded-full self-center cursor-pointer gap-3 flex-center active:scale-95 transition-[scale] duration-100 ease-out will-change-[scale]","bg-sky-500/10 glass text-sky-500 hover:bg-sky-500/20 active:bg-sky-500/30 hover:text-sky-200"],...o})),Ro(Ot(i),()=>t.children),q(i),Qo(3,i,()=>ia,()=>({duration:200,easing:js,start:.8})),bo(e,i)};let i=Qe(()=>r()||""),s=Qe(()=>!r());Fp(n,{get text(){return jr(i)},get disabled(){return jr(s)},child:e,$$slots:{child:!0}})}q(i),Qo(3,i,()=>oa,()=>({axis:"x",duration:400,easing:js})),bo(e,i)};_o(n,e=>{t.visible&&e(s)}),bo(e,i)}var Uw=po('<div class="flex items-end justify-center gap-4 shrink-0 pb-4 mt-auto"><!> <!></div>');function Zw(e,t){ue(t,!0);const{auth:r,comments:o,settings:i}=Zx();let n=Qe(()=>t.threads??o.threads),s=Qe(()=>jr(n).filter(e=>(!i.current.onlyMineVisible||e.createdBy===r?.user?.id)&&e.done).length),a=Qe(()=>jr(n).filter(e=>!(!i.current.doneThreadsVisible&&e.done)&&e.createdBy!==r?.user?.id).length);var l=vo(),c=At(l),d=e=>{var t=Uw(),r=Ot(t);{let e=Qe(()=>!i.current.doneThreadsVisible&&jr(s)>0);Bw(r,{get visible(){return jr(e)},onclick:()=>i.toggle("doneThreadsVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${jr(s)??""} Done`)),bo(e,r)},$$slots:{default:!0}})}var o=zt(r,2);{let e=Qe(()=>i.current.onlyMineVisible&&jr(a)>0);Bw(o,{get visible(){return jr(e)},onclick:()=>i.toggle("onlyMineVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${jr(a)??""} Other`)),bo(e,r)},$$slots:{default:!0}})}q(t),bo(e,t)};_o(c,e=>{(!i.current.doneThreadsVisible&&jr(s)>0||i.current.onlyMineVisible&&jr(a)>0)&&e(d)}),bo(e,l),he()}var qw=po("<div><!> </div>"),Kw=po("<!> <!>",1),Gw=po('<div class="flex gap-4"><!> <!></div>'),Xw=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Yw=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 w-full shrink-0 opacity-50"></div> <!></div>'),Jw=po('<div class="flex flex-col gap-0"></div>'),Qw=po("<div><div><!></div> <!></div>"),ey=po("<div><!></div>"),ty=po("<div><!> <!> <!></div>"),ry=po("<p>Error loading</p>"),oy=po("<!> <!> <!> <!> <!>",1),iy=po("<!> <!>",1),ny=po('<div class="flex"><!></div>'),sy=po('<div class="flex flex-col gap-0"></div>'),ay=po("<div><div><!></div> <!></div>"),ly=po('<div class="flex flex-col gap-6 min-h-full pt-px"><!> <!> <!></div> <!>',1),cy=po("<!> <!>",1),dy=po("<div><!> <!> <!></div> <!>",1),uy=po("<!> <!>",1),hy=[["path",{d:"M22.3886 3.50934C22.9207 2.01947 21.4821 0.58092 19.9922 1.11301L2.24451 7.45149C0.477797 8.08246 0.630218 10.6298 2.45959 11.0455L9.59327 12.648L13.3909 8.73607C13.7756 8.3398 14.4087 8.33041 14.8049 8.7151C15.2012 9.09979 15.2106 9.73289 14.8259 10.1292L10.9106 14.1623L12.456 21.042C12.8718 22.8714 15.4191 23.0238 16.0501 21.2571L22.3886 3.50934Z",fill:"currentColor",key:"0"}]],py=po('<div><div class="w-auto flex items-center max-w-full pl-10 pr-2 overflow-x-scroll mask-r-from-90%"></div></div> <div><div><!> <p> </p></div></div>',1),gy=po("<div><div><div></div> <div></div> <div></div></div> <div><!></div></div>");function fy(e,t){ue(t,!0);let r=Ui(t,"rounded",3,"rounded-lg"),o=Ui(t,"class",3,""),i=Ui(t,"bg",3,"bg-white/10");Wi(t,["$$slots","$$events","$$legacy","rounded","class","bg","children"]);const n=Qe(()=>Array.isArray(o())?o().flat().join(" "):o());var s=gy(),a=Ot(s),l=Ot(a),c=zt(l,2);ci(c,1,"rim-soft"),ci(zt(c,2),1,"rim-sharp"),q(a);var d=zt(a,2),u=Ot(d),h=e=>{var r=vo();Ro(At(r),()=>t.children),bo(e,r)};_o(u,e=>{t.children&&e(h)}),q(d),q(s),er(()=>{ci(s,1,`rim-wrapper select-none ${r()} ${jr(n)}`),ci(a,1,`rim-container ${r()}`),ci(l,1,`rim-underline ${i()}`),ci(d,1,`rim-content ${r()}`)}),bo(e,s),he()}var my=po("<div><div><!></div></div>");function vy(e,t){ue(t,!0);let r=new Fs(0,{stiffness:.08,damping:.5}),o=ut(0),i=ut(0);Kt(()=>{const e="width"===c()?jr(i):jr(o);r.set(e)});const n=Ui(t,"children",3,null),s=Ui(t,"clip",3,!1),a=Ui(t,"class",3,""),l=Ui(t,"classOutter",3,""),c=Ui(t,"animate",3,"height"),d=Wi(t,["$$slots","$$events","$$legacy","children","clip","class","classOutter","animate"]);var u=my();Si(u,()=>({style:`${c()}: ${r.current}px;`,class:[s()&&"overflow-clip",l()],...d}));var h=Ot(u),p=Ot(h),g=e=>{var t=vo();Ro(At(t),n),bo(e,t)};_o(p,e=>{n()&&e(g)}),q(h),q(u),er(()=>ci(h,1,ni(["width"===c()&&"w-fit",a()]))),Ni(h,"clientHeight",e=>pt(o,e)),Ni(h,"clientWidth",e=>pt(i,e)),bo(e,u),he()}var by=po('<div class="flex items-center h-40 pl-8 pr-18 gap-2 text-white"><!> <p class="font-medium text-[18px]/none">Sent</p></div>'),wy=po('<div class="fixed flex-center z-10 top-1/2 left-1/2 pointer-events-none -translate-x-1/2 -translate-y-1/2"><!></div>'),yy=po('<button class="size-38 flex-center rounded-full active:bg-white/20 disabled:opacity-30"><!></button>'),xy=po('<!> <div data-fubi-new-comment="" class="relative flex flex-col gap-4"><form><div class="flex"><div class="size-50 flex items-center justify-center mouse:hidden shrink-0"><!></div> <div class="flex-1"><!></div> <div class="size-50 flex items-center justify-center mouse:hidden shrink-0"><!></div></div> <!> <div><div><div class="flex gap-2 mr-8"><!> <!></div> <!></div></div></form></div>',1);function ky(e,t){ue(t,!0);const{bus:r,picker:o,pages:i,hover:n,auth:s,inputs:a,media:l,comments:c,environment:d,modals:u}=Zx();let h=Ui(t,"parent",3,null),p=Ui(t,"placement",3,"bottom");const g={bottom:"origin-top",top:"origin-bottom","bottom-start":"origin-top-left","bottom-end":"origin-top-right","top-start":"origin-bottom-left","top-end":"origin-bottom-right"};let f=Qe(()=>"reply"===t.id?"origin-bottom":g[p()]??"origin-top"),m=ut(null),v=ut(null),b=ut(!1),w=ut(wt([])),y=ut(wt([])),x=ut(0),k=ut(!1),C=ut(!1);Zi(()=>{const e=r.on("comments:created",()=>{pt(C,!0),setTimeout(()=>{pt(C,!1)},1500)});return a.register(t.id,{focus:()=>jr(v)?.focus({preventScroll:!0}),focusWithoutScroll:()=>{jr(v)&&(jr(v).style.opacity="0",jr(v).focus(),requestAnimationFrame(()=>{jr(v)&&(jr(v).style.opacity="")}))},blur:()=>jr(v)?.blur(),clear:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),jr(v)&&(jr(v).innerHTML="")},reset:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),jr(v)&&(jr(v).innerHTML="",jr(v).blur())},submit:()=>jr(m)?.requestSubmit(),isFocused:()=>jr(b)}),()=>{a.unregister(t.id),e()}});let L=Qe(()=>0===jr(w).length||jr(x)>400||c.loading);var S=xy(),M=At(S),$=e=>{var t=wy();fy(Ot(t),{rounded:"rounded-full",bg:"bg-green-600",children:(e,t)=>{var r=by();Yp(Ot(r),{name:"check",class:"size-28 stroke-2"}),K(2),q(r),bo(e,r)},$$slots:{default:!0}}),q(t),Qo(3,t,()=>ia,()=>({start:.8,easing:js})),bo(e,t)};_o(M,e=>{jr(C)&&d.touch&&e($)});var T=zt(M,2),_=Ot(T),E=Ot(_),I=Ot(E),O=Ot(I);{let e=Qe(()=>l.files.length>=l.MAX_FILES);Cf(O,{get icon(){return Tm},size:"size-38",get disabled(){return jr(e)},onpointerdown:e=>{e.preventDefault()},onclick:()=>{l.openPicker()}})}q(I);var A=zt(I,2);Nw(Ot(A),{get id(){return t.id},get maxLength(){return 400},get content(){return jr(w)},set content(e){pt(w,e,!0)},get mentions(){return jr(y)},set mentions(e){pt(y,e,!0)},get charCount(){return jr(x)},set charCount(e){pt(x,e,!0)},get element(){return jr(v)},set element(e){pt(v,e,!0)},get focused(){return jr(b)},set focused(e){pt(b,e,!0)}}),q(A);var z=zt(A,2),P=Ot(z);{let e=Qe(()=>jr(L)?"bg-transparent opacity-50":"bg-sky-600/80"),t=Qe(()=>jr(L)?"opacity-30":"");fy(P,{rounded:"rounded-full",get bg(){return jr(e)},get class(){return jr(t)},children:(e,t)=>{var r=yy(),o=Ot(r);{let e=Qe(()=>c.loading?bm:hy);Ag(o,{get icon(){return jr(e)},className:"size-20 text-white -translate-x-px translate-y-px"})}q(r),er(()=>r.disabled=jr(L)),so("pointerdown",r,e=>e.preventDefault()),so("click",r,()=>jr(m)?.requestSubmit()),bo(e,r)},$$slots:{default:!0}})}q(z),q(E);var F=zt(E,2);!function(e){ue({},!0);const{media:t}=Zx(),r=Qe(()=>t.files.length>0),o=Qe(()=>t.error&&"capture_failed"!==t.error);var i=py(),n=At(i),s=Ot(n);Po(s,23,()=>t.files,e=>e.id,(e,r,o)=>{iw(e,{get entry(){return jr(r)},get index(){return jr(o)},get media(){return t}})}),q(s),q(n);var a=zt(n,2),l=Ot(a),c=Ot(l);Ag(c,{get icon(){return lg},className:"size-16 shrink-0"});var d=zt(c,2),u=Ot(d,!0);q(d),q(l),q(a),er(()=>{ci(n,1,ni(["w-full gap-4 items-center max-w-full z-10 shrink-0 overflow-clip touch:px-4",jr(r)?"h-44 touch:h-64":"h-0","transition-[height] duration-300 ease-out-cubic will-change-[height]"])),ci(a,1,ni(["text-amber-400 text-sm/none overflow-clip",jr(o)?"h-28":"h-0"])),ci(l,1,ni(["px-8 pb-2 flex items-center gap-4 h-28",!jr(o)&&"scale-80 opacity-0","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale]"])),ko(u,t.error)}),bo(e,i),he()}(F);var N=zt(F,2),H=Ot(N);ci(H,1,ni(["flex items-center justify-between w-full p-6"," border-t-[0.5px] border-white/10"]));var D=Ot(H),j=Ot(D);{let e=Qe(()=>l.files.length>=l.MAX_FILES);Fg(j,{type:"button",get icon(){return am},alt:"Upload Media",tooltip:{text:"Upload Media"},get disabled(){return jr(e)},colors:"bg-neutral-500/0 hover:bg-neutral-500/10 active:bg-neutral-500/30 text-neutral-200 hover:text-white glass-hover",onclick:()=>l.openPicker()})}Fg(zt(j,2),{type:"button",get icon(){return Nf},alt:"Mention",tooltip:{text:"Mention"},colors:"bg-neutral-500/0 hover:bg-neutral-500/10 active:bg-neutral-500/30 text-neutral-200 hover:text-white glass-hover",onclick:()=>{jr(v)?.focus(),document.execCommand("insertText",!1,"@")}}),q(D),Oo(zt(D,2),()=>c.loading,e=>{{let t=Qe(()=>c.loading?bm:hy),r=Qe(()=>0===jr(w).length||jr(x)>400||c.loading);Fg(e,{type:"submit",alt:"Send comment",get icon(){return jr(t)},iconSize:"size-18",get disabled(){return jr(r)},colors:"bg-sky-500/10 disabled:bg-sky-500/0 hover:bg-sky-400/20 active:bg-sky-500/30 text-sky-400 active:text-sky-200",children:(e,t)=>{K();var r=mo();er(()=>ko(r,c.loading?"Sending...":"Send")),bo(e,r)},$$slots:{default:!0}})}}),q(H),q(N),q(_),Di(_,e=>pt(m,e),()=>jr(m)),q(T),er(()=>{Li(_,"data-fubi-comment-form",t.id),ci(_,1,ni(["relative w-full pointer-events-auto superellipse flex-start flex flex-col","reply"===t.id?"origin-bottom":[jr(f),"max-w-280 min-w-200 touch:max-w-full touch:min-w-0"],"rounded-[20px] touch:rounded-[25px] glass-pressed-shadow backdrop-blur-sm android:backdrop-blur-none bg-neutral-800/80 touch:bg-neutral-800/90 android:bg-neutral-800","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale]",!a?.visibility[t.id]&&"opacity-0 pointer-events-none scale-80"])),ci(N,1,ni(["flex w-full","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale] touch:hidden",!a?.visibility[t.id]&&"opacity-0 pointer-events-none scale-80"]))}),no("submit",_,async function(e){if(e.preventDefault(),o.opened)return;if(0===jr(w).length||jr(x)>400)return;l.error=null;const{name:t,version:a}=ks(),{width:d,height:u}=ys(),p=h()?c.data.find(e=>e.id===h()):null,g=h()?p?.selector??null:n.isolationSelector;if(!g)return;const f=h()?!!p?.info?.meta:!!n.info?.meta;r.emit("comment-input:submit",{page:i.current.id,parent:h(),selector:g,done:!1,content:jr(w),mentions:jr(y),priority:jr(k),info:{browser:[t,a],resolution:[d,u],meta:f,...l.files.length>0&&{mediaDimensions:Object.fromEntries(l.files.filter(e=>"ready"===e.status&&e.width&&e.height).map(e=>[e.file.name,[e.width,e.height]]))}},createdBy:s.user.id}),pt(w,[],!0),pt(y,[],!0),pt(k,!1)}),so("focusout",_,e=>{if(!d.touch)return;if("isolated"!==n.mode.type)return;if(l.picking)return;if(o.opened)return;const r=e.relatedTarget;r&&jr(m)?.contains(r)||setTimeout(()=>{const e=document.activeElement,r=e&&jr(m)?.contains(e);"isolated"===n.mode.type&&(l.picking||r||u.isOpen("media-preview")||(n.dismissIsolation(),a.hide(t.id)))},0)}),bo(e,S),he()}ao(["focusout","pointerdown","click"]);var Cy=po("<!> <!>",1),Ly=po("<!> <!>",1),Sy=po('<div class="flex-center w-full h-120"><div class="rounded-[20px] superellipse bg-neutral-500/10 animate-pulse w-full h-118 flex-center"><!></div></div>'),My=po('<div class="p-8 sticky bottom-0 left-0 w-full z-10"><!></div> <div class="flex-1"></div> <div class="flex flex-col gap-0 p-8"><!> <!></div>',1),$y=po("<!> <!>",1),Ty=po('<div class="flex items-center gap-4 text-sky-500"><a class="text-sm hover:underline"> </a> <!></div>'),_y=po('<div class="flex-center rounded-[32px] superellipse border-[0.5px] border-white/10 flex-col text-center w-full bg-neutral-500/10 shadow"><div class="w-full p-16 py-24 flex-center flex-col gap-4"><!> <p class="text-white font-semibold text-xl"> </p> <div class="flex flex-col px-6 text-balance text-sm gap-4"><!></div></div> <div class="w-full p-16 pt-12 border-t-[0.5px] border-white/10 flex-center flex-col gap-12"><!> <!></div></div>'),Ey=po('<div class="flex-center w-full h-full text-neutral-400 px-16"><!></div>'),Iy=po("<!> <button><!> <p>Hide Fubi</p></button>",1);ao(["click"]);var Oy=po('<div class="flex items-center gap-8 text-sm text-neutral-400"><!> <p>Running analysis...</p></div>'),Ay=po('<div><!> <p class="text-sm/none font-semibold text-neutral-200"> </p></div>'),zy=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Py=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Fy=po('<li class="group/el flex items-center justify-between gap-4"><span class="text-xs text-sky-500 font-mono truncate px-6 py-3 rounded-md border border-transparent transition-colors group-has-[button:hover]/el:bg-indigo-500/10 group-has-[button:hover]/el:border-indigo-500/30"> </span> <!></li>'),Ny=po('<ul class="p-8 flex flex-col gap-2 bg-sky-400/5 mt-4 rounded-[16px] superellipse mb-8 group-last/listitemwrap:mb-0"></ul>'),Hy=po('<div class="group/listitemwrap"><!> <!></div>'),Dy=po('<div class="flex flex-col mb-16"><!> <!></div>'),jy=po('<button class="w-full flex items-center gap-8 p-10 rounded-2xl superellipse border-[0.5px] border-green-500/30 bg-green-500/5 hover:bg-green-500/10 transition-colors cursor-pointer"><!> <p class="text-sm/none font-semibold text-neutral-200"> </p></button>'),Ry=po("<!> <!> <!>",1),Wy=po("<!> <!>",1),Vy=po("<!> <!>",1);ao(["click"]);var By=po("<!> <!>",1),Uy=po('<!> <div class="mt-auto text-xs/none text-center w-full mb-8 flex-center text-neutral-500"><p></p></div>',1),Zy=po("<!> <!>",1),qy=fo('<svg><path fill="currentColor" d="M0 21.76c12.018 0 21.76-9.742 21.76-21.76H32c0 17.673-14.327 32-32 32zM64 21.76c-12.018 0-21.76-9.742-21.76-21.76H32c0 17.673 14.327 32 32 32zM0 42.24c12.018 0 21.76 9.742 21.76 21.76H32c0-17.673-14.327-32-32-32zM64 42.24c-12.018 0-21.76 9.742-21.76 21.76H32c0-17.673 14.327-32 32-32z"></path></svg>');function Ky(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=qy();Si(o,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",...r})),bo(e,o)}var Gy=po('<div class="flex-1 flex-center px-8"><div class="flex flex-col items-center gap-8 text-center"><!> <p class="font-bold text-xl touch:text-3xl">Welcome to Fubi Demo</p> <p class="text-sm touch:text-base text-neutral-400 leading-relaxed">Browse and create feedback, pin comments to page elements, organize with folders and pages, try priority, done, and reply.</p> <!> <a target="_blank" class="hover:underline text-sm text-sky-500 mt-16">Learn more about fubi</a></div></div>'),Xy=e=>{if(e.domains.blocked)return{redirect:"error"}},Yy=e=>{const t=Xy(e);if(t)return t;const r=(e=>{if(!e?.auth?.user)return{redirect:"login"}})(e);if(r)return r;const o=(e=>{if("archived"===e.project.current?.status)return e.error.set({title:"Project Archived",message:"This project has been archived and can no longer be accessed.",action:"refresh"},"project"),{redirect:"error"}})(e);if(o)return o;const i=(e=>{if(!e.team.subscriptionLocked)return;const t=e.team.current?.slug;return e.error.set({title:"The app is paused",message:"This team's subscription isn't active. Please contact your team admin to resolve billing and restore access.",link:t?{url:`${Ls}/${t}/billing`,label:"Manage Billing",external:!0}:void 0,action:"refresh"},"team"),{redirect:"error"}})(e);if(i)return i;const n=(e=>{if(0===e.folders.data.length)return{redirect:"error"}})(e);return n||void 0},Jy={demo:{component:function(e,t){ue(t,!0);const{folders:r,router:o,bus:i}=Zx();let n=Qe(()=>r.ready);function s(){localStorage.setItem("fubi_demo_seen","true"),o.goto("comments")}Zi(()=>i.on("hover:enabled",()=>{const e=r.data[0];e&&(localStorage.setItem("fubi_demo_seen","true"),r.select(e),o.goto("comments"))})),aa(e,{name:"demo",children:(e,t)=>{ag(e,{children:(e,t)=>{var r=Gy(),o=Ot(r),i=Ot(o);Ky(i,{class:"h-32 text-lime-300 mb-8"});var a=zt(i,6);{let e=Qe(()=>!jr(n)),t=Qe(()=>!jr(n));Bg(a,{class:"w-full max-w-xs mt-16",get disabled(){return jr(e)},get loading(){return jr(t)},onclick:s,children:(e,t)=>{K();var r=mo();er(()=>ko(r,jr(n)?"Start Exploring":"Loading...")),bo(e,r)},$$slots:{default:!0}})}Li(zt(a,2),"href","https://fubi.dev"),q(o),q(r),bo(e,r)},$$slots:{default:!0}})},$$slots:{default:!0}}),he()}},login:{component:function(e,t){ue(t,!0);const r=ce("app"),{auth:o,router:i}=Zx();ut(""),ut(""),aa(e,{name:"login",children:(e,t)=>{var n=Yg(),s=zt(At(n),2);!function(e,t){const r=Wi(t,["$$slots","$$events","$$legacy","color"]),o=Qe(()=>t.color??"#CDF545"),i=Qe(()=>t.color??"white");var n=ca();Si(n,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 235 70",fill:"none",...r}));var s=Ot(n),a=zt(s),l=zt(a),c=zt(l);q(n),er(()=>{Li(s,"fill",jr(o)),Li(a,"fill",jr(i)),Li(l,"fill",jr(i)),Li(c,"fill",jr(i))}),bo(e,n)}(s,{class:"h-24 text-lime-300 absolute top-20 left-20"});var a=zt(s,2);Li(a,"href","https://staging.dash.fubi.dev"),ci(a,1,ni(["absolute top-16 right-14 pointer-events-auto text-sm/none glass gap-4 bg-sky-950/80 h-32 rounded-full superellipse flex-center pl-14 pr-10 backdrop-blur-lg","transition-[background-color,color,scale] will-change-[background-color,color,scale] duration-100 ease-out-cubic","hover:bg-sky-500/10 text-sky-400 hover:scale-[1.05]","active:bg-sky-500/20 active:scale-100"])),Ag(zt(Ot(a),2),{get icon(){return pg},class:"size-16"}),q(a);var l=zt(a,2);ag(l,{children:(e,t)=>{var r=Xg(),n=Ot(r);{let e=Qe(()=>o.loading||i.navigating);Bg(n,{class:"mx-auto relative z-10",onclick:()=>o.loginWithHandoff(),get loading(){return o.loading},get disabled(){return jr(e)},children:(e,t)=>{var r=Kg();!function(e){const t=Wi({class:"size-16"},["$$slots","$$events","$$legacy"]);var r=la();Si(r,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",...t})),bo(e,r)}(Ot(r)),K(),q(r),bo(e,r)},$$slots:{default:!0}})}var s=zt(n,2);!function(e,t){ue(t,!0);let r=ut(void 0),o=ut(!1),i=ut(.22),n=ut(.125),s=ut(.75),a=ut(1.2),l=ut(2.3),c=ut(.4),d=ut(.21),u=ut(4),h=ut(12),p=ut(1),g=wt({r:.024,g:.051,b:.063}),f=wt({r:.04,g:.1,b:.14}),m=wt({r:.055,g:.145,b:.19});function v(e,t,r){const o=e.createShader(t);return e.shaderSource(o,r),e.compileShader(o),e.getShaderParameter(o,e.COMPILE_STATUS)?o:(e.deleteShader(o),null)}function b(){const e={speed:jr(i),blobRadius:jr(n),blobSpread:jr(s),noiseFreq1:jr(a),noiseFreq2:jr(l),noiseAmt1:jr(c),noiseAmt2:jr(d),ditherScale:jr(u),ditherLevels:jr(h),coreIntensity:jr(p),colBase:g,colMid:f,colBright:m};navigator.clipboard.writeText(JSON.stringify(e,null,2))}Kt(()=>{if(!jr(r))return;const e=jr(r).getContext("webgl2");if(!e)return;const t=function(e){const t=v(e,e.VERTEX_SHADER,"#version 300 es\n\t\tin vec4 a_position;\n\t\tvoid main() {\n\t\t\tgl_Position = a_position;\n\t\t}\n\t"),r=v(e,e.FRAGMENT_SHADER,"#version 300 es\n\t\tprecision highp float;\n\t\tuniform vec2 u_resolution;\n\t\tuniform float u_time;\n\t\tuniform float u_speed;\n\t\tuniform float u_blobRadius;\n\t\tuniform float u_blobSpread;\n\t\tuniform float u_noiseFreq1;\n\t\tuniform float u_noiseFreq2;\n\t\tuniform float u_noiseAmt1;\n\t\tuniform float u_noiseAmt2;\n\t\tuniform float u_ditherScale;\n\t\tuniform float u_ditherLevels;\n\t\tuniform float u_coreIntensity;\n\t\tuniform vec3 u_colBase;\n\t\tuniform vec3 u_colMid;\n\t\tuniform vec3 u_colBright;\n\t\tout vec4 fragColor;\n\n\t\tvec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\n\t\tvec2 mod289(vec2 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\n\t\tvec3 permute(vec3 x) { return mod289(((x * 34.0) + 1.0) * x); }\n\n\t\tfloat snoise(vec2 v) {\n\t\t\tconst vec4 C = vec4(0.211324865405187, 0.366025403784439,\n\t\t\t\t-0.577350269189626, 0.024390243902439);\n\t\t\tvec2 i = floor(v + dot(v, C.yy));\n\t\t\tvec2 x0 = v - i + dot(i, C.xx);\n\t\t\tvec2 i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n\t\t\tvec4 x12 = x0.xyxy + C.xxzz;\n\t\t\tx12.xy -= i1;\n\t\t\ti = mod289(i);\n\t\t\tvec3 p = permute(permute(i.y + vec3(0.0, i1.y, 1.0)) + i.x + vec3(0.0, i1.x, 1.0));\n\t\t\tvec3 m = max(0.5 - vec3(dot(x0, x0), dot(x12.xy, x12.xy), dot(x12.zw, x12.zw)), 0.0);\n\t\t\tm = m * m;\n\t\t\tm = m * m;\n\t\t\tvec3 x = 2.0 * fract(p * C.www) - 1.0;\n\t\t\tvec3 h = abs(x) - 0.5;\n\t\t\tvec3 ox = floor(x + 0.5);\n\t\t\tvec3 a0 = x - ox;\n\t\t\tm *= 1.79284291400159 - 0.85373472095314 * (a0 * a0 + h * h);\n\t\t\tvec3 g;\n\t\t\tg.x = a0.x * x0.x + h.x * x0.y;\n\t\t\tg.yz = a0.yz * x12.xz + h.yz * x12.yw;\n\t\t\treturn 130.0 * dot(m, g);\n\t\t}\n\n\t\tconst mat4 bayerMatrix = mat4(\n\t\t\t 0.0, 8.0, 2.0, 10.0,\n\t\t\t12.0, 4.0, 14.0, 6.0,\n\t\t\t 3.0, 11.0, 1.0, 9.0,\n\t\t\t15.0, 7.0, 13.0, 5.0\n\t\t) / 16.0;\n\n\t\tfloat dither4x4(vec2 pos, float scale) {\n\t\t\tvec2 scaled = floor(pos / scale);\n\t\t\tint x = int(mod(scaled.x, 4.0));\n\t\t\tint y = int(mod(scaled.y, 4.0));\n\t\t\treturn bayerMatrix[y][x];\n\t\t}\n\n\t\tvoid main() {\n\t\t\tvec2 st = gl_FragCoord.xy / u_resolution;\n\t\t\tfloat aspect = u_resolution.x / u_resolution.y;\n\t\t\tvec2 uv = vec2(st.x * aspect, st.y);\n\n\t\t\tfloat t = u_time * u_speed;\n\n\t\t\tfloat d = 0.0;\n\t\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\tfloat fi = float(i);\n\t\t\t\tvec2 center = vec2(\n\t\t\t\t\tsin(t * 0.7 + fi * 1.7) * u_blobSpread + 0.5 * aspect,\n\t\t\t\t\tcos(t * 0.5 + fi * 2.1) * u_blobSpread + 0.5\n\t\t\t\t);\n\t\t\t\tfloat radius = u_blobRadius + 0.03 * sin(t * 0.4 + fi);\n\t\t\t\td += radius / length(uv - center);\n\t\t\t}\n\n\t\t\tfloat n1 = snoise(uv * u_noiseFreq1 + t * 0.3);\n\t\t\tfloat n2 = snoise(uv * u_noiseFreq2 - t * 0.2 + 5.0);\n\t\t\td += n1 * u_noiseAmt1 + n2 * u_noiseAmt2;\n\n\t\t\t// 3-color blend: base -> mid -> bright\n\t\t\tfloat blend = smoothstep(0.3, 0.9, d);\n\t\t\tvec3 color = mix(u_colBase, u_colMid, blend);\n\n\t\t\tfloat core = smoothstep(0.6, 1.6, d);\n\t\t\tcolor = mix(color, u_colBright, core * u_coreIntensity);\n\n\t\t\tfloat threshold = dither4x4(gl_FragCoord.xy, u_ditherScale) - 0.5;\n\t\t\tcolor = floor(color * u_ditherLevels + threshold + 0.5) / u_ditherLevels;\n\n\t\t\tfragColor = vec4(color, 1.0);\n\t\t}\n\t");if(!t||!r)return null;const o=e.createProgram();if(e.attachShader(o,t),e.attachShader(o,r),e.linkProgram(o),!e.getProgramParameter(o,e.LINK_STATUS))return null;const i=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,i),e.bufferData(e.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,1]),e.STATIC_DRAW);const n=e.getAttribLocation(o,"a_position");e.enableVertexAttribArray(n),e.vertexAttribPointer(n,2,e.FLOAT,!1,0,0);const s=t=>e.getUniformLocation(o,t);return{program:o,u:{resolution:s("u_resolution"),time:s("u_time"),speed:s("u_speed"),blobRadius:s("u_blobRadius"),blobSpread:s("u_blobSpread"),noiseFreq1:s("u_noiseFreq1"),noiseFreq2:s("u_noiseFreq2"),noiseAmt1:s("u_noiseAmt1"),noiseAmt2:s("u_noiseAmt2"),ditherScale:s("u_ditherScale"),ditherLevels:s("u_ditherLevels"),coreIntensity:s("u_coreIntensity"),colBase:s("u_colBase"),colMid:s("u_colMid"),colBright:s("u_colBright")}}}(e);if(!t)return;let o;e.useProgram(t.program);const b=performance.now();return function v(){if(!jr(r)||!e)return;!function(){if(!jr(r))return;const e=window.devicePixelRatio||1;jr(r).width=jr(r).clientWidth*e,jr(r).height=jr(r).clientHeight*e}(),e.viewport(0,0,jr(r).width,jr(r).height);const w=t.u;e.uniform2f(w.resolution,jr(r).width,jr(r).height),e.uniform1f(w.time,(performance.now()-b)/1e3),e.uniform1f(w.speed,jr(i)),e.uniform1f(w.blobRadius,jr(n)),e.uniform1f(w.blobSpread,jr(s)),e.uniform1f(w.noiseFreq1,jr(a)),e.uniform1f(w.noiseFreq2,jr(l)),e.uniform1f(w.noiseAmt1,jr(c)),e.uniform1f(w.noiseAmt2,jr(d)),e.uniform1f(w.ditherScale,jr(u)),e.uniform1f(w.ditherLevels,jr(h)),e.uniform1f(w.coreIntensity,jr(p)),e.uniform3f(w.colBase,g.r,g.g,g.b),e.uniform3f(w.colMid,f.r,f.g,f.b),e.uniform3f(w.colBright,m.r,m.g,m.b),e.drawArrays(e.TRIANGLE_STRIP,0,4),o=requestAnimationFrame(v)}(),()=>cancelAnimationFrame(o)});var w=qg();no("keydown",Ct,e=>{"g"!==e.key||["INPUT","TEXTAREA"].includes(document.activeElement?.tagName??"")||pt(o,!jr(o))});var y=At(w);Di(y,e=>pt(r,e),()=>jr(r));var x=zt(y,2),k=e=>{var t=Zg(),r=Ot(t),v=zt(Ot(r),2);q(r);var w=zt(r,2),y=zt(Ot(w),2),x=zt(Ot(y),2);ki(x);var k=zt(x,2),C=Ot(k,!0);q(k),q(y),q(w);var L=zt(w,2),S=zt(Ot(L),2),M=zt(Ot(S),2);ki(M);var $=zt(M,2),T=Ot($,!0);q($),q(S);var _=zt(S,2),E=zt(Ot(_),2);ki(E);var I=zt(E,2),O=Ot(I,!0);q(I),q(_);var A=zt(_,2),z=zt(Ot(A),2);ki(z);var P=zt(z,2),F=Ot(P,!0);q(P),q(A),q(L);var N=zt(L,2),H=zt(Ot(N),2),D=zt(Ot(H),2);ki(D);var j=zt(D,2),R=Ot(j,!0);q(j),q(H);var W=zt(H,2),V=zt(Ot(W),2);ki(V);var B=zt(V,2),U=Ot(B,!0);q(B),q(W);var Z=zt(W,2),K=zt(Ot(Z),2);ki(K);var G=zt(K,2),X=Ot(G,!0);q(G),q(Z);var Y=zt(Z,2),J=zt(Ot(Y),2);ki(J);var Q=zt(J,2),ee=Ot(Q,!0);q(Q),q(Y),q(N);var te=zt(N,2),re=zt(Ot(te),2),oe=zt(Ot(re),2);ki(oe);var ie=zt(oe,2),ne=Ot(ie,!0);q(ie),q(re);var se=zt(re,2),ae=zt(Ot(se),2);ki(ae);var le=zt(ae,2),ce=Ot(le,!0);q(le),q(se),q(te);var de=zt(te,2);Po(zt(Ot(de),2),17,()=>[{label:"Base",c:g},{label:"Mid",c:f},{label:"Bright",c:m}],Ao,(e,t)=>{let r=()=>jr(t).c;var o=Ug(),i=Ot(o),n=Ot(i,!0);q(i);var s=zt(i,2),a=Ot(s);ki(a);var l=zt(a,2);ki(l);var c=zt(l,2);ki(c),q(s),q(o),er(()=>ko(n,jr(t).label)),Ii(a,()=>r().r,e=>r().r=e),Ii(l,()=>r().g,e=>r().g=e),Ii(c,()=>r().b,e=>r().b=e),bo(e,o)}),q(de);var ue=zt(de,2);q(t),er((e,t,r,o,i,n,s,a,l,c)=>{ko(C,e),ko(T,t),ko(O,r),ko(F,o),ko(R,i),ko(U,n),ko(X,s),ko(ee,a),ko(ne,l),ko(ce,c)},[()=>jr(i).toFixed(2),()=>jr(n).toFixed(3),()=>jr(s).toFixed(2),()=>jr(p).toFixed(2),()=>jr(a).toFixed(1),()=>jr(l).toFixed(1),()=>jr(c).toFixed(2),()=>jr(d).toFixed(2),()=>jr(u).toFixed(0),()=>jr(h).toFixed(0)]),so("click",v,b),Ii(x,()=>jr(i),e=>pt(i,e)),Ii(M,()=>jr(n),e=>pt(n,e)),Ii(E,()=>jr(s),e=>pt(s,e)),Ii(z,()=>jr(p),e=>pt(p,e)),Ii(D,()=>jr(a),e=>pt(a,e)),Ii(V,()=>jr(l),e=>pt(l,e)),Ii(K,()=>jr(c),e=>pt(c,e)),Ii(J,()=>jr(d),e=>pt(d,e)),Ii(oe,()=>jr(u),e=>pt(u,e)),Ii(ae,()=>jr(h),e=>pt(h,e)),so("click",ue,()=>pt(o,!1)),bo(e,t)};_o(x,e=>{jr(o)&&e(k)}),bo(e,w),he()}(s,{});var a=zt(s,2),l=e=>{var t=Gg(),r=Ot(t,!0);q(t),er(()=>ko(r,o.error)),Qo(3,t,()=>oa,()=>({})),bo(e,t)};_o(a,e=>{o.error&&e(l)}),q(r),bo(e,r)},$$slots:{default:!0}});var c=zt(l,2);ci(c,1,ni(["absolute bottom-16 right-14 pointer-events-auto text-sm/none gap-4 h-32 rounded-full superellipse flex-center pl-12 pr-14 text-sky-400 glass-hover","transition-[background-color,color,scale] will-change-[background-color,color,scale] duration-100 ease-out-cubic cursor-pointer","hover:bg-sky-500/10 ","active:bg-white/10 active:scale-[.98]"])),Ag(Ot(c),{get icon(){return _g},class:"size-16"}),K(2),q(c),so("click",c,()=>r.hide()),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Xy(e)||(e.auth?.user?{redirect:"folders"}:void 0)},error:{component:function(e,t){ue(t,!0);const r=ce("app"),{auth:o,error:i,router:n}=Zx(),s=()=>{"refresh"===i.current?.action?window.location.reload():"logout"===i.current?.action?n.goto("login",void 0,"back"):"back"===i.current?.action&&n.back("folders")};aa(e,{name:"error",children:(e,t)=>{var o=Iy(),n=At(o);ag(n,{children:(e,t)=>{var r=Ey(),o=Ot(r),n=e=>{var t=_y(),r=Ot(t),o=Ot(r);Ag(o,{get icon(){return dg},className:"size-42 text-rose-400"});var n=zt(o,2),a=Ot(n,!0);q(n);var l=zt(n,2);jo(Ot(l),()=>i.current?.message),q(l),q(r);var c=zt(r,2),d=Ot(c),u=e=>{var t=Ty(),r=Ot(t),o=Ot(r,!0);q(r),Ag(zt(r,2),{get icon(){return mm},className:"size-14"}),q(t),er(()=>{Li(r,"href",i.current.link.url),Li(r,"target",i.current.link.external?"_blank":"_self"),ko(o,i.current.link.label)}),bo(e,t)};_o(d,e=>{i.current?.link&&e(u)}),Bg(zt(d,2),{class:"w-full",variant:"ghost",onclick:s,children:(e,t)=>{K();var r=mo();er(()=>ko(r,"logout"===i.current?.action?"Log out":"Refresh page")),bo(e,r)},$$slots:{default:!0}}),q(c),q(t),er(()=>ko(a,i.current?.title)),bo(e,t)},a=e=>{pf(e)};_o(o,e=>{i.current?e(n):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}});var a=zt(n,2);ci(a,1,ni(["absolute bottom-16 right-14 pointer-events-auto text-sm/none gap-4 h-32 rounded-full superellipse flex-center pl-12 pr-14 text-sky-400 glass-hover","transition-[background-color,color,scale] will-change-[background-color,color,scale] duration-100 ease-out-cubic cursor-pointer","hover:bg-sky-500/10 ","active:bg-white/10 active:scale-[.98]"])),Ag(Ot(a),{get icon(){return _g},class:"size-16"}),K(2),q(a),so("click",a,()=>r.hide()),bo(e,o)},$$slots:{default:!0}}),he()},beforeEnter:e=>{if(!e.error.current)return{redirect:"login"}}},folders:{component:function(e,t){ue(t,!0);const{status:r,team:o,project:i,router:n,folders:s}=Zx();let a=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.total,0)??0),l=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.done,0)??0),c=Qe(()=>0===jr(a)?0:Math.round(jr(l)/jr(a)*100));aa(e,{name:"folders",children:(e,t)=>{var d=kv(),u=At(d);{const e=e=>{{let t=Qe(()=>`${Ls}/?redirect=/${o?.current?.slug}/${i?.current?.slug}`);Cf(e,{get href(){return jr(t)},target:"_blank",get icon(){return mm},tooltip:{text:"Manage Folders",align:"end",offset:4}})}};let t=Qe(()=>i?.current?.name||"—");$f(u,{label:"Folders",get title(){return jr(t)},after:e,$$slots:{after:!0}})}var h=zt(u,2);{const e=e=>{var t=pv(),r=Ot(t);uv(r,{get progress(){return jr(c)},radius:12,title:"Progress",class:"p-4 pl-6"}),uv(zt(r,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=hv(),o=Ot(r),i=Ot(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,jr(l)),ko(n,`/${jr(a)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>i?.current?.name||"–");ag(h,{get title(){return jr(t)},get progress(){return jr(c)},popoverContent:e,children:(e,t)=>{Qg(e,{children:(e,t)=>{var a=xv(),l=At(a);Po(l,17,()=>s?.foldersWithStats??[],Ao,(e,t,r)=>{Qe(()=>(e=>{const t=e.expand?.folder_notifications_via_folder?.[0]?.setting;return"all"===t||"important"===t?t:"none"})(jr(t)));{const o=e=>{{const r=e=>{var r=gv(),o=Ot(r),i=zt(Ot(o),2),n=Ot(i);q(i),q(o);var s=zt(o,2),a=zt(Ot(s),2),l=Ot(a),c=Ot(l,!0);q(l);var d=zt(l);q(a),q(s),q(r),er(()=>{ko(n,`${jr(t).progress??""}%`),ko(c,jr(t).done),ko(d,`/${jr(t).total??""} Done`)}),bo(e,r)};Pp(e,{align:"end",tooltipContent:r,children:(e,r)=>{var o=fv(),i=Ot(o),n=e=>{Qp(e,{})},s=e=>{lv(e,{get progress(){return jr(t).progress},radius:9,stroke:3})};_o(i,e=>{100===jr(t).progress?e(n):e(s,!1)}),q(o),bo(e,o)},$$slots:{tooltipContent:!0,default:!0}})}};let i=Qe(()=>jr(t).description?jr(t)?.description:null),a=Qe(()=>s.current?.id===jr(t).id);hf(e,{get title(){return jr(t).name},get subtitle(){return jr(i)},get icon(){return xg},index:r,chevron:!0,get active(){return jr(a)},onclick:()=>jr(t)?(e=>{us(),s.select(e),n.goto("pages")})(jr(t)):null,after:o,$$slots:{after:!0}})}});var c=zt(l,2),d=e=>{var t=mv();pf(Ot(t)),q(t),bo(e,t)},u=e=>{var t=wv();mf(zt(At(t),2),{get icon(){return nv},title:"No Folders",height:"min-h-330",children:(e,t)=>{var r=bv(),n=zt(Ot(r),3),s=e=>{bo(e,mo("Ask your team organizer to create one."))},a=e=>{var t=vv(),r=At(t);K(),er(()=>Li(r,"href",`${Kx}/${o?.current?.slug}/${i?.current?.slug}/folders`)),bo(e,t)};_o(n,e=>{"guest"===o?.role?e(s):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}}),bo(e,t)},h=e=>{bo(e,yv())};_o(c,e=>{r?.loading||i?.loading||o?.loading||s?.loading?e(d):s?.loading||0!==s?.data?.length?s?.error&&e(h,2):e(u,1)}),bo(e,a)},$$slots:{default:!0}})},$$slots:{popoverContent:!0,default:!0}})}bo(e,d)},$$slots:{default:!0}}),he()},beforeEnter:e=>Yy(e)||(1===e.folders.data.length?{redirect:"pages"}:void vs())},pages:{component:function(e,t){ue(t,!0);const{can:r,project:o,team:i,folders:n,router:s,domains:a,pages:l}=Zx(),c=()=>{us(),s.goto("comments")};let d=Qe(()=>l.pagesWithStats?.reduce((e,t)=>e+t.total,0)??0),u=Qe(()=>l.pagesWithStats?.reduce((e,t)=>e+t.done,0)??0),h=Qe(()=>0===jr(d)?0:Math.round(jr(u)/jr(d)*100)),p=Qe(()=>l.pagesWithStats?.length??0),g=Qe(()=>l.pagesWithStats?.filter(e=>e.total>0&&100===e.progress).length??0),f=ut(!1),m=ut("none");Kt(()=>{n.current,Vr(()=>{pt(m,n?.current?.expand?.folder_notifications_via_folder?.[0]?.setting||"none",!0)})});let v=Qe(()=>"all"===jr(m)?Lm:"important"===jr(m)?xm:Sm);const b=e=>{const t=n.current.id;pt(m,e,!0),n.setNotification(t,e)};aa(e,{name:"pages",children:(e,t)=>{var r=Hv(),s=At(r);{const e=e=>{var t=Ev(),r=At(t);{let e=Qe(()=>`${Ls}/?redirect=/${i?.current?.slug}/${o?.current?.slug}/${n?.current?.slug}`);Cf(r,{get href(){return jr(e)},target:"_blank",get icon(){return mm},tooltip:{text:"Manage Folder",align:"end",offset:4}})}{const e=(e,t)=>{Cf(e,Bi(()=>t?.().props,{get icon(){return jr(v)},get active(){return jr(f)},tooltip:{text:"Folder Notifications",align:"end",offset:4}}))};Hp(zt(r,2),{triggerClass:"",get opened(){return jr(f)},set opened(e){pt(f,e,!0)},child:e,children:(e,t)=>{var r=_v(),o=At(r);{let e=Qe(()=>"all"===jr(m));zf(o,{title:"All activity",get icon(){return Lm},get checked(){return jr(e)},onclick:()=>b("all")})}var i=zt(o,2);{let e=Qe(()=>"important"===jr(m));zf(i,{title:"Mentions & replies",get icon(){return xm},get checked(){return jr(e)},onclick:()=>b("important")})}var n=zt(i,2);{let e=Qe(()=>"none"===jr(m));zf(n,{title:"Nothing",get icon(){return Sm},get checked(){return jr(e)},onclick:()=>b("none")})}bo(e,r)},$$slots:{child:!0,default:!0}})}bo(e,t)};let t=Qe(()=>n?.current?.name||"—"),r=Qe(()=>1===n.data.length?null:"folders");$f(s,{label:"Pages",get title(){return jr(t)},get onBack(){return jr(r)},after:e,$$slots:{after:!0}})}var w=zt(s,2);{const e=e=>{var t=Av(),r=Ot(t);uv(r,{get progress(){return jr(h)},radius:12,title:"Progress",class:"p-4 pl-6"});var o=zt(r,4);uv(o,{title:"Pages",class:"pt-4 p-6",children:(e,t)=>{var r=Iv(),o=Ot(r),i=Ot(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,jr(g)),ko(n,`/${jr(p)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),uv(zt(o,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Ov(),o=Ot(r),i=Ot(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,jr(u)),ko(n,`/${jr(d)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>n?.current?.name);ag(w,{get title(){return jr(t)},get progress(){return jr(h)},popoverContent:e,children:(e,t)=>{var r=Nv(),o=At(r),i=e=>{Qg(e,{children:(e,t)=>{var r=Pv(),o=At(r),i=e=>{{const t=e=>{Mv(e,{progress:0,radius:9,stroke:3})};let r=Qe(()=>l.current?.name);hf(e,{get icon(){return ov},classIcon:"text-white",get title(){return jr(r)},active:!0,chevron:!0,onclick:c,after:t,$$slots:{after:!0}})}};_o(o,e=>{l.isNew&&e(i)}),Po(zt(o,2),17,()=>l.pagesWithStats,Ao,(e,t,r)=>{let o=()=>jr(t).total,i=()=>jr(t).pathname;var n=zv(),s=Ot(n);{const e=e=>{Mv(e,{get progress(){return jr(t).progress},get done(){return jr(t).done},get total(){return o()},radius:9,stroke:3,tabindex:-1})};let n=Qe(()=>i()===a?.url?.pathname?ov:0===o()?iv:ov),l=Qe(()=>i()===a?.url?.pathname?"text-neutral-500":""),d=Qe(()=>i()===a?.url?.pathname);hf(s,{get icon(){return jr(n)},get classIcon(){return jr(l)},get title(){return jr(t).name},get active(){return jr(d)},chevron:!0,index:r,tabindex:"-1",onclick:c,after:e,$$slots:{after:!0}})}q(n),er(()=>Li(n,"href",i()===a?.url?.pathname?"#":i())),bo(e,n)}),bo(e,r)},$$slots:{default:!0}})};_o(o,e=>{l.ready&&l.valid&&(l.pagesWithStats?.length>0||l.isNew)&&e(i)});var n=zt(o,2),s=e=>{mf(e,{get icon(){return ov},title:"No Pages",subtitle:"No pages found for this domain."})};_o(n,e=>{l.ready&&l.valid&&0===l.pagesWithStats?.length&&!l.isNew&&e(s)});var d=zt(n,2),u=e=>{mf(e,{get icon(){return Qm},title:"Error",subtitle:"Failed to load pages."})};_o(d,e=>{l.error&&!l.valid&&e(u)});var h=zt(d,2),p=e=>{var t=Fv();pf(Ot(t)),q(t),bo(e,t)};_o(h,e=>{l.ready||e(p)}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,r)},$$slots:{default:!0}}),he()},beforeEnter:e=>Yy(e)},comments:{component:function(e,t){ue(t,!0);const{can:r,modals:o,router:i,meta:n,hover:s,comments:a,pages:l,analysis:c,environment:d}=Zx();let u=Qe(()=>c.checks.filter(e=>"fail"===e.status).length),h=Qe(()=>c.checks.filter(e=>"warn"===e.status).length);const p=["title","description","og-image","favicon"];let g=Qe(()=>c.checks.filter(e=>p.includes(e.id)&&"fail"===e.status).length),f=Qe(()=>c.checks.filter(e=>p.includes(e.id)&&"warn"===e.status).length),m=Qe(()=>jr(g)||jr(f)),v=Qe(()=>jr(m)?"text-rose-400":void 0),b=ut(!1),w=Qe(()=>jr(m)||jr(u)?"error":jr(h)?"warning":c.checks.length?"success":void 0),y=Qe(()=>"success"===jr(w)?mg:cg);const[x,k]=function({fallback:e,...t}){const r=/* @__PURE__ */new Map,o=/* @__PURE__ */new Map;function i(r,o,i){return(n,s)=>(r.set(s.key,n),()=>{if(o.has(s.key)){const e=o.get(s.key);return o.delete(s.key),function(e,r,o){const{delay:i=0,duration:n=e=>30*Math.sqrt(e),easing:s=Js}=na(na({},t),o),a=e.getBoundingClientRect(),l=r.getBoundingClientRect(),c=a.left-l.left,d=a.top-l.top,u=a.width/l.width,h=a.height/l.height,p=Math.sqrt(c*c+d*d),g=getComputedStyle(r),f="none"===g.transform?"":g.transform,m=+g.opacity;return{delay:i,duration:"function"==typeof n?n(p):n,easing:s,css:(e,t)=>`\n\t\t\t opacity: ${e*m};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${f} translate(${t*c}px,${t*d}px) scale(${e+(1-e)*u}, ${e+(1-e)*h});\n\t\t `}}(e,n,s)}return r.delete(s.key),e&&e(n,s,i)})}return[i(o,r,!1),i(r,o,!0)]}({duration:e=>Math.sqrt(350*e),easing:js});let C=Qe(()=>a.doneThreads),L=Qe(()=>a.totalThreads),S=Qe(()=>a.progress),M=Qe(()=>l.ready&&l.valid&&!a.search&&(l.isNew||0===a?.sortedThreads?.length));const $=async()=>{o.open("edit-page",{id:l.current?.id})},T=()=>{n.visible?n.hide():n.show()},_=()=>{i.goto("issues")};aa(e,{name:"comments",children:(e,t)=>{var o=iy(),i=At(o);{const e=e=>{var t=Gw(),o=Ot(t);Cf(o,{get icon(){return jf},get status(){return jr(w)},get statusIcon(){return jr(y)},onclick:_});{const e=(e,t)=>{Cf(e,Bi(()=>t?.().props,{get icon(){return km},get active(){return jr(b)}}))};Hp(zt(o,2),{get opened(){return jr(b)},set opened(e){pt(b,e,!0)},child:e,children:(e,t)=>{var o=Kw(),i=At(o);zf(i,{title:"Edit Page",get icon(){return Qf},onclick:$});var s=zt(i,2);{const e=e=>{var t=vo(),r=At(t),o=e=>{var t=qw();ci(t,1,ni(["gap-3 pl-2 pr-6 h-20 flex-center rounded-full text-[12px]/none font-medium","bg-rose-500/15 text-rose-400"]));var r=Ot(t);Ag(r,{get icon(){return cg},className:"size-16"});var o=zt(r);q(t),er(()=>ko(o,` ${jr(m)??""}`)),bo(e,t)};_o(r,e=>{jr(m)&&e(o)}),bo(e,t)};let t=Qe(()=>!r.openMeta);zf(s,{title:"Meta Panel",get icon(){return Fm},get iconClass(){return jr(v)},get active(){return n.visible},get disabled(){return jr(t)},onclick:T,end:e,$$slots:{end:!0}})}bo(e,o)},$$slots:{child:!0,default:!0}})}q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");$f(i,{get title(){return jr(t)},label:"Comments",onBack:"pages",after:e,$$slots:{after:!0}})}var c=zt(i,2);{const e=e=>{var t=Yw(),r=Ot(t);uv(r,{get progress(){return jr(S)},radius:12,title:"Progress",class:"p-4 pl-6"}),uv(zt(r,4),{title:"Threads",class:"pt-4 p-6",children:(e,t)=>{var r=Xw(),o=Ot(r),i=Ot(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,jr(C)),ko(n,`/${jr(L)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");ag(c,{get title(){return jr(t)},get progress(){return jr(S)},popoverContent:e,children:(e,t)=>{var r=oy(),o=At(r),i=e=>{var t=ty();ci(t,1,ni(["flex flex-col gap-6 flex-1"]));var r=Ot(t),o=e=>{var t=vo();Po(At(t),25,()=>a.searchGroups??[],e=>e.thread.id,(e,t)=>{var r=Qw(),o=Ot(r),i=Ot(o);{let e=Qe(()=>s.mode.selector===jr(t).thread.selector),r=Qe(()=>a.getThreadInfo(jr(t).thread.id));dw(i,Bi({get focused(){return jr(e)}},()=>jr(t).thread,()=>jr(r)))}q(o);var n=zt(o,2),l=e=>{var r=Jw();Po(r,21,()=>jr(t).replies,e=>e.id,(e,t)=>{dw(e,Bi({reply:!0},()=>jr(t)))}),q(r),bo(e,r)};_o(n,e=>{jr(t).replies.length&&e(l)}),q(r),er(()=>ci(o,1,ni(jr(t).matched?void 0:"opacity-50 grayscale"))),Jo(r,()=>Dv,()=>({duration:d.android?0:350,easing:js})),Qo(1,r,()=>k,()=>({key:jr(t).thread.id})),Qo(2,r,()=>x,()=>({key:jr(t).thread.id})),bo(e,r)},e=>{{let t=Qe(()=>`No results for: "<strong>${a.search}</strong>"`);mf(e,{get icon(){return sv},title:"No Results",get subtitle(){return jr(t)},height:"min-h-120"})}}),bo(e,t)},i=e=>{var t=vo();Po(At(t),25,()=>a?.sortedThreads??[],e=>e.id,(e,t)=>{var r=ey(),o=Ot(r);{let e=Qe(()=>s.mode.selector===jr(t).selector),r=Qe(()=>a.getThreadInfo(jr(t).id));dw(o,Bi({get focused(){return jr(e)}},()=>jr(t),()=>jr(r)))}q(r),Jo(r,()=>Dv,()=>({duration:d.android?0:350,easing:js})),Qo(1,r,()=>k,()=>({key:jr(t).id})),Qo(2,r,()=>x,()=>({key:jr(t).id})),bo(e,r)}),bo(e,t)};_o(r,e=>{a.search?e(o):e(i,!1)});var n=zt(r,2),l=e=>{{let t=Qe(()=>a.search?`No results for: "${a.search}"`:0===a?.threads?.length?"Be the first to comment":"Some are hidden by filters");mf(e,{get icon(){return bg},title:"No Comments",get subtitle(){return jr(t)}})}};_o(n,e=>{jr(M)&&e(l)}),Zw(zt(n,2),{}),q(t),Qo(3,t,()=>oa,()=>d.android?void 0:{axis:"y",duration:200}),bo(e,t)},n=e=>{bo(e,ry())};_o(o,e=>{l.ready&&l.valid?e(i):a?.error&&e(n,1)});var c=zt(o,2);!function(e){ue({},!0);const{settings:t,comments:r,modals:o}=Zx();o.register("delete-comment");let i=Qe(()=>o.getData("delete-comment"));{const n=e=>{var r=Ew();(function(e,t){const r=wo();ue(t,!0);let o=Ui(t,"checked",15,!1);var i=_w(),n=Ot(i),s=Ot(n);ki(s),Yp(zt(s,2),{name:"check",class:["size-20 touch:size-28 pointer-events-none relative text-white icon-shadow","stroke-[1.6px] opacity-0","peer-checked:opacity-100 peer-checked:stroke-[2.5px]"]}),q(n);var a=zt(n,2);ci(a,1,ni(["relative flex text-sm/[140%] cursor-pointer rounded-[6px]"]));var l=Ot(a,!0);q(a),q(i),er(()=>{Li(s,"id",t.id??r),function(e,t){var r=Mi(e);r.checked!==(r.checked=t??void 0)&&(e.checked=t)}(s,o()),Li(a,"for",t.id??r),ko(l,t.label)}),so("change",s,e=>{us();const r=e.target.checked;o(r),t.onchange?.(r)}),bo(e,i),he()})(Ot(r),{label:"Don't ask me again",get checked(){return t.current.dontAskBeforeDelete},onchange:e=>t.set("dontAskBeforeDelete",e)}),q(r),bo(e,r)};Tw(e,{horizontalButtons:!0,title:"Delete Comment?",get open(){return o.modals["delete-comment"]},set open(e){o.modals["delete-comment"]=e},content:n,children:(e,t)=>{var n=Iw(),s=At(n);Bg(s,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("delete-comment"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),Bg(zt(s,2),{small:!0,flex:!0,variant:"destructive",onclick:()=>r.deleteComment(jr(i)),get loading(){return r.loading},children:(e,t)=>{K(),bo(e,mo("Delete"))},$$slots:{default:!0}}),bo(e,n)},$$slots:{content:!0,default:!0}})}he()}(c);var u=zt(c,2);!function(e,t){ue(t,!0);const{comments:r,modals:o}=Zx();o.register("edit-comment");let i=ut(null),n=ut(""),s=ut(wt([])),a=ut(wt([])),l=ut(0),c=ut(0);Qn(()=>o.modals["edit-comment"],()=>{if(o.modals["edit-comment"]&&(pt(i,o.getData("edit-comment"),!0),jr(i))){const e=jr(i).expand?.mentions||[];pt(n,function(e,t){return e?(Array.isArray(e)?e:[]).map(e=>{switch(e.type){case"text":return Ab(e.value).replace(/\n/g,"<br>");case"mention":{const r=t.find(t=>t.id===e.userId),o=r?r.name||[r.firstName,r.lastName].filter(Boolean).join(" ")||r.email||"Unknown":"Deleted User";return`<span contenteditable="false" data-fubi-comment-mention data-mention-id="${e.userId}" class="text-sky-400">@${Ab(o)}</span>`}case"image":return`<img src="${Ab(e.src)}" alt="${Ab(e.alt||"")}" data-fubi-comment-image />`;case"link":return Ab(e.url)}}).join(""):""}(jr(i).content,e),!0),function(e,t=1){var r=jr(e);1===t?r++:r--,pt(e,r)}(c)}});const d=Qe(()=>jr(s).length>0&&jr(l)<=400),u=async()=>{jr(i)&&jr(d)&&await r.editComment(jr(i).id,{content:jr(s),mentions:jr(a)})};{const t=e=>{var t=jw(),r=At(t),o=e=>{var t=Hw(),r=Ot(t);{let e=Qe(()=>jr(i).expand?.createdBy);Rv(r,{get created(){return jr(i).created},get author(){return jr(e)}})}q(t),bo(e,t)};_o(r,e=>{jr(i)&&e(o)}),Oo(zt(r,2),()=>jr(c),e=>{var t=Dw();Nw(Ot(t),{id:"edit-comment",get initialHtml(){return jr(n)},get maxLength(){return 400},get content(){return jr(s)},set content(e){pt(s,e,!0)},get mentions(){return jr(a)},set mentions(e){pt(a,e,!0)},get charCount(){return jr(l)},set charCount(e){pt(l,e,!0)}}),q(t),bo(e,t)}),bo(e,t)};Tw(e,{width:"w-320 max-w-[94%]",get open(){return o.modals["edit-comment"]},set open(e){o.modals["edit-comment"]=e},content:t,children:(e,t)=>{var i=Rw(),n=Ot(i);Bg(n,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("edit-comment"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}});var s=zt(n,2);{let e=Qe(()=>!jr(d));Bg(s,{small:!0,flex:!0,onclick:u,get disabled(){return jr(e)},get loading(){return r.loading},children:(e,t)=>{K(),bo(e,mo("Save"))},$$slots:{default:!0}})}q(i),bo(e,i)},$$slots:{content:!0,default:!0}})}he()}(u,{});var h=zt(u,2);!function(e){ue({},!0);const{pages:t,modals:r}=Zx();r.register("edit-page");let o=ut(wt({})),i=ut(""),n=ut(""),s=Qe(()=>!!jr(n)&&jr(n)!==jr(o).pathname),a=ut(!1);Qn(()=>r.modals["edit-page"],()=>{r.modals["edit-page"]&&(pt(o,t.data?.find(e=>e?.id===r.getData("edit-page")?.id)||t.current||[],!0),pt(i,jr(o)?.name||"",!0),pt(n,jr(o)?.pathname||"",!0))});const l=async e=>{e.preventDefault(),pt(a,!0);const l=jr(s);jr(o)?.id?(await t.update(jr(o).id,{name:jr(i),pathname:jr(n)}),t.current?.id===jr(o).id&&(t.current={...t.current,name:jr(i),pathname:jr(n)})):(await t.registerCurrent(jr(i)),l&&t.current?.id&&(await t.update(t.current.id,{pathname:jr(n)}),t.current&&(t.current={...t.current,pathname:jr(n)}))),pt(a,!1),r.close("edit-page"),l&&(window.location.href=jr(n))};{const t=e=>{var t=Aw(),r=Ot(t);ua(r,{children:(e,t)=>{Dg(e,{name:"page-name",label:"Name",required:!0,get disabled(){return jr(a)},get value(){return jr(i)},set value(e){pt(i,e,!0)}})},$$slots:{default:!0}});var o=zt(r,2);ua(o,{children:(e,t)=>{Dg(e,{name:"page-url",label:"URL",required:!0,pattern:"/[a-zA-Z0-9\\-._~\\/]*",get disabled(){return jr(a)},get loading(){return jr(a)},get value(){return jr(n)},set value(e){pt(n,e,!0)}})},$$slots:{default:!0}});var c=zt(o,2),d=e=>{var t=Ow();Qo(3,t,()=>oa,()=>({axis:"y",duration:400,easing:js})),bo(e,t)};_o(c,e=>{jr(s)&&e(d)}),q(t),no("submit",t,l),bo(e,t)};Tw(e,{horizontalButtons:!0,title:"Edit Page",get open(){return r.modals["edit-page"]},set open(e){r.modals["edit-page"]=e},content:t,children:(e,t)=>{var o=zw(),i=At(o);Bg(i,{small:!0,flex:!0,variant:"ghost",onclick:()=>r.close("edit-page"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),Bg(zt(i,2),{small:!0,type:"submit",flex:!0,form:"edit-page-form",get disabled(){return jr(a)},get loading(){return jr(a)},children:(e,t)=>{K(),bo(e,mo("Save"))},$$slots:{default:!0}}),bo(e,o)},$$slots:{content:!0,default:!0}})}he()}(h),mw(zt(h,2),{}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,o)},$$slots:{default:!0}}),he()},beforeEnter:Yy},isolation:{component:function(e,t){ue(t,!0);const{hover:r,comments:o,router:i}=Zx();aa(e,{name:"isolation",children:(e,t)=>{var n=cy(),s=At(n);{const e=e=>{Eb(e,{get element(){return r.isolatedElement},missing:!1,meta:!1})};$f(s,{label:"Selection",onBack:()=>(r.dismissIsolation(),void i.back("comments")),after:e,$$slots:{after:!0}})}ag(zt(s,2),{children:(e,t)=>{var i=ly(),n=At(i),s=Ot(n),a=e=>{var t=vo();Po(At(t),17,()=>o.isolatedSearchGroups??[],e=>e.thread.id,(e,t)=>{var i=ay(),n=Ot(i),s=Ot(n);{let e=Qe(()=>o.getThreadInfo(jr(t).thread.id));dw(s,Bi({get focused(){return r.isIsolated}},()=>jr(t).thread,()=>jr(e)))}q(n);var a=zt(n,2),l=e=>{var r=sy();Po(r,21,()=>jr(t).replies,e=>e.id,(e,t)=>{dw(e,Bi({reply:!0},()=>jr(t)))}),q(r),bo(e,r)};_o(a,e=>{jr(t).replies.length&&e(l)}),q(i),er(()=>ci(n,1,ni(jr(t).matched?void 0:"opacity-50 grayscale"))),bo(e,i)}),bo(e,t)},l=e=>{var t=vo();Po(At(t),17,()=>o?.isolatedThreads??[],e=>e.id,(e,t)=>{{let i=Qe(()=>o.getThreadInfo(jr(t).id));dw(e,Bi({get focused(){return r.isIsolated}},()=>jr(t),()=>jr(i)))}}),bo(e,t)};_o(s,e=>{o.search?e(a):e(l,!1)});var c=zt(s,2),d=e=>{mf(e,{get icon(){return bg},title:"No Comments",subtitle:"Add comments to this element.",height:"min-h-400"})};_o(c,e=>{0===o?.isolatedThreads?.length&&e(d)}),Zw(zt(c,2),{get threads(){return o.isolatedThreads}}),q(n),mw(zt(n,2),{}),bo(e,i)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Yy(e)||(e?.hover?.isIsolated?void 0:{redirect:"comments"})},meta:{component:function(e,t){ue(t,!0);const{pages:r,meta:o,comments:i}=Zx();aa(e,{name:"meta",children:(e,t)=>{var n=uy(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");$f(s,{label:"Meta",get title(){return jr(e)},onBack:()=>{o.hide()}})}ag(zt(s,2),{children:(e,t)=>{var r=dy(),o=At(r);ci(o,1,ni(["flex flex-col gap-6 flex-1"]));var n=Ot(o);Po(n,17,()=>i?.metaThreads??[],e=>e.id,(e,t)=>{{let r=Qe(()=>i.getThreadInfo(jr(t).id));dw(e,Bi(()=>jr(t),()=>jr(r)))}});var s=zt(n,2),a=e=>{mf(e,{get icon(){return bg},title:"No Meta Comments",subtitle:"Add comments to meta fields."})};_o(s,e=>{0===i?.metaThreads?.length&&e(a)});var l=zt(s,2);{let e=Qe(()=>i.threads.filter(e=>e.info?.meta));Zw(l,{get threads(){return jr(e)}})}q(o),mw(zt(o,2),{}),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Yy(e)||(e?.meta?.visible?void 0:{redirect:"comments"})},thread:{component:function(e,t){ue(t,!0);const{hover:r,router:o,comments:i}=Zx();let n=ut(!1),s=Qe(()=>"all"===i.threadNotificationSetting?Lm:Sm);const a=e=>{const t=i.activeThreadId;t&&(i.threadNotificationSetting=e,i.setNotification(t,e))},l=async()=>{await navigator.clipboard.writeText(window.location.href)};aa(e,{name:"thread",children:(e,t)=>{var c=$y(),d=At(c);{const e=e=>{var t=Ly(),r=At(t);Cf(r,{get icon(){return rf},onclick:l});{const e=(e,t)=>{Cf(e,Bi(()=>t?.().props,{get icon(){return jr(s)},get active(){return jr(n)}}))};Hp(zt(r,2),{triggerClass:"",class:"min-w-200",get opened(){return jr(n)},set opened(e){pt(n,e,!0)},child:e,children:(e,t)=>{var r=Cy(),o=At(r);{let e=Qe(()=>"all"===i.threadNotificationSetting);zf(o,{title:"All activity",get icon(){return Lm},get checked(){return jr(e)},onclick:()=>a("all")})}var n=zt(o,2);{let e=Qe(()=>"none"===i.threadNotificationSetting);zf(n,{title:"Nothing",get icon(){return Sm},get checked(){return jr(e)},onclick:()=>a("none")})}bo(e,r)},$$slots:{child:!0,default:!0}})}bo(e,t)};$f(d,{label:"Thread",onBack:()=>(async()=>{const e="isolation"===o.previous;i.setActiveThread(null),bs(),o.back("comments"),e||r.dismissIsolation()})(),after:e,$$slots:{after:!0}})}ag(zt(d,2),{padding:"h-full flex-col-reverse overflow-y-scroll",children:(e,t)=>{var r=My(),o=At(r);ky(Ot(o),{id:"reply",get parent(){return i.activeThreadId}}),q(o);var n=zt(o,4),s=Ot(n),a=e=>{{let t=Qe(()=>i.getThreadInfo(i.activeThread.id));dw(e,Bi(()=>i.activeThread,()=>jr(t),{replyThread:!0}))}},l=e=>{var t=Sy(),r=Ot(t);pf(Ot(r)),q(r),q(t),bo(e,t)};_o(s,e=>{i.activeThread?e(a):e(l,!1)}),Po(zt(s,2),19,()=>i.activeThreadReplies,e=>e.id,(e,t,r)=>{dw(e,Bi({reply:!0},()=>jr(t),{get index(){return jr(r)}}))}),q(n),bo(e,r)},$$slots:{default:!0}}),bo(e,c)},$$slots:{default:!0}}),he()},beforeEnter:e=>{const t=Yy(e);if(t)return t;if(!e.comments.activeThreadId){if(vs()?.[1])return;return bs(),{redirect:"comments"}}}},issues:{component:function(e,t){ue(t,!0);const{pages:r,analysis:o}=Zx(),i={seo:"SEO & Accessibility",html:"HTML Quality",performance:"Performance",security:"Security",content:"Content"},n={seo:Am,html:Zf,performance:Jf,security:Im,content:qm},s={title:om,description:Hm,"og-image":Pm,favicon:rm,lang:dm,"h1-missing":om,"h1-multiple":om,"h1-ok":om,"heading-hierarchy":im,"heading-empty":im,"img-alt-missing":nm,"img-alt-ok":nm,"button-empty":Rm,"link-empty":gm,"form-labels":cm,"duplicate-ids":Xf,deprecated:Zf,"inline-handlers":Fm,"empty-href":Ym,viewport:Em,"img-dimensions":lm,"blocking-scripts":em,"mixed-content":Om,"target-blank":Wm,"form-http":wm,"lorem-ipsum":qm,"broken-anchors":Pf,"todo-visible":Bf};function a(e){return s[e.id]?s[e.id]:e.id.startsWith("duplicate-id-")?Xf:e.id.startsWith("deprecated-")?Zf:n[e.category]??Am}const l=Qe(()=>({pass:o.checks.filter(e=>"pass"===e.status).length,warn:o.checks.filter(e=>"warn"===e.status).length,fail:o.checks.filter(e=>"fail"===e.status).length,total:o.checks.length})),c=Qe(()=>o.checks.filter(e=>"pass"!==e.status)),d=Qe(()=>o.checks.filter(e=>"pass"===e.status)),u=Qe(()=>jr(c).reduce((e,t)=>(e[t.category]||(e[t.category]=[]),e[t.category].push(t),e),{})),h=Qe(()=>jr(l).fail>0?"border-rose-500/30 bg-rose-500/5":jr(l).warn>0?"border-orange-500/30 bg-orange-500/5":"border-green-500/30 bg-green-500/5"),p=Qe(()=>jr(l).fail>0?dg:jr(l).warn>0?lg:mg),g=Qe(()=>jr(l).fail>0?"text-rose-400":jr(l).warn>0?"text-orange-400":"text-green-400"),f=Qe(()=>()=>{if(0===jr(c).length)return"All checks passed — looking good";const e=[];return jr(l).fail>0&&e.push(`${jr(l).fail} error${jr(l).fail>1?"s":""}`),jr(l).warn>0&&e.push(`${jr(l).warn} issues${jr(l).warn>1?"s":""}`),`Found ${e.join(" and ")}`});let m=ut(wt(/* @__PURE__ */new Set)),b=ut(!1);var w=Vy(),y=At(w);aa(y,{name:"issues",children:(e,t)=>{var n=Wy(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");$f(s,{label:"Issues",get title(){return jr(e)},onBack:"comments"})}ag(zt(s,2),{children:(e,t)=>{var r=vo(),n=At(r),s=e=>{var t=Oy();pf(Ot(t)),K(2),q(t),bo(e,t)},w=e=>{var t=Ry(),r=At(t),o=e=>{var t=Ay(),r=Ot(t);Ag(r,{get icon(){return jr(p)},get className(){return`size-24 shrink-0 ${jr(g)??""}`}});var o=zt(r,2),i=Ot(o,!0);q(o),q(t),er(e=>{ci(t,1,`w-full flex items-center gap-8 p-10 mb-16 rounded-2xl superellipse border-[0.5px] ${jr(h)??""}`),ko(i,e)},[()=>jr(f)()]),bo(e,t)};_o(r,e=>{jr(c).length>0&&e(o)});var n=zt(r,2);Po(n,17,()=>Object.entries(jr(u)),Ao,(e,t)=>{var r=Qe(()=>v(jr(t),2));let o=()=>jr(r)[1];var n=Dy(),s=Ot(n);Tv(s,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,i[jr(r)[0]])),bo(e,o)},$$slots:{default:!0}}),Qg(zt(s,2),{children:(e,t)=>{var r=vo();Po(At(r),19,o,e=>e.id,(e,t,r)=>{var o=Hy(),i=Ot(o);{const e=e=>{var r=vo(),o=At(r),i=e=>{var t=zy();Ag(Ot(t),{get icon(){return Fm},className:"size-24 touch:size-28 shrink-0 text-neutral-500"}),q(t),bo(e,t)},n=e=>{var r=Py(),o=Ot(r);{let e=Qe(()=>jr(m).has(jr(t).id)?"-rotate-180":"");Ag(o,{get icon(){return ug},get className(){return`size-20 text-neutral-500 transition-transform ${jr(e)??""}`}})}q(r),bo(e,r)};_o(o,e=>{jr(t).action?e(i):jr(t).elements?.length&&e(n,1)}),bo(e,r)};let o=Qe(()=>jr(t).message||null),n=Qe(()=>a(jr(t))),s=Qe(()=>"fail"===jr(t).status?"!text-rose-400":"warn"===jr(t).status?"!text-orange-400":""),l=Qe(()=>!(!jr(t).elements?.length||!jr(m).has(jr(t).id))||null),c=Qe(()=>jr(t).action?()=>jr(t).action?.():jr(t).elements?.length?()=>{return e=jr(t).id,jr(m).has(e)?jr(m).delete(e):jr(m).add(e),void pt(m,new Set(jr(m)),!0);var e}:null);hf(i,{get title(){return jr(t).label},get subtitle(){return jr(o)},get icon(){return jr(n)},get classIcon(){return jr(s)},get active(){return jr(l)},get onclick(){return jr(c)},get index(){return jr(r)},after:e,$$slots:{after:!0}})}var n=zt(i,2),s=e=>{var r=Ny();Po(r,21,()=>jr(t).elements,Ao,(e,t)=>{const r=Qe(()=>function(e){const t=e.tagName.toLowerCase(),r=e.id?`#${e.id}`:"",o=e.className&&"string"==typeof e.className?`.${e.className.split(" ").slice(0,2).join(".")}`:"",i=e.textContent?.trim().slice(0,20);return r?`<${t}${r}>`:i?`<${t}> "${i}${i.length>=20?"...":""}"`:o?`<${t}${o.slice(0,30)}>`:`<${t}>`}(jr(t))),o=Qe(()=>({current:null}));var i=Fy(),n=Ot(i),s=Ot(n,!0);q(n),Di(n,(e,t)=>t.current=e,e=>e?.current,()=>[jr(o)]),Eb(zt(n,2),{get element(){return jr(t)},get anchorEl(){return jr(o).current}}),q(i),er(()=>ko(s,jr(r))),bo(e,i)}),q(r),Qo(3,r,()=>oa,()=>({duration:150})),bo(e,r)},l=Qe(()=>jr(t).elements?.length&&jr(m).has(jr(t).id));_o(n,e=>{jr(l)&&e(s)}),q(o),Qo(3,o,()=>oa,()=>({duration:150})),bo(e,o)}),bo(e,r)},$$slots:{default:!0}}),q(n),Qo(3,n,()=>oa,()=>({duration:200})),bo(e,n)});var s=zt(n,2),w=e=>{var t=jy(),r=Ot(t);Ag(r,{get icon(){return mg},className:"size-24 shrink-0 text-green-400"});var o=zt(r,2),i=Ot(o);q(o),q(t),er(()=>ko(i,`${jr(l).pass??""} check${jr(l).pass>1?"s":""} passed`)),so("click",t,()=>pt(b,!0)),bo(e,t)};_o(s,e=>{jr(d).length>0&&e(w)}),bo(e,t)};_o(n,e=>{o.loading&&0===o.checks.length?e(s):e(w,!1)}),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}});{const e=e=>{Qg(e,{class:"",children:(e,t)=>{var r=vo();Po(At(r),17,()=>jr(d),Ao,(e,t,r)=>{{let o=Qe(()=>jr(t).message||null),i=Qe(()=>a(jr(t)));hf(e,{get title(){return jr(t).label},get subtitle(){return jr(o)},get icon(){return jr(i)},index:r})}}),bo(e,r)},$$slots:{default:!0}})};Tw(zt(y,2),{title:"Passed checks",get open(){return jr(b)},set open(e){pt(b,e,!0)},content:e,$$slots:{content:!0}})}bo(e,w),he()},beforeEnter:Yy},settings:{component:function(e,t){ue(t,!0);const{router:r,settings:o}=Zx(),i=Object.entries(o.groups).filter(([e,t])=>!1!==t.visible);aa(e,{name:"settings",children:(e,t)=>{var n=Zy(),s=At(n);$f(s,{label:"Settings",onBack:()=>r.back("comments")}),ag(zt(s,2),{title:"Settings",children:(e,t)=>{var r=Uy(),n=At(r);Po(n,17,()=>i,Ao,(e,t)=>{var r=Qe(()=>v(jr(t),2)),i=By(),n=At(i);Tv(n,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,jr(r)[1].title)),bo(e,o)},$$slots:{default:!0}}),Qg(zt(n,2),{class:"mb-16",children:(e,t)=>{var i=vo();Po(At(i),17,()=>o.schema.filter(e=>e.group===jr(r)[0]),Ao,(e,t)=>{{const r=e=>{var r=vo(),i=At(r),n=e=>{hw(e,{get checked(){return o.current[jr(t).key]},onchange:e=>o.set(jr(t).key,e)})};_o(i,e=>{"boolean"===jr(t).type&&e(n)}),bo(e,r)};hf(e,{icon:null,get title(){return jr(t).label},after:r,$$slots:{after:!0}})}}),bo(e,i)},$$slots:{default:!0}}),bo(e,i)});var s=zt(n,2);Ot(s).textContent="v1.0.3-beta.17",q(s),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:Yy}},Qy=class e extends as{#yn=ut(wt(Jy));get routes(){return jr(this.#yn)}set routes(e){pt(this.#yn,e,!0)}#xn=ut(!1);get navigating(){return jr(this.#xn)}set navigating(e){pt(this.#xn,e,!0)}#kn=ut("forward");get direction(){return jr(this.#kn)}set direction(e){pt(this.#kn,e,!0)}#Bt=ut(null);get previous(){return jr(this.#Bt)}set previous(e){pt(this.#Bt,e,!0)}#ae=ut(null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Cn=ut(null);get next(){return jr(this.#Cn)}set next(e){pt(this.#Cn,e,!0)}transitionTimeout=null;get containerEl(){return this.modules.environment.touch?this.modules.sheet.el:this.modules.win.el}#Ln=ut(!1);get hasAutoNavigatedToComments(){return jr(this.#Ln)}set hasAutoNavigatedToComments(e){pt(this.#Ln,e,!0)}#Sn=Qe(()=>this.navigating?"forward"===this.direction?this.next:this.previous:this.current);get nextCurrent(){return jr(this.#Sn)}set nextCurrent(e){pt(this.#Sn,e)}constructor(){super(),this.storage("history","fubi_router_history",[]),this.storage("currentIndex","fubi_router_index",0)}start(){if(this.history.length>0&&this.currentIndex>=0){const e=this.history[this.currentIndex];if(this.current=e.page,this.currentIndex>0){const t=this.history[this.currentIndex-1];this.history=[t,e],this.currentIndex=1,this.previous=t.page}else this.history=[e],this.currentIndex=0,this.previous=null;this.next=null,this.navigating=!1,this.emit("router:navigated",{from:null,to:this.current})}this.on("auth:logout",()=>{"domains"!==this.modules.error.current?.source&&this.modules.error.clear(),this.clearHistory(),this.goto("login")}),this.on("auth:login",()=>{this.log.info("User logged in, waiting for folders to load")}),this.on("folders:ready",()=>{if("demo"===this.modules.project.id&&!this.current){const e=localStorage.getItem("fubi_demo_seen");return void this.goto(e?"folders":"demo")}"pages"!==vs()?.[1]?this.validateCurrentRoute():this.goto("pages")}),this.on("status:maintenance",()=>{this.modules.error.set({title:this.modules.status.title??"Maintenance Mode",message:this.modules.status.message??"Fubi is currently undergoing maintenance. Please try again later.",action:"refresh"},"status"),this.goto("error")}),this.on("status:not-found",()=>{this.modules.error.set({title:"Status Not Found",message:"Database record for status not found. Please contact support.",action:"refresh"},"status"),this.goto("error")}),this.on("project:not-found",({id:e})=>{this.modules.error.set({title:"Project Not Found",message:`Project "${e}" <br/>could not be found. <br/>Make sure you copied the project ID correctly from the dashboard.`,action:"refresh"},"project"),this.goto("error")}),this.on("project:archived",()=>{this.modules.error.set({title:"Project Archived",message:"This project has been archived and can no longer be accessed. Contact your project administrator to restore access.",link:{url:Ls,label:"Open Admin",external:!0},action:"refresh"},"project"),"error"!==this.current&&this.goto("error")}),this.on("team:subscription-inactive",({team:e})=>{this.modules.error.set({title:"The app is paused",message:"This team's subscription isn't active. Please contact your team admin to resolve billing and restore access.",link:{url:`${Ls}/${e.slug}/billing`,label:"Manage Billing",external:!0},action:"refresh"},"team"),"error"!==this.current&&this.goto("error")}),this.on("router:goto",({route:e,direction:t})=>{"pages"===e&&"folders"!==this.current||this.goto(e,void 0,t||"forward")}),this.on("hover:enabled",()=>{this.ready&&"comments"!==this.current&&(this.hasAutoNavigatedToComments=!0)}),this.on("hover:disabled",()=>{this.hasAutoNavigatedToComments=!1,this.ready&&"isolation"===this.nextCurrent&&this.goto("comments",void 0,"back")}),this.on("hover:reset",()=>{"thread"===this.nextCurrent&&this.back()}),this.on("domains:blocked",()=>{this.modules.error.set({title:"Wrong Domain",message:`<a href="${this.modules.domains.activeDomain?.origin}" class="hover:underline text-sky-500">${this.modules.domains.activeDomain?.origin}</a> Is the active domain for this project.`,link:{url:Ls,label:"Manage Domains",external:!0},action:"refresh"},"domains"),"error"!==this.current&&this.goto("error")})}hasRoute(e){return e in this.routes}clearHistory(){this.history=[],this.currentIndex=-1,this.current=null,this.previous=null}validateCurrentRoute(){const e=this.nextCurrent;if(!e)return;const t=this.routes[e];if(!t?.beforeEnter)return;const r=t.beforeEnter(this.modules);r&&(this.log.info(`Route validation change, redirecting: ${e} → ${r.redirect}`),this.navigating&&this.interruptTransition(),this.handleGuardResult(r))}guardDepth=0;static MAX_GUARD_DEPTH=5;goto(t,r,o="forward",i){if(!this.can.navigateTo(t))return;const n=this.routes[t];if(n?.beforeEnter){if(this.guardDepth++,this.guardDepth>e.MAX_GUARD_DEPTH)this.log.error(`Guard redirect loop detected (depth: ${this.guardDepth}), forcing navigation to: ${t}`),this.guardDepth=0;else{const e=n.beforeEnter(this.modules);if(e)return this.handleGuardResult(e,o),void(this.guardDepth=0)}this.guardDepth=0}const s=this.current;if(this.history=this.history.slice(0,this.currentIndex+1),this.history.push({page:t,params:r}),this.currentIndex=this.history.length-1,this.log.info(`Navigating to page: ${t} (from: ${s}, direction: ${o})`),this.emit("router:navigated",{from:s,to:t}),i?.instant)return this.current=t,this.next=null,void(this.previous=s);this.transition(t,o)}handleGuardResult(e,t="forward"){e?.logout||e?.redirect&&this.goto(e.redirect,void 0,t)}interruptTransition(){this.transitionTimeout&&(clearTimeout(this.transitionTimeout),this.transitionTimeout=null),this.containerEl?.classList.remove(`router-transition-${this.direction}`),this.navigating=!1,this.previous=this.current,this.current="forward"===this.direction?this.next:this.previous,this.next=null,this.containerEl}async transition(e,t){performance.now(),this.navigating=!0,this.direction=t,"forward"===t?this.next=e:this.previous=e,performance.now(),await Dr(),performance.now();const r=this.containerEl?.querySelector(".page-next"),o=this.containerEl?.querySelector(".page-current");r&&getComputedStyle(r).transform,o&&getComputedStyle(o).transform,await new Promise(e=>requestAnimationFrame(()=>{performance.now(),requestAnimationFrame(()=>{performance.now(),e()})})),this.containerEl?.classList.add(`router-transition-${t}`),this.transitionTimeout=setTimeout(()=>{this.navigating=!1,this.previous=this.current,this.current=e,this.next=null,this.containerEl?.classList.remove(`router-transition-${t}`),this.modules.environment.touch?this.modules.sheet.focusPageContent():this.modules.win.focusPageContent(),this.transitionTimeout=null,this.emit("router:transitioned",{from:this.previous,to:this.current})},400)}back(e){if(!this.can.goBack||this.currentIndex<=0)return void(e&&this.goto(e,void 0,"back"));const t=this.current;this.currentIndex--;const r=this.history[this.currentIndex];this.emit("router:navigated",{from:t,to:r.page}),this.transition(r.page,"back")}},ex={default:"fill-[var(--fubi-hover-default-color,#0ea5e9)] stroke-[var(--fubi-hover-default-color,#0ea5e9)]",error:"fill-[var(--fubi-hover-error-color,#ef4444)] stroke-[var(--fubi-hover-error-color,#ef4444)]",invisible:"fill-[var(--fubi-hover-invisible-color,#ea580c)] stroke-[var(--fubi-hover-invisible-color,#ea580c)]",invisibleIsolation:"fill-[var(--fubi-hover-invisible-color,#ea580c)] stroke-[var(--fubi-hover-invisible-color,#ea580c)] animate-dashes stroke-2",done:"fill-[var(--fubi-hover-done-color,#22c55e)] stroke-[var(--fubi-hover-done-color,#22c55e)]",thread:"fill-(--fubi-hover-thread-color,#6366f1) stroke-(--fubi-hover-thread-color,#6366f1)",notAllowed:"fill-[var(--fubi-hover-not-allowed-color,#737373)] stroke-[var(--fubi-hover-not-allowed-color,#737373)]",isolation:"fill-transparent stroke-[var(--fubi-hover-isolation-color,#6366f1)] animate-dashes stroke-2"},tx=class extends as{highlightOffset=4;hoverDelay=50;ignoreSelectors=["[data-fubi-comment-input]",".fubi-picker","[data-fubi-back-button]","[data-fubi-message-show-comments-button]","[data-fubi-message-new-comment-button]","[data-fubi-priority-button]","[data-fubi-done-button]","[data-fubi-comment-reply-button]","[data-dropdown-menu-trigger]","[data-dropdown-menu-item]","[data-tooltip-trigger]",'[data-fubi-page="thread"]',"[data-fubi-allow-click]"];#Mn=ut(!1);get emptyHover(){return jr(this.#Mn)}set emptyHover(e){pt(this.#Mn,e,!0)}#$n=ut(wt({x:window.scrollX,y:window.scrollY}));get scroll(){return jr(this.#$n)}set scroll(e){pt(this.#$n,e,!0)}#Tn=ut(wt({x:0,y:0}));get mouse(){return jr(this.#Tn)}set mouse(e){pt(this.#Tn,e,!0)}#_n=ut(!1);get insideFubi(){return jr(this.#_n)}set insideFubi(e){pt(this.#_n,e,!0)}#En=ut(!1);get cmdPressed(){return jr(this.#En)}set cmdPressed(e){pt(this.#En,e,!0)}#Te=ut(!1);get isScrolling(){return jr(this.#Te)}set isScrolling(e){pt(this.#Te,e,!0)}#In=ut(!1);get isResizing(){return jr(this.#In)}set isResizing(e){pt(this.#In,e,!0)}#On=ut(wt({x:0,y:0}));get pinPos(){return jr(this.#On)}set pinPos(e){pt(this.#On,e,!0)}#An=ut(null);get relativePos(){return jr(this.#An)}set relativePos(e){pt(this.#An,e,!0)}#zn=ut(wt({type:"disabled"}));get mode(){return jr(this.#zn)}set mode(e){pt(this.#zn,e,!0)}scrollEndTimeout=null;#Pn=ut(null);get reattaching(){return jr(this.#Pn)}set reattaching(e){pt(this.#Pn,e,!0)}#Fn=ut(null);get reattachConfirm(){return jr(this.#Fn)}set reattachConfirm(e){pt(this.#Fn,e,!0)}reattachConfirmN=0;reattachConfirmTimer=null;reattachTraceTimer=null;#Nn=ut(!1);get highlightVisible(){return jr(this.#Nn)}set highlightVisible(e){pt(this.#Nn,e,!0)}#ae=Qe(()=>"tracking"===this.mode.type||"focused"===this.mode.type||"isolated"===this.mode.type||"replying"===this.mode.type||"ignored"===this.mode.type?this.mode.element:null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e)}#Hn=Qe(()=>"tracking"===this.mode.type||"focused"===this.mode.type||"isolated"===this.mode.type||"replying"===this.mode.type?this.modules.elements.getInfo(this.mode.element):null);get info(){return jr(this.#Hn)}set info(e){pt(this.#Hn,e)}#Dn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type);get isIsolated(){return jr(this.#Dn)}set isIsolated(e){pt(this.#Dn,e)}#jn=ut(!1);get highlightInstant(){return jr(this.#jn)}set highlightInstant(e){pt(this.#jn,e,!0)}#Rn=Qe(()=>{const e=this.scroll.x,t=this.scroll.y;return this.current?this.modules.elements.getCoords(this.current):{x:e+this.mouse.x-this.highlightOffset,y:t+this.mouse.y-this.highlightOffset,w:8,h:8,r:4}});get highlightCoords(){return jr(this.#Rn)}set highlightCoords(e){pt(this.#Rn,e)}#Wn=Qe(()=>{const e=this.info?.meta||this.info?.tag;return e?bb[e.toLowerCase()]||{name:e,icon:wb.icon}:wb});get tagInfo(){return jr(this.#Wn)}set tagInfo(e){pt(this.#Wn,e)}#Vn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type?this.mode.selector:null);get isolationSelector(){return jr(this.#Vn)}set isolationSelector(e){pt(this.#Vn,e)}#Bn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type?this.mode.element:null);get isolatedElement(){return jr(this.#Bn)}set isolatedElement(e){pt(this.#Bn,e)}highlightPos=new Fs(this.highlightCoords,{stiffness:.08,damping:.5});#Bt=ut(null);get previous(){return jr(this.#Bt)}set previous(e){pt(this.#Bt,e,!0)}hoverTimeout=null;#Un=ut(!1);get ignoreNextClick(){return jr(this.#Un)}set ignoreNextClick(e){pt(this.#Un,e,!0)}#Zn=Qe(()=>"tracking"===this.mode.type||"focused"===this.mode.type||"isolated"===this.mode.type||"replying"===this.mode.type?this.modules.elements.getPath(this.mode.element):null);get hoverSelector(){return jr(this.#Zn)}set hoverSelector(e){pt(this.#Zn,e)}#qn=Qe(()=>"ignored"===this.mode.type?"notAllowed":this.isIsolated?this.info?.visible?"isolation":"invisibleIsolation":this.info?.visible&&this.info.hasThreads?"thread":this.info?.visible||this.emptyHover||this.isScrolling?"default":"invisible");get highlightColor(){return jr(this.#qn)}set highlightColor(e){pt(this.#qn,e)}constructor(){super(),this.storage("enabled","fubi_hover_enabled",!1)}start(){this.modules.keys.onPress("c",()=>{hs()||this.toggle()}),this.modules.events.add("mouseover",e=>this.handleMouseOver(e),{target:this.modules.toolbar.wrapper}),this.modules.events.add("mousemove",e=>this.handleMouseMove(e)),this.modules.events.add("mousedown",e=>this.handleMouseDown(e)),this.modules.events.add("click",e=>this.handleClick(e),{capture:!0}),this.modules.events.add("mouseout",e=>this.handleMouseOut(e),{target:document.documentElement});let e=null;window.addEventListener("scroll",()=>{if(this.scroll={x:window.scrollX,y:window.scrollY},this.enabled){if(this.isScrolling||(this.isScrolling=!0),this.modules.environment.touch)return e&&clearTimeout(e),void(e=setTimeout(()=>{this.isScrolling=!1},150));this.highlightVisible=!0,this.insideFubi||this.isIsolated||(this.mode={type:"idle"}),e&&clearTimeout(e),e=setTimeout(()=>{this.isScrolling=!1,!this.enabled||"idle"!==this.mode.type&&"tracking"!==this.mode.type||this.hoverElementUnderCursor()},150)}},{passive:!0}),this.modules.events.add("scrollstart",()=>{this.enabled&&(this.isIsolated||(this.isScrolling=!0,this.highlightVisible=!0,this.mode={type:"idle"}))});let t=null;if(window.addEventListener("resize",()=>{this.modules.environment.touch||(this.isResizing||(this.isResizing=!0,"isolated"!==this.mode.type&&"replying"!==this.mode.type||(this.dismissIsolation(),bs(),this.modules.router.goto("comments",void 0,"back"))),t&&clearTimeout(t),t=setTimeout(()=>{this.isResizing=!1},300))}),window.visualViewport){let e=null;window.visualViewport.addEventListener("resize",()=>{this.modules.environment.touch&&this.isIsolated&&(e&&clearTimeout(e),e=setTimeout(()=>{this.scroll={x:window.scrollX,y:window.scrollY}},300))})}this.on("comments:populated",()=>{this.enabled&&this.enable()}),this.on("auth:logout",()=>this.disable()),this.on("router:navigated",({from:e,to:t})=>{"replying"===this.mode.type&&"thread"===e&&this.exitReplyMode()}),this.on("sheet:closing",()=>{this.modules.environment.touch&&("isolated"!==this.mode.type&&"replying"!==this.mode.type||this.exitIsolation())}),this.modules.keys.onPress("Escape",()=>{this.reattaching?this.cancelReattach():this.modules.modals.anyOpen||this.modules.win.uiOpened||this.modules.sheet.uiOpened||this.dismissIsolation()}),Kt(()=>{this.highlightPos.set(this.highlightCoords,{instant:Vr(()=>this.highlightInstant)})}),Kt(()=>{const e=this.reattaching;if(!e)return;const t=this.reattachCardEl(e),r="tracking"===this.mode.type;t&&r?this.modules.tracer.trace(null,t,{from:{point:"border",offset:4},to:{point:"border",offset:0}}):this.modules.tracer.hide()}),Kt(()=>{if(!this.reattaching||"tracking"!==this.mode.type)return;const e=this.highlightPos.current;this.modules.tracer.from={x:e.x,y:e.y,w:e.w,h:e.h}})}enable(){this.can.enableHover?this.enabled&&"disabled"!==this.mode.type||(us(),this.enabled=!0,this.modules.dom.addClass("fubi_hover_enabled"),this.modules.toolbar.wrapper.classList.add("fubi_hover_enabled"),"disabled"===this.mode.type&&(this.mode={type:"idle"},this.setDefaultScroll(),this.hoverElementUnderCursor()),this.modules.toolbar.lastUsedFeature="comment",this.highlightVisible=!0,this.emit("hover:enabled")):this.log.warn("Hover not allowed.")}disable(){this.enabled=!1,this.reattaching&&this.cancelReattach(),this.modules.dom.removeClass("fubi_hover_enabled"),this.modules.toolbar.wrapper.classList.remove("fubi_hover_enabled");const e=!!this.modules.comments.activeThreadId,t="isolated"===this.mode.type||"replying"===this.mode.type;t&&!e&&(this.modules.dom.scroll.enable(),this.modules.dom.removeClass("fubi_isolated"),this.emit("hover:isolation-dismiss")),t&&e||this.reset(),this.emit("hover:disabled")}toggle(){this[this.enabled?"disable":"enable"]()}reset(){this.emptyHover=!1,this.clearHoverTimeout(),this.mode={type:"disabled"},this.highlightVisible=!1,this.emit("hover:reset")}focus(e){const t=this.modules.elements.getClosestAllowed(e);t&&(this.mode={type:"focused",element:t,info:this.modules.elements.getInfo(t)},this.highlightVisible=!0)}unfocus(){"focused"===this.mode.type&&(this.mode={type:"idle"},this.enabled||(this.highlightVisible=!1))}isolate(e,t){const r=this.modules.elements.getClosestAllowed(e);if(!r)return;const o=this.modules.elements.getInfo(r),i=this.modules.elements.getPath(r);this.modules.environment.touch||!1===t?.scroll||this.modules.dom.scrollToElement(r),this.mode={type:t?.type??"isolated",element:r,selector:i,info:o},this.highlightVisible=!0,this.modules.dom.addClass("fubi_isolated"),this.emit("hover:isolated",{el:r,info:o})}isolateFromHover(e){this.can.isolateFromHover&&(this.setPinPosition(),this.isolate(e,{scroll:!1}),this.modules.environment.touch&&this.modules.dom.ensureScrollRoom(this.pinPos.y),this.info?.hasThreads&&this.modules.router.goto("isolation"))}async isolateForReply(e,t){this.log.info("Isolating thread for reply:",e,t),this.modules.comments.setActiveThread(e);const r=this.modules.comments.data.find(t=>t.id===e),o=r?.info?.meta?this.modules.toolbar.wrapper:document,i=this.modules.comments.bindingElement(r?.group,r?.selector??t)??this.modules.locator.find(r?.locators,t,o??document);i&&this.isolate(i,{type:"replying"});const n=this.modules.folders.current?.id;n&&(function(...e){const t=new URL(window.location.href);t.searchParams.set("fubi",e.join(".")),window.history.replaceState({},"",t)}(n,e),await Dr(),this.modules.router.goto("thread"))}exitReplyMode(){"replying"===this.mode.type&&(this.mode={type:"isolated",element:this.mode.element,selector:this.mode.selector,info:this.mode.info})}exitIsolation(){"isolated"!==this.mode.type&&"replying"!==this.mode.type||(this.mode={type:"tracking",element:this.mode.element,info:this.mode.info},this.modules.dom.removeClass("fubi_isolated"),this.modules.dom.removeScrollRoom(),this.modules.dom.scroll.enable(),this.emit("hover:isolation-dismiss"))}startReattach(e){this.isIsolated&&this.dismissIsolation(),this.modules.environment.touch&&this.modules.sheet.opened&&this.modules.sheet.close(),this.reattaching=e,this.modules.dom.addClass("fubi_reattaching"),this.enabled||this.enable(),this.hoverElementUnderCursor()}cancelReattach(){this.reattaching=null,this.modules.dom.removeClass("fubi_reattaching"),this.modules.tracer.hide()}confirmReattach(){this.reattaching&&("tracking"!==this.mode.type&&"focused"!==this.mode.type||this.commitReattach(this.mode.element))}reattachCardEl(e){const t=this.modules.comments.grouped.get(e)?.[0]?.id;return t?this.modules.toolbar.wrapper?.querySelector(`[data-fubi-thread-card="${t}"]`)??null:null}commitReattach(e){const t=this.reattaching;if(this.reattaching=null,this.modules.dom.removeClass("fubi_reattaching"),!t)return;const r=this.modules.elements.getClosestAllowed(e);if(!r)return;us();const o=this.reattachCardEl(t);this.modules.comments.reattach(t,r),o?(this.modules.tracer.trace(r,o,{from:{point:"border",offset:4},to:{point:"border",offset:0}}),this.reattachTraceTimer&&clearTimeout(this.reattachTraceTimer),this.reattachTraceTimer=setTimeout(()=>this.modules.tracer.hide(),2e3)):(this.reattachConfirm={el:r,n:++this.reattachConfirmN},this.reattachConfirmTimer&&clearTimeout(this.reattachConfirmTimer),this.reattachConfirmTimer=setTimeout(()=>{this.reattachConfirm=null},1100))}dismissIsolation(){this.can.dismissIsolation&&(this.mode=this.enabled?{type:"idle"}:{type:"disabled"},this.modules.dom.removeClass("fubi_isolated"),this.enabled||this.reset(),this.modules.dom.removeScrollRoom(),this.modules.dom.scroll.enable(),this.emit("hover:isolation-dismiss"))}handleMouseMove(e){if(this.modules.environment.touch)return;if(this.modules.win.uiOpened||this.modules.sheet.uiOpened)return;this.mouse={x:e.clientX,y:e.clientY};let t=e.composedPath()[0];return this.cmdPressed&&(t=t.parentElement),this.insideFubi=this.can.ignoreHoverTarget(t),"idle"===this.mode.type||"tracking"===this.mode.type||"ignored"===this.mode.type?this.insideFubi?(this.clearHoverTimeout(),void(this.mode={type:"idle"})):void(this.enabled&&this.handleHoverElement(t)):void 0}handleMouseOver(e){if(this.modules.environment.touch)return;if(!this.enabled)return;if("idle"!==this.mode.type&&"tracking"!==this.mode.type&&"ignored"!==this.mode.type)return;if(this.modules.win.uiOpened||this.modules.sheet.uiOpened)return;const t=e.composedPath()[0];this.shouldIgnore(t)||this.handleHoverElement(t)}handleClick(e){const t=e.composedPath()[0];if(e.composedPath(),this.hasIgnoreAllInPath(e))return;if(this.shouldHideHover(t))return;if(t){const e=t;if(e instanceof HTMLElement?!e.offsetWidth&&!e.offsetHeight:(()=>{const t=e.getBoundingClientRect();return!t.width&&!t.height})())return}if(this.modules.win.uiOpened||this.modules.sheet.uiOpened)return;const r=this.modules.environment.touch;if(r||!this.ignoreNextClick){if(r||!this.isResizing)return r&&(this.insideFubi=this.can.ignoreHoverTarget(t)),this.modules.picker.opened&&!this.insideFubi?(e.preventDefault(),e.stopPropagation(),void this.modules.picker.hide()):"isolated"!==this.mode.type&&"replying"!==this.mode.type||!this.can.dismissIsolation||this.insideFubi?void(this.enabled?this.insideFubi||(e.preventDefault(),e.stopPropagation(),r?this.handleHoverElement(t,0):this.reattaching?"tracking"===this.mode.type&&this.commitReattach(this.mode.element):"tracking"===this.mode.type&&this.can.isolateFromHover&&this.isolateFromHover(this.mode.element)):"tracking"!==this.mode.type&&"focused"!==this.mode.type||this.insideFubi||(e.preventDefault(),e.stopPropagation(),this.highlightVisible=!1,this.mode={type:"disabled"})):(e.preventDefault(),e.stopPropagation(),this.mouse={x:e.clientX,y:e.clientY},this.dismissIsolation(),bs(),void("meta"!==this.modules.router.current&&this.modules.router.back("comments")))}else this.ignoreNextClick=!1}handleMouseDown(e){if(!this.enabled)return;if(this.modules.win.uiOpened||this.modules.sheet.uiOpened)return;const t=e.composedPath()[0],r=this.modules.environment.touch;if(!this.shouldHideHover(t)){if(r){if(this.hasIgnoreAllInPath(e))return;if(this.can.ignoreHoverTarget(t))return;return window.getSelection()?.removeAllRanges(),void e.preventDefault()}this.ignoreNextClick||(this.ignoreNextClick=this.shouldIgnore(t),this.ignoreNextClick?this.log.info("Mouse down inside ignored element, skipping."):this.enabled&&(this.insideFubi||(e.preventDefault(),e.stopPropagation())))}}handleMouseOut(e){if("idle"!==this.mode.type&&"tracking"!==this.mode.type)return;const t=e.relatedTarget;t&&document.documentElement.contains(t)||(this.clearHoverTimeout(),this.mode={type:"idle"})}handleScroll(){this.enabled&&(this.scroll={x:window.scrollX,y:window.scrollY},this.scrollEndTimeout&&clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=setTimeout(()=>{this.isScrolling=!1,!this.enabled||"idle"!==this.mode.type&&"tracking"!==this.mode.type||this.hoverElementUnderCursor()},150))}hoverElementUnderCursor(){if(this.modules.environment.touch)return;const e=this.getElementUnderCursor();e&&this.handleHoverElement(e,0)}getElementUnderCursor(){let e=document.elementFromPoint(this.mouse.x,this.mouse.y);if(this.cmdPressed&&e){const t=e.parentElement;t&&(e=t)}return e}clearHoverTimeout(){this.hoverTimeout&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=null)}setPinPosition(e,t){const r=window.scrollY,o={x:e??this.mouse.x,y:(t??this.mouse.y)+r};this.log.info("Setting pin position:",o),this.pinPos=o;const i=this.current?.getBoundingClientRect();i&&i.width>0&&i.height>0?this.relativePos={x:Math.max(0,Math.min(1,(this.mouse.x-i.left)/i.width)),y:Math.max(0,Math.min(1,(this.mouse.y-i.top)/i.height))}:this.relativePos=null}setDefaultScroll(){this.scroll={x:window.scrollX,y:window.scrollY}}shouldHideHover(e){return!(!e||!e.hasAttribute("data-fubi-hide")&&!e.closest("[data-fubi-hide]")&&!e.closest("[data-fubi-hide-all]"))}shouldIgnoreHover(e){return!(!e||!e.hasAttribute("data-fubi-ignore")&&!e.closest("[data-fubi-ignore-all]"))}hasIgnoreAllInPath(e){return e.composedPath().some(e=>e instanceof HTMLElement&&e.hasAttribute("data-fubi-ignore-all"))}shouldIgnore(e){return!!e&&this.ignoreSelectors.some(t=>!!e.closest(t))}handleHoverElement(e,t=this.hoverDelay){if(this.modules.win.uiOpened||this.modules.sheet.uiOpened)return;if(!e)return this.clearHoverTimeout(),this.previous=null,void(this.mode={type:"idle"});if(this.shouldHideHover(e))return this.clearHoverTimeout(),this.previous=null,this.emptyHover=!1,this.highlightVisible=!1,void(this.mode={type:"idle"});if(this.shouldIgnoreHover(e)){if(this.clearHoverTimeout(),this.previous=null,!this.modules.environment.touch)return this.emptyHover=!0,this.highlightVisible=!0,void(this.mode={type:"idle"});const t=e.closest("[data-fubi-ignore-all]")??e.closest("[data-fubi-ignore]");return t?(this.emptyHover=!1,this.mode={type:"ignored",element:t},void(this.highlightVisible=!0)):(this.emptyHover=!1,this.highlightVisible=!1,void(this.mode={type:"idle"}))}if(this.modules.elements.isInsideInbox(e))return this.clearHoverTimeout(),this.previous=null,this.mode={type:"idle"},void(this.insideFubi=!0);const r=this.modules.elements.getClosestAllowed(e);if(!r)return this.clearHoverTimeout(),this.previous=null,this.modules.environment.touch?(this.emptyHover=!1,this.highlightVisible=!1,void(this.mode={type:"idle"})):(this.emptyHover=!0,this.highlightVisible=!0,void(this.mode={type:"idle"}));if("tracking"===this.mode.type&&this.mode.element===r)return;if(null!==this.hoverTimeout&&this.previous===r)return;const o=this.modules.elements.getInfo(r);this.emptyHover=!1,this.previous=r,this.clearHoverTimeout(),this.hoverTimeout=setTimeout(()=>{this.mode={type:"tracking",element:r,info:o},this.highlightVisible=!0,this.hoverTimeout=null},t)}},rx=po('<img draggable="false"/>'),ox=po('<div data-fubi-pin="" data-fubi-hide-all="" class="fubi-pin"><button class="fubi-pin-bubble glass-shadow"><div class="fubi-pin-header"><div class="fubi-pin-avatar"><!></div> <div class="fubi-pin-meta"><span class="fubi-pin-name"> </span> <span class="fubi-pin-time"> </span></div></div> <p class="fubi-pin-text"> </p></button></div>');function ix(e,t){ue(t,!0);let r=Ui(t,"fixed",3,!1),o=ut(null);const i=Qe(()=>t.author?ps({...t.author,collectionName:"users"},"avatar"):null),n=Qe(()=>jr(i)?jr(i)+"?thumb=64x64":null),s=Qe(()=>t.author&&(t.author.firstName||t.author.name||t.author.email)||""),a=Qe(()=>ms(new Date(t.created)));var l=ox(),c=Ot(l),d=Ot(c),u=Ot(d),h=Ot(u),p=e=>{var t=rx();er(()=>{Li(t,"src",jr(n)),Li(t,"alt",jr(s))}),bo(e,t)};_o(h,e=>{jr(n)&&e(p)}),q(u);var g=zt(u,2),f=Ot(g),m=Ot(f,!0);q(f);var v=zt(f,2),b=Ot(v,!0);q(v),q(g),q(d);var w=zt(d,2),y=Ot(w,!0);q(w),q(c),Di(c,e=>pt(o,e),()=>jr(o)),q(l),er(()=>{ui(l,`position:${r()?"fixed":"absolute"}; position-anchor:${t.anchorName??""}; top:calc(anchor(top) + (anchor(bottom) - anchor(top)) * ${t.ry??""}); left:calc(anchor(left) + (anchor(right) - anchor(left)) * ${t.rx??""});`),Li(c,"aria-label",jr(s)),ko(m,jr(s)),ko(b,jr(a)),ko(y,t.preview)}),no("pointerenter",c,()=>jr(o)&&t.onenter(jr(o))),no("pointerleave",c,()=>t.onleave()),so("click",c,e=>{e.stopPropagation(),t.onclick()}),Qo(3,l,()=>ia,()=>({duration:150})),bo(e,l),he()}function nx(e){let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r)|0;return"g"+(t>>>0).toString(36)}ao(["click"]);var sx=class extends ls{name="comments";expand="createdBy,mentions,thread_notifications_via_comment";sort="-created";#Kn=ut(0);get domTick(){return jr(this.#Kn)}set domTick(e){pt(this.#Kn,e,!0)}supportsAnchor=CSS.supports("anchor-name","--test");pins=/* @__PURE__ */new Map;anchorNames=/* @__PURE__ */new Map;healingIds=/* @__PURE__ */new Set;healedGroups=/* @__PURE__ */new Set;#Gn=Qe(()=>this.data.filter(e=>!e.parent));get allThreads(){return jr(this.#Gn)}set allThreads(e){pt(this.#Gn,e)}#Xn=Qe(()=>this.allThreads.filter(e=>e.page===this.modules.pages.current?.id).sort((e,t)=>t.created.localeCompare(e.created)));get threads(){return jr(this.#Xn)}set threads(e){pt(this.#Xn,e)}#Yn=Qe(()=>{const e=/* @__PURE__ */new Map;return this.threads.forEach(t=>{const r=this.keyFor(t);r&&(e.has(r)||e.set(r,[]),e.get(r).push(t))}),e});get grouped(){return jr(this.#Yn)}set grouped(e){pt(this.#Yn,e)}keyFor(e){return e.group??(e.selector?nx(e.selector):null)}bindingElement(e,t){const r=this.keyFor({group:e,selector:t});return r?this.bindings.get(r)?.element??null:null}groupForElement(e){for(const t of this.bindings.values())if(t.element===e)return t.group}#pr=ut("");get search(){return jr(this.#pr)}set search(e){pt(this.#pr,e,!0)}#Jn=Qe(()=>{let e=this.threads;if(this.modules.meta.visible&&(e=e.filter(e=>e.info?.meta)),this.search.trim()&&(e=e.filter(e=>this.matchesSearch(e)||this.data.some(t=>t.parent===e.id&&this.matchesSearch(t)))),this.modules.settings.current.doneThreadsVisible||(e=e.filter(e=>!e.done)),this.modules.settings.current.onlyMineVisible){const t=this.modules.auth.user?.id;t&&(e=e.filter(e=>e.createdBy===t))}return e});get filteredThreads(){return jr(this.#Jn)}set filteredThreads(e){pt(this.#Jn,e)}#Qn=Qe(()=>{if("priority"!==(this.modules.settings.current.sortMode??"priority"))return this.filteredThreads;const e=this.filteredThreads.filter(e=>!!e.priority&&!e.done),t=this.filteredThreads.filter(e=>!e.priority&&!e.done),r=this.filteredThreads.filter(e=>!!e.done);return[...e,...t,...r]});get sortedThreads(){return jr(this.#Qn)}set sortedThreads(e){pt(this.#Qn,e)}#es=Qe(()=>this.sortedThreads.filter(e=>!e.done));get threadsTodo(){return jr(this.#es)}set threadsTodo(e){pt(this.#es,e)}#ts=Qe(()=>this.sortedThreads.filter(e=>e.done));get threadsDone(){return jr(this.#ts)}set threadsDone(e){pt(this.#ts,e)}#rs=Qe(()=>this.threads.length);get totalThreads(){return jr(this.#rs)}set totalThreads(e){pt(this.#rs,e)}#os=Qe(()=>this.threads.filter(e=>!!e.done).length);get doneThreads(){return jr(this.#os)}set doneThreads(e){pt(this.#os,e)}#Ie=Qe(()=>this.totalThreads>0?Math.round(this.doneThreads/this.totalThreads*100):0);get progress(){return jr(this.#Ie)}set progress(e){pt(this.#Ie,e)}#is=Qe(()=>{const e=/* @__PURE__ */new Map;for(const t of this.allThreads){const r=e.get(t.page)??{total:0,done:0,progress:0};r.total++,t.done&&r.done++,e.set(t.page,r)}for(const t of e.values())t.progress=Math.round(t.done/t.total*100);return e});get pageStats(){return jr(this.#is)}set pageStats(e){pt(this.#is,e)}#ns=Qe(()=>{const e=this.modules.hover.isolatedElement;return e?this.sortedThreads.filter(t=>this.bindingElement(t.group,t.selector)===e):[]});get isolatedThreads(){return jr(this.#ns)}set isolatedThreads(e){pt(this.#ns,e)}#ss=Qe(()=>this.sortedThreads.filter(e=>e.info?.meta));get metaThreads(){return jr(this.#ss)}set metaThreads(e){pt(this.#ss,e)}#as=Qe(()=>this.buildSearchGroups(this.sortedThreads));get searchGroups(){return jr(this.#as)}set searchGroups(e){pt(this.#as,e)}#ls=Qe(()=>this.buildSearchGroups(this.isolatedThreads));get isolatedSearchGroups(){return jr(this.#ls)}set isolatedSearchGroups(e){pt(this.#ls,e)}matchesSearch(e){const t=this.search.trim().toLowerCase();if(!t)return!1;const r=e.content.filter(e=>"text"===e.type).map(e=>e.value).join(" ").toLowerCase(),o=e.expand?.createdBy,i=o?`${o.firstName} ${o.lastName}`.toLowerCase():"",n=(e.expand?.mentions??[]).map(e=>`${e.firstName} ${e.lastName}`.trim()).join(" ").toLowerCase();return r.includes(t)||i.includes(t)||n.includes(t)}buildSearchGroups(e){return this.search.trim()?e.map(e=>({thread:e,matched:this.matchesSearch(e),replies:this.data.filter(t=>t.parent===e.id&&this.matchesSearch(t)).sort((e,t)=>e.created.localeCompare(t.created))})):null}getThreadInfo(e){const t=this.sortedThreads.find(t=>t.id===e);return t?{...this.getThreadStatus(t),replies:this.data.filter(t=>t.parent===e).length}:{missing:!1,hidden:!1,replies:0}}#cs=ut(null);get activeThreadId(){return jr(this.#cs)}set activeThreadId(e){pt(this.#cs,e,!0)}#ds=Qe(()=>this.threads.find(e=>e.id===this.activeThreadId)??null);get activeThread(){return jr(this.#ds)}set activeThread(e){pt(this.#ds,e)}#us=ut("none");get threadNotificationSetting(){return jr(this.#us)}set threadNotificationSetting(e){pt(this.#us,e,!0)}setActiveThread(e){this.activeThreadId=e,this.threadNotificationSetting=(e?this.threads.find(t=>t.id===e):null)?.expand?.thread_notifications_via_comment?.[0]?.setting??"none"}#hs=Qe(()=>[...this.data.filter(e=>e.parent===this.activeThreadId)].sort((e,t)=>e.created.localeCompare(t.created)));get activeThreadReplies(){return jr(this.#hs)}set activeThreadReplies(e){pt(this.#hs,e)}#ps=ut(wt(/* @__PURE__ */new Map));get bindings(){return jr(this.#ps)}set bindings(e){pt(this.#ps,e,!0)}async fetch(e){if(!this.loading){this.loading=!0,this.error=null;try{this.data=await this.pb.getFullList({filter:e?.filter,sort:this.sort,expand:this.expand}),this.subscribeToRealtime(e?.filter)}catch(t){this.error=t.message||"Failed to fetch",this.log.error("Error fetching comments:",t)}finally{this.loading=!1}this.domTick++,await Dr(),this.populate(),this.ready=!0}}onEnriched(e){Dr().then(()=>this.populate())}onSubscriptionChange(e,t){this.domTick++,Dr().then(()=>this.populate()),"delete"!==e||t.parent||t.id!==this.activeThreadId||"thread"!==this.modules.router.current&&"isolation"!==this.modules.router.current||(bs(),this.setActiveThread(null),this.modules.hover.dismissIsolation(),this.modules.router.goto("comments",void 0,"back"))}start(){Qn(()=>this.domTick,()=>{const e=/* @__PURE__ */new Map;this.grouped.forEach((t,r)=>{if(!r)return;const o=t.some(e=>e.info?.meta),i=o?this.modules.toolbar.wrapper:document,n=t.find(e=>e.selector)?.selector??"",s=t.find(e=>e.locators?.length)?.locators??null;let a=null,l=!1,c=!1;i&&(a=this.modules.locator.find(s,n,i)),a?o||(c=!a.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})):l=!0,e.set(r,{group:r,selector:n,element:a,threadIds:t.map(e=>e.id),missing:l,hidden:c})});const t=[];this.bindings.forEach((r,o)=>{const i=e.get(o);i?r.element&&r.element!==i.element&&(delete r.element.dataset.fubiThreads,r.element.style.removeProperty("anchor-name"),r.element.style.removeProperty("--fubi-el-w"),r.selector&&r.selector!==i.selector&&t.push(r.selector)):(r.element&&(delete r.element.dataset.fubiThreads,r.element.style.removeProperty("anchor-name")),r.selector&&t.push(r.selector))}),t.length>0&&this.modules.elements.unwatch(t),this.bindings=e}),Qn(()=>this.modules.meta.visible,()=>{this.domTick++,Dr().then(()=>this.populate())}),Qn(()=>this.modules.hover.isolationSelector,()=>{Dr().then(()=>this.populate())}),this.on("folders:ready",()=>{if(!this.modules.project.current?.id)return;const e=`page.folder.project = "${this.modules.project.current.id}"`;this.fetch({filter:e})}),this.on("pages:current",()=>{this.setActiveThread(null),this.resetUI(),this.modules.hover.isIsolated&&this.modules.hover.dismissIsolation(),this.domTick++,Dr().then(()=>this.populate())}),this.on("comments:populated",()=>{const e=[...this.grouped.values()].map(e=>e.find(e=>e.selector)?.selector).filter(Boolean);this.modules.elements.watch(e);const t=vs()?.[1],r=this.data.find(e=>e.id===t)?.selector;t&&r&&!this.modules.hover.isIsolated&&(this.modules.hover.isolateForReply(t,r),this.modules.inputs.show("reply"),this.modules.inputs.focus("reply"))}),this.on("hover:reset",()=>this.setActiveThread(null)),this.on("hover:isolation-dismiss",()=>this.setActiveThread(null)),this.on("elements:changed",()=>{this.domTick++,Dr().then(()=>this.populate())}),this.modules.keys.onPress("Escape",()=>{this.can.commentInputEscape&&this.modules.inputs.isFocused("new-comment")&&(this.modules.inputs.reset("new-comment"),this.emit("comment-input:escape",{id:"new-comment"}))}),this.on("comment-input:submit",async({id:e,parent:t,content:r,mentions:o,priority:i,info:n})=>{if(!(t?this.can.createReply:this.can.createComment))return;const s=t?this.data.find(e=>e.id===t):void 0,a=this.modules?.hover?.mode,l=a&&"selector"in a?a.selector:void 0,c=s?.selector??l;if(!c)return void this.log.error("Cannot submit comment: No selector");const d=a&&"element"in a?a.element:null;let u,h,p=s?void 0:d?mb(d)??void 0:void 0;s?(u=s.locators,h=this.keyFor(s)??nx(c)):(u=d?this.modules.locator.capture(d):void 0,h=(d?this.groupForElement(d):void 0)??nx(c)),!t&&this.modules.pages.isNew&&await this.modules.pages.registerCurrent();const g=this.modules.media.getFilesForUpload(),f=this.modules.hover.relativePos,m={page:this.modules.pages.current.id,parent:t,selector:c,group:h,locators:u,content:r,mentions:o,priority:i,info:{...n,relativeX:f?.x??null,relativeY:f?.y??null,version:"1.0.3-beta.17",...p?{habitat:p}:{}},createdBy:this.modules.auth.user.id};try{if(g.length>0){const e=new FormData;for(const[t,r]of Object.entries(m))null!=r&&""!==r&&e.append(t,"string"==typeof r?r:JSON.stringify(r));for(const t of g)e.append("media",t);await this.pb.create(e)}else await this.pb.create(m)}catch(v){return this.log.error("Failed to create comment:",v),void this.checkAuthOnError(v)}this.modules.media.clear(),this.emit("comments:created",{data:m})}),this.on("comments:created",({data:e})=>{if(this.modules.inputs.reset("new-comment"),this.modules.inputs.clear("reply"),e.parent)return;this.modules.inputs.hide("new-comment");const t=this.modules.router.current,r="isolation"===this.modules.router.current||"thread"===this.modules.router.current;this.modules.hover.isIsolated&&!r&&this.modules.hover.dismissIsolation(),this.populate(),"pages"!==t&&"folders"!==t||this.modules.router.goto("comments")}),this.modules.keys.onPress("Enter",e=>{e.shiftKey||(this.log.info("Enter key pressed, checking for focused comment inputs... focused?",{newComment:this.modules.inputs.isFocused("new-comment"),reply:this.modules.inputs.isFocused("reply")}),this.modules.inputs.isFocused("new-comment")?(e.preventDefault(),this.modules.inputs.submit("new-comment")):this.modules.inputs.isFocused("reply")&&(e.preventDefault(),this.modules.inputs.submit("reply")))})}async delete(e){if(!this.can.deleteComment)return;const t=this.data.find(t=>t.id===e),r=t?this.keyFor(t):null,o=t?.selector;if(await this.pb.delete(e),!r)return;const i=this.data.some(t=>t.id!==e&&!t.parent&&this.keyFor(t)===r);if(!i){const e=this.bindings.get(r);e?.element&&delete e.element.dataset.fubiThreads,o&&this.modules.elements.unwatch([o])}"thread"!==this.modules.router.current&&"isolation"!==this.modules.router.current||i||(bs(),("isolation"!==this.modules.router.previous||i)&&this.modules.hover.dismissIsolation(),i?this.modules.router.back("comments"):this.modules.router.goto("comments",void 0,"back"))}async reattach(e,t){if(!this.can.updateComment)return;const r=this.grouped.get(e)??[];if(!r.length)return;const o=this.modules.elements.getPath(t),i=this.modules.locator.capture(t),n=mb(t);await Promise.all(r.map(e=>{const t={...e.info};return n?t.habitat=n:delete t.habitat,this.pb.update(e.id,{selector:o,locators:i,info:t}).then(()=>{e.selector=o,e.locators=i,e.info=t}).catch(e=>this.log.error("Failed to re-attach comment:",e))})),this.healedGroups.delete(e),this.domTick++,await Dr(),this.populate()}async setPriority(e,t){this.can.updateComment&&await this.pb.update(e,{priority:t?/* @__PURE__ */(new Date).toISOString():""})}async setDone(e,t){this.can.updateComment&&await this.pb.update(e,{done:t?/* @__PURE__ */(new Date).toISOString():""})}async setNotification(e,t){this.log.info(`Setting thread (${e}) notifications to:`,t),this.loading=!0;const[r,o]=await gs(this.modules.pb.send("/api/comments/notifications",{method:"POST",body:{commentId:e,setting:t}}));if(r)return this.log.error("Error setting thread notifications:",r),void(this.loading=!1);this.log.ok("Thread notifications set:",o),this.loading=!1}highlightText(e){const t=this.search.trim();if(!t)return e;const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=new RegExp(`(${r})`,"gi");return e.replace(o,"<mark>$1</mark>")}highlightRenderedHTML(e){const t=this.search.trim();if(!t)return e;const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=new RegExp(`(${r})`,"gi");return e.replace(o,"<mark>$1</mark>")}resetUI(){this.bindings.forEach(e=>{e.element&&(delete e.element.dataset.fubiThreads,e.element.style.removeProperty("anchor-name"))}),this.unmountAllPins(),this.anchorNames.clear();const e=[...this.bindings.values()].map(e=>e.selector).filter(Boolean);e.length>0&&this.modules.elements.unwatch(e)}reset(){this.resetUI(),this.data=[],this.ready=!1}populate(){const e=/* @__PURE__ */new Set,t=/* @__PURE__ */new Set,r=this.modules.hover.isIsolated,o=this.modules.hover.isolatedElement;this.bindings.forEach(i=>{if(!i.element)return;const n=r&&i.element!==o?[]:i.threadIds.filter(e=>this.filteredThreads.some(t=>t.id===e));if(n.length>0){if(i.element.dataset.fubiThreads=n.join(","),i.element.style.setProperty("--fubi-el-w",`${i.element.offsetWidth}px`),this.supportsAnchor){let r=this.anchorNames.get(i.selector);r||(r=`--fubi-${n[0]}`,this.anchorNames.set(i.selector,r)),i.element.style.setProperty("anchor-name",r),e.add(i.selector);for(const e of n){const o=this.threads.find(t=>t.id===e);if(!o)continue;const n=o.info?.relativeX??.5,s=o.info?.relativeY??.5,a=o.expand?.createdBy??null,l=Array.isArray(o.content)?o.content.filter(e=>"text"===e.type).map(e=>e.value).join(" ").trim().slice(0,200):"",c=o.created??"",d=!!o.info?.meta;t.add(e),this.mountPin(e,i.element,r,a,l,c,n,s,d)}}}else delete i.element.dataset.fubiThreads,i.element.style.removeProperty("anchor-name")});for(const i of[...this.pins.keys()])t.has(i)||this.unmountPin(i);for(const i of[...this.anchorNames.keys()])e.has(i)||this.anchorNames.delete(i);this.ready=!0,this.emit("comments:populated"),this.healLocators()}healLocators(){this.can.updateComment&&this.bindings.forEach(e=>{if(this.healedGroups.has(e.group))return;if(!e.element||e.missing)return;const t=this.grouped.get(e.group)??[];if(t.some(e=>e.info?.meta))return void this.healedGroups.add(e.group);const r=this.modules.locator.capture(e.element);if(!r.length)return;const o=mb(e.element);let i=!1;for(const n of t){if(this.healingIds.has(n.id)){i=!0;continue}const e=new Set((n.locators??[]).map(e=>e.strategy)),t=r.some(t=>!e.has(t.strategy)),s=!!o&&!n.parent&&!n.info?.habitat;if(!t&&!s)continue;const a={};t&&(a.locators=r),s&&(a.info={...n.info,habitat:o}),i=!0,this.healingIds.add(n.id),this.pb.update(n.id,a).then(()=>{a.locators&&(n.locators=r),a.info&&(n.info=a.info),this.healingIds.delete(n.id)}).catch(e=>{this.healingIds.delete(n.id),this.log.error("Failed to upgrade locators:",e)})}i||this.healedGroups.add(e.group)})}mountPin(e,t,r,o,i,n,s,a,l){const c=o?.id??"",d=this.pins.get(e);if(d){if(d.authorId===c&&d.preview===i&&d.anchorName===r&&d.rx===s&&d.ry===a)return;this.unmountPin(e)}const u=document.createElement("div");document.body.appendChild(u);const h=()=>this.modules.toolbar.wrapper?.querySelector(`[data-fubi-thread-card="${e}"]`)??null,p=Co(ix,{target:u,props:{author:o,preview:i,created:n,anchorName:r,rx:s,ry:a,fixed:l,onenter:e=>{if(this.modules.environment.touch)return;l||this.modules.hover.isIsolated||this.modules.hover.focus(t);const r=h();r&&(r.dataset.fubiPinHover="",this.modules.tracer.trace(r,e,{from:{point:"border",offset:4},to:{point:"border",offset:0}}))},onleave:()=>{if(this.modules.environment.touch)return;l||this.modules.hover.isIsolated||(this.modules.hover.unfocus(),this.modules.hover.hoverElementUnderCursor());const e=h();e&&delete e.dataset.fubiPinHover,this.modules.tracer.hide()},onclick:()=>{h()?.scrollIntoView({behavior:"smooth",block:"center"})}}});this.pins.set(e,{component:p,target:u,authorId:c,preview:i,anchorName:r,rx:s,ry:a})}unmountPin(e){const t=this.pins.get(e);t&&($o(t.component),t.target.remove(),this.pins.delete(e))}unmountAllPins(){for(const e of[...this.pins.keys()])this.unmountPin(e)}async editComment(e,t){this.can.updateComment&&(this.loading=!0,await this.pb.update(e,t),this.loading=!1,this.modules.modals.close("edit-comment"))}async deleteComment(e){e&&(this.loading=!0,await this.delete(e),this.loading=!1,this.modules.modals.close("delete-comment"))}async removeMedia(e,t){const r=this.data.find(t=>t.id===e);if(!r)return;const o=r.media.filter(e=>e!==t);await this.pb.update(e,{media:o}),this.modules.modals.close("media-preview")}getThreadStatus(e){const t=this.keyFor(e);if(!t)return{missing:!1,hidden:!1};const r=this.bindings.get(t);return{missing:r?.missing??!0,hidden:r?.hidden??!1}}};function ax(e=document){const t=t=>e.querySelector(t)?.getAttribute("content")||null,r=t=>e.querySelector(t)?.getAttribute("href")||null;return{shareImage:t("meta[property='og:image']")||t("meta[name='twitter:image']")||t("meta[name='share-image']")||t("meta[name='image']")||t("meta[name='og:image:secure_url']")||t("meta[name='og:image:url']")||null,favicon:r("link[rel='icon']")||r("link[rel='shortcut icon']")||null,touchicon:r("link[rel='apple-touch-icon']")||null}}async function lx(e){try{const t=ax();await fetch("https://staging.fubi.wondermakers.dev/api/domains/verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,meta:t})})}catch{}}var cx=class extends ls{name="domains";sort="-updated";#at=ut(null);get url(){return jr(this.#at)}set url(e){pt(this.#at,e,!0)}initialized=!1;#ae=Qe(()=>{const e=this.url?.origin;return e&&this.data.find(t=>t.origin===e)||null});get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e)}#gs=Qe(()=>this.data.find(e=>e.active)||null);get activeDomain(){return jr(this.#gs)}set activeDomain(e){pt(this.#gs,e)}#fs=Qe(()=>this.activeDomain?.origin===this.url?.origin);get isActive(){return jr(this.#fs)}set isActive(e){pt(this.#fs,e)}#ms=Qe(()=>null!==this.activeDomain&&!this.isActive);get blocked(){return jr(this.#ms)}set blocked(e){pt(this.#ms,e)}async fetch(e){await super.fetch(e),this.initialized||(this.initialized=!0,await this.check()),this.ready=!0,this.emit("domains:ready")}start(){this.on("project:ready",()=>this.fetch({filter:`project = "${this.modules.project.current?.id}"`})),this.getUrl()}async check(){const e=this.url?.origin;e&&(await lx(this.modules.project.id),await super.fetch({filter:`project = "${this.modules.project.id}"`}),this.blocked&&(this.log.error(`Fubi blocked: active domain is ${this.activeDomain.origin}, but current origin is ${e}`),this.emit("domains:blocked",{activeDomain:this.activeDomain,currentOrigin:e})))}getUrl(){this.url=new URL(window.location.href)}},dx=new Set(["p","h1","h2","h3","h4","h5","h6","span","a","button","label","li","td","th","blockquote","code","pre","small","strong","em","b","i","u","q","cite","abbr","mark","del","ins","sub","sup","summary","legend","figcaption","dt","dd"]),ux=class extends as{offset=4;forbiddenTags=["html","body","script","style","link","meta","title","head","br","wbr","source","track","param","col","colgroup","path","g","defs","use","symbol","circle","rect","line","ellipse","polygon","polyline","clippath","mask","pattern","marker","stop","lineargradient","radialgradient","filter","tspan","textpath"];pathCache=/* @__PURE__ */new WeakMap;#vs=ut(wt({width:0,height:0}));get bodyDimensions(){return jr(this.#vs)}set bodyDimensions(e){pt(this.#vs,e,!0)}watchedSelectors=/* @__PURE__ */new Set;globalMutation=null;transitionHandler=e=>{"visibility"!==e.propertyName&&"opacity"!==e.propertyName&&"display"!==e.propertyName||this.emitChanged()};intersectionObservers=/* @__PURE__ */new Map;changeDebounce=null;traverseUp(e){if(e.parentElement)return e.parentElement;const t=e.getRootNode();return t?.host?t.host:null}start(){this.updateBodyDimensions(),window.addEventListener("resize",()=>{this.updateBodyDimensions(),this.emitChanged()}),this.globalMutation=new MutationObserver(()=>this.emitChanged()),this.globalMutation.observe(document.body,{attributes:!0,attributeFilter:["style","class","hidden","inert","open"],childList:!0,subtree:!0}),document.body.addEventListener("transitionend",this.transitionHandler,!0)}watch(e){this.pruneDisconnected();for(const t of e)t&&(this.watchedSelectors.add(t),document.querySelectorAll(t).forEach(e=>this.observeElement(e)))}pruneDisconnected(){for(const[e,t]of this.intersectionObservers)e.isConnected||(t.disconnect(),this.intersectionObservers.delete(e))}unwatch(e){for(const t of e)this.watchedSelectors.delete(t),document.querySelectorAll(t).forEach(e=>this.unobserveElement(e))}observeElement(e){if(this.intersectionObservers.has(e))return;const t=new IntersectionObserver(()=>this.emitChanged(),{threshold:[0,1]});t.observe(e),this.intersectionObservers.set(e,t)}unobserveElement(e){const t=this.intersectionObservers.get(e);t&&(t.disconnect(),this.intersectionObservers.delete(e))}emitChanged(){this.changeDebounce&&cancelAnimationFrame(this.changeDebounce),this.changeDebounce=requestAnimationFrame(()=>{this.emit("elements:changed",{})})}updateBodyDimensions(){this.bodyDimensions={width:document.body.scrollWidth,height:document.body.scrollHeight}}isInside(e){return t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;let r=t;for(;r;){if(r.matches(e))return!0;r=this.traverseUp(r)}return!1}}isInsideFubi(e){return this.isInside("#fubi-shadow-root")(e)}isInsideInbox(e){return this.isInside("[data-fubi-window]")(e)}isInsideMessage(e){return this.isInside("[data-fubi-new-comment]")(e)}isInsidePicker(e){return this.isInside(".fubi-picker")(e)}getClosestAllowed=e=>{if(!e)return null;let t=e;for(;t;){if(!this.forbiddenTags.includes(t.tagName.toLowerCase()))return t;t=this.traverseUp(t)}return null};queryElement(e){const t={element:null,missing:!1,hidden:!1};if(e.startsWith("#fubi-shadow-root > ")){const r=e.replace("#fubi-shadow-root > ","");t.element=this.modules.toolbar.wrapper?.querySelector(r)??null}else t.element=document.querySelector(e);if(!t.element)return t.missing=!0,t;const r=getComputedStyle(t.element);return t.hidden="none"===r.display||"hidden"===r.visibility||0===parseFloat(r.opacity),t}isAtBodyEdge(e){const t=this.offset,r=e.top+window.scrollY,o=e.left+window.scrollX,i=e.right+window.scrollX,n=e.bottom+window.scrollY;return r<=t||o<=t||i>=this.bodyDimensions.width-t||n>=this.bodyDimensions.height-t}getCoords=e=>{const t={x:0,y:0,w:0,h:0,r:4};if(!e)return t;const r=e.getBoundingClientRect(),o=window.getComputedStyle(e),i=parseFloat(o.borderRadius)||4,n=window.scrollX,s=window.scrollY,a=Math.min(r.height,r.width)/2,l=this.isAtBodyEdge(r),c=Math.max(0,Math.min(l?i-this.offset:i+this.offset,a));let d=n+r.x-(l?-this.offset:this.offset),u=r.width+2*(l?-this.offset:this.offset);if(this.modules.environment.touch){const e=n+window.innerWidth;if(d+u<n||d>e)return t;d<n&&(u-=n-d,d=n),d+u>e&&(u=e-d)}return{y:s+r.y-(l?-this.offset:this.offset),x:d,w:u,h:r.height+2*(l?-this.offset:this.offset),r:c}};getInfo=e=>{const t=e.getAttribute("data-fubi-threads"),r=t?fs(t):[],o=e.getAttribute("data-fubi-meta")||null,i=o?o.charAt(0).toUpperCase()+o.slice(1).toLowerCase():null,n=e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),s=e.tagName.toLowerCase(),a=getComputedStyle(e),l=a.backgroundColor,c=!l||"transparent"===l||"rgba(0, 0, 0, 0)"===l||function(e,t=.15){const r=e.match(/\/\s*([\d.]+)\s*\)/);if(r)return parseFloat(r[1])<t;const o=e.match(/rgba?\(\s*[\d.]+\s*,\s*[\d.]+\s*,\s*[\d.]+\s*,\s*([\d.]+)\s*\)/);return!!o&&parseFloat(o[1])<t}(l);return{el:e,tag:s,meta:i,hasThreads:r.length>0,threads:r,visible:n,fontSize:dx.has(s)?a.fontSize:null,bgColor:c?null:l}};isValid=e=>{if(!e)return!1;const t=e.tagName.toLowerCase();return!this.forbiddenTags.includes(t)};getTag(e){return e&&e.nodeType===Node.ELEMENT_NODE?(e.tagName||e.nodeName).toLowerCase():null}getPath(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";const t=this.pathCache.get(e);if(t)return t;const r=[];let o=e;for(;o&&o.nodeType===Node.ELEMENT_NODE&&"html"!==o.tagName.toLowerCase();){const e=this.getTag(o);if(!e){o=o.parentElement;continue}const t=this.getNthOfTypeIndex(o,e),i=this.hasTypeSiblings(o,e)?`:nth-of-type(${t})`:"";r.unshift(`${e}${i}`),o=o.parentElement}const i=r.join(" > ");return this.pathCache.set(e,i),i}getRelativePath(e,t){if(e===t)return"";const r=[];let o=e;for(;o&&o!==t;){const e=this.getTag(o);if(!e){o=o.parentElement;continue}const t=this.getNthOfTypeIndex(o,e),i=this.hasTypeSiblings(o,e)?`:nth-of-type(${t})`:"";r.unshift(`${e}${i}`),o=o.parentElement}return o!==t?"":`:scope > ${r.join(" > ")}`}getNthOfTypeIndex(e,t){let r=1,o=e.previousElementSibling;for(;o;)this.getTag(o)===t&&r++,o=o.previousElementSibling;return r}hasTypeSiblings(e,t){for(let r=e.previousElementSibling;r;r=r.previousElementSibling)if(this.getTag(r)===t)return!0;for(let r=e.nextElementSibling;r;r=r.nextElementSibling)if(this.getTag(r)===t)return!0;return!1}resolveTag(e){const t=e.tagName.toLowerCase(),r=e.getAttribute("data-fubi-meta");return r?bb[r.toLowerCase()]||{name:r.charAt(0).toUpperCase()+r.slice(1).toLowerCase(),icon:wb.icon}:bb[t]||wb}isIgnored(e){return e.hasAttribute("data-fubi-ignore-all")}getSubtitle(e){const t=e.id;if(t)return`#${t}`;const r=e.textContent?.trim();if(r){const e=r.split("\n")[0].trim();if(e.length>40)return e.slice(0,40)+"…";if(e)return e}const o=e.className;return"string"==typeof o&&o.trim()?`.${o.trim().split(/\s+/).slice(0,3).join(" ").replace(/\s+/g,".")}`:null}getThreadCount(e){const t=e.getAttribute("data-fubi-threads");return t?fs(t).length:0}hasNestedThreads(e){return null!==e.querySelector("[data-fubi-threads]")}makeNode(e,t,r){const o=this.resolveTag(e),i=this.getFilteredChildren(e);return{el:e,tag:e.tagName.toLowerCase(),name:o.name,subtitle:this.getSubtitle(e),icon:o.icon,selected:t,inPath:r,children:[],hasChildren:i.length>0,threadCount:this.getThreadCount(e),hasNestedThreads:this.hasNestedThreads(e),ignored:e.hasAttribute("data-fubi-ignore"),hidden:!e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})}}getFilteredChildren(e){return Array.from(e.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&!this.forbiddenTags.includes(e.tagName.toLowerCase())&&!this.isIgnored(e))}getTreeContext(e){const t=[e];let r=e;for(;r;){const e=this.traverseUp(r);if(!e||this.forbiddenTags.includes(e.tagName.toLowerCase()))break;t.unshift(e),r=e}for(;t.length>1;){const e=t[0].parentElement;if(e&&!this.forbiddenTags.includes(e.tagName.toLowerCase()))break;t.shift()}const o=t[0].parentElement;if(!o)return[this.makeNode(e,!0,!0)];const i=this.getFilteredChildren(o).map(r=>this.makeNode(r,r===e,t.includes(r)));for(let s=0;s<t.length;s++){const r=t[s],o=this.getFilteredChildren(r);if(0===o.length)continue;const n=this.findNode(i,r);n&&(n.children=o.map(r=>this.makeNode(r,r===e,t.includes(r))))}const n=this.findNode(i,e);return n&&0===n.children.length&&(n.children=this.getFilteredChildren(e).map(e=>this.makeNode(e,!1,!1))),i}getNodeName(e){return this.resolveTag(e).name}getPathTo(e){const t=[e];let r=e;for(;r;){const e=this.traverseUp(r);if(!e||this.forbiddenTags.includes(e.tagName.toLowerCase()))break;t.unshift(e),r=e}for(;t.length>1;){const e=t[0].parentElement;if(e&&!this.forbiddenTags.includes(e.tagName.toLowerCase()))break;t.shift()}return t}getLevelNodes(e,t){return this.getFilteredChildren(e).map(e=>{const r=e===t,o=this.makeNode(e,r,!1);return r&&(o.children=this.getFilteredChildren(e).map(e=>this.makeNode(e,!1,!1))),o})}findNode(e,t){for(const r of e){if(r.el===t)return r;const e=this.findNode(r.children,t);if(e)return e}return null}destroy(){this.globalMutation?.disconnect(),document.body.removeEventListener("transitionend",this.transitionHandler,!0),this.intersectionObservers.forEach(e=>e.disconnect()),this.intersectionObservers.clear(),this.changeDebounce&&cancelAnimationFrame(this.changeDebounce)}},hx=[{id:"framer",strategies:["framer-hash","framer-name","framer-relative"],detect:()=>!!(document.querySelector('meta[name="generator"]')?.getAttribute("content")??"").startsWith("Framer")||!!document.querySelector("[data-framer-name], [data-framer-hydrate-v2]")},{id:"generic",strategies:["dom-id","attr","text"],detect:()=>!0}],px=class{id="path";stability=1;constructor(e){this.getPath=e}capture(e){const t=this.getPath(e);return t?{strategy:this.id,value:t}:null}resolve(e,t){const r=t.querySelector(e.value);return r?[r]:[]}},gx=class{id="framer-hash";stability=5;isHash(e){if(!e.startsWith("framer-"))return!1;const t=e.slice(7);return!t.includes("-")&&(/[0-9]/.test(t)||/[A-Z]/.test(t))}capture(e){const t=Array.from(e.classList).find(e=>this.isHash(e));return t?{strategy:this.id,value:`.${t}`}:null}resolve(e,t){return Array.from(t.querySelectorAll(e.value))}},fx=new Set(["content","content wrapper","contentwrapper","wrapper","container","header","footer","body","title","subtitle","heading","text","frame","group","section","layer","item","list","row","column","col","stack","background","backdrop","border","overlay","icon","image","img","logo","button","link","label","badge","slot","children","default","variant","open","opened","close","closed","expand","expanded","collapse","collapsed"]);function mx(e){const t=e.trim().toLowerCase();return t.length>0&&!fx.has(t)}var vx=class{id="framer-name";stability=4;escape(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}nameFromValue(e){const t=e.match(/^\[data-framer-name="(.*)"\]$/s);return t?t[1].replace(/\\"/g,'"').replace(/\\\\/g,"\\"):null}capture(e){const t=e.getAttribute("data-framer-name");return t&&mx(t)?{strategy:this.id,value:`[data-framer-name="${this.escape(t)}"]`}:null}resolve(e,t){const r=this.nameFromValue(e.value);return r&&!mx(r)?[]:Array.from(t.querySelectorAll(e.value))}},bx=class{id="framer-relative";stability=3;anchorById;constructor(e,t){this.anchors=e,this.getRelativePath=t,this.anchorById=new Map(e.map(e=>[e.id,e]))}capture(e){let t=e.parentElement;for(;t;){for(const r of this.anchors){const o=r.capture(t);if(!o)continue;const i=this.getRelativePath(e,t);return i?{strategy:this.id,value:i,anchor:o}:null}t=t.parentElement}return null}resolve(e,t){if(!e.anchor)return[];const r=this.anchorById.get(e.anchor.strategy);if(!r)return[];const o=[];for(const i of r.resolve(e.anchor,t))o.push(...Array.from(i.querySelectorAll(e.value)));return o}},wx=/^(radix|headlessui|react-aria|reakit|downshift|formik|ember|mui|mantine|chakra|aria|rc|tippy|popper|floating-ui)[-_:]/i,yx=class{id="dom-id";stability=5;capture(e){const t=e.id;if(!t||!function(e){const t=e.trim();return!(!t||t.length>64||/\s/.test(t)||t.includes(":")||/^\d/.test(t)||/\d{4,}/.test(t)||/[0-9a-f]{8,}/i.test(t)&&/\d/.test(t)||/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-/i.test(t)||wx.test(t))}(t))return null;const r=`#${CSS.escape(t)}`,o=e.ownerDocument.querySelectorAll(r);return 1!==o.length||o[0]!==e?null:{strategy:this.id,value:r}}resolve(e,t){return Array.from(t.querySelectorAll(e.value))}},xx=["data-testid","data-test-id","data-test","data-cy","data-qa","data-id"];function kx(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}var Cx=class{id="attr";stability=4;buildSelector(e){const t=e.tagName.toLowerCase();for(const i of xx){const t=e.getAttribute(i);if(t&&t.length<=128)return`[${i}="${kx(t)}"]`}const r=e.getAttribute("name");if(r&&r.length<=128)return`${t}[name="${kx(r)}"]`;if("img"===t){const t=e.getAttribute("src");if(t&&t.length<=256&&!t.startsWith("data:"))return`img[src="${kx(t)}"]`}if("a"===t){const t=e.getAttribute("href");if(t&&"#"!==t&&t.length<=256)return`a[href="${kx(t)}"]`}const o=e.getAttribute("aria-label")?.trim();return o&&o.length>1&&o.length<=128?`${t}[aria-label="${kx(o)}"]`:null}capture(e){const t=this.buildSelector(e);if(!t)return null;const r=e.ownerDocument.querySelectorAll(t);return 1!==r.length||r[0]!==e?null:{strategy:this.id,value:t}}resolve(e,t){return Array.from(t.querySelectorAll(e.value))}},Lx=new Set(["h1","h2","h3","h4","h5","h6","p","a","button","span","li","label","strong","em","blockquote","cite","figcaption","summary","td","th","dt","dd"]);function Sx(e){return e.replace(/\s+/g," ").trim()}function Mx(e){let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r)|0;return(t>>>0).toString(36)}var $x=class{id="text";stability=2;capture(e){const t=e.tagName.toLowerCase();if(!Lx.has(t))return null;const r=Sx(e.textContent??"");if(r.length<3||r.length>120)return null;const o=Array.from(e.ownerDocument.querySelectorAll(t)).filter(e=>Sx(e.textContent??"")===r);return 1!==o.length||o[0]!==e?null:{strategy:this.id,value:`${t}␟${Mx(r)}`}}resolve(e,t){const r=e.value.indexOf("␟");if(-1===r)return[];const o=e.value.slice(0,r),i=e.value.slice(r+1);return o&&i?Array.from(t.querySelectorAll(o)).filter(e=>Mx(Sx(e.textContent??""))===i):[]}},Tx=class extends as{#bs=ut("generic");get platform(){return jr(this.#bs)}set platform(e){pt(this.#bs,e,!0)}strategies=[];byId=/* @__PURE__ */new Map;start(){const e=new gx,t=new vx,r=[new px(e=>this.modules.elements.getPath(e)),e,t,new bx([e,t],(e,t)=>this.modules.elements.getRelativePath(e,t)),new yx,new Cx,new $x],o=hx.find(e=>e.detect());this.platform=o?.id??"generic";const i=new Set(["path",...o?.strategies??[]]);this.strategies=r.filter(e=>i.has(e.id)).sort((e,t)=>t.stability-e.stability),this.byId=new Map(this.strategies.map(e=>[e.id,e])),this.log.info(`Platform: ${this.platform} (${this.strategies.map(e=>e.id).join(", ")})`)}capture(e){const t=[];for(const r of this.strategies){const o=r.capture(e);o&&t.push(o)}return t}find(e,t,r=document){return(this.resolve(e,r)?.element??null)||(this.hasStableIdentity(e)?null:t?r.querySelector(t)??null:null)}hasStableIdentity(e){return!!e?.some(e=>"path"!==e.strategy)}resolve(e,t=document){if(!e?.length)return null;const r=e.find(e=>"framer-hash"===e.strategy);if(r&&null===t.querySelector(r.value))return null;const o=[...e].sort((e,t)=>(this.byId.get(t.strategy)?.stability??0)-(this.byId.get(e.strategy)?.stability??0)),i=this.hasStableIdentity(e)?o.filter(e=>"path"!==e.strategy):o;for(const n of i){const e=this.byId.get(n.strategy);if(!e)continue;const r=e.resolve(n,t);if(!r.length)continue;const o=r.filter(e=>e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})),i=o.length?o:r;if(1===i.length)return{element:i[0],strategy:e.id,confidence:e.stability}}return null}trace(e,t,r=document){const o=e?.find(e=>"framer-relative"===e.strategy&&e.anchor);if(o?.anchor){const e=this.byId.get(o.anchor.strategy),t=e?this.firstVisible(e.resolve(o.anchor,r)):null;if(t)return[{tag:t.tagName.toLowerCase(),el:t},...this.walkRelative(t,o.value)]}return this.walkAbsolute(t,r)}firstVisible(e){return e.length?e.find(e=>e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}))??e[0]:null}segTag(e){return e.replace(/:nth-of-type\(\d+\)/,"")}walkRelative(e,t){const r=t.split(" > ").filter(e=>e&&":scope"!==e),o=[];let i=":scope",n=!1;for(const s of r){i=`${i} > ${s}`;const t=n?null:e.querySelector(i);t||(n=!0),o.push({tag:this.segTag(s),el:t})}return o}walkAbsolute(e,t){if(!e)return[];const r=[];let o="",i=!1;for(const n of e.split(" > ")){if(o=o?`${o} > ${n}`:n,"body"===n)continue;const e=i?null:t.querySelector(o);e||(i=!0),r.push({tag:this.segTag(n),el:e})}return r}},_x=class extends as{#Ge=ut(!1);get opened(){return jr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#ws=ut(null);get type(){return jr(this.#ws)}set type(e){pt(this.#ws,e,!0)}#ys=ut("");get query(){return jr(this.#ys)}set query(e){pt(this.#ys,e,!0)}#xs=ut(0);get selectedIndex(){return jr(this.#xs)}set selectedIndex(e){pt(this.#xs,e,!0)}#ks=ut(null);get anchorElement(){return jr(this.#ks)}set anchorElement(e){pt(this.#ks,e,!0)}#Cs=ut(wt([]));get items(){return jr(this.#Cs)}set items(e){pt(this.#Cs,e,!0)}start(){this.modules.keys.onPress("ArrowDown",e=>{this.can.navigatePicker&&(e.preventDefault(),this.selectedIndex=Math.min(this.selectedIndex+1,this.items.length-1))}),this.modules.keys.onPress("ArrowUp",e=>{this.can.navigatePicker&&(e.preventDefault(),this.selectedIndex=Math.max(0,this.selectedIndex-1))}),this.modules.keys.onPress("Enter",e=>{this.can.confirmPicker&&(e.preventDefault(),this.confirm(this.items[this.selectedIndex]))}),this.modules.keys.onPress("Escape",e=>{this.can.cancelPicker&&(e.preventDefault(),this.cancel())})}show(e,t,r){this.type=e,this.query=t,this.anchorElement=r,this.selectedIndex=0,this.opened=!0}hide(){this.opened=!1,this.type=null,this.query="",this.anchorElement=null,this.selectedIndex=0}setItems(e){this.items=e,this.selectedIndex>=e.length&&(this.selectedIndex=Math.max(0,e.length-1))}confirm(e){const t=this.anchorElement?.getAttribute("data-fubi-comment-input");t&&this.emit(`confirm:${t}`,e),this.hide()}cancel(){this.hide()}},Ex=qn("bus"),Ix=class extends as{handlers=/* @__PURE__ */new Map;currentListener=null;depth=0;history=[];tracing=!1;on(e,t){this.handlers.has(e)||this.handlers.set(e,/* @__PURE__ */new Set);const r={listener:"unknown",fn:t};return this.handlers.get(e).add(r),()=>{this.handlers.get(e)?.delete(r),0===this.handlers.get(e)?.size&&this.handlers.delete(e)}}emit(e,...t){this.tracing&&(this.history.push({event:e,emitter:"unknown",listener:this.currentListener,depth:this.depth}),this.history.length>200&&this.history.shift());const r=this.handlers.get(e);if(!r||0===r.size)return void(e.startsWith("hover:")||e.startsWith("keys:")||Ex.warn(`No listeners for "${e}"`));const o=t[0];r.forEach(t=>{const r=this.currentListener;this.currentListener=t.listener,this.depth++;try{t.fn(o)}catch(i){Ex.error(`Error in ${t.listener} handler for "${e}":`,i)}this.currentListener=r,this.depth--})}has(e){return(this.handlers.get(e)?.size??0)>0}debug(){Ex.info("Registered events:",Array.from(this.handlers.entries()).map(([e,t])=>`${e}: ${Array.from(t).map(e=>e.listener).join(", ")}`))}},Ox={x:1,y:0},Ax={x:-1,y:0},zx={x:0,y:1},Px={x:0,y:-1},Fx=class extends as{#Jt=ut(!1);get enabled(){return jr(this.#Jt)}set enabled(e){pt(this.#Jt,e,!0)}directDist=24;minArm=32;maxArm=140;armRatio=.4;fromEl=null;toEl=null;#Ls=ut(wt({x:0,y:0,w:0,h:0}));get from(){return jr(this.#Ls)}set from(e){pt(this.#Ls,e,!0)}#Ss=ut(wt({x:0,y:0,w:0,h:0}));get to(){return jr(this.#Ss)}set to(e){pt(this.#Ss,e,!0)}#Ms=ut(wt({point:"border",offset:0}));get fromAnchor(){return jr(this.#Ms)}set fromAnchor(e){pt(this.#Ms,e,!0)}#$s=ut(wt({point:"border",offset:0}));get toAnchor(){return jr(this.#$s)}set toAnchor(e){pt(this.#$s,e,!0)}#Ts=Qe(()=>{const e=this.from,t=this.to,r=!(e.x+e.w<t.x||t.x+t.w<e.x||e.y+e.h<t.y||t.y+t.h<e.y),o=this.modules?.win?.el,i=o?this.getRect(o):null,n=this.exit(e,t,i,this.fromAnchor.offset),s=this.exit(t,e,i,this.toAnchor.offset),a=s.p.x-n.p.x,l=s.p.y-n.p.y,c=Math.hypot(a,l),d=Math.min(this.maxArm,Math.max(this.minArm,c*this.armRatio)),u={x:n.p.x+n.n.x*d,y:n.p.y+n.n.y*d},h={x:s.p.x+s.n.x*d,y:s.p.y+s.n.y*d},p=[n.p.x,s.p.x,u.x,h.x],g=[n.p.y,s.p.y,u.y,h.y],f=Math.min(...p),m=Math.min(...g),v=Math.max(...p),b=Math.max(...g),w=(e,t)=>({x:e-f+4,y:t-m+4}),y=w(n.p.x,n.p.y),x=w(s.p.x,s.p.y),k=w(u.x,u.y),C=w(h.x,h.y),L=c<this.directDist?`M ${y.x} ${y.y} L ${x.x} ${x.y}`:`M ${y.x} ${y.y} C ${k.x} ${k.y} ${C.x} ${C.y} ${x.x} ${x.y}`;return{x:f-4,y:m-4,w:v-f+8,h:b-m+8,sx:y.x,sy:y.y,ex:x.x,ey:x.y,d:L,overlap:r}});get bounds(){return jr(this.#Ts)}set bounds(e){pt(this.#Ts,e)}exit(e,t,r,o){const i=e.x+e.w/2,n=e.y+e.h/2,s=t.x+t.w/2-i,a=t.y+t.h/2-n,l=s>=0?Ox:Ax,c=a>=0?zx:Px;let d=Math.abs(s)>=Math.abs(a)?l:c;const u=d===l?c:l;r&&this.inside(i,n,r)&&this.edgeDepth(i,n,u,r)<this.edgeDepth(i,n,d,r)&&(d=u);const h=d===Ox?{x:e.x+e.w,y:n}:d===Ax?{x:e.x,y:n}:d===zx?{x:i,y:e.y+e.h}:{x:i,y:e.y};return{p:{x:h.x+d.x*o,y:h.y+d.y*o},n:d}}inside(e,t,r){return e>=r.x&&e<=r.x+r.w&&t>=r.y&&t<=r.y+r.h}edgeDepth(e,t,r,o){return r===Ox?o.x+o.w-e:r===Ax?e-o.x:r===zx?o.y+o.h-t:t-o.y}getRect(e){if(!e)return{x:0,y:0,w:0,h:0};const{left:t,top:r,width:o,height:i}=e.getBoundingClientRect();return{x:t+scrollX,y:r+scrollY,w:o,h:i}}updatePositions(){this.fromEl&&(this.from=this.getRect(this.fromEl)),this.toEl&&(this.to=this.getRect(this.toEl))}start(){const e=()=>{this.enabled&&this.updatePositions()};this.modules.events.add("scroll",e),this.modules.events.add("resize",e),Kt(()=>{this.modules,this.enabled&&this.updatePositions()})}trace(e,t,r){this.fromEl=e,this.toEl=t,this.fromAnchor={point:"border",offset:0,...r?.from},this.toAnchor={point:"border",offset:0,...r?.to},this.updatePositions(),this.enabled=!0}hide(){this.enabled=!1,this.fromEl=null,this.toEl=null}},Nx=class extends as{#_s=ut(wt({}));get modals(){return jr(this.#_s)}set modals(e){pt(this.#_s,e,!0)}#Pe=ut(wt({}));get data(){return jr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Es=ut();get portalTarget(){return jr(this.#Es)}set portalTarget(e){pt(this.#Es,e,!0)}open(e,t){this.modals[e]=!0,this.data[e]=t}close(e){e?(this.modals[e]=!1,this.data[e]=null):Object.keys(this.modals).forEach(e=>{this.modals[e]=!1,this.data[e]=null})}isOpen(e){return this.modals[e]??!1}getData(e){return this.data[e]}get anyOpen(){return Object.values(this.modals).some(Boolean)}register(e){e in this.modals||(this.modals[e]=!1),e in this.data||(this.data[e]=null)}start(){this.modules.keys.onPress("Escape",()=>{this.anyOpen&&this.close()})}},Hx=class extends as{get visible(){return this.modules.modals.isOpen("meta")}#Is=ut(null);get shareImage(){return jr(this.#Is)}set shareImage(e){pt(this.#Is,e,!0)}#Os=ut(null);get favicon(){return jr(this.#Os)}set favicon(e){pt(this.#Os,e,!0)}#As=ut(null);get touchicon(){return jr(this.#As)}set touchicon(e){pt(this.#As,e,!0)}#zs=ut(null);get title(){return jr(this.#zs)}set title(e){pt(this.#zs,e,!0)}#Ps=ut(null);get description(){return jr(this.#Ps)}set description(e){pt(this.#Ps,e,!0)}start(){Qn(()=>this.modules.router.current,e=>{"isolation"!==e&&"thread"!==e&&"meta"!==e&&this.visible&&this.modules.modals.close("meta")}),Qn(()=>this.visible,e=>{e||"meta"!==this.modules.router.current||this.modules.router.goto("comments",void 0,"back")});const e=ax();this.shareImage=e.shareImage,this.favicon=e.favicon,this.touchicon=e.touchicon,this.title=this.getValueFromMeta("meta[property='pagename']")||document.title||this.getValueFromMeta("meta[property='og:title']")||this.getValueFromMeta("meta[name='twitter:title']")||this.getValueFromMeta("meta[name='title']")||this.getValueFromMeta("meta[name='og:title:secure_url']")||this.getValueFromMeta("meta[name='og:title:url']"),this.description=this.getValueFromMeta("meta[property='og:description']")||this.getValueFromMeta("meta[name='twitter:description']")||this.getValueFromMeta("meta[name='description']")||this.getValueFromMeta("meta[name='og:description:secure_url']")||this.getValueFromMeta("meta[name='og:description:url']")||null}show(){this.modules.environment.touch&&this.modules.sheet.opened&&this.modules.sheet.close(),this.modules.modals.open("meta"),"meta"!==this.modules.router.current&&this.modules.router.goto("meta")}hide(){this.modules.modals.close("meta"),"meta"===this.modules.router.current&&this.modules.router.goto("comments",void 0,"back");const e=this.modules.hover;"focused"!==e.mode.type&&"tracking"!==e.mode.type||(e.mode={type:e.enabled?"idle":"disabled"},e.enabled||(e.highlightVisible=!1))}getValueFromMeta(e){let t=document.querySelector(e),r=null;return t&&(r=t.getAttribute("content")),r}},Dx=class extends as{#Fs=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked&&!this.modules.team.subscriptionLocked);get enableHover(){return jr(this.#Fs)}set enableHover(e){pt(this.#Fs,e)}#Ns=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated);get trackHover(){return jr(this.#Ns)}set trackHover(e){pt(this.#Ns,e)}#Hs=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated&&!this.modules.hover.insideFubi);get hoverElement(){return jr(this.#Hs)}set hoverElement(e){pt(this.#Hs,e)}#Ds=Qe(()=>!(this.modules.hover.isIsolated||this.modules.hover.emptyHover||!this.modules.hover.info||!this.modules.hover.current));get isolateFromHover(){return jr(this.#Ds)}set isolateFromHover(e){pt(this.#Ds,e)}#js=Qe(()=>this.modules.hover.isIsolated);get dismissIsolation(){return jr(this.#js)}set dismissIsolation(e){pt(this.#js,e)}dismissIsolationFor(e){return this.modules.hover.isIsolated&&this.modules.hover.enabled&&!("thread"===this.modules.router.current&&this.modules.elements.isInsideFubi(e))}#Rs=Qe(()=>(this.modules.hover.enabled||this.modules.hover.isIsolated)&&!!this.modules.hover.current);get handleHoverClick(){return jr(this.#Rs)}set handleHoverClick(e){pt(this.#Rs,e)}#Ws=Qe(()=>!this.modules.hover.highlightVisible&&!this.modules.hover.emptyHover);get showHighlight(){return jr(this.#Ws)}set showHighlight(e){pt(this.#Ws,e)}ignoreHoverTarget(e){return this.modules.hover.shouldIgnore(e)||this.modules.elements.isInsideInbox(e)||this.modules.elements.isInsideMessage(e)||this.modules.elements.isInsidePicker(e)}#Vs=Qe(()=>{const e=this.modules.hover.mode.type;return"idle"!==e&&"disabled"!==e&&"ignored"!==e&&!this.modules.hover.info?.visible&&!this.modules.hover.emptyHover&&!this.modules.hover.isScrolling});get displayInvisibleIcon(){return jr(this.#Vs)}set displayInvisibleIcon(e){pt(this.#Vs,e)}#Bs=Qe(()=>{const e=["folders","login","error"],t=this.modules.router;if(t.navigating){const r="back"===t.direction?t.previous:t.next;return!!r&&!e.includes(r)}return!!t.current&&!e.includes(t.current)});get goBack(){return jr(this.#Bs)}set goBack(e){pt(this.#Bs,e)}navigateTo(e){const t=this.modules.router;return t.hasRoute(e)&&t.current!==e}#Us=Qe(()=>!this.modules.picker.opened);get commentInputSubmit(){return jr(this.#Us)}set commentInputSubmit(e){pt(this.#Us,e)}#Zs=Qe(()=>!this.modules.picker.opened);get commentInputEscape(){return jr(this.#Zs)}set commentInputEscape(e){pt(this.#Zs,e)}#qs=Qe(()=>this.modules.picker.opened&&this.modules.picker.items.length>0);get navigatePicker(){return jr(this.#qs)}set navigatePicker(e){pt(this.#qs,e)}#Ks=Qe(()=>this.modules.picker.opened&&!!this.modules.picker.items[this.modules.picker.selectedIndex]);get confirmPicker(){return jr(this.#Ks)}set confirmPicker(e){pt(this.#Ks,e)}#Gs=Qe(()=>this.modules.picker.opened);get cancelPicker(){return jr(this.#Gs)}set cancelPicker(e){pt(this.#Gs,e)}#Xs=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.hover.info);get createComment(){return jr(this.#Xs)}set createComment(e){pt(this.#Xs,e)}#Ys=Qe(()=>!!this.modules.auth.user);get createReply(){return jr(this.#Ys)}set createReply(e){pt(this.#Ys,e)}#Js=Qe(()=>!!this.modules.auth.user);get deleteComment(){return jr(this.#Js)}set deleteComment(e){pt(this.#Js,e)}#Qs=Qe(()=>!!this.modules.auth.user);get updateComment(){return jr(this.#Qs)}set updateComment(e){pt(this.#Qs,e)}#ea=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.comments.activeThreadId);get reply(){return jr(this.#ea)}set reply(e){pt(this.#ea,e)}#ta=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess);get accessFolders(){return jr(this.#ta)}set accessFolders(e){pt(this.#ta,e)}selectFolder(e){return!e.locked&&this.modules.folders.current?.id!==e.id}#ra=Qe(()=>this.modules.environment.touch&&this.modules.sheet.opened);get dragWindow(){return jr(this.#ra)}set dragWindow(e){pt(this.#ra,e)}#oa=Qe(()=>this.modules.environment.touch?!this.modules.sheet.opened:!this.modules.win.opened);get openWindow(){return jr(this.#oa)}set openWindow(e){pt(this.#oa,e)}#ia=Qe(()=>this.modules.environment.touch?this.modules.sheet.opened:this.modules.win.opened);get closeWindow(){return jr(this.#ia)}set closeWindow(e){pt(this.#ia,e)}#na=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get toggleWindow(){return jr(this.#na)}set toggleWindow(e){pt(this.#na,e)}#sa=Qe(()=>!!this.modules.auth.user);get authenticate(){return jr(this.#sa)}set authenticate(e){pt(this.#sa,e)}#aa=Qe(()=>!!this.modules.auth.user);get logout(){return jr(this.#aa)}set logout(e){pt(this.#aa,e)}#la=Qe(()=>!this.modules.meta.visible);get openAnalysis(){return jr(this.#la)}set openAnalysis(e){pt(this.#la,e)}#ca=Qe(()=>!this.modules.hover.isIsolated);get openMeta(){return jr(this.#ca)}set openMeta(e){pt(this.#ca,e)}#da=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewCommentsVisible&&this.modules.comments.data.length>0&&!this.modules.meta.visible);get displayCommentsOverview(){return jr(this.#da)}set displayCommentsOverview(e){pt(this.#da,e)}#ua=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewPagesVisible&&this.modules.pages.pagesWithStats.length>0);get displayPagesOverview(){return jr(this.#ua)}set displayPagesOverview(e){pt(this.#ua,e)}#ha=Qe(()=>!!this.modules.auth.user);get showToolbarMenu(){return jr(this.#ha)}set showToolbarMenu(e){pt(this.#ha,e)}#pa=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&!this.modules.domains.blocked);get accessSettings(){return jr(this.#pa)}set accessSettings(e){pt(this.#pa,e)}#ga=Qe(()=>this.accessSettings);get openOnMobile(){return jr(this.#ga)}set openOnMobile(e){pt(this.#ga,e)}},jx=class extends as{#fa=ut(wt([]));get checks(){return jr(this.#fa)}set checks(e){pt(this.#fa,e,!0)}#Ae=ut(!1);get loading(){return jr(this.#Ae)}set loading(e){pt(this.#Ae,e,!0)}meta;start(){this.meta=this.modules.meta,this.run()}query(e){return Array.from(document.querySelectorAll(e)).filter(e=>!e.closest("#fubi-wrapper, [data-fubi-pin]"))}async run(){this.loading=!0,await new Promise(e=>setTimeout(e,50)),this.checks=[...this.analyzeSEO(),...this.analyzeHTML(),...this.analyzePerformance(),...this.analyzeSecurity(),...this.analyzeContent()],this.loading=!1}analyzeSEO(){const e=()=>this.meta.show();return[{id:"title",category:"seo",label:"Page title",status:this.meta.title?"pass":"fail",message:this.meta.title??"Missing page title",action:this.meta.title?void 0:e},{id:"description",category:"seo",label:"Meta description",status:this.meta.description?"pass":"fail",message:this.meta.description??"Missing meta description",action:this.meta.description?void 0:e},{id:"og-image",category:"seo",label:"Share image",status:this.meta.shareImage?"pass":"fail",message:this.meta.shareImage??"No share image found",action:this.meta.shareImage?void 0:e},{id:"favicon",category:"seo",label:"Favicon",status:this.meta.favicon?"pass":"warn",message:this.meta.favicon??"No favicon found",action:this.meta.favicon?void 0:e},this.checkLangAttribute(),...this.checkHeadings(),...this.checkAltTexts(),...this.checkAccessibleNames(),...this.checkFormLabels()]}checkLangAttribute(){const e=document.documentElement.getAttribute("lang");return{id:"lang",category:"seo",label:"Language attribute",status:e?"pass":"warn",message:e?`lang="${e}"`:"Missing lang attribute on <html>"}}checkHeadings(){const e=[],t=this.query("h1");0===t.length?e.push({id:"h1-missing",category:"seo",label:"H1 heading",status:"fail",message:"No H1 heading found"}):t.length>1?e.push({id:"h1-multiple",category:"seo",label:"H1 heading",status:"warn",message:`Found ${t.length} H1 headings (should be 1)`,elements:[...t]}):e.push({id:"h1-ok",category:"seo",label:"H1 heading",status:"pass",message:t[0].textContent?.trim().slice(0,50)||"Empty H1"});const r=this.query("h1, h2, h3, h4, h5, h6"),o=[];let i=0;r.forEach(e=>{const t=parseInt(e.tagName[1]);i>0&&t>i+1&&o.push(`H${i} → H${t}`),i=t}),o.length>0?e.push({id:"heading-hierarchy",category:"seo",label:"Heading hierarchy",status:"warn",message:`Skipped levels: ${o.join(", ")}`}):r.length>0&&e.push({id:"heading-hierarchy",category:"seo",label:"Heading hierarchy",status:"pass",message:"Proper heading hierarchy"});const n=[...r].filter(e=>!e.textContent?.trim());return n.length>0&&e.push({id:"heading-empty",category:"seo",label:"Empty headings",status:"fail",message:`${n.length} empty heading(s)`,elements:n}),e}checkAltTexts(){const e=this.query("img"),t=[];return e.forEach(e=>{e.hasAttribute("alt")||t.push(e)}),t.length>0?[{id:"img-alt-missing",category:"seo",label:"Images missing alt text",status:"fail",message:`${t.length} image(s) missing alt attribute`,elements:t}]:e.length>0?[{id:"img-alt-ok",category:"seo",label:"Image alt texts",status:"pass",message:`All ${e.length} images have alt attributes`}]:[]}checkAccessibleNames(){const e=[],t=[...this.query("button")].filter(e=>{const t=e.textContent?.trim(),r=e.getAttribute("aria-label"),o=e.getAttribute("aria-labelledby"),i=e.getAttribute("title");return!(t||r||o||i)});t.length>0&&e.push({id:"button-empty",category:"seo",label:"Buttons missing labels",status:"fail",message:`${t.length} button(s) without accessible name`,elements:t});const r=[...this.query("a[href]")].filter(e=>{const t=e.textContent?.trim(),r=e.getAttribute("aria-label"),o=e.getAttribute("aria-labelledby"),i=e.getAttribute("title"),n=e.querySelector("img[alt]");return!(t||r||o||i||n)});return r.length>0&&e.push({id:"link-empty",category:"seo",label:"Links missing labels",status:"fail",message:`${r.length} link(s) without accessible name`,elements:r}),e}checkFormLabels(){const e=this.query("input, select, textarea"),t=[];return e.forEach(e=>{const r=e.getAttribute("type");if(["hidden","submit","button","reset","image"].includes(r||""))return;const o=e.getAttribute("id"),i=e.getAttribute("aria-label"),n=e.getAttribute("aria-labelledby");o&&document.querySelector(`label[for="${o}"]`)||i||n||t.push(e)}),t.length>0?[{id:"form-labels",category:"seo",label:"Inputs missing labels",status:"warn",message:`${t.length} input(s) without proper labels`,elements:t}]:[]}analyzeHTML(){return[...this.checkDuplicateIds(),...this.checkDeprecatedElements(),...this.checkInlineHandlers(),...this.checkEmptyElements()]}checkDuplicateIds(){const e=/* @__PURE__ */new Map;this.query("[id]").forEach(t=>{const r=t.id;r&&(e.has(r)||e.set(r,[]),e.get(r).push(t))});const t=[...e.entries()].filter(([e,t])=>t.length>1);return 0===t.length?[{id:"duplicate-ids",category:"html",label:"Duplicate IDs",status:"pass",message:"No duplicate IDs found"}]:t.map(([e,t])=>({id:`duplicate-id-${e}`,category:"html",label:`Duplicate ID: #${e}`,status:"fail",message:`${t.length} elements with id="${e}"`,elements:t}))}checkDeprecatedElements(){const e=[];return["center","font","marquee","blink","big","strike","tt","frame","frameset"].forEach(t=>{const r=this.query(t);r.length>0&&e.push({tag:t,elements:[...r]})}),0===e.length?[{id:"deprecated",category:"html",label:"Deprecated elements",status:"pass",message:"No deprecated elements found"}]:e.map(({tag:e,elements:t})=>({id:`deprecated-${e}`,category:"html",label:`Deprecated: <${e}>`,status:"fail",message:`${t.length} <${e}> element(s) found`,elements:t}))}checkInlineHandlers(){const e=["onclick","onmouseover","onmouseout","onchange","onsubmit","onload","onerror","onfocus","onblur"].map(e=>`[${e}]`).join(", "),t=this.query(e);return 0===t.length?[{id:"inline-handlers",category:"html",label:"Inline event handlers",status:"pass",message:"No inline event handlers found"}]:[{id:"inline-handlers",category:"html",label:"Inline event handlers",status:"warn",message:`${t.length} element(s) with inline handlers`,elements:[...t]}]}checkEmptyElements(){const e=this.query('a[href=""], a[href="#"], a[href="javascript:void(0)"], a[href="javascript:;"]');return e.length>0?[{id:"empty-href",category:"html",label:"Empty/void links",status:"warn",message:`${e.length} link(s) with empty or void href`,elements:[...e]}]:[]}analyzePerformance(){return[this.checkViewportMeta(),...this.checkImageDimensions(),...this.checkScriptLoading()]}checkViewportMeta(){const e=document.querySelector('meta[name="viewport"]');if(!e)return{id:"viewport",category:"performance",label:"Viewport meta",status:"fail",message:"Missing viewport meta tag"};const t=e.getAttribute("content")||"";return t.includes("user-scalable=no")||t.includes("maximum-scale=1")?{id:"viewport",category:"performance",label:"Viewport meta",status:"warn",message:"Viewport disables zoom (bad for accessibility)"}:{id:"viewport",category:"performance",label:"Viewport meta",status:"pass",message:"Viewport meta configured"}}checkImageDimensions(){const e=this.query("img"),t=[];return e.forEach(e=>{const r=e.hasAttribute("width")||e.style.width,o=e.hasAttribute("height")||e.style.height;r&&o||t.push(e)}),0===t.length?[]:[{id:"img-dimensions",category:"performance",label:"Images missing dimensions",status:"warn",message:`${t.length} image(s) missing explicit dimensions`,elements:t}]}checkScriptLoading(){const e=this.query("head script[src]"),t=[];return e.forEach(e=>{const r=e.hasAttribute("defer"),o=e.hasAttribute("async"),i="module"===e.getAttribute("type");r||o||i||t.push(e)}),0===t.length?[]:[{id:"blocking-scripts",category:"performance",label:"Render-blocking scripts",status:"warn",message:`${t.length} script(s) in <head> without defer/async`}]}analyzeSecurity(){return[...this.checkMixedContent(),...this.checkTargetBlank(),...this.checkFormSecurity()]}checkMixedContent(){if("https:"!==location.protocol)return[];const e=this.query('img[src^="http:"], script[src^="http:"], iframe[src^="http:"], link[href^="http:"], video[src^="http:"], audio[src^="http:"]');return e.length>0?[{id:"mixed-content",category:"security",label:"Mixed content",status:"fail",message:`${e.length} resource(s) loaded over HTTP`,elements:[...e]}]:[]}checkTargetBlank(){const e=this.query('a[target="_blank"]'),t=[];return e.forEach(e=>{const r=e.getAttribute("rel")||"";r.includes("noopener")||r.includes("noreferrer")||t.push(e)}),0===t.length?[]:[{id:"target-blank",category:"security",label:'Unsafe target="_blank"',status:"warn",message:`${t.length} link(s) with target="_blank" missing rel="noopener"`,elements:t}]}checkFormSecurity(){if("https:"!==location.protocol)return[];const e=this.query('form[action^="http:"]');return 0===e.length?[]:[{id:"form-http",category:"security",label:"Forms submitting to HTTP",status:"fail",message:`${e.length} form(s) submit to insecure HTTP`,elements:[...e]}]}analyzeContent(){return[...this.checkLoremIpsum(),...this.checkBrokenAnchors(),...this.checkTodoComments()]}checkLoremIpsum(){const e=/lorem ipsum|dolor sit amet|consectetur adipiscing|sed do eiusmod|tempor incididunt/i,t=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT),r=[],o=/* @__PURE__ */new Set;let i;for(;i=t.nextNode();){if(!e.test(i.textContent||""))continue;const t=i.parentElement;t&&!o.has(t)&&(o.add(t),r.push(t))}return 0===r.length?[]:[{id:"lorem-ipsum",category:"content",label:"Lorem ipsum detected",status:"warn",message:`${r.length} element(s) contain placeholder text`,elements:r}]}checkBrokenAnchors(){const e=this.query('a[href^="#"]'),t=[];return e.forEach(e=>{const r=e.getAttribute("href");if(!r||"#"===r)return;const o=r.slice(1);document.getElementById(o)||t.push(e)}),0===t.length?[]:[{id:"broken-anchors",category:"content",label:"Broken anchor links",status:"fail",message:`${t.length} anchor link(s) point to non-existent IDs`,elements:t}]}checkTodoComments(){const e=document.body.innerText;return/\b(TODO|FIXME|XXX|HACK)\b/i.test(e)?[{id:"todo-visible",category:"content",label:"TODO/FIXME in content",status:"warn",message:"Page contains visible TODO/FIXME markers"}]:[]}},Rx=class extends as{registry=/* @__PURE__ */new Map;_touchScrollPadding=!1;#ma=ut(wt({}));get visibility(){return jr(this.#ma)}set visibility(e){pt(this.#ma,e,!0)}start(){this.on("hover:isolated",({info:e})=>{const{mode:t}=this.modules.hover,{touch:r}=this.modules.environment;r||("isolated"!==t.type||e.hasThreads?this.hide("new-comment"):(this.show("new-comment"),this.focus("new-comment")))}),this.on("hover:isolation-dismiss",()=>{this.blur("new-comment"),this.reset("new-comment"),this.hide("new-comment"),this._touchScrollPadding&&(document.documentElement.style.paddingBottom="",this._touchScrollPadding=!1)}),this.on("router:transitioned",({to:e})=>{"thread"===e&&(this.log.info("Focusing reply input on thread navigation"),this.show("reply"),Dr().then(()=>this.registry.get("reply")?.focusWithoutScroll()))})}register(e,t){this.registry.set(e,t),e in this.visibility||(this.visibility[e]=!1)}unregister(e){this.registry.delete(e),delete this.visibility[e]}async focus(e){Dr().then(()=>this.registry.get(e)?.focus())}focusForTouch(e,t){if(this.registry.get(e)?.focusWithoutScroll(),t){window.visualViewport;const e=t.getBoundingClientRect().top+window.scrollY-64,r=document.documentElement.scrollHeight-window.innerHeight;if(e>r){const t=e-r+50;document.documentElement.style.paddingBottom=`${t}px`,this._touchScrollPadding=!0}this.modules.dom.scroll.enable(),window.scrollTo({top:e,behavior:"instant"}),t.getBoundingClientRect(),this.modules.dom.scroll.disable()}}blur(e){this.registry.get(e)?.blur()}clear(e){this.registry.get(e)?.clear()}reset(e){this.registry.get(e)?.reset()}submit(e){this.registry.get(e)?.submit()}isFocused(e){return this.registry.get(e)?.isFocused()??!1}show(e){this.visibility[e]=!0}hide(e){this.visibility[e]=!1}},Wx=class extends as{groups={comments:{title:"Comments",visible:!1},notifications:{title:"Notifications",visible:!0},behaviour:{title:"Behaviour",visible:!0}};schema=[{key:"notifications",group:"notifications",type:"boolean",default:!0,label:"E-mail Notifications"},{key:"doneThreadsVisible",group:"comments",type:"boolean",default:!0,label:"Show Done Threads"},{key:"onlyMineVisible",group:"comments",type:"boolean",default:!1,label:"Show Only My Threads"},{key:"sortMode",group:"comments",type:"string",default:"priority",label:"Sort Mode"},{key:"dontAskBeforeDelete",group:"behaviour",type:"boolean",default:!1,label:"Don't Ask Before Deleting"}];constructor(){super(),this.storage("current","fubi_settings_current",Object.fromEntries(this.schema.map(e=>[e.key,e.default])))}set(e,t){this.current={...this.current,[e]:t},this.sync()}toggle(e){this.current={...this.current,[e]:!this.current[e]},this.sync()}start(){this.modules.auth.user&&this.load(this.modules.auth.user.settings),this.on("auth:login",()=>this.load(this.modules.auth.user?.settings))}async sync(){const[e]=await gs(this.modules.pb.collection("users").update(this.modules.auth.user?.id,{settings:this.current}));e&&this.log.error("Failed to save settings:",e)}load(e){e&&(this.current={...this.current,...e})}},Vx=class extends as{#ae=ut(null);get current(){return jr(this.#ae)}set current(e){pt(this.#ae,e,!0)}start(){this.on("error:set",e=>{this.current=e,this.modules.router.goto("error")}),this.on("error:clear",e=>{e&&this.current?.source!==e||(this.current=null)})}set(e,t){this.emit("error:set",{...e,source:t})}clear(e){this.emit("error:clear",e)}clearIfSource(e){this.current?.source===e&&(this.clear(),this.emit("error:clear",e))}},Bx=["image/png","image/vnd.mozilla.apng","image/jpeg","image/webp","image/svg+xml"],Ux=class extends as{MAX_FILES=8;MAX_INPUT_SIZE_MB=15;MAX_INPUT_SIZE_BYTES=1024*this.MAX_INPUT_SIZE_MB*1024;MAX_OUTPUT_SIZE_MB=5;MAX_OUTPUT_SIZE_BYTES=1024*this.MAX_OUTPUT_SIZE_MB*1024;MAX_DIMENSION=1920;#va=ut(wt([]));get files(){return jr(this.#va)}set files(e){pt(this.#va,e,!0)}#Ne=ut(null);get error(){return jr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#ba=ut(!1);get picking(){return jr(this.#ba)}set picking(e){pt(this.#ba,e,!0)}get isCompressing(){return this.files.some(e=>"compressing"===e.status)}get isReady(){return this.files.length>0&&this.files.every(e=>"ready"===e.status)}start(){this.on("hover:isolated",()=>this.clear()),this.on("hover:isolation-dismiss",()=>{this.clear()})}openPicker(){this.error=null,this.picking=!0,performance.now();const e=document.createElement("input");e.type="file",e.multiple=!0,e.accept=Bx.join(","),e.onchange=e=>{this.handleSelect(e),this.picking=!1},window.addEventListener("focus",()=>{setTimeout(()=>{this.picking&&(this.picking=!1,this.modules.dom.scroll.enable())},500)},{once:!0}),e.click()}async handleSelect(e){this.error=null;const t="isolated"===this.modules.hover.mode.type?"new-comment":"reply";this.modules.inputs.blur(t),this.modules.inputs.focusForTouch(t);const r=e.target,o=Array.from(r.files??[]);r.value="",await this.handleFiles(o)}async compressEntry(e){try{if("image/svg+xml"===e.file.type)return void this.updateEntry(e.id,{status:"ready"});let t=await this.compressImage(e.file,.8);if(t.file.size>this.MAX_OUTPUT_SIZE_BYTES&&(t=await this.compressImage(e.file,.6)),t.file.size>this.MAX_OUTPUT_SIZE_BYTES&&(t=await this.compressImage(e.file,.4)),t.file.size>this.MAX_OUTPUT_SIZE_BYTES)throw new Error(`Could not compress below ${this.MAX_OUTPUT_SIZE_MB}MB`);const r=t.file.size<e.file.size?t.file:e.file,o=e.file.size-r.size;o>0?this.log.ok(`Compressed: ${Cs(e.file.size)} -> ${Cs(r.size)}, (${Cs(o)} smaller)`):this.log.ok(`Kept Original: ${Cs(e.file.size)}`),URL.revokeObjectURL(e.preview),this.updateEntry(e.id,{file:r,preview:URL.createObjectURL(r),width:t.width,height:t.height,status:"ready"})}catch(t){this.updateEntry(e.id,{status:"error",error:t instanceof Error?t.message:"Compression failed"})}}async compressImage(e,t=.8){const r=await createImageBitmap(e);let{width:o,height:i}=r;if(o>this.MAX_DIMENSION||i>this.MAX_DIMENSION){const e=Math.min(this.MAX_DIMENSION/o,this.MAX_DIMENSION/i);o=Math.round(o*e),i=Math.round(i*e)}const n=new OffscreenCanvas(o,i),s=n.getContext("2d");s.fillStyle="#333",s.fillRect(0,0,o,i),s.drawImage(r,0,0,o,i);const a=await n.convertToBlob({type:"image/webp",quality:t});return{file:new File([a],e.name.replace(/\.\w+$/,".webp"),{type:"image/webp"}),width:o,height:i}}async handleFiles(e){this.error=null;const t=this.files.length,r=[];this.log.group(`Handling ${e.length} selected files`);for(const n of e){if(t+r.length>=this.MAX_FILES){this.error=`Maximum of ${this.MAX_FILES} files allowed.`;break}if(!Bx.includes(n.type)){this.error=`File type not allowed: ${n.type}`;continue}if(n.size>this.MAX_INPUT_SIZE_BYTES){this.error=`File is too large. Max size is ${this.MAX_INPUT_SIZE_MB}MB.`;continue}const e={id:crypto.randomUUID?.()??Math.random().toString(36).slice(2),file:n,preview:URL.createObjectURL(n),status:"compressing",progress:0};this.files.push(e),r.push(e)}await Promise.all(r.map(e=>this.compressEntry(e)));const o=this.files.filter(e=>"ready"===e.status),i=o.reduce((e,t)=>e+t.file.size,0);this.log.info(`Total upload: ${o.length} files, ${Cs(i)} total`),this.log.groupEnd()}updateEntry(e,t){const r=this.files.findIndex(t=>t.id===e);-1!==r&&(this.files[r]={...this.files[r],...t})}previewImage(e,t,r,o,i){this.modules.environment.touch?this.modules.sheet.uiOpened=!0:this.modules.win.uiOpened=!0,this.modules.modals.open("media-preview",{src:e,commentId:t,filename:r,width:o,height:i})}remove(e){this.error=null;const t=this.files.findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(this.files[t].preview),this.files.splice(t,1))}clear(){this.error=null;for(const e of this.files)URL.revokeObjectURL(e.preview);this.files=[]}getFilesForUpload(){return this.files.filter(e=>"ready"===e.status).map(e=>e.file)}};function Zx(){return ce("app").modules}async function qx(e,t){const{pb:r,project:o,auth:i,router:n}=e,s=ks(),{width:a,height:l}=ys(),c=xs(a),d=new FormData;d.append("project",o.id),i.user?.id&&d.append("user",i.user.id),d.append("source","app"),d.append("type",t.type),d.append("description",t.description.trim()),d.append("url",window.location.href),d.append("browser",JSON.stringify(s)),d.append("resolution",JSON.stringify({width:a,height:l,device:c})),d.append("logs",JSON.stringify([...Un])),d.append("meta",JSON.stringify({route:n.current,timestamp:Date.now(),version:"1.0.3-beta.17"}));for(const p of t.files??[])d.append("media",p);const[u,h]=await gs(r.collection("issues").create(d));if(u)throw u;return h}var Kx="https://staging.fubi.wondermakers.dev",Gx=qn("app"),Xx=po('<div class="flex w-full items-center gap-6"><div></div> </div>'),Yx=po('<p class="whitespace-nowrap"> <span> </span></p>'),Jx=po('<details open=""><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>'),Qx=po('<div class="hidden fixed z-51 bottom-8 touch:top-8 w-200 touch:bottom-auto max-w-250 left-8 bg-black text-white/50 p-8 font-mono rounded-lg text-[10px]/none flex flex-col space-y-8 divide-white/10 [&_span]:text-white"><div class="text-amber-500 pb-4 mt-8 border-b border-amber-500/30"><p>Modules</p></div> <!> <!></div>');var ek=po('<button draggable="false"><div class="sr-only">Resize</div> <div></div></button>');ao(["pointerdown"]);var tk=po('<p class="text-sm touch:text-base text-neutral-400">The folder you were in was removed. You\'ve been automatically moved to <span class="font-bold text-white"> </span> folder.</p>'),rk=po("<!> <!>",1);function ok(e,t){ue(t,!0);const{router:r}=Zx();let o=Qe(()=>{const e=/* @__PURE__ */new Set;return r.current&&e.add(r.current),r.next&&e.add(r.next),r.previous&&e.add(r.previous),e});Zi(()=>r.ready=!0);var i=rk(),n=At(i);Po(n,17,()=>Object.entries(Jy),([e,t])=>e,(e,t)=>{var i=Qe(()=>v(jr(t),2));let n=()=>jr(i)[0];var s=vo(),a=At(s),l=e=>{const t=Qe(()=>r.current===n()?r.history[r.currentIndex]?.params??{}:{}),o=Qe(()=>r.nextCurrent===n());var s=vo();Wo(At(s),()=>jr(i)[1].component,(e,i)=>{i(e,Bi({get visible(){return jr(o)},get navigating(){return r.navigating},get direction(){return r.direction}},()=>jr(t)))}),bo(e,s)},c=Qe(()=>jr(o).has(n()));_o(a,e=>{jr(c)&&e(l)}),bo(e,s)}),function(e){ue({},!0);const{folders:t,modals:r}=Zx();r.register("folder-deleted");{const o=e=>{var r=tk(),o=zt(Ot(r)),i=Ot(o,!0);q(o),K(),q(r),er(()=>ko(i,t?.current?.name)),bo(e,r)};Tw(e,{title:"Folder Deleted",get open(){return r.modals["folder-deleted"]},set open(e){r.modals["folder-deleted"]=e},content:o,children:(e,t)=>{Bg(e,{small:!0,onclick:()=>r.close("folder-deleted"),children:(e,t)=>{K(),bo(e,mo("OK"))},$$slots:{default:!0}})},$$slots:{content:!0,default:!0}})}he()}(zt(n,2)),bo(e,i),he()}var ik=po('<div data-lenis-prevent="" data-fubi-window="" data-fubi-hide-all=""><!> <!></div>');var nk=po('<div class="absolute top-0 right-0 size-8 flex-center"><div class="size-8 bg-rose-500 rounded-full"></div> <div class="size-8 bg-rose-500 rounded-full animate-ping absolute"></div></div>'),sk=po('<button><!> <span class="sr-only"> </span> <!></button>');function ak(e,t){ue(t,!0);const r=Ui(t,"variant",3,"default"),o=Ui(t,"label",3,"Icon"),i=Ui(t,"tooltip",19,()=>({text:"",key:null})),n=Ui(t,"iconSize",3,"size-24"),s=Ui(t,"notify",3,!1),a=Wi(t,["$$slots","$$events","$$legacy","active","icon","variant","label","tooltip","iconSize","notify","onclick"]),l=new Map([["default","bg-slate-400 text-slate-950"],["sky","bg-sky-400 text-sky-950 hover:bg-sky-500"],["green","bg-lime-400 text-lime-950 hover:bg-lime-500"],["red","bg-rose-500/10 text-rose-500 hover:bg-rose-500/20"]]);{const c=(e,i)=>{var c=sk();Si(c,e=>({...a,...i?.().props,draggable:"false",class:e,onclick:t.onclick}),[()=>["cursor-pointer size-36 touch:size-44 superellipse ease-out transition-[background-color,color] duration-100 rounded-[14px] touch:rounded-[14px] flex-center relative select-none shrink-0","active:scale-90 transition-[scale] duration-100 ease-out","focus-visible icon-shadow",t.active?"glass "+l.get(r()):"text-neutral-400 hover:text-neutral-300 hover:bg-neutral-500/20 active:bg-neutral-500/20 focus-visible:text-neutral-400 focus-visible:bg-neutral-500/10 mouse:glass-hover "]]);var d=Ot(c),u=e=>{bo(e,nk())};_o(d,e=>{s()&&e(u)});var h=zt(d,2),p=Ot(h,!0);q(h);var g=zt(h,2);{let e=Qe(()=>`${n()} shrink-0`);Ag(g,{get icon(){return t.icon},get className(){return jr(e)}})}q(c),er(()=>ko(p,o())),Qo(3,c,()=>oa,()=>({axis:"x",duration:450,easing:js})),bo(e,c)};Fp(e,{get text(){return i().text},get key(){return i().key},delay:100,offset:8,child:c,$$slots:{child:!0}})}he()}var lk=po('<button><span class="sr-only">Menu</span> <!></button>'),ck=po('<div class="size-36 flex-center mr-4"><img/></div>'),dk=po('<a target="_blank" rel="noopener noreferrer" class="contents"><!></a> <div class="group-divider"></div> <!> <!> <!>',1);function uk(e,t){ue(t,!0);const{win:r,sheet:o,can:i,router:n,auth:s,environment:a,modals:l}=Zx();let c=ut(!1);const d=async()=>{const e=a.touch?o:r;e.opened||e.open(),n.goto("settings")},u=()=>{a.touch||r.opened||r.open(),l.open("report-bug")};{const t=(e,t)=>{var r=lk();Si(r,()=>({...t?.().props,draggable:"false",class:["cursor-pointer size-36 touch:size-44 superellipse ease-out transition-[background-color,color] duration-100 rounded-[14px] flex-center relative select-none shrink-0","active:scale-90 transition-[scale] duration-100 ease-out","focus-visible",jr(c)?"bg-neutral-500/40 text-neutral-200 mouse:glass":"text-neutral-400 hover:text-neutral-300 hover:bg-neutral-500/20 active:bg-neutral-500/20 focus-visible:text-neutral-400 focus-visible:bg-neutral-500/10 mouse:glass-hover"]})),Ag(zt(Ot(r),2),{get icon(){return Lg},className:"size-25 shrink-0 touch:size-32"}),q(r),bo(e,r)};Hp(e,{sideOffset:4,triggerClass:"",origin:"origin-bottom-right",get opened(){return jr(c)},set opened(e){pt(c,e,!0)},child:t,children:(e,t)=>{var r=dk(),o=At(r),n=Ot(o);{const e=e=>{var t=ck(),r=Ot(t);ci(r,1,ni(["size-32 touch:size-36 rounded-[12px] superellipse select-none shrink-0","transition-[scale,opacity] duration-200 ease-out-cubic will-change-[scale,opacity]"])),q(t),er(()=>{Li(r,"src",s.avatarThumbUrl),Li(r,"alt",s.user?.firstName+" "+s.user?.lastName)}),bo(e,t)};let t=Qe(()=>s?.user?.email??"Not logged in");zf(n,{get title(){return s.accountName},get subtitle(){return jr(t)},onclick:()=>{},start:e,$$slots:{start:!0}})}q(o);var a=zt(o,4);zf(a,{title:"Leave Feedback",get icon(){return Kf},onclick:u});var l=zt(a,2),c=e=>{zf(e,{title:"Settings",get icon(){return zm},onclick:d})};_o(l,e=>{i.accessSettings&&e(c)}),zf(zt(l,2),{title:"Logout",get icon(){return ym},type:"destructive",closeOnSelect:!0,onclick:()=>setTimeout(()=>s.logout(),200)}),er(()=>Li(o,"href",s.accountUrl)),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}var hk=po('<a target="_blank"><!> <span class="sr-only">Open Fubi Website</span></a>');function pk(e,t){ue(t,!0);let r=ut(!1);Zi(()=>pt(r,!0)),Fp(e,{text:"Open Fubi Website",delay:100,offset:8,children:(e,t)=>{var o=hk();Li(o,"href","https://fubi.dev"),Ky(Ot(o),{class:"h-24 touch:h-28 shrink-0 text-lime-300"}),K(2),q(o),er(()=>ci(o,1,ni(["size-36 touch:size-44 hover:bg-lime-400/10 glass-hover rounded-[14px] superellipse flex-center","transition-[rotate,scale,opacity] will-change-[rotate,scale,opacity] duration-1000 ease-out-cubic",jr(r)?"active:scale-95 active:duration-200 active:bg-lime-400/20":"scale-0 rotate-360 opacity-0"]))),bo(e,o)},$$slots:{default:!0}}),he()}var gk=po("<!> <!> <!> <!>",1),fk=po('<div data-fubi-hide-all=""><!> <div class="w-px h-24 rounded-full bg-white/15 mx-8"></div> <!></div>'),mk=po("<div><!></div>");function vk(e,t){const r=Ui(t,"vertical",3,!1),o=Ui(t,"bg",3,"bg-neutral-800/80");var i=mk(),n=Ot(i);{let e=Qe(()=>["font-medium text-sm/none",r()?"flex flex-col gap-2":"flex gap-4 items-center"]);vy(n,{animate:"width",get class(){return jr(e)},children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children),bo(e,o)},$$slots:{default:!0}})}q(i),er(()=>ci(i,1,ni(["pl-6 pr-8 flex-center rounded-[12px] overflow-clip superellipse backdrop-blur-sm android:backdrop-blur-none glass-shadow text-white",r()?"":"h-28 gap-4",o()]))),Qo(3,i,()=>ia,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,i)}var bk=po('<div class="flex-center text-orange-600"><!></div>'),wk=po('<!> <p class="trim-both text-white whitespace-nowrap">Ignored element</p>',1),yk=po('<!> <p class="trim-both text-white whitespace-nowrap"> </p>',1),xk=po('<!> <p class="trim-both text-white whitespace-nowrap">Invisible element</p>',1),kk=po('<div class="flex items-center gap-4 h-28 border-b-[0.5px] border-white/10 last:border-b-0"><!> <p class="trim-both text-neutral-300 whitespace-nowrap"> </p></div>'),Ck=po('<div class="flex items-center gap-4 h-28"><div class="size-12 rounded-[4px] shrink-0 superellipse"></div> <p class="trim-both text-neutral-300 whitespace-nowrap"> </p></div>'),Lk=po('<div class="flex flex-col"><!> <!></div>'),Sk=po("<!> <!> <!>",1),Mk=po("<div><!></div>"),$k=po('<div id="fubi-highlight"><!> <svg fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="1" stroke-linecap="round" class="superellipse transition-[stroke-dasharray,background-color,fill,stroke] duration-200 ease-out" fill-opacity="0.1"></rect></svg> <!></div>');var Tk=po('<div class="py-8 text-center text-sm text-neutral-500"> </div>'),_k=po('<img alt="" class="size-32 rounded-[8px] superellipse object-cover glass"/>'),Ek=po('<div class="size-32 bg-sky-500/30 rounded-[8px] superellipse object-cover glass-shadow flex-center text-white text-sm"> </div>'),Ik=po('<!> <div class="flex flex-col min-w-0"><span class="text-sm/none font-medium truncate"> </span> <span class="text-xs/none text-neutral-500 truncate"> </span></div>',1),Ok=po('<span class="text-xs text-neutral-500"> </span>'),Ak=po('<div class="size-28 rounded-8 bg-neutral-700 flex items-center justify-center"><span class="text-sm text-neutral-400">/</span></div> <div class="flex flex-col min-w-0"><span class="text-sm font-medium"> </span> <!></div>',1),zk=po("<button><!></button>"),Pk=po('<div class="flex flex-col gap-2"></div>');ao(["pointerdown","click"]);var Fk=po('<div class="fixed top-16 left-1/2 -translate-x-1/2 z-[calc(var(--infinity,2147490000)+4)] flex items-center gap-10 pl-12 pr-6 py-6 rounded-[14px] superellipse bg-sky-500 text-white shadow-lg shadow-sky-500/40" data-fubi-ignore-all=""><!> <span class="text-[13px] font-medium text-white">Click the element to re-attach this comment</span> <button class="flex-center size-24 rounded-[8px] superellipse text-white/80 hover:text-white hover:bg-white/20 transition-colors"><!></button></div>');ao(["click"]);var Nk=po('<div class="pointer-events-none absolute top-0 left-0 z-[calc(var(--infinity,2147490000)+1)]"><div class="absolute inset-0 superellipse"></div></div>'),Hk=fo('<svg class="pointer-events-none absolute z-[calc(var(--infinity,2147490000)+2)]" fill="none"><path stroke-width="1" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="6 4" class="tracer-path svelte-1saelax"></path><circle r="3"></circle><circle r="3"></circle></svg>'),Dk=po('<img alt="Icon" class="size-24 rounded-[4px] superellipse pointer-events-none"/>'),jk=po('<div class="flex-center size-24 pointer-events-none"><!></div>'),Rk=po('<img alt="Share" class="w-full h-full rounded-[12px] superellipse object-cover pointer-events-none"/>'),Wk=po('<!> <p class="text-sm/none mt-4" data-fubi-ignore="">Missing share image</p>',1),Vk=po('<div class="fixed inset-0 z-[2147479000] bg-black/50" data-fubi-ignore-all="" role="presentation"></div> <div class="fixed inset-0 z-[2147479000] flex items-center justify-center pointer-events-none"><div data-fubi-meta-section="" class="pointer-events-auto flex flex-col text-left text-neutral-50 bg-linear-to-b from-neutral-800/90 to-neutral-900/90 android:from-neutral-800 android:to-neutral-900 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-[24px] superellipse w-550 max-w-[94%] outline-none"><div class="py-10 px-14 touch:py-16 touch:px-20 flex flex-col border-b-[0.5px] border-white/10" data-fubi-ignore-all=""><p class="text-xl/[120%] touch:text-2xl/[120%] font-medium pr-28 touch:pr-56">Meta Panel</p> <p class="text-sm/[140%] text-neutral-400 font-normal">How this page appears in search results and social media previews.</p> <!></div> <div class="py-12 px-16 flex gap-8 items-start w-full border-b-[0.5px] border-white/10" data-fubi-ignore=""><div class="flex flex-col gap-8 items-start" data-fubi-ignore=""><p class="text-sm/none text-white/60" data-fubi-ignore="">Icon</p> <div class="flex p-4 glass bg-neutral-500/10 rounded-[8px] superellipse shrink-0" data-fubi-meta="favicon"><!></div></div> <div class="flex flex-col gap-8 flex-1 min-w-0" data-fubi-ignore=""><p class="text-sm/none text-white/60" data-fubi-ignore="">URL</p> <div class="flex px-8 h-32 shrink-0 items-center glass overflow-hidden w-full bg-neutral-500/10 rounded-[8px] superellipse text-base/none font-normal" data-fubi-meta="url"><p> </p></div></div></div> <div class="py-12 px-16 flex flex-col gap-8 items-start border-b-[0.5px] w-full border-white/10" data-fubi-ignore=""><p class="text-sm/none text-white/60" data-fubi-ignore="">Share Image</p> <div data-fubi-meta="shareimage"><!></div></div> <div class="py-12 px-16 flex flex-col gap-8 items-start border-b-[0.5px] w-full border-white/10" data-fubi-ignore=""><p class="text-sm/none text-white/60" data-fubi-ignore="">Title</p> <p data-fubi-meta="title"><!></p></div> <div class="py-12 px-16 flex flex-col gap-8 items-start w-full" data-fubi-ignore=""><p class="text-sm/none text-white/60" data-fubi-ignore="">Description</p> <p data-fubi-meta="description"><!></p></div></div></div>',1);ao(["click"]);var Bk=po('<div class="fixed inset-0 bg-black/40 android:bg-black/60 z-[calc(var(--infinity,2147490000)-1)]" style="opacity: 0"></div> <div class="fixed inset-x-0 bottom-0 z-[calc(var(--infinity,2147490000))] flex flex-col text-white" style="transform: translate3d(0, 100%, 0); height: calc(100dvh - 8px);" role="dialog" aria-modal="true"><div><div></div> <div></div></div> <div data-fubi-window="" class="flex-1 overflow-y-auto overscroll-contain"><!></div></div> <div class="w-full -bottom-4 left-0 h-10 bg-neutral-900 fixed z-[calc(var(--infinity,2147490000))]"></div>',1);ao(["click"]),po('<button><!> <div class="sr-only">Close</div></button>');var Uk=po('<div></div> <div data-fubi-ignore-all=""></div>',1),Zk=po('<div><div class="h-28" data-fubi-ignore=""></div> <div class="flex flex-col items-start bg-neutral-900/90 android:bg-neutral-900 backdrop-blur-lg android:backdrop-blur-none rounded-[12px] superellipse glass-shadow pointer-events-auto" data-fubi-ignore-all=""><div class="px-12 py-8 flex flex-col gap-4 border-b-[0.5px] border-white/10 text-indigo-400"><p class="text-xs/none">Theirs</p> <p class="text-sm/none font-mono text-indigo-200"><span> </span>×<span> </span></p></div> <div class="px-12 py-8 flex flex-col gap-4 text-neutral-500"><p class="text-xs/none">Yours</p> <p class="text-sm/none font-mono text-neutral-200"><span> </span>×<span> </span></p></div></div> <!></div>'),qk=po("<!> <!>",1);var Kk=po("<div></div>"),Gk=po('<div><img alt="Media Preview" class="max-w-[90vw] max-h-[90vh] object-contain rounded-[8px] superellipse shadow-2xl bg-white/5 border-[0.5px] border-white/10"/></div> <div class="flex items-center fixed top-16 right-16 touch:top-auto touch:bottom-16 gap-4 z-[calc(var(--infinity,2147490000))]" data-fubi-ignore-all=""><!> <!></div>',1),Xk=po("<!> <!>",1);var Yk=po("<!> <!>",1),Jk=po('<div class="flex-center h-9 app:h-36"><!></div>'),Qk=po("<div><!></div>"),eC=po('<p class="text-[13px]/none font-normal mouse:text-xs/none mb-px line-clamp-1 text-white/50"> </p>'),tC=po('<p class="text-neutral-500 text-[15px]/[110%] touch:text-[18px]/none pb-0.5 app:pb-2"> </p>'),rC=po('<div class="text-amber-500 text-[13px]/none font-normal mouse:text-xs/none mb-px line-clamp-1 pr-1 app:pr-4 bg-amber-500/10 py-0.75 app:py-3 px-1 app:px-4 rounded-[4px] superellipse"> </div>'),oC=po('<!> <!> <div><p class="text-[15px]/[110%] touch:text-[18px]/none font-normal"> </p> <!></div> <div class="flex-center pr-2 app:pr-8"><!> <!> <!></div>',1),iC=po('<div class="flex w-full flex-col items-center justify-center gap-2 app:gap-8 py-8 app:py-32 text-center"><!> <p class="text-[15px] text-neutral-300">Feedback sent — thank you!</p></div>'),nC=po('<button><!> <span class="text-[14px]/none font-normal"> </span> <!></button>'),sC=po('<p class="text-[13px] text-red-400"> </p>'),aC=po('<div class="flex flex-col items-start gap-2 app:gap-8"><!> <textarea class="w-full resize-none rounded-2xl superellipse glass-pressed bg-neutral-500/10 px-2.5 app:px-10 py-2 app:py-8 text-[14px] text-white placeholder:text-neutral-500 focus:outline-none transition-colors"></textarea> <!> <!></div>');var lC=po('<div class="flex w-full items-center overflow-x-auto"></div>'),cC=po("<!> <!>",1),dC=po('<div class="flex gap-8"><!> <!></div>'),uC=Math.min,hC=Math.max,pC=Math.round,gC=e=>({x:e,y:e}),fC={left:"right",right:"left",bottom:"top",top:"bottom"};function mC(e,t,r){return hC(e,uC(t,r))}function vC(e,t){return"function"==typeof e?e(t):e}function bC(e){return e.split("-")[0]}function wC(e){return e.split("-")[1]}function yC(e){return"x"===e?"y":"x"}function xC(e){return"y"===e?"height":"width"}function kC(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function CC(e){return yC(kC(e))}function LC(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var SC=["left","right"],MC=["right","left"],$C=["top","bottom"],TC=["bottom","top"];function _C(e){const t=bC(e);return fC[t]+e.slice(t.length)}function EC(e){const{x:t,y:r,width:o,height:i}=e;return{width:o,height:i,top:r,left:t,right:t+o,bottom:r+i,x:t,y:r}}function IC(e,t,r){let{reference:o,floating:i}=e;const n=kC(t),s=CC(t),a=xC(s),l=bC(t),c="y"===n,d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[a]/2-i[a]/2;let p;switch(l){case"top":p={x:d,y:o.y-i.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-i.width,y:u};break;default:p={x:o.x,y:o.y}}switch(wC(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function OC(e,t){var r;void 0===t&&(t={});const{x:o,y:i,platform:n,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=vC(t,e),g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),f=a[h?"floating"===u?"reference":"floating":u],m=EC(await n.getClippingRect({element:null==(r=await(null==n.isElement?void 0:n.isElement(f)))||r?f:f.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),v="floating"===u?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),w=await(null==n.isElement?void 0:n.isElement(b))&&await(null==n.getScale?void 0:n.getScale(b))||{x:1,y:1},y=EC(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(m.top-y.top+g.top)/w.y,bottom:(y.bottom-m.bottom+g.bottom)/w.y,left:(m.left-y.left+g.left)/w.x,right:(y.right-m.right+g.right)/w.x}}var AC=/* @__PURE__ */new Set(["left","top"]);function zC(){return"undefined"!=typeof window}function PC(e){return HC(e)?(e.nodeName||"").toLowerCase():"#document"}function FC(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function NC(e){var t;return null==(t=(HC(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function HC(e){return!!zC()&&(e instanceof Node||e instanceof FC(e).Node)}function DC(e){return!!zC()&&(e instanceof Element||e instanceof FC(e).Element)}function jC(e){return!!zC()&&(e instanceof HTMLElement||e instanceof FC(e).HTMLElement)}function RC(e){return!(!zC()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof FC(e).ShadowRoot)}function WC(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=JC(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&"inline"!==i&&"contents"!==i}function VC(e){return/^(table|td|th)$/.test(PC(e))}function BC(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}var UC,ZC=/transform|translate|scale|rotate|perspective|filter/,qC=/paint|layout|strict|content/,KC=e=>!!e&&"none"!==e;function GC(e){const t=DC(e)?JC(e):e;return KC(t.transform)||KC(t.translate)||KC(t.scale)||KC(t.rotate)||KC(t.perspective)||!XC()&&(KC(t.backdropFilter)||KC(t.filter))||ZC.test(t.willChange||"")||qC.test(t.contain||"")}function XC(){return null==UC&&(UC="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),UC}function YC(e){return/^(html|body|#document)$/.test(PC(e))}function JC(e){return FC(e).getComputedStyle(e)}function QC(e){return DC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eL(e){if("html"===PC(e))return e;const t=e.assignedSlot||e.parentNode||RC(e)&&e.host||NC(e);return RC(t)?t.host:t}function tL(e){const t=eL(e);return YC(t)?e.ownerDocument?e.ownerDocument.body:e.body:jC(t)&&WC(t)?t:tL(t)}function rL(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=tL(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=FC(i);if(n){const e=oL(s);return t.concat(s,s.visualViewport||[],WC(i)?i:[],e&&r?rL(e):[])}return t.concat(i,rL(i,[],r))}function oL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function iL(e){const t=JC(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=jC(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=pC(r)!==n||pC(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function nL(e){return DC(e)?e:e.contextElement}function sL(e){const t=nL(e);if(!jC(t))return gC(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=iL(t);let s=(n?pC(r.width):r.width)/o,a=(n?pC(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var aL=/* @__PURE__ */gC(0);function lL(e){const t=FC(e);return XC()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:aL}function cL(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=nL(e);let s=gC(1);t&&(o?DC(o)&&(s=sL(o)):s=sL(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==FC(e))&&t}(n,r,o)?lL(n):gC(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(n){const e=FC(n),t=o&&DC(o)?FC(o):o;let r=e,i=oL(r);for(;i&&o&&t!==r;){const e=sL(i),t=i.getBoundingClientRect(),o=JC(i),n=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=n,c+=s,r=FC(i),i=oL(r)}}return EC({width:d,height:u,x:l,y:c})}function dL(e,t){const r=QC(e).scrollLeft;return t?t.left+r:cL(NC(e)).left+r}function uL(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-dL(e,r),y:r.top+t.scrollTop}}function hL(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=FC(e),o=NC(e),i=r.visualViewport;let n=o.clientWidth,s=o.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;const e=XC();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=dL(o);if(c<=0){const e=o.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(o.clientWidth-t.clientWidth-i);s<=25&&(n-=s)}else c<=25&&(n+=c);return{width:n,height:s,x:a,y:l}}(e,r);else if("document"===t)o=function(e){const t=NC(e),r=QC(e),o=e.ownerDocument.body,i=hC(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=hC(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+dL(e);const a=-r.scrollTop;return"rtl"===JC(o).direction&&(s+=hC(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(NC(e));else if(DC(t))o=function(e,t){const r=cL(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=jC(e)?sL(e):gC(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:i*n.x,y:o*n.y}}(t,r);else{const r=lL(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return EC(o)}function pL(e,t){const r=eL(e);return!(r===t||!DC(r)||YC(r))&&("fixed"===JC(r).position||pL(r,t))}function gL(e,t){const r=t.get(e);if(r)return r;let o=rL(e,[],!1).filter(e=>DC(e)&&"body"!==PC(e)),i=null;const n="fixed"===JC(e).position;let s=n?eL(e):e;for(;DC(s)&&!YC(s);){const t=JC(s),r=GC(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||WC(s)&&!r&&pL(e,s))?o=o.filter(e=>e!==s):i=t,s=eL(s)}return t.set(e,o),o}function fL(e,t,r){const o=jC(t),i=NC(t),n="fixed"===r,s=cL(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=gC(0);function c(){l.x=dL(i)}if(o||!o&&!n)if(("body"!==PC(t)||WC(i))&&(a=QC(t)),o){const e=cL(t,!0,n,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();n&&!o&&i&&c();const d=!i||o||n?gC(0):uL(i,a);return{x:s.left+a.scrollLeft-l.x-d.x,y:s.top+a.scrollTop-l.y-d.y,width:s.width,height:s.height}}function mL(e){return"static"===JC(e).position}function vL(e,t){if(!jC(e)||"fixed"===JC(e).position)return null;if(t)return t(e);let r=e.offsetParent;return NC(e)===r&&(r=r.ownerDocument.body),r}function bL(e,t){const r=FC(e);if(BC(e))return r;if(!jC(e)){let t=eL(e);for(;t&&!YC(t);){if(DC(t)&&!mL(t))return t;t=eL(t)}return r}let o=vL(e,t);for(;o&&VC(o)&&mL(o);)o=vL(o,t);return o&&YC(o)&&mL(o)&&!GC(o)?r:o||function(e){let t=eL(e);for(;jC(t)&&!YC(t);){if(GC(t))return t;if(BC(t))return null;t=eL(t)}return null}(e)||r}var wL={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=NC(o),a=!!t&&BC(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=gC(1);const d=gC(0),u=jC(o);if((u||!u&&!n)&&(("body"!==PC(o)||WC(s))&&(l=QC(o)),u)){const e=cL(o);c=sL(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?gC(0):uL(s,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:r.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:NC,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?BC(t)?[]:gL(t,this._c):[].concat(r),o],s=hL(t,n[0],i);let a=s.top,l=s.right,c=s.bottom,d=s.left;for(let u=1;u<n.length;u++){const e=hL(t,n[u],i);a=hC(e.top,a),l=uC(e.right,l),c=uC(e.bottom,c),d=hC(e.left,d)}return{width:l-d,height:c-a,x:d,y:a}},getOffsetParent:bL,getElementRects:async function(e){const t=this.getOffsetParent||bL,r=this.getDimensions,o=await r(e.floating);return{reference:fL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=iL(e);return{width:t,height:r}},getScale:sL,isElement:DC,isRTL:function(e){return"rtl"===JC(e).direction}},yL=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:i,y:n,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:r,platform:o,elements:i}=e,n=await(null==o.isRTL?void 0:o.isRTL(i.floating)),s=bC(r),a=wC(r),l="y"===kC(r),c=AC.has(s)?-1:1,d=n&&l?-1:1,u=vC(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:g}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof g&&(p="end"===a?-1*g:g),l?{x:p*d,y:h*c}:{x:h*c,y:p*d}}(t,e);return s===(null==(r=a.offset)?void 0:r.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:i+l.x,y:n+l.y,data:{...l,placement:s}}}}},xL=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:i,platform:n}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=vC(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=kC(bC(i)),p=yC(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=mC(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=mC(f+u["y"===h?"top":"left"],f,f-u[e])}const m=l.fn({...t,[p]:g,[h]:f});return{...m,data:{x:m.x-r,y:m.y-o,enabled:{[p]:s,[h]:a}}}}}},kL=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:i,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...m}=vC(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=bC(i),b=kC(a),w=bC(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[_C(a)]:function(e){const t=_C(e);return[LC(e),t,LC(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=wC(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?MC:SC:t?SC:MC;case"left":case"right":return t?$C:TC;default:return[]}}(bC(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(LC)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),S=[];let M=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&S.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=wC(e),i=CC(e),n=xC(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=_C(s)),[s,_C(s)]}(i,s,y);S.push(L[e[0]],L[e[1]])}if(M=[...M,{placement:i,overflows:S}],!S.every(e=>e<=0)){var $,T;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===kC(t)||M.every(e=>kC(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}};let r=null==(T=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!r)switch(p){case"bestFit":{var _;const e=null==(_=M.filter(e=>{if(k){const t=kC(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:_[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},CL=(e,t,r)=>{const o=/* @__PURE__ */new Map,i={platform:wL,...r},n={...i.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:i="absolute",middleware:n=[],platform:s}=r,a=s.detectOverflow?s:{...s,detectOverflow:OC},l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:u}=IC(c,o,l),h=o,p=0;const g={};for(let f=0;f<n.length;f++){const r=n[f];if(!r)continue;const{name:m,fn:v}=r,{x:b,y:w,data:y,reset:x}=await v({x:d,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:g,rects:c,platform:a,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=w?w:u,g[m]={...g[m],...y},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),({x:d,y:u}=IC(c,h,l))),f=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:g}})(e,t,{...i,platform:n})},LL=po("<button><!> New</button>"),SL=po('<div><button data-fubi-message-show-comments-button=""><!> <p class="whitespace-nowrap text-sm/none"> </p></button> <!></div>');ao(["click"]);var ML=po('<div class="absolute top-0 left-0 pointer-events-none z-[calc(var(--infinity,2147479000))]"><div></div> <button><!></button></div> <div class="fixed top-0 left-0 pointer-events-none z-[calc(var(--infinity,2147479000))]"><!></div> <div class="fixed top-0 left-0 pointer-events-none z-[calc(var(--infinity,2147479000))]"><!></div>',1);ao(["click"]);var $L=po("<button><div><!></div> <div><!></div></button>"),TL=po('<div class="py-8 text-center text-sm text-neutral-500">No elements</div>'),_L=po('<div class="flex flex-col gap-2"></div>'),EL=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="overflow-y-auto overflow-x-auto flex-1 p-6 flex flex-col gap-2" data-fubi-tree-scroll=""><!> <button class="flex items-center gap-0 rounded-[12px] h-34 pl-6 pr-16 mt-8 shrink-0 text-[15px] bg-sky-950/80 android:bg-sky-950 backdrop-blur-lg android:backdrop-blur-none text-sky-500 active:bg-sky-900/80 transition-colors glass-shadow sticky bottom-2 left-2 z-10 w-auto self-start select-none duration-75 disabled:pointer-events-none disabled:opacity-30 disabled:grayscale"><!> <span>Level up</span></button></div>',1),IL=po("<!> <!>",1);ao(["click"]);var OL=po('<div class="w-48"></div>'),AL=po('<button class="size-48 flex-center rounded-full active:bg-white/20 text-neutral-300"><!></button>'),zL=po('<button class="h-48 rounded-full px-16 gap-8 active:bg-white/20 text-white flex-center font-medium text-center text-[18px]/none"><!> <p class="whitespace-nowrap">Re-attach</p></button>'),PL=po('<div class="flex-center gap-8"><!> <!></div>'),FL=po('<div class="text-sm/none h-24 flex-center px-8 text-white">Tap the element to re-attach</div>'),NL=po('<button class="size-32 flex-center rounded-full active:bg-white/20 text-neutral-300"><!></button>'),HL=po('<div class="flex-center gap-8"><!> <!></div>'),DL=po('<button><!> <p class="ml-8 whitespace-nowrap pr-10"> </p></button>'),jL=po("<div><!></div>"),RL=po('<button class="h-48 rounded-full pl-14 pr-24 gap-8 active:bg-white/20 text-white flex-center font-medium text-center text-[18px]/none"><!> <p class="whitespace-nowrap"> </p></button>'),WL=po('<div class="flex rounded-full"><!></div>'),VL=po('<p class="ml-8 whitespace-nowrap pr-10">Comment</p>'),BL=po('<button class="h-48 rounded-full px-14 active:bg-white/20 text-white flex-center font-medium text-center text-[18px]/none"><!> <!></button>'),UL=po("<!> <!>",1),ZL=po("<!> <!>",1),qL=po('<div class="text-sm/none h-24 flex-center px-8 text-white">Tap to select element</div>'),KL=po('<div class="absolute-center pointer-events-none"><!></div>'),GL=po('<!> <div class="h-px w-24 rounded-full bg-white/15 mb-8 mt-4 mx-auto"></div> <!> <!> <!>',1),XL=po('<button class="size-48 flex-center active:bg-white/20 rounded-full relative"><div><!></div> <div><!></div> <div><!></div></button>'),YL=po('<div class="fixed inset-0 bottom-8 top-auto px-8 flex z-[calc(var(--infinity,2147490000))]" data-fubi-ignore-all=""><!> <div class="flex-1 flex-center"><!></div> <div class="size-52 relative shrink-0 justify-end items-center flex flex-col gap-6"><!> <!></div></div> <div class="fixed inset-x-0 z-[calc(var(--infinity,2147490000))] p-8 pointer-events-none" data-fubi-ignore-all=""><!></div>',1);ao(["click"]);var JL=po("<!> <!>",1),QL=po("<!> <!>",1),eS=po("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function tS(e,t){ue(t,!0);const r=Vr(()=>(e=>{const{projectId:t,options:r,wrapper:o}=e,i="demo"===t,n={pb:i?Bn(!1!==r?.persist):new In(Kx,new nn("fubi_auth")),project:new Ss(t),team:new Es,elements:new ux,locator:new Tx,win:new Ws,sheet:new Gs,router:new Qy,auth:new Ms,folders:new Is,pages:new Os,events:new $s,comments:new sx,domains:new cx,toolbar:new Ts(o),keys:new _s,dom:new As,environment:new Xs,hover:new tx,picker:new _x,bus:new Ix,status:new cs,tracer:new Fx,modals:new Nx,meta:new Hx,can:new Dx,analysis:new jx,inputs:new Rx,settings:new Wx,resolution:new Pb,error:new Vx,media:new Ux};return Object.values(n).forEach(e=>{e._inject&&e._inject(n)}),Gx.ok("All modules initialized."),{modules:n,start:()=>{Object.values(n).forEach(e=>{e.start&&e.start?.()});const e={version:"1.0.3-beta.17",bugReport:async(e="Console-triggered bug report")=>{const t=await qx(n,{type:"bug",description:e});return Gx.ok(`Bug report submitted: ${t.id}`),t}};window.fubi=i?{...e,modules:n}:e,i&&Gx.warn("App exposed: window.fubi (+ modules)")},hide:()=>{Object.keys(localStorage).filter(e=>e.startsWith("fubi_")).forEach(e=>localStorage.removeItem(e)),bs(),document.getElementById("fubi-shadow-root")?.remove(),document.getElementById("fubi-global-styles")?.remove()}}})({projectId:t.projectId,wrapper:t.wrapper}));de("app",r),Zi(()=>r.start()),function(e,t){var r;ue(t,!0),r={defaultPortalTo:wa(()=>t.defaultPortalTo),defaultLocale:wa(()=>t.defaultLocale)},Zl.set(new ql(Zl.getOr(null),r));var o=vo();Ro(At(o),()=>t.children??g),bo(e,o),he()}(e,{get defaultPortalTo(){return t.wrapper},children:(e,t)=>{var o=vo();Wo(At(o),()=>Ip,(e,t)=>{t(e,{children:(e,t)=>{var o=eS(),i=At(o);!function(e,t){ue(t,!0);const{resolution:r,modals:o,win:i}=Zx();o.register("resolution");let n=Qe(()=>r.width===r.current.width),s=Qe(()=>r.height===r.current.height);const a=e=>{e||(setTimeout(()=>{i.uiOpened=!1},0),r.hide())};var l=vo();Wo(At(l),()=>Qh,(e,t)=>{t(e,{onOpenChange:a,get open(){return o.modals.resolution},set open(e){o.modals.resolution=e},children:(e,t)=>{var o=vo();Wo(At(o),()=>Xl,(e,t)=>{t(e,{children:(e,t)=>{var o=qk(),i=At(o);{const e=(e,t)=>{var o=vo(),i=At(o),a=e=>{var o=Uk(),i=At(o);Si(i,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147490000))] bg-black/80"}));var a=zt(i,2);er(()=>{ci(a,1,ni(["pointer-events-none fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147490000))] will-change-[width,height] ease-in-out-cubic duration-400 transition-[width,height] border-[0.5px] outline-[0.5px] outline-white/30",jr(n)&&jr(s)?"border-green-500/80 bg-green-500/10":"border-indigo-500/80 bg-indigo-500/10"])),ui(a,`width: ${r.width}px; height: ${r.height}px;`)}),Qo(3,i,()=>ea,()=>({duration:150})),Qo(3,a,()=>ia,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};_o(i,e=>{t?.().open&&e(a)}),bo(e,o)};Wo(i,()=>bd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var a=zt(i,2);{const e=(e,t)=>{var o=vo(),i=At(o),a=e=>{var o=Zk();Si(o,()=>({...t?.().props,class:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147490000))] outline-none flex-center flex-col gap-16 whitespace-nowrap","data-fubi-ignore-all":!0}));var i=zt(Ot(o),2),a=Ot(i),l=zt(Ot(a),2),c=Ot(l),d=Ot(c,!0);q(c);var u=zt(c,2),h=Ot(u,!0);q(u),q(l),q(a);var p=zt(a,2),g=zt(Ot(p),2),f=Ot(g),m=Ot(f,!0);q(f);var v=zt(f,2),b=Ot(v,!0);q(v),q(g),q(p),q(i),Cf(zt(i,2),{get icon(){return Wf},class:"glass bg-neutral-800/80",onclick:()=>r.hide()}),q(o),er(()=>{ci(c,1,ni([jr(n)&&"text-green-500"])),ko(d,r.width),ci(u,1,ni([jr(s)&&"text-green-500"])),ko(h,r.height),ci(f,1,ni([jr(n)&&"text-green-500"])),ko(m,r.current.width),ci(v,1,ni([jr(s)&&"text-green-500"])),ko(b,r.current.height)}),Qo(3,o,()=>ia,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};_o(i,e=>{t?.().open&&e(a)}),bo(e,o)};Wo(a,()=>ip,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,child:e,$$slots:{child:!0}})})}bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,l),he()}(i,{});var n=zt(i,2);!function(e){ue({},!0);const{picker:t,folders:r,pb:o}=Zx(),i=[{id:"poll",label:"poll",description:"Create a poll"},{id:"code",label:"code",description:"Insert code block"}];function n(e){return[e.firstName,e.lastName].filter(Boolean).join(" ")}Kt(()=>{if(!t.type)return void t.setItems([]);const e=t.query.toLowerCase();if("mention"===t.type){const i=e?r.users.filter(t=>n(t).toLowerCase().includes(e)):r.users;t.setItems(i.map(e=>{return{id:e.id,label:n(e),data:{avatar:(t=e,t.avatar?o.files.getURL(t,t.avatar,{thumb:"48x48"}):null),email:e.email,initials:e.firstName?.charAt(0)||e.email?.charAt(0)||"?"}};var t}))}else{const r=e?i.filter(t=>t.label.toLowerCase().includes(e)):i;t.setItems(r.map(e=>({id:e.id,label:e.label,data:{description:e.description}})))}});var s=vo();Wo(At(s),()=>up,(e,r)=>{r(e,{get open(){return t.opened},set open(e){t.opened=e},children:(e,r)=>{var o=vo();Wo(At(o),()=>Xl,(e,r)=>{r(e,{children:(e,r)=>{var o=vo();Wo(At(o),()=>Xh,(e,r)=>{r(e,{get customAnchor(){return t.anchorElement},class:"fubi-picker z-[calc(var(--infinity,2147490000)+3)] min-w-276 rounded-12 bg-neutral-800 backdrop-blur-sm android:backdrop-blur-none glass-shadow rounded-[12px] p-4 superellipse shadow-xl max-h-250 overflow-auto",sideOffset:0,align:"start",side:"top",interactOutsideBehavior:"ignore",onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=Tk(),o=Ot(r,!0);q(r),er(()=>ko(o,"mention"===t.type?"No users found":"No commands found")),bo(e,r)},s=e=>{var r=Pk();Po(r,23,()=>t.items,e=>e.id,(e,r,o)=>{var i=zk();Li(i,"tabindex",-1);var n=Ot(i),s=e=>{var t=Ik(),o=At(t),i=e=>{var t=_k();er(()=>Li(t,"src",jr(r).data.avatar)),bo(e,t)},n=e=>{var t=Ek(),o=Ot(t,!0);q(t),er(()=>ko(o,jr(r).data?.initials)),bo(e,t)};_o(o,e=>{jr(r).data?.avatar?e(i):e(n,!1)});var s=zt(o,2),a=Ot(s),l=Ot(a,!0);q(a);var c=zt(a,2),d=Ot(c,!0);q(c),q(s),er(()=>{ko(l,jr(r).label),ko(d,jr(r).data?.role)}),bo(e,t)},a=e=>{var t=Ak(),o=zt(At(t),2),i=Ot(o),n=Ot(i);q(i);var s=zt(i,2),a=e=>{var t=Ok(),o=Ot(t,!0);q(t),er(()=>ko(o,jr(r).data.description)),bo(e,t)};_o(s,e=>{jr(r).data?.description&&e(a)}),q(o),er(()=>ko(n,`/${jr(r).label??""}`)),bo(e,t)};_o(n,e=>{"mention"===t.type?e(s):e(a,!1)}),q(i),er(()=>ci(i,1,"w-full flex items-center gap-12 p-4 rounded-[8px] superellipse text-left transition-colors\n\t\t\t\t\t\t\t\t"+(jr(o)===t.selectedIndex?"bg-sky-500/10 text-white":"text-neutral-400 hover:bg-sky-500/10 hover:text-white"))),so("pointerdown",i,e=>e.preventDefault()),so("click",i,()=>t.confirm(jr(r))),no("mouseenter",i,()=>t.selectedIndex=jr(o)),bo(e,i)}),q(r),bo(e,r)};_o(i,e=>{0===t.items.length?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,s),he()}(n);var s=zt(n,2);!function(e){ue({},!0);const{hover:t,environment:r}=Zx();var o=vo(),i=At(o),n=e=>{var r=Fk(),o=Ot(r);Ag(o,{get icon(){return wg},className:"size-18 text-white"});var i=zt(o,4);Ag(Ot(i),{get icon(){return gg},className:"size-16"}),q(i),q(r),so("click",i,()=>t.cancelReattach()),Qo(3,r,()=>ta,()=>({y:-8,duration:200,easing:js})),bo(e,r)};_o(i,e=>{t.reattaching&&!r.touch&&e(n)}),bo(e,o),he()}(s);var a=zt(s,2);!function(e,t){ue(t,!0);const{can:r,hover:o,environment:i}=Zx();let n=Qe(()=>Math.max(0,o?.highlightPos?.current?.w??0)),s=Qe(()=>Math.max(0,o?.highlightPos?.current?.h??0)),a=Qe(()=>o.highlightCoords.y-o.scroll.y),l=Qe(()=>jr(a)<40),c=Qe(()=>jr(l)&&jr(s)<60);var d=$k(),u=Ot(d),h=e=>{var t=bk();Ag(Ot(t),{get icon(){return Jm},className:"size-24 absolute-center"}),q(t),Qo(1,t,()=>ea,()=>({delay:100})),bo(e,t)};_o(u,e=>{r.displayInvisibleIcon&&e(h)});var p=zt(u,2);ui(p,"\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\twill-change: stroke, fill;\n\t\t\ttransition: stroke 0.2s ease-in-out, fill 0.2s ease-in-out;\n\t\t");var g=Ot(p);q(p);var f=zt(p,2),m=e=>{var t=Mk(),r=Ot(t),i=e=>{vk(e,{bg:"bg-neutral-800/80",children:(e,t)=>{var r=wk();Ag(At(r),{get icon(){return gg},className:"size-18 text-neutral-400"}),K(2),bo(e,r)},$$slots:{default:!0}})},n=e=>{var t=Sk(),r=At(t);vk(r,{children:(e,t)=>{var r=yk(),i=At(r);!function(e,t){let r=Ui(t,"size",3,"size-18"),o=Ui(t,"color",3,"text-neutral-400");var i=ny();Oo(Ot(i),()=>t.Icon,e=>{var i=vo(),n=At(i),s=e=>{{let i=Qe(()=>`${r()} ${o()}`);Ag(e,{get icon(){return t.Icon},get className(){return jr(i)}})}};_o(n,e=>{t.Icon&&e(s)}),bo(e,i)}),q(i),bo(e,i)}(i,{color:"text-sky-500",get Icon(){return o.tagInfo.icon}});var n=zt(i,2),s=Ot(n,!0);q(n),er(()=>ko(s,o.tagInfo.name)),bo(e,r)},$$slots:{default:!0}});var i=zt(r,2),n=e=>{vk(e,{bg:"bg-amber-950/80",children:(e,t)=>{var r=xk();Ag(At(r),{get icon(){return lg},className:"size-18 text-orange-400"}),K(2),bo(e,r)},$$slots:{default:!0}})};_o(i,e=>{o.info?.visible||e(n)});var s=zt(i,2),a=e=>{vk(e,{vertical:!0,children:(e,t)=>{var r=Lk(),i=Ot(r),n=e=>{var t=kk(),r=Ot(t);Ag(r,{get icon(){return qm},className:"size-14 text-neutral-400"});var i=zt(r,2),n=Ot(i,!0);q(i),q(t),er(()=>ko(n,o.info.fontSize)),bo(e,t)};_o(i,e=>{o.info.fontSize&&e(n)});var s=zt(i,2),a=e=>{var t=Ck(),r=Ot(t),i=zt(r,2),n=Ot(i,!0);q(i),q(t),er(()=>{ui(r,`background: ${o.info.bgColor};`),ko(n,o.info.bgColor)}),bo(e,t)};_o(s,e=>{o.info.bgColor&&e(a)}),q(r),bo(e,r)},$$slots:{default:!0}})};_o(s,e=>{o.isIsolated&&(o.info?.fontSize||o.info?.bgColor)&&e(a)}),bo(e,t)};_o(r,e=>{"ignored"===o.mode.type?e(i):e(n,!1)}),q(t),er(()=>{ci(t,1,ni(["absolute pointer-events-none flex items-end gap-8 top-0 left-0 transition-[translate] duration-300 ease-out-cubic will-change-[translate]",jr(c)?"origin-top-left":jr(l)?"origin-top-left translate-y-8 translate-x-8":"origin-bottom-left -translate-y-[calc(100%+4px)]"])),ui(t,jr(c)?`translate: 0 ${jr(s)+4}px;`:"")}),Qo(3,t,()=>ia,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,t)};_o(f,e=>{o.current&&e(m)}),q(d),er(()=>{ui(d,`\n\t\twidth: ${jr(n)+2}px;\n\t\theight: ${jr(s)+2}px;\n\t\ttransform: translate(${o?.highlightPos?.current?.x-1}px, ${o?.highlightPos?.current?.y-1}px);\n\t\twill-change: width, height, transform;\n\t\ttransition: opacity 0.1s ease-in-out;\n\t`),ci(d,1,ni(["pointer-events-none absolute top-0 left-0 transition-opacity duration-200 z-[calc(var(--infinity,2147490000))]",!o?.highlightVisible||i.touch&&!o.current?"opacity-0":"opacity-100"])),ci(p,0,ni(["absolute top-0 left-0 pointer-events-none",ex[o.highlightColor]])),Li(g,"width",jr(n)),Li(g,"height",jr(s)),Li(g,"rx",o?.highlightPos?.current?.r<4?4:o?.highlightPos?.current?.r),ui(g,`\n\t\t\t\tstroke-dasharray: ${"idle"===o?.mode?.type?"8 0":o?.isIsolated||!o?.info?.visible?"8 6":"8 0"}\n\t\t\t`)}),bo(e,d),he()}(a,{});var l=zt(a,2);!function(e){ue({},!0);const{hover:t,elements:r}=Zx(),o=Qe(()=>t.reattachConfirm),i=Qe(()=>jr(o)?r.getCoords(jr(o).el):null);var n=vo(),s=At(n),a=e=>{var t=vo();Oo(At(t),()=>jr(o).n,e=>{var t=Nk(),r=Ot(t);q(t),er(()=>{ui(t,`width: ${jr(i).w}px; height: ${jr(i).h}px; transform: translate(${jr(i).x}px, ${jr(i).y}px);`),ui(r,`\n\t\t\t\t\tborder-radius: ${jr(i).r<4?4:jr(i).r}px;\n\t\t\t\t\tborder: 2px solid var(--fubi-hover-thread-color, #6366f1);\n\t\t\t\t\tbackground: color-mix(in srgb, var(--fubi-hover-thread-color, #6366f1) 12%, transparent);\n\t\t\t\t`)}),Qo(1,r,()=>ia,()=>({duration:220,start:.96,opacity:0,easing:Hs})),Qo(2,r,()=>ia,()=>({duration:440,start:1.06,opacity:0,easing:js})),bo(e,t)}),bo(e,t)};_o(s,e=>{jr(o)&&jr(i)&&e(a)}),bo(e,n),he()}(l);var c=zt(l,2),d=e=>{!function(e,t){ue(t,!0);const{win:r,modals:o,toolbar:i,hover:n,auth:s,pages:a,team:l,project:c,folders:d,router:u,domains:h,comments:p}=Zx(),g=[["Auth",s],["Project",c],["Team",l],["Domains",h],["Folders",d],["Pages",a],["Comments",p]],f=Qe(()=>[{name:"Router",values:[["previous",u.previous],["current",u.current],["next",u.next]]},{name:"Pages",values:[["Ready",a.ready],["Valid",a.valid],["Domains",h?.data?.length],["Pages data",a?.data?.length],["Page isNew",a.isNew]]},{name:"Window",values:[["uiOpened",r?.uiOpened]]},{name:"Modal Edit",values:[["open",o.isOpen("edit-page")]]},{name:"Window",values:[["contentScroll",r?.contentScrollState?.y],["inside",n?.insideFubi]]},{name:"Hover",values:[["enabled",n?.enabled],["mode",n?.mode.type],["selector",n?.mode?.selector],["cmdPressed",n?.cmdKeyPressed],["el visible",n?.info?.visible],["currentTag",n?.current?.tagName],["emptyHover",n?.emptyHover],["highlightVisible",JSON.stringify(n?.highlightVisible)],["isolated",n?.isIsolated],["inside",n?.insideFubi],["coords",[n?.highlightCoords.y,n?.highlightCoords.x].join(", ")],["scroll",JSON.stringify(n?.scroll)]]}]);var m=Qx(),b=zt(Ot(m),2);Po(b,17,()=>g,Ao,(e,t)=>{var r=Qe(()=>v(jr(t),2));let o=()=>jr(r)[1];var i=Xx(),n=Ot(i),s=zt(n);q(i),er(()=>{ci(n,1,ni(["size-8 rounded-full glass",o()?.ready?"bg-green-500":o()?.loading?"bg-orange-500":"bg-white/10"])),ko(s,` ${jr(r)[0]??""}`)}),bo(e,i)}),Po(zt(b,2),17,()=>jr(f),Ao,(e,t)=>{var r=Jx(),o=Ot(r),i=Ot(o,!0);q(o),Po(zt(o,2),17,()=>jr(t).values,Ao,(e,t)=>{var r=Qe(()=>v(jr(t),2)),o=Yx(),i=Ot(o),n=zt(i),s=Ot(n,!0);q(n),q(o),er(()=>{ko(i,`${jr(r)[0]??""}: `),ko(s,jr(r)[1])}),bo(e,o)}),q(r),er(()=>ko(i,jr(t).name)),bo(e,r)}),q(m),bo(e,m),he()}(e,{})},u=Qe(()=>new URLSearchParams(window.location.search).has("fubi-debug"));_o(c,e=>{jr(u)&&e(d)});var h=zt(c,2),p=e=>{var t=JL(),r=At(t);!function(e){ue({},!0);const{can:t,hover:r,win:o,sheet:i,toolbar:n,environment:s,team:a}=Zx();var l=fk(),c=Ot(l);pk(c,{}),vy(zt(c,4),{animate:"width",class:"flex items-center justify-end gap-2",children:(e,n)=>{const l=Qe(()=>s.touch?i:o);var c=gk(),d=At(c),u=e=>{ak(e,{get icon(){return lg},iconSize:"size-22",variant:"red",active:!0,notify:!0,label:"Payment past due",tooltip:{text:"Payment past due"},onclick:()=>window.open(`${Ls}/${a.current.slug}/billing`,"_blank","noopener,noreferrer")})};_o(d,e=>{a.pastDue&&a.current?.slug&&"guest"!==a.role&&e(u)});var h=zt(d,2),p=e=>{ak(e,{get icon(){return vg},iconSize:"size-26",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return r.enabled},onclick:()=>r.toggle()})};_o(h,e=>{t.enableHover&&e(p)});var g=zt(h,2);{let e=Qe(()=>({text:jr(l).opened?"Close Inbox":"Open Inbox",key:"M"}));ak(g,{get active(){return jr(l).opened},get icon(){return kg},variant:"sky",label:"Open inbox",get tooltip(){return jr(e)},onclick:()=>jr(l).toggle()})}var f=zt(g,2),m=e=>{uk(e,{})};_o(f,e=>{t.showToolbarMenu&&e(m)}),bo(e,c)},$$slots:{default:!0}}),q(l),er(()=>ci(l,1,ni(["glass-shadow h-(--fubi-toolbar-height) superellipse bg-neutral-900/90 android:bg-neutral-900 backdrop-blur android:backdrop-blur-none px-4 touch:px-6 overflow-clip fixed bottom-4 left-1/2 -translate-x-1/2 rounded-[18px] flex items-center justify-end shadow-lg origin-bottom-right text-white","z-[calc(var(--infinity,2147490000))]","transition-[scale,translate,width] duration-600 ease-out-expo origin-bottom-right","mouse:right-16 mouse:left-auto mouse:bottom-16 mouse:translate-x-0",!n.visible&&"translate-y-[calc(100%+var(--fubi-toolbar-bottom))] scale-80"]))),bo(e,l),he()}(r),function(e,t){ue(t,!0);const{environment:r,win:o,modals:i}=Zx();Kt(()=>{o.el&&(i.portalTarget=o.el)});var n=vo(),s=At(n),a=e=>{var t=ik(),r=Ot(t);!function(e){ue({},!0);const{win:t}=Zx();var r=ek(),o=zt(Ot(r),2);q(r),er(()=>{ci(r,1,ni(["touch:hidden absolute top-0 left-0 group/resize flex-center h-32 w-16 -translate-x-[40%] -translate-y-[40%] cursor-nwse-resize! z-[calc(var(--infinity,2147490000))] rotate-45",t.resizing?.active?"opacity-100":"group-hover/window:opacity-50 hover:opacity-100 opacity-0","transition-opacity ease-out-cubic duration-150 will-change-[opacity]"])),ci(o,1,ni(["size-4 rounded-full pointer-events-none outline-[0.5px] outline-black/20",t.resizing.active?"bg-sky-500 scale-170":"bg-white scale-0 group-active/resize:bg-sky-500 group-active/resize:scale-170 group-hover/resize:scale-200","transition-scale ease-out-cubic duration-150 will-change-[scale]"]))}),so("pointerdown",r,function(...e){t.resize.start?.apply(this,e)}),bo(e,r),he()}(r),ok(zt(r,2),{}),q(t),Di(t,e=>o.el=e,()=>o?.el),er(()=>{ui(t,`width: ${o.resizeWidth??""}px; height: ${o.resizeHeight??""}px;`),ci(t,1,ni(["touch:hidden window fixed text-white","z-[calc(var(--infinity,2147490000))] overscroll-contain","left-auto top-auto right-(--fubi-window-right) bottom-(--fubi-window-bottom)","max-w-400 max-h-[calc(100dvh-var(--fubi-toolbar-height)-32px)]","origin-bottom-right rounded-(--fubi-rounded-mouse) superellipse","transition-[opacity,scale,outline] will-change-[opacity,scale,outline] group/window",o.resizing?.active?"outline outline-sky-500":"outline-0 outline-sky-500/0",o.opened?"ease-out":"duration-200 ease opacity-0 scale-90 pointer-events-none"]))}),bo(e,t)};_o(s,e=>{r.touch||e(a)}),bo(e,n),he()}(zt(r,2),{}),bo(e,t)},f=e=>{var t=QL(),r=At(t);(function(e,t){ue(t,!0);const{toolbar:r,can:o,hover:i,win:n,sheet:s,environment:a,inputs:l,router:c,meta:d}=Zx();let u=Qe(()=>"disabled"!==i.mode.type),h=Qe(()=>"tracking"===i.mode.type||"focused"===i.mode.type),p=Qe(()=>!!i.reattaching),g=Qe(()=>"focused"===i.mode.type),f=Qe(()=>i.isIsolated),m=Qe(()=>i.info?.threads?.length),v=ut(0),b=ut(!1),w=ut(!0),y=ut(!1);Kt(()=>{r.opened&&pt(w,!1)});let x,k=ut(null),C=ut(!1),L=ut(!1);const S=e=>e?["transition-[scale] will-change-[scale]",jr(C)?"scale-115 duration-200 ease-out-cubic":jr(L)?"duration-500 ease-in-out-cubic":"duration-300 ease-out-cubic"]:"";Kt(()=>{if("tracking"!==i.mode.type)return pt(k,null),pt(C,!1),pt(L,!1),void clearTimeout(x);const e=i.mode.element;jr(k)&&jr(k)!==e&&(pt(C,!0),pt(L,!1),clearTimeout(x),x=setTimeout(()=>{pt(C,!1),pt(L,!0)},300)),pt(k,e,!0)}),Zi(()=>{pt(y,!0);const e=setTimeout(()=>{pt(w,!1)},1200),t=window.visualViewport;if(!t)return()=>{clearTimeout(e)};const r=e=>{jr(v),pt(v,window.innerHeight-t.height-t.offsetTop)};return t.addEventListener("resize",r),t.addEventListener("scroll",r),()=>{t.removeEventListener("resize",r),t.removeEventListener("scroll",r),clearTimeout(e)}});const M=()=>{us(),i.enable(),"focused"===i.mode.type&&(i.mode={type:"tracking",element:i.mode.element,info:i.mode.info}),pt(b,!0),setTimeout(()=>{pt(b,!1)},1e3)},$=()=>{if("tracking"!==i.mode.type&&"focused"!==i.mode.type)return;us();const e=i.mode.element;i.isolate(e,{scroll:!1}),l.show("new-comment"),l.focusForTouch("new-comment",e)},T=()=>{"tracking"!==i.mode.type&&"focused"!==i.mode.type||(i.isolate(i.mode.element,{scroll:!1}),s.open(),c.goto("isolation"))},_=()=>{us(),i.confirmReattach()},E=()=>{i.cancelReattach()};var I=YL(),O=At(I),A=Ot(O),z=e=>{!function(e){ue({},!0);const{hover:t,elements:r,dom:o,bus:i}=Zx();let n=ut(!1),s=ut(wt([])),a=ut("forward");Kt(()=>i.on("sheet:opened",()=>{pt(n,!1)}));let l=Qe(()=>jr(s).length>0&&"tracking"===t.mode.type?r.getLevelNodes(jr(s).at(-1).parentEl,t.mode.element):[]);Kt(()=>{if(!jr(n)||"tracking"!==t.mode.type)return void pt(s,[],!0);const e=t.mode.element,o=r.getPathTo(e);if(0===o.length)return;const i=[];for(let t=0;t<o.length;t++){const e=o[t].parentElement;e&&(i.length>0&&i.at(-1).parentEl===e||i.push({parentEl:e,label:r.getNodeName(o[t])}))}0!==i.length&&(pt(a,"forward"),pt(s,i,!0))});const c=e=>{if(e.ignored)return;t.handleHoverElement(e.el,0),o.scrollToElement(e.el);const i=jr(s).at(-1)?.parentEl;if(!i)return;const n=e.el.parentElement;n&&n!==i&&(pt(a,"forward"),pt(s,[...jr(s),{parentEl:n,label:r.getNodeName(n)}],!0))},d=()=>{if(jr(s).length<=1)return;us(),pt(a,"back");const e=jr(s).at(-1);pt(s,jr(s).slice(0,-1),!0),t.handleHoverElement(e.parentEl,0),o.scrollToElement(e.parentEl)};var u=vo();Wo(At(u),()=>up,(e,t)=>{t(e,{get open(){return jr(n)},set open(e){pt(n,e,!0)},children:(e,t)=>{var r=IL(),o=At(r);{const e=(e,t)=>{fy(e,{rounded:"rounded-full",bg:"bg-neutral-800/80",class:"size-48",children:(e,r)=>{var o=$L();Si(o,()=>({...t?.().props,class:"size-48 flex-center rounded-full active:bg-white/20 text-neutral-400 relative"}));var i=Ot(o);Ag(Ot(i),{get icon(){return Bm},className:"size-24"}),q(i);var s=zt(i,2);Ag(Ot(s),{get icon(){return gg},className:"size-24"}),q(s),q(o),er(()=>{ci(i,1,ni(["absolute-center size-48 flex-center pointer-events-none","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",jr(n)?"scale-50 opacity-0":""])),ci(s,1,ni(["absolute-center size-48 flex-center pointer-events-none text-white","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",jr(n)?"":"scale-50 opacity-0"]))}),bo(e,o)},$$slots:{default:!0}})};Wo(o,()=>Jh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Wo(zt(o,2),()=>Xl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Wo(At(r),()=>Xh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147490000))] relative min-w-220 max-w-280 max-h-200 overflow-clip rounded-[18px] bg-neutral-800/90 android:bg-neutral-800 backdrop-blur-lg android:backdrop-blur-none superellipse flex flex-col",side:"top",align:"start",sideOffset:8,interactOutsideBehavior:"ignore",trapFocus:!1,"data-fubi-ignore-all":!0,onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(e,t)=>{var r=EL(),o=zt(At(r),2),i=Ot(o),n=e=>{bo(e,TL())},u=e=>{var t=vo();Oo(At(t),()=>jr(s).length,e=>{var t=_L();Po(t,21,()=>jr(l),e=>e.el,(e,t)=>{Xv(e,{get node(){return jr(t)},onselect:c})}),q(t),Qo(1,t,()=>ta,()=>({x:"forward"===jr(a)?80:-80,duration:180,easing:js})),bo(e,t)}),bo(e,t)};_o(i,e=>{0===jr(l).length?e(n):e(u,!1)});var h=zt(i,2);Ag(Ot(h),{get icon(){return ef},strokeWidth:2,className:"size-20"}),K(2),q(h),q(o),er(()=>h.disabled=jr(s).length<=1),so("click",h,d),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),bo(e,u),he()}(e)},P=e=>{bo(e,OL())};_o(A,e=>{jr(h)&&i.enabled&&!d.visible?e(z):e(P,!1)});var F=zt(A,2),N=Ot(F),H=e=>{var t=vo(),r=At(t),o=e=>{var t=PL(),r=Ot(t);fy(r,{rounded:"rounded-full",bg:"bg-neutral-800/80 android:bg-neutral-800",class:"backdrop-blur-lg android:backdrop-blur-none",children:(e,t)=>{var r=AL();Ag(Ot(r),{get icon(){return gg},className:"size-22"}),q(r),so("click",r,E),bo(e,r)},$$slots:{default:!0}});var o=zt(r,2);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none",S(!0)]);fy(o,{rounded:"rounded-full",bg:"bg-sky-600/80 android:bg-sky-600",get class(){return jr(e)},children:(e,t)=>{var r=zL();Ag(Ot(r),{get icon(){return wg},className:"size-20 text-white"}),K(2),q(r),so("click",r,_),bo(e,r)},$$slots:{default:!0}})}q(t),Qo(3,t,()=>ia,()=>({start:.6,easing:js,duration:300})),bo(e,t)},i=e=>{var t=HL(),r=Ot(t);fy(r,{rounded:"rounded-full",bg:"bg-neutral-800/80 android:bg-neutral-800",class:"backdrop-blur-lg android:backdrop-blur-none p-4",children:(e,t)=>{bo(e,FL())},$$slots:{default:!0}}),fy(zt(r,2),{rounded:"rounded-full",bg:"bg-neutral-800/80 android:bg-neutral-800",class:"backdrop-blur-lg android:backdrop-blur-none",children:(e,t)=>{var r=NL();Ag(Ot(r),{get icon(){return gg},className:"size-18"}),q(r),so("click",r,E),bo(e,r)},$$slots:{default:!0}}),q(t),Qo(3,t,()=>ia,()=>({start:.6,easing:js,duration:300})),bo(e,t)};_o(r,e=>{jr(h)?e(o):e(i,!1)}),bo(e,t)},D=e=>{var t=ZL(),r=At(t),o=e=>{var t=jL(),r=Ot(t);{let e=Qe(()=>jr(b)?"bg-lime-400":"bg-lime-950");fy(r,{rounded:"rounded-full",get bg(){return jr(e)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-300",children:(e,t)=>{var r=DL(),o=Ot(r);{let e=Qe(()=>"size-24 "+(jr(b)?"text-lime-950":"text-lime-400"));Ag(o,{get icon(){return vg},get className(){return jr(e)}})}var i=zt(o,2),n=Ot(i,!0);q(i),q(r),er(()=>{ci(r,1,ni(["h-48 rounded-full px-14 flex-center font-medium text-center text-[18px]/none",jr(b)?"text-lime-950":"text-white active:bg-lime-900"])),ko(n,jr(b)?"Enabled":"Enable")}),so("click",r,M),bo(e,r)},$$slots:{default:!0}})}q(t),er(()=>ci(t,1,ni(["absolute top-1/2 left-1/2 -translate-x-1/2 transition-[translate,scale,opacity] will-change-[translate,scale,opacity] duration-300 ease-out-cubic",jr(b)?"-translate-y-[calc(50%+100%+16px)] scale-80":"-translate-y-1/2"]))),Qo(3,t,()=>ia,()=>({start:.6,easing:js,duration:300})),bo(e,t)};_o(r,e=>{(jr(h)&&!i.enabled||jr(b))&&e(o)});var n=zt(r,2),s=e=>{var t=UL(),r=At(t),o=e=>{var t=WL(),r=Ot(t);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none mr-8",S(!0)]);fy(r,{rounded:"rounded-full",bg:"bg-indigo-600/80 android:bg-indigo-600",get class(){return jr(e)},children:(e,t)=>{var r=RL(),o=Ot(r);Ag(o,{get icon(){return bg},class:"size-20 text-white"});var i=zt(o,2),n=Ot(i);q(i),q(r),er(()=>ko(n,`${jr(m)??""}\n\t\t\t\t\t\t\t\t\t${jr(m)>1?"Comments":"Comment"}`)),so("click",r,T),Qo(3,r,()=>ia,()=>({start:.6,easing:js,duration:600})),bo(e,r)},$$slots:{default:!0}})}q(t),Qo(3,t,()=>oa,()=>({axis:"x",duration:300,delay:0,easing:js})),bo(e,t)};_o(r,e=>{jr(m)&&e(o)});var i=zt(r,2);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none",S(!jr(m))]);fy(i,{rounded:"rounded-full",bg:"bg-sky-600/80 android:bg-sky-600",get class(){return jr(e)},children:(e,t)=>{var r=BL(),o=Ot(r);Ag(o,{get icon(){return Sg},class:"size-20 text-white"});var i=zt(o,2),n=e=>{var t=VL();Qo(3,t,()=>oa,()=>({axis:"x",duration:400,easing:js})),bo(e,t)};_o(i,e=>{jr(m)||e(n)}),q(r),so("click",r,$),Qo(3,r,()=>ia,()=>({start:.6,easing:js,duration:300})),bo(e,r)},$$slots:{default:!0}})}bo(e,t)};_o(n,e=>{!i.enabled||jr(g)&&!i.enabled||e(s)}),bo(e,t)},j=e=>{var t=vo(),r=At(t),o=e=>{var t=KL();fy(Ot(t),{rounded:"rounded-full",bg:"bg-neutral-800/80 android:bg-neutral-800",class:"backdrop-blur-lg android:backdrop-blur-none p-4",children:(e,t)=>{bo(e,qL())},$$slots:{default:!0}}),q(t),bo(e,t)};_o(r,e=>{jr(u)&&!jr(f)&&e(o)}),bo(e,t)};_o(N,e=>{jr(p)?e(H):jr(h)?e(D,1):e(j,!1)}),q(F);var R=zt(F,2),W=Ot(R);{let e=Qe(()=>["flex flex-col justify-end gap-4 p-4 backdrop-blur-lg android:backdrop-blur-none",r.opened?"duration-300 ease-out-cubic":"opacity-0 scale-80 translate-y-1/4 pointer-events-none duration-200 ease-in","transition-[opacity,scale,translate] will-change-[opacity,scale,translate]"]);fy(W,{rounded:"rounded-[18px]",bg:"bg-neutral-900/90 android:bg-neutral-900",get class(){return jr(e)},children:(e,t)=>{const r=Qe(()=>a.touch?s:n);var l=GL(),c=At(l);pk(c,{});var d=zt(c,4),u=e=>{ak(e,{get icon(){return vg},iconSize:"size-26 touch:size-32",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};_o(d,e=>{o.enableHover&&e(u)});var h=zt(d,2);{let e=Qe(()=>({text:jr(r).opened?"Close Inbox":"Open Inbox",key:"M"}));ak(h,{get active(){return jr(r).opened},get icon(){return kg},iconSize:"size-24 touch:size-30",variant:"sky",label:"Open inbox",get tooltip(){return jr(e)},onclick:()=>jr(r).toggle()})}var p=zt(h,2),g=e=>{uk(e,{})};_o(p,e=>{o.showToolbarMenu&&e(g)}),bo(e,l)},$$slots:{default:!0}})}var V=zt(W,2),B=e=>{{let t=Qe(()=>r.opened||jr(w)?"bg-neutral-900/90 android:bg-neutral-900":i.enabled?"bg-lime-400":"bg-neutral-900/90 android:bg-neutral-900");fy(e,{rounded:"rounded-full",get bg(){return jr(t)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-1000",children:(e,t)=>{var o=XL(),n=Ot(o);Ag(Ot(n),{get icon(){return gg}}),q(n);var s=zt(n,2);Ky(Ot(s),{class:"h-24 shrink-0"}),q(s);var a=zt(s,2);Ag(Ot(a),{get icon(){return vg},class:"size-28"}),q(a),q(o),er(()=>{ci(n,1,ni(["absolute-center size-48 flex-center pointer-events-none text-white","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",r.opened?"":"scale-50 opacity-0"])),ci(s,1,ni(["absolute-center size-48 flex-center text-lime-300 pointer-events-none","transition-[rotate,scale,opacity] will-change-[rotate,scale,opacity] duration-1000 ease-out-cubic",jr(w)&&jr(y)?"":jr(w)?"scale-0 rotate-360 opacity-0":"scale-50 opacity-0 duration-200"])),ci(a,1,ni(["absolute-center size-48 flex-center pointer-events-none","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",i.enabled?"text-lime-950":"text-white",r.opened||jr(w)?"scale-50 opacity-0":""]))}),so("click",o,()=>r.toggle()),bo(e,o)},$$slots:{default:!0}})}};_o(V,e=>{jr(f)||e(B)}),q(R),q(O);var U=zt(O,2);let Z;ky(Ot(U),{id:"new-comment",placement:"top"}),q(U),er(()=>Z=ui(U,"",Z,{bottom:`${jr(v)??""}px`})),bo(e,I),he()})(r,{}),function(e){ue({},!0);const{sheet:t,modals:r,environment:o}=Zx();let i=ut(!o.android);t.snapPoints=[1],t.fadeFromIndex=1,Kt(()=>{t.el&&(r.portalTarget=t.el)}),Kt(()=>{o.android&&(t.isVisible&&!jr(i)&&pt(i,!0),t.isVisible||pt(i,!1))});var n=vo(),s=At(n),a=e=>{var r=Bk(),o=At(r);Di(o,e=>t.overlayEl=e,()=>t?.overlayEl);var n=zt(o,2),s=Ot(n),a=Ot(s),l=zt(a,2);q(s);var c=zt(s,2),d=Ot(c),u=e=>{ok(e,{})};_o(d,e=>{jr(i)&&e(u)}),q(c),Di(c,e=>t.el=e,()=>t?.el),q(n),Di(n,e=>t.drawerEl=e,()=>t?.drawerEl),K(2),er(()=>{ci(s,1,ni(["h-4 w-56 absolute left-1/2 -translate-x-1/2 top-8 z-10 flex","transition-[translate,color] duration-400 ease-out-cubic",t.willClose?"translate-y-24 text-rose-500":"text-neutral-700"])),ci(a,1,ni(["h-4 w-30 rounded-full will-change-transform origin-[28px_2px] -mr-2 bg-current","transition-[rotate] duration-200 ease-out-cubic",t.willClose?"rotate-15":""])),ci(l,1,ni(["h-4 w-30 rounded-full will-change-transform origin-[2px_2px] -ml-2 bg-current","transition-[rotate] duration-200 ease-out-cubic",t.willClose?"-rotate-15":""]))}),so("click",o,()=>t.close()),bo(e,r)};_o(s,e=>{o.touch&&t.isVisible&&e(a)}),bo(e,n),he()}(zt(r,2)),bo(e,t)};_o(h,e=>{r.modules.environment.touch?e(f,!1):e(p)});var m=zt(h,2);!function(e){ue({},!0);const{tracer:t}=Zx(),r="var(--fubi-hover-thread-color, #6366f1)";var o=vo(),i=At(o),n=e=>{var o=Hk(),i=Ot(o);Li(i,"stroke",r);var n=zt(i);Li(n,"fill",r);var s=zt(n);Li(s,"fill",r),q(o),er(()=>{ui(o,`\n\t\t\tleft: ${t.bounds.x??""}px;\n\t\t\ttop: ${t.bounds.y??""}px;\n\t\t\twidth: ${t.bounds.w??""}px;\n\t\t\theight: ${t.bounds.h??""}px;\n\t\t\toverflow: visible;\n\t\t`),Li(i,"d",t.bounds.d),Li(n,"cx",t.bounds.sx),Li(n,"cy",t.bounds.sy),Li(s,"cx",t.bounds.ex),Li(s,"cy",t.bounds.ey)}),bo(e,o)};_o(i,e=>{t.enabled&&!t.bounds.overlap&&(t.bounds.w>0||t.bounds.h>0)&&e(n)}),bo(e,o),he()}(m);var b=zt(m,2);!function(e,t){ue(t,!0);const{hover:r,domains:o,meta:i,modals:n,router:s}=Zx();n.register("meta");let a=ut(!1);Kt(()=>{i.shareImage,pt(a,!1)});const l=Qe(()=>i.shareImage&&!jr(a)),c=()=>{if(r.isIsolated)return r.dismissIsolation(),void("meta"!==s.current&&s.back("comments"));i.hide()};var d=vo(),u=At(d),h=e=>{var t=Vk(),n=At(t),s=zt(n,2),d=Ot(s),u=Ot(d);bw(zt(Ot(u),4),{class:"absolute top-8 right-8 touch:top-12 touch:right-14",onclick:()=>i.hide()}),q(u);var h=zt(u,2),p=Ot(h),g=zt(Ot(p),2),f=Ot(g),m=e=>{var t=Dk();er(()=>Li(t,"src",i.favicon)),bo(e,t)},v=e=>{var t=jk();Ag(Ot(t),{get icon(){return cg},className:"size-20 text-orange-400 pointer-events-none"}),q(t),bo(e,t)};_o(f,e=>{i.favicon?e(m):e(v,!1)}),q(g),q(p);var b=zt(p,2),w=zt(Ot(b),2),y=Ot(w),x=Ot(y,!0);q(y),q(w),q(b),q(h);var k=zt(h,2),C=zt(Ot(k),2),L=Ot(C),S=e=>{var t=Rk();er(()=>Li(t,"src",i.shareImage)),no("error",t,()=>pt(a,!0)),function(e){if(!V)return;e.removeAttribute("onload"),e.removeAttribute("onerror");const t=e.__e;void 0!==t&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}(t),bo(e,t)},M=e=>{var t=Wk();Ag(At(t),{get icon(){return cg},className:"size-28 pointer-events-none"}),K(2),bo(e,t)};_o(L,e=>{jr(l)?e(S):e(M,!1)}),q(C),q(k);var $=zt(k,2),T=zt(Ot($),2),_=Ot(T),E=e=>{var t=mo();er(()=>ko(t,i.title)),bo(e,t)},I=e=>{bo(e,mo("No title defined."))};_o(_,e=>{i.title?e(E):e(I,!1)}),q(T),q($);var O=zt($,2),A=zt(Ot(O),2),z=Ot(A),P=e=>{var t=mo();er(()=>ko(t,i.description)),bo(e,t)},F=e=>{bo(e,mo("No description defined."))};_o(z,e=>{i.description?e(P):e(F,!1)}),q(A),q(O),q(d),q(s),er(()=>{ci(y,1,ni(["truncate",r.enabled&&"pointer-events-none"])),ko(x,o.url),ci(C,1,ni(["rounded-[12px] flex-center flex-col superellipse object-cover w-full shrink-0 aspect-1200/630",jr(l)?"":"bg-rose-500/10 border border-rose-500 text-rose-500"])),ci(T,1,`text-2xl font-semibold ${!i.title&&"text-rose-500"}`),ci(A,1,`text-lg font-normal text-neutral-400 ${!i.description&&"text-rose-500"}`)}),so("click",n,c),Qo(3,n,()=>ea,()=>({duration:150})),Qo(3,d,()=>ia,()=>({duration:150,start:.95})),bo(e,t)};_o(u,e=>{n.modals.meta&&e(h)}),bo(e,d),he()}(b,{});var w=zt(b,2),y=e=>{!function(e){ue({},!0);const{hover:t,inputs:r}=Zx();let o=ut(null),i=ut(null),n=ut("bottom"),s=ut(wt({x:0,y:0})),a=ut(null),l=ut(null),c=ut("bottom"),d=ut(wt({x:0,y:0})),u=Qe(()=>r.visibility["new-comment"]),h=Qe(()=>"isolated"===t.mode.type&&!jr(u));async function p(){if(!jr(o)||!jr(i)||!jr(u))return;const e=await CL(jr(o),jr(i),{placement:"bottom-start",strategy:"fixed",middleware:[yL(4),kL({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),xL({padding:0})]});pt(s,{x:e.x,y:e.y},!0),pt(n,e.placement,!0)}async function g(){if(!jr(a)||!jr(l)||!jr(h))return;const e=await CL(jr(a),jr(l),{placement:"bottom-start",strategy:"fixed",middleware:[yL(4),kL({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),xL({padding:0})]});pt(d,{x:e.x,y:e.y},!0),pt(c,e.placement,!0)}Kt(()=>{jr(u)&&(t.pinPos.x,t.pinPos.y,t.scroll.x,t.scroll.y,Dr().then(p))}),Kt(()=>{jr(h)&&(t.pinPos.x,t.pinPos.y,t.scroll.x,t.scroll.y,Dr().then(g))}),Qe(()=>"isolated"===t.mode.type||jr(u)),Qe(()=>jr(n).startsWith("top"));var f=ML(),m=At(f),v=Ot(m);Di(v,e=>pt(a,e),()=>jr(a));var b=zt(v,2);Ag(Ot(b),{get icon(){return Tm},className:"size-14 group-hover/new-comment-pin:rotate-45 transition-[rotate] duration-150 ease-out-cubic"}),q(b),Di(b,e=>pt(o,e),()=>jr(o)),q(m);var w=zt(m,2);(function(e,t){ue(t,!0);let r=Ui(t,"placement",3,"bottom");const{bus:o,router:i,inputs:n,win:s,sheet:a,hover:l,comments:c,environment:d}=Zx();let u=Qe(()=>"isolated"===l.mode.type&&!n.visibility["new-comment"]),h=Qe(()=>r().startsWith("top"));var p=SL(),g=Ot(p),f=Ot(g);Ag(f,{get icon(){return bg},className:"size-18"});var m=zt(f,2),v=Ot(m);q(m),q(g);{const e=(e,t)=>{var r=LL(),o=()=>(n.show("new-comment"),n.focus("new-comment"),void("thread"===i.current&&("isolation"===i.previous?i.back("isolation"):i.goto("isolation",void 0,"back"))));Si(r,()=>({...t?.().props,"data-fubi-message-new-comment-button":!0,onclick:o,class:["text-white hover:bg-neutral-500/20 active:bg-neutral-500/30 p-8 pr-12 w-full border-t border-white/10","rounded-b-[16px] superellipse focus-visible cursor-pointer flex items-center gap-4 text-sm/none"]})),Ag(Ot(r),{get icon(){return nf},className:"size-18",strokeWidth:2}),K(),q(r),bo(e,r)};Fp(zt(g,2),{text:"Create new comment",delay:200,offset:2,child:e,$$slots:{child:!0}})}q(p),er(()=>{ci(p,1,ni(["pointer-events-auto rounded-[16px] superellipse backdrop-blur-sm android:backdrop-blur-none glass-shadow","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale] flex flex-col","bg-neutral-800/80","text-neutral-100",jr(h)?"origin-bottom":"origin-top",!jr(u)&&"opacity-0 pointer-events-none scale-80"])),ci(g,1,ni(["p-8 pr-12 flex items-center gap-4 rounded-t-[16px] superellipse focus-visible ",(d.touch?a:s)?.opened?"text-indigo-300":"hover:bg-neutral-500/20 active:bg-neutral-500/30 bg-neutral-500/10 cursor-pointer text-sky-400"])),ko(v,`${c?.isolatedThreads?.length??""} thread${1!==c?.isolatedThreads?.length?"s":""}`)}),so("click",g,()=>(()=>{const e=d.touch?a:s;e.opened||e.open()})()),bo(e,p),he()})(Ot(w),{get placement(){return jr(c)}}),q(w),Di(w,e=>pt(l,e),()=>jr(l));var y=zt(w,2);ky(Ot(y),{id:"new-comment",get placement(){return jr(n)}}),q(y),Di(y,e=>pt(i,e),()=>jr(i)),er(()=>{ui(m,`transform: translate(${t.pinPos.x}px, ${t.pinPos.y}px);`),ci(v,1,ni(["bg-linear-to-b from-indigo-300 to-indigo-400 glass-shadow text-white rounded-full size-8 flex-center -translate-x-1/2 -translate-y-1/2 absolute top-0 left-0","transition-[opacity,scale] duration-150 ease-out-cubic",!jr(h)&&"opacity-0 pointer-events-none scale-80"])),ci(b,1,ni(["pointer-events-auto glass-shadow text-white rounded-[2px_16px_16px_16px] size-24 flex-center absolute top-0 left-0 group/new-comment-pin bg-linear-to-b z-10","bg-sky-500","hover:bg-neutral-600 active:bg-neutral-500 active:scale-95","transition-[opacity,background-color,scale] duration-150 ease-out-cubic",!jr(u)&&"opacity-0 pointer-events-none scale-80"])),ui(w,`transform: translate(${jr(d).x}px, ${jr(d).y}px);`),ui(y,`transform: translate(${jr(s).x}px, ${jr(s).y}px);`)}),so("click",b,()=>{t.dismissIsolation(),r.hide("new-comment")}),bo(e,f),he()}(e)};_o(w,e=>{r.modules.environment.touch||e(y)});var x=zt(w,2);(function(e,t){ue(t,!0);const{modals:r,comments:o,auth:i,win:n,hover:s}=Zx();r.register("media-preview");let a=ut(!1);const l=e=>{e||(n.uiOpened=!1)};let c=Qe(()=>r.getData("media-preview")),d=Qe(()=>jr(c)?.src),u=Qe(()=>jr(c)?.commentId),h=Qe(()=>jr(c)?.filename);const p=Qe(()=>jr(u)?o.data.find(e=>e.id===jr(u)):null),g=Qe(()=>jr(p)?.createdBy===i.user?.id),f=async()=>{jr(u)&&jr(h)&&(pt(a,!1),await o.removeMedia(jr(u),jr(h)))};var m=vo();Wo(At(m),()=>Qh,(e,t)=>{t(e,{onOpenChange:l,get open(){return r.modals["media-preview"]},set open(e){r.modals["media-preview"]=e},children:(e,t)=>{var o=vo();Wo(At(o),()=>Xl,(e,t)=>{t(e,{children:(e,t)=>{var o=Xk(),i=At(o);{const e=(e,t)=>{var o=vo(),i=At(o),n=e=>{var o=Kk(),i=()=>r.modals["media-preview"]=!1;Si(o,()=>({...t?.().props,"data-fubi-ignore-all":!0,onclick:i,class:"fixed inset-0 z-[calc(var(--infinity,2147490000))] bg-black/80 android:bg-black backdrop-blur-lg android:backdrop-blur-none"})),Qo(3,o,()=>ea,()=>({duration:150})),bo(e,o)};_o(i,e=>{t?.().open&&e(n)}),bo(e,o)};Wo(i,()=>bd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var n=zt(i,2);{const e=(e,t)=>{var o=vo(),i=At(o),n=e=>{var o=Gk(),i=At(o);Si(i,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"group/preview fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147490000))] outline-none"}));var n=Ot(i);q(i);var s=zt(i,2),l=Ot(s),p=e=>{{const t=(e,t)=>{Cf(e,Bi({get icon(){return km},class:"glass bg-neutral-800/80"},()=>t?.().props))};Hp(e,{get opened(){return jr(a)},set opened(e){pt(a,e,!0)},child:t,children:(e,t)=>{zf(e,{title:"Delete Media",get icon(){return tv},type:"destructive",onclick:f})},$$slots:{child:!0,default:!0}})}};_o(l,e=>{jr(g)&&jr(u)&&jr(h)&&e(p)}),Cf(zt(l,2),{get icon(){return Wf},class:"glass bg-neutral-800/80",onclick:()=>r.modals["media-preview"]=!1}),q(s),er(()=>{Li(n,"src",jr(d)),Li(n,"width",jr(c)?.width),Li(n,"height",jr(c)?.height)}),Qo(3,i,()=>ia,()=>({duration:200,start:.95,easing:js})),Qo(3,s,()=>ia,()=>({duration:200,easing:js,start:.8})),bo(e,o)};_o(i,e=>{t?.().open&&e(n)}),bo(e,o)};Wo(n,()=>ip,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,onInteractOutside:e=>{s.ignoreNextClick=!0,e.preventDefault()},child:e,$$slots:{child:!0}})})}bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,m),he()})(x,{}),function(e){ue({},!0);const t=Zx(),{modals:r,media:o,environment:i}=t;r.register("report-bug");let n=ut("bug"),s=ut(""),a=ut(wt([])),l=ut(!1),c=ut(!1),d=ut(null),u=null;const h=["image/png","image/jpeg","image/webp","image/svg+xml"],p=()=>{const e=document.createElement("input");e.type="file",e.multiple=!0,e.accept=h.join(","),e.onchange=async e=>{const t=Array.from(e.target.files??[]);e.target.value="",await f(t)},e.click()},f=async e=>{pt(d,null);for(const t of e){if(jr(a).length>=4){pt(d,"Maximum of 4 files allowed.");break}if(!h.includes(t.type)){pt(d,`File type not allowed: ${t.type}`);continue}if(t.size>5242880){pt(d,"File is too large. Max size is 10MB.");continue}const e={id:crypto.randomUUID?.()??Math.random().toString(36).slice(2),file:t,preview:URL.createObjectURL(t),status:"compressing",progress:0};jr(a).push(e);try{const r=await o.compressImage(t,.8),i=jr(a).findIndex(t=>t.id===e.id);if(-1===i)continue;URL.revokeObjectURL(e.preview),jr(a)[i]={...jr(a)[i],file:r.file,preview:URL.createObjectURL(r.file),width:r.width,height:r.height,status:"ready"}}catch{const t=jr(a).findIndex(t=>t.id===e.id);-1!==t&&(jr(a)[t]={...jr(a)[t],status:"error",error:"Compression failed"})}}},m={remove:e=>{const t=jr(a).findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(jr(a)[t].preview),jr(a).splice(t,1))}},v=()=>{u&&clearTimeout(u),u=null;for(const e of jr(a))URL.revokeObjectURL(e.preview);pt(n,"bug"),pt(s,""),pt(a,[],!0),pt(d,null),pt(l,!1),pt(c,!1)},b=Qe(()=>r.modals["report-bug"]);Kt(()=>{jr(b)&&Vr(v)});const w=async()=>{if(!jr(s).trim())return;if(jr(l))return;pt(l,!0),pt(d,null);const e=jr(a).filter(e=>"ready"===e.status).map(e=>e.file),[o]=await gs(qx(t,{type:jr(n),description:jr(s),files:e}));if(o)return pt(d,"Failed to submit feedback. Try again."),void pt(l,!1);pt(c,!0),u=setTimeout(()=>r.close("report-bug"),1600)},y=e=>{const t=e.clipboardData?.items;if(!t)return;const r=[];for(const o of t){if(!o.type.startsWith("image/"))continue;const e=o.getAsFile();e&&r.push(e)}0!==r.length&&(e.preventDefault(),f(r))},x=()=>{v(),r.close("report-bug")};{const t=e=>{{const t=e=>{var t=cC(),r=At(t),o=e=>{var t=lC();Po(t,23,()=>jr(a),e=>e.id,(e,t,r)=>{iw(e,{get entry(){return jr(t)},get index(){return jr(r)},get media(){return m}})}),q(t),bo(e,t)};_o(r,e=>{jr(a).length>0&&e(o)});var i=zt(r,2);{let e=Qe(()=>jr(a).length>=4);Fg(i,{glass:"glass bg-white/5",get icon(){return Hf},onclick:p,get disabled(){return jr(e)},children:(e,t)=>{K(),bo(e,mo("Attach files"))},$$slots:{default:!0}})}bo(e,t)};let r=Qe(()=>!i.touch);!function(e,t){ue(t,!0);let r=Ui(t,"type",15,"bug"),o=Ui(t,"description",15,""),i=Ui(t,"error",3,null),n=Ui(t,"submitted",3,!1),s=Ui(t,"placeholder",3,"What's on your mind?"),a=Ui(t,"contentClass",3,""),l=Ui(t,"autofocus",3,!1),c=ut(null);Kt(()=>{if(!l()||!jr(c))return;const e=jr(c),t=setTimeout(()=>e.focus({preventScroll:!0}),60);return()=>clearTimeout(t)});const d=[{value:"bug",label:"Bug report",icon:jf},{value:"feature",label:"Feature request",icon:Rf},{value:"other",label:"Other",icon:Kf}],u=Qe(()=>d.find(e=>e.value===r())??d[0]);var h=vo(),p=At(h),f=e=>{var t=iC();Ag(Ot(t),{get icon(){return Uf},className:"size-12 app:size-48 text-emerald-400"}),K(2),q(t),bo(e,t)},m=e=>{var n=aC(),l=Ot(n);{const e=(e,t)=>{var r=nC();Si(r,()=>({...t?.().props,type:"button",class:"glass bg-white/5 hover:bg-white/10 active:scale-[.98] active:bg-white/15 focus-visible superellipse flex items-center gap-1.5 app:gap-6 rounded-[12px] py-1.5 app:py-6 pl-1.5 app:pl-6 pr-2 app:pr-8 text-neutral-200 transition-colors"}));var o=Ot(r);Ag(o,{get icon(){return jr(u).icon},className:"size-4.5 app:size-18 shrink-0 text-neutral-400"});var i=zt(o,2),n=Ot(i,!0);q(i),Ag(zt(i,2),{get icon(){return Xm},className:"size-4 app:size-16 shrink-0 text-white/40"}),q(r),er(()=>ko(n,jr(u).label)),bo(e,r)};!function(e,t){ue(t,!0);let r=Ui(t,"type",3,"single"),o=Ui(t,"value",15),i=Ui(t,"side",3,"bottom"),n=Ui(t,"sideOffset",3,4),s=Ui(t,"align",3,"start"),a=Ui(t,"origin",3,"origin-top-left"),l=Ui(t,"contentClass",3,""),c=Wi(t,["$$slots","$$events","$$legacy","type","name","value","side","sideOffset","align","origin","contentClass","onValueChange","children","child","trigger"]);var d=vo();Wo(At(d),()=>pp,(e,d)=>{d(e,Bi({get type(){return r()},get name(){return t.name},get onValueChange(){return t.onValueChange}},()=>c,{get value(){return o()},set value(e){o(e)},children:(e,r)=>{var o=Yk(),c=At(o);Wo(c,()=>fp,(e,r)=>{r(e,{get child(){return t.child},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Ro(At(r),()=>t.trigger),bo(e,r)};_o(i,e=>{t.trigger&&e(n)}),bo(e,o)},$$slots:{default:!0}})}),Wo(zt(c,2),()=>Xl,(e,r)=>{r(e,{children:(e,r)=>{var o=vo(),c=At(o);{let e=Qe(()=>["bg-linear-to-b from-neutral-800/80 to-neutral-900/80 android:from-neutral-800 android:to-neutral-900 glass-shadow backdrop-blur-lg android:backdrop-blur-none rounded-[20px] superellipse min-w-[150px] flex flex-col z-[calc(var(--infinity,2147490000))] p-1 app:p-4 focus:outline-none",a(),"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-80 data-[state=open]:zoom-in-80",l()]);Wo(c,()=>zh,(r,o)=>{o(r,{get align(){return s()},get side(){return i()},get sideOffset(){return n()},"data-fubi-ignore-all":!0,get class(){return jr(e)},children:(e,r)=>{var o=vo();Ro(At(o),()=>t.children),bo(e,o)},$$slots:{default:!0}})})}bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}}))}),bo(e,d),he()}(l,{type:"single",name:"feedback-type",align:"start",origin:"origin-top-left",get contentClass(){return a()},get value(){return r()},set value(e){r(e)},child:e,children:(e,t)=>{var r=vo();Po(At(r),17,()=>d,({value:e,label:t,icon:r})=>e,(e,t)=>{!function(e,t){let r=Wi(t,["$$slots","$$events","$$legacy","value","start","icon","iconClass","title","subtitle","after","label"]);var o=vo(),i=At(o);{const e=(e,r)=>{let o=()=>r?.().selected;var i=oC(),n=At(i),s=e=>{var r=Jk();Ro(Ot(r),()=>t.start),q(r),bo(e,r)};_o(n,e=>{t.start&&e(s)});var a=zt(n,2),l=e=>{var r=Qk(),i=Ot(r);{let e=Qe(()=>`size-5 app:size-20 ${t.iconClass??""}`);Ag(i,{get icon(){return t.icon},get className(){return jr(e)}})}q(r),er(()=>ci(r,1,ni(["flex-center size-9 app:size-36 text-neutral-400",o()&&"text-white"]))),bo(e,r)};_o(a,e=>{t.icon&&e(l)});var c=zt(a,2),d=Ot(c),u=Ot(d,!0);q(d);var h=zt(d,2),p=e=>{var r=eC(),o=Ot(r,!0);q(r),er(()=>ko(o,t.subtitle)),bo(e,r)};_o(h,e=>{t.subtitle&&e(p)}),q(c);var g=zt(c,2),f=Ot(g),m=e=>{var r=tC(),o=Ot(r,!0);q(r),er(()=>ko(o,t.after)),bo(e,r)};_o(f,e=>{t.after&&e(m)});var v=zt(f,2),b=e=>{var r=rC(),o=Ot(r,!0);q(r),er(()=>ko(o,t.label)),bo(e,r)};_o(v,e=>{t.label&&e(b)});var w=zt(v,2),y=e=>{Ag(e,{get icon(){return Tg},className:"size-4 app:size-16 text-sky-400"})};_o(w,e=>{o()&&e(y)}),q(g),er(()=>{ci(c,1,ni(["flex flex-col gap-0.5 app:gap-1 flex-1 items-start justify-center text-left h-9 app:h-36 pr-6 app:pr-24",!t.icon&&!t.start&&"pl-3 app:pl-12"])),ko(u,t.title)}),bo(e,i)};Wo(i,()=>Nh,(o,i)=>{i(o,Bi({get value(){return t.value},get label(){return t.title},class:["group/item rounded-[10px] first:rounded-t-[16px] last:rounded-b-[16px] superellipse w-full h-9 app:h-36 flex items-center select-none focus-visible transition-[scale] will-change-[scale] duration-150 ease-out cursor-pointer","text-neutral-200 hover:bg-neutral-500/10 hover:text-neutral-50 active:bg-neutral-600/20 active:scale-95","data-[state=checked]:text-white"]},()=>r,{children:e,$$slots:{default:!0}}))})}bo(e,o)}(e,{get value(){return jr(t).value},get title(){return jr(t).label},get icon(){return jr(t).icon}})}),bo(e,r)},$$slots:{child:!0,default:!0}})}var h,p=zt(l,2);h=p,V&&/* @__PURE__ */null!==Et(h)&&Pt(h),Li(p,"rows",4),Di(p,e=>pt(c,e),()=>jr(c));var f=zt(p,2);Ro(f,()=>t.attachments??g);var m=zt(f,2),v=e=>{var t=sC(),r=Ot(t,!0);q(t),er(()=>ko(r,i())),bo(e,t)};_o(m,e=>{i()&&e(v)}),q(n),er(()=>Li(p,"placeholder",s())),no("paste",p,function(...e){t.onpaste?.apply(this,e)}),Ii(p,o),bo(e,n)};_o(p,e=>{n()?e(f):e(m,!1)}),bo(e,h),he()}(e,{get error(){return jr(d)},get submitted(){return jr(c)},get autofocus(){return jr(r)},onpaste:y,contentClass:"touch:z-[calc(var(--infinity,2147490000)+3)]",get type(){return jr(n)},set type(e){pt(n,e,!0)},get description(){return jr(s)},set description(e){pt(s,e,!0)},attachments:t,$$slots:{attachments:!0}})}};let o=Qe(()=>jr(c)?"":"Leave Feedback"),u=Qe(()=>jr(c)?"":"Found a bug, have an idea, or just want to tell us something? We read everything.");Tw(e,{get title(){return jr(o)},get text(){return jr(u)},width:"w-320 max-w-[94%]",get open(){return r.modals["report-bug"]},set open(e){r.modals["report-bug"]=e},content:t,children:(e,t)=>{var r=vo(),o=At(r),i=e=>{var t=dC(),r=Ot(t);Bg(r,{small:!0,flex:!0,variant:"ghost",onclick:x,children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}});var o=zt(r,2);{let e=Qe(()=>!jr(s).trim());Bg(o,{small:!0,flex:!0,onclick:w,get loading(){return jr(l)},get disabled(){return jr(e)},children:(e,t)=>{K(),bo(e,mo("Submit"))},$$slots:{default:!0}})}q(t),bo(e,t)};_o(o,e=>{jr(c)||e(i)}),bo(e,r)},$$slots:{content:!0,default:!0}})}he()}(zt(x,2)),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}}),he()}function fubi(e,t){if(!e)throw new Error("Please provide a projectId");if("demo"!==e){const t=new URLSearchParams(window.location.search).has("fubi"),r=JSON.parse(localStorage.getItem("fubi_toolbar_visible")||"false"),o=!!JSON.parse(localStorage.getItem("fubi_auth")||"null")?.token;if(!t&&!r&&!o)return void lx(e)}const r=document.createElement("div");r.id="fubi-shadow-root",r.setAttribute("data-lenis-prevent","");const o=r.attachShadow({mode:"open"});o.innerHTML='<style>/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-left:linear-gradient(#fff, #fff);--tw-mask-right:linear-gradient(#fff, #fff);--tw-mask-bottom:linear-gradient(#fff, #fff);--tw-mask-top:linear-gradient(#fff, #fff);--tw-mask-right-from-position:0%;--tw-mask-right-to-position:100%;--tw-mask-right-from-color:black;--tw-mask-right-to-color:transparent;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-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-outline-style:solid;--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-mask-top-from-position:0%;--tw-mask-top-to-position:100%;--tw-mask-top-from-color:black;--tw-mask-top-to-color:transparent;--tw-mask-bottom-from-position:0%;--tw-mask-bottom-to-position:100%;--tw-mask-bottom-from-color:black;--tw-mask-bottom-to-color:transparent}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-600:oklch(57.7% .245 27.325);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-950:oklch(27.9% .077 45.635);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-900:oklch(40.5% .101 131.063);--color-lime-950:oklch(27.4% .072 132.109);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-400:oklch(76.5% .177 163.223);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-900:oklch(21% .034 264.665);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:1px;--container-xs:20rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75em;--text-xs--line-height:calc(1 / .75);--text-sm:.875em;--text-sm--line-height:calc(1.25 / .875em);--text-base:1em;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125em;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25em;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5em;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--ease-in-cubic:cubic-bezier(.5, 0, .6, .2);--ease-out-cubic:cubic-bezier(.2, .6, .35, 1);--ease-in-out-cubic:cubic-bezier(.6, 0, .35, 1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-6{inset:calc(var(--spacing) * 6)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.\\!start{inset-inline-start:var(--spacing)!important}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-1{top:calc(var(--spacing) * -1)}.-top-4{top:calc(var(--spacing) * -4)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-4{top:calc(var(--spacing) * 4)}.top-8{top:calc(var(--spacing) * 8)}.top-16{top:calc(var(--spacing) * 16)}.top-20{top:calc(var(--spacing) * 20)}.top-\\[3px\\]{top:3px}.top-\\[50\\%\\]{top:50%}.top-\\[anchor\\(bottom\\)\\]{top:anchor(bottom)}.top-auto{top:auto}.-right-1{right:calc(var(--spacing) * -1)}.right-\\(--fubi-window-right\\){right:var(--fubi-window-right)}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.right-8{right:calc(var(--spacing) * 8)}.right-14{right:calc(var(--spacing) * 14)}.right-16{right:calc(var(--spacing) * 16)}.right-38{right:calc(var(--spacing) * 38)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.bottom-\\(--fubi-window-bottom\\){bottom:var(--fubi-window-bottom)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-4{bottom:calc(var(--spacing) * 4)}.bottom-8{bottom:calc(var(--spacing) * 8)}.bottom-10{bottom:calc(var(--spacing) * 10)}.bottom-16{bottom:calc(var(--spacing) * 16)}.bottom-auto{bottom:auto}.-left-4{left:calc(var(--spacing) * -4)}.left-0{left:calc(var(--spacing) * 0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-2\\.5{left:calc(var(--spacing) * 2.5)}.left-8{left:calc(var(--spacing) * 8)}.left-20{left:calc(var(--spacing) * 20)}.left-\\[3px\\]{left:3px}.left-\\[50\\%\\]{left:50%}.left-\\[anchor\\(center\\)\\]{left:anchor(center)}.left-auto{left:auto}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-0{z-index:0}.z-1{z-index:1}.z-2{z-index:2}.z-10{z-index:10}.z-50{z-index:50}.z-51{z-index:51}.z-102{z-index:102}.z-\\[10\\]{z-index:10}.z-\\[101\\]{z-index:101}.z-\\[2147479000\\]{z-index:2147479000}.z-\\[calc\\(var\\(--infinity\\,2147479000\\)\\)\\]{z-index:calc(var(--infinity,2147480000))}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\)\\]{z-index:calc(var(--infinity,2147490000))}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+1\\)\\]{z-index:calc(var(--infinity,2147490000) + 1)}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+2\\)\\]{z-index:calc(var(--infinity,2147490000) + 2)}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+3\\)\\]{z-index:calc(var(--infinity,2147490000) + 3)}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+4\\)\\]{z-index:calc(var(--infinity,2147490000) + 4)}.z-\\[calc\\(var\\(--infinity\\,2147490000\\)-1\\)\\]{z-index:calc(var(--infinity,2147490000) - 1)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-8{margin-inline:calc(var(--spacing) * 8)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.my-8{margin-block:calc(var(--spacing) * 8)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-auto{margin-top:auto}.-mr-2{margin-right:calc(var(--spacing) * -2)}.mr-4{margin-right:calc(var(--spacing) * 4)}.mr-8{margin-right:calc(var(--spacing) * 8)}.mb-0\\!{margin-bottom:calc(var(--spacing) * 0)!important}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.mb-16{margin-bottom:calc(var(--spacing) * 16)}.mb-px{margin-bottom:1px}.-ml-2{margin-left:calc(var(--spacing) * -2)}.ml-8{margin-left:calc(var(--spacing) * 8)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.aspect-1200\\/630{aspect-ratio:1200/630}.aspect-square{aspect-ratio:1}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-6\\.5{width:calc(var(--spacing) * 6.5);height:calc(var(--spacing) * 6.5)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.size-18{width:calc(var(--spacing) * 18);height:calc(var(--spacing) * 18)}.size-20{width:calc(var(--spacing) * 20);height:calc(var(--spacing) * 20)}.size-21{width:calc(var(--spacing) * 21);height:calc(var(--spacing) * 21)}.size-22{width:calc(var(--spacing) * 22);height:calc(var(--spacing) * 22)}.size-24{width:calc(var(--spacing) * 24);height:calc(var(--spacing) * 24)}.size-25{width:calc(var(--spacing) * 25);height:calc(var(--spacing) * 25)}.size-26{width:calc(var(--spacing) * 26);height:calc(var(--spacing) * 26)}.size-28{width:calc(var(--spacing) * 28);height:calc(var(--spacing) * 28)}.size-32{width:calc(var(--spacing) * 32);height:calc(var(--spacing) * 32)}.size-34{width:calc(var(--spacing) * 34);height:calc(var(--spacing) * 34)}.size-36{width:calc(var(--spacing) * 36);height:calc(var(--spacing) * 36)}.size-38{width:calc(var(--spacing) * 38);height:calc(var(--spacing) * 38)}.size-42{width:calc(var(--spacing) * 42);height:calc(var(--spacing) * 42)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-50{width:calc(var(--spacing) * 50);height:calc(var(--spacing) * 50)}.size-52{width:calc(var(--spacing) * 52);height:calc(var(--spacing) * 52)}.h-\\(--fubi-navbar-height\\){height:var(--fubi-navbar-height)}.h-\\(--fubi-toolbar-height\\){height:var(--fubi-toolbar-height)}.h-0{height:calc(var(--spacing) * 0)}.h-2{height:calc(var(--spacing) * 2)}.h-4{height:calc(var(--spacing) * 4)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-26{height:calc(var(--spacing) * 26)}.h-27{height:calc(var(--spacing) * 27)}.h-28{height:calc(var(--spacing) * 28)}.h-32{height:calc(var(--spacing) * 32)}.h-34{height:calc(var(--spacing) * 34)}.h-40{height:calc(var(--spacing) * 40)}.h-44{height:calc(var(--spacing) * 44)}.h-46{height:calc(var(--spacing) * 46)}.h-48{height:calc(var(--spacing) * 48)}.h-118{height:calc(var(--spacing) * 118)}.h-120{height:calc(var(--spacing) * 120)}.h-300{height:calc(var(--spacing) * 300)}.h-\\[16px\\]{height:16px}.h-\\[22px\\]{height:22px}.h-\\[28px\\]{height:28px}.h-\\[44px\\]{height:44px}.h-\\[46px\\]{height:46px}.h-\\[calc\\(100\\%-20px\\)\\]{height:calc(100% - 20px)}.h-full{height:100%}.h-px{height:1px}.max-h-0\\!{max-height:calc(var(--spacing) * 0)!important}.max-h-100{max-height:calc(var(--spacing) * 100)}.max-h-170{max-height:calc(var(--spacing) * 170)}.max-h-200{max-height:calc(var(--spacing) * 200)}.max-h-250{max-height:calc(var(--spacing) * 250)}.max-h-360{max-height:calc(var(--spacing) * 360)}.max-h-\\[80\\%\\]{max-height:80%}.max-h-\\[90vh\\]{max-height:90vh}.max-h-\\[calc\\(100dvh-var\\(--fubi-toolbar-height\\)-32px\\)\\]{max-height:calc(100dvh - var(--fubi-toolbar-height) - 32px)}.max-h-screen{max-height:100vh}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-42{min-height:calc(var(--spacing) * 42)}.min-h-120{min-height:calc(var(--spacing) * 120)}.min-h-330{min-height:calc(var(--spacing) * 330)}.min-h-400{min-height:calc(var(--spacing) * 400)}.min-h-\\[40px\\]{min-height:40px}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[46px\\]{min-height:46px}.min-h-\\[52px\\]{min-height:52px}.min-h-full{min-height:100%}.w-0\\.5{width:calc(var(--spacing) * .5)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-30{width:calc(var(--spacing) * 30)}.w-34{width:calc(var(--spacing) * 34)}.w-36{width:calc(var(--spacing) * 36)}.w-48{width:calc(var(--spacing) * 48)}.w-54{width:calc(var(--spacing) * 54)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-200{width:calc(var(--spacing) * 200)}.w-290{width:calc(var(--spacing) * 290)}.w-320{width:calc(var(--spacing) * 320)}.w-550{width:calc(var(--spacing) * 550)}.w-\\[22px\\]{width:22px}.w-\\[26px\\]{width:26px}.w-\\[40px\\]{width:40px}.w-\\[44px\\]{width:44px}.w-\\[500px\\]{width:500px}.w-\\[calc\\(100\\%\\+20px\\)\\]{width:calc(100% + 20px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-48{max-width:calc(var(--spacing) * 48)}.max-w-64{max-width:calc(var(--spacing) * 64)}.max-w-176{max-width:calc(var(--spacing) * 176)}.max-w-200{max-width:calc(var(--spacing) * 200)}.max-w-250{max-width:calc(var(--spacing) * 250)}.max-w-280{max-width:calc(var(--spacing) * 280)}.max-w-400{max-width:calc(var(--spacing) * 400)}.max-w-\\[24ch\\]{max-width:24ch}.max-w-\\[90vw\\]{max-width:90vw}.max-w-\\[94\\%\\]{max-width:94%}.max-w-\\[min\\(300px\\,calc\\(100\\%-32px\\)\\)\\]{max-width:min(300px,100% - 32px)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-26{min-width:calc(var(--spacing) * 26)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-150{min-width:calc(var(--spacing) * 150)}.min-w-200{min-width:calc(var(--spacing) * 200)}.min-w-220{min-width:calc(var(--spacing) * 220)}.min-w-276{min-width:calc(var(--spacing) * 276)}.min-w-\\[150px\\]{min-width:150px}.min-w-full{min-width:100%}.flex-1,.flex-\\[1\\]{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--bits-tooltip-content-transform-origin\\){transform-origin:var(--bits-tooltip-content-transform-origin)}.origin-\\[2px_2px\\]{transform-origin:2px 2px}.origin-\\[28px_2px\\]{transform-origin:28px 2px}.origin-bottom{transform-origin:bottom}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.origin-left{transform-origin:0}.origin-right{transform-origin:100%}.origin-top{transform-origin:top}.origin-top-left{transform-origin:0 0}.origin-top-right{transform-origin:100% 0}.-translate-x-1{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-4{--tw-translate-x:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-6{--tw-translate-x:calc(var(--spacing) * -6);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-10{--tw-translate-x:calc(var(--spacing) * -10);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-\\[40\\%\\]{--tw-translate-x:calc(40% * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-1\\/4{--tw-translate-x:calc(1 / 4 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-8{--tw-translate-x:calc(var(--spacing) * 8);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/4{--tw-translate-y:calc(calc(1 / 4 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-2{--tw-translate-y:calc(var(--spacing) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-10{--tw-translate-y:calc(var(--spacing) * -10);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-\\[40\\%\\]{--tw-translate-y:calc(40% * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-\\[calc\\(50\\%\\+100\\%\\+16px\\)\\]{--tw-translate-y:calc(calc(50% + 100% + 16px) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-\\[calc\\(100\\%\\+4px\\)\\]{--tw-translate-y:calc(calc(100% + 4px) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-1\\/4{--tw-translate-y:calc(1 / 4 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-8{--tw-translate-y:calc(var(--spacing) * 8);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-24{--tw-translate-y:calc(var(--spacing) * 24);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[calc\\(100\\%\\+var\\(--fubi-toolbar-bottom\\)\\)\\]{--tw-translate-y:calc(100% + var(--fubi-toolbar-bottom));translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-px{--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-80{--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-115{--tw-scale-x:115%;--tw-scale-y:115%;--tw-scale-z:115%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-170{--tw-scale-x:170%;--tw-scale-y:170%;--tw-scale-z:170%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-15{rotate:-15deg}.-rotate-90{rotate:-90deg}.-rotate-180{rotate:-180deg}.rotate-15{rotate:15deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.rotate-360{rotate:360deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize\\!{cursor:nwse-resize!important}.cursor-pointer{cursor:pointer}.cursor-pointer\\!{cursor:pointer!important}.cursor-text{cursor:text}.cursor-text\\!{cursor:text!important}.resize{resize:both}.resize-none{resize:none}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-px{gap:1px}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.divide-white\\/10>:not(:last-child)){border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){:where(.divide-white\\/10>:not(:last-child)){border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.self-center{align-self:center}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-\\(--fubi-rounded\\){border-radius:var(--fubi-rounded)}.rounded-\\(--fubi-rounded-mouse\\){border-radius:var(--fubi-rounded-mouse)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[2px_16px_16px_16px\\]{border-radius:2px 16px 16px}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[6px\\]{border-radius:6px}.rounded-\\[8px\\]{border-radius:8px}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[14px\\]{border-radius:14px}.rounded-\\[16px\\]{border-radius:16px}.rounded-\\[17px\\]{border-radius:17px}.rounded-\\[18px\\]{border-radius:18px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[24px\\]{border-radius:24px}.rounded-\\[32px\\]{border-radius:32px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[16px\\]{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-b-\\[16px\\]{border-bottom-right-radius:16px;border-bottom-left-radius:16px}.rounded-bl-\\[3px\\]{border-bottom-left-radius:3px}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.border{border-style:var(--tw-border-style);border-width:1px}.border-\\[0\\.5px\\]{border-style:var(--tw-border-style);border-width:.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-t-\\[0\\.5px\\]{border-top-style:var(--tw-border-style);border-top-width:.5px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-r-\\[0\\.5px\\]{border-right-style:var(--tw-border-style);border-right-width:.5px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-\\[0\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:.5px}.border-b-\\[0px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-l-\\[0\\.5px\\]{border-left-style:var(--tw-border-style);border-left-width:.5px}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.border-green-400\\/20{border-color:color-mix(in oklab, var(--color-green-400) 20%, transparent)}}.border-green-500\\/30{border-color:#00c7584d}@supports (color:color-mix(in lab, red, red)){.border-green-500\\/30{border-color:color-mix(in oklab, var(--color-green-500) 30%, transparent)}}.border-green-500\\/80{border-color:#00c758cc}@supports (color:color-mix(in lab, red, red)){.border-green-500\\/80{border-color:color-mix(in oklab, var(--color-green-500) 80%, transparent)}}.border-indigo-500\\/80{border-color:#625fffcc}@supports (color:color-mix(in lab, red, red)){.border-indigo-500\\/80{border-color:color-mix(in oklab, var(--color-indigo-500) 80%, transparent)}}.border-lime-500\\/30{border-color:#80cd004d}@supports (color:color-mix(in lab, red, red)){.border-lime-500\\/30{border-color:color-mix(in oklab, var(--color-lime-500) 30%, transparent)}}.border-neutral-500\\/30{border-color:#7373734d}@supports (color:color-mix(in lab, red, red)){.border-neutral-500\\/30{border-color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.border-orange-500\\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab, red, red)){.border-orange-500\\/30{border-color:color-mix(in oklab, var(--color-orange-500) 30%, transparent)}}.border-rose-500{border-color:var(--color-rose-500)}.border-rose-500\\/30{border-color:#ff23574d}@supports (color:color-mix(in lab, red, red)){.border-rose-500\\/30{border-color:color-mix(in oklab, var(--color-rose-500) 30%, transparent)}}.border-transparent{border-color:#0000}.border-transparent\\!{border-color:#0000!important}.border-white\\/0{border-color:#0000}@supports (color:color-mix(in lab, red, red)){.border-white\\/0{border-color:color-mix(in oklab, var(--color-white) 0%, transparent)}}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.border-white\\/5{border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.border-white\\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.border-white\\/10{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10{background-color:var(--fubi-hover-thread-color,oklch(58.5% .233 277.117))}@supports (color:color-mix(in lab, red, red)){.bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10{background-color:color-mix(in oklab, var(--fubi-hover-thread-color,var(--color-indigo-500)) 10%, transparent)}}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-amber-950\\/80{background-color:#461901cc}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\\/80{background-color:color-mix(in oklab, var(--color-amber-950) 80%, transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab, red, red)){.bg-black\\/40{background-color:color-mix(in oklab, var(--color-black) 40%, transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-black\\/80{background-color:#000c}@supports (color:color-mix(in lab, red, red)){.bg-black\\/80{background-color:color-mix(in oklab, var(--color-black) 80%, transparent)}}.bg-current{background-color:currentColor}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab, red, red)){.bg-green-400\\/10{background-color:color-mix(in oklab, var(--color-green-400) 10%, transparent)}}.bg-green-400\\/20{background-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.bg-green-400\\/20{background-color:color-mix(in oklab, var(--color-green-400) 20%, transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\\/5{background-color:#00c7580d}@supports (color:color-mix(in lab, red, red)){.bg-green-500\\/5{background-color:color-mix(in oklab, var(--color-green-500) 5%, transparent)}}.bg-green-500\\/10{background-color:#00c7581a}@supports (color:color-mix(in lab, red, red)){.bg-green-500\\/10{background-color:color-mix(in oklab, var(--color-green-500) 10%, transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-500\\/10{background-color:#625fff1a}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\\/10{background-color:color-mix(in oklab, var(--color-indigo-500) 10%, transparent)}}.bg-indigo-500\\/15{background-color:#625fff26}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\\/15{background-color:color-mix(in oklab, var(--color-indigo-500) 15%, transparent)}}.bg-indigo-500\\/20{background-color:#625fff33}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\\/20{background-color:color-mix(in oklab, var(--color-indigo-500) 20%, transparent)}}.bg-indigo-600\\/80{background-color:#4f39f6cc}@supports (color:color-mix(in lab, red, red)){.bg-indigo-600\\/80{background-color:color-mix(in oklab, var(--color-indigo-600) 80%, transparent)}}.bg-lime-400{background-color:var(--color-lime-400)}.bg-lime-500\\/10{background-color:#80cd001a}@supports (color:color-mix(in lab, red, red)){.bg-lime-500\\/10{background-color:color-mix(in oklab, var(--color-lime-500) 10%, transparent)}}.bg-lime-950{background-color:var(--color-lime-950)}.bg-neutral-500\\/0{background-color:#0000}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\\/0{background-color:color-mix(in oklab, var(--color-neutral-500) 0%, transparent)}}.bg-neutral-500\\/10{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\\/10{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.bg-neutral-500\\/20{background-color:#73737333}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\\/20{background-color:color-mix(in oklab, var(--color-neutral-500) 20%, transparent)}}.bg-neutral-500\\/40{background-color:#73737366}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\\/40{background-color:color-mix(in oklab, var(--color-neutral-500) 40%, transparent)}}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\\/70{background-color:#262626b3}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\\/70{background-color:color-mix(in oklab, var(--color-neutral-800) 70%, transparent)}}.bg-neutral-800\\/80{background-color:#262626cc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\\/80{background-color:color-mix(in oklab, var(--color-neutral-800) 80%, transparent)}}.bg-neutral-800\\/90{background-color:#262626e6}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\\/90{background-color:color-mix(in oklab, var(--color-neutral-800) 90%, transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-neutral-900\\/1{background-color:#17171703}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\\/1{background-color:color-mix(in oklab, var(--color-neutral-900) 1%, transparent)}}.bg-neutral-900\\/90{background-color:#171717e6}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\\/90{background-color:color-mix(in oklab, var(--color-neutral-900) 90%, transparent)}}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\\/5{background-color:#fe6e000d}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\\/5{background-color:color-mix(in oklab, var(--color-orange-500) 5%, transparent)}}.bg-orange-500\\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\\/10{background-color:color-mix(in oklab, var(--color-orange-500) 10%, transparent)}}.bg-red-600\\/5{background-color:#e400140d}@supports (color:color-mix(in lab, red, red)){.bg-red-600\\/5{background-color:color-mix(in oklab, var(--color-red-600) 5%, transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-500\\/5{background-color:#ff23570d}@supports (color:color-mix(in lab, red, red)){.bg-rose-500\\/5{background-color:color-mix(in oklab, var(--color-rose-500) 5%, transparent)}}.bg-rose-500\\/10{background-color:#ff23571a}@supports (color:color-mix(in lab, red, red)){.bg-rose-500\\/10{background-color:color-mix(in oklab, var(--color-rose-500) 10%, transparent)}}.bg-rose-500\\/15{background-color:#ff235726}@supports (color:color-mix(in lab, red, red)){.bg-rose-500\\/15{background-color:color-mix(in oklab, var(--color-rose-500) 15%, transparent)}}.bg-rose-700{background-color:var(--color-rose-700)}.bg-sky-400{background-color:var(--color-sky-400)}.bg-sky-400\\/5{background-color:#00bcfe0d}@supports (color:color-mix(in lab, red, red)){.bg-sky-400\\/5{background-color:color-mix(in oklab, var(--color-sky-400) 5%, transparent)}}.bg-sky-500{background-color:var(--color-sky-500)}.bg-sky-500\\/0{background-color:#0000}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\\/0{background-color:color-mix(in oklab, var(--color-sky-500) 0%, transparent)}}.bg-sky-500\\/10{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\\/10{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.bg-sky-500\\/20{background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\\/20{background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.bg-sky-500\\/30{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\\/30{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.bg-sky-600{background-color:var(--color-sky-600)}.bg-sky-600\\/80{background-color:#0084cccc}@supports (color:color-mix(in lab, red, red)){.bg-sky-600\\/80{background-color:color-mix(in oklab, var(--color-sky-600) 80%, transparent)}}.bg-sky-950\\/80{background-color:#052f4acc}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\\/80{background-color:color-mix(in oklab, var(--color-sky-950) 80%, transparent)}}.bg-slate-400{background-color:var(--color-slate-400)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/0{background-color:#0000}@supports (color:color-mix(in lab, red, red)){.bg-white\\/0{background-color:color-mix(in oklab, var(--color-white) 0%, transparent)}}.bg-white\\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.bg-white\\/5{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.bg-white\\/8{background-color:#ffffff14}@supports (color:color-mix(in lab, red, red)){.bg-white\\/8{background-color:color-mix(in oklab, var(--color-white) 8%, transparent)}}.bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\\/10{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.bg-white\\/15{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-br{--tw-gradient-position:to bottom right}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-br{--tw-gradient-position:to bottom right in oklab}}.bg-linear-to-br{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-radial{--tw-gradient-position:in oklab;background-image:radial-gradient(var(--tw-gradient-stops))}.from-indigo-300{--tw-gradient-from:var(--color-indigo-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-neutral-500\\/0{--tw-gradient-from:#0000}@supports (color:color-mix(in lab, red, red)){.from-neutral-500\\/0{--tw-gradient-from:color-mix(in oklab, var(--color-neutral-500) 0%, transparent)}}.from-neutral-500\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-neutral-800\\/70{--tw-gradient-from:#262626b3}@supports (color:color-mix(in lab, red, red)){.from-neutral-800\\/70{--tw-gradient-from:color-mix(in oklab, var(--color-neutral-800) 70%, transparent)}}.from-neutral-800\\/70{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-neutral-800\\/80{--tw-gradient-from:#262626cc}@supports (color:color-mix(in lab, red, red)){.from-neutral-800\\/80{--tw-gradient-from:color-mix(in oklab, var(--color-neutral-800) 80%, transparent)}}.from-neutral-800\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-neutral-800\\/90{--tw-gradient-from:#262626e6}@supports (color:color-mix(in lab, red, red)){.from-neutral-800\\/90{--tw-gradient-from:color-mix(in oklab, var(--color-neutral-800) 90%, transparent)}}.from-neutral-800\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-sky-950\\/0{--tw-gradient-from:#0000}@supports (color:color-mix(in lab, red, red)){.from-sky-950\\/0{--tw-gradient-from:color-mix(in oklab, var(--color-sky-950) 0%, transparent)}}.from-sky-950\\/0{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/5{--tw-gradient-from:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.from-white\\/5{--tw-gradient-from:color-mix(in oklab, var(--color-white) 5%, transparent)}}.from-white\\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-0\\%{--tw-gradient-from-position:0%}.from-40\\%{--tw-gradient-from-position:40%}.to-indigo-400{--tw-gradient-to:var(--color-indigo-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-500\\/30{--tw-gradient-to:#7373734d}@supports (color:color-mix(in lab, red, red)){.to-neutral-500\\/30{--tw-gradient-to:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.to-neutral-500\\/30{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-900\\/70{--tw-gradient-to:#171717b3}@supports (color:color-mix(in lab, red, red)){.to-neutral-900\\/70{--tw-gradient-to:color-mix(in oklab, var(--color-neutral-900) 70%, transparent)}}.to-neutral-900\\/70{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-900\\/80{--tw-gradient-to:#171717cc}@supports (color:color-mix(in lab, red, red)){.to-neutral-900\\/80{--tw-gradient-to:color-mix(in oklab, var(--color-neutral-900) 80%, transparent)}}.to-neutral-900\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-900\\/90{--tw-gradient-to:#171717e6}@supports (color:color-mix(in lab, red, red)){.to-neutral-900\\/90{--tw-gradient-to:color-mix(in oklab, var(--color-neutral-900) 90%, transparent)}}.to-neutral-900\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-sky-950{--tw-gradient-to:var(--color-sky-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white\\/1{--tw-gradient-to:#ffffff03}@supports (color:color-mix(in lab, red, red)){.to-white\\/1{--tw-gradient-to:color-mix(in oklab, var(--color-white) 1%, transparent)}}.to-white\\/1{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-30\\%{--tw-gradient-to-position:30%}.mask-r-from-90\\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-right:linear-gradient(to right, var(--tw-mask-right-from-color) var(--tw-mask-right-from-position), var(--tw-mask-right-to-color) var(--tw-mask-right-to-position));--tw-mask-right-from-position:90%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.fill-\\(--fubi-hover-thread-color\\,\\#6366f1\\){fill:var(--fubi-hover-thread-color,#6366f1)}.fill-\\[var\\(--fubi-hover-default-color\\,\\#0ea5e9\\)\\]{fill:var(--fubi-hover-default-color,#0ea5e9)}.fill-\\[var\\(--fubi-hover-done-color\\,\\#22c55e\\)\\]{fill:var(--fubi-hover-done-color,#22c55e)}.fill-\\[var\\(--fubi-hover-error-color\\,\\#ef4444\\)\\]{fill:var(--fubi-hover-error-color,#ef4444)}.fill-\\[var\\(--fubi-hover-invisible-color\\,\\#ea580c\\)\\]{fill:var(--fubi-hover-invisible-color,#ea580c)}.fill-\\[var\\(--fubi-hover-not-allowed-color\\,\\#737373\\)\\]{fill:var(--fubi-hover-not-allowed-color,#737373)}.fill-transparent{fill:#0000}.stroke-\\(--fubi-hover-thread-color\\,\\#6366f1\\){stroke:var(--fubi-hover-thread-color,#6366f1)}.stroke-\\[var\\(--fubi-hover-default-color\\,\\#0ea5e9\\)\\]{stroke:var(--fubi-hover-default-color,#0ea5e9)}.stroke-\\[var\\(--fubi-hover-done-color\\,\\#22c55e\\)\\]{stroke:var(--fubi-hover-done-color,#22c55e)}.stroke-\\[var\\(--fubi-hover-error-color\\,\\#ef4444\\)\\]{stroke:var(--fubi-hover-error-color,#ef4444)}.stroke-\\[var\\(--fubi-hover-invisible-color\\,\\#ea580c\\)\\]{stroke:var(--fubi-hover-invisible-color,#ea580c)}.stroke-\\[var\\(--fubi-hover-isolation-color\\,\\#6366f1\\)\\]{stroke:var(--fubi-hover-isolation-color,#6366f1)}.stroke-\\[var\\(--fubi-hover-not-allowed-color\\,\\#737373\\)\\]{stroke:var(--fubi-hover-not-allowed-color,#737373)}.stroke-2{stroke-width:2px}.stroke-\\[1\\.6px\\]{stroke-width:1.6px}.stroke-\\[2\\.5px\\]{stroke-width:2.5px}.stroke-\\[2px\\]{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing) * 1)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.p-10{padding:calc(var(--spacing) * 10)}.p-12{padding:calc(var(--spacing) * 12)}.p-14{padding:calc(var(--spacing) * 14)}.p-16{padding:calc(var(--spacing) * 16)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-10{padding-inline:calc(var(--spacing) * 10)}.px-12{padding-inline:calc(var(--spacing) * 12)}.px-14{padding-inline:calc(var(--spacing) * 14)}.px-16{padding-inline:calc(var(--spacing) * 16)}.px-\\[21px\\]{padding-inline:21px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-0\\.75{padding-block:calc(var(--spacing) * .75)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-16{padding-block:calc(var(--spacing) * 16)}.py-24{padding-block:calc(var(--spacing) * 24)}.pt-\\(--fubi-navbar-height\\){padding-top:var(--fubi-navbar-height)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pt-\\[2px\\]{padding-top:2px}.pt-px{padding-top:1px}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-4\\.5{padding-right:calc(var(--spacing) * 4.5)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pr-14{padding-right:calc(var(--spacing) * 14)}.pr-16{padding-right:calc(var(--spacing) * 16)}.pr-18{padding-right:calc(var(--spacing) * 18)}.pr-24{padding-right:calc(var(--spacing) * 24)}.pr-28{padding-right:calc(var(--spacing) * 28)}.pr-\\[42px\\]{padding-right:42px}.pb-0\\.5{padding-bottom:calc(var(--spacing) * .5)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-7{padding-bottom:calc(var(--spacing) * 7)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-1\\.5{padding-left:calc(var(--spacing) * 1.5)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-10{padding-left:calc(var(--spacing) * 10)}.pl-12{padding-left:calc(var(--spacing) * 12)}.pl-14{padding-left:calc(var(--spacing) * 14)}.pl-28{padding-left:calc(var(--spacing) * 28)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-2xl\\/\\[120\\%\\]{font-size:var(--text-2xl);line-height:120%}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-\\[10px\\]\\/none{font-size:10px;line-height:1}.text-\\[11px\\]\\/none{font-size:11px;line-height:1}.text-\\[12px\\]\\/none{font-size:12px;line-height:1}.text-\\[13px\\]\\/\\[110\\%\\]{font-size:13px;line-height:110%}.text-\\[13px\\]\\/\\[114\\%\\]{font-size:13px;line-height:114%}.text-\\[13px\\]\\/\\[130\\%\\]{font-size:13px;line-height:130%}.text-\\[13px\\]\\/none{font-size:13px;line-height:1}.text-\\[14px\\]\\/\\[110\\%\\]{font-size:14px;line-height:110%}.text-\\[14px\\]\\/none{font-size:14px;line-height:1}.text-\\[15px\\]\\/\\[110\\%\\]{font-size:15px;line-height:110%}.text-\\[15px\\]\\/none{font-size:15px;line-height:1}.text-\\[16px\\]\\/\\[110\\%\\]{font-size:16px;line-height:110%}.text-\\[17px\\]\\/none{font-size:17px;line-height:1}.text-\\[18px\\]\\/none{font-size:18px;line-height:1}.text-\\[20px\\]\\/\\[114\\%\\]{font-size:20px;line-height:114%}.text-\\[24px\\]\\/\\[114\\%\\]{font-size:24px;line-height:114%}.text-base\\/none{font-size:var(--text-base);line-height:1}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-lg\\/\\[110\\%\\]{font-size:var(--text-lg);line-height:110%}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\\/\\[140\\%\\]{font-size:var(--text-sm);line-height:140%}.text-sm\\/none{font-size:var(--text-sm);line-height:1}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xl\\/\\[120\\%\\]{font-size:var(--text-xl);line-height:120%}.text-xl\\/none{font-size:var(--text-xl);line-height:1}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\\/none{font-size:var(--text-xs);line-height:1}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.leading-\\[140\\%\\]{--tw-leading:140%;line-height:140%}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.02em\\]{--tw-tracking:.02em;letter-spacing:.02em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-balance{text-wrap:balance}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.\\!text-orange-400{color:var(--color-orange-400)!important}.\\!text-rose-400{color:var(--color-rose-400)!important}.text-amber-400{color:var(--color-amber-400)}.text-amber-500{color:var(--color-amber-500)}.text-current{color:currentColor}.text-emerald-400{color:var(--color-emerald-400)}.text-gray-500{color:var(--color-gray-500)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-indigo-200{color:var(--color-indigo-200)}.text-indigo-300{color:var(--color-indigo-300)}.text-indigo-400{color:var(--color-indigo-400)}.text-lime-300{color:var(--color-lime-300)}.text-lime-400{color:var(--color-lime-400)}.text-lime-950{color:var(--color-lime-950)}.text-neutral-50{color:var(--color-neutral-50)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\\/50{color:#ff8b1a80}@supports (color:color-mix(in lab, red, red)){.text-orange-400\\/50{color:color-mix(in oklab, var(--color-orange-400) 50%, transparent)}}.text-orange-400\\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab, red, red)){.text-orange-400\\/70{color:color-mix(in oklab, var(--color-orange-400) 70%, transparent)}}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-red-400{color:var(--color-red-400)}.text-rose-100{color:var(--color-rose-100)}.text-rose-200{color:var(--color-rose-200)}.text-rose-400{color:var(--color-rose-400)}.text-rose-500{color:var(--color-rose-500)}.text-sky-50{color:var(--color-sky-50)}.text-sky-300{color:var(--color-sky-300)}.text-sky-400{color:var(--color-sky-400)}.text-sky-500{color:var(--color-sky-500)}.text-sky-950{color:var(--color-sky-950)}.text-slate-950{color:var(--color-slate-950)}.text-white{color:var(--color-white)}.text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.text-white\\/30{color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.text-white\\/40{color:#fff6}@supports (color:color-mix(in lab, red, red)){.text-white\\/40{color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.text-white\\/50{color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.text-white\\/60{color:#fff9}@supports (color:color-mix(in lab, red, red)){.text-white\\/60{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.glass-hover{will-change:box-shadow, background-color, scale;transition-property:box-shadow,background-color,scale;transition-duration:.1s;transition-timing-function:ease-out;box-shadow:inset 0 0 #00000040,inset 0 0 #fff0,0 0 #0000,inset 0 0 #fff0,inset 0 0 .5px #fff0}.glass-hover:hover{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}.glass-hover:active{box-shadow:inset -2px -2px 8px #ffffff0d,inset 2px 2px 8px #0000004d,inset .7px .7px #fff3,inset -.7px -.7px .7px #ffffff1a}.glass{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}.glass-pressed{box-shadow:inset -2px -2px 8px #ffffff0d,inset 2px 2px 8px #0000004d,inset .7px .7px #fff3,inset -.7px -.7px .7px #ffffff1a}.glass-shadow{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.shadow-sky-500\\/40{--tw-shadow-color:#00a5ef66}@supports (color:color-mix(in lab, red, red)){.shadow-sky-500\\/40{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-sky-500) 40%, transparent) var(--tw-shadow-alpha), transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-\\[0\\.5px\\]{outline-style:var(--tw-outline-style);outline-width:.5px}.outline-\\[0\\.7px\\]{outline-style:var(--tw-outline-style);outline-width:.7px}.outline-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\){outline-color:var(--fubi-hover-thread-color,var(--color-indigo-500))}.outline-black\\/20{outline-color:#0003}@supports (color:color-mix(in lab, red, red)){.outline-black\\/20{outline-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.outline-orange-500\\/20{outline-color:#fe6e0033}@supports (color:color-mix(in lab, red, red)){.outline-orange-500\\/20{outline-color:color-mix(in oklab, var(--color-orange-500) 20%, transparent)}}.outline-sky-500{outline-color:var(--color-sky-500)}.outline-sky-500\\/0{outline-color:#0000}@supports (color:color-mix(in lab, red, red)){.outline-sky-500\\/0{outline-color:color-mix(in oklab, var(--color-sky-500) 0%, transparent)}}.outline-sky-500\\/30{outline-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.outline-sky-500\\/30{outline-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.outline-white\\/0{outline-color:#0000}@supports (color:color-mix(in lab, red, red)){.outline-white\\/0{outline-color:color-mix(in oklab, var(--color-white) 0%, transparent)}}.outline-white\\/10{outline-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.outline-white\\/10{outline-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.outline-white\\/30{outline-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.outline-white\\/30{outline-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-2xl{--tw-drop-shadow-size:drop-shadow(0 25px 25px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-2xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-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-blur-lg{--tw-backdrop-blur:blur(var(--blur-lg));-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-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-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-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-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-filter{-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{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,color\\,scale\\,box-shadow\\]{transition-property:background-color,color,scale,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,color\\,scale\\]{transition-property:background-color,color,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,color\\,transform\\]{transition-property:background-color,color,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,color\\]{transition-property:background-color,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\,scale\\]{transition-property:background-color,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[background-color\\]{transition-property:background-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[border-color\\,max-height\\,opacity\\]{transition-property:border-color,max-height,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[border-color\\]{transition-property:border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[bottom\\,color\\,font-size\\]{transition-property:bottom,color,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,background-color\\,scale\\]{transition-property:color,background-color,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[font-size\\,translate\\,color\\]{transition-property:font-size,translate,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[height\\]{transition-property:height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[max-height\\,opacity\\,margin\\]{transition-property:max-height,opacity,margin;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,background-color\\,scale\\]{transition-property:opacity,background-color,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,background-color\\]{transition-property:opacity,background-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\,outline\\]{transition-property:opacity,scale,outline;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\,translate\\]{transition-property:opacity,scale,translate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\]{transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[padding-top\\]{transition-property:padding-top;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[rotate\\,scale\\,opacity\\]{transition-property:rotate,scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[rotate\\]{transition-property:rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\,background-color\\,border-radius\\]{transition-property:scale,background-color,border-radius;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\,background-color\\,color\\]{transition-property:scale,background-color,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\,background-color\\]{transition-property:scale,background-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\,opacity\\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\,translate\\,width\\]{transition-property:scale,translate,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[scale\\]{transition-property:scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[stroke-dasharray\\,background-color\\,fill\\,stroke\\]{transition-property:stroke-dasharray,background-color,fill,stroke;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[translate\\,color\\]{transition-property:translate,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[translate\\,scale\\,opacity\\]{transition-property:translate,scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[translate\\]{transition-property:translate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\]{transition-property:width,height;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-100{transition-delay:.1s}.duration-0{--tw-duration:0s;transition-duration:0s}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-400{--tw-duration:.4s;transition-duration:.4s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-600{--tw-duration:.6s;transition-duration:.6s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-cubic{--tw-ease:var(--ease-in-cubic);transition-timing-function:var(--ease-in-cubic)}.ease-in-out-cubic{--tw-ease:var(--ease-in-out-cubic);transition-timing-function:var(--ease-in-out-cubic)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.ease-out-cubic{--tw-ease:var(--ease-out-cubic);transition-timing-function:var(--ease-out-cubic)}.will-change-\\[background-color\\,color\\,scale\\]{will-change:background-color,color,scale}.will-change-\\[background-color\\,scale\\]{will-change:background-color,scale}.will-change-\\[border-color\\]{will-change:border-color}.will-change-\\[bottom\\,color\\,font-size\\]{will-change:bottom,color,font-size}.will-change-\\[color\\,background-color\\,scale\\]{will-change:color,background-color,scale}.will-change-\\[height\\]{will-change:height}.will-change-\\[opacity\\,background-color\\]{will-change:opacity,background-color}.will-change-\\[opacity\\,scale\\,outline\\]{will-change:opacity,scale,outline}.will-change-\\[opacity\\,scale\\,translate\\]{will-change:opacity,scale,translate}.will-change-\\[opacity\\,scale\\]{will-change:opacity,scale}.will-change-\\[opacity\\]{will-change:opacity}.will-change-\\[padding-top\\]{will-change:padding-top}.will-change-\\[rotate\\,scale\\,opacity\\]{will-change:rotate,scale,opacity}.will-change-\\[scale\\,opacity\\]{will-change:scale,opacity}.will-change-\\[scale\\]{will-change:scale}.will-change-\\[translate\\,scale\\,opacity\\]{will-change:translate,scale,opacity}.will-change-\\[translate\\]{will-change:translate}.will-change-\\[width\\,height\\]{will-change:width,height}.will-change-transform{will-change:transform}.animate-in{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[sheet\\:keyboard\\]{sheet:keyboard}.\\[sheet\\:touchEnd\\]{sheet:touchEnd}.delay-100{animation-delay:.1s}.duration-0{animation-duration:0s}.duration-75{animation-duration:75ms}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-400{animation-duration:.4s}.duration-500{animation-duration:.5s}.duration-600{animation-duration:.6s}.duration-1000{animation-duration:1s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-cubic{animation-timing-function:cubic-bezier(.5,0,.6,.2)}.ease-in-out-cubic{animation-timing-function:cubic-bezier(.6,0,.35,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ease-out-cubic{animation-timing-function:cubic-bezier(.2,.6,.35,1)}.fade-in-0{--tw-enter-opacity:0}.paused{animation-play-state:paused}.running{animation-play-state:running}.spin-in{--tw-enter-rotate:30deg}.zoom-in-95{--tw-enter-scale:.95}.group-first\\/comment\\:mask-t-from-50\\%:is(:where(.group\\/comment):first-child *){-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-top:linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));--tw-mask-top-from-position:50%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.group-last\\/comment\\:hidden:is(:where(.group\\/comment):last-child *){display:none}.group-last\\/listitemwrap\\:mb-0:is(:where(.group\\/listitemwrap):last-child *){margin-bottom:calc(var(--spacing) * 0)}.group-focus-within\\/file\\:scale-100:is(:where(.group\\/file):focus-within *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-focus-within\\/file\\:opacity-100:is(:where(.group\\/file):focus-within *){opacity:1}@media (hover:hover){.group-hover\\/file\\:scale-100:is(:where(.group\\/file):hover *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\/file\\:opacity-100:is(:where(.group\\/file):hover *){opacity:1}.group-hover\\/focus-button\\:text-orange-100:is(:where(.group\\/focus-button):hover *){color:var(--color-orange-100)}.group-hover\\/listitem\\:text-sky-300:is(:where(.group\\/listitem):hover *){color:var(--color-sky-300)}.group-hover\\/new-comment-pin\\:rotate-45:is(:where(.group\\/new-comment-pin):hover *){rotate:45deg}.group-hover\\/resize\\:scale-200:is(:where(.group\\/resize):hover *){--tw-scale-x:200%;--tw-scale-y:200%;--tw-scale-z:200%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\/window\\:opacity-50:is(:where(.group\\/window):hover *){opacity:.5}}.group-active\\/resize\\:scale-170:is(:where(.group\\/resize):active *){--tw-scale-x:170%;--tw-scale-y:170%;--tw-scale-z:170%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-active\\/resize\\:bg-sky-500:is(:where(.group\\/resize):active *){background-color:var(--color-sky-500)}.group-disabled\\/listitem\\:text-current:is(:where(.group\\/listitem):disabled *){color:currentColor}.group-disabled\\/listitem\\:text-neutral-500\\/50:is(:where(.group\\/listitem):disabled *){color:#73737380}@supports (color:color-mix(in lab, red, red)){.group-disabled\\/listitem\\:text-neutral-500\\/50:is(:where(.group\\/listitem):disabled *){color:color-mix(in oklab, var(--color-neutral-500) 50%, transparent)}}.group-has-\\[button\\:hover\\]\\/el\\:border-indigo-500\\/30:is(:where(.group\\/el):has(:is(button:hover)) *){border-color:#625fff4d}@supports (color:color-mix(in lab, red, red)){.group-has-\\[button\\:hover\\]\\/el\\:border-indigo-500\\/30:is(:where(.group\\/el):has(:is(button:hover)) *){border-color:color-mix(in oklab, var(--color-indigo-500) 30%, transparent)}}.group-has-\\[button\\:hover\\]\\/el\\:bg-indigo-500\\/10:is(:where(.group\\/el):has(:is(button:hover)) *){background-color:#625fff1a}@supports (color:color-mix(in lab, red, red)){.group-has-\\[button\\:hover\\]\\/el\\:bg-indigo-500\\/10:is(:where(.group\\/el):has(:is(button:hover)) *){background-color:color-mix(in oklab, var(--color-indigo-500) 10%, transparent)}}.group-has-\\[input\\:disabled\\]\\/input\\:opacity-40:is(:where(.group\\/input):has(:is(input:disabled)) *){opacity:.4}.group-aria-disabled\\/item\\:opacity-30:is(:where(.group\\/item)[aria-disabled=true] *){opacity:.3}.group-data-active\\/item\\:text-white:is(:where(.group\\/item)[data-active] *){color:var(--color-white)}.group-data-active\\/listitem\\:text-sky-500:is(:where(.group\\/listitem)[data-active] *){color:var(--color-sky-500)}.peer-checked\\:translate-x-\\[12px\\]:is(:where(.peer):checked~*){--tw-translate-x:12px;translate:var(--tw-translate-x) var(--tw-translate-y)}.peer-checked\\:stroke-\\[2\\.5px\\]:is(:where(.peer):checked~*){stroke-width:2.5px}.peer-checked\\:text-green-400:is(:where(.peer):checked~*){color:var(--color-green-400)}.peer-checked\\:text-rose-400:is(:where(.peer):checked~*){color:var(--color-rose-400)}.peer-checked\\:opacity-100:is(:where(.peer):checked~*){opacity:1}.peer-placeholder-shown\\:opacity-80:is(:where(.peer):placeholder-shown~*){opacity:.8}@media (hover:hover){.peer-hover\\:text-neutral-200:is(:where(.peer):hover~*){color:var(--color-neutral-200)}.peer-checked\\:peer-hover\\:text-green-300:is(:where(.peer):checked~*):is(:where(.peer):hover~*){color:var(--color-green-300)}.peer-checked\\:peer-hover\\:text-rose-50:is(:where(.peer):checked~*):is(:where(.peer):hover~*){color:var(--color-rose-50)}.peer-checked\\:peer-hover\\:text-rose-400:is(:where(.peer):checked~*):is(:where(.peer):hover~*){color:var(--color-rose-400)}}.peer-focus\\:bottom-\\[18px\\]:is(:where(.peer):focus~*){bottom:18px}.peer-focus\\:text-xs\\/none:is(:where(.peer):focus~*){font-size:var(--text-xs);line-height:1}.peer-focus\\:opacity-0:is(:where(.peer):focus~*){opacity:0}.peer-focus-visible\\:text-neutral-400:is(:where(.peer):focus-visible~*){color:var(--color-neutral-400)}.peer-active\\:text-green-400:is(:where(.peer):active~*){color:var(--color-green-400)}.peer-active\\:text-rose-400:is(:where(.peer):active~*){color:var(--color-rose-400)}.peer-checked\\:peer-active\\:text-rose-300:is(:where(.peer):checked~*):is(:where(.peer):active~*){color:var(--color-rose-300)}.peer-checked\\:peer-active\\:text-white:is(:where(.peer):checked~*):is(:where(.peer):active~*){color:var(--color-white)}.peer-\\[\\:not\\(\\:placeholder-shown\\)\\]\\:bottom-\\[18px\\]:is(:where(.peer):not(:placeholder-shown)~*){bottom:18px}.peer-\\[\\:not\\(\\:placeholder-shown\\)\\]\\:text-xs\\/none:is(:where(.peer):not(:placeholder-shown)~*){font-size:var(--text-xs);line-height:1}.placeholder\\:text-neutral-500::placeholder{color:var(--color-neutral-500)}.placeholder\\:text-white\\/30::placeholder{color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.placeholder\\:text-white\\/30::placeholder{color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.first\\:rounded-t-\\[16px\\]:first-child{border-top-left-radius:16px;border-top-right-radius:16px}.first\\:pl-4:first-child{padding-left:calc(var(--spacing) * 4)}.last\\:rounded-b-\\[16px\\]:last-child{border-bottom-right-radius:16px;border-bottom-left-radius:16px}.last\\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pr-4:last-child{padding-right:calc(var(--spacing) * 4)}.checked\\:bg-green-500\\/20:checked{background-color:#00c75833}@supports (color:color-mix(in lab, red, red)){.checked\\:bg-green-500\\/20:checked{background-color:color-mix(in oklab, var(--color-green-500) 20%, transparent)}}.checked\\:bg-rose-400\\/10:checked{background-color:#ff667f1a}@supports (color:color-mix(in lab, red, red)){.checked\\:bg-rose-400\\/10:checked{background-color:color-mix(in oklab, var(--color-rose-400) 10%, transparent)}}@media (hover:hover){.hover\\:scale-\\[1\\.05\\]:hover{scale:1.05}.hover\\:border-white\\/20:hover{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:border-white\\/20:hover{border-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:bg-green-500\\/10:hover{background-color:#00c7581a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-green-500\\/10:hover{background-color:color-mix(in oklab, var(--color-green-500) 10%, transparent)}}.hover\\:bg-green-600\\/10:hover{background-color:#00a5441a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-green-600\\/10:hover{background-color:color-mix(in oklab, var(--color-green-600) 10%, transparent)}}.hover\\:bg-lime-400\\/10:hover{background-color:#9de5001a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-lime-400\\/10:hover{background-color:color-mix(in oklab, var(--color-lime-400) 10%, transparent)}}.hover\\:bg-lime-500:hover{background-color:var(--color-lime-500)}.hover\\:bg-neutral-400\\/10:hover{background-color:#a1a1a11a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-neutral-400\\/10:hover{background-color:color-mix(in oklab, var(--color-neutral-400) 10%, transparent)}}.hover\\:bg-neutral-500\\/10:hover{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-neutral-500\\/10:hover{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.hover\\:bg-neutral-500\\/20:hover{background-color:#73737333}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-neutral-500\\/20:hover{background-color:color-mix(in oklab, var(--color-neutral-500) 20%, transparent)}}.hover\\:bg-neutral-500\\/40:hover{background-color:#73737366}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-neutral-500\\/40:hover{background-color:color-mix(in oklab, var(--color-neutral-500) 40%, transparent)}}.hover\\:bg-neutral-600:hover{background-color:var(--color-neutral-600)}.hover\\:bg-neutral-700\\/80:hover{background-color:#404040cc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-neutral-700\\/80:hover{background-color:color-mix(in oklab, var(--color-neutral-700) 80%, transparent)}}.hover\\:bg-orange-500\\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-orange-500\\/20:hover{background-color:color-mix(in oklab, var(--color-orange-500) 20%, transparent)}}.hover\\:bg-red-600\\/15:hover{background-color:#e4001426}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-red-600\\/15:hover{background-color:color-mix(in oklab, var(--color-red-600) 15%, transparent)}}.hover\\:bg-rose-400\\/10:hover{background-color:#ff667f1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-rose-400\\/10:hover{background-color:color-mix(in oklab, var(--color-rose-400) 10%, transparent)}}.hover\\:bg-rose-500\\/20:hover{background-color:#ff235733}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-rose-500\\/20:hover{background-color:color-mix(in oklab, var(--color-rose-500) 20%, transparent)}}.hover\\:bg-rose-600\\/10:hover{background-color:#e700441a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-rose-600\\/10:hover{background-color:color-mix(in oklab, var(--color-rose-600) 10%, transparent)}}.hover\\:bg-rose-900\\/80:hover{background-color:#8b0836cc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-rose-900\\/80:hover{background-color:color-mix(in oklab, var(--color-rose-900) 80%, transparent)}}.hover\\:bg-rose-950\\/80:hover{background-color:#4d0218cc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-rose-950\\/80:hover{background-color:color-mix(in oklab, var(--color-rose-950) 80%, transparent)}}.hover\\:bg-sky-400\\/20:hover{background-color:#00bcfe33}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-400\\/20:hover{background-color:color-mix(in oklab, var(--color-sky-400) 20%, transparent)}}.hover\\:bg-sky-500:hover{background-color:var(--color-sky-500)}.hover\\:bg-sky-500\\/10:hover{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-500\\/10:hover{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.hover\\:bg-sky-500\\/20:hover{background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-500\\/20:hover{background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.hover\\:bg-sky-500\\/30:hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-500\\/30:hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.hover\\:bg-sky-900\\/80:hover{background-color:#024a70cc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-900\\/80:hover{background-color:color-mix(in oklab, var(--color-sky-900) 80%, transparent)}}.hover\\:bg-sky-950\\/80:hover{background-color:#052f4acc}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-sky-950\\/80:hover{background-color:color-mix(in oklab, var(--color-sky-950) 80%, transparent)}}.hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/15:hover{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:text-neutral-50:hover{color:var(--color-neutral-50)}.hover\\:text-neutral-200:hover{color:var(--color-neutral-200)}.hover\\:text-neutral-300:hover{color:var(--color-neutral-300)}.hover\\:text-rose-100:hover{color:var(--color-rose-100)}.hover\\:text-sky-200:hover{color:var(--color-sky-200)}.hover\\:text-sky-300:hover{color:var(--color-sky-300)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-60:hover{opacity:.6}.hover\\:opacity-100:hover{opacity:1}.checked\\:hover\\:bg-green-500\\/20:checked:hover{background-color:#00c75833}@supports (color:color-mix(in lab, red, red)){.checked\\:hover\\:bg-green-500\\/20:checked:hover{background-color:color-mix(in oklab, var(--color-green-500) 20%, transparent)}}.checked\\:hover\\:bg-rose-600\\/10:checked:hover{background-color:#e700441a}@supports (color:color-mix(in lab, red, red)){.checked\\:hover\\:bg-rose-600\\/10:checked:hover{background-color:color-mix(in oklab, var(--color-rose-600) 10%, transparent)}}}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-white\\/20:focus{--tw-ring-color:#fff3}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-white\\/20:focus{--tw-ring-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:bg-neutral-500\\/10:focus-visible{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:bg-neutral-500\\/10:focus-visible{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.focus-visible\\:bg-neutral-500\\/20:focus-visible{background-color:#73737333}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:bg-neutral-500\\/20:focus-visible{background-color:color-mix(in oklab, var(--color-neutral-500) 20%, transparent)}}.focus-visible\\:text-neutral-400:focus-visible{color:var(--color-neutral-400)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-98:active{--tw-scale-x:98%;--tw-scale-y:98%;--tw-scale-z:98%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-100:active{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[\\.98\\]:active{scale:.98}.active\\:bg-green-400\\/10:active{background-color:#05df721a}@supports (color:color-mix(in lab, red, red)){.active\\:bg-green-400\\/10:active{background-color:color-mix(in oklab, var(--color-green-400) 10%, transparent)}}.active\\:bg-lime-400\\/20:active{background-color:#9de50033}@supports (color:color-mix(in lab, red, red)){.active\\:bg-lime-400\\/20:active{background-color:color-mix(in oklab, var(--color-lime-400) 20%, transparent)}}.active\\:bg-lime-900:active{background-color:var(--color-lime-900)}.active\\:bg-neutral-400\\/20:active{background-color:#a1a1a133}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-400\\/20:active{background-color:color-mix(in oklab, var(--color-neutral-400) 20%, transparent)}}.active\\:bg-neutral-500:active{background-color:var(--color-neutral-500)}.active\\:bg-neutral-500\\/10:active{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-500\\/10:active{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.active\\:bg-neutral-500\\/20:active{background-color:#73737333}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-500\\/20:active{background-color:color-mix(in oklab, var(--color-neutral-500) 20%, transparent)}}.active\\:bg-neutral-500\\/30:active{background-color:#7373734d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-500\\/30:active{background-color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.active\\:bg-neutral-600\\/20:active{background-color:#52525233}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-600\\/20:active{background-color:color-mix(in oklab, var(--color-neutral-600) 20%, transparent)}}.active\\:bg-neutral-600\\/80:active{background-color:#525252cc}@supports (color:color-mix(in lab, red, red)){.active\\:bg-neutral-600\\/80:active{background-color:color-mix(in oklab, var(--color-neutral-600) 80%, transparent)}}.active\\:bg-orange-500\\/30:active{background-color:#fe6e004d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-orange-500\\/30:active{background-color:color-mix(in oklab, var(--color-orange-500) 30%, transparent)}}.active\\:bg-rose-400\\/10:active{background-color:#ff667f1a}@supports (color:color-mix(in lab, red, red)){.active\\:bg-rose-400\\/10:active{background-color:color-mix(in oklab, var(--color-rose-400) 10%, transparent)}}.active\\:bg-rose-500\\/20:active{background-color:#ff235733}@supports (color:color-mix(in lab, red, red)){.active\\:bg-rose-500\\/20:active{background-color:color-mix(in oklab, var(--color-rose-500) 20%, transparent)}}.active\\:bg-rose-500\\/30:active{background-color:#ff23574d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-rose-500\\/30:active{background-color:color-mix(in oklab, var(--color-rose-500) 30%, transparent)}}.active\\:bg-rose-800\\/80:active{background-color:#a30037cc}@supports (color:color-mix(in lab, red, red)){.active\\:bg-rose-800\\/80:active{background-color:color-mix(in oklab, var(--color-rose-800) 80%, transparent)}}.active\\:bg-rose-900\\/80:active{background-color:#8b0836cc}@supports (color:color-mix(in lab, red, red)){.active\\:bg-rose-900\\/80:active{background-color:color-mix(in oklab, var(--color-rose-900) 80%, transparent)}}.active\\:bg-sky-500\\/10:active{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-500\\/10:active{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.active\\:bg-sky-500\\/20:active{background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-500\\/20:active{background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.active\\:bg-sky-500\\/30:active{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-500\\/30:active{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.active\\:bg-sky-500\\/40:active{background-color:#00a5ef66}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-500\\/40:active{background-color:color-mix(in oklab, var(--color-sky-500) 40%, transparent)}}.active\\:bg-sky-800\\/80:active{background-color:#005986cc}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-800\\/80:active{background-color:color-mix(in oklab, var(--color-sky-800) 80%, transparent)}}.active\\:bg-sky-900\\/80:active{background-color:#024a70cc}@supports (color:color-mix(in lab, red, red)){.active\\:bg-sky-900\\/80:active{background-color:color-mix(in oklab, var(--color-sky-900) 80%, transparent)}}.active\\:bg-white\\/5:active{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-white\\/5:active{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.active\\:bg-white\\/10:active{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.active\\:bg-white\\/10:active{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.active\\:bg-white\\/15:active{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.active\\:bg-white\\/15:active{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.active\\:bg-white\\/20:active{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.active\\:bg-white\\/20:active{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.active\\:text-sky-200:active{color:var(--color-sky-200)}.active\\:text-white:active{color:var(--color-white)}.active\\:duration-200:active{--tw-duration:.2s;transition-duration:.2s;animation-duration:.2s}.checked\\:active\\:bg-green-600:checked:active{background-color:var(--color-green-600)}.checked\\:active\\:bg-rose-600\\/20:checked:active{background-color:#e7004433}@supports (color:color-mix(in lab, red, red)){.checked\\:active\\:bg-rose-600\\/20:checked:active{background-color:color-mix(in oklab, var(--color-rose-600) 20%, transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-sky-500\\/0:disabled{background-color:#0000}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-sky-500\\/0:disabled{background-color:color-mix(in oklab, var(--color-sky-500) 0%, transparent)}}.disabled\\:bg-white\\/10:disabled{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.disabled\\:bg-white\\/10:disabled{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.disabled\\:text-neutral-500\\/30:disabled{color:#7373734d}@supports (color:color-mix(in lab, red, red)){.disabled\\:text-neutral-500\\/30:disabled{color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.disabled\\:text-white:disabled{color:var(--color-white)}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:grayscale:disabled{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.has-checked\\:bg-sky-500:has(:checked){background-color:var(--color-sky-500)}.has-checked\\:bg-sky-600:has(:checked){background-color:var(--color-sky-600)}.has-disabled\\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-\\[\\.comment-focus\\:hover\\]\\:bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10:has(.comment-focus:hover){background-color:var(--fubi-hover-thread-color,oklch(58.5% .233 277.117))}@supports (color:color-mix(in lab, red, red)){.has-\\[\\.comment-focus\\:hover\\]\\:bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10:has(.comment-focus:hover){background-color:color-mix(in oklab, var(--fubi-hover-thread-color,var(--color-indigo-500)) 10%, transparent)}}.has-\\[\\.comment-focus\\:hover\\]\\:outline-1:has(.comment-focus:hover){outline-style:var(--tw-outline-style);outline-width:1px}.has-\\[\\.comment-focus\\:hover\\]\\:outline-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\):has(.comment-focus:hover){outline-color:var(--fubi-hover-thread-color,var(--color-indigo-500))}.has-\\[mark\\]\\:inline:has(:is(mark)){display:inline}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[fubi-pin-hover\\]\\:bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10[data-fubi-pin-hover]{background-color:var(--fubi-hover-thread-color,oklch(58.5% .233 277.117))}@supports (color:color-mix(in lab, red, red)){.data-\\[fubi-pin-hover\\]\\:bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10[data-fubi-pin-hover]{background-color:color-mix(in oklab, var(--fubi-hover-thread-color,var(--color-indigo-500)) 10%, transparent)}}.data-\\[fubi-pin-hover\\]\\:outline-1[data-fubi-pin-hover]{outline-style:var(--tw-outline-style);outline-width:1px}.data-\\[fubi-pin-hover\\]\\:outline-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)[data-fubi-pin-hover]{outline-color:var(--fubi-hover-thread-color,var(--color-indigo-500))}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-x}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:x}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-x}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:x}.data-\\[state\\=checked\\]\\:text-white[data-state=checked]{color:var(--color-white)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-80[data-state=closed]{--tw-exit-scale:80%}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-80[data-state=open]{--tw-enter-scale:80%}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}@media (width>=40rem){.sm\\:flex-row{flex-direction:row}}@media (width>=64rem){.lg\\:grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}}@media (pointer:coarse){.touch\\:top-0{top:calc(var(--spacing) * 0)}.touch\\:top-1{top:calc(var(--spacing) * 1)}.touch\\:top-8{top:calc(var(--spacing) * 8)}.touch\\:top-12{top:calc(var(--spacing) * 12)}.touch\\:top-auto{top:auto}.touch\\:right-0{right:calc(var(--spacing) * 0)}.touch\\:right-1{right:calc(var(--spacing) * 1)}.touch\\:right-14{right:calc(var(--spacing) * 14)}.touch\\:right-48{right:calc(var(--spacing) * 48)}.touch\\:bottom-16{bottom:calc(var(--spacing) * 16)}.touch\\:bottom-auto{bottom:auto}.touch\\:z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+1\\)\\]{z-index:calc(var(--infinity,2147490000) + 1)}.touch\\:z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+2\\)\\]{z-index:calc(var(--infinity,2147490000) + 2)}.touch\\:z-\\[calc\\(var\\(--infinity\\,2147490000\\)\\+3\\)\\]{z-index:calc(var(--infinity,2147490000) + 3)}.touch\\:hidden{display:none}.touch\\:size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.touch\\:size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.touch\\:size-18{width:calc(var(--spacing) * 18);height:calc(var(--spacing) * 18)}.touch\\:size-20{width:calc(var(--spacing) * 20);height:calc(var(--spacing) * 20)}.touch\\:size-24{width:calc(var(--spacing) * 24);height:calc(var(--spacing) * 24)}.touch\\:size-26{width:calc(var(--spacing) * 26);height:calc(var(--spacing) * 26)}.touch\\:size-28{width:calc(var(--spacing) * 28);height:calc(var(--spacing) * 28)}.touch\\:size-30{width:calc(var(--spacing) * 30);height:calc(var(--spacing) * 30)}.touch\\:size-32{width:calc(var(--spacing) * 32);height:calc(var(--spacing) * 32)}.touch\\:size-36{width:calc(var(--spacing) * 36);height:calc(var(--spacing) * 36)}.touch\\:size-44{width:calc(var(--spacing) * 44);height:calc(var(--spacing) * 44)}.touch\\:h-\\(--fubi-navbar-height-touch\\){height:var(--fubi-navbar-height-touch)}.touch\\:h-28{height:calc(var(--spacing) * 28)}.touch\\:h-32{height:calc(var(--spacing) * 32)}.touch\\:h-36{height:calc(var(--spacing) * 36)}.touch\\:h-44{height:calc(var(--spacing) * 44)}.touch\\:h-48{height:calc(var(--spacing) * 48)}.touch\\:h-64{height:calc(var(--spacing) * 64)}.touch\\:h-\\[20px\\]{height:20px}.touch\\:h-\\[22px\\]{height:22px}.touch\\:h-\\[calc\\(100\\%\\+1px\\)\\]{height:calc(100% + 1px)}.touch\\:min-h-56{min-height:calc(var(--spacing) * 56)}.touch\\:min-h-\\[46px\\]{min-height:46px}.touch\\:w-6{width:calc(var(--spacing) * 6)}.touch\\:w-\\[26px\\]{width:26px}.touch\\:w-\\[28px\\]{width:28px}.touch\\:max-w-56{max-width:calc(var(--spacing) * 56)}.touch\\:max-w-\\[min\\(320px\\,calc\\(100\\%-48px\\)\\)\\]{max-width:min(320px,100% - 48px)}.touch\\:max-w-full{max-width:100%}.touch\\:min-w-0{min-width:calc(var(--spacing) * 0)}.touch\\:min-w-36{min-width:calc(var(--spacing) * 36)}.touch\\:min-w-44{min-width:calc(var(--spacing) * 44)}.touch\\:min-w-48{min-width:calc(var(--spacing) * 48)}.touch\\:-translate-y-14{--tw-translate-y:calc(var(--spacing) * -14);translate:var(--tw-translate-x) var(--tw-translate-y)}.touch\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.touch\\:gap-0{gap:calc(var(--spacing) * 0)}.touch\\:gap-2{gap:calc(var(--spacing) * 2)}.touch\\:gap-6{gap:calc(var(--spacing) * 6)}.touch\\:gap-8{gap:calc(var(--spacing) * 8)}.touch\\:gap-10{gap:calc(var(--spacing) * 10)}.touch\\:gap-12{gap:calc(var(--spacing) * 12)}.touch\\:rounded-\\[8px\\]{border-radius:8px}.touch\\:rounded-\\[10px\\]{border-radius:10px}.touch\\:rounded-\\[12px\\]{border-radius:12px}.touch\\:rounded-\\[14px\\]{border-radius:14px}.touch\\:rounded-\\[16px\\]{border-radius:16px}.touch\\:rounded-\\[18px\\]{border-radius:18px}.touch\\:rounded-\\[24px\\]{border-radius:24px}.touch\\:rounded-\\[25px\\]{border-radius:25px}.touch\\:rounded-\\[32px\\]{border-radius:32px}.touch\\:rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.touch\\:bg-neutral-500\\/10{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-neutral-500\\/10{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.touch\\:bg-neutral-800\\/90{background-color:#262626e6}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-neutral-800\\/90{background-color:color-mix(in oklab, var(--color-neutral-800) 90%, transparent)}}.touch\\:bg-neutral-900{background-color:var(--color-neutral-900)}.touch\\:bg-neutral-900\\/80{background-color:#171717cc}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-neutral-900\\/80{background-color:color-mix(in oklab, var(--color-neutral-900) 80%, transparent)}}.touch\\:bg-orange-400\\/10{background-color:#ff8b1a1a}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-orange-400\\/10{background-color:color-mix(in oklab, var(--color-orange-400) 10%, transparent)}}.touch\\:bg-sky-500\\/10{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-sky-500\\/10{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.touch\\:bg-white\\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.touch\\:bg-white\\/5{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.touch\\:mask-b-from-0\\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-bottom:linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));--tw-mask-bottom-from-position:0%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.touch\\:p-10{padding:calc(var(--spacing) * 10)}.touch\\:p-12{padding:calc(var(--spacing) * 12)}.touch\\:p-14{padding:calc(var(--spacing) * 14)}.touch\\:px-2{padding-inline:calc(var(--spacing) * 2)}.touch\\:px-4{padding-inline:calc(var(--spacing) * 4)}.touch\\:px-6{padding-inline:calc(var(--spacing) * 6)}.touch\\:px-8{padding-inline:calc(var(--spacing) * 8)}.touch\\:px-14{padding-inline:calc(var(--spacing) * 14)}.touch\\:px-18{padding-inline:calc(var(--spacing) * 18)}.touch\\:px-20{padding-inline:calc(var(--spacing) * 20)}.touch\\:py-10{padding-block:calc(var(--spacing) * 10)}.touch\\:py-14{padding-block:calc(var(--spacing) * 14)}.touch\\:py-16{padding-block:calc(var(--spacing) * 16)}.touch\\:pt-\\(--fubi-navbar-height-touch\\){padding-top:var(--fubi-navbar-height-touch)}.touch\\:pt-10{padding-top:calc(var(--spacing) * 10)}.touch\\:pr-10{padding-right:calc(var(--spacing) * 10)}.touch\\:pr-56{padding-right:calc(var(--spacing) * 56)}.touch\\:pb-16{padding-bottom:calc(var(--spacing) * 16)}.touch\\:text-2xl\\/\\[120\\%\\]{font-size:var(--text-2xl);line-height:120%}.touch\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.touch\\:text-\\[14px\\]\\/\\[130\\%\\]{font-size:14px;line-height:130%}.touch\\:text-\\[17px\\]\\/none{font-size:17px;line-height:1}.touch\\:text-\\[18px\\]\\/none{font-size:18px;line-height:1}.touch\\:text-\\[28px\\]\\/\\[114\\%\\]{font-size:28px;line-height:114%}.touch\\:text-\\[32px\\]\\/\\[114\\%\\]{font-size:32px;line-height:114%}.touch\\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.touch\\:text-base\\/none{font-size:var(--text-base);line-height:1}.touch\\:text-sm\\/none{font-size:var(--text-sm);line-height:1}.touch\\:text-xl\\/\\[110\\%\\]{font-size:var(--text-xl);line-height:110%}.touch\\:text-neutral-400{color:var(--color-neutral-400)}.touch\\:text-white{color:var(--color-white)}.touch\\:opacity-100{opacity:1}.touch\\:glass{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}.touch\\:outline-3{outline-style:var(--tw-outline-style);outline-width:3px}.touch\\:outline-neutral-900{outline-color:var(--color-neutral-900)}.touch\\:active\\:bg-neutral-500\\/20:active{background-color:#73737333}@supports (color:color-mix(in lab, red, red)){.touch\\:active\\:bg-neutral-500\\/20:active{background-color:color-mix(in oklab, var(--color-neutral-500) 20%, transparent)}}.touch\\:active\\:bg-neutral-500\\/30:active{background-color:#7373734d}@supports (color:color-mix(in lab, red, red)){.touch\\:active\\:bg-neutral-500\\/30:active{background-color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.touch\\:active\\:bg-rose-500\\/20:active{background-color:#ff235733}@supports (color:color-mix(in lab, red, red)){.touch\\:active\\:bg-rose-500\\/20:active{background-color:color-mix(in oklab, var(--color-rose-500) 20%, transparent)}}.touch\\:active\\:bg-sky-500\\/20:active{background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.touch\\:active\\:bg-sky-500\\/20:active{background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}}@media (pointer:fine){.mouse\\:right-16{right:calc(var(--spacing) * 16)}.mouse\\:bottom-16{bottom:calc(var(--spacing) * 16)}.mouse\\:left-auto{left:auto}.mouse\\:hidden{display:none}.mouse\\:size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.mouse\\:size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.mouse\\:size-20{width:calc(var(--spacing) * 20);height:calc(var(--spacing) * 20)}.mouse\\:size-26{width:calc(var(--spacing) * 26);height:calc(var(--spacing) * 26)}.mouse\\:h-22{height:calc(var(--spacing) * 22)}.mouse\\:h-32{height:calc(var(--spacing) * 32)}.mouse\\:min-h-28{min-height:calc(var(--spacing) * 28)}.mouse\\:min-h-\\[36px\\]{min-height:36px}.mouse\\:min-h-\\[44px\\]{min-height:44px}.mouse\\:w-24{width:calc(var(--spacing) * 24)}.mouse\\:w-42{width:calc(var(--spacing) * 42)}.mouse\\:min-w-120{min-width:calc(var(--spacing) * 120)}.mouse\\:translate-x-0{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.mouse\\:gap-2{gap:calc(var(--spacing) * 2)}.mouse\\:gap-3{gap:calc(var(--spacing) * 3)}.mouse\\:gap-6{gap:calc(var(--spacing) * 6)}.mouse\\:rounded-\\(--fubi-rounded-mouse\\){border-radius:var(--fubi-rounded-mouse)}.mouse\\:rounded-\\[6px\\]{border-radius:6px}.mouse\\:rounded-\\[8px\\]{border-radius:8px}.mouse\\:bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.mouse\\:bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.mouse\\:bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.mouse\\:from-neutral-800{--tw-gradient-from:var(--color-neutral-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.mouse\\:from-10\\%{--tw-gradient-from-position:10%}.mouse\\:to-neutral-900{--tw-gradient-to:var(--color-neutral-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.mouse\\:p-4{padding:calc(var(--spacing) * 4)}.mouse\\:px-6{padding-inline:calc(var(--spacing) * 6)}.mouse\\:pr-6{padding-right:calc(var(--spacing) * 6)}.mouse\\:pl-2{padding-left:calc(var(--spacing) * 2)}.mouse\\:text-\\[11px\\]\\/\\[110\\%\\]{font-size:11px;line-height:110%}.mouse\\:text-\\[13px\\]\\/\\[110\\%\\]{font-size:13px;line-height:110%}.mouse\\:text-\\[15px\\]\\/\\[140\\%\\]{font-size:15px;line-height:140%}.mouse\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.mouse\\:text-xs\\/\\[105\\%\\]{font-size:var(--text-xs);line-height:105%}.mouse\\:text-xs\\/\\[114\\%\\]{font-size:var(--text-xs);line-height:114%}.mouse\\:text-xs\\/\\[120\\%\\]{font-size:var(--text-xs);line-height:120%}.mouse\\:text-xs\\/none{font-size:var(--text-xs);line-height:1}.mouse\\:glass-hover{will-change:box-shadow, background-color, scale;transition-property:box-shadow,background-color,scale;transition-duration:.1s;transition-timing-function:ease-out;box-shadow:inset 0 0 #00000040,inset 0 0 #fff0,0 0 #0000,inset 0 0 #fff0,inset 0 0 .5px #fff0}.mouse\\:glass-hover:hover{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}.mouse\\:glass-hover:active{box-shadow:inset -2px -2px 8px #ffffff0d,inset 2px 2px 8px #0000004d,inset .7px .7px #fff3,inset -.7px -.7px .7px #ffffff1a}.mouse\\:glass{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}@media (hover:hover){.mouse\\:hover\\:bg-orange-500\\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab, red, red)){.mouse\\:hover\\:bg-orange-500\\/10:hover{background-color:color-mix(in oklab, var(--color-orange-500) 10%, transparent)}}.mouse\\:hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.mouse\\:hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.mouse\\:hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.mouse\\:hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.mouse\\:hover\\:text-\\(--fubi-hover-thread-color\\):hover{color:var(--fubi-hover-thread-color)}.mouse\\:hover\\:text-orange-400:hover{color:var(--color-orange-400)}}}#fubi-wrapper .app\\:top-8{top:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:right-8{right:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:left-10{left:calc(var(--spacing) * 10)}#fubi-wrapper .app\\:mx-8{margin-inline:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:my-4{margin-block:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:mt-0{margin-top:calc(var(--spacing) * 0)}#fubi-wrapper .app\\:mt-12{margin-top:calc(var(--spacing) * 12)}#fubi-wrapper .app\\:size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}#fubi-wrapper .app\\:size-18{width:calc(var(--spacing) * 18);height:calc(var(--spacing) * 18)}#fubi-wrapper .app\\:size-20{width:calc(var(--spacing) * 20);height:calc(var(--spacing) * 20)}#fubi-wrapper .app\\:size-22{width:calc(var(--spacing) * 22);height:calc(var(--spacing) * 22)}#fubi-wrapper .app\\:size-24{width:calc(var(--spacing) * 24);height:calc(var(--spacing) * 24)}#fubi-wrapper .app\\:size-26{width:calc(var(--spacing) * 26);height:calc(var(--spacing) * 26)}#fubi-wrapper .app\\:size-28{width:calc(var(--spacing) * 28);height:calc(var(--spacing) * 28)}#fubi-wrapper .app\\:size-32{width:calc(var(--spacing) * 32);height:calc(var(--spacing) * 32)}#fubi-wrapper .app\\:size-36{width:calc(var(--spacing) * 36);height:calc(var(--spacing) * 36)}#fubi-wrapper .app\\:size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}#fubi-wrapper .app\\:h-1{height:calc(var(--spacing) * 1)}#fubi-wrapper .app\\:h-32{height:calc(var(--spacing) * 32)}#fubi-wrapper .app\\:h-36{height:calc(var(--spacing) * 36)}#fubi-wrapper .app\\:max-w-\\[256px\\]{max-width:256px}#fubi-wrapper .app\\:min-w-0{min-width:calc(var(--spacing) * 0)}#fubi-wrapper .app\\:gap-0{gap:calc(var(--spacing) * 0)}#fubi-wrapper .app\\:gap-1{gap:calc(var(--spacing) * 1)}#fubi-wrapper .app\\:gap-4{gap:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:gap-6{gap:calc(var(--spacing) * 6)}#fubi-wrapper .app\\:gap-8{gap:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:p-4{padding:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:px-4{padding-inline:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:px-8{padding-inline:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:px-10{padding-inline:calc(var(--spacing) * 10)}#fubi-wrapper .app\\:px-12{padding-inline:calc(var(--spacing) * 12)}#fubi-wrapper .app\\:px-14{padding-inline:calc(var(--spacing) * 14)}#fubi-wrapper .app\\:px-20{padding-inline:calc(var(--spacing) * 20)}#fubi-wrapper .app\\:py-2{padding-block:calc(var(--spacing) * 2)}#fubi-wrapper .app\\:py-3{padding-block:calc(var(--spacing) * 3)}#fubi-wrapper .app\\:py-4{padding-block:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:py-6{padding-block:calc(var(--spacing) * 6)}#fubi-wrapper .app\\:py-8{padding-block:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:py-10{padding-block:calc(var(--spacing) * 10)}#fubi-wrapper .app\\:py-32{padding-block:calc(var(--spacing) * 32)}#fubi-wrapper .app\\:pt-0{padding-top:calc(var(--spacing) * 0)}#fubi-wrapper .app\\:pr-4{padding-right:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:pr-8{padding-right:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:pr-10{padding-right:calc(var(--spacing) * 10)}#fubi-wrapper .app\\:pr-12{padding-right:calc(var(--spacing) * 12)}#fubi-wrapper .app\\:pr-18{padding-right:calc(var(--spacing) * 18)}#fubi-wrapper .app\\:pr-24{padding-right:calc(var(--spacing) * 24)}#fubi-wrapper .app\\:pr-28{padding-right:calc(var(--spacing) * 28)}#fubi-wrapper .app\\:pb-2{padding-bottom:calc(var(--spacing) * 2)}#fubi-wrapper .app\\:pb-px{padding-bottom:1px}#fubi-wrapper .app\\:pl-4{padding-left:calc(var(--spacing) * 4)}#fubi-wrapper .app\\:pl-6{padding-left:calc(var(--spacing) * 6)}#fubi-wrapper .app\\:pl-8{padding-left:calc(var(--spacing) * 8)}#fubi-wrapper .app\\:pl-12{padding-left:calc(var(--spacing) * 12)}#fubi-wrapper .app\\:text-sm\\/none{font-size:var(--text-sm);line-height:1}#fubi-wrapper .app\\:text-xl\\/\\[120\\%\\]{font-size:var(--text-xl);line-height:120%}#fubi-wrapper .app\\:text-xl\\/none{font-size:var(--text-xl);line-height:1}@media (pointer:coarse){#fubi-wrapper .touch\\:app\\:top-12{top:calc(var(--spacing) * 12)}#fubi-wrapper .touch\\:app\\:right-14{right:calc(var(--spacing) * 14)}#fubi-wrapper .touch\\:app\\:size-20{width:calc(var(--spacing) * 20);height:calc(var(--spacing) * 20)}#fubi-wrapper .touch\\:app\\:size-22{width:calc(var(--spacing) * 22);height:calc(var(--spacing) * 22)}#fubi-wrapper .touch\\:app\\:size-36{width:calc(var(--spacing) * 36);height:calc(var(--spacing) * 36)}#fubi-wrapper .touch\\:app\\:h-32{height:calc(var(--spacing) * 32)}#fubi-wrapper .touch\\:app\\:h-42{height:calc(var(--spacing) * 42)}#fubi-wrapper .touch\\:app\\:h-\\[26px\\]{height:26px}#fubi-wrapper .touch\\:app\\:w-52{width:calc(var(--spacing) * 52)}#fubi-wrapper .touch\\:app\\:w-\\[46px\\]{width:46px}#fubi-wrapper .touch\\:app\\:gap-6{gap:calc(var(--spacing) * 6)}#fubi-wrapper .touch\\:app\\:p-8{padding:calc(var(--spacing) * 8)}#fubi-wrapper .touch\\:app\\:px-16{padding-inline:calc(var(--spacing) * 16)}#fubi-wrapper .touch\\:app\\:px-20{padding-inline:calc(var(--spacing) * 20)}#fubi-wrapper .touch\\:app\\:py-16{padding-block:calc(var(--spacing) * 16)}#fubi-wrapper .touch\\:app\\:pt-\\[2px\\]{padding-top:2px}#fubi-wrapper .touch\\:app\\:pt-px{padding-top:1px}#fubi-wrapper .touch\\:app\\:pr-16{padding-right:calc(var(--spacing) * 16)}#fubi-wrapper .touch\\:app\\:pr-56{padding-right:calc(var(--spacing) * 56)}#fubi-wrapper .touch\\:app\\:pl-2{padding-left:calc(var(--spacing) * 2)}#fubi-wrapper .touch\\:app\\:pl-12{padding-left:calc(var(--spacing) * 12)}#fubi-wrapper .touch\\:app\\:text-2xl\\/\\[120\\%\\]{font-size:var(--text-2xl);line-height:120%}}.android .android\\:hidden{display:none}.android .android\\:bg-black{background-color:var(--color-black)}.android .android\\:bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.android .android\\:bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.android .android\\:bg-indigo-600{background-color:var(--color-indigo-600)}.android .android\\:bg-neutral-800{background-color:var(--color-neutral-800)}.android .android\\:bg-neutral-900{background-color:var(--color-neutral-900)}.android .android\\:bg-sky-600{background-color:var(--color-sky-600)}.android .android\\:bg-sky-950{background-color:var(--color-sky-950)}.android .android\\:from-neutral-800{--tw-gradient-from:var(--color-neutral-800);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.android .android\\:to-neutral-900{--tw-gradient-to:var(--color-neutral-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.android .android\\:\\!shadow-none{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important}.android .android\\:backdrop-blur-none{--tw-backdrop-blur: ;-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,)}.\\[\\&_span\\]\\:text-white span{color:var(--color-white)}.android .glass{box-shadow:inset 0 0 0 1px #ffffff0d}.android .glass-hover{box-shadow:none}.android .glass-hover:hover{box-shadow:inset 0 0 0 1px #ffffff0d}.android .glass-hover:active{box-shadow:inset 0 0 0 1px #ffffff14}.android .glass-shadow{box-shadow:inset 0 0 0 1px #ffffff0d,0 8px 12px #00000026}.android .glass-pressed{box-shadow:inset 0 0 0 1px #ffffff14}}.absolute-center{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;top:50%;left:50%}:host{--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-left:linear-gradient(#fff, #fff);--tw-mask-right:linear-gradient(#fff, #fff);--tw-mask-bottom:linear-gradient(#fff, #fff);--tw-mask-top:linear-gradient(#fff, #fff);--tw-mask-top-from-color:black;--tw-mask-top-to-color:transparent;--tw-mask-top-from-position:0%;--tw-mask-top-to-position:100%;--tw-mask-bottom-from-color:black;--tw-mask-bottom-to-color:transparent;--tw-mask-bottom-from-position:0%;--tw-mask-bottom-to-position:100%;--tw-mask-left-from-color:black;--tw-mask-left-to-color:transparent;--tw-mask-left-from-position:0%;--tw-mask-left-to-position:100%;--tw-mask-right-from-color:black;--tw-mask-right-to-color:transparent;--tw-mask-right-from-position:0%;--tw-mask-right-to-position:100%;--tw-mask-linear-from-color:black;--tw-mask-linear-to-color:transparent;--tw-mask-linear-from-position:0%;--tw-mask-linear-to-position:100%;--tw-mask-linear-position:0deg;--tw-mask-radial-from-color:black;--tw-mask-radial-to-color:transparent;--tw-mask-radial-from-position:0%;--tw-mask-radial-to-position:100%;--tw-mask-radial-position:center;--tw-mask-radial-shape:ellipse;--tw-mask-radial-size:farthest-corner;--tw-mask-conic-from-color:black;--tw-mask-conic-to-color:transparent;--tw-mask-conic-from-position:0%;--tw-mask-conic-to-position:100%;--tw-mask-conic-position:0deg;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-space-x-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--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-duration:initial;--tw-ease:initial;--tw-outline-style:solid;--px:.5px;--tw-scroll-snap-strictness:proximity;--fubi-toolbar-height:44px;--fubi-toolbar-bottom:20px;--fubi-toolbar-right:1rem;--fubi-navbar-height:48px;--fubi-navbar-height-touch:72px;--fubi-tabbar-height:68px;--fubi-tabbar-height-touch:72px;--fubi-window-right:16px;--fubi-window-bottom:calc(var(--fubi-toolbar-height) + var(--fubi-toolbar-bottom) + 2px);--fubi-window-bg:transparent;--fubi-ease-forward:cubic-bezier(.2, 1, .3, 1);--fubi-ease-back:cubic-bezier(.4, 0, .7, .1);--fubi-router-duration-forward:.4s;--fubi-router-duration-back:.3s;--fubi-rounded:38px;--fubi-rounded-mouse:30px;--fubi-rotate-to:40deg;--fubi-translate-x-difference:0%;--fubi-translate-z-difference:-300px}@media (pointer:coarse){:host{--fubi-rotate-to:0deg;--fubi-window-right:0px;--fubi-translate-x-difference:-20%;--fubi-translate-z-difference:0px;--fubi-toolbar-height:50px}.router-transition-forward .page-current{animation-timing-function:var(--fubi-ease-forward)}}.page{transform:translateX(calc(100% + var(--fubi-window-right))) rotateY(var(--fubi-rotate-to));transition:box-shadow .3s ease-out;position:absolute}.page.page-current{position:relative;transform:translate(0%)}.window{perspective:1200px}.router-transition-forward .page,.router-transition-back .page{transition:none!important}.router-transition-forward .page-next{animation:next-to-current var(--fubi-router-duration-forward) forwards;animation-timing-function:var(--ease-out-cubic);z-index:2}.router-transition-forward .page-current{animation:current-to-prev var(--fubi-router-duration-forward) forwards;animation-timing-function:var(--ease-in-out);z-index:1}.router-transition-back .page-current{animation:current-to-next var(--fubi-router-duration-back) forwards;animation-timing-function:cubic-bezier(.2,0,.4,1)}.router-transition-back .page-previous{animation:prev-to-current var(--fubi-router-duration-forward) forwards;animation-timing-function:var(--ease-out)}@keyframes next-to-current{0%{transform:translateX(calc(100% + var(--fubi-window-right))) rotateY(var(--fubi-rotate-to))}to{transform:translate(0%)rotateY(0)}}@keyframes current-to-next{0%{transform:translate(0%)rotateY(0)}to{transform:translateX(calc(100% + var(--fubi-window-right))) rotateY(var(--fubi-rotate-to))}}@keyframes current-to-prev{0%{transform:translate(0%)translateZ(0)rotateY(0)}to{transform:translateX(var(--fubi-translate-x-difference)) translateZ(var(--fubi-translate-z-difference)) rotateY(0deg)}}@keyframes prev-to-current{0%{transform:translateX(var(--fubi-translate-x-difference)) translateZ(var(--fubi-translate-z-difference)) rotateY(0deg)}to{transform:translate(0%)translateZ(0)rotateY(0)}}.android .router-transition-forward .page-next,.android .router-transition-forward .page-current,.android .router-transition-back .page-current,.android .router-transition-back .page-previous{animation-duration:0s}@media (pointer:coarse){.router-transition-forward .page-next,.router-transition-back .page-previous{animation-timing-function:ease}@keyframes current-to-prev{0%{opacity:1;transform:translate(0%)}50%{opacity:1}to{transform:translateX(var(--fubi-translate-x-difference));opacity:0}}@keyframes prev-to-current{0%{transform:translateX(var(--fubi-translate-x-difference));opacity:0}20%{opacity:1}to{opacity:1;transform:translate(0%)}}}.fubi-scroll-disabled{touch-action:none;overflow:hidden!important}@media (pointer:coarse){.fubi-scroll-disabled{overflow:unset!important}.fubi-scroll-touch-disabled,.fubi-scroll-touch-disabled body{touch-action:none;overflow:hidden!important}}html{touch-action:pan-y}.fubi_hover_enabled :not(#fubi-wrapper):not(#fubi-wrapper *){cursor:default!important}.fubi_hover_enabled video,.fubi_hover_enabled audio,.fubi_hover_enabled iframe{pointer-events:none!important}.fubi_hover_enabled [data-fubi-threads]{outline:2px solid var(--fubi-hover-default-color,#0ea5e9)}@supports (color:color-mix(in lab, red, red)){.fubi_hover_enabled [data-fubi-threads]{outline:2px solid color-mix(in srgb, var(--fubi-hover-default-color,#0ea5e9) 100%, transparent)}}.fubi_hover_enabled [data-fubi-threads]{outline-offset:-1px;--fubi-comments-num:"4";--fubi-el-w:0px;--fubi-el-pt:20px;--fubi-el-pr:20px;--fubi-el-pl:20px}.fubi_isolated [data-fubi-threads]{outline-offset:0;outline:none!important}.fubi_hover_enabled [data-fubi-threads]:not(:has(:hover)):hover{outline-offset:4px;opacity:1;outline:1px dashed #0000}[data-fubi-pin]{display:none!important}.fubi_reattaching [data-fubi-threads]{outline:none!important}.fubi_reattaching [data-fubi-pin]{display:none!important}.fubi-pin-bubble{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;text-align:left;background:#262626cc;border:none;border-radius:2px 16px 16px;flex-direction:column;align-items:flex-start;gap:0;max-width:32px;max-height:32px;padding:4px;transition:max-width .2s ease-out,max-height .2s ease-out,padding .2s ease-out,gap .2s ease-out;display:flex;overflow:hidden}.fubi-pin-bubble:hover{gap:6px;max-width:240px;max-height:220px;padding:6px}.fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin-avatar{background:#ffffff0d;border:.5px solid #ffffff1a;border-radius:9999px;flex-shrink:0;width:24px;height:24px;overflow:hidden}.fubi-pin-avatar img{object-fit:cover;width:100%;height:100%;display:block}.fubi-pin-meta{flex-direction:column;flex-shrink:0;gap:2px;display:flex}.fubi-pin-name{color:#fff;white-space:nowrap;font-size:13px;font-weight:500;line-height:1}.fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin-text{color:#ffffffbf;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;flex-shrink:0;max-width:220px;margin:0;padding:0 2px;font-size:13px;font-weight:400;line-height:1.4;display:-webkit-box;overflow:hidden}@media (pointer:coarse){.fubi-pin-bubble{border-radius:2px 18px 18px;max-width:36px;max-height:36px}.fubi-pin-avatar{width:28px;height:28px}.fubi-pin-bubble:hover{border-radius:2px 16px 16px;max-width:260px;max-height:240px}}.superellipse{corner-shape:superellipse(1.4)}.flex-center{justify-content:center;align-items:center;display:flex}.group-divider{margin-block:calc(var(--spacing) * 1);height:calc(var(--spacing) * 1);--tw-translate-x:calc(var(--spacing) * -1);width:calc(100% + 8px);translate:var(--tw-translate-x) var(--tw-translate-y);border-style:var(--tw-border-style);border-width:.5px;border-right-style:var(--tw-border-style);border-right-width:0;border-left-style:var(--tw-border-style);border-color:#ffffff1a;border-left-width:0;flex-shrink:0}@supports (color:color-mix(in lab, red, red)){.group-divider{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.group-divider{background-color:#0003}@supports (color:color-mix(in lab, red, red)){.group-divider{background-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}#fubi-wrapper .group-divider{margin-block:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4);--tw-translate-x:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.list-divider{margin-inline:calc(var(--spacing) * 0);margin-block:calc(var(--spacing) * 0);background-color:#ffffff1a;flex-shrink:0;height:.5px}@supports (color:color-mix(in lab, red, red)){.list-divider{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.list-divider:last-child{display:none}#fubi-wrapper .list-divider{margin-inline:calc(var(--spacing) * 10);height:calc(var(--spacing) * .5)}.focus-visible{outline:none}.focus-visible:focus-visible{outline:1.5px solid var(--color-sky-500);outline-offset:2px}.focus-visible[aria-invalid=true]:focus-visible{outline-color:var(--color-rose-500)}[data-conte-portal]{isolation:isolate}#fubi-wrapper{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--infinity:2147490000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;font-weight:500}.xxx{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.xxx{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.xxxx{border-style:var(--tw-border-style);border-width:1px;border-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.xxxx{border-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.xxxx{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.xxxx{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.squircle{corner-shape:squircle}.bordered{box-shadow:inset 0 0 0 1px #ffffff1a,inset 0 2px 4px #ffffff1a}.glass-pressed-shadow{box-shadow:inset -2px -2px 8px #ffffff0d,inset 2px 2px 8px #0000004d,inset .7px .7px #fff3,inset -.7px -.7px .7px #ffffff1a,0 8px 12px #00000026}.rim{box-shadow:inset 0 .7px 2px #fff3,inset 0 .5px .5px .7px #ffffff0d}.lift{box-shadow:inset 0 .7px 1px #fff3,inset 0 -.5px 1px #ffffff0d,0 2px 10px #0000001a,0 4px 8px #0000000d}@media (pointer:coarse){.page.rim{box-shadow:inset 0 .7px #fff3}}.android .glass-pressed-shadow{box-shadow:inset 0 0 0 1px #ffffff14,0 8px 12px #00000026}.android .bordered{box-shadow:inset 0 0 0 1px #ffffff1a}.android .rim{box-shadow:inset 0 0 0 1px #ffffff0d}.android .lift{box-shadow:inset 0 0 0 1px #ffffff0d,0 2px 10px #0000001a,0 4px 8px #0000000d}.android .rim-underline,.android .rim-sharp{-webkit-backdrop-filter:none;backdrop-filter:none}input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-background-clip:text;transition:background-color 5000s ease-in-out;box-shadow:inset 0 0 20px 20px #0000}input:-webkit-autofill:hover{-webkit-text-fill-color:#fff;-webkit-background-clip:text;transition:background-color 5000s ease-in-out;box-shadow:inset 0 0 20px 20px #0000}input:-webkit-autofill:focus{-webkit-text-fill-color:#fff;-webkit-background-clip:text;transition:background-color 5000s ease-in-out;box-shadow:inset 0 0 20px 20px #0000}input:-webkit-autofill:active{-webkit-text-fill-color:#fff;-webkit-background-clip:text;transition:background-color 5000s ease-in-out;box-shadow:inset 0 0 20px 20px #0000}input{min-width:0}.window-inner::-webkit-scrollbar{display:none}.hide-scrollbar::-webkit-scrollbar{display:none}@keyframes list-loading{0%{background-color:#64748b0f;transform:scale(1)}30%{background-color:#64748b14;transform:scale(1.02)}60%{background-color:#64748b0f;transform:scale(1)}to{background-color:#64748b0f;transform:scale(1)}}.animate-list-loading{animation:1s ease-in-out infinite list-loading}@keyframes comment-highlight{0%,20%{box-shadow:0 0 0 1.5px #22c55e8c,inset 0 0 0 999px #22c55e24}to{box-shadow:0 0 0 1.5px #22c55e00,inset 0 0 0 999px #22c55e00}}.animate-comment-highlight{animation:comment-highlight 3s var(--ease-out-cubic,ease-out) forwards}@media (prefers-reduced-motion:reduce){.animate-comment-highlight{animation:none}}.animate-list-loading:first-child{animation-delay:0s}.animate-list-loading:nth-child(2){animation-delay:.1s}.animate-list-loading:nth-child(3){animation-delay:.2s}.focus-hidden:focus,.focus-hidden:focus-visible{outline-style:var(--tw-outline-style);outline-width:0}.focus-within:focus-within{outline-style:var(--tw-outline-style);outline-offset:0px;outline-width:1px;outline-color:var(--color-sky-500)}.focus-within:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus-within:has(:invalid){outline-color:var(--color-rose-500)}.focus-within:has(:invalid):focus-within{outline-color:var(--color-rose-500)}.trim-both{text-box-edge:cap alphabetic;text-box-trim:trim-both}.trim-start{text-box-edge:cap alphabetic;text-box-trim:trim-start}.trim-end{text-box-edge:cap alphabetic;text-box-trim:trim-end}.edge-ex{text-box-edge:ex alphabetic!important}@keyframes dashmove{to{stroke-dashoffset:-14px}}.animate-dashes{animation:.5s linear infinite dashmove}[data-fubi-comment-input]:empty:before{content:"New comment...";--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:#fff6}@supports (color:color-mix(in lab, red, red)){[data-fubi-comment-input]:empty:before{color:color-mix(in oklab, var(--color-white) 40%, transparent)}}[data-fubi-comment-input=reply]:empty:before{content:"Reply..."}[data-fubi-comment-input] img{margin-inline:calc(var(--spacing) * 2);max-height:calc(var(--spacing) * 22);--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);cursor:default;opacity:.8;border-radius:6px;display:inline-flex}@media (hover:hover){[data-fubi-comment-input] img:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:1}}[data-fubi-comment-input] span[data-fubi-comment-mention]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-sky-500)}.icon-shadow{filter:drop-shadow(0 1px 1px #0000004d)}mark{color:var(--color-neutral-900);background-color:var(--color-amber-400);border-radius:2px}@keyframes spin-slow{to{transform:rotate(360deg)}}.animate-spin-slow{animation:2s linear infinite spin-slow}.rim-wrapper{position:relative}.rim-container{z-index:0;pointer-events:none;border-radius:inherit;height:100%;position:absolute;inset:0;overflow:clip}.rim-underline,.rim-soft,.rim-sharp{border-radius:inherit;position:absolute;inset:0}.rim-underline{-webkit-backdrop-filter:brightness(.8)saturate(1.3)blur(4px);backdrop-filter:brightness(.8)saturate(1.3)blur(4px);z-index:0;inset:0}.rim-soft{z-index:1;-webkit-mask-composite:source-in, xor;-webkit-mask-composite:source-in,xor;-webkit-mask-source-type:auto;-webkit-mask-composite:source-in,xor;-webkit-mask-source-type:auto;box-shadow:inset 1px 1px 2px #0003,inset -1px -1px 2px #0003;-webkit-mask-image:linear-gradient(to bottom right,#fff 0%,#0000 50%,#fff 100%);mask-image:linear-gradient(to bottom right,#fff 0%,#0000 50%,#fff 100%);-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-size:auto;mask-size:auto;-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-clip:border-box;mask-clip:border-box;-webkit-mask-origin:border-box;mask-origin:border-box;-webkit-mask-composite:source-in,xor;mask-composite:intersect,exclude;-webkit-mask-source-type:auto;mask-mode:match-source}.rim-sharp{-webkit-backdrop-filter:brightness(3)saturate(1.2);backdrop-filter:brightness(3)saturate(1.2);z-index:2;-webkit-mask-composite:source-in, xor;-webkit-mask-composite:source-in,xor;-webkit-mask-source-type:auto,auto,auto;-webkit-mask-composite:source-in,xor;-webkit-mask-source-type:auto,auto,auto;padding:1px;-webkit-mask-image:linear-gradient(to bottom right,#fff 0%,#0000 50%,#fff 100%),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);mask-image:linear-gradient(to bottom right,#fff 0%,#0000 50%,#fff 100%),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);-webkit-mask-position:0 0,0 0,0 0;mask-position:0 0,0 0,0 0;-webkit-mask-size:auto,auto,auto;mask-size:auto,auto,auto;-webkit-mask-repeat:repeat,repeat,repeat;mask-repeat:repeat,repeat,repeat;-webkit-mask-clip:border-box,border-box,content-box;mask-clip:border-box,border-box,content-box;-webkit-mask-origin:border-box,border-box,content-box;mask-origin:border-box,border-box,content-box;-webkit-mask-composite:source-in,xor;mask-composite:intersect,exclude;-webkit-mask-source-type:auto,auto,auto;mask-mode:match-source,match-source,match-source}.rim-content{z-index:1;position:relative}.masker{-webkit-mask:linear-gradient(#000 0%,#000c 50%,#0000 100%);mask:linear-gradient(#000 0%,#000c 50%,#0000 100%)}.break-word{word-break:break-word}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0) scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0) scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-left{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-right{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-bottom{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-top{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-right-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-right-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-right-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-right-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-mask-top-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-top-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-top-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-top-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-mask-bottom-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-bottom-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-bottom-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-bottom-to-color{syntax:"*";inherits:false;initial-value:transparent}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}</style>';const i=document.createElement("div");i.id="fubi-wrapper",i.style.colorScheme="dark",("Android"===navigator.userAgentData?.platform||/Android/.test(navigator.userAgent))&&i.classList.add("android"),o.appendChild(i),document.body.appendChild(r),document.head.insertAdjacentHTML("beforeend",'<style id="fubi-global-styles">.fubi-scroll-disabled{touch-action:none;overflow:hidden!important}@media (pointer:coarse){.fubi-scroll-disabled{overflow:unset!important}.fubi-scroll-touch-disabled,.fubi-scroll-touch-disabled body{touch-action:none;overflow:hidden!important}}html{touch-action:pan-y}.fubi_hover_enabled :not(#fubi-wrapper):not(#fubi-wrapper *){cursor:default!important}.fubi_hover_enabled video,.fubi_hover_enabled audio,.fubi_hover_enabled iframe{pointer-events:none!important}.fubi_hover_enabled [data-fubi-threads]{outline:2px solid color-mix(in srgb, var(--fubi-hover-default-color,#0ea5e9) 100%, transparent);outline-offset:-1px;--fubi-comments-num:"4";--fubi-el-w:0px;--fubi-el-pt:20px;--fubi-el-pr:20px;--fubi-el-pl:20px}.fubi_isolated [data-fubi-threads]{outline-offset:0;outline:none!important}.fubi_hover_enabled [data-fubi-threads]:not(:has(:hover)):hover{outline-offset:4px;opacity:1;outline:1px dashed #0000}[data-fubi-pin]{display:none!important}.fubi_reattaching [data-fubi-threads]{outline:none!important}.fubi_reattaching [data-fubi-pin]{display:none!important}.fubi-pin-bubble{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;text-align:left;background:#262626cc;border:none;border-radius:2px 16px 16px;flex-direction:column;align-items:flex-start;gap:0;max-width:32px;max-height:32px;padding:4px;transition:max-width .2s ease-out,max-height .2s ease-out,padding .2s ease-out,gap .2s ease-out;display:flex;overflow:hidden}.fubi-pin-bubble:hover{gap:6px;max-width:240px;max-height:220px;padding:6px}.fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin-avatar{background:#ffffff0d;border:.5px solid #ffffff1a;border-radius:9999px;flex-shrink:0;width:24px;height:24px;overflow:hidden}.fubi-pin-avatar img{object-fit:cover;width:100%;height:100%;display:block}.fubi-pin-meta{flex-direction:column;flex-shrink:0;gap:2px;display:flex}.fubi-pin-name{color:#fff;white-space:nowrap;font-size:13px;font-weight:500;line-height:1}.fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin-text{color:#ffffffbf;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;flex-shrink:0;max-width:220px;margin:0;padding:0 2px;font-size:13px;font-weight:400;line-height:1.4;display:-webkit-box;overflow:hidden}@media (pointer:coarse){.fubi-pin-bubble{border-radius:2px 18px 18px;max-width:36px;max-height:36px}.fubi-pin-avatar{width:28px;height:28px}.fubi-pin-bubble:hover{border-radius:2px 16px 16px;max-width:260px;max-height:240px}}</style>'),Co(tS,{target:i,props:{projectId:e,options:t,wrapper:i,shadowRoot:o}})}export{fubi as default};
|
|
1
|
+
var t={production:{pocketbase:"https://fubi.wondermakers.dev",admin:"https://dash.fubi.dev",landing:"https://fubi.dev",demo:"https://demo.fubi.dev"},staging:{pocketbase:"https://staging.fubi.wondermakers.dev",admin:"https://staging.dash.fubi.dev",landing:"https://fubi.dev",demo:""},development:{pocketbase:"https://staging.fubi.wondermakers.dev",admin:"https://staging.dash.fubi.dev",landing:"https://fubi.dev",demo:"https://demo.fubi.dev"}};function e(){return e=function(){try{const t=new URLSearchParams(location.search).get("fubi_env"),e=localStorage.getItem("fubi_env"),n=t||e;if("production"===n||"staging"===n||"development"===n)return n;if(location.hostname.includes("staging"))return"staging"}catch{}return"production"}(),t[e]??t.production;var e}var n={channel:"stable",pinnedVersion:null},o=["jsdelivr","esmsh"];function a(t,e="jsdelivr"){switch(e){case"jsdelivr":return`https://cdn.jsdelivr.net/npm/fubi@${t}/dist/app.es.js`;case"unpkg":return`https://unpkg.com/fubi@${t}/dist/app.es.js`;case"esmsh":return`https://esm.sh/fubi@${t}/app?bundle&target=es2022`}}var r="fubi_lkg_version";function i(){try{return localStorage.getItem(r)}catch{return null}}function s(t){try{localStorage.setItem(r,t)}catch{}}async function c(t){let e;for(const r of o)try{return await import(a(t,r))}catch(n){e=n,console.error(`[fubi] failed to load app ${t} via ${r}:`,n)}throw e}function fubi(t,o){if(!t)throw new Error("Please provide a projectId");const a="demo"===t;if(!a){const n=new URLSearchParams(window.location.search).has("fubi"),o=JSON.parse(localStorage.getItem("fubi_toolbar_visible")||"false"),a=!!JSON.parse(localStorage.getItem("fubi_auth")||"null")?.token;if(!n&&!o&&!a)return void async function(t,e){try{const n=function(t=document){const e=e=>t.querySelector(e)?.getAttribute("content")||null,n=e=>t.querySelector(e)?.getAttribute("href")||null;return{shareImage:e("meta[property='og:image']")||e("meta[name='twitter:image']")||e("meta[name='share-image']")||e("meta[name='image']")||e("meta[name='og:image:secure_url']")||e("meta[name='og:image:url']")||null,favicon:n("link[rel='icon']")||n("link[rel='shortcut icon']")||null,touchicon:n("link[rel='apple-touch-icon']")||null}}();await fetch(`${e}/api/domains/verify`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:t,meta:n})})}catch{}}(t,e().pocketbase)}!async function(t,o,a){const r=e(),u=document.createElement("div");u.id="fubi-shadow-root",u.setAttribute("data-lenis-prevent","");const l=u.attachShadow({mode:"open"});document.body.appendChild(u);let d=null;a||(d=(await async function(t,e){try{const o=await fetch(`${e}/api/projects/runtime`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:t})});if(!o.ok)return n;const a=await o.json();return{channel:"beta"===a.channel?"beta":"stable",pinnedVersion:a.pinnedVersion||null}}catch{return n}}(t,r.pocketbase)).pinnedVersion);const p="1.0.3-beta.21",h={projectId:t,options:o,urls:r,host:u,shadowRoot:l,contractVersion:1},m=[...new Set([d||p,i(),p].filter(Boolean))];for(const e of m)try{return void s((await c(e)).mountApp(h).version||e)}catch(f){console.error(`[fubi] could not mount app ${e}:`,f)}u.remove(),console.error("[fubi] could not load any app bundle. If this site has a strict CSP, allow script-src https://cdn.jsdelivr.net (see https://fubi.dev/docs/csp).")}(t,o,a)}export{fubi as default};
|