From 2866b50c04f3184d04a58e86f139e6610215a48a Mon Sep 17 00:00:00 2001 From: atk Date: Fri, 5 Jan 2024 10:24:06 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20atk/soli?= =?UTF-8?q?d-cheat-sheet@cfae48a42d525762d98ed1f75c90c3a33e39db8c=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 1 - _build/assets/HttpStatusCode-b5874230.js | 1 + _build/assets/HttpStatusCode-b5874230.js.br | Bin 0 -> 1232 bytes _build/assets/HttpStatusCode-b5874230.js.gz | Bin 0 -> 1396 bytes _build/assets/_...404_-068380c4.js | 3 + _build/assets/client-08b8478f.js | 1 + _build/assets/client-08b8478f.js.br | Bin 0 -> 5491 bytes _build/assets/client-08b8478f.js.gz | Bin 0 -> 6078 bytes .../assets/client-92916b4a.css | 2 +- _build/assets/index-0023436d.css | 1 + _build/assets/index-206de980.js | 1 + _build/assets/index-206de980.js.br | Bin 0 -> 1293 bytes _build/assets/index-206de980.js.gz | Bin 0 -> 1453 bytes _build/assets/index-91d95b5a.js | 1 + _build/assets/index-91d95b5a.js.br | Bin 0 -> 860 bytes _build/assets/index-91d95b5a.js.gz | Bin 0 -> 990 bytes _build/assets/index-de51d363.js | 71 +++++++++++++++++ _build/assets/index-de51d363.js.br | Bin 0 -> 8640 bytes _build/assets/index-de51d363.js.gz | Bin 0 -> 10491 bytes _build/assets/web-cc7aa021.js | 1 + _build/assets/web-cc7aa021.js.br | Bin 0 -> 8619 bytes _build/assets/web-cc7aa021.js.gz | Bin 0 -> 9419 bytes _build/manifest.json | 70 +++++++++++++++++ _build/manifest.json.br | Bin 0 -> 372 bytes _build/manifest.json.gz | Bin 0 -> 411 bytes _build/server-functions-manifest.json | 1 + assets/HttpStatusCode-0273d2f7.js | 1 + assets/HttpStatusCode-0273d2f7.js.br | Bin 0 -> 950 bytes assets/HttpStatusCode-0273d2f7.js.gz | Bin 0 -> 1046 bytes assets/_...404_-427643f4.js | 1 - assets/entry-client-a078a0c2.js | 1 - assets/index-66a585b5.js | 1 - assets/index-770de009.js | 1 + assets/index-770de009.js.br | Bin 0 -> 1127 bytes assets/index-770de009.js.gz | Bin 0 -> 1288 bytes assets/index-95abeee2.js | 3 - assets/ssr-92916b4a.css | 1 + index.html | 74 +++++++++++++++++- index.html.br | Bin 0 -> 8443 bytes index.html.gz | Bin 0 -> 10389 bytes manifest.json | 49 ------------ route-manifest.json | 53 ------------- ssr-manifest.json | 66 ---------------- 43 files changed, 226 insertions(+), 179 deletions(-) delete mode 100644 404.html create mode 100644 _build/assets/HttpStatusCode-b5874230.js create mode 100644 _build/assets/HttpStatusCode-b5874230.js.br create mode 100644 _build/assets/HttpStatusCode-b5874230.js.gz create mode 100644 _build/assets/_...404_-068380c4.js create mode 100644 _build/assets/client-08b8478f.js create mode 100644 _build/assets/client-08b8478f.js.br create mode 100644 _build/assets/client-08b8478f.js.gz rename assets/entry-client-0f2d80ef.css => _build/assets/client-92916b4a.css (86%) create mode 100644 _build/assets/index-0023436d.css create mode 100644 _build/assets/index-206de980.js create mode 100644 _build/assets/index-206de980.js.br create mode 100644 _build/assets/index-206de980.js.gz create mode 100644 _build/assets/index-91d95b5a.js create mode 100644 _build/assets/index-91d95b5a.js.br create mode 100644 _build/assets/index-91d95b5a.js.gz create mode 100644 _build/assets/index-de51d363.js create mode 100644 _build/assets/index-de51d363.js.br create mode 100644 _build/assets/index-de51d363.js.gz create mode 100644 _build/assets/web-cc7aa021.js create mode 100644 _build/assets/web-cc7aa021.js.br create mode 100644 _build/assets/web-cc7aa021.js.gz create mode 100644 _build/manifest.json create mode 100644 _build/manifest.json.br create mode 100644 _build/manifest.json.gz create mode 100644 _build/server-functions-manifest.json create mode 100644 assets/HttpStatusCode-0273d2f7.js create mode 100644 assets/HttpStatusCode-0273d2f7.js.br create mode 100644 assets/HttpStatusCode-0273d2f7.js.gz delete mode 100644 assets/_...404_-427643f4.js delete mode 100644 assets/entry-client-a078a0c2.js delete mode 100644 assets/index-66a585b5.js create mode 100644 assets/index-770de009.js create mode 100644 assets/index-770de009.js.br create mode 100644 assets/index-770de009.js.gz delete mode 100644 assets/index-95abeee2.js create mode 100644 assets/ssr-92916b4a.css create mode 100644 index.html.br create mode 100644 index.html.gz delete mode 100644 manifest.json delete mode 100644 route-manifest.json delete mode 100644 ssr-manifest.json diff --git a/404.html b/404.html deleted file mode 100644 index 6ecdff8..0000000 --- a/404.html +++ /dev/null @@ -1 +0,0 @@ -Solid Cheat Sheet

