fubi 1.0.0-beta.80 → 1.0.0-beta.82
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/index.es.js +1 -1
- package/dist/index.iife.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,2 +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,M=1<<21,S=1<<23,$=Symbol("$state"),_=Symbol("legacy props"),T=Symbol(""),E=Symbol("proxy path"),O=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},I=!!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={},j=Symbol(),D=Symbol("filename"),H="http://www.w3.org/2000/svg";function W(e){}var R,V=!1;function B(e){V=e}function U(e){if(null===e)throw N;return R=e}function Z(){return U(/* @__PURE__ */Ot(R))}function q(e){if(V){if(/* @__PURE__ */null!==Ot(R))throw N;R=e}}function K(e=1){if(V){for(var t=e,r=R;t--;)r=/* @__PURE__ */Ot(r);R=r}}function G(e=!0){for(var t=0,r=R;;){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__ */Ot(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|=S,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(qi){e=qi}}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 Me(e){if(null!==e)for(const t of e)2&t.f&&65536&t.f&&(t.f^=65536,Me(t.deps))}function Se(e,t,r){2048&e.f?t.add(e):4096&e.f&&r.add(e),Me(e.deps),Ce(e,b)}var $e=/* @__PURE__ */new Set,_e=null,Te=null,Ee=null,Oe=[],Ie=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){Oe=[],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(),Te=this,_e=null,He(r),He(t),this.#n.clear(),this.#s.clear(),Te=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),jr(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)Se(e[t],this.#n,this.#s)}capture(e,t){t===j||this.previous.has(e)||this.previous.set(e,t),8388608&e.f||(this.current.set(e,e.v),Ee?.set(e,e.v))}activate(){_e=this,this.apply()}deactivate(){_e===this&&(_e=null,Ee=null)}flush(){if(this.activate(),Oe.length>0){if(Ne(),null!==_e&&_e!==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=Oe;Oe=[];const t=/* @__PURE__ */new Set,n=/* @__PURE__ */new Map;for(const e of o)We(e,i,t,n);if(Oe.length>0){_e=e,e.apply();for(const t of Oe)e.#d(t,[],[]);e.deactivate()}Oe=r}}_e=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()?Oe.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===_e){const t=_e=new e;$e.add(_e),ze||me(()=>{_e===t&&t.flush()})}return _e}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!==_e&&Ne(),r=e());;){if(ve(),0===Oe.length&&(_e?.flush(),0===Oe.length))return Ie=null,r;Ne()}}finally{ze=t}}function Ne(){Ae=!0;var e=t?/* @__PURE__ */new Set:null;try{for(var r=0;Oe.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}je()}if(o.process(Oe),at.clear(),t)for(const t of o.current.keys())e.add(t)}}finally{if(Oe=[],Ae=!1,Ie=null,t)for(const t of e)t.updated=null}}function je(){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,Ie)}}var De=null;function He(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,jr(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||jr(r)}}De.clear()}}De=null}}function We(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?We(i,t,r,o):4194320&e&&!(2048&e)&&Re(i,t,o)&&(Ce(i,w),Ve(i))}}function Re(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&&Re(n,t,r))return r.set(n,!0),!0}return r.set(e,!1),!1}function Ve(e){var t=Ie=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}}Oe.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()&&(Hr(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?R: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;#M=null;#S=Ue(()=>(this.#M=dt(this.#k),t&&ee(this.#M,"$effect.pending()"),()=>{this.#M=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.#_():this.#T()}else this.#E()},589824),V&&(this.#p=R)}#T(){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,()=>()=>{})}))}#_(){const e=this.#f.pending;e&&(this.is_pending=!0,this.#w=or(()=>e(this.#p)),me(()=>{var e=this.#x=document.createDocumentFragment(),t=Tt();e.append(t),this.#b=this.#O(()=>(Pe.ensure(),or(()=>this.#m(t)))),0===this.#C&&(this.#p.before(e),this.#x=null,cr(this.#w,()=>{this.#w=null}),this.#I())}))}#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.#I()}catch(t){this.error(t)}}#I(){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){Se(e,this.#n,this.#s)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#f.pending}#O(e){var t=xr,r=br,o=oe;kr(this.#v),yr(this.#v),ie(this.#v.ctx);try{return e()}catch(qi){return we(qi),null}finally{kr(t),yr(r),ie(o)}}#A(e){this.has_pending_snippet()?(this.#C+=e,0===this.#C&&(this.#I(),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.#M&&!this.#L&&(this.#L=!0,me(()=>{this.#L=!1,this.#M&>(this.#M,this.#k)}))}get_effect_pending(){return this.#S(),Hr(this.#M)}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.#O(()=>{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.#O(()=>{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(qi){return void ye(qi,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=_e;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&&_e?.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:j,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(j);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=_e;if(s){var c=function(){var e=xr.b,t=_e,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(O),a.delete(l),a.set(l,r)}const d=(e,r=void 0)=>{if(l.activate(),r)r!==O&&(n.f|=S,gt(n,r));else{8388608&n.f&&(n.f^=S),gt(n,e);for(const[e,t]of a){if(a.delete(e),e===l)break;t.reject(O)}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(O)}),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=Ir(),_e?.is_fork&&null!==e.deps||(e.v=t,null!==e.deps))?mr||(null!==Ee?(Zt()||_e?.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&&jr(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=Ir(),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)&&jr(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),Or(l);var o=e();return yr(t),Or(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(j));i.set(r,e),mt(s),t&&ee(e,yt(p,r))}}else pt(o,j),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]:j));return t&&ee(e,yt(p,o)),e}),i.set(o,s)),void 0!==s){var c=Hr(s);return c===j?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=Hr(o))}else if(void 0===r){var n=i.get(t),s=n?.v;if(void 0!==n&&s!==j)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!==j||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]):j);return t&&ee(o,yt(p,r)),o}),i.set(r,o)),Hr(o)===j))&&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,j):u in e&&(g=h(()=>/* @__PURE__ */ut(j)),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!==j,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){Hr(s);var t=Reflect.ownKeys(e).filter(e=>{var t=i.get(e);return void 0===t||t.v!==j});for(var[r,o]of i)o.v===j||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,Mt,St,$t=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function _t(){if(void 0===Ct){Ct=window,document,Lt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,r=Node.prototype,o=Text.prototype;Mt=a(r,"firstChild").get,St=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){W();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){W();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){W();break}return r},Array.__svelte_cleanup=()=>{e.indexOf=r,e.lastIndexOf=o,e.includes=i}}())}}function Tt(e=""){return document.createTextNode(e)}function Et(e){return Mt.call(e)}function Ot(e){return St.call(e)}function It(e,t){if(!V)/* @__PURE__ */return Et(e);var r=/* @__PURE__ */Et(R);if(null===r)r=R.appendChild(Tt());else if(t&&3!==r.nodeType){var o=Tt();return r?.before(o),U(o),o}return t&&jt(r),U(r),r}function At(e,t=!1){if(!V){var r=/* @__PURE__ */Et(e);return r instanceof Comment&&""===r.data?/* @__PURE__ */Ot(r):r}if(t){if(3!==R?.nodeType){var o=Tt();return R?.before(o),U(o),o}jt(R)}return R}function zt(e,t=1,r=!1){let o=V?R:e;for(var i;t--;)i=o,o=/* @__PURE__ */Ot(o);if(!V)return o;if(r){if(3!==o?.nodeType){var n=Tt();return null===o?i?.after(n):o.before(n),U(n),n}jt(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 jt(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 Ht=!1;function Wt(){Ht||(Ht=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Rt(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,()=>Rt(r));const i=e.__on_r;e.__on_r=i?()=>{i(),o(!0)}:()=>o(!0),Wt()}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{jr(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(Hr)),!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&&Rt(()=>{e.abort(O)});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__ */Ot(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__ */Ot(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 Mr=null,Sr=0,$r=null,_r=1,Tr=0,Er=Tr;function Or(e){Er=e}function Ir(){return++_r}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=Mr,r=Sr,o=$r,i=br,n=Cr,s=oe,a=wr,l=Er,c=e.f;Mr=null,Sr=0,$r=null,br=96&c?null:e,Cr=null,ie(e.ctx),wr=!1,Er=++Tr,null!==e.ac&&(Rt(()=>{e.ac.abort(O)}),e.ac=null);try{e.f|=M;var d=(0,e.fn)();e.f|=k;var u=e.deps,h=_e?.is_fork;if(null!==Mr){var p;if(h||Nr(e,Sr),null!==u&&Sr>0)for(u.length=Sr+Mr.length,p=0;p<Mr.length;p++)u[Sr+p]=Mr[p];else e.deps=u=Mr;if(Zt()&&512&e.f)for(p=Sr;p<u.length;p++)(u[p].reactions??=[]).push(e)}else!h&&null!==u&&Sr<u.length&&(Nr(e,Sr),u.length=Sr);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(Tr++,null!==i.deps)for(let e=0;e<r;e+=1)i.deps[e].rv=Tr;if(null!==t)for(const e of t)e.rv=Tr;null!==$r&&(null===o?o=$r:o.push(...$r))}return 8388608&e.f&&(e.f^=S),d}catch(g){return we(g)}finally{e.f^=M,Mr=t,Sr=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===Mr||!i.call(Mr,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(O),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 jr(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=_r}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 Hr(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<Tr&&(e.rv=Tr,null===Mr&&null!==o&&o[Sr]===e?Sr++:null===Mr?Mr=[e]:Mr.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)&&!Rr(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),Wr(s))}if(Ee?.has(e))return Ee.get(e);if(8388608&e.f)throw e.v;return e.v}function Wr(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),Wr(t))}function Rr(e){if(e.v===j)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(at.has(t))return!0;if(2&t.f&&Rr(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 Rt(()=>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(R,null),R;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(R,null),R;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=Tt(e+"");return ho(t,t),t}var r=R;return 3!==r.nodeType?(r.before(r=Tt()),U(r)):jt(r),ho(r,r),r}function vo(){if(V)return ho(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=Tt();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=R),void Z()}null!==e&&e.before(t)}function wo(){if(V&&R&&8===R.nodeType&&R.textContent?.startsWith("$")){const e=R.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 Mo(e,t)}var Lo=/* @__PURE__ */new Map;function Mo(e,{target:t,anchor:r,props:o={},events:i,context:s,intro:a=!0,transformError:l}){_t();var c=void 0,d=function(){Pe.ensure();const d=Ut(524352,()=>{var d=r??t.appendChild(Tt());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=R,null===R||8!==R.nodeType||"]"!==R.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 So.set(c,d),c}var So=/* @__PURE__ */new WeakMap;function $o(e,t){const r=So.get(e);return r?(So.delete(e),r(t)):Promise.resolve()}var _o=class{anchor;#z=/* @__PURE__ */new Map;#P=/* @__PURE__ */new Map;#F=/* @__PURE__ */new Map;#N=/* @__PURE__ */new Set;#j=!0;constructor(e,t=!0){this.anchor=e,this.#j=t}#h=()=>{var e=_e;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(Tt()),this.#F.set(e,{effect:o,fragment:t})}else sr(o);this.#N.delete(e),this.#P.delete(e)};this.#j||!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=_e,o=Ft();if(t&&!this.#P.has(e)&&!this.#F.has(e))if(o){var i=document.createDocumentFragment(),n=Tt();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=R),this.#h()}};function To(e,t,r=!1){var o;V&&(o=R,Z());var i=new _o(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,Oo=Symbol("NaN");function Io(e,t,r){V&&Z();var o=new _o(e);tr(()=>{var e=t();e!=e&&(e=Oo),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(Tt())}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),jo(c,b,r),m=[],v=[],g=Fo((f=c).next);continue}jo(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)jo(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),jo(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 M=C.length;if(M>0){var S=4&o&&0===h?r:null;if(u){for(d=0;d<M;d+=1)C[d].nodes?.a?.measure();for(d=0;d<M;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,S)}}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,jo(p,null,c)):ur(p):cr(p,()=>{p=null}))}var v={effect:tr(()=>{var e=(h=Hr(g)).length;let r=!1;V&&"[!"===X(c)!=(0===e)&&(U(c=G()),B(!1),r=!0);for(var n=/* @__PURE__ */new Set,u=_e,v=Ft(),b=0;b<e;b+=1){V&&8===R.nodeType&&"]"===R.data&&(c=R,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??=Tt(),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??=Tt()))).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),Hr(g)}),flags:o,items:d,outrogroups:null,fallback:p};f=!1,V&&(c=R)}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 jo(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__ */Ot(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 Ho(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=R.data,c=Z(),d=c;null!==c&&(8!==c.nodeType||""!==c.data);)d=c,c=/* @__PURE__ */Ot(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(R,d),void(s=U(c))}var u=Nt(o?"svg":i?"math":"template",o?H: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 Wo(e,r,...o){var i=new _o(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 Ro(e,t,r){var o;V&&(o=R,Z());var i=new _o(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){Rt(()=>{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,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 Rt(()=>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=Qo(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=Qo(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 Qo(e,t,r,o,i){var n=1===o;if(p(t)){var s,a=!1;return me(()=>{a||(s=Qo(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 ei(e,r,o,i,n,s){let a=V;V&&Z();var l=t&&s&&oe?.function[D],c=null;V&&1===R.nodeType&&(c=R,Z());var d=V?R:e,u=xr,h=new _o(d,!1);tr(()=>{const e=r()||null;var a=n?n():o||"svg"===e?H: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(Tt());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 ti(e,t){var r,o=void 0;rr(()=>{o!==(o=t())&&(r&&(sr(r),r=null),o&&(r=or(()=>{Jt(()=>o(e))})))})}function ri(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=ri(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function oi(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=ri(e))&&(o&&(o+=" "),o+=t);return o}function ii(e){return"object"==typeof e?oi(e):e??""}var ni=[..." \t\n\r\f \v\ufeff"];function si(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 ai(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function li(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&&!ni.includes(o[s-1])||a!==o.length&&!ni.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 ci(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 di(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(ai)),o&&l.push(...Object.keys(o).map(ai));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=ai(e.substring(c,d).trim());l.includes(p)||(";"!==h&&u++,i+=" "+e.substring(c,u).trim()+";")}c=u+1,d=-1}}}return r&&(i+=si(r)),o&&(i+=si(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)?(ci(e,r?.[0],o[0]),ci(e,r?.[1],o[1],"important")):ci(e,r,o));return o}function ui(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(hi(i))}else{for(i of e.options)if(kt(hi(i),t))return void(i.selected=!0);o&&void 0===t||(e.selectedIndex=-1)}}function hi(e){return"__value"in e?e.__value:e.value}var pi=Symbol("class"),gi=Symbol("style"),fi=Symbol("is custom element"),mi=Symbol("is html"),vi=I?"link":"LINK",bi=I?"input":"INPUT",wi=I?"option":"OPTION",yi=I?"select":"SELECT";function xi(e){if(V){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;Ci(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var o=e.checked;Ci(e,"checked",null),e.checked=o}}};e.__on_r=r,me(r),Wt()}}function ki(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Ci(e,r,o,i){var n=Mi(e);V&&(n[r]=e.getAttribute(r),"src"===r||"srcset"===r||"href"===r&&e.nodeName===vi)?i||function(e,r,o){t&&("srcset"===r&&function(e,t){var r=Ti(e.srcset),o=Ti(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[T]=o),null==o?e.removeAttribute(r):"string"!=typeof o&&$i(e).includes(r)?e[r]=o:e.setAttribute(r,o))}function Li(e,t,r=[],o=[],i=[],n,s=!1,a=!1){qe(i,r,o,r=>{var o=void 0,i={},l=e.nodeName===yi,c=!1;if(rr(()=>{var d=t(...r.map(Hr)),u=function(e,t,r,o,i=!1,n=!1){if(V&&i&&e.nodeName===bi){var s=e;("checkbox"===s.type?"defaultChecked":"defaultValue")in r||xi(s)}var a=Mi(e),l=a[fi],c=!a[mi];let d=V&&l;d&&B(!1);var u=t||{},h=e.nodeName===wi;for(var p in t)p in r||(r[p]=null);r.class?r.class=ii(r.class):(o||r[pi])&&(r.class=null),r[gi]&&(r.style??=null);var g=$i(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 M(e){u[y].call(this,e)}u[C]=oo(L,e,M,k)}}else if("style"===y)Ci(e,y,x);else if("autofocus"===y)Dt(e,Boolean(x));else if(l||"__value"!==y&&("value"!==y||null==x))if("selected"===y&&h)ki(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]=j)):"function"!=typeof x&&Ci(e,b,x,n);else if(a[y]=null,"value"===b||"checked"===b){let S=e;const $=void 0===t;if("value"===b){let _=S.defaultValue;S.removeAttribute(b),S.defaultValue=_,S.value=S.__value=$?_:null}else{let T=S.defaultChecked;S.removeAttribute(b),S.defaultChecked=T,S.checked=!!$&&T}}else e.removeAttribute(y)}else e.value=e.__value=x}}else di(e,x,t?.[gi],r[gi]),u[y]=x,u[gi]=r[gi];else li(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,x,o,t?.[pi],r[pi]),u[y]=x,u[pi]=r[pi]}return d&&B(!0),u}(e,o,d,n,s,a);c&&l&&"value"in d&&ui(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(()=>ti(e,()=>h))),u[t]=h}o=u}),l){var d=e;Jt(()=>{ui(d,o.value,!0),function(e){var t=new MutationObserver(()=>{ui(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??={[fi]:e.nodeName.includes("-"),[mi]:"http://www.w3.org/1999/xhtml"===e.namespaceURI}}var Si=/* @__PURE__ */new Map;function $i(e){var t,r=e.getAttribute("is")||e.nodeName,o=Si.get(r);if(o)return o;Si.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 Ti(e){return e.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function Ei(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=Ii(e)?Ai(s):s,o(s),null!==_e&&i.add(_e),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(Ii(e)?Ai(e.value):e.value),null!==_e&&i.add(_e)),Qt(()=>{t&&"checkbox"===e.type&&z();var o=r();if(e===document.activeElement){var n=Te??_e;if(i.has(n))return}Ii(e)&&o===Ai(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 Ii(e){var t=e.type;return"number"===t||"range"===t}function Ai(e){return""===e?null:+e}var zi=class e{#H=/* @__PURE__ */new WeakMap;#W;#R;static entries=/* @__PURE__ */new WeakMap;constructor(e){this.#R=e}observe(e,t){var r=this.#H.get(e)||/* @__PURE__ */new Set;return r.add(t),this.#H.set(e,r),this.#V().observe(e,this.#R),()=>{var r=this.#H.get(e);r.delete(t),0===r.size&&(this.#H.delete(e),this.#W.unobserve(e))}}#V(){return this.#W??(this.#W=new ResizeObserver(t=>{for(var r of t)for(var o of(e.entries.set(r.target,r),this.#H.get(r.target)||[]))o(r)}))}},Pi=/* @__PURE__ */new zi({box:"border-box"});function Fi(e,t,r){var o=Pi.observe(e,()=>r(e[t]));Jt(()=>(Vr(()=>r(e[t])),o))}function Ni(e,t){return e===t||e?.[$]===t}function ji(e={},t,r,o){return Jt(()=>{var i,n;return Qt(()=>{i=n,n=o?.()||[],Vr(()=>{e!==r(...n)&&(t(e,...n),i&&Ni(r(...i),e)&&t(null,...i))})}),()=>{me(()=>{n&&Ni(r(...n),e)&&t(null,...n)})}}),e}var Di=!1,Hi={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},Hi)}var Ri={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===_)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 Vi(...e){return new Proxy({props:e},Ri)}function Bi(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||_ 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=Di;try{return Di=!1,[e[r],Di]}finally{Di=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&&Hr(b);var w=xr;return function(e,t){if(arguments.length>0){const r=t?Hr(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:Hr(b)}}if("function"==typeof HTMLElement&&HTMLElement,t){function tC(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}})}}tC("$state"),tC("$effect"),tC("$derived"),tC("$inspect"),tC("$props"),tC("$bindable")}function Ui(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 Zi=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}}},qi=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Ki(e,t,r){const o=Object.assign({},r||{}),i=o.encode||Xi;if(!qi.test(e))throw new TypeError("argument name is invalid");const n=i(t);if(n&&!qi.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(!qi.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!qi.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 Gi(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Xi(e){return encodeURIComponent(e)}var Yi,Ji="undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal;function Qi(e){if(e)try{const t=decodeURIComponent(Yi(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 en(e,t=0){let r=Qi(e);return!(Object.keys(r).length>0&&(!r.exp||r.exp-t>Date.now()/1e3))}Yi="function"!=typeof atob||Ji?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 tn="pb_auth",rn=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!en(this.token)}get isSuperuser(){let e=Qi(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"==Qi(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=tn){const r=function(e){const t={};if("string"!=typeof e)return t;const r=Object.assign({},{}).decode||Gi;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=tn){const r={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},o=Qi(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=Ki(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=Ki(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)}},on=class extends rn{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)})}},nn=class{constructor(e){this.client=e}},sn=class extends nn{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)}},an=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function ln(e){if(e){e.query=e.query||{};for(let t in e)an.includes(t)||(e.query[t]=e[t],delete e[t])}}function cn(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=dn(e),null!==e&&t.push(o+"="+e)}return t.join("&")}function dn(e){return null==e?null:e instanceof Date?encodeURIComponent(e.toISOString().replace("T"," ")):"object"==typeof e?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)}var un=class extends nn{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){ln(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 Zi(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=[]}}},hn=class extends nn{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 Zi({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 Zi({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 pn(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 gn(e){e._resetAutoRefresh?.()}var fn=class extends hn{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||gn(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){gn(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)&&gn(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&&en(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=pn(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=mn(void 0));const o=new un(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 Zi(/* @__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 Zi({isAbort:!0,message:"manually cancelled"}))}),o.onDisconnect=e=>{e.length&&l&&(i(),l(new Zi(/* @__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 Zi(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=mn(e)})(d)}catch(e){c?.signal?.onabort&&(c.signal.onabort=null),i(),l(new Zi(e))}})}).catch(e=>{throw i(),e})}async authRefresh(e,t){let r={method:"POST"};return r=pn(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=pn(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=pn(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=pn(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=pn(0,o,t,r),this.client.send(this.baseCollectionPath+"/confirm-verification",o).then(()=>{const t=Qi(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=pn(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=pn(0,i,r,o),this.client.send(this.baseCollectionPath+"/confirm-email-change",i).then(()=>{const t=Qi(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 En(this.client.baseURL,new rn,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 mn(e){if("undefined"==typeof window||!window?.open)throw new Zi(/* @__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 vn=class extends hn{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)}},bn=class extends nn{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 Zi({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)}},wn=class extends nn{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}},yn=class extends nn{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=cn(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||"")}},xn=class extends nn{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)}`)}},kn=class extends nn{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 Cn(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 Ln(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(Cn(e))return!0}return!1}var Sn=/^[\-\.\d]+$/;function $n(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")&&Sn.test(e)){let t=+e;if(""+t===e)return t}return e}var _n=class extends nn{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new Tn(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)}},Tn=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(ln(t),e.headers=t.headers,e.json={},e.files={},void 0!==t.query){const r=cn(t.query);r&&(e.url+=(e.url.includes("?")?"&":"?")+r)}let r=t.body;Ln(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($n(e))):t[r]=$n(e)}),t}(r));for(const o in r){const t=r[o];if(Cn(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)Cn(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}}},En=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 rn:this.authStore=new on,this.collections=new vn(this),this.files=new yn(this),this.logs=new bn(this),this.settings=new sn(this),this.realtime=new un(this),this.health=new wn(this),this.backups=new xn(this),this.crons=new kn(this)}get admins(){return this.collection("_superusers")}createBatch(){return new _n(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new fn(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=cn(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 Zi({url:e.url,status:e.status,data:r});return r}).catch(e=>{throw new Zi(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||Ln(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),ln(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")||Ln(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(),In=/* @__PURE__ */new Date(Date.now()-36e5).toISOString(),An=/* @__PURE__ */new Date(Date.now()-864e5).toISOString(),zn=/* @__PURE__ */new Date(Date.now()-1728e5).toISOString(),Pn={id:"demo_user_1",collectionId:"_pb_users_auth_",collectionName:"users",created:zn,updated:On,email:"john.lock@gmail.com",emailVisibility:!0,firstName:"John",lastName:"Lock",avatar:"https://demo.fubi.dev/avatar1.jpeg",verified:!0,settings:{}},Fn={id:"demo_user_2",collectionId:"_pb_users_auth_",collectionName:"users",created:zn,updated:On,email:"sarah@fubi.dev",emailVisibility:!0,firstName:"Sarah",lastName:"Smith",avatar:"https://demo.fubi.dev/avatar3.jpeg",verified:!0,settings:{}},Nn={id:"demo_team",collectionId:"teams_col",collectionName:"teams",created:zn,updated:On,name:"Demo Team",slug:"demo-team",admin:Pn.id,members:[Pn.id,Fn.id],guests:[]},jn={id:"demo",collectionId:"projects_col",collectionName:"projects",created:zn,updated:On,name:"Demo Project",slug:"demo-project",origin:"",expand:{team:{...Nn,expand:{admin:Pn,members:[Pn,Fn]}}}};function Dn(){const e=window.location.origin,t=window.location.pathname,r={id:"demo_folder_1",collectionId:"folders_col",collectionName:"folders",created:zn,updated:On,name:"Internal Feedback",description:"Let's test the website",project:"demo",expand:{guests:[],project:{...jn,expand:{team:{...Nn,expand:{admin:Pn,members:[Pn,Fn]}}}},folder_notifications_via_folder:[],pages_via_folder:[]}},o={id:"demo_page_1",collectionId:"pages_col",collectionName:"pages",created:zn,updated:On,name:"/"===t?"Homepage":document.title||t,pathname:t,folder:"demo_folder_1",createdBy:Pn.id},i=[{id:"demo_comment_1",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,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:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_2",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,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:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_3",collectionId:"comments_col",collectionName:"comments",created:zn,updated:An,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:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_4",collectionId:"comments_col",collectionName:"comments",created:zn,updated:In,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:In,priority:"",media:[],mentions:[],info:{browser:["Firefox","132.0"],resolution:[1680,1050],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_5",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:[Pn.id],info:{browser:["Safari","18.2"],resolution:[393,852],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[Pn],thread_notifications_via_comment:[]}},{id:"demo_comment_6",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:Pn.id,expand:{createdBy:Pn,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:zn,updated:On,service:"app",maintenance:!1,title:"",message:""}],projects:[jn],teams:[Nn],domains:[{id:"demo_domain_1",collectionId:"domains_col",collectionName:"domains",created:zn,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:[Pn,Fn],logs:[]}}var Hn="fubi_demo_data",Wn=class{record={...Pn};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)}},Rn=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(Hn,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||Pn,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:Pn}}async authRefresh(){return{token:"demo_token",record:Pn}}};function Vn(e=!0){let t;if(e)try{const e=localStorage.getItem(Hn);t=e?JSON.parse(e):Dn()}catch{t=Dn()}else t=Dn();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 Rn(t,r,e)),i.get(t)},authStore:o,send:async(e,t)=>({})}}var Bn=[];function Un(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(" ");Bn.push({timestamp:Date.now(),module:e,level:t,message:o}),Bn.length>1e3&&Bn.shift()}function Zn(e){return{info:(...t)=>{Un(e,"info",t)},error:(...t)=>{Un(e,"error",t)},warn:(...t)=>{Un(e,"warn",t)},ok:(...t)=>{Un(e,"ok",t)},table:(e,t)=>{},group:e=>{},groupEnd:()=>{}}}var qn="undefined"!=typeof window?window:void 0;"undefined"!=typeof window&&window.document,"undefined"!=typeof window&&window.navigator,"undefined"!=typeof window&&window.location;var Kn=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 Hr(this.#U),!1;o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Hr(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 Hr(this.#U);o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Hr(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(){Hr(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)Hr(o)}keys(){return Hr(this.#U),super.keys()}values(){return this.#G(),super.values()}entries(){return this.#G(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return Hr(this.#Z),super.size}};Symbol(),URLSearchParams,Symbol.iterator;function Gn(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=qn,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 Xn=class{#J;#Q=0;#ee=Qe(()=>Gn(this.#Q)??0);#te=null;#re=null;#oe=ut(0);#ie=ut(!1);#ne=qn;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(!Hr(this.#ie)||!this.#ne)return;null===this.#te&&(this.#te=e);const t=e-this.#te,r=1e3/t;Hr(this.#ee)&&r>Hr(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(){Hr(this.#ie)?this.stop():this.start()}get fps(){return Hr(this.#ie)?Hr(this.#oe):0}get running(){return Hr(this.#ie)}};function Yn(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 Jn(e,t,r){Yn(e,"post",t,r)}function Qn(){}function es(e,t,r,o){Kt(()=>{const i=Gn(e);if(null==i)return;const n=Gn(t);if(!Array.isArray(n))return io(i,n,r,o);for(const e of n)Kt(()=>io(i,e,r,o))})}function ts(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?.(),ts(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}Jn.pre=function(e,t,r){Yn(e,"pre",t,r)};var rs,os=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:qn;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 ts(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){}}},is=class{#R;#me=Qe(()=>Gn(this.#R.element));get element(){return Hr(this.#me)}set element(e){pt(this.#me,e)}#ve=Qe(()=>Gn(this.#R?.idle,200));get idle(){return Hr(this.#ve)}set idle(e){pt(this.#ve,e)}#be=Qe(()=>Gn(this.#R.offset,{left:0,right:0,top:0,bottom:0}));get offset(){return Hr(this.#be)}set offset(e){pt(this.#be,e)}#we=Qe(()=>this.#R.onScroll??Qn);get onScroll(){return Hr(this.#we)}set onScroll(e){pt(this.#we,e)}#ye=Qe(()=>this.#R.onStop??Qn);get onStop(){return Hr(this.#ye)}set onStop(e){pt(this.#ye,e)}#xe=Qe(()=>this.#R.eventListenerOptions??{capture:!1,passive:!0});get eventListenerOptions(){return Hr(this.#xe)}set eventListenerOptions(e){pt(this.#xe,e)}#ke=Qe(()=>Gn(this.#R.behavior,"auto"));get behavior(){return Hr(this.#ke)}set behavior(e){pt(this.#ke,e)}#Ce=Qe(()=>this.#R.onError??(e=>{}));get onError(){return Hr(this.#Ce)}set onError(e){pt(this.#Ce,e)}#Le=ut(0);get internalX(){return Hr(this.#Le)}set internalX(e){pt(this.#Le,e,!0)}#Me=ut(0);get internalY(){return Hr(this.#Me)}set internalY(e){pt(this.#Me,e,!0)}#Se=Qe(()=>this.internalX);get x(){return Hr(this.#Se)}set x(e){this.scrollTo(e,void 0)}#$e=Qe(()=>this.internalY);get y(){return Hr(this.#$e)}set y(e){this.scrollTo(void 0,e)}#_e=ut(!1);get isScrolling(){return Hr(this.#_e)}set isScrolling(e){pt(this.#_e,e,!0)}#Te=ut(wt({left:!0,right:!1,top:!0,bottom:!1}));get arrived(){return Hr(this.#Te)}set arrived(e){pt(this.#Te,e,!0)}#Ee=ut(wt({left:!1,right:!1,top:!1,bottom:!1}));get directions(){return Hr(this.#Ee)}set directions(e){pt(this.#Ee,e,!0)}#Oe=ut(wt({x:0,y:0}));get progress(){return Hr(this.#Oe)}set progress(e){pt(this.#Oe,e,!0)}constructor(e){this.#R=e,es(()=>this.element,"scroll",this.#Ie,this.eventListenerOptions),es(()=>this.element,"scrollend",e=>this.onScrollEnd(e),this.eventListenerOptions),Ui(()=>{this.setArrivedState()}),new Xn(()=>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};#Ie=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(()=>Gn(t,250));function i(...t){if(Hr(r))Hr(r).timeout&&clearTimeout(Hr(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 Hr(r).runner=async()=>{if(!Hr(r))return;const o=Hr(r);pt(r,null);try{o.resolve(await e.apply(this,t))}catch(i){o.reject(i)}},Hr(r).timeout=setTimeout(Hr(r).runner,Hr(o)),Hr(r).promise}return i.cancel=async()=>{(Hr(r)&&null!==Hr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Hr(r)&&null!==Hr(r).timeout))&&(clearTimeout(Hr(r).timeout),Hr(r).reject("Cancelled"),pt(r,null))},i.runScheduledNow=async()=>{(Hr(r)&&Hr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Hr(r)&&Hr(r).timeout))&&(clearTimeout(Hr(r).timeout),Hr(r).timeout=null,await(Hr(r).runner?.()))},Object.defineProperty(i,"pending",{enumerable:!0,get:()=>!!Hr(r)?.timeout}),i}(this.onScrollEnd,()=>this.idle)},ns=Zn("telemetry"),ss=class{modules;#Ae=ut(!1);get loading(){return Hr(this.#Ae)}set loading(e){pt(this.#Ae,e,!0)}#ze=ut(!1);get ready(){return Hr(this.#ze)}set ready(e){pt(this.#ze,e,!0)}log=Zn(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:Bn,data:r||null}),ns[e](t,...r?[r]:[])}catch(qi){ns[e](t,...r?[r]:[])}};storage(e,t,r){const o=new os(t,r);Object.defineProperty(this,e,{get:()=>o.current,set:e=>{o.current=e},enumerable:!0,configurable:!0})}},as=class extends ss{singleton;expand;#Pe=ut(wt([]));get data(){return Hr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Fe=ut(null);get record(){return Hr(this.#Fe)}set record(e){pt(this.#Fe,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#je=ut(1);get page(){return Hr(this.#je)}set page(e){pt(this.#je,e,!0)}#De=ut(50);get perPage(){return Hr(this.#De)}set perPage(e){pt(this.#De,e,!0)}#He=Qe(()=>0===this.data.length);get empty(){return Hr(this.#He)}set empty(e){pt(this.#He,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("*")}},ls=class extends as{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 cs(){try{if(navigator.vibrate)return void navigator.vibrate(50);if(void 0===rs&&(rs="undefined"!=typeof window&&window.matchMedia("(pointer: coarse)").matches),!rs)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{}}cs.confirm=()=>{navigator.vibrate?navigator.vibrate([50,70,50]):(cs(),setTimeout(()=>cs(),120))},cs.error=()=>{navigator.vibrate?navigator.vibrate([50,70,50,70,50]):(cs(),setTimeout(()=>cs(),120),setTimeout(()=>cs(),240))};var ds=cs,us=Zn("utils");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`${uy}/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`}async function vs(e){const t=e;if(!t||"data:,GIF89a"===t)return null;try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP ${e.status}`);const r=await e.blob(),o=function(e,t){try{const r=new URL(e).pathname.split("/").pop()||"share-image";return r.includes(".")?r:`${r}.${t.split("/")[1]||"jpg"}`}catch{return"share-image.jpg"}}(t,r.type);return new File([r],o,{type:r.type})}catch(r){return us.error("Failed to download image:",r),null}}function bs(){const e=new URL(window.location.href).searchParams.get("fubi");return e?e.split("."):null}function ws(){const e=new URL(window.location.href);e.searchParams.delete("fubi"),window.history.replaceState({},"",e)}function ys(e,t){return(e.match(t)||[])[2]||"0.0.0.0"}function xs(){return{width:window.innerWidth,height:window.innerHeight}}function ks(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 Cs(){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:ys(e,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:t,version:ys(e,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:t,version:ys(e,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:t,version:ys(e,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:t,version:ys(e,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:t,version:ys(e,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:t,version:ys(e,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:t,version:ys(e,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const r=ys(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 Ls(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(0)} KB`:`${(e/1048576).toFixed(2)} MB`}var Ms="https://dash.fubi.dev",Ss=class extends ss{#We=ut("");get id(){return Hr(this.#We)}set id(e){pt(this.#We,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}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.log.ok(`Project fetched: ${r.name}, (${r.id})`),this.loading=!1,this.ready=!0,this.current=r,this.emit("project:ready",{project:r}),r)}},$s=class extends ss{#Re=ut(null);get user(){return Hr(this.#Re)}set user(e){pt(this.#Re,e,!0)}#Ne=ut("");get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#Ve=Qe(()=>this.user?ps({...this.user,collectionName:"users"},"avatar"):null);get avatarUrl(){return Hr(this.#Ve)}set avatarUrl(e){pt(this.#Ve,e)}#Be=Qe(()=>this.avatarUrl?this.avatarUrl+"?thumb=64x64":null);get avatarThumbUrl(){return Hr(this.#Be)}set avatarThumbUrl(e){pt(this.#Be,e)}#Ue=Qe(()=>Ms+"/?redirect=/account");get accountUrl(){return Hr(this.#Ue)}set accountUrl(e){pt(this.#Ue,e)}#Ze=Qe(()=>`${this.user?.firstName} ${this.user?.lastName}`);get accountName(){return Hr(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 ds.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)}},_s=class extends ss{#H=ut(wt(/* @__PURE__ */new Map));get listeners(){return Hr(this.#H)}set listeners(e){pt(this.#H,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 ss{wrapper;#qe=ut(!1);get hovering(){return Hr(this.#qe)}set hovering(e){pt(this.#qe,e,!0)}#Ke=ut(!1);get focusWithin(){return Hr(this.#Ke)}set focusWithin(e){pt(this.#Ke,e,!0)}#Ge=ut(!1);get opened(){return Hr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#Xe=ut(!1);get visible(){return Hr(this.#Xe)}set visible(e){pt(this.#Xe,e,!0)}#Ye=ut(null);get lastUsedFeature(){return Hr(this.#Ye)}set lastUsedFeature(e){pt(this.#Ye,e,!0)}#Je=ut(!0);get minimized(){return Hr(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.close()}),this.on("hover:enabled",()=>{this.opened&&this.close()}),this.on("hover:disabled",()=>{this.opened&&this.close()}),this.on("sheet:opened",()=>{this.opened&&this.close()}),this.modules.keys.onPress("Escape",()=>this.handleEscape()),this.checkForParam()}open(){ds(),this.opened=!0,this.emit("toolbar:opened")}close(){this.opened=!1,this.emit("toolbar:closed")}toggle(){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}},Es=class extends ss{handlers=/* @__PURE__ */new Map;upHandlers=/* @__PURE__ */new Map;#Qe=ut(wt({key:null,code:null,ctrlKey:!1,metaKey:!1,altKey:!1}));get active(){return Hr(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}},Os=class extends ss{#We=ut("");get id(){return Hr(this.#We)}set id(e){pt(this.#We,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return Hr(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 Hr(this.#et)}set hasAccess(e){pt(this.#et,e)}#tt=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 Hr(this.#tt)}set role(e){pt(this.#tt,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.subscribe(),this.loading=!1,this.ready=!0,this.emit("team:ready",{team:e})):(this.loading=!1,this.emit("team:error",{error:this.error})),e}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),await this.fetchTeam()}),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 as{name="folders";expand="guests,project.team,project.team.admin,project.team.members,folder_notifications_via_folder,pages_via_folder.comments_via_page";sort="-updated";#rt=Qe(()=>!this.ready||this.data.length>0);get canAccess(){return Hr(this.#rt)}set canAccess(e){pt(this.#rt,e)}current={};#ot=Qe(()=>[...this.current?.expand?.guests??[],this.current?.expand?.project?.expand?.team?.expand?.admin,...this.current?.expand?.project?.expand?.team?.expand?.members??[]].filter(Boolean));get users(){return Hr(this.#ot)}set users(e){pt(this.#ot,e)}#it=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 Hr(this.#it)}set foldersWithStats(e){pt(this.#it,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?`${Ms}/?redirect=/${this.modules.team.current.slug}/${this.modules.project.current?.slug}`:Ms,label:"Manage Project Folders",external:!0},action:"refresh"},"folders"),void this.modules.router.goto("error");const e=bs()?.[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}},As=class extends as{name="pages";#nt=ut(null);get url(){return Hr(this.#nt)}set url(e){pt(this.#nt,e,!0)}#st=ut(!1);get valid(){return Hr(this.#st)}set valid(e){pt(this.#st,e,!0)}sort="name";#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#at=ut(wt(this.current?.name));get pageName(){return Hr(this.#at)}set pageName(e){pt(this.#at,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#lt=Qe(()=>!this.current?.id);get isNew(){return Hr(this.#lt)}set isNew(e){pt(this.#lt,e)}#ct=ut(wt({favicon:"",shareimage:"",title:"",description:""}));get meta(){return Hr(this.#ct)}set meta(e){pt(this.#ct,e,!0)}#dt=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 Hr(this.#dt)}set pagesWithStats(e){pt(this.#dt,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?.()}},zs=class extends ss{_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 Ps(e){return"[object Date]"===Object.prototype.toString.call(e)}function Fs(e,t,r,o){if("number"==typeof r||Ps(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,Ps(r)?new Date(r.getTime()+s):r+s)}if(Array.isArray(r))return r.map((i,n)=>Fs(e,t[n],r[n],o[n]));if("object"==typeof r){const i={};for(const n in r)i[n]=Fs(e,t[n],r[n],o[n]);return i}throw new Error(`Cannot spring ${typeof r} values`)}var Ns=class e{#ut=/* @__PURE__ */ut(.15);#ht=/* @__PURE__ */ut(.8);#pt=/* @__PURE__ */ut(.01);#ae;#gt;#ft=void 0;#mt=0;#vt=1;#bt=0;#wt=null;#i=null;constructor(e,r={}){this.#ae=t?ee(/* @__PURE__ */ut(e),"Spring.current"):/* @__PURE__ */ut(e),this.#gt=t?ee(/* @__PURE__ */ut(e),"Spring.target"):/* @__PURE__ */ut(e),"number"==typeof r.stiffness&&(this.#ut.v=js(r.stiffness,0,1)),"number"==typeof r.damping&&(this.#ht.v=js(r.damping,0,1)),"number"==typeof r.precision&&(this.#pt.v=r.precision),t&&(ee(this.#ut,"Spring.stiffness"),ee(this.#ht,"Spring.damping"),ee(this.#pt,"Spring.precision"),ee(this.#ae,"Spring.current"),ee(this.#gt,"Spring.target"))}static of(t,r){const o=new e(t(),r);return Qt(()=>{o.set(t())}),o}#ue(e){if(pt(this.#gt,e),this.#ae.v??=e,this.#ft??=this.#ae.v,!this.#wt){this.#mt=Vo.now();var t=1e3/(60*this.#bt);this.#wt??=Uo(e=>{this.#vt=Math.min(this.#vt+t,1);const r=Math.min(e-this.#mt,1e3/30),o={inv_mass:this.#vt,opts:{stiffness:this.#ut.v,damping:this.#ht.v,precision:this.#pt.v},settled:!0,dt:60*r/1e3};var i=Fs(o,this.#ft,this.#ae.v,this.#gt.v);return this.#ft=this.#ae.v,this.#mt=e,pt(this.#ae,i),o.settled&&(this.#wt=null),!o.settled})}return this.#wt.promise}set(e,t){if(this.#i?.reject(/* @__PURE__ */new Error("Aborted")),t?.instant||void 0===this.#ae.v)return this.#wt?.abort(),this.#wt=null,pt(this.#ae,pt(this.#gt,e)),this.#ft=e,Promise.resolve();t?.preserveMomentum&&(this.#vt=0,this.#bt=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 Hr(this.#ae)}get damping(){return Hr(this.#ht)}set damping(e){pt(this.#ht,js(e,0,1))}get precision(){return Hr(this.#pt)}set precision(e){pt(this.#pt,e)}get stiffness(){return Hr(this.#ut)}set stiffness(e){pt(this.#ut,js(e,0,1))}get target(){return Hr(this.#gt)}set target(e){this.set(e)}};function js(e,t,r){return Math.max(t,Math.min(r,e))}function Ds(e){const t=1.70158;return--e*e*((t+1)*e+t)+1}function Hs(e){return e*e*e}function Ws(e){const t=e-1;return t*t*t+1}function Rs(e){return 1===e?e:1-Math.pow(2,-10*e)}var Vs=class extends ss{#yt=ut();get el(){return Hr(this.#yt)}set el(e){pt(this.#yt,e,!0)}#xt=ut(!1);get uiOpened(){return Hr(this.#xt)}set uiOpened(e){pt(this.#xt,e,!0)}#kt=ut();get contentScrollState(){return Hr(this.#kt)}set contentScrollState(e){pt(this.#kt,e,!0)}height=new Ns(0,{stiffness:.2,damping:.4});#Ct=ut(wt({bottom:0,middle:this.calculateBreakpoint(),top:this.calculateBreakpoint(.99)}));get breakpoints(){return Hr(this.#Ct)}set breakpoints(e){pt(this.#Ct,e,!0)}#Lt=ut(wt(this.breakpoints.middle));get currentBreakpoint(){return Hr(this.#Lt)}set currentBreakpoint(e){pt(this.#Lt,e,!0)}#Mt=ut(wt(this.breakpoints.middle));get nextBreakpoint(){return Hr(this.#Mt)}set nextBreakpoint(e){pt(this.#Mt,e,!0)}#St=ut(wt({active:!1,startX:0,startY:0,startWidth:0,startHeight:0}));get resizing(){return Hr(this.#St)}set resizing(e){pt(this.#St,e,!0)}#$t=ut(wt({active:!1,start:0,current:0,difference:0,startHeight:0,height:0,direction:null,hasMoved:!1}));get dragging(){return Hr(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(){ds(),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()}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)}}},Bs="cubic-bezier(0.32, 0.72, 0, 1)",Us="ease-out",Zs=`transform 0.5s ${Bs}`,qs=`transform 0.3s ${Us}`,Ks=`opacity 0.5s ${Bs}`,Gs=`opacity 0.3s ${Us}`,Xs=class extends ss{#yt=ut();get el(){return Hr(this.#yt)}set el(e){pt(this.#yt,e,!0)}#_t=ut(null);get overlayEl(){return Hr(this.#_t)}set overlayEl(e){pt(this.#_t,e,!0)}#Tt=ut(!1);get isVisible(){return Hr(this.#Tt)}set isVisible(e){pt(this.#Tt,e,!0)}#Et=ut(!1);get isClosing(){return Hr(this.#Et)}set isClosing(e){pt(this.#Et,e,!0)}#Ot=ut(!1);get willClose(){return Hr(this.#Ot)}set willClose(e){pt(this.#Ot,e,!0)}#xt=ut(!1);get uiOpened(){return Hr(this.#xt)}set uiOpened(e){pt(this.#xt,e,!0)}onClosed=null;snapPoints=[.35,1];fadeFromIndex=0;#It=ut(0);get activeSnapIndex(){return Hr(this.#It)}set activeSnapIndex(e){pt(this.#It,e,!0)}get collapsed(){return this.modules.environment.touch&&this.snapPoints.length>1&&0===this.activeSnapIndex}_drawerEl=null;_prevBodyOverflow="";_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.dom.scroll.disable({touchOnly:!0}),this.openDrawer())}open(){ds(),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()}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?qs:Zs}get opacityTransition(){return this.modules.environment.android?Gs:Ks}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._prevBodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",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);const e=()=>{this._drawerEl?.removeEventListener("transitionend",t),clearTimeout(r),this._keyboardHeight=0,this.opened=!1,this.isVisible=!1,this.isClosing=!1,this.modules.dom.scroll.enable(),document.body.style.overflow=this._prevBodyOverflow,this.onClosed?.(),this.onClosed=null},t=t=>{t.target===this._drawerEl&&e()};this._drawerEl.addEventListener("transitionend",t);const r=setTimeout(e,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))}},Ys=class extends ss{#At=ut(!1);get touch(){return Hr(this.#At)}set touch(e){pt(this.#At,e,!0)}#zt=ut(!1);get android(){return Hr(this.#zt)}set android(e){pt(this.#zt,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")}},Js=e=>e;function Qs(e){const t=e-1;return t*t*t+1}function ea(e){const t="string"==typeof e&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}function ta(e,{delay:t=0,duration:r=400,easing:o=Js}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:o,css:e=>"opacity: "+e*i}}function ra(e,{delay:t=0,duration:r=400,easing:o=Qs,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]=ea(i),[p,g]=ea(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 oa=!1;function ia(e,{delay:r=0,duration:o=400,easing:i=Qs,axis:n="y"}={}){const s=getComputedStyle(e);t&&!oa&&/(contents|inline|table)/.test(s.display)&&(oa=!0,Promise.resolve().then(()=>oa=!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 na(e,{delay:t=0,duration:r=400,easing:o=Qs,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 sa(e,t){for(const r in t)e[r]=t[r];return e}var aa=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 la(e,t){ue(t,!0);const{win:r,router:o,sheet:i,environment:n}=dy();let s=Bi(t,"name",3,""),a=Bi(t,"navbar",3,!0);Bi(t,"visible",3,!1),Bi(t,"navigating",3,!1),Bi(t,"direction",3,"forward");let l=ut(void 0);const c=new is({element:()=>Hr(l),onScroll:()=>{r.contentScrollState=c}});let d=Qe(()=>o.current===s()),u=Qe(()=>o.previous===s()),h=Qe(()=>o.next===s());Kt(()=>{Hr(d)&&(r.contentScrollState=c)});var p=aa(),g=It(p);Wo(It(g),()=>t.children),q(g),ji(g,e=>pt(l,e),()=>Hr(l)),K(2),q(p),er(()=>{Ci(p,"data-fubi-page",s()),p.inert=!Hr(d),li(p,1,ii(["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",Hr(d)&&"page-current",Hr(u)&&"page-previous",Hr(h)&&"page-next"])),li(g,1,ii(["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 ca=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 da(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=ca();Li(o,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",...r})),bo(e,o)}var ua=po("<div><!></div>");function ha(e,t){var r=ua();Wo(It(r),()=>t.children),q(r),er(()=>li(r,1,`flex flex-col w-full relief rounded-[16px] superellipse glass-pressed ${t.class}`)),bo(e,r)}var pa=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 ga(e,t){ue(t,!0);let r=Bi(t,"progress",3,0),o=Bi(t,"radius",3,12),i=Bi(t,"stroke",3,4),n=Bi(t,"colorful",3,!0),s=new Ns(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*Hr(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");Jn(()=>r(),()=>{s.set(r())});var h=pa(),p=It(h),g=zt(p);q(h),er(()=>{Ci(h,"width",Hr(d)),Ci(h,"height",Hr(d)),Ci(h,"viewBox",`0 0 ${Hr(d)} ${Hr(d)}`),li(h,0,ii(["-rotate-90 shrink-0 transition-colors duration-200",Hr(u)])),Ci(p,"cx",Hr(c)),Ci(p,"cy",Hr(c)),Ci(p,"r",o()),Ci(p,"stroke-width",i()),li(g,0,ii(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Ci(g,"cx",Hr(c)),Ci(g,"cy",Hr(c)),Ci(g,"r",o()),Ci(g,"stroke-width",i()),Ci(g,"stroke-dasharray",`${Hr(l)} ${Hr(a)}`)}),bo(e,h),he()}function fa(e){return null!==e&&"object"==typeof e}var ma=["string","number","bigint","boolean"];function va(e){return null==e||!!ma.includes(typeof e)||(Array.isArray(e)?e.every(e=>va(e)):"object"==typeof e&&Object.getPrototypeOf(e)===Object.prototype)}var ba=Symbol("box"),wa=Symbol("is-writable");function ya(e,t){const r=Qe(e);return t?{[ba]:!0,[wa]:!0,get current(){return Hr(r)},set current(e){t(e)}}:{[ba]:!0,get current(){return e()}}}function xa(e){return fa(e)&&ba in e}function ka(e){return xa(e)&&wa in e}function Ca(e){return xa(e)?e:function(e){return"function"==typeof e}(e)?ya(e):La(e)}function La(e){let t=ut(wt(e));return{[ba]:!0,[wa]:!0,get current(){return Hr(t)},set current(e){pt(t,e,!0)}}}function Ma(e){let t=ut(wt(e));return{[ba]:!0,[wa]:!0,get current(){return Hr(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)}}}Ma.from=Ca,Ma.with=ya,Ma.flatten=function(e){return Object.entries(e).reduce((e,[t,r])=>xa(r)?(ka(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}),{})},Ma.readonly=function(e){return ka(e)?{[ba]:!0,get current(){return e.current}}:e},Ma.isBox=xa,Ma.isWritableBox=ka;var $a=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,_a=/\n/g,Ta=/^\s*/,Ea=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Oa=/^:\s*/,Ia=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Aa=/^[;\s]*/,za=/^\s+|\s+$/g,Pa="";function Fa(e){return e?e.replace(za,Pa):Pa}var Na=/\d/,ja=["-","_","/","."];function Da(e=""){if(!Na.test(e))return e!==e.toLowerCase()}function Ha(e){return e?function(e){const t=[];let r,o,i="";for(const n of e){const e=ja.includes(n);if(!0===e){t.push(i),i="",r=void 0;continue}const s=Da(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 Wa(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;Pa!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,Pa===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(Ea);if(t){if(u(),!l(Oa))return a("property missing ':'");var r=l(Ia),o=e({type:"declaration",property:Fa(t[0].replace($a,Pa)),value:r?Fa(r[0].replace($a,Pa)):Pa});return l(Aa),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[Ha(e)]=r:e.startsWith("--")?t[e]=r:t[(o=e,function(e){return e?e[0].toLowerCase()+e.slice(1):""}(Ha(o||"")))]=r}),t}function Ra(...e){return(...t)=>{for(const r of e)"function"==typeof r&&r(...t)}}var Va=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 Ba(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=>`${Va(t)}: ${e[t]};`).join("\n")}(e).replace("\n"," ")}var Ua=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 Za(e){return Ua.has(e)}function qa(...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&&Za(e))t[e]=Sa(r,i);else if(n&&s)t[e]=Ra(r,i);else if("class"===e){const o=va(r),n=va(i);o&&n?t[e]=oi(r,i):o?t[e]=oi(r):n&&(t[e]=oi(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=Wa(i);t[e]={...r,...o}}else if(s&&n)t[e]={...Wa(r),...i};else if(s&&a){const o=Wa(r),n=Wa(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=Ba(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}function Ka(e){Kt(()=>()=>{e()})}function Ga(e){Kt(()=>Vr(()=>e()))}function Xa(e){Dr().then(e)}function Ya(e){return fa(e)&&1===e.nodeType&&"string"==typeof e.nodeName}function Ja(e){return fa(e)&&9===e.nodeType}function Qa(e){return function(e){return fa(e)&&void 0!==e.nodeType}(e)&&11===e.nodeType&&"host"in e}function el(e){return Ja(e)?e:function(e){return fa(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;#Pt=Qe(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return Hr(this.#Pt)}set root(e){pt(this.#Pt,e)}constructor(e){this.element="function"==typeof e?ya(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=>xa(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{#Ft;#le;constructor(e){this.#Ft=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.#Ft}" 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};#Nt=!1;#R;#jt;#ne;#Dt=Qe(()=>(Hr(this.#Y)?.(),this.getSize().width));#Ht=Qe(()=>(Hr(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.#Nt=!0;for(const t of e){const e="content-box"===this.#R.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.#Nt=!1,r.disconnect()}})});constructor(e,t={box:"border-box"}){this.#ne=t.window??il,this.#R=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.#R.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.#Nt?this.#Z:this.calculateSize()??this.#Z}get current(){return Hr(this.#Y)?.(),this.getSize()}get width(){return Hr(this.#Dt)}get height(){return Hr(this.#Ht)}};function dl(e){return e?"true":"false"}function ul(e){return e?"":void 0}function hl(e){return e?"open":"closed"}var pl=class{#Wt;#Rt;attrs;constructor(e){this.#Wt=e.getVariant?e.getVariant():null,this.#Rt=this.#Wt?`data-${this.#Wt}-`:`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.#Rt}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function gl(e){const t=new pl(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var fl="ArrowDown",ml="ArrowLeft",vl="ArrowRight",bl="ArrowUp",wl="Home";function yl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?ml:vl,vertical:fl}[t]}function xl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?vl:ml,vertical:bl}[t]}var kl="undefined"!=typeof document,Cl=kl&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent));function Ll(e){return e instanceof HTMLElement}function Ml(e){return e instanceof Element}function Sl(e){return e instanceof Element||e instanceof SVGElement}function $l(e){return"touch"===e.pointerType}function _l(e){return null!==e}var Tl=class{#Vt;#Bt=Ma(null);constructor(e){this.#Vt=e}getCandidateNodes(){return this.#Vt.rootNode.current?this.#Vt.candidateSelector?Array.from(this.#Vt.rootNode.current.querySelectorAll(this.#Vt.candidateSelector)):this.#Vt.candidateAttr?Array.from(this.#Vt.rootNode.current.querySelectorAll(`[${this.#Vt.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){const e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,t,r=!1){const o=this.#Vt.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:yl(e,t),prevKey:xl(e,t)}}((l=o,window.getComputedStyle(l).getPropertyValue("direction")),this.#Vt.orientation.current);var l;const c=this.#Vt.loop.current,d={[s]:n+1,[a]:n-1,[wl]:0,End:i.length-1};if(r){const e="ArrowUp"===a?ml:bl;d["ArrowDown"===s?vl:fl]=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.#Bt.current=h.id,this.#Vt.onCandidateFocus?.(h),h):void 0}getTabIndex(e){const t=this.getCandidateNodes(),r=null!==this.#Bt.current;return e&&!r&&t[0]===e?(this.#Bt.current=e.id,0):e?.id===this.#Bt.current?0:-1}setCurrentTabStopId(e){this.#Bt.current=e}focusCurrentTabStop(){const e=this.#Bt.current;if(!e)return;const t=this.#Vt.rootNode.current?.querySelector(`#${e}`);t&&Ll(t)&&t.focus()}},El=class{#Vt;#Ut=null;constructor(e){this.#Vt=e,Ka(()=>this.#Zt())}#Zt(){this.#Ut&&(window.cancelAnimationFrame(this.#Ut),this.#Ut=null)}run(e){this.#Zt();const t=this.#Vt.ref.current;t&&("function"==typeof t.getAnimations?this.#Ut=window.requestAnimationFrame(()=>{const r=t.getAnimations();0!==r.length?Promise.allSettled(r.map(e=>e.finished)).then(()=>{this.#qt(e)}):this.#qt(e)}):this.#qt(e))}#qt(e){const t=()=>{e()};this.#Vt.afterTick?Xa(t):t()}},Ol=class{#Vt;#Kt;#Gt;#Xt=ut(!1);constructor(e){this.#Vt=e,pt(this.#Xt,e.open.current,!0),this.#Kt=e.enabled??!0,this.#Gt=new El({ref:this.#Vt.ref,afterTick:this.#Vt.open}),al(()=>this.#Vt.open.current,e=>{e&&pt(this.#Xt,!0),this.#Kt&&this.#Gt.run(()=>{e===this.#Vt.open.current&&(this.#Vt.open.current||pt(this.#Xt,!1),this.#Vt.onComplete?.())})})}get shouldRender(){return Hr(this.#Xt)}};function Il(){}function Al(e,t){return void 0===t?`bits-${e}`:`bits-${e}-${t}`}var zl=gl({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Pl=new nl("Dialog.Root | AlertDialog.Root"),Fl=class e{static create(t){const r=Pl.getOr(null);return Pl.set(new e(t,r))}opts;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}#Qt=ut(null);get overlayNode(){return Hr(this.#Qt)}set overlayNode(e){pt(this.#Qt,e,!0)}#er=ut(null);get descriptionNode(){return Hr(this.#er)}set descriptionNode(e){pt(this.#er,e,!0)}#tr=ut(void 0);get contentId(){return Hr(this.#tr)}set contentId(e){pt(this.#tr,e,!0)}#rr=ut(void 0);get titleId(){return Hr(this.#rr)}set titleId(e){pt(this.#rr,e,!0)}#or=ut(void 0);get triggerId(){return Hr(this.#or)}set triggerId(e){pt(this.#or,e,!0)}#ir=ut(void 0);get descriptionId(){return Hr(this.#ir)}set descriptionId(e){pt(this.#ir,e,!0)}#nr=ut(null);get cancelNode(){return Hr(this.#nr)}set cancelNode(e){pt(this.#nr,e,!0)}#sr=ut(0);get nestedOpenCount(){return Hr(this.#sr)}set nestedOpenCount(e){pt(this.#sr,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 Ol({ref:ya(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ol({ref:ya(()=>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=>zl.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){0!==this.nestedOpenCount&&(this.nestedOpenCount--,this.parent?.decrementNested())}#ar=Qe(()=>({"data-state":hl(this.opts.open.current)}));get sharedProps(){return Hr(this.#ar)}set sharedProps(e){pt(this.#ar,e)}},Nl=class e{static create(t){return new e(t,Pl.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":dl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}},jl=class e{static create(t){return new e(t,Pl.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 Hr(this.#f)}set props(e){pt(this.#f,e)}},Dl=class e{static create(t){return new e(t,Pl.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})}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,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":ul(this.root.nestedOpenCount>0),"data-nested":ul(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},Hl=class e{static create(t){return new e(t,Pl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.overlayNode=e)}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,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":ul(this.root.nestedOpenCount>0),"data-nested":ul(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};function Wl(e,t){var r=vo();Io(At(r),()=>t.children,e=>{var r=vo();Wo(At(r),()=>t.children??g),bo(e,r)}),bo(e,r)}var Rl=new nl("BitsConfig"),Vl=class{opts;constructor(e,t){const r=function(e,t){return r=>ya(()=>{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 Bl(e,t){return r=>{const o=function(){const e=new Vl(null,{});return Rl.getOr(e).opts}();return ya(()=>{const i=r();if(void 0!==i)return i;const n=e(o).current;return void 0!==n?n:t})}}Bl(e=>e.defaultLocale,"en");var Ul=Bl(e=>e.defaultPortalTo,"body");function Zl(e,r){ue(r,!0);const o=Ul(()=>r.to),i=pe("getAllContexts");let n,s=Qe(function(){if(!kl||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([()=>Hr(s),()=>r.disabled],([e,t])=>{if(e&&!t)return n=Co(Wl,{target:e,props:{children:r.children},context:i}),()=>{a()};a()});var l=vo(),c=At(l),d=e=>{var t=vo();Wo(At(t),()=>r.children??g),bo(e,t)};To(c,e=>{r.disabled&&e(d)}),bo(e,l),he()}function ql(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 Kl(e,t){return e===t||e.contains(t)}function Gl(e){return e?.ownerDocument??document}var Xl=["Enter"," "],Yl=[bl,"PageDown","End"],Jl=[fl,"PageUp",wl,...Yl];function Ql(e){return"mouse"===e.pointerType}function ec(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 tc=ut(!1),rc=class e{static _refs=0;static _cleanup;constructor(){Kt(()=>(0===e._refs&&(e._cleanup=Yt(()=>{const e=[],t=e=>{pt(tc,!1)};return e.push(io(document,"pointerdown",t,{capture:!0}),io(document,"pointermove",t,{capture:!0}),io(document,"keydown",e=>{pt(tc,!0)},{capture:!0})),Ra(...e)})),e._refs++,()=>{e._refs--,0===e._refs&&(pt(tc,!1),e._cleanup?.())}))}get current(){return Hr(tc)}set current(e){pt(tc,e,!0)}},oc=["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] *)"],ic=/* @__PURE__ */oc.join(","),nc="undefined"==typeof Element,sc=nc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ac=!nc&&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},lc=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]"):lc(e.parentNode))},cc=function(e,t,r){if(lc(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(ic));return t&&sc.call(e,ic)&&o.unshift(e),o.filter(r)},dc=function(e,t,r){for(var o=[],i=Array.from(e);i.length;){var n=i.shift();if(!lc(n,!1))if("SLOT"===n.tagName){var s=n.assignedElements(),a=dc(s.length?s:n.children,!0,r);r.flatten?o.push.apply(o,a):o.push({scopeParent:n,candidates:a})}else{sc.call(n,ic)&&r.filter(n)&&(t||!e.includes(n))&&o.push(n);var l=n.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(n),c=!lc(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(n));if(l&&c){var d=dc(!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},uc=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},hc=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))&&!uc(e)?0:e.tabIndex},pc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},gc=function(e){return"INPUT"===e.tagName},fc=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return 0===r&&0===o},mc=function(e,t){return!(t.disabled||function(e){return gc(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=sc.call(e,"details>summary:first-of-type")?e.parentElement:e;if(sc.call(i,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"full-native"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return fc(e)}else{if("function"==typeof o){for(var n=e;e;){var s=e.parentElement,a=ac(e);if(s&&!s.shadowRoot&&!0===o(s))return fc(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&&ac(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=ac(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!!sc.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},vc=function(e,t){return!(function(e){return function(e){return gc(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||ac(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)||hc(t)<0||!mc(e,t))},bc=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},wc=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=hc(e);return r<0&&t&&!uc(e)?0:r}(n,i),a=i?wc(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(pc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},yc=function(e,t){var r;return r=(t=t||{}).getShadowRoot?dc([e],t.includeContainer,{filter:vc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:bc}):cc(e,t.includeContainer,vc.bind(null,t)),wc(r)},xc=function(e,t){return(t=t||{}).getShadowRoot?dc([e],t.includeContainer,{filter:mc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):cc(e,t.includeContainer,mc.bind(null,t))},kc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sc.call(e,ic)&&vc(t,e)},Cc=/* @__PURE__ */oc.concat("iframe:not([inert]):not([inert] *)").join(","),Lc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sc.call(e,Cc)&&mc(t,e)};function Mc(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function Sc(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 Sc(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 $c(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=$c(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 $c(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var _c={afterMs:1e4,onChange:Il};function Tc(e,t){const{afterMs:r,onChange:o,getWindow:i}={..._c,...t};let n=null,s=ut(wt(e));return Kt(()=>()=>{n&&i().clearTimeout(n)}),ya(()=>Hr(s),t=>{pt(s,t,!0),o?.(t),n&&i().clearTimeout(n),n=i().setTimeout(()=>{pt(s,e,!0),o?.(e)},r)})}var Ec=class{#Vt;#cr;#dr=Qe(()=>this.#Vt.onMatch?this.#Vt.onMatch:e=>e.focus());#ur=Qe(()=>this.#Vt.getCurrentItem?this.#Vt.getCurrentItem:this.#Vt.getActiveElement);constructor(e){this.#Vt=e,this.#cr=Tc("",{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.#cr.current=this.#cr.current+e;const r=Hr(this.#ur)(),o=t.find(e=>e===r)?.textContent?.trim()??"",i=Sc(t.map(e=>e.textContent?.trim()??""),this.#cr.current,o),n=t.find(e=>e.textContent?.trim()===i);return n&&Hr(this.#dr)(n),n}resetTypeahead(){this.#cr.current=""}get search(){return this.#cr.current}},Oc=class{#Vt;#Kt;#hr;#pr=ut(null);constructor(e){this.#Vt=e,this.#Kt=Qe(()=>this.#Vt.enabled()),this.#hr=Tc(!1,{afterMs:e.transitTimeout??300,onChange:e=>{Hr(this.#Kt)&&this.#Vt.setIsPointerInTransit?.(e)},getWindow:()=>tl(this.#Vt.triggerNode())}),al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return Ra(io(e,"pointerleave",e=>{this.#gr(e,t)}),io(t,"pointerleave",t=>{this.#gr(t,e)}))}),al(()=>Hr(this.#pr),()=>{const t=el(e.triggerNode()??e.contentNode());if(t)return io(t,"pointermove",t=>{if(!Hr(this.#pr))return;const r=t.target;if(!Ml(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,Hr(this.#pr));i?this.#fr():n&&(this.#fr(),e.onPointerExit())})})}#fr(){pt(this.#pr,null),this.#hr.current=!1}#gr(e,t){const r=e.currentTarget;if(!Ll(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.#pr,n,!0),this.#hr.current=!0}},Ic=new nl("Menu.Root"),Ac=new nl("Menu.Root | Menu.Sub"),zc=new nl("Menu.Content"),Pc=(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})),Fc=gl({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]}),Nc=class e{static create(t){const r=new e(t);return Ic.set(r)}opts;isUsingKeyboard=new rc;#mr=ut(!1);get ignoreCloseAutoFocus(){return Hr(this.#mr)}set ignoreCloseAutoFocus(e){pt(this.#mr,e,!0)}#hr=ut(!1);get isPointerInTransit(){return Hr(this.#hr)}set isPointerInTransit(e){pt(this.#hr,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>Fc.getAttr(e,this.opts.variant.current)},jc=class e{static create(t,r){return Ac.set(new e(t,r,null))}opts;root;parentMenu;contentId=ya(()=>"");#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}constructor(e,t,r){this.opts=e,this.root=t,this.parentMenu=r,this.contentPresence=new Ol({ref:ya(()=>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}},Dc=class e{static create(t){return zc.set(new e(t,Ac.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#cr=ut("");get search(){return Hr(this.#cr)}set search(e){pt(this.#cr,e,!0)}#vr=0;#br;#wr=ut(!1);get mounted(){return Hr(this.#wr)}set mounted(e){pt(this.#wr,e,!0)}#yr;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.#yr=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 Oc({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.#br=new Ec({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new Tl({rootNode:ya(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:ya(()=>"vertical")}),al(()=>this.parentMenu.contentNode,e=>{if(e)return Pc.listen(e,()=>{Xa(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})})}),Kt(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(this.#vr)})}#xr(){const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]}#kr(){return this.parentMenu.root.isPointerInTransit}onCloseAutoFocus=e=>{this.opts.onCloseAutoFocus.current?.(e),e.defaultPrevented||this.#yr||this.parentMenu.triggerNode&&kc(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(!kc(e,Mc()))return function(e,t){const r=el(e);if(!Lc(e,Mc()))return r.body;const o=xc(r.body,Mc());"prev"===t&&o.reverse();const i=o.indexOf(e);return-1===i?r.body:o.slice(i+1).find(e=>kc(e,Mc()))??r.body}(e,t);const r=el(e),o=yc(r.body,Mc());"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(!Ll(t)||!Ll(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.#xr();o&&!i&&n&&this.#br(e.key,s),e.target?.id===this.parentMenu.contentId.current&&Jl.includes(e.key)&&(e.preventDefault(),Yl.includes(e.key)&&s.reverse(),function(e,{select:t=!1}={},r){const o=r();for(const i of e)if(ec(i,{select:t}),r()!==o)return!0}(s,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){Ml(e.currentTarget)&&Ml(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#vr),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&Xa(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return this.#kr()}onItemLeave(e){e.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))||this.#kr()||this.parentMenu.root.isUsingKeyboard.current||(this.parentMenu.contentNode?.focus(),this.rovingFocusGroup.setCurrentTabStopId(""))}onTriggerLeave(){return!!this.#kr()}handleInteractOutside(e){if(!Sl(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}#lr=Qe(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}},Hc=class{opts;content;attachment;#Cr=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&&Ql(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const t=e.currentTarget;if(!Ll(t))return;t.focus()}}onpointerleave(e){e.defaultPrevented||Ql(e)&&this.content.onItemLeave(e)}onfocus(e){Xa(()=>{e.defaultPrevented||this.opts.disabled.current||pt(this.#Cr,!0)})}onblur(e){Xa(()=>{e.defaultPrevented||pt(this.#Cr,!1)})}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":dl(this.opts.disabled.current),"data-disabled":ul(this.opts.disabled.current),"data-highlighted":Hr(this.#Cr)?"":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 Hr(this.#f)}set props(e){pt(this.#f,e)}},Wc=class e{static create(t){return new e(t,new Hc(t,zc.get()))}opts;item;root;#Lr=!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)}#Mr(){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)&&Xl.includes(e.key)){if(!Ll(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}}onclick(e){this.item.opts.disabled.current||this.#Mr()}onpointerup(e){if(!e.defaultPrevented&&!this.#Lr){if(!Ll(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#Lr=!0}#f=Qe(()=>qa(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},Rc=class e{static create(t){return new e(t,Ac.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()))};#Sr=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":dl(this.parentMenu.opts.open.current),"aria-controls":Hr(this.#Sr),"data-disabled":ul(this.opts.disabled.current),"data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}};globalThis.bitsDismissableLayers??=/* @__PURE__ */new Map;var Vc=class e{static create(t){return new e(t)}opts;#$r;#_r;#Tr={pointerdown:!1};#Er=!1;#Or=!1;#Ir=void 0;#Ar;#zr=Il;constructor(e){this.opts=e,this.#_r=e.interactOutsideBehavior,this.#$r=e.onInteractOutside,this.#Ar=e.onFocusOutside,Kt(()=>{this.#Ir=Gl(this.opts.ref.current)});let t=Il;const r=()=>{this.#Pr(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.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.#_r),t(),t=this.#Nr())},1),r}),Ka(()=>{this.#Pr.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.destroy(),this.#zr(),t()})}#jr=e=>{e.defaultPrevented||this.opts.ref.current&&Xa(()=>{this.opts.ref.current&&!this.#Dr(e.target)&&e.target&&!this.#Or&&this.#Ar.current?.(e)})};#Nr(){return Ra(io(this.#Ir,"pointerdown",Ra(this.#Hr,this.#Wr),{capture:!0}),io(this.#Ir,"pointerdown",Ra(this.#Rr,this.#Fr)),io(this.#Ir,"focusin",this.#jr))}#Vr=e=>{let t=e;t.defaultPrevented&&(t=Bc(e)),this.#$r.current(e)};#Fr=ql(e=>{if(!this.opts.ref.current)return void this.#zr();const t=this.opts.isValidEvent.current(e,this.opts.ref.current)||function(e,t){const r=e.target;if(!Sl(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)&&Gl(r).documentElement.contains(r)&&!Kl(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.#Er||this.#Br()||!t)return void this.#zr();let r=e;r.defaultPrevented&&(r=Bc(r)),"close"===this.#_r.current||"defer-otherwise-close"===this.#_r.current?"touch"===e.pointerType?(this.#zr(),this.#zr=io(this.#Ir,"click",this.#Vr,{once:!0})):this.#$r.current(r):this.#zr()},10);#Hr=e=>{this.#Tr[e.type]=!0};#Rr=e=>{this.#Tr[e.type]=!1};#Wr=()=>{this.opts.ref.current&&(this.#Er=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))};#Dr=e=>!!this.opts.ref.current&&Kl(this.opts.ref.current,e);#Pr=ql(()=>{for(const e in this.#Tr)this.#Tr[e]=!1;this.#Er=!1},20);#Br(){return Object.values(this.#Tr).some(Boolean)}#Ur=()=>{this.#Or=!0};#Zr=()=>{this.#Or=!1};props={onfocuscapture:this.#Ur,onblurcapture:this.#Zr}};function Bc(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 Uc(e,t){ue(t,!0);let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"onInteractOutside",3,Il),i=Bi(t,"onFocusOutside",3,Il),n=Bi(t,"isValidEvent",3,()=>!1);const s=Vc.create({id:ya(()=>t.id),interactOutsideBehavior:ya(()=>r()),onInteractOutside:ya(()=>o()),enabled:ya(()=>t.enabled),onFocusOutside:ya(()=>i()),isValidEvent:ya(()=>n()),ref:t.ref});var a=vo();Wo(At(a),()=>t.children??g,()=>({props:s.props})),bo(e,a),he()}globalThis.bitsEscapeLayers??=/* @__PURE__ */new Map;var Zc=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=Il;al(()=>e.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#qr()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#qr=()=>io(this.domContext.getDocument(),"keydown",this.#Kr,{passive:!1});#Kr=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 qc(e,t){ue(t,!0);let r=Bi(t,"escapeKeydownBehavior",3,"close"),o=Bi(t,"onEscapeKeydown",3,Il);Zc.create({escapeKeydownBehavior:ya(()=>r()),onEscapeKeydown:ya(()=>o()),enabled:ya(()=>t.enabled),ref:t.ref});var i=vo();Wo(At(i),()=>t.children??g),bo(e,i),he()}var Kc=class e{static instance;#Gr=La([]);#Xr=/* @__PURE__ */new WeakMap;#Yr=/* @__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.#Yr.set(e,r),this.#Gr.current=this.#Gr.current.filter(t=>t!==e),this.#Gr.current.unshift(e)}unregister(e){this.#Gr.current=this.#Gr.current.filter(t=>t!==e);const t=this.getActive();t&&t.resume()}getActive(){return this.#Gr.current[0]}setFocusMemory(e,t){this.#Xr.set(e,t)}getFocusMemory(e){return this.#Xr.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#Yr.set(e,t)}getPreFocusMemory(e){return this.#Yr.get(e)}clearPreFocusMemory(e){this.#Yr.delete(e)}},Gc=class e{#Jr=!1;#Qr=null;#eo=Kc.getInstance();#to=[];#Vt;constructor(e){this.#Vt=e}get paused(){return this.#Jr}pause(){this.#Jr=!0}resume(){this.#Jr=!1}#Zt(){for(const e of this.#to)e();this.#to=[]}mount(e){this.#Qr&&this.unmount(),this.#Qr=e,this.#eo.register(this),this.#ro(),this.#oo()}unmount(){this.#Qr&&(this.#Zt(),this.#io(),this.#eo.unregister(this),this.#eo.clearPreFocusMemory(this),this.#Qr=null)}#oo(){if(!this.#Qr)return;const e=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});this.#Vt.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#Qr)return;const e=this.#no();e?(e.focus(),this.#eo.setFocusMemory(this,e)):this.#Qr.focus()})}#io(){const e=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(this.#Vt.onCloseAutoFocus.current?.(e),!e.defaultPrevented){const e=this.#eo.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#ro(){if(!this.#Qr||!this.#Vt.trap.current)return;const e=this.#Qr,t=e.ownerDocument;this.#to.push(io(t,"focusin",t=>{if(this.#Jr||!this.#eo.isActiveScope(this))return;const r=t.target;if(r)if(e.contains(r))this.#eo.setFocusMemory(this,r);else{const r=this.#eo.getFocusMemory(this);if(r&&e.contains(r)&&Lc(r))t.preventDefault(),r.focus();else{const t=this.#no(),r=this.#so()[0];(t||r||e).focus()}}},{capture:!0}),io(e,"keydown",e=>{if(!this.#Vt.loop||this.#Jr||"Tab"!==e.key)return;if(!this.#eo.isActiveScope(this))return;const r=this.#ao();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.#eo.getFocusMemory(this);if(t&&!e.contains(t)){const t=this.#no(),r=this.#so()[0],o=t||r;o?(o.focus(),this.#eo.setFocusMemory(this,o)):e.focus()}});r.observe(e,{childList:!0,subtree:!0}),this.#to.push(()=>r.disconnect())}#ao(){return this.#Qr?yc(this.#Qr,{includeContainer:!1,getShadowRoot:!0}):[]}#no(){return this.#ao()[0]||null}#so(){return this.#Qr?xc(this.#Qr,{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 Xc(e,t){ue(t,!0);let r=Bi(t,"enabled",3,!1),o=Bi(t,"trapFocus",3,!1),i=Bi(t,"loop",3,!1),n=Bi(t,"onCloseAutoFocus",3,Il),s=Bi(t,"onOpenAutoFocus",3,Il);const a=Gc.use({enabled:ya(()=>r()),trap:ya(()=>o()),loop:i(),onCloseAutoFocus:ya(()=>n()),onOpenAutoFocus:ya(()=>s()),ref:t.ref});var l=vo();Wo(At(l),()=>t.focusScope??g,()=>({props:a.props})),bo(e,l),he()}globalThis.bitsTextSelectionLayers??=/* @__PURE__ */new Map;var Yc=class e{static create(t){return new e(t)}opts;domContext;#lo=Il;constructor(e){this.opts=e,this.domContext=new rl(e.ref);let t=Il;al(()=>this.opts.enabled.current,e=>(e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#Nr()),()=>{t(),this.#co(),globalThis.bitsTextSelectionLayers.delete(this)}))}#Nr(){return Ra(io(this.domContext.getDocument(),"pointerdown",this.#do),io(this.domContext.getDocument(),"pointerup",Sa(this.#co,this.opts.onPointerUp.current)))}#do=e=>{const t=this.opts.ref.current,r=e.target;Ll(t)&&Ll(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.#lo=function(e,t){const r=Jc(t),o=Jc(e);return Qc(t,"none"),Qc(e,"text"),()=>{Qc(t,r),Qc(e,o)}}(t,this.domContext.getDocument().body)))};#co=()=>{this.#lo(),this.#lo=Il}},Jc=e=>e.style.userSelect||e.style.webkitUserSelect;function Qc(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function ed(e,t){ue(t,!0);let r=Bi(t,"preventOverflowTextSelection",3,!0),o=Bi(t,"onPointerDown",3,Il),i=Bi(t,"onPointerUp",3,Il);Yc.create({id:ya(()=>t.id),onPointerDown:ya(()=>o()),onPointerUp:ya(()=>i()),enabled:ya(()=>t.enabled&&r()),ref:t.ref});var n=vo();Wo(At(n),()=>t.children??g),bo(e,n),he()}function td(e="bits"){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}globalThis.bitsIdCounter??={current:0};var rd=new Kn,od=ut(null),id=null,nd=null,sd=!1,ad=ya(()=>{for(const e of rd.values())if(e)return!0;return!1}),ld=null,cd=new class{#uo;#ho=0;#po=ut();#go;constructor(e){this.#uo=e}#fo(){this.#ho-=1,this.#go&&this.#ho<=0&&(this.#go(),pt(this.#po,void 0),this.#go=void 0)}get(...e){return this.#ho+=1,void 0===Hr(this.#po)&&(this.#go=Yt(()=>{pt(this.#po,this.#uo(...e),!0)})),Kt(()=>()=>{this.#fo()}),Hr(this.#po)}}(()=>{function e(){null!==nd&&(window.clearTimeout(nd),nd=null)}function t(){null!==Hr(od)||0!==rd.size||sd||pt(od,document.body.getAttribute("style"),!0)}return al(()=>ad.current,()=>{if(!ad.current)return;t(),sd=!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",Cl&&(id=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(()=>()=>{id?.()}),{get lockMap(){return rd},resetBodyStyle:function(){document.body.setAttribute("style",Hr(od)??""),document.body.style.removeProperty("--scrollbar-width"),Cl&&id?.(),pt(od,null)},scheduleCleanupIfNoNewLocks:function(t,r){e(),sd=!0;const o=ld=Date.now(),i=null===t?24:t;nd=window.setTimeout(()=>{nd=null,ld===o&&(ud(rd)?sd=!1:(sd=!1,r()))},i)},cancelPendingCleanup:e,ensureInitialStyleCaptured:t}}),dd=class{#We=td();#mo;#vo=()=>null;#bo;locked;constructor(e,t=()=>null){this.#mo=e,this.#vo=t,this.#bo=cd.get(),this.#bo&&(this.#bo.cancelPendingCleanup(),this.#bo.ensureInitialStyleCaptured(),this.#bo.lockMap.set(this.#We,this.#mo??!1),this.locked=ya(()=>this.#bo.lockMap.get(this.#We)??!1,e=>this.#bo.lockMap.set(this.#We,e)),Ka(()=>{if(this.#bo.lockMap.delete(this.#We),ud(this.#bo.lockMap))return;const e=this.#vo();this.#bo.scheduleCleanupIfNoNewLocks(e,()=>{this.#bo.resetBodyStyle()})}))}};function ud(e){for(const[t,r]of e)if(r)return!0;return!1}function hd(e,t){ue(t,!0);let r=Bi(t,"preventScroll",3,!0),o=Bi(t,"restoreScrollDelay",3,null);r()&&new dd(r(),()=>o()),he()}var pd=po("<div><!></div>");function gd(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"forceMount",3,!1),n=Bi(t,"ref",15,null),s=Wi(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Hl.create({id:ya(()=>o()),ref:ya(()=>n(),e=>n(e))}),l=Qe(()=>qa(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:qa(Hr(l)),...a.snippetProps}));Wo(o,()=>t.child,()=>Hr(e))}bo(e,r)},n=e=>{var r=pd();Li(r,e=>({...e}),[()=>qa(Hr(l))]),Wo(It(r),()=>t.children??g,()=>a.snippetProps),q(r),bo(e,r)};To(o,e=>{t.child?e(i):e(n,!1)}),bo(e,r)};To(d,e=>{(a.shouldRender||i())&&e(u)}),bo(e,c),he()}var fd=po("<button><!></button>");function md(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Nl.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(n()))}),l=Qe(()=>qa(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(l)})),bo(e,r)},h=e=>{var r=fd();Li(r,()=>({...Hr(l)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var vd=["top","right","bottom","left"],bd=Math.min,wd=Math.max,yd={left:"right",right:"left",bottom:"top",top:"bottom"},xd={start:"end",end:"start"};function kd(e,t,r){return wd(e,bd(t,r))}function Cd(e,t){return"function"==typeof e?e(t):e}function Ld(e){return e.split("-")[0]}function Md(e){return e.split("-")[1]}function Sd(e){return"x"===e?"y":"x"}function $d(e){return"y"===e?"height":"width"}var _d=/* @__PURE__ */new Set(["top","bottom"]);function Td(e){return _d.has(Ld(e))?"y":"x"}function Ed(e){return Sd(Td(e))}function Od(e){return e.replace(/start|end/g,e=>xd[e])}var Id=["left","right"],Ad=["right","left"],zd=["top","bottom"],Pd=["bottom","top"];function Fd(e){return e.replace(/left|right|bottom|top/g,e=>yd[e])}function Nd(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 jd(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 Dd(e,t,r){let{reference:o,floating:i}=e;const n=Td(t),s=Ed(t),a=$d(s),l=Ld(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(Md(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Hd(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}=Cd(t,e),g=Nd(p),f=a[h?"floating"===u?"reference":"floating":u],m=jd(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=jd(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 Wd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Rd(e){return vd.some(t=>e[t]>=0)}var Vd=/* @__PURE__ */new Set(["left","top"]),Bd=Math.min,Ud=Math.max,Zd=Math.round,qd=Math.floor,Kd=e=>({x:e,y:e});function Gd(){return"undefined"!=typeof window}function Xd(e){return Qd(e)?(e.nodeName||"").toLowerCase():"#document"}function Yd(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Jd(e){var t;return null==(t=(Qd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Qd(e){return!!Gd()&&(e instanceof Node||e instanceof Yd(e).Node)}function eu(e){return!!Gd()&&(e instanceof Element||e instanceof Yd(e).Element)}function tu(e){return!!Gd()&&(e instanceof HTMLElement||e instanceof Yd(e).HTMLElement)}function ru(e){return!(!Gd()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Yd(e).ShadowRoot)}var ou=/* @__PURE__ */new Set(["inline","contents"]);function iu(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=mu(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!ou.has(i)}var nu=/* @__PURE__ */new Set(["table","td","th"]);function su(e){return nu.has(Xd(e))}var au=[":popover-open",":modal"];function lu(e){return au.some(t=>{try{return e.matches(t)}catch(r){return!1}})}var cu=["transform","translate","scale","rotate","perspective"],du=["transform","translate","scale","rotate","perspective","filter"],uu=["paint","layout","strict","content"];function hu(e){const t=pu(),r=eu(e)?mu(e):e;return cu.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||du.some(e=>(r.willChange||"").includes(e))||uu.some(e=>(r.contain||"").includes(e))}function pu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}var gu=/* @__PURE__ */new Set(["html","body","#document"]);function fu(e){return gu.has(Xd(e))}function mu(e){return Yd(e).getComputedStyle(e)}function vu(e){return eu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bu(e){if("html"===Xd(e))return e;const t=e.assignedSlot||e.parentNode||ru(e)&&e.host||Jd(e);return ru(t)?t.host:t}function wu(e){const t=bu(e);return fu(t)?e.ownerDocument?e.ownerDocument.body:e.body:tu(t)&&iu(t)?t:wu(t)}function yu(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=wu(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Yd(i);if(n){const e=xu(s);return t.concat(s,s.visualViewport||[],iu(i)?i:[],e&&r?yu(e):[])}return t.concat(i,yu(i,[],r))}function xu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ku(e){const t=mu(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=tu(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=Zd(r)!==n||Zd(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function Cu(e){return eu(e)?e:e.contextElement}function Lu(e){const t=Cu(e);if(!tu(t))return Kd(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=ku(t);let s=(n?Zd(r.width):r.width)/o,a=(n?Zd(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var Mu=/* @__PURE__ */Kd(0);function Su(e){const t=Yd(e);return pu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Mu}function $u(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=Cu(e);let s=Kd(1);t&&(o?eu(o)&&(s=Lu(o)):s=Lu(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Yd(e))&&t}(n,r,o)?Su(n):Kd(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=Yd(n),t=o&&eu(o)?Yd(o):o;let r=e,i=xu(r);for(;i&&o&&t!==r;){const e=Lu(i),t=i.getBoundingClientRect(),o=mu(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=Yd(i),i=xu(r)}}return jd({width:d,height:u,x:l,y:c})}function _u(e,t){const r=vu(e).scrollLeft;return t?t.left+r:$u(Jd(e)).left+r}function Tu(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-_u(e,r),y:r.top+t.scrollTop}}var Eu=/* @__PURE__ */new Set(["absolute","fixed"]);function Ou(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Yd(e),o=Jd(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=pu();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=_u(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=Jd(e),r=vu(e),o=e.ownerDocument.body,i=Ud(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=Ud(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+_u(e);const a=-r.scrollTop;return"rtl"===mu(o).direction&&(s+=Ud(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Jd(e));else if(eu(t))o=function(e,t){const r=$u(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=tu(e)?Lu(e):Kd(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=Su(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return jd(o)}function Iu(e,t){const r=bu(e);return!(r===t||!eu(r)||fu(r))&&("fixed"===mu(r).position||Iu(r,t))}function Au(e,t){const r=t.get(e);if(r)return r;let o=yu(e,[],!1).filter(e=>eu(e)&&"body"!==Xd(e)),i=null;const n="fixed"===mu(e).position;let s=n?bu(e):e;for(;eu(s)&&!fu(s);){const t=mu(s),r=hu(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&Eu.has(i.position)||iu(s)&&!r&&Iu(e,s))?o=o.filter(e=>e!==s):i=t,s=bu(s)}return t.set(e,o),o}function zu(e,t,r){const o=tu(t),i=Jd(t),n="fixed"===r,s=$u(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=Kd(0);function c(){l.x=_u(i)}if(o||!o&&!n)if(("body"!==Xd(t)||iu(i))&&(a=vu(t)),o){const e=$u(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?Kd(0):Tu(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 Pu(e){return"static"===mu(e).position}function Fu(e,t){if(!tu(e)||"fixed"===mu(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Jd(e)===r&&(r=r.ownerDocument.body),r}function Nu(e,t){const r=Yd(e);if(lu(e))return r;if(!tu(e)){let t=bu(e);for(;t&&!fu(t);){if(eu(t)&&!Pu(t))return t;t=bu(t)}return r}let o=Fu(e,t);for(;o&&su(o)&&Pu(o);)o=Fu(o,t);return o&&fu(o)&&Pu(o)&&!hu(o)?r:o||function(e){let t=bu(e);for(;tu(t)&&!fu(t);){if(hu(t))return t;if(lu(t))return null;t=bu(t)}return null}(e)||r}var ju={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Jd(o),a=!!t&&lu(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=Kd(1);const d=Kd(0),u=tu(o);if((u||!u&&!n)&&(("body"!==Xd(o)||iu(s))&&(l=vu(o)),tu(o))){const e=$u(o);c=Lu(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?Kd(0):Tu(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:Jd,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?lu(t)?[]:Au(t,this._c):[].concat(r),o],s=n[0],a=n.reduce((e,r)=>{const o=Ou(t,r,i);return e.top=Ud(o.top,e.top),e.right=Bd(o.right,e.right),e.bottom=Bd(o.bottom,e.bottom),e.left=Ud(o.left,e.left),e},Ou(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Nu,getElementRects:async function(e){const t=this.getOffsetParent||Nu,r=this.getDimensions,o=await r(e.floating);return{reference:zu(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}=ku(e);return{width:t,height:r}},getScale:Lu,isElement:eu,isRTL:function(e){return"rtl"===mu(e).direction}};function Du(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Hu=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=Ld(r),a=Md(r),l="y"===Td(r),c=Vd.has(s)?-1:1,d=n&&l?-1:1,u=Cd(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}}}}},Wu=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}=Cd(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Td(Ld(i)),p=Sd(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=kd(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=kd(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}}}}}},Ru=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}=Cd(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=Ld(i),b=Td(a),w=Ld(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Fd(a)]:function(e){const t=Fd(e);return[Od(e),t,Od(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Md(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Ad:Id:t?Id:Ad;case"left":case"right":return t?zd:Pd;default:return[]}}(Ld(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(Od)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),M=[];let S=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&M.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Md(e),i=Ed(e),n=$d(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Fd(s)),[s,Fd(s)]}(i,s,y);M.push(L[e[0]],L[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every(e=>e<=0)){var $,_;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===Td(t)||S.every(e=>Td(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(_=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(p){case"bestFit":{var T;const e=null==(T=S.filter(e=>{if(k){const t=Td(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:T[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},Vu=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}=Cd(e,t),d=await s.detectOverflow(t,c),u=Ld(i),h=Md(i),p="y"===Td(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=bd(f-d[m],b),x=bd(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=wd(d.left,0),t=wd(d.right,0),r=wd(d.top,0),o=wd(d.bottom,0);p?L=g-2*(0!==e||0!==t?e+t:wd(d.left,d.right)):C=f-2*(0!==r||0!==o?r+o:wd(d.top,d.bottom))}await l({...t,availableWidth:L,availableHeight:C});const M=await s.getDimensions(a.floating);return g!==M.width||f!==M.height?{reset:{rects:!0}}:{}}}},Bu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:i="referenceHidden",...n}=Cd(e,t);switch(i){case"referenceHidden":{const e=Wd(await o.detectOverflow(t,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Rd(e)}}}case"escaped":{const e=Wd(await o.detectOverflow(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Rd(e)}}}default:return{}}}}},Uu=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}=Cd(e,t)||{};if(null==c)return{};const u=Nd(d),h={x:r,y:o},p=Ed(i),g=$d(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,M=C/2-f[g]/2-1,S=bd(u[v],M),$=bd(u[b],M),_=S,T=C-f[g]-$,E=C/2-f[g]/2+L,O=kd(_,E,T),I=!l.arrow&&null!=Md(i)&&E!==O&&n.reference[g]/2-(E<_?S:$)-f[g]/2<0,A=I?E<_?E-_:E-T:0;return{[p]:h[p]+A,data:{[p]:O,centerOffset:E-O-A,...I&&{alignmentOffset:A}},reset:I}}}),Zu=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}=Cd(e,t),d={x:r,y:o},u=Td(i),h=Sd(u);let p=d[h],g=d[u];const f=Cd(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=Vd.has(Ld(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 Ku(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gu(e,t){const r=Ku(e);return Math.round(t*r)/r}function Xu(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 Yu(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=La(null);let p=ut(wt(Hr(s))),g=ut(wt(Hr(n))),f=ut(wt({})),m=ut(!1),v=!1;const b=Qe(()=>{const e=h.current?Gu(h.current,Hr(d)):Hr(d),t=h.current?Gu(h.current,Hr(u)):Hr(u);return Hr(i)?{position:Hr(p),left:"0",top:"0",transform:`translate(${e}px, ${t}px)`,...h.current&&Ku(h.current)>=1.5&&{willChange:"transform"}}:{position:Hr(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:ju,...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}=Dd(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:Hd},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}=Dd(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:Hr(o),placement:Hr(n),strategy:Hr(s)}).then(e=>{if((t=c.current)instanceof Element&&(!t.isConnected||t instanceof HTMLElement&&t.hidden||0===t.getClientRects().length))pt(f,{...Hr(f),hide:{...Hr(f).hide,referenceHidden:!0}},!0);else{var t;if(!Hr(r)&&0!==Hr(d)&&0!==Hr(u)){const t=Math.max(Math.abs(Hr(a)),Math.abs(Hr(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&&Hr(r)&&y()}),Kt(function(){x(),void 0!==t?Hr(r)&&null!==c.current&&null!==h.current&&(w=t(c.current,h.current,y)):y()}),Kt(()=>{void 0!==t&&(Hr(o),Hr(n),Hr(s),Hr(a),Hr(l),Hr(r),Hr(r)&&Hr(m)?v?y():v=!0:v=!1)}),Kt(function(){Hr(r)||pt(m,!1)}),Kt(()=>x),{floating:h,reference:c,get strategy(){return Hr(p)},get placement(){return Hr(g)},get middlewareData(){return Hr(f)},get isPositioned(){return Hr(m)},get floatingStyles(){return Hr(b)},get update(){return y}}}var Ju={top:"bottom",right:"left",bottom:"top",left:"right"},Qu=new nl("Floating.Root"),eh=new nl("Floating.Content"),th=new nl("Floating.Root"),rh=class e{static create(t=!1){return t?th.set(new e):Qu.set(new e)}anchorNode=La(null);customAnchorNode=La(null);triggerNode=La(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})}},oh=class e{static create(t,r=!1){return r?eh.set(new e(t,th.get())):eh.set(new e(t,Qu.get()))}opts;root;contentRef=La(null);wrapperRef=La(null);arrowRef=La(null);contentAttachment=ol(this.contentRef);wrapperAttachment=ol(this.wrapperRef);arrowAttachment=ol(this.arrowRef);arrowId=La(td());#wo=Qe(()=>"string"==typeof this.opts.style?Wa(this.opts.style):this.opts.style?void 0:{});#yo=void 0;#xo=new cl(()=>this.arrowRef.current??void 0);#ko=Qe(()=>this.#xo?.width??0);#Co=Qe(()=>this.#xo?.height??0);#Lo=Qe(()=>this.opts.side?.current+("center"!==this.opts.align.current?`-${this.opts.align.current}`:""));#Mo=Qe(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#So=Qe(()=>Hr(this.#Mo).length>0);get hasExplicitBoundaries(){return Hr(this.#So)}set hasExplicitBoundaries(e){pt(this.#So,e)}#$o=Qe(()=>({padding:this.opts.collisionPadding.current,boundary:Hr(this.#Mo).filter(_l),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return Hr(this.#$o)}set detectOverflowOptions(e){pt(this.#$o,e)}#_o=ut(void 0);#To=ut(void 0);#Eo=ut(void 0);#Oo=ut(void 0);#Io=Qe(()=>{return[Hu({mainAxis:this.opts.sideOffset.current+Hr(this.#Co),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&Wu({mainAxis:!0,crossAxis:!1,limiter:"partial"===this.opts.sticky.current?Zu():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Ru({...this.detectOverflowOptions}),Vu({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:r})=>{const{width:o,height:i}=e.reference;pt(this.#_o,t,!0),pt(this.#To,r,!0),pt(this.#Eo,o,!0),pt(this.#Oo,i,!0)}}),this.arrowRef.current&&Uu({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),(e={arrowWidth:Hr(this.#ko),arrowHeight:Hr(this.#Co)},{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]=nh(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&&Bu({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean);var e});get middleware(){return Hr(this.#Io)}set middleware(e){pt(this.#Io,e)}floating;#Ao=Qe(()=>nh(this.floating.placement)[0]);get placedSide(){return Hr(this.#Ao)}set placedSide(e){pt(this.#Ao,e)}#zo=Qe(()=>nh(this.floating.placement)[1]);get placedAlign(){return Hr(this.#zo)}set placedAlign(e){pt(this.#zo,e)}#Po=Qe(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return Hr(this.#Po)}set arrowX(e){pt(this.#Po,e)}#Fo=Qe(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return Hr(this.#Fo)}set arrowY(e){pt(this.#Fo,e)}#No=Qe(()=>0!==this.floating.middlewareData.arrow?.centerOffset);get cannotCenterArrow(){return Hr(this.#No)}set cannotCenterArrow(e){pt(this.#No,e)}#jo=ut();get contentZIndex(){return Hr(this.#jo)}set contentZIndex(e){pt(this.#jo,e,!0)}#Do=Qe(()=>Ju[this.placedSide]);get arrowBaseSide(){return Hr(this.#Do)}set arrowBaseSide(e){pt(this.#Do,e)}#Ho=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":`${Hr(this.#_o)}px`,"--bits-floating-available-height":`${Hr(this.#To)}px`,"--bits-floating-anchor-width":`${Hr(this.#Eo)}px`,"--bits-floating-anchor-height":`${Hr(this.#Oo)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:"hidden","pointer-events":"none"},...Hr(this.#wo)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return Hr(this.#Ho)}set wrapperProps(e){pt(this.#Ho,e)}#f=Qe(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Ba({...Hr(this.#wo)}),...this.contentAttachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}#Wo=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 Hr(this.#Wo)}set arrowStyle(e){pt(this.#Wo,e)}constructor(e,t){this.opts=e,this.root=t,this.#yo=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),al(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=Yu({strategy:()=>this.opts.strategy.current,placement:()=>Hr(this.#Lo),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=Cu(e),d=i||n?[...c?yu(c):[],...yu(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=Jd(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:Ud(0,Bd(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||Du(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?$u(e):null;return l&&function t(){const o=$u(e);f&&!Du(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.#yo?.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})}},ih=class e{static create(t,r=!1){return new e(t,r?th.get():Qu.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=Ca(e.virtualEl.current):t.triggerNode=e.ref}};function nh(e){const[t,r="center"]=e.split("-");return[t,r]}function sh(e,t){ue(t,!0);let r=Bi(t,"tooltip",3,!1);rh.create(r());var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}function ah(e,t){ue(t,!0);let r=Bi(t,"tooltip",3,!1);ih.create({id:ya(()=>t.id),virtualEl:ya(()=>t.virtualEl),ref:t.ref},r());var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}var lh=po("<!> <!>",1);function ch(e,t){ue(t,!0);let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(t,"isStatic",3,!1),a=Bi(t,"tooltip",3,!1),l=Bi(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=lh(),u=At(d),h=e=>{hd(0,{get preventScroll(){return t.preventScroll}})},p=e=>{hd(0,{get preventScroll(){return t.preventScroll}})};To(u,e=>{t.forceMount&&t.enabled?e(h):t.forceMount||e(p,1)});{const e=(e,o)=>{let n=()=>o?.().props;qc(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)=>{ed(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:qa(c,s(),r?.().props,n(),{style:{pointerEvents:l()}}),wrapperProps:a()}));Wo(d,()=>t.popper??g,()=>Hr(e))}bo(e,i)},$$slots:{default:!0}})};Uc(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}})};Xc(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=Bi(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),Ui(()=>{t.onPlaced?.()});var r=vo();Wo(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=Bi(t,"side",3,"bottom"),o=Bi(t,"sideOffset",3,0),i=Bi(t,"align",3,"center"),n=Bi(t,"alignOffset",3,0),s=Bi(t,"arrowPadding",3,0),a=Bi(t,"avoidCollisions",3,!0),l=Bi(t,"collisionBoundary",19,()=>[]),c=Bi(t,"collisionPadding",3,0),d=Bi(t,"hideWhenDetached",3,!1),u=Bi(t,"onPlaced",3,()=>{}),h=Bi(t,"sticky",3,"partial"),p=Bi(t,"updatePositionStrategy",3,"optimized"),f=Bi(t,"strategy",3,"fixed"),m=Bi(t,"dir",3,"ltr"),v=Bi(t,"style",19,()=>({})),b=Bi(t,"wrapperId",19,td),w=Bi(t,"customAnchor",3,null),y=Bi(t,"tooltip",3,!1);const x=oh.create({side:ya(()=>r()),sideOffset:ya(()=>o()),align:ya(()=>i()),alignOffset:ya(()=>n()),id:ya(()=>t.id),arrowPadding:ya(()=>s()),avoidCollisions:ya(()=>a()),collisionBoundary:ya(()=>l()),collisionPadding:ya(()=>c()),hideWhenDetached:ya(()=>d()),onPlaced:ya(()=>u()),sticky:ya(()=>h()),updatePositionStrategy:ya(()=>p()),strategy:ya(()=>f()),dir:ya(()=>m()),style:ya(()=>v()),enabled:ya(()=>t.enabled),wrapperId:ya(()=>b()),customAnchor:ya(()=>w())},y()),k=Qe(()=>qa(x.wrapperProps,{style:{pointerEvents:"auto"}}));var C=vo();Wo(At(C),()=>t.content??g,()=>({props:x.props,wrapperProps:Hr(k)})),bo(e,C),he()}(e,Vi({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>o))};To(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 dh(e,t){let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(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=>{ch(e,Vi({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))};To(c,e=>{t.shouldRender&&e(d)}),bo(e,l)}function uh(e,t){let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(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"]);ch(e,Vi({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 hh=po("<div><!></div>");function ph(e,t){const r=wo();ue(t,!0);let o=Bi(t,"ref",15,null),i=Bi(t,"id",19,()=>Al(r)),n=Bi(t,"disabled",3,!1),s=Bi(t,"onSelect",3,Il),a=Bi(t,"closeOnSelect",3,!0),l=Wi(t,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const c=Wc.create({id:ya(()=>i()),disabled:ya(()=>n()),onSelect:ya(()=>s()),ref:ya(()=>o(),e=>o(e)),closeOnSelect:ya(()=>a())}),d=Qe(()=>qa(l,c.props));var u=vo(),h=At(u),p=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(d)})),bo(e,r)},f=e=>{var r=hh();Li(r,()=>({...Hr(d)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function gh(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 fh(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}var mh=class{#Vt;#Ro;#Vo=null;#Bo=null;#Uo=null;#Zo(){null!==this.#Uo&&(cancelAnimationFrame(this.#Uo),this.#Uo=null)}#qo(){this.#Zo(),this.#Uo=requestAnimationFrame(()=>{this.#Uo=null,this.#Vo&&this.#Bo&&(this.#Ko(),this.#Vt.onPointerExit())})}constructor(e){this.#Vt=e,this.#Ro=e.buffer??1,al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return[io(el(e),"pointermove",r=>{this.#Go([r.clientX,r.clientY],e,t)}),io(e,"pointerleave",r=>{const o=r.relatedTarget;if(Ml(o)&&t.contains(o))return;const i=this.#Vt.ignoredTargets?.()??[];if(!Ml(o)||!i.some(e=>e===o||e.contains(o))){if(Ml(o)&&!e.contains(o)&&!t.contains(o)&&!o.contains(t))return this.#Ko(),void this.#Vt.onPointerExit();this.#Vo=[r.clientX,r.clientY],this.#Bo="content",this.#qo()}}),io(e,"pointerenter",()=>{this.#Ko()}),io(t,"pointerenter",()=>{this.#Ko()}),io(t,"pointerleave",t=>{const r=t.relatedTarget;Ml(r)&&e.contains(r)||(this.#Vo=[t.clientX,t.clientY],this.#Bo="trigger",this.#qo())})].reduce((e,t)=>()=>{e(),t()},()=>{});this.#Ko()})}#Go(e,t,r){if(!this.#Vo||!this.#Bo)return;this.#Zo();const o=t.getBoundingClientRect(),i=r.getBoundingClientRect();if("content"===this.#Bo&&fh(e,i))return void this.#Ko();if("trigger"===this.#Bo&&fh(e,o))return void this.#Ko();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.#Xo(o,i,n);if(s&&gh(e,s))return;const a="content"===this.#Bo?i:o;gh(e,this.#Yo(this.#Vo,a,n,this.#Bo))||(this.#Ko(),this.#Vt.onPointerExit())}#Ko(){this.#Vo=null,this.#Bo=null,this.#Zo()}#Xo(e,t,r){const o=this.#Ro;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]]}}#Yo(e,t,r,o){const i=4*this.#Ro,[n,s]=e;switch("trigger"===o?this.#Jo(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]]}}#Jo(e){switch(e){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}}},vh=gl({component:"popover",parts:["root","trigger","content","close","overlay"]}),bh=new nl("Popover.Root"),wh=class e{static create(t){return bh.set(new e(t))}opts;#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}#Qt=ut(null);get overlayNode(){return Hr(this.#Qt)}set overlayNode(e){pt(this.#Qt,e,!0)}overlayPresence;#Qo=ut(!1);get openedViaHover(){return Hr(this.#Qo)}set openedViaHover(e){pt(this.#Qo,e,!0)}#ei=ut(!1);get hasInteractedWithContent(){return Hr(this.#ei)}set hasInteractedWithContent(e){pt(this.#ei,e,!0)}#ti=ut(!1);get hoverCooldown(){return Hr(this.#ti)}set hoverCooldown(e){pt(this.#ti,e,!0)}#ri=ut(0);get closeDelay(){return Hr(this.#ri)}set closeDelay(e){pt(this.#ri,e,!0)}#oi=null;#ii=null;constructor(e){this.opts=e,this.contentPresence=new Ol({ref:ya(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ol({ref:ya(()=>this.overlayNode),open:this.opts.open}),al(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,this.#ni())})}setDomContext(e){this.#ii=e}#ni(){null!==this.#oi&&this.#ii&&(this.#ii.clearTimeout(this.#oi),this.#oi=null)}toggleOpen(){this.#ni(),this.opts.open.current=!this.opts.open.current}handleClose(){this.#ni(),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){this.#ni(),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.#ni(),this.closeDelay<=0?this.opts.open.current=!1:this.#ii&&(this.#oi=this.#ii.setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),this.#oi=null},this.closeDelay)))}cancelDelayedClose(){this.#ni()}markInteraction(){this.hasInteractedWithContent=!0,this.#ni()}},yh=class e{static create(t){return new e(t,bh.get())}opts;root;attachment;domContext;#si=null;#oi=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})}#li(){null!==this.#si&&(this.domContext.clearTimeout(this.#si),this.#si=null)}#ni(){null!==this.#oi&&(this.domContext.clearTimeout(this.#oi),this.#oi=null)}#ci(){this.#li(),this.#ni()}onpointerenter(e){if(this.opts.disabled.current)return;if(!this.opts.openOnHover.current)return;if($l(e))return;if(pt(this.#ai,!0),this.#ni(),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown)return;const t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():this.#si=this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),this.#si=null},t)}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&($l(e)||(pt(this.#ai,!1),this.#li(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&0===e.button){if(this.#ci(),Hr(this.#ai)&&this.root.opts.open.current&&this.root.openedViaHover)return this.root.openedViaHover=!1,void(this.root.hasInteractedWithContent=!0);Hr(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.#ci(),this.root.toggleOpen())}#di(){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":dl(this.root.opts.open.current),"data-state":hl(this.root.opts.open.current),"aria-controls":this.#di(),[vh.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},xh=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 mh({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;Ml(t)&&kc(t)&&this.root.markInteraction()}onpointerenter(e){$l(e)||this.root.cancelDelayedClose()}onpointerleave(e){$l(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented)return;if(!Ml(e.target))return;const t=e.target.closest(vh.selector("trigger"));if(!t||t!==this.root.triggerNode){if(this.opts.customAnchor.current)if(Ml(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)}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,"data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},kh=po("<div><div><!></div></div>"),Ch=po("<div><div><!></div></div>");function Lh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"ref",15,null),i=Bi(t,"id",19,()=>Al(r)),n=Bi(t,"forceMount",3,!1),s=Bi(t,"onOpenAutoFocus",3,Il),a=Bi(t,"onCloseAutoFocus",3,Il),l=Bi(t,"onEscapeKeydown",3,Il),c=Bi(t,"onInteractOutside",3,Il),d=Bi(t,"trapFocus",3,!0),u=Bi(t,"preventScroll",3,!1),h=Bi(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=xh.create({id:ya(()=>i()),ref:ya(()=>o(),e=>o(e)),onInteractOutside:ya(()=>c()),onEscapeKeydown:ya(()=>l()),customAnchor:ya(()=>h())}),m=Qe(()=>qa(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(()=>qa(r?.().props,{style:Xu("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...f.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=kh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};uh(e,Vi(()=>Hr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Hr(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(()=>qa(r?.().props,{style:Xu("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...f.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Ch();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};dh(e,Vi(()=>Hr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get open(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Hr(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}}))}};To(y,e=>{n()?e(x):n()||e(k,1)}),bo(e,w),he()}var Mh=po("<button><!></button>");function Sh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"type",3,"button"),s=Bi(t,"disabled",3,!1),a=Bi(t,"openOnHover",3,!1),l=Bi(t,"openDelay",3,700),c=Bi(t,"closeDelay",3,300),d=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const u=yh.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(s())),openOnHover:ya(()=>a()),openDelay:ya(()=>l()),closeDelay:ya(()=>c())}),h=Qe(()=>qa(d,u.props,{type:n()}));ah(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();Wo(At(r),()=>t.child,()=>({props:Hr(h)})),bo(e,r)},s=e=>{var r=Mh();Li(r,()=>({...Hr(h)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function $h(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"onOpenChange",3,Il),i=Bi(t,"onOpenChangeComplete",3,Il);Fl.create({variant:ya(()=>"dialog"),open:ya(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:ya(()=>i())});var n=vo();Wo(At(n),()=>t.children??g),bo(e,n),he()}var _h=po("<button><!></button>");function Th(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=jl.create({variant:ya(()=>"close"),id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(n()))}),l=Qe(()=>qa(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(l)})),bo(e,r)},h=e=>{var r=_h();Li(r,()=>({...Hr(l)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var Eh=po("<!> <!>",1),Oh=po("<!> <div><!></div>",1);function Ih(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"forceMount",3,!1),s=Bi(t,"onCloseAutoFocus",3,Il),a=Bi(t,"onOpenAutoFocus",3,Il),l=Bi(t,"onEscapeKeydown",3,Il),c=Bi(t,"onInteractOutside",3,Il),d=Bi(t,"trapFocus",3,!0),u=Bi(t,"preventScroll",3,!0),h=Bi(t,"restoreScrollDelay",3,null),p=Wi(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const f=Dl.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e))}),m=Qe(()=>qa(p,f.props));var v=vo(),b=At(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().props;qc(e,Vi(()=>Hr(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)=>{Uc(e,Vi(()=>Hr(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)=>{ed(e,Vi(()=>Hr(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=Eh(),i=At(r),n=e=>{hd(0,{get preventScroll(){return u()},get restoreScrollDelay(){return h()}})};To(i,e=>{f.root.opts.open.current&&e(n)});var s=zt(i,2);{let e=Qe(()=>({props:qa(Hr(m),o()),...f.snippetProps}));Wo(s,()=>t.child,()=>Hr(e))}bo(e,r)},a=e=>{var r=Oh(),i=At(r);hd(0,{get preventScroll(){return u()}});var n=zt(i,2);Li(n,e=>({...e}),[()=>qa(Hr(m),o())]),Wo(It(n),()=>t.children??g),q(n),bo(e,r)};To(n,e=>{t.child?e(s):e(a,!1)}),bo(e,i)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))};Xc(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}})}};To(b,e=>{(f.shouldRender||n())&&e(w)}),bo(e,v),he()}function Ah(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"dir",3,"ltr"),i=Bi(t,"onOpenChange",3,Il),n=Bi(t,"onOpenChangeComplete",3,Il),s=Bi(t,"_internal_variant",3,"dropdown-menu");const a=Nc.create({variant:ya(()=>s()),dir:ya(()=>o()),onClose:()=>{r(!1),i()(!1)}});jc.create({open:ya(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:ya(()=>n())},a),sh(e,{children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var zh=po("<div><div><!></div></div>"),Ph=po("<div><div><!></div></div>");function Fh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"loop",3,!0),s=Bi(t,"onInteractOutside",3,Il),a=Bi(t,"onEscapeKeydown",3,Il),l=Bi(t,"onCloseAutoFocus",3,Il),c=Bi(t,"forceMount",3,!1),d=Bi(t,"trapFocus",3,!1),u=Wi(t,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]);const h=Dc.create({id:ya(()=>o()),loop:ya(()=>n()),ref:ya(()=>i(),e=>i(e)),onCloseAutoFocus:ya(()=>l())}),p=Qe(()=>qa(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(()=>qa(r?.().props,{style:Xu("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...h.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=zh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};uh(e,Vi(()=>Hr(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(()=>qa(r?.().props,{style:Xu("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...h.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Ph();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};dh(e,Vi(()=>Hr(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}}))}};To(b,e=>{c()?e(w):c()||e(y,1)}),bo(e,v),he()}var Nh=po("<button><!></button>");function jh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Bi(t,"type",3,"button"),a=Wi(t,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const l=Rc.create({id:ya(()=>o()),disabled:ya(()=>n()??!1),ref:ya(()=>i(),e=>i(e))}),c=Qe(()=>qa(a,l.props,{type:s()}));ah(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();Wo(At(r),()=>t.child,()=>({props:Hr(c)})),bo(e,r)},s=e=>{var r=Nh();Li(r,()=>({...Hr(c)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function Dh(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"onOpenChange",3,Il),i=Bi(t,"onOpenChangeComplete",3,Il);wh.create({open:ya(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:ya(()=>i())}),sh(e,{children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var Hh=class{#ui;#hi;#vr=null;constructor(e,t){this.#hi=e,this.#ui=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),Ka(this.stop)}#pi(){null!==this.#vr&&(window.clearTimeout(this.#vr),this.#vr=null)}stop(){this.#pi()}start(...e){this.#pi(),this.#vr=window.setTimeout(()=>{this.#vr=null,this.#hi(...e)},this.#ui)}},Wh=gl({component:"tooltip",parts:["content","trigger"]}),Rh=new nl("Tooltip.Provider"),Vh=new nl("Tooltip.Root"),Bh=class{#gi=ut(wt(/* @__PURE__ */new Map));get triggers(){return Hr(this.#gi)}set triggers(e){pt(this.#gi,e,!0)}#fi=ut(null);get activeTriggerId(){return Hr(this.#fi)}set activeTriggerId(e){pt(this.#fi,e,!0)}#mi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return Hr(this.#mi)}set activeTriggerNode(e){pt(this.#mi,e)}#vi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.payload??null});get activePayload(){return Hr(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))}},Uh=class e{static create(t){return Rh.set(new e(t))}opts;#wi=ut(!0);get isOpenDelayed(){return Hr(this.#wi)}set isOpenDelayed(e){pt(this.#wi,e,!0)}isPointerInTransit=La(!1);#yi;#xi=ut(null);constructor(e){this.opts=e,this.#yi=new Hh(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),Ga(()=>io(window,"scroll",e=>{const t=Hr(this.#xi);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.#yi.start():this.isOpenDelayed=!0};#Ci=()=>{this.#yi.stop()};onOpen=e=>{Hr(this.#xi)&&Hr(this.#xi)!==e&&Hr(this.#xi).handleClose(),this.#Ci(),this.isOpenDelayed=!1,pt(this.#xi,e,!0)};onClose=e=>{Hr(this.#xi)===e&&pt(this.#xi,null),this.#ki()};isTooltipOpen=e=>Hr(this.#xi)===e},Zh=class e{static create(t){return Vh.set(new e(t,Rh.get()))}opts;provider;#Li=Qe(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return Hr(this.#Li)}set delayDuration(e){pt(this.#Li,e)}#Mi=Qe(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return Hr(this.#Mi)}set disableHoverableContent(e){pt(this.#Mi,e)}#Si=Qe(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return Hr(this.#Si)}set disableCloseOnTriggerClick(e){pt(this.#Si,e)}#$i=Qe(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return Hr(this.#$i)}set disabled(e){pt(this.#$i,e)}#_i=Qe(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return Hr(this.#_i)}set ignoreNonKeyboardFocus(e){pt(this.#_i,e)}registry;tether;#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Ti=ut(!1);#yi;#Ei=Qe(()=>this.opts.open.current?Hr(this.#Ti)?"delayed-open":"instant-open":"closed");get stateAttr(){return Hr(this.#Ei)}set stateAttr(e){pt(this.#Ei,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Bh,this.#yi=new Hh(()=>{pt(this.#Ti,!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 Ol({open:this.opts.open,ref:ya(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),al(()=>this.delayDuration,()=>{void 0!==this.delayDuration&&(this.#yi=new Hh(()=>{pt(this.#Ti,!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.#yi.stop(),pt(this.#Ti,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#yi.stop(),this.opts.open.current=!1};#Oi=()=>{this.#yi.stop();const e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||0===t?(pt(this.#Ti,!1),this.opts.open.current=!0):this.#yi.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#Oi()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#yi.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}},qh=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,Vh.get(),null)}opts;root;tether;attachment;#Lr=La(!1);#Ii=ut(!1);domContext;#Ai=null;#wr=!1;#zi=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.#Pi(e)),al(()=>this.opts.id.current,()=>{this.#Pi(this.opts.ref.current)}),al(()=>this.opts.payload.current,()=>{this.#Pi(this.opts.ref.current)}),al(()=>this.opts.disabled.current,()=>{this.#Pi(this.opts.ref.current)}),Ga(()=>(this.#wr=!0,this.#Pi(this.opts.ref.current),()=>{const e=this.#Fi(),t=this.#zi;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#zi=null,this.#wr=!1}))}#Fi=()=>this.tether?.root??this.root;#Ni=()=>{const e=this.#Fi();return this.opts.disabled.current||Boolean(e?.disabled)};#Pi=e=>{if(!this.#wr)return;const t=this.opts.id.current,r=this.opts.payload.current,o=this.opts.disabled.current;if(this.#zi&&this.#zi!==t){const e=this.#Fi();this.tether?this.tether.registry.unregister(this.#zi):e?.unregisterTrigger(this.#zi)}const i={id:t,node:e,payload:r,disabled:o},n=this.#Fi();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.#zi=t};#ji=()=>{null!==this.#Ai&&(clearTimeout(this.#Ai),this.#Ai=null)};handlePointerUp=()=>{this.#Lr.current=!1};#Di=()=>{this.#Ni()||(this.#Lr.current=!1)};#Hi=()=>{this.#Ni()||(this.#Lr.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0}))};#Wi=e=>{const t=this.#Fi();if(t)if(this.#Ni())t.opts.open.current&&t.handleClose();else if("touch"!==e.pointerType){if(t.provider.isPointerInTransit.current)return this.#ji(),void(this.#Ai=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0))},250));t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0)}};#Ri=e=>{const t=this.#Fi();t&&(this.#Ni()?t.opts.open.current&&t.handleClose():"touch"!==e.pointerType&&(Hr(this.#Ii)||(this.#ji(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0))))};#Vi=e=>{const t=this.#Fi();if(!t)return;if(this.#Ni())return;if(this.#ji(),!t.isActiveTrigger(this.opts.id.current))return void pt(this.#Ii,!1);const r=e.relatedTarget;if(Ml(r)&&t.provider.opts.skipDelayDuration.current>0)for(const o of t.registry.triggers.values())if(o.node===r)return void pt(this.#Ii,!1);t.onTriggerLeave(),pt(this.#Ii,!1)};#Bi=e=>{const t=this.#Fi();t&&(this.#Lr.current||(this.#Ni()?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())))};#Ui=()=>{const e=this.#Fi();e&&!this.#Ni()&&e.handleClose()};#Zi=()=>{const e=this.#Fi();!e||e.disableCloseOnTriggerClick||this.#Ni()||e.handleClose()};#f=Qe(()=>{const e=this.#Fi(),t=Boolean(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),r=this.#Ni();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:"closed","data-disabled":ul(r),"data-delay-duration":`${e?.delayDuration??0}`,[Wh.trigger]:"",tabindex:r?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#Di,onpointerdown:this.#Hi,onpointerenter:this.#Wi,onpointermove:this.#Ri,onpointerleave:this.#Vi,onfocus:this.#Bi,onblur:this.#Ui,onclick:this.#Zi,...this.attachment}});get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},Kh=class e{static create(t){return new e(t,Vh.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 mh({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=>{Ml(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}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":ul(this.root.disabled),style:{outline:"none"},[Wh.content]:"",...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Gh(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"triggerId",15,null),i=Bi(t,"onOpenChange",3,Il),n=Bi(t,"onOpenChangeComplete",3,Il);const s=Zh.create({open:ya(()=>r(),e=>{r(e),i()(e)}),triggerId:ya(()=>o(),e=>{o(e)}),delayDuration:ya(()=>t.delayDuration),disableCloseOnTriggerClick:ya(()=>t.disableCloseOnTriggerClick),disableHoverableContent:ya(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:ya(()=>t.ignoreNonKeyboardFocus),disabled:ya(()=>t.disabled),onOpenChangeComplete:ya(()=>n()),tether:ya(()=>t.tether)});sh(e,{tooltip:!0,children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g,()=>({open:s.opts.open.current,triggerId:s.activeTriggerId,payload:s.activePayload})),bo(e,o)},$$slots:{default:!0}}),he()}var Xh=po("<div><div><!></div></div>"),Yh=po("<div><div><!></div></div>");function Jh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"side",3,"top"),s=Bi(t,"sideOffset",3,0),a=Bi(t,"align",3,"center"),l=Bi(t,"avoidCollisions",3,!0),c=Bi(t,"arrowPadding",3,0),d=Bi(t,"sticky",3,"partial"),u=Bi(t,"hideWhenDetached",3,!1),h=Bi(t,"collisionPadding",3,0),p=Bi(t,"onInteractOutside",3,Il),f=Bi(t,"onEscapeKeydown",3,Il),m=Bi(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=Kh.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),onInteractOutside:ya(()=>p()),onEscapeKeydown:ya(()=>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(()=>qa(v,Hr(w),b.props));var x=vo(),k=At(x),C=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>qa(r?.().props,{style:Xu("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...b.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Xh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");uh(e,Vi(()=>Hr(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 Hr(i)},popper:r,$$slots:{popper:!0}}))}},L=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>qa(r?.().props,{style:Xu("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...b.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Yh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");dh(e,Vi(()=>Hr(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 Hr(i)},popper:r,$$slots:{popper:!0}}))}};To(k,e=>{m()?e(C):m()||e(L,1)}),bo(e,x),he()}var Qh=po("<button><!></button>");function ep(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"disabled",3,!1),n=Bi(t,"type",3,"button"),s=Bi(t,"tabindex",3,0),a=Bi(t,"ref",15,null),l=Wi(t,["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]);const c=qh.create({id:ya(()=>o()),disabled:ya(()=>i()??!1),tabindex:ya(()=>s()??0),payload:ya(()=>t.payload),tether:ya(()=>t.tether),ref:ya(()=>a(),e=>a(e))}),d=Qe(()=>qa(l,c.props,{type:n()}));var u=vo(),h=At(u),p=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(d)})),bo(e,r)},f=e=>{var r=Qh();Li(r,()=>({...Hr(d)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function tp(e,t){ue(t,!0);let r=Bi(t,"delayDuration",3,700),o=Bi(t,"disableCloseOnTriggerClick",3,!1),i=Bi(t,"disableHoverableContent",3,!1),n=Bi(t,"disabled",3,!1),s=Bi(t,"ignoreNonKeyboardFocus",3,!1),a=Bi(t,"skipDelayDuration",3,300);Uh.create({delayDuration:ya(()=>r()),disableCloseOnTriggerClick:ya(()=>o()),disableHoverableContent:ya(()=>i()),disabled:ya(()=>n()),ignoreNonKeyboardFocus:ya(()=>s()),skipDelayDuration:ya(()=>a())});var l=vo();Wo(At(l),()=>t.children??g),bo(e,l),he()}var rp=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>'),op=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>'),ip=po("<!> <!>",1);function np(e,t){const r=Bi(t,"open",3,!1),o=Bi(t,"delay",3,200),i=Bi(t,"disabled",3,!1),n=Bi(t,"text",3,"tooltip"),s=Bi(t,"side",3,"top"),a=Bi(t,"offset",3,8),l=Bi(t,"align",3,"center");var c=vo();Ro(At(c),()=>Gh,(e,c)=>{c(e,{get delayDuration(){return o()},get open(){return r()},get disabled(){return i()},children:(e,r)=>{var o=ip(),i=At(o),c=e=>{var r=vo(),o=At(r);{const e=(e,r)=>{var o=vo();Wo(At(o),()=>t.child,()=>({props:r?.().props})),bo(e,o)};Ro(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();Ro(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();Wo(At(r),()=>t.trigger),bo(e,r)},s=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(i,e=>{t.trigger?e(n):t.children&&e(s,1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};To(i,e=>{t.child?e(c):e(d,!1)}),Ro(zt(i,2),()=>Zl,(e,r)=>{r(e,{get to(){return t.portalTarget},children:(e,r)=>{var o=vo();Ro(At(o),()=>Jh,(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,2147480000))]",children:(e,r)=>{var o=vo(),i=At(o),s=e=>{var r=vo();Wo(At(r),()=>t.tooltipContent),bo(e,r)},a=e=>{var r=op(),o=It(r),i=zt(o),s=e=>{var r=rp(),o=It(r,!0);q(r),er(()=>ko(o,t.key)),bo(e,r)};To(i,e=>{t.key&&e(s)}),q(r),er(()=>ko(o,`${n()??""} `)),bo(e,r)};To(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 sp(e,t){ue(t,!0);const{toolbar:r,environment:o}=dy();let i=Bi(t,"disabled",3,!1),n=Wi(t,["$$slots","$$events","$$legacy","disabled"]);{let t=Qe(()=>r?.wrapper),s=Qe(()=>i()||o.touch);np(e,Vi({get portalTarget(){return Hr(t)},get disabled(){return Hr(s)}},()=>n))}he()}var ap=po("<!> <!>",1);function lp(e,t){ue(t,!0);const{win:r}=dy();let o=Bi(t,"opened",15,!1),i=Wi(t,["$$slots","$$events","$$legacy","opened"]);Kt(()=>{r.uiOpened=o()}),function(e,t){ue(t,!0);let r=Bi(t,"opened",15,!1),o=Bi(t,"side",3,"bottom"),i=Bi(t,"sideOffset",3,4),n=Bi(t,"align",3,"end"),s=Bi(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();Ro(At(l),()=>Ah,(e,l)=>{l(e,Vi(()=>a,{get open(){return r()},set open(e){r(e)},children:(e,r)=>{var a=ap(),l=At(a);Ro(l,()=>jh,(e,r)=>{r(e,{get child(){return t.child},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Wo(At(r),()=>t.trigger),bo(e,r)};To(i,e=>{t.trigger&&e(n)}),bo(e,o)},$$slots:{default:!0}})}),Ro(zt(l,2),()=>Zl,(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,2147480000))] 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"]);Ro(l,()=>Fh,(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 Hr(e)},children:(e,r)=>{var o=vo();Wo(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,Vi(()=>i,{get opened(){return o()},set opened(e){o(e)}})),he()}var cp=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 dp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=cp();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var up=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 hp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=up();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var pp=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 gp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=pp();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var fp=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 mp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=fp();Li(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="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 bp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=vp();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var wp=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 yp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=wp();Li(o,()=>({viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}function xp(e,t){const r={invisible:dp,"chevrons-up":hp,check:gp,comments:mp,lock:bp,"folder-transparent":yp};let o=Bi(t,"name",3,"invisible"),i=Bi(t,"class",3,"");const n=Qe(()=>r[o()]);var s=vo();Ro(At(s),()=>Hr(n),(e,t)=>{t(e,{get class(){return i()}})}),bo(e,s)}var kp=po("<div><!></div>");function Cp(e,t){const r=Bi(t,"size",3,"size-6.5 app:size-22");var o=kp();xp(It(o),{name:"check",class:"size-21"}),q(o),er(()=>li(o,1,ii(["text-green-400 bg-green-400/20 glass rounded-full flex items-center justify-center stroke-[2.5px]",r()]))),Jo(3,o,()=>na,()=>({duration:200})),bo(e,o)}var Lp=po('<div class="flex absolute"><!></div>'),Mp=po('<button><div class="size-28 flex-center relative"><!></div></button>'),Sp=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>'),$p=po('<div class="flex absolute"><!></div>'),_p=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>'),Tp=po('<div><p> </p> <div class="flex gap-4 touch:gap-8"><!> <!></div></div>'),Ep=po('<div tabindex="-1"><!> <!></div>');function Op(e,t){ue(t,!0);const{win:r,sheet:o}=dy();let i=Bi(t,"padding",3,"p-8 pt-0 touch:p-10"),n=ut(!1),s=Qe(()=>!!t.title&&t.title.length>16);var a=Ep(),l=It(a),c=e=>{var r=Tp(),i=It(r),a=It(i,!0);q(i);var l=zt(i,2),c=It(l),d=e=>{var r=vo(),o=At(r),i=e=>{{const r=(e,r=g)=>{{const o=(e,o=g)=>{var i=Mp();Li(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=It(i),s=It(n),a=e=>{Cp(e,{})},l=e=>{var r=Lp();ga(It(r),{get progress(){return t.progress},radius:9,stroke:3}),q(r),Jo(3,r,()=>na,()=>({duration:200})),bo(e,r)};To(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`);sp(e,{get text(){return Hr(i)},delay:0,child:o,$$slots:{child:!0}})}};lp(e,{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Hr(n)},set opened(e){pt(n,e,!0)},child:r,children:(e,r)=>{var o=vo();Wo(At(o),()=>t.popoverContent),bo(e,o)},$$slots:{child:!0,default:!0}})}},s=e=>{{let r=Qe(()=>`${Math.round(t.progress)}% Done`);sp(e,{get text(){return Hr(r)},delay:0,children:(e,r)=>{var o=_p(),i=It(o),n=It(i),s=e=>{var t=Sp();xp(It(t),{name:"check"}),q(t),Jo(3,t,()=>na,()=>({duration:200})),bo(e,t)},a=e=>{var r=$p();ga(It(r),{get progress(){return t.progress},radius:8,stroke:3}),q(r),Jo(3,r,()=>na,()=>({duration:200})),bo(e,r)};To(n,e=>{100===t.progress?e(s):e(a,!1)}),q(i),q(o),bo(e,o)},$$slots:{default:!0}})}};To(o,e=>{t.popoverContent?e(i):e(s,!1)}),bo(e,r)};To(c,e=>{void 0!==t.progress&&e(d)});var u=zt(c,2),h=e=>{var r=vo();Wo(At(r),()=>t.headerAfter),bo(e,r)};To(u,e=>{t.headerAfter&&e(h)}),q(l),q(r),er(()=>{li(r,1,ii(["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"])),li(i,1,ii(["font-medium truncate flex-1",Hr(s)?"text-[20px]/[114%] touch:text-[28px]/[114%]":"text-[24px]/[114%] touch:text-[32px]/[114%]"])),ko(a,t.title)}),bo(e,r)};To(l,e=>{void 0!==t.title&&e(c)});var d=zt(l,2),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(d,e=>{t.children&&e(u)}),q(a),er(()=>li(a,1,ii(["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 Ip=[["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"}]],Ap=[["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"}]],zp=[["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"}]],Pp=[["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"}]],Fp=[["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"}]],Np=[["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"}]],jp=[["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"}]],Dp=[["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"}]],Hp=[["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"}]],Wp=[["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"}]],Rp=[["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"}]],Vp=[["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"}]],Bp=[["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"}]],Up=[["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"}]],Zp=[["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"}]],qp=[["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"}]],Kp=[["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"}]],Gp=[["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"}]],Xp=[["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"}]],Yp=[["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"}]],Jp=[["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"}]],Qp=[["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"}]],eg=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tg=fo("<svg></svg>");function rg(e,t){ue(t,!0);let r=Bi(t,"size",3,24),o=Bi(t,"absoluteStrokeWidth",3,!1),i=Bi(t,"color",3,"currentColor"),n=Bi(t,"showAlt",3,!1),s=Bi(t,"class",3,""),a=Bi(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:Hr(c)}));Ui(()=>{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(eg(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(eg(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,Hr(u).render(d,Hr(p)),!0),()=>{Hr(h)?.destroy()}}),Kt(()=>{Hr(u)&&d&&Hr(h)&&Hr(h).update(Hr(p))});var g=tg();Li(g,()=>({xmlns:"http://www.w3.org/2000/svg",width:r(),height:r(),viewBox:"0 0 24 24",fill:"none",class:Hr(c),...l})),ji(g,e=>d=e,()=>d),bo(e,g),he()}var og=po("<div><!></div>"),ig=po("<button><!> <!></button>");function ng(e,t){ue(t,!0);const r=(e,t)=>{let r=et(()=>m(t?.(),()=>({}),!0));var d=ig();Li(d,()=>({...Hr(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=It(d);Io(h,o,e=>{rg(e,{get icon(){return o()},get className(){return n()}})});var p=zt(h,2),g=e=>{var t=og();Wo(It(t),c),q(t),bo(e,t)};To(p,e=>{c()&&e(g)}),q(d),bo(e,d)};let o=Bi(t,"icon",3,Vp),i=Bi(t,"size",3,"size-28 touch:size-36"),n=Bi(t,"iconSize",3,"size-20 touch:size-26"),s=Bi(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=Bi(t,"glass",3,"glass-hover touch:bg-white/5"),l=Bi(t,"active",3,!1),c=Bi(t,"children",3,null),d=Bi(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)};sp(e,Vi(d,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};To(p,e=>{d()?.text?e(g):e(f,!1)}),bo(e,h),he()}var sg=po('<div class="absolute right-8 top-1/2 -translate-y-1/2"><!></div>'),ag=po("<label><input/> <!> <p> </p></label>");function lg(e,t){ue(t,!0);let r=Bi(t,"class",3,""),o=Bi(t,"value",15),i=Wi(t,["$$slots","$$events","$$legacy","name","label","class","value","type"]);const n="password"===t.type;let s=ut(!1);const a=Qe(()=>n&&Hr(s)?"text":t.type);var l=ag(),c=It(l);Li(c,()=>({id:`fubi-input-${t.name}`,name:t.name,type:Hr(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",n&&"pr-[42px]"],...i}),void 0,void 0,void 0,void 0,!0);var d=zt(c,2),u=e=>{var t=sg(),r=It(t);{let e=Qe(()=>Hr(s)?Qp:Jp);ng(r,{type:"button",get icon(){return Hr(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,!Hr(s))})}q(t),bo(e,t)};To(d,e=>{n&&e(u)});var h=zt(d,2);li(h,1,ii(["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=It(h,!0);q(h),q(l),er(()=>{Ci(l,"for",`fubi-input-${t.name}`),li(l,1,ii(["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)}),Ei(c,o),bo(e,l),he()}var cg=po('<div class="absolute inset-0 flex items-center justify-center"><!></div>'),dg=po("<span><!></span>"),ug=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>'),hg=po("<!> <span><!> <!></span> <!>",1);function pg(e,t){let r=Bi(t,"variant",3,"default"),o=Bi(t,"glass",3,!0),i=Bi(t,"small",3,!1),n=Bi(t,"flex",3,!1),s=Bi(t,"loading",3,!1),a=Bi(t,"ping",3,!1),l=Bi(t,"type",3,"button"),c=Bi(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(()=>Hr(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();ei(At(f),()=>t.href?"a":"button",!1,(e,u)=>{Li(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"],Hr(p),Hr(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=hg(),m=At(f),v=e=>{var t=cg();rg(It(t),{get icon(){return Zp},className:"size-5 animate-spin text-current opacity-50"}),q(t),bo(e,t)};To(m,e=>{s()&&e(v)});var b=zt(m,2),w=It(b),y=e=>{{let r=Qe(()=>`shrink-0 ${t.iconClass||"text-current"} ${t.iconSize?t.iconSize:i()?"size-6":"size-5"}`);rg(e,{get icon(){return t.icon},get className(){return Hr(r)}})}};To(w,e=>{t.icon&&e(y)});var x=zt(w,2),k=e=>{var r=dg();Wo(It(r),()=>t.children),q(r),er(()=>li(r,1,ii([i()?"pt-px app:pt-0":"pt-[2px] app:pt-0"]))),bo(e,r)};To(x,e=>{t.children&&e(k)}),q(b);var C=zt(b,2),L=e=>{bo(e,ug())};To(C,e=>{a()&&e(L)}),er(()=>li(b,1,ii(["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)}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>'),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>'),po('<canvas class="fixed inset-0 -z-10 h-full w-full"></canvas> <!>',1),ao(["click"]);var gg=po("<!> <!>",1),fg=po('<p class="text-rose-500 text-sm/[140%]"> </p>'),mg=po('<div class="flex-1 flex-center px-8"><form class="flex flex-col w-full bg-white/5 glass rounded-[24px] superellipse"><div class="p-12 flex-center border-b-[0.5px] border-white/10"><p class="font-bold text-xl">Sign in to fubi</p></div> <div class="p-12 flex flex-col gap-8 border-b-[0.5px] border-white/10"><!> <!> <!></div> <div class="p-12 flex-center"><a target="_blank" class="hover:underline text-sm text-sky-500">Forgot password</a></div> <div class="border-t-[0.5px] border-white/10 p-12 flex-center"><button class="text-sm text-neutral-400 hover:underline cursor-pointer hover:text-neutral-300">Hide fubi for this session</button></div></form></div>'),vg=po('<!> <a target="_blank" rel="noopener noreferrer"><p>Dashboard</p> <!></a> <!>',1);ao(["click"]);var bg=po("<ul><!></ul>");function wg(e,t){const r=Bi(t,"class",3,"");var o=bg();Wo(It(o),()=>t.children),q(o),er(()=>li(o,1,ii(["list flex flex-col superellipse relief rounded-[20px] bg-neutral-500/10 p-3 gap-px",r()]))),bo(e,o)}var yg=[["path",{d:"M15 6L9 12.0001L15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],xg=[["path",{d:"M9.00005 6L15 12L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],kg=[["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"}]],Cg=[["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"}]],Lg=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Mg=po("<div><!></div>"),Sg=po('<div class="w-12"></div>'),$g=po("<div><!></div>"),_g=po("<p> </p>"),Tg=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>'),Eg=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 Og(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}=dy();let i=Bi(t,"start",3,null),n=Bi(t,"icon",3,Bp),s=Bi(t,"title",3,"Title"),a=Bi(t,"subtitle",3,null),l=Bi(t,"subtitleSnippet",3,null),c=Bi(t,"classSubtitle",3,""),d=Bi(t,"classIcon",3,""),u=Bi(t,"active",3,null),h=Bi(t,"iconSize",3,"size-26 touch:size-30"),p=Bi(t,"height",3,"min-h-42 touch:min-h-56"),g=Bi(t,"type",3,"default"),f=Bi(t,"after",3,null),m=Bi(t,"chevron",3,!1),v=Bi(t,"disabled",3,null),b=Bi(t,"onclick",3,null),w=Bi(t,"index",3,0),y=Bi(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=Eg();Li(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=It(C),M=e=>{var t=Mg(),r=It(t),o=e=>{var t=vo();Wo(At(t),i),bo(e,t)},s=e=>{{let t=Qe(()=>`${Hr(k)[g()]} ${d()} ${h()}`);rg(e,{get icon(){return n()},get className(){return Hr(t)}})}};To(r,e=>{i()?e(o):e(s,!1)}),q(t),er(()=>li(t,1,ii(["w-54 mouse:w-42 flex-center shrink-0",p()]))),bo(e,t)},S=e=>{bo(e,Sg())};To(L,e=>{i()||n()?e(M):e(S,!1)});var $=zt(L,2),_=It($);li(_,1,ii(["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 T=It(_);li(T,1,ii(["text-[15px]/[110%] pb-1.5 touch:text-[18px]/none font-medium truncate w-full text-neutral-100"]));var E=It(T,!0);q(T);var O=zt(T,2),I=e=>{var t=$g();Wo(It(t),l),q(t),er(()=>li(t,1,ii(["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=_g(),r=It(t,!0);q(t),er(()=>{li(t,1,ii(["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)};To(O,e=>{l()?e(I):a()&&e(A,1)}),q(_);var z=zt(_,2),P=It(z),F=e=>{var t=vo();Wo(At(t),f),bo(e,t)};To(P,e=>{f()&&e(F)});var N=zt(P,2),j=e=>{bo(e,Tg())};To(N,e=>{m()&&e(j)}),q(z),q($),q(C),er(()=>{li($,1,ii(["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())}),Jo(1,C,()=>na,()=>({duration:600,easing:Ws,delay:40*w(),start:.9})),Jo(2,C,()=>ta,()=>({duration:o.navigating?0:400,easing:Hs})),bo(e,C),he()}function Ig(e){!function(e){let t=Bi({class:"size-20 text-neutral-500"},"class",3,"size-4 app:size-24");rg(e,{get icon(){return Zp},get className(){return`animate-spin ${t()??""}`}})}(e)}var Ag=po('<p class="font-normal text-balance text-[13px]/[130%] max-w-[24ch]"><!></p>'),zg=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 Pg(e,t){const r=Bi(t,"title",3,"Title"),o=Bi(t,"height",3,"");var i=zg(),n=It(i),s=It(n),a=e=>{rg(e,{get icon(){return t.icon},className:"app:size-32 size-8"})};To(s,e=>{t.icon&&e(a)});var l=zt(s,2),c=It(l,!0);q(l);var d=zt(l,2),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(d,e=>{t.children&&e(u)});var h=zt(d,2),p=e=>{var r=Ag();Ho(It(r),()=>t.subtitle),q(r),bo(e,r)};To(h,e=>{t.subtitle&&e(p)}),q(n),q(i),er(()=>{li(i,1,ii(["flex-1",o()])),ko(c,r())}),Jo(3,n,()=>na,()=>({start:.8,duration:500,easing:Ws})),Jo(3,i,()=>ia,()=>({duration:50})),bo(e,i)}var Fg=po('<div class="absolute"><!></div>'),Ng=po("<div><!></div>"),jg=po("<!> <!>",1),Dg=po("<div><!></div>"),Hg=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>'),Wg=po('<div class="relative"><!> <!></div>');function Rg(e,t){ue(t,!0);const r=(e,r)=>{let c=et(()=>m(r?.(),()=>({}),!0));var u=Wg(),h=It(u);ei(h,()=>t.href?"a":"button",!1,(e,r)=>{Li(e,()=>({type:t.href?void 0:"button",href:t.href,...Hr(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=jg(),h=At(u),p=e=>{var r=Ng();Io(It(r),()=>t.icon,e=>{var r=Fg();rg(It(r),{get icon(){return t.icon},get strokeWidth(){return i()},get className(){return o()}}),q(r),Jo(3,r,()=>na,()=>({opacity:0,start:.5,duration:200,easing:Ws})),bo(e,r)}),q(r),er(()=>li(r,1,ii([o(),"flex-center relative"]))),bo(e,r)};To(h,e=>{t.icon&&e(p)}),Wo(zt(h,2),()=>t.children??g),bo(r,u)});var p=zt(h,2),f=e=>{var r=Dg();rg(It(r),{get icon(){return t.statusIcon},className:"size-14 touch:size-16"}),q(r),er(()=>li(r,1,ii(["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,Hg())};To(p,e=>{t.status&&t.statusIcon?e(f):a()&&e(v,1)}),q(u),bo(e,u)};let o=Bi(t,"iconSize",3,"size-20"),i=Bi(t,"iconStrokeWidth",3,1.5),n=Bi(t,"size",3,"h-32 min-w-32 touch:h-44 touch:min-w-44"),s=Bi(t,"active",3,!1),a=Bi(t,"alert",3,!1),l=Bi(t,"class",3,""),c=Bi(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)};sp(e,Vi(c,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};To(h,e=>{c()?.text?e(p):e(f,!1)}),bo(e,u),he()}var Vg=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>'),Bg=po("<div><p> </p> <p> </p></div>"),Ug=po('<div data-fubi-drag-handle=""><div class="flex-1"><!></div> <!> <div class="flex-1 flex justify-end touch:gap-8"><!></div></div>');function Zg(e,t){ue(t,!0);const{win:r,router:o,sheet:i}=dy();Bi(t,"back",3,"Back");let n=Bi(t,"onBack",3,null),s=Bi(t,"title",3,""),a=Bi(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=Ug(),u=It(d),h=It(u),p=e=>{Rg(e,{onclick:l,children:(e,t)=>{bo(e,Vg())},$$slots:{default:!0}})};To(h,e=>{null!==n()&&e(p)}),q(u);var g=zt(u,2),f=e=>{var t=Bg(),r=It(t),o=It(r,!0);q(r);var n=zt(r,2),l=It(n,!0);q(n),q(t),er(()=>{li(t,1,ii(["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":""])),Ci(r,"title",s()),li(r,1,ii(["text-lg/[110%] touch:text-xl/[110%] text-neutral-300 font-medium transition-[scale,opacity] truncate max-w-176",Hr(c)?"ease-out-cubic duration-400 delay-100":"opacity-0 scale-80 ease-in-cubic duration-200"])),ko(o,s()||" "),li(n,1,ii([" transition-[font-size,translate,color] ease-in-out-cubic px-8",Hr(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)};To(g,e=>{a()&&e(f)});var m=zt(g,2),v=It(m),b=e=>{var r=vo();Wo(At(r),()=>t.after),bo(e,r)};To(v,e=>{t.after&&e(b)}),q(m),q(d),er(()=>li(d,1,ii(["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",Hr(c)?"border-white/10":"border-white/0",i.collapsed?"max-h-0! border-transparent! opacity-0":"max-h-100"]))),bo(e,d),he()}var qg=po('<div class="flex-center h-9 app:h-36 group-aria-disabled/item:opacity-30"><!></div>'),Kg=po("<div><!></div>"),Gg=po("<p> </p>"),Xg=po('<p class="text-neutral-500 text-[15px]/[110%] touch:text-[18px]/none pb-0.5 app:pb-2"> </p>'),Yg=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>'),Jg=po("<!> <!> <div><p> </p> <!></div> <div><!> <!> <!></div>",1);function Qg(e,t){ue(t,!0);let r=Bi(t,"component",19,()=>ph),o=Bi(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=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"};{let r=Qe(()=>t.closeOnSelect??(!!t.onclick&&!t.chevron)),l=Qe(()=>[Hr(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]);n(e,Vi({get closeOnSelect(){return Hr(r)},get class(){return Hr(l)}},()=>i,{children:(e,r)=>{var i=Jg(),n=At(i),s=e=>{var r=qg();Wo(It(r),()=>t.start),q(r),bo(e,r)};To(n,e=>{t.start&&e(s)});var l=zt(n,2),c=e=>{var r=Kg(),i=It(r);{let e=Qe(()=>`size-5 app:size-20 touch:app:size-22 ${t.iconClass??""}`);rg(i,{get icon(){return t.icon},get className(){return Hr(e)}})}q(r),er(()=>li(r,1,ii(["flex-center size-9 app:size-36 group-aria-disabled/item:opacity-30",a[o()]]))),bo(e,r)};To(l,e=>{t.icon&&e(c)});var d=zt(l,2),u=It(d);li(u,1,ii(["text-[15px]/[110%] touch:text-[17px]/none font-normal"]));var h=It(u,!0);q(u);var p=zt(u,2),g=e=>{var r=Gg();li(r,1,ii(["text-[13px]/[114%] font-normal mouse:text-xs/[114%] line-clamp-1 text-white/50"]));var o=It(r,!0);q(r),er(()=>ko(o,t.subtitle)),bo(e,r)};To(p,e=>{t.subtitle&&e(g)}),q(d);var f=zt(d,2),m=It(f),v=e=>{var r=Xg(),o=It(r,!0);q(r),er(()=>ko(o,t.after)),bo(e,r)};To(m,e=>{t.after&&e(v)});var b=zt(m,2),w=e=>{var r=Yg(),o=It(r,!0);q(r),er(()=>ko(o,t.label)),bo(e,r)};To(b,e=>{t.label&&e(w)});var y=zt(b,2),x=e=>{var r=vo();Wo(At(r),()=>t.end),bo(e,r)},k=e=>{{let r=Qe(()=>t.checked?Yp:Fp),o=Qe(()=>"size-4 app:size-16 "+(t.checked?"text-sky-400":""));rg(e,{get icon(){return Hr(r)},get className(){return Hr(o)}})}};To(y,e=>{t.end?e(x):(t.checked||t.chevron)&&e(k,1)}),q(f),er(()=>{li(d,1,ii(["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),li(f,1,ii(["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}}))}he()}var ef=[["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"}]],tf=[["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"}]],rf=[["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"}]],of=[["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"}]],nf=[["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"}]],sf=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],af=[["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"}]],lf=[["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"}]],cf=[["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"}]],df=[["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"}]],uf=[["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"}]],hf=[["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"}]],pf=[["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"}]],gf=[["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"}]],ff=[["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"}]],mf=[["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"}]],vf=[["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"}]],bf=[["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"}]],wf=[["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"}]],yf=[["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"}]],xf=[["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"}]],kf=[["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"}]],Cf=[["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"}]],Lf=[["path",{d:"M11.5085 2.9903C7.02567 2.9903 4.78428 2.9903 3.39164 4.38238C1.99902 5.77447 1.99902 8.015 1.99902 12.4961C1.99902 16.9771 1.99902 19.2176 3.39164 20.6098C4.78428 22.0018 7.02567 22.0018 11.5085 22.0018C15.9912 22.0018 18.2326 22.0018 19.6253 20.6098C21.0179 19.2176 21.0179 16.9771 21.0179 12.4961V11.9958",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4.99902 20.9898C9.209 16.2385 13.9402 9.93727 20.999 14.6632",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M17.9958 1.99829V10.0064M22.0014 5.97728L13.9902 5.99217",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Mf=[["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"}]],Sf=[["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"}]],$f=[["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"}]],_f=[["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"}]],Tf=[["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"}]],Ef=[["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"}]],Of=[["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"}]],If=[["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"}]],Af=[["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"}]],zf=[["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"}]],Pf=[["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"}]],Ff=[["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"}]],Nf=[["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"}]],jf=[["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"}]],Df=[["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"}]],Hf=[["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"}]],Wf=[["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"}]],Rf=[["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"}]],Vf=[["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"}]],Bf=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Uf=[["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"}]],Zf=[["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"}]],qf=[["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"}]],Kf=[["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"}]],Gf=[["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"}]],Xf=[["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"}]],Yf=[["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"}]],Jf=[["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"}]],Qf=[["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"}]],em=[["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"}]],tm=[["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"}]],rm=[["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"}]],om=[["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"}]],im=[["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"}]],nm=[["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"}]],sm=[["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"}]],am=[["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"}]],lm=[["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"}]],cm=[["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"}]],dm=[["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"}]],um=[["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"}]],hm=[["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"}]],pm=[["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"}]],gm=[["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"}]],fm=[["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"}]],mm=[["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"}]],vm=[["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"}]],bm=[["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"}]],wm=[["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"}]],ym=[["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"}]],xm=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 km(e,t){ue(t,!0);let r=Bi(t,"progress",3,0),o=Bi(t,"radius",3,12),i=Bi(t,"stroke",3,4),n=Bi(t,"colorful",3,!0),s=new Ns(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*Hr(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=xm(),p=It(h),g=zt(p);q(h),er(()=>{Ci(h,"width",Hr(d)),Ci(h,"height",Hr(d)),Ci(h,"viewBox",`0 0 ${Hr(d)} ${Hr(d)}`),li(h,0,ii(["-rotate-90 shrink-0 transition-colors duration-200",Hr(u),t.class])),Ci(p,"cx",Hr(c)),Ci(p,"cy",Hr(c)),Ci(p,"r",o()),Ci(p,"stroke-width",i()),li(g,0,ii(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Ci(g,"cx",Hr(c)),Ci(g,"cy",Hr(c)),Ci(g,"r",o()),Ci(g,"stroke-width",i()),Ci(g,"stroke-dasharray",`${Hr(l)} ${Hr(a)}`)}),bo(e,h),he()}var Cm=po('<p class="text-base/none text-white"> </p>'),Lm=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 Mm(e,t){ue(t,!0);let r=new Ns(0,{stiffness:.04,damping:.4}),o=Bi(t,"radius",3,12),i=Bi(t,"title",3,"Progress");Kt(()=>{r.set(t.progress)});var n=Lm(),s=It(n),a=It(s),l=It(a,!0);q(a);var c=zt(a,2),d=It(c),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)},h=e=>{var o=Cm(),i=It(o,!0);q(o),er(e=>ko(i,e),[()=>t.content?t.content:void 0!==t.progress?`${r.current.toFixed(0)}%`:""]),bo(e,o)};To(d,e=>{t.children?e(u):e(h,!1)}),q(c),q(s);var p=zt(s,2),g=e=>{km(e,{get progress(){return t.progress},get radius(){return o()}})};To(p,e=>{void 0!==t.progress&&e(g)}),q(n),er(()=>{li(n,1,`flex gap-6 flex-1 h-full items-center justify-between ${t.class??""}`),ko(l,i())}),bo(e,n),he()}var Sm=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),$m=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!></div>'),_m=po("<!> <!> <!>",1),Tm=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>'),Em=po('<div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div>'),Om=po('<div role="presentation"><!></div> <!>',1),Im=po('<div class="h-120 w-full flex-center"><!></div>'),Am=po('<a target="_blank" class="text-sky-400 hover:underline">Create a folder</a>.',1),zm=po("<p>There are no folders in this project.<br/> <!></p>"),Pm=po('<p class="p-4 text-center text-sm text-gray-500">No folders</p> <!>',1),Fm=po('<p class="p-4 text-center text-sm text-rose-500">Error loading folders</p>'),Nm=po("<!> <!>",1),jm=po("<!> <!>",1);ao(["click","keydown"]);var Dm=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>'),Hm=po('<div class="flex absolute"><!> <!></div>'),Wm=po('<div><!> <div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div></div>');function Rm(e,t){let r=Bi(t,"progress",3,0),o=Bi(t,"done",3,0),i=Bi(t,"total",3,0),n=Bi(t,"radius",3,8),s=Bi(t,"stroke",3,3),a=Bi(t,"bg",3,!1),l=Bi(t,"showCount",3,!0),c=Bi(t,"tabindex",3,0);{let t=Qe(()=>`${Math.round(r())}% Done`);np(e,{get text(){return Hr(t)},delay:100,side:"left",offset:4,get tabindex(){return c()},children:(e,t)=>{var c=Wm(),d=It(c),u=e=>{var t=Dm(),r=It(t),n=It(r,!0);q(r);var s=zt(r,2),a=It(s,!0);q(s),q(t),er(()=>{ko(n,o()),ko(a,i())}),Jo(3,t,()=>ia,()=>({axis:"x",duration:200})),bo(e,t)};To(d,e=>{l()&&e(u)});var h=zt(d,2),p=It(h),g=e=>{Cp(e,{})},f=e=>{var t=Hm(),o=It(t);km(o,{get progress(){return r()},get radius(){return n()},get stroke(){return s()},class:"touch:hidden"}),km(zt(o,2),{get progress(){return r()},radius:10,stroke:3,class:"mouse:hidden"}),q(t),Jo(3,t,()=>na,()=>({duration:200})),bo(e,t)};To(p,e=>{100===r()?e(g):e(f,!1)}),q(h),q(c),er(()=>li(c,1,ii(["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 Vm=po("<p><!></p>");function Bm(e,t){let r=Bi(t,"margin",3,"mb-6");var o=Vm();Wo(It(o),()=>t.children),q(o),er(()=>li(o,1,`text-neutral-400 text-sm/none ${r()} px-10`)),bo(e,o)}var Um=po("<!> <!> <!>",1),Zm=po("<!> <!>",1),qm=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Km=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Gm=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>'),Xm=po('<a draggable="false" class="focus-visible group/listitem-link rounded-[17px] superellipse"><!></a>'),Ym=po("<!> <!>",1),Jm=po('<div class="flex-center h-full"><!></div>'),Qm=po("<!> <!> <!> <!>",1),ev=po("<!> <!>",1);function tv(e,{from:t,to:r},o={}){var{delay:i=0,duration:n=e=>120*Math.sqrt(e),easing:s=Ws}=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 rv=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 ov(e,t){ue(t,!0);let r=Bi(t,"created",19,()=>Date.now()),o=Bi(t,"author",3,null);const{comments:i,auth:n}=dy(),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(()=>Hr(c)+"?thumb=64x64");var u=rv(),h=It(u),p=zt(h,2),g=It(p),f=It(g);Ho(It(f),()=>Hr(a)),q(f);var m=zt(f,2);Ho(It(m),()=>Hr(l)),q(m),q(g);var v=zt(g,2),b=It(v,!0);q(v),q(p),q(u),er(()=>{Ci(h,"src",Hr(d)),Ci(h,"alt",o()?.firstName+" "+o()?.lastName),ko(b,Hr(s))}),bo(e,u),he()}var iv=po("<div><!></div>"),nv=po('<div class="w-34 mouse:w-24 shrink-0"></div>'),sv=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-neutral-500">Selection not allowed</p>'),av=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-orange-400/50">Hidden</p>'),lv=po("<p> </p>"),cv=po('<div><!> <span class="text-sm/none mouse:text-xs/none font-medium"> </span></div>'),dv=po('<div class="flex flex-col gap-4"></div>'),uv=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 hv(e,t){ue(t,!0);let r=Bi(t,"depth",3,0),o=Bi(t,"missing",3,!1),i=Qe(()=>t.node.selected),n=Qe(()=>t.node.threadCount>0),s=Qe(()=>t.node.hasNestedThreads&&!Hr(n)),a=ut(null);Kt(()=>{if(!t.node.selected||!Hr(a))return;const e=Hr(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=uv(),c=It(l),d=e=>{var r=vo(),o=At(r),n=e=>{var t=iv();let r;rg(It(t),{get icon(){return xg},strokeWidth:2,className:"size-20 mouse:size-16"}),q(t),er(()=>r=li(t,1,ii(["w-34 h-46 mouse:w-24 mouse:h-32 flex-center shrink-0 transition-transform duration-200 ease-out",Hr(i)?"text-sky-500":"text-white/40"]),null,r,{"rotate-90":Hr(i)})),bo(e,t)},s=e=>{bo(e,nv())};To(o,e=>{t.node.hasChildren?e(n):e(s,!1)}),bo(e,r)};To(c,e=>{r()>0&&e(d)});var u=zt(c,2),h=It(u);Ci(h,"tabindex",-1);var p=It(h),g=It(p);{let e=Qe(()=>t.node.ignored?um:t.node.hidden?pm: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":Hr(n)||Hr(s)?"text-indigo-400":"text-neutral-400"));rg(g,{get icon(){return Hr(e)},get strokeWidth(){return Hr(r)},get className(){return Hr(i)}})}q(p);var f=zt(p,2),m=It(f),v=It(m,!0);q(m);var b=zt(m,2),w=e=>{bo(e,sv())},y=e=>{bo(e,av())},x=e=>{var r=lv(),i=It(r,!0);q(r),er(()=>{li(r,1,ii(["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)};To(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=cv(),o=It(r);rg(o,{get icon(){return Rp},className:"size-18 mouse:size-14"});var i=zt(o,2),n=It(i,!0);q(i),q(r),er(()=>{li(r,1,ii(["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)};To(k,e=>{!o()&&Hr(n)&&e(C)}),q(h),ji(h,e=>pt(a,e),()=>Hr(a));var L=zt(h,2),M=e=>{var o=dv();Po(o,21,()=>t.node.children,e=>e.el,(e,o)=>{{let i=Qe(()=>r()+1);hv(e,{get node(){return Hr(o)},get depth(){return Hr(i)},get onselect(){return t.onselect}})}}),q(o),Jo(3,o,()=>ia,()=>({duration:200,easing:Ws})),bo(e,o)};To(L,e=>{!o()&&Hr(i)&&t.node.children.length>0&&e(M)}),q(u),q(l),er(()=>{li(h,1,ii(["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(),li(p,1,ii(["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":Hr(n)||Hr(s)?"bg-indigo-500/10":"bg-white/5"])),li(m,1,ii(["text-[16px]/[110%] mouse:text-[13px]/[110%] font-medium truncate",o()?"text-orange-400":t.node.selected?"text-sky-300":Hr(n)||Hr(s)?"text-indigo-300":"text-neutral-200"])),ko(v,t.node.name)}),so("click",h,()=>{o()||t.node.ignored||(ds(),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 pv={div:{name:"Div",icon:Qf},span:{name:"Span",icon:cm},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:xf},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:_f},modal:{name:"Modal",icon:Tf},form:{name:"Form",icon:Df},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:$f},header:{name:"Header",icon:Tf},article:{name:"Article",icon:Df},section:{name:"Section",icon:$f},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:Mf},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:rm},th:{name:"Table Header",icon:rm},td:{name:"Table Data",icon:rm},svg:{name:"Vector",icon:tm},path:{name:"SVG Path",icon:tm},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:Of},h1:{name:"Heading 1",icon:bf},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:cm},ul:{name:"List",icon:Af},ol:{name:"Numbered List",icon:Af},li:{name:"List Item",icon:Af},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:tf},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:Rf},fieldset:{name:"Fieldset",icon:of},legend:{name:"Legend",icon:Uf},details:{name:"Details",icon:tf},summary:{name:"Summary",icon:cm},dialog:{name:"Dialog",icon:Tf},canvas:{name:"Canvas",icon:Vf},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:of},iframe:{name:"iFrame",icon:Qf},object:{name:"Object",icon:Rf},embed:{name:"Embed",icon:Rf},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:cm},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:xf},blockquote:{name:"Block Quote",icon:Uf},hr:{name:"Horizontal Rule",icon:Qf},address:{name:"Address",icon:cm},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:Vf},abbr:{name:"Abbreviation",icon:lm},cite:{name:"Citation",icon:Uf},code:{name:"Code",icon:Jf},pre:{name:"Preformatted Text",icon:uf},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:uf},var:{name:"Variable Name",icon:Jf},sub:{name:"Subscript",icon:lm},sup:{name:"Superscript",icon:lm},b:{name:"Bold",icon:nm},i:{name:"Italic",icon:am},u:{name:"Underline",icon:dm},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:lm},strong:{name:"Strong Emphasis",icon:nm},em:{name:"Emphasis",icon:am},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:dm},q:{name:"Inline Quote",icon:Uf},data:{name:"Data",icon:af},meter:{name:"Meter",icon:af},progress:{name:"Progress",icon:af},output:{name:"Output",icon:uf},template:{name:"Template",icon:_f},favicon:{name:"Favicon",icon:xf},url:{name:"Page URL",icon:Of},shareimage:{name:"Share Image",icon:xf},title:{name:"Page Title",icon:bf},description:{name:"Page Description",icon:cm}},gv={name:"Element",icon:Qf},fv=po("<button><!></button>"),mv=po("<div><!></div>"),vv=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="overflow-y-auto overflow-x-hidden flex-1 p-6 flex flex-col gap-2"><p class="text-[11px] font-medium text-neutral-500 uppercase tracking-wider px-6 pt-4 pb-2">Path to Element</p> <!></div>',1),bv=po("<!> <!>",1),wv=po("<div><!></div>"),yv=po("<div><!></div>"),xv=po('<div class="flex"><!></div>'),kv=po('<div class="flex"><!></div>'),Cv=po("<button><!></button>"),Lv=po("<div><!></div>");function Mv(e,t){ue(t,!0);const{meta:r,hover:o,tracer:i,dom:n,sheet:s,environment:a,elements:l,toolbar:c}=dy();let d=ut(null),u=Bi(t,"element",3,null),h=Bi(t,"anchorEl",3,null),p=Bi(t,"hidden",3,!1),g=Bi(t,"missing",3,!1),f=Bi(t,"selector",3,""),m=Bi(t,"meta",3,!1),v=Qe(()=>h()??Hr(d)),b=ut(!1),w=ut(!1),y=ut(null),x=Qe(()=>{if(!g()||!f()||!1===Hr(w))return[];const e=f().split(" > "),t=[];let r="",o=!1;for(let i=0;i<e.length;i++){const n=e[i];if(r=r?`${r} > ${n}`:n,"body"===n)continue;const s=n.replace(/:nth-of-type\(\d+\)/,"");if(o){const e=pv[s]||gv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Ip,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1},missing:!0});continue}const a=(m()?c.wrapper:document)?.querySelector(r)??null;if(!a){o=!0;const e=pv[s]||gv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Ip,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1},missing:!0});continue}t.push({node:l.makeNode(a,a===Hr(y),!1),missing:!1})}return t});const k=()=>{u()&&Hr(v)&&(a.touch||m()&&!r.visible||(o.isIsolated||(pt(b,!0),o.highlightInstant=!0,o.focus(u())),i.trace(u(),Hr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}})))},C=async()=>{a.touch||(o.isIsolated||(o.unfocus(),pt(b,!1),await Dr(),o.highlightInstant=!1),i.hide())};let L=ut(!1);const M=()=>{if(!m()||!f())return null;const e=c.wrapper?.querySelectorAll("[data-fubi-meta]");if(!e?.length)return null;const t=f().split(" > ").slice(-2).join(" > ");for(const r of e)if(l.getPath(r).split(" > ").slice(-2).join(" > ")===t)return r;return null},S=e=>{o.focus(e)};Kt(()=>{Hr(L)&&r.visible&&(pt(L,!1),setTimeout(()=>{const e=M();e&&S(e)},200))});const $=()=>{if(m()&&!r.visible)return r.show(),void pt(L,!0);if(m()&&r.visible){const e=M();return void(e&&(a.touch&&s.opened&&s.close(),S(e)))}u()&&(a.touch&&s.opened&&s.close(),n.scrollToElement(u()),o.focus(u()))},_=e=>{Hr(v)&&!a.touch&&(o.isIsolated||(o.highlightInstant=!0,o.focus(e.el)),i.trace(e.el,Hr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}}))},T=async()=>{a.touch||(o.isIsolated||(o.unfocus(),await Dr(),o.highlightInstant=!1),i.hide())};Kt(()=>{g()&&Hr(b)&&(o.isIsolated||(o.unfocus(),o.highlightInstant=!1),i.hide(),pt(b,!1))});var E=vo(),O=At(E),I=e=>{{const t=(e,t)=>{var r=wv();Li(r,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"})),Ro(It(r),()=>Dh,(e,t)=>{t(e,{get open(){return Hr(w)},set open(e){pt(w,e,!0)},children:(e,t)=>{var r=bv(),i=At(r);{const e=(e,t)=>{var r=fv();Li(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",Hr(w)&&"glass bg-white/5"]})),rg(It(r),{get icon(){return Ip},className:"size-20 touch:size-24"}),q(r),bo(e,r)};Ro(i,()=>Sh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ro(zt(i,2),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Ro(At(r),()=>Lh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147480000))] min-w-200 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:"end",sideOffset:8,trapFocus:!1,"data-fubi-ignore-all":!0,onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(e,t)=>{var r=vv(),i=zt(At(r),2);Po(zt(It(i),2),17,()=>Hr(x),Ao,(e,t,r)=>{var i=mv();di(i,"",{},{"margin-left":(r>0?28*(r-1):0)+"px"}),hv(It(i),{get node(){return Hr(t).node},get missing(){return Hr(t).missing},depth:r>0?1:0,onselect:()=>(e=>{e.missing||(pt(y,e.node.el,!0),a.touch&&s.opened&&s.close(),o.focus(e.node.el),n.scrollToElement(e.node.el))})(Hr(t)),onhover:_,onleave:T}),q(i),bo(e,i)}),q(i),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),q(r),ji(r,e=>pt(d,e),()=>Hr(d)),bo(e,r)};sp(e,{text:"Trace missing element",delay:200,get disabled(){return Hr(w)},child:t,$$slots:{child:!0}})}},A=e=>{{const t=(e,t)=>{var o=Lv();Li(o,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"}));var i=It(o),n=e=>{var t=yv();li(t,1,ii(["flex-center size-24 touch:size-30 rounded-[8px] superellipse touch:rounded-[8px] text-orange-600 absolute"])),rg(It(t),{get icon(){return Ip},className:"size-22 touch:size-26"}),q(t),bo(e,t)},s=e=>{var t=Cv();li(t,1,ii(["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"]));var o=It(t),i=e=>{rg(e,{get icon(){return Xp},className:"mouse:size-20"})},n=e=>{var t=xv();rg(It(t),{get icon(){return pm},className:"mouse:size-20 text-orange-500 group-hover/focus-button:text-orange-100"}),q(t),Jo(1,t,()=>na,()=>({duration:500,start:2.5,opacity:0,easing:Ws})),bo(e,t)},s=e=>{var t=kv();rg(It(t),{get icon(){return Dp},className:"mouse:size-20"}),q(t),Jo(1,t,()=>na,()=>({duration:500,start:2.5,opacity:0,easing:Ws})),bo(e,t)};To(o,e=>{m()&&!r.visible?e(i):p()?e(n,1):e(s,!1)}),q(t),ji(t,e=>pt(d,e),()=>Hr(d)),no("pointerenter",t,k),no("pointerleave",t,C),so("click",t,$),Jo(1,t,()=>na,()=>({duration:500,start:.5,opacity:0,easing:Ds})),Jo(2,t,()=>na,()=>({duration:100,start:.5,opacity:0})),bo(e,t)};To(i,e=>{g()&&!m()?e(n):(u()||m())&&e(s,1)}),q(o),ji(o,e=>pt(d,e),()=>Hr(d)),bo(e,o)};let o=Qe(()=>m()?r.visible?"Trace to element":"Open Meta Panel":p()?"This element is hidden. It may be inside a modal, dropdown, accordion, or similar":"Scroll into View"),i=Qe(()=>g()&&!m());sp(e,{get text(){return Hr(o)},delay:200,get disabled(){return Hr(i)},child:t,$$slots:{child:!0}})}};To(O,e=>{g()&&!m()&&f()?e(I):e(A,!1)}),bo(e,E),he()}ao(["click"]);var Sv=po("<!> <!>",1);var $v=/https?:\/\/[^\s<>]+/g;function _v(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var Tv={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"}]]},Ev=class extends ss{#qi=ut(wt({width:0,height:0}));get resolution(){return Hr(this.#qi)}set resolution(e){pt(this.#qi,e,!0)}#ae=ut(wt({width:0,height:0}));get current(){return Hr(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()}},Ov=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 Iv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Ov();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Av=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 zv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Av();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Pv=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 Fv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Pv();Li(o,()=>({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Nv=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 jv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Nv();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Dv=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 Hv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Dv();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Wv=po("<div><!></div>"),Rv=po('<div class="w-36 flex-center"><!></div>'),Vv=po("<!> <!>",1);po('<span role="button" tabindex="0"><!></span> <div popover="manual"> </div>',1);var Bv=po('<div class="flex justify-between items-center"><!> <div class="flex gap-0 touch:gap-6 items-center"><!> <!> <!></div></div> <p><!></p>',1);function Uv(e,t){ue(t,!0);const{hover:r,comments:o,auth:i}=dy();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 _v(e.value).replace(/\n/g,"<br>").replace($v,e=>`<a href="${_v(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}">${_v(o)}</span>`}case"image":return`<img src="${_v(e.src)}" alt="${_v(e.alt||"")}" data-fubi-comment-image />`;case"link":return e.title&&e.favicon?`<a href="${_v(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="${_v(e.favicon)}" class="size-4 app:size-16 rounded-sm shrink-0" alt="" /><span class="truncate">${_v(e.title)}</span></a>`:`<a href="${_v(e.url)}" target="_blank" rel="noopener noreferrer" class="text-sky-400 hover:underline break-all">${_v(e.url)}</a>`}}).join(""):"";var e,r}),a=Qe(()=>o.highlightRenderedHTML(Hr(s)));var l=Bv(),c=At(l),d=It(c);{let e=Qe(()=>t.expand?.createdBy);ov(d,{get created(){return t.created},get author(){return Hr(e)}})}var u=zt(d,2),h=It(u),p=e=>{!function(e,t){ue(t,!0);const{resolution:r,modals:o,environment:i}=dy(),[n,s]=t.info?.resolution||[0,0],a=ks(n)||"Unknown",l=t.info.browser||["unknown",""];let c=ut(!1),d=Qe(()=>r.width===n&&r.height===s),u=!1;const h=()=>{o.isOpen("resolution")&&Hr(d)?r.hide():r.show(n,s)};{const r=(e,t)=>{let r=()=>t?.().props;const o=Qe(()=>r().onclick),n=Qe(()=>r().onpointerdown);ng(e,Vi(r,{get active(){return Hr(c)},get icon(){return Tv[a]},onpointerdown:e=>{u=!0,Hr(n)?.(e)},onclick:e=>{i.touch&&!u||(u=!1,Hr(o)?.(e))}}))};lp(e,{side:"top",sideOffset:4,align:"end",origin:"origin-bottom-right",get opened(){return Hr(c)},set opened(e){pt(c,e,!0)},child:r,children:(e,r)=>{var i=Vv(),c=At(i),u=e=>{{let t=Qe(()=>`${n}×${s}`),r=Qe(()=>o.isOpen("resolution")&&Hr(d));Qg(e,{get title(){return a},get subtitle(){return Hr(t)},get icon(){return Tv[a]},get active(){return Hr(r)},onclick:h})}};To(c,e=>{t.info?.resolution&&e(u)});var p=zt(c,2),g=e=>{{const t=e=>{var t=Rv();!function(e,t){const r=Bi(t,"browser",3,"unknown"),o=Bi(t,"size",3,"size-5"),i={Chrome:Iv,Firefox:zv,Safari:Fv,Opera:jv,Edge:Hv,unknown:Iv},n=Qe(()=>i[r()]||Iv);var s=Wv();Ro(It(s),()=>Hr(n),(e,t)=>{t(e,{get class(){return o()}})}),q(s),er(()=>{li(s,1,ii(o())),Ci(s,"data-cursor-text",`${r()}`)}),bo(e,s)}(It(t),{get browser(){return l[0]},size:"size-22"}),q(t),bo(e,t)};Qg(e,{get title(){return l[0]},get subtitle(){return l[1]},start:t,$$slots:{start:!0}})}};To(p,e=>{t.info?.browser&&e(g)}),bo(e,i)},$$slots:{child:!0,default:!0}})}he()}(e,{get info(){return t.info}})};To(h,e=>{(t.info?.browser||t.info?.resolution)&&e(p)});var g=zt(h,2),f=e=>{{let r=Qe(()=>o.bindings.get(t.selector)?.element??null),i=Qe(()=>t.info?.meta);Mv(e,{get element(){return Hr(r)},get anchorEl(){return t.commentEl},get missing(){return t.missing},get hidden(){return t.hidden},get selector(){return t.selector},get meta(){return Hr(i)}})}};To(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}=dy(),a=Qe(()=>i.data.find(e=>e.id===t.id)),l=Qe(()=>Hr(a)?.createdBy===s.user?.id),c=()=>{Hr(a)&&(pt(r,!1),n.open("edit-comment",Hr(a)))},d=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)=>{ng(e,Vi(()=>t?.().props,{get active(){return Hr(r)},get icon(){return Cg}}))};lp(e,{get opened(){return Hr(r)},set opened(e){pt(r,e,!0)},child:t,children:(e,t)=>{var r=Sv(),o=At(r),i=e=>{Qg(e,{title:"Edit",get icon(){return mm},onclick:c})};To(o,e=>{Hr(l)&&e(i)}),Qg(zt(o,2),{title:"Delete",get icon(){return fm},type:"destructive",onclick:d}),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}(e,{get id(){return t.id}})};To(m,e=>{Hr(n)||e(v)}),q(u),q(c);var b=zt(c,2);Ho(It(b),()=>Hr(a)),q(b),er(()=>li(b,1,ii(["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 Zv=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 qv=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 Kv=po('<p class="mr-4"> </p>'),Gv=po("<button><!> <!></button>"),Xv=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>'),Yv=po('<button type="button"><!></button>'),Jv=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 Qv(e,t){ue(t,!0);const{media:r}=dy();let o=Bi(t,"entry",3,null),i=Bi(t,"url",3,null),n=Bi(t,"index",3,0),s=Bi(t,"media",3,null),a=Bi(t,"removable",3,!0),l=Bi(t,"commentId",3,void 0),c=Bi(t,"filename",3,void 0),d=Bi(t,"imageWidth",3,void 0),u=Bi(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=Jv(),v=It(m),b=It(v);li(b,1,ii(["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=Xv();Ig(It(t)),q(t),bo(e,t)};To(w,e=>{Hr(f)&&e(y)});var x=zt(w,2),k=e=>{var t=Yv();li(t,1,ii(["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"])),rg(It(t),{get icon(){return jp},className:"size-14 text-white"}),q(t),so("pointerdown",t,e=>{e.preventDefault()}),so("click",t,()=>{s().remove(o().id)}),bo(e,t)};To(x,e=>{a()&&s()&&o()&&e(k)}),q(m),er(()=>{Ci(b,"src",Hr(p)),Ci(b,"alt",Hr(g))}),so("pointerdown",v,e=>{e.preventDefault()}),so("click",v,()=>{r.previewImage(Hr(h),l(),c(),o()?.width??d(),o()?.height??u())}),Jo(3,b,()=>na,()=>({start:.8,duration:300,delay:100+40*n(),easing:Ws})),Jo(3,m,()=>ia,()=>({axis:"x",duration:200,easing:Ws})),bo(e,m),he()}ao(["pointerdown","click"]);var eb=po('<div class="w-auto items-center z-10 shrink-0 flex"></div>'),tb=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),rb=po('<div class="flex overflow-x-auto w-[calc(100%+20px)] -translate-x-10 pl-10 hide-scrollbar mask-r-from-90%"><!></div>'),ob=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>'),ib=po("<div><div><!> <div><!></div> <!> <!></div></div>");function nb(e,t){ue(t,!0);let r=Bi(t,"reply",3,!1),o=Bi(t,"focused",3,!1),i=Bi(t,"replyThread",3,!1),n=ut(null);var s=ib(),a=It(s),l=It(a),c=e=>{var t=tb();K(2),bo(e,t)};To(l,e=>{r()&&e(c)});var d=zt(l,2);Uv(It(d),{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 unread(){return t.unread},get created(){return t.created},get commentEl(){return Hr(n)},get reply(){return r()}}),q(d);var u=zt(d,2),h=e=>{var r=rb(),o=It(r);{let e=Qe(()=>({id:t.id,collectionName:"comments",media:t.media,info:t.info}));!function(e,t){ue(t,!0);var r=eb();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]);Qv(e,{get url(){return Hr(i)},get index(){return Hr(o)},removable:!1,get commentId(){return t.comment.id},get filename(){return r},get imageWidth(){return Hr(n)},get imageHeight(){return Hr(s)}})}}),q(r),bo(e,r),he()}(o,{get comment(){return Hr(e)}})}q(r),bo(e,r)};To(u,e=>{t.media&&t.media.length>0&&e(h)});var p=zt(u,2),g=e=>{var o=ob(),n=It(o),s=It(n);(function(e,t){ue(t,!0);let r=Bi(t,"checked",7,!1);const{comments:o}=dy(),i=Zn("done");{const n=(e,n)=>{var s=Zv(),a=It(s),l=e=>(e=>{ds();const r=e.target;i.info("Changed done for comment",t.id,"to",r.checked),o.setDone(t.id,r.checked)})(e);Li(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 "]);xp(c,{name:"check",get class(){return Hr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Unmark done":"Mark as done");sp(e,{get text(){return Hr(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=Bi(t,"checked",7,!1);const{comments:o}=dy(),i=Zn("priority");{const n=(e,n)=>{var s=qv(),a=It(s),l=e=>(e=>{ds();const r=e.target;i.info("Changed priority for comment",t.id,"to",r.checked),o.setPriority(t.id,r.checked)})(e);Li(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"]);xp(c,{name:"chevrons-up",get class(){return Hr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Remove High Priority":"Set High Priority");sp(e,{get text(){return Hr(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=Bi(t,"replies",3,0),o=Wi(t,["$$slots","$$events","$$legacy","id","selector","replies"]),{hover:i}=dy(),n=()=>{i.isolateForReply(t.id,t.selector)};{const t=(e,t)=>{var i=Gv();Li(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=It(i),a=e=>{rg(e,{get icon(){return df},className:"size-22 touch:size-26"})},l=e=>{rg(e,{get icon(){return Rp},className:"size-22 touch:size-26"})};To(s,e=>{0===r()?e(a):e(l,!1)});var c=zt(s,2),d=e=>{var t=Kv(),o=It(t,!0);q(t),er(()=>ko(o,r())),bo(e,t)};To(c,e=>{r()>0&&e(d)}),q(i),bo(e,i)};let i=Qe(()=>0===r()?"Reply":"Show Replies");sp(e,{get text(){return Hr(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}})};To(a,e=>{r()||i()||e(l)}),q(o),bo(e,o)};To(p,e=>{r()||e(g)}),q(a),ji(a,e=>pt(n,e),()=>Hr(n)),q(s),er(()=>{li(s,1,ii(["w-full group/comment",r()&&"pl-28 pt-2"])),li(a,1,ii(["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","animate-comment-in","",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"])),li(d,1,ii(["flex flex-col",r()?"gap-4":"gap-6"]))}),Jo(1,d,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:200})),Jo(2,d,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:0})),Jo(1,a,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:200})),Jo(2,a,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:0})),Jo(1,s,()=>ia,()=>({axis:"y",duration:400,easing:Ws})),Jo(2,s,()=>ia,()=>({axis:"y",duration:300,delay:0,easing:Ws})),bo(e,s),he()}po("<!> <!>",1);var sb=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 ab(e,t){ue(t,!0);let r=Bi(t,"checked",15,!1),o=Bi(t,"disabled",3,!1),i=Bi(t,"small",3,!1);var n=sb(),s=It(n);xi(s);var a=zt(s,4);q(n),er(()=>{li(n,1,ii(["relative flex rounded-2xl",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(),li(a,1,ii(["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-[26px] touch:w-[34px]","peer-checked:translate-x-[12px]"]))}),so("change",s,e=>{ds(),t.onchange?.(e.currentTarget.checked)}),Oi(s,r),bo(e,n),he()}ao(["change"]);var lb=po('<div class="absolute inset-6 left-auto flex-center"><!></div>'),cb=po("<!> <!>",1),db=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 ub(e,t){ue(t,!0);let r=Bi(t,"placeholder",3,"Search");Bi(t,"hide",3,!1),Bi(t,"value",11,"");const{settings:o,comments:i,inputs:n}=dy();let s=ut(""),a=ut(!1),l=ut(null);Ui(()=>(n.register("search",{focus:()=>Hr(l)?.focus(),focusWithoutScroll:()=>{Hr(l)&&(Hr(l).style.opacity="0",Hr(l).focus(),requestAnimationFrame(()=>{Hr(l)&&(Hr(l).style.opacity="")}))},blur:()=>Hr(l)?.blur(),clear:()=>{pt(s,"")},reset:()=>{pt(s,""),Hr(l)?.blur()},submit:()=>{},isFocused:()=>document.activeElement===Hr(l)}),()=>n.unregister("search")));let c=Qe(()=>!!o.current.onlyMineVisible||!o.current.doneThreadsVisible||"priority"!==o.current.sortMode);Kt(()=>{i.search=Hr(s)});var d=db(),u=It(d),h=It(u);li(h,1,ii(["flex relative shrink-0 focus-visible text-white z-0 flex-1"]));var p=It(h);xi(p),li(p,1,ii(["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"])),ji(p,e=>pt(l,e),()=>Hr(l));var g=zt(p,2);li(g,1,ii(["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=It(g);rg(f,{get icon(){return Gp},className:"size-18 touch:size-20"});var m=zt(f,2),v=It(m,!0);q(m),q(g),q(h);var b=zt(h,2),w=It(b);{let e=Qe(()=>Hr(s)?0:-1);ng(w,{get icon(){return jp},onclick:()=>pt(s,""),get tabindex(){return Hr(e)}})}q(b);{const e=(e,t)=>{let r=()=>t?.().props;var o=lb(),i=It(o);{let e=Qe(()=>Hr(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);ng(i,Vi(r,{get icon(){return mf},get active(){return Hr(a)},get colors(){return Hr(e)}}))}q(o),bo(e,o)};lp(zt(b,2),{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Hr(a)},set opened(e){pt(a,e,!0)},child:e,children:(e,t)=>{var r=cb(),i=At(r);{const e=e=>{{let t=Qe(()=>!!o.current.onlyMineVisible);ab(e,{small:!0,get checked(){return Hr(t)},onchange:()=>o.toggle("onlyMineVisible")})}};Qg(i,{title:"Only Mine",closeOnSelect:!1,end:e,$$slots:{end:!0}})}{const e=e=>{{let t=Qe(()=>!!o.current.doneThreadsVisible);ab(e,{small:!0,get checked(){return Hr(t)},onchange:()=>o.toggle("doneThreadsVisible")})}};Qg(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()),li(b,1,ii(["absolute inset-6 left-auto right-38 touch:right-48 touch:glass rounded-[10px] touch:rounded-[12px]",Hr(s)?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"]))}),no("focus",p,()=>{Hr(l)&&(Hr(l).style.opacity="0",requestAnimationFrame(()=>{Hr(l)&&(Hr(l).style.opacity="")}))}),Ei(p,()=>Hr(s),e=>pt(s,e)),Jo(3,d,()=>ia,()=>({axis:"y",duration:300,easing:Ws})),bo(e,d),he()}var hb=po('<button><!> <span class="sr-only">Close</span></button>');function pb(e,t){let r=Wi(t,["$$slots","$$events","$$legacy","class"]);var o=hb();Li(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})),rg(It(o),{get icon(){return jp},className:"size-5 app:size-16 touch:app:size-20"}),K(2),q(o),bo(e,o)}var gb=po('<p class="text-neutral-400 flex items-center text-sm/[140%] font-normal text-balance"> </p>'),fb=po('<div class="text-neutral-400 text-sm/[140%]"><!></div>'),mb=po('<div><p class="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>'),vb=po("<div></div>"),bb=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>'),wb=po('<div class="p-12 gap-8 touch:p-14 touch:gap-10 flex flex-col"><div><!></div></div>'),yb=po("<div><!> <!> <!></div>"),xb=po("<!> <!>",1),kb=po("<!> <!>",1);function Cb(e,t){ue(t,!0);const{modals:r,environment:o,toolbar:i}=dy();let n=Bi(t,"open",15,!1),s=Bi(t,"title",3,""),a=Bi(t,"width",3,"w-full max-w-[min(300px,calc(100%-32px))] touch:max-w-[min(320px,calc(100%-48px))]"),l=Bi(t,"horizontalButtons",3,!1),c=Wi(t,["$$slots","$$events","$$legacy","open","title","text","content","trigger","child","children","portal","width","horizontalButtons","header"]);var d=vo();Ro(At(d),()=>$h,(e,d)=>{d(e,Vi(()=>c,{get open(){return n()},set open(e){n(e)},children:(e,n)=>{var c=kb(),d=At(c),u=e=>{var r=vo();Ro(At(r),()=>md,(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();Wo(At(o),()=>t.trigger),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};To(d,e=>{t.trigger&&e(u)});var h=zt(d,2);{let e=Qe(()=>t.portal??(o.touch?i.wrapper:r.portalTarget));Ro(h,()=>Zl,(r,o)=>{o(r,{get to(){return Hr(e)},children:(e,r)=>{var o=xb(),i=At(o);{const e=(e,t)=>{var r=vo(),o=At(r),i=e=>{var r=vb();Li(r,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-50 touch:z-[calc(var(--infinity,2147480000)+1)] bg-black/50 rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none superellipse"})),Jo(3,r,()=>ta,()=>({duration:150})),bo(e,r)};To(o,e=>{t?.().open&&e(i)}),bo(e,r)};Ro(i,()=>gd,(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=yb();Li(o,()=>({...r?.().props,"data-fubi-ignore-all":!0,class:["fixed left-[50%] top-[50%] z-50 touch:z-[calc(var(--infinity,2147480000)+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=It(o),n=e=>{!function(e,t){let r=Bi(t,"border",3,!0);var o=mb(),i=It(o),n=It(i,!0);q(i);var s=zt(i,2),a=e=>{var r=vo(),o=At(r),i=e=>{var r=gb(),o=It(r,!0);q(r),er(()=>ko(o,t.text)),bo(e,r)},n=e=>{var r=fb();Wo(It(r),()=>t.text),q(r),bo(e,r)};To(o,e=>{"string"==typeof t.text?e(i):e(n,!1)}),bo(e,r)};To(s,e=>{t.text&&e(a)});var l=zt(s,2);{const e=(e,t)=>{pb(e,Vi(()=>t?.().props,{class:"absolute top-3 right-3 app:top-8 app:right-8 touch:app:top-12 touch:app:right-14"}))};Ro(l,()=>Th,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}q(o),er(()=>{li(o,1,ii(["group/navbar flex flex-col","pt-4 px-5 pb-3 gap-1","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,Vi({get title(){return s()},get text(){return t.text}},()=>t.header))};To(i,e=>{(s()||t.text)&&e(n)});var c=zt(i,2),d=e=>{var r=bb();Wo(It(r),()=>t.content),q(r),bo(e,r)};To(c,e=>{t.content&&e(d)});var u=zt(c,2),h=e=>{var r=wb(),o=It(r);Wo(It(o),()=>t.children),q(o),q(r),er(()=>li(o,1,ii(["flex w-full gap-8 touch:gap-12",l()?"flex-row":"flex-col"]))),bo(e,r)};To(u,e=>{t.children&&e(h)}),q(o),Jo(3,o,()=>na,()=>({duration:150,start:.95})),bo(e,o)};To(i,e=>{r?.().open&&e(n)}),bo(e,o)};Ro(n,()=>Ih,(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 Lb=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 Mb=po('<div class="px-8"><!></div>'),Sb=po("<!> <!>",1),$b=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>'),_b=po('<form action="" id="edit-page-form" class="contents"><!> <!> <!></form>'),Tb=po("<!> <!>",1),Eb=po("<span> </span>"),Ob=po('<div class="relative"><div contenteditable="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 Ib(e,t){ue(t,!0);const{media:r,picker:o}=dy();let i=Bi(t,"content",31,()=>wt([])),n=Bi(t,"mentions",31,()=>wt([])),s=Bi(t,"element",15,null),a=Bi(t,"focused",15,!1),l=Bi(t,"charCount",15,0),c=Bi(t,"initialHtml",3,""),d=Bi(t,"maxLength",3,2e3),u=ut(wt(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()-Hr(p)),f=Qe(()=>Hr(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()&&Hr(h)){if("mention"===Hr(h).type){const t=`@${Hr(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">${_v(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(Hr(p))}),Ui(()=>{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=Ob(),k=It(x);ji(k,e=>s(e),()=>s());var C=zt(k,2),L=e=>{var t=vo();Io(At(t),()=>Hr(g),e=>{var t=Eb(),r=It(t,!0);q(t),er(()=>{li(t,1,ii(["absolute bottom-4 right-8 text-[12px] tabular-nums select-none pointer-events-none",Hr(g)<=0||Hr(g)<=10?"text-rose-400":"text-orange-400"])),ko(r,Hr(g))}),Jo(1,t,()=>na,()=>({duration:100,easing:Ws,start:1.5})),bo(e,t)}),bo(e,t)};return To(C,e=>{Hr(f)&&e(L)}),q(x),er(()=>Ci(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(Hr(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())):Hr(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()-Hr(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,()=>Hr(u),e=>pt(u,e)),bo(e,x),he(y)}ao(["keydown","beforeinput","input"]);var Ab=po('<div class="flex justify-between items-center pb-2"><!></div>'),zb=po('<div class="rounded-[14px] superellipse glass-pressed bg-neutral-500/10 overflow-hidden"><!></div>'),Pb=po("<!> <!>",1),Fb=po('<div class="flex gap-8"><!> <!></div>');var Nb=po("<button><!></button>"),jb=po('<div class="rounded-[14px]"><!></div>');function Db(e,t){let r=Bi(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=jb(),n=It(i);{const e=(e,r)=>{var i=Nb();Li(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})),Wo(It(i),()=>t.children),q(i),Jo(3,i,()=>na,()=>({duration:200,easing:Ws,start:.8})),bo(e,i)};let i=Qe(()=>r()||""),s=Qe(()=>!r());sp(n,{get text(){return Hr(i)},get disabled(){return Hr(s)},child:e,$$slots:{child:!0}})}q(i),Jo(3,i,()=>ia,()=>({axis:"x",duration:400,easing:Ws})),bo(e,i)};To(n,e=>{t.visible&&e(s)}),bo(e,i)}var Hb=po('<div class="flex items-end justify-center gap-4 shrink-0 pb-4 mt-auto"><!> <!></div>');function Wb(e,t){ue(t,!0);const{auth:r,comments:o,settings:i}=dy();let n=Qe(()=>t.threads??o.threads),s=Qe(()=>Hr(n).filter(e=>(!i.current.onlyMineVisible||e.createdBy===r?.user?.id)&&e.done).length),a=Qe(()=>Hr(n).filter(e=>!(!i.current.doneThreadsVisible&&e.done)&&e.createdBy!==r?.user?.id).length);var l=vo(),c=At(l),d=e=>{var t=Hb(),r=It(t);{let e=Qe(()=>!i.current.doneThreadsVisible&&Hr(s)>0);Db(r,{get visible(){return Hr(e)},onclick:()=>i.toggle("doneThreadsVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${Hr(s)??""} Done`)),bo(e,r)},$$slots:{default:!0}})}var o=zt(r,2);{let e=Qe(()=>i.current.onlyMineVisible&&Hr(a)>0);Db(o,{get visible(){return Hr(e)},onclick:()=>i.toggle("onlyMineVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${Hr(a)??""} Other`)),bo(e,r)},$$slots:{default:!0}})}q(t),bo(e,t)};To(c,e=>{(!i.current.doneThreadsVisible&&Hr(s)>0||i.current.onlyMineVisible&&Hr(a)>0)&&e(d)}),bo(e,l),he()}var Rb=po("<div><!> </div>"),Vb=po("<!> <!>",1),Bb=po('<div class="flex gap-4"><!> <!></div>'),Ub=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Zb=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 w-full shrink-0 opacity-50"></div> <!></div>'),qb=po("<div><!></div>"),Kb=po("<div><!> <!> <!></div>"),Gb=po("<p>Error loading</p>"),Xb=po("<!> <!> <!> <!> <!>",1),Yb=po("<!> <!>",1),Jb=po('<div class="flex"><!></div>'),Qb=po('<div class="flex flex-col gap-6 min-h-full pt-px"><!> <!> <!></div> <!>',1),ew=po("<!> <!>",1),tw=po("<div><!> <!> <!></div> <!>",1),rw=po("<!> <!>",1),ow=[["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"}]],iw=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),nw=po("<div><div><div></div> <div></div> <div></div></div> <div><!></div></div>");function sw(e,t){ue(t,!0);let r=Bi(t,"rounded",3,"rounded-lg"),o=Bi(t,"class",3,""),i=Bi(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=nw(),a=It(s),l=It(a),c=zt(l,2);li(c,1,"rim-soft"),li(zt(c,2),1,"rim-sharp"),q(a);var d=zt(a,2),u=It(d),h=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(u,e=>{t.children&&e(h)}),q(d),q(s),er(()=>{li(s,1,`rim-wrapper select-none ${r()} ${Hr(n)}`),li(a,1,`rim-container ${r()}`),li(l,1,`rim-underline ${i()}`),li(d,1,`rim-content ${r()}`)}),bo(e,s),he()}var aw=po("<div><div><!></div></div>");function lw(e,t){ue(t,!0);let r=new Ns(0,{stiffness:.08,damping:.5}),o=ut(0),i=ut(0);Kt(()=>{const e="width"===c()?Hr(i):Hr(o);r.set(e)});const n=Bi(t,"children",3,null),s=Bi(t,"clip",3,!1),a=Bi(t,"class",3,""),l=Bi(t,"classOutter",3,""),c=Bi(t,"animate",3,"height"),d=Wi(t,["$$slots","$$events","$$legacy","children","clip","class","classOutter","animate"]);var u=aw();Li(u,()=>({style:`${c()}: ${r.current}px;`,class:[s()&&"overflow-clip",l()],...d}));var h=It(u),p=It(h),g=e=>{var t=vo();Wo(At(t),n),bo(e,t)};To(p,e=>{n()&&e(g)}),q(h),q(u),er(()=>li(h,1,ii(["width"===c()&&"w-fit",a()]))),Fi(h,"clientHeight",e=>pt(o,e)),Fi(h,"clientWidth",e=>pt(i,e)),bo(e,u),he()}var cw=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>'),dw=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>'),uw=po('<button class="size-38 flex-center rounded-full active:bg-white/20 disabled:opacity-30"><!></button>'),hw=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 pw(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}=dy();let h=Bi(t,"parent",3,null),p=Bi(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);Ui(()=>{const e=r.on("comments:created",()=>{pt(C,!0),setTimeout(()=>{pt(C,!1)},1500)});return a.register(t.id,{focus:()=>Hr(v)?.focus({preventScroll:!0}),focusWithoutScroll:()=>{Hr(v)&&(Hr(v).style.opacity="0",Hr(v).focus(),requestAnimationFrame(()=>{Hr(v)&&(Hr(v).style.opacity="")}))},blur:()=>Hr(v)?.blur(),clear:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),Hr(v)&&(Hr(v).innerHTML="")},reset:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),Hr(v)&&(Hr(v).innerHTML="",Hr(v).blur())},submit:()=>Hr(m)?.requestSubmit(),isFocused:()=>Hr(b)}),()=>{a.unregister(t.id),e()}});let L=Qe(()=>0===Hr(w).length||Hr(x)>400||c.loading);var M=hw(),S=At(M),$=e=>{var t=dw();sw(It(t),{rounded:"rounded-full",bg:"bg-green-600",children:(e,t)=>{var r=cw();xp(It(r),{name:"check",class:"size-28 stroke-2"}),K(2),q(r),bo(e,r)},$$slots:{default:!0}}),q(t),Jo(3,t,()=>na,()=>({start:.8,easing:Ws})),bo(e,t)};To(S,e=>{Hr(C)&&d.touch&&e($)});var _=zt(S,2),T=It(_),E=It(T),O=It(E),I=It(O);{let e=Qe(()=>l.files.length>=l.MAX_FILES);Rg(I,{get icon(){return Bf},size:"size-38",get disabled(){return Hr(e)},onpointerdown:e=>{e.preventDefault()},onclick:()=>{l.openPicker()}})}q(O);var A=zt(O,2);Ib(It(A),{get id(){return t.id},get maxLength(){return 400},get content(){return Hr(w)},set content(e){pt(w,e,!0)},get mentions(){return Hr(y)},set mentions(e){pt(y,e,!0)},get charCount(){return Hr(x)},set charCount(e){pt(x,e,!0)},get element(){return Hr(v)},set element(e){pt(v,e,!0)},get focused(){return Hr(b)},set focused(e){pt(b,e,!0)}}),q(A);var z=zt(A,2),P=It(z);{let e=Qe(()=>Hr(L)?"bg-transparent opacity-50":"bg-sky-600/80"),t=Qe(()=>Hr(L)?"opacity-30":"");sw(P,{rounded:"rounded-full",get bg(){return Hr(e)},get class(){return Hr(t)},children:(e,t)=>{var r=uw(),o=It(r);{let e=Qe(()=>c.loading?zf:ow);rg(o,{get icon(){return Hr(e)},className:"size-20 text-white -translate-x-px translate-y-px"})}q(r),er(()=>r.disabled=Hr(L)),so("pointerdown",r,e=>e.preventDefault()),so("click",r,()=>Hr(m)?.requestSubmit()),bo(e,r)},$$slots:{default:!0}})}q(z),q(E);var F=zt(E,2);!function(e){ue({},!0);const{media:t}=dy(),r=Qe(()=>t.files.length>0),o=Qe(()=>t.error&&"capture_failed"!==t.error);var i=iw(),n=At(i),s=It(n);Po(s,23,()=>t.files,e=>e.id,(e,r,o)=>{Qv(e,{get entry(){return Hr(r)},get index(){return Hr(o)},get media(){return t}})}),q(s),q(n);var a=zt(n,2),l=It(a),c=It(l);rg(c,{get icon(){return Ip},className:"size-16 shrink-0"});var d=zt(c,2),u=It(d,!0);q(d),q(l),q(a),er(()=>{li(n,1,ii(["w-full gap-4 items-center max-w-full z-10 shrink-0 overflow-clip touch:px-4",Hr(r)?"h-44 touch:h-64":"h-0","transition-[height] duration-300 ease-out-cubic will-change-[height]"])),li(a,1,ii(["text-amber-400 text-sm/none overflow-clip",Hr(o)?"h-28":"h-0"])),li(l,1,ii(["px-8 pb-2 flex items-center gap-4 h-28",!Hr(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),j=It(N);li(j,1,ii(["flex items-center justify-between w-full p-6"," border-t-[0.5px] border-white/10"]));var D=It(j),H=It(D);{let e=Qe(()=>l.files.length>=l.MAX_FILES);ng(H,{type:"button",get icon(){return kf},alt:"Upload Media",tooltip:{text:"Upload Media"},get disabled(){return Hr(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()})}ng(zt(H,2),{type:"button",get icon(){return rf},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:()=>{Hr(v)?.focus(),document.execCommand("insertText",!1,"@")}}),q(D),Io(zt(D,2),()=>c.loading,e=>{{let t=Qe(()=>c.loading?zf:ow),r=Qe(()=>0===Hr(w).length||Hr(x)>400||c.loading);ng(e,{type:"submit",alt:"Send comment",get icon(){return Hr(t)},iconSize:"size-18",get disabled(){return Hr(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(j),q(N),q(T),ji(T,e=>pt(m,e),()=>Hr(m)),q(_),er(()=>{Ci(T,"data-fubi-comment-form",t.id),li(T,1,ii(["relative w-full pointer-events-auto superellipse flex-start flex flex-col","reply"===t.id?"origin-bottom":[Hr(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"])),li(N,1,ii(["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",T,async function(e){if(e.preventDefault(),o.opened)return;if(0===Hr(w).length||Hr(x)>400)return;l.error=null;const{name:t,version:a}=Cs(),{width:c,height:d}=xs(),u=n.isolationSelector;if(!u)return;const p=!!n.info?.meta;r.emit("comment-input:submit",{page:i.current.id,parent:h(),selector:u,done:!1,content:Hr(w),mentions:Hr(y),priority:Hr(k),info:{browser:[t,a],resolution:[c,d],meta:p,...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",T,e=>{if(!d.touch)return;if("isolated"!==n.mode.type)return;if(l.picking)return;const r=e.relatedTarget;r&&Hr(m)?.contains(r)||setTimeout(()=>{const e=document.activeElement,r=e&&Hr(m)?.contains(e);"isolated"===n.mode.type&&(l.picking||r||u.isOpen("media-preview")||(n.dismissIsolation(),a.hide(t.id)))},0)}),bo(e,M),he()}ao(["focusout","pointerdown","click"]);var gw=po("<!> <!>",1),fw=po("<!> <!>",1),mw=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>'),vw=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),bw=po("<!> <!>",1),ww=po('<div class="flex items-center gap-4 text-sky-500"><a class="text-sm hover:underline"> </a> <!></div>'),yw=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>'),xw=po('<div class="flex-center w-full h-full text-neutral-400 px-16"><!></div>'),kw=po('<div class="flex items-center gap-8 text-sm text-neutral-400"><!> <p>Running analysis...</p></div>'),Cw=po('<div><!> <p class="text-sm/none font-semibold text-neutral-200"> </p></div>'),Lw=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Mw=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Sw=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>'),$w=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>'),_w=po('<div class="group/listitemwrap"><!> <!></div>'),Tw=po('<div class="flex flex-col mb-16"><!> <!></div>'),Ew=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>'),Ow=po("<!> <!> <!>",1),Iw=po("<!> <!>",1),Aw=po("<!> <!>",1);ao(["click"]);var zw=po("<!> <!>",1),Pw=po('<!> <div class="mt-auto text-xs/none text-center w-full mb-8 flex-center text-neutral-500"><p></p></div>',1),Fw=po("<!> <!>",1),Nw=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>');Zn("routes");var jw=e=>{if(e.domains.blocked)return{redirect:"error"}},Dw=e=>{const t=jw(e);if(t)return t;const r=(e=>{if(!e?.auth?.user)return{redirect:"login"}})(e);if(r)return r;const o=(e=>{if(0===e.folders.data.length)return{redirect:"error"}})(e);return o||void 0},Hw={demo:{component:function(e,t){ue(t,!0);const{folders:r,router:o,bus:i}=dy();let n=Qe(()=>r.ready);function s(){localStorage.setItem("fubi_demo_seen","true"),o.goto("comments")}Ui(()=>i.on("hover:enabled",()=>{const e=r.data[0];e&&(localStorage.setItem("fubi_demo_seen","true"),r.select(e),o.goto("comments"))})),la(e,{name:"demo",children:(e,t)=>{Op(e,{children:(e,t)=>{var r=Nw(),o=It(r),i=It(o);da(i,{class:"h-32 text-lime-300 mb-8"});var a=zt(i,6);{let e=Qe(()=>!Hr(n)),t=Qe(()=>!Hr(n));pg(a,{class:"w-full max-w-xs mt-16",get disabled(){return Hr(e)},get loading(){return Hr(t)},onclick:s,children:(e,t)=>{K();var r=mo();er(()=>ko(r,Hr(n)?"Start Exploring":"Loading...")),bo(e,r)},$$slots:{default:!0}})}Ci(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}=dy();let n=ut(""),s=ut("");la(e,{name:"login",children:(e,t)=>{var a=vg(),l=At(a);da(l,{class:"h-24 text-lime-300 absolute top-20 left-20"});var c=zt(l,2);Ci(c,"href","https://dash.fubi.dev"),li(c,1,ii(["absolute top-16 right-14 pointer-events-auto text-sm/none glass gap-4 bg-white/5 h-32 rounded-full flex-center pl-14 pr-10","transition-[background-color,color,scale] will-change-[background-color,color,scale] duration-100 ease-out-cubic","hover:bg-sky-500/10 hover:text-sky-500 hover:scale-[1.05]","active:bg-sky-500/20 active:scale-100"])),rg(zt(It(c),2),{get icon(){return Np},class:"size-16"}),q(c),Op(zt(c,2),{children:(e,t)=>{var a=mg(),l=It(a),c=zt(It(l),2),d=It(c);ha(d,{children:(e,t)=>{var r=gg(),o=At(r);lg(o,{name:"email",type:"email",label:"E-mail",autocomplete:"email",required:!0,get value(){return Hr(n)},set value(e){pt(n,e,!0)}}),lg(zt(o,2),{name:"password",type:"password",label:"Password",autocomplete:"password",required:!0,get value(){return Hr(s)},set value(e){pt(s,e,!0)}}),bo(e,r)},$$slots:{default:!0}});var u=zt(d,2),h=e=>{var t=fg(),r=It(t,!0);q(t),er(()=>ko(r,o.error)),Jo(3,t,()=>ia,()=>({})),bo(e,t)};To(u,e=>{o.error&&e(h)});var p=zt(u,2);{let e=Qe(()=>o.loading||i.navigating);pg(p,{class:"w-full",type:"submit",get loading(){return o.loading},get disabled(){return Hr(e)},children:(e,t)=>{K(),bo(e,mo("Login"))},$$slots:{default:!0}})}q(c);var g=zt(c,2);Ci(It(g),"href","https://dash.fubi.dev"),q(g);var f=zt(g,2),m=It(f);q(f),q(l),q(a),no("submit",l,e=>(async e=>{e.preventDefault(),(await o.login(Hr(n),Hr(s))).success&&(pt(n,""),pt(s,""))})(e)),so("click",m,()=>r.hide()),bo(e,a)},$$slots:{default:!0}}),bo(e,a)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(e.auth?.user?{redirect:"folders"}:void 0)},error:{component:function(e,t){ue(t,!0);const{auth:r,error:o,router:i}=dy(),n=()=>{"refresh"===o.current?.action?window.location.reload():"logout"===o.current?.action?i.goto("login",void 0,"back"):"back"===o.current?.action&&i.back("folders")};la(e,{name:"error",children:(e,t)=>{Op(e,{children:(e,t)=>{var r=xw(),i=It(r),s=e=>{var t=yw(),r=It(t),i=It(r);rg(i,{get icon(){return zp},className:"size-42 text-rose-400"});var s=zt(i,2),a=It(s,!0);q(s);var l=zt(s,2);Ho(It(l),()=>o.current?.message),q(l),q(r);var c=zt(r,2),d=It(c),u=e=>{var t=ww(),r=It(t),i=It(r,!0);q(r),rg(zt(r,2),{get icon(){return If},className:"size-14"}),q(t),er(()=>{Ci(r,"href",o.current.link.url),Ci(r,"target",o.current.link.external?"_blank":"_self"),ko(i,o.current.link.label)}),bo(e,t)};To(d,e=>{o.current?.link&&e(u)}),pg(zt(d,2),{class:"w-full",variant:"ghost",onclick:n,children:(e,t)=>{K();var r=mo();er(()=>ko(r,"logout"===o.current?.action?"Log out":"Refresh page")),bo(e,r)},$$slots:{default:!0}}),q(c),q(t),er(()=>ko(a,o.current?.title)),bo(e,t)},a=e=>{Ig(e)};To(i,e=>{o.current?e(s):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}})},$$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}=dy(),a=async(e,t)=>{const r=s?.data?.find(t=>t.id===e);if(r){const e={...r.expand?.folder_notifications_via_folder?.[0]??{},setting:t};r.expand={...r.expand??{},folder_notifications_via_folder:[e]}}await s.setNotification(e,t)};let l=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.total,0)??0),c=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.done,0)??0),d=Qe(()=>0===Hr(l)?0:Math.round(Hr(c)/Hr(l)*100));la(e,{name:"folders",children:(e,t)=>{var u=jm(),h=At(u);{const e=e=>{{let t=Qe(()=>`${Ms}/?redirect=/${o?.current?.slug}/${i?.current?.slug}`);Rg(e,{get href(){return Hr(t)},target:"_blank",get icon(){return If},tooltip:{text:"Manage Folders",align:"end",offset:4}})}};let t=Qe(()=>i?.current?.name||"—");Zg(h,{label:"Folders",get title(){return Hr(t)},after:e,$$slots:{after:!0}})}var p=zt(h,2);{const e=e=>{var t=$m(),r=It(t);Mm(r,{get progress(){return Hr(d)},radius:12,title:"Progress",class:"p-4 pl-6"}),Mm(zt(r,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Sm(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(c)),ko(n,`/${Hr(l)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>i?.current?.name||"–");Op(p,{get title(){return Hr(t)},get progress(){return Hr(d)},popoverContent:e,children:(e,t)=>{wg(e,{children:(e,t)=>{var l=Nm(),c=At(l);Po(c,17,()=>s?.foldersWithStats??[],Ao,(e,t,r)=>{const o=Qe(()=>(e=>{const t=e.expand?.folder_notifications_via_folder?.[0]?.setting;return"all"===t||"important"===t?t:"none"})(Hr(t)));{const i=e=>{var r=Om(),i=At(r),n=It(i);{const e=(e,t)=>{let r=()=>t?.().props;{let t=Qe(()=>{return"all"===(e=Hr(o))?Hf:"important"===e?Nf:Wf;var e});Rg(e,Vi(r,{get icon(){return Hr(t)},tooltip:{text:"Notifications",align:"end",offset:4}}))}};lp(n,{align:"end",origin:"origin-top-right",child:e,children:(e,r)=>{var i=_m(),n=At(i);{let e=Qe(()=>"all"===Hr(o));Qg(n,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"all")})}var s=zt(n,2);{let e=Qe(()=>"important"===Hr(o));Qg(s,{title:"Mentions & replies",get icon(){return Nf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"important")})}var l=zt(s,2);{let e=Qe(()=>"none"===Hr(o));Qg(l,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"none")})}bo(e,i)},$$slots:{child:!0,default:!0}})}q(i);{const e=e=>{var r=Tm(),o=It(r),i=zt(It(o),2),n=It(i);q(i),q(o);var s=zt(o,2),a=zt(It(s),2),l=It(a),c=It(l,!0);q(l);var d=zt(l);q(a),q(s),q(r),er(()=>{ko(n,`${Hr(t).progress??""}%`),ko(c,Hr(t).done),ko(d,`/${Hr(t).total??""} Done`)}),bo(e,r)};np(zt(i,2),{align:"end",tooltipContent:e,children:(e,r)=>{var o=Em(),i=It(o),n=e=>{Cp(e,{})},s=e=>{km(e,{get progress(){return Hr(t).progress},radius:9,stroke:3})};To(i,e=>{100===Hr(t).progress?e(n):e(s,!1)}),q(o),bo(e,o)},$$slots:{tooltipContent:!0,default:!0}})}so("click",i,e=>e.stopPropagation()),so("keydown",i,e=>e.stopPropagation()),bo(e,r)};let l=Qe(()=>Hr(t).description?Hr(t)?.description:null),c=Qe(()=>s.current?.id===Hr(t).id);Og(e,{get title(){return Hr(t).name},get subtitle(){return Hr(l)},get icon(){return Bp},index:r,chevron:!0,get active(){return Hr(c)},onclick:()=>Hr(t)?(e=>{ds(),s.select(e),n.goto("pages")})(Hr(t)):null,after:i,$$slots:{after:!0}})}});var d=zt(c,2),u=e=>{var t=Im();Ig(It(t)),q(t),bo(e,t)},h=e=>{var t=Pm();Pg(zt(At(t),2),{get icon(){return wm},title:"No Folders",height:"min-h-330",children:(e,t)=>{var r=zm(),n=zt(It(r),3),s=e=>{bo(e,mo("Ask your team organizer to create one."))},a=e=>{var t=Am(),r=At(t);K(),er(()=>Ci(r,"href",`${uy}/${o?.current?.slug}/${i?.current?.slug}/folders`)),bo(e,t)};To(n,e=>{"guest"===o?.role?e(s):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}}),bo(e,t)},p=e=>{bo(e,Fm())};To(d,e=>{r?.loading||i?.loading||o?.loading||s?.loading?e(u):s?.loading||0!==s?.data?.length?s?.error&&e(p,2):e(h,1)}),bo(e,l)},$$slots:{default:!0}})},$$slots:{popoverContent:!0,default:!0}})}bo(e,u)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(1===e.folders.data.length?{redirect:"pages"}:void bs())},pages:{component:function(e,t){ue(t,!0);const{can:r,project:o,team:i,folders:n,router:s,domains:a,pages:l}=dy(),c=()=>{ds(),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===Hr(d)?0:Math.round(Hr(u)/Hr(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"===Hr(m)?Hf:"important"===Hr(m)?Nf:Wf);const b=e=>{const t=n.current.id;pt(m,e,!0),n.setNotification(t,e)};la(e,{name:"pages",children:(e,t)=>{var r=ev(),s=At(r);{const e=e=>{var t=Zm(),r=At(t);{let e=Qe(()=>`${Ms}/?redirect=/${i?.current?.slug}/${o?.current?.slug}/${n?.current?.slug}`);Rg(r,{get href(){return Hr(e)},target:"_blank",get icon(){return If},tooltip:{text:"Manage Folder",align:"end",offset:4}})}{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return Hr(v)},get active(){return Hr(f)},tooltip:{text:"Folder Notifications",align:"end",offset:4}}))};lp(zt(r,2),{triggerClass:"",get opened(){return Hr(f)},set opened(e){pt(f,e,!0)},child:e,children:(e,t)=>{var r=Um(),o=At(r);{let e=Qe(()=>"all"===Hr(m));Qg(o,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>b("all")})}var i=zt(o,2);{let e=Qe(()=>"important"===Hr(m));Qg(i,{title:"Mentions & replies",get icon(){return Nf},get checked(){return Hr(e)},onclick:()=>b("important")})}var n=zt(i,2);{let e=Qe(()=>"none"===Hr(m));Qg(n,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(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");Zg(s,{label:"Pages",get title(){return Hr(t)},get onBack(){return Hr(r)},after:e,$$slots:{after:!0}})}var w=zt(s,2);{const e=e=>{var t=Gm(),r=It(t);Mm(r,{get progress(){return Hr(h)},radius:12,title:"Progress",class:"p-4 pl-6"});var o=zt(r,4);Mm(o,{title:"Pages",class:"pt-4 p-6",children:(e,t)=>{var r=qm(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(g)),ko(n,`/${Hr(p)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),Mm(zt(o,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Km(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(u)),ko(n,`/${Hr(d)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>n?.current?.name);Op(w,{get title(){return Hr(t)},get progress(){return Hr(h)},popoverContent:e,children:(e,t)=>{var r=Qm(),o=At(r),i=e=>{wg(e,{children:(e,t)=>{var r=Ym(),o=At(r),i=e=>{{const t=e=>{Rm(e,{progress:0,radius:9,stroke:3})};let r=Qe(()=>l.current?.name);Og(e,{get icon(){return vm},classIcon:"text-white",get title(){return Hr(r)},active:!0,chevron:!0,onclick:c,after:t,$$slots:{after:!0}})}};To(o,e=>{l.isNew&&e(i)}),Po(zt(o,2),17,()=>l.pagesWithStats,Ao,(e,t,r)=>{let o=()=>Hr(t).total,i=()=>Hr(t).pathname;var n=Xm(),s=It(n);{const e=e=>{Rm(e,{get progress(){return Hr(t).progress},get done(){return Hr(t).done},get total(){return o()},radius:9,stroke:3,tabindex:-1})};let n=Qe(()=>i()===a?.url?.pathname?vm:0===o()?bm:vm),l=Qe(()=>i()===a?.url?.pathname?"text-neutral-500":""),d=Qe(()=>i()===a?.url?.pathname);Og(s,{get icon(){return Hr(n)},get classIcon(){return Hr(l)},get title(){return Hr(t).name},get active(){return Hr(d)},chevron:!0,index:r,tabindex:"-1",onclick:c,after:e,$$slots:{after:!0}})}q(n),er(()=>Ci(n,"href",i()===a?.url?.pathname?"#":i())),bo(e,n)}),bo(e,r)},$$slots:{default:!0}})};To(o,e=>{l.ready&&l.valid&&(l.pagesWithStats?.length>0||l.isNew)&&e(i)});var n=zt(o,2),s=e=>{Pg(e,{get icon(){return vm},title:"No Pages",subtitle:"No pages found for this domain."})};To(n,e=>{l.ready&&l.valid&&0===l.pagesWithStats?.length&&!l.isNew&&e(s)});var d=zt(n,2),u=e=>{Pg(e,{get icon(){return gm},title:"Error",subtitle:"Failed to load pages."})};To(d,e=>{l.error&&!l.valid&&e(u)});var h=zt(d,2),p=e=>{var t=Jm();Ig(It(t)),q(t),bo(e,t)};To(h,e=>{l.ready||e(p)}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,r)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(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}=dy();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(()=>Hr(g)||Hr(f)),v=Qe(()=>Hr(m)?"text-rose-400":void 0),b=ut(!1),w=Qe(()=>Hr(m)||Hr(u)?"error":Hr(h)?"warning":c.checks.length?"success":void 0),y=Qe(()=>"success"===Hr(w)?Hp:Ap);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=Qs}=sa(sa({},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:Ws});let C=Qe(()=>a.doneThreads),L=Qe(()=>a.totalThreads),M=Qe(()=>a.progress),S=Qe(()=>l.ready&&l.valid&&!a.search&&(l.isNew||0===a?.sortedThreads?.length));const $=async()=>{o.open("edit-page",{id:l.current?.id})},_=()=>{n.visible?n.hide():n.show()},T=()=>{i.goto("issues")};la(e,{name:"comments",children:(e,t)=>{var o=Yb(),i=At(o);{const e=e=>{var t=Bb(),o=It(t);Rg(o,{get icon(){return nf},get status(){return Hr(w)},get statusIcon(){return Hr(y)},onclick:T});{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return jf},get active(){return Hr(b)}}))};lp(zt(o,2),{get opened(){return Hr(b)},set opened(e){pt(b,e,!0)},child:e,children:(e,t)=>{var o=Vb(),i=At(o);Qg(i,{title:"Edit Page",get icon(){return gf},onclick:$});var s=zt(i,2);{const e=e=>{var t=vo(),r=At(t),o=e=>{var t=Rb();li(t,1,ii(["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=It(t);rg(r,{get icon(){return Ap},className:"size-16"});var o=zt(r);q(t),er(()=>ko(o,` ${Hr(m)??""}`)),bo(e,t)};To(r,e=>{Hr(m)&&e(o)}),bo(e,t)};let t=Qe(()=>!r.openMeta);Qg(s,{title:"Meta Panel",get icon(){return Jf},get iconClass(){return Hr(v)},get active(){return n.visible},get disabled(){return Hr(t)},onclick:_,end:e,$$slots:{end:!0}})}bo(e,o)},$$slots:{child:!0,default:!0}})}q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");Zg(i,{get title(){return Hr(t)},label:"Comments",onBack:"pages",after:e,$$slots:{after:!0}})}var c=zt(i,2);{const e=e=>{var t=Zb(),r=It(t);Mm(r,{get progress(){return Hr(M)},radius:12,title:"Progress",class:"p-4 pl-6"}),Mm(zt(r,4),{title:"Threads",class:"pt-4 p-6",children:(e,t)=>{var r=Ub(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(C)),ko(n,`/${Hr(L)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");Op(c,{get title(){return Hr(t)},get progress(){return Hr(M)},popoverContent:e,children:(e,t)=>{var r=Xb(),o=At(r),i=e=>{var t=Kb();li(t,1,ii(["flex flex-col gap-6 flex-1"]));var r=It(t);Po(r,25,()=>a?.sortedThreads??[],e=>e.id,(e,t)=>{var r=qb(),o=It(r);{let e=Qe(()=>s.mode.selector===Hr(t).selector),r=Qe(()=>a.getThreadInfo(Hr(t).id));nb(o,Vi({get focused(){return Hr(e)}},()=>Hr(t),()=>Hr(r)))}q(r),function(e){var t,r,o,i=(Xo??xr).nodes,n=null;i.a??={element:e,measure(){t=this.element.getBoundingClientRect()},apply(){if(o?.abort(),r=this.element.getBoundingClientRect(),t.left!==r.left||t.right!==r.right||t.top!==r.top||t.bottom!==r.bottom){const e=tv(this.element,{from:t,to:r},{duration:d.android?0:350,easing:Ws});o=Qo(this.element,e,void 0,1,()=>{o?.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:r,width:o,height:i}=getComputedStyle(e);if("absolute"!==r&&"fixed"!==r){var s=e.style;n={position:s.position,width:s.width,height:s.height,transform:s.transform},s.position="absolute",s.width=o,s.height=i;var a=e.getBoundingClientRect();if(t.left!==a.left||t.top!==a.top){var l=`translate(${t.left-a.left}px, ${t.top-a.top}px)`;s.transform=s.transform?`${s.transform} ${l}`:l}}}},unfix(){if(n){var t=e.style;t.position=n.position,t.width=n.width,t.height=n.height,t.transform=n.transform}}},i.a.element=e}(r),Jo(1,r,()=>k,()=>({key:Hr(t).id})),Jo(2,r,()=>x,()=>({key:Hr(t).id})),bo(e,r)},e=>{var t=vo(),r=At(t),o=e=>{{let t=Qe(()=>`No results for: "<strong>${a.search}</strong>"`);Pg(e,{get icon(){return ym},title:"No Results",get subtitle(){return Hr(t)},height:"min-h-120"})}};To(r,e=>{a.search&&e(o)}),bo(e,t)});var o=zt(r,2),i=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");Pg(e,{get icon(){return Rp},title:"No Comments",get subtitle(){return Hr(t)}})}};To(o,e=>{Hr(S)&&e(i)}),Wb(zt(o,2),{}),q(t),Jo(3,t,()=>ia,()=>d.android?void 0:{axis:"y",duration:200}),bo(e,t)},n=e=>{bo(e,Gb())};To(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}=dy();o.register("delete-comment");let i=Qe(()=>o.getData("delete-comment"));{const n=e=>{var r=Mb();(function(e,t){const r=wo();ue(t,!0);let o=Bi(t,"checked",15,!1);var i=Lb(),n=It(i),s=It(n);xi(s),xp(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);li(a,1,ii(["relative flex text-sm/[140%] cursor-pointer rounded-[6px]"]));var l=It(a,!0);q(a),q(i),er(()=>{Ci(s,"id",t.id??r),function(e,t){var r=Mi(e);r.checked!==(r.checked=t??void 0)&&(e.checked=t)}(s,o()),Ci(a,"for",t.id??r),ko(l,t.label)}),so("change",s,e=>{ds();const r=e.target.checked;o(r),t.onchange?.(r)}),bo(e,i),he()})(It(r),{label:"Don't ask me again",get checked(){return t.current.dontAskBeforeDelete},onchange:e=>t.set("dontAskBeforeDelete",e)}),q(r),bo(e,r)};Cb(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=Sb(),s=At(n);pg(s,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("delete-comment"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),pg(zt(s,2),{small:!0,flex:!0,variant:"destructive",onclick:()=>r.deleteComment(Hr(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}=dy();o.register("edit-comment");let i=ut(null),n=ut(""),s=ut(wt([])),a=ut(wt([])),l=ut(0),c=ut(0);Jn(()=>o.modals["edit-comment"],()=>{if(o.modals["edit-comment"]&&(pt(i,o.getData("edit-comment"),!0),Hr(i))){const e=Hr(i).expand?.mentions||[];pt(n,function(e,t){return e?(Array.isArray(e)?e:[]).map(e=>{switch(e.type){case"text":return _v(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">@${_v(o)}</span>`}case"image":return`<img src="${_v(e.src)}" alt="${_v(e.alt||"")}" data-fubi-comment-image />`;case"link":return _v(e.url)}}).join(""):""}(Hr(i).content,e),!0),function(e,t=1){var r=Hr(e);1===t?r++:r--,pt(e,r)}(c)}});const d=Qe(()=>Hr(s).length>0&&Hr(l)<=400),u=async()=>{Hr(i)&&Hr(d)&&await r.editComment(Hr(i).id,{content:Hr(s),mentions:Hr(a)})};{const t=e=>{var t=Pb(),r=At(t),o=e=>{var t=Ab(),r=It(t);{let e=Qe(()=>Hr(i).expand?.createdBy);ov(r,{get created(){return Hr(i).created},get author(){return Hr(e)}})}q(t),bo(e,t)};To(r,e=>{Hr(i)&&e(o)}),Io(zt(r,2),()=>Hr(c),e=>{var t=zb();Ib(It(t),{id:"edit-comment",get initialHtml(){return Hr(n)},get maxLength(){return 400},get content(){return Hr(s)},set content(e){pt(s,e,!0)},get mentions(){return Hr(a)},set mentions(e){pt(a,e,!0)},get charCount(){return Hr(l)},set charCount(e){pt(l,e,!0)}}),q(t),bo(e,t)}),bo(e,t)};Cb(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=Fb(),n=It(i);pg(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(()=>!Hr(d));pg(s,{small:!0,flex:!0,onclick:u,get disabled(){return Hr(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}=dy();r.register("edit-page");let o=ut(wt({})),i=ut(""),n=ut(""),s=Qe(()=>!!Hr(n)&&Hr(n)!==Hr(o).pathname),a=ut(!1);Jn(()=>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,Hr(o)?.name||"",!0),pt(n,Hr(o)?.pathname||"",!0))});const l=async e=>{e.preventDefault(),pt(a,!0);const l=Hr(s);Hr(o)?.id?(await t.update(Hr(o).id,{name:Hr(i),pathname:Hr(n)}),t.current?.id===Hr(o).id&&(t.current={...t.current,name:Hr(i),pathname:Hr(n)})):(await t.registerCurrent(Hr(i)),l&&t.current?.id&&(await t.update(t.current.id,{pathname:Hr(n)}),t.current&&(t.current={...t.current,pathname:Hr(n)}))),pt(a,!1),r.close("edit-page"),l&&(window.location.href=Hr(n))};{const t=e=>{var t=_b(),r=It(t);ha(r,{children:(e,t)=>{lg(e,{name:"page-name",label:"Name",required:!0,get disabled(){return Hr(a)},get value(){return Hr(i)},set value(e){pt(i,e,!0)}})},$$slots:{default:!0}});var o=zt(r,2);ha(o,{children:(e,t)=>{lg(e,{name:"page-url",label:"URL",required:!0,pattern:"/[a-zA-Z0-9\\-._~\\/]*",get disabled(){return Hr(a)},get loading(){return Hr(a)},get value(){return Hr(n)},set value(e){pt(n,e,!0)}})},$$slots:{default:!0}});var c=zt(o,2),d=e=>{var t=$b();Jo(3,t,()=>ia,()=>({axis:"y",duration:400,easing:Ws})),bo(e,t)};To(c,e=>{Hr(s)&&e(d)}),q(t),no("submit",t,l),bo(e,t)};Cb(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=Tb(),i=At(o);pg(i,{small:!0,flex:!0,variant:"ghost",onclick:()=>r.close("edit-page"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),pg(zt(i,2),{small:!0,type:"submit",flex:!0,form:"edit-page-form",get disabled(){return Hr(a)},get loading(){return Hr(a)},children:(e,t)=>{K(),bo(e,mo("Save"))},$$slots:{default:!0}}),bo(e,o)},$$slots:{content:!0,default:!0}})}he()}(h),ub(zt(h,2),{}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,o)},$$slots:{default:!0}}),he()},beforeEnter:Dw},isolation:{component:function(e,t){ue(t,!0);const{hover:r,comments:o,router:i}=dy();la(e,{name:"isolation",children:(e,t)=>{var n=ew(),s=At(n);{const e=e=>{{let t=Qe(()=>r.isolationSelector?document.querySelector(r.isolationSelector):null);Mv(e,{get element(){return Hr(t)},missing:!1,meta:!1})}};Zg(s,{label:"Selection",onBack:()=>(r.dismissIsolation(),void i.goto("comments",{direction:"back"})),after:e,$$slots:{after:!0}})}Op(zt(s,2),{children:(e,t)=>{var i=Qb(),n=At(i),s=It(n);Po(s,17,()=>o?.isolatedThreads??[],e=>e.id,(e,t)=>{{let i=Qe(()=>o.getThreadInfo(Hr(t).id));nb(e,Vi({get focused(){return r.isIsolated}},()=>Hr(t),()=>Hr(i)))}});var a=zt(s,2),l=e=>{Pg(e,{get icon(){return Rp},title:"No Comments",subtitle:"Add comments to this element.",height:"min-h-400"})};To(a,e=>{0===o?.isolatedThreads?.length&&e(l)});var c=zt(a,2);{let e=Qe(()=>o.threads.filter(e=>e.selector===r.isolationSelector));Wb(c,{get threads(){return Hr(e)}})}q(n),ub(zt(n,2),{}),bo(e,i)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e?.hover?.isIsolated?void 0:{redirect:"comments"})},meta:{component:function(e,t){ue(t,!0);const{pages:r,meta:o,comments:i}=dy();la(e,{name:"meta",children:(e,t)=>{var n=rw(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");Zg(s,{label:"Meta",get title(){return Hr(e)},onBack:()=>{o.hide()}})}Op(zt(s,2),{children:(e,t)=>{var r=tw(),o=At(r);li(o,1,ii(["flex flex-col gap-6 flex-1"]));var n=It(o);Po(n,17,()=>i?.metaThreads??[],e=>e.id,(e,t)=>{{let r=Qe(()=>i.getThreadInfo(Hr(t).id));nb(e,Vi(()=>Hr(t),()=>Hr(r)))}});var s=zt(n,2),a=e=>{Pg(e,{get icon(){return Rp},title:"No Meta Comments",subtitle:"Add comments to meta fields."})};To(s,e=>{0===i?.metaThreads?.length&&e(a)});var l=zt(s,2);{let e=Qe(()=>i.threads.filter(e=>e.info?.meta));Wb(l,{get threads(){return Hr(e)}})}q(o),ub(zt(o,2),{}),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e?.meta?.visible?void 0:{redirect:"comments"})},thread:{component:function(e,t){ue(t,!0);const{hover:r,router:o,comments:i}=dy();let n=ut(!1),s=Qe(()=>"all"===i.threadNotificationSetting?Hf:Wf);const a=e=>{const t=i.activeThreadId;t&&(i.threadNotificationSetting=e,i.setNotification(t,e))},l=async()=>{await navigator.clipboard.writeText(window.location.href)};la(e,{name:"thread",children:(e,t)=>{var c=bw(),d=At(c);{const e=e=>{var t=fw(),r=At(t);Rg(r,{get icon(){return kg},onclick:l});{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return Hr(s)},get active(){return Hr(n)}}))};lp(zt(r,2),{triggerClass:"",class:"min-w-200",get opened(){return Hr(n)},set opened(e){pt(n,e,!0)},child:e,children:(e,t)=>{var r=gw(),o=At(r);{let e=Qe(()=>"all"===i.threadNotificationSetting);Qg(o,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>a("all")})}var n=zt(o,2);{let e=Qe(()=>"none"===i.threadNotificationSetting);Qg(n,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(e)},onclick:()=>a("none")})}bo(e,r)},$$slots:{child:!0,default:!0}})}bo(e,t)};Zg(d,{label:"Thread",onBack:()=>(async()=>{const e="isolation"===o.previous;i.setActiveThread(null),ws(),o.back("comments"),e||r.dismissIsolation()})(),after:e,$$slots:{after:!0}})}Op(zt(d,2),{padding:"h-full flex-col-reverse overflow-y-scroll",children:(e,t)=>{var r=vw(),o=At(r);pw(It(o),{id:"reply",get parent(){return i.activeThreadId}}),q(o);var n=zt(o,4),s=It(n),a=e=>{nb(e,Vi(()=>i.activeThread,{replyThread:!0}))},l=e=>{var t=mw(),r=It(t);Ig(It(r)),q(r),q(t),bo(e,t)};To(s,e=>{i.activeThread?e(a):e(l,!1)}),Po(zt(s,2),19,()=>i.activeThreadReplies,e=>e.id,(e,t,r)=>{nb(e,Vi({reply:!0},()=>Hr(t),{get index(){return Hr(r)}}))}),q(n),bo(e,r)},$$slots:{default:!0}}),bo(e,c)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e.comments.activeThreadId?void 0:(bs()?.[1]||ws(),{redirect:"comments"}))},issues:{component:function(e,t){ue(t,!0);const{pages:r,analysis:o}=dy(),i={seo:"SEO & Accessibility",html:"HTML Quality",performance:"Performance",security:"Security",content:"Content"},n={seo:Gf,html:cf,performance:pf,security:qf,content:cm},s={title:bf,description:em,"og-image":Yf,favicon:vf,lang:Sf,"h1-missing":bf,"h1-multiple":bf,"h1-ok":bf,"heading-hierarchy":wf,"heading-empty":wf,"img-alt-missing":yf,"img-alt-ok":yf,"button-empty":om,"link-empty":Ef,"form-labels":Mf,"duplicate-ids":hf,deprecated:cf,"inline-handlers":Jf,"empty-href":hm,viewport:Zf,"img-dimensions":Cf,"blocking-scripts":ff,"mixed-content":Kf,"target-blank":im,"form-http":Pf,"lorem-ipsum":cm,"broken-anchors":ef,"todo-visible":lf};function a(e){return s[e.id]?s[e.id]:e.id.startsWith("duplicate-id-")?hf:e.id.startsWith("deprecated-")?cf:n[e.category]??Gf}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(()=>Hr(c).reduce((e,t)=>(e[t.category]||(e[t.category]=[]),e[t.category].push(t),e),{})),h=Qe(()=>Hr(l).fail>0?"border-rose-500/30 bg-rose-500/5":Hr(l).warn>0?"border-orange-500/30 bg-orange-500/5":"border-green-500/30 bg-green-500/5"),p=Qe(()=>Hr(l).fail>0?zp:Hr(l).warn>0?Ip:Hp),g=Qe(()=>Hr(l).fail>0?"text-rose-400":Hr(l).warn>0?"text-orange-400":"text-green-400"),f=Qe(()=>()=>{if(0===Hr(c).length)return"All checks passed — looking good";const e=[];return Hr(l).fail>0&&e.push(`${Hr(l).fail} error${Hr(l).fail>1?"s":""}`),Hr(l).warn>0&&e.push(`${Hr(l).warn} issues${Hr(l).warn>1?"s":""}`),`Found ${e.join(" and ")}`});let m=ut(wt(/* @__PURE__ */new Set)),b=ut(!1);var w=Aw(),y=At(w);la(y,{name:"issues",children:(e,t)=>{var n=Iw(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");Zg(s,{label:"Issues",get title(){return Hr(e)},onBack:"comments"})}Op(zt(s,2),{children:(e,t)=>{var r=vo(),n=At(r),s=e=>{var t=kw();Ig(It(t)),K(2),q(t),bo(e,t)},w=e=>{var t=Ow(),r=At(t),o=e=>{var t=Cw(),r=It(t);rg(r,{get icon(){return Hr(p)},get className(){return`size-24 shrink-0 ${Hr(g)??""}`}});var o=zt(r,2),i=It(o,!0);q(o),q(t),er(e=>{li(t,1,`w-full flex items-center gap-8 p-10 mb-16 rounded-2xl superellipse border-[0.5px] ${Hr(h)??""}`),ko(i,e)},[()=>Hr(f)()]),bo(e,t)};To(r,e=>{Hr(c).length>0&&e(o)});var n=zt(r,2);Po(n,17,()=>Object.entries(Hr(u)),Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2));let o=()=>Hr(r)[1];var n=Tw(),s=It(n);Bm(s,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,i[Hr(r)[0]])),bo(e,o)},$$slots:{default:!0}}),wg(zt(s,2),{children:(e,t)=>{var r=vo();Po(At(r),19,o,e=>e.id,(e,t,r)=>{var o=_w(),i=It(o);{const e=e=>{var r=vo(),o=At(r),i=e=>{var t=Lw();rg(It(t),{get icon(){return Jf},className:"size-24 touch:size-28 shrink-0 text-neutral-500"}),q(t),bo(e,t)},n=e=>{var r=Mw(),o=It(r);{let e=Qe(()=>Hr(m).has(Hr(t).id)?"-rotate-180":"");rg(o,{get icon(){return Pp},get className(){return`size-20 text-neutral-500 transition-transform ${Hr(e)??""}`}})}q(r),bo(e,r)};To(o,e=>{Hr(t).action?e(i):Hr(t).elements?.length&&e(n,1)}),bo(e,r)};let o=Qe(()=>Hr(t).message||null),n=Qe(()=>a(Hr(t))),s=Qe(()=>"fail"===Hr(t).status?"!text-rose-400":"warn"===Hr(t).status?"!text-orange-400":""),l=Qe(()=>!(!Hr(t).elements?.length||!Hr(m).has(Hr(t).id))||null),c=Qe(()=>Hr(t).action?()=>Hr(t).action?.():Hr(t).elements?.length?()=>{return e=Hr(t).id,Hr(m).has(e)?Hr(m).delete(e):Hr(m).add(e),void pt(m,new Set(Hr(m)),!0);var e}:null);Og(i,{get title(){return Hr(t).label},get subtitle(){return Hr(o)},get icon(){return Hr(n)},get classIcon(){return Hr(s)},get active(){return Hr(l)},get onclick(){return Hr(c)},get index(){return Hr(r)},after:e,$$slots:{after:!0}})}var n=zt(i,2),s=e=>{var r=$w();Po(r,21,()=>Hr(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}>`}(Hr(t))),o=Qe(()=>({current:null}));var i=Sw(),n=It(i),s=It(n,!0);q(n),ji(n,(e,t)=>t.current=e,e=>e?.current,()=>[Hr(o)]),Mv(zt(n,2),{get element(){return Hr(t)},get anchorEl(){return Hr(o).current}}),q(i),er(()=>ko(s,Hr(r))),bo(e,i)}),q(r),Jo(3,r,()=>ia,()=>({duration:150})),bo(e,r)},l=Qe(()=>Hr(t).elements?.length&&Hr(m).has(Hr(t).id));To(n,e=>{Hr(l)&&e(s)}),q(o),Jo(3,o,()=>ia,()=>({duration:150})),bo(e,o)}),bo(e,r)},$$slots:{default:!0}}),q(n),Jo(3,n,()=>ia,()=>({duration:200})),bo(e,n)});var s=zt(n,2),w=e=>{var t=Ew(),r=It(t);rg(r,{get icon(){return Hp},className:"size-24 shrink-0 text-green-400"});var o=zt(r,2),i=It(o);q(o),q(t),er(()=>ko(i,`${Hr(l).pass??""} check${Hr(l).pass>1?"s":""} passed`)),so("click",t,()=>pt(b,!0)),bo(e,t)};To(s,e=>{Hr(d).length>0&&e(w)}),bo(e,t)};To(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=>{wg(e,{class:"",children:(e,t)=>{var r=vo();Po(At(r),17,()=>Hr(d),Ao,(e,t,r)=>{{let o=Qe(()=>Hr(t).message||null),i=Qe(()=>a(Hr(t)));Og(e,{get title(){return Hr(t).label},get subtitle(){return Hr(o)},get icon(){return Hr(i)},index:r})}}),bo(e,r)},$$slots:{default:!0}})};Cb(zt(y,2),{title:"Passed checks",get open(){return Hr(b)},set open(e){pt(b,e,!0)},content:e,$$slots:{content:!0}})}bo(e,w),he()},beforeEnter:Dw},settings:{component:function(e,t){ue(t,!0);const{router:r,settings:o}=dy(),i=Object.entries(o.groups).filter(([e,t])=>!1!==t.visible);la(e,{name:"settings",children:(e,t)=>{var n=Fw(),s=At(n);Zg(s,{label:"Settings",onBack:()=>r.back("comments")}),Op(zt(s,2),{title:"Settings",children:(e,t)=>{var r=Pw(),n=At(r);Po(n,17,()=>i,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2)),i=zw(),n=At(i);Bm(n,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,Hr(r)[1].title)),bo(e,o)},$$slots:{default:!0}}),wg(zt(n,2),{class:"mb-16",children:(e,t)=>{var i=vo();Po(At(i),17,()=>o.schema.filter(e=>e.group===Hr(r)[0]),Ao,(e,t)=>{{const r=e=>{var r=vo(),i=At(r),n=e=>{ab(e,{get checked(){return o.current[Hr(t).key]},onchange:e=>o.set(Hr(t).key,e)})};To(i,e=>{"boolean"===Hr(t).type&&e(n)}),bo(e,r)};Og(e,{icon:null,get title(){return Hr(t).label},after:r,$$slots:{after:!0}})}}),bo(e,i)},$$slots:{default:!0}}),bo(e,i)});var s=zt(n,2);It(s).textContent="v1.0.0-beta.80",q(s),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:Dw}},Ww=class e extends ss{#Ki=ut(wt(Hw));get routes(){return Hr(this.#Ki)}set routes(e){pt(this.#Ki,e,!0)}#Gi=ut(!1);get navigating(){return Hr(this.#Gi)}set navigating(e){pt(this.#Gi,e,!0)}#Xi=ut("forward");get direction(){return Hr(this.#Xi)}set direction(e){pt(this.#Xi,e,!0)}#Yi=ut(null);get previous(){return Hr(this.#Yi)}set previous(e){pt(this.#Yi,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ji=ut(null);get next(){return Hr(this.#Ji)}set next(e){pt(this.#Ji,e,!0)}transitionTimeout=null;get containerEl(){return this.modules.environment.touch?this.modules.sheet.el:this.modules.win.el}#Qi=ut(!1);get hasAutoNavigatedToComments(){return Hr(this.#Qi)}set hasAutoNavigatedToComments(e){pt(this.#Qi,e,!0)}#en=Qe(()=>this.navigating?"forward"===this.direction?this.next:this.previous:this.current);get nextCurrent(){return Hr(this.#en)}set nextCurrent(e){pt(this.#en,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")}this.validateCurrentRoute()}),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("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("hover:isolation-dismiss",()=>{"isolation"!==this.nextCurrent&&"thread"!==this.nextCurrent||this.goto("comments",void 0,"back",{instant:!0})}),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:Ms,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")}},Rw={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"},Vw=class extends ss{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]"];#tn=ut(!1);get emptyHover(){return Hr(this.#tn)}set emptyHover(e){pt(this.#tn,e,!0)}#rn=ut(wt({x:window.scrollX,y:window.scrollY}));get scroll(){return Hr(this.#rn)}set scroll(e){pt(this.#rn,e,!0)}#on=ut(wt({x:0,y:0}));get mouse(){return Hr(this.#on)}set mouse(e){pt(this.#on,e,!0)}#in=ut(!1);get insideFubi(){return Hr(this.#in)}set insideFubi(e){pt(this.#in,e,!0)}#nn=ut(!1);get cmdPressed(){return Hr(this.#nn)}set cmdPressed(e){pt(this.#nn,e,!0)}#_e=ut(!1);get isScrolling(){return Hr(this.#_e)}set isScrolling(e){pt(this.#_e,e,!0)}#sn=ut(!1);get isResizing(){return Hr(this.#sn)}set isResizing(e){pt(this.#sn,e,!0)}#an=ut(wt({x:0,y:0}));get pinPos(){return Hr(this.#an)}set pinPos(e){pt(this.#an,e,!0)}#ln=ut(null);get relativePos(){return Hr(this.#ln)}set relativePos(e){pt(this.#ln,e,!0)}#cn=ut(wt({type:"disabled"}));get mode(){return Hr(this.#cn)}set mode(e){pt(this.#cn,e,!0)}scrollEndTimeout=null;#dn=ut(!1);get highlightVisible(){return Hr(this.#dn)}set highlightVisible(e){pt(this.#dn,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 Hr(this.#ae)}set current(e){pt(this.#ae,e)}#un=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 Hr(this.#un)}set info(e){pt(this.#un,e)}#hn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type);get isIsolated(){return Hr(this.#hn)}set isIsolated(e){pt(this.#hn,e)}#pn=ut(!1);get highlightInstant(){return Hr(this.#pn)}set highlightInstant(e){pt(this.#pn,e,!0)}#gn=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 Hr(this.#gn)}set highlightCoords(e){pt(this.#gn,e)}#fn=Qe(()=>{const e=this.info?.meta||this.info?.tag;return e?pv[e.toLowerCase()]||{name:e,icon:gv.icon}:gv});get tagInfo(){return Hr(this.#fn)}set tagInfo(e){pt(this.#fn,e)}#mn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type?this.mode.selector:null);get isolationSelector(){return Hr(this.#mn)}set isolationSelector(e){pt(this.#mn,e)}highlightPos=new Ns(this.highlightCoords,{stiffness:.08,damping:.5});#Yi=ut(null);get previous(){return Hr(this.#Yi)}set previous(e){pt(this.#Yi,e,!0)}hoverTimeout=null;#vn=ut(!1);get ignoreNextClick(){return Hr(this.#vn)}set ignoreNextClick(e){pt(this.#vn,e,!0)}#bn=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 Hr(this.#bn)}set hoverSelector(e){pt(this.#bn,e)}#wn=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 Hr(this.#wn)}set highlightColor(e){pt(this.#wn,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(),ws(),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.modules.modals.anyOpen||this.modules.win.uiOpened||this.modules.sheet.uiOpened||this.dismissIsolation()}),Kt(()=>{this.isScrolling?this.modules.dom.addClass("fubi-scrolling"):this.modules.dom.removeClass("fubi-scrolling")}),Kt(()=>{this.highlightPos.set(this.highlightCoords,{instant:Vr(()=>this.highlightInstant)})})}enable(){this.can.enableHover?(ds(),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.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.modules.dom.scroll.disable(),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.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)?.info?.meta?this.modules.toolbar.wrapper:document)?.querySelector(t)??null;r&&this.isolate(r,{type:"replying"});const o=this.modules.folders.current?.id;o&&(function(...e){const t=new URL(window.location.href);t.searchParams.set("fubi",e.join(".")),window.history.replaceState({},"",t)}(o,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"))}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("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){if(r&&(this.insideFubi=this.can.ignoreHoverTarget(t)),("isolated"===this.mode.type||"replying"===this.mode.type)&&this.can.dismissIsolation&&!this.insideFubi)return e.preventDefault(),e.stopPropagation(),this.mouse={x:e.clientX,y:e.clientY},this.dismissIsolation(),ws(),void this.modules.router.goto("comments",void 0,"back");this.enabled?this.insideFubi||(e.preventDefault(),e.stopPropagation(),r?this.handleHoverElement(t,0):"tracking"===this.mode.type&&this.can.isolateFromHover&&this.isolateFromHover(this.mode.element)):"tracking"!==this.mode.type||this.insideFubi||(e.preventDefault(),e.stopPropagation(),this.highlightVisible=!1,this.mode={type:"disabled"})}}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)}},Bw=po('<img draggable="false"/>'),Uw=po('<div data-fubi-pin="" data-fubi-hide-all="" class="fubi-pin"><button class="fubi-pin-wrapper"><div class="fubi-pin-card"><div class="fubi-pin-inner"><div class="fubi-pin-header"><!> <div class="fubi-pin-meta"><span class="fubi-pin-author"> </span> <span class="fubi-pin-time"> </span></div></div> <p class="fubi-pin-text"> </p></div></div></button></div>');function Zw(e,t){ue(t,!0);const r=Qe(()=>t.author?ps({...t.author,collectionName:"users"},"avatar"):null),o=Qe(()=>Hr(r)?Hr(r)+"?thumb=64x64":null),i=Qe(()=>t.author&&(t.author.firstName||t.author.name||t.author.email)||""),n=Qe(()=>ms(new Date(t.created)));var s=Uw(),a=It(s),l=It(a),c=It(l),d=It(c),u=It(d),h=e=>{var t=Bw();er(()=>{Ci(t,"src",Hr(o)),Ci(t,"alt",Hr(i))}),bo(e,t)};To(u,e=>{Hr(o)&&e(h)});var p=zt(u,2),g=It(p),f=It(g,!0);q(g);var m=zt(g,2),v=It(m,!0);q(m),q(p),q(d);var b=zt(d,2),w=It(b,!0);q(b),q(c),q(l),q(a),q(s),er(()=>{di(s,`position:fixed; position-anchor:${t.anchorName??""}; top:calc(anchor(top) + (anchor(bottom) - anchor(top)) * ${t.ry??""}); left:calc(anchor(left) + (anchor(right) - anchor(left)) * ${t.rx??""}); translate:-50% -50%;`),ko(f,Hr(i)),ko(v,Hr(n)),ko(w,t.preview)}),so("click",a,e=>{e.stopPropagation(),t.onclick()}),Jo(3,s,()=>na,()=>({duration:150})),bo(e,s),he()}ao(["click"]);var qw=class extends as{name="comments";expand="createdBy,mentions,thread_notifications_via_comment";sort="-created";#yn=ut(0);get domTick(){return Hr(this.#yn)}set domTick(e){pt(this.#yn,e,!0)}supportsAnchor=CSS.supports("anchor-name","--test");pins=/* @__PURE__ */new Map;anchorNames=/* @__PURE__ */new Map;#xn=Qe(()=>this.data.filter(e=>!e.parent));get allThreads(){return Hr(this.#xn)}set allThreads(e){pt(this.#xn,e)}#kn=Qe(()=>this.allThreads.filter(e=>e.page===this.modules.pages.current?.id).sort((e,t)=>t.created.localeCompare(e.created)));get threads(){return Hr(this.#kn)}set threads(e){pt(this.#kn,e)}#Cn=Qe(()=>{const e=/* @__PURE__ */new Map;return this.threads.forEach(t=>{const r=t.selector;r&&(e.has(r)||e.set(r,[]),e.get(r).push(t))}),e});get grouped(){return Hr(this.#Cn)}set grouped(e){pt(this.#Cn,e)}#cr=ut("");get search(){return Hr(this.#cr)}set search(e){pt(this.#cr,e,!0)}#Ln=Qe(()=>{let e=this.threads;if(this.modules.meta.visible&&(e=e.filter(e=>e.info?.meta)),this.search.trim()){const t=this.search.trim().toLowerCase();e=e.filter(e=>{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)})}if(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 Hr(this.#Ln)}set filteredThreads(e){pt(this.#Ln,e)}#Mn=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 Hr(this.#Mn)}set sortedThreads(e){pt(this.#Mn,e)}#Sn=Qe(()=>this.sortedThreads.filter(e=>!e.done));get threadsTodo(){return Hr(this.#Sn)}set threadsTodo(e){pt(this.#Sn,e)}#$n=Qe(()=>this.sortedThreads.filter(e=>e.done));get threadsDone(){return Hr(this.#$n)}set threadsDone(e){pt(this.#$n,e)}#_n=Qe(()=>this.threads.length);get totalThreads(){return Hr(this.#_n)}set totalThreads(e){pt(this.#_n,e)}#Tn=Qe(()=>this.threads.filter(e=>!!e.done).length);get doneThreads(){return Hr(this.#Tn)}set doneThreads(e){pt(this.#Tn,e)}#Oe=Qe(()=>this.totalThreads>0?Math.round(this.doneThreads/this.totalThreads*100):0);get progress(){return Hr(this.#Oe)}set progress(e){pt(this.#Oe,e)}#En=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 Hr(this.#En)}set pageStats(e){pt(this.#En,e)}#On=Qe(()=>this.sortedThreads.filter(e=>this.modules.hover.isIsolated&&e.selector===this.modules.hover.isolationSelector));get isolatedThreads(){return Hr(this.#On)}set isolatedThreads(e){pt(this.#On,e)}#In=Qe(()=>this.sortedThreads.filter(e=>e.info?.meta));get metaThreads(){return Hr(this.#In)}set metaThreads(e){pt(this.#In,e)}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}}#An=ut(null);get activeThreadId(){return Hr(this.#An)}set activeThreadId(e){pt(this.#An,e,!0)}#zn=Qe(()=>this.threads.find(e=>e.id===this.activeThreadId)??null);get activeThread(){return Hr(this.#zn)}set activeThread(e){pt(this.#zn,e)}#Pn=ut("none");get threadNotificationSetting(){return Hr(this.#Pn)}set threadNotificationSetting(e){pt(this.#Pn,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"}#Fn=Qe(()=>[...this.data.filter(e=>e.parent===this.activeThreadId)].sort((e,t)=>e.created.localeCompare(t.created)));get activeThreadReplies(){return Hr(this.#Fn)}set activeThreadReplies(e){pt(this.#Fn,e)}#Nn=ut(wt(/* @__PURE__ */new Map));get bindings(){return Hr(this.#Nn)}set bindings(e){pt(this.#Nn,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||(ws(),this.setActiveThread(null),this.modules.hover.dismissIsolation(),this.modules.router.goto("comments",void 0,"back"))}start(){Jn(()=>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;let n=null,s=!1,a=!1;i&&(n=i.querySelector(r)),n?o||(a=!n.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})):s=!0,e.set(r,{selector:r,element:n,threadIds:t.map(e=>e.id),missing:s,hidden:a})});const t=[];this.bindings.forEach((r,o)=>{e.has(o)||(r.element&&delete r.element.dataset.fubiThreads,t.push(o))}),t.length>0&&this.modules.elements.unwatch(t),this.bindings=e}),Jn(()=>this.modules.meta.visible,()=>{this.domTick++,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.keys()].filter(Boolean);this.modules.elements.watch(e);const t=bs()?.[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(!this.can.createComment)return;const s=this.modules?.hover?.mode,a=s&&"selector"in s?s.selector:void 0;if(!a)return void this.log.error("Cannot submit comment: No selector");!t&&this.modules.pages.isNew&&await this.modules.pages.registerCurrent();const l=this.modules.media.getFilesForUpload(),c=this.modules.hover.relativePos,d={page:this.modules.pages.current.id,parent:t,selector:a,content:r,mentions:o,priority:i,info:{...n,relativeX:c?.x??null,relativeY:c?.y??null},createdBy:this.modules.auth.user.id};try{if(l.length>0){const e=new FormData;for(const[t,r]of Object.entries(d))null!=r&&""!==r&&e.append(t,"string"==typeof r?r:JSON.stringify(r));for(const t of l)e.append("media",t);await this.pb.create(e)}else await this.pb.create(d)}catch(u){return this.log.error("Failed to create comment:",u),void this.checkAuthOnError(u)}this.modules.media.clear(),this.emit("comments:created",{data:d})}),this.on("comments:created",({data:e})=>{this.modules.inputs.reset("new-comment"),this.modules.inputs.clear("reply"),e.parent||(this.modules.inputs.hide("new-comment"),this.modules.hover.isIsolated&&this.modules.hover.dismissIsolation(),this.populate())}),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)?.selector;if(await this.pb.delete(e),!t)return;const r=this.data.filter(r=>r.selector===t&&r.id!==e&&!r.parent).length>0;if(!r){const e=this.bindings.get(t);e?.element&&delete e.element.dataset.fubiThreads,this.modules.elements.unwatch([t])}"thread"!==this.modules.router.current&&"isolation"!==this.modules.router.current||r||(ws(),("isolation"!==this.modules.router.previous||r)&&this.modules.hover.dismissIsolation(),r?this.modules.router.back("comments"):this.modules.router.goto("comments",void 0,"back"))}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.keys()];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;this.bindings.forEach(r=>{if(!r.element)return;const o=r.threadIds.filter(e=>this.filteredThreads.some(t=>t.id===e));if(o.length>0){if(r.element.dataset.fubiThreads=o.join(","),r.element.style.setProperty("--fubi-el-w",`${r.element.offsetWidth}px`),this.supportsAnchor){let i=this.anchorNames.get(r.selector);i||(i=`--fubi-${o[0]}`,this.anchorNames.set(r.selector,i)),r.element.style.setProperty("anchor-name",i),e.add(r.selector);for(const e of o){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,120):"",c=o.created??"";t.add(e),this.mountPin(e,r.selector,i,a,l,c,n,s)}}}else delete r.element.dataset.fubiThreads,r.element.style.removeProperty("anchor-name")});for(const r of[...this.pins.keys()])t.has(r)||this.unmountPin(r);for(const r of[...this.anchorNames.keys()])e.has(r)||this.anchorNames.delete(r);this.ready=!0,this.emit("comments:populated")}mountPin(e,t,r,o,i,n,s,a){const l=o?.id??"",c=this.pins.get(e);if(c){if(c.authorId===l&&c.preview===i&&c.anchorName===r&&c.rx===s&&c.ry===a)return;this.unmountPin(e)}const d=document.createElement("div");document.body.appendChild(d);const u=this.bindings.get(t),h=Co(Zw,{target:d,props:{author:o,preview:i,created:n,anchorName:r,rx:s,ry:a,onclick:()=>{u?.element&&(this.setActiveThread(e),this.modules.hover.isolate(u.element,{scroll:!0}),this.modules.router.goto("isolation"))}}});this.pins.set(e,{component:h,target:d,authorId:l,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){if(!e.selector)return{missing:!1,hidden:!1};const t=this.bindings.get(e.selector);return{missing:t?.missing??!0,hidden:t?.hidden??!1}}},Kw=class extends as{name="domains";sort="-updated";#nt=ut(null);get url(){return Hr(this.#nt)}set url(e){pt(this.#nt,e,!0)}initialized=!1;#ae=Qe(()=>{const e=this.url?.origin;return e&&this.data.find(t=>t.origin===e)||null});get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e)}#jn=Qe(()=>this.data.find(e=>e.active)||null);get activeDomain(){return Hr(this.#jn)}set activeDomain(e){pt(this.#jn,e)}#Dn=Qe(()=>this.activeDomain?.origin===this.url?.origin);get isActive(){return Hr(this.#Dn)}set isActive(e){pt(this.#Dn,e)}#Hn=Qe(()=>null!==this.activeDomain&&!this.isActive);get blocked(){return Hr(this.#Hn)}set blocked(e){pt(this.#Hn,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.on("auth:login",()=>{this.log.info(`auth:login received, activeDomain: ${this.activeDomain}, current: ${this.current}, data: ${this.data.length}`),!this.activeDomain&&this.current&&this.activate()}),this.getUrl()}async check(){const e=this.url?.origin;if(e){if(this.current?this.log.info(`Domain already registered: ${this.current.origin}, ID: ${this.current.id}`):await this.register(),this.blocked)return this.log.error(`Fubi blocked: active domain is ${this.activeDomain.origin}, but current origin is ${e}`),void this.emit("domains:blocked",{activeDomain:this.activeDomain,currentOrigin:e});this.modules.auth.user&&(this.activeDomain?this.log.ok(`Current domain is active: ${this.activeDomain.origin}`):await this.activate())}}async register(){const e=this.url?.origin;if(!e)return;const{favicon:t,shareImage:r,touchicon:o}=this.modules.meta,i={favicon:t,shareImage:r,touchicon:o},[n,s]=await gs(this.pb.create({project:this.modules.project.id,origin:e,dev:!1,active:!1,meta:i,favicon:null,shareimage:null,touchicon:null}));if(n)return"status"in n&&400===n.status?(this.log.info(`Domain already exists for ${e}, re-fetching`),void(await this.fetch({filter:`project = "${this.modules.project.id}"`}))):void this.track("error","Failed to register domain",{error:n.message,origin:e});this.data=[...this.data,s],this.log.ok(`Domain registered: ${e}`),this.emit("domains:registered",{domain:s})}async activate(){if(!this.current)return void this.log.error("No current domain to activate");if(this.current.active)return void this.log.info("Domain already active:",this.current.origin);if(this.activeDomain&&this.activeDomain.id!==this.current.id)return void this.log.error("Another domain is already active:",this.activeDomain.origin);const[e]=await gs(this.pb.update(this.current.id,{active:!0}));e?this.log.error("Failed to activate domain:",e.message):(this.data=this.data.map(e=>e.id===this.current.id?{...e,active:!0}:e),this.log.ok("Domain activated:",this.current.origin),this.emit("domains:activated",{domain:this.current}))}async getMetaImageFiles(){const e=this.modules.meta.favicon,t=this.modules.meta.shareImage,r=this.modules.meta.touchicon,[o,i,n]=await Promise.all([e?vs(e):null,t?vs(t):null,r?vs(r):null]);return!o&&e&&this.log.error("Failed to download favicon:",e),!i&&t&&this.log.error("Failed to download share image:",t),!n&&r&&this.log.error("Failed to download touchicon:",r),{favicon:o,shareimage:i,touchicon:n}}getUrl(){this.url=new URL(window.location.href)}},Gw=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"]),Xw=class extends ss{offset=4;forbiddenTags=["html","body","script","style","link","meta","title","head","path"];pathCache=/* @__PURE__ */new WeakMap;#Wn=ut(wt({width:0,height:0}));get bodyDimensions(){return Hr(this.#Wn)}set bodyDimensions(e){pt(this.#Wn,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){for(const t of e)t&&(this.watchedSelectors.add(t),document.querySelectorAll(t).forEach(e=>this.observeElement(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:Gw.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=t>1?`:nth-of-type(${t})`:"";r.unshift(`${e}${i}`),o=o.parentElement}const i=r.join(" > ");return this.pathCache.set(e,i),i}getNthOfTypeIndex(e,t){let r=1,o=e.previousElementSibling;for(;o;)this.getTag(o)===t&&r++,o=o.previousElementSibling;return r}resolveTag(e){const t=e.tagName.toLowerCase(),r=e.getAttribute("data-fubi-meta");return r?pv[r.toLowerCase()]||{name:r.charAt(0).toUpperCase()+r.slice(1).toLowerCase(),icon:gv.icon}:pv[t]||gv}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)}},Yw=class extends ss{#Ge=ut(!1);get opened(){return Hr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#Rn=ut(null);get type(){return Hr(this.#Rn)}set type(e){pt(this.#Rn,e,!0)}#Vn=ut("");get query(){return Hr(this.#Vn)}set query(e){pt(this.#Vn,e,!0)}#Bn=ut(0);get selectedIndex(){return Hr(this.#Bn)}set selectedIndex(e){pt(this.#Bn,e,!0)}#Un=ut(null);get anchorElement(){return Hr(this.#Un)}set anchorElement(e){pt(this.#Un,e,!0)}#Zn=ut(wt([]));get items(){return Hr(this.#Zn)}set items(e){pt(this.#Zn,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()}},Jw=Zn("bus"),Qw=class extends ss{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:")||Jw.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){Jw.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(){Jw.info("Registered events:",Array.from(this.handlers.entries()).map(([e,t])=>`${e}: ${Array.from(t).map(e=>e.listener).join(", ")}`))}},ey=class extends ss{#Kt=ut(!1);get enabled(){return Hr(this.#Kt)}set enabled(e){pt(this.#Kt,e,!0)}cornerRadius=6;fromEl=null;toEl=null;#qn=ut(wt({x:0,y:0,w:0,h:0}));get from(){return Hr(this.#qn)}set from(e){pt(this.#qn,e,!0)}#Kn=ut(wt({x:0,y:0,w:0,h:0}));get to(){return Hr(this.#Kn)}set to(e){pt(this.#Kn,e,!0)}#Gn=ut(wt({point:"border",offset:0}));get fromAnchor(){return Hr(this.#Gn)}set fromAnchor(e){pt(this.#Gn,e,!0)}#Xn=ut(wt({point:"border",offset:0}));get toAnchor(){return Hr(this.#Xn)}set toAnchor(e){pt(this.#Xn,e,!0)}#Yn=Qe(()=>{const e=this.from.x+this.from.w/2,t=this.from.y+this.from.h/2,r=this.to.x+this.to.w/2,o=this.to.y+this.to.h/2,i=e-r,n=t-o,s=Math.abs(i)>Math.abs(n);let a,l,c,d;"center"===this.toAnchor.point?(a=r,l=o):s?(a=i>0?this.to.x+this.to.w+this.toAnchor.offset:this.to.x-this.toAnchor.offset,l=o):(a=r,l=n>0?this.to.y+this.to.h+this.toAnchor.offset:this.to.y-this.toAnchor.offset),"center"===this.fromAnchor.point?(c=e,d=t):s?(c=i>0?this.from.x-this.fromAnchor.offset:this.from.x+this.from.w+this.fromAnchor.offset,d=t):(c=e,d=n>0?this.from.y-this.fromAnchor.offset:this.from.y+this.from.h+this.fromAnchor.offset);const u=Math.abs(c-a),h=Math.abs(d-l),p=Math.sqrt(u*u+h*h)<3*this.cornerRadius;let g=(a+c)/2,f=(l+d)/2;const m=this.modules?.win?.el,v=m?this.getRect(m):null;v&&!p&&(s&&g>v.x&&g<v.x+v.w&&(g=c<v.x?v.x-8:v.x+v.w+8),!s&&f>v.y&&f<v.y+v.h&&(f=d<v.y?v.y-8:v.y+v.h+8));const b=Math.sign(c-a)||1,w=Math.sign(d-l)||1;let y=this.cornerRadius;y=s?Math.min(y,Math.abs(g-a)/2,h/2):Math.min(y,Math.abs(f-l)/2,u/2),y=Math.max(y,0);const x=[a,c,g],k=[l,d,f],C=Math.min(...x),L=Math.min(...k);return{x:C-4,y:L-4,w:Math.max(...x)-C+8,h:Math.max(...k)-L+8,sx:a-C+4,sy:l-L+4,ex:c-C+4,ey:d-L+4,mx:g-C+4,my:f-C+4,r:y,direct:p,exitH:s,dirX:b,dirY:w}});get bounds(){return Hr(this.#Yn)}set bounds(e){pt(this.#Yn,e)}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}},ty=class extends ss{#Jn=ut(wt({}));get modals(){return Hr(this.#Jn)}set modals(e){pt(this.#Jn,e,!0)}#Pe=ut(wt({}));get data(){return Hr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Qn=ut();get portalTarget(){return Hr(this.#Qn)}set portalTarget(e){pt(this.#Qn,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()})}},ry=class extends ss{get visible(){return this.modules.modals.isOpen("meta")}#es=ut(null);get shareImage(){return Hr(this.#es)}set shareImage(e){pt(this.#es,e,!0)}#ts=ut(null);get favicon(){return Hr(this.#ts)}set favicon(e){pt(this.#ts,e,!0)}#rs=ut(null);get touchicon(){return Hr(this.#rs)}set touchicon(e){pt(this.#rs,e,!0)}#os=ut(null);get title(){return Hr(this.#os)}set title(e){pt(this.#os,e,!0)}#is=ut(null);get description(){return Hr(this.#is)}set description(e){pt(this.#is,e,!0)}start(){Jn(()=>this.modules.router.current,e=>{"meta"!==e&&this.visible&&this.modules.modals.close("meta")}),this.shareImage=this.getValueFromMeta("meta[property='og:image']")||this.getValueFromMeta("meta[name='twitter:image']")||this.getValueFromMeta("meta[name='share-image']")||this.getValueFromMeta("meta[name='image']")||this.getValueFromMeta("meta[name='og:image:secure_url']")||this.getValueFromMeta("meta[name='og:image:url']")||null,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,this.favicon=this.getValueFromLink("link[rel='icon']")||this.getValueFromLink("link[rel='shortcut icon']")||null,this.touchicon=this.getValueFromLink("link[rel='apple-touch-icon']")||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}getValueFromLink(e){let t=document.querySelector(e);return t?t.getAttribute("href"):null}},oy=class extends ss{#ns=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get enableHover(){return Hr(this.#ns)}set enableHover(e){pt(this.#ns,e)}#ss=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated);get trackHover(){return Hr(this.#ss)}set trackHover(e){pt(this.#ss,e)}#as=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated&&!this.modules.hover.insideFubi);get hoverElement(){return Hr(this.#as)}set hoverElement(e){pt(this.#as,e)}#ls=Qe(()=>!(this.modules.hover.isIsolated||this.modules.hover.emptyHover||!this.modules.hover.info||!this.modules.hover.current));get isolateFromHover(){return Hr(this.#ls)}set isolateFromHover(e){pt(this.#ls,e)}#cs=Qe(()=>this.modules.hover.isIsolated);get dismissIsolation(){return Hr(this.#cs)}set dismissIsolation(e){pt(this.#cs,e)}dismissIsolationFor(e){return this.modules.hover.isIsolated&&this.modules.hover.enabled&&!("thread"===this.modules.router.current&&this.modules.elements.isInsideFubi(e))}#ds=Qe(()=>(this.modules.hover.enabled||this.modules.hover.isIsolated)&&!!this.modules.hover.current);get handleHoverClick(){return Hr(this.#ds)}set handleHoverClick(e){pt(this.#ds,e)}#us=Qe(()=>!this.modules.hover.highlightVisible&&!this.modules.hover.emptyHover);get showHighlight(){return Hr(this.#us)}set showHighlight(e){pt(this.#us,e)}ignoreHoverTarget(e){return this.modules.hover.shouldIgnore(e)||this.modules.elements.isInsideInbox(e)||this.modules.elements.isInsideMessage(e)||this.modules.elements.isInsidePicker(e)}#hs=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 Hr(this.#hs)}set displayInvisibleIcon(e){pt(this.#hs,e)}#ps=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 Hr(this.#ps)}set goBack(e){pt(this.#ps,e)}navigateTo(e){const t=this.modules.router;return t.hasRoute(e)&&t.current!==e}#gs=Qe(()=>!this.modules.picker.opened);get commentInputSubmit(){return Hr(this.#gs)}set commentInputSubmit(e){pt(this.#gs,e)}#fs=Qe(()=>!this.modules.picker.opened);get commentInputEscape(){return Hr(this.#fs)}set commentInputEscape(e){pt(this.#fs,e)}#ms=Qe(()=>this.modules.picker.opened&&this.modules.picker.items.length>0);get navigatePicker(){return Hr(this.#ms)}set navigatePicker(e){pt(this.#ms,e)}#vs=Qe(()=>this.modules.picker.opened&&!!this.modules.picker.items[this.modules.picker.selectedIndex]);get confirmPicker(){return Hr(this.#vs)}set confirmPicker(e){pt(this.#vs,e)}#bs=Qe(()=>this.modules.picker.opened);get cancelPicker(){return Hr(this.#bs)}set cancelPicker(e){pt(this.#bs,e)}#ws=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.hover.info);get createComment(){return Hr(this.#ws)}set createComment(e){pt(this.#ws,e)}#ys=Qe(()=>!!this.modules.auth.user);get deleteComment(){return Hr(this.#ys)}set deleteComment(e){pt(this.#ys,e)}#xs=Qe(()=>!!this.modules.auth.user);get updateComment(){return Hr(this.#xs)}set updateComment(e){pt(this.#xs,e)}#ks=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.comments.activeThreadId);get reply(){return Hr(this.#ks)}set reply(e){pt(this.#ks,e)}#Cs=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess);get accessFolders(){return Hr(this.#Cs)}set accessFolders(e){pt(this.#Cs,e)}selectFolder(e){return!e.locked&&this.modules.folders.current?.id!==e.id}#Ls=Qe(()=>this.modules.environment.touch&&this.modules.sheet.opened);get dragWindow(){return Hr(this.#Ls)}set dragWindow(e){pt(this.#Ls,e)}#Ms=Qe(()=>this.modules.environment.touch?!this.modules.sheet.opened:!this.modules.win.opened);get openWindow(){return Hr(this.#Ms)}set openWindow(e){pt(this.#Ms,e)}#Ss=Qe(()=>this.modules.environment.touch?this.modules.sheet.opened:this.modules.win.opened);get closeWindow(){return Hr(this.#Ss)}set closeWindow(e){pt(this.#Ss,e)}#$s=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get toggleWindow(){return Hr(this.#$s)}set toggleWindow(e){pt(this.#$s,e)}#_s=Qe(()=>!!this.modules.auth.user);get authenticate(){return Hr(this.#_s)}set authenticate(e){pt(this.#_s,e)}#Ts=Qe(()=>!!this.modules.auth.user);get logout(){return Hr(this.#Ts)}set logout(e){pt(this.#Ts,e)}#Es=Qe(()=>!this.modules.meta.visible);get openAnalysis(){return Hr(this.#Es)}set openAnalysis(e){pt(this.#Es,e)}#Os=Qe(()=>!this.modules.hover.isIsolated);get openMeta(){return Hr(this.#Os)}set openMeta(e){pt(this.#Os,e)}#Is=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewCommentsVisible&&this.modules.comments.data.length>0&&!this.modules.meta.visible);get displayCommentsOverview(){return Hr(this.#Is)}set displayCommentsOverview(e){pt(this.#Is,e)}#As=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewPagesVisible&&this.modules.pages.pagesWithStats.length>0);get displayPagesOverview(){return Hr(this.#As)}set displayPagesOverview(e){pt(this.#As,e)}#zs=Qe(()=>!!this.modules.auth.user);get showToolbarMenu(){return Hr(this.#zs)}set showToolbarMenu(e){pt(this.#zs,e)}#Ps=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&!this.modules.domains.blocked);get accessSettings(){return Hr(this.#Ps)}set accessSettings(e){pt(this.#Ps,e)}#Fs=Qe(()=>this.accessSettings);get openOnMobile(){return Hr(this.#Fs)}set openOnMobile(e){pt(this.#Fs,e)}},iy=class extends ss{#Ns=ut(wt([]));get checks(){return Hr(this.#Ns)}set checks(e){pt(this.#Ns,e,!0)}#Ae=ut(!1);get loading(){return Hr(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`,elements:t}]}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"}]:[]}},ny=class extends ss{registry=/* @__PURE__ */new Map;_touchScrollPadding=!1;#js=ut(wt({}));get visibility(){return Hr(this.#js)}set visibility(e){pt(this.#js,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}},sy=class extends ss{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})}},ay=class extends ss{#ae=ut(null);get current(){return Hr(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))}},ly=["image/png","image/vnd.mozilla.apng","image/jpeg","image/webp","image/svg+xml"],cy=class extends ss{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;#Ds=ut(wt([]));get files(){return Hr(this.#Ds)}set files(e){pt(this.#Ds,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#Hs=ut(!1);get picking(){return Hr(this.#Hs)}set picking(e){pt(this.#Hs,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=ly.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: ${Ls(e.file.size)} -> ${Ls(r.size)}, (${Ls(o)} smaller)`):this.log.ok(`Kept Original: ${Ls(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(!ly.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, ${Ls(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 dy(){return ce("app").modules}var uy="https://fubi.wondermakers.dev",hy=Zn("app"),py=po('<div class="flex w-full items-center gap-6"><div></div> </div>'),gy=po('<p class="whitespace-nowrap"> <span> </span></p>'),fy=po('<details open=""><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>'),my=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 vy=po('<button draggable="false"><div class="sr-only">Resize</div> <div></div></button>');ao(["pointerdown"]);var by=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>'),wy=po("<!> <!>",1);function yy(e,t){ue(t,!0);const{router:r}=dy();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});Ui(()=>r.ready=!0);var i=wy(),n=At(i);Po(n,17,()=>Object.entries(Hw),([e,t])=>e,(e,t)=>{var i=Qe(()=>v(Hr(t),2));let n=()=>Hr(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();Ro(At(s),()=>Hr(i)[1].component,(e,i)=>{i(e,Vi({get visible(){return Hr(o)},get navigating(){return r.navigating},get direction(){return r.direction}},()=>Hr(t)))}),bo(e,s)},c=Qe(()=>Hr(o).has(n()));To(a,e=>{Hr(c)&&e(l)}),bo(e,s)}),function(e){ue({},!0);const{folders:t,modals:r}=dy();r.register("folder-deleted");{const o=e=>{var r=by(),o=zt(It(r)),i=It(o,!0);q(o),K(),q(r),er(()=>ko(i,t?.current?.name)),bo(e,r)};Cb(e,{title:"Folder Deleted",get open(){return r.modals["folder-deleted"]},set open(e){r.modals["folder-deleted"]=e},content:o,children:(e,t)=>{pg(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 xy=po('<div data-lenis-prevent="" data-fubi-window="" data-fubi-hide-all=""><!> <!></div>');var ky=po('<button><span class="sr-only"> </span> <!></button>');function Cy(e,t){ue(t,!0);const r=Bi(t,"variant",3,"default"),o=Bi(t,"label",3,"Icon"),i=Bi(t,"tooltip",19,()=>({text:"",key:null})),n=Bi(t,"iconSize",3,"size-24"),s=Wi(t,["$$slots","$$events","$$legacy","active","icon","variant","label","tooltip","iconSize","onclick"]),a=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"]]);{const l=(e,i)=>{var l=ky();Li(l,e=>({...s,...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 "+a.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 c=It(l),d=It(c,!0);q(c);var u=zt(c,2);{let e=Qe(()=>`${n()} shrink-0`);rg(u,{get icon(){return t.icon},get className(){return Hr(e)}})}q(l),er(()=>ko(d,o())),Jo(3,l,()=>ia,()=>({axis:"x",duration:450,easing:Ws})),bo(e,l)};sp(e,{get text(){return i().text},get key(){return i().key},delay:100,offset:8,child:l,$$slots:{child:!0}})}he()}var Ly=po('<button><span class="sr-only">Menu</span> <!></button>'),My=po('<div class="size-36 flex-center mr-4"><img/></div>'),Sy=po('<a target="_blank" rel="noopener noreferrer" class="contents"><!></a> <div class="group-divider"></div> <!> <!> <!>',1);function $y(e,t){ue(t,!0);const{win:r,sheet:o,can:i,router:n,auth:s,environment:a,modals:l}=dy();let c=ut(!1);const d=async()=>{const e=a.touch?o:r;e.opened||e.open(),n.goto("settings")};{const t=(e,t)=>{var r=Ly();Li(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",Hr(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"]})),rg(zt(It(r),2),{get icon(){return qp},className:"size-25 shrink-0 touch:size-32"}),q(r),bo(e,r)};lp(e,{sideOffset:4,triggerClass:"",origin:"origin-bottom-right",get opened(){return Hr(c)},set opened(e){pt(c,e,!0)},child:t,children:(e,t)=>{var r=Sy(),o=At(r),n=It(o);{const e=e=>{var t=My(),r=It(t);li(r,1,ii(["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(()=>{Ci(r,"src",s.avatarThumbUrl),Ci(r,"alt",s.user?.firstName+" "+s.user?.lastName)}),bo(e,t)};let t=Qe(()=>s?.user?.email??"Not logged in");Qg(n,{get title(){return s.accountName},get subtitle(){return Hr(t)},onclick:()=>{},start:e,$$slots:{start:!0}})}q(o);var a=zt(o,4);Qg(a,{title:"Report Bug",get icon(){return nf},onclick:()=>l.open("report-bug")});var c=zt(a,2),u=e=>{Qg(e,{title:"Settings",get icon(){return Xf},onclick:d})};To(c,e=>{i.accessSettings&&e(u)}),Qg(zt(c,2),{title:"Logout",get icon(){return Ff},type:"destructive",closeOnSelect:!0,onclick:()=>setTimeout(()=>s.logout(),200)}),er(()=>Ci(o,"href",s.accountUrl)),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}var _y=po('<a target="_blank"><!> <span class="sr-only">Open Fubi Website</span></a>');function Ty(e,t){ue(t,!0);let r=ut(!1);Ui(()=>pt(r,!0)),sp(e,{text:"Open Fubi Website",delay:100,offset:8,children:(e,t)=>{var o=_y();Ci(o,"href","https://fubi.dev"),da(It(o),{class:"h-24 touch:h-28 shrink-0 text-lime-300"}),K(2),q(o),er(()=>li(o,1,ii(["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",Hr(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 Ey=po("<!> <!> <!>",1),Oy=po('<div data-fubi-hide-all=""><!> <div class="w-px h-24 rounded-full bg-white/15 mx-8"></div> <!></div>'),Iy=po("<div><!></div>");function Ay(e,t){const r=Bi(t,"vertical",3,!1),o=Bi(t,"bg",3,"bg-neutral-800/80");var i=Iy(),n=It(i);{let e=Qe(()=>["font-medium text-sm/none",r()?"flex flex-col gap-2":"flex gap-4 items-center"]);lw(n,{animate:"width",get class(){return Hr(e)},children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children),bo(e,o)},$$slots:{default:!0}})}q(i),er(()=>li(i,1,ii(["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()]))),Jo(3,i,()=>na,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,i)}var zy=po('<div class="flex-center text-orange-600"><!></div>'),Py=po('<!> <p class="trim-both text-white whitespace-nowrap">Ignored element</p>',1),Fy=po('<!> <p class="trim-both text-white whitespace-nowrap"> </p>',1),Ny=po('<!> <p class="trim-both text-white whitespace-nowrap">Invisible element</p>',1),jy=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>'),Dy=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>'),Hy=po('<div class="flex flex-col"><!> <!></div>'),Wy=po("<!> <!> <!>",1),Ry=po("<div><!></div>"),Vy=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 By=po('<div class="py-8 text-center text-sm text-neutral-500"> </div>'),Uy=po('<img alt="" class="size-32 rounded-[8px] superellipse object-cover glass"/>'),Zy=po('<div class="size-32 bg-sky-500/30 rounded-[8px] superellipse object-cover glass-shadow flex-center text-white text-sm"> </div>'),qy=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),Ky=po('<span class="text-xs text-neutral-500"> </span>'),Gy=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),Xy=po("<button><!></button>"),Yy=po('<div class="flex flex-col gap-2"></div>');ao(["click"]);var Jy=fo('<svg class="pointer-events-none absolute z-[calc(var(--infinity,2147480000))]" 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>'),Qy=po('<img alt="Icon" class="size-24 rounded-[4px] superellipse pointer-events-none"/>'),ex=po('<div class="flex-center size-24 pointer-events-none"><!></div>'),tx=po('<img alt="Share" class="w-full rounded-[12px] superellipse object-cover pointer-events-none"/>'),rx=po('<!> <p class="text-sm/none mt-4" data-fubi-ignore="">Missing share image</p>',1),ox=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 ix=po('<div class="fixed inset-0 bg-black/40 android:bg-black/60 z-[calc(var(--infinity,2147480000)-1)]" style="opacity: 0"></div> <div class="fixed inset-x-0 bottom-0 z-[calc(var(--infinity,2147480000))] 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,2147480000))]"></div>',1);ao(["click"]),po('<button><!> <div class="sr-only">Close</div></button>');var nx=po('<div></div> <div data-fubi-ignore-all=""></div>',1),sx=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>'),ax=po("<!> <!>",1);var lx=po("<div></div>"),cx=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,2147480000))]" data-fubi-ignore-all=""><!> <!></div>',1),dx=po("<!> <!>",1);var ux=po('<div class="flex items-center overflow-x-auto"></div>'),hx=po('<p class="text-[13px] text-red-400"> </p>'),px=po('<div class="flex flex-col gap-8"><textarea placeholder="Describe the bug..." class="w-full resize-none rounded-2xl superellipse glass-pressed bg-neutral-500/10 px-10 py-8 text-[14px] text-white placeholder:text-neutral-500 focus:outline-none transition-colors"></textarea> <!> <!> <!></div>'),gx=po('<div class="flex gap-8"><!> <!></div>');var fx=Math.min,mx=Math.max,vx=Math.round,bx=e=>({x:e,y:e}),wx={left:"right",right:"left",bottom:"top",top:"bottom"};function yx(e,t,r){return mx(e,fx(t,r))}function xx(e,t){return"function"==typeof e?e(t):e}function kx(e){return e.split("-")[0]}function Cx(e){return e.split("-")[1]}function Lx(e){return"x"===e?"y":"x"}function Mx(e){return"y"===e?"height":"width"}function Sx(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function $x(e){return Lx(Sx(e))}function _x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Tx=["left","right"],Ex=["right","left"],Ox=["top","bottom"],Ix=["bottom","top"];function Ax(e){const t=kx(e);return wx[t]+e.slice(t.length)}function zx(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 Px(e,t,r){let{reference:o,floating:i}=e;const n=Sx(t),s=$x(t),a=Mx(s),l=kx(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(Cx(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Fx(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}=xx(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=zx(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=zx(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 Nx=/* @__PURE__ */new Set(["left","top"]);function jx(){return"undefined"!=typeof window}function Dx(e){return Rx(e)?(e.nodeName||"").toLowerCase():"#document"}function Hx(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Wx(e){var t;return null==(t=(Rx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rx(e){return!!jx()&&(e instanceof Node||e instanceof Hx(e).Node)}function Vx(e){return!!jx()&&(e instanceof Element||e instanceof Hx(e).Element)}function Bx(e){return!!jx()&&(e instanceof HTMLElement||e instanceof Hx(e).HTMLElement)}function Ux(e){return!(!jx()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Hx(e).ShadowRoot)}function Zx(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=rk(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&"inline"!==i&&"contents"!==i}function qx(e){return/^(table|td|th)$/.test(Dx(e))}function Kx(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}var Gx,Xx=/transform|translate|scale|rotate|perspective|filter/,Yx=/paint|layout|strict|content/,Jx=e=>!!e&&"none"!==e;function Qx(e){const t=Vx(e)?rk(e):e;return Jx(t.transform)||Jx(t.translate)||Jx(t.scale)||Jx(t.rotate)||Jx(t.perspective)||!ek()&&(Jx(t.backdropFilter)||Jx(t.filter))||Xx.test(t.willChange||"")||Yx.test(t.contain||"")}function ek(){return null==Gx&&(Gx="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Gx}function tk(e){return/^(html|body|#document)$/.test(Dx(e))}function rk(e){return Hx(e).getComputedStyle(e)}function ok(e){return Vx(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ik(e){if("html"===Dx(e))return e;const t=e.assignedSlot||e.parentNode||Ux(e)&&e.host||Wx(e);return Ux(t)?t.host:t}function nk(e){const t=ik(e);return tk(t)?e.ownerDocument?e.ownerDocument.body:e.body:Bx(t)&&Zx(t)?t:nk(t)}function sk(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=nk(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Hx(i);if(n){const e=ak(s);return t.concat(s,s.visualViewport||[],Zx(i)?i:[],e&&r?sk(e):[])}return t.concat(i,sk(i,[],r))}function ak(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lk(e){const t=rk(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Bx(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=vx(r)!==n||vx(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function ck(e){return Vx(e)?e:e.contextElement}function dk(e){const t=ck(e);if(!Bx(t))return bx(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=lk(t);let s=(n?vx(r.width):r.width)/o,a=(n?vx(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var uk=/* @__PURE__ */bx(0);function hk(e){const t=Hx(e);return ek()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:uk}function pk(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=ck(e);let s=bx(1);t&&(o?Vx(o)&&(s=dk(o)):s=dk(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Hx(e))&&t}(n,r,o)?hk(n):bx(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=Hx(n),t=o&&Vx(o)?Hx(o):o;let r=e,i=ak(r);for(;i&&o&&t!==r;){const e=dk(i),t=i.getBoundingClientRect(),o=rk(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=Hx(i),i=ak(r)}}return zx({width:d,height:u,x:l,y:c})}function gk(e,t){const r=ok(e).scrollLeft;return t?t.left+r:pk(Wx(e)).left+r}function fk(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-gk(e,r),y:r.top+t.scrollTop}}function mk(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Hx(e),o=Wx(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=ek();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=gk(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=Wx(e),r=ok(e),o=e.ownerDocument.body,i=mx(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=mx(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+gk(e);const a=-r.scrollTop;return"rtl"===rk(o).direction&&(s+=mx(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Wx(e));else if(Vx(t))o=function(e,t){const r=pk(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=Bx(e)?dk(e):bx(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=hk(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return zx(o)}function vk(e,t){const r=ik(e);return!(r===t||!Vx(r)||tk(r))&&("fixed"===rk(r).position||vk(r,t))}function bk(e,t){const r=t.get(e);if(r)return r;let o=sk(e,[],!1).filter(e=>Vx(e)&&"body"!==Dx(e)),i=null;const n="fixed"===rk(e).position;let s=n?ik(e):e;for(;Vx(s)&&!tk(s);){const t=rk(s),r=Qx(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||Zx(s)&&!r&&vk(e,s))?o=o.filter(e=>e!==s):i=t,s=ik(s)}return t.set(e,o),o}function wk(e,t,r){const o=Bx(t),i=Wx(t),n="fixed"===r,s=pk(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=bx(0);function c(){l.x=gk(i)}if(o||!o&&!n)if(("body"!==Dx(t)||Zx(i))&&(a=ok(t)),o){const e=pk(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?bx(0):fk(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 yk(e){return"static"===rk(e).position}function xk(e,t){if(!Bx(e)||"fixed"===rk(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Wx(e)===r&&(r=r.ownerDocument.body),r}function kk(e,t){const r=Hx(e);if(Kx(e))return r;if(!Bx(e)){let t=ik(e);for(;t&&!tk(t);){if(Vx(t)&&!yk(t))return t;t=ik(t)}return r}let o=xk(e,t);for(;o&&qx(o)&&yk(o);)o=xk(o,t);return o&&tk(o)&&yk(o)&&!Qx(o)?r:o||function(e){let t=ik(e);for(;Bx(t)&&!tk(t);){if(Qx(t))return t;if(Kx(t))return null;t=ik(t)}return null}(e)||r}var Ck={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Wx(o),a=!!t&&Kx(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=bx(1);const d=bx(0),u=Bx(o);if((u||!u&&!n)&&(("body"!==Dx(o)||Zx(s))&&(l=ok(o)),u)){const e=pk(o);c=dk(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?bx(0):fk(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:Wx,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?Kx(t)?[]:bk(t,this._c):[].concat(r),o],s=mk(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=mk(t,n[u],i);a=mx(e.top,a),l=fx(e.right,l),c=fx(e.bottom,c),d=mx(e.left,d)}return{width:l-d,height:c-a,x:d,y:a}},getOffsetParent:kk,getElementRects:async function(e){const t=this.getOffsetParent||kk,r=this.getDimensions,o=await r(e.floating);return{reference:wk(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}=lk(e);return{width:t,height:r}},getScale:dk,isElement:Vx,isRTL:function(e){return"rtl"===rk(e).direction}},Lk=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=kx(r),a=Cx(r),l="y"===Sx(r),c=Nx.has(s)?-1:1,d=n&&l?-1:1,u=xx(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}}}}},Mk=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}=xx(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Sx(kx(i)),p=Lx(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=yx(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=yx(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}}}}}},Sk=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}=xx(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=kx(i),b=Sx(a),w=kx(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Ax(a)]:function(e){const t=Ax(e);return[_x(e),t,_x(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Cx(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Ex:Tx:t?Tx:Ex;case"left":case"right":return t?Ox:Ix;default:return[]}}(kx(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(_x)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),M=[];let S=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&M.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Cx(e),i=$x(e),n=Mx(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Ax(s)),[s,Ax(s)]}(i,s,y);M.push(L[e[0]],L[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every(e=>e<=0)){var $,_;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===Sx(t)||S.every(e=>Sx(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(_=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(p){case"bestFit":{var T;const e=null==(T=S.filter(e=>{if(k){const t=Sx(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:T[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},$k=(e,t,r)=>{const o=/* @__PURE__ */new Map,i={platform:Ck,...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:Fx},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}=Px(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}=Px(c,h,l))),f=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:g}})(e,t,{...i,platform:n})},_k=po("<button><!> New</button>"),Tk=po('<div><button data-fubi-message-show-comments-button=""><!> <p class="whitespace-nowrap text-sm/none"> </p></button> <!></div>');ao(["click"]);var Ek=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 Ok=po("<button><div><!></div> <div><!></div></button>"),Ik=po('<div class="py-8 text-center text-sm text-neutral-500">No elements</div>'),Ak=po('<div class="flex flex-col gap-2"></div>'),zk=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="overflow-y-auto overflow-x-hidden 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),Pk=po("<!> <!>",1);ao(["click"]);var Fk=po('<div class="w-48"></div>'),Nk=po('<button><!> <p class="ml-8 whitespace-nowrap pr-10"> </p></button>'),jk=po("<div><!></div>"),Dk=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>'),Hk=po('<div class="flex rounded-full"><!></div>'),Wk=po('<p class="ml-8 whitespace-nowrap pr-10">Comment</p>'),Rk=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>'),Vk=po("<!> <!>",1),Bk=po("<!> <!>",1),Uk=po('<div class="text-sm/none h-24 flex-center px-8 text-white">Tap to select element</div>'),Zk=po('<div class="absolute-center pointer-events-none"><!></div>'),qk=po('<!> <div class="h-px w-24 rounded-full bg-white/15 mb-8 mt-4 mx-auto"></div> <!> <!> <!>',1),Kk=po('<button class="size-48 flex-center active:bg-white/20 rounded-full relative"><div><!></div> <div><!></div> <div><!></div></button>'),Gk=po('<div class="fixed inset-0 bottom-8 top-auto px-8 flex z-[calc(var(--infinity,2147480000))]" 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,2147480000))] p-8 pointer-events-none" data-fubi-ignore-all=""><!></div>',1);ao(["click"]);var Xk=po("<!> <!>",1),Yk=po("<!> <!>",1),Jk=po("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function Qk(e,t){ue(t,!0);const r=(e=>{const{projectId:t,options:r,wrapper:o}=e,i="demo"===t,n={pb:i?Vn(!1!==r?.persist):new En(uy,new on("fubi_auth")),project:new Ss(t),team:new Os,elements:new Xw,win:new Vs,sheet:new Xs,router:new Ww,auth:new $s,folders:new Is,pages:new As,events:new _s,comments:new qw,domains:new Kw,toolbar:new Ts(o),keys:new Es,dom:new zs,environment:new Ys,hover:new Vw,picker:new Yw,bus:new Qw,status:new ls,tracer:new ey,modals:new ty,meta:new ry,can:new oy,analysis:new iy,inputs:new ny,settings:new sy,resolution:new Ev,error:new ay,media:new cy};return Object.values(n).forEach(e=>{e._inject&&e._inject(n)}),hy.ok("All modules initialized."),{modules:n,start:()=>{Object.values(n).forEach(e=>{e.start&&e.start?.()}),i&&(window.fubi={modules:n},hy.warn("App exposed: window.fubi"))},hide:()=>{Object.keys(localStorage).filter(e=>e.startsWith("fubi_")).forEach(e=>localStorage.removeItem(e)),document.getElementById("fubi-shadow-root")?.remove(),document.getElementById("fubi-global-styles")?.remove()}}})({projectId:t.projectId,wrapper:t.wrapper});de("app",r),Ui(()=>r.start()),function(e,t){var r;ue(t,!0),r={defaultPortalTo:ya(()=>t.defaultPortalTo),defaultLocale:ya(()=>t.defaultLocale)},Rl.set(new Vl(Rl.getOr(null),r));var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}(e,{get defaultPortalTo(){return t.wrapper},children:(e,t)=>{var o=vo();Ro(At(o),()=>tp,(e,t)=>{t(e,{children:(e,t)=>{var o=Jk(),i=At(o);!function(e,t){ue(t,!0);const{resolution:r,modals:o,win:i}=dy();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();Ro(At(l),()=>$h,(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();Ro(At(o),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var o=ax(),i=At(o);{const e=(e,t)=>{var o=vo(),i=At(o),a=e=>{var o=nx(),i=At(o);Li(i,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147480000))] bg-black/80"}));var a=zt(i,2);er(()=>{li(a,1,ii(["pointer-events-none fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147480000))] will-change-[width,height] ease-in-out-cubic duration-400 transition-[width,height] border-[0.5px] outline-[0.5px] outline-white/30",Hr(n)&&Hr(s)?"border-green-500/80 bg-green-500/10":"border-indigo-500/80 bg-indigo-500/10"])),di(a,`width: ${r.width}px; height: ${r.height}px;`)}),Jo(3,i,()=>ta,()=>({duration:150})),Jo(3,a,()=>na,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};To(i,e=>{t?.().open&&e(a)}),bo(e,o)};Ro(i,()=>gd,(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=sx();Li(o,()=>({...t?.().props,class:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147480000))] outline-none flex-center flex-col gap-16 whitespace-nowrap","data-fubi-ignore-all":!0}));var i=zt(It(o),2),a=It(i),l=zt(It(a),2),c=It(l),d=It(c,!0);q(c);var u=zt(c,2),h=It(u,!0);q(u),q(l),q(a);var p=zt(a,2),g=zt(It(p),2),f=It(g),m=It(f,!0);q(f);var v=zt(f,2),b=It(v,!0);q(v),q(g),q(p),q(i),Rg(zt(i,2),{get icon(){return sf},class:"glass bg-neutral-800/80",onclick:()=>r.hide()}),q(o),er(()=>{li(c,1,ii([Hr(n)&&"text-green-500"])),ko(d,r.width),li(u,1,ii([Hr(s)&&"text-green-500"])),ko(h,r.height),li(f,1,ii([Hr(n)&&"text-green-500"])),ko(m,r.current.width),li(v,1,ii([Hr(s)&&"text-green-500"])),ko(b,r.current.height)}),Jo(3,o,()=>na,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};To(i,e=>{t?.().open&&e(a)}),bo(e,o)};Ro(a,()=>Ih,(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}=dy(),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();Ro(At(s),()=>Dh,(e,r)=>{r(e,{get open(){return t.opened},set open(e){t.opened=e},children:(e,r)=>{var o=vo();Ro(At(o),()=>Zl,(e,r)=>{r(e,{children:(e,r)=>{var o=vo();Ro(At(o),()=>Lh,(e,r)=>{r(e,{get customAnchor(){return t.anchorElement},class:"fubi-picker z-[calc(var(--infinity,2147480000)+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=By(),o=It(r,!0);q(r),er(()=>ko(o,"mention"===t.type?"No users found":"No commands found")),bo(e,r)},s=e=>{var r=Yy();Po(r,23,()=>t.items,e=>e.id,(e,r,o)=>{var i=Xy();Ci(i,"tabindex",-1);var n=It(i),s=e=>{var t=qy(),o=At(t),i=e=>{var t=Uy();er(()=>Ci(t,"src",Hr(r).data.avatar)),bo(e,t)},n=e=>{var t=Zy(),o=It(t,!0);q(t),er(()=>ko(o,Hr(r).data?.initials)),bo(e,t)};To(o,e=>{Hr(r).data?.avatar?e(i):e(n,!1)});var s=zt(o,2),a=It(s),l=It(a,!0);q(a);var c=zt(a,2),d=It(c,!0);q(c),q(s),er(()=>{ko(l,Hr(r).label),ko(d,Hr(r).data?.role)}),bo(e,t)},a=e=>{var t=Gy(),o=zt(At(t),2),i=It(o),n=It(i);q(i);var s=zt(i,2),a=e=>{var t=Ky(),o=It(t,!0);q(t),er(()=>ko(o,Hr(r).data.description)),bo(e,t)};To(s,e=>{Hr(r).data?.description&&e(a)}),q(o),er(()=>ko(n,`/${Hr(r).label??""}`)),bo(e,t)};To(n,e=>{"mention"===t.type?e(s):e(a,!1)}),q(i),er(()=>li(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"+(Hr(o)===t.selectedIndex?"bg-sky-500/10 text-white":"text-neutral-400 hover:bg-sky-500/10 hover:text-white"))),so("click",i,()=>t.confirm(Hr(r))),no("mouseenter",i,()=>t.selectedIndex=Hr(o)),bo(e,i)}),q(r),bo(e,r)};To(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,t){ue(t,!0);const{can:r,hover:o,environment:i}=dy();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(()=>Hr(a)<40),c=Qe(()=>Hr(l)&&Hr(s)<60);var d=Vy(),u=It(d),h=e=>{var t=zy();rg(It(t),{get icon(){return pm},className:"size-24 absolute-center"}),q(t),Jo(1,t,()=>ta,()=>({delay:100})),bo(e,t)};To(u,e=>{r.displayInvisibleIcon&&e(h)});var p=zt(u,2);di(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=It(p);q(p);var f=zt(p,2),m=e=>{var t=Ry(),r=It(t),i=e=>{Ay(e,{bg:"bg-neutral-800/80",children:(e,t)=>{var r=Py();rg(At(r),{get icon(){return jp},className:"size-18 text-neutral-400"}),K(2),bo(e,r)},$$slots:{default:!0}})},n=e=>{var t=Wy(),r=At(t);Ay(r,{children:(e,t)=>{var r=Fy(),i=At(r);!function(e,t){let r=Bi(t,"size",3,"size-18"),o=Bi(t,"color",3,"text-neutral-400");var i=Jb();Io(It(i),()=>t.Icon,e=>{var i=vo(),n=At(i),s=e=>{{let i=Qe(()=>`${r()} ${o()}`);rg(e,{get icon(){return t.Icon},get className(){return Hr(i)}})}};To(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=It(n,!0);q(n),er(()=>ko(s,o.tagInfo.name)),bo(e,r)},$$slots:{default:!0}});var i=zt(r,2),n=e=>{Ay(e,{bg:"bg-amber-950/80",children:(e,t)=>{var r=Ny();rg(At(r),{get icon(){return Ip},className:"size-18 text-orange-400"}),K(2),bo(e,r)},$$slots:{default:!0}})};To(i,e=>{o.info?.visible||e(n)});var s=zt(i,2),a=e=>{Ay(e,{vertical:!0,children:(e,t)=>{var r=Hy(),i=It(r),n=e=>{var t=jy(),r=It(t);rg(r,{get icon(){return cm},className:"size-14 text-neutral-400"});var i=zt(r,2),n=It(i,!0);q(i),q(t),er(()=>ko(n,o.info.fontSize)),bo(e,t)};To(i,e=>{o.info.fontSize&&e(n)});var s=zt(i,2),a=e=>{var t=Dy(),r=It(t),i=zt(r,2),n=It(i,!0);q(i),q(t),er(()=>{di(r,`background: ${o.info.bgColor};`),ko(n,o.info.bgColor)}),bo(e,t)};To(s,e=>{o.info.bgColor&&e(a)}),q(r),bo(e,r)},$$slots:{default:!0}})};To(s,e=>{o.isIsolated&&(o.info?.fontSize||o.info?.bgColor)&&e(a)}),bo(e,t)};To(r,e=>{"ignored"===o.mode.type?e(i):e(n,!1)}),q(t),er(()=>{li(t,1,ii(["absolute pointer-events-none flex items-end gap-8 top-0 left-0 transition-[translate] duration-300 ease-out-cubic will-change-[translate]",Hr(c)?"origin-top-left":Hr(l)?"origin-top-left translate-y-8 translate-x-8":"origin-bottom-left -translate-y-[calc(100%+4px)]"])),di(t,Hr(c)?`translate: 0 ${Hr(s)+4}px;`:"")}),Jo(3,t,()=>na,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,t)};To(f,e=>{o.current&&e(m)}),q(d),er(()=>{di(d,`\n\t\twidth: ${Hr(n)+2}px;\n\t\theight: ${Hr(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`),li(d,1,ii(["pointer-events-none absolute top-0 left-0 transition-opacity duration-200 z-[calc(var(--infinity,2147480000))]",!o?.highlightVisible||i.touch&&!o.current?"opacity-0":"opacity-100"])),li(p,0,ii(["absolute top-0 left-0 pointer-events-none",Rw[o.highlightColor]])),Ci(g,"width",Hr(n)),Ci(g,"height",Hr(s)),Ci(g,"rx",o?.highlightPos?.current?.r<4?4:o?.highlightPos?.current?.r),di(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()}(s,{});var a=zt(s,2),l=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}=dy(),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=my(),b=zt(It(m),2);Po(b,17,()=>g,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2));let o=()=>Hr(r)[1];var i=py(),n=It(i),s=zt(n);q(i),er(()=>{li(n,1,ii(["size-8 rounded-full glass",o()?.ready?"bg-green-500":o()?.loading?"bg-orange-500":"bg-white/10"])),ko(s,` ${Hr(r)[0]??""}`)}),bo(e,i)}),Po(zt(b,2),17,()=>Hr(f),Ao,(e,t)=>{var r=fy(),o=It(r),i=It(o,!0);q(o),Po(zt(o,2),17,()=>Hr(t).values,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2)),o=gy(),i=It(o),n=zt(i),s=It(n,!0);q(n),q(o),er(()=>{ko(i,`${Hr(r)[0]??""}: `),ko(s,Hr(r)[1])}),bo(e,o)}),q(r),er(()=>ko(i,Hr(t).name)),bo(e,r)}),q(m),bo(e,m),he()}(e,{})},c=Qe(()=>new URLSearchParams(window.location.search).has("fubi-debug"));To(a,e=>{Hr(c)&&e(l)});var d=zt(a,2),u=e=>{var t=Xk(),r=At(t);!function(e){ue({},!0);const{enviroment:t,can:r,settings:o,hover:i,win:n,sheet:s,toolbar:a,auth:l,environment:c}=dy();var d=Oy(),u=It(d);Ty(u,{}),lw(zt(u,4),{animate:"width",class:"flex items-center justify-end gap-2",children:(e,t)=>{const o=Qe(()=>c.touch?s:n);var a=Ey(),l=At(a),d=e=>{Cy(e,{get icon(){return Wp},iconSize:"size-26",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};To(l,e=>{r.enableHover&&e(d)});var u=zt(l,2);{let e=Qe(()=>({text:Hr(o).opened?"Close Inbox":"Open Inbox",key:"M"}));Cy(u,{get active(){return Hr(o).opened},get icon(){return Up},variant:"sky",label:"Open inbox",get tooltip(){return Hr(e)},onclick:()=>Hr(o).toggle()})}var h=zt(u,2),p=e=>{$y(e,{})};To(h,e=>{r.showToolbarMenu&&e(p)}),bo(e,a)},$$slots:{default:!0}}),q(d),er(()=>li(d,1,ii(["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,2147480000))]","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",!a.visible&&"translate-y-[calc(100%+var(--fubi-toolbar-bottom))] scale-80"]))),bo(e,d),he()}(r),function(e,t){ue(t,!0);const{environment:r,win:o,modals:i}=dy();Kt(()=>{o.el&&(i.portalTarget=o.el)});var n=vo(),s=At(n),a=e=>{var t=xy(),r=It(t);!function(e){ue({},!0);const{win:t}=dy();var r=vy(),o=zt(It(r),2);q(r),er(()=>{li(r,1,ii(["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,2147480000))] 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]"])),li(o,1,ii(["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),yy(zt(r,2),{}),q(t),ji(t,e=>o.el=e,()=>o?.el),er(()=>{di(t,`width: ${o.resizeWidth??""}px; height: ${o.resizeHeight??""}px;`),li(t,1,ii(["touch:hidden window fixed text-white","z-[calc(var(--infinity,2147480000))] 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)};To(s,e=>{r.touch||e(a)}),bo(e,n),he()}(zt(r,2),{}),bo(e,t)},h=e=>{var t=Yk(),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}=dy();let u=Qe(()=>"disabled"!==i.mode.type),h=Qe(()=>"tracking"===i.mode.type||"focused"===i.mode.type),p=Qe(()=>"focused"===i.mode.type),g=Qe(()=>i.isIsolated),f=Qe(()=>i.info?.threads?.length),m=ut(0),v=ut(!1),b=ut(!0),w=ut(!1);Kt(()=>{r.opened&&pt(b,!1)});let y,x=ut(null),k=ut(!1),C=ut(!1);const L=e=>e?["transition-[scale] will-change-[scale]",Hr(k)?"scale-115 duration-200 ease-out-cubic":Hr(C)?"duration-500 ease-in-out-cubic":"duration-300 ease-out-cubic"]:"";Kt(()=>{if("tracking"!==i.mode.type)return pt(x,null),pt(k,!1),pt(C,!1),void clearTimeout(y);const e=i.mode.element;Hr(x)&&Hr(x)!==e&&(pt(k,!0),pt(C,!1),clearTimeout(y),y=setTimeout(()=>{pt(k,!1),pt(C,!0)},300)),pt(x,e,!0)}),Ui(()=>{pt(w,!0);const e=setTimeout(()=>{pt(b,!1)},1200),t=window.visualViewport;if(!t)return()=>{clearTimeout(e)};const r=e=>{Hr(m),pt(m,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=()=>{ds(),i.enable(),"focused"===i.mode.type&&(i.mode={type:"tracking",element:i.mode.element,info:i.mode.info}),pt(v,!0),setTimeout(()=>{pt(v,!1)},1e3)},S=()=>{if("tracking"!==i.mode.type&&"focused"!==i.mode.type)return;ds();const e=i.mode.element;i.isolate(e,{scroll:!1}),l.show("new-comment"),l.focusForTouch("new-comment",e)},$=()=>{"tracking"!==i.mode.type&&"focused"!==i.mode.type||(i.isolate(i.mode.element,{scroll:!1}),s.open(),c.goto("isolation"))};var _=Gk(),T=At(_),E=It(T),O=e=>{!function(e){ue({},!0);const{hover:t,elements:r,dom:o,bus:i}=dy();let n=ut(!1),s=ut(wt([])),a=ut("forward");Kt(()=>i.on("sheet:opened",()=>{pt(n,!1)}));let l=Qe(()=>Hr(s).length>0&&"tracking"===t.mode.type?r.getLevelNodes(Hr(s).at(-1).parentEl,t.mode.element):[]);Kt(()=>{if(!Hr(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=Hr(s).at(-1)?.parentEl;if(!i)return;const n=e.el.parentElement;n&&n!==i&&(pt(a,"forward"),pt(s,[...Hr(s),{parentEl:n,label:r.getNodeName(n)}],!0))},d=()=>{if(Hr(s).length<=1)return;ds(),pt(a,"back");const e=Hr(s).at(-1);pt(s,Hr(s).slice(0,-1),!0),t.handleHoverElement(e.parentEl,0),o.scrollToElement(e.parentEl)};var u=vo();Ro(At(u),()=>Dh,(e,t)=>{t(e,{get open(){return Hr(n)},set open(e){pt(n,e,!0)},children:(e,t)=>{var r=Pk(),o=At(r);{const e=(e,t)=>{sw(e,{rounded:"rounded-full",bg:"bg-neutral-800/80",class:"size-48",children:(e,r)=>{var o=Ok();Li(o,()=>({...t?.().props,class:"size-48 flex-center rounded-full active:bg-white/20 text-neutral-400 relative"}));var i=It(o);rg(It(i),{get icon(){return sm},className:"size-24"}),q(i);var s=zt(i,2);rg(It(s),{get icon(){return jp},className:"size-24"}),q(s),q(o),er(()=>{li(i,1,ii(["absolute-center size-48 flex-center pointer-events-none","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Hr(n)?"scale-50 opacity-0":""])),li(s,1,ii(["absolute-center size-48 flex-center pointer-events-none text-white","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Hr(n)?"":"scale-50 opacity-0"]))}),bo(e,o)},$$slots:{default:!0}})};Ro(o,()=>Sh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ro(zt(o,2),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Ro(At(r),()=>Lh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147480000))] 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=zk(),o=zt(At(r),2),i=It(o),n=e=>{bo(e,Ik())},u=e=>{var t=vo();Io(At(t),()=>Hr(s).length,e=>{var t=Ak();Po(t,21,()=>Hr(l),e=>e.el,(e,t)=>{hv(e,{get node(){return Hr(t)},onselect:c})}),q(t),Jo(1,t,()=>ra,()=>({x:"forward"===Hr(a)?80:-80,duration:180,easing:Ws})),bo(e,t)}),bo(e,t)};To(i,e=>{0===Hr(l).length?e(n):e(u,!1)});var h=zt(i,2);rg(It(h),{get icon(){return yg},strokeWidth:2,className:"size-20"}),K(2),q(h),q(o),er(()=>h.disabled=Hr(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)},I=e=>{bo(e,Fk())};To(E,e=>{Hr(h)&&i.enabled&&!d.visible?e(O):e(I,!1)});var A=zt(E,2),z=It(A),P=e=>{var t=Bk(),r=At(t),o=e=>{var t=jk(),r=It(t);{let e=Qe(()=>Hr(v)?"bg-lime-400":"bg-lime-950");sw(r,{rounded:"rounded-full",get bg(){return Hr(e)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-300",children:(e,t)=>{var r=Nk(),o=It(r);{let e=Qe(()=>"size-24 "+(Hr(v)?"text-lime-950":"text-lime-400"));rg(o,{get icon(){return Wp},get className(){return Hr(e)}})}var i=zt(o,2),n=It(i,!0);q(i),q(r),er(()=>{li(r,1,ii(["h-48 rounded-full px-14 flex-center font-medium text-center text-[18px]/none",Hr(v)?"text-lime-950":"text-white active:bg-lime-900"])),ko(n,Hr(v)?"Enabled":"Enable")}),so("click",r,M),bo(e,r)},$$slots:{default:!0}})}q(t),er(()=>li(t,1,ii(["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",Hr(v)?"-translate-y-[calc(50%+100%+16px)] scale-80":"-translate-y-1/2"]))),Jo(3,t,()=>na,()=>({start:.6,easing:Ws,duration:300})),bo(e,t)};To(r,e=>{(Hr(h)&&!i.enabled||Hr(v))&&e(o)});var n=zt(r,2),s=e=>{var t=Vk(),r=At(t),o=e=>{var t=Hk(),r=It(t);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none mr-8",L(!0)]);sw(r,{rounded:"rounded-full",bg:"bg-indigo-600/80 android:bg-indigo-600",get class(){return Hr(e)},children:(e,t)=>{var r=Dk(),o=It(r);rg(o,{get icon(){return Rp},class:"size-20 text-white"});var i=zt(o,2),n=It(i);q(i),q(r),er(()=>ko(n,`${Hr(f)??""}\n\t\t\t\t\t\t\t\t\t${Hr(f)>1?"Comments":"Comment"}`)),so("click",r,$),Jo(3,r,()=>na,()=>({start:.6,easing:Ws,duration:600})),bo(e,r)},$$slots:{default:!0}})}q(t),Jo(3,t,()=>ia,()=>({axis:"x",duration:300,delay:0,easing:Ws})),bo(e,t)};To(r,e=>{Hr(f)&&e(o)});var i=zt(r,2);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none",L(!Hr(f))]);sw(i,{rounded:"rounded-full",bg:"bg-sky-600/80 android:bg-sky-600",get class(){return Hr(e)},children:(e,t)=>{var r=Rk(),o=It(r);rg(o,{get icon(){return Kp},class:"size-20 text-white"});var i=zt(o,2),n=e=>{var t=Wk();Jo(3,t,()=>ia,()=>({axis:"x",duration:400,easing:Ws})),bo(e,t)};To(i,e=>{Hr(f)||e(n)}),q(r),so("click",r,S),Jo(3,r,()=>na,()=>({start:.6,easing:Ws,duration:300})),bo(e,r)},$$slots:{default:!0}})}bo(e,t)};To(n,e=>{!i.enabled||Hr(p)&&!i.enabled||e(s)}),bo(e,t)},F=e=>{var t=vo(),r=At(t),o=e=>{var t=Zk();sw(It(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,Uk())},$$slots:{default:!0}}),q(t),bo(e,t)};To(r,e=>{Hr(u)&&!Hr(g)&&e(o)}),bo(e,t)};To(z,e=>{Hr(h)?e(P):e(F,!1)}),q(A);var N=zt(A,2),j=It(N);{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]"]);sw(j,{rounded:"rounded-[18px]",bg:"bg-neutral-900/90 android:bg-neutral-900",get class(){return Hr(e)},children:(e,t)=>{const r=Qe(()=>a.touch?s:n);var l=qk(),c=At(l);Ty(c,{});var d=zt(c,4),u=e=>{Cy(e,{get icon(){return Wp},iconSize:"size-26 touch:size-32",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};To(d,e=>{o.enableHover&&e(u)});var h=zt(d,2);{let e=Qe(()=>({text:Hr(r).opened?"Close Inbox":"Open Inbox",key:"M"}));Cy(h,{get active(){return Hr(r).opened},get icon(){return Up},iconSize:"size-24 touch:size-30",variant:"sky",label:"Open inbox",get tooltip(){return Hr(e)},onclick:()=>Hr(r).toggle()})}var p=zt(h,2),g=e=>{$y(e,{})};To(p,e=>{o.showToolbarMenu&&e(g)}),bo(e,l)},$$slots:{default:!0}})}var D=zt(j,2),H=e=>{{let t=Qe(()=>r.opened||Hr(b)?"bg-neutral-900/90 android:bg-neutral-900":i.enabled?"bg-lime-400":"bg-neutral-900/90 android:bg-neutral-900");sw(e,{rounded:"rounded-full",get bg(){return Hr(t)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-1000",children:(e,t)=>{var o=Kk(),n=It(o);rg(It(n),{get icon(){return jp}}),q(n);var s=zt(n,2);da(It(s),{class:"h-24 shrink-0"}),q(s);var a=zt(s,2);rg(It(a),{get icon(){return Wp},class:"size-28"}),q(a),q(o),er(()=>{li(n,1,ii(["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"])),li(s,1,ii(["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",Hr(b)&&Hr(w)?"":Hr(b)?"scale-0 rotate-360 opacity-0":"scale-50 opacity-0 duration-200"])),li(a,1,ii(["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||Hr(b)?"scale-50 opacity-0":""]))}),so("click",o,()=>r.toggle()),bo(e,o)},$$slots:{default:!0}})}};To(D,e=>{Hr(g)||e(H)}),q(N),q(T);var W=zt(T,2);let R;pw(It(W),{id:"new-comment",placement:"top"}),q(W),er(()=>R=di(W,"",R,{bottom:`${Hr(m)??""}px`})),bo(e,_),he()})(r,{}),function(e){ue({},!0);const{sheet:t,modals:r,environment:o}=dy();let i=ut(!o.android);t.snapPoints=[1],t.fadeFromIndex=1,Kt(()=>{t.el&&(r.portalTarget=t.el)}),Kt(()=>{o.android&&(t.isVisible&&!Hr(i)&&pt(i,!0),t.isVisible||pt(i,!1))});var n=vo(),s=At(n),a=e=>{var r=ix(),o=At(r);ji(o,e=>t.overlayEl=e,()=>t?.overlayEl);var n=zt(o,2),s=It(n),a=It(s),l=zt(a,2);q(s);var c=zt(s,2),d=It(c),u=e=>{yy(e,{})};To(d,e=>{Hr(i)&&e(u)}),q(c),ji(c,e=>t.el=e,()=>t?.el),q(n),ji(n,e=>t.drawerEl=e,()=>t?.drawerEl),K(2),er(()=>{li(s,1,ii(["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"])),li(a,1,ii(["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":""])),li(l,1,ii(["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)};To(s,e=>{o.touch&&t.isVisible&&e(a)}),bo(e,n),he()}(zt(r,2)),bo(e,t)};To(d,e=>{r.modules.environment.touch?e(h,!1):e(u)});var p=zt(d,2);!function(e){ue({},!0);const{tracer:t}=dy(),r="var(--fubi-hover-thread-color, #6366f1)";function o(){const{sx:e,sy:r,ex:o,ey:i,mx:n,r:s,direct:a,exitH:l,dirX:c,dirY:d}=t.bounds;if(a)return`M ${e} ${r} L ${o} ${i}`;if(l)return`M ${e} ${r}\n\t\t\t\tH ${n-s*c}\n\t\t\t\tQ ${n} ${r} ${n} ${r+s*d}\n\t\t\t\tV ${i-s*d}\n\t\t\t\tQ ${n} ${i} ${n+s*c} ${i}\n\t\t\t\tH ${o}`;const u=(r+i)/2;return`M ${e} ${r}\n\t\t\tV ${u-s*d}\n\t\t\tQ ${e} ${u} ${e+s*c} ${u}\n\t\t\tH ${o-s*c}\n\t\t\tQ ${o} ${u} ${o} ${u+s*d}\n\t\t\tV ${i}`}var i=vo(),n=At(i),s=e=>{var i=Jy(),n=It(i);Ci(n,"stroke",r);var s=zt(n);Ci(s,"fill",r);var a=zt(s);Ci(a,"fill",r),q(i),er(e=>{di(i,`\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`),Ci(n,"d",e),Ci(s,"cx",t.bounds.sx),Ci(s,"cy",t.bounds.sy),Ci(a,"cx",t.bounds.ex),Ci(a,"cy",t.bounds.ey)},[o]),bo(e,i)};To(n,e=>{t.enabled&&(t.bounds.w>0||t.bounds.h>0)&&e(s)}),bo(e,i),he()}(p);var g=zt(p,2);!function(e){ue({},!0);const{hover:t,domains:r,meta:o,modals:i}=dy();i.register("meta");var n=vo(),s=At(n),a=e=>{var i=ox(),n=At(i),s=zt(n,2),a=It(s),l=It(a);pb(zt(It(l),4),{class:"absolute top-8 right-8 touch:top-12 touch:right-14",onclick:()=>o.hide()}),q(l);var c=zt(l,2),d=It(c),u=zt(It(d),2),h=It(u),p=e=>{var t=Qy();er(()=>Ci(t,"src",o.favicon)),bo(e,t)},g=e=>{var t=ex();rg(It(t),{get icon(){return Ap},className:"size-20 text-orange-400 pointer-events-none"}),q(t),bo(e,t)};To(h,e=>{o.favicon?e(p):e(g,!1)}),q(u),q(d);var f=zt(d,2),m=zt(It(f),2),v=It(m),b=It(v,!0);q(v),q(m),q(f),q(c);var w=zt(c,2),y=zt(It(w),2),x=It(y),k=e=>{var t=tx();er(()=>Ci(t,"src",o.shareImage)),bo(e,t)},C=e=>{var t=rx();rg(At(t),{get icon(){return Ap},className:"size-28 pointer-events-none"}),K(2),bo(e,t)};To(x,e=>{o.shareImage?e(k):e(C,!1)}),q(y),q(w);var L=zt(w,2),M=zt(It(L),2),S=It(M),$=e=>{var t=mo();er(()=>ko(t,o.title)),bo(e,t)},_=e=>{bo(e,mo("No title defined."))};To(S,e=>{o.title?e($):e(_,!1)}),q(M),q(L);var T=zt(L,2),E=zt(It(T),2),O=It(E),I=e=>{var t=mo();er(()=>ko(t,o.description)),bo(e,t)},A=e=>{bo(e,mo("No description defined."))};To(O,e=>{o.description?e(I):e(A,!1)}),q(E),q(T),q(a),q(s),er(()=>{li(v,1,ii(["truncate",t.enabled&&"pointer-events-none"])),ko(b,r.url),li(y,1,ii(["rounded-[12px] flex-center flex-col superellipse object-cover w-full shrink-0",o.shareImage?"":"bg-rose-500/10 border border-rose-500 text-rose-500 aspect-1200/630"])),li(M,1,`text-2xl font-semibold ${!o.title&&"text-rose-500"}`),li(E,1,`text-lg font-normal text-neutral-400 ${!o.description&&"text-rose-500"}`)}),so("click",n,()=>o.hide()),Jo(3,n,()=>ta,()=>({duration:150})),Jo(3,a,()=>na,()=>({duration:150,start:.95})),bo(e,i)};To(s,e=>{i.modals.meta&&e(a)}),bo(e,n),he()}(g);var f=zt(g,2),m=e=>{!function(e){ue({},!0);const{hover:t,inputs:r}=dy();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&&!Hr(u));async function p(){if(!Hr(o)||!Hr(i)||!Hr(u))return;const e=await $k(Hr(o),Hr(i),{placement:"bottom-start",strategy:"fixed",middleware:[Lk(4),Sk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Mk({padding:0})]});pt(s,{x:e.x,y:e.y},!0),pt(n,e.placement,!0)}async function g(){if(!Hr(a)||!Hr(l)||!Hr(h))return;const e=await $k(Hr(a),Hr(l),{placement:"bottom-start",strategy:"fixed",middleware:[Lk(4),Sk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Mk({padding:0})]});pt(d,{x:e.x,y:e.y},!0),pt(c,e.placement,!0)}Kt(()=>{Hr(u)&&(t.pinPos.x,t.pinPos.y,Dr().then(p))}),Kt(()=>{Hr(h)&&(t.pinPos.x,t.pinPos.y,Dr().then(g))}),Qe(()=>"isolated"===t.mode.type||Hr(u)),Qe(()=>Hr(n).startsWith("top"));var f=Ek(),m=At(f),v=It(m);ji(v,e=>pt(a,e),()=>Hr(a));var b=zt(v,2);rg(It(b),{get icon(){return Bf},className:"size-14 group-hover/new-comment-pin:rotate-45 transition-[rotate] duration-150 ease-out-cubic"}),q(b),ji(b,e=>pt(o,e),()=>Hr(o)),q(m);var w=zt(m,2);(function(e,t){ue(t,!0);let r=Bi(t,"placement",3,"bottom");const{bus:o,router:i,inputs:n,win:s,sheet:a,hover:l,comments:c,environment:d}=dy();let u=Qe(()=>"isolated"===l.mode.type&&!n.visibility["new-comment"]),h=Qe(()=>r().startsWith("top"));var p=Tk(),g=It(p),f=It(g);rg(f,{get icon(){return Rp},className:"size-18"});var m=zt(f,2),v=It(m);q(m),q(g);{const e=(e,t)=>{var r=_k(),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"))));Li(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"]})),rg(It(r),{get icon(){return Lg},className:"size-18",strokeWidth:2}),K(),q(r),bo(e,r)};sp(zt(g,2),{text:"Create new comment",delay:200,offset:2,child:e,$$slots:{child:!0}})}q(p),er(()=>{li(p,1,ii(["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",Hr(h)?"origin-bottom":"origin-top",!Hr(u)&&"opacity-0 pointer-events-none scale-80"])),li(g,1,ii(["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()})(It(w),{get placement(){return Hr(c)}}),q(w),ji(w,e=>pt(l,e),()=>Hr(l));var y=zt(w,2);pw(It(y),{id:"new-comment",get placement(){return Hr(n)}}),q(y),ji(y,e=>pt(i,e),()=>Hr(i)),er(()=>{di(m,`transform: translate(${t.pinPos.x}px, ${t.pinPos.y}px);`),li(v,1,ii(["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",!Hr(h)&&"opacity-0 pointer-events-none scale-80"])),li(b,1,ii(["pointer-events-auto glass-shadow text-white rounded-full size-24 flex-center -translate-x-1/2 -translate-y-1/2 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",!Hr(u)&&"opacity-0 pointer-events-none scale-80"])),di(w,`transform: translate(${Hr(d).x}px, ${Hr(d).y}px);`),di(y,`transform: translate(${Hr(s).x}px, ${Hr(s).y}px);`)}),so("click",b,()=>{t.dismissIsolation(),r.hide("new-comment")}),bo(e,f),he()}(e)};To(f,e=>{r.modules.environment.touch||e(m)});var b=zt(f,2);(function(e,t){ue(t,!0);const{modals:r,comments:o,auth:i,win:n,hover:s}=dy();r.register("media-preview");let a=ut(!1);const l=e=>{e||(n.uiOpened=!1)};let c=Qe(()=>r.getData("media-preview")),d=Qe(()=>Hr(c)?.src),u=Qe(()=>Hr(c)?.commentId),h=Qe(()=>Hr(c)?.filename);const p=Qe(()=>Hr(u)?o.data.find(e=>e.id===Hr(u)):null),g=Qe(()=>Hr(p)?.createdBy===i.user?.id),f=async()=>{Hr(u)&&Hr(h)&&(pt(a,!1),await o.removeMedia(Hr(u),Hr(h)))};var m=vo();Ro(At(m),()=>$h,(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();Ro(At(o),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var o=dx(),i=At(o);{const e=(e,t)=>{var r=vo(),o=At(r),i=e=>{var r=lx();Li(r,()=>({...t?.().props,"data-fubi-ignore-all":!0,"data-preview-overlay":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147480000))] bg-black/80 android:bg-black backdrop-blur-lg android:backdrop-blur-none"})),Jo(3,r,()=>ta,()=>({duration:150})),bo(e,r)};To(o,e=>{t?.().open&&e(i)}),bo(e,r)};Ro(i,()=>gd,(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=cx(),i=At(o);Li(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,2147480000))] outline-none"}));var n=It(i);q(i);var s=zt(i,2),l=It(s),p=e=>{{const t=(e,t)=>{Rg(e,Vi({get icon(){return jf},class:"glass bg-neutral-800/80"},()=>t?.().props))};lp(e,{get opened(){return Hr(a)},set opened(e){pt(a,e,!0)},child:t,children:(e,t)=>{Qg(e,{title:"Delete Media",get icon(){return fm},type:"destructive",onclick:f})},$$slots:{child:!0,default:!0}})}};To(l,e=>{Hr(g)&&Hr(u)&&Hr(h)&&e(p)}),Rg(zt(l,2),{get icon(){return sf},class:"glass bg-neutral-800/80",onclick:()=>r.modals["media-preview"]=!1}),q(s),er(()=>{Ci(n,"src",Hr(d)),Ci(n,"width",Hr(c)?.width),Ci(n,"height",Hr(c)?.height)}),Jo(3,i,()=>na,()=>({duration:150,start:.8})),Jo(3,s,()=>na,()=>({duration:200,easing:Ws,start:.8})),bo(e,o)};To(i,e=>{t?.().open&&e(n)}),bo(e,o)};Ro(n,()=>Ih,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,onInteractOutside:e=>{s.ignoreNextClick=!0,e.target?.hasAttribute("data-preview-overlay")||e.preventDefault()},child:e,$$slots:{child:!0}})})}bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,m),he()})(b,{}),function(e,t){ue(t,!0);const{modals:r,project:o,auth:i,router:n,media:s,pb:a}=dy();r.register("report-bug");let l=ut(""),c=ut(wt([])),d=ut(!1),u=ut(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 g(t)},e.click()},g=async e=>{pt(u,null);for(const t of e){if(Hr(c).length>=4){pt(u,"Maximum of 4 files allowed.");break}if(!h.includes(t.type)){pt(u,`File type not allowed: ${t.type}`);continue}if(t.size>5242880){pt(u,"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};Hr(c).push(e);try{const r=await s.compressImage(t,.8),o=Hr(c).findIndex(t=>t.id===e.id);if(-1===o)continue;URL.revokeObjectURL(e.preview),Hr(c)[o]={...Hr(c)[o],file:r.file,preview:URL.createObjectURL(r.file),width:r.width,height:r.height,status:"ready"}}catch{const t=Hr(c).findIndex(t=>t.id===e.id);-1!==t&&(Hr(c)[t]={...Hr(c)[t],status:"error",error:"Compression failed"})}}},f={remove:e=>{const t=Hr(c).findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(Hr(c)[t].preview),Hr(c).splice(t,1))}},m=()=>{for(const e of Hr(c))URL.revokeObjectURL(e.preview);pt(l,""),pt(c,[],!0),pt(u,null),pt(d,!1)},v=async()=>{if(!Hr(l).trim())return;if(Hr(d))return;pt(d,!0),pt(u,null);const e=Cs(),{width:t,height:s}=xs(),h=ks(t),p=new FormData;p.append("project",o.id),i.user?.id&&p.append("user",i.user.id),p.append("description",Hr(l).trim()),p.append("url",window.location.href),p.append("browser",JSON.stringify(e)),p.append("resolution",JSON.stringify({width:t,height:s,device:h})),p.append("logs",JSON.stringify([...Bn])),p.append("meta",JSON.stringify({route:n.current,timestamp:Date.now()}));for(const r of Hr(c))"ready"===r.status&&p.append("media",r.file);const[g]=await gs(a.collection("issues").create(p));if(g)return pt(u,"Failed to submit bug report. Try again."),void pt(d,!1);m(),r.close("report-bug")},b=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(),g(r))},w=()=>{m(),r.close("report-bug")};{const t=e=>{var t,r=px(),o=It(r);t=o,V&&/* @__PURE__ */null!==Et(t)&&Pt(t),Ci(o,"rows",4);var i=zt(o,2),n=e=>{var t=ux();Po(t,23,()=>Hr(c),e=>e.id,(e,t,r)=>{Qv(e,{get entry(){return Hr(t)},get index(){return Hr(r)},get media(){return f}})}),q(t),bo(e,t)};To(i,e=>{Hr(c).length>0&&e(n)});var s=zt(i,2),a=e=>{var t=hx(),r=It(t,!0);q(t),er(()=>ko(r,Hr(u))),bo(e,t)};To(s,e=>{Hr(u)&&e(a)});var d=zt(s,2);{let e=Qe(()=>Hr(c).length>=4);ng(d,{get icon(){return Lf},onclick:p,get disabled(){return Hr(e)}})}q(r),no("paste",o,b),Ei(o,()=>Hr(l),e=>pt(l,e)),bo(e,r)};Cb(e,{title:"Report Bug",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=gx(),o=It(r);pg(o,{small:!0,flex:!0,variant:"ghost",onclick:w,children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}});var i=zt(o,2);{let e=Qe(()=>!Hr(l).trim());pg(i,{small:!0,flex:!0,onclick:v,get loading(){return Hr(d)},get disabled(){return Hr(e)},children:(e,t)=>{K(),bo(e,mo("Submit"))},$$slots:{default:!0}})}q(r),bo(e,r)},$$slots:{content:!0,default:!0}})}he()}(zt(b,2),{}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}}),he()}function eC(e,t){if(!e)throw new Error("Please provide a projectId");if("demo"!==e){const e=new URLSearchParams(window.location.search).has("fubi"),t=JSON.parse(localStorage.getItem("fubi_toolbar_visible")||"false"),r=!!JSON.parse(localStorage.getItem("fubi_auth")||"null")?.token;if(!e&&!t&&!r)return}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-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--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-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-orange-950:oklch(26.6% .079 36.259);--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-yellow-500:oklch(79.5% .184 86.047);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--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-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--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-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-blue-600:oklch(54.6% .245 262.881);--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-purple-500:oklch(62.7% .265 303.9);--color-pink-500:oklch(65.6% .241 354.308);--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;--tracking-wider:.05em;--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);--ease-out-quart:cubic-bezier(.165, .84, .44, 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}.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-4{inset:calc(var(--spacing) * 4)}.inset-6{inset:calc(var(--spacing) * 6)}.inset-8{inset:calc(var(--spacing) * 8)}.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-0{top:calc(var(--spacing) * 0)}.top-1{top:calc(var(--spacing) * 1)}.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-1{right:calc(var(--spacing) * 1)}.right-1\\/2{right:50%}.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)}.right-auto{right:auto}.-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-auto{bottom:auto}.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-10{left:calc(var(--spacing) * 10)}.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-8{z-index:8}.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-\\[calc\\(var\\(--infinity\\,2147480000\\)\\)\\]{z-index:calc(var(--infinity,2147480000))}.z-\\[calc\\(var\\(--infinity\\,2147480000\\)\\+3\\)\\]{z-index:calc(var(--infinity,2147480000) + 3)}.z-\\[calc\\(var\\(--infinity\\,2147480000\\)-1\\)\\]{z-index:calc(var(--infinity,2147480000) - 1)}.col-span-2{grid-column:span 2/span 2}.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)}.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-12{margin-top:calc(var(--spacing) * 12)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-32{margin-top:calc(var(--spacing) * 32)}.mt-auto{margin-top:auto}.-mr-2{margin-right:calc(var(--spacing) * -2)}.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-1{margin-bottom:calc(var(--spacing) * 1)}.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-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)}.size-64{width:calc(var(--spacing) * 64);height:calc(var(--spacing) * 64)}.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-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-36{height:calc(var(--spacing) * 36)}.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-48\\.5{height:calc(var(--spacing) * 48.5)}.h-118{height:calc(var(--spacing) * 118)}.h-120{height:calc(var(--spacing) * 120)}.h-300{height:calc(var(--spacing) * 300)}.h-700{height:calc(var(--spacing) * 700)}.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-lvh{height:100lvh}.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-\\[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-52{min-height:calc(var(--spacing) * 52)}.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-50{width:calc(var(--spacing) * 50)}.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-320{width:calc(var(--spacing) * 320)}.w-550{width:calc(var(--spacing) * 550)}.w-\\[1ch\\]{width:1ch}.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-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-450{max-width:calc(var(--spacing) * 450)}.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-fit{max-width:fit-content}.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-24{min-width:calc(var(--spacing) * 24)}.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}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.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{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-1\\/2{--tw-translate-x:calc(1 / 2 * 100%);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-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-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-full{--tw-translate-y:-100%;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-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;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-grab{cursor:grab}.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}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.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-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-24{gap:calc(var(--spacing) * 24)}.gap-30{gap:calc(var(--spacing) * 30)}.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-hidden{overflow-x:hidden}.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-\\[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-\\[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-\\(--shade-900\\){border-color:var(--shade-900)}.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-\\(--shade-900\\),.bg-\\(--shade-900\\)\\/20{background-color:var(--shade-900)}@supports (color:color-mix(in lab, red, red)){.bg-\\(--shade-900\\)\\/20{background-color:color-mix(in oklab, var(--shade-900) 20%, 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-blue-600{background-color:var(--color-blue-600)}.bg-current,.bg-current\\/10{background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\\/10{background-color:color-mix(in oklab, currentcolor 10%, transparent)}}.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\\/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-500\\/20{background-color:#ff235733}@supports (color:color-mix(in lab, red, red)){.bg-rose-500\\/20{background-color:color-mix(in oklab, var(--color-rose-500) 20%, 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\\/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\\/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-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\\/80{background-color:color-mix(in oklab, var(--color-white) 80%, 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))}.from-\\(--shade-100\\){--tw-gradient-from:var(--shade-100);--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-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-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%}.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-white{--tw-gradient-to:var(--color-white);--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\\.5px\\]{stroke-width:1.5px}.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)}.p-30{padding:calc(var(--spacing) * 30)}.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-20{padding-inline:calc(var(--spacing) * 20)}.px-24{padding-inline:calc(var(--spacing) * 24)}.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-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-8{padding-top:calc(var(--spacing) * 8)}.pt-12{padding-top:calc(var(--spacing) * 12)}.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-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-32{padding-bottom:calc(var(--spacing) * 32)}.pl-1{padding-left:calc(var(--spacing) * 1)}.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-5{padding-left:calc(var(--spacing) * 5)}.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-\\[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-\\[24px\\]\\/none{font-size:24px;line-height:1}.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-lg\\/none{font-size:var(--text-lg);line-height:1}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\\/\\[130\\%\\]{font-size:var(--text-sm);line-height:130%}.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-\\[11px\\]{font-size:11px}.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)}.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)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.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-\\(--shade-50\\){color:var(--shade-50)}.text-\\(--shade-950\\){color:var(--shade-950)}.text-amber-400{color:var(--color-amber-400)}.text-amber-500{color:var(--color-amber-500)}.text-current{color:currentColor}.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-indigo-500{color:var(--color-indigo-500)}.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-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-pink-500{color:var(--color-pink-500)}.text-purple-500{color:var(--color-purple-500)}.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)}}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.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}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.mix-blend-plus-darker{mix-blend-mode:plus-darker}.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)}.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}.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,)}.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-\\[right\\,left\\,top\\,height\\,translate\\,border-radius\\,scale\\,opacity\\]{transition-property:right,left,top,height,translate,border-radius,scale,opacity;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\\,background-color\\,translate\\]{transition-property:width,background-color,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}.duration-2000{--tw-duration:2s;transition-duration:2s}.ease-\\[cubic-bezier\\(\\.6\\,0\\,\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.6,0,.3,1);transition-timing-function:cubic-bezier(.6,0,.3,1)}.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)}.ease-out-quart{--tw-ease:var(--ease-out-quart);transition-timing-function:var(--ease-out-quart)}.will-change-\\[background-color\\,color\\,scale\\]{will-change:background-color,color,scale}.will-change-\\[background-color\\,scale\\]{will-change:background-color,scale}.will-change-\\[background-color\\]{will-change:background-color}.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\\,transform\\]{will-change:opacity,transform}.will-change-\\[opacity\\]{will-change:opacity}.will-change-\\[padding-top\\]{will-change:padding-top}.will-change-\\[right\\,left\\,top\\,height\\,translate\\,border-radius\\,scale\\,opacity\\]{will-change:right,left,top,height,translate,border-radius,scale,opacity}.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\\,background-color\\,translate\\]{will-change:width,background-color,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}.duration-2000{animation-duration:2s}.ease-\\[cubic-bezier\\(\\.6\\,0\\,\\.3\\,1\\)\\]{animation-timing-function:cubic-bezier(.6,0,.3,1)}.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)}.ease-out-quart{animation-timing-function:cubic-bezier(.165,.84,.44,1)}.fade-in-0{--tw-enter-opacity:0}.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\\/checkbox\\:w-32:is(:where(.group\\/checkbox):active *){width:calc(var(--spacing) * 32)}.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\\:bg-transparent:is(:where(.group\\/listitem):disabled *){background-color:#0000}.group-disabled\\/listitem\\:text-current:is(:where(.group\\/listitem):disabled *){color:currentColor}.group-disabled\\/listitem\\:text-neutral-500\\/30:is(:where(.group\\/listitem):disabled *){color:#7373734d}@supports (color:color-mix(in lab, red, red)){.group-disabled\\/listitem\\:text-neutral-500\\/30:is(:where(.group\\/listitem):disabled *){color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.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-checked\\/checkbox\\:translate-x-14:is(:where(.group\\/checkbox):has(:checked) *){--tw-translate-x:calc(var(--spacing) * 14);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-has-checked\\/checkbox\\:bg-white:is(:where(.group\\/checkbox):has(:checked) *){background-color:var(--color-white)}.group-has-checked\\/checkbox\\:group-active\\/checkbox\\:translate-x-10:is(:where(.group\\/checkbox):has(:checked) *):is(:where(.group\\/checkbox):active *){--tw-translate-x:calc(var(--spacing) * 10);translate:var(--tw-translate-x) var(--tw-translate-y)}.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-22:is(:where(.peer):focus~*){bottom:calc(var(--spacing) * 22)}.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-22:is(:where(.peer):not(:placeholder-shown)~*){bottom:calc(var(--spacing) * 22)}.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\\:rounded-t-\\[18px\\]:first-child{border-top-left-radius:18px;border-top-right-radius:18px}.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\\:rounded-b-\\[18px\\]:last-child{border-bottom-right-radius:18px;border-bottom-left-radius:18px}.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-\\(--shade-800\\):hover{background-color:var(--shade-800)}.hover\\:bg-amber-500\\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-amber-500\\/20:hover{background-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.hover\\:bg-green-400\\/20:hover{background-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-green-400\\/20:hover{background-color:color-mix(in oklab, var(--color-green-400) 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-\\(--shade-700\\):hover{color:var(--shade-700)}.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-sky-500:hover{color:var(--color-sky-500)}.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\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-amber-500\\/30:active{background-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-amber-500\\/30:active{background-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.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-green-400\\/30:active{background-color:#05df724d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-green-400\\/30:active{background-color:color-mix(in oklab, var(--color-green-400) 30%, 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-\\[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}.sm\\:border-\\[0\\.7px\\]{border-style:var(--tw-border-style);border-width:.7px}.sm\\:border-\\(--shade-900\\)\\/20{border-color:var(--shade-900)}@supports (color:color-mix(in lab, red, red)){.sm\\:border-\\(--shade-900\\)\\/20{border-color:color-mix(in oklab, var(--shade-900) 20%, transparent)}}}@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\\,2147480000\\)\\+1\\)\\]{z-index:calc(var(--infinity,2147480000) + 1)}.touch\\:z-\\[calc\\(var\\(--infinity\\,2147480000\\)\\+2\\)\\]{z-index:calc(var(--infinity,2147480000) + 2)}.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-\\[26px\\]{height:26px}.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-\\[28px\\]{width:28px}.touch\\:w-\\[34px\\]{width:34px}.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-44{min-height:calc(var(--spacing) * 44)}.mouse\\:min-h-46{min-height:calc(var(--spacing) * 46)}.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-\\[13px\\]\\/none{font-size:13px;line-height:1}.mouse\\:text-\\[15px\\]\\/\\[140\\%\\]{font-size:15px;line-height:140%}.mouse\\:text-\\[18px\\]\\/none{font-size:18px;line-height:1}.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-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\\: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\\: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-10{padding-block:calc(var(--spacing) * 10)}#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-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\\: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}.fubi-pin{display:hidden;opacity:0;pointer-events:none;justify-content:start;align-items:start;width:1px;height:1px;display:flex}.fubi-pin button.fubi-pin-wrapper{transform-origin:0 0;cursor:pointer;background:0 0;border:none;border-radius:2px 16px 16px;flex-shrink:0;justify-content:start;align-items:start;width:32px;height:32px;padding:0;transition:width .2s ease-out,height .2s ease-out,opacity .15s ease-out;display:flex;overflow:hidden}.fubi-pin button.fubi-pin-wrapper:hover,.fubi-pin button.fubi-pin-wrapper.opened{border-radius:2px 12px 12px;width:220px;height:120px}@media (pointer:coarse){.fubi-scrolling .fubi-pin button.fubi-pin-wrapper{opacity:0;pointer-events:none}}.fubi-pin .fubi-pin-card{background:var(--fubi-hover-isolation-color,#0ea5e9);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:2px 12px 12px;width:fit-content;padding:2px;transition:padding .2s ease-out;box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.fubi-pin button.fubi-pin-wrapper:hover .fubi-pin-card,.fubi-pin button.fubi-pin-wrapper.opened .fubi-pin-card{padding:4px}.fubi-pin .fubi-pin-card{overflow:hidden}.fubi-pin .fubi-pin-inner{flex-direction:column;flex-shrink:0;gap:4px;width:212px;display:flex}.fubi-pin svg{position:absolute;top:0;left:0;transform:translate(-4px,-4px)}.fubi-pin img{border-radius:9999px;flex-shrink:0;width:28px;height:28px}.fubi-pin .fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin .fubi-pin-meta{text-align:left;flex-direction:column;justify-content:start;gap:1px;display:flex}.fubi-pin .fubi-pin-author{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;line-height:1;overflow:hidden}.fubi-pin .fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin .fubi-pin-text{color:#ffffffbf;text-align:left;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;max-width:216px;margin:0;padding:4px 4px 0;font-size:13px;font-weight:400;display:-webkit-box;overflow:hidden}.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:2147480000;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}.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}.fubi-pin{display:hidden;opacity:0;pointer-events:none;justify-content:start;align-items:start;width:1px;height:1px;display:flex}.fubi-pin button.fubi-pin-wrapper{transform-origin:0 0;cursor:pointer;background:0 0;border:none;border-radius:2px 16px 16px;flex-shrink:0;justify-content:start;align-items:start;width:32px;height:32px;padding:0;transition:width .2s ease-out,height .2s ease-out,opacity .15s ease-out;display:flex;overflow:hidden}.fubi-pin button.fubi-pin-wrapper:hover,.fubi-pin button.fubi-pin-wrapper.opened{border-radius:2px 12px 12px;width:220px;height:120px}@media (pointer:coarse){.fubi-scrolling .fubi-pin button.fubi-pin-wrapper{opacity:0;pointer-events:none}}.fubi-pin .fubi-pin-card{background:var(--fubi-hover-isolation-color,#0ea5e9);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:2px 12px 12px;width:fit-content;padding:2px;transition:padding .2s ease-out;box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.fubi-pin button.fubi-pin-wrapper:hover .fubi-pin-card,.fubi-pin button.fubi-pin-wrapper.opened .fubi-pin-card{padding:4px}.fubi-pin .fubi-pin-card{overflow:hidden}.fubi-pin .fubi-pin-inner{flex-direction:column;flex-shrink:0;gap:4px;width:212px;display:flex}.fubi-pin svg{position:absolute;top:0;left:0;transform:translate(-4px,-4px)}.fubi-pin img{border-radius:9999px;flex-shrink:0;width:28px;height:28px}.fubi-pin .fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin .fubi-pin-meta{text-align:left;flex-direction:column;justify-content:start;gap:1px;display:flex}.fubi-pin .fubi-pin-author{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;line-height:1;overflow:hidden}.fubi-pin .fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin .fubi-pin-text{color:#ffffffbf;text-align:left;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;max-width:216px;margin:0;padding:4px 4px 0;font-size:13px;font-weight:400;display:-webkit-box;overflow:hidden}</style>'),Co(Qk,{target:i,props:{projectId:e,options:t,wrapper:i,shadowRoot:o}})}export{eC as default};
|
|
2
|
+
return go(e,t,"svg")}function mo(e=""){if(!V){var t=Tt(e+"");return ho(t,t),t}var r=R;return 3!==r.nodeType?(r.before(r=Tt()),U(r)):jt(r),ho(r,r),r}function vo(){if(V)return ho(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=Tt();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=R),void Z()}null!==e&&e.before(t)}function wo(){if(V&&R&&8===R.nodeType&&R.textContent?.startsWith("$")){const e=R.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 Mo(e,t)}var Lo=/* @__PURE__ */new Map;function Mo(e,{target:t,anchor:r,props:o={},events:i,context:s,intro:a=!0,transformError:l}){_t();var c=void 0,d=function(){Pe.ensure();const d=Ut(524352,()=>{var d=r??t.appendChild(Tt());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=R,null===R||8!==R.nodeType||"]"!==R.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 So.set(c,d),c}var So=/* @__PURE__ */new WeakMap;function $o(e,t){const r=So.get(e);return r?(So.delete(e),r(t)):Promise.resolve()}var _o=class{anchor;#z=/* @__PURE__ */new Map;#P=/* @__PURE__ */new Map;#F=/* @__PURE__ */new Map;#N=/* @__PURE__ */new Set;#j=!0;constructor(e,t=!0){this.anchor=e,this.#j=t}#h=()=>{var e=_e;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(Tt()),this.#F.set(e,{effect:o,fragment:t})}else sr(o);this.#N.delete(e),this.#P.delete(e)};this.#j||!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=_e,o=Ft();if(t&&!this.#P.has(e)&&!this.#F.has(e))if(o){var i=document.createDocumentFragment(),n=Tt();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=R),this.#h()}};function To(e,t,r=!1){var o;V&&(o=R,Z());var i=new _o(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,Oo=Symbol("NaN");function Io(e,t,r){V&&Z();var o=new _o(e);tr(()=>{var e=t();e!=e&&(e=Oo),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(Tt())}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),jo(c,b,r),m=[],v=[],g=Fo((f=c).next);continue}jo(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)jo(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),jo(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 M=C.length;if(M>0){var S=4&o&&0===h?r:null;if(u){for(d=0;d<M;d+=1)C[d].nodes?.a?.measure();for(d=0;d<M;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,S)}}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,jo(p,null,c)):ur(p):cr(p,()=>{p=null}))}var v={effect:tr(()=>{var e=(h=Hr(g)).length;let r=!1;V&&"[!"===X(c)!=(0===e)&&(U(c=G()),B(!1),r=!0);for(var n=/* @__PURE__ */new Set,u=_e,v=Ft(),b=0;b<e;b+=1){V&&8===R.nodeType&&"]"===R.data&&(c=R,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??=Tt(),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??=Tt()))).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),Hr(g)}),flags:o,items:d,outrogroups:null,fallback:p};f=!1,V&&(c=R)}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 jo(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__ */Ot(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 Ho(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=R.data,c=Z(),d=c;null!==c&&(8!==c.nodeType||""!==c.data);)d=c,c=/* @__PURE__ */Ot(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(R,d),void(s=U(c))}var u=Nt(o?"svg":i?"math":"template",o?H: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 Wo(e,r,...o){var i=new _o(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 Ro(e,t,r){var o;V&&(o=R,Z());var i=new _o(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){Rt(()=>{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,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 Rt(()=>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=Qo(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=Qo(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 Qo(e,t,r,o,i){var n=1===o;if(p(t)){var s,a=!1;return me(()=>{a||(s=Qo(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 ei(e,r,o,i,n,s){let a=V;V&&Z();var l=t&&s&&oe?.function[D],c=null;V&&1===R.nodeType&&(c=R,Z());var d=V?R:e,u=xr,h=new _o(d,!1);tr(()=>{const e=r()||null;var a=n?n():o||"svg"===e?H: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(Tt());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 ti(e,t){var r,o=void 0;rr(()=>{o!==(o=t())&&(r&&(sr(r),r=null),o&&(r=or(()=>{Jt(()=>o(e))})))})}function ri(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=ri(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function oi(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=ri(e))&&(o&&(o+=" "),o+=t);return o}function ii(e){return"object"==typeof e?oi(e):e??""}var ni=[..." \t\n\r\f \v\ufeff"];function si(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 ai(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function li(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&&!ni.includes(o[s-1])||a!==o.length&&!ni.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 ci(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 di(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(ai)),o&&l.push(...Object.keys(o).map(ai));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=ai(e.substring(c,d).trim());l.includes(p)||(";"!==h&&u++,i+=" "+e.substring(c,u).trim()+";")}c=u+1,d=-1}}}return r&&(i+=si(r)),o&&(i+=si(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)?(ci(e,r?.[0],o[0]),ci(e,r?.[1],o[1],"important")):ci(e,r,o));return o}function ui(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(hi(i))}else{for(i of e.options)if(kt(hi(i),t))return void(i.selected=!0);o&&void 0===t||(e.selectedIndex=-1)}}function hi(e){return"__value"in e?e.__value:e.value}var pi=Symbol("class"),gi=Symbol("style"),fi=Symbol("is custom element"),mi=Symbol("is html"),vi=I?"link":"LINK",bi=I?"input":"INPUT",wi=I?"option":"OPTION",yi=I?"select":"SELECT";function xi(e){if(V){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;Ci(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var o=e.checked;Ci(e,"checked",null),e.checked=o}}};e.__on_r=r,me(r),Wt()}}function ki(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function Ci(e,r,o,i){var n=Mi(e);V&&(n[r]=e.getAttribute(r),"src"===r||"srcset"===r||"href"===r&&e.nodeName===vi)?i||function(e,r,o){t&&("srcset"===r&&function(e,t){var r=Ti(e.srcset),o=Ti(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[T]=o),null==o?e.removeAttribute(r):"string"!=typeof o&&$i(e).includes(r)?e[r]=o:e.setAttribute(r,o))}function Li(e,t,r=[],o=[],i=[],n,s=!1,a=!1){qe(i,r,o,r=>{var o=void 0,i={},l=e.nodeName===yi,c=!1;if(rr(()=>{var d=t(...r.map(Hr)),u=function(e,t,r,o,i=!1,n=!1){if(V&&i&&e.nodeName===bi){var s=e;("checkbox"===s.type?"defaultChecked":"defaultValue")in r||xi(s)}var a=Mi(e),l=a[fi],c=!a[mi];let d=V&&l;d&&B(!1);var u=t||{},h=e.nodeName===wi;for(var p in t)p in r||(r[p]=null);r.class?r.class=ii(r.class):(o||r[pi])&&(r.class=null),r[gi]&&(r.style??=null);var g=$i(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 M(e){u[y].call(this,e)}u[C]=oo(L,e,M,k)}}else if("style"===y)Ci(e,y,x);else if("autofocus"===y)Dt(e,Boolean(x));else if(l||"__value"!==y&&("value"!==y||null==x))if("selected"===y&&h)ki(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]=j)):"function"!=typeof x&&Ci(e,b,x,n);else if(a[y]=null,"value"===b||"checked"===b){let S=e;const $=void 0===t;if("value"===b){let _=S.defaultValue;S.removeAttribute(b),S.defaultValue=_,S.value=S.__value=$?_:null}else{let T=S.defaultChecked;S.removeAttribute(b),S.defaultChecked=T,S.checked=!!$&&T}}else e.removeAttribute(y)}else e.value=e.__value=x}}else di(e,x,t?.[gi],r[gi]),u[y]=x,u[gi]=r[gi];else li(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,x,o,t?.[pi],r[pi]),u[y]=x,u[pi]=r[pi]}return d&&B(!0),u}(e,o,d,n,s,a);c&&l&&"value"in d&&ui(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(()=>ti(e,()=>h))),u[t]=h}o=u}),l){var d=e;Jt(()=>{ui(d,o.value,!0),function(e){var t=new MutationObserver(()=>{ui(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??={[fi]:e.nodeName.includes("-"),[mi]:"http://www.w3.org/1999/xhtml"===e.namespaceURI}}var Si=/* @__PURE__ */new Map;function $i(e){var t,r=e.getAttribute("is")||e.nodeName,o=Si.get(r);if(o)return o;Si.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 Ti(e){return e.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function Ei(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=Ii(e)?Ai(s):s,o(s),null!==_e&&i.add(_e),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(Ii(e)?Ai(e.value):e.value),null!==_e&&i.add(_e)),Qt(()=>{t&&"checkbox"===e.type&&z();var o=r();if(e===document.activeElement){var n=Te??_e;if(i.has(n))return}Ii(e)&&o===Ai(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 Ii(e){var t=e.type;return"number"===t||"range"===t}function Ai(e){return""===e?null:+e}var zi=class e{#H=/* @__PURE__ */new WeakMap;#W;#R;static entries=/* @__PURE__ */new WeakMap;constructor(e){this.#R=e}observe(e,t){var r=this.#H.get(e)||/* @__PURE__ */new Set;return r.add(t),this.#H.set(e,r),this.#V().observe(e,this.#R),()=>{var r=this.#H.get(e);r.delete(t),0===r.size&&(this.#H.delete(e),this.#W.unobserve(e))}}#V(){return this.#W??(this.#W=new ResizeObserver(t=>{for(var r of t)for(var o of(e.entries.set(r.target,r),this.#H.get(r.target)||[]))o(r)}))}},Pi=/* @__PURE__ */new zi({box:"border-box"});function Fi(e,t,r){var o=Pi.observe(e,()=>r(e[t]));Jt(()=>(Vr(()=>r(e[t])),o))}function Ni(e,t){return e===t||e?.[$]===t}function ji(e={},t,r,o){return Jt(()=>{var i,n;return Qt(()=>{i=n,n=o?.()||[],Vr(()=>{e!==r(...n)&&(t(e,...n),i&&Ni(r(...i),e)&&t(null,...i))})}),()=>{me(()=>{n&&Ni(r(...n),e)&&t(null,...n)})}}),e}var Di=!1,Hi={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},Hi)}var Ri={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===_)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 Vi(...e){return new Proxy({props:e},Ri)}function Bi(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||_ 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=Di;try{return Di=!1,[e[r],Di]}finally{Di=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&&Hr(b);var w=xr;return function(e,t){if(arguments.length>0){const r=t?Hr(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:Hr(b)}}if("function"==typeof HTMLElement&&HTMLElement,t){function tC(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}})}}tC("$state"),tC("$effect"),tC("$derived"),tC("$inspect"),tC("$props"),tC("$bindable")}function Ui(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 Zi=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}}},qi=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Ki(e,t,r){const o=Object.assign({},r||{}),i=o.encode||Xi;if(!qi.test(e))throw new TypeError("argument name is invalid");const n=i(t);if(n&&!qi.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(!qi.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!qi.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 Gi(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Xi(e){return encodeURIComponent(e)}var Yi,Ji="undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal;function Qi(e){if(e)try{const t=decodeURIComponent(Yi(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 en(e,t=0){let r=Qi(e);return!(Object.keys(r).length>0&&(!r.exp||r.exp-t>Date.now()/1e3))}Yi="function"!=typeof atob||Ji?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 tn="pb_auth",rn=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!en(this.token)}get isSuperuser(){let e=Qi(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"==Qi(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=tn){const r=function(e){const t={};if("string"!=typeof e)return t;const r=Object.assign({},{}).decode||Gi;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=tn){const r={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},o=Qi(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=Ki(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=Ki(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)}},on=class extends rn{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)})}},nn=class{constructor(e){this.client=e}},sn=class extends nn{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)}},an=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function ln(e){if(e){e.query=e.query||{};for(let t in e)an.includes(t)||(e.query[t]=e[t],delete e[t])}}function cn(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=dn(e),null!==e&&t.push(o+"="+e)}return t.join("&")}function dn(e){return null==e?null:e instanceof Date?encodeURIComponent(e.toISOString().replace("T"," ")):"object"==typeof e?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)}var un=class extends nn{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){ln(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 Zi(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=[]}}},hn=class extends nn{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 Zi({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 Zi({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 pn(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 gn(e){e._resetAutoRefresh?.()}var fn=class extends hn{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||gn(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){gn(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)&&gn(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&&en(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=pn(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=mn(void 0));const o=new un(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 Zi(/* @__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 Zi({isAbort:!0,message:"manually cancelled"}))}),o.onDisconnect=e=>{e.length&&l&&(i(),l(new Zi(/* @__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 Zi(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=mn(e)})(d)}catch(e){c?.signal?.onabort&&(c.signal.onabort=null),i(),l(new Zi(e))}})}).catch(e=>{throw i(),e})}async authRefresh(e,t){let r={method:"POST"};return r=pn(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=pn(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=pn(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=pn(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=pn(0,o,t,r),this.client.send(this.baseCollectionPath+"/confirm-verification",o).then(()=>{const t=Qi(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=pn(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=pn(0,i,r,o),this.client.send(this.baseCollectionPath+"/confirm-email-change",i).then(()=>{const t=Qi(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 En(this.client.baseURL,new rn,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 mn(e){if("undefined"==typeof window||!window?.open)throw new Zi(/* @__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 vn=class extends hn{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)}},bn=class extends nn{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 Zi({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)}},wn=class extends nn{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}},yn=class extends nn{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=cn(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||"")}},xn=class extends nn{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)}`)}},kn=class extends nn{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 Cn(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 Ln(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(Cn(e))return!0}return!1}var Sn=/^[\-\.\d]+$/;function $n(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")&&Sn.test(e)){let t=+e;if(""+t===e)return t}return e}var _n=class extends nn{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new Tn(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)}},Tn=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(ln(t),e.headers=t.headers,e.json={},e.files={},void 0!==t.query){const r=cn(t.query);r&&(e.url+=(e.url.includes("?")?"&":"?")+r)}let r=t.body;Ln(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($n(e))):t[r]=$n(e)}),t}(r));for(const o in r){const t=r[o];if(Cn(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)Cn(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}}},En=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 rn:this.authStore=new on,this.collections=new vn(this),this.files=new yn(this),this.logs=new bn(this),this.settings=new sn(this),this.realtime=new un(this),this.health=new wn(this),this.backups=new xn(this),this.crons=new kn(this)}get admins(){return this.collection("_superusers")}createBatch(){return new _n(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new fn(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=cn(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 Zi({url:e.url,status:e.status,data:r});return r}).catch(e=>{throw new Zi(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||Ln(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),ln(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")||Ln(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(),In=/* @__PURE__ */new Date(Date.now()-36e5).toISOString(),An=/* @__PURE__ */new Date(Date.now()-864e5).toISOString(),zn=/* @__PURE__ */new Date(Date.now()-1728e5).toISOString(),Pn={id:"demo_user_1",collectionId:"_pb_users_auth_",collectionName:"users",created:zn,updated:On,email:"john.lock@gmail.com",emailVisibility:!0,firstName:"John",lastName:"Lock",avatar:"https://demo.fubi.dev/avatar1.jpeg",verified:!0,settings:{}},Fn={id:"demo_user_2",collectionId:"_pb_users_auth_",collectionName:"users",created:zn,updated:On,email:"sarah@fubi.dev",emailVisibility:!0,firstName:"Sarah",lastName:"Smith",avatar:"https://demo.fubi.dev/avatar3.jpeg",verified:!0,settings:{}},Nn={id:"demo_team",collectionId:"teams_col",collectionName:"teams",created:zn,updated:On,name:"Demo Team",slug:"demo-team",admin:Pn.id,members:[Pn.id,Fn.id],guests:[]},jn={id:"demo",collectionId:"projects_col",collectionName:"projects",created:zn,updated:On,name:"Demo Project",slug:"demo-project",origin:"",expand:{team:{...Nn,expand:{admin:Pn,members:[Pn,Fn]}}}};function Dn(){const e=window.location.origin,t=window.location.pathname,r={id:"demo_folder_1",collectionId:"folders_col",collectionName:"folders",created:zn,updated:On,name:"Internal Feedback",description:"Let's test the website",project:"demo",expand:{guests:[],project:{...jn,expand:{team:{...Nn,expand:{admin:Pn,members:[Pn,Fn]}}}},folder_notifications_via_folder:[],pages_via_folder:[]}},o={id:"demo_page_1",collectionId:"pages_col",collectionName:"pages",created:zn,updated:On,name:"/"===t?"Homepage":document.title||t,pathname:t,folder:"demo_folder_1",createdBy:Pn.id},i=[{id:"demo_comment_1",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,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:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_2",collectionId:"comments_col",collectionName:"comments",created:An,updated:An,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:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_3",collectionId:"comments_col",collectionName:"comments",created:zn,updated:An,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:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_4",collectionId:"comments_col",collectionName:"comments",created:zn,updated:In,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:In,priority:"",media:[],mentions:[],info:{browser:["Firefox","132.0"],resolution:[1680,1050],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_5",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:[Pn.id],info:{browser:["Safari","18.2"],resolution:[393,852],meta:!1},createdBy:Fn.id,expand:{createdBy:Fn,mentions:[Pn],thread_notifications_via_comment:[]}},{id:"demo_comment_6",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:Pn.id,expand:{createdBy:Pn,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:zn,updated:On,service:"app",maintenance:!1,title:"",message:""}],projects:[jn],teams:[Nn],domains:[{id:"demo_domain_1",collectionId:"domains_col",collectionName:"domains",created:zn,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:[Pn,Fn],logs:[]}}var Hn="fubi_demo_data",Wn=class{record={...Pn};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)}},Rn=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(Hn,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||Pn,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:Pn}}async authRefresh(){return{token:"demo_token",record:Pn}}};function Vn(e=!0){let t;if(e)try{const e=localStorage.getItem(Hn);t=e?JSON.parse(e):Dn()}catch{t=Dn()}else t=Dn();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 Rn(t,r,e)),i.get(t)},authStore:o,send:async(e,t)=>({})}}var Bn=[];function Un(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(" ");Bn.push({timestamp:Date.now(),module:e,level:t,message:o}),Bn.length>1e3&&Bn.shift()}function Zn(e){return{info:(...t)=>{Un(e,"info",t)},error:(...t)=>{Un(e,"error",t)},warn:(...t)=>{Un(e,"warn",t)},ok:(...t)=>{Un(e,"ok",t)},table:(e,t)=>{},group:e=>{},groupEnd:()=>{}}}var qn="undefined"!=typeof window?window:void 0;"undefined"!=typeof window&&window.document,"undefined"!=typeof window&&window.navigator,"undefined"!=typeof window&&window.location;var Kn=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 Hr(this.#U),!1;o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Hr(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 Hr(this.#U);o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Hr(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(){Hr(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)Hr(o)}keys(){return Hr(this.#U),super.keys()}values(){return this.#G(),super.values()}entries(){return this.#G(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return Hr(this.#Z),super.size}};Symbol(),URLSearchParams,Symbol.iterator;function Gn(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=qn,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 Xn=class{#J;#Q=0;#ee=Qe(()=>Gn(this.#Q)??0);#te=null;#re=null;#oe=ut(0);#ie=ut(!1);#ne=qn;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(!Hr(this.#ie)||!this.#ne)return;null===this.#te&&(this.#te=e);const t=e-this.#te,r=1e3/t;Hr(this.#ee)&&r>Hr(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(){Hr(this.#ie)?this.stop():this.start()}get fps(){return Hr(this.#ie)?Hr(this.#oe):0}get running(){return Hr(this.#ie)}};function Yn(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 Jn(e,t,r){Yn(e,"post",t,r)}function Qn(){}function es(e,t,r,o){Kt(()=>{const i=Gn(e);if(null==i)return;const n=Gn(t);if(!Array.isArray(n))return io(i,n,r,o);for(const e of n)Kt(()=>io(i,e,r,o))})}function ts(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?.(),ts(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}Jn.pre=function(e,t,r){Yn(e,"pre",t,r)};var rs,os=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:qn;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 ts(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){}}},is=class{#R;#me=Qe(()=>Gn(this.#R.element));get element(){return Hr(this.#me)}set element(e){pt(this.#me,e)}#ve=Qe(()=>Gn(this.#R?.idle,200));get idle(){return Hr(this.#ve)}set idle(e){pt(this.#ve,e)}#be=Qe(()=>Gn(this.#R.offset,{left:0,right:0,top:0,bottom:0}));get offset(){return Hr(this.#be)}set offset(e){pt(this.#be,e)}#we=Qe(()=>this.#R.onScroll??Qn);get onScroll(){return Hr(this.#we)}set onScroll(e){pt(this.#we,e)}#ye=Qe(()=>this.#R.onStop??Qn);get onStop(){return Hr(this.#ye)}set onStop(e){pt(this.#ye,e)}#xe=Qe(()=>this.#R.eventListenerOptions??{capture:!1,passive:!0});get eventListenerOptions(){return Hr(this.#xe)}set eventListenerOptions(e){pt(this.#xe,e)}#ke=Qe(()=>Gn(this.#R.behavior,"auto"));get behavior(){return Hr(this.#ke)}set behavior(e){pt(this.#ke,e)}#Ce=Qe(()=>this.#R.onError??(e=>{}));get onError(){return Hr(this.#Ce)}set onError(e){pt(this.#Ce,e)}#Le=ut(0);get internalX(){return Hr(this.#Le)}set internalX(e){pt(this.#Le,e,!0)}#Me=ut(0);get internalY(){return Hr(this.#Me)}set internalY(e){pt(this.#Me,e,!0)}#Se=Qe(()=>this.internalX);get x(){return Hr(this.#Se)}set x(e){this.scrollTo(e,void 0)}#$e=Qe(()=>this.internalY);get y(){return Hr(this.#$e)}set y(e){this.scrollTo(void 0,e)}#_e=ut(!1);get isScrolling(){return Hr(this.#_e)}set isScrolling(e){pt(this.#_e,e,!0)}#Te=ut(wt({left:!0,right:!1,top:!0,bottom:!1}));get arrived(){return Hr(this.#Te)}set arrived(e){pt(this.#Te,e,!0)}#Ee=ut(wt({left:!1,right:!1,top:!1,bottom:!1}));get directions(){return Hr(this.#Ee)}set directions(e){pt(this.#Ee,e,!0)}#Oe=ut(wt({x:0,y:0}));get progress(){return Hr(this.#Oe)}set progress(e){pt(this.#Oe,e,!0)}constructor(e){this.#R=e,es(()=>this.element,"scroll",this.#Ie,this.eventListenerOptions),es(()=>this.element,"scrollend",e=>this.onScrollEnd(e),this.eventListenerOptions),Ui(()=>{this.setArrivedState()}),new Xn(()=>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};#Ie=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(()=>Gn(t,250));function i(...t){if(Hr(r))Hr(r).timeout&&clearTimeout(Hr(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 Hr(r).runner=async()=>{if(!Hr(r))return;const o=Hr(r);pt(r,null);try{o.resolve(await e.apply(this,t))}catch(i){o.reject(i)}},Hr(r).timeout=setTimeout(Hr(r).runner,Hr(o)),Hr(r).promise}return i.cancel=async()=>{(Hr(r)&&null!==Hr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Hr(r)&&null!==Hr(r).timeout))&&(clearTimeout(Hr(r).timeout),Hr(r).reject("Cancelled"),pt(r,null))},i.runScheduledNow=async()=>{(Hr(r)&&Hr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Hr(r)&&Hr(r).timeout))&&(clearTimeout(Hr(r).timeout),Hr(r).timeout=null,await(Hr(r).runner?.()))},Object.defineProperty(i,"pending",{enumerable:!0,get:()=>!!Hr(r)?.timeout}),i}(this.onScrollEnd,()=>this.idle)},ns=Zn("telemetry"),ss=class{modules;#Ae=ut(!1);get loading(){return Hr(this.#Ae)}set loading(e){pt(this.#Ae,e,!0)}#ze=ut(!1);get ready(){return Hr(this.#ze)}set ready(e){pt(this.#ze,e,!0)}log=Zn(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:Bn,data:r||null}),ns[e](t,...r?[r]:[])}catch(qi){ns[e](t,...r?[r]:[])}};storage(e,t,r){const o=new os(t,r);Object.defineProperty(this,e,{get:()=>o.current,set:e=>{o.current=e},enumerable:!0,configurable:!0})}},as=class extends ss{singleton;expand;#Pe=ut(wt([]));get data(){return Hr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Fe=ut(null);get record(){return Hr(this.#Fe)}set record(e){pt(this.#Fe,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#je=ut(1);get page(){return Hr(this.#je)}set page(e){pt(this.#je,e,!0)}#De=ut(50);get perPage(){return Hr(this.#De)}set perPage(e){pt(this.#De,e,!0)}#He=Qe(()=>0===this.data.length);get empty(){return Hr(this.#He)}set empty(e){pt(this.#He,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("*")}},ls=class extends as{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 cs(){try{if(navigator.vibrate)return void navigator.vibrate(50);if(void 0===rs&&(rs="undefined"!=typeof window&&window.matchMedia("(pointer: coarse)").matches),!rs)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{}}cs.confirm=()=>{navigator.vibrate?navigator.vibrate([50,70,50]):(cs(),setTimeout(()=>cs(),120))},cs.error=()=>{navigator.vibrate?navigator.vibrate([50,70,50,70,50]):(cs(),setTimeout(()=>cs(),120),setTimeout(()=>cs(),240))};var ds=cs,us=Zn("utils");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`${uy}/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`}async function vs(e){const t=e;if(!t||"data:,GIF89a"===t)return null;try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP ${e.status}`);const r=await e.blob(),o=function(e,t){try{const r=new URL(e).pathname.split("/").pop()||"share-image";return r.includes(".")?r:`${r}.${t.split("/")[1]||"jpg"}`}catch{return"share-image.jpg"}}(t,r.type);return new File([r],o,{type:r.type})}catch(r){return us.error("Failed to download image:",r),null}}function bs(){const e=new URL(window.location.href).searchParams.get("fubi");return e?e.split("."):null}function ws(){const e=new URL(window.location.href);e.searchParams.delete("fubi"),window.history.replaceState({},"",e)}function ys(e,t){return(e.match(t)||[])[2]||"0.0.0.0"}function xs(){return{width:window.innerWidth,height:window.innerHeight}}function ks(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 Cs(){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:ys(e,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:t,version:ys(e,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:t,version:ys(e,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:t,version:ys(e,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:t,version:ys(e,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:t,version:ys(e,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:t,version:ys(e,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:t,version:ys(e,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const r=ys(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 Ls(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(0)} KB`:`${(e/1048576).toFixed(2)} MB`}var Ms="https://dash.fubi.dev",Ss=class extends ss{#We=ut("");get id(){return Hr(this.#We)}set id(e){pt(this.#We,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}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.log.ok(`Project fetched: ${r.name}, (${r.id})`),this.loading=!1,this.ready=!0,this.current=r,this.emit("project:ready",{project:r}),r)}},$s=class extends ss{#Re=ut(null);get user(){return Hr(this.#Re)}set user(e){pt(this.#Re,e,!0)}#Ne=ut("");get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#Ve=Qe(()=>this.user?ps({...this.user,collectionName:"users"},"avatar"):null);get avatarUrl(){return Hr(this.#Ve)}set avatarUrl(e){pt(this.#Ve,e)}#Be=Qe(()=>this.avatarUrl?this.avatarUrl+"?thumb=64x64":null);get avatarThumbUrl(){return Hr(this.#Be)}set avatarThumbUrl(e){pt(this.#Be,e)}#Ue=Qe(()=>Ms+"/?redirect=/account");get accountUrl(){return Hr(this.#Ue)}set accountUrl(e){pt(this.#Ue,e)}#Ze=Qe(()=>`${this.user?.firstName} ${this.user?.lastName}`);get accountName(){return Hr(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 ds.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)}},_s=class extends ss{#H=ut(wt(/* @__PURE__ */new Map));get listeners(){return Hr(this.#H)}set listeners(e){pt(this.#H,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 ss{wrapper;#qe=ut(!1);get hovering(){return Hr(this.#qe)}set hovering(e){pt(this.#qe,e,!0)}#Ke=ut(!1);get focusWithin(){return Hr(this.#Ke)}set focusWithin(e){pt(this.#Ke,e,!0)}#Ge=ut(!1);get opened(){return Hr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#Xe=ut(!1);get visible(){return Hr(this.#Xe)}set visible(e){pt(this.#Xe,e,!0)}#Ye=ut(null);get lastUsedFeature(){return Hr(this.#Ye)}set lastUsedFeature(e){pt(this.#Ye,e,!0)}#Je=ut(!0);get minimized(){return Hr(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.close()}),this.on("hover:enabled",()=>{this.opened&&this.close()}),this.on("hover:disabled",()=>{this.opened&&this.close()}),this.on("sheet:opened",()=>{this.opened&&this.close()}),this.modules.keys.onPress("Escape",()=>this.handleEscape()),this.checkForParam()}open(){ds(),this.opened=!0,this.emit("toolbar:opened")}close(){this.opened=!1,this.emit("toolbar:closed")}toggle(){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}},Es=class extends ss{handlers=/* @__PURE__ */new Map;upHandlers=/* @__PURE__ */new Map;#Qe=ut(wt({key:null,code:null,ctrlKey:!1,metaKey:!1,altKey:!1}));get active(){return Hr(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}},Os=class extends ss{#We=ut("");get id(){return Hr(this.#We)}set id(e){pt(this.#We,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ne=ut(null);get error(){return Hr(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 Hr(this.#et)}set hasAccess(e){pt(this.#et,e)}#tt=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 Hr(this.#tt)}set role(e){pt(this.#tt,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.subscribe(),this.loading=!1,this.ready=!0,this.emit("team:ready",{team:e})):(this.loading=!1,this.emit("team:error",{error:this.error})),e}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),await this.fetchTeam()}),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 as{name="folders";expand="guests,project.team,project.team.admin,project.team.members,folder_notifications_via_folder,pages_via_folder.comments_via_page";sort="-updated";#rt=Qe(()=>!this.ready||this.data.length>0);get canAccess(){return Hr(this.#rt)}set canAccess(e){pt(this.#rt,e)}current={};#ot=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 Hr(this.#ot)}set users(e){pt(this.#ot,e)}#it=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 Hr(this.#it)}set foldersWithStats(e){pt(this.#it,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?`${Ms}/?redirect=/${this.modules.team.current.slug}/${this.modules.project.current?.slug}`:Ms,label:"Manage Project Folders",external:!0},action:"refresh"},"folders"),void this.modules.router.goto("error");const e=bs()?.[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}},As=class extends as{name="pages";#nt=ut(null);get url(){return Hr(this.#nt)}set url(e){pt(this.#nt,e,!0)}#st=ut(!1);get valid(){return Hr(this.#st)}set valid(e){pt(this.#st,e,!0)}sort="name";#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#at=ut(wt(this.current?.name));get pageName(){return Hr(this.#at)}set pageName(e){pt(this.#at,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#lt=Qe(()=>!this.current?.id);get isNew(){return Hr(this.#lt)}set isNew(e){pt(this.#lt,e)}#ct=ut(wt({favicon:"",shareimage:"",title:"",description:""}));get meta(){return Hr(this.#ct)}set meta(e){pt(this.#ct,e,!0)}#dt=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 Hr(this.#dt)}set pagesWithStats(e){pt(this.#dt,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?.()}},zs=class extends ss{_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 Ps(e){return"[object Date]"===Object.prototype.toString.call(e)}function Fs(e,t,r,o){if("number"==typeof r||Ps(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,Ps(r)?new Date(r.getTime()+s):r+s)}if(Array.isArray(r))return r.map((i,n)=>Fs(e,t[n],r[n],o[n]));if("object"==typeof r){const i={};for(const n in r)i[n]=Fs(e,t[n],r[n],o[n]);return i}throw new Error(`Cannot spring ${typeof r} values`)}var Ns=class e{#ut=/* @__PURE__ */ut(.15);#ht=/* @__PURE__ */ut(.8);#pt=/* @__PURE__ */ut(.01);#ae;#gt;#ft=void 0;#mt=0;#vt=1;#bt=0;#wt=null;#i=null;constructor(e,r={}){this.#ae=t?ee(/* @__PURE__ */ut(e),"Spring.current"):/* @__PURE__ */ut(e),this.#gt=t?ee(/* @__PURE__ */ut(e),"Spring.target"):/* @__PURE__ */ut(e),"number"==typeof r.stiffness&&(this.#ut.v=js(r.stiffness,0,1)),"number"==typeof r.damping&&(this.#ht.v=js(r.damping,0,1)),"number"==typeof r.precision&&(this.#pt.v=r.precision),t&&(ee(this.#ut,"Spring.stiffness"),ee(this.#ht,"Spring.damping"),ee(this.#pt,"Spring.precision"),ee(this.#ae,"Spring.current"),ee(this.#gt,"Spring.target"))}static of(t,r){const o=new e(t(),r);return Qt(()=>{o.set(t())}),o}#ue(e){if(pt(this.#gt,e),this.#ae.v??=e,this.#ft??=this.#ae.v,!this.#wt){this.#mt=Vo.now();var t=1e3/(60*this.#bt);this.#wt??=Uo(e=>{this.#vt=Math.min(this.#vt+t,1);const r=Math.min(e-this.#mt,1e3/30),o={inv_mass:this.#vt,opts:{stiffness:this.#ut.v,damping:this.#ht.v,precision:this.#pt.v},settled:!0,dt:60*r/1e3};var i=Fs(o,this.#ft,this.#ae.v,this.#gt.v);return this.#ft=this.#ae.v,this.#mt=e,pt(this.#ae,i),o.settled&&(this.#wt=null),!o.settled})}return this.#wt.promise}set(e,t){if(this.#i?.reject(/* @__PURE__ */new Error("Aborted")),t?.instant||void 0===this.#ae.v)return this.#wt?.abort(),this.#wt=null,pt(this.#ae,pt(this.#gt,e)),this.#ft=e,Promise.resolve();t?.preserveMomentum&&(this.#vt=0,this.#bt=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 Hr(this.#ae)}get damping(){return Hr(this.#ht)}set damping(e){pt(this.#ht,js(e,0,1))}get precision(){return Hr(this.#pt)}set precision(e){pt(this.#pt,e)}get stiffness(){return Hr(this.#ut)}set stiffness(e){pt(this.#ut,js(e,0,1))}get target(){return Hr(this.#gt)}set target(e){this.set(e)}};function js(e,t,r){return Math.max(t,Math.min(r,e))}function Ds(e){const t=1.70158;return--e*e*((t+1)*e+t)+1}function Hs(e){return e*e*e}function Ws(e){const t=e-1;return t*t*t+1}function Rs(e){return 1===e?e:1-Math.pow(2,-10*e)}var Vs=class extends ss{#yt=ut();get el(){return Hr(this.#yt)}set el(e){pt(this.#yt,e,!0)}#xt=ut(!1);get uiOpened(){return Hr(this.#xt)}set uiOpened(e){pt(this.#xt,e,!0)}#kt=ut();get contentScrollState(){return Hr(this.#kt)}set contentScrollState(e){pt(this.#kt,e,!0)}height=new Ns(0,{stiffness:.2,damping:.4});#Ct=ut(wt({bottom:0,middle:this.calculateBreakpoint(),top:this.calculateBreakpoint(.99)}));get breakpoints(){return Hr(this.#Ct)}set breakpoints(e){pt(this.#Ct,e,!0)}#Lt=ut(wt(this.breakpoints.middle));get currentBreakpoint(){return Hr(this.#Lt)}set currentBreakpoint(e){pt(this.#Lt,e,!0)}#Mt=ut(wt(this.breakpoints.middle));get nextBreakpoint(){return Hr(this.#Mt)}set nextBreakpoint(e){pt(this.#Mt,e,!0)}#St=ut(wt({active:!1,startX:0,startY:0,startWidth:0,startHeight:0}));get resizing(){return Hr(this.#St)}set resizing(e){pt(this.#St,e,!0)}#$t=ut(wt({active:!1,start:0,current:0,difference:0,startHeight:0,height:0,direction:null,hasMoved:!1}));get dragging(){return Hr(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(){ds(),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()}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)}}},Bs="cubic-bezier(0.32, 0.72, 0, 1)",Us="ease-out",Zs=`transform 0.5s ${Bs}`,qs=`transform 0.3s ${Us}`,Ks=`opacity 0.5s ${Bs}`,Gs=`opacity 0.3s ${Us}`,Xs=class extends ss{#yt=ut();get el(){return Hr(this.#yt)}set el(e){pt(this.#yt,e,!0)}#_t=ut(null);get overlayEl(){return Hr(this.#_t)}set overlayEl(e){pt(this.#_t,e,!0)}#Tt=ut(!1);get isVisible(){return Hr(this.#Tt)}set isVisible(e){pt(this.#Tt,e,!0)}#Et=ut(!1);get isClosing(){return Hr(this.#Et)}set isClosing(e){pt(this.#Et,e,!0)}#Ot=ut(!1);get willClose(){return Hr(this.#Ot)}set willClose(e){pt(this.#Ot,e,!0)}#xt=ut(!1);get uiOpened(){return Hr(this.#xt)}set uiOpened(e){pt(this.#xt,e,!0)}onClosed=null;snapPoints=[.35,1];fadeFromIndex=0;#It=ut(0);get activeSnapIndex(){return Hr(this.#It)}set activeSnapIndex(e){pt(this.#It,e,!0)}get collapsed(){return this.modules.environment.touch&&this.snapPoints.length>1&&0===this.activeSnapIndex}_drawerEl=null;_prevBodyOverflow="";_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.dom.scroll.disable({touchOnly:!0}),this.openDrawer())}open(){ds(),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()}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?qs:Zs}get opacityTransition(){return this.modules.environment.android?Gs:Ks}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._prevBodyOverflow=document.body.style.overflow,document.body.style.overflow="hidden",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);const e=()=>{this._drawerEl?.removeEventListener("transitionend",t),clearTimeout(r),this._keyboardHeight=0,this.opened=!1,this.isVisible=!1,this.isClosing=!1,this.modules.dom.scroll.enable(),document.body.style.overflow=this._prevBodyOverflow,this.onClosed?.(),this.onClosed=null},t=t=>{t.target===this._drawerEl&&e()};this._drawerEl.addEventListener("transitionend",t);const r=setTimeout(e,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))}},Ys=class extends ss{#At=ut(!1);get touch(){return Hr(this.#At)}set touch(e){pt(this.#At,e,!0)}#zt=ut(!1);get android(){return Hr(this.#zt)}set android(e){pt(this.#zt,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")}},Js=e=>e;function Qs(e){const t=e-1;return t*t*t+1}function ea(e){const t="string"==typeof e&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}function ta(e,{delay:t=0,duration:r=400,easing:o=Js}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:o,css:e=>"opacity: "+e*i}}function ra(e,{delay:t=0,duration:r=400,easing:o=Qs,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]=ea(i),[p,g]=ea(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 oa=!1;function ia(e,{delay:r=0,duration:o=400,easing:i=Qs,axis:n="y"}={}){const s=getComputedStyle(e);t&&!oa&&/(contents|inline|table)/.test(s.display)&&(oa=!0,Promise.resolve().then(()=>oa=!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 na(e,{delay:t=0,duration:r=400,easing:o=Qs,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 sa(e,t){for(const r in t)e[r]=t[r];return e}var aa=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 la(e,t){ue(t,!0);const{win:r,router:o,sheet:i,environment:n}=dy();let s=Bi(t,"name",3,""),a=Bi(t,"navbar",3,!0);Bi(t,"visible",3,!1),Bi(t,"navigating",3,!1),Bi(t,"direction",3,"forward");let l=ut(void 0);const c=new is({element:()=>Hr(l),onScroll:()=>{r.contentScrollState=c}});let d=Qe(()=>o.current===s()),u=Qe(()=>o.previous===s()),h=Qe(()=>o.next===s());Kt(()=>{Hr(d)&&(r.contentScrollState=c)});var p=aa(),g=It(p);Wo(It(g),()=>t.children),q(g),ji(g,e=>pt(l,e),()=>Hr(l)),K(2),q(p),er(()=>{Ci(p,"data-fubi-page",s()),p.inert=!Hr(d),li(p,1,ii(["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",Hr(d)&&"page-current",Hr(u)&&"page-previous",Hr(h)&&"page-next"])),li(g,1,ii(["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 ca=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 da(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=ca();Li(o,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",...r})),bo(e,o)}var ua=po("<div><!></div>");function ha(e,t){var r=ua();Wo(It(r),()=>t.children),q(r),er(()=>li(r,1,`flex flex-col w-full relief rounded-[16px] superellipse glass-pressed ${t.class}`)),bo(e,r)}var pa=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 ga(e,t){ue(t,!0);let r=Bi(t,"progress",3,0),o=Bi(t,"radius",3,12),i=Bi(t,"stroke",3,4),n=Bi(t,"colorful",3,!0),s=new Ns(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*Hr(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");Jn(()=>r(),()=>{s.set(r())});var h=pa(),p=It(h),g=zt(p);q(h),er(()=>{Ci(h,"width",Hr(d)),Ci(h,"height",Hr(d)),Ci(h,"viewBox",`0 0 ${Hr(d)} ${Hr(d)}`),li(h,0,ii(["-rotate-90 shrink-0 transition-colors duration-200",Hr(u)])),Ci(p,"cx",Hr(c)),Ci(p,"cy",Hr(c)),Ci(p,"r",o()),Ci(p,"stroke-width",i()),li(g,0,ii(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Ci(g,"cx",Hr(c)),Ci(g,"cy",Hr(c)),Ci(g,"r",o()),Ci(g,"stroke-width",i()),Ci(g,"stroke-dasharray",`${Hr(l)} ${Hr(a)}`)}),bo(e,h),he()}function fa(e){return null!==e&&"object"==typeof e}var ma=["string","number","bigint","boolean"];function va(e){return null==e||!!ma.includes(typeof e)||(Array.isArray(e)?e.every(e=>va(e)):"object"==typeof e&&Object.getPrototypeOf(e)===Object.prototype)}var ba=Symbol("box"),wa=Symbol("is-writable");function ya(e,t){const r=Qe(e);return t?{[ba]:!0,[wa]:!0,get current(){return Hr(r)},set current(e){t(e)}}:{[ba]:!0,get current(){return e()}}}function xa(e){return fa(e)&&ba in e}function ka(e){return xa(e)&&wa in e}function Ca(e){return xa(e)?e:function(e){return"function"==typeof e}(e)?ya(e):La(e)}function La(e){let t=ut(wt(e));return{[ba]:!0,[wa]:!0,get current(){return Hr(t)},set current(e){pt(t,e,!0)}}}function Ma(e){let t=ut(wt(e));return{[ba]:!0,[wa]:!0,get current(){return Hr(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)}}}Ma.from=Ca,Ma.with=ya,Ma.flatten=function(e){return Object.entries(e).reduce((e,[t,r])=>xa(r)?(ka(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}),{})},Ma.readonly=function(e){return ka(e)?{[ba]:!0,get current(){return e.current}}:e},Ma.isBox=xa,Ma.isWritableBox=ka;var $a=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,_a=/\n/g,Ta=/^\s*/,Ea=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Oa=/^:\s*/,Ia=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Aa=/^[;\s]*/,za=/^\s+|\s+$/g,Pa="";function Fa(e){return e?e.replace(za,Pa):Pa}var Na=/\d/,ja=["-","_","/","."];function Da(e=""){if(!Na.test(e))return e!==e.toLowerCase()}function Ha(e){return e?function(e){const t=[];let r,o,i="";for(const n of e){const e=ja.includes(n);if(!0===e){t.push(i),i="",r=void 0;continue}const s=Da(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 Wa(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;Pa!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,Pa===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(Ea);if(t){if(u(),!l(Oa))return a("property missing ':'");var r=l(Ia),o=e({type:"declaration",property:Fa(t[0].replace($a,Pa)),value:r?Fa(r[0].replace($a,Pa)):Pa});return l(Aa),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[Ha(e)]=r:e.startsWith("--")?t[e]=r:t[(o=e,function(e){return e?e[0].toLowerCase()+e.slice(1):""}(Ha(o||"")))]=r}),t}function Ra(...e){return(...t)=>{for(const r of e)"function"==typeof r&&r(...t)}}var Va=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 Ba(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=>`${Va(t)}: ${e[t]};`).join("\n")}(e).replace("\n"," ")}var Ua=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 Za(e){return Ua.has(e)}function qa(...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&&Za(e))t[e]=Sa(r,i);else if(n&&s)t[e]=Ra(r,i);else if("class"===e){const o=va(r),n=va(i);o&&n?t[e]=oi(r,i):o?t[e]=oi(r):n&&(t[e]=oi(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=Wa(i);t[e]={...r,...o}}else if(s&&n)t[e]={...Wa(r),...i};else if(s&&a){const o=Wa(r),n=Wa(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=Ba(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}function Ka(e){Kt(()=>()=>{e()})}function Ga(e){Kt(()=>Vr(()=>e()))}function Xa(e){Dr().then(e)}function Ya(e){return fa(e)&&1===e.nodeType&&"string"==typeof e.nodeName}function Ja(e){return fa(e)&&9===e.nodeType}function Qa(e){return function(e){return fa(e)&&void 0!==e.nodeType}(e)&&11===e.nodeType&&"host"in e}function el(e){return Ja(e)?e:function(e){return fa(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;#Pt=Qe(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return Hr(this.#Pt)}set root(e){pt(this.#Pt,e)}constructor(e){this.element="function"==typeof e?ya(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=>xa(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{#Ft;#le;constructor(e){this.#Ft=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.#Ft}" 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};#Nt=!1;#R;#jt;#ne;#Dt=Qe(()=>(Hr(this.#Y)?.(),this.getSize().width));#Ht=Qe(()=>(Hr(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.#Nt=!0;for(const t of e){const e="content-box"===this.#R.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.#Nt=!1,r.disconnect()}})});constructor(e,t={box:"border-box"}){this.#ne=t.window??il,this.#R=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.#R.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.#Nt?this.#Z:this.calculateSize()??this.#Z}get current(){return Hr(this.#Y)?.(),this.getSize()}get width(){return Hr(this.#Dt)}get height(){return Hr(this.#Ht)}};function dl(e){return e?"true":"false"}function ul(e){return e?"":void 0}function hl(e){return e?"open":"closed"}var pl=class{#Wt;#Rt;attrs;constructor(e){this.#Wt=e.getVariant?e.getVariant():null,this.#Rt=this.#Wt?`data-${this.#Wt}-`:`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.#Rt}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function gl(e){const t=new pl(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var fl="ArrowDown",ml="ArrowLeft",vl="ArrowRight",bl="ArrowUp",wl="Home";function yl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?ml:vl,vertical:fl}[t]}function xl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?vl:ml,vertical:bl}[t]}var kl="undefined"!=typeof document,Cl=kl&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent));function Ll(e){return e instanceof HTMLElement}function Ml(e){return e instanceof Element}function Sl(e){return e instanceof Element||e instanceof SVGElement}function $l(e){return"touch"===e.pointerType}function _l(e){return null!==e}var Tl=class{#Vt;#Bt=Ma(null);constructor(e){this.#Vt=e}getCandidateNodes(){return this.#Vt.rootNode.current?this.#Vt.candidateSelector?Array.from(this.#Vt.rootNode.current.querySelectorAll(this.#Vt.candidateSelector)):this.#Vt.candidateAttr?Array.from(this.#Vt.rootNode.current.querySelectorAll(`[${this.#Vt.candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){const e=this.getCandidateNodes();e.length&&e[0]?.focus()}handleKeydown(e,t,r=!1){const o=this.#Vt.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:yl(e,t),prevKey:xl(e,t)}}((l=o,window.getComputedStyle(l).getPropertyValue("direction")),this.#Vt.orientation.current);var l;const c=this.#Vt.loop.current,d={[s]:n+1,[a]:n-1,[wl]:0,End:i.length-1};if(r){const e="ArrowUp"===a?ml:bl;d["ArrowDown"===s?vl:fl]=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.#Bt.current=h.id,this.#Vt.onCandidateFocus?.(h),h):void 0}getTabIndex(e){const t=this.getCandidateNodes(),r=null!==this.#Bt.current;return e&&!r&&t[0]===e?(this.#Bt.current=e.id,0):e?.id===this.#Bt.current?0:-1}setCurrentTabStopId(e){this.#Bt.current=e}focusCurrentTabStop(){const e=this.#Bt.current;if(!e)return;const t=this.#Vt.rootNode.current?.querySelector(`#${e}`);t&&Ll(t)&&t.focus()}},El=class{#Vt;#Ut=null;constructor(e){this.#Vt=e,Ka(()=>this.#Zt())}#Zt(){this.#Ut&&(window.cancelAnimationFrame(this.#Ut),this.#Ut=null)}run(e){this.#Zt();const t=this.#Vt.ref.current;t&&("function"==typeof t.getAnimations?this.#Ut=window.requestAnimationFrame(()=>{const r=t.getAnimations();0!==r.length?Promise.allSettled(r.map(e=>e.finished)).then(()=>{this.#qt(e)}):this.#qt(e)}):this.#qt(e))}#qt(e){const t=()=>{e()};this.#Vt.afterTick?Xa(t):t()}},Ol=class{#Vt;#Kt;#Gt;#Xt=ut(!1);constructor(e){this.#Vt=e,pt(this.#Xt,e.open.current,!0),this.#Kt=e.enabled??!0,this.#Gt=new El({ref:this.#Vt.ref,afterTick:this.#Vt.open}),al(()=>this.#Vt.open.current,e=>{e&&pt(this.#Xt,!0),this.#Kt&&this.#Gt.run(()=>{e===this.#Vt.open.current&&(this.#Vt.open.current||pt(this.#Xt,!1),this.#Vt.onComplete?.())})})}get shouldRender(){return Hr(this.#Xt)}};function Il(){}function Al(e,t){return void 0===t?`bits-${e}`:`bits-${e}-${t}`}var zl=gl({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Pl=new nl("Dialog.Root | AlertDialog.Root"),Fl=class e{static create(t){const r=Pl.getOr(null);return Pl.set(new e(t,r))}opts;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}#Qt=ut(null);get overlayNode(){return Hr(this.#Qt)}set overlayNode(e){pt(this.#Qt,e,!0)}#er=ut(null);get descriptionNode(){return Hr(this.#er)}set descriptionNode(e){pt(this.#er,e,!0)}#tr=ut(void 0);get contentId(){return Hr(this.#tr)}set contentId(e){pt(this.#tr,e,!0)}#rr=ut(void 0);get titleId(){return Hr(this.#rr)}set titleId(e){pt(this.#rr,e,!0)}#or=ut(void 0);get triggerId(){return Hr(this.#or)}set triggerId(e){pt(this.#or,e,!0)}#ir=ut(void 0);get descriptionId(){return Hr(this.#ir)}set descriptionId(e){pt(this.#ir,e,!0)}#nr=ut(null);get cancelNode(){return Hr(this.#nr)}set cancelNode(e){pt(this.#nr,e,!0)}#sr=ut(0);get nestedOpenCount(){return Hr(this.#sr)}set nestedOpenCount(e){pt(this.#sr,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 Ol({ref:ya(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ol({ref:ya(()=>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=>zl.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){0!==this.nestedOpenCount&&(this.nestedOpenCount--,this.parent?.decrementNested())}#ar=Qe(()=>({"data-state":hl(this.opts.open.current)}));get sharedProps(){return Hr(this.#ar)}set sharedProps(e){pt(this.#ar,e)}},Nl=class e{static create(t){return new e(t,Pl.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":dl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}},jl=class e{static create(t){return new e(t,Pl.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 Hr(this.#f)}set props(e){pt(this.#f,e)}},Dl=class e{static create(t){return new e(t,Pl.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})}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,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":ul(this.root.nestedOpenCount>0),"data-nested":ul(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},Hl=class e{static create(t){return new e(t,Pl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=ol(this.opts.ref,e=>this.root.overlayNode=e)}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,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":ul(this.root.nestedOpenCount>0),"data-nested":ul(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};function Wl(e,t){var r=vo();Io(At(r),()=>t.children,e=>{var r=vo();Wo(At(r),()=>t.children??g),bo(e,r)}),bo(e,r)}var Rl=new nl("BitsConfig"),Vl=class{opts;constructor(e,t){const r=function(e,t){return r=>ya(()=>{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 Bl(e,t){return r=>{const o=function(){const e=new Vl(null,{});return Rl.getOr(e).opts}();return ya(()=>{const i=r();if(void 0!==i)return i;const n=e(o).current;return void 0!==n?n:t})}}Bl(e=>e.defaultLocale,"en");var Ul=Bl(e=>e.defaultPortalTo,"body");function Zl(e,r){ue(r,!0);const o=Ul(()=>r.to),i=pe("getAllContexts");let n,s=Qe(function(){if(!kl||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([()=>Hr(s),()=>r.disabled],([e,t])=>{if(e&&!t)return n=Co(Wl,{target:e,props:{children:r.children},context:i}),()=>{a()};a()});var l=vo(),c=At(l),d=e=>{var t=vo();Wo(At(t),()=>r.children??g),bo(e,t)};To(c,e=>{r.disabled&&e(d)}),bo(e,l),he()}function ql(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 Kl(e,t){return e===t||e.contains(t)}function Gl(e){return e?.ownerDocument??document}var Xl=["Enter"," "],Yl=[bl,"PageDown","End"],Jl=[fl,"PageUp",wl,...Yl];function Ql(e){return"mouse"===e.pointerType}function ec(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 tc=ut(!1),rc=class e{static _refs=0;static _cleanup;constructor(){Kt(()=>(0===e._refs&&(e._cleanup=Yt(()=>{const e=[],t=e=>{pt(tc,!1)};return e.push(io(document,"pointerdown",t,{capture:!0}),io(document,"pointermove",t,{capture:!0}),io(document,"keydown",e=>{pt(tc,!0)},{capture:!0})),Ra(...e)})),e._refs++,()=>{e._refs--,0===e._refs&&(pt(tc,!1),e._cleanup?.())}))}get current(){return Hr(tc)}set current(e){pt(tc,e,!0)}},oc=["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] *)"],ic=/* @__PURE__ */oc.join(","),nc="undefined"==typeof Element,sc=nc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ac=!nc&&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},lc=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]"):lc(e.parentNode))},cc=function(e,t,r){if(lc(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(ic));return t&&sc.call(e,ic)&&o.unshift(e),o.filter(r)},dc=function(e,t,r){for(var o=[],i=Array.from(e);i.length;){var n=i.shift();if(!lc(n,!1))if("SLOT"===n.tagName){var s=n.assignedElements(),a=dc(s.length?s:n.children,!0,r);r.flatten?o.push.apply(o,a):o.push({scopeParent:n,candidates:a})}else{sc.call(n,ic)&&r.filter(n)&&(t||!e.includes(n))&&o.push(n);var l=n.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(n),c=!lc(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(n));if(l&&c){var d=dc(!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},uc=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},hc=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))&&!uc(e)?0:e.tabIndex},pc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},gc=function(e){return"INPUT"===e.tagName},fc=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return 0===r&&0===o},mc=function(e,t){return!(t.disabled||function(e){return gc(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=sc.call(e,"details>summary:first-of-type")?e.parentElement:e;if(sc.call(i,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"full-native"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return fc(e)}else{if("function"==typeof o){for(var n=e;e;){var s=e.parentElement,a=ac(e);if(s&&!s.shadowRoot&&!0===o(s))return fc(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&&ac(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=ac(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!!sc.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},vc=function(e,t){return!(function(e){return function(e){return gc(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||ac(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)||hc(t)<0||!mc(e,t))},bc=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},wc=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=hc(e);return r<0&&t&&!uc(e)?0:r}(n,i),a=i?wc(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(pc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},yc=function(e,t){var r;return r=(t=t||{}).getShadowRoot?dc([e],t.includeContainer,{filter:vc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:bc}):cc(e,t.includeContainer,vc.bind(null,t)),wc(r)},xc=function(e,t){return(t=t||{}).getShadowRoot?dc([e],t.includeContainer,{filter:mc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):cc(e,t.includeContainer,mc.bind(null,t))},kc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sc.call(e,ic)&&vc(t,e)},Cc=/* @__PURE__ */oc.concat("iframe:not([inert]):not([inert] *)").join(","),Lc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==sc.call(e,Cc)&&mc(t,e)};function Mc(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function Sc(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 Sc(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 $c(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=$c(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 $c(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var _c={afterMs:1e4,onChange:Il};function Tc(e,t){const{afterMs:r,onChange:o,getWindow:i}={..._c,...t};let n=null,s=ut(wt(e));return Kt(()=>()=>{n&&i().clearTimeout(n)}),ya(()=>Hr(s),t=>{pt(s,t,!0),o?.(t),n&&i().clearTimeout(n),n=i().setTimeout(()=>{pt(s,e,!0),o?.(e)},r)})}var Ec=class{#Vt;#cr;#dr=Qe(()=>this.#Vt.onMatch?this.#Vt.onMatch:e=>e.focus());#ur=Qe(()=>this.#Vt.getCurrentItem?this.#Vt.getCurrentItem:this.#Vt.getActiveElement);constructor(e){this.#Vt=e,this.#cr=Tc("",{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.#cr.current=this.#cr.current+e;const r=Hr(this.#ur)(),o=t.find(e=>e===r)?.textContent?.trim()??"",i=Sc(t.map(e=>e.textContent?.trim()??""),this.#cr.current,o),n=t.find(e=>e.textContent?.trim()===i);return n&&Hr(this.#dr)(n),n}resetTypeahead(){this.#cr.current=""}get search(){return this.#cr.current}},Oc=class{#Vt;#Kt;#hr;#pr=ut(null);constructor(e){this.#Vt=e,this.#Kt=Qe(()=>this.#Vt.enabled()),this.#hr=Tc(!1,{afterMs:e.transitTimeout??300,onChange:e=>{Hr(this.#Kt)&&this.#Vt.setIsPointerInTransit?.(e)},getWindow:()=>tl(this.#Vt.triggerNode())}),al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return Ra(io(e,"pointerleave",e=>{this.#gr(e,t)}),io(t,"pointerleave",t=>{this.#gr(t,e)}))}),al(()=>Hr(this.#pr),()=>{const t=el(e.triggerNode()??e.contentNode());if(t)return io(t,"pointermove",t=>{if(!Hr(this.#pr))return;const r=t.target;if(!Ml(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,Hr(this.#pr));i?this.#fr():n&&(this.#fr(),e.onPointerExit())})})}#fr(){pt(this.#pr,null),this.#hr.current=!1}#gr(e,t){const r=e.currentTarget;if(!Ll(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.#pr,n,!0),this.#hr.current=!0}},Ic=new nl("Menu.Root"),Ac=new nl("Menu.Root | Menu.Sub"),zc=new nl("Menu.Content"),Pc=(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})),Fc=gl({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]}),Nc=class e{static create(t){const r=new e(t);return Ic.set(r)}opts;isUsingKeyboard=new rc;#mr=ut(!1);get ignoreCloseAutoFocus(){return Hr(this.#mr)}set ignoreCloseAutoFocus(e){pt(this.#mr,e,!0)}#hr=ut(!1);get isPointerInTransit(){return Hr(this.#hr)}set isPointerInTransit(e){pt(this.#hr,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>Fc.getAttr(e,this.opts.variant.current)},jc=class e{static create(t,r){return Ac.set(new e(t,r,null))}opts;root;parentMenu;contentId=ya(()=>"");#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}constructor(e,t,r){this.opts=e,this.root=t,this.parentMenu=r,this.contentPresence=new Ol({ref:ya(()=>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}},Dc=class e{static create(t){return zc.set(new e(t,Ac.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#cr=ut("");get search(){return Hr(this.#cr)}set search(e){pt(this.#cr,e,!0)}#vr=0;#br;#wr=ut(!1);get mounted(){return Hr(this.#wr)}set mounted(e){pt(this.#wr,e,!0)}#yr;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.#yr=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 Oc({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.#br=new Ec({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new Tl({rootNode:ya(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:ya(()=>"vertical")}),al(()=>this.parentMenu.contentNode,e=>{if(e)return Pc.listen(e,()=>{Xa(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})})}),Kt(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(this.#vr)})}#xr(){const e=this.parentMenu.contentNode;return e?Array.from(e.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]}#kr(){return this.parentMenu.root.isPointerInTransit}onCloseAutoFocus=e=>{this.opts.onCloseAutoFocus.current?.(e),e.defaultPrevented||this.#yr||this.parentMenu.triggerNode&&kc(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(!kc(e,Mc()))return function(e,t){const r=el(e);if(!Lc(e,Mc()))return r.body;const o=xc(r.body,Mc());"prev"===t&&o.reverse();const i=o.indexOf(e);return-1===i?r.body:o.slice(i+1).find(e=>kc(e,Mc()))??r.body}(e,t);const r=el(e),o=yc(r.body,Mc());"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(!Ll(t)||!Ll(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.#xr();o&&!i&&n&&this.#br(e.key,s),e.target?.id===this.parentMenu.contentId.current&&Jl.includes(e.key)&&(e.preventDefault(),Yl.includes(e.key)&&s.reverse(),function(e,{select:t=!1}={},r){const o=r();for(const i of e)if(ec(i,{select:t}),r()!==o)return!0}(s,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){Ml(e.currentTarget)&&Ml(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#vr),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&Xa(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return this.#kr()}onItemLeave(e){e.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger"))||this.#kr()||this.parentMenu.root.isUsingKeyboard.current||(this.parentMenu.contentNode?.focus(),this.rovingFocusGroup.setCurrentTabStopId(""))}onTriggerLeave(){return!!this.#kr()}handleInteractOutside(e){if(!Sl(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}#lr=Qe(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}},Hc=class{opts;content;attachment;#Cr=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&&Ql(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const t=e.currentTarget;if(!Ll(t))return;t.focus()}}onpointerleave(e){e.defaultPrevented||Ql(e)&&this.content.onItemLeave(e)}onfocus(e){Xa(()=>{e.defaultPrevented||this.opts.disabled.current||pt(this.#Cr,!0)})}onblur(e){Xa(()=>{e.defaultPrevented||pt(this.#Cr,!1)})}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":dl(this.opts.disabled.current),"data-disabled":ul(this.opts.disabled.current),"data-highlighted":Hr(this.#Cr)?"":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 Hr(this.#f)}set props(e){pt(this.#f,e)}},Wc=class e{static create(t){return new e(t,new Hc(t,zc.get()))}opts;item;root;#Lr=!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)}#Mr(){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)&&Xl.includes(e.key)){if(!Ll(e.currentTarget))return;e.currentTarget.click(),e.preventDefault()}}onclick(e){this.item.opts.disabled.current||this.#Mr()}onpointerup(e){if(!e.defaultPrevented&&!this.#Lr){if(!Ll(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#Lr=!0}#f=Qe(()=>qa(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},Rc=class e{static create(t){return new e(t,Ac.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()))};#Sr=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":dl(this.parentMenu.opts.open.current),"aria-controls":Hr(this.#Sr),"data-disabled":ul(this.opts.disabled.current),"data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}};globalThis.bitsDismissableLayers??=/* @__PURE__ */new Map;var Vc=class e{static create(t){return new e(t)}opts;#$r;#_r;#Tr={pointerdown:!1};#Er=!1;#Or=!1;#Ir=void 0;#Ar;#zr=Il;constructor(e){this.opts=e,this.#_r=e.interactOutsideBehavior,this.#$r=e.onInteractOutside,this.#Ar=e.onFocusOutside,Kt(()=>{this.#Ir=Gl(this.opts.ref.current)});let t=Il;const r=()=>{this.#Pr(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.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.#_r),t(),t=this.#Nr())},1),r}),Ka(()=>{this.#Pr.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.destroy(),this.#zr(),t()})}#jr=e=>{e.defaultPrevented||this.opts.ref.current&&Xa(()=>{this.opts.ref.current&&!this.#Dr(e.target)&&e.target&&!this.#Or&&this.#Ar.current?.(e)})};#Nr(){return Ra(io(this.#Ir,"pointerdown",Ra(this.#Hr,this.#Wr),{capture:!0}),io(this.#Ir,"pointerdown",Ra(this.#Rr,this.#Fr)),io(this.#Ir,"focusin",this.#jr))}#Vr=e=>{let t=e;t.defaultPrevented&&(t=Bc(e)),this.#$r.current(e)};#Fr=ql(e=>{if(!this.opts.ref.current)return void this.#zr();const t=this.opts.isValidEvent.current(e,this.opts.ref.current)||function(e,t){const r=e.target;if(!Sl(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)&&Gl(r).documentElement.contains(r)&&!Kl(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.#Er||this.#Br()||!t)return void this.#zr();let r=e;r.defaultPrevented&&(r=Bc(r)),"close"===this.#_r.current||"defer-otherwise-close"===this.#_r.current?"touch"===e.pointerType?(this.#zr(),this.#zr=io(this.#Ir,"click",this.#Vr,{once:!0})):this.#$r.current(r):this.#zr()},10);#Hr=e=>{this.#Tr[e.type]=!0};#Rr=e=>{this.#Tr[e.type]=!1};#Wr=()=>{this.opts.ref.current&&(this.#Er=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))};#Dr=e=>!!this.opts.ref.current&&Kl(this.opts.ref.current,e);#Pr=ql(()=>{for(const e in this.#Tr)this.#Tr[e]=!1;this.#Er=!1},20);#Br(){return Object.values(this.#Tr).some(Boolean)}#Ur=()=>{this.#Or=!0};#Zr=()=>{this.#Or=!1};props={onfocuscapture:this.#Ur,onblurcapture:this.#Zr}};function Bc(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 Uc(e,t){ue(t,!0);let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"onInteractOutside",3,Il),i=Bi(t,"onFocusOutside",3,Il),n=Bi(t,"isValidEvent",3,()=>!1);const s=Vc.create({id:ya(()=>t.id),interactOutsideBehavior:ya(()=>r()),onInteractOutside:ya(()=>o()),enabled:ya(()=>t.enabled),onFocusOutside:ya(()=>i()),isValidEvent:ya(()=>n()),ref:t.ref});var a=vo();Wo(At(a),()=>t.children??g,()=>({props:s.props})),bo(e,a),he()}globalThis.bitsEscapeLayers??=/* @__PURE__ */new Map;var Zc=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=Il;al(()=>e.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#qr()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#qr=()=>io(this.domContext.getDocument(),"keydown",this.#Kr,{passive:!1});#Kr=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 qc(e,t){ue(t,!0);let r=Bi(t,"escapeKeydownBehavior",3,"close"),o=Bi(t,"onEscapeKeydown",3,Il);Zc.create({escapeKeydownBehavior:ya(()=>r()),onEscapeKeydown:ya(()=>o()),enabled:ya(()=>t.enabled),ref:t.ref});var i=vo();Wo(At(i),()=>t.children??g),bo(e,i),he()}var Kc=class e{static instance;#Gr=La([]);#Xr=/* @__PURE__ */new WeakMap;#Yr=/* @__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.#Yr.set(e,r),this.#Gr.current=this.#Gr.current.filter(t=>t!==e),this.#Gr.current.unshift(e)}unregister(e){this.#Gr.current=this.#Gr.current.filter(t=>t!==e);const t=this.getActive();t&&t.resume()}getActive(){return this.#Gr.current[0]}setFocusMemory(e,t){this.#Xr.set(e,t)}getFocusMemory(e){return this.#Xr.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#Yr.set(e,t)}getPreFocusMemory(e){return this.#Yr.get(e)}clearPreFocusMemory(e){this.#Yr.delete(e)}},Gc=class e{#Jr=!1;#Qr=null;#eo=Kc.getInstance();#to=[];#Vt;constructor(e){this.#Vt=e}get paused(){return this.#Jr}pause(){this.#Jr=!0}resume(){this.#Jr=!1}#Zt(){for(const e of this.#to)e();this.#to=[]}mount(e){this.#Qr&&this.unmount(),this.#Qr=e,this.#eo.register(this),this.#ro(),this.#oo()}unmount(){this.#Qr&&(this.#Zt(),this.#io(),this.#eo.unregister(this),this.#eo.clearPreFocusMemory(this),this.#Qr=null)}#oo(){if(!this.#Qr)return;const e=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});this.#Vt.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#Qr)return;const e=this.#no();e?(e.focus(),this.#eo.setFocusMemory(this,e)):this.#Qr.focus()})}#io(){const e=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(this.#Vt.onCloseAutoFocus.current?.(e),!e.defaultPrevented){const e=this.#eo.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#ro(){if(!this.#Qr||!this.#Vt.trap.current)return;const e=this.#Qr,t=e.ownerDocument;this.#to.push(io(t,"focusin",t=>{if(this.#Jr||!this.#eo.isActiveScope(this))return;const r=t.target;if(r)if(e.contains(r))this.#eo.setFocusMemory(this,r);else{const r=this.#eo.getFocusMemory(this);if(r&&e.contains(r)&&Lc(r))t.preventDefault(),r.focus();else{const t=this.#no(),r=this.#so()[0];(t||r||e).focus()}}},{capture:!0}),io(e,"keydown",e=>{if(!this.#Vt.loop||this.#Jr||"Tab"!==e.key)return;if(!this.#eo.isActiveScope(this))return;const r=this.#ao();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.#eo.getFocusMemory(this);if(t&&!e.contains(t)){const t=this.#no(),r=this.#so()[0],o=t||r;o?(o.focus(),this.#eo.setFocusMemory(this,o)):e.focus()}});r.observe(e,{childList:!0,subtree:!0}),this.#to.push(()=>r.disconnect())}#ao(){return this.#Qr?yc(this.#Qr,{includeContainer:!1,getShadowRoot:!0}):[]}#no(){return this.#ao()[0]||null}#so(){return this.#Qr?xc(this.#Qr,{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 Xc(e,t){ue(t,!0);let r=Bi(t,"enabled",3,!1),o=Bi(t,"trapFocus",3,!1),i=Bi(t,"loop",3,!1),n=Bi(t,"onCloseAutoFocus",3,Il),s=Bi(t,"onOpenAutoFocus",3,Il);const a=Gc.use({enabled:ya(()=>r()),trap:ya(()=>o()),loop:i(),onCloseAutoFocus:ya(()=>n()),onOpenAutoFocus:ya(()=>s()),ref:t.ref});var l=vo();Wo(At(l),()=>t.focusScope??g,()=>({props:a.props})),bo(e,l),he()}globalThis.bitsTextSelectionLayers??=/* @__PURE__ */new Map;var Yc=class e{static create(t){return new e(t)}opts;domContext;#lo=Il;constructor(e){this.opts=e,this.domContext=new rl(e.ref);let t=Il;al(()=>this.opts.enabled.current,e=>(e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#Nr()),()=>{t(),this.#co(),globalThis.bitsTextSelectionLayers.delete(this)}))}#Nr(){return Ra(io(this.domContext.getDocument(),"pointerdown",this.#do),io(this.domContext.getDocument(),"pointerup",Sa(this.#co,this.opts.onPointerUp.current)))}#do=e=>{const t=this.opts.ref.current,r=e.target;Ll(t)&&Ll(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.#lo=function(e,t){const r=Jc(t),o=Jc(e);return Qc(t,"none"),Qc(e,"text"),()=>{Qc(t,r),Qc(e,o)}}(t,this.domContext.getDocument().body)))};#co=()=>{this.#lo(),this.#lo=Il}},Jc=e=>e.style.userSelect||e.style.webkitUserSelect;function Qc(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function ed(e,t){ue(t,!0);let r=Bi(t,"preventOverflowTextSelection",3,!0),o=Bi(t,"onPointerDown",3,Il),i=Bi(t,"onPointerUp",3,Il);Yc.create({id:ya(()=>t.id),onPointerDown:ya(()=>o()),onPointerUp:ya(()=>i()),enabled:ya(()=>t.enabled&&r()),ref:t.ref});var n=vo();Wo(At(n),()=>t.children??g),bo(e,n),he()}function td(e="bits"){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}globalThis.bitsIdCounter??={current:0};var rd=new Kn,od=ut(null),id=null,nd=null,sd=!1,ad=ya(()=>{for(const e of rd.values())if(e)return!0;return!1}),ld=null,cd=new class{#uo;#ho=0;#po=ut();#go;constructor(e){this.#uo=e}#fo(){this.#ho-=1,this.#go&&this.#ho<=0&&(this.#go(),pt(this.#po,void 0),this.#go=void 0)}get(...e){return this.#ho+=1,void 0===Hr(this.#po)&&(this.#go=Yt(()=>{pt(this.#po,this.#uo(...e),!0)})),Kt(()=>()=>{this.#fo()}),Hr(this.#po)}}(()=>{function e(){null!==nd&&(window.clearTimeout(nd),nd=null)}function t(){null!==Hr(od)||0!==rd.size||sd||pt(od,document.body.getAttribute("style"),!0)}return al(()=>ad.current,()=>{if(!ad.current)return;t(),sd=!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",Cl&&(id=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(()=>()=>{id?.()}),{get lockMap(){return rd},resetBodyStyle:function(){document.body.setAttribute("style",Hr(od)??""),document.body.style.removeProperty("--scrollbar-width"),Cl&&id?.(),pt(od,null)},scheduleCleanupIfNoNewLocks:function(t,r){e(),sd=!0;const o=ld=Date.now(),i=null===t?24:t;nd=window.setTimeout(()=>{nd=null,ld===o&&(ud(rd)?sd=!1:(sd=!1,r()))},i)},cancelPendingCleanup:e,ensureInitialStyleCaptured:t}}),dd=class{#We=td();#mo;#vo=()=>null;#bo;locked;constructor(e,t=()=>null){this.#mo=e,this.#vo=t,this.#bo=cd.get(),this.#bo&&(this.#bo.cancelPendingCleanup(),this.#bo.ensureInitialStyleCaptured(),this.#bo.lockMap.set(this.#We,this.#mo??!1),this.locked=ya(()=>this.#bo.lockMap.get(this.#We)??!1,e=>this.#bo.lockMap.set(this.#We,e)),Ka(()=>{if(this.#bo.lockMap.delete(this.#We),ud(this.#bo.lockMap))return;const e=this.#vo();this.#bo.scheduleCleanupIfNoNewLocks(e,()=>{this.#bo.resetBodyStyle()})}))}};function ud(e){for(const[t,r]of e)if(r)return!0;return!1}function hd(e,t){ue(t,!0);let r=Bi(t,"preventScroll",3,!0),o=Bi(t,"restoreScrollDelay",3,null);r()&&new dd(r(),()=>o()),he()}var pd=po("<div><!></div>");function gd(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"forceMount",3,!1),n=Bi(t,"ref",15,null),s=Wi(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Hl.create({id:ya(()=>o()),ref:ya(()=>n(),e=>n(e))}),l=Qe(()=>qa(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:qa(Hr(l)),...a.snippetProps}));Wo(o,()=>t.child,()=>Hr(e))}bo(e,r)},n=e=>{var r=pd();Li(r,e=>({...e}),[()=>qa(Hr(l))]),Wo(It(r),()=>t.children??g,()=>a.snippetProps),q(r),bo(e,r)};To(o,e=>{t.child?e(i):e(n,!1)}),bo(e,r)};To(d,e=>{(a.shouldRender||i())&&e(u)}),bo(e,c),he()}var fd=po("<button><!></button>");function md(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Nl.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(n()))}),l=Qe(()=>qa(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(l)})),bo(e,r)},h=e=>{var r=fd();Li(r,()=>({...Hr(l)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var vd=["top","right","bottom","left"],bd=Math.min,wd=Math.max,yd={left:"right",right:"left",bottom:"top",top:"bottom"},xd={start:"end",end:"start"};function kd(e,t,r){return wd(e,bd(t,r))}function Cd(e,t){return"function"==typeof e?e(t):e}function Ld(e){return e.split("-")[0]}function Md(e){return e.split("-")[1]}function Sd(e){return"x"===e?"y":"x"}function $d(e){return"y"===e?"height":"width"}var _d=/* @__PURE__ */new Set(["top","bottom"]);function Td(e){return _d.has(Ld(e))?"y":"x"}function Ed(e){return Sd(Td(e))}function Od(e){return e.replace(/start|end/g,e=>xd[e])}var Id=["left","right"],Ad=["right","left"],zd=["top","bottom"],Pd=["bottom","top"];function Fd(e){return e.replace(/left|right|bottom|top/g,e=>yd[e])}function Nd(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 jd(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 Dd(e,t,r){let{reference:o,floating:i}=e;const n=Td(t),s=Ed(t),a=$d(s),l=Ld(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(Md(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Hd(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}=Cd(t,e),g=Nd(p),f=a[h?"floating"===u?"reference":"floating":u],m=jd(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=jd(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 Wd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Rd(e){return vd.some(t=>e[t]>=0)}var Vd=/* @__PURE__ */new Set(["left","top"]),Bd=Math.min,Ud=Math.max,Zd=Math.round,qd=Math.floor,Kd=e=>({x:e,y:e});function Gd(){return"undefined"!=typeof window}function Xd(e){return Qd(e)?(e.nodeName||"").toLowerCase():"#document"}function Yd(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Jd(e){var t;return null==(t=(Qd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Qd(e){return!!Gd()&&(e instanceof Node||e instanceof Yd(e).Node)}function eu(e){return!!Gd()&&(e instanceof Element||e instanceof Yd(e).Element)}function tu(e){return!!Gd()&&(e instanceof HTMLElement||e instanceof Yd(e).HTMLElement)}function ru(e){return!(!Gd()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Yd(e).ShadowRoot)}var ou=/* @__PURE__ */new Set(["inline","contents"]);function iu(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=mu(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!ou.has(i)}var nu=/* @__PURE__ */new Set(["table","td","th"]);function su(e){return nu.has(Xd(e))}var au=[":popover-open",":modal"];function lu(e){return au.some(t=>{try{return e.matches(t)}catch(r){return!1}})}var cu=["transform","translate","scale","rotate","perspective"],du=["transform","translate","scale","rotate","perspective","filter"],uu=["paint","layout","strict","content"];function hu(e){const t=pu(),r=eu(e)?mu(e):e;return cu.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||du.some(e=>(r.willChange||"").includes(e))||uu.some(e=>(r.contain||"").includes(e))}function pu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}var gu=/* @__PURE__ */new Set(["html","body","#document"]);function fu(e){return gu.has(Xd(e))}function mu(e){return Yd(e).getComputedStyle(e)}function vu(e){return eu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bu(e){if("html"===Xd(e))return e;const t=e.assignedSlot||e.parentNode||ru(e)&&e.host||Jd(e);return ru(t)?t.host:t}function wu(e){const t=bu(e);return fu(t)?e.ownerDocument?e.ownerDocument.body:e.body:tu(t)&&iu(t)?t:wu(t)}function yu(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=wu(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Yd(i);if(n){const e=xu(s);return t.concat(s,s.visualViewport||[],iu(i)?i:[],e&&r?yu(e):[])}return t.concat(i,yu(i,[],r))}function xu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ku(e){const t=mu(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=tu(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=Zd(r)!==n||Zd(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function Cu(e){return eu(e)?e:e.contextElement}function Lu(e){const t=Cu(e);if(!tu(t))return Kd(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=ku(t);let s=(n?Zd(r.width):r.width)/o,a=(n?Zd(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var Mu=/* @__PURE__ */Kd(0);function Su(e){const t=Yd(e);return pu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Mu}function $u(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=Cu(e);let s=Kd(1);t&&(o?eu(o)&&(s=Lu(o)):s=Lu(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Yd(e))&&t}(n,r,o)?Su(n):Kd(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=Yd(n),t=o&&eu(o)?Yd(o):o;let r=e,i=xu(r);for(;i&&o&&t!==r;){const e=Lu(i),t=i.getBoundingClientRect(),o=mu(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=Yd(i),i=xu(r)}}return jd({width:d,height:u,x:l,y:c})}function _u(e,t){const r=vu(e).scrollLeft;return t?t.left+r:$u(Jd(e)).left+r}function Tu(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-_u(e,r),y:r.top+t.scrollTop}}var Eu=/* @__PURE__ */new Set(["absolute","fixed"]);function Ou(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Yd(e),o=Jd(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=pu();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=_u(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=Jd(e),r=vu(e),o=e.ownerDocument.body,i=Ud(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=Ud(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+_u(e);const a=-r.scrollTop;return"rtl"===mu(o).direction&&(s+=Ud(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Jd(e));else if(eu(t))o=function(e,t){const r=$u(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=tu(e)?Lu(e):Kd(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=Su(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return jd(o)}function Iu(e,t){const r=bu(e);return!(r===t||!eu(r)||fu(r))&&("fixed"===mu(r).position||Iu(r,t))}function Au(e,t){const r=t.get(e);if(r)return r;let o=yu(e,[],!1).filter(e=>eu(e)&&"body"!==Xd(e)),i=null;const n="fixed"===mu(e).position;let s=n?bu(e):e;for(;eu(s)&&!fu(s);){const t=mu(s),r=hu(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&Eu.has(i.position)||iu(s)&&!r&&Iu(e,s))?o=o.filter(e=>e!==s):i=t,s=bu(s)}return t.set(e,o),o}function zu(e,t,r){const o=tu(t),i=Jd(t),n="fixed"===r,s=$u(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=Kd(0);function c(){l.x=_u(i)}if(o||!o&&!n)if(("body"!==Xd(t)||iu(i))&&(a=vu(t)),o){const e=$u(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?Kd(0):Tu(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 Pu(e){return"static"===mu(e).position}function Fu(e,t){if(!tu(e)||"fixed"===mu(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Jd(e)===r&&(r=r.ownerDocument.body),r}function Nu(e,t){const r=Yd(e);if(lu(e))return r;if(!tu(e)){let t=bu(e);for(;t&&!fu(t);){if(eu(t)&&!Pu(t))return t;t=bu(t)}return r}let o=Fu(e,t);for(;o&&su(o)&&Pu(o);)o=Fu(o,t);return o&&fu(o)&&Pu(o)&&!hu(o)?r:o||function(e){let t=bu(e);for(;tu(t)&&!fu(t);){if(hu(t))return t;if(lu(t))return null;t=bu(t)}return null}(e)||r}var ju={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Jd(o),a=!!t&&lu(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=Kd(1);const d=Kd(0),u=tu(o);if((u||!u&&!n)&&(("body"!==Xd(o)||iu(s))&&(l=vu(o)),tu(o))){const e=$u(o);c=Lu(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?Kd(0):Tu(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:Jd,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?lu(t)?[]:Au(t,this._c):[].concat(r),o],s=n[0],a=n.reduce((e,r)=>{const o=Ou(t,r,i);return e.top=Ud(o.top,e.top),e.right=Bd(o.right,e.right),e.bottom=Bd(o.bottom,e.bottom),e.left=Ud(o.left,e.left),e},Ou(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Nu,getElementRects:async function(e){const t=this.getOffsetParent||Nu,r=this.getDimensions,o=await r(e.floating);return{reference:zu(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}=ku(e);return{width:t,height:r}},getScale:Lu,isElement:eu,isRTL:function(e){return"rtl"===mu(e).direction}};function Du(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Hu=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=Ld(r),a=Md(r),l="y"===Td(r),c=Vd.has(s)?-1:1,d=n&&l?-1:1,u=Cd(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}}}}},Wu=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}=Cd(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Td(Ld(i)),p=Sd(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=kd(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=kd(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}}}}}},Ru=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}=Cd(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=Ld(i),b=Td(a),w=Ld(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Fd(a)]:function(e){const t=Fd(e);return[Od(e),t,Od(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Md(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Ad:Id:t?Id:Ad;case"left":case"right":return t?zd:Pd;default:return[]}}(Ld(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(Od)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),M=[];let S=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&M.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Md(e),i=Ed(e),n=$d(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Fd(s)),[s,Fd(s)]}(i,s,y);M.push(L[e[0]],L[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every(e=>e<=0)){var $,_;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===Td(t)||S.every(e=>Td(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(_=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(p){case"bestFit":{var T;const e=null==(T=S.filter(e=>{if(k){const t=Td(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:T[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},Vu=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}=Cd(e,t),d=await s.detectOverflow(t,c),u=Ld(i),h=Md(i),p="y"===Td(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=bd(f-d[m],b),x=bd(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=wd(d.left,0),t=wd(d.right,0),r=wd(d.top,0),o=wd(d.bottom,0);p?L=g-2*(0!==e||0!==t?e+t:wd(d.left,d.right)):C=f-2*(0!==r||0!==o?r+o:wd(d.top,d.bottom))}await l({...t,availableWidth:L,availableHeight:C});const M=await s.getDimensions(a.floating);return g!==M.width||f!==M.height?{reset:{rects:!0}}:{}}}},Bu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:i="referenceHidden",...n}=Cd(e,t);switch(i){case"referenceHidden":{const e=Wd(await o.detectOverflow(t,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Rd(e)}}}case"escaped":{const e=Wd(await o.detectOverflow(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Rd(e)}}}default:return{}}}}},Uu=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}=Cd(e,t)||{};if(null==c)return{};const u=Nd(d),h={x:r,y:o},p=Ed(i),g=$d(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,M=C/2-f[g]/2-1,S=bd(u[v],M),$=bd(u[b],M),_=S,T=C-f[g]-$,E=C/2-f[g]/2+L,O=kd(_,E,T),I=!l.arrow&&null!=Md(i)&&E!==O&&n.reference[g]/2-(E<_?S:$)-f[g]/2<0,A=I?E<_?E-_:E-T:0;return{[p]:h[p]+A,data:{[p]:O,centerOffset:E-O-A,...I&&{alignmentOffset:A}},reset:I}}}),Zu=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}=Cd(e,t),d={x:r,y:o},u=Td(i),h=Sd(u);let p=d[h],g=d[u];const f=Cd(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=Vd.has(Ld(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 Ku(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gu(e,t){const r=Ku(e);return Math.round(t*r)/r}function Xu(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 Yu(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=La(null);let p=ut(wt(Hr(s))),g=ut(wt(Hr(n))),f=ut(wt({})),m=ut(!1),v=!1;const b=Qe(()=>{const e=h.current?Gu(h.current,Hr(d)):Hr(d),t=h.current?Gu(h.current,Hr(u)):Hr(u);return Hr(i)?{position:Hr(p),left:"0",top:"0",transform:`translate(${e}px, ${t}px)`,...h.current&&Ku(h.current)>=1.5&&{willChange:"transform"}}:{position:Hr(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:ju,...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}=Dd(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:Hd},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}=Dd(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:Hr(o),placement:Hr(n),strategy:Hr(s)}).then(e=>{if((t=c.current)instanceof Element&&(!t.isConnected||t instanceof HTMLElement&&t.hidden||0===t.getClientRects().length))pt(f,{...Hr(f),hide:{...Hr(f).hide,referenceHidden:!0}},!0);else{var t;if(!Hr(r)&&0!==Hr(d)&&0!==Hr(u)){const t=Math.max(Math.abs(Hr(a)),Math.abs(Hr(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&&Hr(r)&&y()}),Kt(function(){x(),void 0!==t?Hr(r)&&null!==c.current&&null!==h.current&&(w=t(c.current,h.current,y)):y()}),Kt(()=>{void 0!==t&&(Hr(o),Hr(n),Hr(s),Hr(a),Hr(l),Hr(r),Hr(r)&&Hr(m)?v?y():v=!0:v=!1)}),Kt(function(){Hr(r)||pt(m,!1)}),Kt(()=>x),{floating:h,reference:c,get strategy(){return Hr(p)},get placement(){return Hr(g)},get middlewareData(){return Hr(f)},get isPositioned(){return Hr(m)},get floatingStyles(){return Hr(b)},get update(){return y}}}var Ju={top:"bottom",right:"left",bottom:"top",left:"right"},Qu=new nl("Floating.Root"),eh=new nl("Floating.Content"),th=new nl("Floating.Root"),rh=class e{static create(t=!1){return t?th.set(new e):Qu.set(new e)}anchorNode=La(null);customAnchorNode=La(null);triggerNode=La(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})}},oh=class e{static create(t,r=!1){return r?eh.set(new e(t,th.get())):eh.set(new e(t,Qu.get()))}opts;root;contentRef=La(null);wrapperRef=La(null);arrowRef=La(null);contentAttachment=ol(this.contentRef);wrapperAttachment=ol(this.wrapperRef);arrowAttachment=ol(this.arrowRef);arrowId=La(td());#wo=Qe(()=>"string"==typeof this.opts.style?Wa(this.opts.style):this.opts.style?void 0:{});#yo=void 0;#xo=new cl(()=>this.arrowRef.current??void 0);#ko=Qe(()=>this.#xo?.width??0);#Co=Qe(()=>this.#xo?.height??0);#Lo=Qe(()=>this.opts.side?.current+("center"!==this.opts.align.current?`-${this.opts.align.current}`:""));#Mo=Qe(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#So=Qe(()=>Hr(this.#Mo).length>0);get hasExplicitBoundaries(){return Hr(this.#So)}set hasExplicitBoundaries(e){pt(this.#So,e)}#$o=Qe(()=>({padding:this.opts.collisionPadding.current,boundary:Hr(this.#Mo).filter(_l),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return Hr(this.#$o)}set detectOverflowOptions(e){pt(this.#$o,e)}#_o=ut(void 0);#To=ut(void 0);#Eo=ut(void 0);#Oo=ut(void 0);#Io=Qe(()=>{return[Hu({mainAxis:this.opts.sideOffset.current+Hr(this.#Co),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&Wu({mainAxis:!0,crossAxis:!1,limiter:"partial"===this.opts.sticky.current?Zu():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Ru({...this.detectOverflowOptions}),Vu({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:r})=>{const{width:o,height:i}=e.reference;pt(this.#_o,t,!0),pt(this.#To,r,!0),pt(this.#Eo,o,!0),pt(this.#Oo,i,!0)}}),this.arrowRef.current&&Uu({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),(e={arrowWidth:Hr(this.#ko),arrowHeight:Hr(this.#Co)},{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]=nh(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&&Bu({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean);var e});get middleware(){return Hr(this.#Io)}set middleware(e){pt(this.#Io,e)}floating;#Ao=Qe(()=>nh(this.floating.placement)[0]);get placedSide(){return Hr(this.#Ao)}set placedSide(e){pt(this.#Ao,e)}#zo=Qe(()=>nh(this.floating.placement)[1]);get placedAlign(){return Hr(this.#zo)}set placedAlign(e){pt(this.#zo,e)}#Po=Qe(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return Hr(this.#Po)}set arrowX(e){pt(this.#Po,e)}#Fo=Qe(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return Hr(this.#Fo)}set arrowY(e){pt(this.#Fo,e)}#No=Qe(()=>0!==this.floating.middlewareData.arrow?.centerOffset);get cannotCenterArrow(){return Hr(this.#No)}set cannotCenterArrow(e){pt(this.#No,e)}#jo=ut();get contentZIndex(){return Hr(this.#jo)}set contentZIndex(e){pt(this.#jo,e,!0)}#Do=Qe(()=>Ju[this.placedSide]);get arrowBaseSide(){return Hr(this.#Do)}set arrowBaseSide(e){pt(this.#Do,e)}#Ho=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":`${Hr(this.#_o)}px`,"--bits-floating-available-height":`${Hr(this.#To)}px`,"--bits-floating-anchor-width":`${Hr(this.#Eo)}px`,"--bits-floating-anchor-height":`${Hr(this.#Oo)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:"hidden","pointer-events":"none"},...Hr(this.#wo)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return Hr(this.#Ho)}set wrapperProps(e){pt(this.#Ho,e)}#f=Qe(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Ba({...Hr(this.#wo)}),...this.contentAttachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}#Wo=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 Hr(this.#Wo)}set arrowStyle(e){pt(this.#Wo,e)}constructor(e,t){this.opts=e,this.root=t,this.#yo=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),al(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=Yu({strategy:()=>this.opts.strategy.current,placement:()=>Hr(this.#Lo),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=Cu(e),d=i||n?[...c?yu(c):[],...yu(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=Jd(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:Ud(0,Bd(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||Du(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?$u(e):null;return l&&function t(){const o=$u(e);f&&!Du(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.#yo?.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})}},ih=class e{static create(t,r=!1){return new e(t,r?th.get():Qu.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=Ca(e.virtualEl.current):t.triggerNode=e.ref}};function nh(e){const[t,r="center"]=e.split("-");return[t,r]}function sh(e,t){ue(t,!0);let r=Bi(t,"tooltip",3,!1);rh.create(r());var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}function ah(e,t){ue(t,!0);let r=Bi(t,"tooltip",3,!1);ih.create({id:ya(()=>t.id),virtualEl:ya(()=>t.virtualEl),ref:t.ref},r());var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}var lh=po("<!> <!>",1);function ch(e,t){ue(t,!0);let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(t,"isStatic",3,!1),a=Bi(t,"tooltip",3,!1),l=Bi(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=lh(),u=At(d),h=e=>{hd(0,{get preventScroll(){return t.preventScroll}})},p=e=>{hd(0,{get preventScroll(){return t.preventScroll}})};To(u,e=>{t.forceMount&&t.enabled?e(h):t.forceMount||e(p,1)});{const e=(e,o)=>{let n=()=>o?.().props;qc(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)=>{ed(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:qa(c,s(),r?.().props,n(),{style:{pointerEvents:l()}}),wrapperProps:a()}));Wo(d,()=>t.popper??g,()=>Hr(e))}bo(e,i)},$$slots:{default:!0}})};Uc(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}})};Xc(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=Bi(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),Ui(()=>{t.onPlaced?.()});var r=vo();Wo(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=Bi(t,"side",3,"bottom"),o=Bi(t,"sideOffset",3,0),i=Bi(t,"align",3,"center"),n=Bi(t,"alignOffset",3,0),s=Bi(t,"arrowPadding",3,0),a=Bi(t,"avoidCollisions",3,!0),l=Bi(t,"collisionBoundary",19,()=>[]),c=Bi(t,"collisionPadding",3,0),d=Bi(t,"hideWhenDetached",3,!1),u=Bi(t,"onPlaced",3,()=>{}),h=Bi(t,"sticky",3,"partial"),p=Bi(t,"updatePositionStrategy",3,"optimized"),f=Bi(t,"strategy",3,"fixed"),m=Bi(t,"dir",3,"ltr"),v=Bi(t,"style",19,()=>({})),b=Bi(t,"wrapperId",19,td),w=Bi(t,"customAnchor",3,null),y=Bi(t,"tooltip",3,!1);const x=oh.create({side:ya(()=>r()),sideOffset:ya(()=>o()),align:ya(()=>i()),alignOffset:ya(()=>n()),id:ya(()=>t.id),arrowPadding:ya(()=>s()),avoidCollisions:ya(()=>a()),collisionBoundary:ya(()=>l()),collisionPadding:ya(()=>c()),hideWhenDetached:ya(()=>d()),onPlaced:ya(()=>u()),sticky:ya(()=>h()),updatePositionStrategy:ya(()=>p()),strategy:ya(()=>f()),dir:ya(()=>m()),style:ya(()=>v()),enabled:ya(()=>t.enabled),wrapperId:ya(()=>b()),customAnchor:ya(()=>w())},y()),k=Qe(()=>qa(x.wrapperProps,{style:{pointerEvents:"auto"}}));var C=vo();Wo(At(C),()=>t.content??g,()=>({props:x.props,wrapperProps:Hr(k)})),bo(e,C),he()}(e,Vi({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>o))};To(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 dh(e,t){let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(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=>{ch(e,Vi({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))};To(c,e=>{t.shouldRender&&e(d)}),bo(e,l)}function uh(e,t){let r=Bi(t,"interactOutsideBehavior",3,"close"),o=Bi(t,"trapFocus",3,!0),i=Bi(t,"isValidEvent",3,()=>!1),n=Bi(t,"customAnchor",3,null),s=Bi(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"]);ch(e,Vi({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 hh=po("<div><!></div>");function ph(e,t){const r=wo();ue(t,!0);let o=Bi(t,"ref",15,null),i=Bi(t,"id",19,()=>Al(r)),n=Bi(t,"disabled",3,!1),s=Bi(t,"onSelect",3,Il),a=Bi(t,"closeOnSelect",3,!0),l=Wi(t,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const c=Wc.create({id:ya(()=>i()),disabled:ya(()=>n()),onSelect:ya(()=>s()),ref:ya(()=>o(),e=>o(e)),closeOnSelect:ya(()=>a())}),d=Qe(()=>qa(l,c.props));var u=vo(),h=At(u),p=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(d)})),bo(e,r)},f=e=>{var r=hh();Li(r,()=>({...Hr(d)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function gh(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 fh(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}var mh=class{#Vt;#Ro;#Vo=null;#Bo=null;#Uo=null;#Zo(){null!==this.#Uo&&(cancelAnimationFrame(this.#Uo),this.#Uo=null)}#qo(){this.#Zo(),this.#Uo=requestAnimationFrame(()=>{this.#Uo=null,this.#Vo&&this.#Bo&&(this.#Ko(),this.#Vt.onPointerExit())})}constructor(e){this.#Vt=e,this.#Ro=e.buffer??1,al([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return[io(el(e),"pointermove",r=>{this.#Go([r.clientX,r.clientY],e,t)}),io(e,"pointerleave",r=>{const o=r.relatedTarget;if(Ml(o)&&t.contains(o))return;const i=this.#Vt.ignoredTargets?.()??[];if(!Ml(o)||!i.some(e=>e===o||e.contains(o))){if(Ml(o)&&!e.contains(o)&&!t.contains(o)&&!o.contains(t))return this.#Ko(),void this.#Vt.onPointerExit();this.#Vo=[r.clientX,r.clientY],this.#Bo="content",this.#qo()}}),io(e,"pointerenter",()=>{this.#Ko()}),io(t,"pointerenter",()=>{this.#Ko()}),io(t,"pointerleave",t=>{const r=t.relatedTarget;Ml(r)&&e.contains(r)||(this.#Vo=[t.clientX,t.clientY],this.#Bo="trigger",this.#qo())})].reduce((e,t)=>()=>{e(),t()},()=>{});this.#Ko()})}#Go(e,t,r){if(!this.#Vo||!this.#Bo)return;this.#Zo();const o=t.getBoundingClientRect(),i=r.getBoundingClientRect();if("content"===this.#Bo&&fh(e,i))return void this.#Ko();if("trigger"===this.#Bo&&fh(e,o))return void this.#Ko();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.#Xo(o,i,n);if(s&&gh(e,s))return;const a="content"===this.#Bo?i:o;gh(e,this.#Yo(this.#Vo,a,n,this.#Bo))||(this.#Ko(),this.#Vt.onPointerExit())}#Ko(){this.#Vo=null,this.#Bo=null,this.#Zo()}#Xo(e,t,r){const o=this.#Ro;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]]}}#Yo(e,t,r,o){const i=4*this.#Ro,[n,s]=e;switch("trigger"===o?this.#Jo(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]]}}#Jo(e){switch(e){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}}},vh=gl({component:"popover",parts:["root","trigger","content","close","overlay"]}),bh=new nl("Popover.Root"),wh=class e{static create(t){return bh.set(new e(t))}opts;#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Yt=ut(null);get triggerNode(){return Hr(this.#Yt)}set triggerNode(e){pt(this.#Yt,e,!0)}#Qt=ut(null);get overlayNode(){return Hr(this.#Qt)}set overlayNode(e){pt(this.#Qt,e,!0)}overlayPresence;#Qo=ut(!1);get openedViaHover(){return Hr(this.#Qo)}set openedViaHover(e){pt(this.#Qo,e,!0)}#ei=ut(!1);get hasInteractedWithContent(){return Hr(this.#ei)}set hasInteractedWithContent(e){pt(this.#ei,e,!0)}#ti=ut(!1);get hoverCooldown(){return Hr(this.#ti)}set hoverCooldown(e){pt(this.#ti,e,!0)}#ri=ut(0);get closeDelay(){return Hr(this.#ri)}set closeDelay(e){pt(this.#ri,e,!0)}#oi=null;#ii=null;constructor(e){this.opts=e,this.contentPresence=new Ol({ref:ya(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ol({ref:ya(()=>this.overlayNode),open:this.opts.open}),al(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,this.#ni())})}setDomContext(e){this.#ii=e}#ni(){null!==this.#oi&&this.#ii&&(this.#ii.clearTimeout(this.#oi),this.#oi=null)}toggleOpen(){this.#ni(),this.opts.open.current=!this.opts.open.current}handleClose(){this.#ni(),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){this.#ni(),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.#ni(),this.closeDelay<=0?this.opts.open.current=!1:this.#ii&&(this.#oi=this.#ii.setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),this.#oi=null},this.closeDelay)))}cancelDelayedClose(){this.#ni()}markInteraction(){this.hasInteractedWithContent=!0,this.#ni()}},yh=class e{static create(t){return new e(t,bh.get())}opts;root;attachment;domContext;#si=null;#oi=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})}#li(){null!==this.#si&&(this.domContext.clearTimeout(this.#si),this.#si=null)}#ni(){null!==this.#oi&&(this.domContext.clearTimeout(this.#oi),this.#oi=null)}#ci(){this.#li(),this.#ni()}onpointerenter(e){if(this.opts.disabled.current)return;if(!this.opts.openOnHover.current)return;if($l(e))return;if(pt(this.#ai,!0),this.#ni(),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown)return;const t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():this.#si=this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),this.#si=null},t)}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&($l(e)||(pt(this.#ai,!1),this.#li(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&0===e.button){if(this.#ci(),Hr(this.#ai)&&this.root.opts.open.current&&this.root.openedViaHover)return this.root.openedViaHover=!1,void(this.root.hasInteractedWithContent=!0);Hr(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.#ci(),this.root.toggleOpen())}#di(){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":dl(this.root.opts.open.current),"data-state":hl(this.root.opts.open.current),"aria-controls":this.#di(),[vh.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},xh=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 mh({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;Ml(t)&&kc(t)&&this.root.markInteraction()}onpointerenter(e){$l(e)||this.root.cancelDelayedClose()}onpointerleave(e){$l(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented)return;if(!Ml(e.target))return;const t=e.target.closest(vh.selector("trigger"));if(!t||t!==this.root.triggerNode){if(this.opts.customAnchor.current)if(Ml(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)}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,tabindex:-1,"data-state":hl(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 Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},kh=po("<div><div><!></div></div>"),Ch=po("<div><div><!></div></div>");function Lh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"ref",15,null),i=Bi(t,"id",19,()=>Al(r)),n=Bi(t,"forceMount",3,!1),s=Bi(t,"onOpenAutoFocus",3,Il),a=Bi(t,"onCloseAutoFocus",3,Il),l=Bi(t,"onEscapeKeydown",3,Il),c=Bi(t,"onInteractOutside",3,Il),d=Bi(t,"trapFocus",3,!0),u=Bi(t,"preventScroll",3,!1),h=Bi(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=xh.create({id:ya(()=>i()),ref:ya(()=>o(),e=>o(e)),onInteractOutside:ya(()=>c()),onEscapeKeydown:ya(()=>l()),customAnchor:ya(()=>h())}),m=Qe(()=>qa(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(()=>qa(r?.().props,{style:Xu("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...f.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=kh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};uh(e,Vi(()=>Hr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Hr(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(()=>qa(r?.().props,{style:Xu("popover")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...f.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Ch();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};dh(e,Vi(()=>Hr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get open(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Hr(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}}))}};To(y,e=>{n()?e(x):n()||e(k,1)}),bo(e,w),he()}var Mh=po("<button><!></button>");function Sh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"type",3,"button"),s=Bi(t,"disabled",3,!1),a=Bi(t,"openOnHover",3,!1),l=Bi(t,"openDelay",3,700),c=Bi(t,"closeDelay",3,300),d=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const u=yh.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(s())),openOnHover:ya(()=>a()),openDelay:ya(()=>l()),closeDelay:ya(()=>c())}),h=Qe(()=>qa(d,u.props,{type:n()}));ah(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();Wo(At(r),()=>t.child,()=>({props:Hr(h)})),bo(e,r)},s=e=>{var r=Mh();Li(r,()=>({...Hr(h)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function $h(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"onOpenChange",3,Il),i=Bi(t,"onOpenChangeComplete",3,Il);Fl.create({variant:ya(()=>"dialog"),open:ya(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:ya(()=>i())});var n=vo();Wo(At(n),()=>t.children??g),bo(e,n),he()}var _h=po("<button><!></button>");function Th(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Wi(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=jl.create({variant:ya(()=>"close"),id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),disabled:ya(()=>Boolean(n()))}),l=Qe(()=>qa(s,a.props));var c=vo(),d=At(c),u=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(l)})),bo(e,r)},h=e=>{var r=_h();Li(r,()=>({...Hr(l)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(d,e=>{t.child?e(u):e(h,!1)}),bo(e,c),he()}var Eh=po("<!> <!>",1),Oh=po("<!> <div><!></div>",1);function Ih(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"forceMount",3,!1),s=Bi(t,"onCloseAutoFocus",3,Il),a=Bi(t,"onOpenAutoFocus",3,Il),l=Bi(t,"onEscapeKeydown",3,Il),c=Bi(t,"onInteractOutside",3,Il),d=Bi(t,"trapFocus",3,!0),u=Bi(t,"preventScroll",3,!0),h=Bi(t,"restoreScrollDelay",3,null),p=Wi(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const f=Dl.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e))}),m=Qe(()=>qa(p,f.props));var v=vo(),b=At(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().props;qc(e,Vi(()=>Hr(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)=>{Uc(e,Vi(()=>Hr(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)=>{ed(e,Vi(()=>Hr(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=Eh(),i=At(r),n=e=>{hd(0,{get preventScroll(){return u()},get restoreScrollDelay(){return h()}})};To(i,e=>{f.root.opts.open.current&&e(n)});var s=zt(i,2);{let e=Qe(()=>({props:qa(Hr(m),o()),...f.snippetProps}));Wo(s,()=>t.child,()=>Hr(e))}bo(e,r)},a=e=>{var r=Oh(),i=At(r);hd(0,{get preventScroll(){return u()}});var n=zt(i,2);Li(n,e=>({...e}),[()=>qa(Hr(m),o())]),Wo(It(n),()=>t.children??g),q(n),bo(e,r)};To(n,e=>{t.child?e(s):e(a,!1)}),bo(e,i)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))};Xc(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}})}};To(b,e=>{(f.shouldRender||n())&&e(w)}),bo(e,v),he()}function Ah(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"dir",3,"ltr"),i=Bi(t,"onOpenChange",3,Il),n=Bi(t,"onOpenChangeComplete",3,Il),s=Bi(t,"_internal_variant",3,"dropdown-menu");const a=Nc.create({variant:ya(()=>s()),dir:ya(()=>o()),onClose:()=>{r(!1),i()(!1)}});jc.create({open:ya(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:ya(()=>n())},a),sh(e,{children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var zh=po("<div><div><!></div></div>"),Ph=po("<div><div><!></div></div>");function Fh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"loop",3,!0),s=Bi(t,"onInteractOutside",3,Il),a=Bi(t,"onEscapeKeydown",3,Il),l=Bi(t,"onCloseAutoFocus",3,Il),c=Bi(t,"forceMount",3,!1),d=Bi(t,"trapFocus",3,!1),u=Wi(t,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]);const h=Dc.create({id:ya(()=>o()),loop:ya(()=>n()),ref:ya(()=>i(),e=>i(e)),onCloseAutoFocus:ya(()=>l())}),p=Qe(()=>qa(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(()=>qa(r?.().props,{style:Xu("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...h.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=zh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};uh(e,Vi(()=>Hr(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(()=>qa(r?.().props,{style:Xu("dropdown-menu")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...h.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Ph();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};dh(e,Vi(()=>Hr(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}}))}};To(b,e=>{c()?e(w):c()||e(y,1)}),bo(e,v),he()}var Nh=po("<button><!></button>");function jh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"disabled",3,!1),s=Bi(t,"type",3,"button"),a=Wi(t,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const l=Rc.create({id:ya(()=>o()),disabled:ya(()=>n()??!1),ref:ya(()=>i(),e=>i(e))}),c=Qe(()=>qa(a,l.props,{type:s()}));ah(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();Wo(At(r),()=>t.child,()=>({props:Hr(c)})),bo(e,r)},s=e=>{var r=Nh();Li(r,()=>({...Hr(c)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(i,e=>{t.child?e(n):e(s,!1)}),bo(e,o)},$$slots:{default:!0}}),he()}function Dh(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"onOpenChange",3,Il),i=Bi(t,"onOpenChangeComplete",3,Il);wh.create({open:ya(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:ya(()=>i())}),sh(e,{children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g),bo(e,o)},$$slots:{default:!0}}),he()}var Hh=class{#ui;#hi;#vr=null;constructor(e,t){this.#hi=e,this.#ui=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),Ka(this.stop)}#pi(){null!==this.#vr&&(window.clearTimeout(this.#vr),this.#vr=null)}stop(){this.#pi()}start(...e){this.#pi(),this.#vr=window.setTimeout(()=>{this.#vr=null,this.#hi(...e)},this.#ui)}},Wh=gl({component:"tooltip",parts:["content","trigger"]}),Rh=new nl("Tooltip.Provider"),Vh=new nl("Tooltip.Root"),Bh=class{#gi=ut(wt(/* @__PURE__ */new Map));get triggers(){return Hr(this.#gi)}set triggers(e){pt(this.#gi,e,!0)}#fi=ut(null);get activeTriggerId(){return Hr(this.#fi)}set activeTriggerId(e){pt(this.#fi,e,!0)}#mi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return Hr(this.#mi)}set activeTriggerNode(e){pt(this.#mi,e)}#vi=Qe(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.payload??null});get activePayload(){return Hr(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))}},Uh=class e{static create(t){return Rh.set(new e(t))}opts;#wi=ut(!0);get isOpenDelayed(){return Hr(this.#wi)}set isOpenDelayed(e){pt(this.#wi,e,!0)}isPointerInTransit=La(!1);#yi;#xi=ut(null);constructor(e){this.opts=e,this.#yi=new Hh(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),Ga(()=>io(window,"scroll",e=>{const t=Hr(this.#xi);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.#yi.start():this.isOpenDelayed=!0};#Ci=()=>{this.#yi.stop()};onOpen=e=>{Hr(this.#xi)&&Hr(this.#xi)!==e&&Hr(this.#xi).handleClose(),this.#Ci(),this.isOpenDelayed=!1,pt(this.#xi,e,!0)};onClose=e=>{Hr(this.#xi)===e&&pt(this.#xi,null),this.#ki()};isTooltipOpen=e=>Hr(this.#xi)===e},Zh=class e{static create(t){return Vh.set(new e(t,Rh.get()))}opts;provider;#Li=Qe(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return Hr(this.#Li)}set delayDuration(e){pt(this.#Li,e)}#Mi=Qe(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return Hr(this.#Mi)}set disableHoverableContent(e){pt(this.#Mi,e)}#Si=Qe(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return Hr(this.#Si)}set disableCloseOnTriggerClick(e){pt(this.#Si,e)}#$i=Qe(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return Hr(this.#$i)}set disabled(e){pt(this.#$i,e)}#_i=Qe(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return Hr(this.#_i)}set ignoreNonKeyboardFocus(e){pt(this.#_i,e)}registry;tether;#Jt=ut(null);get contentNode(){return Hr(this.#Jt)}set contentNode(e){pt(this.#Jt,e,!0)}contentPresence;#Ti=ut(!1);#yi;#Ei=Qe(()=>this.opts.open.current?Hr(this.#Ti)?"delayed-open":"instant-open":"closed");get stateAttr(){return Hr(this.#Ei)}set stateAttr(e){pt(this.#Ei,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Bh,this.#yi=new Hh(()=>{pt(this.#Ti,!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 Ol({open:this.opts.open,ref:ya(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),al(()=>this.delayDuration,()=>{void 0!==this.delayDuration&&(this.#yi=new Hh(()=>{pt(this.#Ti,!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.#yi.stop(),pt(this.#Ti,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#yi.stop(),this.opts.open.current=!1};#Oi=()=>{this.#yi.stop();const e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||0===t?(pt(this.#Ti,!1),this.opts.open.current=!0):this.#yi.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#Oi()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#yi.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}},qh=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,Vh.get(),null)}opts;root;tether;attachment;#Lr=La(!1);#Ii=ut(!1);domContext;#Ai=null;#wr=!1;#zi=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.#Pi(e)),al(()=>this.opts.id.current,()=>{this.#Pi(this.opts.ref.current)}),al(()=>this.opts.payload.current,()=>{this.#Pi(this.opts.ref.current)}),al(()=>this.opts.disabled.current,()=>{this.#Pi(this.opts.ref.current)}),Ga(()=>(this.#wr=!0,this.#Pi(this.opts.ref.current),()=>{const e=this.#Fi(),t=this.#zi;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#zi=null,this.#wr=!1}))}#Fi=()=>this.tether?.root??this.root;#Ni=()=>{const e=this.#Fi();return this.opts.disabled.current||Boolean(e?.disabled)};#Pi=e=>{if(!this.#wr)return;const t=this.opts.id.current,r=this.opts.payload.current,o=this.opts.disabled.current;if(this.#zi&&this.#zi!==t){const e=this.#Fi();this.tether?this.tether.registry.unregister(this.#zi):e?.unregisterTrigger(this.#zi)}const i={id:t,node:e,payload:r,disabled:o},n=this.#Fi();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.#zi=t};#ji=()=>{null!==this.#Ai&&(clearTimeout(this.#Ai),this.#Ai=null)};handlePointerUp=()=>{this.#Lr.current=!1};#Di=()=>{this.#Ni()||(this.#Lr.current=!1)};#Hi=()=>{this.#Ni()||(this.#Lr.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0}))};#Wi=e=>{const t=this.#Fi();if(t)if(this.#Ni())t.opts.open.current&&t.handleClose();else if("touch"!==e.pointerType){if(t.provider.isPointerInTransit.current)return this.#ji(),void(this.#Ai=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0))},250));t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0)}};#Ri=e=>{const t=this.#Fi();t&&(this.#Ni()?t.opts.open.current&&t.handleClose():"touch"!==e.pointerType&&(Hr(this.#Ii)||(this.#ji(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),pt(this.#Ii,!0))))};#Vi=e=>{const t=this.#Fi();if(!t)return;if(this.#Ni())return;if(this.#ji(),!t.isActiveTrigger(this.opts.id.current))return void pt(this.#Ii,!1);const r=e.relatedTarget;if(Ml(r)&&t.provider.opts.skipDelayDuration.current>0)for(const o of t.registry.triggers.values())if(o.node===r)return void pt(this.#Ii,!1);t.onTriggerLeave(),pt(this.#Ii,!1)};#Bi=e=>{const t=this.#Fi();t&&(this.#Lr.current||(this.#Ni()?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())))};#Ui=()=>{const e=this.#Fi();e&&!this.#Ni()&&e.handleClose()};#Zi=()=>{const e=this.#Fi();!e||e.disableCloseOnTriggerClick||this.#Ni()||e.handleClose()};#f=Qe(()=>{const e=this.#Fi(),t=Boolean(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),r=this.#Ni();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:"closed","data-disabled":ul(r),"data-delay-duration":`${e?.delayDuration??0}`,[Wh.trigger]:"",tabindex:r?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#Di,onpointerdown:this.#Hi,onpointerenter:this.#Wi,onpointermove:this.#Ri,onpointerleave:this.#Vi,onfocus:this.#Bi,onblur:this.#Ui,onclick:this.#Zi,...this.attachment}});get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}},Kh=class e{static create(t){return new e(t,Vh.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 mh({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=>{Ml(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}#lr=Qe(()=>({open:this.root.opts.open.current}));get snippetProps(){return Hr(this.#lr)}set snippetProps(e){pt(this.#lr,e)}#f=Qe(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":ul(this.root.disabled),style:{outline:"none"},[Wh.content]:"",...this.attachment}));get props(){return Hr(this.#f)}set props(e){pt(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Gh(e,t){ue(t,!0);let r=Bi(t,"open",15,!1),o=Bi(t,"triggerId",15,null),i=Bi(t,"onOpenChange",3,Il),n=Bi(t,"onOpenChangeComplete",3,Il);const s=Zh.create({open:ya(()=>r(),e=>{r(e),i()(e)}),triggerId:ya(()=>o(),e=>{o(e)}),delayDuration:ya(()=>t.delayDuration),disableCloseOnTriggerClick:ya(()=>t.disableCloseOnTriggerClick),disableHoverableContent:ya(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:ya(()=>t.ignoreNonKeyboardFocus),disabled:ya(()=>t.disabled),onOpenChangeComplete:ya(()=>n()),tether:ya(()=>t.tether)});sh(e,{tooltip:!0,children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children??g,()=>({open:s.opts.open.current,triggerId:s.activeTriggerId,payload:s.activePayload})),bo(e,o)},$$slots:{default:!0}}),he()}var Xh=po("<div><div><!></div></div>"),Yh=po("<div><div><!></div></div>");function Jh(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"ref",15,null),n=Bi(t,"side",3,"top"),s=Bi(t,"sideOffset",3,0),a=Bi(t,"align",3,"center"),l=Bi(t,"avoidCollisions",3,!0),c=Bi(t,"arrowPadding",3,0),d=Bi(t,"sticky",3,"partial"),u=Bi(t,"hideWhenDetached",3,!1),h=Bi(t,"collisionPadding",3,0),p=Bi(t,"onInteractOutside",3,Il),f=Bi(t,"onEscapeKeydown",3,Il),m=Bi(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=Kh.create({id:ya(()=>o()),ref:ya(()=>i(),e=>i(e)),onInteractOutside:ya(()=>p()),onEscapeKeydown:ya(()=>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(()=>qa(v,Hr(w),b.props));var x=vo(),k=At(x),C=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>qa(r?.().props,{style:Xu("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...b.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Xh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");uh(e,Vi(()=>Hr(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 Hr(i)},popper:r,$$slots:{popper:!0}}))}},L=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Qe(()=>qa(r?.().props,{style:Xu("tooltip")},{style:t.style}));var n=vo(),s=At(n),a=e=>{var r=vo(),n=At(r);{let e=Qe(()=>({props:Hr(i),wrapperProps:o(),...b.snippetProps}));Wo(n,()=>t.child,()=>Hr(e))}bo(e,r)},l=e=>{var r=Yh();Li(r,()=>({...o()}));var n=It(r);Li(n,()=>({...Hr(i)})),Wo(It(n),()=>t.children??g),q(n),q(r),bo(e,r)};To(s,e=>{t.child?e(a):e(l,!1)}),bo(e,n)};let i=Qe(()=>b.root.disableHoverableContent?"none":"auto");dh(e,Vi(()=>Hr(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 Hr(i)},popper:r,$$slots:{popper:!0}}))}};To(k,e=>{m()?e(C):m()||e(L,1)}),bo(e,x),he()}var Qh=po("<button><!></button>");function ep(e,t){const r=wo();ue(t,!0);let o=Bi(t,"id",19,()=>Al(r)),i=Bi(t,"disabled",3,!1),n=Bi(t,"type",3,"button"),s=Bi(t,"tabindex",3,0),a=Bi(t,"ref",15,null),l=Wi(t,["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]);const c=qh.create({id:ya(()=>o()),disabled:ya(()=>i()??!1),tabindex:ya(()=>s()??0),payload:ya(()=>t.payload),tether:ya(()=>t.tether),ref:ya(()=>a(),e=>a(e))}),d=Qe(()=>qa(l,c.props,{type:n()}));var u=vo(),h=At(u),p=e=>{var r=vo();Wo(At(r),()=>t.child,()=>({props:Hr(d)})),bo(e,r)},f=e=>{var r=Qh();Li(r,()=>({...Hr(d)})),Wo(It(r),()=>t.children??g),q(r),bo(e,r)};To(h,e=>{t.child?e(p):e(f,!1)}),bo(e,u),he()}function tp(e,t){ue(t,!0);let r=Bi(t,"delayDuration",3,700),o=Bi(t,"disableCloseOnTriggerClick",3,!1),i=Bi(t,"disableHoverableContent",3,!1),n=Bi(t,"disabled",3,!1),s=Bi(t,"ignoreNonKeyboardFocus",3,!1),a=Bi(t,"skipDelayDuration",3,300);Uh.create({delayDuration:ya(()=>r()),disableCloseOnTriggerClick:ya(()=>o()),disableHoverableContent:ya(()=>i()),disabled:ya(()=>n()),ignoreNonKeyboardFocus:ya(()=>s()),skipDelayDuration:ya(()=>a())});var l=vo();Wo(At(l),()=>t.children??g),bo(e,l),he()}var rp=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>'),op=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>'),ip=po("<!> <!>",1);function np(e,t){const r=Bi(t,"open",3,!1),o=Bi(t,"delay",3,200),i=Bi(t,"disabled",3,!1),n=Bi(t,"text",3,"tooltip"),s=Bi(t,"side",3,"top"),a=Bi(t,"offset",3,8),l=Bi(t,"align",3,"center");var c=vo();Ro(At(c),()=>Gh,(e,c)=>{c(e,{get delayDuration(){return o()},get open(){return r()},get disabled(){return i()},children:(e,r)=>{var o=ip(),i=At(o),c=e=>{var r=vo(),o=At(r);{const e=(e,r)=>{var o=vo();Wo(At(o),()=>t.child,()=>({props:r?.().props})),bo(e,o)};Ro(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();Ro(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();Wo(At(r),()=>t.trigger),bo(e,r)},s=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(i,e=>{t.trigger?e(n):t.children&&e(s,1)}),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};To(i,e=>{t.child?e(c):e(d,!1)}),Ro(zt(i,2),()=>Zl,(e,r)=>{r(e,{get to(){return t.portalTarget},children:(e,r)=>{var o=vo();Ro(At(o),()=>Jh,(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,2147480000))]",children:(e,r)=>{var o=vo(),i=At(o),s=e=>{var r=vo();Wo(At(r),()=>t.tooltipContent),bo(e,r)},a=e=>{var r=op(),o=It(r),i=zt(o),s=e=>{var r=rp(),o=It(r,!0);q(r),er(()=>ko(o,t.key)),bo(e,r)};To(i,e=>{t.key&&e(s)}),q(r),er(()=>ko(o,`${n()??""} `)),bo(e,r)};To(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 sp(e,t){ue(t,!0);const{toolbar:r,environment:o}=dy();let i=Bi(t,"disabled",3,!1),n=Wi(t,["$$slots","$$events","$$legacy","disabled"]);{let t=Qe(()=>r?.wrapper),s=Qe(()=>i()||o.touch);np(e,Vi({get portalTarget(){return Hr(t)},get disabled(){return Hr(s)}},()=>n))}he()}var ap=po("<!> <!>",1);function lp(e,t){ue(t,!0);const{win:r}=dy();let o=Bi(t,"opened",15,!1),i=Wi(t,["$$slots","$$events","$$legacy","opened"]);Kt(()=>{r.uiOpened=o()}),function(e,t){ue(t,!0);let r=Bi(t,"opened",15,!1),o=Bi(t,"side",3,"bottom"),i=Bi(t,"sideOffset",3,4),n=Bi(t,"align",3,"end"),s=Bi(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();Ro(At(l),()=>Ah,(e,l)=>{l(e,Vi(()=>a,{get open(){return r()},set open(e){r(e)},children:(e,r)=>{var a=ap(),l=At(a);Ro(l,()=>jh,(e,r)=>{r(e,{get child(){return t.child},children:(e,r)=>{var o=vo(),i=At(o),n=e=>{var r=vo();Wo(At(r),()=>t.trigger),bo(e,r)};To(i,e=>{t.trigger&&e(n)}),bo(e,o)},$$slots:{default:!0}})}),Ro(zt(l,2),()=>Zl,(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,2147480000))] 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"]);Ro(l,()=>Fh,(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 Hr(e)},children:(e,r)=>{var o=vo();Wo(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,Vi(()=>i,{get opened(){return o()},set opened(e){o(e)}})),he()}var cp=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 dp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=cp();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var up=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 hp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=up();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var pp=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 gp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=pp();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var fp=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 mp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=fp();Li(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="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 bp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=vp();Li(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var wp=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 yp(e,t){const r=Wi(t,["$$slots","$$events","$$legacy"]);var o=wp();Li(o,()=>({viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}function xp(e,t){const r={invisible:dp,"chevrons-up":hp,check:gp,comments:mp,lock:bp,"folder-transparent":yp};let o=Bi(t,"name",3,"invisible"),i=Bi(t,"class",3,"");const n=Qe(()=>r[o()]);var s=vo();Ro(At(s),()=>Hr(n),(e,t)=>{t(e,{get class(){return i()}})}),bo(e,s)}var kp=po("<div><!></div>");function Cp(e,t){const r=Bi(t,"size",3,"size-6.5 app:size-22");var o=kp();xp(It(o),{name:"check",class:"size-21"}),q(o),er(()=>li(o,1,ii(["text-green-400 bg-green-400/20 glass rounded-full flex items-center justify-center stroke-[2.5px]",r()]))),Jo(3,o,()=>na,()=>({duration:200})),bo(e,o)}var Lp=po('<div class="flex absolute"><!></div>'),Mp=po('<button><div class="size-28 flex-center relative"><!></div></button>'),Sp=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>'),$p=po('<div class="flex absolute"><!></div>'),_p=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>'),Tp=po('<div><p> </p> <div class="flex gap-4 touch:gap-8"><!> <!></div></div>'),Ep=po('<div tabindex="-1"><!> <!></div>');function Op(e,t){ue(t,!0);const{win:r,sheet:o}=dy();let i=Bi(t,"padding",3,"p-8 pt-0 touch:p-10"),n=ut(!1),s=Qe(()=>!!t.title&&t.title.length>16);var a=Ep(),l=It(a),c=e=>{var r=Tp(),i=It(r),a=It(i,!0);q(i);var l=zt(i,2),c=It(l),d=e=>{var r=vo(),o=At(r),i=e=>{{const r=(e,r=g)=>{{const o=(e,o=g)=>{var i=Mp();Li(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=It(i),s=It(n),a=e=>{Cp(e,{})},l=e=>{var r=Lp();ga(It(r),{get progress(){return t.progress},radius:9,stroke:3}),q(r),Jo(3,r,()=>na,()=>({duration:200})),bo(e,r)};To(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`);sp(e,{get text(){return Hr(i)},delay:0,child:o,$$slots:{child:!0}})}};lp(e,{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Hr(n)},set opened(e){pt(n,e,!0)},child:r,children:(e,r)=>{var o=vo();Wo(At(o),()=>t.popoverContent),bo(e,o)},$$slots:{child:!0,default:!0}})}},s=e=>{{let r=Qe(()=>`${Math.round(t.progress)}% Done`);sp(e,{get text(){return Hr(r)},delay:0,children:(e,r)=>{var o=_p(),i=It(o),n=It(i),s=e=>{var t=Sp();xp(It(t),{name:"check"}),q(t),Jo(3,t,()=>na,()=>({duration:200})),bo(e,t)},a=e=>{var r=$p();ga(It(r),{get progress(){return t.progress},radius:8,stroke:3}),q(r),Jo(3,r,()=>na,()=>({duration:200})),bo(e,r)};To(n,e=>{100===t.progress?e(s):e(a,!1)}),q(i),q(o),bo(e,o)},$$slots:{default:!0}})}};To(o,e=>{t.popoverContent?e(i):e(s,!1)}),bo(e,r)};To(c,e=>{void 0!==t.progress&&e(d)});var u=zt(c,2),h=e=>{var r=vo();Wo(At(r),()=>t.headerAfter),bo(e,r)};To(u,e=>{t.headerAfter&&e(h)}),q(l),q(r),er(()=>{li(r,1,ii(["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"])),li(i,1,ii(["font-medium truncate flex-1",Hr(s)?"text-[20px]/[114%] touch:text-[28px]/[114%]":"text-[24px]/[114%] touch:text-[32px]/[114%]"])),ko(a,t.title)}),bo(e,r)};To(l,e=>{void 0!==t.title&&e(c)});var d=zt(l,2),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(d,e=>{t.children&&e(u)}),q(a),er(()=>li(a,1,ii(["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 Ip=[["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"}]],Ap=[["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"}]],zp=[["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"}]],Pp=[["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"}]],Fp=[["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"}]],Np=[["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"}]],jp=[["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"}]],Dp=[["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"}]],Hp=[["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"}]],Wp=[["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"}]],Rp=[["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"}]],Vp=[["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"}]],Bp=[["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"}]],Up=[["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"}]],Zp=[["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"}]],qp=[["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"}]],Kp=[["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"}]],Gp=[["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"}]],Xp=[["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"}]],Yp=[["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"}]],Jp=[["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"}]],Qp=[["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"}]],eg=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tg=fo("<svg></svg>");function rg(e,t){ue(t,!0);let r=Bi(t,"size",3,24),o=Bi(t,"absoluteStrokeWidth",3,!1),i=Bi(t,"color",3,"currentColor"),n=Bi(t,"showAlt",3,!1),s=Bi(t,"class",3,""),a=Bi(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:Hr(c)}));Ui(()=>{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(eg(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(eg(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,Hr(u).render(d,Hr(p)),!0),()=>{Hr(h)?.destroy()}}),Kt(()=>{Hr(u)&&d&&Hr(h)&&Hr(h).update(Hr(p))});var g=tg();Li(g,()=>({xmlns:"http://www.w3.org/2000/svg",width:r(),height:r(),viewBox:"0 0 24 24",fill:"none",class:Hr(c),...l})),ji(g,e=>d=e,()=>d),bo(e,g),he()}var og=po("<div><!></div>"),ig=po("<button><!> <!></button>");function ng(e,t){ue(t,!0);const r=(e,t)=>{let r=et(()=>m(t?.(),()=>({}),!0));var d=ig();Li(d,()=>({...Hr(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=It(d);Io(h,o,e=>{rg(e,{get icon(){return o()},get className(){return n()}})});var p=zt(h,2),g=e=>{var t=og();Wo(It(t),c),q(t),bo(e,t)};To(p,e=>{c()&&e(g)}),q(d),bo(e,d)};let o=Bi(t,"icon",3,Vp),i=Bi(t,"size",3,"size-28 touch:size-36"),n=Bi(t,"iconSize",3,"size-20 touch:size-26"),s=Bi(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=Bi(t,"glass",3,"glass-hover touch:bg-white/5"),l=Bi(t,"active",3,!1),c=Bi(t,"children",3,null),d=Bi(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)};sp(e,Vi(d,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};To(p,e=>{d()?.text?e(g):e(f,!1)}),bo(e,h),he()}var sg=po('<div class="absolute right-8 top-1/2 -translate-y-1/2"><!></div>'),ag=po("<label><input/> <!> <p> </p></label>");function lg(e,t){ue(t,!0);let r=Bi(t,"class",3,""),o=Bi(t,"value",15),i=Wi(t,["$$slots","$$events","$$legacy","name","label","class","value","type"]);const n="password"===t.type;let s=ut(!1);const a=Qe(()=>n&&Hr(s)?"text":t.type);var l=ag(),c=It(l);Li(c,()=>({id:`fubi-input-${t.name}`,name:t.name,type:Hr(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",n&&"pr-[42px]"],...i}),void 0,void 0,void 0,void 0,!0);var d=zt(c,2),u=e=>{var t=sg(),r=It(t);{let e=Qe(()=>Hr(s)?Qp:Jp);ng(r,{type:"button",get icon(){return Hr(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,!Hr(s))})}q(t),bo(e,t)};To(d,e=>{n&&e(u)});var h=zt(d,2);li(h,1,ii(["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=It(h,!0);q(h),q(l),er(()=>{Ci(l,"for",`fubi-input-${t.name}`),li(l,1,ii(["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)}),Ei(c,o),bo(e,l),he()}var cg=po('<div class="absolute inset-0 flex items-center justify-center"><!></div>'),dg=po("<span><!></span>"),ug=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>'),hg=po("<!> <span><!> <!></span> <!>",1);function pg(e,t){let r=Bi(t,"variant",3,"default"),o=Bi(t,"glass",3,!0),i=Bi(t,"small",3,!1),n=Bi(t,"flex",3,!1),s=Bi(t,"loading",3,!1),a=Bi(t,"ping",3,!1),l=Bi(t,"type",3,"button"),c=Bi(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(()=>Hr(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();ei(At(f),()=>t.href?"a":"button",!1,(e,u)=>{Li(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"],Hr(p),Hr(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=hg(),m=At(f),v=e=>{var t=cg();rg(It(t),{get icon(){return Zp},className:"size-5 animate-spin text-current opacity-50"}),q(t),bo(e,t)};To(m,e=>{s()&&e(v)});var b=zt(m,2),w=It(b),y=e=>{{let r=Qe(()=>`shrink-0 ${t.iconClass||"text-current"} ${t.iconSize?t.iconSize:i()?"size-6":"size-5"}`);rg(e,{get icon(){return t.icon},get className(){return Hr(r)}})}};To(w,e=>{t.icon&&e(y)});var x=zt(w,2),k=e=>{var r=dg();Wo(It(r),()=>t.children),q(r),er(()=>li(r,1,ii([i()?"pt-px app:pt-0":"pt-[2px] app:pt-0"]))),bo(e,r)};To(x,e=>{t.children&&e(k)}),q(b);var C=zt(b,2),L=e=>{bo(e,ug())};To(C,e=>{a()&&e(L)}),er(()=>li(b,1,ii(["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)}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>'),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>'),po('<canvas class="fixed inset-0 -z-10 h-full w-full"></canvas> <!>',1),ao(["click"]);var gg=po("<!> <!>",1),fg=po('<p class="text-rose-500 text-sm/[140%]"> </p>'),mg=po('<div class="flex-1 flex-center px-8"><form class="flex flex-col w-full bg-white/5 glass rounded-[24px] superellipse"><div class="p-12 flex-center border-b-[0.5px] border-white/10"><p class="font-bold text-xl">Sign in to fubi</p></div> <div class="p-12 flex flex-col gap-8 border-b-[0.5px] border-white/10"><!> <!> <!></div> <div class="p-12 flex-center"><a target="_blank" class="hover:underline text-sm text-sky-500">Forgot password</a></div> <div class="border-t-[0.5px] border-white/10 p-12 flex-center"><button class="text-sm text-neutral-400 hover:underline cursor-pointer hover:text-neutral-300">Hide fubi for this session</button></div></form></div>'),vg=po('<!> <a target="_blank" rel="noopener noreferrer"><p>Dashboard</p> <!></a> <!>',1);ao(["click"]);var bg=po("<ul><!></ul>");function wg(e,t){const r=Bi(t,"class",3,"");var o=bg();Wo(It(o),()=>t.children),q(o),er(()=>li(o,1,ii(["list flex flex-col superellipse relief rounded-[20px] bg-neutral-500/10 p-3 gap-px",r()]))),bo(e,o)}var yg=[["path",{d:"M15 6L9 12.0001L15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],xg=[["path",{d:"M9.00005 6L15 12L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],kg=[["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"}]],Cg=[["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"}]],Lg=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Mg=po("<div><!></div>"),Sg=po('<div class="w-12"></div>'),$g=po("<div><!></div>"),_g=po("<p> </p>"),Tg=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>'),Eg=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 Og(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}=dy();let i=Bi(t,"start",3,null),n=Bi(t,"icon",3,Bp),s=Bi(t,"title",3,"Title"),a=Bi(t,"subtitle",3,null),l=Bi(t,"subtitleSnippet",3,null),c=Bi(t,"classSubtitle",3,""),d=Bi(t,"classIcon",3,""),u=Bi(t,"active",3,null),h=Bi(t,"iconSize",3,"size-26 touch:size-30"),p=Bi(t,"height",3,"min-h-42 touch:min-h-56"),g=Bi(t,"type",3,"default"),f=Bi(t,"after",3,null),m=Bi(t,"chevron",3,!1),v=Bi(t,"disabled",3,null),b=Bi(t,"onclick",3,null),w=Bi(t,"index",3,0),y=Bi(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=Eg();Li(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=It(C),M=e=>{var t=Mg(),r=It(t),o=e=>{var t=vo();Wo(At(t),i),bo(e,t)},s=e=>{{let t=Qe(()=>`${Hr(k)[g()]} ${d()} ${h()}`);rg(e,{get icon(){return n()},get className(){return Hr(t)}})}};To(r,e=>{i()?e(o):e(s,!1)}),q(t),er(()=>li(t,1,ii(["w-54 mouse:w-42 flex-center shrink-0",p()]))),bo(e,t)},S=e=>{bo(e,Sg())};To(L,e=>{i()||n()?e(M):e(S,!1)});var $=zt(L,2),_=It($);li(_,1,ii(["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 T=It(_);li(T,1,ii(["text-[15px]/[110%] pb-1.5 touch:text-[18px]/none font-medium truncate w-full text-neutral-100"]));var E=It(T,!0);q(T);var O=zt(T,2),I=e=>{var t=$g();Wo(It(t),l),q(t),er(()=>li(t,1,ii(["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=_g(),r=It(t,!0);q(t),er(()=>{li(t,1,ii(["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)};To(O,e=>{l()?e(I):a()&&e(A,1)}),q(_);var z=zt(_,2),P=It(z),F=e=>{var t=vo();Wo(At(t),f),bo(e,t)};To(P,e=>{f()&&e(F)});var N=zt(P,2),j=e=>{bo(e,Tg())};To(N,e=>{m()&&e(j)}),q(z),q($),q(C),er(()=>{li($,1,ii(["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())}),Jo(1,C,()=>na,()=>({duration:600,easing:Ws,delay:40*w(),start:.9})),Jo(2,C,()=>ta,()=>({duration:o.navigating?0:400,easing:Hs})),bo(e,C),he()}function Ig(e){!function(e){let t=Bi({class:"size-20 text-neutral-500"},"class",3,"size-4 app:size-24");rg(e,{get icon(){return Zp},get className(){return`animate-spin ${t()??""}`}})}(e)}var Ag=po('<p class="font-normal text-balance text-[13px]/[130%] max-w-[24ch]"><!></p>'),zg=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 Pg(e,t){const r=Bi(t,"title",3,"Title"),o=Bi(t,"height",3,"");var i=zg(),n=It(i),s=It(n),a=e=>{rg(e,{get icon(){return t.icon},className:"app:size-32 size-8"})};To(s,e=>{t.icon&&e(a)});var l=zt(s,2),c=It(l,!0);q(l);var d=zt(l,2),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(d,e=>{t.children&&e(u)});var h=zt(d,2),p=e=>{var r=Ag();Ho(It(r),()=>t.subtitle),q(r),bo(e,r)};To(h,e=>{t.subtitle&&e(p)}),q(n),q(i),er(()=>{li(i,1,ii(["flex-1",o()])),ko(c,r())}),Jo(3,n,()=>na,()=>({start:.8,duration:500,easing:Ws})),Jo(3,i,()=>ia,()=>({duration:50})),bo(e,i)}var Fg=po('<div class="absolute"><!></div>'),Ng=po("<div><!></div>"),jg=po("<!> <!>",1),Dg=po("<div><!></div>"),Hg=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>'),Wg=po('<div class="relative"><!> <!></div>');function Rg(e,t){ue(t,!0);const r=(e,r)=>{let c=et(()=>m(r?.(),()=>({}),!0));var u=Wg(),h=It(u);ei(h,()=>t.href?"a":"button",!1,(e,r)=>{Li(e,()=>({type:t.href?void 0:"button",href:t.href,...Hr(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=jg(),h=At(u),p=e=>{var r=Ng();Io(It(r),()=>t.icon,e=>{var r=Fg();rg(It(r),{get icon(){return t.icon},get strokeWidth(){return i()},get className(){return o()}}),q(r),Jo(3,r,()=>na,()=>({opacity:0,start:.5,duration:200,easing:Ws})),bo(e,r)}),q(r),er(()=>li(r,1,ii([o(),"flex-center relative"]))),bo(e,r)};To(h,e=>{t.icon&&e(p)}),Wo(zt(h,2),()=>t.children??g),bo(r,u)});var p=zt(h,2),f=e=>{var r=Dg();rg(It(r),{get icon(){return t.statusIcon},className:"size-14 touch:size-16"}),q(r),er(()=>li(r,1,ii(["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,Hg())};To(p,e=>{t.status&&t.statusIcon?e(f):a()&&e(v,1)}),q(u),bo(e,u)};let o=Bi(t,"iconSize",3,"size-20"),i=Bi(t,"iconStrokeWidth",3,1.5),n=Bi(t,"size",3,"h-32 min-w-32 touch:h-44 touch:min-w-44"),s=Bi(t,"active",3,!1),a=Bi(t,"alert",3,!1),l=Bi(t,"class",3,""),c=Bi(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)};sp(e,Vi(c,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};To(h,e=>{c()?.text?e(p):e(f,!1)}),bo(e,u),he()}var Vg=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>'),Bg=po("<div><p> </p> <p> </p></div>"),Ug=po('<div data-fubi-drag-handle=""><div class="flex-1"><!></div> <!> <div class="flex-1 flex justify-end touch:gap-8"><!></div></div>');function Zg(e,t){ue(t,!0);const{win:r,router:o,sheet:i}=dy();Bi(t,"back",3,"Back");let n=Bi(t,"onBack",3,null),s=Bi(t,"title",3,""),a=Bi(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=Ug(),u=It(d),h=It(u),p=e=>{Rg(e,{onclick:l,children:(e,t)=>{bo(e,Vg())},$$slots:{default:!0}})};To(h,e=>{null!==n()&&e(p)}),q(u);var g=zt(u,2),f=e=>{var t=Bg(),r=It(t),o=It(r,!0);q(r);var n=zt(r,2),l=It(n,!0);q(n),q(t),er(()=>{li(t,1,ii(["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":""])),Ci(r,"title",s()),li(r,1,ii(["text-lg/[110%] touch:text-xl/[110%] text-neutral-300 font-medium transition-[scale,opacity] truncate max-w-176",Hr(c)?"ease-out-cubic duration-400 delay-100":"opacity-0 scale-80 ease-in-cubic duration-200"])),ko(o,s()||" "),li(n,1,ii([" transition-[font-size,translate,color] ease-in-out-cubic px-8",Hr(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)};To(g,e=>{a()&&e(f)});var m=zt(g,2),v=It(m),b=e=>{var r=vo();Wo(At(r),()=>t.after),bo(e,r)};To(v,e=>{t.after&&e(b)}),q(m),q(d),er(()=>li(d,1,ii(["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",Hr(c)?"border-white/10":"border-white/0",i.collapsed?"max-h-0! border-transparent! opacity-0":"max-h-100"]))),bo(e,d),he()}var qg=po('<div class="flex-center h-9 app:h-36 group-aria-disabled/item:opacity-30"><!></div>'),Kg=po("<div><!></div>"),Gg=po("<p> </p>"),Xg=po('<p class="text-neutral-500 text-[15px]/[110%] touch:text-[18px]/none pb-0.5 app:pb-2"> </p>'),Yg=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>'),Jg=po("<!> <!> <div><p> </p> <!></div> <div><!> <!> <!></div>",1);function Qg(e,t){ue(t,!0);let r=Bi(t,"component",19,()=>ph),o=Bi(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=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"};{let r=Qe(()=>t.closeOnSelect??(!!t.onclick&&!t.chevron)),l=Qe(()=>[Hr(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]);n(e,Vi({get closeOnSelect(){return Hr(r)},get class(){return Hr(l)}},()=>i,{children:(e,r)=>{var i=Jg(),n=At(i),s=e=>{var r=qg();Wo(It(r),()=>t.start),q(r),bo(e,r)};To(n,e=>{t.start&&e(s)});var l=zt(n,2),c=e=>{var r=Kg(),i=It(r);{let e=Qe(()=>`size-5 app:size-20 touch:app:size-22 ${t.iconClass??""}`);rg(i,{get icon(){return t.icon},get className(){return Hr(e)}})}q(r),er(()=>li(r,1,ii(["flex-center size-9 app:size-36 group-aria-disabled/item:opacity-30",a[o()]]))),bo(e,r)};To(l,e=>{t.icon&&e(c)});var d=zt(l,2),u=It(d);li(u,1,ii(["text-[15px]/[110%] touch:text-[17px]/none font-normal"]));var h=It(u,!0);q(u);var p=zt(u,2),g=e=>{var r=Gg();li(r,1,ii(["text-[13px]/[114%] font-normal mouse:text-xs/[114%] line-clamp-1 text-white/50"]));var o=It(r,!0);q(r),er(()=>ko(o,t.subtitle)),bo(e,r)};To(p,e=>{t.subtitle&&e(g)}),q(d);var f=zt(d,2),m=It(f),v=e=>{var r=Xg(),o=It(r,!0);q(r),er(()=>ko(o,t.after)),bo(e,r)};To(m,e=>{t.after&&e(v)});var b=zt(m,2),w=e=>{var r=Yg(),o=It(r,!0);q(r),er(()=>ko(o,t.label)),bo(e,r)};To(b,e=>{t.label&&e(w)});var y=zt(b,2),x=e=>{var r=vo();Wo(At(r),()=>t.end),bo(e,r)},k=e=>{{let r=Qe(()=>t.checked?Yp:Fp),o=Qe(()=>"size-4 app:size-16 "+(t.checked?"text-sky-400":""));rg(e,{get icon(){return Hr(r)},get className(){return Hr(o)}})}};To(y,e=>{t.end?e(x):(t.checked||t.chevron)&&e(k,1)}),q(f),er(()=>{li(d,1,ii(["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),li(f,1,ii(["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}}))}he()}var ef=[["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"}]],tf=[["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"}]],rf=[["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"}]],of=[["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"}]],nf=[["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"}]],sf=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],af=[["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"}]],lf=[["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"}]],cf=[["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"}]],df=[["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"}]],uf=[["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"}]],hf=[["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"}]],pf=[["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"}]],gf=[["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"}]],ff=[["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"}]],mf=[["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"}]],vf=[["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"}]],bf=[["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"}]],wf=[["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"}]],yf=[["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"}]],xf=[["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"}]],kf=[["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"}]],Cf=[["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"}]],Lf=[["path",{d:"M11.5085 2.9903C7.02567 2.9903 4.78428 2.9903 3.39164 4.38238C1.99902 5.77447 1.99902 8.015 1.99902 12.4961C1.99902 16.9771 1.99902 19.2176 3.39164 20.6098C4.78428 22.0018 7.02567 22.0018 11.5085 22.0018C15.9912 22.0018 18.2326 22.0018 19.6253 20.6098C21.0179 19.2176 21.0179 16.9771 21.0179 12.4961V11.9958",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4.99902 20.9898C9.209 16.2385 13.9402 9.93727 20.999 14.6632",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M17.9958 1.99829V10.0064M22.0014 5.97728L13.9902 5.99217",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Mf=[["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"}]],Sf=[["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"}]],$f=[["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"}]],_f=[["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"}]],Tf=[["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"}]],Ef=[["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"}]],Of=[["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"}]],If=[["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"}]],Af=[["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"}]],zf=[["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"}]],Pf=[["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"}]],Ff=[["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"}]],Nf=[["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"}]],jf=[["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"}]],Df=[["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"}]],Hf=[["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"}]],Wf=[["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"}]],Rf=[["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"}]],Vf=[["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"}]],Bf=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Uf=[["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"}]],Zf=[["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"}]],qf=[["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"}]],Kf=[["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"}]],Gf=[["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"}]],Xf=[["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"}]],Yf=[["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"}]],Jf=[["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"}]],Qf=[["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"}]],em=[["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"}]],tm=[["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"}]],rm=[["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"}]],om=[["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"}]],im=[["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"}]],nm=[["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"}]],sm=[["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"}]],am=[["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"}]],lm=[["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"}]],cm=[["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"}]],dm=[["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"}]],um=[["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"}]],hm=[["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"}]],pm=[["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"}]],gm=[["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"}]],fm=[["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"}]],mm=[["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"}]],vm=[["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"}]],bm=[["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"}]],wm=[["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"}]],ym=[["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"}]],xm=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 km(e,t){ue(t,!0);let r=Bi(t,"progress",3,0),o=Bi(t,"radius",3,12),i=Bi(t,"stroke",3,4),n=Bi(t,"colorful",3,!0),s=new Ns(0,{stiffness:.04,damping:.4}),a=Qe(()=>2*Math.PI*o()),l=Qe(()=>s.current/100*Hr(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=xm(),p=It(h),g=zt(p);q(h),er(()=>{Ci(h,"width",Hr(d)),Ci(h,"height",Hr(d)),Ci(h,"viewBox",`0 0 ${Hr(d)} ${Hr(d)}`),li(h,0,ii(["-rotate-90 shrink-0 transition-colors duration-200",Hr(u),t.class])),Ci(p,"cx",Hr(c)),Ci(p,"cy",Hr(c)),Ci(p,"r",o()),Ci(p,"stroke-width",i()),li(g,0,ii(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),Ci(g,"cx",Hr(c)),Ci(g,"cy",Hr(c)),Ci(g,"r",o()),Ci(g,"stroke-width",i()),Ci(g,"stroke-dasharray",`${Hr(l)} ${Hr(a)}`)}),bo(e,h),he()}var Cm=po('<p class="text-base/none text-white"> </p>'),Lm=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 Mm(e,t){ue(t,!0);let r=new Ns(0,{stiffness:.04,damping:.4}),o=Bi(t,"radius",3,12),i=Bi(t,"title",3,"Progress");Kt(()=>{r.set(t.progress)});var n=Lm(),s=It(n),a=It(s),l=It(a,!0);q(a);var c=zt(a,2),d=It(c),u=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)},h=e=>{var o=Cm(),i=It(o,!0);q(o),er(e=>ko(i,e),[()=>t.content?t.content:void 0!==t.progress?`${r.current.toFixed(0)}%`:""]),bo(e,o)};To(d,e=>{t.children?e(u):e(h,!1)}),q(c),q(s);var p=zt(s,2),g=e=>{km(e,{get progress(){return t.progress},get radius(){return o()}})};To(p,e=>{void 0!==t.progress&&e(g)}),q(n),er(()=>{li(n,1,`flex gap-6 flex-1 h-full items-center justify-between ${t.class??""}`),ko(l,i())}),bo(e,n),he()}var Sm=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),$m=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!></div>'),_m=po("<!> <!> <!>",1),Tm=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>'),Em=po('<div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div>'),Om=po('<div role="presentation"><!></div> <!>',1),Im=po('<div class="h-120 w-full flex-center"><!></div>'),Am=po('<a target="_blank" class="text-sky-400 hover:underline">Create a folder</a>.',1),zm=po("<p>There are no folders in this project.<br/> <!></p>"),Pm=po('<p class="p-4 text-center text-sm text-gray-500">No folders</p> <!>',1),Fm=po('<p class="p-4 text-center text-sm text-rose-500">Error loading folders</p>'),Nm=po("<!> <!>",1),jm=po("<!> <!>",1);ao(["click","keydown"]);var Dm=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>'),Hm=po('<div class="flex absolute"><!> <!></div>'),Wm=po('<div><!> <div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div></div>');function Rm(e,t){let r=Bi(t,"progress",3,0),o=Bi(t,"done",3,0),i=Bi(t,"total",3,0),n=Bi(t,"radius",3,8),s=Bi(t,"stroke",3,3),a=Bi(t,"bg",3,!1),l=Bi(t,"showCount",3,!0),c=Bi(t,"tabindex",3,0);{let t=Qe(()=>`${Math.round(r())}% Done`);np(e,{get text(){return Hr(t)},delay:100,side:"left",offset:4,get tabindex(){return c()},children:(e,t)=>{var c=Wm(),d=It(c),u=e=>{var t=Dm(),r=It(t),n=It(r,!0);q(r);var s=zt(r,2),a=It(s,!0);q(s),q(t),er(()=>{ko(n,o()),ko(a,i())}),Jo(3,t,()=>ia,()=>({axis:"x",duration:200})),bo(e,t)};To(d,e=>{l()&&e(u)});var h=zt(d,2),p=It(h),g=e=>{Cp(e,{})},f=e=>{var t=Hm(),o=It(t);km(o,{get progress(){return r()},get radius(){return n()},get stroke(){return s()},class:"touch:hidden"}),km(zt(o,2),{get progress(){return r()},radius:10,stroke:3,class:"mouse:hidden"}),q(t),Jo(3,t,()=>na,()=>({duration:200})),bo(e,t)};To(p,e=>{100===r()?e(g):e(f,!1)}),q(h),q(c),er(()=>li(c,1,ii(["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 Vm=po("<p><!></p>");function Bm(e,t){let r=Bi(t,"margin",3,"mb-6");var o=Vm();Wo(It(o),()=>t.children),q(o),er(()=>li(o,1,`text-neutral-400 text-sm/none ${r()} px-10`)),bo(e,o)}var Um=po("<!> <!> <!>",1),Zm=po("<!> <!>",1),qm=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Km=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Gm=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>'),Xm=po('<a draggable="false" class="focus-visible group/listitem-link rounded-[17px] superellipse"><!></a>'),Ym=po("<!> <!>",1),Jm=po('<div class="flex-center h-full"><!></div>'),Qm=po("<!> <!> <!> <!>",1),ev=po("<!> <!>",1);function tv(e,{from:t,to:r},o={}){var{delay:i=0,duration:n=e=>120*Math.sqrt(e),easing:s=Ws}=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 rv=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 ov(e,t){ue(t,!0);let r=Bi(t,"created",19,()=>Date.now()),o=Bi(t,"author",3,null);const{comments:i,auth:n}=dy(),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(()=>Hr(c)+"?thumb=64x64");var u=rv(),h=It(u),p=zt(h,2),g=It(p),f=It(g);Ho(It(f),()=>Hr(a)),q(f);var m=zt(f,2);Ho(It(m),()=>Hr(l)),q(m),q(g);var v=zt(g,2),b=It(v,!0);q(v),q(p),q(u),er(()=>{Ci(h,"src",Hr(d)),Ci(h,"alt",o()?.firstName+" "+o()?.lastName),ko(b,Hr(s))}),bo(e,u),he()}var iv=po("<div><!></div>"),nv=po('<div class="w-34 mouse:w-24 shrink-0"></div>'),sv=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-neutral-500">Selection not allowed</p>'),av=po('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-orange-400/50">Hidden</p>'),lv=po("<p> </p>"),cv=po('<div><!> <span class="text-sm/none mouse:text-xs/none font-medium"> </span></div>'),dv=po('<div class="flex flex-col gap-4"></div>'),uv=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 hv(e,t){ue(t,!0);let r=Bi(t,"depth",3,0),o=Bi(t,"missing",3,!1),i=Qe(()=>t.node.selected),n=Qe(()=>t.node.threadCount>0),s=Qe(()=>t.node.hasNestedThreads&&!Hr(n)),a=ut(null);Kt(()=>{if(!t.node.selected||!Hr(a))return;const e=Hr(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=uv(),c=It(l),d=e=>{var r=vo(),o=At(r),n=e=>{var t=iv();let r;rg(It(t),{get icon(){return xg},strokeWidth:2,className:"size-20 mouse:size-16"}),q(t),er(()=>r=li(t,1,ii(["w-34 h-46 mouse:w-24 mouse:h-32 flex-center shrink-0 transition-transform duration-200 ease-out",Hr(i)?"text-sky-500":"text-white/40"]),null,r,{"rotate-90":Hr(i)})),bo(e,t)},s=e=>{bo(e,nv())};To(o,e=>{t.node.hasChildren?e(n):e(s,!1)}),bo(e,r)};To(c,e=>{r()>0&&e(d)});var u=zt(c,2),h=It(u);Ci(h,"tabindex",-1);var p=It(h),g=It(p);{let e=Qe(()=>t.node.ignored?um:t.node.hidden?pm: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":Hr(n)||Hr(s)?"text-indigo-400":"text-neutral-400"));rg(g,{get icon(){return Hr(e)},get strokeWidth(){return Hr(r)},get className(){return Hr(i)}})}q(p);var f=zt(p,2),m=It(f),v=It(m,!0);q(m);var b=zt(m,2),w=e=>{bo(e,sv())},y=e=>{bo(e,av())},x=e=>{var r=lv(),i=It(r,!0);q(r),er(()=>{li(r,1,ii(["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)};To(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=cv(),o=It(r);rg(o,{get icon(){return Rp},className:"size-18 mouse:size-14"});var i=zt(o,2),n=It(i,!0);q(i),q(r),er(()=>{li(r,1,ii(["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)};To(k,e=>{!o()&&Hr(n)&&e(C)}),q(h),ji(h,e=>pt(a,e),()=>Hr(a));var L=zt(h,2),M=e=>{var o=dv();Po(o,21,()=>t.node.children,e=>e.el,(e,o)=>{{let i=Qe(()=>r()+1);hv(e,{get node(){return Hr(o)},get depth(){return Hr(i)},get onselect(){return t.onselect}})}}),q(o),Jo(3,o,()=>ia,()=>({duration:200,easing:Ws})),bo(e,o)};To(L,e=>{!o()&&Hr(i)&&t.node.children.length>0&&e(M)}),q(u),q(l),er(()=>{li(h,1,ii(["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(),li(p,1,ii(["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":Hr(n)||Hr(s)?"bg-indigo-500/10":"bg-white/5"])),li(m,1,ii(["text-[16px]/[110%] mouse:text-[13px]/[110%] font-medium truncate",o()?"text-orange-400":t.node.selected?"text-sky-300":Hr(n)||Hr(s)?"text-indigo-300":"text-neutral-200"])),ko(v,t.node.name)}),so("click",h,()=>{o()||t.node.ignored||(ds(),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 pv={div:{name:"Div",icon:Qf},span:{name:"Span",icon:cm},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:xf},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:_f},modal:{name:"Modal",icon:Tf},form:{name:"Form",icon:Df},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:$f},header:{name:"Header",icon:Tf},article:{name:"Article",icon:Df},section:{name:"Section",icon:$f},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:Mf},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:rm},th:{name:"Table Header",icon:rm},td:{name:"Table Data",icon:rm},svg:{name:"Vector",icon:tm},path:{name:"SVG Path",icon:tm},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:Of},h1:{name:"Heading 1",icon:bf},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:cm},ul:{name:"List",icon:Af},ol:{name:"Numbered List",icon:Af},li:{name:"List Item",icon:Af},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:tf},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:Rf},fieldset:{name:"Fieldset",icon:of},legend:{name:"Legend",icon:Uf},details:{name:"Details",icon:tf},summary:{name:"Summary",icon:cm},dialog:{name:"Dialog",icon:Tf},canvas:{name:"Canvas",icon:Vf},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:of},iframe:{name:"iFrame",icon:Qf},object:{name:"Object",icon:Rf},embed:{name:"Embed",icon:Rf},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:cm},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:xf},blockquote:{name:"Block Quote",icon:Uf},hr:{name:"Horizontal Rule",icon:Qf},address:{name:"Address",icon:cm},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:Vf},abbr:{name:"Abbreviation",icon:lm},cite:{name:"Citation",icon:Uf},code:{name:"Code",icon:Jf},pre:{name:"Preformatted Text",icon:uf},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:uf},var:{name:"Variable Name",icon:Jf},sub:{name:"Subscript",icon:lm},sup:{name:"Superscript",icon:lm},b:{name:"Bold",icon:nm},i:{name:"Italic",icon:am},u:{name:"Underline",icon:dm},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:lm},strong:{name:"Strong Emphasis",icon:nm},em:{name:"Emphasis",icon:am},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:dm},q:{name:"Inline Quote",icon:Uf},data:{name:"Data",icon:af},meter:{name:"Meter",icon:af},progress:{name:"Progress",icon:af},output:{name:"Output",icon:uf},template:{name:"Template",icon:_f},favicon:{name:"Favicon",icon:xf},url:{name:"Page URL",icon:Of},shareimage:{name:"Share Image",icon:xf},title:{name:"Page Title",icon:bf},description:{name:"Page Description",icon:cm}},gv={name:"Element",icon:Qf},fv=po("<button><!></button>"),mv=po("<div><!></div>"),vv=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="overflow-y-auto overflow-x-hidden flex-1 p-6 flex flex-col gap-2"><p class="text-[11px] font-medium text-neutral-500 uppercase tracking-wider px-6 pt-4 pb-2">Path to Element</p> <!></div>',1),bv=po("<!> <!>",1),wv=po("<div><!></div>"),yv=po("<div><!></div>"),xv=po('<div class="flex"><!></div>'),kv=po('<div class="flex"><!></div>'),Cv=po("<button><!></button>"),Lv=po("<div><!></div>");function Mv(e,t){ue(t,!0);const{meta:r,hover:o,tracer:i,dom:n,sheet:s,environment:a,elements:l,toolbar:c}=dy();let d=ut(null),u=Bi(t,"element",3,null),h=Bi(t,"anchorEl",3,null),p=Bi(t,"hidden",3,!1),g=Bi(t,"missing",3,!1),f=Bi(t,"selector",3,""),m=Bi(t,"meta",3,!1),v=Qe(()=>h()??Hr(d)),b=ut(!1),w=ut(!1),y=ut(null),x=Qe(()=>{if(!g()||!f()||!1===Hr(w))return[];const e=f().split(" > "),t=[];let r="",o=!1;for(let i=0;i<e.length;i++){const n=e[i];if(r=r?`${r} > ${n}`:n,"body"===n)continue;const s=n.replace(/:nth-of-type\(\d+\)/,"");if(o){const e=pv[s]||gv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Ip,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1},missing:!0});continue}const a=(m()?c.wrapper:document)?.querySelector(r)??null;if(!a){o=!0;const e=pv[s]||gv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Ip,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1},missing:!0});continue}t.push({node:l.makeNode(a,a===Hr(y),!1),missing:!1})}return t});const k=()=>{u()&&Hr(v)&&(a.touch||m()&&!r.visible||(o.isIsolated||(pt(b,!0),o.highlightInstant=!0,o.focus(u())),i.trace(u(),Hr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}})))},C=async()=>{a.touch||(o.isIsolated||(o.unfocus(),pt(b,!1),await Dr(),o.highlightInstant=!1),i.hide())};let L=ut(!1);const M=()=>{if(!m()||!f())return null;const e=c.wrapper?.querySelectorAll("[data-fubi-meta]");if(!e?.length)return null;const t=f().split(" > ").slice(-2).join(" > ");for(const r of e)if(l.getPath(r).split(" > ").slice(-2).join(" > ")===t)return r;return null},S=e=>{o.focus(e)};Kt(()=>{Hr(L)&&r.visible&&(pt(L,!1),setTimeout(()=>{const e=M();e&&S(e)},200))});const $=()=>{if(m()&&!r.visible)return r.show(),void pt(L,!0);if(m()&&r.visible){const e=M();return void(e&&(a.touch&&s.opened&&s.close(),S(e)))}u()&&(a.touch&&s.opened&&s.close(),n.scrollToElement(u()),o.focus(u()))},_=e=>{Hr(v)&&!a.touch&&(o.isIsolated||(o.highlightInstant=!0,o.focus(e.el)),i.trace(e.el,Hr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}}))},T=async()=>{a.touch||(o.isIsolated||(o.unfocus(),await Dr(),o.highlightInstant=!1),i.hide())};Kt(()=>{g()&&Hr(b)&&(o.isIsolated||(o.unfocus(),o.highlightInstant=!1),i.hide(),pt(b,!1))});var E=vo(),O=At(E),I=e=>{{const t=(e,t)=>{var r=wv();Li(r,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"})),Ro(It(r),()=>Dh,(e,t)=>{t(e,{get open(){return Hr(w)},set open(e){pt(w,e,!0)},children:(e,t)=>{var r=bv(),i=At(r);{const e=(e,t)=>{var r=fv();Li(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",Hr(w)&&"glass bg-white/5"]})),rg(It(r),{get icon(){return Ip},className:"size-20 touch:size-24"}),q(r),bo(e,r)};Ro(i,()=>Sh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ro(zt(i,2),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Ro(At(r),()=>Lh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147480000))] min-w-200 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:"end",sideOffset:8,trapFocus:!1,"data-fubi-ignore-all":!0,onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),children:(e,t)=>{var r=vv(),i=zt(At(r),2);Po(zt(It(i),2),17,()=>Hr(x),Ao,(e,t,r)=>{var i=mv();di(i,"",{},{"margin-left":(r>0?28*(r-1):0)+"px"}),hv(It(i),{get node(){return Hr(t).node},get missing(){return Hr(t).missing},depth:r>0?1:0,onselect:()=>(e=>{e.missing||(pt(y,e.node.el,!0),a.touch&&s.opened&&s.close(),o.focus(e.node.el),n.scrollToElement(e.node.el))})(Hr(t)),onhover:_,onleave:T}),q(i),bo(e,i)}),q(i),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),bo(e,r)},$$slots:{default:!0}})}),q(r),ji(r,e=>pt(d,e),()=>Hr(d)),bo(e,r)};sp(e,{text:"Trace missing element",delay:200,get disabled(){return Hr(w)},child:t,$$slots:{child:!0}})}},A=e=>{{const t=(e,t)=>{var o=Lv();Li(o,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"}));var i=It(o),n=e=>{var t=yv();li(t,1,ii(["flex-center size-24 touch:size-30 rounded-[8px] superellipse touch:rounded-[8px] text-orange-600 absolute"])),rg(It(t),{get icon(){return Ip},className:"size-22 touch:size-26"}),q(t),bo(e,t)},s=e=>{var t=Cv();li(t,1,ii(["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"]));var o=It(t),i=e=>{rg(e,{get icon(){return Xp},className:"mouse:size-20"})},n=e=>{var t=xv();rg(It(t),{get icon(){return pm},className:"mouse:size-20 text-orange-500 group-hover/focus-button:text-orange-100"}),q(t),Jo(1,t,()=>na,()=>({duration:500,start:2.5,opacity:0,easing:Ws})),bo(e,t)},s=e=>{var t=kv();rg(It(t),{get icon(){return Dp},className:"mouse:size-20"}),q(t),Jo(1,t,()=>na,()=>({duration:500,start:2.5,opacity:0,easing:Ws})),bo(e,t)};To(o,e=>{m()&&!r.visible?e(i):p()?e(n,1):e(s,!1)}),q(t),ji(t,e=>pt(d,e),()=>Hr(d)),no("pointerenter",t,k),no("pointerleave",t,C),so("click",t,$),Jo(1,t,()=>na,()=>({duration:500,start:.5,opacity:0,easing:Ds})),Jo(2,t,()=>na,()=>({duration:100,start:.5,opacity:0})),bo(e,t)};To(i,e=>{g()&&!m()?e(n):(u()||m())&&e(s,1)}),q(o),ji(o,e=>pt(d,e),()=>Hr(d)),bo(e,o)};let o=Qe(()=>m()?r.visible?"Trace to element":"Open Meta Panel":p()?"This element is hidden. It may be inside a modal, dropdown, accordion, or similar":"Scroll into View"),i=Qe(()=>g()&&!m());sp(e,{get text(){return Hr(o)},delay:200,get disabled(){return Hr(i)},child:t,$$slots:{child:!0}})}};To(O,e=>{g()&&!m()&&f()?e(I):e(A,!1)}),bo(e,E),he()}ao(["click"]);var Sv=po("<!> <!>",1);var $v=/https?:\/\/[^\s<>]+/g;function _v(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var Tv={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"}]]},Ev=class extends ss{#qi=ut(wt({width:0,height:0}));get resolution(){return Hr(this.#qi)}set resolution(e){pt(this.#qi,e,!0)}#ae=ut(wt({width:0,height:0}));get current(){return Hr(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()}},Ov=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 Iv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Ov();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Av=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 zv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Av();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Pv=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 Fv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Pv();Li(o,()=>({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Nv=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 jv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Nv();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Dv=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 Hv(e,t){let r=Wi(t,["$$slots","$$events","$$legacy"]);var o=Dv();Li(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),bo(e,o)}var Wv=po("<div><!></div>"),Rv=po('<div class="w-36 flex-center"><!></div>'),Vv=po("<!> <!>",1);po('<span role="button" tabindex="0"><!></span> <div popover="manual"> </div>',1);var Bv=po('<div class="flex justify-between items-center"><!> <div class="flex gap-0 touch:gap-6 items-center"><!> <!> <!></div></div> <p><!></p>',1);function Uv(e,t){ue(t,!0);const{hover:r,comments:o,auth:i}=dy();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 _v(e.value).replace(/\n/g,"<br>").replace($v,e=>`<a href="${_v(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}">${_v(o)}</span>`}case"image":return`<img src="${_v(e.src)}" alt="${_v(e.alt||"")}" data-fubi-comment-image />`;case"link":return e.title&&e.favicon?`<a href="${_v(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="${_v(e.favicon)}" class="size-4 app:size-16 rounded-sm shrink-0" alt="" /><span class="truncate">${_v(e.title)}</span></a>`:`<a href="${_v(e.url)}" target="_blank" rel="noopener noreferrer" class="text-sky-400 hover:underline break-all">${_v(e.url)}</a>`}}).join(""):"";var e,r}),a=Qe(()=>o.highlightRenderedHTML(Hr(s)));var l=Bv(),c=At(l),d=It(c);{let e=Qe(()=>t.expand?.createdBy);ov(d,{get created(){return t.created},get author(){return Hr(e)}})}var u=zt(d,2),h=It(u),p=e=>{!function(e,t){ue(t,!0);const{resolution:r,modals:o,environment:i}=dy(),[n,s]=t.info?.resolution||[0,0],a=ks(n)||"Unknown",l=t.info.browser||["unknown",""];let c=ut(!1),d=Qe(()=>r.width===n&&r.height===s),u=!1;const h=()=>{o.isOpen("resolution")&&Hr(d)?r.hide():r.show(n,s)};{const r=(e,t)=>{let r=()=>t?.().props;const o=Qe(()=>r().onclick),n=Qe(()=>r().onpointerdown);ng(e,Vi(r,{get active(){return Hr(c)},get icon(){return Tv[a]},onpointerdown:e=>{u=!0,Hr(n)?.(e)},onclick:e=>{i.touch&&!u||(u=!1,Hr(o)?.(e))}}))};lp(e,{side:"top",sideOffset:4,align:"end",origin:"origin-bottom-right",get opened(){return Hr(c)},set opened(e){pt(c,e,!0)},child:r,children:(e,r)=>{var i=Vv(),c=At(i),u=e=>{{let t=Qe(()=>`${n}×${s}`),r=Qe(()=>o.isOpen("resolution")&&Hr(d));Qg(e,{get title(){return a},get subtitle(){return Hr(t)},get icon(){return Tv[a]},get active(){return Hr(r)},onclick:h})}};To(c,e=>{t.info?.resolution&&e(u)});var p=zt(c,2),g=e=>{{const t=e=>{var t=Rv();!function(e,t){const r=Bi(t,"browser",3,"unknown"),o=Bi(t,"size",3,"size-5"),i={Chrome:Iv,Firefox:zv,Safari:Fv,Opera:jv,Edge:Hv,unknown:Iv},n=Qe(()=>i[r()]||Iv);var s=Wv();Ro(It(s),()=>Hr(n),(e,t)=>{t(e,{get class(){return o()}})}),q(s),er(()=>{li(s,1,ii(o())),Ci(s,"data-cursor-text",`${r()}`)}),bo(e,s)}(It(t),{get browser(){return l[0]},size:"size-22"}),q(t),bo(e,t)};Qg(e,{get title(){return l[0]},get subtitle(){return l[1]},start:t,$$slots:{start:!0}})}};To(p,e=>{t.info?.browser&&e(g)}),bo(e,i)},$$slots:{child:!0,default:!0}})}he()}(e,{get info(){return t.info}})};To(h,e=>{(t.info?.browser||t.info?.resolution)&&e(p)});var g=zt(h,2),f=e=>{{let r=Qe(()=>o.bindings.get(t.selector)?.element??null),i=Qe(()=>t.info?.meta);Mv(e,{get element(){return Hr(r)},get anchorEl(){return t.commentEl},get missing(){return t.missing},get hidden(){return t.hidden},get selector(){return t.selector},get meta(){return Hr(i)}})}};To(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}=dy(),a=Qe(()=>i.data.find(e=>e.id===t.id)),l=Qe(()=>Hr(a)?.createdBy===s.user?.id),c=()=>{Hr(a)&&(pt(r,!1),n.open("edit-comment",Hr(a)))},d=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)=>{ng(e,Vi(()=>t?.().props,{get active(){return Hr(r)},get icon(){return Cg}}))};lp(e,{get opened(){return Hr(r)},set opened(e){pt(r,e,!0)},child:t,children:(e,t)=>{var r=Sv(),o=At(r),i=e=>{Qg(e,{title:"Edit",get icon(){return mm},onclick:c})};To(o,e=>{Hr(l)&&e(i)}),Qg(zt(o,2),{title:"Delete",get icon(){return fm},type:"destructive",onclick:d}),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}(e,{get id(){return t.id}})};To(m,e=>{Hr(n)||e(v)}),q(u),q(c);var b=zt(c,2);Ho(It(b),()=>Hr(a)),q(b),er(()=>li(b,1,ii(["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 Zv=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 qv=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 Kv=po('<p class="mr-4"> </p>'),Gv=po("<button><!> <!></button>"),Xv=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>'),Yv=po('<button type="button"><!></button>'),Jv=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 Qv(e,t){ue(t,!0);const{media:r}=dy();let o=Bi(t,"entry",3,null),i=Bi(t,"url",3,null),n=Bi(t,"index",3,0),s=Bi(t,"media",3,null),a=Bi(t,"removable",3,!0),l=Bi(t,"commentId",3,void 0),c=Bi(t,"filename",3,void 0),d=Bi(t,"imageWidth",3,void 0),u=Bi(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=Jv(),v=It(m),b=It(v);li(b,1,ii(["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=Xv();Ig(It(t)),q(t),bo(e,t)};To(w,e=>{Hr(f)&&e(y)});var x=zt(w,2),k=e=>{var t=Yv();li(t,1,ii(["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"])),rg(It(t),{get icon(){return jp},className:"size-14 text-white"}),q(t),so("pointerdown",t,e=>{e.preventDefault()}),so("click",t,()=>{s().remove(o().id)}),bo(e,t)};To(x,e=>{a()&&s()&&o()&&e(k)}),q(m),er(()=>{Ci(b,"src",Hr(p)),Ci(b,"alt",Hr(g))}),so("pointerdown",v,e=>{e.preventDefault()}),so("click",v,()=>{r.previewImage(Hr(h),l(),c(),o()?.width??d(),o()?.height??u())}),Jo(3,b,()=>na,()=>({start:.8,duration:300,delay:100+40*n(),easing:Ws})),Jo(3,m,()=>ia,()=>({axis:"x",duration:200,easing:Ws})),bo(e,m),he()}ao(["pointerdown","click"]);var eb=po('<div class="w-auto items-center z-10 shrink-0 flex"></div>'),tb=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),rb=po('<div class="flex overflow-x-auto w-[calc(100%+20px)] -translate-x-10 pl-10 hide-scrollbar mask-r-from-90%"><!></div>'),ob=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>'),ib=po("<div><div><!> <div><!></div> <!> <!></div></div>");function nb(e,t){ue(t,!0);let r=Bi(t,"reply",3,!1),o=Bi(t,"focused",3,!1),i=Bi(t,"replyThread",3,!1),n=ut(null);var s=ib(),a=It(s),l=It(a),c=e=>{var t=tb();K(2),bo(e,t)};To(l,e=>{r()&&e(c)});var d=zt(l,2);Uv(It(d),{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 unread(){return t.unread},get created(){return t.created},get commentEl(){return Hr(n)},get reply(){return r()}}),q(d);var u=zt(d,2),h=e=>{var r=rb(),o=It(r);{let e=Qe(()=>({id:t.id,collectionName:"comments",media:t.media,info:t.info}));!function(e,t){ue(t,!0);var r=eb();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]);Qv(e,{get url(){return Hr(i)},get index(){return Hr(o)},removable:!1,get commentId(){return t.comment.id},get filename(){return r},get imageWidth(){return Hr(n)},get imageHeight(){return Hr(s)}})}}),q(r),bo(e,r),he()}(o,{get comment(){return Hr(e)}})}q(r),bo(e,r)};To(u,e=>{t.media&&t.media.length>0&&e(h)});var p=zt(u,2),g=e=>{var o=ob(),n=It(o),s=It(n);(function(e,t){ue(t,!0);let r=Bi(t,"checked",7,!1);const{comments:o}=dy(),i=Zn("done");{const n=(e,n)=>{var s=Zv(),a=It(s),l=e=>(e=>{ds();const r=e.target;i.info("Changed done for comment",t.id,"to",r.checked),o.setDone(t.id,r.checked)})(e);Li(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 "]);xp(c,{name:"check",get class(){return Hr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Unmark done":"Mark as done");sp(e,{get text(){return Hr(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=Bi(t,"checked",7,!1);const{comments:o}=dy(),i=Zn("priority");{const n=(e,n)=>{var s=qv(),a=It(s),l=e=>(e=>{ds();const r=e.target;i.info("Changed priority for comment",t.id,"to",r.checked),o.setPriority(t.id,r.checked)})(e);Li(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"]);xp(c,{name:"chevrons-up",get class(){return Hr(e)}})}q(s),Oi(a,r),bo(e,s)};let s=Qe(()=>r()?"Remove High Priority":"Set High Priority");sp(e,{get text(){return Hr(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=Bi(t,"replies",3,0),o=Wi(t,["$$slots","$$events","$$legacy","id","selector","replies"]),{hover:i}=dy(),n=()=>{i.isolateForReply(t.id,t.selector)};{const t=(e,t)=>{var i=Gv();Li(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=It(i),a=e=>{rg(e,{get icon(){return df},className:"size-22 touch:size-26"})},l=e=>{rg(e,{get icon(){return Rp},className:"size-22 touch:size-26"})};To(s,e=>{0===r()?e(a):e(l,!1)});var c=zt(s,2),d=e=>{var t=Kv(),o=It(t,!0);q(t),er(()=>ko(o,r())),bo(e,t)};To(c,e=>{r()>0&&e(d)}),q(i),bo(e,i)};let i=Qe(()=>0===r()?"Reply":"Show Replies");sp(e,{get text(){return Hr(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}})};To(a,e=>{r()||i()||e(l)}),q(o),bo(e,o)};To(p,e=>{r()||e(g)}),q(a),ji(a,e=>pt(n,e),()=>Hr(n)),q(s),er(()=>{li(s,1,ii(["w-full group/comment",r()&&"pl-28 pt-2"])),li(a,1,ii(["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","animate-comment-in","",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"])),li(d,1,ii(["flex flex-col",r()?"gap-4":"gap-6"]))}),Jo(1,d,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:200})),Jo(2,d,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:0})),Jo(1,a,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:200})),Jo(2,a,()=>na,()=>({duration:300,easing:Ws,start:.8,opacity:0,delay:0})),Jo(1,s,()=>ia,()=>({axis:"y",duration:400,easing:Ws})),Jo(2,s,()=>ia,()=>({axis:"y",duration:300,delay:0,easing:Ws})),bo(e,s),he()}po("<!> <!>",1);var sb=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 ab(e,t){ue(t,!0);let r=Bi(t,"checked",15,!1),o=Bi(t,"disabled",3,!1),i=Bi(t,"small",3,!1);var n=sb(),s=It(n);xi(s);var a=zt(s,4);q(n),er(()=>{li(n,1,ii(["relative flex rounded-2xl",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(),li(a,1,ii(["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-[26px] touch:w-[34px]","peer-checked:translate-x-[12px]"]))}),so("change",s,e=>{ds(),t.onchange?.(e.currentTarget.checked)}),Oi(s,r),bo(e,n),he()}ao(["change"]);var lb=po('<div class="absolute inset-6 left-auto flex-center"><!></div>'),cb=po("<!> <!>",1),db=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 ub(e,t){ue(t,!0);let r=Bi(t,"placeholder",3,"Search");Bi(t,"hide",3,!1),Bi(t,"value",11,"");const{settings:o,comments:i,inputs:n}=dy();let s=ut(""),a=ut(!1),l=ut(null);Ui(()=>(n.register("search",{focus:()=>Hr(l)?.focus(),focusWithoutScroll:()=>{Hr(l)&&(Hr(l).style.opacity="0",Hr(l).focus(),requestAnimationFrame(()=>{Hr(l)&&(Hr(l).style.opacity="")}))},blur:()=>Hr(l)?.blur(),clear:()=>{pt(s,"")},reset:()=>{pt(s,""),Hr(l)?.blur()},submit:()=>{},isFocused:()=>document.activeElement===Hr(l)}),()=>n.unregister("search")));let c=Qe(()=>!!o.current.onlyMineVisible||!o.current.doneThreadsVisible||"priority"!==o.current.sortMode);Kt(()=>{i.search=Hr(s)});var d=db(),u=It(d),h=It(u);li(h,1,ii(["flex relative shrink-0 focus-visible text-white z-0 flex-1"]));var p=It(h);xi(p),li(p,1,ii(["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"])),ji(p,e=>pt(l,e),()=>Hr(l));var g=zt(p,2);li(g,1,ii(["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=It(g);rg(f,{get icon(){return Gp},className:"size-18 touch:size-20"});var m=zt(f,2),v=It(m,!0);q(m),q(g),q(h);var b=zt(h,2),w=It(b);{let e=Qe(()=>Hr(s)?0:-1);ng(w,{get icon(){return jp},onclick:()=>pt(s,""),get tabindex(){return Hr(e)}})}q(b);{const e=(e,t)=>{let r=()=>t?.().props;var o=lb(),i=It(o);{let e=Qe(()=>Hr(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);ng(i,Vi(r,{get icon(){return mf},get active(){return Hr(a)},get colors(){return Hr(e)}}))}q(o),bo(e,o)};lp(zt(b,2),{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Hr(a)},set opened(e){pt(a,e,!0)},child:e,children:(e,t)=>{var r=cb(),i=At(r);{const e=e=>{{let t=Qe(()=>!!o.current.onlyMineVisible);ab(e,{small:!0,get checked(){return Hr(t)},onchange:()=>o.toggle("onlyMineVisible")})}};Qg(i,{title:"Only Mine",closeOnSelect:!1,end:e,$$slots:{end:!0}})}{const e=e=>{{let t=Qe(()=>!!o.current.doneThreadsVisible);ab(e,{small:!0,get checked(){return Hr(t)},onchange:()=>o.toggle("doneThreadsVisible")})}};Qg(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()),li(b,1,ii(["absolute inset-6 left-auto right-38 touch:right-48 touch:glass rounded-[10px] touch:rounded-[12px]",Hr(s)?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"]))}),no("focus",p,()=>{Hr(l)&&(Hr(l).style.opacity="0",requestAnimationFrame(()=>{Hr(l)&&(Hr(l).style.opacity="")}))}),Ei(p,()=>Hr(s),e=>pt(s,e)),Jo(3,d,()=>ia,()=>({axis:"y",duration:300,easing:Ws})),bo(e,d),he()}var hb=po('<button><!> <span class="sr-only">Close</span></button>');function pb(e,t){let r=Wi(t,["$$slots","$$events","$$legacy","class"]);var o=hb();Li(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})),rg(It(o),{get icon(){return jp},className:"size-5 app:size-16 touch:app:size-20"}),K(2),q(o),bo(e,o)}var gb=po('<p class="text-neutral-400 flex items-center text-sm/[140%] font-normal text-balance"> </p>'),fb=po('<div class="text-neutral-400 text-sm/[140%]"><!></div>'),mb=po('<div><p class="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>'),vb=po("<div></div>"),bb=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>'),wb=po('<div class="p-12 gap-8 touch:p-14 touch:gap-10 flex flex-col"><div><!></div></div>'),yb=po("<div><!> <!> <!></div>"),xb=po("<!> <!>",1),kb=po("<!> <!>",1);function Cb(e,t){ue(t,!0);const{modals:r,environment:o,toolbar:i}=dy();let n=Bi(t,"open",15,!1),s=Bi(t,"title",3,""),a=Bi(t,"width",3,"w-full max-w-[min(300px,calc(100%-32px))] touch:max-w-[min(320px,calc(100%-48px))]"),l=Bi(t,"horizontalButtons",3,!1),c=Wi(t,["$$slots","$$events","$$legacy","open","title","text","content","trigger","child","children","portal","width","horizontalButtons","header"]);var d=vo();Ro(At(d),()=>$h,(e,d)=>{d(e,Vi(()=>c,{get open(){return n()},set open(e){n(e)},children:(e,n)=>{var c=kb(),d=At(c),u=e=>{var r=vo();Ro(At(r),()=>md,(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();Wo(At(o),()=>t.trigger),bo(e,o)},$$slots:{default:!0}})}),bo(e,r)};To(d,e=>{t.trigger&&e(u)});var h=zt(d,2);{let e=Qe(()=>t.portal??(o.touch?i.wrapper:r.portalTarget));Ro(h,()=>Zl,(r,o)=>{o(r,{get to(){return Hr(e)},children:(e,r)=>{var o=xb(),i=At(o);{const e=(e,t)=>{var r=vo(),o=At(r),i=e=>{var r=vb();Li(r,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-50 touch:z-[calc(var(--infinity,2147480000)+1)] bg-black/50 rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none superellipse"})),Jo(3,r,()=>ta,()=>({duration:150})),bo(e,r)};To(o,e=>{t?.().open&&e(i)}),bo(e,r)};Ro(i,()=>gd,(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=yb();Li(o,()=>({...r?.().props,"data-fubi-ignore-all":!0,class:["fixed left-[50%] top-[50%] z-50 touch:z-[calc(var(--infinity,2147480000)+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=It(o),n=e=>{!function(e,t){let r=Bi(t,"border",3,!0);var o=mb(),i=It(o),n=It(i,!0);q(i);var s=zt(i,2),a=e=>{var r=vo(),o=At(r),i=e=>{var r=gb(),o=It(r,!0);q(r),er(()=>ko(o,t.text)),bo(e,r)},n=e=>{var r=fb();Wo(It(r),()=>t.text),q(r),bo(e,r)};To(o,e=>{"string"==typeof t.text?e(i):e(n,!1)}),bo(e,r)};To(s,e=>{t.text&&e(a)});var l=zt(s,2);{const e=(e,t)=>{pb(e,Vi(()=>t?.().props,{class:"absolute top-3 right-3 app:top-8 app:right-8 touch:app:top-12 touch:app:right-14"}))};Ro(l,()=>Th,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}q(o),er(()=>{li(o,1,ii(["group/navbar flex flex-col","pt-4 px-5 pb-3 gap-1","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,Vi({get title(){return s()},get text(){return t.text}},()=>t.header))};To(i,e=>{(s()||t.text)&&e(n)});var c=zt(i,2),d=e=>{var r=bb();Wo(It(r),()=>t.content),q(r),bo(e,r)};To(c,e=>{t.content&&e(d)});var u=zt(c,2),h=e=>{var r=wb(),o=It(r);Wo(It(o),()=>t.children),q(o),q(r),er(()=>li(o,1,ii(["flex w-full gap-8 touch:gap-12",l()?"flex-row":"flex-col"]))),bo(e,r)};To(u,e=>{t.children&&e(h)}),q(o),Jo(3,o,()=>na,()=>({duration:150,start:.95})),bo(e,o)};To(i,e=>{r?.().open&&e(n)}),bo(e,o)};Ro(n,()=>Ih,(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 Lb=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 Mb=po('<div class="px-8"><!></div>'),Sb=po("<!> <!>",1),$b=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>'),_b=po('<form action="" id="edit-page-form" class="contents"><!> <!> <!></form>'),Tb=po("<!> <!>",1),Eb=po("<span> </span>"),Ob=po('<div class="relative"><div contenteditable="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 Ib(e,t){ue(t,!0);const{media:r,picker:o}=dy();let i=Bi(t,"content",31,()=>wt([])),n=Bi(t,"mentions",31,()=>wt([])),s=Bi(t,"element",15,null),a=Bi(t,"focused",15,!1),l=Bi(t,"charCount",15,0),c=Bi(t,"initialHtml",3,""),d=Bi(t,"maxLength",3,2e3),u=ut(wt(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()-Hr(p)),f=Qe(()=>Hr(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()&&Hr(h)){if("mention"===Hr(h).type){const t=`@${Hr(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">${_v(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(Hr(p))}),Ui(()=>{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=Ob(),k=It(x);ji(k,e=>s(e),()=>s());var C=zt(k,2),L=e=>{var t=vo();Io(At(t),()=>Hr(g),e=>{var t=Eb(),r=It(t,!0);q(t),er(()=>{li(t,1,ii(["absolute bottom-4 right-8 text-[12px] tabular-nums select-none pointer-events-none",Hr(g)<=0||Hr(g)<=10?"text-rose-400":"text-orange-400"])),ko(r,Hr(g))}),Jo(1,t,()=>na,()=>({duration:100,easing:Ws,start:1.5})),bo(e,t)}),bo(e,t)};return To(C,e=>{Hr(f)&&e(L)}),q(x),er(()=>Ci(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(Hr(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())):Hr(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()-Hr(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,()=>Hr(u),e=>pt(u,e)),bo(e,x),he(y)}ao(["keydown","beforeinput","input"]);var Ab=po('<div class="flex justify-between items-center pb-2"><!></div>'),zb=po('<div class="rounded-[14px] superellipse glass-pressed bg-neutral-500/10 overflow-hidden"><!></div>'),Pb=po("<!> <!>",1),Fb=po('<div class="flex gap-8"><!> <!></div>');var Nb=po("<button><!></button>"),jb=po('<div class="rounded-[14px]"><!></div>');function Db(e,t){let r=Bi(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=jb(),n=It(i);{const e=(e,r)=>{var i=Nb();Li(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})),Wo(It(i),()=>t.children),q(i),Jo(3,i,()=>na,()=>({duration:200,easing:Ws,start:.8})),bo(e,i)};let i=Qe(()=>r()||""),s=Qe(()=>!r());sp(n,{get text(){return Hr(i)},get disabled(){return Hr(s)},child:e,$$slots:{child:!0}})}q(i),Jo(3,i,()=>ia,()=>({axis:"x",duration:400,easing:Ws})),bo(e,i)};To(n,e=>{t.visible&&e(s)}),bo(e,i)}var Hb=po('<div class="flex items-end justify-center gap-4 shrink-0 pb-4 mt-auto"><!> <!></div>');function Wb(e,t){ue(t,!0);const{auth:r,comments:o,settings:i}=dy();let n=Qe(()=>t.threads??o.threads),s=Qe(()=>Hr(n).filter(e=>(!i.current.onlyMineVisible||e.createdBy===r?.user?.id)&&e.done).length),a=Qe(()=>Hr(n).filter(e=>!(!i.current.doneThreadsVisible&&e.done)&&e.createdBy!==r?.user?.id).length);var l=vo(),c=At(l),d=e=>{var t=Hb(),r=It(t);{let e=Qe(()=>!i.current.doneThreadsVisible&&Hr(s)>0);Db(r,{get visible(){return Hr(e)},onclick:()=>i.toggle("doneThreadsVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${Hr(s)??""} Done`)),bo(e,r)},$$slots:{default:!0}})}var o=zt(r,2);{let e=Qe(()=>i.current.onlyMineVisible&&Hr(a)>0);Db(o,{get visible(){return Hr(e)},onclick:()=>i.toggle("onlyMineVisible"),children:(e,t)=>{K();var r=mo();er(()=>ko(r,`Show ${Hr(a)??""} Other`)),bo(e,r)},$$slots:{default:!0}})}q(t),bo(e,t)};To(c,e=>{(!i.current.doneThreadsVisible&&Hr(s)>0||i.current.onlyMineVisible&&Hr(a)>0)&&e(d)}),bo(e,l),he()}var Rb=po("<div><!> </div>"),Vb=po("<!> <!>",1),Bb=po('<div class="flex gap-4"><!> <!></div>'),Ub=po('<p class="text-base/none"><span class="text-white"> </span> </p>'),Zb=po('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 w-full shrink-0 opacity-50"></div> <!></div>'),qb=po("<div><!></div>"),Kb=po("<div><!> <!> <!></div>"),Gb=po("<p>Error loading</p>"),Xb=po("<!> <!> <!> <!> <!>",1),Yb=po("<!> <!>",1),Jb=po('<div class="flex"><!></div>'),Qb=po('<div class="flex flex-col gap-6 min-h-full pt-px"><!> <!> <!></div> <!>',1),ew=po("<!> <!>",1),tw=po("<div><!> <!> <!></div> <!>",1),rw=po("<!> <!>",1),ow=[["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"}]],iw=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),nw=po("<div><div><div></div> <div></div> <div></div></div> <div><!></div></div>");function sw(e,t){ue(t,!0);let r=Bi(t,"rounded",3,"rounded-lg"),o=Bi(t,"class",3,""),i=Bi(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=nw(),a=It(s),l=It(a),c=zt(l,2);li(c,1,"rim-soft"),li(zt(c,2),1,"rim-sharp"),q(a);var d=zt(a,2),u=It(d),h=e=>{var r=vo();Wo(At(r),()=>t.children),bo(e,r)};To(u,e=>{t.children&&e(h)}),q(d),q(s),er(()=>{li(s,1,`rim-wrapper select-none ${r()} ${Hr(n)}`),li(a,1,`rim-container ${r()}`),li(l,1,`rim-underline ${i()}`),li(d,1,`rim-content ${r()}`)}),bo(e,s),he()}var aw=po("<div><div><!></div></div>");function lw(e,t){ue(t,!0);let r=new Ns(0,{stiffness:.08,damping:.5}),o=ut(0),i=ut(0);Kt(()=>{const e="width"===c()?Hr(i):Hr(o);r.set(e)});const n=Bi(t,"children",3,null),s=Bi(t,"clip",3,!1),a=Bi(t,"class",3,""),l=Bi(t,"classOutter",3,""),c=Bi(t,"animate",3,"height"),d=Wi(t,["$$slots","$$events","$$legacy","children","clip","class","classOutter","animate"]);var u=aw();Li(u,()=>({style:`${c()}: ${r.current}px;`,class:[s()&&"overflow-clip",l()],...d}));var h=It(u),p=It(h),g=e=>{var t=vo();Wo(At(t),n),bo(e,t)};To(p,e=>{n()&&e(g)}),q(h),q(u),er(()=>li(h,1,ii(["width"===c()&&"w-fit",a()]))),Fi(h,"clientHeight",e=>pt(o,e)),Fi(h,"clientWidth",e=>pt(i,e)),bo(e,u),he()}var cw=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>'),dw=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>'),uw=po('<button class="size-38 flex-center rounded-full active:bg-white/20 disabled:opacity-30"><!></button>'),hw=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 pw(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}=dy();let h=Bi(t,"parent",3,null),p=Bi(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);Ui(()=>{const e=r.on("comments:created",()=>{pt(C,!0),setTimeout(()=>{pt(C,!1)},1500)});return a.register(t.id,{focus:()=>Hr(v)?.focus({preventScroll:!0}),focusWithoutScroll:()=>{Hr(v)&&(Hr(v).style.opacity="0",Hr(v).focus(),requestAnimationFrame(()=>{Hr(v)&&(Hr(v).style.opacity="")}))},blur:()=>Hr(v)?.blur(),clear:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),Hr(v)&&(Hr(v).innerHTML="")},reset:()=>{pt(w,[],!0),pt(y,[],!0),pt(k,!1),Hr(v)&&(Hr(v).innerHTML="",Hr(v).blur())},submit:()=>Hr(m)?.requestSubmit(),isFocused:()=>Hr(b)}),()=>{a.unregister(t.id),e()}});let L=Qe(()=>0===Hr(w).length||Hr(x)>400||c.loading);var M=hw(),S=At(M),$=e=>{var t=dw();sw(It(t),{rounded:"rounded-full",bg:"bg-green-600",children:(e,t)=>{var r=cw();xp(It(r),{name:"check",class:"size-28 stroke-2"}),K(2),q(r),bo(e,r)},$$slots:{default:!0}}),q(t),Jo(3,t,()=>na,()=>({start:.8,easing:Ws})),bo(e,t)};To(S,e=>{Hr(C)&&d.touch&&e($)});var _=zt(S,2),T=It(_),E=It(T),O=It(E),I=It(O);{let e=Qe(()=>l.files.length>=l.MAX_FILES);Rg(I,{get icon(){return Bf},size:"size-38",get disabled(){return Hr(e)},onpointerdown:e=>{e.preventDefault()},onclick:()=>{l.openPicker()}})}q(O);var A=zt(O,2);Ib(It(A),{get id(){return t.id},get maxLength(){return 400},get content(){return Hr(w)},set content(e){pt(w,e,!0)},get mentions(){return Hr(y)},set mentions(e){pt(y,e,!0)},get charCount(){return Hr(x)},set charCount(e){pt(x,e,!0)},get element(){return Hr(v)},set element(e){pt(v,e,!0)},get focused(){return Hr(b)},set focused(e){pt(b,e,!0)}}),q(A);var z=zt(A,2),P=It(z);{let e=Qe(()=>Hr(L)?"bg-transparent opacity-50":"bg-sky-600/80"),t=Qe(()=>Hr(L)?"opacity-30":"");sw(P,{rounded:"rounded-full",get bg(){return Hr(e)},get class(){return Hr(t)},children:(e,t)=>{var r=uw(),o=It(r);{let e=Qe(()=>c.loading?zf:ow);rg(o,{get icon(){return Hr(e)},className:"size-20 text-white -translate-x-px translate-y-px"})}q(r),er(()=>r.disabled=Hr(L)),so("pointerdown",r,e=>e.preventDefault()),so("click",r,()=>Hr(m)?.requestSubmit()),bo(e,r)},$$slots:{default:!0}})}q(z),q(E);var F=zt(E,2);!function(e){ue({},!0);const{media:t}=dy(),r=Qe(()=>t.files.length>0),o=Qe(()=>t.error&&"capture_failed"!==t.error);var i=iw(),n=At(i),s=It(n);Po(s,23,()=>t.files,e=>e.id,(e,r,o)=>{Qv(e,{get entry(){return Hr(r)},get index(){return Hr(o)},get media(){return t}})}),q(s),q(n);var a=zt(n,2),l=It(a),c=It(l);rg(c,{get icon(){return Ip},className:"size-16 shrink-0"});var d=zt(c,2),u=It(d,!0);q(d),q(l),q(a),er(()=>{li(n,1,ii(["w-full gap-4 items-center max-w-full z-10 shrink-0 overflow-clip touch:px-4",Hr(r)?"h-44 touch:h-64":"h-0","transition-[height] duration-300 ease-out-cubic will-change-[height]"])),li(a,1,ii(["text-amber-400 text-sm/none overflow-clip",Hr(o)?"h-28":"h-0"])),li(l,1,ii(["px-8 pb-2 flex items-center gap-4 h-28",!Hr(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),j=It(N);li(j,1,ii(["flex items-center justify-between w-full p-6"," border-t-[0.5px] border-white/10"]));var D=It(j),H=It(D);{let e=Qe(()=>l.files.length>=l.MAX_FILES);ng(H,{type:"button",get icon(){return kf},alt:"Upload Media",tooltip:{text:"Upload Media"},get disabled(){return Hr(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()})}ng(zt(H,2),{type:"button",get icon(){return rf},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:()=>{Hr(v)?.focus(),document.execCommand("insertText",!1,"@")}}),q(D),Io(zt(D,2),()=>c.loading,e=>{{let t=Qe(()=>c.loading?zf:ow),r=Qe(()=>0===Hr(w).length||Hr(x)>400||c.loading);ng(e,{type:"submit",alt:"Send comment",get icon(){return Hr(t)},iconSize:"size-18",get disabled(){return Hr(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(j),q(N),q(T),ji(T,e=>pt(m,e),()=>Hr(m)),q(_),er(()=>{Ci(T,"data-fubi-comment-form",t.id),li(T,1,ii(["relative w-full pointer-events-auto superellipse flex-start flex flex-col","reply"===t.id?"origin-bottom":[Hr(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"])),li(N,1,ii(["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",T,async function(e){if(e.preventDefault(),o.opened)return;if(0===Hr(w).length||Hr(x)>400)return;l.error=null;const{name:t,version:a}=Cs(),{width:c,height:d}=xs(),u=n.isolationSelector;if(!u)return;const p=!!n.info?.meta;r.emit("comment-input:submit",{page:i.current.id,parent:h(),selector:u,done:!1,content:Hr(w),mentions:Hr(y),priority:Hr(k),info:{browser:[t,a],resolution:[c,d],meta:p,...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",T,e=>{if(!d.touch)return;if("isolated"!==n.mode.type)return;if(l.picking)return;if(o.opened)return;const r=e.relatedTarget;r&&Hr(m)?.contains(r)||setTimeout(()=>{const e=document.activeElement,r=e&&Hr(m)?.contains(e);"isolated"===n.mode.type&&(l.picking||r||u.isOpen("media-preview")||(n.dismissIsolation(),a.hide(t.id)))},0)}),bo(e,M),he()}ao(["focusout","pointerdown","click"]);var gw=po("<!> <!>",1),fw=po("<!> <!>",1),mw=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>'),vw=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),bw=po("<!> <!>",1),ww=po('<div class="flex items-center gap-4 text-sky-500"><a class="text-sm hover:underline"> </a> <!></div>'),yw=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>'),xw=po('<div class="flex-center w-full h-full text-neutral-400 px-16"><!></div>'),kw=po('<div class="flex items-center gap-8 text-sm text-neutral-400"><!> <p>Running analysis...</p></div>'),Cw=po('<div><!> <p class="text-sm/none font-semibold text-neutral-200"> </p></div>'),Lw=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Mw=po('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Sw=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>'),$w=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>'),_w=po('<div class="group/listitemwrap"><!> <!></div>'),Tw=po('<div class="flex flex-col mb-16"><!> <!></div>'),Ew=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>'),Ow=po("<!> <!> <!>",1),Iw=po("<!> <!>",1),Aw=po("<!> <!>",1);ao(["click"]);var zw=po("<!> <!>",1),Pw=po('<!> <div class="mt-auto text-xs/none text-center w-full mb-8 flex-center text-neutral-500"><p></p></div>',1),Fw=po("<!> <!>",1),Nw=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>');Zn("routes");var jw=e=>{if(e.domains.blocked)return{redirect:"error"}},Dw=e=>{const t=jw(e);if(t)return t;const r=(e=>{if(!e?.auth?.user)return{redirect:"login"}})(e);if(r)return r;const o=(e=>{if(0===e.folders.data.length)return{redirect:"error"}})(e);return o||void 0},Hw={demo:{component:function(e,t){ue(t,!0);const{folders:r,router:o,bus:i}=dy();let n=Qe(()=>r.ready);function s(){localStorage.setItem("fubi_demo_seen","true"),o.goto("comments")}Ui(()=>i.on("hover:enabled",()=>{const e=r.data[0];e&&(localStorage.setItem("fubi_demo_seen","true"),r.select(e),o.goto("comments"))})),la(e,{name:"demo",children:(e,t)=>{Op(e,{children:(e,t)=>{var r=Nw(),o=It(r),i=It(o);da(i,{class:"h-32 text-lime-300 mb-8"});var a=zt(i,6);{let e=Qe(()=>!Hr(n)),t=Qe(()=>!Hr(n));pg(a,{class:"w-full max-w-xs mt-16",get disabled(){return Hr(e)},get loading(){return Hr(t)},onclick:s,children:(e,t)=>{K();var r=mo();er(()=>ko(r,Hr(n)?"Start Exploring":"Loading...")),bo(e,r)},$$slots:{default:!0}})}Ci(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}=dy();let n=ut(""),s=ut("");la(e,{name:"login",children:(e,t)=>{var a=vg(),l=At(a);da(l,{class:"h-24 text-lime-300 absolute top-20 left-20"});var c=zt(l,2);Ci(c,"href","https://dash.fubi.dev"),li(c,1,ii(["absolute top-16 right-14 pointer-events-auto text-sm/none glass gap-4 bg-white/5 h-32 rounded-full flex-center pl-14 pr-10","transition-[background-color,color,scale] will-change-[background-color,color,scale] duration-100 ease-out-cubic","hover:bg-sky-500/10 hover:text-sky-500 hover:scale-[1.05]","active:bg-sky-500/20 active:scale-100"])),rg(zt(It(c),2),{get icon(){return Np},class:"size-16"}),q(c),Op(zt(c,2),{children:(e,t)=>{var a=mg(),l=It(a),c=zt(It(l),2),d=It(c);ha(d,{children:(e,t)=>{var r=gg(),o=At(r);lg(o,{name:"email",type:"email",label:"E-mail",autocomplete:"email",required:!0,get value(){return Hr(n)},set value(e){pt(n,e,!0)}}),lg(zt(o,2),{name:"password",type:"password",label:"Password",autocomplete:"password",required:!0,get value(){return Hr(s)},set value(e){pt(s,e,!0)}}),bo(e,r)},$$slots:{default:!0}});var u=zt(d,2),h=e=>{var t=fg(),r=It(t,!0);q(t),er(()=>ko(r,o.error)),Jo(3,t,()=>ia,()=>({})),bo(e,t)};To(u,e=>{o.error&&e(h)});var p=zt(u,2);{let e=Qe(()=>o.loading||i.navigating);pg(p,{class:"w-full",type:"submit",get loading(){return o.loading},get disabled(){return Hr(e)},children:(e,t)=>{K(),bo(e,mo("Login"))},$$slots:{default:!0}})}q(c);var g=zt(c,2);Ci(It(g),"href","https://dash.fubi.dev"),q(g);var f=zt(g,2),m=It(f);q(f),q(l),q(a),no("submit",l,e=>(async e=>{e.preventDefault(),(await o.login(Hr(n),Hr(s))).success&&(pt(n,""),pt(s,""))})(e)),so("click",m,()=>r.hide()),bo(e,a)},$$slots:{default:!0}}),bo(e,a)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(e.auth?.user?{redirect:"folders"}:void 0)},error:{component:function(e,t){ue(t,!0);const{auth:r,error:o,router:i}=dy(),n=()=>{"refresh"===o.current?.action?window.location.reload():"logout"===o.current?.action?i.goto("login",void 0,"back"):"back"===o.current?.action&&i.back("folders")};la(e,{name:"error",children:(e,t)=>{Op(e,{children:(e,t)=>{var r=xw(),i=It(r),s=e=>{var t=yw(),r=It(t),i=It(r);rg(i,{get icon(){return zp},className:"size-42 text-rose-400"});var s=zt(i,2),a=It(s,!0);q(s);var l=zt(s,2);Ho(It(l),()=>o.current?.message),q(l),q(r);var c=zt(r,2),d=It(c),u=e=>{var t=ww(),r=It(t),i=It(r,!0);q(r),rg(zt(r,2),{get icon(){return If},className:"size-14"}),q(t),er(()=>{Ci(r,"href",o.current.link.url),Ci(r,"target",o.current.link.external?"_blank":"_self"),ko(i,o.current.link.label)}),bo(e,t)};To(d,e=>{o.current?.link&&e(u)}),pg(zt(d,2),{class:"w-full",variant:"ghost",onclick:n,children:(e,t)=>{K();var r=mo();er(()=>ko(r,"logout"===o.current?.action?"Log out":"Refresh page")),bo(e,r)},$$slots:{default:!0}}),q(c),q(t),er(()=>ko(a,o.current?.title)),bo(e,t)},a=e=>{Ig(e)};To(i,e=>{o.current?e(s):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}})},$$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}=dy(),a=async(e,t)=>{const r=s?.data?.find(t=>t.id===e);if(r){const e={...r.expand?.folder_notifications_via_folder?.[0]??{},setting:t};r.expand={...r.expand??{},folder_notifications_via_folder:[e]}}await s.setNotification(e,t)};let l=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.total,0)??0),c=Qe(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.done,0)??0),d=Qe(()=>0===Hr(l)?0:Math.round(Hr(c)/Hr(l)*100));la(e,{name:"folders",children:(e,t)=>{var u=jm(),h=At(u);{const e=e=>{{let t=Qe(()=>`${Ms}/?redirect=/${o?.current?.slug}/${i?.current?.slug}`);Rg(e,{get href(){return Hr(t)},target:"_blank",get icon(){return If},tooltip:{text:"Manage Folders",align:"end",offset:4}})}};let t=Qe(()=>i?.current?.name||"—");Zg(h,{label:"Folders",get title(){return Hr(t)},after:e,$$slots:{after:!0}})}var p=zt(h,2);{const e=e=>{var t=$m(),r=It(t);Mm(r,{get progress(){return Hr(d)},radius:12,title:"Progress",class:"p-4 pl-6"}),Mm(zt(r,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Sm(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(c)),ko(n,`/${Hr(l)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>i?.current?.name||"–");Op(p,{get title(){return Hr(t)},get progress(){return Hr(d)},popoverContent:e,children:(e,t)=>{wg(e,{children:(e,t)=>{var l=Nm(),c=At(l);Po(c,17,()=>s?.foldersWithStats??[],Ao,(e,t,r)=>{const o=Qe(()=>(e=>{const t=e.expand?.folder_notifications_via_folder?.[0]?.setting;return"all"===t||"important"===t?t:"none"})(Hr(t)));{const i=e=>{var r=Om(),i=At(r),n=It(i);{const e=(e,t)=>{let r=()=>t?.().props;{let t=Qe(()=>{return"all"===(e=Hr(o))?Hf:"important"===e?Nf:Wf;var e});Rg(e,Vi(r,{get icon(){return Hr(t)},tooltip:{text:"Notifications",align:"end",offset:4}}))}};lp(n,{align:"end",origin:"origin-top-right",child:e,children:(e,r)=>{var i=_m(),n=At(i);{let e=Qe(()=>"all"===Hr(o));Qg(n,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"all")})}var s=zt(n,2);{let e=Qe(()=>"important"===Hr(o));Qg(s,{title:"Mentions & replies",get icon(){return Nf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"important")})}var l=zt(s,2);{let e=Qe(()=>"none"===Hr(o));Qg(l,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(e)},onclick:()=>a(Hr(t).id,"none")})}bo(e,i)},$$slots:{child:!0,default:!0}})}q(i);{const e=e=>{var r=Tm(),o=It(r),i=zt(It(o),2),n=It(i);q(i),q(o);var s=zt(o,2),a=zt(It(s),2),l=It(a),c=It(l,!0);q(l);var d=zt(l);q(a),q(s),q(r),er(()=>{ko(n,`${Hr(t).progress??""}%`),ko(c,Hr(t).done),ko(d,`/${Hr(t).total??""} Done`)}),bo(e,r)};np(zt(i,2),{align:"end",tooltipContent:e,children:(e,r)=>{var o=Em(),i=It(o),n=e=>{Cp(e,{})},s=e=>{km(e,{get progress(){return Hr(t).progress},radius:9,stroke:3})};To(i,e=>{100===Hr(t).progress?e(n):e(s,!1)}),q(o),bo(e,o)},$$slots:{tooltipContent:!0,default:!0}})}so("click",i,e=>e.stopPropagation()),so("keydown",i,e=>e.stopPropagation()),bo(e,r)};let l=Qe(()=>Hr(t).description?Hr(t)?.description:null),c=Qe(()=>s.current?.id===Hr(t).id);Og(e,{get title(){return Hr(t).name},get subtitle(){return Hr(l)},get icon(){return Bp},index:r,chevron:!0,get active(){return Hr(c)},onclick:()=>Hr(t)?(e=>{ds(),s.select(e),n.goto("pages")})(Hr(t)):null,after:i,$$slots:{after:!0}})}});var d=zt(c,2),u=e=>{var t=Im();Ig(It(t)),q(t),bo(e,t)},h=e=>{var t=Pm();Pg(zt(At(t),2),{get icon(){return wm},title:"No Folders",height:"min-h-330",children:(e,t)=>{var r=zm(),n=zt(It(r),3),s=e=>{bo(e,mo("Ask your team organizer to create one."))},a=e=>{var t=Am(),r=At(t);K(),er(()=>Ci(r,"href",`${uy}/${o?.current?.slug}/${i?.current?.slug}/folders`)),bo(e,t)};To(n,e=>{"guest"===o?.role?e(s):e(a,!1)}),q(r),bo(e,r)},$$slots:{default:!0}}),bo(e,t)},p=e=>{bo(e,Fm())};To(d,e=>{r?.loading||i?.loading||o?.loading||s?.loading?e(u):s?.loading||0!==s?.data?.length?s?.error&&e(p,2):e(h,1)}),bo(e,l)},$$slots:{default:!0}})},$$slots:{popoverContent:!0,default:!0}})}bo(e,u)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(1===e.folders.data.length?{redirect:"pages"}:void bs())},pages:{component:function(e,t){ue(t,!0);const{can:r,project:o,team:i,folders:n,router:s,domains:a,pages:l}=dy(),c=()=>{ds(),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===Hr(d)?0:Math.round(Hr(u)/Hr(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"===Hr(m)?Hf:"important"===Hr(m)?Nf:Wf);const b=e=>{const t=n.current.id;pt(m,e,!0),n.setNotification(t,e)};la(e,{name:"pages",children:(e,t)=>{var r=ev(),s=At(r);{const e=e=>{var t=Zm(),r=At(t);{let e=Qe(()=>`${Ms}/?redirect=/${i?.current?.slug}/${o?.current?.slug}/${n?.current?.slug}`);Rg(r,{get href(){return Hr(e)},target:"_blank",get icon(){return If},tooltip:{text:"Manage Folder",align:"end",offset:4}})}{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return Hr(v)},get active(){return Hr(f)},tooltip:{text:"Folder Notifications",align:"end",offset:4}}))};lp(zt(r,2),{triggerClass:"",get opened(){return Hr(f)},set opened(e){pt(f,e,!0)},child:e,children:(e,t)=>{var r=Um(),o=At(r);{let e=Qe(()=>"all"===Hr(m));Qg(o,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>b("all")})}var i=zt(o,2);{let e=Qe(()=>"important"===Hr(m));Qg(i,{title:"Mentions & replies",get icon(){return Nf},get checked(){return Hr(e)},onclick:()=>b("important")})}var n=zt(i,2);{let e=Qe(()=>"none"===Hr(m));Qg(n,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(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");Zg(s,{label:"Pages",get title(){return Hr(t)},get onBack(){return Hr(r)},after:e,$$slots:{after:!0}})}var w=zt(s,2);{const e=e=>{var t=Gm(),r=It(t);Mm(r,{get progress(){return Hr(h)},radius:12,title:"Progress",class:"p-4 pl-6"});var o=zt(r,4);Mm(o,{title:"Pages",class:"pt-4 p-6",children:(e,t)=>{var r=qm(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(g)),ko(n,`/${Hr(p)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),Mm(zt(o,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Km(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(u)),ko(n,`/${Hr(d)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>n?.current?.name);Op(w,{get title(){return Hr(t)},get progress(){return Hr(h)},popoverContent:e,children:(e,t)=>{var r=Qm(),o=At(r),i=e=>{wg(e,{children:(e,t)=>{var r=Ym(),o=At(r),i=e=>{{const t=e=>{Rm(e,{progress:0,radius:9,stroke:3})};let r=Qe(()=>l.current?.name);Og(e,{get icon(){return vm},classIcon:"text-white",get title(){return Hr(r)},active:!0,chevron:!0,onclick:c,after:t,$$slots:{after:!0}})}};To(o,e=>{l.isNew&&e(i)}),Po(zt(o,2),17,()=>l.pagesWithStats,Ao,(e,t,r)=>{let o=()=>Hr(t).total,i=()=>Hr(t).pathname;var n=Xm(),s=It(n);{const e=e=>{Rm(e,{get progress(){return Hr(t).progress},get done(){return Hr(t).done},get total(){return o()},radius:9,stroke:3,tabindex:-1})};let n=Qe(()=>i()===a?.url?.pathname?vm:0===o()?bm:vm),l=Qe(()=>i()===a?.url?.pathname?"text-neutral-500":""),d=Qe(()=>i()===a?.url?.pathname);Og(s,{get icon(){return Hr(n)},get classIcon(){return Hr(l)},get title(){return Hr(t).name},get active(){return Hr(d)},chevron:!0,index:r,tabindex:"-1",onclick:c,after:e,$$slots:{after:!0}})}q(n),er(()=>Ci(n,"href",i()===a?.url?.pathname?"#":i())),bo(e,n)}),bo(e,r)},$$slots:{default:!0}})};To(o,e=>{l.ready&&l.valid&&(l.pagesWithStats?.length>0||l.isNew)&&e(i)});var n=zt(o,2),s=e=>{Pg(e,{get icon(){return vm},title:"No Pages",subtitle:"No pages found for this domain."})};To(n,e=>{l.ready&&l.valid&&0===l.pagesWithStats?.length&&!l.isNew&&e(s)});var d=zt(n,2),u=e=>{Pg(e,{get icon(){return gm},title:"Error",subtitle:"Failed to load pages."})};To(d,e=>{l.error&&!l.valid&&e(u)});var h=zt(d,2),p=e=>{var t=Jm();Ig(It(t)),q(t),bo(e,t)};To(h,e=>{l.ready||e(p)}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,r)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(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}=dy();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(()=>Hr(g)||Hr(f)),v=Qe(()=>Hr(m)?"text-rose-400":void 0),b=ut(!1),w=Qe(()=>Hr(m)||Hr(u)?"error":Hr(h)?"warning":c.checks.length?"success":void 0),y=Qe(()=>"success"===Hr(w)?Hp:Ap);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=Qs}=sa(sa({},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:Ws});let C=Qe(()=>a.doneThreads),L=Qe(()=>a.totalThreads),M=Qe(()=>a.progress),S=Qe(()=>l.ready&&l.valid&&!a.search&&(l.isNew||0===a?.sortedThreads?.length));const $=async()=>{o.open("edit-page",{id:l.current?.id})},_=()=>{n.visible?n.hide():n.show()},T=()=>{i.goto("issues")};la(e,{name:"comments",children:(e,t)=>{var o=Yb(),i=At(o);{const e=e=>{var t=Bb(),o=It(t);Rg(o,{get icon(){return nf},get status(){return Hr(w)},get statusIcon(){return Hr(y)},onclick:T});{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return jf},get active(){return Hr(b)}}))};lp(zt(o,2),{get opened(){return Hr(b)},set opened(e){pt(b,e,!0)},child:e,children:(e,t)=>{var o=Vb(),i=At(o);Qg(i,{title:"Edit Page",get icon(){return gf},onclick:$});var s=zt(i,2);{const e=e=>{var t=vo(),r=At(t),o=e=>{var t=Rb();li(t,1,ii(["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=It(t);rg(r,{get icon(){return Ap},className:"size-16"});var o=zt(r);q(t),er(()=>ko(o,` ${Hr(m)??""}`)),bo(e,t)};To(r,e=>{Hr(m)&&e(o)}),bo(e,t)};let t=Qe(()=>!r.openMeta);Qg(s,{title:"Meta Panel",get icon(){return Jf},get iconClass(){return Hr(v)},get active(){return n.visible},get disabled(){return Hr(t)},onclick:_,end:e,$$slots:{end:!0}})}bo(e,o)},$$slots:{child:!0,default:!0}})}q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");Zg(i,{get title(){return Hr(t)},label:"Comments",onBack:"pages",after:e,$$slots:{after:!0}})}var c=zt(i,2);{const e=e=>{var t=Zb(),r=It(t);Mm(r,{get progress(){return Hr(M)},radius:12,title:"Progress",class:"p-4 pl-6"}),Mm(zt(r,4),{title:"Threads",class:"pt-4 p-6",children:(e,t)=>{var r=Ub(),o=It(r),i=It(o,!0);q(o);var n=zt(o);q(r),er(()=>{ko(i,Hr(C)),ko(n,`/${Hr(L)??""} Done`)}),bo(e,r)},$$slots:{default:!0}}),q(t),bo(e,t)};let t=Qe(()=>l?.current?.name||"—");Op(c,{get title(){return Hr(t)},get progress(){return Hr(M)},popoverContent:e,children:(e,t)=>{var r=Xb(),o=At(r),i=e=>{var t=Kb();li(t,1,ii(["flex flex-col gap-6 flex-1"]));var r=It(t);Po(r,25,()=>a?.sortedThreads??[],e=>e.id,(e,t)=>{var r=qb(),o=It(r);{let e=Qe(()=>s.mode.selector===Hr(t).selector),r=Qe(()=>a.getThreadInfo(Hr(t).id));nb(o,Vi({get focused(){return Hr(e)}},()=>Hr(t),()=>Hr(r)))}q(r),function(e){var t,r,o,i=(Xo??xr).nodes,n=null;i.a??={element:e,measure(){t=this.element.getBoundingClientRect()},apply(){if(o?.abort(),r=this.element.getBoundingClientRect(),t.left!==r.left||t.right!==r.right||t.top!==r.top||t.bottom!==r.bottom){const e=tv(this.element,{from:t,to:r},{duration:d.android?0:350,easing:Ws});o=Qo(this.element,e,void 0,1,()=>{o?.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:r,width:o,height:i}=getComputedStyle(e);if("absolute"!==r&&"fixed"!==r){var s=e.style;n={position:s.position,width:s.width,height:s.height,transform:s.transform},s.position="absolute",s.width=o,s.height=i;var a=e.getBoundingClientRect();if(t.left!==a.left||t.top!==a.top){var l=`translate(${t.left-a.left}px, ${t.top-a.top}px)`;s.transform=s.transform?`${s.transform} ${l}`:l}}}},unfix(){if(n){var t=e.style;t.position=n.position,t.width=n.width,t.height=n.height,t.transform=n.transform}}},i.a.element=e}(r),Jo(1,r,()=>k,()=>({key:Hr(t).id})),Jo(2,r,()=>x,()=>({key:Hr(t).id})),bo(e,r)},e=>{var t=vo(),r=At(t),o=e=>{{let t=Qe(()=>`No results for: "<strong>${a.search}</strong>"`);Pg(e,{get icon(){return ym},title:"No Results",get subtitle(){return Hr(t)},height:"min-h-120"})}};To(r,e=>{a.search&&e(o)}),bo(e,t)});var o=zt(r,2),i=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");Pg(e,{get icon(){return Rp},title:"No Comments",get subtitle(){return Hr(t)}})}};To(o,e=>{Hr(S)&&e(i)}),Wb(zt(o,2),{}),q(t),Jo(3,t,()=>ia,()=>d.android?void 0:{axis:"y",duration:200}),bo(e,t)},n=e=>{bo(e,Gb())};To(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}=dy();o.register("delete-comment");let i=Qe(()=>o.getData("delete-comment"));{const n=e=>{var r=Mb();(function(e,t){const r=wo();ue(t,!0);let o=Bi(t,"checked",15,!1);var i=Lb(),n=It(i),s=It(n);xi(s),xp(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);li(a,1,ii(["relative flex text-sm/[140%] cursor-pointer rounded-[6px]"]));var l=It(a,!0);q(a),q(i),er(()=>{Ci(s,"id",t.id??r),function(e,t){var r=Mi(e);r.checked!==(r.checked=t??void 0)&&(e.checked=t)}(s,o()),Ci(a,"for",t.id??r),ko(l,t.label)}),so("change",s,e=>{ds();const r=e.target.checked;o(r),t.onchange?.(r)}),bo(e,i),he()})(It(r),{label:"Don't ask me again",get checked(){return t.current.dontAskBeforeDelete},onchange:e=>t.set("dontAskBeforeDelete",e)}),q(r),bo(e,r)};Cb(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=Sb(),s=At(n);pg(s,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("delete-comment"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),pg(zt(s,2),{small:!0,flex:!0,variant:"destructive",onclick:()=>r.deleteComment(Hr(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}=dy();o.register("edit-comment");let i=ut(null),n=ut(""),s=ut(wt([])),a=ut(wt([])),l=ut(0),c=ut(0);Jn(()=>o.modals["edit-comment"],()=>{if(o.modals["edit-comment"]&&(pt(i,o.getData("edit-comment"),!0),Hr(i))){const e=Hr(i).expand?.mentions||[];pt(n,function(e,t){return e?(Array.isArray(e)?e:[]).map(e=>{switch(e.type){case"text":return _v(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">@${_v(o)}</span>`}case"image":return`<img src="${_v(e.src)}" alt="${_v(e.alt||"")}" data-fubi-comment-image />`;case"link":return _v(e.url)}}).join(""):""}(Hr(i).content,e),!0),function(e,t=1){var r=Hr(e);1===t?r++:r--,pt(e,r)}(c)}});const d=Qe(()=>Hr(s).length>0&&Hr(l)<=400),u=async()=>{Hr(i)&&Hr(d)&&await r.editComment(Hr(i).id,{content:Hr(s),mentions:Hr(a)})};{const t=e=>{var t=Pb(),r=At(t),o=e=>{var t=Ab(),r=It(t);{let e=Qe(()=>Hr(i).expand?.createdBy);ov(r,{get created(){return Hr(i).created},get author(){return Hr(e)}})}q(t),bo(e,t)};To(r,e=>{Hr(i)&&e(o)}),Io(zt(r,2),()=>Hr(c),e=>{var t=zb();Ib(It(t),{id:"edit-comment",get initialHtml(){return Hr(n)},get maxLength(){return 400},get content(){return Hr(s)},set content(e){pt(s,e,!0)},get mentions(){return Hr(a)},set mentions(e){pt(a,e,!0)},get charCount(){return Hr(l)},set charCount(e){pt(l,e,!0)}}),q(t),bo(e,t)}),bo(e,t)};Cb(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=Fb(),n=It(i);pg(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(()=>!Hr(d));pg(s,{small:!0,flex:!0,onclick:u,get disabled(){return Hr(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}=dy();r.register("edit-page");let o=ut(wt({})),i=ut(""),n=ut(""),s=Qe(()=>!!Hr(n)&&Hr(n)!==Hr(o).pathname),a=ut(!1);Jn(()=>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,Hr(o)?.name||"",!0),pt(n,Hr(o)?.pathname||"",!0))});const l=async e=>{e.preventDefault(),pt(a,!0);const l=Hr(s);Hr(o)?.id?(await t.update(Hr(o).id,{name:Hr(i),pathname:Hr(n)}),t.current?.id===Hr(o).id&&(t.current={...t.current,name:Hr(i),pathname:Hr(n)})):(await t.registerCurrent(Hr(i)),l&&t.current?.id&&(await t.update(t.current.id,{pathname:Hr(n)}),t.current&&(t.current={...t.current,pathname:Hr(n)}))),pt(a,!1),r.close("edit-page"),l&&(window.location.href=Hr(n))};{const t=e=>{var t=_b(),r=It(t);ha(r,{children:(e,t)=>{lg(e,{name:"page-name",label:"Name",required:!0,get disabled(){return Hr(a)},get value(){return Hr(i)},set value(e){pt(i,e,!0)}})},$$slots:{default:!0}});var o=zt(r,2);ha(o,{children:(e,t)=>{lg(e,{name:"page-url",label:"URL",required:!0,pattern:"/[a-zA-Z0-9\\-._~\\/]*",get disabled(){return Hr(a)},get loading(){return Hr(a)},get value(){return Hr(n)},set value(e){pt(n,e,!0)}})},$$slots:{default:!0}});var c=zt(o,2),d=e=>{var t=$b();Jo(3,t,()=>ia,()=>({axis:"y",duration:400,easing:Ws})),bo(e,t)};To(c,e=>{Hr(s)&&e(d)}),q(t),no("submit",t,l),bo(e,t)};Cb(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=Tb(),i=At(o);pg(i,{small:!0,flex:!0,variant:"ghost",onclick:()=>r.close("edit-page"),children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}}),pg(zt(i,2),{small:!0,type:"submit",flex:!0,form:"edit-page-form",get disabled(){return Hr(a)},get loading(){return Hr(a)},children:(e,t)=>{K(),bo(e,mo("Save"))},$$slots:{default:!0}}),bo(e,o)},$$slots:{content:!0,default:!0}})}he()}(h),ub(zt(h,2),{}),bo(e,r)},$$slots:{popoverContent:!0,default:!0}})}bo(e,o)},$$slots:{default:!0}}),he()},beforeEnter:Dw},isolation:{component:function(e,t){ue(t,!0);const{hover:r,comments:o,router:i}=dy();la(e,{name:"isolation",children:(e,t)=>{var n=ew(),s=At(n);{const e=e=>{{let t=Qe(()=>r.isolationSelector?document.querySelector(r.isolationSelector):null);Mv(e,{get element(){return Hr(t)},missing:!1,meta:!1})}};Zg(s,{label:"Selection",onBack:()=>(r.dismissIsolation(),void i.goto("comments",{direction:"back"})),after:e,$$slots:{after:!0}})}Op(zt(s,2),{children:(e,t)=>{var i=Qb(),n=At(i),s=It(n);Po(s,17,()=>o?.isolatedThreads??[],e=>e.id,(e,t)=>{{let i=Qe(()=>o.getThreadInfo(Hr(t).id));nb(e,Vi({get focused(){return r.isIsolated}},()=>Hr(t),()=>Hr(i)))}});var a=zt(s,2),l=e=>{Pg(e,{get icon(){return Rp},title:"No Comments",subtitle:"Add comments to this element.",height:"min-h-400"})};To(a,e=>{0===o?.isolatedThreads?.length&&e(l)});var c=zt(a,2);{let e=Qe(()=>o.threads.filter(e=>e.selector===r.isolationSelector));Wb(c,{get threads(){return Hr(e)}})}q(n),ub(zt(n,2),{}),bo(e,i)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e?.hover?.isIsolated?void 0:{redirect:"comments"})},meta:{component:function(e,t){ue(t,!0);const{pages:r,meta:o,comments:i}=dy();la(e,{name:"meta",children:(e,t)=>{var n=rw(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");Zg(s,{label:"Meta",get title(){return Hr(e)},onBack:()=>{o.hide()}})}Op(zt(s,2),{children:(e,t)=>{var r=tw(),o=At(r);li(o,1,ii(["flex flex-col gap-6 flex-1"]));var n=It(o);Po(n,17,()=>i?.metaThreads??[],e=>e.id,(e,t)=>{{let r=Qe(()=>i.getThreadInfo(Hr(t).id));nb(e,Vi(()=>Hr(t),()=>Hr(r)))}});var s=zt(n,2),a=e=>{Pg(e,{get icon(){return Rp},title:"No Meta Comments",subtitle:"Add comments to meta fields."})};To(s,e=>{0===i?.metaThreads?.length&&e(a)});var l=zt(s,2);{let e=Qe(()=>i.threads.filter(e=>e.info?.meta));Wb(l,{get threads(){return Hr(e)}})}q(o),ub(zt(o,2),{}),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e?.meta?.visible?void 0:{redirect:"comments"})},thread:{component:function(e,t){ue(t,!0);const{hover:r,router:o,comments:i}=dy();let n=ut(!1),s=Qe(()=>"all"===i.threadNotificationSetting?Hf:Wf);const a=e=>{const t=i.activeThreadId;t&&(i.threadNotificationSetting=e,i.setNotification(t,e))},l=async()=>{await navigator.clipboard.writeText(window.location.href)};la(e,{name:"thread",children:(e,t)=>{var c=bw(),d=At(c);{const e=e=>{var t=fw(),r=At(t);Rg(r,{get icon(){return kg},onclick:l});{const e=(e,t)=>{Rg(e,Vi(()=>t?.().props,{get icon(){return Hr(s)},get active(){return Hr(n)}}))};lp(zt(r,2),{triggerClass:"",class:"min-w-200",get opened(){return Hr(n)},set opened(e){pt(n,e,!0)},child:e,children:(e,t)=>{var r=gw(),o=At(r);{let e=Qe(()=>"all"===i.threadNotificationSetting);Qg(o,{title:"All activity",get icon(){return Hf},get checked(){return Hr(e)},onclick:()=>a("all")})}var n=zt(o,2);{let e=Qe(()=>"none"===i.threadNotificationSetting);Qg(n,{title:"Nothing",get icon(){return Wf},get checked(){return Hr(e)},onclick:()=>a("none")})}bo(e,r)},$$slots:{child:!0,default:!0}})}bo(e,t)};Zg(d,{label:"Thread",onBack:()=>(async()=>{const e="isolation"===o.previous;i.setActiveThread(null),ws(),o.back("comments"),e||r.dismissIsolation()})(),after:e,$$slots:{after:!0}})}Op(zt(d,2),{padding:"h-full flex-col-reverse overflow-y-scroll",children:(e,t)=>{var r=vw(),o=At(r);pw(It(o),{id:"reply",get parent(){return i.activeThreadId}}),q(o);var n=zt(o,4),s=It(n),a=e=>{nb(e,Vi(()=>i.activeThread,{replyThread:!0}))},l=e=>{var t=mw(),r=It(t);Ig(It(r)),q(r),q(t),bo(e,t)};To(s,e=>{i.activeThread?e(a):e(l,!1)}),Po(zt(s,2),19,()=>i.activeThreadReplies,e=>e.id,(e,t,r)=>{nb(e,Vi({reply:!0},()=>Hr(t),{get index(){return Hr(r)}}))}),q(n),bo(e,r)},$$slots:{default:!0}}),bo(e,c)},$$slots:{default:!0}}),he()},beforeEnter:e=>Dw(e)||(e.comments.activeThreadId?void 0:(bs()?.[1]||ws(),{redirect:"comments"}))},issues:{component:function(e,t){ue(t,!0);const{pages:r,analysis:o}=dy(),i={seo:"SEO & Accessibility",html:"HTML Quality",performance:"Performance",security:"Security",content:"Content"},n={seo:Gf,html:cf,performance:pf,security:qf,content:cm},s={title:bf,description:em,"og-image":Yf,favicon:vf,lang:Sf,"h1-missing":bf,"h1-multiple":bf,"h1-ok":bf,"heading-hierarchy":wf,"heading-empty":wf,"img-alt-missing":yf,"img-alt-ok":yf,"button-empty":om,"link-empty":Ef,"form-labels":Mf,"duplicate-ids":hf,deprecated:cf,"inline-handlers":Jf,"empty-href":hm,viewport:Zf,"img-dimensions":Cf,"blocking-scripts":ff,"mixed-content":Kf,"target-blank":im,"form-http":Pf,"lorem-ipsum":cm,"broken-anchors":ef,"todo-visible":lf};function a(e){return s[e.id]?s[e.id]:e.id.startsWith("duplicate-id-")?hf:e.id.startsWith("deprecated-")?cf:n[e.category]??Gf}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(()=>Hr(c).reduce((e,t)=>(e[t.category]||(e[t.category]=[]),e[t.category].push(t),e),{})),h=Qe(()=>Hr(l).fail>0?"border-rose-500/30 bg-rose-500/5":Hr(l).warn>0?"border-orange-500/30 bg-orange-500/5":"border-green-500/30 bg-green-500/5"),p=Qe(()=>Hr(l).fail>0?zp:Hr(l).warn>0?Ip:Hp),g=Qe(()=>Hr(l).fail>0?"text-rose-400":Hr(l).warn>0?"text-orange-400":"text-green-400"),f=Qe(()=>()=>{if(0===Hr(c).length)return"All checks passed — looking good";const e=[];return Hr(l).fail>0&&e.push(`${Hr(l).fail} error${Hr(l).fail>1?"s":""}`),Hr(l).warn>0&&e.push(`${Hr(l).warn} issues${Hr(l).warn>1?"s":""}`),`Found ${e.join(" and ")}`});let m=ut(wt(/* @__PURE__ */new Set)),b=ut(!1);var w=Aw(),y=At(w);la(y,{name:"issues",children:(e,t)=>{var n=Iw(),s=At(n);{let e=Qe(()=>r?.current?.name||"—");Zg(s,{label:"Issues",get title(){return Hr(e)},onBack:"comments"})}Op(zt(s,2),{children:(e,t)=>{var r=vo(),n=At(r),s=e=>{var t=kw();Ig(It(t)),K(2),q(t),bo(e,t)},w=e=>{var t=Ow(),r=At(t),o=e=>{var t=Cw(),r=It(t);rg(r,{get icon(){return Hr(p)},get className(){return`size-24 shrink-0 ${Hr(g)??""}`}});var o=zt(r,2),i=It(o,!0);q(o),q(t),er(e=>{li(t,1,`w-full flex items-center gap-8 p-10 mb-16 rounded-2xl superellipse border-[0.5px] ${Hr(h)??""}`),ko(i,e)},[()=>Hr(f)()]),bo(e,t)};To(r,e=>{Hr(c).length>0&&e(o)});var n=zt(r,2);Po(n,17,()=>Object.entries(Hr(u)),Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2));let o=()=>Hr(r)[1];var n=Tw(),s=It(n);Bm(s,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,i[Hr(r)[0]])),bo(e,o)},$$slots:{default:!0}}),wg(zt(s,2),{children:(e,t)=>{var r=vo();Po(At(r),19,o,e=>e.id,(e,t,r)=>{var o=_w(),i=It(o);{const e=e=>{var r=vo(),o=At(r),i=e=>{var t=Lw();rg(It(t),{get icon(){return Jf},className:"size-24 touch:size-28 shrink-0 text-neutral-500"}),q(t),bo(e,t)},n=e=>{var r=Mw(),o=It(r);{let e=Qe(()=>Hr(m).has(Hr(t).id)?"-rotate-180":"");rg(o,{get icon(){return Pp},get className(){return`size-20 text-neutral-500 transition-transform ${Hr(e)??""}`}})}q(r),bo(e,r)};To(o,e=>{Hr(t).action?e(i):Hr(t).elements?.length&&e(n,1)}),bo(e,r)};let o=Qe(()=>Hr(t).message||null),n=Qe(()=>a(Hr(t))),s=Qe(()=>"fail"===Hr(t).status?"!text-rose-400":"warn"===Hr(t).status?"!text-orange-400":""),l=Qe(()=>!(!Hr(t).elements?.length||!Hr(m).has(Hr(t).id))||null),c=Qe(()=>Hr(t).action?()=>Hr(t).action?.():Hr(t).elements?.length?()=>{return e=Hr(t).id,Hr(m).has(e)?Hr(m).delete(e):Hr(m).add(e),void pt(m,new Set(Hr(m)),!0);var e}:null);Og(i,{get title(){return Hr(t).label},get subtitle(){return Hr(o)},get icon(){return Hr(n)},get classIcon(){return Hr(s)},get active(){return Hr(l)},get onclick(){return Hr(c)},get index(){return Hr(r)},after:e,$$slots:{after:!0}})}var n=zt(i,2),s=e=>{var r=$w();Po(r,21,()=>Hr(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}>`}(Hr(t))),o=Qe(()=>({current:null}));var i=Sw(),n=It(i),s=It(n,!0);q(n),ji(n,(e,t)=>t.current=e,e=>e?.current,()=>[Hr(o)]),Mv(zt(n,2),{get element(){return Hr(t)},get anchorEl(){return Hr(o).current}}),q(i),er(()=>ko(s,Hr(r))),bo(e,i)}),q(r),Jo(3,r,()=>ia,()=>({duration:150})),bo(e,r)},l=Qe(()=>Hr(t).elements?.length&&Hr(m).has(Hr(t).id));To(n,e=>{Hr(l)&&e(s)}),q(o),Jo(3,o,()=>ia,()=>({duration:150})),bo(e,o)}),bo(e,r)},$$slots:{default:!0}}),q(n),Jo(3,n,()=>ia,()=>({duration:200})),bo(e,n)});var s=zt(n,2),w=e=>{var t=Ew(),r=It(t);rg(r,{get icon(){return Hp},className:"size-24 shrink-0 text-green-400"});var o=zt(r,2),i=It(o);q(o),q(t),er(()=>ko(i,`${Hr(l).pass??""} check${Hr(l).pass>1?"s":""} passed`)),so("click",t,()=>pt(b,!0)),bo(e,t)};To(s,e=>{Hr(d).length>0&&e(w)}),bo(e,t)};To(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=>{wg(e,{class:"",children:(e,t)=>{var r=vo();Po(At(r),17,()=>Hr(d),Ao,(e,t,r)=>{{let o=Qe(()=>Hr(t).message||null),i=Qe(()=>a(Hr(t)));Og(e,{get title(){return Hr(t).label},get subtitle(){return Hr(o)},get icon(){return Hr(i)},index:r})}}),bo(e,r)},$$slots:{default:!0}})};Cb(zt(y,2),{title:"Passed checks",get open(){return Hr(b)},set open(e){pt(b,e,!0)},content:e,$$slots:{content:!0}})}bo(e,w),he()},beforeEnter:Dw},settings:{component:function(e,t){ue(t,!0);const{router:r,settings:o}=dy(),i=Object.entries(o.groups).filter(([e,t])=>!1!==t.visible);la(e,{name:"settings",children:(e,t)=>{var n=Fw(),s=At(n);Zg(s,{label:"Settings",onBack:()=>r.back("comments")}),Op(zt(s,2),{title:"Settings",children:(e,t)=>{var r=Pw(),n=At(r);Po(n,17,()=>i,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2)),i=zw(),n=At(i);Bm(n,{children:(e,t)=>{K();var o=mo();er(()=>ko(o,Hr(r)[1].title)),bo(e,o)},$$slots:{default:!0}}),wg(zt(n,2),{class:"mb-16",children:(e,t)=>{var i=vo();Po(At(i),17,()=>o.schema.filter(e=>e.group===Hr(r)[0]),Ao,(e,t)=>{{const r=e=>{var r=vo(),i=At(r),n=e=>{ab(e,{get checked(){return o.current[Hr(t).key]},onchange:e=>o.set(Hr(t).key,e)})};To(i,e=>{"boolean"===Hr(t).type&&e(n)}),bo(e,r)};Og(e,{icon:null,get title(){return Hr(t).label},after:r,$$slots:{after:!0}})}}),bo(e,i)},$$slots:{default:!0}}),bo(e,i)});var s=zt(n,2);It(s).textContent="v1.0.0-beta.82",q(s),bo(e,r)},$$slots:{default:!0}}),bo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:Dw}},Ww=class e extends ss{#Ki=ut(wt(Hw));get routes(){return Hr(this.#Ki)}set routes(e){pt(this.#Ki,e,!0)}#Gi=ut(!1);get navigating(){return Hr(this.#Gi)}set navigating(e){pt(this.#Gi,e,!0)}#Xi=ut("forward");get direction(){return Hr(this.#Xi)}set direction(e){pt(this.#Xi,e,!0)}#Yi=ut(null);get previous(){return Hr(this.#Yi)}set previous(e){pt(this.#Yi,e,!0)}#ae=ut(null);get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e,!0)}#Ji=ut(null);get next(){return Hr(this.#Ji)}set next(e){pt(this.#Ji,e,!0)}transitionTimeout=null;get containerEl(){return this.modules.environment.touch?this.modules.sheet.el:this.modules.win.el}#Qi=ut(!1);get hasAutoNavigatedToComments(){return Hr(this.#Qi)}set hasAutoNavigatedToComments(e){pt(this.#Qi,e,!0)}#en=Qe(()=>this.navigating?"forward"===this.direction?this.next:this.previous:this.current);get nextCurrent(){return Hr(this.#en)}set nextCurrent(e){pt(this.#en,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")}this.validateCurrentRoute()}),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("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("hover:isolation-dismiss",()=>{"isolation"!==this.nextCurrent&&"thread"!==this.nextCurrent||this.goto("comments",void 0,"back",{instant:!0})}),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:Ms,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")}},Rw={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"},Vw=class extends ss{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]"];#tn=ut(!1);get emptyHover(){return Hr(this.#tn)}set emptyHover(e){pt(this.#tn,e,!0)}#rn=ut(wt({x:window.scrollX,y:window.scrollY}));get scroll(){return Hr(this.#rn)}set scroll(e){pt(this.#rn,e,!0)}#on=ut(wt({x:0,y:0}));get mouse(){return Hr(this.#on)}set mouse(e){pt(this.#on,e,!0)}#in=ut(!1);get insideFubi(){return Hr(this.#in)}set insideFubi(e){pt(this.#in,e,!0)}#nn=ut(!1);get cmdPressed(){return Hr(this.#nn)}set cmdPressed(e){pt(this.#nn,e,!0)}#_e=ut(!1);get isScrolling(){return Hr(this.#_e)}set isScrolling(e){pt(this.#_e,e,!0)}#sn=ut(!1);get isResizing(){return Hr(this.#sn)}set isResizing(e){pt(this.#sn,e,!0)}#an=ut(wt({x:0,y:0}));get pinPos(){return Hr(this.#an)}set pinPos(e){pt(this.#an,e,!0)}#ln=ut(null);get relativePos(){return Hr(this.#ln)}set relativePos(e){pt(this.#ln,e,!0)}#cn=ut(wt({type:"disabled"}));get mode(){return Hr(this.#cn)}set mode(e){pt(this.#cn,e,!0)}scrollEndTimeout=null;#dn=ut(!1);get highlightVisible(){return Hr(this.#dn)}set highlightVisible(e){pt(this.#dn,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 Hr(this.#ae)}set current(e){pt(this.#ae,e)}#un=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 Hr(this.#un)}set info(e){pt(this.#un,e)}#hn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type);get isIsolated(){return Hr(this.#hn)}set isIsolated(e){pt(this.#hn,e)}#pn=ut(!1);get highlightInstant(){return Hr(this.#pn)}set highlightInstant(e){pt(this.#pn,e,!0)}#gn=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 Hr(this.#gn)}set highlightCoords(e){pt(this.#gn,e)}#fn=Qe(()=>{const e=this.info?.meta||this.info?.tag;return e?pv[e.toLowerCase()]||{name:e,icon:gv.icon}:gv});get tagInfo(){return Hr(this.#fn)}set tagInfo(e){pt(this.#fn,e)}#mn=Qe(()=>"isolated"===this.mode.type||"replying"===this.mode.type?this.mode.selector:null);get isolationSelector(){return Hr(this.#mn)}set isolationSelector(e){pt(this.#mn,e)}highlightPos=new Ns(this.highlightCoords,{stiffness:.08,damping:.5});#Yi=ut(null);get previous(){return Hr(this.#Yi)}set previous(e){pt(this.#Yi,e,!0)}hoverTimeout=null;#vn=ut(!1);get ignoreNextClick(){return Hr(this.#vn)}set ignoreNextClick(e){pt(this.#vn,e,!0)}#bn=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 Hr(this.#bn)}set hoverSelector(e){pt(this.#bn,e)}#wn=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 Hr(this.#wn)}set highlightColor(e){pt(this.#wn,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(),ws(),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.modules.modals.anyOpen||this.modules.win.uiOpened||this.modules.sheet.uiOpened||this.dismissIsolation()}),Kt(()=>{this.isScrolling?this.modules.dom.addClass("fubi-scrolling"):this.modules.dom.removeClass("fubi-scrolling")}),Kt(()=>{this.highlightPos.set(this.highlightCoords,{instant:Vr(()=>this.highlightInstant)})})}enable(){this.can.enableHover?(ds(),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.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.modules.dom.scroll.disable(),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.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)?.info?.meta?this.modules.toolbar.wrapper:document)?.querySelector(t)??null;r&&this.isolate(r,{type:"replying"});const o=this.modules.folders.current?.id;o&&(function(...e){const t=new URL(window.location.href);t.searchParams.set("fubi",e.join(".")),window.history.replaceState({},"",t)}(o,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"))}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("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):"tracking"===this.mode.type&&this.can.isolateFromHover&&this.isolateFromHover(this.mode.element)):"tracking"!==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(),ws(),void this.modules.router.goto("comments",void 0,"back"))}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)}},Bw=po('<img draggable="false"/>'),Uw=po('<div data-fubi-pin="" data-fubi-hide-all="" class="fubi-pin"><button class="fubi-pin-wrapper"><div class="fubi-pin-card"><div class="fubi-pin-inner"><div class="fubi-pin-header"><!> <div class="fubi-pin-meta"><span class="fubi-pin-author"> </span> <span class="fubi-pin-time"> </span></div></div> <p class="fubi-pin-text"> </p></div></div></button></div>');function Zw(e,t){ue(t,!0);const r=Qe(()=>t.author?ps({...t.author,collectionName:"users"},"avatar"):null),o=Qe(()=>Hr(r)?Hr(r)+"?thumb=64x64":null),i=Qe(()=>t.author&&(t.author.firstName||t.author.name||t.author.email)||""),n=Qe(()=>ms(new Date(t.created)));var s=Uw(),a=It(s),l=It(a),c=It(l),d=It(c),u=It(d),h=e=>{var t=Bw();er(()=>{Ci(t,"src",Hr(o)),Ci(t,"alt",Hr(i))}),bo(e,t)};To(u,e=>{Hr(o)&&e(h)});var p=zt(u,2),g=It(p),f=It(g,!0);q(g);var m=zt(g,2),v=It(m,!0);q(m),q(p),q(d);var b=zt(d,2),w=It(b,!0);q(b),q(c),q(l),q(a),q(s),er(()=>{di(s,`position:fixed; position-anchor:${t.anchorName??""}; top:calc(anchor(top) + (anchor(bottom) - anchor(top)) * ${t.ry??""}); left:calc(anchor(left) + (anchor(right) - anchor(left)) * ${t.rx??""}); translate:-50% -50%;`),ko(f,Hr(i)),ko(v,Hr(n)),ko(w,t.preview)}),so("click",a,e=>{e.stopPropagation(),t.onclick()}),Jo(3,s,()=>na,()=>({duration:150})),bo(e,s),he()}ao(["click"]);var qw=class extends as{name="comments";expand="createdBy,mentions,thread_notifications_via_comment";sort="-created";#yn=ut(0);get domTick(){return Hr(this.#yn)}set domTick(e){pt(this.#yn,e,!0)}supportsAnchor=CSS.supports("anchor-name","--test");pins=/* @__PURE__ */new Map;anchorNames=/* @__PURE__ */new Map;#xn=Qe(()=>this.data.filter(e=>!e.parent));get allThreads(){return Hr(this.#xn)}set allThreads(e){pt(this.#xn,e)}#kn=Qe(()=>this.allThreads.filter(e=>e.page===this.modules.pages.current?.id).sort((e,t)=>t.created.localeCompare(e.created)));get threads(){return Hr(this.#kn)}set threads(e){pt(this.#kn,e)}#Cn=Qe(()=>{const e=/* @__PURE__ */new Map;return this.threads.forEach(t=>{const r=t.selector;r&&(e.has(r)||e.set(r,[]),e.get(r).push(t))}),e});get grouped(){return Hr(this.#Cn)}set grouped(e){pt(this.#Cn,e)}#cr=ut("");get search(){return Hr(this.#cr)}set search(e){pt(this.#cr,e,!0)}#Ln=Qe(()=>{let e=this.threads;if(this.modules.meta.visible&&(e=e.filter(e=>e.info?.meta)),this.search.trim()){const t=this.search.trim().toLowerCase();e=e.filter(e=>{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)})}if(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 Hr(this.#Ln)}set filteredThreads(e){pt(this.#Ln,e)}#Mn=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 Hr(this.#Mn)}set sortedThreads(e){pt(this.#Mn,e)}#Sn=Qe(()=>this.sortedThreads.filter(e=>!e.done));get threadsTodo(){return Hr(this.#Sn)}set threadsTodo(e){pt(this.#Sn,e)}#$n=Qe(()=>this.sortedThreads.filter(e=>e.done));get threadsDone(){return Hr(this.#$n)}set threadsDone(e){pt(this.#$n,e)}#_n=Qe(()=>this.threads.length);get totalThreads(){return Hr(this.#_n)}set totalThreads(e){pt(this.#_n,e)}#Tn=Qe(()=>this.threads.filter(e=>!!e.done).length);get doneThreads(){return Hr(this.#Tn)}set doneThreads(e){pt(this.#Tn,e)}#Oe=Qe(()=>this.totalThreads>0?Math.round(this.doneThreads/this.totalThreads*100):0);get progress(){return Hr(this.#Oe)}set progress(e){pt(this.#Oe,e)}#En=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 Hr(this.#En)}set pageStats(e){pt(this.#En,e)}#On=Qe(()=>this.sortedThreads.filter(e=>this.modules.hover.isIsolated&&e.selector===this.modules.hover.isolationSelector));get isolatedThreads(){return Hr(this.#On)}set isolatedThreads(e){pt(this.#On,e)}#In=Qe(()=>this.sortedThreads.filter(e=>e.info?.meta));get metaThreads(){return Hr(this.#In)}set metaThreads(e){pt(this.#In,e)}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}}#An=ut(null);get activeThreadId(){return Hr(this.#An)}set activeThreadId(e){pt(this.#An,e,!0)}#zn=Qe(()=>this.threads.find(e=>e.id===this.activeThreadId)??null);get activeThread(){return Hr(this.#zn)}set activeThread(e){pt(this.#zn,e)}#Pn=ut("none");get threadNotificationSetting(){return Hr(this.#Pn)}set threadNotificationSetting(e){pt(this.#Pn,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"}#Fn=Qe(()=>[...this.data.filter(e=>e.parent===this.activeThreadId)].sort((e,t)=>e.created.localeCompare(t.created)));get activeThreadReplies(){return Hr(this.#Fn)}set activeThreadReplies(e){pt(this.#Fn,e)}#Nn=ut(wt(/* @__PURE__ */new Map));get bindings(){return Hr(this.#Nn)}set bindings(e){pt(this.#Nn,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||(ws(),this.setActiveThread(null),this.modules.hover.dismissIsolation(),this.modules.router.goto("comments",void 0,"back"))}start(){Jn(()=>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;let n=null,s=!1,a=!1;i&&(n=i.querySelector(r)),n?o||(a=!n.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})):s=!0,e.set(r,{selector:r,element:n,threadIds:t.map(e=>e.id),missing:s,hidden:a})});const t=[];this.bindings.forEach((r,o)=>{e.has(o)||(r.element&&delete r.element.dataset.fubiThreads,t.push(o))}),t.length>0&&this.modules.elements.unwatch(t),this.bindings=e}),Jn(()=>this.modules.meta.visible,()=>{this.domTick++,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.keys()].filter(Boolean);this.modules.elements.watch(e);const t=bs()?.[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(!this.can.createComment)return;const s=this.modules?.hover?.mode,a=s&&"selector"in s?s.selector:void 0;if(!a)return void this.log.error("Cannot submit comment: No selector");!t&&this.modules.pages.isNew&&await this.modules.pages.registerCurrent();const l=this.modules.media.getFilesForUpload(),c=this.modules.hover.relativePos,d={page:this.modules.pages.current.id,parent:t,selector:a,content:r,mentions:o,priority:i,info:{...n,relativeX:c?.x??null,relativeY:c?.y??null},createdBy:this.modules.auth.user.id};try{if(l.length>0){const e=new FormData;for(const[t,r]of Object.entries(d))null!=r&&""!==r&&e.append(t,"string"==typeof r?r:JSON.stringify(r));for(const t of l)e.append("media",t);await this.pb.create(e)}else await this.pb.create(d)}catch(u){return this.log.error("Failed to create comment:",u),void this.checkAuthOnError(u)}this.modules.media.clear(),this.emit("comments:created",{data:d})}),this.on("comments:created",({data:e})=>{this.modules.inputs.reset("new-comment"),this.modules.inputs.clear("reply"),e.parent||(this.modules.inputs.hide("new-comment"),this.modules.hover.isIsolated&&this.modules.hover.dismissIsolation(),this.populate())}),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)?.selector;if(await this.pb.delete(e),!t)return;const r=this.data.filter(r=>r.selector===t&&r.id!==e&&!r.parent).length>0;if(!r){const e=this.bindings.get(t);e?.element&&delete e.element.dataset.fubiThreads,this.modules.elements.unwatch([t])}"thread"!==this.modules.router.current&&"isolation"!==this.modules.router.current||r||(ws(),("isolation"!==this.modules.router.previous||r)&&this.modules.hover.dismissIsolation(),r?this.modules.router.back("comments"):this.modules.router.goto("comments",void 0,"back"))}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.keys()];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;this.bindings.forEach(r=>{if(!r.element)return;const o=r.threadIds.filter(e=>this.filteredThreads.some(t=>t.id===e));if(o.length>0){if(r.element.dataset.fubiThreads=o.join(","),r.element.style.setProperty("--fubi-el-w",`${r.element.offsetWidth}px`),this.supportsAnchor){let i=this.anchorNames.get(r.selector);i||(i=`--fubi-${o[0]}`,this.anchorNames.set(r.selector,i)),r.element.style.setProperty("anchor-name",i),e.add(r.selector);for(const e of o){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,120):"",c=o.created??"";t.add(e),this.mountPin(e,r.selector,i,a,l,c,n,s)}}}else delete r.element.dataset.fubiThreads,r.element.style.removeProperty("anchor-name")});for(const r of[...this.pins.keys()])t.has(r)||this.unmountPin(r);for(const r of[...this.anchorNames.keys()])e.has(r)||this.anchorNames.delete(r);this.ready=!0,this.emit("comments:populated")}mountPin(e,t,r,o,i,n,s,a){const l=o?.id??"",c=this.pins.get(e);if(c){if(c.authorId===l&&c.preview===i&&c.anchorName===r&&c.rx===s&&c.ry===a)return;this.unmountPin(e)}const d=document.createElement("div");document.body.appendChild(d);const u=this.bindings.get(t),h=Co(Zw,{target:d,props:{author:o,preview:i,created:n,anchorName:r,rx:s,ry:a,onclick:()=>{u?.element&&(this.setActiveThread(e),this.modules.hover.isolate(u.element,{scroll:!0}),this.modules.router.goto("isolation"))}}});this.pins.set(e,{component:h,target:d,authorId:l,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){if(!e.selector)return{missing:!1,hidden:!1};const t=this.bindings.get(e.selector);return{missing:t?.missing??!0,hidden:t?.hidden??!1}}},Kw=class extends as{name="domains";sort="-updated";#nt=ut(null);get url(){return Hr(this.#nt)}set url(e){pt(this.#nt,e,!0)}initialized=!1;#ae=Qe(()=>{const e=this.url?.origin;return e&&this.data.find(t=>t.origin===e)||null});get current(){return Hr(this.#ae)}set current(e){pt(this.#ae,e)}#jn=Qe(()=>this.data.find(e=>e.active)||null);get activeDomain(){return Hr(this.#jn)}set activeDomain(e){pt(this.#jn,e)}#Dn=Qe(()=>this.activeDomain?.origin===this.url?.origin);get isActive(){return Hr(this.#Dn)}set isActive(e){pt(this.#Dn,e)}#Hn=Qe(()=>null!==this.activeDomain&&!this.isActive);get blocked(){return Hr(this.#Hn)}set blocked(e){pt(this.#Hn,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.on("auth:login",()=>{this.log.info(`auth:login received, activeDomain: ${this.activeDomain}, current: ${this.current}, data: ${this.data.length}`),!this.activeDomain&&this.current&&this.activate()}),this.getUrl()}async check(){const e=this.url?.origin;if(e){if(this.current?this.log.info(`Domain already registered: ${this.current.origin}, ID: ${this.current.id}`):await this.register(),this.blocked)return this.log.error(`Fubi blocked: active domain is ${this.activeDomain.origin}, but current origin is ${e}`),void this.emit("domains:blocked",{activeDomain:this.activeDomain,currentOrigin:e});this.modules.auth.user&&(this.activeDomain?this.log.ok(`Current domain is active: ${this.activeDomain.origin}`):await this.activate())}}async register(){const e=this.url?.origin;if(!e)return;const{favicon:t,shareImage:r,touchicon:o}=this.modules.meta,i={favicon:t,shareImage:r,touchicon:o},[n,s]=await gs(this.pb.create({project:this.modules.project.id,origin:e,dev:!1,active:!1,meta:i,favicon:null,shareimage:null,touchicon:null}));if(n)return"status"in n&&400===n.status?(this.log.info(`Domain already exists for ${e}, re-fetching`),void(await this.fetch({filter:`project = "${this.modules.project.id}"`}))):void this.track("error","Failed to register domain",{error:n.message,origin:e});this.data=[...this.data,s],this.log.ok(`Domain registered: ${e}`),this.emit("domains:registered",{domain:s})}async activate(){if(!this.current)return void this.log.error("No current domain to activate");if(this.current.active)return void this.log.info("Domain already active:",this.current.origin);if(this.activeDomain&&this.activeDomain.id!==this.current.id)return void this.log.error("Another domain is already active:",this.activeDomain.origin);const[e]=await gs(this.pb.update(this.current.id,{active:!0}));e?this.log.error("Failed to activate domain:",e.message):(this.data=this.data.map(e=>e.id===this.current.id?{...e,active:!0}:e),this.log.ok("Domain activated:",this.current.origin),this.emit("domains:activated",{domain:this.current}))}async getMetaImageFiles(){const e=this.modules.meta.favicon,t=this.modules.meta.shareImage,r=this.modules.meta.touchicon,[o,i,n]=await Promise.all([e?vs(e):null,t?vs(t):null,r?vs(r):null]);return!o&&e&&this.log.error("Failed to download favicon:",e),!i&&t&&this.log.error("Failed to download share image:",t),!n&&r&&this.log.error("Failed to download touchicon:",r),{favicon:o,shareimage:i,touchicon:n}}getUrl(){this.url=new URL(window.location.href)}},Gw=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"]),Xw=class extends ss{offset=4;forbiddenTags=["html","body","script","style","link","meta","title","head","path"];pathCache=/* @__PURE__ */new WeakMap;#Wn=ut(wt({width:0,height:0}));get bodyDimensions(){return Hr(this.#Wn)}set bodyDimensions(e){pt(this.#Wn,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){for(const t of e)t&&(this.watchedSelectors.add(t),document.querySelectorAll(t).forEach(e=>this.observeElement(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:Gw.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=t>1?`:nth-of-type(${t})`:"";r.unshift(`${e}${i}`),o=o.parentElement}const i=r.join(" > ");return this.pathCache.set(e,i),i}getNthOfTypeIndex(e,t){let r=1,o=e.previousElementSibling;for(;o;)this.getTag(o)===t&&r++,o=o.previousElementSibling;return r}resolveTag(e){const t=e.tagName.toLowerCase(),r=e.getAttribute("data-fubi-meta");return r?pv[r.toLowerCase()]||{name:r.charAt(0).toUpperCase()+r.slice(1).toLowerCase(),icon:gv.icon}:pv[t]||gv}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)}},Yw=class extends ss{#Ge=ut(!1);get opened(){return Hr(this.#Ge)}set opened(e){pt(this.#Ge,e,!0)}#Rn=ut(null);get type(){return Hr(this.#Rn)}set type(e){pt(this.#Rn,e,!0)}#Vn=ut("");get query(){return Hr(this.#Vn)}set query(e){pt(this.#Vn,e,!0)}#Bn=ut(0);get selectedIndex(){return Hr(this.#Bn)}set selectedIndex(e){pt(this.#Bn,e,!0)}#Un=ut(null);get anchorElement(){return Hr(this.#Un)}set anchorElement(e){pt(this.#Un,e,!0)}#Zn=ut(wt([]));get items(){return Hr(this.#Zn)}set items(e){pt(this.#Zn,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()}},Jw=Zn("bus"),Qw=class extends ss{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:")||Jw.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){Jw.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(){Jw.info("Registered events:",Array.from(this.handlers.entries()).map(([e,t])=>`${e}: ${Array.from(t).map(e=>e.listener).join(", ")}`))}},ey=class extends ss{#Kt=ut(!1);get enabled(){return Hr(this.#Kt)}set enabled(e){pt(this.#Kt,e,!0)}cornerRadius=6;fromEl=null;toEl=null;#qn=ut(wt({x:0,y:0,w:0,h:0}));get from(){return Hr(this.#qn)}set from(e){pt(this.#qn,e,!0)}#Kn=ut(wt({x:0,y:0,w:0,h:0}));get to(){return Hr(this.#Kn)}set to(e){pt(this.#Kn,e,!0)}#Gn=ut(wt({point:"border",offset:0}));get fromAnchor(){return Hr(this.#Gn)}set fromAnchor(e){pt(this.#Gn,e,!0)}#Xn=ut(wt({point:"border",offset:0}));get toAnchor(){return Hr(this.#Xn)}set toAnchor(e){pt(this.#Xn,e,!0)}#Yn=Qe(()=>{const e=this.from.x+this.from.w/2,t=this.from.y+this.from.h/2,r=this.to.x+this.to.w/2,o=this.to.y+this.to.h/2,i=e-r,n=t-o,s=Math.abs(i)>Math.abs(n);let a,l,c,d;"center"===this.toAnchor.point?(a=r,l=o):s?(a=i>0?this.to.x+this.to.w+this.toAnchor.offset:this.to.x-this.toAnchor.offset,l=o):(a=r,l=n>0?this.to.y+this.to.h+this.toAnchor.offset:this.to.y-this.toAnchor.offset),"center"===this.fromAnchor.point?(c=e,d=t):s?(c=i>0?this.from.x-this.fromAnchor.offset:this.from.x+this.from.w+this.fromAnchor.offset,d=t):(c=e,d=n>0?this.from.y-this.fromAnchor.offset:this.from.y+this.from.h+this.fromAnchor.offset);const u=Math.abs(c-a),h=Math.abs(d-l),p=Math.sqrt(u*u+h*h)<3*this.cornerRadius;let g=(a+c)/2,f=(l+d)/2;const m=this.modules?.win?.el,v=m?this.getRect(m):null;v&&!p&&(s&&g>v.x&&g<v.x+v.w&&(g=c<v.x?v.x-8:v.x+v.w+8),!s&&f>v.y&&f<v.y+v.h&&(f=d<v.y?v.y-8:v.y+v.h+8));const b=Math.sign(c-a)||1,w=Math.sign(d-l)||1;let y=this.cornerRadius;y=s?Math.min(y,Math.abs(g-a)/2,h/2):Math.min(y,Math.abs(f-l)/2,u/2),y=Math.max(y,0);const x=[a,c,g],k=[l,d,f],C=Math.min(...x),L=Math.min(...k);return{x:C-4,y:L-4,w:Math.max(...x)-C+8,h:Math.max(...k)-L+8,sx:a-C+4,sy:l-L+4,ex:c-C+4,ey:d-L+4,mx:g-C+4,my:f-C+4,r:y,direct:p,exitH:s,dirX:b,dirY:w}});get bounds(){return Hr(this.#Yn)}set bounds(e){pt(this.#Yn,e)}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}},ty=class extends ss{#Jn=ut(wt({}));get modals(){return Hr(this.#Jn)}set modals(e){pt(this.#Jn,e,!0)}#Pe=ut(wt({}));get data(){return Hr(this.#Pe)}set data(e){pt(this.#Pe,e,!0)}#Qn=ut();get portalTarget(){return Hr(this.#Qn)}set portalTarget(e){pt(this.#Qn,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()})}},ry=class extends ss{get visible(){return this.modules.modals.isOpen("meta")}#es=ut(null);get shareImage(){return Hr(this.#es)}set shareImage(e){pt(this.#es,e,!0)}#ts=ut(null);get favicon(){return Hr(this.#ts)}set favicon(e){pt(this.#ts,e,!0)}#rs=ut(null);get touchicon(){return Hr(this.#rs)}set touchicon(e){pt(this.#rs,e,!0)}#os=ut(null);get title(){return Hr(this.#os)}set title(e){pt(this.#os,e,!0)}#is=ut(null);get description(){return Hr(this.#is)}set description(e){pt(this.#is,e,!0)}start(){Jn(()=>this.modules.router.current,e=>{"meta"!==e&&this.visible&&this.modules.modals.close("meta")}),this.shareImage=this.getValueFromMeta("meta[property='og:image']")||this.getValueFromMeta("meta[name='twitter:image']")||this.getValueFromMeta("meta[name='share-image']")||this.getValueFromMeta("meta[name='image']")||this.getValueFromMeta("meta[name='og:image:secure_url']")||this.getValueFromMeta("meta[name='og:image:url']")||null,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,this.favicon=this.getValueFromLink("link[rel='icon']")||this.getValueFromLink("link[rel='shortcut icon']")||null,this.touchicon=this.getValueFromLink("link[rel='apple-touch-icon']")||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}getValueFromLink(e){let t=document.querySelector(e);return t?t.getAttribute("href"):null}},oy=class extends ss{#ns=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get enableHover(){return Hr(this.#ns)}set enableHover(e){pt(this.#ns,e)}#ss=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated);get trackHover(){return Hr(this.#ss)}set trackHover(e){pt(this.#ss,e)}#as=Qe(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated&&!this.modules.hover.insideFubi);get hoverElement(){return Hr(this.#as)}set hoverElement(e){pt(this.#as,e)}#ls=Qe(()=>!(this.modules.hover.isIsolated||this.modules.hover.emptyHover||!this.modules.hover.info||!this.modules.hover.current));get isolateFromHover(){return Hr(this.#ls)}set isolateFromHover(e){pt(this.#ls,e)}#cs=Qe(()=>this.modules.hover.isIsolated);get dismissIsolation(){return Hr(this.#cs)}set dismissIsolation(e){pt(this.#cs,e)}dismissIsolationFor(e){return this.modules.hover.isIsolated&&this.modules.hover.enabled&&!("thread"===this.modules.router.current&&this.modules.elements.isInsideFubi(e))}#ds=Qe(()=>(this.modules.hover.enabled||this.modules.hover.isIsolated)&&!!this.modules.hover.current);get handleHoverClick(){return Hr(this.#ds)}set handleHoverClick(e){pt(this.#ds,e)}#us=Qe(()=>!this.modules.hover.highlightVisible&&!this.modules.hover.emptyHover);get showHighlight(){return Hr(this.#us)}set showHighlight(e){pt(this.#us,e)}ignoreHoverTarget(e){return this.modules.hover.shouldIgnore(e)||this.modules.elements.isInsideInbox(e)||this.modules.elements.isInsideMessage(e)||this.modules.elements.isInsidePicker(e)}#hs=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 Hr(this.#hs)}set displayInvisibleIcon(e){pt(this.#hs,e)}#ps=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 Hr(this.#ps)}set goBack(e){pt(this.#ps,e)}navigateTo(e){const t=this.modules.router;return t.hasRoute(e)&&t.current!==e}#gs=Qe(()=>!this.modules.picker.opened);get commentInputSubmit(){return Hr(this.#gs)}set commentInputSubmit(e){pt(this.#gs,e)}#fs=Qe(()=>!this.modules.picker.opened);get commentInputEscape(){return Hr(this.#fs)}set commentInputEscape(e){pt(this.#fs,e)}#ms=Qe(()=>this.modules.picker.opened&&this.modules.picker.items.length>0);get navigatePicker(){return Hr(this.#ms)}set navigatePicker(e){pt(this.#ms,e)}#vs=Qe(()=>this.modules.picker.opened&&!!this.modules.picker.items[this.modules.picker.selectedIndex]);get confirmPicker(){return Hr(this.#vs)}set confirmPicker(e){pt(this.#vs,e)}#bs=Qe(()=>this.modules.picker.opened);get cancelPicker(){return Hr(this.#bs)}set cancelPicker(e){pt(this.#bs,e)}#ws=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.hover.info);get createComment(){return Hr(this.#ws)}set createComment(e){pt(this.#ws,e)}#ys=Qe(()=>!!this.modules.auth.user);get deleteComment(){return Hr(this.#ys)}set deleteComment(e){pt(this.#ys,e)}#xs=Qe(()=>!!this.modules.auth.user);get updateComment(){return Hr(this.#xs)}set updateComment(e){pt(this.#xs,e)}#ks=Qe(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.comments.activeThreadId);get reply(){return Hr(this.#ks)}set reply(e){pt(this.#ks,e)}#Cs=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess);get accessFolders(){return Hr(this.#Cs)}set accessFolders(e){pt(this.#Cs,e)}selectFolder(e){return!e.locked&&this.modules.folders.current?.id!==e.id}#Ls=Qe(()=>this.modules.environment.touch&&this.modules.sheet.opened);get dragWindow(){return Hr(this.#Ls)}set dragWindow(e){pt(this.#Ls,e)}#Ms=Qe(()=>this.modules.environment.touch?!this.modules.sheet.opened:!this.modules.win.opened);get openWindow(){return Hr(this.#Ms)}set openWindow(e){pt(this.#Ms,e)}#Ss=Qe(()=>this.modules.environment.touch?this.modules.sheet.opened:this.modules.win.opened);get closeWindow(){return Hr(this.#Ss)}set closeWindow(e){pt(this.#Ss,e)}#$s=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get toggleWindow(){return Hr(this.#$s)}set toggleWindow(e){pt(this.#$s,e)}#_s=Qe(()=>!!this.modules.auth.user);get authenticate(){return Hr(this.#_s)}set authenticate(e){pt(this.#_s,e)}#Ts=Qe(()=>!!this.modules.auth.user);get logout(){return Hr(this.#Ts)}set logout(e){pt(this.#Ts,e)}#Es=Qe(()=>!this.modules.meta.visible);get openAnalysis(){return Hr(this.#Es)}set openAnalysis(e){pt(this.#Es,e)}#Os=Qe(()=>!this.modules.hover.isIsolated);get openMeta(){return Hr(this.#Os)}set openMeta(e){pt(this.#Os,e)}#Is=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewCommentsVisible&&this.modules.comments.data.length>0&&!this.modules.meta.visible);get displayCommentsOverview(){return Hr(this.#Is)}set displayCommentsOverview(e){pt(this.#Is,e)}#As=Qe(()=>this.modules.auth.user&&this.modules.settings?.current.overviewPagesVisible&&this.modules.pages.pagesWithStats.length>0);get displayPagesOverview(){return Hr(this.#As)}set displayPagesOverview(e){pt(this.#As,e)}#zs=Qe(()=>!!this.modules.auth.user);get showToolbarMenu(){return Hr(this.#zs)}set showToolbarMenu(e){pt(this.#zs,e)}#Ps=Qe(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&!this.modules.domains.blocked);get accessSettings(){return Hr(this.#Ps)}set accessSettings(e){pt(this.#Ps,e)}#Fs=Qe(()=>this.accessSettings);get openOnMobile(){return Hr(this.#Fs)}set openOnMobile(e){pt(this.#Fs,e)}},iy=class extends ss{#Ns=ut(wt([]));get checks(){return Hr(this.#Ns)}set checks(e){pt(this.#Ns,e,!0)}#Ae=ut(!1);get loading(){return Hr(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`,elements:t}]}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"}]:[]}},ny=class extends ss{registry=/* @__PURE__ */new Map;_touchScrollPadding=!1;#js=ut(wt({}));get visibility(){return Hr(this.#js)}set visibility(e){pt(this.#js,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}},sy=class extends ss{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})}},ay=class extends ss{#ae=ut(null);get current(){return Hr(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))}},ly=["image/png","image/vnd.mozilla.apng","image/jpeg","image/webp","image/svg+xml"],cy=class extends ss{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;#Ds=ut(wt([]));get files(){return Hr(this.#Ds)}set files(e){pt(this.#Ds,e,!0)}#Ne=ut(null);get error(){return Hr(this.#Ne)}set error(e){pt(this.#Ne,e,!0)}#Hs=ut(!1);get picking(){return Hr(this.#Hs)}set picking(e){pt(this.#Hs,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=ly.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: ${Ls(e.file.size)} -> ${Ls(r.size)}, (${Ls(o)} smaller)`):this.log.ok(`Kept Original: ${Ls(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(!ly.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, ${Ls(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 dy(){return ce("app").modules}var uy="https://fubi.wondermakers.dev",hy=Zn("app"),py=po('<div class="flex w-full items-center gap-6"><div></div> </div>'),gy=po('<p class="whitespace-nowrap"> <span> </span></p>'),fy=po('<details open=""><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>'),my=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 vy=po('<button draggable="false"><div class="sr-only">Resize</div> <div></div></button>');ao(["pointerdown"]);var by=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>'),wy=po("<!> <!>",1);function yy(e,t){ue(t,!0);const{router:r}=dy();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});Ui(()=>r.ready=!0);var i=wy(),n=At(i);Po(n,17,()=>Object.entries(Hw),([e,t])=>e,(e,t)=>{var i=Qe(()=>v(Hr(t),2));let n=()=>Hr(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();Ro(At(s),()=>Hr(i)[1].component,(e,i)=>{i(e,Vi({get visible(){return Hr(o)},get navigating(){return r.navigating},get direction(){return r.direction}},()=>Hr(t)))}),bo(e,s)},c=Qe(()=>Hr(o).has(n()));To(a,e=>{Hr(c)&&e(l)}),bo(e,s)}),function(e){ue({},!0);const{folders:t,modals:r}=dy();r.register("folder-deleted");{const o=e=>{var r=by(),o=zt(It(r)),i=It(o,!0);q(o),K(),q(r),er(()=>ko(i,t?.current?.name)),bo(e,r)};Cb(e,{title:"Folder Deleted",get open(){return r.modals["folder-deleted"]},set open(e){r.modals["folder-deleted"]=e},content:o,children:(e,t)=>{pg(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 xy=po('<div data-lenis-prevent="" data-fubi-window="" data-fubi-hide-all=""><!> <!></div>');var ky=po('<button><span class="sr-only"> </span> <!></button>');function Cy(e,t){ue(t,!0);const r=Bi(t,"variant",3,"default"),o=Bi(t,"label",3,"Icon"),i=Bi(t,"tooltip",19,()=>({text:"",key:null})),n=Bi(t,"iconSize",3,"size-24"),s=Wi(t,["$$slots","$$events","$$legacy","active","icon","variant","label","tooltip","iconSize","onclick"]),a=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"]]);{const l=(e,i)=>{var l=ky();Li(l,e=>({...s,...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 "+a.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 c=It(l),d=It(c,!0);q(c);var u=zt(c,2);{let e=Qe(()=>`${n()} shrink-0`);rg(u,{get icon(){return t.icon},get className(){return Hr(e)}})}q(l),er(()=>ko(d,o())),Jo(3,l,()=>ia,()=>({axis:"x",duration:450,easing:Ws})),bo(e,l)};sp(e,{get text(){return i().text},get key(){return i().key},delay:100,offset:8,child:l,$$slots:{child:!0}})}he()}var Ly=po('<button><span class="sr-only">Menu</span> <!></button>'),My=po('<div class="size-36 flex-center mr-4"><img/></div>'),Sy=po('<a target="_blank" rel="noopener noreferrer" class="contents"><!></a> <div class="group-divider"></div> <!> <!> <!>',1);function $y(e,t){ue(t,!0);const{win:r,sheet:o,can:i,router:n,auth:s,environment:a,modals:l}=dy();let c=ut(!1);const d=async()=>{const e=a.touch?o:r;e.opened||e.open(),n.goto("settings")};{const t=(e,t)=>{var r=Ly();Li(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",Hr(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"]})),rg(zt(It(r),2),{get icon(){return qp},className:"size-25 shrink-0 touch:size-32"}),q(r),bo(e,r)};lp(e,{sideOffset:4,triggerClass:"",origin:"origin-bottom-right",get opened(){return Hr(c)},set opened(e){pt(c,e,!0)},child:t,children:(e,t)=>{var r=Sy(),o=At(r),n=It(o);{const e=e=>{var t=My(),r=It(t);li(r,1,ii(["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(()=>{Ci(r,"src",s.avatarThumbUrl),Ci(r,"alt",s.user?.firstName+" "+s.user?.lastName)}),bo(e,t)};let t=Qe(()=>s?.user?.email??"Not logged in");Qg(n,{get title(){return s.accountName},get subtitle(){return Hr(t)},onclick:()=>{},start:e,$$slots:{start:!0}})}q(o);var a=zt(o,4);Qg(a,{title:"Report Bug",get icon(){return nf},onclick:()=>l.open("report-bug")});var c=zt(a,2),u=e=>{Qg(e,{title:"Settings",get icon(){return Xf},onclick:d})};To(c,e=>{i.accessSettings&&e(u)}),Qg(zt(c,2),{title:"Logout",get icon(){return Ff},type:"destructive",closeOnSelect:!0,onclick:()=>setTimeout(()=>s.logout(),200)}),er(()=>Ci(o,"href",s.accountUrl)),bo(e,r)},$$slots:{child:!0,default:!0}})}he()}var _y=po('<a target="_blank"><!> <span class="sr-only">Open Fubi Website</span></a>');function Ty(e,t){ue(t,!0);let r=ut(!1);Ui(()=>pt(r,!0)),sp(e,{text:"Open Fubi Website",delay:100,offset:8,children:(e,t)=>{var o=_y();Ci(o,"href","https://fubi.dev"),da(It(o),{class:"h-24 touch:h-28 shrink-0 text-lime-300"}),K(2),q(o),er(()=>li(o,1,ii(["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",Hr(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 Ey=po("<!> <!> <!>",1),Oy=po('<div data-fubi-hide-all=""><!> <div class="w-px h-24 rounded-full bg-white/15 mx-8"></div> <!></div>'),Iy=po("<div><!></div>");function Ay(e,t){const r=Bi(t,"vertical",3,!1),o=Bi(t,"bg",3,"bg-neutral-800/80");var i=Iy(),n=It(i);{let e=Qe(()=>["font-medium text-sm/none",r()?"flex flex-col gap-2":"flex gap-4 items-center"]);lw(n,{animate:"width",get class(){return Hr(e)},children:(e,r)=>{var o=vo();Wo(At(o),()=>t.children),bo(e,o)},$$slots:{default:!0}})}q(i),er(()=>li(i,1,ii(["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()]))),Jo(3,i,()=>na,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,i)}var zy=po('<div class="flex-center text-orange-600"><!></div>'),Py=po('<!> <p class="trim-both text-white whitespace-nowrap">Ignored element</p>',1),Fy=po('<!> <p class="trim-both text-white whitespace-nowrap"> </p>',1),Ny=po('<!> <p class="trim-both text-white whitespace-nowrap">Invisible element</p>',1),jy=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>'),Dy=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>'),Hy=po('<div class="flex flex-col"><!> <!></div>'),Wy=po("<!> <!> <!>",1),Ry=po("<div><!></div>"),Vy=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 By=po('<div class="py-8 text-center text-sm text-neutral-500"> </div>'),Uy=po('<img alt="" class="size-32 rounded-[8px] superellipse object-cover glass"/>'),Zy=po('<div class="size-32 bg-sky-500/30 rounded-[8px] superellipse object-cover glass-shadow flex-center text-white text-sm"> </div>'),qy=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),Ky=po('<span class="text-xs text-neutral-500"> </span>'),Gy=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),Xy=po("<button><!></button>"),Yy=po('<div class="flex flex-col gap-2"></div>');ao(["pointerdown","click"]);var Jy=fo('<svg class="pointer-events-none absolute z-[calc(var(--infinity,2147480000))]" 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>'),Qy=po('<img alt="Icon" class="size-24 rounded-[4px] superellipse pointer-events-none"/>'),ex=po('<div class="flex-center size-24 pointer-events-none"><!></div>'),tx=po('<img alt="Share" class="w-full rounded-[12px] superellipse object-cover pointer-events-none"/>'),rx=po('<!> <p class="text-sm/none mt-4" data-fubi-ignore="">Missing share image</p>',1),ox=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 ix=po('<div class="fixed inset-0 bg-black/40 android:bg-black/60 z-[calc(var(--infinity,2147480000)-1)]" style="opacity: 0"></div> <div class="fixed inset-x-0 bottom-0 z-[calc(var(--infinity,2147480000))] 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,2147480000))]"></div>',1);ao(["click"]),po('<button><!> <div class="sr-only">Close</div></button>');var nx=po('<div></div> <div data-fubi-ignore-all=""></div>',1),sx=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>'),ax=po("<!> <!>",1);var lx=po("<div></div>"),cx=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,2147480000))]" data-fubi-ignore-all=""><!> <!></div>',1),dx=po("<!> <!>",1);var ux=po('<div class="flex items-center overflow-x-auto"></div>'),hx=po('<p class="text-[13px] text-red-400"> </p>'),px=po('<div class="flex flex-col gap-8"><textarea placeholder="Describe the bug..." class="w-full resize-none rounded-2xl superellipse glass-pressed bg-neutral-500/10 px-10 py-8 text-[14px] text-white placeholder:text-neutral-500 focus:outline-none transition-colors"></textarea> <!> <!> <!></div>'),gx=po('<div class="flex gap-8"><!> <!></div>');var fx=Math.min,mx=Math.max,vx=Math.round,bx=e=>({x:e,y:e}),wx={left:"right",right:"left",bottom:"top",top:"bottom"};function yx(e,t,r){return mx(e,fx(t,r))}function xx(e,t){return"function"==typeof e?e(t):e}function kx(e){return e.split("-")[0]}function Cx(e){return e.split("-")[1]}function Lx(e){return"x"===e?"y":"x"}function Mx(e){return"y"===e?"height":"width"}function Sx(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function $x(e){return Lx(Sx(e))}function _x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Tx=["left","right"],Ex=["right","left"],Ox=["top","bottom"],Ix=["bottom","top"];function Ax(e){const t=kx(e);return wx[t]+e.slice(t.length)}function zx(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 Px(e,t,r){let{reference:o,floating:i}=e;const n=Sx(t),s=$x(t),a=Mx(s),l=kx(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(Cx(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Fx(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}=xx(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=zx(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=zx(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 Nx=/* @__PURE__ */new Set(["left","top"]);function jx(){return"undefined"!=typeof window}function Dx(e){return Rx(e)?(e.nodeName||"").toLowerCase():"#document"}function Hx(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Wx(e){var t;return null==(t=(Rx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rx(e){return!!jx()&&(e instanceof Node||e instanceof Hx(e).Node)}function Vx(e){return!!jx()&&(e instanceof Element||e instanceof Hx(e).Element)}function Bx(e){return!!jx()&&(e instanceof HTMLElement||e instanceof Hx(e).HTMLElement)}function Ux(e){return!(!jx()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Hx(e).ShadowRoot)}function Zx(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=rk(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&"inline"!==i&&"contents"!==i}function qx(e){return/^(table|td|th)$/.test(Dx(e))}function Kx(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}var Gx,Xx=/transform|translate|scale|rotate|perspective|filter/,Yx=/paint|layout|strict|content/,Jx=e=>!!e&&"none"!==e;function Qx(e){const t=Vx(e)?rk(e):e;return Jx(t.transform)||Jx(t.translate)||Jx(t.scale)||Jx(t.rotate)||Jx(t.perspective)||!ek()&&(Jx(t.backdropFilter)||Jx(t.filter))||Xx.test(t.willChange||"")||Yx.test(t.contain||"")}function ek(){return null==Gx&&(Gx="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Gx}function tk(e){return/^(html|body|#document)$/.test(Dx(e))}function rk(e){return Hx(e).getComputedStyle(e)}function ok(e){return Vx(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ik(e){if("html"===Dx(e))return e;const t=e.assignedSlot||e.parentNode||Ux(e)&&e.host||Wx(e);return Ux(t)?t.host:t}function nk(e){const t=ik(e);return tk(t)?e.ownerDocument?e.ownerDocument.body:e.body:Bx(t)&&Zx(t)?t:nk(t)}function sk(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=nk(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Hx(i);if(n){const e=ak(s);return t.concat(s,s.visualViewport||[],Zx(i)?i:[],e&&r?sk(e):[])}return t.concat(i,sk(i,[],r))}function ak(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lk(e){const t=rk(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Bx(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=vx(r)!==n||vx(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function ck(e){return Vx(e)?e:e.contextElement}function dk(e){const t=ck(e);if(!Bx(t))return bx(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=lk(t);let s=(n?vx(r.width):r.width)/o,a=(n?vx(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var uk=/* @__PURE__ */bx(0);function hk(e){const t=Hx(e);return ek()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:uk}function pk(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=ck(e);let s=bx(1);t&&(o?Vx(o)&&(s=dk(o)):s=dk(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Hx(e))&&t}(n,r,o)?hk(n):bx(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=Hx(n),t=o&&Vx(o)?Hx(o):o;let r=e,i=ak(r);for(;i&&o&&t!==r;){const e=dk(i),t=i.getBoundingClientRect(),o=rk(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=Hx(i),i=ak(r)}}return zx({width:d,height:u,x:l,y:c})}function gk(e,t){const r=ok(e).scrollLeft;return t?t.left+r:pk(Wx(e)).left+r}function fk(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-gk(e,r),y:r.top+t.scrollTop}}function mk(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Hx(e),o=Wx(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=ek();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=gk(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=Wx(e),r=ok(e),o=e.ownerDocument.body,i=mx(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=mx(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+gk(e);const a=-r.scrollTop;return"rtl"===rk(o).direction&&(s+=mx(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Wx(e));else if(Vx(t))o=function(e,t){const r=pk(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=Bx(e)?dk(e):bx(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=hk(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return zx(o)}function vk(e,t){const r=ik(e);return!(r===t||!Vx(r)||tk(r))&&("fixed"===rk(r).position||vk(r,t))}function bk(e,t){const r=t.get(e);if(r)return r;let o=sk(e,[],!1).filter(e=>Vx(e)&&"body"!==Dx(e)),i=null;const n="fixed"===rk(e).position;let s=n?ik(e):e;for(;Vx(s)&&!tk(s);){const t=rk(s),r=Qx(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||Zx(s)&&!r&&vk(e,s))?o=o.filter(e=>e!==s):i=t,s=ik(s)}return t.set(e,o),o}function wk(e,t,r){const o=Bx(t),i=Wx(t),n="fixed"===r,s=pk(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=bx(0);function c(){l.x=gk(i)}if(o||!o&&!n)if(("body"!==Dx(t)||Zx(i))&&(a=ok(t)),o){const e=pk(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?bx(0):fk(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 yk(e){return"static"===rk(e).position}function xk(e,t){if(!Bx(e)||"fixed"===rk(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Wx(e)===r&&(r=r.ownerDocument.body),r}function kk(e,t){const r=Hx(e);if(Kx(e))return r;if(!Bx(e)){let t=ik(e);for(;t&&!tk(t);){if(Vx(t)&&!yk(t))return t;t=ik(t)}return r}let o=xk(e,t);for(;o&&qx(o)&&yk(o);)o=xk(o,t);return o&&tk(o)&&yk(o)&&!Qx(o)?r:o||function(e){let t=ik(e);for(;Bx(t)&&!tk(t);){if(Qx(t))return t;if(Kx(t))return null;t=ik(t)}return null}(e)||r}var Ck={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Wx(o),a=!!t&&Kx(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=bx(1);const d=bx(0),u=Bx(o);if((u||!u&&!n)&&(("body"!==Dx(o)||Zx(s))&&(l=ok(o)),u)){const e=pk(o);c=dk(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?bx(0):fk(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:Wx,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?Kx(t)?[]:bk(t,this._c):[].concat(r),o],s=mk(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=mk(t,n[u],i);a=mx(e.top,a),l=fx(e.right,l),c=fx(e.bottom,c),d=mx(e.left,d)}return{width:l-d,height:c-a,x:d,y:a}},getOffsetParent:kk,getElementRects:async function(e){const t=this.getOffsetParent||kk,r=this.getDimensions,o=await r(e.floating);return{reference:wk(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}=lk(e);return{width:t,height:r}},getScale:dk,isElement:Vx,isRTL:function(e){return"rtl"===rk(e).direction}},Lk=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=kx(r),a=Cx(r),l="y"===Sx(r),c=Nx.has(s)?-1:1,d=n&&l?-1:1,u=xx(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}}}}},Mk=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}=xx(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Sx(kx(i)),p=Lx(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=yx(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=yx(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}}}}}},Sk=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}=xx(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=kx(i),b=Sx(a),w=kx(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Ax(a)]:function(e){const t=Ax(e);return[_x(e),t,_x(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Cx(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Ex:Tx:t?Tx:Ex;case"left":case"right":return t?Ox:Ix;default:return[]}}(kx(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(_x)))),n}(a,f,g,y));const C=[a,...x],L=await l.detectOverflow(t,m),M=[];let S=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&M.push(L[v]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Cx(e),i=$x(e),n=Mx(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Ax(s)),[s,Ax(s)]}(i,s,y);M.push(L[e[0]],L[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every(e=>e<=0)){var $,_;const e=((null==($=n.flip)?void 0:$.index)||0)+1,t=C[e];if(t&&("alignment"!==u||b===Sx(t)||S.every(e=>Sx(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(_=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(p){case"bestFit":{var T;const e=null==(T=S.filter(e=>{if(k){const t=Sx(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:T[0];e&&(r=e);break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}},$k=(e,t,r)=>{const o=/* @__PURE__ */new Map,i={platform:Ck,...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:Fx},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}=Px(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}=Px(c,h,l))),f=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:g}})(e,t,{...i,platform:n})},_k=po("<button><!> New</button>"),Tk=po('<div><button data-fubi-message-show-comments-button=""><!> <p class="whitespace-nowrap text-sm/none"> </p></button> <!></div>');ao(["click"]);var Ek=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 Ok=po("<button><div><!></div> <div><!></div></button>"),Ik=po('<div class="py-8 text-center text-sm text-neutral-500">No elements</div>'),Ak=po('<div class="flex flex-col gap-2"></div>'),zk=po('<div class="absolute inset-0 rounded-[18px] pointer-events-none z-1 superellipse glass"></div> <div class="overflow-y-auto overflow-x-hidden 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),Pk=po("<!> <!>",1);ao(["click"]);var Fk=po('<div class="w-48"></div>'),Nk=po('<button><!> <p class="ml-8 whitespace-nowrap pr-10"> </p></button>'),jk=po("<div><!></div>"),Dk=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>'),Hk=po('<div class="flex rounded-full"><!></div>'),Wk=po('<p class="ml-8 whitespace-nowrap pr-10">Comment</p>'),Rk=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>'),Vk=po("<!> <!>",1),Bk=po("<!> <!>",1),Uk=po('<div class="text-sm/none h-24 flex-center px-8 text-white">Tap to select element</div>'),Zk=po('<div class="absolute-center pointer-events-none"><!></div>'),qk=po('<!> <div class="h-px w-24 rounded-full bg-white/15 mb-8 mt-4 mx-auto"></div> <!> <!> <!>',1),Kk=po('<button class="size-48 flex-center active:bg-white/20 rounded-full relative"><div><!></div> <div><!></div> <div><!></div></button>'),Gk=po('<div class="fixed inset-0 bottom-8 top-auto px-8 flex z-[calc(var(--infinity,2147480000))]" 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,2147480000))] p-8 pointer-events-none" data-fubi-ignore-all=""><!></div>',1);ao(["click"]);var Xk=po("<!> <!>",1),Yk=po("<!> <!>",1),Jk=po("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function Qk(e,t){ue(t,!0);const r=(e=>{const{projectId:t,options:r,wrapper:o}=e,i="demo"===t,n={pb:i?Vn(!1!==r?.persist):new En(uy,new on("fubi_auth")),project:new Ss(t),team:new Os,elements:new Xw,win:new Vs,sheet:new Xs,router:new Ww,auth:new $s,folders:new Is,pages:new As,events:new _s,comments:new qw,domains:new Kw,toolbar:new Ts(o),keys:new Es,dom:new zs,environment:new Ys,hover:new Vw,picker:new Yw,bus:new Qw,status:new ls,tracer:new ey,modals:new ty,meta:new ry,can:new oy,analysis:new iy,inputs:new ny,settings:new sy,resolution:new Ev,error:new ay,media:new cy};return Object.values(n).forEach(e=>{e._inject&&e._inject(n)}),hy.ok("All modules initialized."),{modules:n,start:()=>{Object.values(n).forEach(e=>{e.start&&e.start?.()}),i&&(window.fubi={modules:n},hy.warn("App exposed: window.fubi"))},hide:()=>{Object.keys(localStorage).filter(e=>e.startsWith("fubi_")).forEach(e=>localStorage.removeItem(e)),document.getElementById("fubi-shadow-root")?.remove(),document.getElementById("fubi-global-styles")?.remove()}}})({projectId:t.projectId,wrapper:t.wrapper});de("app",r),Ui(()=>r.start()),function(e,t){var r;ue(t,!0),r={defaultPortalTo:ya(()=>t.defaultPortalTo),defaultLocale:ya(()=>t.defaultLocale)},Rl.set(new Vl(Rl.getOr(null),r));var o=vo();Wo(At(o),()=>t.children??g),bo(e,o),he()}(e,{get defaultPortalTo(){return t.wrapper},children:(e,t)=>{var o=vo();Ro(At(o),()=>tp,(e,t)=>{t(e,{children:(e,t)=>{var o=Jk(),i=At(o);!function(e,t){ue(t,!0);const{resolution:r,modals:o,win:i}=dy();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();Ro(At(l),()=>$h,(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();Ro(At(o),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var o=ax(),i=At(o);{const e=(e,t)=>{var o=vo(),i=At(o),a=e=>{var o=nx(),i=At(o);Li(i,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147480000))] bg-black/80"}));var a=zt(i,2);er(()=>{li(a,1,ii(["pointer-events-none fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147480000))] will-change-[width,height] ease-in-out-cubic duration-400 transition-[width,height] border-[0.5px] outline-[0.5px] outline-white/30",Hr(n)&&Hr(s)?"border-green-500/80 bg-green-500/10":"border-indigo-500/80 bg-indigo-500/10"])),di(a,`width: ${r.width}px; height: ${r.height}px;`)}),Jo(3,i,()=>ta,()=>({duration:150})),Jo(3,a,()=>na,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};To(i,e=>{t?.().open&&e(a)}),bo(e,o)};Ro(i,()=>gd,(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=sx();Li(o,()=>({...t?.().props,class:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[calc(var(--infinity,2147480000))] outline-none flex-center flex-col gap-16 whitespace-nowrap","data-fubi-ignore-all":!0}));var i=zt(It(o),2),a=It(i),l=zt(It(a),2),c=It(l),d=It(c,!0);q(c);var u=zt(c,2),h=It(u,!0);q(u),q(l),q(a);var p=zt(a,2),g=zt(It(p),2),f=It(g),m=It(f,!0);q(f);var v=zt(f,2),b=It(v,!0);q(v),q(g),q(p),q(i),Rg(zt(i,2),{get icon(){return sf},class:"glass bg-neutral-800/80",onclick:()=>r.hide()}),q(o),er(()=>{li(c,1,ii([Hr(n)&&"text-green-500"])),ko(d,r.width),li(u,1,ii([Hr(s)&&"text-green-500"])),ko(h,r.height),li(f,1,ii([Hr(n)&&"text-green-500"])),ko(m,r.current.width),li(v,1,ii([Hr(s)&&"text-green-500"])),ko(b,r.current.height)}),Jo(3,o,()=>na,()=>({duration:200,start:1.2,opacity:0})),bo(e,o)};To(i,e=>{t?.().open&&e(a)}),bo(e,o)};Ro(a,()=>Ih,(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}=dy(),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();Ro(At(s),()=>Dh,(e,r)=>{r(e,{get open(){return t.opened},set open(e){t.opened=e},children:(e,r)=>{var o=vo();Ro(At(o),()=>Zl,(e,r)=>{r(e,{children:(e,r)=>{var o=vo();Ro(At(o),()=>Lh,(e,r)=>{r(e,{get customAnchor(){return t.anchorElement},class:"fubi-picker z-[calc(var(--infinity,2147480000)+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=By(),o=It(r,!0);q(r),er(()=>ko(o,"mention"===t.type?"No users found":"No commands found")),bo(e,r)},s=e=>{var r=Yy();Po(r,23,()=>t.items,e=>e.id,(e,r,o)=>{var i=Xy();Ci(i,"tabindex",-1);var n=It(i),s=e=>{var t=qy(),o=At(t),i=e=>{var t=Uy();er(()=>Ci(t,"src",Hr(r).data.avatar)),bo(e,t)},n=e=>{var t=Zy(),o=It(t,!0);q(t),er(()=>ko(o,Hr(r).data?.initials)),bo(e,t)};To(o,e=>{Hr(r).data?.avatar?e(i):e(n,!1)});var s=zt(o,2),a=It(s),l=It(a,!0);q(a);var c=zt(a,2),d=It(c,!0);q(c),q(s),er(()=>{ko(l,Hr(r).label),ko(d,Hr(r).data?.role)}),bo(e,t)},a=e=>{var t=Gy(),o=zt(At(t),2),i=It(o),n=It(i);q(i);var s=zt(i,2),a=e=>{var t=Ky(),o=It(t,!0);q(t),er(()=>ko(o,Hr(r).data.description)),bo(e,t)};To(s,e=>{Hr(r).data?.description&&e(a)}),q(o),er(()=>ko(n,`/${Hr(r).label??""}`)),bo(e,t)};To(n,e=>{"mention"===t.type?e(s):e(a,!1)}),q(i),er(()=>li(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"+(Hr(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(Hr(r))),no("mouseenter",i,()=>t.selectedIndex=Hr(o)),bo(e,i)}),q(r),bo(e,r)};To(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,t){ue(t,!0);const{can:r,hover:o,environment:i}=dy();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(()=>Hr(a)<40),c=Qe(()=>Hr(l)&&Hr(s)<60);var d=Vy(),u=It(d),h=e=>{var t=zy();rg(It(t),{get icon(){return pm},className:"size-24 absolute-center"}),q(t),Jo(1,t,()=>ta,()=>({delay:100})),bo(e,t)};To(u,e=>{r.displayInvisibleIcon&&e(h)});var p=zt(u,2);di(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=It(p);q(p);var f=zt(p,2),m=e=>{var t=Ry(),r=It(t),i=e=>{Ay(e,{bg:"bg-neutral-800/80",children:(e,t)=>{var r=Py();rg(At(r),{get icon(){return jp},className:"size-18 text-neutral-400"}),K(2),bo(e,r)},$$slots:{default:!0}})},n=e=>{var t=Wy(),r=At(t);Ay(r,{children:(e,t)=>{var r=Fy(),i=At(r);!function(e,t){let r=Bi(t,"size",3,"size-18"),o=Bi(t,"color",3,"text-neutral-400");var i=Jb();Io(It(i),()=>t.Icon,e=>{var i=vo(),n=At(i),s=e=>{{let i=Qe(()=>`${r()} ${o()}`);rg(e,{get icon(){return t.Icon},get className(){return Hr(i)}})}};To(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=It(n,!0);q(n),er(()=>ko(s,o.tagInfo.name)),bo(e,r)},$$slots:{default:!0}});var i=zt(r,2),n=e=>{Ay(e,{bg:"bg-amber-950/80",children:(e,t)=>{var r=Ny();rg(At(r),{get icon(){return Ip},className:"size-18 text-orange-400"}),K(2),bo(e,r)},$$slots:{default:!0}})};To(i,e=>{o.info?.visible||e(n)});var s=zt(i,2),a=e=>{Ay(e,{vertical:!0,children:(e,t)=>{var r=Hy(),i=It(r),n=e=>{var t=jy(),r=It(t);rg(r,{get icon(){return cm},className:"size-14 text-neutral-400"});var i=zt(r,2),n=It(i,!0);q(i),q(t),er(()=>ko(n,o.info.fontSize)),bo(e,t)};To(i,e=>{o.info.fontSize&&e(n)});var s=zt(i,2),a=e=>{var t=Dy(),r=It(t),i=zt(r,2),n=It(i,!0);q(i),q(t),er(()=>{di(r,`background: ${o.info.bgColor};`),ko(n,o.info.bgColor)}),bo(e,t)};To(s,e=>{o.info.bgColor&&e(a)}),q(r),bo(e,r)},$$slots:{default:!0}})};To(s,e=>{o.isIsolated&&(o.info?.fontSize||o.info?.bgColor)&&e(a)}),bo(e,t)};To(r,e=>{"ignored"===o.mode.type?e(i):e(n,!1)}),q(t),er(()=>{li(t,1,ii(["absolute pointer-events-none flex items-end gap-8 top-0 left-0 transition-[translate] duration-300 ease-out-cubic will-change-[translate]",Hr(c)?"origin-top-left":Hr(l)?"origin-top-left translate-y-8 translate-x-8":"origin-bottom-left -translate-y-[calc(100%+4px)]"])),di(t,Hr(c)?`translate: 0 ${Hr(s)+4}px;`:"")}),Jo(3,t,()=>na,()=>({duration:200,easing:Rs,start:.8,opacity:0})),bo(e,t)};To(f,e=>{o.current&&e(m)}),q(d),er(()=>{di(d,`\n\t\twidth: ${Hr(n)+2}px;\n\t\theight: ${Hr(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`),li(d,1,ii(["pointer-events-none absolute top-0 left-0 transition-opacity duration-200 z-[calc(var(--infinity,2147480000))]",!o?.highlightVisible||i.touch&&!o.current?"opacity-0":"opacity-100"])),li(p,0,ii(["absolute top-0 left-0 pointer-events-none",Rw[o.highlightColor]])),Ci(g,"width",Hr(n)),Ci(g,"height",Hr(s)),Ci(g,"rx",o?.highlightPos?.current?.r<4?4:o?.highlightPos?.current?.r),di(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()}(s,{});var a=zt(s,2),l=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}=dy(),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=my(),b=zt(It(m),2);Po(b,17,()=>g,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2));let o=()=>Hr(r)[1];var i=py(),n=It(i),s=zt(n);q(i),er(()=>{li(n,1,ii(["size-8 rounded-full glass",o()?.ready?"bg-green-500":o()?.loading?"bg-orange-500":"bg-white/10"])),ko(s,` ${Hr(r)[0]??""}`)}),bo(e,i)}),Po(zt(b,2),17,()=>Hr(f),Ao,(e,t)=>{var r=fy(),o=It(r),i=It(o,!0);q(o),Po(zt(o,2),17,()=>Hr(t).values,Ao,(e,t)=>{var r=Qe(()=>v(Hr(t),2)),o=gy(),i=It(o),n=zt(i),s=It(n,!0);q(n),q(o),er(()=>{ko(i,`${Hr(r)[0]??""}: `),ko(s,Hr(r)[1])}),bo(e,o)}),q(r),er(()=>ko(i,Hr(t).name)),bo(e,r)}),q(m),bo(e,m),he()}(e,{})},c=Qe(()=>new URLSearchParams(window.location.search).has("fubi-debug"));To(a,e=>{Hr(c)&&e(l)});var d=zt(a,2),u=e=>{var t=Xk(),r=At(t);!function(e){ue({},!0);const{enviroment:t,can:r,settings:o,hover:i,win:n,sheet:s,toolbar:a,auth:l,environment:c}=dy();var d=Oy(),u=It(d);Ty(u,{}),lw(zt(u,4),{animate:"width",class:"flex items-center justify-end gap-2",children:(e,t)=>{const o=Qe(()=>c.touch?s:n);var a=Ey(),l=At(a),d=e=>{Cy(e,{get icon(){return Wp},iconSize:"size-26",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};To(l,e=>{r.enableHover&&e(d)});var u=zt(l,2);{let e=Qe(()=>({text:Hr(o).opened?"Close Inbox":"Open Inbox",key:"M"}));Cy(u,{get active(){return Hr(o).opened},get icon(){return Up},variant:"sky",label:"Open inbox",get tooltip(){return Hr(e)},onclick:()=>Hr(o).toggle()})}var h=zt(u,2),p=e=>{$y(e,{})};To(h,e=>{r.showToolbarMenu&&e(p)}),bo(e,a)},$$slots:{default:!0}}),q(d),er(()=>li(d,1,ii(["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,2147480000))]","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",!a.visible&&"translate-y-[calc(100%+var(--fubi-toolbar-bottom))] scale-80"]))),bo(e,d),he()}(r),function(e,t){ue(t,!0);const{environment:r,win:o,modals:i}=dy();Kt(()=>{o.el&&(i.portalTarget=o.el)});var n=vo(),s=At(n),a=e=>{var t=xy(),r=It(t);!function(e){ue({},!0);const{win:t}=dy();var r=vy(),o=zt(It(r),2);q(r),er(()=>{li(r,1,ii(["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,2147480000))] 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]"])),li(o,1,ii(["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),yy(zt(r,2),{}),q(t),ji(t,e=>o.el=e,()=>o?.el),er(()=>{di(t,`width: ${o.resizeWidth??""}px; height: ${o.resizeHeight??""}px;`),li(t,1,ii(["touch:hidden window fixed text-white","z-[calc(var(--infinity,2147480000))] 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)};To(s,e=>{r.touch||e(a)}),bo(e,n),he()}(zt(r,2),{}),bo(e,t)},h=e=>{var t=Yk(),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}=dy();let u=Qe(()=>"disabled"!==i.mode.type),h=Qe(()=>"tracking"===i.mode.type||"focused"===i.mode.type),p=Qe(()=>"focused"===i.mode.type),g=Qe(()=>i.isIsolated),f=Qe(()=>i.info?.threads?.length),m=ut(0),v=ut(!1),b=ut(!0),w=ut(!1);Kt(()=>{r.opened&&pt(b,!1)});let y,x=ut(null),k=ut(!1),C=ut(!1);const L=e=>e?["transition-[scale] will-change-[scale]",Hr(k)?"scale-115 duration-200 ease-out-cubic":Hr(C)?"duration-500 ease-in-out-cubic":"duration-300 ease-out-cubic"]:"";Kt(()=>{if("tracking"!==i.mode.type)return pt(x,null),pt(k,!1),pt(C,!1),void clearTimeout(y);const e=i.mode.element;Hr(x)&&Hr(x)!==e&&(pt(k,!0),pt(C,!1),clearTimeout(y),y=setTimeout(()=>{pt(k,!1),pt(C,!0)},300)),pt(x,e,!0)}),Ui(()=>{pt(w,!0);const e=setTimeout(()=>{pt(b,!1)},1200),t=window.visualViewport;if(!t)return()=>{clearTimeout(e)};const r=e=>{Hr(m),pt(m,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=()=>{ds(),i.enable(),"focused"===i.mode.type&&(i.mode={type:"tracking",element:i.mode.element,info:i.mode.info}),pt(v,!0),setTimeout(()=>{pt(v,!1)},1e3)},S=()=>{if("tracking"!==i.mode.type&&"focused"!==i.mode.type)return;ds();const e=i.mode.element;i.isolate(e,{scroll:!1}),l.show("new-comment"),l.focusForTouch("new-comment",e)},$=()=>{"tracking"!==i.mode.type&&"focused"!==i.mode.type||(i.isolate(i.mode.element,{scroll:!1}),s.open(),c.goto("isolation"))};var _=Gk(),T=At(_),E=It(T),O=e=>{!function(e){ue({},!0);const{hover:t,elements:r,dom:o,bus:i}=dy();let n=ut(!1),s=ut(wt([])),a=ut("forward");Kt(()=>i.on("sheet:opened",()=>{pt(n,!1)}));let l=Qe(()=>Hr(s).length>0&&"tracking"===t.mode.type?r.getLevelNodes(Hr(s).at(-1).parentEl,t.mode.element):[]);Kt(()=>{if(!Hr(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=Hr(s).at(-1)?.parentEl;if(!i)return;const n=e.el.parentElement;n&&n!==i&&(pt(a,"forward"),pt(s,[...Hr(s),{parentEl:n,label:r.getNodeName(n)}],!0))},d=()=>{if(Hr(s).length<=1)return;ds(),pt(a,"back");const e=Hr(s).at(-1);pt(s,Hr(s).slice(0,-1),!0),t.handleHoverElement(e.parentEl,0),o.scrollToElement(e.parentEl)};var u=vo();Ro(At(u),()=>Dh,(e,t)=>{t(e,{get open(){return Hr(n)},set open(e){pt(n,e,!0)},children:(e,t)=>{var r=Pk(),o=At(r);{const e=(e,t)=>{sw(e,{rounded:"rounded-full",bg:"bg-neutral-800/80",class:"size-48",children:(e,r)=>{var o=Ok();Li(o,()=>({...t?.().props,class:"size-48 flex-center rounded-full active:bg-white/20 text-neutral-400 relative"}));var i=It(o);rg(It(i),{get icon(){return sm},className:"size-24"}),q(i);var s=zt(i,2);rg(It(s),{get icon(){return jp},className:"size-24"}),q(s),q(o),er(()=>{li(i,1,ii(["absolute-center size-48 flex-center pointer-events-none","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Hr(n)?"scale-50 opacity-0":""])),li(s,1,ii(["absolute-center size-48 flex-center pointer-events-none text-white","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Hr(n)?"":"scale-50 opacity-0"]))}),bo(e,o)},$$slots:{default:!0}})};Ro(o,()=>Sh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ro(zt(o,2),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var r=vo();Ro(At(r),()=>Lh,(e,t)=>{t(e,{class:"z-[calc(var(--infinity,2147480000))] 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=zk(),o=zt(At(r),2),i=It(o),n=e=>{bo(e,Ik())},u=e=>{var t=vo();Io(At(t),()=>Hr(s).length,e=>{var t=Ak();Po(t,21,()=>Hr(l),e=>e.el,(e,t)=>{hv(e,{get node(){return Hr(t)},onselect:c})}),q(t),Jo(1,t,()=>ra,()=>({x:"forward"===Hr(a)?80:-80,duration:180,easing:Ws})),bo(e,t)}),bo(e,t)};To(i,e=>{0===Hr(l).length?e(n):e(u,!1)});var h=zt(i,2);rg(It(h),{get icon(){return yg},strokeWidth:2,className:"size-20"}),K(2),q(h),q(o),er(()=>h.disabled=Hr(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)},I=e=>{bo(e,Fk())};To(E,e=>{Hr(h)&&i.enabled&&!d.visible?e(O):e(I,!1)});var A=zt(E,2),z=It(A),P=e=>{var t=Bk(),r=At(t),o=e=>{var t=jk(),r=It(t);{let e=Qe(()=>Hr(v)?"bg-lime-400":"bg-lime-950");sw(r,{rounded:"rounded-full",get bg(){return Hr(e)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-300",children:(e,t)=>{var r=Nk(),o=It(r);{let e=Qe(()=>"size-24 "+(Hr(v)?"text-lime-950":"text-lime-400"));rg(o,{get icon(){return Wp},get className(){return Hr(e)}})}var i=zt(o,2),n=It(i,!0);q(i),q(r),er(()=>{li(r,1,ii(["h-48 rounded-full px-14 flex-center font-medium text-center text-[18px]/none",Hr(v)?"text-lime-950":"text-white active:bg-lime-900"])),ko(n,Hr(v)?"Enabled":"Enable")}),so("click",r,M),bo(e,r)},$$slots:{default:!0}})}q(t),er(()=>li(t,1,ii(["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",Hr(v)?"-translate-y-[calc(50%+100%+16px)] scale-80":"-translate-y-1/2"]))),Jo(3,t,()=>na,()=>({start:.6,easing:Ws,duration:300})),bo(e,t)};To(r,e=>{(Hr(h)&&!i.enabled||Hr(v))&&e(o)});var n=zt(r,2),s=e=>{var t=Vk(),r=At(t),o=e=>{var t=Hk(),r=It(t);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none mr-8",L(!0)]);sw(r,{rounded:"rounded-full",bg:"bg-indigo-600/80 android:bg-indigo-600",get class(){return Hr(e)},children:(e,t)=>{var r=Dk(),o=It(r);rg(o,{get icon(){return Rp},class:"size-20 text-white"});var i=zt(o,2),n=It(i);q(i),q(r),er(()=>ko(n,`${Hr(f)??""}\n\t\t\t\t\t\t\t\t\t${Hr(f)>1?"Comments":"Comment"}`)),so("click",r,$),Jo(3,r,()=>na,()=>({start:.6,easing:Ws,duration:600})),bo(e,r)},$$slots:{default:!0}})}q(t),Jo(3,t,()=>ia,()=>({axis:"x",duration:300,delay:0,easing:Ws})),bo(e,t)};To(r,e=>{Hr(f)&&e(o)});var i=zt(r,2);{let e=Qe(()=>["backdrop-blur-lg android:backdrop-blur-none",L(!Hr(f))]);sw(i,{rounded:"rounded-full",bg:"bg-sky-600/80 android:bg-sky-600",get class(){return Hr(e)},children:(e,t)=>{var r=Rk(),o=It(r);rg(o,{get icon(){return Kp},class:"size-20 text-white"});var i=zt(o,2),n=e=>{var t=Wk();Jo(3,t,()=>ia,()=>({axis:"x",duration:400,easing:Ws})),bo(e,t)};To(i,e=>{Hr(f)||e(n)}),q(r),so("click",r,S),Jo(3,r,()=>na,()=>({start:.6,easing:Ws,duration:300})),bo(e,r)},$$slots:{default:!0}})}bo(e,t)};To(n,e=>{!i.enabled||Hr(p)&&!i.enabled||e(s)}),bo(e,t)},F=e=>{var t=vo(),r=At(t),o=e=>{var t=Zk();sw(It(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,Uk())},$$slots:{default:!0}}),q(t),bo(e,t)};To(r,e=>{Hr(u)&&!Hr(g)&&e(o)}),bo(e,t)};To(z,e=>{Hr(h)?e(P):e(F,!1)}),q(A);var N=zt(A,2),j=It(N);{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]"]);sw(j,{rounded:"rounded-[18px]",bg:"bg-neutral-900/90 android:bg-neutral-900",get class(){return Hr(e)},children:(e,t)=>{const r=Qe(()=>a.touch?s:n);var l=qk(),c=At(l);Ty(c,{});var d=zt(c,4),u=e=>{Cy(e,{get icon(){return Wp},iconSize:"size-26 touch:size-32",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};To(d,e=>{o.enableHover&&e(u)});var h=zt(d,2);{let e=Qe(()=>({text:Hr(r).opened?"Close Inbox":"Open Inbox",key:"M"}));Cy(h,{get active(){return Hr(r).opened},get icon(){return Up},iconSize:"size-24 touch:size-30",variant:"sky",label:"Open inbox",get tooltip(){return Hr(e)},onclick:()=>Hr(r).toggle()})}var p=zt(h,2),g=e=>{$y(e,{})};To(p,e=>{o.showToolbarMenu&&e(g)}),bo(e,l)},$$slots:{default:!0}})}var D=zt(j,2),H=e=>{{let t=Qe(()=>r.opened||Hr(b)?"bg-neutral-900/90 android:bg-neutral-900":i.enabled?"bg-lime-400":"bg-neutral-900/90 android:bg-neutral-900");sw(e,{rounded:"rounded-full",get bg(){return Hr(t)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-1000",children:(e,t)=>{var o=Kk(),n=It(o);rg(It(n),{get icon(){return jp}}),q(n);var s=zt(n,2);da(It(s),{class:"h-24 shrink-0"}),q(s);var a=zt(s,2);rg(It(a),{get icon(){return Wp},class:"size-28"}),q(a),q(o),er(()=>{li(n,1,ii(["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"])),li(s,1,ii(["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",Hr(b)&&Hr(w)?"":Hr(b)?"scale-0 rotate-360 opacity-0":"scale-50 opacity-0 duration-200"])),li(a,1,ii(["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||Hr(b)?"scale-50 opacity-0":""]))}),so("click",o,()=>r.toggle()),bo(e,o)},$$slots:{default:!0}})}};To(D,e=>{Hr(g)||e(H)}),q(N),q(T);var W=zt(T,2);let R;pw(It(W),{id:"new-comment",placement:"top"}),q(W),er(()=>R=di(W,"",R,{bottom:`${Hr(m)??""}px`})),bo(e,_),he()})(r,{}),function(e){ue({},!0);const{sheet:t,modals:r,environment:o}=dy();let i=ut(!o.android);t.snapPoints=[1],t.fadeFromIndex=1,Kt(()=>{t.el&&(r.portalTarget=t.el)}),Kt(()=>{o.android&&(t.isVisible&&!Hr(i)&&pt(i,!0),t.isVisible||pt(i,!1))});var n=vo(),s=At(n),a=e=>{var r=ix(),o=At(r);ji(o,e=>t.overlayEl=e,()=>t?.overlayEl);var n=zt(o,2),s=It(n),a=It(s),l=zt(a,2);q(s);var c=zt(s,2),d=It(c),u=e=>{yy(e,{})};To(d,e=>{Hr(i)&&e(u)}),q(c),ji(c,e=>t.el=e,()=>t?.el),q(n),ji(n,e=>t.drawerEl=e,()=>t?.drawerEl),K(2),er(()=>{li(s,1,ii(["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"])),li(a,1,ii(["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":""])),li(l,1,ii(["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)};To(s,e=>{o.touch&&t.isVisible&&e(a)}),bo(e,n),he()}(zt(r,2)),bo(e,t)};To(d,e=>{r.modules.environment.touch?e(h,!1):e(u)});var p=zt(d,2);!function(e){ue({},!0);const{tracer:t}=dy(),r="var(--fubi-hover-thread-color, #6366f1)";function o(){const{sx:e,sy:r,ex:o,ey:i,mx:n,r:s,direct:a,exitH:l,dirX:c,dirY:d}=t.bounds;if(a)return`M ${e} ${r} L ${o} ${i}`;if(l)return`M ${e} ${r}\n\t\t\t\tH ${n-s*c}\n\t\t\t\tQ ${n} ${r} ${n} ${r+s*d}\n\t\t\t\tV ${i-s*d}\n\t\t\t\tQ ${n} ${i} ${n+s*c} ${i}\n\t\t\t\tH ${o}`;const u=(r+i)/2;return`M ${e} ${r}\n\t\t\tV ${u-s*d}\n\t\t\tQ ${e} ${u} ${e+s*c} ${u}\n\t\t\tH ${o-s*c}\n\t\t\tQ ${o} ${u} ${o} ${u+s*d}\n\t\t\tV ${i}`}var i=vo(),n=At(i),s=e=>{var i=Jy(),n=It(i);Ci(n,"stroke",r);var s=zt(n);Ci(s,"fill",r);var a=zt(s);Ci(a,"fill",r),q(i),er(e=>{di(i,`\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`),Ci(n,"d",e),Ci(s,"cx",t.bounds.sx),Ci(s,"cy",t.bounds.sy),Ci(a,"cx",t.bounds.ex),Ci(a,"cy",t.bounds.ey)},[o]),bo(e,i)};To(n,e=>{t.enabled&&(t.bounds.w>0||t.bounds.h>0)&&e(s)}),bo(e,i),he()}(p);var g=zt(p,2);!function(e){ue({},!0);const{hover:t,domains:r,meta:o,modals:i}=dy();i.register("meta");var n=vo(),s=At(n),a=e=>{var i=ox(),n=At(i),s=zt(n,2),a=It(s),l=It(a);pb(zt(It(l),4),{class:"absolute top-8 right-8 touch:top-12 touch:right-14",onclick:()=>o.hide()}),q(l);var c=zt(l,2),d=It(c),u=zt(It(d),2),h=It(u),p=e=>{var t=Qy();er(()=>Ci(t,"src",o.favicon)),bo(e,t)},g=e=>{var t=ex();rg(It(t),{get icon(){return Ap},className:"size-20 text-orange-400 pointer-events-none"}),q(t),bo(e,t)};To(h,e=>{o.favicon?e(p):e(g,!1)}),q(u),q(d);var f=zt(d,2),m=zt(It(f),2),v=It(m),b=It(v,!0);q(v),q(m),q(f),q(c);var w=zt(c,2),y=zt(It(w),2),x=It(y),k=e=>{var t=tx();er(()=>Ci(t,"src",o.shareImage)),bo(e,t)},C=e=>{var t=rx();rg(At(t),{get icon(){return Ap},className:"size-28 pointer-events-none"}),K(2),bo(e,t)};To(x,e=>{o.shareImage?e(k):e(C,!1)}),q(y),q(w);var L=zt(w,2),M=zt(It(L),2),S=It(M),$=e=>{var t=mo();er(()=>ko(t,o.title)),bo(e,t)},_=e=>{bo(e,mo("No title defined."))};To(S,e=>{o.title?e($):e(_,!1)}),q(M),q(L);var T=zt(L,2),E=zt(It(T),2),O=It(E),I=e=>{var t=mo();er(()=>ko(t,o.description)),bo(e,t)},A=e=>{bo(e,mo("No description defined."))};To(O,e=>{o.description?e(I):e(A,!1)}),q(E),q(T),q(a),q(s),er(()=>{li(v,1,ii(["truncate",t.enabled&&"pointer-events-none"])),ko(b,r.url),li(y,1,ii(["rounded-[12px] flex-center flex-col superellipse object-cover w-full shrink-0",o.shareImage?"":"bg-rose-500/10 border border-rose-500 text-rose-500 aspect-1200/630"])),li(M,1,`text-2xl font-semibold ${!o.title&&"text-rose-500"}`),li(E,1,`text-lg font-normal text-neutral-400 ${!o.description&&"text-rose-500"}`)}),so("click",n,()=>o.hide()),Jo(3,n,()=>ta,()=>({duration:150})),Jo(3,a,()=>na,()=>({duration:150,start:.95})),bo(e,i)};To(s,e=>{i.modals.meta&&e(a)}),bo(e,n),he()}(g);var f=zt(g,2),m=e=>{!function(e){ue({},!0);const{hover:t,inputs:r}=dy();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&&!Hr(u));async function p(){if(!Hr(o)||!Hr(i)||!Hr(u))return;const e=await $k(Hr(o),Hr(i),{placement:"bottom-start",strategy:"fixed",middleware:[Lk(4),Sk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Mk({padding:0})]});pt(s,{x:e.x,y:e.y},!0),pt(n,e.placement,!0)}async function g(){if(!Hr(a)||!Hr(l)||!Hr(h))return;const e=await $k(Hr(a),Hr(l),{placement:"bottom-start",strategy:"fixed",middleware:[Lk(4),Sk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Mk({padding:0})]});pt(d,{x:e.x,y:e.y},!0),pt(c,e.placement,!0)}Kt(()=>{Hr(u)&&(t.pinPos.x,t.pinPos.y,Dr().then(p))}),Kt(()=>{Hr(h)&&(t.pinPos.x,t.pinPos.y,Dr().then(g))}),Qe(()=>"isolated"===t.mode.type||Hr(u)),Qe(()=>Hr(n).startsWith("top"));var f=Ek(),m=At(f),v=It(m);ji(v,e=>pt(a,e),()=>Hr(a));var b=zt(v,2);rg(It(b),{get icon(){return Bf},className:"size-14 group-hover/new-comment-pin:rotate-45 transition-[rotate] duration-150 ease-out-cubic"}),q(b),ji(b,e=>pt(o,e),()=>Hr(o)),q(m);var w=zt(m,2);(function(e,t){ue(t,!0);let r=Bi(t,"placement",3,"bottom");const{bus:o,router:i,inputs:n,win:s,sheet:a,hover:l,comments:c,environment:d}=dy();let u=Qe(()=>"isolated"===l.mode.type&&!n.visibility["new-comment"]),h=Qe(()=>r().startsWith("top"));var p=Tk(),g=It(p),f=It(g);rg(f,{get icon(){return Rp},className:"size-18"});var m=zt(f,2),v=It(m);q(m),q(g);{const e=(e,t)=>{var r=_k(),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"))));Li(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"]})),rg(It(r),{get icon(){return Lg},className:"size-18",strokeWidth:2}),K(),q(r),bo(e,r)};sp(zt(g,2),{text:"Create new comment",delay:200,offset:2,child:e,$$slots:{child:!0}})}q(p),er(()=>{li(p,1,ii(["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",Hr(h)?"origin-bottom":"origin-top",!Hr(u)&&"opacity-0 pointer-events-none scale-80"])),li(g,1,ii(["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()})(It(w),{get placement(){return Hr(c)}}),q(w),ji(w,e=>pt(l,e),()=>Hr(l));var y=zt(w,2);pw(It(y),{id:"new-comment",get placement(){return Hr(n)}}),q(y),ji(y,e=>pt(i,e),()=>Hr(i)),er(()=>{di(m,`transform: translate(${t.pinPos.x}px, ${t.pinPos.y}px);`),li(v,1,ii(["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",!Hr(h)&&"opacity-0 pointer-events-none scale-80"])),li(b,1,ii(["pointer-events-auto glass-shadow text-white rounded-full size-24 flex-center -translate-x-1/2 -translate-y-1/2 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",!Hr(u)&&"opacity-0 pointer-events-none scale-80"])),di(w,`transform: translate(${Hr(d).x}px, ${Hr(d).y}px);`),di(y,`transform: translate(${Hr(s).x}px, ${Hr(s).y}px);`)}),so("click",b,()=>{t.dismissIsolation(),r.hide("new-comment")}),bo(e,f),he()}(e)};To(f,e=>{r.modules.environment.touch||e(m)});var b=zt(f,2);(function(e,t){ue(t,!0);const{modals:r,comments:o,auth:i,win:n,hover:s}=dy();r.register("media-preview");let a=ut(!1);const l=e=>{e||(n.uiOpened=!1)};let c=Qe(()=>r.getData("media-preview")),d=Qe(()=>Hr(c)?.src),u=Qe(()=>Hr(c)?.commentId),h=Qe(()=>Hr(c)?.filename);const p=Qe(()=>Hr(u)?o.data.find(e=>e.id===Hr(u)):null),g=Qe(()=>Hr(p)?.createdBy===i.user?.id),f=async()=>{Hr(u)&&Hr(h)&&(pt(a,!1),await o.removeMedia(Hr(u),Hr(h)))};var m=vo();Ro(At(m),()=>$h,(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();Ro(At(o),()=>Zl,(e,t)=>{t(e,{children:(e,t)=>{var o=dx(),i=At(o);{const e=(e,t)=>{var r=vo(),o=At(r),i=e=>{var r=lx();Li(r,()=>({...t?.().props,"data-fubi-ignore-all":!0,"data-preview-overlay":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147480000))] bg-black/80 android:bg-black backdrop-blur-lg android:backdrop-blur-none"})),Jo(3,r,()=>ta,()=>({duration:150})),bo(e,r)};To(o,e=>{t?.().open&&e(i)}),bo(e,r)};Ro(i,()=>gd,(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=cx(),i=At(o);Li(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,2147480000))] outline-none"}));var n=It(i);q(i);var s=zt(i,2),l=It(s),p=e=>{{const t=(e,t)=>{Rg(e,Vi({get icon(){return jf},class:"glass bg-neutral-800/80"},()=>t?.().props))};lp(e,{get opened(){return Hr(a)},set opened(e){pt(a,e,!0)},child:t,children:(e,t)=>{Qg(e,{title:"Delete Media",get icon(){return fm},type:"destructive",onclick:f})},$$slots:{child:!0,default:!0}})}};To(l,e=>{Hr(g)&&Hr(u)&&Hr(h)&&e(p)}),Rg(zt(l,2),{get icon(){return sf},class:"glass bg-neutral-800/80",onclick:()=>r.modals["media-preview"]=!1}),q(s),er(()=>{Ci(n,"src",Hr(d)),Ci(n,"width",Hr(c)?.width),Ci(n,"height",Hr(c)?.height)}),Jo(3,i,()=>na,()=>({duration:150,start:.8})),Jo(3,s,()=>na,()=>({duration:200,easing:Ws,start:.8})),bo(e,o)};To(i,e=>{t?.().open&&e(n)}),bo(e,o)};Ro(n,()=>Ih,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,onInteractOutside:e=>{s.ignoreNextClick=!0,e.target?.hasAttribute("data-preview-overlay")||e.preventDefault()},child:e,$$slots:{child:!0}})})}bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}})}),bo(e,m),he()})(b,{}),function(e,t){ue(t,!0);const{modals:r,project:o,auth:i,router:n,media:s,pb:a}=dy();r.register("report-bug");let l=ut(""),c=ut(wt([])),d=ut(!1),u=ut(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 g(t)},e.click()},g=async e=>{pt(u,null);for(const t of e){if(Hr(c).length>=4){pt(u,"Maximum of 4 files allowed.");break}if(!h.includes(t.type)){pt(u,`File type not allowed: ${t.type}`);continue}if(t.size>5242880){pt(u,"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};Hr(c).push(e);try{const r=await s.compressImage(t,.8),o=Hr(c).findIndex(t=>t.id===e.id);if(-1===o)continue;URL.revokeObjectURL(e.preview),Hr(c)[o]={...Hr(c)[o],file:r.file,preview:URL.createObjectURL(r.file),width:r.width,height:r.height,status:"ready"}}catch{const t=Hr(c).findIndex(t=>t.id===e.id);-1!==t&&(Hr(c)[t]={...Hr(c)[t],status:"error",error:"Compression failed"})}}},f={remove:e=>{const t=Hr(c).findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(Hr(c)[t].preview),Hr(c).splice(t,1))}},m=()=>{for(const e of Hr(c))URL.revokeObjectURL(e.preview);pt(l,""),pt(c,[],!0),pt(u,null),pt(d,!1)},v=async()=>{if(!Hr(l).trim())return;if(Hr(d))return;pt(d,!0),pt(u,null);const e=Cs(),{width:t,height:s}=xs(),h=ks(t),p=new FormData;p.append("project",o.id),i.user?.id&&p.append("user",i.user.id),p.append("description",Hr(l).trim()),p.append("url",window.location.href),p.append("browser",JSON.stringify(e)),p.append("resolution",JSON.stringify({width:t,height:s,device:h})),p.append("logs",JSON.stringify([...Bn])),p.append("meta",JSON.stringify({route:n.current,timestamp:Date.now()}));for(const r of Hr(c))"ready"===r.status&&p.append("media",r.file);const[g]=await gs(a.collection("issues").create(p));if(g)return pt(u,"Failed to submit bug report. Try again."),void pt(d,!1);m(),r.close("report-bug")},b=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(),g(r))},w=()=>{m(),r.close("report-bug")};{const t=e=>{var t,r=px(),o=It(r);t=o,V&&/* @__PURE__ */null!==Et(t)&&Pt(t),Ci(o,"rows",4);var i=zt(o,2),n=e=>{var t=ux();Po(t,23,()=>Hr(c),e=>e.id,(e,t,r)=>{Qv(e,{get entry(){return Hr(t)},get index(){return Hr(r)},get media(){return f}})}),q(t),bo(e,t)};To(i,e=>{Hr(c).length>0&&e(n)});var s=zt(i,2),a=e=>{var t=hx(),r=It(t,!0);q(t),er(()=>ko(r,Hr(u))),bo(e,t)};To(s,e=>{Hr(u)&&e(a)});var d=zt(s,2);{let e=Qe(()=>Hr(c).length>=4);ng(d,{get icon(){return Lf},onclick:p,get disabled(){return Hr(e)}})}q(r),no("paste",o,b),Ei(o,()=>Hr(l),e=>pt(l,e)),bo(e,r)};Cb(e,{title:"Report Bug",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=gx(),o=It(r);pg(o,{small:!0,flex:!0,variant:"ghost",onclick:w,children:(e,t)=>{K(),bo(e,mo("Cancel"))},$$slots:{default:!0}});var i=zt(o,2);{let e=Qe(()=>!Hr(l).trim());pg(i,{small:!0,flex:!0,onclick:v,get loading(){return Hr(d)},get disabled(){return Hr(e)},children:(e,t)=>{K(),bo(e,mo("Submit"))},$$slots:{default:!0}})}q(r),bo(e,r)},$$slots:{content:!0,default:!0}})}he()}(zt(b,2),{}),bo(e,o)},$$slots:{default:!0}})}),bo(e,o)},$$slots:{default:!0}}),he()}function eC(e,t){if(!e)throw new Error("Please provide a projectId");if("demo"!==e){const e=new URLSearchParams(window.location.search).has("fubi"),t=JSON.parse(localStorage.getItem("fubi_toolbar_visible")||"false"),r=!!JSON.parse(localStorage.getItem("fubi_auth")||"null")?.token;if(!e&&!t&&!r)return}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-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--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-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-orange-950:oklch(26.6% .079 36.259);--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-yellow-500:oklch(79.5% .184 86.047);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--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-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--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-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-blue-600:oklch(54.6% .245 262.881);--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-purple-500:oklch(62.7% .265 303.9);--color-pink-500:oklch(65.6% .241 354.308);--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;--tracking-wider:.05em;--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);--ease-out-quart:cubic-bezier(.165, .84, .44, 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}.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-4{inset:calc(var(--spacing) * 4)}.inset-6{inset:calc(var(--spacing) * 6)}.inset-8{inset:calc(var(--spacing) * 8)}.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-0{top:calc(var(--spacing) * 0)}.top-1{top:calc(var(--spacing) * 1)}.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-1{right:calc(var(--spacing) * 1)}.right-1\\/2{right:50%}.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)}.right-auto{right:auto}.-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-auto{bottom:auto}.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-10{left:calc(var(--spacing) * 10)}.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-8{z-index:8}.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-\\[calc\\(var\\(--infinity\\,2147480000\\)\\)\\]{z-index:calc(var(--infinity,2147480000))}.z-\\[calc\\(var\\(--infinity\\,2147480000\\)\\+3\\)\\]{z-index:calc(var(--infinity,2147480000) + 3)}.z-\\[calc\\(var\\(--infinity\\,2147480000\\)-1\\)\\]{z-index:calc(var(--infinity,2147480000) - 1)}.col-span-2{grid-column:span 2/span 2}.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)}.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-12{margin-top:calc(var(--spacing) * 12)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-32{margin-top:calc(var(--spacing) * 32)}.mt-auto{margin-top:auto}.-mr-2{margin-right:calc(var(--spacing) * -2)}.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-1{margin-bottom:calc(var(--spacing) * 1)}.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-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)}.size-64{width:calc(var(--spacing) * 64);height:calc(var(--spacing) * 64)}.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-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-36{height:calc(var(--spacing) * 36)}.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-48\\.5{height:calc(var(--spacing) * 48.5)}.h-118{height:calc(var(--spacing) * 118)}.h-120{height:calc(var(--spacing) * 120)}.h-300{height:calc(var(--spacing) * 300)}.h-700{height:calc(var(--spacing) * 700)}.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-lvh{height:100lvh}.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-\\[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-52{min-height:calc(var(--spacing) * 52)}.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-50{width:calc(var(--spacing) * 50)}.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-320{width:calc(var(--spacing) * 320)}.w-550{width:calc(var(--spacing) * 550)}.w-\\[1ch\\]{width:1ch}.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-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-450{max-width:calc(var(--spacing) * 450)}.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-fit{max-width:fit-content}.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-24{min-width:calc(var(--spacing) * 24)}.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}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.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{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-1\\/2{--tw-translate-x:calc(1 / 2 * 100%);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-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-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-full{--tw-translate-y:-100%;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-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;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-grab{cursor:grab}.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}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.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-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-24{gap:calc(var(--spacing) * 24)}.gap-30{gap:calc(var(--spacing) * 30)}.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-hidden{overflow-x:hidden}.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-\\[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-\\[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-\\(--shade-900\\){border-color:var(--shade-900)}.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-\\(--shade-900\\),.bg-\\(--shade-900\\)\\/20{background-color:var(--shade-900)}@supports (color:color-mix(in lab, red, red)){.bg-\\(--shade-900\\)\\/20{background-color:color-mix(in oklab, var(--shade-900) 20%, 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-blue-600{background-color:var(--color-blue-600)}.bg-current,.bg-current\\/10{background-color:currentColor}@supports (color:color-mix(in lab, red, red)){.bg-current\\/10{background-color:color-mix(in oklab, currentcolor 10%, transparent)}}.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\\/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-500\\/20{background-color:#ff235733}@supports (color:color-mix(in lab, red, red)){.bg-rose-500\\/20{background-color:color-mix(in oklab, var(--color-rose-500) 20%, 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\\/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\\/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-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\\/80{background-color:color-mix(in oklab, var(--color-white) 80%, 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))}.from-\\(--shade-100\\){--tw-gradient-from:var(--shade-100);--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-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-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%}.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-white{--tw-gradient-to:var(--color-white);--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\\.5px\\]{stroke-width:1.5px}.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)}.p-30{padding:calc(var(--spacing) * 30)}.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-20{padding-inline:calc(var(--spacing) * 20)}.px-24{padding-inline:calc(var(--spacing) * 24)}.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-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-8{padding-top:calc(var(--spacing) * 8)}.pt-12{padding-top:calc(var(--spacing) * 12)}.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-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-32{padding-bottom:calc(var(--spacing) * 32)}.pl-1{padding-left:calc(var(--spacing) * 1)}.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-5{padding-left:calc(var(--spacing) * 5)}.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-\\[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-\\[24px\\]\\/none{font-size:24px;line-height:1}.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-lg\\/none{font-size:var(--text-lg);line-height:1}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\\/\\[130\\%\\]{font-size:var(--text-sm);line-height:130%}.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-\\[11px\\]{font-size:11px}.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)}.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)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.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-\\(--shade-50\\){color:var(--shade-50)}.text-\\(--shade-950\\){color:var(--shade-950)}.text-amber-400{color:var(--color-amber-400)}.text-amber-500{color:var(--color-amber-500)}.text-current{color:currentColor}.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-indigo-500{color:var(--color-indigo-500)}.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-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-pink-500{color:var(--color-pink-500)}.text-purple-500{color:var(--color-purple-500)}.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)}}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.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}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.mix-blend-plus-darker{mix-blend-mode:plus-darker}.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)}.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}.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,)}.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-\\[right\\,left\\,top\\,height\\,translate\\,border-radius\\,scale\\,opacity\\]{transition-property:right,left,top,height,translate,border-radius,scale,opacity;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\\,background-color\\,translate\\]{transition-property:width,background-color,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}.duration-2000{--tw-duration:2s;transition-duration:2s}.ease-\\[cubic-bezier\\(\\.6\\,0\\,\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.6,0,.3,1);transition-timing-function:cubic-bezier(.6,0,.3,1)}.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)}.ease-out-quart{--tw-ease:var(--ease-out-quart);transition-timing-function:var(--ease-out-quart)}.will-change-\\[background-color\\,color\\,scale\\]{will-change:background-color,color,scale}.will-change-\\[background-color\\,scale\\]{will-change:background-color,scale}.will-change-\\[background-color\\]{will-change:background-color}.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\\,transform\\]{will-change:opacity,transform}.will-change-\\[opacity\\]{will-change:opacity}.will-change-\\[padding-top\\]{will-change:padding-top}.will-change-\\[right\\,left\\,top\\,height\\,translate\\,border-radius\\,scale\\,opacity\\]{will-change:right,left,top,height,translate,border-radius,scale,opacity}.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\\,background-color\\,translate\\]{will-change:width,background-color,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}.duration-2000{animation-duration:2s}.ease-\\[cubic-bezier\\(\\.6\\,0\\,\\.3\\,1\\)\\]{animation-timing-function:cubic-bezier(.6,0,.3,1)}.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)}.ease-out-quart{animation-timing-function:cubic-bezier(.165,.84,.44,1)}.fade-in-0{--tw-enter-opacity:0}.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\\/checkbox\\:w-32:is(:where(.group\\/checkbox):active *){width:calc(var(--spacing) * 32)}.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\\:bg-transparent:is(:where(.group\\/listitem):disabled *){background-color:#0000}.group-disabled\\/listitem\\:text-current:is(:where(.group\\/listitem):disabled *){color:currentColor}.group-disabled\\/listitem\\:text-neutral-500\\/30:is(:where(.group\\/listitem):disabled *){color:#7373734d}@supports (color:color-mix(in lab, red, red)){.group-disabled\\/listitem\\:text-neutral-500\\/30:is(:where(.group\\/listitem):disabled *){color:color-mix(in oklab, var(--color-neutral-500) 30%, transparent)}}.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-checked\\/checkbox\\:translate-x-14:is(:where(.group\\/checkbox):has(:checked) *){--tw-translate-x:calc(var(--spacing) * 14);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-has-checked\\/checkbox\\:bg-white:is(:where(.group\\/checkbox):has(:checked) *){background-color:var(--color-white)}.group-has-checked\\/checkbox\\:group-active\\/checkbox\\:translate-x-10:is(:where(.group\\/checkbox):has(:checked) *):is(:where(.group\\/checkbox):active *){--tw-translate-x:calc(var(--spacing) * 10);translate:var(--tw-translate-x) var(--tw-translate-y)}.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-22:is(:where(.peer):focus~*){bottom:calc(var(--spacing) * 22)}.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-22:is(:where(.peer):not(:placeholder-shown)~*){bottom:calc(var(--spacing) * 22)}.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\\:rounded-t-\\[18px\\]:first-child{border-top-left-radius:18px;border-top-right-radius:18px}.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\\:rounded-b-\\[18px\\]:last-child{border-bottom-right-radius:18px;border-bottom-left-radius:18px}.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-\\(--shade-800\\):hover{background-color:var(--shade-800)}.hover\\:bg-amber-500\\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-amber-500\\/20:hover{background-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.hover\\:bg-green-400\\/20:hover{background-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-green-400\\/20:hover{background-color:color-mix(in oklab, var(--color-green-400) 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-\\(--shade-700\\):hover{color:var(--shade-700)}.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-sky-500:hover{color:var(--color-sky-500)}.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\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-amber-500\\/30:active{background-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-amber-500\\/30:active{background-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.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-green-400\\/30:active{background-color:#05df724d}@supports (color:color-mix(in lab, red, red)){.active\\:bg-green-400\\/30:active{background-color:color-mix(in oklab, var(--color-green-400) 30%, 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-\\[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}.sm\\:border-\\[0\\.7px\\]{border-style:var(--tw-border-style);border-width:.7px}.sm\\:border-\\(--shade-900\\)\\/20{border-color:var(--shade-900)}@supports (color:color-mix(in lab, red, red)){.sm\\:border-\\(--shade-900\\)\\/20{border-color:color-mix(in oklab, var(--shade-900) 20%, transparent)}}}@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\\,2147480000\\)\\+1\\)\\]{z-index:calc(var(--infinity,2147480000) + 1)}.touch\\:z-\\[calc\\(var\\(--infinity\\,2147480000\\)\\+2\\)\\]{z-index:calc(var(--infinity,2147480000) + 2)}.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-\\[26px\\]{height:26px}.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-\\[28px\\]{width:28px}.touch\\:w-\\[34px\\]{width:34px}.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-44{min-height:calc(var(--spacing) * 44)}.mouse\\:min-h-46{min-height:calc(var(--spacing) * 46)}.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-\\[13px\\]\\/none{font-size:13px;line-height:1}.mouse\\:text-\\[15px\\]\\/\\[140\\%\\]{font-size:15px;line-height:140%}.mouse\\:text-\\[18px\\]\\/none{font-size:18px;line-height:1}.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-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\\: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\\: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-10{padding-block:calc(var(--spacing) * 10)}#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-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\\: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}.fubi-pin{display:hidden;opacity:0;pointer-events:none;justify-content:start;align-items:start;width:1px;height:1px;display:flex}.fubi-pin button.fubi-pin-wrapper{transform-origin:0 0;cursor:pointer;background:0 0;border:none;border-radius:2px 16px 16px;flex-shrink:0;justify-content:start;align-items:start;width:32px;height:32px;padding:0;transition:width .2s ease-out,height .2s ease-out,opacity .15s ease-out;display:flex;overflow:hidden}.fubi-pin button.fubi-pin-wrapper:hover,.fubi-pin button.fubi-pin-wrapper.opened{border-radius:2px 12px 12px;width:220px;height:120px}@media (pointer:coarse){.fubi-scrolling .fubi-pin button.fubi-pin-wrapper{opacity:0;pointer-events:none}}.fubi-pin .fubi-pin-card{background:var(--fubi-hover-isolation-color,#0ea5e9);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:2px 12px 12px;width:fit-content;padding:2px;transition:padding .2s ease-out;box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.fubi-pin button.fubi-pin-wrapper:hover .fubi-pin-card,.fubi-pin button.fubi-pin-wrapper.opened .fubi-pin-card{padding:4px}.fubi-pin .fubi-pin-card{overflow:hidden}.fubi-pin .fubi-pin-inner{flex-direction:column;flex-shrink:0;gap:4px;width:212px;display:flex}.fubi-pin svg{position:absolute;top:0;left:0;transform:translate(-4px,-4px)}.fubi-pin img{border-radius:9999px;flex-shrink:0;width:28px;height:28px}.fubi-pin .fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin .fubi-pin-meta{text-align:left;flex-direction:column;justify-content:start;gap:1px;display:flex}.fubi-pin .fubi-pin-author{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;line-height:1;overflow:hidden}.fubi-pin .fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin .fubi-pin-text{color:#ffffffbf;text-align:left;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;max-width:216px;margin:0;padding:4px 4px 0;font-size:13px;font-weight:400;display:-webkit-box;overflow:hidden}.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:2147480000;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}.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}.fubi-pin{display:hidden;opacity:0;pointer-events:none;justify-content:start;align-items:start;width:1px;height:1px;display:flex}.fubi-pin button.fubi-pin-wrapper{transform-origin:0 0;cursor:pointer;background:0 0;border:none;border-radius:2px 16px 16px;flex-shrink:0;justify-content:start;align-items:start;width:32px;height:32px;padding:0;transition:width .2s ease-out,height .2s ease-out,opacity .15s ease-out;display:flex;overflow:hidden}.fubi-pin button.fubi-pin-wrapper:hover,.fubi-pin button.fubi-pin-wrapper.opened{border-radius:2px 12px 12px;width:220px;height:120px}@media (pointer:coarse){.fubi-scrolling .fubi-pin button.fubi-pin-wrapper{opacity:0;pointer-events:none}}.fubi-pin .fubi-pin-card{background:var(--fubi-hover-isolation-color,#0ea5e9);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:2px 12px 12px;width:fit-content;padding:2px;transition:padding .2s ease-out;box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.fubi-pin button.fubi-pin-wrapper:hover .fubi-pin-card,.fubi-pin button.fubi-pin-wrapper.opened .fubi-pin-card{padding:4px}.fubi-pin .fubi-pin-card{overflow:hidden}.fubi-pin .fubi-pin-inner{flex-direction:column;flex-shrink:0;gap:4px;width:212px;display:flex}.fubi-pin svg{position:absolute;top:0;left:0;transform:translate(-4px,-4px)}.fubi-pin img{border-radius:9999px;flex-shrink:0;width:28px;height:28px}.fubi-pin .fubi-pin-header{flex-shrink:0;align-items:center;gap:6px;display:flex}.fubi-pin .fubi-pin-meta{text-align:left;flex-direction:column;justify-content:start;gap:1px;display:flex}.fubi-pin .fubi-pin-author{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;line-height:1;overflow:hidden}.fubi-pin .fubi-pin-time{color:#ffffff80;white-space:nowrap;font-size:11px;font-weight:400;line-height:1}.fubi-pin .fubi-pin-text{color:#ffffffbf;text-align:left;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;max-width:216px;margin:0;padding:4px 4px 0;font-size:13px;font-weight:400;display:-webkit-box;overflow:hidden}</style>'),Co(Qk,{target:i,props:{projectId:e,options:t,wrapper:i,shadowRoot:o}})}export{eC as default};
|