diff --git a/_app/immutable/assets/cover.0a503f79.jpg b/_app/immutable/assets/cover.0a503f79.jpg deleted file mode 100644 index 7e7ed16..0000000 Binary files a/_app/immutable/assets/cover.0a503f79.jpg and /dev/null differ diff --git a/_app/immutable/assets/cover.49ad6c61.avif b/_app/immutable/assets/cover.49ad6c61.avif deleted file mode 100644 index 507b8d6..0000000 Binary files a/_app/immutable/assets/cover.49ad6c61.avif and /dev/null differ diff --git a/_app/immutable/assets/cover.6cb15631.avif b/_app/immutable/assets/cover.6cb15631.avif deleted file mode 100644 index 6a89014..0000000 Binary files a/_app/immutable/assets/cover.6cb15631.avif and /dev/null differ diff --git a/_app/immutable/assets/cover.de833d96.avif b/_app/immutable/assets/cover.de833d96.avif deleted file mode 100644 index 02c39e7..0000000 Binary files a/_app/immutable/assets/cover.de833d96.avif and /dev/null differ diff --git a/_app/immutable/chunks/code_copy.e26b18e5.js b/_app/immutable/chunks/code_copy.3f6f1429.js similarity index 99% rename from _app/immutable/chunks/code_copy.e26b18e5.js rename to _app/immutable/chunks/code_copy.3f6f1429.js index 940bb9b..c3d2508 100644 --- a/_app/immutable/chunks/code_copy.e26b18e5.js +++ b/_app/immutable/chunks/code_copy.3f6f1429.js @@ -1,4 +1,4 @@ -import{s as he,e as K,i as U,v as x,d as m,y as me,o as Ke,f as y,l as re,a as B,g as E,h as H,m as le,c as V,j as u,u as g,n as we,H as et,x as tt,G as ne,B as Q,F as je,I as se,w as De,U as Gt,P as qt,S as $t,p as Ne,A as ot,C as nt,D as rt,E as lt,R as Qe,V as Vt,Q as Ge,r as Xt}from"./scheduler.b261eb3c.js";import{S as ze,i as Le,a as M,g as ue,t as R,c as ce,f as ct,b as pe,d as ge,m as _e,e as ve,h as Ee,j as ke}from"./index.5ccb46b4.js";import{L as Je,g as fe,s as G,f as Ze,p as Wt}from"./i18n-svelte.361b895c.js";import{e as de,s as dt,g as Kt,i as ie,U as Me,I as Jt,j as qe,f as Xe,p as Qt}from"./tippy.704776d1.js";import{w as xt}from"./singletons.ec3d0151.js";import{a as Ft,I as Zt}from"./image_banner.67c8a7c0.js";import{d as ft,a as mt,l as ht,t as eo}from"./timeFormat.e1dfb3a3.js";const We=(()=>{let r=new Map;const{subscribe:e,update:o,set:t}=xt(r);return{subscribe:e,init:()=>{r=new Map,t(r)},addTOC:n=>{o(l=>{if(l){l||(l=new Map);const i=l.get(n)||0;l.set(n,i+1)}return l})},delTOC:n=>{o(l=>{if(l){const i=l.get(n);i&&(i-1===0?l.delete(n):l.set(n,i-1))}return l})}}})();function to(r){let e,o,t,n=r[0].LoadingGiscus()+"",l,i,s,c,a;return{c(){e=y("div"),o=y("div"),t=y("h2"),l=re(n),i=B(),s=y("div"),c=B(),a=y("div"),this.h()},l(f){e=E(f,"DIV",{id:!0});var d=H(e);o=E(d,"DIV",{id:!0,class:!0});var p=H(o);t=E(p,"H2",{});var b=H(t);l=le(b,n),b.forEach(m),i=V(p),s=E(p,"DIV",{class:!0}),H(s).forEach(m),p.forEach(m),c=V(d),a=E(d,"DIV",{id:!0,class:!0}),H(a).forEach(m),d.forEach(m),this.h()},h(){u(s,"class","i-line-md-loading-twotone-loop !h-16 !w-16"),u(o,"id","giscus-loading"),u(o,"class","flex flex-col items-center gap2"),u(a,"id","giscus"),u(a,"class","giscus"),u(e,"id","giscus-container")},m(f,d){U(f,e,d),g(e,o),g(o,t),g(t,l),g(o,i),g(o,s),g(e,c),g(e,a)},p(f,d){d&1&&n!==(n=f[0].LoadingGiscus()+"")&&we(l,n)},d(f){f&&m(e)}}}function oo(r){let e,o=to(r);return{c(){o&&o.c(),e=K()},l(t){o&&o.l(t),e=K()},m(t,n){o&&o.m(t,n),U(t,e,n)},p(t,[n]){o.p(t,n)},i:x,o:x,d(t){t&&m(e),o&&o.d(t)}}}function no(r,e,o){let t;me(r,Je,l=>o(0,t=l));let{theme:n}=e;return Ke(()=>{const l=document.createElement("script");Object.entries({src:fe.src??"https://giscus.app/client.js","data-repo":fe.repo,"data-repo-id":fe.repoId,"data-category":fe.category??"","data-category-id":fe.categoryId,"data-mapping":fe.mapping,"data-reactions-enabled":fe.reactionsEnabled,"data-input-position":fe.inputPosition,"data-theme":n??"preferred_color_scheme","data-lang":fe.lang,"data-loading":fe.loading,"data-strict":fe["data-strict"],crossorigin:"anonymous",async:""}).forEach(([i,s])=>{s&&l.setAttribute(i,s)}),setTimeout(()=>{var c;const i=new MutationObserver(()=>{var a;(a=document.getElementById("giscus-loading"))==null||a.remove(),i.disconnect()}),s=document.getElementById("giscus");s&&i.observe(s,{childList:!0}),(c=document.getElementById("giscus-container"))==null||c.appendChild(l)},1e3)}),r.$$set=l=>{"theme"in l&&o(1,n=l.theme)},[t,n]}class ro extends ze{constructor(e){super(),Le(this,e,no,oo,he,{theme:1})}}function pt(r,e,o){const t=r.slice();return t[12]=e[o],t}function lo(r){let e;return{c(){e=y("span"),this.h()},l(o){e=E(o,"SPAN",{class:!0}),H(e).forEach(m),this.h()},h(){u(e,"class","!w-[1.25rem] !h-[1.25rem] i-akar-icons-circle inline-block shrink-0")},m(o,t){U(o,e,t)},p:x,d(o){o&&m(e)}}}function io(r){let e,o,t,n;return{c(){e=y("span"),this.h()},l(l){e=E(l,"SPAN",{role:!0,tabindex:!0,class:!0}),H(e).forEach(m),this.h()},h(){u(e,"role","button"),u(e,"tabindex","0"),u(e,"class",o="cursor-pointer z10 !w-[1.25rem] !h-[1.25rem] inline-block transition-transform duration-300 ease-out shrink-0 "+(r[0]?"i-akar-icons-circle-chevron-up active:translate-y--1 hover:i-akar-icons-circle-chevron-up-fill":"i-akar-icons-circle-chevron-down active:translate-y-1 hover:i-akar-icons-circle-chevron-down-fill"))},m(l,i){U(l,e,i),t||(n=[Q(e,"click",Gt(r[7])),Q(e,"keydown",r[8])],t=!0)},p(l,i){i&1&&o!==(o="cursor-pointer z10 !w-[1.25rem] !h-[1.25rem] inline-block transition-transform duration-300 ease-out shrink-0 "+(l[0]?"i-akar-icons-circle-chevron-up active:translate-y--1 hover:i-akar-icons-circle-chevron-up-fill":"i-akar-icons-circle-chevron-down active:translate-y-1 hover:i-akar-icons-circle-chevron-down-fill"))&&u(e,"class",o)},d(l){l&&m(e),t=!1,je(n)}}}function gt(r){let e,o,t=r[0]&&_t(r);return{c(){t&&t.c(),e=K()},l(n){t&&t.l(n),e=K()},m(n,l){t&&t.m(n,l),U(n,e,l),o=!0},p(n,l){n[0]?t?(t.p(n,l),l&1&&M(t,1)):(t=_t(n),t.c(),M(t,1),t.m(e.parentNode,e)):t&&(ue(),R(t,1,1,()=>{t=null}),ce())},i(n){o||(M(t),o=!0)},o(n){R(t),o=!1},d(n){n&&m(e),t&&t.d(n)}}}function _t(r){let e,o,t,n=de(r[1].child),l=[];for(let s=0;sR(l[s],1,1,()=>{l[s]=null});return{c(){e=y("ul");for(let s=0;s{t&&(o||(o=ct(e,dt,{duration:300},!0)),o.run(1))}),t=!0}},o(s){l=l.filter(Boolean);for(let c=0;c0?io:lo}let k=I(r),S=k(r),w=r[1].child&&r[1].child.length>0&>(r);return{c(){e=y("li"),o=y("div"),S.c(),t=B(),n=y("span"),l=new et(!1),a=B(),w&&w.c(),this.h()},l(_){e=E(_,"LI",{id:!0});var z=H(e);o=E(z,"DIV",{role:!0,tabindex:!0,"data-toc-link":!0,class:!0});var v=H(o);S.l(v),t=V(v),n=E(v,"SPAN",{class:!0});var C=H(n);l=tt(C,!1),C.forEach(m),v.forEach(m),a=V(z),w&&w.l(z),z.forEach(m),this.h()},h(){l.a=null,u(n,"class",s=(r[3].get(r[1].slug)?"!text-black !font-900 scale-105 !dark:text-white":"")+" cursor-pointer select-none text-black/[0.6] group-hover:text-black dark:text-white/[0.6] dark:group-hover:text-white !dark:group-active:text-black"),u(o,"role","button"),u(o,"tabindex","0"),u(o,"data-toc-link",""),u(o,"class",c="z1 group flex items-center gap2 py2 "+(r[3].get(r[1].slug)?"border-[#0096FF]":"border-transparent")+" svelte-19vg5wt"),ne(o,"pl4",r[2]===1),ne(o,"pl8",r[2]===2),ne(o,"pl12",r[2]===3),ne(o,"pl16",r[2]===4),ne(o,"pl18",r[2]===5),u(e,"id",f=r[1].slug)},m(_,z){U(_,e,z),g(e,o),S.m(o,null),g(o,t),g(o,n),l.m(i,n),g(e,a),w&&w.m(e,null),d=!0,p||(b=[Q(o,"click",r[4]),Q(o,"touchstart",r[5],{passive:!0}),Q(o,"touchend",r[6],{passive:!0}),Q(o,"keydown",r[9])],p=!0)},p(_,[z]){k===(k=I(_))&&S?S.p(_,z):(S.d(1),S=k(_),S&&(S.c(),S.m(o,t))),(!d||z&2)&&i!==(i=_[1].heading+"")&&l.p(i),(!d||z&10&&s!==(s=(_[3].get(_[1].slug)?"!text-black !font-900 scale-105 !dark:text-white":"")+" cursor-pointer select-none text-black/[0.6] group-hover:text-black dark:text-white/[0.6] dark:group-hover:text-white !dark:group-active:text-black"))&&u(n,"class",s),(!d||z&10&&c!==(c="z1 group flex items-center gap2 py2 "+(_[3].get(_[1].slug)?"border-[#0096FF]":"border-transparent")+" svelte-19vg5wt"))&&u(o,"class",c),(!d||z&14)&&ne(o,"pl4",_[2]===1),(!d||z&14)&&ne(o,"pl8",_[2]===2),(!d||z&14)&&ne(o,"pl12",_[2]===3),(!d||z&14)&&ne(o,"pl16",_[2]===4),(!d||z&14)&&ne(o,"pl18",_[2]===5),_[1].child&&_[1].child.length>0?w?(w.p(_,z),z&2&&M(w,1)):(w=gt(_),w.c(),M(w,1),w.m(e,null)):w&&(ue(),R(w,1,1,()=>{w=null}),ce()),(!d||z&2&&f!==(f=_[1].slug))&&u(e,"id",f)},i(_){d||(M(w),d=!0)},o(_){R(w),d=!1},d(_){_&&m(e),S.d(),w&&w.d(),p=!1,je(b)}}}function so(r,e,o){let t;me(r,We,k=>o(3,t=k));let{content:n}=e,{expanded:l=!1}=e,{depth:i=1}=e;function s(){const k=document.getElementById(`${n.slug.substring(1)}`),S=document.getElementById("header-nav");if(k&&S){const w=k.offsetTop-S.clientHeight;window.scrollTo({top:w,behavior:"smooth"})}}let c=!1;function a(){document.addEventListener("touchmove",f)}function f(){c=!0}function d(){c?c=!1:s(),document.removeEventListener("touchmove",f)}const p=()=>{o(0,l=!l)},b=k=>{k.key==="Enter"&&o(0,l=!l)},I=k=>{k.key==="Enter"&&s()};return r.$$set=k=>{"content"in k&&o(1,n=k.content),"expanded"in k&&o(0,l=k.expanded),"depth"in k&&o(2,i=k.depth)},[l,n,i,t,s,a,d,p,b,I]}class Yt extends ze{constructor(e){super(),Le(this,e,so,ao,he,{content:1,expanded:0,depth:2})}}const{window:xe}=Kt;function bt(r,e,o){const t=r.slice();return t[28]=e[o],t}function wt(r){let e,o,t,n=r[6].TableOfContent()+"",l,i,s,c,a,f,d,p,b,I,k,S,w,_,z,v=r[0]&&r[0].length>0&&yt(r);return{c(){e=y("aside"),o=y("div"),t=y("span"),l=re(n),i=B(),s=y("div"),c=y("div"),d=B(),v&&v.c(),p=B(),b=y("div"),I=y("div"),this.h()},l(C){e=E(C,"ASIDE",{"aria-label":!0,class:!0});var O=H(e);o=E(O,"DIV",{role:!0,tabindex:!0,class:!0});var L=H(o);t=E(L,"SPAN",{role:!0,tabindex:!0,class:!0});var h=H(t);l=le(h,n),h.forEach(m),i=V(L),s=E(L,"DIV",{role:!0,tabindex:!0,class:!0});var $=H(s);c=E($,"DIV",{class:!0}),H(c).forEach(m),$.forEach(m),d=V(L),v&&v.l(L),p=V(L),b=E(L,"DIV",{role:!0,tabindex:!0,class:!0});var F=H(b);I=E(F,"DIV",{class:!0}),H(I).forEach(m),F.forEach(m),L.forEach(m),O.forEach(m),this.h()},h(){u(t,"role","button"),u(t,"tabindex","0"),u(t,"class","text-2xl font-bold px4 py2 text-center cursor-pointer"),u(c,"class",a="i-bxs-chevrons-up w6 h6 m-auto "+(r[4]?"op100":"op0")),u(s,"role","button"),u(s,"tabindex","0"),u(s,"class",f=r[4]?"cursor-pointer hover:bg-gray/[0.5]":""),u(I,"class",k="i-bxs-chevrons-down w6 h6 m-auto "+(r[5]?"op100 ":"op0")),u(b,"role","button"),u(b,"tabindex","0"),u(b,"class",S=r[5]?"cursor-pointer hover:bg-gray/[0.5]":""),u(o,"role","button"),u(o,"tabindex","0"),u(o,"class","flex-col"),u(e,"aria-label","Table Of Content"),u(e,"class","sticky top-[4rem] hidden xl:block pb8")},m(C,O){U(C,e,O),g(e,o),g(o,t),g(t,l),g(o,i),g(o,s),g(s,c),g(o,d),v&&v.m(o,null),g(o,p),g(o,b),g(b,I),w=!0,_||(z=[Q(t,"click",r[16]),Q(t,"keydown",r[17]),Q(s,"click",r[10]),Q(s,"touchend",r[10],{passive:!0}),Q(s,"keydown",r[18]),Q(b,"click",r[11]),Q(b,"touchend",r[11],{passive:!0}),Q(b,"keydown",r[21]),Q(o,"mousedown",r[7]),Q(o,"touchstart",qt(r[8]))],_=!0)},p(C,O){(!w||O&64)&&n!==(n=C[6].TableOfContent()+"")&&we(l,n),(!w||O&16&&a!==(a="i-bxs-chevrons-up w6 h6 m-auto "+(C[4]?"op100":"op0")))&&u(c,"class",a),(!w||O&16&&f!==(f=C[4]?"cursor-pointer hover:bg-gray/[0.5]":""))&&u(s,"class",f),C[0]&&C[0].length>0?v?(v.p(C,O),O&1&&M(v,1)):(v=yt(C),v.c(),M(v,1),v.m(o,p)):v&&(ue(),R(v,1,1,()=>{v=null}),ce()),(!w||O&32&&k!==(k="i-bxs-chevrons-down w6 h6 m-auto "+(C[5]?"op100 ":"op0")))&&u(I,"class",k),(!w||O&32&&S!==(S=C[5]?"cursor-pointer hover:bg-gray/[0.5]":""))&&u(b,"class",S)},i(C){w||(M(v),w=!0)},o(C){R(v),w=!1},d(C){C&&m(e),v&&v.d(),_=!1,je(z)}}}function yt(r){let e,o,t,n,l,i=de(r[0]),s=[];for(let a=0;aR(s[a],1,1,()=>{s[a]=null});return{c(){e=y("ul");for(let a=0;ar[20].call(e))},m(a,f){U(a,e,f);for(let d=0;d{e=!1},t,n,l,i,s;se(r[15]);let c=r[0]&&r[0].length>0&&wt(r);return{c(){c&&c.c(),n=K()},l(a){c&&c.l(a),n=K()},m(a,f){c&&c.m(a,f),U(a,n,f),l=!0,i||(s=Q(xe,"scroll",()=>{e=!0,clearTimeout(t),t=setTimeout(o,100),r[15]()}),i=!0)},p(a,[f]){f&8&&!e&&(e=!0,clearTimeout(t),scrollTo(xe.pageXOffset,a[3]),t=setTimeout(o,100)),a[0]&&a[0].length>0?c?(c.p(a,f),f&1&&M(c,1)):(c=wt(a),c.c(),M(c,1),c.m(n.parentNode,n)):c&&(ue(),R(c,1,1,()=>{c=null}),ce())},i(a){l||(M(c),l=!0)},o(a){R(c),l=!1},d(a){a&&m(n),c&&c.d(a),i=!1,s()}}}function co(r,e,o){let t,n;me(r,We,T=>o(14,t=T)),me(r,Je,T=>o(6,n=T));let{toc:l}=e,i={top:0,left:0,x:0,y:0};function s(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grabbing",A.style.userSelect="none",i={left:A.scrollLeft,top:A.scrollTop,x:T.clientX,y:T.clientY}),document.addEventListener("mousemove",c),document.addEventListener("mouseup",a)}function c(T){const A=document.getElementById("post-toc");if(A){const Y=T.clientX-i.x,N=T.clientY-i.y;A.scrollTop=i.top+N,A.scrollLeft=i.left-Y}}function a(){const T=document.getElementById("post-toc");T&&(T.style.cursor="grab",T.style.removeProperty("user-select")),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",a)}let f=!1;function d(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grabbing",A.style.userSelect="none",i={left:A.scrollLeft,top:A.scrollTop,x:T.touches[0].clientX,y:T.touches[0].clientY}),document.addEventListener("touchmove",p),document.addEventListener("touchend",b)}function p(T){const A=document.getElementById("post-toc");if(A){const Y=T.touches[0].clientX-i.x,N=T.touches[0].clientY-i.y;A.scrollTop=i.top+N,A.scrollLeft=i.left-Y,f=!0}}function b(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grab",A.style.removeProperty("user-select"),f&&(f=!1,T.preventDefault(),T.stopPropagation())),document.removeEventListener("touchmove",p),document.removeEventListener("touchend",b)}let I,k,S=!1,w=!1;function _(){const A=I.scrollHeight-k;o(4,S=I.scrollTop>0),o(5,w=I.scrollTop{window.scrollTo({top:0,behavior:"smooth"})},F=T=>{T.key==="Enter"&&window.scrollTo({top:0,behavior:"smooth"})},X=T=>{T.key==="Enter"&&z()};function P(T){Ne[T?"unshift":"push"](()=>{I=T,o(1,I)})}function D(){k=this.clientHeight,o(2,k)}const Z=T=>{T.key==="Enter"&&v()};return r.$$set=T=>{"toc"in T&&o(0,l=T.toc)},r.$$.update=()=>{if(r.$$.dirty&6&&I){const A=I.scrollHeight-k;o(4,S=I.scrollTop>0),o(5,w=I.scrollTop0),o(12,O=C);const T=document.getElementById("post-toc"),A=Array.from(t.keys()),Y=A.length>0?document.getElementById(A[A.length-1]):void 0;if(T&&Y){const N=T.scrollTop,j=N+T.clientHeight,te=Y.offsetTop,oe=te+Y.clientHeight;if(!(te>=N&&oe<=j)){const Te=L?te:oe;T.scrollTo({top:Te,behavior:"smooth"})}}}},[l,I,k,C,S,w,n,s,d,_,z,v,O,L,t,h,$,F,X,P,D,Z]}class fo extends ze{constructor(e){super(),Le(this,e,co,uo,he,{toc:0})}}/*! medium-zoom 1.0.8 | MIT License | https://github.com/francoischalifour/medium-zoom */var Ce=Object.assign||function(r){for(var e=1;e{let r=new Map;const{subscribe:e,update:o,set:t}=xt(r);return{subscribe:e,init:()=>{r=new Map,t(r)},addTOC:n=>{o(l=>{if(l){l||(l=new Map);const i=l.get(n)||0;l.set(n,i+1)}return l})},delTOC:n=>{o(l=>{if(l){const i=l.get(n);i&&(i-1===0?l.delete(n):l.set(n,i-1))}return l})}}})();function to(r){let e,o,t,n=r[0].LoadingGiscus()+"",l,i,s,c,a;return{c(){e=y("div"),o=y("div"),t=y("h2"),l=re(n),i=B(),s=y("div"),c=B(),a=y("div"),this.h()},l(f){e=E(f,"DIV",{id:!0});var d=H(e);o=E(d,"DIV",{id:!0,class:!0});var p=H(o);t=E(p,"H2",{});var b=H(t);l=le(b,n),b.forEach(m),i=V(p),s=E(p,"DIV",{class:!0}),H(s).forEach(m),p.forEach(m),c=V(d),a=E(d,"DIV",{id:!0,class:!0}),H(a).forEach(m),d.forEach(m),this.h()},h(){u(s,"class","i-line-md-loading-twotone-loop !h-16 !w-16"),u(o,"id","giscus-loading"),u(o,"class","flex flex-col items-center gap2"),u(a,"id","giscus"),u(a,"class","giscus"),u(e,"id","giscus-container")},m(f,d){U(f,e,d),g(e,o),g(o,t),g(t,l),g(o,i),g(o,s),g(e,c),g(e,a)},p(f,d){d&1&&n!==(n=f[0].LoadingGiscus()+"")&&we(l,n)},d(f){f&&m(e)}}}function oo(r){let e,o=to(r);return{c(){o&&o.c(),e=K()},l(t){o&&o.l(t),e=K()},m(t,n){o&&o.m(t,n),U(t,e,n)},p(t,[n]){o.p(t,n)},i:x,o:x,d(t){t&&m(e),o&&o.d(t)}}}function no(r,e,o){let t;me(r,Je,l=>o(0,t=l));let{theme:n}=e;return Ke(()=>{const l=document.createElement("script");Object.entries({src:fe.src??"https://giscus.app/client.js","data-repo":fe.repo,"data-repo-id":fe.repoId,"data-category":fe.category??"","data-category-id":fe.categoryId,"data-mapping":fe.mapping,"data-reactions-enabled":fe.reactionsEnabled,"data-input-position":fe.inputPosition,"data-theme":n??"preferred_color_scheme","data-lang":fe.lang,"data-loading":fe.loading,"data-strict":fe["data-strict"],crossorigin:"anonymous",async:""}).forEach(([i,s])=>{s&&l.setAttribute(i,s)}),setTimeout(()=>{var c;const i=new MutationObserver(()=>{var a;(a=document.getElementById("giscus-loading"))==null||a.remove(),i.disconnect()}),s=document.getElementById("giscus");s&&i.observe(s,{childList:!0}),(c=document.getElementById("giscus-container"))==null||c.appendChild(l)},1e3)}),r.$$set=l=>{"theme"in l&&o(1,n=l.theme)},[t,n]}class ro extends ze{constructor(e){super(),Le(this,e,no,oo,he,{theme:1})}}function pt(r,e,o){const t=r.slice();return t[12]=e[o],t}function lo(r){let e;return{c(){e=y("span"),this.h()},l(o){e=E(o,"SPAN",{class:!0}),H(e).forEach(m),this.h()},h(){u(e,"class","!w-[1.25rem] !h-[1.25rem] i-akar-icons-circle inline-block shrink-0")},m(o,t){U(o,e,t)},p:x,d(o){o&&m(e)}}}function io(r){let e,o,t,n;return{c(){e=y("span"),this.h()},l(l){e=E(l,"SPAN",{role:!0,tabindex:!0,class:!0}),H(e).forEach(m),this.h()},h(){u(e,"role","button"),u(e,"tabindex","0"),u(e,"class",o="cursor-pointer z10 !w-[1.25rem] !h-[1.25rem] inline-block transition-transform duration-300 ease-out shrink-0 "+(r[0]?"i-akar-icons-circle-chevron-up active:translate-y--1 hover:i-akar-icons-circle-chevron-up-fill":"i-akar-icons-circle-chevron-down active:translate-y-1 hover:i-akar-icons-circle-chevron-down-fill"))},m(l,i){U(l,e,i),t||(n=[Q(e,"click",Gt(r[7])),Q(e,"keydown",r[8])],t=!0)},p(l,i){i&1&&o!==(o="cursor-pointer z10 !w-[1.25rem] !h-[1.25rem] inline-block transition-transform duration-300 ease-out shrink-0 "+(l[0]?"i-akar-icons-circle-chevron-up active:translate-y--1 hover:i-akar-icons-circle-chevron-up-fill":"i-akar-icons-circle-chevron-down active:translate-y-1 hover:i-akar-icons-circle-chevron-down-fill"))&&u(e,"class",o)},d(l){l&&m(e),t=!1,je(n)}}}function gt(r){let e,o,t=r[0]&&_t(r);return{c(){t&&t.c(),e=K()},l(n){t&&t.l(n),e=K()},m(n,l){t&&t.m(n,l),U(n,e,l),o=!0},p(n,l){n[0]?t?(t.p(n,l),l&1&&M(t,1)):(t=_t(n),t.c(),M(t,1),t.m(e.parentNode,e)):t&&(ue(),R(t,1,1,()=>{t=null}),ce())},i(n){o||(M(t),o=!0)},o(n){R(t),o=!1},d(n){n&&m(e),t&&t.d(n)}}}function _t(r){let e,o,t,n=de(r[1].child),l=[];for(let s=0;sR(l[s],1,1,()=>{l[s]=null});return{c(){e=y("ul");for(let s=0;s{t&&(o||(o=ct(e,dt,{duration:300},!0)),o.run(1))}),t=!0}},o(s){l=l.filter(Boolean);for(let c=0;c0?io:lo}let k=I(r),S=k(r),w=r[1].child&&r[1].child.length>0&>(r);return{c(){e=y("li"),o=y("div"),S.c(),t=B(),n=y("span"),l=new et(!1),a=B(),w&&w.c(),this.h()},l(_){e=E(_,"LI",{id:!0});var z=H(e);o=E(z,"DIV",{role:!0,tabindex:!0,"data-toc-link":!0,class:!0});var v=H(o);S.l(v),t=V(v),n=E(v,"SPAN",{class:!0});var C=H(n);l=tt(C,!1),C.forEach(m),v.forEach(m),a=V(z),w&&w.l(z),z.forEach(m),this.h()},h(){l.a=null,u(n,"class",s=(r[3].get(r[1].slug)?"!text-black !font-900 scale-105 !dark:text-white":"")+" cursor-pointer select-none text-black/[0.6] group-hover:text-black dark:text-white/[0.6] dark:group-hover:text-white !dark:group-active:text-black"),u(o,"role","button"),u(o,"tabindex","0"),u(o,"data-toc-link",""),u(o,"class",c="z1 group flex items-center gap2 py2 "+(r[3].get(r[1].slug)?"border-[#0096FF]":"border-transparent")+" svelte-19vg5wt"),ne(o,"pl4",r[2]===1),ne(o,"pl8",r[2]===2),ne(o,"pl12",r[2]===3),ne(o,"pl16",r[2]===4),ne(o,"pl18",r[2]===5),u(e,"id",f=r[1].slug)},m(_,z){U(_,e,z),g(e,o),S.m(o,null),g(o,t),g(o,n),l.m(i,n),g(e,a),w&&w.m(e,null),d=!0,p||(b=[Q(o,"click",r[4]),Q(o,"touchstart",r[5],{passive:!0}),Q(o,"touchend",r[6],{passive:!0}),Q(o,"keydown",r[9])],p=!0)},p(_,[z]){k===(k=I(_))&&S?S.p(_,z):(S.d(1),S=k(_),S&&(S.c(),S.m(o,t))),(!d||z&2)&&i!==(i=_[1].heading+"")&&l.p(i),(!d||z&10&&s!==(s=(_[3].get(_[1].slug)?"!text-black !font-900 scale-105 !dark:text-white":"")+" cursor-pointer select-none text-black/[0.6] group-hover:text-black dark:text-white/[0.6] dark:group-hover:text-white !dark:group-active:text-black"))&&u(n,"class",s),(!d||z&10&&c!==(c="z1 group flex items-center gap2 py2 "+(_[3].get(_[1].slug)?"border-[#0096FF]":"border-transparent")+" svelte-19vg5wt"))&&u(o,"class",c),(!d||z&14)&&ne(o,"pl4",_[2]===1),(!d||z&14)&&ne(o,"pl8",_[2]===2),(!d||z&14)&&ne(o,"pl12",_[2]===3),(!d||z&14)&&ne(o,"pl16",_[2]===4),(!d||z&14)&&ne(o,"pl18",_[2]===5),_[1].child&&_[1].child.length>0?w?(w.p(_,z),z&2&&M(w,1)):(w=gt(_),w.c(),M(w,1),w.m(e,null)):w&&(ue(),R(w,1,1,()=>{w=null}),ce()),(!d||z&2&&f!==(f=_[1].slug))&&u(e,"id",f)},i(_){d||(M(w),d=!0)},o(_){R(w),d=!1},d(_){_&&m(e),S.d(),w&&w.d(),p=!1,je(b)}}}function so(r,e,o){let t;me(r,We,k=>o(3,t=k));let{content:n}=e,{expanded:l=!1}=e,{depth:i=1}=e;function s(){const k=document.getElementById(`${n.slug.substring(1)}`),S=document.getElementById("header-nav");if(k&&S){const w=k.offsetTop-S.clientHeight;window.scrollTo({top:w,behavior:"smooth"})}}let c=!1;function a(){document.addEventListener("touchmove",f)}function f(){c=!0}function d(){c?c=!1:s(),document.removeEventListener("touchmove",f)}const p=()=>{o(0,l=!l)},b=k=>{k.key==="Enter"&&o(0,l=!l)},I=k=>{k.key==="Enter"&&s()};return r.$$set=k=>{"content"in k&&o(1,n=k.content),"expanded"in k&&o(0,l=k.expanded),"depth"in k&&o(2,i=k.depth)},[l,n,i,t,s,a,d,p,b,I]}class Yt extends ze{constructor(e){super(),Le(this,e,so,ao,he,{content:1,expanded:0,depth:2})}}const{window:xe}=Kt;function bt(r,e,o){const t=r.slice();return t[28]=e[o],t}function wt(r){let e,o,t,n=r[6].TableOfContent()+"",l,i,s,c,a,f,d,p,b,I,k,S,w,_,z,v=r[0]&&r[0].length>0&&yt(r);return{c(){e=y("aside"),o=y("div"),t=y("span"),l=re(n),i=B(),s=y("div"),c=y("div"),d=B(),v&&v.c(),p=B(),b=y("div"),I=y("div"),this.h()},l(C){e=E(C,"ASIDE",{"aria-label":!0,class:!0});var O=H(e);o=E(O,"DIV",{role:!0,tabindex:!0,class:!0});var L=H(o);t=E(L,"SPAN",{role:!0,tabindex:!0,class:!0});var h=H(t);l=le(h,n),h.forEach(m),i=V(L),s=E(L,"DIV",{role:!0,tabindex:!0,class:!0});var $=H(s);c=E($,"DIV",{class:!0}),H(c).forEach(m),$.forEach(m),d=V(L),v&&v.l(L),p=V(L),b=E(L,"DIV",{role:!0,tabindex:!0,class:!0});var F=H(b);I=E(F,"DIV",{class:!0}),H(I).forEach(m),F.forEach(m),L.forEach(m),O.forEach(m),this.h()},h(){u(t,"role","button"),u(t,"tabindex","0"),u(t,"class","text-2xl font-bold px4 py2 text-center cursor-pointer"),u(c,"class",a="i-bxs-chevrons-up w6 h6 m-auto "+(r[4]?"op100":"op0")),u(s,"role","button"),u(s,"tabindex","0"),u(s,"class",f=r[4]?"cursor-pointer hover:bg-gray/[0.5]":""),u(I,"class",k="i-bxs-chevrons-down w6 h6 m-auto "+(r[5]?"op100 ":"op0")),u(b,"role","button"),u(b,"tabindex","0"),u(b,"class",S=r[5]?"cursor-pointer hover:bg-gray/[0.5]":""),u(o,"role","button"),u(o,"tabindex","0"),u(o,"class","flex-col"),u(e,"aria-label","Table Of Content"),u(e,"class","sticky top-[4rem] hidden xl:block pb8")},m(C,O){U(C,e,O),g(e,o),g(o,t),g(t,l),g(o,i),g(o,s),g(s,c),g(o,d),v&&v.m(o,null),g(o,p),g(o,b),g(b,I),w=!0,_||(z=[Q(t,"click",r[16]),Q(t,"keydown",r[17]),Q(s,"click",r[10]),Q(s,"touchend",r[10],{passive:!0}),Q(s,"keydown",r[18]),Q(b,"click",r[11]),Q(b,"touchend",r[11],{passive:!0}),Q(b,"keydown",r[21]),Q(o,"mousedown",r[7]),Q(o,"touchstart",qt(r[8]))],_=!0)},p(C,O){(!w||O&64)&&n!==(n=C[6].TableOfContent()+"")&&we(l,n),(!w||O&16&&a!==(a="i-bxs-chevrons-up w6 h6 m-auto "+(C[4]?"op100":"op0")))&&u(c,"class",a),(!w||O&16&&f!==(f=C[4]?"cursor-pointer hover:bg-gray/[0.5]":""))&&u(s,"class",f),C[0]&&C[0].length>0?v?(v.p(C,O),O&1&&M(v,1)):(v=yt(C),v.c(),M(v,1),v.m(o,p)):v&&(ue(),R(v,1,1,()=>{v=null}),ce()),(!w||O&32&&k!==(k="i-bxs-chevrons-down w6 h6 m-auto "+(C[5]?"op100 ":"op0")))&&u(I,"class",k),(!w||O&32&&S!==(S=C[5]?"cursor-pointer hover:bg-gray/[0.5]":""))&&u(b,"class",S)},i(C){w||(M(v),w=!0)},o(C){R(v),w=!1},d(C){C&&m(e),v&&v.d(),_=!1,je(z)}}}function yt(r){let e,o,t,n,l,i=de(r[0]),s=[];for(let a=0;aR(s[a],1,1,()=>{s[a]=null});return{c(){e=y("ul");for(let a=0;ar[20].call(e))},m(a,f){U(a,e,f);for(let d=0;d{e=!1},t,n,l,i,s;se(r[15]);let c=r[0]&&r[0].length>0&&wt(r);return{c(){c&&c.c(),n=K()},l(a){c&&c.l(a),n=K()},m(a,f){c&&c.m(a,f),U(a,n,f),l=!0,i||(s=Q(xe,"scroll",()=>{e=!0,clearTimeout(t),t=setTimeout(o,100),r[15]()}),i=!0)},p(a,[f]){f&8&&!e&&(e=!0,clearTimeout(t),scrollTo(xe.pageXOffset,a[3]),t=setTimeout(o,100)),a[0]&&a[0].length>0?c?(c.p(a,f),f&1&&M(c,1)):(c=wt(a),c.c(),M(c,1),c.m(n.parentNode,n)):c&&(ue(),R(c,1,1,()=>{c=null}),ce())},i(a){l||(M(c),l=!0)},o(a){R(c),l=!1},d(a){a&&m(n),c&&c.d(a),i=!1,s()}}}function co(r,e,o){let t,n;me(r,We,T=>o(14,t=T)),me(r,Je,T=>o(6,n=T));let{toc:l}=e,i={top:0,left:0,x:0,y:0};function s(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grabbing",A.style.userSelect="none",i={left:A.scrollLeft,top:A.scrollTop,x:T.clientX,y:T.clientY}),document.addEventListener("mousemove",c),document.addEventListener("mouseup",a)}function c(T){const A=document.getElementById("post-toc");if(A){const Y=T.clientX-i.x,N=T.clientY-i.y;A.scrollTop=i.top+N,A.scrollLeft=i.left-Y}}function a(){const T=document.getElementById("post-toc");T&&(T.style.cursor="grab",T.style.removeProperty("user-select")),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",a)}let f=!1;function d(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grabbing",A.style.userSelect="none",i={left:A.scrollLeft,top:A.scrollTop,x:T.touches[0].clientX,y:T.touches[0].clientY}),document.addEventListener("touchmove",p),document.addEventListener("touchend",b)}function p(T){const A=document.getElementById("post-toc");if(A){const Y=T.touches[0].clientX-i.x,N=T.touches[0].clientY-i.y;A.scrollTop=i.top+N,A.scrollLeft=i.left-Y,f=!0}}function b(T){const A=document.getElementById("post-toc");A&&(A.style.cursor="grab",A.style.removeProperty("user-select"),f&&(f=!1,T.preventDefault(),T.stopPropagation())),document.removeEventListener("touchmove",p),document.removeEventListener("touchend",b)}let I,k,S=!1,w=!1;function _(){const A=I.scrollHeight-k;o(4,S=I.scrollTop>0),o(5,w=I.scrollTop{window.scrollTo({top:0,behavior:"smooth"})},F=T=>{T.key==="Enter"&&window.scrollTo({top:0,behavior:"smooth"})},X=T=>{T.key==="Enter"&&z()};function P(T){Ne[T?"unshift":"push"](()=>{I=T,o(1,I)})}function D(){k=this.clientHeight,o(2,k)}const Z=T=>{T.key==="Enter"&&v()};return r.$$set=T=>{"toc"in T&&o(0,l=T.toc)},r.$$.update=()=>{if(r.$$.dirty&6&&I){const A=I.scrollHeight-k;o(4,S=I.scrollTop>0),o(5,w=I.scrollTop0),o(12,O=C);const T=document.getElementById("post-toc"),A=Array.from(t.keys()),Y=A.length>0?document.getElementById(A[A.length-1]):void 0;if(T&&Y){const N=T.scrollTop,j=N+T.clientHeight,te=Y.offsetTop,oe=te+Y.clientHeight;if(!(te>=N&&oe<=j)){const Te=L?te:oe;T.scrollTo({top:Te,behavior:"smooth"})}}}},[l,I,k,C,S,w,n,s,d,_,z,v,O,L,t,h,$,F,X,P,D,Z]}class fo extends ze{constructor(e){super(),Le(this,e,co,uo,he,{toc:0})}}/*! medium-zoom 1.0.8 | MIT License | https://github.com/francoischalifour/medium-zoom */var Ce=Object.assign||function(r){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{},t=window.Promise||function(P){function D(){}P(D,D)},n=function(P){var D=P.target;if(D===$){I();return}z.indexOf(D)!==-1&&k({target:D})},l=function(){if(!(C||!h.original)){var P=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(O-P)>L.scrollOffset&&setTimeout(I,150)}},i=function(P){var D=P.key||P.keyCode;(D==="Escape"||D==="Esc"||D===27)&&I()},s=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=P;if(P.background&&($.style.background=P.background),P.container&&P.container instanceof Object&&(D.container=Ce({},L.container,P.container)),P.template){var Z=$e(P.template)?P.template:document.querySelector(P.template);D.template=Z}return L=Ce({},L,D),z.forEach(function(T){T.dispatchEvent(Oe("medium-zoom:update",{detail:{zoom:F}}))}),F},c=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r(Ce({},L,P))},a=function(){for(var P=arguments.length,D=Array(P),Z=0;Z0?D.reduce(function(A,Y){return[].concat(A,zt(Y))},[]):z;return T.forEach(function(A){A.classList.remove("medium-zoom-image"),A.dispatchEvent(Oe("medium-zoom:detach",{detail:{zoom:F}}))}),z=z.filter(function(A){return T.indexOf(A)===-1}),F},d=function(P,D){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z.forEach(function(T){T.addEventListener("medium-zoom:"+P,D,Z)}),v.push({type:"medium-zoom:"+P,listener:D,options:Z}),F},p=function(P,D){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return z.forEach(function(T){T.removeEventListener("medium-zoom:"+P,D,Z)}),v=v.filter(function(T){return!(T.type==="medium-zoom:"+P&&T.listener.toString()===D.toString())}),F},b=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=P.target,Z=function(){var A={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},Y=void 0,N=void 0;if(L.container)if(L.container instanceof Object)A=Ce({},A,L.container),Y=A.width-A.left-A.right-L.margin*2,N=A.height-A.top-A.bottom-L.margin*2;else{var j=$e(L.container)?L.container:document.querySelector(L.container),te=j.getBoundingClientRect(),oe=te.width,Ie=te.height,Te=te.left,Pe=te.top;A=Ce({},A,{width:oe,height:Ie,left:Te,top:Pe})}Y=Y||A.width-L.margin*2,N=N||A.height-L.margin*2;var ae=h.zoomedHd||h.original,ee=kt(ae)?Y:ae.naturalWidth||Y,Ue=kt(ae)?N:ae.naturalHeight||N,Ae=ae.getBoundingClientRect(),J=Ae.top,q=Ae.left,W=Ae.width,be=Ae.height,Re=Math.min(Math.max(W,ee),Y)/W,He=Math.min(Math.max(be,Ue),N)/be,Se=Math.min(Re,He),Be=(-q+(Y-W)/2+L.margin+A.left)/Se,Ve=(-J+(N-be)/2+L.margin+A.top)/Se,ye="scale("+Se+") translate3d("+Be+"px, "+Ve+"px, 0)";h.zoomed.style.transform=ye,h.zoomedHd&&(h.zoomedHd.style.transform=ye)};return new t(function(T){if(D&&z.indexOf(D)===-1){T(F);return}var A=function oe(){C=!1,h.zoomed.removeEventListener("transitionend",oe),h.original.dispatchEvent(Oe("medium-zoom:opened",{detail:{zoom:F}})),T(F)};if(h.zoomed){T(F);return}if(D)h.original=D;else if(z.length>0){var Y=z;h.original=Y[0]}else{T(F);return}if(h.original.dispatchEvent(Oe("medium-zoom:open",{detail:{zoom:F}})),O=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,C=!0,h.zoomed=po(h.original),document.body.appendChild($),L.template){var N=$e(L.template)?L.template:document.querySelector(L.template);h.template=document.createElement("div"),h.template.appendChild(N.content.cloneNode(!0)),document.body.appendChild(h.template)}if(h.original.parentElement&&h.original.parentElement.tagName==="PICTURE"&&h.original.currentSrc&&(h.zoomed.src=h.original.currentSrc),document.body.appendChild(h.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),h.original.classList.add("medium-zoom-image--hidden"),h.zoomed.classList.add("medium-zoom-image--opened"),h.zoomed.addEventListener("click",I),h.zoomed.addEventListener("transitionend",A),h.original.getAttribute("data-zoom-src")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("srcset"),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading"),h.zoomedHd.src=h.zoomed.getAttribute("data-zoom-src"),h.zoomedHd.onerror=function(){clearInterval(j),console.warn("Unable to reach the zoom image target "+h.zoomedHd.src),h.zoomedHd=null,Z()};var j=setInterval(function(){h.zoomedHd.complete&&(clearInterval(j),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",I),document.body.appendChild(h.zoomedHd),Z())},10)}else if(h.original.hasAttribute("srcset")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading");var te=h.zoomedHd.addEventListener("load",function(){h.zoomedHd.removeEventListener("load",te),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",I),document.body.appendChild(h.zoomedHd),Z()})}else Z()})},I=function(){return new t(function(P){if(C||!h.original){P(F);return}var D=function Z(){h.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(h.zoomed),h.zoomedHd&&document.body.removeChild(h.zoomedHd),document.body.removeChild($),h.zoomed.classList.remove("medium-zoom-image--opened"),h.template&&document.body.removeChild(h.template),C=!1,h.zoomed.removeEventListener("transitionend",Z),h.original.dispatchEvent(Oe("medium-zoom:closed",{detail:{zoom:F}})),h.original=null,h.zoomed=null,h.zoomedHd=null,h.template=null,P(F)};C=!0,document.body.classList.remove("medium-zoom--opened"),h.zoomed.style.transform="",h.zoomedHd&&(h.zoomedHd.style.transform=""),h.template&&(h.template.style.transition="opacity 150ms",h.template.style.opacity=0),h.original.dispatchEvent(Oe("medium-zoom:close",{detail:{zoom:F}})),h.zoomed.addEventListener("transitionend",D)})},k=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=P.target;return h.original?I():b({target:D})},S=function(){return L},w=function(){return z},_=function(){return h.original},z=[],v=[],C=!1,O=0,L=o,h={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?L=e:(e||typeof e=="string")&&a(e),L=Ce({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},L);var $=ho(L.background);document.addEventListener("click",n),document.addEventListener("keyup",i),document.addEventListener("scroll",l),window.addEventListener("resize",I);var F={open:b,close:I,toggle:k,update:s,clone:c,attach:a,detach:f,on:d,off:p,getOptions:S,getImages:w,getZoomedImage:_};return F};function _o(r,e){e===void 0&&(e={});var o=e.insertAt;if(!(!r||typeof document>"u")){var t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",o==="top"&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}}var vo=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";_o(vo);const bo=go;function Lt(r,e,o){const t=r.slice();return t[17]=e[o],t[19]=o,t}function It(r,e,o){const t=r.slice();return t[20]=e[o][0],t[21]=e[o][1],t}function Tt(r,e,o){const t=r.slice();return t[17]=e[o],t[19]=o,t}function wo(r){let e,o,t;return{c(){e=y("img"),this.h()},l(n){e=E(n,"IMG",{draggable:!0,itemprop:!0,class:!0,decoding:!0,loading:!0,src:!0,alt:!0,width:!0,height:!0}),this.h()},h(){u(e,"draggable","false"),u(e,"itemprop","image"),u(e,"class",o="z-50 m-auto md:rounded-2xl md:shadow-xl "+(r[2]??"h-full w-auto aspect-auto object-cover")),u(e,"decoding",r[7]),u(e,"loading",r[6]),Qe(e.src,t=r[4])||u(e,"src",t),u(e,"alt",r[5]),u(e,"width",r[0]),u(e,"height",r[1])},m(n,l){U(n,e,l),r[15](e)},p(n,l){l&4&&o!==(o="z-50 m-auto md:rounded-2xl md:shadow-xl "+(n[2]??"h-full w-auto aspect-auto object-cover"))&&u(e,"class",o),l&128&&u(e,"decoding",n[7]),l&64&&u(e,"loading",n[6]),l&16&&!Qe(e.src,t=n[4])&&u(e,"src",t),l&32&&u(e,"alt",n[5]),l&1&&u(e,"width",n[0]),l&2&&u(e,"height",n[1])},d(n){n&&m(e),r[15](null)}}}function yo(r){let e,o,t=Me.ExtraResolutions&&Object.keys(Me.ExtraResolutions).length,n,l,i,s,c=r[10]&&Eo(r),a=t&&ko(r);return{c(){e=y("picture"),c&&c.c(),o=B(),a&&a.c(),n=B(),l=y("img"),this.h()},l(f){e=E(f,"PICTURE",{});var d=H(e);c&&c.l(d),o=V(d),a&&a.l(d),n=V(d),l=E(d,"IMG",{draggable:!0,itemprop:!0,class:!0,decoding:!0,loading:!0,src:!0,alt:!0,width:!0,height:!0}),d.forEach(m),this.h()},h(){u(l,"draggable","false"),u(l,"itemprop","image"),u(l,"class",i="z-50 m-auto md:rounded-2xl md:shadow-xl "+(r[2]??"h-full w-auto aspect-auto object-cover")),u(l,"decoding",r[7]),u(l,"loading",r[6]),Qe(l.src,s=r[9].original)||u(l,"src",s),u(l,"alt",r[5]),u(l,"width",r[0]),u(l,"height",r[1])},m(f,d){U(f,e,d),c&&c.m(e,null),g(e,o),a&&a.m(e,null),g(e,n),g(e,l),r[14](l)},p(f,d){f[10]&&c.p(f,d),t&&a.p(f,d),d&4&&i!==(i="z-50 m-auto md:rounded-2xl md:shadow-xl "+(f[2]??"h-full w-auto aspect-auto object-cover"))&&u(l,"class",i),d&128&&u(l,"decoding",f[7]),d&64&&u(l,"loading",f[6]),d&32&&u(l,"alt",f[5]),d&1&&u(l,"width",f[0]),d&2&&u(l,"height",f[1])},d(f){f&&m(e),c&&c.d(),a&&a.d(),r[14](null)}}}function Eo(r){let e,o=de(r[10]),t=[];for(let n=0;n{s&&(i&&i.end(1),l=Ee(e,ie,{duration:300,delay:300}),l.start())}),s=!0)},o(b){R(p,b),l&&l.invalidate(),i=ke(e,ie,{duration:300}),s=!1},d(b){b&&m(e),f.d(),p&&p.d(b),b&&i&&i.end()}}}function Lo(r,e,o){let t;me(r,Ft,v=>o(16,t=v));let{$$slots:n={},$$scope:l}=e,i,{class:s=void 0}=e,{captionClass:c=void 0}=e,{src:a}=e,{alt:f=a}=e,{loading:d="lazy"}=e,{decoding:p="async"}=e,{width:b=void 0}=e,{height:I=void 0}=e,k=t.get(a);const S=Me.ExtraResolutions&&Object.entries(Me.ExtraResolutions).filter(v=>k&&k[v[0]]).sort((v,C)=>+C[0]-+v[0]),w=function(v,C){if(!k)return;let O=k[v];return O&&Array.isArray(O)?O[C]:O};Ke(()=>{bo(i,{scrollOffset:0,background:"rgba(25, 18, 25, .9)"})});function _(v){Ne[v?"unshift":"push"](()=>{i=v,o(8,i)})}function z(v){Ne[v?"unshift":"push"](()=>{i=v,o(8,i)})}return r.$$set=v=>{"class"in v&&o(2,s=v.class),"captionClass"in v&&o(3,c=v.captionClass),"src"in v&&o(4,a=v.src),"alt"in v&&o(5,f=v.alt),"loading"in v&&o(6,d=v.loading),"decoding"in v&&o(7,p=v.decoding),"width"in v&&o(0,b=v.width),"height"in v&&o(1,I=v.height),"$$scope"in v&&o(12,l=v.$$scope)},o(0,b=k==null?void 0:k.width),o(1,I=k==null?void 0:k.height),[b,I,s,c,a,f,d,p,i,k,S,w,l,n,_,z]}class Io extends ze{constructor(e){super(),Le(this,e,Lo,zo,he,{class:2,captionClass:3,src:4,alt:5,loading:6,decoding:7,width:0,height:1})}}function St(r){let e,o;return e=new Io({props:{src:r[0].cover,class:"w-full h-auto aspect-auto object-cover md:rounded-2xl md:shadow-xl",loading:"eager",$$slots:{default:[To]},$$scope:{ctx:r}}}),{c(){pe(e.$$.fragment)},l(t){ge(e.$$.fragment,t)},m(t,n){_e(e,t,n),o=!0},p(t,n){const l={};n&1&&(l.src=t[0].cover),n&5&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){o||(M(e.$$.fragment,t),o=!0)},o(t){R(e.$$.fragment,t),o=!1},d(t){ve(e,t)}}}function Ot(r){let e,o=r[0].coverCaption+"",t;return{c(){e=new et(!1),t=K(),this.h()},l(n){e=tt(n,!1),t=K(),this.h()},h(){e.a=t},m(n,l){e.m(o,n,l),U(n,t,l)},p(n,l){l&1&&o!==(o=n[0].coverCaption+"")&&e.p(o)},d(n){n&&(m(t),e.d())}}}function To(r){let e,o=r[0].coverCaption&&Ot(r);return{c(){o&&o.c(),e=K()},l(t){o&&o.l(t),e=K()},m(t,n){o&&o.m(t,n),U(t,e,n)},p(t,n){t[0].coverCaption?o?o.p(t,n):(o=Ot(t),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null)},d(t){t&&m(e),o&&o.d(t)}}}function Ao(r){let e,o,t,n=new URL(r[0].slug,G.url).href+"",l,i,s,c,a,f,d,p,b,I=G.author.name+"",k,S,w,_,z=ft(r[0].published)+"",v,C,O,L,h,$=mt(r[0].updated)+"",F,X,P,D,Z=r[1].Updated()+"",T,A,Y=ht(r[0].updated)+"",N,j,te,oe,Ie=r[0].title+"",Te,Pe,ae,ee,Ue,Ae;a=new Jt({props:{width:"32px",height:"32px",class:"inline-block !w-8 !h-8 mr-1 object-cover aspect-1 rounded-full hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"}});let J=r[0].cover&&St(r);return{c(){e=y("div"),o=y("div"),t=y("a"),l=re(n),s=B(),c=y("div"),pe(a.$$.fragment),f=B(),d=y("span"),p=y("a"),b=y("span"),k=re(I),S=B(),w=y("div"),_=y("time"),v=re(z),L=B(),h=y("time"),F=re($),P=B(),D=y("span"),T=re(Z),A=B(),N=re(Y),te=B(),oe=y("h1"),Te=re(Ie),Pe=B(),ae=y("div"),J&&J.c(),this.h()},l(q){e=E(q,"DIV",{class:!0});var W=H(e);o=E(W,"DIV",{class:!0});var be=H(o);t=E(be,"A",{class:!0,href:!0});var Re=H(t);l=le(Re,n),Re.forEach(m),s=V(be),c=E(be,"DIV",{class:!0});var He=H(c);ge(a.$$.fragment,He),f=V(He),d=E(He,"SPAN",{class:!0});var Se=H(d);p=E(Se,"A",{"aria-label":!0,rel:!0,href:!0,class:!0});var Be=H(p);b=E(Be,"SPAN",{class:!0});var Ve=H(b);k=le(Ve,I),Ve.forEach(m),Be.forEach(m),Se.forEach(m),He.forEach(m),S=V(be),w=E(be,"DIV",{class:!0});var ye=H(w);_=E(ye,"TIME",{class:!0,"aria-label":!0,datetime:!0,itemprop:!0});var it=H(_);v=le(it,z),it.forEach(m),L=V(ye),h=E(ye,"TIME",{class:!0,datetime:!0,itemprop:!0});var at=H(h);F=le(at,$),at.forEach(m),P=V(ye),D=E(ye,"SPAN",{"aria-label":!0});var Fe=H(D);T=le(Fe,Z),A=V(Fe),N=le(Fe,Y),Fe.forEach(m),ye.forEach(m),be.forEach(m),te=V(W),oe=E(W,"H1",{itemprop:!0,class:!0});var st=H(oe);Te=le(st,Ie),st.forEach(m),Pe=V(W),ae=E(W,"DIV",{class:!0});var ut=H(ae);J&&J.l(ut),ut.forEach(m),W.forEach(m),this.h()},h(){u(t,"class","hidden u-url u-uid"),u(t,"href",i=new URL(r[0].slug,G.url).href),u(b,"class","p-name"),u(p,"aria-label","Github Page"),u(p,"rel","author external"),u(p,"href",G.author.github),u(p,"class","u-url u-uid"),u(d,"class","font-bold text-base"),u(c,"class","p-author h-card flex items-center gap-1 pl-0 shrink-0"),u(_,"class","dt-published"),u(_,"aria-label",C=r[1].FirstPublishedAt()+" "+new Date(r[0].published).toLocaleString(Ze.toPublishedString.locales,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",timeZone:`${G.timeZone}`})),u(_,"datetime",O=r[0].published),u(_,"itemprop","datePublished"),u(h,"class","hidden dt-updated"),u(h,"datetime",X=r[0].updated),u(h,"itemprop","dateModified"),u(D,"aria-label",j=r[1].LastUpdatedAt()+" "+new Date(r[0].updated).toLocaleString(Ze.toPublishedString.locales,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",timeZone:`${G.timeZone}`})),u(w,"class","flex flex-col gap1 text-right text-sm font-semibold op80"),u(o,"class","flex justify-between items-center mx--4 md:mx0"),u(oe,"itemprop","name headline"),u(oe,"class","p-name text-4xl my4 mx--4 md:mx0"),u(ae,"class","mx--8 md:mx0"),u(e,"class","flex flex-col pt8 mx8")},m(q,W){U(q,e,W),g(e,o),g(o,t),g(t,l),g(o,s),g(o,c),_e(a,c,null),g(c,f),g(c,d),g(d,p),g(p,b),g(b,k),g(o,S),g(o,w),g(w,_),g(_,v),g(w,L),g(w,h),g(h,F),g(w,P),g(w,D),g(D,T),g(D,A),g(D,N),g(e,te),g(e,oe),g(oe,Te),g(e,Pe),g(e,ae),J&&J.m(ae,null),ee=!0,Ue||(Ae=[Ge(qe.call(null,p)),Ge(qe.call(null,_)),Ge(qe.call(null,D))],Ue=!0)},p(q,[W]){(!ee||W&1)&&n!==(n=new URL(q[0].slug,G.url).href+"")&&we(l,n),(!ee||W&1&&i!==(i=new URL(q[0].slug,G.url).href))&&u(t,"href",i),(!ee||W&1)&&z!==(z=ft(q[0].published)+"")&&we(v,z),(!ee||W&3&&C!==(C=q[1].FirstPublishedAt()+" "+new Date(q[0].published).toLocaleString(Ze.toPublishedString.locales,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",timeZone:`${G.timeZone}`})))&&u(_,"aria-label",C),(!ee||W&1&&O!==(O=q[0].published))&&u(_,"datetime",O),(!ee||W&1)&&$!==($=mt(q[0].updated)+"")&&we(F,$),(!ee||W&1&&X!==(X=q[0].updated))&&u(h,"datetime",X),(!ee||W&2)&&Z!==(Z=q[1].Updated()+"")&&we(T,Z),(!ee||W&1)&&Y!==(Y=ht(q[0].updated)+"")&&we(N,Y),(!ee||W&3&&j!==(j=q[1].LastUpdatedAt()+" "+new Date(q[0].updated).toLocaleString(Ze.toPublishedString.locales,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",timeZone:`${G.timeZone}`})))&&u(D,"aria-label",j),(!ee||W&1)&&Ie!==(Ie=q[0].title+"")&&we(Te,Ie),q[0].cover?J?(J.p(q,W),W&1&&M(J,1)):(J=St(q),J.c(),M(J,1),J.m(ae,null)):J&&(ue(),R(J,1,1,()=>{J=null}),ce())},i(q){ee||(M(a.$$.fragment,q),M(J),ee=!0)},o(q){R(a.$$.fragment,q),R(J),ee=!1},d(q){q&&m(e),ve(a),J&&J.d(),Ue=!1,je(Ae)}}}function Co(r,e,o){let t;me(r,Je,l=>o(1,t=l));let{data:n}=e;return r.$$set=l=>{"data"in l&&o(0,n=l.data)},[n,t]}class Ho extends ze{constructor(e){super(),Le(this,e,Co,Ao,he,{data:0})}}function So(r){let e,o,t;return{c(){e=y("meta"),o=B(),t=y("meta"),this.h()},l(n){e=E(n,"META",{property:!0,content:!0}),o=V(n),t=E(n,"META",{name:!0,content:!0}),this.h()},h(){u(e,"property","og:image"),u(e,"content",new URL(G.cover,G.url).href),u(t,"name","twitter:image"),u(t,"content",new URL(G.cover,G.url).href)},m(n,l){U(n,e,l),U(n,o,l),U(n,t,l)},p:x,d(n){n&&(m(e),m(o),m(t))}}}function Oo(r){let e,o,t,n,l,i,s;return{c(){e=y("meta"),o=B(),t=y("meta"),n=B(),l=y("meta"),i=B(),s=y("meta"),this.h()},l(c){e=E(c,"META",{property:!0,content:!0}),o=V(c),t=E(c,"META",{property:!0,content:!0}),n=V(c),l=E(c,"META",{property:!0,content:!0}),i=V(c),s=E(c,"META",{name:!0,content:!0}),this.h()},h(){u(e,"property","og:image"),u(e,"content",new URL(r[1].original,G.url).href),u(t,"property","og:image:width"),u(t,"content",""+r[1].width),u(l,"property","og:image:height"),u(l,"content",""+r[1].height),u(s,"name","twitter:image"),u(s,"content",new URL(r[1].original,G.url).href)},m(c,a){U(c,e,a),U(c,o,a),U(c,t,a),U(c,n,a),U(c,l,a),U(c,i,a),U(c,s,a)},p:x,d(c){c&&(m(e),m(o),m(t),m(n),m(l),m(i),m(s))}}}function Mo(r){let e,o,t,n,l,i,s,c,a,f,d,p,b,I,k,S,w,_,z,v,C,O,L,h,$,F,X,P,D=` @@ -40,7 +40,7 @@ @@ -41,7 +41,7 @@ - + @@ -39,7 +39,7 @@ @@ -40,7 +40,7 @@