diff --git a/_astro/DisplaySettings.t0qgYCfD.js b/_astro/DisplaySettings.BFrbNvwE.js similarity index 98% rename from _astro/DisplaySettings.t0qgYCfD.js rename to _astro/DisplaySettings.BFrbNvwE.js index 0e61affc7..37abdbfcb 100644 --- a/_astro/DisplaySettings.t0qgYCfD.js +++ b/_astro/DisplaySettings.BFrbNvwE.js @@ -1 +1 @@ -import{S as L,i as M,s as Q,a as K,I as O,c as W,e as _,t as P,b as C,d as v,f as h,g as R,h as T,j as p,k as s,l as H,m as X,n as Y,o as i,p as F,q,u as Z,r as ee,v as te,w as se,x as ae,y as le,z as re,A as oe}from"./translation.DRW-dp-k.js";import{g as ne,a as G,s as ie}from"./setting-utils.CmAt4it9.js";const ue=e=>({}),J=e=>({});function ce(e){let a,t,l,r,o,c,n,d,b,f,u,m,g,x,k,$,y,w=K(O.themeColor)+"";const D=e[4]["restore-icon"],I=W(D,e,e[3],J);return{c(){a=_("div"),t=_("div"),l=_("div"),r=P(w),o=C(),c=_("button"),n=_("div"),I&&I.c(),d=C(),b=_("div"),f=_("div"),u=P(e[0]),m=C(),g=_("div"),x=_("input"),this.h()},l(s){a=v(s,"DIV",{id:!0,class:!0});var i=h(a);t=v(i,"DIV",{class:!0});var k=h(t);l=v(k,"DIV",{class:!0});var $=h(l);r=R($,w),o=T($),c=v($,"BUTTON",{"aria-label":!0,class:!0});var _=h(c);n=v(_,"DIV",{class:!0});var y=h(n);I&&I.l(y),y.forEach(p),_.forEach(p),$.forEach(p),d=T(k),b=v(k,"DIV",{class:!0});var D=h(b);f=v(D,"DIV",{id:!0,class:!0});var E=h(f);u=R(E,e[0]),E.forEach(p),D.forEach(p),k.forEach(p),m=T(i),g=v(i,"DIV",{class:!0});var V=h(g);x=v(V,"INPUT",{"aria-label":!0,type:!0,min:!0,max:!0,class:!0,id:!0,step:!0,style:!0}),V.forEach(p),i.forEach(p),this.h()},h(){s(n,"class","text-[var(--btn-content)] svelte-3akcb9"),s(c,"aria-label","Reset to Default"),s(c,"class","btn-regular w-7 h-7 rounded-md active:scale-90 svelte-3akcb9"),H(c,"opacity-0",e[0]===e[1]),H(c,"pointer-events-none",e[0]===e[1]),s(l,"class","flex gap-2 font-bold text-lg text-neutral-900 dark:text-neutral-100 transition relative ml-3 before:w-1 before:h-4 before:rounded-md before:bg-[var(--primary)] before:absolute before:-left-3 before:top-[0.33rem] svelte-3akcb9"),s(f,"id","hueValue"),s(f,"class","transition bg-[var(--btn-regular-bg)] w-10 h-7 rounded-md flex justify-center font-bold text-sm items-center text-[var(--btn-content)] svelte-3akcb9"),s(b,"class","flex gap-1 svelte-3akcb9"),s(t,"class","flex flex-row gap-2 mb-3 items-center justify-between svelte-3akcb9"),s(x,"aria-label",K(O.themeColor)),s(x,"type","range"),s(x,"min","0"),s(x,"max","360"),s(x,"class","slider svelte-3akcb9"),s(x,"id","colorSlider"),s(x,"step","5"),X(x,"width","100%"),s(g,"class","w-full h-6 px-1 bg-[oklch(0.80_0.10_0)] dark:bg-[oklch(0.70_0.10_0)] rounded select-none svelte-3akcb9"),s(a,"id","display-setting"),s(a,"class","float-panel float-panel-closed absolute transition-all w-80 right-4 px-4 py-4 svelte-3akcb9")},m(s,p){Y(s,a,p),i(a,t),i(t,l),i(l,r),i(l,o),i(l,c),i(c,n),I&&I.m(n,null),i(t,d),i(t,b),i(b,f),i(f,u),i(a,m),i(a,g),i(g,x),F(x,e[0]),k=!0,$||(y=[q(c,"click",e[2]),q(x,"change",e[5]),q(x,"input",e[5])],$=!0)},p(e,[s]){I&&I.p&&(!k||8&s)&&Z(I,D,e,e[3],k?te(D,e[3],s,ue):ee(e[3]),J),(!k||3&s)&&H(c,"opacity-0",e[0]===e[1]),(!k||3&s)&&H(c,"pointer-events-none",e[0]===e[1]),(!k||1&s)&&se(u,e[0]),1&s&&F(x,e[0])},i(e){k||(ae(I,e),k=!0)},o(e){le(I,e),k=!1},d(e){e&&p(a),I&&I.d(e),$=!1,re(y)}}}function de(e,s,a){let{$$slots:t={},$$scope:l}=s,r=ne();const i=G();return e.$$set=e=>{"$$scope"in e&&a(3,l=e.$$scope)},e.$$.update=()=>{1&e.$$.dirty&&(r||0===r)&&ie(r)},[r,i,function(){a(0,r=G())},l,t,function(){r=oe(this.value),a(0,r)}]}class pe extends L{constructor(e){super(),M(this,e,de,ce,Q,{})}}export{pe as default}; \ No newline at end of file +import{S as L,i as M,s as Q,a as K,I as O,c as W,e as _,t as P,b as C,d as v,f as h,g as R,h as T,j as p,k as s,l as H,m as X,n as Y,o as i,p as F,q,u as Z,r as ee,v as te,w as se,x as ae,y as le,z as re,A as oe}from"./translation.DbiZaWql.js";import{g as ne,a as G,s as ie}from"./setting-utils.CmAt4it9.js";const ue=e=>({}),J=e=>({});function ce(e){let a,t,l,r,o,c,n,d,b,f,u,m,g,x,k,$,y,w=K(O.themeColor)+"";const D=e[4]["restore-icon"],I=W(D,e,e[3],J);return{c(){a=_("div"),t=_("div"),l=_("div"),r=P(w),o=C(),c=_("button"),n=_("div"),I&&I.c(),d=C(),b=_("div"),f=_("div"),u=P(e[0]),m=C(),g=_("div"),x=_("input"),this.h()},l(s){a=v(s,"DIV",{id:!0,class:!0});var i=h(a);t=v(i,"DIV",{class:!0});var k=h(t);l=v(k,"DIV",{class:!0});var $=h(l);r=R($,w),o=T($),c=v($,"BUTTON",{"aria-label":!0,class:!0});var _=h(c);n=v(_,"DIV",{class:!0});var y=h(n);I&&I.l(y),y.forEach(p),_.forEach(p),$.forEach(p),d=T(k),b=v(k,"DIV",{class:!0});var D=h(b);f=v(D,"DIV",{id:!0,class:!0});var E=h(f);u=R(E,e[0]),E.forEach(p),D.forEach(p),k.forEach(p),m=T(i),g=v(i,"DIV",{class:!0});var V=h(g);x=v(V,"INPUT",{"aria-label":!0,type:!0,min:!0,max:!0,class:!0,id:!0,step:!0,style:!0}),V.forEach(p),i.forEach(p),this.h()},h(){s(n,"class","text-[var(--btn-content)] svelte-3akcb9"),s(c,"aria-label","Reset to Default"),s(c,"class","btn-regular w-7 h-7 rounded-md active:scale-90 svelte-3akcb9"),H(c,"opacity-0",e[0]===e[1]),H(c,"pointer-events-none",e[0]===e[1]),s(l,"class","flex gap-2 font-bold text-lg text-neutral-900 dark:text-neutral-100 transition relative ml-3 before:w-1 before:h-4 before:rounded-md before:bg-[var(--primary)] before:absolute before:-left-3 before:top-[0.33rem] svelte-3akcb9"),s(f,"id","hueValue"),s(f,"class","transition bg-[var(--btn-regular-bg)] w-10 h-7 rounded-md flex justify-center font-bold text-sm items-center text-[var(--btn-content)] svelte-3akcb9"),s(b,"class","flex gap-1 svelte-3akcb9"),s(t,"class","flex flex-row gap-2 mb-3 items-center justify-between svelte-3akcb9"),s(x,"aria-label",K(O.themeColor)),s(x,"type","range"),s(x,"min","0"),s(x,"max","360"),s(x,"class","slider svelte-3akcb9"),s(x,"id","colorSlider"),s(x,"step","5"),X(x,"width","100%"),s(g,"class","w-full h-6 px-1 bg-[oklch(0.80_0.10_0)] dark:bg-[oklch(0.70_0.10_0)] rounded select-none svelte-3akcb9"),s(a,"id","display-setting"),s(a,"class","float-panel float-panel-closed absolute transition-all w-80 right-4 px-4 py-4 svelte-3akcb9")},m(s,p){Y(s,a,p),i(a,t),i(t,l),i(l,r),i(l,o),i(l,c),i(c,n),I&&I.m(n,null),i(t,d),i(t,b),i(b,f),i(f,u),i(a,m),i(a,g),i(g,x),F(x,e[0]),k=!0,$||(y=[q(c,"click",e[2]),q(x,"change",e[5]),q(x,"input",e[5])],$=!0)},p(e,[s]){I&&I.p&&(!k||8&s)&&Z(I,D,e,e[3],k?te(D,e[3],s,ue):ee(e[3]),J),(!k||3&s)&&H(c,"opacity-0",e[0]===e[1]),(!k||3&s)&&H(c,"pointer-events-none",e[0]===e[1]),(!k||1&s)&&se(u,e[0]),1&s&&F(x,e[0])},i(e){k||(ae(I,e),k=!0)},o(e){le(I,e),k=!1},d(e){e&&p(a),I&&I.d(e),$=!1,re(y)}}}function de(e,s,a){let{$$slots:t={},$$scope:l}=s,r=ne();const i=G();return e.$$set=e=>{"$$scope"in e&&a(3,l=e.$$scope)},e.$$.update=()=>{1&e.$$.dirty&&(r||0===r)&&ie(r)},[r,i,function(){a(0,r=G())},l,t,function(){r=oe(this.value),a(0,r)}]}class pe extends L{constructor(e){super(),M(this,e,de,ce,Q,{})}}export{pe as default}; \ No newline at end of file diff --git a/_astro/LightDarkSwitch.D8-69OAs.js b/_astro/LightDarkSwitch.CRXxaJEy.js similarity index 99% rename from _astro/LightDarkSwitch.D8-69OAs.js rename to _astro/LightDarkSwitch.CRXxaJEy.js index 47f38aa70..3cc47539a 100644 --- a/_astro/LightDarkSwitch.D8-69OAs.js +++ b/_astro/LightDarkSwitch.CRXxaJEy.js @@ -1 +1 @@ -import{S as lt,i as at,s as ft,G as ue,n as re,J as He,j as S,D as ut,K as Ct,L as de,M as Qe,e as M,d as L,f as j,N as Ge,O as Ot,H as jt,P as Pt,E as Mt,Q as Ke,R as Lt,a as ve,I as xe,T as z,b as A,t as _e,U as H,h as N,g as ke,k as I,l as O,o as x,V as Q,q as G,x as K,y as W,W as J,z as Dt}from"./translation.DRW-dp-k.js";import{L as Y,D as Z,A as B,b as $t,c as Ft,d as At}from"./setting-utils.CmAt4it9.js";function dt(t,e){const n={},o={},r={$$scope:1};let i=t.length;for(;i--;){const s=t[i],c=e[i];if(c){for(const t in s)t in c||(o[t]=1);for(const t in c)r[t]||(n[t]=c[t],r[t]=1);t[i]=c}else for(const t in s)r[t]=1}for(const t in o)t in n||(n[t]=void 0);return n}const te=/^[a-z0-9]+(-[a-z0-9]+)*$/,pe=(t,e,n,o="")=>{const r=t.split(":");if("@"===t.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const t=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:t};return e&&!ae(i)?null:i}const i=r[0],s=i.split("-");if(s.length>1){const t={provider:o,prefix:s.shift(),name:s.join("-")};return e&&!ae(t)?null:t}if(n&&""===o){const t={provider:o,prefix:"",name:i};return e&&!ae(t,n)?null:t}return null},ae=(t,e)=>!!t&&!(""!==t.provider&&!t.provider.match(te)||!(e&&""===t.prefix||t.prefix.match(te))||!t.name.match(te)),ht=Object.freeze({left:0,top:0,width:16,height:16}),he=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ge=Object.freeze({...ht,...he}),Te=Object.freeze({...ge,body:"",hidden:!1});function Nt(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const o=((t.rotate||0)+(e.rotate||0))%4;return o&&(n.rotate=o),n}function We(t,e){const n=Nt(t,e);for(const o in Te)o in he?o in t&&!(o in n)&&(n[o]=he[o]):o in e?n[o]=e[o]:o in t&&(n[o]=t[o]);return n}function Vt(t,e){const n=t.icons,o=t.aliases||Object.create(null),r=Object.create(null);return Object.keys(n).concat(Object.keys(o)).forEach((function t(e){if(n[e])return r[e]=[];if(!(e in r)){r[e]=null;const n=o[e]&&o[e].parent,i=n&&t(n);i&&(r[e]=[n].concat(i))}return r[e]})),r}function Bt(t,e,n){const o=t.icons,r=t.aliases||Object.create(null);let i={};function s(t){i=We(o[t]||r[t],i)}return s(e),n.forEach(s),We(t,i)}function pt(t,e){const n=[];if("object"!=typeof t||"object"!=typeof t.icons)return n;t.not_found instanceof Array&&t.not_found.forEach((t=>{e(t,null),n.push(t)}));const o=Vt(t);for(const r in o){const i=o[r];i&&(e(r,Bt(t,r,i)),n.push(r))}return n}const Rt={provider:"",aliases:{},not_found:{},...ht};function Se(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function gt(t){if("object"!=typeof t||null===t)return null;const e=t;if("string"!=typeof e.prefix||!t.icons||"object"!=typeof t.icons||!Se(t,Rt))return null;const n=e.icons;for(const t in n){const e=n[t];if(!t.match(te)||"string"!=typeof e.body||!Se(e,Te))return null}const o=e.aliases||Object.create(null);for(const t in o){const e=o[t],r=e.parent;if(!t.match(te)||"string"!=typeof r||!n[r]&&!o[r]||!Se(e,Te))return null}return e}const Je=Object.create(null);function Ut(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function R(t,e){const n=Je[t]||(Je[t]=Object.create(null));return n[e]||(n[e]=Ut(t,e))}function Le(t,e){return gt(e)?pt(e,((e,n)=>{n?t.icons[e]=n:t.missing.add(e)})):[]}function qt(t,e,n){try{if("string"==typeof n.body)return t.icons[e]={...n},!0}catch{}return!1}let ne=!1;function mt(t){return"boolean"==typeof t&&(ne=t),ne}function zt(t){const e="string"==typeof t?pe(t,!0,ne):t;if(e){const t=R(e.provider,e.prefix),n=e.name;return t.icons[n]||(t.missing.has(n)?null:void 0)}}function Ht(t,e){const n=pe(t,!0,ne);if(!n)return!1;return qt(R(n.provider,n.prefix),n.name,e)}function Qt(t,e){if("object"!=typeof t)return!1;if("string"!=typeof e&&(e=t.provider||""),ne&&!e&&!t.prefix){let e=!1;return gt(t)&&(t.prefix="",pt(t,((t,n)=>{n&&Ht(t,n)&&(e=!0)}))),e}const n=t.prefix;if(!ae({provider:e,prefix:n,name:"a"}))return!1;return!!Le(R(e,n),t)}const bt=Object.freeze({width:null,height:null}),yt=Object.freeze({...bt,...he}),Gt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Kt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Xe(t,e,n){if(1===e)return t;if(n=n||100,"number"==typeof t)return Math.ceil(t*e*n)/n;if("string"!=typeof t)return t;const o=t.split(Gt);if(null===o||!o.length)return t;const r=[];let i=o.shift(),s=Kt.test(i);for(;;){if(s){const t=parseFloat(i);isNaN(t)?r.push(i):r.push(Math.ceil(t*e*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");s=!s}}function Wt(t,e="defs"){let n="";const o=t.indexOf("<"+e);for(;o>=0;){const r=t.indexOf(">",o),i=t.indexOf("",i);if(-1===s)break;n+=t.slice(r+1,i).trim(),t=t.slice(0,o).trim()+t.slice(s+1)}return{defs:n,content:t}}function Jt(t,e){return t?""+t+""+e:e}function Xt(t,e,n){const o=Wt(t);return Jt(o.defs,e+o.content+n)}const Yt=t=>"unset"===t||"undefined"===t||"none"===t;function Zt(t,e){const n={...ge,...t},o={...yt,...e},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach((t=>{const e=[],n=t.hFlip,o=t.vFlip;let s,c=t.rotate;switch(n?o?c+=2:(e.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),e.push("scale(-1 1)"),r.top=r.left=0):o&&(e.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),e.push("scale(1 -1)"),r.top=r.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:s=r.height/2+r.top,e.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:e.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:s=r.width/2+r.left,e.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}c%2==1&&(r.left!==r.top&&(s=r.left,r.left=r.top,r.top=s),r.width!==r.height&&(s=r.width,r.width=r.height,r.height=s)),e.length&&(i=Xt(i,'',""))}));const s=o.width,c=o.height,a=r.width,l=r.height;let f,u;null===s?(u=null===c?"1em":"auto"===c?l:c,f=Xe(u,a/l)):(f="auto"===s?a:s,u=null===c?Xe(f,l/a):"auto"===c?l:c);const d={},p=(t,e)=>{Yt(e)||(d[t]=e.toString())};p("width",f),p("height",u);const h=[r.left,r.top,a,l];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:i}}const en=/\sid="(\S+)"/g,tn="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let nn=0;function on(t,e=tn){const n=[];let o;for(;o=en.exec(t);)n.push(o[1]);if(!n.length)return t;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const o="function"==typeof e?e(n):e+(nn++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")})),t=t.replace(new RegExp(r,"g"),"")}const Ee=Object.create(null);function rn(t,e){Ee[t]=e}function Ce(t){return Ee[t]||Ee[""]}function De(t){let e;if("string"==typeof t.resources)e=[t.resources];else if(e=t.resources,!(e instanceof Array&&e.length))return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:!0===t.random,index:t.index||0,dataAfterTimeout:!1!==t.dataAfterTimeout}}const $e=Object.create(null),ee=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;ee.length>0;)1===ee.length||Math.random()>.5?fe.push(ee.shift()):fe.push(ee.pop());function sn(t,e){const n=De(e);return null!==n&&($e[t]=n,!0)}function Fe(t){return $e[t]}$e[""]=De({resources:["https://api.iconify.design"].concat(fe)});const cn=()=>{let t;try{if(t=fetch,"function"==typeof t)return t}catch{}};let Ye=cn();function ln(t,e){const n=Fe(t);if(!n)return 0;let o;if(n.maxURL){let t=0;n.resources.forEach((e=>{t=Math.max(t,e.length)}));const r=e+".json?icons=";o=n.maxURL-t-n.path.length-r.length}else o=0;return o}function an(t){return 404===t}const fn=(t,e,n)=>{const o=[],r=ln(t,e),i="icons";let s={type:i,provider:t,prefix:e,icons:[]},c=0;return n.forEach(((n,a)=>{c+=n.length+1,c>=r&&a>0&&(o.push(s),s={type:i,provider:t,prefix:e,icons:[]},c=n.length),s.icons.push(n)})),o.push(s),o};function un(t){if("string"==typeof t){const e=Fe(t);if(e)return e.path}return"/"}const dn=(t,e,n)=>{if(!Ye)return void n("abort",424);let o=un(e.provider);switch(e.type){case"icons":{const t=e.prefix,n=e.icons.join(",");o+=t+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const t=e.uri;o+="/"===t.slice(0,1)?t.slice(1):t;break}default:return void n("abort",400)}let r=503;Ye(t+o).then((t=>{const e=t.status;if(200===e)return r=501,t.json();setTimeout((()=>{n(an(e)?"abort":"next",e)}))})).then((t=>{"object"==typeof t&&null!==t?setTimeout((()=>{n("success",t)})):setTimeout((()=>{404===t?n("abort",t):n("next",r)}))})).catch((()=>{n("next",r)}))},hn={prepare:fn,send:dn};function pn(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort(((t,e)=>t.provider!==e.provider?t.provider.localeCompare(e.provider):t.prefix!==e.prefix?t.prefix.localeCompare(e.prefix):t.name.localeCompare(e.name)));let o={provider:"",prefix:"",name:""};return t.forEach((t=>{if(o.name===t.name&&o.prefix===t.prefix&&o.provider===t.provider)return;o=t;const r=t.provider,i=t.prefix,s=t.name,c=n[r]||(n[r]=Object.create(null)),a=c[i]||(c[i]=R(r,i));let l;l=s in a.icons?e.loaded:""===i||a.missing.has(s)?e.missing:e.pending;const f={provider:r,prefix:i,name:s};l.push(f)})),e}function wt(t,e){t.forEach((t=>{const n=t.loaderCallbacks;n&&(t.loaderCallbacks=n.filter((t=>t.id!==e)))}))}function gn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout((()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const o=t.provider,r=t.prefix;e.forEach((e=>{const i=e.icons,s=i.pending.length;i.pending=i.pending.filter((e=>{if(e.prefix!==r)return!0;const s=e.name;if(t.icons[s])i.loaded.push({provider:o,prefix:r,name:s});else{if(!t.missing.has(s))return n=!0,!0;i.missing.push({provider:o,prefix:r,name:s})}return!1})),i.pending.length!==s&&(n||wt([t],e.id),e.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),e.abort))}))})))}let mn=0;function bn(t,e,n){const o=mn++,r=wt.bind(null,n,o);if(!e.pending.length)return r;const i={id:o,icons:e,callback:t,abort:r};return n.forEach((t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(i)})),r}function yn(t,e=!0,n=!1){const o=[];return t.forEach((t=>{const r="string"==typeof t?pe(t,e,n):t;r&&o.push(r)})),o}var wn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vn(t,e,n,o){const r=t.resources.length,i=t.random?Math.floor(Math.random()*r):t.index;let s;if(t.random){let e=t.resources.slice(0);for(s=[];e.length>1;){const t=Math.floor(Math.random()*e.length);s.push(e[t]),e=e.slice(0,t).concat(e.slice(t+1))}s=s.concat(e)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const c=Date.now();let a,l="pending",f=0,u=null,d=[],p=[];function h(){u&&(clearTimeout(u),u=null)}function g(){"pending"===l&&(l="aborted"),h(),d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function m(t,e){e&&(p=[]),"function"==typeof t&&p.push(t)}function b(){l="failed",p.forEach((t=>{t(void 0,a)}))}function y(){d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function x(){if("pending"!==l)return;h();const o=s.shift();if(void 0===o)return d.length?void(u=setTimeout((()=>{h(),"pending"===l&&(y(),b())}),t.timeout)):void b();const r={status:"pending",resource:o,callback:(e,n)=>{!function(e,n,o){const r="success"!==n;switch(d=d.filter((t=>t!==e)),l){case"pending":break;case"failed":if(r||!t.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void b();if(r)return a=o,void(d.length||(s.length?x():b()));if(h(),y(),!t.random){const n=t.resources.indexOf(e.resource);-1!==n&&n!==t.index&&(t.index=n)}l="completed",p.forEach((t=>{t(o)}))}(r,e,n)}};d.push(r),f++,u=setTimeout(x,t.rotate),n(o,e,r.callback)}return"function"==typeof o&&p.push(o),setTimeout(x),function(){return{startTime:c,payload:e,status:l,queriesSent:f,queriesPending:d.length,subscribe:m,abort:g}}}function vt(t){const e={...wn,...t};let n=[];function o(){n=n.filter((t=>"pending"===t().status))}return{query:function(t,r,i){const s=vn(e,t,r,((t,e)=>{o(),i&&i(t,e)}));return n.push(s),s},find:function(t){return n.find((e=>t(e)))||null},setIndex:t=>{e.index=t},getIndex:()=>e.index,cleanup:o}}function Ze(){}const Ie=Object.create(null);function xn(t){if(!Ie[t]){const e=Fe(t);if(!e)return;const n={config:e,redundancy:vt(e)};Ie[t]=n}return Ie[t]}function _n(t,e,n){let o,r;if("string"==typeof t){const e=Ce(t);if(!e)return n(void 0,424),Ze;r=e.send;const i=xn(t);i&&(o=i.redundancy)}else{const e=De(t);if(e){o=vt(e);const n=Ce(t.resources?t.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(e,r,n)().abort:(n(void 0,424),Ze)}const et="iconify2",oe="iconify",xt=oe+"-count",tt=oe+"-version",_t=36e5,kn=168,Sn=50;function Oe(t,e){try{return t.getItem(e)}catch{}}function Ae(t,e,n){try{return t.setItem(e,n),!0}catch{}}function nt(t,e){try{t.removeItem(e)}catch{}}function je(t,e){return Ae(t,xt,e.toString())}function Pe(t){return parseInt(Oe(t,xt))||0}const me={local:!0,session:!0},kt={local:new Set,session:new Set};let Ne=!1;function In(t){Ne=t}let le=typeof window>"u"?{}:window;function St(t){const e=t+"Storage";try{if(le&&le[e]&&"number"==typeof le[e].length)return le[e]}catch{}me[t]=!1}function It(t,e){const n=St(t);if(!n)return;const o=Oe(n,tt);if(o!==et){if(o){const t=Pe(n);for(let e=0;e{const o=oe+t.toString(),i=Oe(n,o);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>r&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&e(n,t))return!0}catch{}nt(n,o)}};let s=Pe(n);for(let e=s-1;e>=0;e--)i(e)||(e===s-1?(s--,je(n,s)):kt[t].add(e))}function Tt(){if(!Ne){In(!0);for(const t in me)It(t,(t=>{const e=t.data,n=R(t.provider,e.prefix);if(!Le(n,e).length)return!1;const o=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,o):o,!0}))}}function Tn(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const n in me)It(n,(n=>{const o=n.data;return n.provider!==t.provider||o.prefix!==t.prefix||o.lastModified===e}));return!0}function En(t,e){function n(n){let o;if(!me[n]||!(o=St(n)))return;const r=kt[n];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=Pe(o),i>=Sn||!je(o,i+1))return;const s={cached:Math.floor(Date.now()/_t),provider:t.provider,data:e};return Ae(o,oe+i.toString(),JSON.stringify(s))}Ne||Tt(),e.lastModified&&!Tn(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&delete(e=Object.assign({},e)).not_found,n("local")||n("session"))}function ot(){}function Cn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout((()=>{t.iconsLoaderFlag=!1,gn(t)})))}function On(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout((()=>{t.iconsQueueFlag=!1;const{provider:e,prefix:n}=t,o=t.iconsToLoad;let r;delete t.iconsToLoad,o&&(r=Ce(e))&&r.prepare(e,n,o).forEach((n=>{_n(e,n,(e=>{if("object"!=typeof e)n.icons.forEach((e=>{t.missing.add(e)}));else try{const n=Le(t,e);if(!n.length)return;const o=t.pendingIcons;o&&n.forEach((t=>{o.delete(t)})),En(t,e)}catch(t){console.error(t)}Cn(t)}))}))})))}const jn=(t,e)=>{const n=pn(yn(t,!0,mt()));if(!n.pending.length){let t=!0;return e&&setTimeout((()=>{t&&e(n.loaded,n.missing,n.pending,ot)})),()=>{t=!1}}const o=Object.create(null),r=[];let i,s;return n.pending.forEach((t=>{const{provider:e,prefix:n}=t;if(n===s&&e===i)return;i=e,s=n,r.push(R(e,n));const c=o[e]||(o[e]=Object.create(null));c[n]||(c[n]=[])})),n.pending.forEach((t=>{const{provider:e,prefix:n,name:r}=t,i=R(e,n),s=i.pendingIcons||(i.pendingIcons=new Set);s.has(r)||(s.add(r),o[e][n].push(r))})),r.forEach((t=>{const{provider:e,prefix:n}=t;o[e][n].length&&On(t,o[e][n])})),e?bn(e,n,r):ot};function Pn(t,e){const n={...t};for(const t in e){const o=e[t],r=typeof o;t in bt?(null===o||o&&("string"===r||"number"===r))&&(n[t]=o):r===typeof n[t]&&(n[t]="rotate"===t?o%4:o)}return n}const Mn=/[\s,]+/;function Ln(t,e){e.split(Mn).forEach((e=>{switch(e.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}}))}function Dn(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function o(t){for(;t<0;)t+=4;return t%4}if(""===n){const e=parseInt(t);return isNaN(e)?0:o(e)}if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r/=e,r%1==0?o(r):0)}}return e}function $n(t,e){let n=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const t in e)n+=" "+t+'="'+e[t]+'"';return'"+t+""}function Fn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function An(t){return"data:image/svg+xml,"+Fn(t)}function Nn(t){return'url("'+An(t)+'")'}const rt={...yt,inline:!1},Vn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Bn={display:"inline-block"},Me={"background-color":"currentColor"},Et={"background-color":"transparent"},st={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},it={"-webkit-mask":Me,mask:Me,background:Et};for(const t in it){const e=it[t];for(const n in st)e[t+"-"+n]=st[n]}function Rn(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}function Un(t,e){const n=Pn(rt,e),o=e.mode||"svg",r="svg"===o?{...Vn}:{};-1===t.body.indexOf("xlink:")&&delete r["xmlns:xlink"];let i="string"==typeof e.style?e.style:"";for(let t in e){const o=e[t];if(void 0!==o)switch(t){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[t]=!0===o||"true"===o||1===o;break;case"flip":"string"==typeof o&&Ln(n,o);break;case"color":i=i+(i.length>0&&";"!==i.trim().slice(-1)?";":"")+"color: "+o+"; ";break;case"rotate":"string"==typeof o?n[t]=Dn(o):"number"==typeof o&&(n[t]=o);break;case"ariaHidden":case"aria-hidden":!0!==o&&"true"!==o&&delete r["aria-hidden"];break;default:if("on:"===t.slice(0,3))break;void 0===rt[t]&&(r[t]=o)}}const s=Zt(t,n),c=s.attributes;if(n.inline&&(i="vertical-align: -0.125em; "+i),"svg"===o){Object.assign(r,c),""!==i&&(r.style=i);let t=0,n=e.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),{svg:!0,attributes:r,body:on(s.body,n?()=>n+"ID"+t++:"iconifySvelte")}}const{body:a,width:l,height:f}=t,u="mask"===o||"bg"!==o&&-1!==a.indexOf("currentColor"),d={"--svg":Nn($n(a,{...c,width:l+"",height:f+""}))},p=t=>{const e=c[t];e&&(d[t]=Rn(e))};p("width"),p("height"),Object.assign(d,Bn,u?Me:Et);let h="";for(const t in d)h+=t+": "+d[t]+";";return r.style=h+i,{svg:!1,attributes:r}}if(mt(!0),rn("",hn),typeof document<"u"&&typeof window<"u"){Tt();const t=window;if(void 0!==t.IconifyPreload){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof e&&null!==e&&(e instanceof Array?e:[e]).forEach((t=>{try{("object"!=typeof t||null===t||t instanceof Array||"object"!=typeof t.icons||"string"!=typeof t.prefix||!Qt(t))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==t.IconifyProviders){const e=t.IconifyProviders;if("object"==typeof e&&null!==e)for(let t in e){const n="IconifyProviders["+t+"] is invalid.";try{const o=e[t];if("object"!=typeof o||!o||void 0===o.resources)continue;sn(t,o)||console.error(n)}catch{console.error(n)}}}}function qn(t,e,n,o,r){function i(){e.loading&&(e.loading.abort(),e.loading=null)}if("object"==typeof t&&null!==t&&"string"==typeof t.body)return e.name="",i(),{data:{...ge,...t}};let s;if("string"!=typeof t||null===(s=pe(t,!1,!0)))return i(),null;const c=zt(s);if(!c)return n&&(!e.loading||e.loading.name!==t)&&(i(),e.name="",e.loading={name:t,abort:jn([s],o)}),null;i(),e.name!==t&&(e.name=t,r&&!e.destroyed&&r(t));const a=["iconify"];return""!==s.prefix&&a.push("iconify--"+s.prefix),""!==s.provider&&a.push("iconify--"+s.provider),{data:c,classes:a}}function zn(t,e){return t?Un({...ge,...t},e):null}function ct(t){let e;function n(t,e){return t[0].svg?Qn:Hn}let o=n(t),r=o(t);return{c(){r.c(),e=ue()},l(t){r.l(t),e=ue()},m(t,n){r.m(t,n),re(t,e,n)},p(t,i){o===(o=n(t))&&r?r.p(t,i):(r.d(1),r=o(t),r&&(r.c(),r.m(e.parentNode,e)))},d(t){t&&S(e),r.d(t)}}}function Hn(t){let e,n=[t[0].attributes],o={};for(let t=0;t{"function"==typeof e.onLoad&&e.onLoad(t),Lt()("load",{icon:t})};function a(){n(3,s++,s)}return ut((()=>{n(2,i=!0)})),Ct((()=>{n(1,o.destroyed=!0,o),o.loading&&(o.loading.abort(),n(1,o.loading=null,o))})),t.$$set=t=>{n(6,e=de(de({},e),Qe(t)))},t.$$.update=()=>{{const t=qn(e.icon,o,i,a,c);n(0,r=t?zn(t.data,e):null),r&&t.classes&&n(0,r.attributes.class=("string"==typeof e.class?e.class+" ":"")+t.classes.join(" "),r)}},e=Qe(e),[r,o,i,s]}class X extends lt{constructor(t){super(),at(this,t,Kn,Gn,ft,{})}}function Wn(t){let e,n,o,r,i,s,c,a,l,f,u,d,p,h,g,m,b,y,v,w,k,$,E,T,F,C,D,R,P,_,U=ve(xe.lightMode)+"",q=ve(xe.darkMode)+"",V=ve(xe.systemMode)+"";return r=new X({props:{icon:"material-symbols:wb-sunny-outline-rounded",class:"text-[1.25rem]"}}),c=new X({props:{icon:"material-symbols:dark-mode-outline-rounded",class:"text-[1.25rem]"}}),f=new X({props:{icon:"material-symbols:radio-button-partial-outline",class:"text-[1.25rem]"}}),g=new X({props:{icon:"material-symbols:wb-sunny-outline-rounded",class:"text-[1.25rem] mr-3"}}),w=new X({props:{icon:"material-symbols:dark-mode-outline-rounded",class:"text-[1.25rem] mr-3"}}),F=new X({props:{icon:"material-symbols:radio-button-partial-outline",class:"text-[1.25rem] mr-3"}}),{c(){e=M("div"),n=M("button"),o=M("div"),z(r.$$.fragment),i=A(),s=M("div"),z(c.$$.fragment),a=A(),l=M("div"),z(f.$$.fragment),u=A(),d=M("div"),p=M("div"),h=M("button"),z(g.$$.fragment),m=A(),b=_e(U),y=A(),v=M("button"),z(w.$$.fragment),k=A(),$=_e(q),E=A(),T=M("button"),z(F.$$.fragment),C=A(),D=_e(V),this.h()},l(t){e=L(t,"DIV",{class:!0,role:!0,tabindex:!0});var x=j(e);n=L(x,"BUTTON",{"aria-label":!0,role:!0,class:!0,id:!0});var O=j(n);o=L(O,"DIV",{class:!0});var I=j(o);H(r.$$.fragment,I),I.forEach(S),i=N(O),s=L(O,"DIV",{class:!0});var M=j(s);H(c.$$.fragment,M),M.forEach(S),a=N(O),l=L(O,"DIV",{class:!0});var A=j(l);H(f.$$.fragment,A),A.forEach(S),O.forEach(S),u=N(x),d=L(x,"DIV",{id:!0,class:!0});var z=j(d);p=L(z,"DIV",{class:!0});var R=j(p);h=L(R,"BUTTON",{class:!0});var B=j(h);H(g.$$.fragment,B),m=N(B),b=ke(B,U),B.forEach(S),y=N(R),v=L(R,"BUTTON",{class:!0});var P=j(v);H(w.$$.fragment,P),k=N(P),$=ke(P,q),P.forEach(S),E=N(R),T=L(R,"BUTTON",{class:!0});var Q=j(T);H(F.$$.fragment,Q),C=N(Q),D=ke(Q,V),Q.forEach(S),R.forEach(S),z.forEach(S),x.forEach(S),this.h()},h(){I(o,"class","absolute"),O(o,"opacity-0",t[0]!==Y),I(s,"class","absolute"),O(s,"opacity-0",t[0]!==Z),I(l,"class","absolute"),O(l,"opacity-0",t[0]!==B),I(n,"aria-label","Light/Dark Mode"),I(n,"role","menuitem"),I(n,"class","relative btn-plain scale-animation rounded-lg h-11 w-11 active:scale-90"),I(n,"id","scheme-switch"),I(h,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95 mb-0.5"),O(h,"current-theme-btn",t[0]===Y),I(v,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95 mb-0.5"),O(v,"current-theme-btn",t[0]===Z),I(T,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95"),O(T,"current-theme-btn",t[0]===B),I(p,"class","card-base float-panel p-2"),I(d,"id","light-dark-panel"),I(d,"class","hidden lg:block absolute transition float-panel-closed top-11 -right-2 pt-5"),I(e,"class","relative z-50"),I(e,"role","menu"),I(e,"tabindex","-1")},m(j,O){re(j,e,O),x(e,n),x(n,o),Q(r,o,null),x(n,i),x(n,s),Q(c,s,null),x(n,a),x(n,l),Q(f,l,null),x(e,u),x(e,d),x(d,p),x(p,h),Q(g,h,null),x(h,m),x(h,b),x(p,y),x(p,v),Q(w,v,null),x(v,k),x(v,$),x(p,E),x(p,T),Q(F,T,null),x(T,C),x(T,D),R=!0,P||(_=[G(n,"click",t[2]),G(n,"mouseenter",Jn),G(h,"click",t[3]),G(v,"click",t[4]),G(T,"click",t[5]),G(e,"mouseleave",Xn)],P=!0)},p(t,[e]){(!R||1&e)&&O(o,"opacity-0",t[0]!==Y),(!R||1&e)&&O(s,"opacity-0",t[0]!==Z),(!R||1&e)&&O(l,"opacity-0",t[0]!==B),(!R||1&e)&&O(h,"current-theme-btn",t[0]===Y),(!R||1&e)&&O(v,"current-theme-btn",t[0]===Z),(!R||1&e)&&O(T,"current-theme-btn",t[0]===B)},i(t){R||(K(r.$$.fragment,t),K(c.$$.fragment,t),K(f.$$.fragment,t),K(g.$$.fragment,t),K(w.$$.fragment,t),K(F.$$.fragment,t),R=!0)},o(t){W(r.$$.fragment,t),W(c.$$.fragment,t),W(f.$$.fragment,t),W(g.$$.fragment,t),W(w.$$.fragment,t),W(F.$$.fragment,t),R=!1},d(t){t&&S(e),J(r),J(c),J(f),J(g),J(w),J(F),P=!1,Dt(_)}}}function Jn(){document.querySelector("#light-dark-panel").classList.remove("float-panel-closed")}function Xn(){document.querySelector("#light-dark-panel").classList.add("float-panel-closed")}function Yn(t,e,n){const o=[Y,Z,B];let r=B;function i(t){n(0,r=t),Ft(t)}return ut((()=>{n(0,r=$t());const t=window.matchMedia("(prefers-color-scheme: dark)"),e=t=>{At(r)};return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}})),[r,i,function(){let t=0;for(;ti(Y),()=>i(Z),()=>i(B)]}class to extends lt{constructor(t){super(),at(this,t,Yn,Wn,ft,{})}}export{to as default}; \ No newline at end of file +import{S as lt,i as at,s as ft,G as ue,n as re,J as He,j as S,D as ut,K as Ct,L as de,M as Qe,e as M,d as L,f as j,N as Ge,O as Ot,H as jt,P as Pt,E as Mt,Q as Ke,R as Lt,a as ve,I as xe,T as z,b as A,t as _e,U as H,h as N,g as ke,k as I,l as O,o as x,V as Q,q as G,x as K,y as W,W as J,z as Dt}from"./translation.DbiZaWql.js";import{L as Y,D as Z,A as B,b as $t,c as Ft,d as At}from"./setting-utils.CmAt4it9.js";function dt(t,e){const n={},o={},r={$$scope:1};let i=t.length;for(;i--;){const s=t[i],c=e[i];if(c){for(const t in s)t in c||(o[t]=1);for(const t in c)r[t]||(n[t]=c[t],r[t]=1);t[i]=c}else for(const t in s)r[t]=1}for(const t in o)t in n||(n[t]=void 0);return n}const te=/^[a-z0-9]+(-[a-z0-9]+)*$/,pe=(t,e,n,o="")=>{const r=t.split(":");if("@"===t.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const t=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:t};return e&&!ae(i)?null:i}const i=r[0],s=i.split("-");if(s.length>1){const t={provider:o,prefix:s.shift(),name:s.join("-")};return e&&!ae(t)?null:t}if(n&&""===o){const t={provider:o,prefix:"",name:i};return e&&!ae(t,n)?null:t}return null},ae=(t,e)=>!!t&&!(""!==t.provider&&!t.provider.match(te)||!(e&&""===t.prefix||t.prefix.match(te))||!t.name.match(te)),ht=Object.freeze({left:0,top:0,width:16,height:16}),he=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ge=Object.freeze({...ht,...he}),Te=Object.freeze({...ge,body:"",hidden:!1});function Nt(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const o=((t.rotate||0)+(e.rotate||0))%4;return o&&(n.rotate=o),n}function We(t,e){const n=Nt(t,e);for(const o in Te)o in he?o in t&&!(o in n)&&(n[o]=he[o]):o in e?n[o]=e[o]:o in t&&(n[o]=t[o]);return n}function Vt(t,e){const n=t.icons,o=t.aliases||Object.create(null),r=Object.create(null);return Object.keys(n).concat(Object.keys(o)).forEach((function t(e){if(n[e])return r[e]=[];if(!(e in r)){r[e]=null;const n=o[e]&&o[e].parent,i=n&&t(n);i&&(r[e]=[n].concat(i))}return r[e]})),r}function Bt(t,e,n){const o=t.icons,r=t.aliases||Object.create(null);let i={};function s(t){i=We(o[t]||r[t],i)}return s(e),n.forEach(s),We(t,i)}function pt(t,e){const n=[];if("object"!=typeof t||"object"!=typeof t.icons)return n;t.not_found instanceof Array&&t.not_found.forEach((t=>{e(t,null),n.push(t)}));const o=Vt(t);for(const r in o){const i=o[r];i&&(e(r,Bt(t,r,i)),n.push(r))}return n}const Rt={provider:"",aliases:{},not_found:{},...ht};function Se(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function gt(t){if("object"!=typeof t||null===t)return null;const e=t;if("string"!=typeof e.prefix||!t.icons||"object"!=typeof t.icons||!Se(t,Rt))return null;const n=e.icons;for(const t in n){const e=n[t];if(!t.match(te)||"string"!=typeof e.body||!Se(e,Te))return null}const o=e.aliases||Object.create(null);for(const t in o){const e=o[t],r=e.parent;if(!t.match(te)||"string"!=typeof r||!n[r]&&!o[r]||!Se(e,Te))return null}return e}const Je=Object.create(null);function Ut(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function R(t,e){const n=Je[t]||(Je[t]=Object.create(null));return n[e]||(n[e]=Ut(t,e))}function Le(t,e){return gt(e)?pt(e,((e,n)=>{n?t.icons[e]=n:t.missing.add(e)})):[]}function qt(t,e,n){try{if("string"==typeof n.body)return t.icons[e]={...n},!0}catch{}return!1}let ne=!1;function mt(t){return"boolean"==typeof t&&(ne=t),ne}function zt(t){const e="string"==typeof t?pe(t,!0,ne):t;if(e){const t=R(e.provider,e.prefix),n=e.name;return t.icons[n]||(t.missing.has(n)?null:void 0)}}function Ht(t,e){const n=pe(t,!0,ne);if(!n)return!1;return qt(R(n.provider,n.prefix),n.name,e)}function Qt(t,e){if("object"!=typeof t)return!1;if("string"!=typeof e&&(e=t.provider||""),ne&&!e&&!t.prefix){let e=!1;return gt(t)&&(t.prefix="",pt(t,((t,n)=>{n&&Ht(t,n)&&(e=!0)}))),e}const n=t.prefix;if(!ae({provider:e,prefix:n,name:"a"}))return!1;return!!Le(R(e,n),t)}const bt=Object.freeze({width:null,height:null}),yt=Object.freeze({...bt,...he}),Gt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Kt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Xe(t,e,n){if(1===e)return t;if(n=n||100,"number"==typeof t)return Math.ceil(t*e*n)/n;if("string"!=typeof t)return t;const o=t.split(Gt);if(null===o||!o.length)return t;const r=[];let i=o.shift(),s=Kt.test(i);for(;;){if(s){const t=parseFloat(i);isNaN(t)?r.push(i):r.push(Math.ceil(t*e*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");s=!s}}function Wt(t,e="defs"){let n="";const o=t.indexOf("<"+e);for(;o>=0;){const r=t.indexOf(">",o),i=t.indexOf("",i);if(-1===s)break;n+=t.slice(r+1,i).trim(),t=t.slice(0,o).trim()+t.slice(s+1)}return{defs:n,content:t}}function Jt(t,e){return t?""+t+""+e:e}function Xt(t,e,n){const o=Wt(t);return Jt(o.defs,e+o.content+n)}const Yt=t=>"unset"===t||"undefined"===t||"none"===t;function Zt(t,e){const n={...ge,...t},o={...yt,...e},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach((t=>{const e=[],n=t.hFlip,o=t.vFlip;let s,c=t.rotate;switch(n?o?c+=2:(e.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),e.push("scale(-1 1)"),r.top=r.left=0):o&&(e.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),e.push("scale(1 -1)"),r.top=r.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:s=r.height/2+r.top,e.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:e.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:s=r.width/2+r.left,e.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}c%2==1&&(r.left!==r.top&&(s=r.left,r.left=r.top,r.top=s),r.width!==r.height&&(s=r.width,r.width=r.height,r.height=s)),e.length&&(i=Xt(i,'',""))}));const s=o.width,c=o.height,a=r.width,l=r.height;let f,u;null===s?(u=null===c?"1em":"auto"===c?l:c,f=Xe(u,a/l)):(f="auto"===s?a:s,u=null===c?Xe(f,l/a):"auto"===c?l:c);const d={},p=(t,e)=>{Yt(e)||(d[t]=e.toString())};p("width",f),p("height",u);const h=[r.left,r.top,a,l];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:i}}const en=/\sid="(\S+)"/g,tn="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let nn=0;function on(t,e=tn){const n=[];let o;for(;o=en.exec(t);)n.push(o[1]);if(!n.length)return t;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const o="function"==typeof e?e(n):e+(nn++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")})),t=t.replace(new RegExp(r,"g"),"")}const Ee=Object.create(null);function rn(t,e){Ee[t]=e}function Ce(t){return Ee[t]||Ee[""]}function De(t){let e;if("string"==typeof t.resources)e=[t.resources];else if(e=t.resources,!(e instanceof Array&&e.length))return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:!0===t.random,index:t.index||0,dataAfterTimeout:!1!==t.dataAfterTimeout}}const $e=Object.create(null),ee=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;ee.length>0;)1===ee.length||Math.random()>.5?fe.push(ee.shift()):fe.push(ee.pop());function sn(t,e){const n=De(e);return null!==n&&($e[t]=n,!0)}function Fe(t){return $e[t]}$e[""]=De({resources:["https://api.iconify.design"].concat(fe)});const cn=()=>{let t;try{if(t=fetch,"function"==typeof t)return t}catch{}};let Ye=cn();function ln(t,e){const n=Fe(t);if(!n)return 0;let o;if(n.maxURL){let t=0;n.resources.forEach((e=>{t=Math.max(t,e.length)}));const r=e+".json?icons=";o=n.maxURL-t-n.path.length-r.length}else o=0;return o}function an(t){return 404===t}const fn=(t,e,n)=>{const o=[],r=ln(t,e),i="icons";let s={type:i,provider:t,prefix:e,icons:[]},c=0;return n.forEach(((n,a)=>{c+=n.length+1,c>=r&&a>0&&(o.push(s),s={type:i,provider:t,prefix:e,icons:[]},c=n.length),s.icons.push(n)})),o.push(s),o};function un(t){if("string"==typeof t){const e=Fe(t);if(e)return e.path}return"/"}const dn=(t,e,n)=>{if(!Ye)return void n("abort",424);let o=un(e.provider);switch(e.type){case"icons":{const t=e.prefix,n=e.icons.join(",");o+=t+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const t=e.uri;o+="/"===t.slice(0,1)?t.slice(1):t;break}default:return void n("abort",400)}let r=503;Ye(t+o).then((t=>{const e=t.status;if(200===e)return r=501,t.json();setTimeout((()=>{n(an(e)?"abort":"next",e)}))})).then((t=>{"object"==typeof t&&null!==t?setTimeout((()=>{n("success",t)})):setTimeout((()=>{404===t?n("abort",t):n("next",r)}))})).catch((()=>{n("next",r)}))},hn={prepare:fn,send:dn};function pn(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort(((t,e)=>t.provider!==e.provider?t.provider.localeCompare(e.provider):t.prefix!==e.prefix?t.prefix.localeCompare(e.prefix):t.name.localeCompare(e.name)));let o={provider:"",prefix:"",name:""};return t.forEach((t=>{if(o.name===t.name&&o.prefix===t.prefix&&o.provider===t.provider)return;o=t;const r=t.provider,i=t.prefix,s=t.name,c=n[r]||(n[r]=Object.create(null)),a=c[i]||(c[i]=R(r,i));let l;l=s in a.icons?e.loaded:""===i||a.missing.has(s)?e.missing:e.pending;const f={provider:r,prefix:i,name:s};l.push(f)})),e}function wt(t,e){t.forEach((t=>{const n=t.loaderCallbacks;n&&(t.loaderCallbacks=n.filter((t=>t.id!==e)))}))}function gn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout((()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const o=t.provider,r=t.prefix;e.forEach((e=>{const i=e.icons,s=i.pending.length;i.pending=i.pending.filter((e=>{if(e.prefix!==r)return!0;const s=e.name;if(t.icons[s])i.loaded.push({provider:o,prefix:r,name:s});else{if(!t.missing.has(s))return n=!0,!0;i.missing.push({provider:o,prefix:r,name:s})}return!1})),i.pending.length!==s&&(n||wt([t],e.id),e.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),e.abort))}))})))}let mn=0;function bn(t,e,n){const o=mn++,r=wt.bind(null,n,o);if(!e.pending.length)return r;const i={id:o,icons:e,callback:t,abort:r};return n.forEach((t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(i)})),r}function yn(t,e=!0,n=!1){const o=[];return t.forEach((t=>{const r="string"==typeof t?pe(t,e,n):t;r&&o.push(r)})),o}var wn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vn(t,e,n,o){const r=t.resources.length,i=t.random?Math.floor(Math.random()*r):t.index;let s;if(t.random){let e=t.resources.slice(0);for(s=[];e.length>1;){const t=Math.floor(Math.random()*e.length);s.push(e[t]),e=e.slice(0,t).concat(e.slice(t+1))}s=s.concat(e)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const c=Date.now();let a,l="pending",f=0,u=null,d=[],p=[];function h(){u&&(clearTimeout(u),u=null)}function g(){"pending"===l&&(l="aborted"),h(),d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function m(t,e){e&&(p=[]),"function"==typeof t&&p.push(t)}function b(){l="failed",p.forEach((t=>{t(void 0,a)}))}function y(){d.forEach((t=>{"pending"===t.status&&(t.status="aborted")})),d=[]}function x(){if("pending"!==l)return;h();const o=s.shift();if(void 0===o)return d.length?void(u=setTimeout((()=>{h(),"pending"===l&&(y(),b())}),t.timeout)):void b();const r={status:"pending",resource:o,callback:(e,n)=>{!function(e,n,o){const r="success"!==n;switch(d=d.filter((t=>t!==e)),l){case"pending":break;case"failed":if(r||!t.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void b();if(r)return a=o,void(d.length||(s.length?x():b()));if(h(),y(),!t.random){const n=t.resources.indexOf(e.resource);-1!==n&&n!==t.index&&(t.index=n)}l="completed",p.forEach((t=>{t(o)}))}(r,e,n)}};d.push(r),f++,u=setTimeout(x,t.rotate),n(o,e,r.callback)}return"function"==typeof o&&p.push(o),setTimeout(x),function(){return{startTime:c,payload:e,status:l,queriesSent:f,queriesPending:d.length,subscribe:m,abort:g}}}function vt(t){const e={...wn,...t};let n=[];function o(){n=n.filter((t=>"pending"===t().status))}return{query:function(t,r,i){const s=vn(e,t,r,((t,e)=>{o(),i&&i(t,e)}));return n.push(s),s},find:function(t){return n.find((e=>t(e)))||null},setIndex:t=>{e.index=t},getIndex:()=>e.index,cleanup:o}}function Ze(){}const Ie=Object.create(null);function xn(t){if(!Ie[t]){const e=Fe(t);if(!e)return;const n={config:e,redundancy:vt(e)};Ie[t]=n}return Ie[t]}function _n(t,e,n){let o,r;if("string"==typeof t){const e=Ce(t);if(!e)return n(void 0,424),Ze;r=e.send;const i=xn(t);i&&(o=i.redundancy)}else{const e=De(t);if(e){o=vt(e);const n=Ce(t.resources?t.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(e,r,n)().abort:(n(void 0,424),Ze)}const et="iconify2",oe="iconify",xt=oe+"-count",tt=oe+"-version",_t=36e5,kn=168,Sn=50;function Oe(t,e){try{return t.getItem(e)}catch{}}function Ae(t,e,n){try{return t.setItem(e,n),!0}catch{}}function nt(t,e){try{t.removeItem(e)}catch{}}function je(t,e){return Ae(t,xt,e.toString())}function Pe(t){return parseInt(Oe(t,xt))||0}const me={local:!0,session:!0},kt={local:new Set,session:new Set};let Ne=!1;function In(t){Ne=t}let le=typeof window>"u"?{}:window;function St(t){const e=t+"Storage";try{if(le&&le[e]&&"number"==typeof le[e].length)return le[e]}catch{}me[t]=!1}function It(t,e){const n=St(t);if(!n)return;const o=Oe(n,tt);if(o!==et){if(o){const t=Pe(n);for(let e=0;e{const o=oe+t.toString(),i=Oe(n,o);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>r&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&e(n,t))return!0}catch{}nt(n,o)}};let s=Pe(n);for(let e=s-1;e>=0;e--)i(e)||(e===s-1?(s--,je(n,s)):kt[t].add(e))}function Tt(){if(!Ne){In(!0);for(const t in me)It(t,(t=>{const e=t.data,n=R(t.provider,e.prefix);if(!Le(n,e).length)return!1;const o=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,o):o,!0}))}}function Tn(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const n in me)It(n,(n=>{const o=n.data;return n.provider!==t.provider||o.prefix!==t.prefix||o.lastModified===e}));return!0}function En(t,e){function n(n){let o;if(!me[n]||!(o=St(n)))return;const r=kt[n];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=Pe(o),i>=Sn||!je(o,i+1))return;const s={cached:Math.floor(Date.now()/_t),provider:t.provider,data:e};return Ae(o,oe+i.toString(),JSON.stringify(s))}Ne||Tt(),e.lastModified&&!Tn(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&delete(e=Object.assign({},e)).not_found,n("local")||n("session"))}function ot(){}function Cn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout((()=>{t.iconsLoaderFlag=!1,gn(t)})))}function On(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout((()=>{t.iconsQueueFlag=!1;const{provider:e,prefix:n}=t,o=t.iconsToLoad;let r;delete t.iconsToLoad,o&&(r=Ce(e))&&r.prepare(e,n,o).forEach((n=>{_n(e,n,(e=>{if("object"!=typeof e)n.icons.forEach((e=>{t.missing.add(e)}));else try{const n=Le(t,e);if(!n.length)return;const o=t.pendingIcons;o&&n.forEach((t=>{o.delete(t)})),En(t,e)}catch(t){console.error(t)}Cn(t)}))}))})))}const jn=(t,e)=>{const n=pn(yn(t,!0,mt()));if(!n.pending.length){let t=!0;return e&&setTimeout((()=>{t&&e(n.loaded,n.missing,n.pending,ot)})),()=>{t=!1}}const o=Object.create(null),r=[];let i,s;return n.pending.forEach((t=>{const{provider:e,prefix:n}=t;if(n===s&&e===i)return;i=e,s=n,r.push(R(e,n));const c=o[e]||(o[e]=Object.create(null));c[n]||(c[n]=[])})),n.pending.forEach((t=>{const{provider:e,prefix:n,name:r}=t,i=R(e,n),s=i.pendingIcons||(i.pendingIcons=new Set);s.has(r)||(s.add(r),o[e][n].push(r))})),r.forEach((t=>{const{provider:e,prefix:n}=t;o[e][n].length&&On(t,o[e][n])})),e?bn(e,n,r):ot};function Pn(t,e){const n={...t};for(const t in e){const o=e[t],r=typeof o;t in bt?(null===o||o&&("string"===r||"number"===r))&&(n[t]=o):r===typeof n[t]&&(n[t]="rotate"===t?o%4:o)}return n}const Mn=/[\s,]+/;function Ln(t,e){e.split(Mn).forEach((e=>{switch(e.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}}))}function Dn(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function o(t){for(;t<0;)t+=4;return t%4}if(""===n){const e=parseInt(t);return isNaN(e)?0:o(e)}if(n!==t){let e=0;switch(n){case"%":e=25;break;case"deg":e=90}if(e){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r/=e,r%1==0?o(r):0)}}return e}function $n(t,e){let n=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const t in e)n+=" "+t+'="'+e[t]+'"';return'"+t+""}function Fn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function An(t){return"data:image/svg+xml,"+Fn(t)}function Nn(t){return'url("'+An(t)+'")'}const rt={...yt,inline:!1},Vn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Bn={display:"inline-block"},Me={"background-color":"currentColor"},Et={"background-color":"transparent"},st={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},it={"-webkit-mask":Me,mask:Me,background:Et};for(const t in it){const e=it[t];for(const n in st)e[t+"-"+n]=st[n]}function Rn(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}function Un(t,e){const n=Pn(rt,e),o=e.mode||"svg",r="svg"===o?{...Vn}:{};-1===t.body.indexOf("xlink:")&&delete r["xmlns:xlink"];let i="string"==typeof e.style?e.style:"";for(let t in e){const o=e[t];if(void 0!==o)switch(t){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[t]=!0===o||"true"===o||1===o;break;case"flip":"string"==typeof o&&Ln(n,o);break;case"color":i=i+(i.length>0&&";"!==i.trim().slice(-1)?";":"")+"color: "+o+"; ";break;case"rotate":"string"==typeof o?n[t]=Dn(o):"number"==typeof o&&(n[t]=o);break;case"ariaHidden":case"aria-hidden":!0!==o&&"true"!==o&&delete r["aria-hidden"];break;default:if("on:"===t.slice(0,3))break;void 0===rt[t]&&(r[t]=o)}}const s=Zt(t,n),c=s.attributes;if(n.inline&&(i="vertical-align: -0.125em; "+i),"svg"===o){Object.assign(r,c),""!==i&&(r.style=i);let t=0,n=e.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),{svg:!0,attributes:r,body:on(s.body,n?()=>n+"ID"+t++:"iconifySvelte")}}const{body:a,width:l,height:f}=t,u="mask"===o||"bg"!==o&&-1!==a.indexOf("currentColor"),d={"--svg":Nn($n(a,{...c,width:l+"",height:f+""}))},p=t=>{const e=c[t];e&&(d[t]=Rn(e))};p("width"),p("height"),Object.assign(d,Bn,u?Me:Et);let h="";for(const t in d)h+=t+": "+d[t]+";";return r.style=h+i,{svg:!1,attributes:r}}if(mt(!0),rn("",hn),typeof document<"u"&&typeof window<"u"){Tt();const t=window;if(void 0!==t.IconifyPreload){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof e&&null!==e&&(e instanceof Array?e:[e]).forEach((t=>{try{("object"!=typeof t||null===t||t instanceof Array||"object"!=typeof t.icons||"string"!=typeof t.prefix||!Qt(t))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==t.IconifyProviders){const e=t.IconifyProviders;if("object"==typeof e&&null!==e)for(let t in e){const n="IconifyProviders["+t+"] is invalid.";try{const o=e[t];if("object"!=typeof o||!o||void 0===o.resources)continue;sn(t,o)||console.error(n)}catch{console.error(n)}}}}function qn(t,e,n,o,r){function i(){e.loading&&(e.loading.abort(),e.loading=null)}if("object"==typeof t&&null!==t&&"string"==typeof t.body)return e.name="",i(),{data:{...ge,...t}};let s;if("string"!=typeof t||null===(s=pe(t,!1,!0)))return i(),null;const c=zt(s);if(!c)return n&&(!e.loading||e.loading.name!==t)&&(i(),e.name="",e.loading={name:t,abort:jn([s],o)}),null;i(),e.name!==t&&(e.name=t,r&&!e.destroyed&&r(t));const a=["iconify"];return""!==s.prefix&&a.push("iconify--"+s.prefix),""!==s.provider&&a.push("iconify--"+s.provider),{data:c,classes:a}}function zn(t,e){return t?Un({...ge,...t},e):null}function ct(t){let e;function n(t,e){return t[0].svg?Qn:Hn}let o=n(t),r=o(t);return{c(){r.c(),e=ue()},l(t){r.l(t),e=ue()},m(t,n){r.m(t,n),re(t,e,n)},p(t,i){o===(o=n(t))&&r?r.p(t,i):(r.d(1),r=o(t),r&&(r.c(),r.m(e.parentNode,e)))},d(t){t&&S(e),r.d(t)}}}function Hn(t){let e,n=[t[0].attributes],o={};for(let t=0;t{"function"==typeof e.onLoad&&e.onLoad(t),Lt()("load",{icon:t})};function a(){n(3,s++,s)}return ut((()=>{n(2,i=!0)})),Ct((()=>{n(1,o.destroyed=!0,o),o.loading&&(o.loading.abort(),n(1,o.loading=null,o))})),t.$$set=t=>{n(6,e=de(de({},e),Qe(t)))},t.$$.update=()=>{{const t=qn(e.icon,o,i,a,c);n(0,r=t?zn(t.data,e):null),r&&t.classes&&n(0,r.attributes.class=("string"==typeof e.class?e.class+" ":"")+t.classes.join(" "),r)}},e=Qe(e),[r,o,i,s]}class X extends lt{constructor(t){super(),at(this,t,Kn,Gn,ft,{})}}function Wn(t){let e,n,o,r,i,s,c,a,l,f,u,d,p,h,g,m,b,y,v,w,k,$,E,T,F,C,D,R,P,_,U=ve(xe.lightMode)+"",q=ve(xe.darkMode)+"",V=ve(xe.systemMode)+"";return r=new X({props:{icon:"material-symbols:wb-sunny-outline-rounded",class:"text-[1.25rem]"}}),c=new X({props:{icon:"material-symbols:dark-mode-outline-rounded",class:"text-[1.25rem]"}}),f=new X({props:{icon:"material-symbols:radio-button-partial-outline",class:"text-[1.25rem]"}}),g=new X({props:{icon:"material-symbols:wb-sunny-outline-rounded",class:"text-[1.25rem] mr-3"}}),w=new X({props:{icon:"material-symbols:dark-mode-outline-rounded",class:"text-[1.25rem] mr-3"}}),F=new X({props:{icon:"material-symbols:radio-button-partial-outline",class:"text-[1.25rem] mr-3"}}),{c(){e=M("div"),n=M("button"),o=M("div"),z(r.$$.fragment),i=A(),s=M("div"),z(c.$$.fragment),a=A(),l=M("div"),z(f.$$.fragment),u=A(),d=M("div"),p=M("div"),h=M("button"),z(g.$$.fragment),m=A(),b=_e(U),y=A(),v=M("button"),z(w.$$.fragment),k=A(),$=_e(q),E=A(),T=M("button"),z(F.$$.fragment),C=A(),D=_e(V),this.h()},l(t){e=L(t,"DIV",{class:!0,role:!0,tabindex:!0});var x=j(e);n=L(x,"BUTTON",{"aria-label":!0,role:!0,class:!0,id:!0});var O=j(n);o=L(O,"DIV",{class:!0});var I=j(o);H(r.$$.fragment,I),I.forEach(S),i=N(O),s=L(O,"DIV",{class:!0});var M=j(s);H(c.$$.fragment,M),M.forEach(S),a=N(O),l=L(O,"DIV",{class:!0});var A=j(l);H(f.$$.fragment,A),A.forEach(S),O.forEach(S),u=N(x),d=L(x,"DIV",{id:!0,class:!0});var z=j(d);p=L(z,"DIV",{class:!0});var R=j(p);h=L(R,"BUTTON",{class:!0});var B=j(h);H(g.$$.fragment,B),m=N(B),b=ke(B,U),B.forEach(S),y=N(R),v=L(R,"BUTTON",{class:!0});var P=j(v);H(w.$$.fragment,P),k=N(P),$=ke(P,q),P.forEach(S),E=N(R),T=L(R,"BUTTON",{class:!0});var Q=j(T);H(F.$$.fragment,Q),C=N(Q),D=ke(Q,V),Q.forEach(S),R.forEach(S),z.forEach(S),x.forEach(S),this.h()},h(){I(o,"class","absolute"),O(o,"opacity-0",t[0]!==Y),I(s,"class","absolute"),O(s,"opacity-0",t[0]!==Z),I(l,"class","absolute"),O(l,"opacity-0",t[0]!==B),I(n,"aria-label","Light/Dark Mode"),I(n,"role","menuitem"),I(n,"class","relative btn-plain scale-animation rounded-lg h-11 w-11 active:scale-90"),I(n,"id","scheme-switch"),I(h,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95 mb-0.5"),O(h,"current-theme-btn",t[0]===Y),I(v,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95 mb-0.5"),O(v,"current-theme-btn",t[0]===Z),I(T,"class","flex transition whitespace-nowrap items-center justify-start w-full btn-plain scale-animation rounded-lg h-9 px-3 font-medium active:scale-95"),O(T,"current-theme-btn",t[0]===B),I(p,"class","card-base float-panel p-2"),I(d,"id","light-dark-panel"),I(d,"class","hidden lg:block absolute transition float-panel-closed top-11 -right-2 pt-5"),I(e,"class","relative z-50"),I(e,"role","menu"),I(e,"tabindex","-1")},m(j,O){re(j,e,O),x(e,n),x(n,o),Q(r,o,null),x(n,i),x(n,s),Q(c,s,null),x(n,a),x(n,l),Q(f,l,null),x(e,u),x(e,d),x(d,p),x(p,h),Q(g,h,null),x(h,m),x(h,b),x(p,y),x(p,v),Q(w,v,null),x(v,k),x(v,$),x(p,E),x(p,T),Q(F,T,null),x(T,C),x(T,D),R=!0,P||(_=[G(n,"click",t[2]),G(n,"mouseenter",Jn),G(h,"click",t[3]),G(v,"click",t[4]),G(T,"click",t[5]),G(e,"mouseleave",Xn)],P=!0)},p(t,[e]){(!R||1&e)&&O(o,"opacity-0",t[0]!==Y),(!R||1&e)&&O(s,"opacity-0",t[0]!==Z),(!R||1&e)&&O(l,"opacity-0",t[0]!==B),(!R||1&e)&&O(h,"current-theme-btn",t[0]===Y),(!R||1&e)&&O(v,"current-theme-btn",t[0]===Z),(!R||1&e)&&O(T,"current-theme-btn",t[0]===B)},i(t){R||(K(r.$$.fragment,t),K(c.$$.fragment,t),K(f.$$.fragment,t),K(g.$$.fragment,t),K(w.$$.fragment,t),K(F.$$.fragment,t),R=!0)},o(t){W(r.$$.fragment,t),W(c.$$.fragment,t),W(f.$$.fragment,t),W(g.$$.fragment,t),W(w.$$.fragment,t),W(F.$$.fragment,t),R=!1},d(t){t&&S(e),J(r),J(c),J(f),J(g),J(w),J(F),P=!1,Dt(_)}}}function Jn(){document.querySelector("#light-dark-panel").classList.remove("float-panel-closed")}function Xn(){document.querySelector("#light-dark-panel").classList.add("float-panel-closed")}function Yn(t,e,n){const o=[Y,Z,B];let r=B;function i(t){n(0,r=t),Ft(t)}return ut((()=>{n(0,r=$t());const t=window.matchMedia("(prefers-color-scheme: dark)"),e=t=>{At(r)};return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}})),[r,i,function(){let t=0;for(;ti(Y),()=>i(Z),()=>i(B)]}class to extends lt{constructor(t){super(),at(this,t,Yn,Wn,ft,{})}}export{to as default}; \ No newline at end of file diff --git a/_astro/Search.DEbzLl19.js b/_astro/Search.BkN0ixKg.js similarity index 98% rename from _astro/Search.DEbzLl19.js rename to _astro/Search.BkN0ixKg.js index de8df3405..06cfa2abe 100644 --- a/_astro/Search.DEbzLl19.js +++ b/_astro/Search.BkN0ixKg.js @@ -1 +1 @@ -import{S as te,i as le,s as ae,c as M,e as S,b as P,d as B,f as H,h as U,j as I,k as p,a as se,I as ne,n as N,o as E,p as C,q as F,u as z,r as K,v as O,x as L,B as re,y as q,C as ie,z as oe,D as ce,t as ue,H as he,g as fe,E as _e,w as de,F as pe}from"./translation.DRW-dp-k.js";function Y(e){return void 0!==e?.length?e:Array.from(e)}function ge(...e){return e.join("/").replace(/\/+/g,"/")}function G(e){return ge("","/",e)}function J(e,t,a){const l=e.slice();return l[11]=t[a],l}const me=e=>({}),Q=e=>({}),ve=e=>({}),X=e=>({}),be=e=>({}),Z=e=>({}),we=e=>({}),$=e=>({});function x(e){let t,a,l,s,n,r,c,i,o,h=e[11].meta.title+"",d=e[11].excerpt+"";const u=e[6]["arrow-icon"],f=M(u,e,e[5],Q);return{c(){t=S("a"),a=S("div"),l=ue(h),f&&f.c(),s=P(),n=S("div"),r=new he(!1),c=P(),this.h()},l(e){t=B(e,"A",{href:!0,class:!0});var i=H(t);a=B(i,"DIV",{class:!0});var o=H(a);l=fe(o,h),f&&f.l(o),o.forEach(I),s=U(i),n=B(i,"DIV",{class:!0});var d=H(n);r=_e(d,!1),d.forEach(I),c=U(i),i.forEach(I),this.h()},h(){p(a,"class","transition text-90 inline-flex font-bold group-hover:text-[var(--primary)]"),r.a=null,p(n,"class","transition text-sm text-50"),p(t,"href",i=e[11].url),p(t,"class","transition first-of-type:mt-2 lg:first-of-type:mt-0 group block rounded-xl text-lg px-3 py-2 hover:bg-[var(--btn-plain-bg-hover)] active:bg-[var(--btn-plain-bg-active)]")},m(e,i){N(e,t,i),E(t,a),E(a,l),f&&f.m(a,null),E(t,s),E(t,n),r.m(d,n),E(t,c),o=!0},p(e,a){(!o||8&a)&&h!==(h=e[11].meta.title+"")&&de(l,h),f&&f.p&&(!o||32&a)&&z(f,u,e,e[5],o?O(u,e[5],a,me):K(e[5]),Q),(!o||8&a)&&d!==(d=e[11].excerpt+"")&&r.p(d),(!o||8&a&&i!==(i=e[11].url))&&p(t,"href",i)},i(e){o||(L(f,e),o=!0)},o(e){q(f,e),o=!1},d(e){e&&I(t),f&&f.d(e)}}}function ke(e){let t,a,l,s,n,r,c,i,o,h,d,u,f,g;const b=e[6]["search-icon"],v=M(b,e,e[5],$),m=e[6]["search-switch"],w=M(m,e,e[5],Z),k=e[6]["search-icon"],y=M(k,e,e[5],X);let D=Y(e[3]),V=[];for(let t=0;tq(V[e],1,1,(()=>{V[e]=null}));return{c(){t=S("div"),v&&v.c(),a=P(),l=S("input"),s=P(),n=S("button"),w&&w.c(),r=P(),c=S("div"),i=S("div"),y&&y.c(),o=P(),h=S("input"),d=P();for(let e=0;e{};ce((()=>{a(2,i=async(e,t)=>{let l=document.getElementById("search-panel");if(!l)return;if(!e&&t)return void l.classList.add("float-panel-closed");let s=[];{const t=await pagefind.search(e);for(const e of t.results)s.push(await e.data())}s.length||!t?(t&&l.classList.remove("float-panel-closed"),a(3,c=s)):l.classList.add("float-panel-closed")})}));return e.$$set=e=>{"$$scope"in e&&a(5,s=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&i(n,!0),6&e.$$.dirty&&i(r,!1)},[n,r,i,c,()=>{document.getElementById("search-panel")?.classList.toggle("float-panel-closed")},s,l,function(){n=this.value,a(0,n)},()=>i(n,!0),function(){r=this.value,a(1,r)}]}class Ee extends te{constructor(e){super(),le(this,e,Ie,ke,ae,{})}}export{Ee as default}; \ No newline at end of file +import{S as te,i as le,s as ae,c as M,e as S,b as P,d as B,f as H,h as U,j as I,k as p,a as se,I as ne,n as N,o as E,p as C,q as F,u as z,r as K,v as O,x as L,B as re,y as q,C as ie,z as oe,D as ce,t as ue,H as he,g as fe,E as _e,w as de,F as pe}from"./translation.DbiZaWql.js";function Y(e){return void 0!==e?.length?e:Array.from(e)}function ge(...e){return e.join("/").replace(/\/+/g,"/")}function G(e){return ge("","/",e)}function J(e,t,a){const l=e.slice();return l[11]=t[a],l}const me=e=>({}),Q=e=>({}),ve=e=>({}),X=e=>({}),be=e=>({}),Z=e=>({}),we=e=>({}),$=e=>({});function x(e){let t,a,l,s,n,r,c,i,o,h=e[11].meta.title+"",d=e[11].excerpt+"";const u=e[6]["arrow-icon"],f=M(u,e,e[5],Q);return{c(){t=S("a"),a=S("div"),l=ue(h),f&&f.c(),s=P(),n=S("div"),r=new he(!1),c=P(),this.h()},l(e){t=B(e,"A",{href:!0,class:!0});var i=H(t);a=B(i,"DIV",{class:!0});var o=H(a);l=fe(o,h),f&&f.l(o),o.forEach(I),s=U(i),n=B(i,"DIV",{class:!0});var d=H(n);r=_e(d,!1),d.forEach(I),c=U(i),i.forEach(I),this.h()},h(){p(a,"class","transition text-90 inline-flex font-bold group-hover:text-[var(--primary)]"),r.a=null,p(n,"class","transition text-sm text-50"),p(t,"href",i=e[11].url),p(t,"class","transition first-of-type:mt-2 lg:first-of-type:mt-0 group block rounded-xl text-lg px-3 py-2 hover:bg-[var(--btn-plain-bg-hover)] active:bg-[var(--btn-plain-bg-active)]")},m(e,i){N(e,t,i),E(t,a),E(a,l),f&&f.m(a,null),E(t,s),E(t,n),r.m(d,n),E(t,c),o=!0},p(e,a){(!o||8&a)&&h!==(h=e[11].meta.title+"")&&de(l,h),f&&f.p&&(!o||32&a)&&z(f,u,e,e[5],o?O(u,e[5],a,me):K(e[5]),Q),(!o||8&a)&&d!==(d=e[11].excerpt+"")&&r.p(d),(!o||8&a&&i!==(i=e[11].url))&&p(t,"href",i)},i(e){o||(L(f,e),o=!0)},o(e){q(f,e),o=!1},d(e){e&&I(t),f&&f.d(e)}}}function ke(e){let t,a,l,s,n,r,c,i,o,h,d,u,f,g;const b=e[6]["search-icon"],v=M(b,e,e[5],$),m=e[6]["search-switch"],w=M(m,e,e[5],Z),k=e[6]["search-icon"],y=M(k,e,e[5],X);let D=Y(e[3]),V=[];for(let t=0;tq(V[e],1,1,(()=>{V[e]=null}));return{c(){t=S("div"),v&&v.c(),a=P(),l=S("input"),s=P(),n=S("button"),w&&w.c(),r=P(),c=S("div"),i=S("div"),y&&y.c(),o=P(),h=S("input"),d=P();for(let e=0;e{};ce((()=>{a(2,i=async(e,t)=>{let l=document.getElementById("search-panel");if(!l)return;if(!e&&t)return void l.classList.add("float-panel-closed");let s=[];{const t=await pagefind.search(e);for(const e of t.results)s.push(await e.data())}s.length||!t?(t&&l.classList.remove("float-panel-closed"),a(3,c=s)):l.classList.add("float-panel-closed")})}));return e.$$set=e=>{"$$scope"in e&&a(5,s=e.$$scope)},e.$$.update=()=>{5&e.$$.dirty&&i(n,!0),6&e.$$.dirty&&i(r,!1)},[n,r,i,c,()=>{document.getElementById("search-panel")?.classList.toggle("float-panel-closed")},s,l,function(){n=this.value,a(0,n)},()=>i(n,!0),function(){r=this.value,a(1,r)}]}class Ee extends te{constructor(e){super(),le(this,e,Ie,ke,ae,{})}}export{Ee as default}; \ No newline at end of file diff --git a/_astro/avatar.DHceQYjt_Z5Seko.webp b/_astro/avatar.DHceQYjt_Z5Seko.webp new file mode 100644 index 000000000..f14cff06d Binary files /dev/null and b/_astro/avatar.DHceQYjt_Z5Seko.webp differ diff --git a/_astro/demo-avatar.CxcI0ivM_ZCdd5H.webp b/_astro/demo-avatar.CxcI0ivM_ZCdd5H.webp deleted file mode 100644 index 39d8b86ce..000000000 Binary files a/_astro/demo-avatar.CxcI0ivM_ZCdd5H.webp and /dev/null differ diff --git a/_astro/translation.DRW-dp-k.js b/_astro/translation.DRW-dp-k.js deleted file mode 100644 index ed4f9ec6d..000000000 --- a/_astro/translation.DRW-dp-k.js +++ /dev/null @@ -1 +0,0 @@ -function E(){}function Y(t,e){for(const n in e)t[n]=e[n];return t}function G(t){return t()}function P(){return Object.create(null)}function w(t){t.forEach(G)}function R(t){return typeof t=="function"}function Tt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Z(t){return Object.keys(t).length===0}function $t(t,e,n,o){if(t){const s=U(t,e,n,o);return t[0](s)}}function U(t,e,n,o){return t[1]&&o?Y(n.ctx.slice(),t[1](o(e))):n.ctx}function Mt(t,e,n,o){if(t[2]&&o){const s=t[2](o(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],r=Math.max(e.dirty.length,s.length);for(let a=0;a32){const e=[],n=t.ctx.length/32;for(let o=0;o>1);n(s)<=o?t=s+1:e=s}return t}function et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const u=[];for(let c=0;c0&&e[n[s]].claim_order<=c?s+1:tt(1,s,x=>e[n[x]].claim_order,c))-1;o[u]=n[d]+1;const f=d+1;n[f]=u,s=Math.max(f,s)}const l=[],r=[];let a=e.length-1;for(let u=n[s]+1;u!=0;u=o[u-1]){for(l.push(e[u-1]);a>=u;a--)r.push(e[a]);a--}for(;a>=0;a--)r.push(e[a]);l.reverse(),r.sort((u,c)=>u.claim_order-c.claim_order);for(let u=0,c=0;u=l[c].claim_order;)c++;const d=ct.removeEventListener(e,n,o)}function q(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const st=["width","height"];function Pt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const o in e)e[o]==null?t.removeAttribute(o):o==="style"?t.style.cssText=e[o]:o==="__value"?t.value=t[o]=e[o]:n[o]&&n[o].set&&st.indexOf(o)===-1?t[o]=e[o]:q(t,o,e[o])}function Lt(t,e){for(const n in e)q(t,n,e[n])}function Ot(t){return t===""?null:+t}function rt(t){return Array.from(t.childNodes)}function V(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function J(t,e,n,o,s=!1){V(t);const l=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const a=t[r];if(e(a)){const u=n(a);return u===void 0?t.splice(r,1):t[r]=u,s?u===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,a}}return o()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function Q(t,e,n,o){return J(t,s=>s.nodeName===e,s=>{const l=[];for(let r=0;rs.removeAttribute(r))},()=>o(e))}function Dt(t,e,n){return Q(t,e,n,F)}function Bt(t,e,n){return Q(t,e,n,W)}function ut(t,e){return J(t,n=>n.nodeType===3,n=>{const o=""+e;if(n.data.startsWith(o)){if(n.data.length!==o.length)return n.splitText(o.length)}else n.data=o},()=>H(e),!0)}function Gt(t){return ut(t," ")}function L(t,e,n){for(let o=n;o{const s=t.$$.callbacks[e];if(s){const l=ct(e,n,{cancelable:o});return s.slice().forEach(r=>{r.call(t,l)}),!l.defaultPrevented}return!0}}const m=[],O=[];let g=[];const D=[],at=Promise.resolve();let N=!1;function ft(){N||(N=!0,at.then(X))}function S(t){g.push(t)}const M=new Set;let _=0;function X(){if(_!==0)return;const t=b;do{try{for(;_t.indexOf(o)===-1?e.push(o):n.push(o)),n.forEach(o=>o()),g=e}const y=new Set;let h;function Xt(){h={r:0,c:[],p:h}}function Yt(){h.r||w(h.c),h=h.p}function _t(t,e){t&&t.i&&(y.delete(t),t.i(e))}function Zt(t,e,n,o){if(t&&t.o){if(y.has(t))return;y.add(t),h.c.push(()=>{y.delete(t),o&&(n&&t.d(1),o())}),t.o(e)}else o&&o()}function It(t){t&&t.c()}function Kt(t,e){t&&t.l(e)}function mt(t,e,n){const{fragment:o,after_update:s}=t.$$;o&&o.m(e,n),S(()=>{const l=t.$$.on_mount.map(G).filter(R);t.$$.on_destroy?t.$$.on_destroy.push(...l):w(l),t.$$.on_mount=[]}),s.forEach(S)}function gt(t,e){const n=t.$$;n.fragment!==null&&(ht(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function pt(t,e){t.$$.dirty[0]===-1&&(m.push(t),ft(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const j=z.length?z[0]:x;return c.ctx&&s(c.ctx[f],c.ctx[f]=j)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](j),d&&pt(t,f)),x}):[],c.update(),d=!0,w(c.before_update),c.fragment=o?o(c.ctx):!1,e.target){if(e.hydrate){I();const f=rt(e.target);c.fragment&&c.fragment.l(f),f.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&_t(t.$$.fragment),mt(t,e.target,e.anchor),K(),X()}C(u)}class ee{$$=void 0;$$set=void 0;$destroy(){gt(this,1),this.$destroy=E}$on(e,n){if(!R(n))return E;const o=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return o.push(n),()=>{const s=o.indexOf(n);s!==-1&&o.splice(s,1)}}$set(e){this.$$set&&!Z(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ct="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ct);var i=(t=>(t.home="home",t.about="about",t.archive="archive",t.search="search",t.tags="tags",t.categories="categories",t.recentPosts="recentPosts",t.comments="comments",t.untitled="untitled",t.uncategorized="uncategorized",t.noTags="noTags",t.wordCount="wordCount",t.wordsCount="wordsCount",t.minuteCount="minuteCount",t.minutesCount="minutesCount",t.postCount="postCount",t.postsCount="postsCount",t.themeColor="themeColor",t.lightMode="lightMode",t.darkMode="darkMode",t.systemMode="systemMode",t.more="more",t.author="author",t.publishedAt="publishedAt",t.license="license",t))(i||{}),v=(t=>(t[t.Home=0]="Home",t[t.Archive=1]="Archive",t[t.About=2]="About",t))(v||{});const bt={title:"Fuwari",subtitle:"Demo Site",lang:"en",themeColor:{hue:250,fixed:!1},banner:{enable:!0,src:"assets/images/banner-1.png",position:"center"},favicon:[]};v.Home,v.Archive,v.About;const p={[i.home]:"Home",[i.about]:"About",[i.archive]:"Archive",[i.search]:"Search",[i.tags]:"Tags",[i.categories]:"Categories",[i.recentPosts]:"Recent Posts",[i.comments]:"Comments",[i.untitled]:"Untitled",[i.uncategorized]:"Uncategorized",[i.noTags]:"No Tags",[i.wordCount]:"word",[i.wordsCount]:"words",[i.minuteCount]:"minute",[i.minutesCount]:"minutes",[i.postCount]:"post",[i.postsCount]:"posts",[i.themeColor]:"Theme Color",[i.lightMode]:"Light",[i.darkMode]:"Dark",[i.systemMode]:"System",[i.more]:"More",[i.author]:"Author",[i.publishedAt]:"Published at",[i.license]:"License"},B={[i.home]:"Home",[i.about]:"About",[i.archive]:"Archive",[i.search]:"検索",[i.tags]:"タグ",[i.categories]:"カテゴリ",[i.recentPosts]:"最近の投稿",[i.comments]:"コメント",[i.untitled]:"タイトルなし",[i.uncategorized]:"カテゴリなし",[i.noTags]:"タグなし",[i.wordCount]:"文字",[i.wordsCount]:"文字",[i.minuteCount]:"分",[i.minutesCount]:"分",[i.postCount]:"件の投稿",[i.postsCount]:"件の投稿",[i.themeColor]:"テーマカラー",[i.lightMode]:"ライト",[i.darkMode]:"ダーク",[i.systemMode]:"システム",[i.more]:"もっと",[i.author]:"作者",[i.publishedAt]:"公開日",[i.license]:"ライセンス"},wt={[i.home]:"主页",[i.about]:"关于",[i.archive]:"归档",[i.search]:"搜索",[i.tags]:"标签",[i.categories]:"分类",[i.recentPosts]:"最新文章",[i.comments]:"评论",[i.untitled]:"无标题",[i.uncategorized]:"未分类",[i.noTags]:"无标签",[i.wordCount]:"字",[i.wordsCount]:"字",[i.minuteCount]:"分钟",[i.minutesCount]:"分钟",[i.postCount]:"篇文章",[i.postsCount]:"篇文章",[i.themeColor]:"主题色",[i.lightMode]:"亮色",[i.darkMode]:"暗色",[i.systemMode]:"跟随系统",[i.more]:"更多",[i.author]:"作者",[i.publishedAt]:"发布于",[i.license]:"许可协议"},xt={[i.home]:"首頁",[i.about]:"關於",[i.archive]:"彙整",[i.search]:"搜尋",[i.tags]:"標籤",[i.categories]:"分類",[i.recentPosts]:"最新文章",[i.comments]:"評論",[i.untitled]:"無標題",[i.uncategorized]:"未分類",[i.noTags]:"無標籤",[i.wordCount]:"字",[i.wordsCount]:"字",[i.minuteCount]:"分鐘",[i.minutesCount]:"分鐘",[i.postCount]:"篇文章",[i.postsCount]:"篇文章",[i.themeColor]:"主題色",[i.lightMode]:"亮色",[i.darkMode]:"暗色",[i.systemMode]:"跟隨系統",[i.more]:"更多",[i.author]:"作者",[i.publishedAt]:"發佈於",[i.license]:"許可協議"},yt=p,vt={en:p,en_us:p,en_gb:p,en_au:p,zh_cn:wt,zh_tw:xt,ja:B,ja_jp:B};function At(t){return vt[t.toLowerCase()]||yt}function ne(t){const e=bt.lang;return At(e)[t]}export{Ot as A,Yt as B,Ht as C,Vt as D,Rt as E,Xt as F,zt as G,$ as H,i as I,E as J,Jt as K,Y as L,St as M,Pt as N,W as O,Bt as P,Lt as Q,Qt as R,ee as S,It as T,Kt as U,mt as V,gt as W,ne as a,kt as b,$t as c,Dt as d,F as e,rt as f,ut as g,Gt as h,te as i,A as j,q as k,qt as l,Wt as m,ot as n,nt as o,Ft as p,jt as q,Nt as r,Tt as s,H as t,Et as u,Mt as v,Ut as w,_t as x,Zt as y,w as z}; diff --git a/_astro/translation.DbiZaWql.js b/_astro/translation.DbiZaWql.js new file mode 100644 index 000000000..701278ad5 --- /dev/null +++ b/_astro/translation.DbiZaWql.js @@ -0,0 +1 @@ +function E(){}function Y(t,e){for(const n in e)t[n]=e[n];return t}function G(t){return t()}function P(){return Object.create(null)}function w(t){t.forEach(G)}function R(t){return typeof t=="function"}function Tt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Z(t){return Object.keys(t).length===0}function $t(t,e,n,i){if(t){const s=U(t,e,n,i);return t[0](s)}}function U(t,e,n,i){return t[1]&&i?Y(n.ctx.slice(),t[1](i(e))):n.ctx}function Mt(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],r=Math.max(e.dirty.length,s.length);for(let a=0;a32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const u=[];for(let c=0;c0&&e[n[s]].claim_order<=c?s+1:tt(1,s,x=>e[n[x]].claim_order,c))-1;i[u]=n[d]+1;const f=d+1;n[f]=u,s=Math.max(f,s)}const l=[],r=[];let a=e.length-1;for(let u=n[s]+1;u!=0;u=i[u-1]){for(l.push(e[u-1]);a>=u;a--)r.push(e[a]);a--}for(;a>=0;a--)r.push(e[a]);l.reverse(),r.sort((u,c)=>u.claim_order-c.claim_order);for(let u=0,c=0;u=l[c].claim_order;)c++;const d=ct.removeEventListener(e,n,i)}function F(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const st=["width","height"];function Pt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&st.indexOf(i)===-1?t[i]=e[i]:F(t,i,e[i])}function Lt(t,e){for(const n in e)F(t,n,e[n])}function Ot(t){return t===""?null:+t}function rt(t){return Array.from(t.childNodes)}function J(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Q(t,e,n,i,s=!1){J(t);const l=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const a=t[r];if(e(a)){const u=n(a);return u===void 0?t.splice(r,1):t[r]=u,s?u===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,a}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function V(t,e,n,i){return Q(t,s=>s.nodeName===e,s=>{const l=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Bt(t,e,n){return V(t,e,n,W)}function Dt(t,e,n){return V(t,e,n,q)}function ut(t,e){return Q(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>H(e),!0)}function Gt(t){return ut(t," ")}function L(t,e,n){for(let i=n;i{const s=t.$$.callbacks[e];if(s){const l=ct(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,l)}),!l.defaultPrevented}return!0}}const m=[],O=[];let g=[];const B=[],at=Promise.resolve();let N=!1;function ft(){N||(N=!0,at.then(X))}function k(t){g.push(t)}const M=new Set;let _=0;function X(){if(_!==0)return;const t=b;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),g=e}const y=new Set;let h;function Xt(){h={r:0,c:[],p:h}}function Yt(){h.r||w(h.c),h=h.p}function _t(t,e){t&&t.i&&(y.delete(t),t.i(e))}function Zt(t,e,n,i){if(t&&t.o){if(y.has(t))return;y.add(t),h.c.push(()=>{y.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}function It(t){t&&t.c()}function Kt(t,e){t&&t.l(e)}function mt(t,e,n){const{fragment:i,after_update:s}=t.$$;i&&i.m(e,n),k(()=>{const l=t.$$.on_mount.map(G).filter(R);t.$$.on_destroy?t.$$.on_destroy.push(...l):w(l),t.$$.on_mount=[]}),s.forEach(k)}function gt(t,e){const n=t.$$;n.fragment!==null&&(ht(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function pt(t,e){t.$$.dirty[0]===-1&&(m.push(t),ft(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const j=z.length?z[0]:x;return c.ctx&&s(c.ctx[f],c.ctx[f]=j)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](j),d&&pt(t,f)),x}):[],c.update(),d=!0,w(c.before_update),c.fragment=i?i(c.ctx):!1,e.target){if(e.hydrate){I();const f=rt(e.target);c.fragment&&c.fragment.l(f),f.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&_t(t.$$.fragment),mt(t,e.target,e.anchor),K(),X()}C(u)}class ee{$$=void 0;$$set=void 0;$destroy(){gt(this,1),this.$destroy=E}$on(e,n){if(!R(n))return E;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!Z(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ct="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ct);var o=(t=>(t.home="home",t.about="about",t.archive="archive",t.search="search",t.tags="tags",t.categories="categories",t.recentPosts="recentPosts",t.comments="comments",t.untitled="untitled",t.uncategorized="uncategorized",t.noTags="noTags",t.wordCount="wordCount",t.wordsCount="wordsCount",t.minuteCount="minuteCount",t.minutesCount="minutesCount",t.postCount="postCount",t.postsCount="postsCount",t.themeColor="themeColor",t.lightMode="lightMode",t.darkMode="darkMode",t.systemMode="systemMode",t.more="more",t.author="author",t.publishedAt="publishedAt",t.license="license",t))(o||{}),v=(t=>(t[t.Home=0]="Home",t[t.Archive=1]="Archive",t[t.About=2]="About",t))(v||{});const bt={title:"Jack's Leadership Blog",subtitle:"Leadership is, at root, about Influencing Others",lang:"en",themeColor:{hue:250,fixed:!1},banner:{enable:!0,src:"assets/images/banner-1.png",position:"center"},favicon:[]};v.Home,v.Archive,v.About;const p={[o.home]:"Home",[o.about]:"About",[o.archive]:"Archive",[o.search]:"Search",[o.tags]:"Tags",[o.categories]:"Categories",[o.recentPosts]:"Recent Posts",[o.comments]:"Comments",[o.untitled]:"Untitled",[o.uncategorized]:"Uncategorized",[o.noTags]:"No Tags",[o.wordCount]:"word",[o.wordsCount]:"words",[o.minuteCount]:"minute",[o.minutesCount]:"minutes",[o.postCount]:"post",[o.postsCount]:"posts",[o.themeColor]:"Theme Color",[o.lightMode]:"Light",[o.darkMode]:"Dark",[o.systemMode]:"System",[o.more]:"More",[o.author]:"Author",[o.publishedAt]:"Published at",[o.license]:"License"},D={[o.home]:"Home",[o.about]:"About",[o.archive]:"Archive",[o.search]:"検索",[o.tags]:"タグ",[o.categories]:"カテゴリ",[o.recentPosts]:"最近の投稿",[o.comments]:"コメント",[o.untitled]:"タイトルなし",[o.uncategorized]:"カテゴリなし",[o.noTags]:"タグなし",[o.wordCount]:"文字",[o.wordsCount]:"文字",[o.minuteCount]:"分",[o.minutesCount]:"分",[o.postCount]:"件の投稿",[o.postsCount]:"件の投稿",[o.themeColor]:"テーマカラー",[o.lightMode]:"ライト",[o.darkMode]:"ダーク",[o.systemMode]:"システム",[o.more]:"もっと",[o.author]:"作者",[o.publishedAt]:"公開日",[o.license]:"ライセンス"},wt={[o.home]:"主页",[o.about]:"关于",[o.archive]:"归档",[o.search]:"搜索",[o.tags]:"标签",[o.categories]:"分类",[o.recentPosts]:"最新文章",[o.comments]:"评论",[o.untitled]:"无标题",[o.uncategorized]:"未分类",[o.noTags]:"无标签",[o.wordCount]:"字",[o.wordsCount]:"字",[o.minuteCount]:"分钟",[o.minutesCount]:"分钟",[o.postCount]:"篇文章",[o.postsCount]:"篇文章",[o.themeColor]:"主题色",[o.lightMode]:"亮色",[o.darkMode]:"暗色",[o.systemMode]:"跟随系统",[o.more]:"更多",[o.author]:"作者",[o.publishedAt]:"发布于",[o.license]:"许可协议"},xt={[o.home]:"首頁",[o.about]:"關於",[o.archive]:"彙整",[o.search]:"搜尋",[o.tags]:"標籤",[o.categories]:"分類",[o.recentPosts]:"最新文章",[o.comments]:"評論",[o.untitled]:"無標題",[o.uncategorized]:"未分類",[o.noTags]:"無標籤",[o.wordCount]:"字",[o.wordsCount]:"字",[o.minuteCount]:"分鐘",[o.minutesCount]:"分鐘",[o.postCount]:"篇文章",[o.postsCount]:"篇文章",[o.themeColor]:"主題色",[o.lightMode]:"亮色",[o.darkMode]:"暗色",[o.systemMode]:"跟隨系統",[o.more]:"更多",[o.author]:"作者",[o.publishedAt]:"發佈於",[o.license]:"許可協議"},yt=p,vt={en:p,en_us:p,en_gb:p,en_au:p,zh_cn:wt,zh_tw:xt,ja:D,ja_jp:D};function At(t){return vt[t.toLowerCase()]||yt}function ne(t){const e=bt.lang;return At(e)[t]}export{Ot as A,Yt as B,Ht as C,Jt as D,Rt as E,Xt as F,zt as G,$ as H,o as I,E as J,Qt as K,Y as L,kt as M,Pt as N,q as O,Dt as P,Lt as Q,Vt as R,ee as S,It as T,Kt as U,mt as V,gt as W,ne as a,St as b,$t as c,Bt as d,W as e,rt as f,ut as g,Gt as h,te as i,A as j,F as k,Ft as l,qt as m,it as n,nt as o,Wt as p,jt as q,Nt as r,Tt as s,H as t,Et as u,Mt as v,Ut as w,_t as x,Zt as y,w as z}; diff --git a/about/index.html b/about/index.html index fd8ca4289..d872abd46 100644 --- a/about/index.html +++ b/about/index.html @@ -1 +1 @@ -About - Fuwari
Fuwari

About#

This is the demo site for Fuwari.

saicaca
/
fuwari
Waiting for api.github.com...
00K
0K
0K
Waiting...

Sources of images used in this site#

\ No newline at end of file +About - Jack's Leadership Blog
Jack's Leadership Blog

About#

This is the demo site for Fuwari.

saicaca
/
fuwari
Waiting for api.github.com...
00K
0K
0K
Waiting...

Sources of images used in this site#

\ No newline at end of file diff --git a/archive/category/Examples/index.html b/archive/category/Examples/index.html index 8d0ab88cb..00039323b 100644 --- a/archive/category/Examples/index.html +++ b/archive/category/Examples/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/category/Guides/index.html b/archive/category/Guides/index.html index 839831038..18ab9f196 100644 --- a/archive/category/Guides/index.html +++ b/archive/category/Guides/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/category/uncategorized/index.html b/archive/category/uncategorized/index.html index a73906d05..017a6e7c2 100644 --- a/archive/category/uncategorized/index.html +++ b/archive/category/uncategorized/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/index.html b/archive/index.html index f1b16774a..25aafbb25 100644 --- a/archive/index.html +++ b/archive/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Blogging/index.html b/archive/tag/Blogging/index.html index 94c5e54ca..6d60648e9 100644 --- a/archive/tag/Blogging/index.html +++ b/archive/tag/Blogging/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Customization/index.html b/archive/tag/Customization/index.html index ac89b0b9c..e738adc8c 100644 --- a/archive/tag/Customization/index.html +++ b/archive/tag/Customization/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Demo/index.html b/archive/tag/Demo/index.html index a3691ab31..9f5fe8186 100644 --- a/archive/tag/Demo/index.html +++ b/archive/tag/Demo/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Example/index.html b/archive/tag/Example/index.html index d5a34c8ba..bd9719a70 100644 --- a/archive/tag/Example/index.html +++ b/archive/tag/Example/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Fuwari/index.html b/archive/tag/Fuwari/index.html index b467be52f..13e3bc73f 100644 --- a/archive/tag/Fuwari/index.html +++ b/archive/tag/Fuwari/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Markdown/index.html b/archive/tag/Markdown/index.html index 02c69c4ff..6bcc15832 100644 --- a/archive/tag/Markdown/index.html +++ b/archive/tag/Markdown/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/archive/tag/Video/index.html b/archive/tag/Video/index.html index 939aefc19..826fcd023 100644 --- a/archive/tag/Video/index.html +++ b/archive/tag/Video/index.html @@ -1 +1 @@ -Archive - Fuwari
Fuwari
\ No newline at end of file +Archive - Jack's Leadership Blog
Jack's Leadership Blog
\ No newline at end of file diff --git a/index.html b/index.html index 6969cd4bc..748967bf2 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Fuwari - Demo Site
Fuwari
Markdown Extended Features
Read more about Markdown features in Fuwari
153 words
|
1 minutes
Simple Guides for Fuwari
How to use this blog template.
160 words
|
1 minutes
Cover Image of the Post
Markdown Example
A simple example of a Markdown blog post.
439 words
|
2 minutes
Include Video in the Posts
This post demonstrates how to include embedded video in a blog post.
61 words
|
1 minutes
1
\ No newline at end of file +Jack's Leadership Blog - Leadership is, at root, about Influencing Others
Jack's Leadership Blog
Markdown Extended Features
Read more about Markdown features in Fuwari
153 words
|
1 minutes
Simple Guides for Fuwari
How to use this blog template.
160 words
|
1 minutes
Cover Image of the Post
Markdown Example
A simple example of a Markdown blog post.
439 words
|
2 minutes
Include Video in the Posts
This post demonstrates how to include embedded video in a blog post.
61 words
|
1 minutes
1
\ No newline at end of file diff --git a/pagefind/fragment/en_45cba52.pf_fragment b/pagefind/fragment/en_45cba52.pf_fragment deleted file mode 100644 index 36e37d849..000000000 Binary files a/pagefind/fragment/en_45cba52.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_8fdaef5.pf_fragment b/pagefind/fragment/en_8fdaef5.pf_fragment deleted file mode 100644 index 31648591d..000000000 Binary files a/pagefind/fragment/en_8fdaef5.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_aecb479.pf_fragment b/pagefind/fragment/en_aecb479.pf_fragment new file mode 100644 index 000000000..13d5d1b78 Binary files /dev/null and b/pagefind/fragment/en_aecb479.pf_fragment differ diff --git a/pagefind/fragment/en_b45d7c8.pf_fragment b/pagefind/fragment/en_b45d7c8.pf_fragment deleted file mode 100644 index cca866fee..000000000 Binary files a/pagefind/fragment/en_b45d7c8.pf_fragment and /dev/null differ diff --git a/pagefind/fragment/en_c0724a5.pf_fragment b/pagefind/fragment/en_c0724a5.pf_fragment new file mode 100644 index 000000000..b582d52a3 Binary files /dev/null and b/pagefind/fragment/en_c0724a5.pf_fragment differ diff --git a/pagefind/fragment/en_ed63569.pf_fragment b/pagefind/fragment/en_ed63569.pf_fragment new file mode 100644 index 000000000..c978b454e Binary files /dev/null and b/pagefind/fragment/en_ed63569.pf_fragment differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json index 99fbbcfc3..48edca06f 100644 --- a/pagefind/pagefind-entry.json +++ b/pagefind/pagefind-entry.json @@ -1 +1 @@ -{"version":"1.1.0","languages":{"en":{"hash":"en_2b35c976b9","wasm":"en","page_count":5}}} \ No newline at end of file +{"version":"1.1.0","languages":{"en":{"hash":"en_5ae746f2f5","wasm":"en","page_count":5}}} \ No newline at end of file diff --git a/pagefind/pagefind.en_2b35c976b9.pf_meta b/pagefind/pagefind.en_2b35c976b9.pf_meta deleted file mode 100644 index 018b1e08a..000000000 Binary files a/pagefind/pagefind.en_2b35c976b9.pf_meta and /dev/null differ diff --git a/pagefind/pagefind.en_5ae746f2f5.pf_meta b/pagefind/pagefind.en_5ae746f2f5.pf_meta new file mode 100644 index 000000000..c08211ddd Binary files /dev/null and b/pagefind/pagefind.en_5ae746f2f5.pf_meta differ diff --git a/posts/guide/index.html b/posts/guide/index.html index 0029ff0ec..ec393f502 100644 --- a/posts/guide/index.html +++ b/posts/guide/index.html @@ -1,4 +1,4 @@ -Simple Guides for Fuwari - Fuwari
Fuwari
160 words
1 minutes
Simple Guides for Fuwari

Cover image source: Source

This blog template is built with Astro. For the things that are not mentioned in this guide, you may find the answers in the Astro Docs.

Front-matter of Posts#

---
+Simple Guides for Fuwari - Jack's Leadership Blog
Jack's Leadership Blog
160 words
1 minutes
Simple Guides for Fuwari

Cover image source: Source

This blog template is built with Astro. For the things that are not mentioned in this guide, you may find the answers in the Astro Docs.

Front-matter of Posts#

---
 title: My First Blog Post
 published: 2023-09-09
 description: This is the first post of my new Astro blog.
@@ -12,4 +12,4 @@
 └── post-2/
     ├── cover.png
     └── index.md
-
Simple Guides for Fuwari
https://leadership.qubitpi.org/posts/guide/
Author
Lorem Ipsum
Published at
2024-04-01
\ No newline at end of file +
Simple Guides for Fuwari
https://leadership.qubitpi.org/posts/guide/
Author
Jiaqi Liu
Published at
2024-04-01
\ No newline at end of file diff --git a/posts/markdown-extended/index.html b/posts/markdown-extended/index.html index a54085879..da2d6eadc 100644 --- a/posts/markdown-extended/index.html +++ b/posts/markdown-extended/index.html @@ -1,4 +1,4 @@ -Markdown Extended Features - Fuwari
Fuwari
153 words
1 minutes
Markdown Extended Features

GitHub repository cards#

You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.

Fabrizz
/
MMM-OnSpotify
Waiting for api.github.com...
00K
0K
0K
Waiting...

Create a GitHub repository card with the code ::github{repo="<owner>/<repo>"}.

::github{repo="saicaca/fuwari"}
+Markdown Extended Features - Jack's Leadership Blog
Jack's Leadership Blog
153 words
1 minutes
Markdown Extended Features

GitHub repository cards#

You can add dynamic cards that link to GitHub repositories, on page load, the repository information is pulled from the GitHub API.

Fabrizz
/
MMM-OnSpotify
Waiting for api.github.com...
00K
0K
0K
Waiting...

Create a GitHub repository card with the code ::github{repo="<owner>/<repo>"}.

::github{repo="saicaca/fuwari"}
 

Admonitions#

Following types of admonitions are supported: note tip important warning caution

NOTE

Highlights information that users should take into account, even when skimming.

TIP

Optional information to help a user be more successful.

IMPORTANT

Crucial information necessary for users to succeed.

WARNING

Critical content demanding immediate user attention due to potential risks.

CAUTION

Negative potential consequences of an action.

:::note
 Highlights information that users should take into account, even when skimming.
 :::
@@ -14,4 +14,4 @@
 
 > [!TIP]
 > The GitHub syntax is also supported.
-
Markdown Extended Features
https://leadership.qubitpi.org/posts/markdown-extended/
Author
Lorem Ipsum
Published at
2024-05-01
\ No newline at end of file +
Markdown Extended Features
https://leadership.qubitpi.org/posts/markdown-extended/
Author
Jiaqi Liu
Published at
2024-05-01
\ No newline at end of file diff --git a/posts/markdown/index.html b/posts/markdown/index.html index d2a17bfc5..68afc8654 100644 --- a/posts/markdown/index.html +++ b/posts/markdown/index.html @@ -1,4 +1,4 @@ -Markdown Example - Fuwari
Fuwari
439 words
2 minutes
Markdown Example

An h1 header#

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, and monospace. Itemized lists look like:

  • this one
  • that one
  • the other one

Note that --- not considering the asterisk --- the actual text content starts at 4-columns in.

Block quotes are written like so.

They can span multiple paragraphs, if you like.

Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all in chapters 12—14”). Three dots … will be converted to an ellipsis. Unicode is supported. ☺

An h2 header#

Here’s a numbered list:

  1. first item
  2. second item
  3. third item

Note again how the actual text starts at 4 columns in (4 characters from the left side). Here’s a code sample:

# Let me re-iterate ...
+Markdown Example - Jack's Leadership Blog
Jack's Leadership Blog
439 words
2 minutes
Markdown Example

An h1 header#

Paragraphs are separated by a blank line.

2nd paragraph. Italic, bold, and monospace. Itemized lists look like:

  • this one
  • that one
  • the other one

Note that --- not considering the asterisk --- the actual text content starts at 4-columns in.

Block quotes are written like so.

They can span multiple paragraphs, if you like.

Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., “it’s all in chapters 12—14”). Three dots … will be converted to an ellipsis. Unicode is supported. ☺

An h2 header#

Here’s a numbered list:

  1. first item
  2. second item
  3. third item

Note again how the actual text starts at 4 columns in (4 characters from the left side). Here’s a code sample:

# Let me re-iterate ...
 for i in 1 .. 10 { do-something(i) }
 

As you probably guessed, indented 4 spaces. By the way, instead of indenting the block, you can use delimited blocks, if you like:

define foobar() {
     print "Welcome to flavor country!";
@@ -16,4 +16,4 @@
  balance wooden spoon precariously on pot handle
  wait 10 minutes
  goto first step (or shut off burner when done)
-

Do not bump wooden spoon or it will fall.

Notice again how text always lines up on 4-space indents (including that last line which continues item 3 above).

Here’s a link to a website, to a local doc, and to a section heading in the current doc. Here’s a footnote 1.

Tables can look like this:

size material color


9 leather brown 10 hemp canvas natural 11 glass transparent

Table: Shoes, their sizes, and what they’re made of

(The above is the caption for the table.) Pandoc also supports multi-line tables:


keyword text


red Sunsets, apples, and other red or reddish things.

green Leaves, grass, frogs and other things it’s not easy being.


A horizontal rule follows.


Here’s a definition list:

apples : Good for making applesauce. oranges : Citrus! tomatoes : There’s no “e” in tomatoe.

Again, text is indented 4 spaces. (Put a blank line between each term/definition pair to spread things out more.)

Here’s a “line block”:

| Line one | Line too | Line tree

and images can be specified like so:

Inline math equations go in like so: ω=dϕ/dt\omega = d\phi / dt. Display math should get its own line and be put in in double-dollarsigns:

I=ρR2dVI = \int \rho R^{2} dV

And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: `foo`, *bar*, etc.

Footnotes#

  1. Footnote text goes here.

Markdown Example
https://leadership.qubitpi.org/posts/markdown/
Author
Lorem Ipsum
Published at
2023-10-01
\ No newline at end of file +

Do not bump wooden spoon or it will fall.

Notice again how text always lines up on 4-space indents (including that last line which continues item 3 above).

Here’s a link to a website, to a local doc, and to a section heading in the current doc. Here’s a footnote 1.

Tables can look like this:

size material color


9 leather brown 10 hemp canvas natural 11 glass transparent

Table: Shoes, their sizes, and what they’re made of

(The above is the caption for the table.) Pandoc also supports multi-line tables:


keyword text


red Sunsets, apples, and other red or reddish things.

green Leaves, grass, frogs and other things it’s not easy being.


A horizontal rule follows.


Here’s a definition list:

apples : Good for making applesauce. oranges : Citrus! tomatoes : There’s no “e” in tomatoe.

Again, text is indented 4 spaces. (Put a blank line between each term/definition pair to spread things out more.)

Here’s a “line block”:

| Line one | Line too | Line tree

and images can be specified like so:

Inline math equations go in like so: ω=dϕ/dt\omega = d\phi / dt. Display math should get its own line and be put in in double-dollarsigns:

I=ρR2dVI = \int \rho R^{2} dV

And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: `foo`, *bar*, etc.

Footnotes#

  1. Footnote text goes here.

Markdown Example
https://leadership.qubitpi.org/posts/markdown/
Author
Jiaqi Liu
Published at
2023-10-01
\ No newline at end of file diff --git a/posts/video/index.html b/posts/video/index.html index 80cc06368..5528e6f0d 100644 --- a/posts/video/index.html +++ b/posts/video/index.html @@ -1,8 +1,8 @@ -Include Video in the Posts - Fuwari
Fuwari
61 words
1 minutes
Include Video in the Posts

Just copy the embed code from YouTube or other platforms, and paste it in the markdown file.

---
+Include Video in the Posts - Jack's Leadership Blog
Jack's Leadership Blog
61 words
1 minutes
Include Video in the Posts

Just copy the embed code from YouTube or other platforms, and paste it in the markdown file.

---
 title: Include Video in the Post
 published: 2023-10-19
 // ...
 ---
 
 <iframe width="100%" height="468" src="https://www.youtube.com/embed/5gIf0_xpFPI?si=N1WTorLKL0uwLsU_" title="YouTube video player" frameborder="0" allowfullscreen></iframe>
-

YouTube#

Bilibili#

Include Video in the Posts
https://leadership.qubitpi.org/posts/video/
Author
Lorem Ipsum
Published at
2023-08-01
\ No newline at end of file +

YouTube#

Bilibili#

Include Video in the Posts
https://leadership.qubitpi.org/posts/video/
Author
Jiaqi Liu
Published at
2023-08-01
\ No newline at end of file diff --git a/rss.xml b/rss.xml index 6411bca17..356820f7f 100644 --- a/rss.xml +++ b/rss.xml @@ -1,4 +1,4 @@ -FuwariDemo Sitehttps://leadership.qubitpi.org/enDraft Examplehttps://leadership.qubitpi.org/posts/draft/https://leadership.qubitpi.org/posts/draft/Fri, 01 Jul 2022 00:00:00 GMT<h1>This Article is a Draft</h1> +Jack's Leadership BlogLeadership is, at root, about Influencing Othershttps://leadership.qubitpi.org/enDraft Examplehttps://leadership.qubitpi.org/posts/draft/https://leadership.qubitpi.org/posts/draft/Fri, 01 Jul 2022 00:00:00 GMT<h1>This Article is a Draft</h1> <p>This article is currently in a draft state and is not published. Therefore, it will not be visible to the general audience. The content is still a work in progress and may require further editing and review.</p> <p>When the article is ready for publication, you can update the "draft" field to "false" in the Frontmatter:</p> <pre><code>---