fubi 1.0.0-beta.8 → 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/README.md +17 -13
- package/dist/fubi.css +2 -0
- package/dist/index.es.js +2 -22290
- package/dist/index.iife.js +1 -6
- package/package.json +38 -36
package/dist/index.iife.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
var t=function(){"use strict";var t,e,r,n,o,i,s,a,l,c,u,d,h,p,f,g,v,b,m,w,y,x,k,C,M,S,A,W,O,E,P,T,z,N,L,I,R,F,j,D,H,q,V,Z,B,K,U,Y,X,Q,J,G,$,_,tt,et,rt,nt,ot,it,st,at,lt,ct,ut,dt,ht,pt,ft,gt,vt,bt,mt,wt,yt,xt,kt,Ct,Mt,St,At,Wt,Ot,Et,Pt,Tt,zt,Nt,Lt,It,Rt,Ft,jt,Dt,Ht,qt,Vt,Zt,Bt,Kt,Ut,Yt,Xt,Qt,Jt,Gt,$t,_t,te,ee,re,ne,oe,ie,se,ae,le,ce,ue,de,he,pe,fe,ge,ve,be,me,we,ye,xe,ke,Ce,Me,Se,Ae,We,Oe,Ee,Pe,Te,ze,Ne,Le,Ie,Re,Fe,je,De,He,qe,Ve,Ze,Be,Ke,Ue,Ye,Xe,Qe,Je,Ge,$e,_e,tr,er,rr,nr,or,ir,sr,ar,lr,cr,ur,dr,hr,pr,fr,gr,vr,br,mr,wr,yr,xr,kr,Cr,Mr,Sr,Ar,Wr,Or,Er,Pr,Tr,zr,Nr,Lr,Ir,Rr,Fr,jr,Dr,Hr,qr,Vr,Zr,Br,Kr,Ur,Yr,Xr,Qr,Jr,Gr,$r,_r,tn,en,rn,nn,on,sn,an,ln,cn,un,dn,hn,pn,fn,gn,vn,bn,mn,wn,yn,xn,kn,Cn,Mn,Sn,An,Wn,On,En,Pn,Tn,zn,Nn,Ln,In,Rn,Fn,jn,Dn,Hn,qn,Vn,Zn,Bn,Kn,Un,Yn,Xn,Qn,Jn,Gn,$n,_n,to,eo,ro,no,oo,io,so,ao,lo,co,uo,ho,po,fo,go,vo,bo,mo,wo,yo,xo,ko,Co,Mo,So,Ao,Wo,Oo,Eo,Po,To,zo,No,Lo,Io,Ro,Fo,jo,Do,Ho,qo,Vo,Zo,Bo,Ko,Uo,Yo,Xo,Qo,Jo,Go,$o,_o,ti,ei,ri,ni,oi,ii,si,ai,li,ci,ui,di,hi,pi,fi,gi,vi,bi,mi,wi,yi,xi,ki,Ci,Mi,Si,Ai,Wi,Oi,Ei,Pi,Ti,zi,Ni,Li,Ii,Ri,Fi,ji,Di,Hi,qi,Vi,Zi,Bi,Ki,Ui,Yi,Xi,Qi,Ji,Gi,$i,_i,ts,es,rs,ns,os,is,ss,as,ls,cs,us,ds,hs,ps,fs,gs,vs,bs,ms,ws,ys,xs,ks,Cs,Ms,Ss,As,Ws,Os,Es,Ps,Ts,zs,Ns,Ls,Is,Rs,Fs,js,Ds,Hs,qs,Vs,Zs,Bs,Ks=Object.defineProperty,Us=Object.getPrototypeOf,Ys=Reflect.get,Xs=t=>{throw TypeError(t)},Qs=(t,e,r)=>((t,e,r)=>e in t?Ks(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r)(t,"symbol"!=typeof e?e+"":e,r),Js=(t,e,r)=>e.has(t)||Xs("Cannot "+r),Gs=(t,e,r)=>(Js(t,e,"read from private field"),r?r.call(t):e.get(t)),$s=(t,e,r)=>e.has(t)?Xs("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),_s=(t,e,r,n)=>(Js(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),ta=(t,e,r)=>(Js(t,e,"access private method"),r),ea=Array.isArray,ra=Array.prototype.indexOf,na=Array.from,oa=Object.defineProperty,ia=Object.getOwnPropertyDescriptor,sa=Object.getOwnPropertyDescriptors,aa=Object.prototype,la=Array.prototype,ca=Object.getPrototypeOf,ua=Object.isExtensible;function da(t){return"function"==typeof t}const ha=()=>{};function pa(){var t,e;return{promise:new Promise((r,n)=>{t=r,e=n}),resolve:t,reject:e}}function fa(t,e){if(Array.isArray(t))return t;if(!(Symbol.iterator in t))return Array.from(t);const r=[];for(const n of t)if(r.push(n),r.length===e)break;return r}const ga=16,va=256,ba=1024,ma=2048,wa=4096,ya=8192,xa=16384,ka=32768,Ca=65536,Ma=1<<19,Sa=1<<21,Aa=1<<23,Wa=Symbol("$state"),Oa=Symbol("legacy props"),Ea=Symbol(""),Pa=new class extends Error{constructor(){super(...arguments),Qs(this,"name","StaleReactionError"),Qs(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ta(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}const za=Symbol(),Na="@attach";function La(t){return t===this.v}function Ia(t){return e=t,r=this.v,!(e!=e?r==r:e!==r||null!==e&&"object"==typeof e||"function"==typeof e);var e,r}const Ra=[];function Fa(t,e=!1,r=!1){return ja(t,new Map,"",Ra,null,r)}function ja(t,e,r,n,o=null,i=!1){if("object"==typeof t&&null!==t){var s=e.get(t);if(void 0!==s)return s;if(t instanceof Map)return new Map(t);if(t instanceof Set)return new Set(t);if(ea(t)){var a=Array(t.length);e.set(t,a),null!==o&&e.set(o,a);for(var l=0;l<t.length;l+=1){var c=t[l];l in t&&(a[l]=ja(c,e,r,n,null,i))}return a}if(ca(t)===aa){for(var u in a={},e.set(t,a),null!==o&&e.set(o,a),t)a[u]=ja(t[u],e,r,n,null,i);return a}if(t instanceof Date)return structuredClone(t);if("function"==typeof t.toJSON&&!i)return ja(t.toJSON(),e,r,n,t)}if(t instanceof EventTarget)return t;try{return structuredClone(t)}catch(d){return t}}let Da=null;function Ha(t){Da=t}function qa(t){return Ka().get(t)}function Va(t,e){return Ka().set(t,e),e}function Za(t,e=!1,r){Da={p:Da,c:null,e:null,s:t,x:null,l:null}}function Ba(t){var e=Da,r=e.e;if(null!==r)for(var n of(e.e=null,r))nc(n);return Da=e.p,{}}function Ka(t){return null===Da&&Ta(),Da.c??(Da.c=new Map(function(t){let e=t.p;for(;null!==e;){const t=e.c;if(null!==t)return t;e=e.p}return null}(Da)||void 0))}let Ua=[];function Ya(){var t=Ua;Ua=[],function(t){for(var e=0;e<t.length;e++)t[e]()}(t)}function Xa(t){if(0===Ua.length&&!ll){var e=Ua;queueMicrotask(()=>{e===Ua&&Ya()})}Ua.push(t)}function Qa(){for(;Ua.length>0;)Ya()}const Ja=new WeakMap;function Ga(t){var e=Oc;if(null===e)return Sc.f|=Aa,t;if(0===(e.f&ka)){if(!(128&e.f))throw!e.parent&&t instanceof Error&&_a(t),t;e.b.error(t)}else $a(t,e)}function $a(t,e){for(;null!==e;){if(128&e.f)try{return void e.b.error(t)}catch(r){t=r}e=e.parent}throw t instanceof Error&&_a(t),t}function _a(t){const e=Ja.get(t);e&&(oa(t,"message",{value:e.message}),oa(t,"stack",{value:e.stack}))}const tl=new Set;let el=null,rl=null,nl=null,ol=new Set,il=[],sl=null,al=!1,ll=!1;t=new WeakMap,e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakSet,l=function(t,e){var r;t.f^=ba;for(var n=t.first;null!==n;){var o=n.f,i=!!(96&o),s=i&&0!==(o&ba)||0!==(o&ya)||this.skipped_effects.has(n);if(!!(128&n.f)&&(null==(r=n.b)?void 0:r.is_pending())&&(e={parent:e,effect:n,effects:[],render_effects:[],block_effects:[]}),!s&&null!==n.fn){i?n.f^=ba:4&o?e.effects.push(n):qc(n)&&(0!==(n.f&ga)&&e.block_effects.push(n),Uc(n));var l=n.first;if(null!==l){n=l;continue}}var u=n.parent;for(n=n.next;null===n&&null!==u;)u===e.effect&&(ta(this,a,c).call(this,e.effects),ta(this,a,c).call(this,e.render_effects),ta(this,a,c).call(this,e.block_effects),e=e.parent),n=u.next,u=u.parent}},c=function(t){for(const e of t)(0!==(e.f&ma)?Gs(this,i):Gs(this,s)).push(e),$c(e,ba)},u=function(){if(0===Gs(this,n)){for(const t of Gs(this,e))t();Gs(this,e).clear()}0===Gs(this,r)&&ta(this,a,d).call(this)},d=function(){var e,r;if(tl.size>1){Gs(this,t).clear();var n=nl,i=!0,s={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const t of tl){if(t===this){i=!1;continue}const r=[];for(const[e,o]of this.current){if(t.current.has(e)){if(!i||o===t.current.get(e))continue;t.current.set(e,o)}r.push(e)}if(0===r.length)continue;const n=[...t.current.keys()].filter(t=>!this.current.has(t));if(n.length>0){for(const t of r)fl(t,n);if(il.length>0){el=t,t.apply();for(const r of il)ta(e=t,a,l).call(e,r,s);il=[],t.deactivate()}}}el=null,nl=n}this.committed=!0,tl.delete(this),null==(r=Gs(this,o))||r.resolve()};let cl=class d{constructor(){$s(this,a),Qs(this,"committed",!1),Qs(this,"current",new Map),$s(this,t,new Map),$s(this,e,new Set),$s(this,r,0),$s(this,n,0),$s(this,o,null),$s(this,i,[]),$s(this,s,[]),Qs(this,"skipped_effects",new Set)}process(t){il=[],rl=null,this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)ta(this,a,l).call(this,r,e);ta(this,a,u).call(this),Gs(this,n)>0?(ta(this,a,c).call(this,e.effects),ta(this,a,c).call(this,e.render_effects),ta(this,a,c).call(this,e.block_effects)):(rl=this,el=null,pl(e.render_effects),pl(e.effects),rl=null),nl=null}capture(e,r){Gs(this,t).has(e)||Gs(this,t).set(e,r),this.current.set(e,e.v),null==nl||nl.set(e,e.v)}activate(){el=this}deactivate(){el=null,nl=null}flush(){if(il.length>0){if(this.activate(),ul(),null!==el&&el!==this)return}else ta(this,a,u).call(this);this.deactivate();for(const t of ol)if(ol.delete(t),t(),null!==el)break}increment(t){_s(this,r,Gs(this,r)+1),t&&_s(this,n,Gs(this,n)+1)}decrement(t){_s(this,r,Gs(this,r)-1),t&&_s(this,n,Gs(this,n)-1);for(const e of Gs(this,i))$c(e,ma),vl(e);for(const e of Gs(this,s))$c(e,wa),vl(e);_s(this,i,[]),_s(this,s,[]),this.flush()}add_callback(t){Gs(this,e).add(t)}settled(){return(Gs(this,o)??_s(this,o,pa())).promise}static ensure(){if(null===el){const t=el=new d;tl.add(el),ll||d.enqueue(()=>{el===t&&t.flush()})}return el}static enqueue(t){Xa(t)}apply(){}};function ul(){var t=xc;al=!0;try{var e=0;for(kc(!0);il.length>0;){var r=cl.ensure();e++>1e3&&dl(),r.process(il),Ol.clear()}}finally{al=!1,kc(t),sl=null}}function dl(){try{!function(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(t){$a(t,sl)}}let hl=null;function pl(t){var e=t.length;if(0!==e){for(var r=0;r<e;){var n=t[r++];if(!(24576&n.f)&&qc(n)&&(hl=new Set,Uc(n),null===n.deps&&null===n.first&&null===n.nodes_start&&(null===n.teardown&&null===n.ac?fc(n):n.fn=null),(null==hl?void 0:hl.size)>0)){Ol.clear();for(const t of hl){if(24576&t.f)continue;const e=[t];let r=t.parent;for(;null!==r;)hl.has(r)&&(hl.delete(r),e.push(r)),r=r.parent;for(let t=e.length-1;t>=0;t--){const r=e[t];24576&r.f||Uc(r)}}hl.clear()}}hl=null}}function fl(t,e){if(null!==t.reactions)for(const r of t.reactions){const t=r.f;2&t?fl(r,e):4194320&t&&gl(r,e)&&($c(r,ma),vl(r))}}function gl(t,e){if(null!==t.deps)for(const r of t.deps){if(e.includes(r))return!0;if(2&r.f&&gl(r,e))return!0}return!1}function vl(t){for(var e=sl=t;null!==e.parent;){var r=(e=e.parent).f;if(al&&e===Oc&&0!==(r&ga))return;if(96&r){if(0===(r&ba))return;e.f^=ba}}il.push(e)}function bl(t){let e,r=0,n=El(0);return()=>{null===Sc||Ac||(Xc(n),sc(()=>(0===r&&(e=Jc(()=>t(()=>Ll(n)))),r+=1,()=>{Xa(()=>{r-=1,0===r&&(null==e||e(),e=void 0,Ll(n))})})))}}class ml{constructor(t,e,r){$s(this,O),Qs(this,"parent"),$s(this,h,!1),$s(this,p),$s(this,f,null),$s(this,g),$s(this,v),$s(this,b),$s(this,m,null),$s(this,w,null),$s(this,y,null),$s(this,x,null),$s(this,k,0),$s(this,C,0),$s(this,M,!1),$s(this,S,null),$s(this,A,()=>{Gs(this,S)&&Nl(Gs(this,S),Gs(this,k))}),$s(this,W,bl(()=>(_s(this,S,El(Gs(this,k))),()=>{_s(this,S,null)}))),_s(this,p,t),_s(this,g,e),_s(this,v,r),this.parent=Oc.b,_s(this,h,!!Gs(this,g).pending),_s(this,b,lc(()=>{Oc.b=this;try{_s(this,m,cc(()=>r(Gs(this,p))))}catch(t){this.error(t)}Gs(this,C)>0?ta(this,O,P).call(this):_s(this,h,!1)},589952))}is_pending(){return Gs(this,h)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!Gs(this,g).pending}update_pending_count(t){ta(this,O,T).call(this,t),_s(this,k,Gs(this,k)+t),ol.add(Gs(this,A))}get_effect_pending(){return Gs(this,W).call(this),Xc(Gs(this,S))}error(t){var e=Gs(this,g).onerror;let r=Gs(this,g).failed;if(Gs(this,M)||!e&&!r)throw t;Gs(this,m)&&(hc(Gs(this,m)),_s(this,m,null)),Gs(this,w)&&(hc(Gs(this,w)),_s(this,w,null)),Gs(this,y)&&(hc(Gs(this,y)),_s(this,y,null));var n=!1,o=!1;const i=()=>{n||(n=!0,o&&function(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),cl.ensure(),_s(this,k,0),null!==Gs(this,y)&&gc(Gs(this,y),()=>{_s(this,y,null)}),_s(this,h,this.has_pending_snippet()),_s(this,m,ta(this,O,E).call(this,()=>(_s(this,M,!1),cc(()=>Gs(this,v).call(this,Gs(this,p)))))),Gs(this,C)>0?ta(this,O,P).call(this):_s(this,h,!1))};var s=Sc;try{Wc(null),o=!0,null==e||e(t,i),o=!1}catch(a){$a(a,Gs(this,b)&&Gs(this,b).parent)}finally{Wc(s)}r&&Xa(()=>{_s(this,y,ta(this,O,E).call(this,()=>{_s(this,M,!0);try{return cc(()=>{r(Gs(this,p),()=>t,()=>i)})}catch(a){return $a(a,Gs(this,b).parent),null}finally{_s(this,M,!1)}}))})}}function wl(t,e,r){const n=xl;if(0!==e.length){var o,i,s,a,l=el,c=Oc,u=(o=Oc,i=Sc,s=Da,a=el,function(){Ec(o),Wc(i),Ha(s),null==a||a.activate()});Promise.all(e.map(t=>kl(t))).then(e=>{u();try{r([...t.map(n),...e])}catch(o){0===(c.f&xa)&&$a(o,c)}null==l||l.deactivate(),yl()}).catch(t=>{$a(t,c)})}else r(t.map(n))}function yl(){Ec(null),Wc(null),Ha(null)}function xl(t){var e=2050,r=null!==Sc&&2&Sc.f?Sc:null;return null===Oc||null!==r&&0!==(r.f&va)?e|=va:Oc.f|=Ma,{ctx:Da,deps:null,effects:null,equals:La,f:e,fn:t,reactions:null,rv:0,v:za,wv:0,parent:r??Oc,ac:null}}function kl(t,e){let r=Oc;null===r&&function(){throw new Error("https://svelte.dev/e/async_derived_orphan")}();var n=r.b,o=void 0,i=El(za),s=!Sc,a=new Map;return function(t){tc(4718592,t,!0)}(()=>{var e,r=pa();o=r.promise;try{Promise.resolve(t()).then(r.resolve,r.reject).then(()=>{l===el&&l.committed&&l.deactivate(),yl()})}catch(d){r.reject(d),yl()}var l=el;if(s){var c=!n.is_pending();n.update_pending_count(1),l.increment(c),null==(e=a.get(l))||e.reject(Pa),a.delete(l),a.set(l,r)}const u=(t,e=void 0)=>{if(l.activate(),e)e!==Pa&&(i.f|=Aa,Nl(i,e));else{0!==(i.f&Aa)&&(i.f^=Aa),Nl(i,t);for(const[t,e]of a){if(a.delete(t),t===l)break;e.reject(Pa)}}s&&(n.update_pending_count(-1),l.decrement(c))};r.promise.then(u,t=>u(null,t||"unknown"))}),ec(()=>{for(const t of a.values())t.reject(Pa)}),new Promise(t=>{!function e(r){function n(){r===o?t(i):e(o)}r.then(n,n)}(o)})}function Cl(t){const e=xl(t);return Tc(e),e}function Ml(t){const e=xl(t);return e.equals=Ia,e}function Sl(t){var e=t.effects;if(null!==e){t.effects=null;for(var r=0;r<e.length;r+=1)hc(e[r])}}function Al(t){var e,r=Oc;Ec(function(t){for(var e=t.parent;null!==e;){if(!(2&e.f))return e;e=e.parent}return null}(t));try{Sl(t),e=Zc(t)}finally{Ec(r)}return e}function Wl(t){var e=Al(t);t.equals(e)||(t.v=e,t.wv=Hc()),Cc||(null!==nl?nl.set(t,t.v):$c(t,!Dc&&0===(t.f&va)||null===t.deps?ba:wa))}h=new WeakMap,p=new WeakMap,f=new WeakMap,g=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,w=new WeakMap,y=new WeakMap,x=new WeakMap,k=new WeakMap,C=new WeakMap,M=new WeakMap,S=new WeakMap,A=new WeakMap,W=new WeakMap,O=new WeakSet,E=function(t){var e=Oc,r=Sc,n=Da;Ec(Gs(this,b)),Wc(Gs(this,b)),Ha(Gs(this,b).ctx);try{return t()}catch(o){return Ga(o),null}finally{Ec(e),Wc(r),Ha(n)}},P=function(){const t=Gs(this,g).pending;null!==Gs(this,m)&&(_s(this,x,document.createDocumentFragment()),yc(Gs(this,m),Gs(this,x))),null===Gs(this,w)&&_s(this,w,cc(()=>t(Gs(this,p))))},T=function(t){var e;this.has_pending_snippet()?(_s(this,C,Gs(this,C)+t),0===Gs(this,C)&&(_s(this,h,!1),Gs(this,w)&&gc(Gs(this,w),()=>{_s(this,w,null)}),Gs(this,x)&&(Gs(this,p).before(Gs(this,x)),_s(this,x,null)))):this.parent&&ta(e=this.parent,O,T).call(e,t)};const Ol=new Map;function El(t,e){return{f:0,v:t,reactions:null,equals:La,rv:0,wv:0}}function Pl(t,e){const r=El(t);return Tc(r),r}function Tl(t,e=!1,r=!0){const n=El(t);return e||(n.equals=Ia),n}function zl(t,e,r=!1){return null===Sc||Ac&&!(131072&Sc.f)||!(4325394&Sc.f)||(null==Pc?void 0:Pc.includes(t))||function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),Nl(t,r?Rl(e):e)}function Nl(t,e){if(!t.equals(e)){var r=t.v;Cc?Ol.set(t,e):Ol.set(t,r),t.v=e,cl.ensure().capture(t,r),2&t.f&&(0!==(t.f&ma)&&Al(t),$c(t,0===(t.f&va)?ba:wa)),t.wv=Hc(),Il(t,ma),null===Oc||0===(Oc.f&ba)||96&Oc.f||(null===Lc?function(t){Lc=t}([t]):Lc.push(t))}return e}function Ll(t){zl(t,t.v+1)}function Il(t,e){var r=t.reactions;if(null!==r)for(var n=r.length,o=0;o<n;o++){var i=r[o],s=i.f,a=0===(s&ma);a&&$c(i,e),2&s?Il(i,wa):a&&(0!==(s&ga)&&null!==hl&&hl.add(i),vl(i))}}function Rl(t){if("object"!=typeof t||null===t||Wa in t)return t;const e=ca(t);if(e!==aa&&e!==la)return t;var r=new Map,n=ea(t),o=Pl(0),i=Fc,s=t=>{if(Fc===i)return t();var e=Sc,r=Fc;Wc(null),jc(i);var n=t();return Wc(e),jc(r),n};return n&&r.set("length",Pl(t.length)),new Proxy(t,{defineProperty(t,e,n){"value"in n&&!1!==n.configurable&&!1!==n.enumerable&&!1!==n.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var o=r.get(e);return void 0===o?o=s(()=>{var t=Pl(n.value);return r.set(e,t),t}):zl(o,n.value,!0),!0},deleteProperty(t,e){var n=r.get(e);if(void 0===n){if(e in t){const t=s(()=>Pl(za));r.set(e,t),Ll(o)}}else zl(n,za),Ll(o);return!0},get(e,n,o){var i;if(n===Wa)return t;var a=r.get(n),l=n in e;if(void 0!==a||l&&!(null==(i=ia(e,n))?void 0:i.writable)||(a=s(()=>Pl(Rl(l?e[n]:za))),r.set(n,a)),void 0!==a){var c=Xc(a);return c===za?void 0:c}return Reflect.get(e,n,o)},getOwnPropertyDescriptor(t,e){var n=Reflect.getOwnPropertyDescriptor(t,e);if(n&&"value"in n){var o=r.get(e);o&&(n.value=Xc(o))}else if(void 0===n){var i=r.get(e),s=null==i?void 0:i.v;if(void 0!==i&&s!==za)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return n},has(t,e){var n;if(e===Wa)return!0;var o=r.get(e),i=void 0!==o&&o.v!==za||Reflect.has(t,e);return!((void 0!==o||null!==Oc&&(!i||(null==(n=ia(t,e))?void 0:n.writable)))&&(void 0===o&&(o=s(()=>Pl(i?Rl(t[e]):za)),r.set(e,o)),Xc(o)===za))&&i},set(t,e,i,a){var l,c=r.get(e),u=e in t;if(n&&"length"===e)for(var d=i;d<c.v;d+=1){var h=r.get(d+"");void 0!==h?zl(h,za):d in t&&(h=s(()=>Pl(za)),r.set(d+"",h))}void 0===c?u&&!(null==(l=ia(t,e))?void 0:l.writable)||(zl(c=s(()=>Pl(void 0)),Rl(i)),r.set(e,c)):(u=c.v!==za,zl(c,s(()=>Rl(i))));var p=Reflect.getOwnPropertyDescriptor(t,e);if((null==p?void 0:p.set)&&p.set.call(a,i),!u){if(n&&"string"==typeof e){var f=r.get("length"),g=Number(e);Number.isInteger(g)&&g>=f.v&&zl(f,g+1)}Ll(o)}return!0},ownKeys(t){Xc(o);var e=Reflect.ownKeys(t).filter(t=>{var e=r.get(t);return void 0===e||e.v!==za});for(var[n,i]of r)i.v===za||n in t||e.push(n);return e},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function Fl(t){try{if(null!==t&&"object"==typeof t&&Wa in t)return t[Wa]}catch{}return t}function jl(t,e){return Object.is(Fl(t),Fl(e))}var Dl,Hl,ql,Vl;function Zl(t=""){return document.createTextNode(t)}function Bl(t){return ql.call(t)}function Kl(t){return Vl.call(t)}function Ul(t,e){return Bl(t)}function Yl(t,e=!1){var r=Bl(t);return r instanceof Comment&&""===r.data?Kl(r):r}function Xl(t,e=1,r=!1){let n=t;for(;e--;)n=Kl(n);return n}function Ql(t,e){if(e){const e=document.body;t.autofocus=!0,Xa(()=>{document.activeElement===e&&t.focus()})}}let Jl=!1;function Gl(t){var e=Sc,r=Oc;Wc(null),Ec(null);try{return t()}finally{Wc(e),Ec(r)}}function $l(t,e,r,n=r){t.addEventListener(e,()=>Gl(r));const o=t.__on_r;t.__on_r=o?()=>{o(),n(!0)}:()=>n(!0),Jl||(Jl=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const r of t.target.elements)null==(e=r.__on_r)||e.call(r)})},{capture:!0}))}function _l(t){null===Oc&&null===Sc&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),null!==Sc&&0!==(Sc.f&va)&&null===Oc&&function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}(),Cc&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function tc(t,e,r,n=!0){var o=Oc;null!==o&&0!==(o.f&ya)&&(t|=ya);var i={ctx:Da,deps:null,nodes_start:null,nodes_end:null,f:t|ma,first:null,fn:e,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Uc(i),i.f|=ka}catch(l){throw hc(i),l}else null!==e&&vl(i);if(n){var s=i;if(r&&null===s.deps&&null===s.teardown&&null===s.nodes_start&&s.first===s.last&&0===(s.f&Ma)&&(s=s.first),null!==s&&(s.parent=o,null!==o&&function(t,e){var r=e.last;null===r?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}(s,o),null!==Sc&&2&Sc.f&&!(64&t))){var a=Sc;(a.effects??(a.effects=[])).push(s)}}return i}function ec(t){const e=tc(8,null,!1);return $c(e,ba),e.teardown=t,e}function rc(t){_l();var e=Oc.f;if(Sc||!(32&e)||0!==(e&ka))return nc(t);var r=Da;(r.e??(r.e=[])).push(t)}function nc(t){return tc(1048580,t,!1)}function oc(t){cl.ensure();const e=tc(524352,t,!0);return()=>{hc(e)}}function ic(t){return tc(4,t,!1)}function sc(t,e=0){return tc(8|e,t,!0)}function ac(t,e=[],r=[]){wl(e,r,e=>{tc(8,()=>t(...e.map(Xc)),!0)})}function lc(t,e=0){return tc(ga|e,t,!0)}function cc(t,e=!0){return tc(524320,t,!0,e)}function uc(t){var e=t.teardown;if(null!==e){const t=Cc,r=Sc;Mc(!0),Wc(null);try{e.call(null)}finally{Mc(t),Wc(r)}}}function dc(t,e=!1){var r=t.first;for(t.first=t.last=null;null!==r;){const t=r.ac;null!==t&&Gl(()=>{t.abort(Pa)});var n=r.next;64&r.f?r.parent=null:hc(r,e),r=n}}function hc(t,e=!0){var r=!1;(e||262144&t.f)&&null!==t.nodes_start&&null!==t.nodes_end&&(pc(t.nodes_start,t.nodes_end),r=!0),dc(t,e&&!r),Kc(t,0),$c(t,xa);var n=t.transitions;if(null!==n)for(const i of n)i.stop();uc(t);var o=t.parent;null!==o&&null!==o.first&&fc(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function pc(t,e){for(;null!==t;){var r=t===e?null:Kl(t);t.remove(),t=r}}function fc(t){var e=t.parent,r=t.prev,n=t.next;null!==r&&(r.next=n),null!==n&&(n.prev=r),null!==e&&(e.first===t&&(e.first=n),e.last===t&&(e.last=r))}function gc(t,e,r=!0){var n=[];bc(t,n,!0),vc(n,()=>{r&&hc(t),e&&e()})}function vc(t,e){var r=t.length;if(r>0){var n=()=>--r||e();for(var o of t)o.out(n)}else e()}function bc(t,e,r){if(0===(t.f&ya)){if(t.f^=ya,null!==t.transitions)for(const n of t.transitions)(n.is_global||r)&&e.push(n);for(var n=t.first;null!==n;){var o=n.next;bc(n,e,!!(0!==(n.f&Ca)||32&n.f)&&r),n=o}}}function mc(t){wc(t,!0)}function wc(t,e){if(0!==(t.f&ya)){t.f^=ya,0===(t.f&ba)&&($c(t,ma),vl(t));for(var r=t.first;null!==r;){var n=r.next;wc(r,!!(0!==(r.f&Ca)||32&r.f)&&e),r=n}if(null!==t.transitions)for(const r of t.transitions)(r.is_global||e)&&r.in()}}function yc(t,e){for(var r=t.nodes_start,n=t.nodes_end;null!==r;){var o=r===n?null:Kl(r);e.append(r),r=o}}let xc=!1;function kc(t){xc=t}let Cc=!1;function Mc(t){Cc=t}let Sc=null,Ac=!1;function Wc(t){Sc=t}let Oc=null;function Ec(t){Oc=t}let Pc=null;function Tc(t){null!==Sc&&(null===Pc?Pc=[t]:Pc.push(t))}let zc=null,Nc=0,Lc=null,Ic=1,Rc=0,Fc=Rc;function jc(t){Fc=t}let Dc=!1;function Hc(){return++Ic}function qc(t){var e,r=t.f;if(0!==(r&ma))return!0;if(0!==(r&wa)){var n=t.deps,o=0!==(r&va);if(null!==n){var i,s,a=!!(512&r),l=o&&null!==Oc&&!Dc,c=n.length;if((a||l)&&(null===Oc||0===(Oc.f&xa))){var u=t,d=u.parent;for(i=0;i<c;i++)s=n[i],!a&&(null==(e=null==s?void 0:s.reactions)?void 0:e.includes(u))||(s.reactions??(s.reactions=[])).push(u);a&&(u.f^=512),l&&null!==d&&0===(d.f&va)&&(u.f^=va)}for(i=0;i<c;i++)if(qc(s=n[i])&&Wl(s),s.wv>t.wv)return!0}o&&(null===Oc||Dc)||$c(t,ba)}return!1}function Vc(t,e,r=!0){var n=t.reactions;if(null!==n&&!(null==Pc?void 0:Pc.includes(t)))for(var o=0;o<n.length;o++){var i=n[o];2&i.f?Vc(i,e,!1):e===i&&(r?$c(i,ma):0!==(i.f&ba)&&$c(i,wa),vl(i))}}function Zc(t){var e,r=zc,n=Nc,o=Lc,i=Sc,s=Dc,a=Pc,l=Da,c=Ac,u=Fc,d=t.f;zc=null,Nc=0,Lc=null,Dc=0!==(d&va)&&(Ac||!xc||null===Sc),Sc=96&d?null:t,Pc=null,Ha(t.ctx),Ac=!1,Fc=++Rc,null!==t.ac&&(Gl(()=>{t.ac.abort(Pa)}),t.ac=null);try{t.f|=Sa;var h=(0,t.fn)(),p=t.deps;if(null!==zc){var f;if(Kc(t,Nc),null!==p&&Nc>0)for(p.length=Nc+zc.length,f=0;f<zc.length;f++)p[Nc+f]=zc[f];else t.deps=p=zc;if(!Dc||2&d&&null!==t.reactions)for(f=Nc;f<p.length;f++)((e=p[f]).reactions??(e.reactions=[])).push(t)}else null!==p&&Nc<p.length&&(Kc(t,Nc),p.length=Nc);if(!(null===Lc||Ac||null===p||6146&t.f))for(f=0;f<Lc.length;f++)Vc(Lc[f],t);return null!==i&&i!==t&&(Rc++,null!==Lc&&(null===o?o=Lc:o.push(...Lc))),0!==(t.f&Aa)&&(t.f^=Aa),h}catch(g){return Ga(g)}finally{t.f^=Sa,zc=r,Nc=n,Lc=o,Sc=i,Dc=s,Pc=a,Ha(l),Ac=c,Fc=u}}function Bc(t,e){let r=e.reactions;if(null!==r){var n=ra.call(r,t);if(-1!==n){var o=r.length-1;0===o?r=e.reactions=null:(r[n]=r[o],r.pop())}}null===r&&2&e.f&&(null===zc||!zc.includes(e))&&($c(e,wa),768&e.f||(e.f^=512),Sl(e),Kc(e,0))}function Kc(t,e){var r=t.deps;if(null!==r)for(var n=e;n<r.length;n++)Bc(t,r[n])}function Uc(t){var e=t.f;if(0===(e&xa)){$c(t,ba);var r=Oc,n=xc;Oc=t,xc=!0;try{0!==(e&ga)?function(t){for(var e=t.first;null!==e;){var r=e.next;!(32&e.f)&&hc(e),e=r}}(t):dc(t),uc(t);var o=Zc(t);t.teardown="function"==typeof o?o:null,t.wv=Ic}finally{xc=n,Oc=r}}}async function Yc(){await Promise.resolve(),function(){var t=ll;ll=!0;try{for(;;){if(Qa(),0===il.length&&(null==el||el.flush(),0===il.length))return void(sl=null);ul()}}finally{ll=t}}()}function Xc(t){var e=!!(2&t.f);if(null===Sc||Ac){if(e&&null===t.deps&&null===t.effects){var r=t,n=r.parent;null!==n&&0===(n.f&va)&&(r.f^=va)}}else if((null===Oc||0===(Oc.f&xa))&&!(null==Pc?void 0:Pc.includes(t))){var o=Sc.deps;if(0!==(Sc.f&Sa))t.rv<Rc&&(t.rv=Rc,null===zc&&null!==o&&o[Nc]===t?Nc++:null===zc?zc=[t]:Dc&&zc.includes(t)||zc.push(t));else{(Sc.deps??(Sc.deps=[])).push(t);var i=t.reactions;null===i?t.reactions=[Sc]:i.includes(Sc)||i.push(Sc)}}if(Cc){if(Ol.has(t))return Ol.get(t);if(e){var s=(r=t).v;return(0===(r.f&ba)&&null!==r.reactions||Qc(r))&&(s=Al(r)),Ol.set(r,s),s}}else if(e){if(r=t,null==nl?void 0:nl.has(r))return nl.get(r);qc(r)&&Wl(r)}if(null==nl?void 0:nl.has(t))return nl.get(t);if(0!==(t.f&Aa))throw t.v;return t.v}function Qc(t){if(t.v===za)return!0;if(null===t.deps)return!1;for(const e of t.deps){if(Ol.has(e))return!0;if(2&e.f&&Qc(e))return!0}return!1}function Jc(t){var e=Ac;try{return Ac=!0,t()}finally{Ac=e}}const Gc=-7169;function $c(t,e){t.f=t.f&Gc|e}function _c(){return Symbol(Na)}function tu(t){return t.endsWith("capture")&&"gotpointercapture"!==t&&"lostpointercapture"!==t}const eu=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function ru(t){return eu.includes(t)}const nu={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 ou(t){return t=t.toLowerCase(),nu[t]??t}const iu=["touchstart","touchmove"];function su(t){return iu.includes(t)}const au=new Set,lu=new Set;function cu(t,e,r,n={}){function o(t){if(n.capture||fu.call(e,t),!t.cancelBubble)return Gl(()=>null==r?void 0:r.call(this,t))}return t.startsWith("pointer")||t.startsWith("touch")||"wheel"===t?Xa(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function uu(t,e,r,n={}){var o=cu(e,t,r,n);return()=>{t.removeEventListener(e,o,n)}}function du(t,e,r,n,o){var i={capture:n,passive:o},s=cu(t,e,r,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&ec(()=>{e.removeEventListener(t,s,i)})}function hu(t){for(var e=0;e<t.length;e++)au.add(t[e]);for(var r of lu)r(t)}let pu=null;function fu(t){var e,r=this,n=r.ownerDocument,o=t.type,i=(null==(e=t.composedPath)?void 0:e.call(t))||[],s=i[0]||t.target;pu=t;var a=0,l=pu===t&&t.__root;if(l){var c=i.indexOf(l);if(-1!==c&&(r===document||r===window))return void(t.__root=r);var u=i.indexOf(r);if(-1===u)return;c<=u&&(a=c)}if((s=i[a]||t.target)!==r){oa(t,"currentTarget",{configurable:!0,get:()=>s||n});var d=Sc,h=Oc;Wc(null),Ec(null);try{for(var p,f=[];null!==s;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var v=s["__"+o];if(null!=v&&(!s.disabled||t.target===s))if(ea(v)){var[b,...m]=v;b.apply(s,[t,...m])}else v.call(s,t)}catch(w){p?f.push(w):p=w}if(t.cancelBubble||g===r||null===g)break;s=g}if(p){for(let t of f)queueMicrotask(()=>{throw t});throw p}}finally{t.__root=r,delete t.currentTarget,Wc(d),Ec(h)}}}function gu(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","\x3c!----\x3e"),e.content}function vu(t,e){var r=Oc;null===r.nodes_start&&(r.nodes_start=t,r.nodes_end=e)}function bu(t,e){var r,n=!!(1&e),o=!!(2&e),i=!t.startsWith("<!>");return()=>{void 0===r&&(r=gu(i?t:"<!>"+t),n||(r=Bl(r)));var e=o||Hl?document.importNode(r,!0):r.cloneNode(!0);return n?vu(Bl(e),e.lastChild):vu(e,e),e}}function mu(t,e,r="svg"){var n,o=`<${r}>${t.startsWith("<!>")?"<!>"+t:t}</${r}>`;return()=>{if(!n){var t=gu(o);n=Bl(Bl(t))}var e=n.cloneNode(!0);return vu(e,e),e}}function wu(t,e){return mu(t,0,"svg")}function yu(t=""){var e=Zl(t+"");return vu(e,e),e}function xu(){var t=document.createDocumentFragment(),e=document.createComment(""),r=Zl();return t.append(e,r),vu(e,r),t}function ku(t,e){null!==t&&t.before(e)}function Cu(){var t;return(t=window.__svelte??(window.__svelte={})).uid??(t.uid=1),"c"+window.__svelte.uid++}let Mu=!0;function Su(t,e){var r=null==e?"":"object"==typeof e?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r+"")}function Au(t,e){return function(t,{target:e,anchor:r,props:n={},events:o,context:i,intro:s=!0}){!function(){if(void 0===Dl){Dl=window,Hl=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;ql=ia(e,"firstChild").get,Vl=ia(e,"nextSibling").get,ua(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),ua(r)&&(r.__t=void 0)}}();var a=new Set,l=t=>{for(var r=0;r<t.length;r++){var n=t[r];if(!a.has(n)){a.add(n);var o=su(n);e.addEventListener(n,fu,{passive:o});var i=Wu.get(n);void 0===i?(document.addEventListener(n,fu,{passive:o}),Wu.set(n,1)):Wu.set(n,i+1)}}};l(na(au)),lu.add(l);var c=void 0,u=function(){cl.ensure();const u=tc(524352,()=>{var u=r??e.appendChild(Zl());return d=u,h=e=>{i&&(Za({}),Da.c=i),o&&(n.$$events=o),Mu=s,c=t(e,n)||{},Mu=!0,i&&Ba()},new ml(d,{pending:()=>{}},h),()=>{var t;for(var n of a){e.removeEventListener(n,fu);var o=Wu.get(n);0===--o?(document.removeEventListener(n,fu),Wu.delete(n)):Wu.set(n,o)}lu.delete(l),u!==r&&(null==(t=u.parentNode)||t.removeChild(u))};var d,h},!0);return(t={})=>new Promise(e=>{t.outro?gc(u,()=>{hc(u),e(void 0)}):(hc(u),e(void 0))})}();return Ou.set(c,u),c}(t,e)}const Wu=new Map;let Ou=new WeakMap;class Eu{constructor(t,e=!0){Qs(this,"anchor"),$s(this,z,new Map),$s(this,N,new Map),$s(this,L,new Map),$s(this,I,!0),$s(this,R,()=>{var t=el;if(Gs(this,z).has(t)){var e=Gs(this,z).get(t),r=Gs(this,N).get(e);if(r)mc(r);else{var n=Gs(this,L).get(e);n&&(Gs(this,N).set(e,n.effect),Gs(this,L).delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[e,r]of Gs(this,z)){if(Gs(this,z).delete(e),e===t)break;const n=Gs(this,L).get(r);n&&(hc(n.effect),Gs(this,L).delete(r))}for(const[t,n]of Gs(this,N)){if(t===e)continue;const o=()=>{if(Array.from(Gs(this,z).values()).includes(t)){var e=document.createDocumentFragment();yc(n,e),e.append(Zl()),Gs(this,L).set(t,{effect:n,fragment:e})}else hc(n);Gs(this,N).delete(t)};Gs(this,I)||!r?gc(n,o,!1):o()}}}),this.anchor=t,_s(this,I,e)}ensure(t,e){var r=el;!e||Gs(this,N).has(t)||Gs(this,L).has(t)||Gs(this,N).set(t,cc(()=>e(this.anchor))),Gs(this,z).set(r,t),Gs(this,R).call(this)}}function Pu(t,e,r=!1){var n=new Eu(t);function o(t,e){n.ensure(t,e)}lc(()=>{var t=!1;e((e,r=!0)=>{t=!0,o(r,e)}),t||o(!1,null)},r?Ca:0)}function Tu(t,e,r){var n=new Eu(t);lc(()=>{var t=e();n.ensure(t,r)})}z=new WeakMap,N=new WeakMap,L=new WeakMap,I=new WeakMap,R=new WeakMap;let zu=null;function Nu(t,e){return e}function Lu(t,e,r,n,o,i=null){var s=t,a={items:new Map,first:null};!(4&e)||(s=t.appendChild(Zl()));var l,c,u=null,d=!1,h=new Map,p=Ml(()=>{var t=r();return ea(t)?t:null==t?[]:na(t)});lc(()=>{c??(c=Oc);var t=(l=Xc(p)).length;d&&0===t||(d=0===t,function(t,e,r,n,o,i,s,a,l){var c,u,d,h,p,f,g,v,b,m,w=!!(8&s),y=!!(3&s),x=e.length,k=r.items,C=r.first,M=null,S=[],A=[];if(w)for(m=0;m<x;m+=1)v=a(g=e[m],m),void 0!==(b=k.get(v))&&(null==(c=b.a)||c.measure(),(f??(f=new Set)).add(b));for(m=0;m<x;m+=1)if(v=a(g=e[m],m),void 0!==(b=k.get(v))){if(y&&Iu(b,g,m,s),0!==(b.e.f&ya)&&(mc(b.e),w&&(null==(u=b.a)||u.unfix(),(f??(f=new Set)).delete(b))),b!==C){if(void 0!==p&&p.has(b)){if(S.length<A.length){var W,O=A[0];M=O.prev;var E=S[0],P=S[S.length-1];for(W=0;W<S.length;W+=1)Fu(S[W],O,o);for(W=0;W<A.length;W+=1)p.delete(A[W]);ju(r,E.prev,P.next),ju(r,M,E),ju(r,P,O),C=O,M=P,m-=1,S=[],A=[]}else p.delete(b),Fu(b,C,o),ju(r,b.prev,b.next),ju(r,b,null===M?r.first:M.next),ju(r,M,b),M=b;continue}for(S=[],A=[];null!==C&&C.k!==v;)0===(C.e.f&ya)&&(p??(p=new Set)).add(C),A.push(C),C=C.next;if(null===C)continue;b=C}S.push(b),M=b,C=b.next}else{var T=n.get(v);if(void 0!==T){n.delete(v),k.set(v,T);var z=M?M.next:C;ju(r,M,T),ju(r,T,z),Fu(T,z,o),M=T}else M=Ru(C?C.e.nodes_start:o,r,M,null===M?r.first:M.next,g,v,m,i,s,l);k.set(v,M),S=[],A=[],C=M.next}if(null!==C||void 0!==p){for(var N=void 0===p?[]:na(p);null!==C;)0===(C.e.f&ya)&&N.push(C),C=C.next;var L=N.length;if(L>0){var I=4&s&&0===x?o:null;if(w){for(m=0;m<L;m+=1)null==(d=N[m].a)||d.measure();for(m=0;m<L;m+=1)null==(h=N[m].a)||h.fix()}!function(t,e,r){for(var n=t.items,o=[],i=e.length,s=0;s<i;s++)bc(e[s].e,o,!0);var a=i>0&&0===o.length&&null!==r;if(a){var l=r.parentNode;l.textContent="",l.append(r),n.clear(),ju(t,e[0].prev,e[i-1].next)}vc(o,()=>{for(var r=0;r<i;r++){var o=e[r];a||(n.delete(o.k),ju(t,o.prev,o.next)),hc(o.e,!a)}})}(r,N,I)}}for(var R of(w&&Xa(()=>{var t;if(void 0!==f)for(b of f)null==(t=b.a)||t.apply()}),t.first=r.first&&r.first.e,t.last=M&&M.e,n.values()))hc(R.e);n.clear()}(c,l,a,h,s,o,e,n,r),null!==i&&(0===l.length?u?mc(u):u=cc(()=>i(s)):null!==u&&gc(u,()=>{u=null})),Xc(p))})}function Iu(t,e,r,n){1&n&&Nl(t.v,e),2&n?Nl(t.i,r):t.i=r}function Ru(t,e,r,n,o,i,s,a,l,c,u){var d=zu,h=1&l?16&l?El(o):Tl(o,!1,!1):o,p=2&l?El(s):s,f={i:p,v:h,k:i,a:null,e:null,prev:r,next:n};zu=f;try{return null===t&&document.createDocumentFragment().append(t=Zl()),f.e=cc(()=>a(t,h,p,c),!1),f.e.prev=r&&r.e,f.e.next=n&&n.e,null===r?u||(e.first=f):(r.next=f,r.e.next=f.e),null!==n&&(n.prev=f,n.e.prev=f.e),f}finally{zu=d}}function Fu(t,e,r){for(var n=t.next?t.next.e.nodes_start:r,o=e?e.e.nodes_start:r,i=t.e.nodes_start;null!==i&&i!==n;){var s=Kl(i);o.before(i),i=s}}function ju(t,e,r){null===e?t.first=r:(e.next=r,e.e.next=r&&r.e),null!==r&&(r.prev=e,r.e.prev=e&&e.e)}function Du(t,e,...r){var n=new Eu(t);lc(()=>{const t=e()??null;n.ensure(t,t&&(e=>t(e,...r)))},Ca)}function Hu(t,e,r){var n=new Eu(t);lc(()=>{var t=e()??null;n.ensure(t,t&&(e=>r(e,t)))},Ca)}function qu(t,e){var r,n=void 0;lc(()=>{n!==(n=e())&&(r&&(hc(r),r=null),n&&(r=cc(()=>{ic(()=>n(t))})))})}function Vu(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=Vu(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Zu(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=Vu(t))&&(n&&(n+=" "),n+=e);return n}function Bu(t){return"object"==typeof t?Zu(t):t??""}const Ku=[..." \t\n\r\f \v\ufeff"];function Uu(t,e=!1){var r=e?" !important;":";",n="";for(var o in t){var i=t[o];null!=i&&""!==i&&(n+=" "+o+": "+i+r)}return n}function Yu(t){return"-"!==t[0]||"-"!==t[1]?t.toLowerCase():t}function Xu(t,e,r,n,o,i){var s=t.__className;if(s!==r||void 0===s){var a=function(t,e,r){var n=null==t?"":""+t;if(r)for(var o in r)if(r[o])n=n?n+" "+o:o;else if(n.length)for(var i=o.length,s=0;(s=n.indexOf(o,s))>=0;){var a=s+i;0!==s&&!Ku.includes(n[s-1])||a!==n.length&&!Ku.includes(n[a])?s=a:n=(0===s?"":n.substring(0,s))+n.substring(a+1)}return""===n?null:n}(r,0,i);null==a?t.removeAttribute("class"):e?t.className=a:t.setAttribute("class",a),t.__className=r}else if(i&&o!==i)for(var l in i){var c=!!i[l];null!=o&&c===!!o[l]||t.classList.toggle(l,c)}return i}function Qu(t,e={},r,n){for(var o in r){var i=r[o];e[o]!==i&&(null==r[o]?t.style.removeProperty(o):t.style.setProperty(o,i,n))}}function Ju(t,e,r,n){if(t.__style!==e){var o=function(t,e){if(e){var r,n,o="";if(Array.isArray(e)?(r=e[0],n=e[1]):r=e,t){t=String(t).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,s=0,a=!1,l=[];r&&l.push(...Object.keys(r).map(Yu)),n&&l.push(...Object.keys(n).map(Yu));var c=0,u=-1;const e=t.length;for(var d=0;d<e;d++){var h=t[d];if(a?"/"===h&&"*"===t[d-1]&&(a=!1):i?i===h&&(i=!1):"/"===h&&"*"===t[d+1]?a=!0:'"'===h||"'"===h?i=h:"("===h?s++:")"===h&&s--,!a&&!1===i&&0===s)if(":"===h&&-1===u)u=d;else if(";"===h||d===e-1){if(-1!==u){var p=Yu(t.substring(c,u).trim());l.includes(p)||(";"!==h&&d++,o+=" "+t.substring(c,d).trim()+";")}c=d+1,u=-1}}}return r&&(o+=Uu(r)),n&&(o+=Uu(n,!0)),""===(o=o.trim())?null:o}return null==t?null:String(t)}(e,n);null==o?t.removeAttribute("style"):t.style.cssText=o,t.__style=e}else n&&(Array.isArray(n)?(Qu(t,null==r?void 0:r[0],n[0]),Qu(t,null==r?void 0:r[1],n[1],"important")):Qu(t,r,n));return n}function Gu(t,e,r=!1){if(t.multiple){if(null==e)return;if(!ea(e))return;for(var n of t.options)n.selected=e.includes($u(n))}else{for(n of t.options)if(jl($u(n),e))return void(n.selected=!0);r&&void 0===e||(t.selectedIndex=-1)}}function $u(t){return"__value"in t?t.__value:t.value}const _u=Symbol("class"),td=Symbol("style"),ed=Symbol("is custom element"),rd=Symbol("is html");function nd(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function od(t,e,r,n){var o=sd(t);o[e]!==(o[e]=r)&&("loading"===e&&(t[Ea]=r),null==r?t.removeAttribute(e):"string"!=typeof r&&ld(t).includes(e)?t[e]=r:t.setAttribute(e,r))}function id(t,e,r=[],n=[],o,i=!1,s=!1){wl(r,n,r=>{var n=void 0,o={},i="SELECT"===t.nodeName,s=!1;if(lc(()=>{var a=e(...r.map(Xc)),l=function(t,e,r){var n=sd(t),o=n[ed],i=!n[rd],s=e||{},a="OPTION"===t.tagName;for(var l in e)l in r||(r[l]=null);r.class?r.class=Bu(r.class):r[_u]&&(r.class=null),r[td]&&(r.style??(r.style=null));var c=ld(t);for(const g in r){let l=r[g];if(a&&"value"===g&&null==l)t.value=t.__value="",s[g]=l;else if("class"!==g)if("style"!==g){var u=s[g];if(l!==u||void 0===l&&t.hasAttribute(g)){s[g]=l;var d=g[0]+g[1];if("$$"!==d)if("on"===d){const e={},r="$$"+g;let n=g.slice(2);var h=ru(n);if(tu(n)&&(n=n.slice(0,-7),e.capture=!0),!h&&u){if(null!=l)continue;t.removeEventListener(n,s[r],e),s[r]=null}if(null!=l)if(h)t[`__${n}`]=l,hu([n]);else{let o=function(t){s[g].call(this,t)};s[r]=cu(n,t,o,e)}else h&&(t[`__${n}`]=void 0)}else if("style"===g)od(t,g,l);else if("autofocus"===g)Ql(t,Boolean(l));else if(o||"__value"!==g&&("value"!==g||null==l))if("selected"===g&&a)nd(t,l);else{var p=g;i||(p=ou(p));var f="defaultValue"===p||"defaultChecked"===p;if(null!=l||o||f)f||c.includes(p)&&(o||"string"!=typeof l)?(t[p]=l,p in n&&(n[p]=za)):"function"!=typeof l&&od(t,p,l);else if(n[g]=null,"value"===p||"checked"===p){let r=t;const n=void 0===e;if("value"===p){let t=r.defaultValue;r.removeAttribute(p),r.defaultValue=t,r.value=r.__value=n?t:null}else{let t=r.defaultChecked;r.removeAttribute(p),r.defaultChecked=t,r.checked=!!n&&t}}else t.removeAttribute(g)}else t.value=t.__value=l}}else Ju(t,l,null==e?void 0:e[td],r[td]),s[g]=l,s[td]=r[td];else Xu(t,"http://www.w3.org/1999/xhtml"===t.namespaceURI,l,0,null==e?void 0:e[_u],r[_u]),s[g]=l,s[_u]=r[_u]}return s}(t,n,a);s&&i&&"value"in a&&Gu(t,a.value);for(let t of Object.getOwnPropertySymbols(o))a[t]||hc(o[t]);for(let e of Object.getOwnPropertySymbols(a)){var c=a[e];e.description!==Na||n&&c===n[e]||(o[e]&&hc(o[e]),o[e]=cc(()=>qu(t,()=>c))),l[e]=c}n=l}),i){var a=t;ic(()=>{Gu(a,n.value,!0),function(t){var e=new MutationObserver(()=>{Gu(t,t.__value)});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),ec(()=>{e.disconnect()})}(a)})}s=!0})}function sd(t){return t.__attributes??(t.__attributes={[ed]:t.nodeName.includes("-"),[rd]:"http://www.w3.org/1999/xhtml"===t.namespaceURI})}var ad=new Map;function ld(t){var e,r=t.getAttribute("is")||t.nodeName,n=ad.get(r);if(n)return n;ad.set(r,n=[]);for(var o=t,i=Element.prototype;i!==o;){for(var s in e=sa(o))e[s].set&&n.push(s);o=ca(o)}return n}const cd={tick:t=>requestAnimationFrame(t),now:()=>performance.now(),tasks:new Set};function ud(){const t=cd.now();cd.tasks.forEach(e=>{e.c(t)||(cd.tasks.delete(e),e.f())}),0!==cd.tasks.size&&cd.tick(ud)}function dd(t){let e;return 0===cd.tasks.size&&cd.tick(ud),{promise:new Promise(r=>{cd.tasks.add(e={c:t,f:r})}),abort(){cd.tasks.delete(e)}}}function hd(t,e){Gl(()=>{t.dispatchEvent(new CustomEvent(e))})}function pd(t){if("float"===t)return"cssFloat";if("offset"===t)return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return 1===e.length?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function fd(t){const e={},r=t.split(";");for(const n of r){const[t,r]=n.split(":");if(!t||void 0===r)break;e[pd(t.trim())]=r.trim()}return e}const gd=t=>t;function vd(t,e,r,n){var o,i,s,a=!!(1&t),l=!!(2&t),c=!!(4&t),u=a&&l?"both":a?"in":"out",d=e.inert,h=e.style.overflow;function p(){return Gl(()=>o??(o=r()(e,(null==n?void 0:n())??{},{direction:u})))}var f={is_global:c,in(){var t;if(e.inert=d,!a)return null==s||s.abort(),void(null==(t=null==s?void 0:s.reset)||t.call(s));l||null==i||i.abort(),hd(e,"introstart"),i=bd(e,p(),s,1,()=>{hd(e,"introend"),null==i||i.abort(),i=o=void 0,e.style.overflow=h})},out(t){if(!l)return null==t||t(),void(o=void 0);e.inert=!0,hd(e,"outrostart"),s=bd(e,p(),i,0,()=>{hd(e,"outroend"),null==t||t()})},stop:()=>{null==i||i.abort(),null==s||s.abort()}},g=Oc;if((g.transitions??(g.transitions=[])).push(f),a&&Mu){var v=c;if(!v){for(var b=g.parent;b&&0!==(b.f&Ca);)for(;(b=b.parent)&&0===(b.f&ga););v=!b||0!==(b.f&ka)}v&&ic(()=>{Jc(()=>f.in())})}}function bd(t,e,r,n,o){var i=1===n;if(da(e)){var s,a=!1;return Xa(()=>{if(!a){var l=e({direction:i?"in":"out"});s=bd(t,l,r,n,o)}}),{abort:()=>{a=!0,null==s||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(null==r||r.deactivate(),!(null==e?void 0:e.duration))return o(),{abort:ha,deactivate:ha,reset:ha,t:()=>n};const{delay:l=0,css:c,tick:u,easing:d=gd}=e;var h=[];if(i&&void 0===r&&(u&&u(0,1),c)){var p=fd(c(0,1));h.push(p,p)}var f=()=>1-n,g=t.animate(h,{duration:l,fill:"forwards"});return g.onfinish=()=>{g.cancel();var i=(null==r?void 0:r.t())??1-n;null==r||r.abort();var s=n-i,a=e.duration*Math.abs(s),l=[];if(a>0){var h=!1;if(c)for(var p=Math.ceil(a/(1e3/60)),v=0;v<=p;v+=1){var b=i+s*d(v/p),m=fd(c(b,1-b));l.push(m),h||(h="hidden"===m.overflow)}h&&(t.style.overflow="hidden"),f=()=>{var t=g.currentTime;return i+s*d(t/a)},u&&dd(()=>{if("running"!==g.playState)return!1;var t=f();return u(t,1-t),!0})}(g=t.animate(l,{duration:a,fill:"forwards"})).onfinish=()=>{f=()=>n,null==u||u(n,1-n),o()}},{abort:()=>{g&&(g.cancel(),g.effect=null,g.onfinish=ha)},deactivate:()=>{o=ha},reset:()=>{0===n&&(null==u||u(1,0))},t:()=>f()}}function md(t,e,r=e){var n=new WeakSet;$l(t,"input",async o=>{var i=o?t.defaultValue:t.value;if(i=yd(t)?xd(i):i,r(i),null!==el&&n.add(el),await Yc(),i!==(i=e())){var s=t.selectionStart,a=t.selectionEnd,l=t.value.length;if(t.value=i??"",null!==a){var c=t.value.length;s===a&&a===l&&c>l?(t.selectionStart=c,t.selectionEnd=c):(t.selectionStart=s,t.selectionEnd=Math.min(a,c))}}}),null==Jc(e)&&t.value&&(r(yd(t)?xd(t.value):t.value),null!==el&&n.add(el)),sc(()=>{var r=e();if(t===document.activeElement){var o=rl??el;if(n.has(o))return}yd(t)&&r===xd(t.value)||("date"!==t.type||r||t.value)&&r!==t.value&&(t.value=r??"")})}function wd(t,e,r=e){$l(t,"change",e=>{var n=e?t.defaultChecked:t.checked;r(n)}),null==Jc(e)&&r(t.checked),sc(()=>{var r=e();t.checked=Boolean(r)})}function yd(t){var e=t.type;return"number"===e||"range"===e}function xd(t){return""===t?null:+t}const kd=class{constructor(t){$s(this,H),$s(this,F,new WeakMap),$s(this,j),$s(this,D),_s(this,D,t)}observe(t,e){var r=Gs(this,F).get(t)||new Set;return r.add(e),Gs(this,F).set(t,r),ta(this,H,q).call(this).observe(t,Gs(this,D)),()=>{var r=Gs(this,F).get(t);r.delete(e),0===r.size&&(Gs(this,F).delete(t),Gs(this,j).unobserve(t))}}};F=new WeakMap,j=new WeakMap,D=new WeakMap,H=new WeakSet,q=function(){return Gs(this,j)??_s(this,j,new ResizeObserver(t=>{for(var e of t)for(var r of(kd.entries.set(e.target,e),Gs(this,F).get(e.target)||[]))r(e)}))},Qs(kd,"entries",new WeakMap);var Cd=new kd({box:"border-box"});function Md(t,e,r){var n=Cd.observe(t,()=>r(t[e]));ic(()=>(Jc(()=>r(t[e])),n))}function Sd(t,e){return t===e||(null==t?void 0:t[Wa])===e}function Ad(t={},e,r,n){return ic(()=>{var n,o;return sc(()=>{n=o,o=[],Jc(()=>{t!==r(...o)&&(e(t,...o),n&&Sd(r(...n),t)&&e(null,...n))})}),()=>{Xa(()=>{o&&Sd(r(...o),t)&&e(null,...o)})}}),t}let Wd=!1;const Od={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set:(t,e)=>!1,getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e))return e in t.props?{enumerable:!0,configurable:!0,value:t.props[e]}:void 0},has:(t,e)=>!t.exclude.includes(e)&&e in t.props,ownKeys:t=>Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))};function Ed(t,e,r){return new Proxy({props:t,exclude:e},Od)}const Pd={get(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(da(n)&&(n=n()),"object"==typeof n&&null!==n&&e in n)return n[e]}},set(t,e,r){let n=t.props.length;for(;n--;){let o=t.props[n];da(o)&&(o=o());const i=ia(o,e);if(i&&i.set)return i.set(r),!0}return!1},getOwnPropertyDescriptor(t,e){let r=t.props.length;for(;r--;){let n=t.props[r];if(da(n)&&(n=n()),"object"==typeof n&&null!==n&&e in n){const t=ia(n,e);return t&&!t.configurable&&(t.configurable=!0),t}}},has(t,e){if(e===Wa||e===Oa)return!1;for(let r of t.props)if(da(r)&&(r=r()),null!=r&&e in r)return!0;return!1},ownKeys(t){const e=[];for(let r of t.props)if(da(r)&&(r=r()),r){for(const t in r)e.includes(t)||e.push(t);for(const t of Object.getOwnPropertySymbols(r))e.includes(t)||e.push(t)}return e}};function Td(...t){return new Proxy({props:t},Pd)}function zd(t,e,r,n){var o,i,s,a=!!(8&r),l=!!(16&r),c=n,u=!0,d=()=>(u&&(u=!1,c=l?Jc(n):n),c);if(a){var h=Wa in t||Oa in t;i=(null==(o=ia(t,e))?void 0:o.set)??(h&&e in t?r=>t[e]=r:void 0)}var p,f=!1;if(a?[s,f]=function(){var r=Wd;try{return Wd=!1,[t[e],Wd]}finally{Wd=r}}():s=t[e],void 0===s&&void 0!==n&&(s=d(),i&&(function(){throw new Error("https://svelte.dev/e/props_invalid_value")}(),i(s))),p=()=>{var r=t[e];return void 0===r?d():(u=!0,r)},!(4&r))return p;if(i){var g=t.$$legacy;return function(t,e){return arguments.length>0?((!e||g||f)&&i(e?p():t),t):p()}}var v=!1,b=(1&r?xl:Ml)(()=>(v=!1,p()));a&&Xc(b);var m=Oc;return function(t,e){if(arguments.length>0){const r=e?Xc(b):a?Rl(t):t;return zl(b,r),v=!0,void 0!==c&&(c=r),t}return Cc&&v||0!==(m.f&xa)?b.v:Xc(b)}}function Nd(t){null===Da&&Ta(),rc(()=>{const e=Jc(t);if("function"==typeof e)return e})}class Ld extends Error{constructor(t){var e,r,n,o;super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,Ld.prototype),null!==t&&"object"==typeof t&&(this.url="string"==typeof t.url?t.url:"",this.status="number"==typeof t.status?t.status:0,this.isAbort=!!t.isAbort,this.originalError=t.originalError,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 Ld||(this.originalError=t),"undefined"!=typeof DOMException&&t instanceof DOMException&&(this.isAbort=!0),this.name="ClientResponseError "+this.status,this.message=null==(e=this.response)?void 0:e.message,this.message||(this.isAbort?this.message="The request was autocancelled. You can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation.":(null==(o=null==(n=null==(r=this.originalError)?void 0:r.cause)?void 0:n.message)?void 0:o.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}}}const Id=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Rd(t,e,r){const n=Object.assign({},r||{}),o=n.encode||jd;if(!Id.test(t))throw new TypeError("argument name is invalid");const i=o(e);if(i&&!Id.test(i))throw new TypeError("argument val is invalid");let s=t+"="+i;if(null!=n.maxAge){const t=n.maxAge-0;if(isNaN(t)||!isFinite(t))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(t)}if(n.domain){if(!Id.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!Id.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){if(a=n.expires,!("[object Date]"===Object.prototype.toString.call(a)||a instanceof Date)||isNaN(n.expires.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+n.expires.toUTCString()}var a;if(n.httpOnly&&(s+="; HttpOnly"),n.secure&&(s+="; Secure"),n.priority)switch("string"==typeof n.priority?n.priority.toLowerCase():n.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(n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.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 Fd(t){return-1!==t.indexOf("%")?decodeURIComponent(t):t}function jd(t){return encodeURIComponent(t)}const Dd="undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal;let Hd;function qd(t){if(t)try{const e=decodeURIComponent(Hd(t.split(".")[1]).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(e)||{}}catch(e){}return{}}function Vd(t,e=0){let r=qd(t);return!(Object.keys(r).length>0&&(!r.exp||r.exp-e>Date.now()/1e3))}Hd="function"!=typeof atob||Dd?t=>{let e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,n,o=0,i=0,s="";n=e.charAt(i++);~n&&(r=o%4?64*r+n:n,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);return s}:atob;const Zd="pb_auth";class Bd{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!Vd(this.token)}get isSuperuser(){var t,e;let r=qd(this.token);return"auth"==r.type&&("_superusers"==(null==(t=this.record)?void 0:t.collectionName)||!(null==(e=this.record)?void 0:e.collectionName)&&"pbc_3142635823"==r.collectionId)}get isAdmin(){return this.isSuperuser}get isAuthRecord(){return"auth"==qd(this.token).type&&!this.isSuperuser}save(t,e){this.baseToken=t||"",this.baseModel=e||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(t,e=Zd){const r=function(t){const e={};if("string"!=typeof t)return e;const r=Object.assign({},{}).decode||Fd;let n=0;for(;n<t.length;){const i=t.indexOf("=",n);if(-1===i)break;let s=t.indexOf(";",n);if(-1===s)s=t.length;else if(s<i){n=t.lastIndexOf(";",i-1)+1;continue}const a=t.slice(n,i).trim();if(void 0===e[a]){let n=t.slice(i+1,s).trim();34===n.charCodeAt(0)&&(n=n.slice(1,-1));try{e[a]=r(n)}catch(o){e[a]=n}}n=s+1}return e}(t||"")[e]||"";let n={};try{n=JSON.parse(r),(null===typeof n||"object"!=typeof n||Array.isArray(n))&&(n={})}catch(o){}this.save(n.token||"",n.record||n.model||null)}exportToCookie(t,e=Zd){var r,n;const o={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},i=qd(this.token);o.expires=(null==i?void 0:i.exp)?new Date(1e3*i.exp):new Date("1970-01-01"),t=Object.assign({},o,t);const s={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let a=Rd(e,JSON.stringify(s),t);const l="undefined"!=typeof Blob?new Blob([a]).size:a.length;if(s.record&&l>4096){s.record={id:null==(r=s.record)?void 0:r.id,email:null==(n=s.record)?void 0:n.email};const o=["collectionId","collectionName","verified"];for(const t in this.record)o.includes(t)&&(s.record[t]=this.record[t]);a=Rd(e,JSON.stringify(s),t)}return a}onChange(t,e=!1){return this._onChangeCallbacks.push(t),e&&t(this.token,this.record),()=>{for(let e=this._onChangeCallbacks.length-1;e>=0;e--)if(this._onChangeCallbacks[e]==t)return delete this._onChangeCallbacks[e],void this._onChangeCallbacks.splice(e,1)}}triggerChange(){for(const t of this._onChangeCallbacks)t&&t(this.token,this.record)}}class Kd extends Bd{constructor(t="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=t,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const t=this._storageGet(this.storageKey)||{};return t.record||t.model||null}get model(){return this.record}save(t,e){this._storageSet(this.storageKey,{token:t,record:e}),super.save(t,e)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(t){if("undefined"!=typeof window&&(null==window?void 0:window.localStorage)){const r=window.localStorage.getItem(t)||"";try{return JSON.parse(r)}catch(e){return r}}return this.storageFallback[t]}_storageSet(t,e){if("undefined"!=typeof window&&(null==window?void 0:window.localStorage)){let r=e;"string"!=typeof e&&(r=JSON.stringify(e)),window.localStorage.setItem(t,r)}else this.storageFallback[t]=e}_storageRemove(t){var e;"undefined"!=typeof window&&(null==window?void 0:window.localStorage)&&(null==(e=window.localStorage)||e.removeItem(t)),delete this.storageFallback[t]}_bindStorageEvent(){"undefined"!=typeof window&&(null==window?void 0:window.localStorage)&&window.addEventListener&&window.addEventListener("storage",t=>{if(t.key!=this.storageKey)return;const e=this._storageGet(this.storageKey)||{};super.save(e.token||"",e.record||e.model||null)})}}class Ud{constructor(t){this.client=t}}class Yd extends Ud{async getAll(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/settings",t)}async update(t,e){return e=Object.assign({method:"PATCH",body:t},e),this.client.send("/api/settings",e)}async testS3(t="storage",e){return e=Object.assign({method:"POST",body:{filesystem:t}},e),this.client.send("/api/settings/test/s3",e).then(()=>!0)}async testEmail(t,e,r,n){return n=Object.assign({method:"POST",body:{email:e,template:r,collection:t}},n),this.client.send("/api/settings/test/email",n).then(()=>!0)}async generateAppleClientSecret(t,e,r,n,o,i){return i=Object.assign({method:"POST",body:{clientId:t,teamId:e,keyId:r,privateKey:n,duration:o}},i),this.client.send("/api/settings/apple/generate-client-secret",i)}}const Xd=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function Qd(t){if(t){t.query=t.query||{};for(let e in t)Xd.includes(e)||(t.query[e]=t[e],delete t[e])}}function Jd(t){const e=[];for(const r in t){const n=encodeURIComponent(r),o=Array.isArray(t[r])?t[r]:[t[r]];for(let t of o)t=Gd(t),null!==t&&e.push(n+"="+t)}return e.join("&")}function Gd(t){return null==t?null:t instanceof Date?encodeURIComponent(t.toISOString().replace("T"," ")):"object"==typeof t?encodeURIComponent(JSON.stringify(t)):encodeURIComponent(t)}class $d extends Ud{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(t,e,r){var n;if(!t)throw new Error("topic must be set.");let o=t;if(r){Qd(r=Object.assign({},r));const t="options="+encodeURIComponent(JSON.stringify({query:r.query,headers:r.headers}));o+=(o.includes("?")?"&":"?")+t}const i=function(t){const r=t;let n;try{n=JSON.parse(null==r?void 0:r.data)}catch{}e(n||{})};return this.subscriptions[o]||(this.subscriptions[o]=[]),this.subscriptions[o].push(i),this.isConnected?1===this.subscriptions[o].length?await this.submitSubscriptions():null==(n=this.eventSource)||n.addEventListener(o,i):await this.connect(),async()=>this.unsubscribeByTopicAndListener(t,i)}async unsubscribe(t){var e;let r=!1;if(t){const n=this.getSubscriptionsByTopic(t);for(let t in n)if(this.hasSubscriptionListeners(t)){for(let r of this.subscriptions[t])null==(e=this.eventSource)||e.removeEventListener(t,r);delete this.subscriptions[t],r||(r=!0)}}else this.subscriptions={};this.hasSubscriptionListeners()?r&&await this.submitSubscriptions():this.disconnect()}async unsubscribeByPrefix(t){var e;let r=!1;for(let n in this.subscriptions)if((n+"?").startsWith(t)){r=!0;for(let t of this.subscriptions[n])null==(e=this.eventSource)||e.removeEventListener(n,t);delete this.subscriptions[n]}r&&(this.hasSubscriptionListeners()?await this.submitSubscriptions():this.disconnect())}async unsubscribeByTopicAndListener(t,e){var r;let n=!1;const o=this.getSubscriptionsByTopic(t);for(let i in o){if(!Array.isArray(this.subscriptions[i])||!this.subscriptions[i].length)continue;let t=!1;for(let n=this.subscriptions[i].length-1;n>=0;n--)this.subscriptions[i][n]===e&&(t=!0,delete this.subscriptions[i][n],this.subscriptions[i].splice(n,1),null==(r=this.eventSource)||r.removeEventListener(i,e));t&&(this.subscriptions[i].length||delete this.subscriptions[i],n||this.hasSubscriptionListeners(i)||(n=!0))}this.hasSubscriptionListeners()?n&&await this.submitSubscriptions():this.disconnect()}hasSubscriptionListeners(t){var e,r;if(this.subscriptions=this.subscriptions||{},t)return!!(null==(e=this.subscriptions[t])?void 0:e.length);for(let n in this.subscriptions)if(null==(r=this.subscriptions[n])?void 0:r.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(t=>{if(!(null==t?void 0:t.isAbort))throw t})}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(t){const e={};t=t.includes("?")?t:t+"?";for(let r in this.subscriptions)(r+"?").startsWith(t)&&(e[r]=this.subscriptions[r]);return e}getNonEmptySubscriptionKeys(){const t=[];for(let e in this.subscriptions)this.subscriptions[e].length&&t.push(e);return t}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let t in this.subscriptions)for(let e of this.subscriptions[t])this.eventSource.addEventListener(t,e)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let t in this.subscriptions)for(let e of this.subscriptions[t])this.eventSource.removeEventListener(t,e)}async connect(){if(!(this.reconnectAttempts>0))return new Promise((t,e)=>{this.pendingConnects.push({resolve:t,reject:e}),this.pendingConnects.length>1||this.initConnect()})}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout(()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=t=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",t=>{const e=t;this.clientId=null==e?void 0:e.lastEventId,this.submitSubscriptions().then(async()=>{let t=3;for(;this.hasUnsentSubscriptions()&&t>0;)t--,await this.submitSubscriptions()}).then(()=>{for(let t of this.pendingConnects)t.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const e=this.getSubscriptionsByTopic("PB_CONNECT");for(let r in e)for(let n of e[r])n(t)}).catch(t=>{this.clientId="",this.connectErrorHandler(t)})})}hasUnsentSubscriptions(){const t=this.getNonEmptySubscriptionKeys();if(t.length!=this.lastSentSubscriptions.length)return!0;for(const e of t)if(!this.lastSentSubscriptions.includes(e))return!0;return!1}connectErrorHandler(t){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let e of this.pendingConnects)e.reject(new Ld(t));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const e=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout(()=>{this.initConnect()},e)}disconnect(t=!1){var e;if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),null==(e=this.eventSource)||e.close(),this.eventSource=null,this.clientId="",!t){this.reconnectAttempts=0;for(let t of this.pendingConnects)t.resolve();this.pendingConnects=[]}}}class _d extends Ud{decode(t){return t}async getFullList(t,e){if("number"==typeof t)return this._getFullList(t,e);let r=500;return(e=Object.assign({},t,e)).batch&&(r=e.batch,delete e.batch),this._getFullList(r,e)}async getList(t=1,e=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:t,perPage:e},r.query),this.client.send(this.baseCrudPath,r).then(t=>{var e;return t.items=(null==(e=t.items)?void 0:e.map(t=>this.decode(t)))||[],t})}async getFirstListItem(t,e){return(e=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+t},e)).query=Object.assign({filter:t,skipTotal:1},e.query),this.getList(1,1,e).then(t=>{var e;if(!(null==(e=null==t?void 0:t.items)?void 0:e.length))throw new Ld({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return t.items[0]})}async getOne(t,e){if(!t)throw new Ld({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),e).then(t=>this.decode(t))}async create(t,e){return e=Object.assign({method:"POST",body:t},e),this.client.send(this.baseCrudPath,e).then(t=>this.decode(t))}async update(t,e,r){return r=Object.assign({method:"PATCH",body:e},r),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),r).then(t=>this.decode(t))}async delete(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),e).then(()=>!0)}_getFullList(t=500,e){(e=e||{}).query=Object.assign({skipTotal:1},e.query);let r=[],n=async o=>this.getList(o,t||500,e).then(t=>{const e=t.items;return r=r.concat(e),e.length==t.perPage?n(o+1):r});return n(1)}}function th(t,e,r,n){const o=void 0!==n;return o||void 0!==r?o?(e.body=Object.assign({},e.body,r),e.query=Object.assign({},e.query,n),e):Object.assign(e,r):e}function eh(t){var e;null==(e=t._resetAutoRefresh)||e.call(t)}class rh extends _d{constructor(t,e){super(t),this.collectionIdOrName=e}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(t,e,r){if(!t)throw new Error("Missing topic.");if(!e)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+t,e,r)}async unsubscribe(t){return t?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+t):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(t,e){if("number"==typeof t)return super.getFullList(t,e);const r=Object.assign({},t,e);return super.getFullList(r)}async getList(t=1,e=30,r){return super.getList(t,e,r)}async getFirstListItem(t,e){return super.getFirstListItem(t,e)}async getOne(t,e){return super.getOne(t,e)}async create(t,e){return super.create(t,e)}async update(t,e,r){return super.update(t,e,r).then(t=>{var e,r,n;if((null==(e=this.client.authStore.record)?void 0:e.id)===(null==t?void 0:t.id)&&((null==(r=this.client.authStore.record)?void 0:r.collectionId)===this.collectionIdOrName||(null==(n=this.client.authStore.record)?void 0:n.collectionName)===this.collectionIdOrName)){let e=Object.assign({},this.client.authStore.record.expand),r=Object.assign({},this.client.authStore.record,t);e&&(r.expand=Object.assign(e,t.expand)),this.client.authStore.save(this.client.authStore.token,r)}return t})}async delete(t,e){return super.delete(t,e).then(e=>{var r,n,o;return!e||(null==(r=this.client.authStore.record)?void 0:r.id)!==t||(null==(n=this.client.authStore.record)?void 0:n.collectionId)!==this.collectionIdOrName&&(null==(o=this.client.authStore.record)?void 0:o.collectionName)!==this.collectionIdOrName||this.client.authStore.clear(),e})}authResponse(t){const e=this.decode((null==t?void 0:t.record)||{});return this.client.authStore.save(null==t?void 0:t.token,e),Object.assign({},t,{token:(null==t?void 0:t.token)||"",record:e})}async listAuthMethods(t){return t=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},t),this.client.send(this.baseCollectionPath+"/auth-methods",t)}async authWithPassword(t,e,r){let n;r=Object.assign({method:"POST",body:{identity:t,password:e}},r),this.isSuperusers&&(n=r.autoRefreshThreshold,delete r.autoRefreshThreshold,r.autoRefresh||eh(this.client));let o=await this.client.send(this.baseCollectionPath+"/auth-with-password",r);return o=this.authResponse(o),n&&this.isSuperusers&&function(t,e,r,n){eh(t);const o=t.beforeSend,i=t.authStore.record,s=t.authStore.onChange((e,r)=>{(!e||(null==r?void 0:r.id)!=(null==i?void 0:i.id)||((null==r?void 0:r.collectionId)||(null==i?void 0:i.collectionId))&&(null==r?void 0:r.collectionId)!=(null==i?void 0:i.collectionId))&&eh(t)});t._resetAutoRefresh=function(){s(),t.beforeSend=o,delete t._resetAutoRefresh},t.beforeSend=async(i,s)=>{var a;const l=t.authStore.token;if(null==(a=s.query)?void 0:a.autoRefresh)return o?o(i,s):{url:i,sendOptions:s};let c=t.authStore.isValid;if(c&&Vd(t.authStore.token,e))try{await r()}catch(d){c=!1}c||await n();const u=s.headers||{};for(let e in u)if("authorization"==e.toLowerCase()&&l==u[e]&&t.authStore.token){u[e]=t.authStore.token;break}return s.headers=u,o?o(i,s):{url:i,sendOptions:s}}}(this.client,n,()=>this.authRefresh({autoRefresh:!0}),()=>this.authWithPassword(t,e,Object.assign({autoRefresh:!0},r))),o}async authWithOAuth2Code(t,e,r,n,o,i,s){let a={method:"POST",body:{provider:t,code:e,codeVerifier:r,redirectURL:n,createData:o}};return a=th(0,a,i,s),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",a).then(t=>this.authResponse(t))}authWithOAuth2(...t){if(t.length>1||"string"==typeof(null==t?void 0:t[0]))return this.authWithOAuth2Code((null==t?void 0:t[0])||"",(null==t?void 0:t[1])||"",(null==t?void 0:t[2])||"",(null==t?void 0:t[3])||"",(null==t?void 0:t[4])||{},(null==t?void 0:t[5])||{},(null==t?void 0:t[6])||{});const e=(null==t?void 0:t[0])||{};let r=null;e.urlCallback||(r=nh(void 0));const n=new $d(this.client);function o(){null==r||r.close(),n.unsubscribe()}const i={},s=e.requestKey;return s&&(i.requestKey=s),this.listAuthMethods(i).then(t=>{var i;const a=t.oauth2.providers.find(t=>t.name===e.provider);if(!a)throw new Ld(new Error(`Missing or invalid provider "${e.provider}".`));const l=this.client.buildURL("/api/oauth2-redirect"),c=s?null==(i=this.client.cancelControllers)?void 0:i[s]:void 0;return c&&(c.signal.onabort=()=>{o()}),new Promise(async(t,i)=>{var s;try{await n.subscribe("@oauth2",async r=>{var s;const u=n.clientId;try{if(!r.state||u!==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 n=Object.assign({},e);delete n.provider,delete n.scopes,delete n.createData,delete n.urlCallback,(null==(s=null==c?void 0:c.signal)?void 0:s.onabort)&&(c.signal.onabort=null);const o=await this.authWithOAuth2Code(a.name,r.code,a.codeVerifier,l,e.createData,n);t(o)}catch(d){i(new Ld(d))}o()});const u={state:n.clientId};(null==(s=e.scopes)?void 0:s.length)&&(u.scope=e.scopes.join(" "));const d=this._replaceQueryParams(a.authURL+l,u);let h=e.urlCallback||function(t){r?r.location.href=t:r=nh(t)};await h(d)}catch(u){o(),i(new Ld(u))}})}).catch(t=>{throw o(),t})}async authRefresh(t,e){let r={method:"POST"};return r=th(0,r,t,e),this.client.send(this.baseCollectionPath+"/auth-refresh",r).then(t=>this.authResponse(t))}async requestPasswordReset(t,e,r){let n={method:"POST",body:{email:t}};return n=th(0,n,e,r),this.client.send(this.baseCollectionPath+"/request-password-reset",n).then(()=>!0)}async confirmPasswordReset(t,e,r,n,o){let i={method:"POST",body:{token:t,password:e,passwordConfirm:r}};return i=th(0,i,n,o),this.client.send(this.baseCollectionPath+"/confirm-password-reset",i).then(()=>!0)}async requestVerification(t,e,r){let n={method:"POST",body:{email:t}};return n=th(0,n,e,r),this.client.send(this.baseCollectionPath+"/request-verification",n).then(()=>!0)}async confirmVerification(t,e,r){let n={method:"POST",body:{token:t}};return n=th(0,n,e,r),this.client.send(this.baseCollectionPath+"/confirm-verification",n).then(()=>{const e=qd(t),r=this.client.authStore.record;return r&&!r.verified&&r.id===e.id&&r.collectionId===e.collectionId&&(r.verified=!0,this.client.authStore.save(this.client.authStore.token,r)),!0})}async requestEmailChange(t,e,r){let n={method:"POST",body:{newEmail:t}};return n=th(0,n,e,r),this.client.send(this.baseCollectionPath+"/request-email-change",n).then(()=>!0)}async confirmEmailChange(t,e,r,n){let o={method:"POST",body:{token:t,password:e}};return o=th(0,o,r,n),this.client.send(this.baseCollectionPath+"/confirm-email-change",o).then(()=>{const e=qd(t),r=this.client.authStore.record;return r&&r.id===e.id&&r.collectionId===e.collectionId&&this.client.authStore.clear(),!0})}async listExternalAuths(t,e){return this.client.collection("_externalAuths").getFullList(Object.assign({},e,{filter:this.client.filter("recordRef = {:id}",{id:t})}))}async unlinkExternalAuth(t,e,r){const n=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:t,provider:e}));return this.client.collection("_externalAuths").delete(n.id,r).then(()=>!0)}async requestOTP(t,e){return e=Object.assign({method:"POST",body:{email:t}},e),this.client.send(this.baseCollectionPath+"/request-otp",e)}async authWithOTP(t,e,r){return r=Object.assign({method:"POST",body:{otpId:t,password:e}},r),this.client.send(this.baseCollectionPath+"/auth-with-otp",r).then(t=>this.authResponse(t))}async impersonate(t,e,r){(r=Object.assign({method:"POST",body:{duration:e}},r)).headers=r.headers||{},r.headers.Authorization||(r.headers.Authorization=this.client.authStore.token);const n=new bh(this.client.baseURL,new Bd,this.client.lang),o=await n.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(t),r);return n.authStore.save(null==o?void 0:o.token,this.decode((null==o?void 0:o.record)||{})),n}_replaceQueryParams(t,e={}){let r=t,n="";t.indexOf("?")>=0&&(r=t.substring(0,t.indexOf("?")),n=t.substring(t.indexOf("?")+1));const o={},i=n.split("&");for(const s of i){if(""==s)continue;const t=s.split("=");o[decodeURIComponent(t[0].replace(/\+/g," "))]=decodeURIComponent((t[1]||"").replace(/\+/g," "))}for(let s in e)e.hasOwnProperty(s)&&(null==e[s]?delete o[s]:o[s]=e[s]);n="";for(let s in o)o.hasOwnProperty(s)&&(""!=n&&(n+="&"),n+=encodeURIComponent(s.replace(/%20/g,"+"))+"="+encodeURIComponent(o[s].replace(/%20/g,"+")));return""!=n?r+"?"+n:r}}function nh(t){if("undefined"==typeof window||!(null==window?void 0:window.open))throw new Ld(new Error("Not in a browser context - please pass a custom urlCallback function."));let e=1024,r=768,n=window.innerWidth,o=window.innerHeight;e=e>n?n:e,r=r>o?o:r;let i=n/2-e/2,s=o/2-r/2;return window.open(t,"popup_window","width="+e+",height="+r+",top="+s+",left="+i+",resizable,menubar=no")}class oh extends _d{get baseCrudPath(){return"/api/collections"}async import(t,e=!1,r){return r=Object.assign({method:"PUT",body:{collections:t,deleteMissing:e}},r),this.client.send(this.baseCrudPath+"/import",r).then(()=>!0)}async getScaffolds(t){return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/meta/scaffolds",t)}async truncate(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t)+"/truncate",e).then(()=>!0)}}class ih extends Ud{async getList(t=1,e=30,r){return(r=Object.assign({method:"GET"},r)).query=Object.assign({page:t,perPage:e},r.query),this.client.send("/api/logs",r)}async getOne(t,e){if(!t)throw new Ld({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return e=Object.assign({method:"GET"},e),this.client.send("/api/logs/"+encodeURIComponent(t),e)}async getStats(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/stats",t)}}class sh extends Ud{async check(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/health",t)}}class ah extends Ud{getUrl(t,e,r={}){return this.getURL(t,e,r)}getURL(t,e,r={}){if(!e||!(null==t?void 0:t.id)||!(null==t?void 0:t.collectionId)&&!(null==t?void 0:t.collectionName))return"";const n=[];n.push("api"),n.push("files"),n.push(encodeURIComponent(t.collectionId||t.collectionName)),n.push(encodeURIComponent(t.id)),n.push(encodeURIComponent(e));let o=this.client.buildURL(n.join("/"));if(Object.keys(r).length){!1===r.download&&delete r.download;const t=new URLSearchParams(r);o+=(o.includes("?")?"&":"?")+t}return o}async getToken(t){return t=Object.assign({method:"POST"},t),this.client.send("/api/files/token",t).then(t=>(null==t?void 0:t.token)||"")}}class lh extends Ud{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/backups",t)}async create(t,e){return e=Object.assign({method:"POST",body:{name:t}},e),this.client.send("/api/backups",e).then(()=>!0)}async upload(t,e){return e=Object.assign({method:"POST",body:t},e),this.client.send("/api/backups/upload",e).then(()=>!0)}async delete(t,e){return e=Object.assign({method:"DELETE"},e),this.client.send(`/api/backups/${encodeURIComponent(t)}`,e).then(()=>!0)}async restore(t,e){return e=Object.assign({method:"POST"},e),this.client.send(`/api/backups/${encodeURIComponent(t)}/restore`,e).then(()=>!0)}getDownloadUrl(t,e){return this.getDownloadURL(t,e)}getDownloadURL(t,e){return this.client.buildURL(`/api/backups/${encodeURIComponent(e)}?token=${encodeURIComponent(t)}`)}}class ch extends Ud{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/crons",t)}async run(t,e){return e=Object.assign({method:"POST"},e),this.client.send(`/api/crons/${encodeURIComponent(t)}`,e).then(()=>!0)}}function uh(t){return"undefined"!=typeof Blob&&t instanceof Blob||"undefined"!=typeof File&&t instanceof File||null!==t&&"object"==typeof t&&t.uri&&("undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal)}function dh(t){var e;return t&&("FormData"===(null==(e=t.constructor)?void 0:e.name)||"undefined"!=typeof FormData&&t instanceof FormData)}function hh(t){for(const e in t){const r=Array.isArray(t[e])?t[e]:[t[e]];for(const t of r)if(uh(t))return!0}return!1}const ph=/^[\-\.\d]+$/;function fh(t){if("string"!=typeof t)return t;if("true"==t)return!0;if("false"==t)return!1;if(("-"===t[0]||t[0]>="0"&&t[0]<="9")&&ph.test(t)){let e=+t;if(""+e===t)return e}return t}class gh extends Ud{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(t){return this.subs[t]||(this.subs[t]=new vh(this.requests,t)),this.subs[t]}async send(t){const e=new FormData,r=[];for(let n=0;n<this.requests.length;n++){const t=this.requests[n];if(r.push({method:t.method,url:t.url,headers:t.headers,body:t.json}),t.files)for(let r in t.files){const o=t.files[r]||[];for(let t of o)e.append("requests."+n+"."+r,t)}}return e.append("@jsonPayload",JSON.stringify({requests:r})),t=Object.assign({method:"POST",body:e},t),this.client.send("/api/batch",t)}}class vh{constructor(t,e){this.requests=[],this.requests=t,this.collectionIdOrName=e}upsert(t,e){e=Object.assign({body:t||{}},e);const r={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,e),this.requests.push(r)}create(t,e){e=Object.assign({body:t||{}},e);const r={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(r,e),this.requests.push(r)}update(t,e,r){r=Object.assign({body:e||{}},r);const n={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(n,r),this.requests.push(n)}delete(t,e){e=Object.assign({},e);const r={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(r,e),this.requests.push(r)}prepareRequest(t,e){if(Qd(e),t.headers=e.headers,t.json={},t.files={},void 0!==e.query){const r=Jd(e.query);r&&(t.url+=(t.url.includes("?")?"&":"?")+r)}let r=e.body;dh(r)&&(r=function(t){let e={};return t.forEach((t,r)=>{if("@jsonPayload"===r&&"string"==typeof t)try{let r=JSON.parse(t);Object.assign(e,r)}catch(n){}else void 0!==e[r]?(Array.isArray(e[r])||(e[r]=[e[r]]),e[r].push(fh(t))):e[r]=fh(t)}),e}(r));for(const n in r){const e=r[n];if(uh(e))t.files[n]=t.files[n]||[],t.files[n].push(e);else if(Array.isArray(e)){const r=[],o=[];for(const t of e)uh(t)?r.push(t):o.push(t);if(r.length>0&&r.length==e.length){t.files[n]=t.files[n]||[];for(let e of r)t.files[n].push(e)}else if(t.json[n]=o,r.length>0){let e=n;n.startsWith("+")||n.endsWith("+")||(e+="+"),t.files[e]=t.files[e]||[];for(let n of r)t.files[e].push(n)}}else t.json[n]=e}}}class bh{get baseUrl(){return this.baseURL}set baseUrl(t){this.baseURL=t}constructor(t="/",e,r="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=t,this.lang=r,e?this.authStore=e:"undefined"!=typeof window&&window.Deno?this.authStore=new Bd:this.authStore=new Kd,this.collections=new oh(this),this.files=new ah(this),this.logs=new ih(this),this.settings=new Yd(this),this.realtime=new $d(this),this.health=new sh(this),this.backups=new lh(this),this.crons=new ch(this)}get admins(){return this.collection("_superusers")}createBatch(){return new gh(this)}collection(t){return this.recordServices[t]||(this.recordServices[t]=new rh(this,t)),this.recordServices[t]}autoCancellation(t){return this.enableAutoCancellation=!!t,this}cancelRequest(t){return this.cancelControllers[t]&&(this.cancelControllers[t].abort(),delete this.cancelControllers[t]),this}cancelAllRequests(){for(let t in this.cancelControllers)this.cancelControllers[t].abort();return this.cancelControllers={},this}filter(t,e){if(!e)return t;for(let r in e){let n=e[r];switch(typeof n){case"boolean":case"number":n=""+n;break;case"string":n="'"+n.replace(/'/g,"\\'")+"'";break;default:n=null===n?"null":n instanceof Date?"'"+n.toISOString().replace("T"," ")+"'":"'"+JSON.stringify(n).replace(/'/g,"\\'")+"'"}t=t.replaceAll("{:"+r+"}",n)}return t}getFileUrl(t,e,r={}){return this.files.getURL(t,e,r)}buildUrl(t){return this.buildURL(t)}buildURL(t){var e;let r=this.baseURL;return"undefined"==typeof window||!window.location||r.startsWith("https://")||r.startsWith("http://")||(r=(null==(e=window.location.origin)?void 0:e.endsWith("/"))?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(r+=window.location.pathname||"/",r+=r.endsWith("/")?"":"/"),r+=this.baseURL),t&&(r+=r.endsWith("/")?"":"/",r+=t.startsWith("/")?t.substring(1):t),r}async send(t,e){e=this.initSendOptions(t,e);let r=this.buildURL(t);if(this.beforeSend){const t=Object.assign({},await this.beforeSend(r,e));void 0!==t.url||void 0!==t.options?(r=t.url||r,e=t.options||e):Object.keys(t).length&&(e=t,null==console||console.warn)}if(void 0!==e.query){const t=Jd(e.query);t&&(r+=(r.includes("?")?"&":"?")+t),delete e.query}return"application/json"==this.getHeader(e.headers,"Content-Type")&&e.body&&"string"!=typeof e.body&&(e.body=JSON.stringify(e.body)),(e.fetch||fetch)(r,e).then(async t=>{let r={};try{r=await t.json()}catch(n){}if(this.afterSend&&(r=await this.afterSend(t,r,e)),t.status>=400)throw new Ld({url:t.url,status:t.status,data:r});return r}).catch(t=>{throw new Ld(t)})}initSendOptions(t,e){if((e=Object.assign({method:"GET"},e)).body=function(t){if("undefined"==typeof FormData||void 0===t||"object"!=typeof t||null===t||dh(t)||!hh(t))return t;const e=new FormData;for(const r in t){const n=t[r];if(void 0!==n)if("object"!=typeof n||hh({data:n})){const t=Array.isArray(n)?n:[n];for(let n of t)e.append(r,n)}else{let t={};t[r]=n,e.append("@jsonPayload",JSON.stringify(t))}}return e}(e.body),Qd(e),e.query=Object.assign({},e.params,e.query),void 0===e.requestKey&&(!1===e.$autoCancel||!1===e.query.$autoCancel?e.requestKey=null:(e.$cancelKey||e.query.$cancelKey)&&(e.requestKey=e.$cancelKey||e.query.$cancelKey)),delete e.$autoCancel,delete e.query.$autoCancel,delete e.$cancelKey,delete e.query.$cancelKey,null!==this.getHeader(e.headers,"Content-Type")||dh(e.body)||(e.headers=Object.assign({},e.headers,{"Content-Type":"application/json"})),null===this.getHeader(e.headers,"Accept-Language")&&(e.headers=Object.assign({},e.headers,{"Accept-Language":this.lang})),this.authStore.token&&null===this.getHeader(e.headers,"Authorization")&&(e.headers=Object.assign({},e.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&null!==e.requestKey){const r=e.requestKey||(e.method||"GET")+t;delete e.requestKey,this.cancelRequest(r);const n=new AbortController;this.cancelControllers[r]=n,e.signal=n.signal}return e}getHeader(t,e){t=t||{},e=e.toLowerCase();for(let r in t)if(r.toLowerCase()==e)return t[r];return null}}const mh=[];function wh(t,e,r){const n=r.map(t=>{if("string"==typeof t)return t;if(t instanceof Error)return`${t.name}: ${t.message}\n${t.stack}`;try{return JSON.stringify(t)}catch{return String(t)}}).join(" ");mh.push({timestamp:Date.now(),module:t,level:e,message:n}),mh.length>1e3&&mh.shift()}function yh(t){return{info:(...e)=>{wh(t,"info",e)},error:(...e)=>{wh(t,"error",e)},warn:(...e)=>{wh(t,"warn",e)},ok:(...e)=>{wh(t,"ok",e)},table:(t,e)=>{},group:t=>{},groupEnd:()=>{}}}const xh="undefined"!=typeof window?window:void 0,kh=class extends Map{constructor(t){if(super(),$s(this,U),$s(this,V,new Map),$s(this,Z,Pl(0)),$s(this,B,Pl(0)),$s(this,K,Fc||-1),t){for(var[e,r]of t)super.set(e,r);Gs(this,B).v=super.size}}has(t){var e=Gs(this,V),r=e.get(t);if(void 0===r){if(void 0===super.get(t))return Xc(Gs(this,Z)),!1;r=ta(this,U,Y).call(this,0),e.set(t,r)}return Xc(r),!0}forEach(t,e){ta(this,U,X).call(this),super.forEach(t,e)}get(t){var e=Gs(this,V),r=e.get(t);if(void 0===r){if(void 0===super.get(t))return void Xc(Gs(this,Z));r=ta(this,U,Y).call(this,0),e.set(t,r)}return Xc(r),super.get(t)}set(t,e){var r,n=Gs(this,V),o=n.get(t),i=super.get(t),s=super.set(t,e),a=Gs(this,Z);if(void 0===o)o=ta(this,U,Y).call(this,0),n.set(t,o),zl(Gs(this,B),super.size),Ll(a);else if(i!==e){Ll(o);var l=null===a.reactions?null:new Set(a.reactions);(null===l||!(null==(r=o.reactions)?void 0:r.every(t=>l.has(t))))&&Ll(a)}return s}delete(t){var e=Gs(this,V),r=e.get(t),n=super.delete(t);return void 0!==r&&(e.delete(t),zl(Gs(this,B),super.size),zl(r,-1),Ll(Gs(this,Z))),n}clear(){if(0!==super.size){super.clear();var t=Gs(this,V);for(var e of(zl(Gs(this,B),0),t.values()))zl(e,-1);Ll(Gs(this,Z)),t.clear()}}keys(){return Xc(Gs(this,Z)),super.keys()}values(){return ta(this,U,X).call(this),super.values()}entries(){return ta(this,U,X).call(this),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return Xc(Gs(this,B)),super.size}};V=new WeakMap,Z=new WeakMap,B=new WeakMap,K=new WeakMap,U=new WeakSet,Y=function(t){return Fc===Gs(this,K)?Pl(t):El(t)},X=function(){Xc(Gs(this,Z));var t,e,r=Gs(this,V);if(Gs(this,B).v!==r.size)for(var n of(t=kh.prototype,e=this,Ys(Us(t),"keys",e)).call(this))if(!r.has(n)){var o=ta(this,U,Y).call(this,0);r.set(n,o)}for([,o]of Gs(this,V))Xc(o)};let Ch=kh;function Mh(t,e){if(function(t){return"function"==typeof t}(t)){const r=t();return void 0===r?e:r}return void 0===t?e:t}class Sh{constructor(t,e={}){$s(this,nt),$s(this,Q),$s(this,J,0),$s(this,G,Cl(()=>Mh(Gs(this,J))??0)),$s(this,$,null),$s(this,_,null),$s(this,tt,Pl(0)),$s(this,et,Pl(!1)),$s(this,rt,xh),e.window&&_s(this,rt,e.window),_s(this,J,e.fpsLimit),_s(this,Q,t),this.start=this.start.bind(this),this.stop=this.stop.bind(this),this.toggle=this.toggle.bind(this),rc(()=>((e.immediate??1)&&Jc(this.start),this.stop))}start(){Gs(this,rt)&&(zl(Gs(this,et),!0),_s(this,$,0),_s(this,_,Gs(this,rt).requestAnimationFrame(ta(this,nt,ot).bind(this))))}stop(){Gs(this,_)&&Gs(this,rt)&&(zl(Gs(this,et),!1),Gs(this,rt).cancelAnimationFrame(Gs(this,_)),_s(this,_,null))}toggle(){Xc(Gs(this,et))?this.stop():this.start()}get fps(){return Xc(Gs(this,et))?Xc(Gs(this,tt)):0}get running(){return Xc(Gs(this,et))}}function Ah(){}function Wh(t,e,r,n){rc(()=>{const o=Mh(t);if(null==o)return;const i=Mh(e);if(!Array.isArray(i))return uu(o,i,r,n);for(const t of i)rc(()=>uu(o,t,r,n))})}function Oh(t,e,r,n,o,i){if(null===t||"object"!=typeof t)return t;const s=Object.getPrototypeOf(t);if(null!==s&&s!==Object.prototype&&!Array.isArray(t))return t;let a=r.get(t);return a||(a=new Proxy(t,{get:(t,s)=>(null==n||n(),Oh(Reflect.get(t,s),e,r,n,o,i)),set:(t,r,n)=>(null==o||o(),Reflect.set(t,r,n),i(e),!0)}),r.set(t,a)),a}Q=new WeakMap,J=new WeakMap,G=new WeakMap,$=new WeakMap,_=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakSet,ot=function(t){if(!Xc(Gs(this,et))||!Gs(this,rt))return;null===Gs(this,$)&&_s(this,$,t);const e=t-Gs(this,$),r=1e3/e;Xc(Gs(this,G))&&r>Xc(Gs(this,G))||(zl(Gs(this,tt),r),_s(this,$,t),Gs(this,Q).call(this,{delta:e,timestamp:t})),_s(this,_,Gs(this,rt).requestAnimationFrame(ta(this,nt,ot).bind(this)))};class Eh{constructor(t,e,r={}){$s(this,pt),$s(this,it),$s(this,st),$s(this,at),$s(this,lt),$s(this,ct),$s(this,ut),$s(this,dt,new WeakMap),$s(this,ht,t=>{var e;t.key===Gs(this,st)&&null!==t.newValue&&(_s(this,it,ta(this,pt,ft).call(this,t.newValue)),null==(e=Gs(this,ut))||e.call(this))});const{storage:n="local",serializer:o={serialize:JSON.stringify,deserialize:JSON.parse},syncTabs:i=!0}=r,s="window"in r?r.window:xh;if(_s(this,it,e),_s(this,st,t),_s(this,at,o),void 0===s)return;const a=function(t,e){switch(t){case"local":return e.localStorage;case"session":return e.sessionStorage}}(n,s);_s(this,lt,a);const l=a.getItem(t);null!==l?_s(this,it,ta(this,pt,ft).call(this,l)):ta(this,pt,gt).call(this,e),i&&"local"===n&&_s(this,ct,bl(t=>{_s(this,ut,t);const e=uu(s,"storage",Gs(this,ht));return()=>{e(),_s(this,ut,void 0)}}))}get current(){var t,e,r,n;null==(t=Gs(this,ct))||t.call(this);const o=null==(e=Gs(this,lt))?void 0:e.getItem(Gs(this,st)),i=o?ta(this,pt,ft).call(this,o):Gs(this,it);return Oh(i,i,Gs(this,dt),null==(r=Gs(this,ct))?void 0:r.bind(this),null==(n=Gs(this,ut))?void 0:n.bind(this),ta(this,pt,gt).bind(this))}set current(t){var e;ta(this,pt,gt).call(this,t),null==(e=Gs(this,ut))||e.call(this)}}it=new WeakMap,st=new WeakMap,at=new WeakMap,lt=new WeakMap,ct=new WeakMap,ut=new WeakMap,dt=new WeakMap,ht=new WeakMap,pt=new WeakSet,ft=function(t){try{return Gs(this,at).deserialize(t)}catch(e){return}},gt=function(t){var e;try{null!=t&&(null==(e=Gs(this,lt))||e.setItem(Gs(this,st),Gs(this,at).serialize(t)))}catch(r){}};class Ph{constructor(t){$s(this,vt),$s(this,bt,Cl(()=>Mh(Gs(this,vt).element))),$s(this,mt,Cl(()=>{var t;return Mh(null==(t=Gs(this,vt))?void 0:t.idle,200)})),$s(this,wt,Cl(()=>Mh(Gs(this,vt).offset,{left:0,right:0,top:0,bottom:0}))),$s(this,yt,Cl(()=>Gs(this,vt).onScroll??Ah)),$s(this,xt,Cl(()=>Gs(this,vt).onStop??Ah)),$s(this,kt,Cl(()=>Gs(this,vt).eventListenerOptions??{capture:!1,passive:!0})),$s(this,Ct,Cl(()=>Mh(Gs(this,vt).behavior,"auto"))),$s(this,Mt,Cl(()=>Gs(this,vt).onError??(t=>{}))),$s(this,St,Pl(0)),$s(this,At,Pl(0)),$s(this,Wt,Cl(()=>this.internalX)),$s(this,Ot,Cl(()=>this.internalY)),$s(this,Et,Pl(!1)),$s(this,Pt,Pl(Rl({left:!0,right:!1,top:!0,bottom:!1}))),$s(this,Tt,Pl(Rl({left:!1,right:!1,top:!1,bottom:!1}))),$s(this,zt,Pl(Rl({x:0,y:0}))),Qs(this,"setArrivedState",()=>{var t,e,r;if(!window||!this.element)return;const n=(null==(e=null==(t=this.element)?void 0:t.document)?void 0:e.documentElement)||(null==(r=this.element)?void 0:r.documentElement)||this.element,{display:o,flexDirection:i,direction:s}=getComputedStyle(n),a="rtl"===s?-1:1,l=n.scrollLeft;l!==this.internalX&&(this.directions.left=l<this.internalX,this.directions.right=l>this.internalX);const c=l*a<=(this.offset.left||0),u=l*a+n.clientWidth>=n.scrollWidth-(this.offset.right||0)-1;"flex"===o&&"row-reverse"===i?(this.arrived.left=u,this.arrived.right=c):(this.arrived.left=c,this.arrived.right=u),this.internalX=l;let d=n.scrollTop;this.element!==window.document||d||(d=window.document.body.scrollTop),d!==this.internalY&&(this.directions.top=d<this.internalY,this.directions.bottom=d>this.internalY);const h=d<=(this.offset.top||0),p=d+n.clientHeight>=n.scrollHeight-(this.offset.bottom||0)-1;"flex"===o&&"column-reverse"===i?(this.arrived.top=p,this.arrived.bottom=h):(this.arrived.top=h,this.arrived.bottom=p);const f=n.scrollHeight-(this.offset.bottom||0);this.progress.y=d/(f-n.clientHeight)*100;const g=n.scrollWidth-(this.offset.left||0);this.progress.x=Math.abs(l/(g-n.clientWidth)*100),this.internalY=d}),$s(this,Nt,t=>{window&&(this.setArrivedState(),this.isScrolling=!0,this.onScrollEndDebounced(t),this.onScroll(t))}),Qs(this,"onScrollEnd",t=>{this.isScrolling&&(this.isScrolling=!1,this.directions.left=!1,this.directions.right=!1,this.directions.top=!1,this.directions.bottom=!1,this.onStop(t))}),Qs(this,"onScrollEndDebounced",function(t,e){let r=Pl(null);const n=Cl(()=>Mh(e,250));function o(...e){if(Xc(r))Xc(r).timeout&&clearTimeout(Xc(r).timeout);else{let t,e;const n=new Promise((r,n)=>{t=r,e=n});zl(r,{timeout:null,runner:null,promise:n,resolve:t,reject:e},!0)}return Xc(r).runner=async()=>{if(!Xc(r))return;const n=Xc(r);zl(r,null);try{n.resolve(await t.apply(this,e))}catch(o){n.reject(o)}},Xc(r).timeout=setTimeout(Xc(r).runner,Xc(n)),Xc(r).promise}return o.cancel=async()=>{(Xc(r)&&null!==Xc(r).timeout||(await new Promise(t=>setTimeout(t,0)),Xc(r)&&null!==Xc(r).timeout))&&(clearTimeout(Xc(r).timeout),Xc(r).reject("Cancelled"),zl(r,null))},o.runScheduledNow=async()=>{var t,e;(Xc(r)&&Xc(r).timeout||(await new Promise(t=>setTimeout(t,0)),Xc(r)&&Xc(r).timeout))&&(clearTimeout(Xc(r).timeout),Xc(r).timeout=null,await(null==(e=(t=Xc(r)).runner)?void 0:e.call(t)))},Object.defineProperty(o,"pending",{enumerable:!0,get(){var t;return!!(null==(t=Xc(r))?void 0:t.timeout)}}),o}(this.onScrollEnd,()=>this.idle)),_s(this,vt,t),Wh(()=>this.element,"scroll",Gs(this,Nt),this.eventListenerOptions),Wh(()=>this.element,"scrollend",t=>this.onScrollEnd(t),this.eventListenerOptions),Nd(()=>{this.setArrivedState()}),new Sh(()=>this.setArrivedState())}get element(){return Xc(Gs(this,bt))}set element(t){zl(Gs(this,bt),t)}get idle(){return Xc(Gs(this,mt))}set idle(t){zl(Gs(this,mt),t)}get offset(){return Xc(Gs(this,wt))}set offset(t){zl(Gs(this,wt),t)}get onScroll(){return Xc(Gs(this,yt))}set onScroll(t){zl(Gs(this,yt),t)}get onStop(){return Xc(Gs(this,xt))}set onStop(t){zl(Gs(this,xt),t)}get eventListenerOptions(){return Xc(Gs(this,kt))}set eventListenerOptions(t){zl(Gs(this,kt),t)}get behavior(){return Xc(Gs(this,Ct))}set behavior(t){zl(Gs(this,Ct),t)}get onError(){return Xc(Gs(this,Mt))}set onError(t){zl(Gs(this,Mt),t)}get internalX(){return Xc(Gs(this,St))}set internalX(t){zl(Gs(this,St),t,!0)}get internalY(){return Xc(Gs(this,At))}set internalY(t){zl(Gs(this,At),t,!0)}get x(){return Xc(Gs(this,Wt))}set x(t){this.scrollTo(t,void 0)}get y(){return Xc(Gs(this,Ot))}set y(t){this.scrollTo(void 0,t)}get isScrolling(){return Xc(Gs(this,Et))}set isScrolling(t){zl(Gs(this,Et),t,!0)}get arrived(){return Xc(Gs(this,Pt))}set arrived(t){zl(Gs(this,Pt),t,!0)}get directions(){return Xc(Gs(this,Tt))}set directions(t){zl(Gs(this,Tt),t,!0)}get progress(){return Xc(Gs(this,zt))}set progress(t){zl(Gs(this,zt),t,!0)}scrollTo(t,e){var r,n,o,i;if(!window)return;null==(r=this.element instanceof Document?window.document.body:this.element)||r.scrollTo({top:e??this.y,left:t??this.x,behavior:this.behavior});const s=(null==(o=null==(n=this.element)?void 0:n.document)?void 0:o.documentElement)||(null==(i=this.element)?void 0:i.documentElement)||this.element;null!=t&&(this.internalX=s.scrollLeft),null!=e&&(this.internalY=s.scrollTop)}scrollToTop(){this.scrollTo(void 0,0)}scrollToBottom(){var t,e,r;if(!window)return;const n=(null==(e=null==(t=this.element)?void 0:t.document)?void 0:e.documentElement)||(null==(r=this.element)?void 0:r.documentElement)||this.element;n&&this.scrollTo(void 0,n.scrollHeight)}}vt=new WeakMap,bt=new WeakMap,mt=new WeakMap,wt=new WeakMap,yt=new WeakMap,xt=new WeakMap,kt=new WeakMap,Ct=new WeakMap,Mt=new WeakMap,St=new WeakMap,At=new WeakMap,Wt=new WeakMap,Ot=new WeakMap,Et=new WeakMap,Pt=new WeakMap,Tt=new WeakMap,zt=new WeakMap,Nt=new WeakMap;const Th=yh("telemetry");class zh{constructor(){Qs(this,"modules"),$s(this,Lt,Pl(!1)),$s(this,It,Pl(!1)),Qs(this,"init",t=>{this.modules=t}),Qs(this,"track",async(t="info",e,r)=>{var n,o,i,s;try{await this.modules.pb.collection("logs").create({project:this.modules.project.id,user:(null==(o=null==(n=this.modules.auth)?void 0:n.user)?void 0:o.id)||null,type:t,message:e,meta:{domain:(null==(i=this.modules.domains)?void 0:i.current)||null,folder:(null==(s=this.modules.folders)?void 0:s.current)||null,route:this.modules.router.current},logs:mh,data:r||null}),Th[t](e,...r?[r]:[])}catch(a){Th[t](e,...r?[r]:[])}})}get loading(){return Xc(Gs(this,Lt))}set loading(t){zl(Gs(this,Lt),t,!0)}get ready(){return Xc(Gs(this,It))}set ready(t){zl(Gs(this,It),t,!0)}on(t,e){return this.modules.bus.on(t,e)}emit(t,...e){this.modules.bus.emit(t,...e)}storage(t,e,r){const n=new Eh(e,r);Object.defineProperty(this,t,{get:()=>n.current,set:t=>{n.current=t},enumerable:!0,configurable:!0})}}Lt=new WeakMap,It=new WeakMap;const Nh=yh("utils");function Lh(){var t;let e=document.activeElement;if(!e)return!1;for(;null==(t=null==e?void 0:e.shadowRoot)?void 0:t.activeElement;)e=e.shadowRoot.activeElement;return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.contentEditable}function Ih(t){return t.then(t=>[void 0,t]).catch(t=>[t])}async function Rh(t){const e=t;if(!e||"data:,GIF89a"===e)return null;try{const t=await fetch(e);if(!t.ok)throw new Error(`HTTP ${t.status}`);const r=await t.blob(),n=function(t,e){try{const r=new URL(t).pathname.split("/").pop()||"share-image";return r.includes(".")?r:`${r}.${e.split("/")[1]||"jpg"}`}catch{return"share-image.jpg"}}(e,r.type);return new File([r],n,{type:r.type})}catch(r){return Nh.error("Failed to download image:",r),null}}const Fh=yh("status");class jh extends zh{constructor(){super(...arguments),$s(this,Rt,Pl(null)),$s(this,Ft,Pl(!1)),$s(this,jt,Pl("")),$s(this,Dt,Pl(""))}get error(){return Xc(Gs(this,Rt))}set error(t){zl(Gs(this,Rt),t,!0)}get maintenance(){return Xc(Gs(this,Ft))}set maintenance(t){zl(Gs(this,Ft),t,!0)}get title(){return Xc(Gs(this,jt))}set title(t){zl(Gs(this,jt),t,!0)}get message(){return Xc(Gs(this,Dt))}set message(t){zl(Gs(this,Dt),t,!0)}start(){this.fetch()}async fetch(){this.loading=!0;const[t,e]=await Ih(this.modules.pb.collection("status").getOne("p0iapzwu08f1a4o"));return t?(this.emit("status:error",{error:this.error}),this.loading=!1,null):(this.maintenance=(null==e?void 0:e.maintenance)||!1,this.title=(null==e?void 0:e.title)||"",this.message=(null==e?void 0:e.message)||"",this.loading=!1,this.ready=!0,this.maintenance?(Fh.warn("Status: maintenance:",this.title,this.message),void this.emit("status:maintenance",{title:this.title,message:this.message})):(Fh.ok("Status: ready"),void this.emit("status:ready",{data:e})))}}Rt=new WeakMap,Ft=new WeakMap,jt=new WeakMap,Dt=new WeakMap;const Dh="undefined"!=typeof window&&window.matchMedia("(pointer: coarse)").matches;function Hh(){try{if(navigator.vibrate)return void navigator.vibrate(50);if(!Dh)return;const t=document.createElement("label");t.ariaHidden="true",t.style.display="none";const e=document.createElement("input");e.type="checkbox",e.setAttribute("switch",""),t.appendChild(e),document.head.appendChild(t),t.click(),document.head.removeChild(t)}catch{}}Hh.confirm=()=>{navigator.vibrate?navigator.vibrate([50,70,50]):(Hh(),setTimeout(()=>Hh(),120))},Hh.error=()=>{navigator.vibrate?navigator.vibrate([50,70,50,70,50]):(Hh(),setTimeout(()=>Hh(),120),setTimeout(()=>Hh(),240))};const qh=Hh,Vh=yh("auth");class Zh extends zh{constructor(){super(...arguments),$s(this,Ht,Pl(null)),$s(this,qt,Pl(Rl({type:"info",text:"",visible:!1})))}get user(){return Xc(Gs(this,Ht))}set user(t){zl(Gs(this,Ht),t,!0)}get msg(){return Xc(Gs(this,qt))}set msg(t){zl(Gs(this,qt),t,!0)}async start(){this.on("status:ready",()=>{this.loading=!0,this.user=this.modules.pb.authStore.record,this.modules.pb.authStore.onChange(async()=>{this.user=this.modules.pb.authStore.record,this.check()}),this.on("auth:msg",t=>this.msg=t),this.on("folders:no-access",()=>{this.msg={type:"error",text:"You do not have access to any folders.",visible:!0},this.logout()}),this.check()})}check(){this.user?(this.loading=!1,this.ready=!0,this.emit("auth:login",{user:this.user})):(this.loading=!1,this.ready=!0,this.emit("auth:logout"))}async login(t,e){this.loading=!0,this.msg={type:"info",text:"",visible:!1};try{return await this.modules.pb.collection("users").authWithPassword(t,e),this.track("ok","User logged in"),this.loading=!1,{success:!0}}catch(r){return qh.error(),this.track("error","Login failed",{error:(null==r?void 0:r.message)||r,email:t}),this.msg={type:"error",text:(null==r?void 0:r.message)||"Login failed",visible:!0},this.loading=!1,this.emit("auth:error",{error:this.msg.text}),{success:!1,error:(null==r?void 0:r.message)||r}}}async logout(){this.user&&(Vh.info("Logging out user:",this.user.id),this.modules.pb.authStore.clear(),this.user=null)}}Ht=new WeakMap,qt=new WeakMap;class Bh extends zh{constructor(){super(...arguments),$s(this,Vt,Pl(Rl(new Map)))}get listeners(){return Xc(Gs(this,Vt))}set listeners(t){zl(Gs(this,Vt),t,!0)}add(t,e,r){const{target:n=document,capture:o=!1}=r||{};this.listeners.has(t)||this.listeners.set(t,[]),this.listeners.get(t).push({handler:e,target:n}),n.addEventListener(t,e,o)}remove(t,e,r){const{target:n=document,capture:o=!1}=r||{};if(!this.listeners.has(t))return;const i=this.listeners.get(t),s=i.findIndex(t=>t.handler===e&&t.target===n);-1!==s&&(i.splice(s,1),n.removeEventListener(t,e,o)),0===i.length&&this.listeners.delete(t)}}Vt=new WeakMap;let Kh=(Xt=class extends zh{constructor(t){super(),Qs(this,"wrapper"),$s(this,Zt,Pl(!1)),$s(this,Bt,Pl(!1)),$s(this,Kt,Pl(null)),$s(this,Ut,Pl(!1)),$s(this,Yt,Pl(!0)),this.wrapper=t,this.storage("hideLogo","fubi-toolbar-logo",!1)}get hovering(){return Xc(Gs(this,Zt))}set hovering(t){zl(Gs(this,Zt),t,!0)}get focusWithin(){return Xc(Gs(this,Bt))}set focusWithin(t){zl(Gs(this,Bt),t,!0)}get lastUsedFeature(){return Xc(Gs(this,Kt))}set lastUsedFeature(t){zl(Gs(this,Kt),t,!0)}get visible(){return Xc(Gs(this,Ut))}set visible(t){zl(Gs(this,Ut),t,!0)}get minimized(){return Xc(Gs(this,Yt))}set minimized(t){zl(Gs(this,Yt),t,!0)}start(){this.modules.keys.bind("c",()=>{Lh()}),this.on("toolbar:feature-used",({feature:t})=>{this.lastUsedFeature=t}),this.modules.keys.bind("Escape",()=>this.handleEscape())}handleEscape(){if(!Lh())return"comment"===this.lastUsedFeature&&this.modules.hover.enabled?(this.modules.hover.disable(),void(this.lastUsedFeature=null)):"inbox"===this.lastUsedFeature&&this.modules.win.opened?(this.modules.win.close(),void(this.lastUsedFeature=null)):void(this.modules.hover.enabled?this.modules.hover.disable():this.modules.win.opened&&this.modules.win.close())}handlePointerEnter(){this.hovering=!0}handlePointerLeave(){this.hovering=!1}},Zt=new WeakMap,Bt=new WeakMap,Kt=new WeakMap,Ut=new WeakMap,Yt=new WeakMap,Xt);class Uh extends zh{constructor(){super(...arguments),Qs(this,"handlers",new Map),$s(this,Qt,Pl(Rl({key:null,code:null,ctrlKey:!1,metaKey:!1,altKey:!1}))),Qs(this,"handleKeydown",t=>{const{key:e,code:r,ctrlKey:n,metaKey:o,altKey:i}=t;this.active={key:e,code:r,ctrlKey:n,metaKey:o,altKey:i};const s=this.handlers.get(e);s&&s.forEach(e=>e(t))}),Qs(this,"handleKeyup",t=>{this.reset()})}get active(){return Xc(Gs(this,Qt))}set active(t){zl(Gs(this,Qt),t,!0)}start(){this.modules.events.add("keydown",t=>this.handleKeydown(t)),this.modules.events.add("keyup",t=>this.handleKeyup(t))}bind(t,e){return this.handlers.has(t)||this.handlers.set(t,new Set),this.handlers.get(t).add(e),()=>{var r;null==(r=this.handlers.get(t))||r.delete(e)}}hasFocus(){var t,e;const r=[document.activeElement,null==(e=null==(t=this.modules.win.el)?void 0:t.shadowRoot)?void 0:e.activeElement].filter(Boolean);for(const n of r){if("INPUT"===n.tagName||"TEXTAREA"===n.tagName)return!0;if("true"===n.contentEditable)return!0}return!1}reset(){this.active.key=null,this.active.code=null,this.active.ctrlKey=!1,this.active.metaKey=!1,this.active.altKey=!1}}Qt=new WeakMap;const Yh=yh("project");class Xh extends zh{constructor(t){super(),$s(this,Jt,Pl("")),$s(this,Gt,Pl(null)),$s(this,$t,Pl(null)),this.id=t}get id(){return Xc(Gs(this,Jt))}set id(t){zl(Gs(this,Jt),t,!0)}get current(){return Xc(Gs(this,Gt))}set current(t){zl(Gs(this,Gt),t,!0)}get error(){return Xc(Gs(this,$t))}set error(t){zl(Gs(this,$t),t,!0)}start(){this.on("status:ready",()=>this.fetch())}async fetch(){this.loading=!0;const[t,e]=await Ih(this.modules.pb.collection("projects").getOne(this.id)),r=e;return t||!r?(this.emit("project:error",{error:this.error}),this.loading=!1,null):(Yh.ok(`Project fetched: ${r.name}, (${r.id})`),this.loading=!1,this.ready=!0,this.current=r,this.emit("project:ready",{project:r}),r)}}Jt=new WeakMap,Gt=new WeakMap,$t=new WeakMap;const Qh=yh("teams");class Jh extends zh{constructor(){super(...arguments),$s(this,_t,Pl("")),$s(this,te,Pl(null)),$s(this,ee,Pl(null)),Qs(this,"unsubscribe"),$s(this,re,Cl(()=>{const{admin:t,members:e,guests:r}=this.current||{admin:"",members:[],guests:[]},n=this.modules.auth.user;return!!(null==n?void 0:n.id)&&[t,e,r].some(t=>t.includes(n.id))})),$s(this,ne,Cl(()=>{var t;const{members:e,guests:r}=this.current||{members:[],guests:[]},n=null==(t=this.modules.auth.user)?void 0:t.id;return e.includes(n)?"member":r.includes(n)?"guest":null}))}get id(){return Xc(Gs(this,_t))}set id(t){zl(Gs(this,_t),t,!0)}get current(){return Xc(Gs(this,te))}set current(t){zl(Gs(this,te),t,!0)}get error(){return Xc(Gs(this,ee))}set error(t){zl(Gs(this,ee),t,!0)}get hasAccess(){return Xc(Gs(this,re))}set hasAccess(t){zl(Gs(this,re),t)}get role(){return Xc(Gs(this,ne))}set role(t){zl(Gs(this,ne),t)}start(){this.on("project:ready",()=>this.fetch()),this.on("auth:login",()=>this.fetch()),this.on("auth:logout",()=>this.reset())}async fetchTeam(){var t,e,r,n;const o=null==(t=this.modules.auth)?void 0:t.user;Qh.info(`Fetching team where project id: ${null==(e=this.modules.project.current)?void 0:e.id} and user: ${(null==o?void 0:o.id)||"guest"}`);const[i,s]=await Ih(this.modules.pb.collection("teams").getList(1,1,{filter:`projects_via_team.id ?= "${null==(r=this.modules.project.current)?void 0:r.id}"`,query:{project:null==(n=this.modules.project.current)?void 0:n.id}})),a=null==s?void 0:s.items[0];return a?i?(this.error=(null==i?void 0:i.message)||"Error when fetching team",this.track("error","Error when fetching team",{user:(null==o?void 0:o.id)||"guest",teamId:this.id}),null):(Qh.ok("Team fetched"),this.current=a,a):(Qh.error("No team found for the current project and user."),null)}async fetch(){if(!this.modules.project.ready)return;if(!this.modules.auth.user)return;this.loading=!0;const t=await this.fetchTeam();return t?(this.subscribe(),this.loading=!1,this.ready=!0,this.emit("team:ready",{team:t})):(this.loading=!1,this.emit("team:error",{error:this.error})),t}subscribe(){var t;(null==(t=this.current)?void 0:t.id)&&(this.unsubscribe&&this.unsubscribe(),this.modules.pb.collection("teams").subscribe(this.current.id,async t=>{Qh.info("Team updated via realtime:",t.action),await this.fetchTeam()}),this.unsubscribe=()=>{var t;(null==(t=this.current)?void 0:t.id)&&(Qh.info("Unsubscribing from team:",this.current.id),this.modules.pb.collection("teams").unsubscribe(this.current.id).catch(()=>{Qh.info("Unsubscribe skipped - already logged out")}))})}reset(){var t;this.id="",this.current=null,this.error=null,this.ready=!1,null==(t=this.unsubscribe)||t.call(this)}destroy(){var t;null==(t=this.unsubscribe)||t.call(this)}}_t=new WeakMap,te=new WeakMap,ee=new WeakMap,re=new WeakMap,ne=new WeakMap;const Gh=yh("collection-module");class $h extends zh{constructor(){super(...arguments),$s(this,oe,Pl(Rl([]))),$s(this,ie,Pl(null)),Qs(this,"refetchTimer"),$s(this,se,Pl(void 0)),$s(this,ae,Pl(void 0)),$s(this,le,Pl(void 0)),$s(this,ce,Pl(1)),$s(this,ue,Pl(50)),$s(this,de,Cl(()=>0===this.data.length)),Qs(this,"collection"),Qs(this,"options"),Qs(this,"fetchScheduled",!1)}get data(){return Xc(Gs(this,oe))}set data(t){zl(Gs(this,oe),t,!0)}get error(){return Xc(Gs(this,ie))}set error(t){zl(Gs(this,ie),t,!0)}get filter(){return Xc(Gs(this,se))}set filter(t){zl(Gs(this,se),t,!0)}get query(){return Xc(Gs(this,ae))}set query(t){zl(Gs(this,ae),t,!0)}get sort(){return Xc(Gs(this,le))}set sort(t){zl(Gs(this,le),t,!0)}get page(){return Xc(Gs(this,ce))}set page(t){zl(Gs(this,ce),t,!0)}get perPage(){return Xc(Gs(this,ue))}set perPage(t){zl(Gs(this,ue),t,!0)}get empty(){return Xc(Gs(this,de))}set empty(t){zl(Gs(this,de),t)}initCollection(t){this.options=t,this.page=t.page||1,this.perPage=t.perPage||50,this.collection=this.modules.pb.collection(t.name),this.collection.subscribe("*",e=>{this.fetchScheduled||(this.fetchScheduled=!0,setTimeout(()=>{this.fetchScheduled=!1,this.fetch()},50)),t.onChange&&t.onChange(e)})}async fetch(){if(!this.loading){this.loading=!0,this.error=null;try{const t=await this.collection.getList(this.page,this.perPage,{filter:this.filter,sort:this.sort,expand:this.options.expand,...this.query});this.data=t.items.map(t=>{var e;return this.options.transform?this.options.transform(t,null==(e=this.modules.auth)?void 0:e.user):t}),this.options.onFinish&&this.options.onFinish()}catch(t){this.error=t.message||"Failed to fetch",Gh.error(`Error fetching ${this.options.name}:`,t)}finally{this.loading=!1}}}async create(t){this.loading=!0;const[e,r]=await Ih(this.collection.create(t));if(e)throw Gh.error(`Error creating record in ${this.options.name}:`,e),this.loading=!1,e;return this.loading=!1,r}destroy(){var t;null==(t=this.collection)||t.unsubscribe("*")}}oe=new WeakMap,ie=new WeakMap,se=new WeakMap,ae=new WeakMap,le=new WeakMap,ce=new WeakMap,ue=new WeakMap,de=new WeakMap;const _h=yh("folders");let tp=(be=class extends $h{constructor(){super(),$s(this,he,Cl(()=>this.data.filter(t=>!t.locked))),$s(this,pe,Cl(()=>!this.ready||this.unlockedFolders.length>0)),Qs(this,"sort","-updated"),$s(this,fe,Cl(()=>{var t;return`project = "${null==(t=this.modules.project.current)?void 0:t.id}"`})),$s(this,ge,Cl(()=>({project:this.modules.project.id}))),Qs(this,"current",{}),$s(this,ve,Cl(()=>{var t,e;return(null==(e=null==(t=this.current)?void 0:t.expand)?void 0:e.users)||[]})),this.storage("current","fubi-folders-current",{})}get unlockedFolders(){return Xc(Gs(this,he))}set unlockedFolders(t){zl(Gs(this,he),t)}get canAccess(){return Xc(Gs(this,pe))}set canAccess(t){zl(Gs(this,pe),t)}get filter(){return Xc(Gs(this,fe))}set filter(t){zl(Gs(this,fe),t)}get query(){return Xc(Gs(this,ge))}set query(t){zl(Gs(this,ge),t)}get users(){return Xc(Gs(this,ve))}set users(t){zl(Gs(this,ve),t)}async start(){this.initCollection({name:"folders",expand:"users,project.team",transform:(t,e)=>{var r,n,o;const i=null==(n=null==(r=t.expand)?void 0:r.users)?void 0:n.some(t=>t.id===(null==e?void 0:e.id));return{...t,locked:!("admin"===(null==(o=this.modules.team)?void 0:o.role)||i)}},onFinish:()=>{_h.ok(this.data.length,"folders fetched"),this.ready=!0,this.selectDefaultFolder(),this.emit("folders:ready")}}),this.on("team:ready",()=>{this.modules.auth.user&&this.modules.project.ready&&this.fetch()})}selectDefaultFolder(){var t;if(0===this.unlockedFolders.length)return _h.error("No unlocked folders available."),void this.emit("folders:no-access");if(1===this.unlockedFolders.length)return _h.info(`User can access only one folder: ${this.unlockedFolders[0].name}, selecting it automatically.`),this.current=this.unlockedFolders[0],void this.emit("router:goto",{route:"pages"});if(null==(t=this.current)?void 0:t.id){if(this.data.find(t=>t.id===this.current.id&&!t.locked))return void _h.info("Current folder still valid:",this.current.name);_h.warn("Current folder no longer accessible:",this.current.name)}_h.info("Selecting first unlocked folder:",this.unlockedFolders[0].name),this.current=this.unlockedFolders[0]}select(t){var e;(null==(e=this.current)?void 0:e.id)!==t.id&&(_h.info("Selecting folder:",t.name),this.current=t,this.emit("folders:changed",{folder:t}))}},he=new WeakMap,pe=new WeakMap,fe=new WeakMap,ge=new WeakMap,ve=new WeakMap,be);const ep=yh("pages");let rp=(Ae=class extends $h{constructor(){super(...arguments),$s(this,we,Pl(null)),$s(this,ye,Cl(()=>{var t,e;return`folder.id = "${null==(t=this.modules.folders.current)?void 0:t.id}" && domain.id = "${null==(e=this.modules.domains.current)?void 0:e.id}"`})),Qs(this,"sort","-updated"),$s(this,xe,Pl(null)),$s(this,ke,Pl(Rl(null==(me=this.current)?void 0:me.name))),$s(this,Ce,Pl(null)),$s(this,Me,Cl(()=>{var t;return!(null==(t=this.current)?void 0:t.id)})),$s(this,Se,Pl(Rl({favicon:"",shareimage:"",title:"",description:""}))),Qs(this,"unsubscribeHistory")}get url(){return Xc(Gs(this,we))}set url(t){zl(Gs(this,we),t,!0)}get filter(){return Xc(Gs(this,ye))}set filter(t){zl(Gs(this,ye),t)}get current(){return Xc(Gs(this,xe))}set current(t){zl(Gs(this,xe),t,!0)}get pageName(){return Xc(Gs(this,ke))}set pageName(t){zl(Gs(this,ke),t,!0)}get error(){return Xc(Gs(this,Ce))}set error(t){zl(Gs(this,Ce),t,!0)}get isNew(){return Xc(Gs(this,Me))}set isNew(t){zl(Gs(this,Me),t)}get meta(){return Xc(Gs(this,Se))}set meta(t){zl(Gs(this,Se),t,!0)}async start(){this.initCollection({name:"pages",expand:"comments_via_page",transform:(t,e)=>{var r;const n=(null==(r=t.expand)?void 0:r.comments_via_page)||[],o=(null==n?void 0:n.length)||0,i=n.filter(t=>!0===t.done).length,s=o>0?Math.round(i/o*100):0;return{...t,comments:n,total:o,done:i,progress:s}},onFinish:()=>{ep.ok(this.data.length,"pages fetched"),this.checkCurrent()}}),this.on("folders:ready",()=>this.tryFetch()),this.on("domains:ready",()=>this.tryFetch()),this.on("auth:logout",()=>this.reset()),this.on("folders:changed",()=>{this.data=[],this.tryFetch()}),this.trackNavigation()}tryFetch(){var t,e;if(!this.modules.auth.user)return;if(!this.modules.folders.ready)return;if(!this.modules.domains.ready)return;const r=null==(t=this.modules.folders.current)?void 0:t.id,n=null==(e=this.modules.domains.current)?void 0:e.id;r&&n&&this.fetch()}checkCurrent(){var t;const e=this.data.find(t=>{var e;return t.pathname===(null==(e=this.modules.domains.url)?void 0:e.pathname)});e?(this.current=e,this.emit("pages:current",{page:e})):this.current={id:"",collectionId:"",collectionName:"pages",created:"",updated:"",name:this.getCurrentName(),pathname:null==(t=this.modules.domains.url)?void 0:t.pathname},this.ready=!0}getCurrentName(){var t;if(!this.modules.domains.url)return"";const e=(null==(t=this.modules.domains.url)?void 0:t.pathname)||"",r=null==document?void 0:document.querySelector('meta[name="page-title"]'),n=null==document?void 0:document.querySelector('meta[property="og:title"]'),o=null==document?void 0:document.title;return"/"===e?"Homepage":(null==r?void 0:r.content)||(null==n?void 0:n.content)||o||e}handleRouteChange(){this.emit("pages:route-changed"),this.modules.domains.getUrl(),this.tryFetch()}async registerCurrent(){var t,e,r,n;if(!this.current)return;if(this.current.id)return void ep.info("Page already registered:",this.current.id);let o={folder:null==(t=this.modules.folders.current)?void 0:t.id,domain:null==(e=this.modules.domains.current)?void 0:e.id,name:this.pageName||this.current.name||(null==(r=this.modules.pages.current)?void 0:r.name),pathname:this.current.pathname,createdBy:null==(n=this.modules.auth.user)?void 0:n.id};const i=await this.create(o);i&&(this.current=i)}trackNavigation(){const t=history.pushState,e=history.replaceState;history.pushState=(...e)=>{t.apply(history,e),this.handleRouteChange()},history.replaceState=(...t)=>{e.apply(history,t),this.handleRouteChange()};const r=()=>this.handleRouteChange();window.addEventListener("popstate",r),this.unsubscribeHistory=()=>{history.pushState=t,history.replaceState=e,window.removeEventListener("popstate",r)}}reset(){this.current=null,this.data=[],this.ready=!1}destroy(){var t;null==(t=this.unsubscribeHistory)||t.call(this)}},we=new WeakMap,ye=new WeakMap,xe=new WeakMap,ke=new WeakMap,Ce=new WeakMap,Me=new WeakMap,Se=new WeakMap,Ae);class np extends zh{constructor(){super(...arguments),Qs(this,"scroll",{disable:(t={})=>{this.addClass(t.touchOnly?"fubi-scroll-touch-disabled":"fubi-scroll-disabled")},enable:()=>{this.removeClass("fubi-scroll-disabled"),this.removeClass("fubi-scroll-touch-disabled")}})}addClass(t){document.documentElement.classList.add(t)}removeClass(t){document.documentElement.classList.remove(t)}toggleClass(t){document.documentElement.classList.toggle(t)}scrollToElement(t){t.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}}function op(t){return"[object Date]"===Object.prototype.toString.call(t)}function ip(t,e,r,n){if("number"==typeof r||op(r)){const o=n-r,i=(r-e)/(t.dt||1/60),s=(i+(t.opts.stiffness*o-t.opts.damping*i)*t.inv_mass)*t.dt;return Math.abs(s)<t.opts.precision&&Math.abs(o)<t.opts.precision?n:(t.settled=!1,op(r)?new Date(r.getTime()+s):r+s)}if(Array.isArray(r))return r.map((o,i)=>ip(t,e[i],r[i],n[i]));if("object"==typeof r){const o={};for(const i in r)o[i]=ip(t,e[i],r[i],n[i]);return o}throw new Error(`Cannot spring ${typeof r} values`)}We=new WeakMap,Oe=new WeakMap,Ee=new WeakMap,Pe=new WeakMap,Te=new WeakMap,ze=new WeakMap,Ne=new WeakMap,Le=new WeakMap,Ie=new WeakMap,Re=new WeakMap,Fe=new WeakMap,je=new WeakSet,De=function(t){var e;if(zl(Gs(this,Te),t),(e=Gs(this,Pe)).v??(e.v=t),Gs(this,ze)??_s(this,ze,Gs(this,Pe).v),!Gs(this,Re)){_s(this,Ne,cd.now());var r=1e3/(60*Gs(this,Ie));Gs(this,Re)??_s(this,Re,dd(t=>{_s(this,Le,Math.min(Gs(this,Le)+r,1));const e=Math.min(t-Gs(this,Ne),1e3/30),n={inv_mass:Gs(this,Le),opts:{stiffness:Gs(this,We).v,damping:Gs(this,Oe).v,precision:Gs(this,Ee).v},settled:!0,dt:60*e/1e3};var o=ip(n,Gs(this,ze),Gs(this,Pe).v,Gs(this,Te).v);return _s(this,ze,Gs(this,Pe).v),_s(this,Ne,t),zl(Gs(this,Pe),o),n.settled&&_s(this,Re,null),!n.settled}))}return Gs(this,Re).promise};let sp=class t{constructor(t,e={}){$s(this,je),$s(this,We,Pl(.15)),$s(this,Oe,Pl(.8)),$s(this,Ee,Pl(.01)),$s(this,Pe),$s(this,Te),$s(this,ze),$s(this,Ne,0),$s(this,Le,1),$s(this,Ie,0),$s(this,Re,null),$s(this,Fe,null),_s(this,Pe,Pl(t)),_s(this,Te,Pl(t)),"number"==typeof e.stiffness&&(Gs(this,We).v=ap(e.stiffness,0,1)),"number"==typeof e.damping&&(Gs(this,Oe).v=ap(e.damping,0,1)),"number"==typeof e.precision&&(Gs(this,Ee).v=e.precision)}static of(e,r){const n=new t(e(),r);return sc(()=>{n.set(e())}),n}set(t,e){var r,n;if(null==(r=Gs(this,Fe))||r.reject(new Error("Aborted")),(null==e?void 0:e.instant)||void 0===Gs(this,Pe).v)return null==(n=Gs(this,Re))||n.abort(),_s(this,Re,null),zl(Gs(this,Pe),zl(Gs(this,Te),t)),_s(this,ze,t),Promise.resolve();(null==e?void 0:e.preserveMomentum)&&(_s(this,Le,0),_s(this,Ie,e.preserveMomentum));var o=_s(this,Fe,pa());return o.promise.catch(ha),ta(this,je,De).call(this,t).then(()=>{o===Gs(this,Fe)&&o.resolve(void 0)}),o.promise}get current(){return Xc(Gs(this,Pe))}get damping(){return Xc(Gs(this,Oe))}set damping(t){zl(Gs(this,Oe),ap(t,0,1))}get precision(){return Xc(Gs(this,Ee))}set precision(t){zl(Gs(this,Ee),t)}get stiffness(){return Xc(Gs(this,We))}set stiffness(t){zl(Gs(this,We),ap(t,0,1))}get target(){return Xc(Gs(this,Te))}set target(t){this.set(t)}};function ap(t,e,r){return Math.max(e,Math.min(r,t))}function lp(t){return t*t*t}function cp(t){const e=t-1;return e*e*e+1}function up(t){return 1===t?t:1-Math.pow(2,-10*t)}class dp extends zh{constructor(){super(),$s(this,He,Pl()),$s(this,qe,Pl(!0)),$s(this,Ve,Pl()),Qs(this,"height",new sp(0,{stiffness:.2,damping:.4})),$s(this,Ze,Pl(Rl({bottom:0,middle:this.calculateBreakpoint(),top:this.calculateBreakpoint(.99)}))),$s(this,Be,Pl(Rl(this.breakpoints.middle))),$s(this,Ke,Pl(Rl(this.breakpoints.middle))),$s(this,Ue,Pl(Rl({active:!1,start:0,current:0,difference:0,startHeight:0,height:0,direction:null,hasMoved:!1}))),Qs(this,"drag",{start:t=>{this.modules.environment.touch&&(t.target.closest("button, a, input, label, textarea, select")||(this.dragging.hasMoved=!1,this.dragging.active=!0,this.dragging.start=t.y,this.dragging.startHeight=this.getCurrentHeight(),this.dragging.height=this.dragging.startHeight))},move:t=>{var e;if(this.dragging.active&&this.modules.environment.touch){if(this.dragging.current=t.y,this.dragging.difference=this.dragging.current-this.dragging.start,Math.abs(this.dragging.difference)>2){this.dragging.hasMoved=!0;const t=this.contentScrollState.y<=0,r=this.dragging.difference>0;if(!t||!r){const t=null==(e=this.el)?void 0:e.querySelector(".page-content, .content, [data-scrollable]"),r=!!t&&this.contentScrollState.y>=t.scrollHeight-t.clientHeight-1,n=this.dragging.difference<0;if(!r||!n||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:t=>{(this.dragging.active||this.dragging.hasMoved)&&(t.preventDefault(),t.stopPropagation(),t.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)}}),this.storage("opened","fubi-win-opened",!0)}get el(){return Xc(Gs(this,He))}set el(t){zl(Gs(this,He),t,!0)}get canOpen(){return Xc(Gs(this,qe))}set canOpen(t){zl(Gs(this,qe),t,!0)}get contentScrollState(){return Xc(Gs(this,Ve))}set contentScrollState(t){zl(Gs(this,Ve),t,!0)}get breakpoints(){return Xc(Gs(this,Ze))}set breakpoints(t){zl(Gs(this,Ze),t,!0)}get currentBreakpoint(){return Xc(Gs(this,Be))}set currentBreakpoint(t){zl(Gs(this,Be),t,!0)}get nextBreakpoint(){return Xc(Gs(this,Ke))}set nextBreakpoint(t){zl(Gs(this,Ke),t,!0)}get dragging(){return Xc(Gs(this,Ue))}set dragging(t){zl(Gs(this,Ue),t,!0)}start(){this.modules.keys.bind("m",()=>{Lh()||this.toggle()}),this.opened&&this.modules.dom.scroll.disable({touchOnly:!0}),this.setupTouchHandling()}setupTouchHandling(){if(!this.el)return void requestAnimationFrame(()=>this.setupTouchHandling());let t=0,e=!0;this.el.addEventListener("touchstart",r=>{this.opened&&(t=r.touches[0].clientY,e=!0)},{passive:!0}),this.el.addEventListener("touchmove",r=>{var n;if(!this.opened||!e)return;const o=r.touches[0].clientY-t;if(Math.abs(o)>5){const t=null==(n=this.el)?void 0:n.querySelector(".page-content, .content, [data-scrollable]"),i=!!t&&this.contentScrollState.y>=t.scrollHeight-t.clientHeight-1;this.contentScrollState.y<=0&&o>0||i&&o<0&&this.currentBreakpoint!==this.breakpoints.top?(r.preventDefault(),e=!1):e=!1}},{passive:!1})}open(){qh(),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(t=!1){if(!this.el)return 0;const e=getComputedStyle(this.el)[t?"maxHeight":"height"];return e&&"none"!==e&&parseFloat(e)||0}calculateBreakpoint(t=.55){const e=window.innerHeight*t;return Math.max(200,Math.min(1e3,e))}focusPageContent(){var t,e;const r=this.modules.router.current,n=null==(t=this.el)?void 0:t.querySelectorAll(`[data-fubi-page="${r}"]`),o=null==(e=null==n?void 0:n[0])?void 0:e.querySelector(".page-content");o&&o.focus()}}He=new WeakMap,qe=new WeakMap,Ve=new WeakMap,Ze=new WeakMap,Be=new WeakMap,Ke=new WeakMap,Ue=new WeakMap;let hp=(Qe=class extends zh{constructor(){super(),$s(this,Ye,Pl(!1)),$s(this,Xe,Pl(null)),this.storage("icon","fubi-navbar-icon","folder"),this.storage("title","fubi-navbar-title","")}get visible(){return Xc(Gs(this,Ye))}set visible(t){zl(Gs(this,Ye),t,!0)}get back(){return Xc(Gs(this,Xe))}set back(t){zl(Gs(this,Xe),t,!0)}},Ye=new WeakMap,Xe=new WeakMap,Qe),pp=($e=class extends zh{constructor(){super(...arguments),$s(this,Je,Pl(!1)),$s(this,Ge,Cl(()=>"comments"===(this.modules.router.navigating?"forward"===this.modules.router.direction?this.modules.router.next:this.modules.router.previous:this.modules.router.current)?"comments":"folders"===(this.modules.router.navigating?"forward"===this.modules.router.direction?this.modules.router.next:this.modules.router.previous:this.modules.router.current)?"folders":"pages"))}get visible(){return Xc(Gs(this,Je))}set visible(t){zl(Gs(this,Je),t,!0)}get tabActive(){return Xc(Gs(this,Ge))}set tabActive(t){zl(Gs(this,Ge),t)}},Je=new WeakMap,Ge=new WeakMap,$e);class fp extends zh{constructor(){super(),$s(this,_e,Pl(!1)),this.touch=window.matchMedia("(pointer: coarse)").matches}get touch(){return Xc(Gs(this,_e))}set touch(t){zl(Gs(this,_e),t,!0)}}_e=new WeakMap;var gp=bu('<div><div><!></div> <div class="touch:hidden glass-shadow fixed z-[10] top-0 left-0 w-full h-full pointer-events-none superellipse rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none select-none"></div></div>');function vp(t,e){Za(e,!0);const{win:r,router:n}=ek();let o=zd(e,"name",3,""),i=Pl(void 0);const s=new Ph({element:()=>Xc(i),onScroll:()=>{r.contentScrollState=s}});let a=Cl(()=>n.current===o()),l=Cl(()=>n.previous===o()),c=Cl(()=>n.next===o());var u=gp(),d=Ul(u);Xu(d,1,Bu(["relative overflow-auto hide-scrollbar flex flex-col h-full superellipse rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none","has-[.subnavbar]:pt-[calc(var(--fubi-navbar-height)+var(--fubi-subnavbar-height))] pt-(--fubi-navbar-height)"])),Du(Ul(d),()=>e.children),Ad(d,t=>zl(i,t),()=>Xc(i)),ac(()=>{od(u,"data-fubi-page",o()),u.inert=!Xc(a),Xu(u,1,Bu(["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 touch:bg-linear-to-b from-(--fubi-page-from-bg) to-(--fubi-page-to-bg) from-10%","transition-[translate,scale,opacity] ease-out-cubic duration-500 top-0",Xc(a)&&"page-current",Xc(l)&&"page-previous",Xc(c)&&"page-next"]))}),ku(t,u),Ba()}var bp=bu("<ul><!></ul>");function mp(t,e){const r=zd(e,"class",3,"");var n=bp();Du(Ul(n),()=>e.children),ac(()=>Xu(n,1,Bu(["list flex flex-col superellipse relief rounded-[20px]","[&>:first-child>.listitem]:rounded-t-[16px] [&>:last-child>.listitem]:rounded-b-[20px]","[&>.listitem]:first:rounded-t-[20px] [&>.listitem]:last:rounded-b-[20px]","touch:[&>.listitem]:first:rounded-t-[20px] touch:[&>.listitem]:last:rounded-b-[20px]","touch:[&>.listitem]:first:rounded-t-[20px] touch:[&>.listitem]:last:rounded-b-[20px]","touch:[&>:first-child>.listitem]:rounded-t-[20px] touch:[&>:last-child>.listitem]:rounded-b-[20px]","[&>.listitem:last-child>.listitem-content]:border-b-0 [&>:last-child>.listitem>.listitem-content]:border-b-0",r()]))),ku(t,n)}var wp=bu('<label><p class="select-none group-has-[input:disabled]/input:opacity-40 group-has-[input:disabled]/input:text-slate-500 z-10 relative"> </p> <input/></label>');function yp(t,e){Za(e,!0);let r=zd(e,"class",3,""),n=zd(e,"value",15),o=Ed(e,["$$slots","$$events","$$legacy","name","label","class","value"]);var i=wp(),s=Ul(i),a=Ul(s),l=Xl(s,2);id(l,()=>({id:`fubi-input-${e.name}`,name:e.name,class:"flex-1 focus:ring-none focus-visible:outline-hidden text-right text-white/50 peer disabled:opacity-30 disabled:pointer-events-none",...o}),void 0,void 0,0,!0),ac(()=>{od(i,"for",`fubi-input-${e.name}`),Xu(i,1,Bu(["superellipse border-b-[0.5px] border-white/5 last:border-b-0 min-h-52 first:rounded-t-[20px] last:rounded-b-[20px] bg-slate-500/10 mouse:min-h-46 flex px-16 group/input text-white items-center focus-within has-disabled:cursor-not-allowed text-base/none font-medium",r()])),Su(a,e.label)}),md(l,n),ku(t,i),Ba()}const xp=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var kp=wu('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"></svg>');function Cp(t,e){let r;Za(e,!0);let n=Pl(void 0),o=Pl(void 0);const i=Cl(()=>({size:e.size??24,strokeWidth:e.strokeWidth,absoluteStrokeWidth:e.absoluteStrokeWidth??!1,color:e.color??"currentColor",altIcon:e.altIcon,showAlt:e.showAlt??!1,class:e.className??""}));Nd(()=>{if(r)return zl(n,function(t,e){const r=(t,r)=>{const{color:n="currentColor",size:o=24,strokeWidth:i,absoluteStrokeWidth:s=!1,class:a="",altIcon:l,showAlt:c=!1,...u}=r,d={xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",color:n,class:a,...u},h=c&&l?l:e,p=void 0!==i?s?i*(24/Number(o)):i:void 0;Object.entries(d).forEach(([e,r])=>{t.setAttribute(xp(e),String(r))}),t.innerHTML="",h.forEach(([e,r])=>{const n=document.createElementNS("http://www.w3.org/2000/svg",e),o={...r};void 0!==p&&(o["stroke-width"]=p,o.stroke="currentColor"),Object.entries(o).forEach(([t,e])=>{n.setAttribute(xp(t),String(e))}),t.appendChild(n)})};return{render:(t,e)=>(r(t,e),{update(e){r(t,e)},destroy(){t.innerHTML=""}})}}(0,e.icon),!0),zl(o,Xc(n).render(r,Xc(i)),!0),()=>{var t;null==(t=Xc(o))||t.destroy()}}),rc(()=>{Xc(n)&&r&&Xc(o)&&Xc(o).update(Xc(i))});var s=kp();Ad(s,t=>r=t,()=>r),ac(()=>{od(s,"width",e.size??24),od(s,"height",e.size??24),Xu(s,0,Bu(e.className))}),ku(t,s),Ba()}const Mp=t=>t;function Sp(t){const e=t-1;return e*e*e+1}function Ap(t){const e="string"==typeof t&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[t,"px"]}function Wp(t,{delay:e=0,duration:r=400,easing:n=Mp}={}){const o=+getComputedStyle(t).opacity;return{delay:e,duration:r,easing:n,css:t=>"opacity: "+t*o}}function Op(t,{delay:e=0,duration:r=400,easing:n=Sp,x:o=0,y:i=0,opacity:s=0}={}){const a=getComputedStyle(t),l=+a.opacity,c="none"===a.transform?"":a.transform,u=l*(1-s),[d,h]=Ap(o),[p,f]=Ap(i);return{delay:e,duration:r,easing:n,css:(t,e)=>`\n\t\t\ttransform: ${c} translate(${(1-t)*d}${h}, ${(1-t)*p}${f});\n\t\t\topacity: ${l-u*e}`}}function Ep(t,{delay:e=0,duration:r=400,easing:n=Sp,axis:o="y"}={}){const i=getComputedStyle(t),s=+i.opacity,a="y"===o?"height":"width",l=parseFloat(i[a]),c="y"===o?["top","bottom"]:["left","right"],u=c.map(t=>`${t[0].toUpperCase()}${t.slice(1)}`),d=parseFloat(i[`padding${u[0]}`]),h=parseFloat(i[`padding${u[1]}`]),p=parseFloat(i[`margin${u[0]}`]),f=parseFloat(i[`margin${u[1]}`]),g=parseFloat(i[`border${u[0]}Width`]),v=parseFloat(i[`border${u[1]}Width`]);return{delay:e,duration:r,easing:n,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*s};${a}: ${t*l}px;padding-${c[0]}: ${t*d}px;padding-${c[1]}: ${t*h}px;margin-${c[0]}: ${t*p}px;margin-${c[1]}: ${t*f}px;border-${c[0]}-width: ${t*g}px;border-${c[1]}-width: ${t*v}px;min-${a}: 0`}}function Pp(t,{delay:e=0,duration:r=400,easing:n=Sp,start:o=0,opacity:i=0}={}){const s=getComputedStyle(t),a=+s.opacity,l="none"===s.transform?"":s.transform,c=1-o,u=a*(1-i);return{delay:e,duration:r,easing:n,css:(t,e)=>`\n\t\t\ttransform: ${l} scale(${1-c*e});\n\t\t\topacity: ${a-u*e}\n\t\t`}}function Tp(t,e){for(const r in e)t[r]=e[r];return t}const zp=[["path",{d:"M13.7656 1.75396C14.7522 1.76779 15.4824 1.83025 16.1611 2.11139C17.0659 2.4862 17.7605 3.2 18.873 4.31256L19.6875 5.12701L20.4482 5.89264C21.1358 6.5998 21.6075 7.16034 21.8887 7.83892L21.9541 8.00982C22.2616 8.87066 22.25 9.83812 22.25 11.3135V12.6866C22.25 14.162 22.2616 15.1295 21.9541 15.9903L21.8887 16.1612C21.6076 16.8398 21.1359 17.4003 20.4482 18.1075L19.6875 18.8731L18.873 19.6876C17.7605 20.8001 17.0659 21.5139 16.1611 21.8887C15.2562 22.2635 14.2602 22.2501 12.6865 22.2501H11.3135C9.83806 22.2501 8.8706 22.2616 8.00977 21.9542L7.83887 21.8887C7.16029 21.6076 6.59974 21.1359 5.89258 20.4483L5.12695 19.6876L4.3125 18.8731C3.19995 17.7606 2.48614 17.066 2.11133 16.1612C1.83019 15.4824 1.76774 14.7522 1.75391 13.7657L1.75 12.6866V11.3135C1.75 9.73989 1.7365 8.74383 2.11133 7.83892L2.18555 7.67193C2.57682 6.84587 3.26933 6.17018 4.3125 5.12701L5.12695 4.31256L5.89258 3.55181C6.59976 2.86421 7.16027 2.39251 7.83887 2.11139L8.00977 2.04596C8.8706 1.73848 9.83806 1.75006 11.3135 1.75006H12.6865L13.7656 1.75396ZM12 14.9883C11.4477 14.9884 11 15.4361 11 15.9883V15.9981C11 16.5504 11.4477 16.9981 12 16.9981C12.5523 16.9981 13 16.5504 13 15.9981V15.9883C13 15.4361 12.5523 14.9883 12 14.9883ZM12 7.00006C11.4477 7.00009 11 7.44779 11 8.00006V12.5001C11 13.0523 11.4477 13.5 12 13.5001C12.5523 13.5001 13 13.0523 13 12.5001V8.00006C13 7.44777 12.5523 7.00006 12 7.00006Z",fill:"currentColor",key:"0"}]],Np=[["path",{d:"M12 4.2C7.69218 4.2 4.2 7.69218 4.2 12C4.2 16.3078 7.69218 19.8 12 19.8C13.7574 19.8 15.3765 19.22 16.6802 18.2405C17.1107 17.917 17.7219 18.0038 18.0454 18.4343C18.3688 18.8649 18.282 19.4761 17.8515 19.7995C16.2217 21.024 14.1942 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12V12.8778C21.75 14.8702 20.1349 16.4853 18.1425 16.4853C16.9728 16.4853 15.9331 15.9286 15.274 15.0657C14.4556 15.9394 13.2916 16.4853 12 16.4853C9.523 16.4853 7.515 14.4773 7.515 12.0003C7.515 9.52332 9.523 7.51532 12 7.51532C12.9479 7.51532 13.8271 7.80938 14.5514 8.31126C14.6355 7.8583 15.0327 7.51532 15.51 7.51532C16.0485 7.51532 16.485 7.95184 16.485 8.49032V12.8778C16.485 13.7932 17.2271 14.5353 18.1425 14.5353C19.0579 14.5353 19.8 13.7932 19.8 12.8778V12C19.8 7.69218 16.3078 4.2 12 4.2ZM14.535 12.0003C14.535 10.6003 13.4 9.46532 12 9.46532C10.6 9.46532 9.465 10.6003 9.465 12.0003C9.465 13.4004 10.6 14.5353 12 14.5353C13.4 14.5353 14.535 13.4004 14.535 12.0003Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],Lp=[["path",{d:"M9.57353 4.19999C7.42937 4.19999 5.69118 5.94608 5.69118 8.09998V13.4625C5.69118 16.9626 8.51573 19.8 12 19.8C15.4843 19.8 18.3088 16.9626 18.3088 13.4625V12C18.3088 11.4616 18.7434 11.025 19.2794 11.025C19.8155 11.025 20.25 11.4616 20.25 12V13.4625C20.25 18.0396 16.5563 21.75 12 21.75C7.44365 21.75 3.75 18.0396 3.75 13.4625V8.09998C3.75 4.86913 6.35728 2.25 9.57353 2.25C12.7898 2.25 15.3971 4.86913 15.3971 8.09998V13.4625C15.3971 15.3471 13.8761 16.875 12 16.875C10.1239 16.875 8.60294 15.3471 8.60294 13.4625V9.56248C8.60294 9.024 9.03749 8.58748 9.57353 8.58748C10.1096 8.58748 10.5441 9.024 10.5441 9.56248V13.4625C10.5441 14.2702 11.1959 14.925 12 14.925C12.8041 14.925 13.4559 14.2702 13.4559 13.4625V8.09998C13.4559 5.94608 11.7177 4.19999 9.57353 4.19999Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],Ip=[["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"}]],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"}]],Fp=[["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"}]],jp=[["path",{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.6564ZM9.5 17.9609C9.08579 17.9609 8.75 17.6252 8.75 17.2109L8.75 11.2109C8.75 10.7967 9.08579 10.4609 9.5 10.4609C9.91421 10.4609 10.25 10.7967 10.25 11.2109L10.25 17.2109C10.25 17.6252 9.91421 17.9609 9.5 17.9609ZM15.25 11.2109C15.25 10.7967 14.9142 10.4609 14.5 10.4609C14.0858 10.4609 13.75 10.7967 13.75 11.2109V17.2109C13.75 17.6252 14.0858 17.9609 14.5 17.9609C14.9142 17.9609 15.25 17.6252 15.25 17.2109V11.2109Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["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:"1"}]],Dp=[["path",{d:"M12.7461 21.75C12.7461 21.1977 13.1938 20.75 13.7461 20.75L21.7461 20.75C22.2984 20.75 22.7461 21.1977 22.7461 21.75C22.7461 22.3023 22.2984 22.75 21.7461 22.75L13.7461 22.75C13.1938 22.75 12.7461 22.3023 12.7461 21.75Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M19.0517 1.7366C17.8469 1.06772 16.3859 1.0898 15.2014 1.79431C14.8253 2.01799 14.478 2.35124 14.0409 2.81506C13.855 3.01232 13.762 3.11094 13.7638 3.2326C13.7656 3.35426 13.8624 3.45109 14.0561 3.64476L20.4474 10.036C20.6451 10.2338 20.744 10.3327 20.8679 10.3329C20.9918 10.3332 21.0898 10.236 21.2859 10.0416C21.7067 9.62443 22.0117 9.28622 22.2192 8.92206C22.9029 7.72256 22.924 6.24777 22.2754 5.02866C22.005 4.52051 21.5497 4.05569 20.8694 3.36116L20.6853 3.17307C20.0073 2.48005 19.5515 2.01406 19.0517 1.7366Z",fill:"currentColor",key:"1"}],["path",{d:"M18.9827 12.2642C19.1899 12.0646 19.2935 11.9648 19.2947 11.8389C19.2959 11.713 19.1942 11.6113 18.9907 11.4078L12.7326 5.14972C12.5252 4.94228 12.4215 4.83856 12.2937 4.84112C12.1659 4.84367 12.0664 4.95146 11.8675 5.16704L4.14154 13.5377C3.02147 14.7509 2.33498 15.4944 1.93314 16.4194C1.53206 17.3425 1.45308 18.3582 1.32393 20.019L1.32371 20.0219C1.32348 20.0248 1.23822 21.1155 1.25138 21.3517C1.26628 21.6191 1.32998 21.9442 1.57819 22.2259C1.82863 22.5101 2.1452 22.6123 2.41173 22.6568C2.64357 22.6955 3.68775 22.7227 3.68986 22.7227C5.587 22.7727 6.75977 22.8036 7.83824 22.3823C8.91518 21.9617 9.76624 21.1417 11.1471 19.8112L18.9827 12.2642Z",fill:"currentColor",key:"2"}]],Hp=[["path",{d:"M19.6394 4.92727C17.7538 3.62477 15.0524 2.25006 12 2.25006C8.94754 2.25006 6.24623 3.62477 4.36059 4.92727C3.40824 5.58509 2.63885 6.24185 2.10627 6.7352C1.84641 6.97592 1.42162 7.41195 1.26679 7.57089L1.25501 7.58298C0.886591 7.99442 0.921469 8.62663 1.33291 8.99505C1.74408 9.36321 2.3757 9.32863 2.74422 8.91798L2.745 8.91712C2.86754 8.79136 3.22617 8.42405 3.46541 8.20242C3.94489 7.75827 4.63997 7.16503 5.49727 6.57285C7.23091 5.37535 9.5296 4.25006 12 4.25006C14.4704 4.25006 16.7691 5.37535 18.5027 6.57285C19.36 7.16503 20.0551 7.75827 20.5346 8.20242C20.7738 8.42405 21.1332 8.79222 21.2558 8.91798C21.6243 9.32863 22.2559 9.36321 22.6671 8.99505C23.0785 8.62663 23.1134 7.99442 22.745 7.58298L22.7331 7.57077C22.5781 7.41174 22.1535 6.97586 21.8937 6.7352C21.3611 6.24185 20.5917 5.58509 19.6394 4.92727Z",fill:"currentColor",key:"0"}],["path",{d:"M12 6.25C9.42942 6.25 7.22594 7.38141 5.52029 8.71298C3.81311 10.0458 2.49803 11.694 1.79218 12.6837C1.53902 13.0358 1.24998 13.4378 1.24998 14C1.24998 14.5622 1.53902 14.9642 1.79218 15.3163C2.49803 16.306 3.81312 17.9542 5.52029 19.287C7.22594 20.6186 9.42942 21.75 12 21.75C14.5705 21.75 16.774 20.6186 18.4797 19.287C20.1869 17.9542 21.5019 16.306 22.2078 15.3163C22.461 14.9642 22.75 14.5622 22.75 14C22.75 13.4378 22.4609 13.0358 22.2078 12.6837C21.5019 11.694 20.1869 10.0458 18.4797 8.71298C16.774 7.38141 14.5705 6.25 12 6.25ZM9.99998 14C9.99998 15.1046 10.8954 16 12 16C13.1046 16 14 15.1046 14 14C14 12.8954 13.1046 12 12 12C10.8954 12 9.99998 12.8954 9.99998 14ZM12 18C9.79085 18 7.99998 16.2091 7.99998 14C7.99998 11.7909 9.79085 10 12 10C14.2091 10 16 11.7909 16 14C16 16.2091 14.2091 18 12 18Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],qp=[["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"}]],Vp=[["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"}]],Zp=[["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"}]],Bp=[["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 10.5C11.4477 10.5 11 10.9477 11 11.5V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V11.5C13 10.9477 12.5523 10.5 12 10.5ZM12 6.99805C11.4477 6.99805 11 7.44576 11 7.99805V8.00781C11 8.5601 11.4477 9.00781 12 9.00781C12.5523 9.00781 13 8.5601 13 8.00781V7.99805C13 7.44576 12.5523 6.99805 12 6.99805Z",fill:"currentColor",key:"0"}]],Kp=[["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"}]],Up=[["path",{d:"M12.5312 1.75C14.1419 1.75 15.4169 1.75 16.4248 1.86914C17.4557 1.99101 18.3047 2.24633 19.0137 2.82812C19.2541 3.02544 19.4746 3.24592 19.6719 3.48633C20.2537 4.19525 20.509 5.04427 20.6309 6.0752C20.75 7.0831 20.75 8.35815 20.75 9.96875V14.0312C20.75 15.6419 20.75 16.9169 20.6309 17.9248C20.509 18.9557 20.2537 19.8048 19.6719 20.5137C19.4746 20.7541 19.2541 20.9746 19.0137 21.1719C18.3047 21.7537 17.4557 22.009 16.4248 22.1309C15.4169 22.25 14.1419 22.25 12.5312 22.25H11.9502C10.1094 22.25 8.65129 22.25 7.51074 22.0967C6.33844 21.939 5.38991 21.6067 4.6416 20.8584C3.89329 20.1101 3.56096 19.1616 3.40332 17.9893C3.24998 16.8487 3.24999 15.3906 3.25 13.5498V10.4502C3.24999 8.60937 3.24998 7.15129 3.40332 6.01074C3.56096 4.83844 3.89329 3.88991 4.6416 3.1416C5.38991 2.39329 6.33844 2.06096 7.51074 1.90332C8.65129 1.74998 10.1094 1.74999 11.9502 1.75H12.5312ZM16.3428 7.19434C15.8981 6.86721 15.2718 6.96273 14.9443 7.40723C14.6172 7.85188 14.7127 8.47823 15.1572 8.80566L15.1592 8.80664C15.1607 8.80779 15.1629 8.81016 15.166 8.8125C15.1728 8.81752 15.1836 8.82476 15.1973 8.83496C15.2249 8.85559 15.2665 8.88684 15.3193 8.92676C15.4251 9.00662 15.5772 9.12219 15.7598 9.26465C16.1264 9.55075 16.6122 9.94045 17.0947 10.3594C17.3407 10.5729 17.5794 10.79 17.7988 11H9.25C8.69775 11 8.25006 11.4478 8.25 12C8.25 12.5523 8.69772 13 9.25 13H17.7988C17.5794 13.21 17.3407 13.4271 17.0947 13.6406C16.6122 14.0596 16.1264 14.4492 15.7598 14.7354C15.5772 14.8778 15.4251 14.9934 15.3193 15.0732C15.2665 15.1131 15.225 15.1444 15.1973 15.165C15.1836 15.1752 15.1728 15.1825 15.166 15.1875C15.1629 15.1898 15.1607 15.1922 15.1592 15.1934L15.1572 15.1943C14.7127 15.5217 14.6172 16.1481 14.9443 16.5928C15.2718 17.0373 15.8981 17.1328 16.3428 16.8057V16.8047H16.3447C16.3453 16.8041 16.3456 16.8025 16.3467 16.8018C16.349 16.8001 16.3524 16.7979 16.3564 16.7949C16.3648 16.7888 16.3772 16.78 16.3926 16.7686C16.4235 16.7455 16.468 16.7116 16.5244 16.6689C16.6374 16.5836 16.7981 16.4615 16.9902 16.3115C17.3735 16.0124 17.8879 15.5996 18.4053 15.1504C18.9178 14.7054 19.456 14.2045 19.874 13.7314C20.0819 13.4962 20.2818 13.2445 20.4346 12.9912C20.5708 12.7652 20.75 12.4102 20.75 12C20.75 11.5898 20.5708 11.2348 20.4346 11.0088C20.2818 10.7555 20.0819 10.5038 19.874 10.2686C19.456 9.7955 18.9178 9.29456 18.4053 8.84961C17.8879 8.40043 17.3735 7.98761 16.9902 7.68848C16.7981 7.53854 16.6374 7.41636 16.5244 7.33105C16.468 7.28842 16.4235 7.25447 16.3926 7.23145C16.3772 7.21995 16.3648 7.21124 16.3564 7.20508C16.3523 7.20203 16.3489 7.19894 16.3467 7.19727C16.3458 7.19661 16.3453 7.19572 16.3447 7.19531H16.3428V7.19434Z",fill:"currentColor",key:"0"}]],Yp=[["path",{d:"M2 19.5C2 20.8807 3.11929 22 4.5 22C5.88071 22 7 20.8807 7 19.5C7 18.1193 5.88071 17 4.5 17C3.11929 17 2 18.1193 2 19.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M9.5 19.5C9.5 20.8807 10.6193 22 12 22C13.3807 22 14.5 20.8807 14.5 19.5C14.5 18.1193 13.3807 17 12 17C10.6193 17 9.5 18.1193 9.5 19.5Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M17 19.5C17 20.8807 18.1193 22 19.5 22C20.8807 22 22 20.8807 22 19.5C22 18.1193 20.8807 17 19.5 17C18.1193 17 17 18.1193 17 19.5Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M2 4.5C2 5.88071 3.11929 7 4.5 7C5.88071 7 7 5.88071 7 4.5C7 3.11929 5.88071 2 4.5 2C3.11929 2 2 3.11929 2 4.5Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M9.5 4.5C9.5 5.88071 10.6193 7 12 7C13.3807 7 14.5 5.88071 14.5 4.5C14.5 3.11929 13.3807 2 12 2C10.6193 2 9.5 3.11929 9.5 4.5Z",fill:"currentColor",fillRule:"evenodd",key:"4"}],["path",{d:"M17 4.5C17 5.88071 18.1193 7 19.5 7C20.8807 7 22 5.88071 22 4.5C22 3.11929 20.8807 2 19.5 2C18.1193 2 17 3.11929 17 4.5Z",fill:"currentColor",fillRule:"evenodd",key:"5"}],["path",{d:"M2 12C2 13.3807 3.11929 14.5 4.5 14.5C5.88071 14.5 7 13.3807 7 12C7 10.6193 5.88071 9.5 4.5 9.5C3.11929 9.5 2 10.6193 2 12Z",fill:"currentColor",fillRule:"evenodd",key:"6"}],["path",{d:"M9.5 12C9.5 13.3807 10.6193 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12Z",fill:"currentColor",fillRule:"evenodd",key:"7"}],["path",{d:"M17 12C17 13.3807 18.1193 14.5 19.5 14.5C20.8807 14.5 22 13.3807 22 12C22 10.6193 20.8807 9.5 19.5 9.5C18.1193 9.5 17 10.6193 17 12Z",fill:"currentColor",fillRule:"evenodd",key:"8"}]],Xp=[["path",{d:"M10.2459 12C10.2459 11.0335 11.0294 10.25 11.9959 10.25H12.0049C12.9714 10.25 13.7549 11.0335 13.7549 12C13.7549 12.9665 12.9714 13.75 12.0049 13.75H11.9959C11.0294 13.75 10.2459 12.9665 10.2459 12Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M16.2498 12C16.2498 11.0335 17.0333 10.25 17.9998 10.25H18.0088C18.9753 10.25 19.7588 11.0335 19.7588 12C19.7588 12.9665 18.9753 13.75 18.0088 13.75H17.9998C17.0333 13.75 16.2498 12.9665 16.2498 12Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M4.2498 12C4.2498 11.0335 5.0333 10.25 5.9998 10.25H6.00878C6.97528 10.25 7.75878 11.0335 7.75878 12C7.75878 12.9665 6.97528 13.75 6.00878 13.75H5.9998C5.0333 13.75 4.2498 12.9665 4.2498 12Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],Qp=[["path",{d:"M17.7305 1.34792C17.1076 1.26325 16.3464 1.25158 15.4548 1.25H11.5452C10.6536 1.25158 9.89241 1.26325 9.26945 1.34792C8.50416 1.45194 7.8044 1.68195 7.24095 2.25159C6.67749 2.82122 6.44998 3.52866 6.34709 4.30234C6.28004 4.80654 6.25927 5.4003 6.25285 6.07956C6.24781 6.61344 6.68279 7.0463 7.21669 7.0463C7.75057 7.0463 8.18136 6.61351 8.18653 6.07965C8.19269 5.44277 8.2107 4.95643 8.2632 4.56168C8.33727 4.00473 8.46367 3.77851 8.60804 3.63256C8.7524 3.4866 8.97617 3.35882 9.52707 3.28394C9.90559 3.23249 10.3692 3.2138 10.9711 3.20703L11.1854 3.64025C11.3491 3.97134 11.6839 4.18047 12.05 4.18047H14.95C15.3162 4.18047 15.6509 3.97134 15.8146 3.64025L16.0289 3.20703C16.6308 3.2138 17.0944 3.23249 17.4729 3.28394C18.0238 3.35882 18.2476 3.4866 18.392 3.63256C18.5363 3.77851 18.6627 4.00473 18.7368 4.56168C18.8146 5.14673 18.8167 5.93294 18.8167 7.11229V16.885C18.8167 17.4596 18.8162 18.5899 18.8067 19H8.19332C8.18825 18.7808 8.18575 18.3558 8.18452 17.9198C8.18301 17.386 7.75057 16.9532 7.21669 16.9532C6.68279 16.9532 6.24781 17.386 6.25285 17.9199C6.25927 18.5992 6.28004 19.193 6.34709 19.6972C6.44998 20.4709 6.67749 21.1783 7.24095 21.7479C7.8044 22.3176 8.50416 22.5476 9.26945 22.6516C9.99219 22.7498 10.901 22.7498 11.9836 22.7498H15.0163C16.0989 22.7498 17.0078 22.7498 17.7305 22.6516C18.4958 22.5476 19.1956 22.3176 19.759 21.7479C20.3225 21.1783 20.55 20.4709 20.6529 19.6972C20.7501 18.9665 20.75 18.0477 20.75 16.9532V7.04634C20.75 5.95182 20.7501 5.03304 20.6529 4.30234C20.55 3.52866 20.3225 2.82123 19.759 2.25159C19.1956 1.68195 18.4958 1.45194 17.7305 1.34792Z",fill:"currentColor",key:"0"}],["path",{d:"M10.25 11.4142V14C10.25 14.5523 10.6977 15 11.25 15C11.8023 15 12.25 14.5523 12.25 14V11.1429C12.25 11.1243 12.25 11.1057 12.25 11.0871C12.2501 10.6304 12.2502 10.1933 12.2019 9.83397C12.1477 9.43132 12.017 8.9804 11.6433 8.60672C11.2696 8.23304 10.8187 8.10229 10.416 8.04816C10.0567 7.99985 9.61958 7.99993 9.16287 8.00001C9.14433 8.00001 9.12575 8.00001 9.10714 8.00001H6.25C5.69772 8.00001 5.25 8.44773 5.25 9.00001C5.25 9.5523 5.69772 10 6.25 10H8.83579L3.54289 15.2929C3.15237 15.6834 3.15237 16.3166 3.54289 16.7071C3.93342 17.0976 4.56658 17.0976 4.95711 16.7071L10.25 11.4142Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],Jp=[["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"}]],Gp=[["path",{d:"M18.6513 1.97412C19.5959 1.68561 20.5255 1.60021 21.3073 2.18138C22.0929 2.76539 22.2693 3.67973 22.2506 4.6611C22.2323 5.62891 22.0169 6.90595 21.7492 8.49314L21.7492 8.49323L20.7736 14.2781L20.7736 14.2781C20.6005 15.3044 20.4572 16.1544 20.25 16.8017C20.0322 17.482 19.705 18.0694 19.0776 18.4363C18.4521 18.8023 17.7779 18.8029 17.0737 18.6651C16.4096 18.5352 15.5997 18.2562 14.621 17.9177L14.6142 17.9276L13.7783 19.1316C13.7724 19.14 13.7664 19.1484 13.7601 19.1566L13.7241 19.2043C13.0068 20.1514 12.4223 20.9232 11.9252 21.4281C11.46 21.9007 10.8131 22.4143 10.0152 22.2016C9.16852 21.976 8.93534 21.1589 8.84458 20.528C8.74809 19.8574 8.74812 18.924 8.74816 17.7932L8.74816 15.8863L16.9982 7L6.49817 15.1034C5.34792 14.6948 4.4007 14.3314 3.68248 13.9646C2.67188 13.4484 1.81226 12.7763 1.75138 11.6779C1.69047 10.5787 2.47159 9.81703 3.41938 9.19469C4.38413 8.56121 5.81675 7.88411 7.62528 7.02934L15.0661 3.51245C16.5365 2.81746 17.7171 2.25942 18.6513 1.97412Z",fill:"currentColor",key:"0"}]],$p=[["path",{d:"M12.5 3.25C10.1528 3.25 8.25 5.15279 8.25 7.5C8.25 9.84721 10.1528 11.75 12.5 11.75C14.8472 11.75 16.75 9.84721 16.75 7.5C16.75 5.15279 14.8472 3.25 12.5 3.25ZM12.5 13.25C10.6214 13.25 8.86094 13.6364 7.37859 14.3122C5.90039 14.986 5.25 16.5343 5.25 17.9704C5.24995 18.4032 5.2499 18.8744 5.2933 19.1972C5.3411 19.5527 5.45354 19.9284 5.76257 20.2374C6.07159 20.5465 6.44732 20.6589 6.8028 20.7067C7.12559 20.7501 7.52239 20.7501 7.95519 20.75H7.95526H17.0448H17.0448C17.4776 20.7501 17.8744 20.7501 18.1972 20.7067C18.5527 20.6589 18.9284 20.5465 19.2374 20.2374C19.5465 19.9284 19.6589 19.5527 19.7067 19.1972C19.7501 18.8744 19.7501 18.4032 19.75 17.9704C19.75 16.5343 19.0996 14.986 17.6214 14.3122C16.1391 13.6364 14.3786 13.25 12.5 13.25Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]];var _p=bu('<div class="absolute"><!></div>'),tf=bu("<span><!></span>"),ef=bu("<button><!></button>");function rf(t,e){const r={default:"bg-linear-to-b from-sky-500 text-shadow to-sky-700",secondary:"bg-slate-500/10 text-white hover:bg-slate-500/20 active:bg-slate-500/30",destructive:"bg-rose-700 text-white text-shadow hover:bg-rose-800 active:bg-rose-900"},n=zd(e,"loading",3,!1),o=zd(e,"type",3,"default"),i=zd(e,"class",3,""),s=zd(e,"onclick",3,()=>{}),a=Ed(e,["$$slots","$$events","$$legacy","loading","type","class","children","onclick"]);var l=ef();id(l,()=>({class:["min-h-46 superellipse glass rounded-[16px] mouse:min-h-40 w-full select-none px-24 group/button font-semibold flex-center","disabled:pointer-events-none disabled:bg-slate-500/5 disabled:text-white/20","focus-visible","transition-[background-color,color] ease-out-cubic duration-200",r[o()],i()],onclick:s(),...a,"data-loading":n()}));var c=Ul(l),u=t=>{var e=_p();Cp(Ul(e),{get icon(){return Kp},className:"size-24 text-white/50 animate-spin"}),vd(1,e,()=>Wp,()=>({duration:200})),vd(2,e,()=>Wp,()=>({duration:200})),ku(t,e)},d=t=>{var r=tf();Du(Ul(r),()=>e.children),vd(1,r,()=>Wp,()=>({duration:200})),vd(2,r,()=>Wp,()=>({duration:200})),ku(t,r)};Pu(c,t=>{n()?t(u):t(d,!1)}),ku(t,l)}var nf=bu("<div><p> </p></div>"),of=wu('<svg><path d="M16 0H6C3.17157 0 1.75736 0 0.87868 0.87868C0 1.75736 0 3.17157 0 6V13C0 14.6569 1.34315 16 3 16C3.55228 16 4 15.5523 4 15V8H10.5C10.9659 8 11.1989 8 11.3827 7.92388C11.6277 7.82239 11.8224 7.62771 11.9239 7.38268C12 7.19891 12 6.96594 12 6.5C12 6.03406 12 5.80109 11.9239 5.61732C11.8224 5.37229 11.6277 5.17761 11.3827 5.07612C11.1989 5 10.9659 5 10.5 5H4C4 4.05719 4 3.58579 4.29289 3.29289C4.58579 3 5.05719 3 6 3H17C17.5523 3 18 2.55228 18 2C18 0.895431 17.1046 0 16 0Z" fill="currentColor"></path><path d="M14 7.73784V6.83333C14 6.05147 14 5.66055 14.2066 5.39124C14.2598 5.32191 14.3219 5.25985 14.3912 5.20665C14.6605 5 15.0515 5 15.8333 5H16C16.9428 5 17.4142 5 17.7071 5.29289C18 5.58579 18 6.05719 18 7V8C18 9.88562 18 10.8284 18.5858 11.4142C19.1716 12 20.1144 12 22 12H23C24.8856 12 25.8284 12 26.4142 11.4142C27 10.8284 27 9.88562 27 8V7C27 6.05719 27 5.58579 27.2929 5.29289C27.5858 5 28.0572 5 29 5C29.9428 5 30.4142 5 30.7071 5.29289C31 5.58579 31 6.05719 31 7V14C31 14.9428 31 15.4142 30.7071 15.7071C30.4142 16 29.9428 16 29 16C28.0572 16 27.5858 16 27.2929 15.7071C27 15.4142 27 14.9428 27 14L26.9359 14.0641C26.1835 14.8165 25.8072 15.1928 25.3625 15.4529C25.0478 15.6369 24.7094 15.7771 24.3568 15.8694C23.8584 16 23.3263 16 22.2622 16C19.2142 16 17.6902 16 16.5486 15.3578C15.7505 14.9089 15.0911 14.2495 14.6422 13.4514C14 12.3098 14 10.7858 14 7.73784Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M35 0C35.9428 0 36.4141 7.55489e-05 36.707 0.292969C36.9999 0.585862 37 1.05719 37 2V6C37.5266 5.47345 37.7901 5.2104 38.0781 4.99512C38.7467 4.49551 39.5295 4.17121 40.3555 4.05176C40.7113 4.0003 41.0837 4 41.8281 4H44C44.929 4 45.3936 3.99997 45.7822 4.06152C47.9217 4.4004 49.5996 6.07835 49.9385 8.21777C50 8.60644 50 9.07099 50 10C50 10.929 50 11.3936 49.9385 11.7822C49.5996 13.9217 47.9217 15.5996 45.7822 15.9385C45.3936 16 44.929 16 44 16H41.8281C41.0837 16 40.7113 15.9997 40.3555 15.9482C39.5295 15.8288 38.7467 15.5045 38.0781 15.0049C37.7901 14.7896 37.5265 14.5265 37 14C37 14.9428 36.9999 15.4141 36.707 15.707C36.4141 15.9999 35.9428 16 35 16C34.0572 16 33.5859 15.9999 33.293 15.707C33.0001 15.4141 33 14.9428 33 14V2C33 1.05719 33.0001 0.585862 33.293 0.292969C33.5859 7.55191e-05 34.0572 0 35 0ZM40 8C38.8954 8 38 8.89543 38 10C38 11.1046 38.8954 12 40 12H44C45.1046 12 46 11.1046 46 10C46 8.89543 45.1046 8 44 8H40Z" fill="currentColor"></path><path d="M52 7C52 6.05719 52 5.58579 52.2929 5.29289C52.5858 5 53.0572 5 54 5V5C54.9428 5 55.4142 5 55.7071 5.29289C56 5.58579 56 6.05719 56 7V14C56 14.9428 56 15.4142 55.7071 15.7071C55.4142 16 54.9428 16 54 16V16C53.0572 16 52.5858 16 52.2929 15.7071C52 15.4142 52 14.9428 52 14V7Z" fill="currentColor"></path><path d="M52 1.5C52 1.03406 52 0.801088 52.0761 0.617317C52.1776 0.372288 52.3723 0.177614 52.6173 0.0761205C52.8011 0 53.0341 0 53.5 0H54.5C54.9659 0 55.1989 0 55.3827 0.0761205C55.6277 0.177614 55.8224 0.372288 55.9239 0.617317C56 0.801088 56 1.03406 56 1.5V1.5C56 1.96594 56 2.19891 55.9239 2.38268C55.8224 2.62771 55.6277 2.82239 55.3827 2.92388C55.1989 3 54.9659 3 54.5 3H53.5C53.0341 3 52.8011 3 52.6173 2.92388C52.3723 2.82239 52.1776 2.62771 52.0761 2.38268C52 2.19891 52 1.96594 52 1.5V1.5Z" fill="currentColor"></path></svg>'),sf=wu('<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 af(t,e){const r=Ed(e,["$$slots","$$events","$$legacy"]);var n=sf();id(n,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),ku(t,n)}var lf=wu('<svg><path d="M19 10L12.5412 6.30928C12.2059 6.11764 11.7941 6.11764 11.4588 6.30928L5 10" stroke="currentColor" stroke-width="2.5" 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-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function cf(t,e){const r=Ed(e,["$$slots","$$events","$$legacy"]);var n=lf();id(n,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),ku(t,n)}var uf=wu('<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-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function df(t,e){const r=Ed(e,["$$slots","$$events","$$legacy"]);var n=uf();id(n,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),ku(t,n)}function hf(t,e){const r={invisible:af,"chevrons-up":cf,check:df};let n=zd(e,"name",3,"invisible"),o=zd(e,"class",3,"");const i=Cl(()=>r[n()]);var s=xu();Hu(Yl(s),()=>Xc(i),(t,e)=>{e(t,{get class(){return o()}})}),ku(t,s)}var pf=bu('<p class=" text-slate-500 text-balance"> </p>'),ff=bu('<div><div class="flex-center text-center flex-col"><!> <p class="font-medium touch:text-xl/none text-xl/none mt-8 mb-4 touch:mt-8 touch:mb-4"> </p> <!></div></div>');function gf(t,e){const r=zd(e,"icon",3,"feather"),n=zd(e,"title",3,"Title"),o=zd(e,"subtitle",3,"Subtitle");var i=ff(),s=Ul(i),a=Ul(s);hf(a,{get name(){return r()},active:!0,class:"size-48"});var l=Xl(a,2),c=Ul(l),u=Xl(l,2),d=t=>{var e=pf(),r=Ul(e);ac(()=>Su(r,o())),ku(t,e)};Pu(u,t=>{o()&&t(d)}),ac(()=>Su(c,n())),vd(3,s,()=>Pp,()=>({start:.8,duration:500,easing:cp})),vd(3,i,()=>Ep,()=>({duration:200})),ku(t,i)}var vf=bu("<div><!></div>");function bf(t,e){var r=vf();Du(Ul(r),()=>e.children),ac(()=>Xu(r,1,`flex flex-col w-full relief rounded-[20px] superellipse glass-pressed ${e.class}`)),ku(t,r)}var mf=bu('<div tabindex="-1"><!></div>');function wf(t,e){Za(e,!0);const{win:r}=ek();let n=zd(e,"padding",3,"p-8 touch:p-16");var o=mf();Du(Ul(o),()=>e.children),ac(()=>Xu(o,1,Bu(["page-content flex flex-col","focus-visible:outline-none",r.dragging.active&&"pointer-events-none select-none","relative rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse)","transition-[padding-top] duration-300 ease-out will-change-[padding-top]",`${n()}`]))),ku(t,o),Ba()}var yf=bu("<!> <!>",1),xf=bu('<form class="flex-center flex-col gap-8 px-8 w-full h-full py-48 mb-32"><!> <!> <!> <!> <a href="https://fubi.dev/auth" target="_blank" class="hover:underline text-sm">Forgot password</a></form>'),kf=bu("<p> </p>"),Cf=bu('<button><div class=" w-54 mouse:w-44 flex-center shrink-0"><!></div> <div><div class="flex flex-col gap-4 flex-1 items-start text-left pr-16"><p> </p> <!></div> <div class="flex gap-8 items-center pl-16"><!></div></div></button>');function Mf(t,e){Za(e,!0);const{router:r}=ek();let n=zd(e,"start",3,null),o=zd(e,"icon",3,Vp),i=zd(e,"title",3,"Title"),s=zd(e,"subtitle",3,null),a=zd(e,"active",3,null),l=zd(e,"iconSize",3,"size-24 touch:size-30"),c=zd(e,"after",3,null);zd(e,"chevron",3,!0);let u=zd(e,"disabled",3,null),d=zd(e,"onclick",3,null),h=zd(e,"index",3,0),p=zd(e,"class",3,""),f=zd(e,"classIcon",3,"text-slate-500"),g=Ed(e,["$$slots","$$events","$$legacy","start","icon","title","subtitle","active","iconSize","after","chevron","disabled","onclick","index","class","classIcon"]);var v=Cf();id(v,()=>({"data-active":!!a()||null,class:["listitem superellipse group/listitem w-full min-h-52 mouse:min-h-48 flex items-stretch pr-10 touch:pr-16 ","focus-visible","disabled:bg-slate-500/7 disabled:cursor-not-allowed disabled:text-slate-500/50","transition-[scale,background-color,border-radius] duration-150 ease-out","select-none",d()?a()?"cursor-pointer rounded-[8px] bg-sky-950 hover:bg-sky-900 touch:active:bg-slate-500/40 scale-[1.03] lift active:scale-[1.01] active:rounded-[2px]":"cursor-pointer bg-slate-500/10 hover:bg-slate-500/20 active:bg-slate-500/30 touch:active:bg-slate-500/20 hover:text-white text-slate-200":"cursor-default bg-slate-500/10 text-slate-200",p()],disabled:u(),onclick:d(),...g}));var b=Ul(v),m=Ul(b),w=t=>{var e=xu();Du(Yl(e),n),ku(t,e)},y=t=>{{let e=Cl(()=>`${l()} ${f()}`);Cp(t,{get icon(){return o()},get className(){return Xc(e)}})}};Pu(m,t=>{n()?t(w):t(y,!1)});var x=Xl(b,2),k=Ul(x),C=Ul(k);Xu(C,1,Bu(["text-[15px]/none touch:text-[18px]/none font-medium line-clamp-1 "]));var M=Ul(C),S=Xl(C,2),A=t=>{var e=kf(),r=Ul(e);ac(()=>{Xu(e,1,Bu(["text-[13px]/none font-normal mouse:text-xs/none group-disabled/listitem:text-slate-500/50 mb-1 line-clamp-1",a()?"text-sky-500":"text-slate-600"])),Su(r,s())}),ku(t,e)};Pu(S,t=>{s()&&t(A)});var W=Ul(Xl(k,2)),O=t=>{var e=xu();Du(Yl(e),c),ku(t,e)};Pu(W,t=>{c()&&t(O)}),ac(()=>{Xu(x,1,Bu(["listitem-content flex relative items-center flex-1 border-b-[0.5px] pt-2","transition-[border-color] duration-0 ease-out",a()?"border-transparent":"border-slate-500/30"])),Su(M,i())}),vd(1,v,()=>Wp,()=>({duration:600,easing:cp,delay:40*h()})),vd(2,v,()=>Wp,()=>({duration:r.navigating?0:400,easing:lp})),ku(t,v),Ba()}function Sf(t){Cp(t,{get icon(){return Kp},className:"size-20 text-slate-500 animate-spin"})}var Af=bu('<div class="bg-slate-500/10 w-full min-h-52 mouse:min-h-44 first:rounded-t-[18px] last:rounded-b-[18px] animate-list-loading"></div> <div class="bg-slate-500/10 w-full min-h-52 mouse:min-h-44 first:rounded-t-[18px] last:rounded-b-[18px] animate-list-loading flex-center gap-8 text-slate-500 text-sm"><!> <!></div> <div class="bg-slate-500/10 w-full min-h-52 mouse:min-h-44 first:rounded-t-[18px] last:rounded-b-[18px] animate-list-loading"></div>',1),Wf=bu("<div><!> <p><!></p></div>");function Of(t,e){let r=zd(e,"theme",3,"sky"),n=zd(e,"icon",3,null),o=zd(e,"children",3,null);const i={sky:"text-sky-500",red:"text-red-500",green:"text-green-500",yellow:"text-yellow-500",purple:"text-purple-500",pink:"text-pink-500",indigo:"text-indigo-500",gray:"text-slate-500"};var s=Wf(),a=Ul(s),l=t=>{Cp(t,{get icon(){return n()},className:"size-16 mr-2 flex-shrink-0"})};Pu(a,t=>{n()&&t(l)}),Du(Ul(Xl(a,2)),o),ac(()=>Xu(s,1,Bu(["h-24 min-w-24 flex-center rounded-[8px] bg-current/10 text-sm mouse:text-[13px]/none font-medium gap-0","group-disabled/listitem:text-slate-500/30 group-disabled/listitem:bg-transparent",n()?"pl-4 pr-8":"px-6",i[r()]]))),ku(t,s)}var Ef=bu('<div class="subnavbar flex-center gap-2 pb-8"><!></div>'),Pf=bu('<div><div class="flex-center text-center text-[18px]/none py-16"><!></div> <div class="overflow-clip h-(--fubi-subnavbar-active-height) transition-[height] duration-200 ease-out-cubic will-change-[height]"><!></div></div>');function Tf(t,e){Za(e,!0),ek(),zd(e,"hide",3,!1);let r=zd(e,"children",3,null);var n=Pf();Xu(n,1,Bu(["navbar h-(--fubi-navbar-height)","has-[.subnavbar]:h-[calc(var(--fubi-navbar-height)+var(--fubi-subnavbar-active-height))]","fixed top-0 left-0 w-full z-10","bg-linear-to-b backdrop-blur-sm from-(--fubi-page-from-bg)/80 to-(--fubi-page-from-bg)/0 from-[40px]","border-b-[0.5px] border-white/10","transition-[height] duration-200 ease-out-cubic will-change-[height]"]));var o=Ul(n);Du(Ul(o),()=>e.title);var i=Ul(Xl(o,2)),s=t=>{var e=Ef();Du(Ul(e),r),ku(t,e)};Pu(i,t=>{r()&&t(s)}),ku(t,n),Ba()}var zf=bu("<p>Folders</p>"),Nf=bu("<p>Error loading</p>"),Lf=bu('<p class="p-4 text-center text-sm text-gray-500">No folders</p>'),If=bu("<!> <!>",1),Rf=wu('<circle fill="none" stroke="currentColor" stroke-linecap="round"></circle>'),Ff=wu('<svg xmlns="http://www.w3.org/2000/svg" class="-rotate-90 text-sky-500"><circle fill="none" stroke="white" stroke-opacity="0.1" stroke-linecap="round"></circle><!></svg>');function jf(t,e){let r=zd(e,"progress",3,0),n=zd(e,"radius",3,10),o=zd(e,"stroke",3,4),i=Cl(()=>2*Math.PI*n()),s=Cl(()=>r()/100*Xc(i)),a=Cl(()=>n()+o()),l=Cl(()=>2*(n()+o()));var c=Ff(),u=Ul(c),d=Xl(u),h=t=>{var e=Rf();ac(()=>{od(e,"cx",Xc(a)),od(e,"cy",Xc(a)),od(e,"r",n()),od(e,"stroke-width",o()),od(e,"stroke-dasharray",`${Xc(s)} ${Xc(i)}`)}),ku(t,e)};Pu(d,t=>{r()>0&&t(h)}),ac(()=>{od(c,"width",Xc(l)),od(c,"height",Xc(l)),od(c,"viewBox",`0 0 ${Xc(l)} ${Xc(l)}`),od(u,"cx",Xc(a)),od(u,"cy",Xc(a)),od(u,"r",n()),od(u,"stroke-width",o())}),ku(t,c)}var Df=bu('<div class="flex flex-1 w-full pointer-events-none select-none"></div> <div></div> <!>',1);function Hf(t,e){const r=zd(e,"children",3,null);var n=Df(),o=Xl(Yl(n),2);Xu(o,1,Bu(["sticky w-full bottom-0 left-0 bg-linear-to-b from-(--fubi-page-to-bg)/0 to-(--fubi-page-to-bg) to-60% right-0 h-56 shrink-0 mouse:justify-center touch:justify-center flex items-start gap-8","transition-[scale,opacity] will-change-[scale,opacity]"]));var i=Xl(o,2),s=t=>{var e=xu();Du(Yl(e),r),ku(t,e)};Pu(i,t=>{r()&&t(s)}),ku(t,n)}var qf=bu("<button><!></button>");function Vf(t,e){zd(e,"iconSize",3,"size-24 touch:size-32");let r=zd(e,"iconClass",3,""),n=zd(e,"hide",3,!1),o=Ed(e,["$$slots","$$events","$$legacy","icon","iconProps","class","iconSize","iconClass","hide","onclick"]);var i=qf();id(i,()=>({class:["cursor-pointer size-40 glass-shadow shrink-0 backdrop-blur-sm rounded-full superellipse flex-center","touch:size-48 touch:bottom-20 bottom-12","transition-[background-color,scale,translate,opacity] duration-100 ease-out will-change-[background-color,scale,translate,opacity]","bg-slate-500/10 hover:bg-white/10 active:bg-white/20 active:scale-110","text-white active:text-white","focus-visible",e.class,n()?"translate-y-20 opacity-0 pointer-events-none":""],onclick:e.onclick,...o}));var s=Ul(i);{let t=Cl(()=>`size-24 ${r()}`);Cp(s,{get icon(){return e.icon},get className(){return Xc(t)}})}ku(t,i)}const Zf=[["path",{d:"M15 6L9 12.0001L15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Bf=[["path",{d:"M9.00005 6L15 12L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Kf=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Uf=[["path",{d:"M4 5H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 5H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 12L20 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 19L20 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M4 12L13 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M4 19H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M10 2V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M16 9V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"7"}],["path",{d:"M12 16V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"8"}]];function Yf(t,e){Za(e,!0);const{router:r}=ek();let n=zd(e,"hide",3,!1);Vf(t,{get icon(){return Zf},get hide(){return n()},iconClass:"size-28 touch:size-34 -translate-x-1 touch:-translate-x-1.5",iconProps:{strokeWidth:1.5},onclick:()=>r.back(),class:"fixed left-12 touch:left-20"}),Ba()}var Xf=bu("<p> </p>"),Qf=bu('<div class="size-24 rounded-full bg-green-500/30 text-lime-100 flex-center"><!></div>'),Jf=bu("<a><!></a>"),Gf=bu("<!> <!>",1),$f=bu('<div class="px-4"><!></div>'),_f=bu('<div class="flex-center h-full"><!></div>'),tg=bu('<!> <!> <div class="flex flex-col gap-8 hidden"><img alt="Share" class="w-full h-auto rounded-[10px] superellipse"/> <img alt="Touchicon" class="size-32 mt-4 rounded-[10px] superellipse"/> <img alt="Favicon" class="size-16 mt-4 rounded-[8px] superellipse"/></div>',1),eg=bu("<!> <!> <!>",1);function rg(t,{from:e,to:r},n={}){var{delay:o=0,duration:i=t=>120*Math.sqrt(t),easing:s=cp}=n,a=getComputedStyle(t),l="none"===a.transform?"":a.transform,[c,u]=a.transformOrigin.split(" ").map(parseFloat);c/=t.clientWidth,u/=t.clientHeight;var d=function(t){if("currentCSSZoom"in t)return t.currentCSSZoom;for(var e=t,r=1;null!==e;)r*=+getComputedStyle(e).zoom,e=e.parentElement;return r}(t),h=t.clientWidth/r.width/d,p=t.clientHeight/r.height/d,f=e.left+e.width*c,g=e.top+e.height*u,v=r.left+r.width*c,b=r.top+r.height*u,m=(f-v)*h,w=(g-b)*p,y=e.width/r.width,x=e.height/r.height;return{delay:o,duration:"function"==typeof i?i(Math.sqrt(m*m+w*w)):i,easing:s,css:(t,e)=>`transform: ${l} translate(${e*m}px, ${e*w}px) scale(${t+e*y}, ${t+e*x});`}}var ng=bu('<img class="size-28 touch:size-36 rounded-[10px] bg-white/10"/>'),og=bu('<div class="size-28 touch:size-34 bg-sky-600 rounded-[10px] flex-center text-white text-sm/none text-shadow font-semibold"> </div>'),ig=bu('<div class="flex gap-6 "><!> <div class="flex flex-col justify-center gap-1 bg-white/0"><p class="text-base/none touch:text-[18px]/none font-medium"> </p> <p class="text-xs/none touch:text-sm/none text-slate-500/60 font-normal"> </p></div></div>');function sg(t){return null!==t&&"object"==typeof t}const ag=["string","number","bigint","boolean"];function lg(t){return null==t||!!ag.includes(typeof t)||(Array.isArray(t)?t.every(t=>lg(t)):"object"==typeof t&&Object.getPrototypeOf(t)===Object.prototype)}const cg=Symbol("box"),ug=Symbol("is-writable");function dg(t,e){const r=Cl(t);return e?{[cg]:!0,[ug]:!0,get current(){return Xc(r)},set current(t){e(t)}}:{[cg]:!0,get current(){return t()}}}function hg(t){return sg(t)&&cg in t}function pg(t){return hg(t)&&ug in t}function fg(t){return hg(t)?t:function(t){return"function"==typeof t}(t)?dg(t):gg(t)}function gg(t){let e=Pl(Rl(t));return{[cg]:!0,[ug]:!0,get current(){return Xc(e)},set current(t){zl(e,t,!0)}}}function vg(t){let e=Pl(Rl(t));return{[cg]:!0,[ug]:!0,get current(){return Xc(e)},set current(t){zl(e,t,!0)}}}function bg(...t){return function(e){var r;for(const n of t)if(n){if(e.defaultPrevented)return;"function"==typeof n?n.call(this,e):null==(r=n.current)||r.call(this,e)}}}function mg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}vg.from=fg,vg.with=dg,vg.flatten=function(t){return Object.entries(t).reduce((t,[e,r])=>hg(r)?(pg(r)?Object.defineProperty(t,e,{get:()=>r.current,set(t){r.current=t}}):Object.defineProperty(t,e,{get:()=>r.current}),t):Object.assign(t,{[e]:r}),{})},vg.readonly=function(t){return pg(t)?{[cg]:!0,get current(){return t.current}}:t},vg.isBox=hg,vg.isWritableBox=pg;var wg=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,yg=/\n/g,xg=/^\s*/,kg=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Cg=/^:\s*/,Mg=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Sg=/^[;\s]*/,Ag=/^\s+|\s+$/g,Wg="";function Og(t){return t?t.replace(Ag,Wg):Wg}const Eg=mg(function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,n=1;function o(t){var e=t.match(yg);e&&(r+=e.length);var o=t.lastIndexOf("\n");n=~o?t.length-o:n+t.length}function i(){var t={line:r,column:n};return function(e){return e.position=new s(t),c(),e}}function s(t){this.start=t,this.end={line:r,column:n},this.source=e.source}function a(o){var i=new Error(e.source+":"+r+":"+n+": "+o);if(i.reason=o,i.filename=e.source,i.line=r,i.column=n,i.source=t,!e.silent)throw i}function l(e){var r=e.exec(t);if(r){var n=r[0];return o(n),t=t.slice(n.length),r}}function c(){l(xg)}function u(t){var e;for(t=t||[];e=d();)!1!==e&&t.push(e);return t}function d(){var e=i();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var r=2;Wg!=t.charAt(r)&&("*"!=t.charAt(r)||"/"!=t.charAt(r+1));)++r;if(r+=2,Wg===t.charAt(r-1))return a("End of comment missing");var s=t.slice(2,r-2);return n+=2,o(s),t=t.slice(r),n+=2,e({type:"comment",comment:s})}}function h(){var t=i(),e=l(kg);if(e){if(d(),!l(Cg))return a("property missing ':'");var r=l(Mg),n=t({type:"declaration",property:Og(e[0].replace(wg,Wg)),value:r?Og(r[0].replace(wg,Wg)):Wg});return l(Sg),n}}return s.prototype.content=t,c(),function(){var t,e=[];for(u(e);t=h();)!1!==t&&(e.push(t),u(e));return e}()}),Pg=/\d/,Tg=["-","_","/","."];function zg(t=""){if(!Pg.test(t))return t!==t.toLowerCase()}function Ng(t){return t?function(t){const e=[];let r,n,o="";for(const i of t){const t=Tg.includes(i);if(!0===t){e.push(o),o="",r=void 0;continue}const s=zg(i);if(!1===n){if(!1===r&&!0===s){e.push(o),o=i,r=s;continue}if(!0===r&&!1===s&&o.length>1){const t=o.at(-1);e.push(o.slice(0,Math.max(0,o.length-1))),o=t+i,r=s;continue}}o+=i,r=s,n=t}return e.push(o),e}(t).map(t=>function(t){return t?t[0].toUpperCase()+t.slice(1):""}(t)).join(""):""}function Lg(t){if(!t)return{};const e={};return function(t,e){let r=null;if(!t||"string"!=typeof t)return r;const n=Eg(t);n.forEach(t=>{if("declaration"!==t.type)return;const{property:r,value:n}=t;e(r,n)})}(t,function(t,r){var n;t.startsWith("-moz-")||t.startsWith("-webkit-")||t.startsWith("-ms-")||t.startsWith("-o-")?e[Ng(t)]=r:t.startsWith("--")?e[t]=r:e[(n=t,function(t){return t?t[0].toLowerCase()+t.slice(1):""}(Ng(n||"")))]=r}),e}function Ig(...t){return(...e)=>{for(const r of t)"function"==typeof r&&r(...e)}}const Rg=function(t,e){const r=RegExp(/[A-Z]/,"g");return t=>{if("string"!=typeof t)throw new TypeError("expected an argument of type string, but got "+typeof t);return t.match(r)?t.replace(r,e):t}}(0,t=>`-${t.toLowerCase()}`);function Fg(t={}){return function(t){if(!t||"object"!=typeof t||Array.isArray(t))throw new TypeError("expected an argument of type object, but got "+typeof t);return Object.keys(t).map(e=>`${Rg(e)}: ${t[e]};`).join("\n")}(t).replace("\n"," ")}const jg=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 Dg(t){return jg.has(t)}function Hg(...t){const e={...t[0]};for(let r=1;r<t.length;r++){const n=t[r];if(n){for(const t of Object.keys(n)){const r=e[t],o=n[t],i="function"==typeof r,s="function"==typeof o;if(i&&Dg(t)){const n=r,i=o;e[t]=bg(n,i)}else if(i&&s)e[t]=Ig(r,o);else if("class"===t){const n=lg(r),i=lg(o);n&&i?e[t]=Zu(r,o):n?e[t]=Zu(r):i&&(e[t]=Zu(o))}else if("style"===t){const n="object"==typeof r,i="object"==typeof o,s="string"==typeof r,a="string"==typeof o;if(n&&i)e[t]={...r,...o};else if(n&&a){const n=Lg(o);e[t]={...r,...n}}else if(s&&i){const n=Lg(r);e[t]={...n,...o}}else if(s&&a){const n=Lg(r),i=Lg(o);e[t]={...n,...i}}else n?e[t]=r:i?e[t]=o:s?e[t]=r:a&&(e[t]=o)}else e[t]=void 0!==o?o:r}for(const t of Object.getOwnPropertySymbols(n)){const r=e[t],o=n[t];e[t]=void 0!==o?o:r}}}return"object"==typeof e.style&&(e.style=Fg(e.style).replaceAll("\n"," ")),!1===e.hidden&&(e.hidden=void 0,delete e.hidden),!1===e.disabled&&(e.disabled=void 0,delete e.disabled),e}function qg(t){rc(()=>()=>{t()})}function Vg(t){Yc().then(t)}function Zg(t){return sg(t)&&1===t.nodeType&&"string"==typeof t.nodeName}function Bg(t){return sg(t)&&9===t.nodeType}function Kg(t){return function(t){return sg(t)&&void 0!==t.nodeType}(t)&&11===t.nodeType&&"host"in t}function Ug(t){return Bg(t)?t:function(t){var e;return sg(t)&&"VisualViewport"===(null==(e=t.constructor)?void 0:e.name)}(t)?t.document:(null==t?void 0:t.ownerDocument)??document}function Yg(t){var e;return Kg(t)?Yg(t.host):Bg(t)?t.defaultView??window:Zg(t)?(null==(e=t.ownerDocument)?void 0:e.defaultView)??window:window}class Xg{constructor(t){Qs(this,"element"),$s(this,tr,Cl(()=>this.element.current?this.element.current.getRootNode()??document:document)),Qs(this,"getDocument",()=>Ug(this.root)),Qs(this,"getWindow",()=>this.getDocument().defaultView??window),Qs(this,"getActiveElement",()=>function(t){let e=t.activeElement;for(;null==e?void 0:e.shadowRoot;){const t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}(this.root)),Qs(this,"isActiveElement",t=>t===this.getActiveElement()),Qs(this,"querySelector",t=>this.root?this.root.querySelector(t):null),Qs(this,"querySelectorAll",t=>this.root?this.root.querySelectorAll(t):[]),Qs(this,"setTimeout",(t,e)=>this.getWindow().setTimeout(t,e)),Qs(this,"clearTimeout",t=>this.getWindow().clearTimeout(t)),this.element="function"==typeof t?dg(t):t}get root(){return Xc(Gs(this,tr))}set root(t){zl(Gs(this,tr),t)}getElementById(t){return this.root.getElementById(t)}}function Qg(t,e){return{[_c()]:r=>hg(t)?(t.current=r,Jc(()=>null==e?void 0:e(r)),()=>{"isConnected"in r&&r.isConnected||(t.current=null,null==e||e(null))}):(t(r),Jc(()=>null==e?void 0:e(r)),()=>{"isConnected"in r&&r.isConnected||(t(null),null==e||e(null))})}}tr=new WeakMap;const Jg="undefined"!=typeof window?window:void 0;class Gg{constructor(t){$s(this,er),$s(this,rr),_s(this,er,t),_s(this,rr,Symbol(t))}get key(){return Gs(this,rr)}exists(){return t=Gs(this,rr),Ka().has(t);var t}get(){const t=qa(Gs(this,rr));if(void 0===t)throw new Error(`Context "${Gs(this,er)}" not found`);return t}getOr(t){const e=qa(Gs(this,rr));return void 0===e?t:e}set(t){return Va(Gs(this,rr),t)}}function $g(t,e,r,n={}){const{lazy:o=!1}=n;let i=!o,s=Array.isArray(t)?[]:void 0;!function(t,e){switch(t){case"post":rc(e);break;case"pre":r=e,_l(),tc(1048584,r,!0)}var r}(e,()=>{const e=Array.isArray(t)?t.map(t=>t()):t();if(!i)return i=!0,void(s=e);const n=Jc(()=>r(e,s));return s=e,n})}function _g(t,e,r){$g(t,"post",e,r)}function tv(t){return function(t){return"function"==typeof t}(t)?t():t}er=new WeakMap,rr=new WeakMap,_g.pre=function(t,e,r){$g(t,"pre",e,r)};class ev{constructor(t,e={box:"border-box"}){$s(this,nr,{width:0,height:0}),$s(this,or,!1),$s(this,ir),$s(this,sr),$s(this,ar),$s(this,lr,Cl(()=>{var t;return null==(t=Xc(Gs(this,ur)))||t(),this.getSize().width})),$s(this,cr,Cl(()=>{var t;return null==(t=Xc(Gs(this,ur)))||t(),this.getSize().height})),$s(this,ur,Cl(()=>{const t=tv(Gs(this,sr));if(t)return bl(e=>{if(!Gs(this,ar))return;const r=new(Gs(this,ar).ResizeObserver)(t=>{_s(this,or,!0);for(const e of t){const t="content-box"===Gs(this,ir).box?e.contentBoxSize:e.borderBoxSize,r=Array.isArray(t)?t:[t];Gs(this,nr).width=r.reduce((t,e)=>Math.max(t,e.inlineSize),0),Gs(this,nr).height=r.reduce((t,e)=>Math.max(t,e.blockSize),0)}e()});return r.observe(t),()=>{_s(this,or,!1),r.disconnect()}})})),_s(this,ar,e.window??Jg),_s(this,ir,e),_s(this,sr,t),_s(this,nr,{width:0,height:0})}calculateSize(){const t=tv(Gs(this,sr));if(!t||!Gs(this,ar))return;const e=t.offsetWidth,r=t.offsetHeight;if("border-box"===Gs(this,ir).box)return{width:e,height:r};const n=Gs(this,ar).getComputedStyle(t),o=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),i=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom);return{width:e-o-(parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)),height:r-i-(parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth))}}getSize(){return Gs(this,or)?Gs(this,nr):this.calculateSize()??Gs(this,nr)}get current(){var t;return null==(t=Xc(Gs(this,ur)))||t(),this.getSize()}get width(){return Xc(Gs(this,lr))}get height(){return Xc(Gs(this,cr))}}function rv(t){return t?"true":"false"}function nv(t){return t?"":void 0}function ov(t){return t?"open":"closed"}nr=new WeakMap,or=new WeakMap,ir=new WeakMap,sr=new WeakMap,ar=new WeakMap,lr=new WeakMap,cr=new WeakMap,ur=new WeakMap;class iv{constructor(t){$s(this,dr),$s(this,hr),Qs(this,"attrs"),_s(this,dr,t.getVariant?t.getVariant():null),_s(this,hr,Gs(this,dr)?`data-${Gs(this,dr)}-`:`data-${t.component}-`),this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(t.parts.map(t=>[t,this.getAttr(t)]))}getAttr(t,e){return e?`data-${e}-${t}`:`${Gs(this,hr)}${t}`}selector(t,e){return`[${this.getAttr(t,e)}]`}}function sv(t){const e=new iv(t);return{...e.attrs,selector:e.selector,getAttr:e.getAttr}}dr=new WeakMap,hr=new WeakMap;const av="ArrowDown",lv="ArrowLeft",cv="ArrowRight",uv="ArrowUp",dv="End",hv="Enter",pv="Home",fv=" ";function gv(t="ltr",e="horizontal"){return{horizontal:"rtl"===t?lv:cv,vertical:av}[e]}function vv(t="ltr",e="horizontal"){return{horizontal:"rtl"===t?cv:lv,vertical:uv}[e]}const bv="undefined"!=typeof document,mv=bv&&(null==(wv=null==window?void 0:window.navigator)?void 0:wv.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||(null==(yv=null==window?void 0:window.navigator)?void 0:yv.maxTouchPoints)>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent));var wv,yv;function xv(t){return t instanceof HTMLElement}function kv(t){return t instanceof Element}function Cv(t){return t instanceof Element||t instanceof SVGElement}function Mv(t){return null!==t}class Sv{constructor(t){$s(this,pr),$s(this,fr,vg(null)),_s(this,pr,t)}getCandidateNodes(){return Gs(this,pr).rootNode.current?Gs(this,pr).candidateSelector?Array.from(Gs(this,pr).rootNode.current.querySelectorAll(Gs(this,pr).candidateSelector)):Gs(this,pr).candidateAttr?Array.from(Gs(this,pr).rootNode.current.querySelectorAll(`[${Gs(this,pr).candidateAttr}]:not([data-disabled])`)):[]:[]}focusFirstCandidate(){var t;const e=this.getCandidateNodes();e.length&&(null==(t=e[0])||t.focus())}handleKeydown(t,e,r=!1){var n,o;const i=Gs(this,pr).rootNode.current;if(!i||!t)return;const s=this.getCandidateNodes();if(!s.length)return;const a=s.indexOf(t),l=(c=i,window.getComputedStyle(c).getPropertyValue("direction"));var c;const{nextKey:u,prevKey:d}=function(t="ltr",e="horizontal"){return["ltr","rtl"].includes(t)||(t="ltr"),["horizontal","vertical"].includes(e)||(e="horizontal"),{nextKey:gv(t,e),prevKey:vv(t,e)}}(l,Gs(this,pr).orientation.current),h=Gs(this,pr).loop.current,p={[u]:a+1,[d]:a-1,[pv]:0,[dv]:s.length-1};if(r){const t=d===uv?lv:uv;p[u===av?cv:av]=a+1,p[t]=a-1}let f=p[e.key];if(void 0===f)return;e.preventDefault(),f<0&&h?f=s.length-1:f===s.length&&h&&(f=0);const g=s[f];return g?(g.focus(),Gs(this,fr).current=g.id,null==(o=(n=Gs(this,pr)).onCandidateFocus)||o.call(n,g),g):void 0}getTabIndex(t){const e=this.getCandidateNodes(),r=null!==Gs(this,fr).current;return t&&!r&&e[0]===t?(Gs(this,fr).current=t.id,0):(null==t?void 0:t.id)===Gs(this,fr).current?0:-1}setCurrentTabStopId(t){Gs(this,fr).current=t}focusCurrentTabStop(){var t;const e=Gs(this,fr).current;if(!e)return;const r=null==(t=Gs(this,pr).rootNode.current)?void 0:t.querySelector(`#${e}`);r&&xv(r)&&r.focus()}}pr=new WeakMap,fr=new WeakMap;class Av{constructor(t){$s(this,br),$s(this,gr),$s(this,vr,null),_s(this,gr,t),qg(()=>ta(this,br,mr).call(this))}run(t){ta(this,br,mr).call(this);const e=Gs(this,gr).ref.current;e&&("function"==typeof e.getAnimations?_s(this,vr,window.requestAnimationFrame(()=>{const r=e.getAnimations();0!==r.length?Promise.allSettled(r.map(t=>t.finished)).then(()=>{ta(this,br,wr).call(this,t)}):ta(this,br,wr).call(this,t)})):ta(this,br,wr).call(this,t))}}gr=new WeakMap,vr=new WeakMap,br=new WeakSet,mr=function(){Gs(this,vr)&&(window.cancelAnimationFrame(Gs(this,vr)),_s(this,vr,null))},wr=function(t){const e=()=>{t()};Gs(this,gr).afterTick?Vg(e):e()};class Wv{constructor(t){$s(this,yr),$s(this,xr),$s(this,kr),$s(this,Cr,Pl(!1)),_s(this,yr,t),zl(Gs(this,Cr),t.open.current,!0),_s(this,xr,t.enabled??!0),_s(this,kr,new Av({ref:Gs(this,yr).ref,afterTick:Gs(this,yr).open})),_g(()=>Gs(this,yr).open.current,t=>{t&&zl(Gs(this,Cr),!0),Gs(this,xr)&&Gs(this,kr).run(()=>{var e,r;t===Gs(this,yr).open.current&&(Gs(this,yr).open.current||zl(Gs(this,Cr),!1),null==(r=(e=Gs(this,yr)).onComplete)||r.call(e))})})}get shouldRender(){return Xc(Gs(this,Cr))}}function Ov(){}function Ev(t,e){return`bits-${t}`}yr=new WeakMap,xr=new WeakMap,kr=new WeakMap,Cr=new WeakMap;const Pv=sv({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),Tv=new Gg("Dialog.Root | AlertDialog.Root");Mr=new WeakMap,Sr=new WeakMap,Ar=new WeakMap,Wr=new WeakMap,Or=new WeakMap,Er=new WeakMap,Pr=new WeakMap,Tr=new WeakMap,zr=new WeakMap,Nr=new WeakMap,Lr=new WeakMap;let zv=class t{constructor(t,e){Qs(this,"opts"),$s(this,Mr,Pl(null)),$s(this,Sr,Pl(null)),$s(this,Ar,Pl(null)),$s(this,Wr,Pl(null)),$s(this,Or,Pl(void 0)),$s(this,Er,Pl(void 0)),$s(this,Pr,Pl(void 0)),$s(this,Tr,Pl(void 0)),$s(this,zr,Pl(null)),$s(this,Nr,Pl(0)),Qs(this,"depth"),Qs(this,"parent"),Qs(this,"contentPresence"),Qs(this,"overlayPresence"),Qs(this,"getBitsAttr",t=>Pv.getAttr(t,this.opts.variant.current)),$s(this,Lr,Cl(()=>({"data-state":ov(this.opts.open.current)}))),this.opts=t,this.parent=e,this.depth=e?e.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Wv({ref:dg(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Wv({ref:dg(()=>this.overlayNode),open:this.opts.open,enabled:!0}),_g(()=>this.opts.open.current,t=>{this.parent&&(t?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),qg(()=>{var t;this.opts.open.current&&(null==(t=this.parent)||t.decrementNested())})}static create(e){const r=Tv.getOr(null);return Tv.set(new t(e,r))}get triggerNode(){return Xc(Gs(this,Mr))}set triggerNode(t){zl(Gs(this,Mr),t,!0)}get contentNode(){return Xc(Gs(this,Sr))}set contentNode(t){zl(Gs(this,Sr),t,!0)}get overlayNode(){return Xc(Gs(this,Ar))}set overlayNode(t){zl(Gs(this,Ar),t,!0)}get descriptionNode(){return Xc(Gs(this,Wr))}set descriptionNode(t){zl(Gs(this,Wr),t,!0)}get contentId(){return Xc(Gs(this,Or))}set contentId(t){zl(Gs(this,Or),t,!0)}get titleId(){return Xc(Gs(this,Er))}set titleId(t){zl(Gs(this,Er),t,!0)}get triggerId(){return Xc(Gs(this,Pr))}set triggerId(t){zl(Gs(this,Pr),t,!0)}get descriptionId(){return Xc(Gs(this,Tr))}set descriptionId(t){zl(Gs(this,Tr),t,!0)}get cancelNode(){return Xc(Gs(this,zr))}set cancelNode(t){zl(Gs(this,zr),t,!0)}get nestedOpenCount(){return Xc(Gs(this,Nr))}set nestedOpenCount(t){zl(Gs(this,Nr),t,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){var t;this.nestedOpenCount++,null==(t=this.parent)||t.incrementNested()}decrementNested(){var t;0!==this.nestedOpenCount&&(this.nestedOpenCount--,null==(t=this.parent)||t.decrementNested())}get sharedProps(){return Xc(Gs(this,Lr))}set sharedProps(t){zl(Gs(this,Lr),t)}};Ir=new WeakMap;let Nv=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,Ir,Cl(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":rv(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}))),this.opts=t,this.root=e,this.attachment=Qg(this.opts.ref,t=>{this.root.triggerNode=t,this.root.triggerId=null==t?void 0:t.id}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new t(e,Tv.get())}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleOpen()}onkeydown(t){this.opts.disabled.current||t.key!==fv&&t.key!==hv||(t.preventDefault(),this.root.handleOpen())}get props(){return Xc(Gs(this,Ir))}set props(t){zl(Gs(this,Ir),t)}};Rr=new WeakMap;let Lv=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,Rr,Cl(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment}))),this.opts=t,this.root=e,this.root.titleId=this.opts.id.current,this.attachment=Qg(this.opts.ref),_g.pre(()=>this.opts.id.current,t=>{this.root.titleId=t})}static create(e){return new t(e,Tv.get())}get props(){return Xc(Gs(this,Rr))}set props(t){zl(Gs(this,Rr),t)}};Fr=new WeakMap;let Iv=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,Fr,Cl(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment}))),this.opts=t,this.root=e,this.root.descriptionId=this.opts.id.current,this.attachment=Qg(this.opts.ref,t=>{this.root.descriptionNode=t}),_g.pre(()=>this.opts.id.current,t=>{this.root.descriptionId=t})}static create(e){return new t(e,Tv.get())}get props(){return Xc(Gs(this,Fr))}set props(t){zl(Gs(this,Fr),t)}};jr=new WeakMap,Dr=new WeakMap;let Rv=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,jr,Cl(()=>({open:this.root.opts.open.current}))),$s(this,Dr,Cl(()=>({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},tabindex:"alert-dialog"===this.root.opts.variant.current?-1:void 0,"data-nested-open":nv(this.root.nestedOpenCount>0),"data-nested":nv(null!==this.root.parent),...this.root.sharedProps,...this.attachment}))),this.opts=t,this.root=e,this.attachment=Qg(this.opts.ref,t=>{this.root.contentNode=t,this.root.contentId=null==t?void 0:t.id})}static create(e){return new t(e,Tv.get())}get snippetProps(){return Xc(Gs(this,jr))}set snippetProps(t){zl(Gs(this,jr),t)}get props(){return Xc(Gs(this,Dr))}set props(t){zl(Gs(this,Dr),t)}get shouldRender(){return this.root.contentPresence.shouldRender}};Hr=new WeakMap,qr=new WeakMap;let Fv=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,Hr,Cl(()=>({open:this.root.opts.open.current}))),$s(this,qr,Cl(()=>({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":nv(this.root.nestedOpenCount>0),"data-nested":nv(null!==this.root.parent),...this.root.sharedProps,...this.attachment}))),this.opts=t,this.root=e,this.attachment=Qg(this.opts.ref,t=>this.root.overlayNode=t)}static create(e){return new t(e,Tv.get())}get snippetProps(){return Xc(Gs(this,Hr))}set snippetProps(t){zl(Gs(this,Hr),t)}get props(){return Xc(Gs(this,qr))}set props(t){zl(Gs(this,qr),t)}get shouldRender(){return this.root.overlayPresence.shouldRender}};var jv=bu("<div><!></div>");function Dv(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"level",3,2),s=Ed(e,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const a=Lv.create({id:dg(()=>n()),level:dg(()=>i()),ref:dg(()=>o(),t=>o(t))}),l=Cl(()=>Hg(s,a.props));var c=xu(),u=Yl(c),d=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(l)})),ku(t,r)},h=t=>{var r=jv();id(r,()=>({...Xc(l)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(u,t=>{e.child?t(d):t(h,!1)}),ku(t,c),Ba()}function Hv(t,e){var r=xu();Tu(Yl(r),()=>e.children,t=>{var r=xu();Du(Yl(r),()=>e.children??ha),ku(t,r)}),ku(t,r)}const qv=new Gg("BitsConfig");class Vv{constructor(t,e){Qs(this,"opts");const r=function(t,e){return r=>{const n=dg(()=>{var n,o;const i=null==(n=r(e))?void 0:n.current;return void 0!==i?i:null!==t?null==(o=r(t.opts))?void 0:o.current:void 0});return n}}(t,e);this.opts={defaultPortalTo:r(t=>t.defaultPortalTo),defaultLocale:r(t=>t.defaultLocale)}}}const Zv=(Bv=t=>t.defaultPortalTo,t=>{const e=function(){const t=new Vv(null,{});return qv.getOr(t).opts}();return dg(()=>{const r=t();if(void 0!==r)return r;const n=Bv(e).current;return void 0!==n?n:"body"})});var Bv;function Kv(t,e){Za(e,!0);const r=Zv(()=>e.to),n=Ka();let o,i=Cl(s);function s(){if(!bv||e.disabled)return null;let t=null;return t="string"==typeof r.current?document.querySelector(r.current):r.current,t}function a(){o&&(function(t){const e=Ou.get(t);e?(Ou.delete(t),e(void 0)):Promise.resolve()}(o),o=null)}_g([()=>Xc(i),()=>e.disabled],([t,r])=>{if(t&&!r)return o=Au(Hv,{target:t,props:{children:e.children},context:n}),()=>{a()};a()});var l=xu(),c=Yl(l),u=t=>{var r=xu();Du(Yl(r),()=>e.children??ha),ku(t,r)};Pu(c,t=>{e.disabled&&t(u)}),ku(t,l),Ba()}function Uv(t,e=500){let r=null;const n=(...n)=>{null!==r&&clearTimeout(r),r=setTimeout(()=>{t(...n)},e)};return n.destroy=()=>{null!==r&&(clearTimeout(r),r=null)},n}function Yv(t,e){return t===e||t.contains(e)}function Xv(t){return(null==t?void 0:t.ownerDocument)??document}const Qv=[hv,fv],Jv=[uv,"PageDown","End"],Gv=[av,"PageUp",pv,...Jv];function $v(t){return"mouse"===t.pointerType}function _v(t,{select:e=!1}={}){if(!t||!t.focus)return;const r=Ug(t);if(r.activeElement===t)return;const n=r.activeElement;t.focus({preventScroll:!0}),t!==n&&function(t){return t instanceof HTMLInputElement&&"select"in t}(t)&&e&&t.select()}
|
|
2
|
-
/*!
|
|
3
|
-
* tabbable 6.2.0
|
|
4
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5
|
-
*/
|
|
6
|
-
var tb=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],eb=tb.join(","),rb="undefined"==typeof Element,nb=rb?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ob=!rb&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},ib=function t(e,r){var n;void 0===r&&(r=!0);var o=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===o||"true"===o||r&&e&&t(e.parentNode)},sb=function(t,e,r){if(ib(t))return[];var n=Array.prototype.slice.apply(t.querySelectorAll(eb));return e&&nb.call(t,eb)&&n.unshift(t),n.filter(r)},ab=function t(e,r,n){for(var o=[],i=Array.from(e);i.length;){var s=i.shift();if(!ib(s,!1))if("SLOT"===s.tagName){var a=s.assignedElements(),l=t(a.length?a:s.children,!0,n);n.flatten?o.push.apply(o,l):o.push({scopeParent:s,candidates:l})}else{nb.call(s,eb)&&n.filter(s)&&(r||!e.includes(s))&&o.push(s);var c=s.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(s),u=!ib(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(c&&u){var d=t(!0===c?s.children:c.children,!0,n);n.flatten?o.push.apply(o,d):o.push({scopeParent:s,candidates:d})}else i.unshift.apply(i,s.children)}}return o},lb=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},cb=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,r=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===r||"true"===r}(t))&&!lb(t)?0:t.tabIndex},ub=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},db=function(t){return"INPUT"===t.tagName},hb=function(t){var e=t.getBoundingClientRect(),r=e.width,n=e.height;return 0===r&&0===n},pb=function(t,e){return!(e.disabled||ib(e)||function(t){return db(t)&&"hidden"===t.type}(e)||function(t,e){var r=e.displayCheck,n=e.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var o=nb.call(t,"details>summary:first-of-type")?t.parentElement:t;if(nb.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return hb(t)}else{if("function"==typeof n){for(var i=t;t;){var s=t.parentElement,a=ob(t);if(s&&!s.shadowRoot&&!0===n(s))return hb(t);t=t.assignedSlot?t.assignedSlot:s||a===t.ownerDocument?s:a.host}t=i}if(function(t){var e,r,n,o,i=t&&ob(t),s=null===(e=i)||void 0===e?void 0:e.host,a=!1;if(i&&i!==t)for(a=!!(null!==(r=s)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(s)||null!=t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!a&&s;){var l,c,u;a=!(null===(c=s=null===(l=i=ob(s))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(s))}return a}(t))return!t.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(t){return"SUMMARY"===t.tagName})}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var r=0;r<e.children.length;r++){var n=e.children.item(r);if("LEGEND"===n.tagName)return!!nb.call(e,"fieldset[disabled] *")||!n.contains(t)}return!0}e=e.parentElement}return!1}(e))},fb=function(t,e){return!(function(t){return function(t){return db(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,r=t.form||ob(t),n=function(t){return r.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=n(window.CSS.escape(t.name));else try{e=n(t.name)}catch(i){return!1}var o=function(t,e){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===e)return t[r]}(e,t.form);return!o||o===t}(t)}(e)||cb(e)<0||!pb(t,e))},gb=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},vb=function t(e){var r=[],n=[];return e.forEach(function(e,o){var i=!!e.scopeParent,s=i?e.scopeParent:e,a=function(t,e){var r=cb(t);return r<0&&e&&!lb(t)?0:r}(s,i),l=i?t(e.candidates):s;0===a?i?r.push.apply(r,l):r.push(s):n.push({documentOrder:o,tabIndex:a,item:e,isScope:i,content:l})}),n.sort(ub).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(r)},bb=function(t,e){var r;return r=(e=e||{}).getShadowRoot?ab([t],e.includeContainer,{filter:fb.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:gb}):sb(t,e.includeContainer,fb.bind(null,e)),vb(r)},mb=function(t,e){return(e=e||{}).getShadowRoot?ab([t],e.includeContainer,{filter:pb.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):sb(t,e.includeContainer,pb.bind(null,e))},wb=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==nb.call(t,eb)&&fb(e,t)},yb=tb.concat("iframe").join(","),xb=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==nb.call(t,yb)&&pb(e,t)};function kb(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function Cb(t,e,r){const n=e.toLowerCase();if(n.endsWith(" ")){const o=n.slice(0,-1);if(t.filter(t=>t.toLowerCase().startsWith(o)).length<=1)return Cb(t,o,r);const i=null==r?void 0:r.toLowerCase();if(i&&i.startsWith(o)&&" "===i.charAt(o.length)&&e.trim()===o)return r;const s=t.filter(t=>t.toLowerCase().startsWith(n));if(s.length>0){const e=r?t.indexOf(r):-1;return Mb(s,Math.max(e,0)).find(t=>t!==r)||r}}const o=e.length>1&&Array.from(e).every(t=>t===e[0])?e[0]:e,i=o.toLowerCase(),s=r?t.indexOf(r):-1;let a=Mb(t,Math.max(s,0));1===o.length&&(a=a.filter(t=>t!==r));const l=a.find(t=>null==t?void 0:t.toLowerCase().startsWith(i));return l!==r?l:void 0}function Mb(t,e){return t.map((r,n)=>t[(e+n)%t.length])}const Sb={afterMs:1e4,onChange:Ov};function Ab(t,e){const{afterMs:r,onChange:n,getWindow:o}={...Sb,...e};let i=null,s=Pl(Rl(t));return rc(()=>()=>{i&&o().clearTimeout(i)}),dg(()=>Xc(s),e=>{zl(s,e,!0),null==n||n(e),i&&o().clearTimeout(i),i=o().setTimeout(()=>{zl(s,t,!0),null==n||n(t)},r)})}class Wb{constructor(t){$s(this,Vr),$s(this,Zr),$s(this,Br,Cl(()=>Gs(this,Vr).onMatch?Gs(this,Vr).onMatch:t=>t.focus())),$s(this,Kr,Cl(()=>Gs(this,Vr).getCurrentItem?Gs(this,Vr).getCurrentItem:Gs(this,Vr).getActiveElement)),_s(this,Vr,t),_s(this,Zr,Ab("",{afterMs:1e3,getWindow:t.getWindow})),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(t,e){var r,n;if(!e.length)return;Gs(this,Zr).current=Gs(this,Zr).current+t;const o=Xc(Gs(this,Kr))(),i=(null==(n=null==(r=e.find(t=>t===o))?void 0:r.textContent)?void 0:n.trim())??"",s=Cb(e.map(t=>{var e;return(null==(e=t.textContent)?void 0:e.trim())??""}),Gs(this,Zr).current,i),a=e.find(t=>{var e;return(null==(e=t.textContent)?void 0:e.trim())===s});return a&&Xc(Gs(this,Br))(a),a}resetTypeahead(){Gs(this,Zr).current=""}get search(){return Gs(this,Zr).current}}Vr=new WeakMap,Zr=new WeakMap,Br=new WeakMap,Kr=new WeakMap;class Ob{constructor(t){$s(this,Jr),$s(this,Ur),$s(this,Yr),$s(this,Xr),$s(this,Qr,Pl(null)),_s(this,Ur,t),_s(this,Yr,Cl(()=>Gs(this,Ur).enabled())),_s(this,Xr,Ab(!1,{afterMs:t.transitTimeout??300,onChange:t=>{var e,r;Xc(Gs(this,Yr))&&(null==(r=(e=Gs(this,Ur)).setIsPointerInTransit)||r.call(e,t))},getWindow:()=>Yg(Gs(this,Ur).triggerNode())})),_g([t.triggerNode,t.contentNode,t.enabled],([t,e,r])=>{if(t&&e&&r)return Ig(uu(t,"pointerleave",t=>{ta(this,Jr,$r).call(this,t,e)}),uu(e,"pointerleave",e=>{ta(this,Jr,$r).call(this,e,t)}))}),_g(()=>Xc(Gs(this,Qr)),()=>{const e=Ug(t.triggerNode()??t.contentNode());if(e)return uu(e,"pointermove",e=>{var r,n;if(!Xc(Gs(this,Qr)))return;const o=e.target;if(!kv(o))return;const i={x:e.clientX,y:e.clientY},s=(null==(r=t.triggerNode())?void 0:r.contains(o))||(null==(n=t.contentNode())?void 0:n.contains(o)),a=!function(t,e){const{x:r,y:n}=t;let o=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const t=e[i].x,a=e[i].y,l=e[s].x,c=e[s].y;a>n!=c>n&&r<(l-t)*(n-a)/(c-a)+t&&(o=!o)}return o}(i,Xc(Gs(this,Qr)));s?ta(this,Jr,Gr).call(this):a&&(ta(this,Jr,Gr).call(this),t.onPointerExit())})})}}Ur=new WeakMap,Yr=new WeakMap,Xr=new WeakMap,Qr=new WeakMap,Jr=new WeakSet,Gr=function(){zl(Gs(this,Qr),null),Gs(this,Xr).current=!1},$r=function(t,e){const r=t.currentTarget;if(!xv(r))return;const n={x:t.clientX,y:t.clientY},o=function(t,e,r=5){const n=1.5*r;switch(e){case"top":return[{x:t.x-r,y:t.y+r},{x:t.x,y:t.y-n},{x:t.x+r,y:t.y+r}];case"bottom":return[{x:t.x-r,y:t.y-r},{x:t.x,y:t.y+n},{x:t.x+r,y:t.y-r}];case"left":return[{x:t.x+r,y:t.y-r},{x:t.x-n,y:t.y},{x:t.x+r,y:t.y+r}];case"right":return[{x:t.x-r,y:t.y-r},{x:t.x+n,y:t.y},{x:t.x-r,y:t.y+r}]}}(n,function(t,e){const r=Math.abs(e.top-t.y),n=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}(n,r.getBoundingClientRect())),i=function(t){const e=t.slice();return e.sort((t,e)=>t.x<e.x?-1:t.x>e.x?1:t.y<e.y?-1:t.y>e.y?1:0),function(t){if(t.length<=1)return t.slice();const e=[];for(let n=0;n<t.length;n++){const r=t[n];for(;e.length>=2;){const t=e[e.length-1],n=e[e.length-2];if(!((t.x-n.x)*(r.y-n.y)>=(t.y-n.y)*(r.x-n.x)))break;e.pop()}e.push(r)}e.pop();const r=[];for(let n=t.length-1;n>=0;n--){const e=t[n];for(;r.length>=2;){const t=r[r.length-1],n=r[r.length-2];if(!((t.x-n.x)*(e.y-n.y)>=(t.y-n.y)*(e.x-n.x)))break;r.pop()}r.push(e)}return r.pop(),1===e.length&&1===r.length&&e[0].x===r[0].x&&e[0].y===r[0].y?e:e.concat(r)}(e)}([...o,...function(t){const{top:e,right:r,bottom:n,left:o}=t;return[{x:o,y:e},{x:r,y:e},{x:r,y:n},{x:o,y:n}]}(e.getBoundingClientRect())]);zl(Gs(this,Qr),i,!0),Gs(this,Xr).current=!0};const Eb=new Gg("Menu.Root"),Pb=new Gg("Menu.Root | Menu.Sub"),Tb=new Gg("Menu.Content"),zb=new class{constructor(t,e={bubbles:!0,cancelable:!0}){Qs(this,"eventName"),Qs(this,"options"),this.eventName=t,this.options=e}createEvent(t){return new CustomEvent(this.eventName,{...this.options,detail:t})}dispatch(t,e){const r=this.createEvent(e);return t.dispatchEvent(r),r}listen(t,e,r){return uu(t,this.eventName,t=>{e(t)},r)}}("bitsmenuopen",{bubbles:!1,cancelable:!0}),Nb=sv({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});_r=new WeakMap,tn=new WeakMap;let Lb=class t{constructor(t){Qs(this,"opts"),Qs(this,"isUsingKeyboard",new Ky),$s(this,_r,Pl(!1)),$s(this,tn,Pl(!1)),Qs(this,"getBitsAttr",t=>Nb.getAttr(t,this.opts.variant.current)),this.opts=t}static create(e){const r=new t(e);return Eb.set(r)}get ignoreCloseAutoFocus(){return Xc(Gs(this,_r))}set ignoreCloseAutoFocus(t){zl(Gs(this,_r),t,!0)}get isPointerInTransit(){return Xc(Gs(this,tn))}set isPointerInTransit(t){zl(Gs(this,tn),t,!0)}};en=new WeakMap,rn=new WeakMap;let Ib=class t{constructor(t,e,r){Qs(this,"opts"),Qs(this,"root"),Qs(this,"parentMenu"),Qs(this,"contentId",dg(()=>"")),$s(this,en,Pl(null)),Qs(this,"contentPresence"),$s(this,rn,Pl(null)),this.opts=t,this.root=e,this.parentMenu=r,this.contentPresence=new Wv({ref:dg(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),r&&_g(()=>r.opts.open.current,()=>{r.opts.open.current||(this.opts.open.current=!1)})}static create(e,r){return Pb.set(new t(e,r,null))}get contentNode(){return Xc(Gs(this,en))}set contentNode(t){zl(Gs(this,en),t,!0)}get triggerNode(){return Xc(Gs(this,rn))}set triggerNode(t){zl(Gs(this,rn),t,!0)}toggleOpen(){this.opts.open.current=!this.opts.open.current}onOpen(){this.opts.open.current=!0}onClose(){this.opts.open.current=!1}};nn=new WeakMap,on=new WeakMap,sn=new WeakMap,an=new WeakMap,ln=new WeakMap,cn=new WeakSet,un=function(){const t=this.parentMenu.contentNode;return t?Array.from(t.querySelectorAll(`[${this.parentMenu.root.getBitsAttr("item")}]:not([data-disabled])`)):[]},dn=function(){return this.parentMenu.root.isPointerInTransit},hn=new WeakMap,pn=new WeakMap;let Rb=class t{constructor(t,e){$s(this,cn),Qs(this,"opts"),Qs(this,"parentMenu"),Qs(this,"rovingFocusGroup"),Qs(this,"domContext"),Qs(this,"attachment"),$s(this,nn,Pl("")),$s(this,on,0),$s(this,sn),$s(this,an,Pl(!1)),$s(this,ln),Qs(this,"onCloseAutoFocus",t=>{var e,r;null==(r=(e=this.opts.onCloseAutoFocus).current)||r.call(e,t),t.defaultPrevented||Gs(this,ln)||this.parentMenu.triggerNode&&wb(this.parentMenu.triggerNode)&&(t.preventDefault(),this.parentMenu.triggerNode.focus())}),$s(this,hn,Cl(()=>({open:this.parentMenu.opts.open.current}))),$s(this,pn,Cl(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":ov(this.parentMenu.opts.open.current),onkeydown:this.onkeydown,onblur:this.onblur,onfocus:this.onfocus,dir:this.parentMenu.root.opts.dir.current,style:{pointerEvents:"auto"},...this.attachment}))),Qs(this,"popperProps",{onCloseAutoFocus:t=>this.onCloseAutoFocus(t)}),this.opts=t,this.parentMenu=e,this.domContext=new Xg(t.ref),this.attachment=Qg(this.opts.ref,t=>{this.parentMenu.contentNode!==t&&(this.parentMenu.contentNode=t)}),e.contentId=t.id,_s(this,ln,t.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 Ob({contentNode:()=>this.parentMenu.contentNode,triggerNode:()=>this.parentMenu.triggerNode,enabled:()=>{var t;return this.parentMenu.opts.open.current&&Boolean(null==(t=this.parentMenu.triggerNode)?void 0:t.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger")))},onPointerExit:()=>{this.parentMenu.opts.open.current=!1},setIsPointerInTransit:t=>{this.parentMenu.root.isPointerInTransit=t}}),_s(this,sn,new Wb({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch),this.rovingFocusGroup=new Sv({rootNode:dg(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:dg(()=>"vertical")}),_g(()=>this.parentMenu.contentNode,t=>{if(t)return zb.listen(t,()=>{Vg(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})})}),rc(()=>{this.parentMenu.opts.open.current||this.domContext.getWindow().clearTimeout(Gs(this,on))})}static create(e){return Tb.set(new t(e,Pb.get()))}get search(){return Xc(Gs(this,nn))}set search(t){zl(Gs(this,nn),t,!0)}get mounted(){return Xc(Gs(this,an))}set mounted(t){zl(Gs(this,an),t,!0)}handleTabKeyDown(t){let e=this.parentMenu;for(;null!==e.parentMenu;)e=e.parentMenu;if(!e.triggerNode)return;t.preventDefault();const r=function(t,e){if(!wb(t,kb()))return function(t,e){const r=Ug(t);if(!xb(t,kb()))return r.body;const n=mb(r.body,kb());"prev"===e&&n.reverse();const o=n.indexOf(t);return-1===o?r.body:n.slice(o+1).find(t=>wb(t,kb()))??r.body}(t,e);const r=Ug(t),n=bb(r.body,kb());"prev"===e&&n.reverse();const o=n.indexOf(t);return-1===o?r.body:n.slice(o+1)[0]}(e.triggerNode,t.shiftKey?"prev":"next");r?(this.parentMenu.root.ignoreCloseAutoFocus=!0,e.onClose(),Vg(()=>{r.focus(),Vg(()=>{this.parentMenu.root.ignoreCloseAutoFocus=!1})})):this.domContext.getDocument().body.focus()}onkeydown(t){var e,r;if(t.defaultPrevented)return;if("Tab"===t.key)return void this.handleTabKeyDown(t);const n=t.target,o=t.currentTarget;if(!xv(n)||!xv(o))return;const i=(null==(e=n.closest(`[${this.parentMenu.root.getBitsAttr("content")}]`))?void 0:e.id)===this.parentMenu.contentId.current,s=t.ctrlKey||t.altKey||t.metaKey,a=1===t.key.length;if(this.rovingFocusGroup.handleKeydown(n,t))return;if("Space"===t.code)return;const l=ta(this,cn,un).call(this);i&&!s&&a&&Gs(this,sn).call(this,t.key,l),(null==(r=t.target)?void 0:r.id)===this.parentMenu.contentId.current&&Gv.includes(t.key)&&(t.preventDefault(),Jv.includes(t.key)&&l.reverse(),function(t,{select:e=!1}={},r){const n=r();for(const o of t)if(_v(o,{select:e}),r()!==n)return!0}(l,{select:!1},()=>this.domContext.getActiveElement()))}onblur(t){var e,r;kv(t.currentTarget)&&kv(t.target)&&((null==(r=(e=t.currentTarget).contains)?void 0:r.call(e,t.target))||(this.domContext.getWindow().clearTimeout(Gs(this,on)),this.search=""))}onfocus(t){this.parentMenu.root.isUsingKeyboard.current&&Vg(()=>this.rovingFocusGroup.focusFirstCandidate())}onItemEnter(){return ta(this,cn,dn).call(this)}onItemLeave(t){if(t.currentTarget.hasAttribute(this.parentMenu.root.getBitsAttr("sub-trigger")))return;if(ta(this,cn,dn).call(this)||this.parentMenu.root.isUsingKeyboard.current)return;const e=this.parentMenu.contentNode;null==e||e.focus(),this.rovingFocusGroup.setCurrentTabStopId("")}onTriggerLeave(){return!!ta(this,cn,dn).call(this)}handleInteractOutside(t){var e;if(!Cv(t.target))return;const r=null==(e=this.parentMenu.triggerNode)?void 0:e.id;t.target.id!==r?t.target.closest(`#${r}`)&&t.preventDefault():t.preventDefault()}get shouldRender(){return this.parentMenu.contentPresence.shouldRender}get snippetProps(){return Xc(Gs(this,hn))}set snippetProps(t){zl(Gs(this,hn),t)}get props(){return Xc(Gs(this,pn))}set props(t){zl(Gs(this,pn),t)}};class Fb{constructor(t,e){Qs(this,"opts"),Qs(this,"content"),Qs(this,"attachment"),$s(this,fn,Pl(!1)),$s(this,gn,Cl(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":rv(this.opts.disabled.current),"data-disabled":nv(this.opts.disabled.current),"data-highlighted":Xc(Gs(this,fn))?"":void 0,[this.content.parentMenu.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerleave:this.onpointerleave,onfocus:this.onfocus,onblur:this.onblur,...this.attachment}))),this.opts=t,this.content=e,this.attachment=Qg(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(t){if(!t.defaultPrevented&&$v(t))if(this.opts.disabled.current)this.content.onItemLeave(t);else{if(this.content.onItemEnter())return;const e=t.currentTarget;if(!xv(e))return;e.focus()}}onpointerleave(t){t.defaultPrevented||$v(t)&&this.content.onItemLeave(t)}onfocus(t){Vg(()=>{t.defaultPrevented||this.opts.disabled.current||zl(Gs(this,fn),!0)})}onblur(t){Vg(()=>{t.defaultPrevented||zl(Gs(this,fn),!1)})}get props(){return Xc(Gs(this,gn))}set props(t){zl(Gs(this,gn),t)}}fn=new WeakMap,gn=new WeakMap,vn=new WeakMap,bn=new WeakSet,mn=function(){if(this.item.opts.disabled.current)return;const t=new CustomEvent("menuitemselect",{bubbles:!0,cancelable:!0});this.opts.onSelect.current(t),t.defaultPrevented?this.item.content.parentMenu.root.isUsingKeyboard.current=!1:this.opts.closeOnSelect.current&&this.item.content.parentMenu.root.opts.onClose()},wn=new WeakMap;let jb=class t{constructor(t,e){$s(this,bn),Qs(this,"opts"),Qs(this,"item"),Qs(this,"root"),$s(this,vn,!1),$s(this,wn,Cl(()=>Hg(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}))),this.opts=t,this.item=e,this.root=e.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)}static create(e){const r=new Fb(e,Tb.get());return new t(e,r)}onkeydown(t){const e=""!==this.item.content.search;if(!(this.item.opts.disabled.current||e&&t.key===fv)&&Qv.includes(t.key)){if(!xv(t.currentTarget))return;t.currentTarget.click(),t.preventDefault()}}onclick(t){this.item.opts.disabled.current||ta(this,bn,mn).call(this)}onpointerup(t){var e;if(!t.defaultPrevented&&!Gs(this,vn)){if(!xv(t.currentTarget))return;null==(e=t.currentTarget)||e.click()}}onpointerdown(t){_s(this,vn,!0)}get props(){return Xc(Gs(this,wn))}set props(t){zl(Gs(this,wn),t)}};yn=new WeakMap,xn=new WeakMap;let Db=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"parentMenu"),Qs(this,"attachment"),Qs(this,"onclick",t=>{this.opts.disabled.current||0!==t.detail||(this.parentMenu.toggleOpen(),t.preventDefault())}),Qs(this,"onpointerdown",t=>{if(!this.opts.disabled.current)return"touch"===t.pointerType?t.preventDefault():void(0===t.button&&!1===t.ctrlKey&&(this.parentMenu.toggleOpen(),this.parentMenu.opts.open.current||t.preventDefault()))}),Qs(this,"onpointerup",t=>{this.opts.disabled.current||"touch"===t.pointerType&&(t.preventDefault(),this.parentMenu.toggleOpen())}),Qs(this,"onkeydown",t=>{if(!this.opts.disabled.current)return t.key===fv||t.key===hv?(this.parentMenu.toggleOpen(),void t.preventDefault()):void(t.key===av&&(this.parentMenu.onOpen(),t.preventDefault()))}),$s(this,yn,Cl(()=>{if(this.parentMenu.opts.open.current&&this.parentMenu.contentId.current)return this.parentMenu.contentId.current})),$s(this,xn,Cl(()=>({id:this.opts.id.current,disabled:this.opts.disabled.current,"aria-haspopup":"menu","aria-expanded":rv(this.parentMenu.opts.open.current),"aria-controls":Xc(Gs(this,yn)),"data-disabled":nv(this.opts.disabled.current),"data-state":ov(this.parentMenu.opts.open.current),[this.parentMenu.root.getBitsAttr("trigger")]:"",onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown,...this.attachment}))),this.opts=t,this.parentMenu=e,this.attachment=Qg(this.opts.ref,t=>this.parentMenu.triggerNode=t)}static create(e){return new t(e,Pb.get())}get props(){return Xc(Gs(this,xn))}set props(t){zl(Gs(this,xn),t)}};globalThis.bitsDismissableLayers??(globalThis.bitsDismissableLayers=new Map),kn=new WeakMap,Cn=new WeakMap,Mn=new WeakMap,Sn=new WeakMap,An=new WeakMap,Wn=new WeakMap,On=new WeakMap,En=new WeakMap,Pn=new WeakMap,Tn=new WeakSet,zn=function(){return Ig(uu(Gs(this,Wn),"pointerdown",Ig(Gs(this,In),Gs(this,Fn)),{capture:!0}),uu(Gs(this,Wn),"pointerdown",Ig(Gs(this,Rn),Gs(this,Ln))),uu(Gs(this,Wn),"focusin",Gs(this,Pn)))},Nn=new WeakMap,Ln=new WeakMap,In=new WeakMap,Rn=new WeakMap,Fn=new WeakMap,jn=new WeakMap,Dn=new WeakMap,Hn=function(){return Object.values(Gs(this,Mn)).some(Boolean)},qn=new WeakMap,Vn=new WeakMap;let Hb=class t{constructor(t){$s(this,Tn),Qs(this,"opts"),$s(this,kn),$s(this,Cn),$s(this,Mn,{pointerdown:!1}),$s(this,Sn,!1),$s(this,An,!1),$s(this,Wn),$s(this,On),$s(this,En,Ov),$s(this,Pn,t=>{t.defaultPrevented||this.opts.ref.current&&Vg(()=>{var e,r;this.opts.ref.current&&!Gs(this,jn).call(this,t.target)&&t.target&&!Gs(this,An)&&(null==(r=(e=Gs(this,On)).current)||r.call(e,t))})}),$s(this,Nn,t=>{let e=t;e.defaultPrevented&&(e=qb(t)),Gs(this,kn).current(t)}),$s(this,Ln,Uv(t=>{if(!this.opts.ref.current)return void Gs(this,En).call(this);const e=this.opts.isValidEvent.current(t,this.opts.ref.current)||function(t,e){const r=t.target;if(!Cv(r))return!1;const n=Boolean(r.closest("[data-context-menu-trigger]"));if("button"in t&&t.button>0&&!n)return!1;if("button"in t&&0===t.button&&n)return!0;const o=Boolean(e.closest("[data-context-menu-content]"));if(n&&o)return!1;const i=Xv(r).documentElement.contains(r)&&!Yv(e,r)&&function(t,e){const{clientX:r,clientY:n}=t,o=e.getBoundingClientRect();return r<o.left||r>o.right||n<o.top||n>o.bottom}(t,e);return i}(t,this.opts.ref.current);if(!Gs(this,Sn)||ta(this,Tn,Hn).call(this)||!e)return void Gs(this,En).call(this);let r=t;r.defaultPrevented&&(r=qb(r)),"close"===Gs(this,Cn).current||"defer-otherwise-close"===Gs(this,Cn).current?"touch"===t.pointerType?(Gs(this,En).call(this),_s(this,En,uu(Gs(this,Wn),"click",Gs(this,Nn),{once:!0}))):Gs(this,kn).current(r):Gs(this,En).call(this)},10)),$s(this,In,t=>{Gs(this,Mn)[t.type]=!0}),$s(this,Rn,t=>{Gs(this,Mn)[t.type]=!1}),$s(this,Fn,()=>{this.opts.ref.current&&_s(this,Sn,function(t){const e=[...globalThis.bitsDismissableLayers],r=function(t=[...globalThis.bitsDismissableLayers]){return t.findLast(([t,{current:e}])=>"close"===e||"ignore"===e)}(e);if(r)return r[0].opts.ref.current===t;const[n]=e[0];return n.opts.ref.current===t}(this.opts.ref.current))}),$s(this,jn,t=>!!this.opts.ref.current&&Yv(this.opts.ref.current,t)),$s(this,Dn,Uv(()=>{for(const t in Gs(this,Mn))Gs(this,Mn)[t]=!1;_s(this,Sn,!1)},20)),$s(this,qn,()=>{_s(this,An,!0)}),$s(this,Vn,()=>{_s(this,An,!1)}),Qs(this,"props",{onfocuscapture:Gs(this,qn),onblurcapture:Gs(this,Vn)}),this.opts=t,_s(this,Cn,t.interactOutsideBehavior),_s(this,kn,t.onInteractOutside),_s(this,On,t.onFocusOutside),rc(()=>{_s(this,Wn,Xv(this.opts.ref.current))});let e=Ov;const r=()=>{Gs(this,Dn).call(this),globalThis.bitsDismissableLayers.delete(this),Gs(this,Ln).destroy(),e()};_g([()=>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,Gs(this,Cn)),e(),e=ta(this,Tn,zn).call(this))},1),r}),qg(()=>{Gs(this,Dn).destroy(),globalThis.bitsDismissableLayers.delete(this),Gs(this,Ln).destroy(),Gs(this,En).call(this),e()})}static create(e){return new t(e)}};function qb(t){const e=t.currentTarget,r=t.target;let n;n=t instanceof PointerEvent?new PointerEvent(t.type,t):new PointerEvent("pointerdown",t);let o=!1;return new Proxy(n,{get:(n,i)=>"currentTarget"===i?e:"target"===i?r:"preventDefault"===i?()=>{o=!0,"function"==typeof n.preventDefault&&n.preventDefault()}:"defaultPrevented"===i?o:i in n?n[i]:t[i]})}function Vb(t,e){Za(e,!0);let r=zd(e,"interactOutsideBehavior",3,"close"),n=zd(e,"onInteractOutside",3,Ov),o=zd(e,"onFocusOutside",3,Ov),i=zd(e,"isValidEvent",3,()=>!1);const s=Hb.create({id:dg(()=>e.id),interactOutsideBehavior:dg(()=>r()),onInteractOutside:dg(()=>n()),enabled:dg(()=>e.enabled),onFocusOutside:dg(()=>o()),isValidEvent:dg(()=>i()),ref:e.ref});var a=xu();Du(Yl(a),()=>e.children??ha,()=>({props:s.props})),ku(t,a),Ba()}globalThis.bitsEscapeLayers??(globalThis.bitsEscapeLayers=new Map),Zn=new WeakMap,Bn=new WeakMap;let Zb=class t{constructor(t){Qs(this,"opts"),Qs(this,"domContext"),$s(this,Zn,()=>uu(this.domContext.getDocument(),"keydown",Gs(this,Bn),{passive:!1})),$s(this,Bn,t=>{if("Escape"!==t.key||!function(t){const e=[...globalThis.bitsEscapeLayers],r=e.findLast(([t,{current:e}])=>"close"===e||"ignore"===e);if(r)return r[0]===t;const[n]=e[0];return n===t}(this))return;const e=new KeyboardEvent(t.type,t);t.preventDefault();const r=this.opts.escapeKeydownBehavior.current;"close"!==r&&"defer-otherwise-close"!==r||this.opts.onEscapeKeydown.current(e)}),this.opts=t,this.domContext=new Xg(this.opts.ref);let e=Ov;_g(()=>t.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,t.escapeKeydownBehavior),e=Gs(this,Zn).call(this)),()=>{e(),globalThis.bitsEscapeLayers.delete(this)}))}static create(e){return new t(e)}};function Bb(t,e){Za(e,!0);let r=zd(e,"escapeKeydownBehavior",3,"close"),n=zd(e,"onEscapeKeydown",3,Ov);Zb.create({escapeKeydownBehavior:dg(()=>r()),onEscapeKeydown:dg(()=>n()),enabled:dg(()=>e.enabled),ref:e.ref});var o=xu();Du(Yl(o),()=>e.children??ha),ku(t,o),Ba()}const Kb=class t{constructor(){$s(this,Kn,gg([])),$s(this,Un,new WeakMap),$s(this,Yn,new WeakMap)}static getInstance(){return this.instance||(this.instance=new t),this.instance}register(t){const e=this.getActive();e&&e!==t&&e.pause();const r=document.activeElement;r&&r!==document.body&&Gs(this,Yn).set(t,r),Gs(this,Kn).current=Gs(this,Kn).current.filter(e=>e!==t),Gs(this,Kn).current.unshift(t)}unregister(t){Gs(this,Kn).current=Gs(this,Kn).current.filter(e=>e!==t);const e=this.getActive();e&&e.resume()}getActive(){return Gs(this,Kn).current[0]}setFocusMemory(t,e){Gs(this,Un).set(t,e)}getFocusMemory(t){return Gs(this,Un).get(t)}isActiveScope(t){return this.getActive()===t}setPreFocusMemory(t,e){Gs(this,Yn).set(t,e)}getPreFocusMemory(t){return Gs(this,Yn).get(t)}clearPreFocusMemory(t){Gs(this,Yn).delete(t)}};Kn=new WeakMap,Un=new WeakMap,Yn=new WeakMap,Qs(Kb,"instance");let Ub=Kb;Xn=new WeakMap,Qn=new WeakMap,Jn=new WeakMap,Gn=new WeakMap,$n=new WeakMap,_n=new WeakSet,to=function(){for(const t of Gs(this,Gn))t();_s(this,Gn,[])},eo=function(){if(!Gs(this,Qn))return;const t=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});Gs(this,$n).onOpenAutoFocus.current(t),t.defaultPrevented||requestAnimationFrame(()=>{if(!Gs(this,Qn))return;const t=ta(this,_n,io).call(this);t?(t.focus(),Gs(this,Jn).setFocusMemory(this,t)):Gs(this,Qn).focus()})},ro=function(){var t,e;const r=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if(null==(e=(t=Gs(this,$n).onCloseAutoFocus).current)||e.call(t,r),!r.defaultPrevented){const t=Gs(this,Jn).getPreFocusMemory(this);if(t&&document.contains(t))try{t.focus()}catch{document.body.focus()}}},no=function(){if(!Gs(this,Qn)||!Gs(this,$n).trap.current)return;const t=Gs(this,Qn),e=t.ownerDocument;Gs(this,Gn).push(uu(e,"focusin",e=>{if(Gs(this,Xn)||!Gs(this,Jn).isActiveScope(this))return;const r=e.target;if(r)if(t.contains(r))Gs(this,Jn).setFocusMemory(this,r);else{const r=Gs(this,Jn).getFocusMemory(this);if(r&&t.contains(r)&&xb(r))e.preventDefault(),r.focus();else{const e=ta(this,_n,io).call(this),r=ta(this,_n,so).call(this)[0];(e||r||t).focus()}}},{capture:!0}),uu(t,"keydown",t=>{if(!Gs(this,$n).loop||Gs(this,Xn)||"Tab"!==t.key)return;if(!Gs(this,Jn).isActiveScope(this))return;const r=ta(this,_n,oo).call(this);if(r.length<2)return;const n=r[0],o=r[r.length-1];t.shiftKey||e.activeElement!==o?t.shiftKey&&e.activeElement===n&&(t.preventDefault(),o.focus()):(t.preventDefault(),n.focus())}));const r=new MutationObserver(()=>{const e=Gs(this,Jn).getFocusMemory(this);if(e&&!t.contains(e)){const e=ta(this,_n,io).call(this),r=ta(this,_n,so).call(this)[0],n=e||r;n?(n.focus(),Gs(this,Jn).setFocusMemory(this,n)):t.focus()}});r.observe(t,{childList:!0,subtree:!0}),Gs(this,Gn).push(()=>r.disconnect())},oo=function(){return Gs(this,Qn)?bb(Gs(this,Qn),{includeContainer:!1,getShadowRoot:!0}):[]},io=function(){return ta(this,_n,oo).call(this)[0]||null},so=function(){return Gs(this,Qn)?mb(Gs(this,Qn),{includeContainer:!1,getShadowRoot:!0}):[]};let Yb=class t{constructor(t){$s(this,_n),$s(this,Xn,!1),$s(this,Qn,null),$s(this,Jn,Ub.getInstance()),$s(this,Gn,[]),$s(this,$n),_s(this,$n,t)}get paused(){return Gs(this,Xn)}pause(){_s(this,Xn,!0)}resume(){_s(this,Xn,!1)}mount(t){Gs(this,Qn)&&this.unmount(),_s(this,Qn,t),Gs(this,Jn).register(this),ta(this,_n,no).call(this),ta(this,_n,eo).call(this)}unmount(){Gs(this,Qn)&&(ta(this,_n,to).call(this),ta(this,_n,ro).call(this),Gs(this,Jn).unregister(this),Gs(this,Jn).clearPreFocusMemory(this),_s(this,Qn,null))}static use(e){let r=null;return _g([()=>e.ref.current,()=>e.enabled.current],([n,o])=>{n&&o?(r||(r=new t(e)),r.mount(n)):r&&(r.unmount(),r=null)}),qg(()=>{null==r||r.unmount()}),{get props(){return{tabindex:-1}}}}};function Xb(t,e){Za(e,!0);let r=zd(e,"enabled",3,!1),n=zd(e,"trapFocus",3,!1),o=zd(e,"loop",3,!1),i=zd(e,"onCloseAutoFocus",3,Ov),s=zd(e,"onOpenAutoFocus",3,Ov);const a=Yb.use({enabled:dg(()=>r()),trap:dg(()=>n()),loop:o(),onCloseAutoFocus:dg(()=>i()),onOpenAutoFocus:dg(()=>s()),ref:e.ref});var l=xu();Du(Yl(l),()=>e.focusScope??ha,()=>({props:a.props})),ku(t,l),Ba()}globalThis.bitsTextSelectionLayers??(globalThis.bitsTextSelectionLayers=new Map),ao=new WeakMap,lo=new WeakSet,co=function(){return Ig(uu(this.domContext.getDocument(),"pointerdown",Gs(this,uo)),uu(this.domContext.getDocument(),"pointerup",bg(Gs(this,ho),this.opts.onPointerUp.current)))},uo=new WeakMap,ho=new WeakMap;let Qb=class t{constructor(t){$s(this,lo),Qs(this,"opts"),Qs(this,"domContext"),$s(this,ao,Ov),$s(this,uo,t=>{const e=this.opts.ref.current,r=t.target;xv(e)&&xv(r)&&this.opts.enabled.current&&function(t){const e=[...globalThis.bitsTextSelectionLayers];if(!e.length)return!1;const r=e.at(-1);return!!r&&r[0]===t}(this)&&function(t,e){var r;if(!t||!e)return!1;if(!Zg(t)||!Zg(e))return!1;const n=null==(r=e.getRootNode)?void 0:r.call(e);if(t===e)return!0;if(t.contains(e))return!0;if(n&&Kg(n)){let r=e;for(;r;){if(t===r)return!0;r=r.parentNode||r.host}}return!1}(e,r)&&(this.opts.onPointerDown.current(t),t.defaultPrevented||_s(this,ao,function(t,e){const r=Jb(e),n=Jb(t);return Gb(e,"none"),Gb(t,"text"),()=>{Gb(e,r),Gb(t,n)}}(e,this.domContext.getDocument().body)))}),$s(this,ho,()=>{Gs(this,ao).call(this),_s(this,ao,Ov)}),this.opts=t,this.domContext=new Xg(t.ref);let e=Ov;_g(()=>this.opts.enabled.current,t=>(t&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),e(),e=ta(this,lo,co).call(this)),()=>{e(),Gs(this,ho).call(this),globalThis.bitsTextSelectionLayers.delete(this)}))}static create(e){return new t(e)}};const Jb=t=>t.style.userSelect||t.style.webkitUserSelect;function Gb(t,e){t.style.userSelect=e,t.style.webkitUserSelect=e}function $b(t,e){Za(e,!0);let r=zd(e,"preventOverflowTextSelection",3,!0),n=zd(e,"onPointerDown",3,Ov),o=zd(e,"onPointerUp",3,Ov);Qb.create({id:dg(()=>e.id),onPointerDown:dg(()=>n()),onPointerUp:dg(()=>o()),enabled:dg(()=>e.enabled&&r()),ref:e.ref});var i=xu();Du(Yl(i),()=>e.children??ha),ku(t,i),Ba()}function _b(t="bits"){return globalThis.bitsIdCounter.current++,`${t}-${globalThis.bitsIdCounter.current}`}globalThis.bitsIdCounter??(globalThis.bitsIdCounter={current:0}),po=new WeakMap,fo=new WeakMap,go=new WeakMap,vo=new WeakMap,bo=new WeakSet,mo=function(){_s(this,fo,Gs(this,fo)-1),Gs(this,vo)&&Gs(this,fo)<=0&&(Gs(this,vo).call(this),zl(Gs(this,go),void 0),_s(this,vo,void 0))};const tm=new Ch;let em=Pl(null),rm=null,nm=null,om=!1;const im=dg(()=>{for(const t of tm.values())if(t)return!0;return!1});let sm=null;const am=new class{constructor(t){$s(this,bo),$s(this,po),$s(this,fo,0),$s(this,go,Pl()),$s(this,vo),_s(this,po,t)}get(...t){return _s(this,fo,Gs(this,fo)+1),void 0===Xc(Gs(this,go))&&_s(this,vo,oc(()=>{zl(Gs(this,go),Gs(this,po).call(this,...t),!0)})),rc(()=>()=>{ta(this,bo,mo).call(this)}),Xc(Gs(this,go))}}(()=>{function t(){null!==nm&&(window.clearTimeout(nm),nm=null)}function e(){null!==Xc(em)||0!==tm.size||om||zl(em,document.body.getAttribute("style"),!0)}return _g(()=>im.current,()=>{if(!im.current)return;e(),om=!1;const t=getComputedStyle(document.body),r=window.innerWidth-document.documentElement.clientWidth,n=Number.parseInt(t.paddingRight??"0",10)+r,o=Number.parseInt(t.marginRight??"0",10);r>0&&(document.body.style.paddingRight=`${n}px`,document.body.style.marginRight=`${o}px`,document.body.style.setProperty("--scrollbar-width",`${r}px`),document.body.style.overflow="hidden"),mv&&(rm=uu(document,"touchmove",t=>{t.target===document.documentElement&&(t.touches.length>1||t.preventDefault())},{passive:!1})),Vg(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),qg(()=>()=>{null==rm||rm()}),{get lockMap(){return tm},resetBodyStyle:function(){document.body.setAttribute("style",Xc(em)??""),document.body.style.removeProperty("--scrollbar-width"),mv&&(null==rm||rm()),zl(em,null)},scheduleCleanupIfNoNewLocks:function(e,r){t(),om=!0,sm=Date.now();const n=sm,o=null===e?24:e;nm=window.setTimeout(()=>{nm=null,sm===n&&(cm(tm)?om=!1:(om=!1,r()))},o)},cancelPendingCleanup:t,ensureInitialStyleCaptured:e}});class lm{constructor(t,e=()=>null){$s(this,wo,_b()),$s(this,yo),$s(this,xo,()=>null),$s(this,ko),Qs(this,"locked"),_s(this,yo,t),_s(this,xo,e),_s(this,ko,am.get()),Gs(this,ko)&&(Gs(this,ko).cancelPendingCleanup(),Gs(this,ko).ensureInitialStyleCaptured(),Gs(this,ko).lockMap.set(Gs(this,wo),Gs(this,yo)??!1),this.locked=dg(()=>Gs(this,ko).lockMap.get(Gs(this,wo))??!1,t=>Gs(this,ko).lockMap.set(Gs(this,wo),t)),qg(()=>{if(Gs(this,ko).lockMap.delete(Gs(this,wo)),cm(Gs(this,ko).lockMap))return;const t=Gs(this,xo).call(this);Gs(this,ko).scheduleCleanupIfNoNewLocks(t,()=>{Gs(this,ko).resetBodyStyle()})}))}}function cm(t){for(const[e,r]of t)if(r)return!0;return!1}function um(t,e){Za(e,!0);let r=zd(e,"preventScroll",3,!0),n=zd(e,"restoreScrollDelay",3,null);r()&&new lm(r(),()=>n()),Ba()}wo=new WeakMap,yo=new WeakMap,xo=new WeakMap,ko=new WeakMap;var dm=bu("<div><!></div>");function hm(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"forceMount",3,!1),i=zd(e,"ref",15,null),s=Ed(e,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Fv.create({id:dg(()=>n()),ref:dg(()=>i(),t=>i(t))}),l=Cl(()=>Hg(s,a.props));var c=xu(),u=Yl(c),d=t=>{var r=xu(),n=Yl(r),o=t=>{var r=xu(),n=Yl(r);{let t=Cl(()=>({props:Hg(Xc(l)),...a.snippetProps}));Du(n,()=>e.child,()=>Xc(t))}ku(t,r)},i=t=>{var r=dm();id(r,t=>({...t}),[()=>Hg(Xc(l))]),Du(Ul(r),()=>e.children??ha,()=>a.snippetProps),ku(t,r)};Pu(n,t=>{e.child?t(o):t(i,!1)}),ku(t,r)};Pu(u,t=>{(a.shouldRender||o())&&t(d)}),ku(t,c),Ba()}var pm=bu("<button><!></button>");function fm(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"disabled",3,!1),s=Ed(e,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Nv.create({id:dg(()=>n()),ref:dg(()=>o(),t=>o(t)),disabled:dg(()=>Boolean(i()))}),l=Cl(()=>Hg(s,a.props));var c=xu(),u=Yl(c),d=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(l)})),ku(t,r)},h=t=>{var r=pm();id(r,()=>({...Xc(l)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(u,t=>{e.child?t(d):t(h,!1)}),ku(t,c),Ba()}var gm=bu("<div><!></div>");function vm(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=Ed(e,["$$slots","$$events","$$legacy","id","children","child","ref"]);const s=Iv.create({id:dg(()=>n()),ref:dg(()=>o(),t=>o(t))}),a=Cl(()=>Hg(i,s.props));var l=xu(),c=Yl(l),u=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(a)})),ku(t,r)},d=t=>{var r=gm();id(r,()=>({...Xc(a)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(c,t=>{e.child?t(u):t(d,!1)}),ku(t,l),Ba()}const bm=["top","right","bottom","left"],mm=Math.min,wm=Math.max,ym=Math.round,xm=Math.floor,km=t=>({x:t,y:t}),Cm={left:"right",right:"left",bottom:"top",top:"bottom"},Mm={start:"end",end:"start"};function Sm(t,e,r){return wm(t,mm(e,r))}function Am(t,e){return"function"==typeof t?t(e):t}function Wm(t){return t.split("-")[0]}function Om(t){return t.split("-")[1]}function Em(t){return"x"===t?"y":"x"}function Pm(t){return"y"===t?"height":"width"}const Tm=new Set(["top","bottom"]);function zm(t){return Tm.has(Wm(t))?"y":"x"}function Nm(t){return Em(zm(t))}function Lm(t){return t.replace(/start|end/g,t=>Mm[t])}const Im=["left","right"],Rm=["right","left"],Fm=["top","bottom"],jm=["bottom","top"];function Dm(t){return t.replace(/left|right|bottom|top/g,t=>Cm[t])}function Hm(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function qm(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function Vm(t,e,r){let{reference:n,floating:o}=t;const i=zm(e),s=Nm(e),a=Pm(s),l=Wm(e),c="y"===i,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,h=n[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}switch(Om(e)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Zm(t,e){var r;void 0===e&&(e={});const{x:n,y:o,platform:i,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Am(e,t),f=Hm(p),g=a[h?"floating"===d?"reference":"floating":d],v=qm(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(g)))||r?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b="floating"===d?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},y=qm(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:m,strategy:l}):b);return{top:(v.top-y.top+f.top)/w.y,bottom:(y.bottom-v.bottom+f.bottom)/w.y,left:(v.left-y.left+f.left)/w.x,right:(y.right-v.right+f.right)/w.x}}function Bm(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Km(t){return bm.some(e=>t[e]>=0)}const Um=new Set(["left","top"]);function Ym(){return"undefined"!=typeof window}function Xm(t){return Gm(t)?(t.nodeName||"").toLowerCase():"#document"}function Qm(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Jm(t){var e;return null==(e=(Gm(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Gm(t){return!!Ym()&&(t instanceof Node||t instanceof Qm(t).Node)}function $m(t){return!!Ym()&&(t instanceof Element||t instanceof Qm(t).Element)}function _m(t){return!!Ym()&&(t instanceof HTMLElement||t instanceof Qm(t).HTMLElement)}function tw(t){return!(!Ym()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof Qm(t).ShadowRoot)}const ew=new Set(["inline","contents"]);function rw(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=fw(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!ew.has(o)}const nw=new Set(["table","td","th"]);function ow(t){return nw.has(Xm(t))}const iw=[":popover-open",":modal"];function sw(t){return iw.some(e=>{try{return t.matches(e)}catch(r){return!1}})}const aw=["transform","translate","scale","rotate","perspective"],lw=["transform","translate","scale","rotate","perspective","filter"],cw=["paint","layout","strict","content"];function uw(t){const e=dw(),r=$m(t)?fw(t):t;return aw.some(t=>!!r[t]&&"none"!==r[t])||!!r.containerType&&"normal"!==r.containerType||!e&&!!r.backdropFilter&&"none"!==r.backdropFilter||!e&&!!r.filter&&"none"!==r.filter||lw.some(t=>(r.willChange||"").includes(t))||cw.some(t=>(r.contain||"").includes(t))}function dw(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const hw=new Set(["html","body","#document"]);function pw(t){return hw.has(Xm(t))}function fw(t){return Qm(t).getComputedStyle(t)}function gw(t){return $m(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function vw(t){if("html"===Xm(t))return t;const e=t.assignedSlot||t.parentNode||tw(t)&&t.host||Jm(t);return tw(e)?e.host:e}function bw(t){const e=vw(t);return pw(e)?t.ownerDocument?t.ownerDocument.body:t.body:_m(e)&&rw(e)?e:bw(e)}function mw(t,e,r){var n;void 0===e&&(e=[]),void 0===r&&(r=!0);const o=bw(t),i=o===(null==(n=t.ownerDocument)?void 0:n.body),s=Qm(o);if(i){const t=ww(s);return e.concat(s,s.visualViewport||[],rw(o)?o:[],t&&r?mw(t):[])}return e.concat(o,mw(o,[],r))}function ww(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function yw(t){const e=fw(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=_m(t),i=o?t.offsetWidth:r,s=o?t.offsetHeight:n,a=ym(r)!==i||ym(n)!==s;return a&&(r=i,n=s),{width:r,height:n,$:a}}function xw(t){return $m(t)?t:t.contextElement}function kw(t){const e=xw(t);if(!_m(e))return km(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=yw(e);let s=(i?ym(r.width):r.width)/n,a=(i?ym(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Cw=km(0);function Mw(t){const e=Qm(t);return dw()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Cw}function Sw(t,e,r,n){void 0===e&&(e=!1),void 0===r&&(r=!1);const o=t.getBoundingClientRect(),i=xw(t);let s=km(1);e&&(n?$m(n)&&(s=kw(n)):s=kw(t));const a=function(t,e,r){return void 0===e&&(e=!1),!(!r||e&&r!==Qm(t))&&e}(i,r,n)?Mw(i):km(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const t=Qm(i),e=n&&$m(n)?Qm(n):n;let r=t,o=ww(r);for(;o&&n&&e!==r;){const t=kw(o),e=o.getBoundingClientRect(),n=fw(o),i=e.left+(o.clientLeft+parseFloat(n.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(n.paddingTop))*t.y;l*=t.x,c*=t.y,u*=t.x,d*=t.y,l+=i,c+=s,r=Qm(o),o=ww(r)}}return qm({width:u,height:d,x:l,y:c})}function Aw(t,e){const r=gw(t).scrollLeft;return e?e.left+r:Sw(Jm(t)).left+r}function Ww(t,e){const r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-Aw(t,r),y:r.top+e.scrollTop}}const Ow=new Set(["absolute","fixed"]);function Ew(t,e,r){let n;if("viewport"===e)n=function(t,e){const r=Qm(t),n=Jm(t),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const t=dw();(!t||t&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}const c=Aw(n);if(c<=0){const t=n.ownerDocument,e=t.body,r=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-e.clientWidth-o);s<=25&&(i-=s)}else c<=25&&(i+=c);return{width:i,height:s,x:a,y:l}}(t,r);else if("document"===e)n=function(t){const e=Jm(t),r=gw(t),n=t.ownerDocument.body,o=wm(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=wm(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Aw(t);const a=-r.scrollTop;return"rtl"===fw(n).direction&&(s+=wm(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:a}}(Jm(t));else if($m(e))n=function(t,e){const r=Sw(t,!0,"fixed"===e),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=_m(t)?kw(t):km(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:n*i.y}}(e,r);else{const r=Mw(t);n={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return qm(n)}function Pw(t,e){const r=vw(t);return!(r===e||!$m(r)||pw(r))&&("fixed"===fw(r).position||Pw(r,e))}function Tw(t,e,r){const n=_m(e),o=Jm(e),i="fixed"===r,s=Sw(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const l=km(0);function c(){l.x=Aw(o)}if(n||!n&&!i)if(("body"!==Xm(e)||rw(o))&&(a=gw(e)),n){const t=Sw(e,!0,i,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else o&&c();i&&!n&&o&&c();const u=!o||n||i?km(0):Ww(o,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}function zw(t){return"static"===fw(t).position}function Nw(t,e){if(!_m(t)||"fixed"===fw(t).position)return null;if(e)return e(t);let r=t.offsetParent;return Jm(t)===r&&(r=r.ownerDocument.body),r}function Lw(t,e){const r=Qm(t);if(sw(t))return r;if(!_m(t)){let e=vw(t);for(;e&&!pw(e);){if($m(e)&&!zw(e))return e;e=vw(e)}return r}let n=Nw(t,e);for(;n&&ow(n)&&zw(n);)n=Nw(n,e);return n&&pw(n)&&zw(n)&&!uw(n)?r:n||function(t){let e=vw(t);for(;_m(e)&&!pw(e);){if(uw(e))return e;if(sw(e))return null;e=vw(e)}return null}(t)||r}const Iw={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i="fixed"===o,s=Jm(n),a=!!e&&sw(e.floating);if(n===s||a&&i)return r;let l={scrollLeft:0,scrollTop:0},c=km(1);const u=km(0),d=_m(n);if((d||!d&&!i)&&(("body"!==Xm(n)||rw(s))&&(l=gw(n)),_m(n))){const t=Sw(n);c=kw(n),u.x=t.x+n.clientLeft,u.y=t.y+n.clientTop}const h=!s||d||i?km(0):Ww(s,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:r.y*c.y-l.scrollTop*c.y+u.y+h.y}},getDocumentElement:Jm,getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const i=[..."clippingAncestors"===r?sw(e)?[]:function(t,e){const r=e.get(t);if(r)return r;let n=mw(t,[],!1).filter(t=>$m(t)&&"body"!==Xm(t)),o=null;const i="fixed"===fw(t).position;let s=i?vw(t):t;for(;$m(s)&&!pw(s);){const e=fw(s),r=uw(s);r||"fixed"!==e.position||(o=null),(i?!r&&!o:!r&&"static"===e.position&&o&&Ow.has(o.position)||rw(s)&&!r&&Pw(t,s))?n=n.filter(t=>t!==s):o=e,s=vw(s)}return e.set(t,n),n}(e,this._c):[].concat(r),n],s=i[0],a=i.reduce((t,r)=>{const n=Ew(e,r,o);return t.top=wm(n.top,t.top),t.right=mm(n.right,t.right),t.bottom=mm(n.bottom,t.bottom),t.left=wm(n.left,t.left),t},Ew(e,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Lw,getElementRects:async function(t){const e=this.getOffsetParent||Lw,r=this.getDimensions,n=await r(t.floating);return{reference:Tw(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:r}=yw(t);return{width:e,height:r}},getScale:kw,isElement:$m,isRTL:function(t){return"rtl"===fw(t).direction}};function Rw(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Fw=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:s,middlewareData:a}=e,l=await async function(t,e){const{placement:r,platform:n,elements:o}=t,i=await(null==n.isRTL?void 0:n.isRTL(o.floating)),s=Wm(r),a=Om(r),l="y"===zm(r),c=Um.has(s)?-1:1,u=i&&l?-1:1,d=Am(e,t);let{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}(e,t);return s===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},jw=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:r}=t;return{x:e,y:r}}},...l}=Am(t,e),c={x:r,y:n},u=await Zm(e,l),d=zm(Wm(o)),h=Em(d);let p=c[h],f=c[d];if(i){const t="y"===h?"bottom":"right";p=Sm(p+u["y"===h?"top":"left"],p,p-u[t])}if(s){const t="y"===d?"bottom":"right";f=Sm(f+u["y"===d?"top":"left"],f,f-u[t])}const g=a.fn({...e,[h]:p,[d]:f});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[h]:i,[d]:s}}}}}},Dw=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:g=!0,...v}=Am(t,e);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const b=Wm(o),m=zm(a),w=Wm(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!g?[Dm(a)]:function(t){const e=Dm(t);return[Lm(t),e,Lm(e)]}(a)),k="none"!==f;!h&&k&&x.push(...function(t,e,r,n){const o=Om(t);let i=function(t,e,r){switch(t){case"top":case"bottom":return r?e?Rm:Im:e?Im:Rm;case"left":case"right":return e?Fm:jm;default:return[]}}(Wm(t),"start"===r,n);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(Lm)))),i}(a,g,f,y));const C=[a,...x],M=await Zm(e,v),S=[];let A=(null==(n=i.flip)?void 0:n.overflows)||[];if(u&&S.push(M[b]),d){const t=function(t,e,r){void 0===r&&(r=!1);const n=Om(t),o=Nm(t),i=Pm(o);let s="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Dm(s)),[s,Dm(s)]}(o,s,y);S.push(M[t[0]],M[t[1]])}if(A=[...A,{placement:o,overflows:S}],!S.every(t=>t<=0)){var W,O;const t=((null==(W=i.flip)?void 0:W.index)||0)+1,e=C[t];if(e&&("alignment"!==d||m===zm(e)||A.every(t=>zm(t.placement)!==m||t.overflows[0]>0)))return{data:{index:t,overflows:A},reset:{placement:e}};let r=null==(O=A.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:O.placement;if(!r)switch(p){case"bestFit":{var E;const t=null==(E=A.filter(t=>{if(k){const e=zm(t.placement);return e===m||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:E[0];t&&(r=t);break}case"initialPlacement":r=a}if(o!==r)return{reset:{placement:r}}}return{}}}},Hw=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:i,platform:s,elements:a}=e,{apply:l=()=>{},...c}=Am(t,e),u=await Zm(e,c),d=Wm(o),h=Om(o),p="y"===zm(o),{width:f,height:g}=i.floating;let v,b;"top"===d||"bottom"===d?(v=d,b=h===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(b=d,v="end"===h?"top":"bottom");const m=g-u.top-u.bottom,w=f-u.left-u.right,y=mm(g-u[v],m),x=mm(f-u[b],w),k=!e.middlewareData.shift;let C=y,M=x;if(null!=(r=e.middlewareData.shift)&&r.enabled.x&&(M=w),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(C=m),k&&!h){const t=wm(u.left,0),e=wm(u.right,0),r=wm(u.top,0),n=wm(u.bottom,0);p?M=f-2*(0!==t||0!==e?t+e:wm(u.left,u.right)):C=g-2*(0!==r||0!==n?r+n:wm(u.top,u.bottom))}await l({...e,availableWidth:M,availableHeight:C});const S=await s.getDimensions(a.floating);return f!==S.width||g!==S.height?{reset:{rects:!0}}:{}}}},qw=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Am(t,e);switch(n){case"referenceHidden":{const t=Bm(await Zm(e,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:Km(t)}}}case"escaped":{const t=Bm(await Zm(e,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:t,escaped:Km(t)}}}default:return{}}}}},Vw=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=Am(t,e)||{};if(null==c)return{};const d=Hm(u),h={x:r,y:n},p=Nm(o),f=Pm(p),g=await s.getDimensions(c),v="y"===p,b=v?"top":"left",m=v?"bottom":"right",w=v?"clientHeight":"clientWidth",y=i.reference[f]+i.reference[p]-h[p]-i.floating[f],x=h[p]-i.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]||i.floating[f]);const M=y/2-x/2,S=C/2-g[f]/2-1,A=mm(d[b],S),W=mm(d[m],S),O=A,E=C-g[f]-W,P=C/2-g[f]/2+M,T=Sm(O,P,E),z=!l.arrow&&null!=Om(o)&&P!==T&&i.reference[f]/2-(P<O?A:W)-g[f]/2<0,N=z?P<O?P-O:P-E:0;return{[p]:h[p]+N,data:{[p]:T,centerOffset:P-T-N,...z&&{alignmentOffset:N}},reset:z}}}),Zw=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:i,middlewareData:s}=e,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Am(t,e),u={x:r,y:n},d=zm(o),h=Em(d);let p=u[h],f=u[d];const g=Am(a,e),v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const t="y"===h?"height":"width",e=i.reference[h]-i.floating[t]+v.mainAxis,r=i.reference[h]+i.reference[t]-v.mainAxis;p<e?p=e:p>r&&(p=r)}if(c){var b,m;const t="y"===h?"width":"height",e=Um.has(Wm(o)),r=i.reference[d]-i.floating[t]+(e&&(null==(b=s.offset)?void 0:b[d])||0)+(e?0:v.crossAxis),n=i.reference[d]+i.reference[t]+(e?0:(null==(m=s.offset)?void 0:m[d])||0)-(e?v.crossAxis:0);f<r?f=r:f>n&&(f=n)}return{[h]:p,[d]:f}}}};function Bw(t){return"function"==typeof t?t():t}function Kw(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Uw(t,e){const r=Kw(t);return Math.round(e*r)/r}function Yw(t){return{[`--bits-${t}-content-transform-origin`]:"var(--bits-floating-transform-origin)",[`--bits-${t}-content-available-width`]:"var(--bits-floating-available-width)",[`--bits-${t}-content-available-height`]:"var(--bits-floating-available-height)",[`--bits-${t}-anchor-width`]:"var(--bits-floating-anchor-width)",[`--bits-${t}-anchor-height`]:"var(--bits-floating-anchor-height)"}}const Xw={top:"bottom",right:"left",bottom:"top",left:"right"},Qw=new Gg("Floating.Root"),Jw=new Gg("Floating.Content"),Gw=new Gg("Floating.Root");class $w{constructor(){Qs(this,"anchorNode",gg(null)),Qs(this,"customAnchorNode",gg(null)),Qs(this,"triggerNode",gg(null)),rc(()=>{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})}static create(t=!1){return t?Gw.set(new $w):Qw.set(new $w)}}Co=new WeakMap,Mo=new WeakMap,So=new WeakMap,Ao=new WeakMap,Wo=new WeakMap,Oo=new WeakMap,Eo=new WeakMap,Po=new WeakMap,To=new WeakMap,zo=new WeakMap,No=new WeakMap,Lo=new WeakMap,Io=new WeakMap,Ro=new WeakMap,Fo=new WeakMap,jo=new WeakMap,Do=new WeakMap,Ho=new WeakMap,qo=new WeakMap,Vo=new WeakMap,Zo=new WeakMap,Bo=new WeakMap,Ko=new WeakMap,Uo=new WeakMap;let _w=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"contentRef",gg(null)),Qs(this,"wrapperRef",gg(null)),Qs(this,"arrowRef",gg(null)),Qs(this,"contentAttachment",Qg(this.contentRef)),Qs(this,"wrapperAttachment",Qg(this.wrapperRef)),Qs(this,"arrowAttachment",Qg(this.arrowRef)),Qs(this,"arrowId",gg(_b())),$s(this,Co,Cl(()=>"string"==typeof this.opts.style?Lg(this.opts.style):this.opts.style?void 0:{})),$s(this,Mo),$s(this,So,new ev(()=>this.arrowRef.current??void 0)),$s(this,Ao,Cl(()=>{var t;return(null==(t=Gs(this,So))?void 0:t.width)??0})),$s(this,Wo,Cl(()=>{var t;return(null==(t=Gs(this,So))?void 0:t.height)??0})),$s(this,Oo,Cl(()=>{var t;return(null==(t=this.opts.side)?void 0:t.current)+("center"!==this.opts.align.current?`-${this.opts.align.current}`:"")})),$s(this,Eo,Cl(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current])),$s(this,Po,Cl(()=>Xc(Gs(this,Eo)).length>0)),$s(this,To,Cl(()=>({padding:this.opts.collisionPadding.current,boundary:Xc(Gs(this,Eo)).filter(Mv),altBoundary:this.hasExplicitBoundaries}))),$s(this,zo,Pl(void 0)),$s(this,No,Pl(void 0)),$s(this,Lo,Pl(void 0)),$s(this,Io,Pl(void 0)),$s(this,Ro,Cl(()=>{return[Fw({mainAxis:this.opts.sideOffset.current+Xc(Gs(this,Wo)),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&jw({mainAxis:!0,crossAxis:!1,limiter:"partial"===this.opts.sticky.current?Zw():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Dw({...this.detectOverflowOptions}),Hw({...this.detectOverflowOptions,apply:({rects:t,availableWidth:e,availableHeight:r})=>{const{width:n,height:o}=t.reference;zl(Gs(this,zo),e,!0),zl(Gs(this,No),r,!0),zl(Gs(this,Lo),n,!0),zl(Gs(this,Io),o,!0)}}),this.arrowRef.current&&Vw({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),(t={arrowWidth:Xc(Gs(this,Ao)),arrowHeight:Xc(Gs(this,Wo))},{name:"transformOrigin",options:t,fn(e){var r,n,o;const{placement:i,rects:s,middlewareData:a}=e,l=0!==(null==(r=a.arrow)?void 0:r.centerOffset),c=l?0:t.arrowWidth,u=l?0:t.arrowHeight,[d,h]=ey(i),p={start:"0%",center:"50%",end:"100%"}[h],f=((null==(n=a.arrow)?void 0:n.x)??0)+c/2,g=((null==(o=a.arrow)?void 0:o.y)??0)+u/2;let v="",b="";return"bottom"===d?(v=l?p:`${f}px`,b=-u+"px"):"top"===d?(v=l?p:`${f}px`,b=`${s.floating.height+u}px`):"right"===d?(v=-u+"px",b=l?p:`${g}px`):"left"===d&&(v=`${s.floating.width+u}px`,b=l?p:`${g}px`),{data:{x:v,y:b}}}}),this.opts.hideWhenDetached.current&&qw({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean);var t})),Qs(this,"floating"),$s(this,Fo,Cl(()=>ey(this.floating.placement)[0])),$s(this,jo,Cl(()=>ey(this.floating.placement)[1])),$s(this,Do,Cl(()=>{var t;return(null==(t=this.floating.middlewareData.arrow)?void 0:t.x)??0})),$s(this,Ho,Cl(()=>{var t;return(null==(t=this.floating.middlewareData.arrow)?void 0:t.y)??0})),$s(this,qo,Cl(()=>{var t;return 0!==(null==(t=this.floating.middlewareData.arrow)?void 0:t.centerOffset)})),$s(this,Vo,Pl()),$s(this,Zo,Cl(()=>Xw[this.placedSide])),$s(this,Bo,Cl(()=>{var t,e,r;return{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":`${null==(t=this.floating.middlewareData.transformOrigin)?void 0:t.x} ${null==(e=this.floating.middlewareData.transformOrigin)?void 0:e.y}`,"--bits-floating-available-width":`${Xc(Gs(this,zo))}px`,"--bits-floating-available-height":`${Xc(Gs(this,No))}px`,"--bits-floating-anchor-width":`${Xc(Gs(this,Lo))}px`,"--bits-floating-anchor-height":`${Xc(Gs(this,Io))}px`,...(null==(r=this.floating.middlewareData.hide)?void 0:r.referenceHidden)&&{visibility:"hidden","pointer-events":"none"},...Xc(Gs(this,Co))},dir:this.opts.dir.current,...this.wrapperAttachment}})),$s(this,Ko,Cl(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Fg({...Xc(Gs(this,Co))}),...this.contentAttachment}))),$s(this,Uo,Cl(()=>({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}))),this.opts=t,this.root=e,t.customAnchor&&(this.root.customAnchorNode.current=t.customAnchor.current),_g(()=>t.customAnchor.current,t=>{this.root.customAnchorNode.current=t}),this.floating=function(t){const e=t.whileElementsMounted,r=Cl(()=>Bw(t.open)??!0),n=Cl(()=>Bw(t.middleware)),o=Cl(()=>Bw(t.transform)??!0),i=Cl(()=>Bw(t.placement)??"bottom"),s=Cl(()=>Bw(t.strategy)??"absolute"),a=Cl(()=>Bw(t.sideOffset)??0),l=Cl(()=>Bw(t.alignOffset)??0),c=t.reference;let u=Pl(0),d=Pl(0);const h=gg(null);let p=Pl(Rl(Xc(s))),f=Pl(Rl(Xc(i))),g=Pl(Rl({})),v=Pl(!1);const b=Cl(()=>{const t=h.current?Uw(h.current,Xc(u)):Xc(u),e=h.current?Uw(h.current,Xc(d)):Xc(d);return Xc(o)?{position:Xc(p),left:"0",top:"0",transform:`translate(${t}px, ${e}px)`,...h.current&&Kw(h.current)>=1.5&&{willChange:"transform"}}:{position:Xc(p),left:`${t}px`,top:`${e}px`}});let m;function w(){null!==c.current&&null!==h.current&&((t,e,r)=>{const n=new Map,o={platform:Iw,...r},i={...o.platform,_c:n};return(async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:d}=Vm(c,n,l),h=n,p={},f=0;for(let g=0;g<a.length;g++){const{name:r,fn:i}=a[g],{x:v,y:b,data:m,reset:w}=await i({x:u,y:d,initialPlacement:n,placement:h,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});u=null!=v?v:u,d=null!=b?b:d,p={...p,[r]:{...p[r],...m}},w&&f<=50&&(f++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):w.rects),({x:u,y:d}=Vm(c,h,l))),g=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:p}})(t,e,{...o,platform:i})})(c.current,h.current,{middleware:Xc(n),placement:Xc(i),strategy:Xc(s)}).then(t=>{if(!Xc(r)&&0!==Xc(u)&&0!==Xc(d)){const e=Math.max(Math.abs(Xc(a)),Math.abs(Xc(l)),15);if(t.x<=e&&t.y<=e)return}zl(u,t.x,!0),zl(d,t.y,!0),zl(p,t.strategy,!0),zl(f,t.placement,!0),zl(g,t.middlewareData,!0),zl(v,!0)})}function y(){"function"==typeof m&&(m(),m=void 0)}return rc(w),rc(function(){y(),void 0!==e?null!==c.current&&null!==h.current&&(m=e(c.current,h.current,w)):w()}),rc(function(){Xc(r)||zl(v,!1)}),rc(()=>y),{floating:h,reference:c,get strategy(){return Xc(p)},get placement(){return Xc(f)},get middlewareData(){return Xc(g)},get isPositioned(){return Xc(v)},get floatingStyles(){return Xc(b)},get update(){return w}}}({strategy:()=>this.opts.strategy.current,placement:()=>Xc(Gs(this,Oo)),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...t)=>{var e;return function(t,e,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=xw(t),u=o||i?[...c?mw(c):[],...mw(e)]:[];u.forEach(t=>{o&&t.addEventListener("scroll",r,{passive:!0}),i&&t.addEventListener("resize",r)});const d=c&&a?function(t,e){let r,n=null;const o=Jm(t);function i(){var t;clearTimeout(r),null==(t=n)||t.disconnect(),n=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=t.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(a||e(),!h||!p)return;const f={rootMargin:-xm(d)+"px "+-xm(o.clientWidth-(u+h))+"px "+-xm(o.clientHeight-(d+p))+"px "+-xm(u)+"px",threshold:wm(0,mm(1,l))||1};let g=!0;function v(e){const n=e[0].intersectionRatio;if(n!==l){if(!g)return s();n?s(!1,n):r=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||Rw(c,t.getBoundingClientRect())||s(),g=!1}try{n=new IntersectionObserver(v,{...f,root:o.ownerDocument})}catch(b){n=new IntersectionObserver(v,f)}n.observe(t)}(!0),i}(c,r):null;let h,p=-1,f=null;s&&(f=new ResizeObserver(t=>{let[n]=t;n&&n.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=f)||t.observe(e)})),r()}),c&&!l&&f.observe(c),f.observe(e));let g=l?Sw(t):null;return l&&function e(){const n=Sw(t);g&&!Rw(g,n)&&r(),g=n,h=requestAnimationFrame(e)}(),r(),()=>{var t;u.forEach(t=>{o&&t.removeEventListener("scroll",r),i&&t.removeEventListener("resize",r)}),null==d||d(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(h)}}(...t,{animationFrame:"always"===(null==(e=Gs(this,Mo))?void 0:e.current)})},open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),rc(()=>{var t;this.floating.isPositioned&&(null==(t=this.opts.onPlaced)||t.current())}),_g(()=>this.contentRef.current,t=>{if(!t)return;const e=Yg(t);this.contentZIndex=e.getComputedStyle(t).zIndex}),rc(()=>{this.floating.floating.current=this.wrapperRef.current})}static create(e,r=!1){return r?Jw.set(new t(e,Gw.get())):Jw.set(new t(e,Qw.get()))}get hasExplicitBoundaries(){return Xc(Gs(this,Po))}set hasExplicitBoundaries(t){zl(Gs(this,Po),t)}get detectOverflowOptions(){return Xc(Gs(this,To))}set detectOverflowOptions(t){zl(Gs(this,To),t)}get middleware(){return Xc(Gs(this,Ro))}set middleware(t){zl(Gs(this,Ro),t)}get placedSide(){return Xc(Gs(this,Fo))}set placedSide(t){zl(Gs(this,Fo),t)}get placedAlign(){return Xc(Gs(this,jo))}set placedAlign(t){zl(Gs(this,jo),t)}get arrowX(){return Xc(Gs(this,Do))}set arrowX(t){zl(Gs(this,Do),t)}get arrowY(){return Xc(Gs(this,Ho))}set arrowY(t){zl(Gs(this,Ho),t)}get cannotCenterArrow(){return Xc(Gs(this,qo))}set cannotCenterArrow(t){zl(Gs(this,qo),t)}get contentZIndex(){return Xc(Gs(this,Vo))}set contentZIndex(t){zl(Gs(this,Vo),t,!0)}get arrowBaseSide(){return Xc(Gs(this,Zo))}set arrowBaseSide(t){zl(Gs(this,Zo),t)}get wrapperProps(){return Xc(Gs(this,Bo))}set wrapperProps(t){zl(Gs(this,Bo),t)}get props(){return Xc(Gs(this,Ko))}set props(t){zl(Gs(this,Ko),t)}get arrowStyle(){return Xc(Gs(this,Uo))}set arrowStyle(t){zl(Gs(this,Uo),t)}};class ty{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),this.opts=t,this.root=e,t.virtualEl&&t.virtualEl.current?e.triggerNode=fg(t.virtualEl.current):e.triggerNode=t.ref}static create(t,e=!1){return new ty(t,e?Gw.get():Qw.get())}}function ey(t){const[e,r="center"]=t.split("-");return[e,r]}function ry(t,e){Za(e,!0);let r=zd(e,"tooltip",3,!1);$w.create(r());var n=xu();Du(Yl(n),()=>e.children??ha),ku(t,n),Ba()}function ny(t,e){Za(e,!0);let r=zd(e,"tooltip",3,!1);ty.create({id:dg(()=>e.id),virtualEl:dg(()=>e.virtualEl),ref:e.ref},r());var n=xu();Du(Yl(n),()=>e.children??ha),ku(t,n),Ba()}var oy=bu("<!> <!>",1);function iy(t,e){Za(e,!0);let r=zd(e,"interactOutsideBehavior",3,"close"),n=zd(e,"trapFocus",3,!0),o=zd(e,"isValidEvent",3,()=>!1),i=zd(e,"customAnchor",3,null),s=zd(e,"isStatic",3,!1),a=zd(e,"tooltip",3,!1),l=Ed(e,["$$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"]);{const c=(t,i)=>{var s=oy(),a=Yl(s),c=t=>{um(0,{get preventScroll(){return e.preventScroll}})},u=t=>{var r=xu(),n=Yl(r),o=t=>{um(0,{get preventScroll(){return e.preventScroll}})};Pu(n,t=>{e.forceMount||t(o)},!0),ku(t,r)};Pu(a,t=>{e.forceMount&&e.enabled?t(c):t(u,!1)});{const t=(t,n)=>{Bb(t,{get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get enabled(){return e.enabled},get ref(){return e.ref},children:(t,s)=>{{const s=(t,r)=>{$b(t,{get id(){return e.id},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get enabled(){return e.enabled},get ref(){return e.ref},children:(t,o)=>{var s=xu(),a=Yl(s);{let t=Cl(()=>({props:Hg(l,null==i?void 0:i().props,null==r?void 0:r().props,null==n?void 0:n().props,{style:{pointerEvents:"auto"}}),wrapperProps:null==i?void 0:i().wrapperProps}));Du(a,()=>e.popper??ha,()=>Xc(t))}ku(t,s)},$$slots:{default:!0}})};Vb(t,{get id(){return e.id},get onInteractOutside(){return e.onInteractOutside},get onFocusOutside(){return e.onFocusOutside},get interactOutsideBehavior(){return r()},get isValidEvent(){return o()},get enabled(){return e.enabled},get ref(){return e.ref},children:s,$$slots:{default:!0}})}},$$slots:{default:!0}})};Xb(Xl(a,2),{get onOpenAutoFocus(){return e.onOpenAutoFocus},get onCloseAutoFocus(){return e.onCloseAutoFocus},get loop(){return e.loop},get enabled(){return e.enabled},get trapFocus(){return n()},get forceMount(){return e.forceMount},get ref(){return e.ref},focusScope:t,$$slots:{focusScope:!0}})}ku(t,s)};!function(t,e){let r=zd(e,"isStatic",3,!1),n=Ed(e,["$$slots","$$events","$$legacy","content","isStatic","onPlaced"]);var o=xu(),i=Yl(o),s=t=>{!function(t,e){Za(e,!0),Nd(()=>{var t;null==(t=e.onPlaced)||t.call(e)});var r=xu();Du(Yl(r),()=>e.content??ha,()=>({props:{},wrapperProps:{}})),ku(t,r),Ba()}(t,{get content(){return e.content},get onPlaced(){return e.onPlaced}})},a=t=>{!function(t,e){Za(e,!0);let r=zd(e,"side",3,"bottom"),n=zd(e,"sideOffset",3,0),o=zd(e,"align",3,"center"),i=zd(e,"alignOffset",3,0),s=zd(e,"arrowPadding",3,0),a=zd(e,"avoidCollisions",3,!0),l=zd(e,"collisionBoundary",19,()=>[]),c=zd(e,"collisionPadding",3,0),u=zd(e,"hideWhenDetached",3,!1),d=zd(e,"onPlaced",3,()=>{}),h=zd(e,"sticky",3,"partial"),p=zd(e,"updatePositionStrategy",3,"optimized"),f=zd(e,"strategy",3,"fixed"),g=zd(e,"dir",3,"ltr"),v=zd(e,"style",19,()=>({})),b=zd(e,"wrapperId",19,_b),m=zd(e,"customAnchor",3,null),w=zd(e,"tooltip",3,!1);const y=_w.create({side:dg(()=>r()),sideOffset:dg(()=>n()),align:dg(()=>o()),alignOffset:dg(()=>i()),id:dg(()=>e.id),arrowPadding:dg(()=>s()),avoidCollisions:dg(()=>a()),collisionBoundary:dg(()=>l()),collisionPadding:dg(()=>c()),hideWhenDetached:dg(()=>u()),onPlaced:dg(()=>d()),sticky:dg(()=>h()),updatePositionStrategy:dg(()=>p()),strategy:dg(()=>f()),dir:dg(()=>g()),style:dg(()=>v()),enabled:dg(()=>e.enabled),wrapperId:dg(()=>b()),customAnchor:dg(()=>m())},w()),x=Cl(()=>Hg(y.wrapperProps,{style:{pointerEvents:"auto"}}));var k=xu();Du(Yl(k),()=>e.content??ha,()=>({props:y.props,wrapperProps:Xc(x)})),ku(t,k),Ba()}(t,Td({get content(){return e.content},get onPlaced(){return e.onPlaced}},()=>n))};Pu(i,t=>{r()?t(s):t(a,!1)}),ku(t,o)}(t,{get isStatic(){return s()},get id(){return e.id},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return e.strategy},get dir(){return e.dir},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get enabled(){return e.enabled},get tooltip(){return a()},content:c,$$slots:{content:!0}})}Ba()}function sy(t,e){let r=zd(e,"interactOutsideBehavior",3,"close"),n=zd(e,"trapFocus",3,!0),o=zd(e,"isValidEvent",3,()=>!1),i=zd(e,"customAnchor",3,null),s=zd(e,"isStatic",3,!1),a=Ed(e,["$$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=xu(),c=Yl(l),u=t=>{iy(t,Td({get popper(){return e.popper},get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get id(){return e.id},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return e.strategy},get dir(){return e.dir},get preventScroll(){return e.preventScroll},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get isStatic(){return s()},get enabled(){return e.open},get onInteractOutside(){return e.onInteractOutside},get onCloseAutoFocus(){return e.onCloseAutoFocus},get onOpenAutoFocus(){return e.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return e.loop},get trapFocus(){return n()},get isValidEvent(){return o()},get onFocusOutside(){return e.onFocusOutside},forceMount:!1,get ref(){return e.ref}},()=>a))};Pu(c,t=>{e.shouldRender&&t(u)}),ku(t,l)}function ay(t,e){let r=zd(e,"interactOutsideBehavior",3,"close"),n=zd(e,"trapFocus",3,!0),o=zd(e,"isValidEvent",3,()=>!1),i=zd(e,"customAnchor",3,null),s=zd(e,"isStatic",3,!1),a=Ed(e,["$$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"]);iy(t,Td({get popper(){return e.popper},get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get id(){return e.id},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return e.strategy},get dir(){return e.dir},get preventScroll(){return e.preventScroll},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get isStatic(){return s()},get enabled(){return e.enabled},get onInteractOutside(){return e.onInteractOutside},get onCloseAutoFocus(){return e.onCloseAutoFocus},get onOpenAutoFocus(){return e.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return e.loop},get trapFocus(){return n()},get isValidEvent(){return o()},get onFocusOutside(){return e.onFocusOutside}},()=>a,{forceMount:!0}))}var ly=bu("<div><!></div>");function cy(t,e){const r=Cu();Za(e,!0);let n=zd(e,"ref",15,null),o=zd(e,"id",19,()=>Ev(r)),i=zd(e,"disabled",3,!1),s=zd(e,"onSelect",3,Ov),a=zd(e,"closeOnSelect",3,!0),l=Ed(e,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const c=jb.create({id:dg(()=>o()),disabled:dg(()=>i()),onSelect:dg(()=>s()),ref:dg(()=>n(),t=>n(t)),closeOnSelect:dg(()=>a())}),u=Cl(()=>Hg(l,c.props));var d=xu(),h=Yl(d),p=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(u)})),ku(t,r)},f=t=>{var r=ly();id(r,()=>({...Xc(u)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(h,t=>{e.child?t(p):t(f,!1)}),ku(t,d),Ba()}const uy=sv({component:"popover",parts:["root","trigger","content","close","overlay"]}),dy=new Gg("Popover.Root");Yo=new WeakMap,Xo=new WeakMap,Qo=new WeakMap;let hy=class t{constructor(t){Qs(this,"opts"),$s(this,Yo,Pl(null)),Qs(this,"contentPresence"),$s(this,Xo,Pl(null)),$s(this,Qo,Pl(null)),Qs(this,"overlayPresence"),this.opts=t,this.contentPresence=new Wv({ref:dg(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Wv({ref:dg(()=>this.overlayNode),open:this.opts.open})}static create(e){return dy.set(new t(e))}get contentNode(){return Xc(Gs(this,Yo))}set contentNode(t){zl(Gs(this,Yo),t,!0)}get triggerNode(){return Xc(Gs(this,Xo))}set triggerNode(t){zl(Gs(this,Xo),t,!0)}get overlayNode(){return Xc(Gs(this,Qo))}set overlayNode(t){zl(Gs(this,Qo),t,!0)}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}};Jo=new WeakMap,Go=new WeakMap;let py=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),Qs(this,"onInteractOutside",t=>{if(this.opts.onInteractOutside.current(t),t.defaultPrevented)return;if(!kv(t.target))return;const e=t.target.closest(uy.selector("trigger"));if(!e||e!==this.root.triggerNode){if(this.opts.customAnchor.current)if(kv(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(t.target))return}else if("string"==typeof this.opts.customAnchor.current){const e=document.querySelector(this.opts.customAnchor.current);if(e&&e.contains(t.target))return}this.root.handleClose()}}),Qs(this,"onEscapeKeydown",t=>{this.opts.onEscapeKeydown.current(t),t.defaultPrevented||this.root.handleClose()}),$s(this,Jo,Cl(()=>({open:this.root.opts.open.current}))),$s(this,Go,Cl(()=>({id:this.opts.id.current,tabindex:-1,"data-state":ov(this.root.opts.open.current),[uy.content]:"",style:{pointerEvents:"auto"},...this.attachment}))),Qs(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}),this.opts=t,this.root=e,this.attachment=Qg(this.opts.ref,t=>this.root.contentNode=t)}static create(e){return new t(e,dy.get())}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return Xc(Gs(this,Jo))}set snippetProps(t){zl(Gs(this,Jo),t)}get props(){return Xc(Gs(this,Go))}set props(t){zl(Gs(this,Go),t)}};var fy=bu("<div><div><!></div></div>"),gy=bu("<div><div><!></div></div>");function vy(t,e){const r=Cu();Za(e,!0);let n=zd(e,"ref",15,null),o=zd(e,"id",19,()=>Ev(r)),i=zd(e,"forceMount",3,!1),s=zd(e,"onCloseAutoFocus",3,Ov),a=zd(e,"onEscapeKeydown",3,Ov),l=zd(e,"onInteractOutside",3,Ov),c=zd(e,"trapFocus",3,!0),u=zd(e,"preventScroll",3,!1),d=zd(e,"customAnchor",3,null),h=Ed(e,["$$slots","$$events","$$legacy","child","children","ref","id","forceMount","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","customAnchor"]);const p=py.create({id:dg(()=>o()),ref:dg(()=>n(),t=>n(t)),onInteractOutside:dg(()=>l()),onEscapeKeydown:dg(()=>a()),customAnchor:dg(()=>d())}),f=Cl(()=>Hg(h,p.props));var g=xu(),v=Yl(g),b=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("popover")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...p.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=fy();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};ay(t,Td(()=>Xc(f),()=>p.popperProps,{get ref(){return p.opts.ref},get enabled(){return p.root.opts.open.current},get id(){return o()},get trapFocus(){return c()},get preventScroll(){return u()},loop:!0,forceMount:!0,get customAnchor(){return d()},get onCloseAutoFocus(){return s()},get shouldRender(){return p.shouldRender},popper:r,$$slots:{popper:!0}}))}},m=t=>{var r=xu(),n=Yl(r),a=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("popover")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...p.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=gy();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};sy(t,Td(()=>Xc(f),()=>p.popperProps,{get ref(){return p.opts.ref},get open(){return p.root.opts.open.current},get id(){return o()},get trapFocus(){return c()},get preventScroll(){return u()},loop:!0,forceMount:!1,get customAnchor(){return d()},get onCloseAutoFocus(){return s()},get shouldRender(){return p.shouldRender},popper:r,$$slots:{popper:!0}}))}};Pu(n,t=>{i()||t(a)},!0),ku(t,r)};Pu(v,t=>{i()?t(b):t(m,!1)}),ku(t,g),Ba()}function by(t,e){Za(e,!0);let r=zd(e,"open",15,!1),n=zd(e,"onOpenChange",3,Ov),o=zd(e,"onOpenChangeComplete",3,Ov);zv.create({variant:dg(()=>"dialog"),open:dg(()=>r(),t=>{r(t),n()(t)}),onOpenChangeComplete:dg(()=>o())});var i=xu();Du(Yl(i),()=>e.children??ha),ku(t,i),Ba()}var my=bu("<!> <!>",1),wy=bu("<!> <div><!></div>",1);function yy(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"forceMount",3,!1),s=zd(e,"onCloseAutoFocus",3,Ov),a=zd(e,"onOpenAutoFocus",3,Ov),l=zd(e,"onEscapeKeydown",3,Ov),c=zd(e,"onInteractOutside",3,Ov),u=zd(e,"trapFocus",3,!0),d=zd(e,"preventScroll",3,!0),h=zd(e,"restoreScrollDelay",3,null),p=Ed(e,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const f=Rv.create({id:dg(()=>n()),ref:dg(()=>o(),t=>o(t))}),g=Cl(()=>Hg(p,f.props));var v=xu(),b=Yl(v),m=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().props;Bb(t,Td(()=>Xc(g),{get enabled(){return f.root.opts.open.current},get ref(){return f.opts.ref},onEscapeKeydown:t=>{l()(t),t.defaultPrevented||f.root.handleClose()},children:(t,r)=>{Vb(t,Td(()=>Xc(g),{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},onInteractOutside:t=>{c()(t),t.defaultPrevented||f.root.handleClose()},children:(t,r)=>{$b(t,Td(()=>Xc(g),{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},children:(t,r)=>{var o=xu(),i=Yl(o),s=t=>{var r=my(),o=Yl(r),i=t=>{um(0,{get preventScroll(){return d()},get restoreScrollDelay(){return h()}})};Pu(o,t=>{f.root.opts.open.current&&t(i)});var s=Xl(o,2);{let t=Cl(()=>({props:Hg(Xc(g),n()),...f.snippetProps}));Du(s,()=>e.child,()=>Xc(t))}ku(t,r)},a=t=>{var r=wy(),o=Yl(r);um(0,{get preventScroll(){return d()}});var i=Xl(o,2);id(i,t=>({...t}),[()=>Hg(Xc(g),n())]),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(i,t=>{e.child?t(s):t(a,!1)}),ku(t,o)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))};Xb(t,{get ref(){return f.opts.ref},loop:!0,get trapFocus(){return u()},get enabled(){return f.root.opts.open.current},get onOpenAutoFocus(){return a()},get onCloseAutoFocus(){return s()},focusScope:r,$$slots:{focusScope:!0}})}};Pu(b,t=>{(f.shouldRender||i())&&t(m)}),ku(t,v),Ba()}function xy(t,e){Za(e,!0);let r=zd(e,"open",15,!1),n=zd(e,"dir",3,"ltr"),o=zd(e,"onOpenChange",3,Ov),i=zd(e,"onOpenChangeComplete",3,Ov),s=zd(e,"_internal_variant",3,"dropdown-menu");const a=Lb.create({variant:dg(()=>s()),dir:dg(()=>n()),onClose:()=>{r(!1),o()(!1)}});Ib.create({open:dg(()=>r(),t=>{r(t),o()(t)}),onOpenChangeComplete:dg(()=>i())},a),ry(t,{children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.children??ha),ku(t,n)},$$slots:{default:!0}}),Ba()}var ky=bu("<div><div><!></div></div>"),Cy=bu("<div><div><!></div></div>");function My(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"loop",3,!0),s=zd(e,"onInteractOutside",3,Ov),a=zd(e,"onEscapeKeydown",3,Ov),l=zd(e,"onCloseAutoFocus",3,Ov),c=zd(e,"forceMount",3,!1),u=zd(e,"trapFocus",3,!1),d=Ed(e,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus"]);const h=Rb.create({id:dg(()=>n()),loop:dg(()=>i()),ref:dg(()=>o(),t=>o(t)),onCloseAutoFocus:dg(()=>l())}),p=Cl(()=>Hg(d,h.props));function f(t){if(h.handleInteractOutside(t),!t.defaultPrevented&&(s()(t),!t.defaultPrevented)){if(t.target&&t.target instanceof Element){const e=`[${h.parentMenu.root.getBitsAttr("sub-content")}]`;if(t.target.closest(e))return}h.parentMenu.onClose()}}function g(t){a()(t),t.defaultPrevented||h.parentMenu.onClose()}var v=xu(),b=Yl(v),m=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("dropdown-menu")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...h.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=ky();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};ay(t,Td(()=>Xc(p),()=>h.popperProps,{get ref(){return h.opts.ref},get enabled(){return h.parentMenu.opts.open.current},onInteractOutside:f,onEscapeKeydown:g,get trapFocus(){return u()},get loop(){return i()},forceMount:!0,get id(){return n()},get shouldRender(){return h.shouldRender},popper:r,$$slots:{popper:!0}}))}},w=t=>{var r=xu(),o=Yl(r),s=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("dropdown-menu")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...h.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=Cy();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};sy(t,Td(()=>Xc(p),()=>h.popperProps,{get ref(){return h.opts.ref},get open(){return h.parentMenu.opts.open.current},onInteractOutside:f,onEscapeKeydown:g,get trapFocus(){return u()},get loop(){return i()},forceMount:!1,get id(){return n()},get shouldRender(){return h.shouldRender},popper:r,$$slots:{popper:!0}}))}};Pu(o,t=>{c()||t(s)},!0),ku(t,r)};Pu(b,t=>{c()?t(m):t(w,!1)}),ku(t,v),Ba()}var Sy=bu("<button><!></button>");function Ay(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"disabled",3,!1),s=zd(e,"type",3,"button"),a=Ed(e,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const l=Db.create({id:dg(()=>n()),disabled:dg(()=>i()??!1),ref:dg(()=>o(),t=>o(t))}),c=Cl(()=>Hg(a,l.props,{type:s()}));ny(t,{get id(){return n()},get ref(){return l.opts.ref},children:(t,r)=>{var n=xu(),o=Yl(n),i=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(c)})),ku(t,r)},s=t=>{var r=Sy();id(r,()=>({...Xc(c)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(o,t=>{e.child?t(i):t(s,!1)}),ku(t,n)},$$slots:{default:!0}}),Ba()}function Wy(t,e){Za(e,!0);let r=zd(e,"open",15,!1),n=zd(e,"onOpenChange",3,Ov),o=zd(e,"onOpenChangeComplete",3,Ov);hy.create({open:dg(()=>r(),t=>{r(t),n()(t)}),onOpenChangeComplete:dg(()=>o())}),ry(t,{children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.children??ha),ku(t,n)},$$slots:{default:!0}}),Ba()}class Oy{constructor(t,e){$s(this,ei),$s(this,$o),$s(this,_o),$s(this,ti,null),_s(this,_o,t),_s(this,$o,e),this.stop=this.stop.bind(this),this.start=this.start.bind(this),qg(this.stop)}stop(){ta(this,ei,ri).call(this)}start(...t){ta(this,ei,ri).call(this),_s(this,ti,window.setTimeout(()=>{_s(this,ti,null),Gs(this,_o).call(this,...t)},Gs(this,$o)))}}$o=new WeakMap,_o=new WeakMap,ti=new WeakMap,ei=new WeakSet,ri=function(){null!==Gs(this,ti)&&(window.clearTimeout(Gs(this,ti)),_s(this,ti,null))};const Ey=sv({component:"tooltip",parts:["content","trigger"]}),Py=new Gg("Tooltip.Provider"),Ty=new Gg("Tooltip.Root");ni=new WeakMap,oi=new WeakMap,ii=new WeakMap,si=new WeakMap,ai=new WeakMap;let zy=class t{constructor(t){Qs(this,"opts"),$s(this,ni,Pl(!0)),Qs(this,"isPointerInTransit",gg(!1)),$s(this,oi),$s(this,ii,Pl(null)),$s(this,si,()=>{0!==this.opts.skipDelayDuration.current&&Gs(this,oi).start()}),$s(this,ai,()=>{Gs(this,oi).stop()}),Qs(this,"onOpen",t=>{Xc(Gs(this,ii))&&Xc(Gs(this,ii))!==t&&Xc(Gs(this,ii)).handleClose(),Gs(this,ai).call(this),this.isOpenDelayed=!1,zl(Gs(this,ii),t,!0)}),Qs(this,"onClose",t=>{Xc(Gs(this,ii))===t&&zl(Gs(this,ii),null),Gs(this,si).call(this)}),Qs(this,"isTooltipOpen",t=>Xc(Gs(this,ii))===t),this.opts=t,_s(this,oi,new Oy(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current))}static create(e){return Py.set(new t(e))}get isOpenDelayed(){return Xc(Gs(this,ni))}set isOpenDelayed(t){zl(Gs(this,ni),t,!0)}};li=new WeakMap,ci=new WeakMap,ui=new WeakMap,di=new WeakMap,hi=new WeakMap,pi=new WeakMap,fi=new WeakMap,gi=new WeakMap,vi=new WeakMap,bi=new WeakMap,mi=new WeakMap;let Ny=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"provider"),$s(this,li,Cl(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current)),$s(this,ci,Cl(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current)),$s(this,ui,Cl(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current)),$s(this,di,Cl(()=>this.opts.disabled.current??this.provider.opts.disabled.current)),$s(this,hi,Cl(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current)),$s(this,pi,Pl(null)),Qs(this,"contentPresence"),$s(this,fi,Pl(null)),$s(this,gi,Pl(!1)),$s(this,vi),$s(this,bi,Cl(()=>this.opts.open.current?Xc(Gs(this,gi))?"delayed-open":"instant-open":"closed")),Qs(this,"handleOpen",()=>{Gs(this,vi).stop(),zl(Gs(this,gi),!1),this.opts.open.current=!0}),Qs(this,"handleClose",()=>{Gs(this,vi).stop(),this.opts.open.current=!1}),$s(this,mi,()=>{Gs(this,vi).stop();const t=!this.provider.isOpenDelayed,e=this.delayDuration??0;t||0===e?(zl(Gs(this,gi),e>0&&t,!0),this.opts.open.current=!0):Gs(this,vi).start()}),Qs(this,"onTriggerEnter",()=>{Gs(this,mi).call(this)}),Qs(this,"onTriggerLeave",()=>{this.disableHoverableContent?this.handleClose():Gs(this,vi).stop()}),this.opts=t,this.provider=e,_s(this,vi,new Oy(()=>{zl(Gs(this,gi),!0),this.opts.open.current=!0},this.delayDuration??0)),this.contentPresence=new Wv({open:this.opts.open,ref:dg(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),_g(()=>this.delayDuration,()=>{void 0!==this.delayDuration&&_s(this,vi,new Oy(()=>{zl(Gs(this,gi),!0),this.opts.open.current=!0},this.delayDuration))}),_g(()=>this.opts.open.current,t=>{t?this.provider.onOpen(this):this.provider.onClose(this)},{lazy:!0})}static create(e){return Ty.set(new t(e,Py.get()))}get delayDuration(){return Xc(Gs(this,li))}set delayDuration(t){zl(Gs(this,li),t)}get disableHoverableContent(){return Xc(Gs(this,ci))}set disableHoverableContent(t){zl(Gs(this,ci),t)}get disableCloseOnTriggerClick(){return Xc(Gs(this,ui))}set disableCloseOnTriggerClick(t){zl(Gs(this,ui),t)}get disabled(){return Xc(Gs(this,di))}set disabled(t){zl(Gs(this,di),t)}get ignoreNonKeyboardFocus(){return Xc(Gs(this,hi))}set ignoreNonKeyboardFocus(t){zl(Gs(this,hi),t)}get contentNode(){return Xc(Gs(this,pi))}set contentNode(t){zl(Gs(this,pi),t,!0)}get triggerNode(){return Xc(Gs(this,fi))}set triggerNode(t){zl(Gs(this,fi),t,!0)}get stateAttr(){return Xc(Gs(this,bi))}set stateAttr(t){zl(Gs(this,bi),t)}};wi=new WeakMap,yi=new WeakMap,xi=new WeakMap,ki=new WeakMap,Ci=new WeakMap,Mi=new WeakMap,Si=new WeakMap,Ai=new WeakMap,Wi=new WeakMap,Oi=new WeakMap,Ei=new WeakMap,Pi=new WeakMap,Ti=new WeakMap,zi=new WeakMap;let Ly=class t{constructor(t,e){Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),$s(this,wi,gg(!1)),$s(this,yi,Pl(!1)),$s(this,xi,Cl(()=>this.opts.disabled.current||this.root.disabled)),Qs(this,"domContext"),$s(this,ki,null),$s(this,Ci,()=>{null!==Gs(this,ki)&&(clearTimeout(Gs(this,ki)),_s(this,ki,null))}),Qs(this,"handlePointerUp",()=>{Gs(this,wi).current=!1}),$s(this,Mi,()=>{Xc(Gs(this,xi))||(Gs(this,wi).current=!1)}),$s(this,Si,()=>{Xc(Gs(this,xi))||(Gs(this,wi).current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0}))}),$s(this,Ai,t=>{if(!Xc(Gs(this,xi))&&"touch"!==t.pointerType){if(this.root.provider.isPointerInTransit.current)return Gs(this,Ci).call(this),void _s(this,ki,window.setTimeout(()=>{this.root.provider.isPointerInTransit.current&&(this.root.provider.isPointerInTransit.current=!1,this.root.onTriggerEnter(),zl(Gs(this,yi),!0))},250));this.root.onTriggerEnter(),zl(Gs(this,yi),!0)}}),$s(this,Wi,t=>{Xc(Gs(this,xi))||"touch"!==t.pointerType&&(Xc(Gs(this,yi))||(Gs(this,Ci).call(this),this.root.provider.isPointerInTransit.current=!1,this.root.onTriggerEnter(),zl(Gs(this,yi),!0)))}),$s(this,Oi,()=>{Xc(Gs(this,xi))||(Gs(this,Ci).call(this),this.root.onTriggerLeave(),zl(Gs(this,yi),!1))}),$s(this,Ei,t=>{Gs(this,wi).current||Xc(Gs(this,xi))||this.root.ignoreNonKeyboardFocus&&!t.currentTarget.matches(":focus-visible")||this.root.handleOpen()}),$s(this,Pi,()=>{Xc(Gs(this,xi))||this.root.handleClose()}),$s(this,Ti,()=>{this.root.disableCloseOnTriggerClick||Xc(Gs(this,xi))||this.root.handleClose()}),$s(this,zi,Cl(()=>{var t;return{id:this.opts.id.current,"aria-describedby":this.root.opts.open.current?null==(t=this.root.contentNode)?void 0:t.id:void 0,"data-state":this.root.stateAttr,"data-disabled":nv(Xc(Gs(this,xi))),"data-delay-duration":`${this.root.delayDuration}`,[Ey.trigger]:"",tabindex:Xc(Gs(this,xi))?void 0:0,disabled:this.opts.disabled.current,onpointerup:Gs(this,Mi),onpointerdown:Gs(this,Si),onpointerenter:Gs(this,Ai),onpointermove:Gs(this,Wi),onpointerleave:Gs(this,Oi),onfocus:Gs(this,Ei),onblur:Gs(this,Pi),onclick:Gs(this,Ti),...this.attachment}})),this.opts=t,this.root=e,this.domContext=new Xg(t.ref),this.attachment=Qg(this.opts.ref,t=>this.root.triggerNode=t)}static create(e){return new t(e,Ty.get())}get props(){return Xc(Gs(this,zi))}set props(t){zl(Gs(this,zi),t)}};Ni=new WeakMap,Li=new WeakMap;let Iy=class t{constructor(t,e){var r;Qs(this,"opts"),Qs(this,"root"),Qs(this,"attachment"),Qs(this,"onInteractOutside",t=>{var e;kv(t.target)&&(null==(e=this.root.triggerNode)?void 0:e.contains(t.target))&&this.root.disableCloseOnTriggerClick?t.preventDefault():(this.opts.onInteractOutside.current(t),t.defaultPrevented||this.root.handleClose())}),Qs(this,"onEscapeKeydown",t=>{var e,r;null==(r=(e=this.opts.onEscapeKeydown).current)||r.call(e,t),t.defaultPrevented||this.root.handleClose()}),Qs(this,"onOpenAutoFocus",t=>{t.preventDefault()}),Qs(this,"onCloseAutoFocus",t=>{t.preventDefault()}),$s(this,Ni,Cl(()=>({open:this.root.opts.open.current}))),$s(this,Li,Cl(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":nv(this.root.disabled),style:{pointerEvents:"auto",outline:"none"},[Ey.content]:"",...this.attachment}))),Qs(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}),this.opts=t,this.root=e,this.attachment=Qg(this.opts.ref,t=>this.root.contentNode=t),new Ob({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()},setIsPointerInTransit:t=>{this.root.provider.isPointerInTransit.current=t},transitTimeout:this.root.provider.opts.skipDelayDuration.current}),r=()=>uu(window,"scroll",t=>{const e=t.target;e&&e.contains(this.root.triggerNode)&&this.root.handleClose()}),rc(()=>Jc(()=>r()))}static create(e){return new t(e,Ty.get())}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return Xc(Gs(this,Ni))}set snippetProps(t){zl(Gs(this,Ni),t)}get props(){return Xc(Gs(this,Li))}set props(t){zl(Gs(this,Li),t)}};function Ry(t,e){Za(e,!0);let r=zd(e,"open",15,!1),n=zd(e,"onOpenChange",3,Ov),o=zd(e,"onOpenChangeComplete",3,Ov);Ny.create({open:dg(()=>r(),t=>{r(t),n()(t)}),delayDuration:dg(()=>e.delayDuration),disableCloseOnTriggerClick:dg(()=>e.disableCloseOnTriggerClick),disableHoverableContent:dg(()=>e.disableHoverableContent),ignoreNonKeyboardFocus:dg(()=>e.ignoreNonKeyboardFocus),disabled:dg(()=>e.disabled),onOpenChangeComplete:dg(()=>o())}),ry(t,{tooltip:!0,children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.children??ha),ku(t,n)},$$slots:{default:!0}}),Ba()}var Fy=bu("<div><div><!></div></div>"),jy=bu("<div><div><!></div></div>");function Dy(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"ref",15,null),i=zd(e,"side",3,"top"),s=zd(e,"sideOffset",3,0),a=zd(e,"align",3,"center"),l=zd(e,"avoidCollisions",3,!0),c=zd(e,"arrowPadding",3,0),u=zd(e,"sticky",3,"partial"),d=zd(e,"hideWhenDetached",3,!1),h=zd(e,"collisionPadding",3,0),p=zd(e,"onInteractOutside",3,Ov),f=zd(e,"onEscapeKeydown",3,Ov),g=zd(e,"forceMount",3,!1),v=Ed(e,["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount"]);const b=Iy.create({id:dg(()=>n()),ref:dg(()=>o(),t=>o(t)),onInteractOutside:dg(()=>p()),onEscapeKeydown:dg(()=>f())}),m=Cl(()=>({side:i(),sideOffset:s(),align:a(),avoidCollisions:l(),arrowPadding:c(),sticky:u(),hideWhenDetached:d(),collisionPadding:h(),strategy:e.strategy})),w=Cl(()=>Hg(v,Xc(m),b.props));var y=xu(),x=Yl(y),k=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("tooltip")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...b.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=Fy();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};ay(t,Td(()=>Xc(w),()=>b.popperProps,{get enabled(){return b.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},popper:r,$$slots:{popper:!0}}))}},C=t=>{var r=xu(),o=Yl(r),i=t=>{{const r=(t,r)=>{let n=()=>null==r?void 0:r().wrapperProps;const o=Cl(()=>Hg(null==r?void 0:r().props,{style:Yw("tooltip")}));var i=xu(),s=Yl(i),a=t=>{var r=xu(),i=Yl(r);{let t=Cl(()=>({props:Xc(o),wrapperProps:n(),...b.snippetProps}));Du(i,()=>e.child,()=>Xc(t))}ku(t,r)},l=t=>{var r=jy();id(r,()=>({...n()}));var i=Ul(r);id(i,()=>({...Xc(o)})),Du(Ul(i),()=>e.children??ha),ku(t,r)};Pu(s,t=>{e.child?t(a):t(l,!1)}),ku(t,i)};sy(t,Td(()=>Xc(w),()=>b.popperProps,{get open(){return b.root.opts.open.current},get id(){return n()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},popper:r,$$slots:{popper:!0}}))}};Pu(o,t=>{g()||t(i)},!0),ku(t,r)};Pu(x,t=>{g()?t(k):t(C,!1)}),ku(t,y),Ba()}var Hy=bu("<button><!></button>");function qy(t,e){const r=Cu();Za(e,!0);let n=zd(e,"id",19,()=>Ev(r)),o=zd(e,"disabled",3,!1),i=zd(e,"type",3,"button"),s=zd(e,"ref",15,null),a=Ed(e,["$$slots","$$events","$$legacy","children","child","id","disabled","type","ref"]);const l=Ly.create({id:dg(()=>n()),disabled:dg(()=>o()??!1),ref:dg(()=>s(),t=>s(t))}),c=Cl(()=>Hg(a,l.props,{type:i()}));ny(t,{get id(){return n()},get ref(){return l.opts.ref},tooltip:!0,children:(t,r)=>{var n=xu(),o=Yl(n),i=t=>{var r=xu();Du(Yl(r),()=>e.child,()=>({props:Xc(c)})),ku(t,r)},s=t=>{var r=Hy();id(r,()=>({...Xc(c)})),Du(Ul(r),()=>e.children??ha),ku(t,r)};Pu(o,t=>{e.child?t(i):t(s,!1)}),ku(t,n)},$$slots:{default:!0}}),Ba()}function Vy(t,e){Za(e,!0);let r=zd(e,"delayDuration",3,700),n=zd(e,"disableCloseOnTriggerClick",3,!1),o=zd(e,"disableHoverableContent",3,!1),i=zd(e,"disabled",3,!1),s=zd(e,"ignoreNonKeyboardFocus",3,!1),a=zd(e,"skipDelayDuration",3,300);zy.create({delayDuration:dg(()=>r()),disableCloseOnTriggerClick:dg(()=>n()),disableHoverableContent:dg(()=>o()),disabled:dg(()=>i()),ignoreNonKeyboardFocus:dg(()=>s()),skipDelayDuration:dg(()=>a())});var l=xu();Du(Yl(l),()=>e.children??ha),ku(t,l),Ba()}let Zy=Pl(!1);const By=class t{constructor(){rc(()=>(0===t._refs&&(t._cleanup=oc(()=>{const t=[],e=t=>{zl(Zy,!1)};return t.push(uu(document,"pointerdown",e,{capture:!0}),uu(document,"pointermove",e,{capture:!0}),uu(document,"keydown",t=>{zl(Zy,!0)},{capture:!0})),Ig(...t)})),t._refs++,()=>{var e;t._refs--,0===t._refs&&(zl(Zy,!1),null==(e=t._cleanup)||e.call(t))}))}get current(){return Xc(Zy)}set current(t){zl(Zy,t,!0)}};Qs(By,"_refs",0),Qs(By,"_cleanup");let Ky=By;var Uy=bu('<div class=" px-8 py-4 bg-linear-to-b from-slate-800/90 to-slate-900/90 text-slate-100 glass-shadow backdrop-blur-lg rounded-[12px] superellipse flex flex-col text-sm"> </div>'),Yy=bu("<!> <!>",1);function Xy(t,e){Za(e,!0);const{toolbar:r}=ek(),n=zd(e,"delay",3,200),o=zd(e,"disabled",3,!1),i=zd(e,"text",3,"tooltip"),s=zd(e,"offset",3,8);var a=xu();Hu(Yl(a),()=>Vy,(t,a)=>{a(t,{get disabled(){return o()},children:(t,o)=>{var a=xu();Hu(Yl(a),()=>Ry,(t,o)=>{o(t,{get delayDuration(){return n()},children:(t,n)=>{var o=Yy(),a=Yl(o);Hu(a,()=>qy,(t,r)=>{r(t,{children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.children),ku(t,n)},$$slots:{default:!0}})});var l=Xl(a,2);{let t=Cl(()=>null==r?void 0:r.wrapper);Hu(l,()=>Kv,(e,r)=>{r(e,{get to(){return Xc(t)},children:(t,e)=>{var r=xu();Hu(Yl(r),()=>Dy,(t,e)=>{e(t,{hideWhenDetached:!0,get sideOffset(){return s()},class:"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-[210000004]",children:(t,e)=>{var r=Uy(),n=Ul(r);ac(()=>Su(n,i())),ku(t,r)},$$slots:{default:!0}})}),ku(t,r)},$$slots:{default:!0}})})}ku(t,o)},$$slots:{default:!0}})}),ku(t,a)},$$slots:{default:!0}})}),ku(t,a),Ba()}const Qy=(t,e,r)=>{if(!e())return;const n=document.querySelector(e());n&&r.scrollToElement(n)};var Jy=bu("<div><!></div>"),Gy=bu("<button><!></button>");hu(["click"]);var $y=bu("<!> <!>",1);function _y(t,e){Za(e,!0);const{toolbar:r}=ek();let n=zd(e,"opened",15,!1),o=zd(e,"offset",3,4),i=zd(e,"triggerClass",19,()=>["cursor-pointer flex-center size-24 touch:size-32 rounded-[10px] touch:rounded-[10px] superellipse relative touch:bg-slate-500/0","active:scale-95 transition-[scale] duration-100 will-change-[scale]",n()?"bg-slate-500/20 text-slate-300":"hover:bg-slate-500/20 touch:bg-slate-500/10 active:bg-slate-500/10 text-slate-600 touch:text-slate-500 hover:text-slate-300 active:text-slate-300 focus-visible focus-visible:bg-slate-500/20 focus-visible:text-slate-300"]),s=Ed(e,["$$slots","$$events","$$legacy","opened","offset","children","trigger","triggerClass"]);var a=xu();Hu(Yl(a),()=>xy,(t,a)=>{a(t,Td(()=>s,{get open(){return n()},set open(t){n(t)},children:(t,n)=>{var s=$y(),a=Yl(s);{let t=Cl(()=>[...i()]);Hu(a,()=>Ay,(r,n)=>{n(r,{get class(){return Xc(t)},children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.trigger),ku(t,n)},$$slots:{default:!0}})})}Hu(Xl(a,2),()=>Kv,(t,n)=>{n(t,{get to(){return r.wrapper},children:(t,r)=>{var n=xu();Hu(Yl(n),()=>My,(t,r)=>{r(t,{align:"end",class:["bg-linear-to-b from-slate-800/90 to-slate-900/90 glass-shadow backdrop-blur-lg rounded-[20px] superellipse min-w-150 flex flex-col z-[210000002]"],get sideOffset(){return o()},children:(t,r)=>{mp(t,{children:(t,r)=>{var n=xu();Du(Yl(n),()=>e.children),ku(t,n)},$$slots:{default:!0}})},$$slots:{default:!0}})}),ku(t,n)},$$slots:{default:!0}})}),ku(t,s)},$$slots:{default:!0}}))}),ku(t,a),Ba()}function tx(t,e){zd(e,"start",3,null);let r=zd(e,"icon",3,Vp),n=zd(e,"title",3,"Title"),o=zd(e,"subtitle",3,null);zd(e,"active",3,null);let i=zd(e,"after",3,null);zd(e,"chevron",3,!0);let s=zd(e,"disabled",3,null);zd(e,"link",3,null);let a=zd(e,"onclick",3,null),l=zd(e,"index",3,0);zd(e,"class",3,"");let c=zd(e,"iconSize",3,"text-slate-500"),u=zd(e,"classIcon",3,"size-24 touch:size-30"),d=Ed(e,["$$slots","$$events","$$legacy","start","icon","title","subtitle","active","after","chevron","disabled","link","onclick","index","class","iconSize","classIcon"]);var h=xu(),p=Yl(h);{const t=t=>{Mf(t,Td({get title(){return n()},get subtitle(){return o()},get icon(){return r()},get disabled(){return s()},get index(){return l()},get onclick(){return a()},get after(){return i()},get iconSize(){return c()}},()=>u()?{classIcon:u()}:{},()=>d))};let e=Cl(()=>!!a());Hu(p,()=>cy,(r,n)=>{n(r,{get closeOnSelect(){return Xc(e)},children:t,$$slots:{default:!0}})})}ku(t,h)}var ex=bu("<!> <!> <!> <div><!></div>",1),rx=bu("<!> <!>",1),nx=bu("<!> <!>",1),ox=bu('<span class="sr-only">Toggle Comment menu</span> <!>',1),ix=bu("<!> <!>",1),sx=bu("<!> <!>",1),ax=bu("<!> <!>",1);var lx=(t,e)=>e(t),cx=bu('<label class="flex-center size-24 touch:size-32 relative cursor-pointer" data-fubi-done-button=""><input type="checkbox"/> <span class="sr-only">Add High Priority</span> <!></label>');hu(["change"]);var ux=(t,e)=>e(t),dx=bu('<label class="flex-center size-24 touch:size-32 relative cursor-pointer" data-fubi-priority-button=""><input type="checkbox"/> <span class="sr-only">Add High Priority</span> <!></label>');hu(["change"]);var hx=bu('<p class="pb-1"> </p>'),px=bu("<button><!> <!> <!></button>");function fx(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var gx=bu('<div><div class="flex justify-between items-center"><!> <div class="flex gap-4 touch:gap-6 items-center"><!> <!></div></div> <p><!></p> <div class="flex justify-between items-center pt-4 pl-2"><div class="flex gap-4 touch:gap-6"><!> <!></div> <!></div></div>');function vx(t,e){Za(e,!0);const{auth:r,hover:n,router:o}=ek();let i=Cl(()=>{var t,n,o;return(null==(t=null==r?void 0:r.user)?void 0:t.id)===(null==(o=null==(n=e.expand)?void 0:n.createdBy)?void 0:o.id)});var s=gx(),a=Ul(s),l=Ul(a);{let t=Cl(()=>{var t;return null==(t=e.expand)?void 0:t.createdBy});!function(t,e){Za(e,!0);let r=zd(e,"created",19,()=>Date.now()),n=zd(e,"author",3,null),o=Cl(()=>function(t,e){if(!t)return null;if(!t[e])return null;const{id:r,collectionName:n}=t;return`${rk}/api/files/${n}/${r}/${t[e]}`}(n(),"avatar"));const i=Cl(()=>function(t){const e=Date.now()-t.getTime();if(e<6e4)return"just now";const r=Math.floor(e/6e4);if(r<60)return`${r} min`;const n=Math.floor(r/60);return n<24?`${n}h`:`${Math.floor(n/24)}d`}(new Date(r())));var s=ig(),a=Ul(s),l=t=>{var e=ng();ac(()=>{var t,r;od(e,"src",Xc(o)),od(e,"alt",(null==(t=n())?void 0:t.firstName)+" "+(null==(r=n())?void 0:r.lastName))}),ku(t,e)},c=t=>{var e=og(),r=Ul(e);ac((t,e)=>Su(r,`${t??""}${e??""}`),[()=>{var t,e;return null==(e=null==(t=n())?void 0:t.firstName)?void 0:e.charAt(0)},()=>{var t,e;return null==(e=null==(t=n())?void 0:t.lastName)?void 0:e.charAt(0)}]),ku(t,e)};Pu(a,t=>{Xc(o)?t(l):t(c,!1)});var u=Ul(Xl(a,2)),d=Ul(u),h=Ul(Xl(u,2));ac(()=>{var t;Su(d,null==(t=n())?void 0:t.firstName),Su(h,`${Xc(i)??""} ago`)}),ku(t,s),Ba()}(l,{get created(){return e.created},get author(){return Xc(t)}})}var c=Ul(Xl(l,2));!function(t,e){Za(e,!0);const{hover:r,tracer:n,dom:o}=ek();let i=zd(e,"selector",3,null),s=zd(e,"hidden",3,!1),a=Pl(null);const l=()=>{if(!i()||!Xc(a))return;const t=document.querySelector(i());t&&(r.forceHover(t),n.trace(t,Xc(a),{from:{point:"border",offset:4},to:{point:"center",offset:0}}))},c=()=>{r.isolated||(r.hideHighlight(),n.hide())};{let e=Cl(()=>s()?"Element is not Visible":"Click to Scroll into View");Xy(t,{get text(){return Xc(e)},delay:200,get disabled(){return r.isolated},children:(t,e)=>{var n=xu(),u=Yl(n),d=t=>{var e=Jy();Xu(e,1,Bu(["flex-center size-24 touch:size-28 rounded-[8px] superellipse touch:rounded-[8px]","bg-linear-to-b from-yellow-400 to-amber-500"])),hf(Ul(e),{name:"invisible",class:"size-16 text-slate-800"}),ku(t,e)},h=t=>{var e=xu(),n=Yl(e),s=t=>{var e=Gy();Xu(e,1,Bu(["flex-center size-24 touch:size-32 rounded-[8px] touch:rounded-[10px] hover:bg-(--fubi-hover-thread-color)/20 touch:bg-slate-500/10 superellipse","text-slate-600 touch:text-slate-500 hover:text-(--fubi-hover-thread-color)","disabled:opacity-30 disabled:pointer-events-none"])),e.__click=[Qy,i,o],Cp(Ul(e),{get icon(){return Ip},className:"size-20 touch:size-24"}),Ad(e,t=>zl(a,t),()=>Xc(a)),ac(()=>e.disabled=r.isolated),du("pointerenter",e,l),du("pointerleave",e,c),ku(t,e)};Pu(n,t=>{i()&&t(s)},!0),ku(t,e)};Pu(u,t=>{s()?t(d):t(h,!1)}),ku(t,n)},$$slots:{default:!0}})}Ba()}(c,{get selector(){return e.selector}});var u=Xl(c,2),d=t=>{!function(t,e){Za(e,!0);let r=Pl(!1),n=Pl(!1);const{comments:o}=ek(),i=async()=>{zl(n,!0),await o.delete(e.id),zl(n,!1),zl(r,!1)};var s=ax(),a=Yl(s);_y(a,{trigger:t=>{var e=ox();Cp(Xl(Yl(e),2),{get icon(){return Xp},className:"size-16 mouse:size-22"}),ku(t,e)},children:(t,e)=>{var n=ix(),o=Yl(n);tx(o,{title:"Edit",get icon(){return Dp}}),tx(Xl(o,2),{title:"Delete",get icon(){return jp},type:"destructive",onclick:()=>zl(r,!0)}),ku(t,n)},$$slots:{trigger:!0,default:!0}}),function(t,e){Za(e,!0);const{win:r}=ek();let n=zd(e,"open",15,!1),o=zd(e,"title",3,"Dialog Title"),i=zd(e,"description",3,"Dialog Description"),s=zd(e,"iconClass",3,""),a=zd(e,"horizontalButtons",3,!1),l=Ed(e,["$$slots","$$events","$$legacy","open","icon","title","description","iconClass","trigger","children","horizontalButtons"]);var c=xu();Hu(Yl(c),()=>by,(t,c)=>{c(t,Td(()=>l,{get open(){return n()},set open(t){n(t)},children:(t,n)=>{var l=nx(),c=Yl(l),u=t=>{var r=xu();Hu(Yl(r),()=>fm,(t,r)=>{r(t,{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:(t,r)=>{var n=xu();Du(Yl(n),()=>e.trigger),ku(t,n)},$$slots:{default:!0}})}),ku(t,r)};Pu(c,t=>{e.trigger&&t(u)}),Hu(Xl(c,2),()=>Kv,(t,n)=>{n(t,{get to(){return r.el},children:(t,r)=>{var n=rx(),l=Yl(n);Hu(l,()=>hm,(t,e)=>{e(t,{class:["fixed inset-0 z-50 bg-black/30 rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) superellipse"]})}),Hu(Xl(l,2),()=>yy,(t,r)=>{r(t,{class:["fixed left-[50%] top-[50%] z-50 w-250 max-w-[94%] translate-x-[-50%] translate-y-[-50%] flex flex-col justify-center text-center","bg-linear-to-b from-slate-800/90 to-slate-900/90 glass-shadow backdrop-blur-lg rounded-[24px] superellipse min-w-150 flex flex-col z-50","p-16 gap-8"],children:(t,r)=>{var n=ex(),l=Yl(n),c=t=>{{let r=Cl(()=>`size-40 self-center mb-4 ${s()}`);Cp(t,{get icon(){return e.icon},get className(){return Xc(r)}})}};Pu(l,t=>{e.icon&&t(c)});var u=Xl(l,2);Hu(u,()=>Dv,(t,e)=>{e(t,{class:"flex w-full items-center justify-center text-lg/none font-semibold tracking-tight",children:(t,e)=>{var r=yu();ac(()=>Su(r,o())),ku(t,r)},$$slots:{default:!0}})});var d=Xl(u,2);Hu(d,()=>vm,(t,e)=>{e(t,{class:"text-sm/[130%] text-foreground-alt font-normal text-slate-300",children:(t,e)=>{var r=yu();ac(()=>Su(r,i())),ku(t,r)},$$slots:{default:!0}})});var h=Xl(d,2);Du(Ul(h),()=>e.children),ac(()=>Xu(h,1,Bu(["flex w-full mt-12 gap-8",a()?"flex-row":"flex-col"]))),ku(t,n)},$$slots:{default:!0}})}),ku(t,n)},$$slots:{default:!0}})}),ku(t,l)},$$slots:{default:!0}}))}),ku(t,c),Ba()}(Xl(a,2),{horizontalButtons:!0,get icon(){return jp},title:"Delete Comment",description:"Are you sure you want to delete this comment? This action cannot be undone.",iconClass:"text-rose-600",get open(){return Xc(r)},set open(t){zl(r,t,!0)},children:(t,e)=>{var n=sx(),o=Yl(n);rf(o,{type:"destructive",onclick:i,children:(t,e)=>{ku(t,yu("Delete"))},$$slots:{default:!0}}),rf(Xl(o,2),{type:"secondary",onclick:()=>zl(r,!1),children:(t,e)=>{ku(t,yu("Cancel"))},$$slots:{default:!0}}),ku(t,n)},$$slots:{default:!0}}),ku(t,s),Ba()}(t,{get id(){return e.id}})};Pu(u,t=>{Xc(i)&&t(d)});var h=Xl(a,2);!function(t,e,r=!1,n=!1){var o=t,i="";ac(()=>{var t=Oc;if(i!==(i=e()??"")&&(null!==t.nodes_start&&(pc(t.nodes_start,t.nodes_end),t.nodes_start=t.nodes_end=null),""!==i)){var s=i+"";r?s=`<svg>${s}</svg>`:n&&(s=`<math>${s}</math>`);var a=gu(s);if((r||n)&&(a=Bl(a)),vu(Bl(a),a.lastChild),r||n)for(;Bl(a);)o.before(Bl(a));else o.before(a)}})}(Ul(h),()=>{var t,r,n;return r=e.content,n=(null==(t=e.expand)?void 0:t.mentions)||[],r?r.map(t=>{switch(t.type){case"text":return fx(t.value);case"mention":{const e=n.find(e=>e.id===t.userId),r=(null==e?void 0:e.name)??"Deleted User";return`<span class="text-sky-400" data-mention-id="${t.userId}">@${fx(r)}</span>`}case"image":return`<img src="${fx(t.src)}" alt="${fx(t.alt||"")}" data-fubi-comment-image />`}}).join(""):""});var p=Ul(Xl(h,2)),f=Ul(p);!function(t,e){Za(e,!0);let r=zd(e,"checked",7,!1);const{comments:n}=ek(),o=yh("done");var i=cx(),s=Ul(i);Xu(s,1,Bu(["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-slate-500/20 touch:bg-slate-500/10 active:bg-green-400/10","checked:bg-linear-to-b from-lime-300 to-green-600 checked:hover:bg-lime-500 checked:active:bg-green-600 ","focus-visible focus-visible:bg-slate-500/20"])),s.__change=[lx,t=>{qh();const r=t.target;o.info("Changed done for comment",e.id,"to",r.checked),n.setDone(e.id,r.checked)}];var a=Xl(s,4);{let t=Cl(()=>[r()?"icon-shadow":"","size-24 touch:size-28 pointer-events-none relative text-slate-600 touch:text-slate-500 drop-shadow-2xl","peer-hover:text-slate-300 peer-active:text-green-400 peer-checked:peer-active:text-white",0==r()?"peer-focus-visible:text-slate-300":"","peer-checked:text-rose-100 peer-checked:peer-hover:text-lime-50 "]);hf(a,{name:"check",get class(){return Xc(t)}})}wd(s,r),ku(t,i),Ba()}(f,{get id(){return e.id},get checked(){return e.done}}),function(t,e){Za(e,!0);let r=zd(e,"checked",7,!1);const{comments:n}=ek(),o=yh("priority");var i=dx(),s=Ul(i);Xu(s,1,Bu(["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-slate-500/20 touch:bg-slate-500/10 active:bg-red-400/10","checked:bg-linear-to-b from-rose-400 to-rose-600 checked:hover:bg-rose-500 checked:active:bg-red-600 ","focus-visible focus-visible:bg-slate-500/20"])),s.__change=[ux,t=>{qh();const r=t.target;o.info("Changed priority for comment",e.id,"to",r.checked),n.setPriority(e.id,r.checked)}];var a=Xl(s,4);{let t=Cl(()=>[r()?"icon-shadow":"","size-24 touch:size-28 pointer-events-none relative text-slate-600 touch:text-slate-500","peer-hover:text-slate-300 peer-active:text-red-400",0==r()?"peer-focus-visible:text-slate-300":"","peer-checked:text-rose-100 peer-checked:peer-hover:text-rose-50 peer-checked:peer-active:text-rose-300"]);hf(a,{name:"chevrons-up",get class(){return Xc(t)}})}wd(s,r),ku(t,i),Ba()}(Xl(f,2),{get id(){return e.id},get checked(){return e.priority}}),function(t,e){const r=zd(e,"replies",3,0),n=Ed(e,["$$slots","$$events","$$legacy","replies"]);var o=px();id(o,()=>({"data-fubi-comment-reply-button":!0,class:["cursor-pointer h-28 touch:h-32 font-medium rounded-[10px] pr-2 pl-6 text-sm/none flex items-center gap-5 select-none","touch:rounded-[12px] touch:pr-8 touch:pl-8 touch:text-base/none"," active:scale-95","transition-[background-color,color,transform] duration-200 ease-out-cubic",r()>0?"text-sky-500 bg-sky-500/10 hover:bg-sky-500/20 active:bg-sky-500/10 touch:active:bg-sky-500/20":"text-slate-600 touch:text-slate-500 hover:text-slate-400 touch:bg-slate-500/10 hover:bg-slate-500/20 active:bg-slate-500/10 touch:active:bg-slate-500/20 focus-visible focus-visible:bg-slate-500/20 focus-visible:text-slate-400"],...n}));var i=Ul(o);Cp(i,{get icon(){return Rp},className:"size-20 touch:size-22 mt-1"});var s=Xl(i,2);Tu(s,r,t=>{var e=hx(),n=Ul(e);ac(()=>Su(n,0===r()?"Reply":r()>1?`${r()} Replies`:"1 Reply")),vd(1,e,()=>Op,()=>({y:-10,duration:200,easing:cp})),vd(2,e,()=>Op,()=>({y:10,duration:200,easing:cp})),ku(t,e)}),Cp(Xl(s,2),{get icon(){return Bf},className:"size-20"}),ku(t,o)}(Xl(p,2),{onclick:()=>{o.goto("thread")},get replies(){return e.replies}}),ac(()=>{Xu(s,1,Bu(["p-10 rounded-[20px] touch:rounded-[26px] superellipse touch:p-12 flex flex-col gap-8",n.isolated?"outline-[0.7px] outline-(--fubi-hover-thread-color,var(--color-indigo-500)) bg-(--fubi-hover-thread-color,var(--color-indigo-500))/10":e.unread?"bg-slate-500/10":"bg-slate-500/5"])),Xu(h,1,Bu(["px-4 mouse:text-sm font-normal tracking-[0.02em] cursor-text user-select-text",(e.unread,"text-slate-100")]))}),ku(t,s),Ba()}var bx=bu('<p class="text-red-500 text-sm"> </p>'),mx=bu('<form class="flex flex-center flex-col rounded-[4px] px-8 gap-24 pb-32 h-full flex-1"><!> <div class="flex flex-col w-full gap-8"><!> <!> <!></div></form>');var wx=bu("<div><!></div>"),yx=bu("<button><!> <!></button>");function xx(t,e){let r=zd(e,"icon",3,qp),n=zd(e,"children",3,null);var o=yx(),i=Ul(o);Cp(i,{get icon(){return r()},className:"size-20"});var s=Xl(i,2),a=t=>{var e=wx();Du(Ul(e),n),ku(t,e)};Pu(s,t=>{n()&&t(a)}),ac(()=>Xu(o,1,Bu(["flex-center glass gap-4 text-sm/none text-white/40 font-medium h-28 rounded-[10px] bg-slate-500/10 superellipse hover:bg-slate-500/20",n()?"pl-4 pr-10 h-28 py-8":" size-28"]))),ku(t,o)}var kx=bu('<label><input type="text" placeholder=" "/> <div class="peer-placeholder-shown:opacity-40 opacity-0 absolute inset-0 pointer-events-none flex-center z-10 gap-4 select-none"><!> <p class="text-base/none font-normal touch:text-[18px]/none">Search</p></div></label>'),Cx=bu('<img src="/favicon.png" alt="Comments" class="size-20"/> <p> </p>',1),Mx=bu('<div class="flex-center gap-4"><!> <!></div>'),Sx=bu("<div><!></div>"),Ax=bu('<div class="flex flex-col gap-8"></div>'),Wx=bu("<p>Error loading</p>"),Ox=bu('<!> <div class="flex-center h-full"><!></div>',1),Ex=bu("<!> <!> <!>",1),Px=bu("<!> <!> <!>",1),Tx=bu("<p>Thread</p> <!>",1),zx=bu("<button><!></button>"),Nx=bu('<div class="h-full flex justify-stretch py-12"><div class="flex-center flex-col gap-4 text-center border border-red-500/30 bg-red-500/10 w-full p-16 rounded-[20px]"><!> <div class="flex-center flex-col"><p class="font-medium">Something went wrong</p> <p class="text-sm text-red-200"> </p></div> <div class="flex-center w-full mt-16"><!></div></div></div>');const Lx=yh("routes"),Ix=t=>{const e=(t=>{var e;if(!(null==(e=null==t?void 0:t.auth)?void 0:e.user))return{redirect:"login"}})(t);if(e)return e;const r=(t=>{if(!t.team.hasAccess)return Lx.error("User does not have access to the current team."),{redirect:"login",logout:!0,error:{type:"error",text:"You do not have access to this team. Please contact your administrator.",visible:!0}}})(t);if(r)return r;const n=(t=>{if(0===t.folders.unlockedFolders.length)return Lx.error("User does not have access to any unlocked folders."),{redirect:"login"}})(t);return n||void 0},Rx={login:{component:function(t,e){Za(e,!0);const{auth:r,router:n}=ek();let o=Pl(""),i=Pl("");vp(t,{name:"login",navbar:!1,tabbar:!1,children:(t,e)=>{wf(t,{children:(t,e)=>{var s=xf(),a=Ul(s);gf(a,{icon:"lock",title:"Welcome!",subtitle:"Please enter your credentials."});var l=Xl(a,2);!function(t,e){Za(e,!0);const r={info:"bg-blue-600 text-white",success:"bg-green-600 text-white",error:"bg-red-500/20 text-red-200"};var n=xu(),o=Yl(n),i=t=>{var n=nf(),o=Ul(n),i=Ul(o);ac(()=>{Xu(n,1,Bu(["text-sm/[130%] py-6 px-16 rounded-[8px]",r[e.msg.type]])),Su(i,e.msg.text)}),vd(3,n,()=>Ep),ku(t,n)};Pu(o,t=>{e.msg.visible&&t(i)}),ku(t,n),Ba()}(l,{get msg(){return r.msg}});var c=Xl(l,2);bf(c,{class:"mt-8",children:(t,e)=>{var r=yf(),n=Yl(r);yp(n,{name:"email",type:"email",label:"E-mail",autocomplete:"email",required:!0,get value(){return Xc(o)},set value(t){zl(o,t,!0)}}),yp(Xl(n,2),{name:"password",type:"password",label:"Password",autocomplete:"password",required:!0,get value(){return Xc(i)},set value(t){zl(i,t,!0)}}),ku(t,r)}});var u=Xl(c,2);{let t=Cl(()=>r.loading||n.navigating);rf(u,{get loading(){return r.loading},get disabled(){return Xc(t)},children:(t,e)=>{ku(t,yu("Login"))},$$slots:{default:!0}})}du("submit",s,t=>(t=>{t.preventDefault(),r.login(Xc(o),Xc(i))})(t)),ku(t,s)},$$slots:{default:!0}})},$$slots:{default:!0}}),Ba()},beforeEnter:t=>{var e;if(null==(e=t.auth)?void 0:e.user)return{redirect:"folders"}}},error:{component:function(t,e){Za(e,!0);const{project:r}=ek();vp(t,{name:"error",title:"Error",navbar:!1,tabbar:!1,children:(t,e)=>{var n=Nx(),o=Ul(n),i=Ul(o);Cp(i,{get icon(){return zp},className:"size-32 text-red-400"});var s=Xl(i,2),a=Xl(Ul(s),2),l=Ul(a);!function(t,e){let r=zd(e,"variant",3,"primary"),n=Ed(e,["$$slots","$$events","$$legacy","children","variant"]);const o={primary:"bg-sky-600 hover:bg-sky-500 active:bg-sky-700",secondary:"bg-slate-800 hover:bg-slate-700 active:bg-slate-900"};var i=zx();id(i,()=>({class:["glass rounded-[8px] h-32 text-white/80 px-16",o[r()],"active:scale-95","transition-transform duration-100 ease-out"],...n})),Du(Ul(i),()=>e.children),ku(t,i)}(Ul(Xl(s,2)),{onclick:()=>window.location.reload(),children:(t,e)=>{ku(t,yu("Refresh"))},$$slots:{default:!0}}),ac(()=>Su(l,r.error??"An unexpected error has occurred.")),ku(t,n)},$$slots:{default:!0}}),Ba()}},folders:{component:function(t,e){Za(e,!0);const{router:r,folders:n}=ek();vp(t,{name:"folders",children:(t,e)=>{var o=If(),i=Yl(o);Tf(i,{title:t=>{ku(t,zf())},$$slots:{title:!0}}),wf(Xl(i,2),{padding:"p-12",children:(t,e)=>{mp(t,{children:(t,e)=>{var o=xu();Lu(Yl(o),17,()=>(null==n?void 0:n.data)??[],Nu,(t,e,o)=>{{const i=t=>{var r=xu(),n=Yl(r),o=t=>{Of(t,{theme:"sky",get icon(){return $p},children:(t,r)=>{var n=yu();ac(()=>Su(n,Xc(e).users.length)),ku(t,n)},$$slots:{default:!0}})};Pu(n,t=>{Xc(e).locked||t(o)}),ku(t,r)};let s=Cl(()=>Xc(e).locked?"You don't have access":"You have access to this folder"),a=Cl(()=>!Xc(e).locked),l=Cl(()=>{var t;return"size-24 "+(Xc(e).locked?"text-slate-500/30":(null==(t=n.current)?void 0:t.id)===Xc(e).id?"text-sky-500":"text-slate-500/50")}),c=Cl(()=>Xc(e).locked??null),u=Cl(()=>{var t;return(null==(t=n.current)?void 0:t.id)===Xc(e).id});Mf(t,{get title(){return Xc(e).name},get subtitle(){return Xc(s)},get icon(){return Vp},get iconActive(){return Xc(a)},get classIcon(){return Xc(l)},get disabled(){return Xc(c)},index:o,get active(){return Xc(u)},onclick:()=>Xc(e)?(t=>{qh(),n.select(t),r.goto("pages")})(Xc(e)):null,after:i,$$slots:{after:!0}})}},t=>{var e=xu(),r=Yl(e),o=t=>{!function(t,e){const r=zd(e,"children",3,null),n=zd(e,"spinner",3,!1);var o=Af(),i=Ul(Xl(Yl(o),2)),s=t=>{Sf(t)};Pu(i,t=>{n()&&t(s)});var a=Xl(i,2),l=t=>{var e=xu();Du(Yl(e),r),ku(t,e)};Pu(a,t=>{r()&&t(l)}),ku(t,o)}(t,{spinner:!0})},i=t=>{var e=xu(),r=Yl(e),o=t=>{ku(t,Nf())},i=t=>{var e=xu(),r=Yl(e),o=t=>{ku(t,Lf())};Pu(r,t=>{(null==n?void 0:n.empty)&&t(o)},!0),ku(t,e)};Pu(r,t=>{(null==n?void 0:n.error)?t(o):t(i,!1)},!0),ku(t,e)};Pu(r,t=>{(null==n?void 0:n.loading)?t(o):t(i,!1)}),ku(t,e)}),ku(t,o)},$$slots:{default:!0}})},$$slots:{default:!0}}),ku(t,o)},$$slots:{default:!0}}),Ba()},beforeEnter:t=>{const e=Ix(t);if(e)return e}},pages:{component:function(t,e){Za(e,!0);const{meta:r,folders:n,router:o,domains:i,pages:s}=ek();vp(t,{name:"pages",children:(t,e)=>{var a=eg(),l=Yl(a);Tf(l,{title:t=>{var e=Xf(),r=Ul(e);ac(()=>{var t;return Su(r,null==(t=null==n?void 0:n.current)?void 0:t.name)}),ku(t,e)},$$slots:{title:!0}});var c=Xl(l,2);wf(c,{children:(t,e)=>{var n=tg(),a=Yl(n),l=t=>{var e=$f();mp(Ul(e),{children:(t,e)=>{var r=Gf(),n=Yl(r),a=t=>{{const e=t=>{jf(t,{progress:0})},r=t=>{Of(t,{theme:"sky",children:(t,e)=>{ku(t,yu("Current"))},$$slots:{default:!0}})};let n=Cl(()=>{var t;return null==(t=s.current)?void 0:t.name});Mf(t,{classIcon:"text-white",get title(){return Xc(n)},subtitle:"No Comments",active:!0,onclick:()=>{qh(),o.goto("comments")},start:e,after:r,$$slots:{start:!0,after:!0}})}};Pu(n,t=>{s.isNew&&t(a)}),Lu(Xl(n,2),17,()=>s.data,Nu,(t,e,r)=>{let n=()=>Xc(e).progress,s=()=>Xc(e).pathname;var a=Jf(),l=Ul(a);{const t=t=>{var e=xu(),r=Yl(e),o=t=>{var e=Qf();hf(Ul(e),{name:"check",class:"size-22"}),ku(t,e)},i=t=>{jf(t,{get progress(){return n()}})};Pu(r,t=>{100===n()?t(o):t(i,!1)}),ku(t,e)},a=t=>{var e=xu(),r=Yl(e),n=t=>{Of(t,{theme:"sky",children:(t,e)=>{ku(t,yu("Current"))},$$slots:{default:!0}})};Pu(r,t=>{var e;s()===(null==(e=null==i?void 0:i.url)?void 0:e.pathname)&&t(n)}),ku(t,e)};let c=Cl(()=>{var t;return s()===(null==(t=null==i?void 0:i.url)?void 0:t.pathname)?"text-slate-500":""}),u=Cl(()=>{var t;return(null==(t=Xc(e).comments)?void 0:t.length)>0?`${Xc(e).done}/${Xc(e).total} Done`:"No Comments"}),d=Cl(()=>{var t;return s()===(null==(t=null==i?void 0:i.url)?void 0:t.pathname)}),h=Cl(()=>{var t;return s()===(null==(t=null==i?void 0:i.url)?void 0:t.pathname)?()=>{qh(),o.goto("comments")}:null});Mf(l,{get classIcon(){return Xc(c)},get title(){return Xc(e).name},get subtitle(){return Xc(u)},get active(){return Xc(d)},index:r,get onclick(){return Xc(h)},start:t,after:a,$$slots:{start:!0,after:!0}})}ac(()=>{var t;return od(a,"href",s()===(null==(t=null==i?void 0:i.url)?void 0:t.pathname)?"#":s())}),ku(t,a)}),ku(t,r)},$$slots:{default:!0}}),ku(t,e)},c=t=>{var e=xu(),r=Yl(e),n=t=>{gf(t,{icon:"folder",title:"No Pages",subtitle:"No pages found for this domain."})},o=t=>{var e=xu(),r=Yl(e),n=t=>{gf(t,{icon:"alert-circle",title:"Error",subtitle:"Failed to load pages."})};Pu(r,t=>{s.error&&t(n)},!0),ku(t,e)};Pu(r,t=>{!s.ready||s.data&&0!==s.data.length?t(o,!1):t(n)},!0),ku(t,e)};Pu(a,t=>{var e;s.ready&&(null==(e=s.data)?void 0:e.length)>0?t(l):t(c,!1)});var u=Xl(a,2),d=t=>{var e=_f();Sf(Ul(e)),ku(t,e)};Pu(u,t=>{s.ready||t(d)});var h=Ul(Xl(u,2)),p=Xl(h,2),f=Xl(p,2);ac(()=>{od(h,"src",r.shareImage),od(p,"src",r.touchicon),od(f,"src",r.favicon)}),ku(t,n)},$$slots:{default:!0}}),Hf(Xl(c,2),{children:(t,e)=>{Yf(t,{})},$$slots:{default:!0}}),ku(t,a)},$$slots:{default:!0}}),Ba()},beforeEnter:t=>Ix(t)},comments:{component:function(t,e){Za(e,!0);const{hover:r,comments:n,pages:o}=ek(),[i,s]=function({fallback:t,...e}){const r=new Map,n=new Map;function o(r,n,o){return(i,s)=>(r.set(s.key,i),()=>{if(n.has(s.key)){const t=n.get(s.key);return n.delete(s.key),function(t,r,n){const{delay:o=0,duration:i=t=>30*Math.sqrt(t),easing:s=Sp}=Tp(Tp({},e),n),a=t.getBoundingClientRect(),l=r.getBoundingClientRect(),c=a.left-l.left,u=a.top-l.top,d=a.width/l.width,h=a.height/l.height,p=Math.sqrt(c*c+u*u),f=getComputedStyle(r),g="none"===f.transform?"":f.transform,v=+f.opacity;return{delay:o,duration:"function"==typeof i?i(p):i,easing:s,css:(t,e)=>`\n\t\t\t opacity: ${t*v};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${g} translate(${e*c}px,${e*u}px) scale(${t+(1-t)*d}, ${t+(1-t)*h});\n\t\t `}}(t,i,s)}return r.delete(s.key),t&&t(i,s,o)})}return[o(n,r,!1),o(r,n,!0)]}({duration:t=>Math.sqrt(350*t),easing:cp});vp(t,{name:"comments",children:(t,e)=>{var a=Px(),l=Yl(a);{const t=t=>{var e=Cx(),r=Ul(Xl(Yl(e),2));ac(()=>{var t;return Su(r,null==(t=null==o?void 0:o.current)?void 0:t.name)}),ku(t,e)};let e=Cl(()=>null==r?void 0:r.isolated);Tf(l,{get hide(){return Xc(e)},title:t,children:(t,e)=>{var r=Mx(),n=Ul(r);xx(n,{get icon(){return qp},children:(t,e)=>{ku(t,yu("Page info"))},$$slots:{default:!0}}),xx(Xl(n,2),{get icon(){return Xp}}),ku(t,r)},$$slots:{title:!0,default:!0}})}var c=Xl(l,2);wf(c,{children:(t,e)=>{var r=Ox(),a=Yl(r),l=t=>{var e=Ax();Lu(e,29,()=>(null==n?void 0:n.filteredThreads)??[],t=>t.id,(t,e)=>{var r,n,o,a,l,c,u,d,h=Sx();vx(Ul(h),Td(()=>Xc(e))),r=h,n=()=>rg,o=()=>({duration:350,easing:cp}),d=null,(u=zu).a??(u.a={element:r,measure(){a=this.element.getBoundingClientRect()},apply(){if(null==c||c.abort(),l=this.element.getBoundingClientRect(),a.left!==l.left||a.right!==l.right||a.top!==l.top||a.bottom!==l.bottom){const t=n()(this.element,{from:a,to:l},null==o?void 0:o());c=bd(this.element,t,void 0,1,()=>{null==c||c.abort(),c=void 0})}},fix(){if(!r.getAnimations().length){var{position:t,width:e,height:n}=getComputedStyle(r);if("absolute"!==t&&"fixed"!==t){var o=r.style;d={position:o.position,width:o.width,height:o.height,transform:o.transform},o.position="absolute",o.width=e,o.height=n;var i=r.getBoundingClientRect();if(a.left!==i.left||a.top!==i.top){var s=`translate(${a.left-i.left}px, ${a.top-i.top}px)`;o.transform=o.transform?`${o.transform} ${s}`:s}}}},unfix(){if(d){var t=r.style;t.position=d.position,t.width=d.width,t.height=d.height,t.transform=d.transform}}}),u.a.element=r,vd(1,h,()=>s,()=>({key:Xc(e).id})),vd(2,h,()=>i,()=>({key:Xc(e).id})),ku(t,h)},t=>{gf(t,{icon:"comments",title:"No Comments",subtitle:"Be the first to comment."})}),vd(3,e,()=>Ep,()=>({axis:"y",duration:200})),ku(t,e)},c=t=>{var e=xu(),r=Yl(e),o=t=>{ku(t,Wx())};Pu(r,t=>{(null==n?void 0:n.error)&&t(o)},!0),ku(t,e)};Pu(a,t=>{var e;o.ready&&(null==n?void 0:n.filteredThreads)&&0!==(null==(e=n.data)?void 0:e.length)?t(l):t(c,!1)});var u=Ul(Xl(a,2)),d=t=>{Sf(t)},h=t=>{var e=xu(),r=Yl(e),n=t=>{!function(t,e){Za(e,!0);const{pages:r}=ek();var n=mx(),o=Ul(n);gf(o,{icon:"feather",title:"New Page",subtitle:"Name your page before saving it."});var i=Ul(Xl(o,2));bf(i,{children:(t,e)=>{yp(t,{name:"page-name",label:"Name",class:"w-full",required:!0,get value(){return r.pageName},set value(t){r.pageName=t}})}});var s=Xl(i,2),a=t=>{var e=bx(),n=Ul(e);ac(()=>Su(n,r.error)),ku(t,e)};Pu(s,t=>{r.error&&t(a)}),rf(Xl(s,2),{children:(t,e)=>{ku(t,yu("Save Page"))},$$slots:{default:!0}}),du("submit",n,t=>(t=>{t.preventDefault(),r.registerCurrent()})(t)),vd(3,n,()=>Pp,()=>({start:.8,duration:500,easing:cp})),ku(t,n),Ba()}(t,{})};Pu(r,t=>{o.ready&&o.isNew&&t(n)},!0),ku(t,e)};Pu(u,t=>{o.ready?t(h,!1):t(d)}),ku(t,r)},$$slots:{default:!0}}),Hf(Xl(c,2),{children:(t,e)=>{var n=Ex(),o=Yl(n);{let t=Cl(()=>null==r?void 0:r.isolated);Yf(o,{get hide(){return Xc(t)}})}var i=Xl(o,2);{let t=Cl(()=>null==r?void 0:r.isolated);!function(t,e){Za(e,!0);let r=zd(e,"hide",3,!1),n=zd(e,"value",15,"");var o=kx(),i=Ul(o);Xu(i,1,Bu(["peer w-full min-w-0 max-w-none superellipse flex-center font-normal pl-16 bg-neutral-500/10 glass-shadow backdrop-blur-sm rounded-full h-40 touch:h-48 gap-4 pointer-events-auto focus-visible","bg-slate-500/10 hover:bg-white/10 active:bg-white/20 active:scale-110","transition-[background-color,scale] duration-100 ease-out will-change-[background-color]"])),Cp(Ul(Xl(i,2)),{get icon(){return Jp},className:"size-18 touch:size-20"}),ac(()=>Xu(o,1,Bu(["superellipse rounded-full flex-1 shrink-0 fixed left-60 right-60 bottom-12 touch:left-76 touch:right-76 touch:bottom-20","transition-[translate,opacity] duration-100 ease-out will-change-[translate,opacity]",r()?"translate-y-20 opacity-0 pointer-events-none":""]))),md(i,n),ku(t,o),Ba()}(i,{get hide(){return Xc(t)}})}!function(t){let e=zd({},"hide",3,!1);Vf(t,{get icon(){return Uf},iconProps:{className:"size-22",strokeWidth:1.6},class:"fixed right-12 bottom-12 touch:right-20 touch:bottom-20",get hide(){return e()}})}(Xl(i,2)),ku(t,n)},$$slots:{default:!0}}),ku(t,a)},$$slots:{default:!0}}),Ba()},beforeEnter:Ix},thread:{component:function(t){vp(t,{name:"thread",children:(t,e)=>{var r=Tx();Hf(Xl(Yl(r),2),{children:(t,e)=>{Yf(t,{})},$$slots:{default:!0}}),ku(t,r)},$$slots:{default:!0}})},beforeEnter:Ix}},Fx=yh("router");class jx extends zh{constructor(){super(),$s(this,Ii,Pl(Rl(Rx))),$s(this,Ri,Pl(!1)),$s(this,Fi,Pl("forward")),$s(this,ji,Pl(!1)),$s(this,Di,Cl(()=>{const t=["folders","login","error"];if(this.navigating){const e="back"===this.direction?this.previous:this.next;return e&&!t.includes(e)}return this.current&&!t.includes(this.current)})),$s(this,Hi,Pl(!1)),$s(this,qi,Pl(null)),$s(this,Vi,Pl(null)),Qs(this,"pageOrder",["login","folders","pages","comments","thread"]),this.storage("current","fubi-router-current","login")}get routes(){return Xc(Gs(this,Ii))}set routes(t){zl(Gs(this,Ii),t,!0)}get navigating(){return Xc(Gs(this,Ri))}set navigating(t){zl(Gs(this,Ri),t,!0)}get direction(){return Xc(Gs(this,Fi))}set direction(t){zl(Gs(this,Fi),t,!0)}get pageLoaded(){return Xc(Gs(this,ji))}set pageLoaded(t){zl(Gs(this,ji),t,!0)}get canBack(){return Xc(Gs(this,Di))}set canBack(t){zl(Gs(this,Di),t)}get hasAutoNavigatedToComments(){return Xc(Gs(this,Hi))}set hasAutoNavigatedToComments(t){zl(Gs(this,Hi),t,!0)}get previous(){return Xc(Gs(this,qi))}set previous(t){zl(Gs(this,qi),t,!0)}get next(){return Xc(Gs(this,Vi))}set next(t){zl(Gs(this,Vi),t,!0)}start(){rc(()=>{this.modules.win.el&&this.mountPages()}),this.on("folders:ready",()=>this.validateCurrentRoute()),this.on("auth:logout",()=>this.goto("login")),this.on("status:maintenance",({title:t,message:e})=>{this.goto("error")}),this.on("router:goto",({route:t,direction:e})=>{"pages"===t&&"folders"!==this.current||this.goto(t,e||"forward")}),this.on("hover:enabled",()=>{this.ready&&this.pageLoaded&&!this.hasAutoNavigatedToComments&&(this.hasAutoNavigatedToComments=!0,this.goto("comments","forward"))}),this.on("hover:disabled",()=>{this.hasAutoNavigatedToComments=!1})}async mountPages(){await Promise.all(Object.entries(this.routes).map(([t,e])=>{this.modules.win.el&&Au(e.component,{target:this.modules.win.el})})),this.ready=!0}validateAfterPageLoad(){"pages"===this.current&&this.goto("comments"),this.pageLoaded=!0,this.emit("router:page-loaded")}hasRoute(t){return t in this.routes}validateCurrentRoute(){if(!this.current||this.navigating)return;const t=this.routes[this.current];if(!(null==t?void 0:t.beforeEnter))return;const e=t.beforeEnter(this.modules);if(e){if(Fx.info(`Route validation change, redirecting: ${this.current} → ${e.redirect}`),e.error&&this.emit("auth:msg",e.error),e.logout)return void this.modules.auth.logout();this.goto(e.redirect)}}goto(t,e="forward"){if(!this.hasRoute(t))return void Fx.warn(`Route "${t}" does not exist`);if(this.current===t)return void Fx.info(`Already on route: ${t}`);if(this.navigating)return void Fx.warn("Already navigating, ignoring.");const r=this.routes[t];if(r.beforeEnter){const n=r.beforeEnter(this.modules);if(n)return Fx.info(`beforeEnter redirecting: ${t} → ${n.redirect}`),n.error&&this.emit("auth:msg",n.error),n.logout?void this.modules.auth.logout():void this.goto(n.redirect,e)}this.transition(t,e)}transition(t,e){var r;this.navigating=!0,this.direction=e,"forward"===e?this.next=t:this.previous=t,null==(r=this.modules.win.el)||r.classList.add(`router-transition-${e}`),setTimeout(()=>{var r;this.navigating=!1,this.previous=this.current,this.current=t,this.next=null,null==(r=this.modules.win.el)||r.classList.remove(`router-transition-${e}`),this.modules.win.focusPageContent()},400)}back(){const t=this.pageOrder.indexOf(this.current);if(t>0){const e=this.pageOrder[t-1];this.goto(e,"back")}else Fx.info("No previous page to navigate back to.")}}Ii=new WeakMap,Ri=new WeakMap,Fi=new WeakMap,ji=new WeakMap,Di=new WeakMap,Hi=new WeakMap,qi=new WeakMap,Vi=new WeakMap;const Dx=yh("hover"),Hx={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)]",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)","not-allowed":"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"};class qx extends zh{constructor(){super(),$s(this,Zi,Cl(()=>this.modules.auth.user&&("pages"===this.modules.tabbar.tabActive||"comments"===this.modules.tabbar.tabActive)||!1)),$s(this,Bi,Pl(Rl({x:window.scrollX,y:window.scrollY}))),$s(this,Ki,Pl(!1)),$s(this,Ui,Pl(Rl({x:0,y:0}))),$s(this,Yi,Pl(!1)),$s(this,Xi,Pl(null)),$s(this,Qi,Pl(null)),$s(this,Ji,Pl(null)),$s(this,Gi,Pl(!1)),$s(this,$i,Cl(()=>{var t;return this.isolated?"isolation":(null==(t=null==this?void 0:this.info)?void 0:t.hasThreads)?"thread":"default"})),$s(this,_i,Cl(()=>this.current?this.modules.elements.getPath(this.current):"")),Qs(this,"highlightOffset",4),$s(this,ts,Pl(!1)),$s(this,es,Cl(()=>{var t,e;return this.current?null==(e=null==(t=null==this?void 0:this.modules)?void 0:t.elements)?void 0:e.getCoords(null==this?void 0:this.current):{x:this.scroll.x+this.mouse.x-4,y:this.scroll.y+this.mouse.y-4,w:8,h:8,r:4}})),Qs(this,"highlightPos",new sp(this.highlightCoords,{stiffness:.08,damping:.5})),Qs(this,"hoverTimeout",null),Qs(this,"hoverDelay",50),$s(this,rs,Pl(Rl(["#fubi-new-comment",".fubi-picker","[data-fubi-message-show-comments-button]","[data-fubi-message-new-comment-button]","[data-fubi-priority-button]","[data-fubi-done-button]","[data-dropdown-menu-trigger]","[data-tooltip-trigger]"]))),$s(this,ns,Pl(!1)),this.storage("enabled","fubi-hover-enabled",!0)}get allowed(){return Xc(Gs(this,Zi))}set allowed(t){zl(Gs(this,Zi),t)}get scroll(){return Xc(Gs(this,Bi))}set scroll(t){zl(Gs(this,Bi),t,!0)}get insideFubi(){return Xc(Gs(this,Ki))}set insideFubi(t){zl(Gs(this,Ki),t,!0)}get mouse(){return Xc(Gs(this,Ui))}set mouse(t){zl(Gs(this,Ui),t,!0)}get emptyHover(){return Xc(Gs(this,Yi))}set emptyHover(t){zl(Gs(this,Yi),t,!0)}get previous(){return Xc(Gs(this,Xi))}set previous(t){zl(Gs(this,Xi),t,!0)}get current(){return Xc(Gs(this,Qi))}set current(t){zl(Gs(this,Qi),t,!0)}get info(){return Xc(Gs(this,Ji))}set info(t){zl(Gs(this,Ji),t,!0)}get isolated(){return Xc(Gs(this,Gi))}set isolated(t){zl(Gs(this,Gi),t,!0)}get mode(){return Xc(Gs(this,$i))}set mode(t){zl(Gs(this,$i),t)}get path(){return Xc(Gs(this,_i))}set path(t){zl(Gs(this,_i),t)}get highlightVisible(){return Xc(Gs(this,ts))}set highlightVisible(t){zl(Gs(this,ts),t,!0)}get highlightCoords(){return Xc(Gs(this,es))}set highlightCoords(t){zl(Gs(this,es),t)}get ignoreSelectors(){return Xc(Gs(this,rs))}set ignoreSelectors(t){zl(Gs(this,rs),t,!0)}get ignoreNextClick(){return Xc(Gs(this,ns))}set ignoreNextClick(t){zl(Gs(this,ns),t,!0)}start(){this.modules.keys.bind("c",()=>{Lh()||this.toggle()}),this.modules.events.add("mousemove",t=>this.handleMouseMove(t)),this.modules.events.add("mouseover",t=>this.handleMouseOver(t)),this.modules.events.add("scrollstart",()=>this.handleScrollStart()),this.modules.events.add("scroll",()=>this.handleScroll()),this.modules.events.add("mousedown",t=>this.handleMouseDown(t)),this.modules.events.add("click",t=>this.handleClick(t)),this.modules.events.add("mouseout",t=>this.handleMouseOut(t),{target:document.documentElement}),this.on("message:escape",()=>this.isolated=!1),this.on("auth:login",()=>{this.enabled&&this.enable()}),this.on("auth:logout",()=>this.disable()),this.modules.keys.bind("Escape",()=>{this.modules.message.focused&&this.isolated&&!this.modules.picker.open&&(this.isolated=!1)}),rc(()=>{this.highlightPos.set(this.highlightCoords)})}enable(){if(!this.allowed)return void Dx.warn("Hover not allowed.");Dx.info("Hover enabled."),this.setDefaultScroll(),this.modules.dom.addClass("fubi-hover-enabled"),this.emit("toolbar:feature-used",{feature:"comment"}),this.enabled=!0,this.emit("hover:enabled");const t=this.getElementUnderCursor();t&&this.handleHoverElement(t,0)}disable(){Dx.info("Hover disabled."),this.modules.dom.removeClass("fubi-hover-enabled"),this.enabled=!1,this.reset(),this.emit("hover:disabled")}toggle(){this[this.enabled?"disable":"enable"]()}reset(){this.emptyHover=!1,this.clearHoverTimeout(),this.setHoverState(null,!1),this.isolated=!1,this.info=null}setDefaultScroll(){this.scroll={x:window.scrollX,y:window.scrollY}}setCurrentMouse(){}showHighlight(){this.highlightVisible||(Dx.info("Highlight enabled."),this.highlightVisible=!0)}hideHighlight(){this.highlightVisible&&(Dx.info("Highlight disabled."),this.emit("hover:hide"),this.highlightVisible=!1)}shouldIgnore(t){return!!t&&this.ignoreSelectors.some(e=>!!t.closest(e))}getElementUnderCursor(){return document.elementFromPoint(this.mouse.x,this.mouse.y)}handleScrollStart(){this.enabled&&(this.highlightVisible||this.showHighlight())}handleScroll(){this.enabled&&(this.scroll={x:window.scrollX,y:window.scrollY})}handleMouseDown(t){if(!this.enabled)return;const e=t.composedPath()[0];this.ignoreNextClick=this.shouldIgnore(e),this.ignoreNextClick?Dx.info("Mouse down inside ignored element, skipping."):(t.preventDefault(),t.stopPropagation())}resetIsolation(){this.isolated=!1,this.emptyHover=!1,this.current=null,this.info=null,Dx.info("Element un-isolated:",this.current),this.emit("hover:reset")}handleClick(t){if(this.enabled&&this.current){if(this.ignoreNextClick)return Dx.info("Click inside ignored element, skipping."),void(this.ignoreNextClick=!1);if(t.preventDefault(),t.stopPropagation(),this.isolated)return this.resetIsolation(),void(this.mouse={x:t.clientX,y:t.clientY});this.emptyHover?Dx.warn("Cannot isolate empty hover."):this.info?(this.modules.dom.scrollToElement(this.current),this.isolated=!0,Dx.info("Element isolated:",this.current),this.emit("hover:isolated",{el:this.current,info:this.info})):Dx.warn("Cannot isolate hover without info.")}}handleMouseMove(t){if(this.mouse={x:t.clientX,y:t.clientY},!this.enabled)return;if(this.isolated)return;const e=t.composedPath()[0];if(this.shouldIgnore(e)||this.modules.elements.isInsideFubi(e)||this.modules.elements.isInsideMessage(e)||this.modules.elements.isInsidePicker(e))return this.insideFubi=!0,this.clearHoverTimeout(),void this.setHoverState(null,!1);this.insideFubi=!1,this.highlightVisible||this.emptyHover||this.showHighlight()}handleMouseOut(t){if(!this.enabled)return;if(this.isolated)return;const e=t.relatedTarget;e&&document.documentElement.contains(e)||(this.clearHoverTimeout(),this.setHoverState(null,!1))}clearHoverTimeout(){this.hoverTimeout&&(clearTimeout(this.hoverTimeout),this.hoverTimeout=null)}setHoverState(t,e){this.previous=this.current,this.current=t,this[e?"showHighlight":"hideHighlight"]()}forceHover(t){if(!t)return void this.setHoverState(null,!1);const e=this.modules.elements.getClosestAllowed(t);if(!e)return;this.info=this.modules.elements.getInfo(e),this.emptyHover=!1,this.setHoverState(e,!0);const r=this.modules.elements.getCoords(e);this.highlightPos.target=r}handleHoverElement(t,e=this.hoverDelay){if(!t)return this.clearHoverTimeout(),void this.setHoverState(null,!0);if(this.modules.elements.isInsideFubi(t))return this.clearHoverTimeout(),this.setHoverState(null,!1),void(this.insideFubi=!0);this.insideFubi=!1;const r=this.modules.elements.getClosestAllowed(t);if(!r)return this.emptyHover=!0,this.clearHoverTimeout(),void this.setHoverState(null,!0);if(this.current===r)return;const n=this.modules.elements.getInfo(r);this.info=n,this.emptyHover=!1,this.clearHoverTimeout(),this.hoverTimeout=setTimeout(()=>{this.setHoverState(r,!0),this.hoverTimeout=null},e)}handleMouseOver(t){if(!this.enabled)return;if(this.isolated)return;const e=t.composedPath()[0];this.shouldIgnore(e)||this.handleHoverElement(e)}}Zi=new WeakMap,Bi=new WeakMap,Ki=new WeakMap,Ui=new WeakMap,Yi=new WeakMap,Xi=new WeakMap,Qi=new WeakMap,Ji=new WeakMap,Gi=new WeakMap,$i=new WeakMap,_i=new WeakMap,ts=new WeakMap,es=new WeakMap,rs=new WeakMap,ns=new WeakMap;const Vx=yh("comments");class Zx extends $h{constructor(){super(...arguments),$s(this,os,Cl(()=>{var t;return(null==(t=this.modules.pages.current)?void 0:t.id)?`page = "${this.modules.pages.current.id}"`:void 0})),Qs(this,"sort","-created"),$s(this,is,Cl(()=>this.data.filter(t=>!t.parent))),$s(this,ss,Cl(()=>{const t=new Map;return this.threads.forEach(e=>{const r=e.selector;t.has(r)||t.set(r,[]),t.get(r).push(e)}),t})),$s(this,as,Cl(()=>{const t=this.modules.hover.path??null;return this.modules.hover.isolated&&t?this.threads.filter(e=>e.selector===t):this.threads})),$s(this,ls,Cl(()=>{const t=new Map;return this.grouped.forEach((e,r)=>{if(!r)return;const n=document.querySelector(r);t.set(r,{selector:r,element:n,threadIds:e.map(t=>t.id),missing:!n})}),t}))}get filter(){return Xc(Gs(this,os))}set filter(t){zl(Gs(this,os),t)}get threads(){return Xc(Gs(this,is))}set threads(t){zl(Gs(this,is),t)}get grouped(){return Xc(Gs(this,ss))}set grouped(t){zl(Gs(this,ss),t)}get filteredThreads(){return Xc(Gs(this,as))}set filteredThreads(t){zl(Gs(this,as),t)}get bindings(){return Xc(Gs(this,ls))}set bindings(t){zl(Gs(this,ls),t)}start(){this.initCollection({name:"comments",expand:"createdBy,mentions",onFinish:()=>{Vx.ok(this.data.length,"comments fetched"),this.populate()}}),this.on("pages:current",()=>{this.fetch()}),this.on("folders:changed",()=>{this.fetch()}),this.on("message:submit",async({data:t})=>{this.modules.pages.isNew&&(Vx.info("Current page is new, creating page first..."),await this.modules.pages.registerCurrent(),t.page=this.modules.pages.current.id,Vx.info("Page created with ID:",t.page)),await this.create(t).then(()=>{this.emit("comments:created")})})}async delete(t){await this.collection.delete(t).then(()=>{Vx.ok("comment deleted")})}async setPriority(t,e){await this.collection.update(t,{priority:e}).then(()=>{Vx.ok("comment priority updated")})}async setDone(t,e){await this.collection.update(t,{done:e}).then(()=>{Vx.ok("comment done updated")})}reset(){this.data=[],this.ready=!1}populate(){this.bindings.forEach(t=>{t.element&&(t.element.dataset.fubiThreads=t.threadIds.join(","))}),Vx.ok(`${this.bindings.size} elements binded with comments`),this.ready=!0}}os=new WeakMap,is=new WeakMap,ss=new WeakMap,as=new WeakMap,ls=new WeakMap;const Bx=yh("domains");class Kx extends $h{constructor(){super(...arguments),Qs(this,"sort","-updated"),$s(this,cs,Cl(()=>{var t;return`project = "${null==(t=this.modules.project.current)?void 0:t.id}"`})),$s(this,us,Cl(()=>{var t;return{project:null==(t=this.modules.project.current)?void 0:t.id}})),$s(this,ds,Pl(null)),$s(this,hs,Cl(()=>{var t;const e=null==(t=this.url)?void 0:t.origin;return e&&this.data.find(t=>t.origin===e)||null}))}get filter(){return Xc(Gs(this,cs))}set filter(t){zl(Gs(this,cs),t)}get query(){return Xc(Gs(this,us))}set query(t){zl(Gs(this,us),t)}get url(){return Xc(Gs(this,ds))}set url(t){zl(Gs(this,ds),t,!0)}get current(){return Xc(Gs(this,hs))}set current(t){zl(Gs(this,hs),t)}start(){this.initCollection({name:"domains",onFinish:async()=>{Bx.ok(this.data.length,"domains fetched:",Fa(this.data)),this.ready=!0,await this.check(),this.emit("domains:ready")}}),this.on("project:ready",()=>this.fetch()),this.getUrl()}async check(){var t,e,r,n;if(!(null==(t=this.url)?void 0:t.origin))return;let o=null!==this.current,i=(null==(e=this.current)?void 0:e.verified)||!1;o?Bx.info(`Domain already registered: ${null==(r=this.current)?void 0:r.origin}`):await this.register(),i?Bx.info(`Domain already verified: ${null==(n=this.current)?void 0:n.origin}`):await this.verify()}async getMetaImageFiles(){const t=this.modules.meta.favicon,e=this.modules.meta.shareImage,r=this.modules.meta.touchicon,[n,o,i]=await Promise.all([t?Rh(t):null,e?Rh(e):null,r?Rh(r):null]);return!n&&t&&Bx.error("Failed to download favicon:",t),!o&&e&&Bx.error("Failed to download share image:",e),!i&&r&&Bx.error("Failed to download touchicon:",r),{favicon:n,shareimage:o,touchicon:i}}async register(){const[t,e]=await Ih(this.collection.create({project:this.modules.project.id,origin:origin,dev:!1,shareimage:null,favicon:null,touchicon:null}));t?this.track("error","Failed to register domain",{error:t.message,origin:origin}):(this.data=[...this.data,e],this.emit("domains:registered",{domain:e}),this.track("ok","Domain registered",{domain:e}))}async verify(){if(!this.current)return void Bx.error("No current domain to verify");if(!this.modules.auth.user)return;if(this.current.verified)return void Bx.info("Domain already verified:",this.current.origin);const t=await this.getMetaImageFiles(),e={verified:!0};t.favicon&&(e.favicon=t.favicon),t.shareimage&&(e.shareimage=t.shareimage),t.touchicon&&(e.touchicon=t.touchicon),await this.collection.update(this.current.id,e),t.favicon&&Bx.ok("Favicon uploaded for domain:",this.current.origin),t.shareimage&&Bx.ok("Share image uploaded for domain:",this.current.origin),t.touchicon&&Bx.ok("Touchicon uploaded for domain:",this.current.origin),this.data=this.data.map(t=>t.id===this.current.id?{...t,verified:!0}:t),Bx.ok("Domain verified:",this.current.origin)}getUrl(){this.url=new URL(window.location.href)}}cs=new WeakMap,us=new WeakMap,ds=new WeakMap,hs=new WeakMap;class Ux extends zh{constructor(){super(...arguments),Qs(this,"offset",4),Qs(this,"forbiddenTags",["html","body","script","style","link","meta","title","head","path"]),Qs(this,"getClosestAllowed",t=>{if(!t)return null;let e=t;for(;e;){if(!this.forbiddenTags.includes(e.tagName.toLowerCase()))return e;e=this.traverseUp(e)}return null}),Qs(this,"getCoords",t=>{const e={x:0,y:0,w:0,h:0,r:4};if(!t)return e;const r=t.getBoundingClientRect(),n=window.getComputedStyle(t),o=parseFloat(n.borderRadius)||4,i=Math.min(r.height,r.width)/2,s=this.isAtBodyEdge(r),a=Math.max(0,Math.min(s?o-this.offset:o+this.offset,i));return{y:window.scrollY+r.y-(s?-this.offset:this.offset),x:window.scrollX+r.x-(s?-this.offset:this.offset),w:r.width+2*(s?-this.offset:this.offset),h:r.height+2*(s?-this.offset:this.offset),r:a}??e}),Qs(this,"getInfo",t=>{const e=t.getAttribute("data-fubi-threads"),r=e?function(t,e=","){return t?t.split(e).map(t=>t.trim()):[]}(e):[];return{el:t,tag:t.tagName.charAt(0)+t.tagName.slice(1).toLowerCase(),hasThreads:r.length>0,threads:r}}),Qs(this,"isValid",t=>{if(!t)return!1;const e=t.tagName.toLowerCase();return!this.forbiddenTags.includes(e)})}traverseUp(t){if(t.parentElement)return t.parentElement;const e=t.getRootNode();return(null==e?void 0:e.host)?e.host:null}isInside({id:t=null,className:e=null}){return r=>{if(!r||r.nodeType!==Node.ELEMENT_NODE)return!1;let n=r;for(;n;){if(t&&n.id===t)return!0;if(e&&n.classList.contains(e))return!0;n=this.traverseUp(n)}return!1}}isInsideFubi(t){return this.isInside({id:"fubi-shadow-root"})(t)}isInsideMessage(t){return this.isInside({id:"fubi-new-comment"})(t)}isInsidePicker(t){return this.isInside({className:"fubi-picker"})(t)}isAtBodyEdge(t){const e=this.offset,r=t.top+window.scrollY,n=t.left+window.scrollX,o=t.right+window.scrollX,i=t.bottom+window.scrollY,s=document.body.scrollWidth,a=document.body.scrollHeight;return r<=e||n<=e||o>=s-e||i>=a-e}getTag(t){return t&&t.nodeType===Node.ELEMENT_NODE?(t.tagName||t.nodeName).toLowerCase():null}getPath(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return"";const e=[];let r=t;for(;r&&r.nodeType===Node.ELEMENT_NODE&&"html"!==r.tagName.toLowerCase();){const t=this.getTag(r);if(!t){r=r.parentElement;continue}const n=this.getNthOfTypeIndex(r,t),o=n>1?`:nth-of-type(${n})`:"";e.unshift(`${t}${o}`),r=r.parentElement}return e.join(" > ")}getNthOfTypeIndex(t,e){let r=1,n=t.previousElementSibling;for(;n;)this.getTag(n)===e&&r++,n=n.previousElementSibling;return r}}const Yx=yh("message");let Xx=(ws=class extends zh{constructor(){super(...arguments),$s(this,ps,Pl("")),$s(this,fs,Pl(!1)),$s(this,gs,Pl(null)),$s(this,vs,Pl(null)),$s(this,bs,Pl(!1)),$s(this,ms,Pl(!1))}get html(){return Xc(Gs(this,ps))}set html(t){zl(Gs(this,ps),t,!0)}get priority(){return Xc(Gs(this,fs))}set priority(t){zl(Gs(this,fs),t,!0)}get element(){return Xc(Gs(this,gs))}set element(t){zl(Gs(this,gs),t,!0)}get trigger(){return Xc(Gs(this,vs))}set trigger(t){zl(Gs(this,vs),t,!0)}get focused(){return Xc(Gs(this,bs))}set focused(t){zl(Gs(this,bs),t,!0)}get visible(){return Xc(Gs(this,ms))}set visible(t){zl(Gs(this,ms),t,!0)}get mentions(){return this.parseContent().filter(t=>"mention"===t.type).map(t=>t.userId)}start(){this.on("hover:isolated",()=>{var t;(null==(t=this.modules.hover.info)?void 0:t.hasThreads)||this.focus()}),this.on("hover:hide",()=>{this.modules.hover.isolated||this.reset()}),this.on("hover:reset",()=>this.reset()),this.modules.keys.bind("Escape",()=>{this.modules.picker.open||(this.focused&&this.reset(),this.emit("message:escape"))}),this.modules.keys.bind("Enter",t=>{this.focused&&(this.modules.picker.open||t.shiftKey||(t.preventDefault(),this.handleSendComment()))}),this.on("comments:created",()=>{this.reset()}),this.on("message:new-comment",()=>{this.visible=!0,this.focus()})}focus(){var t;null==(t=this.element)||t.focus(),this.focused=!0}blur(){var t;null==(t=this.element)||t.blur(),this.focused=!1}reset(){this.html="",this.priority=!1,this.trigger=null,this.visible=!1,this.blur()}destroy(){}insertCharacter(t){this.element&&(this.focus(),document.execCommand("insertText",!1,t),this.html=this.element.innerHTML)}handleInput(t){const e=t.currentTarget;this.html=e.innerHTML,this.checkForTriggers()}parseContent(){return this.element?this.parseNode(this.element):[]}parseNode(t){const e=[];for(const r of t.childNodes)if(r.nodeType===Node.TEXT_NODE){const t=r.textContent||"";t&&e.push({type:"text",value:t})}else if(r instanceof HTMLElement)if(r.hasAttribute("data-fubi-comment-mention")){const t=r.getAttribute("data-mention-id");t&&e.push({type:"mention",userId:t})}else if(r.hasAttribute("data-fubi-comment-image")){const t=r.getAttribute("src")||"",n=r.getAttribute("alt")||"";e.push({type:"image",src:t,alt:n})}else e.push(...this.parseNode(r));return e}static renderContent(t,e){return t.map(t=>{switch(t.type){case"text":return fx(t.value);case"mention":{const r=e(t.userId),n=(null==r?void 0:r.exists)?r.name:"Deleted User";return`<span class="text-sky-400" data-mention-id="${t.userId}">@${fx(n)}</span>`}case"image":return`<img src="${fx(t.src)}" alt="${fx(t.alt||"")}" data-fubi-comment-image />`}}).join("")}checkForTriggers(){if(!this.element)return;const t=this.element.textContent||"";this.detectTriggerFromText(t)}detectTriggerFromText(t){const e=t.match(/@(\w*)$/);if(e)return this.trigger={type:"mention",query:e[1],position:t.length-e[0].length},void this.modules.picker.show("mention",e[1],this.element);this.clearTrigger()}clearTrigger(){this.trigger&&(this.trigger=null,this.modules.picker.hide())}confirmPicker(t){var e,r;if(this.element&&this.trigger){if("mention"===this.trigger.type){const r=`@${this.trigger.query}`;document.execCommand("insertHTML",!1,'<span id="__fubi_marker"></span>');const n=this.element.querySelector("#__fubi_marker");if(n){const o=document.createTreeWalker(this.element,NodeFilter.SHOW_TEXT);let i;for(;i=o.nextNode();){const t=(null==(e=i.textContent)?void 0:e.lastIndexOf(r))??-1;if(-1!==t){i.textContent=i.textContent.slice(0,t)+i.textContent.slice(t+r.length);break}}const s=`<span contenteditable="false" data-fubi-comment-mention data-mention-id="${t.id}" class="text-sky-400">@${this.escapeHTML(t.label)}</span> `;n.outerHTML=s}this.html=this.element.innerHTML,this.placeCaretAtEnd()}else if("command"===this.trigger.type){const t=`/${this.trigger.query}`,e=document.createTreeWalker(this.element,NodeFilter.SHOW_TEXT);let n;for(;n=e.nextNode();){const e=(null==(r=n.textContent)?void 0:r.lastIndexOf(t))??-1;if(-1!==e){n.textContent=n.textContent.slice(0,e)+n.textContent.slice(e+t.length);break}}this.html=this.element.innerHTML}this.trigger=null,this.modules.picker.hide()}}cancelPicker(){this.trigger=null}placeCaretAtEnd(){var t;this.element&&(this.element.focus(),document.execCommand("selectAll",!1),null==(t=document.getSelection())||t.collapseToEnd())}insertMention(t,e){if(!this.element)return;const r=`<span contenteditable="false" data-fubi-comment-mention data-mention-id="${t}" class="text-sky-400">@${this.escapeHTML(e)}</span> `;this.element.focus(),document.execCommand("insertHTML",!1,r),this.html=this.element.innerHTML}insertImage(t,e=""){if(!this.element)return;const r=`<img contenteditable="false" src="${this.escapeHTML(t)}" alt="${this.escapeHTML(e)}" data-fubi-comment-image /> `;this.element.focus(),document.execCommand("insertHTML",!1,r),this.html=this.element.innerHTML}escapeHTML(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}handleSendComment(){var t;Yx.info("will send comment"),this.loading=!0;const e=this.parseContent();Yx.info("parsed content:",e);const r={page:this.modules.pages.current.id,parent:null,selector:null==(t=this.modules.hover)?void 0:t.path,done:!1,priority:this.priority,content:e,mentions:this.mentions,info:{},createdBy:this.modules.auth.user.id};this.emit("message:submit",{data:r})}},ps=new WeakMap,fs=new WeakMap,gs=new WeakMap,vs=new WeakMap,bs=new WeakMap,ms=new WeakMap,ws),Qx=(As=class extends zh{constructor(){super(...arguments),$s(this,ys,Pl(!1)),$s(this,xs,Pl(null)),$s(this,ks,Pl("")),$s(this,Cs,Pl(0)),$s(this,Ms,Pl(null)),$s(this,Ss,Pl(Rl([])))}get open(){return Xc(Gs(this,ys))}set open(t){zl(Gs(this,ys),t,!0)}get type(){return Xc(Gs(this,xs))}set type(t){zl(Gs(this,xs),t,!0)}get query(){return Xc(Gs(this,ks))}set query(t){zl(Gs(this,ks),t,!0)}get selectedIndex(){return Xc(Gs(this,Cs))}set selectedIndex(t){zl(Gs(this,Cs),t,!0)}get anchorElement(){return Xc(Gs(this,Ms))}set anchorElement(t){zl(Gs(this,Ms),t,!0)}get items(){return Xc(Gs(this,Ss))}set items(t){zl(Gs(this,Ss),t,!0)}start(){this.modules.keys.bind("ArrowDown",t=>{this.open&&0!==this.items.length&&(t.preventDefault(),this.selectedIndex=Math.min(this.selectedIndex+1,this.items.length-1))}),this.modules.keys.bind("ArrowUp",t=>{this.open&&0!==this.items.length&&(t.preventDefault(),this.selectedIndex=Math.max(0,this.selectedIndex-1))}),this.modules.keys.bind("Enter",t=>{this.open&&this.items[this.selectedIndex]&&(t.preventDefault(),this.confirm(this.items[this.selectedIndex]))}),this.modules.keys.bind("Escape",t=>{this.open&&(t.preventDefault(),this.cancel())})}show(t,e,r){this.type=t,this.query=e,this.anchorElement=r,this.selectedIndex=0,this.open=!0}hide(){this.open=!1,this.type=null,this.query="",this.anchorElement=null,this.selectedIndex=0}setItems(t){this.items=t,this.selectedIndex>=t.length&&(this.selectedIndex=Math.max(0,t.length-1))}confirm(t){this.modules.message.confirmPicker(t),this.hide()}cancel(){this.modules.message.cancelPicker(),this.hide()}},ys=new WeakMap,xs=new WeakMap,ks=new WeakMap,Cs=new WeakMap,Ms=new WeakMap,Ss=new WeakMap,As);const Jx=yh("bus");class Gx extends zh{constructor(){super(...arguments),Qs(this,"handlers",new Map)}on(t,e){return this.handlers.has(t)||this.handlers.set(t,new Set),this.handlers.get(t).add(e),()=>{var r,n;null==(r=this.handlers.get(t))||r.delete(e),0===(null==(n=this.handlers.get(t))?void 0:n.size)&&this.handlers.delete(t)}}emit(t,...e){const r=this.handlers.get(t);if(!r||0===r.size)return void(t.startsWith("hover:")||t.startsWith("keys:")||Jx.warn(`No listeners for "${t}"`));const n=e[0];r.forEach(e=>{try{e(n)}catch(r){Jx.error(`Error in handler for "${t}":`,r)}})}has(t){var e;return((null==(e=this.handlers.get(t))?void 0:e.size)??0)>0}debug(){Jx.info("Registered events:",Array.from(this.handlers.entries()).map(([t,e])=>`${t}: ${e.size}`))}}let $x=(Fs=class extends zh{constructor(){super(...arguments),$s(this,Ws,Pl(!1)),Qs(this,"cornerRadius",6),Qs(this,"fromEl",null),Qs(this,"toEl",null),$s(this,Os,Pl(Rl({x:0,y:0,w:0,h:0}))),$s(this,Es,Pl(Rl({x:0,y:0,w:0,h:0}))),$s(this,Ps,Pl(Rl({point:"border",offset:0}))),$s(this,Ts,Pl(Rl({point:"border",offset:0}))),$s(this,zs,Cl(()=>this.to.y+this.to.h/2<this.from.y+this.from.h/2)),$s(this,Ns,Cl(()=>this.to.x+this.to.w/2<this.from.x+this.from.w/2)),$s(this,Ls,Cl(()=>Math.abs(this.to.y+this.to.h/2-(this.from.y+this.from.h/2))<50)),$s(this,Is,Cl(()=>this.to.y+this.to.h/2>this.from.y+this.from.h/2)),$s(this,Rs,Cl(()=>{const t="center"===this.toAnchor.point?this.to.x+this.to.w/2:this.to.x-this.toAnchor.offset,e=this.to.y+this.to.h/2,r=this.from.x+this.from.w/2,n="center"===this.fromAnchor.point?this.from.y+this.from.h/2:this.isAbove?this.from.y-this.fromAnchor.offset:this.from.y+this.from.h+this.fromAnchor.offset,o=this.isSameLevel?this.isCloserToBottom?this.from.y+this.from.h+this.fromAnchor.offset+20:this.from.y-this.fromAnchor.offset-20:n,i=Math.min(t,r),s=Math.min(e,n,o),a=Math.max(e,n,o);return{x:i,y:s,w:Math.max(t,r)-i,h:a-s,sx:t-i,sy:e-s,ex:r-i,ey:n-s,ry:o-s,sameLevel:this.isSameLevel,routeBelow:this.isCloserToBottom}}))}get enabled(){return Xc(Gs(this,Ws))}set enabled(t){zl(Gs(this,Ws),t,!0)}get from(){return Xc(Gs(this,Os))}set from(t){zl(Gs(this,Os),t,!0)}get to(){return Xc(Gs(this,Es))}set to(t){zl(Gs(this,Es),t,!0)}get fromAnchor(){return Xc(Gs(this,Ps))}set fromAnchor(t){zl(Gs(this,Ps),t,!0)}get toAnchor(){return Xc(Gs(this,Ts))}set toAnchor(t){zl(Gs(this,Ts),t,!0)}get isAbove(){return Xc(Gs(this,zs))}set isAbove(t){zl(Gs(this,zs),t)}get isLeft(){return Xc(Gs(this,Ns))}set isLeft(t){zl(Gs(this,Ns),t)}get isSameLevel(){return Xc(Gs(this,Ls))}set isSameLevel(t){zl(Gs(this,Ls),t)}get isCloserToBottom(){return Xc(Gs(this,Is))}set isCloserToBottom(t){zl(Gs(this,Is),t)}get bounds(){return Xc(Gs(this,Rs))}set bounds(t){zl(Gs(this,Rs),t)}getRect(t){if(!t)return{x:0,y:0,w:0,h:0};const{left:e,top:r,width:n,height:o}=t.getBoundingClientRect();return{x:e+scrollX,y:r+scrollY,w:n,h:o}}updatePositions(){this.fromEl&&(this.from=this.getRect(this.fromEl)),this.toEl&&(this.to=this.getRect(this.toEl))}start(){const t=()=>{this.enabled&&this.updatePositions()};this.modules.events.add("scroll",t),this.modules.events.add("resize",t),rc(()=>{this.enabled&&this.updatePositions()})}trace(t,e,r){this.fromEl=t,this.toEl=e,this.fromAnchor={point:"border",offset:0,...null==r?void 0:r.from},this.toAnchor={point:"border",offset:0,...null==r?void 0:r.to},this.updatePositions(),this.enabled=!0}hide(){this.enabled=!1,this.fromEl=null,this.toEl=null}},Ws=new WeakMap,Os=new WeakMap,Es=new WeakMap,Ps=new WeakMap,Ts=new WeakMap,zs=new WeakMap,Ns=new WeakMap,Ls=new WeakMap,Is=new WeakMap,Rs=new WeakMap,Fs);class _x extends zh{constructor(){super(...arguments),$s(this,js,Pl(Rl(new Map)))}get instances(){return Xc(Gs(this,js))}set instances(t){zl(Gs(this,js),t,!0)}register(t,e){return this.instances.set(t,e),()=>this.instances.delete(t)}open(t,e){var r;null==(r=this.instances.get(t))||r.open(e)}close(t){var e;null==(e=this.instances.get(t))||e.close()}}js=new WeakMap;class tk extends zh{constructor(){super(...arguments),$s(this,Ds,Pl(!1)),$s(this,Hs,Pl(null)),$s(this,qs,Pl(null)),$s(this,Vs,Pl(null)),$s(this,Zs,Pl("Page title")),$s(this,Bs,Pl("Page description"))}get visible(){return Xc(Gs(this,Ds))}set visible(t){zl(Gs(this,Ds),t,!0)}get shareImage(){return Xc(Gs(this,Hs))}set shareImage(t){zl(Gs(this,Hs),t,!0)}get favicon(){return Xc(Gs(this,qs))}set favicon(t){zl(Gs(this,qs),t,!0)}get touchicon(){return Xc(Gs(this,Vs))}set touchicon(t){zl(Gs(this,Vs),t,!0)}get title(){return Xc(Gs(this,Zs))}set title(t){zl(Gs(this,Zs),t,!0)}get description(){return Xc(Gs(this,Bs))}set description(t){zl(Gs(this,Bs),t,!0)}getValueFromMeta(t){let e=document.querySelector(t),r=null;return e&&(r=e.getAttribute("content")),r}getValueFromLink(t){let e=document.querySelector(t);return e?e.getAttribute("href"):null}start(){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='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']")||"Page title",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']")||"Page description",this.favicon=this.getValueFromLink("link[rel='icon']")||this.getValueFromLink("link[rel='shortcut icon']")||null,this.touchicon=this.getValueFromLink("link[rel='apple-touch-icon']")||null}}function ek(){return qa("app").modules}Ds=new WeakMap,Hs=new WeakMap,qs=new WeakMap,Vs=new WeakMap,Zs=new WeakMap,Bs=new WeakMap;const rk="https://fubi.wondermakers.dev",nk=yh("app");var ok=bu('<div class="flex w-full items-center gap-6"><div></div> </div>'),ik=bu("<p> <span> </span></p>"),sk=bu('<details open><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>'),ak=bu('<div class="hidden fixed bottom-8 touch:top-8 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 lk=bu('<button><span class="sr-only">Close Window</span></button> <div><div></div> <!></div>',1);hu(["click","pointerdown","pointerup","pointermove"]);var ck=bu('<button><span class="sr-only"> </span> <!></button>');function uk(t,e){Za(e,!0);const r=zd(e,"variant",3,"default"),n=zd(e,"label",3,"Icon"),o=zd(e,"tooltip",3,"Tooltip"),i=zd(e,"iconSize",3,24),s=Ed(e,["$$slots","$$events","$$legacy","active","icon","variant","label","tooltip","iconSize","onclick"]),a=new Map([["default","bg-slate-500/20 text-slate-200"],["sky","from-sky-400 to-sky-600 text-sky-200"],["green","from-green-400 to-green-600 text-green-200"]]);Xy(t,{get text(){return o()},delay:300,offset:8,children:(t,o)=>{var l=ck();id(l,t=>({class:t,style:`--icon-size: ${i()}px;`,onclick:e.onclick,...s}),[()=>["cursor-pointer size-36 touch:size-40 superellipse ease-out transition-[background-color,color] duration-100 rounded-[14px] flex-center relative user-select-none shrink-0","active:scale-90 transition-[scale] duration-100 ease-out","focus-visible",e.active?"text-white bg-gradient-to-b "+a.get(r()):"text-slate-500/80 hover:text-slate-400 hover:bg-slate-500/20 active:bg-slate-500/20 focus-visible:text-slate-400 focus-visible:bg-slate-500/10"]]);var c=Ul(l),u=Ul(c);Cp(Xl(c,2),{get icon(){return e.icon},className:"size-(--icon-size) shrink-0"}),ac(()=>Su(u,n())),vd(3,l,()=>Ep,()=>({axis:"x",duration:450,easing:cp})),ku(t,l)},$$slots:{default:!0}}),Ba()}var dk=bu("<div><div><!></div></div>");function hk(t,e){Za(e,!0);let r=new sp(0,{stiffness:.08,damping:.5}),n=Pl(0),o=Pl(0);rc(()=>{const t="width"===c()?Xc(o):Xc(n);r.set(t)});const i=zd(e,"children",3,null),s=zd(e,"clip",3,!1),a=zd(e,"class",3,""),l=zd(e,"classOutter",3,""),c=zd(e,"animate",3,"height"),u=Ed(e,["$$slots","$$events","$$legacy","children","clip","class","classOutter","animate"]);var d=dk();id(d,()=>({style:`${c()}: ${r.current}px;`,class:[s()&&"overflow-clip",l()],...u}));var h=Ul(d),p=Ul(h),f=t=>{var e=xu();Du(Yl(e),i),ku(t,e)};Pu(p,t=>{i()&&t(f)}),ac(()=>Xu(h,1,Bu(["width"===c()&&"w-fit",a()]))),Md(h,"clientHeight",t=>zl(n,t)),Md(h,"clientWidth",t=>zl(o,t)),ku(t,d),Ba()}const pk=(t,e,r)=>{var n;qh();const o=t.target.checked;e(o),null==(n=r.onchange)||n.call(r,o)};var fk=bu('<label><input type="checkbox" class="peer absolute inset-0 h-full w-full cursor-pointer appearance-none"/> <span class="sr-only">Add High Priority</span> <div class="absolute top-2 left-2 h-24 w-30 rounded-full bg-white transition-transform duration-150 ease-out peer-checked:translate-x-14"></div></label>');hu(["change"]);var gk=bu("<!> <!> <!> <!>",1),vk=bu('<div class="flex gap-6 items-center pl-10 pr-8"><!> <div class="size-4 rounded-full bg-slate-600"></div></div>'),bk=bu("<!> <!> <!>",1),mk=bu("<div><!> <!></div>");function wk(t,e){Za(e,!0);const{hover:r,win:n,toolbar:o}=ek();Nd(()=>{o.visible=!0});var i=mk(),s=Ul(i);hk(s,{animate:"width",children:(t,e)=>{var r=xu(),n=Yl(r),i=t=>{var e=vk();!function(t){const e=Ed({class:"h-16 shrink-0 mr-8"},["$$slots","$$events","$$legacy"]);var r=of();id(r,()=>({viewBox:"0 0 56 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e})),ku(t,r)}(Ul(e)),vd(3,e,()=>Ep,()=>({axis:"x",duration:200})),ku(t,e)};Pu(n,t=>{o.hideLogo||t(i)}),ku(t,r)},$$slots:{default:!0}}),hk(Xl(s,2),{animate:"width",class:"flex items-center justify-end gap-2",children:(t,e)=>{var o=bk(),i=Yl(o),s=t=>{{let e=Cl(()=>r.enabled?"Disable Commenting":"Enable Commenting");uk(t,{get icon(){return Fp},iconSize:26,variant:"green",label:"Enable comments",get tooltip(){return Xc(e)},get active(){return r.enabled},onclick:()=>r.toggle()})}};Pu(i,t=>{r.allowed&&t(s)});var a=Xl(i,2),l=t=>{{let e=Cl(()=>n.opened?"Close Inbox":"Open Inbox");uk(t,{get active(){return n.opened},get icon(){return Zp},variant:"sky",label:"Open inbox",get tooltip(){return Xc(e)},onclick:()=>n.toggle()})}};Pu(a,t=>{n.canOpen&&t(l)}),function(t){Za({},!0);const{toolbar:e,auth:r}=ek();let n=Rl({opened:!1,logo:!0});{const o=t=>{uk(t,{get icon(){return Yp},variant:"default",label:"Toggle toolbar menu",title:"Toggle toolbar menu",get active(){return n.opened},iconSize:22,onclick:()=>n.opened=!n.opened})};_y(t,{offset:8,triggerClass:"",get opened(){return n.opened},set opened(t){n.opened=t},trigger:o,children:(t,n)=>{var o=gk(),i=Yl(o);tx(i,{title:"Fubi Version",get icon(){return Bp},subtitle:"1.0.0-beta.8"});var s=Xl(i,2);{const t=t=>{!function(t,e){Za(e,!0);let r=zd(e,"checked",15,!1);var n=fk();Xu(n,1,Bu(["relative flex h-28 w-48 cursor-pointer rounded-2xl glass","bg-linear-to-b from-slate-500/20 to-slate-500/20 has-checked:from-sky-600 has-checked:to-sky-400"]));var o=Ul(n);o.__change=[pk,r,e],ac(()=>function(t,e){var r=sd(t);r.checked!==(r.checked=e??void 0)&&(t.checked=e)}(o,r())),ku(t,n),Ba()}(t,{get checked(){return e.hideLogo},onchange:t=>e.hideLogo=t})};tx(s,{title:"Hide Logo",get icon(){return Hp},after:t,$$slots:{after:!0}})}var a=Xl(s,2);tx(a,{title:"Open on Mobile",get icon(){return Qp}}),tx(Xl(a,2),{title:"Logout",get icon(){return Up},type:"destructive",onclick:()=>r.logout()}),ku(t,o)},$$slots:{trigger:!0,default:!0}})}Ba()}(Xl(a,2)),ku(t,o)},$$slots:{default:!0}}),ac(()=>Xu(i,1,Bu(["glass-shadow h-(--fubi-toolbar-height) superellipse bg-slate-900/90 backdrop-blur 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 z-[210000001] text-white","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",!o.visible&&"translate-y-[calc(100%+var(--fubi-toolbar-bottom))] scale-80"]))),ku(t,i),Ba()}var yk=bu('<button><!> <span class="sr-only"> </span></button>');function xk(t,e){const r=zd(e,"onclick",3,null);var n=yk();Xu(n,1,Bu(["size-32 rounded-[8px] glass flex-center hover:bg-white/10 active:bg-white/20 active:scale-110","transition-[background-color,scale] duration-100 ease-in-out"])),n.__click=function(...t){var e;null==(e=r())||e.apply(this,t)};var o=Ul(n);Cp(o,{get icon(){return e.icon},className:"size-20 text-white"});var i=Ul(Xl(o,2));ac(()=>Su(i,e.alt)),ku(t,n)}hu(["click"]);var kk=bu('<div class="absolute bottom-0 left-0 translate-y-[calc(100%+8px)] shrink-0 w-300"><div id="fubi-new-comment"><div contenteditable="true" id="fubi-new-comment-input" class="text-white focus-hidden w-full px-4 rounded-[4px] gap-4 cursor-text"></div> <div class="flex w-full justify-between"><div class="flex gap-8"><!> <!></div> <button class="size-32 rounded-[8px] glass-shadow bg-sky-500 flex-center"><!></button></div> <div class="hidden"><p> </p> <p> </p> <p> </p></div></div></div>');hu(["input","click"]);var Ck=(t,e)=>e(),Mk=(t,e)=>e(),Sk=bu('<button data-fubi-message-new-comment-button=""><!> <span class="sr-only">Add New Comment</span></button>'),Ak=bu('<div class="absolute bottom-0 left-0 translate-y-[calc(100%+8px)] shrink-0 w-300"><div><button data-fubi-message-show-comments-button=""><!> <p> </p></button> <!></div></div>');hu(["click"]);var Wk=bu('<p class="text-sm/none font-medium trim-both capitalize absolute top-1/2 -translate-y-1/2"> </p>'),Ok=bu('<p class="text-sm/none font-medium trim-both capitalize opacity-0"> </p> <!>',1),Ek=bu('<div class="origin-bottom-left h-28 px-8 flex-center rounded-[12px] gap-4 overflow-clip superellipse bg-neutral-800/80 backdrop-blur-sm text-white glass-shadow absolute top-0 left-0 translate-y-[calc(-1*(100%+8px))]"><!></div>'),Pk=bu('<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>');function Tk(t,e){Za(e,!0);const{hover:r}=ek();var n=Pk(),o=Ul(n),i=t=>{var e=Ek();hk(Ul(e),{animate:"width",class:"flex-center gap-8",children:(t,e)=>{var n=Ok(),o=Yl(n),i=Ul(o);Tu(Xl(o,2),()=>{var t;return null==(t=null==r?void 0:r.info)?void 0:t.tag},t=>{var e=Wk(),n=Ul(e);ac(()=>{var t;return Su(n,null==(t=null==r?void 0:r.info)?void 0:t.tag)}),vd(1,e,()=>Op,()=>({y:16,duration:400,easing:up})),vd(2,e,()=>Op,()=>({y:-16,duration:400,easing:up})),ku(t,e)}),ac(()=>{var t;return Su(i,null==(t=null==r?void 0:r.info)?void 0:t.tag)}),ku(t,n)},$$slots:{default:!0}}),vd(3,e,()=>Pp,()=>({duration:200,easing:up,start:.8,opacity:0})),ku(t,e)};Pu(o,t=>{r.current&&t(i)});var s=Xl(o,2);Ju(s,"\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 a=Ul(s),l=Xl(s,2);!function(t){Za({},!0);const{bus:e,win:r,message:n,hover:o}=ek(),i=()=>{e.emit("message:new-comment")};let s=Cl(()=>{var t,e;return!!o.isolated&&!n.visible&&0!==(null==(e=null==(t=o.info)?void 0:t.threads)?void 0:e.length)});var a=Ak(),l=Ul(a),c=Ul(l);c.__click=[Ck,()=>{r.opened||(r.opened=!0)}];var u=Ul(c);Cp(u,{get icon(){return Rp},className:"size-20 "});var d=Ul(Xl(u,2));Xy(Xl(c,2),{text:"Create new comment",delay:200,offset:2,children:(t,e)=>{var r=Sk();r.__click=[Mk,i],Xu(r,1,Bu(["text-white hover:bg-slate-500/20 active:bg-slate-500/30 pl-7 pr-9 py-4 h-36 border-l border-white/10","rounded-r-[16px] superellipse focus-visible cursor-pointer block"])),Cp(Ul(r),{get icon(){return Kf},className:"size-20",strokeWidth:2}),ku(t,r)},$$slots:{default:!0}}),ac(()=>{var t,e;Xu(l,1,Bu(["absolute pointer-events-auto rounded-[16px] superellipse origin-top-left backdrop-blur-sm glass-shadow","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale] flex items-center","bg-slate-800/80","text-slate-100",!Xc(s)&&"opacity-0 pointer-events-none scale-80"])),Xu(c,1,Bu(["px-10 py-4 h-36 flex-center gap-4 rounded-l-[16px] superellipse focus-visible",!(null==r?void 0:r.opened)&&"hover:bg-slate-500/20 active:bg-slate-500/30 cursor-pointer"])),Su(d,`${(null==(e=null==(t=null==o?void 0:o.info)?void 0:t.threads)?void 0:e.length)??""} Comments`)}),ku(t,a),Ba()}(l),function(t,e){Za(e,!0);const{message:r,hover:n}=ek();let o=Cl(()=>{var t,e;return!(!n.isolated||!r.visible&&0!==(null==(e=null==(t=n.info)?void 0:t.threads)?void 0:e.length))});var i=kk(),s=Ul(i),a=Ul(s);a.__input=t=>r.handleInput(t),Ad(a,t=>r.element=t,()=>null==r?void 0:r.element);var l=Xl(a,2),c=Ul(l),u=Ul(c);xk(u,{get icon(){return Lp},alt:"Add attachment"}),xk(Xl(u,2),{get icon(){return Np},alt:"Add mention",onclick:()=>r.insertCharacter("@")});var d=Xl(c,2);d.__click=()=>r.handleSendComment(),Cp(Ul(d),{get icon(){return Gp},className:"size-20 text-white"});var h=Ul(Xl(l,2)),p=Ul(h),f=Xl(h,2),g=Ul(f),v=Ul(Xl(f,2));ac(t=>{var e,r;Xu(s,1,Bu(["p-12 pointer-events-auto rounded-[20px] superellipse origin-top-left bg-neutral-800/80 backdrop-blur-sm glass-pressed flex-start flex flex-col gap-24","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale]",!Xc(o)&&"opacity-0 pointer-events-none scale-80"])),Su(p,`threads: ${(null==(r=null==(e=null==n?void 0:n.info)?void 0:e.threads)?void 0:r.length)??""}`),Su(g,`path: ${(null==n?void 0:n.path)??""}`),Su(v,`mentions: ${t??""}`)},[()=>r.mentions.join(", ")]),function(t,e,r,n=r){e.addEventListener("input",()=>{n(e[t])}),sc(()=>{var o=r();if(e[t]!==o)if(null==o){var i=e[t];n(i)}else e[t]=o+""})}("innerHTML",a,()=>r.html,t=>r.html=t),vd(3,s,()=>Pp,()=>({duration:200,easing:up,start:.8,opacity:0})),ku(t,i),Ba()}(Xl(l,2),{}),ac(()=>{var t,e,o,i,l,c,u,d,h,p,f,g,v,b,m,w;Ju(n,`\n\t\twidth: ${(null==(e=null==(t=null==r?void 0:r.highlightPos)?void 0:t.current)?void 0:e.w)+2}px;\n\t\theight: ${(null==(i=null==(o=null==r?void 0:r.highlightPos)?void 0:o.current)?void 0:i.h)+2}px;\n\t\ttransform: translate(${(null==(c=null==(l=null==r?void 0:r.highlightPos)?void 0:l.current)?void 0:c.x)-1}px, ${(null==(d=null==(u=null==r?void 0:r.highlightPos)?void 0:u.current)?void 0:d.y)-1}px);\n\t\twill-change: width, height, transform;\n\t\ttransition: opacity 0.1s ease-in-out;\n\t`),Xu(n,1,Bu(["pointer-events-none absolute top-0 left-0 transition-opacity duration-200 z-[210000000]",(null==r?void 0:r.highlightVisible)?"opacity-100":"opacity-0"])),Xu(s,0,Bu(["absolute top-0 left-0",Hx[null==r?void 0:r.mode]])),od(a,"width",null==(p=null==(h=null==r?void 0:r.highlightPos)?void 0:h.current)?void 0:p.w),od(a,"height",null==(g=null==(f=null==r?void 0:r.highlightPos)?void 0:f.current)?void 0:g.h),od(a,"rx",(null==(b=null==(v=null==r?void 0:r.highlightPos)?void 0:v.current)?void 0:b.r)<4?4:null==(w=null==(m=null==r?void 0:r.highlightPos)?void 0:m.current)?void 0:w.r),Ju(a,`\n\t\t\t\t\tstroke-dasharray: ${"default"===(null==r?void 0:r.mode)?"8 0":"isolation"===(null==r?void 0:r.mode)?"8 6":"8 0"}\n\t\t\t\t`)}),ku(t,n),Ba()}var zk=bu('<div class="py-8 text-center text-sm text-neutral-500"> </div>'),Nk=bu('<img alt="" class="size-32 rounded-[8px] superellipse object-cover glass"/>'),Lk=bu('<div class="size-32 bg-sky-500/30 rounded-[8px] superellipse object-cover glass-shadow flex-center text-white text-sm"> </div>'),Ik=bu('<!> <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),Rk=bu('<span class="text-xs text-neutral-500"> </span>'),Fk=bu('<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),jk=bu("<button><!></button>"),Dk=bu('<div class="flex flex-col gap-2"></div>');hu(["click"]);var Hk=wu('<svg class="pointer-events-none absolute z-[210000003]" fill="none"><path stroke="var(--fubi-hover-thread-color, #6366f1)" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="6 4"></path><circle r="3" fill="var(--fubi-hover-thread-color, #6366f1)"></circle><circle r="3" fill="var(--fubi-hover-thread-color, #6366f1)"></circle></svg>'),qk=bu("<!> <!> <!> <!> <!> <!>",1);function Vk(t,e){Za(e,!0);const r=(t=>{const{projectId:e,wrapper:r}=t,n={pb:new bh(rk),project:new Xh(e),team:new Jh,elements:new Ux,win:new dp,navbar:new hp,tabbar:new pp,router:new jx,auth:new Zh,folders:new tp,pages:new rp,events:new Bh,comments:new Zx,domains:new Kx,toolbar:new Kh(r),keys:new Uh,dom:new np,environment:new fp,hover:new qx,message:new Xx,picker:new Qx,bus:new Gx,status:new jh,tracer:new $x,modals:new _x,meta:new tk};return Object.values(n).forEach(t=>{var e;t.init&&(null==(e=t.init)||e.call(t,n))}),nk.ok("All modules initialized."),{modules:n,start:()=>{Object.values(n).forEach(t=>{var e;t.start&&(null==(e=t.start)||e.call(t))})}}})({projectId:e.projectId,wrapper:e.wrapper});Va("app",r),Nd(()=>r.start());var n=qk(),o=Yl(n);!function(t){Za({},!0);const{picker:e,win:r,folders:n,pb:o}=ek(),i=[{id:"screenshot",label:"screenshot",description:"Take a screenshot"},{id:"poll",label:"poll",description:"Create a poll"},{id:"code",label:"code",description:"Insert code block"}];function s(t){return[t.firstName,t.lastName].filter(Boolean).join(" ")}rc(()=>{if(!e.type)return void e.setItems([]);const t=e.query.toLowerCase();if("mention"===e.type){const r=t?n.users.filter(e=>s(e).toLowerCase().includes(t)):n.users;e.setItems(r.map(t=>{var e,r,n;return{id:t.id,label:s(t),data:{avatar:(n=t,n.avatar?o.files.getURL(n,n.avatar,{thumb:"48x48"}):null),email:t.email,initials:(null==(e=t.firstName)?void 0:e.charAt(0))||(null==(r=t.email)?void 0:r.charAt(0))||"?"}}}))}else{const r=t?i.filter(e=>e.label.toLowerCase().includes(t)):i;e.setItems(r.map(t=>({id:t.id,label:t.label,data:{description:t.description}})))}});var a=xu();Hu(Yl(a),()=>Wy,(t,n)=>{n(t,{get open(){return e.open},set open(t){e.open=t},children:(t,n)=>{var o=xu(),i=Yl(o),s=t=>{var n=xu();Hu(Yl(n),()=>Kv,(t,n)=>{n(t,{get to(){return r.el},children:(t,r)=>{var n=xu();Hu(Yl(n),()=>vy,(t,r)=>{r(t,{get customAnchor(){return e.anchorElement},class:"fubi-picker z-[102] w-[276px] rounded-12 bg-neutral-800 backdrop-blur-sm glass-shadow rounded-[12px] p-4 superellipse shadow-xl",sideOffset:8,align:"start",onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),children:(t,r)=>{var n=xu(),o=Yl(n),i=t=>{var r=zk(),n=Ul(r);ac(()=>Su(n,"mention"===e.type?"No users found":"No commands found")),ku(t,r)},s=t=>{var r=Dk();Lu(r,23,()=>e.items,t=>t.id,(t,r,n)=>{var o=jk();o.__click=()=>e.confirm(Xc(r)),od(o,"tabindex",-1);var i=Ul(o),s=t=>{var e=Ik(),n=Yl(e),o=t=>{var e=Nk();ac(()=>od(e,"src",Xc(r).data.avatar)),ku(t,e)},i=t=>{var e=Lk(),n=Ul(e);ac(()=>{var t;return Su(n,null==(t=Xc(r).data)?void 0:t.initials)}),ku(t,e)};Pu(n,t=>{var e;(null==(e=Xc(r).data)?void 0:e.avatar)?t(o):t(i,!1)});var s=Ul(Xl(n,2)),a=Ul(s),l=Ul(Xl(s,2));ac(()=>{var t;Su(a,Xc(r).label),Su(l,null==(t=Xc(r).data)?void 0:t.role)}),ku(t,e)},a=t=>{var e=Fk(),n=Ul(Xl(Yl(e),2)),o=Ul(n),i=Xl(n,2),s=t=>{var e=Rk(),n=Ul(e);ac(()=>Su(n,Xc(r).data.description)),ku(t,e)};Pu(i,t=>{var e;(null==(e=Xc(r).data)?void 0:e.description)&&t(s)}),ac(()=>Su(o,`/${Xc(r).label??""}`)),ku(t,e)};Pu(i,t=>{"mention"===e.type?t(s):t(a,!1)}),ac(()=>Xu(o,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\t"+(Xc(n)===e.selectedIndex?"bg-sky-500/10 text-white":"text-neutral-300 hover:bg-sky-500/10 hover:text-white"))),du("mouseenter",o,()=>e.selectedIndex=Xc(n)),ku(t,o)}),ku(t,r)};Pu(o,t=>{0===e.items.length?t(i):t(s,!1)}),ku(t,n)},$$slots:{default:!0}})}),ku(t,n)},$$slots:{default:!0}})}),ku(t,n)};Pu(i,t=>{r.el&&t(s)}),ku(t,o)},$$slots:{default:!0}})}),ku(t,a),Ba()}(o);var i=Xl(o,2);Tk(i,{});var s=Xl(i,2);!function(t,e){Za(e,!0);const{win:r,message:n,toolbar:o,hover:i,auth:s,pages:a,team:l,project:c,folders:u,router:d,domains:h,comments:p}=ek(),f=[["Auth",s],["Project",c],["Team",l],["Domains",h],["Folders",u],["Pages",a],["Comments",p]],g=Cl(()=>{var t,e,p,f,g,v,b,m,w,y;return[{name:"Project",values:[["name",null==c?void 0:c.name],["id",c.id],["createdAt",c.createdAt],["updatedAt",c.updatedAt]]},{name:"IDs",values:[["Folder id",null==(t=u.current)?void 0:t.id],["Domain id",null==(e=h.current)?void 0:e.id],["Page id",null==(p=a.current)?void 0:p.id]]},{name:"Pages",values:[["Domains",null==(f=null==h?void 0:h.data)?void 0:f.length],["Pages data",null==(g=null==a?void 0:a.data)?void 0:g.length],["Page isNew",a.isNew]]},{name:"Coworkers",values:[["Coworkers",u.coworkers]]},{name:"User",values:[["User id",JSON.stringify(null==(v=null==s?void 0:s.user)?void 0:v.id)],["hasAccess",l.hasAccess],["Role",null==(b=null==s?void 0:s.user)?void 0:b.role]]},{name:"Folders",values:[["Unlocked folders",u.unlockedFolders.length],["Folder users",JSON.stringify(u.users.map(t=>t.firstName))]]},{name:"Router",values:[["currentRoute",d.current],["nextRoute",d.next],["previousRoute",d.previous]]},{name:"Toolbar",values:[["lastUsedFeature",o.lastUsedFeature]]},{name:"Hover",values:[["enabled",i.enabled],["visible",JSON.stringify(i.highlightVisible)],["current",JSON.stringify(null==(m=null==i?void 0:i.current)?void 0:m.tagName)],["mouse",`x: ${i.mouse.x}, y: ${i.mouse.y}`],["emptyHover",i.emptyHover],["isolated",i.isolated],["insideFubi",i.insideFubi]]},{name:"Window",values:[["contentScroll",null==(w=null==r?void 0:r.contentScrollState)?void 0:w.y]]},{name:"Message",values:[["html",JSON.stringify(n.html)],["trigger",null==(y=n.trigger)?void 0:y.type],["visible",n.visible]]}]});var v=ak(),b=Xl(Ul(v),2);Lu(b,17,()=>f,Nu,(t,e)=>{var r=Cl(()=>fa(Xc(e),2));let n=()=>Xc(r)[1];var o=ok(),i=Ul(o),s=Xl(i);ac(()=>{var t,e;Xu(i,1,Bu(["size-8 rounded-full glass",(null==(t=n())?void 0:t.ready)?"bg-green-500":(null==(e=n())?void 0:e.loading)?"bg-orange-500":"bg-white/10"])),Su(s,` ${Xc(r)[0]??""}`)}),ku(t,o)}),Lu(Xl(b,2),17,()=>Xc(g),Nu,(t,e)=>{var r=sk(),n=Ul(r),o=Ul(n);Lu(Xl(n,2),17,()=>Xc(e).values,Nu,(t,e)=>{var r=Cl(()=>fa(Xc(e),2)),n=ik(),o=Ul(n),i=Ul(Xl(o));ac(()=>{Su(o,`${Xc(r)[0]??""}: `),Su(i,Xc(r)[1])}),ku(t,n)}),ac(()=>Su(o,Xc(e).name)),ku(t,r)}),ku(t,v),Ba()}(s,{});var a=Xl(s,2);!function(t,e){Za(e,!0);const{win:r}=ek();let n=zd(e,"children",3,null);var o=lk(),i=Yl(o);i.__click=()=>r.close();var s=Xl(i,2);s.__pointerdown=t=>r.drag.start(t),s.__pointerup=t=>r.drag.end(t),s.__pointermove=t=>r.drag.move(t);var a=Ul(s);Xu(a,1,Bu(["pointer-events-none rounded-full absolute left-1/2 -translate-x-1/2 z-[1001] mouse:hidden","transition-[background-color,box-shadow,scale,width,height,top] duration-100 ease-out will-change-[background-color,box-shadow,scale,width,height,top]","bg-slate-500/30 w-50 h-3 top-7"]));var l=Xl(a,2),c=t=>{var e=xu();Du(Yl(e),n),ku(t,e)};Pu(l,t=>{n()&&t(c)}),Ad(s,t=>r.el=t,()=>null==r?void 0:r.el),ac(()=>{var t;Xu(i,1,Bu(["fixed block inset-0 bg-transparent z-[1000] mouse:hidden",r.opened?"touch:pointer-events-auto":"pointer-events-none"])),Xu(s,1,Bu(["window fixed left-0 right-0 touch:overflow-clip touch:rounded-b-none z-[210000002] text-white -bottom-0.5","touch:rounded-t-(--fubi-rounded) touch:bg-neutral-900","md:max-w-375","mouse:right-(--fubi-window-right) mouse:left-auto mouse:top-auto mouse:origin-bottom-right will-change-[translate,max-height,height,scale,opacity] mouse:bottom-(--fubi-window-bottom) mouse:w-300","transition-[max-height,opacity,scale,padding-top] will-change-[max-height,opacity,scale,padding-top]","mouse:max-h-1/2! mouse:min-h-[350px] h-[99dvh] mouse:h-500",(null==(t=null==r?void 0:r.contentScrollState)?void 0:t.y)>8&&"[--fubi-subnavbar-active-height:0px]",r.dragging.active?"select-none duration-0":r.opened?"duration-300 mouse:duration- ease-out":"duration-100 mouse:duration-200 ease",r.opened?"":"mouse:opacity-0 mouse:scale-90 pointer-events-none"])),Ju(s,`max-height: ${r.dragging.active?r.dragging.height:r.opened?r.currentBreakpoint:0}px;`)}),du("pointercancel",s,t=>r.drag.end(t)),ku(t,o),Ba()}(a,{});var l=Xl(a,2);wk(l,{}),function(t){Za({},!0);const{tracer:e}=ek();var r=xu(),n=Yl(r),o=t=>{var r=Hk(),n=Ul(r),o=Xl(n),i=Xl(o);ac(()=>{Ju(r,`\n\t\t\tleft: ${e.bounds.x??""}px;\n\t\t\ttop: ${e.bounds.y??""}px;\n\t\t\twidth: ${e.bounds.w??""}px;\n\t\t\theight: ${e.bounds.h??""}px;\n\t\t\toverflow: visible;\n\t\t`),od(n,"d",e.bounds.sameLevel?e.bounds.routeBelow?`M ${e.bounds.sx} ${e.bounds.sy}\n\t\t\t V ${e.bounds.ry-e.cornerRadius}\n\t\t\t Q ${e.bounds.sx} ${e.bounds.ry} ${e.bounds.sx-e.cornerRadius} ${e.bounds.ry}\n\t\t\t H ${e.bounds.ex+e.cornerRadius}\n\t\t\t Q ${e.bounds.ex} ${e.bounds.ry} ${e.bounds.ex} ${e.bounds.ry-e.cornerRadius}\n\t\t\t V ${e.bounds.ey}`:`M ${e.bounds.sx} ${e.bounds.sy}\n\t\t\t V ${e.bounds.ry+e.cornerRadius}\n\t\t\t Q ${e.bounds.sx} ${e.bounds.ry} ${e.bounds.sx-e.cornerRadius} ${e.bounds.ry}\n\t\t\t H ${e.bounds.ex+e.cornerRadius}\n\t\t\t Q ${e.bounds.ex} ${e.bounds.ry} ${e.bounds.ex} ${e.bounds.ry+e.cornerRadius}\n\t\t\t V ${e.bounds.ey}`:`M ${e.bounds.sx} ${e.bounds.sy}\n\t\t H ${e.bounds.ex+(e.bounds.sx>e.bounds.ex?e.cornerRadius:-e.cornerRadius)}\n\t\t Q ${e.bounds.ex} ${e.bounds.sy} ${e.bounds.ex} ${e.bounds.sy+(e.bounds.ey>e.bounds.sy?e.cornerRadius:-e.cornerRadius)}\n\t\t V ${e.bounds.ey}`),od(o,"cx",e.bounds.sx),od(o,"cy",e.bounds.sy),od(i,"cx",e.bounds.ex),od(i,"cy",e.bounds.ey)}),ku(t,r)};Pu(n,t=>{e.enabled&&(e.bounds.w>0||e.bounds.h>0)&&t(o)}),ku(t,r),Ba()}(Xl(l,2)),ku(t,n),Ba()}return function(t,e){if(!t)throw new Error("Please provide a projectId");const r=document.createElement("div");r.id="fubi-shadow-root";const n=r.attachShadow({mode:"open"});n.innerHTML='<style>/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@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{--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-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-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}::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-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-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}}}@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-200:#ffcaca;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-orange-50:#fff7ed;--color-orange-100:#ffedd5;--color-orange-200:#ffd7a8;--color-orange-300:#ffb96d;--color-orange-400:#ff8b1a;--color-orange-500:#fe6e00;--color-orange-600:#f05100;--color-orange-700:#c53c00;--color-orange-800:#9f2d00;--color-orange-900:#7e2a0c;--color-orange-950:#441306;--color-amber-500:#f99c00;--color-yellow-400:#fac800;--color-yellow-500:#edb200;--color-lime-50:#f7fee7;--color-lime-100:#ecfcca;--color-lime-200:#d8f999;--color-lime-300:#bbf451;--color-lime-400:#9de500;--color-lime-500:#80cd00;--color-lime-600:#62a400;--color-lime-700:#4b7d00;--color-lime-800:#3d6300;--color-lime-900:#35530e;--color-lime-950:#192e03;--color-green-200:#b9f8cf;--color-green-400:#05df72;--color-green-500:#00c758;--color-green-600:#00a544;--color-sky-200:#b8e6fe;--color-sky-400:#00bcfe;--color-sky-500:#00a5ef;--color-sky-600:#0084cc;--color-sky-700:#0069a4;--color-sky-900:#024a70;--color-sky-950:#052f4a;--color-blue-600:#155dfc;--color-indigo-500:#625fff;--color-purple-500:#ac4bff;--color-pink-500:#f6339a;--color-rose-50:#fff1f2;--color-rose-100:#ffe4e6;--color-rose-300:#ffa2ae;--color-rose-400:#ff667f;--color-rose-500:#ff2357;--color-rose-600:#e70044;--color-rose-700:#c20039;--color-rose-800:#a30037;--color-rose-900:#8b0836;--color-slate-100:#d6dde1;--color-slate-200:#b9c5cb;--color-slate-300:#9badb5;--color-slate-400:#7e94a0;--color-slate-500:#647b87;--color-slate-600:#4e606a;--color-slate-700:#38464c;--color-slate-800:#232b2f;--color-slate-900:#161b1d;--color-gray-500:#6a7282;--color-neutral-200:#e5e5e5;--color-neutral-300:#d4d4d4;--color-neutral-400:#a1a1a1;--color-neutral-500:#737373;--color-neutral-700:#404040;--color-neutral-800:#262626;--color-neutral-900:#171717;--color-black:#000;--color-white:#fff;--spacing:1px;--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-lg:1.125em;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25em;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--radius-lg:.5rem;--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;--blur-sm:8px;--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)}@supports (color:color(display-p3 0 0 0)){:root,:host{--color-red-200:color(display-p3 .969562 .798149 .794299);--color-red-400:color(display-p3 .933534 .431676 .423491);--color-red-500:color(display-p3 .903738 .262579 .253307);--color-red-600:color(display-p3 .830323 .140383 .133196);--color-orange-50:color(display-p3 .99533 .970132 .933499);--color-orange-100:color(display-p3 .988762 .931393 .843273);--color-orange-200:color(display-p3 .974647 .84705 .680111);--color-orange-300:color(display-p3 .96801 .734346 .464159);--color-orange-400:color(display-p3 .950192 .561807 .211017);--color-orange-500:color(display-p3 .946589 .449788 .0757345);--color-orange-600:color(display-p3 .887467 .341665 .0219962);--color-orange-700:color(display-p3 .729844 .257256 .0511062);--color-orange-800:color(display-p3 .575591 .21198 .082665);--color-orange-900:color(display-p3 .457137 .188093 .0897628);--color-orange-950:color(display-p3 .244276 .0875626 .0387614);--color-amber-500:color(display-p3 .93994 .620584 .0585367);--color-yellow-400:color(display-p3 .959941 .790171 .0585198);--color-yellow-500:color(display-p3 .903651 .703062 .0745389);--color-lime-50:color(display-p3 .973995 .995624 .914278);--color-lime-100:color(display-p3 .936811 .986772 .81208);--color-lime-200:color(display-p3 .872841 .974338 .642611);--color-lime-300:color(display-p3 .778594 .948857 .421857);--color-lime-400:color(display-p3 .66872 .893772 .208808);--color-lime-500:color(display-p3 .5627 .801803 .131231);--color-lime-600:color(display-p3 .435354 .640614 .0909333);--color-lime-700:color(display-p3 .333353 .486326 .0944279);--color-lime-800:color(display-p3 .271455 .384177 .0975063);--color-lime-900:color(display-p3 .233682 .324055 .105897);--color-lime-950:color(display-p3 .117864 .17918 .0379316);--color-green-200:color(display-p3 .776442 .964383 .823412);--color-green-400:color(display-p3 .399536 .862346 .49324);--color-green-500:color(display-p3 .308734 .774754 .374307);--color-green-600:color(display-p3 .243882 .640824 .294808);--color-sky-200:color(display-p3 .758153 .897447 .986665);--color-sky-400:color(display-p3 .305975 .725011 .980173);--color-sky-500:color(display-p3 .219113 .639027 .931479);--color-sky-600:color(display-p3 .162505 .509376 .796082);--color-sky-700:color(display-p3 .130314 .404568 .640847);--color-sky-900:color(display-p3 .115471 .285486 .428673);--color-sky-950:color(display-p3 .0726429 .180783 .28188);--color-blue-600:color(display-p3 .174493 .358974 .950247);--color-indigo-500:color(display-p3 .380374 .372235 .971707);--color-purple-500:color(display-p3 .629519 .30089 .990817);--color-pink-500:color(display-p3 .88894 .276457 .595049);--color-rose-50:color(display-p3 .989671 .946597 .949215);--color-rose-100:color(display-p3 .982241 .897232 .902568);--color-rose-300:color(display-p3 .96017 .647703 .683715);--color-rose-400:color(display-p3 .942928 .430764 .503101);--color-rose-500:color(display-p3 .921824 .240748 .355666);--color-rose-600:color(display-p3 .848792 .102011 .269259);--color-rose-700:color(display-p3 .711801 .0770816 .226777);--color-rose-800:color(display-p3 .591248 .0929065 .220097);--color-rose-900:color(display-p3 .498064 .104884 .214595);--color-slate-100:color(display-p3 .844185 .865774 .880509);--color-slate-200:color(display-p3 .734137 .771049 .793263);--color-slate-300:color(display-p3 .621148 .676241 .706001);--color-slate-400:color(display-p3 .510796 .577794 .622221);--color-slate-500:color(display-p3 .409993 .479688 .524185);--color-slate-600:color(display-p3 .319791 .374388 .411412);--color-slate-700:color(display-p3 .230452 .272888 .295255);--color-slate-800:color(display-p3 .143337 .167688 .18253);--color-slate-900:color(display-p3 .0900329 .105287 .112756);--color-gray-500:color(display-p3 .421287 .446085 .504784);--color-neutral-200:color(display-p3 .898161 .898161 .898161);--color-neutral-300:color(display-p3 .831444 .831444 .831444);--color-neutral-400:color(display-p3 .630163 .630163 .630163);--color-neutral-500:color(display-p3 .451519 .451519 .451519);--color-neutral-700:color(display-p3 .250471 .250471 .250471);--color-neutral-800:color(display-p3 .149382 .149382 .149382);--color-neutral-900:color(display-p3 .0905274 .0905274 .0905274)}}@supports (color:lab(0% 0 0)){:root,:host{--color-red-200:lab(86.017% 19.8815 7.75869);--color-red-400:lab(63.7053% 60.745 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-orange-50:lab(97.7008% 1.53735 5.90649);--color-orange-100:lab(94.7127% 3.58394 14.3151);--color-orange-200:lab(88.4871% 9.94918 28.8378);--color-orange-300:lab(80.8059% 21.7313 50.4455);--color-orange-400:lab(70.0429% 42.5156 75.8207);--color-orange-500:lab(64.272% 57.1788 90.3583);--color-orange-600:lab(57.1026% 64.2584 89.8886);--color-orange-700:lab(46.4615% 57.7275 70.8507);--color-orange-800:lab(37.1566% 46.6433 50.5562);--color-orange-900:lab(30.2951% 36.0434 37.671);--color-orange-950:lab(14.1747% 23.4515 19.4461);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-yellow-400:lab(83.2664% 8.65132 106.895);--color-yellow-500:lab(76.3898% 14.5258 98.4589);--color-lime-50:lab(98.7039% -5.32573 10.2149);--color-lime-100:lab(96.8662% -11.7133 22.0854);--color-lime-200:lab(94.0718% -22.5338 42.5238);--color-lime-300:lab(89.9218% -35.6546 68.5254);--color-lime-400:lab(83.7876% -45.0447 88.4738);--color-lime-500:lab(75.3197% -46.6547 86.1778);--color-lime-600:lab(61.1055% -41.0235 73.1483);--color-lime-700:lab(47.246% -32.2589 55.8249);--color-lime-800:lab(37.7655% -25.1694 43.0683);--color-lime-900:lab(31.9931% -20.7654 33.7379);--color-lime-950:lab(16.5113% -15.1841 22.0145);--color-green-200:lab(92.4222% -26.4702 12.9427);--color-green-400:lab(78.503% -64.9265 39.7492);--color-green-500:lab(70.5521% -66.5147 45.8073);--color-green-600:lab(59.0978% -58.6621 41.2579);--color-sky-200:lab(88.6983% -11.3978 -16.8488);--color-sky-400:lab(70.687% -23.6078 -45.9483);--color-sky-500:lab(63.3038% -18.433 -51.0407);--color-sky-600:lab(51.7754% -11.4712 -49.8349);--color-sky-700:lab(41.6013% -9.10804 -42.5647);--color-sky-900:lab(29.1959% -8.34689 -28.2453);--color-sky-950:lab(17.8299% -5.31271 -21.1584);--color-blue-600:lab(44.0605% 29.0279 -86.0352);--color-indigo-500:lab(48.295% 38.3129 -81.9673);--color-purple-500:lab(52.0183% 66.11 -78.2316);--color-pink-500:lab(56.9303% 76.8162 -8.07021);--color-rose-50:lab(96.2369% 4.94155 1.28011);--color-rose-100:lab(92.8221% 9.86832 2.60075);--color-rose-300:lab(76.6339% 38.3549 9.68835);--color-rose-400:lab(64.4125% 63.0291 19.2068);--color-rose-500:lab(56.101% 79.4328 31.4532);--color-rose-600:lab(49.1882% 81.577 36.0311);--color-rose-700:lab(41.1651% 71.6251 30.3087);--color-rose-800:lab(34.6481% 60.802 20.1957);--color-rose-900:lab(29.7104% 51.514 12.6253);--color-slate-100:lab(87.6601% -1.88622 -2.83068);--color-slate-200:lab(78.7185% -3.37818 -4.50617);--color-slate-300:lab(69.5066% -5.23254 -6.35818);--color-slate-400:lab(59.8917% -6.0454 -9.1009);--color-slate-500:lab(50.1007% -6.48192 -9.47718);--color-slate-600:lab(39.5037% -5.19884 -8.10253);--color-slate-700:lab(28.665% -4.62651 -5.58149);--color-slate-800:lab(16.8842% -2.77983 -3.83866);--color-slate-900:lab(9.31009% -1.99046 -2.22496);--color-gray-500:lab(47.7841% -.393182 -10.0268);--color-neutral-200:lab(90.952% 0 -.0000119209);--color-neutral-300:lab(84.92% 0 -.0000119209);--color-neutral-400:lab(66.128% -.0000298023 .0000119209);--color-neutral-500:lab(48.496% 0 0);--color-neutral-700:lab(27.036% 0 0);--color-neutral-800:lab(15.204% 0 -.00000596046);--color-neutral-900:lab(7.78201% -.0000149012 0)}}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{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%;-moz-tab-size:4;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;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}::-webkit-file-upload-button{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:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:-moz-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:-moz-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::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-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;-moz-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-7{top:calc(var(--spacing)*7)}.top-12{top:calc(var(--spacing)*12)}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\\/2{right:50%}.right-12{right:calc(var(--spacing)*12)}.right-60{right:calc(var(--spacing)*60)}.right-auto{right:auto}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-8{bottom:calc(var(--spacing)*8)}.bottom-12{bottom:calc(var(--spacing)*12)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-8{left:calc(var(--spacing)*8)}.left-12{left:calc(var(--spacing)*12)}.left-60{left:calc(var(--spacing)*60)}.left-\\[50\\%\\]{left:50%}.left-auto{left:auto}.isolate{isolation:isolate}.z-8{z-index:8}.z-10{z-index:10}.z-50{z-index:50}.z-\\[9\\]{z-index:9}.z-\\[10\\]{z-index:10}.z-\\[102\\]{z-index:102}.z-\\[1000\\]{z-index:1000}.z-\\[1001\\]{z-index:1001}.z-\\[210000000\\]{z-index:210000000}.z-\\[210000001\\]{z-index:210000001}.z-\\[210000002\\]{z-index:210000002}.z-\\[210000003\\]{z-index:210000003}.z-\\[210000004\\]{z-index:210000004}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-1{margin-top:calc(var(--spacing)*1)}.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)}.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-1{margin-bottom:calc(var(--spacing)*1)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-32{margin-bottom:calc(var(--spacing)*32)}.line-clamp-1{-webkit-line-clamp:1;-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-flex{display:inline-flex}.table{display:table}.size-\\(--icon-size\\){width:var(--icon-size);height:var(--icon-size)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.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-22{width:calc(var(--spacing)*22);height:calc(var(--spacing)*22)}.size-24{width:calc(var(--spacing)*24);height:calc(var(--spacing)*24)}.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-36{width:calc(var(--spacing)*36);height:calc(var(--spacing)*36)}.size-40{width:calc(var(--spacing)*40);height:calc(var(--spacing)*40)}.size-48{width:calc(var(--spacing)*48);height:calc(var(--spacing)*48)}.size-64{width:calc(var(--spacing)*64);height:calc(var(--spacing)*64)}.h-\\(--fubi-navbar-height\\){height:var(--fubi-navbar-height)}.h-\\(--fubi-subnavbar-active-height\\){height:var(--fubi-subnavbar-active-height)}.h-\\(--fubi-toolbar-height\\){height:var(--fubi-toolbar-height)}.h-3{height:calc(var(--spacing)*3)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-24{height:calc(var(--spacing)*24)}.h-28{height:calc(var(--spacing)*28)}.h-32{height:calc(var(--spacing)*32)}.h-36{height:calc(var(--spacing)*36)}.h-40{height:calc(var(--spacing)*40)}.h-44{height:calc(var(--spacing)*44)}.h-48{height:calc(var(--spacing)*48)}.h-56{height:calc(var(--spacing)*56)}.h-700{height:calc(var(--spacing)*700)}.h-\\[99dvh\\]{height:99dvh}.h-auto{height:auto}.h-full{height:100%}.h-lvh{height:100lvh}.min-h-46{min-height:calc(var(--spacing)*46)}.min-h-52{min-height:calc(var(--spacing)*52)}.min-h-full{min-height:100%}.w-28{width:calc(var(--spacing)*28)}.w-30{width:calc(var(--spacing)*30)}.w-48{width:calc(var(--spacing)*48)}.w-50{width:calc(var(--spacing)*50)}.w-54{width:calc(var(--spacing)*54)}.w-250{width:calc(var(--spacing)*250)}.w-300{width:calc(var(--spacing)*300)}.w-\\[276px\\]{width:276px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-250{max-width:calc(var(--spacing)*250)}.max-w-450{max-width:calc(var(--spacing)*450)}.max-w-\\[94\\%\\]{max-width:94%}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-24{min-width:calc(var(--spacing)*24)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-150{min-width:calc(var(--spacing)*150)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.origin-\\(--bits-tooltip-content-transform-origin\\){transform-origin:var(--bits-tooltip-content-transform-origin)}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.origin-top-left{transform-origin:0 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: -50% ;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: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-20{--tw-translate-y:calc(var(--spacing)*-20);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-20{--tw-translate-y:calc(var(--spacing)*20);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\\(-1\\*\\(100\\%\\+8px\\)\\)\\]{--tw-translate-y: calc(-1*(100% + 8px)) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[calc\\(100\\%\\+8px\\)\\]{--tw-translate-y: calc(100% + 8px) ;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)}.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-\\[1\\.03\\]{scale:1.03}.-rotate-90{rotate:-90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.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}.justify-stretch{justify-content:stretch}.gap-0{gap:calc(var(--spacing)*0)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.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-24{gap:calc(var(--spacing)*24)}.gap-30{gap:calc(var(--spacing)*30)}: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}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-clip{overflow:clip}.rounded-\\(--fubi-rounded\\){border-radius:var(--fubi-rounded)}.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-\\[18px\\]{border-radius:18px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[24px\\]{border-radius:24px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-t-\\(--fubi-rounded\\){border-top-left-radius:var(--fubi-rounded);border-top-right-radius:var(--fubi-rounded)}.rounded-l-\\[16px\\]{border-top-left-radius:16px;border-bottom-left-radius:16px}.rounded-r-\\[16px\\]{border-top-right-radius:16px;border-bottom-right-radius:16px}.border{border-style:var(--tw-border-style);border-width:1px}.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-l{border-left-style:var(--tw-border-style);border-left-width:1px}.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-red-500\\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-slate-500\\/30{border-color:#647b874d}@supports (color:color-mix(in lab,red,red)){.border-slate-500\\/30{border-color:color-mix(in oklab,var(--color-slate-500)30%,transparent)}}.border-transparent{border-color:#0000}.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,#625fff)}@supports (color:color(display-p3 0 0 0)){.bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10{background-color:var(--fubi-hover-thread-color,color(display-p3 .380374 .372235 .971707))}}@supports (color:lab(0% 0 0)){.bg-\\(--fubi-hover-thread-color\\,var\\(--color-indigo-500\\)\\)\\/10{background-color:var(--fubi-hover-thread-color,lab(48.295% 38.3129 -81.9673))}}@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-\\(--fubi-page-from-bg\\)\\/80{background-color:var(--fubi-page-from-bg)}@supports (color:color-mix(in lab,red,red)){.bg-\\(--fubi-page-from-bg\\)\\/80{background-color:color-mix(in oklab,var(--fubi-page-from-bg)80%,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-black{background-color:var(--color-black)}.bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.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-green-500{background-color:var(--color-green-500)}.bg-green-500\\/30{background-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.bg-green-500\\/30{background-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.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-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.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-orange-500{background-color:var(--color-orange-500)}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-rose-700{background-color:var(--color-rose-700)}.bg-sky-500{background-color:var(--color-sky-500)}.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\\/30{background-color:#00a5ef4d}@supports (color:color-mix(in lab,red,red)){.bg-sky-500\\/30{background-color:color-mix(in oklab,var(--color-sky-500)30%,transparent)}}.bg-sky-600{background-color:var(--color-sky-600)}.bg-sky-950{background-color:var(--color-sky-950)}.bg-slate-500\\/5{background-color:#647b870d}@supports (color:color-mix(in lab,red,red)){.bg-slate-500\\/5{background-color:color-mix(in oklab,var(--color-slate-500)5%,transparent)}}.bg-slate-500\\/10{background-color:#647b871a}@supports (color:color-mix(in lab,red,red)){.bg-slate-500\\/10{background-color:color-mix(in oklab,var(--color-slate-500)10%,transparent)}}.bg-slate-500\\/20{background-color:#647b8733}@supports (color:color-mix(in lab,red,red)){.bg-slate-500\\/20{background-color:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.bg-slate-500\\/30{background-color:#647b874d}@supports (color:color-mix(in lab,red,red)){.bg-slate-500\\/30{background-color:color-mix(in oklab,var(--color-slate-500)30%,transparent)}}.bg-slate-600{background-color:var(--color-slate-600)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/80{background-color:#232b2fcc}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/80{background-color:color-mix(in oklab,var(--color-slate-800)80%,transparent)}}.bg-slate-900\\/90{background-color:#161b1de6}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/90{background-color:color-mix(in oklab,var(--color-slate-900)90%,transparent)}}.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\\/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\\/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-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\(--fubi-page-from-bg\\){--tw-gradient-from:var(--fubi-page-from-bg);--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-\\(--fubi-page-from-bg\\)\\/80{--tw-gradient-from:var(--fubi-page-from-bg)}@supports (color:color-mix(in lab,red,red)){.from-\\(--fubi-page-from-bg\\)\\/80{--tw-gradient-from:color-mix(in oklab,var(--fubi-page-from-bg)80%,transparent)}}.from-\\(--fubi-page-from-bg\\)\\/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-\\(--fubi-page-to-bg\\)\\/0{--tw-gradient-from:var(--fubi-page-to-bg)}@supports (color:color-mix(in lab,red,red)){.from-\\(--fubi-page-to-bg\\)\\/0{--tw-gradient-from:color-mix(in oklab,var(--fubi-page-to-bg)0%,transparent)}}.from-\\(--fubi-page-to-bg\\)\\/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-\\(--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-green-400{--tw-gradient-from:var(--color-green-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))}.from-lime-300{--tw-gradient-from:var(--color-lime-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-rose-400{--tw-gradient-from:var(--color-rose-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))}.from-sky-400{--tw-gradient-from:var(--color-sky-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))}.from-sky-500{--tw-gradient-from:var(--color-sky-500);--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-slate-500\\/20{--tw-gradient-from:#647b8733}@supports (color:color-mix(in lab,red,red)){.from-slate-500\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.from-slate-500\\/20{--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-slate-800\\/90{--tw-gradient-from:#232b2fe6}@supports (color:color-mix(in lab,red,red)){.from-slate-800\\/90{--tw-gradient-from:color-mix(in oklab,var(--color-slate-800)90%,transparent)}}.from-slate-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-yellow-400{--tw-gradient-from:var(--color-yellow-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))}.from-10\\%{--tw-gradient-from-position:10%}.from-\\[40px\\]{--tw-gradient-from-position:40px}.to-\\(--fubi-page-from-bg\\)\\/0{--tw-gradient-to:var(--fubi-page-from-bg)}@supports (color:color-mix(in lab,red,red)){.to-\\(--fubi-page-from-bg\\)\\/0{--tw-gradient-to:color-mix(in oklab,var(--fubi-page-from-bg)0%,transparent)}}.to-\\(--fubi-page-from-bg\\)\\/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))}.to-\\(--fubi-page-to-bg\\){--tw-gradient-to:var(--fubi-page-to-bg);--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-amber-500{--tw-gradient-to:var(--color-amber-500);--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-green-600{--tw-gradient-to:var(--color-green-600);--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-rose-600{--tw-gradient-to:var(--color-rose-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-sky-600{--tw-gradient-to:var(--color-sky-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-sky-700{--tw-gradient-to:var(--color-sky-700);--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-slate-500\\/20{--tw-gradient-to:#647b8733}@supports (color:color-mix(in lab,red,red)){.to-slate-500\\/20{--tw-gradient-to:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.to-slate-500\\/20{--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-slate-900\\/90{--tw-gradient-to:#161b1de6}@supports (color:color-mix(in lab,red,red)){.to-slate-900\\/90{--tw-gradient-to:color-mix(in oklab,var(--color-slate-900)90%,transparent)}}.to-slate-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-60\\%{--tw-gradient-to-position:60%}.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-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-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}.object-cover{object-fit:cover}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-12{padding:calc(var(--spacing)*12)}.p-16{padding:calc(var(--spacing)*16)}.p-30{padding:calc(var(--spacing)*30)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.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-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-start:21px;padding-inline-end:21px}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-48{padding-block:calc(var(--spacing)*48)}.pt-\\(--fubi-navbar-height\\){padding-top:var(--fubi-navbar-height)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-8{padding-right:calc(var(--spacing)*8)}.pr-9{padding-right:calc(var(--spacing)*9)}.pr-10{padding-right:calc(var(--spacing)*10)}.pr-16{padding-right:calc(var(--spacing)*16)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pb-32{padding-bottom:calc(var(--spacing)*32)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.pl-10{padding-left:calc(var(--spacing)*10)}.pl-12{padding-left:calc(var(--spacing)*12)}.pl-16{padding-left:calc(var(--spacing)*16)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-\\[10px\\]\\/none{font-size:10px;line-height:1}.text-\\[13px\\]\\/none{font-size:13px;line-height:1}.text-\\[15px\\]\\/none{font-size:15px;line-height:1}.text-\\[18px\\]\\/none{font-size:18px;line-height:1}.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\\/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\\/none{font-size:var(--text-sm);line-height:1}.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-\\[15px\\]{font-size:15px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.02em\\]{--tw-tracking:.02em;letter-spacing:.02em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-balance{text-wrap:balance}.whitespace-nowrap{white-space:nowrap}.text-\\(--shade-50\\){color:var(--shade-50)}.text-\\(--shade-950\\){color:var(--shade-950)}.text-amber-500{color:var(--color-amber-500)}.text-gray-500{color:var(--color-gray-500)}.text-green-200{color:var(--color-green-200)}.text-green-500{color:var(--color-green-500)}.text-indigo-500{color:var(--color-indigo-500)}.text-lime-100{color:var(--color-lime-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-pink-500{color:var(--color-pink-500)}.text-purple-500{color:var(--color-purple-500)}.text-red-200{color:var(--color-red-200)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-rose-600{color:var(--color-rose-600)}.text-sky-200{color:var(--color-sky-200)}.text-sky-400{color:var(--color-sky-400)}.text-sky-500{color:var(--color-sky-500)}.text-slate-100{color:var(--color-slate-100)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-500{color:var(--color-slate-500)}.text-slate-500\\/30{color:#647b874d}@supports (color:color-mix(in lab,red,red)){.text-slate-500\\/30{color:color-mix(in oklab,var(--color-slate-500)30%,transparent)}}.text-slate-500\\/50{color:#647b8780}@supports (color:color-mix(in lab,red,red)){.text-slate-500\\/50{color:color-mix(in oklab,var(--color-slate-500)50%,transparent)}}.text-slate-500\\/60{color:#647b8799}@supports (color:color-mix(in lab,red,red)){.text-slate-500\\/60{color:color-mix(in oklab,var(--color-slate-500)60%,transparent)}}.text-slate-500\\/80{color:#647b87cc}@supports (color:color-mix(in lab,red,red)){.text-slate-500\\/80{color:color-mix(in oklab,var(--color-slate-500)80%,transparent)}}.text-slate-600{color:var(--color-slate-600)}.text-slate-800{color:var(--color-slate-800)}.text-white{color:var(--color-white)}.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\\/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}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-20{opacity:.2}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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))}.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-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,)}.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\\,box-shadow\\,scale\\,width\\,height\\,top\\]{transition-property:background-color,box-shadow,scale,width,height,top;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\\,translate\\,opacity\\]{transition-property:background-color,scale,translate,opacity;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\\]{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-\\[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\\,scale\\,padding-top\\]{transition-property:max-height,opacity,scale,padding-top;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-\\[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\\,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\\,opacity\\]{transition-property:translate,opacity;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-\\[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-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))}.duration-0{--tw-duration:0s;transition-duration:0s}.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-500{--tw-duration:.5s;transition-duration:.5s}.duration-600{--tw-duration:.6s;transition-duration:.6s}.duration-1000{--tw-duration:1s;transition-duration:1s}.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-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-in-out-cubic{--tw-ease:var(--ease-in-out-cubic);transition-timing-function:var(--ease-in-out-cubic)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.ease-out-cubic{--tw-ease:var(--ease-out-cubic);transition-timing-function:var(--ease-out-cubic)}.will-change-\\[background-color\\,box-shadow\\,scale\\,width\\,height\\,top\\]{will-change:background-color,box-shadow,scale,width,height,top}.will-change-\\[background-color\\,scale\\,translate\\,opacity\\]{will-change:background-color,scale,translate,opacity}.will-change-\\[background-color\\]{will-change:background-color}.will-change-\\[height\\]{will-change:height}.will-change-\\[max-height\\,opacity\\,scale\\,padding-top\\]{will-change:max-height,opacity,scale,padding-top}.will-change-\\[opacity\\,scale\\]{will-change:opacity,scale}.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-\\[scale\\,opacity\\]{will-change:scale,opacity}.will-change-\\[scale\\]{will-change:scale}.will-change-\\[translate\\,max-height\\,height\\,scale\\,opacity\\]{will-change:translate,max-height,height,scale,opacity}.will-change-\\[translate\\,opacity\\]{will-change:translate,opacity}.will-change-\\[width\\,background-color\\,translate\\]{will-change:width,background-color,translate}.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}.select-none{-webkit-user-select:none;user-select:none}.\\[--fubi-subnavbar-active-height\\:0px\\]{--fubi-subnavbar-active-height:0px}.duration-0{animation-duration:0s}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-600{animation-duration:.6s}.duration-1000{animation-duration:1s}.ease-\\[cubic-bezier\\(\\.6\\,0\\,\\.3\\,1\\)\\]{animation-timing-function:cubic-bezier(.6,0,.3,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in-out-cubic{animation-timing-function:cubic-bezier(.6,0,.35,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ease-out-cubic{animation-timing-function:cubic-bezier(.2,.6,.35,1)}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.group-active\\/checkbox\\:w-32:is(:where(.group\\/checkbox):active *){width:calc(var(--spacing)*32)}.group-disabled\\/listitem\\:bg-transparent:is(:where(.group\\/listitem):disabled *){background-color:#0000}.group-disabled\\/listitem\\:text-slate-500\\/30:is(:where(.group\\/listitem):disabled *){color:#647b874d}@supports (color:color-mix(in lab,red,red)){.group-disabled\\/listitem\\:text-slate-500\\/30:is(:where(.group\\/listitem):disabled *){color:color-mix(in oklab,var(--color-slate-500)30%,transparent)}}.group-disabled\\/listitem\\:text-slate-500\\/50:is(:where(.group\\/listitem):disabled *){color:#647b8780}@supports (color:color-mix(in lab,red,red)){.group-disabled\\/listitem\\:text-slate-500\\/50:is(:where(.group\\/listitem):disabled *){color:color-mix(in oklab,var(--color-slate-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-\\[input\\:disabled\\]\\/input\\:text-slate-500:-webkit-any(:where(.group\\/input):has(:-webkit-any(input:disabled)) *){color:var(--color-slate-500)}.group-has-\\[input\\:disabled\\]\\/input\\:text-slate-500:-moz-any(:where(.group\\/input):has(:-moz-any(input:disabled)) *){color:var(--color-slate-500)}.group-has-\\[input\\:disabled\\]\\/input\\:text-slate-500:is(:where(.group\\/input):has(:is(input:disabled)) *){color:var(--color-slate-500)}.group-has-\\[input\\:disabled\\]\\/input\\:opacity-40:-webkit-any(:where(.group\\/input):has(:-webkit-any(input:disabled)) *){opacity:.4}.group-has-\\[input\\:disabled\\]\\/input\\:opacity-40:-moz-any(:where(.group\\/input):has(:-moz-any(input:disabled)) *){opacity:.4}.group-has-\\[input\\:disabled\\]\\/input\\:opacity-40:is(:where(.group\\/input):has(:is(input:disabled)) *){opacity:.4}.peer-checked\\:translate-x-14:is(:where(.peer):checked~*){--tw-translate-x:calc(var(--spacing)*14);translate:var(--tw-translate-x)var(--tw-translate-y)}.peer-checked\\:text-rose-100:is(:where(.peer):checked~*){color:var(--color-rose-100)}.peer-placeholder-shown\\:opacity-40:is(:where(.peer):placeholder-shown~*){opacity:.4}@media (hover:hover){.peer-hover\\:text-slate-300:is(:where(.peer):hover~*){color:var(--color-slate-300)}.peer-checked\\:peer-hover\\:text-lime-50:is(:where(.peer):checked~*):is(:where(.peer):hover~*){color:var(--color-lime-50)}.peer-checked\\:peer-hover\\:text-rose-50:is(:where(.peer):checked~*):is(:where(.peer):hover~*){color:var(--color-rose-50)}}.peer-focus-visible\\:text-slate-300:is(:where(.peer):focus-visible~*){color:var(--color-slate-300)}.peer-active\\:text-green-400:is(:where(.peer):active~*){color:var(--color-green-400)}.peer-active\\:text-red-400:is(:where(.peer):active~*){color:var(--color-red-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)}.first\\:rounded-t-\\[18px\\]:first-child{border-top-left-radius:18px;border-top-right-radius:18px}.first\\:rounded-t-\\[20px\\]:first-child{border-top-left-radius:20px;border-top-right-radius:20px}.last\\:rounded-b-\\[18px\\]:last-child{border-bottom-right-radius:18px;border-bottom-left-radius:18px}.last\\:rounded-b-\\[20px\\]:last-child{border-bottom-right-radius:20px;border-bottom-left-radius:20px}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.checked\\:bg-linear-to-b:checked{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.checked\\:bg-linear-to-b:checked{--tw-gradient-position:to bottom in oklab}}.checked\\:bg-linear-to-b:checked{background-image:linear-gradient(var(--tw-gradient-stops))}@media (hover:hover){.hover\\:bg-\\(--fubi-hover-thread-color\\)\\/20:hover{background-color:var(--fubi-hover-thread-color)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-\\(--fubi-hover-thread-color\\)\\/20:hover{background-color:color-mix(in oklab,var(--fubi-hover-thread-color)20%,transparent)}}.hover\\:bg-\\(--shade-800\\):hover{background-color:var(--shade-800)}.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-rose-800:hover{background-color:var(--color-rose-800)}.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-900:hover{background-color:var(--color-sky-900)}.hover\\:bg-slate-500\\/20:hover{background-color:#647b8733}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-500\\/20:hover{background-color:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.hover\\:bg-slate-500\\/40:hover{background-color:#647b8766}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-500\\/40:hover{background-color:color-mix(in oklab,var(--color-slate-500)40%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.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\\:text-\\(--fubi-hover-thread-color\\):hover{color:var(--fubi-hover-thread-color)}.hover\\:text-\\(--shade-700\\):hover{color:var(--shade-700)}.hover\\:text-neutral-300:hover{color:var(--color-neutral-300)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-slate-400:hover{color:var(--color-slate-400)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.checked\\:hover\\:bg-lime-500:checked:hover{background-color:var(--color-lime-500)}.checked\\:hover\\:bg-rose-500:checked:hover{background-color:var(--color-rose-500)}}.focus\\:bg-neutral-500\\/20:focus{background-color:#73737333}@supports (color:color-mix(in lab,red,red)){.focus\\:bg-neutral-500\\/20:focus{background-color:color-mix(in oklab,var(--color-neutral-500)20%,transparent)}}.focus\\:text-neutral-300:focus{color:var(--color-neutral-300)}.focus-visible\\:bg-slate-500\\/10:focus-visible{background-color:#647b871a}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:bg-slate-500\\/10:focus-visible{background-color:color-mix(in oklab,var(--color-slate-500)10%,transparent)}}.focus-visible\\:bg-slate-500\\/20:focus-visible{background-color:#647b8733}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:bg-slate-500\\/20:focus-visible{background-color:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.focus-visible\\:text-slate-300:focus-visible{color:var(--color-slate-300)}.focus-visible\\:text-slate-400:focus-visible{color:var(--color-slate-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-110:active{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-120:active{--tw-scale-x:120%;--tw-scale-y:120%;--tw-scale-z:120%;scale:var(--tw-scale-x)var(--tw-scale-y)}.active\\:scale-\\[1\\.01\\]:active{scale:1.01}.active\\:rounded-\\[2px\\]:active{border-radius:2px}.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-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-red-400\\/10:active{background-color:#ff65681a}@supports (color:color-mix(in lab,red,red)){.active\\:bg-red-400\\/10:active{background-color:color-mix(in oklab,var(--color-red-400)10%,transparent)}}.active\\:bg-rose-900:active{background-color:var(--color-rose-900)}.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\\/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-600:active{background-color:var(--color-sky-600)}.active\\:bg-sky-700:active{background-color:var(--color-sky-700)}.active\\:bg-slate-500\\/10:active{background-color:#647b871a}@supports (color:color-mix(in lab,red,red)){.active\\:bg-slate-500\\/10:active{background-color:color-mix(in oklab,var(--color-slate-500)10%,transparent)}}.active\\:bg-slate-500\\/20:active{background-color:#647b8733}@supports (color:color-mix(in lab,red,red)){.active\\:bg-slate-500\\/20:active{background-color:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.active\\:bg-slate-500\\/30:active{background-color:#647b874d}@supports (color:color-mix(in lab,red,red)){.active\\:bg-slate-500\\/30:active{background-color:color-mix(in oklab,var(--color-slate-500)30%,transparent)}}.active\\:bg-slate-900:active{background-color:var(--color-slate-900)}.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-slate-300:active{color:var(--color-slate-300)}.active\\:text-white:active{color:var(--color-white)}.checked\\:active\\:bg-green-600:checked:active{background-color:var(--color-green-600)}.checked\\:active\\:bg-red-600:checked:active{background-color:var(--color-red-600)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-slate-500\\/5:disabled{background-color:#647b870d}@supports (color:color-mix(in lab,red,red)){.disabled\\:bg-slate-500\\/5:disabled{background-color:color-mix(in oklab,var(--color-slate-500)5%,transparent)}}.disabled\\:bg-slate-500\\/7:disabled{background-color:#647b8712}@supports (color:color-mix(in lab,red,red)){.disabled\\:bg-slate-500\\/7:disabled{background-color:color-mix(in oklab,var(--color-slate-500)7%,transparent)}}.disabled\\:text-slate-500\\/50:disabled{color:#647b8780}@supports (color:color-mix(in lab,red,red)){.disabled\\:text-slate-500\\/50:disabled{color:color-mix(in oklab,var(--color-slate-500)50%,transparent)}}.disabled\\:text-white\\/20:disabled{color:#fff3}@supports (color:color-mix(in lab,red,red)){.disabled\\:text-white\\/20:disabled{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.disabled\\:opacity-30:disabled{opacity:.3}.has-checked\\:bg-sky-500:has(:checked){background-color:var(--color-sky-500)}.has-checked\\:from-sky-600:has(:checked){--tw-gradient-from:var(--color-sky-600);--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))}.has-checked\\:to-sky-400:has(:checked){--tw-gradient-to:var(--color-sky-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))}.has-disabled\\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-\\[\\.subnavbar\\]\\:h-\\[calc\\(var\\(--fubi-navbar-height\\)\\+var\\(--fubi-subnavbar-active-height\\)\\)\\]:has(.subnavbar){height:calc(var(--fubi-navbar-height) + var(--fubi-subnavbar-active-height))}.has-\\[\\.subnavbar\\]\\:pt-\\[calc\\(var\\(--fubi-navbar-height\\)\\+var\\(--fubi-subnavbar-height\\)\\)\\]:has(.subnavbar){padding-top:calc(var(--fubi-navbar-height) + var(--fubi-subnavbar-height))}.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\\=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-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-95[data-state=open]{--tw-enter-scale:.95}@media (min-width:40rem){.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 (min-width:48rem){.md\\:max-w-375{max-width:calc(var(--spacing)*375)}}@media (hover:none) and (pointer:coarse){.touch\\:pointer-events-auto{pointer-events:auto}.touch\\:top-8{top:calc(var(--spacing)*8)}.touch\\:right-20{right:calc(var(--spacing)*20)}.touch\\:right-76{right:calc(var(--spacing)*76)}.touch\\:bottom-20{bottom:calc(var(--spacing)*20)}.touch\\:bottom-auto{bottom:auto}.touch\\:left-20{left:calc(var(--spacing)*20)}.touch\\:left-76{left:calc(var(--spacing)*76)}.touch\\:mt-8{margin-top:calc(var(--spacing)*8)}.touch\\:mb-4{margin-bottom:calc(var(--spacing)*4)}.touch\\:hidden{display:none}.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-22{width:calc(var(--spacing)*22);height:calc(var(--spacing)*22)}.touch\\:size-24{width:calc(var(--spacing)*24);height:calc(var(--spacing)*24)}.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-34{width:calc(var(--spacing)*34);height:calc(var(--spacing)*34)}.touch\\:size-36{width:calc(var(--spacing)*36);height:calc(var(--spacing)*36)}.touch\\:size-40{width:calc(var(--spacing)*40);height:calc(var(--spacing)*40)}.touch\\:size-48{width:calc(var(--spacing)*48);height:calc(var(--spacing)*48)}.touch\\:h-32{height:calc(var(--spacing)*32)}.touch\\:h-48{height:calc(var(--spacing)*48)}.touch\\:h-64{height:calc(var(--spacing)*64)}.touch\\:min-w-48{min-width:calc(var(--spacing)*48)}.touch\\:-translate-x-1\\.5{--tw-translate-x:calc(var(--spacing)*-1.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.touch\\:justify-center{justify-content:center}.touch\\:gap-6{gap:calc(var(--spacing)*6)}.touch\\:overflow-clip{overflow:clip}.touch\\:rounded-\\[8px\\]{border-radius:8px}.touch\\:rounded-\\[10px\\]{border-radius:10px}.touch\\:rounded-\\[12px\\]{border-radius:12px}.touch\\:rounded-\\[26px\\]{border-radius:26px}.touch\\:rounded-t-\\(--fubi-rounded\\){border-top-left-radius:var(--fubi-rounded);border-top-right-radius:var(--fubi-rounded)}.touch\\:rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.touch\\:bg-neutral-900{background-color:var(--color-neutral-900)}.touch\\:bg-slate-500\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.touch\\:bg-slate-500\\/0{background-color:color-mix(in oklab,var(--color-slate-500)0%,transparent)}}.touch\\:bg-slate-500\\/10{background-color:#647b871a}@supports (color:color-mix(in lab,red,red)){.touch\\:bg-slate-500\\/10{background-color:color-mix(in oklab,var(--color-slate-500)10%,transparent)}}.touch\\:bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.touch\\:bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.touch\\:bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.touch\\:p-12{padding:calc(var(--spacing)*12)}.touch\\:p-16{padding:calc(var(--spacing)*16)}.touch\\:px-6{padding-inline:calc(var(--spacing)*6)}.touch\\:pr-8{padding-right:calc(var(--spacing)*8)}.touch\\:pr-16{padding-right:calc(var(--spacing)*16)}.touch\\:pl-8{padding-left:calc(var(--spacing)*8)}.touch\\:pl-12{padding-left:calc(var(--spacing)*12)}.touch\\:text-\\[18px\\]\\/none{font-size:18px;line-height:1}.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\\/none{font-size:var(--text-xl);line-height:1}.touch\\:text-slate-500{color:var(--color-slate-500)}.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-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)}}.touch\\:active\\:bg-sky-700:active{background-color:var(--color-sky-700)}.touch\\:active\\:bg-slate-500\\/20:active{background-color:#647b8733}@supports (color:color-mix(in lab,red,red)){.touch\\:active\\:bg-slate-500\\/20:active{background-color:color-mix(in oklab,var(--color-slate-500)20%,transparent)}}.touch\\:active\\:bg-slate-500\\/40:active{background-color:#647b8766}@supports (color:color-mix(in lab,red,red)){.touch\\:active\\:bg-slate-500\\/40:active{background-color:color-mix(in oklab,var(--color-slate-500)40%,transparent)}}}@media (pointer:fine){.mouse\\:top-auto{top:auto}.mouse\\:right-\\(--fubi-window-right\\){right:var(--fubi-window-right)}.mouse\\:right-16{right:calc(var(--spacing)*16)}.mouse\\:bottom-\\(--fubi-window-bottom\\){bottom:var(--fubi-window-bottom)}.mouse\\:bottom-16{bottom:calc(var(--spacing)*16)}.mouse\\:left-auto{left:auto}.mouse\\:hidden{display:none}.mouse\\:size-22{width:calc(var(--spacing)*22);height:calc(var(--spacing)*22)}.mouse\\:h-500{height:calc(var(--spacing)*500)}.mouse\\:max-h-1\\/2\\!{max-height:50%!important}.mouse\\:min-h-40{min-height:calc(var(--spacing)*40)}.mouse\\:min-h-44{min-height:calc(var(--spacing)*44)}.mouse\\:min-h-46{min-height:calc(var(--spacing)*46)}.mouse\\:min-h-48{min-height:calc(var(--spacing)*48)}.mouse\\:min-h-\\[350px\\]{min-height:350px}.mouse\\:w-44{width:calc(var(--spacing)*44)}.mouse\\:w-300{width:calc(var(--spacing)*300)}.mouse\\:origin-bottom-right{transform-origin:100% 100%}.mouse\\:translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.mouse\\:scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.mouse\\:justify-center{justify-content:center}.mouse\\:rounded-\\(--fubi-rounded-mouse\\){border-radius:var(--fubi-rounded-mouse)}.mouse\\:rounded-t-\\(--fubi-rounded-mouse\\){border-top-left-radius:var(--fubi-rounded-mouse);border-top-right-radius:var(--fubi-rounded-mouse)}.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\\:text-\\[13px\\]\\/none{font-size:13px;line-height:1}.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-sm\\/none{font-size:var(--text-sm);line-height:1}.mouse\\:text-xs\\/none{font-size:var(--text-xs);line-height:1}.mouse\\:opacity-0{opacity:0}.mouse\\:duration-200{--tw-duration:.2s;transition-duration:.2s;animation-duration:.2s}}.\\[\\&_span\\]\\:text-white span{color:var(--color-white)}.\\[\\&\\>\\.listitem\\]\\:first\\:rounded-t-\\[20px\\]>.listitem:first-child{border-top-left-radius:20px;border-top-right-radius:20px}.\\[\\&\\>\\.listitem\\]\\:last\\:rounded-b-\\[20px\\]>.listitem:last-child{border-bottom-right-radius:20px;border-bottom-left-radius:20px}@media (hover:none) and (pointer:coarse){.touch\\:\\[\\&\\>\\.listitem\\]\\:first\\:rounded-t-\\[20px\\]>.listitem:first-child{border-top-left-radius:20px;border-top-right-radius:20px}.touch\\:\\[\\&\\>\\.listitem\\]\\:last\\:rounded-b-\\[20px\\]>.listitem:last-child{border-bottom-right-radius:20px;border-bottom-left-radius:20px}}.\\[\\&\\>\\.listitem\\:last-child\\>\\.listitem-content\\]\\:border-b-0>.listitem:last-child>.listitem-content{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\\[\\&\\>\\:first-child\\>\\.listitem\\]\\:rounded-t-\\[16px\\]>:first-child>.listitem{border-top-left-radius:16px;border-top-right-radius:16px}@media (hover:none) and (pointer:coarse){.touch\\:\\[\\&\\>\\:first-child\\>\\.listitem\\]\\:rounded-t-\\[20px\\]>:first-child>.listitem{border-top-left-radius:20px;border-top-right-radius:20px}}.\\[\\&\\>\\:last-child\\>\\.listitem\\]\\:rounded-b-\\[20px\\]>:last-child>.listitem{border-bottom-right-radius:20px;border-bottom-left-radius:20px}@media (hover:none) and (pointer:coarse){.touch\\:\\[\\&\\>\\:last-child\\>\\.listitem\\]\\:rounded-b-\\[20px\\]>:last-child>.listitem{border-bottom-right-radius:20px;border-bottom-left-radius:20px}}.\\[\\&\\>\\:last-child\\>\\.listitem\\>\\.listitem-content\\]\\:border-b-0>:last-child>.listitem>.listitem-content{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.flex-center{justify-content:center;align-items:center;display:flex}.absolute-center{--tw-translate-x: -50% ;--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);position:absolute;top:50%;left:50%}:host{--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:1rem;--fubi-toolbar-right:1rem;--fubi-navbar-height:52px;--fubi-navbar-height-touch:66px;--fubi-subnavbar-height:36px;--fubi-subnavbar-height-touch:44px;--fubi-subnavbar-active-height:var(--fubi-subnavbar-height);--fubi-subnavbar-active-height-touch:var(--fubi-subnavbar-height-touch);--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));--fubi-window-bg:transparent;--fubi-page-bg:#151c24;--fubi-page-from-bg:#1e2730;--fubi-page-to-bg:#101316;--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:32px;--fubi-rotate-to:40deg;--fubi-translate-x-difference:0%;--fubi-translate-z-difference:-300px}@media (pointer:coarse){:host{--fubi-rotate-to:0deg;--fubi-translate-x-difference:-30%;--fubi-translate-z-difference:0px;--fubi-toolbar-height:50px}.router-transition-forward .page-current{animation-timing-function:var(--fubi-ease-forward)}}.page{transform:translate(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-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:translate(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:translate(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:translate(var(--fubi-translate-x-difference))translateZ(var(--fubi-translate-z-difference))rotateY(0)}}@keyframes prev-to-current{0%{transform:translate(var(--fubi-translate-x-difference))translateZ(var(--fubi-translate-z-difference))rotateY(0)}to{transform:translate(0)translateZ(0)rotateY(0)}}[data-conte-portal]{isolation:isolate}#fubi-wrapper{letter-spacing:.02em;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Clash Grotesk,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}.superellipse{corner-shape:superellipse(1.4)}.bordered{box-shadow:inset 0 0 0 1px #ffffff1a,inset 0 2px 4px #ffffff1a}.glass{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 1px 3px #0000001a}.glass-shadow{box-shadow:inset .7px .7px .5px #ffffff26,inset -.7px -.7px .5px #ffffff26,0 8px 12px #00000026}.glass-pressed{box-shadow:inset -2px -2px 8px #ffffff0d,inset 2px 2px 8px #0000004d,inset .7px .7px #fff3,inset -.7px -.7px .7px #ffffff1a}.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}}input:-webkit-autofill{-webkit-text-fill-color:#ffffff80;-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:#ffffff80;-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:#ffffff80;-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:#ffffff80;-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-visible:focus{outline-style:var(--tw-outline-style);outline-width:0}.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:2px;outline-width:1px;outline-color:var(--color-sky-500)}.focus-visible:focus-visible{outline-style:var(--tw-outline-style);outline-offset:2px;outline-width:1px;outline-color:var(--color-sky-500)}.focus-within:focus{outline-style:var(--tw-outline-style);outline-width:0}.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}#fubi-new-comment-input:empty:before{content:"Write 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)){#fubi-new-comment-input:empty:before{color:color-mix(in oklab,var(--color-white)40%,transparent)}}#fubi-new-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){#fubi-new-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}}#fubi-new-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 2px #00000080)}@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-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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}@keyframes spin{to{transform:rotate(360deg)}}</style>';const o=document.createElement("div");o.id="fubi-wrapper",n.appendChild(o),document.body.appendChild(r),document.head.insertAdjacentHTML("beforeend",'<style id="fubi-global-styles">\n @font-face {\n font-family: "Clash Grotesk";\n src: url(data:font/woff2;base64,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) format("woff2");\n font-weight: 400 500 600;\n font-display: swap;\n font-style: normal;\n }\n .fubi-scroll-disabled{touch-action:none;overflow:hidden!important}@media (pointer:coarse){.fubi-scroll-touch-disabled,.fubi-scroll-touch-disabled body{touch-action:none;overflow:hidden!important}}html{touch-action:pan-y}.fubi-hover-enabled *{cursor:default!important}.fubi-hover-enabled #fubi-wrapper,.fubi-hover-enabled #fubi-wrapper *{cursor:revert!important}.fubi-hover-enabled:not(:has(#fubi-wrapper:hover,.fubi-isolated)) [data-fubi-threads]{outline:1px solid color-mix(in srgb,var(--fubi-hover-default-color)30%,transparent);outline-offset:-1px;--fubi-comments-num:"4";--fubi-el-w:800px;--fubi-el-pt:20px;--fubi-el-pr:20px;--fubi-el-pl:20px}.fubi-hover-enabled:not(:has(#fubi-shadow-root:hover,.fubi-isolated)) [data-fubi-threads]{outline:1px solid color-mix(in srgb,var(--fubi-hover-default-color)30%,transparent);outline-offset:-1px;--fubi-comments-num:"4";--fubi-el-w:800px;--fubi-el-pt:20px;--fubi-el-pr:20px;--fubi-el-pl:20px}.fubi-hover-enabled:not(:has(#fubi-wrapper:hover)) [data-fubi-threads]:not(:has(:hover)):hover{outline-offset:4px;opacity:1;outline:1px dashed #0000}.fubi-hover-enabled:not(:has(#fubi-shadow-root:hover)) [data-fubi-threads]:not(:has(:hover)):hover{outline-offset:4px;opacity:1;outline:1px dashed #0000}@media (pointer:coarse){.fubi-hover-enabled:not(:has(#fubi-wrapper:hover,.fubi-isolated)) [data-fubi-threads]:before{content:"";background:url("data:image/svg+xml,<svg viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="white"/><path d="M1 3L0 4H2L1 3Z" fill="white"/></svg>"),linear-gradient(135deg,var(--fubi-hover-default-color)0%,color-mix(in srgb,var(--fubi-hover-default-color)50%,transparent)100%);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);outline:1px solid var(--fubi-hover-default-color);box-sizing:border-box;width:32px;height:32px;transform:translate(calc((var(--fubi-el-w) - var(--fubi-el-pr)) - 2px),calc(-100% + 2px - var(--fubi-el-pt)))scale(1);transform-origin:0 100%;background-position:50%;background-repeat:no-repeat;background-size:16px 16px,100% 100%;border-radius:20px 20px 20px 4px;justify-content:center;align-items:center;padding:1px 1px 0 0;font-size:12px;transition:transform .2s ease-in;display:inline-flex;position:absolute;box-shadow:0 2px 4px #0003}.fubi-hover-enabled:not(:has(#fubi-shadow-root:hover,.fubi-isolated)) [data-fubi-threads]:before{content:"";background:url("data:image/svg+xml,<svg viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="white"/><path d="M1 3L0 4H2L1 3Z" fill="white"/></svg>"),linear-gradient(135deg,var(--fubi-hover-default-color)0%,color-mix(in srgb,var(--fubi-hover-default-color)50%,transparent)100%);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);outline:1px solid var(--fubi-hover-default-color);box-sizing:border-box;width:32px;height:32px;transform:translate(calc((var(--fubi-el-w) - var(--fubi-el-pr)) - 2px),calc(-100% + 2px - var(--fubi-el-pt)))scale(1);transform-origin:0 100%;background-position:50%;background-repeat:no-repeat;background-size:16px 16px,100% 100%;border-radius:20px 20px 20px 4px;justify-content:center;align-items:center;padding:1px 1px 0 0;font-size:12px;transition:transform .2s ease-in;display:inline-flex;position:absolute;box-shadow:0 2px 4px #0003}.fubi-hover-enabled:not(:has(#fubi-wrapper:hover)) [data-fubi-threads]:hover:before{background:url("data:image/svg+xml,<svg viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="white"/><path d="M1 3L0 4H2L1 3Z" fill="white"/></svg>"),linear-gradient(135deg,var(--fubi-hover-default-color)0%,var(--fubi-hover-default-color)100%);background-position:50%;background-repeat:no-repeat;background-size:16px 16px,100% 100%}.fubi-hover-enabled:not(:has(#fubi-shadow-root:hover)) [data-fubi-threads]:hover:before{background:url("data:image/svg+xml,<svg viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="white"/><path d="M1 3L0 4H2L1 3Z" fill="white"/></svg>"),linear-gradient(135deg,var(--fubi-hover-default-color)0%,var(--fubi-hover-default-color)100%);background-position:50%;background-repeat:no-repeat;background-size:16px 16px,100% 100%}}</style>'),Au(Vk,{target:o,props:{projectId:t,options:e,wrapper:o}})}}();
|
|
1
|
+
var e=function(){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&&globalThis.document.contentType.includes("xml");function A(e){if(t){const t=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=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=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=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(Et(R))}function q(e){if(V){if(null!==Et(R))throw N;R=e}}function K(e=1){if(V){for(var t=e,r=R;t--;)r=Et(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=Et(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=yr.f;!vr&&32&i&&!oe.i||function(){if(t){const e=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))Kt(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=new WeakMap;function we(e){var r=yr;if(null===r)return vr.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=Ct?" ":"\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(Zi){e=Zi}}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=new Set,_e=null,Te=null,Ee=null,Oe=[],Ie=null,Ae=!1,ze=!1,Pe=class e{current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#o=0;#i=null;#n=new Set;#s=new Set;#a=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):Ir(o)&&(16&i&&this.#s.add(o),Nr(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=new Set,n=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?new Set:null;try{for(var r=0;Oe.length>0;){var o=Pe.ensure();if(r++>1e3){if(t){var i=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),st.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=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)&&Ir(o)&&(De=new Set,Nr(o),null===o.deps&&null===o.first&&null===o.nodes&&null===o.teardown&&null===o.ac&&ar(o),De?.size>0)){st.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||Nr(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===yr&&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=ct(0);return t&&ee(i,"createSubscriber version"),()=>{Ut()&&(Dr(i),Jt(()=>(0===o&&(r=Rr(()=>e(()=>ft(i)))),o+=1,()=>{me(()=>{o-=1,0===o&&(r?.(),r=void 0,ft(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=new Set;#s=new Set;#M=null;#S=Ue(()=>(this.#M=ct(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=yr;t.b=this,t.f|=128,r(e)},this.parent=yr.b,this.transform_error=o??this.parent?.transform_error??(e=>e),this.#v=er(()=>{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=rr(()=>this.#m(this.#p))}catch(e){this.error(e)}}#$(e){const t=this.#f.failed;t&&(this.#y=rr(()=>{t(this.#p,()=>e,()=>()=>{})}))}#_(){const e=this.#f.pending;e&&(this.is_pending=!0,this.#w=rr(()=>e(this.#p)),me(()=>{var e=this.#x=document.createDocumentFragment(),t=_t();e.append(t),this.#b=this.#O(()=>(Pe.ensure(),rr(()=>this.#m(t)))),0===this.#C&&(this.#p.before(e),this.#x=null,lr(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=rr(()=>{this.#m(this.#p)}),this.#C>0){var e=this.#x=document.createDocumentFragment();hr(this.#b,e);const t=this.#f.pending;this.#w=rr(()=>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=yr,r=vr,o=oe;xr(this.#v),wr(this.#v),ie(this.#v.ctx);try{return e()}catch(Zi){return we(Zi),null}finally{xr(t),wr(r),ie(o)}}#A(e){this.has_pending_snippet()?(this.#C+=e,0===this.#C&&(this.#I(),this.#w&&lr(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&&pt(this.#M,this.#k)}))}get_effect_pending(){return this.#S(),Dr(this.#M)}error(e){var r=this.#f.onerror;let o=this.#f.failed;if(!r&&!o)throw e;this.#b&&(nr(this.#b),this.#b=null),this.#w&&(nr(this.#w),this.#w=null),this.#y&&(nr(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=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&&lr(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 rr(()=>{var e=yr;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(Zi){return void ye(Zi,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=yr,l=function(){var e=yr,r=vr,o=oe,i=_e;if(t)var n=ne;return function(s=!0){xr(e),wr(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=>function(e){null===yr&&function(){if(t){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var r=void 0,o=ct(j);t&&(o.label=void 0);var i=!vr,n=new Map;return function(e){Bt(4718592,e,!0)}(()=>{var t=f();r=t.promise;try{Promise.resolve(e()).then(t.resolve,t.reject).finally(Ke)}catch(c){t.reject(c),Ke()}var s=_e;if(i){var a=function(){var e=yr.b,t=_e,r=e.is_rendered();return e.update_pending_count(1),t.increment(r),()=>{e.update_pending_count(-1),t.decrement(r)}}();n.get(s)?.reject(O),n.delete(s),n.set(s,t)}const l=(e,t=void 0)=>{if(s.activate(),t)t!==O&&(o.f|=S,pt(o,t));else{8388608&o.f&&(o.f^=S),pt(o,e);for(const[e,t]of n){if(n.delete(e),e===s)break;t.reject(O)}}a&&a()};t.promise.then(l,e=>l(null,e||"unknown"))}),Zt(()=>{for(const e of n.values())e.reject(O)}),t&&(o.f|=4194304),new Promise(e=>{!function t(i){function n(){i===r?e(o):t(r)}i.then(n,n)}(r)})}(e))).then(e=>d([...r.map(n),...e])).catch(e=>ye(e,a))}}function Ke(e=!0){xr(null),wr(null),ie(null),e&&_e?.deactivate(),t&&(Ge(null),se(null))}function Ge(e){}var Xe=new Set;function Ye(e){var t=null!==vr&&2&vr.f?vr:null;null!==yr&&(yr.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??yr,ac:null}}function Je(e){const t=Ye(e);return Q||Cr(t),t}function Qe(e){const t=Ye(e);return t.equals=J,t}function et(e){var t=e.effects;if(null!==t){e.effects=null;for(var r=0;r<t.length;r+=1)nr(t[r])}}var tt=[];function rt(e){var r,o=yr;if(xr(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=nt;at(new Set);try{i.call(tt,e)&&function(){if(t){const e=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")}(),tt.push(e),e.f&=-65537,et(e),r=zr(e)}finally{xr(o),at(n),tt.pop()}}else try{e.f&=-65537,et(e),r=zr(e)}finally{xr(o)}return r}function ot(e){var t=rt(e);e.equals(t)||(e.wv=Or(),_e?.is_fork&&null!==e.deps||(e.v=t,null!==e.deps))?fr||(null!==Ee?(Ut()||_e?.is_fork)&&Ee.set(e,t):Le(e)):Ce(e,b)}function it(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&Nr(t)}var nt=new Set,st=new Map;function at(e){nt=e}var lt=!1;function ct(e,t){return{f:0,v:e,reactions:null,equals:Y,rv:0,wv:0}}function dt(e,t){const r=ct(e);return Cr(r),r}function ut(e,t=!1,r=!0){const o=ct(e);return t||(o.equals=J),o}function ht(e,r,o=!1){null!==vr&&(!br||131072&vr.f)&&4325394&vr.f&&(null===kr||!i.call(kr,e))&&function(){if(t){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let n=o?bt(r):r;return t&&te(n,e.label),pt(e,n)}function pt(e,r){if(!e.equals(r)){var o=e.v;fr?st.set(e,r):st.set(e,o),e.v=r;var i=Pe.ensure();if(i.capture(e,o),t){if(null!==yr){e.updated??=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=new Error,r=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(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!==yr&&(e.set_during_effect=!0)}if(2&e.f){const t=e;2048&e.f&&rt(t),Le(t)}e.wv=Or(),mt(e,w),null!==yr&&1024&yr.f&&!(96&yr.f)&&(null===Sr?function(e){Sr=e}([e]):Sr.push(e)),!i.is_fork&&nt.size>0&&!lt&>()}return r}function gt(){lt=!1;for(const e of nt)1024&e.f&&Ce(e,y),Ir(e)&&Nr(e);nt.clear()}function ft(e){ht(e,e.v+1)}function mt(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)nt.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),mt(c,y))}else l&&(16&a&&null!==De&&De.add(s),Ve(s))}}}var vt=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function bt(e){if("object"!=typeof e||null===e||$ in e)return e;const o=u(e);if(o!==c&&o!==d)return e;var i=new Map,n=r(e),s=dt(0),l=Tr,h=e=>{if(Tr===l)return e();var t=vr,r=Tr;wr(null),Er(l);var o=e();return wr(t),Er(r),o};n&&(i.set("length",dt(e.length)),t&&(e=new Proxy(e,{get(e,t,r){var o=Reflect.get(e,t,r);return St.has(t)?function(...e){lt=!0;var t=o.apply(this,e);return gt(),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,wt(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=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=dt(o.value);return i.set(r,e),t&&"string"==typeof r&&ee(e,wt(p,r)),e}):ht(n,o.value,!0),!0},deleteProperty(e,r){var o=i.get(r);if(void 0===o){if(r in e){const e=h(()=>dt(j));i.set(r,e),ft(s),t&&ee(e,wt(p,r))}}else ht(o,j),ft(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=dt(bt(l?r[o]:j));return t&&ee(e,wt(p,o)),e}),i.set(o,s)),void 0!==s){var c=Dr(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=Dr(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!==yr&&(!n||a(e,r)?.writable))&&(void 0===o&&(o=h(()=>{var o=dt(n?bt(e[r]):j);return t&&ee(o,wt(p,r)),o}),i.set(r,o)),Dr(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?ht(g,j):u in e&&(g=h(()=>dt(j)),i.set(u+"",g),t&&ee(g,wt(p,u)))}void 0===c?d&&!a(e,r)?.writable||(c=h(()=>dt(void 0)),t&&ee(c,wt(p,r)),ht(c,bt(o)),i.set(r,c)):(d=c.v!==j,ht(c,h(()=>bt(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&&ht(m,v+1)}ft(s)}return!0},ownKeys(e){Dr(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=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 wt(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:vt.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function yt(e){try{if(null!==e&&"object"==typeof e&&$ in e)return e[$]}catch{}return e}function xt(e,t){return Object.is(yt(e),yt(t))}var kt,Ct,Lt,Mt,St=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function $t(){if(void 0===kt){kt=window,document,Ct=/Firefox/.test(navigator.userAgent);var e=Element.prototype,r=Node.prototype,o=Text.prototype;Lt=a(r,"firstChild").get,Mt=a(r,"nextSibling").get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(o)&&(o.__t=void 0),t&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:r,lastIndexOf:o,includes:i}=e;e.indexOf=function(e,t){const o=r.call(this,e,t);if(-1===o)for(let r=t??0;r<this.length;r+=1)if(yt(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(yt(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(yt(this[o])===e){W();break}return r},Array.__svelte_cleanup=()=>{e.indexOf=r,e.lastIndexOf=o,e.includes=i}}())}}function _t(e=""){return document.createTextNode(e)}function Tt(e){return Lt.call(e)}function Et(e){return Mt.call(e)}function Ot(e,t){if(!V)return Tt(e);var r=Tt(R);if(null===r)r=R.appendChild(_t());else if(t&&3!==r.nodeType){var o=_t();return r?.before(o),U(o),o}return t&&Nt(r),U(r),r}function It(e,t=!1){if(!V){var r=Tt(e);return r instanceof Comment&&""===r.data?Et(r):r}if(t){if(3!==R?.nodeType){var o=_t();return R?.before(o),U(o),o}Nt(R)}return R}function At(e,t=1,r=!1){let o=V?R:e;for(var i;t--;)i=o,o=Et(o);if(!V)return o;if(r){if(3!==o?.nodeType){var n=_t();return null===o?i?.after(n):o.before(n),U(n),n}Nt(o)}return U(o),o}function zt(e){e.textContent=""}function Pt(){return!!Q&&null===De&&0!==(yr.f&k)}function Ft(e,t,r){let o=r?{is:r}:void 0;return document.createElementNS(t??"http://www.w3.org/1999/xhtml",e,o)}function Nt(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 jt(e,t){if(t){const t=document.body;e.autofocus=!0,me(()=>{document.activeElement===t&&e.focus()})}}var Dt=!1;function Ht(){Dt||(Dt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Wt(e){var t=vr,r=yr;wr(null),xr(null);try{return e()}finally{wr(t),xr(r)}}function Rt(e,t,r,o=r){e.addEventListener(t,()=>Wt(r));const i=e.__on_r;e.__on_r=i?()=>{i(),o(!0)}:()=>o(!0),Ht()}function Vt(e){null===yr&&(null===vr&&function(e){if(t){const t=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=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")}()),fr&&function(e){if(t){const t=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 Bt(e,r,o){var i=yr;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{Nr(n)}catch(s){throw nr(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!==vr&&2&vr.f&&!(64&e))){var a=vr;(a.effects??=[]).push(s)}return n}function Ut(){return null!==vr&&!br}function Zt(e){const t=Bt(8,null,!1);return Ce(t,b),t.teardown=e,t}function qt(e){Vt("$effect"),t&&s(e,"name",{value:"$effect"});var r=yr.f;if(vr||!(32&r)||32768&r)return Kt(e);var o=oe;(o.e??=[]).push(e)}function Kt(e){return Bt(1048580,e,!1)}function Gt(e){return Vt("$effect.pre"),t&&s(e,"name",{value:"$effect.pre"}),Bt(1048584,e,!0)}function Xt(e){Pe.ensure();const t=Bt(524352,e,!0);return()=>{nr(t)}}function Yt(e){return Bt(4,e,!1)}function Jt(e,t=0){return Bt(8|t,e,!0)}function Qt(e,t=[],r=[],o=[]){qe(o,t,r,t=>{Bt(8,()=>e(...t.map(Dr)),!0)})}function er(e,r=0){var o=Bt(16|r,e,!0);return t&&(o.dev_stack=ne),o}function tr(e,r=0){var o=Bt(16777216|r,e,!0);return t&&(o.dev_stack=ne),o}function rr(e){return Bt(524320,e,!0)}function or(e){var t=e.teardown;if(null!==t){const e=fr,r=vr;mr(!0),wr(null);try{t.call(null)}finally{mr(e),wr(r)}}}function ir(e,t=!1){var r=e.first;for(e.first=e.last=null;null!==r;){const e=r.ac;null!==e&&Wt(()=>{e.abort(O)});var o=r.next;64&r.f?r.parent=null:nr(r,t),r=o}}function nr(e,r=!0){var o=!1;(r||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(sr(e.nodes.start,e.nodes.end),o=!0),ir(e,r&&!o),Fr(e,0),Ce(e,16384);var i=e.nodes&&e.nodes.t;if(null!==i)for(const t of i)t.stop();or(e);var n=e.parent;null!==n&&null!==n.first&&ar(e),t&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function sr(e,t){for(;null!==e;){var r=e===t?null:Et(e);e.remove(),e=r}}function ar(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 lr(e,t,r=!0){var o=[];cr(e,o,!0);var i=()=>{r&&nr(e),t&&t()},n=o.length;if(n>0){var s=()=>--n||i();for(var a of o)a.out(s)}else i()}function cr(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;cr(i,t,!!(65536&i.f||32&i.f&&16&e.f)&&r),i=n}}}function dr(e){ur(e,!0)}function ur(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;ur(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 hr(e,t){if(e.nodes)for(var r=e.nodes.start,o=e.nodes.end;null!==r;){var i=r===o?null:Et(r);t.append(r),r=i}}var pr=null,gr=!1,fr=!1;function mr(e){fr=e}var vr=null,br=!1;function wr(e){vr=e}var yr=null;function xr(e){yr=e}var kr=null;function Cr(e){null!==vr&&(!Q||2&vr.f)&&(null===kr?kr=[e]:kr.push(e))}var Lr=null,Mr=0,Sr=null,$r=1,_r=0,Tr=_r;function Er(e){Tr=e}function Or(){return++$r}function Ir(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(Ir(n)&&ot(n),n.wv>e.wv)return!0}512&t&&null===Ee&&Ce(e,b)}return!1}function Ar(e,t,r=!0){var o=e.reactions;if(null!==o&&(Q||null===kr||!i.call(kr,e)))for(var n=0;n<o.length;n++){var s=o[n];2&s.f?Ar(s,t,!1):t===s&&(r?Ce(s,w):1024&s.f&&Ce(s,y),Ve(s))}}function zr(e){var t=Lr,r=Mr,o=Sr,i=vr,n=kr,s=oe,a=br,l=Tr,c=e.f;Lr=null,Mr=0,Sr=null,vr=96&c?null:e,kr=null,ie(e.ctx),br=!1,Tr=++_r,null!==e.ac&&(Wt(()=>{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!==Lr){var p;if(h||Fr(e,Mr),null!==u&&Mr>0)for(u.length=Mr+Lr.length,p=0;p<Lr.length;p++)u[Mr+p]=Lr[p];else e.deps=u=Lr;if(Ut()&&512&e.f)for(p=Mr;p<u.length;p++)(u[p].reactions??=[]).push(e)}else!h&&null!==u&&Mr<u.length&&(Fr(e,Mr),u.length=Mr);if(!(null===Sr||br||null===u||6146&e.f))for(p=0;p<Sr.length;p++)Ar(Sr[p],e);if(null!==i&&i!==e){if(_r++,null!==i.deps)for(let e=0;e<r;e+=1)i.deps[e].rv=_r;if(null!==t)for(const e of t)e.rv=_r;null!==Sr&&(null===o?o=Sr:o.push(...Sr))}return 8388608&e.f&&(e.f^=S),d}catch(g){return we(g)}finally{e.f^=M,Lr=t,Mr=r,Sr=o,vr=i,kr=n,ie(s),br=a,Tr=l}}function Pr(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===Lr||!i.call(Lr,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,Fr(t,0),ir(t))}(a),Fr(a,0)}}function Fr(e,t){var r=e.deps;if(null!==r)for(var o=t;o<r.length;o++)Pr(e,r[o])}function Nr(e){var r=e.f;if(!(16384&r)){Ce(e,b);var o=yr,i=gr;if(yr=e,gr=!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||nr(t),t=r}}(e):ir(e),or(e);var a=zr(e);e.teardown="function"==typeof a?a:null,e.wv=$r}finally{gr=i,yr=o,t&&(le(n),se(s))}}}async function jr(){if(Q)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Fe()}function Dr(e){var r=!!(2&e.f);if(pr?.add(e),null!==vr&&!br&&!(null!==yr&&16384&yr.f||null!==kr&&i.call(kr,e))){var o=vr.deps;if(2097152&vr.f)e.rv<_r&&(e.rv=_r,null===Lr&&null!==o&&o[Mr]===e?Mr++:null===Lr?Lr=[e]:Lr.push(e));else{(vr.deps??=[]).push(e);var n=e.reactions;null===n?e.reactions=[vr]:i.call(n,vr)||n.push(vr)}}if(t&&Xe.delete(e),fr&&st.has(e))return st.get(e);if(r){var s=e;if(fr){var a=s.v;return(1024&s.f||null===s.reactions)&&!Wr(s)||(a=rt(s)),st.set(s,a),a}var l=!(512&s.f)&&!br&&null!==vr&&(gr||!!(512&vr.f)),c=0===(s.f&k);Ir(s)&&(l&&(s.f|=512),ot(s)),l&&!c&&(it(s),Hr(s))}if(Ee?.has(e))return Ee.get(e);if(8388608&e.f)throw e.v;return e.v}function Hr(e){if(e.f|=512,null!==e.deps)for(const t of e.deps)(t.reactions??=[]).push(e),2&t.f&&!(512&t.f)&&(it(t),Hr(t))}function Wr(e){if(e.v===j)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(st.has(t))return!0;if(2&t.f&&Wr(t))return!0}return!1}function Rr(e){var t=br;try{return br=!0,e()}finally{br=t}}function Vr(){return Symbol("@attach")}var Br=/\r/g;function Ur(e){return e.endsWith("capture")&&"gotpointercapture"!==e&&"lostpointercapture"!==e}var Zr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function qr(e){return Zr.includes(e)}var Kr={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 Gr(e){return e=e.toLowerCase(),Kr[e]??e}var Xr=["touchstart","touchmove"];function Yr(e){return Xr.includes(e)}var Jr=["textarea","script","style","title"],Qr=Symbol("events"),eo=new Set,to=new Set;function ro(e,t,r,o={}){function i(e){if(o.capture||ao.call(t,e),!e.cancelBubble)return Wt(()=>r?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?me(()=>{t.addEventListener(e,i,o)}):t.addEventListener(e,i,o),i}function oo(e,t,r,o={}){var i=ro(t,e,r,o);return()=>{e.removeEventListener(t,i,o)}}function io(e,t,r,o,i){var n={capture:o,passive:i},s=ro(e,t,r,n);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Zt(()=>{t.removeEventListener(e,s,n)})}function no(e,t,r){(t[Qr]??={})[e]=r}function so(e){for(var t=0;t<e.length;t++)eo.add(e[t]);for(var r of to)r(e)}function ao(e){var t=this,r=t.ownerDocument,o=e.type,i=e.composedPath?.()||[],n=i[0]||e.target,a=0,l=e==e&&e[Qr];if(l){var c=i.indexOf(l);if(-1!==c&&(t===document||t===window))return void(e[Qr]=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=vr,h=yr;wr(null),xr(null);try{for(var p,g=[];null!==n;){var f=n.assignedSlot||n.parentNode||n.host||null;try{var m=n[Qr]?.[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[Qr]=t,delete e.currentTarget,wr(u),xr(h)}}}var lo=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function co(e){var t=Ft("template");return t.innerHTML=function(e){return lo?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function uo(e,t){var r=yr;null===r.nodes&&(r.nodes={start:e,end:t,a:null,t:null})}function ho(e,t){var r,o=!!(1&t),i=!!(2&t),n=!e.startsWith("<!>");return()=>{if(V)return uo(R,null),R;void 0===r&&(r=co(n?e:"<!>"+e),o||(r=Tt(r)));var t=i||Ct?document.importNode(r,!0):r.cloneNode(!0);return o?uo(Tt(t),t.lastChild):uo(t,t),t}}function po(e,t){return function(e,t,r="svg"){var o,i=!e.startsWith("<!>"),n=!!(1&t),s=`<${r}>${i?e:"<!>"+e}</${r}>`;return()=>{if(V)return uo(R,null),R;if(!o){var e=Tt(co(s));if(n)for(o=document.createDocumentFragment();Tt(e);)o.appendChild(Tt(e));else o=Tt(e)}var t=o.cloneNode(!0);return n?uo(Tt(t),t.lastChild):uo(t,t),t}}(e,t,"svg")}function go(e=""){if(!V){var t=_t(e+"");return uo(t,t),t}var r=R;return 3!==r.nodeType?(r.before(r=_t()),U(r)):Nt(r),uo(r,r),r}function fo(){if(V)return uo(R,null),R;var e=document.createDocumentFragment(),t=document.createComment(""),r=_t();return e.append(t,r),uo(t,r),e}function mo(e,t){if(V){var r=yr;return 32768&r.f&&null!==r.nodes.end||(r.nodes.end=R),void Z()}null!==e&&e.before(t)}function vo(){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 bo=!0;function wo(e){bo=e}function yo(e,t){var r=null==t?"":"object"==typeof t?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function xo(e,t){return Co(e,t)}var ko=new Map;function Co(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=Bt(524352,()=>{var d=r??t.appendChild(_t());u=d,h=t=>{if(ue({}),s&&(oe.c=s),i&&(o.$$events=i),V&&uo(t,null),bo=a,c=e(t,o)||{},bo=!0,V&&(yr.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=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=Yr(o);for(const e of[t,document]){var n=ko.get(e);void 0===n&&(n=new Map,ko.set(e,n));var s=n.get(o);void 0===s?(e.addEventListener(o,ao,{passive:i}),n.set(o,1)):n.set(o,s+1)}}}};return f(n(eo)),to.add(f),()=>{for(var e of g)for(const r of[t,document]){var o=ko.get(r),i=o.get(e);0==--i?(r.removeEventListener(e,ao),o.delete(e),0===o.size&&ko.delete(r)):o.set(e,i)}to.delete(f),d!==r&&d.parentNode?.removeChild(d)}},!0);return(e={})=>new Promise(t=>{e.outro?lr(d,()=>{nr(d),t(void 0)}):(nr(d),t(void 0))})}();return Lo.set(c,d),c}var Lo=new WeakMap;function Mo(e,t){const r=Lo.get(e);return r?(Lo.delete(e),r(t)):Promise.resolve()}var So=class{anchor;#z=new Map;#P=new Map;#F=new Map;#N=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)dr(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&&(nr(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();hr(o,t),t.append(_t()),this.#F.set(e,{effect:o,fragment:t})}else nr(o);this.#N.delete(e),this.#P.delete(e)};this.#j||!r?(this.#N.add(e),lr(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)||(nr(o.effect),this.#F.delete(r))};ensure(e,t){var r=_e,o=Pt();if(t&&!this.#P.has(e)&&!this.#F.has(e))if(o){var i=document.createDocumentFragment(),n=_t();i.append(n),this.#F.set(e,{effect:rr(()=>t(n)),fragment:i})}else this.#P.set(e,rr(()=>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 $o(e,t,r=!1){var o;V&&(o=R,Z());var i=new So(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)}er(()=>{var e=!1;t((t,r=0)=>{e=!0,n(r,t)}),e||n(!1,null)},r?C:0)}var _o,To=Symbol("NaN");function Eo(e,t,r){V&&Z();var o=new So(e);er(()=>{var e=t();e!=e&&(e=To),o.ensure(e,r)})}function Oo(e,t){return t}function Io(e,t=!0){for(var r=0;r<e.length;r++)nr(e[r],t)}function Ao(e,o,i,s,a,l=null){var c=e,d=new Map;if(4&o){var u=e;c=V?U(Tt(u)):u.appendChild(_t())}V&&Z();var h,p=null,g=Qe(()=>{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=zo(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??=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),No(e,f,c),No(e,c,b),Fo(c,b,r),m=[],v=[],g=zo((f=c).next);continue}Fo(c,null,r)}if(8192&c.f&&(dr(c),u&&(c.nodes?.a?.unfix(),(a??=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)Fo(m[w],y,r);for(w=0;w<v.length;w+=1)s.delete(v[w]);No(e,x.prev,k.next),No(e,f,x),No(e,k,y),g=y,f=k,d-=1,m=[],v=[]}else s.delete(c),Fo(c,g,r),No(e,c.prev,c.next),No(e,c,null===f?e.effect.first:f.next),No(e,f,c),f=c;continue}for(m=[],v=[];null!==g&&g!==c;)(s??=new Set).add(g),v.push(g),g=zo(g.next);if(null===g)continue}33554432&c.f||m.push(c),f=c,g=zo(c.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Io(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=zo(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];lr(r,()=>{if(o){if(o.pending.delete(r),o.done.add(r),0===o.pending.size){var t=e.outrogroups;Io(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;zt(d),d.append(c),e.items.clear()}Io(t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=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,Fo(p,null,c)):dr(p):lr(p,()=>{p=null}))}var v={effect:er(()=>{var e=(h=Dr(g)).length;let r=!1;V&&"[!"===X(c)!=(0===e)&&(U(c=G()),B(!1),r=!0);for(var n=new Set,u=_e,v=Pt(),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&&pt(k.v,w),k.i&&pt(k.i,b),v&&u.unskip_effect(k.e)):(k=Po(d,f?c:_o??=_t(),w,y,b,a,o,i),f||(k.e.f|=L),d.set(y,k)),n.add(y)}if(0===e&&l&&!p&&(f?p=rr(()=>l(c)):(p=rr(()=>l(_o??=_t()))).f|=L),e>n.size&&(t?function(e,t){const r=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),Dr(g)}),flags:o,items:d,outrogroups:null,fallback:p};f=!1,V&&(c=R)}function zo(e){for(;null!==e&&!(32&e.f);)e=e.next;return e}function Po(e,r,o,i,n,s,a,l){var c=1&a?16&a?ct(o):ut(o,!1,!1):null,d=2&a?ct(n):null;return t&&c&&(c.trace=()=>{l()[d?.v??n]}),{v:c,i:d,e:rr(()=>(s(r,c??o,d??n,l),()=>{e.delete(i)}))}}function Fo(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=Et(o);if(n.before(o),o===i)return;o=s}}function No(e,t,r){null===t?e.effect.first=r:t.next=r,null===r?e.effect.last=t:r.prev=t}function jo(e,r,o=!1,i=!1,n=!1){var s=e,a="";Qt(()=>{var e=yr;if(a!==(a=r()??"")){if(null!==e.nodes&&(sr(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=Et(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(Br,"")).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),uo(R,d),void(s=U(c))}var u=Ft(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(uo(Tt(h),h.lastChild),o||i)for(;Tt(h);)s.before(Tt(h));else s.before(h)}}else V&&Z()})}function Do(e,r,...o){var i=new So(e);er(()=>{const e=r()??null;t&&null==e&&function(){if(t){const e=new Error("invalid_snippet\nCould not `{@render}` snippet due to the expression being `null` or `undefined`. Consider using optional chaining `{@render snippet?.()}`\nhttps://svelte.dev/e/invalid_snippet");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/invalid_snippet")}(),i.ensure(e,e&&(t=>e(t,...o)))},C)}function Ho(e,t,r){var o;V&&(o=R,Z());var i=new So(e);er(()=>{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 Wo={tick:e=>requestAnimationFrame(e),now:()=>performance.now(),tasks:new Set};function Ro(){const e=Wo.now();Wo.tasks.forEach(t=>{t.c(e)||(Wo.tasks.delete(t),t.f())}),0!==Wo.tasks.size&&Wo.tick(Ro)}function Vo(e){let t;return 0===Wo.tasks.size&&Wo.tick(Ro),{promise:new Promise(r=>{Wo.tasks.add(t={c:e,f:r})}),abort(){Wo.tasks.delete(t)}}}function Bo(e,t){Wt(()=>{e.dispatchEvent(new CustomEvent(t))})}function Uo(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 Zo(e){const t={},r=e.split(";");for(const o of r){const[e,r]=o.split(":");if(!e||void 0===r)break;t[Uo(e.trim())]=r.trim()}return t}var qo=e=>e,Ko=null;function Go(e){Ko=e}function Xo(e,t,r,o){var i,n,s,a=!!(1&e),l=!!(2&e),c=!!(4&e),d=a&&l?"both":a?"in":"out",u=t.inert,h=t.style.overflow;function p(){return Wt(()=>i??=r()(t,o?.()??{},{direction:d}))}var g={is_global:c,in(){if(t.inert=u,!a)return s?.abort(),void s?.reset?.();l||n?.abort(),n=Yo(t,p(),s,1,()=>{Bo(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=Yo(t,p(),n,0,()=>{Bo(t,"outroend"),e?.()})},stop:()=>{n?.abort(),s?.abort()}},f=yr;if((f.nodes.t??=[]).push(g),a&&bo){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&&Yt(()=>{Rr(()=>g.in())})}}function Yo(e,t,r,o,i){var n=1===o;if(p(t)){var s,a=!1;return me(()=>{a||(s=Yo(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 Bo(e,n?"introstart":"outrostart"),i(),{abort:g,deactivate:g,reset:g,t:()=>o};const{delay:l=0,css:c,tick:d,easing:u=qo}=t;var h=[];if(n&&void 0===r&&(d&&d(0,1),c)){var f=Zo(c(0,1));h.push(f,f)}var m=()=>1-o,v=e.animate(h,{duration:l,fill:"forwards"});return v.onfinish=()=>{v.cancel(),Bo(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=Zo(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&&Vo(()=>{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 Jo(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=yr,h=new So(d,!1);er(()=>{const e=r()||null;var a=n?n():o||"svg"===e?H:void 0;return null===e?(h.ensure(null,null),void wo(!0)):(h.ensure(e,r=>{if(e){if(c=V?c:Ft(e,a),t&&s&&(c.__svelte_meta={parent:ne,loc:{file:l,line:s[0],column:s[1]}}),uo(c,c),i){V&&(n=e,Jr.includes(n))&&c.append(document.createComment(""));var o=V?Tt(c):c.appendChild(_t());V&&(null===o?B(!1):U(o)),Go(u),i(c,o),Go(null)}yr.nodes.end=c,r.before(c)}var n;V&&U(r)}),wo(!0),()=>{e&&wo(!1)})},C),Zt(()=>{wo(!0)}),a&&(B(!0),U(d))}function Qo(e,t){var r,o=void 0;tr(()=>{o!==(o=t())&&(r&&(nr(r),r=null),o&&(r=rr(()=>{Yt(()=>o(e))})))})}function ei(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=ei(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ti(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=ei(e))&&(o&&(o+=" "),o+=t);return o}function ri(e){return"object"==typeof e?ti(e):e??""}var oi=[..." \t\n\r\f \v\ufeff"];function ii(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 ni(e){return"-"!==e[0]||"-"!==e[1]?e.toLowerCase():e}function si(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&&!oi.includes(o[s-1])||a!==o.length&&!oi.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 ai(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 li(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(ni)),o&&l.push(...Object.keys(o).map(ni));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=ni(e.substring(c,d).trim());l.includes(p)||(";"!==h&&u++,i+=" "+e.substring(c,u).trim()+";")}c=u+1,d=-1}}}return r&&(i+=ii(r)),o&&(i+=ii(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)?(ai(e,r?.[0],o[0]),ai(e,r?.[1],o[1],"important")):ai(e,r,o));return o}function ci(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(di(i))}else{for(i of e.options)if(xt(di(i),t))return void(i.selected=!0);o&&void 0===t||(e.selectedIndex=-1)}}function di(e){return"__value"in e?e.__value:e.value}var ui=Symbol("class"),hi=Symbol("style"),pi=Symbol("is custom element"),gi=Symbol("is html"),fi=I?"link":"LINK",mi=I?"input":"INPUT",vi=I?"option":"OPTION",bi=I?"select":"SELECT";function wi(e){if(V){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;xi(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var o=e.checked;xi(e,"checked",null),e.checked=o}}};e.__on_r=r,me(r),Ht()}}function yi(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function xi(e,r,o,i){var n=Ci(e);V&&(n[r]=e.getAttribute(r),"src"===r||"srcset"===r||"href"===r&&e.nodeName===fi)?i||function(e,r,o){t&&("srcset"===r&&function(e,t){var r=$i(e.srcset),o=$i(t);return o.length===r.length&&o.every(([e,t],o)=>t===r[o][1]&&(Si(r[o][0],e)||Si(e,r[o][0])))}(e,o)||Si(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&&Mi(e).includes(r)?e[r]=o:e.setAttribute(r,o))}function ki(e,t,r=[],o=[],i=[],n,s=!1,a=!1){qe(i,r,o,r=>{var o=void 0,i={},l=e.nodeName===bi,c=!1;if(tr(()=>{var d=t(...r.map(Dr)),u=function(e,t,r,o,i=!1,n=!1){if(V&&i&&e.nodeName===mi){var s=e;("checkbox"===s.type?"defaultChecked":"defaultValue")in r||wi(s)}var a=Ci(e),l=a[pi],c=!a[gi];let d=V&&l;d&&B(!1);var u=t||{},h=e.nodeName===vi;for(var p in t)p in r||(r[p]=null);r.class?r.class=ri(r.class):(o||r[ui])&&(r.class=null),r[hi]&&(r.style??=null);var g=Mi(e);for(const x in r){let k=r[x];if(h&&"value"===x&&null==k)e.value=e.__value="",u[x]=k;else if("class"!==x)if("style"!==x){var f=u[x];if(k!==f||void 0===k&&e.hasAttribute(x)){u[x]=k;var m=x[0]+x[1];if("$$"!==m)if("on"===m){const C={},L="$$"+x;let M=x.slice(2);var v=qr(M);if(Ur(M)&&(M=M.slice(0,-7),C.capture=!0),!v&&f){if(null!=k)continue;e.removeEventListener(M,u[L],C),u[L]=null}if(v)no(M,e,k),so([M]);else if(null!=k){function b(e){u[x].call(this,e)}u[L]=ro(M,e,b,C)}}else if("style"===x)xi(e,x,k);else if("autofocus"===x)jt(e,Boolean(k));else if(l||"__value"!==x&&("value"!==x||null==k))if("selected"===x&&h)yi(e,k);else{var w=x;c||(w=Gr(w));var y="defaultValue"===w||"defaultChecked"===w;if(null!=k||l||y)y||g.includes(w)&&(l||"string"!=typeof k)?(e[w]=k,w in a&&(a[w]=j)):"function"!=typeof k&&xi(e,w,k,n);else if(a[x]=null,"value"===w||"checked"===w){let S=e;const $=void 0===t;if("value"===w){let _=S.defaultValue;S.removeAttribute(w),S.defaultValue=_,S.value=S.__value=$?_:null}else{let T=S.defaultChecked;S.removeAttribute(w),S.defaultChecked=T,S.checked=!!$&&T}}else e.removeAttribute(x)}else e.value=e.__value=k}}else li(e,k,t?.[hi],r[hi]),u[x]=k,u[hi]=r[hi];else si(e,"http://www.w3.org/1999/xhtml"===e.namespaceURI,k,o,t?.[ui],r[ui]),u[x]=k,u[ui]=r[ui]}return d&&B(!0),u}(e,o,d,n,s,a);c&&l&&"value"in d&&ci(e,d.value);for(let e of Object.getOwnPropertySymbols(i))d[e]||nr(i[e]);for(let t of Object.getOwnPropertySymbols(d)){var h=d[t];"@attach"!==t.description||o&&h===o[t]||(i[t]&&nr(i[t]),i[t]=rr(()=>Qo(e,()=>h))),u[t]=h}o=u}),l){var d=e;Yt(()=>{ci(d,o.value,!0),function(e){var t=new MutationObserver(()=>{ci(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Zt(()=>{t.disconnect()})}(d)})}c=!0})}function Ci(e){return e.__attributes??={[pi]:e.nodeName.includes("-"),[gi]:"http://www.w3.org/1999/xhtml"===e.namespaceURI}}var Li=new Map;function Mi(e){var t,r=e.getAttribute("is")||e.nodeName,o=Li.get(r);if(o)return o;Li.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 Si(e,t){return e===t||new URL(e,document.baseURI).href===new URL(t,document.baseURI).href}function $i(e){return e.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function _i(e,r,o=r){var i=new WeakSet;Rt(e,"input",async n=>{t&&"checkbox"===e.type&&z();var s=n?e.defaultValue:e.value;if(s=Ei(e)?Oi(s):s,o(s),null!==_e&&i.add(_e),await jr(),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==Rr(r)&&e.value)&&(o(Ei(e)?Oi(e.value):e.value),null!==_e&&i.add(_e)),Jt(()=>{t&&"checkbox"===e.type&&z();var o=r();if(e===document.activeElement){var n=Te??_e;if(i.has(n))return}Ei(e)&&o===Oi(e.value)||("date"!==e.type||o||e.value)&&o!==e.value&&(e.value=o??"")})}function Ti(e,t,r=t){Rt(e,"change",t=>{r(t?e.defaultChecked:e.checked)}),(V&&e.defaultChecked!==e.checked||null==Rr(t))&&r(e.checked),Jt(()=>{var r=t();e.checked=Boolean(r)})}function Ei(e){var t=e.type;return"number"===t||"range"===t}function Oi(e){return""===e?null:+e}var Ii=class e{#H=new WeakMap;#W;#R;static entries=new WeakMap;constructor(e){this.#R=e}observe(e,t){var r=this.#H.get(e)||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)}))}},Ai=new Ii({box:"border-box"});function zi(e,t,r){var o=Ai.observe(e,()=>r(e[t]));Yt(()=>(Rr(()=>r(e[t])),o))}function Pi(e,t){return e===t||e?.[$]===t}function Fi(e={},t,r,o){return Yt(()=>{var i,n;return Jt(()=>{i=n,n=o?.()||[],Rr(()=>{e!==r(...n)&&(t(e,...n),i&&Pi(r(...i),e)&&t(null,...i))})}),()=>{me(()=>{n&&Pi(r(...n),e)&&t(null,...n)})}}),e}var Ni=!1,ji={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set:(e,r)=>(t&&function(e){if(t){const t=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 Di(e,r,o){return new Proxy(t?{props:e,exclude:r,name:o,other:{},to_proxy:[]}:{props:e,exclude:r},ji)}var Hi={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 Wi(...e){return new Proxy({props:e},Hi)}function Ri(e,r,o,i){var n,s,l=!!(8&o),c=!!(16&o),d=i,u=!0,h=()=>(u&&(u=!1,d=c?Rr(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=Ni;try{return Ni=!1,[e[r],Ni]}finally{Ni=t}}():s=e[r],void 0===s&&void 0!==i&&(s=h(),n&&(function(e){if(t){const t=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:Qe)(()=>(v=!1,g()));t&&(b.label=r),l&&Dr(b);var w=yr;return function(e,t){if(arguments.length>0){const r=t?Dr(b):l?bt(e):e;return ht(b,r),v=!0,void 0!==d&&(d=r),e}return fr&&v||16384&w.f?b.v:Dr(b)}}if("function"==typeof HTMLElement&&HTMLElement,t){function Vi(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=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}})}}Vi("$state"),Vi("$effect"),Vi("$derived"),Vi("$inspect"),Vi("$props"),Vi("$bindable")}function Bi(e){null===oe&&A("onMount"),qt(()=>{const t=Rr(e);if("function"==typeof t)return t})}"undefined"!=typeof window&&((window.__svelte??={}).v??=new Set).add("5"),Q=!0;var Ui=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}}},Zi=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function qi(e,t,r){const o=Object.assign({},r||{}),i=o.encode||Gi;if(!Zi.test(e))throw new TypeError("argument name is invalid");const n=i(t);if(n&&!Zi.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(!Zi.test(o.domain))throw new TypeError("option domain is invalid");s+="; Domain="+o.domain}if(o.path){if(!Zi.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 Ki(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Gi(e){return encodeURIComponent(e)}var Xi,Yi="undefined"!=typeof navigator&&"ReactNative"===navigator.product||"undefined"!=typeof global&&global.HermesInternal;function Ji(e){if(e)try{const t=decodeURIComponent(Xi(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 Qi(e,t=0){let r=Ji(e);return!(Object.keys(r).length>0&&(!r.exp||r.exp-t>Date.now()/1e3))}Xi="function"!=typeof atob||Yi?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 en="pb_auth",tn=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!Qi(this.token)}get isSuperuser(){let e=Ji(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"==Ji(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=en){const r=function(e){const t={};if("string"!=typeof e)return t;const r=Object.assign({},{}).decode||Ki;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=en){const r={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},o=Ji(this.token);r.expires=o?.exp?new Date(1e3*o.exp):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=qi(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=qi(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)}},rn=class extends tn{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)})}},on=class{constructor(e){this.client=e}},nn=class extends on{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)}},sn=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function an(e){if(e){e.query=e.query||{};for(let t in e)sn.includes(t)||(e.query[t]=e[t],delete e[t])}}function ln(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=cn(e),null!==e&&t.push(o+"="+e)}return t.join("&")}function cn(e){return null==e?null:e instanceof Date?encodeURIComponent(e.toISOString().replace("T"," ")):"object"==typeof e?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)}var dn=class extends on{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){an(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(new Error("EventSource connect took too long."))},this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=e=>{this.connectErrorHandler(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 Ui(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=[]}}},un=class extends on{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 Ui({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 Ui({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 hn(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 pn(e){e._resetAutoRefresh?.()}var gn=class extends un{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||pn(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){pn(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)&&pn(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&&Qi(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=hn(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=fn(void 0));const o=new dn(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 Ui(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 Ui({isAbort:!0,message:"manually cancelled"}))}),o.onDisconnect=e=>{e.length&&l&&(i(),l(new Ui(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 Ui(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=fn(e)})(d)}catch(e){c?.signal?.onabort&&(c.signal.onabort=null),i(),l(new Ui(e))}})}).catch(e=>{throw i(),e})}async authRefresh(e,t){let r={method:"POST"};return r=hn(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=hn(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=hn(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=hn(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=hn(0,o,t,r),this.client.send(this.baseCollectionPath+"/confirm-verification",o).then(()=>{const t=Ji(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=hn(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=hn(0,i,r,o),this.client.send(this.baseCollectionPath+"/confirm-email-change",i).then(()=>{const t=Ji(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 Tn(this.client.baseURL,new tn,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 fn(e){if("undefined"==typeof window||!window?.open)throw new Ui(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 mn=class extends un{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)}},vn=class extends on{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 Ui({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)}},bn=class extends on{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}},wn=class extends on{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=ln(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||"")}},yn=class extends on{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)}`)}},xn=class extends on{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 kn(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 Cn(e){return e&&("FormData"===e.constructor?.name||"undefined"!=typeof FormData&&e instanceof FormData)}function Ln(e){for(const t in e){const r=Array.isArray(e[t])?e[t]:[e[t]];for(const e of r)if(kn(e))return!0}return!1}var Mn=/^[\-\.\d]+$/;function Sn(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")&&Mn.test(e)){let t=+e;if(""+t===e)return t}return e}var $n=class extends on{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new _n(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)}},_n=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(an(t),e.headers=t.headers,e.json={},e.files={},void 0!==t.query){const r=ln(t.query);r&&(e.url+=(e.url.includes("?")?"&":"?")+r)}let r=t.body;Cn(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(Sn(e))):t[r]=Sn(e)}),t}(r));for(const o in r){const t=r[o];if(kn(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)kn(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}}},Tn=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 tn:this.authStore=new rn,this.collections=new mn(this),this.files=new wn(this),this.logs=new vn(this),this.settings=new nn(this),this.realtime=new dn(this),this.health=new bn(this),this.backups=new yn(this),this.crons=new xn(this)}get admins(){return this.collection("_superusers")}createBatch(){return new $n(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new gn(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=ln(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 Ui({url:e.url,status:e.status,data:r});return r}).catch(e=>{throw new Ui(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||Cn(e)||!Ln(e))return e;const t=new FormData;for(const r in e){const o=e[r];if(void 0!==o)if("object"!=typeof o||Ln({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),an(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")||Cn(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}},En=(new Date).toISOString(),On=new Date(Date.now()-36e5).toISOString(),In=new Date(Date.now()-864e5).toISOString(),An=new Date(Date.now()-1728e5).toISOString(),zn={id:"demo_user_1",collectionId:"_pb_users_auth_",collectionName:"users",created:An,updated:En,email:"john.lock@gmail.com",emailVisibility:!0,firstName:"John",lastName:"Lock",avatar:"https://demo.fubi.dev/avatar1.jpeg",verified:!0,settings:{}},Pn={id:"demo_user_2",collectionId:"_pb_users_auth_",collectionName:"users",created:An,updated:En,email:"sarah@fubi.dev",emailVisibility:!0,firstName:"Sarah",lastName:"Smith",avatar:"https://demo.fubi.dev/avatar3.jpeg",verified:!0,settings:{}},Fn={id:"demo_team",collectionId:"teams_col",collectionName:"teams",created:An,updated:En,name:"Demo Team",slug:"demo-team",admin:zn.id,members:[zn.id,Pn.id],guests:[]},Nn={id:"demo",collectionId:"projects_col",collectionName:"projects",created:An,updated:En,name:"Demo Project",slug:"demo-project",origin:"",expand:{team:{...Fn,expand:{admin:zn,members:[zn,Pn]}}}};function jn(){const e=window.location.origin,t=window.location.pathname,r={id:"demo_folder_1",collectionId:"folders_col",collectionName:"folders",created:An,updated:En,name:"Internal Feedback",description:"Let's test the website",project:"demo",expand:{guests:[],project:{...Nn,expand:{team:{...Fn,expand:{admin:zn,members:[zn,Pn]}}}},folder_notifications_via_folder:[],pages_via_folder:[]}},o={id:"demo_page_1",collectionId:"pages_col",collectionName:"pages",created:An,updated:En,name:"/"===t?"Homepage":document.title||t,pathname:t,folder:"demo_folder_1",createdBy:zn.id},i=[{id:"demo_comment_1",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_2",collectionId:"comments_col",collectionName:"comments",created:In,updated:In,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:zn.id,expand:{createdBy:zn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_3",collectionId:"comments_col",collectionName:"comments",created:An,updated:In,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:zn.id,expand:{createdBy:zn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_4",collectionId:"comments_col",collectionName:"comments",created:An,updated:On,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:On,priority:"",media:[],mentions:[],info:{browser:["Firefox","132.0"],resolution:[1680,1050],meta:!1},createdBy:Pn.id,expand:{createdBy:Pn,mentions:[],thread_notifications_via_comment:[]}},{id:"demo_comment_5",collectionId:"comments_col",collectionName:"comments",created:On,updated:On,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:[zn.id],info:{browser:["Safari","18.2"],resolution:[393,852],meta:!1},createdBy:Pn.id,expand:{createdBy:Pn,mentions:[zn],thread_notifications_via_comment:[]}},{id:"demo_comment_6",collectionId:"comments_col",collectionName:"comments",created:On,updated:On,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:zn.id,expand:{createdBy:zn,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:An,updated:En,service:"app",maintenance:!1,title:"",message:""}],projects:[Nn],teams:[Fn],domains:[{id:"demo_domain_1",collectionId:"domains_col",collectionName:"domains",created:An,updated:En,name:e,project:"demo",origin:e,active:!0,dev:!0,meta:{favicon:null,shareImage:null,touchicon:null}}],folders:[r],pages:[o],comments:i,users:[zn,Pn],logs:[]}}var Dn="fubi_demo_data",Hn=class{record={...zn};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)}},Wn=class{name;store;subscriptions=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(Dn,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(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(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||(new Date).toISOString(),t.updated=(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||zn,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(new Error("Not found"),{status:404});const i={...r[o],...t,updated:(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(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:zn}}async authRefresh(){return{token:"demo_token",record:zn}}};function Rn(e=!0){let t;if(e)try{const e=localStorage.getItem(Dn);t=e?JSON.parse(e):jn()}catch{t=jn()}else t=jn();const r=new Map(Object.entries(t)),o=new Hn,i=new Map;return{collection:function(t){return i.has(t)||i.set(t,new Wn(t,r,e)),i.get(t)},authStore:o,send:async(e,t)=>({})}}var Vn=[];function Bn(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(" ");Vn.push({timestamp:Date.now(),module:e,level:t,message:o}),Vn.length>1e3&&Vn.shift()}function Un(e){return{info:(...t)=>{Bn(e,"info",t)},error:(...t)=>{Bn(e,"error",t)},warn:(...t)=>{Bn(e,"warn",t)},ok:(...t)=>{Bn(e,"ok",t)},table:(e,t)=>{},group:e=>{},groupEnd:()=>{}}}var Zn="undefined"!=typeof window?window:void 0;"undefined"!=typeof window&&window.document,"undefined"!=typeof window&&window.navigator,"undefined"!=typeof window&&window.location;var qn=class extends Map{#B=new Map;#U=dt(0);#Z=dt(0);#q=Tr||-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 Tr===this.#q?dt(e):ct(e)}has(e){var r=this.#B,o=r.get(e);if(void 0===o){if(void 0===super.get(e))return Dr(this.#U),!1;o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Dr(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 Dr(this.#U);o=this.#K(0),t&&ee(o,`SvelteMap get(${re(e)})`),r.set(e,o)}return Dr(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),ht(this.#Z,super.size),ft(a);else if(n!==r){ft(i);var l=null===a.reactions?null:new Set(a.reactions);null!==l&&i.reactions?.every(e=>l.has(e))||ft(a)}return s}delete(e){var t=this.#B,r=t.get(e),o=super.delete(e);return void 0!==r&&(t.delete(e),ht(this.#Z,super.size),ht(r,-1),ft(this.#U)),o}clear(){if(0!==super.size){super.clear();var e=this.#B;for(var t of(ht(this.#Z,0),e.values()))ht(t,-1);ft(this.#U),e.clear()}}#G(){Dr(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)Dr(o)}keys(){return Dr(this.#U),super.keys()}values(){return this.#G(),super.values()}entries(){return this.#G(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return Dr(this.#Z),super.size}};Symbol(),URLSearchParams,Symbol.iterator;function Kn(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=Zn,document:r=t?.document}=e;void 0!==t&&(this.#X=r,this.#Y=Ue(e=>{const r=oo(t,"focusin",e),o=oo(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 Gn=class{#J;#Q=0;#ee=Je(()=>Kn(this.#Q)??0);#te=null;#re=null;#oe=dt(0);#ie=dt(!1);#ne=Zn;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),qt(()=>((t.immediate??1)&&Rr(this.start),this.stop))}#se(e){if(!Dr(this.#ie)||!this.#ne)return;null===this.#te&&(this.#te=e);const t=e-this.#te,r=1e3/t;Dr(this.#ee)&&r>Dr(this.#ee)||(ht(this.#oe,r),this.#te=e,this.#J({delta:t,timestamp:e})),this.#re=this.#ne.requestAnimationFrame(this.#se.bind(this))}start(){this.#ne&&(ht(this.#ie,!0),this.#te=0,this.#re=this.#ne.requestAnimationFrame(this.#se.bind(this)))}stop(){this.#re&&this.#ne&&(ht(this.#ie,!1),this.#ne.cancelAnimationFrame(this.#re),this.#re=null)}toggle(){Dr(this.#ie)?this.stop():this.start()}get fps(){return Dr(this.#ie)?Dr(this.#oe):0}get running(){return Dr(this.#ie)}};function Xn(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":qt(t);break;case"pre":Gt(t)}}(t,()=>{const t=Array.isArray(e)?e.map(e=>e()):e();if(!n)return n=!0,void(s=t);const o=Rr(()=>r(t,s));return s=t,o})}function Yn(e,t,r){Xn(e,"post",t,r)}function Jn(){}function Qn(e,t,r,o){qt(()=>{const i=Kn(e);if(null==i)return;const n=Kn(t);if(!Array.isArray(n))return oo(i,n,r,o);for(const e of n)qt(()=>oo(i,e,r,o))})}function es(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?.(),es(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}Yn.pre=function(e,t,r){Xn(e,"pre",t,r)};var ts,rs=class{#ae;#le;#ce;#de;#Y;#ue;#he=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:Zn;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=oo(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 es(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){}}},os=class{#R;#me=Je(()=>Kn(this.#R.element));get element(){return Dr(this.#me)}set element(e){ht(this.#me,e)}#ve=Je(()=>Kn(this.#R?.idle,200));get idle(){return Dr(this.#ve)}set idle(e){ht(this.#ve,e)}#be=Je(()=>Kn(this.#R.offset,{left:0,right:0,top:0,bottom:0}));get offset(){return Dr(this.#be)}set offset(e){ht(this.#be,e)}#we=Je(()=>this.#R.onScroll??Jn);get onScroll(){return Dr(this.#we)}set onScroll(e){ht(this.#we,e)}#ye=Je(()=>this.#R.onStop??Jn);get onStop(){return Dr(this.#ye)}set onStop(e){ht(this.#ye,e)}#xe=Je(()=>this.#R.eventListenerOptions??{capture:!1,passive:!0});get eventListenerOptions(){return Dr(this.#xe)}set eventListenerOptions(e){ht(this.#xe,e)}#ke=Je(()=>Kn(this.#R.behavior,"auto"));get behavior(){return Dr(this.#ke)}set behavior(e){ht(this.#ke,e)}#Ce=Je(()=>this.#R.onError??(e=>{}));get onError(){return Dr(this.#Ce)}set onError(e){ht(this.#Ce,e)}#Le=dt(0);get internalX(){return Dr(this.#Le)}set internalX(e){ht(this.#Le,e,!0)}#Me=dt(0);get internalY(){return Dr(this.#Me)}set internalY(e){ht(this.#Me,e,!0)}#Se=Je(()=>this.internalX);get x(){return Dr(this.#Se)}set x(e){this.scrollTo(e,void 0)}#$e=Je(()=>this.internalY);get y(){return Dr(this.#$e)}set y(e){this.scrollTo(void 0,e)}#_e=dt(!1);get isScrolling(){return Dr(this.#_e)}set isScrolling(e){ht(this.#_e,e,!0)}#Te=dt(bt({left:!0,right:!1,top:!0,bottom:!1}));get arrived(){return Dr(this.#Te)}set arrived(e){ht(this.#Te,e,!0)}#Ee=dt(bt({left:!1,right:!1,top:!1,bottom:!1}));get directions(){return Dr(this.#Ee)}set directions(e){ht(this.#Ee,e,!0)}#Oe=dt(bt({x:0,y:0}));get progress(){return Dr(this.#Oe)}set progress(e){ht(this.#Oe,e,!0)}constructor(e){this.#R=e,Qn(()=>this.element,"scroll",this.#Ie,this.eventListenerOptions),Qn(()=>this.element,"scrollend",e=>this.onScrollEnd(e),this.eventListenerOptions),Bi(()=>{this.setArrivedState()}),new Gn(()=>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=dt(null);const o=Je(()=>Kn(t,250));function i(...t){if(Dr(r))Dr(r).timeout&&clearTimeout(Dr(r).timeout);else{let e,t;const o=new Promise((r,o)=>{e=r,t=o});ht(r,{timeout:null,runner:null,promise:o,resolve:e,reject:t},!0)}return Dr(r).runner=async()=>{if(!Dr(r))return;const o=Dr(r);ht(r,null);try{o.resolve(await e.apply(this,t))}catch(i){o.reject(i)}},Dr(r).timeout=setTimeout(Dr(r).runner,Dr(o)),Dr(r).promise}return i.cancel=async()=>{(Dr(r)&&null!==Dr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Dr(r)&&null!==Dr(r).timeout))&&(clearTimeout(Dr(r).timeout),Dr(r).reject("Cancelled"),ht(r,null))},i.runScheduledNow=async()=>{(Dr(r)&&Dr(r).timeout||(await new Promise(e=>setTimeout(e,0)),Dr(r)&&Dr(r).timeout))&&(clearTimeout(Dr(r).timeout),Dr(r).timeout=null,await(Dr(r).runner?.()))},Object.defineProperty(i,"pending",{enumerable:!0,get:()=>!!Dr(r)?.timeout}),i}(this.onScrollEnd,()=>this.idle)},is=Un("telemetry"),ns=class{modules;#Ae=dt(!1);get loading(){return Dr(this.#Ae)}set loading(e){ht(this.#Ae,e,!0)}#ze=dt(!1);get ready(){return Dr(this.#ze)}set ready(e){ht(this.#ze,e,!0)}log=Un(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:Vn,data:r||null}),is[e](t,...r?[r]:[])}catch(Zi){is[e](t,...r?[r]:[])}};storage(e,t,r){const o=new rs(t,r);Object.defineProperty(this,e,{get:()=>o.current,set:e=>{o.current=e},enumerable:!0,configurable:!0})}},ss=class extends ns{singleton;expand;#Pe=dt(bt([]));get data(){return Dr(this.#Pe)}set data(e){ht(this.#Pe,e,!0)}#Fe=dt(null);get record(){return Dr(this.#Fe)}set record(e){ht(this.#Fe,e,!0)}#Ne=dt(null);get error(){return Dr(this.#Ne)}set error(e){ht(this.#Ne,e,!0)}#je=dt(1);get page(){return Dr(this.#je)}set page(e){ht(this.#je,e,!0)}#De=dt(50);get perPage(){return Dr(this.#De)}set perPage(e){ht(this.#De,e,!0)}#He=Je(()=>0===this.data.length);get empty(){return Dr(this.#He)}set empty(e){ht(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("*")}},as=class extends ss{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 ls(){try{if(navigator.vibrate)return void navigator.vibrate(50);if(void 0===ts&&(ts="undefined"!=typeof window&&window.matchMedia("(pointer: coarse)").matches),!ts)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{}}ls.confirm=()=>{navigator.vibrate?navigator.vibrate([50,70,50]):(ls(),setTimeout(()=>ls(),120))},ls.error=()=>{navigator.vibrate?navigator.vibrate([50,70,50,70,50]):(ls(),setTimeout(()=>ls(),120),setTimeout(()=>ls(),240))};var cs=ls,ds=Un("utils");function us(){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 hs(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`${dy}/api/files/${i}/${o}/${r}`}function ps(e){return e.then(e=>[void 0,e]).catch(e=>[e])}function gs(e,t=","){return e?e.split(t).map(e=>e.trim()):[]}function fs(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 ms(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 ds.error("Failed to download image:",r),null}}function vs(){const e=new URL(window.location.href).searchParams.get("fubi");return e?e.split("."):null}function bs(){const e=new URL(window.location.href);e.searchParams.delete("fubi"),window.history.replaceState({},"",e)}function ws(e,t){return(e.match(t)||[])[2]||"0.0.0.0"}function ys(){return{width:window.innerWidth,height:window.innerHeight}}function xs(e,t){const r={Desktop:1700,Laptop:1280,Tablet:768,Mobile:0};let o="Unknown";for(const i in r)if(e>=r[i]){o=i;break}return o}function ks(){const e=navigator.userAgent;let t="unknown";switch(t=/ucbrowser/i.test(e)?"UCBrowser":t,t=/edg/i.test(e)?"Edge":t,t=/googlebot/i.test(e)?"GoogleBot":t,t=/chromium/i.test(e)?"Chromium":t,t=/firefox|fxios/i.test(e)&&!/seamonkey/i.test(e)?"Firefox":t,t=/; msie|trident/i.test(e)&&!/ucbrowser/i.test(e)?"IE":t,t=/chrome|crios/i.test(e)&&!/opr|opera|chromium|edg|ucbrowser|googlebot/i.test(e)?"Chrome":t,t=/safari/i.test(e)&&!/chromium|edg|ucbrowser|chrome|crios|opr|opera|fxios|firefox/i.test(e)?"Safari":t,t=/opr|opera/i.test(e)?"Opera":t,t){case"UCBrowser":return{name:t,version:ws(e,/(ucbrowser)\/([\d\.]+)/i)};case"Edge":return{name:t,version:ws(e,/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case"GoogleBot":return{name:t,version:ws(e,/(googlebot)\/([\d\.]+)/i)};case"Chromium":return{name:t,version:ws(e,/(chromium)\/([\d\.]+)/i)};case"Firefox":return{name:t,version:ws(e,/(firefox|fxios)\/([\d\.]+)/i)};case"Chrome":return{name:t,version:ws(e,/(chrome|crios)\/([\d\.]+)/i)};case"Safari":return{name:t,version:ws(e,/(safari)\/([\d\.]+)/i)};case"Opera":return{name:t,version:ws(e,/(opera|opr)\/([\d\.]+)/i)};case"IE":{const r=ws(e,/(trident)\/([\d\.]+)/i);return{name:t,version:r?(parseFloat(r)+4).toString():"7.0"}}default:return{name:"unknown",version:"0.0.0.0"}}}function Cs(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(0)} KB`:`${(e/1048576).toFixed(2)} MB`}var Ls="https://dash.fubi.dev",Ms=class extends ns{#We=dt("");get id(){return Dr(this.#We)}set id(e){ht(this.#We,e,!0)}#ae=dt(null);get current(){return Dr(this.#ae)}set current(e){ht(this.#ae,e,!0)}#Ne=dt(null);get error(){return Dr(this.#Ne)}set error(e){ht(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 ps(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)}},Ss=class extends ns{#Re=dt(null);get user(){return Dr(this.#Re)}set user(e){ht(this.#Re,e,!0)}#Ne=dt("");get error(){return Dr(this.#Ne)}set error(e){ht(this.#Ne,e,!0)}#Ve=Je(()=>this.user?hs({...this.user,collectionName:"users"},"avatar"):null);get avatarUrl(){return Dr(this.#Ve)}set avatarUrl(e){ht(this.#Ve,e)}#Be=Je(()=>this.avatarUrl?this.avatarUrl+"?thumb=64x64":null);get avatarThumbUrl(){return Dr(this.#Be)}set avatarThumbUrl(e){ht(this.#Be,e)}#Ue=Je(()=>Ls+"/?redirect=/account");get accountUrl(){return Dr(this.#Ue)}set accountUrl(e){ht(this.#Ue,e)}#Ze=Je(()=>`${this.user?.firstName} ${this.user?.lastName}`);get accountName(){return Dr(this.#Ze)}set accountName(e){ht(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 cs.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 ns{#H=dt(bt(new Map));get listeners(){return Dr(this.#H)}set listeners(e){ht(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)}},_s=class extends ns{wrapper;#qe=dt(!1);get hovering(){return Dr(this.#qe)}set hovering(e){ht(this.#qe,e,!0)}#Ke=dt(!1);get focusWithin(){return Dr(this.#Ke)}set focusWithin(e){ht(this.#Ke,e,!0)}#Ge=dt(!1);get opened(){return Dr(this.#Ge)}set opened(e){ht(this.#Ge,e,!0)}#Xe=dt(!1);get visible(){return Dr(this.#Xe)}set visible(e){ht(this.#Xe,e,!0)}#Ye=dt(null);get lastUsedFeature(){return Dr(this.#Ye)}set lastUsedFeature(e){ht(this.#Ye,e,!0)}#Je=dt(!0);get minimized(){return Dr(this.#Je)}set minimized(e){ht(this.#Je,e,!0)}constructor(e){super(),this.wrapper=e,this.storage("visible","fubi_toolbar_visible",!1)}start(){this.modules.keys.onPress("c",()=>{us()}),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(){cs(),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(us())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}},Ts=class extends ns{handlers=new Map;upHandlers=new Map;#Qe=dt(bt({key:null,code:null,ctrlKey:!1,metaKey:!1,altKey:!1}));get active(){return Dr(this.#Qe)}set active(e){ht(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,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,new Set),this.upHandlers.get(e).add(t),()=>{this.upHandlers.get(e)?.delete(t)}}handleKeydown=e=>{const{key:t,code:r,ctrlKey:o,metaKey:i,altKey:n}=e;if(this.active={key:t,code:r,ctrlKey:o,metaKey:i,altKey:n},o||i)return;const s=this.handlers.get(t);s&&s.forEach(t=>t(e))};handleKeyup=e=>{const t=this.upHandlers.get(e.key);t&&t.forEach(t=>t(e)),this.active.key===e.key&&(this.active.key=null,this.active.code=null),this.active.ctrlKey=e.ctrlKey,this.active.metaKey=e.metaKey,this.active.altKey=e.altKey}},Es=class extends ns{#We=dt("");get id(){return Dr(this.#We)}set id(e){ht(this.#We,e,!0)}#ae=dt(null);get current(){return Dr(this.#ae)}set current(e){ht(this.#ae,e,!0)}#Ne=dt(null);get error(){return Dr(this.#Ne)}set error(e){ht(this.#Ne,e,!0)}unsubscribe;#et=Je(()=>{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 Dr(this.#et)}set hasAccess(e){ht(this.#et,e)}#tt=Je(()=>{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 Dr(this.#tt)}set role(e){ht(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 ps(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?.()}},Os=class extends ss{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=Je(()=>!this.ready||this.data.length>0);get canAccess(){return Dr(this.#rt)}set canAccess(e){ht(this.#rt,e)}current={};#ot=Je(()=>{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=new Set;return e.filter(e=>!t.has(e.id)&&(t.add(e.id),!0))});get users(){return Dr(this.#ot)}set users(e){ht(this.#ot,e)}#it=Je(()=>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 Dr(this.#it)}set foldersWithStats(e){ht(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?`${Ls}/?redirect=/${this.modules.team.current.slug}/${this.modules.project.current?.slug}`:Ls,label:"Manage Project Folders",external:!0},action:"refresh"},"folders"),void this.modules.router.goto("error");const e=vs()?.[0],t=e?this.data.find(t=>t.id===e):null,r=this.current?.id?this.data.find(e=>e.id===this.current.id):null,o=!!this.current?.id&&!r,i=t??(1===this.data.length?this.data[0]:null)??r??this.data[0];if(e&&!t&&this.log.warn("Folder from URL param not accessible:",e),this.current?.id===i.id)return this.current=i,void this.log.info("Folder already selected:",i.name);if(o){const e=this.current.name;return this.log.warn("Current folder was deleted:",e),this.current=i,this.emit("folders:changed",{folder:i}),this.emit("folders:current-deleted",{deletedFolderName:e}),this.modules.modals.open("folder-deleted",{deletedFolderName:e}),void this.modules.router.goto("folders",void 0,"back")}this.log.info("Selecting folder:",i.name),this.current=i}onSubscriptionChange(e){"delete"===e&&this.current?.id&&!this.data.find(e=>e.id===this.current.id)&&this.selectDefaultFolder()}select(e){this.current?.id!==e.id&&(this.log.info("Selecting folder:",e.name),this.current=e,this.emit("folders:changed",{folder:e}))}async setNotification(e,t){this.log.info(`Setting folder (${e}) notifications to:`,t),this.loading=!0;const[r,o]=await ps(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}},Is=class extends ss{name="pages";#nt=dt(null);get url(){return Dr(this.#nt)}set url(e){ht(this.#nt,e,!0)}#st=dt(!1);get valid(){return Dr(this.#st)}set valid(e){ht(this.#st,e,!0)}sort="name";#ae=dt(null);get current(){return Dr(this.#ae)}set current(e){ht(this.#ae,e,!0)}#at=dt(bt(this.current?.name));get pageName(){return Dr(this.#at)}set pageName(e){ht(this.#at,e,!0)}#Ne=dt(null);get error(){return Dr(this.#Ne)}set error(e){ht(this.#Ne,e,!0)}#lt=Je(()=>!this.current?.id);get isNew(){return Dr(this.#lt)}set isNew(e){ht(this.#lt,e)}#ct=dt(bt({favicon:"",shareimage:"",title:"",description:""}));get meta(){return Dr(this.#ct)}set meta(e){ht(this.#ct,e,!0)}#dt=Je(()=>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 Dr(this.#dt)}set pagesWithStats(e){ht(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?.()}},As=class extends ns{_addedPadding=0;addClass(e){document.documentElement.classList.add(e)}removeClass(e){document.documentElement.classList.remove(e)}toggleClass(e){document.documentElement.classList.toggle(e)}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.height;if(this.modules.environment.touch){const e=r>window.innerHeight?"start":"center";let o=t.top+window.scrollY;return"center"===e&&(o-=(window.innerHeight-r)/2),void window.scrollTo({top:o,behavior:"smooth"})}const o=r>window.innerHeight?"start":"center";e.scrollIntoView({behavior:"smooth",block:o,inline:"nearest"})}scrollToNewMessage(){document.querySelector(".fubi-message-new")}ensureScrollRoom(e,t=350){const r=e-window.scrollY;if(window.innerHeight-r>=t)return;const o=e-.3*window.innerHeight,i=document.documentElement.scrollHeight-window.innerHeight;if(o>i){const e=o-i+50;document.documentElement.style.paddingBottom=`${e}px`,this._addedPadding=e}this.scroll.enable(),window.scrollTo({top:Math.max(0,o),behavior:"instant"}),this.scroll.disable()}removeScrollRoom(){this._addedPadding&&(document.documentElement.style.paddingBottom="",this._addedPadding=0)}scroll={disable:(e={})=>{this.addClass(e.touchOnly?"fubi-scroll-touch-disabled":"fubi-scroll-disabled")},enable:()=>{this.removeClass("fubi-scroll-disabled"),this.removeClass("fubi-scroll-touch-disabled")}}};function zs(e){return"[object Date]"===Object.prototype.toString.call(e)}function Ps(e,t,r,o){if("number"==typeof r||zs(r)){const i=o-r,n=(r-t)/(e.dt||1/60),s=(n+(e.opts.stiffness*i-e.opts.damping*n)*e.inv_mass)*e.dt;return Math.abs(s)<e.opts.precision&&Math.abs(i)<e.opts.precision?o:(e.settled=!1,zs(r)?new Date(r.getTime()+s):r+s)}if(Array.isArray(r))return r.map((i,n)=>Ps(e,t[n],r[n],o[n]));if("object"==typeof r){const i={};for(const n in r)i[n]=Ps(e,t[n],r[n],o[n]);return i}throw new Error(`Cannot spring ${typeof r} values`)}var Fs=class e{#ut=dt(.15);#ht=dt(.8);#pt=dt(.01);#ae;#gt;#ft=void 0;#mt=0;#vt=1;#bt=0;#wt=null;#i=null;constructor(e,r={}){this.#ae=t?ee(dt(e),"Spring.current"):dt(e),this.#gt=t?ee(dt(e),"Spring.target"):dt(e),"number"==typeof r.stiffness&&(this.#ut.v=Ns(r.stiffness,0,1)),"number"==typeof r.damping&&(this.#ht.v=Ns(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 Jt(()=>{o.set(t())}),o}#ue(e){if(ht(this.#gt,e),this.#ae.v??=e,this.#ft??=this.#ae.v,!this.#wt){this.#mt=Wo.now();var t=1e3/(60*this.#bt);this.#wt??=Vo(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=Ps(o,this.#ft,this.#ae.v,this.#gt.v);return this.#ft=this.#ae.v,this.#mt=e,ht(this.#ae,i),o.settled&&(this.#wt=null),!o.settled})}return this.#wt.promise}set(e,t){if(this.#i?.reject(new Error("Aborted")),t?.instant||void 0===this.#ae.v)return this.#wt?.abort(),this.#wt=null,ht(this.#ae,ht(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 Dr(this.#ae)}get damping(){return Dr(this.#ht)}set damping(e){ht(this.#ht,Ns(e,0,1))}get precision(){return Dr(this.#pt)}set precision(e){ht(this.#pt,e)}get stiffness(){return Dr(this.#ut)}set stiffness(e){ht(this.#ut,Ns(e,0,1))}get target(){return Dr(this.#gt)}set target(e){this.set(e)}};function Ns(e,t,r){return Math.max(t,Math.min(r,e))}function js(e){const t=1.70158;return--e*e*((t+1)*e+t)+1}function Ds(e){return e*e*e}function Hs(e){const t=e-1;return t*t*t+1}function Ws(e){return 1===e?e:1-Math.pow(2,-10*e)}var Rs=class extends ns{#yt=dt();get el(){return Dr(this.#yt)}set el(e){ht(this.#yt,e,!0)}#xt=dt(!1);get uiOpened(){return Dr(this.#xt)}set uiOpened(e){ht(this.#xt,e,!0)}#kt=dt();get contentScrollState(){return Dr(this.#kt)}set contentScrollState(e){ht(this.#kt,e,!0)}height=new Fs(0,{stiffness:.2,damping:.4});#Ct=dt(bt({bottom:0,middle:this.calculateBreakpoint(),top:this.calculateBreakpoint(.99)}));get breakpoints(){return Dr(this.#Ct)}set breakpoints(e){ht(this.#Ct,e,!0)}#Lt=dt(bt(this.breakpoints.middle));get currentBreakpoint(){return Dr(this.#Lt)}set currentBreakpoint(e){ht(this.#Lt,e,!0)}#Mt=dt(bt(this.breakpoints.middle));get nextBreakpoint(){return Dr(this.#Mt)}set nextBreakpoint(e){ht(this.#Mt,e,!0)}#St=dt(bt({active:!1,startX:0,startY:0,startWidth:0,startHeight:0}));get resizing(){return Dr(this.#St)}set resizing(e){ht(this.#St,e,!0)}#$t=dt(bt({active:!1,start:0,current:0,difference:0,startHeight:0,height:0,direction:null,hasMoved:!1}));get dragging(){return Dr(this.#$t)}set dragging(e){ht(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",()=>{us()||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(){cs(),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)}}},Vs="cubic-bezier(0.32, 0.72, 0, 1)",Bs="ease-out",Us=`transform 0.5s ${Vs}`,Zs=`transform 0.3s ${Bs}`,qs=`opacity 0.5s ${Vs}`,Ks=`opacity 0.3s ${Bs}`,Gs=class extends ns{#yt=dt();get el(){return Dr(this.#yt)}set el(e){ht(this.#yt,e,!0)}#_t=dt(null);get overlayEl(){return Dr(this.#_t)}set overlayEl(e){ht(this.#_t,e,!0)}#Tt=dt(!1);get isVisible(){return Dr(this.#Tt)}set isVisible(e){ht(this.#Tt,e,!0)}#Et=dt(!1);get isClosing(){return Dr(this.#Et)}set isClosing(e){ht(this.#Et,e,!0)}#Ot=dt(!1);get willClose(){return Dr(this.#Ot)}set willClose(e){ht(this.#Ot,e,!0)}#xt=dt(!1);get uiOpened(){return Dr(this.#xt)}set uiOpened(e){ht(this.#xt,e,!0)}onClosed=null;snapPoints=[.35,1];fadeFromIndex=0;#It=dt(0);get activeSnapIndex(){return Dr(this.#It)}set activeSnapIndex(e){ht(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",()=>{!us()&&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(){cs(),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?Zs:Us}get opacityTransition(){return this.modules.environment.android?Ks:qs}snapTo(e,t=!0){const r=this.getSnapOffsets();if(e<0||e>=r.length)return;this.activeSnapIndex=e,this.setDrawerTransform(r[e],t?this.transition:void 0);const o=e>=this.fadeFromIndex?1:0;this.setOverlay(o,t?this.opacityTransition:void 0)}isInDragHandle(e){let t=e;for(;t&&t!==this._drawerEl;){if(t.hasAttribute("data-fubi-drag-handle"))return!0;t=t.parentElement}return!1}isContentAtTop(e){let t=e;for(;t&&t!==this._drawerEl;){if(t.scrollHeight>t.clientHeight&&t.scrollTop>0)return!1;t=t.parentElement}return!0}get offscreenY(){return window.innerHeight+64}openDrawer(){this._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))}},Xs=class extends ns{#At=dt(!1);get touch(){return Dr(this.#At)}set touch(e){ht(this.#At,e,!0)}#zt=dt(!1);get android(){return Dr(this.#zt)}set android(e){ht(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")}},Ys=e=>e;function Js(e){const t=e-1;return t*t*t+1}function Qs(e){const t="string"==typeof e&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}function ea(e,{delay:t=0,duration:r=400,easing:o=Ys}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:o,css:e=>"opacity: "+e*i}}function ta(e,{delay:t=0,duration:r=400,easing:o=Js,x:i=0,y:n=0,opacity:s=0}={}){const a=getComputedStyle(e),l=+a.opacity,c="none"===a.transform?"":a.transform,d=l*(1-s),[u,h]=Qs(i),[p,g]=Qs(n);return{delay:t,duration:r,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${c} translate(${(1-e)*u}${h}, ${(1-e)*p}${g});\n\t\t\topacity: ${l-d*t}`}}var ra=!1;function oa(e,{delay:r=0,duration:o=400,easing:i=Js,axis:n="y"}={}){const s=getComputedStyle(e);t&&!ra&&/(contents|inline|table)/.test(s.display)&&(ra=!0,Promise.resolve().then(()=>ra=!1),s.display);const a=+s.opacity,l="y"===n?"height":"width",c=parseFloat(s[l]),d="y"===n?["top","bottom"]:["left","right"],u=d.map(e=>`${e[0].toUpperCase()}${e.slice(1)}`),h=parseFloat(s[`padding${u[0]}`]),p=parseFloat(s[`padding${u[1]}`]),g=parseFloat(s[`margin${u[0]}`]),f=parseFloat(s[`margin${u[1]}`]),m=parseFloat(s[`border${u[0]}Width`]),v=parseFloat(s[`border${u[1]}Width`]);return{delay:r,duration:o,easing:i,css:e=>`overflow: hidden;opacity: ${Math.min(20*e,1)*a};${l}: ${e*c}px;padding-${d[0]}: ${e*h}px;padding-${d[1]}: ${e*p}px;margin-${d[0]}: ${e*g}px;margin-${d[1]}: ${e*f}px;border-${d[0]}-width: ${e*m}px;border-${d[1]}-width: ${e*v}px;min-${l}: 0`}}function ia(e,{delay:t=0,duration:r=400,easing:o=Js,start:i=0,opacity:n=0}={}){const s=getComputedStyle(e),a=+s.opacity,l="none"===s.transform?"":s.transform,c=1-i,d=a*(1-n);return{delay:t,duration:r,easing:o,css:(e,t)=>`\n\t\t\ttransform: ${l} scale(${1-c*t});\n\t\t\topacity: ${a-d*t}\n\t\t`}}function na(e,t){for(const r in t)e[r]=t[r];return e}var sa=ho('<div><div data-lenis-prevent=""><!></div> <div class="glass android:!shadow-none fixed z-[10] top-0 left-0 w-full h-full touch:h-[calc(100%+1px)] pointer-events-none superellipse rounded-(--fubi-rounded) mouse:rounded-(--fubi-rounded-mouse) touch:rounded-b-none select-none touch:mask-b-from-0% bg-neutral-900/1 android:hidden"></div></div>');function aa(e,t){ue(t,!0);const{win:r,router:o,sheet:i,environment:n}=cy();let s=Ri(t,"name",3,""),a=Ri(t,"navbar",3,!0);Ri(t,"visible",3,!1),Ri(t,"navigating",3,!1),Ri(t,"direction",3,"forward");let l=dt(void 0);const c=new os({element:()=>Dr(l),onScroll:()=>{r.contentScrollState=c}});let d=Je(()=>o.current===s()),u=Je(()=>o.previous===s()),h=Je(()=>o.next===s());qt(()=>{Dr(d)&&(r.contentScrollState=c)});var p=sa(),g=Ot(p);Do(Ot(g),()=>t.children),q(g),Fi(g,e=>ht(l,e),()=>Dr(l)),K(2),q(p),Qt(()=>{xi(p,"data-fubi-page",s()),p.inert=!Dr(d),si(p,1,ri(["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",Dr(d)&&"page-current",Dr(u)&&"page-previous",Dr(h)&&"page-next"])),si(g,1,ri(["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"]))}),mo(e,p),he()}var la=po('<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 ca(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=la();ki(o,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:"none",...r})),mo(e,o)}var da=ho("<div><!></div>");function ua(e,t){var r=da();Do(Ot(r),()=>t.children),q(r),Qt(()=>si(r,1,`flex flex-col w-full relief rounded-[16px] superellipse glass-pressed ${t.class}`)),mo(e,r)}var ha=po('<svg xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="white" stroke-opacity="0.1" stroke-linecap="round"></circle><circle fill="none" stroke="currentColor" stroke-linecap="round"></circle></svg>');function pa(e,t){ue(t,!0);let r=Ri(t,"progress",3,0),o=Ri(t,"radius",3,12),i=Ri(t,"stroke",3,4),n=Ri(t,"colorful",3,!0),s=new Fs(0,{stiffness:.04,damping:.4}),a=Je(()=>2*Math.PI*o()),l=Je(()=>s.current/100*Dr(a)),c=Je(()=>o()+i()),d=Je(()=>2*(o()+i())),u=Je(()=>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");Yn(()=>r(),()=>{s.set(r())});var h=ha(),p=Ot(h),g=At(p);q(h),Qt(()=>{xi(h,"width",Dr(d)),xi(h,"height",Dr(d)),xi(h,"viewBox",`0 0 ${Dr(d)} ${Dr(d)}`),si(h,0,ri(["-rotate-90 shrink-0 transition-colors duration-200",Dr(u)])),xi(p,"cx",Dr(c)),xi(p,"cy",Dr(c)),xi(p,"r",o()),xi(p,"stroke-width",i()),si(g,0,ri(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),xi(g,"cx",Dr(c)),xi(g,"cy",Dr(c)),xi(g,"r",o()),xi(g,"stroke-width",i()),xi(g,"stroke-dasharray",`${Dr(l)} ${Dr(a)}`)}),mo(e,h),he()}function ga(e){return null!==e&&"object"==typeof e}var fa=["string","number","bigint","boolean"];function ma(e){return null==e||!!fa.includes(typeof e)||(Array.isArray(e)?e.every(e=>ma(e)):"object"==typeof e&&Object.getPrototypeOf(e)===Object.prototype)}var va=Symbol("box"),ba=Symbol("is-writable");function wa(e,t){const r=Je(e);return t?{[va]:!0,[ba]:!0,get current(){return Dr(r)},set current(e){t(e)}}:{[va]:!0,get current(){return e()}}}function ya(e){return ga(e)&&va in e}function xa(e){return ya(e)&&ba in e}function ka(e){return ya(e)?e:function(e){return"function"==typeof e}(e)?wa(e):Ca(e)}function Ca(e){let t=dt(bt(e));return{[va]:!0,[ba]:!0,get current(){return Dr(t)},set current(e){ht(t,e,!0)}}}function La(e){let t=dt(bt(e));return{[va]:!0,[ba]:!0,get current(){return Dr(t)},set current(e){ht(t,e,!0)}}}function Ma(...e){return function(t){for(const r of e)if(r){if(t.defaultPrevented)return;"function"==typeof r?r.call(this,t):r.current?.call(this,t)}}}La.from=ka,La.with=wa,La.flatten=function(e){return Object.entries(e).reduce((e,[t,r])=>ya(r)?(xa(r)?Object.defineProperty(e,t,{get:()=>r.current,set(e){r.current=e}}):Object.defineProperty(e,t,{get:()=>r.current}),e):Object.assign(e,{[t]:r}),{})},La.readonly=function(e){return xa(e)?{[va]:!0,get current(){return e.current}}:e},La.isBox=ya,La.isWritableBox=xa;var Sa=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,$a=/\n/g,_a=/^\s*/,Ta=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ea=/^:\s*/,Oa=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ia=/^[;\s]*/,Aa=/^\s+|\s+$/g,za="";function Pa(e){return e?e.replace(Aa,za):za}var Fa=/\d/,Na=["-","_","/","."];function ja(e=""){if(!Fa.test(e))return e!==e.toLowerCase()}function Da(e){return e?function(e){const t=[];let r,o,i="";for(const n of e){const e=Na.includes(n);if(!0===e){t.push(i),i="",r=void 0;continue}const s=ja(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 Ha(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=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(_a)}function d(e){var t;for(e=e||[];t=u();)!1!==t&&e.push(t);return e}function u(){var t=n();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;za!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,za===e.charAt(r-1))return a("End of comment missing");var s=e.slice(2,r-2);return o+=2,i(s),e=e.slice(r),o+=2,t({type:"comment",comment:s})}}function h(){var e=n(),t=l(Ta);if(t){if(u(),!l(Ea))return a("property missing ':'");var r=l(Oa),o=e({type:"declaration",property:Pa(t[0].replace(Sa,za)),value:r?Pa(r[0].replace(Sa,za)):za});return l(Ia),o}}return s.prototype.content=e,c(),function(){var e,t=[];for(d(t);e=h();)!1!==e&&(t.push(e),d(t));return t}()}(e),i="function"==typeof t;o.forEach(e=>{if("declaration"!==e.type)return;const{property:o,value:n}=e;i?t(o,n,e):n&&(r=r||{},r[o]=n)})}(e,function(e,r){var o;e.startsWith("-moz-")||e.startsWith("-webkit-")||e.startsWith("-ms-")||e.startsWith("-o-")?t[Da(e)]=r:e.startsWith("--")?t[e]=r:t[(o=e,function(e){return e?e[0].toLowerCase()+e.slice(1):""}(Da(o||"")))]=r}),t}function Wa(...e){return(...t)=>{for(const r of e)"function"==typeof r&&r(...t)}}var Ra=function(e,t){const r=RegExp(/[A-Z]/,"g");return e=>{if("string"!=typeof e)throw new TypeError("expected an argument of type string, but got "+typeof e);return e.match(r)?e.replace(r,t):e}}(0,e=>`-${e.toLowerCase()}`);function Va(e={}){return function(e){if(!e||"object"!=typeof e||Array.isArray(e))throw new TypeError("expected an argument of type object, but got "+typeof e);return Object.keys(e).map(t=>`${Ra(t)}: ${e[t]};`).join("\n")}(e).replace("\n"," ")}var Ba=new Set(["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"]);function Ua(e){return Ba.has(e)}function Za(...e){const t={...e[0]};for(let r=1;r<e.length;r++){const o=e[r];if(o){for(const e of Object.keys(o)){const r=t[e],i=o[e],n="function"==typeof r,s="function"==typeof i;if(n&&Ua(e))t[e]=Ma(r,i);else if(n&&s)t[e]=Wa(r,i);else if("class"===e){const o=ma(r),n=ma(i);o&&n?t[e]=ti(r,i):o?t[e]=ti(r):n&&(t[e]=ti(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=Ha(i);t[e]={...r,...o}}else if(s&&n)t[e]={...Ha(r),...i};else if(s&&a){const o=Ha(r),n=Ha(i);t[e]={...o,...n}}else o?t[e]=r:n?t[e]=i:s?t[e]=r:a&&(t[e]=i)}else t[e]=void 0!==i?i:r}for(const e of Object.getOwnPropertySymbols(o)){const r=t[e],i=o[e];t[e]=void 0!==i?i:r}}}return"object"==typeof t.style&&(t.style=Va(t.style).replaceAll("\n"," ")),!1===t.hidden&&(t.hidden=void 0,delete t.hidden),!1===t.disabled&&(t.disabled=void 0,delete t.disabled),t}function qa(e){qt(()=>()=>{e()})}function Ka(e){qt(()=>Rr(()=>e()))}function Ga(e){jr().then(e)}function Xa(e){return ga(e)&&1===e.nodeType&&"string"==typeof e.nodeName}function Ya(e){return ga(e)&&9===e.nodeType}function Ja(e){return function(e){return ga(e)&&void 0!==e.nodeType}(e)&&11===e.nodeType&&"host"in e}function Qa(e){return Ya(e)?e:function(e){return ga(e)&&"VisualViewport"===e.constructor?.name}(e)?e.document:e?.ownerDocument??document}function el(e){return Ja(e)?el(e.host):Ya(e)?e.defaultView??window:Xa(e)?e.ownerDocument?.defaultView??window:window}var tl=class{element;#Pt=Je(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return Dr(this.#Pt)}set root(e){ht(this.#Pt,e)}constructor(e){this.element="function"==typeof e?wa(e):e}getDocument=()=>Qa(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 rl(e,t){return{[Vr()]:r=>ya(e)?(e.current=r,Rr(()=>t?.(r)),()=>{"isConnected"in r&&r.isConnected||(e.current=null,t?.(null))}):(e(r),Rr(()=>t?.(r)),()=>{"isConnected"in r&&r.isConnected||(e(null),t?.(null))})}}var ol="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=ol,document:r=t?.document}=e;void 0!==t&&(this.#X=r,this.#Y=Ue(e=>{const r=oo(t,"focusin",e),o=oo(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 il=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 nl(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":qt(t);break;case"pre":Gt(t)}}(t,()=>{const t=Array.isArray(e)?e.map(e=>e()):e();if(!n)return n=!0,void(s=t);const o=Rr(()=>r(t,s));return s=t,o})}function sl(e,t,r){nl(e,"post",t,r)}function al(e){return function(e){return"function"==typeof e}(e)?e():e}sl.pre=function(e,t,r){nl(e,"pre",t,r)};var ll=class{#Z={width:0,height:0};#Nt=!1;#R;#jt;#ne;#Dt=Je(()=>(Dr(this.#Y)?.(),this.getSize().width));#Ht=Je(()=>(Dr(this.#Y)?.(),this.getSize().height));#Y=Je(()=>{const e=al(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??ol,this.#R=t,this.#jt=e,this.#Z={width:0,height:0}}calculateSize(){const e=al(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 Dr(this.#Y)?.(),this.getSize()}get width(){return Dr(this.#Dt)}get height(){return Dr(this.#Ht)}};function cl(e){return e?"true":"false"}function dl(e){return e?"":void 0}function ul(e){return e?"open":"closed"}var hl=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 pl(e){const t=new hl(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var gl="ArrowDown",fl="ArrowLeft",ml="ArrowRight",vl="ArrowUp",bl="Home";function wl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?fl:ml,vertical:gl}[t]}function yl(e="ltr",t="horizontal"){return{horizontal:"rtl"===e?ml:fl,vertical:vl}[t]}var xl="undefined"!=typeof document,kl=xl&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent));function Cl(e){return e instanceof HTMLElement}function Ll(e){return e instanceof Element}function Ml(e){return e instanceof Element||e instanceof SVGElement}function Sl(e){return"touch"===e.pointerType}function $l(e){return null!==e}var _l=class{#Vt;#Bt=La(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:wl(e,t),prevKey:yl(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,[bl]:0,End:i.length-1};if(r){const e="ArrowUp"===a?fl:vl;d["ArrowDown"===s?ml:gl]=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&&Cl(t)&&t.focus()}},Tl=class{#Vt;#Ut=null;constructor(e){this.#Vt=e,qa(()=>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?Ga(t):t()}},El=class{#Vt;#Kt;#Gt;#Xt=dt(!1);constructor(e){this.#Vt=e,ht(this.#Xt,e.open.current,!0),this.#Kt=e.enabled??!0,this.#Gt=new Tl({ref:this.#Vt.ref,afterTick:this.#Vt.open}),sl(()=>this.#Vt.open.current,e=>{e&&ht(this.#Xt,!0),this.#Kt&&this.#Gt.run(()=>{e===this.#Vt.open.current&&(this.#Vt.open.current||ht(this.#Xt,!1),this.#Vt.onComplete?.())})})}get shouldRender(){return Dr(this.#Xt)}};function Ol(){}function Il(e,t){return void 0===t?`bits-${e}`:`bits-${e}-${t}`}var Al=pl({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),zl=new il("Dialog.Root | AlertDialog.Root"),Pl=class e{static create(t){const r=zl.getOr(null);return zl.set(new e(t,r))}opts;#Yt=dt(null);get triggerNode(){return Dr(this.#Yt)}set triggerNode(e){ht(this.#Yt,e,!0)}#Jt=dt(null);get contentNode(){return Dr(this.#Jt)}set contentNode(e){ht(this.#Jt,e,!0)}#Qt=dt(null);get overlayNode(){return Dr(this.#Qt)}set overlayNode(e){ht(this.#Qt,e,!0)}#er=dt(null);get descriptionNode(){return Dr(this.#er)}set descriptionNode(e){ht(this.#er,e,!0)}#tr=dt(void 0);get contentId(){return Dr(this.#tr)}set contentId(e){ht(this.#tr,e,!0)}#rr=dt(void 0);get titleId(){return Dr(this.#rr)}set titleId(e){ht(this.#rr,e,!0)}#or=dt(void 0);get triggerId(){return Dr(this.#or)}set triggerId(e){ht(this.#or,e,!0)}#ir=dt(void 0);get descriptionId(){return Dr(this.#ir)}set descriptionId(e){ht(this.#ir,e,!0)}#nr=dt(null);get cancelNode(){return Dr(this.#nr)}set cancelNode(e){ht(this.#nr,e,!0)}#sr=dt(0);get nestedOpenCount(){return Dr(this.#sr)}set nestedOpenCount(e){ht(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 El({ref:wa(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new El({ref:wa(()=>this.overlayNode),open:this.opts.open,enabled:!0}),sl(()=>this.opts.open.current,e=>{this.parent&&(e?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),qa(()=>{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=>Al.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){0!==this.nestedOpenCount&&(this.nestedOpenCount--,this.parent?.decrementNested())}#ar=Je(()=>({"data-state":ul(this.opts.open.current)}));get sharedProps(){return Dr(this.#ar)}set sharedProps(e){ht(this.#ar,e)}},Fl=class e{static create(t){return new e(t,zl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(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=Je(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":cl(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 Dr(this.#f)}set props(e){ht(this.#f,e)}},Nl=class e{static create(t){return new e(t,zl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(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=Je(()=>({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 Dr(this.#f)}set props(e){ht(this.#f,e)}},jl=class e{static create(t){return new e(t,zl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(this.opts.ref,e=>{this.root.contentNode=e,this.root.contentId=e?.id})}#lr=Je(()=>({open:this.root.opts.open.current}));get snippetProps(){return Dr(this.#lr)}set snippetProps(e){ht(this.#lr,e)}#f=Je(()=>({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":dl(this.root.nestedOpenCount>0),"data-nested":dl(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},Dl=class e{static create(t){return new e(t,zl.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(this.opts.ref,e=>this.root.overlayNode=e)}#lr=Je(()=>({open:this.root.opts.open.current}));get snippetProps(){return Dr(this.#lr)}set snippetProps(e){ht(this.#lr,e)}#f=Je(()=>({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":dl(this.root.nestedOpenCount>0),"data-nested":dl(null!==this.root.parent),...this.root.sharedProps,...this.attachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};function Hl(e,t){var r=fo();Eo(It(r),()=>t.children,e=>{var r=fo();Do(It(r),()=>t.children??g),mo(e,r)}),mo(e,r)}var Wl=new il("BitsConfig"),Rl=class{opts;constructor(e,t){const r=function(e,t){return r=>wa(()=>{const o=r(t)?.current;return void 0!==o?o:null!==e?r(e.opts)?.current:void 0})}(e,t);this.opts={defaultPortalTo:r(e=>e.defaultPortalTo),defaultLocale:r(e=>e.defaultLocale)}}};function Vl(e,t){return r=>{const o=function(){const e=new Rl(null,{});return Wl.getOr(e).opts}();return wa(()=>{const i=r();if(void 0!==i)return i;const n=e(o).current;return void 0!==n?n:t})}}Vl(e=>e.defaultLocale,"en");var Bl=Vl(e=>e.defaultPortalTo,"body");function Ul(e,r){ue(r,!0);const o=Bl(()=>r.to),i=pe("getAllContexts");let n,s=Je(function(){if(!xl||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&&(Mo(n),n=null)}sl([()=>Dr(s),()=>r.disabled],([e,t])=>{if(e&&!t)return n=xo(Hl,{target:e,props:{children:r.children},context:i}),()=>{a()};a()});var l=fo(),c=It(l),d=e=>{var t=fo();Do(It(t),()=>r.children??g),mo(e,t)};$o(c,e=>{r.disabled&&e(d)}),mo(e,l),he()}function Zl(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 ql(e,t){return e===t||e.contains(t)}function Kl(e){return e?.ownerDocument??document}var Gl=["Enter"," "],Xl=[vl,"PageDown","End"],Yl=[gl,"PageUp",bl,...Xl];function Jl(e){return"mouse"===e.pointerType}function Ql(e,{select:t=!1}={}){if(!e||!e.focus)return;const r=Qa(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 ec=dt(!1),tc=class e{static _refs=0;static _cleanup;constructor(){qt(()=>(0===e._refs&&(e._cleanup=Xt(()=>{const e=[],t=e=>{ht(ec,!1)};return e.push(oo(document,"pointerdown",t,{capture:!0}),oo(document,"pointermove",t,{capture:!0}),oo(document,"keydown",e=>{ht(ec,!0)},{capture:!0})),Wa(...e)})),e._refs++,()=>{e._refs--,0===e._refs&&(ht(ec,!1),e._cleanup?.())}))}get current(){return Dr(ec)}set current(e){ht(ec,e,!0)}},rc=["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] *)"],oc=rc.join(","),ic="undefined"==typeof Element,nc=ic?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sc=!ic&&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},ac=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]"):ac(e.parentNode))},lc=function(e,t,r){if(ac(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(oc));return t&&nc.call(e,oc)&&o.unshift(e),o.filter(r)},cc=function(e,t,r){for(var o=[],i=Array.from(e);i.length;){var n=i.shift();if(!ac(n,!1))if("SLOT"===n.tagName){var s=n.assignedElements(),a=cc(s.length?s:n.children,!0,r);r.flatten?o.push.apply(o,a):o.push({scopeParent:n,candidates:a})}else{nc.call(n,oc)&&r.filter(n)&&(t||!e.includes(n))&&o.push(n);var l=n.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(n),c=!ac(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(n));if(l&&c){var d=cc(!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},dc=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},uc=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))&&!dc(e)?0:e.tabIndex},hc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},pc=function(e){return"INPUT"===e.tagName},gc=function(e){var t=e.getBoundingClientRect(),r=t.width,o=t.height;return 0===r&&0===o},fc=function(e,t){return!(t.disabled||function(e){return pc(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=nc.call(e,"details>summary:first-of-type")?e.parentElement:e;if(nc.call(i,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"full-native"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return gc(e)}else{if("function"==typeof o){for(var n=e;e;){var s=e.parentElement,a=sc(e);if(s&&!s.shadowRoot&&!0===o(s))return gc(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&&sc(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=sc(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!!nc.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},mc=function(e,t){return!(function(e){return function(e){return pc(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||sc(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)||uc(t)<0||!fc(e,t))},vc=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},bc=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=uc(e);return r<0&&t&&!dc(e)?0:r}(n,i),a=i?bc(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(hc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},wc=function(e,t){var r;return r=(t=t||{}).getShadowRoot?cc([e],t.includeContainer,{filter:mc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:vc}):lc(e,t.includeContainer,mc.bind(null,t)),bc(r)},yc=function(e,t){return(t=t||{}).getShadowRoot?cc([e],t.includeContainer,{filter:fc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):lc(e,t.includeContainer,fc.bind(null,t))},xc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==nc.call(e,oc)&&mc(t,e)},kc=rc.concat("iframe:not([inert]):not([inert] *)").join(","),Cc=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==nc.call(e,kc)&&fc(t,e)};function Lc(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}}function Mc(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 Mc(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 Sc(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=Sc(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 Sc(e,t){return e.map((r,o)=>e[(t+o)%e.length])}var $c={afterMs:1e4,onChange:Ol};function _c(e,t){const{afterMs:r,onChange:o,getWindow:i}={...$c,...t};let n=null,s=dt(bt(e));return qt(()=>()=>{n&&i().clearTimeout(n)}),wa(()=>Dr(s),t=>{ht(s,t,!0),o?.(t),n&&i().clearTimeout(n),n=i().setTimeout(()=>{ht(s,e,!0),o?.(e)},r)})}var Tc=class{#Vt;#cr;#dr=Je(()=>this.#Vt.onMatch?this.#Vt.onMatch:e=>e.focus());#ur=Je(()=>this.#Vt.getCurrentItem?this.#Vt.getCurrentItem:this.#Vt.getActiveElement);constructor(e){this.#Vt=e,this.#cr=_c("",{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=Dr(this.#ur)(),o=t.find(e=>e===r)?.textContent?.trim()??"",i=Mc(t.map(e=>e.textContent?.trim()??""),this.#cr.current,o),n=t.find(e=>e.textContent?.trim()===i);return n&&Dr(this.#dr)(n),n}resetTypeahead(){this.#cr.current=""}get search(){return this.#cr.current}},Ec=class{#Vt;#Kt;#hr;#pr=dt(null);constructor(e){this.#Vt=e,this.#Kt=Je(()=>this.#Vt.enabled()),this.#hr=_c(!1,{afterMs:e.transitTimeout??300,onChange:e=>{Dr(this.#Kt)&&this.#Vt.setIsPointerInTransit?.(e)},getWindow:()=>el(this.#Vt.triggerNode())}),sl([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return Wa(oo(e,"pointerleave",e=>{this.#gr(e,t)}),oo(t,"pointerleave",t=>{this.#gr(t,e)}))}),sl(()=>Dr(this.#pr),()=>{const t=Qa(e.triggerNode()??e.contentNode());if(t)return oo(t,"pointermove",t=>{if(!Dr(this.#pr))return;const r=t.target;if(!Ll(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,Dr(this.#pr));i?this.#fr():n&&(this.#fr(),e.onPointerExit())})})}#fr(){ht(this.#pr,null),this.#hr.current=!1}#gr(e,t){const r=e.currentTarget;if(!Cl(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())]);ht(this.#pr,n,!0),this.#hr.current=!0}},Oc=new il("Menu.Root"),Ic=new il("Menu.Root | Menu.Sub"),Ac=new il("Menu.Content"),zc=(new il("Menu.Group | Menu.RadioGroup"),new il("Menu.RadioGroup"),new il("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 oo(e,this.eventName,e=>{t(e)},r)}}("bitsmenuopen",{bubbles:!1,cancelable:!0})),Pc=pl({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]}),Fc=class e{static create(t){const r=new e(t);return Oc.set(r)}opts;isUsingKeyboard=new tc;#mr=dt(!1);get ignoreCloseAutoFocus(){return Dr(this.#mr)}set ignoreCloseAutoFocus(e){ht(this.#mr,e,!0)}#hr=dt(!1);get isPointerInTransit(){return Dr(this.#hr)}set isPointerInTransit(e){ht(this.#hr,e,!0)}constructor(e){this.opts=e}getBitsAttr=e=>Pc.getAttr(e,this.opts.variant.current)},Nc=class e{static create(t,r){return Ic.set(new e(t,r,null))}opts;root;parentMenu;contentId=wa(()=>"");#Jt=dt(null);get contentNode(){return Dr(this.#Jt)}set contentNode(e){ht(this.#Jt,e,!0)}contentPresence;#Yt=dt(null);get triggerNode(){return Dr(this.#Yt)}set triggerNode(e){ht(this.#Yt,e,!0)}constructor(e,t,r){this.opts=e,this.root=t,this.parentMenu=r,this.contentPresence=new El({ref:wa(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),r&&sl(()=>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}},jc=class e{static create(t){return Ac.set(new e(t,Ic.get()))}opts;parentMenu;rovingFocusGroup;domContext;attachment;#cr=dt("");get search(){return Dr(this.#cr)}set search(e){ht(this.#cr,e,!0)}#vr=0;#br;#wr=dt(!1);get mounted(){return Dr(this.#wr)}set mounted(e){ht(this.#wr,e,!0)}#yr;constructor(e,t){this.opts=e,this.parentMenu=t,this.domContext=new tl(e.ref),this.attachment=rl(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 Ec({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 Tc({getActiveElement:()=>this.domContext.getActiveElement(),getWindow:()=>this.domContext.getWindow()}).handleTypeaheadSearch,this.rovingFocusGroup=new _l({rootNode:wa(()=>this.parentMenu.contentNode),candidateAttr:this.parentMenu.root.getBitsAttr("item"),loop:this.opts.loop,orientation:wa(()=>"vertical")}),sl(()=>this.parentMenu.contentNode,e=>{if(e)return zc.listen(e,()=>{Ga(()=>{this.parentMenu.root.isUsingKeyboard.current&&this.rovingFocusGroup.focusFirstCandidate()})})}),qt(()=>{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&&xc(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(!xc(e,Lc()))return function(e,t){const r=Qa(e);if(!Cc(e,Lc()))return r.body;const o=yc(r.body,Lc());"prev"===t&&o.reverse();const i=o.indexOf(e);return-1===i?r.body:o.slice(i+1).find(e=>xc(e,Lc()))??r.body}(e,t);const r=Qa(e),o=wc(r.body,Lc());"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(),Ga(()=>{r.focus(),Ga(()=>{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(!Cl(t)||!Cl(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&&Yl.includes(e.key)&&(e.preventDefault(),Xl.includes(e.key)&&s.reverse(),function(e,{select:t=!1}={},r){const o=r();for(const i of e)if(Ql(i,{select:t}),r()!==o)return!0}(s,{select:!1},()=>this.domContext.getActiveElement()))}onblur(e){Ll(e.currentTarget)&&Ll(e.target)&&(e.currentTarget.contains?.(e.target)||(this.domContext.getWindow().clearTimeout(this.#vr),this.search=""))}onfocus(e){this.parentMenu.root.isUsingKeyboard.current&&Ga(()=>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(!Ml(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=Je(()=>({open:this.parentMenu.opts.open.current}));get snippetProps(){return Dr(this.#lr)}set snippetProps(e){ht(this.#lr,e)}#f=Je(()=>({id:this.opts.id.current,role:"menu","aria-orientation":"vertical",[this.parentMenu.root.getBitsAttr("content")]:"","data-state":ul(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 Dr(this.#f)}set props(e){ht(this.#f,e)}popperProps={onCloseAutoFocus:e=>this.onCloseAutoFocus(e)}},Dc=class{opts;content;attachment;#Cr=dt(!1);constructor(e,t){this.opts=e,this.content=t,this.attachment=rl(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&&Jl(e))if(this.opts.disabled.current)this.content.onItemLeave(e);else{if(this.content.onItemEnter())return;const t=e.currentTarget;if(!Cl(t))return;t.focus()}}onpointerleave(e){e.defaultPrevented||Jl(e)&&this.content.onItemLeave(e)}onfocus(e){Ga(()=>{e.defaultPrevented||this.opts.disabled.current||ht(this.#Cr,!0)})}onblur(e){Ga(()=>{e.defaultPrevented||ht(this.#Cr,!1)})}#f=Je(()=>({id:this.opts.id.current,tabindex:-1,role:"menuitem","aria-disabled":cl(this.opts.disabled.current),"data-disabled":dl(this.opts.disabled.current),"data-highlighted":Dr(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 Dr(this.#f)}set props(e){ht(this.#f,e)}},Hc=class e{static create(t){return new e(t,new Dc(t,Ac.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)&&Gl.includes(e.key)){if(!Cl(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(!Cl(e.currentTarget))return;e.currentTarget?.click()}}onpointerdown(e){this.#Lr=!0}#f=Je(()=>Za(this.item.props,{onclick:this.onclick,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,onkeydown:this.onkeydown}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}},Wc=class e{static create(t){return new e(t,Ic.get())}opts;parentMenu;attachment;constructor(e,t){this.opts=e,this.parentMenu=t,this.attachment=rl(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=Je(()=>{if(this.parentMenu.opts.open.current&&this.parentMenu.contentId.current)return this.parentMenu.contentId.current});#f=Je(()=>({id:this.opts.id.current,disabled:this.opts.disabled.current,"aria-haspopup":"menu","aria-expanded":cl(this.parentMenu.opts.open.current),"aria-controls":Dr(this.#Sr),"data-disabled":dl(this.opts.disabled.current),"data-state":ul(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 Dr(this.#f)}set props(e){ht(this.#f,e)}};globalThis.bitsDismissableLayers??=new Map;var Rc=class e{static create(t){return new e(t)}opts;#$r;#_r;#Tr={pointerdown:!1};#Er=!1;#Or=!1;#Ir=void 0;#Ar;#zr=Ol;constructor(e){this.opts=e,this.#_r=e.interactOutsideBehavior,this.#$r=e.onInteractOutside,this.#Ar=e.onFocusOutside,qt(()=>{this.#Ir=Kl(this.opts.ref.current)});let t=Ol;const r=()=>{this.#Pr(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.destroy(),t()};sl([()=>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}),qa(()=>{this.#Pr.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#Fr.destroy(),this.#zr(),t()})}#jr=e=>{e.defaultPrevented||this.opts.ref.current&&Ga(()=>{this.opts.ref.current&&!this.#Dr(e.target)&&e.target&&!this.#Or&&this.#Ar.current?.(e)})};#Nr(){return Wa(oo(this.#Ir,"pointerdown",Wa(this.#Hr,this.#Wr),{capture:!0}),oo(this.#Ir,"pointerdown",Wa(this.#Rr,this.#Fr)),oo(this.#Ir,"focusin",this.#jr))}#Vr=e=>{let t=e;t.defaultPrevented&&(t=Vc(e)),this.#$r.current(e)};#Fr=Zl(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(!Ml(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)&&Kl(r).documentElement.contains(r)&&!ql(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=Vc(r)),"close"===this.#_r.current||"defer-otherwise-close"===this.#_r.current?"touch"===e.pointerType?(this.#zr(),this.#zr=oo(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&&ql(this.opts.ref.current,e);#Pr=Zl(()=>{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 Vc(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 Bc(e,t){ue(t,!0);let r=Ri(t,"interactOutsideBehavior",3,"close"),o=Ri(t,"onInteractOutside",3,Ol),i=Ri(t,"onFocusOutside",3,Ol),n=Ri(t,"isValidEvent",3,()=>!1);const s=Rc.create({id:wa(()=>t.id),interactOutsideBehavior:wa(()=>r()),onInteractOutside:wa(()=>o()),enabled:wa(()=>t.enabled),onFocusOutside:wa(()=>i()),isValidEvent:wa(()=>n()),ref:t.ref});var a=fo();Do(It(a),()=>t.children??g,()=>({props:s.props})),mo(e,a),he()}globalThis.bitsEscapeLayers??=new Map;var Uc=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new tl(this.opts.ref);let t=Ol;sl(()=>e.enabled.current,r=>(r&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#qr()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#qr=()=>oo(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 Zc(e,t){ue(t,!0);let r=Ri(t,"escapeKeydownBehavior",3,"close"),o=Ri(t,"onEscapeKeydown",3,Ol);Uc.create({escapeKeydownBehavior:wa(()=>r()),onEscapeKeydown:wa(()=>o()),enabled:wa(()=>t.enabled),ref:t.ref});var i=fo();Do(It(i),()=>t.children??g),mo(e,i),he()}var qc=class e{static instance;#Gr=Ca([]);#Xr=new WeakMap;#Yr=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)}},Kc=class e{#Jr=!1;#Qr=null;#eo=qc.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(oo(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)&&Cc(r))t.preventDefault(),r.focus();else{const t=this.#no(),r=this.#so()[0];(t||r||e).focus()}}},{capture:!0}),oo(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?wc(this.#Qr,{includeContainer:!1,getShadowRoot:!0}):[]}#no(){return this.#ao()[0]||null}#so(){return this.#Qr?yc(this.#Qr,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let r=null;return sl([()=>t.ref.current,()=>t.enabled.current],([o,i])=>{o&&i?(r||(r=new e(t)),r.mount(o)):r&&(r.unmount(),r=null)}),qa(()=>{r?.unmount()}),{get props(){return{tabindex:-1}}}}};function Gc(e,t){ue(t,!0);let r=Ri(t,"enabled",3,!1),o=Ri(t,"trapFocus",3,!1),i=Ri(t,"loop",3,!1),n=Ri(t,"onCloseAutoFocus",3,Ol),s=Ri(t,"onOpenAutoFocus",3,Ol);const a=Kc.use({enabled:wa(()=>r()),trap:wa(()=>o()),loop:i(),onCloseAutoFocus:wa(()=>n()),onOpenAutoFocus:wa(()=>s()),ref:t.ref});var l=fo();Do(It(l),()=>t.focusScope??g,()=>({props:a.props})),mo(e,l),he()}globalThis.bitsTextSelectionLayers??=new Map;var Xc=class e{static create(t){return new e(t)}opts;domContext;#lo=Ol;constructor(e){this.opts=e,this.domContext=new tl(e.ref);let t=Ol;sl(()=>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 Wa(oo(this.domContext.getDocument(),"pointerdown",this.#do),oo(this.domContext.getDocument(),"pointerup",Ma(this.#co,this.opts.onPointerUp.current)))}#do=e=>{const t=this.opts.ref.current,r=e.target;Cl(t)&&Cl(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(!Xa(e)||!Xa(t))return!1;const r=t.getRootNode?.();if(e===t)return!0;if(e.contains(t))return!0;if(r&&Ja(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=Yc(t),o=Yc(e);return Jc(t,"none"),Jc(e,"text"),()=>{Jc(t,r),Jc(e,o)}}(t,this.domContext.getDocument().body)))};#co=()=>{this.#lo(),this.#lo=Ol}},Yc=e=>e.style.userSelect||e.style.webkitUserSelect;function Jc(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function Qc(e,t){ue(t,!0);let r=Ri(t,"preventOverflowTextSelection",3,!0),o=Ri(t,"onPointerDown",3,Ol),i=Ri(t,"onPointerUp",3,Ol);Xc.create({id:wa(()=>t.id),onPointerDown:wa(()=>o()),onPointerUp:wa(()=>i()),enabled:wa(()=>t.enabled&&r()),ref:t.ref});var n=fo();Do(It(n),()=>t.children??g),mo(e,n),he()}function ed(e="bits"){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}globalThis.bitsIdCounter??={current:0};var td=new qn,rd=dt(null),od=null,id=null,nd=!1,sd=wa(()=>{for(const e of td.values())if(e)return!0;return!1}),ad=null,ld=new class{#uo;#ho=0;#po=dt();#go;constructor(e){this.#uo=e}#fo(){this.#ho-=1,this.#go&&this.#ho<=0&&(this.#go(),ht(this.#po,void 0),this.#go=void 0)}get(...e){return this.#ho+=1,void 0===Dr(this.#po)&&(this.#go=Xt(()=>{ht(this.#po,this.#uo(...e),!0)})),qt(()=>()=>{this.#fo()}),Dr(this.#po)}}(()=>{function e(){null!==id&&(window.clearTimeout(id),id=null)}function t(){null!==Dr(rd)||0!==td.size||nd||ht(rd,document.body.getAttribute("style"),!0)}return sl(()=>sd.current,()=>{if(!sd.current)return;t(),nd=!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",kl&&(od=oo(document,"touchmove",e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),Ga(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),qa(()=>()=>{od?.()}),{get lockMap(){return td},resetBodyStyle:function(){document.body.setAttribute("style",Dr(rd)??""),document.body.style.removeProperty("--scrollbar-width"),kl&&od?.(),ht(rd,null)},scheduleCleanupIfNoNewLocks:function(t,r){e(),nd=!0;const o=ad=Date.now(),i=null===t?24:t;id=window.setTimeout(()=>{id=null,ad===o&&(dd(td)?nd=!1:(nd=!1,r()))},i)},cancelPendingCleanup:e,ensureInitialStyleCaptured:t}}),cd=class{#We=ed();#mo;#vo=()=>null;#bo;locked;constructor(e,t=()=>null){this.#mo=e,this.#vo=t,this.#bo=ld.get(),this.#bo&&(this.#bo.cancelPendingCleanup(),this.#bo.ensureInitialStyleCaptured(),this.#bo.lockMap.set(this.#We,this.#mo??!1),this.locked=wa(()=>this.#bo.lockMap.get(this.#We)??!1,e=>this.#bo.lockMap.set(this.#We,e)),qa(()=>{if(this.#bo.lockMap.delete(this.#We),dd(this.#bo.lockMap))return;const e=this.#vo();this.#bo.scheduleCleanupIfNoNewLocks(e,()=>{this.#bo.resetBodyStyle()})}))}};function dd(e){for(const[t,r]of e)if(r)return!0;return!1}function ud(e,t){ue(t,!0);let r=Ri(t,"preventScroll",3,!0),o=Ri(t,"restoreScrollDelay",3,null);r()&&new cd(r(),()=>o()),he()}var hd=ho("<div><!></div>");function pd(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"forceMount",3,!1),n=Ri(t,"ref",15,null),s=Di(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const a=Dl.create({id:wa(()=>o()),ref:wa(()=>n(),e=>n(e))}),l=Je(()=>Za(s,a.props));var c=fo(),d=It(c),u=e=>{var r=fo(),o=It(r),i=e=>{var r=fo(),o=It(r);{let e=Je(()=>({props:Za(Dr(l)),...a.snippetProps}));Do(o,()=>t.child,()=>Dr(e))}mo(e,r)},n=e=>{var r=hd();ki(r,e=>({...e}),[()=>Za(Dr(l))]),Do(Ot(r),()=>t.children??g,()=>a.snippetProps),q(r),mo(e,r)};$o(o,e=>{t.child?e(i):e(n,!1)}),mo(e,r)};$o(d,e=>{(a.shouldRender||i())&&e(u)}),mo(e,c),he()}var gd=ho("<button><!></button>");function fd(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"disabled",3,!1),s=Di(t,["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]);const a=Fl.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(n()))}),l=Je(()=>Za(s,a.props));var c=fo(),d=It(c),u=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(l)})),mo(e,r)},h=e=>{var r=gd();ki(r,()=>({...Dr(l)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(d,e=>{t.child?e(u):e(h,!1)}),mo(e,c),he()}var md=["top","right","bottom","left"],vd=Math.min,bd=Math.max,wd={left:"right",right:"left",bottom:"top",top:"bottom"},yd={start:"end",end:"start"};function xd(e,t,r){return bd(e,vd(t,r))}function kd(e,t){return"function"==typeof e?e(t):e}function Cd(e){return e.split("-")[0]}function Ld(e){return e.split("-")[1]}function Md(e){return"x"===e?"y":"x"}function Sd(e){return"y"===e?"height":"width"}var $d=new Set(["top","bottom"]);function _d(e){return $d.has(Cd(e))?"y":"x"}function Td(e){return Md(_d(e))}function Ed(e){return e.replace(/start|end/g,e=>yd[e])}var Od=["left","right"],Id=["right","left"],Ad=["top","bottom"],zd=["bottom","top"];function Pd(e){return e.replace(/left|right|bottom|top/g,e=>wd[e])}function Fd(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 Nd(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 jd(e,t,r){let{reference:o,floating:i}=e;const n=_d(t),s=Td(t),a=Sd(s),l=Cd(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(Ld(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Dd(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}=kd(t,e),g=Fd(p),f=a[h?"floating"===u?"reference":"floating":u],m=Nd(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=Nd(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 Hd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wd(e){return md.some(t=>e[t]>=0)}var Rd=new Set(["left","top"]),Vd=Math.min,Bd=Math.max,Ud=Math.round,Zd=Math.floor,qd=e=>({x:e,y:e});function Kd(){return"undefined"!=typeof window}function Gd(e){return Jd(e)?(e.nodeName||"").toLowerCase():"#document"}function Xd(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Yd(e){var t;return null==(t=(Jd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Jd(e){return!!Kd()&&(e instanceof Node||e instanceof Xd(e).Node)}function Qd(e){return!!Kd()&&(e instanceof Element||e instanceof Xd(e).Element)}function eu(e){return!!Kd()&&(e instanceof HTMLElement||e instanceof Xd(e).HTMLElement)}function tu(e){return!(!Kd()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Xd(e).ShadowRoot)}var ru=new Set(["inline","contents"]);function ou(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=fu(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!ru.has(i)}var iu=new Set(["table","td","th"]);function nu(e){return iu.has(Gd(e))}var su=[":popover-open",":modal"];function au(e){return su.some(t=>{try{return e.matches(t)}catch(r){return!1}})}var lu=["transform","translate","scale","rotate","perspective"],cu=["transform","translate","scale","rotate","perspective","filter"],du=["paint","layout","strict","content"];function uu(e){const t=hu(),r=Qd(e)?fu(e):e;return lu.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||cu.some(e=>(r.willChange||"").includes(e))||du.some(e=>(r.contain||"").includes(e))}function hu(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}var pu=new Set(["html","body","#document"]);function gu(e){return pu.has(Gd(e))}function fu(e){return Xd(e).getComputedStyle(e)}function mu(e){return Qd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function vu(e){if("html"===Gd(e))return e;const t=e.assignedSlot||e.parentNode||tu(e)&&e.host||Yd(e);return tu(t)?t.host:t}function bu(e){const t=vu(e);return gu(t)?e.ownerDocument?e.ownerDocument.body:e.body:eu(t)&&ou(t)?t:bu(t)}function wu(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=bu(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Xd(i);if(n){const e=yu(s);return t.concat(s,s.visualViewport||[],ou(i)?i:[],e&&r?wu(e):[])}return t.concat(i,wu(i,[],r))}function yu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xu(e){const t=fu(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=eu(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=Ud(r)!==n||Ud(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function ku(e){return Qd(e)?e:e.contextElement}function Cu(e){const t=ku(e);if(!eu(t))return qd(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=xu(t);let s=(n?Ud(r.width):r.width)/o,a=(n?Ud(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var Lu=qd(0);function Mu(e){const t=Xd(e);return hu()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Lu}function Su(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=ku(e);let s=qd(1);t&&(o?Qd(o)&&(s=Cu(o)):s=Cu(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Xd(e))&&t}(n,r,o)?Mu(n):qd(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=Xd(n),t=o&&Qd(o)?Xd(o):o;let r=e,i=yu(r);for(;i&&o&&t!==r;){const e=Cu(i),t=i.getBoundingClientRect(),o=fu(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=Xd(i),i=yu(r)}}return Nd({width:d,height:u,x:l,y:c})}function $u(e,t){const r=mu(e).scrollLeft;return t?t.left+r:Su(Yd(e)).left+r}function _u(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-$u(e,r),y:r.top+t.scrollTop}}var Tu=new Set(["absolute","fixed"]);function Eu(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Xd(e),o=Yd(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=hu();(!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=Yd(e),r=mu(e),o=e.ownerDocument.body,i=Bd(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=Bd(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+$u(e);const a=-r.scrollTop;return"rtl"===fu(o).direction&&(s+=Bd(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Yd(e));else if(Qd(t))o=function(e,t){const r=Su(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=eu(e)?Cu(e):qd(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=Mu(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Nd(o)}function Ou(e,t){const r=vu(e);return!(r===t||!Qd(r)||gu(r))&&("fixed"===fu(r).position||Ou(r,t))}function Iu(e,t){const r=t.get(e);if(r)return r;let o=wu(e,[],!1).filter(e=>Qd(e)&&"body"!==Gd(e)),i=null;const n="fixed"===fu(e).position;let s=n?vu(e):e;for(;Qd(s)&&!gu(s);){const t=fu(s),r=uu(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&Tu.has(i.position)||ou(s)&&!r&&Ou(e,s))?o=o.filter(e=>e!==s):i=t,s=vu(s)}return t.set(e,o),o}function Au(e,t,r){const o=eu(t),i=Yd(t),n="fixed"===r,s=Su(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=qd(0);function c(){l.x=$u(i)}if(o||!o&&!n)if(("body"!==Gd(t)||ou(i))&&(a=mu(t)),o){const e=Su(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?qd(0):_u(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 zu(e){return"static"===fu(e).position}function Pu(e,t){if(!eu(e)||"fixed"===fu(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Yd(e)===r&&(r=r.ownerDocument.body),r}function Fu(e,t){const r=Xd(e);if(au(e))return r;if(!eu(e)){let t=vu(e);for(;t&&!gu(t);){if(Qd(t)&&!zu(t))return t;t=vu(t)}return r}let o=Pu(e,t);for(;o&&nu(o)&&zu(o);)o=Pu(o,t);return o&&gu(o)&&zu(o)&&!uu(o)?r:o||function(e){let t=vu(e);for(;eu(t)&&!gu(t);){if(uu(t))return t;if(au(t))return null;t=vu(t)}return null}(e)||r}var Nu={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Yd(o),a=!!t&&au(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=qd(1);const d=qd(0),u=eu(o);if((u||!u&&!n)&&(("body"!==Gd(o)||ou(s))&&(l=mu(o)),eu(o))){const e=Su(o);c=Cu(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?qd(0):_u(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:Yd,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?au(t)?[]:Iu(t,this._c):[].concat(r),o],s=n[0],a=n.reduce((e,r)=>{const o=Eu(t,r,i);return e.top=Bd(o.top,e.top),e.right=Vd(o.right,e.right),e.bottom=Vd(o.bottom,e.bottom),e.left=Bd(o.left,e.left),e},Eu(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Fu,getElementRects:async function(e){const t=this.getOffsetParent||Fu,r=this.getDimensions,o=await r(e.floating);return{reference:Au(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}=xu(e);return{width:t,height:r}},getScale:Cu,isElement:Qd,isRTL:function(e){return"rtl"===fu(e).direction}};function ju(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Du=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=Cd(r),a=Ld(r),l="y"===_d(r),c=Rd.has(s)?-1:1,d=n&&l?-1:1,u=kd(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}}}}},Hu=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}=kd(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=_d(Cd(i)),p=Md(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=xd(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=xd(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}}}}}},Wu=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}=kd(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=Cd(i),b=_d(a),w=Cd(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Pd(a)]:function(e){const t=Pd(e);return[Ed(e),t,Ed(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=Ld(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Id:Od:t?Od:Id;case"left":case"right":return t?Ad:zd;default:return[]}}(Cd(e),"start"===r,o);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(Ed)))),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=Ld(e),i=Td(e),n=Sd(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Pd(s)),[s,Pd(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===_d(t)||S.every(e=>_d(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=_d(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{}}}},Ru=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}=kd(e,t),d=await s.detectOverflow(t,c),u=Cd(i),h=Ld(i),p="y"===_d(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=vd(f-d[m],b),x=vd(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=bd(d.left,0),t=bd(d.right,0),r=bd(d.top,0),o=bd(d.bottom,0);p?L=g-2*(0!==e||0!==t?e+t:bd(d.left,d.right)):C=f-2*(0!==r||0!==o?r+o:bd(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}}:{}}}},Vu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:o}=t,{strategy:i="referenceHidden",...n}=kd(e,t);switch(i){case"referenceHidden":{const e=Hd(await o.detectOverflow(t,{...n,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Wd(e)}}}case"escaped":{const e=Hd(await o.detectOverflow(t,{...n,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Wd(e)}}}default:return{}}}}},Bu=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}=kd(e,t)||{};if(null==c)return{};const u=Fd(d),h={x:r,y:o},p=Td(i),g=Sd(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=vd(u[v],M),$=vd(u[b],M),_=S,T=C-f[g]-$,E=C/2-f[g]/2+L,O=xd(_,E,T),I=!l.arrow&&null!=Ld(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}}}),Uu=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}=kd(e,t),d={x:r,y:o},u=_d(i),h=Md(u);let p=d[h],g=d[u];const f=kd(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=Rd.has(Cd(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 Zu(e){return"function"==typeof e?e():e}function qu(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ku(e,t){const r=qu(e);return Math.round(t*r)/r}function Gu(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 Xu(e){const t=e.whileElementsMounted,r=Je(()=>Zu(e.open)??!0),o=Je(()=>Zu(e.middleware)),i=Je(()=>Zu(e.transform)??!0),n=Je(()=>Zu(e.placement)??"bottom"),s=Je(()=>Zu(e.strategy)??"absolute"),a=Je(()=>Zu(e.sideOffset)??0),l=Je(()=>Zu(e.alignOffset)??0),c=e.reference;let d=dt(0),u=dt(0);const h=Ca(null);let p=dt(bt(Dr(s))),g=dt(bt(Dr(n))),f=dt(bt({})),m=dt(!1),v=!1;const b=Je(()=>{const e=h.current?Ku(h.current,Dr(d)):Dr(d),t=h.current?Ku(h.current,Dr(u)):Dr(u);return Dr(i)?{position:Dr(p),left:"0",top:"0",transform:`translate(${e}px, ${t}px)`,...h.current&&qu(h.current)>=1.5&&{willChange:"transform"}}:{position:Dr(p),left:`${e}px`,top:`${t}px`}});let w;function y(){null!==c.current&&null!==h.current&&((e,t,r)=>{const o=new Map,i={platform:Nu,...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}=jd(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:Dd},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}=jd(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:Dr(o),placement:Dr(n),strategy:Dr(s)}).then(e=>{if((t=c.current)instanceof Element&&(!t.isConnected||t instanceof HTMLElement&&t.hidden||0===t.getClientRects().length))ht(f,{...Dr(f),hide:{...Dr(f).hide,referenceHidden:!0}},!0);else{var t;if(!Dr(r)&&0!==Dr(d)&&0!==Dr(u)){const t=Math.max(Math.abs(Dr(a)),Math.abs(Dr(l)),15);if(e.x<=t&&e.y<=t)return}ht(d,e.x,!0),ht(u,e.y,!0),ht(p,e.strategy,!0),ht(g,e.placement,!0),ht(f,e.middlewareData,!0),ht(m,!0)}})}function x(){"function"==typeof w&&(w(),w=void 0)}return qt(()=>{void 0===t&&Dr(r)&&y()}),qt(function(){x(),void 0!==t?Dr(r)&&null!==c.current&&null!==h.current&&(w=t(c.current,h.current,y)):y()}),qt(()=>{void 0!==t&&(Dr(o),Dr(n),Dr(s),Dr(a),Dr(l),Dr(r),Dr(r)&&Dr(m)?v?y():v=!0:v=!1)}),qt(function(){Dr(r)||ht(m,!1)}),qt(()=>x),{floating:h,reference:c,get strategy(){return Dr(p)},get placement(){return Dr(g)},get middlewareData(){return Dr(f)},get isPositioned(){return Dr(m)},get floatingStyles(){return Dr(b)},get update(){return y}}}var Yu={top:"bottom",right:"left",bottom:"top",left:"right"},Ju=new il("Floating.Root"),Qu=new il("Floating.Content"),eh=new il("Floating.Root"),th=class e{static create(t=!1){return t?eh.set(new e):Ju.set(new e)}anchorNode=Ca(null);customAnchorNode=Ca(null);triggerNode=Ca(null);constructor(){qt(()=>{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})}},rh=class e{static create(t,r=!1){return r?Qu.set(new e(t,eh.get())):Qu.set(new e(t,Ju.get()))}opts;root;contentRef=Ca(null);wrapperRef=Ca(null);arrowRef=Ca(null);contentAttachment=rl(this.contentRef);wrapperAttachment=rl(this.wrapperRef);arrowAttachment=rl(this.arrowRef);arrowId=Ca(ed());#wo=Je(()=>"string"==typeof this.opts.style?Ha(this.opts.style):this.opts.style?void 0:{});#yo=void 0;#xo=new ll(()=>this.arrowRef.current??void 0);#ko=Je(()=>this.#xo?.width??0);#Co=Je(()=>this.#xo?.height??0);#Lo=Je(()=>this.opts.side?.current+("center"!==this.opts.align.current?`-${this.opts.align.current}`:""));#Mo=Je(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#So=Je(()=>Dr(this.#Mo).length>0);get hasExplicitBoundaries(){return Dr(this.#So)}set hasExplicitBoundaries(e){ht(this.#So,e)}#$o=Je(()=>({padding:this.opts.collisionPadding.current,boundary:Dr(this.#Mo).filter($l),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return Dr(this.#$o)}set detectOverflowOptions(e){ht(this.#$o,e)}#_o=dt(void 0);#To=dt(void 0);#Eo=dt(void 0);#Oo=dt(void 0);#Io=Je(()=>{return[Du({mainAxis:this.opts.sideOffset.current+Dr(this.#Co),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&Hu({mainAxis:!0,crossAxis:!1,limiter:"partial"===this.opts.sticky.current?Uu():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Wu({...this.detectOverflowOptions}),Ru({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:r})=>{const{width:o,height:i}=e.reference;ht(this.#_o,t,!0),ht(this.#To,r,!0),ht(this.#Eo,o,!0),ht(this.#Oo,i,!0)}}),this.arrowRef.current&&Bu({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),(e={arrowWidth:Dr(this.#ko),arrowHeight:Dr(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]=ih(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&&Vu({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean);var e});get middleware(){return Dr(this.#Io)}set middleware(e){ht(this.#Io,e)}floating;#Ao=Je(()=>ih(this.floating.placement)[0]);get placedSide(){return Dr(this.#Ao)}set placedSide(e){ht(this.#Ao,e)}#zo=Je(()=>ih(this.floating.placement)[1]);get placedAlign(){return Dr(this.#zo)}set placedAlign(e){ht(this.#zo,e)}#Po=Je(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return Dr(this.#Po)}set arrowX(e){ht(this.#Po,e)}#Fo=Je(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return Dr(this.#Fo)}set arrowY(e){ht(this.#Fo,e)}#No=Je(()=>0!==this.floating.middlewareData.arrow?.centerOffset);get cannotCenterArrow(){return Dr(this.#No)}set cannotCenterArrow(e){ht(this.#No,e)}#jo=dt();get contentZIndex(){return Dr(this.#jo)}set contentZIndex(e){ht(this.#jo,e,!0)}#Do=Je(()=>Yu[this.placedSide]);get arrowBaseSide(){return Dr(this.#Do)}set arrowBaseSide(e){ht(this.#Do,e)}#Ho=Je(()=>({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":`${Dr(this.#_o)}px`,"--bits-floating-available-height":`${Dr(this.#To)}px`,"--bits-floating-anchor-width":`${Dr(this.#Eo)}px`,"--bits-floating-anchor-height":`${Dr(this.#Oo)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:"hidden","pointer-events":"none"},...Dr(this.#wo)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return Dr(this.#Ho)}set wrapperProps(e){ht(this.#Ho,e)}#f=Je(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Va({...Dr(this.#wo)}),...this.contentAttachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}#Wo=Je(()=>({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 Dr(this.#Wo)}set arrowStyle(e){ht(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),sl(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=Xu({strategy:()=>this.opts.strategy.current,placement:()=>Dr(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=ku(e),d=i||n?[...c?wu(c):[],...wu(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=Yd(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:-Zd(u)+"px "+-Zd(i.clientWidth-(d+h))+"px "+-Zd(i.clientHeight-(u+p))+"px "+-Zd(d)+"px",threshold:Bd(0,Vd(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||ju(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?Su(e):null;return l&&function t(){const o=Su(e);f&&!ju(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}),qt(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),sl(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;const t=el(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)}}),qt(()=>{this.floating.floating.current=this.wrapperRef.current})}},oh=class e{static create(t,r=!1){return new e(t,r?eh.get():Ju.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,e.virtualEl&&e.virtualEl.current?t.triggerNode=ka(e.virtualEl.current):t.triggerNode=e.ref}};function ih(e){const[t,r="center"]=e.split("-");return[t,r]}function nh(e,t){ue(t,!0);let r=Ri(t,"tooltip",3,!1);th.create(r());var o=fo();Do(It(o),()=>t.children??g),mo(e,o),he()}function sh(e,t){ue(t,!0);let r=Ri(t,"tooltip",3,!1);oh.create({id:wa(()=>t.id),virtualEl:wa(()=>t.virtualEl),ref:t.ref},r());var o=fo();Do(It(o),()=>t.children??g),mo(e,o),he()}var ah=ho("<!> <!>",1);function lh(e,t){ue(t,!0);let r=Ri(t,"interactOutsideBehavior",3,"close"),o=Ri(t,"trapFocus",3,!0),i=Ri(t,"isValidEvent",3,()=>!1),n=Ri(t,"customAnchor",3,null),s=Ri(t,"isStatic",3,!1),a=Ri(t,"tooltip",3,!1),l=Ri(t,"contentPointerEvents",3,"auto"),c=Di(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=ah(),u=It(d),h=e=>{ud(0,{get preventScroll(){return t.preventScroll}})},p=e=>{ud(0,{get preventScroll(){return t.preventScroll}})};$o(u,e=>{t.forceMount&&t.enabled?e(h):t.forceMount||e(p,1)});{const e=(e,o)=>{let n=()=>o?.().props;Zc(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)=>{Qc(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=fo(),d=It(i);{let e=Je(()=>({props:Za(c,s(),r?.().props,n(),{style:{pointerEvents:l()}}),wrapperProps:a()}));Do(d,()=>t.popper??g,()=>Dr(e))}mo(e,i)},$$slots:{default:!0}})};Bc(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}})};Gc(At(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}})}mo(e,d)};!function(e,t){let r=Ri(t,"isStatic",3,!1),o=Di(t,["$$slots","$$events","$$legacy","content","isStatic","onPlaced"]);var i=fo(),n=It(i),s=e=>{!function(e,t){ue(t,!0),Bi(()=>{t.onPlaced?.()});var r=fo();Do(It(r),()=>t.content??g,()=>({props:{},wrapperProps:{}})),mo(e,r),he()}(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},a=e=>{!function(e,t){ue(t,!0);let r=Ri(t,"side",3,"bottom"),o=Ri(t,"sideOffset",3,0),i=Ri(t,"align",3,"center"),n=Ri(t,"alignOffset",3,0),s=Ri(t,"arrowPadding",3,0),a=Ri(t,"avoidCollisions",3,!0),l=Ri(t,"collisionBoundary",19,()=>[]),c=Ri(t,"collisionPadding",3,0),d=Ri(t,"hideWhenDetached",3,!1),u=Ri(t,"onPlaced",3,()=>{}),h=Ri(t,"sticky",3,"partial"),p=Ri(t,"updatePositionStrategy",3,"optimized"),f=Ri(t,"strategy",3,"fixed"),m=Ri(t,"dir",3,"ltr"),v=Ri(t,"style",19,()=>({})),b=Ri(t,"wrapperId",19,ed),w=Ri(t,"customAnchor",3,null),y=Ri(t,"tooltip",3,!1);const x=rh.create({side:wa(()=>r()),sideOffset:wa(()=>o()),align:wa(()=>i()),alignOffset:wa(()=>n()),id:wa(()=>t.id),arrowPadding:wa(()=>s()),avoidCollisions:wa(()=>a()),collisionBoundary:wa(()=>l()),collisionPadding:wa(()=>c()),hideWhenDetached:wa(()=>d()),onPlaced:wa(()=>u()),sticky:wa(()=>h()),updatePositionStrategy:wa(()=>p()),strategy:wa(()=>f()),dir:wa(()=>m()),style:wa(()=>v()),enabled:wa(()=>t.enabled),wrapperId:wa(()=>b()),customAnchor:wa(()=>w())},y()),k=Je(()=>Za(x.wrapperProps,{style:{pointerEvents:"auto"}}));var C=fo();Do(It(C),()=>t.content??g,()=>({props:x.props,wrapperProps:Dr(k)})),mo(e,C),he()}(e,Wi({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>o))};$o(n,e=>{r()?e(s):e(a,!1)}),mo(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 ch(e,t){let r=Ri(t,"interactOutsideBehavior",3,"close"),o=Ri(t,"trapFocus",3,!0),i=Ri(t,"isValidEvent",3,()=>!1),n=Ri(t,"customAnchor",3,null),s=Ri(t,"isStatic",3,!1),a=Di(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=fo(),c=It(l),d=e=>{lh(e,Wi({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return n()},get isStatic(){return s()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return t.loop},get trapFocus(){return o()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>a))};$o(c,e=>{t.shouldRender&&e(d)}),mo(e,l)}function dh(e,t){let r=Ri(t,"interactOutsideBehavior",3,"close"),o=Ri(t,"trapFocus",3,!0),i=Ri(t,"isValidEvent",3,()=>!1),n=Ri(t,"customAnchor",3,null),s=Ri(t,"isStatic",3,!1),a=Di(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"]);lh(e,Wi({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 uh=ho("<div><!></div>");function hh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"ref",15,null),i=Ri(t,"id",19,()=>Il(r)),n=Ri(t,"disabled",3,!1),s=Ri(t,"onSelect",3,Ol),a=Ri(t,"closeOnSelect",3,!0),l=Di(t,["$$slots","$$events","$$legacy","child","children","ref","id","disabled","onSelect","closeOnSelect"]);const c=Hc.create({id:wa(()=>i()),disabled:wa(()=>n()),onSelect:wa(()=>s()),ref:wa(()=>o(),e=>o(e)),closeOnSelect:wa(()=>a())}),d=Je(()=>Za(l,c.props));var u=fo(),h=It(u),p=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(d)})),mo(e,r)},f=e=>{var r=uh();ki(r,()=>({...Dr(d)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(h,e=>{t.child?e(p):e(f,!1)}),mo(e,u),he()}function ph(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 gh(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}var fh=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,sl([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(e&&t&&r)return[oo(Qa(e),"pointermove",r=>{this.#Go([r.clientX,r.clientY],e,t)}),oo(e,"pointerleave",r=>{const o=r.relatedTarget;if(Ll(o)&&t.contains(o))return;const i=this.#Vt.ignoredTargets?.()??[];if(!Ll(o)||!i.some(e=>e===o||e.contains(o))){if(Ll(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()}}),oo(e,"pointerenter",()=>{this.#Ko()}),oo(t,"pointerenter",()=>{this.#Ko()}),oo(t,"pointerleave",t=>{const r=t.relatedTarget;Ll(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&&gh(e,i))return void this.#Ko();if("trigger"===this.#Bo&&gh(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&&ph(e,s))return;const a="content"===this.#Bo?i:o;ph(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"}}},mh=pl({component:"popover",parts:["root","trigger","content","close","overlay"]}),vh=new il("Popover.Root"),bh=class e{static create(t){return vh.set(new e(t))}opts;#Jt=dt(null);get contentNode(){return Dr(this.#Jt)}set contentNode(e){ht(this.#Jt,e,!0)}contentPresence;#Yt=dt(null);get triggerNode(){return Dr(this.#Yt)}set triggerNode(e){ht(this.#Yt,e,!0)}#Qt=dt(null);get overlayNode(){return Dr(this.#Qt)}set overlayNode(e){ht(this.#Qt,e,!0)}overlayPresence;#Qo=dt(!1);get openedViaHover(){return Dr(this.#Qo)}set openedViaHover(e){ht(this.#Qo,e,!0)}#ei=dt(!1);get hasInteractedWithContent(){return Dr(this.#ei)}set hasInteractedWithContent(e){ht(this.#ei,e,!0)}#ti=dt(!1);get hoverCooldown(){return Dr(this.#ti)}set hoverCooldown(e){ht(this.#ti,e,!0)}#ri=dt(0);get closeDelay(){return Dr(this.#ri)}set closeDelay(e){ht(this.#ri,e,!0)}#oi=null;#ii=null;constructor(e){this.opts=e,this.contentPresence=new El({ref:wa(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new El({ref:wa(()=>this.overlayNode),open:this.opts.open}),sl(()=>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()}},wh=class e{static create(t){return new e(t,vh.get())}opts;root;attachment;domContext;#si=null;#oi=null;#ai=dt(!1);constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new tl(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),sl(()=>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(Sl(e))return;if(ht(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&&(Sl(e)||(ht(this.#ai,!1),this.#li(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&0===e.button){if(this.#ci(),Dr(this.#ai)&&this.root.opts.open.current&&this.root.openedViaHover)return this.root.openedViaHover=!1,void(this.root.hasInteractedWithContent=!0);Dr(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=Je(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":cl(this.root.opts.open.current),"data-state":ul(this.root.opts.open.current),"aria-controls":this.#di(),[mh.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}},yh=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=rl(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 fh({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;Ll(t)&&xc(t)&&this.root.markInteraction()}onpointerenter(e){Sl(e)||this.root.cancelDelayedClose()}onpointerleave(e){Sl(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented)return;if(!Ll(e.target))return;const t=e.target.closest(mh.selector("trigger"));if(!t||t!==this.root.triggerNode){if(this.opts.customAnchor.current)if(Ll(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=Je(()=>({open:this.root.opts.open.current}));get snippetProps(){return Dr(this.#lr)}set snippetProps(e){ht(this.#lr,e)}#f=Je(()=>({id:this.opts.id.current,tabindex:-1,"data-state":ul(this.root.opts.open.current),[mh.content]:"",style:{pointerEvents:"auto",contain:"layout style"},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},xh=ho("<div><div><!></div></div>"),kh=ho("<div><div><!></div></div>");function Ch(e,t){const r=vo();ue(t,!0);let o=Ri(t,"ref",15,null),i=Ri(t,"id",19,()=>Il(r)),n=Ri(t,"forceMount",3,!1),s=Ri(t,"onOpenAutoFocus",3,Ol),a=Ri(t,"onCloseAutoFocus",3,Ol),l=Ri(t,"onEscapeKeydown",3,Ol),c=Ri(t,"onInteractOutside",3,Ol),d=Ri(t,"trapFocus",3,!0),u=Ri(t,"preventScroll",3,!1),h=Ri(t,"customAnchor",3,null),p=Di(t,["$$slots","$$events","$$legacy","child","children","ref","id","forceMount","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","customAnchor","style"]);const f=yh.create({id:wa(()=>i()),ref:wa(()=>o(),e=>o(e)),onInteractOutside:wa(()=>c()),onEscapeKeydown:wa(()=>l()),customAnchor:wa(()=>h())}),m=Je(()=>Za(p,f.props)),v=Je(()=>d()&&f.shouldTrapFocus);function b(e){f.shouldTrapFocus||e.preventDefault(),s()(e)}var w=fo(),y=It(w),x=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Je(()=>Za(r?.().props,{style:Gu("popover")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...f.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=xh();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};dh(e,Wi(()=>Dr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Dr(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=Je(()=>Za(r?.().props,{style:Gu("popover")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...f.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=kh();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};ch(e,Wi(()=>Dr(m),()=>f.popperProps,{get ref(){return f.opts.ref},get open(){return f.root.opts.open.current},get id(){return i()},get trapFocus(){return Dr(v)},get preventScroll(){return u()},loop:!0,forceMount:!1,get customAnchor(){return h()},onOpenAutoFocus:b,get onCloseAutoFocus(){return a()},get shouldRender(){return f.shouldRender},popper:r,$$slots:{popper:!0}}))}};$o(y,e=>{n()?e(x):n()||e(k,1)}),mo(e,w),he()}var Lh=ho("<button><!></button>");function Mh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"type",3,"button"),s=Ri(t,"disabled",3,!1),a=Ri(t,"openOnHover",3,!1),l=Ri(t,"openDelay",3,700),c=Ri(t,"closeDelay",3,300),d=Di(t,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const u=wh.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(s())),openOnHover:wa(()=>a()),openDelay:wa(()=>l()),closeDelay:wa(()=>c())}),h=Je(()=>Za(d,u.props,{type:n()}));sh(e,{get id(){return o()},get ref(){return u.opts.ref},children:(e,r)=>{var o=fo(),i=It(o),n=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(h)})),mo(e,r)},s=e=>{var r=Lh();ki(r,()=>({...Dr(h)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(i,e=>{t.child?e(n):e(s,!1)}),mo(e,o)},$$slots:{default:!0}}),he()}function Sh(e,t){ue(t,!0);let r=Ri(t,"open",15,!1),o=Ri(t,"onOpenChange",3,Ol),i=Ri(t,"onOpenChangeComplete",3,Ol);Pl.create({variant:wa(()=>"dialog"),open:wa(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:wa(()=>i())});var n=fo();Do(It(n),()=>t.children??g),mo(e,n),he()}var $h=ho("<button><!></button>");function _h(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"disabled",3,!1),s=Di(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const a=Nl.create({variant:wa(()=>"close"),id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),disabled:wa(()=>Boolean(n()))}),l=Je(()=>Za(s,a.props));var c=fo(),d=It(c),u=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(l)})),mo(e,r)},h=e=>{var r=$h();ki(r,()=>({...Dr(l)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(d,e=>{t.child?e(u):e(h,!1)}),mo(e,c),he()}var Th=ho("<!> <!>",1),Eh=ho("<!> <div><!></div>",1);function Oh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"forceMount",3,!1),s=Ri(t,"onCloseAutoFocus",3,Ol),a=Ri(t,"onOpenAutoFocus",3,Ol),l=Ri(t,"onEscapeKeydown",3,Ol),c=Ri(t,"onInteractOutside",3,Ol),d=Ri(t,"trapFocus",3,!0),u=Ri(t,"preventScroll",3,!0),h=Ri(t,"restoreScrollDelay",3,null),p=Di(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const f=jl.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e))}),m=Je(()=>Za(p,f.props));var v=fo(),b=It(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().props;Zc(e,Wi(()=>Dr(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)=>{Bc(e,Wi(()=>Dr(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)=>{Qc(e,Wi(()=>Dr(m),{get ref(){return f.opts.ref},get enabled(){return f.root.opts.open.current},children:(e,r)=>{var i=fo(),n=It(i),s=e=>{var r=Th(),i=It(r),n=e=>{ud(0,{get preventScroll(){return u()},get restoreScrollDelay(){return h()}})};$o(i,e=>{f.root.opts.open.current&&e(n)});var s=At(i,2);{let e=Je(()=>({props:Za(Dr(m),o()),...f.snippetProps}));Do(s,()=>t.child,()=>Dr(e))}mo(e,r)},a=e=>{var r=Eh(),i=It(r);ud(0,{get preventScroll(){return u()}});var n=At(i,2);ki(n,e=>({...e}),[()=>Za(Dr(m),o())]),Do(Ot(n),()=>t.children??g),q(n),mo(e,r)};$o(n,e=>{t.child?e(s):e(a,!1)}),mo(e,i)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))};Gc(e,{get ref(){return f.opts.ref},loop:!0,get trapFocus(){return d()},get enabled(){return f.root.opts.open.current},get onOpenAutoFocus(){return a()},get onCloseAutoFocus(){return s()},focusScope:r,$$slots:{focusScope:!0}})}};$o(b,e=>{(f.shouldRender||n())&&e(w)}),mo(e,v),he()}function Ih(e,t){ue(t,!0);let r=Ri(t,"open",15,!1),o=Ri(t,"dir",3,"ltr"),i=Ri(t,"onOpenChange",3,Ol),n=Ri(t,"onOpenChangeComplete",3,Ol),s=Ri(t,"_internal_variant",3,"dropdown-menu");const a=Fc.create({variant:wa(()=>s()),dir:wa(()=>o()),onClose:()=>{r(!1),i()(!1)}});Nc.create({open:wa(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:wa(()=>n())},a),nh(e,{children:(e,r)=>{var o=fo();Do(It(o),()=>t.children??g),mo(e,o)},$$slots:{default:!0}}),he()}var Ah=ho("<div><div><!></div></div>"),zh=ho("<div><div><!></div></div>");function Ph(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"loop",3,!0),s=Ri(t,"onInteractOutside",3,Ol),a=Ri(t,"onEscapeKeydown",3,Ol),l=Ri(t,"onCloseAutoFocus",3,Ol),c=Ri(t,"forceMount",3,!1),d=Ri(t,"trapFocus",3,!1),u=Di(t,["$$slots","$$events","$$legacy","id","child","children","ref","loop","onInteractOutside","onEscapeKeydown","onCloseAutoFocus","forceMount","trapFocus","style"]);const h=jc.create({id:wa(()=>o()),loop:wa(()=>n()),ref:wa(()=>i(),e=>i(e)),onCloseAutoFocus:wa(()=>l())}),p=Je(()=>Za(u,h.props));function f(e){if(h.handleInteractOutside(e),!e.defaultPrevented&&(s()(e),!e.defaultPrevented)){if(e.target&&e.target instanceof Element){const t=`[${h.parentMenu.root.getBitsAttr("sub-content")}]`;if(e.target.closest(t))return}h.parentMenu.onClose()}}function m(e){a()(e),e.defaultPrevented||h.parentMenu.onClose()}var v=fo(),b=It(v),w=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Je(()=>Za(r?.().props,{style:Gu("dropdown-menu")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...h.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=Ah();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};dh(e,Wi(()=>Dr(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=Je(()=>Za(r?.().props,{style:Gu("dropdown-menu")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...h.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=zh();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};ch(e,Wi(()=>Dr(p),()=>h.popperProps,{get ref(){return h.opts.ref},get open(){return h.parentMenu.opts.open.current},onInteractOutside:f,onEscapeKeydown:m,get trapFocus(){return d()},get loop(){return n()},forceMount:!1,get id(){return o()},get shouldRender(){return h.shouldRender},popper:r,$$slots:{popper:!0}}))}};$o(b,e=>{c()?e(w):c()||e(y,1)}),mo(e,v),he()}var Fh=ho("<button><!></button>");function Nh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"disabled",3,!1),s=Ri(t,"type",3,"button"),a=Di(t,["$$slots","$$events","$$legacy","id","ref","child","children","disabled","type"]);const l=Wc.create({id:wa(()=>o()),disabled:wa(()=>n()??!1),ref:wa(()=>i(),e=>i(e))}),c=Je(()=>Za(a,l.props,{type:s()}));sh(e,{get id(){return o()},get ref(){return l.opts.ref},children:(e,r)=>{var o=fo(),i=It(o),n=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(c)})),mo(e,r)},s=e=>{var r=Fh();ki(r,()=>({...Dr(c)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(i,e=>{t.child?e(n):e(s,!1)}),mo(e,o)},$$slots:{default:!0}}),he()}function jh(e,t){ue(t,!0);let r=Ri(t,"open",15,!1),o=Ri(t,"onOpenChange",3,Ol),i=Ri(t,"onOpenChangeComplete",3,Ol);bh.create({open:wa(()=>r(),e=>{r(e),o()(e)}),onOpenChangeComplete:wa(()=>i())}),nh(e,{children:(e,r)=>{var o=fo();Do(It(o),()=>t.children??g),mo(e,o)},$$slots:{default:!0}}),he()}var Dh=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),qa(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)}},Hh=pl({component:"tooltip",parts:["content","trigger"]}),Wh=new il("Tooltip.Provider"),Rh=new il("Tooltip.Root"),Vh=class{#gi=dt(bt(new Map));get triggers(){return Dr(this.#gi)}set triggers(e){ht(this.#gi,e,!0)}#fi=dt(null);get activeTriggerId(){return Dr(this.#fi)}set activeTriggerId(e){ht(this.#fi,e,!0)}#mi=Je(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return Dr(this.#mi)}set activeTriggerNode(e){ht(this.#mi,e)}#vi=Je(()=>{const e=this.activeTriggerId;return null===e?null:this.triggers.get(e)?.payload??null});get activePayload(){return Dr(this.#vi)}set activePayload(e){ht(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))}},Bh=class e{static create(t){return Wh.set(new e(t))}opts;#wi=dt(!0);get isOpenDelayed(){return Dr(this.#wi)}set isOpenDelayed(e){ht(this.#wi,e,!0)}isPointerInTransit=Ca(!1);#yi;#xi=dt(null);constructor(e){this.opts=e,this.#yi=new Dh(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),Ka(()=>oo(window,"scroll",e=>{const t=Dr(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=>{Dr(this.#xi)&&Dr(this.#xi)!==e&&Dr(this.#xi).handleClose(),this.#Ci(),this.isOpenDelayed=!1,ht(this.#xi,e,!0)};onClose=e=>{Dr(this.#xi)===e&&ht(this.#xi,null),this.#ki()};isTooltipOpen=e=>Dr(this.#xi)===e},Uh=class e{static create(t){return Rh.set(new e(t,Wh.get()))}opts;provider;#Li=Je(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return Dr(this.#Li)}set delayDuration(e){ht(this.#Li,e)}#Mi=Je(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return Dr(this.#Mi)}set disableHoverableContent(e){ht(this.#Mi,e)}#Si=Je(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return Dr(this.#Si)}set disableCloseOnTriggerClick(e){ht(this.#Si,e)}#$i=Je(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return Dr(this.#$i)}set disabled(e){ht(this.#$i,e)}#_i=Je(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return Dr(this.#_i)}set ignoreNonKeyboardFocus(e){ht(this.#_i,e)}registry;tether;#Jt=dt(null);get contentNode(){return Dr(this.#Jt)}set contentNode(e){ht(this.#Jt,e,!0)}contentPresence;#Ti=dt(!1);#yi;#Ei=Je(()=>this.opts.open.current?Dr(this.#Ti)?"delayed-open":"instant-open":"closed");get stateAttr(){return Dr(this.#Ei)}set stateAttr(e){ht(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 Vh,this.#yi=new Dh(()=>{ht(this.#Ti,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,Ka(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new El({open:this.opts.open,ref:wa(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),sl(()=>this.delayDuration,()=>{void 0!==this.delayDuration&&(this.#yi=new Dh(()=>{ht(this.#Ti,!0),this.opts.open.current=!0},this.delayDuration))}),sl(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),sl(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),sl(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#yi.stop(),ht(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?(ht(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}},Zh=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,Rh.get(),null)}opts;root;tether;attachment;#Lr=Ca(!1);#Ii=dt(!1);domContext;#Ai=null;#wr=!1;#zi=null;constructor(e,t,r){this.opts=e,this.root=t,this.tether=r,this.domContext=new tl(e.ref),this.attachment=rl(this.opts.ref,e=>this.#Pi(e)),sl(()=>this.opts.id.current,()=>{this.#Pi(this.opts.ref.current)}),sl(()=>this.opts.payload.current,()=>{this.#Pi(this.opts.ref.current)}),sl(()=>this.opts.disabled.current,()=>{this.#Pi(this.opts.ref.current)}),Ka(()=>(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),ht(this.#Ii,!0))},250));t.onTriggerEnter(this.opts.id.current),ht(this.#Ii,!0)}};#Ri=e=>{const t=this.#Fi();t&&(this.#Ni()?t.opts.open.current&&t.handleClose():"touch"!==e.pointerType&&(Dr(this.#Ii)||(this.#ji(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),ht(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 ht(this.#Ii,!1);const r=e.relatedTarget;if(Ll(r)&&t.provider.opts.skipDelayDuration.current>0)for(const o of t.registry.triggers.values())if(o.node===r)return void ht(this.#Ii,!1);t.onTriggerLeave(),ht(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=Je(()=>{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":dl(r),"data-delay-duration":`${e?.delayDuration??0}`,[Hh.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 Dr(this.#f)}set props(e){ht(this.#f,e)}},qh=class e{static create(t){return new e(t,Rh.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=rl(this.opts.ref,e=>this.root.contentNode=e),new fh({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=>{Ll(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=Je(()=>({open:this.root.opts.open.current}));get snippetProps(){return Dr(this.#lr)}set snippetProps(e){ht(this.#lr,e)}#f=Je(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":dl(this.root.disabled),style:{outline:"none"},[Hh.content]:"",...this.attachment}));get props(){return Dr(this.#f)}set props(e){ht(this.#f,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Kh(e,t){ue(t,!0);let r=Ri(t,"open",15,!1),o=Ri(t,"triggerId",15,null),i=Ri(t,"onOpenChange",3,Ol),n=Ri(t,"onOpenChangeComplete",3,Ol);const s=Uh.create({open:wa(()=>r(),e=>{r(e),i()(e)}),triggerId:wa(()=>o(),e=>{o(e)}),delayDuration:wa(()=>t.delayDuration),disableCloseOnTriggerClick:wa(()=>t.disableCloseOnTriggerClick),disableHoverableContent:wa(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:wa(()=>t.ignoreNonKeyboardFocus),disabled:wa(()=>t.disabled),onOpenChangeComplete:wa(()=>n()),tether:wa(()=>t.tether)});nh(e,{tooltip:!0,children:(e,r)=>{var o=fo();Do(It(o),()=>t.children??g,()=>({open:s.opts.open.current,triggerId:s.activeTriggerId,payload:s.activePayload})),mo(e,o)},$$slots:{default:!0}}),he()}var Gh=ho("<div><div><!></div></div>"),Xh=ho("<div><div><!></div></div>");function Yh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"ref",15,null),n=Ri(t,"side",3,"top"),s=Ri(t,"sideOffset",3,0),a=Ri(t,"align",3,"center"),l=Ri(t,"avoidCollisions",3,!0),c=Ri(t,"arrowPadding",3,0),d=Ri(t,"sticky",3,"partial"),u=Ri(t,"hideWhenDetached",3,!1),h=Ri(t,"collisionPadding",3,0),p=Ri(t,"onInteractOutside",3,Ol),f=Ri(t,"onEscapeKeydown",3,Ol),m=Ri(t,"forceMount",3,!1),v=Di(t,["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]);const b=qh.create({id:wa(()=>o()),ref:wa(()=>i(),e=>i(e)),onInteractOutside:wa(()=>p()),onEscapeKeydown:wa(()=>f())}),w=Je(()=>({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=Je(()=>Za(v,Dr(w),b.props));var x=fo(),k=It(x),C=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Je(()=>Za(r?.().props,{style:Gu("tooltip")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...b.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=Gh();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};let i=Je(()=>b.root.disableHoverableContent?"none":"auto");dh(e,Wi(()=>Dr(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 Dr(i)},popper:r,$$slots:{popper:!0}}))}},L=e=>{{const r=(e,r)=>{let o=()=>r?.().wrapperProps;const i=Je(()=>Za(r?.().props,{style:Gu("tooltip")},{style:t.style}));var n=fo(),s=It(n),a=e=>{var r=fo(),n=It(r);{let e=Je(()=>({props:Dr(i),wrapperProps:o(),...b.snippetProps}));Do(n,()=>t.child,()=>Dr(e))}mo(e,r)},l=e=>{var r=Xh();ki(r,()=>({...o()}));var n=Ot(r);ki(n,()=>({...Dr(i)})),Do(Ot(n),()=>t.children??g),q(n),q(r),mo(e,r)};$o(s,e=>{t.child?e(a):e(l,!1)}),mo(e,n)};let i=Je(()=>b.root.disableHoverableContent?"none":"auto");ch(e,Wi(()=>Dr(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 Dr(i)},popper:r,$$slots:{popper:!0}}))}};$o(k,e=>{m()?e(C):m()||e(L,1)}),mo(e,x),he()}var Jh=ho("<button><!></button>");function Qh(e,t){const r=vo();ue(t,!0);let o=Ri(t,"id",19,()=>Il(r)),i=Ri(t,"disabled",3,!1),n=Ri(t,"type",3,"button"),s=Ri(t,"tabindex",3,0),a=Ri(t,"ref",15,null),l=Di(t,["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]);const c=Zh.create({id:wa(()=>o()),disabled:wa(()=>i()??!1),tabindex:wa(()=>s()??0),payload:wa(()=>t.payload),tether:wa(()=>t.tether),ref:wa(()=>a(),e=>a(e))}),d=Je(()=>Za(l,c.props,{type:n()}));var u=fo(),h=It(u),p=e=>{var r=fo();Do(It(r),()=>t.child,()=>({props:Dr(d)})),mo(e,r)},f=e=>{var r=Jh();ki(r,()=>({...Dr(d)})),Do(Ot(r),()=>t.children??g),q(r),mo(e,r)};$o(h,e=>{t.child?e(p):e(f,!1)}),mo(e,u),he()}function ep(e,t){ue(t,!0);let r=Ri(t,"delayDuration",3,700),o=Ri(t,"disableCloseOnTriggerClick",3,!1),i=Ri(t,"disableHoverableContent",3,!1),n=Ri(t,"disabled",3,!1),s=Ri(t,"ignoreNonKeyboardFocus",3,!1),a=Ri(t,"skipDelayDuration",3,300);Bh.create({delayDuration:wa(()=>r()),disableCloseOnTriggerClick:wa(()=>o()),disableHoverableContent:wa(()=>i()),disabled:wa(()=>n()),ignoreNonKeyboardFocus:wa(()=>s()),skipDelayDuration:wa(()=>a())});var l=fo();Do(It(l),()=>t.children??g),mo(e,l),he()}var tp=ho('<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>'),rp=ho('<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>'),op=ho("<!> <!>",1);function ip(e,t){const r=Ri(t,"open",3,!1),o=Ri(t,"delay",3,200),i=Ri(t,"disabled",3,!1),n=Ri(t,"text",3,"tooltip"),s=Ri(t,"side",3,"top"),a=Ri(t,"offset",3,8),l=Ri(t,"align",3,"center");var c=fo();Ho(It(c),()=>Kh,(e,c)=>{c(e,{get delayDuration(){return o()},get open(){return r()},get disabled(){return i()},children:(e,r)=>{var o=op(),i=It(o),c=e=>{var r=fo(),o=It(r);{const e=(e,r)=>{var o=fo();Do(It(o),()=>t.child,()=>({props:r?.().props})),mo(e,o)};Ho(o,()=>Qh,(r,o)=>{o(r,{class:"focus-visible rounded-lg superellipse group/tooltip",get tabindex(){return t.tabindex},child:e,$$slots:{child:!0}})})}mo(e,r)},d=e=>{var r=fo();Ho(It(r),()=>Qh,(e,r)=>{r(e,{class:"focus-visible rounded-lg superellipse group/tooltip",get tabindex(){return t.tabindex},children:(e,r)=>{var o=fo(),i=It(o),n=e=>{var r=fo();Do(It(r),()=>t.trigger),mo(e,r)},s=e=>{var r=fo();Do(It(r),()=>t.children),mo(e,r)};$o(i,e=>{t.trigger?e(n):t.children&&e(s,1)}),mo(e,o)},$$slots:{default:!0}})}),mo(e,r)};$o(i,e=>{t.child?e(c):e(d,!1)}),Ho(At(i,2),()=>Ul,(e,r)=>{r(e,{get to(){return t.portalTarget},children:(e,r)=>{var o=fo();Ho(It(o),()=>Yh,(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=fo(),i=It(o),s=e=>{var r=fo();Do(It(r),()=>t.tooltipContent),mo(e,r)},a=e=>{var r=rp(),o=Ot(r),i=At(o),s=e=>{var r=tp(),o=Ot(r,!0);q(r),Qt(()=>yo(o,t.key)),mo(e,r)};$o(i,e=>{t.key&&e(s)}),q(r),Qt(()=>yo(o,`${n()??""} `)),mo(e,r)};$o(i,e=>{t.tooltipContent?e(s):e(a,!1)}),mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,c)}function np(e,t){ue(t,!0);const{toolbar:r,environment:o}=cy();let i=Ri(t,"disabled",3,!1),n=Di(t,["$$slots","$$events","$$legacy","disabled"]);{let t=Je(()=>r?.wrapper),s=Je(()=>i()||o.touch);ip(e,Wi({get portalTarget(){return Dr(t)},get disabled(){return Dr(s)}},()=>n))}he()}var sp=ho("<!> <!>",1);function ap(e,t){ue(t,!0);const{win:r}=cy();let o=Ri(t,"opened",15,!1),i=Di(t,["$$slots","$$events","$$legacy","opened"]);qt(()=>{r.uiOpened=o()}),function(e,t){ue(t,!0);let r=Ri(t,"opened",15,!1),o=Ri(t,"side",3,"bottom"),i=Ri(t,"sideOffset",3,4),n=Ri(t,"align",3,"end"),s=Ri(t,"origin",3,"origin-top-right"),a=Di(t,["$$slots","$$events","$$legacy","opened","side","sideOffset","align","origin","customAnchor","onOpenChange","children","child","trigger"]);qt(()=>{t.onOpenChange?.(r())});var l=fo();Ho(It(l),()=>Ih,(e,l)=>{l(e,Wi(()=>a,{get open(){return r()},set open(e){r(e)},children:(e,r)=>{var a=sp(),l=It(a);Ho(l,()=>Nh,(e,r)=>{r(e,{get child(){return t.child},children:(e,r)=>{var o=fo(),i=It(o),n=e=>{var r=fo();Do(It(r),()=>t.trigger),mo(e,r)};$o(i,e=>{t.trigger&&e(n)}),mo(e,o)},$$slots:{default:!0}})}),Ho(At(l,2),()=>Ul,(e,r)=>{r(e,{children:(e,r)=>{var a=fo(),l=It(a);{let e=Je(()=>["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"]);Ho(l,()=>Ph,(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 Dr(e)},children:(e,r)=>{var o=fo();Do(It(o),()=>t.children),mo(e,o)},$$slots:{default:!0}})})}mo(e,a)},$$slots:{default:!0}})}),mo(e,a)},$$slots:{default:!0}}))}),mo(e,l),he()}(e,Wi(()=>i,{get opened(){return o()},set opened(e){o(e)}})),he()}var lp=po('<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 cp(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=lp();ki(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var dp=po('<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 up(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=dp();ki(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var hp=po('<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 pp(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=hp();ki(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var gp=po('<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 fp(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=gp();ki(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var mp=po('<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 vp(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=mp();ki(o,()=>({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var bp=po('<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 wp(e,t){const r=Di(t,["$$slots","$$events","$$legacy"]);var o=bp();ki(o,()=>({viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}function yp(e,t){const r={invisible:cp,"chevrons-up":up,check:pp,comments:fp,lock:vp,"folder-transparent":wp};let o=Ri(t,"name",3,"invisible"),i=Ri(t,"class",3,"");const n=Je(()=>r[o()]);var s=fo();Ho(It(s),()=>Dr(n),(e,t)=>{t(e,{get class(){return i()}})}),mo(e,s)}var xp=ho("<div><!></div>");function kp(e,t){const r=Ri(t,"size",3,"size-6.5 app:size-22");var o=xp();yp(Ot(o),{name:"check",class:"size-21"}),q(o),Qt(()=>si(o,1,ri(["text-green-400 bg-green-400/20 glass rounded-full flex items-center justify-center stroke-[2.5px]",r()]))),Xo(3,o,()=>ia,()=>({duration:200})),mo(e,o)}var Cp=ho('<div class="flex absolute"><!></div>'),Lp=ho('<button><div class="size-28 flex-center relative"><!></div></button>'),Mp=ho('<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>'),Sp=ho('<div class="flex absolute"><!></div>'),$p=ho('<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>'),_p=ho('<div><p> </p> <div class="flex gap-4 touch:gap-8"><!> <!></div></div>'),Tp=ho('<div tabindex="-1"><!> <!></div>');function Ep(e,t){ue(t,!0);const{win:r,sheet:o}=cy();let i=Ri(t,"padding",3,"p-8 pt-0 touch:p-10"),n=dt(!1),s=Je(()=>!!t.title&&t.title.length>16);var a=Tp(),l=Ot(a),c=e=>{var r=_p(),i=Ot(r),a=Ot(i,!0);q(i);var l=At(i,2),c=Ot(l),d=e=>{var r=fo(),o=It(r),i=e=>{{const r=(e,r=g)=>{{const o=(e,o=g)=>{var i=Lp();ki(i,()=>({...o().props,...r().props,class:["focus-visible size-28 flex-center glass-hover rounded-[10px] superellipse hover:bg-neutral-500/10","touch:size-36 touch:glass touch:bg-white/5 touch:rounded-[12px] "]}));var n=Ot(i),s=Ot(n),a=e=>{kp(e,{})},l=e=>{var r=Cp();pa(Ot(r),{get progress(){return t.progress},radius:9,stroke:3}),q(r),Xo(3,r,()=>ia,()=>({duration:200})),mo(e,r)};$o(s,e=>{100===t.progress?e(a):e(l,!1)}),q(n),q(i),mo(e,i)};let i=Je(()=>`${Math.round(t.progress)}% Done`);np(e,{get text(){return Dr(i)},delay:0,child:o,$$slots:{child:!0}})}};ap(e,{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Dr(n)},set opened(e){ht(n,e,!0)},child:r,children:(e,r)=>{var o=fo();Do(It(o),()=>t.popoverContent),mo(e,o)},$$slots:{child:!0,default:!0}})}},s=e=>{{let r=Je(()=>`${Math.round(t.progress)}% Done`);np(e,{get text(){return Dr(r)},delay:0,children:(e,r)=>{var o=$p(),i=Ot(o),n=Ot(i),s=e=>{var t=Mp();yp(Ot(t),{name:"check"}),q(t),Xo(3,t,()=>ia,()=>({duration:200})),mo(e,t)},a=e=>{var r=Sp();pa(Ot(r),{get progress(){return t.progress},radius:8,stroke:3}),q(r),Xo(3,r,()=>ia,()=>({duration:200})),mo(e,r)};$o(n,e=>{100===t.progress?e(s):e(a,!1)}),q(i),q(o),mo(e,o)},$$slots:{default:!0}})}};$o(o,e=>{t.popoverContent?e(i):e(s,!1)}),mo(e,r)};$o(c,e=>{void 0!==t.progress&&e(d)});var u=At(c,2),h=e=>{var r=fo();Do(It(r),()=>t.headerAfter),mo(e,r)};$o(u,e=>{t.headerAfter&&e(h)}),q(l),q(r),Qt(()=>{si(r,1,ri(["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"])),si(i,1,ri(["font-medium truncate flex-1",Dr(s)?"text-[20px]/[114%] touch:text-[28px]/[114%]":"text-[24px]/[114%] touch:text-[32px]/[114%]"])),yo(a,t.title)}),mo(e,r)};$o(l,e=>{void 0!==t.title&&e(c)});var d=At(l,2),u=e=>{var r=fo();Do(It(r),()=>t.children),mo(e,r)};$o(d,e=>{t.children&&e(u)}),q(a),Qt(()=>si(a,1,ri(["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]))),mo(e,a),he()}var Op=[["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"}]],Ip=[["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"}]],Ap=[["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"}]],zp=[["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"}]],Pp=[["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"}]],Fp=[["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"}]],Np=[["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"}]],jp=[["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"}]],Dp=[["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"}]],Hp=[["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"}]],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.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"}]],Rp=[["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"}]],Vp=[["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"}]],Bp=[["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"}]],Up=[["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"}]],Zp=[["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"}]],qp=[["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"}]],Kp=[["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"}]],Gp=[["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"}]],Xp=[["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"}]],Yp=[["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"}]],Jp=[["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"}]],Qp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),eg=po("<svg></svg>");function tg(e,t){ue(t,!0);let r=Ri(t,"size",3,24),o=Ri(t,"absoluteStrokeWidth",3,!1),i=Ri(t,"color",3,"currentColor"),n=Ri(t,"showAlt",3,!1),s=Ri(t,"class",3,""),a=Ri(t,"className",3,""),l=Di(t,["$$slots","$$events","$$legacy","icon","altIcon","size","strokeWidth","absoluteStrokeWidth","color","showAlt","class","className"]);const c=Je(()=>s()||a());let d,u=dt(void 0),h=dt(void 0);const p=Je(()=>({size:r(),strokeWidth:t.strokeWidth,absoluteStrokeWidth:o(),color:i(),altIcon:t.altIcon,showAlt:n(),class:Dr(c)}));Bi(()=>{if(d)return ht(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(Qp(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(Qp(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),ht(h,Dr(u).render(d,Dr(p)),!0),()=>{Dr(h)?.destroy()}}),qt(()=>{Dr(u)&&d&&Dr(h)&&Dr(h).update(Dr(p))});var g=eg();ki(g,()=>({xmlns:"http://www.w3.org/2000/svg",width:r(),height:r(),viewBox:"0 0 24 24",fill:"none",class:Dr(c),...l})),Fi(g,e=>d=e,()=>d),mo(e,g),he()}var rg=ho("<div><!></div>"),og=ho("<button><!> <!></button>");function ig(e,t){ue(t,!0);const r=(e,t)=>{let r=Qe(()=>m(t?.(),()=>({}),!0));var d=og();ki(d,()=>({...Dr(r),...u,class:["flex-center gap-4 text-sm/none font-medium rounded-[10px] touch:rounded-[12px] superellipse active:scale-95 cursor-pointer","transition-[background-color,scale] duration-100 ease-out will-change-[background-color,scale] focus-visible","disabled:opacity-30 disabled:grayscale disabled:pointer-events-none",l()?"bg-neutral-500/20 hover:bg-neutral-500/20 active:bg-neutral-500/10 text-sky-50 glass":s()+" "+a(),c()?"pl-6 pr-10 h-28 py-8":i()]}));var h=Ot(d);Eo(h,o,e=>{tg(e,{get icon(){return o()},get className(){return n()}})});var p=At(h,2),g=e=>{var t=rg();Do(Ot(t),c),q(t),mo(e,t)};$o(p,e=>{c()&&e(g)}),q(d),mo(e,d)};let o=Ri(t,"icon",3,Rp),i=Ri(t,"size",3,"size-28 touch:size-36"),n=Ri(t,"iconSize",3,"size-20 touch:size-26"),s=Ri(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=Ri(t,"glass",3,"glass-hover touch:bg-white/5"),l=Ri(t,"active",3,!1),c=Ri(t,"children",3,null),d=Ri(t,"tooltip",3,void 0),u=Di(t,["$$slots","$$events","$$legacy","icon","size","iconSize","colors","glass","active","children","tooltip"]);var h=fo(),p=It(h),g=e=>{{const t=(e,t)=>{r(e,()=>t?.().props)};np(e,Wi(d,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};$o(p,e=>{d()?.text?e(g):e(f,!1)}),mo(e,h),he()}var ng=ho('<div class="absolute right-8 top-1/2 -translate-y-1/2"><!></div>'),sg=ho("<label><input/> <!> <p> </p></label>");function ag(e,t){ue(t,!0);let r=Ri(t,"class",3,""),o=Ri(t,"value",15),i=Di(t,["$$slots","$$events","$$legacy","name","label","class","value","type"]);const n="password"===t.type;let s=dt(!1);const a=Je(()=>n&&Dr(s)?"text":t.type);var l=sg(),c=Ot(l);ki(c,()=>({id:`fubi-input-${t.name}`,name:t.name,type:Dr(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=At(c,2),u=e=>{var t=ng(),r=Ot(t);{let e=Je(()=>Dr(s)?Jp:Yp);ig(r,{type:"button",get icon(){return Dr(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:()=>ht(s,!Dr(s))})}q(t),mo(e,t)};$o(d,e=>{n&&e(u)});var h=At(d,2);si(h,1,ri(["select-none group-has-[input:disabled]/input:opacity-40 text-white/50 z-10 font-normal shrink-0 absolute top-0 bottom-0 left-2.5 app:left-10 pointer-events-none items-center flex text-base/none","peer-focus:text-xs/none peer-focus:bottom-[18px]","peer-[:not(:placeholder-shown)]:text-xs/none peer-[:not(:placeholder-shown)]:bottom-[18px]","transition-[bottom,color,font-size] duration-200 ease-out-cubic will-change-[bottom,color,font-size]"]));var p=Ot(h,!0);q(h),q(l),Qt(()=>{xi(l,"for",`fubi-input-${t.name}`),si(l,1,ri(["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()])),yo(p,t.label)}),_i(c,o),mo(e,l),he()}var lg=ho('<div class="absolute inset-0 flex items-center justify-center"><!></div>'),cg=ho("<span><!></span>"),dg=ho('<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>'),ug=ho("<!> <span><!> <!></span> <!>",1);function hg(e,t){let r=Ri(t,"variant",3,"default"),o=Ri(t,"glass",3,!0),i=Ri(t,"small",3,!1),n=Ri(t,"flex",3,!1),s=Ri(t,"loading",3,!1),a=Ri(t,"ping",3,!1),l=Ri(t,"type",3,"button"),c=Ri(t,"class",3,""),d=Di(t,["$$slots","$$events","$$legacy","variant","glass","small","flex","loading","ping","icon","iconClass","iconSize","href","type","disabled","class","children"]);const u=Je(()=>!!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=Je(()=>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=Je(()=>Dr(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=fo();Jo(It(f),()=>t.href?"a":"button",!1,(e,u)=>{ki(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"],Dr(p),Dr(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=ug(),m=It(f),v=e=>{var t=lg();tg(Ot(t),{get icon(){return Up},className:"size-5 animate-spin text-current opacity-50"}),q(t),mo(e,t)};$o(m,e=>{s()&&e(v)});var b=At(m,2),w=Ot(b),y=e=>{{let r=Je(()=>`shrink-0 ${t.iconClass||"text-current"} ${t.iconSize?t.iconSize:i()?"size-6":"size-5"}`);tg(e,{get icon(){return t.icon},get className(){return Dr(r)}})}};$o(w,e=>{t.icon&&e(y)});var x=At(w,2),k=e=>{var r=cg();Do(Ot(r),()=>t.children),q(r),Qt(()=>si(r,1,ri([i()?"pt-px app:pt-0":"pt-[2px] app:pt-0"]))),mo(e,r)};$o(x,e=>{t.children&&e(k)}),q(b);var C=At(b,2),L=e=>{mo(e,dg())};$o(C,e=>{a()&&e(L)}),Qt(()=>si(b,1,ri(["inline-flex items-center justify-center transition-opacity duration-100 pointer-events-none whitespace-nowrap",i()?"gap-2":"gap-1.5",s()&&"opacity-0"]))),mo(u,f)}),mo(e,f)}ho('<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>'),ho('<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>'),ho('<canvas class="fixed inset-0 -z-10 h-full w-full"></canvas> <!>',1),so(["click"]);var pg=ho("<!> <!>",1),gg=ho('<p class="text-rose-500 text-sm/[140%]"> </p>'),fg=ho('<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>'),mg=ho('<!> <a target="_blank" rel="noopener noreferrer"><p>Dashboard</p> <!></a> <!>',1);so(["click"]);var vg=ho("<ul><!></ul>");function bg(e,t){const r=Ri(t,"class",3,"");var o=vg();Do(Ot(o),()=>t.children),q(o),Qt(()=>si(o,1,ri(["list flex flex-col superellipse relief rounded-[20px] bg-neutral-500/10 p-3 gap-px",r()]))),mo(e,o)}var wg=[["path",{d:"M15 6L9 12.0001L15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],yg=[["path",{d:"M9.00005 6L15 12L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],xg=[["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"}]],kg=[["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"}]],Cg=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Lg=ho("<div><!></div>"),Mg=ho('<div class="w-12"></div>'),Sg=ho("<div><!></div>"),$g=ho("<p> </p>"),_g=po('<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>'),Tg=ho('<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 Eg(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}=cy();let i=Ri(t,"start",3,null),n=Ri(t,"icon",3,Vp),s=Ri(t,"title",3,"Title"),a=Ri(t,"subtitle",3,null),l=Ri(t,"subtitleSnippet",3,null),c=Ri(t,"classSubtitle",3,""),d=Ri(t,"classIcon",3,""),u=Ri(t,"active",3,null),h=Ri(t,"iconSize",3,"size-26 touch:size-30"),p=Ri(t,"height",3,"min-h-42 touch:min-h-56"),g=Ri(t,"type",3,"default"),f=Ri(t,"after",3,null),m=Ri(t,"chevron",3,!1),v=Ri(t,"disabled",3,null),b=Ri(t,"onclick",3,null),w=Ri(t,"index",3,0),y=Ri(t,"class",3,""),x=Di(t,["$$slots","$$events","$$legacy","start","icon","title","subtitle","subtitleSnippet","classSubtitle","classIcon","active","iconSize","height","type","after","chevron","disabled","onclick","index","class"]);const k=Je(()=>({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=Tg();ki(C,()=>({"data-active":!!u()||null,class:["listitem superellipse group/listitem w-full flex items-start touch:pr-10 rounded-[17px] touch:rounded-21 superellipse pr-10 select-none",p(),"focus-visible","disabled:cursor-not-allowed disabled:text-neutral-500/30","transition-[scale,background-color,border-radius] duration-150 ease-out","select-none",b()?u()?"cursor-pointer border-[0.5px] border-white/10 bg-sky-500/10 hover:bg-sky-500/20 touch:active:bg-neutral-500/30 active:bg-sky-500/30 active:scale-98":`cursor-pointer active:scale-98 ${r[g()]}`:"cursor-default bg-neutral-500/0 text-neutral-200",y()],disabled:v(),onclick:b(),tabindex:b()?0:-1,...x}));var L=Ot(C),M=e=>{var t=Lg(),r=Ot(t),o=e=>{var t=fo();Do(It(t),i),mo(e,t)},s=e=>{{let t=Je(()=>`${Dr(k)[g()]} ${d()} ${h()}`);tg(e,{get icon(){return n()},get className(){return Dr(t)}})}};$o(r,e=>{i()?e(o):e(s,!1)}),q(t),Qt(()=>si(t,1,ri(["w-54 mouse:w-42 flex-center shrink-0",p()]))),mo(e,t)},S=e=>{mo(e,Mg())};$o(L,e=>{i()||n()?e(M):e(S,!1)});var $=At(L,2),_=Ot($);si(_,1,ri(["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=Ot(_);si(T,1,ri(["text-[15px]/[110%] pb-1.5 touch:text-[18px]/none font-medium truncate w-full text-neutral-100"]));var E=Ot(T,!0);q(T);var O=At(T,2),I=e=>{var t=Sg();Do(Ot(t),l),q(t),Qt(()=>si(t,1,ri(["text-[14px]/[110%] font-normal mouse:text-xs/[105%] group-disabled/listitem:text-neutral-500/50 w-full",(u(),"text-neutral-400")]))),mo(e,t)},A=e=>{var t=$g(),r=Ot(t,!0);q(t),Qt(()=>{si(t,1,ri(["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")])),yo(r,a())}),mo(e,t)};$o(O,e=>{l()?e(I):a()&&e(A,1)}),q(_);var z=At(_,2),P=Ot(z),F=e=>{var t=fo();Do(It(t),f),mo(e,t)};$o(P,e=>{f()&&e(F)});var N=At(P,2),j=e=>{mo(e,_g())};$o(N,e=>{m()&&e(j)}),q(z),q($),q(C),Qt(()=>{si($,1,ri(["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"])),yo(E,s())}),Xo(1,C,()=>ia,()=>({duration:600,easing:Hs,delay:40*w(),start:.9})),Xo(2,C,()=>ea,()=>({duration:o.navigating?0:400,easing:Ds})),mo(e,C),he()}function Og(e){!function(e){let t=Ri({class:"size-20 text-neutral-500"},"class",3,"size-4 app:size-24");tg(e,{get icon(){return Up},get className(){return`animate-spin ${t()??""}`}})}(e)}var Ig=ho('<p class="font-normal text-balance text-[13px]/[130%] max-w-[24ch]"><!></p>'),Ag=ho('<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 zg(e,t){const r=Ri(t,"title",3,"Title"),o=Ri(t,"height",3,"");var i=Ag(),n=Ot(i),s=Ot(n),a=e=>{tg(e,{get icon(){return t.icon},className:"app:size-32 size-8"})};$o(s,e=>{t.icon&&e(a)});var l=At(s,2),c=Ot(l,!0);q(l);var d=At(l,2),u=e=>{var r=fo();Do(It(r),()=>t.children),mo(e,r)};$o(d,e=>{t.children&&e(u)});var h=At(d,2),p=e=>{var r=Ig();jo(Ot(r),()=>t.subtitle),q(r),mo(e,r)};$o(h,e=>{t.subtitle&&e(p)}),q(n),q(i),Qt(()=>{si(i,1,ri(["flex-1",o()])),yo(c,r())}),Xo(3,n,()=>ia,()=>({start:.8,duration:500,easing:Hs})),Xo(3,i,()=>oa,()=>({duration:50})),mo(e,i)}var Pg=ho('<div class="absolute"><!></div>'),Fg=ho("<div><!></div>"),Ng=ho("<!> <!>",1),jg=ho("<div><!></div>"),Dg=ho('<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>'),Hg=ho('<div class="relative"><!> <!></div>');function Wg(e,t){ue(t,!0);const r=(e,r)=>{let c=Qe(()=>m(r?.(),()=>({}),!0));var u=Hg(),h=Ot(u);Jo(h,()=>t.href?"a":"button",!1,(e,r)=>{ki(e,()=>({type:t.href?void 0:"button",href:t.href,...Dr(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=Ng(),h=It(u),p=e=>{var r=Fg();Eo(Ot(r),()=>t.icon,e=>{var r=Pg();tg(Ot(r),{get icon(){return t.icon},get strokeWidth(){return i()},get className(){return o()}}),q(r),Xo(3,r,()=>ia,()=>({opacity:0,start:.5,duration:200,easing:Hs})),mo(e,r)}),q(r),Qt(()=>si(r,1,ri([o(),"flex-center relative"]))),mo(e,r)};$o(h,e=>{t.icon&&e(p)}),Do(At(h,2),()=>t.children??g),mo(r,u)});var p=At(h,2),f=e=>{var r=jg();tg(Ot(r),{get icon(){return t.statusIcon},className:"size-14 touch:size-16"}),q(r),Qt(()=>si(r,1,ri(["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"]))),mo(e,r)},v=e=>{mo(e,Dg())};$o(p,e=>{t.status&&t.statusIcon?e(f):a()&&e(v,1)}),q(u),mo(e,u)};let o=Ri(t,"iconSize",3,"size-20"),i=Ri(t,"iconStrokeWidth",3,1.5),n=Ri(t,"size",3,"h-32 min-w-32 touch:h-44 touch:min-w-44"),s=Ri(t,"active",3,!1),a=Ri(t,"alert",3,!1),l=Ri(t,"class",3,""),c=Ri(t,"tooltip",3,void 0),d=Di(t,["$$slots","$$events","$$legacy","icon","iconSize","iconStrokeWidth","size","href","active","alert","status","statusIcon","class","children","tooltip"]);var u=fo(),h=It(u),p=e=>{{const t=(e,t)=>{r(e,()=>t?.().props)};np(e,Wi(c,{child:t,$$slots:{child:!0}}))}},f=e=>{r(e)};$o(h,e=>{c()?.text?e(p):e(f,!1)}),mo(e,u),he()}var Rg=po('<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>'),Vg=ho("<div><p> </p> <p> </p></div>"),Bg=ho('<div data-fubi-drag-handle=""><div class="flex-1"><!></div> <!> <div class="flex-1 flex justify-end touch:gap-8"><!></div></div>');function Ug(e,t){ue(t,!0);const{win:r,router:o,sheet:i}=cy();Ri(t,"back",3,"Back");let n=Ri(t,"onBack",3,null),s=Ri(t,"title",3,""),a=Ri(t,"label",3,"");const l=()=>{"function"==typeof n()?n()():"string"==typeof n()?o.goto(n(),{},"back"):!0===n()&&o.back()};let c=Je(()=>r.contentScrollState?.y>2);var d=Bg(),u=Ot(d),h=Ot(u),p=e=>{Wg(e,{onclick:l,children:(e,t)=>{mo(e,Rg())},$$slots:{default:!0}})};$o(h,e=>{null!==n()&&e(p)}),q(u);var g=At(u,2),f=e=>{var t=Vg(),r=Ot(t),o=Ot(r,!0);q(r);var n=At(r,2),l=Ot(n,!0);q(n),q(t),Qt(()=>{si(t,1,ri(["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":""])),xi(r,"title",s()),si(r,1,ri(["text-lg/[110%] touch:text-xl/[110%] text-neutral-300 font-medium transition-[scale,opacity] truncate max-w-176",Dr(c)?"ease-out-cubic duration-400 delay-100":"opacity-0 scale-80 ease-in-cubic duration-200"])),yo(o,s()||" "),si(n,1,ri([" transition-[font-size,translate,color] ease-in-out-cubic px-8",Dr(c)?"text-xs/none duration-300 text-neutral-500":"text-neutral-300 text-base/none -translate-y-10 touch:-translate-y-14 duration-200"])),yo(l,a())}),mo(e,t)};$o(g,e=>{a()&&e(f)});var m=At(g,2),v=Ot(m),b=e=>{var r=fo();Do(It(r),()=>t.after),mo(e,r)};$o(v,e=>{t.after&&e(b)}),q(m),q(d),Qt(()=>si(d,1,ri(["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",Dr(c)?"border-white/10":"border-white/0",i.collapsed?"max-h-0! border-transparent! opacity-0":"max-h-100"]))),mo(e,d),he()}var Zg=ho('<div class="flex-center h-9 app:h-36 group-aria-disabled/item:opacity-30"><!></div>'),qg=ho("<div><!></div>"),Kg=ho("<p> </p>"),Gg=ho('<p class="text-neutral-500 text-[15px]/[110%] touch:text-[18px]/none pb-0.5 app:pb-2"> </p>'),Xg=ho('<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>'),Yg=ho("<!> <!> <div><p> </p> <!></div> <div><!> <!> <!></div>",1);function Jg(e,t){ue(t,!0);let r=Ri(t,"component",19,()=>hh),o=Ri(t,"type",3,"default"),i=Di(t,["$$slots","$$events","$$legacy","component","active","checked","chevron","type","start","icon","iconClass","title","subtitle","after","label","end","closeOnSelect","class"]);const n=r(),s=Je(()=>["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=Je(()=>t.closeOnSelect??(!!t.onclick&&!t.chevron)),l=Je(()=>[Dr(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,Wi({get closeOnSelect(){return Dr(r)},get class(){return Dr(l)}},()=>i,{children:(e,r)=>{var i=Yg(),n=It(i),s=e=>{var r=Zg();Do(Ot(r),()=>t.start),q(r),mo(e,r)};$o(n,e=>{t.start&&e(s)});var l=At(n,2),c=e=>{var r=qg(),i=Ot(r);{let e=Je(()=>`size-5 app:size-20 touch:app:size-22 ${t.iconClass??""}`);tg(i,{get icon(){return t.icon},get className(){return Dr(e)}})}q(r),Qt(()=>si(r,1,ri(["flex-center size-9 app:size-36 group-aria-disabled/item:opacity-30",a[o()]]))),mo(e,r)};$o(l,e=>{t.icon&&e(c)});var d=At(l,2),u=Ot(d);si(u,1,ri(["text-[15px]/[110%] touch:text-[17px]/none font-normal"]));var h=Ot(u,!0);q(u);var p=At(u,2),g=e=>{var r=Kg();si(r,1,ri(["text-[13px]/[114%] font-normal mouse:text-xs/[114%] line-clamp-1 text-white/50"]));var o=Ot(r,!0);q(r),Qt(()=>yo(o,t.subtitle)),mo(e,r)};$o(p,e=>{t.subtitle&&e(g)}),q(d);var f=At(d,2),m=Ot(f),v=e=>{var r=Gg(),o=Ot(r,!0);q(r),Qt(()=>yo(o,t.after)),mo(e,r)};$o(m,e=>{t.after&&e(v)});var b=At(m,2),w=e=>{var r=Xg(),o=Ot(r,!0);q(r),Qt(()=>yo(o,t.label)),mo(e,r)};$o(b,e=>{t.label&&e(w)});var y=At(b,2),x=e=>{var r=fo();Do(It(r),()=>t.end),mo(e,r)},k=e=>{{let r=Je(()=>t.checked?Xp:Pp),o=Je(()=>"size-4 app:size-16 "+(t.checked?"text-sky-400":""));tg(e,{get icon(){return Dr(r)},get className(){return Dr(o)}})}};$o(y,e=>{t.end?e(x):(t.checked||t.chevron)&&e(k,1)}),q(f),Qt(()=>{si(d,1,ri(["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"])),yo(h,t.title),si(f,1,ri(["flex-center group-aria-disabled/item:opacity-30",t.chevron?"pr-1 app:pr-4":"pr-2 app:pr-8"]))}),mo(e,i)},$$slots:{default:!0}}))}he()}var Qg=[["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"}]],ef=[["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"}]],tf=[["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"}]],rf=[["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"}]],of=[["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"}]],nf=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],sf=[["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"}]],af=[["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"}]],lf=[["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"}]],cf=[["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"}]],df=[["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"}]],uf=[["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"}]],hf=[["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"}]],pf=[["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"}]],gf=[["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"}]],ff=[["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"}]],mf=[["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"}]],vf=[["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"}]],bf=[["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"}]],wf=[["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"}]],yf=[["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"}]],xf=[["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"}]],kf=[["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"}]],Cf=[["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"}]],Lf=[["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"}]],Mf=[["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"}]],Sf=[["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"}]],_f=[["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"}]],Tf=[["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"}]],Ef=[["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"}]],Of=[["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"}]],If=[["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"}]],Af=[["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"}]],zf=[["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"}]],Pf=[["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"}]],Ff=[["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"}]],Nf=[["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"}]],jf=[["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"}]],Df=[["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"}]],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:"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"}]],Wf=[["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"}]],Rf=[["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"}]],Vf=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Bf=[["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"}]],Uf=[["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"}]],Zf=[["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"}]],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:"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"}]],Kf=[["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"}]],Gf=[["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"}]],Xf=[["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"}]],Yf=[["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"}]],Jf=[["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"}]],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"}],["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"}]],em=[["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"}]],tm=[["path",{d:"M3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 9L21.5 9",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M2.5 13L21.5 13",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M2.5 17L21.5 17",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 21.5L12 9",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}]],rm=[["circle",{cx:"1.5",cy:"1.5",r:"1.5",transform:"matrix(1 0 0 -1 16 8.00024)",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.77423 11.1439C1.77108 12.2643 1.7495 13.9546 2.67016 15.1437C4.49711 17.5033 6.49674 19.5029 8.85633 21.3298C10.0454 22.2505 11.7357 22.2289 12.8561 21.2258C15.8979 18.5022 18.6835 15.6559 21.3719 12.5279C21.6377 12.2187 21.8039 11.8397 21.8412 11.4336C22.0062 9.63798 22.3452 4.46467 20.9403 3.05974C19.5353 1.65481 14.362 1.99377 12.5664 2.15876C12.1603 2.19608 11.7813 2.36233 11.472 2.62811C8.34412 5.31646 5.49781 8.10211 2.77423 11.1439Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.00002 14.0002L10 17.0002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],om=[["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"}]],im=[["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"}]],nm=[["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"}]],sm=[["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"}]],am=[["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"}]],lm=[["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"}]],cm=[["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"}]],dm=[["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"}]],um=[["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"}]],hm=[["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"}]],pm=[["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"}]],gm=[["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"}]],fm=[["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"}]],mm=[["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"}]],vm=[["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"}]],bm=[["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"}]],wm=[["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"}]],ym=po('<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 xm(e,t){ue(t,!0);let r=Ri(t,"progress",3,0),o=Ri(t,"radius",3,12),i=Ri(t,"stroke",3,4),n=Ri(t,"colorful",3,!0),s=new Fs(0,{stiffness:.04,damping:.4}),a=Je(()=>2*Math.PI*o()),l=Je(()=>s.current/100*Dr(a)),c=Je(()=>o()+i()),d=Je(()=>2*(o()+i())),u=Je(()=>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");qt(()=>{s.set(r())});var h=ym(),p=Ot(h),g=At(p);q(h),Qt(()=>{xi(h,"width",Dr(d)),xi(h,"height",Dr(d)),xi(h,"viewBox",`0 0 ${Dr(d)} ${Dr(d)}`),si(h,0,ri(["-rotate-90 shrink-0 transition-colors duration-200",Dr(u),t.class])),xi(p,"cx",Dr(c)),xi(p,"cy",Dr(c)),xi(p,"r",o()),xi(p,"stroke-width",i()),si(g,0,ri(["transition-opacity duration-200",0===r()?"opacity-0":"opacity-100"])),xi(g,"cx",Dr(c)),xi(g,"cy",Dr(c)),xi(g,"r",o()),xi(g,"stroke-width",i()),xi(g,"stroke-dasharray",`${Dr(l)} ${Dr(a)}`)}),mo(e,h),he()}var km=ho('<p class="text-base/none text-white"> </p>'),Cm=ho('<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 Lm(e,t){ue(t,!0);let r=new Fs(0,{stiffness:.04,damping:.4}),o=Ri(t,"radius",3,12),i=Ri(t,"title",3,"Progress");qt(()=>{r.set(t.progress)});var n=Cm(),s=Ot(n),a=Ot(s),l=Ot(a,!0);q(a);var c=At(a,2),d=Ot(c),u=e=>{var r=fo();Do(It(r),()=>t.children),mo(e,r)},h=e=>{var o=km(),i=Ot(o,!0);q(o),Qt(e=>yo(i,e),[()=>t.content?t.content:void 0!==t.progress?`${r.current.toFixed(0)}%`:""]),mo(e,o)};$o(d,e=>{t.children?e(u):e(h,!1)}),q(c),q(s);var p=At(s,2),g=e=>{xm(e,{get progress(){return t.progress},get radius(){return o()}})};$o(p,e=>{void 0!==t.progress&&e(g)}),q(n),Qt(()=>{si(n,1,`flex gap-6 flex-1 h-full items-center justify-between ${t.class??""}`),yo(l,i())}),mo(e,n),he()}var Mm=ho('<p class="text-base/none"><span class="text-white"> </span> </p>'),Sm=ho('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 opacity-50 w-full shrink-0"></div> <!></div>'),$m=ho("<!> <!> <!>",1),_m=ho('<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>'),Tm=ho('<div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div>'),Em=ho('<div role="presentation"><!></div> <!>',1),Om=ho('<div class="h-120 w-full flex-center"><!></div>'),Im=ho('<a target="_blank" class="text-sky-400 hover:underline">Create a folder</a>.',1),Am=ho("<p>There are no folders in this project.<br/> <!></p>"),zm=ho('<p class="p-4 text-center text-sm text-gray-500">No folders</p> <!>',1),Pm=ho('<p class="p-4 text-center text-sm text-rose-500">Error loading folders</p>'),Fm=ho("<!> <!>",1),Nm=ho("<!> <!>",1);so(["click","keydown"]);var jm=ho('<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>'),Dm=ho('<div class="flex absolute"><!> <!></div>'),Hm=ho('<div><!> <div class="flex items-center justify-center relative size-6.5 app:size-26"><!></div></div>');function Wm(e,t){let r=Ri(t,"progress",3,0),o=Ri(t,"done",3,0),i=Ri(t,"total",3,0),n=Ri(t,"radius",3,8),s=Ri(t,"stroke",3,3),a=Ri(t,"bg",3,!1),l=Ri(t,"showCount",3,!0),c=Ri(t,"tabindex",3,0);{let t=Je(()=>`${Math.round(r())}% Done`);ip(e,{get text(){return Dr(t)},delay:100,side:"left",offset:4,get tabindex(){return c()},children:(e,t)=>{var c=Hm(),d=Ot(c),u=e=>{var t=jm(),r=Ot(t),n=Ot(r,!0);q(r);var s=At(r,2),a=Ot(s,!0);q(s),q(t),Qt(()=>{yo(n,o()),yo(a,i())}),Xo(3,t,()=>oa,()=>({axis:"x",duration:200})),mo(e,t)};$o(d,e=>{l()&&e(u)});var h=At(d,2),p=Ot(h),g=e=>{kp(e,{})},f=e=>{var t=Dm(),o=Ot(t);xm(o,{get progress(){return r()},get radius(){return n()},get stroke(){return s()},class:"touch:hidden"}),xm(At(o,2),{get progress(){return r()},radius:10,stroke:3,class:"mouse:hidden"}),q(t),Xo(3,t,()=>ia,()=>({duration:200})),mo(e,t)};$o(p,e=>{100===r()?e(g):e(f,!1)}),q(h),q(c),Qt(()=>si(c,1,ri(["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":""]))),mo(e,c)},$$slots:{default:!0}})}}ho("<!> <!>",1);var Rm=ho("<p><!></p>");function Vm(e,t){let r=Ri(t,"margin",3,"mb-6");var o=Rm();Do(Ot(o),()=>t.children),q(o),Qt(()=>si(o,1,`text-neutral-400 text-sm/none ${r()} px-10`)),mo(e,o)}var Bm=ho("<!> <!> <!>",1),Um=ho("<!> <!>",1),Zm=ho('<p class="text-base/none"><span class="text-white"> </span> </p>'),qm=ho('<p class="text-base/none"><span class="text-white"> </span> </p>'),Km=ho('<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>'),Gm=ho('<a draggable="false" class="focus-visible group/listitem-link rounded-[17px] superellipse"><!></a>'),Xm=ho("<!> <!>",1),Ym=ho('<div class="flex-center h-full"><!></div>'),Jm=ho("<!> <!> <!> <!>",1),Qm=ho("<!> <!>",1);function ev(e,{from:t,to:r},o={}){var{delay:i=0,duration:n=e=>120*Math.sqrt(e),easing:s=Hs}=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 tv=ho('<div class="flex gap-6 select-none"><img draggable="false" class="size-28 touch:size-36 rounded-[10px] bg-white/10 outline-[0.5px] select-none outline-white/10"/> <div class="flex flex-col justify-center gap-1 bg-white/0"><p class="text-[14px]/none touch:text-[18px]/none font-medium"><span><!></span> <span class="hidden has-[mark]:inline"><!></span></p> <p class="text-xs/none touch:text-sm/none text-neutral-500 font-normal"> </p></div></div>');function rv(e,t){ue(t,!0);let r=Ri(t,"created",19,()=>Date.now()),o=Ri(t,"author",3,null);const{comments:i,auth:n}=cy(),s=Je(()=>fs(new Date(r()))),a=Je(()=>i.highlightRenderedHTML(o()?.firstName||"")),l=Je(()=>i.highlightRenderedHTML(o()?.lastName||""));let c=Je(()=>hs(o(),"avatar")),d=Je(()=>Dr(c)+"?thumb=64x64");var u=tv(),h=Ot(u),p=At(h,2),g=Ot(p),f=Ot(g);jo(Ot(f),()=>Dr(a)),q(f);var m=At(f,2);jo(Ot(m),()=>Dr(l)),q(m),q(g);var v=At(g,2),b=Ot(v,!0);q(v),q(p),q(u),Qt(()=>{xi(h,"src",Dr(d)),xi(h,"alt",o()?.firstName+" "+o()?.lastName),yo(b,Dr(s))}),mo(e,u),he()}var ov=ho("<div><!></div>"),iv=ho('<div class="w-34 mouse:w-24 shrink-0"></div>'),nv=ho('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-neutral-500">Selection not allowed</p>'),sv=ho('<p class="text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal text-orange-400/50">Hidden</p>'),av=ho("<p> </p>"),lv=ho('<div><!> <span class="text-sm/none mouse:text-xs/none font-medium"> </span></div>'),cv=ho('<div class="flex flex-col gap-4"></div>'),dv=ho('<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 uv(e,t){ue(t,!0);let r=Ri(t,"depth",3,0),o=Ri(t,"missing",3,!1),i=Je(()=>t.node.selected),n=Je(()=>t.node.threadCount>0),s=Je(()=>t.node.hasNestedThreads&&!Dr(n)),a=dt(null);qt(()=>{if(!t.node.selected||!Dr(a))return;const e=Dr(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=dv(),c=Ot(l),d=e=>{var r=fo(),o=It(r),n=e=>{var t=ov();let r;tg(Ot(t),{get icon(){return yg},strokeWidth:2,className:"size-20 mouse:size-16"}),q(t),Qt(()=>r=si(t,1,ri(["w-34 h-46 mouse:w-24 mouse:h-32 flex-center shrink-0 transition-transform duration-200 ease-out",Dr(i)?"text-sky-500":"text-white/40"]),null,r,{"rotate-90":Dr(i)})),mo(e,t)},s=e=>{mo(e,iv())};$o(o,e=>{t.node.hasChildren?e(n):e(s,!1)}),mo(e,r)};$o(c,e=>{r()>0&&e(d)});var u=At(c,2),h=Ot(u);xi(h,"tabindex",-1);var p=Ot(h),g=Ot(p);{let e=Je(()=>t.node.ignored?dm:t.node.hidden?hm:t.node.icon),r=Je(()=>o()?void 0:1.5),i=Je(()=>"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":Dr(n)||Dr(s)?"text-indigo-400":"text-neutral-400"));tg(g,{get icon(){return Dr(e)},get strokeWidth(){return Dr(r)},get className(){return Dr(i)}})}q(p);var f=At(p,2),m=Ot(f),v=Ot(m,!0);q(m);var b=At(m,2),w=e=>{mo(e,nv())},y=e=>{mo(e,sv())},x=e=>{var r=av(),i=Ot(r,!0);q(r),Qt(()=>{si(r,1,ri(["text-[13px]/[110%] mouse:text-[11px]/[110%] truncate font-normal",o()?"text-orange-400/50":"text-neutral-400"])),yo(i,t.node.subtitle)}),mo(e,r)};$o(b,e=>{t.node.ignored?e(w):t.node.hidden?e(y,1):t.node.subtitle&&e(x,2)}),q(f);var k=At(f,2),C=e=>{var r=lv(),o=Ot(r);tg(o,{get icon(){return Wp},className:"size-18 mouse:size-14"});var i=At(o,2),n=Ot(i,!0);q(i),q(r),Qt(()=>{si(r,1,ri(["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"])),yo(n,t.node.threadCount)}),mo(e,r)};$o(k,e=>{!o()&&Dr(n)&&e(C)}),q(h),Fi(h,e=>ht(a,e),()=>Dr(a));var L=At(h,2),M=e=>{var o=cv();Ao(o,21,()=>t.node.children,e=>e.el,(e,o)=>{{let i=Je(()=>r()+1);uv(e,{get node(){return Dr(o)},get depth(){return Dr(i)},get onselect(){return t.onselect}})}}),q(o),Xo(3,o,()=>oa,()=>({duration:200,easing:Hs})),mo(e,o)};$o(L,e=>{!o()&&Dr(i)&&t.node.children.length>0&&e(M)}),q(u),q(l),Qt(()=>{si(h,1,ri(["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(),si(p,1,ri(["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":Dr(n)||Dr(s)?"bg-indigo-500/10":"bg-white/5"])),si(m,1,ri(["text-[16px]/[110%] mouse:text-[13px]/[110%] font-medium truncate",o()?"text-orange-400":t.node.selected?"text-sky-300":Dr(n)||Dr(s)?"text-indigo-300":"text-neutral-200"])),yo(v,t.node.name)}),no("click",h,()=>{o()||t.node.ignored||(cs(),t.onselect(t.node))}),io("pointerenter",h,()=>{o()||t.node.ignored||!t.onhover||t.onhover(t.node)}),io("pointerleave",h,()=>{o()||t.node.ignored||!t.onleave||t.onleave()}),mo(e,l),he()}so(["click"]);var hv={div:{name:"Div",icon:Jf},span:{name:"Span",icon:lm},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:yf},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:_f},form:{name:"Form",icon:jf},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:Sf},header:{name:"Header",icon:_f},article:{name:"Article",icon:jf},section:{name:"Section",icon:Sf},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:Lf},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:tm},th:{name:"Table Header",icon:tm},td:{name:"Table Data",icon:tm},svg:{name:"Vector",icon:em},path:{name:"SVG Path",icon:em},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:Ef},h1:{name:"Heading 1",icon:vf},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:lm},ul:{name:"List",icon:If},ol:{name:"Numbered List",icon:If},li:{name:"List Item",icon:If},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:ef},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:Wf},fieldset:{name:"Fieldset",icon:rf},legend:{name:"Legend",icon:Bf},details:{name:"Details",icon:ef},summary:{name:"Summary",icon:lm},dialog:{name:"Dialog",icon:_f},canvas:{name:"Canvas",icon:Rf},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:rf},iframe:{name:"iFrame",icon:Jf},object:{name:"Object",icon:Wf},embed:{name:"Embed",icon:Wf},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:lm},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:yf},blockquote:{name:"Block Quote",icon:Bf},hr:{name:"Horizontal Rule",icon:Jf},address:{name:"Address",icon:lm},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:Rf},abbr:{name:"Abbreviation",icon:am},cite:{name:"Citation",icon:Bf},code:{name:"Code",icon:Yf},pre:{name:"Preformatted Text",icon:df},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:df},var:{name:"Variable Name",icon:Yf},sub:{name:"Subscript",icon:am},sup:{name:"Superscript",icon:am},b:{name:"Bold",icon:im},i:{name:"Italic",icon:sm},u:{name:"Underline",icon:cm},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:am},strong:{name:"Strong Emphasis",icon:im},em:{name:"Emphasis",icon:sm},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:cm},q:{name:"Inline Quote",icon:Bf},data:{name:"Data",icon:sf},meter:{name:"Meter",icon:sf},progress:{name:"Progress",icon:sf},output:{name:"Output",icon:df},template:{name:"Template",icon:$f},favicon:{name:"Favicon",icon:yf},url:{name:"Page URL",icon:Ef},shareimage:{name:"Share Image",icon:yf},title:{name:"Page Title",icon:vf},description:{name:"Page Description",icon:lm}},pv={name:"Element",icon:Jf},gv=ho("<button><!></button>"),fv=ho("<div><!></div>"),mv=ho('<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),vv=ho("<!> <!>",1),bv=ho("<div><!></div>"),wv=ho("<div><!></div>"),yv=ho('<div class="flex"><!></div>'),xv=ho('<div class="flex"><!></div>'),kv=ho("<button><!></button>"),Cv=ho("<div><!></div>");function Lv(e,t){ue(t,!0);const{meta:r,hover:o,tracer:i,dom:n,sheet:s,environment:a,elements:l,toolbar:c}=cy();let d=dt(null),u=Ri(t,"element",3,null),h=Ri(t,"anchorEl",3,null),p=Ri(t,"hidden",3,!1),g=Ri(t,"missing",3,!1),f=Ri(t,"selector",3,""),m=Ri(t,"meta",3,!1),v=Je(()=>h()??Dr(d)),b=dt(!1),w=dt(!1),y=dt(null),x=Je(()=>{if(!g()||!f()||!1===Dr(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=hv[s]||pv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Op,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=hv[s]||pv;t.push({node:{el:null,tag:s,name:e.name,subtitle:"Missing element",icon:Op,selected:!1,inPath:!1,children:[],hasChildren:!1,threadCount:0,hasNestedThreads:!1},missing:!0});continue}t.push({node:l.makeNode(a,a===Dr(y),!1),missing:!1})}return t});const k=()=>{u()&&Dr(v)&&(a.touch||m()&&!r.visible||(o.isIsolated||(ht(b,!0),o.highlightInstant=!0,o.focus(u())),i.trace(u(),Dr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}})))},C=async()=>{a.touch||(o.isIsolated||(o.unfocus(),ht(b,!1),await jr(),o.highlightInstant=!1),i.hide())};let L=dt(!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)};qt(()=>{Dr(L)&&r.visible&&(ht(L,!1),setTimeout(()=>{const e=M();e&&S(e)},200))});const $=()=>{if(m()&&!r.visible)return r.show(),void ht(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=>{Dr(v)&&!a.touch&&(o.isIsolated||(o.highlightInstant=!0,o.focus(e.el)),i.trace(e.el,Dr(v),{from:{point:"border",offset:4},to:{point:"border",offset:0}}))},T=async()=>{a.touch||(o.isIsolated||(o.unfocus(),await jr(),o.highlightInstant=!1),i.hide())};qt(()=>{g()&&Dr(b)&&(o.isIsolated||(o.unfocus(),o.highlightInstant=!1),i.hide(),ht(b,!1))});var E=fo(),O=It(E),I=e=>{{const t=(e,t)=>{var r=bv();ki(r,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"})),Ho(Ot(r),()=>jh,(e,t)=>{t(e,{get open(){return Dr(w)},set open(e){ht(w,e,!0)},children:(e,t)=>{var r=vv(),i=It(r);{const e=(e,t)=>{var r=gv();ki(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",Dr(w)&&"glass bg-white/5"]})),tg(Ot(r),{get icon(){return Op},className:"size-20 touch:size-24"}),q(r),mo(e,r)};Ho(i,()=>Mh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ho(At(i,2),()=>Ul,(e,t)=>{t(e,{children:(e,t)=>{var r=fo();Ho(It(r),()=>Ch,(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=mv(),i=At(It(r),2);Ao(At(Ot(i),2),17,()=>Dr(x),Oo,(e,t,r)=>{var i=fv();li(i,"",{},{"margin-left":(r>0?28*(r-1):0)+"px"}),uv(Ot(i),{get node(){return Dr(t).node},get missing(){return Dr(t).missing},depth:r>0?1:0,onselect:()=>(e=>{e.missing||(ht(y,e.node.el,!0),a.touch&&s.opened&&s.close(),o.focus(e.node.el),n.scrollToElement(e.node.el))})(Dr(t)),onhover:_,onleave:T}),q(i),mo(e,i)}),q(i),mo(e,r)},$$slots:{default:!0}})}),mo(e,r)},$$slots:{default:!0}})}),mo(e,r)},$$slots:{default:!0}})}),q(r),Fi(r,e=>ht(d,e),()=>Dr(d)),mo(e,r)};np(e,{text:"Trace missing element",delay:200,get disabled(){return Dr(w)},child:t,$$slots:{child:!0}})}},A=e=>{{const t=(e,t)=>{var o=Cv();ki(o,()=>({...t?.().props,class:"relative size-28 touch:size-36 focus-visible"}));var i=Ot(o),n=e=>{var t=wv();si(t,1,ri(["flex-center size-24 touch:size-30 rounded-[8px] superellipse touch:rounded-[8px] text-orange-600 absolute"])),tg(Ot(t),{get icon(){return Op},className:"size-22 touch:size-26"}),q(t),mo(e,t)},s=e=>{var t=kv();si(t,1,ri(["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=Ot(t),i=e=>{tg(e,{get icon(){return Gp},className:"mouse:size-20"})},n=e=>{var t=yv();tg(Ot(t),{get icon(){return hm},className:"mouse:size-20 text-orange-500 group-hover/focus-button:text-orange-100"}),q(t),Xo(1,t,()=>ia,()=>({duration:500,start:2.5,opacity:0,easing:Hs})),mo(e,t)},s=e=>{var t=xv();tg(Ot(t),{get icon(){return jp},className:"mouse:size-20"}),q(t),Xo(1,t,()=>ia,()=>({duration:500,start:2.5,opacity:0,easing:Hs})),mo(e,t)};$o(o,e=>{m()&&!r.visible?e(i):p()?e(n,1):e(s,!1)}),q(t),Fi(t,e=>ht(d,e),()=>Dr(d)),io("pointerenter",t,k),io("pointerleave",t,C),no("click",t,$),Xo(1,t,()=>ia,()=>({duration:500,start:.5,opacity:0,easing:js})),Xo(2,t,()=>ia,()=>({duration:100,start:.5,opacity:0})),mo(e,t)};$o(i,e=>{g()&&!m()?e(n):(u()||m())&&e(s,1)}),q(o),Fi(o,e=>ht(d,e),()=>Dr(d)),mo(e,o)};let o=Je(()=>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=Je(()=>g()&&!m());np(e,{get text(){return Dr(o)},delay:200,get disabled(){return Dr(i)},child:t,$$slots:{child:!0}})}};$o(O,e=>{g()&&!m()&&f()?e(I):e(A,!1)}),mo(e,E),he()}so(["click"]);var Mv=ho("<!> <!>",1);var Sv=/https?:\/\/[^\s<>]+/g;function $v(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var _v={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"}]]},Tv=class extends ns{#qi=dt(bt({width:0,height:0}));get resolution(){return Dr(this.#qi)}set resolution(e){ht(this.#qi,e,!0)}#ae=dt(bt({width:0,height:0}));get current(){return Dr(this.#ae)}set current(e){ht(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()}},Ev=po('<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 Ov(e,t){let r=Di(t,["$$slots","$$events","$$legacy"]);var o=Ev();ki(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var Iv=po('<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 Av(e,t){let r=Di(t,["$$slots","$$events","$$legacy"]);var o=Iv();ki(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var zv=po('<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 Pv(e,t){let r=Di(t,["$$slots","$$events","$$legacy"]);var o=zv();ki(o,()=>({viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var Fv=po('<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 Nv(e,t){let r=Di(t,["$$slots","$$events","$$legacy"]);var o=Fv();ki(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var jv=po('<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 Dv(e,t){let r=Di(t,["$$slots","$$events","$$legacy"]);var o=jv();ki(o,()=>({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r})),mo(e,o)}var Hv=ho("<div><!></div>"),Wv=ho('<div class="w-36 flex-center"><!></div>'),Rv=ho("<!> <!>",1);ho('<span role="button" tabindex="0"><!></span> <div popover="manual"> </div>',1);var Vv=ho('<div class="flex justify-between items-center"><!> <div class="flex gap-0 touch:gap-6 items-center"><!> <!> <!></div></div> <p><!></p>',1);function Bv(e,t){ue(t,!0);const{hover:r,comments:o,auth:i}=cy();Je(()=>i?.user?.id===t.expand?.createdBy?.id);let n=Je(()=>!0===i?.user?.guest);const s=Je(()=>{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(Sv,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=Je(()=>o.highlightRenderedHTML(Dr(s)));var l=Vv(),c=It(l),d=Ot(c);{let e=Je(()=>t.expand?.createdBy);rv(d,{get created(){return t.created},get author(){return Dr(e)}})}var u=At(d,2),h=Ot(u),p=e=>{!function(e,t){ue(t,!0);const{resolution:r,modals:o,environment:i}=cy(),[n,s]=t.info?.resolution||[0,0],a=xs(n)||"Unknown",l=t.info.browser||["unknown",""];let c=dt(!1),d=Je(()=>r.width===n&&r.height===s),u=!1;const h=()=>{o.isOpen("resolution")&&Dr(d)?r.hide():r.show(n,s)};{const r=(e,t)=>{let r=()=>t?.().props;const o=Je(()=>r().onclick),n=Je(()=>r().onpointerdown);ig(e,Wi(r,{get active(){return Dr(c)},get icon(){return _v[a]},onpointerdown:e=>{u=!0,Dr(n)?.(e)},onclick:e=>{i.touch&&!u||(u=!1,Dr(o)?.(e))}}))};ap(e,{side:"top",sideOffset:4,align:"end",origin:"origin-bottom-right",get opened(){return Dr(c)},set opened(e){ht(c,e,!0)},child:r,children:(e,r)=>{var i=Rv(),c=It(i),u=e=>{{let t=Je(()=>`${n}×${s}`),r=Je(()=>o.isOpen("resolution")&&Dr(d));Jg(e,{get title(){return a},get subtitle(){return Dr(t)},get icon(){return _v[a]},get active(){return Dr(r)},onclick:h})}};$o(c,e=>{t.info?.resolution&&e(u)});var p=At(c,2),g=e=>{{const t=e=>{var t=Wv();!function(e,t){const r=Ri(t,"browser",3,"unknown"),o=Ri(t,"size",3,"size-5"),i={Chrome:Ov,Firefox:Av,Safari:Pv,Opera:Nv,Edge:Dv,unknown:Ov},n=Je(()=>i[r()]||Ov);var s=Hv();Ho(Ot(s),()=>Dr(n),(e,t)=>{t(e,{get class(){return o()}})}),q(s),Qt(()=>{si(s,1,ri(o())),xi(s,"data-cursor-text",`${r()}`)}),mo(e,s)}(Ot(t),{get browser(){return l[0]},size:"size-22"}),q(t),mo(e,t)};Jg(e,{get title(){return l[0]},get subtitle(){return l[1]},start:t,$$slots:{start:!0}})}};$o(p,e=>{t.info?.browser&&e(g)}),mo(e,i)},$$slots:{child:!0,default:!0}})}he()}(e,{get info(){return t.info}})};$o(h,e=>{(t.info?.browser||t.info?.resolution)&&e(p)});var g=At(h,2),f=e=>{{let r=Je(()=>o.bindings.get(t.selector)?.element??null),i=Je(()=>t.info?.meta);Lv(e,{get element(){return Dr(r)},get anchorEl(){return t.commentEl},get missing(){return t.missing},get hidden(){return t.hidden},get selector(){return t.selector},get meta(){return Dr(i)}})}};$o(g,e=>{t.reply||e(f)});var m=At(g,2),v=e=>{!function(e,t){ue(t,!0);let r=dt(!1);const{settings:o,comments:i,modals:n,auth:s}=cy(),a=Je(()=>i.data.find(e=>e.id===t.id)),l=Je(()=>Dr(a)?.createdBy===s.user?.id),c=()=>{Dr(a)&&(ht(r,!1),n.open("edit-comment",Dr(a)))},d=async()=>{!1!==o.current?.dontAskBeforeDelete?(ht(r,!1),await new Promise(e=>setTimeout(e,100)),await i.delete(t.id)):n.open("delete-comment",t.id)};{const t=(e,t)=>{ig(e,Wi(()=>t?.().props,{get active(){return Dr(r)},get icon(){return kg}}))};ap(e,{get opened(){return Dr(r)},set opened(e){ht(r,e,!0)},child:t,children:(e,t)=>{var r=Mv(),o=It(r),i=e=>{Jg(e,{title:"Edit",get icon(){return fm},onclick:c})};$o(o,e=>{Dr(l)&&e(i)}),Jg(At(o,2),{title:"Delete",get icon(){return gm},type:"destructive",onclick:d}),mo(e,r)},$$slots:{child:!0,default:!0}})}he()}(e,{get id(){return t.id}})};$o(m,e=>{Dr(n)||e(v)}),q(u),q(c);var b=At(c,2);jo(Ot(b),()=>Dr(a)),q(b),Qt(()=>si(b,1,ri(["px-4 mouse:text-sm font-normal tracking-[0.02em] cursor-text! user-select-text break-word",(t.unread,"text-neutral-100")]))),mo(e,l),he()}var Uv=ho('<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 Zv=ho('<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>');ho('<img class="size-16 touch:size-18 pointer-events-none"/>');var qv=ho('<p class="mr-4"> </p>'),Kv=ho("<button><!> <!></button>"),Gv=ho('<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>'),Xv=ho('<button type="button"><!></button>'),Yv=ho('<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 Jv(e,t){ue(t,!0);const{media:r}=cy();let o=Ri(t,"entry",3,null),i=Ri(t,"url",3,null),n=Ri(t,"index",3,0),s=Ri(t,"media",3,null),a=Ri(t,"removable",3,!0),l=Ri(t,"commentId",3,void 0),c=Ri(t,"filename",3,void 0),d=Ri(t,"imageWidth",3,void 0),u=Ri(t,"imageHeight",3,void 0);const h=Je(()=>o()?.preview??i()),p=Je(()=>o()?.preview??i()+"?thumb=64x64"),g=Je(()=>o()?.file.name??"attachment"),f=Je(()=>"compressing"===o()?.status);var m=Yv(),v=Ot(m),b=Ot(v);si(b,1,ri(["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=At(v,2),y=e=>{var t=Gv();Og(Ot(t)),q(t),mo(e,t)};$o(w,e=>{Dr(f)&&e(y)});var x=At(w,2),k=e=>{var t=Xv();si(t,1,ri(["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"])),tg(Ot(t),{get icon(){return Np},className:"size-14 text-white"}),q(t),no("pointerdown",t,e=>{e.preventDefault()}),no("click",t,()=>{s().remove(o().id)}),mo(e,t)};$o(x,e=>{a()&&s()&&o()&&e(k)}),q(m),Qt(()=>{xi(b,"src",Dr(p)),xi(b,"alt",Dr(g))}),no("pointerdown",v,e=>{e.preventDefault()}),no("click",v,()=>{r.previewImage(Dr(h),l(),c(),o()?.width??d(),o()?.height??u())}),Xo(3,b,()=>ia,()=>({start:.8,duration:300,delay:100+40*n(),easing:Hs})),Xo(3,m,()=>oa,()=>({axis:"x",duration:200,easing:Hs})),mo(e,m),he()}so(["pointerdown","click"]);var Qv=ho('<div class="w-auto items-center z-10 shrink-0 flex"></div>'),eb=ho('<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),tb=ho('<div class="flex overflow-x-auto w-[calc(100%+20px)] -translate-x-10 pl-10 hide-scrollbar mask-r-from-90%"><!></div>'),rb=ho('<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>'),ob=ho("<div><div><!> <div><!></div> <!> <!></div></div>");function ib(e,t){ue(t,!0);let r=Ri(t,"reply",3,!1),o=Ri(t,"focused",3,!1),i=Ri(t,"replyThread",3,!1),n=dt(null);var s=ob(),a=Ot(s),l=Ot(a),c=e=>{var t=eb();K(2),mo(e,t)};$o(l,e=>{r()&&e(c)});var d=At(l,2);Bv(Ot(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 Dr(n)},get reply(){return r()}}),q(d);var u=At(d,2),h=e=>{var r=tb(),o=Ot(r);{let e=Je(()=>({id:t.id,collectionName:"comments",media:t.media,info:t.info}));!function(e,t){ue(t,!0);var r=Qv();Ao(r,22,()=>t.comment.media,e=>e,(e,r,o)=>{{let i=Je(()=>hs({id:t.comment.id,collectionName:t.comment.collectionName,media:r},"media")),n=Je(()=>t.comment.info?.mediaDimensions?.[r]?.[0]),s=Je(()=>t.comment.info?.mediaDimensions?.[r]?.[1]);Jv(e,{get url(){return Dr(i)},get index(){return Dr(o)},removable:!1,get commentId(){return t.comment.id},get filename(){return r},get imageWidth(){return Dr(n)},get imageHeight(){return Dr(s)}})}}),q(r),mo(e,r),he()}(o,{get comment(){return Dr(e)}})}q(r),mo(e,r)};$o(u,e=>{t.media&&t.media.length>0&&e(h)});var p=At(u,2),g=e=>{var o=rb(),n=Ot(o),s=Ot(n);(function(e,t){ue(t,!0);let r=Ri(t,"checked",7,!1);const{comments:o}=cy(),i=Un("done");{const n=(e,n)=>{var s=Uv(),a=Ot(s),l=e=>(e=>{cs();const r=e.target;i.info("Changed done for comment",t.id,"to",r.checked),o.setDone(t.id,r.checked)})(e);ki(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=At(a,4);{let e=Je(()=>[r()?"icon-shadow stroke-[2px]":" stroke-[1.6px]","size-24 touch:size-30 pointer-events-none relative text-neutral-400 touch:text-neutral-400 drop-shadow-2xl","peer-hover:text-neutral-200 peer-active:text-green-400 peer-checked:peer-active:text-white",0==r()?"peer-focus-visible:text-neutral-400":"","peer-checked:text-green-400 peer-checked:peer-hover:text-green-300 "]);yp(c,{name:"check",get class(){return Dr(e)}})}q(s),Ti(a,r),mo(e,s)};let s=Je(()=>r()?"Unmark done":"Mark as done");np(e,{get text(){return Dr(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=Ri(t,"checked",7,!1);const{comments:o}=cy(),i=Un("priority");{const n=(e,n)=>{var s=Zv(),a=Ot(s),l=e=>(e=>{cs();const r=e.target;i.info("Changed priority for comment",t.id,"to",r.checked),o.setPriority(t.id,r.checked)})(e);ki(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=At(a,4);{let e=Je(()=>[r()?"icon-shadow stroke-[2px]":"stroke-[1.6px]","size-24 touch:size-30 pointer-events-none relative text-neutral-400 touch:text-neutral-400","peer-hover:text-neutral-200 peer-active:text-rose-400","peer-checked:peer-hover:text-rose-400",0==r()?"peer-focus-visible:text-neutral-400":"","peer-checked:text-rose-400 peer-checked:peer-hover:text-rose-50 peer-checked:peer-active:text-rose-300"]);yp(c,{name:"chevrons-up",get class(){return Dr(e)}})}q(s),Ti(a,r),mo(e,s)};let s=Je(()=>r()?"Remove High Priority":"Set High Priority");np(e,{get text(){return Dr(s)},child:n,$$slots:{child:!0}})}he()}(At(s,2),{get id(){return t.id},get checked(){return t.priority}}),q(n);var a=At(n,2),l=e=>{!function(e,t){ue(t,!0);const r=Ri(t,"replies",3,0),o=Di(t,["$$slots","$$events","$$legacy","id","selector","replies"]),{hover:i}=cy(),n=()=>{i.isolateForReply(t.id,t.selector)};{const t=(e,t)=>{var i=Kv();ki(i,()=>({...o,...t?.().props,"data-fubi-comment-reply-button":!0,class:["focus-visible cursor-pointer h-26 min-w-26 touch:h-36 touch:min-w-36 font-medium rounded-[10px] text-sm/none flex-center gap-5 select-none relative superellipse","touch:rounded-[12px] touch:text-base/none"," active:scale-95","transition-[background-color,color,transform] duration-200 ease-out-cubic",r()>0?"glass px-4 touch:px-8 text-sky-500 bg-sky-500/10 hover:bg-sky-500/20 active:bg-sky-500/10 touch:bg-sky-500/10 touch:active:bg-sky-500/20":"glass-hover touch:bg-white/5 text-neutral-400 touch:text-neutral-400 hover:text-neutral-200 hover:bg-neutral-500/20 active:bg-neutral-500/10 touch:active:bg-neutral-500/20 focus-visible focus-visible:bg-neutral-500/20 focus-visible:text-neutral-400"],onclick:n}));var s=Ot(i),a=e=>{tg(e,{get icon(){return cf},className:"size-22 touch:size-26"})},l=e=>{tg(e,{get icon(){return Wp},className:"size-22 touch:size-26"})};$o(s,e=>{0===r()?e(a):e(l,!1)});var c=At(s,2),d=e=>{var t=qv(),o=Ot(t,!0);q(t),Qt(()=>yo(o,r())),mo(e,t)};$o(c,e=>{r()>0&&e(d)}),q(i),mo(e,i)};let i=Je(()=>0===r()?"Reply":"Show Replies");np(e,{get text(){return Dr(i)},delay:200,child:t,$$slots:{child:!0}})}he()}(e,{get id(){return t.id},get selector(){return t.selector},get replies(){return t.replies}})};$o(a,e=>{r()||i()||e(l)}),q(o),mo(e,o)};$o(p,e=>{r()||e(g)}),q(a),Fi(a,e=>ht(n,e),()=>Dr(n)),q(s),Qt(()=>{si(s,1,ri(["w-full group/comment",r()&&"pl-28 pt-2"])),si(a,1,ri(["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"])),si(d,1,ri(["flex flex-col",r()?"gap-4":"gap-6"]))}),Xo(1,d,()=>ia,()=>({duration:300,easing:Hs,start:.8,opacity:0,delay:200})),Xo(2,d,()=>ia,()=>({duration:300,easing:Hs,start:.8,opacity:0,delay:0})),Xo(1,a,()=>ia,()=>({duration:300,easing:Hs,start:.8,opacity:0,delay:200})),Xo(2,a,()=>ia,()=>({duration:300,easing:Hs,start:.8,opacity:0,delay:0})),Xo(1,s,()=>oa,()=>({axis:"y",duration:400,easing:Hs})),Xo(2,s,()=>oa,()=>({axis:"y",duration:300,delay:0,easing:Hs})),mo(e,s),he()}ho("<!> <!>",1);var nb=ho('<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 sb(e,t){ue(t,!0);let r=Ri(t,"checked",15,!1),o=Ri(t,"disabled",3,!1),i=Ri(t,"small",3,!1);var n=nb(),s=Ot(n);wi(s);var a=At(s,4);q(n),Qt(()=>{si(n,1,ri(["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(),si(a,1,ri(["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]"]))}),no("change",s,e=>{cs(),t.onchange?.(e.currentTarget.checked)}),Ti(s,r),mo(e,n),he()}so(["change"]);var ab=ho('<div class="absolute inset-6 left-auto flex-center"><!></div>'),lb=ho("<!> <!>",1),cb=ho('<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 db(e,t){ue(t,!0);let r=Ri(t,"placeholder",3,"Search");Ri(t,"hide",3,!1),Ri(t,"value",11,"");const{settings:o,comments:i,inputs:n}=cy();let s=dt(""),a=dt(!1),l=dt(null);Bi(()=>(n.register("search",{focus:()=>Dr(l)?.focus(),focusWithoutScroll:()=>{Dr(l)&&(Dr(l).style.opacity="0",Dr(l).focus(),requestAnimationFrame(()=>{Dr(l)&&(Dr(l).style.opacity="")}))},blur:()=>Dr(l)?.blur(),clear:()=>{ht(s,"")},reset:()=>{ht(s,""),Dr(l)?.blur()},submit:()=>{},isFocused:()=>document.activeElement===Dr(l)}),()=>n.unregister("search")));let c=Je(()=>!!o.current.onlyMineVisible||!o.current.doneThreadsVisible||"priority"!==o.current.sortMode);qt(()=>{i.search=Dr(s)});var d=cb(),u=Ot(d),h=Ot(u);si(h,1,ri(["flex relative shrink-0 focus-visible text-white z-0 flex-1"]));var p=Ot(h);wi(p),si(p,1,ri(["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"])),Fi(p,e=>ht(l,e),()=>Dr(l));var g=At(p,2);si(g,1,ri(["peer-placeholder-shown:opacity-80 peer-focus:opacity-0 origin-left text-neutral-500 opacity-0 absolute inset-0 pointer-events-none flex items-center pl-10 z-10 gap-4 select-none","transition-opacity duration-100 ease-out"]));var f=Ot(g);tg(f,{get icon(){return Kp},className:"size-18 touch:size-20"});var m=At(f,2),v=Ot(m,!0);q(m),q(g),q(h);var b=At(h,2),w=Ot(b);{let e=Je(()=>Dr(s)?0:-1);ig(w,{get icon(){return Np},onclick:()=>ht(s,""),get tabindex(){return Dr(e)}})}q(b);{const e=(e,t)=>{let r=()=>t?.().props;var o=ab(),i=Ot(o);{let e=Je(()=>Dr(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);ig(i,Wi(r,{get icon(){return ff},get active(){return Dr(a)},get colors(){return Dr(e)}}))}q(o),mo(e,o)};ap(At(b,2),{side:"top",align:"end",origin:"origin-bottom-right",get opened(){return Dr(a)},set opened(e){ht(a,e,!0)},child:e,children:(e,t)=>{var r=lb(),i=It(r);{const e=e=>{{let t=Je(()=>!!o.current.onlyMineVisible);sb(e,{small:!0,get checked(){return Dr(t)},onchange:()=>o.toggle("onlyMineVisible")})}};Jg(i,{title:"Only Mine",closeOnSelect:!1,end:e,$$slots:{end:!0}})}{const e=e=>{{let t=Je(()=>!!o.current.doneThreadsVisible);sb(e,{small:!0,get checked(){return Dr(t)},onchange:()=>o.toggle("doneThreadsVisible")})}};Jg(At(i,2),{title:"Done Threads",closeOnSelect:!1,end:e,$$slots:{end:!0}})}mo(e,r)},$$slots:{child:!0,default:!0}})}q(u),q(d),Qt(()=>{yo(v,r()),si(b,1,ri(["absolute inset-6 left-auto right-38 touch:right-48 touch:glass rounded-[10px] touch:rounded-[12px]",Dr(s)?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"]))}),io("focus",p,()=>{Dr(l)&&(Dr(l).style.opacity="0",requestAnimationFrame(()=>{Dr(l)&&(Dr(l).style.opacity="")}))}),_i(p,()=>Dr(s),e=>ht(s,e)),Xo(3,d,()=>oa,()=>({axis:"y",duration:300,easing:Hs})),mo(e,d),he()}var ub=ho('<button><!> <span class="sr-only">Close</span></button>');function hb(e,t){let r=Di(t,["$$slots","$$events","$$legacy","class"]);var o=ub();ki(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})),tg(Ot(o),{get icon(){return Np},className:"size-5 app:size-16 touch:app:size-20"}),K(2),q(o),mo(e,o)}var pb=ho('<p class="text-neutral-400 flex items-center text-sm/[140%] font-normal text-balance"> </p>'),gb=ho('<div class="text-neutral-400 text-sm/[140%]"><!></div>'),fb=ho('<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>'),mb=ho("<div></div>"),vb=ho('<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>'),bb=ho('<div class="p-12 gap-8 touch:p-14 touch:gap-10 flex flex-col"><div><!></div></div>'),wb=ho("<div><!> <!> <!></div>"),yb=ho("<!> <!>",1),xb=ho("<!> <!>",1);function kb(e,t){ue(t,!0);const{modals:r,environment:o,toolbar:i}=cy();let n=Ri(t,"open",15,!1),s=Ri(t,"title",3,""),a=Ri(t,"width",3,"w-full max-w-[min(300px,calc(100%-32px))] touch:max-w-[min(320px,calc(100%-48px))]"),l=Ri(t,"horizontalButtons",3,!1),c=Di(t,["$$slots","$$events","$$legacy","open","title","text","content","trigger","child","children","portal","width","horizontalButtons","header"]);var d=fo();Ho(It(d),()=>Sh,(e,d)=>{d(e,Wi(()=>c,{get open(){return n()},set open(e){n(e)},children:(e,n)=>{var c=xb(),d=It(c),u=e=>{var r=fo();Ho(It(r),()=>fd,(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=fo();Do(It(o),()=>t.trigger),mo(e,o)},$$slots:{default:!0}})}),mo(e,r)};$o(d,e=>{t.trigger&&e(u)});var h=At(d,2);{let e=Je(()=>t.portal??(o.touch?i.wrapper:r.portalTarget));Ho(h,()=>Ul,(r,o)=>{o(r,{get to(){return Dr(e)},children:(e,r)=>{var o=yb(),i=It(o);{const e=(e,t)=>{var r=fo(),o=It(r),i=e=>{var r=mb();ki(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"})),Xo(3,r,()=>ea,()=>({duration:150})),mo(e,r)};$o(o,e=>{t?.().open&&e(i)}),mo(e,r)};Ho(i,()=>pd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var n=At(i,2);{const e=(e,r)=>{var o=fo(),i=It(o),n=e=>{var o=wb();ki(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=Ot(o),n=e=>{!function(e,t){let r=Ri(t,"border",3,!0);var o=fb(),i=Ot(o),n=Ot(i,!0);q(i);var s=At(i,2),a=e=>{var r=fo(),o=It(r),i=e=>{var r=pb(),o=Ot(r,!0);q(r),Qt(()=>yo(o,t.text)),mo(e,r)},n=e=>{var r=gb();Do(Ot(r),()=>t.text),q(r),mo(e,r)};$o(o,e=>{"string"==typeof t.text?e(i):e(n,!1)}),mo(e,r)};$o(s,e=>{t.text&&e(a)});var l=At(s,2);{const e=(e,t)=>{hb(e,Wi(()=>t?.().props,{class:"absolute top-3 right-3 app:top-8 app:right-8 touch:app:top-12 touch:app:right-14"}))};Ho(l,()=>_h,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}q(o),Qt(()=>{si(o,1,ri(["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":""])),yo(n,t.title)}),mo(e,o)}(e,Wi({get title(){return s()},get text(){return t.text}},()=>t.header))};$o(i,e=>{(s()||t.text)&&e(n)});var c=At(i,2),d=e=>{var r=vb();Do(Ot(r),()=>t.content),q(r),mo(e,r)};$o(c,e=>{t.content&&e(d)});var u=At(c,2),h=e=>{var r=bb(),o=Ot(r);Do(Ot(o),()=>t.children),q(o),q(r),Qt(()=>si(o,1,ri(["flex w-full gap-8 touch:gap-12",l()?"flex-row":"flex-col"]))),mo(e,r)};$o(u,e=>{t.children&&e(h)}),q(o),Xo(3,o,()=>ia,()=>({duration:150,start:.95})),mo(e,o)};$o(i,e=>{r?.().open&&e(n)}),mo(e,o)};Ho(n,()=>Oh,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,child:e,$$slots:{child:!0}})})}mo(e,o)},$$slots:{default:!0}})})}mo(e,c)},$$slots:{default:!0}}))}),mo(e,d),he()}var Cb=ho('<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>');so(["change"]);var Lb=ho('<div class="px-8"><!></div>'),Mb=ho("<!> <!>",1),Sb=ho('<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=ho('<form action="" id="edit-page-form" class="contents"><!> <!> <!></form>'),_b=ho("<!> <!>",1),Tb=ho("<span> </span>"),Eb=ho('<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 Ob(e,t){ue(t,!0);const{media:r,picker:o}=cy();let i=Ri(t,"content",31,()=>bt([])),n=Ri(t,"mentions",31,()=>bt([])),s=Ri(t,"element",15,null),a=Ri(t,"focused",15,!1),l=Ri(t,"charCount",15,0),c=Ri(t,"initialHtml",3,""),d=Ri(t,"maxLength",3,2e3),u=dt(bt(c())),h=dt(null),p=Je(()=>i().reduce((e,t)=>"text"===t.type?e+t.value.length:"mention"===t.type?e+1:e,0)),g=Je(()=>d()-Dr(p)),f=Je(()=>Dr(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()&&Dr(h)){if("mention"===Dr(h).type){const t=`@${Dr(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> `}ht(u,s().innerHTML,!0),w(),i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId))}ht(h,null),o.hide()}}function w(){s()&&(s().focus(),document.execCommand("selectAll",!1),document.getSelection()?.collapseToEnd())}qt(()=>{l(Dr(p))}),Bi(()=>{c()&&s()&&(i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId)))}),qt(()=>{const e=o.on(`confirm:${t.id}`,b),r=o.on(`cancel:${t.id}`,()=>{ht(h,null)});return()=>{e(),r()}});var y={triggerMention:function(){s()&&(s().focus(),document.execCommand("insertText",!1,"@"),ht(u,s().innerHTML,!0))}},x=Eb(),k=Ot(x);Fi(k,e=>s(e),()=>s());var C=At(k,2),L=e=>{var t=fo();Eo(It(t),()=>Dr(g),e=>{var t=Tb(),r=Ot(t,!0);q(t),Qt(()=>{si(t,1,ri(["absolute bottom-4 right-8 text-[12px] tabular-nums select-none pointer-events-none",Dr(g)<=0||Dr(g)<=10?"text-rose-400":"text-orange-400"])),yo(r,Dr(g))}),Xo(1,t,()=>ia,()=>({duration:100,easing:Hs,start:1.5})),mo(e,t)}),mo(e,t)};return $o(C,e=>{Dr(f)&&e(L)}),q(x),Qt(()=>xi(k,"data-fubi-comment-input",t.id)),no("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()&&(ht(u,s().innerHTML,!0),i(m(s())),n(i().filter(e=>"mention"===e.type).map(e=>e.userId))))}),no("beforeinput",k,function(e){if(!e.inputType.startsWith("insert"))return;if(Dr(p)<d())return;const t=document.getSelection();t&&!t.isCollapsed||e.preventDefault()}),no("input",k,function(e){const t=e.currentTarget;ht(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?(ht(h,{type:"mention",query:t[1],position:e.length-t[0].length},!0),o.show("mention",t[1],s())):Dr(h)&&(ht(h,null),o.hide())}()}),io("focus",k,()=>{a(!0)}),io("blur",k,e=>{e.relatedTarget,a(!1)}),io("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()-Dr(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])}),Jt(()=>{var i=r();if(t[e]!==i)if(null==i){var n=t[e];o(n)}else t[e]=i+""})}("innerHTML",k,()=>Dr(u),e=>ht(u,e)),mo(e,x),he(y)}so(["keydown","beforeinput","input"]);var Ib=ho('<div class="flex justify-between items-center pb-2"><!></div>'),Ab=ho('<div class="rounded-[14px] superellipse glass-pressed bg-neutral-500/10 overflow-hidden"><!></div>'),zb=ho("<!> <!>",1),Pb=ho('<div class="flex gap-8"><!> <!></div>');var Fb=ho("<button><!></button>"),Nb=ho('<div class="rounded-[14px]"><!></div>');function jb(e,t){let r=Ri(t,"tooltip",3,"This will change your filters"),o=Di(t,["$$slots","$$events","$$legacy","visible","children","tooltip"]);var i=fo(),n=It(i),s=e=>{var i=Nb(),n=Ot(i);{const e=(e,r)=>{var i=Fb();ki(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})),Do(Ot(i),()=>t.children),q(i),Xo(3,i,()=>ia,()=>({duration:200,easing:Hs,start:.8})),mo(e,i)};let i=Je(()=>r()||""),s=Je(()=>!r());np(n,{get text(){return Dr(i)},get disabled(){return Dr(s)},child:e,$$slots:{child:!0}})}q(i),Xo(3,i,()=>oa,()=>({axis:"x",duration:400,easing:Hs})),mo(e,i)};$o(n,e=>{t.visible&&e(s)}),mo(e,i)}var Db=ho('<div class="flex items-end justify-center gap-4 shrink-0 pb-4 mt-auto"><!> <!></div>');function Hb(e,t){ue(t,!0);const{auth:r,comments:o,settings:i}=cy();let n=Je(()=>t.threads??o.threads),s=Je(()=>Dr(n).filter(e=>(!i.current.onlyMineVisible||e.createdBy===r?.user?.id)&&e.done).length),a=Je(()=>Dr(n).filter(e=>!(!i.current.doneThreadsVisible&&e.done)&&e.createdBy!==r?.user?.id).length);var l=fo(),c=It(l),d=e=>{var t=Db(),r=Ot(t);{let e=Je(()=>!i.current.doneThreadsVisible&&Dr(s)>0);jb(r,{get visible(){return Dr(e)},onclick:()=>i.toggle("doneThreadsVisible"),children:(e,t)=>{K();var r=go();Qt(()=>yo(r,`Show ${Dr(s)??""} Done`)),mo(e,r)},$$slots:{default:!0}})}var o=At(r,2);{let e=Je(()=>i.current.onlyMineVisible&&Dr(a)>0);jb(o,{get visible(){return Dr(e)},onclick:()=>i.toggle("onlyMineVisible"),children:(e,t)=>{K();var r=go();Qt(()=>yo(r,`Show ${Dr(a)??""} Other`)),mo(e,r)},$$slots:{default:!0}})}q(t),mo(e,t)};$o(c,e=>{(!i.current.doneThreadsVisible&&Dr(s)>0||i.current.onlyMineVisible&&Dr(a)>0)&&e(d)}),mo(e,l),he()}var Wb=ho("<div><!> </div>"),Rb=ho("<!> <!>",1),Vb=ho('<div class="flex gap-4"><!> <!></div>'),Bb=ho('<p class="text-base/none"><span class="text-white"> </span> </p>'),Ub=ho('<div class="flex flex-col gap-4"><!> <div class="h-px bg-white/10 w-full shrink-0 opacity-50"></div> <!></div>'),Zb=ho("<div><!></div>"),qb=ho("<div><!> <!> <!></div>"),Kb=ho("<p>Error loading</p>"),Gb=ho("<!> <!> <!> <!> <!>",1),Xb=ho("<!> <!>",1),Yb=ho('<div class="flex"><!></div>'),Jb=ho('<div class="flex flex-col gap-6 min-h-full pt-px"><!> <!> <!></div> <!>',1),Qb=ho("<!> <!>",1),ew=ho("<div><!> <!> <!></div> <!>",1),tw=ho("<!> <!>",1),rw=[["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"}]],ow=ho('<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),iw=ho("<div><div><div></div> <div></div> <div></div></div> <div><!></div></div>");function nw(e,t){ue(t,!0);let r=Ri(t,"rounded",3,"rounded-lg"),o=Ri(t,"class",3,""),i=Ri(t,"bg",3,"bg-white/10");Di(t,["$$slots","$$events","$$legacy","rounded","class","bg","children"]);const n=Je(()=>Array.isArray(o())?o().flat().join(" "):o());var s=iw(),a=Ot(s),l=Ot(a),c=At(l,2);si(c,1,"rim-soft"),si(At(c,2),1,"rim-sharp"),q(a);var d=At(a,2),u=Ot(d),h=e=>{var r=fo();Do(It(r),()=>t.children),mo(e,r)};$o(u,e=>{t.children&&e(h)}),q(d),q(s),Qt(()=>{si(s,1,`rim-wrapper select-none ${r()} ${Dr(n)}`),si(a,1,`rim-container ${r()}`),si(l,1,`rim-underline ${i()}`),si(d,1,`rim-content ${r()}`)}),mo(e,s),he()}var sw=ho("<div><div><!></div></div>");function aw(e,t){ue(t,!0);let r=new Fs(0,{stiffness:.08,damping:.5}),o=dt(0),i=dt(0);qt(()=>{const e="width"===c()?Dr(i):Dr(o);r.set(e)});const n=Ri(t,"children",3,null),s=Ri(t,"clip",3,!1),a=Ri(t,"class",3,""),l=Ri(t,"classOutter",3,""),c=Ri(t,"animate",3,"height"),d=Di(t,["$$slots","$$events","$$legacy","children","clip","class","classOutter","animate"]);var u=sw();ki(u,()=>({style:`${c()}: ${r.current}px;`,class:[s()&&"overflow-clip",l()],...d}));var h=Ot(u),p=Ot(h),g=e=>{var t=fo();Do(It(t),n),mo(e,t)};$o(p,e=>{n()&&e(g)}),q(h),q(u),Qt(()=>si(h,1,ri(["width"===c()&&"w-fit",a()]))),zi(h,"clientHeight",e=>ht(o,e)),zi(h,"clientWidth",e=>ht(i,e)),mo(e,u),he()}var lw=ho('<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>'),cw=ho('<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>'),dw=ho('<button class="size-38 flex-center rounded-full active:bg-white/20 disabled:opacity-30"><!></button>'),uw=ho('<!> <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 hw(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}=cy();let h=Ri(t,"parent",3,null),p=Ri(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=Je(()=>"reply"===t.id?"origin-bottom":g[p()]??"origin-top"),m=dt(null),v=dt(null),b=dt(!1),w=dt(bt([])),y=dt(bt([])),x=dt(0),k=dt(!1),C=dt(!1);Bi(()=>{const e=r.on("comments:created",()=>{ht(C,!0),setTimeout(()=>{ht(C,!1)},1500)});return a.register(t.id,{focus:()=>Dr(v)?.focus({preventScroll:!0}),focusWithoutScroll:()=>{Dr(v)&&(Dr(v).style.opacity="0",Dr(v).focus(),requestAnimationFrame(()=>{Dr(v)&&(Dr(v).style.opacity="")}))},blur:()=>Dr(v)?.blur(),clear:()=>{ht(w,[],!0),ht(y,[],!0),ht(k,!1),Dr(v)&&(Dr(v).innerHTML="")},reset:()=>{ht(w,[],!0),ht(y,[],!0),ht(k,!1),Dr(v)&&(Dr(v).innerHTML="",Dr(v).blur())},submit:()=>Dr(m)?.requestSubmit(),isFocused:()=>Dr(b)}),()=>{a.unregister(t.id),e()}});let L=Je(()=>0===Dr(w).length||Dr(x)>400||c.loading);var M=uw(),S=It(M),$=e=>{var t=cw();nw(Ot(t),{rounded:"rounded-full",bg:"bg-green-600",children:(e,t)=>{var r=lw();yp(Ot(r),{name:"check",class:"size-28 stroke-2"}),K(2),q(r),mo(e,r)},$$slots:{default:!0}}),q(t),Xo(3,t,()=>ia,()=>({start:.8,easing:Hs})),mo(e,t)};$o(S,e=>{Dr(C)&&d.touch&&e($)});var _=At(S,2),T=Ot(_),E=Ot(T),O=Ot(E),I=Ot(O);{let e=Je(()=>l.files.length>=l.MAX_FILES);Wg(I,{get icon(){return Vf},size:"size-38",get disabled(){return Dr(e)},onpointerdown:e=>{e.preventDefault()},onclick:()=>{l.openPicker()}})}q(O);var A=At(O,2);Ob(Ot(A),{get id(){return t.id},get maxLength(){return 400},get content(){return Dr(w)},set content(e){ht(w,e,!0)},get mentions(){return Dr(y)},set mentions(e){ht(y,e,!0)},get charCount(){return Dr(x)},set charCount(e){ht(x,e,!0)},get element(){return Dr(v)},set element(e){ht(v,e,!0)},get focused(){return Dr(b)},set focused(e){ht(b,e,!0)}}),q(A);var z=At(A,2),P=Ot(z);{let e=Je(()=>Dr(L)?"bg-transparent opacity-50":"bg-sky-600/80"),t=Je(()=>Dr(L)?"opacity-30":"");nw(P,{rounded:"rounded-full",get bg(){return Dr(e)},get class(){return Dr(t)},children:(e,t)=>{var r=dw(),o=Ot(r);{let e=Je(()=>c.loading?Af:rw);tg(o,{get icon(){return Dr(e)},className:"size-20 text-white -translate-x-px translate-y-px"})}q(r),Qt(()=>r.disabled=Dr(L)),no("pointerdown",r,e=>e.preventDefault()),no("click",r,()=>Dr(m)?.requestSubmit()),mo(e,r)},$$slots:{default:!0}})}q(z),q(E);var F=At(E,2);!function(e){ue({},!0);const{media:t}=cy(),r=Je(()=>t.files.length>0),o=Je(()=>t.error&&"capture_failed"!==t.error);var i=ow(),n=It(i),s=Ot(n);Ao(s,23,()=>t.files,e=>e.id,(e,r,o)=>{Jv(e,{get entry(){return Dr(r)},get index(){return Dr(o)},get media(){return t}})}),q(s),q(n);var a=At(n,2),l=Ot(a),c=Ot(l);tg(c,{get icon(){return Op},className:"size-16 shrink-0"});var d=At(c,2),u=Ot(d,!0);q(d),q(l),q(a),Qt(()=>{si(n,1,ri(["w-full gap-4 items-center max-w-full z-10 shrink-0 overflow-clip touch:px-4",Dr(r)?"h-44 touch:h-64":"h-0","transition-[height] duration-300 ease-out-cubic will-change-[height]"])),si(a,1,ri(["text-amber-400 text-sm/none overflow-clip",Dr(o)?"h-28":"h-0"])),si(l,1,ri(["px-8 pb-2 flex items-center gap-4 h-28",!Dr(o)&&"scale-80 opacity-0","transition-[opacity,scale] duration-200 ease-out will-change-[opacity,scale]"])),yo(u,t.error)}),mo(e,i),he()}(F);var N=At(F,2),j=Ot(N);si(j,1,ri(["flex items-center justify-between w-full p-6"," border-t-[0.5px] border-white/10"]));var D=Ot(j),H=Ot(D);{let e=Je(()=>l.files.length>=l.MAX_FILES);ig(H,{type:"button",get icon(){return xf},alt:"Upload Media",tooltip:{text:"Upload Media"},get disabled(){return Dr(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()})}ig(At(H,2),{type:"button",get icon(){return tf},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:()=>{Dr(v)?.focus(),document.execCommand("insertText",!1,"@")}}),q(D),Eo(At(D,2),()=>c.loading,e=>{{let t=Je(()=>c.loading?Af:rw),r=Je(()=>0===Dr(w).length||Dr(x)>400||c.loading);ig(e,{type:"submit",alt:"Send comment",get icon(){return Dr(t)},iconSize:"size-18",get disabled(){return Dr(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=go();Qt(()=>yo(r,c.loading?"Sending...":"Send")),mo(e,r)},$$slots:{default:!0}})}}),q(j),q(N),q(T),Fi(T,e=>ht(m,e),()=>Dr(m)),q(_),Qt(()=>{xi(T,"data-fubi-comment-form",t.id),si(T,1,ri(["relative w-full pointer-events-auto superellipse flex-start flex flex-col","reply"===t.id?"origin-bottom":[Dr(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"])),si(N,1,ri(["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"]))}),io("submit",T,async function(e){if(e.preventDefault(),o.opened)return;if(0===Dr(w).length||Dr(x)>400)return;l.error=null;const{name:t,version:a}=ks(),{width:c,height:d}=ys(),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:Dr(w),mentions:Dr(y),priority:Dr(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}),ht(w,[],!0),ht(y,[],!0),ht(k,!1)}),no("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&&Dr(m)?.contains(r)||setTimeout(()=>{const e=document.activeElement,r=e&&Dr(m)?.contains(e);"isolated"===n.mode.type&&(l.picking||r||u.isOpen("media-preview")||(n.dismissIsolation(),a.hide(t.id)))},0)}),mo(e,M),he()}so(["focusout","pointerdown","click"]);var pw=ho("<!> <!>",1),gw=ho("<!> <!>",1),fw=ho('<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>'),mw=ho('<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),vw=ho("<!> <!>",1),bw=ho('<div class="flex items-center gap-4 text-sky-500"><a class="text-sm hover:underline"> </a> <!></div>'),ww=ho('<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>'),yw=ho('<div class="flex-center w-full h-full text-neutral-400 px-16"><!></div>'),xw=ho('<div class="flex items-center gap-8 text-sm text-neutral-400"><!> <p>Running analysis...</p></div>'),kw=ho('<div><!> <p class="text-sm/none font-semibold text-neutral-200"> </p></div>'),Cw=ho('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Lw=ho('<div class="size-20 touch:size-28 flex-center shrink-0"><!></div>'),Mw=ho('<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>'),Sw=ho('<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=ho('<div class="group/listitemwrap"><!> <!></div>'),_w=ho('<div class="flex flex-col mb-16"><!> <!></div>'),Tw=ho('<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>'),Ew=ho("<!> <!> <!>",1),Ow=ho("<!> <!>",1),Iw=ho("<!> <!>",1);so(["click"]);var Aw=ho("<!> <!>",1),zw=ho('<!> <div class="mt-auto text-xs/none text-center w-full mb-8 flex-center text-neutral-500"><p></p></div>',1),Pw=ho("<!> <!>",1),Fw=ho('<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>');Un("routes");var Nw=e=>{if(e.domains.blocked)return{redirect:"error"}},jw=e=>{const t=Nw(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},Dw={demo:{component:function(e,t){ue(t,!0);const{folders:r,router:o,bus:i}=cy();let n=Je(()=>r.ready);function s(){localStorage.setItem("fubi_demo_seen","true"),o.goto("comments")}Bi(()=>i.on("hover:enabled",()=>{const e=r.data[0];e&&(localStorage.setItem("fubi_demo_seen","true"),r.select(e),o.goto("comments"))})),aa(e,{name:"demo",children:(e,t)=>{Ep(e,{children:(e,t)=>{var r=Fw(),o=Ot(r),i=Ot(o);ca(i,{class:"h-32 text-lime-300 mb-8"});var a=At(i,6);{let e=Je(()=>!Dr(n)),t=Je(()=>!Dr(n));hg(a,{class:"w-full max-w-xs mt-16",get disabled(){return Dr(e)},get loading(){return Dr(t)},onclick:s,children:(e,t)=>{K();var r=go();Qt(()=>yo(r,Dr(n)?"Start Exploring":"Loading...")),mo(e,r)},$$slots:{default:!0}})}xi(At(a,2),"href","https://fubi.dev"),q(o),q(r),mo(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}=cy();let n=dt(""),s=dt("");aa(e,{name:"login",children:(e,t)=>{var a=mg(),l=It(a);ca(l,{class:"h-24 text-lime-300 absolute top-20 left-20"});var c=At(l,2);xi(c,"href","https://dash.fubi.dev"),si(c,1,ri(["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"])),tg(At(Ot(c),2),{get icon(){return Fp},class:"size-16"}),q(c),Ep(At(c,2),{children:(e,t)=>{var a=fg(),l=Ot(a),c=At(Ot(l),2),d=Ot(c);ua(d,{children:(e,t)=>{var r=pg(),o=It(r);ag(o,{name:"email",type:"email",label:"E-mail",autocomplete:"email",required:!0,get value(){return Dr(n)},set value(e){ht(n,e,!0)}}),ag(At(o,2),{name:"password",type:"password",label:"Password",autocomplete:"password",required:!0,get value(){return Dr(s)},set value(e){ht(s,e,!0)}}),mo(e,r)},$$slots:{default:!0}});var u=At(d,2),h=e=>{var t=gg(),r=Ot(t,!0);q(t),Qt(()=>yo(r,o.error)),Xo(3,t,()=>oa,()=>({})),mo(e,t)};$o(u,e=>{o.error&&e(h)});var p=At(u,2);{let e=Je(()=>o.loading||i.navigating);hg(p,{class:"w-full",type:"submit",get loading(){return o.loading},get disabled(){return Dr(e)},children:(e,t)=>{K(),mo(e,go("Login"))},$$slots:{default:!0}})}q(c);var g=At(c,2);xi(Ot(g),"href","https://dash.fubi.dev"),q(g);var f=At(g,2),m=Ot(f);q(f),q(l),q(a),io("submit",l,e=>(async e=>{e.preventDefault(),(await o.login(Dr(n),Dr(s))).success&&(ht(n,""),ht(s,""))})(e)),no("click",m,()=>r.hide()),mo(e,a)},$$slots:{default:!0}}),mo(e,a)},$$slots:{default:!0}}),he()},beforeEnter:e=>Nw(e)||(e.auth?.user?{redirect:"folders"}:void 0)},error:{component:function(e,t){ue(t,!0);const{auth:r,error:o,router:i}=cy(),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")};aa(e,{name:"error",children:(e,t)=>{Ep(e,{children:(e,t)=>{var r=yw(),i=Ot(r),s=e=>{var t=ww(),r=Ot(t),i=Ot(r);tg(i,{get icon(){return Ap},className:"size-42 text-rose-400"});var s=At(i,2),a=Ot(s,!0);q(s);var l=At(s,2);jo(Ot(l),()=>o.current?.message),q(l),q(r);var c=At(r,2),d=Ot(c),u=e=>{var t=bw(),r=Ot(t),i=Ot(r,!0);q(r),tg(At(r,2),{get icon(){return Of},className:"size-14"}),q(t),Qt(()=>{xi(r,"href",o.current.link.url),xi(r,"target",o.current.link.external?"_blank":"_self"),yo(i,o.current.link.label)}),mo(e,t)};$o(d,e=>{o.current?.link&&e(u)}),hg(At(d,2),{class:"w-full",variant:"ghost",onclick:n,children:(e,t)=>{K();var r=go();Qt(()=>yo(r,"logout"===o.current?.action?"Log out":"Refresh page")),mo(e,r)},$$slots:{default:!0}}),q(c),q(t),Qt(()=>yo(a,o.current?.title)),mo(e,t)},a=e=>{Og(e)};$o(i,e=>{o.current?e(s):e(a,!1)}),q(r),mo(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}=cy(),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=Je(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.total,0)??0),c=Je(()=>s?.foldersWithStats?.reduce((e,t)=>e+t.done,0)??0),d=Je(()=>0===Dr(l)?0:Math.round(Dr(c)/Dr(l)*100));aa(e,{name:"folders",children:(e,t)=>{var u=Nm(),h=It(u);{const e=e=>{{let t=Je(()=>`${Ls}/?redirect=/${o?.current?.slug}/${i?.current?.slug}`);Wg(e,{get href(){return Dr(t)},target:"_blank",get icon(){return Of},tooltip:{text:"Manage Folders",align:"end",offset:4}})}};let t=Je(()=>i?.current?.name||"—");Ug(h,{label:"Folders",get title(){return Dr(t)},after:e,$$slots:{after:!0}})}var p=At(h,2);{const e=e=>{var t=Sm(),r=Ot(t);Lm(r,{get progress(){return Dr(d)},radius:12,title:"Progress",class:"p-4 pl-6"}),Lm(At(r,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=Mm(),o=Ot(r),i=Ot(o,!0);q(o);var n=At(o);q(r),Qt(()=>{yo(i,Dr(c)),yo(n,`/${Dr(l)??""} Done`)}),mo(e,r)},$$slots:{default:!0}}),q(t),mo(e,t)};let t=Je(()=>i?.current?.name||"–");Ep(p,{get title(){return Dr(t)},get progress(){return Dr(d)},popoverContent:e,children:(e,t)=>{bg(e,{children:(e,t)=>{var l=Fm(),c=It(l);Ao(c,17,()=>s?.foldersWithStats??[],Oo,(e,t,r)=>{const o=Je(()=>(e=>{const t=e.expand?.folder_notifications_via_folder?.[0]?.setting;return"all"===t||"important"===t?t:"none"})(Dr(t)));{const i=e=>{var r=Em(),i=It(r),n=Ot(i);{const e=(e,t)=>{let r=()=>t?.().props;{let t=Je(()=>{return"all"===(e=Dr(o))?Df:"important"===e?Ff:Hf;var e});Wg(e,Wi(r,{get icon(){return Dr(t)},tooltip:{text:"Notifications",align:"end",offset:4}}))}};ap(n,{align:"end",origin:"origin-top-right",child:e,children:(e,r)=>{var i=$m(),n=It(i);{let e=Je(()=>"all"===Dr(o));Jg(n,{title:"All activity",get icon(){return Df},get checked(){return Dr(e)},onclick:()=>a(Dr(t).id,"all")})}var s=At(n,2);{let e=Je(()=>"important"===Dr(o));Jg(s,{title:"Mentions & replies",get icon(){return Ff},get checked(){return Dr(e)},onclick:()=>a(Dr(t).id,"important")})}var l=At(s,2);{let e=Je(()=>"none"===Dr(o));Jg(l,{title:"Nothing",get icon(){return Hf},get checked(){return Dr(e)},onclick:()=>a(Dr(t).id,"none")})}mo(e,i)},$$slots:{child:!0,default:!0}})}q(i);{const e=e=>{var r=_m(),o=Ot(r),i=At(Ot(o),2),n=Ot(i);q(i),q(o);var s=At(o,2),a=At(Ot(s),2),l=Ot(a),c=Ot(l,!0);q(l);var d=At(l);q(a),q(s),q(r),Qt(()=>{yo(n,`${Dr(t).progress??""}%`),yo(c,Dr(t).done),yo(d,`/${Dr(t).total??""} Done`)}),mo(e,r)};ip(At(i,2),{align:"end",tooltipContent:e,children:(e,r)=>{var o=Tm(),i=Ot(o),n=e=>{kp(e,{})},s=e=>{xm(e,{get progress(){return Dr(t).progress},radius:9,stroke:3})};$o(i,e=>{100===Dr(t).progress?e(n):e(s,!1)}),q(o),mo(e,o)},$$slots:{tooltipContent:!0,default:!0}})}no("click",i,e=>e.stopPropagation()),no("keydown",i,e=>e.stopPropagation()),mo(e,r)};let l=Je(()=>Dr(t).description?Dr(t)?.description:null),c=Je(()=>s.current?.id===Dr(t).id);Eg(e,{get title(){return Dr(t).name},get subtitle(){return Dr(l)},get icon(){return Vp},index:r,chevron:!0,get active(){return Dr(c)},onclick:()=>Dr(t)?(e=>{cs(),s.select(e),n.goto("pages")})(Dr(t)):null,after:i,$$slots:{after:!0}})}});var d=At(c,2),u=e=>{var t=Om();Og(Ot(t)),q(t),mo(e,t)},h=e=>{var t=zm();zg(At(It(t),2),{get icon(){return bm},title:"No Folders",height:"min-h-330",children:(e,t)=>{var r=Am(),n=At(Ot(r),3),s=e=>{mo(e,go("Ask your team organizer to create one."))},a=e=>{var t=Im(),r=It(t);K(),Qt(()=>xi(r,"href",`${dy}/${o?.current?.slug}/${i?.current?.slug}/folders`)),mo(e,t)};$o(n,e=>{"guest"===o?.role?e(s):e(a,!1)}),q(r),mo(e,r)},$$slots:{default:!0}}),mo(e,t)},p=e=>{mo(e,Pm())};$o(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)}),mo(e,l)},$$slots:{default:!0}})},$$slots:{popoverContent:!0,default:!0}})}mo(e,u)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(1===e.folders.data.length?{redirect:"pages"}:void vs())},pages:{component:function(e,t){ue(t,!0);const{can:r,project:o,team:i,folders:n,router:s,domains:a,pages:l}=cy(),c=()=>{cs(),s.goto("comments")};let d=Je(()=>l.pagesWithStats?.reduce((e,t)=>e+t.total,0)??0),u=Je(()=>l.pagesWithStats?.reduce((e,t)=>e+t.done,0)??0),h=Je(()=>0===Dr(d)?0:Math.round(Dr(u)/Dr(d)*100)),p=Je(()=>l.pagesWithStats?.length??0),g=Je(()=>l.pagesWithStats?.filter(e=>e.total>0&&100===e.progress).length??0),f=dt(!1),m=dt("none");qt(()=>{n.current,Rr(()=>{ht(m,n?.current?.expand?.folder_notifications_via_folder?.[0]?.setting||"none",!0)})});let v=Je(()=>"all"===Dr(m)?Df:"important"===Dr(m)?Ff:Hf);const b=e=>{const t=n.current.id;ht(m,e,!0),n.setNotification(t,e)};aa(e,{name:"pages",children:(e,t)=>{var r=Qm(),s=It(r);{const e=e=>{var t=Um(),r=It(t);{let e=Je(()=>`${Ls}/?redirect=/${i?.current?.slug}/${o?.current?.slug}/${n?.current?.slug}`);Wg(r,{get href(){return Dr(e)},target:"_blank",get icon(){return Of},tooltip:{text:"Manage Folder",align:"end",offset:4}})}{const e=(e,t)=>{Wg(e,Wi(()=>t?.().props,{get icon(){return Dr(v)},get active(){return Dr(f)},tooltip:{text:"Folder Notifications",align:"end",offset:4}}))};ap(At(r,2),{triggerClass:"",get opened(){return Dr(f)},set opened(e){ht(f,e,!0)},child:e,children:(e,t)=>{var r=Bm(),o=It(r);{let e=Je(()=>"all"===Dr(m));Jg(o,{title:"All activity",get icon(){return Df},get checked(){return Dr(e)},onclick:()=>b("all")})}var i=At(o,2);{let e=Je(()=>"important"===Dr(m));Jg(i,{title:"Mentions & replies",get icon(){return Ff},get checked(){return Dr(e)},onclick:()=>b("important")})}var n=At(i,2);{let e=Je(()=>"none"===Dr(m));Jg(n,{title:"Nothing",get icon(){return Hf},get checked(){return Dr(e)},onclick:()=>b("none")})}mo(e,r)},$$slots:{child:!0,default:!0}})}mo(e,t)};let t=Je(()=>n?.current?.name||"—"),r=Je(()=>1===n.data.length?null:"folders");Ug(s,{label:"Pages",get title(){return Dr(t)},get onBack(){return Dr(r)},after:e,$$slots:{after:!0}})}var w=At(s,2);{const e=e=>{var t=Km(),r=Ot(t);Lm(r,{get progress(){return Dr(h)},radius:12,title:"Progress",class:"p-4 pl-6"});var o=At(r,4);Lm(o,{title:"Pages",class:"pt-4 p-6",children:(e,t)=>{var r=Zm(),o=Ot(r),i=Ot(o,!0);q(o);var n=At(o);q(r),Qt(()=>{yo(i,Dr(g)),yo(n,`/${Dr(p)??""} Done`)}),mo(e,r)},$$slots:{default:!0}}),Lm(At(o,4),{title:"Threads",class:"p-6",children:(e,t)=>{var r=qm(),o=Ot(r),i=Ot(o,!0);q(o);var n=At(o);q(r),Qt(()=>{yo(i,Dr(u)),yo(n,`/${Dr(d)??""} Done`)}),mo(e,r)},$$slots:{default:!0}}),q(t),mo(e,t)};let t=Je(()=>n?.current?.name);Ep(w,{get title(){return Dr(t)},get progress(){return Dr(h)},popoverContent:e,children:(e,t)=>{var r=Jm(),o=It(r),i=e=>{bg(e,{children:(e,t)=>{var r=Xm(),o=It(r),i=e=>{{const t=e=>{Wm(e,{progress:0,radius:9,stroke:3})};let r=Je(()=>l.current?.name);Eg(e,{get icon(){return mm},classIcon:"text-white",get title(){return Dr(r)},active:!0,chevron:!0,onclick:c,after:t,$$slots:{after:!0}})}};$o(o,e=>{l.isNew&&e(i)}),Ao(At(o,2),17,()=>l.pagesWithStats,Oo,(e,t,r)=>{let o=()=>Dr(t).total,i=()=>Dr(t).pathname;var n=Gm(),s=Ot(n);{const e=e=>{Wm(e,{get progress(){return Dr(t).progress},get done(){return Dr(t).done},get total(){return o()},radius:9,stroke:3,tabindex:-1})};let n=Je(()=>i()===a?.url?.pathname?mm:0===o()?vm:mm),l=Je(()=>i()===a?.url?.pathname?"text-neutral-500":""),d=Je(()=>i()===a?.url?.pathname);Eg(s,{get icon(){return Dr(n)},get classIcon(){return Dr(l)},get title(){return Dr(t).name},get active(){return Dr(d)},chevron:!0,index:r,tabindex:"-1",onclick:c,after:e,$$slots:{after:!0}})}q(n),Qt(()=>xi(n,"href",i()===a?.url?.pathname?"#":i())),mo(e,n)}),mo(e,r)},$$slots:{default:!0}})};$o(o,e=>{l.ready&&l.valid&&(l.pagesWithStats?.length>0||l.isNew)&&e(i)});var n=At(o,2),s=e=>{zg(e,{get icon(){return mm},title:"No Pages",subtitle:"No pages found for this domain."})};$o(n,e=>{l.ready&&l.valid&&0===l.pagesWithStats?.length&&!l.isNew&&e(s)});var d=At(n,2),u=e=>{zg(e,{get icon(){return pm},title:"Error",subtitle:"Failed to load pages."})};$o(d,e=>{l.error&&!l.valid&&e(u)});var h=At(d,2),p=e=>{var t=Ym();Og(Ot(t)),q(t),mo(e,t)};$o(h,e=>{l.ready||e(p)}),mo(e,r)},$$slots:{popoverContent:!0,default:!0}})}mo(e,r)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(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}=cy();let u=Je(()=>c.checks.filter(e=>"fail"===e.status).length),h=Je(()=>c.checks.filter(e=>"warn"===e.status).length);const p=["title","description","og-image","favicon"];let g=Je(()=>c.checks.filter(e=>p.includes(e.id)&&"fail"===e.status).length),f=Je(()=>c.checks.filter(e=>p.includes(e.id)&&"warn"===e.status).length),m=Je(()=>Dr(g)||Dr(f)),v=Je(()=>Dr(m)?"text-rose-400":void 0),b=dt(!1),w=Je(()=>Dr(m)||Dr(u)?"error":Dr(h)?"warning":c.checks.length?"success":void 0),y=Je(()=>"success"===Dr(w)?Dp:Ip);const[x,k]=function({fallback:e,...t}){const r=new Map,o=new Map;function i(r,o,i){return(n,s)=>(r.set(s.key,n),()=>{if(o.has(s.key)){const e=o.get(s.key);return o.delete(s.key),function(e,r,o){const{delay:i=0,duration:n=e=>30*Math.sqrt(e),easing:s=Js}=na(na({},t),o),a=e.getBoundingClientRect(),l=r.getBoundingClientRect(),c=a.left-l.left,d=a.top-l.top,u=a.width/l.width,h=a.height/l.height,p=Math.sqrt(c*c+d*d),g=getComputedStyle(r),f="none"===g.transform?"":g.transform,m=+g.opacity;return{delay:i,duration:"function"==typeof n?n(p):n,easing:s,css:(e,t)=>`\n\t\t\t opacity: ${e*m};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${f} translate(${t*c}px,${t*d}px) scale(${e+(1-e)*u}, ${e+(1-e)*h});\n\t\t `}}(e,n,s)}return r.delete(s.key),e&&e(n,s,i)})}return[i(o,r,!1),i(r,o,!0)]}({duration:e=>Math.sqrt(350*e),easing:Hs});let C=Je(()=>a.doneThreads),L=Je(()=>a.totalThreads),M=Je(()=>a.progress),S=Je(()=>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")};aa(e,{name:"comments",children:(e,t)=>{var o=Xb(),i=It(o);{const e=e=>{var t=Vb(),o=Ot(t);Wg(o,{get icon(){return of},get status(){return Dr(w)},get statusIcon(){return Dr(y)},onclick:T});{const e=(e,t)=>{Wg(e,Wi(()=>t?.().props,{get icon(){return Nf},get active(){return Dr(b)}}))};ap(At(o,2),{get opened(){return Dr(b)},set opened(e){ht(b,e,!0)},child:e,children:(e,t)=>{var o=Rb(),i=It(o);Jg(i,{title:"Edit Page",get icon(){return pf},onclick:$});var s=At(i,2);{const e=e=>{var t=fo(),r=It(t),o=e=>{var t=Wb();si(t,1,ri(["gap-3 pl-2 pr-6 h-20 flex-center rounded-full text-[12px]/none font-medium","bg-rose-500/15 text-rose-400"]));var r=Ot(t);tg(r,{get icon(){return Ip},className:"size-16"});var o=At(r);q(t),Qt(()=>yo(o,` ${Dr(m)??""}`)),mo(e,t)};$o(r,e=>{Dr(m)&&e(o)}),mo(e,t)};let t=Je(()=>!r.openMeta);Jg(s,{title:"Meta Panel",get icon(){return Yf},get iconClass(){return Dr(v)},get active(){return n.visible},get disabled(){return Dr(t)},onclick:_,end:e,$$slots:{end:!0}})}mo(e,o)},$$slots:{child:!0,default:!0}})}q(t),mo(e,t)};let t=Je(()=>l?.current?.name||"—");Ug(i,{get title(){return Dr(t)},label:"Comments",onBack:"pages",after:e,$$slots:{after:!0}})}var c=At(i,2);{const e=e=>{var t=Ub(),r=Ot(t);Lm(r,{get progress(){return Dr(M)},radius:12,title:"Progress",class:"p-4 pl-6"}),Lm(At(r,4),{title:"Threads",class:"pt-4 p-6",children:(e,t)=>{var r=Bb(),o=Ot(r),i=Ot(o,!0);q(o);var n=At(o);q(r),Qt(()=>{yo(i,Dr(C)),yo(n,`/${Dr(L)??""} Done`)}),mo(e,r)},$$slots:{default:!0}}),q(t),mo(e,t)};let t=Je(()=>l?.current?.name||"—");Ep(c,{get title(){return Dr(t)},get progress(){return Dr(M)},popoverContent:e,children:(e,t)=>{var r=Gb(),o=It(r),i=e=>{var t=qb();si(t,1,ri(["flex flex-col gap-6 flex-1"]));var r=Ot(t);Ao(r,25,()=>a?.sortedThreads??[],e=>e.id,(e,t)=>{var r=Zb(),o=Ot(r);{let e=Je(()=>s.mode.selector===Dr(t).selector),r=Je(()=>a.getThreadInfo(Dr(t).id));ib(o,Wi({get focused(){return Dr(e)}},()=>Dr(t),()=>Dr(r)))}q(r),function(e){var t,r,o,i=(Ko??yr).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=ev(this.element,{from:t,to:r},{duration:d.android?0:350,easing:Hs});o=Yo(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),Xo(1,r,()=>k,()=>({key:Dr(t).id})),Xo(2,r,()=>x,()=>({key:Dr(t).id})),mo(e,r)},e=>{var t=fo(),r=It(t),o=e=>{{let t=Je(()=>`No results for: "<strong>${a.search}</strong>"`);zg(e,{get icon(){return wm},title:"No Results",get subtitle(){return Dr(t)},height:"min-h-120"})}};$o(r,e=>{a.search&&e(o)}),mo(e,t)});var o=At(r,2),i=e=>{{let t=Je(()=>a.search?`No results for: "${a.search}"`:0===a?.threads?.length?"Be the first to comment":"Some are hidden by filters");zg(e,{get icon(){return Wp},title:"No Comments",get subtitle(){return Dr(t)}})}};$o(o,e=>{Dr(S)&&e(i)}),Hb(At(o,2),{}),q(t),Xo(3,t,()=>oa,()=>d.android?void 0:{axis:"y",duration:200}),mo(e,t)},n=e=>{mo(e,Kb())};$o(o,e=>{l.ready&&l.valid?e(i):a?.error&&e(n,1)});var c=At(o,2);!function(e){ue({},!0);const{settings:t,comments:r,modals:o}=cy();o.register("delete-comment");let i=Je(()=>o.getData("delete-comment"));{const n=e=>{var r=Lb();(function(e,t){const r=vo();ue(t,!0);let o=Ri(t,"checked",15,!1);var i=Cb(),n=Ot(i),s=Ot(n);wi(s),yp(At(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=At(n,2);si(a,1,ri(["relative flex text-sm/[140%] cursor-pointer rounded-[6px]"]));var l=Ot(a,!0);q(a),q(i),Qt(()=>{xi(s,"id",t.id??r),function(e,t){var r=Ci(e);r.checked!==(r.checked=t??void 0)&&(e.checked=t)}(s,o()),xi(a,"for",t.id??r),yo(l,t.label)}),no("change",s,e=>{cs();const r=e.target.checked;o(r),t.onchange?.(r)}),mo(e,i),he()})(Ot(r),{label:"Don't ask me again",get checked(){return t.current.dontAskBeforeDelete},onchange:e=>t.set("dontAskBeforeDelete",e)}),q(r),mo(e,r)};kb(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=Mb(),s=It(n);hg(s,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("delete-comment"),children:(e,t)=>{K(),mo(e,go("Cancel"))},$$slots:{default:!0}}),hg(At(s,2),{small:!0,flex:!0,variant:"destructive",onclick:()=>r.deleteComment(Dr(i)),get loading(){return r.loading},children:(e,t)=>{K(),mo(e,go("Delete"))},$$slots:{default:!0}}),mo(e,n)},$$slots:{content:!0,default:!0}})}he()}(c);var u=At(c,2);!function(e,t){ue(t,!0);const{comments:r,modals:o}=cy();o.register("edit-comment");let i=dt(null),n=dt(""),s=dt(bt([])),a=dt(bt([])),l=dt(0),c=dt(0);Yn(()=>o.modals["edit-comment"],()=>{if(o.modals["edit-comment"]&&(ht(i,o.getData("edit-comment"),!0),Dr(i))){const e=Dr(i).expand?.mentions||[];ht(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(""):""}(Dr(i).content,e),!0),function(e,t=1){var r=Dr(e);1===t?r++:r--,ht(e,r)}(c)}});const d=Je(()=>Dr(s).length>0&&Dr(l)<=400),u=async()=>{Dr(i)&&Dr(d)&&await r.editComment(Dr(i).id,{content:Dr(s),mentions:Dr(a)})};{const t=e=>{var t=zb(),r=It(t),o=e=>{var t=Ib(),r=Ot(t);{let e=Je(()=>Dr(i).expand?.createdBy);rv(r,{get created(){return Dr(i).created},get author(){return Dr(e)}})}q(t),mo(e,t)};$o(r,e=>{Dr(i)&&e(o)}),Eo(At(r,2),()=>Dr(c),e=>{var t=Ab();Ob(Ot(t),{id:"edit-comment",get initialHtml(){return Dr(n)},get maxLength(){return 400},get content(){return Dr(s)},set content(e){ht(s,e,!0)},get mentions(){return Dr(a)},set mentions(e){ht(a,e,!0)},get charCount(){return Dr(l)},set charCount(e){ht(l,e,!0)}}),q(t),mo(e,t)}),mo(e,t)};kb(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=Pb(),n=Ot(i);hg(n,{small:!0,flex:!0,variant:"ghost",onclick:()=>o.close("edit-comment"),children:(e,t)=>{K(),mo(e,go("Cancel"))},$$slots:{default:!0}});var s=At(n,2);{let e=Je(()=>!Dr(d));hg(s,{small:!0,flex:!0,onclick:u,get disabled(){return Dr(e)},get loading(){return r.loading},children:(e,t)=>{K(),mo(e,go("Save"))},$$slots:{default:!0}})}q(i),mo(e,i)},$$slots:{content:!0,default:!0}})}he()}(u,{});var h=At(u,2);!function(e){ue({},!0);const{pages:t,modals:r}=cy();r.register("edit-page");let o=dt(bt({})),i=dt(""),n=dt(""),s=Je(()=>!!Dr(n)&&Dr(n)!==Dr(o).pathname),a=dt(!1);Yn(()=>r.modals["edit-page"],()=>{r.modals["edit-page"]&&(ht(o,t.data?.find(e=>e?.id===r.getData("edit-page")?.id)||t.current||[],!0),ht(i,Dr(o)?.name||"",!0),ht(n,Dr(o)?.pathname||"",!0))});const l=async e=>{e.preventDefault(),ht(a,!0);const l=Dr(s);Dr(o)?.id?(await t.update(Dr(o).id,{name:Dr(i),pathname:Dr(n)}),t.current?.id===Dr(o).id&&(t.current={...t.current,name:Dr(i),pathname:Dr(n)})):(await t.registerCurrent(Dr(i)),l&&t.current?.id&&(await t.update(t.current.id,{pathname:Dr(n)}),t.current&&(t.current={...t.current,pathname:Dr(n)}))),ht(a,!1),r.close("edit-page"),l&&(window.location.href=Dr(n))};{const t=e=>{var t=$b(),r=Ot(t);ua(r,{children:(e,t)=>{ag(e,{name:"page-name",label:"Name",required:!0,get disabled(){return Dr(a)},get value(){return Dr(i)},set value(e){ht(i,e,!0)}})},$$slots:{default:!0}});var o=At(r,2);ua(o,{children:(e,t)=>{ag(e,{name:"page-url",label:"URL",required:!0,pattern:"/[a-zA-Z0-9\\-._~\\/]*",get disabled(){return Dr(a)},get loading(){return Dr(a)},get value(){return Dr(n)},set value(e){ht(n,e,!0)}})},$$slots:{default:!0}});var c=At(o,2),d=e=>{var t=Sb();Xo(3,t,()=>oa,()=>({axis:"y",duration:400,easing:Hs})),mo(e,t)};$o(c,e=>{Dr(s)&&e(d)}),q(t),io("submit",t,l),mo(e,t)};kb(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=_b(),i=It(o);hg(i,{small:!0,flex:!0,variant:"ghost",onclick:()=>r.close("edit-page"),children:(e,t)=>{K(),mo(e,go("Cancel"))},$$slots:{default:!0}}),hg(At(i,2),{small:!0,type:"submit",flex:!0,form:"edit-page-form",get disabled(){return Dr(a)},get loading(){return Dr(a)},children:(e,t)=>{K(),mo(e,go("Save"))},$$slots:{default:!0}}),mo(e,o)},$$slots:{content:!0,default:!0}})}he()}(h),db(At(h,2),{}),mo(e,r)},$$slots:{popoverContent:!0,default:!0}})}mo(e,o)},$$slots:{default:!0}}),he()},beforeEnter:jw},isolation:{component:function(e,t){ue(t,!0);const{hover:r,comments:o,router:i}=cy();aa(e,{name:"isolation",children:(e,t)=>{var n=Qb(),s=It(n);{const e=e=>{{let t=Je(()=>r.isolationSelector?document.querySelector(r.isolationSelector):null);Lv(e,{get element(){return Dr(t)},missing:!1,meta:!1})}};Ug(s,{label:"Selection",onBack:()=>(r.dismissIsolation(),void i.goto("comments",{direction:"back"})),after:e,$$slots:{after:!0}})}Ep(At(s,2),{children:(e,t)=>{var i=Jb(),n=It(i),s=Ot(n);Ao(s,17,()=>o?.isolatedThreads??[],e=>e.id,(e,t)=>{{let i=Je(()=>o.getThreadInfo(Dr(t).id));ib(e,Wi({get focused(){return r.isIsolated}},()=>Dr(t),()=>Dr(i)))}});var a=At(s,2),l=e=>{zg(e,{get icon(){return Wp},title:"No Comments",subtitle:"Add comments to this element.",height:"min-h-400"})};$o(a,e=>{0===o?.isolatedThreads?.length&&e(l)});var c=At(a,2);{let e=Je(()=>o.threads.filter(e=>e.selector===r.isolationSelector));Hb(c,{get threads(){return Dr(e)}})}q(n),db(At(n,2),{}),mo(e,i)},$$slots:{default:!0}}),mo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(e?.hover?.isIsolated?void 0:{redirect:"comments"})},meta:{component:function(e,t){ue(t,!0);const{pages:r,meta:o,comments:i}=cy();aa(e,{name:"meta",children:(e,t)=>{var n=tw(),s=It(n);{let e=Je(()=>r?.current?.name||"—");Ug(s,{label:"Meta",get title(){return Dr(e)},onBack:()=>{o.hide()}})}Ep(At(s,2),{children:(e,t)=>{var r=ew(),o=It(r);si(o,1,ri(["flex flex-col gap-6 flex-1"]));var n=Ot(o);Ao(n,17,()=>i?.metaThreads??[],e=>e.id,(e,t)=>{{let r=Je(()=>i.getThreadInfo(Dr(t).id));ib(e,Wi(()=>Dr(t),()=>Dr(r)))}});var s=At(n,2),a=e=>{zg(e,{get icon(){return Wp},title:"No Meta Comments",subtitle:"Add comments to meta fields."})};$o(s,e=>{0===i?.metaThreads?.length&&e(a)});var l=At(s,2);{let e=Je(()=>i.threads.filter(e=>e.info?.meta));Hb(l,{get threads(){return Dr(e)}})}q(o),db(At(o,2),{}),mo(e,r)},$$slots:{default:!0}}),mo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(e?.meta?.visible?void 0:{redirect:"comments"})},thread:{component:function(e,t){ue(t,!0);const{hover:r,router:o,comments:i}=cy();let n=dt(!1),s=Je(()=>"all"===i.threadNotificationSetting?Df:Hf);const a=e=>{const t=i.activeThreadId;t&&(i.threadNotificationSetting=e,i.setNotification(t,e))},l=async()=>{await navigator.clipboard.writeText(window.location.href)};aa(e,{name:"thread",children:(e,t)=>{var c=vw(),d=It(c);{const e=e=>{var t=gw(),r=It(t);Wg(r,{get icon(){return xg},onclick:l});{const e=(e,t)=>{Wg(e,Wi(()=>t?.().props,{get icon(){return Dr(s)},get active(){return Dr(n)}}))};ap(At(r,2),{triggerClass:"",class:"min-w-200",get opened(){return Dr(n)},set opened(e){ht(n,e,!0)},child:e,children:(e,t)=>{var r=pw(),o=It(r);{let e=Je(()=>"all"===i.threadNotificationSetting);Jg(o,{title:"All activity",get icon(){return Df},get checked(){return Dr(e)},onclick:()=>a("all")})}var n=At(o,2);{let e=Je(()=>"none"===i.threadNotificationSetting);Jg(n,{title:"Nothing",get icon(){return Hf},get checked(){return Dr(e)},onclick:()=>a("none")})}mo(e,r)},$$slots:{child:!0,default:!0}})}mo(e,t)};Ug(d,{label:"Thread",onBack:()=>(async()=>{const e="isolation"===o.previous;i.setActiveThread(null),bs(),o.back("comments"),e||r.dismissIsolation()})(),after:e,$$slots:{after:!0}})}Ep(At(d,2),{padding:"h-full flex-col-reverse overflow-y-scroll",children:(e,t)=>{var r=mw(),o=It(r);hw(Ot(o),{id:"reply",get parent(){return i.activeThreadId}}),q(o);var n=At(o,4),s=Ot(n),a=e=>{ib(e,Wi(()=>i.activeThread,{replyThread:!0}))},l=e=>{var t=fw(),r=Ot(t);Og(Ot(r)),q(r),q(t),mo(e,t)};$o(s,e=>{i.activeThread?e(a):e(l,!1)}),Ao(At(s,2),19,()=>i.activeThreadReplies,e=>e.id,(e,t,r)=>{ib(e,Wi({reply:!0},()=>Dr(t),{get index(){return Dr(r)}}))}),q(n),mo(e,r)},$$slots:{default:!0}}),mo(e,c)},$$slots:{default:!0}}),he()},beforeEnter:e=>jw(e)||(e.comments.activeThreadId?void 0:(vs()?.[1]||bs(),{redirect:"comments"}))},issues:{component:function(e,t){ue(t,!0);const{pages:r,analysis:o}=cy(),i={seo:"SEO & Accessibility",html:"HTML Quality",performance:"Performance",security:"Security",content:"Content"},n={seo:Kf,html:lf,performance:hf,security:Zf,content:lm},s={title:vf,description:Qf,"og-image":Xf,favicon:mf,lang:Mf,"h1-missing":vf,"h1-multiple":vf,"h1-ok":vf,"heading-hierarchy":bf,"heading-empty":bf,"img-alt-missing":wf,"img-alt-ok":wf,"button-empty":rm,"link-empty":Tf,"form-labels":Lf,"duplicate-ids":uf,deprecated:lf,"inline-handlers":Yf,"empty-href":um,viewport:Uf,"img-dimensions":kf,"blocking-scripts":gf,"mixed-content":qf,"target-blank":om,"form-http":zf,"lorem-ipsum":lm,"broken-anchors":Qg,"todo-visible":af};function a(e){return s[e.id]?s[e.id]:e.id.startsWith("duplicate-id-")?uf:e.id.startsWith("deprecated-")?lf:n[e.category]??Kf}const l=Je(()=>({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=Je(()=>o.checks.filter(e=>"pass"!==e.status)),d=Je(()=>o.checks.filter(e=>"pass"===e.status)),u=Je(()=>Dr(c).reduce((e,t)=>(e[t.category]||(e[t.category]=[]),e[t.category].push(t),e),{})),h=Je(()=>Dr(l).fail>0?"border-rose-500/30 bg-rose-500/5":Dr(l).warn>0?"border-orange-500/30 bg-orange-500/5":"border-green-500/30 bg-green-500/5"),p=Je(()=>Dr(l).fail>0?Ap:Dr(l).warn>0?Op:Dp),g=Je(()=>Dr(l).fail>0?"text-rose-400":Dr(l).warn>0?"text-orange-400":"text-green-400"),f=Je(()=>()=>{if(0===Dr(c).length)return"All checks passed — looking good";const e=[];return Dr(l).fail>0&&e.push(`${Dr(l).fail} error${Dr(l).fail>1?"s":""}`),Dr(l).warn>0&&e.push(`${Dr(l).warn} issues${Dr(l).warn>1?"s":""}`),`Found ${e.join(" and ")}`});let m=dt(bt(new Set)),b=dt(!1);var w=Iw(),y=It(w);aa(y,{name:"issues",children:(e,t)=>{var n=Ow(),s=It(n);{let e=Je(()=>r?.current?.name||"—");Ug(s,{label:"Issues",get title(){return Dr(e)},onBack:"comments"})}Ep(At(s,2),{children:(e,t)=>{var r=fo(),n=It(r),s=e=>{var t=xw();Og(Ot(t)),K(2),q(t),mo(e,t)},w=e=>{var t=Ew(),r=It(t),o=e=>{var t=kw(),r=Ot(t);tg(r,{get icon(){return Dr(p)},get className(){return`size-24 shrink-0 ${Dr(g)??""}`}});var o=At(r,2),i=Ot(o,!0);q(o),q(t),Qt(e=>{si(t,1,`w-full flex items-center gap-8 p-10 mb-16 rounded-2xl superellipse border-[0.5px] ${Dr(h)??""}`),yo(i,e)},[()=>Dr(f)()]),mo(e,t)};$o(r,e=>{Dr(c).length>0&&e(o)});var n=At(r,2);Ao(n,17,()=>Object.entries(Dr(u)),Oo,(e,t)=>{var r=Je(()=>v(Dr(t),2));let o=()=>Dr(r)[1];var n=_w(),s=Ot(n);Vm(s,{children:(e,t)=>{K();var o=go();Qt(()=>yo(o,i[Dr(r)[0]])),mo(e,o)},$$slots:{default:!0}}),bg(At(s,2),{children:(e,t)=>{var r=fo();Ao(It(r),19,o,e=>e.id,(e,t,r)=>{var o=$w(),i=Ot(o);{const e=e=>{var r=fo(),o=It(r),i=e=>{var t=Cw();tg(Ot(t),{get icon(){return Yf},className:"size-24 touch:size-28 shrink-0 text-neutral-500"}),q(t),mo(e,t)},n=e=>{var r=Lw(),o=Ot(r);{let e=Je(()=>Dr(m).has(Dr(t).id)?"-rotate-180":"");tg(o,{get icon(){return zp},get className(){return`size-20 text-neutral-500 transition-transform ${Dr(e)??""}`}})}q(r),mo(e,r)};$o(o,e=>{Dr(t).action?e(i):Dr(t).elements?.length&&e(n,1)}),mo(e,r)};let o=Je(()=>Dr(t).message||null),n=Je(()=>a(Dr(t))),s=Je(()=>"fail"===Dr(t).status?"!text-rose-400":"warn"===Dr(t).status?"!text-orange-400":""),l=Je(()=>!(!Dr(t).elements?.length||!Dr(m).has(Dr(t).id))||null),c=Je(()=>Dr(t).action?()=>Dr(t).action?.():Dr(t).elements?.length?()=>{return e=Dr(t).id,Dr(m).has(e)?Dr(m).delete(e):Dr(m).add(e),void ht(m,new Set(Dr(m)),!0);var e}:null);Eg(i,{get title(){return Dr(t).label},get subtitle(){return Dr(o)},get icon(){return Dr(n)},get classIcon(){return Dr(s)},get active(){return Dr(l)},get onclick(){return Dr(c)},get index(){return Dr(r)},after:e,$$slots:{after:!0}})}var n=At(i,2),s=e=>{var r=Sw();Ao(r,21,()=>Dr(t).elements,Oo,(e,t)=>{const r=Je(()=>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}>`}(Dr(t))),o=Je(()=>({current:null}));var i=Mw(),n=Ot(i),s=Ot(n,!0);q(n),Fi(n,(e,t)=>t.current=e,e=>e?.current,()=>[Dr(o)]),Lv(At(n,2),{get element(){return Dr(t)},get anchorEl(){return Dr(o).current}}),q(i),Qt(()=>yo(s,Dr(r))),mo(e,i)}),q(r),Xo(3,r,()=>oa,()=>({duration:150})),mo(e,r)},l=Je(()=>Dr(t).elements?.length&&Dr(m).has(Dr(t).id));$o(n,e=>{Dr(l)&&e(s)}),q(o),Xo(3,o,()=>oa,()=>({duration:150})),mo(e,o)}),mo(e,r)},$$slots:{default:!0}}),q(n),Xo(3,n,()=>oa,()=>({duration:200})),mo(e,n)});var s=At(n,2),w=e=>{var t=Tw(),r=Ot(t);tg(r,{get icon(){return Dp},className:"size-24 shrink-0 text-green-400"});var o=At(r,2),i=Ot(o);q(o),q(t),Qt(()=>yo(i,`${Dr(l).pass??""} check${Dr(l).pass>1?"s":""} passed`)),no("click",t,()=>ht(b,!0)),mo(e,t)};$o(s,e=>{Dr(d).length>0&&e(w)}),mo(e,t)};$o(n,e=>{o.loading&&0===o.checks.length?e(s):e(w,!1)}),mo(e,r)},$$slots:{default:!0}}),mo(e,n)},$$slots:{default:!0}});{const e=e=>{bg(e,{class:"",children:(e,t)=>{var r=fo();Ao(It(r),17,()=>Dr(d),Oo,(e,t,r)=>{{let o=Je(()=>Dr(t).message||null),i=Je(()=>a(Dr(t)));Eg(e,{get title(){return Dr(t).label},get subtitle(){return Dr(o)},get icon(){return Dr(i)},index:r})}}),mo(e,r)},$$slots:{default:!0}})};kb(At(y,2),{title:"Passed checks",get open(){return Dr(b)},set open(e){ht(b,e,!0)},content:e,$$slots:{content:!0}})}mo(e,w),he()},beforeEnter:jw},settings:{component:function(e,t){ue(t,!0);const{router:r,settings:o}=cy(),i=Object.entries(o.groups).filter(([e,t])=>!1!==t.visible);aa(e,{name:"settings",children:(e,t)=>{var n=Pw(),s=It(n);Ug(s,{label:"Settings",onBack:()=>r.back("comments")}),Ep(At(s,2),{title:"Settings",children:(e,t)=>{var r=zw(),n=It(r);Ao(n,17,()=>i,Oo,(e,t)=>{var r=Je(()=>v(Dr(t),2)),i=Aw(),n=It(i);Vm(n,{children:(e,t)=>{K();var o=go();Qt(()=>yo(o,Dr(r)[1].title)),mo(e,o)},$$slots:{default:!0}}),bg(At(n,2),{class:"mb-16",children:(e,t)=>{var i=fo();Ao(It(i),17,()=>o.schema.filter(e=>e.group===Dr(r)[0]),Oo,(e,t)=>{{const r=e=>{var r=fo(),i=It(r),n=e=>{sb(e,{get checked(){return o.current[Dr(t).key]},onchange:e=>o.set(Dr(t).key,e)})};$o(i,e=>{"boolean"===Dr(t).type&&e(n)}),mo(e,r)};Eg(e,{icon:null,get title(){return Dr(t).label},after:r,$$slots:{after:!0}})}}),mo(e,i)},$$slots:{default:!0}}),mo(e,i)});var s=At(n,2);Ot(s).textContent="v1.0.0-beta.82",q(s),mo(e,r)},$$slots:{default:!0}}),mo(e,n)},$$slots:{default:!0}}),he()},beforeEnter:jw}},Hw=class e extends ns{#Ki=dt(bt(Dw));get routes(){return Dr(this.#Ki)}set routes(e){ht(this.#Ki,e,!0)}#Gi=dt(!1);get navigating(){return Dr(this.#Gi)}set navigating(e){ht(this.#Gi,e,!0)}#Xi=dt("forward");get direction(){return Dr(this.#Xi)}set direction(e){ht(this.#Xi,e,!0)}#Yi=dt(null);get previous(){return Dr(this.#Yi)}set previous(e){ht(this.#Yi,e,!0)}#ae=dt(null);get current(){return Dr(this.#ae)}set current(e){ht(this.#ae,e,!0)}#Ji=dt(null);get next(){return Dr(this.#Ji)}set next(e){ht(this.#Ji,e,!0)}transitionTimeout=null;get containerEl(){return this.modules.environment.touch?this.modules.sheet.el:this.modules.win.el}#Qi=dt(!1);get hasAutoNavigatedToComments(){return Dr(this.#Qi)}set hasAutoNavigatedToComments(e){ht(this.#Qi,e,!0)}#en=Je(()=>this.navigating?"forward"===this.direction?this.next:this.previous:this.current);get nextCurrent(){return Dr(this.#en)}set nextCurrent(e){ht(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:Ls,label:"Manage Domains",external:!0},action:"refresh"},"domains"),"error"!==this.current&&this.goto("error")})}hasRoute(e){return e in this.routes}clearHistory(){this.history=[],this.currentIndex=-1,this.current=null,this.previous=null}validateCurrentRoute(){const e=this.nextCurrent;if(!e)return;const t=this.routes[e];if(!t?.beforeEnter)return;const r=t.beforeEnter(this.modules);r&&(this.log.info(`Route validation change, redirecting: ${e} → ${r.redirect}`),this.navigating&&this.interruptTransition(),this.handleGuardResult(r))}guardDepth=0;static MAX_GUARD_DEPTH=5;goto(t,r,o="forward",i){if(!this.can.navigateTo(t))return;const n=this.routes[t];if(n?.beforeEnter){if(this.guardDepth++,this.guardDepth>e.MAX_GUARD_DEPTH)this.log.error(`Guard redirect loop detected (depth: ${this.guardDepth}), forcing navigation to: ${t}`),this.guardDepth=0;else{const e=n.beforeEnter(this.modules);if(e)return this.handleGuardResult(e,o),void(this.guardDepth=0)}this.guardDepth=0}const s=this.current;if(this.history=this.history.slice(0,this.currentIndex+1),this.history.push({page:t,params:r}),this.currentIndex=this.history.length-1,this.log.info(`Navigating to page: ${t} (from: ${s}, direction: ${o})`),this.emit("router:navigated",{from:s,to:t}),i?.instant)return this.current=t,this.next=null,void(this.previous=s);this.transition(t,o)}handleGuardResult(e,t="forward"){e?.logout||e?.redirect&&this.goto(e.redirect,void 0,t)}interruptTransition(){this.transitionTimeout&&(clearTimeout(this.transitionTimeout),this.transitionTimeout=null),this.containerEl?.classList.remove(`router-transition-${this.direction}`),this.navigating=!1,this.previous=this.current,this.current="forward"===this.direction?this.next:this.previous,this.next=null,this.containerEl}async transition(e,t){performance.now(),this.navigating=!0,this.direction=t,"forward"===t?this.next=e:this.previous=e,performance.now(),await jr(),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")}},Ww={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"},Rw=class extends ns{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=dt(!1);get emptyHover(){return Dr(this.#tn)}set emptyHover(e){ht(this.#tn,e,!0)}#rn=dt(bt({x:window.scrollX,y:window.scrollY}));get scroll(){return Dr(this.#rn)}set scroll(e){ht(this.#rn,e,!0)}#on=dt(bt({x:0,y:0}));get mouse(){return Dr(this.#on)}set mouse(e){ht(this.#on,e,!0)}#in=dt(!1);get insideFubi(){return Dr(this.#in)}set insideFubi(e){ht(this.#in,e,!0)}#nn=dt(!1);get cmdPressed(){return Dr(this.#nn)}set cmdPressed(e){ht(this.#nn,e,!0)}#_e=dt(!1);get isScrolling(){return Dr(this.#_e)}set isScrolling(e){ht(this.#_e,e,!0)}#sn=dt(!1);get isResizing(){return Dr(this.#sn)}set isResizing(e){ht(this.#sn,e,!0)}#an=dt(bt({x:0,y:0}));get pinPos(){return Dr(this.#an)}set pinPos(e){ht(this.#an,e,!0)}#ln=dt(null);get relativePos(){return Dr(this.#ln)}set relativePos(e){ht(this.#ln,e,!0)}#cn=dt(bt({type:"disabled"}));get mode(){return Dr(this.#cn)}set mode(e){ht(this.#cn,e,!0)}scrollEndTimeout=null;#dn=dt(!1);get highlightVisible(){return Dr(this.#dn)}set highlightVisible(e){ht(this.#dn,e,!0)}#ae=Je(()=>"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 Dr(this.#ae)}set current(e){ht(this.#ae,e)}#un=Je(()=>"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 Dr(this.#un)}set info(e){ht(this.#un,e)}#hn=Je(()=>"isolated"===this.mode.type||"replying"===this.mode.type);get isIsolated(){return Dr(this.#hn)}set isIsolated(e){ht(this.#hn,e)}#pn=dt(!1);get highlightInstant(){return Dr(this.#pn)}set highlightInstant(e){ht(this.#pn,e,!0)}#gn=Je(()=>{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 Dr(this.#gn)}set highlightCoords(e){ht(this.#gn,e)}#fn=Je(()=>{const e=this.info?.meta||this.info?.tag;return e?hv[e.toLowerCase()]||{name:e,icon:pv.icon}:pv});get tagInfo(){return Dr(this.#fn)}set tagInfo(e){ht(this.#fn,e)}#mn=Je(()=>"isolated"===this.mode.type||"replying"===this.mode.type?this.mode.selector:null);get isolationSelector(){return Dr(this.#mn)}set isolationSelector(e){ht(this.#mn,e)}highlightPos=new Fs(this.highlightCoords,{stiffness:.08,damping:.5});#Yi=dt(null);get previous(){return Dr(this.#Yi)}set previous(e){ht(this.#Yi,e,!0)}hoverTimeout=null;#vn=dt(!1);get ignoreNextClick(){return Dr(this.#vn)}set ignoreNextClick(e){ht(this.#vn,e,!0)}#bn=Je(()=>"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 Dr(this.#bn)}set hoverSelector(e){ht(this.#bn,e)}#wn=Je(()=>"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 Dr(this.#wn)}set highlightColor(e){ht(this.#wn,e)}constructor(){super(),this.storage("enabled","fubi_hover_enabled",!1)}start(){this.modules.keys.onPress("c",()=>{us()||this.toggle()}),this.modules.events.add("mouseover",e=>this.handleMouseOver(e),{target:this.modules.toolbar.wrapper}),this.modules.events.add("mousemove",e=>this.handleMouseMove(e)),this.modules.events.add("mousedown",e=>this.handleMouseDown(e)),this.modules.events.add("click",e=>this.handleClick(e),{capture:!0}),this.modules.events.add("mouseout",e=>this.handleMouseOut(e),{target:document.documentElement});let e=null;window.addEventListener("scroll",()=>{if(this.scroll={x:window.scrollX,y:window.scrollY},this.enabled){if(this.isScrolling||(this.isScrolling=!0),this.modules.environment.touch)return e&&clearTimeout(e),void(e=setTimeout(()=>{this.isScrolling=!1},150));this.highlightVisible=!0,this.insideFubi||this.isIsolated||(this.mode={type:"idle"}),e&&clearTimeout(e),e=setTimeout(()=>{this.isScrolling=!1,!this.enabled||"idle"!==this.mode.type&&"tracking"!==this.mode.type||this.hoverElementUnderCursor()},150)}},{passive:!0}),this.modules.events.add("scrollstart",()=>{this.enabled&&(this.isIsolated||(this.isScrolling=!0,this.highlightVisible=!0,this.mode={type:"idle"}))});let t=null;if(window.addEventListener("resize",()=>{this.modules.environment.touch||(this.isResizing||(this.isResizing=!0,"isolated"!==this.mode.type&&"replying"!==this.mode.type||(this.dismissIsolation(),bs(),this.modules.router.goto("comments",void 0,"back"))),t&&clearTimeout(t),t=setTimeout(()=>{this.isResizing=!1},300))}),window.visualViewport){let e=null;window.visualViewport.addEventListener("resize",()=>{this.modules.environment.touch&&this.isIsolated&&(e&&clearTimeout(e),e=setTimeout(()=>{this.scroll={x:window.scrollX,y:window.scrollY}},300))})}this.on("comments:populated",()=>{this.enabled&&this.enable()}),this.on("auth:logout",()=>this.disable()),this.on("router:navigated",({from:e,to:t})=>{"replying"===this.mode.type&&"thread"===e&&this.exitReplyMode()}),this.on("sheet:closing",()=>{this.modules.environment.touch&&("isolated"!==this.mode.type&&"replying"!==this.mode.type||this.exitIsolation())}),this.modules.keys.onPress("Escape",()=>{this.modules.modals.anyOpen||this.modules.win.uiOpened||this.modules.sheet.uiOpened||this.dismissIsolation()}),qt(()=>{this.isScrolling?this.modules.dom.addClass("fubi-scrolling"):this.modules.dom.removeClass("fubi-scrolling")}),qt(()=>{this.highlightPos.set(this.highlightCoords,{instant:Rr(()=>this.highlightInstant)})})}enable(){this.can.enableHover?(cs(),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 jr(),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(),bs(),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)}},Vw=ho('<img draggable="false"/>'),Bw=ho('<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 Uw(e,t){ue(t,!0);const r=Je(()=>t.author?hs({...t.author,collectionName:"users"},"avatar"):null),o=Je(()=>Dr(r)?Dr(r)+"?thumb=64x64":null),i=Je(()=>t.author&&(t.author.firstName||t.author.name||t.author.email)||""),n=Je(()=>fs(new Date(t.created)));var s=Bw(),a=Ot(s),l=Ot(a),c=Ot(l),d=Ot(c),u=Ot(d),h=e=>{var t=Vw();Qt(()=>{xi(t,"src",Dr(o)),xi(t,"alt",Dr(i))}),mo(e,t)};$o(u,e=>{Dr(o)&&e(h)});var p=At(u,2),g=Ot(p),f=Ot(g,!0);q(g);var m=At(g,2),v=Ot(m,!0);q(m),q(p),q(d);var b=At(d,2),w=Ot(b,!0);q(b),q(c),q(l),q(a),q(s),Qt(()=>{li(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%;`),yo(f,Dr(i)),yo(v,Dr(n)),yo(w,t.preview)}),no("click",a,e=>{e.stopPropagation(),t.onclick()}),Xo(3,s,()=>ia,()=>({duration:150})),mo(e,s),he()}so(["click"]);var Zw=class extends ss{name="comments";expand="createdBy,mentions,thread_notifications_via_comment";sort="-created";#yn=dt(0);get domTick(){return Dr(this.#yn)}set domTick(e){ht(this.#yn,e,!0)}supportsAnchor=CSS.supports("anchor-name","--test");pins=new Map;anchorNames=new Map;#xn=Je(()=>this.data.filter(e=>!e.parent));get allThreads(){return Dr(this.#xn)}set allThreads(e){ht(this.#xn,e)}#kn=Je(()=>this.allThreads.filter(e=>e.page===this.modules.pages.current?.id).sort((e,t)=>t.created.localeCompare(e.created)));get threads(){return Dr(this.#kn)}set threads(e){ht(this.#kn,e)}#Cn=Je(()=>{const e=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 Dr(this.#Cn)}set grouped(e){ht(this.#Cn,e)}#cr=dt("");get search(){return Dr(this.#cr)}set search(e){ht(this.#cr,e,!0)}#Ln=Je(()=>{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 Dr(this.#Ln)}set filteredThreads(e){ht(this.#Ln,e)}#Mn=Je(()=>{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 Dr(this.#Mn)}set sortedThreads(e){ht(this.#Mn,e)}#Sn=Je(()=>this.sortedThreads.filter(e=>!e.done));get threadsTodo(){return Dr(this.#Sn)}set threadsTodo(e){ht(this.#Sn,e)}#$n=Je(()=>this.sortedThreads.filter(e=>e.done));get threadsDone(){return Dr(this.#$n)}set threadsDone(e){ht(this.#$n,e)}#_n=Je(()=>this.threads.length);get totalThreads(){return Dr(this.#_n)}set totalThreads(e){ht(this.#_n,e)}#Tn=Je(()=>this.threads.filter(e=>!!e.done).length);get doneThreads(){return Dr(this.#Tn)}set doneThreads(e){ht(this.#Tn,e)}#Oe=Je(()=>this.totalThreads>0?Math.round(this.doneThreads/this.totalThreads*100):0);get progress(){return Dr(this.#Oe)}set progress(e){ht(this.#Oe,e)}#En=Je(()=>{const e=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 Dr(this.#En)}set pageStats(e){ht(this.#En,e)}#On=Je(()=>this.sortedThreads.filter(e=>this.modules.hover.isIsolated&&e.selector===this.modules.hover.isolationSelector));get isolatedThreads(){return Dr(this.#On)}set isolatedThreads(e){ht(this.#On,e)}#In=Je(()=>this.sortedThreads.filter(e=>e.info?.meta));get metaThreads(){return Dr(this.#In)}set metaThreads(e){ht(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=dt(null);get activeThreadId(){return Dr(this.#An)}set activeThreadId(e){ht(this.#An,e,!0)}#zn=Je(()=>this.threads.find(e=>e.id===this.activeThreadId)??null);get activeThread(){return Dr(this.#zn)}set activeThread(e){ht(this.#zn,e)}#Pn=dt("none");get threadNotificationSetting(){return Dr(this.#Pn)}set threadNotificationSetting(e){ht(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=Je(()=>[...this.data.filter(e=>e.parent===this.activeThreadId)].sort((e,t)=>e.created.localeCompare(t.created)));get activeThreadReplies(){return Dr(this.#Fn)}set activeThreadReplies(e){ht(this.#Fn,e)}#Nn=dt(bt(new Map));get bindings(){return Dr(this.#Nn)}set bindings(e){ht(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 jr(),this.populate(),this.ready=!0}}onEnriched(e){jr().then(()=>this.populate())}onSubscriptionChange(e,t){this.domTick++,jr().then(()=>this.populate()),"delete"!==e||t.parent||t.id!==this.activeThreadId||"thread"!==this.modules.router.current&&"isolation"!==this.modules.router.current||(bs(),this.setActiveThread(null),this.modules.hover.dismissIsolation(),this.modules.router.goto("comments",void 0,"back"))}start(){Yn(()=>this.domTick,()=>{const e=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}),Yn(()=>this.modules.meta.visible,()=>{this.domTick++,jr().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++,jr().then(()=>this.populate())}),this.on("comments:populated",()=>{const e=[...this.grouped.keys()].filter(Boolean);this.modules.elements.watch(e);const t=vs()?.[1],r=this.data.find(e=>e.id===t)?.selector;t&&r&&!this.modules.hover.isIsolated&&(this.modules.hover.isolateForReply(t,r),this.modules.inputs.show("reply"),this.modules.inputs.focus("reply"))}),this.on("hover:reset",()=>this.setActiveThread(null)),this.on("hover:isolation-dismiss",()=>this.setActiveThread(null)),this.on("elements:changed",()=>{this.domTick++,jr().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||(bs(),("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?(new Date).toISOString():""})}async setDone(e,t){this.can.updateComment&&await this.pb.update(e,{done:t?(new Date).toISOString():""})}async setNotification(e,t){this.log.info(`Setting thread (${e}) notifications to:`,t),this.loading=!0;const[r,o]=await ps(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=new Set,t=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=xo(Uw,{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&&(Mo(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}}},qw=class extends ss{name="domains";sort="-updated";#nt=dt(null);get url(){return Dr(this.#nt)}set url(e){ht(this.#nt,e,!0)}initialized=!1;#ae=Je(()=>{const e=this.url?.origin;return e&&this.data.find(t=>t.origin===e)||null});get current(){return Dr(this.#ae)}set current(e){ht(this.#ae,e)}#jn=Je(()=>this.data.find(e=>e.active)||null);get activeDomain(){return Dr(this.#jn)}set activeDomain(e){ht(this.#jn,e)}#Dn=Je(()=>this.activeDomain?.origin===this.url?.origin);get isActive(){return Dr(this.#Dn)}set isActive(e){ht(this.#Dn,e)}#Hn=Je(()=>null!==this.activeDomain&&!this.isActive);get blocked(){return Dr(this.#Hn)}set blocked(e){ht(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 ps(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 ps(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?ms(e):null,t?ms(t):null,r?ms(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)}},Kw=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"]),Gw=class extends ns{offset=4;forbiddenTags=["html","body","script","style","link","meta","title","head","path"];pathCache=new WeakMap;#Wn=dt(bt({width:0,height:0}));get bodyDimensions(){return Dr(this.#Wn)}set bodyDimensions(e){ht(this.#Wn,e,!0)}watchedSelectors=new Set;globalMutation=null;transitionHandler=e=>{"visibility"!==e.propertyName&&"opacity"!==e.propertyName&&"display"!==e.propertyName||this.emitChanged()};intersectionObservers=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?gs(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:Kw.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?hv[r.toLowerCase()]||{name:r.charAt(0).toUpperCase()+r.slice(1).toLowerCase(),icon:pv.icon}:hv[t]||pv}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?gs(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)}},Xw=class extends ns{#Ge=dt(!1);get opened(){return Dr(this.#Ge)}set opened(e){ht(this.#Ge,e,!0)}#Rn=dt(null);get type(){return Dr(this.#Rn)}set type(e){ht(this.#Rn,e,!0)}#Vn=dt("");get query(){return Dr(this.#Vn)}set query(e){ht(this.#Vn,e,!0)}#Bn=dt(0);get selectedIndex(){return Dr(this.#Bn)}set selectedIndex(e){ht(this.#Bn,e,!0)}#Un=dt(null);get anchorElement(){return Dr(this.#Un)}set anchorElement(e){ht(this.#Un,e,!0)}#Zn=dt(bt([]));get items(){return Dr(this.#Zn)}set items(e){ht(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()}},Yw=Un("bus"),Jw=class extends ns{handlers=new Map;currentListener=null;depth=0;history=[];tracing=!1;on(e,t){this.handlers.has(e)||this.handlers.set(e,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:")||Yw.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){Yw.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(){Yw.info("Registered events:",Array.from(this.handlers.entries()).map(([e,t])=>`${e}: ${Array.from(t).map(e=>e.listener).join(", ")}`))}},Qw=class extends ns{#Kt=dt(!1);get enabled(){return Dr(this.#Kt)}set enabled(e){ht(this.#Kt,e,!0)}cornerRadius=6;fromEl=null;toEl=null;#qn=dt(bt({x:0,y:0,w:0,h:0}));get from(){return Dr(this.#qn)}set from(e){ht(this.#qn,e,!0)}#Kn=dt(bt({x:0,y:0,w:0,h:0}));get to(){return Dr(this.#Kn)}set to(e){ht(this.#Kn,e,!0)}#Gn=dt(bt({point:"border",offset:0}));get fromAnchor(){return Dr(this.#Gn)}set fromAnchor(e){ht(this.#Gn,e,!0)}#Xn=dt(bt({point:"border",offset:0}));get toAnchor(){return Dr(this.#Xn)}set toAnchor(e){ht(this.#Xn,e,!0)}#Yn=Je(()=>{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 Dr(this.#Yn)}set bounds(e){ht(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),qt(()=>{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}},ey=class extends ns{#Jn=dt(bt({}));get modals(){return Dr(this.#Jn)}set modals(e){ht(this.#Jn,e,!0)}#Pe=dt(bt({}));get data(){return Dr(this.#Pe)}set data(e){ht(this.#Pe,e,!0)}#Qn=dt();get portalTarget(){return Dr(this.#Qn)}set portalTarget(e){ht(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()})}},ty=class extends ns{get visible(){return this.modules.modals.isOpen("meta")}#es=dt(null);get shareImage(){return Dr(this.#es)}set shareImage(e){ht(this.#es,e,!0)}#ts=dt(null);get favicon(){return Dr(this.#ts)}set favicon(e){ht(this.#ts,e,!0)}#rs=dt(null);get touchicon(){return Dr(this.#rs)}set touchicon(e){ht(this.#rs,e,!0)}#os=dt(null);get title(){return Dr(this.#os)}set title(e){ht(this.#os,e,!0)}#is=dt(null);get description(){return Dr(this.#is)}set description(e){ht(this.#is,e,!0)}start(){Yn(()=>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}},ry=class extends ns{#ns=Je(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get enableHover(){return Dr(this.#ns)}set enableHover(e){ht(this.#ns,e)}#ss=Je(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated);get trackHover(){return Dr(this.#ss)}set trackHover(e){ht(this.#ss,e)}#as=Je(()=>this.modules.hover.enabled&&!this.modules.hover.isIsolated&&!this.modules.hover.insideFubi);get hoverElement(){return Dr(this.#as)}set hoverElement(e){ht(this.#as,e)}#ls=Je(()=>!(this.modules.hover.isIsolated||this.modules.hover.emptyHover||!this.modules.hover.info||!this.modules.hover.current));get isolateFromHover(){return Dr(this.#ls)}set isolateFromHover(e){ht(this.#ls,e)}#cs=Je(()=>this.modules.hover.isIsolated);get dismissIsolation(){return Dr(this.#cs)}set dismissIsolation(e){ht(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=Je(()=>(this.modules.hover.enabled||this.modules.hover.isIsolated)&&!!this.modules.hover.current);get handleHoverClick(){return Dr(this.#ds)}set handleHoverClick(e){ht(this.#ds,e)}#us=Je(()=>!this.modules.hover.highlightVisible&&!this.modules.hover.emptyHover);get showHighlight(){return Dr(this.#us)}set showHighlight(e){ht(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=Je(()=>{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 Dr(this.#hs)}set displayInvisibleIcon(e){ht(this.#hs,e)}#ps=Je(()=>{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 Dr(this.#ps)}set goBack(e){ht(this.#ps,e)}navigateTo(e){const t=this.modules.router;return t.hasRoute(e)&&t.current!==e}#gs=Je(()=>!this.modules.picker.opened);get commentInputSubmit(){return Dr(this.#gs)}set commentInputSubmit(e){ht(this.#gs,e)}#fs=Je(()=>!this.modules.picker.opened);get commentInputEscape(){return Dr(this.#fs)}set commentInputEscape(e){ht(this.#fs,e)}#ms=Je(()=>this.modules.picker.opened&&this.modules.picker.items.length>0);get navigatePicker(){return Dr(this.#ms)}set navigatePicker(e){ht(this.#ms,e)}#vs=Je(()=>this.modules.picker.opened&&!!this.modules.picker.items[this.modules.picker.selectedIndex]);get confirmPicker(){return Dr(this.#vs)}set confirmPicker(e){ht(this.#vs,e)}#bs=Je(()=>this.modules.picker.opened);get cancelPicker(){return Dr(this.#bs)}set cancelPicker(e){ht(this.#bs,e)}#ws=Je(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.hover.info);get createComment(){return Dr(this.#ws)}set createComment(e){ht(this.#ws,e)}#ys=Je(()=>!!this.modules.auth.user);get deleteComment(){return Dr(this.#ys)}set deleteComment(e){ht(this.#ys,e)}#xs=Je(()=>!!this.modules.auth.user);get updateComment(){return Dr(this.#xs)}set updateComment(e){ht(this.#xs,e)}#ks=Je(()=>!!this.modules.auth.user&&this.modules.hover.isIsolated&&!!this.modules.comments.activeThreadId);get reply(){return Dr(this.#ks)}set reply(e){ht(this.#ks,e)}#Cs=Je(()=>!!this.modules.auth.user&&this.modules.folders.canAccess);get accessFolders(){return Dr(this.#Cs)}set accessFolders(e){ht(this.#Cs,e)}selectFolder(e){return!e.locked&&this.modules.folders.current?.id!==e.id}#Ls=Je(()=>this.modules.environment.touch&&this.modules.sheet.opened);get dragWindow(){return Dr(this.#Ls)}set dragWindow(e){ht(this.#Ls,e)}#Ms=Je(()=>this.modules.environment.touch?!this.modules.sheet.opened:!this.modules.win.opened);get openWindow(){return Dr(this.#Ms)}set openWindow(e){ht(this.#Ms,e)}#Ss=Je(()=>this.modules.environment.touch?this.modules.sheet.opened:this.modules.win.opened);get closeWindow(){return Dr(this.#Ss)}set closeWindow(e){ht(this.#Ss,e)}#$s=Je(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&this.modules.folders.ready&&!this.modules.domains.blocked);get toggleWindow(){return Dr(this.#$s)}set toggleWindow(e){ht(this.#$s,e)}#_s=Je(()=>!!this.modules.auth.user);get authenticate(){return Dr(this.#_s)}set authenticate(e){ht(this.#_s,e)}#Ts=Je(()=>!!this.modules.auth.user);get logout(){return Dr(this.#Ts)}set logout(e){ht(this.#Ts,e)}#Es=Je(()=>!this.modules.meta.visible);get openAnalysis(){return Dr(this.#Es)}set openAnalysis(e){ht(this.#Es,e)}#Os=Je(()=>!this.modules.hover.isIsolated);get openMeta(){return Dr(this.#Os)}set openMeta(e){ht(this.#Os,e)}#Is=Je(()=>this.modules.auth.user&&this.modules.settings?.current.overviewCommentsVisible&&this.modules.comments.data.length>0&&!this.modules.meta.visible);get displayCommentsOverview(){return Dr(this.#Is)}set displayCommentsOverview(e){ht(this.#Is,e)}#As=Je(()=>this.modules.auth.user&&this.modules.settings?.current.overviewPagesVisible&&this.modules.pages.pagesWithStats.length>0);get displayPagesOverview(){return Dr(this.#As)}set displayPagesOverview(e){ht(this.#As,e)}#zs=Je(()=>!!this.modules.auth.user);get showToolbarMenu(){return Dr(this.#zs)}set showToolbarMenu(e){ht(this.#zs,e)}#Ps=Je(()=>!!this.modules.auth.user&&this.modules.folders.canAccess&&!this.modules.domains.blocked);get accessSettings(){return Dr(this.#Ps)}set accessSettings(e){ht(this.#Ps,e)}#Fs=Je(()=>this.accessSettings);get openOnMobile(){return Dr(this.#Fs)}set openOnMobile(e){ht(this.#Fs,e)}},oy=class extends ns{#Ns=dt(bt([]));get checks(){return Dr(this.#Ns)}set checks(e){ht(this.#Ns,e,!0)}#Ae=dt(!1);get loading(){return Dr(this.#Ae)}set loading(e){ht(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=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=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"}]:[]}},iy=class extends ns{registry=new Map;_touchScrollPadding=!1;#js=dt(bt({}));get visibility(){return Dr(this.#js)}set visibility(e){ht(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"),jr().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){jr().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}},ny=class extends ns{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 ps(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})}},sy=class extends ns{#ae=dt(null);get current(){return Dr(this.#ae)}set current(e){ht(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))}},ay=["image/png","image/vnd.mozilla.apng","image/jpeg","image/webp","image/svg+xml"],ly=class extends ns{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=dt(bt([]));get files(){return Dr(this.#Ds)}set files(e){ht(this.#Ds,e,!0)}#Ne=dt(null);get error(){return Dr(this.#Ne)}set error(e){ht(this.#Ne,e,!0)}#Hs=dt(!1);get picking(){return Dr(this.#Hs)}set picking(e){ht(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=ay.join(","),e.onchange=e=>{this.handleSelect(e),this.picking=!1},window.addEventListener("focus",()=>{setTimeout(()=>{this.picking&&(this.picking=!1,this.modules.dom.scroll.enable())},500)},{once:!0}),e.click()}async handleSelect(e){this.error=null;const t="isolated"===this.modules.hover.mode.type?"new-comment":"reply";this.modules.inputs.blur(t),this.modules.inputs.focusForTouch(t);const r=e.target,o=Array.from(r.files??[]);r.value="",await this.handleFiles(o)}async compressEntry(e){try{if("image/svg+xml"===e.file.type)return void this.updateEntry(e.id,{status:"ready"});let t=await this.compressImage(e.file,.8);if(t.file.size>this.MAX_OUTPUT_SIZE_BYTES&&(t=await this.compressImage(e.file,.6)),t.file.size>this.MAX_OUTPUT_SIZE_BYTES&&(t=await this.compressImage(e.file,.4)),t.file.size>this.MAX_OUTPUT_SIZE_BYTES)throw new Error(`Could not compress below ${this.MAX_OUTPUT_SIZE_MB}MB`);const r=t.file.size<e.file.size?t.file:e.file,o=e.file.size-r.size;o>0?this.log.ok(`Compressed: ${Cs(e.file.size)} -> ${Cs(r.size)}, (${Cs(o)} smaller)`):this.log.ok(`Kept Original: ${Cs(e.file.size)}`),URL.revokeObjectURL(e.preview),this.updateEntry(e.id,{file:r,preview:URL.createObjectURL(r),width:t.width,height:t.height,status:"ready"})}catch(t){this.updateEntry(e.id,{status:"error",error:t instanceof Error?t.message:"Compression failed"})}}async compressImage(e,t=.8){const r=await createImageBitmap(e);let{width:o,height:i}=r;if(o>this.MAX_DIMENSION||i>this.MAX_DIMENSION){const e=Math.min(this.MAX_DIMENSION/o,this.MAX_DIMENSION/i);o=Math.round(o*e),i=Math.round(i*e)}const n=new OffscreenCanvas(o,i),s=n.getContext("2d");s.fillStyle="#333",s.fillRect(0,0,o,i),s.drawImage(r,0,0,o,i);const a=await n.convertToBlob({type:"image/webp",quality:t});return{file:new File([a],e.name.replace(/\.\w+$/,".webp"),{type:"image/webp"}),width:o,height:i}}async handleFiles(e){this.error=null;const t=this.files.length,r=[];this.log.group(`Handling ${e.length} selected files`);for(const n of e){if(t+r.length>=this.MAX_FILES){this.error=`Maximum of ${this.MAX_FILES} files allowed.`;break}if(!ay.includes(n.type)){this.error=`File type not allowed: ${n.type}`;continue}if(n.size>this.MAX_INPUT_SIZE_BYTES){this.error=`File is too large. Max size is ${this.MAX_INPUT_SIZE_MB}MB.`;continue}const e={id:crypto.randomUUID?.()??Math.random().toString(36).slice(2),file:n,preview:URL.createObjectURL(n),status:"compressing",progress:0};this.files.push(e),r.push(e)}await Promise.all(r.map(e=>this.compressEntry(e)));const o=this.files.filter(e=>"ready"===e.status),i=o.reduce((e,t)=>e+t.file.size,0);this.log.info(`Total upload: ${o.length} files, ${Cs(i)} total`),this.log.groupEnd()}updateEntry(e,t){const r=this.files.findIndex(t=>t.id===e);-1!==r&&(this.files[r]={...this.files[r],...t})}previewImage(e,t,r,o,i){this.modules.environment.touch?this.modules.sheet.uiOpened=!0:this.modules.win.uiOpened=!0,this.modules.modals.open("media-preview",{src:e,commentId:t,filename:r,width:o,height:i})}remove(e){this.error=null;const t=this.files.findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(this.files[t].preview),this.files.splice(t,1))}clear(){this.error=null;for(const e of this.files)URL.revokeObjectURL(e.preview);this.files=[]}getFilesForUpload(){return this.files.filter(e=>"ready"===e.status).map(e=>e.file)}};function cy(){return ce("app").modules}var dy="https://fubi.wondermakers.dev",uy=Un("app"),hy=ho('<div class="flex w-full items-center gap-6"><div></div> </div>'),py=ho('<p class="whitespace-nowrap"> <span> </span></p>'),gy=ho('<details open=""><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>'),fy=ho('<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 my=ho('<button draggable="false"><div class="sr-only">Resize</div> <div></div></button>');so(["pointerdown"]);var vy=ho('<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>'),by=ho("<!> <!>",1);function wy(e,t){ue(t,!0);const{router:r}=cy();let o=Je(()=>{const e=new Set;return r.current&&e.add(r.current),r.next&&e.add(r.next),r.previous&&e.add(r.previous),e});Bi(()=>r.ready=!0);var i=by(),n=It(i);Ao(n,17,()=>Object.entries(Dw),([e,t])=>e,(e,t)=>{var i=Je(()=>v(Dr(t),2));let n=()=>Dr(i)[0];var s=fo(),a=It(s),l=e=>{const t=Je(()=>r.current===n()?r.history[r.currentIndex]?.params??{}:{}),o=Je(()=>r.nextCurrent===n());var s=fo();Ho(It(s),()=>Dr(i)[1].component,(e,i)=>{i(e,Wi({get visible(){return Dr(o)},get navigating(){return r.navigating},get direction(){return r.direction}},()=>Dr(t)))}),mo(e,s)},c=Je(()=>Dr(o).has(n()));$o(a,e=>{Dr(c)&&e(l)}),mo(e,s)}),function(e){ue({},!0);const{folders:t,modals:r}=cy();r.register("folder-deleted");{const o=e=>{var r=vy(),o=At(Ot(r)),i=Ot(o,!0);q(o),K(),q(r),Qt(()=>yo(i,t?.current?.name)),mo(e,r)};kb(e,{title:"Folder Deleted",get open(){return r.modals["folder-deleted"]},set open(e){r.modals["folder-deleted"]=e},content:o,children:(e,t)=>{hg(e,{small:!0,onclick:()=>r.close("folder-deleted"),children:(e,t)=>{K(),mo(e,go("OK"))},$$slots:{default:!0}})},$$slots:{content:!0,default:!0}})}he()}(At(n,2)),mo(e,i),he()}var yy=ho('<div data-lenis-prevent="" data-fubi-window="" data-fubi-hide-all=""><!> <!></div>');var xy=ho('<button><span class="sr-only"> </span> <!></button>');function ky(e,t){ue(t,!0);const r=Ri(t,"variant",3,"default"),o=Ri(t,"label",3,"Icon"),i=Ri(t,"tooltip",19,()=>({text:"",key:null})),n=Ri(t,"iconSize",3,"size-24"),s=Di(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=xy();ki(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=Ot(l),d=Ot(c,!0);q(c);var u=At(c,2);{let e=Je(()=>`${n()} shrink-0`);tg(u,{get icon(){return t.icon},get className(){return Dr(e)}})}q(l),Qt(()=>yo(d,o())),Xo(3,l,()=>oa,()=>({axis:"x",duration:450,easing:Hs})),mo(e,l)};np(e,{get text(){return i().text},get key(){return i().key},delay:100,offset:8,child:l,$$slots:{child:!0}})}he()}var Cy=ho('<button><span class="sr-only">Menu</span> <!></button>'),Ly=ho('<div class="size-36 flex-center mr-4"><img/></div>'),My=ho('<a target="_blank" rel="noopener noreferrer" class="contents"><!></a> <div class="group-divider"></div> <!> <!> <!>',1);function Sy(e,t){ue(t,!0);const{win:r,sheet:o,can:i,router:n,auth:s,environment:a,modals:l}=cy();let c=dt(!1);const d=async()=>{const e=a.touch?o:r;e.opened||e.open(),n.goto("settings")};{const t=(e,t)=>{var r=Cy();ki(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",Dr(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"]})),tg(At(Ot(r),2),{get icon(){return Zp},className:"size-25 shrink-0 touch:size-32"}),q(r),mo(e,r)};ap(e,{sideOffset:4,triggerClass:"",origin:"origin-bottom-right",get opened(){return Dr(c)},set opened(e){ht(c,e,!0)},child:t,children:(e,t)=>{var r=My(),o=It(r),n=Ot(o);{const e=e=>{var t=Ly(),r=Ot(t);si(r,1,ri(["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),Qt(()=>{xi(r,"src",s.avatarThumbUrl),xi(r,"alt",s.user?.firstName+" "+s.user?.lastName)}),mo(e,t)};let t=Je(()=>s?.user?.email??"Not logged in");Jg(n,{get title(){return s.accountName},get subtitle(){return Dr(t)},onclick:()=>{},start:e,$$slots:{start:!0}})}q(o);var a=At(o,4);Jg(a,{title:"Report Bug",get icon(){return of},onclick:()=>l.open("report-bug")});var c=At(a,2),u=e=>{Jg(e,{title:"Settings",get icon(){return Gf},onclick:d})};$o(c,e=>{i.accessSettings&&e(u)}),Jg(At(c,2),{title:"Logout",get icon(){return Pf},type:"destructive",closeOnSelect:!0,onclick:()=>setTimeout(()=>s.logout(),200)}),Qt(()=>xi(o,"href",s.accountUrl)),mo(e,r)},$$slots:{child:!0,default:!0}})}he()}var $y=ho('<a target="_blank"><!> <span class="sr-only">Open Fubi Website</span></a>');function _y(e,t){ue(t,!0);let r=dt(!1);Bi(()=>ht(r,!0)),np(e,{text:"Open Fubi Website",delay:100,offset:8,children:(e,t)=>{var o=$y();xi(o,"href","https://fubi.dev"),ca(Ot(o),{class:"h-24 touch:h-28 shrink-0 text-lime-300"}),K(2),q(o),Qt(()=>si(o,1,ri(["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",Dr(r)?"active:scale-95 active:duration-200 active:bg-lime-400/20":"scale-0 rotate-360 opacity-0"]))),mo(e,o)},$$slots:{default:!0}}),he()}var Ty=ho("<!> <!> <!>",1),Ey=ho('<div data-fubi-hide-all=""><!> <div class="w-px h-24 rounded-full bg-white/15 mx-8"></div> <!></div>'),Oy=ho("<div><!></div>");function Iy(e,t){const r=Ri(t,"vertical",3,!1),o=Ri(t,"bg",3,"bg-neutral-800/80");var i=Oy(),n=Ot(i);{let e=Je(()=>["font-medium text-sm/none",r()?"flex flex-col gap-2":"flex gap-4 items-center"]);aw(n,{animate:"width",get class(){return Dr(e)},children:(e,r)=>{var o=fo();Do(It(o),()=>t.children),mo(e,o)},$$slots:{default:!0}})}q(i),Qt(()=>si(i,1,ri(["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()]))),Xo(3,i,()=>ia,()=>({duration:200,easing:Ws,start:.8,opacity:0})),mo(e,i)}var Ay=ho('<div class="flex-center text-orange-600"><!></div>'),zy=ho('<!> <p class="trim-both text-white whitespace-nowrap">Ignored element</p>',1),Py=ho('<!> <p class="trim-both text-white whitespace-nowrap"> </p>',1),Fy=ho('<!> <p class="trim-both text-white whitespace-nowrap">Invisible element</p>',1),Ny=ho('<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>'),jy=ho('<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>'),Dy=ho('<div class="flex flex-col"><!> <!></div>'),Hy=ho("<!> <!> <!>",1),Wy=ho("<div><!></div>"),Ry=ho('<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 Vy=ho('<div class="py-8 text-center text-sm text-neutral-500"> </div>'),By=ho('<img alt="" class="size-32 rounded-[8px] superellipse object-cover glass"/>'),Uy=ho('<div class="size-32 bg-sky-500/30 rounded-[8px] superellipse object-cover glass-shadow flex-center text-white text-sm"> </div>'),Zy=ho('<!> <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),qy=ho('<span class="text-xs text-neutral-500"> </span>'),Ky=ho('<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),Gy=ho("<button><!></button>"),Xy=ho('<div class="flex flex-col gap-2"></div>');so(["pointerdown","click"]);var Yy=po('<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>'),Jy=ho('<img alt="Icon" class="size-24 rounded-[4px] superellipse pointer-events-none"/>'),Qy=ho('<div class="flex-center size-24 pointer-events-none"><!></div>'),ex=ho('<img alt="Share" class="w-full rounded-[12px] superellipse object-cover pointer-events-none"/>'),tx=ho('<!> <p class="text-sm/none mt-4" data-fubi-ignore="">Missing share image</p>',1),rx=ho('<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);so(["click"]);var ox=ho('<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);so(["click"]),ho('<button><!> <div class="sr-only">Close</div></button>');var ix=ho('<div></div> <div data-fubi-ignore-all=""></div>',1),nx=ho('<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>'),sx=ho("<!> <!>",1);var ax=ho("<div></div>"),lx=ho('<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),cx=ho("<!> <!>",1);var dx=ho('<div class="flex items-center overflow-x-auto"></div>'),ux=ho('<p class="text-[13px] text-red-400"> </p>'),hx=ho('<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>'),px=ho('<div class="flex gap-8"><!> <!></div>');var gx=Math.min,fx=Math.max,mx=Math.round,vx=e=>({x:e,y:e}),bx={left:"right",right:"left",bottom:"top",top:"bottom"};function wx(e,t,r){return fx(e,gx(t,r))}function yx(e,t){return"function"==typeof e?e(t):e}function xx(e){return e.split("-")[0]}function kx(e){return e.split("-")[1]}function Cx(e){return"x"===e?"y":"x"}function Lx(e){return"y"===e?"height":"width"}function Mx(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function Sx(e){return Cx(Mx(e))}function $x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var _x=["left","right"],Tx=["right","left"],Ex=["top","bottom"],Ox=["bottom","top"];function Ix(e){const t=xx(e);return bx[t]+e.slice(t.length)}function Ax(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 zx(e,t,r){let{reference:o,floating:i}=e;const n=Mx(t),s=Sx(t),a=Lx(s),l=xx(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(kx(t)){case"start":p[s]-=h*(r&&c?-1:1);break;case"end":p[s]+=h*(r&&c?-1:1)}return p}async function Px(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}=yx(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=Ax(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=Ax(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 Fx=new Set(["left","top"]);function Nx(){return"undefined"!=typeof window}function jx(e){return Wx(e)?(e.nodeName||"").toLowerCase():"#document"}function Dx(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hx(e){var t;return null==(t=(Wx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Wx(e){return!!Nx()&&(e instanceof Node||e instanceof Dx(e).Node)}function Rx(e){return!!Nx()&&(e instanceof Element||e instanceof Dx(e).Element)}function Vx(e){return!!Nx()&&(e instanceof HTMLElement||e instanceof Dx(e).HTMLElement)}function Bx(e){return!(!Nx()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Dx(e).ShadowRoot)}function Ux(e){const{overflow:t,overflowX:r,overflowY:o,display:i}=tk(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&"inline"!==i&&"contents"!==i}function Zx(e){return/^(table|td|th)$/.test(jx(e))}function qx(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}var Kx,Gx=/transform|translate|scale|rotate|perspective|filter/,Xx=/paint|layout|strict|content/,Yx=e=>!!e&&"none"!==e;function Jx(e){const t=Rx(e)?tk(e):e;return Yx(t.transform)||Yx(t.translate)||Yx(t.scale)||Yx(t.rotate)||Yx(t.perspective)||!Qx()&&(Yx(t.backdropFilter)||Yx(t.filter))||Gx.test(t.willChange||"")||Xx.test(t.contain||"")}function Qx(){return null==Kx&&(Kx="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Kx}function ek(e){return/^(html|body|#document)$/.test(jx(e))}function tk(e){return Dx(e).getComputedStyle(e)}function rk(e){return Rx(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ok(e){if("html"===jx(e))return e;const t=e.assignedSlot||e.parentNode||Bx(e)&&e.host||Hx(e);return Bx(t)?t.host:t}function ik(e){const t=ok(e);return ek(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vx(t)&&Ux(t)?t:ik(t)}function nk(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=ik(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Dx(i);if(n){const e=sk(s);return t.concat(s,s.visualViewport||[],Ux(i)?i:[],e&&r?nk(e):[])}return t.concat(i,nk(i,[],r))}function sk(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ak(e){const t=tk(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Vx(e),n=i?e.offsetWidth:r,s=i?e.offsetHeight:o,a=mx(r)!==n||mx(o)!==s;return a&&(r=n,o=s),{width:r,height:o,$:a}}function lk(e){return Rx(e)?e:e.contextElement}function ck(e){const t=lk(e);if(!Vx(t))return vx(1);const r=t.getBoundingClientRect(),{width:o,height:i,$:n}=ak(t);let s=(n?mx(r.width):r.width)/o,a=(n?mx(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}var dk=vx(0);function uk(e){const t=Dx(e);return Qx()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:dk}function hk(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),n=lk(e);let s=vx(1);t&&(o?Rx(o)&&(s=ck(o)):s=ck(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Dx(e))&&t}(n,r,o)?uk(n):vx(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=Dx(n),t=o&&Rx(o)?Dx(o):o;let r=e,i=sk(r);for(;i&&o&&t!==r;){const e=ck(i),t=i.getBoundingClientRect(),o=tk(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=Dx(i),i=sk(r)}}return Ax({width:d,height:u,x:l,y:c})}function pk(e,t){const r=rk(e).scrollLeft;return t?t.left+r:hk(Hx(e)).left+r}function gk(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-pk(e,r),y:r.top+t.scrollTop}}function fk(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Dx(e),o=Hx(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=Qx();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}const c=pk(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=Hx(e),r=rk(e),o=e.ownerDocument.body,i=fx(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=fx(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+pk(e);const a=-r.scrollTop;return"rtl"===tk(o).direction&&(s+=fx(t.clientWidth,o.clientWidth)-i),{width:i,height:n,x:s,y:a}}(Hx(e));else if(Rx(t))o=function(e,t){const r=hk(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,n=Vx(e)?ck(e):vx(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=uk(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ax(o)}function mk(e,t){const r=ok(e);return!(r===t||!Rx(r)||ek(r))&&("fixed"===tk(r).position||mk(r,t))}function vk(e,t){const r=t.get(e);if(r)return r;let o=nk(e,[],!1).filter(e=>Rx(e)&&"body"!==jx(e)),i=null;const n="fixed"===tk(e).position;let s=n?ok(e):e;for(;Rx(s)&&!ek(s);){const t=tk(s),r=Jx(s);r||"fixed"!==t.position||(i=null),(n?!r&&!i:!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||Ux(s)&&!r&&mk(e,s))?o=o.filter(e=>e!==s):i=t,s=ok(s)}return t.set(e,o),o}function bk(e,t,r){const o=Vx(t),i=Hx(t),n="fixed"===r,s=hk(e,!0,n,t);let a={scrollLeft:0,scrollTop:0};const l=vx(0);function c(){l.x=pk(i)}if(o||!o&&!n)if(("body"!==jx(t)||Ux(i))&&(a=rk(t)),o){const e=hk(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?vx(0):gk(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 wk(e){return"static"===tk(e).position}function yk(e,t){if(!Vx(e)||"fixed"===tk(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Hx(e)===r&&(r=r.ownerDocument.body),r}function xk(e,t){const r=Dx(e);if(qx(e))return r;if(!Vx(e)){let t=ok(e);for(;t&&!ek(t);){if(Rx(t)&&!wk(t))return t;t=ok(t)}return r}let o=yk(e,t);for(;o&&Zx(o)&&wk(o);)o=yk(o,t);return o&&ek(o)&&wk(o)&&!Jx(o)?r:o||function(e){let t=ok(e);for(;Vx(t)&&!ek(t);){if(Jx(t))return t;if(qx(t))return null;t=ok(t)}return null}(e)||r}var kk={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:i}=e;const n="fixed"===i,s=Hx(o),a=!!t&&qx(t.floating);if(o===s||a&&n)return r;let l={scrollLeft:0,scrollTop:0},c=vx(1);const d=vx(0),u=Vx(o);if((u||!u&&!n)&&(("body"!==jx(o)||Ux(s))&&(l=rk(o)),u)){const e=hk(o);c=ck(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!s||u||n?vx(0):gk(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:Hx,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e;const n=[..."clippingAncestors"===r?qx(t)?[]:vk(t,this._c):[].concat(r),o],s=fk(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=fk(t,n[u],i);a=fx(e.top,a),l=gx(e.right,l),c=gx(e.bottom,c),d=fx(e.left,d)}return{width:l-d,height:c-a,x:d,y:a}},getOffsetParent:xk,getElementRects:async function(e){const t=this.getOffsetParent||xk,r=this.getDimensions,o=await r(e.floating);return{reference:bk(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}=ak(e);return{width:t,height:r}},getScale:ck,isElement:Rx,isRTL:function(e){return"rtl"===tk(e).direction}},Ck=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=xx(r),a=kx(r),l="y"===Mx(r),c=Fx.has(s)?-1:1,d=n&&l?-1:1,u=yx(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}}}}},Lk=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}=yx(e,t),d={x:r,y:o},u=await n.detectOverflow(t,c),h=Mx(xx(i)),p=Cx(h);let g=d[p],f=d[h];if(s){const e="y"===p?"bottom":"right";g=wx(g+u["y"===p?"top":"left"],g,g-u[e])}if(a){const e="y"===h?"bottom":"right";f=wx(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}}}}}},Mk=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}=yx(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=xx(i),b=Mx(a),w=xx(a)===a,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=h||(w||!f?[Ix(a)]:function(e){const t=Ix(e);return[$x(e),t,$x(t)]}(a)),k="none"!==g;!h&&k&&x.push(...function(e,t,r,o){const i=kx(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Tx:_x:t?_x:Tx;case"left":case"right":return t?Ex:Ox;default:return[]}}(xx(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=kx(e),i=Sx(e),n=Lx(i);let s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=Ix(s)),[s,Ix(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===Mx(t)||S.every(e=>Mx(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=Mx(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{}}}},Sk=(e,t,r)=>{const o=new Map,i={platform:kk,...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:Px},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}=zx(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}=zx(c,h,l))),f=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:g}})(e,t,{...i,platform:n})},$k=ho("<button><!> New</button>"),_k=ho('<div><button data-fubi-message-show-comments-button=""><!> <p class="whitespace-nowrap text-sm/none"> </p></button> <!></div>');so(["click"]);var Tk=ho('<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);so(["click"]);var Ek=ho("<button><div><!></div> <div><!></div></button>"),Ok=ho('<div class="py-8 text-center text-sm text-neutral-500">No elements</div>'),Ik=ho('<div class="flex flex-col gap-2"></div>'),Ak=ho('<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),zk=ho("<!> <!>",1);so(["click"]);var Pk=ho('<div class="w-48"></div>'),Fk=ho('<button><!> <p class="ml-8 whitespace-nowrap pr-10"> </p></button>'),Nk=ho("<div><!></div>"),jk=ho('<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>'),Dk=ho('<div class="flex rounded-full"><!></div>'),Hk=ho('<p class="ml-8 whitespace-nowrap pr-10">Comment</p>'),Wk=ho('<button class="h-48 rounded-full px-14 active:bg-white/20 text-white flex-center font-medium text-center text-[18px]/none"><!> <!></button>'),Rk=ho("<!> <!>",1),Vk=ho("<!> <!>",1),Bk=ho('<div class="text-sm/none h-24 flex-center px-8 text-white">Tap to select element</div>'),Uk=ho('<div class="absolute-center pointer-events-none"><!></div>'),Zk=ho('<!> <div class="h-px w-24 rounded-full bg-white/15 mb-8 mt-4 mx-auto"></div> <!> <!> <!>',1),qk=ho('<button class="size-48 flex-center active:bg-white/20 rounded-full relative"><div><!></div> <div><!></div> <div><!></div></button>'),Kk=ho('<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);so(["click"]);var Gk=ho("<!> <!>",1),Xk=ho("<!> <!>",1),Yk=ho("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function Jk(e,t){ue(t,!0);const r=(e=>{const{projectId:t,options:r,wrapper:o}=e,i="demo"===t,n={pb:i?Rn(!1!==r?.persist):new Tn(dy,new rn("fubi_auth")),project:new Ms(t),team:new Es,elements:new Gw,win:new Rs,sheet:new Gs,router:new Hw,auth:new Ss,folders:new Os,pages:new Is,events:new $s,comments:new Zw,domains:new qw,toolbar:new _s(o),keys:new Ts,dom:new As,environment:new Xs,hover:new Rw,picker:new Xw,bus:new Jw,status:new as,tracer:new Qw,modals:new ey,meta:new ty,can:new ry,analysis:new oy,inputs:new iy,settings:new ny,resolution:new Tv,error:new sy,media:new ly};return Object.values(n).forEach(e=>{e._inject&&e._inject(n)}),uy.ok("All modules initialized."),{modules:n,start:()=>{Object.values(n).forEach(e=>{e.start&&e.start?.()}),i&&(window.fubi={modules:n},uy.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),Bi(()=>r.start()),function(e,t){var r;ue(t,!0),r={defaultPortalTo:wa(()=>t.defaultPortalTo),defaultLocale:wa(()=>t.defaultLocale)},Wl.set(new Rl(Wl.getOr(null),r));var o=fo();Do(It(o),()=>t.children??g),mo(e,o),he()}(e,{get defaultPortalTo(){return t.wrapper},children:(e,t)=>{var o=fo();Ho(It(o),()=>ep,(e,t)=>{t(e,{children:(e,t)=>{var o=Yk(),i=It(o);!function(e,t){ue(t,!0);const{resolution:r,modals:o,win:i}=cy();o.register("resolution");let n=Je(()=>r.width===r.current.width),s=Je(()=>r.height===r.current.height);const a=e=>{e||(setTimeout(()=>{i.uiOpened=!1},0),r.hide())};var l=fo();Ho(It(l),()=>Sh,(e,t)=>{t(e,{onOpenChange:a,get open(){return o.modals.resolution},set open(e){o.modals.resolution=e},children:(e,t)=>{var o=fo();Ho(It(o),()=>Ul,(e,t)=>{t(e,{children:(e,t)=>{var o=sx(),i=It(o);{const e=(e,t)=>{var o=fo(),i=It(o),a=e=>{var o=ix(),i=It(o);ki(i,()=>({...t?.().props,"data-fubi-ignore-all":!0,class:"fixed inset-0 z-[calc(var(--infinity,2147480000))] bg-black/80"}));var a=At(i,2);Qt(()=>{si(a,1,ri(["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",Dr(n)&&Dr(s)?"border-green-500/80 bg-green-500/10":"border-indigo-500/80 bg-indigo-500/10"])),li(a,`width: ${r.width}px; height: ${r.height}px;`)}),Xo(3,i,()=>ea,()=>({duration:150})),Xo(3,a,()=>ia,()=>({duration:200,start:1.2,opacity:0})),mo(e,o)};$o(i,e=>{t?.().open&&e(a)}),mo(e,o)};Ho(i,()=>pd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var a=At(i,2);{const e=(e,t)=>{var o=fo(),i=It(o),a=e=>{var o=nx();ki(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=At(Ot(o),2),a=Ot(i),l=At(Ot(a),2),c=Ot(l),d=Ot(c,!0);q(c);var u=At(c,2),h=Ot(u,!0);q(u),q(l),q(a);var p=At(a,2),g=At(Ot(p),2),f=Ot(g),m=Ot(f,!0);q(f);var v=At(f,2),b=Ot(v,!0);q(v),q(g),q(p),q(i),Wg(At(i,2),{get icon(){return nf},class:"glass bg-neutral-800/80",onclick:()=>r.hide()}),q(o),Qt(()=>{si(c,1,ri([Dr(n)&&"text-green-500"])),yo(d,r.width),si(u,1,ri([Dr(s)&&"text-green-500"])),yo(h,r.height),si(f,1,ri([Dr(n)&&"text-green-500"])),yo(m,r.current.width),si(v,1,ri([Dr(s)&&"text-green-500"])),yo(b,r.current.height)}),Xo(3,o,()=>ia,()=>({duration:200,start:1.2,opacity:0})),mo(e,o)};$o(i,e=>{t?.().open&&e(a)}),mo(e,o)};Ho(a,()=>Oh,(t,r)=>{r(t,{forceMount:!0,preventScroll:!1,child:e,$$slots:{child:!0}})})}mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,l),he()}(i,{});var n=At(i,2);!function(e){ue({},!0);const{picker:t,folders:r,pb:o}=cy(),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(" ")}qt(()=>{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=fo();Ho(It(s),()=>jh,(e,r)=>{r(e,{get open(){return t.opened},set open(e){t.opened=e},children:(e,r)=>{var o=fo();Ho(It(o),()=>Ul,(e,r)=>{r(e,{children:(e,r)=>{var o=fo();Ho(It(o),()=>Ch,(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=fo(),i=It(o),n=e=>{var r=Vy(),o=Ot(r,!0);q(r),Qt(()=>yo(o,"mention"===t.type?"No users found":"No commands found")),mo(e,r)},s=e=>{var r=Xy();Ao(r,23,()=>t.items,e=>e.id,(e,r,o)=>{var i=Gy();xi(i,"tabindex",-1);var n=Ot(i),s=e=>{var t=Zy(),o=It(t),i=e=>{var t=By();Qt(()=>xi(t,"src",Dr(r).data.avatar)),mo(e,t)},n=e=>{var t=Uy(),o=Ot(t,!0);q(t),Qt(()=>yo(o,Dr(r).data?.initials)),mo(e,t)};$o(o,e=>{Dr(r).data?.avatar?e(i):e(n,!1)});var s=At(o,2),a=Ot(s),l=Ot(a,!0);q(a);var c=At(a,2),d=Ot(c,!0);q(c),q(s),Qt(()=>{yo(l,Dr(r).label),yo(d,Dr(r).data?.role)}),mo(e,t)},a=e=>{var t=Ky(),o=At(It(t),2),i=Ot(o),n=Ot(i);q(i);var s=At(i,2),a=e=>{var t=qy(),o=Ot(t,!0);q(t),Qt(()=>yo(o,Dr(r).data.description)),mo(e,t)};$o(s,e=>{Dr(r).data?.description&&e(a)}),q(o),Qt(()=>yo(n,`/${Dr(r).label??""}`)),mo(e,t)};$o(n,e=>{"mention"===t.type?e(s):e(a,!1)}),q(i),Qt(()=>si(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"+(Dr(o)===t.selectedIndex?"bg-sky-500/10 text-white":"text-neutral-400 hover:bg-sky-500/10 hover:text-white"))),no("pointerdown",i,e=>e.preventDefault()),no("click",i,()=>t.confirm(Dr(r))),io("mouseenter",i,()=>t.selectedIndex=Dr(o)),mo(e,i)}),q(r),mo(e,r)};$o(i,e=>{0===t.items.length?e(n):e(s,!1)}),mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,s),he()}(n);var s=At(n,2);!function(e,t){ue(t,!0);const{can:r,hover:o,environment:i}=cy();let n=Je(()=>Math.max(0,o?.highlightPos?.current?.w??0)),s=Je(()=>Math.max(0,o?.highlightPos?.current?.h??0)),a=Je(()=>o.highlightCoords.y-o.scroll.y),l=Je(()=>Dr(a)<40),c=Je(()=>Dr(l)&&Dr(s)<60);var d=Ry(),u=Ot(d),h=e=>{var t=Ay();tg(Ot(t),{get icon(){return hm},className:"size-24 absolute-center"}),q(t),Xo(1,t,()=>ea,()=>({delay:100})),mo(e,t)};$o(u,e=>{r.displayInvisibleIcon&&e(h)});var p=At(u,2);li(p,"\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\twill-change: stroke, fill;\n\t\t\ttransition: stroke 0.2s ease-in-out, fill 0.2s ease-in-out;\n\t\t");var g=Ot(p);q(p);var f=At(p,2),m=e=>{var t=Wy(),r=Ot(t),i=e=>{Iy(e,{bg:"bg-neutral-800/80",children:(e,t)=>{var r=zy();tg(It(r),{get icon(){return Np},className:"size-18 text-neutral-400"}),K(2),mo(e,r)},$$slots:{default:!0}})},n=e=>{var t=Hy(),r=It(t);Iy(r,{children:(e,t)=>{var r=Py(),i=It(r);!function(e,t){let r=Ri(t,"size",3,"size-18"),o=Ri(t,"color",3,"text-neutral-400");var i=Yb();Eo(Ot(i),()=>t.Icon,e=>{var i=fo(),n=It(i),s=e=>{{let i=Je(()=>`${r()} ${o()}`);tg(e,{get icon(){return t.Icon},get className(){return Dr(i)}})}};$o(n,e=>{t.Icon&&e(s)}),mo(e,i)}),q(i),mo(e,i)}(i,{color:"text-sky-500",get Icon(){return o.tagInfo.icon}});var n=At(i,2),s=Ot(n,!0);q(n),Qt(()=>yo(s,o.tagInfo.name)),mo(e,r)},$$slots:{default:!0}});var i=At(r,2),n=e=>{Iy(e,{bg:"bg-amber-950/80",children:(e,t)=>{var r=Fy();tg(It(r),{get icon(){return Op},className:"size-18 text-orange-400"}),K(2),mo(e,r)},$$slots:{default:!0}})};$o(i,e=>{o.info?.visible||e(n)});var s=At(i,2),a=e=>{Iy(e,{vertical:!0,children:(e,t)=>{var r=Dy(),i=Ot(r),n=e=>{var t=Ny(),r=Ot(t);tg(r,{get icon(){return lm},className:"size-14 text-neutral-400"});var i=At(r,2),n=Ot(i,!0);q(i),q(t),Qt(()=>yo(n,o.info.fontSize)),mo(e,t)};$o(i,e=>{o.info.fontSize&&e(n)});var s=At(i,2),a=e=>{var t=jy(),r=Ot(t),i=At(r,2),n=Ot(i,!0);q(i),q(t),Qt(()=>{li(r,`background: ${o.info.bgColor};`),yo(n,o.info.bgColor)}),mo(e,t)};$o(s,e=>{o.info.bgColor&&e(a)}),q(r),mo(e,r)},$$slots:{default:!0}})};$o(s,e=>{o.isIsolated&&(o.info?.fontSize||o.info?.bgColor)&&e(a)}),mo(e,t)};$o(r,e=>{"ignored"===o.mode.type?e(i):e(n,!1)}),q(t),Qt(()=>{si(t,1,ri(["absolute pointer-events-none flex items-end gap-8 top-0 left-0 transition-[translate] duration-300 ease-out-cubic will-change-[translate]",Dr(c)?"origin-top-left":Dr(l)?"origin-top-left translate-y-8 translate-x-8":"origin-bottom-left -translate-y-[calc(100%+4px)]"])),li(t,Dr(c)?`translate: 0 ${Dr(s)+4}px;`:"")}),Xo(3,t,()=>ia,()=>({duration:200,easing:Ws,start:.8,opacity:0})),mo(e,t)};$o(f,e=>{o.current&&e(m)}),q(d),Qt(()=>{li(d,`\n\t\twidth: ${Dr(n)+2}px;\n\t\theight: ${Dr(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`),si(d,1,ri(["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"])),si(p,0,ri(["absolute top-0 left-0 pointer-events-none",Ww[o.highlightColor]])),xi(g,"width",Dr(n)),xi(g,"height",Dr(s)),xi(g,"rx",o?.highlightPos?.current?.r<4?4:o?.highlightPos?.current?.r),li(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`)}),mo(e,d),he()}(s,{});var a=At(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}=cy(),g=[["Auth",s],["Project",c],["Team",l],["Domains",h],["Folders",d],["Pages",a],["Comments",p]],f=Je(()=>[{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=fy(),b=At(Ot(m),2);Ao(b,17,()=>g,Oo,(e,t)=>{var r=Je(()=>v(Dr(t),2));let o=()=>Dr(r)[1];var i=hy(),n=Ot(i),s=At(n);q(i),Qt(()=>{si(n,1,ri(["size-8 rounded-full glass",o()?.ready?"bg-green-500":o()?.loading?"bg-orange-500":"bg-white/10"])),yo(s,` ${Dr(r)[0]??""}`)}),mo(e,i)}),Ao(At(b,2),17,()=>Dr(f),Oo,(e,t)=>{var r=gy(),o=Ot(r),i=Ot(o,!0);q(o),Ao(At(o,2),17,()=>Dr(t).values,Oo,(e,t)=>{var r=Je(()=>v(Dr(t),2)),o=py(),i=Ot(o),n=At(i),s=Ot(n,!0);q(n),q(o),Qt(()=>{yo(i,`${Dr(r)[0]??""}: `),yo(s,Dr(r)[1])}),mo(e,o)}),q(r),Qt(()=>yo(i,Dr(t).name)),mo(e,r)}),q(m),mo(e,m),he()}(e,{})},c=Je(()=>new URLSearchParams(window.location.search).has("fubi-debug"));$o(a,e=>{Dr(c)&&e(l)});var d=At(a,2),u=e=>{var t=Gk(),r=It(t);!function(e){ue({},!0);const{enviroment:t,can:r,settings:o,hover:i,win:n,sheet:s,toolbar:a,auth:l,environment:c}=cy();var d=Ey(),u=Ot(d);_y(u,{}),aw(At(u,4),{animate:"width",class:"flex items-center justify-end gap-2",children:(e,t)=>{const o=Je(()=>c.touch?s:n);var a=Ty(),l=It(a),d=e=>{ky(e,{get icon(){return Hp},iconSize:"size-26",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};$o(l,e=>{r.enableHover&&e(d)});var u=At(l,2);{let e=Je(()=>({text:Dr(o).opened?"Close Inbox":"Open Inbox",key:"M"}));ky(u,{get active(){return Dr(o).opened},get icon(){return Bp},variant:"sky",label:"Open inbox",get tooltip(){return Dr(e)},onclick:()=>Dr(o).toggle()})}var h=At(u,2),p=e=>{Sy(e,{})};$o(h,e=>{r.showToolbarMenu&&e(p)}),mo(e,a)},$$slots:{default:!0}}),q(d),Qt(()=>si(d,1,ri(["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"]))),mo(e,d),he()}(r),function(e,t){ue(t,!0);const{environment:r,win:o,modals:i}=cy();qt(()=>{o.el&&(i.portalTarget=o.el)});var n=fo(),s=It(n),a=e=>{var t=yy(),r=Ot(t);!function(e){ue({},!0);const{win:t}=cy();var r=my(),o=At(Ot(r),2);q(r),Qt(()=>{si(r,1,ri(["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]"])),si(o,1,ri(["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]"]))}),no("pointerdown",r,function(...e){t.resize.start?.apply(this,e)}),mo(e,r),he()}(r),wy(At(r,2),{}),q(t),Fi(t,e=>o.el=e,()=>o?.el),Qt(()=>{li(t,`width: ${o.resizeWidth??""}px; height: ${o.resizeHeight??""}px;`),si(t,1,ri(["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"]))}),mo(e,t)};$o(s,e=>{r.touch||e(a)}),mo(e,n),he()}(At(r,2),{}),mo(e,t)},h=e=>{var t=Xk(),r=It(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}=cy();let u=Je(()=>"disabled"!==i.mode.type),h=Je(()=>"tracking"===i.mode.type||"focused"===i.mode.type),p=Je(()=>"focused"===i.mode.type),g=Je(()=>i.isIsolated),f=Je(()=>i.info?.threads?.length),m=dt(0),v=dt(!1),b=dt(!0),w=dt(!1);qt(()=>{r.opened&&ht(b,!1)});let y,x=dt(null),k=dt(!1),C=dt(!1);const L=e=>e?["transition-[scale] will-change-[scale]",Dr(k)?"scale-115 duration-200 ease-out-cubic":Dr(C)?"duration-500 ease-in-out-cubic":"duration-300 ease-out-cubic"]:"";qt(()=>{if("tracking"!==i.mode.type)return ht(x,null),ht(k,!1),ht(C,!1),void clearTimeout(y);const e=i.mode.element;Dr(x)&&Dr(x)!==e&&(ht(k,!0),ht(C,!1),clearTimeout(y),y=setTimeout(()=>{ht(k,!1),ht(C,!0)},300)),ht(x,e,!0)}),Bi(()=>{ht(w,!0);const e=setTimeout(()=>{ht(b,!1)},1200),t=window.visualViewport;if(!t)return()=>{clearTimeout(e)};const r=e=>{Dr(m),ht(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=()=>{cs(),i.enable(),"focused"===i.mode.type&&(i.mode={type:"tracking",element:i.mode.element,info:i.mode.info}),ht(v,!0),setTimeout(()=>{ht(v,!1)},1e3)},S=()=>{if("tracking"!==i.mode.type&&"focused"!==i.mode.type)return;cs();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 _=Kk(),T=It(_),E=Ot(T),O=e=>{!function(e){ue({},!0);const{hover:t,elements:r,dom:o,bus:i}=cy();let n=dt(!1),s=dt(bt([])),a=dt("forward");qt(()=>i.on("sheet:opened",()=>{ht(n,!1)}));let l=Je(()=>Dr(s).length>0&&"tracking"===t.mode.type?r.getLevelNodes(Dr(s).at(-1).parentEl,t.mode.element):[]);qt(()=>{if(!Dr(n)||"tracking"!==t.mode.type)return void ht(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&&(ht(a,"forward"),ht(s,i,!0))});const c=e=>{if(e.ignored)return;t.handleHoverElement(e.el,0),o.scrollToElement(e.el);const i=Dr(s).at(-1)?.parentEl;if(!i)return;const n=e.el.parentElement;n&&n!==i&&(ht(a,"forward"),ht(s,[...Dr(s),{parentEl:n,label:r.getNodeName(n)}],!0))},d=()=>{if(Dr(s).length<=1)return;cs(),ht(a,"back");const e=Dr(s).at(-1);ht(s,Dr(s).slice(0,-1),!0),t.handleHoverElement(e.parentEl,0),o.scrollToElement(e.parentEl)};var u=fo();Ho(It(u),()=>jh,(e,t)=>{t(e,{get open(){return Dr(n)},set open(e){ht(n,e,!0)},children:(e,t)=>{var r=zk(),o=It(r);{const e=(e,t)=>{nw(e,{rounded:"rounded-full",bg:"bg-neutral-800/80",class:"size-48",children:(e,r)=>{var o=Ek();ki(o,()=>({...t?.().props,class:"size-48 flex-center rounded-full active:bg-white/20 text-neutral-400 relative"}));var i=Ot(o);tg(Ot(i),{get icon(){return nm},className:"size-24"}),q(i);var s=At(i,2);tg(Ot(s),{get icon(){return Np},className:"size-24"}),q(s),q(o),Qt(()=>{si(i,1,ri(["absolute-center size-48 flex-center pointer-events-none","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Dr(n)?"scale-50 opacity-0":""])),si(s,1,ri(["absolute-center size-48 flex-center pointer-events-none text-white","transition-[scale,opacity] will-change-[scale,opacity] duration-200 ease-out-cubic",Dr(n)?"":"scale-50 opacity-0"]))}),mo(e,o)},$$slots:{default:!0}})};Ho(o,()=>Mh,(t,r)=>{r(t,{child:e,$$slots:{child:!0}})})}Ho(At(o,2),()=>Ul,(e,t)=>{t(e,{children:(e,t)=>{var r=fo();Ho(It(r),()=>Ch,(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=Ak(),o=At(It(r),2),i=Ot(o),n=e=>{mo(e,Ok())},u=e=>{var t=fo();Eo(It(t),()=>Dr(s).length,e=>{var t=Ik();Ao(t,21,()=>Dr(l),e=>e.el,(e,t)=>{uv(e,{get node(){return Dr(t)},onselect:c})}),q(t),Xo(1,t,()=>ta,()=>({x:"forward"===Dr(a)?80:-80,duration:180,easing:Hs})),mo(e,t)}),mo(e,t)};$o(i,e=>{0===Dr(l).length?e(n):e(u,!1)});var h=At(i,2);tg(Ot(h),{get icon(){return wg},strokeWidth:2,className:"size-20"}),K(2),q(h),q(o),Qt(()=>h.disabled=Dr(s).length<=1),no("click",h,d),mo(e,r)},$$slots:{default:!0}})}),mo(e,r)},$$slots:{default:!0}})}),mo(e,r)},$$slots:{default:!0}})}),mo(e,u),he()}(e)},I=e=>{mo(e,Pk())};$o(E,e=>{Dr(h)&&i.enabled&&!d.visible?e(O):e(I,!1)});var A=At(E,2),z=Ot(A),P=e=>{var t=Vk(),r=It(t),o=e=>{var t=Nk(),r=Ot(t);{let e=Je(()=>Dr(v)?"bg-lime-400":"bg-lime-950");nw(r,{rounded:"rounded-full",get bg(){return Dr(e)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-300",children:(e,t)=>{var r=Fk(),o=Ot(r);{let e=Je(()=>"size-24 "+(Dr(v)?"text-lime-950":"text-lime-400"));tg(o,{get icon(){return Hp},get className(){return Dr(e)}})}var i=At(o,2),n=Ot(i,!0);q(i),q(r),Qt(()=>{si(r,1,ri(["h-48 rounded-full px-14 flex-center font-medium text-center text-[18px]/none",Dr(v)?"text-lime-950":"text-white active:bg-lime-900"])),yo(n,Dr(v)?"Enabled":"Enable")}),no("click",r,M),mo(e,r)},$$slots:{default:!0}})}q(t),Qt(()=>si(t,1,ri(["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",Dr(v)?"-translate-y-[calc(50%+100%+16px)] scale-80":"-translate-y-1/2"]))),Xo(3,t,()=>ia,()=>({start:.6,easing:Hs,duration:300})),mo(e,t)};$o(r,e=>{(Dr(h)&&!i.enabled||Dr(v))&&e(o)});var n=At(r,2),s=e=>{var t=Rk(),r=It(t),o=e=>{var t=Dk(),r=Ot(t);{let e=Je(()=>["backdrop-blur-lg android:backdrop-blur-none mr-8",L(!0)]);nw(r,{rounded:"rounded-full",bg:"bg-indigo-600/80 android:bg-indigo-600",get class(){return Dr(e)},children:(e,t)=>{var r=jk(),o=Ot(r);tg(o,{get icon(){return Wp},class:"size-20 text-white"});var i=At(o,2),n=Ot(i);q(i),q(r),Qt(()=>yo(n,`${Dr(f)??""}\n\t\t\t\t\t\t\t\t\t${Dr(f)>1?"Comments":"Comment"}`)),no("click",r,$),Xo(3,r,()=>ia,()=>({start:.6,easing:Hs,duration:600})),mo(e,r)},$$slots:{default:!0}})}q(t),Xo(3,t,()=>oa,()=>({axis:"x",duration:300,delay:0,easing:Hs})),mo(e,t)};$o(r,e=>{Dr(f)&&e(o)});var i=At(r,2);{let e=Je(()=>["backdrop-blur-lg android:backdrop-blur-none",L(!Dr(f))]);nw(i,{rounded:"rounded-full",bg:"bg-sky-600/80 android:bg-sky-600",get class(){return Dr(e)},children:(e,t)=>{var r=Wk(),o=Ot(r);tg(o,{get icon(){return qp},class:"size-20 text-white"});var i=At(o,2),n=e=>{var t=Hk();Xo(3,t,()=>oa,()=>({axis:"x",duration:400,easing:Hs})),mo(e,t)};$o(i,e=>{Dr(f)||e(n)}),q(r),no("click",r,S),Xo(3,r,()=>ia,()=>({start:.6,easing:Hs,duration:300})),mo(e,r)},$$slots:{default:!0}})}mo(e,t)};$o(n,e=>{!i.enabled||Dr(p)&&!i.enabled||e(s)}),mo(e,t)},F=e=>{var t=fo(),r=It(t),o=e=>{var t=Uk();nw(Ot(t),{rounded:"rounded-full",bg:"bg-neutral-800/80 android:bg-neutral-800",class:"backdrop-blur-lg android:backdrop-blur-none p-4",children:(e,t)=>{mo(e,Bk())},$$slots:{default:!0}}),q(t),mo(e,t)};$o(r,e=>{Dr(u)&&!Dr(g)&&e(o)}),mo(e,t)};$o(z,e=>{Dr(h)?e(P):e(F,!1)}),q(A);var N=At(A,2),j=Ot(N);{let e=Je(()=>["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]"]);nw(j,{rounded:"rounded-[18px]",bg:"bg-neutral-900/90 android:bg-neutral-900",get class(){return Dr(e)},children:(e,t)=>{const r=Je(()=>a.touch?s:n);var l=Zk(),c=It(l);_y(c,{});var d=At(c,4),u=e=>{ky(e,{get icon(){return Hp},iconSize:"size-26 touch:size-32",variant:"green",label:"Comment",tooltip:{text:"Comment",key:"C"},get active(){return i.enabled},onclick:()=>i.toggle()})};$o(d,e=>{o.enableHover&&e(u)});var h=At(d,2);{let e=Je(()=>({text:Dr(r).opened?"Close Inbox":"Open Inbox",key:"M"}));ky(h,{get active(){return Dr(r).opened},get icon(){return Bp},iconSize:"size-24 touch:size-30",variant:"sky",label:"Open inbox",get tooltip(){return Dr(e)},onclick:()=>Dr(r).toggle()})}var p=At(h,2),g=e=>{Sy(e,{})};$o(p,e=>{o.showToolbarMenu&&e(g)}),mo(e,l)},$$slots:{default:!0}})}var D=At(j,2),H=e=>{{let t=Je(()=>r.opened||Dr(b)?"bg-neutral-900/90 android:bg-neutral-900":i.enabled?"bg-lime-400":"bg-neutral-900/90 android:bg-neutral-900");nw(e,{rounded:"rounded-full",get bg(){return Dr(t)},class:"backdrop-blur-lg android:backdrop-blur-none transition-[background-color] duration-1000",children:(e,t)=>{var o=qk(),n=Ot(o);tg(Ot(n),{get icon(){return Np}}),q(n);var s=At(n,2);ca(Ot(s),{class:"h-24 shrink-0"}),q(s);var a=At(s,2);tg(Ot(a),{get icon(){return Hp},class:"size-28"}),q(a),q(o),Qt(()=>{si(n,1,ri(["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"])),si(s,1,ri(["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",Dr(b)&&Dr(w)?"":Dr(b)?"scale-0 rotate-360 opacity-0":"scale-50 opacity-0 duration-200"])),si(a,1,ri(["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||Dr(b)?"scale-50 opacity-0":""]))}),no("click",o,()=>r.toggle()),mo(e,o)},$$slots:{default:!0}})}};$o(D,e=>{Dr(g)||e(H)}),q(N),q(T);var W=At(T,2);let R;hw(Ot(W),{id:"new-comment",placement:"top"}),q(W),Qt(()=>R=li(W,"",R,{bottom:`${Dr(m)??""}px`})),mo(e,_),he()})(r,{}),function(e){ue({},!0);const{sheet:t,modals:r,environment:o}=cy();let i=dt(!o.android);t.snapPoints=[1],t.fadeFromIndex=1,qt(()=>{t.el&&(r.portalTarget=t.el)}),qt(()=>{o.android&&(t.isVisible&&!Dr(i)&&ht(i,!0),t.isVisible||ht(i,!1))});var n=fo(),s=It(n),a=e=>{var r=ox(),o=It(r);Fi(o,e=>t.overlayEl=e,()=>t?.overlayEl);var n=At(o,2),s=Ot(n),a=Ot(s),l=At(a,2);q(s);var c=At(s,2),d=Ot(c),u=e=>{wy(e,{})};$o(d,e=>{Dr(i)&&e(u)}),q(c),Fi(c,e=>t.el=e,()=>t?.el),q(n),Fi(n,e=>t.drawerEl=e,()=>t?.drawerEl),K(2),Qt(()=>{si(s,1,ri(["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"])),si(a,1,ri(["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":""])),si(l,1,ri(["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":""]))}),no("click",o,()=>t.close()),mo(e,r)};$o(s,e=>{o.touch&&t.isVisible&&e(a)}),mo(e,n),he()}(At(r,2)),mo(e,t)};$o(d,e=>{r.modules.environment.touch?e(h,!1):e(u)});var p=At(d,2);!function(e){ue({},!0);const{tracer:t}=cy(),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=fo(),n=It(i),s=e=>{var i=Yy(),n=Ot(i);xi(n,"stroke",r);var s=At(n);xi(s,"fill",r);var a=At(s);xi(a,"fill",r),q(i),Qt(e=>{li(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`),xi(n,"d",e),xi(s,"cx",t.bounds.sx),xi(s,"cy",t.bounds.sy),xi(a,"cx",t.bounds.ex),xi(a,"cy",t.bounds.ey)},[o]),mo(e,i)};$o(n,e=>{t.enabled&&(t.bounds.w>0||t.bounds.h>0)&&e(s)}),mo(e,i),he()}(p);var g=At(p,2);!function(e){ue({},!0);const{hover:t,domains:r,meta:o,modals:i}=cy();i.register("meta");var n=fo(),s=It(n),a=e=>{var i=rx(),n=It(i),s=At(n,2),a=Ot(s),l=Ot(a);hb(At(Ot(l),4),{class:"absolute top-8 right-8 touch:top-12 touch:right-14",onclick:()=>o.hide()}),q(l);var c=At(l,2),d=Ot(c),u=At(Ot(d),2),h=Ot(u),p=e=>{var t=Jy();Qt(()=>xi(t,"src",o.favicon)),mo(e,t)},g=e=>{var t=Qy();tg(Ot(t),{get icon(){return Ip},className:"size-20 text-orange-400 pointer-events-none"}),q(t),mo(e,t)};$o(h,e=>{o.favicon?e(p):e(g,!1)}),q(u),q(d);var f=At(d,2),m=At(Ot(f),2),v=Ot(m),b=Ot(v,!0);q(v),q(m),q(f),q(c);var w=At(c,2),y=At(Ot(w),2),x=Ot(y),k=e=>{var t=ex();Qt(()=>xi(t,"src",o.shareImage)),mo(e,t)},C=e=>{var t=tx();tg(It(t),{get icon(){return Ip},className:"size-28 pointer-events-none"}),K(2),mo(e,t)};$o(x,e=>{o.shareImage?e(k):e(C,!1)}),q(y),q(w);var L=At(w,2),M=At(Ot(L),2),S=Ot(M),$=e=>{var t=go();Qt(()=>yo(t,o.title)),mo(e,t)},_=e=>{mo(e,go("No title defined."))};$o(S,e=>{o.title?e($):e(_,!1)}),q(M),q(L);var T=At(L,2),E=At(Ot(T),2),O=Ot(E),I=e=>{var t=go();Qt(()=>yo(t,o.description)),mo(e,t)},A=e=>{mo(e,go("No description defined."))};$o(O,e=>{o.description?e(I):e(A,!1)}),q(E),q(T),q(a),q(s),Qt(()=>{si(v,1,ri(["truncate",t.enabled&&"pointer-events-none"])),yo(b,r.url),si(y,1,ri(["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"])),si(M,1,`text-2xl font-semibold ${!o.title&&"text-rose-500"}`),si(E,1,`text-lg font-normal text-neutral-400 ${!o.description&&"text-rose-500"}`)}),no("click",n,()=>o.hide()),Xo(3,n,()=>ea,()=>({duration:150})),Xo(3,a,()=>ia,()=>({duration:150,start:.95})),mo(e,i)};$o(s,e=>{i.modals.meta&&e(a)}),mo(e,n),he()}(g);var f=At(g,2),m=e=>{!function(e){ue({},!0);const{hover:t,inputs:r}=cy();let o=dt(null),i=dt(null),n=dt("bottom"),s=dt(bt({x:0,y:0})),a=dt(null),l=dt(null),c=dt("bottom"),d=dt(bt({x:0,y:0})),u=Je(()=>r.visibility["new-comment"]),h=Je(()=>"isolated"===t.mode.type&&!Dr(u));async function p(){if(!Dr(o)||!Dr(i)||!Dr(u))return;const e=await Sk(Dr(o),Dr(i),{placement:"bottom-start",strategy:"fixed",middleware:[Ck(4),Mk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Lk({padding:0})]});ht(s,{x:e.x,y:e.y},!0),ht(n,e.placement,!0)}async function g(){if(!Dr(a)||!Dr(l)||!Dr(h))return;const e=await Sk(Dr(a),Dr(l),{placement:"bottom-start",strategy:"fixed",middleware:[Ck(4),Mk({fallbackPlacements:["top-start","bottom-end","top-end","bottom","top"]}),Lk({padding:0})]});ht(d,{x:e.x,y:e.y},!0),ht(c,e.placement,!0)}qt(()=>{Dr(u)&&(t.pinPos.x,t.pinPos.y,jr().then(p))}),qt(()=>{Dr(h)&&(t.pinPos.x,t.pinPos.y,jr().then(g))}),Je(()=>"isolated"===t.mode.type||Dr(u)),Je(()=>Dr(n).startsWith("top"));var f=Tk(),m=It(f),v=Ot(m);Fi(v,e=>ht(a,e),()=>Dr(a));var b=At(v,2);tg(Ot(b),{get icon(){return Vf},className:"size-14 group-hover/new-comment-pin:rotate-45 transition-[rotate] duration-150 ease-out-cubic"}),q(b),Fi(b,e=>ht(o,e),()=>Dr(o)),q(m);var w=At(m,2);(function(e,t){ue(t,!0);let r=Ri(t,"placement",3,"bottom");const{bus:o,router:i,inputs:n,win:s,sheet:a,hover:l,comments:c,environment:d}=cy();let u=Je(()=>"isolated"===l.mode.type&&!n.visibility["new-comment"]),h=Je(()=>r().startsWith("top"));var p=_k(),g=Ot(p),f=Ot(g);tg(f,{get icon(){return Wp},className:"size-18"});var m=At(f,2),v=Ot(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"))));ki(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"]})),tg(Ot(r),{get icon(){return Cg},className:"size-18",strokeWidth:2}),K(),q(r),mo(e,r)};np(At(g,2),{text:"Create new comment",delay:200,offset:2,child:e,$$slots:{child:!0}})}q(p),Qt(()=>{si(p,1,ri(["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",Dr(h)?"origin-bottom":"origin-top",!Dr(u)&&"opacity-0 pointer-events-none scale-80"])),si(g,1,ri(["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"])),yo(v,`${c?.isolatedThreads?.length??""} thread${1!==c?.isolatedThreads?.length?"s":""}`)}),no("click",g,()=>(()=>{const e=d.touch?a:s;e.opened||e.open()})()),mo(e,p),he()})(Ot(w),{get placement(){return Dr(c)}}),q(w),Fi(w,e=>ht(l,e),()=>Dr(l));var y=At(w,2);hw(Ot(y),{id:"new-comment",get placement(){return Dr(n)}}),q(y),Fi(y,e=>ht(i,e),()=>Dr(i)),Qt(()=>{li(m,`transform: translate(${t.pinPos.x}px, ${t.pinPos.y}px);`),si(v,1,ri(["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",!Dr(h)&&"opacity-0 pointer-events-none scale-80"])),si(b,1,ri(["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",!Dr(u)&&"opacity-0 pointer-events-none scale-80"])),li(w,`transform: translate(${Dr(d).x}px, ${Dr(d).y}px);`),li(y,`transform: translate(${Dr(s).x}px, ${Dr(s).y}px);`)}),no("click",b,()=>{t.dismissIsolation(),r.hide("new-comment")}),mo(e,f),he()}(e)};$o(f,e=>{r.modules.environment.touch||e(m)});var b=At(f,2);(function(e,t){ue(t,!0);const{modals:r,comments:o,auth:i,win:n,hover:s}=cy();r.register("media-preview");let a=dt(!1);const l=e=>{e||(n.uiOpened=!1)};let c=Je(()=>r.getData("media-preview")),d=Je(()=>Dr(c)?.src),u=Je(()=>Dr(c)?.commentId),h=Je(()=>Dr(c)?.filename);const p=Je(()=>Dr(u)?o.data.find(e=>e.id===Dr(u)):null),g=Je(()=>Dr(p)?.createdBy===i.user?.id),f=async()=>{Dr(u)&&Dr(h)&&(ht(a,!1),await o.removeMedia(Dr(u),Dr(h)))};var m=fo();Ho(It(m),()=>Sh,(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=fo();Ho(It(o),()=>Ul,(e,t)=>{t(e,{children:(e,t)=>{var o=cx(),i=It(o);{const e=(e,t)=>{var r=fo(),o=It(r),i=e=>{var r=ax();ki(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"})),Xo(3,r,()=>ea,()=>({duration:150})),mo(e,r)};$o(o,e=>{t?.().open&&e(i)}),mo(e,r)};Ho(i,()=>pd,(t,r)=>{r(t,{forceMount:!0,child:e,$$slots:{child:!0}})})}var n=At(i,2);{const e=(e,t)=>{var o=fo(),i=It(o),n=e=>{var o=lx(),i=It(o);ki(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=Ot(i);q(i);var s=At(i,2),l=Ot(s),p=e=>{{const t=(e,t)=>{Wg(e,Wi({get icon(){return Nf},class:"glass bg-neutral-800/80"},()=>t?.().props))};ap(e,{get opened(){return Dr(a)},set opened(e){ht(a,e,!0)},child:t,children:(e,t)=>{Jg(e,{title:"Delete Media",get icon(){return gm},type:"destructive",onclick:f})},$$slots:{child:!0,default:!0}})}};$o(l,e=>{Dr(g)&&Dr(u)&&Dr(h)&&e(p)}),Wg(At(l,2),{get icon(){return nf},class:"glass bg-neutral-800/80",onclick:()=>r.modals["media-preview"]=!1}),q(s),Qt(()=>{xi(n,"src",Dr(d)),xi(n,"width",Dr(c)?.width),xi(n,"height",Dr(c)?.height)}),Xo(3,i,()=>ia,()=>({duration:150,start:.8})),Xo(3,s,()=>ia,()=>({duration:200,easing:Hs,start:.8})),mo(e,o)};$o(i,e=>{t?.().open&&e(n)}),mo(e,o)};Ho(n,()=>Oh,(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}})})}mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}})}),mo(e,m),he()})(b,{}),function(e,t){ue(t,!0);const{modals:r,project:o,auth:i,router:n,media:s,pb:a}=cy();r.register("report-bug");let l=dt(""),c=dt(bt([])),d=dt(!1),u=dt(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=>{ht(u,null);for(const t of e){if(Dr(c).length>=4){ht(u,"Maximum of 4 files allowed.");break}if(!h.includes(t.type)){ht(u,`File type not allowed: ${t.type}`);continue}if(t.size>5242880){ht(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};Dr(c).push(e);try{const r=await s.compressImage(t,.8),o=Dr(c).findIndex(t=>t.id===e.id);if(-1===o)continue;URL.revokeObjectURL(e.preview),Dr(c)[o]={...Dr(c)[o],file:r.file,preview:URL.createObjectURL(r.file),width:r.width,height:r.height,status:"ready"}}catch{const t=Dr(c).findIndex(t=>t.id===e.id);-1!==t&&(Dr(c)[t]={...Dr(c)[t],status:"error",error:"Compression failed"})}}},f={remove:e=>{const t=Dr(c).findIndex(t=>t.id===e);-1!==t&&(URL.revokeObjectURL(Dr(c)[t].preview),Dr(c).splice(t,1))}},m=()=>{for(const e of Dr(c))URL.revokeObjectURL(e.preview);ht(l,""),ht(c,[],!0),ht(u,null),ht(d,!1)},v=async()=>{if(!Dr(l).trim())return;if(Dr(d))return;ht(d,!0),ht(u,null);const e=ks(),{width:t,height:s}=ys(),h=xs(t),p=new FormData;p.append("project",o.id),i.user?.id&&p.append("user",i.user.id),p.append("description",Dr(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([...Vn])),p.append("meta",JSON.stringify({route:n.current,timestamp:Date.now()}));for(const r of Dr(c))"ready"===r.status&&p.append("media",r.file);const[g]=await ps(a.collection("issues").create(p));if(g)return ht(u,"Failed to submit bug report. Try again."),void ht(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=hx(),o=Ot(r);t=o,V&&null!==Tt(t)&&zt(t),xi(o,"rows",4);var i=At(o,2),n=e=>{var t=dx();Ao(t,23,()=>Dr(c),e=>e.id,(e,t,r)=>{Jv(e,{get entry(){return Dr(t)},get index(){return Dr(r)},get media(){return f}})}),q(t),mo(e,t)};$o(i,e=>{Dr(c).length>0&&e(n)});var s=At(i,2),a=e=>{var t=ux(),r=Ot(t,!0);q(t),Qt(()=>yo(r,Dr(u))),mo(e,t)};$o(s,e=>{Dr(u)&&e(a)});var d=At(s,2);{let e=Je(()=>Dr(c).length>=4);ig(d,{get icon(){return Cf},onclick:p,get disabled(){return Dr(e)}})}q(r),io("paste",o,b),_i(o,()=>Dr(l),e=>ht(l,e)),mo(e,r)};kb(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=px(),o=Ot(r);hg(o,{small:!0,flex:!0,variant:"ghost",onclick:w,children:(e,t)=>{K(),mo(e,go("Cancel"))},$$slots:{default:!0}});var i=At(o,2);{let e=Je(()=>!Dr(l).trim());hg(i,{small:!0,flex:!0,onclick:v,get loading(){return Dr(d)},get disabled(){return Dr(e)},children:(e,t)=>{K(),mo(e,go("Submit"))},$$slots:{default:!0}})}q(r),mo(e,r)},$$slots:{content:!0,default:!0}})}he()}(At(b,2),{}),mo(e,o)},$$slots:{default:!0}})}),mo(e,o)},$$slots:{default:!0}}),he()}return function(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>'),xo(Jk,{target:i,props:{projectId:e,options:t,wrapper:i,shadowRoot:o}})}}();
|