Page Not Found

Visit https://solidjs.com to learn how to build Solid apps. Cheat Sheet

\ No newline at end of file diff --git a/_build/assets/HttpStatusCode-b5874230.js b/_build/assets/HttpStatusCode-b5874230.js new file mode 100644 index 0000000..de13c55 --- /dev/null +++ b/_build/assets/HttpStatusCode-b5874230.js @@ -0,0 +1 @@ +const _="modulepreload",g=function(e){return"/_build/"+e},d={},p=function(s,t,n){if(!t||t.length===0)return s();const o=document.getElementsByTagName("link");return Promise.all(t.map(i=>{if(i=g(i),i in d)return;d[i]=!0;const r=i.endsWith(".css"),c=r?'[rel="stylesheet"]':"";if(!!n)for(let a=o.length-1;a>=0;a--){const u=o[a];if(u.href===i&&(!r||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const l=document.createElement("link");if(l.rel=r?"stylesheet":_,r||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),r)return new Promise((a,u)=>{l.addEventListener("load",a),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>s()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})},f=[{type:"page",$component:{src:"src/routes/[...404].mdx?pick=$css",build:()=>p(()=>import("./_...404_-068380c4.js"),["assets/_...404_-068380c4.js","assets/index-206de980.js","assets/web-cc7aa021.js"]),import:()=>{const e="src/routes/[...404].mdx?pick=$css";return p(()=>import(globalThis.MANIFEST.client.inputs[e].output.path),[])}},path:"/*404",filePath:"/home/runner/work/solid-cheat-sheet/solid-cheat-sheet/src/routes/[...404].mdx"},{type:"page",$component:{src:"src/routes/index.mdx?pick=$css",build:()=>p(()=>import("./index-de51d363.js"),["assets/index-de51d363.js","assets/web-cc7aa021.js","assets/index-206de980.js","assets/index-91d95b5a.js","assets/index-0023436d.css"]),import:()=>{const e="src/routes/index.mdx?pick=$css";return p(()=>import(globalThis.MANIFEST.client.inputs[e].output.path),[])}},path:"/",filePath:"/home/runner/work/solid-cheat-sheet/solid-cheat-sheet/src/routes/index.mdx"}],v=x(f.filter(e=>e.type==="page"));E(f.filter(e=>e.type==="api"));function x(e){function s(t,n,o,i){const r=Object.values(t).find(c=>o.startsWith(c.id+"/"));return r?(s(r.children||(r.children=[]),n,o.slice(r.id.length)),t):(t.push({...n,id:o,path:o.replace(/\/\([^)/]+\)/g,"")}),t)}return e.sort((t,n)=>t.path.length-n.path.length).reduce((t,n)=>s(t,n,n.path,n.path),[])}function E(e){return e.flatMap(s=>m(s.path).map(n=>({...s,path:n}))).map(R).sort((s,t)=>t.score-s.score)}function m(e){let s=/(\/?\:[^\/]+)\?/.exec(e);if(!s)return[e];let t=e.slice(0,s.index),n=e.slice(s.index+s[0].length);const o=[t,t+=s[1]];for(;s=/^(\/\:[^\/]+)\?/.exec(n);)o.push(t+=s[1]),n=n.slice(s[0].length);return m(n).reduce((i,r)=>[...i,...o.map(c=>c+r)],[])}function R(e){const s=e.path.split("/").filter(Boolean),t=[],n=[];let o=0,i=!1;for(const[r,c]of s.entries())if(c[0]===":"){const h=c.slice(1);o+=3,t.push({type:":",name:h,index:r}),n.push(null)}else c[0]==="*"?(o-=1,t.push({type:"*",name:c.slice(1),index:r}),i=!0):(o+=4,c.match(/^\(.+\)$/)||n.push(c));return{...e,score:o,params:t,matchSegments:n,wildcard:i}}function k(e){return null}export{k as H,p as _,v as p}; diff --git a/_build/assets/HttpStatusCode-b5874230.js.br b/_build/assets/HttpStatusCode-b5874230.js.br new file mode 100644 index 0000000000000000000000000000000000000000..b37f7b58def8732cbf22fb3ec679e180d8cd8142 GIT binary patch literal 1232 zcmV;>1TXs=a|;0EeyR5Ny_{sWG0_O*q@y?X{$6f~I9drOxPTuhRpx5i>_25ZgHTr22dEMZ?}?*>TWGyZ zuEcJYth5;in%);2l2#@h(Zi(M_;@^yo;6QIHRvFgI5a#Rfk2so8wC)J3}1Ga(!0Ie z?f5A6-GMt=aC_L%J$HbvaK0G6Mm2+WhGz9|B$5+|!PO=wv-+o<0rnJ^pLLw9FrO7; zO(8y*d02d{aapET7>~z| z4|Iu6U(bs>QP1d6EEHpayHYtFassoOY(I$|U{r9x+h<*UGv^&X0xhPUaoRXDv12>H z1ZcBE7;>P+Bd3a2Vx94B`!Z&v(c-)R{&SN6(a<{p$dCc9qz|BAPJ9XaD>N5w4oFr! z;go-Jqg51@A6PG%E-fUmi>g_jLCi#P=w8$L$zkR44la3eB32gxXHnE9X`h>~!uSxw zbKx>%T$7$0j770Z8D#ju=aj1{#a^)qA>GkyNopa)d3|oget22>Neg|jT7efA2uddo zWhCF1<4nj^u3J}CeR+L$UH9i=W92r@9O4Yp81MuAiK#mMa1Hk6ee%bx&-QE8_g7t4 zpUyvg29Ps~!eHI4r4sO}Jh>xJgnLpQ`NubZ{_^7w|NSq#s1U9zm$Ws)&C0_04FS{! za>n_gipi7n`kbNHRsLQGj&6vIkKWrT9i5O-!cz4CK~%;+-S14~KNFTwYlPw)bp*PG z!CuUVv&*w?x&+f}WKOh58xQJcKHOYxa5gP5vMmEj|(EC4e-J%m?a*C8v@iQ031Q_aW!tF5W=Gy zRDg9sXmNbHl`Yq|AWhkVyhp|$1CEd-knMHD0!8uxEi}Yq;3B`o4&pS9cydC4l5Iq< zSqUfk2h=21(0ok&(H(et^X_^26cFBZ9?PI4@nb#%Y-s-%lh) z-{=v?l9HYq)2u_}O(J>ATPc9f+aTzQ)O;3hhhx<57fVonnM#xIz!uJp4Fomwp_jH0YR-%F$4NkumYk$8;R4_bi$TA zR5T~ldoqFD1d1U112rffN;=1WP3&QL+j3F1@Ik`y$kN!?Juo|~MRW40fGaUxHDY#l ul%tWPJg&09Mg7{~GS&;X)(wSF^9h~}owh}nil6Z?d2xkL#RbCgkFC=`yeYR zL!E6dG^vqPUSR9L50qplSu-FXwojCJynF7RJKj-R<3n=6(b`sxhT4I)qC#}Z7mblY zS%ZOW9E8RhlwMpmN>?cwLrW{ZX=#0b%+o*(*{B5`h3z&l4Q3fuob!zI>WRl>Dmy&O zD=V8dn8210PBp|&|Kr_fv3xJqfRR?_3X$oc_|e(5^1y`FIIy*-vEs9cr1%mmLRF$n zQVlTEs!$~#WdoGsih-&8A1bUcV$yp=sO0YCyTXCy$cH-(egzOv`CX3CGzKs-WMLiF z5E8-d5X$6mDrP*Jiphj*dgBeZg(#y+!&VL!oOAWymNYn!F zS@^2~cXtLFWUvl@iQyNWL3FTDEh-N-vi-7CA0pHDBuWP&z`*04J+;8P^TM4x^di5Y zZo9>r3D1$2PSpWX&7`y5e{gE43`dAi-AAP89%TihVxq3WR6nhhuCON5?UHNYW|t?7 z1#JkQZ8Q^Ab$SgZ{HA;W0}i9UyhODBwGf=M4pB__tijRZY23hHemCM$LlSH<6ln6( z*;%r%E{XJfA%wJ~C4_|)7#y`dCWJ{59IId<8XZ15h?`K6uyXb$Q7vidf)|@`S3{0! zu>?d9q+Qq6fC>4=JDDTzWa?}az^4Uc>^M6v*}A$tsg=Cq2eD#lckl8TS>45_*0ps3 zBbHwD8W)r7^_!zNnLK8H#tJWx@E(GHT26OTWh%Ixyv$x#@b*piNOS|26DhwJB71ol z1tp<9YUjp4Dez}_zq`hdTwiK?DfH)+^6cFY?|=RI^z1W}TE#k3rfz~Spk%fQbrV=E z!ivzMByCIMcaG8*$JsHW3#H*>zp=7wNL^zLxb()ltJGVqs)<~I2$QbxpW1oachu5n zXRKrJ`RVEjui({Tb@ck^AG!Kk_^;V`P6m6?+r#SZtIJp72~n24JUTvlU3FdY8ToxG z*8d~9|7l|PPNTM@*ZdYQ*h1+54g;S7i+PT1y2~^n)6;*Ei&{nTZrmleaW3xvJPy=Q zOBLDonh%$Mf(-0h=mtCvge{b*u;eq#d=M`56G<{vjZqp+4@9~X?6G4qc31~yyM6G( zi;_ef=CzW59aGgXoCu+T0#4`Y92e&#Eyr_`E-6B! zjjHW{4$Q{{#&8Iq_1W3YKlAX9Fb7p5VRy7=pg%G!eOC7zo!-AB5?~80!aGr8&u44w z`}5ssH+{4Pv&`XK2OUrnV+N# zZb4$`di%%^!>fRD8qWs~1G5?RtScNs&3<#(8v7zEcP#85G)16c%zbfKmecrln0lU` z<9YfuxFJ(w`#cRA5yb339vUCmT4Qrhx1x^lS!`E|GRADjjpQ>qcBFjF_@_uj@1W<< zXV2GK1sp4GSLQ!jt3en-120M%Ypf%~@{B4zI_#q9j1-Q_(k>Fuzyzlt4q3IpvdGGK zLvpkOTX8u=b4aFk%#Y}*A7v!RcFd2dWb5uBke<&m8_&r>O19epPVVnrEIFWEDRsBTiM7uI?NrZT z**#EmLvNI>q;OTP+Iya_9#nP=poQDm1~*rU@X0T`qTj!WH6zxf*)c$@)r3jhFX CL#+S+ literal 0 HcmV?d00001 diff --git a/_build/assets/_...404_-068380c4.js b/_build/assets/_...404_-068380c4.js new file mode 100644 index 0000000..f0e377e --- /dev/null +++ b/_build/assets/_...404_-068380c4.js @@ -0,0 +1,3 @@ +import{M as r}from"./index-206de980.js";import{h as n,q as s}from"./web-cc7aa021.js";import{H as a}from"./HttpStatusCode-b5874230.js";function o(t){const e=Object.assign({h1:"h1",p:"p",a:"a"},r(),t.components);return[n(a,{code:404}),` +`,n(e.h1,{children:"Page Not Found"}),` +`,n(e.p,{get children(){return["Visit ",n(e.a,{href:"https://solidjs.com",children:"https://solidjs.com"})," to learn how to build Solid apps."]}})]}function m(t={}){const{wrapper:e}=Object.assign({},r(),t.components);return e?n(e,s(t,{get children(){return n(o,t)}})):o(t)}export{m as default}; diff --git a/_build/assets/client-08b8478f.js b/_build/assets/client-08b8478f.js new file mode 100644 index 0000000..bbdd53e --- /dev/null +++ b/_build/assets/client-08b8478f.js @@ -0,0 +1 @@ +import{_ as V,p as he,H as me}from"./HttpStatusCode-b5874230.js";import{M as ge}from"./index-91d95b5a.js";import{r as pe,c as P,g as ye,a as Y,b as C,d as we,u as X,e as Z,f as ve,o as ee,s as be,i as Ee,h as v,j as Pe,S as te,k as Re,l as ne,m as Ae,n as q,p as M,q as F,t as Se,w as U,x as N,y as $e,z as Le,E as _e,A as xe}from"./web-cc7aa021.js";const j="Invariant Violation",{setPrototypeOf:Ce=function(e,t){return e.__proto__=t,e}}=Object;class W extends Error{framesToPop=1;name=j;constructor(t=j){super(typeof t=="number"?`${j}: ${t} (see https://github.com/apollographql/invariant-packages)`:t),Ce(this,W.prototype)}}function z(e,t){if(!e)throw new W(t)}function Te(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const Oe=/^[/\\]{2}/,ke=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Ie=/^[A-Za-z]:$/,Be=function(e){if(e.length===0)return".";e=Te(e);const t=e.match(Oe),n=G(e),r=e[e.length-1]==="/";return e=Me(e,!n),e.length===0?n?"/":r?"./":".":(r&&(e+="/"),Ie.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!G(e)?`/${e}`:e)},qe=function(...e){if(e.length===0)return".";let t;for(const n of e)n&&n.length>0&&(t===void 0?t=n:t+=`/${n}`);return t===void 0?".":Be(t.replace(/\/\/+/g,"/"))};function Me(e,t){let n="",r=0,o=-1,s=0,a=null;for(let i=0;i<=e.length;++i){if(i2){const c=n.lastIndexOf("/");c===-1?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),o=i,s=0;continue}else if(n.length>0){n="",r=0,o=i,s=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(o+1,i)}`:n=e.slice(o+1,i),r=i-o-1;o=i,s=0}else a==="."&&s!==-1?++s:s=-1}return n}const G=function(e){return ke.test(e)};function Fe(e){return`virtual:${e}`}function Ue(e){return e.handler?.endsWith(".html")?e.handler:`#vinxi/handler/${e.name}`}const je=new Proxy({},{get(e,t){return z(typeof t=="string","Bundler name should be a string"),{handler:Fe(Ue({name:t})),chunks:new Proxy({},{get(n,r){z(typeof r=="string","Chunk expected");let o=qe("/_build",r+".js");return{import(){return V(()=>import(o),[])},output:{path:o}}}}),inputs:new Proxy({},{get(n,r){z(typeof r=="string","Input must be string");let o=window.manifest[r].output;return{async import(){return V(()=>import(o),[])},async assets(){return window.manifest[r].assets},output:{path:o}}}})}}});globalThis.MANIFEST=je;function ze(){let e=new Set;function t(o){return e.add(o),()=>e.delete(o)}let n=!1;function r(o,s){if(n)return!(n=!1);const a={to:o,options:s,defaultPrevented:!1,preventDefault:()=>a.defaultPrevented=!0};for(const i of e)i.listener({...a,from:i.location,retry:c=>{c&&(n=!0),i.navigate(o,{...s,resolve:!1})}});return!a.defaultPrevented}return{subscribe:t,confirm:r}}const De=/^(?:[a-z0-9]+:)?\/\//i,Ne=/^\/+|(\/)\/+$/g;function T(e,t=!1){const n=e.replace(Ne,"$1");return n?t||/^[?#]/.test(n)?n:"/"+n:""}function k(e,t,n){if(De.test(t))return;const r=T(e),o=n&&T(n);let s="";return!o||t.startsWith("/")?s=r:o.toLowerCase().indexOf(r.toLowerCase())!==0?s=r+o:s=o,(s||"/")+T(t,!s)}function We(e,t){return T(e).replace(/\/*(\*.*)?$/g,"")+T(t)}function re(e){const t={};return e.searchParams.forEach((n,r)=>{t[r]=n}),t}function He(e,t,n){const[r,o]=e.split("/*",2),s=r.split("/").filter(Boolean),a=s.length;return i=>{const c=i.split("/").filter(Boolean),u=c.length-a;if(u<0||u>0&&o===void 0&&!t)return null;const h={path:a?"":"/",params:{}},d=y=>n===void 0?void 0:n[y];for(let y=0;yr.localeCompare(e,void 0,{sensitivity:"base"})===0;return t===void 0?!0:typeof t=="string"?n(t):typeof t=="function"?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp?t.test(e):!1}function Ke(e){const[t,n]=e.pattern.split("/*",2),r=t.split("/").filter(Boolean);return r.reduce((o,s)=>o+(s.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function oe(e){const t=new Map,n=ye();return new Proxy({},{get(r,o){return t.has(o)||pe(n,()=>t.set(o,P(()=>e()[o]))),t.get(o)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())}})}function se(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length);const o=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)o.push(n+=t[1]),r=r.slice(t[0].length);return se(r).reduce((s,a)=>[...s,...o.map(i=>i+a)],[])}const Ve=100,Xe=Y(),H=Y();function Ze(e,t=""){const{component:n,load:r,children:o,metadata:s}=e,a=!o||Array.isArray(o)&&!o.length,i={key:e,component:n,load:r,metadata:s};return ae(e.path).reduce((c,u)=>{for(const h of se(u)){const d=We(t,h),y=a?d:d.split("/*",1)[0];c.push({...i,originalPath:h,pattern:y,matcher:He(y,!a,e.matchFilters)})}return c},[])}function Ge(e,t=0){return{routes:e,score:Ke(e[e.length-1])*1e4-t,matcher(n){const r=[];for(let o=e.length-1;o>=0;o--){const s=e[o],a=s.matcher(n);if(!a)return null;r.unshift({...a,route:s})}return r}}}function ae(e){return Array.isArray(e)?e:[e]}function ie(e,t="",n=[],r=[]){const o=ae(e);for(let s=0,a=o.length;sa.score-s.score)}function ce(e,t){for(let n=0,r=e.length;n{const u=e();try{return new URL(u,n)}catch{return console.error(`Invalid path ${u}`),c}},n,{equals:(c,u)=>c.href===u.href}),o=P(()=>r().pathname),s=P(()=>r().search,!0),a=P(()=>r().hash),i=()=>"";return{get pathname(){return o()},get search(){return s()},get hash(){return a()},get state(){return t()},get key(){return i()},query:oe(ee(s,()=>re(r())))}}let S;function Qe(e,t,n={}){const{signal:[r,o],utils:s={}}=e,a=s.parsePath||(m=>m),i=s.renderPath||(m=>m),c=s.beforeLeave||ze(),u=k("",n.base||"");if(u===void 0)throw new Error(`${u} is not a valid base path`);u&&!r().value&&o({value:u,replace:!0,scroll:!1});const[h,d]=C(!1),y=async m=>{d(!0);try{await be(m)}finally{d(!1)}},[b,f]=C(r().value),[l,g]=C(r().state),p=Je(b,l),R=[],E=C([]),$={pattern:u,params:{},path:()=>u,outlet:()=>null,resolvePath(m){return k(u,m)}};return we(()=>{const{value:m,state:w}=r();X(()=>{m!==b()&&y(()=>{S="native",f(m),g(w),Z(),E[1]([])}).then(()=>{S=void 0})})}),{base:$,location:p,isRouting:h,renderPath:i,parsePath:a,navigatorFactory:le,beforeLeave:c,preloadRoute:fe,submissions:E};function O(m,w,A){X(()=>{if(typeof w=="number"){w&&(s.go?c.confirm(w,A)&&s.go(w):console.warn("Router integration does not support relative routing"));return}const{replace:I,resolve:B,scroll:L,state:_}={replace:!1,resolve:!0,scroll:!0,...A},x=B?m.resolvePath(w):k("",w);if(x===void 0)throw new Error(`Path '${w}' is not a routable path`);if(R.length>=Ve)throw new Error("Too many redirects");const K=b();if((x!==K||_!==l())&&!Ee){if(c.confirm(x,A)){const de=R.push({value:K,replace:I,scroll:L,state:l()});y(()=>{S="navigate",f(x),g(_),Z(),E[1]([])}).then(()=>{R.length===de&&(S=void 0,ue({value:x,state:_}))})}}})}function le(m){return m=m||ve(H)||$,(w,A)=>O(m,w,A)}function ue(m){const w=R[0];w&&((m.value!==w.value||m.state!==w.state)&&o({...m,replace:w.replace,scroll:w.scroll}),R.length=0)}function fe(m,w){const A=ce(t(),m.pathname),I=S;S="preload";for(let B in A){const{route:L,params:_}=A[B];L.component&&L.component.preload&&L.component.preload(),w&&L.load&&L.load({params:_,location:{pathname:m.pathname,search:m.search,hash:m.hash,query:re(m),state:null,key:""},intent:"preload"})}S=I}}function Ye(e,t,n,r,o){const{base:s,location:a}=e,{pattern:i,component:c,load:u}=r().route,h=P(()=>r().path);c&&c.preload&&c.preload();const d=u?u({params:o,location:a,intent:S||"initial"}):void 0;return{parent:t,pattern:i,path:h,params:o,outlet:()=>c?v(c,{params:o,location:a,data:d,get children(){return n()}}):n(),resolvePath(b){return k(s.path(),b,h())}}}const et=e=>t=>{const{base:n}=t,r=Pe(()=>t.children),o=P(()=>ie(t.root?{component:t.root,children:r()}:r(),t.base||"")),s=Qe(e,o,{base:n});return e.create&&e.create(s),v(Xe.Provider,{value:s,get children(){return v(tt,{routerState:s,get branches(){return o()}})}})};function tt(e){const t=P(()=>ce(e.branches,e.routerState.location.pathname)),n=oe(()=>{const a=t(),i={};for(let c=0;c{let u=i&&a.length===i.length;const h=[];for(let d=0,y=a.length;d{r[d]=l,h[d]=Ye(e.routerState,h[d-1]||e.routerState.base,nt(()=>s()[d+1]),()=>t()[d],n)}))}return r.splice(a.length).forEach(d=>d()),c&&u?c:(o=h[0],h)}));return v(te,{get when(){return s()&&o},keyed:!0,children:a=>v(H.Provider,{value:a,get children(){return a.outlet()}})})}const nt=e=>()=>v(te,{get when(){return e()},keyed:!0,children:t=>v(H.Provider,{value:t,get children(){return t.outlet()}})});function rt([e,t],n,r){return[n?()=>n(e()):e,r?o=>t(r(o)):t]}function ot(e){if(e==="#")return null;try{return document.querySelector(e)}catch{return null}}function st(e){let t=!1;const n=o=>typeof o=="string"?{value:o}:o,r=rt(C(n(e.get()),{equals:(o,s)=>o.value===s.value}),void 0,o=>(!t&&e.set(o),o));return e.init&&ne(e.init((o=e.get())=>{t=!0,r[1](n(o)),t=!1})),et({signal:r,create:e.create,utils:e.utils})}function at(e,t,n){return e.addEventListener(t,n),()=>e.removeEventListener(t,n)}function it(e,t){const n=ot(`#${e}`);n?n.scrollIntoView():t&&window.scrollTo(0,0)}const ct=new Map;function lt(e=!0,t=!1,n="/_server"){return r=>{const o=r.base.path(),s=r.navigatorFactory(r.base);let a={};function i(f){return f.namespaceURI==="http://www.w3.org/2000/svg"}function c(f){if(f.defaultPrevented||f.button!==0||f.metaKey||f.altKey||f.ctrlKey||f.shiftKey)return;const l=f.composedPath().find(O=>O instanceof Node&&O.nodeName.toUpperCase()==="A");if(!l||t&&!l.getAttribute("link"))return;const g=i(l),p=g?l.href.baseVal:l.href;if((g?l.target.baseVal:l.target)||!p&&!l.hasAttribute("state"))return;const E=(l.getAttribute("rel")||"").split(/\s+/);if(l.hasAttribute("download")||E&&E.includes("external"))return;const $=g?new URL(p,document.baseURI):new URL(p);if(!($.origin!==window.location.origin||o&&$.pathname&&!$.pathname.toLowerCase().startsWith(o.toLowerCase())))return[l,$]}function u(f){const l=c(f);if(!l)return;const[g,p]=l,R=r.parsePath(p.pathname+p.search+p.hash),E=g.getAttribute("state");f.preventDefault(),s(R,{resolve:!1,replace:g.hasAttribute("replace"),scroll:!g.hasAttribute("noscroll"),state:E&&JSON.parse(E)})}function h(f){const l=c(f);if(!l)return;const[g,p]=l;a[p.pathname]||r.preloadRoute(p,g.getAttribute("preload")!=="false")}function d(f){const l=c(f);if(!l)return;const[g,p]=l;a[p.pathname]||(a[p.pathname]=setTimeout(()=>{r.preloadRoute(p,g.getAttribute("preload")!=="false"),delete a[p.pathname]},200))}function y(f){const l=c(f);if(!l)return;const[,g]=l;a[g.pathname]&&(clearTimeout(a[g.pathname]),delete a[g.pathname])}function b(f){let l=f.submitter&&f.submitter.hasAttribute("formaction")?f.submitter.formAction:f.target.action;if(!l)return;if(!l.startsWith("action:")){const p=new URL(l);if(l=r.parsePath(p.pathname+p.search),!l.startsWith(n))return}if(f.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const g=ct.get(l);if(g){f.preventDefault();const p=new FormData(f.target);g.call(r,p)}}Ae(["click","submit"]),document.addEventListener("click",u),e&&(document.addEventListener("mouseover",d),document.addEventListener("mouseout",y),document.addEventListener("focusin",h),document.addEventListener("touchstart",h)),document.addEventListener("submit",b),ne(()=>{document.removeEventListener("click",u),e&&(document.removeEventListener("mouseover",d),document.removeEventListener("mouseout",y),document.removeEventListener("focusin",h),document.removeEventListener("touchstart",h)),document.removeEventListener("submit",b)})}}function ut(e){return st({get:()=>({value:window.location.pathname+window.location.search+window.location.hash,state:history.state}),set({value:t,replace:n,scroll:r,state:o}){n?window.history.replaceState(o,"",t):window.history.pushState(o,"",t),it(window.location.hash.slice(1),r)},init:t=>at(window,"popstate",()=>t()),create:lt(e.preload,e.explicitLinks,e.actionBase),utils:{go:t=>window.history.go(t)}})(e)}const ft=N("