diff --git a/_app/immutable/chunks/15.DKmrO29P.js b/_app/immutable/chunks/15.DCW5Bmb-.js similarity index 97% rename from _app/immutable/chunks/15.DKmrO29P.js rename to _app/immutable/chunks/15.DCW5Bmb-.js index b0434850..0efdf5e3 100644 --- a/_app/immutable/chunks/15.DKmrO29P.js +++ b/_app/immutable/chunks/15.DCW5Bmb-.js @@ -1,4 +1,4 @@ -import{a as u,t as p,c as n,p as re,m as X,y as Se,z as Ee,f as A,b as e,n as Q,s as Z}from"./disclose-version.1LEId67l.js";import{a as W,J as be,f as r,m as x,r as P,p as F,z as I,O,j as L}from"./runtime.DGnifXKY.js";import{i as M}from"./if.CgPtiQmf.js";import{p as D}from"./proxy.C4wGTJAX.js";import{T as Ie}from"./Tome_Detail.C07p2OQi.js";import{d as ge,f as ye,a as ue,r as se}from"./attributes.DpZd6nUh.js";import{t as le}from"./class.Bj562WBw.js";import{s as ae}from"./style.CN5pMWL6.js";import{b as de}from"./this.qSMfIyOz.js";import{p as R}from"./props.DRc9zZkl.js";import{a as ze,s as $,C as De}from"./Color_Scheme_Input.Bsjtbu32.js";import{o as Me}from"./index-client.sUOKRFAC.js";import{a as je}from"./tome.BY2dEv2s.js";import{T as me}from"./Tome_Link.OzVTVkk6.js";import{T as he}from"./Tome_Subheading.DvU0e5jB.js";import{u as qe,a as Oe,s as Ae}from"./store.Bc_GimC9.js";import{a as Le,d as Re}from"./Themed.CEqwk016.js";import{M as te}from"./Mdn_Link.D2T5jU7v.js";import{n as Be}from"./index.BNsGiM3m.js";import{b as Ne}from"./input.CV9JyvZH.js";import{C as Pe}from"./Code.9BNetDj4.js";import{d as We}from"./variables.DJ8QgL9I.js";const Fe=(o=0)=>new Promise(t=>setTimeout(t,o));var Je=p('
');function Ve(o,t){W(t,!0);let a=I(void 0);be(()=>{r(a)&&t.to&&i(r(a),t.to)});let s=I(!1);const i=(d,g)=>{var v;x(s,!0),g.appendChild(d),(v=t.onmove)==null||v.call(t,d,g)};Me(()=>{var d,g;(g=(d=r(a))==null?void 0:d.parentNode)==null||g.removeChild(r(a))});var l=Je();de(l,d=>x(a,D(d)),()=>r(a));var c=n(l);ge(()=>t.children,c),P(()=>l.hidden=!r(s)),u(o,l),F()}var Ye=(o,t,a)=>{o.target===r(t)&&a(o)},He=p('
");function te(t,e){B(e,!1);const a=v(),s=v(),i=v();let u=p(e,"pre_attrs",8,()=>{}),P=p(e,"code_attrs",8,()=>{}),r=p(e,"lang",0,"svelte"),C=p(e,"inline",0,!1);m(()=>d(r()),()=>{f(a,r()===null?null:S.languages[r()])}),m(()=>(n(a),d(e.content),d(r())),()=>{f(s,n(a)===null?null:e.content&&S.highlight(e.content,n(a),r()))}),m(()=>(n(s),d(e.content)),()=>{f(i,n(s)??e.content)}),O(),J();var c=K();let b;var y=h(c);let F;var I=h(y);R(I,e.children,{get markup(){return n(i)}},z=>{var _=k(),D=A(_);Y(D,()=>n(s)!==null,g=>{var l=k(),E=A(l);G(E,()=>n(s),!1),o(g,l)},g=>{var l=q(g);x(()=>Z(l,e.content)),o(g,l)}),o(z,_)}),x(()=>{b=j(c,b,[u()],!0,"svelte-1lpbuj2"),H(c,"inline",C()),F=j(y,F,[P()],!0,"svelte-1lpbuj2")}),o(t,c),X()}export{te as C};
+import{u as R,a as o,t as T,c as h,m as k,s as Z,f as A,o as q}from"./disclose-version.1LEId67l.js";import{a as B,X as m,Y as O,r as x,p as X,m as f,N as d,f as n,q as v}from"./runtime.DGnifXKY.js";import{i as Y}from"./if.CgPtiQmf.js";import{h as G}from"./html.DHbuZ9Ym.js";import{s as j}from"./attributes.DpZd6nUh.js";import{t as H}from"./class.Bj562WBw.js";import{i as J}from"./stores.G-qvG1Z9.js";import{p}from"./props.DRc9zZkl.js";import{P as S}from"./prism.Dh8QyuHA.js";(function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),t.languages.ts=t.languages.typescript})(Prism);const w="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+w+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+w+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",t=>{t.type==="entity"&&(t.attributes.title=t.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,a){const s={};s["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[a]},s.cdata=/^$/i;const i={"included-cdata":{pattern://i,inside:s}};i["language-"+a]={pattern:/[\s\S]+/,inside:Prism.languages[a]};const u={};u[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:i},Prism.languages.insertBefore("svelte","cdata",u)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");var K=T("
");function te(t,e){B(e,!1);const a=v(),s=v(),i=v();let u=p(e,"pre_attrs",8,()=>{}),P=p(e,"code_attrs",8,()=>{}),r=p(e,"lang",0,"svelte"),C=p(e,"inline",0,!1);m(()=>d(r()),()=>{f(a,r()===null?null:S.languages[r()])}),m(()=>(n(a),d(e.content),d(r())),()=>{f(s,n(a)===null?null:e.content&&S.highlight(e.content,n(a),r()))}),m(()=>(n(s),d(e.content)),()=>{f(i,n(s)??e.content)}),O(),J();var c=K();let b;var y=h(c);let F;var I=h(y);R(I,e.children,{get markup(){return n(i)}},z=>{var _=k(),D=A(_);Y(D,()=>n(s)!==null,g=>{var l=k(),E=A(l);G(E,()=>n(s),!1),o(g,l)},g=>{var l=q(g);x(()=>Z(l,e.content)),o(g,l)}),o(z,_)}),x(()=>{b=j(c,b,[u()],!0,"svelte-1lpbuj2"),H(c,"inline",C()),F=j(y,F,[P()],!0,"svelte-1lpbuj2")}),o(t,c),X()}export{te as C};
diff --git a/_app/immutable/chunks/Tome_Detail.C07p2OQi.js b/_app/immutable/chunks/Tome_Detail.Bg_4KFbY.js
similarity index 96%
rename from _app/immutable/chunks/Tome_Detail.C07p2OQi.js
rename to _app/immutable/chunks/Tome_Detail.Bg_4KFbY.js
index 501b2f4a..633155ae 100644
--- a/_app/immutable/chunks/Tome_Detail.C07p2OQi.js
+++ b/_app/immutable/chunks/Tome_Detail.Bg_4KFbY.js
@@ -1 +1 @@
-var q=Object.defineProperty;var G=(t,e,a)=>e in t?q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var K=(t,e,a)=>(G(t,typeof e!="symbol"?e+"":e,a),a),J=(t,e,a)=>{if(!e.has(t))throw TypeError("Cannot "+a)};var A=(t,e,a)=>(J(t,e,"read from private field"),a?a.call(t):e.get(t)),S=(t,e,a)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,a)};import{a as n,m as b,n as M,t as p,f as c,c as k,b as f,s as O,o as Q}from"./disclose-version.1LEId67l.js";import{s as V,z as X,f as d,m as Z,g as $,a as R,r as T,p as C,j as y}from"./runtime.DGnifXKY.js";import{i as D}from"./if.CgPtiQmf.js";import{d as I,a as w,e as ee}from"./attributes.DpZd6nUh.js";import{n as te}from"./index.BNsGiM3m.js";import{e as ae}from"./svelte-element.RMH5gttd.js";import{u as re,s as se}from"./store.Bc_GimC9.js";import{p as ne}from"./stores.BBbfWALN.js";import{o as ie}from"./index-client.sUOKRFAC.js";import{p as z}from"./proxy.C4wGTJAX.js";import{b as oe}from"./entry.DCI-TdA-.js";const F="/library",le=(t,e,a=F)=>{const r=e.split("/").at(-1);return{path:oe+a+"/"+t,path_is_selected:r===t,path_segment:r}},N=Symbol("library_links"),Ee=(t=new me)=>V(N,t),_e=()=>{const t=$(N);if(!t)throw Error("get_library_links called before set_library_links");return t};var g;class me{constructor(e=F){K(this,"root_path");S(this,g,X(z([])));this.root_path=e}get library_links(){return d(A(this,g))}set library_links(e){Z(A(this,g),z(e))}add(e,a,r){const i=this.library_links.findIndex(l=>l.id===e);i===-1?this.library_links.push({id:e,text:a,slug:r}):this.library_links[i]={id:e,text:a,slug:r}}remove(e){const a=this.library_links.findIndex(r=>r.id===e);a!==-1&&this.library_links.splice(a,1)}}g=new WeakMap;var de=p("🔗",1),ce=p(' ',1);function he(t,e){R(e,!0);var a=ce(),r=c(a),i=k(r);D(i,()=>e.children,o=>{var s=b(),m=c(s);I(()=>e.children,m),n(o,s)},o=>{var s=de();n(o,s)});var l=f(f(r,!0));T(()=>{w(r,"href",`#${M(e.slug)}`),w(l,"id",e.slug)}),n(t,a),C()}var fe=p(""),ve=p(" ",1);let ue=0;function be(t,e){R(e,!0);const a={};re(a);const r=()=>se(ne,"$page",a),i="tome_title_"+ue++,l=_=>_.toLowerCase().replaceAll(/\s/gu,"-").replaceAll(/\W/gu,""),o=_e(),s=l(e.tome.name);o.add(i,e.tome.name,s),ie(()=>o.remove(i));const m=y(()=>le(e.tome.slug,r().url.pathname)),E=y(()=>{let{path:_,path_is_selected:v}=d(m);return[_,v]}),P=y(()=>d(E)[0]),H=y(()=>d(E)[1]);var Y=b();function j(_,v=te){var u=Q(_);T(()=>O(u,v())),n(_,u)}var U=c(Y);ae(U,()=>d(H)?"h1":"h2",!1,(_,v)=>{ee(_,null,[{class:"tome_title"}],"svelte-5me3nn");var u=ve(),B=c(u);D(B,()=>d(H),x=>{var h=b(),L=c(h);j(L,()=>e.tome.name),n(x,h)},x=>{var h=fe(),L=k(h);j(L,()=>e.tome.name),T(()=>w(h,"href",d(P))),n(x,h)});var W=f(f(B,!0));he(W,{slug:s}),n(v,u)}),n(t,Y),C()}var ge=p('",1);function z(n,m){d(m,!1);const s={};$(s);const r=()=>y(x,"$page",s);l();var a=E(),t=h(a),f=p(t),c=i(i(t,!0)),u=p(c);v(()=>{var e;o(f,r().status),o(u,(e=r().error)==null?void 0:e.message)}),g(n,a),b()}export{z as component}; +import{a as g,t as _,s as o,c as p,f as h,b as i}from"../chunks/disclose-version.1LEId67l.js";import{r as v,p as b,a as d}from"../chunks/runtime.DGnifXKY.js";import{i as l,p as x}from"../chunks/stores.G-qvG1Z9.js";import{u as $,s as y}from"../chunks/store.Bc_GimC9.js";var E=_("
",1);function z(n,m){d(m,!1);const s={};$(s);const r=()=>y(x,"$page",s);l();var a=E(),t=h(a),f=p(t),c=i(i(t,!0)),u=p(c);v(()=>{var e;o(f,r().status),o(u,(e=r().error)==null?void 0:e.message)}),g(n,a),b()}export{z as component}; diff --git a/_app/immutable/nodes/10.DjqaUoFp.js b/_app/immutable/nodes/10.DaA7rTkH.js similarity index 94% rename from _app/immutable/nodes/10.DjqaUoFp.js rename to _app/immutable/nodes/10.DaA7rTkH.js index fec88a62..65662b7f 100644 --- a/_app/immutable/nodes/10.DjqaUoFp.js +++ b/_app/immutable/nodes/10.DaA7rTkH.js @@ -1,4 +1,4 @@ -import{m as c,a,n as _,t as h,f as i,c as r,b as e}from"../chunks/disclose-version.1LEId67l.js";import{p as ye,a as Me}from"../chunks/runtime.DGnifXKY.js";import{a as v}from"../chunks/attributes.DpZd6nUh.js";import{i as ke}from"../chunks/stores.BBbfWALN.js";import{C as m}from"../chunks/Code.9BNetDj4.js";import{b as f}from"../chunks/entry.DCI-TdA-.js";import{T as xe}from"../chunks/Tome_Detail.C07p2OQi.js";import{T as F}from"../chunks/Tome_Link.OzVTVkk6.js";import{a as Le}from"../chunks/tome.BY2dEv2s.js";import{M as l}from"../chunks/Mdn_Link.D2T5jU7v.js";import{T as s}from"../chunks/Tome_Subheading.DvU0e5jB.js";var Ee=h("HTML elements",1),Pe=h('👆 ',1),He=h('👇 ',1),We=h(" and ",1),qe=h("
ul
"),we=h("ol
"),Se=h("menu
"),Ce=h(`Styles for plain . See also and .
a link in a p
div
a link with .selected
code
in a p
code
in a div
apre
is +import{m as c,a,n as _,t as h,f as i,c as r,b as e}from"../chunks/disclose-version.1LEId67l.js";import{p as ye,a as Me}from"../chunks/runtime.DGnifXKY.js";import{a as v}from"../chunks/attributes.DpZd6nUh.js";import{i as ke}from"../chunks/stores.G-qvG1Z9.js";import{C as m}from"../chunks/Code.DzpyRn3m.js";import{b as f}from"../chunks/entry.BngUlNv4.js";import{T as xe}from"../chunks/Tome_Detail.Bg_4KFbY.js";import{T as F}from"../chunks/Tome_Link.CQbnJhLQ.js";import{a as Le}from"../chunks/tome.BY2dEv2s.js";import{M as l}from"../chunks/Mdn_Link.D2T5jU7v.js";import{T as s}from"../chunks/Tome_Subheading.C8pjz_BV.js";var Ee=h("HTML elements",1),Pe=h('👆 ',1),He=h('👇 ',1),We=h(" and ",1),qe=h("ul
"),we=h("ol
"),Se=h("menu
"),Ce=h(`Styles for plain . See also and .a link in a
p
a link in adiv
a link with
.selected
code
in ap
code
in adiv
apre
is preformatted text
code
in apre
is a diff --git a/_app/immutable/nodes/11.ELcvH7Dt.js b/_app/immutable/nodes/11.DqRDO-AT.js similarity index 97% rename from _app/immutable/nodes/11.ELcvH7Dt.js rename to _app/immutable/nodes/11.DqRDO-AT.js index ae87c5f8..9f2c1c3b 100644 --- a/_app/immutable/nodes/11.ELcvH7Dt.js +++ b/_app/immutable/nodes/11.DqRDO-AT.js @@ -1,4 +1,4 @@ -import{m as te,a as i,t as c,s as Ie,f as A,c as t,o as yt,b as e,p as kt}from"../chunks/disclose-version.1LEId67l.js";import{a as Oe,r as E,f as a,p as je,j as b,z as x,m as y,O as p}from"../chunks/runtime.DGnifXKY.js";import{i as C}from"../chunks/if.CgPtiQmf.js";import{s as Fe,d as He,r as T,g as wt,f as Ne,a as M,i as xt}from"../chunks/attributes.DpZd6nUh.js";import{t as Tt}from"../chunks/class.Bj562WBw.js";import{s as z}from"../chunks/style.CN5pMWL6.js";import{t as Re,f as We}from"../chunks/index.CY4dskXF.js";import{b as $,a as ze,c as Mt}from"../chunks/input.CV9JyvZH.js";import{p as At}from"../chunks/proxy.C4wGTJAX.js";import{C as u}from"../chunks/Code.9BNetDj4.js";import{p as Et}from"../chunks/props.DRc9zZkl.js";import{T as Lt}from"../chunks/Tome_Detail.C07p2OQi.js";import{M as ee}from"../chunks/Mdn_Link.D2T5jU7v.js";import{a as Pt}from"../chunks/tome.BY2dEv2s.js";import{T as B}from"../chunks/Tome_Subheading.DvU0e5jB.js";const De={inform:{color:"var(--text_2)",icon:"✻"},help:{color:"var(--color_b_5)",icon:"➺"},error:{color:"var(--color_c_5)",icon:"!?"}};var St=c(''),Ft=c(' ',1),Ht=c(""),Nt=c("");function Rt(L,o){Oe(o,!0);const Y=Et(o,"status",3,"inform"),ae=b(()=>De[Y()]),U=b(()=>a(ae)),P=b(()=>{let{color:_,icon:n}=a(U);return[_,n]}),f=b(()=>a(P)[0]),V=b(()=>a(P)[1]),S=b(()=>o.color??a(f)),F=b(()=>typeof o.icon=="string"?o.icon:a(V)??De.inform.icon);var H=te();function N(_){var n=Ft(),v=A(n);C(v,()=>o.icon!==null,re=>{var W=St(),G=t(W);C(G,()=>!o.icon||typeof o.icon=="string",w=>{var h=yt(w);E(()=>Ie(h,a(F))),i(w,h)},w=>{var h=te(),D=A(h);He(()=>o.icon,D,()=>a(F)),i(w,h)}),i(re,W)});var k=e(e(v,!0)),q=t(k);He(()=>o.children,q),i(_,n)}var R=A(H);C(R,()=>o.onclick,_=>{var n=Ht();let v;var k=t(n);N(k),E(()=>{v=Fe(n,v,[{class:"message"},{type:"button"},{onclick:o.onclick},{disabled:o.disabled},o.attrs],!0,"svelte-1ymyy7n"),z(n,"--color",a(S))}),i(_,n)},_=>{var n=Nt();let v;var k=t(n);N(k),E(()=>{v=Fe(n,v,[{role:"alert"},{class:"message panel"},o.attrs],!0,"svelte-1ymyy7n"),z(n,"--color",a(S))}),i(_,n)}),i(L,H),je()}var Wt=c(" with a ",1),zt=c(""),Dt=(L,o)=>y(o,!0),It=c("cannot create account because this library is fake",1),Ot=(L,o)=>y(o,!1),jt=c(''),Bt=c("form
with range input",1),Ct=c("form
with checkboxes",1),Yt=c("form
with radio inputs",1),Ut=c(''),Vt=c(`