diff --git a/_app/assets/pages/index.svelte-04ec04e4.css b/_app/assets/pages/index.svelte-04ec04e4.css
new file mode 100644
index 00000000..eb6fcb52
--- /dev/null
+++ b/_app/assets/pages/index.svelte-04ec04e4.css
@@ -0,0 +1 @@
+h1.svelte-5svdfs.svelte-5svdfs{font-size:3rem}main.svelte-5svdfs.svelte-5svdfs{flex:1}.land.svelte-5svdfs.svelte-5svdfs{max-width:500px}.land.svelte-5svdfs p.svelte-5svdfs{font-size:1.5rem}section.svelte-5svdfs.svelte-5svdfs{margin:35px 0}.features.svelte-5svdfs.svelte-5svdfs{max-width:800px;margin:auto}.features-list.svelte-5svdfs.svelte-5svdfs{display:flex;justify-content:space-between;flex-direction:column}.features-list.svelte-5svdfs .feature.svelte-5svdfs{text-align:center;max-width:400px;margin:0 auto;flex:1}.features-list.svelte-5svdfs .feature p.svelte-5svdfs{font-size:1.2rem}@media only screen and (min-width: 600px){.features-list.svelte-5svdfs.svelte-5svdfs{flex-direction:row}.features-list.svelte-5svdfs .feature.svelte-5svdfs{max-width:230px}}.sponsors.svelte-5svdfs.svelte-5svdfs{text-align:center}
diff --git a/_app/assets/pages/index.svelte-0f0e1da7.css b/_app/assets/pages/index.svelte-0f0e1da7.css
deleted file mode 100644
index 73a2c44c..00000000
--- a/_app/assets/pages/index.svelte-0f0e1da7.css
+++ /dev/null
@@ -1 +0,0 @@
-h1.svelte-1qzxbme.svelte-1qzxbme{font-size:3rem}main.svelte-1qzxbme.svelte-1qzxbme{flex:1}.land.svelte-1qzxbme.svelte-1qzxbme{max-width:500px}.land.svelte-1qzxbme p.svelte-1qzxbme{font-size:1.5rem}section.svelte-1qzxbme.svelte-1qzxbme{margin:35px 0}.features.svelte-1qzxbme.svelte-1qzxbme{max-width:800px;margin:auto}.features-list.svelte-1qzxbme.svelte-1qzxbme{display:flex;justify-content:space-between;flex-direction:column}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{text-align:center;max-width:400px;margin:0 auto;flex:1}.features-list.svelte-1qzxbme .feature p.svelte-1qzxbme{font-size:1.2rem}@media only screen and (min-width: 600px){.features-list.svelte-1qzxbme.svelte-1qzxbme{flex-direction:row}.features-list.svelte-1qzxbme .feature.svelte-1qzxbme{max-width:230px}}
diff --git a/_app/chunks/paths-396f020f.js b/_app/chunks/paths-396f020f.js
new file mode 100644
index 00000000..1a95a231
--- /dev/null
+++ b/_app/chunks/paths-396f020f.js
@@ -0,0 +1 @@
+let a="",e="";function t(s){a=s.base,e=s.assets||a}export{e as a,a as b,t as s};
diff --git a/_app/manifest.json b/_app/manifest.json
index e7d193a2..95e27350 100644
--- a/_app/manifest.json
+++ b/_app/manifest.json
@@ -1,10 +1,11 @@
{
".svelte-kit/runtime/client/start.js": {
- "file": "start-1e7cea9b.js",
+ "file": "start-bc61aee3.js",
"src": ".svelte-kit/runtime/client/start.js",
"isEntry": true,
"imports": [
- "_index-ddf26652.js"
+ "_index-ddf26652.js",
+ "_paths-396f020f.js"
],
"dynamicImports": [
"src/routes/__layout.svelte",
@@ -37,22 +38,25 @@
]
},
"src/routes/index.svelte": {
- "file": "pages/index.svelte-4b0bd34d.js",
+ "file": "pages/index.svelte-2902bfa0.js",
"src": "src/routes/index.svelte",
"isEntry": true,
"isDynamicEntry": true,
"imports": [
- "_index-ddf26652.js"
+ "_index-ddf26652.js",
+ "_paths-396f020f.js"
],
"css": [
- "assets/pages/index.svelte-0f0e1da7.css"
+ "assets/pages/index.svelte-04ec04e4.css"
],
"assets": [
- "assets/logo-b74e2b5e.svg",
"assets/kythera-ai-242ee8c4.png"
]
},
"_index-ddf26652.js": {
"file": "chunks/index-ddf26652.js"
+ },
+ "_paths-396f020f.js": {
+ "file": "chunks/paths-396f020f.js"
}
}
\ No newline at end of file
diff --git a/_app/pages/index.svelte-2902bfa0.js b/_app/pages/index.svelte-2902bfa0.js
new file mode 100644
index 00000000..803bcdd4
--- /dev/null
+++ b/_app/pages/index.svelte-2902bfa0.js
@@ -0,0 +1,9 @@
+import{S as T,i as q,s as K,e as s,t as z,g as o,B as A,a as t,b as C,c as B,C as e,n as _,f as D}from"../chunks/index-ddf26652.js";import{b as E}from"../chunks/paths-396f020f.js";var J="/CppSharp/_app/assets/kythera-ai-242ee8c4.png";function N(H){let a,c,l,r,i,b,x,S,p,y,d,w,m,k,h,G,f,v,u,I,n,L;return{c(){a=s("main"),c=s("section"),l=s("div"),r=s("h1"),i=s("img"),x=z(" CppSharp"),S=o(),p=s("p"),p.textContent="Stop writing PInvoke methods by hand. Accelerate your development.",y=o(),d=s("p"),d.textContent="CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem.",w=o(),m=s("div"),m.innerHTML=`
+ `,k=o(),h=s("section"),h.innerHTML=`
Cross-platform
+
Distributed as a nuget package that supports Windows, Linux, and OS X.
+
+
High-performance
+
Generates high-performance C# code with minimal overhead.
+
+
Multiple backends
+
Supports generating C# code, as well as C++/CLI.
`,G=o(),f=s("section"),v=s("div"),u=s("h2"),u.textContent="Sponsors",I=o(),n=s("img"),A(i.src,b=E+"/logo.svg")||t(i,"src",b),t(i,"width","50"),t(i,"height","50"),C(i,"vertical-align","middle"),t(i,"alt",""),C(r,"margin-top","25px"),t(r,"class","svelte-5svdfs"),t(p,"class","svelte-5svdfs"),C(d,"font-size","1.2rem"),t(d,"class","svelte-5svdfs"),t(l,"class","land center text-center svelte-5svdfs"),t(c,"class","svelte-5svdfs"),t(h,"class","svelte-5svdfs"),A(n.src,L=J)||t(n,"src",L),t(n,"width","300"),t(n,"height","55"),t(n,"alt","Kythera AI"),t(v,"class","sponsors svelte-5svdfs"),t(f,"class","svelte-5svdfs"),t(a,"class","svelte-5svdfs")},m(g,M){B(g,a,M),e(a,c),e(c,l),e(l,r),e(r,i),e(r,x),e(l,S),e(l,p),e(l,y),e(l,d),e(l,w),e(l,m),e(a,k),e(a,h),e(a,G),e(a,f),e(f,v),e(v,u),e(v,I),e(v,n)},p:_,i:_,o:_,d(g){g&&D(a)}}}class R extends T{constructor(a){super(),q(this,a,null,N,K,{})}}export{R as default};
diff --git a/_app/pages/index.svelte-4b0bd34d.js b/_app/pages/index.svelte-4b0bd34d.js
deleted file mode 100644
index ce92e0b0..00000000
--- a/_app/pages/index.svelte-4b0bd34d.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import{S as H,i as M,s as T,e as s,t as K,g as o,B as G,a as t,b as g,c as B,C as e,n as f,f as D}from"../chunks/index-ddf26652.js";var E="/CppSharp/_app/assets/logo-b74e2b5e.svg",F="/CppSharp/_app/assets/kythera-ai-242ee8c4.png";function J(I){let a,m,l,r,i,q,z,C,v,_,p,S,h,y,d,w,u,c,x,L,n,k;return{c(){a=s("main"),m=s("section"),l=s("div"),r=s("h1"),i=s("img"),z=K(" CppSharp"),C=o(),v=s("p"),v.textContent="Stop writing PInvoke methods by hand. Accelerate your development.",_=o(),p=s("p"),p.textContent="CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem.",S=o(),h=s("div"),h.innerHTML=`
- `,y=o(),d=s("section"),d.innerHTML=`
Features
-
Cross-platform
-
Distributed as a nuget package that supports Windows, Linux, and OS X.
-
-
High-performance
-
Generates high-performance C# code with minimal overhead.
-
-
Multiple backends
-
Supports generating C# code, as well as C++/CLI.
`,w=o(),u=s("section"),c=s("div"),x=s("h2"),x.textContent="Sponsors",L=o(),n=s("img"),G(i.src,q=E)||t(i,"src",q),t(i,"width","50"),t(i,"height","50"),g(i,"vertical-align","middle"),t(i,"alt",""),t(r,"class","text-center svelte-1qzxbme"),g(r,"margin-top","25px"),t(v,"class","text-center svelte-1qzxbme"),t(p,"class","text-center svelte-1qzxbme"),g(p,"font-size","1.2rem"),t(h,"class","text-center"),t(l,"class","land center svelte-1qzxbme"),t(m,"class","svelte-1qzxbme"),t(d,"class","svelte-1qzxbme"),G(n.src,k=F)||t(n,"src",k),t(n,"width","300"),t(n,"height","55"),t(n,"alt","Kythera AI"),t(c,"class","sponsors text-center"),t(u,"class","svelte-1qzxbme"),t(a,"class","svelte-1qzxbme")},m(b,A){B(b,a,A),e(a,m),e(m,l),e(l,r),e(r,i),e(r,z),e(l,C),e(l,v),e(l,_),e(l,p),e(l,S),e(l,h),e(a,y),e(a,d),e(a,w),e(a,u),e(u,c),e(c,x),e(c,L),e(c,n)},p:f,i:f,o:f,d(b){b&&D(a)}}}class O extends H{constructor(a){super(),M(this,a,null,J,T,{})}}export{O as default};
diff --git a/_app/start-1e7cea9b.js b/_app/start-1e7cea9b.js
deleted file mode 100644
index 50d47fd2..00000000
--- a/_app/start-1e7cea9b.js
+++ /dev/null
@@ -1 +0,0 @@
-var nt=Object.defineProperty,st=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var qe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable;var Ie=(n,e,t)=>e in n?nt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,P=(n,e)=>{for(var t in e||(e={}))qe.call(e,t)&&Ie(n,t,e[t]);if(fe)for(var t of fe(e))ze.call(e,t)&&Ie(n,t,e[t]);return n},se=(n,e)=>st(n,rt(e));var Ve=(n,e)=>{var t={};for(var r in n)qe.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&fe)for(var r of fe(n))e.indexOf(r)<0&&ze.call(n,r)&&(t[r]=n[r]);return t};import{n as we,s as Qe,S as it,i as ot,e as at,a as be,b as K,c as q,t as ct,d as lt,f as z,g as ft,h as Y,j as M,k as C,l as F,m as j,o as ut,p as dt,q as $e,r as V,u as D,v as ie,w as oe,x as J,y as ae,z as De}from"./chunks/index-ddf26652.js";const Z=[];function ue(n,e=we){let t;const r=new Set;function l(s){if(Qe(n,s)&&(n=s,t)){const i=!Z.length;for(const o of r)o[1](),Z.push(o,n);if(i){for(let o=0;o{r.delete(o),r.size===0&&(t(),t=null)}}return{set:l,update:a,subscribe:f}}let Je="",et="";function pt(n){Je=n.base,et=n.assets||Je}function ht(n){let e,t,r;const l=[n[1]||{}];var a=n[0][0];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function _t(n){let e,t,r;const l=[n[1]||{}];var a=n[0][0];function f(s){let i={$$slots:{default:[bt]},$$scope:{ctx:s}};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f(s)),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function mt(n){let e,t,r;const l=[n[2]||{}];var a=n[0][1];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function gt(n){let e,t,r;const l=[n[2]||{}];var a=n[0][1];function f(s){let i={$$slots:{default:[wt]},$$scope:{ctx:s}};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f(s)),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function wt(n){let e,t,r;const l=[n[3]||{}];var a=n[0][2];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function bt(n){let e,t,r,l;const a=[gt,mt],f=[];function s(i,o){return i[0][2]?0:1}return e=s(n),t=f[e]=a[e](n),{c(){t.c(),r=Y()},m(i,o){f[e].m(i,o),q(i,r,o),l=!0},p(i,o){let d=e;e=s(i),e===d?f[e].p(i,o):(M(),C(f[d],1,1,()=>{f[d]=null}),F(),t=f[e],t?t.p(i,o):(t=f[e]=a[e](i),t.c()),j(t,1),t.m(r.parentNode,r))},i(i){l||(j(t),l=!0)},o(i){C(t),l=!1},d(i){f[e].d(i),i&&z(r)}}}function Ke(n){let e,t=n[5]&&We(n);return{c(){e=at("div"),t&&t.c(),be(e,"id","svelte-announcer"),be(e,"aria-live","assertive"),be(e,"aria-atomic","true"),K(e,"position","absolute"),K(e,"left","0"),K(e,"top","0"),K(e,"clip","rect(0 0 0 0)"),K(e,"clip-path","inset(50%)"),K(e,"overflow","hidden"),K(e,"white-space","nowrap"),K(e,"width","1px"),K(e,"height","1px")},m(r,l){q(r,e,l),t&&t.m(e,null)},p(r,l){r[5]?t?t.p(r,l):(t=We(r),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(r){r&&z(e),t&&t.d()}}}function We(n){let e;return{c(){e=ct(n[6])},m(t,r){q(t,e,r)},p(t,r){r&64&<(e,t[6])},d(t){t&&z(e)}}}function yt(n){let e,t,r,l,a;const f=[_t,ht],s=[];function i(d,S){return d[0][1]?0:1}e=i(n),t=s[e]=f[e](n);let o=n[4]&&Ke(n);return{c(){t.c(),r=ft(),o&&o.c(),l=Y()},m(d,S){s[e].m(d,S),q(d,r,S),o&&o.m(d,S),q(d,l,S),a=!0},p(d,[S]){let y=e;e=i(d),e===y?s[e].p(d,S):(M(),C(s[y],1,1,()=>{s[y]=null}),F(),t=s[e],t?t.p(d,S):(t=s[e]=f[e](d),t.c()),j(t,1),t.m(r.parentNode,r)),d[4]?o?o.p(d,S):(o=Ke(d),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},i(d){a||(j(t),a=!0)},o(d){C(t),a=!1},d(d){s[e].d(d),d&&z(r),o&&o.d(d),d&&z(l)}}}function vt(n,e,t){let{stores:r}=e,{page:l}=e,{components:a}=e,{props_0:f=null}=e,{props_1:s=null}=e,{props_2:i=null}=e;ut("__svelte__",r),dt(r.page.notify);let o=!1,d=!1,S=null;return $e(()=>{const y=r.page.subscribe(()=>{o&&(t(5,d=!0),t(6,S=document.title||"untitled page"))});return t(4,o=!0),y}),n.$$set=y=>{"stores"in y&&t(7,r=y.stores),"page"in y&&t(8,l=y.page),"components"in y&&t(0,a=y.components),"props_0"in y&&t(1,f=y.props_0),"props_1"in y&&t(2,s=y.props_1),"props_2"in y&&t(3,i=y.props_2)},n.$$.update=()=>{n.$$.dirty&384&&r.page.set(l)},[a,f,s,i,o,d,S,r,l]}class kt extends it{constructor(e){super(),ot(this,e,vt,yt,Qe,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const $t="modulepreload",Be={},Et="/CppSharp/_app/",ye=function(e,t){return!t||t.length===0?e():Promise.all(t.map(r=>{if(r=`${Et}${r}`,r in Be)return;Be[r]=!0;const l=r.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${a}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":$t,l||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),l)return new Promise((s,i)=>{f.addEventListener("load",s),f.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},St={},Se=[()=>ye(()=>import("./pages/__layout.svelte-ee12c791.js"),["pages/__layout.svelte-ee12c791.js","assets/pages/__layout.svelte-3a5c0326.css","chunks/index-ddf26652.js"]),()=>ye(()=>import("./error.svelte-201176ad.js"),["error.svelte-201176ad.js","chunks/index-ddf26652.js"]),()=>ye(()=>import("./pages/index.svelte-4b0bd34d.js"),["pages/index.svelte-4b0bd34d.js","assets/pages/index.svelte-0f0e1da7.css","chunks/index-ddf26652.js"])],Rt={"":[[0,2],[1]]};function Ye(n){return n instanceof Error||n&&n.name&&n.message?n:new Error(JSON.stringify(n))}function Me(n){if(n.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in n)throw new Error("maxage should be replaced with cache: { maxage }");const e=n.status&&n.status>=400&&n.status<=599&&!n.redirect;if(n.error||e){const t=n.status;if(!n.error&&e)return{status:t||500,error:new Error};const r=typeof n.error=="string"?new Error(n.error):n.error;return r instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:r}):{status:t,error:r}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof r}"`)}}if(n.redirect){if(!n.status||Math.floor(n.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof n.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(n.dependencies&&(!Array.isArray(n.dependencies)||n.dependencies.some(t=>typeof t!="string")))return{status:500,error:new Error('"dependencies" property returned from load() must be of type string[]')};if(n.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return n}function Lt(n,e){return n==="/"||e==="ignore"?n:e==="never"?n.endsWith("/")?n.slice(0,-1):n:e==="always"&&!n.endsWith("/")?n+"/":n}function Ut(n){let e=5381,t=n.length;if(typeof n=="string")for(;t;)e=e*33^n.charCodeAt(--t);else for(;t;)e=e*33^n[--t];return(e>>>0).toString(36)}function Fe(n){let e=n.baseURI;if(!e){const t=n.getElementsByTagName("base");e=t.length?t[0].href:n.URL}return e}function Ee(){return{x:pageXOffset,y:pageYOffset}}function Ge(n){return n.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Xe(n){return n instanceof SVGAElement?new URL(n.href.baseVal,document.baseURI):new URL(n.href)}function Ze(n){const e=ue(n);let t=!0;function r(){t=!0,e.update(f=>f)}function l(f){t=!1,e.set(f)}function a(f){let s;return e.subscribe(i=>{(s===void 0||t&&i!==s)&&f(s=i)})}return{notify:r,set:l,subscribe:a}}function At(){const{set:n,subscribe:e}=ue(!1),t="1652646708276";let r;async function l(){clearTimeout(r);const f=await fetch(`${et}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(f.ok){const{version:s}=await f.json(),i=s!==t;return i&&(n(!0),clearTimeout(r)),i}else throw new Error(`Version check failed: ${f.status}`)}return{subscribe:e,check:l}}function Nt(n,e){let r=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof n=="string"?n:n.url)}]`;e&&typeof e.body=="string"&&(r+=`[sveltekit\\:data-body="${Ut(e.body)}"]`);const l=document.querySelector(r);if(l&&l.textContent){const a=JSON.parse(l.textContent),{body:f}=a,s=Ve(a,["body"]);return Promise.resolve(new Response(f,s))}return fetch(n,e)}const Ot=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function xt(n){const e=[],t=[];let r=!0;return{pattern:n===""?/^\/$/:new RegExp(`^${decodeURIComponent(n).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,f,s)=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(i)return e.push(i[1]),t.push(i[2]),"(?:/(.*))?";const o=f===s.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((d,S)=>{if(S%2){const[,y,H,G]=Ot.exec(d);return e.push(H),t.push(G),y?"(.*?)":"([^/]+?)"}return o&&d.includes(".")&&(r=!1),d.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${r?"/?":""}$`),names:e,types:t}}function Pt(n,e,t,r){const l={};for(let a=0;a{const{pattern:i,names:o,types:d}=xt(l);return{id:l,exec:S=>{const y=i.exec(S);if(y)return Pt(y,o,d,t)},a:a.map(S=>n[S]),b:f.map(S=>n[S]),has_shadow:!!s}})}const tt="sveltekit:scroll",W="sveltekit:index",ve=Ct(Se,Rt,St),jt=Se[0](),Tt=Se[1](),He={};let re={};try{re=JSON.parse(sessionStorage[tt])}catch{}function ke(n){re[n]=Ee()}function It({target:n,session:e,base:t,trailing_slash:r}){var je;const l=new Map,a=[],f={url:Ze({}),page:Ze({}),navigating:ue(null),session:ue(e),updated:At()},s={id:null,promise:null},i={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:He,url:null},d=!1,S=!0,y=!1,H=1,G=null,Re,Le,Ue=!1;f.session.subscribe(async c=>{Le=c,Ue&&(H+=1,_e(new URL(location.href),[],!0))}),Ue=!0;let X=!0,T=(je=history.state)==null?void 0:je[W];T||(T=Date.now(),history.replaceState(se(P({},history.state),{[W]:T}),"",location.href));const de=re[T];de&&(history.scrollRestoration="manual",scrollTo(de.x,de.y));let pe=!1,he,Ae;async function Ne(c,{noscroll:p=!1,replaceState:w=!1,keepfocus:u=!1,state:h={}},b){const _=new URL(c,Fe(document));if(X)return ge({url:_,scroll:p?Ee():null,keepfocus:u,redirect_chain:b,details:{state:h,replaceState:w},accepted:()=>{},blocked:()=>{}});await te(_)}async function Oe(c){const p=Ce(c);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return s.promise=Pe(p,!1),s.id=p.id,s.promise}async function _e(c,p,w,u){var g,k,R;const h=Ce(c),b=Ae={};let _=h&&await Pe(h,w);if(!_&&c.origin===location.origin&&c.pathname===location.pathname&&(_=await ee({status:404,error:new Error(`Not found: ${c.pathname}`),url:c,routeId:null})),!_)return await te(c),!1;if(Ae!==b)return!1;if(a.length=0,_.redirect)if(p.length>10||p.includes(c.pathname))_=await ee({status:500,error:new Error("Redirect loop"),url:c,routeId:null});else return X?Ne(new URL(_.redirect,c).href,{},[...p,c.pathname]):await te(new URL(_.redirect,location.href)),!1;else((k=(g=_.props)==null?void 0:g.page)==null?void 0:k.status)>=400&&await f.updated.check()&&await te(c);if(y=!0,u&&u.details){const{details:$}=u,E=$.replaceState?0:1;$.state[W]=T+=E,history[$.replaceState?"replaceState":"pushState"]($.state,"",c)}if(d?(o=_.state,Re.$set(_.props)):xe(_),u){const{scroll:$,keepfocus:E}=u;if(!E){const m=document.body,A=m.getAttribute("tabindex");(R=getSelection())==null||R.removeAllRanges(),m.tabIndex=-1,m.focus({preventScroll:!0}),A!==null?m.setAttribute("tabindex",A):m.removeAttribute("tabindex")}if(await De(),S){const m=c.hash&&document.getElementById(c.hash.slice(1));$?scrollTo($.x,$.y):m?m.scrollIntoView():scrollTo(0,0)}}else await De();s.promise=null,s.id=null,S=!0,y=!1,_.props.page&&(he=_.props.page);const v=_.state.branch[_.state.branch.length-1];return X=(v==null?void 0:v.module.router)!==!1,!0}function xe(c){o=c.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),he=c.props.page,Re=new kt({target:n,props:se(P({},c.props),{stores:f}),hydrate:!0}),d=!0,X){const w={from:null,to:new URL(location.href)};i.after_navigate.forEach(u=>u(w))}}async function me({url:c,params:p,stuff:w,branch:u,status:h,error:b,routeId:_}){var m,A;const v=u.filter(Boolean),g=v.find(U=>{var O;return(O=U.loaded)==null?void 0:O.redirect}),k={redirect:(m=g==null?void 0:g.loaded)==null?void 0:m.redirect,state:{url:c,params:p,branch:u,error:b,stuff:w,session_id:H},props:{components:v.map(U=>U.module.default)}};for(let U=0;U{Object.defineProperty(k.props.page,O,{get:()=>{throw new Error(`$page.${O} has been replaced by $page.url.${L}`)}})};U("origin","origin"),U("path","pathname"),U("query","searchParams")}const $=v[v.length-1],E=(A=$==null?void 0:$.loaded)==null?void 0:A.cache;if(E){const U=c.pathname+c.search;let O=!1;const L=()=>{l.get(U)===k&&l.delete(U),x(),clearTimeout(N)},N=setTimeout(L,E.maxage*1e3),x=f.session.subscribe(()=>{O&&L()});O=!0,l.set(U,k)}return k}async function Q({status:c,error:p,module:w,url:u,params:h,stuff:b,props:_,routeId:v}){const g={module:w,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function k(E){const{href:m}=new URL(E,u);g.uses.dependencies.add(m)}_&&g.uses.dependencies.add(u.href);const R={};for(const E in h)Object.defineProperty(R,E,{get(){return g.uses.params.add(E),h[E]},enumerable:!0});const $=Le;if(w.load){const E={routeId:v,params:R,props:_||{},get url(){return g.uses.url=!0,u},get session(){return g.uses.session=!0,$},get stuff(){return g.uses.stuff=!0,P({},b)},fetch(A,U){const O=typeof A=="string"?A:A.url;return k(O),d?fetch(A,U):Nt(A,U)},status:c!=null?c:null,error:p!=null?p:null},m=await w.load.call(null,E);if(!m)throw new Error("load function must return a value");g.loaded=Me(m),g.loaded.stuff&&(g.stuff=g.loaded.stuff),g.loaded.dependencies&&g.loaded.dependencies.forEach(k)}else _&&(g.loaded=Me({props:_}));return g}async function Pe({id:c,url:p,params:w,route:u},h){var A,U,O;if(s.id===c&&s.promise)return s.promise;if(!h){const L=l.get(c);if(L)return L}const{a:b,b:_,has_shadow:v}=u,g=o.url&&{url:c!==o.url.pathname+o.url.search,params:Object.keys(w).filter(L=>o.params[L]!==w[L]),session:H!==o.session_id};let k=[],R=He,$=!1,E=200,m=null;b.forEach(L=>L().catch(()=>{}));e:for(let L=0;LI.uses.params.has(B))||g.session&&I.uses.session||Array.from(I.uses.dependencies).some(B=>a.some(le=>le(B)))||$&&I.uses.stuff){let B={};const le=v&&L===b.length-1;if(le){const ne=await fetch(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(ne.ok){const Te=ne.headers.get("x-sveltekit-location");if(Te)return{redirect:Te,props:{},state:o};B=ne.status===204?{}:await ne.json()}else E=ne.status,m=new Error("Failed to load data")}if(m||(N=await Q({module:x,url:p,params:w,props:B,stuff:R,routeId:u.id})),N&&(le&&(N.uses.url=!0),N.loaded)){if(N.loaded.error&&(E=N.loaded.status,m=N.loaded.error),N.loaded.redirect)return{redirect:N.loaded.redirect,props:{},state:o};N.loaded.stuff&&($=!0)}}else N=I}catch(x){E=500,m=Ye(x)}if(m){for(;L--;)if(_[L]){let x,I,ce=L;for(;!(I=k[ce]);)ce-=1;try{if(x=await Q({status:E,error:m,module:await _[L](),url:p,params:w,stuff:I.stuff,routeId:u.id}),(A=x==null?void 0:x.loaded)!=null&&A.error)continue;(U=x==null?void 0:x.loaded)!=null&&U.stuff&&(R=P(P({},R),x.loaded.stuff)),k=k.slice(0,ce+1).concat(x);break e}catch{continue}}return await ee({status:E,error:m,url:p,routeId:u.id})}else(O=N==null?void 0:N.loaded)!=null&&O.stuff&&(R=P(P({},R),N.loaded.stuff)),k.push(N)}return await me({url:p,params:w,stuff:R,branch:k,status:E,error:m,routeId:u.id})}async function ee({status:c,error:p,url:w,routeId:u}){var v,g;const h={},b=await Q({module:await jt,url:w,params:h,stuff:{},routeId:u}),_=await Q({status:c,error:p,module:await Tt,url:w,params:h,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:u});return await me({url:w,params:h,stuff:P(P({},(v=b==null?void 0:b.loaded)==null?void 0:v.stuff),(g=_==null?void 0:_.loaded)==null?void 0:g.stuff),branch:[b,_],status:c,error:p,routeId:u})}function Ce(c){if(c.origin!==location.origin||!c.pathname.startsWith(t))return;const p=decodeURI(c.pathname.slice(t.length)||"/");for(const w of ve){const u=w.exec(p);if(u)return{id:c.pathname+c.search,route:w,params:u,url:c}}}async function ge({url:c,scroll:p,keepfocus:w,redirect_chain:u,details:h,accepted:b,blocked:_}){const v=o.url;let g=!1;const k={from:v,to:c,cancel:()=>g=!0};if(i.before_navigate.forEach(m=>m(k)),g){_();return}const R=Lt(c.pathname,r),$=new URL(c.origin+R+c.search+c.hash);if(ke(T),b(),d&&f.navigating.set({from:o.url,to:$}),await _e($,u,!1,{scroll:p,keepfocus:w,details:h})){const m={from:v,to:$};i.after_navigate.forEach(A=>A(m)),f.navigating.set(null)}}function te(c){return location.href=c.href,new Promise(()=>{})}return{after_navigate:c=>{$e(()=>(i.after_navigate.push(c),()=>{const p=i.after_navigate.indexOf(c);i.after_navigate.splice(p,1)}))},before_navigate:c=>{$e(()=>(i.before_navigate.push(c),()=>{const p=i.before_navigate.indexOf(c);i.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(y||!d)&&(S=!1)},goto:(c,p={})=>Ne(c,p,[]),invalidate:c=>{if(typeof c=="function")a.push(c);else{const{href:p}=new URL(c,location.href);a.push(w=>w===p)}return G||(G=Promise.resolve().then(async()=>{await _e(new URL(location.href),[],!0),G=null})),G},prefetch:async c=>{const p=new URL(c,Fe(document));await Oe(p)},prefetch_routes:async c=>{const w=(c?ve.filter(u=>c.some(h=>u.exec(h))):ve).map(u=>Promise.all(u.a.map(h=>h())));await Promise.all(w)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",u=>{let h=!1;const b={from:o.url,to:null,cancel:()=>h=!0};i.before_navigate.forEach(_=>_(b)),h?(u.preventDefault(),u.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){ke(T);try{sessionStorage[tt]=JSON.stringify(re)}catch{}}});const c=u=>{const h=Ge(u);h&&h.href&&h.hasAttribute("sveltekit:prefetch")&&Oe(Xe(h))};let p;const w=u=>{clearTimeout(p),p=setTimeout(()=>{var h;(h=u.target)==null||h.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",c),addEventListener("mousemove",w),addEventListener("sveltekit:trigger_prefetch",c),addEventListener("click",u=>{if(!X||u.button||u.which!==1||u.metaKey||u.ctrlKey||u.shiftKey||u.altKey||u.defaultPrevented)return;const h=Ge(u);if(!h||!h.href)return;const b=h instanceof SVGAElement,_=Xe(h);if(!b&&_.origin==="null")return;const v=(h.getAttribute("rel")||"").split(/\s+/);if(h.hasAttribute("download")||v.includes("external")||h.hasAttribute("sveltekit:reload")||(b?h.target.baseVal:h.target))return;const[g,k]=_.href.split("#");if(k!==void 0&&g===location.href.split("#")[0]){pe=!0,ke(T),f.page.set(se(P({},he),{url:_})),f.page.notify();return}ge({url:_,scroll:h.hasAttribute("sveltekit:noscroll")?Ee():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:_.href===location.href},accepted:()=>u.preventDefault(),blocked:()=>u.preventDefault()})}),addEventListener("popstate",u=>{if(u.state&&X){if(u.state[W]===T)return;ge({url:new URL(location.href),scroll:re[u.state[W]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{T=u.state[W]},blocked:()=>{const h=T-u.state[W];history.go(h)}})}}),addEventListener("hashchange",()=>{pe&&(pe=!1,history.replaceState(se(P({},history.state),{[W]:++T}),"",location.href))})},_hydrate:async({status:c,error:p,nodes:w,params:u,routeId:h})=>{const b=new URL(location.href),_=[];let v={},g,k;try{for(let R=0;Re in n?et(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,P=(n,e)=>{for(var t in e||(e={}))qe.call(e,t)&&Ie(n,t,e[t]);if(fe)for(var t of fe(e))ze.call(e,t)&&Ie(n,t,e[t]);return n},se=(n,e)=>tt(n,nt(e));var Ve=(n,e)=>{var t={};for(var r in n)qe.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&fe)for(var r of fe(n))e.indexOf(r)<0&&ze.call(n,r)&&(t[r]=n[r]);return t};import{n as we,s as He,S as st,i as rt,e as it,a as be,b as K,c as q,t as ot,d as at,f as z,g as ct,h as Y,j as M,k as C,l as F,m as j,o as lt,p as ft,q as $e,r as V,u as D,v as ie,w as oe,x as J,y as ae,z as De}from"./chunks/index-ddf26652.js";import{s as ut,a as dt}from"./chunks/paths-396f020f.js";const Z=[];function ue(n,e=we){let t;const r=new Set;function l(s){if(He(n,s)&&(n=s,t)){const i=!Z.length;for(const o of r)o[1](),Z.push(o,n);if(i){for(let o=0;o{r.delete(o),r.size===0&&(t(),t=null)}}return{set:l,update:a,subscribe:f}}function pt(n){let e,t,r;const l=[n[1]||{}];var a=n[0][0];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function ht(n){let e,t,r;const l=[n[1]||{}];var a=n[0][0];function f(s){let i={$$slots:{default:[wt]},$$scope:{ctx:s}};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f(s)),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function _t(n){let e,t,r;const l=[n[2]||{}];var a=n[0][1];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function mt(n){let e,t,r;const l=[n[2]||{}];var a=n[0][1];function f(s){let i={$$slots:{default:[gt]},$$scope:{ctx:s}};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f(s)),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function gt(n){let e,t,r;const l=[n[3]||{}];var a=n[0][2];function f(s){let i={};for(let o=0;o{J(d,1)}),F()}a?(e=new a(f()),V(e.$$.fragment),j(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}else a&&e.$set(o)},i(s){r||(e&&j(e.$$.fragment,s),r=!0)},o(s){e&&C(e.$$.fragment,s),r=!1},d(s){s&&z(t),e&&J(e,s)}}}function wt(n){let e,t,r,l;const a=[mt,_t],f=[];function s(i,o){return i[0][2]?0:1}return e=s(n),t=f[e]=a[e](n),{c(){t.c(),r=Y()},m(i,o){f[e].m(i,o),q(i,r,o),l=!0},p(i,o){let d=e;e=s(i),e===d?f[e].p(i,o):(M(),C(f[d],1,1,()=>{f[d]=null}),F(),t=f[e],t?t.p(i,o):(t=f[e]=a[e](i),t.c()),j(t,1),t.m(r.parentNode,r))},i(i){l||(j(t),l=!0)},o(i){C(t),l=!1},d(i){f[e].d(i),i&&z(r)}}}function Je(n){let e,t=n[5]&&Ke(n);return{c(){e=it("div"),t&&t.c(),be(e,"id","svelte-announcer"),be(e,"aria-live","assertive"),be(e,"aria-atomic","true"),K(e,"position","absolute"),K(e,"left","0"),K(e,"top","0"),K(e,"clip","rect(0 0 0 0)"),K(e,"clip-path","inset(50%)"),K(e,"overflow","hidden"),K(e,"white-space","nowrap"),K(e,"width","1px"),K(e,"height","1px")},m(r,l){q(r,e,l),t&&t.m(e,null)},p(r,l){r[5]?t?t.p(r,l):(t=Ke(r),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(r){r&&z(e),t&&t.d()}}}function Ke(n){let e;return{c(){e=ot(n[6])},m(t,r){q(t,e,r)},p(t,r){r&64&&at(e,t[6])},d(t){t&&z(e)}}}function bt(n){let e,t,r,l,a;const f=[ht,pt],s=[];function i(d,S){return d[0][1]?0:1}e=i(n),t=s[e]=f[e](n);let o=n[4]&&Je(n);return{c(){t.c(),r=ct(),o&&o.c(),l=Y()},m(d,S){s[e].m(d,S),q(d,r,S),o&&o.m(d,S),q(d,l,S),a=!0},p(d,[S]){let y=e;e=i(d),e===y?s[e].p(d,S):(M(),C(s[y],1,1,()=>{s[y]=null}),F(),t=s[e],t?t.p(d,S):(t=s[e]=f[e](d),t.c()),j(t,1),t.m(r.parentNode,r)),d[4]?o?o.p(d,S):(o=Je(d),o.c(),o.m(l.parentNode,l)):o&&(o.d(1),o=null)},i(d){a||(j(t),a=!0)},o(d){C(t),a=!1},d(d){s[e].d(d),d&&z(r),o&&o.d(d),d&&z(l)}}}function yt(n,e,t){let{stores:r}=e,{page:l}=e,{components:a}=e,{props_0:f=null}=e,{props_1:s=null}=e,{props_2:i=null}=e;lt("__svelte__",r),ft(r.page.notify);let o=!1,d=!1,S=null;return $e(()=>{const y=r.page.subscribe(()=>{o&&(t(5,d=!0),t(6,S=document.title||"untitled page"))});return t(4,o=!0),y}),n.$$set=y=>{"stores"in y&&t(7,r=y.stores),"page"in y&&t(8,l=y.page),"components"in y&&t(0,a=y.components),"props_0"in y&&t(1,f=y.props_0),"props_1"in y&&t(2,s=y.props_1),"props_2"in y&&t(3,i=y.props_2)},n.$$.update=()=>{n.$$.dirty&384&&r.page.set(l)},[a,f,s,i,o,d,S,r,l]}class vt extends st{constructor(e){super(),rt(this,e,yt,bt,He,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const kt="modulepreload",We={},$t="/CppSharp/_app/",ye=function(e,t){return!t||t.length===0?e():Promise.all(t.map(r=>{if(r=`${$t}${r}`,r in We)return;We[r]=!0;const l=r.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${a}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":kt,l||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),l)return new Promise((s,i)=>{f.addEventListener("load",s),f.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Et={},Se=[()=>ye(()=>import("./pages/__layout.svelte-ee12c791.js"),["pages/__layout.svelte-ee12c791.js","assets/pages/__layout.svelte-3a5c0326.css","chunks/index-ddf26652.js"]),()=>ye(()=>import("./error.svelte-201176ad.js"),["error.svelte-201176ad.js","chunks/index-ddf26652.js"]),()=>ye(()=>import("./pages/index.svelte-2902bfa0.js"),["pages/index.svelte-2902bfa0.js","assets/pages/index.svelte-04ec04e4.css","chunks/index-ddf26652.js","chunks/paths-396f020f.js"])],St={"":[[0,2],[1]]};function Be(n){return n instanceof Error||n&&n.name&&n.message?n:new Error(JSON.stringify(n))}function Ye(n){if(n.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in n)throw new Error("maxage should be replaced with cache: { maxage }");const e=n.status&&n.status>=400&&n.status<=599&&!n.redirect;if(n.error||e){const t=n.status;if(!n.error&&e)return{status:t||500,error:new Error};const r=typeof n.error=="string"?new Error(n.error):n.error;return r instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:r}):{status:t,error:r}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof r}"`)}}if(n.redirect){if(!n.status||Math.floor(n.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof n.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(n.dependencies&&(!Array.isArray(n.dependencies)||n.dependencies.some(t=>typeof t!="string")))return{status:500,error:new Error('"dependencies" property returned from load() must be of type string[]')};if(n.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return n}function Rt(n,e){return n==="/"||e==="ignore"?n:e==="never"?n.endsWith("/")?n.slice(0,-1):n:e==="always"&&!n.endsWith("/")?n+"/":n}function Lt(n){let e=5381,t=n.length;if(typeof n=="string")for(;t;)e=e*33^n.charCodeAt(--t);else for(;t;)e=e*33^n[--t];return(e>>>0).toString(36)}function Me(n){let e=n.baseURI;if(!e){const t=n.getElementsByTagName("base");e=t.length?t[0].href:n.URL}return e}function Ee(){return{x:pageXOffset,y:pageYOffset}}function Fe(n){return n.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Ge(n){return n instanceof SVGAElement?new URL(n.href.baseVal,document.baseURI):new URL(n.href)}function Xe(n){const e=ue(n);let t=!0;function r(){t=!0,e.update(f=>f)}function l(f){t=!1,e.set(f)}function a(f){let s;return e.subscribe(i=>{(s===void 0||t&&i!==s)&&f(s=i)})}return{notify:r,set:l,subscribe:a}}function Ut(){const{set:n,subscribe:e}=ue(!1),t="1652647918901";let r;async function l(){clearTimeout(r);const f=await fetch(`${dt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(f.ok){const{version:s}=await f.json(),i=s!==t;return i&&(n(!0),clearTimeout(r)),i}else throw new Error(`Version check failed: ${f.status}`)}return{subscribe:e,check:l}}function At(n,e){let r=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof n=="string"?n:n.url)}]`;e&&typeof e.body=="string"&&(r+=`[sveltekit\\:data-body="${Lt(e.body)}"]`);const l=document.querySelector(r);if(l&&l.textContent){const a=JSON.parse(l.textContent),{body:f}=a,s=Ve(a,["body"]);return Promise.resolve(new Response(f,s))}return fetch(n,e)}const Nt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Ot(n){const e=[],t=[];let r=!0;return{pattern:n===""?/^\/$/:new RegExp(`^${decodeURIComponent(n).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((a,f,s)=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(i)return e.push(i[1]),t.push(i[2]),"(?:/(.*))?";const o=f===s.length-1;return a&&"/"+a.split(/\[(.+?)\]/).map((d,S)=>{if(S%2){const[,y,H,G]=Nt.exec(d);return e.push(H),t.push(G),y?"(.*?)":"([^/]+?)"}return o&&d.includes(".")&&(r=!1),d.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${r?"/?":""}$`),names:e,types:t}}function xt(n,e,t,r){const l={};for(let a=0;a{const{pattern:i,names:o,types:d}=Ot(l);return{id:l,exec:S=>{const y=i.exec(S);if(y)return xt(y,o,d,t)},a:a.map(S=>n[S]),b:f.map(S=>n[S]),has_shadow:!!s}})}const Qe="sveltekit:scroll",W="sveltekit:index",ve=Pt(Se,St,Et),Ct=Se[0](),jt=Se[1](),Ze={};let re={};try{re=JSON.parse(sessionStorage[Qe])}catch{}function ke(n){re[n]=Ee()}function Tt({target:n,session:e,base:t,trailing_slash:r}){var je;const l=new Map,a=[],f={url:Xe({}),page:Xe({}),navigating:ue(null),session:ue(e),updated:Ut()},s={id:null,promise:null},i={before_navigate:[],after_navigate:[]};let o={branch:[],error:null,session_id:0,stuff:Ze,url:null},d=!1,S=!0,y=!1,H=1,G=null,Re,Le,Ue=!1;f.session.subscribe(async c=>{Le=c,Ue&&(H+=1,_e(new URL(location.href),[],!0))}),Ue=!0;let X=!0,T=(je=history.state)==null?void 0:je[W];T||(T=Date.now(),history.replaceState(se(P({},history.state),{[W]:T}),"",location.href));const de=re[T];de&&(history.scrollRestoration="manual",scrollTo(de.x,de.y));let pe=!1,he,Ae;async function Ne(c,{noscroll:p=!1,replaceState:w=!1,keepfocus:u=!1,state:h={}},b){const _=new URL(c,Me(document));if(X)return ge({url:_,scroll:p?Ee():null,keepfocus:u,redirect_chain:b,details:{state:h,replaceState:w},accepted:()=>{},blocked:()=>{}});await te(_)}async function Oe(c){const p=Ce(c);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return s.promise=Pe(p,!1),s.id=p.id,s.promise}async function _e(c,p,w,u){var g,k,R;const h=Ce(c),b=Ae={};let _=h&&await Pe(h,w);if(!_&&c.origin===location.origin&&c.pathname===location.pathname&&(_=await ee({status:404,error:new Error(`Not found: ${c.pathname}`),url:c,routeId:null})),!_)return await te(c),!1;if(Ae!==b)return!1;if(a.length=0,_.redirect)if(p.length>10||p.includes(c.pathname))_=await ee({status:500,error:new Error("Redirect loop"),url:c,routeId:null});else return X?Ne(new URL(_.redirect,c).href,{},[...p,c.pathname]):await te(new URL(_.redirect,location.href)),!1;else((k=(g=_.props)==null?void 0:g.page)==null?void 0:k.status)>=400&&await f.updated.check()&&await te(c);if(y=!0,u&&u.details){const{details:$}=u,E=$.replaceState?0:1;$.state[W]=T+=E,history[$.replaceState?"replaceState":"pushState"]($.state,"",c)}if(d?(o=_.state,Re.$set(_.props)):xe(_),u){const{scroll:$,keepfocus:E}=u;if(!E){const m=document.body,A=m.getAttribute("tabindex");(R=getSelection())==null||R.removeAllRanges(),m.tabIndex=-1,m.focus({preventScroll:!0}),A!==null?m.setAttribute("tabindex",A):m.removeAttribute("tabindex")}if(await De(),S){const m=c.hash&&document.getElementById(c.hash.slice(1));$?scrollTo($.x,$.y):m?m.scrollIntoView():scrollTo(0,0)}}else await De();s.promise=null,s.id=null,S=!0,y=!1,_.props.page&&(he=_.props.page);const v=_.state.branch[_.state.branch.length-1];return X=(v==null?void 0:v.module.router)!==!1,!0}function xe(c){o=c.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),he=c.props.page,Re=new vt({target:n,props:se(P({},c.props),{stores:f}),hydrate:!0}),d=!0,X){const w={from:null,to:new URL(location.href)};i.after_navigate.forEach(u=>u(w))}}async function me({url:c,params:p,stuff:w,branch:u,status:h,error:b,routeId:_}){var m,A;const v=u.filter(Boolean),g=v.find(U=>{var O;return(O=U.loaded)==null?void 0:O.redirect}),k={redirect:(m=g==null?void 0:g.loaded)==null?void 0:m.redirect,state:{url:c,params:p,branch:u,error:b,stuff:w,session_id:H},props:{components:v.map(U=>U.module.default)}};for(let U=0;U{Object.defineProperty(k.props.page,O,{get:()=>{throw new Error(`$page.${O} has been replaced by $page.url.${L}`)}})};U("origin","origin"),U("path","pathname"),U("query","searchParams")}const $=v[v.length-1],E=(A=$==null?void 0:$.loaded)==null?void 0:A.cache;if(E){const U=c.pathname+c.search;let O=!1;const L=()=>{l.get(U)===k&&l.delete(U),x(),clearTimeout(N)},N=setTimeout(L,E.maxage*1e3),x=f.session.subscribe(()=>{O&&L()});O=!0,l.set(U,k)}return k}async function Q({status:c,error:p,module:w,url:u,params:h,stuff:b,props:_,routeId:v}){const g={module:w,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function k(E){const{href:m}=new URL(E,u);g.uses.dependencies.add(m)}_&&g.uses.dependencies.add(u.href);const R={};for(const E in h)Object.defineProperty(R,E,{get(){return g.uses.params.add(E),h[E]},enumerable:!0});const $=Le;if(w.load){const E={routeId:v,params:R,props:_||{},get url(){return g.uses.url=!0,u},get session(){return g.uses.session=!0,$},get stuff(){return g.uses.stuff=!0,P({},b)},fetch(A,U){const O=typeof A=="string"?A:A.url;return k(O),d?fetch(A,U):At(A,U)},status:c!=null?c:null,error:p!=null?p:null},m=await w.load.call(null,E);if(!m)throw new Error("load function must return a value");g.loaded=Ye(m),g.loaded.stuff&&(g.stuff=g.loaded.stuff),g.loaded.dependencies&&g.loaded.dependencies.forEach(k)}else _&&(g.loaded=Ye({props:_}));return g}async function Pe({id:c,url:p,params:w,route:u},h){var A,U,O;if(s.id===c&&s.promise)return s.promise;if(!h){const L=l.get(c);if(L)return L}const{a:b,b:_,has_shadow:v}=u,g=o.url&&{url:c!==o.url.pathname+o.url.search,params:Object.keys(w).filter(L=>o.params[L]!==w[L]),session:H!==o.session_id};let k=[],R=Ze,$=!1,E=200,m=null;b.forEach(L=>L().catch(()=>{}));e:for(let L=0;LI.uses.params.has(B))||g.session&&I.uses.session||Array.from(I.uses.dependencies).some(B=>a.some(le=>le(B)))||$&&I.uses.stuff){let B={};const le=v&&L===b.length-1;if(le){const ne=await fetch(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(ne.ok){const Te=ne.headers.get("x-sveltekit-location");if(Te)return{redirect:Te,props:{},state:o};B=ne.status===204?{}:await ne.json()}else E=ne.status,m=new Error("Failed to load data")}if(m||(N=await Q({module:x,url:p,params:w,props:B,stuff:R,routeId:u.id})),N&&(le&&(N.uses.url=!0),N.loaded)){if(N.loaded.error&&(E=N.loaded.status,m=N.loaded.error),N.loaded.redirect)return{redirect:N.loaded.redirect,props:{},state:o};N.loaded.stuff&&($=!0)}}else N=I}catch(x){E=500,m=Be(x)}if(m){for(;L--;)if(_[L]){let x,I,ce=L;for(;!(I=k[ce]);)ce-=1;try{if(x=await Q({status:E,error:m,module:await _[L](),url:p,params:w,stuff:I.stuff,routeId:u.id}),(A=x==null?void 0:x.loaded)!=null&&A.error)continue;(U=x==null?void 0:x.loaded)!=null&&U.stuff&&(R=P(P({},R),x.loaded.stuff)),k=k.slice(0,ce+1).concat(x);break e}catch{continue}}return await ee({status:E,error:m,url:p,routeId:u.id})}else(O=N==null?void 0:N.loaded)!=null&&O.stuff&&(R=P(P({},R),N.loaded.stuff)),k.push(N)}return await me({url:p,params:w,stuff:R,branch:k,status:E,error:m,routeId:u.id})}async function ee({status:c,error:p,url:w,routeId:u}){var v,g;const h={},b=await Q({module:await Ct,url:w,params:h,stuff:{},routeId:u}),_=await Q({status:c,error:p,module:await jt,url:w,params:h,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:u});return await me({url:w,params:h,stuff:P(P({},(v=b==null?void 0:b.loaded)==null?void 0:v.stuff),(g=_==null?void 0:_.loaded)==null?void 0:g.stuff),branch:[b,_],status:c,error:p,routeId:u})}function Ce(c){if(c.origin!==location.origin||!c.pathname.startsWith(t))return;const p=decodeURI(c.pathname.slice(t.length)||"/");for(const w of ve){const u=w.exec(p);if(u)return{id:c.pathname+c.search,route:w,params:u,url:c}}}async function ge({url:c,scroll:p,keepfocus:w,redirect_chain:u,details:h,accepted:b,blocked:_}){const v=o.url;let g=!1;const k={from:v,to:c,cancel:()=>g=!0};if(i.before_navigate.forEach(m=>m(k)),g){_();return}const R=Rt(c.pathname,r),$=new URL(c.origin+R+c.search+c.hash);if(ke(T),b(),d&&f.navigating.set({from:o.url,to:$}),await _e($,u,!1,{scroll:p,keepfocus:w,details:h})){const m={from:v,to:$};i.after_navigate.forEach(A=>A(m)),f.navigating.set(null)}}function te(c){return location.href=c.href,new Promise(()=>{})}return{after_navigate:c=>{$e(()=>(i.after_navigate.push(c),()=>{const p=i.after_navigate.indexOf(c);i.after_navigate.splice(p,1)}))},before_navigate:c=>{$e(()=>(i.before_navigate.push(c),()=>{const p=i.before_navigate.indexOf(c);i.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(y||!d)&&(S=!1)},goto:(c,p={})=>Ne(c,p,[]),invalidate:c=>{if(typeof c=="function")a.push(c);else{const{href:p}=new URL(c,location.href);a.push(w=>w===p)}return G||(G=Promise.resolve().then(async()=>{await _e(new URL(location.href),[],!0),G=null})),G},prefetch:async c=>{const p=new URL(c,Me(document));await Oe(p)},prefetch_routes:async c=>{const w=(c?ve.filter(u=>c.some(h=>u.exec(h))):ve).map(u=>Promise.all(u.a.map(h=>h())));await Promise.all(w)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",u=>{let h=!1;const b={from:o.url,to:null,cancel:()=>h=!0};i.before_navigate.forEach(_=>_(b)),h?(u.preventDefault(),u.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){ke(T);try{sessionStorage[Qe]=JSON.stringify(re)}catch{}}});const c=u=>{const h=Fe(u);h&&h.href&&h.hasAttribute("sveltekit:prefetch")&&Oe(Ge(h))};let p;const w=u=>{clearTimeout(p),p=setTimeout(()=>{var h;(h=u.target)==null||h.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",c),addEventListener("mousemove",w),addEventListener("sveltekit:trigger_prefetch",c),addEventListener("click",u=>{if(!X||u.button||u.which!==1||u.metaKey||u.ctrlKey||u.shiftKey||u.altKey||u.defaultPrevented)return;const h=Fe(u);if(!h||!h.href)return;const b=h instanceof SVGAElement,_=Ge(h);if(!b&&_.origin==="null")return;const v=(h.getAttribute("rel")||"").split(/\s+/);if(h.hasAttribute("download")||v.includes("external")||h.hasAttribute("sveltekit:reload")||(b?h.target.baseVal:h.target))return;const[g,k]=_.href.split("#");if(k!==void 0&&g===location.href.split("#")[0]){pe=!0,ke(T),f.page.set(se(P({},he),{url:_})),f.page.notify();return}ge({url:_,scroll:h.hasAttribute("sveltekit:noscroll")?Ee():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:_.href===location.href},accepted:()=>u.preventDefault(),blocked:()=>u.preventDefault()})}),addEventListener("popstate",u=>{if(u.state&&X){if(u.state[W]===T)return;ge({url:new URL(location.href),scroll:re[u.state[W]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{T=u.state[W]},blocked:()=>{const h=T-u.state[W];history.go(h)}})}}),addEventListener("hashchange",()=>{pe&&(pe=!1,history.replaceState(se(P({},history.state),{[W]:++T}),"",location.href))})},_hydrate:async({status:c,error:p,nodes:w,params:u,routeId:h})=>{const b=new URL(location.href),_=[];let v={},g,k;try{for(let R=0;R
-
-
-
-
-
-
- ++
-
-
\ No newline at end of file
diff --git a/index.html b/index.html
index c16745dc..9fcd5179 100644
--- a/index.html
+++ b/index.html
@@ -3,17 +3,17 @@
-
+
CppSharp
-
+
@@ -22,26 +22,25 @@ h1.svelte-1qzxbme.svelte-1qzxbme{font-size:3rem}main.svelte-1qzxbme.svelte-1qzxb
-
CppSharp
+
CppSharp
-
Stop writing PInvoke methods by hand. Accelerate your development.
+
Stop writing PInvoke methods by hand. Accelerate your development.
-
CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem.
+
CppSharp facilitates the usage of native C/C++ code with the .NET ecosystem.
-
+
-
Features
-
Cross-platform
-
Distributed as a nuget package that supports Windows, Linux, and OS X.
+
Cross-platform
+
Distributed as a nuget package that supports Windows, Linux, and OS X.
-
High-performance
-
Generates high-performance C# code with minimal overhead.
+
High-performance
+
Generates high-performance C# code with minimal overhead.
-
Multiple backends
-
Supports generating C# code, as well as C++/CLI.
-
Sponsors
+
Multiple backends
+
Supports generating C# code, as well as C++/CLI.
+
Sponsors
diff --git a/_app/assets/logo-b74e2b5e.svg b/logo.svg
similarity index 100%
rename from _app/assets/logo-b74e2b5e.svg
rename to logo.svg