diff --git a/dist/assets/index-3yznFqBO.js b/dist/assets/index-uW181pcy.js similarity index 55% rename from dist/assets/index-3yznFqBO.js rename to dist/assets/index-uW181pcy.js index fdb547358..f6414a08e 100644 --- a/dist/assets/index-3yznFqBO.js +++ b/dist/assets/index-uW181pcy.js @@ -1,56 +1,56 @@ -var Ku=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Gv=Ku((Zv,zn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();const Zu=(e,t)=>e===t,Vn=Symbol("solid-proxy"),Bn={equals:Zu};let cl=gl;const Ne=1,Hn=2,hl={owned:null,cleanups:null,context:null,owner:null};var J=null;let Di=null,Ju=null,ot=null,Mt=null,pe=null,ri=0;function ul(e,t){const s=ot,n=J,i=e.length===0,r=t===void 0?n:t,o=i?hl:{owned:null,cleanups:null,context:r?r.context:null,owner:r},a=i?e:()=>e(()=>Yt(()=>li(o)));J=o,ot=null;try{return ss(a,!0)}finally{ot=s,J=n}}function Oe(e,t){t=t?Object.assign({},Bn,t):Bn;const s={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},n=i=>(typeof i=="function"&&(i=i(s.value)),fl(s,i));return[dl.bind(s),n]}function Kt(e,t,s){const n=Mr(e,t,!1,Ne);sn(n)}function oi(e,t,s){cl=rd;const n=Mr(e,t,!1,Ne);(!s||!s.render)&&(n.user=!0),pe?pe.push(n):sn(n)}function xt(e,t,s){s=s?Object.assign({},Bn,s):Bn;const n=Mr(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=s.equals||void 0,sn(n),dl.bind(n)}function Yt(e){if(ot===null)return e();const t=ot;ot=null;try{return e()}finally{ot=t}}function wr(e,t,s){const n=Array.isArray(e);let i,r=s&&s.defer;return o=>{let a;if(n){a=Array(e.length);for(let c=0;ct(a,i,o));return i=a,l}}function Qu(e){oi(()=>Yt(e))}function en(e){return J===null||(J.cleanups===null?J.cleanups=[e]:J.cleanups.push(e)),e}function td(){return J}function ed(e,t){const s=J,n=ot;J=e,ot=null;try{return ss(t,!0)}catch(i){kr(i)}finally{J=s,ot=n}}function sd(e){const t=ot,s=J;return Promise.resolve().then(()=>{ot=t,J=s;let n;return ss(e,!1),ot=J=null,n?n.done:void 0})}function vr(e,t){const s=Symbol("context");return{id:s,Provider:ad(s),defaultValue:e}}function ai(e){return J&&J.context&&J.context[e.id]!==void 0?J.context[e.id]:e.defaultValue}function Sr(e){const t=xt(e),s=xt(()=>Qi(t()));return s.toArray=()=>{const n=s();return Array.isArray(n)?n:n!=null?[n]:[]},s}function dl(){if(this.sources&&this.state)if(this.state===Ne)sn(this);else{const e=Mt;Mt=null,ss(()=>$n(this),!1),Mt=e}if(ot){const e=this.observers?this.observers.length:0;ot.sources?(ot.sources.push(this),ot.sourceSlots.push(e)):(ot.sources=[this],ot.sourceSlots=[e]),this.observers?(this.observers.push(ot),this.observerSlots.push(ot.sources.length-1)):(this.observers=[ot],this.observerSlots=[ot.sources.length-1])}return this.value}function fl(e,t,s){let n=e.value;return(!e.comparator||!e.comparator(n,t))&&(e.value=t,e.observers&&e.observers.length&&ss(()=>{for(let i=0;i1e6)throw Mt=[],new Error},!1)),t}function sn(e){if(!e.fn)return;li(e);const t=ri;nd(e,e.value,t)}function nd(e,t,s){let n;const i=J,r=ot;ot=J=e;try{n=e.fn(t)}catch(o){return e.pure&&(e.state=Ne,e.owned&&e.owned.forEach(li),e.owned=null),e.updatedAt=s+1,kr(o)}finally{ot=r,J=i}(!e.updatedAt||e.updatedAt<=s)&&(e.updatedAt!=null&&"observers"in e?fl(e,n):e.value=n,e.updatedAt=s)}function Mr(e,t,s,n=Ne,i){const r={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:J,context:J?J.context:null,pure:s};return J===null||J!==hl&&(J.owned?J.owned.push(r):J.owned=[r]),r}function jn(e){if(e.state===0)return;if(e.state===Hn)return $n(e);if(e.suspense&&Yt(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;s--)if(e=t[s],e.state===Ne)sn(e);else if(e.state===Hn){const n=Mt;Mt=null,ss(()=>$n(e,t[0]),!1),Mt=n}}function ss(e,t){if(Mt)return e();let s=!1;t||(Mt=[]),pe?s=!0:pe=[],ri++;try{const n=e();return id(s),n}catch(n){s||(pe=null),Mt=null,kr(n)}}function id(e){if(Mt&&(gl(Mt),Mt=null),e)return;const t=pe;pe=null,t.length&&ss(()=>cl(t),!1)}function gl(e){for(let t=0;t=0;t--)li(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function od(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function kr(e,t=J){throw od(e)}function Qi(e){if(typeof e=="function"&&!e.length)return Qi(e());if(Array.isArray(e)){const t=[];for(let s=0;si=Yt(()=>(J.context={...J.context,[e]:n.value},Sr(()=>n.children))),void 0),i}}function z(e,t){return Yt(()=>e(t||{}))}function gn(){return!0}const tr={get(e,t,s){return t===Vn?s:e.get(t)},has(e,t){return t===Vn?!0:e.has(t)},set:gn,deleteProperty:gn,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:gn,deleteProperty:gn}},ownKeys(e){return e.keys()}};function Pi(e){return(e=typeof e=="function"?e():e)?e:{}}function ld(){for(let e=0,t=this.length;e=0;a--){const l=Pi(e[a])[o];if(l!==void 0)return l}},has(o){for(let a=e.length-1;a>=0;a--)if(o in Pi(e[a]))return!0;return!1},keys(){const o=[];for(let a=0;a=0;o--){const a=e[o];if(!a)continue;const l=Object.getOwnPropertyNames(a);for(let c=l.length-1;c>=0;c--){const h=l[c];if(h==="__proto__"||h==="constructor")continue;const u=Object.getOwnPropertyDescriptor(a,h);if(!n[h])n[h]=u.get?{enumerable:!0,configurable:!0,get:ld.bind(s[h]=[u.get.bind(a)])}:u.value!==void 0?u:void 0;else{const d=s[h];d&&(u.get?d.push(u.get.bind(a)):u.value!==void 0&&d.push(()=>u.value))}}}const i={},r=Object.keys(n);for(let o=r.length-1;o>=0;o--){const a=r[o],l=n[a];l&&l.get?Object.defineProperty(i,a,l):i[a]=l?l.value:void 0}return i}function Qt(e,...t){if(Vn in e){const i=new Set(t.length>1?t.flat():t[0]),r=t.map(o=>new Proxy({get(a){return o.includes(a)?e[a]:void 0},has(a){return o.includes(a)&&a in e},keys(){return o.filter(a=>a in e)}},tr));return r.push(new Proxy({get(o){return i.has(o)?void 0:e[o]},has(o){return i.has(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!i.has(o))}},tr)),r}const s={},n=t.map(()=>({}));for(const i of Object.getOwnPropertyNames(e)){const r=Object.getOwnPropertyDescriptor(e,i),o=!r.get&&!r.set&&r.enumerable&&r.writable&&r.configurable;let a=!1,l=0;for(const c of t)c.includes(i)&&(a=!0,o?n[l][i]=r.value:Object.defineProperty(n[l],i,r)),++l;a||(o?s[i]=r.value:Object.defineProperty(s,i,r))}return[...n,s]}const cd=e=>`Stale read from <${e}>.`;function ml(e){const t=e.keyed,s=xt(()=>e.when,void 0,{equals:(n,i)=>t?n===i:!n==!i});return xt(()=>{const n=s();if(n){const i=e.children;return typeof i=="function"&&i.length>0?Yt(()=>i(t?n:()=>{if(!Yt(s))throw cd("Show");return e.when})):i}return e.fallback},void 0,void 0)}const hd=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],ud=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...hd]),dd=new Set(["innerHTML","textContent","innerText","children"]),fd=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),gd=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function pd(e,t){const s=gd[e];return typeof s=="object"?s[t]?s.$:void 0:s}const md=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),bd={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function yd(e,t,s){let n=s.length,i=t.length,r=n,o=0,a=0,l=t[i-1].nextSibling,c=null;for(;oh-a){const b=t[o];for(;a{i=r,t===document?e():Tt(t,e(),t.firstChild?null:void 0,s)},n.owner),()=>{i(),t.textContent=""}}function Z(e,t,s){let n;const i=()=>{const o=document.createElement("template");return o.innerHTML=e,s?o.content.firstChild.firstChild:o.content.firstChild},r=t?()=>Yt(()=>document.importNode(n||(n=i()),!0)):()=>(n||(n=i())).cloneNode(!0);return r.cloneNode=r,r}function Or(e,t=window.document){const s=t[xo]||(t[xo]=new Set);for(let n=0,i=e.length;ni.call(e,s[1],r))}else e.addEventListener(t,s)}function Sd(e,t,s={}){const n=Object.keys(t||{}),i=Object.keys(s);let r,o;for(r=0,o=i.length;ri.children=ms(e,t.children,i.children)),Kt(()=>t.ref&&t.ref(e)),Kt(()=>Od(e,t,s,!0,i,!0)),i}function kd(e,t,s){return Yt(()=>e(t,s))}function Tt(e,t,s,n){if(s!==void 0&&!n&&(n=[]),typeof t!="function")return ms(e,t,n,s);Kt(i=>ms(e,t(),i,s),n)}function Od(e,t,s,n,i={},r=!1){t||(t={});for(const o in i)if(!(o in t)){if(o==="children")continue;i[o]=vo(e,o,null,i[o],s,r)}for(const o in t){if(o==="children"){n||ms(e,t.children);continue}const a=t[o];i[o]=vo(e,o,a,i[o],s,r)}}function Dd(e){return e.toLowerCase().replace(/-([a-z])/g,(t,s)=>s.toUpperCase())}function wo(e,t,s){const n=t.trim().split(/\s+/);for(let i=0,r=n.length;i-1&&bd[t.split(":")[0]];u?xd(e,u,t,s):ps(e,fd[t]||t,s)}return s}function Pd(e){const t=`$$${e.type}`;let s=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==s&&Object.defineProperty(e,"target",{configurable:!0,value:s}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return s||document}});s;){const n=s[t];if(n&&!s.disabled){const i=s[`${t}Data`];if(i!==void 0?n.call(s,i,e):n.call(s,e),e.cancelBubble)return}s=s._$host||s.parentNode||s.host}}function ms(e,t,s,n,i){for(;typeof s=="function";)s=s();if(t===s)return s;const r=typeof t,o=n!==void 0;if(e=o&&s[0]&&s[0].parentNode||e,r==="string"||r==="number")if(r==="number"&&(t=t.toString()),o){let a=s[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),s=rs(e,s,n,a)}else s!==""&&typeof s=="string"?s=e.firstChild.data=t:s=e.textContent=t;else if(t==null||r==="boolean")s=rs(e,s,n);else{if(r==="function")return Kt(()=>{let a=t();for(;typeof a=="function";)a=a();s=ms(e,a,s,n)}),()=>s;if(Array.isArray(t)){const a=[],l=s&&Array.isArray(s);if(er(a,t,s,i))return Kt(()=>s=ms(e,a,s,n,!0)),()=>s;if(a.length===0){if(s=rs(e,s,n),o)return s}else l?s.length===0?So(e,a,n):yd(e,s,a):(s&&rs(e),So(e,a));s=a}else if(t.nodeType){if(Array.isArray(s)){if(o)return s=rs(e,s,n,t);rs(e,s,null,t)}else s==null||s===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);s=t}}return s}function er(e,t,s,n){let i=!1;for(let r=0,o=t.length;r=0;o--){const a=t[o];if(i!==a){const l=a.parentNode===e;!r&&!o?l?e.replaceChild(i,a):e.insertBefore(i,s):l&&a.remove()}else r=!0}}else e.insertBefore(i,s);return[i]}const Td=!1;/*! +var Qd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Zv=Qd((eS,zn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();const tu=(e,t)=>e===t,Vn=Symbol("solid-proxy"),Bn={equals:tu};let dl=ml;const Ne=1,Hn=2,ul={owned:null,cleanups:null,context:null,owner:null};var J=null;let Di=null,eu=null,ot=null,Mt=null,pe=null,ri=0;function fl(e,t){const s=ot,n=J,i=e.length===0,r=t===void 0?n:t,o=i?ul:{owned:null,cleanups:null,context:r?r.context:null,owner:r},a=i?e:()=>e(()=>Yt(()=>li(o)));J=o,ot=null;try{return ss(a,!0)}finally{ot=s,J=n}}function Oe(e,t){t=t?Object.assign({},Bn,t):Bn;const s={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},n=i=>(typeof i=="function"&&(i=i(s.value)),pl(s,i));return[gl.bind(s),n]}function Kt(e,t,s){const n=Mr(e,t,!1,Ne);sn(n)}function oi(e,t,s){dl=lu;const n=Mr(e,t,!1,Ne);(!s||!s.render)&&(n.user=!0),pe?pe.push(n):sn(n)}function xt(e,t,s){s=s?Object.assign({},Bn,s):Bn;const n=Mr(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=s.equals||void 0,sn(n),gl.bind(n)}function Yt(e){if(ot===null)return e();const t=ot;ot=null;try{return e()}finally{ot=t}}function wr(e,t,s){const n=Array.isArray(e);let i,r=s&&s.defer;return o=>{let a;if(n){a=Array(e.length);for(let c=0;ct(a,i,o));return i=a,l}}function su(e){oi(()=>Yt(e))}function en(e){return J===null||(J.cleanups===null?J.cleanups=[e]:J.cleanups.push(e)),e}function nu(){return J}function iu(e,t){const s=J,n=ot;J=e,ot=null;try{return ss(t,!0)}catch(i){kr(i)}finally{J=s,ot=n}}function ru(e){const t=ot,s=J;return Promise.resolve().then(()=>{ot=t,J=s;let n;return ss(e,!1),ot=J=null,n?n.done:void 0})}function vr(e,t){const s=Symbol("context");return{id:s,Provider:hu(s),defaultValue:e}}function ai(e){return J&&J.context&&J.context[e.id]!==void 0?J.context[e.id]:e.defaultValue}function Sr(e){const t=xt(e),s=xt(()=>Ji(t()));return s.toArray=()=>{const n=s();return Array.isArray(n)?n:n!=null?[n]:[]},s}function gl(){if(this.sources&&this.state)if(this.state===Ne)sn(this);else{const e=Mt;Mt=null,ss(()=>$n(this),!1),Mt=e}if(ot){const e=this.observers?this.observers.length:0;ot.sources?(ot.sources.push(this),ot.sourceSlots.push(e)):(ot.sources=[this],ot.sourceSlots=[e]),this.observers?(this.observers.push(ot),this.observerSlots.push(ot.sources.length-1)):(this.observers=[ot],this.observerSlots=[ot.sources.length-1])}return this.value}function pl(e,t,s){let n=e.value;return(!e.comparator||!e.comparator(n,t))&&(e.value=t,e.observers&&e.observers.length&&ss(()=>{for(let i=0;i1e6)throw Mt=[],new Error},!1)),t}function sn(e){if(!e.fn)return;li(e);const t=ri;ou(e,e.value,t)}function ou(e,t,s){let n;const i=J,r=ot;ot=J=e;try{n=e.fn(t)}catch(o){return e.pure&&(e.state=Ne,e.owned&&e.owned.forEach(li),e.owned=null),e.updatedAt=s+1,kr(o)}finally{ot=r,J=i}(!e.updatedAt||e.updatedAt<=s)&&(e.updatedAt!=null&&"observers"in e?pl(e,n):e.value=n,e.updatedAt=s)}function Mr(e,t,s,n=Ne,i){const r={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:J,context:J?J.context:null,pure:s};return J===null||J!==ul&&(J.owned?J.owned.push(r):J.owned=[r]),r}function jn(e){if(e.state===0)return;if(e.state===Hn)return $n(e);if(e.suspense&&Yt(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;s--)if(e=t[s],e.state===Ne)sn(e);else if(e.state===Hn){const n=Mt;Mt=null,ss(()=>$n(e,t[0]),!1),Mt=n}}function ss(e,t){if(Mt)return e();let s=!1;t||(Mt=[]),pe?s=!0:pe=[],ri++;try{const n=e();return au(s),n}catch(n){s||(pe=null),Mt=null,kr(n)}}function au(e){if(Mt&&(ml(Mt),Mt=null),e)return;const t=pe;pe=null,t.length&&ss(()=>dl(t),!1)}function ml(e){for(let t=0;t=0;t--)li(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function cu(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function kr(e,t=J){throw cu(e)}function Ji(e){if(typeof e=="function"&&!e.length)return Ji(e());if(Array.isArray(e)){const t=[];for(let s=0;si=Yt(()=>(J.context={...J.context,[e]:n.value},Sr(()=>n.children))),void 0),i}}function B(e,t){return Yt(()=>e(t||{}))}function gn(){return!0}const Qi={get(e,t,s){return t===Vn?s:e.get(t)},has(e,t){return t===Vn?!0:e.has(t)},set:gn,deleteProperty:gn,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:gn,deleteProperty:gn}},ownKeys(e){return e.keys()}};function Pi(e){return(e=typeof e=="function"?e():e)?e:{}}function du(){for(let e=0,t=this.length;e=0;a--){const l=Pi(e[a])[o];if(l!==void 0)return l}},has(o){for(let a=e.length-1;a>=0;a--)if(o in Pi(e[a]))return!0;return!1},keys(){const o=[];for(let a=0;a=0;o--){const a=e[o];if(!a)continue;const l=Object.getOwnPropertyNames(a);for(let c=l.length-1;c>=0;c--){const h=l[c];if(h==="__proto__"||h==="constructor")continue;const d=Object.getOwnPropertyDescriptor(a,h);if(!n[h])n[h]=d.get?{enumerable:!0,configurable:!0,get:du.bind(s[h]=[d.get.bind(a)])}:d.value!==void 0?d:void 0;else{const u=s[h];u&&(d.get?u.push(d.get.bind(a)):d.value!==void 0&&u.push(()=>d.value))}}}const i={},r=Object.keys(n);for(let o=r.length-1;o>=0;o--){const a=r[o],l=n[a];l&&l.get?Object.defineProperty(i,a,l):i[a]=l?l.value:void 0}return i}function Qt(e,...t){if(Vn in e){const i=new Set(t.length>1?t.flat():t[0]),r=t.map(o=>new Proxy({get(a){return o.includes(a)?e[a]:void 0},has(a){return o.includes(a)&&a in e},keys(){return o.filter(a=>a in e)}},Qi));return r.push(new Proxy({get(o){return i.has(o)?void 0:e[o]},has(o){return i.has(o)?!1:o in e},keys(){return Object.keys(e).filter(o=>!i.has(o))}},Qi)),r}const s={},n=t.map(()=>({}));for(const i of Object.getOwnPropertyNames(e)){const r=Object.getOwnPropertyDescriptor(e,i),o=!r.get&&!r.set&&r.enumerable&&r.writable&&r.configurable;let a=!1,l=0;for(const c of t)c.includes(i)&&(a=!0,o?n[l][i]=r.value:Object.defineProperty(n[l],i,r)),++l;a||(o?s[i]=r.value:Object.defineProperty(s,i,r))}return[...n,s]}const uu=e=>`Stale read from <${e}>.`;function yl(e){const t=e.keyed,s=xt(()=>e.when,void 0,{equals:(n,i)=>t?n===i:!n==!i});return xt(()=>{const n=s();if(n){const i=e.children;return typeof i=="function"&&i.length>0?Yt(()=>i(t?n:()=>{if(!Yt(s))throw uu("Show");return e.when})):i}return e.fallback},void 0,void 0)}const fu=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],gu=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...fu]),pu=new Set(["innerHTML","textContent","innerText","children"]),mu=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),bu=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function yu(e,t){const s=bu[e];return typeof s=="object"?s[t]?s.$:void 0:s}const _u=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),xu={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function wu(e,t,s){let n=s.length,i=t.length,r=n,o=0,a=0,l=t[i-1].nextSibling,c=null;for(;oh-a){const b=t[o];for(;a{i=r,t===document?e():Lt(t,e(),t.firstChild?null:void 0,s)},n.owner),()=>{i(),t.textContent=""}}function Z(e,t,s){let n;const i=()=>{const o=document.createElement("template");return o.innerHTML=e,s?o.content.firstChild.firstChild:o.content.firstChild},r=t?()=>Yt(()=>document.importNode(n||(n=i()),!0)):()=>(n||(n=i())).cloneNode(!0);return r.cloneNode=r,r}function Or(e,t=window.document){const s=t[wo]||(t[wo]=new Set);for(let n=0,i=e.length;ni.call(e,s[1],r))}else e.addEventListener(t,s)}function Ou(e,t,s={}){const n=Object.keys(t||{}),i=Object.keys(s);let r,o;for(r=0,o=i.length;ri.children=ms(e,t.children,i.children)),Kt(()=>t.ref&&t.ref(e)),Kt(()=>Tu(e,t,s,!0,i,!0)),i}function Pu(e,t,s){return Yt(()=>e(t,s))}function Lt(e,t,s,n){if(s!==void 0&&!n&&(n=[]),typeof t!="function")return ms(e,t,n,s);Kt(i=>ms(e,t(),i,s),n)}function Tu(e,t,s,n,i={},r=!1){t||(t={});for(const o in i)if(!(o in t)){if(o==="children")continue;i[o]=So(e,o,null,i[o],s,r)}for(const o in t){if(o==="children"){n||ms(e,t.children);continue}const a=t[o];i[o]=So(e,o,a,i[o],s,r)}}function Cu(e){return e.toLowerCase().replace(/-([a-z])/g,(t,s)=>s.toUpperCase())}function vo(e,t,s){const n=t.trim().split(/\s+/);for(let i=0,r=n.length;i-1&&xu[t.split(":")[0]];d?Su(e,d,t,s):ps(e,mu[t]||t,s)}return s}function Au(e){const t=`$$${e.type}`;let s=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==s&&Object.defineProperty(e,"target",{configurable:!0,value:s}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return s||document}});s;){const n=s[t];if(n&&!s.disabled){const i=s[`${t}Data`];if(i!==void 0?n.call(s,i,e):n.call(s,e),e.cancelBubble)return}s=s._$host||s.parentNode||s.host}}function ms(e,t,s,n,i){for(;typeof s=="function";)s=s();if(t===s)return s;const r=typeof t,o=n!==void 0;if(e=o&&s[0]&&s[0].parentNode||e,r==="string"||r==="number")if(r==="number"&&(t=t.toString()),o){let a=s[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),s=rs(e,s,n,a)}else s!==""&&typeof s=="string"?s=e.firstChild.data=t:s=e.textContent=t;else if(t==null||r==="boolean")s=rs(e,s,n);else{if(r==="function")return Kt(()=>{let a=t();for(;typeof a=="function";)a=a();s=ms(e,a,s,n)}),()=>s;if(Array.isArray(t)){const a=[],l=s&&Array.isArray(s);if(tr(a,t,s,i))return Kt(()=>s=ms(e,a,s,n,!0)),()=>s;if(a.length===0){if(s=rs(e,s,n),o)return s}else l?s.length===0?Mo(e,a,n):wu(e,s,a):(s&&rs(e),Mo(e,a));s=a}else if(t.nodeType){if(Array.isArray(s)){if(o)return s=rs(e,s,n,t);rs(e,s,null,t)}else s==null||s===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);s=t}}return s}function tr(e,t,s,n){let i=!1;for(let r=0,o=t.length;r=0;o--){const a=t[o];if(i!==a){const l=a.parentNode===e;!r&&!o?l?e.replaceChild(i,a):e.insertBefore(i,s):l&&a.remove()}else r=!0}}else e.insertBefore(i,s);return[i]}const Eu=!1;/*! * Original code by Chakra UI * MIT Licensed, Copyright (c) 2019 Segun Adebayo. * * Credits to the Chakra UI team: * https://github.com/chakra-ui/chakra-ui/blob/main/packages/color-mode/src/color-mode-context.ts - */const bl=vr();function Cd(){const e=ai(bl);if(e===void 0)throw new Error("[kobalte]: `useColorMode` must be used within a `ColorModeProvider`");return e}/*! + */const _l=vr();function Ru(){const e=ai(_l);if(e===void 0)throw new Error("[kobalte]: `useColorMode` must be used within a `ColorModeProvider`");return e}/*! * Original code by Chakra UI * MIT Licensed, Copyright (c) 2019 Segun Adebayo. * * Credits to the Chakra UI team: * https://github.com/chakra-ui/chakra-ui/blob/main/packages/color-mode/src/storage-manager.ts - */const yl="kb-color-mode";function Ad(e){return{ssr:!1,type:"localStorage",get:t=>{let s;try{s=localStorage.getItem(e)}catch{}return s??t},set:t=>{try{localStorage.setItem(e,t)}catch{}}}}const Ed=Ad(yl);/*! + */const xl="kb-color-mode";function Lu(e){return{ssr:!1,type:"localStorage",get:t=>{let s;try{s=localStorage.getItem(e)}catch{}return s??t},set:t=>{try{localStorage.setItem(e,t)}catch{}}}}const Iu=Lu(xl);/*! * Original code by Chakra UI * MIT Licensed, Copyright (c) 2019 Segun Adebayo. * * Credits to the Chakra UI team: * https://github.com/chakra-ui/chakra-ui/blob/main/packages/color-mode/src/color-mode.utils.ts - */const Dr="system";function _l(){return window.matchMedia("(prefers-color-scheme: dark)")}function Rd(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}function Ld(e,t=!0){const s=t?Rd():void 0;document.documentElement.dataset.kbTheme=e,document.documentElement.style.colorScheme=e,s?.()}function xl(e){return _l().matches??e==="dark"?"dark":"light"}function Id(e){const t="light",s=e.get(t)??t;return s==="system"?xl():s}function Fd(e){const t=_l(),s=n=>{e(n.matches?"dark":"light")};return t.addEventListener("change",s),()=>{t.removeEventListener("change",s)}}function wl(e){const t=()=>e.initialColorMode??Dr,s=()=>e.storageManager??Ed;let n;const[i,r]=Oe(Id(s())),o=h=>{r(h),Ld(h,e.disableTransitionOnChange)},a=h=>{n&&(n(),n=void 0);const u=h==="system";u&&(n=Fd(o)),o(u?xl():h),s().set(h)},l=()=>{a(i()==="dark"?"light":"dark")};oi(()=>{a(s().get()??t())}),en(()=>{n?.()});const c={colorMode:i,setColorMode:a,toggleColorMode:l};return z(bl.Provider,{value:c,get children(){return e.children}})}var Nd=Z(" + diff --git a/projects/anasite/src/components/navbar.tsx b/projects/anasite/src/components/navbar.tsx index a6583426f..f55141367 100644 --- a/projects/anasite/src/components/navbar.tsx +++ b/projects/anasite/src/components/navbar.tsx @@ -17,7 +17,6 @@ export default function NavBar() {
{setColorMode(revt(colorMode()))}} class="justify-center items-center flex">{colorMode()}
-